summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget_s60.cpp
Commit message (Expand)AuthorAgeFilesLines
* Implemented setWindowIcon for S60 devices without context pane.Janne Anttila2009-07-231-0/+36
* Make S60 integration optional.Jason Barron2009-07-151-24/+46
* Merge commit 'origin/master' into 4.6-mergedJason Barron2009-07-091-10/+32
|\
| * Switched to asynchronous focus handling on Symbian.axis2009-07-091-0/+26
| * Silenced warnings from RVCT.axis2009-07-061-1/+1
| * Removed pointless variables to silence warnings from RVCT.axis2009-07-061-5/+1
| * Fix warnings because of unused variables.axis2009-06-291-4/+4
* | Manually fix bad merges and make sure everything compiles with 4.6.Harald Fernengel2009-06-291-1/+1
|/
* Improve softkey implementation and add a default 'Exit' button to RSK.Jason Barron2009-06-171-16/+49
* Changed to use proper conversion from qstring to hbufMarkku Luukkainen2009-06-101-1/+1
* Merge branch 'softkeys_without_stack'Markku Luukkainen2009-06-101-1/+52
|\
| * Call DrawDeferred() after setting softkeysAlessandro Portale2009-06-101-0/+1
| * Fixes from code reviewMarkku Luukkainen2009-06-091-41/+0
| * Fixes from code reviewMarkku Luukkainen2009-06-081-4/+3
| * Removed QSoftkeySet as it wasn't used anymoreMarkku Luukkainen2009-06-081-3/+1
| * Added support for setting softkeys dynamicallyMarkku Luukkainen2009-06-061-1/+2
| * Fixes to make gui compile after clean configure. RemovalMarkku Luukkainen2009-06-061-3/+0
| * Replaced usage of QSoftKeyActions with QActions+SoftKeyRolesMarkku Luukkainen2009-06-061-14/+19
| * Initial version of softkey implementation that doesn't useMarkku Luukkainen2009-06-051-0/+91
* | Avoid unnecessary calls to FocusChanged in Symbian.Janne Anttila2009-06-081-3/+6
|/
* Fixed incorrect headers.axis2009-06-031-1/+31
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-publicJanne Koskinen2009-05-111-6/+39
|\
| * Some code cleanups after review.Jason Barron2009-04-291-3/+3
| * Undo implementation of setWindowOpacity_sys().Jason Barron2009-04-291-4/+2
| * Fixes crash when setting geometry on an obscured window.Jason Barron2009-04-291-1/+1
| * More work on translucent windows.Jason Barron2009-04-281-2/+4
| * Fixes: Add support for translucent windows in Symbian.Jason Barron2009-04-281-1/+33
| * Enable dynamic [de|con]struction of window surfaces based on visibilityJason Barron2009-04-281-3/+4
* | Fixed namespace issues, now works on Symbian under namespaceJanne Koskinen2009-05-111-0/+2
|/
* Long live Qt for S60!axis2009-04-241-0/+942
ref='/oss-git/CMake.git/diff/Help/command/FIND_XXX_MAC.txt?h=v3.18.4&id=e40fbbb0744e63401cba0958155c14fa838477cb&id2=b508de59e852a5068f3b9838e2be8a485235b934'>Help/command/FIND_XXX_MAC.txt24
-rw-r--r--Help/command/FIND_XXX_ORDER.txt12
-rw-r--r--Help/command/FIND_XXX_ROOT.txt23
-rw-r--r--Help/command/add_compile_options.rst22
-rw-r--r--Help/command/add_custom_command.rst158
-rw-r--r--Help/command/add_custom_target.rst45
-rw-r--r--Help/command/add_definitions.rst25
-rw-r--r--Help/command/add_dependencies.rst19
-rw-r--r--Help/command/add_executable.rst77
-rw-r--r--Help/command/add_library.rst136
-rw-r--r--Help/command/add_subdirectory.rst36
-rw-r--r--Help/command/add_test.rst59
-rw-r--r--Help/command/aux_source_directory.rst24
-rw-r--r--Help/command/break.rst10
-rw-r--r--Help/command/build_command.rst44
-rw-r--r--Help/command/build_name.rst14
-rw-r--r--Help/command/cmake_host_system_information.rst25
-rw-r--r--Help/command/cmake_minimum_required.rst30
-rw-r--r--Help/command/cmake_policy.rst78
-rw-r--r--Help/command/configure_file.rst46
-rw-r--r--Help/command/create_test_sourcelist.rst30
-rw-r--r--Help/command/ctest_build.rst24
-rw-r--r--Help/command/ctest_configure.rst21
-rw-r--r--Help/command/ctest_coverage.rst20
-rw-r--r--Help/command/ctest_empty_binary_directory.rst12
-rw-r--r--Help/command/ctest_memcheck.rst28
-rw-r--r--Help/command/ctest_read_custom_files.rst11
-rw-r--r--Help/command/ctest_run_script.rst15
-rw-r--r--Help/command/ctest_sleep.rst16
-rw-r--r--Help/command/ctest_start.rst16
-rw-r--r--Help/command/ctest_submit.rst35
-rw-r--r--Help/command/ctest_test.rst33
-rw-r--r--Help/command/ctest_update.rst13
-rw-r--r--Help/command/ctest_upload.rst11
-rw-r--r--Help/command/define_property.rst45
-rw-r--r--Help/command/else.rst10
-rw-r--r--Help/command/elseif.rst10
-rw-r--r--Help/command/enable_language.rst22
-rw-r--r--Help/command/enable_testing.rst13
-rw-r--r--Help/command/endforeach.rst10
-rw-r--r--Help/command/endfunction.rst10
-rw-r--r--Help/command/endif.rst10
-rw-r--r--Help/command/endmacro.rst10
-rw-r--r--Help/command/endwhile.rst10
-rw-r--r--Help/command/exec_program.rst24
-rw-r--r--Help/command/execute_process.rst75
-rw-r--r--Help/command/export.rst54
-rw-r--r--Help/command/export_library_dependencies.rst28
-rw-r--r--Help/command/file.rst213
-rw-r--r--Help/command/find_file.rst27
-rw-r--r--Help/command/find_library.rst44
-rw-r--r--Help/command/find_package.rst345
-rw-r--r--Help/command/find_path.rst32
-rw-r--r--Help/command/find_program.rst25
-rw-r--r--Help/command/fltk_wrap_ui.rst14
-rw-r--r--Help/command/foreach.rst47
-rw-r--r--Help/command/function.rst31
-rw-r--r--Help/command/get_cmake_property.rst15
-rw-r--r--Help/command/get_directory_property.rst24
-rw-r--r--Help/command/get_filename_component.rst37
-rw-r--r--Help/command/get_property.rst49
-rw-r--r--Help/command/get_source_file_property.rst16
-rw-r--r--Help/command/get_target_property.rst18
-rw-r--r--Help/command/get_test_property.rst15
-rw-r--r--Help/command/if.rst201
-rw-r--r--Help/command/include.rst25
-rw-r--r--Help/command/include_directories.rst35
-rw-r--r--Help/command/include_external_msproject.rst23
-rw-r--r--Help/command/include_regular_expression.rst18
-rw-r--r--Help/command/install.rst323
-rw-r--r--Help/command/install_files.rst39
-rw-r--r--Help/command/install_programs.rst33
-rw-r--r--Help/command/install_targets.rst17
-rw-r--r--Help/command/link_directories.rst19
-rw-r--r--Help/command/link_libraries.rst16
-rw-r--r--Help/command/list.rst61
-rw-r--r--Help/command/load_cache.rst27
-rw-r--r--Help/command/load_command.rst23
-rw-r--r--Help/command/macro.rst67
-rw-r--r--Help/command/make_directory.rst12
-rw-r--r--Help/command/mark_as_advanced.rst19
-rw-r--r--Help/command/math.rst13
-rw-r--r--Help/command/message.rst33
-rw-r--r--Help/command/option.rst15
-rw-r--r--Help/command/output_required_files.rst19
-rw-r--r--Help/command/project.rst57
-rw-r--r--Help/command/qt_wrap_cpp.rst12
-rw-r--r--Help/command/qt_wrap_ui.rst14
-rw-r--r--Help/command/remove.rst12
-rw-r--r--Help/command/remove_definitions.rst11
-rw-r--r--Help/command/return.rst18
-rw-r--r--Help/command/separate_arguments.rst31
-rw-r--r--Help/command/set.rst116
-rw-r--r--Help/command/set_directory_properties.rst15
-rw-r--r--Help/command/set_property.rst43
-rw-r--r--Help/command/set_source_files_properties.rst15
-rw-r--r--Help/command/set_target_properties.rst104
-rw-r--r--Help/command/set_tests_properties.rst36
-rw-r--r--Help/command/site_name.rst8
-rw-r--r--Help/command/source_group.rst44
-rw-r--r--Help/command/string.rst156
-rw-r--r--Help/command/subdir_depends.rst13
-rw-r--r--Help/command/subdirs.rst24
-rw-r--r--Help/command/target_compile_definitions.rst28
-rw-r--r--Help/command/target_compile_options.rst37
-rw-r--r--Help/command/target_include_directories.rst42
-rw-r--r--Help/command/target_link_libraries.rst149
-rw-r--r--Help/command/try_compile.rst71
-rw-r--r--Help/command/try_run.rst52
-rw-r--r--Help/command/unset.rst25
-rw-r--r--Help/command/use_mangled_mesa.rst15
-rw-r--r--Help/command/utility_source.rst24
-rw-r--r--Help/command/variable_requires.rst22
-rw-r--r--Help/command/variable_watch.rst13
-rw-r--r--Help/command/while.rst17
-rw-r--r--Help/command/write_file.rst20
-rw-r--r--Help/generator/Borland Makefiles.rst4
-rw-r--r--Help/generator/CodeBlocks.rst25
-rw-r--r--Help/generator/CodeLite.rst24
-rw-r--r--Help/generator/Eclipse CDT4.rst25
-rw-r--r--Help/generator/KDevelop3.rst25
-rw-r--r--Help/generator/Kate.rst26
-rw-r--r--Help/generator/MSYS Makefiles.rst7
-rw-r--r--Help/generator/MinGW Makefiles.rst7
-rw-r--r--Help/generator/NMake Makefiles JOM.rst4
-rw-r--r--Help/generator/NMake Makefiles.rst4
-rw-r--r--Help/generator/Ninja.rst8
-rw-r--r--Help/generator/Sublime Text 2.rst25
-rw-r--r--Help/generator/Unix Makefiles.rst8
-rw-r--r--Help/generator/Visual Studio 10 2010.rst12
-rw-r--r--Help/generator/Visual Studio 11 2012.rst12
-rw-r--r--Help/generator/Visual Studio 12 2013.rst12
-rw-r--r--Help/generator/Visual Studio 6.rst4
-rw-r--r--Help/generator/Visual Studio 7 .NET 2003.rst4
-rw-r--r--Help/generator/Visual Studio 7.rst4
-rw-r--r--Help/generator/Visual Studio 8 2005.rst8
-rw-r--r--Help/generator/Visual Studio 9 2008.rst9
-rw-r--r--Help/generator/Watcom WMake.rst4
-rw-r--r--Help/generator/Xcode.rst4
-rw-r--r--Help/include/COMPILE_DEFINITIONS_DISCLAIMER.txt18
-rw-r--r--Help/index.rst58
-rw-r--r--Help/manual/LINKS.txt25
-rw-r--r--Help/manual/OPTIONS_BUILD.txt64
-rw-r--r--Help/manual/OPTIONS_HELP.txt130
-rw-r--r--Help/manual/ccmake.1.rst37
-rw-r--r--Help/manual/cmake-buildsystem.7.rst853
-rw-r--r--Help/manual/cmake-commands.7.rst149
-rw-r--r--Help/manual/cmake-developer.7.rst876
-rw-r--r--Help/manual/cmake-generator-expressions.7.rst190
-rw-r--r--Help/manual/cmake-generators.7.rst86
-rw-r--r--Help/manual/cmake-gui.1.rst35
-rw-r--r--Help/manual/cmake-language.7.rst479
-rw-r--r--Help/manual/cmake-modules.7.rst233
-rw-r--r--Help/manual/cmake-packages.7.rst619
-rw-r--r--Help/manual/cmake-policies.7.rst104
-rw-r--r--Help/manual/cmake-properties.7.rst293
-rw-r--r--Help/manual/cmake-qt.7.rst187
-rw-r--r--Help/manual/cmake-toolchains.7.rst178
-rw-r--r--Help/manual/cmake-variables.7.rst311
-rw-r--r--Help/manual/cmake.1.rst162
-rw-r--r--Help/manual/cpack.1.rst97
-rw-r--r--Help/manual/ctest.1.rst371
-rw-r--r--Help/module/AddFileDependencies.rst1
-rw-r--r--Help/module/BundleUtilities.rst1
-rw-r--r--Help/module/CMakeAddFortranSubdirectory.rst1
-rw-r--r--Help/module/CMakeBackwardCompatibilityCXX.rst1
-rw-r--r--Help/module/CMakeDependentOption.rst1
-rw-r--r--Help/module/CMakeDetermineVSServicePack.rst1
-rw-r--r--Help/module/CMakeExpandImportedTargets.rst1
-rw-r--r--Help/module/CMakeFindDependencyMacro.rst1
-rw-r--r--Help/module/CMakeFindFrameworks.rst1
-rw-r--r--Help/module/CMakeFindPackageMode.rst1
-rw-r--r--Help/module/CMakeForceCompiler.rst1
-rw-r--r--Help/module/CMakeGraphVizOptions.rst1
-rw-r--r--Help/module/CMakePackageConfigHelpers.rst1
-rw-r--r--Help/module/CMakeParseArguments.rst1
-rw-r--r--Help/module/CMakePrintHelpers.rst1
-rw-r--r--Help/module/CMakePrintSystemInformation.rst1
-rw-r--r--Help/module/CMakePushCheckState.rst1
-rw-r--r--Help/module/CMakeVerifyManifest.rst1
-rw-r--r--Help/module/CPack.rst1
-rw-r--r--Help/module/CPackBundle.rst1
-rw-r--r--Help/module/CPackComponent.rst1
-rw-r--r--Help/module/CPackCygwin.rst1
-rw-r--r--Help/module/CPackDMG.rst1
-rw-r--r--Help/module/CPackDeb.rst1
-rw-r--r--Help/module/CPackNSIS.rst1
-rw-r--r--Help/module/CPackPackageMaker.rst1
-rw-r--r--Help/module/CPackRPM.rst1
-rw-r--r--Help/module/CPackWIX.rst1
-rw-r--r--Help/module/CTest.rst1
-rw-r--r--Help/module/CTestScriptMode.rst1
-rw-r--r--Help/module/CTestUseLaunchers.rst1
-rw-r--r--Help/module/CheckCCompilerFlag.rst1
-rw-r--r--Help/module/CheckCSourceCompiles.rst1
-rw-r--r--Help/module/CheckCSourceRuns.rst1
-rw-r--r--Help/module/CheckCXXCompilerFlag.rst1
-rw-r--r--Help/module/CheckCXXSourceCompiles.rst1
-rw-r--r--Help/module/CheckCXXSourceRuns.rst1
-rw-r--r--Help/module/CheckCXXSymbolExists.rst1
-rw-r--r--Help/module/CheckFortranFunctionExists.rst1
-rw-r--r--Help/module/CheckFunctionExists.rst1
-rw-r--r--Help/module/CheckIncludeFile.rst1
-rw-r--r--Help/module/CheckIncludeFileCXX.rst1
-rw-r--r--Help/module/CheckIncludeFiles.rst1
-rw-r--r--Help/module/CheckLanguage.rst1
-rw-r--r--Help/module/CheckLibraryExists.rst1
-rw-r--r--Help/module/CheckPrototypeDefinition.rst1
-rw-r--r--Help/module/CheckStructHasMember.rst1
-rw-r--r--Help/module/CheckSymbolExists.rst1
-rw-r--r--Help/module/CheckTypeSize.rst1
-rw-r--r--Help/module/CheckVariableExists.rst1
-rw-r--r--Help/module/Dart.rst1
-rw-r--r--Help/module/DeployQt4.rst1
-rw-r--r--Help/module/Documentation.rst1
-rw-r--r--Help/module/ExternalData.rst1
-rw-r--r--Help/module/ExternalProject.rst1
-rw-r--r--Help/module/FeatureSummary.rst1
-rw-r--r--Help/module/FindALSA.rst1
-rw-r--r--Help/module/FindASPELL.rst1
-rw-r--r--Help/module/FindAVIFile.rst1
-rw-r--r--Help/module/FindArmadillo.rst1
-rw-r--r--Help/module/FindBISON.rst1
-rw-r--r--Help/module/FindBLAS.rst1
-rw-r--r--Help/module/FindBZip2.rst1
-rw-r--r--Help/module/FindBacktrace.rst1
-rw-r--r--Help/module/FindBoost.rst1
-rw-r--r--Help/module/FindBullet.rst1
-rw-r--r--Help/module/FindCABLE.rst1
-rw-r--r--Help/module/FindCUDA.rst1
-rw-r--r--Help/module/FindCURL.rst1
-rw-r--r--Help/module/FindCVS.rst1
-rw-r--r--Help/module/FindCoin3D.rst1
-rw-r--r--Help/module/FindCups.rst1
-rw-r--r--Help/module/FindCurses.rst1
-rw-r--r--Help/module/FindCxxTest.rst1
-rw-r--r--Help/module/FindCygwin.rst1
-rw-r--r--Help/module/FindDCMTK.rst1
-rw-r--r--Help/module/FindDart.rst1
-rw-r--r--Help/module/FindDevIL.rst1
-rw-r--r--Help/module/FindDoxygen.rst1
-rw-r--r--Help/module/FindEXPAT.rst1
-rw-r--r--Help/module/FindFLEX.rst1
-rw-r--r--Help/module/FindFLTK.rst1
-rw-r--r--Help/module/FindFLTK2.rst1
-rw-r--r--Help/module/FindFreetype.rst1
-rw-r--r--Help/module/FindGCCXML.rst1
-rw-r--r--Help/module/FindGDAL.rst1
-rw-r--r--Help/module/FindGIF.rst1
-rw-r--r--Help/module/FindGLEW.rst1
-rw-r--r--Help/module/FindGLUT.rst1
-rw-r--r--Help/module/FindGTK.rst1
-rw-r--r--Help/module/FindGTK2.rst1
-rw-r--r--Help/module/FindGTest.rst1
-rw-r--r--Help/module/FindGettext.rst1
-rw-r--r--Help/module/FindGit.rst1
-rw-r--r--Help/module/FindGnuTLS.rst1
-rw-r--r--Help/module/FindGnuplot.rst1
-rw-r--r--Help/module/FindHDF5.rst1
-rw-r--r--Help/module/FindHSPELL.rst1
-rw-r--r--Help/module/FindHTMLHelp.rst1
-rw-r--r--Help/module/FindHg.rst1
-rw-r--r--Help/module/FindITK.rst1
-rw-r--r--Help/module/FindIcotool.rst1
-rw-r--r--Help/module/FindImageMagick.rst1
-rw-r--r--Help/module/FindJNI.rst1
-rw-r--r--Help/module/FindJPEG.rst1
-rw-r--r--Help/module/FindJasper.rst1
-rw-r--r--Help/module/FindJava.rst1
-rw-r--r--Help/module/FindKDE3.rst1
-rw-r--r--Help/module/FindKDE4.rst1
-rw-r--r--Help/module/FindLAPACK.rst1
-rw-r--r--Help/module/FindLATEX.rst1
-rw-r--r--Help/module/FindLibArchive.rst1
-rw-r--r--Help/module/FindLibLZMA.rst1
-rw-r--r--Help/module/FindLibXml2.rst1
-rw-r--r--Help/module/FindLibXslt.rst1
-rw-r--r--Help/module/FindLua.rst1
-rw-r--r--Help/module/FindLua50.rst1
-rw-r--r--Help/module/FindLua51.rst1
-rw-r--r--Help/module/FindMFC.rst1
-rw-r--r--Help/module/FindMPEG.rst1
-rw-r--r--Help/module/FindMPEG2.rst1
-rw-r--r--Help/module/FindMPI.rst1
-rw-r--r--Help/module/FindMatlab.rst1
-rw-r--r--Help/module/FindMotif.rst1
-rw-r--r--Help/module/FindOpenAL.rst1
-rw-r--r--Help/module/FindOpenGL.rst1
-rw-r--r--Help/module/FindOpenMP.rst1
-rw-r--r--Help/module/FindOpenSSL.rst1
-rw-r--r--Help/module/FindOpenSceneGraph.rst1
-rw-r--r--Help/module/FindOpenThreads.rst1
-rw-r--r--Help/module/FindPHP4.rst1
-rw-r--r--Help/module/FindPNG.rst1
-rw-r--r--Help/module/FindPackageHandleStandardArgs.rst1
-rw-r--r--Help/module/FindPackageMessage.rst1
-rw-r--r--Help/module/FindPerl.rst1
-rw-r--r--Help/module/FindPerlLibs.rst1
-rw-r--r--Help/module/FindPhysFS.rst1
-rw-r--r--Help/module/FindPike.rst1
-rw-r--r--Help/module/FindPkgConfig.rst1
-rw-r--r--Help/module/FindPostgreSQL.rst1
-rw-r--r--Help/module/FindProducer.rst1
-rw-r--r--Help/module/FindProtobuf.rst1
-rw-r--r--Help/module/FindPythonInterp.rst1
-rw-r--r--Help/module/FindPythonLibs.rst1
-rw-r--r--Help/module/FindQt.rst1
-rw-r--r--Help/module/FindQt3.rst1
-rw-r--r--Help/module/FindQt4.rst1
-rw-r--r--Help/module/FindQuickTime.rst1
-rw-r--r--Help/module/FindRTI.rst1
-rw-r--r--Help/module/FindRuby.rst1
-rw-r--r--Help/module/FindSDL.rst1
-rw-r--r--Help/module/FindSDL_image.rst1
-rw-r--r--Help/module/FindSDL_mixer.rst1
-rw-r--r--Help/module/FindSDL_net.rst1
-rw-r--r--Help/module/FindSDL_sound.rst1
-rw-r--r--Help/module/FindSDL_ttf.rst1
-rw-r--r--Help/module/FindSWIG.rst1
-rw-r--r--Help/module/FindSelfPackers.rst1
-rw-r--r--Help/module/FindSquish.rst1
-rw-r--r--Help/module/FindSubversion.rst1
-rw-r--r--Help/module/FindTCL.rst1
-rw-r--r--Help/module/FindTIFF.rst1
-rw-r--r--Help/module/FindTclStub.rst1
-rw-r--r--Help/module/FindTclsh.rst1
-rw-r--r--Help/module/FindThreads.rst1
-rw-r--r--Help/module/FindUnixCommands.rst1
-rw-r--r--Help/module/FindVTK.rst1
-rw-r--r--Help/module/FindWget.rst1
-rw-r--r--Help/module/FindWish.rst1
-rw-r--r--Help/module/FindX11.rst1
-rw-r--r--Help/module/FindXMLRPC.rst1
-rw-r--r--Help/module/FindZLIB.rst1
-rw-r--r--Help/module/Findosg.rst1
-rw-r--r--Help/module/FindosgAnimation.rst1
-rw-r--r--Help/module/FindosgDB.rst1
-rw-r--r--Help/module/FindosgFX.rst1
-rw-r--r--Help/module/FindosgGA.rst1
-rw-r--r--Help/module/FindosgIntrospection.rst1
-rw-r--r--Help/module/FindosgManipulator.rst1
-rw-r--r--Help/module/FindosgParticle.rst1
-rw-r--r--Help/module/FindosgPresentation.rst1
-rw-r--r--Help/module/FindosgProducer.rst1
-rw-r--r--Help/module/FindosgQt.rst1
-rw-r--r--Help/module/FindosgShadow.rst1
-rw-r--r--Help/module/FindosgSim.rst1
-rw-r--r--Help/module/FindosgTerrain.rst1
-rw-r--r--Help/module/FindosgText.rst1
-rw-r--r--Help/module/FindosgUtil.rst1
-rw-r--r--Help/module/FindosgViewer.rst1
-rw-r--r--Help/module/FindosgVolume.rst1
-rw-r--r--Help/module/FindosgWidget.rst1
-rw-r--r--Help/module/Findosg_functions.rst1
-rw-r--r--Help/module/FindwxWidgets.rst1
-rw-r--r--Help/module/FindwxWindows.rst1
-rw-r--r--Help/module/FortranCInterface.rst1
-rw-r--r--Help/module/GNUInstallDirs.rst1
-rw-r--r--Help/module/GenerateExportHeader.rst1
-rw-r--r--Help/module/GetPrerequisites.rst1
-rw-r--r--Help/module/InstallRequiredSystemLibraries.rst1
-rw-r--r--Help/module/MacroAddFileDependencies.rst1
-rw-r--r--Help/module/ProcessorCount.rst1
-rw-r--r--Help/module/SelectLibraryConfigurations.rst1
-rw-r--r--Help/module/SquishTestScript.rst1
-rw-r--r--Help/module/TestBigEndian.rst1
-rw-r--r--Help/module/TestCXXAcceptsFlag.rst1
-rw-r--r--Help/module/TestForANSIForScope.rst1
-rw-r--r--Help/module/TestForANSIStreamHeaders.rst1
-rw-r--r--Help/module/TestForSSTREAM.rst1
-rw-r--r--Help/module/TestForSTDNamespace.rst1
-rw-r--r--Help/module/UseEcos.rst1
-rw-r--r--Help/module/UseJava.rst1
-rw-r--r--Help/module/UseJavaClassFilelist.rst1
-rw-r--r--Help/module/UseJavaSymlinks.rst1
-rw-r--r--Help/module/UsePkgConfig.rst1
-rw-r--r--Help/module/UseSWIG.rst1
-rw-r--r--Help/module/Use_wxWindows.rst1
-rw-r--r--Help/module/UsewxWidgets.rst1
-rw-r--r--Help/module/WriteBasicConfigVersionFile.rst1
-rw-r--r--Help/policy/CMP0000.rst30
-rw-r--r--Help/policy/CMP0001.rst19
-rw-r--r--Help/policy/CMP0002.rst26
-rw-r--r--Help/policy/CMP0003.rst102
-rw-r--r--Help/policy/CMP0004.rst23
-rw-r--r--Help/policy/CMP0005.rst24
-rw-r--r--Help/policy/CMP0006.rst22
-rw-r--r--Help/policy/CMP0007.rst15
-rw-r--r--Help/policy/CMP0008.rst32
-rw-r--r--Help/policy/CMP0009.rst19
-rw-r--r--Help/policy/CMP0010.rst15
-rw-r--r--Help/policy/CMP0011.rst22
-rw-r--r--Help/policy/CMP0012.rst25
-rw-r--r--Help/policy/CMP0013.rst19
-rw-r--r--Help/policy/CMP0014.rst15
-rw-r--r--Help/policy/CMP0015.rst17
-rw-r--r--Help/policy/CMP0016.rst13
-rw-r--r--Help/policy/CMP0017.rst19
-rw-r--r--Help/policy/CMP0018.rst32
-rw-r--r--Help/policy/CMP0019.rst20
-rw-r--r--Help/policy/CMP0020.rst25
-rw-r--r--Help/policy/CMP0021.rst18
-rw-r--r--Help/policy/CMP0022.rst37
-rw-r--r--Help/policy/CMP0023.rst33
-rw-r--r--Help/policy/CMP0024.rst22
-rw-r--r--Help/policy/CMP0025.rst27
-rw-r--r--Help/policy/CMP0026.rst26
-rw-r--r--Help/policy/CMP0027.rst25
-rw-r--r--Help/policy/CMP0028.rst23
-rw-r--r--Help/policy/CMP0029.rst10
-rw-r--r--Help/policy/CMP0030.rst11
-rw-r--r--Help/policy/CMP0031.rst13
-rw-r--r--Help/policy/CMP0032.rst13
-rw-r--r--Help/policy/CMP0033.rst14
-rw-r--r--Help/policy/CMP0034.rst11
-rw-r--r--Help/policy/CMP0035.rst10
-rw-r--r--Help/policy/CMP0036.rst12
-rw-r--r--Help/policy/CMP0037.rst26
-rw-r--r--Help/policy/CMP0038.rst16
-rw-r--r--Help/policy/CMP0039.rst17
-rw-r--r--Help/policy/CMP0040.rst16
-rw-r--r--Help/policy/CMP0041.rst25
-rw-r--r--Help/policy/CMP0042.rst19
-rw-r--r--Help/policy/CMP0043.rst45
-rw-r--r--Help/policy/CMP0044.rst19
-rw-r--r--Help/policy/CMP0045.rst17
-rw-r--r--Help/policy/CMP0046.rst17
-rw-r--r--Help/policy/CMP0047.rst28
-rw-r--r--Help/policy/CMP0048.rst22
-rw-r--r--Help/policy/CMP0049.rst23
-rw-r--r--Help/policy/CMP0050.rst18
-rw-r--r--Help/policy/DISALLOWED_COMMAND.txt9
-rw-r--r--Help/prop_cache/ADVANCED.rst8
-rw-r--r--Help/prop_cache/HELPSTRING.rst7
-rw-r--r--Help/prop_cache/MODIFIED.rst7
-rw-r--r--Help/prop_cache/STRINGS.rst9
-rw-r--r--Help/prop_cache/TYPE.rst21
-rw-r--r--Help/prop_cache/VALUE.rst7
-rw-r--r--Help/prop_dir/ADDITIONAL_MAKE_CLEAN_FILES.rst7
-rw-r--r--Help/prop_dir/CACHE_VARIABLES.rst7
-rw-r--r--Help/prop_dir/CLEAN_NO_CUSTOM.rst7
-rw-r--r--Help/prop_dir/CMAKE_CONFIGURE_DEPENDS.rst9
-rw-r--r--Help/prop_dir/COMPILE_DEFINITIONS.rst32
-rw-r--r--Help/prop_dir/COMPILE_DEFINITIONS_CONFIG.rst17
-rw-r--r--Help/prop_dir/COMPILE_OPTIONS.rst16
-rw-r--r--Help/prop_dir/DEFINITIONS.rst8
-rw-r--r--Help/prop_dir/EXCLUDE_FROM_ALL.rst9
-rw-r--r--Help/prop_dir/IMPLICIT_DEPENDS_INCLUDE_TRANSFORM.rst34
-rw-r--r--Help/prop_dir/INCLUDE_DIRECTORIES.rst26
-rw-r--r--Help/prop_dir/INCLUDE_REGULAR_EXPRESSION.rst8
-rw-r--r--Help/prop_dir/INTERPROCEDURAL_OPTIMIZATION.rst7
-rw-r--r--Help/prop_dir/INTERPROCEDURAL_OPTIMIZATION_CONFIG.rst8
-rw-r--r--Help/prop_dir/LINK_DIRECTORIES.rst8
-rw-r--r--Help/prop_dir/LISTFILE_STACK.rst9
-rw-r--r--Help/prop_dir/MACROS.rst8
-rw-r--r--Help/prop_dir/PARENT_DIRECTORY.rst8
-rw-r--r--Help/prop_dir/RULE_LAUNCH_COMPILE.rst7
-rw-r--r--Help/prop_dir/RULE_LAUNCH_CUSTOM.rst7
-rw-r--r--Help/prop_dir/RULE_LAUNCH_LINK.rst7
-rw-r--r--Help/prop_dir/TEST_INCLUDE_FILE.rst7
-rw-r--r--Help/prop_dir/VARIABLES.rst7
-rw-r--r--Help/prop_dir/VS_GLOBAL_SECTION_POST_section.rst29
-rw-r--r--Help/prop_dir/VS_GLOBAL_SECTION_PRE_section.rst22
-rw-r--r--Help/prop_gbl/ALLOW_DUPLICATE_CUSTOM_TARGETS.rst19
-rw-r--r--Help/prop_gbl/AUTOGEN_TARGETS_FOLDER.rst9
-rw-r--r--Help/prop_gbl/AUTOMOC_TARGETS_FOLDER.rst11
-rw-r--r--Help/prop_gbl/DEBUG_CONFIGURATIONS.rst14
-rw-r--r--Help/prop_gbl/DISABLED_FEATURES.rst11
-rw-r--r--Help/prop_gbl/ECLIPSE_EXTRA_NATURES.rst8
-rw-r--r--Help/prop_gbl/ENABLED_FEATURES.rst11
-rw-r--r--Help/prop_gbl/ENABLED_LANGUAGES.rst6
-rw-r--r--Help/prop_gbl/FIND_LIBRARY_USE_LIB64_PATHS.rst9
-rw-r--r--Help/prop_gbl/FIND_LIBRARY_USE_OPENBSD_VERSIONING.rst9
-rw-r--r--Help/prop_gbl/GLOBAL_DEPENDS_DEBUG_MODE.rst8
-rw-r--r--Help/prop_gbl/GLOBAL_DEPENDS_NO_CYCLES.rst10
-rw-r--r--Help/prop_gbl/IN_TRY_COMPILE.rst6
-rw-r--r--Help/prop_gbl/JOB_POOLS.rst20
-rw-r--r--Help/prop_gbl/PACKAGES_FOUND.rst7
-rw-r--r--Help/prop_gbl/PACKAGES_NOT_FOUND.rst7
-rw-r--r--Help/prop_gbl/PREDEFINED_TARGETS_FOLDER.rst9
-rw-r--r--Help/prop_gbl/REPORT_UNDEFINED_PROPERTIES.rst8
-rw-r--r--Help/prop_gbl/RULE_LAUNCH_COMPILE.rst9
-rw-r--r--Help/prop_gbl/RULE_LAUNCH_CUSTOM.rst9
-rw-r--r--Help/prop_gbl/RULE_LAUNCH_LINK.rst9
-rw-r--r--Help/prop_gbl/RULE_MESSAGES.rst13
-rw-r--r--Help/prop_gbl/TARGET_ARCHIVES_MAY_BE_SHARED_LIBS.rst7
-rw-r--r--Help/prop_gbl/TARGET_SUPPORTS_SHARED_LIBS.rst9
-rw-r--r--Help/prop_gbl/USE_FOLDERS.rst9
-rw-r--r--Help/prop_sf/ABSTRACT.rst9
-rw-r--r--Help/prop_sf/AUTORCC_OPTIONS.rst13
-rw-r--r--Help/prop_sf/AUTOUIC_OPTIONS.rst14
-rw-r--r--Help/prop_sf/COMPILE_DEFINITIONS.rst20
-rw-r--r--Help/prop_sf/COMPILE_DEFINITIONS_CONFIG.rst8
-rw-r--r--Help/prop_sf/COMPILE_FLAGS.rst8
-rw-r--r--Help/prop_sf/EXTERNAL_OBJECT.rst8
-rw-r--r--Help/prop_sf/Fortran_FORMAT.rst9
-rw-r--r--Help/prop_sf/GENERATED.rst8
-rw-r--r--Help/prop_sf/HEADER_FILE_ONLY.rst9
-rw-r--r--Help/prop_sf/KEEP_EXTENSION.rst9
-rw-r--r--Help/prop_sf/LABELS.rst8
-rw-r--r--Help/prop_sf/LANGUAGE.rst10
-rw-r--r--Help/prop_sf/LOCATION.rst7
-rw-r--r--Help/prop_sf/MACOSX_PACKAGE_LOCATION.rst19
-rw-r--r--Help/prop_sf/OBJECT_DEPENDS.rst18
-rw-r--r--Help/prop_sf/OBJECT_OUTPUTS.rst9
-rw-r--r--Help/prop_sf/SYMBOLIC.rst8
-rw-r--r--Help/prop_sf/WRAP_EXCLUDE.rst10
-rw-r--r--Help/prop_test/ATTACHED_FILES.rst7
-rw-r--r--Help/prop_test/ATTACHED_FILES_ON_FAIL.rst7
-rw-r--r--Help/prop_test/COST.rst7
-rw-r--r--Help/prop_test/DEPENDS.rst6
-rw-r--r--Help/prop_test/ENVIRONMENT.rst9
-rw-r--r--Help/prop_test/FAIL_REGULAR_EXPRESSION.rst8
-rw-r--r--Help/prop_test/LABELS.rst6
-rw-r--r--Help/prop_test/MEASUREMENT.rst8
-rw-r--r--Help/prop_test/PASS_REGULAR_EXPRESSION.rst8
-rw-r--r--Help/prop_test/PROCESSORS.rst8
-rw-r--r--Help/prop_test/REQUIRED_FILES.rst7
-rw-r--r--Help/prop_test/RESOURCE_LOCK.rst7
-rw-r--r--Help/prop_test/RUN_SERIAL.rst8
-rw-r--r--Help/prop_test/SKIP_RETURN_CODE.rst9
-rw-r--r--Help/prop_test/TIMEOUT.rst9
-rw-r--r--Help/prop_test/WILL_FAIL.rst7
-rw-r--r--Help/prop_test/WORKING_DIRECTORY.rst7
-rw-r--r--Help/prop_tgt/ALIASED_TARGET.rst7
-rw-r--r--Help/prop_tgt/ARCHIVE_OUTPUT_DIRECTORY.rst7
-rw-r--r--Help/prop_tgt/ARCHIVE_OUTPUT_DIRECTORY_CONFIG.rst11
-rw-r--r--Help/prop_tgt/ARCHIVE_OUTPUT_NAME.rst6
-rw-r--r--Help/prop_tgt/ARCHIVE_OUTPUT_NAME_CONFIG.rst6
-rw-r--r--Help/prop_tgt/AUTOGEN_TARGET_DEPENDS.rst17
-rw-r--r--Help/prop_tgt/AUTOMOC.rst37
-rw-r--r--Help/prop_tgt/AUTOMOC_MOC_OPTIONS.rst15
-rw-r--r--Help/prop_tgt/AUTORCC.rst23
-rw-r--r--Help/prop_tgt/AUTORCC_OPTIONS.rst21
-rw-r--r--Help/prop_tgt/AUTOUIC.rst24
-rw-r--r--Help/prop_tgt/AUTOUIC_OPTIONS.rst25
-rw-r--r--Help/prop_tgt/BUILD_WITH_INSTALL_RPATH.rst11
-rw-r--r--Help/prop_tgt/BUNDLE.rst9
-rw-r--r--Help/prop_tgt/BUNDLE_EXTENSION.rst7
-rw-r--r--Help/prop_tgt/COMPATIBLE_INTERFACE_BOOL.rst20
-rw-r--r--Help/prop_tgt/COMPATIBLE_INTERFACE_NUMBER_MAX.rst18
-rw-r--r--Help/prop_tgt/COMPATIBLE_INTERFACE_NUMBER_MIN.rst18
-rw-r--r--Help/prop_tgt/COMPATIBLE_INTERFACE_STRING.rst16
-rw-r--r--Help/prop_tgt/COMPILE_DEFINITIONS.rst26
-rw-r--r--Help/prop_tgt/COMPILE_DEFINITIONS_CONFIG.rst14
-rw-r--r--Help/prop_tgt/COMPILE_FLAGS.rst11
-rw-r--r--Help/prop_tgt/COMPILE_OPTIONS.rst16
-rw-r--r--Help/prop_tgt/CONFIG_OUTPUT_NAME.rst7
-rw-r--r--Help/prop_tgt/CONFIG_POSTFIX.rst10
-rw-r--r--Help/prop_tgt/DEBUG_POSTFIX.rst7
-rw-r--r--Help/prop_tgt/DEFINE_SYMBOL.rst11
-rw-r--r--Help/prop_tgt/ENABLE_EXPORTS.rst19
-rw-r--r--Help/prop_tgt/EXCLUDE_FROM_ALL.rst10
-rw-r--r--Help/prop_tgt/EXCLUDE_FROM_DEFAULT_BUILD.rst8
-rw-r--r--Help/prop_tgt/EXCLUDE_FROM_DEFAULT_BUILD_CONFIG.rst9
-rw-r--r--Help/prop_tgt/EXPORT_NAME.rst8
-rw-r--r--Help/prop_tgt/EchoString.rst7
-rw-r--r--Help/prop_tgt/FOLDER.rst10
-rw-r--r--Help/prop_tgt/FRAMEWORK.rst9
-rw-r--r--Help/prop_tgt/Fortran_FORMAT.rst11
-rw-r--r--Help/prop_tgt/Fortran_MODULE_DIRECTORY.rst17
-rw-r--r--Help/prop_tgt/GENERATOR_FILE_NAME.rst9
-rw-r--r--Help/prop_tgt/GNUtoMS.rst17
-rw-r--r--Help/prop_tgt/HAS_CXX.rst7
-rw-r--r--Help/prop_tgt/IMPLICIT_DEPENDS_INCLUDE_TRANSFORM.rst32
-rw-r--r--Help/prop_tgt/IMPORTED.rst8
-rw-r--r--Help/prop_tgt/IMPORTED_CONFIGURATIONS.rst11
-rw-r--r--Help/prop_tgt/IMPORTED_IMPLIB.rst7
-rw-r--r--Help/prop_tgt/IMPORTED_IMPLIB_CONFIG.rst7
-rw-r--r--Help/prop_tgt/IMPORTED_LINK_DEPENDENT_LIBRARIES.rst14
-rw-r--r--Help/prop_tgt/IMPORTED_LINK_DEPENDENT_LIBRARIES_CONFIG.rst8
-rw-r--r--Help/prop_tgt/IMPORTED_LINK_INTERFACE_LANGUAGES.rst14
-rw-r--r--Help/prop_tgt/IMPORTED_LINK_INTERFACE_LANGUAGES_CONFIG.rst8
-rw-r--r--Help/prop_tgt/IMPORTED_LINK_INTERFACE_LIBRARIES.rst16
-rw-r--r--Help/prop_tgt/IMPORTED_LINK_INTERFACE_LIBRARIES_CONFIG.rst13
-rw-r--r--Help/prop_tgt/IMPORTED_LINK_INTERFACE_MULTIPLICITY.rst6
-rw-r--r--Help/prop_tgt/IMPORTED_LINK_INTERFACE_MULTIPLICITY_CONFIG.rst7
-rw-r--r--Help/prop_tgt/IMPORTED_LOCATION.rst21
-rw-r--r--Help/prop_tgt/IMPORTED_LOCATION_CONFIG.rst7
-rw-r--r--Help/prop_tgt/IMPORTED_NO_SONAME.rst9
-rw-r--r--Help/prop_tgt/IMPORTED_NO_SONAME_CONFIG.rst7
-rw-r--r--Help/prop_tgt/IMPORTED_SONAME.rst8
-rw-r--r--Help/prop_tgt/IMPORTED_SONAME_CONFIG.rst7
-rw-r--r--Help/prop_tgt/IMPORT_PREFIX.rst9
-rw-r--r--Help/prop_tgt/IMPORT_SUFFIX.rst9
-rw-r--r--Help/prop_tgt/INCLUDE_DIRECTORIES.rst24
-rw-r--r--Help/prop_tgt/INSTALL_NAME_DIR.rst8
-rw-r--r--Help/prop_tgt/INSTALL_RPATH.rst9
-rw-r--r--Help/prop_tgt/INSTALL_RPATH_USE_LINK_PATH.rst10
-rw-r--r--Help/prop_tgt/INTERFACE_AUTOUIC_OPTIONS.rst14
-rw-r--r--Help/prop_tgt/INTERFACE_COMPILE_DEFINITIONS.rst15
-rw-r--r--Help/prop_tgt/INTERFACE_COMPILE_OPTIONS.rst15
-rw-r--r--Help/prop_tgt/INTERFACE_INCLUDE_DIRECTORIES.rst15
-rw-r--r--Help/prop_tgt/INTERFACE_LINK_LIBRARIES.rst17
-rw-r--r--Help/prop_tgt/INTERFACE_POSITION_INDEPENDENT_CODE.rst16
-rw-r--r--Help/prop_tgt/INTERFACE_SYSTEM_INCLUDE_DIRECTORIES.rst15
-rw-r--r--Help/prop_tgt/INTERPROCEDURAL_OPTIMIZATION.rst7
-rw-r--r--Help/prop_tgt/INTERPROCEDURAL_OPTIMIZATION_CONFIG.rst8
-rw-r--r--Help/prop_tgt/JOB_POOL_COMPILE.rst17
-rw-r--r--Help/prop_tgt/JOB_POOL_LINK.rst16
-rw-r--r--Help/prop_tgt/LABELS.rst6
-rw-r--r--Help/prop_tgt/LANG_VISIBILITY_PRESET.rst10
-rw-r--r--Help/prop_tgt/LIBRARY_OUTPUT_DIRECTORY.rst7
-rw-r--r--Help/prop_tgt/LIBRARY_OUTPUT_DIRECTORY_CONFIG.rst11
-rw-r--r--Help/prop_tgt/LIBRARY_OUTPUT_NAME.rst6
-rw-r--r--Help/prop_tgt/LIBRARY_OUTPUT_NAME_CONFIG.rst6
-rw-r--r--Help/prop_tgt/LINKER_LANGUAGE.rst14
-rw-r--r--Help/prop_tgt/LINK_DEPENDS.rst12
-rw-r--r--Help/prop_tgt/LINK_DEPENDS_NO_SHARED.rst14
-rw-r--r--Help/prop_tgt/LINK_FLAGS.rst8
-rw-r--r--Help/prop_tgt/LINK_FLAGS_CONFIG.rst6
-rw-r--r--Help/prop_tgt/LINK_INTERFACE_LIBRARIES.rst22
-rw-r--r--Help/prop_tgt/LINK_INTERFACE_LIBRARIES_CONFIG.rst13
-rw-r--r--Help/prop_tgt/LINK_INTERFACE_MULTIPLICITY.rst12
-rw-r--r--Help/prop_tgt/LINK_INTERFACE_MULTIPLICITY_CONFIG.rst8
-rw-r--r--Help/prop_tgt/LINK_LIBRARIES.rst17
-rw-r--r--Help/prop_tgt/LINK_SEARCH_END_STATIC.rst14
-rw-r--r--Help/prop_tgt/LINK_SEARCH_START_STATIC.rst14
-rw-r--r--Help/prop_tgt/LOCATION.rst27
-rw-r--r--Help/prop_tgt/LOCATION_CONFIG.rst20
-rw-r--r--Help/prop_tgt/MACOSX_BUNDLE.rst12
-rw-r--r--Help/prop_tgt/MACOSX_BUNDLE_INFO_PLIST.rst29
-rw-r--r--Help/prop_tgt/MACOSX_FRAMEWORK_INFO_PLIST.rst25
-rw-r--r--Help/prop_tgt/MACOSX_RPATH.rst18
-rw-r--r--Help/prop_tgt/MAP_IMPORTED_CONFIG_CONFIG.rst19
-rw-r--r--Help/prop_tgt/NAME.rst6
-rw-r--r--Help/prop_tgt/NO_SONAME.rst14
-rw-r--r--Help/prop_tgt/NO_SYSTEM_FROM_IMPORTED.rst11
-rw-r--r--Help/prop_tgt/OSX_ARCHITECTURES.rst11
-rw-r--r--Help/prop_tgt/OSX_ARCHITECTURES_CONFIG.rst7
-rw-r--r--Help/prop_tgt/OUTPUT_NAME.rst8
-rw-r--r--Help/prop_tgt/OUTPUT_NAME_CONFIG.rst6
-rw-r--r--Help/prop_tgt/PDB_NAME.rst13
-rw-r--r--Help/prop_tgt/PDB_NAME_CONFIG.rst10
-rw-r--r--Help/prop_tgt/PDB_NOTE.txt8
-rw-r--r--Help/prop_tgt/PDB_OUTPUT_DIRECTORY.rst15
-rw-r--r--Help/prop_tgt/PDB_OUTPUT_DIRECTORY_CONFIG.rst15
-rw-r--r--Help/prop_tgt/POSITION_INDEPENDENT_CODE.rst11
-rw-r--r--Help/prop_tgt/POST_INSTALL_SCRIPT.rst9
-rw-r--r--Help/prop_tgt/PREFIX.rst7
-rw-r--r--Help/prop_tgt/PRE_INSTALL_SCRIPT.rst9
-rw-r--r--Help/prop_tgt/PRIVATE_HEADER.rst11
-rw-r--r--Help/prop_tgt/PROJECT_LABEL.rst7
-rw-r--r--Help/prop_tgt/PUBLIC_HEADER.rst11
-rw-r--r--Help/prop_tgt/RESOURCE.rst11
-rw-r--r--Help/prop_tgt/RULE_LAUNCH_COMPILE.rst7
-rw-r--r--Help/prop_tgt/RULE_LAUNCH_CUSTOM.rst7
-rw-r--r--Help/prop_tgt/RULE_LAUNCH_LINK.rst7
-rw-r--r--Help/prop_tgt/RUNTIME_OUTPUT_DIRECTORY.rst7
-rw-r--r--Help/prop_tgt/RUNTIME_OUTPUT_DIRECTORY_CONFIG.rst11
-rw-r--r--Help/prop_tgt/RUNTIME_OUTPUT_NAME.rst6
-rw-r--r--Help/prop_tgt/RUNTIME_OUTPUT_NAME_CONFIG.rst6
-rw-r--r--Help/prop_tgt/SKIP_BUILD_RPATH.rst9
-rw-r--r--Help/prop_tgt/SOURCES.rst7
-rw-r--r--Help/prop_tgt/SOVERSION.rst14
-rw-r--r--Help/prop_tgt/STATIC_LIBRARY_FLAGS.rst6
-rw-r--r--Help/prop_tgt/STATIC_LIBRARY_FLAGS_CONFIG.rst6
-rw-r--r--Help/prop_tgt/SUFFIX.rst7
-rw-r--r--Help/prop_tgt/TARGET_FILE_TYPES.txt9
-rw-r--r--Help/prop_tgt/TYPE.rst8
-rw-r--r--Help/prop_tgt/VERSION.rst16
-rw-r--r--Help/prop_tgt/VISIBILITY_INLINES_HIDDEN.rst11
-rw-r--r--Help/prop_tgt/VS_DOTNET_REFERENCES.rst7
-rw-r--r--Help/prop_tgt/VS_DOTNET_TARGET_FRAMEWORK_VERSION.rst7
-rw-r--r--Help/prop_tgt/VS_GLOBAL_KEYWORD.rst12
-rw-r--r--Help/prop_tgt/VS_GLOBAL_PROJECT_TYPES.rst15
-rw-r--r--Help/prop_tgt/VS_GLOBAL_ROOTNAMESPACE.rst7
-rw-r--r--Help/prop_tgt/VS_GLOBAL_variable.rst10
-rw-r--r--Help/prop_tgt/VS_KEYWORD.rst10
-rw-r--r--Help/prop_tgt/VS_SCC_AUXPATH.rst7
-rw-r--r--Help/prop_tgt/VS_SCC_LOCALPATH.rst7
-rw-r--r--Help/prop_tgt/VS_SCC_PROJECTNAME.rst7
-rw-r--r--Help/prop_tgt/VS_SCC_PROVIDER.rst7
-rw-r--r--Help/prop_tgt/VS_WINRT_EXTENSIONS.rst6
-rw-r--r--Help/prop_tgt/VS_WINRT_REFERENCES.rst7
-rw-r--r--Help/prop_tgt/WIN32_EXECUTABLE.rst12
-rw-r--r--Help/prop_tgt/XCODE_ATTRIBUTE_an-attribute.rst7
-rw-r--r--Help/prop_tgt/XXX_OUTPUT_DIRECTORY.txt10
-rw-r--r--Help/prop_tgt/XXX_OUTPUT_NAME.txt6
-rw-r--r--Help/release/3.0.0.rst473
-rw-r--r--Help/release/dev.txt16
-rw-r--r--Help/release/index.rst14
-rw-r--r--Help/variable/APPLE.rst6
-rw-r--r--Help/variable/BORLAND.rst6
-rw-r--r--Help/variable/BUILD_SHARED_LIBS.rst10
-rw-r--r--Help/variable/CMAKE_ABSOLUTE_DESTINATION_FILES.rst9
-rw-r--r--Help/variable/CMAKE_APPBUNDLE_PATH.rst5
-rw-r--r--Help/variable/CMAKE_AR.rst7
-rw-r--r--Help/variable/CMAKE_ARCHIVE_OUTPUT_DIRECTORY.rst8
-rw-r--r--Help/variable/CMAKE_ARGC.rst7
-rw-r--r--Help/variable/CMAKE_ARGV0.rst9
-rw-r--r--Help/variable/CMAKE_AUTOMOC.rst7
-rw-r--r--Help/variable/CMAKE_AUTOMOC_MOC_OPTIONS.rst7
-rw-r--r--Help/variable/CMAKE_AUTOMOC_RELAXED_MODE.rst13
-rw-r--r--Help/variable/CMAKE_AUTORCC.rst7
-rw-r--r--Help/variable/CMAKE_AUTORCC_OPTIONS.rst7
-rw-r--r--Help/variable/CMAKE_AUTOUIC.rst7
-rw-r--r--Help/variable/CMAKE_AUTOUIC_OPTIONS.rst7
-rw-r--r--Help/variable/CMAKE_BACKWARDS_COMPATIBILITY.rst4
-rw-r--r--Help/variable/CMAKE_BINARY_DIR.rst8
-rw-r--r--Help/variable/CMAKE_BUILD_TOOL.rst6
-rw-r--r--Help/variable/CMAKE_BUILD_TYPE.rst19
-rw-r--r--Help/variable/CMAKE_BUILD_WITH_INSTALL_RPATH.rst11
-rw-r--r--Help/variable/CMAKE_CACHEFILE_DIR.rst7
-rw-r--r--Help/variable/CMAKE_CACHE_MAJOR_VERSION.rst8
-rw-r--r--Help/variable/CMAKE_CACHE_MINOR_VERSION.rst8
-rw-r--r--Help/variable/CMAKE_CACHE_PATCH_VERSION.rst8
-rw-r--r--Help/variable/CMAKE_CFG_INTDIR.rst45
-rw-r--r--Help/variable/CMAKE_CL_64.rst6
-rw-r--r--Help/variable/CMAKE_COLOR_MAKEFILE.rst7
-rw-r--r--Help/variable/CMAKE_COMMAND.rst8
-rw-r--r--Help/variable/CMAKE_COMPILER_2005.rst6
-rw-r--r--Help/variable/CMAKE_COMPILER_IS_GNULANG.rst15
-rw-r--r--Help/variable/CMAKE_CONFIGURATION_TYPES.rst10
-rw-r--r--Help/variable/CMAKE_CONFIG_POSTFIX.rst7
-rw-r--r--Help/variable/CMAKE_CROSSCOMPILING.rst8
-rw-r--r--Help/variable/CMAKE_CTEST_COMMAND.rst8
-rw-r--r--Help/variable/CMAKE_CURRENT_BINARY_DIR.rst10
-rw-r--r--Help/variable/CMAKE_CURRENT_LIST_DIR.rst17
-rw-r--r--Help/variable/CMAKE_CURRENT_LIST_FILE.rst15
-rw-r--r--Help/variable/CMAKE_CURRENT_LIST_LINE.rst7
-rw-r--r--Help/variable/CMAKE_CURRENT_SOURCE_DIR.rst7
-rw-r--r--Help/variable/CMAKE_DEBUG_POSTFIX.rst7
-rw-r--r--Help/variable/CMAKE_DEBUG_TARGET_PROPERTIES.rst13
-rw-r--r--Help/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.rst15
-rw-r--r--Help/variable/CMAKE_DL_LIBS.rst7
-rw-r--r--Help/variable/CMAKE_EDIT_COMMAND.rst8
-rw-r--r--Help/variable/CMAKE_ERROR_DEPRECATED.rst8
-rw-r--r--Help/variable/CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION.rst9
-rw-r--r--Help/variable/CMAKE_EXECUTABLE_SUFFIX.rst9
-rw-r--r--Help/variable/CMAKE_EXE_LINKER_FLAGS.rst6
-rw-r--r--Help/variable/CMAKE_EXE_LINKER_FLAGS_CONFIG.rst7
-rw-r--r--Help/variable/CMAKE_EXTRA_GENERATOR.rst9
-rw-r--r--Help/variable/CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES.rst9
-rw-r--r--Help/variable/CMAKE_FIND_LIBRARY_PREFIXES.rst9
-rw-r--r--Help/variable/CMAKE_FIND_LIBRARY_SUFFIXES.rst9
-rw-r--r--Help/variable/CMAKE_FIND_NO_INSTALL_PREFIX.rst15
-rw-r--r--Help/variable/CMAKE_FIND_PACKAGE_WARN_NO_MODULE.rst19
-rw-r--r--Help/variable/CMAKE_FIND_ROOT_PATH.rst8
-rw-r--r--Help/variable/CMAKE_FIND_ROOT_PATH_MODE_INCLUDE.rst6
-rw-r--r--Help/variable/CMAKE_FIND_ROOT_PATH_MODE_LIBRARY.rst6
-rw-r--r--Help/variable/CMAKE_FIND_ROOT_PATH_MODE_PACKAGE.rst6
-rw-r--r--Help/variable/CMAKE_FIND_ROOT_PATH_MODE_PROGRAM.rst6
-rw-r--r--Help/variable/CMAKE_FIND_ROOT_PATH_MODE_XXX.txt8
-rw-r--r--Help/variable/CMAKE_FRAMEWORK_PATH.rst6
-rw-r--r--Help/variable/CMAKE_Fortran_FORMAT.rst7
-rw-r--r--Help/variable/CMAKE_Fortran_MODDIR_DEFAULT.rst8
-rw-r--r--Help/variable/CMAKE_Fortran_MODDIR_FLAG.rst7
-rw-r--r--Help/variable/CMAKE_Fortran_MODOUT_FLAG.rst7
-rw-r--r--Help/variable/CMAKE_Fortran_MODULE_DIRECTORY.rst8
-rw-r--r--Help/variable/CMAKE_GENERATOR.rst7
-rw-r--r--Help/variable/CMAKE_GENERATOR_TOOLSET.rst9
-rw-r--r--Help/variable/CMAKE_GNUtoMS.rst8
-rw-r--r--Help/variable/CMAKE_HOME_DIRECTORY.rst6
-rw-r--r--Help/variable/CMAKE_HOST_APPLE.rst6
-rw-r--r--Help/variable/CMAKE_HOST_SYSTEM.rst7
-rw-r--r--Help/variable/CMAKE_HOST_SYSTEM_NAME.rst7
-rw-r--r--Help/variable/CMAKE_HOST_SYSTEM_PROCESSOR.rst7
-rw-r--r--Help/variable/CMAKE_HOST_SYSTEM_VERSION.rst7
-rw-r--r--Help/variable/CMAKE_HOST_UNIX.rst7
-rw-r--r--Help/variable/CMAKE_HOST_WIN32.rst6
-rw-r--r--Help/variable/CMAKE_IGNORE_PATH.rst17
-rw-r--r--Help/variable/CMAKE_IMPORT_LIBRARY_PREFIX.rst9
-rw-r--r--Help/variable/CMAKE_IMPORT_LIBRARY_SUFFIX.rst9
-rw-r--r--Help/variable/CMAKE_INCLUDE_CURRENT_DIR.rst13
-rw-r--r--Help/variable/CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE.rst10
-rw-r--r--Help/variable/CMAKE_INCLUDE_DIRECTORIES_BEFORE.rst8
-rw-r--r--Help/variable/CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE.rst8
-rw-r--r--Help/variable/CMAKE_INCLUDE_PATH.rst10
-rw-r--r--Help/variable/CMAKE_INSTALL_DEFAULT_COMPONENT_NAME.rst9
-rw-r--r--Help/variable/CMAKE_INSTALL_NAME_DIR.rst8
-rw-r--r--Help/variable/CMAKE_INSTALL_PREFIX.rst29
-rw-r--r--Help/variable/CMAKE_INSTALL_RPATH.rst8
-rw-r--r--Help/variable/CMAKE_INSTALL_RPATH_USE_LINK_PATH.rst9
-rw-r--r--Help/variable/CMAKE_INTERNAL_PLATFORM_ABI.rst6
-rw-r--r--Help/variable/CMAKE_JOB_POOL_COMPILE.rst6
-rw-r--r--Help/variable/CMAKE_JOB_POOL_LINK.rst6
-rw-r--r--Help/variable/CMAKE_LANG_ARCHIVE_APPEND.rst9
-rw-r--r--Help/variable/CMAKE_LANG_ARCHIVE_CREATE.rst9
-rw-r--r--Help/variable/CMAKE_LANG_ARCHIVE_FINISH.rst9
-rw-r--r--Help/variable/CMAKE_LANG_COMPILER.rst7
-rw-r--r--Help/variable/CMAKE_LANG_COMPILER_ABI.rst6
-rw-r--r--Help/variable/CMAKE_LANG_COMPILER_EXTERNAL_TOOLCHAIN.rst13
-rw-r--r--Help/variable/CMAKE_LANG_COMPILER_ID.rst33
-rw-r--r--Help/variable/CMAKE_LANG_COMPILER_LOADED.rst7
-rw-r--r--Help/variable/CMAKE_LANG_COMPILER_TARGET.rst11
-rw-r--r--Help/variable/CMAKE_LANG_COMPILER_VERSION.rst8
-rw-r--r--Help/variable/CMAKE_LANG_COMPILE_OBJECT.rst7
-rw-r--r--Help/variable/CMAKE_LANG_CREATE_SHARED_LIBRARY.rst7
-rw-r--r--Help/variable/CMAKE_LANG_CREATE_SHARED_MODULE.rst7
-rw-r--r--Help/variable/CMAKE_LANG_CREATE_STATIC_LIBRARY.rst7
-rw-r--r--Help/variable/CMAKE_LANG_FLAGS.rst6
-rw-r--r--Help/variable/CMAKE_LANG_FLAGS_DEBUG.rst6
-rw-r--r--Help/variable/CMAKE_LANG_FLAGS_MINSIZEREL.rst7
-rw-r--r--Help/variable/CMAKE_LANG_FLAGS_RELEASE.rst6
-rw-r--r--Help/variable/CMAKE_LANG_FLAGS_RELWITHDEBINFO.rst7
-rw-r--r--Help/variable/CMAKE_LANG_IGNORE_EXTENSIONS.rst7
-rw-r--r--Help/variable/CMAKE_LANG_IMPLICIT_INCLUDE_DIRECTORIES.rst9
-rw-r--r--Help/variable/CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES.rst17
-rw-r--r--Help/variable/CMAKE_LANG_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES.rst8
-rw-r--r--Help/variable/CMAKE_LANG_IMPLICIT_LINK_LIBRARIES.rst10
-rw-r--r--Help/variable/CMAKE_LANG_LIBRARY_ARCHITECTURE.rst8
-rw-r--r--Help/variable/CMAKE_LANG_LINKER_PREFERENCE.rst11
-rw-r--r--Help/variable/CMAKE_LANG_LINKER_PREFERENCE_PROPAGATES.rst9
-rw-r--r--Help/variable/CMAKE_LANG_LINK_EXECUTABLE.rst6
-rw-r--r--Help/variable/CMAKE_LANG_OUTPUT_EXTENSION.rst7
-rw-r--r--Help/variable/CMAKE_LANG_PLATFORM_ID.rst6
-rw-r--r--Help/variable/CMAKE_LANG_SIMULATE_ID.rst9
-rw-r--r--Help/variable/CMAKE_LANG_SIMULATE_VERSION.rst9
-rw-r--r--Help/variable/CMAKE_LANG_SIZEOF_DATA_PTR.rst7
-rw-r--r--Help/variable/CMAKE_LANG_SOURCE_FILE_EXTENSIONS.rst6
-rw-r--r--Help/variable/CMAKE_LANG_VISIBILITY_PRESET.rst8
-rw-r--r--Help/variable/CMAKE_LIBRARY_ARCHITECTURE.rst7
-rw-r--r--Help/variable/CMAKE_LIBRARY_ARCHITECTURE_REGEX.rst7
-rw-r--r--Help/variable/CMAKE_LIBRARY_OUTPUT_DIRECTORY.rst8
-rw-r--r--Help/variable/CMAKE_LIBRARY_PATH.rst10
-rw-r--r--Help/variable/CMAKE_LIBRARY_PATH_FLAG.rst7
-rw-r--r--Help/variable/CMAKE_LINK_DEF_FILE_FLAG.rst7
-rw-r--r--Help/variable/CMAKE_LINK_DEPENDS_NO_SHARED.rst8
-rw-r--r--Help/variable/CMAKE_LINK_INTERFACE_LIBRARIES.rst8
-rw-r--r--Help/variable/CMAKE_LINK_LIBRARY_FILE_FLAG.rst7
-rw-r--r--Help/variable/CMAKE_LINK_LIBRARY_FLAG.rst7
-rw-r--r--Help/variable/CMAKE_LINK_LIBRARY_SUFFIX.rst6
-rw-r--r--Help/variable/CMAKE_MACOSX_BUNDLE.rst7
-rw-r--r--Help/variable/CMAKE_MACOSX_RPATH.rst7
-rw-r--r--Help/variable/CMAKE_MAJOR_VERSION.rst5
-rw-r--r--Help/variable/CMAKE_MAKE_PROGRAM.rst55
-rw-r--r--Help/variable/CMAKE_MAP_IMPORTED_CONFIG_CONFIG.rst8
-rw-r--r--Help/variable/CMAKE_MFC_FLAG.rst16
-rw-r--r--Help/variable/CMAKE_MINIMUM_REQUIRED_VERSION.rst7
-rw-r--r--Help/variable/CMAKE_MINOR_VERSION.rst5
-rw-r--r--Help/variable/CMAKE_MODULE_LINKER_FLAGS.rst6
-rw-r--r--Help/variable/CMAKE_MODULE_LINKER_FLAGS_CONFIG.rst6
-rw-r--r--Help/variable/CMAKE_MODULE_PATH.rst8
-rw-r--r--Help/variable/CMAKE_NOT_USING_CONFIG_FLAGS.rst7
-rw-r--r--Help/variable/CMAKE_NO_BUILTIN_CHRPATH.rst10
-rw-r--r--Help/variable/CMAKE_NO_SYSTEM_FROM_IMPORTED.rst8
-rw-r--r--Help/variable/CMAKE_OBJECT_PATH_MAX.rst16
-rw-r--r--Help/variable/CMAKE_OSX_ARCHITECTURES.rst10
-rw-r--r--Help/variable/CMAKE_OSX_DEPLOYMENT_TARGET.rst13
-rw-r--r--Help/variable/CMAKE_OSX_SYSROOT.rst13
-rw-r--r--Help/variable/CMAKE_OSX_VARIABLE.txt6
-rw-r--r--Help/variable/CMAKE_PARENT_LIST_FILE.rst9
-rw-r--r--Help/variable/CMAKE_PATCH_VERSION.rst5
-rw-r--r--Help/variable/CMAKE_PDB_OUTPUT_DIRECTORY.rst9
-rw-r--r--Help/variable/CMAKE_PDB_OUTPUT_DIRECTORY_CONFIG.rst11
-rw-r--r--Help/variable/CMAKE_POLICY_DEFAULT_CMPNNNN.rst16
-rw-r--r--Help/variable/CMAKE_POLICY_WARNING_CMPNNNN.rst17
-rw-r--r--Help/variable/CMAKE_POSITION_INDEPENDENT_CODE.rst8
-rw-r--r--Help/variable/CMAKE_PREFIX_PATH.rst13
-rw-r--r--Help/variable/CMAKE_PROGRAM_PATH.rst10
-rw-r--r--Help/variable/CMAKE_PROJECT_NAME.rst7
-rw-r--r--Help/variable/CMAKE_PROJECT_PROJECT-NAME_INCLUDE.rst6
-rw-r--r--Help/variable/CMAKE_RANLIB.rst7
-rw-r--r--Help/variable/CMAKE_ROOT.rst8
-rw-r--r--Help/variable/CMAKE_RUNTIME_OUTPUT_DIRECTORY.rst8
-rw-r--r--Help/variable/CMAKE_SCRIPT_MODE_FILE.rst8
-rw-r--r--Help/variable/CMAKE_SHARED_LIBRARY_PREFIX.rst8
-rw-r--r--Help/variable/CMAKE_SHARED_LIBRARY_SUFFIX.rst9
-rw-r--r--Help/variable/CMAKE_SHARED_LINKER_FLAGS.rst6
-rw-r--r--Help/variable/CMAKE_SHARED_LINKER_FLAGS_CONFIG.rst7
-rw-r--r--Help/variable/CMAKE_SHARED_MODULE_PREFIX.rst8
-rw-r--r--Help/variable/CMAKE_SHARED_MODULE_SUFFIX.rst9
-rw-r--r--Help/variable/CMAKE_SIZEOF_VOID_P.rst8
-rw-r--r--Help/variable/CMAKE_SKIP_BUILD_RPATH.rst10
-rw-r--r--Help/variable/CMAKE_SKIP_INSTALL_ALL_DEPENDENCY.rst11
-rw-r--r--Help/variable/CMAKE_SKIP_INSTALL_RPATH.rst14
-rw-r--r--Help/variable/CMAKE_SKIP_INSTALL_RULES.rst7
-rw-r--r--Help/variable/CMAKE_SKIP_RPATH.rst10
-rw-r--r--Help/variable/CMAKE_SOURCE_DIR.rst8
-rw-r--r--Help/variable/CMAKE_STAGING_PREFIX.rst13
-rw-r--r--Help/variable/CMAKE_STANDARD_LIBRARIES.rst7
-rw-r--r--Help/variable/CMAKE_STATIC_LIBRARY_PREFIX.rst8
-rw-r--r--Help/variable/CMAKE_STATIC_LIBRARY_SUFFIX.rst9
-rw-r--r--Help/variable/CMAKE_STATIC_LINKER_FLAGS.rst6
-rw-r--r--Help/variable/CMAKE_STATIC_LINKER_FLAGS_CONFIG.rst7
-rw-r--r--Help/variable/CMAKE_SYSROOT.rst12
-rw-r--r--Help/variable/CMAKE_SYSTEM.rst9
-rw-r--r--Help/variable/CMAKE_SYSTEM_IGNORE_PATH.rst15
-rw-r--r--Help/variable/CMAKE_SYSTEM_INCLUDE_PATH.rst11
-rw-r--r--Help/variable/CMAKE_SYSTEM_LIBRARY_PATH.rst11
-rw-r--r--Help/variable/CMAKE_SYSTEM_NAME.rst9
-rw-r--r--Help/variable/CMAKE_SYSTEM_PREFIX_PATH.rst16
-rw-r--r--Help/variable/CMAKE_SYSTEM_PROCESSOR.rst8
-rw-r--r--Help/variable/CMAKE_SYSTEM_PROGRAM_PATH.rst11
-rw-r--r--Help/variable/CMAKE_SYSTEM_VERSION.rst8
-rw-r--r--Help/variable/CMAKE_TOOLCHAIN_FILE.rst9
-rw-r--r--Help/variable/CMAKE_TRY_COMPILE_CONFIGURATION.rst9
-rw-r--r--Help/variable/CMAKE_TWEAK_VERSION.rst11
-rw-r--r--Help/variable/CMAKE_USER_MAKE_RULES_OVERRIDE.rst23
-rw-r--r--Help/variable/CMAKE_USER_MAKE_RULES_OVERRIDE_LANG.rst7
-rw-r--r--Help/variable/CMAKE_USE_RELATIVE_PATHS.rst10
-rw-r--r--Help/variable/CMAKE_VERBOSE_MAKEFILE.rst9
-rw-r--r--Help/variable/CMAKE_VERSION.rst51
-rw-r--r--Help/variable/CMAKE_VISIBILITY_INLINES_HIDDEN.rst8
-rw-r--r--Help/variable/CMAKE_VS_DEVENV_COMMAND.rst14
-rw-r--r--Help/variable/CMAKE_VS_INTEL_Fortran_PROJECT_VERSION.rst7
-rw-r--r--Help/variable/CMAKE_VS_MSBUILD_COMMAND.rst13
-rw-r--r--Help/variable/CMAKE_VS_MSDEV_COMMAND.rst10
-rw-r--r--Help/variable/CMAKE_VS_PLATFORM_TOOLSET.rst10
-rw-r--r--Help/variable/CMAKE_WARN_DEPRECATED.rst7
-rw-r--r--Help/variable/CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION.rst8
-rw-r--r--Help/variable/CMAKE_WIN32_EXECUTABLE.rst7
-rw-r--r--Help/variable/CMAKE_XCODE_PLATFORM_TOOLSET.rst9
-rw-r--r--Help/variable/CPACK_ABSOLUTE_DESTINATION_FILES.rst10
-rw-r--r--Help/variable/CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY.rst8
-rw-r--r--Help/variable/CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION.rst10
-rw-r--r--Help/variable/CPACK_INCLUDE_TOPLEVEL_DIRECTORY.rst19
-rw-r--r--Help/variable/CPACK_INSTALL_SCRIPT.rst8
-rw-r--r--Help/variable/CPACK_PACKAGING_INSTALL_PREFIX.rst13
-rw-r--r--Help/variable/CPACK_SET_DESTDIR.rst30
-rw-r--r--Help/variable/CPACK_WARN_ON_ABSOLUTE_INSTALL_DESTINATION.rst8
-rw-r--r--Help/variable/CYGWIN.rst6
-rw-r--r--Help/variable/ENV.rst7
-rw-r--r--Help/variable/EXECUTABLE_OUTPUT_PATH.rst8
-rw-r--r--Help/variable/LIBRARY_OUTPUT_PATH.rst9
-rw-r--r--Help/variable/MSVC.rst6
-rw-r--r--Help/variable/MSVC10.rst6
-rw-r--r--Help/variable/MSVC11.rst6
-rw-r--r--Help/variable/MSVC12.rst6
-rw-r--r--Help/variable/MSVC60.rst6
-rw-r--r--Help/variable/MSVC70.rst6
-rw-r--r--Help/variable/MSVC71.rst6
-rw-r--r--Help/variable/MSVC80.rst6
-rw-r--r--Help/variable/MSVC90.rst6
-rw-r--r--Help/variable/MSVC_IDE.rst7
-rw-r--r--Help/variable/MSVC_VERSION.rst17
-rw-r--r--Help/variable/PROJECT-NAME_BINARY_DIR.rst8
-rw-r--r--Help/variable/PROJECT-NAME_SOURCE_DIR.rst8
-rw-r--r--Help/variable/PROJECT-NAME_VERSION.rst11
-rw-r--r--Help/variable/PROJECT-NAME_VERSION_MAJOR.rst5
-rw-r--r--Help/variable/PROJECT-NAME_VERSION_MINOR.rst5
-rw-r--r--Help/variable/PROJECT-NAME_VERSION_PATCH.rst5
-rw-r--r--Help/variable/PROJECT-NAME_VERSION_TWEAK.rst5
-rw-r--r--Help/variable/PROJECT_BINARY_DIR.rst6
-rw-r--r--Help/variable/PROJECT_NAME.rst6
-rw-r--r--Help/variable/PROJECT_SOURCE_DIR.rst6
-rw-r--r--Help/variable/PROJECT_VERSION.rst11
-rw-r--r--Help/variable/PROJECT_VERSION_MAJOR.rst5
-rw-r--r--Help/variable/PROJECT_VERSION_MINOR.rst5
-rw-r--r--Help/variable/PROJECT_VERSION_PATCH.rst5
-rw-r--r--Help/variable/PROJECT_VERSION_TWEAK.rst5
-rw-r--r--Help/variable/UNIX.rst7
-rw-r--r--Help/variable/WIN32.rst6
-rw-r--r--Help/variable/XCODE_VERSION.rst7
-rw-r--r--Licenses/LGPLv2.1.txt502
-rw-r--r--Licenses/README.rst7
-rw-r--r--Modules/AddFileDependencies.cmake8
-rw-r--r--Modules/AutogenInfo.cmake.in24
-rw-r--r--Modules/AutomocInfo.cmake.in14
-rw-r--r--Modules/BundleUtilities.cmake275
-rw-r--r--Modules/CMakeAddFortranSubdirectory.cmake60
-rw-r--r--Modules/CMakeBackwardCompatibilityCXX.cmake21
-rw-r--r--Modules/CMakeCCompiler.cmake.in4
-rw-r--r--Modules/CMakeCCompilerId.c.in39
-rw-r--r--Modules/CMakeCInformation.cmake10
-rw-r--r--Modules/CMakeCXXCompiler.cmake.in4
-rw-r--r--Modules/CMakeCXXCompilerId.cpp.in39
-rw-r--r--Modules/CMakeCXXInformation.cmake11
-rw-r--r--Modules/CMakeCheckCompilerFlagCommonPatterns.cmake41
-rw-r--r--Modules/CMakeClDeps.cmake4
-rw-r--r--Modules/CMakeCommonLanguageInclude.cmake6
-rw-r--r--Modules/CMakeDependentOption.cmake30
-rw-r--r--Modules/CMakeDetermineASMCompiler.cmake21
-rw-r--r--Modules/CMakeDetermineCCompiler.cmake44
-rw-r--r--Modules/CMakeDetermineCXXCompiler.cmake45
-rw-r--r--Modules/CMakeDetermineCompiler.cmake30
-rw-r--r--Modules/CMakeDetermineCompilerId.cmake126
-rw-r--r--Modules/CMakeDetermineFortranCompiler.cmake35
-rw-r--r--Modules/CMakeDetermineJavaCompiler.cmake2
-rw-r--r--Modules/CMakeDetermineRCCompiler.cmake2
-rw-r--r--Modules/CMakeDetermineSystem.cmake9
-rw-r--r--Modules/CMakeDetermineVSServicePack.cmake84
-rw-r--r--Modules/CMakeExpandImportedTargets.cmake36
-rw-r--r--Modules/CMakeExportBuildSettings.cmake2
-rw-r--r--Modules/CMakeFindBinUtils.cmake14
-rw-r--r--Modules/CMakeFindDependencyMacro.cmake85
-rw-r--r--Modules/CMakeFindEclipseCDT4.cmake48
-rw-r--r--Modules/CMakeFindFrameworks.cmake6
-rw-r--r--Modules/CMakeFindJavaCommon.cmake41
-rw-r--r--Modules/CMakeFindKate.cmake31
-rw-r--r--Modules/CMakeFindPackageMode.cmake27
-rw-r--r--Modules/CMakeForceCompiler.cmake47
-rw-r--r--Modules/CMakeFortranCompiler.cmake.in2
-rw-r--r--Modules/CMakeFortranCompilerABI.F8
-rw-r--r--Modules/CMakeFortranCompilerId.F.in18
-rw-r--r--Modules/CMakeFortranInformation.cmake10
-rw-r--r--Modules/CMakeGraphVizOptions.cmake178
-rw-r--r--Modules/CMakePackageConfigHelpers.cmake282
-rw-r--r--Modules/CMakeParseArguments.cmake100
-rw-r--r--Modules/CMakePlatformId.h.in18
-rw-r--r--Modules/CMakePrintHelpers.cmake48
-rw-r--r--Modules/CMakePrintSystemInformation.cmake12
-rw-r--r--Modules/CMakePushCheckState.cmake55
-rw-r--r--Modules/CMakeRCInformation.cmake11
-rw-r--r--Modules/CMakeTestCCompiler.cmake2
-rw-r--r--Modules/CMakeTestCXXCompiler.cmake2
-rw-r--r--Modules/CMakeTestFortranCompiler.cmake2
-rw-r--r--Modules/CMakeVS10FindMake.cmake54
-rw-r--r--Modules/CMakeVS11FindMake.cmake53
-rw-r--r--Modules/CMakeVS12FindMake.cmake27
-rw-r--r--Modules/CMakeVS6FindMake.cmake25
-rw-r--r--Modules/CMakeVS71FindMake.cmake26
-rw-r--r--Modules/CMakeVS7FindMake.cmake25
-rw-r--r--Modules/CMakeVS8FindMake.cmake34
-rw-r--r--Modules/CMakeVS9FindMake.cmake39
-rw-r--r--Modules/CMakeVerifyManifest.cmake23
-rw-r--r--Modules/CPack.cmake519
-rw-r--r--Modules/CPackBundle.cmake64
-rw-r--r--Modules/CPackComponent.cmake599
-rw-r--r--Modules/CPackCygwin.cmake44
-rw-r--r--Modules/CPackDMG.cmake109
-rw-r--r--Modules/CPackDeb.cmake349
-rw-r--r--Modules/CPackNSIS.cmake244
-rw-r--r--Modules/CPackPackageMaker.cmake44
-rw-r--r--Modules/CPackRPM.cmake569
-rw-r--r--Modules/CPackWIX.cmake268
-rw-r--r--Modules/CTest.cmake96
-rw-r--r--Modules/CTestScriptMode.cmake6
-rw-r--r--Modules/CTestUseLaunchers.cmake60
-rw-r--r--Modules/CheckCCompilerFlag.cmake44
-rw-r--r--Modules/CheckCSourceCompiles.cmake31
-rw-r--r--Modules/CheckCSourceRuns.cmake31
-rw-r--r--Modules/CheckCXXCompilerFlag.cmake47
-rw-r--r--Modules/CheckCXXSourceCompiles.cmake31
-rw-r--r--Modules/CheckCXXSourceRuns.cmake31
-rw-r--r--Modules/CheckCXXSymbolExists.cmake42
-rw-r--r--Modules/CheckFortranFunctionExists.cmake25
-rw-r--r--Modules/CheckFunctionExists.cmake25
-rw-r--r--Modules/CheckIncludeFile.cmake34
-rw-r--r--Modules/CheckIncludeFileCXX.cmake38
-rw-r--r--Modules/CheckIncludeFiles.cmake30
-rw-r--r--Modules/CheckLanguage.cmake31
-rw-r--r--Modules/CheckLibraryExists.cmake31
-rw-r--r--Modules/CheckPrototypeDefinition.cmake49
-rw-r--r--Modules/CheckStructHasMember.cmake63
-rw-r--r--Modules/CheckSymbolExists.cmake41
-rw-r--r--Modules/CheckTypeSize.cmake132
-rw-r--r--Modules/CheckVariableExists.cmake33
-rw-r--r--Modules/Compiler/AppleClang-ASM.cmake1
-rw-r--r--Modules/Compiler/AppleClang-C.cmake1
-rw-r--r--Modules/Compiler/AppleClang-CXX.cmake1
-rw-r--r--Modules/Compiler/Clang-CXX.cmake4
-rw-r--r--Modules/Compiler/Clang.cmake27
-rw-r--r--Modules/Compiler/GNU.cmake1
-rw-r--r--Modules/Compiler/Intel-C.cmake4
-rw-r--r--Modules/Compiler/Intel-CXX.cmake4
-rw-r--r--Modules/CompilerId/VS-Intel.vfproj.in42
-rw-r--r--Modules/Dart.cmake24
-rw-r--r--Modules/DartConfiguration.tcl.in7
-rw-r--r--Modules/DeployQt4.cmake111
-rw-r--r--Modules/Documentation.cmake11
-rw-r--r--Modules/ExternalData.cmake285
-rw-r--r--Modules/ExternalProject.cmake217
-rw-r--r--Modules/FeatureSummary.cmake369
-rw-r--r--Modules/FindALSA.cmake26
-rw-r--r--Modules/FindASPELL.cmake19
-rw-r--r--Modules/FindAVIFile.cmake25
-rw-r--r--Modules/FindArmadillo.cmake38
-rw-r--r--Modules/FindBISON.cmake80
-rw-r--r--Modules/FindBLAS.cmake158
-rw-r--r--Modules/FindBZip2.cmake19
-rw-r--r--Modules/FindBacktrace.cmake94
-rw-r--r--Modules/FindBoost.cmake370
-rw-r--r--Modules/FindBullet.cmake37
-rw-r--r--Modules/FindCABLE.cmake24
-rw-r--r--Modules/FindCUDA.cmake539
-rw-r--r--Modules/FindCURL.cmake17
-rw-r--r--Modules/FindCVS.cmake25
-rw-r--r--Modules/FindCoin3D.cmake19
-rw-r--r--Modules/FindCups.cmake21
-rw-r--r--Modules/FindCurses.cmake32
-rw-r--r--Modules/FindCxxTest.cmake196
-rw-r--r--Modules/FindCygwin.cmake5
-rw-r--r--Modules/FindDCMTK.cmake5
-rw-r--r--Modules/FindDart.cmake10
-rw-r--r--Modules/FindDevIL.cmake43
-rw-r--r--Modules/FindDoxygen.cmake31
-rw-r--r--Modules/FindEXPAT.cmake15
-rw-r--r--Modules/FindFLEX.cmake109
-rw-r--r--Modules/FindFLTK.cmake65
-rw-r--r--Modules/FindFLTK2.cmake30
-rw-r--r--Modules/FindFreetype.cmake47
-rw-r--r--Modules/FindGCCXML.cmake13
-rw-r--r--Modules/FindGDAL.cmake20
-rw-r--r--Modules/FindGIF.cmake21
-rw-r--r--Modules/FindGLEW.cmake16
-rw-r--r--Modules/FindGLUT.cmake25
-rw-r--r--Modules/FindGTK.cmake17
-rw-r--r--Modules/FindGTK2.cmake497
-rw-r--r--Modules/FindGTest.cmake108
-rw-r--r--Modules/FindGettext.cmake69
-rw-r--r--Modules/FindGit.cmake27
-rw-r--r--Modules/FindGnuTLS.cmake18
-rw-r--r--Modules/FindGnuplot.cmake18
-rw-r--r--Modules/FindHDF5.cmake89
-rw-r--r--Modules/FindHSPELL.cmake27
-rw-r--r--Modules/FindHTMLHelp.cmake15
-rw-r--r--Modules/FindHg.cmake27
-rw-r--r--Modules/FindITK.cmake6
-rw-r--r--Modules/FindIcotool.cmake19
-rw-r--r--Modules/FindImageMagick.cmake104
-rw-r--r--Modules/FindJNI.cmake165
-rw-r--r--Modules/FindJPEG.cmake25
-rw-r--r--Modules/FindJasper.cmake17
-rw-r--r--Modules/FindJava.cmake88
-rw-r--r--Modules/FindKDE3.cmake152
-rw-r--r--Modules/FindKDE4.cmake27
-rw-r--r--Modules/FindLAPACK.cmake146
-rw-r--r--Modules/FindLATEX.cmake27
-rw-r--r--Modules/FindLibArchive.cmake17
-rw-r--r--Modules/FindLibLZMA.cmake29
-rw-r--r--Modules/FindLibXml2.cmake21
-rw-r--r--Modules/FindLibXslt.cmake30
-rw-r--r--Modules/FindLua.cmake171
-rw-r--r--Modules/FindLua50.cmake36
-rw-r--r--Modules/FindLua51.cmake40
-rw-r--r--Modules/FindMFC.cmake17
-rw-r--r--Modules/FindMPEG.cmake24
-rw-r--r--Modules/FindMPEG2.cmake24
-rw-r--r--Modules/FindMPI.cmake118
-rw-r--r--Modules/FindMatlab.cmake20
-rw-r--r--Modules/FindMotif.cmake16
-rw-r--r--Modules/FindOpenAL.cmake22
-rw-r--r--Modules/FindOpenGL.cmake36
-rw-r--r--Modules/FindOpenMP.cmake25
-rw-r--r--Modules/FindOpenSSL.cmake45
-rw-r--r--Modules/FindOpenSceneGraph.cmake109
-rw-r--r--Modules/FindOpenThreads.cmake30
-rw-r--r--Modules/FindPHP4.cmake20
-rw-r--r--Modules/FindPNG.cmake35
-rw-r--r--Modules/FindPackageHandleStandardArgs.cmake160
-rw-r--r--Modules/FindPackageMessage.cmake36
-rw-r--r--Modules/FindPerl.cmake15
-rw-r--r--Modules/FindPerlLibs.cmake50
-rw-r--r--Modules/FindPhysFS.cmake19
-rw-r--r--Modules/FindPike.cmake18
-rw-r--r--Modules/FindPkgConfig.cmake158
-rw-r--r--Modules/FindPostgreSQL.cmake20
-rw-r--r--Modules/FindProducer.cmake41
-rw-r--r--Modules/FindProtobuf.cmake139
-rw-r--r--Modules/FindPythonInterp.cmake56
-rw-r--r--Modules/FindPythonLibs.cmake57
-rw-r--r--Modules/FindQt.cmake40
-rw-r--r--Modules/FindQt3.cmake40
-rw-r--r--Modules/FindQt4.cmake766
-rw-r--r--Modules/FindQuickTime.cmake14
-rw-r--r--Modules/FindRTI.cmake37
-rw-r--r--Modules/FindRuby.cmake57
-rw-r--r--Modules/FindSDL.cmake107
-rw-r--r--Modules/FindSDL_image.cmake46
-rw-r--r--Modules/FindSDL_mixer.cmake46
-rw-r--r--Modules/FindSDL_net.cmake46
-rw-r--r--Modules/FindSDL_sound.cmake113
-rw-r--r--Modules/FindSDL_ttf.cmake46
-rw-r--r--Modules/FindSWIG.cmake37
-rw-r--r--Modules/FindSelfPackers.cmake17
-rw-r--r--Modules/FindSquish.cmake135
-rw-r--r--Modules/FindSubversion.cmake79
-rw-r--r--Modules/FindTCL.cmake72
-rw-r--r--Modules/FindTIFF.cmake25
-rw-r--r--Modules/FindTclStub.cmake60
-rw-r--r--Modules/FindTclsh.cmake25
-rw-r--r--Modules/FindThreads.cmake26
-rw-r--r--Modules/FindUnixCommands.cmake8
-rw-r--r--Modules/FindVTK.cmake67
-rw-r--r--Modules/FindWget.cmake17
-rw-r--r--Modules/FindWish.cmake19
-rw-r--r--Modules/FindX11.cmake93
-rw-r--r--Modules/FindXMLRPC.cmake34
-rw-r--r--Modules/FindZLIB.cmake48
-rw-r--r--Modules/Findosg.cmake60
-rw-r--r--Modules/FindosgAnimation.cmake52
-rw-r--r--Modules/FindosgDB.cmake52
-rw-r--r--Modules/FindosgFX.cmake52
-rw-r--r--Modules/FindosgGA.cmake52
-rw-r--r--Modules/FindosgIntrospection.cmake39
-rw-r--r--Modules/FindosgManipulator.cmake39
-rw-r--r--Modules/FindosgParticle.cmake44
-rw-r--r--Modules/FindosgPresentation.cmake43
-rw-r--r--Modules/FindosgProducer.cmake44
-rw-r--r--Modules/FindosgQt.cmake57
-rw-r--r--Modules/FindosgShadow.cmake52
-rw-r--r--Modules/FindosgSim.cmake52
-rw-r--r--Modules/FindosgTerrain.cmake52
-rw-r--r--Modules/FindosgText.cmake52
-rw-r--r--Modules/FindosgUtil.cmake52
-rw-r--r--Modules/FindosgViewer.cmake52
-rw-r--r--Modules/FindosgVolume.cmake52
-rw-r--r--Modules/FindosgWidget.cmake57
-rw-r--r--Modules/Findosg_functions.cmake8
-rw-r--r--Modules/FindwxWidgets.cmake151
-rw-r--r--Modules/FindwxWindows.cmake104
-rw-r--r--Modules/FortranCInterface.cmake162
-rw-r--r--Modules/FortranCInterface/Detect.cmake2
-rw-r--r--Modules/GNUInstallDirs.cmake135
-rw-r--r--Modules/GenerateExportHeader.cmake258
-rw-r--r--Modules/GetPrerequisites.cmake211
-rw-r--r--Modules/InstallRequiredSystemLibraries.cmake49
-rw-r--r--Modules/MacroAddFileDependencies.cmake18
-rw-r--r--Modules/Platform/Darwin-AppleClang-C.cmake1
-rw-r--r--Modules/Platform/Darwin-AppleClang-CXX.cmake1
-rw-r--r--Modules/Platform/Darwin-Intel-C.cmake2
-rw-r--r--Modules/Platform/Darwin-Intel-CXX.cmake2
-rw-r--r--Modules/Platform/Darwin-Intel-Fortran.cmake3
-rw-r--r--Modules/Platform/Darwin-Intel.cmake29
-rw-r--r--Modules/Platform/Darwin-icc.cmake131
-rw-r--r--Modules/Platform/Darwin-icpc.cmake3
-rw-r--r--Modules/Platform/Darwin.cmake14
-rw-r--r--Modules/Platform/Haiku.cmake127
-rw-r--r--Modules/Platform/Linux-Intel-C.cmake1
-rw-r--r--Modules/Platform/Linux-Intel-CXX.cmake1
-rw-r--r--Modules/Platform/Linux-Intel-Fortran.cmake4
-rw-r--r--Modules/Platform/Linux-Intel.cmake4
-rw-r--r--Modules/Platform/MirBSD.cmake1
-rw-r--r--Modules/Platform/QNX-QCC-C.cmake4
-rw-r--r--Modules/Platform/QNX-QCC-CXX.cmake4
-rw-r--r--Modules/Platform/QNX.cmake34
-rw-r--r--Modules/Platform/UnixPaths.cmake17
-rw-r--r--Modules/Platform/Windows-Clang-C.cmake2
-rw-r--r--Modules/Platform/Windows-Clang-CXX.cmake2
-rw-r--r--Modules/Platform/Windows-Clang.cmake32
-rw-r--r--Modules/Platform/Windows-Intel-CXX.cmake1
-rw-r--r--Modules/Platform/Windows-Intel.cmake93
-rw-r--r--Modules/Platform/Windows-MSVC.cmake23
-rw-r--r--Modules/Platform/WindowsPaths.cmake29
-rw-r--r--Modules/ProcessorCount.cmake63
-rw-r--r--Modules/Qt4ConfigDependentSettings.cmake6
-rw-r--r--Modules/Qt4Macros.cmake56
-rw-r--r--Modules/SelectLibraryConfigurations.cmake36
-rw-r--r--Modules/SquishTestScript.cmake19
-rw-r--r--Modules/TestBigEndian.cmake15
-rw-r--r--Modules/TestCXXAcceptsFlag.cmake20
-rw-r--r--Modules/TestForANSIForScope.cmake14
-rw-r--r--Modules/TestForANSIStreamHeaders.cmake14
-rw-r--r--Modules/TestForSSTREAM.cmake11
-rw-r--r--Modules/TestForSTDNamespace.cmake11
-rw-r--r--Modules/UseEcos.cmake35
-rw-r--r--Modules/UseJava.cmake425
-rw-r--r--Modules/UseJavaClassFilelist.cmake12
-rw-r--r--Modules/UseJavaSymlinks.cmake8
-rw-r--r--Modules/UsePkgConfig.cmake18
-rw-r--r--Modules/UseQt4.cmake23
-rw-r--r--Modules/UseSWIG.cmake112
-rw-r--r--Modules/Use_wxWindows.cmake35
-rw-r--r--Modules/UsewxWidgets.cmake39
-rw-r--r--Modules/WIX.template.in2
-rw-r--r--Modules/WriteBasicConfigVersionFile.cmake18
-rw-r--r--Modules/exportheader.cmake.in10
-rw-r--r--Modules/readme.txt174
-rw-r--r--README.rst83
-rw-r--r--Readme.txt53
-rw-r--r--Source/CMakeInstallDestinations.cmake38
-rw-r--r--Source/CMakeLists.txt93
-rw-r--r--Source/CMakeSourceDir.txt.in1
-rwxr-xr-xSource/CMakeVersion.bash2
-rw-r--r--Source/CMakeVersion.cmake9
-rw-r--r--Source/CMakeVersionCompute.cmake20
-rw-r--r--Source/CPack/OSXScriptLauncher.cxx4
-rw-r--r--Source/CPack/WiX/cmCPackWIXGenerator.cxx968
-rw-r--r--Source/CPack/WiX/cmCPackWIXGenerator.h106
-rw-r--r--Source/CPack/WiX/cmWIXPatchParser.cxx145
-rw-r--r--Source/CPack/WiX/cmWIXPatchParser.h75
-rw-r--r--Source/CPack/WiX/cmWIXRichTextFormatWriter.cxx119
-rw-r--r--Source/CPack/WiX/cmWIXRichTextFormatWriter.h10
-rw-r--r--Source/CPack/WiX/cmWIXSourceWriter.cxx88
-rw-r--r--Source/CPack/WiX/cmWIXSourceWriter.h15
-rw-r--r--Source/CPack/cmCPackDebGenerator.cxx4
-rw-r--r--Source/CPack/cmCPackDocumentMacros.cxx16
-rw-r--r--Source/CPack/cmCPackDocumentMacros.h21
-rw-r--r--Source/CPack/cmCPackDocumentVariables.cxx122
-rw-r--r--Source/CPack/cmCPackDocumentVariables.h21
-rw-r--r--Source/CPack/cmCPackDragNDropGenerator.cxx10
-rw-r--r--Source/CPack/cmCPackGenerator.cxx78
-rw-r--r--Source/CPack/cmCPackGenerator.h16
-rw-r--r--Source/CPack/cmCPackPackageMakerGenerator.cxx5
-rw-r--r--Source/CPack/cmCPackSTGZGenerator.cxx5
-rw-r--r--Source/CPack/cpack.cxx167
-rw-r--r--Source/CTest/cmCTestBuildAndTestHandler.cxx34
-rw-r--r--Source/CTest/cmCTestBuildCommand.cxx9
-rw-r--r--Source/CTest/cmCTestBuildCommand.h26
-rw-r--r--Source/CTest/cmCTestBuildHandler.cxx11
-rw-r--r--Source/CTest/cmCTestBuildHandler.h4
-rw-r--r--Source/CTest/cmCTestCVS.cxx3
-rw-r--r--Source/CTest/cmCTestConfigureCommand.cxx2
-rw-r--r--Source/CTest/cmCTestConfigureCommand.h28
-rw-r--r--Source/CTest/cmCTestCoverageCommand.h26
-rw-r--r--Source/CTest/cmCTestCoverageHandler.cxx54
-rw-r--r--Source/CTest/cmCTestCoverageHandler.h6
-rw-r--r--Source/CTest/cmCTestEmptyBinaryDirectoryCommand.h20
-rw-r--r--Source/CTest/cmCTestGIT.cxx9
-rw-r--r--Source/CTest/cmCTestLaunch.cxx49
-rw-r--r--Source/CTest/cmCTestLaunch.h2
-rw-r--r--Source/CTest/cmCTestMemCheckCommand.h34
-rw-r--r--Source/CTest/cmCTestMemCheckHandler.cxx5
-rw-r--r--Source/CTest/cmCTestMultiProcessHandler.cxx233
-rw-r--r--Source/CTest/cmCTestMultiProcessHandler.h7
-rw-r--r--Source/CTest/cmCTestP4.cxx568
-rw-r--r--Source/CTest/cmCTestP4.h71
-rw-r--r--Source/CTest/cmCTestReadCustomFilesCommand.cxx1
-rw-r--r--Source/CTest/cmCTestReadCustomFilesCommand.h19
-rw-r--r--Source/CTest/cmCTestRunScriptCommand.h24
-rw-r--r--Source/CTest/cmCTestRunTest.cxx8
-rw-r--r--Source/CTest/cmCTestScriptHandler.cxx77
-rw-r--r--Source/CTest/cmCTestScriptHandler.h4
-rw-r--r--Source/CTest/cmCTestSleepCommand.h20
-rw-r--r--Source/CTest/cmCTestStartCommand.h24
-rw-r--r--Source/CTest/cmCTestSubmitCommand.h38
-rw-r--r--Source/CTest/cmCTestSubmitHandler.cxx8
-rw-r--r--Source/CTest/cmCTestTestCommand.h39
-rw-r--r--Source/CTest/cmCTestTestHandler.cxx180
-rw-r--r--Source/CTest/cmCTestTestHandler.h27
-rw-r--r--Source/CTest/cmCTestUpdateCommand.cxx8
-rw-r--r--Source/CTest/cmCTestUpdateCommand.h22
-rw-r--r--Source/CTest/cmCTestUpdateHandler.cxx26
-rw-r--r--Source/CTest/cmCTestUpdateHandler.h1
-rw-r--r--Source/CTest/cmCTestUploadCommand.h19
-rw-r--r--Source/CTest/cmParseCacheCoverage.cxx3
-rw-r--r--Source/CTest/cmParseGTMCoverage.cxx5
-rw-r--r--Source/CTest/cmParseMumpsCoverage.cxx5
-rw-r--r--Source/CTest/cmParsePHPCoverage.cxx13
-rw-r--r--Source/CTest/cmParsePHPCoverage.h10
-rw-r--r--Source/CTest/cmParsePythonCoverage.cxx113
-rw-r--r--Source/CTest/cmParsePythonCoverage.h48
-rw-r--r--Source/CursesDialog/CMakeLists.txt1
-rw-r--r--Source/CursesDialog/ccmake.cxx55
-rw-r--r--Source/CursesDialog/cmCursesCacheEntryComposite.cxx25
-rw-r--r--Source/CursesDialog/cmCursesForm.cxx2
-rw-r--r--Source/CursesDialog/cmCursesForm.h3
-rw-r--r--Source/CursesDialog/cmCursesMainForm.cxx4
-rw-r--r--Source/CursesDialog/cmCursesOptionsWidget.cxx106
-rw-r--r--Source/CursesDialog/cmCursesOptionsWidget.h39
-rw-r--r--Source/QtDialog/AddCacheEntry.cxx38
-rw-r--r--Source/QtDialog/AddCacheEntry.h11
-rw-r--r--Source/QtDialog/CMakeLists.txt36
-rw-r--r--Source/QtDialog/CMakeSetup.cxx60
-rw-r--r--Source/QtDialog/CMakeSetupDialog.cxx103
-rw-r--r--Source/QtDialog/CMakeSetupDialog.h3
-rw-r--r--Source/QtDialog/Info.plist.in32
-rw-r--r--Source/QtDialog/QCMake.cxx25
-rwxr-xr-xSource/QtDialog/postflight.sh.in2
-rw-r--r--Source/cmAddCompileOptionsCommand.h28
-rw-r--r--Source/cmAddCustomCommandCommand.cxx30
-rw-r--r--Source/cmAddCustomCommandCommand.h140
-rw-r--r--Source/cmAddCustomTargetCommand.cxx77
-rw-r--r--Source/cmAddCustomTargetCommand.h57
-rw-r--r--Source/cmAddDefinitionsCommand.h29
-rw-r--r--Source/cmAddDependenciesCommand.cxx15
-rw-r--r--Source/cmAddDependenciesCommand.h29
-rw-r--r--Source/cmAddExecutableCommand.cxx43
-rw-r--r--Source/cmAddExecutableCommand.h80
-rw-r--r--Source/cmAddLibraryCommand.cxx183
-rw-r--r--Source/cmAddLibraryCommand.h111
-rw-r--r--Source/cmAddSubDirectoryCommand.h47
-rw-r--r--Source/cmAddTestCommand.h53
-rw-r--r--Source/cmArchiveWrite.cxx3
-rw-r--r--Source/cmAuxSourceDirectoryCommand.h32
-rw-r--r--Source/cmBreakCommand.h18
-rw-r--r--Source/cmBuildCommand.cxx33
-rw-r--r--Source/cmBuildCommand.h39
-rw-r--r--Source/cmBuildNameCommand.cxx3
-rw-r--r--Source/cmBuildNameCommand.h59
-rw-r--r--Source/cmCMakeHostSystemInformationCommand.h35
-rw-r--r--Source/cmCMakeMinimumRequired.cxx3
-rw-r--r--Source/cmCMakeMinimumRequired.h31
-rw-r--r--Source/cmCMakePolicyCommand.h82
-rw-r--r--Source/cmCTest.cxx58
-rw-r--r--Source/cmCTest.h11
-rw-r--r--Source/cmCacheManager.cxx70
-rw-r--r--Source/cmCacheManager.h10
-rw-r--r--Source/cmCommand.h29
-rw-r--r--Source/cmCommandArgumentLexer.cxx4
-rw-r--r--Source/cmCommands.cxx86
-rw-r--r--Source/cmCommands.cxx.in19
-rw-r--r--Source/cmCommandsForBootstrap.cxx16
-rw-r--r--Source/cmComputeLinkDepends.cxx21
-rw-r--r--Source/cmComputeLinkDepends.h17
-rw-r--r--Source/cmComputeLinkInformation.cxx68
-rw-r--r--Source/cmComputeLinkInformation.h25
-rw-r--r--Source/cmComputeTargetDepends.cxx89
-rw-r--r--Source/cmComputeTargetDepends.h14
-rw-r--r--Source/cmConfigure.cmake.h.in3
-rw-r--r--Source/cmConfigureFileCommand.cxx25
-rw-r--r--Source/cmConfigureFileCommand.h59
-rw-r--r--Source/cmCoreTryCompile.cxx91
-rw-r--r--Source/cmCreateTestSourceList.h42
-rw-r--r--Source/cmCryptoHash.cxx3
-rw-r--r--Source/cmCustomCommand.cxx2
-rw-r--r--Source/cmCustomCommand.h2
-rw-r--r--Source/cmCustomCommandGenerator.cxx2
-rw-r--r--Source/cmDefinePropertyCommand.cxx1
-rw-r--r--Source/cmDefinePropertyCommand.h47
-rw-r--r--Source/cmDepends.cxx3
-rw-r--r--Source/cmDependsC.cxx7
-rw-r--r--Source/cmDependsFortran.cxx20
-rw-r--r--Source/cmDependsFortranLexer.cxx4
-rw-r--r--Source/cmDependsJavaLexer.cxx4
-rw-r--r--Source/cmDependsJavaParserHelper.cxx3
-rw-r--r--Source/cmDocumentCompileDefinitions.h34
-rw-r--r--Source/cmDocumentGeneratorExpressions.h98
-rw-r--r--Source/cmDocumentLocationUndefined.h24
-rw-r--r--Source/cmDocumentVariables.cxx2030
-rw-r--r--Source/cmDocumentVariables.h21
-rw-r--r--Source/cmDocumentation.cxx1754
-rw-r--r--Source/cmDocumentation.h175
-rw-r--r--Source/cmDocumentationFormatter.cxx224
-rw-r--r--Source/cmDocumentationFormatter.h40
-rw-r--r--Source/cmDocumentationFormatterDocbook.cxx254
-rw-r--r--Source/cmDocumentationFormatterDocbook.h43
-rw-r--r--Source/cmDocumentationFormatterHTML.cxx288
-rw-r--r--Source/cmDocumentationFormatterHTML.h42
-rw-r--r--Source/cmDocumentationFormatterMan.cxx102
-rw-r--r--Source/cmDocumentationFormatterMan.h43
-rw-r--r--Source/cmDocumentationFormatterText.cxx180
-rw-r--r--Source/cmDocumentationFormatterText.h40
-rw-r--r--Source/cmDocumentationFormatterUsage.cxx63
-rw-r--r--Source/cmDocumentationFormatterUsage.h31
-rw-r--r--Source/cmDocumentationSection.cxx48
-rw-r--r--Source/cmDocumentationSection.h18
-rw-r--r--Source/cmELF.cxx9
-rw-r--r--Source/cmElseCommand.h18
-rw-r--r--Source/cmElseIfCommand.h18
-rw-r--r--Source/cmEnableLanguageCommand.h31
-rw-r--r--Source/cmEnableTestingCommand.h21
-rw-r--r--Source/cmEndForEachCommand.h18
-rw-r--r--Source/cmEndFunctionCommand.h18
-rw-r--r--Source/cmEndIfCommand.h18
-rw-r--r--Source/cmEndMacroCommand.h18
-rw-r--r--Source/cmEndWhileCommand.h18
-rw-r--r--Source/cmExecProgramCommand.cxx196
-rw-r--r--Source/cmExecProgramCommand.h37
-rw-r--r--Source/cmExecuteProcessCommand.h58
-rw-r--r--Source/cmExportBuildFileGenerator.cxx168
-rw-r--r--Source/cmExportBuildFileGenerator.h32
-rw-r--r--Source/cmExportCommand.cxx219
-rw-r--r--Source/cmExportCommand.h58
-rw-r--r--Source/cmExportFileGenerator.cxx152
-rw-r--r--Source/cmExportFileGenerator.h24
-rw-r--r--Source/cmExportInstallFileGenerator.cxx54
-rw-r--r--Source/cmExportLibraryDependencies.cxx204
-rw-r--r--Source/cmExportLibraryDependencies.h100
-rw-r--r--Source/cmExportLibraryDependenciesCommand.cxx208
-rw-r--r--Source/cmExportLibraryDependenciesCommand.h37
-rw-r--r--Source/cmExportSetMap.cxx8
-rw-r--r--Source/cmExportSetMap.h3
-rw-r--r--Source/cmExportTryCompileFileGenerator.cxx24
-rw-r--r--Source/cmExportTryCompileFileGenerator.h12
-rw-r--r--Source/cmExprLexer.cxx4
-rw-r--r--Source/cmExternalMakefileProjectGenerator.cxx6
-rw-r--r--Source/cmExternalMakefileProjectGenerator.h2
-rw-r--r--Source/cmExtraCodeBlocksGenerator.cxx38
-rw-r--r--Source/cmExtraCodeLiteGenerator.cxx491
-rw-r--r--Source/cmExtraCodeLiteGenerator.h54
-rw-r--r--Source/cmExtraEclipseCDT4Generator.cxx99
-rw-r--r--Source/cmExtraEclipseCDT4Generator.h4
-rw-r--r--Source/cmExtraKateGenerator.cxx350
-rw-r--r--Source/cmExtraKateGenerator.h62
-rw-r--r--Source/cmExtraSublimeTextGenerator.cxx32
-rw-r--r--Source/cmFLTKWrapUICommand.cxx6
-rw-r--r--Source/cmFLTKWrapUICommand.h22
-rw-r--r--Source/cmFileCommand.cxx19
-rw-r--r--Source/cmFileCommand.h207
-rw-r--r--Source/cmFileTimeComparison.cxx5
-rw-r--r--Source/cmFindBase.cxx118
-rw-r--r--Source/cmFindBase.h4
-rw-r--r--Source/cmFindCommon.cxx71
-rw-r--r--Source/cmFindCommon.h6
-rw-r--r--Source/cmFindFileCommand.cxx12
-rw-r--r--Source/cmFindFileCommand.h10
-rw-r--r--Source/cmFindLibraryCommand.cxx56
-rw-r--r--Source/cmFindLibraryCommand.h8
-rw-r--r--Source/cmFindPackageCommand.cxx469
-rw-r--r--Source/cmFindPackageCommand.h19
-rw-r--r--Source/cmFindPathCommand.cxx45
-rw-r--r--Source/cmFindPathCommand.h10
-rw-r--r--Source/cmFindProgramCommand.cxx31
-rw-r--r--Source/cmFindProgramCommand.h9
-rw-r--r--Source/cmForEachCommand.h46
-rw-r--r--Source/cmFunctionCommand.cxx18
-rw-r--r--Source/cmFunctionCommand.h40
-rw-r--r--Source/cmGeneratedFileStream.cxx2
-rw-r--r--Source/cmGeneratedFileStream.h5
-rw-r--r--Source/cmGeneratorExpression.cxx14
-rw-r--r--Source/cmGeneratorExpression.h12
-rw-r--r--Source/cmGeneratorExpressionDAGChecker.cxx63
-rw-r--r--Source/cmGeneratorExpressionDAGChecker.h34
-rw-r--r--Source/cmGeneratorExpressionEvaluationFile.cxx5
-rw-r--r--Source/cmGeneratorExpressionEvaluator.cxx456
-rw-r--r--Source/cmGeneratorExpressionEvaluator.h20
-rw-r--r--Source/cmGeneratorExpressionLexer.h4
-rw-r--r--Source/cmGeneratorExpressionParser.cxx2
-rw-r--r--Source/cmGeneratorTarget.cxx619
-rw-r--r--Source/cmGeneratorTarget.h89
-rw-r--r--Source/cmGetCMakePropertyCommand.h25
-rw-r--r--Source/cmGetDirectoryPropertyCommand.h31
-rw-r--r--Source/cmGetFilenameComponentCommand.h37
-rw-r--r--Source/cmGetPropertyCommand.cxx8
-rw-r--r--Source/cmGetPropertyCommand.h52
-rw-r--r--Source/cmGetSourceFilePropertyCommand.h24
-rw-r--r--Source/cmGetTargetPropertyCommand.cxx33
-rw-r--r--Source/cmGetTargetPropertyCommand.h26
-rw-r--r--Source/cmGetTestPropertyCommand.h23
-rw-r--r--Source/cmGlobalBorlandMakefileGenerator.cxx1
-rw-r--r--Source/cmGlobalBorlandMakefileGenerator.h2
-rw-r--r--Source/cmGlobalGenerator.cxx921
-rw-r--r--Source/cmGlobalGenerator.h114
-rw-r--r--Source/cmGlobalJOMMakefileGenerator.cxx1
-rw-r--r--Source/cmGlobalKdevelopGenerator.cxx22
-rw-r--r--Source/cmGlobalMSYSMakefileGenerator.cxx5
-rw-r--r--Source/cmGlobalMinGWMakefileGenerator.cxx2
-rw-r--r--Source/cmGlobalNMakeMakefileGenerator.cxx1
-rw-r--r--Source/cmGlobalNinjaGenerator.cxx135
-rw-r--r--Source/cmGlobalNinjaGenerator.h40
-rw-r--r--Source/cmGlobalUnixMakefileGenerator3.cxx266
-rw-r--r--Source/cmGlobalUnixMakefileGenerator3.h34
-rw-r--r--Source/cmGlobalVisualStudio10Generator.cxx259
-rw-r--r--Source/cmGlobalVisualStudio10Generator.h27
-rw-r--r--Source/cmGlobalVisualStudio11Generator.cxx90
-rw-r--r--Source/cmGlobalVisualStudio11Generator.h2
-rw-r--r--Source/cmGlobalVisualStudio12Generator.cxx73
-rw-r--r--Source/cmGlobalVisualStudio12Generator.h2
-rw-r--r--Source/cmGlobalVisualStudio6Generator.cxx126
-rw-r--r--Source/cmGlobalVisualStudio6Generator.h29
-rw-r--r--Source/cmGlobalVisualStudio71Generator.cxx8
-rw-r--r--Source/cmGlobalVisualStudio71Generator.h6
-rw-r--r--Source/cmGlobalVisualStudio7Generator.cxx221
-rw-r--r--Source/cmGlobalVisualStudio7Generator.h45
-rw-r--r--Source/cmGlobalVisualStudio8Generator.cxx59
-rw-r--r--Source/cmGlobalVisualStudio8Generator.h6
-rw-r--r--Source/cmGlobalVisualStudio9Generator.cxx6
-rw-r--r--Source/cmGlobalVisualStudioGenerator.cxx144
-rw-r--r--Source/cmGlobalVisualStudioGenerator.h25
-rw-r--r--Source/cmGlobalWatcomWMakeGenerator.cxx3
-rw-r--r--Source/cmGlobalWatcomWMakeGenerator.h2
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx223
-rw-r--r--Source/cmGlobalXCodeGenerator.h24
-rw-r--r--Source/cmGraphVizWriter.cxx18
-rw-r--r--Source/cmGraphVizWriter.h2
-rw-r--r--Source/cmHexFileConverter.cxx6
-rw-r--r--Source/cmIfCommand.cxx2
-rw-r--r--Source/cmIfCommand.h177
-rw-r--r--Source/cmIncludeCommand.cxx44
-rw-r--r--Source/cmIncludeCommand.h39
-rw-r--r--Source/cmIncludeDirectoryCommand.cxx2
-rw-r--r--Source/cmIncludeDirectoryCommand.h38
-rw-r--r--Source/cmIncludeExternalMSProjectCommand.h32
-rw-r--r--Source/cmIncludeRegularExpressionCommand.h24
-rw-r--r--Source/cmInstallCommand.cxx36
-rw-r--r--Source/cmInstallCommand.h301
-rw-r--r--Source/cmInstallCommandArguments.cxx5
-rw-r--r--Source/cmInstallExportGenerator.cxx24
-rw-r--r--Source/cmInstallFilesCommand.cxx5
-rw-r--r--Source/cmInstallFilesCommand.h39
-rw-r--r--Source/cmInstallFilesGenerator.cxx55
-rw-r--r--Source/cmInstallFilesGenerator.h12
-rw-r--r--Source/cmInstallGenerator.cxx14
-rw-r--r--Source/cmInstallProgramsCommand.cxx5
-rw-r--r--Source/cmInstallProgramsCommand.h35
-rw-r--r--Source/cmInstallScriptGenerator.cxx6
-rw-r--r--Source/cmInstallTargetGenerator.cxx73
-rw-r--r--Source/cmInstallTargetGenerator.h3
-rw-r--r--Source/cmInstallTargetsCommand.h24
-rw-r--r--Source/cmLinkDirectoriesCommand.h27
-rw-r--r--Source/cmLinkLibrariesCommand.h25
-rw-r--r--Source/cmListCommand.h60
-rw-r--r--Source/cmListFileCache.cxx95
-rw-r--r--Source/cmListFileCache.h3
-rw-r--r--Source/cmListFileLexer.c474
-rw-r--r--Source/cmListFileLexer.h17
-rw-r--r--Source/cmListFileLexer.in.l202
-rw-r--r--Source/cmLoadCacheCommand.cxx3
-rw-r--r--Source/cmLoadCacheCommand.h33
-rw-r--r--Source/cmLoadCommandCommand.cxx38
-rw-r--r--Source/cmLoadCommandCommand.h49
-rw-r--r--Source/cmLocalGenerator.cxx276
-rw-r--r--Source/cmLocalGenerator.h14
-rw-r--r--Source/cmLocalNinjaGenerator.cxx146
-rw-r--r--Source/cmLocalNinjaGenerator.h2
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx180
-rw-r--r--Source/cmLocalVisualStudio10Generator.cxx4
-rw-r--r--Source/cmLocalVisualStudio6Generator.cxx38
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx66
-rw-r--r--Source/cmLocalXCodeGenerator.cxx29
-rw-r--r--Source/cmLocalXCodeGenerator.h2
-rw-r--r--Source/cmMacroCommand.cxx123
-rw-r--r--Source/cmMacroCommand.h44
-rw-r--r--Source/cmMakeDepend.cxx3
-rw-r--r--Source/cmMakeDirectoryCommand.h20
-rw-r--r--Source/cmMakefile.cxx640
-rw-r--r--Source/cmMakefile.h132
-rw-r--r--Source/cmMakefileExecutableTargetGenerator.cxx6
-rw-r--r--Source/cmMakefileExecutableTargetGenerator.h2
-rw-r--r--Source/cmMakefileLibraryTargetGenerator.cxx15
-rw-r--r--Source/cmMakefileLibraryTargetGenerator.h2
-rw-r--r--Source/cmMakefileTargetGenerator.cxx116
-rw-r--r--Source/cmMakefileTargetGenerator.h4
-rw-r--r--Source/cmMakefileUtilityTargetGenerator.cxx6
-rw-r--r--Source/cmMakefileUtilityTargetGenerator.h2
-rw-r--r--Source/cmMarkAsAdvancedCommand.h27
-rw-r--r--Source/cmMathCommand.h22
-rw-r--r--Source/cmMessageCommand.cxx17
-rw-r--r--Source/cmMessageCommand.h39
-rw-r--r--Source/cmNewLineStyle.cxx2
-rw-r--r--Source/cmNinjaNormalTargetGenerator.cxx41
-rw-r--r--Source/cmNinjaNormalTargetGenerator.h3
-rw-r--r--Source/cmNinjaTargetGenerator.cxx269
-rw-r--r--Source/cmNinjaTargetGenerator.h12
-rw-r--r--Source/cmNinjaUtilityTargetGenerator.cxx9
-rw-r--r--Source/cmNinjaUtilityTargetGenerator.h2
-rw-r--r--Source/cmOSXBundleGenerator.cxx6
-rw-r--r--Source/cmOSXBundleGenerator.h3
-rw-r--r--Source/cmOptionCommand.h23
-rw-r--r--Source/cmOrderDirectories.cxx2
-rw-r--r--Source/cmOrderDirectories.h4
-rw-r--r--Source/cmOutputRequiredFilesCommand.cxx10
-rw-r--r--Source/cmOutputRequiredFilesCommand.h56
-rw-r--r--Source/cmPolicies.cxx702
-rw-r--r--Source/cmPolicies.h35
-rw-r--r--Source/cmProjectCommand.cxx159
-rw-r--r--Source/cmProjectCommand.h35
-rw-r--r--Source/cmPropertyDefinition.cxx14
-rw-r--r--Source/cmPropertyDefinition.h9
-rw-r--r--Source/cmPropertyDefinitionMap.cxx60
-rw-r--r--Source/cmPropertyDefinitionMap.h4
-rw-r--r--Source/cmPropertyMap.cxx37
-rw-r--r--Source/cmQTWrapCPPCommand.h21
-rw-r--r--Source/cmQTWrapUICommand.h24
-rw-r--r--Source/cmQtAutoGenerators.cxx2142
-rw-r--r--Source/cmQtAutoGenerators.h129
-rw-r--r--Source/cmQtAutomoc.cxx1299
-rw-r--r--Source/cmQtAutomoc.h96
-rw-r--r--Source/cmRST.cxx510
-rw-r--r--Source/cmRST.h100
-rw-r--r--Source/cmRemoveCommand.h20
-rw-r--r--Source/cmRemoveDefinitionsCommand.h19
-rw-r--r--Source/cmReturnCommand.h26
-rw-r--r--Source/cmScriptGenerator.cxx10
-rw-r--r--Source/cmSeparateArgumentsCommand.h37
-rw-r--r--Source/cmSetCommand.cxx21
-rw-r--r--Source/cmSetCommand.h108
-rw-r--r--Source/cmSetDirectoryPropertiesCommand.h23
-rw-r--r--Source/cmSetPropertyCommand.cxx4
-rw-r--r--Source/cmSetPropertyCommand.h47
-rw-r--r--Source/cmSetSourceFilesPropertiesCommand.h25
-rw-r--r--Source/cmSetTargetPropertiesCommand.cxx2
-rw-r--r--Source/cmSetTargetPropertiesCommand.h121
-rw-r--r--Source/cmSetTestsPropertiesCommand.h34
-rw-r--r--Source/cmSiteNameCommand.h17
-rw-r--r--Source/cmSourceFile.cxx191
-rw-r--r--Source/cmSourceFile.h3
-rw-r--r--Source/cmSourceFileLocation.cxx6
-rw-r--r--Source/cmSourceFileLocation.h6
-rw-r--r--Source/cmSourceGroup.cxx8
-rw-r--r--Source/cmSourceGroup.h2
-rw-r--r--Source/cmSourceGroupCommand.h30
-rw-r--r--Source/cmStandardIncludes.h97
-rw-r--r--Source/cmStringCommand.cxx25
-rw-r--r--Source/cmStringCommand.h131
-rw-r--r--Source/cmSubdirCommand.h34
-rw-r--r--Source/cmSubdirDependsCommand.cxx4
-rw-r--r--Source/cmSubdirDependsCommand.h53
-rw-r--r--Source/cmSystemTools.cxx687
-rw-r--r--Source/cmSystemTools.h61
-rw-r--r--Source/cmTarget.cxx3467
-rw-r--r--Source/cmTarget.h295
-rw-r--r--Source/cmTargetCompileDefinitionsCommand.cxx2
-rw-r--r--Source/cmTargetCompileDefinitionsCommand.h35
-rw-r--r--Source/cmTargetCompileOptionsCommand.h37
-rw-r--r--Source/cmTargetDepend.h10
-rw-r--r--Source/cmTargetIncludeDirectoriesCommand.cxx4
-rw-r--r--Source/cmTargetIncludeDirectoriesCommand.h47
-rw-r--r--Source/cmTargetLinkLibrariesCommand.cxx61
-rw-r--r--Source/cmTargetLinkLibrariesCommand.h151
-rw-r--r--Source/cmTargetPropCommandBase.cxx13
-rw-r--r--Source/cmTargetPropCommandBase.h1
-rw-r--r--Source/cmTest.cxx111
-rw-r--r--Source/cmTest.h3
-rw-r--r--Source/cmTestGenerator.cxx64
-rw-r--r--Source/cmTryCompileCommand.h75
-rw-r--r--Source/cmTryRunCommand.cxx7
-rw-r--r--Source/cmTryRunCommand.h57
-rw-r--r--Source/cmUnsetCommand.cxx10
-rw-r--r--Source/cmUnsetCommand.h24
-rw-r--r--Source/cmUseMangledMesaCommand.cxx9
-rw-r--r--Source/cmUseMangledMesaCommand.h60
-rw-r--r--Source/cmUtilitySourceCommand.cxx3
-rw-r--r--Source/cmUtilitySourceCommand.h68
-rw-r--r--Source/cmVariableRequiresCommand.cxx3
-rw-r--r--Source/cmVariableRequiresCommand.h59
-rw-r--r--Source/cmVariableWatchCommand.h21
-rw-r--r--Source/cmVersion.cxx2
-rw-r--r--Source/cmVersion.h7
-rw-r--r--Source/cmVersionConfig.h.in1
-rw-r--r--Source/cmVersionMacros.h4
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx98
-rw-r--r--Source/cmVisualStudio10TargetGenerator.h3
-rw-r--r--Source/cmVisualStudioSlnParser.cxx3
-rw-r--r--Source/cmWhileCommand.h26
-rw-r--r--Source/cmWin32ProcessExecution.cxx884
-rw-r--r--Source/cmWin32ProcessExecution.h169
-rw-r--r--Source/cmWriteFileCommand.cxx3
-rw-r--r--Source/cmWriteFileCommand.h26
-rw-r--r--Source/cmXMLParser.cxx3
-rw-r--r--Source/cmake.cxx2059
-rw-r--r--Source/cmake.h138
-rw-r--r--Source/cmakemain.cxx366
-rw-r--r--Source/cmaketest.h.in16
-rw-r--r--Source/cmakewizard.cxx155
-rw-r--r--Source/cmakewizard.h42
-rw-r--r--Source/cmcldeps.cxx9
-rw-r--r--Source/cmcmd.cxx1396
-rw-r--r--Source/cmcmd.h54
-rw-r--r--Source/cmw9xcom.cxx45
-rw-r--r--Source/ctest.cxx302
-rw-r--r--Source/kwsys/CMakeLists.txt66
-rw-r--r--Source/kwsys/Configure.hxx.in4
-rw-r--r--Source/kwsys/Directory.cxx17
-rw-r--r--Source/kwsys/DynamicLoader.cxx19
-rw-r--r--Source/kwsys/Encoding.h.in79
-rw-r--r--Source/kwsys/Encoding.hxx.in87
-rw-r--r--Source/kwsys/EncodingC.c79
-rw-r--r--Source/kwsys/EncodingCXX.cxx181
-rw-r--r--Source/kwsys/FStream.hxx.in173
-rw-r--r--Source/kwsys/ProcessUNIX.c2
-rw-r--r--Source/kwsys/ProcessWin32.c78
-rw-r--r--Source/kwsys/SystemInformation.cxx82
-rw-r--r--Source/kwsys/SystemTools.cxx298
-rw-r--r--Source/kwsys/SystemTools.hxx.in15
-rw-r--r--Source/kwsys/Terminal.c1
-rw-r--r--Source/kwsys/kwsysPlatformTestsCXX.cxx6
-rw-r--r--Source/kwsys/testDynamicLoader.cxx6
-rw-r--r--Source/kwsys/testEncoding.cxx199
-rw-r--r--Source/kwsys/testFStream.cxx48
-rw-r--r--Templates/TestDriver.cxx.in14
-rw-r--r--Tests/AliasTarget/CMakeLists.txt25
-rw-r--r--Tests/Assembler/CMakeLists.txt5
-rw-r--r--Tests/BootstrapTest.cmake10
-rw-r--r--Tests/BuildDepends/CMakeLists.txt2
-rw-r--r--Tests/BundleTest/BundleLib.cxx2
-rw-r--r--Tests/BundleTest/BundleSubDir/CMakeLists.txt4
-rw-r--r--Tests/BundleTest/CMakeLists.txt4
-rw-r--r--Tests/BundleUtilities/CMakeLists.txt18
-rw-r--r--Tests/CFBundleTest/CMakeLists.txt8
-rw-r--r--Tests/CMakeCommands/add_compile_options/CMakeLists.txt7
-rw-r--r--Tests/CMakeCommands/target_compile_definitions/CMakeLists.txt7
-rw-r--r--Tests/CMakeCommands/target_include_directories/CMakeLists.txt10
-rw-r--r--Tests/CMakeCommands/target_include_directories/consumer.cpp5
-rw-r--r--Tests/CMakeCommands/target_include_directories/relative_dir/consumer/consumer.h2
-rw-r--r--Tests/CMakeCommands/target_link_libraries/CMakeLists.txt6
-rw-r--r--Tests/CMakeCopyright.cmake22
-rw-r--r--Tests/CMakeInstall.cmake22
-rw-r--r--Tests/CMakeLib/CMakeLists.txt3
-rw-r--r--Tests/CMakeLib/testRST.cxx96
-rw-r--r--Tests/CMakeLib/testRST.expect92
-rw-r--r--Tests/CMakeLib/testRST.rst99
-rw-r--r--Tests/CMakeLib/testRSTinclude1.rst6
-rw-r--r--Tests/CMakeLib/testRSTinclude2.rst3
-rw-r--r--Tests/CMakeLib/testRSTmod.cmake11
-rw-r--r--Tests/CMakeLib/testRSTtoc1.rst2
-rw-r--r--Tests/CMakeLib/testRSTtoc2.rst2
-rw-r--r--Tests/CMakeLists.txt550
-rw-r--r--Tests/CMakeOnly/AllFindModules/CMakeLists.txt11
-rw-r--r--Tests/CMakeOnly/CMakeLists.txt2
-rw-r--r--Tests/CMakeOnly/CheckStructHasMember/CMakeLists.txt93
-rw-r--r--Tests/CMakeOnly/CheckStructHasMember/cm_cshm.h9
-rw-r--r--Tests/CMakeOnly/CheckStructHasMember/cm_cshm.hxx16
-rw-r--r--Tests/CMakeTests/CMakeLists.txt15
-rw-r--r--Tests/CMakeTests/FileDownloadBadHashTest.cmake.in10
-rw-r--r--Tests/CMakeTests/FileDownloadTest.cmake.in13
-rw-r--r--Tests/CMakeTests/GetPropertyTest.cmake.in11
-rw-r--r--Tests/CMakeTests/PolicyCheckTest.cmake.in154
-rw-r--r--Tests/CMakeWizardTest.cmake52
-rw-r--r--Tests/CPackComponentsForAll/CMakeLists.txt3
-rw-r--r--Tests/CPackComponentsForAll/license.txt3
-rw-r--r--Tests/CPackWiXGenerator/CMakeLists.txt35
-rw-r--r--Tests/CPackWiXGenerator/license.txt9
-rw-r--r--Tests/CPackWiXGenerator/myotherapp.cpp1
-rw-r--r--Tests/CPackWiXGenerator/patch.xml7
-rw-r--r--Tests/CTestBuildCommandProjectInSubdir/CTestBuildCommandProjectInSubdir.cmake.in2
-rw-r--r--Tests/CTestTest/test.cmake.in2
-rw-r--r--Tests/CTestTest2/test.cmake.in2
-rw-r--r--Tests/CTestTestBadExe/test.cmake.in2
-rw-r--r--Tests/CTestTestChecksum/test.cmake.in2
-rw-r--r--Tests/CTestTestCostSerial/test.cmake.in2
-rw-r--r--Tests/CTestTestCrash/test.cmake.in2
-rw-r--r--Tests/CTestTestCycle/test.cmake.in2
-rw-r--r--Tests/CTestTestDepends/test.cmake.in2
-rw-r--r--Tests/CTestTestEmptyBinaryDirectory/test.cmake.in66
-rw-r--r--Tests/CTestTestFailure/testNoBuild.cmake.in2
-rw-r--r--Tests/CTestTestFailure/testNoExe.cmake.in2
-rw-r--r--Tests/CTestTestLaunchers/launcher_test_project/CMakeLists.txt19
-rw-r--r--Tests/CTestTestLaunchers/launcher_test_project/CTestConfig.cmake8
-rw-r--r--Tests/CTestTestLaunchers/launcher_test_project/command.cmake5
-rw-r--r--Tests/CTestTestLaunchers/test.cmake.in39
-rw-r--r--Tests/CTestTestMemcheck/CMakeLists.txt47
-rw-r--r--Tests/CTestTestMissingDependsExe/CMakeLists.txt10
-rw-r--r--Tests/CTestTestParallel/test.cmake.in2
-rw-r--r--Tests/CTestTestResourceLock/test.cmake.in2
-rw-r--r--Tests/CTestTestScheduler/test.cmake.in2
-rw-r--r--Tests/CTestTestSerialInDepends/CMakeLists.txt23
-rw-r--r--Tests/CTestTestSerialInDepends/test.ctest16
-rw-r--r--Tests/CTestTestSerialOrder/CMakeLists.txt40
-rw-r--r--Tests/CTestTestSerialOrder/test.cmake31
-rw-r--r--Tests/CTestTestSkipReturnCode/CMakeLists.txt8
-rw-r--r--Tests/CTestTestSkipReturnCode/CTestConfig.cmake7
-rw-r--r--Tests/CTestTestSkipReturnCode/test.cmake.in22
-rw-r--r--Tests/CTestTestStopTime/GetDate.cmake163
-rw-r--r--Tests/CTestTestStopTime/test.cmake.in2
-rw-r--r--Tests/CTestTestSubdir/test.cmake.in2
-rw-r--r--Tests/CTestTestTimeout/test.cmake.in2
-rw-r--r--Tests/CTestTestUpload/test.cmake.in2
-rw-r--r--Tests/CTestTestZeroTimeout/test.cmake.in2
-rw-r--r--Tests/CTestUpdateCommon.cmake15
-rw-r--r--Tests/CTestUpdateP4.cmake.in261
-rw-r--r--Tests/CompatibleInterface/CMakeLists.txt39
-rw-r--r--Tests/CompatibleInterface/main.cpp15
-rw-r--r--Tests/CompileDefinitions/compiletest.c4
-rw-r--r--Tests/CompileDefinitions/target_prop/CMakeLists.txt3
-rw-r--r--Tests/Complex/CMakeLists.txt8
-rw-r--r--Tests/Complex/Executable/CMakeLists.txt1
-rw-r--r--Tests/Complex/Executable/complex.cxx6
-rw-r--r--Tests/Complex/Library/CMakeLists.txt2
-rw-r--r--Tests/ComplexOneConfig/CMakeLists.txt8
-rw-r--r--Tests/ComplexOneConfig/Executable/CMakeLists.txt1
-rw-r--r--Tests/ComplexOneConfig/Executable/complex.cxx6
-rw-r--r--Tests/ComplexOneConfig/Library/CMakeLists.txt2
-rw-r--r--Tests/Contracts/Trilinos-10-6/CMakeLists.txt103
-rw-r--r--Tests/Contracts/Trilinos-10-6/Dashboard.cmake.in63
-rw-r--r--Tests/Contracts/Trilinos-10-6/RunTest.cmake7
-rw-r--r--Tests/Contracts/Trilinos-10-6/ValidateBuild.cmake.in39
-rw-r--r--Tests/Contracts/Trilinos/CMakeLists.txt103
-rw-r--r--Tests/Contracts/Trilinos/Dashboard.cmake.in63
-rw-r--r--Tests/Contracts/Trilinos/EnvScript.cmake (renamed from Tests/Contracts/Trilinos-10-6/EnvScript.cmake)0
-rw-r--r--Tests/Contracts/Trilinos/Patch.cmake (renamed from Tests/Contracts/Trilinos-10-6/Patch.cmake)0
-rw-r--r--Tests/Contracts/Trilinos/RunTest.cmake7
-rw-r--r--Tests/Contracts/Trilinos/ValidateBuild.cmake.in39
-rw-r--r--Tests/Contracts/VTK/CMakeLists.txt47
-rw-r--r--Tests/Contracts/VTK/Dashboard.cmake.in37
-rw-r--r--Tests/Contracts/VTK/RunTest.cmake3
-rw-r--r--Tests/Contracts/vtk542/CMakeLists.txt30
-rw-r--r--Tests/Contracts/vtk542/RunTest.cmake1
-rw-r--r--Tests/CustomCommand/CMakeLists.txt16
-rw-r--r--Tests/CustomCommand/source_in_custom_target.cpp0
-rw-r--r--Tests/DocTest/CMakeLists.txt7
-rw-r--r--Tests/DocTest/DocTest.cxx33
-rw-r--r--Tests/ExportImport/CMakeLists.txt5
-rw-r--r--Tests/ExportImport/Export/CMakeLists.txt84
-rw-r--r--Tests/ExportImport/Export/Interface/CMakeLists.txt52
-rw-r--r--Tests/ExportImport/Export/Interface/headeronly/headeronly.h7
-rw-r--r--Tests/ExportImport/Export/Interface/sharedlib.cpp7
-rw-r--r--Tests/ExportImport/Export/Interface/sharedlib/sharedlib.h7
-rw-r--r--Tests/ExportImport/Export/systemlib.cpp7
-rw-r--r--Tests/ExportImport/Export/systemlib.h22
-rw-r--r--Tests/ExportImport/Export/testLib1file1.txt1
-rw-r--r--Tests/ExportImport/Export/testLib1file2.txt1
-rw-r--r--Tests/ExportImport/Import/A/CMakeLists.txt53
-rw-r--r--Tests/ExportImport/Import/A/check_testLib1_genex.cmake11
-rw-r--r--Tests/ExportImport/Import/A/deps_iface.c6
-rw-r--r--Tests/ExportImport/Import/A/test_system.cpp9
-rw-r--r--Tests/ExportImport/Import/CMakeLists.txt3
-rw-r--r--Tests/ExportImport/Import/Interface/CMakeLists.txt55
-rw-r--r--Tests/ExportImport/Import/Interface/headeronlytest.cpp17
-rw-r--r--Tests/ExportImport/Import/Interface/interfacetest.cpp20
-rw-r--r--Tests/ExportImport/InitialCache.cmake.in1
-rw-r--r--Tests/ExternalProject/CMakeLists.txt16
-rw-r--r--Tests/FindGTK2/CMakeLists.txt317
-rw-r--r--Tests/FindGTK2/atk/CMakeLists.txt10
-rw-r--r--Tests/FindGTK2/atk/main.c7
-rw-r--r--Tests/FindGTK2/atkmm/CMakeLists.txt10
-rw-r--r--Tests/FindGTK2/atkmm/main.cpp8
-rw-r--r--Tests/FindGTK2/cairo/CMakeLists.txt10
-rw-r--r--Tests/FindGTK2/cairo/main.c52
-rw-r--r--Tests/FindGTK2/cairomm/CMakeLists.txt10
-rw-r--r--Tests/FindGTK2/cairomm/main.cpp62
-rw-r--r--Tests/FindGTK2/gdk/CMakeLists.txt10
-rw-r--r--Tests/FindGTK2/gdk/main.c7
-rw-r--r--Tests/FindGTK2/gdk_pixbuf/CMakeLists.txt10
-rw-r--r--Tests/FindGTK2/gdk_pixbuf/main.c10
-rw-r--r--Tests/FindGTK2/gdkmm/CMakeLists.txt10
-rw-r--r--Tests/FindGTK2/gdkmm/main.cpp7
-rw-r--r--Tests/FindGTK2/gio/CMakeLists.txt10
-rw-r--r--Tests/FindGTK2/gio/main.c8
-rw-r--r--Tests/FindGTK2/giomm/CMakeLists.txt10
-rw-r--r--Tests/FindGTK2/giomm/main.cpp7
-rw-r--r--Tests/FindGTK2/glib/CMakeLists.txt10
-rw-r--r--Tests/FindGTK2/glib/main.c11
-rw-r--r--Tests/FindGTK2/glibmm/CMakeLists.txt10
-rw-r--r--Tests/FindGTK2/glibmm/main.cpp7
-rw-r--r--Tests/FindGTK2/gmodule/CMakeLists.txt10
-rw-r--r--Tests/FindGTK2/gmodule/main.c7
-rw-r--r--Tests/FindGTK2/gobject/CMakeLists.txt10
-rw-r--r--Tests/FindGTK2/gobject/main.c72
-rw-r--r--Tests/FindGTK2/gthread/CMakeLists.txt10
-rw-r--r--Tests/FindGTK2/gthread/main.c7
-rw-r--r--Tests/FindGTK2/gtk/CMakeLists.txt14
-rw-r--r--Tests/FindGTK2/gtk/main.c15
-rw-r--r--Tests/FindGTK2/gtkmm/CMakeLists.txt14
-rw-r--r--Tests/FindGTK2/gtkmm/helloworld.cpp29
-rw-r--r--Tests/FindGTK2/gtkmm/helloworld.h20
-rw-r--r--Tests/FindGTK2/gtkmm/main.cpp13
-rw-r--r--Tests/FindGTK2/pango/CMakeLists.txt10
-rw-r--r--Tests/FindGTK2/pango/main.c7
-rw-r--r--Tests/FindGTK2/pangocairo/CMakeLists.txt10
-rw-r--r--Tests/FindGTK2/pangocairo/main.c72
-rw-r--r--Tests/FindGTK2/pangoft2/CMakeLists.txt10
-rw-r--r--Tests/FindGTK2/pangoft2/main.c8
-rw-r--r--Tests/FindGTK2/pangomm/CMakeLists.txt10
-rw-r--r--Tests/FindGTK2/pangomm/main.cpp8
-rw-r--r--Tests/FindGTK2/pangoxft/CMakeLists.txt10
-rw-r--r--Tests/FindGTK2/pangoxft/main.c7
-rw-r--r--Tests/FindGTK2/sigc++/CMakeLists.txt10
-rw-r--r--Tests/FindGTK2/sigc++/main.cpp30
-rw-r--r--Tests/FindPackageModeMakefileTest/CMakeLists.txt12
-rw-r--r--Tests/FindPackageModeMakefileTest/Makefile.in8
-rw-r--r--Tests/Fortran/CMakeLists.txt6
-rw-r--r--Tests/GeneratorExpression/CMP0044/CMakeLists.txt19
-rw-r--r--Tests/GeneratorExpression/CMP0044/cmp0044-check.cpp26
-rw-r--r--Tests/GeneratorExpression/CMakeLists.txt70
-rw-r--r--Tests/GeneratorExpression/check-part1.cmake1
-rw-r--r--Tests/GeneratorExpression/check-part3.cmake34
-rw-r--r--Tests/GeneratorExpression/echo.c8
-rw-r--r--Tests/GeneratorExpression/pwd.c34
-rw-r--r--Tests/IncludeDirectories/CMakeLists.txt2
-rw-r--r--Tests/IncludeDirectories/SystemIncludeDirectories/CMakeLists.txt32
-rw-r--r--Tests/IncludeDirectories/SystemIncludeDirectories/imported_consumer.cpp7
-rw-r--r--Tests/IncludeDirectories/SystemIncludeDirectories/systemlib_header_only/systemlib.h16
-rw-r--r--Tests/InterfaceLibrary/CMakeLists.txt44
-rw-r--r--Tests/InterfaceLibrary/broken.cpp2
-rw-r--r--Tests/InterfaceLibrary/definetestexe.cpp21
-rw-r--r--Tests/InterfaceLibrary/dummy.cpp5
-rw-r--r--Tests/InterfaceLibrary/headerdir/CMakeLists.txt8
-rw-r--r--Tests/InterfaceLibrary/headerdir/iface_header.h1
-rw-r--r--Tests/InterfaceLibrary/libsdir/CMakeLists.txt28
-rw-r--r--Tests/InterfaceLibrary/libsdir/shareddependlib.cpp7
-rw-r--r--Tests/InterfaceLibrary/libsdir/shareddependlib/shareddependlib.h12
-rw-r--r--Tests/InterfaceLibrary/libsdir/sharedlib.cpp12
-rw-r--r--Tests/InterfaceLibrary/libsdir/sharedlib/sharedlib.h15
-rw-r--r--Tests/InterfaceLibrary/map_config.cpp15
-rw-r--r--Tests/InterfaceLibrary/sharedlibtestexe.cpp19
-rw-r--r--Tests/LinkDirectory/CMakeLists.txt4
-rw-r--r--Tests/MacRuntimePath/A/CMakeLists.txt6
-rw-r--r--Tests/MacRuntimePath/CMakeLists.txt6
-rw-r--r--Tests/MacRuntimePath/InitialCache.cmake.in1
-rw-r--r--Tests/MakeClean/CMakeLists.txt13
-rw-r--r--Tests/MakeClean/ToClean/CMakeLists.txt15
-rw-r--r--Tests/MissingInstall/CMakeLists.txt25
-rw-r--r--Tests/MissingInstall/ExpectInstallFail.cmake18
-rw-r--r--Tests/MissingInstall/mybin.cpp1
-rw-r--r--Tests/Module/CheckTypeSize/CMakeLists.txt15
-rw-r--r--Tests/Module/CheckTypeSize/CheckTypeSize.cxx172
-rw-r--r--Tests/Module/CheckTypeSize/config.hxx.in23
-rw-r--r--Tests/Module/CheckTypeSize/someclass.hxx14
-rw-r--r--Tests/Module/ExternalData/CMakeLists.txt1
-rw-r--r--Tests/Module/ExternalData/Data4/CMakeLists.txt15
-rw-r--r--Tests/Module/ExternalData/Data4/Data.dat.md51
-rw-r--r--Tests/Module/ExternalData/Data4/Data4Check.cmake26
-rw-r--r--Tests/Module/ExternalData/Data4/Other.dat.md51
-rw-r--r--Tests/Module/GenerateExportHeader/CMakeLists.txt113
-rw-r--r--Tests/Module/GenerateExportHeader/exportheader_test.cpp54
-rw-r--r--Tests/Module/GenerateExportHeader/lib_shared_and_static/CMakeLists.txt16
-rw-r--r--Tests/Module/GenerateExportHeader/lib_shared_and_static/libshared_and_static.h26
-rw-r--r--Tests/Module/GenerateExportHeader/lib_shared_and_statictest/CMakeLists.txt33
-rw-r--r--Tests/Module/GenerateExportHeader/libsharedtest/CMakeLists.txt45
-rw-r--r--Tests/Module/GenerateExportHeader/libstatictest/CMakeLists.txt18
-rw-r--r--Tests/Module/GenerateExportHeader/override_symbol/CMakeLists.txt11
-rw-r--r--Tests/Module/GenerateExportHeader/override_symbol/main.cpp9
-rw-r--r--Tests/Module/GenerateExportHeader/override_symbol/someclass.cpp7
-rw-r--r--Tests/Module/GenerateExportHeader/override_symbol/someclass.h8
-rw-r--r--Tests/Module/GenerateExportHeader/prefix/CMakeLists.txt15
-rw-r--r--Tests/Module/GenerateExportHeader/prefix/main.cpp8
-rw-r--r--Tests/Module/GenerateExportHeader/prefix/useprefixclass.cpp7
-rw-r--r--Tests/Module/GenerateExportHeader/prefix/useprefixclass.h13
-rw-r--r--Tests/Module/GenerateExportHeader/reference/Empty/libshared_export.h41
-rw-r--r--Tests/Module/GenerateExportHeader/reference/Empty/libstatic_export.h41
-rw-r--r--Tests/Module/GenerateExportHeader/reference/MinGW/libshared_export.h41
-rw-r--r--Tests/Module/GenerateExportHeader/reference/MinGW/libstatic_export.h41
-rw-r--r--Tests/Module/GenerateExportHeader/reference/UNIX/libshared_export.h41
-rw-r--r--Tests/Module/GenerateExportHeader/reference/UNIX/libstatic_export.h41
-rw-r--r--Tests/Module/GenerateExportHeader/reference/UNIX_DeprecatedOnly/libshared_export.h41
-rw-r--r--Tests/Module/GenerateExportHeader/reference/UNIX_DeprecatedOnly/libstatic_export.h41
-rw-r--r--Tests/Module/GenerateExportHeader/reference/Win32/libshared_export.h41
-rw-r--r--Tests/Module/GenerateExportHeader/reference/Win32/libstatic_export.h41
-rw-r--r--Tests/Module/GenerateExportHeader/reference/WinEmpty/libshared_export.h41
-rw-r--r--Tests/Module/GenerateExportHeader/reference/WinEmpty/libstatic_export.h41
-rw-r--r--Tests/Module/GenerateExportHeader/visibility_preset/CMakeLists.txt17
-rw-r--r--Tests/Module/GenerateExportHeader/visibility_preset/main.cpp9
-rw-r--r--Tests/Module/GenerateExportHeader/visibility_preset/visibility_preset.cpp7
-rw-r--r--Tests/Module/GenerateExportHeader/visibility_preset/visibility_preset.h13
-rw-r--r--Tests/ObjectLibrary/CMakeLists.txt2
-rw-r--r--Tests/ObjectLibrary/ExportLanguages/CMakeLists.txt15
-rw-r--r--Tests/ObjectLibrary/ExportLanguages/ExportLanguagesTest/CMakeLists.txt14
-rw-r--r--Tests/ObjectLibrary/ExportLanguages/a.c1
-rw-r--r--Tests/ObjectLibrary/ExportLanguages/a.cxx (renamed from Tests/RunCMake/ObjectLibrary/a.cxx)0
-rw-r--r--Tests/Plugin/CMakeLists.txt38
-rw-r--r--Tests/Plugin/PluginTest/CMakeLists.txt34
-rw-r--r--Tests/PositionIndependentTargets/CMakeLists.txt1
-rw-r--r--Tests/PositionIndependentTargets/interface/CMakeLists.txt27
-rw-r--r--Tests/PythonCoverage/DartConfiguration.tcl.in8
-rw-r--r--Tests/PythonCoverage/coverage.xml.in35
-rw-r--r--Tests/PythonCoverage/coveragetest/foo.py8
-rw-r--r--Tests/PythonCoverage/coveragetest/test_foo.py11
-rw-r--r--Tests/Qt4And5Automoc/CMakeLists.txt24
-rw-r--r--Tests/Qt4And5Automoc/main.cpp.in (renamed from Tests/Qt4And5Automoc/main.cpp)0
-rw-r--r--Tests/Qt4And5Automoc/main_qt4.cpp4
-rw-r--r--Tests/Qt4And5Automoc/main_qt5.cpp4
-rw-r--r--Tests/QtAutoUicInterface/CMakeLists.txt70
-rw-r--r--Tests/QtAutoUicInterface/klocalizedstring.cpp12
-rw-r--r--Tests/QtAutoUicInterface/klocalizedstring.h17
-rw-r--r--Tests/QtAutoUicInterface/libwidget.cpp9
-rw-r--r--Tests/QtAutoUicInterface/libwidget.h24
-rw-r--r--Tests/QtAutoUicInterface/libwidget.ui32
-rw-r--r--Tests/QtAutoUicInterface/main.cpp75
-rw-r--r--Tests/QtAutoUicInterface/mywidget.cpp9
-rw-r--r--Tests/QtAutoUicInterface/mywidget.h24
-rw-r--r--Tests/QtAutoUicInterface/mywidget.ui32
-rw-r--r--Tests/QtAutogen/Adir/CMakeLists.txt (renamed from Tests/QtAutomoc/Adir/CMakeLists.txt)0
-rw-r--r--Tests/QtAutogen/Adir/libA.cpp (renamed from Tests/QtAutomoc/Adir/libA.cpp)0
-rw-r--r--Tests/QtAutogen/Adir/libA.h (renamed from Tests/QtAutomoc/Adir/libA.h)0
-rw-r--r--Tests/QtAutogen/Bdir/CMakeLists.txt (renamed from Tests/QtAutomoc/Bdir/CMakeLists.txt)0
-rw-r--r--Tests/QtAutogen/Bdir/libB.cpp (renamed from Tests/QtAutomoc/Bdir/libB.cpp)0
-rw-r--r--Tests/QtAutogen/Bdir/libB.h (renamed from Tests/QtAutomoc/Bdir/libB.h)0
-rw-r--r--Tests/QtAutogen/CMakeLists.txt105
-rw-r--r--Tests/QtAutogen/abc.cpp (renamed from Tests/QtAutomoc/abc.cpp)0
-rw-r--r--Tests/QtAutogen/abc.h (renamed from Tests/QtAutomoc/abc.h)0
-rw-r--r--Tests/QtAutogen/abc_p.h (renamed from Tests/QtAutomoc/abc_p.h)0
-rw-r--r--Tests/QtAutogen/bar.cpp (renamed from Tests/QtAutomoc/bar.cpp)0
-rw-r--r--Tests/QtAutogen/blub.cpp (renamed from Tests/QtAutomoc/blub.cpp)0
-rw-r--r--Tests/QtAutogen/blub.h (renamed from Tests/QtAutomoc/blub.h)0
-rw-r--r--Tests/QtAutogen/calwidget.cpp434
-rw-r--r--Tests/QtAutogen/calwidget.h128
-rw-r--r--Tests/QtAutogen/calwidget.ui32
-rw-r--r--Tests/QtAutogen/codeeditor.cpp (renamed from Tests/QtAutomoc/codeeditor.cpp)0
-rw-r--r--Tests/QtAutogen/codeeditor.h (renamed from Tests/QtAutomoc/codeeditor.h)0
-rw-r--r--Tests/QtAutogen/defines_test/CMakeLists.txt (renamed from Tests/QtAutomoc/defines_test/CMakeLists.txt)0
-rw-r--r--Tests/QtAutogen/defines_test/defines_test.cpp (renamed from Tests/QtAutomoc/defines_test/defines_test.cpp)0
-rw-r--r--Tests/QtAutogen/empty.cpp (renamed from Tests/QtAutomoc/empty.cpp)0
-rw-r--r--Tests/QtAutogen/empty.h (renamed from Tests/QtAutomoc/empty.h)0
-rw-r--r--Tests/QtAutogen/foo.cpp (renamed from Tests/QtAutomoc/foo.cpp)0
-rw-r--r--Tests/QtAutogen/foo.h (renamed from Tests/QtAutomoc/foo.h)0
-rw-r--r--Tests/QtAutogen/gadget.cpp4
-rw-r--r--Tests/QtAutogen/gadget.h18
-rw-r--r--Tests/QtAutogen/generated.cpp10
-rw-r--r--Tests/QtAutogen/generated.h18
-rw-r--r--Tests/QtAutogen/libC.cpp (renamed from Tests/QtAutomoc/libC.cpp)0
-rw-r--r--Tests/QtAutogen/libC.h (renamed from Tests/QtAutomoc/libC.h)0
-rw-r--r--Tests/QtAutogen/main.cpp85
-rw-r--r--Tests/QtAutogen/myinterface.h.in14
-rw-r--r--Tests/QtAutogen/myotherinterface.h.in14
-rw-r--r--Tests/QtAutogen/not_generated_file.qrc5
-rw-r--r--Tests/QtAutogen/private_slot.cpp (renamed from Tests/QtAutomoc/private_slot.cpp)0
-rw-r--r--Tests/QtAutogen/private_slot.h (renamed from Tests/QtAutomoc/private_slot.h)0
-rw-r--r--Tests/QtAutogen/resourcetester.cpp21
-rw-r--r--Tests/QtAutogen/resourcetester.h17
-rw-r--r--Tests/QtAutogen/sub/bar.h (renamed from Tests/QtAutomoc/sub/bar.h)0
-rw-r--r--Tests/QtAutogen/sub/uiconly.cpp13
-rw-r--r--Tests/QtAutogen/sub/uiconly.h20
-rw-r--r--Tests/QtAutogen/sub/uiconly.ui24
-rw-r--r--Tests/QtAutogen/test.qrc5
-rw-r--r--Tests/QtAutogen/xyz.cpp (renamed from Tests/QtAutomoc/xyz.cpp)0
-rw-r--r--Tests/QtAutogen/xyz.h (renamed from Tests/QtAutomoc/xyz.h)0
-rw-r--r--Tests/QtAutogen/yaf.cpp (renamed from Tests/QtAutomoc/yaf.cpp)0
-rw-r--r--Tests/QtAutogen/yaf.h (renamed from Tests/QtAutomoc/yaf.h)0
-rw-r--r--Tests/QtAutogen/yaf_p.h (renamed from Tests/QtAutomoc/yaf_p.h)0
-rw-r--r--Tests/QtAutomoc/CMakeLists.txt68
-rw-r--r--Tests/QtAutomoc/calwidget.cpp431
-rw-r--r--Tests/QtAutomoc/calwidget.h121
-rw-r--r--Tests/QtAutomoc/main.cpp86
-rw-r--r--Tests/RunCMake/CMP0022/CMP0022-NOWARN-shared.cmake2
-rw-r--r--Tests/RunCMake/CMP0022/CMP0022-NOWARN-static-NEW-stderr.txt (renamed from Tests/RunCMake/Syntax/ParenNoSpace-stderr.txt)0
-rw-r--r--Tests/RunCMake/CMP0022/CMP0022-NOWARN-static-NEW.cmake14
-rw-r--r--Tests/RunCMake/CMP0022/CMP0022-NOWARN-static.cmake6
-rw-r--r--Tests/RunCMake/CMP0022/CMP0022-WARN.cmake2
-rw-r--r--Tests/RunCMake/CMP0022/CMP0022-export-stderr.txt2
-rw-r--r--Tests/RunCMake/CMP0022/RunCMakeTest.cmake1
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-NEW-result.txt (renamed from Tests/RunCMake/build_command/BeforeProject-result.txt)0
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-NEW-stderr.txt7
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-NEW.cmake7
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-OLD-result.txt1
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-OLD-stderr.txt1
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-OLD.cmake7
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-WARN-result.txt1
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-WARN-stderr.txt12
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-WARN.cmake5
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-IMPORTED-result.txt1
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-IMPORTED-stderr.txt1
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-IMPORTED.cmake6
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-NEW-result.txt1
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-NEW-stderr.txt7
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-NEW.cmake7
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-OLD-result.txt1
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-OLD-stderr.txt1
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-OLD.cmake7
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-WARN-result.txt1
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-WARN-stderr.txt12
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-WARN.cmake5
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-NEW-result.txt1
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-NEW-stderr.txt7
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-NEW.cmake7
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-WARN-result.txt1
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-WARN-stderr.txt12
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-WARN.cmake5
-rw-r--r--Tests/RunCMake/CMP0026/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/CMP0026/RunCMakeTest.cmake11
-rw-r--r--Tests/RunCMake/CMP0026/empty.cpp7
-rw-r--r--Tests/RunCMake/CMP0027/CMP0027-NEW-result.txt1
-rw-r--r--Tests/RunCMake/CMP0027/CMP0027-NEW-stderr.txt13
-rw-r--r--Tests/RunCMake/CMP0027/CMP0027-NEW.cmake10
-rw-r--r--Tests/RunCMake/CMP0027/CMP0027-OLD-result.txt1
-rw-r--r--Tests/RunCMake/CMP0027/CMP0027-OLD-stderr.txt13
-rw-r--r--Tests/RunCMake/CMP0027/CMP0027-OLD.cmake10
-rw-r--r--Tests/RunCMake/CMP0027/CMP0027-WARN-result.txt1
-rw-r--r--Tests/RunCMake/CMP0027/CMP0027-WARN-stderr.txt18
-rw-r--r--Tests/RunCMake/CMP0027/CMP0027-WARN.cmake8
-rw-r--r--Tests/RunCMake/CMP0027/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/CMP0027/RunCMakeTest.cmake5
-rw-r--r--Tests/RunCMake/CMP0027/empty.cpp0
-rw-r--r--Tests/RunCMake/CMP0028/CMP0028-NEW-iface-result.txt1
-rw-r--r--Tests/RunCMake/CMP0028/CMP0028-NEW-iface-stderr.txt6
-rw-r--r--Tests/RunCMake/CMP0028/CMP0028-NEW-iface.cmake7
-rw-r--r--Tests/RunCMake/CMP0028/CMP0028-NEW-result.txt1
-rw-r--r--Tests/RunCMake/CMP0028/CMP0028-NEW-stderr.txt6
-rw-r--r--Tests/RunCMake/CMP0028/CMP0028-NEW.cmake5
-rw-r--r--Tests/RunCMake/CMP0028/CMP0028-OLD-iface-result.txt1
-rw-r--r--Tests/RunCMake/CMP0028/CMP0028-OLD-iface-stderr.txt1
-rw-r--r--Tests/RunCMake/CMP0028/CMP0028-OLD-iface.cmake7
-rw-r--r--Tests/RunCMake/CMP0028/CMP0028-OLD-result.txt1
-rw-r--r--Tests/RunCMake/CMP0028/CMP0028-OLD-stderr.txt1
-rw-r--r--Tests/RunCMake/CMP0028/CMP0028-OLD.cmake5
-rw-r--r--Tests/RunCMake/CMP0028/CMP0028-WARN-iface-result.txt1
-rw-r--r--Tests/RunCMake/CMP0028/CMP0028-WARN-iface-stderr.txt11
-rw-r--r--Tests/RunCMake/CMP0028/CMP0028-WARN-iface.cmake5
-rw-r--r--Tests/RunCMake/CMP0028/CMP0028-WARN-result.txt1
-rw-r--r--Tests/RunCMake/CMP0028/CMP0028-WARN-stderr.txt11
-rw-r--r--Tests/RunCMake/CMP0028/CMP0028-WARN.cmake3
-rw-r--r--Tests/RunCMake/CMP0028/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/CMP0028/RunCMakeTest.cmake8
-rw-r--r--Tests/RunCMake/CMP0028/empty.cpp0
-rw-r--r--Tests/RunCMake/CMP0037/CMP0037-NEW-colon-result.txt1
-rw-r--r--Tests/RunCMake/CMP0037/CMP0037-NEW-colon-stderr.txt20
-rw-r--r--Tests/RunCMake/CMP0037/CMP0037-NEW-colon.cmake6
-rw-r--r--Tests/RunCMake/CMP0037/CMP0037-NEW-reserved-result.txt1
-rw-r--r--Tests/RunCMake/CMP0037/CMP0037-NEW-reserved-stderr.txt18
-rw-r--r--Tests/RunCMake/CMP0037/CMP0037-NEW-reserved.cmake6
-rw-r--r--Tests/RunCMake/CMP0037/CMP0037-NEW-space-result.txt1
-rw-r--r--Tests/RunCMake/CMP0037/CMP0037-NEW-space-stderr.txt20
-rw-r--r--Tests/RunCMake/CMP0037/CMP0037-NEW-space.cmake6
-rw-r--r--Tests/RunCMake/CMP0037/CMP0037-OLD-reserved-result.txt1
-rw-r--r--Tests/RunCMake/CMP0037/CMP0037-OLD-reserved-stderr.txt1
-rw-r--r--Tests/RunCMake/CMP0037/CMP0037-OLD-reserved.cmake6
-rw-r--r--Tests/RunCMake/CMP0037/CMP0037-OLD-space-result.txt1
-rw-r--r--Tests/RunCMake/CMP0037/CMP0037-OLD-space-stderr.txt1
-rw-r--r--Tests/RunCMake/CMP0037/CMP0037-OLD-space.cmake6
-rw-r--r--Tests/RunCMake/CMP0037/CMP0037-WARN-colon-result.txt1
-rw-r--r--Tests/RunCMake/CMP0037/CMP0037-WARN-colon-stderr.txt38
-rw-r--r--Tests/RunCMake/CMP0037/CMP0037-WARN-colon.cmake4
-rw-r--r--Tests/RunCMake/CMP0037/CMP0037-WARN-space-result.txt1
-rw-r--r--Tests/RunCMake/CMP0037/CMP0037-WARN-space-stderr.txt37
-rw-r--r--Tests/RunCMake/CMP0037/CMP0037-WARN-space.cmake4
-rw-r--r--Tests/RunCMake/CMP0037/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/CMP0037/RunCMakeTest.cmake13
-rw-r--r--Tests/RunCMake/CMP0037/empty.cpp7
-rw-r--r--Tests/RunCMake/CMP0038/CMP0038-NEW-result.txt1
-rw-r--r--Tests/RunCMake/CMP0038/CMP0038-NEW-stderr.txt4
-rw-r--r--Tests/RunCMake/CMP0038/CMP0038-NEW.cmake4
-rw-r--r--Tests/RunCMake/CMP0038/CMP0038-OLD-result.txt1
-rw-r--r--Tests/RunCMake/CMP0038/CMP0038-OLD-stderr.txt1
-rw-r--r--Tests/RunCMake/CMP0038/CMP0038-OLD.cmake4
-rw-r--r--Tests/RunCMake/CMP0038/CMP0038-WARN-result.txt1
-rw-r--r--Tests/RunCMake/CMP0038/CMP0038-WARN-stderr.txt9
-rw-r--r--Tests/RunCMake/CMP0038/CMP0038-WARN.cmake3
-rw-r--r--Tests/RunCMake/CMP0038/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/CMP0038/RunCMakeTest.cmake5
-rw-r--r--Tests/RunCMake/CMP0038/empty.cpp7
-rw-r--r--Tests/RunCMake/CMP0039/CMP0039-NEW-result.txt1
-rw-r--r--Tests/RunCMake/CMP0039/CMP0039-NEW-stderr.txt5
-rw-r--r--Tests/RunCMake/CMP0039/CMP0039-NEW.cmake7
-rw-r--r--Tests/RunCMake/CMP0039/CMP0039-OLD-result.txt1
-rw-r--r--Tests/RunCMake/CMP0039/CMP0039-OLD-stderr.txt1
-rw-r--r--Tests/RunCMake/CMP0039/CMP0039-OLD.cmake7
-rw-r--r--Tests/RunCMake/CMP0039/CMP0039-WARN-result.txt1
-rw-r--r--Tests/RunCMake/CMP0039/CMP0039-WARN-stderr.txt10
-rw-r--r--Tests/RunCMake/CMP0039/CMP0039-WARN.cmake5
-rw-r--r--Tests/RunCMake/CMP0039/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/CMP0039/RunCMakeTest.cmake5
-rw-r--r--Tests/RunCMake/CMP0040/CMP0040-NEW-existing-target-result.txt1
-rw-r--r--Tests/RunCMake/CMP0040/CMP0040-NEW-existing-target-stderr.txt1
-rw-r--r--Tests/RunCMake/CMP0040/CMP0040-NEW-existing-target.cmake7
-rw-r--r--Tests/RunCMake/CMP0040/CMP0040-NEW-missing-target-result.txt1
-rw-r--r--Tests/RunCMake/CMP0040/CMP0040-NEW-missing-target-stderr.txt4
-rw-r--r--Tests/RunCMake/CMP0040/CMP0040-NEW-missing-target.cmake5
-rw-r--r--Tests/RunCMake/CMP0040/CMP0040-OLD-existing-target-result.txt1
-rw-r--r--Tests/RunCMake/CMP0040/CMP0040-OLD-existing-target-stderr.txt1
-rw-r--r--Tests/RunCMake/CMP0040/CMP0040-OLD-existing-target.cmake7
-rw-r--r--Tests/RunCMake/CMP0040/CMP0040-OLD-missing-target-result.txt1
-rw-r--r--Tests/RunCMake/CMP0040/CMP0040-OLD-missing-target-stderr.txt1
-rw-r--r--Tests/RunCMake/CMP0040/CMP0040-OLD-missing-target.cmake5
-rw-r--r--Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target-result.txt1
-rw-r--r--Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target-stderr.txt10
-rw-r--r--Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target.cmake4
-rw-r--r--Tests/RunCMake/CMP0040/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/CMP0040/RunCMakeTest.cmake8
-rw-r--r--Tests/RunCMake/CMP0040/empty.cpp7
-rw-r--r--Tests/RunCMake/CMP0041/CMP0041-NEW-result.txt1
-rw-r--r--Tests/RunCMake/CMP0041/CMP0041-NEW-stderr.txt20
-rw-r--r--Tests/RunCMake/CMP0041/CMP0041-NEW.cmake12
-rw-r--r--Tests/RunCMake/CMP0041/CMP0041-OLD-result.txt1
-rw-r--r--Tests/RunCMake/CMP0041/CMP0041-OLD-stderr.txt1
-rw-r--r--Tests/RunCMake/CMP0041/CMP0041-OLD.cmake12
-rw-r--r--Tests/RunCMake/CMP0041/CMP0041-WARN-result.txt1
-rw-r--r--Tests/RunCMake/CMP0041/CMP0041-WARN-stderr.txt32
-rw-r--r--Tests/RunCMake/CMP0041/CMP0041-WARN.cmake10
-rw-r--r--Tests/RunCMake/CMP0041/CMP0041-tid-NEW-result.txt1
-rw-r--r--Tests/RunCMake/CMP0041/CMP0041-tid-NEW-stderr.txt22
-rw-r--r--Tests/RunCMake/CMP0041/CMP0041-tid-NEW.cmake11
-rw-r--r--Tests/RunCMake/CMP0041/CMP0041-tid-OLD-result.txt1
-rw-r--r--Tests/RunCMake/CMP0041/CMP0041-tid-OLD-stderr.txt1
-rw-r--r--Tests/RunCMake/CMP0041/CMP0041-tid-OLD.cmake11
-rw-r--r--Tests/RunCMake/CMP0041/CMP0041-tid-WARN-result.txt1
-rw-r--r--Tests/RunCMake/CMP0041/CMP0041-tid-WARN-stderr.txt34
-rw-r--r--Tests/RunCMake/CMP0041/CMP0041-tid-WARN.cmake9
-rw-r--r--Tests/RunCMake/CMP0041/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/CMP0041/RunCMakeTest.cmake8
-rw-r--r--Tests/RunCMake/CMP0041/empty.cpp7
-rw-r--r--Tests/RunCMake/CMP0042/CMP0042-NEW-result.txt1
-rw-r--r--Tests/RunCMake/CMP0042/CMP0042-NEW-stderr.txt1
-rw-r--r--Tests/RunCMake/CMP0042/CMP0042-NEW.cmake4
-rw-r--r--Tests/RunCMake/CMP0042/CMP0042-OLD-result.txt1
-rw-r--r--Tests/RunCMake/CMP0042/CMP0042-OLD-stderr.txt1
-rw-r--r--Tests/RunCMake/CMP0042/CMP0042-OLD.cmake4
-rw-r--r--Tests/RunCMake/CMP0042/CMP0042-WARN-result.txt1
-rw-r--r--Tests/RunCMake/CMP0042/CMP0042-WARN-stderr.txt10
-rw-r--r--Tests/RunCMake/CMP0042/CMP0042-WARN.cmake9
-rw-r--r--Tests/RunCMake/CMP0042/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/CMP0042/RunCMakeTest.cmake5
-rw-r--r--Tests/RunCMake/CMP0042/empty.cpp7
-rw-r--r--Tests/RunCMake/CMP0043/CMP0043-NEW-result.txt1
-rw-r--r--Tests/RunCMake/CMP0043/CMP0043-NEW-stderr.txt1
-rw-r--r--Tests/RunCMake/CMP0043/CMP0043-NEW.cmake7
-rw-r--r--Tests/RunCMake/CMP0043/CMP0043-OLD-result.txt1
-rw-r--r--Tests/RunCMake/CMP0043/CMP0043-OLD-stderr.txt1
-rw-r--r--Tests/RunCMake/CMP0043/CMP0043-OLD.cmake7
-rw-r--r--Tests/RunCMake/CMP0043/CMP0043-WARN-result.txt1
-rw-r--r--Tests/RunCMake/CMP0043/CMP0043-WARN-stderr.txt5
-rw-r--r--Tests/RunCMake/CMP0043/CMP0043-WARN.cmake5
-rw-r--r--Tests/RunCMake/CMP0043/CMakeLists.txt7
-rw-r--r--Tests/RunCMake/CMP0043/RunCMakeTest.cmake7
-rw-r--r--Tests/RunCMake/CMP0043/empty.cpp7
-rw-r--r--Tests/RunCMake/CMP0045/CMP0045-NEW-result.txt1
-rw-r--r--Tests/RunCMake/CMP0045/CMP0045-NEW-stderr.txt4
-rw-r--r--Tests/RunCMake/CMP0045/CMP0045-NEW.cmake4
-rw-r--r--Tests/RunCMake/CMP0045/CMP0045-OLD-result.txt1
-rw-r--r--Tests/RunCMake/CMP0045/CMP0045-OLD-stderr.txt1
-rw-r--r--Tests/RunCMake/CMP0045/CMP0045-OLD.cmake4
-rw-r--r--Tests/RunCMake/CMP0045/CMP0045-WARN-result.txt1
-rw-r--r--Tests/RunCMake/CMP0045/CMP0045-WARN-stderr.txt9
-rw-r--r--Tests/RunCMake/CMP0045/CMP0045-WARN.cmake2
-rw-r--r--Tests/RunCMake/CMP0045/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/CMP0045/RunCMakeTest.cmake5
-rw-r--r--Tests/RunCMake/CMP0045/empty.cpp7
-rw-r--r--Tests/RunCMake/CMP0046/CMP0046-Duplicate-result.txt1
-rw-r--r--Tests/RunCMake/CMP0046/CMP0046-Duplicate-stderr.txt10
-rw-r--r--Tests/RunCMake/CMP0046/CMP0046-Duplicate.cmake9
-rw-r--r--Tests/RunCMake/CMP0046/CMP0046-NEW-existing-dependency-stderr.txt1
-rw-r--r--Tests/RunCMake/CMP0046/CMP0046-NEW-existing-dependency.cmake5
-rw-r--r--Tests/RunCMake/CMP0046/CMP0046-NEW-missing-dependency-result.txt1
-rw-r--r--Tests/RunCMake/CMP0046/CMP0046-NEW-missing-dependency-stderr.txt4
-rw-r--r--Tests/RunCMake/CMP0046/CMP0046-NEW-missing-dependency.cmake4
-rw-r--r--Tests/RunCMake/CMP0046/CMP0046-OLD-existing-dependency-stderr.txt1
-rw-r--r--Tests/RunCMake/CMP0046/CMP0046-OLD-existing-dependency.cmake5
-rw-r--r--Tests/RunCMake/CMP0046/CMP0046-OLD-missing-dependency-stderr.txt1
-rw-r--r--Tests/RunCMake/CMP0046/CMP0046-OLD-missing-dependency.cmake4
-rw-r--r--Tests/RunCMake/CMP0046/CMP0046-WARN-missing-dependency-stderr.txt9
-rw-r--r--Tests/RunCMake/CMP0046/CMP0046-WARN-missing-dependency.cmake2
-rw-r--r--Tests/RunCMake/CMP0046/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/CMP0046/RunCMakeTest.cmake9
-rw-r--r--Tests/RunCMake/CMP0046/empty.cpp7
-rw-r--r--Tests/RunCMake/CMP0049/CMP0049-NEW-result.txt1
-rw-r--r--Tests/RunCMake/CMP0049/CMP0049-NEW-stderr.txt6
-rw-r--r--Tests/RunCMake/CMP0049/CMP0049-NEW.cmake5
-rw-r--r--Tests/RunCMake/CMP0049/CMP0049-OLD-result.txt1
-rw-r--r--Tests/RunCMake/CMP0049/CMP0049-OLD-stderr.txt1
-rw-r--r--Tests/RunCMake/CMP0049/CMP0049-OLD.cmake5
-rw-r--r--Tests/RunCMake/CMP0049/CMP0049-WARN-result.txt1
-rw-r--r--Tests/RunCMake/CMP0049/CMP0049-WARN-stderr.txt11
-rw-r--r--Tests/RunCMake/CMP0049/CMP0049-WARN.cmake3
-rw-r--r--Tests/RunCMake/CMP0049/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/CMP0049/RunCMakeTest.cmake5
-rw-r--r--Tests/RunCMake/CMP0049/empty.cpp7
-rw-r--r--Tests/RunCMake/CMP0050/CMP0050-NEW-result.txt1
-rw-r--r--Tests/RunCMake/CMP0050/CMP0050-NEW-stderr.txt4
-rw-r--r--Tests/RunCMake/CMP0050/CMP0050-NEW.cmake13
-rw-r--r--Tests/RunCMake/CMP0050/CMP0050-OLD-result.txt1
-rw-r--r--Tests/RunCMake/CMP0050/CMP0050-OLD-stderr.txt1
-rw-r--r--Tests/RunCMake/CMP0050/CMP0050-OLD.cmake13
-rw-r--r--Tests/RunCMake/CMP0050/CMP0050-WARN-result.txt1
-rw-r--r--Tests/RunCMake/CMP0050/CMP0050-WARN-stderr.txt9
-rw-r--r--Tests/RunCMake/CMP0050/CMP0050-WARN.cmake11
-rw-r--r--Tests/RunCMake/CMP0050/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/CMP0050/RunCMakeTest.cmake5
-rw-r--r--Tests/RunCMake/CMP0050/empty.cpp10
-rw-r--r--Tests/RunCMake/CMP0050/input.h.in2
-rw-r--r--Tests/RunCMake/CMakeLists.txt70
-rw-r--r--Tests/RunCMake/CTest/BeforeProject-stderr.txt10
-rw-r--r--Tests/RunCMake/CheckModules/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/CheckModules/CheckStructHasMemberMissingKey-result.txt1
-rw-r--r--Tests/RunCMake/CheckModules/CheckStructHasMemberMissingKey-stderr.txt8
-rw-r--r--Tests/RunCMake/CheckModules/CheckStructHasMemberMissingKey.cmake2
-rw-r--r--Tests/RunCMake/CheckModules/CheckStructHasMemberMissingLanguage-result.txt1
-rw-r--r--Tests/RunCMake/CheckModules/CheckStructHasMemberMissingLanguage-stderr.txt8
-rw-r--r--Tests/RunCMake/CheckModules/CheckStructHasMemberMissingLanguage.cmake2
-rw-r--r--Tests/RunCMake/CheckModules/CheckStructHasMemberOk.cmake6
-rw-r--r--Tests/RunCMake/CheckModules/CheckStructHasMemberTooManyArguments-result.txt1
-rw-r--r--Tests/RunCMake/CheckModules/CheckStructHasMemberTooManyArguments-stderr.txt8
-rw-r--r--Tests/RunCMake/CheckModules/CheckStructHasMemberTooManyArguments.cmake2
-rw-r--r--Tests/RunCMake/CheckModules/CheckStructHasMemberUnknownLanguage-result.txt1
-rw-r--r--Tests/RunCMake/CheckModules/CheckStructHasMemberUnknownLanguage-stderr.txt10
-rw-r--r--Tests/RunCMake/CheckModules/CheckStructHasMemberUnknownLanguage.cmake2
-rw-r--r--Tests/RunCMake/CheckModules/CheckStructHasMemberWrongKey-result.txt1
-rw-r--r--Tests/RunCMake/CheckModules/CheckStructHasMemberWrongKey-stderr.txt8
-rw-r--r--Tests/RunCMake/CheckModules/CheckStructHasMemberWrongKey.cmake2
-rw-r--r--Tests/RunCMake/CheckModules/CheckTypeSizeMissingLanguage-result.txt1
-rw-r--r--Tests/RunCMake/CheckModules/CheckTypeSizeMissingLanguage-stderr.txt8
-rw-r--r--Tests/RunCMake/CheckModules/CheckTypeSizeMissingLanguage.cmake2
-rw-r--r--Tests/RunCMake/CheckModules/CheckTypeSizeMixedArgs-result.txt1
-rw-r--r--Tests/RunCMake/CheckModules/CheckTypeSizeMixedArgs-stderr.txt10
-rw-r--r--Tests/RunCMake/CheckModules/CheckTypeSizeMixedArgs.cmake2
-rw-r--r--Tests/RunCMake/CheckModules/CheckTypeSizeOk.cmake12
-rw-r--r--Tests/RunCMake/CheckModules/CheckTypeSizeUnknownArgument-result.txt1
-rw-r--r--Tests/RunCMake/CheckModules/CheckTypeSizeUnknownArgument-stderr.txt8
-rw-r--r--Tests/RunCMake/CheckModules/CheckTypeSizeUnknownArgument.cmake2
-rw-r--r--Tests/RunCMake/CheckModules/CheckTypeSizeUnknownLanguage-result.txt1
-rw-r--r--Tests/RunCMake/CheckModules/CheckTypeSizeUnknownLanguage-stderr.txt10
-rw-r--r--Tests/RunCMake/CheckModules/CheckTypeSizeUnknownLanguage.cmake2
-rw-r--r--Tests/RunCMake/CheckModules/RunCMakeTest.cmake14
-rw-r--r--Tests/RunCMake/CommandLine/E_create_symlink-broken-create-check.cmake6
-rw-r--r--Tests/RunCMake/CommandLine/E_create_symlink-broken-replace-check.cmake3
-rw-r--r--Tests/RunCMake/CommandLine/E_create_symlink-missing-dir-result.txt1
-rw-r--r--Tests/RunCMake/CommandLine/E_create_symlink-missing-dir-stderr.txt1
-rw-r--r--Tests/RunCMake/CommandLine/E_create_symlink-no-replace-dir-result.txt1
-rw-r--r--Tests/RunCMake/CommandLine/E_create_symlink-no-replace-dir-stderr.txt1
-rw-r--r--Tests/RunCMake/CommandLine/E_sleep-bad-arg1-result.txt1
-rw-r--r--Tests/RunCMake/CommandLine/E_sleep-bad-arg1-stderr.txt1
-rw-r--r--Tests/RunCMake/CommandLine/E_sleep-bad-arg2-result.txt1
-rw-r--r--Tests/RunCMake/CommandLine/E_sleep-bad-arg2-stderr.txt1
-rw-r--r--Tests/RunCMake/CommandLine/E_sleep-no-args-result.txt1
-rw-r--r--Tests/RunCMake/CommandLine/E_sleep-no-args-stderr.cmake2
-rw-r--r--Tests/RunCMake/CommandLine/RunCMakeTest.cmake30
-rw-r--r--Tests/RunCMake/CompatibleInterface/AutoUic-result.txt1
-rw-r--r--Tests/RunCMake/CompatibleInterface/AutoUic-stderr.txt11
-rw-r--r--Tests/RunCMake/CompatibleInterface/AutoUic.cmake19
-rw-r--r--Tests/RunCMake/CompatibleInterface/DebugProperties-result.txt1
-rw-r--r--Tests/RunCMake/CompatibleInterface/DebugProperties-stderr.txt101
-rw-r--r--Tests/RunCMake/CompatibleInterface/DebugProperties.cmake74
-rw-r--r--Tests/RunCMake/CompatibleInterface/InterfaceNumber-mismatched-use-result.txt1
-rw-r--r--Tests/RunCMake/CompatibleInterface/InterfaceNumber-mismatched-use-stderr.txt4
-rw-r--r--Tests/RunCMake/CompatibleInterface/InterfaceNumber-mismatched-use.cmake9
-rw-r--r--Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Conflict-stderr.txt3
-rw-r--r--Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Conflict.cmake3
-rw-r--r--Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Min-Conflict-result.txt1
-rw-r--r--Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Min-Conflict-stderr.txt7
-rw-r--r--Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Min-Conflict.cmake9
-rw-r--r--Tests/RunCMake/CompatibleInterface/RunCMakeTest.cmake8
-rw-r--r--Tests/RunCMake/CompatibleInterface/empty.cpp1
-rw-r--r--Tests/RunCMake/CompilerChange/EmptyCompiler-override.cmake2
-rw-r--r--Tests/RunCMake/CompilerChange/EmptyCompiler-stderr.txt12
-rw-r--r--Tests/RunCMake/CompilerChange/EmptyCompiler.cmake3
-rw-r--r--Tests/RunCMake/CompilerChange/RunCMakeTest.cmake4
-rw-r--r--Tests/RunCMake/CompilerNotFound/BadCompilerC-result.txt1
-rw-r--r--Tests/RunCMake/CompilerNotFound/BadCompilerC-stderr.txt12
-rw-r--r--Tests/RunCMake/CompilerNotFound/BadCompilerC.cmake3
-rw-r--r--Tests/RunCMake/CompilerNotFound/BadCompilerCXX-result.txt1
-rw-r--r--Tests/RunCMake/CompilerNotFound/BadCompilerCXX-stderr.txt12
-rw-r--r--Tests/RunCMake/CompilerNotFound/BadCompilerCXX.cmake3
-rw-r--r--Tests/RunCMake/CompilerNotFound/BadCompilerCandCXX-result.txt1
-rw-r--r--Tests/RunCMake/CompilerNotFound/BadCompilerCandCXX-stderr.txt25
-rw-r--r--Tests/RunCMake/CompilerNotFound/BadCompilerCandCXX.cmake4
-rw-r--r--Tests/RunCMake/CompilerNotFound/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/CompilerNotFound/NoCompilerC-IDE-result.txt1
-rw-r--r--Tests/RunCMake/CompilerNotFound/NoCompilerC-IDE-stderr.txt5
-rw-r--r--Tests/RunCMake/CompilerNotFound/NoCompilerC-IDE.cmake3
-rw-r--r--Tests/RunCMake/CompilerNotFound/NoCompilerCXX-IDE-result.txt1
-rw-r--r--Tests/RunCMake/CompilerNotFound/NoCompilerCXX-IDE-stderr.txt5
-rw-r--r--Tests/RunCMake/CompilerNotFound/NoCompilerCXX-IDE.cmake3
-rw-r--r--Tests/RunCMake/CompilerNotFound/NoCompilerCandCXX-IDE-result.txt1
-rw-r--r--Tests/RunCMake/CompilerNotFound/NoCompilerCandCXX-IDE-stderr.txt11
-rw-r--r--Tests/RunCMake/CompilerNotFound/NoCompilerCandCXX-IDE.cmake4
-rw-r--r--Tests/RunCMake/CompilerNotFound/RunCMakeTest.cmake11
-rw-r--r--Tests/RunCMake/Configure/RerunCMake-build1-check.cmake9
-rw-r--r--Tests/RunCMake/Configure/RerunCMake-build2-check.cmake9
-rw-r--r--Tests/RunCMake/Configure/RerunCMake.cmake11
-rw-r--r--Tests/RunCMake/Configure/RerunCMake.txt1
-rw-r--r--Tests/RunCMake/Configure/RunCMakeTest.cmake20
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0029-NEW-result.txt1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0029-NEW-stderr.txt4
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0029-NEW.cmake2
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0029-OLD-stderr.txt1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0029-OLD.cmake2
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0029-WARN-stderr.txt7
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0029-WARN.cmake1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0030-NEW-result.txt1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0030-NEW-stderr.txt4
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0030-NEW.cmake2
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0030-OLD-result.txt1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0030-OLD-stderr.txt4
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0030-OLD.cmake2
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0030-WARN-result.txt1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0030-WARN-stderr.txt12
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0030-WARN.cmake1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0031-NEW-result.txt1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0031-NEW-stderr.txt4
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0031-NEW.cmake2
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0031-OLD-result.txt1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0031-OLD-stderr.txt4
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0031-OLD.cmake2
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0031-WARN-result.txt1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0031-WARN-stderr.txt12
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0031-WARN.cmake1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0032-NEW-result.txt1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0032-NEW-stderr.txt4
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0032-NEW.cmake2
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0032-OLD-result.txt1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0032-OLD-stderr.txt4
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0032-OLD.cmake2
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0032-WARN-result.txt1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0032-WARN-stderr.txt12
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0032-WARN.cmake1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0033-NEW-result.txt1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0033-NEW-stderr.txt4
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0033-NEW.cmake2
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0033-OLD-result.txt1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0033-OLD-stderr.txt4
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0033-OLD.cmake2
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0033-WARN-result.txt1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0033-WARN-stderr.txt12
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0033-WARN.cmake1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0034-NEW-result.txt1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0034-NEW-stderr.txt4
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0034-NEW.cmake2
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0034-OLD-result.txt1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0034-OLD-stderr.txt4
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0034-OLD.cmake2
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0034-WARN-result.txt1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0034-WARN-stderr.txt12
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0034-WARN.cmake1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0035-NEW-result.txt1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0035-NEW-stderr.txt4
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0035-NEW.cmake2
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0035-OLD-result.txt1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0035-OLD-stderr.txt4
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0035-OLD.cmake2
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0035-WARN-result.txt1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0035-WARN-stderr.txt12
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0035-WARN.cmake1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0036-NEW-result.txt1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0036-NEW-stderr.txt4
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0036-NEW.cmake2
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0036-OLD-result.txt1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0036-OLD-stderr.txt4
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0036-OLD.cmake2
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0036-WARN-result.txt1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0036-WARN-stderr.txt12
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMP0036-WARN.cmake1
-rw-r--r--Tests/RunCMake/DisallowedCommands/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/DisallowedCommands/RunCMakeTest.cmake16
-rw-r--r--Tests/RunCMake/ExportWithoutLanguage/NoLanguage-stderr.txt4
-rw-r--r--Tests/RunCMake/ExportWithoutLanguage/header.h2
-rw-r--r--Tests/RunCMake/ExternalData/NoURLTemplates-stderr.txt2
-rw-r--r--Tests/RunCMake/ExternalData/ObjectStoreOnly.cmake3
-rw-r--r--Tests/RunCMake/ExternalData/RunCMakeTest.cmake1
-rw-r--r--Tests/RunCMake/GeneratorExpression/BadCONFIG-stderr.txt11
-rw-r--r--Tests/RunCMake/GeneratorExpression/BadCONFIG.cmake1
-rw-r--r--Tests/RunCMake/GeneratorExpression/CMP0044-WARN-result.txt1
-rw-r--r--Tests/RunCMake/GeneratorExpression/CMP0044-WARN-stderr.txt7
-rw-r--r--Tests/RunCMake/GeneratorExpression/CMP0044-WARN.cmake17
-rw-r--r--Tests/RunCMake/GeneratorExpression/RunCMakeTest.cmake1
-rw-r--r--Tests/RunCMake/ObjectLibrary/ExportLanguages.cmake15
-rw-r--r--Tests/RunCMake/ObjectLibrary/RunCMakeTest.cmake1
-rw-r--r--Tests/RunCMake/ObsoleteQtMacros/AutomocMacro-WARN-stderr.txt2
-rw-r--r--Tests/RunCMake/ObsoleteQtMacros/UseModulesMacro-WARN-stderr.txt2
-rw-r--r--Tests/RunCMake/PositionIndependentCode/Conflict4-result.txt1
-rw-r--r--Tests/RunCMake/PositionIndependentCode/Conflict4-stderr.txt4
-rw-r--r--Tests/RunCMake/PositionIndependentCode/Conflict4.cmake8
-rw-r--r--Tests/RunCMake/PositionIndependentCode/Conflict5-result.txt1
-rw-r--r--Tests/RunCMake/PositionIndependentCode/Conflict5-stderr.txt3
-rw-r--r--Tests/RunCMake/PositionIndependentCode/Conflict5.cmake9
-rw-r--r--Tests/RunCMake/PositionIndependentCode/Conflict6-result.txt1
-rw-r--r--Tests/RunCMake/PositionIndependentCode/Conflict6-stderr.txt4
-rw-r--r--Tests/RunCMake/PositionIndependentCode/Conflict6.cmake8
-rw-r--r--Tests/RunCMake/PositionIndependentCode/Debug-result.txt1
-rw-r--r--Tests/RunCMake/PositionIndependentCode/Debug-stderr.txt6
-rw-r--r--Tests/RunCMake/PositionIndependentCode/Debug.cmake8
-rw-r--r--Tests/RunCMake/PositionIndependentCode/RunCMakeTest.cmake4
-rw-r--r--Tests/RunCMake/README.rst57
-rw-r--r--Tests/RunCMake/RunCMake.cmake41
-rw-r--r--Tests/RunCMake/Syntax/.gitattributes2
-rw-r--r--Tests/RunCMake/Syntax/BOM-UTF-16-BE-result.txt1
-rw-r--r--Tests/RunCMake/Syntax/BOM-UTF-16-BE-stderr.txt6
-rw-r--r--Tests/RunCMake/Syntax/BOM-UTF-16-BE.cmakebin0 -> 54 bytes-rw-r--r--Tests/RunCMake/Syntax/BOM-UTF-16-LE-result.txt1
-rw-r--r--Tests/RunCMake/Syntax/BOM-UTF-16-LE-stderr.txt6
-rw-r--r--Tests/RunCMake/Syntax/BOM-UTF-16-LE.cmakebin0 -> 54 bytes-rw-r--r--Tests/RunCMake/Syntax/BOM-UTF-32-BE-result.txt1
-rw-r--r--Tests/RunCMake/Syntax/BOM-UTF-32-BE-stderr.txt6
-rw-r--r--Tests/RunCMake/Syntax/BOM-UTF-32-BE.cmakebin0 -> 108 bytes-rw-r--r--Tests/RunCMake/Syntax/BOM-UTF-32-LE-result.txt1
-rw-r--r--Tests/RunCMake/Syntax/BOM-UTF-32-LE-stderr.txt6
-rw-r--r--Tests/RunCMake/Syntax/BOM-UTF-32-LE.cmakebin0 -> 108 bytes-rw-r--r--Tests/RunCMake/Syntax/BOM-UTF-8-stdout.txt1
-rw-r--r--Tests/RunCMake/Syntax/BOM-UTF-8.cmake1
-rw-r--r--Tests/RunCMake/Syntax/Bracket0-stderr.txt1
-rw-r--r--Tests/RunCMake/Syntax/Bracket0.cmake1
-rw-r--r--Tests/RunCMake/Syntax/Bracket1-stderr.txt1
-rw-r--r--Tests/RunCMake/Syntax/Bracket1.cmake2
-rw-r--r--Tests/RunCMake/Syntax/Bracket2-stdout.txt2
-rw-r--r--Tests/RunCMake/Syntax/Bracket2.cmake2
-rw-r--r--Tests/RunCMake/Syntax/BracketBackslash-result.txt1
-rw-r--r--Tests/RunCMake/Syntax/BracketBackslash-stderr.txt6
-rw-r--r--Tests/RunCMake/Syntax/BracketBackslash.cmake2
-rw-r--r--Tests/RunCMake/Syntax/BracketCRLF-stderr.txt1
-rw-r--r--Tests/RunCMake/Syntax/BracketCRLF.cmake8
-rw-r--r--Tests/RunCMake/Syntax/BracketComment0-stdout.txt1
-rw-r--r--Tests/RunCMake/Syntax/BracketComment0.cmake5
-rw-r--r--Tests/RunCMake/Syntax/BracketComment1-result.txt1
-rw-r--r--Tests/RunCMake/Syntax/BracketComment1-stderr.txt4
-rw-r--r--Tests/RunCMake/Syntax/BracketComment1.cmake3
-rw-r--r--Tests/RunCMake/Syntax/BracketComment2-result.txt1
-rw-r--r--Tests/RunCMake/Syntax/BracketComment2-stderr.txt4
-rw-r--r--Tests/RunCMake/Syntax/BracketComment2.cmake3
-rw-r--r--Tests/RunCMake/Syntax/BracketComment3-stdout.txt1
-rw-r--r--Tests/RunCMake/Syntax/BracketComment3.cmake4
-rw-r--r--Tests/RunCMake/Syntax/BracketComment4-result.txt1
-rw-r--r--Tests/RunCMake/Syntax/BracketComment4-stderr.txt7
-rw-r--r--Tests/RunCMake/Syntax/BracketComment4.cmake3
-rw-r--r--Tests/RunCMake/Syntax/BracketComment5-stdout.txt1
-rw-r--r--Tests/RunCMake/Syntax/BracketComment5.cmake11
-rw-r--r--Tests/RunCMake/Syntax/BracketNoSpace0-result.txt1
-rw-r--r--Tests/RunCMake/Syntax/BracketNoSpace0-stderr.txt6
-rw-r--r--Tests/RunCMake/Syntax/BracketNoSpace0.cmake1
-rw-r--r--Tests/RunCMake/Syntax/BracketNoSpace1-result.txt1
-rw-r--r--Tests/RunCMake/Syntax/BracketNoSpace1-stderr.txt6
-rw-r--r--Tests/RunCMake/Syntax/BracketNoSpace1.cmake1
-rw-r--r--Tests/RunCMake/Syntax/BracketNoSpace2-result.txt1
-rw-r--r--Tests/RunCMake/Syntax/BracketNoSpace2-stderr.txt6
-rw-r--r--Tests/RunCMake/Syntax/BracketNoSpace2.cmake1
-rw-r--r--Tests/RunCMake/Syntax/BracketNoSpace3-result.txt1
-rw-r--r--Tests/RunCMake/Syntax/BracketNoSpace3-stderr.txt6
-rw-r--r--Tests/RunCMake/Syntax/BracketNoSpace3.cmake1
-rw-r--r--Tests/RunCMake/Syntax/BracketNoSpace4-result.txt1
-rw-r--r--Tests/RunCMake/Syntax/BracketNoSpace4-stderr.txt6
-rw-r--r--Tests/RunCMake/Syntax/BracketNoSpace4.cmake1
-rw-r--r--Tests/RunCMake/Syntax/BracketNoSpace5-result.txt1
-rw-r--r--Tests/RunCMake/Syntax/BracketNoSpace5-stderr.txt6
-rw-r--r--Tests/RunCMake/Syntax/BracketNoSpace5.cmake1
-rw-r--r--Tests/RunCMake/Syntax/BracketWarn-stderr.txt35
-rw-r--r--Tests/RunCMake/Syntax/BracketWarn-stdout.txt1
-rw-r--r--Tests/RunCMake/Syntax/BracketWarn.cmake1
-rw-r--r--Tests/RunCMake/Syntax/CommandError2-result.txt1
-rw-r--r--Tests/RunCMake/Syntax/CommandError2-stderr.txt7
-rw-r--r--Tests/RunCMake/Syntax/CommandError2.cmake1
-rw-r--r--Tests/RunCMake/Syntax/Escape1-stderr.txt3
-rw-r--r--Tests/RunCMake/Syntax/Escape1.cmake3
-rw-r--r--Tests/RunCMake/Syntax/ForEachBracket1-stderr.txt2
-rw-r--r--Tests/RunCMake/Syntax/ForEachBracket1.cmake3
-rw-r--r--Tests/RunCMake/Syntax/FunctionBracket1-stderr.txt2
-rw-r--r--Tests/RunCMake/Syntax/FunctionBracket1.cmake6
-rw-r--r--Tests/RunCMake/Syntax/MacroBracket1-stderr.txt2
-rw-r--r--Tests/RunCMake/Syntax/MacroBracket1.cmake6
-rw-r--r--Tests/RunCMake/Syntax/OneLetter-stderr.txt1
-rw-r--r--Tests/RunCMake/Syntax/OneLetter.cmake7
-rw-r--r--Tests/RunCMake/Syntax/ParenNoSpace-stdout.txt2
-rw-r--r--Tests/RunCMake/Syntax/ParenNoSpace.cmake2
-rw-r--r--Tests/RunCMake/Syntax/ParenNoSpace0-stdout.txt3
-rw-r--r--Tests/RunCMake/Syntax/ParenNoSpace0.cmake3
-rw-r--r--Tests/RunCMake/Syntax/ParenNoSpace1-result.txt1
-rw-r--r--Tests/RunCMake/Syntax/ParenNoSpace1-stderr.txt22
-rw-r--r--Tests/RunCMake/Syntax/ParenNoSpace1.cmake3
-rw-r--r--Tests/RunCMake/Syntax/ParenNoSpace2-stderr.txt1
-rw-r--r--Tests/RunCMake/Syntax/ParenNoSpace2-stdout.txt3
-rw-r--r--Tests/RunCMake/Syntax/ParenNoSpace2.cmake3
-rw-r--r--Tests/RunCMake/Syntax/RunCMakeTest.cmake40
-rw-r--r--Tests/RunCMake/Syntax/StringBackslash-result.txt1
-rw-r--r--Tests/RunCMake/Syntax/StringBackslash-stderr.txt6
-rw-r--r--Tests/RunCMake/Syntax/StringBackslash.cmake2
-rw-r--r--Tests/RunCMake/Syntax/StringCRLF-stderr.txt1
-rw-r--r--Tests/RunCMake/Syntax/StringCRLF.cmake6
-rw-r--r--Tests/RunCMake/Syntax/StringContinuation1-result.txt1
-rw-r--r--Tests/RunCMake/Syntax/StringContinuation1-stderr.txt4
-rw-r--r--Tests/RunCMake/Syntax/StringContinuation1.cmake2
-rw-r--r--Tests/RunCMake/Syntax/StringContinuation2-result.txt1
-rw-r--r--Tests/RunCMake/Syntax/StringContinuation2-stderr.txt4
-rw-r--r--Tests/RunCMake/Syntax/StringContinuation2.cmake2
-rw-r--r--Tests/RunCMake/Syntax/UnterminatedBracket0-result.txt1
-rw-r--r--Tests/RunCMake/Syntax/UnterminatedBracket0-stderr.txt8
-rw-r--r--Tests/RunCMake/Syntax/UnterminatedBracket0.cmake1
-rw-r--r--Tests/RunCMake/Syntax/UnterminatedBracket1-result.txt1
-rw-r--r--Tests/RunCMake/Syntax/UnterminatedBracket1-stderr.txt8
-rw-r--r--Tests/RunCMake/Syntax/UnterminatedBracket1.cmake1
-rw-r--r--Tests/RunCMake/Syntax/UnterminatedBracketComment-result.txt1
-rw-r--r--Tests/RunCMake/Syntax/UnterminatedBracketComment-stderr.txt8
-rw-r--r--Tests/RunCMake/Syntax/UnterminatedBracketComment.cmake2
-rw-r--r--Tests/RunCMake/TargetPolicies/PolicyList-stderr.txt8
-rw-r--r--Tests/RunCMake/build_command/BeforeProject-stderr.txt10
-rw-r--r--Tests/RunCMake/build_command/BeforeProject.cmake1
-rw-r--r--Tests/RunCMake/build_command/ErrorsCommon.cmake4
-rw-r--r--Tests/RunCMake/cmake_minimum_required/Before24-stderr.txt5
-rw-r--r--Tests/RunCMake/cmake_minimum_required/Before24.cmake1
-rw-r--r--Tests/RunCMake/cmake_minimum_required/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/cmake_minimum_required/CompatBefore24-result.txt1
-rw-r--r--Tests/RunCMake/cmake_minimum_required/CompatBefore24-stderr.txt5
-rw-r--r--Tests/RunCMake/cmake_minimum_required/CompatBefore24.cmake2
-rw-r--r--Tests/RunCMake/cmake_minimum_required/PolicyBefore24-result.txt1
-rw-r--r--Tests/RunCMake/cmake_minimum_required/PolicyBefore24-stderr.txt6
-rw-r--r--Tests/RunCMake/cmake_minimum_required/PolicyBefore24.cmake2
-rw-r--r--Tests/RunCMake/cmake_minimum_required/RunCMakeTest.cmake5
-rw-r--r--Tests/RunCMake/export/AppendExport-result.txt1
-rw-r--r--Tests/RunCMake/export/AppendExport-stderr.txt4
-rw-r--r--Tests/RunCMake/export/AppendExport.cmake8
-rw-r--r--Tests/RunCMake/export/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/export/NoExportSet-result.txt1
-rw-r--r--Tests/RunCMake/export/NoExportSet-stderr.txt4
-rw-r--r--Tests/RunCMake/export/NoExportSet.cmake2
-rw-r--r--Tests/RunCMake/export/OldIface-result.txt1
-rw-r--r--Tests/RunCMake/export/OldIface-stderr.txt5
-rw-r--r--Tests/RunCMake/export/OldIface.cmake10
-rw-r--r--Tests/RunCMake/export/RunCMakeTest.cmake6
-rw-r--r--Tests/RunCMake/export/TargetNotFound-result.txt1
-rw-r--r--Tests/RunCMake/export/TargetNotFound-stderr.txt4
-rw-r--r--Tests/RunCMake/export/TargetNotFound.cmake1
-rw-r--r--Tests/RunCMake/include/CMP0024-NEW-result.txt1
-rw-r--r--Tests/RunCMake/include/CMP0024-NEW-stderr.txt8
-rw-r--r--Tests/RunCMake/include/CMP0024-NEW.cmake9
-rw-r--r--Tests/RunCMake/include/CMP0024-WARN-result.txt1
-rw-r--r--Tests/RunCMake/include/CMP0024-WARN-stderr.txt14
-rw-r--r--Tests/RunCMake/include/CMP0024-WARN.cmake7
-rw-r--r--Tests/RunCMake/include/ExportExportInclude-result.txt1
-rw-r--r--Tests/RunCMake/include/ExportExportInclude-stderr.txt6
-rw-r--r--Tests/RunCMake/include/ExportExportInclude.cmake6
-rw-r--r--Tests/RunCMake/include/RunCMakeTest.cmake3
-rw-r--r--Tests/RunCMake/include/empty.cpp7
-rw-r--r--Tests/RunCMake/include/subdir1/CMakeLists.txt2
-rw-r--r--Tests/RunCMake/include/subdir2/CMakeLists.txt2
-rw-r--r--Tests/RunCMake/include_directories/CMakeLists.txt2
-rw-r--r--Tests/RunCMake/include_directories/RunCMakeTest.cmake2
-rw-r--r--Tests/RunCMake/include_directories/export-NOWARN-result.txt1
-rw-r--r--Tests/RunCMake/include_directories/export-NOWARN-stderr.txt1
-rw-r--r--Tests/RunCMake/include_directories/export-NOWARN.cmake62
-rw-r--r--Tests/RunCMake/include_directories/incomplete-genex.cmake23
-rw-r--r--Tests/RunCMake/install/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/install/RunCMakeTest.cmake4
-rw-r--r--Tests/RunCMake/install/SkipInstallRulesNoWarning1-check.cmake9
-rw-r--r--Tests/RunCMake/install/SkipInstallRulesNoWarning1-stderr.txt1
-rw-r--r--Tests/RunCMake/install/SkipInstallRulesNoWarning1.cmake1
-rw-r--r--Tests/RunCMake/install/SkipInstallRulesNoWarning2-check.cmake9
-rw-r--r--Tests/RunCMake/install/SkipInstallRulesNoWarning2-stderr.txt1
-rw-r--r--Tests/RunCMake/install/SkipInstallRulesNoWarning2.cmake1
-rw-r--r--Tests/RunCMake/install/SkipInstallRulesWarning-check.cmake9
-rw-r--r--Tests/RunCMake/install/SkipInstallRulesWarning-stderr.txt3
-rw-r--r--Tests/RunCMake/install/SkipInstallRulesWarning.cmake2
-rw-r--r--Tests/RunCMake/interface_library/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/interface_library/RunCMakeTest.cmake11
-rw-r--r--Tests/RunCMake/interface_library/add_custom_command-TARGET-result.txt1
-rw-r--r--Tests/RunCMake/interface_library/add_custom_command-TARGET-stderr.txt5
-rw-r--r--Tests/RunCMake/interface_library/add_custom_command-TARGET.cmake6
-rw-r--r--Tests/RunCMake/interface_library/add_dependencies-result.txt1
-rw-r--r--Tests/RunCMake/interface_library/add_dependencies-stderr.txt6
-rw-r--r--Tests/RunCMake/interface_library/add_dependencies.cmake4
-rw-r--r--Tests/RunCMake/interface_library/genex_link-result.txt1
-rw-r--r--Tests/RunCMake/interface_library/genex_link-stderr.txt1
-rw-r--r--Tests/RunCMake/interface_library/genex_link.cmake22
-rw-r--r--Tests/RunCMake/interface_library/global-interface-result.txt1
-rw-r--r--Tests/RunCMake/interface_library/global-interface-stderr.txt9
-rw-r--r--Tests/RunCMake/interface_library/global-interface.cmake2
-rw-r--r--Tests/RunCMake/interface_library/invalid_name-result.txt1
-rw-r--r--Tests/RunCMake/interface_library/invalid_name-stderr.txt15
-rw-r--r--Tests/RunCMake/interface_library/invalid_name.cmake6
-rw-r--r--Tests/RunCMake/interface_library/invalid_signature-result.txt1
-rw-r--r--Tests/RunCMake/interface_library/invalid_signature-stderr.txt89
-rw-r--r--Tests/RunCMake/interface_library/invalid_signature.cmake20
-rw-r--r--Tests/RunCMake/interface_library/no_shared_libs-stderr.txt1
-rw-r--r--Tests/RunCMake/interface_library/no_shared_libs.cmake5
-rw-r--r--Tests/RunCMake/interface_library/target_commands-result.txt1
-rw-r--r--Tests/RunCMake/interface_library/target_commands-stderr.txt47
-rw-r--r--Tests/RunCMake/interface_library/target_commands.cmake13
-rw-r--r--Tests/RunCMake/interface_library/whitelist-result.txt1
-rw-r--r--Tests/RunCMake/interface_library/whitelist-stderr.txt19
-rw-r--r--Tests/RunCMake/interface_library/whitelist.cmake6
-rw-r--r--Tests/RunCMake/message/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/message/RunCMakeTest.cmake5
-rw-r--r--Tests/RunCMake/message/errormessage-result.txt1
-rw-r--r--Tests/RunCMake/message/errormessage-stderr.txt4
-rw-r--r--Tests/RunCMake/message/errormessage.cmake4
-rw-r--r--Tests/RunCMake/message/nomessage-result.txt1
-rw-r--r--Tests/RunCMake/message/nomessage-stderr.txt1
-rw-r--r--Tests/RunCMake/message/nomessage.cmake2
-rw-r--r--Tests/RunCMake/message/warnmessage-result.txt1
-rw-r--r--Tests/RunCMake/message/warnmessage-stderr.txt4
-rw-r--r--Tests/RunCMake/message/warnmessage.cmake4
-rw-r--r--Tests/RunCMake/no_install_prefix/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/no_install_prefix/RunCMakeTest.cmake15
-rw-r--r--Tests/RunCMake/no_install_prefix/do_test.cmake2
-rw-r--r--Tests/RunCMake/no_install_prefix/no_install_prefix-result.txt1
-rw-r--r--Tests/RunCMake/no_install_prefix/no_install_prefix-stderr.txt18
-rw-r--r--Tests/RunCMake/no_install_prefix/no_install_prefix.cmake2
-rw-r--r--Tests/RunCMake/no_install_prefix/with_install_prefix-result.txt1
-rw-r--r--Tests/RunCMake/no_install_prefix/with_install_prefix-stderr.txt1
-rw-r--r--Tests/RunCMake/no_install_prefix/with_install_prefix.cmake2
-rw-r--r--Tests/RunCMake/project/CMP0048-NEW-stderr.txt1
-rw-r--r--Tests/RunCMake/project/CMP0048-NEW-stdout.txt30
-rw-r--r--Tests/RunCMake/project/CMP0048-NEW.cmake19
-rw-r--r--Tests/RunCMake/project/CMP0048-OLD-VERSION-result.txt1
-rw-r--r--Tests/RunCMake/project/CMP0048-OLD-VERSION-stderr.txt4
-rw-r--r--Tests/RunCMake/project/CMP0048-OLD-VERSION.cmake2
-rw-r--r--Tests/RunCMake/project/CMP0048-OLD-stdout.txt2
-rw-r--r--Tests/RunCMake/project/CMP0048-OLD.cmake6
-rw-r--r--Tests/RunCMake/project/CMP0048-WARN-stderr.txt12
-rw-r--r--Tests/RunCMake/project/CMP0048-WARN.cmake3
-rw-r--r--Tests/RunCMake/project/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/project/LanguagesEmpty-stdout.txt1
-rw-r--r--Tests/RunCMake/project/LanguagesEmpty.cmake3
-rw-r--r--Tests/RunCMake/project/LanguagesImplicit-stdout.txt1
-rw-r--r--Tests/RunCMake/project/LanguagesImplicit.cmake3
-rw-r--r--Tests/RunCMake/project/LanguagesNONE-stdout.txt1
-rw-r--r--Tests/RunCMake/project/LanguagesNONE.cmake3
-rw-r--r--Tests/RunCMake/project/LanguagesTwice-result.txt1
-rw-r--r--Tests/RunCMake/project/LanguagesTwice-stderr.txt4
-rw-r--r--Tests/RunCMake/project/LanguagesTwice.cmake2
-rw-r--r--Tests/RunCMake/project/RunCMakeTest.cmake17
-rw-r--r--Tests/RunCMake/project/VersionAndLanguagesEmpty-stdout.txt2
-rw-r--r--Tests/RunCMake/project/VersionAndLanguagesEmpty.cmake5
-rw-r--r--Tests/RunCMake/project/VersionEmpty-stdout.txt2
-rw-r--r--Tests/RunCMake/project/VersionEmpty.cmake6
-rw-r--r--Tests/RunCMake/project/VersionInvalid-result.txt1
-rw-r--r--Tests/RunCMake/project/VersionInvalid-stderr.txt4
-rw-r--r--Tests/RunCMake/project/VersionInvalid.cmake3
-rw-r--r--Tests/RunCMake/project/VersionMissingLanguages-result.txt1
-rw-r--r--Tests/RunCMake/project/VersionMissingLanguages-stderr.txt4
-rw-r--r--Tests/RunCMake/project/VersionMissingLanguages.cmake3
-rw-r--r--Tests/RunCMake/project/VersionMissingValueOkay-stdout.txt2
-rw-r--r--Tests/RunCMake/project/VersionMissingValueOkay.cmake6
-rw-r--r--Tests/RunCMake/project/VersionTwice-result.txt1
-rw-r--r--Tests/RunCMake/project/VersionTwice-stderr.txt4
-rw-r--r--Tests/RunCMake/project/VersionTwice.cmake3
-rw-r--r--Tests/RunCMake/set/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/set/PARENT_SCOPE-result.txt1
-rw-r--r--Tests/RunCMake/set/PARENT_SCOPE.cmake33
-rw-r--r--Tests/RunCMake/set/RunCMakeTest.cmake3
-rw-r--r--Tests/RunCMake/string/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/string/Concat.cmake19
-rw-r--r--Tests/RunCMake/string/ConcatNoArgs-result.txt1
-rw-r--r--Tests/RunCMake/string/ConcatNoArgs-stderr.txt4
-rw-r--r--Tests/RunCMake/string/ConcatNoArgs.cmake1
-rw-r--r--Tests/RunCMake/string/RunCMakeTest.cmake4
-rw-r--r--Tests/RunCMake/target_link_libraries/CMP0023-NEW-2-stderr.txt5
-rw-r--r--Tests/RunCMake/target_link_libraries/CMP0023-NEW-stderr.txt5
-rw-r--r--Tests/SimpleInstall/CMakeLists.txt25
-rw-r--r--Tests/SimpleInstallS2/CMakeLists.txt25
-rw-r--r--Tests/StagingPrefix/CMakeLists.txt89
-rw-r--r--Tests/StagingPrefix/Consumer/CMakeLists.txt22
-rw-r--r--Tests/StagingPrefix/Consumer/cmake/FindBar.cmake6
-rw-r--r--Tests/StagingPrefix/Consumer/main.cpp10
-rw-r--r--Tests/StagingPrefix/Producer/CMakeLists.txt26
-rw-r--r--Tests/StagingPrefix/Producer/bar.cpp7
-rw-r--r--Tests/StagingPrefix/Producer/bar.h10
-rw-r--r--Tests/StagingPrefix/Producer/foo.cpp7
-rw-r--r--Tests/StagingPrefix/Producer/foo.h10
-rw-r--r--Tests/StagingPrefix/main.cpp5
-rw-r--r--Tests/SystemInformation/CMakeLists.txt2
-rwxr-xr-xTests/TestInstall.sh.in63
-rw-r--r--Tests/Tutorial/Step6/MathFunctions/CMakeLists.txt4
-rw-r--r--Tests/Tutorial/Step7/MathFunctions/CMakeLists.txt4
-rw-r--r--Tests/Unset/CMakeLists.txt27
-rw-r--r--Tests/VisibilityInlinesHidden/CMakeLists.txt14
-rw-r--r--Tests/VisibilityInlinesHidden/bar.c1
-rw-r--r--Tests/VisibilityInlinesHidden/foo.cpp11
-rw-r--r--Tests/VisibilityInlinesHidden/verify.cmake14
-rw-r--r--Tests/Wrapping/CMakeLists.txt7
-rw-r--r--Utilities/CMakeLists.txt172
-rw-r--r--Utilities/Release/create-cmake-release.cmake44
-rw-r--r--Utilities/Release/dash2win64_cygwin.cmake4
-rw-r--r--Utilities/Release/dash2win64_release.cmake1
-rw-r--r--Utilities/Release/dashmacmini2_release.cmake1
-rw-r--r--Utilities/Release/dashmacmini5_release.cmake1
-rw-r--r--Utilities/Release/magrathea_release.cmake1
-rw-r--r--Utilities/Release/release_cmake.cmake11
-rwxr-xr-xUtilities/Release/release_cmake.sh.in12
-rw-r--r--Utilities/Sphinx/.gitignore1
-rw-r--r--Utilities/Sphinx/CMakeLists.txt124
-rw-r--r--Utilities/Sphinx/cmake.py314
-rw-r--r--Utilities/Sphinx/conf.py.in63
-rw-r--r--Utilities/Sphinx/static/cmake-favicon.icobin0 -> 1150 bytes-rw-r--r--Utilities/Sphinx/static/cmake-logo-16.pngbin0 -> 761 bytes-rw-r--r--Utilities/Sphinx/static/cmake.css8
-rw-r--r--Utilities/Sphinx/templates/layout.html13
-rw-r--r--Utilities/cmbzip2/compress.c2
-rw-r--r--Utilities/cmcurl/CMake/CurlCheckCSourceCompiles.cmake3
-rw-r--r--Utilities/cmcurl/CMake/CurlCheckCSourceRuns.cmake3
-rw-r--r--Utilities/cmcurl/CMake/CurlTests.c2
-rw-r--r--Utilities/cmcurl/CMakeLists.txt3
-rw-r--r--Utilities/cmcurl/multi.c2
-rw-r--r--Utilities/cmcurl/parsedate.h2
-rw-r--r--Utilities/cmcurl/select.c2
-rw-r--r--Utilities/cmlibarchive/CMakeLists.txt2
-rw-r--r--Utilities/cmlibarchive/build/cmake/CheckFuncs.cmake2
-rw-r--r--Utilities/cmlibarchive/libarchive/archive_read_support_format_tar.c72
-rw-r--r--Utilities/cmlibarchive/libarchive/archive_write_set_options.32
-rw-r--r--Utilities/cmzlib/zconf.h2
-rw-r--r--Utilities/cmzlib/zutil.h6
-rw-r--r--Utilities/xml/.gitattributes1
-rw-r--r--Utilities/xml/docbook-4.5/ChangeLog106
-rw-r--r--Utilities/xml/docbook-4.5/README8
-rw-r--r--Utilities/xml/docbook-4.5/calstblx.dtd215
-rw-r--r--Utilities/xml/docbook-4.5/catalog.xml124
-rw-r--r--Utilities/xml/docbook-4.5/dbcentx.mod384
-rw-r--r--Utilities/xml/docbook-4.5/dbgenent.mod41
-rw-r--r--Utilities/xml/docbook-4.5/dbhierx.mod2193
-rw-r--r--Utilities/xml/docbook-4.5/dbnotnx.mod101
-rw-r--r--Utilities/xml/docbook-4.5/dbpoolx.mod8701
-rw-r--r--Utilities/xml/docbook-4.5/docbook.cat113
-rw-r--r--Utilities/xml/docbook-4.5/docbookx.dtd170
-rw-r--r--Utilities/xml/docbook-4.5/ent/README14
-rw-r--r--Utilities/xml/docbook-4.5/ent/isoamsa.ent97
-rw-r--r--Utilities/xml/docbook-4.5/ent/isoamsb.ent83
-rw-r--r--Utilities/xml/docbook-4.5/ent/isoamsc.ent51
-rw-r--r--Utilities/xml/docbook-4.5/ent/isoamsn.ent103
-rw-r--r--Utilities/xml/docbook-4.5/ent/isoamso.ent59
-rw-r--r--Utilities/xml/docbook-4.5/ent/isoamsr.ent125
-rw-r--r--Utilities/xml/docbook-4.5/ent/isobox.ent81
-rw-r--r--Utilities/xml/docbook-4.5/ent/isocyr1.ent108
-rw-r--r--Utilities/xml/docbook-4.5/ent/isocyr2.ent67
-rw-r--r--Utilities/xml/docbook-4.5/ent/isodia.ent55
-rw-r--r--Utilities/xml/docbook-4.5/ent/isogrk1.ent90
-rw-r--r--Utilities/xml/docbook-4.5/ent/isogrk2.ent61
-rw-r--r--Utilities/xml/docbook-4.5/ent/isogrk3.ent84
-rw-r--r--Utilities/xml/docbook-4.5/ent/isogrk4.ent84
-rw-r--r--Utilities/xml/docbook-4.5/ent/isolat1.ent103
-rw-r--r--Utilities/xml/docbook-4.5/ent/isolat2.ent162
-rw-r--r--Utilities/xml/docbook-4.5/ent/isonum.ent117
-rw-r--r--Utilities/xml/docbook-4.5/ent/isopub.ent125
-rw-r--r--Utilities/xml/docbook-4.5/ent/isotech.ent103
-rw-r--r--Utilities/xml/docbook-4.5/htmltblx.mod245
-rw-r--r--Utilities/xml/docbook-4.5/soextblx.dtd321
-rw-r--r--Utilities/xml/xhtml1/xhtml-lat1.ent196
-rw-r--r--Utilities/xml/xhtml1/xhtml-special.ent80
-rw-r--r--Utilities/xml/xhtml1/xhtml-symbol.ent237
-rw-r--r--Utilities/xml/xhtml1/xhtml1-strict.dtd977
-rwxr-xr-xbootstrap130
2875 files changed, 61344 insertions, 142779 deletions
diff --git a/Auxiliary/CMakeLists.txt b/Auxiliary/CMakeLists.txt
new file mode 100644
index 0000000..c003b28
--- /dev/null
+++ b/Auxiliary/CMakeLists.txt
@@ -0,0 +1,4 @@
+install(FILES cmake-help.vim cmake-indent.vim cmake-syntax.vim DESTINATION ${CMAKE_DATA_DIR}/editors/vim)
+install(FILES cmake-mode.el DESTINATION ${CMAKE_DATA_DIR}/editors/emacs)
+install(FILES cmake.m4 DESTINATION share/aclocal)
+add_subdirectory (bash-completion)
diff --git a/Docs/bash-completion/CMakeLists.txt b/Auxiliary/bash-completion/CMakeLists.txt
index c0a8899..c0a8899 100644
--- a/Docs/bash-completion/CMakeLists.txt
+++ b/Auxiliary/bash-completion/CMakeLists.txt
diff --git a/Docs/bash-completion/cmake b/Auxiliary/bash-completion/cmake
index 59e0298..59e0298 100644
--- a/Docs/bash-completion/cmake
+++ b/Auxiliary/bash-completion/cmake
diff --git a/Docs/bash-completion/cpack b/Auxiliary/bash-completion/cpack
index 9ab6048..9ab6048 100644
--- a/Docs/bash-completion/cpack
+++ b/Auxiliary/bash-completion/cpack
diff --git a/Docs/bash-completion/ctest b/Auxiliary/bash-completion/ctest
index 25cb998..25cb998 100644
--- a/Docs/bash-completion/ctest
+++ b/Auxiliary/bash-completion/ctest
diff --git a/Docs/cmake-help.vim b/Auxiliary/cmake-help.vim
index 17cfa83..17cfa83 100644
--- a/Docs/cmake-help.vim
+++ b/Auxiliary/cmake-help.vim
diff --git a/Docs/cmake-indent.vim b/Auxiliary/cmake-indent.vim
index a26dd06..a26dd06 100644
--- a/Docs/cmake-indent.vim
+++ b/Auxiliary/cmake-indent.vim
diff --git a/Auxiliary/cmake-mode.el b/Auxiliary/cmake-mode.el
new file mode 100644
index 0000000..c8b9f8b
--- /dev/null
+++ b/Auxiliary/cmake-mode.el
@@ -0,0 +1,405 @@
+;;; cmake-mode.el --- major-mode for editing CMake sources
+
+;=============================================================================
+; CMake - Cross Platform Makefile Generator
+; Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
+;
+; Distributed under the OSI-approved BSD License (the "License");
+; see accompanying file Copyright.txt for details.
+;
+; This software is distributed WITHOUT ANY WARRANTY; without even the
+; implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+; See the License for more information.
+;=============================================================================
+
+;------------------------------------------------------------------------------
+
+;;; Commentary:
+
+;; Provides syntax highlighting and indentation for CMakeLists.txt and
+;; *.cmake source files.
+;;
+;; Add this code to your .emacs file to use the mode:
+;;
+;; (setq load-path (cons (expand-file-name "/dir/with/cmake-mode") load-path))
+;; (require 'cmake-mode)
+
+;------------------------------------------------------------------------------
+
+;;; Code:
+;;
+;; cmake executable variable used to run cmake --help-command
+;; on commands in cmake-mode
+;;
+;; cmake-command-help Written by James Bigler
+;;
+
+(defcustom cmake-mode-cmake-executable "cmake"
+ "*The name of the cmake executable.
+
+This can be either absolute or looked up in $PATH. You can also
+set the path with these commands:
+ (setenv \"PATH\" (concat (getenv \"PATH\") \";C:\\\\Program Files\\\\CMake 2.8\\\\bin\"))
+ (setenv \"PATH\" (concat (getenv \"PATH\") \":/usr/local/cmake/bin\"))"
+ :type 'file
+ :group 'cmake)
+;;
+;; Regular expressions used by line indentation function.
+;;
+(defconst cmake-regex-blank "^[ \t]*$")
+(defconst cmake-regex-comment "#.*")
+(defconst cmake-regex-paren-left "(")
+(defconst cmake-regex-paren-right ")")
+(defconst cmake-regex-argument-quoted
+ "\"\\([^\"\\\\]\\|\\\\\\(.\\|\n\\)\\)*\"")
+(defconst cmake-regex-argument-unquoted
+ "\\([^ \t\r\n()#\"\\\\]\\|\\\\.\\)\\([^ \t\r\n()#\\\\]\\|\\\\.\\)*")
+(defconst cmake-regex-token (concat "\\(" cmake-regex-comment
+ "\\|" cmake-regex-paren-left
+ "\\|" cmake-regex-paren-right
+ "\\|" cmake-regex-argument-unquoted
+ "\\|" cmake-regex-argument-quoted
+ "\\)"))
+(defconst cmake-regex-indented (concat "^\\("
+ cmake-regex-token
+ "\\|" "[ \t\r\n]"
+ "\\)*"))
+(defconst cmake-regex-block-open
+ "^\\(if\\|macro\\|foreach\\|else\\|elseif\\|while\\|function\\)$")
+(defconst cmake-regex-block-close
+ "^[ \t]*\\(endif\\|endforeach\\|endmacro\\|else\\|elseif\\|endwhile\\|endfunction\\)[ \t]*(")
+
+;------------------------------------------------------------------------------
+
+;;
+;; Helper functions for line indentation function.
+;;
+(defun cmake-line-starts-inside-string ()
+ "Determine whether the beginning of the current line is in a string."
+ (if (save-excursion
+ (beginning-of-line)
+ (let ((parse-end (point)))
+ (goto-char (point-min))
+ (nth 3 (parse-partial-sexp (point) parse-end))
+ )
+ )
+ t
+ nil
+ )
+ )
+
+(defun cmake-find-last-indented-line ()
+ "Move to the beginning of the last line that has meaningful indentation."
+ (let ((point-start (point))
+ region)
+ (forward-line -1)
+ (setq region (buffer-substring-no-properties (point) point-start))
+ (while (and (not (bobp))
+ (or (looking-at cmake-regex-blank)
+ (cmake-line-starts-inside-string)
+ (not (and (string-match cmake-regex-indented region)
+ (= (length region) (match-end 0))))))
+ (forward-line -1)
+ (setq region (buffer-substring-no-properties (point) point-start))
+ )
+ )
+ )
+
+;------------------------------------------------------------------------------
+
+;;
+;; Line indentation function.
+;;
+(defun cmake-indent ()
+ "Indent current line as CMAKE code."
+ (interactive)
+ (if (cmake-line-starts-inside-string)
+ ()
+ (if (bobp)
+ (cmake-indent-line-to 0)
+ (let (cur-indent)
+
+ (save-excursion
+ (beginning-of-line)
+
+ (let ((point-start (point))
+ (case-fold-search t) ;; case-insensitive
+ token)
+
+ ; Search back for the last indented line.
+ (cmake-find-last-indented-line)
+
+ ; Start with the indentation on this line.
+ (setq cur-indent (current-indentation))
+
+ ; Search forward counting tokens that adjust indentation.
+ (while (re-search-forward cmake-regex-token point-start t)
+ (setq token (match-string 0))
+ (if (string-match (concat "^" cmake-regex-paren-left "$") token)
+ (setq cur-indent (+ cur-indent cmake-tab-width))
+ )
+ (if (string-match (concat "^" cmake-regex-paren-right "$") token)
+ (setq cur-indent (- cur-indent cmake-tab-width))
+ )
+ (if (and
+ (string-match cmake-regex-block-open token)
+ (looking-at (concat "[ \t]*" cmake-regex-paren-left))
+ )
+ (setq cur-indent (+ cur-indent cmake-tab-width))
+ )
+ )
+ (goto-char point-start)
+
+ ; If this is the end of a block, decrease indentation.
+ (if (looking-at cmake-regex-block-close)
+ (setq cur-indent (- cur-indent cmake-tab-width))
+ )
+ )
+ )
+
+ ; Indent this line by the amount selected.
+ (if (< cur-indent 0)
+ (cmake-indent-line-to 0)
+ (cmake-indent-line-to cur-indent)
+ )
+ )
+ )
+ )
+ )
+
+(defun cmake-point-in-indendation ()
+ (string-match "^[ \\t]*$" (buffer-substring (point-at-bol) (point))))
+
+(defun cmake-indent-line-to (column)
+ "Indent the current line to COLUMN.
+If point is within the existing indentation it is moved to the end of
+the indentation. Otherwise it retains the same position on the line"
+ (if (cmake-point-in-indendation)
+ (indent-line-to column)
+ (save-excursion (indent-line-to column))))
+
+;------------------------------------------------------------------------------
+
+;;
+;; Helper functions for buffer
+;;
+(defun unscreamify-cmake-buffer ()
+ "Convert all CMake commands to lowercase in buffer."
+ (interactive)
+ (goto-char (point-min))
+ (while (re-search-forward "^\\([ \t]*\\)\\(\\w+\\)\\([ \t]*(\\)" nil t)
+ (replace-match
+ (concat
+ (match-string 1)
+ (downcase (match-string 2))
+ (match-string 3))
+ t))
+ )
+
+;------------------------------------------------------------------------------
+
+;;
+;; Keyword highlighting regex-to-face map.
+;;
+(defconst cmake-font-lock-keywords
+ (list '("^[ \t]*\\(\\w+\\)[ \t]*(" 1 font-lock-function-name-face))
+ "Highlighting expressions for CMAKE mode."
+ )
+
+;------------------------------------------------------------------------------
+
+;;
+;; Syntax table for this mode. Initialize to nil so that it is
+;; regenerated when the cmake-mode function is called.
+;;
+(defvar cmake-mode-syntax-table nil "Syntax table for cmake-mode.")
+(setq cmake-mode-syntax-table nil)
+
+;;
+;; User hook entry point.
+;;
+(defvar cmake-mode-hook nil)
+
+;;
+;; Indentation increment.
+;;
+(defvar cmake-tab-width 2)
+
+;------------------------------------------------------------------------------
+
+;;
+;; CMake mode startup function.
+;;
+;;;###autoload
+(defun cmake-mode ()
+ "Major mode for editing CMake listfiles."
+ (interactive)
+ (kill-all-local-variables)
+ (setq major-mode 'cmake-mode)
+ (setq mode-name "CMAKE")
+
+ ; Create the syntax table
+ (setq cmake-mode-syntax-table (make-syntax-table))
+ (set-syntax-table cmake-mode-syntax-table)
+ (modify-syntax-entry ?_ "w" cmake-mode-syntax-table)
+ (modify-syntax-entry ?\( "()" cmake-mode-syntax-table)
+ (modify-syntax-entry ?\) ")(" cmake-mode-syntax-table)
+ (modify-syntax-entry ?# "<" cmake-mode-syntax-table)
+ (modify-syntax-entry ?\n ">" cmake-mode-syntax-table)
+
+ ; Setup font-lock mode.
+ (make-local-variable 'font-lock-defaults)
+ (setq font-lock-defaults '(cmake-font-lock-keywords))
+
+ ; Setup indentation function.
+ (make-local-variable 'indent-line-function)
+ (setq indent-line-function 'cmake-indent)
+
+ ; Setup comment syntax.
+ (make-local-variable 'comment-start)
+ (setq comment-start "#")
+
+ ; Run user hooks.
+ (run-hooks 'cmake-mode-hook))
+
+; Help mode starts here
+
+
+;;;###autoload
+(defun cmake-command-run (type &optional topic buffer)
+ "Runs the command cmake with the arguments specified. The
+optional argument topic will be appended to the argument list."
+ (interactive "s")
+ (let* ((bufname (if buffer buffer (concat "*CMake" type (if topic "-") topic "*")))
+ (buffer (if (get-buffer bufname) (get-buffer bufname) (generate-new-buffer bufname)))
+ (command (concat cmake-mode-cmake-executable " " type " " topic))
+ ;; Turn of resizing of mini-windows for shell-command.
+ (resize-mini-windows nil)
+ )
+ (shell-command command buffer)
+ (save-selected-window
+ (select-window (display-buffer buffer 'not-this-window))
+ (cmake-mode)
+ (toggle-read-only t))
+ )
+ )
+
+;;;###autoload
+(defun cmake-help-list-commands ()
+ "Prints out a list of the cmake commands."
+ (interactive)
+ (cmake-command-run "--help-command-list")
+ )
+
+(defvar cmake-commands '() "List of available topics for --help-command.")
+(defvar cmake-help-command-history nil "Command read history.")
+(defvar cmake-modules '() "List of available topics for --help-module.")
+(defvar cmake-help-module-history nil "Module read history.")
+(defvar cmake-variables '() "List of available topics for --help-variable.")
+(defvar cmake-help-variable-history nil "Variable read history.")
+(defvar cmake-properties '() "List of available topics for --help-property.")
+(defvar cmake-help-property-history nil "Property read history.")
+(defvar cmake-help-complete-history nil "Complete help read history.")
+(defvar cmake-string-to-list-symbol
+ '(("command" cmake-commands cmake-help-command-history)
+ ("module" cmake-modules cmake-help-module-history)
+ ("variable" cmake-variables cmake-help-variable-history)
+ ("property" cmake-properties cmake-help-property-history)
+ ))
+
+(defun cmake-get-list (listname)
+ "If the value of LISTVAR is nil, run cmake --help-LISTNAME-list
+and store the result as a list in LISTVAR."
+ (let ((listvar (car (cdr (assoc listname cmake-string-to-list-symbol)))))
+ (if (not (symbol-value listvar))
+ (let ((temp-buffer-name "*CMake Temporary*"))
+ (save-window-excursion
+ (cmake-command-run (concat "--help-" listname "-list") nil temp-buffer-name)
+ (with-current-buffer temp-buffer-name
+ (set listvar (cdr (split-string (buffer-substring-no-properties (point-min) (point-max)) "\n" t))))))
+ (symbol-value listvar)
+ ))
+ )
+
+(require 'thingatpt)
+(defun cmake-help-type (type)
+ (let* ((default-entry (word-at-point))
+ (history (car (cdr (cdr (assoc type cmake-string-to-list-symbol)))))
+ (input (completing-read
+ (format "CMake %s: " type) ; prompt
+ (cmake-get-list type) ; completions
+ nil ; predicate
+ t ; require-match
+ default-entry ; initial-input
+ history
+ )))
+ (if (string= input "")
+ (error "No argument given")
+ input))
+ )
+
+;;;###autoload
+(defun cmake-help-command ()
+ "Prints out the help message for the command the cursor is on."
+ (interactive)
+ (cmake-command-run "--help-command" (cmake-help-type "command") "*CMake Help*"))
+
+;;;###autoload
+(defun cmake-help-module ()
+ "Prints out the help message for the module the cursor is on."
+ (interactive)
+ (cmake-command-run "--help-module" (cmake-help-type "module") "*CMake Help*"))
+
+;;;###autoload
+(defun cmake-help-variable ()
+ "Prints out the help message for the variable the cursor is on."
+ (interactive)
+ (cmake-command-run "--help-variable" (cmake-help-type "variable") "*CMake Help*"))
+
+;;;###autoload
+(defun cmake-help-property ()
+ "Prints out the help message for the property the cursor is on."
+ (interactive)
+ (cmake-command-run "--help-property" (cmake-help-type "property") "*CMake Help*"))
+
+;;;###autoload
+(defun cmake-help ()
+ "Queries for any of the four available help topics and prints out the approriate page."
+ (interactive)
+ (let* ((default-entry (word-at-point))
+ (command-list (cmake-get-list "command"))
+ (variable-list (cmake-get-list "variable"))
+ (module-list (cmake-get-list "module"))
+ (property-list (cmake-get-list "property"))
+ (all-words (append command-list variable-list module-list property-list))
+ (input (completing-read
+ "CMake command/module/variable/property: " ; prompt
+ all-words ; completions
+ nil ; predicate
+ t ; require-match
+ default-entry ; initial-input
+ 'cmake-help-complete-history
+ )))
+ (if (string= input "")
+ (error "No argument given")
+ (if (member input command-list)
+ (cmake-command-run "--help-command" input "*CMake Help*")
+ (if (member input variable-list)
+ (cmake-command-run "--help-variable" input "*CMake Help*")
+ (if (member input module-list)
+ (cmake-command-run "--help-module" input "*CMake Help*")
+ (if (member input property-list)
+ (cmake-command-run "--help-property" input "*CMake Help*")
+ (error "Not a know help topic.") ; this really should not happen
+ ))))))
+ )
+
+;;;###autoload
+(progn
+ (add-to-list 'auto-mode-alist '("CMakeLists\\.txt\\'" . cmake-mode))
+ (add-to-list 'auto-mode-alist '("\\.cmake\\'" . cmake-mode)))
+
+; This file provides cmake-mode.
+(provide 'cmake-mode)
+
+;;; cmake-mode.el ends here
diff --git a/Docs/cmake-syntax.vim b/Auxiliary/cmake-syntax.vim
index 80395ab..80395ab 100644
--- a/Docs/cmake-syntax.vim
+++ b/Auxiliary/cmake-syntax.vim
diff --git a/Utilities/cmake.m4 b/Auxiliary/cmake.m4
index a374a3b..a374a3b 100644
--- a/Utilities/cmake.m4
+++ b/Auxiliary/cmake.m4
diff --git a/CMakeCPack.cmake b/CMakeCPack.cmake
index 2495c44..fb55bfc 100644
--- a/CMakeCPack.cmake
+++ b/CMakeCPack.cmake
@@ -29,27 +29,23 @@ if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
set(CPACK_PACKAGE_VENDOR "Kitware")
set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/Copyright.txt")
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/Copyright.txt")
+ set(CPACK_PACKAGE_NAME "${CMAKE_PROJECT_NAME}")
set(CPACK_PACKAGE_VERSION "${CMake_VERSION}")
- set(CPACK_PACKAGE_INSTALL_DIRECTORY "CMake ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}")
+ set(CPACK_PACKAGE_INSTALL_DIRECTORY "${CPACK_PACKAGE_NAME}")
set(CPACK_SOURCE_PACKAGE_FILE_NAME "cmake-${CMake_VERSION}")
- # Make this explicit here, rather than accepting the CPack default value,
- # so we can refer to it:
- set(CPACK_PACKAGE_NAME "${CMAKE_PROJECT_NAME}")
-
# Installers for 32- vs. 64-bit CMake:
# - Root install directory (displayed to end user at installer-run time)
# - "NSIS package/display name" (text used in the installer GUI)
# - Registry key used to store info about the installation
if(CMAKE_CL_64)
set(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES64")
- set(CPACK_NSIS_PACKAGE_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY} (Win64)")
- set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "${CPACK_PACKAGE_NAME} ${CPACK_PACKAGE_VERSION} (Win64)")
+ set(CPACK_NSIS_PACKAGE_NAME "${CPACK_PACKAGE_NAME} ${CPACK_PACKAGE_VERSION} (Win64)")
else()
set(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES")
- set(CPACK_NSIS_PACKAGE_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY}")
- set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "${CPACK_PACKAGE_NAME} ${CPACK_PACKAGE_VERSION}")
+ set(CPACK_NSIS_PACKAGE_NAME "${CPACK_PACKAGE_NAME} ${CPACK_PACKAGE_VERSION}")
endif()
+ set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "${CPACK_NSIS_PACKAGE_NAME}")
if(NOT DEFINED CPACK_SYSTEM_NAME)
# make sure package is not Cygwin-unknown, for Cygwin just
diff --git a/CMakeCPackOptions.cmake.in b/CMakeCPackOptions.cmake.in
index 008a102..aba404f 100644
--- a/CMakeCPackOptions.cmake.in
+++ b/CMakeCPackOptions.cmake.in
@@ -13,14 +13,7 @@ if(CPACK_GENERATOR MATCHES "NSIS")
set(CPACK_PACKAGE_ICON "@CMake_SOURCE_DIR@/Utilities/Release\\CMakeInstall.bmp")
# tell cpack to create links to the doc files
set(CPACK_NSIS_MENU_LINKS
- "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake-gui.html" "cmake-gui Help"
- "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake.html" "CMake Help"
- "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake-properties.html"
- "CMake Properties and Variables Help"
- "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/ctest.html" "CTest Help"
- "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake-modules.html" "CMake Modules Help"
- "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake-commands.html" "CMake Commands Help"
- "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cpack.html" "CPack Help"
+ "@CMAKE_DOC_DIR@/html/index.html" "CMake Documentation"
"http://www.cmake.org" "CMake Web Site"
)
# Use the icon from cmake-gui for add-remove programs
@@ -65,13 +58,11 @@ if("${CPACK_GENERATOR}" STREQUAL "WIX")
endif()
set(CPACK_PACKAGE_VERSION
- "@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@.@CMake_VERSION_PATCH@")
+ "@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@")
# WIX installers require at most a 4 component version number, where
# each component is an integer between 0 and 65534 inclusive
- set(tweak "@CMake_VERSION_TWEAK@")
- if(tweak MATCHES "^[0-9]+$")
- if(tweak GREATER 0 AND tweak LESS 65535)
- set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION}.${tweak}")
- endif()
+ set(patch "@CMake_VERSION_PATCH@")
+ if(patch MATCHES "^[0-9]+$" AND patch LESS 65535)
+ set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION}.${patch}")
endif()
endif()
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1fbbe08..761ad20 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,8 +9,10 @@
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
-cmake_minimum_required(VERSION 2.8.2 FATAL_ERROR)
-set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
+cmake_minimum_required(VERSION 2.8.4 FATAL_ERROR)
+if(POLICY CMP0025)
+ cmake_policy(SET CMP0025 NEW)
+endif()
project(CMake)
if(CMAKE_BOOTSTRAP)
@@ -111,10 +113,6 @@ endif()
# for testing. Simply to improve readability of the main script.
#-----------------------------------------------------------------------
macro(CMAKE_SETUP_TESTING)
- if (NOT DART_ROOT)
- set(MAKEPROGRAM ${CMAKE_MAKE_PROGRAM})
- endif ()
-
if(BUILD_TESTING)
set(CMAKE_TEST_GENERATOR "" CACHE STRING
"Generator used when running tests")
@@ -123,7 +121,6 @@ macro(CMAKE_SETUP_TESTING)
if(NOT CMAKE_TEST_GENERATOR)
set(CMAKE_TEST_GENERATOR "${CMAKE_GENERATOR}")
set(CMAKE_TEST_GENERATOR_TOOLSET "${CMAKE_GENERATOR_TOOLSET}")
- set(CMAKE_TEST_MAKEPROGRAM "${MAKEPROGRAM}")
else()
set(CMAKE_TEST_DIFFERENT_GENERATOR TRUE)
set(CMAKE_TEST_GENERATOR_TOOLSET "")
@@ -193,15 +190,8 @@ mark_as_advanced(CMAKE_USE_FOLDERS)
macro(CMAKE_SET_TARGET_FOLDER tgt folder)
if(CMAKE_USE_FOLDERS)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
-
- # Really, I just want this to be an "if(TARGET ${tgt})" ...
- # but I'm not sure that our min req'd., CMake 2.4.5 can handle
- # that... so I'm just activating this for now, with a version
- # compare, and only for MSVC builds.
- if(MSVC)
- if(NOT ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} LESS 2.8)
- set_property(TARGET "${tgt}" PROPERTY FOLDER "${folder}")
- endif()
+ if(MSVC AND TARGET ${tgt})
+ set_property(TARGET "${tgt}" PROPERTY FOLDER "${folder}")
endif()
else()
set_property(GLOBAL PROPERTY USE_FOLDERS OFF)
@@ -323,11 +313,7 @@ macro (CMAKE_BUILD_UTILITIES)
#---------------------------------------------------------------------
# Build or use system libarchive for CMake and CTest.
if(CMAKE_USE_SYSTEM_LIBARCHIVE)
- if(EXISTS ${CMAKE_ROOT}/Modules/FindLibArchive.cmake) # added in 2.8.3
- find_package(LibArchive)
- else()
- include(${CMake_SOURCE_DIR}/Modules/FindLibArchive.cmake)
- endif()
+ find_package(LibArchive)
if(NOT LibArchive_FOUND)
message(FATAL_ERROR "CMAKE_USE_SYSTEM_LIBARCHIVE is ON but LibArchive is not found!")
endif()
@@ -420,27 +406,8 @@ endif()
# The main section of the CMakeLists file
#
#-----------------------------------------------------------------------
-include(Source/CMakeVersion.cmake)
-# Releases define a small tweak level.
-if("${CMake_VERSION_TWEAK}" VERSION_LESS 20000000)
- set(CMake_VERSION_IS_RELEASE 1)
- set(CMake_VERSION_SOURCE "")
-else()
- set(CMake_VERSION_IS_RELEASE 0)
- include(${CMake_SOURCE_DIR}/Source/CMakeVersionSource.cmake)
-endif()
-
-# Compute the full version string.
-set(CMake_VERSION ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}.${CMake_VERSION_PATCH})
-if(${CMake_VERSION_TWEAK} GREATER 0)
- set(CMake_VERSION ${CMake_VERSION}.${CMake_VERSION_TWEAK})
-endif()
-if(CMake_VERSION_RC)
- set(CMake_VERSION ${CMake_VERSION}-rc${CMake_VERSION_RC})
-endif()
-if(CMake_VERSION_SOURCE)
- set(CMake_VERSION ${CMake_VERSION}-${CMake_VERSION_SOURCE})
-endif()
+# Compute CMake_VERSION, etc.
+include(Source/CMakeVersionCompute.cmake)
# Include the standard Dart testing module
enable_testing()
@@ -460,27 +427,8 @@ set(LIBRARY_OUTPUT_PATH "" CACHE INTERNAL
# install tree.
set(CMAKE_SKIP_RPATH ON CACHE INTERNAL "CMake does not need RPATHs.")
-set(CMAKE_DATA_DIR "share/cmake-${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}" CACHE STRING
- "Install location for data (relative to prefix).")
-set(CMAKE_DOC_DIR "doc/cmake-${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}" CACHE STRING
- "Install location for documentation (relative to prefix).")
-set(CMAKE_MAN_DIR "man" CACHE STRING
- "Install location for man pages (relative to prefix).")
-mark_as_advanced(CMAKE_DATA_DIR CMAKE_DOC_DIR CMAKE_MAN_DIR)
-if(CYGWIN AND EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
- # Force doc, data and man dirs to conform to cygwin layout.
- set(CMAKE_DOC_DIR "share/doc/cmake-${CMake_VERSION}")
- set(CMAKE_DATA_DIR "share/cmake-${CMake_VERSION}")
- set(CMAKE_MAN_DIR "share/man")
- # let the user know we just forced these values
- message(STATUS "Setup for Cygwin packaging")
- message(STATUS "Override cache CMAKE_DOC_DIR = ${CMAKE_DOC_DIR}")
- message(STATUS "Override cache CMAKE_DATA_DIR = ${CMAKE_DATA_DIR}")
- message(STATUS "Override cache CMAKE_MAN_DIR = ${CMAKE_MAN_DIR}")
-endif()
-string(REGEX REPLACE "^/" "" CMAKE_DATA_DIR "${CMAKE_DATA_DIR}")
-string(REGEX REPLACE "^/" "" CMAKE_DOC_DIR "${CMAKE_DOC_DIR}")
-string(REGEX REPLACE "^/" "" CMAKE_MAN_DIR "${CMAKE_MAN_DIR}")
+# Load install destinations.
+include(Source/CMakeInstallDestinations.cmake)
if(BUILD_TESTING)
include(${CMake_SOURCE_DIR}/Tests/CMakeInstall.cmake)
@@ -529,8 +477,8 @@ endif()
if(BUILD_QtDialog)
if(APPLE)
- set(CMAKE_BUNDLE_NAME
- "CMake ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}-${CMake_VERSION_PATCH}")
+ set(CMAKE_BUNDLE_VERSION
+ "${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}.${CMake_VERSION_PATCH}")
set(CMAKE_BUNDLE_LOCATION "${CMAKE_INSTALL_PREFIX}")
# make sure CMAKE_INSTALL_PREFIX ends in /
string(LENGTH "${CMAKE_INSTALL_PREFIX}" LEN)
@@ -540,7 +488,7 @@ if(BUILD_QtDialog)
set(CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}/")
endif()
set(CMAKE_INSTALL_PREFIX
- "${CMAKE_INSTALL_PREFIX}${CMAKE_BUNDLE_NAME}.app/Contents")
+ "${CMAKE_INSTALL_PREFIX}CMake.app/Contents")
endif()
set(QT_NEED_RPATH FALSE)
@@ -582,10 +530,6 @@ configure_file(
"${CMAKE_CURRENT_BINARY_DIR}/DartLocal.conf"
COPYONLY)
-option(CMAKE_STRICT
- "Perform strict testing to record property and variable access. Can be used to report any undefined properties or variables" OFF)
-mark_as_advanced(CMAKE_STRICT)
-
if(NOT CMake_VERSION_IS_RELEASE)
if("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" AND
NOT "${CMAKE_C_COMPILER_VERSION}" VERSION_LESS 4.2)
@@ -619,7 +563,9 @@ if(BUILD_TESTING)
CMAKE_SET_TARGET_FOLDER(CMakeLibTests "Tests")
endif()
CMAKE_SET_TARGET_FOLDER(cmw9xcom "Utilities/Win9xCompat")
-CMAKE_SET_TARGET_FOLDER(documentation "Documentation")
+if(TARGET documentation)
+ CMAKE_SET_TARGET_FOLDER(documentation "Documentation")
+endif()
# add a test
add_test(SystemInformationNew "${CMAKE_CMAKE_COMMAND}"
@@ -630,7 +576,7 @@ install(FILES Copyright.txt DESTINATION ${CMAKE_DOC_DIR})
# Install script directories.
install(
- DIRECTORY Modules Templates
+ DIRECTORY Help Modules Templates
DESTINATION ${CMAKE_DATA_DIR}
FILE_PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
DIRECTORY_PERMISSIONS OWNER_READ OWNER_EXECUTE OWNER_WRITE
@@ -641,16 +587,5 @@ install(
WORLD_READ WORLD_EXECUTE
)
-# process docs related install
-add_subdirectory(Docs)
-
-#-----------------------------------------------------------------------
-# End of the main section of the CMakeLists file
-#-----------------------------------------------------------------------
-
-# As a special case when building CMake itself, CMake 2.8.0 and below
-# look up EXECUTABLE_OUTPUT_PATH in the top-level CMakeLists.txt file
-# to compute the location of the "cmake" executable. We set it here
-# so that those CMake versions can find it. We wait until after all
-# the add_subdirectory() calls to avoid affecting the subdirectories.
-set(EXECUTABLE_OUTPUT_PATH ${CMake_BIN_DIR})
+# Install auxiliary files integrating with other tools.
+add_subdirectory(Auxiliary)
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst
new file mode 100644
index 0000000..76561b9
--- /dev/null
+++ b/CONTRIBUTING.rst
@@ -0,0 +1,34 @@
+Contributing to CMake
+*********************
+
+Community
+=========
+
+CMake is maintained by `Kitware, Inc.`_ and developed in
+collaboration with a productive community of contributors.
+
+.. _`Kitware, Inc.`: http://www.kitware.com
+
+The preferred entry point for new contributors is the mailing list.
+Please subscribe and post to the `CMake Developers List`_ to offer
+contributions. Regular and productive contributors may be invited
+to gain direct push access.
+
+.. _`CMake Developers List`: http://www.cmake.org/mailman/listinfo/cmake-developers
+
+Patches
+=======
+
+Please base all new work on the ``master`` branch. Then use
+``git format-patch`` to produce patches suitable to post to
+the mailing list.
+
+License
+=======
+
+We do not require any formal copyright assignment or contributor license
+agreement. Any contributions intentionally sent upstream are presumed
+to be offerred under terms of the OSI-approved BSD 3-clause License.
+See `Copyright.txt`_ for details.
+
+.. _`Copyright.txt`: Copyright.txt
diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in
index 495d156..eb0b2f6 100644
--- a/CTestCustom.cmake.in
+++ b/CTestCustom.cmake.in
@@ -32,6 +32,7 @@ set(CTEST_CUSTOM_WARNING_EXCEPTION
"warning .980: wrong number of actual arguments to intrinsic function .std::basic_"
"LINK : warning LNK4089: all references to.*ADVAPI32.dll.*discarded by /OPT:REF"
"LINK : warning LNK4089: all references to.*PSAPI.DLL.*discarded by /OPT:REF"
+ "LINK : warning LNK4089: all references to.*SHELL32.dll.*discarded by /OPT:REF"
"LINK : warning LNK4089: all references to.*USER32.dll.*discarded by /OPT:REF"
"Warning: library was too large for page size.*"
"Warning: public.*_archive_.*in module.*archive_*clashes with prior module.*archive_.*"
diff --git a/ChangeLog.manual b/ChangeLog.manual
deleted file mode 100644
index b389d8b..0000000
--- a/ChangeLog.manual
+++ /dev/null
@@ -1,5301 +0,0 @@
-Changes in CMake 2.8.12.2 (since 2.8.12.1)
-------------------------------------------
-Brad King (4):
- VS: Map /Fd to ProgramDataBaseFileName for VS 7,8,9 (#14577)
- Replace <OBJECT_DIR> rule placeholder consistently (#14667)
- VS: Convert include path to backslashes for VS >= 10
- Revert "Ninja: Track configured files so we can regenerate them."
-
-Rolf Eike Beer (1):
- FindOpenMP: fix detecting compilers that do not need any special flag (#14567)
-
-Ruslan Baratov (1):
- Xcode: Fix storyboard view
-
-Ted Kremenek (1):
- CMakeDetermineCompilerId: Fix compiler line match for Xcode 5.1
-
-Changes in CMake 2.8.12.1 (since 2.8.12)
-----------------------------------------
-Brad King (9):
- MSVC: Add /FS flag for cl >= 18 to allow parallel compilation (#14492)
- Genex: Reject $<TARGET_FILE:...> for object libraries (#14532)
- Check for OBJECT_LIBRARY source files at start of generation
- CMP0022: Plain target_link_libraries must populate link interface
- Do not export INTERFACE_LINK_LIBRARIES from non-linkable targets
- CMP0022: Warn about a given target at most once
- Fix summary documentation of INTERFACE_LINK_LIBRARIES
- file(GENERATE): Clear internal records between configures
- cmake: Validate -E cmake_automoc argument count (#14545)
-
-Modestas Vainius (1):
- Fix spelling in INTERFACE_LINK_LIBRARIES documentation (#14542)
-
-Stephen Kelly (5):
- CMP0022: Output link interface mismatch for static library warning
- Don't add invalid content to static lib INTERFACE_LINK_LIBRARIES.
- CMP0022: Add unit test for null pointer check and message.
- CMP0022: Add test for target_link_libraries plain signature
- Automoc: Add directory-level COMPILE_DEFINITIONS to command line (#14535)
-
-Vladislav Vinogradov (1):
- FindCUDA: Fix NPP library search for CUDA 5.5
-
-Changes in CMake 2.8.12 (since 2.8.12-rc4)
-------------------------------------------
-Brad King (4):
- Xcode: Fix test architecture selection for Xcode >= 5
- Xcode: Teach Tests/BuildDepends to allow LINK_DEPENDS_NO_SHARED failure
- Xcode: Drop XCODE_DEPEND_HELPER for Xcode >= 5
- Xcode: Fix OBJECT library support for Xcode 5 (#14254)
-
-Stephen Kelly (1):
- Genex: Fix processing multiple include directories for relative paths
-
-Changes in CMake 2.8.12-rc4 (since 2.8.12-rc3)
-----------------------------------------------
-Brad King (8):
- VS: Future-proof Intel project format selection
- MSVC: Drop /link from executable link lines with Ninja
- FindCUDA: Always list custom command outputs in their targets
- FindPNG: Honor old PNG_LIBRARY if provided (#14398)
- FindHDF5: Fix regression in per-configuration library selection
- bash-completion: Future-proof --help-*-list "cXXXX version" filtering
- OS X: Search system SDKs for frameworks
- Use first custom command for the same output (#14446)
-
-Patrick Gansterer (3):
- MSVC: Fix version test for linking corelibc on Windows CE (#14420)
- MSVC: Fix WinCE arch family preprocessor symbol (#14436)
- VS: Use version-specific subsystem for WinCE compiler id (#14440)
-
-Rolf Eike Beer (1):
- bootstrap: try better workaround for builds on Linux/HPPA
-
-Stephen Kelly (3):
- Add differing target property content to policy CMP0022 warning
- Fix CMP0022 warning when no old-style property is set
- genex: Fix preprocessing with incomplete content (#14410).
-
-Changes in CMake 2.8.12-rc3 (since 2.8.12-rc2)
-----------------------------------------------
-Robert Maynard (1):
- cmMakefile: Do not track CMake temporary files.
-
-Changes in CMake 2.8.12-rc2 (since 2.8.12-rc1)
-----------------------------------------------
-Brad King (2):
- Fix RunCMake.Configure test expectation newline matching
- Clean up install rules of CMake itself (#14371)
-
-Clinton Stimpson (1):
- OSX: Allow an empty INSTALL_NAME_DIR to override MACOSX_RPATH.
-
-Eric Bélanger (1):
- FindImageMagick: Find libraries named with HDRI support (#14348)
-
-Raphael Kubo da Costa (1):
- FindTCL: Add BSD paths for Tcl/Tk 8.6
-
-Robert Maynard (2):
- VS: Generate ToolsVersion matching each VS version
- cmMakefile: Do not track configured files known to be temporary
-
-Rolf Eike Beer (1):
- CheckC*CompilerFlag: add documentation what to expect from a positive result
-
-Stephen Kelly (6):
- Fix OLD behavior of CMP0021.
- try_compile: Extract IMPORTED targets from LINK_DEPENDENT_LIBRARIES
- try_compile: Extract IMPORTED targets from INTERFACE_LINK_LIBRARIES
- Genex: Fix evaluation of MAP_IMPORTED_CONFIG_<CONFIG>
- Fix some whitespace errors in docs.
- Normalize system directories from the interface target property
-
-Yury G. Kudryashov (1):
- CPack: Fix a typo in documentation
-
-Zack Galbreath (1):
- CTest: Fix GTM coverage parsing line offset bug
-
-Changes in CMake 2.8.12-rc1 (since 2.8.11.2)
---------------------------------------------
-Adam J. Weigold (1):
- CPackWIX: Add support for custom WiX templates
-
-Alex Neundorf (12):
- CMakeSystem: include toolchain file after setting CMAKE_HOST_ (#13796)
- Add support files for C, C++ and ASM for the IAR toolchain.
- Add regexps for the IAR toolchain to the vendor list.
- Add IAR to the CMakeDetectC(XX)CompilerID.c(pp).in
- cmake-gui: use shortcut F only for "Find in Output"
- Eclipse: fix #14204 and #14205: no file links to directories
- automoc: add a global AUTOMOC_TARGETS_FOLDER property
- install: do not strip dll import libraries (#14123)
- ExportTargets: add one more comment to the generated file.
- Add documentation for the --graphviz support
- graphvizoptions: add copyright notice
- add macros cmake_print_properties() and cmake_print_variables()
-
-Alexander Mohr (1):
- VS: Detect MSVC compiler id on ARM toolchain
-
-Andreas Mohr (10):
- Fix spelling and typos (affecting users)
- Fix spelling and typos (affecting binary data / module messages)
- Fix spelling and typos (non-binary)
- Fix spelling and typos (product names)
- FindwxWidgets: add DOC strings with usual style
- Explain distribution of Win9x binary on all Windows versions.
- VS10: add detailed comment about MIDL processing
- Docs: Update description of CMAKE_(BUILD_TYPE|CONFIGURATION_TYPES)
- Docs: Clarify that CMAKE_*_(PREFIX|SUFFIX) affect filenames
- Docs: Clarify wording "flag used" => "flag (to|will) be used"
-
-Ben Boeckel (12):
- set_property: Do not remove a property when APPENDing nothing
- Tests/RunCMake: Document stripping of expected output
- export: Error when exporting a target without a language
- variable_watch: Store client data as pointers
- variable_watch: Add a deleter for the client data
- variable_watch: Match client_data when finding duplicates
- variable_watch: Allow specifying the data to match in RemoveWatch
- variable_watch: Prevent making extra entries in the watch map
- variable_watch: Fix a typo in the error message
- variable_watch: Don't share memory for callbacks
- variable_watch: Check newValue for NULL
- variable_watch: Add test for watching a variable multiple times
-
-Bill Hoffman (1):
- Do not set CMAKE_MATCH_ variables when not neeeded
-
-Bjoern Thiel (1):
- SelectLibraryConfigurations: Fix for cached <base>_LIBRARY
-
-Brad King (91):
- VS: Separate compiler and linker PDB files (#11899, #14062)
- MSVC: Invoke 'link' directly for executables
- Ninja: Fix OBJECT_DIR placeholder path conversion
- VS 10: Escape ; as %3B in preprocessor definitions (#14073)
- CTest: Simplify ctest_* command source/build dir lookup
- get_filename_component: Add explicit unit tests
- get_filename_component: Add DIRECTORY option (#14091)
- Xcode: Use explicitFileType to mark source types (#14093)
- Check{C,CXX}CompilerFlag: Test using C locale (#14102)
- Windows: Search '/' prefix only when cross compiling (#10994)
- Recognize ld with toolchain prefix (#13960)
- VS: Always initialize CMAKE_CONFIGURATION_TYPES in IDE generators
- Begin post-2.8.11 development
- Sanitize linker name to parse implicit link line (#14154)
- VS: Allow /Fa to set AssemblerListingLocation (#14153)
- Tests/IncludeDirectories: Avoid shared library with no symbols
- if: Add test for IS_DIRECTORY
- try_compile: Add test for bad call error cases
- try_compile: Refactor argument processing
- variable_watch: Add test for MODIFIED_ACCESS report
- bootstrap: Compile KWSys SystemTools with UTIME(S|NSAT) values
- variable_watch: Remove leftover debugging code (#14187)
- variable_watch: Print accesses as "CMake Debug Log" messages
- Docs: Clarify CMAKE_PARENT_LIST_FILE (#14194)
- get_filename_component: Test ABSOLUTE of .. after root component
- try_compile: Add signature to allow multiple SOURCES
- enable_language: Clarify documentation
- Split cmBootstrapCommands.cxx into two sources
- Document CMAKE_INSTALL_PREFIX in CMAKE_SYSTEM_PREFIX_PATH
- cmake: Document "-E tar" support for .zip (#14225)
- FindBoost: Clarify failure on missing 'static' libs (#14235)
- CMakeDetermineVSServicePack: Improve documentation
- CMakeDetermineVSServicePack: Add VS 11 update 1 and 2 (#14239)
- Document ENV syntax as a "variable" (#14245)
- Embarcadero: Use response files only for includes, objects, and libs
- Escape target flags taken from COMPILE_OPTIONS
- Refactor target COMPILE_OPTIONS and COMPILE_FLAGS handling
- CMakeDetermineVSServicePack: Add VS 11 update 3
- Document removal of 'register' from flex/bison output
- VS12: Find proper MSBuild for VSProjectInSubdir test
- Fortran: Use explicit type in Fortran 90 check
- project: Document top-level CMakeLists.txt requirement
- ExternalProject: Document multiple COMMAND lines
- include: Clarify variable access scope for included file
- VS: Fix /MAP:mapfile flag mapping (#14282)
- cmake: On configure error suggest looking at CMake*.log files
- try_compile: Escape CMAKE_<lang>_FLAGS in test projects (#14268)
- try_compile: Add COPY_FILE_ERROR option to capture failure
- FindPNG: Add versioned library names for 1.6 (#14289)
- cmake: Fix resource leak reported by cppcheck
- VS,Xcode: Drop incorrect legacy dependency trace (#14291)
- OS X: Add copyright notices to Darwin-*-Fortran.cmake
- VS: Avoid leaking child process output back to IDE (#14266)
- Fix ExportImport test cmp0022NEW build on Watcom
- add_test: Document test name restrictions (#14298)
- UseJava: Update notice of copyright by Kitware
- add_custom_command: Manage backtrace memory correctly (#14299)
- Teach compiler ABI check to tolerate try_compile COPY_FILE failure
- Test COMPILE_DEFINITIONS target property get/set/get round-trip
- Check*CompilerFlag: Document use of CMAKE_REQUIRED_DEFINITIONS (#14309)
- sha2: Avoid type-punned pointer dereference (#14314)
- VS 6: Tell BuildDepends test to tolerate ninjadep failure
- cmMakefile: Do not track configured files known to be temporary
- libarchive: Update README-CMake.txt for new snapshot
- libarchive: Include cm_zlib.h to get zlib used by CMake
- libarchive: Silence API deprecation warnings
- libarchive: Avoid struct init with variable
- libarchive: Remove build options not used by CMake
- libarchive: Backport to CMake 2.8.2
- VS10: Honor user-specified /SUBSYSTEM: flag (#14326)
- VS10: Escape include paths in XML project files (#14331)
- OS X: Search for SDK based on deployment target (#14324)
- bootstrap: Do not suppress CMAKE_OSX_SYSROOT if CFLAGS have -isysroot (#14324)
- OS X: Enable command-line build without tools in PATH
- VS 6,7: Refactor local generators to avoid GetSourceFileWithOutput
- cmake-gui: Fix build rules for Qt5 on Windows
- Include cmMakefile.h before cm*Lexer.h to get stdint.h first
- Skip CTestLimitDashJ test on Borland
- Add RunCMake.Syntax test to cover argument parsing
- cmListFileLexer: Fix line number after backslash in string
- cmListFileLexer: Split normal and legacy unquoted arguments
- cmListFileArgument: Generalize 'Quoted' bool to 'Delimeter' enum
- Add RunCMake.Syntax test cases for command invocation styles
- cmListFileCache: Convert CMake language parser to class
- Warn about arguments not separated by whitespace
- Warn about unquoted arguments that look like long brackets
- cmListFileLexer: Modify flex output to avoid Borland warning
- Cygwin: Avoid legacy warnings in RunCMake.* tests
- Update version introducing CMP0021, CMP0022, and CMP0023
- OS X: Do not default to non-existent deployment target SDK
- Do not warn about left paren not separated by a space
-
-Christian Maaser (1):
- VS: Add support for .NET target framework version
-
-Clinton Stimpson (12):
- Improve documentation for CPACK_PACKAGE_INSTALL_REGISTRY_KEY.
- Refactor how bundles and frameworks are supported.
- Xcode: Add support for shared library versioning
- OS X: Fix getting of CFBundle LOCATION property.
- OS X: Add RPATH support for Mac.
- Xcode: Add rpath support in Xcode generator.
- OS X: Add support for @rpath in export files.
- OS X: Add test for rpaths on Mac.
- OS X: Improvements for getting install name of dylib.
- OS X: Enable rpath support on Mac OS X when find_library() is used.
- OS X: Fix regression handling frameworks for Ninja
- OS X: If necessary, use xcrun to help find otool used to query install names.
-
-Cédric OCHS (1):
- Xcode: Support XCODE_ATTRIBUTE_ with [variant=<config>] (#12532)
-
-Daniele E. Domenichelli (15):
- FindGTK2: Move check for pangocairo in gtk module
- FindGTK2: Detect gthread library
- FindFreetype: Detect Freetype installed by GtkMM installer for win
- FindGTK2: Do not fail on MSVC11 if vc100 libraries are available
- FindGTK2: Add GTK2_DEFINITIONS variable
- SelectLibraryConfigurations: Do not cache the _LIBRARY variable
- SelectLibraryConfigurations: Use -NOTFOUND instead of copying the vars
- FindGTK2: Use GTK_XXX_LIBRARY_DEBUG libraries in debug mode
- FindGTK2: Append _LIBRARY to var name in _GTK2_FIND_LIBRARY
- FindGTK2: Append _INCLUDE_DIR to var name in _GTK2_FIND_INCLUDE_DIR
- FindGTK2: Update local changelog
- FindGTK2: Remove GTK2_SKIP_MARK_AS_ADVANCED option
- FindGTK2: gthread-2.0 folder does not exist
- FindGTK2: Detect gmodule library
- FindGTK2: Detect pangoft2 and pangoxft libraries
-
-David Coppa (1):
- OpenBSD: Enable ELF parsing and editing (#14241)
-
-David Golub (1):
- CPack/NSIS: Obtain path from which to uninstall from registry (#14124)
-
-Eric NOULARD (5):
- Add support for componentized USER spec file
- CPackRPM add mechanism to remove path from generated list of file in RPM spec.
- CPackRPM add /usr/lib64 to the list of builtin to-be-excluded path
- CPackRPM protect '@' character in filename processed in the spec file.
- CPackRPM make the changelog line conform to expected format
-
-Fredrik Axelsson (1):
- CPackWIX: Handle CPACK_PACKAGE_EXECUTABLES (#13967)
-
-Funda Wang (1):
- FindImageMagick: Find v6 include dir (#14174)
-
-Graham Markall (2):
- OS X: Add Fortran library version flags (#14249)
- UseJava: Pass sources to javac using response file (#13028)
-
-Gregoire Lejeune (1):
- Allow using Java in a cross-compilation toolchain
-
-Ian Monroe (2):
- Ninja: use cd /D to set directory on Windows
- CPackWIX: Fix MSI package layout regression from parent
-
-Igor Murzov (2):
- bash-completion: Add -S,-SP options arguments completion
- bash-completion: Fix/improve generator names extraction
-
-Jack O'Connor (1):
- Eclipse: Add a missing space in the documentation
-
-Jason Spiro (1):
- MinGW: Find mingw32-make included with Code::Blocks IDE (#14302)
-
-John Farrier (2):
- VS: Add Windows Forms Support
- VS: Add VS_GLOBAL_ROOTNAMESPACE target property
-
-Jonas Andersen (1):
- VS: Add Resx configuration to the vcxproj file
-
-LibArchive Upstream (1):
- libarchive 3.1.2 (reduced)
-
-Marc Bartholomaeus (4):
- cmake-gui: Add search functions for Output window (#9733)
- cmake-gui: Add search functions to the context menu of the Output widget
- cmake-gui: Change shortcut of the search field from Ctrl-F to Alt-E
- cmake-gui: Add function for going to next error message in Output window
-
-Marcel Loose (1):
- FindCUDA: Remove duplicate entries from INCLUDE_DIRECTORIES.
-
-Marius Schamschula (1):
- FindX11: Search in /opt/X11 for OS X 10.8 (#14232)
-
-Mathias Gaunard (1):
- FindCUDA: CUDA_COMPUTE_BUILD_PATH uses relative paths to binary dir.
-
-Matt McCormick (1):
- ExternalProject: Allow blank SVN_USERNAME/SVN_PASSWORD (#14128)
-
-Matthew Bentham (1):
- Xcode: Honor CMAKE_(MODULE|SHARED)_LINKER_FLAGS_<CONFIG> (#14161)
-
-Matthew Woehlke (3):
- UseJava.cmake: fully use cmake_parse_arguments in add_jar
- FindProtobuf: also find pthread
- UseJava.cmake: document add_jar compat shim
-
-Nicolas Despres (1):
- Optimize custom command full-path dependency lookup
-
-Nils Gladitz (1):
- Add cmake_host_system_information command
-
-Patrick Gansterer (20):
- Add option to use stdout/stderr of original terminal in cmake --build
- Unify the way the flags of a static library are read
- Add support for CMAKE_STATIC_LINKER_FLAGS
- Add CMAKE_STATIC_LINKER_FLAGS to CMakeCommonLanguageInclude
- Add documentation for the missing CMAKE_*_LINKER_FLAGS_* variables
- Add additonal tests for the linker flags
- VS6: Add handling of CMAKE_*_LINKER_FLAGS_<CONFIG> variables
- VS6: Hardcode id_machine_6 for compiler detection
- VS10: Do not set the TargetMachine when detecting the compiler
- VS: Set CMAKE_VS_PLATFORM_NAME for VS7 and VS71 too
- VS: Replace ArchitectureId with PlatformName
- VS12: Remove duplicated overload of UseFolderProperty()
- Fix detection of WinCE SDKs with 64bit verion of CMake
- VS: Unify how the name of the generator is specified
- VS10: Add support for assembler code (#11536)
- WIN: Use COFF file header header for architecture detection (#14083)
- Improve const-correctness in cmVisualStudioGeneratorOptions
- Fix setting of the entry point symbol for Windows CE (#14088)
- Add support for new Windows CE compiler
- VS11: Add support for Windows CE SDKs
-
-Paul Kunysch (1):
- CTest: Add test for running many tests in parallel
-
-Pavel Shramov (1):
- cmDependsC: Collapse relative include paths
-
-Petr Kmoch (5):
- Add projectDir parameter to GenerateBuildCommand
- VS: Create parser for Visual Studio .sln files
- VS: Use .sln parser to build targets in subdirs with msbuild (#13623)
- VS: Add test for building MSBuild project in subdir
- ctest_build: Pass projectDir to GenerateBuildCommand
-
-Reid Kleckner (1):
- Ninja: Make cmcldeps depfile output more consistent with 'ninja -t msvc'
-
-Richard Ulrich (3):
- CPackWIX: Handle multiple shortcuts in the start menu
- CPackWIX: Add option to specify the language(s) of the installer
- CMakeCPack: Provide an upgrade guid for WiX
-
-Robert Maynard (9):
- cmMakefile: Refactor AddCMakeDependFile and AddCMakeOutputFile.
- Ninja: Track configured files so we can regenerate them.
- cmMakefile: Track configured files so we can regenerate them (#13582)
- Add a test to expose a bug with add_custom_command and ninja.
- Ninja: GlobalNinjaGenerator WriteBuild and WritePhonyBuild non static
- Ninja: Custom Command file depends don't need to exist before building
- FindCUDA: Search for libraries in <prefix>/lib/<arch>/nvidida-current.
- Ninja: Properly convert all paths to unix style before we do set intersection.
- Ninja: Update BuildDepends test to verify cmcldeps depfiles.
-
-Robin Lee (1):
- FindOpenSSL: Fix spelling of CMAKE_CROSSCOMPILING (#14075)
-
-Rolf Eike Beer (25):
- FindOpenGL: simplify OS selection code
- FindOpenGL: require headers to be found on non-Windows platforms (#13746)
- Tests: create output files for all memory checkers
- CTest: use an output file for Valgrind (#14110)
- CTest: remove unreachable code and CTestTestMemcheckUnknown test
- Tests: remove code duplication in CTestTestMemCheck tests
- Tests: verify that memory checker output files are always present
- CTest: drop suppression for gcc 2.9.6 errors from default Valgrind flags
- Tests: add test for non-existent Valgrind suppression file
- CTest: fix comment documenting cmBoundsCheckerParser class
- Tests: add a test with custom options passed to valgrind
- CTest: make sure never to report negative test times (#14132)
- Doc: fix example for FAIL_REGULAR_EXPRESSION
- CTest: break after first regex match on output
- Tests: ignore Guard Malloc messages in MemChecker tests
- CTest: avoid useless changing of directory
- Tests: fix build of dummy memtester on AIX
- wizard: fix warnings
- wizard: simplify control flow
- cmTarget: drop the unused local typedef LinkLine
- Tests: ignore GuardMalloc messages on all Apple build, not just XCode ones
- replace string(... MATCHES "^const$) with string(... STREQUAL "const")
- Revert "CTest: fix pre and post test commands with spaces" (#13887)
- FindPNG: improve library detection (#14301)
- CTest: create one output file per memcheck (#14303)
-
-Sean McBride (1):
- Remove some uses of obsolete 'register' storage specifier
-
-Sebastian Leske (1):
- Document CMAKE_<LANG>_FLAGS variable (#14305)
-
-Stephen Kelly (126):
- Make the QtAutomoc test compile with either Qt 4 or Qt 5
- Add a test for Qt5Automoc
- Remove an endif() followed by an if() for the same condition.
- Fix some copyastos in the DetermineRCCompiler file.
- Test transitive includes from setting the LINK_LIBRARIES property.
- Test the use of target transitive compile definitions with moc.
- Fix handling of commas in arbitrary content in genexes.
- Fix style.
- Remove unused marker for a variable which is now used.
- Extract the ProcessArbitraryContent method.
- Rename the method determining if a genex accepts arbitrary content.
- Make it possible for any genex to have arbitrary content at the end.
- Add the JOIN generator expression.
- Test that linking using the debug keyword to tll works.
- automoc: Read target defines unconditionally
- Remove unused typedef.
- Fix brace indentation.
- Add EXPORT_NAME property.
- Remove unused vector population.
- Sublime: Honor source-level COMPILE_FLAGS property
- Docs: cmake -G selects a "build system" generator
- Recognize shared library files with a numerical suffix
- FindQt4: Fix QUIET failure with Qt 5 but not Qt 4
- Error on relative path in INCLUDE_DIRECTORIES target property.
- include_directories: Fix handling of empty or space-only entries
- CTest: Read CTEST_PARALLEL_LEVEL from environment
- string: Add MAKE_C_IDENTIFIER subcommand
- GenerateExportHeader: Add newlines to separate the compiler output.
- GenerateExportHeader: Allow use of of this macro with MODULEs.
- file: Add GENERATE command to produce files at generate time
- Tests/Module/GenerateExportHeader: Test exported free-function
- Add $<LINK_LANGUAGE> generator expression
- GenerateExportHeader: Generate only C identifiers as defines
- Tests/CompileDefinitions: Avoid spaces in defines on VS 6
- Use the qt5::moc imported target instead of a variable.
- QtAutomoc: Get the Qt version through the target link interface
- Fix indentation.
- VS6: Rename some variables to correspond to config values.
- Add cmLocalGenerator::GetCompileOptions.
- Add <LANG>_COMPILER_ID generator expressions.
- cmTarget: Rename struct to be more re-usable.
- cmTarget: Rename LinkInterfaceIncludeDirectoriesEntries
- Add COMPILE_OPTIONS target property.
- Add target_compile_options command.
- Introduce target property <LANG>_VISIBILITY_PRESET
- Add a COMPILE_OPTION for a VISIBILITY_INLINES_HIDDEN target property.
- Qt4Macros: Allow specifying a TARGET in invokations of macros.
- Introduce add_compile_options command.
- Remove unused cmAddDefinitionsCommand::ParseDefinition method.
- Add some spaces to the INCLUDE_DIRECTORIES documentation.
- CLI: Suppress the unused warning if the key value pair is cached.
- Use --sysroot when cross compiling.
- Add missing 'seen' check for evaluating COMPILE_OPTIONS.
- Find targets in INTERFACE_COMPILE_OPTIONS when exporting for try_compile.
- Use a preprocessor loop to manage the valid transitive properties.
- Generate INTERFACE_COMPILE_OPTIONS on export.
- Genex: Fix indentation in docs.
- cmSystemTools: Fix typo in comment.
- Style: Don't put an else after a return.
- Add compiler target compile options.
- QtAutomoc: Fix handling of list separator for compile definitions.
- QtAutomoc: Use config-dependent compile definitions and includes.
- De-duplicate version comparison code.
- Add generator expressions for version comparision.
- Don't run the WarnUnusedCliUnused test on Windows.
- Add whitespace after colons in error messages.
- Add missing return after error report.
- Genex: Make LINK_LANGUAGE report an error when evaluating link libraries.
- Genex: Extend EvaluatingLinkLibraries to also check the top target name.
- Genex: Report error if a target file is needed to evaluate link libraries.
- Add generator expressions for compiler versions.
- Split the GeneratorExpression test into a third part.
- Remove unused variable.
- Add Target API to determine if an include is a system include.
- Store system include directories in the cmTarget.
- Extend the cmTargetPropCommandBase interface property handling.
- Add a SYSTEM parameter to target_include_directories (#14180)
- Add entire link interface transitive closure as target depends.
- Test non-IMPORTED libraries in the INTERFACE of IMPORTED libraries.
- GenexEval: Add abstracted access to link interface for a target.
- Introduce the LINK_ONLY generator expression.
- Introduce the INTERFACE_LINK_LIBRARIES property.
- Export: Generate INTERFACE_LINK_LIBRARIES property on targets.
- TLL: Don't populate old link interface if CMP0022 is NEW.
- Overload cmLocalGenerator::AppendDefines to add a list.
- Add an overload of cmIDEOptions::AddDefines taking a vector of strings.
- Refactor cmTarget::GetCompileDefinitions to use an out-vector, not a string.
- Document some variables for deprecation control.
- Genex: Make CMP0021 and CMP0022 usable with TARGET_POLICY
- Revert "Use --sysroot when cross compiling."
- Add target property debugging for COMPILE_DEFINITIONS
- Mark qt4_use_modules and qt4_automoc as obsolete.
- Add the INTERFACE_SYSTEM_INCLUDE_DIRECTORIES target property.
- Don't add trailing whitespace to error message.
- Remove TODO to uniq COMPILE_OPTIONS
- Remove the LINK_LANGUAGE generator expression.
- Genex: Fix $<CONFIG> with IMPORTED targets and multiple locations.
- FindQt4: Don't use Qt component _FOUND vars before they're defined (#14286)
- Add a convenient way to add the includes install dir to the INTERFACE.
- Use linked frameworks as a source of include directories.
- target_link_libraries: Add PUBLIC/PRIVATE/INTERFACE keyword signature
- FindQt4: Re-add QAxServer to the QT_MODULES.
- FindQt4: Populate the INTERFACE_LINK_LIBRARIES of IMPORTED targets.
- Genex: Allow relative paths in INSTALL_INTERFACE.
- cmTarget: Fix property name typo in docs.
- Docs: Document file(GENERATE) CONDITION as optional.
- Qt4Macros: Remove unneeded generate CONDITION.
- Qt4Macros: Remove undefined varible use.
- Qt4Macros: Simplify some variable population.
- Docs: Document existing target property debugging options.
- Docs: Trim trailing whitespace in generated doc.
- Docs: Generalize and de-duplicate VISIBILITY_PREFIX docs.
- Docs: Document variables for default visibility values.
- Export: Fix typo of LINK_INTERFACE_LIBRARIES.
- cmTarget: Remove duplicates when printing traces of tll signatures
- cmTarget: Fix iface libraries and languages for static libraries.
- Genex: Disallow LINKER_LANGUAGE only when used on a static library.
- install: Remove error condition using INCLUDES DESTINATION without EXPORT.
- Fix crash on export of target with empty INTERFACE_INCLUDE_DIRECTORIES.
- Allow target commands to be invoked with no items (#14325).
- Docs: Fix typo in CMAKE_DEBUG_TARGET_PROPERTIES
- cmTarget: Add NAME property
- Export: Process generator expressions from INCLUDES DESTINATION.
- Add the ALIAS target concept for libraries and executables.
- Revert "Add compiler target compile options."
- Genex: Fix segfault when parsing ends with parameter expectation.
-
-Vadim Zhukov (1):
- Add cmake_reset_check_state() macro
-
-Victor Zverovich (1):
- Use GmakeErrorParser instead of deprecated MakeErrorParser (fixes bug 0013699)
-
-Yichao Yu (1):
- variable_watch: Add missing string enumeration entry (#14188)
-
-Ömer Fadıl USTA (3):
- ccmake: Add missing initializers reported by cppcheck
- libarchive: Fix free() order to avoid accessing freed memory
- cmcurl: Fix resource leak reported by cppcheck
-
-Changes in CMake 2.8.11.2 (since 2.8.11.1)
-------------------------------------------
-Alex Neundorf (1):
- asm support: adapt to changes in CMakeDetectCompiler in 2.8.10
-
-Bjoern Thiel (1):
- SelectLibraryConfigurations: Fix for cached <base>_LIBRARY
-
-Brad King (5):
- cmCryptoHash: Increase alignment of HashFile buffer
- cmcurl: Backport curl bug 1192 fix (#14250)
- VS12: Add Visual Studio 12 generator (#14251)
- VS12: Generate flag tables from MSBuild v120 tool files
- FindBoost: Add -vc120 mangling for VS 12
-
-Robert Maynard (1):
- VS: Clarify Visual Studio product year for each version
-
-Changes in CMake 2.8.11.1 (since 2.8.11)
-----------------------------------------
-Brad King (5):
- ExternalData: Do not re-stage staged object files
- try_compile: Fix quoting of libraries in generated CMakeLists.txt
- KWSys: Fix SystemTools::FileIsDirectory with long paths (#14176)
- FindBoost: Fix handling of \ in input paths (#14179)
- Xcode: Fix framework search paths in STATIC library targets (#14191)
-
-Modestas Vainius (1):
- Fix test failures caused by regexp-sensitive characters in the build paths
-
-Stephen Kelly (9):
- include_directories: Fix handling of empty or space-only entries
- try_compile: Trim whitespace from LINK_LIBRARIES entries
- cmTarget: Remove some hardcoding of transitive property names.
- GenexEval: Extract a getLinkedTargetsContent from TargetPropertyNode.
- GenexEval: Fix evaluation of INCLUDE_DIRECTORIES target property.
- GenexEval: Test evaluation of INCLUDE_DIRECTORIES target property.
- FindQt4: Don't fail if certain Qt modules are unavailable.
- Qt4Macros: Handle Qt ActiveX libraries in qt4_use_modules.
- Genex: Fix the HEAD target used for evaluated expressions
-
-Changes in CMake 2.8.11 (since 2.8.11-rc4)
-----------------------------------------
-None
-
-Changes in CMake 2.8.11-rc4 (since 2.8.11-rc3)
-----------------------------------------------
-Brad King (1):
- target_link_libraries: Update usage requirements documentation
-
-Stephen Kelly (3):
- Centralize maintenance of usage requirement include directories
- Fix include dir propagation from conditionally linked targets
- Memoize usage requirement include directories in a config-specific map
-
-Changes in CMake 2.8.11-rc3 (since 2.8.11-rc2)
-----------------------------------------------
-Brad King (1):
- get_filename_component: Document path components more clearly (#14091)
-
-Rolf Eike Beer (1):
- try_compile: add missing fclose() to recently added error case
-
-Stephen Kelly (1):
- Fix clearing of the INCLUDE_DIRECTORIES DIRECTORY property.
-
-Changes in CMake 2.8.11-rc2 (since 2.8.11-rc1)
-----------------------------------------------
-Alex Neundorf (6):
- Determine C/CXX/Fortran compiler: minor restructuring
- Determine C/CXX/Fortran compiler: fix indentation
- rename TI_DSP toolchain to TI, since it works also for the ARM compiler
- TI compiler: add automatic detection of prefix and suffixes
- Modules/readme.txt: switch from "XXX" to "Xxx"
- Modules/readme.txt: make lines a bit shorter for easier readability
-
-Ben Boeckel (1):
- Clang: Add -isystem flag support everywhere
-
-Bill Hoffman (1):
- ExternalProject: Retry on a failed git clone
-
-Brad King (8):
- string: Fix regex documentation of '^' and '$' (#14028)
- Rename variable for including current directory in interfaces
- Replace <TARGET> in CMAKE_<LANG>_COMPILE_OBJECT rule variables
- Test evaluation of per-config COMPILE_DEFINITIONS (#14037)
- VS: Fix VS 10/11 .sln headers (#14038)
- add_dependencies: Distinguish target v. file dependencies in error (#14050)
- automoc: Use a pre-build event in VS >= 7
- Handle usr-move without forcing absolute paths (#14041)
-
-Clinton Stimpson (2):
- FindQt4: If Qt5 is in CMAKE_PREFIX_PATH, be sure to find Qt4 includes.
- Qt4: Fix typo setting a variable for FindThreads.
-
-James Bigler (1):
- FindCUDA: Use the PRE_LINK mode only for MSVC >= 10
-
-Matthew Woehlke (4):
- UseJava.cmake: simplify path logic
- UseJava.cmake: fix passing jars to add_jar
- UseJava.cmake: accept jar targets in add_jar
- UseJava.cmake: require explicit request to include jars
-
-Paul Kunysch (1):
- CPack: Avoid "format expects 'unsigned int'" warnings
-
-Petr Kmoch (1):
- cmSystemTools: Generalize TrimWhitespace to all whitespace
-
-Rex Dieter (1):
- FindImageMagick: Search versioned suffixes (#14012)
-
-Rolf Eike Beer (1):
- FindRuby: improve version selection
-
-Stephen Kelly (13):
- FindQt4: Set the Qt4_FOUND variable if Qt4 is found
- FindQt4: Set the INTERFACE_QT_MAJOR_VERSION for Qt4::QtCore
- Document that CMAKE_AUTOMOC works with Qt 5.
- FPHSA: Fix FOUND_VAR check to work with if() auto-dereference
- Fix cmGeneratorExpression::Preprocess for interleaved inputs.
- cmake-gui: Use the QStandardItemModel workaround until 5.1.0.
- Automoc: append implicit includes after user-specified dirs
- Fix the evaluation of per-config COMPILE_DEFINITIONS (#14037)
- Fix new target commands documentation.
- install(EXPORT): Ensure clean INTERFACE_INCLUDE_DIRECTORIES
- Report an error on IMPORTED targets with a faulty INTERFACE
- Error if linked target has relative paths in INTERFACE_INCLUDE_DIRECTORIES
- Fix the Qt 5 version required to run the IncompatibleQt test.
-
-Changes in CMake 2.8.11-rc1 (since 2.8.10.2)
-----------------------------------------------
-Alan Witkowski (1):
- FindBullet: Search in per-config dirs on Windows (#13738)
-
-Aleksey Avdeev (1):
- Add module FindIcotool
-
-Alex Neundorf (30):
- Eclipse: add switch to disable linked resources (#13189)
- Eclipse: set source path once to fix Eclipse indexer (#13596)
- cmDependsC: remove unused member variable
- cmDependsC: remove code duplication
- cmDependsC: fix indentation
- cmDepends: allow multiple dependees per depender
- AddCustomCommand: Handle multiple IMPLICIT_DEPENDS files (#10048)
- Add support for Texas Instruments DSP compiler (#12405)
- Squish: detect version
- Squish: use FPHSA
- Squish: find executables also under Windows
- Squish: rename squish_add_test() to squish_v3_add_test() and fix docs a bit
- Squish: use ${CMAKE_CURRENT_LIST_DIR}
- Squish: add support for squish 4 (#9734)
- Squish: fix new squish_v4_add_test() macro
- Automoc: "inherit" FOLDER target property from target (#13688)
- FPHSA: don't succeed if only checking for XX_FOUND (#13755)
- CONFIGURE_PACKAGE_CONFIG_FILE(): improve generated comments
- Automoc: get include dirs without stripping implicit include dirs off
- configure_package_config_file: force absolute paths for usr-move
- configure_package_config_file(): fix indentation
- configure_package_config_file(): extend documentation
- documentation: handling of relative paths by include- and link_directories()
- automoc: use a std::vector<> instead a std::list
- automoc: use the header extensions from cmMakefile
- Eclipse: also detect include dirs and macro for clang (#13823)
- cmLocalGenerator: remove "virtual" where not used
- export files: rewrite the code for checking required targets
- FPHSA: Add FOUND_VAR option to specify _FOUND variable name
- FPHSA: improve documentation
-
-Alexander Chehovsky (2):
- Xcode: Fix nested source group handling (#12943)
- Xcode: Sort source files
-
-Amine Chadly (2):
- file: remove dead code
- Add test to secure the file(GLOB empty) behavior.
-
-Amit Kulkarni (6):
- OpenBSD: Install shared libraries without executable permission
- OpenBSD: Add paths for Java 1.6.0/1.7.0 JRE/JDK
- OpenBSD: Add path for Freetype under X.org
- OpenBSD: Add paths for Tcl/Tk 8.4/8.5
- OpenBSD: Add path for Lua 5.1
- OpenBSD: Add paths for Qt3/Qt4
-
-Andreas Mohr (4):
- Documentation: Correct typos and grammar
- Documentation: Clarify some command descriptions
- Correct string literal typo (have "(NULL)" like all other cases).
- Remove seemingly bogus duplicate CPACK_PACKAGE_FILE_NAME call.
-
-Anton Helwart (1):
- VS: Avoid empty source groups in some cases (#3474)
-
-Benjamin Eikel (2):
- Swap linking order of SDLmain and SDL (#0013769)
- FindSDL_...: Restore dropped search paths (#13819)
-
-Brad King (109):
- find_library: Refactor internal name iteration
- find_library: Simplify framework search logic
- find_library: Generalize helper macro in test case
- find_library: Optionally consider all names in each directory
- FindBoost: Remove extra indentation level
- FindBoost: Mark Boost_DIR cache entry as advanced
- FindBoost: Use PATH_SUFFIXES to look in "Program Files"
- FindBoost: Overhaul caching and search repeat behavior
- FindBoost: Construct a clean Boost_LIBRARIES value
- FindBoost: Refactor Boost_FOUND computation and version check
- FindBoost: Rewrite documentation
- BSD: Do not require dlfcn.h to build shared libs (#13573)
- Xcode: Fix ReRunCMake.make path to cmake.check_cache (#13603)
- VS10: Refactor link options collection
- VS10: Honor /DELAYSIGN and /KEYFILE flags (#13601)
- Document external language support policy
- CTest: Allow SUBMIT_INDEX with CDash
- KWSys: Submit dashboard builds to PublicDashboard
- pre-commit: Update KWSys rejection message for new workflow
- CTestCustom: Suppress LNK4089 warning about PSAPI
- load_command: Deprecate and document pending removal
- Documentation: Clarify configure_file behavior
- OS X: Warn about known SDK breakage by Xcode 3.2.6
- Optionally skip link dependencies on shared library files
- Teach BuildDepends test to cover LINK_DEPENDS_NO_SHARED
- Serialize tests for EXCLUDE_FROM_DEFAULT_BUILD
- MSVC: Drop default use of /Zm1000 for VS >= 7.1
- Teach find_(path|file) about Linux multiarch (#13742)
- Test find_path multiarch support (#13742)
- Add policy CMP0019 to skip include/link variable re-expansion
- Xcode: Add frameworks search paths from link dependeny closure (#13397)
- Makefile: Use modern link information for framework search paths
- Documentation: Clarify handling of implicit link directories
- Remove references to KWSys Process Win9x support
- add_library: Document object library portability suggestion
- OS X: Link with all framework search paths, not just the last
- OS X: Detect implicit link directories on modern toolchains
- OS X: Detect implicit linker framework search paths
- Revert "load_command: Deprecate and document pending removal"
- VS11: Simplify external object file handling (#13831)
- KWIML: Teach ABI about 'long long' on older GNU
- CMake: Skip empty link.txt lines (#13845)
- ExternalProject: Allow DEPENDS on normal targets (#13849)
- VS11: Fix VSExternalInclude test
- target_link_libraries: Document that new sigs privatize old (#13876)
- Tests: Avoid CTestLimitDashJ crash on Borland 5.8 builds
- Fix use of cmTypeMacro in new command classes
- Fix cmSystemTools::RenameFile race on Windows
- VS 6: Create .rule file directory before file
- Add ExternalData module
- ExternalData: Remove compatibility with CMake < 2.8.5
- ExternalData: Do not match directory names when resolving DATA{}
- ExternalData: Cleanup stray TODO and typo in comments
- ExternalData: Remove unused private interface
- ExternalData: Improve series matching using an explicit syntax
- ExternalData: Add tests covering interfaces and errors
- ExternalData: Allow ()-groups in series match regex
- ExternalData: Allow DATA{} syntax to reference directories
- ExternalData: Generalize hash algo/ext handling
- ExternalData: Add support for SHA 1 and 2 hash algorithms
- ExternalData: Collapse ../ components in DATA{} paths
- Fix Module.ExternalData test on Cygwin
- Fix Module.ExternalData test on VS 6
- ExternalData: Attach download rules to content links in IDEs
- find_package: Reword <package>_NO_INTERFACES documentation
- Normalize full paths in implicit link library list
- Fail early if no current working directory exists
- MSVC: Fix CMAKE_CL_64 in CXX-only projects (#13896)
- ExternalProject: Simplify CMake command line generation
- Tests: Run ctest custom commands with VERBATIM
- CMake: Add -T option to choose a generator toolset
- VS: Implement generator toolset selection (#10722, #13774)
- Xcode: Implement generator toolset selection (#9831, #13802)
- CTest: Add options to set generator toolset
- ExternalProject: Propagate the generator toolset
- Tests: Consolidate ctest --build-and-test generator options
- Tests: Add generator toolset support
- Fix crash on empty CMAKE_<lang>_COMPILER value (#13901)
- file: Do not remove symlinked directories recursively (#10538)
- Embarcadero: Fix default link stack/heap flags (#13912)
- Avoid duplicate RPATH entries
- AIX-GNU: Put implicit link directories in runtime libpath (#13909)
- VS: Replace generation timestamp file atomically
- VS,Xcode: Remove unused CMAKE_GENERATOR_* variables
- Delete entire CMakeFiles directory when deleting CMakeCache.txt (#13756)
- Tests/RunCMake: Allow tests to control build tree behavior
- Test Unix Makefiles generator support for changing compilers
- Xcode: Drop check for circular target dependencies
- Xcode: Each target dependency edge needs a unique object (#13935)
- Tests: Replace exec_program with execute_process
- Tests: Generalize decision for 'make' tool supporting spaces
- ExternalData: Test content link with a space in its name
- FPHSA: Convert FOUND_VAR failure test to RunCMake
- VS: Restore CMAKE_GENERATOR_FC variable
- Xcode: Generate recommended artwork setting (#13954)
- CTest: Fix ctest_update with 'HEAD' file in source tree
- VS 10: Fix CMAKE_<LANG>_STACK_SIZE implementation (#13968)
- install(EXPORT): Force absolute paths for usr-move
- AIX: Do not use -brtl to create shared libraries (#13997)
- add_subdirectory: Compute output dir with consistent slashes (#10072)
- ExternalData: Preserve escaped semicolons during argument expansion
- Avoid crash when checking property link dependencies without link info
- Avoid crash when checking property compatibility without link info
- Refactor RunCMake.build_command test to allow more cases
- build_command: Fail early without CMAKE_MAKE_PROGRAM (#14005)
- CTest: Fail early without PROJECT_BINARY_DIR (#14005)
- FindQt4: Fix QT_QMAKE{_QMAKE => }_EXECUTABLE typo
- XL: Use -qpic for position independent code (#14010)
- Configure Tests/CMakeTests only with BUILD_TESTING ON
-
-Casey Goodlett (1):
- CTest: Prevent creation of unbounded number of tests in ctest (#12904)
-
-Clemens Heppner (1):
- CMake: source_group needs to check its own regex after its children (#13611)
-
-Clinton Stimpson (5):
- Fix for possible Rez errors when creating dmg.
- PackageMaker: Enable postflight script in component mode (#12375)
- CPack: Fix RPM/Deb package names to not include "ALL_COMPONENTS_IN_ONE"
- Qt4: Add SYSTEM option to include_directories.
- FindQt4: set QT_VERSION_* variables sooner.
-
-David Cole (19):
- Begin post-2.8.10 development
- CPack: Add automatic detection of the Unicode makensis (#9629)
- BundleUtilities: Use a more inclusive REGEX for frameworks (#13600)
- VS: Avoid empty, unreferenced solution folders... (#13571)
- NMake: Add a test to demonstrate EmptyDepends issue (#13392)
- NMake: Fix problem with empty DEPENDS args (#13392)
- CMake: Remove "/STACK:10000000" from default linker flags (#12437)
- Watcom: Avoid prompt from wmake about dll with no exports...
- Tests: Use the right path to CPack value for running CPack tests
- VS11: Allow using folders with the VS11 Express Edition (#13770)
- CPack: Fix dashboard errors (#11575)
- CPack: Fix dashboard warnings (#11575)
- CPack: Fix dashboard errors and warnings (#11575)
- CMake: Stylistic changes and documentation tweaks
- CMake: Fix dashboard warnings
- CMake: Fix dashboard test failure
- CMake: Fix dashboard build errors and warnings
- CTest: Coverage handler: expect certain output lines from gcov 4.7 (#13657)
- Add CTestLimitDashJ test (#12904)
-
-David Golub (2):
- CPack/NSIS: Fix compatibility issues with prerelease NSIS (#13202)
- CPack/NSIS: Add support for 64-bit NSIS (#13203)
-
-Eric LaFranchi (1):
- CPack: WIX Product Icon, UI Banner, UI Dialog support (#13789)
-
-Eric NOULARD (1):
- CPackRPM fix #13898 uses IF(DEFINED var) to avoid wrong var value logic
-
-Gerald Hofmann (1):
- CPack: Fix NSIS version check without release version (#9721)
-
-James Bigler (4):
- Use PRE_LINK instead of PRE_BUILD when testing PRE_LINK.
- FindCUDA: Remove linkage against CUDA driver library (#13084)
- FindCUDA: Add support for separable compilation
- FindCUDA: Added cupti library.
-
-Janne Rönkkö (1):
- FindQt4: Do not use qmake from Qt5
-
-Jean-Christophe Fillion-Robin (1):
- Add $<SEMICOLON> generator expression.
-
-Marcus D. Hanwell (1):
- Removed GenerateExportHeader warnings about old compilers
-
-Mark Salisbury (2):
- VS: Specify WinCE subsystem also for DLLs
- VS: Specify WinCE subsystems correctly in VS 9 2008
-
-Mathias Gaunard (2):
- enable CTEST_USE_LAUNCHERS with Ninja too
- Ninja: fix usage of cldeps with ctest launchers
-
-Matt McCormick (7):
- ExternalProject: Only run 'git fetch' when required.
- ExternalProject: Do smoke tests for Git Tutorial builds.
- ExternalProject: Add tests for UPDATE_COMMAND.
- ExternalProject: Always do a git fetch for a remote ref.
- ExternalProject: Make sure the ExternalProjectUpdate setup is available.
- ExternalProject: Verify when a fetch occurs during update test.
- ExternalProjectUpdateTest: Only support Git 1.6.5 and greater.
-
-Matthew Woehlke (1):
- ccmake: Allow DEL key in first column
-
-Michael Tänzer (4):
- GetPrerequisites: Move tool search paths up
- GetPrerequisites: Add support for objdump
- GetPrerequisites: Enable test for BundleUtilities on MinGW
- GetPrerequisites: Add documentation for objdump
-
-Michael Wild (1):
- cmDepends: No dependency-vector erasure in CheckDependencies
-
-Morné Chamberlain (15):
- Added a generator for Sublime Text 2 project files.
- Added some support for sublimeclang_options in the generated project file.
- Changed SublimeClang include path generation to expand to absolute paths.
- Cleaned up the Sublime Text 2 Generator code a bit.
- Fixed support for the Ninja build system.
- Added and cleaned up some comments.
- The generator no longer generates an explicit list of source files.
- The generator no longer generates absolute paths to the ninja.build/Makefiles.
- Added a CMAKE_SUBLIMECLANG_DISABLED variable that disables SublimeClang.
- Fixed Sublime Text project generation for in-source builds
- Define flags in CMAKE_C(XX)_FLAGS are now included in SublimeClang settings.
- SublimeText2 Gen: Improved use of define, include flags from CMAKE_C(XX)_FLAGS
- SublimeText2 Gen: Fixed the issue where include directory flags used -D
- Sublime Text 2 Gen: Per-source Compile flags are now saved in a separate file.
- SublimeText 2 Gen: Set the sublimeclang_options_script property.
-
-Neil Carlson (1):
- NAG: Use -PIC for Fortran position-independent code (#13932)
-
-Nils Gladitz (2):
- CPack: Add a WiX Generator (#11575)
- CMake: Add TIMESTAMP subcommand to string and file commands
-
-Patrick Gansterer (28):
- Introduce the abstract class cmGlobalGeneratorFactory
- Add cmGlobalGeneratorFactory::GetGenerators()
- Search generator in cmake::ExtraGenerators before in cmake::Generators
- Allow a GeneratorFactory handling of more than one generator
- Make cmGlobalGenerator::GetDocumentation() a static function
- VS: Remove AddPlatformDefinitions from platform-specific generators
- VS: Fix ArchitectureId of Visual Studio 10 IA64 generator
- VS: Remove GetPlatformName from platform-specific generators
- VS: Remove EnableLanguage from platform-specific generators
- VS: Remove platform specific generator files
- FindBISON: Add support for the Win flex-bison distribution
- FindFLEX: Add support for the Win flex-bison distribution
- VS: Remove TargetMachine for linker when checking compiler id
- VS: Add CMAKE_VS_PLATFORM_NAME definition to cmMakefile
- VS: Add static method to get the base of the registry
- VS: Change variable type of ArchitectureId from const char* to string
- VS: Change variable type of Name from const char* to string
- VS: Support setting correct subsystem and entry point for WinCE
- VS: Add parser for WCE.VCPlatform.config to read WinCE platforms
- VS: Allow setting the name of the target platform
- VS: Make DetermineCompilerId working with WinCE too
- VS: Added "Deploy" at project configuration for WindowsCE targets
- Add command to generate environment for a Windows CE SDK
- VS: Set the correct SubSystem when determinating the CompilerId
- VS: Add the entry point when compiling for WindowsCE
- VS: Ignore LIBC.lib when linking the CompilerId executables
- Set WINCE to 1 when building for WindowsCE
- Ninja: Avoid LNK1170 linker error
-
-Peter Kümmel (6):
- Ninja: encode LINK_FLAGS to handle bash variables
- Ninja: fix building from Codeblocks GUI
- Ninja: remove implicit dependency on custom command outputs
- Ninja: use MinGW generator code in EnableLanguage()
- Ninja: the Ninja generator does not support Fortran yet.
- Ninja: escape line breaks in literals
-
-Petr Kmoch (11):
- Add tests for list() argument count
- Add tests for list() invalid arguments
- Consolidate list() argument count testing
- Add several get_property() tests
- Add tests for EXCLUDE_FROM_DEFAULT_BUILD
- Add property EXCLUDE_FROM_DEFAULT_BUILD_<CONFIG>
- Define property EXCLUDE_FROM_DEFAULT_BUILD
- Add tests for VS_SOLUTION_GLOBAL_SECTIONS
- Implement properties VS_GLOBAL_SECTION_*
- Define properties VS_GLOBAL_SECTION_*
- Documentation: Clarify a few subtleties
-
-Riku Voipio (1):
- KWIML: Teach ABI.h about Aarch64
-
-Robert Maynard (4):
- XCode generator won't infinitely parse compiler flags (bug #13354).
- Correct missing parameter to CMP0018Flags call.
- Remove ability to generate sublime clang files.
- Update generator to use new cmGeneratorTarget api.
-
-Rodolfo Schulz de Lima (1):
- FindGTK2: Fix GTK2_LIBRARIES order for static gtk libraries
-
-Rolf Eike Beer (21):
- FindQt: improve version selection
- FindQt: add some more places to look for Qt3
- Tests: add MajorVersionSelection tests
- Linux/PA-RISC: Link with --unique=.text.* to help binutils
- FindQt: add to MajorVersionSelection test
- CMakeTests: allow to call the check_cmake_test macro with a given file
- list: add tests for CMP0007 behavior
- GetProperty test: move doc property tests into main process
- Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include()
- bootstrap: use better defaults for Haiku
- Haiku no longer defines __BEOS__
- check for Haiku only with __HAIKU__
- FindLua51: do not try to link libm on BeOS
- FindGLUT: BeOS does not have libXi and libXmu
- FindOpenGL: add Haiku paths
- doc: fix linebreaks in generator expression documentation
- ProcessorCount test: fix path to cmsysTestsCxx executable
- ProcessorCount test: require SystemInformation process to work
- FindOpenMP: improve documentation (#13895)
- properly detect processor architecture on Windows
- fix Windows processor detection
-
-Sean McBride (1):
- libarchive: fixed undefined left shift with signed ints
-
-Slava Sysoltsev (1):
- FindImageMagick: Search quantum depth suffixes (#13859)
-
-Stephen Kelly (158):
- GenEx: Test early determination of AND and OR
- Enable some compiler warnings when building CMake.
- Resolve warnings about unused variables.
- Resolve warnings about used enum values in switch blocks.
- Resolve warnings about shadowing parameters and local variables.
- Resolve ambiguity warning regarding use of && and ||.
- Remove references to ancient and removed parts of the code.
- Always use the auto_ptr from cmsys.
- Port cmGeneratorExpression to cmTarget from cmGeneratorTarget.
- Split link information processing into two steps.
- Revert "Move GetLinkInformation to cmGeneratorTarget"
- Genex: Extract a method to parse parameters.
- Genex: Ensure that $<0:...> has a parameter.
- Genex: Don't segfault on $<FOO,>
- Generate an early-return guard in target Export files.
- Fix some warnings from -Wundef
- Make targets depend on the link interface of their dependees.
- Use cmsys::auto_ptr to manage cmCompiledGeneratorExpressions
- Keep track of INCLUDE_DIRECTORIES as a vector of structs.
- Add a way to print the origins of used include directories.
- Tests: Fix warning about unused variable
- Qt4: Add module dependencies to the IMPORTED targets
- Don't crash when a target is expected but is not available.
- Add test for custom command with a genex referring to a target.
- GenEx: Add expressions to specify build- or install-only values
- Allow generator expressions to require literals.
- Add the TARGET_NAME generator expression.
- Add API to extract target names from a genex string.
- Add API to populate INTERFACE properties in exported targets.
- Make all relevant targets available in the genex context.
- Use mapped config properties to evaluate $<CONFIG>
- Make cycles in target properties ignored, not an error.
- Populate the ExportedTargets member early in GenerateMainFile
- Handle INTERFACE properties transitively for includes and defines.
- Add CMAKE_BUILD_INTERFACE_INCLUDES build-variable.
- Make linking APIs aware of 'head' target
- Add LINK_LIBRARIES property for direct target link dependencies
- Allow target_link_libraries with IMPORTED targets.
- Add the -Wundef flag when compiling CMake.
- FindQt4: Add INTERFACE includes and defines to Qt4 targets
- Add the target_include_directories command.
- Add the target_compile_definitions command.
- Keep track of properties used to determine linker libraries.
- Add API to calculate link-interface-dependent bool properties or error.
- Process the INTERFACE_PIC property from linked dependencies
- Fix linking to imported libraries test.
- Add cmGeneratorExpression::Split() API.
- Don't pass a position when determining if a target name is a literal.
- Extract the AddTargetNamespace method.
- Split the generator expression before extracting targets.
- Split LINK_INTERFACE_LIBRARIES export handling into dedicated method.
- Allow generator expressions in LINK_INTERFACE_LIBRARIES.
- Add a way to check INTERFACE user property compatibility.
- Don't include generator expressions in old-style link handling.
- Document the use of generator expressions in new commands.
- Add the TARGET_DEFINED generator expression
- Strip consecutive semicolons when preprocessing genex strings.
- Don't write a comment in the export file without the code.
- Only generate one check per missing target.
- Move the exported check for dependencies of targets
- Move the exported check for file existence.
- Add a test for the interfaces in targets exported from the build tree.
- Make the BUILD_INTERFACE of export()ed targets work.
- Export the INTERFACE_PIC property.
- Test evaluation target via export for generator expressions
- Make sure generator expressions can be used with target_include_directories.
- Populate the link information cache before checking dependent properties.
- Exit early if we find an inconsistent property.
- Make INTERFACE determined properties readable in generator expressions.
- Clear the link information in ClearLinkMaps.
- Export the COMPATIBLE_INTERFACE_BOOL content properties
- Add the $<TARGET_POLICY> expression
- Automatically link to the qtmain library when linking to QtCore.
- Don't wrap all targets in LINK_LIBRARIES in a TARGET_NAME genex.
- Generate new-style cmake code during export.
- Store includes from the same include_directories call together.
- Only output includes once after the start of 'generate-time' when debugging.
- Specify the target whose includes are being listed.
- Output include directories as LOG messages, not warnings.
- Revert "Allow target_link_libraries with IMPORTED targets."
- Disallow porcelain to populate includes and defines of IMPORTED targets.
- Exclude the LINK_LIBRARIES related properties from INTERFACE evaluation.
- Make calculation of link-interface-dependent properties type-sensitive.
- Add the COMPATIBLE_INTERFACE_STRING property.
- Move GetCompileDefinitions to cmTarget.
- Process COMPILE_DEFINITIONS as generator expressions in QtAutomoc.
- Generate the _IMPORT_PREFIX in the non-config export file.
- Add the INSTALL_PREFIX genex.
- Fix TARGET_PROPERTY target extractions.
- Make the Property name protected so that subclasses can use it.
- Don't allow targets args in the new target commands.
- Make subclasses responsible for joining content.
- Use the result of converting to a unix path.
- Handle reading empty properties defined by the link interface.
- Advance more when preprocessing exported strings.
- Make it an error for INSTALL_PREFIX to be evaluated.
- Export targets to a targets file, not a Config file.
- Add a way to exclude INTERFACE properties from exported targets.
- Add API to check if we're reading a includes or defines property.
- Add the $<LINKED:...> generator expression.
- Add includes and compile definitions with target_link_libraries.
- Test workaround of bad interface include directories from depends.
- Optimize genex evaluation for includes and defines.
- Cache context-independent includes on evaluation.
- Style: Use this-> when invoking member functions.
- Process generator expressions for 'system' include directories.
- Deduplicate the isGeneratorExpression method.
- De-duplicate validation of genex target names.
- Test printing origin of include dirs from tll().
- The COMPATIBLE_INTERFACE does not affect the target it is set on.
- Ensure type specific compatible interface properties do not intersect.
- Fix generation of COMPILE_DEFINITIONS in DependInfo.cmake.
- Fix determination of evaluating link libraries.
- Only use early evaluation termination for transitive properties.
- Move a special case for PIC from the genex to the cmTarget code.
- Don't keep track of content determined by target property values.
- Only append build interface include dirs to particular targets.
- Ensure that the build interface includes have been added.
- Whitelist target types in target_{include_directories,compile_definitions}
- Make sure INTERFACE properties work with OBJECT libraries.
- Don't allow utility or global targets in the LINKED expression.
- Generate config-specific interface link libraries propeties.
- Fix determination of when we're evaluating compile definitions.
- Rename the IncludeDirectoriesEntry to be more generic.
- Don't use LINKED where not needed.
- Use the link information as a source of compile definitions and includes.
- Revert "Don't allow utility or global targets in the LINKED expression."
- Don't populate INTERFACE includes and defines properties in tll.
- Revert "Add the $<LINKED:...> generator expression."
- Revert "find_package: Reword <package>_NO_INTERFACES documentation"
- Revert "Add a way to exclude INTERFACE properties from exported targets."
- Don't add target-specific interface includes and defines to Qt 4 targets.
- Fix GenerateExportHeader documentation #13936
- automoc: Add source file to target early to set the linker language
- Keep track of all targets seen while evaluating a genex.
- Add a new Export generator for IMPORTED targets.
- Handle targets in the LINK_LIBRARIES of try_compile.
- Strip stray semicolons when evaluating generator expressions.
- Workaround broken code where a target has itself in its link iface.
- Fix DAG checker finding cycling dependencies.
- Expand includes and defines transitively in 'external' genexes.
- Fix constness of accessors.
- Fix the tests for evaluating includes and defines.
- Memoize includes and defines from interface libraries.
- Remove use of TARGET_DEFINED from target_include_directories test.
- Remove use of TARGET_DEFINED from the ExportImport test.
- Remove use of TARGET_DEFINED from the target_link_libraries test.
- Revert "Add the TARGET_DEFINED generator expression"
- Only add existing targets to the Qt4 target depends properties.
- Fix the cmGeneratorExpression::Split when leading chars are present.
- Fix RPATH information when only a genex is used as a link library.
- Mention that IMPORTED targets may be created by a find_package call.
- Remove unused parameters from target_link_libraries tests.
- Only process transitive interface properties for valid target names.
- Restore support for target names with '+' (#13986)
- Automoc: Don't create automoc targets if Qt is not used (#13999)
- cmake-gui: Use -fPIE if required by Qt.
- cmake-gui: Workaround bug in Qt 5.0.0 to 5.0.3 QStandardItemModel
-
-Thomas Klausner (1):
- KWIML: Teach ABI.h that VAX is big endian
-
-Yury G. Kudryashov (3):
- Automoc: Fix automoc for OBJECT libraries.
- Automoc: add OBJECT library to QtAutomoc test
- spell: fix a few typos in comments
-
-Changes in CMake 2.8.10.2 (since 2.8.10.1)
-----------------------------------------------
-Alex Neundorf (1):
- Automoc: fix regression #13667, broken build in phonon
-
-Brad King (1):
- Initialize IMPORTED GLOBAL targets on reconfigure (#13702)
-
-David Cole (1):
- CMake: Fix infinite loop untarring corrupt tar file
-
-Rolf Eike Beer (1):
- FindGettext: fix overwriting result with empty variable (#13691)
-
-Changes in CMake 2.8.10.1 (since 2.8.10)
-----------------------------------------------
-Brad King (5):
- Fix default PDB output directory (#13644)
- Fix PathScale compiler id for Clang-based upstream
- Update programmatically-reported copyright year (#13638)
- FindSDL: Restore accidentally dropped search paths (#13651)
- OS X: Fix default CMAKE_OSX_SYSROOT with deployment target
-
-Rolf Eike Beer (2):
- FindOpenSSL: fix library selection on Windows (#13645)
- FindOpenSSL: also find the non-MD debug libraries for MSVC
-
-Stephen Kelly (1):
- GenEx: Use case insensitive comparison for $<CONFIG:...>
-
-Changes in CMake 2.8.10 (since 2.8.10-rc3)
-----------------------------------------------
-None
-
-Changes in CMake 2.8.10-rc3 (since 2.8.10-rc2)
-----------------------------------------------
-Rolf Eike Beer (2):
- SelectLibraryConfigurations: add testcase
- SelectLibraryConfigurations: fix for release and debug libs being the same
-
-Stephen Kelly (5):
- BasicConfigVersion: Make docs refer to the macro, not the module name
- Document LOCATION undefined behavior with use of LINKER_LANGUAGE.
- GenEx: Add an accessor for imported targets in a makefile.
- GenEx: Create cmGeneratorTargets for imported targets.
- GexEx: Validate Target names and property names differently.
-
-Thomas Arcila (1):
- SelectLibraryConfigurations: Fix foreach(x IN LISTS ...) syntax
-
-Changes in CMake 2.8.10-rc2 (since 2.8.10-rc1)
-----------------------------------------------
-Alex Neundorf (2):
- Document CMAKE_FIND_PACKAGE_NAME
- Automoc: fix #13572: issue with symbolic links
-
-Brad King (4):
- cmCTestSVN: Fix compilation with Sun CC 5.1
- if: Document that plain 'NOTFOUND' is a false constant
- string: Clarify regex documentation of '-' behavior
- FortranCInterface: Pass all flags to VERIFY project (#13579)
-
-David Cole (1):
- NSIS: Fix incorrect uninstall registry key name (#13578)
-
-Eric NOULARD (3):
- CPACK_XX_ON_ABSOLUTE_INSTALL_DESTINATION is now properly checked for ON/OFF
- Document CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY and fix some typo.
- Make CPACK_SET_DESTDIR work with archive generator + component-based packaging
-
-Jean-Christophe Fillion-Robin (1):
- CTest: Ensure CTEST_USE_LAUNCHERS behaves nicely in Superbuild setup
-
-Pere Nubiola i Radigales (1):
- Find PostgreSQL headers on Debian
-
-Peter Kümmel (4):
- Ninja: also set OBJECT_DIR when compiling
- Ninja: don't pollute current dir when using gui (#13495)
- Ninja: implicit dependency for custom command files
- Fix regression: write compile definitions if any
-
-Philip Lowman (4):
- FindGTK2: Rollback lib64 changes which broke header file finding
- FindGTK2: #12049 fix detection of header files on multiarch systems
- FindGTK2: #12596 Missing paths for FindGTK2 on NetBSD
- FindGTK2: Update local changelog
-
-Rolf Eike Beer (6):
- CTest: fix usage of memory checker with spaces in path
- CTest: fix pre and post test commands with spaces
- CTest: add tests that simulate memcheck runs
- CTest: improve memory checker type detection
- CTest: add a test for CTEST_CUSTOM_MEMCHECK_IGNORE
- CTest: add a check with a quoted memory checker
-
-Stephen Kelly (18):
- GenEx: It is not an error to specify an empty parameter
- GenEx: Return after error reported.
- GenEx: Report actual target name not found, not "0" each time.
- GenEx: Parse comma after colon tokens specially
- GenEx: Validate target and property names.
- GenEx: Ensure that the empty CONFIGURATION can be used conditionally.
- GenEx: Add test for $<BOOL:> with empty parameter.
- GenEx: Add tests for "0" and "1" expressions with literal commas.
- GenEx: Don't use std::vector::at(int).
- Attempt to fix the compile of cmake on Sun CC.
- GenEx: Parse colon after arguments separator colon specially.
- GenEx: Test the use of generator expressions to generate lists.
- GenEx: Fix termination bugs in generator expression parser.
- GenEx: Break if there are no more commas in the container
- GenEx: Add some more asserts to verify code-sanity.
- GenEx: Replace some failing tests with Borland and NMake makefiles.
- GenEx: Fix reporting about not-found include directories and libraries.
- Fix config-specific INCLUDE_DIRECTORIES in multi-config generators
-
-Changes in CMake 2.8.10-rc1 (since 2.8.9)
------------------------------------------
-Scripted Changes (3):
- Remove trailing whitespace from most CMake and C/C++ code
- Convert CMake-language commands to lower case
- Remove CMake-language block-end command arguments
-
-Alex Neundorf (27):
- Eclipse: add support for the 4.2 Juno release (#13367)
- Eclipse: improve (fix ?) version detection on OSX
- Eclipse: fix #13358: don't create bad linked resources
- Eclipse: fix #13358: don't create bad linked resources
- remove non-working KDE4 test
- Eclipse on OSX: fix handling of framework include dirs (#13464)
- Eclipse on OSX: improve handling of framework include dirs (#13367)
- -fix line length
- fix #13474: also rescan dependencies if the depender does not exist
- -fix line length
- -fix Java dependency scanning, broken in previous commit
- error out if CTEST_USE_LAUNCHERS is TRUE but RULE_LAUNCH_* are not set
- fix #13494: rerun automoc also if include dirs or moc options change
- CMakeDetermineFortranCompiler: add support for cross-compiling (#13379)
- Automoc: fix #13493, use target properties for include dirs
- Automoc: do not use DEFINITIONS, but only COMPILE_DEFINITIONS
- Automoc: also the makefile-COMPILE_DEFINITIONS
- cmGlobalGenerator.h: some minor coding style fixes
- Modules/readme.txt: fix typo
- find_package: add support for a <package>_NOT_FOUND_MESSAGE variable
- exports: store pointers to all installations of each export set
- exports: accept a missing target if it is exported exactly once
- exports: first try at error handling if a target is missing
- exports: fix build with MSVC6
- exports: move the handling of missing targets into subclasses
- exports: define a CMAKE_FIND_PACKAGE_NAME var set by find_package()
- exports: add a test for exporting dependent targets
-
-Andreas Mohr (1):
- FindCURL: Find older MSVC prebuilts
-
-Andy Piper (1):
- Do not include directories which are part of the package install prefix.
-
-Benjamin Eikel (21):
- Initial version of find module
- FindSDL: Add version support for FindSDL_net
- FindSDL: Version support for FindSDL_image
- FindSDL: Use prefix SDL_NET, because it matches the file name.
- FindSDL: Use SDL_IMAGE prefix for varibales
- FindSDL: Add "cmake_minimum_required" to "try_compile" project
- FindSDL: Format the documentation
- FindSDL: Version support for FindSDL_sound
- FindSDL: Use same capitalization for FPHSA as file name
- FindSDL: Pass SDL_SOUND_LIBRARY to FIND_PACKAGE_HANDLE_STANDARD_ARGS
- FindSDL: Use SDL_MIXER prefix for variables
- FindSDL: Add version support for FindSDL_mixer
- FindSDL: Update documentation
- FindSDL: Use SDL_TTF prefix for variables
- FindSDL: Add version support for FindSDL_ttf
- FindSDL: Update documentation
- FindSDL: Format documentation
- FindSDL: Add version support
- FindSDL: Add my copyright tag to all FindSDL_* modules
- FindSDL: Remove from find_... calls PATHS that are set by default
- FindSDL: Stay compatible with old input variables
-
-Bill Hoffman (8):
- Use OUTPUT_NORMAL instead of OUTPUT_MERGE for cmake -E chdir.
- curl: Use find_package(OpenSSL)
- curl: Make OpenSSL DLLs available to CMake on Windows
- file(DOWNLOAD): Generalize EXPECTED_MD5 to EXPECTED_HASH
- file(DOWNLOAD): Add options for SSL
- Utilities/Release: Enable CMAKE_USE_OPENSSL in nightly binaries
- Add SSL_VERIFYPEER and CAINFO file options to ExternalProject_Add.
- Revert "Ninja: don't expand any rsp files"
-
-Brad King (83):
- find_library: Add test covering lib->lib64 cases
- find_library: Refactor lib->lib64 conversion
- find_library: Simplify lib->lib<arch> expansion
- find_library: Fix mixed lib->lib64 (non-)conversion cases (#13419)
- CMakeDetermine(C|CXX)Compiler: Consider Clang compilers
- Factor common code out of CMakeDetermine(ASM|C|CXX|Fortran)Compiler
- Prefer generic system compilers by default for C, C++, and Fortran
- Xcode: Fix object library references in multi-project trees (#13452)
- Xcode: Run xcode-select to find Xcode version file (#13463)
- Watcom: Simplify compiler version detection (#11866)
- Remove trailing TAB from NSIS.template.in
- Fix WarnUnusedUnusedViaUnset test pass/fail regex
- CMakeVersion.bash: Update sed expression for lower-case 'set'
- GetPrerequisites: Mark file_cmd as advanced cache entry
- Add boolean generator expressions
- Add $<CONFIG:...> boolean query generator expression
- Recognize Clang ASM support (#13473)
- Xcode: Set ASM source language in project file (#13472)
- Tests/Assembler: Do not use assembler in universal binaries
- Add FindHg module to find Mercurial
- ExternalProject: Add Mercurial (hg) repository support
- Qt4Macros: Fix recently broken resource file parsing
- Tests/ObjectLibrary: Do not enable CXX in subdirectories
- VS11: Rename 'Immersive' to 'WindowsAppContainer' (#12930)
- VS: Disable precompiled headers unless enabled by project (#12930)
- VS11: Generate flag tables from MSBuild V110 tool files
- Detect Compaq compiler version with its id
- Detect PathScale compiler version with its id
- Detect TI compiler version with its id
- Detect Comeau compiler version with its id
- Detect SDCC compiler version with its id
- Detect Cray compiler version with its id
- Detect Analog VisualDSP++ compiler version with its id
- Re-order C/C++/Fortran compiler determination logic
- CMakeDetermineCompilerId: Prepare to detect IDE compiler id
- Xcode: Detect the compiler id and tool location
- VS10: Define CMAKE_VS_PLATFORM_TOOLSET variable
- VS: Detect the compiler id and tool location
- Cleanly enable a language in multiple subdirectories
- Test variables CMAKE_(C|CXX|Fortran)_COMPILER(|_ID|_VERSION)
- Document CMAKE_<LANG>_COMPILER_(ID|VERSION) values
- Make platform information files specific to the CMake version
- Move CMAKE_<LANG>_COMPILER_WORKS to compiler information files
- Store ABI detection results in compiler information files
- VS: Remove support for "free" version 2003 tools
- VS: Simplify MSVC version reporting
- Modernize MSVC compiler information files
- VS: Fix MSVC_IDE definition recently broken by refactoring
- add_library: Document POSITION_INDEPENDENT_CODE default (#13479)
- magrathea: Tell cmELF about DT_RUNPATH (#13497)
- Utilities/Release: Link AIX binary with large maxdata
- Utilities/xml: Add .gitattributes to disable whitespace checks
- Utilities/xml: Add docbook-4.5 DTD (#13508)
- docbook: Fix formatter naming convention to avoid shadow
- docbook: Fix Sun CC warning on ptr_fun(isalnum)
- curl: Honor OPENSSL_NO_SSL2
- if: Compare up to 8 components in VERSION tests
- ExternalProject: Generalize URL_MD5 option to URL_HASH
- Rename SSL terminology to TLS
- file(DOWNLOAD): Make TLS options behave as documented
- OS X: Add platform-specific Clang compiler info files (#13536)
- VS11: Detect VS 2012 Express for default generator (#13348)
- VS11: Add VS 2012 Express support (#13348)
- file(DOWNLOAD): Add HTTP User-Agent string
- ExternalProject: Add DOWNLOAD_NAME option
- file(DOWNLOAD): Change EXPECTED_HASH to take ALGO=value
- VS8: Remove '.NET' from generator description (#10158)
- Clang: Split Compiler/Clang* modules out from GNU (#13550)
- Clang: All versions know about -fPIE (#13550)
- Xcode: Remove unused code reading CMAKE_OSX_SYSROOT_DEFAULT
- OS X: Always generate -isysroot if any SDK is in use
- OS X: Improve default CMAKE_OSX_SYSROOT selection
- bootstrap: Suppress CMAKE_OSX_SYSROOT if CFLAGS have -isysroot
- Tests/Assembler: Use CMAKE_OSX_SYSROOT to generate .s file
- OS X: Allow CMAKE_OSX_SYSROOT to be a logical SDK name
- OS X: Simplify selection of CMAKE_OSX_ARCHITECTURES
- OS X: If CMAKE_OSX_SYSROOT is already set do not compute default
- OS X: Further improve default CMAKE_OSX_SYSROOT selection
- OS X: Teach deployment target sanity check about SDK names
- OS X: Ignore MACOSX_DEPLOYMENT_TARGET during Xcode compiler id
- Verify that PDB_(NAME|OUTPUT_DIRECTORY) are honored in test
- Document that PDB_(NAME|OUTPUT_DIRECTORY) are ignored for VS 6
- Run PDBDirectoryAndName test on MSVC and Intel
-
-Clinton Stimpson (8):
- fphsa: clarify message about minimum required version found.
- DeployQt4: Include DESTDIR for some cpack generators.
- Add -DNDEBUG to RelWithDebInfo flags where where Release flags had it.
- Fix regex for qt minor version.
- FindQt4: Give precedence to QTDIR environment variable, if set.
- FindQt4: Give precedence to QTDIR environment variable, if set.
- Fix errors detecting Qt4 on Windows 8.
- cmake-gui: Fix error status when interrupted.
-
-Daniel Pfeifer (8):
- Simplify CMake.HTML documentation test command line
- docbook: Remove table of contents
- docbook: Factor out code to write valid DocBook IDs
- docbook: Fix the DocBook section output
- docbook: Cleanup formatter and generated DocBook
- docbook: Add support for <abstract> at section level 1
- docbook: Add CMake.DocBook test to validate xml (#13508)
- docbook: Remove redundant docs that cause invalid DocBook
-
-David Cole (9):
- Begin post-2.8.9 development
- Release: Temporarily exclude ExternalProject test on cygwin
- Add ability to run as a ctest -S script also
- CMake: Clarify the documentation for if(f1 IS_NEWER_THAN f2)
- Convert the CPACK_CYGWIN_PATCH_NUMBER variable to a cache variable
- InstallRequiredSystemLibraries: Use correct file names (#13315)
- ProcessorCount: Mark find_program vars as advanced (#13236)
- FindQt4: Avoid "finding" non-existent library in a .framework
- FindMPI: Set correct variables for calls to FPHSA
-
-Eric NOULARD (2):
- Enhance DESTDIR documentation. Fixes #0012374.
- Handles %attr(nnn,-,-) /path/to/file in CPACK_RPM_USER_FILELIST properly.
-
-James Bigler (3):
- Replace -g3 with -g for CUDA 4.1 and 4.2 in addition to CUDA < 3.0.
- Added CUDA_SOURCE_PROPERTY_FORMAT. Allows setting per file format (OBJ or PTX)
- FindCUDA: Added CUDA_HOST_COMPILER variable.
-
-Marcin Wojdyr (1):
- Remove CMake multiline block-end command arguments
-
-Nils Gladitz (1):
- ctest_update: Tell svn not to prompt interactively (#13024)
-
-Patrick Gansterer (4):
- VS: Cleanup AddPlatformDefinitions() of Visual Studio generators
- Add additional architectures to CMakePlatformId.h.in
- Add WindowsCE platform information files
- VS: Remove duplicated implementations of CreateLocalGenerator()
-
-Peter Kuemmel (1):
- Ninja: don't expand any rsp files
-
-Peter Kümmel (15):
- Ninja: cmcldeps needs a compiler
- Ninja: don't crash on returned 0 pointer
- Ninja: prepare msvc pdb cleanup
- Ninja:split out setting of msvc TARGET_PDB
- Ninja: remove GetTargetPDB because it is used only once
- Ninja: also detect /showInclude prefix for icl
- Find mingw's windres also when Unix Makefiles are used
- Ninja: don't suppress warning about compiler options
- Ninja: suppress cmcldeps only for source file signature try_compiles
- Ninja: filter target specific compile flags with language specific regex
- Ninja: OBJECT_DEPENDS should set an implicit dependency
- Ninja: don't confuse ninja's rsp files with nmake's
- Ninja: move -LIBPATH behind -link option
- Ninja: move <OBJECTS> in front of the first linker option
- Ninja: add option to enforce usage of response files
-
-Philip Lowman (3):
- FindOpenSceneGraph: CMake variable OSG_DIR influences detection now too
- FindGTK2: Add GTK2_CAIROMMCONFIG_INCLUDE_DIR for cairommconfig.h
- CMakeDetermineVSServicePack: Visual Studio 2012 added
-
-Rolf Eike Beer (25):
- remove lib64 Unix paths if the respective lib path is also given
- FindOpenSSL: find cross-compiled OpenSSL from MinGW (#13431)
- FindOpenSSL: use SelectLibraryConfigurations
- FindOpenSSL: let CMake handle environment variable HINTS
- FindOpenSSL: cleanup path hints
- FindOpenSSL: remove leftover comment
- SelectLibraryConfiguration: generate correct output when input vars are lists
- Fix typo direcotry -> directory (and similar) [#13444]
- FindSelfPackers: fix typo (#13456)
- CheckTypeSize: show in documentation how to get struct member size (#10579)
- CheckTypeSize: add a test for size of struct members
- FindX11: remove duplicates from X11 include path list (#13316)
- FindX11: avoid calling list(REMOVE_DUPLICATES) on an empty list
- list command: error on too many arguments
- CMake.List test: explicitely test with lists containing only an empty string
- use the find_* functions ENV parameter
- use PATH_SUFFIXES to simplify find_* calls
- do not escape spaces in regular expressions
- read less from version headers into variables
- FindFLEX: fix version extraction on Apple
- FindGettext: remove code duplicating FPHSA checks
- include FPHSA from current directory in all modules
- FindOpenSceneGraph: simplify by using more features of FPHSA
- FindSDL: add SDLMAIN_LIBRARY only once (#13262)
- add documentation for all MSVCxxx version variables (#12567)
-
-Sergei Nikulov (1):
- fix for discovering ft2build.h using FREETYPE_DIR environment var (#13502)
-
-Stephen Kelly (60):
- Add new qt4_use_modules function.
- Add missing whitespace to docs.
- Fix some typos in the docs.
- Remove incorrect doc string for link type enum
- Remove duplicate 'of' from docs.
- Fix unfortunate documentation error for PIC feature.
- Don't duplicate -D defines sent to the compiler.
- Fix CompileDefinitions test on Visual Studio.
- Fix the test setting COMPILE_DEFINITIONS target property
- Rename files from main.cpp to more meaningful names.
- Fix casing of 'Qt' in docs, comments and user-visible strings.
- Read entire Qt4 qrc file when parsing for depends info.
- Add a return-after-error if an old Qt is found.
- Use CMake platform variables instead of Qt ones.
- Move variable setting down to where it relates to.
- Remove an if which is always true.
- Use add_subdirectory instead of the obsolete subdirs.
- Replace two include_directories with a setting.
- Compile with both Qt4 and Qt5.
- Build with Qt5 if it is found.
- cmGeneratorExpression: Re-write for multi-stage evaluation
- cmGeneratorExpression: Port users to two-stage processing
- Fix the regular expression validator for target names.
- Handle colons as a special case in the generator expression parser.
- Enable deprecated API when using Qt 5.
- Add more forwarding API to cmGeneratorTarget.
- Store cmGeneratorTargets with the makefile.
- Move GenerateTargetManifest to cmGeneratorTarget.
- Move GetLinkInformation to cmGeneratorTarget
- Make cmLocalGenerator::AddArchitectureFlags take a cmGeneratorTarget.
- Move GetCreateRuleVariable to cmGeneratorTarget.
- Port cmLocalGenerator::GetTargetFlags to cmGeneratorTarget.
- Move GetIncludeDirectories to cmGeneratorTarget.
- Append the COMPILE_DEFINITIONS from the Makefile to all targets.
- Add a wrapper for accessing config-specific compile-definitions.
- Add convenience for getting a cmGeneratorTarget to use.
- Fix compiler warning with initialization order.
- Revert "Move GenerateTargetManifest to cmGeneratorTarget."
- Use the cmGeneratorTarget for the include directories API.
- Fix indentation in the code blocks generator.
- Port remaining code to GetCompileDefinitions().
- Add include guard for cmGeneratorExpression.
- Don't prepend a path before generator expressions in include_directories.
- Convert paths in INCLUDE_DIRECTORIES property to Unix slashes.
- Add an AppendDefines std::string overload.
- Return a std::string from GetCompileDefinitions.
- Refactor GetCompileDefinitions a bit.
- Extend the generator expression language with more logic.
- Add a generator expression for target properties.
- Add API to check that dependent target properties form a DAG.
- Add a self-reference check for target properties.
- Early return if there is no target.
- Process generator expressions in the INCLUDE_DIRECTORIES property.
- Process generator expressions in the COMPILE_DEFINITIONS target property.
- Fix the layout of the generator expression documentation.
- Fix punctuation in some variables documentation.
- Document that generator expressions can be used in target properties.
- Remove unused parameter marker and the unused parameter.
- Fix minor typos.
- Remove period at the end of the check message.
-
-Tom Schutter (2):
- cmake-mode.el: Use more readable regex and case-fold-search
- cmake-mode.el: add local keybindings
-
-Xavier Besseron (7):
- cmCTestSVN: Add the new SVNInfo structure
- cmCTestSVN: Extend Revision struct with SVN repo information
- cmCTestSVN: Add the Repositories list and the RootInfo pointer
- cmCTestSVN: Create the SVNInfo for the root repository
- cmCTestSVN: Use the SVNInfo structure
- cmCTestSVN: Add a LoadExternal() function and an ExternalParser class
- cmCTestSVN: Load and process information from externals
-
-Yuchen Deng (1):
- Add PDB_OUTPUT_DIRECTORY and PDB_NAME target properties (#10830)
-
-Yury G. Kudryashov (7):
- exports: Move cmTargetExport to a dedicated header file
- exports: Remove cmTargetExport constructor
- exports: Rename cmGlobalGenerator::AddTargetToExport{s,}
- exports: Create class cmExportSet
- exports: Add cmExportSetMap class
- exports: Hold an ExportSet pointer in cm*Export*Generator
- exports: cmGlobalGenerator::ExportSets destructor will clear it
-
-Zack Galbreath (2):
- Clean up documentation formatting so that it is rendered properly in HTML.
- cmparseMSBuildXML: Include DisplayName in the output
-
-Changes in CMake 2.8.9 (since 2.8.9-rc3)
-----------------------------------------
-None
-
-Changes in CMake 2.8.9-rc3 (since 2.8.9-rc2)
---------------------------------------------
-Alexey Ozeritsky (1):
- Fixed: FindLAPACK does not find MKL 10.3 when using gcc 4.x
-
-Brad King (3):
- pre-commit: Reject C++ code with lines too long
- Tests/X11: Add missing include <stdlib.h> for 'rand'
- Tests/ObjC++: Use standard <iostream> header
-
-David Cole (1):
- CPack: Use bin subdir when looking for dpkg and rpmbuild
-
-Eric NOULARD (2):
- Do not run cpack at CMake time it is not available.
- Find dpkg and rpmbuild in usual Fink and MacPort paths
-
-Nicolas Despres (17):
- Ninja: Cannot pass a reference to an anonymous object.
- Ninja: Add support for OS X app bundles.
- Ninja: Add support for OX X library framework.
- Ensure 3rd party libraries are writable.
- Remove trailing white-spaces.
- Re-factor OS X bundle and framework generation.
- Ninja: Copy resource files in the bundle.
- Ninja: Add support for CFBundle.
- Enable BundleTest with CLang too.
- Re-factor CFBundle generation.
- Ninja: Use same echo message as makefiles.
- Re-factor bundle content copying rules generation.
- Re-factor Mac OS X content directory computation.
- Re-factor framework directory computation.
- Re-factor OS X content generator start up.
- Fix memory leak in Makefile generator.
- Add missing this->.
-
-Peter Kuemmel (1):
- Ninja: dep files and multiple -arch flags not possible on mac
-
-Peter Kümmel (24):
- Ninja: windres is also used for cross-compiling
- Ninja: search for windres with prefix
- Ninja: there could be null pointers
- Ninja: more searching for windres
- Ninja: path is already declared
- Ninja: fix GCC 4.7 warning -Wconversion
- Ninja: fix sytle
- Ninja: also stop when .rc's .d file couldn't be generated
- Ninja: readd quotes to src file path before patching it
- Ninja: cmcldeps needs absolute paths for RCs
- Ninja: on Mac no multiple -arch because of -M
- Ninja: fix mis-matching endif() argument
- Ninja: also mingw needs TARGET_PDB
- Ninja: line length
- Ninja: make TARGET_PDB a real .gdb file name
- Ninja: make debug symbol suffix configurable by CMAKE_DEBUG_SYMBOL_SUFFIX
- Ninja: remove 'friend' in ninja code
- Ninja: remove warnings
- Ninja: remove 'this' from member initializer list
- Ninja: fixes for bcc
- Ninja: enable ninja on Mac so all Mac CDash-builds are tested, cleanup later
- Ninja: void function can't return a value
- Ninja: enable ninja support everywhere
- Ninja: also bootstrap ninja files
-
-Changes in CMake 2.8.9-rc2 (since 2.8.9-rc1)
---------------------------------------------
-Alex Neundorf (4):
- -remove trailing whitespace
- documentation: preparation for making the man section configurable
- man documentation: detect man section from the given filename
- Eclipse: fix #13313, always set LANG to C, also if unset
-
-Bill Hoffman (1):
- Remove process execution code from cmcldeps and have it use cmake code.
-
-Brad King (12):
- KWIML: Generalize interface to report broken integer literal macros
- KWIML: Teach ABI.h about 'long long' and 'char' on old HP
- KWIML: Teach INT.h that no HP platform implements SCN*8 formats
- KWIML: Teach INT about broken UINT32_C on old HP
- Fix project command documentation typo (#13384)
- CTestUpdateSVN: Do not create repo directory first (#13349)
- Tests/CustomCommand: Do not use 'main' in a library
- AIX-GNU: Link shared libs with -brtl,-bnoipath (#13352)
- include: Ignore empty string as file name (#13388)
- Add ASM platform information for GNU compiler on AIX (#13390)
- if: Document that macro arguments are not variables (#13393)
- install: Fix COMPONENT option
-
-Clinton Stimpson (3):
- GetPrerequisites.cmake: detect executables built with the -pie linker flag.
- cmake-gui: Fix code to respect current locale.
- DeployQt4: workaround bug 13258 where ARGV1 is leaked into a sub function.
-
-David Cole (7):
- STYLE: Fix line length, remove extra blank line
- CTest: Refactor error output into ErrorMessageUnknownDashDValue
- CTest: Rename local variable for clarity
- CTest: Extend -D command line arg handling for variable definitions
- CTest: Allow -Dvar=value with no space between the D and the var
- CTest: Add test to verify -D variable definitions work
- Ninja: Fix typo: tagets -> targets
-
-Eric NOULARD (3):
- Enhance documentation of install command w.r.t. the "Undefined" component.
- CPack fix regression between 2.8.7 and 2.8.8 when running cpack with no arg.
- Do not provide defaul value for CPACK_PACKAGE_DIRECTORY if found in config.
-
-Nicolas Despres (1):
- Ninja: Clean all symlink created for libraries.
-
-Peter Kuemmel (6):
- Ninja: print error message when command failed
- Ninja: also consider variables when checking command line length
- Ninja: also consider rule command length for rsp file
- Ninja: remove int/size_t warning
- Ninja: add soname test case
- Ninja: don't shadow 'outputs' variable
-
-Peter Kümmel (6):
- Ninja: also write link libraries to rsp file
- Ninja: remove some unused default arguments
- Ninja: error on missing rspfile_content
- Ninja: disable work around when linking with mingw
- Ninja: enable response file support on Mac (length 262144)
- Ninja: sysconf() is declared in unistd.h
-
-Philip Lowman (2):
- FindBoost: Fix bug where Boost_FOUND could be false when version specified
- FindBoost: Future proof to 1.56
-
-Rolf Eike Beer (2):
- FindJava: improve version matching (#12878)
- fix 2 space bugs in variable documentation
-
-Stephen Kelly (3):
- Use full paths in compile_commands.json for out of source builds.
- Construct the full path before escaping it.
- Fix PositionIndependentTargets test with clang trunk.
-
-Changes in CMake 2.8.9-rc1 (since 2.8.8)
-----------------------------------------
-Alex Neundorf (12):
- -fix #13081: support OBJECT libraries in CodeBlocks/QtCreator projects
- CodeBlocks: improve support for OBJECT libraries
- fix #13195: avoid multiple mentions of found packages
- FeatureSummary.cmake: nicer formatting
- -strip trailing whitespace
- make default install component name configurable
- -add docs for ${CMAKE_INSTALL_DEFAULT_COMPONENT_NAME}
- write_basic_package_version_file() now works with unset CMAKE_SIZEOF_VOID_P
- add test for #13241: empty SIZEOF_VOIDP in write_basic_package_version_file
- ASM compiler detection: remove debug output (#13270)
- Eclipse: parallel build also for "Build project" #13287
- automoc: better error handling (#13299)
-
-Anthony J. Bentley (1):
- FindwxWidgets: Do not use -isystem on OpenBSD (#13219)
-
-Ben Boeckel (2):
- Don't put legacy variables back into the cache
- Search for other ABIFLAGS builds of Python
-
-Bill Hoffman (15):
- Add support to ctest for GTM mumps coverage.
- Fix warning about char* instead of const char*.
- Fix line length.
- Add test for mumps coverage. Also refactor code to prepare for cache coverage.
- Add virutal destructor to silence warning.
- Add support for Cache coverage.
- Fix some warnings and a bug where it went past the length of a vector.
- Use a script to run the test because WORKING_DIRECTORY is not in 2.8.2.
- Use <TARGET_FILE> expression to run ctest so it works with Xcode and VS IDE.
- Add ability to specify more than one package directory or coverage directory.
- Remove uncovered files from cache coverage data.
- Disable bullseye coverage for mumps coverage test.
- Update test data to match new coverage format.
- Do not try to run bullseye coverage if COVFILE env is empty.
- CDash now supports lots of files in coverage. So, show all files.
-
-Brad King (59):
- Add LICENSE and NOTICE
- Add 'tips' script to suggest local configuration
- Add 'setup-user' script to configure authorship information
- Add 'setup-hooks' script to install local hooks
- Add 'setup-gerrit' script to configure Gerrit access
- Add 'setup-stage' script to configure topic stage remote
- Add 'setup-ssh' script to configure ssh push access
- Add README instructions and sample configuration
- Add and configure developer setup helper scripts
- Exclude from source archives files specific to Git work tree
- Exclude from CMake source archives files specific to Git work tree
- Refactor CMake version handling
- Document behavior of multiple target_link_libraries calls (#13113)
- ctest_coverage: Save/restore LC_ALL around gcov (#13136)
- Cleanup custom command .rule file internal handling
- Factor out custom command .rule file path generation
- VS10: Avoid creating .rule files next to outputs (#13141)
- find_package: Document <package>_FIND_* variables (#13142)
- find_package: Fix components signature documentation (#13142)
- Teach RunCMake tests to allow custom checks
- list: Handle errors on empty lists more gracefully (#13138)
- include_external_msproject: Test TYPE, GUID, PLATFORM options (#13120)
- VS: Fix line-too-long style errors
- libarchive: Avoid 'inline' keyword on XL C v6 (#13148)
- Intel: On Windows use /EHsc instead of deprecated /GX (#13163)
- KWSys: Remove DateStamp
- try_compile: Cleanup temporary directories (#13160)
- setup-stage: Optionally reconfigure topic stage
- CTest: Escape MemCheck test output for XML (#13124)
- Documentation: Fix HTML anchor ranges
- Require CMake 2.8.2 or higher to build CMake
- CTest: Simplify environment save/restore
- KWSys: Fix SystemTools environment memory handling (#13156)
- VS10: Refactor custom commands to use WriteSource
- VS10: Simplify vcxproj.filter file generation
- VS10: Convert paths normally unless forced to relative
- VS11: Do not use source path conversion workaround specific to VS 10
- VS10: Generate relative source paths when possible (#12570)
- Intel: On Windows use /RTC1 instead of deprecated /GZ (#13174)
- Test NO_SONAME property (#13155)
- KWSys: Remove dependencies on FundamentalType
- Documentation: Improve HTML section index format
- VS: Restore header files marked as OS X Framework content (#13196)
- VS11: Fix ARM architecture hint typo (#13077)
- Fortran: Follow <>-style includes (#13239)
- bootstrap: Port back to old shells (#13199)
- KWSys: Remove unused environ declaration from SystemTools
- FindBZip2: Search locations in GnuWin32 registry
- cmArchiveWrite: Clear fflags from archive entries
- Makefile: Support directory names containing '=' (#12934)
- libarchive: Avoid 'inline' on SunPro < 5.9 (#13277)
- Avoid direct use of std::(o|)stringstream (#13272)
- KWIML: Add interface to report broken integer format macros
- KWIML: Report broken integer format macros on AIX 4.3
- add_library: Allow OBJECT library without dynamic linking (#13289)
- install: Fix FILES_MATCHING on case-sensitive Mac filesystems (#13177)
- Make CTest.UpdateGIT robust to Git safecrlf on Windows
- Do not crash on SHARED library without language (#13324)
- CMakeDetermineCCompiler: Fix typo "_CXX_" -> "_C_" (#13330)
-
-Brian Helba (1):
- Print any evaluated 'elseif'/'else' commands in trace mode (#13220)
-
-Charlie Sharpsteen (1):
- Mac: Add guards to CMAKE_FIND_FRAMEWORK and CMAKE_FIND_APPBUNDLE defaults
-
-Clinton Stimpson (1):
- cmake-gui: Wait for configure/generate thread to complete before exiting.
-
-Daniel R. Gomez (6):
- KWSys: Fix hashtable prime list on g++ 2.9 (#13273)
- Tests/IncludeDirectories: Files must end in a newline (#13314)
- Tests/VSGNUFortran: Avoid C++ comment in C code (#13314)
- Tests/Assembler: Assemble and link with same flags (#13314)
- Fix FindPackageMode test Makefile (#13314)
- Avoid string.clear and string.push_back (#13319)
-
-David Cole (12):
- Begin post-2.8.8 development
- CPack/NSIS: Add CPACK_NSIS_EXTRA_PREINSTALL_COMMANDS (#13085)
- ExternalProject: Add missing COMMAND keyword
- ExternalProject: Avoid unnecessary git clones (#12564)
- ExternalProject: Refactor repeated code into function (#12564)
- ExternalProject: Avoid repeated git clone operations (#12564)
- CTest: Modify reg ex so it also works with gcov 4.7 output (#13121)
- BZip2: Remove unnecessary *.bz2 files from CMake source tree
- Ninja: Enable the ninja generator by default on Windows.
- Revert "Millenium update: 79 * (16/9)/(4/3) = 105"
- Ninja: Restructure code to work with the Borland compilers
- Remove unused ivars to eliminate compiler warnings
-
-David Faure (1):
- Abort FindQt4.cmake if Qt 5 is found.
-
-Eric NOULARD (12):
- Use fakeroot for control.tar.gz as well
- Enhancement of bash completion scripts given by Igor Murzov.
- Install editors helper files
- CPack - preserve timestamp for CPACK_INSTALLED_DIRECTORIES. fixes: #0013193
- CPack add easy possibility to warn about CPACK_SET_DESTDIR
- CPack add necessary check to detect/warns/error on ABSOLUTE DESTINATION
- Fix KWStyle warning
- Use CPACK_xxx and CMAKE_xxx in a consistent way.
- CPack allow RPM and DEB generator to be used on OSX.
- Calm down Borland compiler warning about "always true"
- CPackRPM: avoid leakage of RPM directive from one component to another.
- CPackDeb add missing documentation for some CPACK_DEBIAN_xx variables.
-
-Fraser Hutchison (1):
- CPack: Fixed incorrect error log for CPACK_NSIS_MENU_LINKS.
-
-Jan Schaffmeister (1):
- Xcode: Recognize storyboard source files (#13214)
-
-Jim Hague (2):
- libarchive: Avoid trailing , in enum for XL v6 (#13148)
- Workaround IBM XL v6 streams seekg bug (#13149)
-
-Jonathan Klein (1):
- FindBullet: Add missing math library name (#13309)
-
-Joseph Snyder (1):
- Change GT.M Coverage Parser global
-
-Konstantin Tokarev (1):
- [OSX] Fixed undefined symbol when linking CMakeLib into shared library
-
-Kurtis Nusbaum (1):
- Added conditional for the phonon backend plugin.
-
-Leonid Yurchenko (1):
- include_external_msproject: Add TYPE, GUID, PLATFORM options (#13120)
-
-Mario Bensi (1):
- Add FindLibLZMA Module
-
-Mariusz Plucinski (1):
- Do not crash on unknown source language (#13323)
-
-Matt McCormick (1):
- ExternalProject: Fix 'make' builds with Ninja (#13159)
-
-Minmin Gong (1):
- VS11: Add ARM architecture generator (#13077)
-
-Modestas Vainius (3):
- Fix CPack RPM man page typo detected by lintian.
- Support building shared libraries or modules without soname (#13155)
- Fix a few typos in NO_SONAME property description.
-
-Nicolas Despres (2):
- Ninja: Add a convenient 'clean' target.
- Ninja: Add a convenient 'help' target.
-
-Patrick Gansterer (1):
- Added CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL
-
-Peter Collingbourne (2):
- Ninja: apply CMAKE_<LANG>_FLAGS_<TYPE> to executable targets (#13069)
- Ninja: mark rules/build file streams failed if error occurred (#13067, #13105)
-
-Peter Kuemmel (61):
- Ninja: ensure output directories exist
- Ninja: no 16:9 screens for the cmake team ;)
- Ninja: add option to enable ninja where it is not enabled by default
- Ninja: remove GCC -Wshadow warning
- Ninja: enable Ninja for CodeBlocks
- Ninja: no additional variable needed to enable ninja
- Ninja: CMAKE_USE_NINJA is the name of the macro
- VC Express doesn't support folders, ignore USE_FOLDER property
- Ninja: add response file support on Windows
- Ninja: 30000 is too long for windows cmd
- Ninja: check for valid pointer
- Ninja: also create rspfile rules
- Ninja: don't break because of empty commands
- Ninja: find mingw's resource compiler
- Ninja: add dependency tracking for msvc with cldeps
- Ninja: add wrapper for cl to extract dependencies
- Ninja: allow spaces in source path
- Ninja: assume cmcldeps in the same dir as cmake
- Ninja: add copyright and description
- Ninja: don't set cmcldeps vars to empty string when they are not defined
- Ninja: fix ModuleNoticies test
- Ninja: don't use cmcldeps for try_compile
- Ninja: allow spaces in cldeps's .d file
- Ninja: fix line length
- Ninja: don't pollute the rules file with useless comments
- Ninja: use slahes in .d files
- Line Length: <79
- Millenium update: 79 * (16/9)/(4/3) = 105
- Ninja: complete MinGW support
- Ninja: use slashes for include dirs, so also slahes are in the .d files
- Ninja: ninja can't read dep. pathes with parentheses
- Ninja: work with ninja/master, don't compile rc files with cl
- Ninja: extract dependencies for .rc files with msvc tools
- Ninja: remove unused CommentStream
- Ninja: onyl use pre processor for rc file parsing
- Ninja: suppress startup logos
- Ninja: cmcldeps
- Ninja: don't use shell when cmake is called directly
- Ninja: ninja now also could read parentheses in .d files
- Ninja: fix Linux build
- Ninja: sh needs something befor and after &&
- Ninja: build with old vc versions
- Ninja: remove nop line
- Ninja: undo all the NOSHELL patches
- Ninja: be more accurate when estimating the command line length
- Ninja: don't pollute build dir with preprocessed rc files
- Ninja: Eclipse and KDevelop fixes for ninja
- Ninja: no /nologo option in old rc.exe
- Ninja: but cl supports /nologo ...
- Ninja: try to make GetProcessId visible
- Ninja: build cmcldeps with mingw
- Ninja: don't remove space between command and parameters
- Ninja: some bytes of the rc files couldn't be piped correctly
- Ninja: build server fixes
- Ninja: build with old msvc versions
- Ninja: msvc6 for-scoping
- Ninja: maybe this fixes the bcc32 build
- remove warning about unused parameter
- Ninja: build server fixes
- Ninja: try work around for bcc32 bug
- Ninja: disable cldeps for bcc32, it's too old, and ninja would also not build
-
-Rolf Eike Beer (12):
- FindPkgConfig.cmake: fix documented output variable not set (#13125,#13132)
- UseJava: fix typo in variable name (#13135)
- Check{C,CXX}CompilerFlag: catch more Intel warning types (#12576)
- FindPythonLibs: honor EXACT version specification (#13216)
- UseJava: fix find_jar() called with multiple files (#13281)
- fix some typos
- do not explicitely specify /usr and /usr/local as search paths
- replace open coded versions of file(TO_CMAKE_PATH)
- FindDevIL: clean up documentation formatting
- FindQt4: extend documentation
- Qt4Macros: improve basename extraction in QT4_ADD_DBUS_INTERFACES
- Qt4Macros: add some quotes to prevent damage from spaces in the paths
-
-Sean McBride (1):
- Remove unused ivars to eliminate compiler warnings
-
-Sebastian Leske (1):
- Improve documentation of set command (#13269)
-
-Stephen Kelly (10):
- Fix the number variable comparison when Qt is not found.
- Update the docs of IMPORTED_LOCATION_CONFIG to match the code.
- Move the EscapeJSON method to a sharable location.
- Add newline to the output.
- Make the CMAKE_EXPORT_COMPILE_COMMANDS option work with Ninja.
- Escape the source file to be compiled if required.
- Exclude the CompileCommandOutput test on WIN32.
- Add platform variables for position independent code flags
- Add platform variable for flags specific to shared libraries
- Refactor generation of shared library flags
-
-Tobias Bieniek (1):
- Qt4Macros: Added support for generated resource files
-
-Zack Galbreath (1):
- FindPythonLibs: Document cache variables (#13240)
-
-Zaheer Chothia (1):
- VS: Set Intel Fortran 13 project version
-
-Changes in CMake 2.8.8 (since 2.8.8-rc2)
-----------------------------------------
-Brad King (1):
- CheckIncludeFiles: Shorten check description message
-
-David Cole (3):
- CPackNSIS: Rewrite variable documentation to make it more readable.
- OS X: Use correct extra path when searching for applicaton bundles (#13066)
- OS X: Mark find_program results as advanced
-
-Eric NOULARD (1):
- Fix some doc typo and add an undocumented var.
-
-Kashif Rasul (1):
- OS X: Use OSX_DEVELOPER_ROOT for app search path (#13066)
-
-Rolf Eike Beer (1):
- FindBoost: add support for 1.49 and 1.50
-
-Changes in CMake 2.8.8-rc2 (since 2.8.8-rc1)
---------------------------------------------
-Alex Neundorf (4):
- make cmLocalGenerator::EscapeForCMake() static
- automoc: fix #13018, proper cmake escaping to avoid false rebuilds
- automoc: add define to test which caused bug #13018
- fix #13054: support OBJECT libraries in Eclipse
-
-Ben Boeckel (1):
- Create granular targets for Ninja generators too
-
-Brad King (6):
- CTest.UpdateHG: Fix repo URL for leading slash
- Always compile sources with known language
- Classify known header file extensions as headers
- VS: Add CMakeLists.txt re-run rules at start of generation
- Test generated module .def files
- Ninja: Fix module .def file path conversion
-
-David Cole (2):
- CMake: Clarify SUFFIX target property documentation.
- Xcode: Pay attention to custom configuration types (#13082)
-
-Peter Collingbourne (1):
- Ninja: Substitute <OBJECT> and <CMAKE_C_COMPILER> in depfile flags
-
-Rolf Eike Beer (2):
- FILE: mention that TO_CMAKE_PATH also handles list delimiters
- FIND_LIBRARY: document FIND_LIBRARY_USE_LIB64_PATHS
-
-Sean McBride (1):
- automoc: include <unistd.h> on Apple to get pathconf
-
-Tom Hughes (1):
- Override topdir from rpm command line seems necessary on Amazon linux.
-
-Changes in CMake 2.8.8-rc1 (since 2.8.7)
-----------------------------------------
-Aaron C. Meadows (1):
- Visual Studio: Allow setting Single Byte Character Set (#12189)
-
-Alex Neundorf (34):
- GNUInstallDirs: add support for Debian multiarch
- FindRuby: fix usage of RUBY_VERSION_MAJOR (#12172)
- FindRuby: add more possible library names (for ubuntu, #12172)
- FindRuby.cmake: add more debug output
- fix FeatureSummary for REQUIRED packages, they were reported as OPTIONAL
- FindGetText: fix multiple targets with the same name problem (CMP0002)
- fix #6976: FindX11 also searches for X11_Xxf86vm_LIB
- GenerateExportHeader: use double quotes around _gcc_version
- -remove trailing whitespace
- -don't pull in CheckTypeSize.cmake from the cmake which is being built
- bootstrap: move while() and endwhile() into the bootstrap build
- Check*.cmake: Expand imported targets in CMAKE_REQUIRED_LIBRARIES
- find_package: print error if an invalid CONFIGS name is used
- find_package: rename NoModule to UseFindModules
- find_package: improve error message when no Find module is present
- find_package: add MODULE mode to use only Find-modules
- find_package: add CONFIG mode keyword alias for NO_MODULE
- find_package: mention requested version number in error message
- add CMakePackageConfigHelpers: configure_package_config_file()
- wrap write_basic_config_version_file as write_basic_package_version_file()
- find_package: error out if REQUIRED Config has not been found
- write_basic_package_version_file(): improve documentation
- write_basic_package_version_file: add ExactVersion mode
- WriteBasicConfigVersionFile: add test for ExactVersion mode
- find_package: allow <pkg>Config.cmake to set <pkg>_FOUND to FALSE
- find_package: add test for setting Foo_FOUND to FALSE in a Config file
- find_package: additional test for checking the error message
- find_package: add OPTIONAL_COMPONENTS keyword
- FPHSA(): add missing "]" to documentation
- find_package: add documentation for OPTIONAL_COMPONENTS
- FPHSA(): add HANDLE_COMPONENTS option
- add macro check_required_components() to configure_package_config_file()
- Eclipse: fix #13036, make version detection work with symlinks
- guard eCos.cmake against multiple inclusion (#12987)
-
-Alexandru Ciobanu (2):
- CTest: Detect Xcode error "Command ... failed with exit code"
- CTest: Match valgrind errors with "points to" (#12922)
-
-Alexey Ozeritsky (1):
- FindBLAS/FindLAPACK: Work with MKL version 10.3 (#12924, #12925)
-
-Artur Kedzierski (1):
- Add CURL_CA_BUNDLE option for SSL support (#12946)
-
-Bill Hoffman (12):
- Add CMakeAddFortranSubdirectory to use MinGW gfortran in VS
- VSGNUFortran: Add special case for SunPro Fortran runtime library
- VSGNUFortran: Disable test in special cases
- CMakeAddFortranSubdirectory: Make IMPORTED targets GLOBAL
- Use upgraded qt on linux build machine.
- Teach CTest what a ninja error looks like.
- Allow two cmake_add_fortran_subdirectory calls in the same project.
- Add ability to include a file in a project via a cache variable.
- Fix typo in error message, and remove redundent test.
- Ninja: Add a cache option CMAKE_ENABLE_NINJA to enable the ninja generator.
- Ninja: Fix for PDB files with spaces in the path.
- Fix FindMPI for the intel compiler on linux by looking in implict directories.
-
-Bjoern Ricks (1):
- Fix crash if app bundle executeable couldn't be found
-
-Brad King (138):
- CheckCCompilerFlag: Generalize "but not for C" case (#12633)
- complex: Remove ancient unused ComplexRelativePaths test
- complex: Sync Tests/ComplexOneConfig with Tests/Complex
- complex: Remove dynamic loader tests
- complex: Move GeneratedFileStream test to CMakeLibTests
- complex: Simplify test for single-character exe name
- complex: Move cmSystemTools::UpperCase test to CMakeLibTests
- complex: Remove test dependence on cmSystemTools
- complex: Remove unused option to test CMakeLib
- Intel: Fix Windows per-config Fortran flags (#12642)
- libarchive: Remove our copy to make room for new import
- libarchive: Add .gitattributes for indentation with tab
- libarchive: Add README-CMake.txt
- libarchive: Do not build subdirectories not in reduced snapshot
- libarchive: Remove -Wall -Werror from build with GNU
- libarchive: Build one static cmlibarchive for CMake
- libarchive: Include cm_zlib.h to get zlib used by CMake
- Handle libarchive API change in archive_read_data_block
- Configure libarchive build within CMake
- libarchive: Install COPYING with CMake documentation
- libarchive: Port to OSF operating system
- libarchive: Fix typo in CheckFileOffsetBits
- libarchive: Implement custom lseek for Borland
- libarchive: Declare mbstate_t and wcrtomb for Borland
- libarchive: Cast constants to int64_t instead of using LL suffix
- libarchive: Workaround case-insensitive symbols on Borland
- libarchive: Clean up configuration within CMake build
- libarchive: Cast mode constants to mode_t in case it is signed
- libarchive: Fix Windows NT API usage in VS 6
- libarchive: Suppress compiler warnings
- libarchive: Fix var decl after statement in archive_string.c
- libarchive: Do not use ST_NOATIME if not defined
- libarchive: Check for 'struct statvfs' member 'f_iosize'
- libarchive: Do not use MNT_NOATIME if not defined
- libarchive: Use Apple copyfile.h API only if available
- libarchive: Remove hard-coded build configuration
- libarchive: Cleanup after ZLIB_WINAPI check
- libarchive: Define _XOPEN_SOURCE=500 on HP-UX
- libarchive: Include linux/types.h before linux/fiemap.h
- libarchive: Rename isoent_rr_move_dir parameter isoent => curent
- libarchive: Suppress PathScale compiler warnings
- libarchive: Avoid bogus conversion warning from PGI compiler
- libarchive: Set .gitattributes to allow trailing whitespace
- libarchive: Update README-CMake.txt for new snapshot
- libarchive: Restore CMake 2.6.3 as minimum version
- bootstrap: Update copyright year in version report
- bootstrap: Re-implement command line option processing
- bootstrap: Forward options after '--' to cmake
- VS10: Fix /pdb option vcxproj element name (#12328)
- Add framework to detect compiler version with its id (#12408)
- Detect GNU compiler version with its id (#6251)
- Detect MSVC compiler version with its id
- Detect Intel compiler version with its id (#11937)
- Detect Borland compiler version with its id
- Detect IBM XL compiler version with its id
- Detect PGI compiler version with its id
- Detect Clang compiler version with its id
- Detect Watcom compiler version with its id
- Detect SunPro compiler version with its id
- Detect HP compiler version with its id
- Document compiler version macro formats used for detection
- Detect SGI MIPSpro compiler version with its id
- ExternalProject: Fix git.cmd version detection
- ExternalProject: Update copyright year
- Include bzlib.h consistently across CMake build (#10950)
- FindMPI: Append MPI C++ library correctly in non-compiler case (#12874)
- Add infrastructure for CMake-only tests
- Tolerate cycles in shared library link interfaces (#12647)
- cmInstallCommand: Fix line length for style
- cmake-mode.el: Indent after multiline argument (#12908)
- Clarify IMPORTED_ target property documentation
- Optionally allow IMPORTED targets to be globally visible
- Add test covering imported target scope rules
- VS: Simplify ;-separated attribute value parsing
- Fix CXX/Fortran MODULE flags when enabled before C (#12929)
- Remove unused test code
- Allow directory names containing '=' and warn if necessary (#12934)
- Add CheckLanguage module
- CMakeAddFortranSubdirectory: Allow full paths to directories
- CMakeAddFortranSubdirectory: Fix documentation format and typos
- CMakeAddFortranSubdirectory: Find gfortran in PATH
- CMakeAddFortranSubdirectory: Validate gfortran architecture
- CMakeAddFortranSubdirectory: Always parse arguments
- CMakeAddFortranSubdirectory: Add NO_EXTERNAL_INSTALL option
- libarchive: Workaround mbsnrtowcs assertion failure on old glibc
- Recognize OpenBSD versioned .so names (#12954)
- try_compile: Use random executable file name (#12957)
- Rename Modules/Platform/Windows-{Borland => Embarcadero}.cmake
- Recognize Embarcadero compiler (#12604)
- Factor cmInstallType out of cmTarget::TargetType
- Add infrastructure for CMakeCommands tests
- find_package: Reject mixed use of MODULE- and CONFIG-only options
- find_package: Optionally warn when implicitly using Config mode
- find_package: Test error and warning messages in failure cases
- bootstrap: Convert MSYS paths to Windows format (#13001)
- CTest.UpdateHG: Fix repo URL for local filesystem (#13001)
- cmcurl: Do not hard-coded Windows check results for MinGW (#13001)
- CheckSourceTree: Remove CVS checkout support (#13001)
- Fix MSYS CVS local test repo path format (#13001)
- find_package: Test that REQUIRED aborts processing correctly
- Remove unused partial OBJECT_FILES property implementation
- VS: Simplify object name computation
- Hide Makefile local object info inside local generator
- KWIML: Make test_INT robust to #define-d int#_t and INT#_C
- Add stronger infrastructure for CMake-only tests
- Use generalized RunCMake test infrastrucure for find_package test
- Use generalized RunCMake test infrastrucure for build_command test
- Document Fortran_MODULE_DIRECTORY as OUTPUT only (#13034)
- Ninja: Constify use of cmCustomCommand
- Ninja: Avoid using 'this' in member initializers
- Write CMakeCache.txt atomically (#13040)
- Add cmGeneratorTarget to represent a target during generation
- Create a cmGeneratorTarget for each cmTarget during generation
- Simplify cmMakefileTargetGenerator using cmGeneratorTarget
- Simplify cmVisualStudio10TargetGenerator using cmGeneratorTarget
- Pre-compute object file names before Makefile generation
- Pre-compute object file names before VS project generation
- Remove unused cmSourceGroup method
- Rename/constify build-time config placeholder lookup
- Pre-compute and store target object directory in cmGeneratorTarget
- Add OBJECT_LIBRARY target type
- Build object library targets in Makefiles
- Build object library targets in VS
- Add $<TARGET_OBJECTS:...> expression to use an object library
- Test OBJECT library success cases
- Test OBJECT library failure cases
- Test OBJECT library language propagation
- Test OBJECT library use without other sources
- Document OBJECT library type in add_library command
- Simplify cmNinjaTargetGenerator using cmGeneratorTarget
- Pre-compute object file names before Ninja generation
- Build object library targets in Ninja
- Ninja: Honor $<TARGET_OBJECTS:...> source expressions
- find_package: Test rejection of required+optional components
- Simplify cmVisualStudio10TargetGenerator source classification
- VS10: Fix external objects generated outside target (#13047)
- Fix ObjectLibrary test on Watcom
- KWIML: Avoid conflict with C++11 user-defined literals
-
-Christian Andersson (1):
- FindPythonLibs: Search for single-user installs on Windows
-
-Christopher Sean Morrison (1):
- cmake-mode.el: Make indentation case-insensitive (#12995)
-
-Clinton Stimpson (14):
- GetPrerequisites: Add support for @rpath on Mac OS X.
- GetPrerequisites: Add support for @rpath on Mac OS X.
- GetPrerequisites: Add test for @rpath support.
- Fix new BundleUtilities test failure on Mac 10.4.x
- Fix BundleUtilities test failure with space in build path.
- cmake-gui: Improve interrupt granularity to fix bug 12649.
- FindQt4: clarify warning message about incorrect Qt installation.
- FindQt4: Add include directories for lupdate.
- Fix paths/hints for finding qtmain.
- DragNDrop: Fix problem with relocated files in Xcode 4.3
- Add test for DeployQt4.cmake
- Fix for Qt4Deploy on some test machines.
- Remove QtGui dependency in Qt4Deploy test and verify QtSql existance.
- DeployQt4: Add path to Qt dlls on Windows.
-
-Daniel Nelson (1):
- CPack Add top level directory in component install for Archive Generators
-
-David Cole (33):
- Begin post-2.8.7 development
- Release: Increase timeout for slow-testing cygwin build
- Update dashmacmini2 release script to use Qt 4.6.3
- Update dashmacmini2 release script to use Qt 4.8.0
- Tests: Update drop site value for the Trilinos contract test
- Update version of Qt for dashmacmini5 produced release binaries
- CTestCustom: Suppress clang warning on the dashboard
- CMake: Eliminate cmMakefile::IncludeDirectories
- Remove cmMakefile::GetIncludeDirectories
- Make search paths ordered and unique
- Call ExpandVariablesInString for each target's INCLUDE_DIRECTORIES
- Update the documentation regarding INCLUDE_DIRECTORIES.
- Fix compiler error reported on older Borland dashboard.
- Fix compiler warning reported on older Borland dashboard.
- Fix shadowed variable warning on dashboard results
- Remove trailing white space
- Use correct "requires" line in cygwin setup hint file
- VS6: Avoid _MBCS define when _SBCS is defined (#12189)
- VS6: Avoid SBCS test on VS6 (#12189)
- Suppress warnings occurring on the dashboards using the PGI compiler.
- CPack: Fix retry logic when calls to hdiutil fail
- Ninja: CMake: Adapt Ninja generator for per-target include dirs
- Ninja: Add friend struct so it can access the private ConvertToNinjaPath.
- Xcode: Detect new default locations of Xcode 4.3 bits and pieces (#12621)
- CPack: Use real path to PackageMaker to find its version file (#12621)
- Xcode: Re-factor code into GetObjectsNormalDirectory method
- Xcode: Re-factor some existing methods into "FromPath" variants
- Add a default source group for object files.
- Allow txt files as ExtraSources in object library targets
- Pre-compute object file names before Xcode generation
- Build object library targets in Xcode
- Xcode: Honor $<TARGET_OBJECTS:...> source expressions
- Tests: Relax restrictions on version variable contents
-
-Deborah Pickett (1):
- CPackRPM flag direcories with %dir in the generated spec file
-
-Droscy (1):
- FindCxxTest: Add support for CxxTest 4 (#13022)
-
-Eric NOULARD (41):
- Document undocumented (but existing) cpack options (fix #0010134)
- Enhance bash completion file for cmake and ctest
- Do not add the content of a file if it's a symlink.
- CPackArchive restore default behavior and provide new variable.
- CPackNSIS fix #0012935 switch from LOG_WARNING to avoid final error.
- CPack begin the implementation of --help-command* and --help-variables*
- Implement simple CMake script comment markup language.
- CPack Documentation extraction from CMake script begins to work
- Update bash completion file in order to handle new CPack doc options.
- Suppress unused var, beautify code, avoid 1 extra newline.
- Fix potential bad memory access, thanks to Eike
- Calm down compiler warning about unused var
- Really avoid compiler warning about unused vars
- Fix another compiler warning due to a typo
- Make the load of script documentation more efficient and dynamic.
- Example of builtin variable documentation (i.e. only used in C++ source code).
- Add missing section markup for CPackComponent
- Create getDocumentedModulesListInDir which may be used in other context.
- Fix non existent std::string::clear on VS6
- Avoid discovering system infos for documentation. Adding some path is enough.
- Dynamically add documentation section specified in documented script.
- Add structured documentation for NSIS
- Add structure documentation for CPack Bundle generator
- Suppress unecessary (now empty) doc sections
- Correct copy/paste section name mistake
- Put CPack DMG and PackageMaker doc in separate files
- More documentation concerning CPack Components
- Fix typo in end markup
- Try to fix compile error on Win32-vs70
- Do not build RPM if path of the build tree contains space
- Fix layout of the CPack Bundle documentation
- Fix CPack Drag and Drop generator documentation layout.
- Review and update CPack variable documentation.
- Update CPackConfig template.
- Provide template for CPack Cygwin generator specific variables.
- Update CPack PackageMaker variable doc layout
- Typo: Add missing ##end for ##module
- Fix some typos in CPACK_SET_DESTDIR doc
- Add some missing CPACK_NSIS_xxx doc and move some to common CPack section.
- CPack STGZ put execute permission on all packages files (component case)
- Handle CPACK_MONOLITHIC_INSTALL in some rare use cases.
-
-Eugene Golushkov (1):
- VS: Add support for WinRT project properties (#12930)
-
-James Bigler (1):
- Added support for curand, cusparse, npp, nvcuenc and nvcuvid libraries.
-
-Jason Erb (1):
- FindwxWidgets: Add webview library (#12636)
-
-LibArchive Upstream (2):
- libarchive 3.0.1-r3950 (reduced)
- libarchive 3.0.2-r4051 (reduced)
-
-Matthias Kretz (1):
- Improve checks for Open64 and g++ incompatible flags (#12119)
-
-Mattias Helsing (1):
- CPack: Fix NSIS handling of privileged users (#12923)
-
-Michael Wild (1):
- GenerateExportHeader: Fix wrong use of IS_ABSOLUTE (#12645)
-
-Mike McQuaid (5):
- Don't use QT_LIBRARIES_PLUGINS by default.
- Fix mismatched arguments.
- Fix bad plugin paths.
- Ensure libs are passed to BundleUtilities.
- Fix plugin installation issues.
-
-Modestas Vainius (3):
- various typo and formatting fixes in manual pages (#12975)
- KWIML: Teach ABI.h that MIPS is biendian
- Tests: Escape metachars before embedding paths into the regex (#12999)
-
-Nicolas Despres (5):
- ccmake: Factor clear line.
- ccmake: Extend clear line.
- java: Factor jar output path.
- java: Add CMAKE_JAVA_TARGET_OUTPUT_DIR optional variable.
- java: Add CMAKE_JAVA_JAR_ENTRY_POINT optional variable.
-
-Peter Collingbourne (19):
- Add cmSystemTools::TrimWhitespace function
- Add executable with exports flag support to cmLocalGenerator::GetTargetFlags
- Provide dependency file flags to generator
- Ninja: Add the Ninja generator
- Ninja: Fix a 79-col violation
- Ninja: Remove some default arguments
- Ninja: Appease various compilers
- Ninja: Partially revert "win fixes: escape back slash/colon, use cd. as cmd.exe nop"
- Ninja: Identifier encoding rules for ' ' and ':'
- Ninja: Backslash rules for Windows
- Ninja: Shell encode paths used in "cd" commands
- Ninja: Shell encode various CMake invocations
- Ninja: Shell encode the command used in custom commands
- Ninja: Import library support for Windows
- Ninja: Add a missed license header
- Ninja: Use cmSystemTools::ExpandListArgument to split compile/link commands
- Ninja: Remove an unnecessary variable
- Ninja: add support for OBJECT_OUTPUTS, fix PrecompiledHeader test case
- Ninja: shell escape $(CMAKE_SOURCE_DIR) and $(CMAKE_BINARY_DIR)
-
-Peter Kuemmel (12):
- Find VC Express during default generator selection (#12917)
- Ninja: win fixes: escape back slash/colon, use cd. as cmd.exe nop
- Ninja: don't define MSVC_IDE when using the ninja generator
- Ninja: also build ninja support on Windows
- Ninja: add some hacks for Windows
- Ninja: disable unfinished Windows ninja support
- Ninja: mark the Windows specific hacks with a comment only
- Ninja: windows msvc: create for each target a .pdb file
- Ninja: ensure the output dir exists at compile time
- Ninja: add .def file support
- Ninja: add /DEF: flag to linker call
- Ninja: Fix <OBJECT_DIR> substitution
-
-Philip Lowman (5):
- FindProtobuf: Merge patch that allows extra import dirs
- FindProtobuf: Update documentation comment for 2.8.8
- Findosg: New modules for osgQt and osgPresentation
- FindALSA: Fix incorrect include path detection
- FindALSA: Fix version detection after last commit
-
-Rolf Eike Beer (95):
- remove reference to CVS directory when installing files
- CheckSymbolExists: force the compiler to keep the referenced symbol
- add a test for Check{,CXX}SymbolExists
- FindOpenSSL: improve version number handling
- FindOpenSSL: only try to parse opensslv.h if it exists
- FindOpenSSL: also parse version number define with uppercase letters
- GenerateExportHeader test: add newlines before end of file
- add a test that loops through most Find* modules
- AllFindModules test: keep complete output
- AllFindModules test: also check Qt3 modules if Qt4 is not found
- FindPythonInterp: make version selectable
- FindPythonInterp: fix version parsing
- LoadCommand test: cleanup
- FindThreads: Try pthreads with no special option first (#11333)
- fix uninitialized var in if(NOT foo bar STREQUAL "foo bar")
- use pkg_check_modules() quiet in other modules
- FindLibXml2: support version selection
- FindGnuTLS: partly support version selection
- FindGit: support version number
- FindCups: major overhaul
- FindEXPAT: support version number
- FindCURL: support version selection
- FindFLEX: fix version parsing for old flex versions
- FindFLEX: fix version parsing when the executable is quoted
- FindJasper: find debug libraries
- FindJasper: support version number
- FindBZip2: add support for version checking
- FindBZip2: add support for debug libraries (#12867)
- FindImageMagick: make use of more FPHSA features
- FindPNG: support version selection
- FindRuby: do not blindly set version to 1.8.0
- FindTclsh: support version selection
- SelectLibraryConfigurations: do not output identical configurations
- FindLua51: add version support
- FindTIFF: support version selection
- FindCURL: detect version number also for older versions
- FindLibXml2: detect version when PkgConfig is not used
- FindPostgreSQL: support version selection
- FindOpenSSL: properly parse the hex version components
- FindBISON: add a version expression for GNU Bison 1.x
- FindPythonInterp: try harder to get a version number
- FindJasper: fix library name
- FindGnuplot: add version selection
- FindALSA: support version selection
- FindGettext: support version selection
- CheckCXXCompilerFlag test: make it a CMakeOnly test
- CMakeOnly.AllFindModules: clean up the Qt3/Qt4 code
- CMakeOnly.AllFindModules: always check FindQt
- CMakeOnly.AllFindModules: suppress two modules from testing
- CMakeOnly.AllFindModules: require version for some modules
- CheckIncludeFiles: fix status output
- FindPerl{,Libs}: move version detection into FindPerl
- FindLibArchive: support version selection
- FindX11: also search for Xmu (#12447)
- detect "pgfortran" as PGI Fortran compiler (#12425)
- FindSDL*: use FPHSA (#12467)
- AllFindModules test: do not enforce GNUPLOT version
- FindPerlLibs: properly detect libperl on Windows (#12224)
- CTest: mark all gcov covered files as covered
- FindGLUT: honor REQUIRED (#12466)
- FindRuby: clean up querying variables from Ruby
- FindLibXslt: support version selection
- Tests: document where to put tests
- FindPkgConfig: support version selection of pkg-config itself
- fix the same typos as found by Debian in other places, too
- Find_library(): allow searching for versioned shared objects
- FindFreetype: support version selection
- AllFindModules test: expect more modules to have a version number available
- FindOpenMP: do not fail if only C or CXX is enabled (#11910)
- FindOpenMP: try the most likely flags first
- FindOpenMP: simplify check for enabled languages
- UseSWIG: clean up string compares
- FindPython{Interp,Libs}: document Python_ADDITIONAL_VERSIONS as input
- FindPythonLibs: make the version selection work as for PythonInterp
- FindPythonLibs: get the exact version of the found library (#3080)
- FindPythonLibs: put debug libraries into PYTHON_LIBRARIES
- FindPythonLibs: stop scanning when libraries are found
- Check{C,CXX}CompilerFlag: detect ICC error messages
- GenerateExportHeader: remove unneeded code
- GenerateExportHeader: improve compiler identification
- FindOpenSceneGraph: give every message() with an explicit level
- FindHSPELL: set HSPELL_VERSION_STRING
- FindImageMagick: fix fail if no components were given
- FindPythonInterp: rework the version detection
- document when version detection will not work
- AllFindModules test: once again expand version checking
- improve error message on a stray "endwhile()"
- add testcases for while()/endwhile() errors
- reflect that the QtAutomoc depends on QtGui
- FindQt3: fix warning when Qt3 is not found
- FindQt3: fix version extraction for versions with letters
- FindQt3: let FPHSA handle the version selection
- FindQt3: fix detection of Qt3 include directory
- AllFindModules test: do not require TCLSH version
- add test for get_property() errors
-
-Stephen Kelly (13):
- Fix typos arguement -> argument.
- Exit the loop when we have determined the language.
- Add whitespace after '.' in CMAKE_SKIP_RPATH docs.
- Fix documented function signature to match reality.
- Add default initializers for WIN32_EXECUTABLE and MACOSX_BUNDLE
- Add an option to skip RPATH during installation.
- Refactor GetIncludeFlags to take includes instead of fetching them
- Make it safe to call this method without creating duplicates.
- Remove include flags memoization.
- Add API to get the ordered includes for a target.
- Keep the INCLUDE_DIRECTORIES target property up to date.
- Extract and use the INCLUDE_DIRECTORIES target properties.
- Fix some typos in the docs comments.
-
-Yury G. Kudryashov (23):
- FindDoxygen: add DOXYGEN_VERSION variable
- cmInstallCommand: Fix indentation error
- cmInstallCommand: Remove duplicated sentence from docs
- FindPkgConfig: respect REQUIRED (#12620)
- FindPackageHandleStandardArgs: fix documentation
- Remove unused file cmake.1
- Fix typo in documentation
- Drop if(...) check because condition is always true
- CMakeFindPackageMode: fix 32/64bit detection if 'file' is a symlink
- Run vim spellcheck on some files
- cmPropertyDefinition::IsChained is const
- Add 'const' qualifier to some cmCommand members
- doxygen: cmPropertyDefinition
- doxygen: Improve API docs of GetRealDependency
- doxygen: Use proper syntax to document enum
- doxygen: Small fixes in cmake.h apidocs
- doxygen: fix some comments in cmPolicies.h
- doxygen: remove a few comments
- doxygen: review cmake.h
- doxygen: MathCommand is not about string operators
- Rename UsedCommands to FinalPassCommands
- Remove UnionsAvailable member from 2 classes
- Remove cmExprParserHelper::SetLineFile()
-
-Changes in CMake 2.8.7 (since 2.8.7-rc2)
---------------------------------------------
-None
-
-Changes in CMake 2.8.7-rc2 (since 2.8.7-rc1)
---------------------------------------------
-Alex Neundorf (5):
- automoc: default to strict mode, use CMAKE_AUTOMOC_RELAXED_MODE
- automoc: improved warning message in relaxed mode
- Remove trailing whitespace
- Add comment about one more problem of the C depency scanner.
- fix #12262: dependency scanning for ASM files
-
-Bill Hoffman (1):
- Fix the case where cmake --build failed with two project cmds in one file.
-
-Brad King (11):
- KWSys: Correctly handle empty environment variables
- FortranCInterface: Work around mingw32-make trouble with parens
- Xcode: Create separate rerun dependencies for subprojects (#12616)
- Fix Intel Fortran .vfproj files for VS 10
- HP: Drive shared library linking with compiler front end
- Follow all dependencies of shared library private dependencies
- Do not link private dependent shared libraries on OS X > 10.4
- Avoid clobbering variable 'OUTPUT' in compiler tests (#12628)
- Fix and simplify Fortran test compiler compatibility check
- CTest: Recognize Intel errors without space before colon (#12627)
- Windows-GNU: Remove extra quotes in GNUtoMS rule variable
-
-David Cole (4):
- Release: Increase timeout for slow-testing cygwin build
- Modules: Use "windres" as rc compiler base name for cross-compiles (#12480)
- Tests: Only really run MFC test if we can build MFC apps (#11213)
- FindBoost: Quote possibly empty string argument (#12273)
-
-Eric NOULARD (1):
- CPackRPM fix #0012608 and unoticed related bug
-
-Johan Fänge (1):
- CMake: Fix progress reporting for custom targets (#12441)
-
-Mike McQuaid (2):
- Unset configurations variable when no build type.
- Improve component support and output indentation.
-
-Raphael Kubo da Costa (2):
- Remove the apparently outdated README in Source/QtDialog.
- QtDialog: Set Ctrl+Q as the shortcut for quitting the program.
-
-Tim Gallagher (2):
- FindLAPACK: Correct CMAKE_FIND_LIBRARY_SUFFIXES spelling (#12624)
- FindLAPACK: List thread libs to avoid link errors (#12625)
-
-Valat Sébastien (1):
- CTest: Do not get CDash version without drop site (#12618)
-
-Changes in CMake 2.8.7-rc1 (since 2.8.6)
-----------------------------------------
-Aaron Ten Clay (1):
- VS: Add support for three new project properties (#12586)
-
-Alex Neundorf (60):
- fix #12392: handle CMAKE_CXX_COMPILER_ARG1 for Eclipse projects
- fix #12262: use the C dependency scanner also for ASM files
- fix #12465: detect the masm compiler ID ("MSVC")
- Silence make on OpenBSD in FindPackageModeTest(#12508)
- Remove trailing whitespace
- Find Ruby on OpenBSD when installed from ports (#12507)
- Eclipse generator: detect Eclipse version
- Detect whether the current Eclipse version supports VirtualFolders
- Eclipse: don't create VirtualFolders if not supported
- Eclipse: better message when Eclipse version could not be determined
- automoc:run moc on the header if the source file contains include "foo.moc"
- Add copyright notices
- automoc: always run moc on the cpp file if there is a foo.moc included
- Eclipse: add virtual folder for each target
- Eclipse: move code for generating links to projects into separate function
- Eclipse: move code for generating links to targets into separate function
- Eclipse: add Build and Clean targets to targets
- Eclipse: detect number of CPUs, set CMAKE_ECLIPSE_MAKE_ARGUMENTS accordigly
- Eclipse: fix #12417, don't create wrong src pathentries
- FindLibXslt: also search libexslt and xsltproc
- don't crash in automoc with empty COMPILE_DEFINITIONS property
- Automoc: fix the fix, need to use std::string, not just char* pointer
- automoc: fix #12541, support moc options
- add documentation for the AUTOMOC_MOC_OPTIONS property
- Eclipse: warn if CMAKE_BINARY_DIR is subdir of CMAKE_SOURCE_DIR
- Eclipse: make targets work from any directory
- Eclipse: quote the build dir (to make it work with spaces)
- make automoc work when using ccmake via PATH (#12551)
- Strip trailing whitespace
- -make GETTEXT_PROCESS_PO_FILES() work with files with multiple dots
- FindGettext: two more fixes for files with multiple dots
- FindPNG: provide PNG_INCLUDE_DIRS, as the readme.txt says (#11312)
- Eclipse: create links to subprojects also in the source-project (#12579)
- Eclipse: use new variable CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT
- install(EXPORT): Enforce existence of imported target files
- Remove trailing whitespace
- cmake-gui: add completion for the names when adding cache entries
- automoc: stricter checking for what file is included
- automoc: rework the checking for the matching header, to give better warnings
- automoc: handle the case when the developer includes the wrong mocfile
- automoc: add more test cases
- automoc: improved diagnostics
- automoc: minor optimization
- automoc: another runtime optimization
- Automoc: modified handling of included .moc files
- automoc: add a test for including both abc.moc and moc_abc.cpp
- automoc: add test for including the moc file from another header
- automoc: add test for including a moc_abc_p.cpp file
- automoc: move some code from the big parsing loop into separate functions
- automoc: add special handling for including basename_p.moc, with test
- automoc: add extra check whether the header contains Q_PRIVATE_SLOT
- automoc: some more linebreaks for the warnings for better readability
- automoc: fix handling of included _p.moc files
- automoc: move the code for finding headers into separate function
- automoc: add a StrictParseCppFile(), which is only qmake-compatible
- automoc: also accept other files when .moc is included in non-strict mode
- automoc: accept even more .moc files in non-strict mode
- automoc: add variable CMAKE_AUTOMOC_STRICT_MODE, to enable strict parsing
- automoc: fix line length
- automoc: add documentation for CMAKE_AUTOMOC_STRICT_MODE
-
-Alexey Ozeritsky (1):
- FindLAPACK: Fix linking to static LAPACK on Unix (#12477)
-
-Bernhard Walle (1):
- Source/cmCTest.cxx: Add missing newline (#12538)
-
-Brad King (65):
- Refactor find_* command final path list computation
- Constify XCode generator getters to match cmGlobalGenerator
- Fix line-too-long style violations
- KWSys: Fix Doxygen warnings
- Add pre-commit|commit-msg|prepare-commit-msg hook placeholders
- pre-commit: Reject changes to KWSys through Git
- Fix CTest.UpdateSVN with Subversion 1.7 (#12535)
- Teach CTest.UpdateSVN to detect svn add --depth before using it
- KWSys: Address Intel compiler remarks
- Fix linking to OS X Frameworks named with spaces (#12550)
- Watcom: Use shortpath to CMake if full path has parens (#12548)
- KWSys: Remove trailing whitespace in SystemTools.cxx
- KWSys: Fix wrong spelling of __INTEL_COMPILER
- Update main Copyright.txt year range for 2011
- KWIML: The Kitware Information Macro Library
- Configure KWIML inside CMake as cmIML
- KWIML: Avoid redefining _CRT_SECURE_NO_DEPRECATE in test.h
- KWIML: Suppress printf/scanf format warnings in test
- KWIML: No INT_SCN*8 on SunPro compiler
- KWIML: No INT_SCN*8 on Intel for Windows
- KWIML: Create test output dir for Xcode
- Order VS local generator Version ivar values consistently
- Enumerate VS11 version explicitly in local generators
- KWIML: Test header inclusion after system headers
- KWIML: Ignore _LONGLONG on MS compiler
- KWIML: Teach ABI.h about PGI compiler
- KWIML: Avoid MSVC linker warning about not using C++ runtime
- Factor Compute(File|String)MD5 into cmCryptoHash helper
- Add file(MD5) command to compute cryptographic hash
- Import sha2 implementation 1.0 from Aaron D. Gifford
- Import sha2 implementation 1.1 from Aaron D. Gifford
- sha2: Use KWIML fixed-size integer types and endian-ness
- sha2: Build as part of CMakeLib
- Add file(SHA*) commands to compute cryptographic hashes
- sha2: Use "static const" instead of "const static" declarations
- cmCryptoHash: Provide factory "New" method
- Add string(MD5) and string(SHA*) commands to compute hashes
- sha2: Use KWIML fixed-size integer constant macros
- sha2: Suppress Borland warnings in third-party code
- Disable file() and string() hash commands during bootstrap
- sha2: Wrap long lines in third-party declarations
- Fix CMake.File hash test for CRLF checkouts
- cmCryptoHash: Add virtual destructor
- sha2: Cast safe conversions to smaller integer types
- sha2: Suppress -Wcast-align warning from Clang
- sha2: Zero entire SHA_CTX structure during cleanup
- target_link_libraries: Add missing space in documentation
- target_link_libraries: Simplify argument processing state tests
- install(EXPORT): Improve target import failure message format
- Remove trailing whitespace from cmLocalGenerator
- bootstrap: Include cmNewLineStyle in build
- cmNewLineStyle: Remove trailing comma in enum
- cmNewLineStyle: Use cmStandardIncludes.h
- Provide std::ios_base typedef on GCC < 3
- FindZLIB: Search under ZLIB_ROOT if it is set
- Factor out target location undefined behavior helper macro
- export(): Document undefined behavior of location properties
- Recognize the Tiny C Compiler (#12605)
- TinyCC: Add compiler info for shared libs on Linux (#12605)
- Fortran: Detect pointer size in gfortran on MinGW
- Load platform files that need to know the ABI when possible
- Factor makefile generator link rule lookup into helper function
- Add CMAKE_GNUtoMS option to convert GNU .dll.a to MS .lib
- Test CMAKE_GNUtoMS option in ExportImport on MinGW and MSys
- cmTarget: Create helper method for versioned library names
-
-Clinton Stimpson (2):
- Fix XML safety issue with adding preprocessor defines in CodeBlocks project.
- Qt4: Fix dependencies of QtDeclartive.
-
-Dan Kegel (1):
- Modules: Add XRes to FindX11.cmake
-
-David Cole (17):
- Begin post-2.8.6 development
- CTest: Fix crash when variables are not defined
- VS11: Fix comment generated at the top of *.sln files
- CTest: Add COVERAGE_EXTRA_FLAGS cache variable (#12490)
- CTest: Clear custom vectors before populating (#12383)
- Tests: Add the MFC test (#11213)
- Tests: Avoid MFC test automatically for VCExpress builds (#11213)
- Tests: Fix MFC test w/ Make-based generators (#11213)
- Tests: Fix MFC test for old vs6 dashboards (#11213)
- Tests: Avoid MFC test automatically for Watcom WMake builds (#11213)
- Tests: Fix MFC test to work with VS 10 and later (#11213)
- VS10: Use expected values for UseOfMfc (#11213)
- Tests: Add environment logging to the MFC test (#11213)
- VS11: Update InstallRequiredSystemLibraries.cmake for VS11 (#11213)
- Tests: Nudge MFC test to pass on VS 6 dashboards (#11213)
- VS: Use "call " keyword with .cmd and .bat file custom commands (#12445)
- CTest: Disallow problem chars in build and site names (#11792)
-
-Eric NOULARD (3):
- CPackRPM support component specific variables for spec files
- Fix old reference to CMAKE_MAKE_PROGRAM inside CMAKE_BUILD_TOOL doc.
- CPackRPM fix #12556 and enhance documentation
-
-James Bigler (6):
- Added support for CUDA_PATH which is present in the CUDA toolkit 3.2 onward.
- Reset dependency file list when a dependency disappeared.
- Add work around for CUDA in UNC paths.
- Fixes for handling quotes in args and other places (Fix Bug 11726 and 12099).
- Make CUDA working directory unique for each target.
- Miscellaneous fixes.
-
-Jean-Christophe Fillion-Robin (1):
- CTest: Look for CTestConfig.cmake in build dir first, then source dir
-
-Johan Bjork (1):
- Xcode: Avoid spewing the environment on every script run (#12522)
-
-Mateusz Loskot (1):
- FindBoost: Use MSVC11 to find Boost on Windows (#12568)
-
-Mathieu Malaterre (1):
- TinyCC: Add default compilation flags (#12605)
-
-Mike McQuaid (6):
- Add QT_LIBRARIES_PLUGINS variable to UseQt4.
- Add DeployQt4 module.
- Match fixup_qt4_executable with documentation.
- Don't resolve directories; are never relative.
- Check plugin variables are defined before warning.
- Check QtCore without warning.
-
-Nicolas Despres (17):
- Refactor TargetTypeNames.
- Add const versions of some getters.
- Constify many getters of cmGlobalGenerator.
- Remove trailing white-spaces.
- Fix typo.
- Doxygen: Improve code documentation.
- Doxygen: Generate call graph and relationships.
- Doxygen: Fix warnings.
- Doxygen: Remove dependency on VTK when building doxygen.
- Usage: Document -j|--parallel option in help message.
- Usage: Document all options printing usage information.
- Usage: Document all options printing the version number.
- Usage: Print help, version and copyright options in usage information.
- Usage: Add missing exepath argument in get_prerequisites documentation.
- ccmake: Align 'g' and 'q' key instructions.
- ccmake: Document '/' key.
- ccmake: Factor toggle key help instructions.
-
-Niels Dekker (1):
- Fix CMAKE_VERBOSE_MAKEFILE for VS10 vcxproj files (#12504)
-
-Ondrej Balaz (1):
- FindBISON: Fix bison++ version parsing to avoid "Offending entry"
-
-Peter Collingbourne (4):
- Make cmLocalGenerator::ConvertToLinkReference virtual
- Introduce a cmLocalGenerator::ConvertToIncludeReference function
- Introduce a cmGlobalGenerator::ResolveLanguageCompiler function
- Fix configuration-dependent flag lookup in cmLocalGenerator::GetTargetFlags
-
-Peter Kuemmel (1):
- Add NEWLINE_STYLE option to configure_file (#3957)
-
-Philip Lowman (1):
- FindProtoBuf: Documented limitation of the public macro
-
-Pierre-Francois Laquerre (1):
- Fix path quoting in Qt4 macros
-
-Robert Dailey (1):
- VS: Add VS_SCC_AUXPATH target property (#12549)
-
-Rolf Eike Beer (4):
- libarchive: fix typo in CheckFileOffsetBits.cmake
- Tell people that link_directories() is not what they are searching for
- FindBISON: Fix matching output of "bison --version"
- Tests: ExternalProject: Remove unnecessary 'svn --version' call
-
-Stephen Kelly (13):
- Add features from KDE for arguments to qdbusxml2cpp.
- Remove unused define.
- Build each library only once instead of once for each test.
- Initialize LINK_INTERFACE_LIBRARIES target property with a variable
- Also run moc automatically with Qt5.
- Fix typo.
- Don't assume the existence of QT_MAJOR_VERSION.
- Update comments and method names to not be Qt4 specific.
- Fix style.
- target_link_libraries: Trim trailing whitespace
- target_link_libraries: Add LINK_(PUBLIC|PRIVATE) options
- moc is now part of the Qt5Core module
- Add a test case for the use of Q_PRIVATE_SLOT.
-
-Changes in CMake 2.8.6 (since 2.8.6-rc4)
-----------------------------------------
-Alex Neundorf (5):
- Remove trailing whitespace
- Minor improvements to the UsePkgConfig.cmake docs
- Remove trailing whitespace
- Improve behaviour of --find-package mode with try_run/try_compile
- Use makefile->IssueMessage() for better error messages
-
-Bill Hoffman (2):
- Use version 11.0 for 12.x and 9.10 for 10.x intel versions to fix 12.1 vsIDE.
- Also, check for 11.x as an intel fortran version.
-
-Brad King (2):
- Add Visual Studio 11 generator for x86 and x64 tools
- Teach our tests about special cases for VS 11
-
-David Cole (1):
- CTestCustom.cmake: Ignore clang's summary warning
-
-Philip Lowman (1):
- FindBullet: Also search for _Debug postfixed library names
-
-Raphael Kubo da Costa (1):
- Fix typo in set_target_properties' documentation.
-
-Rolf Eike Beer (1):
- Fix typo in UsePkgConfig.cmake
-
-Changes in CMake 2.8.6-rc4 (since 2.8.6-rc3)
---------------------------------------------
-Alex Neundorf (3):
- FindFLEX.cmake: also search the include dir
- Fix typos in FeatureSummary.cmake (#12462)
- Don't warn when setting a property multiple times to the same value #12464
-
-Bill Hoffman (2):
- For VS Intel Fortran IDE builds, add a check to find the Fortran library PATH.
- Enable Fortran tests for IDE builds.
-
-Brad King (5):
- FortranCInterface: Compile separate Fortran lib in VerifyC[XX]
- Move IntelVSImplicitPath project to better location
- Simplify IntelVSImplicitPath detection project
- libarchive: Fix ssize_t detection with mingwrt 3.20
- Make file(DOWNLOAD) fail on http error
-
-David Cole (8):
- Tests: Add a KWStyle test, equivalent to the make StyleCheck target
- KWStyle Test: Activate by default if KWStyle is found
- Xcode: Use EFFECTIVE_PLATFORM_NAME reference in ComputeOutputDir
- Xcode: Add test to demonstrate iOS project in Xcode
- CMake: Reference test targets only when BUILD_TESTING is ON
- Tests: Add the more modern Mac64 nightly build
- Release Scripts: Use Qt 4.7.4 on dashmacmini5 (#12460)
- Revert "FindThreads: Try pthreads with no special option first (#11333)"
-
-Eric NOULARD (4):
- CPack fix #12449 doc mispelled
- CPack fix template too
- CPackDeb fix #10325 automagically use fakeroot for DEB if fakeroot is found
- CPackRPM authorize per-component pre/post-[un]install scripts (#0012063)
-
-Marcus D. Hanwell (4):
- Just code style changes.
- Don't warn when nothing to do in visibility function.
- Made ADD_COMPILER_EXPORT_FLAGS into a macro.
- Make add_compiler_export_flags a function again.
-
-Rolf Eike Beer (1):
- remove stray brace in CPackDeb documentation
-
-Changes in CMake 2.8.6-rc3 (since 2.8.6-rc2)
---------------------------------------------
-Alexey Ozeritsky (2):
- FindBLAS/LAPACK fixes
- FindBLAS/LAPACK fixes
-
-Andreas Schneider (1):
- Modules: Add support for more java archives in add_jar().
-
-Björn Ricks (4):
- Search for the installed python interpreter first
- Determine python version
- Update documentation of FindPythonInterp.cmake
- Use FIND_PACKAGE_HANDLE_STANDARD_ARGS second mode
-
-Brad King (5):
- VS: Map per-source Fortran flags to IDE options
- VS: Map Fortran free- and fixed-format flags to IDE options
- Fortran: Add support for free- and fixed-form flags
- Xcode: Honor Fortran_FORMAT target and source file property
- Set CMAKE_<lang>_COMPILER_ID for VS generators
-
-David Cole (8):
- KWSys: Remove always-true dir_only parameter
- KWSys: Add symlinks to directories as files (#12284)
- FindPackageMessage: Eliminate new lines in cache entries
- FindPackageMessage: Eliminate new lines using REGEX REPLACE
- CMake: Add SaveCache at the end of successful Generate calls
- Suppress Qt warning for dashmacmini5 builds
- Suppress Qt warning for dashmacmini5 builds
- Tests: Look for "Illegal" or "SegFault" in the output
-
-Eric NOULARD (2):
- CPack fix #12366 components RPM packages have the same package name
- CPackRPM fix #12305, include directories in RPM package
-
-Johan Björk (5):
- Xcode: No spaces in makefile target names (#12370)
- CMake: Write symlinks to directories as files in archives (#12284)
- CPack: Do not recurse through directory symlinks (#12284)
- Xcode: Do not emit the ZERO_CHECK target more than once
- Xcode: Honor -g0 to disable debugging (#12377)
-
-Johannes Stallkamp (1):
- CTest: Fixed valgrind output parsing (#12260)
-
-Matt McCormick (1):
- CMake: Remove documentation for -E build (#12446)
-
-Stephen Kelly (2):
- Add some more unit tests.
- Don't put what some compilers consider junk at the end of the line.
-
-Thomas Jarosch (3):
- CTest: Fix memory leaks on error
- Fix file() command descriptor leak on error
- ccmake: Fix off-by-one memory access error
-
-Changes in CMake 2.8.6-rc2 (since 2.8.6-rc1)
---------------------------------------------
-Brad King (2):
- KWSys: Add hash function for std::string
- KWSys: Fix std::string hash function for Borland
-
-Clinton Stimpson (1):
- qt4: also find QtUiTools when cross compiling with mingw.
-
-David Cole (3):
- Xcode4: Requires more quoting of single quote char
- cmake.m4: Use modern signature of install(FILES ...)
- CMake Release Scripts: Changes for next release candidate...
-
-David Faure (1):
- Don't use a variable name that might be used in other files.
-
-Stephen Kelly (73):
- Create moc files in the current binary dir, not the top level.
- Make the formatting of feature_summary output a little better.
- Add the GenerateExportMacro with unit tests.
- Handle the case where the user changes the DEFINE_SYMBOL property.
- Add a newline at the end of the file.
- Add a newline at the end of the file.
- Add missing licence header.
- Remove the fatal_warnings option which is no longer used.
- Test for features, not specific compilers.
- Simplify. We already know we have hidden visibility at this point.
- Simplify the compiler feature check
- Add some debug output.
- Short-circuit the tests on unsupported compilers.
- Test expected no-op instead of aborting the build.
- Fix tests with clang.
- Fix typo and tests failing as a result.
- Only run the failure tests with gcc >= 4.2
- Set the CMAKE_RUNTIME_OUTPUT_DIRECTORY for windows builds.
- Only set the COMPILER_HAS_HIDDEN_VISIBILITY if GCC >= 4.2
- Disable all export macros on Borland.
- Another attempt to fix the tests on Borland.
- Use the correct project name compiletest not compilefail
- Fix off-by-not in test for Borland.
- Another attempt at fixing Borland.
- Add some debug output to narrow down deprecation test issues
- Export deprecated free methods too.
- Remember to surround the other deprecated test in the Borland check.
- Only set the deprecated attribute if hidden visibilty is enabled.
- Make sure the hidden visibility variables never get set on MINGW.
- Don't use hidden visibility on non-mingw windows either.
- Don't export methods on already exported classes.
- Split the deprecated available check from setting macro values.
- Test for compiler features, instead of for specific platforms.
- Exclude the XL compiler from the hidden-visibility test.
- Add the COMPILER_HAS_DEPRECATED only if it has a declspec variant
- Don't change the expected build result based on the platform.
- Expect the tests to pass if hidden visibilty is not enabled.
- Test -Werror instead of enabling it per compiler.
- Add some messaging output to make remaining issues findable.
- Perform the -Werror test only once.
- Test for deprecated attribute before declspec.
- Try to error on deprecated on Intel and SunCC.
- Borland can't do deprecated.
- Fixup forgotten part of aed84517c942a4c40f493fcf997cdf6a047349f8
- Disable testing of deprecated macros.
- Don't enable deprecated on HP.
- Don't enable deprecated on old GCC
- Exclude cygwin from the hidden visibility feature.
- Exclude PGI from exports and deprecated.
- Start testing expected values for compiler flags.
- Exclude win32 from hidden visibility checks.
- Comment the test assertion for now
- Test the correct cxx variable.
- Fix the version extraction regex for clang.
- Hopefully add version extraction for Intel.
- Add some settings for non-truncation of test output.
- Fix up the regex command for Intel.
- Test for too-old-intel compilers.
- Possibly fix test on HPUX.
- Possibly fix configuration test on AIX.
- Try to make the macros do almost nothing for Watcom.
- More consistency in the macro options.
- Add missing NO_EXPORT macro variant.
- Look for errors reported by PGI too.
- Quote paths in case there is a space in one of them.
- Disable the tests for Watcom.
- Fix Compiler id variable name.
- Add quotes in case cmake is installed in a prefix with a space.
- Fix the feature of using a specific prefix for macros.
- Add documentation about the prefix and no_deprecated options.
- Remove blank line at the start of the file.
- Don't start a line with a dash(-)
- Fix up verbatim code sections of the dox.
-
-Todd Gamblin (3):
- FindBoost: Call find_package with NO_MODULE first
- Fix XL compilers on non-AIX machines.
- Fixed link bugs in BlueGeneP build.
-
-Changes in CMake 2.8.6-rc1 (since 2.8.5)
---------------------------------------------
-Aaron C. Meadows (1):
- FindSubversion: Invoke svn non-interactively (#12304)
-
-Alex Neundorf (92):
- Add a switch to disable a find_package() call completely
- Add documentation for the CMAKE_DISABLE_FIND_PACKAGE_<Name> switch
- Add a basic test for CMAKE_DISABLE_FIND_PACKAGE_<package>
- Add macros cmake_push/pop_check_state() as discussed on the list.
- Fix copyright notice test
- Add CheckCXXSymbolExists.cmake, so this can be used also for C++
- Minor fix to try_compile() docs (#12333)
- Fix #12342: Add APPEND_STRING option to set_property()
- Extend FeatureSummary: add PURPOSE of package and TYPE
- FeatureSummary.cmake: remove "comment" field
- FeatureSummary.cmake: add INCLUDE_QUIET_PACKAGES keyword
- FeatureSummary.cmake: error out when a REQUIRED package is missing
- FeatureSummary.cmake: only higher TYPEs can override previous TYPEs
- FeatureSummary.cmake: cosmetics
- FeatureSummary.cmake: update documentation
- Remove debug output from CheckSymbolExists
- Don't put files from CMAKE_ROOT into CodeBlocks projects (#12110)
- More PATH_SUFFIXES for finding Postgresql and also search catalog/pg_type.h
- Use FPHSA(), remove unnecessary stuff and don't recommend link_directories()
- Mark the results from find() as advanced
- FindPostgreSQL: fix PATH_SUFFIXES, better output for FPHSA
- Strip trailing whitespace
- FindGIF/FindFreetype.cmake: remove standard search paths from find-calls
- FindGif: add giflib4 as one more name for the library under Windows
- Add basic version check for giflib
- Patch by Campbell Barton: puts definitions into C::B project file
- Remove useless line of code
- Also put builtin include dirs into CodeBlocks project file
- Remove trailing whitespace
- Also search for libxkbfile, XSync and SM include dir
- Provide macro write_basic_config_version_file()
- Add example to documentation
- Add some tests for write_basic_config_version_file()
- Fix copyright notice
- Really fix copyright notice
- Set UNSUITABLE instead of not COMPATIBLE
- Improve documentation for WriteBasicConfigVersionFile.cmake
- Add macros GETTEXT_PROCESS_POT() and GETTEXT_PROCESS_PO_FILES()
- Support REQUIRED in FindGettext.cmake (using FPHSA.cmake)
- Fix #12358: make optionally enabling ASM work again
- Start work on automoc: add empty cmQtAutomoc class
- Start implementing skeleton for automoc in cmake
- Add actual automoc code from automoc
- Remove the need to check for .h/.cxx during buildtime
- Add the cmake module required currently for automoc
- Add AUTOMOC to the add_library() command
- Fix line lengths
- Move code for parsing a cpp-file from the big loop to separate function
- Initialize verbose based onb the env.var.
- Color output when running moc
- Add the generated automoc.cpp file to the cleaned files
- Use cout instead of printf()
- Remove trailing whitespace
- Refactor SetupAutomocTarget() so it can be run after creating the target
- Remove trailing whitespace
- Move automoc processing from add_executable/library to cmGlobalGenerator
- Nicer progress message for the automoc target
- Add a test for automoc
- Add documentation for AUTOMOC, add initialization via CMAKE_AUTOMOC
- Fix logic which decides when to execute automoc test
- Automoc.cmake is not needed anymore
- Fix build: non-void function must return a value
- Fix warnings
- Fix bootstrap test with automoc
- Only enable the automoc test after checking that Qt4 works
- Fix build: use std::ios::out|ios::trunc instead of std::ios_base::out
- Silence warning in automoc: use long instead of int
- Fix automoc with VS builds: apply patch from Bill
- Make clLocalGenerator::GetTargetFlags() public
- Add find-package mode, which does nothing yet
- Implement find-package mode of cmake
- Replace cmake::GetScriptMode() with GetWorkingMode()
- Fix copyright notice in new CMakeFindPackageMode.cmake
- Better support for lib64 and Debian multiarch
- Use the file-utility to test for 64bit if there is no /usr/lib64
- Add a cmake.m4 for using cmake in autoconf projects instead of pkgconfig
- Improve documentation for --find-package mode
- Add a test for the new --find-package mode
- Only run the test if we are using a makefile generator under UNIX
- The makefile for the test was kindof wrong
- Fix test on OpenBSD with BSD make
- Rename helper macros print_compile_flags() to set_compile_flags_var()
- Dont check for -isysroot and -mmacosx-version on OSX in --find-package mode
- Disable any STATUS output in --find-package mode
- Much improved test, should now be executed on all UNIXes
- Make the --find-package test harder
- Make the test harder by always having a space in the include dirs
- Only enable the test when using GNU make
- Fix line length
- Use $(CXXFLAGS) and $(LDFLAGS) in the --find-package test Makefile
- Require the current cmake version in --find-package mode
- Fix --find-package mode on Cygwin, where enable_language(RC) is called
-
-Alexey Ozeritsky (5):
- fixed: search of acml libraries
- gotoblas supported
- ACML-GPU supported
- ACML-GPU supportede
- fixed: search of ATLAS library for C/C++-only projects
-
-Andreas Schneider (6):
- FindJava: Find missing java development executables.
- Modules: Added CMake Java support.
- Tests: Java tests should test UseJava.cmake
- Tests: Check for the new Java exeutable variables.
- Java: Use set_property/get_property for target variables.
- Java: Fix documentation format and indentation
-
-Arnaud Gelas (1):
- Search for the ASPELL executable
-
-Bill Hoffman (5):
- Only pay for unused variable checking if it is on.
- Initial support for Intel Fortran VS2010.
- Fix custom commands in VS2010 Fortran projects using CFG_INTDIR and test.
- Use MSBuild when devenv is not around, since VCExpress seems broken.
- Fix for bug #12413, nmake did not handle targets with + in the name.
-
-Brad King (13):
- MinGW: Remove old workaround and use native echo (#12283)
- Document caveat of custom commands in multiple targets (#12311)
- cmSystemTools: Remove trailing whitespace
- RunSingleCommand: Fix indentation
- RunSingleCommand: Avoid assignment in condition
- Documentation: WIN32 not defined on Cygwin (#12334)
- KWSys: Simplify SystemTools::GetTime implementation (#12261)
- KWSys: Avoid conversion warning in SystemTools::GetTime
- KWSys: Fix using long long and __int64 with hash_(set|map)
- KWSys: __int64 and long long may be same type in specialization
- XL: Fix old VisualAge branding of Fortran compiler
- Do not crash when an imported target depends on a missing target
- Fix CHECK_(C|CXX)_COMPILER_FLAG for Clang (#12394)
-
-Clinton Stimpson (5):
- Add -DQT_NO_DEBUG if no build type is specified so Qt plugins will work.
- Add qt4/QtCore to help find Qt headers when cross-compiling.
- Qt4: Fix reference of undefined variable when detecting frameworks on Mac OS X
- Remove C compiler requirement from FindQt4.cmake
- CPack/NSIS: Fix reinstall and multiple install issues when using components.
-
-David Cole (26):
- Begin post-2.8.5 development
- Fix Architecture test to work with Xcode 4
- Fix BuildDepends test to work with Xcode 4
- Base architecture choice logic on Xcode version
- Use correct default multiple architecture values in test
- Add use of EFFECTIVE_PLATFORM_NAME to generated Xcode projects.
- Correct KWStyle line too long error
- Add fail regex to detect supported warning flags correctly.
- Add support for Visual Studio project-specific globals (#8707)
- Fix machine-specific UpdateGIT test failures
- Ensure libgmp-10.dll is in the PATH for CMakeTestAllGenerators
- Watcom: Add -c flag to wlib calls (#12245)
- Add Watcom support to InstallRequiredSystemLibraries (#11866)
- Watcom: Use correct args for execute_process call (#11866)
- CTest: print failed tests in index order (#11746)
- Fix line too long style violation
- Documentation: Fix comments in the source code (#10941)
- Add more find_path locations for DCMTK header files (#12323)
- VS9: Add include_directories to midl command lines
- KWSys: Remove translation path for "/tmp_mnt/" (#10595)
- VS10: Avoid unnecessary rebuilds for custom commands
- QtAutomoc test: Pass QT_QMAKE_EXECUTABLE
- QtAutomoc: Eliminate compiler warning
- CheckSymbolExists: Use IMMEDIATE flag for configure_file (#11333)
- Xcode: Suppress same-old warning again.
- Xcode: Save object id values in CMakeCache.txt (#11690)
-
-Johan Björk (5):
- Xcode: Remove PREBINDING attribute for Xcode 4 and above
- RunSingleCommand: Replace verbose boolean with enum
- RunSingleCommand: Add a OUTPUT_NORMAL flag.
- Xcode: Quote ',' in Xcode string values (#12259)
- Xcode: Rearrange CMakeReRun to enable parallel builds
-
-Matej Hribernik (2):
- VS: Factor Find64BitTools out of Win64 generator to parent
- Add VisualStudio 9 and 10 generators for Itanium platform
-
-Modestas Vainius (1):
- multiarch: Treat lib/<arch> as implicit link dir (#12326)
-
-Oliver Buchtala (3):
- Java: Create java_class_filelist only if it does't exist.
- Java: Added some dependency magic to avoid recompilations.
- Java: Create correct jar archive dependencies.
-
-Rolf Eike Beer (2):
- remove extra output message from FindJava.cmake
- FindThreads: Try pthreads with no special option first (#11333)
-
-Steven Velez (1):
- VS10: Add SCC support
-
-Todd Gamblin (2):
- Try regular compiler when no MPI compiler.
- Fix issues with removing try_compile input file.
-
-Will Dicharry (1):
- Added HDF5 high level Fortran bindings to available components.
-
-Changes in CMake 2.8.5 (since 2.8.5-rc3)
---------------------------------------------
-Brad King (1):
- Revert "Add a new function SWIG_GET_WRAPPER_DEPENDENCIES to UseSWIG.cmake"
- (this revert means that issue #4147 has been re-opened)
-
-Changes in CMake 2.8.5-rc3 (since 2.8.5-rc2)
---------------------------------------------
-Bill Hoffman (4):
- Use devenv instead of msbuild for vs2010.
- Revert "With very long file names, VS 2010 was unable to compile files."
- Use relative paths for custom command inputs.
- Look for VCExpress as a possible build tool as well as devenv.
-
-Brad King (3):
- KWSys: Recognize color TERM=screen-256color-bce (#12287)
- find_library: Use lib->lib64 conversion in CXX-only projects (#12247,#12248)
- libarchive: Install COPYING with CMake documentation
-
-Christoph Höger (1):
- FindJNI: Search in Fedora arch-specific JVM location (#12276)
-
-Julien Malik (1):
- FindSWIG: Use NAMES in find_program directives (#12280)
-
-Modestas Vainius (1):
- Documentation: Fix spelling / formatting errors (#12287)
-
-Philip Lowman (3):
- FindBoost: Fixes #12188
- FindBoost: Also search for 1.46.1
- Detect VS 2010 SP1, faster and more robust detection
-
-Changes in CMake 2.8.5-rc2 (since 2.8.5-rc1)
---------------------------------------------
-Bill Hoffman (6):
- Fix a memory leak.
- Fix for bug#10798. VS10 did not append -I flags with COMPILE_FLAGS prop.
- Append and do not clobber CMAKE_CXX_FLAGS in the test.
- Use bin tree for inclues to avoid -I with spaces in the path.
- One more try. Use full path by default, and relative on broken compilers.
- Fix for bug #11927, external project git clone step always runs vs10.
-
-Brad King (9):
- XL: Place Fortran modules with -qmoddir= flag (#12246)
- Teach file(DOWNLOAD|UPLOAD) to timeout after inactivity
- Xcode: Fix parallel build depends with universal binaries (#11844)
- Fix style errors added by parent and grandparent
- Use cascading-if for per-config test and install code
- CTest: Report tests not run due to unknown configuration
- GNU: Fix CMAKE_INCLUDE_SYSTEM_FLAG_<lang> value (#12258)
- Teach find_(library|package) about Linux multiarch (#12037)
- Test find_package multiarch support (#12037)
-
-Clinton Stimpson (11):
- BundleUtilities: Work w/ non .app exes on Mac (#12034)
- BundleUtilities: Fix regex to extract dependents from ldd (#12034)
- BundleUtilities: Fix test when using xcode (#12034)
- BundleUtilities: Fix issues with custom target DEPENDS in test (#12034)
- BundleUtilities: Disable running test on Windows unless using MSVC.
- BundleUtilities: Run test on Windows if either MSVC or dumpbin was found.
- BundleUtilities: Print reason for not loading module.so
- BundleUtilities: Add rpath to loadable modules in test.
- Revert "BundleUtilities: Run test on Windows if either MSVC or dumpbin was found."
- Qt4: complete module dependencies in UseQt4.cmake
- Add imported targets support for frameworks on Mac.
-
-Daniel R. Gomez (1):
- Fix plugin API for gcc 2.9-aix51-020209 (#12233)
-
-David Cole (3):
- BundleUtilities: Avoid a cryptic and unhelpful error message
- BundleUtilities: Avoid test on Watcom dashboards (#12034)
- CMake: eliminate use of cvs in the Release scripts
-
-Eric NOULARD (2):
- CPackRPM: Enhance documentation
- Add some more Specs file tag handling.
-
-Johan Björk (3):
- CMake: Move tokenize to cmSystemTools
- Xcode: Support multiple level nesting of XCode folders (#10039)
- XCode: Support target folders on XCode.
-
-Modestas Vainius (1):
- multiarch: Set CMAKE_LIBRARY_ARCHITECTURE_REGEX for Linux|Hurd|kFreeBSD
-
-Philip Lowman (3):
- FindProtobuf: Better MSVC support, Searching for protobuf lite
- Fix , to - in Copyright message so it passes CMake.ModuleNotices test
- 10997: PROTOBUF_GENERATE_CPP now supports proto files outside current dir
-
-Rolf Eike Beer (1):
- CMake: Update documentation of STRING(SUBSTRING) for length -1 (#10740)
-
-Sean McBride (1):
- Fix XCode -> Xcode typos, notably in man page (#12231)
-
-Tim Gallagher (1):
- Modified the FindHDF5.cmake file to locate the Fortran bindings.
-
-Will Dicharry (7):
- HDF5 high level library is a find COMPONENT now.
- Add logic for CMake built HDF5 install.
- Use CMAKE_CURRENT_LIST_DIR to locate FindPackageHandleStandardArgs.
- Use HDF5_FOUND to control autoconf and CMake built FindHDF5.
- Fix for bug 11752, mixed debug and release libraries.
- FindHDF5 ensures good link lines when libraries are duplicated.
- Remove unnecessary mark_as_advanced from FindHDF5.
-
-Zach Mullen (3):
- Dynamic analysis test output should not be compressed.
- We will actually compress memcheck output if the server supports it.
- Fix type conversion warning
-
-Changes in CMake 2.8.5-rc1 (since 2.8.4)
-----------------------------------------
-Alex Neundorf (33):
- Rework the way assembler is handled, use the C/CXX compiler by default
- Make it possible to exlude external libs from dot files
- GRAPHVIZ_IGNORE_TARGETS is now a list of regular expressions
- Also generate dependers-graphviz files.
- Fix XML escaping for the project() name in Eclipse projects (#11658)
- Fix XML escaping for target names in Eclipse project files (#11658)
- Add XML escaping for directory name in Eclipse projects (#11658)
- Eclipse projects: created one linked resource for each subproject
- Also add the SOURCES from add_custom_target() to CodeBlocks projects (#11736)
- Add ASM support for the Intel compiler
- Actually use CMAKE_ASM_COMPILER for asm, instead of CMAKE_C_COMPILER
- Add support for ASM for the SunPro compiler
- Add suport for ASM for the IBM XL compiler
- Add support for ASm for the HP compiler.
- Set the HP asm file suffix
- Change the default rules so they fit better to the new ASM handling
- Fix the default CMAKE_ASM_COMPILE_OBJECT, make XL-ASM use it
- Add assemble- and preprocess commands for HP
- The Assembler test now tests ASM for GNU, Intel, HP, XL and SunPro
- Use a regexp instead a lot of ORs for checking the compiler ID
- Only try assembler support for Makefile-based generators
- Fix bad comparison in the detect assembler-code
- It's ELSEIF(), not ELSIF()
- Add temporary debug output for compiler ID detection for ASM
- Add more regex for gcc, always print the ASM compiler ID
- Add support for the Intel compiler used for ASM under Windows
- -use CMAKE_C_FLAGS when generating the assembler file
- -only enable the asm test for the Intel compiler if we are under UNIX
- Remove trailing whitespace
- Make use_mangled_mesa() available in cmake script mode (#11926)
- Fix parsing include dirs and builtin macros for CXX-only projects
- Don't skip the last builtin include dir for the Eclipse project file
- -fix VirtualFolders in Eclipse under Windows
-
-Alexey Ozeritsky (1):
- ACML search improvement
-
-Andreas Schneider (6):
- Modules: Added CheckPrototypeDefinition module.
- Tests: Added test for check_prototype_definition.
- FindOpenSSL: Added support for pkg-config.
- FindOpenSSL: We should only use hints to find OpenSSL.
- FindOpenSSL: Fixed crypto und ssl variable names.
- FindOpenSSL: Use find_package_handle_standard_args for version check.
-
-Bill Hoffman (2):
- With very long file names, VS 2010 was unable to compile files.
- Fix for bug where VS2010 did not use .obj files as part of the build.
-
-Brad King (94):
- Reject directory names containing '=' (#11689)
- FindQt4: Include builtin FindPackageHandleStandardArgs directly
- Handle trailing slashes on add_custom_command DEPENDS
- Handle relative WORKING_DIRECTORY in add_custom_(command|target)
- Pass -o after -c for Fortran to avoid mpif77 ordering bug
- Add link flag table entries for VS 7,8,9
- VS: Create a Fortran DLL's import library directory
- Fix linker flag initialization from LDFLAGS (#11840)
- ccmake: Remove extra parens around comparison
- Avoid direct use of std::stringstream
- Honor module .def files with MinGW tools (#9997)
- CTest: Update Git submodules with --recursive
- libarchive: Remove unused build/windows directory (#11885)
- Pass .def files directly to MinGW tools (#9997)
- Fix Fortran test .def file symbol mangling
- Require at least CMake 2.6.3 to build current CMake
- GNUInstallDirs: Simplify and clarify documentation
- KWSys: Require at least CMake 2.6.3
- Remove unused CMAKE_BACKWARDS_COMPATIBILITY mark
- Factor AIX and XL compiler flags into common module
- Move RPATH flags to AIX per-compiler information files
- Initialize ASM rpath flags for executables with those for shared libs
- Add ASM platform information for XL compiler on AIX
- Factor HP compiler flags into per-platform/per-compiler files
- Add ASM platform information for HP compiler on HP
- Add target property LINK_SEARCH_START_STATIC to aid static linking
- Test static linking with LINK_SEARCH_START_STATIC
- Fix Assembler test to parse C flags string before using
- Teach Assembler test to generate main.s at build time
- Do not bother enabling C++ in Assembler test
- The link interface of MODULE libraries is empty (#11945)
- CTest: Do not fail with submodules and Git < 1.6.5.0
- Remove trailing whitespace
- Add parens in cmTarget::ComputeLinkInterface logic
- Validate custom command arguments (#11963)
- Factor old-style -D flags out from -I flag generation
- FindMPI: Fix documentation formatting
- Generate target-wide flags before individual build rules
- Optionally pass include directories with response files
- Pass include directories with response files to GNU on Windows
- Enable Java test more carefully on Apple
- Disable Java test with Xcode generator
- Allow '.' in target names in generator expressions (#12002)
- GNUInstallDirs: Propagate DATAROOTDIR changes to dependent defaults
- KWSys: Do not trust EXECUTABLE_OUTPUT_PATH for ProcessFwd9x encoding
- Refine unused cache variable warning
- Fix unused cache warning after multiple configure iterations
- FortranCInterface: Fix mangling detection with Cray Fortran >= 7.3.2
- Fix typo in include_directories documentation (#12020)
- KWSys: Recognize rxvt-unicode-256color terminal (#12013)
- Normalize slashes of add_custom_(command|target) DEPENDS (#11973)
- COMP: Fix build against non-standard outside libarchive
- Modules: Add comment and copyright notice validation to readme.txt
- cmArchiveWrite: Clear xattr and acl from entries (#11958)
- find_package: Forward component list for recursive calls in modules
- XL: Set C++ and Fortran flags consistently with C
- XL: Consolidate compiler flag information
- XL: Avoid copying archives into shared libraries that link them
- VS10: Fix working directory of consecutive custom commands (#11938)
- Fix working drive of make rules on Windows
- Change working drive only in MinGW Makefiles
- VS: Use setlocal/endlocal only in VS 10 custom commands
- VS10: Fix exit code of custom commands with setlocal/endlocal (#11938)
- KWSys: Remove unused CheckCXXSourceRuns cmake module
- find_package: Rename implementation of user package registry
- find_package: Cleanup user package registry less aggressively
- find_package: Document user package registry locations
- find_package: Search a "system package registry"
- find_package: Check both 32-bit and 64-bit registry views
- find_package: Test system package registry when possible
- find_package: Fix system package registry test path conversion
- FindITK: Use passthru find_package config mode for messages
- OpenBSD: Use 'arch -s' for host processor (#12143)
- Fix case typo in CMAKE_BUILD_TYPE docs (#12148)
- KWSys: Fix leaked FILE in EncodeExecutable error case
- ENH: Fix Intel 12 plugin project generation for VS < 10
- Revert "Honor RULE_MESSAGES property for build target messages" (#12190)
- Fix signed/unsigned comparison in EscapeJSON
- Fix run_compile_commands build on Apple GCC 3.3
- Make std::map usage more portable in language=>flags/defines maps
- Provide std::map<>::at for use in run_compile_commands
- run_compile_commands: Avoid shadow in std::map<>::at workaround
- Improve string(RANDOM) default seed
- run_compile_commands: Avoid extra stl vector conversion
- VS 6: Define _WIN32_WINNT to load wincrypt.h correctly
- run_compile_commands: Cast istream::get() result to char
- Fix CompileCommandOutput test for Make tools not supporting spaces
- Explicitly cast time value in cmSystemTools::RandomSeed
- Fix CompileCommandOutput test build on Windows
- Add Absoft Fortran compiler id and basic flags
- Absoft: Detect implicit link libraries on Linux and Mac
- Absoft: Enable FortranCInterface check in Fortran test
- Document status of output_required_files command (#12214)
- Fix forced-seed argument type in string(RANDOM)
-
-Clement Creusot (2):
- Add new module Armadillo
- Corrected copyright format in FindArmadillo.cmake
-
-Clinton Stimpson (8):
- Change to use fphsa to check required variables and version.
- Fix grouping bug where "Ungrouped Entries" showed up as a child.
- When checking find_package() components, special case qtmain.
- Fix issues with find_path() for QtCore include dir on Mac. Fixes 11868.
- Fix regression in 43cb9b8.
- Speed up creation of parameters file for moc custom command.
- Combine component packaging methods into an enum.
- Add component support to DragNDrop generator.
-
-David Cole (34):
- ExternalProject Test: Increase test timeout value
- CFBundle Test: Add PATHS for finding Rez (#11295)
- CTest: Mark DART_TESTING_TIMEOUT as advanced (#10150)
- Xcode: Allow override of CMAKE_CONFIGURATION_TYPES (#8914)
- Tests: Eliminate unnecessary files and variables.
- VS9: Map enable/disable PREfast flags (#10638)
- Strip trailing space from xcode-select output (#10723)
- CTest: Add alias for make test target (#4564)
- Add CMAKE_SCRIPT_MODE_FILE variable (#2828)
- Add CMAKE_ARGC and CMAKE_ARGV0..N-1 variables (#2828)
- Fix KWStyle line-too-long complaint (#2828)
- Documentation: Sync two differing copies of -E docs (#10446)
- Clarify list subcommand documentation (#8154)
- VS2010: Fixed GenerateManifest flag (#10704)
- VS: Only use /MANIFEST if hasManifest is true (#11216)
- Make file DOWNLOAD less noisy (#11761)
- Begin post-2.8.4 development
- Use stable_sort to preserve test order (#11877)
- Implement file(UPLOAD (#11286)
- Fix KWStyle line too long error (#11286)
- ExternalProject: Extract file names from more urls
- InstallRequiredSystemLibraries: Read reg values with get_filename_component
- Add correct module notice header.
- If getconf returns empty output, try cpuinfo. (#11302)
- Add ProcessorCount support for QNX via pidin. (#11302)
- Compare ProcessorCount to SystemInformation count. (#11302)
- ProcessorCount test: more output, do not fail. (#11302)
- ProcessorCount: Add support for remaining platforms (#11302)
- ProcessorCount: Test fails if count is 0 (#11302)
- ProcessorCount: Use ERROR_QUIET with execute_process (#11302)
- ExternalProject: Add SVN_TRUST_CERT argument
- CMake: Clarify the --debug-trycompile help text
- ExternalProject: Always use --non-interactive with svn
- VS10: Write header-only files in correct xml element (#11925)
-
-Eric NOULARD (25):
- CPackRPM honors all the different ways of packaging components
- CPackRPM fix IRIX compiler warning (variable never used)
- CPack remove "-ALL" suffix for ALL-IN-ONE packages
- CPack Authorize DISPLAY_NAME usage in component package
- CPack fix KWStyle warning
- CPack remove previously CPack generated files (if any) before running CPack
- CPackRPM Replace space in some CPACK_ vars (Fix bug 9932)
- CPackRPM activate CPackRPM test on Linux systems where rpmbuild is found
- CPackArchive package all components specified in CPACK_COMPONENTS_ALL
- CPack more robust way to collect files belonging to a component
- CPackRPM do not run test if build dir contains space
- CPack fix compile error on VS70 and avoid KWStyle warnings
- CPackRPM add more trace output in order to help failing diagnostics
- CPackRPM even more trace in debug mode or in case of failure
- CPackRPM non matching ENDIF
- CPack try to please SUSE 64 bits and install lib in lib64 and not lib.
- Remove debbuging typo
- CPack fix CPackDeb crash when CPackDeb.cmake ends with a FATAL_ERROR
- CPack fix #11930 and simplifies component packaging options
- Fix #11964 Handle lib64 library on Linux
- Fix KWStyle warnings
- Split CPack.cmake in more manageable parts
- Fix KWStyle warnings
- CPackRPM Fix #12096: handle absolute install path with component install
- CPack make RPM work on AIX. fix #0012183 merge patch from Pasi Valminen
-
-James Bigler (1):
- Add FloatingPointModel to the list of known VS7 generator flags.
-
-Johan Björk (1):
- XCode: Also qoute [] as needed to set build-configurations.
-
-Kovarththanan Rajaratnam (1):
- Documentation: document platform specific -E commands (#10446)
-
-M. Konrad (1):
- CPackDeb add Component Support to DEB generator fix #0011655
-
-Manuel Klimek (6):
- refactor flags and defines
- cache flags and defines
- implement cxx command output
- make compile command output optional
- Adds a test for the compile command line output.
- Only offer the compile command output feature on unix systems
-
-Marco Craveiro (1):
- CTest: Use the gcov --preserve-paths flag (#11717)
-
-Markus Rathgeb (1):
- When cross compiling, don't double-root paths when using find_*.
-
-Martin Konrad (2):
- CPackDeb: Fix #12006 broken package names
- CPackDeb: Handle dirs for CONTROL_EXTRA correctly when packaging components
-
-Mathieu Malaterre (8):
- This commit fixes bug #0010316
- Add a new function SWIG_GET_WRAPPER_DEPENDENCIES to UseSWIG.cmake
- Add support for Java on HP
- Add support for java on fedora
- UseSWIG.cmake does not expand $(OutDir)
- Add support for new swig 2.0 application
- UseSWIG.cmake did not support multiple modules and parallel builds
- Add support for FindJava on HP-UX and alpha
-
-Michael Wild (1):
- Add module ProcessorCount.cmake (#11302)
-
-Modestas Vainius (1):
- Documentation: Fix a few typos (#11883)
-
-Nikita Krupen'ko (1):
- Add GNUInstallDirs module to define GNU layout (#3976)
-
-Philip Lowman (1):
- VS7/8/9: Map whole program optimization flags (#10263)
-
-Richard Bateman (1):
- Add support for CFBundle targets on the Mac (#11295)
-
-Rolf Eike Beer (2):
- CTest: catch warning output of Apache Maven
- FindZLIB: print library instead of include directory
-
-Sean McBride (1):
- Removed most usage of Carbon in favour of CoreFoundation
-
-Sebastian Herbst (2):
- VS8/9: Add flag map entries for /Zc:wchar_t (#10397)
- VS7/8/9: Add flag map for string pooling option (#10397)
-
-Tim Hütz (1):
- Add a string(FIND) sub-command (#11795)
-
-Todd Gamblin (2):
- FindMPI: Handle multiple languages
- Added backward compatibility for input as well as output vars.
-
-Wesley Turner (1):
- Ensure executable files have executable permissions.
-
-Zach Mullen (5):
- Implement ctest_upload command
- Change 'Files' tag to 'Upload' in Upload.xml
- Don't tar/gz ctest_upload() files
- Add the FILES keyword to ctest_upload command
- cmCTestUploadCommand::CheckArgumentKeyword should return false if not FILES
-
-Changes in CMake 2.8.4 (since 2.8.4-rc2)
-----------------------------------------
-Alex Neundorf (1):
- Fix crash in GraphVizWriter when GRAPHVIZ_TARGET_IGNORE_REGEX is used
-
-Andreas Schneider (1):
- FindPerlLibs: Add notice of copyright
-
-Brad King (3):
- libarchive: Define major/minor/makedev only where needed (#11648)
- libarchive: Use OpenSSL only if CMAKE_USE_OPENSSL (#11815)
- Fix documentation of MSVC_VERSION (#11833)
-
-David Cole (1):
- Silence the may be used uninitialized warnings: initialize stuff.
-
-Eric NOULARD (2):
- CPack Tests the different ways of packaging components
- Avoid foreach IN LISTS syntax which is not supported by CMake 2.6
-
-Changes in CMake 2.8.4-rc2 (since 2.8.4-rc1)
---------------------------------------------
-Alex Neundorf (3):
- Make cmake build again with cmake < 2.6.3
- Strip trailing whitespace.
- Fix parsing of compiler name with a version number
-
-Ben Boeckel (86):
- ... 86 commit messages summarized as:
- Fix ADD_TEST regression when WORKING_DIRECTORY not given
- Add new "strict-mode" CMake variable checking
- Activate / avoid using new command line arguments:
- --warn-uninitialized
- --warn-unused-vars
- --no-warn-unused-cli
- --check-system-vars
-
-Bill Hoffman (3):
- For macros make sure the FilePath points to a valid pointer in the args.
- Add a warning when variables are used uninitialized.
- Make --strict-mode option, and integrate with cmake-gui
-
-Brad King (34):
- bootstrap: Granular system library selection (#11431)
- bootstrap: Clarify --init flag documentation (#11431)
- bootstrap: --verbose implies verbose Makefiles (#11708)
- Combine duplicate COMPILE_DEFINITIONS disclaimer
- Document COMPILE_DEFINITIONS known limitations (#11660, #11712)
- Document try_compile behavior more clearly (#11688)
- Document Check(C|CXX)SourceCompiles behavior more clearly (#11688)
- Fix get_(cmake|test)_property documentation (#11703)
- Reference get_property() from old get_*_property() commands
- Replace misleading example in the if() documentation (#10773)
- Clarify auto-dereference cases in if() command (#11701)
- Document CheckFunctionExists more clearly (#10044)
- Document CheckSymbolExists more clearly (#11685)
- Update CheckSymbolExists copyright year
- Report directory with missing source file (#11677)
- Test that missing source mentions directory (#11677)
- Teach Simple_Mingw_Linux2Win test to use windres
- Disable SubDirSpaces parens with GNU Make 3.82 (#11654)
- libarchive: Fix major() check for LSB 4.0 (#11648)
- Xcode: Make generation depend on all input directories
- Recognize SCO UnixWare C/C++ compilers (#11700)
- Factor SCO compiler info out of platform file (#11700)
- Honor CMAKE_TRY_COMPILE_CONFIGURATION in Makefile generators (#10809)
- Document CMAKE_TRY_COMPILE_CONFIGURATION variable
- Honor VS_SCC_* properties in Fortran targets (#10237)
- Normalize slashes in scanned #include lines (#10281)
- Improve try_compile and try_run error messages
- Use shortest extension to verify try_compile language (#11731)
- Modules: Include builtin FindPackageHandleStandardArgs directly
- Fix relative CMAKE_USER_MAKE_RULES_OVERRIDE (#11725)
- Clarify CMAKE_USER_MAKE_RULES_OVERRIDE documentation (#11724)
- Always place try_compile executables predictably (#11724)
- try_compile: Allow only languages loaded in caller (#11469)
- Fix ArgumentExpansion test expected results
-
-Clinton Stimpson (1):
- Replace exec_program with execute_process for qmake queries.
-
-David Cole (16):
- Update script with new machine name
- VS10: Fix problems with InstallRequiredSystemLibraries.
- Add CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS variable
- Add CPACK_NSIS_INSTALL_ROOT for CMake's own installer (#9148)
- Xcode: Disable implicit make rules in custom rules makefiles.
- Add freeglut as library name (#10031)
- Add new names for PNG and ZLIB libraries
- Avoid exceptions when ccmake terminal window is too small (#11668)
- VS10: Load projects with obj "source" files (#11147)
- VS10: Enable using devenv as CMAKE_MAKE_PROGRAM (#11459)
- Xcode: Fix crash: avoid strlen call on NULL char *
- CTestTest2: Avoid running purify unless requested
- VS10: Escape double quote chars in defines for rc files (#11695)
- Fix line too long KWStyle issue (#11695)
- Avoid space in rc /D values for VS6 and Cygwin (#11695)
- VSResource: Avoid windres /D with quoted spaces (#11695)
-
-Marcus D. Hanwell (1):
- Bug #11715 - generate header in the build tree.
-
-Nicolas Despres (1):
- bootstrap: Add --enable-ccache option (#11707)
-
-Changes in CMake 2.8.4-rc1 (since 2.8.3)
-----------------------------------------
-Alex Neundorf (32):
- Add support for nasm assembler, patch by Peter Collingbourne (see #10069)
- Improve misleading comments.
- Add missing copyright headers
- We already have 2010, fix copyright year.
- Make FindBISON work properly with non-C locales (#11326)
- Add support for yasm, a nasm compatible assembler
- Use CMAKE_ASM_NASM_FLAGS for nasm instead of FLAGS
- Remove trailing whitespace and minor formatting changes for the dot-code
- Move the code for collecting targets and libraries into separate functions
- Properly insert all targets, also those which don't link to anything.
- Generate separate dot files for each target, and a big one with everything.
- Move the code for generating dot-files into separate class cmGraphVizWriter
- Fix #11421: FindQt3.cmake doesn't honor the REQUIRED keyword
- Remove trailing whitespace
- Don't enforce VERBOSE makefiles for the CodeBlocks generator
- Remove the "early alpha stage" comments about Eclipse and C::B
- Don't disable colors in the CodeBlocks generator and minor cleanup.
- Some more fixes for nasm support, from Etienne (#10069)
- Enable/disable generating graphs depending on the target type
- Use std::cout instead of fprintf
- Collect targets and libs on demand instead of in the ctor
- Exclude targets from the graphviz file based on a regex
- Include CMakeDetermineCompilerId in CMakeDetermineASMCompiler.cmake (#11467)
- Fix typos in the doc
- Add cache var CMAKE_ECLIPSE_MAKE_ARGUMENTS when using the Eclipse generator
- Add ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT as a ADVANCED cache variable (#9631)
- Fix crash in Eclipse generator with empty project (#11616)
- Fix indentation in cmPolicies::ApplyPolicyVersion()
- Remove trailing whitespace
- Prefer files from CMAKE_ROOT when including from CMAKE_ROOT
- Improve documentation and messages for the new CMP0017
- Remove usage of CMAKE_CURRENT_LIST_DIR now that we have CMP0017
-
-Alexey Ozeritsky (5):
- FindBLAS works in C/C++ projects without Fortran
- ACML find fixes (issue 0011219)
- find ACML fixes
- fix for Fortran-only projects
- FindLAPACK works with C/C++ only projects (issue 0009976)
-
-Andrius Å tikonas (1):
- Modules: Fix spelling 'becase' -> 'because'.
-
-Ben Boeckel (25):
- Fix parsing of cache variables without a type
- Use cmCacheManager to load entries from the cache
- Support manual cache entries
- Condense parsing of cache entries
- Use FPHSA in FindOpenGL
- Ignore strerror_r since CMake isn't threaded
- Use _POLL_EMUL_H_ instead of HAVE_POLL_FINE
- Rename WorkingDirectory test
- Add WORKING_DIRECTORY argument to add_test
- Add tests for WORKING_DIRECTORY arg to add_test
- Rename the project to match the test
- Fix header includes for C++ and Visual Studio
- Add ctype.h include for toupper()
- Flip slashes around on Windows
- Use --><-- markers to denote the path
- Simplify the _default_cwd derivation
- Only test the default cwd with Makefiles
- Group adding tests with its properties
- Fully specify the path to old-signature add_test
- Use iostream to make Borland happy
- Check for poll when looking for _POLL_EMUL_H_
- Toss out strerror_r macros
- Fix missed _POLL_EMUL_H_ and HAVE_POLL combo
- Make TestsWorkingDirectory test a C file
- Pass the expected value as the first argument
-
-Bill Hoffman (17):
- Fixes for the OSF operating system build.
- Add a fix for the inline keyword on the osf os.
- Add a "Contract" test for VTK. The test downloads and builds VTK.
- Fix contract test so it is not hard coded to the vtk542 test.
- Fix incremental linking for VS2010 with nmake or make.
- Change cpack run and verify script to work with multi-config generators.
- Fix vs2010 project generation error when HEADER_FILE_ONLY is set.
- Add more documentation for LANGUAGE property.
- Add flags to resource builds on vs 2010 with a test.
- Disable incremental testing for this test, it crashes vs9 linker.
- Only run resource test for MSVC compilers.
- Add support for windows resources with mingw/msys.
- Add support for windres to cygwin.
- Add testing for windows resources for mingw/msys/cygwin and remove for watcom.
- Enable resource building with the intel compiler on windows.
- Add support for source files in custom targets for VS 10 (Bug#11330).
- Change the nightly tests to build from the nightly branch and not next.
-
-Brad King (90):
- Store direct dependencies in solutions for VS >= 8
- BUG: Fix compiler flag test for non-English MSVC (#11336)
- Document custom command behavior without DEPENDS (#11407)
- Consolidate duplicate link rule make dependency code
- Define LINK_DEPENDS target property (#11406)
- KWSys: Teach SystemInformation about WinXP Pro and Win7
- Fix Intel .vfproj SubSystem attribute values
- Set Intel .vfproj RuntimeLibrary attribute
- Create Fortran info variables for .mod behavior
- Teach CMake about Cray C, C++, and Fortran compilers
- Speedup find_* commands (#11412)
- Prefer non-empty prefixes when matching lib names (#11468)
- Record edge type in global dependency graph
- Use modern global dependency graph for VS < 8 deps
- Allow add_dependencies() on imported targets (#10395)
- Pass Mac linker flag through PGI compiler using "-Wl,"
- Modernize FindITK module (#11494)
- Fix find_* argument parsing crash (#11513)
- Skip VS <= 7.1 dependency analysis for VS >= 8
- Enable 64-bit tools with VS 2010 Express (#9981, #10722)
- KWSys: Associate installed library with an EXPORT
- Fix try_compile RemoveFile anti-virus loop (#11503)
- Fix Fortran .mod timestamps with Cray compiler
- Make Fortran $obj.provides.build targets not .PHONY
- Honor custom command dependencies on imported targets (#10395)
- Improve signature of cmLocalGenerator::GetRealDependency
- Skip file-level dependencies on custom targets (#11332)
- Simplify VS generator ConstructScript interface
- Factor out common custom command generator
- Remove cmLocalGenerator::GetRealLocation
- KWSys: Remove realpath from SystemTools::GetPath (#10335)
- Fix parallel "make install" of CMake itself
- CTest: Fix ctest_sleep documentation (#11554)
- Fix soname in cross-compiled targets with Mac host (#11547)
- Detect object files in implicit link information
- Allow Fortran platform files to set empty values
- Recognize the NAG Fortran compiler
- Add NAG Fortran compiler information files
- FortranCInterface: Recognize NAG Fortran module symbols
- Remove unused variable "rootdir" in VS generators
- Avoid msbuild idiosyncrasy that builds multiple configs (#11594)
- Remove unused parameter "root" in some VS generator methods
- Fix dependency tracing of INSTALL and PACKAGE (#11598)
- Remove unused GLOBAL_TARGET generation code
- KWSys: Use EXPORT name only if installing library
- Write full version into try_compile CMakeLists
- KWSys: Do not mangle UNC paths in ConvertToUnixOutputPath (#10206)
- Normalize add_custom_command OUTPUT names (#10485)
- Make link rule depend on ".def" file (#11014)
- Document target_link_libraries target scope (#11058)
- Record backtrace in cmCustomCommand
- Factor generator expression docs out of add_test
- Factor per-config sample targets out of 'Testing' test
- Optionally suppress errors in cmGeneratorExpression
- Record set of targets used in cmGeneratorExpression
- Introduce "generator expression" syntax to custom commands (#11209)
- CTest: Fix test DEPEND cycle detection
- Make Intel defines consistent with MSVC on Windows (#9904)
- CTest: Fix line-too-long style in DEPEND cycle error
- Detect Fortran target architecture on Windows
- Modernize Intel compiler info on Windows
- Remove unused old-style g++ info file
- CheckCCompilerFlag: Strict signature of 'main' (#11615)
- Warn in find(GLOB) docs about bad use case (#11617)
- Remove call to SystemTools::GetMaximumFilePathLength
- Xcode: Generate native 3.2 projects
- Declare min CMake version in --system-information project
- Cygwin: Fix tests to check CYGWIN instead of WIN32
- Cygwin: Do not define 'WIN32' (#10122)
- Revert "Remove unused parameter "root" in some VS generator methods"
- Revert "Avoid msbuild idiosyncrasy that builds multiple configs" (#11633)
- Avoid msbuild ".\" idiosyncrasy that builds multiple configs (#11594)
- Mark CustomCommand test perconfig.out as SYMBOLIC
- CTest: Factor out duplicate Git author/committer code
- KWSys: Avoid buffer overflow in SystemInformation (#11018)
- Fix sentence break in add_test documentation
- Pass Mac linker flag through all compilers with -Wl,
- KWSys: Avoid passing string literal as char*
- Avoid passing string literal to char* type
- Fix constness in compiler id detection
- Build enable_language command during bootstrap
- Map multiple /FI flags for VS < 10 (#11649)
- KWSys: Remove useless include <sys/procfs.h> (#11648)
- Allow users to specify defaults for unset policies
- ccmake: Use LSB 4.0 curses API conditionally
- CTest: Do not truncate UTF-8 test output too early (#10656)
- ccmake: Use LSB 4.0 getmaxyx conditionally
- Allow platform files to set large archive rules (#11674)
- Document reading LOCATION early as undefined (#11671)
- Document reading LOCATION_<CONFIG> early as undefined (#11671)
-
-Brian Bassett (1):
- VS: Fix linking of Fortran-only DLL projects (#10803)
-
-Campbell Barton (1):
- Honor RULE_MESSAGES property for build target messages
-
-Chuck Atkins (1):
- CTest: Teach launcher to ignore empty/no-op make commands
-
-Clinton Stimpson (11):
- Fix regex for moc includes when looking for frameworks.
- cmake-gui: use BundleUtilities in place of custom script.
- Fix regression in 2dae2f1 which added find of Qt imports dir.
- Force cmake to run again when qrc dependency scanning needs to happen.
- Fix regression to allow specifying a CMakeCache.txt file on the command line.
- BundleUtilities: only do rpath strip on copied prerequisites.
- Fix build issues cross compiling with static Qt.
- CTest: multiple ctest_test calls w/LABEL regexs (#11487)
- cmake-gui: always enable generate button.
- allow absolute paths for dbus interface.
- Add support for using static/dynamic Qt plugins.
-
-Craig Scott (1):
- ccmake: Port for LSB 4.0 (#11648)
-
-Dave Abrahams (1):
- FindPerlLibs: Fix for Mac locally applied patches
-
-David Cole (31):
- Add a contract test for building the CSE.
- Enable overriding contract test timeout values.
- Update tag in the Contracts/cse-snapshot test.
- Make HTML test fail when --nonet arg is not available.
- Begin post-2.8.3 development
- No CMake.HTML test if xmllint has no --nonet.
- Suppress "loop was vectorized" "warnings."
- Add contract test for Trilinos 10.6.1 snapshot.
- Honor FOLDER on include_external_msproject targets (#11436)
- Correct misspelling in error message text.
- BundleUtilities: error if fixup_bundle_item called on non-embedded item
- VS10: stop build on custom command error (#11533)
- CPack: look for makensis in the PATH (#8210)
- VS10: avoid warning, no nologo when verbose (#10587)
- Use m prefix in shorttag value to indicate "md5 of tarball"
- Establish pass criteria for the Trilinos contract test.
- Suppress erroneous warnings from Intel compiler
- Avoid running CMake.Install test simultaneously with other tests
- VS10: Finish Midl support (#11461)
- Prohibit space in HOME value for VSMidl test.
- KWSys: Fix CPU speed calculations (#9963)
- KWSys: Retrieve QNX specific memory and processor info (#11329)
- Improve build error detection.
- VSMidl Test: Use correct include_directories with VS6 (#11461)
- Add PATH_SUFFIXES for finding git.
- ExternalProject: Avoid bleed-through output when logging.
- Fix WOW64 registry mode on Windows 2000 (#10759)
- ExternalProject: Replace location tags in CMAKE_CACHE_ARGS
- CPack: Detect more URLs in CPACK_NSIS_MENU_LINKS (#10644)
- KWSys: Fix WOW64 registry mode on Windows 2000 (#10759)
- CPack: Add CPACK_NSIS_INSTALL_ROOT variable (#9148)
-
-Eric NOULARD (13):
- CPackRPM add basic component support to CPackRPM
- CPack fix kwstyle breakage and make CPackRPM backward compatible
- CPack backward compatibility fix 2.8.3-2.8.2 (bug 11452)
- CPack Fix KWStyle error
- CPack Honor CPACK_MONOLITHIC_INSTALL at CPack time too
- CPack use IsOn when it's better than IsSet
- CPackRPM fix bug 0011595 : Can't generate RPMs (on FC11...)
- CPack new tests for component install
- CPack Default component test for ZIP should be OK
- CPackTest spit out more output in case of failure
- Arrange output in a better way
- Precise the project config type when invoking cpack
- CPackSTGZ quote here-doc, fix bug10518
-
-Kai Wasserbäch (1):
- FindTCL: Fix TCL and TK version variable references (#11528)
-
-Marcus D. Hanwell (5):
- BUG 11451 - pass CMAKE_EXTRA_GENERATOR down.
- Added CMAKE_CACHE_ARGS to ExternalProject.
- Escape file write expansion, and build up lists.
- Fixed bug where last entry would be lost.
- Python additional version support, bug #10279.
-
-Matthias Kretz (1):
- Inline help in vim with vertical split.
-
-Mike McQuaid (6):
- Fix incorrect variable documentation (#11127)
- Add variable for InstallRequiredSystemLibraries dir (#11140)
- InstallRequiredSystemLibraries debug-only (#11141)
- Allow NSIS package or uninstall icon (#11143)
- Add CPACK_NSIS_EXECUTABLES_DIRECTORY (#7828)
- Add CPack NSIS MUI_FINISHPAGE_RUN support (#11144)
-
-Philip Lowman (8):
- 11363: FindBoost.cmake fails to find debug libraries in tagged layout install
- 11429: FindGTK2 does not find libraries built for Visual Studio 2010
- 11430: FindBullet doesn't find header files installed by Bullet >= 2.77
- 11384: FindCxxTest now includes test code in VS project
- [patch] Add Boost 1.45 to search, simplify a check removing VERSION_LESS
- Add Boost 1.46
- Fix spelling BOOST_LIBRARYDIR message. Add error for common misspellings.
- Lowercase all function names and improve consistency
-
-Rolf Eike Beer (2):
- allow STRING(SUBSTRING) work with length -1 as "rest of the string"
- Add the WORKING_DIRECTORY property to tests
-
-Wojciech Migda (1):
- Recognize the Texas Instruments DSP compiler (#11645)
-
-Yaakov Selkowitz (2):
- Cygwin: Use 'cyg' prefix for module DLLs (#10122)
- Cygwin: Fix release script libncurses search patterns (#10766)
-
-Zach Mullen (4):
- Remove debugging message from parallel ctest
- CTest git update should pass the committer as well as the author
- Support explicitly set test costs in non-parallel testing.
- Test TIMEOUT property explicitly set to zero should be honored
-
-No changes in CMake 2.8.3 since 2.8.3-rc4.
-
-Changes in CMake 2.8.3-rc4 (since 2.8.3-rc3)
---------------------------------------------
-Bill Hoffman (1):
- When processing DartMeasurements use the tests working directory.
-
-David Cole (2):
- ExternalProject: No svn --username if empty (#11173)
- Avoid problem reading jni.h on Macs.
-
-David Partyka (5):
- Fixed appending PATH to dumpbin tool from growing without bounds.
- Switch to CMAKE_PATH when doing PATH comparisons on Windows.
- Remove unecessary TO_CMAKE_PATH for gp_cmd_dir.
- Append the gp_tool path to the system PATH using native slashes.
- Fixes to GetPrerequisites for cygwin
-
-Eric NOULARD (1):
- CPackDeb Added several optional debian binary package fields
-
-Marcus D. Hanwell (2):
- ENH: Added case for Python 2.7.
- Fixed parallel build for generators with EXTRA.
-
-Changes in CMake 2.8.3-rc3 (since 2.8.3-rc2)
---------------------------------------------
-Alex Neundorf (4):
- Remove trailing whitespace
- Add automatic variable CMAKE_CURRENT_LIST_DIR(dir of CMAKE_CURRENT_LIST_FILE)
- Use absolute path to FindPackageHandleStandardArgs.cmake everywhere
- CodeBlocks Generator: Do not omit files in the project file listing.
-
-Brad King (4):
- VS10: Order .vcxproj dependencies deterministically (#10502)
- Document ENABLE_EXPORTS behavior on Mac (#11295)
- FindHDF5: Fix typo in parallel-IO support check (#11291)
- Xcode: Recognize .hh as C++ (#11307)
-
-Clinton Stimpson (1):
- Find imports dir in Qt 4.7
-
-David Partyka (1):
- Update module to locate newely released MS MPI HPC Pack R2.
-
-Philip Lowman (1):
- Remove superfluous variable Boost_COMPAT_STATIC_RUNTIME.
-
-Rolf Eike Beer (2):
- FindSubversion: Fix for German localized client (#11273)
- FindSubversion: Use C locale to detect version (#11273)
-
-Changes in CMake 2.8.3-rc2 (since 2.8.3-rc1)
---------------------------------------------
-Alex Neundorf (5):
- APPEND and not-APPEND mode of feature_summary() were swapped
- Set a default DESCRIPTION if none is given for ALL mode of feature_summary()
- Close ENDFUNCTION() properly with the same name as FUNCTION()
- Make cmake-gui remember whether the "Advanced" checkbox was checked or not
- Also store the required version number in the details message.
-
-Ben Boeckel (3):
- Add test that CMake errors with empty libs
- Fix which string is checked for in the test
- XCode generation should fail if lang isn't known
-
-Bill Hoffman (5):
- Fix the name of the variable being tested.
- Fix KWStyle line length issues.
- Add a delay after untar on windows to make external project work on windows 7
- Add a new line to the end of the generated main.cxx for the hpux compiler.
- Fix for bug #11274, VS10 custom commands that create files in INTDIR fix.
-
-Brad King (12):
- Evaluate <OBJECT_DIR> rule variable for executables
- ccmake: Fix search with '/'
- MinGW: Support long object file lists
- Document IMPORTED_NO_SONAME target property
- FindMPI: Recoginze -f flags from mpicc (#10771)
- Add module-dir flag for Compaq Visual Fortran (#11248)
- FindPythonInterp: Look for python2.7 interpreter
- VS10: Use $(IntDir) for per-source output directory (#11270)
- Reset platform/compiler info status for each language
- Remove trailing whitespace from Xcode generator source
- VS10: Skip targets with no linker language (#11230)
- VS10: Encode custom command comments for echo (#11283)
-
-Clinton Stimpson (1):
- Fix regression in cross-compile patches with finding Qt libs.
-
-David Cole (7):
- Enable calling commands with : in argv[1] (#9963)
- No extra spaces in CustomCommand test (#9963)
- Avoid CustomCommand test failure on VS71 (#9963)
- Update release scripts.
- Avoid CustomCommand test failure on VS71 (#9963)
- Honor MAKECOMMAND value saved in cache (#11026)
- New USE_FOLDERS property OFF by default. (#3796)
-
-David Gobbi (1):
- Set the module prefix, updated Windows suffix.
-
-Eric NOULARD (2):
- InstallGen/CPack fix handling absolute installed file regression
- CPackRPM Handle parenthesis in CPACK_SYSTEM_NAME (fix bug 10737)
-
-James Bigler (2):
- Fix for bug 0011263.
- Allow -g3 for CUDA v3.0+.
-
-Mikkel Krautz (2):
- Xcode: Avoid trailing space in ARCHS list (#11244)
- Xcode: Quote string values containing '$' (#11244)
-
-Philip Lowman (12):
- FindBoost.cmake fixes for issues 11204 & 8529
- FindBoost.cmake: Miscellaneous changes and refactoring
- FindBoost.cmake: Add Boost_NO_SYSTEM_PATHS option
- FindBoost.cmake: Fix compiling against a boost source tree
- FindBoost.cmake: Fixes 11246
- FindBoost.cmake: Fixes 11121
- FindBoost.cmake: Fixes 10436
- FindBoost.cmake: Implements 11160
- Fix 11136: [patch] FindThreads.cmake documents the wrong variable
- FindBoost.cmake: Fix library search path glitch introduced in earlier commit
- FindFLEX.cmake: Fix issue 11249
- Fixes issue 11279: CMakeDetermineVSServicePack support for VS10
-
-Yaakov Selkowitz (2):
- FindFLTK*: Use Cygwin fltk on Cygwin (#11290)
- Use 'uname -m' for processor on Cygwin (#10774)
-
-Changes in CMake 2.8.3-rc1 (since 2.8.2)
-----------------------------------------
-Alex Neundorf (39):
- fix build on SUSE 11.2 in cmcurl due to ssize_t
- -add an additional name for finding libtiff on Windows
- -fix typo in docs of deprecated MacroAddFileDependencies.cmake
- add 2nd, more powerful mode to find_package_handle_standard_args()
- -fix indentation of the documentation
- Add version checking support to FindFlex and FindPerlLibs
- FindSquish doesn't detect the version, remove that from the documentation
- Improved version checking for FindRuby using the new mode of FPHSA()
- Improved version checking for FindJava using the new FPHSA() mode
- Fix DETAILS string with version number in FHPSA()
- Improved version checking for FindSubversion using the new mode of FPHSA()
- Improved version checking for FindCUDA using the new mode of FPHSA
- Use FPHSA() in FindSWIG, including version checking.
- Change documentation of Subversion_FOUND and SUBVERSION_FOUND.
- Add macro CMakeParseArguments() and use it in FPHSA()
- Fix ZLIB version parsing if no TWEAK version exists
- Fix EclipseCDT include path parsing with spaces (#10868)
- Fix EclipseCDT parsing of builtin macros with spaces (#10868)
- Remove trailing spaces
- Detect a COMPILER_ID also for ASM.
- Add timeout to execute_process() in CMAKE_DETERMINE_COMPILER_ID().
- Fix parsing of builtin macros so Eclipse handles them properly (#10868)
- Log the required package version and major improvement to FeatureSummary
- Improve documentation.
- Improve wording of the documentation.
- Add macro ADD_FEATURE_INFO() and improve docs.
- Remove trailing whitespace
- Make target_link_libraries() complain if bad target name is used
- Just warn in case of a bad target as only argument for t_l_l()
- Remove trailing whitespace
- New CMP0016 for deciding whether an unknown target in TLL() is an error.
- Record all considered Config files and their versions.
- Improve error message in Config-mode when no appropriate version was found
- Replace the two vector<string,string> with one vector<struct{string,string}>
- Small cleanup of FindPackageHandleStandardArgs.cmake
- Don't create an empty element at the end of Foo_CONSIDERED_CONFIGS/VERSIONS
- Add option CONFIG_MODE to FPHSA()
- Improve version notice in the generated message
- Improve wording of the error message of find_package() in config-mode
-
-Andrew Maclean (3):
- Adding a FindPostgreSQL.cmake module
- Forgot the copyright notice.
- Changed ADDITIONAL_SEARCH_PATHS to PostgreSQL_ADDITIONAL_SEARCH_PATHS.
-
-Arjen Verweij (1):
- Pass objects to Intel linker using a response file
-
-Bill Hoffman (9):
- Disable gcc 33 on OpenBSD because it crashes CPack by default.
- Fix for bug#10483, INCLUDE_EXTERNAL_MSPROJECT: ProjectGUID now ProjectGuid
- Remove the ctest submit larget output test.
- Let CMake recognize .CPP .CXX and .C++ as c++ files.
- Fix for bug 10388, fix various default flags.
- Only use .CPP .CXX and .C++ do not work by default with g+++.
- Fix targets with . in the name for VS 10 IDE.
- Only test for .CPP on Microsoft compilers which will handle .CPP as c++.
- Allow testing of .CPP on WIN32 as it is a case insensitive OS and should work.
-
-Brad King (69):
- ExternalProject: Add LOG_* options to hide step output
- FindMPI: Do not parse -l in middle of library name
- FindMPI: Parse mpicc flags more carefully (#9093)
- Fix or cast integer conversions in cmake
- Begin post-2.8.2 development
- FindMPI: Failure is not an error if not REQUIRED
- FindMPI: Trust mpicc -showme on BlueGene/L
- VS: Always separate preprocessor defs by semicolon (#10902)
- KWSys: Cleanup putenv leak option implementation
- KWSys: Pass ptrdiff_t check result to System.c
- Fix or cast more integer conversions in cmake
- Use same type in both cases of '?:' operator
- FindMPI: Fix parsing of mpicc -Wl,-L link flags (#9093)
- Fix signed/unsigned comparison warnings in ccmake
- Fix integer conversions in cpack
- bootstrap: Detect known C/C++ compiler toolchains
- KWSys: Use short fallback timeout for Process tests
- KWSys: Optionally suppress consistent test failures
- KWSys: Avoid Clang optimizer bug in testProcess-[45]
- Poison GCC 3.3 on OpenBSD a bit later
- KWSys: Avoid undefined behavior in Process crash tests
- Optionally use system bzip2 library (#10932)
- ctest_update: Abort if Git FETCH_HEAD has no candidates
- ctest_update: Support ".git file" work trees
- ctest_update: Run 'git submodule' at top level
- FindBoost: Search for Boost 1.42
- Add FindLibArchive module (#10923)
- Add option CMAKE_USE_SYSTEM_LIBARCHIVE (#10923)
- Refer to self with CMake_(SOURCE|BINARY)_DIR (#10046)
- ExternalProject: Fix $(MAKE) with cygpath on Windows
- FindBoost: Search for Boost 1.43 and 1.44
- Include headers from chosen libarchive (#10923)
- No response files with GNU ld <= 2.16 (#10913)
- Create class cmArchiveWrite to wrap libarchive (#11020)
- Include entries for directories in tarballs (#11020)
- cmArchiveWrite: Fix signed/unsigned compare/convert
- cmArchiveWrite: Fix signed/unsigned again
- CPack: Avoid member shadowing after API refactor
- KWSys: Fix SplitPath for leading '\' on Windows
- KWSys: Fix GetActualCaseForPath for UNC paths
- ModuleNoticesTest: Do not require "Kitware" copyright
- Modules: Fix CMakeParseArguments copyright notice
- FortranCInterface: Fix doc typo FC.h -> FCMangle.h
- CTest: Avoid use of old EscapeSpaces method
- Remove cmSystemTools::EscapeSpaces method
- Clarify install(TARGETS) docs for EXPORT option
- Factor out global generator ComputeTargetDepends method
- Factor out duplicate VS target dependency code
- Refactor VS <= 7.1 utility-depends workaround
- Restore GetTargetDirectDepends const return
- Split notion of node lists and edge lists
- Distinguish "strong" and "weak" target dependency edges
- Honor strong intra-component target dependencies
- libarchive: Remove SCHILY dev,ino,nlink attributes (#11176)
- Fix unused parameter warning in VS 7.1 generator
- KWSys: Avoid empty string dereference in SplitString
- KWSys: Improve SplitPath method documentation
- KWSys: Use SplitPath in GetActualCaseForPath
- Add whitespace=tab-in-indent attribute for sources
- Search MacPorts /opt/local prefix on Mac
- HP-UX: Always add /usr/lib to rpath (#10571)
- No CMAKE_CONFIGURATION_TYPES in single-config generators (#10202)
- KWSys: Suppress -Wcast-align warning in MD5.c
- Suppress -Wcast-align in curl and bzip2
- libarchive: Fix purposeful crash
- bootstrap: Honor CFLAGS during "make" test (#10545)
- file(DOWNLOAD): Fix error message formatting
- Fix line-too-long style errors
- Report missing source files with context of target
-
-Clinton Stimpson (10):
- Fix performance issue with getting version from zlib.h
- Fix bug 10418 - GetPrerequisites returning "not" as a dependency.
- Fix regression in 5e6634fd77969433a87c150a2fb3f2079131484f for Windows.
- Change Qt4ConfigDependentSettings to use more standard find modules.
- Add cross-compiling support to FindQt4.cmake
- Tweak for cygwin, don't convert : to ;
- Fix some issues with refinding when qmake executable is changed.
- Find correct Qt plugins for cross-compiling.
- Fix mingw/VS warning message with cross compile re-org.
- Make sure moc parameters file goes in binary directory.
-
-David Cole (20):
- CheckSourceTree test: read UpdateCommand from Update.xml.
- Eliminate -Wconversion warnings.
- Detect CMake warnings and errors in build output.
- Activate retry code on any curl submit failure.
- Add another expected output for the failed submit tests.
- ExternalProject: Use $(MAKE) whenever possible.
- Copy Resources in Frameworks during fixup_bundle (#10020)
- Update path to git. dashmacmini2 was "upgraded."
- ExternalProject: Remove 'unknown keyword' warning (#11034)
- Add documentation for CPACK_PROJECT_CONFIG_FILE.
- Add STEP_TARGETS to ExternalProject module.
- Refine formatting for cmake --help-module output.
- Improve documentation of OPTION command.
- Add FOLDER target property, for IDEs (#3796)
- Avoid adding self as prerequisite. (#10417)
- Correct CMAKE_INSTALL_PREFIX value for Win64 apps (#9992)
- Preserve timestamps on files on tar extract.
- Use QUIET to avoid Java status messages.
- VS2010: Honor PROJECT_LABEL target property (#10611)
- VS2010: Set IntDir for utility and global targets.
-
-David Genest (1):
- Honor CMAKE_USER_MAKE_RULES_OVERRIDE in try_compile (#10902)
-
-Eric NOULARD (20):
- CPackRPM:: Replace - with _ in RPM Version (fix bug 0010934)
- Provides default changelog if no file is provided
- CPackRPM:: Quote every filenames in %file section (see bugs 10701,10871,10345)
- CPackRPM:: [partially] support relocatable package
- CPackDEB: merge wrong installed size patch. see bugs 10296 (and 10292)
- CPackDeb optionally generates auto-dependency list part fix of bug 10292
- Proposal for bash-completion support file
- CPack: Refactor API in order to handle multi-file packages
- CPack: Avoid member shadowing after API refactor (part2)
- Improve cmake-completion (install doc, ctest -R completion)
- Add ZIP archive format and LZMA compress support to libarchive-wrapper
- Add XZ compress support to libarchive-wrapper
- Add Compress compress support to libarchive-wrapper
- CPack Backward-compatibly enforce DESTDIR for DEB and RPM
- CPack Enable better handling of absolute installed files
- CPackArchiveGenerator use cmArchiveWrite wrapper
- CPackArchiveGenerator add component supports
- CPackArchiveGenerator improve usability and robustness
- CPack fix broken compilation for CygwinSource generator
- CPack handle symlinks in CPACK_INSTALLED_DIRECTORIES fix for bug5430
-
-James Bigler (1):
- Added CUDA 3.2 directory changes. Disable emulation mode for CUDA 3.1+.
-
-Kai Wasserbäch (1):
- Fix spelling errors reported by Lintian.
-
-Kovarththanan Rajaratnam (4):
- FindZLIB: optimize zlib.h version parsing
- FindCygwin: add new registry entry for Cygwin 1.7 (#10951)
- FindZLIB: use the FPHSA version mode
- FindSubversion: set compatibility variables based on FPHSA()
-
-Marcel Loose (1):
- Issue 10199: Fixed code documentation and now set <prefix>_WC_ROOT
-
-Marcus D. Hanwell (1):
- Bug with default library type of Python modules.
-
-Mathieu Malaterre (3):
- Add missing PATHS to find_path commands to fix openssl searching
- BUG: 0009611 Fix Arch independent FindJNI.cmake on Linux
- Fix 11035 : debug/release library configuration mistake
-
-Michael Wild (2):
- Improve documentation of BundleUtilities.cmake
- Improve documentation of GetPrerequisites.cmake
-
-Miguel A. Figueroa-Villanueva (7):
- ENH: #9775 Added support for new wxWidgets 2.9 libraries.
- BUG: #9775 Fixed patch FindwxWidgets-fixed-bug-9775.
- BUG #10658: FindwxWidgets USE_FILE should not include .cmake extension.
- STYLE: Clarified/Fixed documentation of UsewxWidgets.
- BUG #11123: Generic include dir should come after config specific one.
- BUG #8184: Fixed FindwxWidgets wrong order of default libs for MinGW.
- ENH #8993: FindwxWidgets add support for wx-config custom options.
-
-Mike McQuaid (1):
- Make bundle items writable before fixup (#9284)
-
-Modestas Vainius (1):
- CTestTestFailedSubmit-xmlrpc: Pass with "Submission problem"
-
-Patrick Gansterer (4):
- VS: Convert PlatformName member to a virtual method
- VS: Add more TargetMachine option values
- VS: Map /ENTRY linker option to EntryPointSymbol
- VS: Add ArchitectureId to VS 8 and 9 generators
-
-Philip Lowman (7):
- Fixes problem finding libraries under Boost (#9510)
- Add detection for new pangommconfig.h header file
- Several fixes needed to improve Windows support
- 11041: Improve FindCxxTest to use Python or Perl automatically; custom flags
- 10241: FindBISON.cmake clears wrong variable
- 10688: FindGTK2.cmake doesn't auto-detect macports
- Merge patch for detecting gdk-pixbuf library
-
-Pino Toscano (1):
- GNU/Hurd platform support fixes (#9873)
-
-Robert Goulet (1):
- VS2010: Disable PDBs when there is no debug info
-
-Rolf Eike Beer (2):
- clean up some stuff in CPack RPM script
- Set MSVC_VERSION for MSVC 6, 7, 7.1 (#7944)
-
-Todd Gamblin (3):
- Modules: Fix spelling 'To distributed' -> 'To distribute'
- Teach find_* commands to ignore some paths
- Add platform files for BlueGene/P systems
-
-Zach Mullen (12):
- Checksums on CTest submit files, and retry timed out submissions.
- Cross-platform fixes for checksum/retry code
- Fix subscript out of range crash
- CTest should resubmit in the checksum failed case
- Testing for CTest checksum
- Mock checksum failure output for old CDash versions
- Checksum test should use CMAKE_TESTS_CDASH_SERVER
- Fix cycle detection for test dependencies
- More robust cost-based scheduling impl
- Fix hard-coded CDash URI in version query
- Added CTest command --print-labels
- We shouldn't ask CDash for its version info until/unless we actually need it.
-
-No changes in CMake 2.8.2 since 2.8.2-rc4.
-
-Changes in CMake 2.8.2-rc4 (since 2.8.2-rc3)
---------------------------------------------
-Bill Hoffman (1):
- Fix for bug #10859, ctest exit exception incorrectly reported.
-
-Brad King (3):
- Run CMake.HTML test without net access (#10857)
- Run CMake.HTML test with older xmllint (#10857)
- CTest: Parse empty Git commits correctly
-
-David Cole (2):
- Qualify name of extraction location with ExternalProject name.
- For VS10: Really use full path file names.
-
-James Bigler (1):
- Add support for the emulation version of the cudart library.
-
-Mathieu Malaterre (1):
- Cleanup FindOpenSSL. Add support for win64 installation.
-
-Zach Mullen (1):
- Parallel CTest hangs if serial test has depends
-
-Changes in CMake 2.8.2-rc3 (since 2.8.2-rc2)
---------------------------------------------
-Brad King (1):
- Preserve ENV{MAKEFLAGS} in CMake script mode
-
-David Cole (4):
- Remove "Microsoft Visual Studio .NET" from VS8 and VS9 find modules.
- Use full path file names in generate.stamp.list.
- Use full path file names to express dependencies.
- Look in the ctest ini file for GitCommand.
-
-James Bigler (2):
- Fixed: CUDA_VERSION_MAJOR/MINOR now computed after first run.
- CUDA_VERSION variable passed to REGEX needs quotes to work when not defined.
-
-Mathieu Malaterre (1):
- Cleanup FindDCMTK (using foreach). Fix linking on win32 static libs.
-
-Zach Mullen (2):
- Do not exit if stoptime is passed.
- Document ctest_build() TARGET option
-
-Changes in CMake 2.8.2-rc2 (since 2.8.2-rc1)
---------------------------------------------
-
-Bill Hoffman (1):
- Make sure libarchive uses cmzlib and not the system libz if found.
-
-Brad King (12):
- Use forward slashes for objects in response files
- Use platform variable for response file flag
- Use response file for objects on MinGW and MSYS
- Generalize CTest.Update* test dashboard script helpers
- ctest_update: Support custom Git update command
- ctest_update: Support Git upstream branch rewrites
- Fix CMake data and doc paths in Cygwin package
- Document scope of source file properties
- Run CTest.NoNewline test using built CMake
- Tru64: Place cmOStringStream vtable uniquely (#10541)
- Enable BootstrapTest on MSYS
- Tru64: Use full-path include directives in Makefiles (#10569)
-
-Christoph Watzl (1):
- Fix nested source groups with VS 10 (#9863)
-
-Clinton Stimpson (2):
- Support pthreads on irix.
- Remove macro for querying qmake for qmake variables.
-
-David Cole (2):
- Fix issue #10346. Error if SOURCE_DIR is empty.
- Remove CTestTest3.
-
-Zach Mullen (1):
- Extra coverage glob should subtract the explicitly defined excluded files
-
-Changes in CMake 2.8.2-rc1 (since 2.8.1):
-- Build on Tru64 (#10542)
-- Build on mingw-w64
-- Build on old Sun (#10550, #10543)
-- CPack: Add native BZip2 support
-- CPack: Set compression type in RPM spec (#10363)
-- CPack: Try harder to initialize staging directory (#10793)
-- CTest: Add --stop-time argument
-- CTest: Cost data with '-j'
-- CTest: Fix memory report
-- CTest: Glob for uncovered files during coverage tests
-- CTest: Option to specify cdash server
-- CTest: PHP Coverage support
-- CTest: Process tree kill for OpenBSD, FreeBSD, kFreeBSD, GNU/Hurd
-- CTest: Report failure in Update.xml
-- CTest: Submit author email in Update.xml
-- CTest: Teach ctest_update about Git submodules
-- CTest: Teach ctest_update to handle Git upstream branch rewrites
-- Cygwin: Export all symbols with ENABLE_EXPORTS (#10122)
-- Do not list file names during 'cmake -E tar xz'
-- Documentation: Comply with "XHTML 1.0 Strict"
-- Documentation: Fix typo in CMAKE_LIBRARY_PATH (#10291)
-- Documentation: Fix typo in HAS_CXX docs (#10578)
-- Documentation: More consistent command signatures
-- Eclipse: Do not add INCLUDE to environment twice
-- Enable extra CodeBlocks generator on Cygwin
-- ExternalProject: Support .zip and .bz2 archives, MD5 verification
-- ExternalProject: Reconfigure when args change (#10258)
-- ExternalProject: Support Git, SVN username/password
-- FindCurses: Fix for cygwin ncurses package
-- FindHSPELL: Version support
-- FindJava: Error if version is not found only when REQUIRED
-- FindJava: Support runtime and development components (#9840)
-- FindKDE4: Prefer kdeconfig results over system paths
-- FindMPEG: Check for 'vo' library
-- FindPNG: Support png 1.4 versioned lib names (#10551)
-- FindPkgConfig: Add QUIET keyword to pkgconfig macros (see #10469)
-- FindZLIB: GnuWin32 support, version support (#5588)
-- FindwxWidget: Fix CXX flag parsing (#10209)
-- Fix .pdb name attribute in VS project files (#10614)
-- Fix CodeBlocks to work with Fortran-only
-- Fix VS 2010 custom commands (#10503)
-- Fix VS 6 support for COMPILE_DEFINITIONS_MINSIZEREL (#10700)
-- Fix cross-compiling from Linux to iPhone (#10526)
-- Fix documentation typos
-- Fix g95 Fortran compiler support
-- Fix uname masking in file(WRITE) and write_file (#10789)
-- GetPrerequisites: Provide an override hook
-- Handle non-ASCII terminators in file(STRINGS)
-- Module fixes: FindPythonLibs, FindQt4, FindX11, FindwxWidgets
-- PathScale Fortran compiler tool detection
-- Qt4 OpenGL framework fix
-- Qt4ConfigDependentSettings.cmake Qt4Macros.cmake UseQt4.cmake
-- Recognize ARM ABI/EABI with GNU compilers
-- Recognize Clang compiler
-- Search basic directories on "Generic" platform
-- Set MSVC* variables consistently on all generators, and test
-- Support SunPro C++ 5.11 on Linux (new compiler)
-- Support VS 10 Express (related to #10670)
-- Support compression with 'cmake -E tar'
-- Support multiple arguments in CC,CXX,FC environment variables
-- Support per-configuration librarian flags (#10768)
-- Support per-platform initial ASM language flags (#10577)
-- Use Fortran ABI detection results conservatively
-- Use libarchive to replace the unmaintained libtar
-- UseQt4: Support QtMultimedia (#10675)
-- bootstrap: Fix make tool detection (#10544)
-- cmake-gui: Add simple grouped view
-- cmake-gui: Support build tree under symlink (#9975)
-- Cleanup modules FindASPELL, FindAVIFile, FindBZip2, FindDart,
- FindEXPAT, FindGCCXML, FindGLU, FindHSPELL, FindJasper, FindLibXml2,
- FindLibXslt, FindMPEG, FindOpenAL, FindPhysFS, FindQuickTime,
- FindSubversion, FindZLIB.
-
-Changes in CMake 2.8.1
-- Fix failing test on cygwin
-- Add a new serach path for MPICH2
-
-Changes in CMake 2.8.1 RC 5
-- Fix FindQt4 to work with OpenGL on the mac
-- Add .git .bzr and .hg to the list of default CPack ignore directories.
-
-Changes in CMake 2.8.1 RC 4
-- CTest: Do not hide test GUI windows (fixes 2.8.0 regression)
-- Documentation: Clarify CMAKE_MODULE_PATH variable
-- FindQt4: Add support for QtDeclartive module
-- FortranCInterface: Fix PathScale detection
-- Suppress GNU flag -fPIC on Windows (fixes 2.8.1-rc1 regression)
-
-Changes in CMake 2.8.1 RC 3
-- Add CMAKE_XCODE_ATTRIBUTE_<attr> interface to set compiler (#9125)
-- Fix Eclipse files for targets in subdirectories (#9978)
-- Fix custom command rule hashes to avoid extra rebuilds
-- Print non-make generator name in initial compiler test
-
-Changes in CMake 2.8.1 RC 2
-- CPack: Avoid deleting long PATH values with NSIS (#10257)
-- CTest: Fix and test cost-based test scheduler
-- CTest: Fix and test git updates for case of out-dated index
-- CTest: Fix regression caused by fix for (#2336) in rc1
-- CTest: Setup command-line dashboard support with Git
-- FindCUDA: Improve docs, use -rpath on Apple, fix dependency scanning
-- Fix OS X deployment-target and sysroot defaults (#9959,#9898,#10155)
-- Recognize the Compaq Fortran compiler
-
-Changes in CMake 2.8.1 RC 1
-- Add "NMake Makefiles JOM" generator
-- Add PathScale compiler support
-- Add per-configuration OUTPUT_DIRECTORY properties
-- Add per-target OSX_ARCHITECTURES property
-- check_type_size(): Handle mixed-size universal binaries
-- CPack: Document Mac generators
-- CPack: Improve RPM spec files
-- Create CMAKE_FORCE_Fortran_COMPILER for cross-compiling
-- CTest: Add --http1.0 command-line option
-- CTest: Add --timeout command-line option
-- CTest: Do not munge UTF-8 output in XML files
-- CTest: Document CTEST_USE_LAUNCHERS option
-- CTest: Fix killing of whole test process trees
-- CTest: Handle failure of running invalid executables
-- CTest: Honor the -C arg to ctest (#2336)
-- CTest: Improve host system introspection
-- CTest: Optionally randomize test order (--schedule-random)
-- CTest: Skip tests with unsatisfied REQUIRED_FILES test property
-- CTest: Submit arbitrary results with ATTACHED_FILES test property
-- ctest_build(): Enhance signature
-- ctest_start(): Add APPEND option
-- ctest_start(): Move CTEST_CHECKOUT_COMMAND from ctest_update
-- ctest_update(): Submit global tree revision in Update.xml
-- Cygwin: Do not export all symbols from DLLs (#10122)
-- Cygwin: Name DLLs with SOVERSION, not VERSION (#10122)
-- Detect 32/64-bit Windows with Intel compiler
-- Eclipse generator enhancements
-- ExternalProject: Add TIMEOUT parameter
-- FindCUDA: Respect CUDA version differences
-- FindCURL: Find import libraries on Windows
-- FindDCMTK: Look in more places
-- FindGTest: Handle spaces better (#10065)
-- FindGTK2: Look in fink locations on Mac OS X
-- FindHDF5: Follow find-module API conventions
-- FindJava: Support for versioned find
-- FindJNI: Honor find_package() REQUIRED and QUIET options
-- FindMPI: Improve Windows support
-- FindOpenSSL: Fix MinGW support
-- FindPythonLibs: Look in config for static library
-- FindQt4: Misc enhancements, sync with KDE vesion
-- FindRuby: Fix version convention on Windows
-- FindX11: Improve documentation
-- Fortran: Detect address size (#10119)
-- FortranCInterface: Honor user flags
-- Improve VS 2010 beta2 support
-- link_directories(): Treat relative paths consistently (CMP0015)
-- Modernize FindLibXslt and FindLibXml.cmake
-- Refactor platform info to simplify adding new compilers
-- Support cross-compiling versioned DLLs
-- UseQt4: Provide dependencies only for static Qt (#10021)
-- Address issues:
- #2336, #3571, #5041, #7541, #8725, #9011, #9042, #9054, #9163,
- #9171, #9450, #9697, #9764, #9782, #9792, #9862, #9894, #9913,
- #9916, #9917, #9918, #9949, #9965, #9970, #9982, #9985, #10003,
- #10014, #10021, #10032, #10055, #10060, #10065, #10114, #10119,
- #10122, #10126, #10136.
-
-Changes in CMake 2.8.0 Release
-- CPack: Honor CPACK_NSIS_DISPLAY_NAME (fixes regression)
-
-Changes in CMake 2.8.0 RC 7
-- Partially sync FindQt4 with KDE version
-- Improve implementation of fix for #9090
-- Fix CTest infinite loop when test executable could not be found
-- Fix #9833: Document ctest --help-command
-- FindCUDA: Fix -fPIC from being used on executable object files
-- Fix #9654: %files section in spec file should not list directories
-- Fix #9851: Better STRING(RANDOM) seeding
-- Fix double bootstrap build for in source builds
-- Fix CTest to use allowed value for valgrind --num-callers
-- Remove non-language implicit link dependencies
-- Implement LINK_FLAGS_<CONFIG> property on Xcode
-
-Changes in CMake 2.8.0 RC 6
-- Partially sync FindQt4 with KDE version
-- Fix #9090: Teach CTest subdirs() command to handle absolute paths
-- Fix CTest bug that could start a test twice
-
-Changes in CMake 2.8.0 RC 5
-- CTest now detects cycles in test dependency graph
-- Warn on set(PARENT_SCOPE) at top scope
-- Fix Xcode <= 2.0 projects with CMAKE_BUILD_TYPE
-- Fix flags for Intel Fortran on Windows
-- Fix #2199: UseSWIG documentation for swig_generated_file_fullname
-- Fix #7915: UseSWIG interaction with JNI
-- Fix #8971: FindOpenSSL now works on windows
-- Fix #9124: CPackDeb documentation
-- Fix #9722: cmake-gui reports error when not able to create build directory
-- Fix #9767: Match more valgrind-reported leaks in CTest memcheck
-- Fix #9777: Sync CMakeDetermineJavaCompiler paths with FindJava
-- Fix #9793: FindJNI should find matching jni.h and jni_md.h
-- Fix #9817: FindJNI on Solaris
-- Fix FindHDF5 when hdf5.h exists without H5pubconf.h
-- Fix FindZLIB to follow variable name conventions
-- Fix invalid use of auto_ptr on array
-- Mention temp var convention in Modules/readme.txt documentation
-
-Changes in CMake 2.8.0 RC 4
-- Fix try_compile when file cannot be found
-- Add new module to test manifest installation issues on windows.
-- Add more test coverage
--Improvements in finding MPI on windows. ENH: reorganized searching mpi for mpi components (include,lib,bin) using a single set of search paths instead of seperately mainted lists of paths for each.
-- Look for nvcc in the 32 bit bin directory before the 64 bin directory.
-- BUG: hardcore some values so output matches cmVS10CLFlagTable.h (addresses bug #9753)
-- Avoid Intel linker crash in BuildDepends test
-- Fix Intel Fortran SHARED libraries on Linux
-- Fix working dir issue for ctest
-- Fix if() command and CMP0012 OLD/NEW behavior
-- Allow for /D to change install directory on the command line for NSIS
-- Move SetErrorMode around calls to generate and configure instead of setting it for the whole application for cmake-gui on windows. Allows for bad installs of windows shell programs to not break file completion.
-- Fix Intel and MinGW Fortran DLL import libraries
-- Fix Xcode dylib version default
-- Fix the showing of non-cpp files in the IDE for VS 10
-- Fix optionally-valued booleans in VS 10 flag table
-- Detect and set Unicode character set in VS 10
-- Add support for the g95 Fortran compiler
-- Test all target types in Fortran
-- Add Xcode file association for Fortran
-- Fix VS 10 flag table for precompiled headers
-- Fix VS 10 .sln files for Windows Explorer
-- Fix Microsoft.Cpp.$(Platform).user.props in VS10b2
-- Fix up file(DOWNLOAD ) a bit, better error checking and uses of long not double for timeout as curl needs, bug# 9748
-- Add a VS 10 Win64 generator
-- Fix for bug#9686 convert java_home to a cmake path before using.
-- fix for bug# 9751, add check for MSVC10
-- Fix for bugs #9756, #9690 and #9755, header files were not included, and link_directories we incorrect
-- Add a module to test an install tree to verify that the MS CRT version is correct.
-- Fix seg fault for empty ENV{} call bug #9747
-- Better fix for finding the MSBuild that matches the VS 10 install.
-- make testing the CodeBlocks and Eclipse generators easier by not requiring the CMAKE_EDIT_COMMAND variable
-- Do not link library dependencies in VS solutions
-- Ctest was broken for subdirs. Restored working directory state for tests so that their executables could be found.
-- Fixes version detection using osg/Version on Mac OSX when OSG is installed as a framework
-- Avoid C++ linker language in VS Fortran project
-- Avoid duplicate ZERO_CHECK in VS solutions
-- Fixed bug 8319, search for the Python shared library in the standard locations.
-- Fix bug#9714, should not crash when version file is not where it should be...
-- Fix ctest output alignment for cases where total tests run is not the same width as max test index.
-- make it more robust wrt. #9621
-- Add another possible error message that curl might emit with an empty drop location.
-- Fix issue #5668 - use CollapseFullPath when determining if covered file is within source or binary tree. Allows gcc/gcov coverage analysis using MinGW on Windows.
-- CTest-side support for compiler name and compiler version information. Requires CDash update to show on CDash.
-- Add a bunch more testing coverage.
-
-Changes in CMake 2.8.0 RC 3
-- CTest Added OS Platform (cpu architecture) detection support to windows system
-- Several minor FindBoost changes to address posts on mailing list
-- Resolve #9685: Fix include dir to be correct path for gnutils
-- Fix color check for dependency scanning
-- Remove CMP00015 for now as it breaks more things than it fixes
-- Reduce duration of ctest_sleep arguments. Add SmallAndFast project. Replace kwsys with SmallAndFast to make CTestTest faster. (I will keep an eye on coverage results after this commit and make sure we still have equivalent ctest coverage.)
-- Do not use -fPIC to link executables
-- Split Borland compiler information files
-- Trimmed off the newline from sw_vers output on mac, it could cause xml parsing errors if left in
-- Check for openssl-linked option with Qt 4.4+ before making ssl a dependency.
-- Make Complex test of CMakeLib more optional
-- Modernize FindVTK module
-- Fix find_package() when <pkg>_DIR is wrong
-- Do not collapse path of NOTFOUND values
-- More robust implicit link line detection regex
-- fix Xcode 30 generator
-- Use the correct CMake (the freshly built one) to drive the CMakeWizardTest.
-- Support more special characters in file(STRINGS)
-- Log implicit link line detection regex
-- speedup C dependency scanning even more
-- Avoid non-root copies of root-only targets
-- Added better OS information for Mac OS X
-- Use work-around from bug 4772 for C++ and Fortran
-- FortranCInterface: Mangling for Intel on Windows
-- cmake-gui don't allow consecutive generates without a configure.
-- Fix Preprocess test for Intel on Windows
-- Teach intel compiler on windows to place .lib files and .pdb files.
-- CPack: Fix bash-isms in launch script
-- BUG: #0009648 Change "The following tests FAILED" message to print on stdout rather than stderr
-- Avoid (Unix|Windows)Paths.cmake multiple include
-- When getting include dirs for moc, also watch for framework includes and use -F instead of -I.
-- Find locally installed software first
-- Add '#!/bin/sh' to cygwin-package.sh
-- Fix permsissions of installed SquishRunTestCase.sh
-- Fix module docs to be manpage (groff) friendly
-- Support GNU/kFreeBSD
-- Remove old Encoding field from CMake.desktop
-- FindQt3: Prefer (moc|uic)-qt3 names over (moc|uic)
-- Match width of ctest "Start xx: " line to line up with the end test line
-- Remove old license from FindPkgConfig.cmake module
-- Test target link information invalidation
-- Invalidate target link info when necessary
-- Use new style header generation and get rid of OBJECT_DEPENDS in tutorial
-- Fix issue #8649 - move the location of CPACK_NSIS_EXTRA_INSTALL_COMMANDS so that it is not excluded from execution when 'Do not create shortcuts' is checked.
-- add the additional features for the dbus macros from KDE's FindQt4.cmake
-fc9f7a5 Fix warnings in CMake source code.
-- Correct some typos in error messages in the string command. Add a test that covers more of the code implemented in cmStringCommand.cxx, especially the error handlers.
-- Create INTERPROCEDURAL_OPTIMIZATION build feature
-- Document CMAKE_CURRENT_LIST_FILE more precisely
-- Fix the documentation to say what it really does. Bug #9638
-- document how the minimum version can be specified
-- Fix warnings in CMake source code. Suppress rampant warnings emanating from Qt files.
-- Add documentation for Cocoa flag and move Motif under X11 flag.
-
-Changes in CMake 2.8.0 RC 2
-- Fix FindQt4 so that QtHelp depends on QtNetwork
-- Add missing copyright notice to CMake.cmake module
-- Add alternative _UTILITY targets to all VS solutions
-- FindGTest.cmake some bugfixes, also added public function for closer integration btwn GoogleTest & CTest, contributed by Dan Blezek.
-- Eliminate ExternalProject's use of CMAKE_CFG_INTDIR subdir for Makefile generators. It was causing problems with parallel make -j invocations. Keep it for multi-configuration build systems so that Debug and Release stamp files remain separate.
-- Fix for bug #9611, some more paths for OpenJDK.
-- Fix get_filename_component() registry view with wow64
-- Fix warnings in CMake source code.
-- Fix module definition file reference for VS6 NMake
-- Fix for bug #9611 do not hard code archs for search paths of java, look at the machine type.
-- Fix bug#9619 add a link to module maintainers page in readme.txt for Modules
-- Add cmake-help-command function to emacs-mode
-- Add initial XL C compiler flags for safer builds
-- Split XL compiler information files
-- Fix default install prefix on Haiku
-- Fix use of module .def files for MS tools
-- Add StringProperty options includeing /def: for VS 10 flag table
-- Convert copyright to OSI BSD and clean up licenses
-- ENH: Added ctest test coverage for a test timeout
-- CTest honors test timeouts again.
-- Remove ctest_submit from CTestTestParallel
-- Fix shared library creation flag for XL on Linux
-- Fix BUG: 0009612: --output-on-failure option doesn't work with
- the new parallel CTest handler
-- Removed support for cutil library and header file.
-- Fixed CUDA_PROPAGATE_HOST_FLAGS, added path for Mac SDK.
-- Make sure LINK_FLAGS are seen by generator, fix for part of bug#9613
-- Fix issue #9412 - remove RPATH from files copied by
- BundleUtilities.cmake on Linux. Thank
-- Fix support for OLD behavior of policy CMP0002
-- Fix issue #8818 - escape quotes in the license file when using the
- DragNDrop cpack genera
-- Fix .vfproj file version for Intel Fortran 10.1
-- Use BeAPI for per-user package registry on Haiku
-- Correct comments and use ASM${ASM_DIALECT} env. var instead of ASM
- env. var to initialize
-- Fix bug #9529.
-- Fix Windows GUI implib and image version in VS 6
-- Convert newlines from CRLF to LF
-- Oops. Last commit did not create subdir before doing a touch on a
- file in it. So it fails of a type that is expected to have a
- location...
-- Policies 14 and 15 will be first released in 2.8.0
-- Document full version number with policy default
-- Simplify bootstrap script source dir detection
-- Documentation fixes, new CUDA_PROPAGATE_HOST_FLAGS, changed output
- directory.
-
-Changes in CMake 2.8.0 RC 1
-
-- Qt based GUI cmake-gui is now the default GUI, MFC CMakeSetup is no
- longer included in CMake. ccmake is still supported.
-- cmake-gui supports multi-state values options.
-- CMake now has cmake --build command that can build any CMake generated
- project from the command line.
-- Visual Studio 2010 beta support has been added.
-- KDevelop generator now has color output for builds.
-- CTest supports running tests in parallel with a -j N option.
-- A new CTest CTEST_USE_LAUNCHERS option can be used to get better
- dashboard error reports with make based tools.
-- CTest has support for sub-projects and labels which can interact
- with CDash.
-- CTest now supports Git, Mercurial, and Bazaar.
-- It is now possible to use DESTDIR in CPack for any CMake based projects
- giving more flexibility on the final path names.
-- The CPack Deb generator now computes the arch instead of hard coding it.
-- Fortran/C mixed language projects made much easier. CMake now
- automatically can compute the run time libraries for a compiler. In
- addition, a new FortranCInterface module can determine the correct
- name mangling needed to mix C and Fortran.
-- Intel compiler support added to OSX, and support for embedded
- manifests in the windows intel compiler was added.
-- Depend scanning is now much faster with makefiles.
-- Many FindQt4 improvements to stay working with current Qt releases
-- FindMPI has improvements for windows.
-- FindBoost has been updated to work with the most recent boost releases.
-- New External Project Module. The 'ExternalProject_Add' function
- creates a custom target to drive download, update/patch, configure,
- build, install and test steps of an external project.
-- xmlrpc dependancy has been removed
-- CMAKE_OSX_DEPLOYMENT_TARGET cache variable has been created to set the
- deployment OS for a build on OSX.
-- Several new policies were added:
- CMP0012
- The if() command can recognize named boolean constants.
- CMP0013
- Duplicate binary directories are not allowed.
- CMP0014
- Input directories must have CMakeLists.txt.
- CMP0015
- The set() CACHE mode and option() command make the cache value
- visible.
-- Lots of bug fixes.
diff --git a/ChangeLog.txt b/ChangeLog.txt
deleted file mode 100644
index 81b90e0..0000000
--- a/ChangeLog.txt
+++ /dev/null
@@ -1,86670 +0,0 @@
-2009-09-23 14:13 zach.mullen
-
- * Tests/CMakeLists.txt: Uncommented the dependency of
- CTestTestNoExe on CTestTestNoBuild so that it will work in
- parallel now.
-
-2009-09-23 14:10 king
-
- * Source/cmGlobalXCodeGenerator.cxx: Add Xcode SYMROOT setting for
- custom targets
-
- Xcode 1.5 writes helper scripts at the projectDirPath location
- for targets that do not set SYMROOT. We now add SYMROOT to
- custom targets so that all targets set it. This prevents Xcode
- 1.5 from touching the source directory now that we always set
- projectDirPath.
-
- See issue #8481.
-
-2009-09-23 14:07 zach.mullen
-
- * Tests/CTestTestParallel/lockFile.c: Make portable c for Parallel
- test
-
-2009-09-23 14:01 alex
-
- * Source/: cmDepends.cxx, cmDepends.h, cmDependsC.cxx,
- cmDependsC.h, cmDependsJava.cxx, cmDependsJava.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: Major optimization of C/C++
- dependency scanning.
-
- Now only the dependencies for the file where the dependencies
- actually may have changed are rescanned, before that this was
- done for all source files even if only one source file had
- changed. This reduces e.g. on my machine the time for scanning
- the dependencies of kdelibs/khtml/ when only one file
- (khtml_global.cpp) has changed from around 7.5 seconds to 1.2
- seconds.
-
- The tests succeed, it does what I expected it to do on kdelibs,
- and Brad also reviewed the patch, so I think it should be ok.
-
- Alex
-
-2009-09-23 13:09 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, QCMakeCacheView.cxx,
- QCMakeCacheView.h: fix compile warnings
-
-2009-09-23 12:46 hoffman
-
- * Utilities/Release/: magrathea_release.cmake, release_cmake.cmake:
- Handle older cvs clients that do not allow for the password to be
- in the CVSROOT.
-
-2009-09-23 12:45 hoffman
-
- * Tests/CMakeLists.txt: Add nightly builds for linux windows and
- mac.
-
-2009-09-23 11:38 zach.mullen
-
- * Tests/: CMakeLists.txt, CTestTestParallel/CMakeLists.txt,
- CTestTestParallel/lockFile.c, CTestTestParallel/lockFile.cxx: Set
- new ctest tests to always run, whether CTEST_TEST_CTEST is
- enabled or not. Changed parallel test to be portable.
-
-2009-09-23 10:45 king
-
- * Source/kwsys/SystemTools.cxx: Fix KWSys SystemTools build on
- cygwin with -mwin32
-
- Commit "Optimize KWSys SystemTools::FileExists on Windows"
- accidentally added "#undef _WIN32" when including <windows.h> on
- cygwin, which breaks builds using the -mwin32 flag. This commit
- removes that line and fixes the real error it was intended to
- avoid.
-
-2009-09-23 09:00 zach.mullen
-
- * Tests/CTestTestParallel/test.cmake.in: CTestTestParallel now
- submits to public dashboard for easier debugging
-
-2009-09-23 08:48 king
-
- * Source/cmDocumentVariables.cxx,
- Source/cmGlobalXCodeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.h,
- Tests/SystemInformation/SystemInformation.in: Teach Xcode
- generator to set XCODE_VERSION
-
- We set the variable 'XCODE_VERSION' in the CMake language to the
- Xcode version string (e.g. "3.1.2"). Platform config files may
- use it later.
-
-2009-09-23 01:01 bigler
-
- * Modules/FindCUDA.cmake: Updated formatting of documentation plus
- a little reorganization.
-
-2009-09-23 00:50 bigler
-
- * Modules/FindCUDA/run_nvcc.cmake: Added a command to make the
- output directory. This is to fix the XCode build that uses a
- different output directory than other systems, and rather than
- try to match that we'll just make it.
-
-2009-09-23 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-09-22 18:44 clinton
-
- * Modules/FindQt4.cmake: add support for finding
- qcollectiongenerator executable. fixes #9248.
-
-2009-09-22 18:29 clinton
-
- * Source/QtDialog/: CMakeSetup.cxx, CMakeSetupDialog.cxx: fix issue
- 9346. add binary directory to window title to make it easier to
- deal with multiple cmake-gui instances
-
-2009-09-22 17:08 hoffman
-
- * Utilities/Release/dash2win64_release.cmake: new windows build
- machine for cmake
-
-2009-09-22 17:07 hoffman
-
- * Utilities/Release/vogon_cygwin.cmake: disable svn
-
-2009-09-22 16:28 clinton
-
- * Modules/FindQt4.cmake: Add support for Qt configured with custom
- qtlibinfix (see issue 9571). Also fix CMP 15 warnings.
-
-2009-09-22 16:18 king
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- Fix Xcode project references to the source tree
-
- Xcode project source file references need to always be relative
- to the top of the source tree in order for SCM and debug symbols
- to work right. We must even allow the relative paths to cross
- outside of the top source or build directories.
-
- For subdirectory project() command Xcode projects we use the
- source directory containing the project() command as the top.
- Relative paths are generated accordingly for each subproject.
-
- See issue #8481.
-
-2009-09-22 16:16 king
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: Optionally
- force conversion to relative path
-
- In cmLocalGenerator::ConvertToRelativePath we normally convert to
- relative path only if the local and remote paths both lie inside
- the source tree or both lie inside the build tree. This commit
- adds an optional 'force' argument to allow conversion even when
- this rule is violated.
-
-2009-09-22 16:12 hoffman
-
- * bootstrap: Make sure KWSYS_DO_NOT_CLEAN_PUTENV is defined at
- bootstrap time for cmake in the bootstrap script.
-
-2009-09-22 16:02 king
-
- * Modules/CMakeDetermineCompilerABI.cmake: Skip implicit link info
- for multiple OS X archs
-
- Implicit link information contains architecture-specific
- libraries and directories. The link information cannot be
- explicitly specified safely when CMAKE_OSX_ARCHITECTURES contains
- more than one architecture.
-
- As a result, we currently cannot support mixed-language
- C++/Fortran targets and OS X universal binaries simultaneously.
- In order to avoid conflicts for simple C/C++ cases, we now simply
- skip detection of implicit link information in this case.
-
-2009-09-22 15:58 hoffman
-
- * Source/kwsys/: CMakeLists.txt, Configure.hxx.in: Can not use
- cmakedefine in kwsys because bootstrap of cmake does not support
- it.
-
-2009-09-22 14:56 hoffman
-
- * Source/kwsys/: Configure.hxx.in, SystemTools.cxx: Put a flag in
- that will stop system tools from deleting system environment
- memory on exit, as it can cause gcov to crash the programs.
-
-2009-09-22 14:40 alex
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx: Rescan dependencies also if
- CMakeDirectoryInformation.cmake has changed.
-
- If CMakeDirectoryInformation.cmake is newer than depend.internal
- the include directories may have changed, so dependencies need to
- be scanned again. Ok by Brad.
-
- Alex
-
-2009-09-22 13:02 king
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: Optimize
- KWSys SystemTools::FileExists on Windows
-
- We optimize this method by using the GetFileAttributesExA native
- Windows API to check for file existence when possible. For real
- Windows builds we always use it. For Cygwin we use
- cygwin_conv_to_win32_path to get a native Windows path if
- possible and otherwise fall back to 'access'.
-
- Cygwin-to-Windows path conversion and cache by Wojciech Migda.
- See issue #8826.
-
-2009-09-22 12:05 zach.mullen
-
- * Tests/: CMakeLists.txt, CTestTestParallel/CMakeLists.txt,
- CTestTestParallel/CTestConfig.cmake,
- CTestTestParallel/lockFile.cxx, CTestTestParallel/test.cmake.in:
- Added tests for ctest parallel options (PARALLEL_LEVEL,
- PROCESSORS, RUN_SERIAL)
-
-2009-09-22 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-09-21 23:42 lowman
-
- * Modules/FindBoost.cmake: Make Boost easier to find
-
-2009-09-21 23:07 clinton
-
- * Modules/FindQt4.cmake: Fix issue 9581. Qt 4.5+ needs
- gobject-2.0.
-
-2009-09-21 22:38 lowman
-
- * Modules/: FindCxxTest.cmake, FindGTK2.cmake,
- FindOpenSceneGraph.cmake, FindProtobuf.cmake: Add a blank line to
- my contributed find modules to prevent copyright info from
- showing up in CMake docs
-
-2009-09-21 22:21 lowman
-
- * Modules/FindBoost.cmake: Fix Bug #9158: FindBoost.cmake does not
- work properly with nmake and icl
-
-2009-09-21 17:22 hoffman
-
- * Utilities/Release/release_cmake.sh.in: Use ctest -j to speed up
- tests for release builds.
-
-2009-09-21 17:19 hoffman
-
- * Utilities/Release/release_cmake.cmake: Do not require a cvs login
- for checkout.
-
-2009-09-21 15:29 zach.mullen
-
- * Source/CTest/cmCTestBatchTestHandler.cxx: More SLURM
- experimentation (ctest batch mode)
-
-2009-09-21 15:26 hoffman
-
- * Tests/CMakeLists.txt: For the complex tests since they link to
- the CMake library make sure that they are built with the type of
- build.
-
-2009-09-21 14:58 zach.mullen
-
- * Source/CTest/cmCTestBatchTestHandler.cxx: Fixed a slurm batch
- argument identifier.
-
-2009-09-21 14:21 zach.mullen
-
- * Source/CTest/: cmCTestBatchTestHandler.cxx,
- cmCTestBatchTestHandler.h: Need to quote args when generating
- batch scripts from ctest
-
-2009-09-21 13:40 zach.mullen
-
- * Source/CTest/cmCTestBuildHandler.cxx, Tests/CMakeLists.txt:
- Re-enabled failing tests; fixed ctest_build output to be
- consistent in the error condition across different make programs
- so that these tests would pass.
-
-2009-09-21 13:18 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: Fix Bug #8332, add support for
- .pch files for Xcode.
-
-2009-09-21 13:15 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: Fix Bug #8928, add support for
- .xib files for Xcode.
-
-2009-09-21 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-09-20 23:55 lowman
-
- * Modules/FindProtobuf.cmake: Fix glitch where we were accidently
- unsetting CMAKE_FIND_LIBRARY_PREFIXES
-
-2009-09-20 21:15 lowman
-
- * Modules/FindProtobuf.cmake: Forgot to mark Protobuf cache
- variables as advanced
-
-2009-09-20 20:20 lowman
-
- * Modules/FindALSA.cmake: [NEW Module] FindAlsa audio library
- (Advanced Linux Sound Architecture)
-
-2009-09-20 20:12 lowman
-
- * Modules/FindProtobuf.cmake: [NEW Module] Find and use Google's
- Protocol Buffers library & compiler
-
-2009-09-20 11:33 lowman
-
- * Modules/FindBoost.cmake: Fix boost library detection with Sun
- Studio compiler (Issue #9153)
-
-2009-09-20 09:42 hoffman
-
- * Tests/CMakeLists.txt: Disable test as it fails on every system.
-
-2009-09-20 08:03 lowman
-
- * Modules/FindThreads.cmake: Improve readability
-
-2009-09-20 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-09-19 13:02 alex
-
- * Source/cmDepends.cxx: Minor optimization in dependency checking.
-
- When reading the depend.internal file, check only once for every
- depender whether it exists, instead of repeatedly in a loop for
- each dependee. Within that function it can only change of the
- depender is removed. This is taken care of. This reduces the
- number of access() calls in kdelibs/khtml from 180000 to 90000
- (i.e. 50%), and reduces the time for that (without the actual
- scanning) from 0.3 s to 0.21 s on my system.
-
- Alex
-
-2009-09-19 12:00 king
-
- * Source/: CMakeLists.txt, cmGlobalXCode21Generator.cxx,
- cmGlobalXCode21Generator.h, cmGlobalXCodeGenerator.cxx,
- cmGlobalXCodeGenerator.h: Remove cmGlobalXCode21Generator
- subclass
-
- This subclass of cmGlobalXCodeGenerator only provided two virtual
- method overrides, and it made construction of the Xcode generator
- instance complicated. This commit removes it and replaces the
- virtual methods with tests of the Xcode version. The change
- removes duplicate code.
-
-2009-09-19 10:14 king
-
- * Modules/CMakeCCompiler.cmake.in,
- Modules/CMakeCXXCompiler.cmake.in,
- Modules/Platform/Darwin-GNU-C.cmake,
- Modules/Platform/Darwin-GNU-CXX.cmake,
- Modules/Platform/Darwin-GNU.cmake, Modules/Platform/Darwin.cmake,
- Source/cmLocalGenerator.cxx: Fix check for -isysroot on OS X
-
- Previously we checked for this flag by parsing the version number
- of GCC out of 'gcc --version', but this is not reliable because
- the format can vary greatly. Now we run 'gcc -v --help' and look
- for '-isysroot' in the list of options.
-
- We also now store the result on a per-language basis in the
- per-compiler info file "CMake<LANG>Compiler.cmake". This is
- necessary to make it accessible from try-compile projects so that
- they generate correctly.
-
-2009-09-19 04:33 alex
-
- * Modules/Compiler/: Intel-C.cmake, Intel-CXX.cmake: The
- preprocessing and assembly rules also need the <DEFINES>,
- otherwise different reults are created.
-
- Alex
-
-2009-09-19 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-09-18 15:16 hoffman
-
- * Source/cmLocalGenerator.cxx: Only do the OSX arch stuff on OSX.
-
-2009-09-18 15:01 zach.mullen
-
- * Tests/CMakeLists.txt: Disabling CTestTestNoBuild pending
- investigation of odd g++ output issues.
-
-2009-09-18 14:22 hoffman
-
- * Modules/Platform/Darwin.cmake, Source/cmLocalGenerator.cxx: Add
- detection of gcc versions that do not support isysroot option and
- do not use it for them.
-
-2009-09-18 14:02 zach.mullen
-
- * Tests/CMakeLists.txt: Apparently, on FarAway the presence of
- errors during ctest_build does not cause the calling ctest to
- return an error condition.
-
-2009-09-18 13:34 zach.mullen
-
- * Tests/CMakeLists.txt: Cosmetic change to test CMakeLists
-
-2009-09-18 12:56 david.cole
-
- * Modules/ExternalProject.cmake: Better error message tells user
- possible ways to resolve the error.
-
-2009-09-18 12:16 zach.mullen
-
- * Tests/: CMakeLists.txt, CTestTestCrash/CMakeLists.txt,
- CTestTestCrash/CTestConfig.cmake, CTestTestCrash/crash.cxx,
- CTestTestCrash/test.cmake.in, CTestTestFailure/CMakeLists.txt,
- CTestTestFailure/CTestConfig.cmake, CTestTestFailure/badCode.cxx,
- CTestTestFailure/testNoBuild.cmake.in,
- CTestTestFailure/testNoExe.cmake.in: Added test coverage for
- ctest. Covers WILL_FAIL condition, tests that do not build,
- tests that segfault, and test executable not found (bad command),
- as well as some pass and fail regular expressions.
-
-2009-09-18 10:28 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: Fix the build for version 2.5
- of Xcode.
-
-2009-09-18 09:49 king
-
- * Tests/TryCompile/CMakeLists.txt: Fix CHECK_(C|CXX)_COMPILER_FLAG
- macro test
-
- The flag "-_this_is_not_a_flag_" was not rejected by GCC 4.0 on
- older Mac OS X. We now use "---_this_is_not_a_flag_" instead,
- which will hopefully be rejected by all compilers.
-
-2009-09-18 09:49 king
-
- * Modules/: CheckCCompilerFlag.cmake, CheckCXXCompilerFlag.cmake:
- Fix CHECK_(C|CXX)_COMPILER_FLAG for XL and SunPro
-
- These compilers warn and return 0 for unrecognized flags. We fix
- the compiler flag check macros by looking for a warning in the
- output. We also update the regex for GNU on older Macs. See
- issue #9516.
-
-2009-09-18 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-09-17 17:16 king
-
- * Modules/: CheckCCompilerFlag.cmake, CheckCXXCompilerFlag.cmake:
- Fix CHECK_(C|CXX)_COMPILER_FLAG for HP
-
- This compiler warns and returns 0 for unrecognized flags. We fix
- the compiler flag check macros by looking for a warning in the
- output. See issue #9516.
-
-2009-09-17 16:09 hoffman
-
- * Source/cmLocalGenerator.cxx: Fix case where no archs are found on
- older macs.
-
-2009-09-17 15:33 king
-
- * Tests/TryCompile/CMakeLists.txt: Test CHECK_(C|CXX)_COMPILER_FLAG
- macros
-
- This teaches the TryCompile test to check that the compiler flag
- check macros correctly reject a bad flag. See issue #9516.
-
-2009-09-17 15:32 king
-
- * Modules/: CheckCCompilerFlag.cmake, CheckCXXCompilerFlag.cmake:
- Fix CHECK_(C|CXX)_COMPILER_FLAG for GNU and MSVC
-
- These compilers warn and return 0 for unrecognized flags. We fix
- the compiler flag check macros by looking for a warning in the
- output. See issue #9516.
-
-2009-09-17 15:29 king
-
- * Modules/: CheckCSourceCompiles.cmake,
- CheckCXXSourceCompiles.cmake: Add FAIL_REGEX to
- CHECK_(C|CXX)_SOURCE_COMPILES
-
- This teaches the CHECK_C_SOURCE_COMPILES and
- CHECK_CXX_SOURCE_COMPILES macros to recognize a FAIL_REGEX
- option. If they see the regular expression in the output of the
- test compilation, the check fails.
-
-2009-09-17 15:28 king
-
- * Modules/: CheckCCompilerFlag.cmake, CheckCSourceCompiles.cmake,
- CheckCSourceRuns.cmake, CheckCXXCompilerFlag.cmake,
- CheckCXXSourceCompiles.cmake, CheckCXXSourceRuns.cmake: Cleanup
- generic compiler check macro documentation
-
- This commit improves formatting and style of the documentation
- for the general-purpose compiler check macros:
-
- CHECK_C_COMPILER_FLAG
- CHECK_C_SOURCE_COMPILES
- CHECK_C_SOURCE_RUNS
- CHECK_CXX_COMPILER_FLAG
- CHECK_CXX_SOURCE_COMPILES
- CHECK_CXX_SOURCE_RUNS
-
- This sytle is more consistent with CMake command documentation.
- It also looks nicer in the generated documentation text files.
-
-2009-09-17 13:08 alex
-
- * Modules/CMakeFindEclipseCDT4.cmake: The check for include dirs
- and builtin macros also works with the Intel compiler
-
- Alex
-
-2009-09-17 11:52 hoffman
-
- * Modules/Platform/Darwin.cmake, Source/cmGlobalXCodeGenerator.cxx,
- Source/cmLocalGenerator.cxx: Fix for bug #9466. Change the
- implementation of OSX arch lists. If no ARCHs are specified by
- the user then no flags are set. We no longer use
- CMAKE_OSX_ARCHITECTURES_DEFAULT.
-
-2009-09-17 09:18 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: Bug #9430, recognize
- the FR flag
-
-2009-09-17 08:42 king
-
- * Source/: cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx: Do not call CollapseFullPath for
- PDB file names
-
- Some vendor tools convert PDB file names given on the command
- line to lower-case before creating the file. When CMake places a
- mixed-case PDB file name into the build system, the file does not
- exist the first time and it is written with mixed case. After
- the first build though the native tool has created a lower-case
- version of the file. If CMake does CollapseFullPath again, the
- file exists so the actual-case lookup gets the lower-case name.
- This causes the build files to change so the project rebuilds.
-
- The solution is to avoid calling CollapseFullPath for files
- generated by the build. In the case of PDB files we already
- construct them from paths that have been collapsed, so we can
- just skip the call altogether. See issue #9350.
-
-2009-09-17 08:25 king
-
- * Source/cmMakefile.cxx: Remove old check for duplicate
- subdirectories
-
- In cmMakefile::AddSubDirectory we were checking for addition of
- the same source directory multiple times. However, the check
- code was incorrect because it compared pointers instetad of
- pointed-to strings. Since the check was written, a better check
- was added right after it to enforce unique binary directories (in
- which case duplicate sources are fine). This commit simply
- removes the old-style check code.
-
-2009-09-17 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-09-16 21:02 hoffman
-
- * Source/cmake.cxx: Fix typo in name
-
-2009-09-16 18:01 alex
-
- * Source/: cmExtraEclipseCDT4Generator.h,
- cmExtraEclipseCDT4Generator.cxx,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: Major improvement of the
- generated targets in Eclipse.
-
- Before this change all targets were displayed in the top level
- directory of the project. Now the targets are displayed in the
- correct directory. The targets "clean" and "all" are now created
- in every subdirectory. Also now the targets for just compiling
- one file, preprocessing one file, assembling one file are are
- created for Eclipse. Additionally all targets get a prefix now
- in eclipse, so that they are sorted in a way which makes sense
- (global targets first, then executable and libraries, then object
- files, then preprocessed, then assembly). Also this prefix gives
- the user a hint what the target is, i.e. whether it's a library
- or an executable or something else.
-
- Alex
-
-2009-09-16 15:09 king
-
- * Tests/CMakeTests/: CMakeLists.txt, ConfigureFile-BadArg.cmake,
- ConfigureFile-DirInput.cmake, ConfigureFile-DirOutput.cmake,
- ConfigureFile-Relative.cmake, ConfigureFileTest.cmake.in: Create
- CMake.ConfigureFile test for configure_file
-
- This test checks that configure_file() handles input and output
- file arguments as documented.
-
-2009-09-16 15:09 king
-
- * Source/: cmConfigureFileCommand.cxx, cmConfigureFileCommand.h:
- Teach configure_file to handle directory names
-
- This commit teaches configure_file how to handle directories for
- input and output. It is an error if the input is a directory.
- If the output is a directory we put the configured copy of the
- input file in it with the same name. See issue #9537.
-
-2009-09-16 15:09 king
-
- * Source/: cmConfigureFileCommand.cxx, cmConfigureFileCommand.h:
- Teach configure_file to handle relative paths
-
- The configure_file() command now converts relative output paths
- to full paths using the current binary directory. Input relative
- paths were already converted using the current source directory,
- but this behavior was not previously documented.
-
-2009-09-16 15:09 king
-
- * Source/: cmConfigureFileCommand.cxx, cmConfigureFileCommand.h:
- Fix typo in cmConfigureFileCommand ivar name
-
- Rename 'OuputFile' to 'OutputFile'.
-
-2009-09-16 15:09 king
-
- * Tests/CMakeTests/: CheckCMakeTest.cmake, FileTest.cmake.in:
- Factor out CMake.File test result check for re-use
-
- The CMake.File test runs several scripts through "cmake -P" and
- checks the output and result against known good values. This
- commit factors out the checking code into a separate
- CMakeCheckTest module. The module may be used by new tests.
-
-2009-09-16 14:37 alex
-
- * Source/cmExtraEclipseCDT4Generator.cxx,
- Modules/CMakeFindEclipseCDT4.cmake: Put compiler defined macros
- into eclipse project files
-
- Now gcc is queried also for the builtin definitions, and they are
- then added to the .cproject file. This should make the
- preprocessor highlighting in eclipse work better (#9272) Patch
- mostly from Miguel.
-
- Alex
-
-2009-09-16 14:20 hoffman
-
- * Modules/FindJNI.cmake: Bug #09476, add more search paths for jni.
-
-2009-09-16 12:40 hoffman
-
- * Modules/UsePkgConfig.cmake: Fix for bug#9553, print a warning if
- pkg-config is not found.
-
-2009-09-16 12:33 king
-
- * Modules/Platform/: Linux-VisualAge-CXX.cmake, Linux-XL-CXX.cmake:
- Fix XL C++ compiler flags on Linux
-
- In Platform/Linux.cmake we add GNU flags as default for the
- platform which breaks non-GNU compilers. Later we should
- refactor these flag files to put compiler-specific flags only in
- files loaded for each compiler. Until then this commit fixes the
- XL C++ compiler flags on Linux by erasing the GNU flags. See
- issue #9469.
-
-2009-09-16 11:49 hoffman
-
- * Source/CTest/cmCTestRunTest.cxx: Fix uninitialized errors.
-
-2009-09-16 11:44 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: Generate proper Intel
- Fortran project version
-
- The Intel Visual Fortran compiler plugin for MS Visual Studio may
- be one of several versions of the Intel compiler. This commit
- teaches CMake to detect the plugin version and set the version
- number in .vfproj files. See issue #9169.
-
-2009-09-16 11:44 king
-
- * Source/: cmGlobalVisualStudio10Generator.h,
- cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio71Generator.h,
- cmGlobalVisualStudio7Generator.h,
- cmGlobalVisualStudio8Generator.h,
- cmGlobalVisualStudio9Generator.h,
- cmGlobalVisualStudioGenerator.cxx,
- cmGlobalVisualStudioGenerator.h: Create VS generator
- GetRegistryBase method
-
- This method returns the registry key
-
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\<version>
-
- A protected GetIDEVersion method retrieves the version-specific
- part of the key name.
-
-2009-09-16 09:52 king
-
- * Tests/FunctionTest/CMakeLists.txt: Test add_subdirectory inside
- function
-
- This commit teaches the FunctionTest to check variable scope
- behavior when a subdirectory is added inside a function call.
- Any PARENT_SCOPE sets in the subdirectory should affect only the
- function scope which called add_subdirectory and not its parent
- scope.
-
-2009-09-16 09:51 king
-
- * Source/cmMakefile.cxx: Initialize directory scope with closure of
- parent
-
- The commit "Improve dynamic variable scope implementation"
- optimized function scopes using an efficient parent scope
- pointer. However, the parent scope used to initialize a new
- directory might not exist later (like add_subdirectory called
- inside a function of the parent scope). This caused CMake to
- crash when following the dangling pointer to the original parent
- scope.
-
- We fix the problem in this commit by always computing the closure
- of the parent scope at directory initialization time so that no
- parent scope pointer is needed. See issue #9538.
-
-2009-09-16 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-09-15 02:38 bigler
-
- * Modules/: FindCUDA.cmake, FindCUDA/make2cmake.cmake,
- FindCUDA/parse_cubin.cmake, FindCUDA/run_nvcc.cmake: Initial
- version of FindCUDA script. Still needs documentation
- formatting.
-
-2009-09-15 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-09-14 22:16 hoffman
-
- * Source/cmake.cxx: Fix for bug #8969, pick a better default
- version for VS, and make it easier to add new versions of VS to
- look for.
-
-2009-09-14 20:54 hoffman
-
- * Source/cmDocumentationFormatterHTML.cxx: Fix for bug# 5373,
- include CMake verison in generated docs.
-
-2009-09-14 15:53 alex
-
- * Modules/FindPNG.cmake: fix #9152: find ZLIB quietly if PNG is
- searched QUIETLY
-
- Alex
-
-2009-09-14 15:20 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: Bug #8356, add support for
- image types in Xcode files.
-
-2009-09-14 14:59 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: Fix for bug #8807, add support
- for CMAKE_EXE_LINKER_FLAGS_(config) to Xcode generator.
-
-2009-09-14 13:45 hoffman
-
- * Source/: cmake.cxx, kwsys/Glob.cxx, kwsys/Glob.hxx.in: Fix for
- Bug #9190, -U did not work on case insensitive file systems
- because of call to glob convert to regex that expected to work
- with files.
-
-2009-09-14 13:42 hoffman
-
- * Source/cmIfCommand.h: Clarify documentation for if.
-
-2009-09-14 11:23 zach.mullen
-
- * Source/CTest/: cmCTestBatchTestHandler.cxx, cmCTestRunTest.cxx:
- Removed fork-and-continue option from ctest generated batch
- script entries
-
-2009-09-14 10:31 hoffman
-
- * Source/: cmDependsJavaParserHelper.cxx,
- cmDependsJavaParserHelper.h: Fix open solaris build issue with
- concept checking that breaks std vector for a class of itself.
- Bug #9523.
-
-2009-09-14 09:34 hoffman
-
- * Modules/FindPythonLibs.cmake: Change FindPythonLibs to use the
- standard _DIR instead of _PATH but stay backwards compatible
-
-2009-09-14 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-09-13 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-09-12 10:20 king
-
- * Source/CTest/cmProcess.cxx: Avoid shadowing std::vector member
-
- The cmProcess::Buffer class derives from std::vector. We were
- using local variable 'data' in the GetLine method but this name
- shadowed a member of vector with GNU. This renames it to 'text'.
-
-2009-09-12 06:25 alex
-
- * Modules/FindRuby.cmake: major improvement of FindRuby.cmake
-
- -now supports specifying minimum required version -now supports
- ruby 1.8 and 1.9 -uses find_package_handle_standard_args() now
- -fix #6212 and using a lot of ideas from the file attached there
-
- Alex
-
-2009-09-12 04:38 alex
-
- * Modules/FindRuby.cmake: use HINTS instead of PATHS and also look
- for libruby-static.a (which is built by default)
-
- Alex
-
-2009-09-12 02:15 alex
-
- * Modules/CMakeASM-ATTInformation.cmake: Don't pass *.S files to
- the assembler, they must go through gcc, because they must be
- preprocessed
-
- Alex
-
-2009-09-12 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-09-11 17:15 hoffman
-
- * Source/CTest/cmCTestHandlerCommand.cxx: Fix for bug#9442, ctest
- crash if CTEST_SOURCE_DIRECTORY was not set.
-
-2009-09-11 16:39 king
-
- * Tests/CMakeLists.txt: Test that CTest can handle missing newlines
-
- We create test 'CTest.NoNewline' to print output with no newline.
- This tests CTest's ability to handle a missing newline.
-
-2009-09-11 16:20 king
-
- * Source/CTest/cmProcess.cxx: Fix new CTest output handling for no
- newline
-
- When we clear the buffer for an output pipe after returning the
- last partial line (without a newline) we need to set the partial
- line range to empty. Otherwise the buffer object is left in an
- inconsistent state.
-
-2009-09-11 13:34 hoffman
-
- * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx,
- CTest/cmCTestTestHandler.cxx: Add label summary times to ctest
- default output. Also, remove parallel time output. Add flag to
- disable label summary.
-
-2009-09-11 12:26 king
-
- * Source/CTest/: cmCTestMultiProcessHandler.cxx,
- cmCTestRunTest.cxx, cmCTestRunTest.h, cmProcess.cxx, cmProcess.h:
- Rewrite CTest child output handling
-
- This commit fixes cmCTestRunTest and cmProcess to more
- efficiently handle child output. We now use the buffer for each
- child output pipe to hold at most a partial line plus one new
- block of data at a time. All complete lines are scanned
- in-place, and then only the partial line at the end of the buffer
- is moved back to the beginning before appending new data.
-
- We also simplify the cmProcess interface by making
- GetNextOutputLine the only method that needs to be called while
- the process is running. This simplifies cmCTestRunTest so that
- CheckOutput can be called until it returns false when the process
- is done.
-
-2009-09-11 10:09 king
-
- * Source/CTest/: cmCTestMultiProcessHandler.cxx,
- cmCTestRunTest.cxx, cmCTestRunTest.h: Initialize cmCTestRunTest
- instances robustly
-
- All instances of this class need a cmCTestTestHandler, so we now
- require one to construct it. The instance also provides the
- cmCTest instance too.
-
-2009-09-11 10:04 king
-
- * Source/: cmCacheManager.cxx, cmCacheManager.h, cmake.cxx: Remove
- barely-used cmCacheManager::AddCacheEntry
-
- The commit "Remove barely-used cmMakefile::AddCacheDefinition"
- removed all but one use of the cmCacheManager method 'bool'
- overload. This commit removes the other use and the entire
- method, thus reducing code duplication.
-
-2009-09-11 10:03 king
-
- * Source/cmOptionCommand.cxx: Fix option() interpretation of
- non-boolean values
-
- The commit "Remove barely-used cmMakefile::AddCacheDefinition"
- broke option() calls that pass a non-boolean default value. We
- restore the old behavior by always coercing the value to 'ON' or
- 'OFF'.
-
-2009-09-11 08:17 king
-
- * Source/: CPack/cpack.cxx, CTest/cmCTestBuildHandler.cxx,
- CursesDialog/cmCursesMainForm.cxx, cmCMakeMinimumRequired.cxx,
- cmExecuteProcessCommand.cxx, cmFileCommand.cxx,
- cmFindPackageCommand.cxx, cmPolicies.cxx, cmSetCommand.cxx,
- cmSystemTools.cxx, cmUtilitySourceCommand.cxx: Add parentheses
- around '&&' between '||' for gcc
-
- The GNU compiler warns about possible operator precedence
- mistakes and asks for explicit parentheses (-Wparentheses). We
- add the parentheses to silence the warning. This also fixes one
- real logic error in the find_package() implementation by
- correcting expression evaluation order.
-
-2009-09-11 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-09-10 16:59 king
-
- * Source/: cmMakefile.cxx, cmMakefile.h, cmOptionCommand.cxx,
- cmPolicies.cxx, cmPolicies.h, cmSetCommand.cxx, cmSetCommand.h:
- Create CMake Policy CMP0015 to fix set(CACHE)
-
- The set(CACHE) and option() commands should always expose the
- cache value. Previously we failed to expose the value when it
- was already set if a local variable definition hid it. When set
- to NEW, this policy tells the commands to always remove the local
- variable definition to expose the cache value. See issue #9008.
-
-2009-09-10 16:59 king
-
- * Source/: cmMakefile.cxx, cmMakefile.h, cmOptionCommand.cxx:
- Remove barely-used cmMakefile::AddCacheDefinition
-
- The boolean overload of this method was used only to implement
- option(). We re-implement option() in terms of the main method
- and removes the now-unused signature. This removes some
- duplicate code that had already fallen behind on changes (it was
- not removing the local definition instead of setting it).
-
-2009-09-10 13:49 alex
-
- * Source/: cmExtraEclipseCDT4Generator.cxx,
- cmExtraEclipseCDT4Generator.h: sync target generation with the
- CodeBlocks generator
-
- Basically the code is now a copy of the one from the CodeBlocks
- generator, maybe this could move into a common helper function
- somewhere: -only insert GLOBAL targets from the toplevel
- directory -don't insert the edit_cache target if it calls ccmake,
- since this doesn't work in the output tab of Eclipse -add the
- /fast targets
-
- Alex
-
-2009-09-10 13:44 alex
-
- * Source/cmExtraCodeBlocksGenerator.cxx: As in the Eclipse
- generator: don't insert the edit_cache target if it is ccmake,
- since this doesn't work in the output tab of the IDE
-
-2009-09-10 11:18 zach.mullen
-
- * Source/CTest/: cmCTestBatchTestHandler.cxx,
- cmCTestBatchTestHandler.h: Added some ctest batch capabilities
-
-2009-09-10 11:16 zach.mullen
-
- * Source/: CMakeLists.txt, CTest/cmCTestMultiProcessHandler.cxx,
- CTest/cmCTestMultiProcessHandler.h, CTest/cmCTestRunTest.cxx,
- CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h: BUG:
- Fixed segfault and bad reporting if a ctest executable could not
- be found. Also added some batch testing code that is not yet
- complete.
-
-2009-09-10 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-09-09 16:39 king
-
- * Tests/Fortran/CMakeLists.txt: Enable C and C++ first in Fortran
- test
-
- CMake now looks for a Fortran compiler matching any C or C++
- compiler already enabled. We test this by enabling C and C++
- first in the Fortran test, which is what user projects will
- likely do.
-
-2009-09-09 16:39 king
-
- * Modules/CMakeDetermineFortranCompiler.cmake: Bias Fortran
- compiler search with C/C++ compilers
-
- When CMAKE_Fortran_COMPILER and ENV{FC} are not defined CMake
- searches for an available Fortran compiler. This commit teaches
- the search code to look for compiler executables next to the C
- and C++ compilers if they are already found. Furthermore, we
- bias the compiler executable name preference order based on the
- vendor of the C and C++ compilers, which increases the chance of
- finding a compatible compiler by default.
-
-2009-09-09 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-09-08 17:28 david.cole
-
- * Modules/ExternalProject.cmake: Missed another CMAKE_CFG_INTDIR
- reference in the previously previous commit.
-
-2009-09-08 17:10 zach.mullen
-
- * Source/CTest/: cmCTestMultiProcessHandler.cxx,
- cmCTestMultiProcessHandler.h, cmCTestTestHandler.cxx: ENH: ctest
- now writes time cost data to a file after a test set is run, and
- uses these time costs to schedule the processes the next time
- ctest is run in that build tree.
-
-2009-09-08 16:11 david.cole
-
- * Modules/ExternalProject.cmake: Missed a CMAKE_CFG_INTDIR
- reference in the previous commit.
-
-2009-09-08 15:55 king
-
- * Modules/: CMakeBuildSettings.cmake.in,
- CMakeExportBuildSettings.cmake, CMakeImportBuildSettings.cmake,
- UseVTK40.cmake: Drop old CMake "build settings" export/import
-
- The CMakeExportBuildSettings and CMakeImportBuildSettings modules
- used to export compiler paths and flags from one project and
- import them into another. The import process would force the
- settings on the including project.
-
- Forcing settings helped long ago when compiler ABIs changed
- frequently but is now just a nuisance. We've deemed the behavior
- harmful so this commit simply removes it. The modules and macros
- now error out if included or called from a project that requires
- CMake 2.8 or higher.
-
-2009-09-08 15:37 david.cole
-
- * Modules/ExternalProject.cmake,
- Tests/ExternalProject/CMakeLists.txt: Use more
- verbose/descriptive names for the "public API" functions in the
- ExternalProject.cmake module. Follow the cmake function naming
- convention, using a ModuleFileName_ prefix. Locate stamp files
- under a CMAKE_CFG_INTDIR subdir of the stamp dir so that debug
- and release builds have separate stamp files for Visual Studio
- builds. If no CMAKE_GENERATOR argument is given to
- ExternalProject_Add, default to using the parent project's cmake
- generator.
-
-2009-09-08 14:48 zach.mullen
-
- * Source/CTest/: cmCTestMultiProcessHandler.cxx, cmProcess.cxx:
- BUG: Fixed extraneous newlines from ctest process output
-
-2009-09-08 13:39 zach.mullen
-
- * Source/: CTest/cmCTestMultiProcessHandler.cxx,
- cmSetTestsPropertiesCommand.h,
- CTest/cmCTestMultiProcessHandler.h, CTest/cmCTestTestHandler.cxx,
- CTest/cmCTestTestHandler.h: ENH: Replaced the EXPENSIVE test
- property with a COST test property taking a floating point value.
- Tests are now started in descending order of their cost, which
- defaults to 0 if none is specified.
-
-2009-09-08 10:16 zach.mullen
-
- * Source/CTest/: cmCTestRunTest.cxx, cmProcess.cxx, cmProcess.h:
- BUG: Fixed issue where ctest would hang if a process terminated
- with output in its buffers but no newline
-
-2009-09-08 09:12 zach.mullen
-
- * Source/CTest/cmCTestRunTest.h: Fixed warning
-
-2009-09-08 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-09-07 10:26 zach.mullen
-
- * Source/: CTest/cmCTestMultiProcessHandler.cxx,
- CTest/cmCTestMultiProcessHandler.h, CTest/cmCTestRunTest.cxx,
- CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h,
- cmSetTestsPropertiesCommand.h: ENH: Added ctest test options
- PROCESSORS and RUN_SERIAL. These allow specification of resource
- allocation for given tests running with the ctest -j N option.
- RUN_SERIAL ensures that a given test does not run in parallel
- with any other test. Also forced appending of "..." to the
- longest test name in ctest.
-
-2009-09-07 10:12 king
-
- * Source/cmVisualStudio10TargetGenerator.cxx,
- Source/cmVisualStudio10TargetGenerator.h, Tests/CMakeLists.txt:
- Put custom commands in topological order for VS 10
-
- Visual Studio 10 uses MSBuild to drive the build. Custom
- commands appear in MSBuild files inside CustomBuild elements,
- which appear inside ItemGroup elements. The Outputs and
- AdditionalInputs elements of each CustomBuild element are
- evaluated according to timestamps on disk.
-
- MSBuild does not use inputs/outputs to order CustomBuild steps
- within a single ItemGroup or across multiple ItemGroup elements.
- Instead we must put only unrelated CustomBuild elements in a
- single ItemGroup and order the item groups from top to bottom
- using a topological order of the custom command dependency graph.
-
- This fixes CustomCommand and ExternalProject test failures, so we
- remove the expectation of these failures.
-
-2009-09-07 10:11 king
-
- * Source/: cmTarget.cxx, cmTarget.h: Save source dependencies from
- custom command trace
-
- In each target we trace dependencies among custom commands to
- pull in all source files and build rules necessary to complete
- the target. This commit teaches cmTarget to save the
- inter-source dependencies found during its analysis. Later this
- can be used by generators that need to topologically order custom
- command rules.
-
-2009-09-07 10:11 king
-
- * Source/: cmLocalVisualStudio10Generator.cxx,
- cmLocalVisualStudioGenerator.cxx, cmLocalVisualStudioGenerator.h,
- cmVisualStudio10TargetGenerator.cxx: Do Windows command line
- escapes for VS 10 too
-
- Until now the VS 10 generator did no Windows command-line
- escaping and just did XML escapes. This commit teaches the
- generator to use the same command-line escape addition code used
- by other generators. The script construction method
- cmLocalVisualStudioGenerator::ConstructScript need not do XML
- escapes. Each VS generator version adds the XML escapes
- necessary for that version.
-
-2009-09-07 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-09-06 13:24 alex
-
- * Source/cmFileCommand.cxx: Try to fix the failing new
- StringFileTest on HP-UX
-
- It seems that while(i=file.get(), file) iterates one character
- too much on HP-UX, let's see whether while(file.get(c)) works, at
- least this is given as example on
- http://h30097.www3.hp.com/cplus/ifstream_3c__std.htm
-
- Alex
-
-2009-09-06 10:26 alex
-
- * Tests/StringFileTest/: CMakeLists.txt, test.bin: Add a test for
- FILE(READ ... HEX) together with a tiny binary file.
-
- Alex
-
-2009-09-06 09:49 alex
-
- * Source/cmFileCommand.cxx: fix #9316: when converting binary data
- to hex, also print the leading 0's
-
- Alex
-
-2009-09-06 05:43 alex
-
- * Source/cmExtraCodeBlocksGenerator.cxx: Improve the algorithm
- which skips targets so they are not added to the codeblocks GUI.
-
- -add all global targets from CMAKE_BINARY_DIR to the menu, but
- not from the subdirs -add all utility targets to the menu, except
- the Nightly/Experimental/Continuous-"sub"targets as e.
-
- Alex
-
-2009-09-06 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-09-05 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-09-04 18:19 david.cole
-
- * Modules/FindMPI.cmake: Oops. Close strings with double quotes.
- Where they're supposed to be.
-
-2009-09-04 18:02 david.cole
-
- * Modules/FindMPI.cmake: Add MPICH2 and Microsoft HPC paths, add
- paths to find mpiexec. Now it works better automatically on
- Windows. Thanks to Dave Partyka for developing the patch.
-
-2009-09-04 17:01 hoffman
-
- * Source/CTest/cmCTestScriptHandler.cxx: Fix memory and process
- leak in ctest_run_script.
-
-2009-09-04 16:43 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h: fix
- focus fighting between search field and cache value editors
-
-2009-09-04 14:00 david.cole
-
- * Source/CTest/cmCTestSubmitHandler.cxx: Increase curl submit
- timeout. A submit will timeout if there are 120 seconds of very
- little activity. 30 seconds was too short.
-
-2009-09-04 13:50 zach.mullen
-
- * Source/CTest/: cmCTestRunTest.cxx, cmProcess.cxx, cmProcess.h:
- Fixed ctest output processing. Should now display output as it
- occurs, as well as be able to consume multiple lines if they
- exist within the timeout.
-
-2009-09-04 13:24 hoffman
-
- * Source/CTest/: cmCTestRunScriptCommand.cxx,
- cmCTestRunScriptCommand.h, cmCTestScriptHandler.cxx,
- cmCTestScriptHandler.h: Change run_ctest_script in ctest to not
- stop processing when there is an error in the script being run.
- Also, add a RETURN_VALUE option so that you can find out if the
- script failed
-
-2009-09-04 12:39 king
-
- * Source/cmTarget.cxx: Cleanup source file dependency tracing logic
-
- In cmTarget we trace the dependencies of source files in the
- target to bring in all custom commands needed to generate them.
- We clean up the implementation to use simpler logic and better
- method names. The new approach is based on the observation that
- a source file is actually an input (dependency) of the rule that
- it runs (compiler or custom) even in the case that it is
- generated (another .rule file has the rule to generate it).
-
-2009-09-04 12:39 king
-
- * Source/: cmTarget.cxx, cmTarget.h: Cleanup cmTarget source file
- list representation
-
- This teaches cmTarget to use a set of cmSourceFile pointers to
- guarantee unique insertion of source files in a target. The
- order of insertion is still preserved in the SourceFiles vector.
-
-2009-09-04 12:38 king
-
- * Source/cmake.cxx: Simplify VS CMake re-run check
-
- When CMake is invoked by the VS IDE re-run rule we compute
- whether or not CMake really needs to re-run based on some
- timestamp helper files. Previously we assumed that if the main
- generate.stamp file exists then VS has correctly detected that
- the file is out of date. However, this assumption is too
- aggressive and re-runs CMake unnecessarily sometimes.
-
- This commit removes the assumption and always checks timestamps
- itself. The change breaks the explicit user re-run request
- (R-click -> Compile) but only in cases when the build system is
- already up to date.
-
-2009-09-04 12:37 king
-
- * Source/: cmGlobalVisualStudio8Generator.cxx,
- cmGlobalVisualStudio8Generator.h: Simplify VS generator
- ZERO_CHECK dependency
-
- The VS generators use a ZERO_CHECK target on which all other
- targets depend to check whether CMake needs to re-run. This
- commit simplifies the addition of a dependency on the target to
- all other targets.
-
- We also move addition of dependencies to the beginning of the
- Generate step. This allows the dependency on ZERO_CHECK to be
- included in the global inter-target dependency analysis.
-
-2009-09-04 11:23 zach.mullen
-
- * Source/CTest/cmProcess.cxx: Fixed output as-it-happens issue.
- Now displays output as it receives each newline.
-
-2009-09-04 10:16 zach.mullen
-
- * Source/CTest/: cmCTestMultiProcessHandler.cxx,
- cmCTestMultiProcessHandler.h, cmCTestTestHandler.cxx,
- cmProcess.cxx: Added the test property EXPENSIVE, which denotes
- that the given test(s) should be started prior to tests that are
- not marked as such. Also fixed test dependencies, and a few
- uninitialized variables in cmProcess.
-
-2009-09-04 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-09-03 17:01 hoffman
-
- * CMakeCPackOptions.cmake.in, CMakeLists.txt,
- Source/CMakeLists.txt, Source/cmDocumentVariables.cxx,
- Source/cmake.cxx: Remove CMakeSetup. Long live cmake-gui, start
- building Qt now.
-
-2009-09-03 15:58 martink
-
- * Source/cmSubdirCommand.h: some white space fixes for the book
-
-2009-09-03 15:50 zach.mullen
-
- * Source/CTest/cmProcess.cxx: Fixed 2 unused variable warnings
-
-2009-09-03 15:33 zach.mullen
-
- * Source/CTest/: cmCTestMultiProcessHandler.cxx,
- cmCTestRunTest.cxx, cmCTestRunTest.h, cmProcess.cxx, cmProcess.h:
- Allowed tests to pull more than one line of output in their
- quantum. Fixed uninitialized variables in the case that the test
- process could not start.
-
-2009-09-03 15:29 martink
-
- * Modules/CPack.cmake, Modules/FeatureSummary.cmake,
- Source/cmAddExecutableCommand.h, Source/cmAddLibraryCommand.h,
- Source/cmDefinePropertyCommand.h, Source/cmDocumentVariables.cxx,
- Source/cmEnableLanguageCommand.h, Source/cmFindCommon.cxx,
- Source/cmListCommand.h, Source/cmSetCommand.h,
- Source/cmSetDirectoryPropertiesCommand.h,
- Source/cmSubdirCommand.h, Source/cmTryRunCommand.h: some white
- space fixes for the book
-
-2009-09-03 12:11 david.cole
-
- * Modules/ExternalProject.cmake,
- Tests/ExternalProject/CMakeLists.txt: Add test step to
- ExternalProject builds. Rename SVN_TAG to SVN_REVISION since it
- is a more accurate name.
-
-2009-09-03 11:14 zach.mullen
-
- * Source/: CTest/cmCTestMultiProcessHandler.cxx,
- CTest/cmCTestTestCommand.h, CTest/cmCTestTestHandler.cxx,
- CTest/cmCTestTestHandler.h, cmSetTestsPropertiesCommand.h: Fixed
- warnings
-
-2009-09-03 11:10 king
-
- * Source/kwsys/RegularExpression.hxx.in: COMP: Silence useless
- Borland inlining warning
-
- KWSys tries not to force anything on source files that include
- its headers, but Borland warning 8027 leaves us no choice when we
- want to have inline function definitions. This commit disables
- the warning for the RegularExpression header and any file that
- includes it.
-
-2009-09-03 10:47 zach.mullen
-
- * Source/cmSetTestsPropertiesCommand.h,
- Source/CTest/cmCTestMemCheckCommand.h,
- Source/CTest/cmCTestMultiProcessHandler.cxx,
- Source/CTest/cmCTestRunTest.cxx,
- Source/CTest/cmCTestTestHandler.cxx,
- Source/CTest/cmCTestTestHandler.h,
- Tests/CTestTest3/test.cmake.in: ENH: Added PARALLEL_LEVEL option
- for ctest_memcheck(). Added PROCESSORS option to
- set_tests_properties (implementation to come).
-
-2009-09-03 08:27 king
-
- * Source/: cmLocalGenerator.cxx, cmPolicies.cxx, cmPolicies.h:
- Create CMP0014 to require CMakeLists.txt files
-
- Until now CMake accidentally accepted add_subdirectory() and
- subdirs() calls referring to directories that do not contain a
- CMakeLists.txt file. We introduce CMake Policy CMP0014 to make
- this case an error.
-
-2009-09-03 08:26 king
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: Factor
- cmLocalGenerator::Configure input file read
-
- This method tells the cmMakefile to read the input CMakeLists.txt
- file. We factor out the call into a ReadInputFile method so it
- can be extended without polluting the Configure method.
-
-2009-09-03 08:26 king
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: Factor
- cmLocalGenerator::Configure object max path
-
- Much of the code in this method was dedicated to computing
- ObjectMaxPath after configuring the directory. We move this last
- step into its own ComputeObjectMaxPath method for better
- organization.
-
-2009-09-03 08:26 king
-
- * Source/cmLocalGenerator.cxx: Manage current local generator with
- automatic var
-
- The cmLocalGenerator::Configure method sets its cmLocalGenerator
- instance as the global generator's current local generator during
- configuration. This commit refactors management of the current
- local generator to use an automatic variable. This will allow
- early returns from the method.
-
-2009-09-03 08:26 king
-
- * Source/cmPolicies.cxx: Fix typo in REQUIRED_ALWAYS policy error
- message
-
-2009-09-03 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-09-02 16:32 zach.mullen
-
- * Source/CTest/cmCTestMultiProcessHandler.cxx: STYLE: line length
-
-2009-09-02 16:07 king
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: Silence VS generator for
- missing CMakeLists.txt
-
- CMake Makefile generators silently ignore missing CMakeLists.txt
- files and just treat the source directory as if it had an empty
- input file. This will be addressed with a new CMake Policy, but
- for now we make the VS generator consistent with the Makefile
- generator behavior. The VS generator will need to handle the OLD
- behavior of the policy anyway.
-
-2009-09-02 16:06 king
-
- * Source/cmGlobalGenerator.cxx: Speed up graph traversal for
- project->targets map
-
- The cmGlobalGenerator::AddTargetDepends method traces the
- dependencies of targets recursively to collect the complete set
- of targets needed for a given project (for VS .sln files). This
- commit teaches the method to avoid tracing its dependencies more
- than once. Otherwise the code does an all-paths walk needlessly.
-
-2009-09-02 12:35 zach.mullen
-
- * Source/CTest/: cmCTestTestCommand.cxx, cmCTestTestCommand.h,
- cmCTestTestHandler.cxx: ENH: Added PARALLEL_LEVEL option to
- ctest_test() command.
-
-2009-09-02 10:08 zach.mullen
-
- * Modules/CTest.cmake, Modules/DartConfiguration.tcl.in,
- Source/cmCTest.cxx, Source/CTest/cmCTestMultiProcessHandler.cxx,
- Source/CTest/cmCTestMultiProcessHandler.h,
- Source/CTest/cmCTestRunTest.cxx, Source/CTest/cmCTestRunTest.h,
- Source/CTest/cmCTestTestHandler.h, Source/cmCTest.h: Fixed ctest
- output where max test index is not the same width as the total
- number of tests. Also some preliminary changes for batching
- ctest jobs
-
-2009-09-02 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-09-01 17:23 david.cole
-
- * Source/CTest/cmCTestSubmitHandler.cxx: Add curl timeout options
- to the SubmitUsingHTTP method. They were only in the
- SubmitUsingFTP method.
-
-2009-09-01 16:33 hoffman
-
- * Modules/Platform/: Windows-icl.cmake, Windows-ifort.cmake: Add
- support for embeded manifests for Intel C/C++/Fortran compilers
-
-2009-09-01 16:23 hoffman
-
- * Modules/Platform/Windows-Intel.cmake: Add a module to determine
- if the intel linker supports manifest creation
-
-2009-09-01 15:41 king
-
- * Tests/CTestUpdateGIT.cmake.in: Make CTest.UpdateGIT robust to
- user git config
-
- Part of this test does "git pull" on a dirty work tree. We need
- to make sure that 'branch.master.rebase' is false for the test
- repository. Otherwise if it is true in the user configuration
- then pull will refuse to rebase and the test will fail.
-
-2009-09-01 15:21 clinton
-
- * Modules/FindQt4.cmake: use -o flag instead of > for qdbuscpp2xml
-
-2009-09-01 15:08 hoffman
-
- * Source/cmake.cxx: Use the MANIFEST flag for non incremental
- linking as well.
-
-2009-09-01 14:33 hoffman
-
- * Modules/Platform/Windows-cl.cmake, Source/cmake.cxx: Move
- /MANIFEST flag into -E vs_link. This is so it can be used by the
- intel compilers without having to specifiy it in the intel
- compiler files
-
-2009-09-01 14:10 hoffman
-
- * Source/cmake.cxx: Handle embeded manifests with ifort.
-
-2009-09-01 14:05 king
-
- * Tests/FindPackageTest/: CMakeLists.txt, Exporter/CMakeLists.txt,
- Exporter/CMakeTestExportPackageConfig.cmake.in,
- Exporter/CMakeTestExportPackageConfigVersion.cmake.in,
- Exporter/dummy.c: Test the user package registry
-
- We teach the FindPackageTest to build a sample project that
- stores its build tree in the user package registry using
- export(PACKAGE), and then find it with find_package.
-
-2009-09-01 14:04 king
-
- * Source/: cmExportCommand.cxx, cmExportCommand.h: Teach
- export(PACKAGE) to fill the package registry
-
- We define the export(PACKAGE) command mode to store the location
- of the build tree in the user package registry. This will help
- find_package locate the package in the build tree. It simplies
- user workflow for manually building a series of dependent
- projects.
-
-2009-09-01 14:04 king
-
- * Source/: cmFindPackageCommand.cxx, cmFindPackageCommand.h: Teach
- find_package to search a "package registry"
-
- A common user workflow is to build a series of dependent projects
- in order. Each project locates its dependencies with
- find_package. We introduce a "user package registry" to help
- find_package locate packages built in non-standard search
- locations.
-
- The registry explicitly stores locations of build trees providing
- instances of a given package. There is no defined order among
- the locations specified. These locations should provide package
- configuration files (<package>-config.cmake) and package version
- files (<package>-config-version.cmake) so that find_package will
- recognize the packages and test version numbers.
-
-2009-09-01 13:55 king
-
- * Modules/: Compiler/Intel-C.cmake, Compiler/Intel-CXX.cmake,
- Compiler/Intel-Fortran.cmake, Compiler/Intel.cmake,
- Platform/Linux-Intel-C.cmake, Platform/Linux-Intel-CXX.cmake,
- Platform/Linux-Intel-Fortran.cmake, Platform/Linux-Intel.cmake:
- Use Intel for Linux flags only on Linux
-
- The commit "Split Intel compiler information files" moved some
- Linux specific flags into the platform-independent Intel compiler
- info files. This moves them back.
-
-2009-09-01 13:03 king
-
- * Modules/FortranCInterface/Verify/CMakeLists.txt: Fix
- FortranCInterface_VERIFY for non-C++ case
-
- The verification program entry point (main) is defined in a C
- source file, so the C compiler should be used to link when only
- Fortran and C are involved. The C++ compiler should still be
- used when the CXX option is enabled.
-
-2009-09-01 11:58 zach.mullen
-
- * Source/CTest/cmCTestRunTest.cxx: ENH: Improved test reporting
- output
-
-2009-09-01 10:38 king
-
- * Tests/ExportImport/: Export/CMakeLists.txt,
- Export/testLibCycleA1.c, Export/testLibCycleA2.c,
- Export/testLibCycleA3.c, Export/testLibCycleB1.c,
- Export/testLibCycleB2.c, Export/testLibCycleB3.c,
- Import/A/CMakeLists.txt, Import/A/imp_testExe1.c: Test link
- multiplicity export/import
-
- We test that LINK_INTERFACE_MULTIPLICITY propagates through
- export() and install(EXPORT) into dependent projects. A simple
- cycle of two archives that need to be scanned three times ensures
- that the importing project uses the multiplicity correctly.
-
-2009-09-01 10:38 king
-
- * Tests/Dependency/Case2/: CMakeLists.txt, foo1c.c, foo2c.c,
- foo3b.c, foo3c.c: Test link multiplicity
-
- This tests the LINK_INTERFACE_MULTIPLICITY property for a cycle
- of three static libraries that must be scanned three times to
- link properly.
-
-2009-09-01 10:37 king
-
- * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h,
- cmExportFileGenerator.cxx, cmTarget.cxx, cmTarget.h: Define
- 'multiplicity' for cyclic dependencies
-
- We create target property "LINK_INTERFACE_MULTIPLICITY" and a
- per-config version "LINK_INTERFACE_MULTIPLICITY_<CONFIG>". It
- sets the number of times a linker should scan through a mutually
- dependent group of static libraries. The largest value of this
- property on any target in the group is used. This will help
- projects link even for extreme cases of cyclic inter-target
- dependencies.
-
-2009-09-01 08:52 king
-
- * Modules/FortranCInterface.cmake: Make FortranCInterface_VERIFY
- verbose on failure
-
- We enable verbose build output in the try_compile of the simple
- project. This makes valuable information available in the case
- of failure.
-
-2009-09-01 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-31 18:18 wdicharry
-
- * Modules/FindHDF5.cmake: Fixed link order dependence in FindHDF5
- module for static link.
-
-2009-08-31 13:25 king
-
- * bootstrap: Test KWSYS_IOS_HAVE_BINARY during bootstrap
-
- We need to do this KWSys configuration test in the CMake
- bootstrap script to create a proper cmsys/Configure.hxx file.
- This fixes the bootstrap script which was broken by the addition
- of the test to KWSys.
-
-2009-08-31 13:00 king
-
- * Source/kwsys/: CMakeLists.txt, Configure.hxx.in,
- kwsysPlatformTestsCXX.cxx, testIOS.cxx: Define kwsys_ios_binary
- macro for std::ios::binary
-
- The 'binary' openmode does not exist on all compilers. We define
- macro <kwsys>_ios_binary, where <kwsys> is the KWSys namespace,
- to refer to std::ios::binary if it exists and 0 otherwise.
- Sample usage:
-
- kwsys_ios::ifstream fin(fn, kwsys_ios::ios::in |
- kwsys_ios_binary);
-
-2009-08-31 11:32 zach.mullen
-
- * Source/CTest/cmCTestMemCheckCommand.h: Fixed ctest_memcheck docs
- (http://www.cmake.org/Bug/view.php?id=9242)
-
-2009-08-31 10:32 wdicharry
-
- * Modules/FindHDF5.cmake: In FindHDF5, added C library names to CXX
- search libraries.
-
-2009-08-31 10:28 zach.mullen
-
- * Source/CTest/cmCTestTestHandler.cxx: Fixed Dart time recording
- for ctest
-
-2009-08-31 09:50 zach.mullen
-
- * Source/CTest/: cmCTestMultiProcessHandler.h, cmCTestRunTest.cxx,
- cmCTestRunTest.h, cmCTestTestHandler.cxx: Fixed conversion
- warning on 64 bit machines
-
-2009-08-31 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-30 10:57 zach.mullen
-
- * Source/CTest/cmCTestRunTest.cxx: Fixed line length issue
-
-2009-08-30 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-29 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-28 15:08 zach.mullen
-
- * Source/CTest/: cmCTestMemCheckHandler.cxx,
- cmCTestMemCheckHandler.h, cmCTestMultiProcessHandler.cxx,
- cmCTestRunTest.cxx, cmCTestRunTest.h, cmCTestTestHandler.cxx,
- cmCTestTestHandler.h: MemCheck should now work again in ctest
-
-2009-08-28 11:40 zach.mullen
-
- * Source/CTest/cmCTestRunTest.cxx: Replaced std::stringstream with
- cmOStringStream
-
-2009-08-28 11:08 zach.mullen
-
- * Source/CTest/cmCTestMemCheckHandler.cxx,
- Source/CTest/cmCTestMultiProcessHandler.cxx,
- Source/CTest/cmCTestMultiProcessHandler.h,
- Source/CTest/cmCTestRunTest.cxx, Source/CTest/cmCTestRunTest.h,
- Source/CTest/cmCTestTestHandler.cxx,
- Source/CTest/cmCTestTestHandler.h, Tests/CMakeLists.txt: Added
- ctest -N test. Fixed ctest working directory bug. MemCheck fix
- coming soon...
-
-2009-08-28 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-27 10:37 zach.mullen
-
- * Source/: CTest/cmCTestGenericHandler.cxx,
- CTest/cmCTestMultiProcessHandler.cxx,
- CTest/cmCTestMultiProcessHandler.h, CTest/cmCTestRunTest.cxx,
- CTest/cmCTestRunTest.h, CTest/cmCTestTestHandler.cxx,
- CTest/cmCTestTestHandler.h, cmCTest.cxx, cmCTest.h, ctest.cxx:
- Fixed ctest -N segfault issue. Further refactored ctest.
- Enabled failover for ctest
-
-2009-08-27 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-26 12:09 zach.mullen
-
- * Source/: CTest/cmCTestMultiProcessHandler.cxx,
- CTest/cmCTestMultiProcessHandler.h, CTest/cmCTestRunTest.cxx,
- cmCTest.cxx, cmCTest.h, CTest/cmCTestRunTest.h,
- CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h: ENH:
- refactored ctest. All testing is now parallel. If no -j option
- is specified, defaults to a MP level of 1 (non parallel)
-
-2009-08-26 06:52 david.cole
-
- * Modules/ExternalProject.cmake: Add missing argument to
- _ep_write_downloadfile_script.
-
-2009-08-26 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-25 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-24 13:24 wdicharry
-
- * Modules/FindHDF5.cmake: Fixed HDF5 Find module error that caused
- no list to be passed into remove duplicates when HDF5 is not
- found.
-
-2009-08-24 13:15 king
-
- * Source/: cmComputeLinkInformation.cxx,
- cmComputeLinkInformation.h: Factor implicit link info addition
- into methods
-
- In cmComputeLinkInformation::Compute we add implicit link
- information from languages other than the linker language to the
- end of the link line. This factors out that code into separate
- methods to improve readability and organization.
-
-2009-08-24 13:07 king
-
- * Tests/Fortran/CMakeLists.txt: Enforce FortranCInterface_VERIFY in
- Fortran test
-
- This removes the QUIET option from FortranCInterface_VERIFY in
- the Fortran test to really test the detected interface
- everywhere.
-
-2009-08-24 12:04 wdicharry
-
- * Modules/: SelectLibraryConfigurations.cmake, FindHDF5.cmake: Add
- HDF5 find module and select_library_configurations module.
-
-2009-08-24 09:54 king
-
- * Source/: cmComputeTargetDepends.cxx, cmComputeTargetDepends.h,
- cmake.cxx: Create GLOBAL_DEPENDS_NO_CYCLES property
-
- This global property disallows cycles in the inter-target
- dependency graph even among STATIC libraries. See issue #9444.
-
-2009-08-24 08:49 king
-
- * Modules/FortranCInterface.cmake,
- Modules/FortranCInterface/Detect.cmake,
- Modules/FortranCInterface/Verify/CMakeLists.txt,
- Modules/FortranCInterface/Verify/VerifyC.c,
- Modules/FortranCInterface/Verify/VerifyCXX.cxx,
- Modules/FortranCInterface/Verify/VerifyFortran.f,
- Modules/FortranCInterface/Verify/main.c,
- Tests/Fortran/CMakeLists.txt: Create FortranCInterface_VERIFY
- function
-
- This function builds a simple test project using a combination of
- Fortran and C (and optionally C++) to verify that the compilers
- are compatible. The idea is to help projects report very early
- to users that the compilers specified cannot mix languages.
-
-2009-08-24 08:49 king
-
- * Modules/: FortranCInterface.cmake,
- FortranCInterface/Detect.cmake: Teach FortranCInterface to load
- outside results
-
- We split the main detection logic into a Detect.cmake support
- module and load it only when detection results are not already
- available. This allows results computed by the main project to
- be used in try-compile projects without recomputing them. The
- call to try_compile() need only to pass
- FortranCInterface_BINARY_DIR through the CMAKE_FLAGS option.
-
-2009-08-24 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-23 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-22 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-21 10:32 king
-
- * Modules/: Compiler/SunPro-C.cmake, Compiler/SunPro-CXX.cmake,
- Compiler/SunPro-Fortran.cmake, Platform/Linux-SunPro-C.cmake,
- Platform/Linux-SunPro-CXX.cmake,
- Platform/Linux-SunPro-Fortran.cmake,
- Platform/SunOS-SunPro-Fortran.cmake, Platform/SunOS.cmake: Split
- SunPro compiler information files
-
- This moves platform-independent SunPro compiler flags into
- separate "Compiler/SunPro-<lang>.cmake" modules.
- Platform-specific flags are left untouched.
-
-2009-08-21 09:54 king
-
- * Modules/: Compiler/Intel-C.cmake, Compiler/Intel-CXX.cmake,
- Compiler/Intel-Fortran.cmake, Compiler/Intel.cmake,
- Platform/Linux-Intel-C.cmake, Platform/Linux-Intel-CXX.cmake,
- Platform/Linux-Intel-Fortran.cmake: Split Intel compiler
- information files
-
- This moves platform-independent Intel compiler flags into
- separate "Compiler/Intel-<lang>.cmake" modules.
- Platform-specific flags are left untouched.
-
-2009-08-21 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-20 16:21 king
-
- * Modules/FortranCInterface.cmake: Teach FortranCInterface to
- verify languages
-
- This module requires both C and Fortran to be enabled, so
- error-out if they are not.
-
-2009-08-20 16:21 king
-
- * Source/cmDocumentVariables.cxx: Document
- CMAKE_<LANG>_COMPILER_LOADED variable
-
-2009-08-20 09:46 zach.mullen
-
- * Source/CTest/cmCTestRunTest.cxx: Fixed line length over 80
-
-2009-08-20 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-19 22:28 lowman
-
- * Modules/FindBoost.cmake: Add Boost 1.39 & 1.40. Move
- ${Boost_INCLUDE_DIR}/lib to front of library search.
-
-2009-08-19 12:19 david.cole
-
- * Modules/: DownloadFile.cmake, ExternalProject.cmake,
- UntarFile.cmake: Remove DownloadFile.cmake and UntarFile.cmake
- from the Modules directory. Put functionality directly into
- ExternalProject.cmake itself so that these modules do not end up
- in the upcoming release of CMake.
-
-2009-08-19 09:24 zach.mullen
-
- * Source/: cmCTest.cxx, CTest/cmCTestTestHandler.cxx,
- CTest/cmCTestTestHandler.h: Fixed overwriting of a previous
- change set
-
-2009-08-19 08:58 zach.mullen
-
- * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h,
- CTest/cmCTestRunTest.cxx, CTest/cmCTestRunTest.h,
- CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h: ENH:
- Refactored CTest test execution code into an object
-
-2009-08-19 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-18 14:03 hoffman
-
- * Source/CTest/cmCTestTestHandler.cxx: Add test times to log file
- as well as the stdout.
-
-2009-08-18 13:34 hoffman
-
- * Source/CTest/: cmCTestTestHandler.cxx, cmCTestTestHandler.h: If
- labels are found on the tests, then print a time summary for all
- the tests run with each label.
-
-2009-08-18 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-17 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-16 23:07 lowman
-
- * Modules/FindBullet.cmake: Find module for the Bullet physics
- engine
-
-2009-08-16 22:12 lowman
-
- * Modules/FindGTest.cmake: A find module for the Google C++ Testing
- Framework
-
-2009-08-16 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-15 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-14 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-13 00:11 lowman
-
- * Modules/: FindBISON.cmake, FindFLEX.cmake: Checking in the
- FindFLEX.cmake & FindBISON.cmake attached to Issue #4018 after
- some minor improvements
-
- * Improved examples * Switched to FindPackageHandleStandardArgs *
- Cleaned up indentation * Sanitized else()/endif() blocks
-
-2009-08-13 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-12 22:40 lowman
-
- * Modules/FindDevIL.cmake: Fixes Issue #8994
-
-2009-08-12 22:25 lowman
-
- * Modules/FindGnuTLS.cmake: Find module for GnuTLS, the GNU
- Transport Layer Security library (Issue #9228)
-
-2009-08-12 21:58 lowman
-
- * Modules/FindOpenSceneGraph.cmake: Improved error output and
- documentation
-
- * Fixed errant output when version number not found * Improved
- error output when REQUIRED is passed * Improved docs and example
-
-2009-08-12 09:09 king
-
- * Modules/Platform/Windows-bcc32.cmake: Quote the target name for
- Borland tlib tool
-
- The Borland librarian tool "tlib" requires that the output target
- name be quoted if it contains the character '-' (and perhaps a
- few others). This commit restores the use of the TARGET_QUOTED
- rule variable replacement for this purpose. Otherwise no static
- library can have a '-' in its name.
-
- This problem was exposed by the 'Testing' test when it builds the
- pcStatic library with the '-dbg' suffix.
-
-2009-08-12 08:06 king
-
- * Source/CTest/cmCTestSVN.cxx: Fix classification of externals in
- svn status
-
- CTest runs 'svn status' to identify modified and conflicting
- files in the working directory. This commit fixes the
- interpretation of the 'X' status, which corresponds to svn
- eXternals. This status should be ignored rather than treated as
- a local modification.
-
-2009-08-12 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-11 22:02 hoffman
-
- * Source/CTest/: cmCTestMultiProcessHandler.cxx,
- cmCTestTestHandler.cxx, cmProcess.h: Output total time when using
- -j N
-
-2009-08-11 22:01 hoffman
-
- * Tests/CTestUpdateCommon.cmake: Output command that failed, if it
- fails.
-
-2009-08-11 16:25 hoffman
-
- * Source/CTest/cmCTestCVS.cxx: Fix failing test on release build
- for VS 10 cmSystemTools::GetLineFromStream crashes if the stream
- is not open in that case.
-
-2009-08-11 09:55 king
-
- * Tests/Testing/: CMakeLists.txt, driver.cmake, pcShared.c,
- pcShared.h, pcStatic.c, perconfig.c: Test add_test() generator
- expressions
-
- This teaches the 'testing' test to try generator expressions in
- arguments to add_test(NAME). This test case mimics a common
- use-case of passing executables to test driver scripts. We
- excercise the syntax for per-configuration target file names.
-
-2009-08-11 09:54 king
-
- * Source/CMakeLists.txt, Source/cmAddTestCommand.h,
- Source/cmGeneratorExpression.cxx, Source/cmGeneratorExpression.h,
- Source/cmTestGenerator.cxx, bootstrap: Introduce "generator
- expressions" to add_test()
-
- This introduces a new syntax called "generator expressions" to
- the test COMMAND option of the add_test(NAME) command mode.
- These expressions have a syntax like $<TARGET_FILE:mytarget> and
- are evaluated during build system generation. This syntax allows
- per-configuration target output files to be referenced in test
- commands and arguments.
-
-2009-08-11 09:07 king
-
- * Source/: cmTarget.cxx, cmTarget.h: Create cmTarget DLL query
- methods
-
- We creates methods IsDLLPlatform() and HasImportLibrary(). The
- former returns true on Windows. The latter returns whether the
- target has a DLL import library. It is true on Windows for
- shared libraries and executables with exports.
-
-2009-08-11 09:07 king
-
- * Source/: cmMakefile.cxx, cmTest.cxx, cmTest.h: Record backtrace
- for every add_test command
-
- We teach cmTest to hold a backtrace for the add_test command that
- created it. This will be used later to report context for errors
- at generate time.
-
-2009-08-11 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-10 14:32 clinton
-
- * Source/QtDialog/QCMake.cxx: ENH: Patch from Alexander Neundorf
- to remove "KDevelop3" from list of generators. "KDevelop3 - Unix
- Makefiles" should be used instead.
-
-2009-08-10 13:25 clinton
-
- * Source/QtDialog/: QCMakeCacheView.cxx, QCMakeCacheView.h: ENH:
- Allow edit on single click. Fixes #9393. Also fix row heights
- to be consistent.
-
-2009-08-10 09:07 king
-
- * Source/cmTestGenerator.cxx: Cleanup test property script code
- generation
-
- We teach cmTestGenerator::GenerateScriptConfigs to use the
- general cmLocalGenerator::EscapeForCMake method to write escaped
- test property values into test scripts. This eliminates the
- previous hand-coded escaping implementation.
-
-2009-08-10 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-09 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-08 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-07 10:13 king
-
- * Modules/: CMakeCCompilerId.c.in, CMakeCXXCompilerId.cpp.in,
- CMakeFortranCompilerId.F.in, Compiler/VisualAge-C.cmake,
- Compiler/VisualAge-CXX.cmake, Compiler/VisualAge-Fortran.cmake,
- Compiler/XL-C.cmake, Compiler/XL-CXX.cmake,
- Compiler/XL-Fortran.cmake, Platform/Linux-VisualAge-C.cmake,
- Platform/Linux-VisualAge-Fortran.cmake,
- Platform/Linux-XL-C.cmake, Platform/Linux-XL-Fortran.cmake: Teach
- compiler id about VisualAge -> XL rebranding
-
- IBM rebranded its VisualAge compiler to XL starting at version
- 8.0. We use the compiler id "XL" for newer versions and
- "VisualAge" for older versions. We now also recognize the "z/OS"
- compiler, which is distinct from XL.
-
-2009-08-07 10:12 king
-
- * Modules/: Compiler/VisualAge-Fortran.cmake,
- Platform/AIX-VisualAge-Fortran.cmake,
- Platform/Linux-VisualAge-Fortran.cmake, Platform/xlf.cmake: Move
- flag to Compiler/VisualAge-Fortran module
-
- The CMAKE_Fortran_DEFINE_FLAG value applies to the IBM Fortran
- compilers on all platforms. This moves the setting to the
- platform-independent compiler information file.
-
-2009-08-07 09:56 king
-
- * Modules/Platform/OpenBSD.cmake: Use NetBSD to initialize OpenBSD
- configuration
-
- We teach Modules/Platform/OpenBSD.cmake to load NetBSD first
- since the platforms are so similar. This enables RPATH support
- on OpenBSD.
-
-2009-08-07 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-06 19:01 partyd
-
- * Source/kwsys/SystemTools.cxx: COMP: attempt to fix more 'hidden
- by' warnings.
-
-2009-08-06 07:53 king
-
- * Modules/FortranCInterface/CMakeLists.txt: Teach FortranCInterface
- about g77 mangling
-
- The old GNU g77 Fortran compiler uses the suffix '__' for symbols
- containing an underscore in their name.
-
-2009-08-06 07:53 king
-
- * Modules/FortranCInterface/CMakeLists.txt: Sort FortranCInterface
- global mangling symbols
-
- This just cleans up the list ordering so more entries can be
- added while keeping everything organized.
-
-2009-08-06 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-05 17:07 king
-
- * Modules/FortranCInterface/: CMakeLists.txt, my_module_.c,
- mymodule_.c: Cleanup FortranCInterface for PGI and GCC 4.2
-
- This documents the purpose of the extra my_module_.c and
- mymodule.c source files, and sorts the symbols.
-
-2009-08-05 16:55 hoffman
-
- * Modules/FortranCInterface/: CMakeLists.txt, my_module_.c,
- mymodule_.c: Teach FortranC interface for Intel, PGI, and gcc 4.2
-
-2009-08-05 15:39 david.cole
-
- * Modules/AddExternalProject.cmake: Remove
- AddExternalProject.cmake. ExternalProject.cmake
- supercedes/replaces it.
-
-2009-08-05 14:59 david.cole
-
- * Modules/: BundleUtilities.cmake, GetPrerequisites.cmake: Overhaul
- GetPrerequisites and BundleUtilities: make fixup_bundle do
- something useful on Windows and Linux.
-
- Formerly, fixup_bundle was useful only on the Mac for making
- standalone bundle applications that could be drag-n-drop moved to
- anyplace in the file system. fixup_bundle is not just for the Mac
- any more. It will now analyze executable files on Windows and
- Linux, too, and copy necessary non-system dlls to the same folder
- that the executable is in. This should work with dlls that you
- build as part of your build and also with 3rd-party dlls as long
- as you give fixup_bundle the right list of directories to search
- for those dlls. Many thanks to Clinton Stimpson for his help in
- ironing out the details involved in making this work.
-
-2009-08-05 13:40 king
-
- * Modules/FortranCInterface.cmake, Modules/FortranCInterface.h.in,
- Modules/FortranCInterface/CMakeLists.txt,
- Modules/FortranCInterface/Input.cmake.in,
- Modules/FortranCInterface/Macro.h.in,
- Modules/FortranCInterface/Output.cmake.in,
- Modules/FortranCInterface/call_mod.f90,
- Modules/FortranCInterface/call_sub.f,
- Modules/FortranCInterface/main.F,
- Modules/FortranCInterface/my_module.f90,
- Modules/FortranCInterface/my_sub.f,
- Modules/FortranCInterface/mymodule.f90,
- Modules/FortranCInterface/mysub.f,
- Modules/FortranCInterface/symbol.c.in,
- Tests/Fortran/CMakeLists.txt, Tests/Fortran/myc.c: Rewrite
- FortranCInterface module
-
- This is a new FortranCInterface.cmake module to replace the
- previous prototype. All module support files lie in a
- FortranCInterface directory next to it.
-
- This module uses a new approach to detect Fortran symbol
- mangling. We build a single test project which defines symbols
- in a Fortran library (one per object-file) and calls them from a
- Fortran executable. The executable links to a C library which
- defines symbols encoding all known manglings (one per
- object-file). The C library falls back to the Fortran library
- for symbols it cannot provide. Therefore the executable will
- always link, but prefers the C-implemented symbols when they
- match. These symbols store string literals of the form
- INFO:symbol[<name>] so we can parse them out of the executable.
-
- This module also provides a simpler interface. It always detects
- the mangling as soon as it is included. A single macro is
- provided to generate mangling macros and optionally pre-mangled
- symbols.
-
-2009-08-05 10:45 hoffman
-
- * Source/cmVisualStudio10TargetGenerator.cxx: Allow for static
- libraries to depend on other targets so that the MSBuild runs
- build things in the correct order
-
-2009-08-05 10:14 king
-
- * Source/CMakeLists.txt, Tests/CMakeLists.txt,
- Utilities/Doxygen/doxyfile.in: Remove WXDialog source code
-
- The QtDialog is our supported cross-platform GUI, so the WXDialog
- source is no longer needed.
-
-2009-08-05 10:13 king
-
- * Source/CMakeLists.txt: Remove FLTKDialog source code
-
- The QtDialog is our supported cross-platform GUI, so the
- FLTKDialog source is no longer needed.
-
-2009-08-05 09:56 king
-
- * Source/cmFindPackageCommand.cxx: Fix find_package for cmake-gui
- registry entry
-
- The find_package commands looks at the "WhereBuild" registry
- entries created by CMakeSetup and cmake-gui hoping that the
- project was recently built. CMakeSetup created
- WhereBuild1..WhereBuild10 but cmake-gui creates
- WhereBuild0-WhereBuild9.
-
- This fixes find_package to look at WhereBuild0 so that the most
- recently configured project can be found. It is important in the
- case that the package to be found was the last one configured in
- cmake-gui but the current project that is finding it is
- configured from the command line.
-
-2009-08-05 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-04 15:41 martink
-
- * Source/cmLocalGenerator.cxx: ENH: minor cleanup of test
-
-2009-08-04 14:37 king
-
- * Source/cmCoreTryCompile.cxx, Source/cmGlobalGenerator.cxx,
- Source/cmGlobalGenerator.h, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Tests/TryCompile/CMakeLists.txt,
- Tests/TryCompile/Inner/CMakeLists.txt,
- Tests/TryCompile/Inner/innerexe.c,
- Tests/TryCompile/Inner/innerlib.c: No /fast targets in
- try_compile project mode
-
- The try_compile command builds the cmTryCompileExec executable
- using the cmTryCompileExec/fast target with Makefile generators
- in order to save time since dependencies are not needed.
- However, in project mode the command builds an entire source tree
- that may have dependencies. Therefore we can use the /fast
- target approach only in one-source mode.
-
-2009-08-04 14:06 king
-
- * Tests/Fortran/: CMakeLists.txt, foo.c, foo.cxx, mainc.c,
- maincxx.c, myc.c, mycxx.cxx: Test C, C++, Fortran interface
- combinations
-
- Previously the Fortran test created a single executable
- containing C, C++, and Fortran sources. This commit divides the
- executable into three libraries corresponding to each language,
- and two executables testing Fortran/C only and Fortran/C/C++
- together. The result tests more combinations of using the
- languages together, and that language requirements propagate
- through linking.
-
-2009-08-04 13:16 martink
-
- * Source/cmTest.cxx: ENH: change to CDASH
-
-2009-08-04 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-03 13:37 king
-
- * Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Tests/TryCompile/Inner/CMakeLists.txt: Fix recursive try_compile
- calls
-
- When building an entire source tree with try_compile instead of
- just a single source file, it is possible that the CMakeLists.txt
- file in the try-compiled project invokes try_compile. This
- commit fixes propagation of language-initialization results from
- the outer-most project into any number of try-compile levels.
-
-2009-08-03 13:37 king
-
- * Tests/TryCompile/: CMakeLists.txt, Inner/CMakeLists.txt: Test
- try_compile project mode
-
- The try_compile command project mode builds an entire source tree
- instead of one source file. It uses an existing CMakeLists.txt
- file in the given source tree instead of generating one. This
- commit creates a test for the mode in the TryCompile test.
-
-2009-08-03 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-02 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-08-01 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-07-31 16:11 alex
-
- * Source/cmake.cxx: DOCS: fix typo (#9231)
-
- Alex
-
-2009-07-31 09:19 king
-
- * Source/CTest/cmCTestScriptHandler.cxx: Set current directory
- variables in CTest scripts
-
- The commit "Fix get_filename_component ABSOLUTE mode" broke the
- code
-
- get_filename_component(cwd . ABSOLUTE)
-
- because CTest scripts did not make
- cmMakefile::GetCurrentDirectory() available. This commit fixes
- the problem by setting the proper information on CTest script
- instances of cmMakefile.
-
- This also makes CMAKE_CURRENT_SOURCE_DIR and
- CMAKE_CURRENT_BINARY_DIR available to CTest scripts. They are
- set to the working directory at script startup.
-
-2009-07-31 08:27 king
-
- * CMakeLists.txt, Source/QtDialog/CMakeLists.txt: Fix installation
- when built by CMake 2.4
-
- CMake 2.4 generates old-style cmake_install.cmake code including
- calls to the file(INSTALL) command with the COMPONENTS argument.
- We need to set CMAKE_INSTALL_SELF_2_4 for the whole install tree
- to prevent the command from complaining in this special case.
- Previously this was needed only in the QtDialog directory, but
- now it is needed in the entire tree.
-
-2009-07-31 06:22 alex
-
- * Source/: cmFunctionCommand.h, cmMacroCommand.h: DOCS: fix typo
- (see #9308)
-
- Alex
-
-2009-07-31 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: KWSys Nightly Date Stamp
-
-2009-07-30 13:46 king
-
- * Modules/: CMakeFortranCompiler.cmake.in,
- CMakeTestFortranCompiler.cmake: Pass Fortran90 test result to
- try-compile
-
- This stores CMAKE_Fortran_COMPILER_SUPPORTS_F90 in the Fortran
- compiler information file CMakeFiles/CMakeFortranCompiler.cmake
- instead of in CMakeCache.txt. This file makes the result
- available to try-compile projects.
-
-2009-07-30 10:59 king
-
- * Modules/CMakeCXXCompiler.cmake.in,
- Source/cmDocumentVariables.cxx, Source/cmTarget.cxx: Do not
- always propagate linker language preference
-
- The commit "Consider link dependencies for link language" taught
- CMake to propagate linker language preference from languages
- compiled into libraries linked by a target. It turns out this
- should only be done for some languages, such as C++, because
- normally the language of the program entry point (main) should be
- used.
-
- We introduce variable CMAKE_<LANG>_LINKER_PREFERENCE_PROPAGATES
- to tell CMake whether a language should propagate its linker
- preference across targets. Currently it is true only for C++.
-
-2009-07-30 10:59 king
-
- * Source/cmTarget.cxx: Refactor target linker language selection
-
- This factors the decision logic out of
- cmTarget::ComputeLinkClosure into dedicated class
- cmTargetSelectLinker. We replace several local variables with a
- single object instance, and organize code into methods.
-
-2009-07-30 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-29 16:40 king
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- Separate Xcode flag escaping code from defines
-
- Generalize the core Xcode generator preprocessor flag escaping
- code to be useful for escaping all flags.
-
-2009-07-29 16:39 king
-
- * Source/cmGlobalXCodeGenerator.cxx: Re-order
- cmGlobalXCodeGenerator implementation
-
- This defines class
- cmGlobalXCodeGenerator::BuildObjectListOrString early in the
- source file so it can be used in more places.
-
-2009-07-29 16:38 king
-
- * Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in: Check PGI linker
- lines in ImplicitLinkInfo test
-
- This adds sample linker invocation lines for the PGI compiler on
- Linux.
-
-2009-07-29 16:38 king
-
- * Modules/Compiler/: PGI-C.cmake, PGI-CXX.cmake, PGI-Fortran.cmake:
- Set CMAKE_<LANG>_VERBOSE_FLAG variables for PGI
-
- We set the variables to contain "-v", the verbose front-end
- output option for PGI compilers. This enables detection of
- implicit link libraries and directories for these compilers.
-
-2009-07-29 16:07 king
-
- * Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in: Check Intel
- linker lines in ImplicitLinkInfo test
-
- This adds sample linker invocation lines for the Intel compiler
- on Linux. In particular, this exercises the case when "ld"
- appears without a full path.
-
-2009-07-29 16:07 king
-
- * Modules/Compiler/: Intel-C.cmake, Intel-CXX.cmake,
- Intel-Fortran.cmake: Set CMAKE_<LANG>_VERBOSE_FLAG variables for
- Intel
-
- We set the variables to contain "-v", the verbose front-end
- output option for Intel compilers. This enables detection of
- implicit link libraries and directories for these compilers.
-
-2009-07-29 16:07 king
-
- * Modules/CMakeParseImplicitLinkInfo.cmake: Recognize linker
- commands without paths
-
- This teaches the implicit link line parsing code to recognize
- link lines that do not have a full path to the linker executable.
- At least one version of the Intel compiler on Linux invokes the
- linker as just "ld" instead of "/usr/bin/ld".
-
-2009-07-29 11:29 king
-
- * Source/: CMakeLists.txt, cmIDEOptions.cxx, cmIDEOptions.h,
- cmVisualStudioGeneratorOptions.cxx,
- cmVisualStudioGeneratorOptions.h: ENH: Separate option mapping
- from VS generators
-
- Split cmVisualStudioGeneratorOptions core functionality out into
- a base class cmIDEOptions. It will be useful for other
- generators.
-
-2009-07-29 11:28 king
-
- * Source/: CMakeLists.txt, cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h,
- cmGlobalVisualStudio8Generator.cxx,
- cmGlobalVisualStudio8Generator.h, cmIDEFlagTable.h,
- cmLocalVisualStudio7Generator.h,
- cmVisualStudioGeneratorOptions.h: ENH: Separate VS flag table
- type
-
- Move the cmVS7FlagTable type out of the VS generators and rename
- it to cmIDEFlagTable. It will be useful for other generators.
-
-2009-07-29 08:39 king
-
- * Tests/Properties/CMakeLists.txt: Test cache entry property
- "STRINGS"
-
- The STRINGS property tells cmake-gui to create a drop-down
- selection list. This teaches the Properties test to set and
- verify its value.
-
-2009-07-29 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-28 14:30 hoffman
-
- * Source/: cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h: ENH: remove code duplication and
- use cmVisualStudioGeneratorOptions for all versions of vs 7 and
- greater.
-
-2009-07-28 10:46 king
-
- * Source/: CPack/cmCPackGenerator.cxx,
- CTest/cmCTestScriptHandler.cxx, CTest/cmCTestTestHandler.cxx,
- cmCTest.cxx, cmake.cxx: BUG: Do not double-initialize local
- generators
-
- All global generator CreateLocalGenerator methods automatically
- initialize the local generator instances with SetGlobalGenerator.
- In several places we were calling SetGlobalGenerator again after
- receiving the return value from CreateLocalGenerator. The
- double-initializations leaked the resources allocated by the
- first call to SetGlobalGenerator. This fix removes the
- unnecessary calls.
-
-2009-07-28 08:36 king
-
- * Source/cmComputeLinkInformation.cxx: BUG: Do not filter
- non-library implicit link items
-
- We list implicit link items of languages linked into a target but
- filter them by the implicit libraries known to be passed by the
- main linker language. Implicit link flags like "-z..." should
- not be filtered out because they are not libraries.
-
-2009-07-28 08:36 king
-
- * Modules/CMakeParseImplicitLinkInfo.cmake,
- Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in: BUG: Parse
- implicit link editor -z*extract options
-
- The Sun Fortran compiler passes -zallextract and -zdefaultextract
- to the linker so that all objects from one of its archives are
- included in the link. This teaches the implicit options parser
- to recognize the flags. We need to pass them explicitly on C++
- link lines when Fortran code is linked.
-
-2009-07-28 08:08 king
-
- * Source/cmComputeLinkInformation.cxx: BUG: Always pass linker
- flags untouched
-
- In cmComputeLinkInformation we recognize link options that look
- like library file names, but pass flags starting in '-' through
- untouched. This fixes the ordering of the check to recognize '-'
- flags first in case the rest of the option looks like a library
- file name, as in the case of "-l:libfoo.a".
-
-2009-07-28 08:07 king
-
- * Source/cmComputeLinkInformation.cxx: BUG: Do not recognize ':' in
- a library name
-
- In cmComputeLinkInformation we construct regular expressions to
- recognize library file names. This fixes the expressions to not
- allow a colon (':') in the file name so that "-l:libfoo.a" is
- left alone.
-
-2009-07-28 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-27 16:45 king
-
- * Source/kwsys/: CMakeLists.txt, kwsysPlatformTestsCXX.cxx: BUG:
- Enable large files only if <cstdio> works
-
- Some AIX/gcc version combinations the <cstdio> header breaks when
- large file support is enabled. See this GCC issue for details:
-
- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20366
-
- We work around the problem by enhancing the configuration check
- for large file support to include <cstdio> when available. This
- will cause LFS to be disabled when the above problem occurs.
-
-2009-07-27 14:17 hoffman
-
- * Source/CTest/cmCTestTestHandler.cxx: ENH: add test times and a
- total time to the output of command line ctest
-
-2009-07-27 12:43 king
-
- * Tests/Fortran/: CMakeLists.txt, foo.c, foo.cxx: ENH: Test Fortran
- and C++ in one executable
-
- This extends the Fortran-to-C interface test to add a C++ source
- file. The executable can only link with the C++ linker and with
- the proper Fortran runtime libraries. These libraries should be
- detected by CMake automatically, so this tests verifies the
- detection functionality.
-
-2009-07-27 12:43 king
-
- * Tests/Fortran/CMakeLists.txt: ENH: Remove EXTRA_FORTRAN_C_LIBS
- Fortran test hack
-
- This hack was created to help the Fortran test executables link
- to the implicit C libraries added by BullsEye. Now that implicit
- libraries from all languages are detected and included
- automatically the hack is no longer needed.
-
-2009-07-27 12:43 king
-
- * Source/: cmComputeLinkInformation.cxx,
- cmComputeLinkInformation.h, cmOrderDirectories.cxx,
- cmOrderDirectories.h: ENH: Link runtime libraries of all
- languages
-
- This adds implicit libraries and search directories for languages
- linked into a target other than the linker language to its link
- line. For example, when linking an executable containing both
- C++ and Fortran code the C++ linker is used but we need to add
- the Fortran libraries.
-
- The variables
-
- CMAKE_<LANG>_IMPLICIT_LINK_LIBRARIES
- CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES
-
- contain the implicit libraries and directories for each language.
- Entries for the linker language are known to be implicit in the
- generated link line. Entries for other languages that do not
- appear in the known implicit set are listed explicitly at the end
- of the link line.
-
-2009-07-27 12:35 king
-
- * Tests/SystemInformation/DumpInformation.cxx: ENH: Report CMake
- logs in SystemInformation test
-
- This teaches the SystemInformation test to report the CMake log
- files CMakeOutput.log and CMakeError.log from the CMake build
- tree and from the SystemInformation test build tree. These logs
- may help diagnose dashboard problems remotely.
-
-2009-07-27 12:04 david.cole
-
- * Tests/CMakeTests/: CMakeLists.txt, CheckSourceTreeTest.cmake.in:
- ENH: Make the CheckSourceTree test emit a warning (but pass
- instead of fail) when there is an in-source build on a dashboard
- machine.
-
-2009-07-27 11:56 king
-
- * Tests/Fortran/mysub.f: ENH: Require language libs in Fortran/C
- test
-
- This extends the Fortran/C interface test to require that the
- executable link to the fortran language runtime libraries. We
- must verify that the proper linker is chosen.
-
-2009-07-27 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-26 01:01 partyd
-
- * Source/kwsys/SystemTools.cxx: ENH: try and see if using
- string.append instead of += will make valgrind not complaing that
- JoinPath is leaking.
-
-2009-07-26 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-25 13:32 david.cole
-
- * Tests/CMakeTests/CheckSourceTreeTest.cmake.in: ENH: Improvements
- to the new CheckSourceTree test: ignore Thumbs.db and .DS_Store
- files. Force all output to stderr by not using STATUS with
- message. Better error text.
-
-2009-07-25 08:11 king
-
- * Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in: BUG: Further
- avoid ImplicitLinkInfo case change
-
- The commit "Avoid case change in ImplicitLinkInfo test" did not
- change all of the paths to mingw, so some case change still
- occurs. This changes more of them.
-
-2009-07-25 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-24 18:30 david.cole
-
- * Tests/CMakeLists.txt: BUG: One last attempt for today to get the
- new CheckSourceTree test running on dashboards driven by CMake
- 2.4... Good night now.
-
-2009-07-24 17:33 king
-
- * CMakeLists.txt: ENH: Allow empty endif() and such with CMake 2.4
-
- This allows us to use empty endif() and similar block terminators
- when building with CMake 2.4. It is allowed by default with 2.6
- already.
-
-2009-07-24 17:28 david.cole
-
- * Tests/CMakeTests/CMakeLists.txt: BUG: Close endif statements with
- same string as if so that it still configures with CMake 2.4. One
- more time. Encore, encore.
-
-2009-07-24 17:12 david.cole
-
- * Tests/CMakeTests/CheckSourceTreeTest.cmake.in: BUG: Improve
- CheckSourceTree test so that it ignores 'U ' output from cvs
- update. Also: improve failure logic for dashboard runs and
- developer runs.
-
-2009-07-24 16:57 king
-
- * Tests/CMakeTests/VariableWatchTest.cmake.in: BUG: Teach
- VariableWatch test to check results
-
- Previously this test was only a smoke test for manual
- verification. This teaches the test to actually check that the
- variable watch succeeds.
-
-2009-07-24 16:53 king
-
- * Source/cmVariableWatchCommand.h: BUG: Keep variable_watch()
- commands in memory
-
- The "Keep only FinalPass commands in memory" commit caused
- instances of this command to be deleted after the InitialPass.
- Even though the variable_watch command does not have a final
- pass, it does need to stay alive because it owns the callback
- information.
-
-2009-07-24 16:31 david.cole
-
- * Tests/CMakeLists.txt: BUG: Close endif statements with same
- string as if so that it still configures with CMake 2.4 -- also
- check for existence of FindCVS.cmake before doing
- find_package(CVS QUIET) also for CMake 2.4 sake...
-
-2009-07-24 16:15 david.cole
-
- * Tests/CMakeLists.txt: BUG: Oops. Left chunk of junk at the bottom
- of the main Tests CMakeLists.txt file with the last commit...
- Sorry.
-
-2009-07-24 15:58 david.cole
-
- * Source/cmGlobalXCodeGenerator.cxx, Tests/CMakeLists.txt,
- Tests/CMakeTests/CMakeLists.txt,
- Tests/CMakeTests/CheckSourceTreeTest.cmake.in: BUG: Additional
- fix necessary for issue #8481 so that Xcode builds do not write
- files into the source tree. Also add a test that runs last to
- check for local modifications in CMake_SOURCE_DIR based on
- whether 'cvs -q -n up -dP' output is empty. Test fails on
- dashboard runs when there are local modifications. Test passes on
- non-dashboard runs with local modifications so that CMake
- developers may have mods when running the test locally.
-
-2009-07-24 13:31 king
-
- * Source/: cmCommand.h, cmConfigureFileCommand.h,
- cmExportLibraryDependencies.h, cmFLTKWrapUICommand.h,
- cmInstallFilesCommand.h, cmInstallProgramsCommand.h,
- cmLoadCommandCommand.cxx, cmMakefile.cxx: ENH: Keep only
- FinalPass commands in memory
-
- In cmMakefile we save all invoked commands so that FinalPass can
- be called on them later. Most commands have no final pass, so we
- should keep only the few that do.
-
-2009-07-24 13:17 king
-
- * CMakeLists.txt, Modules/CMakeLists.txt,
- Modules/Platform/CMakeLists.txt, Templates/CMakeLists.txt: ENH:
- Install all Modules and Templates
-
- This removes the file-wise installation rules for Modules and
- Templates and instead installs the whole directories. This
- approach is much less error-prone. The old approach was left
- from before CMake had the install(DIRECTORY) command.
-
-2009-07-24 12:55 king
-
- * Modules/CMakeLists.txt: BUG: Install new fortran compiler id
- source.
-
- The extension of the id source file was changed from .F90 to .F
- so this fixes the install rule.
-
-2009-07-24 12:15 malaterre
-
- * Source/kwsys/SharedForward.h.in: COMP: Fix compilation of VTK on
- debian/sparc (sparc is a CPU not an OS)
-
-2009-07-24 07:34 king
-
- * Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in: BUG: Avoid case
- change in ImplicitLinkInfo test
-
- Since "get_filename_component(... ABSOLUTE)" retrieves the actual
- case for existing paths on windows, we need to use an obscure
- path for mingw. Otherwise the test can fail just because the
- case of the paths changes.
-
-2009-07-24 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-23 16:19 king
-
- * Modules/CMakeDetermineCompilerABI.cmake: BUG: Skip implicit link
- information on Xcode
-
- Xcode adds extra link directories that point at the build tree,
- so detection of implicit link directories is not reliable. Since
- Fortran is not supported in Xcode we will not need implicit link
- information yet anyway.
-
-2009-07-23 10:07 king
-
- * Tests/CMakeTests/: CMakeLists.txt, ImplicitLinkInfoTest.cmake.in:
- ENH: Create ImplicitLinkInfo test
-
- This tests the internal CMakeParseImplicitLinkInfo.cmake module
- to ensure that implicit link information is extracted correctly.
- The test contains many manually verified examples from a variety
- of systems.
-
-2009-07-23 10:07 king
-
- * Modules/CMakeCCompiler.cmake.in,
- Modules/CMakeCXXCompiler.cmake.in,
- Modules/CMakeDetermineCompilerABI.cmake,
- Modules/CMakeFortranCompiler.cmake.in,
- Modules/CMakeParseImplicitLinkInfo.cmake,
- Modules/Compiler/GNU-C.cmake, Modules/Compiler/GNU-CXX.cmake,
- Modules/Compiler/GNU-Fortran.cmake, Modules/Compiler/HP-C.cmake,
- Modules/Compiler/HP-CXX.cmake, Modules/Compiler/HP-Fortran.cmake,
- Modules/Compiler/MIPSpro-C.cmake,
- Modules/Compiler/MIPSpro-CXX.cmake,
- Modules/Compiler/MIPSpro-Fortran.cmake,
- Modules/Compiler/SunPro-C.cmake,
- Modules/Compiler/SunPro-CXX.cmake,
- Modules/Compiler/SunPro-Fortran.cmake,
- Modules/Compiler/VisualAge-C.cmake,
- Modules/Compiler/VisualAge-CXX.cmake,
- Modules/Compiler/VisualAge-Fortran.cmake,
- Source/cmDocumentVariables.cxx,
- Tests/SystemInformation/SystemInformation.in: ENH: Implicit link
- info for C, CXX, and Fortran
-
- This teaches CMake to detect implicit link information for C,
- C++, and Fortran compilers. We detect the implicit linker search
- directories and implicit linker options for UNIX-like
- environments using verbose output from compiler front-ends. We
- store results in new variables called
-
- CMAKE_<LANG>_IMPLICIT_LINK_LIBRARIES
- CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES
-
- The implicit libraries can contain linker flags as well as
- library names.
-
-2009-07-23 10:06 king
-
- * Modules/: CMakeCInformation.cmake, CMakeCXXInformation.cmake,
- CMakeFortranInformation.cmake: ENH: Load platform-independent
- per-compiler files
-
- This teaches the language configuration modules to load
- per-compiler information for each language using the compiler id
- but no system name. They look for modules named
- "Compiler/<id>-<lang>.cmake". Such modules may specify compiler
- flags that do not depend on the platform.
-
-2009-07-23 08:10 king
-
- * Source/cmGetFilenameComponentCommand.cxx: BUG: Fix
- get_filename_component ABSOLUTE mode
-
- This teaches the command to recognize full windows paths when
- built on UNIX. CollapseFullPath knows when the input path is
- relative better than FileIsFullPath because the latter is only
- meant for paths from the host platform.
-
-2009-07-23 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-22 14:22 king
-
- * bootstrap, Source/CMakeLists.txt, Source/cmDefinitions.cxx,
- Source/cmDefinitions.h, Source/cmMakefile.cxx,
- Source/cmMakefile.h: ENH: Improve dynamic variable scope
- implementation
-
- Previously each new variable scope (subdirectory or function
- call) in the CMake language created a complete copy of the
- key->value definition map. This avoids the copy using transitive
- lookups up the scope stack. Results of queries answered by
- parents are stored locally to maintain locality of reference.
-
- The class cmDefinitions replaces cmMakefile::DefinitionsMap, and
- is aware of its enclosing scope. Each scope stores only the
- definitions set (or unset!) inside it relative to the enclosing
- scope.
-
-2009-07-22 13:42 king
-
- * Tests/FunctionTest/SubDirScope/CMakeLists.txt: ENH: Improve
- strictness of Function test
-
- The command "set(... PARENT_SCOPE)" should never affect the
- calling scope. This improves the Function test to check that
- such calls in a subdirectory scope affect the parent but not the
- child.
-
-2009-07-22 12:06 david.cole
-
- * Source/cmCTest.cxx: BUG: Fix typo pointed out by Monsieur
- Francois Bertel. Merci, Francois.
-
-2009-07-22 11:14 david.cole
-
- * Source/cmGlobalXCodeGenerator.cxx: BUG: Fix issue #8481 -
- generate Xcode projects such that breakpoints may be used from
- the Xcode debugger without adjusting any settings within the
- Xcode GUI first... Thanks to Doug Gregor for the patch.
-
-2009-07-22 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-21 12:45 martink
-
- * Modules/FindPNG.cmake: ENH: just converted case to lower for the
- book
-
-2009-07-21 11:58 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Disable color
- makefile inside try-compile
-
- Generated makefiles for try-compile projects should never use
- color output. On MSYS the color escapes end up in the
- try-compile output text because there is no way to identify
- whether the output is going to a color-capable terminal. Instead
- we should just always skip color for try-compile projects.
-
-2009-07-21 10:56 king
-
- * Tests/SystemInformation/DumpInformation.h.in: BUG: Fix
- SystemInformation dump output
-
- When this test was renamed from DumpInformation to
- SystemInformation the configured header that points the dump
- executable to the directory containing information files was
- broken. No information has been dumped by this test for 2 years!
- This fixes it.
-
-2009-07-21 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-20 12:08 david.cole
-
- * CMakeCPackOptions.cmake.in: BUG: Add CPACK_NSIS_PACKAGE_NAME to
- the list of CPack variables that CMake overrides. We use the same
- value as the CPack-provided default, but do it here such that
- configuring with an older CMake will still give us this new
- variable. Necessary so that the CMake release process works with
- the new variable: CMake is configured with a previous CMake, but
- packaged with the freshly built CPack. (This fix is necessary
- because the fix for issue #8682 caused the side effect of having
- an empty CPACK_NSIS_PACKAGE_NAME for the CMake nightly package.)
-
-2009-07-20 10:58 hoffman
-
- * Tests/CMakeLists.txt: ENH: set expected failure for tests
-
-2009-07-20 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-19 13:40 hoffman
-
- * Source/CTest/cmCTestTestHandler.cxx: ENH: fix warning
-
-2009-07-19 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-18 01:05 lowman
-
- * Modules/FindSDL.cmake: BUG: Fix include path detection with
- SDLDIR env var (issue #9086). Also removed some superfluous
- search paths.
-
-2009-07-18 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-17 23:51 lowman
-
- * Modules/FindPerlLibs.cmake: ENH: Also add ARCHLIB/CORE to include
- search paths so perl.h can be found on non-standard install
- prefixes
-
-2009-07-17 23:31 lowman
-
- * Modules/FindPerlLibs.cmake: ENH: Improve detection of
- perl.h/libperl, issue #7898
-
-2009-07-17 16:15 hoffman
-
- * Source/CTest/cmCTestTestHandler.cxx: ENH: fix warning
-
-2009-07-17 14:51 clinton
-
- * Source/QtDialog/CMakeSetupDialog.cxx: ENH: Edit button label for
- new changes dialog.
-
-2009-07-17 14:38 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h,
- QCMakeCacheView.cxx, QCMakeCacheView.h:
- ENH: Add a "Show my changes" to the Tools menu. Changes
- by the user are recorded and when requested, it shows -D
- arguments for commandline or contents for a cache file.
-
-2009-07-17 10:06 hoffman
-
- * Source/CTest/cmCTestTestHandler.cxx: ENH: compute the max test
- name width based on the length of the tests
-
-2009-07-17 10:05 hoffman
-
- * Source/: cmGlobalGenerator.h, cmGlobalVisualStudioGenerator.h,
- cmLocalGenerator.cxx, cmMakefile.cxx: ENH: make sure GUIDs for
- filters are cached
-
-2009-07-17 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-16 18:53 clinton
-
- * Modules/FindQt4.cmake: BUG: fix relative paths from different
- drives on Windows
-
-2009-07-16 11:48 david.cole
-
- * Modules/: CPack.cmake, NSIS.template.in: BUG: Re-fix issue #8682.
- Use new variable CPACK_NSIS_PACKAGE_NAME in appropriate places
- rather than CPACK_NSIS_DISPLAY_NAME. CPACK_NSIS_DISPLAY_NAME is
- the Add/Remove control panel's description string for the
- installed package. Using it as the "Name" of the NSIS installer
- package made the CMake installer itself use really long strings
- in the installer GUI. This fix still allows for the original
- intent of the first fix for #8682 -- the ability to separate the
- installer name from the default install directory, but it uses a
- new/different variable to achieve the separation.
-
-2009-07-16 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-15 12:43 hoffman
-
- * Modules/Platform/Windows-cl.cmake: ENH: remove debug message
-
-2009-07-15 12:18 hoffman
-
- * Modules/Platform/Windows-cl.cmake: ENH: do not use
- /INCREMENTAL:YES with VS 10 compiler
-
-2009-07-15 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-14 19:34 clinton
-
- * Source/QtDialog/CMakeSetup.cxx:
- BUG: Don't let Qt suppress error dialogs. Add call to
- SetErrorMode(0); See #9258.
-
-2009-07-14 16:06 hoffman
-
- * Source/cmIncludeExternalMSProjectCommand.cxx: ENH: fix vsexternal
- test on vs 71
-
-2009-07-14 15:17 king
-
- * Modules/: CMakeCCompilerId.c.in, CMakeCXXCompilerId.cpp.in,
- CMakeFortranCompilerId.F.in: ENH: Check _SGI_COMPILER_VERSION for
- compiler id
-
- Some SGI compilers define _SGI_COMPILER_VERSION in addition to
- the old _COMPILER_VERSION preprocessor symbol. It is more
- distinctive, so we should check it in case the old one is ever
- removed.
-
-2009-07-14 15:16 king
-
- * Modules/CMakeFortranCompilerId.F.in: BUG: Avoid SGI preprocessor
- bug for Fortran Id
-
- The SGI preprocessor /usr/lib/cpp produces bad output on this
- code:
-
- #if 1
- A
- #elif 1
- B
- #else
- C
- #endif
-
- Both 'A' and 'C' appear in the output! We work around the
- problem by using '#elif 1' instead of '#else'.
-
- This fixes detection of the SGI Fortran compiler id in -o32 mode.
-
-2009-07-14 14:44 alex
-
- * Modules/MacroAddFileDependencies.cmake: STYLE: add documentation
- for MACRO_ADD_FILE_DEPENDENCIES()
-
- Alex
-
-2009-07-14 14:16 hoffman
-
- * Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmGlobalVisualStudio6Generator.h,
- Source/cmGlobalVisualStudio71Generator.cxx,
- Source/cmGlobalVisualStudio71Generator.h,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.h,
- Source/cmGlobalVisualStudioGenerator.cxx,
- Source/cmGlobalVisualStudioGenerator.h,
- Source/cmIncludeExternalMSProjectCommand.cxx,
- Source/cmLocalGenerator.cxx,
- Source/cmLocalVisualStudio10Generator.cxx,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmVisualStudio10TargetGenerator.cxx,
- Tests/VSExternalInclude/CMakeLists.txt: ENH: remove
- INCLUDE_EXTERNAL_MSPROJECT name hack, and use target properties
- instead, fix VXExternalInclude test for VS10
-
-2009-07-14 10:15 king
-
- * Source/cmSeparateArgumentsCommand.cxx,
- Source/cmSeparateArgumentsCommand.h,
- Tests/CMakeTests/CMakeLists.txt,
- Tests/CMakeTests/SeparateArgumentsTest.cmake.in: ENH: Teach
- separate_arguments() to parse commands
-
- This adds UNIX_COMMAND and WINDOWS_COMMAND modes to the command.
- These modes parse unix- and windows-style command lines.
-
-2009-07-14 10:14 king
-
- * Source/: cmComputeLinkInformation.cxx,
- cmComputeLinkInformation.h: STYLE: Factor
- cmComputeLinkInformation constructor
-
- This factors some code out of the constructor into a new method
- cmComputeLinkInformation::LoadImplicitLinkInfo for readability.
-
-2009-07-14 10:14 king
-
- * Source/: cmOrderDirectories.cxx, cmOrderDirectories.h: STYLE:
- Factor CollectOriginalDirectories code
-
- This factors code out of
- cmOrderDirectories::CollectOriginalDirectories into
- cmOrderDirectories::AddOriginalDirectories. Later a new call
- will be added, and this is more readable anyway.
-
-2009-07-14 08:38 king
-
- * Tests/ExportImport/: CMakeLists.txt, InitialCache.cmake.in: COMP:
- Shorten ExportImport test command lines
-
- The ExportImport test drives its Export and Import projects using
- the same compiler and flags. This converts the ctest
- --build-and-test command lines to use an initial cache file
- instead of passing all settings on the command line.
-
- We need a shorter command line to pass through VS 6 on Win98.
- This approach reduces duplicate code anyway.
-
-2009-07-14 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-13 17:35 king
-
- * Source/kwsys/System.c: BUG: Parse escapes in single-quoted unix
- arguments
-
- This fixes KWSys's unix-style command-line parsing to interpret
- backslash escapes inside single-quoted strings.
-
-2009-07-13 17:08 king
-
- * Source/cmSystemTools.cxx: COMP: Include <malloc.h> for 'free' on
- QNX
-
-2009-07-13 16:58 hoffman
-
- * Source/cmLocalVisualStudio10Generator.cxx,
- Source/cmLocalVisualStudio10Generator.h,
- Source/cmLocalVisualStudio7Generator.h,
- Source/cmVisualStudio10TargetGenerator.cxx,
- Source/cmVisualStudio10TargetGenerator.h,
- Source/cmVisualStudioGeneratorOptions.cxx,
- Tests/PrecompiledHeader/CMakeLists.txt,
- Tests/Preprocess/CMakeLists.txt,
- Tests/VSExternalInclude/CMakeLists.txt: ENH: almost all tests
- passing in vs 10, commit fixes preprocess and starts vs external
- project
-
-2009-07-13 16:46 king
-
- * Source/cmSystemTools.cxx: COMP: Include <stdlib.h> for 'free'
-
-2009-07-13 16:22 king
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Add
- cmSystemTools::ParseUnixCommandLine
-
- This method is a C++ wrapper around the KWSys System library
- function to parse unix-style command lines.
-
-2009-07-13 16:22 king
-
- * Source/kwsys/: ProcessUNIX.c, System.c, System.h.in: ENH: Provide
- unix-sytle command line parsing
-
- Add System_Parse_CommandForUnix to the KWSys System interface as
- a utility to parse a unix-style command line. Move the existing
- implementation out of ProcessUNIX. Add a flags argument reserved
- for future use in providing additional behavior.
-
-2009-07-13 11:24 king
-
- * Modules/: CMakeFortranCompilerABI.F,
- CMakeTestFortranCompiler.cmake: ENH: Create Fortran ABI detection
- framework
-
- This invokes CMakeDetermineCompilerABI.cmake for Fortran at the
- same place it is already done for C and CXX.
-
-2009-07-13 10:46 king
-
- * Modules/ExternalProject.cmake: ENH: Check tarball filename in
- ep_add
-
- This teaches the ExternalProject module to check the download URL
- file name. If it is not a tarball (.tar, .tgz, .tar.gz) it is an
- error because UntarFile does not yet understand other archive
- formats.
-
-2009-07-13 10:46 king
-
- * Modules/UntarFile.cmake: BUG: Teach UntarFile to delete dir on
- error
-
- When tarball extraction fails we should still cleanup the
- temporary extraction directory. Otherwise the next attempt will
- create a new directory and the first one will never be removed.
-
-2009-07-13 10:40 king
-
- * Modules/Platform/Linux-SunPro-CXX.cmake: BUG: Fix rpath-link flag
- for SunPro C++ on Linux
-
- This teaches Modules/Platform/Linux-SunPro-CXX.cmake the
- -rpath-link flag. The SunPro C++ compiler does not have a '-Wl,'
- option, so we just pass the flag directly.
-
- This problem was exposed by the ExportImport test now that it
- links an executable through the C++ compiler with the -rpath-link
- flag.
-
-2009-07-13 09:20 king
-
- * Tests/ExportImport/Export/: CMakeLists.txt, testLib6.c,
- testLib6c.c: COMP: Fix ExportImport testLib6 on VS6
-
- The compiler does not support multiple source files differing
- only by extension in one target. This renames the C source file
- in the test.
-
-2009-07-13 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-12 14:52 alex
-
- * Tests/CMakeLists.txt: BUG: disable the test for now, will make it
- work correctly later
-
- Alex
-
-2009-07-12 04:51 alex
-
- * Source/CTest/cmCTestScriptHandler.cxx, Tests/CMakeLists.txt,
- Modules/CTestScriptMode.cmake,
- Tests/CTestScriptMode/CTestTestScriptMode.cmake.in: STYLE: don't
- load CMakeDetermineSystem and CMakeSystemSpecific directly from
- cmCTestScriptHandler, but have it load the new script
- CTestScriptMode.cmake -> that makes it more flexible, also add a
- simple test that the system name has been determined correctly
-
- Alex
-
-2009-07-12 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-11 16:30 alex
-
- * Source/CTest/: cmCTestScriptHandler.cxx, cmCTestScriptHandler.h:
- STYLE: move the code for writing the initial cache into its own
- separate function, makes the long ProcessHandler() a little bit
- shorter
-
- Alex
-
-2009-07-11 16:27 alex
-
- * Source/CTest/: cmCTestScriptHandler.cxx, cmCTestScriptHandler.h:
- STYLE: rename InitCache to InitialCache, since it contains the
- contents for the initial cache and is not e.g. a flag which shows
- whether the cache should be initialized
-
- Alex
-
-2009-07-11 10:12 king
-
- * Source/: cmExportFileGenerator.cxx, cmTarget.cxx: ENH: Export and
- import link interface languages
-
- Now that languages are part of the link interface of a target we
- need to export/import the information. A new
- IMPORTED_LINK_INTERFACE_LANGUAGES property and per-config
- IMPORTED_LINK_INTERFACE_LANGUAGES_<CONFIG> property specify the
- information for imported targets. The export() and
- install(EXPORT) commands automatically set the properties.
-
-2009-07-11 10:10 king
-
- * Tests/ExportImport/: CMakeLists.txt, Export/CMakeLists.txt,
- Export/testLib6.c, Export/testLib6.cxx, Import/CMakeLists.txt,
- Import/A/CMakeLists.txt, Import/A/imp_testExe1.c: ENH: Test
- export/import of link interface languages
-
- This extends the ExportImport test. The Export project creates a
- C++ static library and exports it. Then the Import project links
- the library into a C executable. On most platforms the
- executable will link only if the C++ linker is chosen correctly.
-
-2009-07-11 00:05 hoffman
-
- * Source/cmLocalGenerator.h, Source/cmMakefile.cxx,
- Source/cmSourceGroup.cxx, Source/cmSourceGroup.h,
- Source/cmVisualStudio10TargetGenerator.cxx,
- Source/cmVisualStudio10TargetGenerator.h,
- Tests/SourceGroups/CMakeLists.txt, Tests/SourceGroups/README.txt:
- ENH: add group support and fix borland error
-
-2009-07-11 00:01 kwrobot
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-10 16:51 king
-
- * Source/: cmGlobalGenerator.h, cmGlobalXCodeGenerator.cxx,
- cmGlobalXCodeGenerator.h: BUG: Fix Xcode linker language
-
- Xcode does not seem to support direct requests for using the
- linker for a particular language. It always infers the linker
- using the languages in the source files. When no user source
- files compile with target's linker language we add one to help
- Xcode pick the linker.
-
- A typical use case is when a C executable links to a C++ archive.
- The executable has no C++ source files but we need to use the
- C++ linker.
-
-2009-07-10 13:53 king
-
- * Source/cmTarget.cxx: ENH: Update LINKER_LANGUAGE and HAS_CXX docs
-
- This updates the documentation of these properties to account for
- the new automatic linker language computation.
-
-2009-07-10 13:53 king
-
- * Tests/: CMakeLists.txt, LinkLanguage/CMakeLists.txt,
- LinkLanguage/LinkLanguage.c, LinkLanguage/foo.cxx: ENH: Test
- transitive link languages
-
- This test creates a C executable that links to a C++ static
- library. On most platforms the executable will not link unless
- the C++ linker is chosen correctly.
-
-2009-07-10 13:53 king
-
- * Source/: cmTarget.cxx, cmTarget.h: ENH: Consider link
- dependencies for link language
-
- This teaches cmTarget to account for the languages compiled into
- link dependencies when determining the linker language for its
- target.
-
- We list the languages compiled into a static archive in its link
- interface. Any target linking to it knows that the runtime
- libraries for the static archive's languages must be available at
- link time. For now this affects only the linker language
- selection, but later it will allow CMake to automatically list
- the language runtime libraries.
-
-2009-07-10 13:08 king
-
- * Source/CTest/cmCTestHG.cxx: COMP: Fix cmCTestHG for old HP
- compiler
-
- The compiler does not have a fully compliant std::string.
-
-2009-07-10 12:26 hoffman
-
- * Source/cmVisualStudio10TargetGenerator.cxx: ENH: change so rules
- show up in GUI, must be windows path
-
-2009-07-10 11:07 king
-
- * Modules/CTest.cmake, Source/CMakeLists.txt,
- Source/CTest/cmCTestHG.cxx, Source/CTest/cmCTestHG.h,
- Source/CTest/cmCTestUpdateCommand.cxx,
- Source/CTest/cmCTestUpdateHandler.cxx,
- Source/CTest/cmCTestUpdateHandler.h, Tests/CMakeLists.txt,
- Tests/CTestUpdateHG.cmake.in: ENH: Teach CTest to handle
- Mercurial repositories
-
- This creates cmCTestHG to drive CTest Update handling on hg-based
- work trees. Currently we always update to the head of the remote
- tracking branch (hg pull), so the nightly start time is ignored
- for Nightly builds. A later change will address this.
-
- See issue #7879. Patch from Emmanuel Christophe. I modified the
- patch slightly for code style, to finish up some parsing details,
- and to fix the test.
-
-2009-07-10 11:07 king
-
- * Source/cmProcessTools.h: ENH: New OutputParser::Process()
- signature
-
- This overload accepts a null-terminated string instead of
- requiring a length. It is useful to pass some fake process
- output before and after the real process output.
-
-2009-07-10 09:53 david.cole
-
- * CTestCustom.cmake.in: COMP: Mask out shadowed declaration
- warnings that always follow already masked Utilities/cmtar
- warnings.
-
-2009-07-10 09:12 hoffman
-
- * Modules/CMakeVS10FindMake.cmake, Source/cmCTest.cxx,
- Source/cmGlobalVisualStudio10Generator.cxx,
- Source/cmGlobalVisualStudio10Generator.h,
- Source/cmGlobalVisualStudio71Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.h,
- Source/cmGlobalVisualStudioGenerator.cxx,
- Source/cmLocalVisualStudio10Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Source/cmLocalVisualStudioGenerator.cxx,
- Source/cmLocalVisualStudioGenerator.h, Source/cmTarget.cxx,
- Source/cmVisualStudio10TargetGenerator.cxx,
- Source/cmVisualStudio10TargetGenerator.h,
- Tests/Complex/Library/CMakeLists.txt,
- Tests/ComplexOneConfig/Library/CMakeLists.txt,
- Tests/ComplexRelativePaths/Library/CMakeLists.txt: ENH: only 5
- failing tests for VS 10
-
-2009-07-10 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-09 14:15 king
-
- * Source/kwsys/SharedForward.h.in: COMP: More KWSys SharedForward
- pointer const-ness
-
- This adds another cast to avoid pointer conversion warnings.
- Unfortunately C does not recognize implicit conversions that add
- cv-qualifiers as well as C++ does.
-
-2009-07-09 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-08 16:18 david.cole
-
- * Source/kwsys/MD5.c: COMP: Eliminate "conversion may change sign
- of result" warnings by using size_t where appropriate. (Missed
- one warning with last commit: add a cast to md5_word_t.)
-
-2009-07-08 16:15 david.cole
-
- * Source/kwsys/MD5.c: COMP: Eliminate "conversion may change sign
- of result" warnings by using size_t where appropriate.
-
-2009-07-08 15:09 king
-
- * Source/kwsys/SharedForward.h.in: COMP: Fix KWSys SharedForward
- sign conversion
-
- This uses size_t where necessary to avoid size_t/int conversion
- warnings.
-
-2009-07-08 15:09 king
-
- * Source/kwsys/SharedForward.h.in: COMP: Fix KWSys SharedForward
- pointer const-ness
-
- This adds const-ness and casts where necessary to avoid pointer
- conversion warnings.
-
-2009-07-08 14:43 david.cole
-
- * CTestCustom.cmake.in: COMP: Suppress warnings from the
- Utilities/cmtar code in dashboard results.
-
-2009-07-08 14:33 king
-
- * Source/: cmDocumentVariables.cxx, cmTarget.cxx: BUG: Use link
- language for target name computation
-
- The commit "Do not compute link language for LOCATION" was wrong.
- The variables
-
- CMAKE_STATIC_LIBRARY_PREFIX_Java
- CMAKE_STATIC_LIBRARY_SUFFIX_Java
-
- are used for building Java .jar files. This commit re-enables
- the feature and documents the variables:
-
- CMAKE_EXECUTABLE_SUFFIX_<LANG>
- CMAKE_IMPORT_LIBRARY_PREFIX_<LANG>
- CMAKE_IMPORT_LIBRARY_SUFFIX_<LANG>
- CMAKE_SHARED_LIBRARY_PREFIX_<LANG>
- CMAKE_SHARED_LIBRARY_SUFFIX_<LANG>
- CMAKE_SHARED_MODULE_PREFIX_<LANG>
- CMAKE_SHARED_MODULE_SUFFIX_<LANG>
- CMAKE_STATIC_LIBRARY_PREFIX_<LANG>
- CMAKE_STATIC_LIBRARY_SUFFIX_<LANG>
-
- Instead of making separate, repetitive entries for the _<LANG>
- variable documentation, we just mention the per-language name in
- the text of the platform-wide variable documentation. Internally
- we keep undocumented definitions of these properties to satisfy
- CMAKE_STRICT mode.
-
-2009-07-08 13:03 king
-
- * Source/: cmComputeLinkInformation.cxx,
- cmGlobalXCodeGenerator.cxx, cmLocalVisualStudio7Generator.cxx,
- cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx, cmTarget.cxx, cmTarget.h,
- cmVisualStudio10TargetGenerator.cxx: ENH: Pass config to
- cmTarget::GetLinkerLanguage
-
- This passes the build configuration to most GetLinkerLanguage
- calls. In the future the linker language will account for
- targets linked in each configuration.
-
-2009-07-08 13:03 king
-
- * Source/: cmComputeLinkInformation.cxx,
- cmGlobalUnixMakefileGenerator3.cxx, cmInstallTargetGenerator.cxx,
- cmLocalUnixMakefileGenerator3.cxx,
- cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx, cmTarget.cxx, cmTarget.h:
- ENH: Pass config to cmTarget RPATH install methods
-
- This passes the build configuration to cmTarget methods
- IsChrpathUsed and NeedRelinkBeforeInstall. Later these methods
- will use the value.
-
-2009-07-08 13:03 king
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: Use fixed header file
- type mapping for Xcode
-
- This simplifies computation of the lastKnownFileType attribute
- for header files in Xcode projects. We now use a fixed mapping
- from header file extension to attribute value. The value is just
- a hint to the Xcode editor, so computing the target linker
- language is overkill.
-
-2009-07-08 13:03 king
-
- * Source/: cmDocumentVariables.cxx, cmTarget.cxx: ENH: Do not
- compute link language for LOCATION
-
- The LOCATION property requires the full file name of a target to
- be computed. Previously we computed the linker language for a
- target to look up variables such as
- CMAKE_SHARED_LIBRARY_SUFFIX_<LANG>. This led to locating all the
- source files immediately instead of delaying the search to
- generation time. In the future even more computation will be
- needed to get the linker language, so it is better to avoid it.
-
- The _<LANG> versions of these variables are undocumented, not set
- in any platform file we provide, and do not produce hits in
- google. This change just removes the unused feature outright.
-
-2009-07-08 12:04 king
-
- * Source/: cmComputeLinkDepends.cxx, cmTarget.cxx, cmTarget.h: ENH:
- Introduce cmTarget::LinkImplementation API
-
- The new method centralizes loops that process raw
- OriginalLinkLibraries to extract the link implementation
- (libraries linked into the target) for each configuration.
- Results are computed on demand and then cached. This simplifies
- link interface computation because the default case trivially
- copies the link implementation.
-
-2009-07-08 11:41 king
-
- * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt,
- Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt,
- CustomCommand/CMakeLists.txt, Dependency/CMakeLists.txt,
- Dependency/Case4/CMakeLists.txt,
- ExportImport/Export/CMakeLists.txt,
- ExportImport/Import/CMakeLists.txt, FunctionTest/CMakeLists.txt,
- LoadCommand/CMakeCommands/CMakeLists.txt,
- LoadCommandOneConfig/CMakeCommands/CMakeLists.txt,
- MacroTest/CMakeLists.txt, MakeClean/CMakeLists.txt,
- Plugin/CMakeLists.txt, Preprocess/CMakeLists.txt,
- ReturnTest/CMakeLists.txt, RuntimePath/CMakeLists.txt,
- SourceGroups/CMakeLists.txt: ENH: Remove CMAKE_ANSI_CFLAGS from
- tests
-
- As of CMake 2.6 this variable is not defined, and the ANSI flags
- for the HP compiler are simply hard-coded in the default C flags.
-
-2009-07-08 09:14 king
-
- * Modules/CMakeDetermineCCompiler.cmake: ENH: Identify HP C
- compiler
-
- This compiler does not enable ANSI mode by default. When
- identifying the C compiler we try passing -Aa in case it is the
- HP compiler.
-
-2009-07-08 08:31 king
-
- * Source/: cmTarget.cxx, cmTarget.h: COMP: Pimplize cmTarget
- ImportInfo and OutputInfo
-
- These member structures are accessed only in the cmTarget
- implementation so they do not need to be defined in the header.
- This cleanup also aids Visual Studio 6 in compiling them.
-
-2009-07-08 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-07 14:02 alex
-
- * Source/cmExtraCodeBlocksGenerator.cxx: ENH: get the build type
- specific location
-
- Alex
-
-2009-07-07 11:30 king
-
- * Source/cmTarget.cxx: BUG: Do not recompute link interfaces
-
- The config-to-interface map in cmTarget should use
- case-insensitive configuration names. The change avoids
- repeating work if the given configuration has a different case
- than one already computed.
-
-2009-07-07 10:57 king
-
- * Source/cmTarget.cxx: BUG: Fix CMP0003 wrong-config link dir
- support
-
- This fixes a dumb logic error introduced by the centralization of
- link interface computation. It prevented link directories from
- alternate configurations from getting listed by the OLD behavior
- of CMP0003 for targets linked as transitive dependencies.
-
-2009-07-07 10:56 king
-
- * Source/cmTarget.h: STYLE: Fix comment on cmTarget::LinkInterface
-
- The comment had a typo and was longer than necessary.
-
-2009-07-07 09:45 king
-
- * Source/: cmComputeLinkDepends.cxx, cmExportFileGenerator.cxx,
- cmTarget.cxx, cmTarget.h: ENH: Simplify cmTarget link interface
- storage
-
- This makes the LinkInterface struct a member of cmTarget,
- pimplizes the config-to-interface map, and stores interface
- instances by value.
-
-2009-07-07 07:44 king
-
- * Source/: cmComputeLinkInformation.cxx,
- cmGlobalXCodeGenerator.cxx, cmLocalGenerator.cxx,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx,
- cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx, cmTarget.cxx, cmTarget.h,
- cmVisualStudio10TargetGenerator.cxx: ENH: Simpler
- cmTarget::GetLinkerLanguage signature
-
- This method previously required the global generator to be
- passed, but that was left from before cmTarget had its Makefile
- member. Now the global generator can be retrieved automatically,
- so we can drop the method argument.
-
-2009-07-07 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-06 16:25 king
-
- * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h,
- cmExportFileGenerator.cxx, cmExportFileGenerator.h, cmTarget.cxx,
- cmTarget.h: ENH: Centralize default link interface computation
-
- When LINK_INTERFACE_LIBRARIES is not set we use the link
- implementation to implicitly define the link interface. These
- changes centralize the decision so that all linkable targets
- internally have a link interface.
-
-2009-07-06 16:24 king
-
- * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h,
- cmTarget.cxx, cmTarget.h: ENH: Move CMP0004 check into cmTarget
-
- This moves code implementing policy CMP0004 into
- cmTarget::CheckCMP0004. The implementation is slightly simpler
- and can be re-used outside of cmComputeLinkDepends.
-
-2009-07-06 16:24 king
-
- * Source/: cmTarget.cxx, cmTarget.h: ENH: Exception safe link
- interface computation
-
- This fixes cmTarget::GetLinkInterface to compute and return the
- link interface in an exception-safe manner. We manage the link
- interface returned by cmTarget::ComputeLinkInterface using
- auto_ptr.
-
-2009-07-06 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-05 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-04 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-03 10:34 king
-
- * Source/: cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx: ENH: Pass config to
- cmTarget::GetDirectory()
-
- This teaches the makefile generators to always pass the
- configuration name to the cmTarget::GetDirectory method. Later
- this will allow per-configuration target output directories, and
- it cleans up use of the current API.
-
-2009-07-03 10:33 king
-
- * Source/: cmTarget.cxx, cmTarget.h: ENH: Refactor target output
- dir computation
-
- This creates cmTarget::GetOutputInfo to compute, cache, and
- lookup target output directory information on a per-configuration
- basis. It avoids re-computing the information every time it is
- needed.
-
-2009-07-03 10:33 king
-
- * Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Templates/UtilityHeader.dsptemplate: BUG: Avoid
- cmTarget::GetDirectory for utilities
-
- Since utility targets have no main output files like executables
- or libraries, they do not define an output directory. This
- removes a call to cmTarget::GetDirectory from
- cmLocalVisualStudio{6,7}Generator for such targets.
-
-2009-07-03 10:33 king
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: STYLE: Replace large if() with
- named boolean
-
- In cmLocalVisualStudio{6,7}Generator this replaces a large if()
- test with a re-usable result stored in a boolean variable named
- accordingly.
-
-2009-07-03 08:41 king
-
- * Source/: cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h: ENH:
- Create cmMakefileTargetGenerator::ConfigName
-
- This member stores the build configuration for which Makefiles
- are being generated. It saves repeated lookup of the equivalent
- member from cmLocalUnixMakefileGenerator3, making code shorter
- and more readable.
-
-2009-07-03 08:40 king
-
- * Source/: cmInstallTargetGenerator.cxx,
- cmInstallTargetGenerator.h: ENH: Cleanup per-config target
- install generation
-
- This cleans up cmInstallTargetGenerator's code that computes the
- build tree location of a target under each configuration.
-
-2009-07-03 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-02 17:38 david.cole
-
- * Modules/ExternalProject.cmake: BUG: Allow arbitrary text in
- values for some keywords. (And avoid warning that the arbitrary
- text is an unknown keyword.)
-
-2009-07-02 16:13 king
-
- * Source/CTest/cmCTestTestHandler.cxx: ENH: Reports "Passed" for
- WILL_FAIL tests
-
- Previously tests marked with WILL_FAIL have been reported by
- CTest as
-
- ...............***Failed - supposed to fail
-
- when they correctly failed. Now we just report ".....Passed"
- because there is no reason to draw attention to something that
- works as expected.
-
-2009-07-02 14:14 king
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- BUG: Do not generate "global" Xcode config
-
- Xcode 2.0 and below supported only one configuration, but 2.1 and
- above support multiple configurations. In projects for the
- latter version we have been generating a "global" set of
- buildSettings for each target in addition to the
- per-configuration settings. These global settings are not used
- by Xcode 2.1 and above, so we should not generate them.
-
-2009-07-02 14:13 king
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- ENH: Simplify Xcode CreateBuildSettings method
-
- The cmGlobalXCodeGenerator::CreateBuildSettings had the three
- arguments productName, productType, and fileType that returned
- information used by only one of the call sites. This change
- refactors that information into separate methods named
- accordingly.
-
-2009-07-02 14:13 king
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: Use logical target names
- in Xcode projects
-
- Previously we named Xcode targets using the output file name from
- one of the configurations. This is not very friendly, especially
- because it changes with CMAKE_BUILD_TYPE. Instead we should use
- the original logical target names for the Xcode target names.
- This is also consistent with the way the other IDE generators
- work.
-
-2009-07-02 13:17 david.cole
-
- * Modules/ExternalProject.cmake: BUG: cmd_set logic was missing
- from update and patch steps. Fix it so that UPDATE_COMMAND ""
- means "no update step even though this is a CVS/SVN
- repository..."
-
-2009-07-02 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-07-01 14:29 king
-
- * Tests/CMakeLists.txt: BUG: Skip CTest.Update* for cygwin tools on
- Windows
-
- These tests cannot run with cygwin tools unless testing cygwin
- CTest. The version control tools do not understand all Windows
- paths.
-
-2009-07-01 13:48 david.cole
-
- * Tests/ExternalProject/CMakeLists.txt: BUG: Exclude svn portions
- of ExternalProject test when: svn client version is less than 1.2
- or cygwin/non-cygwin mismatch detected -- avoids ExternalProject
- test failures on dash5 and dash22-cygwin. Also, non-code change:
- allow cvslock through Windows firewall to prevent ExternalProject
- test failure on dash1vista32.
-
-2009-07-01 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-30 09:10 king
-
- * Source/cmVS10CLFlagTable.h: STYLE: Fix line-too-long style
- violation.
-
-2009-06-30 09:05 king
-
- * Source/cmDocumentVariables.cxx: BUG: Fix documentation of
- CMAKE_CFG_INTDIR
-
- The documentation of this variable was out-dated and misleading.
- See issue #9219.
-
-2009-06-30 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-29 14:27 alex
-
- * Source/cmExtraCodeBlocksGenerator.cxx: COMP: don't use
- vector::at(), this doesn't seem to exist everyhwere
- (http://www.cdash.org/CDash/viewBuildError.php?buildid=366375)
-
- Alex
-
-2009-06-29 13:02 king
-
- * Source/: cmGlobalXCode21Generator.cxx,
- cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h: ENH:
- Generate native Xcode 3.0 and 3.1 projects
-
- CMake previously generated Xcode project files labeled as
- 2.4-compatible by recent versions of Xcode (3.0 and 3.1). It is
- better to generate native Xcode 3.0 and 3.1 projects. In
- particular, this can improve build times by using the "Build
- independent targets in parallel" feature.
-
- Patch from Doug Gregor. See issue #9216.
-
-2009-06-29 10:46 david.cole
-
- * Tests/ExternalProject/CMakeLists.txt: BUG: Avoid running the cvs
- portions of the ExternalProject test on non-cygwin builds that
- are using cygwin cvs.exe.
-
-2009-06-29 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-28 09:46 hoffman
-
- * Source/cmVisualStudio10TargetGenerator.h: ENH: add rest of lib
- check
-
-2009-06-28 08:59 hoffman
-
- * Source/cmVisualStudio10TargetGenerator.cxx: ENH: fix line length
-
-2009-06-28 08:06 alex
-
- * Source/cmConfigureFileCommand.h: STYLE: document #cmakedefine01
- (see #9189 , there's also a test for it in Tests/Complex/ )
-
- Alex
-
-2009-06-28 08:05 alex
-
- * Source/cmDocumentationFormatterText.cxx: STYLE: don't print the
- section name "SingleItem" if the documentation for just a single
- item is printed
-
- Alex
-
-2009-06-28 05:59 alex
-
- * Modules/CMakeFindEclipseCDT4.cmake: BUG: recognize system include
- paths also when the languages are set to something different from
- "C", by resetting them to "C" (#9122)
-
- Alex
-
-2009-06-28 04:58 alex
-
- * Source/cmExtraCodeBlocksGenerator.cxx: ENH: create a "Virtual
- Folder" in CodeBlocks, which contains all the cmake files of the
- project, i.e. there is now a "CMake Files" folder additionally to
- the "Sources", "Headers" and "Others" folders which already
- existed. Patch by Daniel Teske.
-
- Alex
-
-2009-06-28 04:30 alex
-
- * Source/cmExtraCodeBlocksGenerator.cxx: ENH: also support nmake
- and msvc for use with CodeBlocks under Windows, patch by Daniel
- Teske
-
- Alex
-
-2009-06-28 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-27 11:17 alex
-
- * Source/cmDocumentVariables.cxx: STYLE: document
- CMAKE_SKIP_INSTALL_ALL_DEPENDENCY variable
-
- Alex
-
-2009-06-27 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-26 13:00 david.cole
-
- * Tests/ExternalProject/: CMakeLists.txt, svnrepo.tgz: BUG:
- Downgrade svn repository to be created with an svn 1.2
- installation (rather than 1.4) so that it works (hopefully) with
- more svn clients in the wild. Change time stamps of test projects
- in CMakeLists.txt to reflect times available in newly created
- repository. Add UPDATE_COMMAND "" for checkouts that are
- tag-based or date-stamp-based to avoid unnecessary update steps.
-
-2009-06-26 11:50 hoffman
-
- * Source/: cmGlobalVisualStudio10Generator.h, cmVS10CLFlagTable.h,
- cmVS10LibFlagTable.h, cmVS10LinkFlagTable.h,
- cmVisualStudio10TargetGenerator.cxx, cmparseMSBuildXML.py: ENH:
- fix line length issues
-
-2009-06-26 11:32 david.cole
-
- * Tests/ExternalProject/CMakeLists.txt: ENH: Do not unzip the local
- repositories unless CVS and SVN executables are available. Add
- 'configure' step to the repository extraction 'projects' to print
- the version number of CVS and SVN in the dashboard test/build
- output.
-
-2009-06-26 10:18 hoffman
-
- * CMakeCPackOptions.cmake.in,
- Source/QtDialog/QtDialogCPack.cmake.in: ENH: do not create a
- desktop link for CMakeSetup
-
-2009-06-26 10:00 hoffman
-
- * Utilities/KWStyle/CMake.kws.xml.in: ENH: 80 is fine, i guess not
-
-2009-06-26 09:59 hoffman
-
- * Utilities/KWStyle/CMake.kws.xml.in: ENH: 80 is fine
-
-2009-06-26 09:55 david.cole
-
- * Tests/ExternalProject/CMakeLists.txt: ENH: Revise the
- ExternalProject test to use local CVS and SVN repositories to
- avoid network activity. Also: stop building KWStyle and kwsys as
- part of this test to reduce the amount of time spent running the
- test. Instead, build TutorialStep1 as retrieved from the new
- local repositories with various tags, date stamps and revision
- numbers.
-
-2009-06-26 00:07 hoffman
-
- * Source/cmVisualStudio10TargetGenerator.cxx: ENH: remove debug
- print
-
-2009-06-26 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-25 22:53 hoffman
-
- * Source/: cmVisualStudio10TargetGenerator.cxx,
- cmVisualStudio10TargetGenerator.h: ENH: add obj file support and
- remove a warning
-
-2009-06-25 16:41 hoffman
-
- * CompileFlags.cmake, Modules/CMakeVS10FindMake.cmake,
- Source/CMakeLists.txt, Source/cmGlobalGenerator.cxx,
- Source/cmGlobalVisualStudio10Generator.cxx,
- Source/cmGlobalVisualStudio10Generator.h,
- Source/cmGlobalVisualStudio71Generator.cxx,
- Source/cmListFileLexer.c, Source/cmLocalGenerator.h,
- Source/cmLocalVisualStudio10Generator.cxx,
- Source/cmLocalVisualStudio10Generator.h,
- Source/cmLocalVisualStudio7Generator.h,
- Source/cmLocalVisualStudioGenerator.h, Source/cmMakefile.cxx,
- Source/cmVS10CLFlagTable.h, Source/cmVS10LibFlagTable.h,
- Source/cmVS10LinkFlagTable.h,
- Source/cmVisualStudio10TargetGenerator.cxx,
- Source/cmVisualStudio10TargetGenerator.h,
- Source/cmVisualStudioGeneratorOptions.cxx,
- Source/cmVisualStudioGeneratorOptions.h, Source/cmake.cxx,
- Source/cmparseMSBuildXML.py, Source/kwsys/ProcessWin32.c: ENH:
- first pass at VS 10, can bootstrap CMake, but many tests still
- fail
-
-2009-06-25 16:39 hoffman
-
- * Source/CTest/cmCTestScriptHandler.cxx: ENH: add reminder comment
-
-2009-06-25 16:38 hoffman
-
- * Source/CTest/cmCTestSubmitHandler.cxx: ENH: set an upload speed
- limit for ctest
-
-2009-06-25 12:03 david.cole
-
- * Tests/ExternalProject/: cvsrepo.tgz, svnrepo.tgz: ENH: Add *.tgz
- files of cvs and svn repositories containing the TutorialStep1
- project to test cvs and svn capabilities of ExternalProject
- without requiring network activity.
-
-2009-06-25 10:51 king
-
- * Tests/CMakeLists.txt: BUG: Fix CTest.UpdateBZR tests to run in
- parallel
-
- The UpdateBZR and UpdateBZR.CLocale tests should run in different
- directories so that they can be executed in parallel.
-
-2009-06-25 09:58 king
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h, cmMakefileTargetGenerator.cxx,
- cmMakefileTargetGenerator.h: ENH: Cleanup make progress rule
- generation code
-
- This cleans up the Makefile generator's progress rule code.
- Instead of keeping every cmMakefileTargetGenerator instance alive
- to generate progress, we keep only the information necessary in a
- single table. This approach keeps most of the code in
- cmGlobalUnixMakefileGenerator3, thus simplifying its public
- interface.
-
-2009-06-25 09:43 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: STYLE: Remove unused
- variable
-
-2009-06-25 08:45 king
-
- * Modules/: CMakeDetermineFortranCompiler.cmake,
- CMakeFortranCompilerId.F.in, CMakeFortranCompilerId.F90.in: ENH:
- Identify Fortran compilers with fixed format
-
- This enhances the Fortran compiler id detection by using a source
- that can compile either as free or fixed format. As long as the
- compiler knows it should preprocess the source file (.F) the
- identification can work. Even free-format compilers may try
- fixed-format parsing if the user specifies certain flags, so we
- must support both.
-
-2009-06-25 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-24 16:50 clinton
-
- * Source/QtDialog/CMakeSetupDialog.cxx:
- ENH: Save/restore splitter sizes. Fixes #9070.
-
-2009-06-24 15:09 king
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Remove unused
- cmSystemTools::RemoveEscapes
-
- The RemoveEscapes method is no longer used anywhere. All uses of
- it have been replaced by a real lexer. We can remove the method.
-
-2009-06-24 15:03 king
-
- * Modules/ExternalProject.cmake,
- Tests/ExternalProject/CMakeLists.txt: ENH: New
- ExternalProject.cmake module interface
-
- This creates new module ExternalProject.cmake to replace the
- prototype AddExternalProject.cmake module. The interface is more
- refined, more flexible, and better documented than the prototype.
-
- This also converts the ExternalProject test to use the new
- module. The old module will be removed (it was never in a CMake
- release) after projects using it have been converted to the new
- module.
-
-2009-06-24 14:48 king
-
- * Tests/CMakeLists.txt: BUG: Extend timeout of ExternalProject test
-
- This test requires a long time on slower machines, so we need to
- extend its timeout. It is an important test, so it does not fall
- under the CMAKE_RUN_LONG_TESTS option. In the future we should
- try to shorten the test by building simpler external projects.
-
-2009-06-24 13:24 king
-
- * Source/cmTargetLinkLibrariesCommand.h: ENH: Mention cycles in
- target_link_libraries docs
-
- This documents CMake's support for cycles in the dependency graph
- of STATIC libraries.
-
-2009-06-24 09:36 king
-
- * Source/: cmMakefile.cxx, cmSourceFile.cxx, cmTarget.cxx: ENH:
- Clarify COMPILE_DEFINITIONS separator in docs
-
- The COMPILE_DEFINITIONS properties are semicolon-separated lists.
- Make this clear in the documentation. See issue #9199.
-
-2009-06-24 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-23 16:40 hoffman
-
- * Modules/FindBoost.cmake: ENH: boost lib is often found under the
- boost include dir
-
-2009-06-23 16:31 hoffman
-
- * Modules/FindBoost.cmake: ENH: add additional place to look for
- boost so it works out of the box on windows
-
-2009-06-23 12:58 martink
-
- * Tests/Tutorial/: Step5/MathFunctions/MakeTable.cxx,
- Step6/MathFunctions/MakeTable.cxx,
- Step7/MathFunctions/MakeTable.cxx: ENH: fix spelling mistake
-
-2009-06-23 09:06 king
-
- * Source/CTest/cmCTestCVS.cxx: BUG: Fix CVS update parsing for
- TortoiseCVS
-
- The TortoiseCVS version of cvs.exe includes the '.exe' in cvs
- update messages for files removed from the repository. This
- change accounts for it in the regular expressions that match such
- lines. Now removed files are properly reported by ctest_update()
- when using TortoiseCVS.
-
-2009-06-23 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-22 16:25 king
-
- * Tests/: CMakeLists.txt, CTestUpdateCVS.cmake.in: ENH: Auto-enable
- CTest.UpdateCVS test on Windows
-
- The test needs to create a cvs repository with 'cvs init', but
- the CVSNT client on Windows needs 'cvs init -n' to avoid
- administrator access. Previously we required users to explicitly
- enable CTEST_TEST_UPDATE_CVS to activate the test on Windows.
-
- This teaches the test to use the '-n' option when necessary. Now
- we can enable the test in all cases except when trying to use a
- cygwin cvs.exe without cygwin paths.
-
-2009-06-22 14:19 king
-
- * Source/kwsys/Configure.h.in: COMP: Quiet aggressive Borland
- warnings in KWSys
-
- This disables Borland warning 8027 while compiling KWSys source
- files. It provides no useful information.
-
-2009-06-22 14:19 king
-
- * Source/kwsys/SystemTools.cxx: COMP: Remove useless variable
- assignment
-
- This removes an assignment whose result is never used, thus
- quieting a warning from Borland.
-
-2009-06-22 10:02 hoffman
-
- * Modules/CMakeTestCCompiler.cmake: BUG: remove warning in test of
- compiler so -Werror does not fail
-
-2009-06-22 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-21 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-20 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-19 17:09 king
-
- * Modules/Platform/HP-UX.cmake: BUG: Look in arch-specific HPUX
- implicit link dirs
-
- On HP-UX machines some system libraries appear in
- architecture-specific implicit linker search paths. We need to
- add these paths to our system library search path. However, at
- the time we construct the search path we do not know the target
- architecture.
-
- A full solution requires re-organizing platform configuration
- files so that the target architecture can be known when needed.
- Until that happens we can avoid the problem by searching in both
- 32-bit and 64-bit implicit link directories. By telling CMake
- that they are implicit directories the generated link lines will
- never pass the paths, leaving the linker free to find the library
- of the proper architecture even if the find_library call finds
- the wrong one.
-
-2009-06-19 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-18 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-17 14:18 king
-
- * Source/cmPolicies.cxx: ENH: Improve CMP0012 doc and message
- formatting
-
- This fixes the CMP0012 description to have a one-line summary in
- the 'brief' section and the rest of the explanation in the 'full'
- section. It makes the warning message shorter and improves
- formatting of the policy documentation, especially in the HTML
- pages. The convention is already used by all other policies.
-
-2009-06-17 14:18 king
-
- * Source/cmIfCommand.cxx: ENH: Improve format of if() command
- messages
-
- Errors and warnings from the if() command always display the
- argument list given to the command followed by an explanation of
- the problem. This moves the argument list into a pre-formatted
- block and follows it with a paragraph-form explanation. The
- result looks cleaner.
-
-2009-06-17 13:40 king
-
- * Source/: cmMakefile.cxx, cmMakefile.h, cmPolicies.cxx,
- cmPolicies.h: ENH: Create CMP0013 to disallow duplicate dirs
-
- In CMake 2.6.3 and below we silently accepted duplicate build
- directories whose build files would then conflict. At first this
- was considured purely a bug that confused beginners but would not
- be used in a real project. In CMake 2.6.4 we explicitly made it
- an error.
-
- However, some real projects took advantage of this as a "feature"
- and got lucky that the subtle build errors it can cause did not
- occur. Therefore we need a policy to deal with the case more
- gracefully. See issue #9173.
-
-2009-06-17 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-16 11:57 king
-
- * Source/cmLocalVisualStudio6Generator.cxx: BUG: Create an exe's
- implib output dir for VS 6
-
- VS 6 forgets to create the output directory for an executable's
- import library in case the exe dllexport-s symbols. We work
- around this VS bug by creating a pre-link event on the executable
- target to make the directory.
-
-2009-06-16 11:57 king
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio6Generator.h: ENH: Refactor VS 6 build event
- generation
-
- In cmLocalVisualStudio6Generator we generate pre-build, pre-link,
- and post-build events into project files. This refactors the
- generation code for the three event types into a private
- EventWriter class to avoid duplicate code.
-
-2009-06-16 11:44 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: Create exe implib
- dir in VS pre-link rule
-
- This moves creation of an executable's import library directory
- in VS projects from the pre-build step to the pre-link step. It
- makes sense to create the directory at the last moment.
-
-2009-06-16 11:44 king
-
- * Source/: cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h,
- cmLocalVisualStudioGenerator.cxx, cmLocalVisualStudioGenerator.h:
- ENH: Generalize exe implib dir creation for VS
-
- In VS 7,8,9 executable targets we generate a build event to
- create the output directory for the import library in case the
- executable marks symbols with dllexport (VS forgets to create
- this directory). This generalizes computation of the custom
- command line to support future use with other VS versions.
-
-2009-06-16 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-15 16:12 king
-
- * Source/: cmDefinePropertyCommand.cxx, cmDefinePropertyCommand.h:
- ENH: Simplify docs args for define_property
-
- This teaches the define_property command signature to accept
- multiple arguments after the BRIEF_DOCS and FULL_DOCS keywords.
- We append the arguments together, making specification of long
- documentation easier.
-
-2009-06-15 14:22 hoffman
-
- * Source/CTest/cmCTestBuildAndTestHandler.cxx: STYLE: fix warning
-
-2009-06-15 13:51 hoffman
-
- * Source/CTest/cmCTestBuildAndTestHandler.cxx: BUG: fix crash when
- running ctest coverage for VTK
-
-2009-06-15 13:22 hoffman
-
- * Modules/FindOpenGL.cmake: ENH: add path for 64 bit on old hp
-
-2009-06-15 13:17 hoffman
-
- * Modules/Platform/HP-UX.cmake: ENH: put the 64 bit paths first
-
-2009-06-15 12:39 hoffman
-
- * Modules/: Platform/HP-UX.cmake, FindOpenGL.cmake: ENH: add more
- search paths on HPUX
-
-2009-06-15 12:33 martink
-
- * Source/cmPolicies.cxx: COMP: fix line length
-
-2009-06-15 10:55 king
-
- * Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Tests/Plugin/CMakeLists.txt: BUG: Create an exe's implib output
- dir for VS
-
- If an executable marks symbols with __declspec(dllexport) then VS
- creates an import library for it. However, it forgets to create
- the directory that will contain the import library if it is
- different from the location of the executable. We work around
- this VS bug by creating a pre-build event on the executable
- target to make the directory.
-
-2009-06-15 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-14 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-13 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-12 15:44 king
-
- * Source/kwsys/ProcessUNIX.c: COMP: Do not compile VMS-specific
- code on non-VMS
-
- This helps avoid fixing VMS-specific code for non-VMS compilers
- where it isn't needed anyway.
-
-2009-06-12 15:28 king
-
- * Source/: cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h: ENH: Refactor VS 7,8,9 build
- event generation
-
- In cmLocalVisualStudio7Generator we generate pre-build, pre-link,
- and post-build events into project files. This refactors the
- generation code for the three event types into a private
- EventWriter class to avoid duplicate code.
-
-2009-06-12 13:33 fbertel
-
- * Source/kwsys/ProcessUNIX.c: COMP:Fixed warning with gcc 4.3.3:
- passing argument 1 of kwsysProcessSetVMSFeature discards
- qualifiers from pointer target type.
-
-2009-06-12 13:25 martink
-
- * Source/: cmIfCommand.h, cmPolicies.cxx: ENH: clean up some help
- text
-
-2009-06-12 11:10 martink
-
- * Source/cmIfCommand.cxx: ENH: warning fix
-
-2009-06-12 11:05 king
-
- * Source/cmStandardIncludes.h: COMP: Block warnings in Borland
- system headers
-
- In Release builds the Borland compiler warns about code in its
- own system headers. This blocks the warnings by disabling them
- where the headers are included.
-
-2009-06-12 10:46 king
-
- * Source/: cmDependsFortranParser.cxx, cmDependsFortranParser.y,
- cmDependsFortranParserTokens.h: ENH: Use KWSys String strcasecmp
- to parse Fortran
-
- This replaces the Fortran dependency parser source's custom
- strcasecmp implementation with one from KWSys String. It removes
- duplicate code and avoids a Borland warning about inlining
- functions with 'while'.
-
-2009-06-12 10:46 king
-
- * Source/kwsys/String.c: COMP: Avoid double-initialization in KWSys
- String
-
- The KWSys String implementation of strcasecmp initialized
- 'result' immediately before assigning to it. Borland produces a
- warning in this case, so this commit removes the extra
- initialization.
-
-2009-06-12 10:46 king
-
- * Source/: cmDependsFortranLexer.cxx, cmDependsFortranLexer.in.l:
- COMP: Remove useless assignment in Fortran lexer
-
- The generated Fortran dependency scanning lexer includes an
- assignment to a local variable that is unused. Borland warns, so
- we remove the assignment.
-
-2009-06-12 10:07 martink
-
- * Source/: cmIfCommand.cxx, cmIfCommand.h, cmPolicies.cxx,
- cmPolicies.h, cmWhileCommand.cxx: ENH: modified the if command to
- address bug 9123 some
-
-2009-06-12 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-11 15:25 hoffman
-
- * Modules/Platform/OpenVMS.cmake, Source/kwsys/SystemTools.cxx:
- ENH: use .exe on vms
-
-2009-06-11 15:18 king
-
- * CMakeLists.txt: COMP: We now require CMake 2.4.5 or higher to
- build
-
- We use the CMakeDependentOption module unconditionally, so we
- must require a version of CMake new enough to provide it.
-
-2009-06-11 14:57 king
-
- * Source/cmComputeLinkInformation.cxx: BUG: Do not create empty
- build-tree RPATH
-
- The fix for issue #9130 appends ':' to the end of the build-tree
- RPATH unconditionally. This changes the fix to add ':' only when
- the RPATH is not empty so that we do not create a build-tree
- RPATH with just ':'. An empty RPATH produces no string at all,
- so there is no chance of merging with a symbol name anyway.
-
-2009-06-11 11:24 king
-
- * CMakeLists.txt, CTestCustom.cmake.in,
- Source/CTest/cmCTestSubmitHandler.cxx,
- Utilities/cmThirdParty.h.in, Utilities/cm_xmlrpc.h: ENH: Disable
- the xmlrpc drop method by default
-
- We've chosen to drop our default dependence on xmlrpc. Thus we
- disable the corresponding CTest submission method and remove the
- sources for building xmlrpc locally. Users can re-enable the
- method by setting the CTEST_USE_XMLRPC option to use a
- system-installed xmlrpc library.
-
-2009-06-11 09:04 king
-
- * CMakeLists.txt, Utilities/cmThirdParty.h.in, Utilities/cm_curl.h:
- ENH: Remove option to build cmcurl-7.19.0
-
- This version of curl was added experimentally but does not
- address the problem we were hoping it fixed (an occasional upload
- hang). Importing a new curl can wait until the problem is fully
- diagnosed and addressed.
-
-2009-06-11 09:04 king
-
- * CMakeLists.txt: ENH: Simplify decision to use system libraries
-
- Previously we disallowed use of system libraries if
- FindXMLRPC.cmake was not available. Now that CMake 2.4 is
- required to build, the module is always available. This change
- simplifies the logic accordingly.
-
-2009-06-11 09:03 king
-
- * Source/cmXMLParser.cxx: COMP: Fix build with system-installed
- expat 2.0.1
-
- In cmXMLParser::ReportXmlParseError we were accidentally passing
- a value of type 'XML_Parser*' to expat methods instead of
- 'XML_Parser'. It was not caught because XML_Parser was just
- 'void*' in the cmexpat version. Newer system-installed expat
- versions catch the error because XML_Parser is now a pointer to a
- real type. This correct the type.
-
-2009-06-11 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-10 14:11 king
-
- * Source/cmComputeLinkInformation.cxx: BUG: Do not mangle symbols
- when editing RPATHs
-
- In ELF binaries the .dynstr string table is used both for the
- RPATH string and for program symbols. If a symbol name happens
- to match the end of the build-tree RPATH string the linker is
- allowed to merge the symbols.
-
- We must not allow this when the RPATH string will be replaced
- during installation because it will mangle the symbol. Therefore
- we always pad the end of the build-tree RPATH with ':' if it will
- be replaced. Tools tend not to use ':' at the end of symbol
- names, so it is unlikely to conflict. See issue #9130.
-
-2009-06-10 14:11 king
-
- * Source/cmDocumentVariables.cxx: ENH: Document variable
- CMAKE_NO_BUILTIN_CHRPATH
-
- This adds documentation for the variable which was previously
- missing. See issue #9130.
-
-2009-06-10 13:39 king
-
- * bootstrap: BUG: Fix bootstrap for Debian Almquist Shell
-
- The Debian Almquist Shell (dash) provides minimal POSIX
- compliance instead of the power of bash. It converts literal
- '\n' to a real newline even in a single-quoted string. This
- works around the problem by avoiding the literal. We can no
- longer use HEREDOC.
-
-2009-06-10 13:04 king
-
- * bootstrap: ENH: Make bootstrap script work on VMS bash
-
- A few sweeping changes were needed:
-
- - Avoid use of HEREDOC, which does not seem to work.
- - Avoid extra '.' in paths by using '_cmk' and '_tmp'
- instead of '.cmk' and '.tmp'.
-
-2009-06-10 13:04 king
-
- * Modules/Platform/OpenVMS.cmake,
- Source/cmGlobalUnixMakefileGenerator3.cxx: ENH: Enable basic
- OpenVMS platform support
-
- This adds the Modules/Platform/OpenVMS.cmake platform file for
- OpenVMS. We just use Unix-like rules to work with the GNV
- compiler front-end.
-
- A problem with process execution currently prevents CMake link
- scripts from working, so we avoid using them.
-
-2009-06-10 13:03 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: Skip 'SHELL =
- /bin/sh' in Makefiles on VMS
-
- This shell does not exist on VMS, so we leave it out.
-
-2009-06-10 13:03 king
-
- * Source/: cmGeneratedFileStream.cxx,
- cmLocalUnixMakefileGenerator3.cxx, cmTarget.cxx: ENH: On VMS use
- _dir and _tmp, not .dir and .tmp
-
- The VMS posix path emulation does not handle multiple '.'
- characters in file names in all cases. This avoids adding extra
- '.'s to file and directory names for target directories and
- generated files.
-
-2009-06-10 13:02 king
-
- * Source/kwsys/SystemTools.cxx: ENH: Teach KWSys SystemTools about
- VMS paths
-
- This teaches ConvertToUnixSlashes to convert VMS paths into
- posix-style paths. We also set the DECC$FILENAME_UNIX_ONLY
- feature so the process always sees posix-style paths on disk.
-
-2009-06-10 13:02 king
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: Avoid std::unique
- algorithm on VMS
-
- The Compaq compiler's std::unique algorithm followed by deletion
- of the extra elements seems to crash. For now we'll accept the
- duplicate dependencies on this platform.
-
-2009-06-10 11:49 king
-
- * Utilities/cmtar/extract.c: COMP: Fix cmtar build on VMS
-
- The mknod and mkfifo functions are not available on VMS.
-
-2009-06-10 11:49 king
-
- * Utilities/cmcurl/setup.h: COMP: Fix cmcurl build on VMS
-
- This defines IOCTL_3_ARGS in 'cmcurl/setup.h' to teach curl
- sources about the three-argument ioctl() on VMS.
-
-2009-06-10 11:49 king
-
- * Utilities/cmtar/: append.c, decode.c, extract.c, libtar.c,
- util.c, wrapper.c: COMP: Use HAVE_SYS_PARAM_H properly in libtar
-
- The value is computed by a try-compile for libtar. This teaches
- the sources to actually use the result.
-
-2009-06-10 11:48 king
-
- * Source/kwsys/ProcessUNIX.c: ENH: Teach KWSys Process basic VMS
- support
-
- This achieves basic process execution on OpenVMS. We use
- work-arounds for different fork()/exec() behavior and a lack of
- select().
-
- VMS emulates fork/exec using setjmp/longjmp to evaluate the child
- and parent return cases from fork. Therefore both must be
- invoked from the same function.
-
- Since select() works only for sockets we use the BeOS-style
- polling implementation. However, non-blocking reads on empty
- pipes cannot be distinguished easily from the last read on a
- closed pipe. Therefore we identify end of data by an empty read
- after the child terminates.
-
-2009-06-10 11:46 king
-
- * Source/kwsys/ProcessUNIX.c: BUG: Fix non-select process impl
- without timeout
-
- This avoids use of an uninitialized value in the KWSys
- ProcessUNIX polling implementation when no timeout is given.
-
-2009-06-10 11:46 king
-
- * Source/kwsys/CMakeLists.txt, bootstrap, Source/kwsys/String.c,
- Source/kwsys/kwsysPrivate.h: COMP: Avoid String.c inclusion by
- Compaq templates
-
- The Compaq compiler (on VMS) includes 'String.c' in source files
- that use the stl string while looking for template definitions.
- This was the true cause of double-inclusion of the
- 'kwsysPrivate.h' header. We work around the problem by
- conditionally compiling the entire source file on a condition
- only true when really building the source.
-
-2009-06-10 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-09 15:58 hoffman
-
- * Source/cmStandardIncludes.h: STYLE: suppress warnings for borland
-
-2009-06-09 15:44 hoffman
-
- * Source/kwsys/testAutoPtr.cxx: STYLE: suppress warnings for
- borland
-
-2009-06-09 15:18 hoffman
-
- * Source/: cmStandardIncludes.h, kwsys/hashtable.hxx.in,
- kwsys/testAutoPtr.cxx: STYLE: suppress warnings for borland
-
-2009-06-09 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-08 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-07 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-06 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-05 14:59 partyd
-
- * Source/kwsys/hashtable.hxx.in: COMP: Hopefully fix hashmap on
- VS6, Thanks Brad K!
-
-2009-06-05 13:17 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: fix warning on borland
-
-2009-06-05 12:01 hoffman
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h,
- kwsys/SystemTools.hxx.in, kwsys/SystemTools.cxx: ENH: move PutEnv
- to SystemTools
-
-2009-06-05 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-04 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-03 15:08 king
-
- * Modules/Platform/HP-UX.cmake,
- Source/cmComputeLinkInformation.cxx,
- Source/cmDocumentVariables.cxx: BUG: Recognize .so shared
- libraries on HP-UX
-
- HP-UX uses both .sl and .so as extensions for shared libraries.
- This teaches CMake to recognize .so shared libraries so they are
- treated properly during link dependency analysis.
-
-2009-06-03 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-02 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-06-01 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-31 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-30 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-29 16:09 alex
-
- * Modules/CPackRPM.cmake: BUG: fix #9031: newer rpm versions
- complain about the "#%" lines
-
- Alex
-
-2009-05-29 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-28 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-27 11:33 king
-
- * Modules/Platform/CYGWIN.cmake, bootstrap: ENH: Auto-import
- symbols for cygwin executables
-
- This enables the --enable-auto-import linker flag on Cygwin when
- linking executables. It works with the old gcc 3.x compiler and
- is necessary for the new gcc 4.x compiler. See issue #9071.
-
-2009-05-27 11:14 hoffman
-
- * Source/CTest/cmCTestMemCheckHandler.cxx: BUG: fix for bug #8153
- add purify suppression file and fix output to not be one big line
-
-2009-05-27 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-26 09:55 david.cole
-
- * Modules/: CMakeVS8FindMake.cmake, CMakeVS9FindMake.cmake: BUG:
- Rearrange paths to find correct installations of Visual Studio.
- Patch devenv.modified_search_order.patch came from issue #7919.
-
-2009-05-26 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-25 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-24 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-23 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-22 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-21 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-20 09:50 hoffman
-
- * Source/kwsys/SystemInformation.cxx: ENH: make this work for older
- versions of OSX
-
-2009-05-20 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-19 21:50 hoffman
-
- * Source/kwsys/SystemInformation.cxx: ENH: revert back because it
- does not build on older macs for now
-
-2009-05-19 16:56 hoffman
-
- * Source/kwsys/SystemInformation.cxx: ENH: remove warning
-
-2009-05-19 16:46 hoffman
-
- * Source/kwsys/SystemInformation.cxx: ENH: make this build on other
- machines besides the mac
-
-2009-05-19 16:35 hoffman
-
- * Source/kwsys/: SystemInformation.cxx, testSystemInformation.cxx:
- ENH: fix system info for mac
-
-2009-05-19 11:38 clinton
-
- * Modules/FindQt4.cmake: ENH: Better error message for those who
- switch from Qt3 to Qt4 and don't clean their cache file.
-
-2009-05-19 11:25 hoffman
-
- * Source/cmCoreTryCompile.cxx: BUG: fix for #0009051 CMake does not
- pass CMAKE_OSX_SYSROOT and CMAKE_OSX_DEPLOYMENT_TARGET when
- running TRY_COMPILE
-
-2009-05-19 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-18 15:27 alex
-
- * Source/cmFindFileCommand.cxx: STYLE: fix docs: it must replace
- "find_path" instead of "FIND_PATH" with "find_file", otherwise
- the docs talk about find_path() instead of find_file (patch from
- Michael Wild, #9047)
-
- Alex
-
-2009-05-18 10:34 king
-
- * Source/CTest/cmCTestBZR.cxx, Tests/CMakeLists.txt: BUG: Parse
- more bzr xml output encodings
-
- The BZR xml output plugin can use some encodings that are not
- recognized by expat, which leads to "Error parsing bzr log xml:
- unknown encoding". This works around the problem by giving expat
- a mapping, and adds a test. Patch from Tom Vercauteren. See
- issue #6857.
-
-2009-05-18 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-17 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-16 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-15 15:39 king
-
- * Modules/CTest.cmake, Source/CTest/cmCTestSubmitCommand.cxx: ENH:
- Remove CTest public.kitware.com drop default
-
- Previously CTest would drop dashboard submissions at
- public.kitware.com on the PublicDashboard project if there was no
- configuration. The server no longer supports forwarding to
- cdash.org, so there is no point in this default. Furthermore,
- there should be no default at all because it could leak
- information about proprietary projects that are not configured
- correctly.
-
-2009-05-15 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-14 16:13 king
-
- * Modules/CTest.cmake, Source/CMakeLists.txt,
- Source/CTest/cmCTestBZR.cxx, Source/CTest/cmCTestBZR.h,
- Source/CTest/cmCTestUpdateCommand.cxx,
- Source/CTest/cmCTestUpdateHandler.cxx,
- Source/CTest/cmCTestUpdateHandler.h, Tests/CMakeLists.txt,
- Tests/CTestUpdateBZR.cmake.in: ENH: Teach CTest to handle Bazaar
- repositories
-
- This creates cmCTestBZR to drive CTest Update handling on
- bzr-based work trees. Currently we always update to the head of
- the remote tracking branch (bzr pull), so the nightly start time
- is ignored for Nightly builds. A later change will address this.
- Patch from Tom Vercauteren. See issue #6857.
-
-2009-05-14 15:31 alex
-
- * Modules/CPackRPM.cmake: STYLE: add documentation for CPackRPM
- (#9029)
-
- Alex
-
-2009-05-14 09:27 king
-
- * Source/cmDocumentVariables.cxx: ENH: Make
- CMAKE_<LANG>_SIZEOF_DATA_PTR public
-
- The variable was previously documented for internal-use only.
- This officially documents it for general use by projects.
-
-2009-05-14 09:27 king
-
- * Source/kwsys/kwsysPrivate.h: STYLE: Simplify and document VMS
- workarounds
-
- The kwsysPrivate header double-inclusion check hits a false
- positive on VMS for an undetermined reason. This simplifies the
- workaround and documents it.
-
-2009-05-14 09:26 king
-
- * Source/kwsys/kwsysPrivate.h: STYLE: Remove trailing whitespace
-
-2009-05-14 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-13 11:08 hoffman
-
- * Source/: cmForEachCommand.cxx, cmWhileCommand.cxx: BUG: fix for
- #9014, FATAL_ERROR not ending loops
-
-2009-05-13 10:30 king
-
- * Source/kwsys/SystemTools.cxx: BUG: Fix removal of read-only
- directories
-
- Read-only directories must be given write permission before we
- can remove files and subdirectories from them.
-
-2009-05-13 10:30 king
-
- * Tests/StringFileTest/CMakeLists.txt: BUG: file(COPY) test should
- not make read-only dir
-
- CMake directory removal code cannot remove content from read-only
- directories (a separate bug which will be fixed). Therefore we
- should not create them in the StringFileTest. This tweaks the
- file(COPY) call to test not giving OWNER_WRITE to files rather
- than directories.
-
-2009-05-13 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-12 15:17 alex
-
- * Modules/: CMakeEclipseCDT4.cmake, CMakeCodeBlocks.cmake,
- CMakeKDevelop3.cmake: STYLE: remove these files now that I added
- them with a more consistent name as CMakeFind<GENERATOR>.cmake
- (should have been in the same commit...)
-
- Alex
-
-2009-05-12 15:13 alex
-
- * Modules/CPackRPM.cmake: BUG: apply patch from Eric Noulard, so
- cpack works with rpmbuild 4.6.0, #8967
-
- Alex
-
-2009-05-12 15:11 alex
-
- * Modules/: CMakeFindCodeBlocks.cmake, CMakeFindEclipseCDT4.cmake,
- CMakeFindKDevelop3.cmake, CMakeLists.txt,
- CMakeSystemSpecificInformation.cmake: STYLE: rename the files
- from CMake<GENERATOR>.cmake to CMakeFind<GENERATOR>.cmake, so it
- is more consistent e.g. with CMakeFindXcode.cmake
-
- Alex
-
-2009-05-12 15:06 king
-
- * Readme.txt: STYLE: Remove trailing whitespace
-
-2009-05-12 15:03 king
-
- * cmake.1: BUG: Remove manual man-page from CMake-SourceFile2-b
- branch
-
-2009-05-12 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-11 13:58 king
-
- * Source/cmCTest.cxx: COMP: Avoid operator precedence warning
-
- GCC warns that parens should be used for nested and/or operators.
-
-2009-05-11 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-10 16:07 alex
-
- * Source/cmSetCommand.cxx: STYLE: cacheStart is used only locally
- in the if-branch
-
- Alex
-
-2009-05-10 06:01 alex
-
- * Modules/CTest.cmake: STYLE: first lower-casing the string makes
- comparing its contents easier
-
- Alex
-
-2009-05-10 06:00 alex
-
- * Modules/: CMakeCodeBlocks.cmake, CMakeEclipseCDT4.cmake,
- CMakeKDevelop3.cmake, CMakeSystemSpecificInformation.cmake: ENH:
- move the code which queries gcc for the system include dirs from
- CMakeSystemSpecificInformation.cmake into a separate file,
- CMakeEclipseCDT4.cmake -if CMAKE_EXTRA_GENERATOR is set, i.e.
- either CodeBlocks or KDevelop3 or EclipseCDT4, load a matching
- cmake script file, which can do things specific for this
- generator - added such files for Eclipse, KDevelop and
- CodeBlocks, one thing they all do is they try to find the
- respective IDE and store it in the
- CMAKE_(KDEVELOP3|CODEBLOCKS|ECLIPSE)_EXECUTABLE variable. This
- could be used by cmake-gui to open the project it just generated
- with the gui (not sure this is possible with eclipse).
-
- Alex
-
-2009-05-10 05:29 alex
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: don't report
- changed compiler variables if the path to the compiler differs
- only e.g. a double slash somewhere instead only one slash as
- directory separator (#8890)
-
- Alex
-
-2009-05-10 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-09 17:25 alex
-
- * Source/cmDocumentVariables.cxx: STYLE: document
- CMAKE_INCLUDE_CURRENT_DIR
-
- Alex
-
-2009-05-09 08:15 alex
-
- * Modules/: CMakeVS8FindMake.cmake, CMakeVS9FindMake.cmake: ENH:
- when cross compiling, e.g. for WinCE, don't use VCExpress, since
- this doesn't support it This is the first patch to add support
- for WinCE to cmake (#7919)
-
- Alex
-
-2009-05-09 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-08 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-07 18:22 hoffman
-
- * Source/ctest.cxx: ENH: add docs for command line ctest
-
-2009-05-07 18:20 hoffman
-
- * Source/cmCTest.cxx: BUG: 8898 fix date in ctest nightly time
-
-2009-05-07 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-06 11:21 clinton
-
- * Modules/FindQt4.cmake: BUG: Fix spaces in file paths for lupdate
- command
-
-2009-05-06 09:42 clinton
-
- * Modules/: FindQt4.cmake, UseQt4.cmake:
- ENH: Add support for QtScriptTools in Qt 4.5.
-
-2009-05-06 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-05 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-04 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-03 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-02 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-05-01 10:39 king
-
- * Source/: cmTarget.cxx, cmTarget.h: ENH: Remove cmTarget internal
- type arguments
-
- Internally cmTarget was passing the target type in several name
- computation signatures to support computation of both shared and
- static library names for one target. We no longer need to
- compute both names, so this change simplifies the internals by
- using the GetType method and dropping the type from method
- signatures.
-
-2009-05-01 10:39 king
-
- * Source/: cmMakefileExecutableTargetGenerator.cxx, cmTarget.cxx,
- cmTarget.h: ENH: Remove cmTarget::GetExecutableCleanNames
-
- This method was redundant with GetExecutableNames.
-
-2009-05-01 10:38 king
-
- * Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmSetTargetPropertiesCommand.h, Source/cmTarget.cxx,
- Source/cmTarget.h, Tests/Complex/Library/CMakeLists.txt,
- Tests/ComplexOneConfig/Library/CMakeLists.txt,
- Tests/ComplexRelativePaths/Library/CMakeLists.txt: ENH: Always
- imply CLEAN_DIRECT_OUTPUT target prop
-
- This property was left from before CMake always linked using full
- path library names for targets it builds. In order to safely
- link with "-lfoo" we needed to avoid having both shared and
- static libraries in the build tree for targets that switch on
- BUILD_SHARED_LIBS. This meant cleaning both shared and static
- names before creating the library, which led to the creation of
- CLEAN_DIRECT_OUTPUT to disable the behavior.
-
- Now that we always link with a full path we do not need to clean
- old library names left from an alternate setting of
- BUILD_SHARED_LIBS. This change removes the CLEAN_DIRECT_OUTPUT
- property and instead uses its behavior always. It removes some
- complexity from cmTarget internally.
-
-2009-05-01 09:45 king
-
- * Source/cmTarget.cxx, Source/cmTarget.h,
- Tests/ExportImport/Export/CMakeLists.txt,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: Allow more
- specification of target file names
-
- This creates target properties ARCHIVE_OUTPUT_NAME,
- LIBRARY_OUTPUT_NAME, and RUNTIME_OUTPUT_NAME, and
- per-configuration equivalent properties
- ARCHIVE_OUTPUT_NAME_<CONFIG>, LIBRARY_OUTPUT_NAME_<CONFIG>, and
- RUNTIME_OUTPUT_NAME_<CONFIG>. They allow specification of target
- output file names on a per-type, per-configuration basis. For
- example, a .dll and its .lib import library may have different
- base names.
-
- For consistency and to avoid ambiguity, the old
- <CONFIG>_OUTPUT_NAME property is now also available as
- OUTPUT_NAME_<CONFIG>.
-
- See issue #8920.
-
-2009-05-01 09:45 king
-
- * Source/: cmTarget.cxx, cmTarget.h: ENH: Refactor target output
- file type computation
-
- This creates method cmTarget::GetOutputTargetType to compute the
- output file type 'ARCHIVE', 'LIBRARY', or 'RUNTIME' from the
- platform and target type. It factors out logic from the target
- output directory computation code for later re-use.
-
-2009-05-01 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-30 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-29 15:07 king
-
- * Modules/UntarFile.cmake: ENH: Teach UntarFile to preserve file
- timestamps
-
- After extracting the tarball in a temporary directory we copy the
- tree to the destination directory. The 'cmake -E copy_directory'
- command does not preserve file timestamps, so we use file(COPY)
- instead.
-
-2009-04-29 14:50 king
-
- * Source/cmFileCommand.cxx: COMP: Avoid unused arg warnings in
- cmFileCommand
-
- The default cmFileCopier::ReportCopy implementation is empty, so
- we should leave out the argument names.
-
-2009-04-29 14:20 king
-
- * Source/CTest/cmCTestCVS.cxx: BUG: Remove '-d<now' from 'cvs log'
- commands
-
- When CTest runs 'cvs log' to get revision information for updated
- files, we were passing '-d<now'. The option seems useless since
- revisions cannot be created in the future, and can lose revisions
- if the client machine clock is behind the server.
-
-2009-04-29 14:02 king
-
- * Tests/CMakeTests/FileTest.cmake.in: BUG: Fix CMake.File test for
- deep dir name
-
- This fixes the regex checking expected output of Copy-NoFile to
- account for line wrapping when the input directory name is long.
-
-2009-04-29 13:57 king
-
- * Source/cmFileCommand.cxx: COMP: Fix nested class member access
-
- Nested classes have no special access to other members of their
- enclosing class. In cmFileCopier the nested class MatchRule must
- use MatchProperties, so we grant friendship to it.
-
-2009-04-29 13:33 king
-
- * Source/cmFileCommand.cxx: COMP: Fix non-virtual destructor
- warning
-
- This gives cmFileCopier a virtual destructor since it has virtual
- methods. While we never actually delete through a base pointer
- (or dynamically at all), the compiler doesn't know and warns
- anyway.
-
-2009-04-29 13:13 king
-
- * Tests/CMakeTests/: CMakeLists.txt, File-Copy-BadArg.cmake,
- File-Copy-BadPerm.cmake, File-Copy-BadRegex.cmake,
- File-Copy-EarlyArg.cmake, File-Copy-LateArg.cmake,
- File-Copy-NoDest.cmake, File-Copy-NoFile.cmake,
- FileTest.cmake.in: ENH: Test file(COPY) failure cases
-
- This tests some cases of bad arguments to the file(COPY)
- signature. It checks that the proper error messages are
- produced.
-
-2009-04-29 13:13 king
-
- * Source/cmFileCommand.cxx, Source/cmFileCommand.h,
- Tests/StringFileTest/CMakeLists.txt: ENH: Create file(COPY)
- command signature
-
- The file(INSTALL) command has long been undocumented and used
- only to implement install() scripts. We now document it and
- provide a similar file(COPY) signature which is useful in
- general-purpose scripts. It provides the capabilities of
- install(DIRECTORY) and install(FILES) but operates immediately
- instead of contributing to install scripts.
-
-2009-04-29 13:13 king
-
- * Source/cmFileCommand.cxx: ENH: Teach file(INSTALL) relative paths
-
- This teaches the undocumented file(INSTALL) command to deal with
- relative paths. Relative input file paths are evaluated with
- respect to the current source directory. Relative output file
- paths are evaluated with respect to the current binary directory.
-
- While this command is currently used only in cmake_install.cmake
- scripts (in -P script mode), this cleans up its interface in
- preparation for a documented signature.
-
-2009-04-29 13:12 king
-
- * Source/: cmFileCommand.cxx, cmFileCommand.h: ENH: Refactor
- file(INSTALL) implementation
-
- The undocumented file(INSTALL) is implemented by a
- cmFileInstaller class inside cmFileCommand. This refactors the
- class to split out code not specific to installation into a
- cmFileCopier base class.
-
-2009-04-29 08:47 king
-
- * Source/: cmFileCommand.cxx, cmFileCommand.h: ENH: Send all file
- installations through one path
-
- This creates a single cmFileInstaller method to dispatch
- installation of symlinks, directories, and files. The change
- removes duplicate tests of input file type and makes the decision
- more consistent.
-
-2009-04-29 08:47 king
-
- * Source/cmFileCommand.cxx: ENH: Better error on file perm or time
- failure
-
- This improves the error message produced during installation when
- CMake cannot set file modification time or permissions.
-
-2009-04-29 08:46 king
-
- * Source/cmFileCommand.cxx: BUG: Error when install dir cannot be
- created
-
- This teaches the undocumented file(INSTALL) command to report an
- error when it cannot create the destination directory.
-
-2009-04-29 08:46 king
-
- * Source/cmFileCommand.cxx: ENH: Simplify CMAKE_INSTALL_ALWAYS
- implementation
-
- This simplifies cmFileInstaller internally by storing the
- 'always' mark as an instance variable instead of passing it
- through all method signatures.
-
-2009-04-29 08:46 king
-
- * Source/cmFileCommand.cxx: ENH: Simplify construction of
- cmFileInstaller
-
- This cleans up the cmFileInstaller constructor signature.
-
-2009-04-29 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-28 14:58 hoffman
-
- * CMakeLists.txt: ENH: final 2.6.4 release
-
-2009-04-28 08:19 king
-
- * Source/cmFileCommand.cxx: BUG: Fix required permissions check
- again
-
- While copying a directory the destination must have owner rwx
- permissions. This corrects our check, this time with correct
- operator precedence using parenthesis.
-
-2009-04-28 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-27 13:20 king
-
- * Source/: cmFileCommand.cxx, cmFileCommand.h,
- cmInstallDirectoryGenerator.cxx, cmInstallExportGenerator.cxx,
- cmInstallFilesGenerator.cxx, cmInstallGenerator.cxx,
- cmInstallGenerator.h, cmInstallTargetGenerator.cxx: ENH: Remove
- unused PROPERTIES from file(INSTALL)
-
- The undocumented file(INSTALL) command used to support a
- PROPERTIES option, but no install code still uses it. This
- removes the option.
-
-2009-04-27 13:20 king
-
- * Source/cmFileCommand.cxx: BUG: Fix required permissions check for
- dir copy
-
- While copying a directory the destination must have owner rwx
- permissions. This corrects our check.
-
-2009-04-27 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-26 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-25 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-24 11:44 hoffman
-
- * Source/cmSystemTools.cxx: ENH: vms fix
-
-2009-04-24 11:21 king
-
- * Tests/Preprocess/CMakeLists.txt: ENH: Test spaces in non-string
- preprocessor values
-
- This extends the Preprocessor test to put spaces in the value of
- a definition that is not a quoted string. In particular this
- tests that VS6 supports values with spaces if they do not have
- '"', '$', or ';'. See issue #8779.
-
-2009-04-24 11:17 king
-
- * Source/cmLocalGenerator.cxx,
- Source/cmLocalVisualStudio6Generator.cxx, Source/cmMakefile.cxx,
- Tests/Preprocess/CMakeLists.txt: ENH: Support more preprocessor
- values in VS6
-
- Previously we rejected all preprocessor definition values
- containing spaces for the VS6 IDE generator. In fact VS6 does
- support spaces but not in combination with '"', '$', or ';', and
- only if we use the sytnax '-DNAME="value with spaces"' instead of
- '-D"NAME=value with spaces"'. Now we support all definition
- values that do not have one of these invalid pairs. See issue
- #8779.
-
-2009-04-24 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-23 11:09 hoffman
-
- * Source/kwsys/: ProcessUNIX.c, System.h.in, SystemTools.cxx,
- kwsysPrivate.h: ENH: check in almost building VMS stuff with
- VMSBuild directory since the bootstrap script will not work on
- VMS
-
-2009-04-23 09:10 king
-
- * Tests/CTestUpdateGIT.cmake.in: BUG: Fix CTest.UpdateGIT test for
- older git
-
- Older git versions do not support 'git init --bare', so we
- instead use the more proper 'git --bare init'.
-
-2009-04-23 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-22 10:22 king
-
- * Source/CTest/cmCTestGIT.cxx: COMP: Fix class reference for HP aCC
-
-2009-04-22 09:18 king
-
- * Source/CMakeLists.txt, Source/CTest/cmCTestGIT.cxx,
- Source/CTest/cmCTestGIT.h, Source/CTest/cmCTestUpdateCommand.cxx,
- Source/CTest/cmCTestUpdateHandler.cxx,
- Source/CTest/cmCTestUpdateHandler.h, Tests/CMakeLists.txt,
- Tests/CTestUpdateGIT.cmake.in: ENH: Teach CTest to handle git
- repositories
-
- This creates cmCTestGIT to drive CTest Update handling on
- git-based work trees. Currently we always update to the head of
- the remote tracking branch (git pull), so the nightly start time
- is ignored for Nightly builds. A later change will address this.
- See issue #6994.
-
-2009-04-22 09:18 king
-
- * Source/: CMakeLists.txt, CTest/cmCTestGlobalVC.cxx,
- CTest/cmCTestGlobalVC.h, CTest/cmCTestSVN.cxx,
- CTest/cmCTestSVN.h: ENH: Factor global-VC parts out of cmCTestSVN
-
- This factors parts of the svn update implementation that are
- useful for any globally-versioning vcs tool into cmCTestGlobalVC.
- It will allow the code to be shared among the support classes
- for most vcs tools.
-
-2009-04-22 09:11 king
-
- * Source/cmSystemTools.cxx: COMP: Fix calls to superclass methods
- for Borland
-
- The superclass of cmSystemTools is cmsys::SystemTools, which
- should be referencable by just SystemTools from inside the class.
- Borland C++ does not seem to support this, so we use
- cmSystemTools instead.
-
-2009-04-22 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-21 18:23 alex
-
- * Source/kwsys/Terminal.c: ENH: also recognize rxvt-256color as a
- color terminal (#8913, patch from Deewiant)
-
- Alex
-
-2009-04-21 18:18 alex
-
- * Modules/FindMPEG2.cmake: ENH: search also for mpeg2dec/mpeg2.h,
- as the documentation says, and as it is also installed by plain
- libmpeg2 (#8455) Also mark the variables as advanced.
-
- Alex
-
-2009-04-21 17:18 hoffman
-
- * Tests/X11/CMakeLists.txt: ENH: sneak a test into RC 5
-
-2009-04-21 17:15 hoffman
-
- * Tests/X11/CMakeLists.txt: ENH: make sure tests for cpack are run
- correctly
-
-2009-04-21 17:12 hoffman
-
- * Tests/X11/: CMakeLists.txt: ENH: make sure tests for cpack are
- run correctly
-
-2009-04-21 17:12 alex
-
- * Modules/FindJNI.cmake: ENH: add even more search directories for
- debian-like systems (see #8821)
-
- Alex
-
-2009-04-21 17:09 alex
-
- * Modules/FindJNI.cmake: ENH: add one more search directory (see
- #8919)
-
- Alex
-
-2009-04-21 16:48 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Modules/CPack.OSXScriptLauncher.in,
- Modules/CPack.OSXScriptLauncher.rsrc.in,
- Modules/CPack.OSXX11.main.scpt.in,
- Modules/CPack.background.png.in, Modules/CPack.cmake: ENH: move
- over more CPack files into 2.6
-
-2009-04-21 14:12 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Modules/CPack.OSXX11.main.scpt.in,
- Source/QtDialog/CMakeSetupDialog.ui: ENH: merge in changes and
- create RC 5
-
-2009-04-21 11:37 king
-
- * Source/cmSystemTools.cxx: BUG: Avoid infinite loop at directory
- tree root
-
- The system tools GetParentDirectory method no longer removes the
- root path component. This fixes
- cmSystemTools::FileExistsInParentDirectories to not infinitely
- loop at when GetParentDirectory stops at the root.
-
-2009-04-21 11:36 king
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h,
- kwsys/SystemTools.cxx, kwsys/SystemTools.hxx.in: ENH: Remove
- obscure method from KWSys SystemTools
-
- This removes SystemTools::FileExistsInParentDirectories from
- KWSys since it is a special-purpose method that is not generally
- useful.
-
-2009-04-21 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-20 08:42 king
-
- * Source/kwsys/SystemTools.cxx: BUG: Fix
- SystemTools::IsSubDirectory on bad input
-
- When SystemTools::GetParentDirectory was fixed to never remove
- the root path component from a full path we violated an
- assumption made by IsSubDirectory that eventually
- GetParentDirectory returns an empty string. This led to an
- infinite loop if the potential parent directory is empty, so we
- explicitly avoid that case.
-
-2009-04-20 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-19 12:46 alex
-
- * Modules/FindBLAS.cmake, Modules/FindBoost.cmake,
- Modules/FindLAPACK.cmake, Modules/FindMotif.cmake,
- Modules/FindRTI.cmake, Modules/FindwxWidgets.cmake,
- Modules/SquishTestScript.cmake, Modules/Use_wxWindows.cmake,
- Source/cmDocumentVariables.cxx, Source/cmFindPackageCommand.cxx,
- Source/cmake.cxx, Source/cmakemain.cxx: STYLE: fix typos in the
- docs
-
- Alex
-
-2009-04-19 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-18 14:37 hoffman
-
- * Modules/: CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake:
- BUG: fix cmake so that if you configure with a bad env for cl,
- then with a good path, it will configure correctly
-
-2009-04-18 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-17 14:44 hoffman
-
- * Modules/DartConfiguration.tcl.in,
- Source/CTest/cmCTestSubmitCommand.cxx: ENH: make sure
- CTEST_CURL_OPTIONS work from script mode
-
-2009-04-17 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-16 12:25 clinton
-
- * Source/QtDialog/CMakeSetupDialog.ui:
- BUG: Path lengths in combo box for binary directory was forcing
- a minimum size on the main window. Fixed that.
-
-2009-04-16 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-15 13:03 king
-
- * Source/kwsys/SystemTools.cxx: BUG: Replace brittle
- GetParentDirectory impl
-
- The previous change to this method broke cases where the input
- path does not exist. The SystemTools::GetParentDirectory method
- is redundant with the more robust SystemTools::GetFilenamePath.
- This replaces its implementation to just call GetFilenamePath.
-
-2009-04-15 11:00 king
-
- * Source/cmSystemTools.cxx: COMP: Fix BOOL to bool conversion
- warning
-
- The cmSystemTools::RenameFile method returns type bool, but its
- implementation on Windows returns the result of an API function
- that returns BOOL. This change avoids the compiler warning.
-
-2009-04-15 10:45 yumin
-
- * Source/kwsys/SystemTools.cxx: BUG:
- SystemTools::GetParentDirectory() will crash if "/" is passed in
- as argement. Valid check is added to make sure the input argment
- exists, and if "/" is passed in, empty string will be returned.
-
-2009-04-15 09:58 king
-
- * Source/cmake.cxx: ENH: Create command line api "cmake -E rename"
-
- This extends the "-E" command line mode with a "rename old new"
- signature. The new command atomically renames a file or
- directory within a single disk volume.
-
-2009-04-15 09:58 king
-
- * Source/cmFileCommand.cxx, Source/cmFileCommand.h,
- Tests/StringFileTest/CMakeLists.txt: ENH: Create file(RENAME)
- command mode
-
- This creates command "file(RENAME <oldname> <newname>)" to rename
- a file or directory within a single disk volume.
-
-2009-04-15 09:57 king
-
- * Source/: cmGeneratedFileStream.cxx, cmSystemTools.cxx,
- cmSystemTools.h: ENH: Move RenameFile to cmSystemTools
-
- This moves the cmGeneratedFileStream::RenameFile method
- implementation into cmSystemTools. It works only within a single
- filesystem volume, but is atomic when the operating system
- permits.
-
-2009-04-15 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-14 09:35 king
-
- * Source/kwsys/: Base64.h.in, Configure.h.in, Configure.hxx.in,
- FundamentalType.h.in, MD5.h.in, Process.h.in, String.h.in,
- System.h.in, Terminal.h.in: ENH: Skip KWSys name maros in case of
- identity
-
- All KWSys C symbol names begin with the KWSYS_NAMESPACE defined
- at configuration time. For ease of editing we write canonical
- names with the prefix 'kwsys' and use macros to map them to the
- configured prefix at preprocessing time. In the case of
- standalone KWSys, the prefix is 'kwsys', so the macros were
- previously defined to their own names.
-
- We now skip defining the macros in the identity case so that the
- final symbol names are never themselves macros. This will allow
- the symbols to be further transformed behind the scenes to help
- linkers in special cases on some platforms.
-
-2009-04-14 00:50 lowman
-
- * Modules/CMakeDetermineVSServicePack.cmake: ENH: New function for
- determining Visual Studio service pack
-
-2009-04-14 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-13 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-12 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-11 09:29 hoffman
-
- * Source/CTest/cmCTestSubmitHandler.cxx: ENH: remove warning and
- improve message
-
-2009-04-11 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-10 13:00 hoffman
-
- * Source/CTest/cmCTestSubmitHandler.cxx: ENH: remove cerr call
-
-2009-04-10 12:15 hoffman
-
- * Modules/DartConfiguration.tcl.in,
- Source/CTest/cmCTestSubmitHandler.cxx: ENH: add ability to
- control ssl cert checking
-
-2009-04-10 11:59 hoffman
-
- * CMakeLists.txt, Utilities/cmcurl/CMakeLists.txt: ENH: allow for
- shared build of libcurl and fix build with openssl option (ssl
- tested on linux and windows
-
-2009-04-10 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-09 13:56 king
-
- * Modules/AddExternalProject.cmake,
- Tests/ExternalProject/CMakeLists.txt,
- Tests/ExternalProject/Step1Patch.cmake: ENH: Allow lists in
- AddExternalProject arguments
-
- The add_external_project function separates its arguments with
- ';' separators, so previously no command line argument could
- contain one. When specifying CMAKE_ARGS, some -D argument values
- may need to contain a semicolon to form lists in the external
- project cache.
-
- This adds add_external_project argument LIST_SEPARATOR to specify
- a list separator string. The separator is replaced by ';' in
- arguments to any command created to drive the external project.
- For example:
-
- add_external_project(...
- LIST_SEPARATOR ::
- CMAKE_ARGS -DSOME_LIST:STRING=A::B::C
- ...)
-
- passes "-DSOME_LIST:STRING=A;B;C" to CMake for the external
- project.
-
-2009-04-09 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-08 16:29 king
-
- * Source/cmTarget.cxx, Tests/ExportImport/Export/CMakeLists.txt,
- Tests/ExportImport/Export/testLib5.c,
- Tests/ExportImport/Import/A/CMakeLists.txt,
- Tests/ExportImport/Import/A/imp_testExe1.c: ENH: Allow
- IMPORTED_IMPLIB w/o IMPORTED_LOCATION
-
- Linking to a Windows shared library (.dll) requires only its
- import library (.lib). This teaches CMake to recognize SHARED
- IMPORTED library targets that set only IMPORTED_IMPLIB and not
- IMPORTED_LOCATION.
-
-2009-04-08 16:28 king
-
- * Source/cmTarget.cxx: BUG: Fix imported target config guess
-
- When an IMPORTED target provides no generic configuration and no
- match for a desired configuration then we choose any available
- configuration. This change corrects the choice when the first
- listed available configuration does not really have a location.
-
-2009-04-08 09:22 king
-
- * Tests/: CTestUpdateCVS.cmake.in, CTestUpdateSVN.cmake.in: ENH:
- Teach Update* tests to report local mod step
-
- The CTest.UpdateCVS/SVN tests report every step with a message.
- This adds a message for the local modification step.
-
-2009-04-08 09:21 king
-
- * Tests/CTestUpdateCVS.cmake.in: ENH: Make UpdateCVS test robust to
- 1s file time res
-
- CVS clients recognize file modifications only if a file's
- timestamp is newer than its CVS/Entries line. This fixes
- intermittent failure of the test on filesystems with low
- timestamp resolution by delaying before creating a local
- modification.
-
-2009-04-08 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-07 15:32 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Source/cmAddCustomCommandCommand.h,
- Source/cmAddCustomTargetCommand.h,
- Source/cmComputeLinkDepends.cxx, Source/cmComputeLinkDepends.h,
- Source/kwsys/SystemInformation.cxx,
- Tests/ExportImport/Import/CMakeLists.txt,
- Tests/ExportImport/Import/imp_mod1.c,
- Tests/ExportImport/Import/imp_testExe1.c,
- Tests/ExportImport/Import/imp_testTransExe1.c,
- Tests/ExportImport/Import/A/CMakeLists.txt,
- Tests/ExportImport/Import/A/imp_lib1.c,
- Tests/ExportImport/Import/A/imp_mod1.c,
- Tests/ExportImport/Import/A/imp_testExe1.c: ENH: merge in changes
- for RC 4
-
-2009-04-07 15:31 david.cole
-
- * Modules/NSIS.template.in: BUG: Fix issue #8682. Use
- CPACK_NSIS_DISPLAY_NAME in appropriate places rather than
- CPACK_PACKAGE_INSTALL_DIRECTORY. Clean separation of these two
- variables (which have the same value by default) allows an easy
- workaround for issue #7881, too.
-
-2009-04-07 15:13 david.cole
-
- * Source/cmLocalGenerator.cxx: BUG: Fix invalid array access
- discovered during investigation of issue #7832.
-
-2009-04-07 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-06 14:55 king
-
- * Source/kwsys/SystemInformation.cxx: BUG: Fix parsing of linux 2.6
- /proc/meminfo format
-
- Previously KWSys SystemInformation parsed this file assuming a
- strict order and set of fields, but the order is not reliable.
- This generalizes the implementation to support any order and
- extra fields.
-
-2009-04-06 11:11 hoffman
-
- * Tests/ExportImport/Import/imp_testTransExe1.c: file
- imp_testTransExe1.c was added on branch CMake-2-6 on 2009-04-07
- 19:32:08 +0000
-
-2009-04-06 11:11 hoffman
-
- * Tests/ExportImport/Import/A/imp_testExe1.c: file imp_testExe1.c
- was added on branch CMake-2-6 on 2009-04-07 19:32:08 +0000
-
-2009-04-06 11:11 hoffman
-
- * Tests/ExportImport/Import/A/imp_mod1.c: file imp_mod1.c was added
- on branch CMake-2-6 on 2009-04-07 19:32:08 +0000
-
-2009-04-06 11:11 hoffman
-
- * Tests/ExportImport/Import/A/imp_lib1.c: file imp_lib1.c was added
- on branch CMake-2-6 on 2009-04-07 19:32:08 +0000
-
-2009-04-06 11:11 hoffman
-
- * Tests/ExportImport/Import/A/CMakeLists.txt: file CMakeLists.txt
- was added on branch CMake-2-6 on 2009-04-07 19:32:08 +0000
-
-2009-04-06 11:11 king
-
- * Tests/ExportImport/Import/: A/CMakeLists.txt, A/imp_lib1.c,
- A/imp_mod1.c, A/imp_testExe1.c, CMakeLists.txt, imp_mod1.c,
- imp_testExe1.c, imp_testTransExe1.c: ENH: Test transitive link to
- subdir-imported lib
-
- This tests linking to an imported target that is not visible but
- is a transitive dependency of a target that is visible. See
- issue #8843.
-
-2009-04-06 11:10 king
-
- * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h: BUG:
- Lookup transitive link deps in depender scope
-
- The transitive link dependencies of a linked target must be
- followed in its own scope, not in the scope of the original
- target that depends on it. This is necessary since imported
- targets do not have global scope. See issue #8843.
-
-2009-04-06 03:39 malaterre
-
- * Source/kwsys/testIOS.cxx: BUG: comment out faulty seekp which
- make kwsys::*stringstream fails on platform with no
- std::*stringstream implementation
-
-2009-04-06 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-05 06:55 malaterre
-
- * Source/kwsys/testIOS.cxx: ENH: hopefully seekp is the call making
- kwsys::stringstream behaves oddly on sunos
-
-2009-04-05 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-04 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-03 13:12 david.cole
-
- * Source/CPack/cmCPackDragNDropGenerator.cxx: BUG: Fix issue #8759
- - add support for setting dmg volume name and compression type by
- CPack variables. Also add custom .DS_Store and background image
- support. Thanks to Mike Arthur for the patches.
-
-2009-04-03 11:41 david.cole
-
- * Source/cmTest.cxx: BUG: Fix documentation deficiency noted in
- issue #7885. Thanks to Philip Lowman for the gist of the patch.
-
-2009-04-03 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-02 06:12 malaterre
-
- * Source/kwsys/testIOS.cxx: ENH: trying to reproduce issue on sunos
-
-2009-04-02 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-04-01 10:31 king
-
- * Source/: cmAddCustomCommandCommand.h, cmAddCustomTargetCommand.h:
- ENH: Clarify VERBATIM option documentation
-
- The previous wording of the VERBATIM option documentation in the
- add_custom_command and add_custom_target commands was confusing.
- It could be interpreted as the opposite of what the option means
- (no escaping instead of escaping). This clarifies the
- documentation to explicitly state that it escapes.
-
-2009-04-01 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-31 16:15 david.cole
-
- * Modules/FindVTK.cmake: BUG: Fix issue #8804. Add vtk-5.4 lib path
- to the FindVTK.cmake module.
-
-2009-03-31 15:30 hoffman
-
- * Source/CTest/cmCTestSubmitHandler.cxx: ENH: use 0 not FALSE
-
-2009-03-31 15:24 hoffman
-
- * Source/CTest/: cmCTestSubmitHandler.cxx, cmCTestSubmitHandler.h:
- ENH: add submit via cp mode
-
-2009-03-31 13:50 david.cole
-
- * Tests/CMakeTests/GetPrerequisitesTest.cmake.in: STYLE: White
- space only change to see if continuous is working on new
- dashboard machine...
-
-2009-03-31 13:16 david.cole
-
- * Tests/CMakeTests/GetPrerequisitesTest.cmake.in: STYLE: White
- space only change to see if continuous is working on new
- dashboard machine...
-
-2009-03-31 10:28 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/FindQt4.cmake,
- Source/cmAddCustomCommandCommand.h,
- Source/cmAddCustomTargetCommand.h,
- Source/CTest/cmCTestSubmitCommand.cxx,
- Source/QtDialog/CMakeSetupDialog.cxx,
- Source/QtDialog/QCMakeCacheView.cxx: ENH: next RC
-
-2009-03-31 10:27 hoffman
-
- * Utilities/Release/vogon_release.cmake: ENH: use a newer cmake
-
-2009-03-31 10:13 king
-
- * Modules/AddExternalProject.cmake: BUG: Fix AddExternalProject
- config command id
-
- This fixes the get_configure_command_id function to not mistake
- CONFIGURE_COMMAND values that run "cmake -P" or "cmake -E" for a
- CMake project configuration. These values just help run scripts.
-
-2009-03-31 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-30 16:34 clinton
-
- * Source/QtDialog/QCMake.cxx:
- BUG: Fix inconsistency with lowercase drive letters on Windows.
-
-2009-03-30 11:38 king
-
- * Modules/AddExternalProject.cmake: ENH: Simpler AddExternalProject
- install step
-
- This simplifies the implementation with
- add_external_project_step.
-
-2009-03-30 11:38 king
-
- * Modules/AddExternalProject.cmake: ENH: Simpler AddExternalProject
- build step
-
- This simplifies the implementation with
- add_external_project_step.
-
-2009-03-30 11:38 king
-
- * Modules/AddExternalProject.cmake: ENH: Simpler AddExternalProject
- configure step
-
- This simplifies the implementation with
- add_external_project_step.
-
-2009-03-30 11:37 king
-
- * Modules/AddExternalProject.cmake: ENH: Simpler AddExternalProject
- patch step
-
- This simplifies the implementation with
- add_external_project_step.
-
-2009-03-30 11:37 king
-
- * Modules/AddExternalProject.cmake: ENH: Simpler AddExternalProject
- update step
-
- This simplifies the implementation with
- add_external_project_step.
-
-2009-03-30 11:37 king
-
- * Modules/AddExternalProject.cmake: ENH: Simpler AddExternalProject
- download step
-
- This simplifies the implementation with
- add_external_project_step.
-
-2009-03-30 11:36 king
-
- * Modules/AddExternalProject.cmake,
- Tests/ExternalProject/CMakeLists.txt: ENH: Generalize
- AddExternalProject step creation
-
- This creates function 'add_external_project_step' to centralize
- creation of external project steps. Users may call it to add
- custom steps to external project builds.
-
-2009-03-30 11:35 king
-
- * Modules/AddExternalProject.cmake: ENH: Factor argument parsing in
- AddExternalProject
-
- The add_external_project function parses its arguments and puts
- them in properties of the target it creates. This factors out
- implementation of the behavior for use by other functions in the
- module.
-
-2009-03-30 11:35 king
-
- * Modules/AddExternalProject.cmake: ENH: Teach AddExternalProject a
- 'complete' step
-
- This separates creation of the project completion sentinel file
- from the 'install' step to allow more steps to be added in
- between later.
-
-2009-03-30 10:56 clinton
-
- * Source/QtDialog/CMakeSetupDialog.cxx:
- ENH: Add version info to about dialog, including Qt version.
-
-2009-03-30 08:27 malaterre
-
- * Source/kwsys/testIOS.cxx: COMP: missing string.h header for
- strlen.
-
-2009-03-30 08:27 king
-
- * Source/: cmAddCustomCommandCommand.h, cmAddCustomTargetCommand.h:
- ENH: Document scope of add_custom_command outputs
-
- This explicitly states the scope of add_custom_command rules in
- the documentation of add_custom_command and add_custom_target.
- See issue #8815.
-
-2009-03-30 04:10 malaterre
-
- * Source/kwsys/testIOS.cxx: ENH: remote debugging of sunos
-
-2009-03-30 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-29 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-28 13:02 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: STYLE: fix line lenght
-
-2009-03-28 10:23 hoffman
-
- * Utilities/Release/: vogon_release.cmake, vogon_release_qt.cmake:
- ENH: change qt to 4.5
-
-2009-03-28 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-27 21:57 hoffman
-
- * Tests/MacroTest/context.cmake: ENH: add missing file to branch
-
-2009-03-27 17:11 alex
-
- * Modules/FindAVIFile.cmake: ENH: mark the two variables as
- advanced -remove unnecessary deault search dirs
-
- Alex
-
-2009-03-27 12:33 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for #8686 add
- some more compiler flags
-
-2009-03-27 11:55 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Modules/CMakeSystemSpecificInformation.cmake,
- Modules/CheckCSourceCompiles.cmake,
- Modules/CheckCSourceRuns.cmake,
- Modules/CheckCXXSourceCompiles.cmake,
- Modules/CheckCXXSourceRuns.cmake, Modules/FindBoost.cmake,
- Source/cmCommandArgumentParserHelper.cxx,
- Source/cmExtraCodeBlocksGenerator.cxx,
- Source/cmExtraEclipseCDT4Generator.cxx,
- Source/cmExtraEclipseCDT4Generator.h,
- Source/cmGlobalNMakeMakefileGenerator.cxx,
- Source/cmGlobalUnixMakefileGenerator3.h,
- Source/cmIncludeDirectoryCommand.cxx,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalUnixMakefileGenerator3.h,
- Source/cmLocalVisualStudio6Generator.cxx, Source/cmMakefile.cxx,
- Source/cmProjectCommand.h, Source/cmSourceFile.cxx,
- Source/cmStringCommand.h, Source/cmTarget.cxx,
- Tests/MacroTest/CMakeLists.txt, Tests/Preprocess/CMakeLists.txt,
- Tests/Preprocess/preprocess.c, Tests/Preprocess/preprocess.cxx:
- ENH: merge in from main tree to create RC 2
-
-2009-03-27 11:18 hoffman
-
- * Source/cmGlobalNMakeMakefileGenerator.cxx: ENH: LIBPATH is not
- required for cl to work
-
-2009-03-27 10:49 hoffman
-
- * Utilities/Release/vogon_release.cmake: ENH: fix spaces in path
- escape
-
-2009-03-27 10:37 hoffman
-
- * Utilities/Release/vogon_release.cmake: ENH: use a different cmake
-
-2009-03-27 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-26 11:42 clinton
-
- * Source/QtDialog/QCMakeCacheView.cxx:
- BUG: Don't return checkable flag for item when in the middle of
- configure/generate.
-
-2009-03-26 11:04 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Do a recheck of QT_MAC_USE_COCOA when qmake executable
- changes.
-
-2009-03-26 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-25 15:29 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Support OUTPUT_LOCATION property for qm files. Fixes
- #8492.
-
-2009-03-25 10:37 hoffman
-
- * Tests/MacroTest/context.cmake: file context.cmake was added on
- branch CMake-2-6 on 2009-03-28 01:57:34 +0000
-
-2009-03-25 10:36 king
-
- * Source/cmCommandArgumentParserHelper.cxx,
- Tests/MacroTest/CMakeLists.txt, Tests/MacroTest/context.cmake:
- BUG: Fix CMAKE_CURRENT_LIST_FILE in macros
-
- The value of CMAKE_CURRENT_LIST_FILE is supposed to be the list
- file currently being executed. Before macros were introduced
- this was always the context of the argument referencing the
- variable.
-
- Our original implementation of macros replaced the context of
- command arguments inside the macro with that of the arguments of
- the calling context. This worked recursively, but only worked
- when macros had at least one argument. Furthermore, it caused
- parsing errors of the arguments to report the wrong location
- (calling context instead of line with error).
-
- The commit "Improve context for errors in macros" fixed the
- latter bug by keeping the lexical context of command arguments in
- macros. It broke evaluation of CMAKE_CURRENT_LIST_FILE because
- the calling context was no longer preserved in the argument
- referencing the variable. However, since our list file
- processing now maintains the proper value of
- CMAKE_CURRENT_LIST_FILE with dynamic scope we no longer need the
- context of the argument and can just evaluate the variable
- normally.
-
-2009-03-25 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-24 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-23 15:46 hoffman
-
- * CMakeLists.txt: ENH: put an rc number other than 0 in
-
-2009-03-23 14:48 king
-
- * Source/cmLocalVisualStudio6Generator.cxx, Source/cmMakefile.cxx,
- Source/cmSourceFile.cxx, Source/cmTarget.cxx,
- Tests/Preprocess/CMakeLists.txt, Tests/Preprocess/preprocess.c,
- Tests/Preprocess/preprocess.cxx: ENH: Support preprocessor def
- values in VS6
-
- The add_definitions() command and COMPILE_DEFINITIONS dir/tgt/src
- properties support preprocessor definitions with values.
- Previously values were not supported in the VS6 generator even
- though the native tool supports them. It is only values with
- spaces that VS6 does not support. This enables support and
- instead complains only for values with spaces. See issue #8779.
-
-2009-03-23 14:04 hoffman
-
- * Tests/: CMakeTests/GetFilenameComponentRealpathTest.cmake.in,
- Fortran/include/test_preprocess.h: ENH: add missing files
-
-2009-03-23 13:58 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Docs/cmake-mode.el,
- Modules/CMakeASMInformation.cmake,
- Modules/Platform/Darwin-icc.cmake, Modules/Platform/Darwin.cmake,
- Modules/Platform/UnixPaths.cmake, Source/cmCPluginAPI.cxx,
- Source/cmDependsFortran.cxx, Source/cmDependsFortranParser.cxx,
- Source/cmDependsFortranParser.y, Source/cmDocumentVariables.cxx,
- Source/cmDocumentationFormatterMan.cxx, Source/cmFileCommand.cxx,
- Source/cmGetFilenameComponentCommand.cxx,
- Source/cmGetFilenameComponentCommand.h,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalXCodeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.h, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmMakeDepend.cxx, Source/cmMakeDepend.h,
- Source/cmMakefile.cxx, Source/cmMakefileTargetGenerator.cxx,
- Source/cmSourceFile.cxx, Source/cmTarget.cxx, Source/cmake.cxx,
- Source/CTest/cmCTestUpdateHandler.cxx,
- Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in,
- Tests/CMakeTests/CMakeLists.txt, Tests/Fortran/CMakeLists.txt,
- Tests/Fortran/test_preprocess.F90: ENH: check in changes to
- branch, most importantly the header file do not compile fix
-
-2009-03-23 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-22 17:13 lowman
-
- * Modules/FindGTK2.cmake: ENH: NEW: FindGTK2 module
-
-2009-03-22 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-21 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-20 23:52 lowman
-
- * Modules/FindBoost.cmake: BUG: LIST(REMOVE_ITEM...) was being
- called on a variable that could be empty.
-
-2009-03-20 14:19 king
-
- * Source/CTest/: cmCTestUpdateCommand.h, cmCTestUpdateHandler.cxx:
- BUG: Fix return value of ctest_update
-
- The CTest version control refactoring broke the value returned
- for the ctest_update command's RETURN_VALUE argument. The value
- is supposed to be the number of files updated, but the
- refactoring accidentally made it the number of locally modified
- files after the update.
-
-2009-03-20 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-19 22:48 fbertel
-
- * Source/kwsys/: SystemInformation.cxx, SystemInformation.hxx.in:
- COMP:Fixed warnings with gcc 4.3.2.
-
-2009-03-19 15:44 clinton
-
- * Modules/FindQt4.cmake:
- BUG: Need to fix find of qtmain library when qmake executable is
- changed.
-
-2009-03-19 11:48 fbertel
-
- * Source/kwsys/CommandLineArguments.cxx: COMP:Try to fix error on
- HP.
-
-2009-03-19 10:53 king
-
- * Source/cmTarget.cxx: ENH: Mention CMAKE_* variables in RPATH
- properties
-
- The RPATH target properties are initialized by CMAKE_<prop>
- variables at target creation time. This notes the feature in the
- property documentation. It is already noted in the variable
- documentation.
-
-2009-03-19 10:03 fbertel
-
- * Source/kwsys/RegularExpression.hxx.in: COMP:try to fix error on
- qnx-V3.3.5-gcc_ntox86.
-
-2009-03-19 09:20 fbertel
-
- * Source/kwsys/CommandLineArguments.cxx: COMP:Fixed warnings.
-
-2009-03-19 09:09 fbertel
-
- * Source/kwsys/RegularExpression.hxx.in: COMP:Fixed VS 64-bit
- warning C4267 line 432 of RegularExpression.cxx
-
-2009-03-19 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-18 11:01 king
-
- * Modules/AddExternalProject.cmake: STYLE: Reminder note for
- add_external_project work
-
-2009-03-18 11:00 king
-
- * Modules/AddExternalProject.cmake,
- Tests/ExternalProject/CMakeLists.txt,
- Tests/ExternalProject/Step1Patch.cmake: ENH: Add patch step for
- add_external_project
-
- The patch step runs parallel to the update step since it does not
- make sense to have both. Configuration of the step requires
- specification of a PATCH_COMMAND argument to
- add_external_project.
-
-2009-03-18 11:00 king
-
- * Modules/AddExternalProject.cmake,
- Tests/ExternalProject/CMakeLists.txt: ENH: Improve
- add_external_project interface
-
- This rewrites the keyword/argument parsing and handling in the
- AddExternalProject module to use arguments more literally:
-
- - The strict keyword-value pairing is gone in favor of keywords
- with
- arbitrary non-keyword values. This avoids requiring users to
- escape
- spaces and quotes in command lines.
-
- - Customized step command lines are now specified with a single
- keyword <step>_COMMAND instead of putting the arguments in a
- separate entry (previously called <step>_ARGS).
-
- - Build step custom commands now use VERBATIM mode so that
- arguments
- are correctly escaped on the command line during builds.
-
-2009-03-18 08:50 fbertel
-
- * Source/kwsys/SystemTools.cxx: COMP:Fixed warnings.
-
-2009-03-18 07:57 fbertel
-
- * Source/kwsys/RegularExpression.cxx: STYLE:Empty commit just add
- information about rev 1.15: the reason is that long is 64-bit on
- gcc on Linux because it uses the LP64 data model whereas long is
- 32-bit on VS 64-bit because it uses the LLP64 model (ref:
- http://en.wikipedia.org/wiki/64-bit#64-bit_data_models )
-
-2009-03-18 07:32 fbertel
-
- * Source/kwsys/RegularExpression.cxx: COMP:Fix warning on VS 64bit.
- Don't why gcc 4.3.2 didn't catch this one on a 64bit machine with
- -Wconversion on.
-
-2009-03-18 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-17 15:11 king
-
- * Source/cmLocalGenerator.cxx: BUG: Allow more shell ops in custom
- commands
-
- This extends the set of common shell operators to include "||",
- "&&", "1>", and "2>". See issue #6868.
-
-2009-03-17 15:10 king
-
- * Source/cmForEachCommand.cxx, Source/cmForEachCommand.h,
- Tests/StringFileTest/CMakeLists.txt: ENH: New foreach(<var> IN
- ...) mode
-
- This creates a new mode of the foreach command which allows
- precise iteration even over empty elements. This mode may be
- safely extended with more keyword arguments in the future. The
- cost now is possibly breaking scripts that iterate over a list of
- items beginning with 'IN', but there is no other way to extend
- the syntax in a readable way.
-
-2009-03-17 10:48 fbertel
-
- * Source/kwsys/: Glob.cxx, RegularExpression.cxx,
- RegularExpression.hxx.in: COMP:Fixed warnings.
-
-2009-03-17 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-16 22:28 lowman
-
- * Modules/FindBoost.cmake: BUG: Eliminates detection of Boost
- system library prior to 1.35 (see issue #8734)
-
-2009-03-16 17:38 fbertel
-
- * Source/kwsys/ProcessUNIX.c: COMP:Try to fix compile error with
- qnx gcc.
-
-2009-03-16 17:13 fbertel
-
- * Source/kwsys/ProcessUNIX.c: COMP:Fixed gcc 4.3.2 warning with -O1
- and above: ignoring return value of read'), declared with
- attribute warn_unused_result
-
-2009-03-16 16:55 king
-
- * Modules/CMakeGenericSystem.cmake,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.h, Source/cmake.cxx,
- Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt: ENH: Allow projects to
- disable per-rule echo lines
-
- This creates global property RULE_MESSAGES which can be set to
- disbale per-rule progress and action reporting. On Windows,
- these reports may cause a noticable delay due to the cost of
- starting extra processes. This feature will allow scripted
- builds to avoid the cost since they do not need detailed
- information anyway. This replaces the RULE_PROGRESS property
- created earlier as it is more complete. See issue #8726.
-
-2009-03-16 16:55 king
-
- * Source/cmMakefileLibraryTargetGenerator.cxx: STYLE: Separate
- unrelated logic
-
- This separates unrelated uses of a library-type switch into
- separate switches. An upcoming commit will conditionally enter
- one of the switches.
-
-2009-03-16 16:22 king
-
- * Modules/CMakeGenericSystem.cmake,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.h, Source/cmake.cxx,
- Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt: ENH: Allow projects to
- disable per-rule progress
-
- This creates global property RULE_PROGRESS which can be set to
- disbale per-rule progress reporting. On Windows, progress
- reports may cause a noticable delay due to the cost of starting
- an extra process. This feature will allow scripted builds to
- avoid the cost since they do not need detailed progress anyway.
- See issue #8726.
-
-2009-03-16 16:22 king
-
- * Source/: cmMakefileTargetGenerator.cxx,
- cmMakefileTargetGenerator.h: ENH: Factor out makefile progress
- rule commands
-
- This factors duplicate progress rule code into a common method.
-
-2009-03-16 15:02 fbertel
-
- * Source/kwsys/ProcessUNIX.c: COMP:Fixed warnings.
-
-2009-03-16 14:30 king
-
- * Source/: cmCPluginAPI.cxx, cmGlobalXCodeGenerator.cxx,
- cmGlobalXCodeGenerator.h, cmSourceFile.cxx: BUG: Do not
- automatically set HEADER_FILE_ONLY
-
- Long ago the native build system generators needed
- HEADER_FILE_ONLY to be set on header files to stop them from
- building. The modern generators correctly handle headers without
- the help of this property. This removes automatic setting of the
- property so that it can be used reliably as an indicator of
- project author intention. It fixes VS IDE project files to show
- header files normally instead of excluded (broken by the fix for
- issue #7845).
-
-2009-03-16 14:30 king
-
- * Source/: cmMakeDepend.cxx, cmMakeDepend.h: ENH: Remove unused
- code from cmMakeDepend
-
- This class is the old-style dependency scanner. It is needed
- only to implement the output_required_files command. This change
- removes some code not needed for that purpose, including a
- reference to the HEADER_FILE_ONLY property.
-
-2009-03-16 10:51 king
-
- * Source/cmAddTestCommand.cxx, Source/cmAddTestCommand.h,
- Source/cmTest.cxx, Source/cmTest.h, Source/cmTestGenerator.cxx,
- Source/cmTestGenerator.h, Tests/Testing/CMakeLists.txt,
- Tests/Testing/perconfig.c: ENH: Add NAME mode to ADD_TEST command
-
- This creates command mode add_test(NAME ...). This signature is
- extensible with more keyword arguments later. The main purpose
- is to enable automatic replacement of target names with built
- target file locations. A side effect of this feature is support
- for tests that only run under specific configurations.
-
-2009-03-16 10:42 king
-
- * Source/: cmAddTestCommand.cxx, cmTest.cxx, cmTest.h,
- cmTestGenerator.cxx: ENH: Refactor storage of test command lines
-
- We used to separate the command executable from its argument
- vector. It is simpler to just store the whole command line in
- one vector.
-
-2009-03-16 10:40 king
-
- * Source/CMakeLists.txt, Source/cmAddTestCommand.cxx,
- Source/cmLocalGenerator.cxx, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmTestGenerator.cxx,
- Source/cmTestGenerator.h, bootstrap: ENH: Refactor generation of
- CTestTestfile content
-
- This moves code which generates ADD_TEST and SET_TESTS_PROPERTIES
- calls into CTestTestfile.cmake files out of cmLocalGenerator and
- into a cmTestGenerator class. This will allow more advanced
- generation without cluttering cmLocalGenerator. The
- cmTestGenerator class derives from cmScriptGenerator to get
- support for per-configuration script generation (not yet
- enabled).
-
-2009-03-16 10:39 king
-
- * Source/CMakeLists.txt, Source/cmInstallGenerator.cxx,
- Source/cmInstallGenerator.h, Source/cmInstallTargetGenerator.cxx,
- Source/cmInstallTargetGenerator.h, Source/cmScriptGenerator.cxx,
- Source/cmScriptGenerator.h, bootstrap: ENH: Refactor
- cmInstallGenerator for re-use
-
- A new cmScriptGenerator base class factors out the
- non-install-specific part of cmInstallGenerator. This will be
- useful for other generators that want per-configuration
- functionality.
-
-2009-03-16 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-15 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-14 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-13 17:04 alex
-
- * Source/cmExtraEclipseCDT4Generator.cxx: ENH: don't enforce
- VERBOSE Makefiles, but set the env. var VERBOSE to 1 in when make
- is executed from within Eclipse. This way when building from the
- command line one can build also in non-verbose mode.
-
- Alex
-
-2009-03-13 16:52 alex
-
- * Modules/CMakeSystemSpecificInformation.cmake,
- Source/cmExtraEclipseCDT4Generator.cxx,
- Source/cmExtraEclipseCDT4Generator.h: ENH: when using the Eclipse
- project generator, run gcc so that it tells us its system include
- directories. These are catched in
- CMakeSystemSpecificInformation.cmake (only with the Eclipse
- generator) and then written by the Eclipse generator in the
- Eclipse project file. This way Eclipse can find the standard
- headers (#7585) Not sure CMakeSystemSpecificInformation.cmake is
- the best place to do this.
-
- Alex
-
-2009-03-13 14:58 alex
-
- * Source/cmStringCommand.h: STYLE: add line breaks to the
- documentation for CMAKE_MATCH_(0..9), otherwise one might miss
- this information
-
- Alex
-
-2009-03-13 10:53 king
-
- * Source/cmCacheManager.cxx: BUG: Document internal cache property
- MODIFIED
-
- All cmake-defined properties should be documented, even if they
- are internal. This fixes the DocTest when CMAKE_STRICT is
- enabled.
-
-2009-03-13 10:53 king
-
- * Source/: cmCacheManager.cxx, cmCacheManager.h, cmake.cxx: BUG:
- Fix cache properties for CMAKE_STRICT build
-
- All cmPropertyMap instances must have CMakeInstance set. This
- teaches cmCacheManager to set it on cache entries.
-
-2009-03-13 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-12 21:06 lowman
-
- * Modules/FindBoost.cmake: STYLE: Moved functions/macros to top of
- file so main is more readable.
-
-2009-03-12 19:24 alex
-
- * Source/cmIncludeDirectoryCommand.cxx: BUG: fix #8704, sometimes
- crash if include_directories() is called with a whitespace string
-
- Alex
-
-2009-03-12 18:43 alex
-
- * Source/cmProjectCommand.h: STYLE: document NONE for disabling any
- languages, slightly change wording of the rest of the
- documentation, so it is more similar to ENABLE_LANGUAGE() (#8718)
-
- Alex
-
-2009-03-12 14:54 hoffman
-
- * Source/CTest/cmCTestSubmitHandler.cxx: ENH: allow for https
- submission if ctest is built with a curl that supports it
-
-2009-03-12 13:11 king
-
- * Source/cmCacheManager.cxx: COMP: Do not use void returns
-
- VS 6 does not support the C++ void returns feature. This removes
- an accidental use of it.
-
-2009-03-12 11:19 clinton
-
- * Source/QtDialog/: QCMake.cxx, QCMake.h, QCMakeCacheView.cxx,
- QCMakeCacheView.h, QCMakeWidgets.h:
- ENH: Add support for showing combo box for choosing from a list
- of strings that a cache property can have.
-
-2009-03-12 10:52 king
-
- * Source/: cmCacheManager.cxx, cmSetPropertyCommand.cxx: ENH:
- Define STRINGS cache entry property
-
- This property defines a list of values for a cache entry of type
- STRING. A CMake GUI may optionally use a drop-down selection
- widget for the entry instead of a generic text entry field. We
- do not enforce that the value of the entry match one of the
- strings listed.
-
-2009-03-12 10:49 king
-
- * Source/: cmCacheManager.cxx, cmCacheManager.h: ENH: Refactor
- cache entry writing and reading
-
- This factors out duplicated code into reusable methods, thus
- simplifying writing and reading of cache entry help strings,
- keys, values, and properties.
-
-2009-03-12 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-11 18:13 alex
-
- * Modules/: CheckCSourceCompiles.cmake, CheckCSourceRuns.cmake,
- CheckCXXSourceCompiles.cmake, CheckCXXSourceRuns.cmake: STYLE:
- fix documentation: the second short description discarded the
- first one, but the first one was the correct one (i.e. the one
- which mentioned that CheckC[XX]SourceRuns.cmake also tries to run
- the executable)
-
- Alex
-
-2009-03-11 13:31 king
-
- * Source/CTest/cmCTestCoverageHandler.cxx: BUG: Do not produce
- empty coverage log files
-
- This moves the filtering of source files to before the production
- of coverage log files in order to avoid producing a
- CoverageLog-*.xml file for 100 filtered-out files. The change
- greatly reduces the number of submitted coverage files when using
- label filters.
-
-2009-03-11 13:31 king
-
- * Source/: CTest/cmCTestCoverageHandler.cxx, cmCTest.h: BUG: Do not
- carry over file list between coverage
-
- When performing multiple ctest_coverage() commands in a single
- CTest instance we need to clear the list of CoverageLog-*.xml
- files for submission. Otherwise if the current coverage run
- produces fewer log files than the previous run CTest will attempt
- to submit non-existing files.
-
-2009-03-11 12:03 king
-
- * Source/CTest/: cmCTestCoverageHandler.cxx,
- cmCTestCoverageHandler.h: BUG: Avoid duplicate CTest coverage
- submission
-
- This teaches ctest_coverage() to remove any existing
- CoverageLog-*.xml when it creates new coverage results.
- Otherwise the next ctest_submit() may submit old coverage log
- files which unnecessarily.
-
-2009-03-11 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-10 17:34 alex
-
- * Source/cmExtraCodeBlocksGenerator.cxx: ENH: only check for the
- existance of a header file if: -the original file is a C/C++
- implementation file -the header file is not already part of the
- sources
-
- Alex
-
-2009-03-10 11:11 king
-
- * Source/: cmCacheManager.cxx, cmCacheManager.h,
- cmDocumentation.cxx, cmake.cxx: ENH: Document CACHE entry
- properties
-
- This adds a property documentation section for CACHE properties.
- We document the ADVANCED, HELPSTRING, TYPE, and VALUE properties.
-
-2009-03-10 11:10 king
-
- * Source/cmCacheManager.cxx, Source/cmCacheManager.h,
- Source/cmGetPropertyCommand.cxx, Source/cmGetPropertyCommand.h,
- Source/cmSetPropertyCommand.cxx, Source/cmSetPropertyCommand.h,
- Tests/Properties/CMakeLists.txt: ENH: Teach set/get_property
- about CACHE properties
-
- This adds the CACHE option to set_property and get_property
- commands. This allows full control over cache entry information,
- so advanced users can tweak their project cache as desired. The
- set_property command allows only pre-defined CACHE properties to
- be set since others would not persist anyway.
-
-2009-03-10 11:10 king
-
- * Source/: cmCacheManager.cxx, cmCacheManager.h, cmProperty.h,
- cmPropertyDefinitionMap.cxx: ENH: Use cmPropertyMap for cache
- properties
-
- This re-implements cache entry property storage in cmCacheManager
- to use cmPropertyMap so it can share the standard property
- implementation.
-
-2009-03-10 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-09 17:57 king
-
- * Source/cmGetPropertyCommand.cxx: BUG: Fix get_property result for
- bad property
-
- When a property does not exist we are supposed to return an empty
- value. Previously if a property did not exist we just left the
- value of the output variable unchanged. This teaches CMake to
- remove the definition of the output variable in this case.
-
-2009-03-09 12:19 king
-
- * Source/CTest/: cmCTestCoverageHandler.cxx,
- cmCTestCoverageHandler.h: ENH: Efficiently filter CTest coverage
- by label
-
- This teaches CTest to process coverage information only for
- object files in targets containing labels of interest. This
- change also improves loading of global coverage information by
- globbing only in each target support directory instead of the
- entire build tree.
-
-2009-03-09 12:19 king
-
- * Source/: CTest/cmCTestCoverageHandler.cxx, cmGlobalGenerator.cxx,
- cmGlobalGenerator.h, CTest/cmCTestCoverageHandler.h: ENH:
- Generate a central list of target directories
-
- This generalizes the previous CMakeFiles/LabelFiles.txt created
- at the top of the build tree to a
- CMakeFiles/TargetDirectories.txt file. It lists the target
- support directories for all targets in the project. Labels can
- still be loaded by looking for Labels.txt files in each target
- directory.
-
-2009-03-09 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-08 15:33 alex
-
- * Source/cmExtraCodeBlocksGenerator.cxx:
- ENH: automatically add headers of implementation file to the
- codeblocks project file
-
- Alex
-
-2009-03-08 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-07 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-06 14:29 david.cole
-
- * Tests/CMakeTests/GetPrerequisitesTest.cmake.in: STYLE: White
- space only change to see if continuous is working on new
- dashboard machine...
-
-2009-03-06 12:06 king
-
- * Source/: cmMessageCommand.cxx, cmMessageCommand.h: BUG: Fix
- message(SEND_ERROR) to continue
-
- During testing of the new message() signatures I mistakenly
- concluded that SEND_ERROR stops processing. The corresponding
- commit enforced this wrong behavior. This restores the correct
- behavior and fixes the documentation accordingly.
-
-2009-03-06 10:04 king
-
- * Source/cmMessageCommand.cxx, Source/cmMessageCommand.h,
- Tests/CMakeTests/CMakeLists.txt,
- Tests/CMakeTests/MessageTest.cmake.in,
- Tests/CMakeTests/MessageTestScript.cmake: ENH: Teach message()
- how to display warnings
-
- This adds message(WARNING) and message(AUTHOR_WARNING) command
- modes and fully documents the command behavior in all modes.
-
-2009-03-06 10:01 king
-
- * Source/cmDocumentationFormatterMan.cxx: BUG: Fix man-page
- preformatted text paragraphing
-
- Man page preformatted text needs an extra newline after the
- ending marker to create a paragraph break. This bug was
- introduced by the patch from issue #7797 to place explicit ".nf"
- and ".fi" markers around preformatted blocks.
-
-2009-03-06 09:14 king
-
- * Source/cmFileCommand.cxx: ENH: Teach file(REMOVE) how to use
- relative paths
-
- This teaches the command to interpret relative paths with respect
- to the location of the invoking CMakeLists.txt file. The
- convention is already used by most commands and won't change the
- behavior in script mode.
-
-2009-03-06 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-05 15:17 king
-
- * CMakeCPack.cmake, CMakeLists.txt, bootstrap,
- Source/CMakeLists.txt, Source/cmCTest.cxx,
- Source/cmCacheManager.cxx, Source/cmConfigure.cmake.h.in,
- Source/cmDocumentVariables.cxx, Source/cmLocalGenerator.cxx,
- Source/cmStandardIncludes.h, Source/cmVersion.cxx,
- Source/cmVersion.h, Source/cmVersionConfig.h.in,
- Source/cmVersionMacros.h, Source/cmake.cxx,
- Source/CursesDialog/cmCursesLongMessageForm.cxx,
- Source/CursesDialog/cmCursesMainForm.cxx,
- Source/QtDialog/CMakeSetup.cxx, Tests/CMakeTests/CMakeLists.txt,
- Tests/CMakeTests/VersionTest.cmake.in: ENH: Overhaul CMake
- version numbering
-
- This moves the version numbers into an isolated configured header
- so that not all of CMake needs to rebuild when the version
- changes.
-
- Previously we had spaces, dashes and/or the word 'patch' randomly
- chosen before the patch number. Now we always report version
- numbers in the traditional format
- "<major>.<minor>.<patch>[-rc<rc>]".
-
- We still use odd minor numbers for development versions. Now we
- also use the CCYYMMDD date as the patch number of development
- versions, thus allowing tests for exact CMake versions.
-
-2009-03-05 13:57 king
-
- * Source/: cmake.cxx, cmake.h: STYLE: Remove unused
- cmake::CacheVersionMatches
-
- This remove the method completely since nothing uses it.
-
-2009-03-05 10:17 king
-
- * Source/CTest/: cmCTestCoverageCommand.cxx,
- cmCTestCoverageCommand.h: BUG: Initialize ctest_coverage command
- ivar
-
- This initializes the LabelsMentioned ivar in
- cmCTestCoverageCommand.
-
-2009-03-05 10:08 david.cole
-
- * Modules/CPack.cmake: STYLE: Use $ style variable dereference
- instead of @ style.
-
-2009-03-05 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-04 15:39 king
-
- * Source/cmake.cxx, Source/cmake.h, Source/cmakemain.cxx,
- Tests/CMakeBuildTest.cmake.in: ENH: Cleanup cmake --build
- interface.
-
- This cleans up the 'cmake --build' command-line interface: -
- Rename --clean to --clean-first to better describe it. -
- Replace --extra-options with a -- separator to simplify passing
- of multiple native build tool options. - Document the
- options in the main CMake man page description of the
- --build option, and shares this with the usage message. -
- Require --build to be the first argument when present. - Move
- implementation into cmakemain where it belongs.
-
-2009-03-04 15:38 king
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h: ENH: Extend
- GG::Build method for pre-parsed args
-
- This adds an argument to the cmGlobalGenerator::Build method to
- pass a vector of arguments for the native build tool
- programatically.
-
-2009-03-04 12:30 hoffman
-
- * Modules/CPack.background.png.in: ENH: add file back bug use cmake
- image
-
-2009-03-04 11:45 king
-
- * Modules/AddExternalProject.cmake,
- Tests/ExternalProject/CMakeLists.txt: ENH: Better recursive make
- in AddExternalProject
-
- This teaches AddExternalProject to run "$(MAKE)" for build and
- install steps of CMake-based external projects when using a
- Makefile generator. It allows the external project to
- participate in a parallel make invoked on the superproject.
-
-2009-03-04 11:24 hoffman
-
- * Source/CTest/cmCTestScriptHandler.cxx: BUG: make sure error
- condition is reset before loading scripts
-
-2009-03-04 09:21 king
-
- * Modules/AddExternalProject.cmake: ENH: Allow empty arguments in
- external project API
-
- This uses the get_property command to simplify property lookup in
- the AddExternalProject module. It distinguishes for build and
- install argument properties the cases of unset and set to empty.
-
-2009-03-04 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-03 07:56 hoffman
-
- * Modules/CPack.background.png.in: ENH: remove unused file
-
-2009-03-03 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-02 21:09 lowman
-
- * Modules/FindBoost.cmake: STYLE: Fix documentation bug regarding
- Boost_<COMPONENT>_LIBRARY (COMPONENT should be uppercase).
-
-2009-03-02 20:29 lowman
-
- * Modules/FindCxxTest.cmake: ENH: Detect perl & python scripts
- based on CXXTEST_INCLUDE_DIR (patch from Tyler Roscoe on mailing
- list).
-
-2009-03-02 16:27 king
-
- * Source/cmXMLSafe.cxx: BUG: Avoid encoding invalid XML chars in
- CTest
-
- CTest encodes test and tool output in XML for dashboard
- submission. This fixes the XML encoding implementation to not
- encode an invalid character and instead put a human-readable tag
- in its place. See issue #8647.
-
-2009-03-02 16:02 king
-
- * Source/cmake.cxx: BUG: Gracefully handle broken version symlinks
-
- This teaches the helper commands 'cmake -E
- cmake_symlink_executable' and 'cmake -E cmake_symlink_library' to
- remove broken symlinks before creating a symlink and report an
- error when the symlink cannot be created. See issue #8654.
-
-2009-03-02 15:33 king
-
- * Source/CTest/: cmCTestCoverageCommand.cxx,
- cmCTestCoverageCommand.h, cmCTestCoverageHandler.cxx,
- cmCTestCoverageHandler.h: ENH: Teach ctest_coverage to filter
- with LABELS
-
- This teaches ctest_coverage() to report only coverage of files
- labeled with at least one label given by a new LABELS option.
-
-2009-03-02 15:33 king
-
- * Source/CTest/cmCTestCoverageHandler.cxx: BUG: Fix coverage label
- reports for Bullseye
-
- This teaches CTest to report Labels elements in the Coverage.xml
- file for Bullseye coverage results.
-
-2009-03-02 15:32 king
-
- * Source/CTest/cmCTestCoverageHandler.cxx: BUG: Fix coverage
- handler initialization
-
- This resets coverage handler internal state on initialization so
- that multiple coverage runs are independent.
-
-2009-03-02 09:59 king
-
- * Source/cmXMLSafe.cxx: BUG: Hack for issue #8647
-
-2009-03-02 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-03-01 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-28 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-27 16:28 hoffman
-
- * Source/CTest/cmCTestTestHandler.cxx: BUG: #8611 add pass fail
- reasons into log file
-
-2009-02-27 13:08 king
-
- * Modules/CMakeASMInformation.cmake: BUG: Fix ASM source file
- extension default list
-
- This replaces @ASM_DIALECT@ syntax with ${ASM_DIALECT} syntax so
- it will be replaced correctly. Patch from Derek Bruening. See
- issue #8639.
-
-2009-02-27 12:59 king
-
- * Source/cmMakefileTargetGenerator.cxx: BUG: Pass shared library
- export symbol in DEFINES
-
- The <target>_EXPORTS macro defined for object files when built in
- a shared library <target> should be put in the <DEFINES> make
- rule replacement and not <FLAGS>. Also, it should honor the
- platform variable CMAKE_<LANG>_DEFINE_FLAG. See issue #8107.
-
-2009-02-27 11:23 king
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmMakefile.cxx: ENH: Enforce unique binary directories
-
- The second argument of add_subdirectory must name a unique binary
- directory or the build files will clobber each other. This
- enforces uniqueness with an error message.
-
-2009-02-27 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-26 13:28 king
-
- * Docs/cmake-mode.el: BUG: Fix cmake-mode.el indentation cursor
- motion
-
- This makes cursor motion in the indent function consistent with
- emacs conventions. Patch from Mike Wittman. See issue #8625.
-
-2009-02-26 09:22 king
-
- * Source/CTest/: cmCTestUpdateHandler.cxx, cmCTestVC.cxx,
- cmCTestVC.h: ENH: Refactor initial checkout into cmCTestVC
-
- This adds cmCTestVC::InitialCheckout and uses it in
- cmCTestUpdateHandler to run the initial checkout command. The
- new implementation logs the command in the update log
- consistently with the rest of the new update implementation.
-
-2009-02-26 09:22 king
-
- * Tests/: CTestUpdateCVS.cmake.in, CTestUpdateCommon.cmake,
- CTestUpdateSVN.cmake.in: ENH: Extend CTest.UpdateSVN to test
- local mods
-
- This teaches the test to create local modifications in the work
- tree before updating.
-
-2009-02-26 09:16 king
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: BUG: Use new
- include dir suppresson for all gens
-
- This fixes CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES to be used
- for all generators instead of just those that construct their own
- compiler command lines directly. See issue #8598.
-
-2009-02-26 08:49 king
-
- * Source/cmLocalGenerator.cxx: ENH: Simplify reverse
- cmLocalGenerator::Convert
-
- It does not make sense to call the reverse Convert signature (for
- remote paths corresponding to CMake-managed directories) with
- NONE or FULL since they have no path. Patch from Modestas
- Vainius. See issue #7779.
-
-2009-02-26 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-25 17:17 miguelf
-
- * Modules/FindwxWidgets.cmake: BUG: Fix copy/paste error in
- previous commit that references wrong variable
- (wxWidgets_INCLUDE_DIRS instead of wxWidgets_DEFINITIONS).
-
-2009-02-25 16:29 alex
-
- * Modules/FindQt4.cmake: ENH: add patch from Debian, which adds
- support lrelease-qt4 and lupdate-qt4
- http://patch-tracking.debian.net/patch/series/view/cmake/2.6.3-1/FindQt4_qt4_lupdate_lrelease.diff
-
- Alex
-
-2009-02-25 15:45 king
-
- * Source/CTest/: cmCTestSVN.cxx, cmCTestVC.h: COMP: Fix cmCTestVC
- member access for HP compiler
-
- The HP C++ compiler needs some help to allow access to some
- member classes of cmCTestVC.
-
-2009-02-25 14:42 king
-
- * Source/CTest/: cmCTestCVS.cxx, cmCTestCVS.h, cmCTestSVN.cxx,
- cmCTestSVN.h, cmCTestUpdateHandler.cxx, cmCTestVC.cxx,
- cmCTestVC.h: ENH: Rewrite CTest Update implementation
-
- This adds a new VCS update implementation to the cmCTestVC
- hierarchy and removes it from cmCTestUpdateHandler. The new
- implementation has the following advantages:
-
- - Factorized implementation instead of monolithic function
- - Logs vcs tool output as it is parsed (less memory, inline
- messages)
- - Uses one global svn log instead of one log per file
- - Reports changes on cvs branches (instead of latest trunk
- change)
- - Generates simpler Update.xml (only one Directory element per
- dir)
-
- Shared components of the new implementation appear in cmCTestVC
- and may be re-used by subclasses for other VCS tools in the
- future.
-
-2009-02-25 11:44 king
-
- * Modules/Platform/UnixPaths.cmake, Source/cmDocumentVariables.cxx,
- Source/cmLocalGenerator.cxx: ENH: Re-enable system include dir
- suppression
-
- This creates variable CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES
- to specify implicit include directories on a per-language basis.
- This replaces the previous platform-wide variable. It is
- necessary to avoid explicit specification of -I/usr/include on
- some compilers (such as HP aCC) because:
-
- 1.) It may break ordering among system include directories
- defined
- internally by the compiler, thus getting wrong system
- headers.
- 2.) It tells the compiler to treat the system include directory
- as a user include directory, enabling warnings in the
- headers.
-
- See issue #8598.
-
-2009-02-25 09:20 king
-
- * Source/CTest/cmCTestVC.cxx: COMP: Fix cmCTestVC char[]->string
- Borland warning
-
- The Borland compiler warns about returning a char[] from a
- function with return type std::string without an explicit
- construction.
-
-2009-02-25 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-24 17:23 hoffman
-
- * Source/CTest/: cmCTestMultiProcessHandler.cxx,
- cmCTestTestHandler.cxx, cmCTestTestHandler.h: ENH: add a CDash
- measured value showing the reason for passed and failed tests
- based on regular expressions
-
-2009-02-24 17:07 king
-
- * Utilities/CMakeLists.txt: BUG: Fix cmake-gui docs generation PATH
- feature
-
- Automatic addition of the Qt DLL location to PATH can be done
- only for generators that use a Windows shell.
-
-2009-02-24 16:49 miguelf
-
- * Modules/: FindwxWidgets.cmake, UsewxWidgets.cmake: BUG: Using
- PROPERTY COMPILE_DEFINITIONS_DEBUG to support Debug only
- preprocessor options (e.g., _DEBUG __WXDEBUG__).
-
-2009-02-24 15:43 king
-
- * Source/: cmXMLParser.cxx, cmXMLParser.h: ENH: Added
- cmXMLParser::FindAttribute method
-
- This method will help subclasses look for element attributes in
- their StartElement methods.
-
-2009-02-24 15:43 king
-
- * Source/: cmXMLParser.cxx, cmXMLParser.h: ENH: Allow cmXMLParser
- subclasses to report errors
-
- This tells cmXMLParser to report error messages through virtual
- method cmXMLParser::ReportError so that subclasses can override
- the default report.
-
-2009-02-24 15:43 king
-
- * Source/CTest/: cmCTestSVN.cxx, cmCTestSVN.h: ENH: Teach
- cmCTestSVN to load repo/tree relation
-
- This teaches cmCTestSVN::NoteNewRevision to save the repository
- URL checked out in the work tree, the repository root, and the
- path below the root to reach the full URL.
-
-2009-02-24 15:43 king
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: Add cmCTest::DecodeURL
- method
-
- This new method decodes the "percent-encoding" used in URL
- syntax.
-
-2009-02-24 15:37 king
-
- * Modules/Platform/Darwin-icc.cmake, Modules/Platform/Darwin.cmake,
- Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Remove implicit
- include dir suppression
-
- We used to suppress generation of -I/usr/include (and on OSX also
- -I/usr/local/include). This behavior seems to cause more trouble
- than it's worth, so I'm removing it until someone encounters the
- original problem it fixed. See issue #8598.
-
-2009-02-24 14:32 hoffman
-
- * Tests/Fortran/include/test_preprocess.h: file test_preprocess.h
- was added on branch CMake-2-6 on 2009-03-23 18:04:12 +0000
-
-2009-02-24 14:32 king
-
- * Tests/Fortran/: CMakeLists.txt, test_preprocess.F90,
- include/test_preprocess.h: ENH: Test included header in Fortran
- preprocessing
-
- This extends the Fortran preprocessing test to include a header
- file through a preprocessor directive.
-
-2009-02-24 14:32 king
-
- * Source/cmDependsFortran.cxx: BUG: Fix Fortran implicit dependency
- include path
-
- The previous change to Source/cmDependsFortran.cxx while
- refactoring implicit dependency scanning configuration rules
- completely broke loading of the include file search path while
- scanning Fortran dependencies. This adds the line that should
- have been added during the previous change to load the include
- path correctly.
-
-2009-02-24 12:52 king
-
- * Source/CTest/: cmCTestSVN.cxx, cmCTestSVN.h,
- cmCTestUpdateHandler.cxx, cmCTestVC.cxx, cmCTestVC.h: ENH: Factor
- out VCS work tree revision checks
-
- This moves checks of the work tree revision before and after
- update from cmCTestUpdateHandler::ProcessHandler into the
- cmCTestVC hierarchy.
-
-2009-02-24 12:50 king
-
- * Source/CTest/: cmCTestUpdateHandler.cxx, cmCTestVC.cxx,
- cmCTestVC.h: ENH: Factor out nightly start time computation
-
- Move generation of the nightly start time string from
- cmCTestUpdateHandler::ProcessHandler into cmCTestVC.
-
-2009-02-24 12:50 king
-
- * Source/CTest/: cmCTestSVN.cxx, cmCTestSVN.h,
- cmCTestUpdateHandler.cxx, cmCTestVC.cxx, cmCTestVC.h: ENH: Factor
- out svn work tree cleanup
-
- This removes work tree cleanup from cmCTestUpdateHandler and adds
- an interface for it in cmCTestVC with an implementation in
- cmCTestSVN.
-
-2009-02-24 12:49 king
-
- * Source/CTest/: cmCTestVC.cxx, cmCTestVC.h: ENH: Create
- cmCTestVC::RunChild and parse helpers
-
- This method will help VCS tool subclasses run child processes and
- log the output while parsing it.
-
-2009-02-24 11:41 king
-
- * Source/cmInstallCommand.cxx, Source/cmInstallCommand.h,
- Source/cmInstallDirectoryGenerator.cxx,
- Source/cmInstallDirectoryGenerator.h,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: Add install(DIRECTORY)
- option 'OPTIONAL'
-
- This adds the OPTIONAL option to the install(DIRECTORY) command.
- It tells the installation rule that it is not an error if the
- source directory does not exist. See issue #8394.
-
-2009-02-24 11:41 king
-
- * Source/cmInstallCommand.cxx: ENH: Refactor install(DIRECTORY)
- argument parsing
-
- We previously used several booleans with at most one set to true
- at a time to track argument parsing state. This refactors it to
- use one enumeration.
-
-2009-02-24 11:08 king
-
- * Source/cmProcessTools.h: COMP: cmProcessTools::OutputParser
- virtual dtor
-
- This class has virtual methods and therefore should have a
- virtual destructor.
-
-2009-02-24 10:40 king
-
- * Source/: CMakeLists.txt, cmProcessTools.cxx, cmProcessTools.h:
- ENH: Create cmProcessTools to parse child output
-
- This class provides a RunProcess method to run a child process
- and send its output to an abstract parsing interface. This also
- provides a simple line parser and logger implementing the parsing
- interface.
-
-2009-02-24 10:39 king
-
- * Source/: CMakeLists.txt, CTest/cmCTestCVS.cxx,
- CTest/cmCTestCVS.h, CTest/cmCTestSVN.cxx, CTest/cmCTestSVN.h,
- CTest/cmCTestUpdateHandler.cxx: ENH: Add cmCTestCVS and
- cmCTestSVN
-
- These cmCTestVC subclasses will implement interaction with CVS
- and SVN tools.
-
-2009-02-24 10:39 king
-
- * Source/: CMakeLists.txt, CTest/cmCTestVC.cxx, CTest/cmCTestVC.h:
- ENH: Create cmCTestVC for VCS interaction
-
- This creates cmCTestVC, the base for a forthcoming class
- hierarchy to interact with version control systems.
-
-2009-02-24 09:34 david.cole
-
- * Source/CPack/cmCPackDragNDropGenerator.cxx: STYLE: Fix line
- length violation.
-
-2009-02-24 09:09 king
-
- * Source/CTest/: cmCTestUpdateHandler.cxx, cmCTestUpdateHandler.h:
- ENH: Factor out VCS tool detection
-
- In cmCTestUpdateHandler, this factors out version control tool
- detection from the monolithic
- cmCTestUpdateHandler::ProcessHandler to separate methods. This
- also places priority on detection of the tool managing the source
- tree since using any other tool will cause errors.
-
-2009-02-24 09:09 king
-
- * Source/CTest/: cmCTestUpdateHandler.cxx, cmCTestUpdateHandler.h:
- ENH: Factor out initial checkout method
-
- This moves the initial checkout code from the monolithic
- cmCTestUpdateHandler::ProcessHandler to a separate method
- cmCTestUpdateHandler::InitialCheckout.
-
-2009-02-24 09:00 king
-
- * Utilities/CMakeLists.txt: ENH: Help cmake-gui docs generation on
- Windows
-
- We use a custom command to run 'cmake-gui --help...' to generate
- the documentation for the application. Since this is a Qt
- application, the executable must find the Qt DLLs in order to
- run. As a convenience, if QtCore4.dll appears next to qmake.exe,
- we put its location in the PATH environment variable when running
- the custom command on Windows.
-
-2009-02-24 00:49 lowman
-
- * Modules/FindBoost.cmake: BUG: Fix issue #8576 FindBoost
- regression finding static libs, impacts MinGW and Intel/Windows
- compilers.
-
-2009-02-24 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-23 16:54 king
-
- * Tests/CTestUpdateCommon.cmake: BUG: Fix CTest.UpdateCVS/SVN tests
- for win slashes
-
- This fixes the tests to allow windows slashes in reported file
- names in the generated Update.xml file.
-
-2009-02-23 15:59 king
-
- * Source/CTest/cmCTestUpdateHandler.cxx: ENH: Refactor quoting of
- VCS tool command
-
- Previously we pre-quoted the command line tool path. This avoids
- it by quoting the command everywhere it is used, thus preserving
- access to the original, unquoted command.
-
-2009-02-23 15:59 king
-
- * Tests/CTestUpdateSVN.cmake.in: ENH: Test svn updates with space
- in author name
-
- This enhances the CTest.UpdateSVN test with a space in the test
- author name. It will check that author name parsing works
- correctly.
-
-2009-02-23 15:59 king
-
- * Tests/: CTestUpdateCVS.cmake.in, CTestUpdateCommon.cmake,
- CTestUpdateSVN.cmake.in: ENH: Enhance CTest.UpdateCVS/SVN tests
-
- This adds a source tree subdirectory to the content of the test
- projects. It also smoke tests more than one revision worth of
- changes.
-
-2009-02-23 15:58 king
-
- * Tests/CTestUpdateCommon.cmake: ENH: Better failure output from
- CTest.Update*
-
- This teaches CTestUpdateCommon to report the process exit
- condition from failed child processes executed during tests.
-
-2009-02-23 13:25 david.cole
-
- * Source/CPack/cmCPackDragNDropGenerator.cxx: ENH: Add license file
- presentation to the Drag-N-Drop dmg file CPack generator. Fixes
- issue #8442. Thanks to Clinton Stimpson for the patch.
-
-2009-02-23 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-22 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-21 14:43 hoffman
-
- * Source/QtDialog/CMakeSetup.cxx: BUG: make sure you can build
- cmake without an X server
-
-2009-02-21 14:38 hoffman
-
- * Source/QtDialog/CMakeSetup.cxx: BUG: make sure the gui still
- runs...
-
-2009-02-21 14:23 hoffman
-
- * Source/QtDialog/CMakeSetup.cxx: BUG: make sure an x server is not
- required for the build
-
-2009-02-21 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-20 15:51 king
-
- * Source/CTest/: cmCTestBuildCommand.h, cmCTestConfigureCommand.h,
- cmCTestCoverageCommand.h, cmCTestHandlerCommand.h,
- cmCTestMemCheckCommand.h, cmCTestTestCommand.h: ENH: Document
- APPEND option in ctest_* commands
-
- This adds documentation of the APPEND option to the configure,
- build, test, memcheck, and coverage commands. The docs leave
- specific semantics for the dashboard server to define.
-
-2009-02-20 15:50 king
-
- * Source/CTest/: cmCTestBuildCommand.h, cmCTestConfigureCommand.h,
- cmCTestCoverageCommand.h, cmCTestMemCheckCommand.h,
- cmCTestTestCommand.h, cmCTestUpdateCommand.h: ENH: Improve
- ctest_* command documentation
-
- This corrects the terse documentation and adds detail to the full
- documentation of some commands. It also normalizes the layout of
- the documentation string endings to make adding lines easier.
-
-2009-02-20 15:50 king
-
- * Source/CTest/cmCTestSubmitCommand.h: ENH: More documentation for
- ctest_submit command
-
- This clarifies the terse documentation and lists valid values for
- PARTS.
-
-2009-02-20 14:03 king
-
- * Source/cmDocumentVariables.cxx: ENH: Clarify docs of old
- *_OUTPUT_PATH vars
-
- This clarifies the documentation of EXECUTABLE_OUTPUT_PATH and
- LIBRARY_OUTPUT_PATH to sound less like deprecation.
-
-2009-02-20 11:10 hoffman
-
- * CMakeLists.txt, ChangeLog.manual: ENH: final 2.6.3 commit remove
- RC and clean changelog a bit
-
-2009-02-20 10:14 david.cole
-
- * Source/CPack/: cmCPackDragNDropGenerator.cxx,
- cmCPackDragNDropGenerator.h: STYLE: Fix style line-too-long
- violations.
-
-2009-02-20 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-19 16:04 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Support COMPONENTS argument to find_package(). See
- bug #8542.
-
-2009-02-19 16:02 hoffman
-
- * Tests/BuildDepends/Project/CMakeLists.txt: ENH: merge in fix for
- test on older macs
-
-2009-02-19 15:51 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Support version argument in find_package(). See bug
- #8542.
-
-2009-02-19 15:24 hoffman
-
- * Tests/BuildDepends/Project/CMakeLists.txt: ENH: make sure
- multiple archs are only tested when the work
-
-2009-02-19 11:53 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Source/cmGlobalXCodeGenerator.cxx,
- Tests/BuildDepends/Project/CMakeLists.txt: BUG: fix xcode depend
- issue again with a test
-
-2009-02-19 11:51 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx,
- Tests/BuildDepends/Project/CMakeLists.txt: BUG: fix xcode depend
- issue and add a test for it
-
-2009-02-19 11:20 david.cole
-
- * Source/cmGlobalXCodeGenerator.cxx: BUG: Fix issue #8253 - handle
- xib file extension in Xcode projects so that double clicking on
- xib files opens them up in Interface Builder. Thanks to
- baron_roberts for the patch.
-
-2009-02-19 11:17 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Source/cmGlobalXCodeGenerator.cxx: BUG: fix xcode depend issue
- again on branch
-
-2009-02-19 10:39 david.cole
-
- * Source/CPack/: cmCPackBundleGenerator.cxx,
- cmCPackDragNDropGenerator.cxx, cmCPackDragNDropGenerator.h: BUG:
- A little bit more refactoring from BundleGenerator to
- DragNDropGenerator. See issue #8556. Thanks for Clinton Stimpson
- for the patch.
-
-2009-02-19 10:31 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: BUG: fix depend bug again for
- Xcode
-
-2009-02-19 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-18 12:40 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Source/cmGlobalXCodeGenerator.cxx: ENH: put in fix for Xcode
- rebuild issue on branch
-
-2009-02-18 12:09 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: BUG: use the top level project
- name for the xcode depend helper directory names
-
-2009-02-18 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-17 16:59 david.cole
-
- * Modules/Platform/Darwin.cmake: BUG: Allow third component of Mac
- OSX sw_vers output to be empty. Mac OSX 10.5 was recently
- reinstalled on dashmacmini3 and pointed out the fact that this
- expression is faulty when the reported version is simply 10.5
- rather than 10.5.x... for example. This fixes it.
-
-2009-02-17 11:53 king
-
- * Source/: cmDependsFortranParser.cxx, cmDependsFortranParser.y:
- BUG: Do not use 'char' type as array subscript
-
- This converts uses of 'char' as an array subscript to 'unsigned
- char' to heed the warning from gcc. The subscript must be an
- unsigned type to avoid indexing before the beginning of the
- array. This change avoids a potential crash if input text
- contains a byte value beyond 0x7f.
-
-2009-02-17 11:37 king
-
- * Source/CTest/: cmCTestUpdateHandler.cxx, cmCTestUpdateHandler.h:
- ENH: Remove generation of unused Update.xml parts
-
- This removes generation of some Update.xml content that is not
- used by any Dart1, Dart2, or CDash servers: - Revisions
- elements - Directory attribute of File elements - File
- elements within Author elements The content was generated only
- because the original Dart1 Tcl client generated it, but the
- content was never used.
-
-2009-02-17 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-16 18:09 hoffman
-
- * Utilities/CMakeLists.txt: ENH: add missiong install docs for
- cmake-gui
-
-2009-02-16 14:06 hoffman
-
- * CMakeCPackOptions.cmake.in, CMakeLists.txt, ChangeLog.manual,
- Source/QtDialog/CMakeLists.txt,
- Source/QtDialog/QtDialogCPack.cmake.in: ENH: merge in a few more
- changes for installer on windows and cmake-gui
-
-2009-02-16 13:56 martink
-
- * Source/cmIfCommand.h: ENH: fix style
-
-2009-02-16 11:17 hoffman
-
- * Source/QtDialog/QtDialogCPack.cmake.in: ENH: change name for
- start menu entry
-
-2009-02-16 10:33 king
-
- * Modules/readme.txt: STYLE: Note find_package COMPONENTS in
- modules doc
-
- This mentions the COMPONENTS option of find_package in the module
- author documentation file "Modules/readme.txt". See issue #8539.
-
-2009-02-16 10:01 king
-
- * Source/CTest/cmCTestUpdateHandler.cxx: BUG: Fix svn update logic
- for modified files
-
- The main svn update parsing loop in cmCTestUpdateHandler
- previously had a logic error because the variable 'res' was not
- reset for each iteration. For a locally modified file it would
- report the update info for the previous non-modified file, or
- nothing if there was no previous file. This fixes the logic by
- setting variable 'res' in both control paths for each iteration.
- See issue #8168.
-
-2009-02-16 10:00 king
-
- * Source/CTest/cmCTestUpdateHandler.cxx: STYLE: Fix spelling in
- cmCTestUpdateHandler
-
- This renames the variable 'numModiefied' to 'numModified' to fix
- its spelling. It also renames 'modifiedOrConflict' to
- 'notLocallyModified' to describe its purpose (rather than the
- opposite of its purpose). See issue #8168.
-
-2009-02-16 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-15 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-14 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-13 21:51 hoffman
-
- * Utilities/CMakeLists.txt, CMakeCPackOptions.cmake.in: ENH: add
- cmake gui docs
-
-2009-02-13 18:52 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Allowing finding a relocated Qt installation which contains
- a qt.conf to override the hardcoded paths in qmake. Fixes
- #8532.
-
-2009-02-13 16:29 hoffman
-
- * CMakeCPackOptions.cmake.in: ENH: deprecate CMakeSetup
-
-2009-02-13 16:28 hoffman
-
- * Source/QtDialog/: CMakeLists.txt, QtDialogCPack.cmake.in: ENH:
- take cmake-gui out of beta
-
-2009-02-13 15:49 king
-
- * Source/kwsys/CMakeLists.txt: ENH: Optionally label KWSys targets
- and tests
-
- This provides an API for parent projects to use to specify values
- to be set in the LABELS properties of KWSys libraries,
- executables, and tests.
-
-2009-02-13 15:49 king
-
- * Source/kwsys/CMakeLists.txt: ENH: Add KWSys header files to
- library targets
-
- This adds the configured KWSys header files to the library
- targets that implement their APIs so that they show up in IDE
- project files.
-
-2009-02-13 15:17 king
-
- * Source/CTest/: cmCTestCoverageHandler.cxx,
- cmCTestCoverageHandler.h: ENH: Teach CTest to put labels in
- coverage results
-
- This teaches CTest to include source file labels in coverage
- dashboard submissions. The labels for each source are the union
- of the LABELS property from the source file and all the targets
- in which it is built.
-
-2009-02-13 15:16 king
-
- * Source/CTest/cmCTestCoverageHandler.cxx: STYLE: Remove unused
- variable
-
-2009-02-13 11:49 king
-
- * Source/CTest/cmCTestBuildCommand.cxx: BUG: Fix
- CTEST_USE_LAUNCHERS in dashboard scripts
-
- Since CTest does not currently load configuration settings
- computed at CMake Configure time while running dashboard scripts,
- the ctest_build command must honor the CTEST_USE_LAUNCHERS option
- directly.
-
-2009-02-13 11:49 king
-
- * Source/cmCTest.h: STYLE: Add TODO comment about CTest
- configuration
-
- Currently CTest does not load configuration settings computed at
- CMake Configure time when running a dashboard script. This adds
- a comment describing refactoring that might help resolve the
- problem.
-
-2009-02-13 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-12 13:25 king
-
- * Source/cmGlobalGenerator.cxx: BUG: Fix logic of LabelFiles.txt
- generation
-
- This fixes a dumb logic error which causes generation of
- LabelFiles.txt to try to open the file once for every target with
- labels.
-
-2009-02-12 13:00 king
-
- * Source/CTest/: cmCTestBuildHandler.cxx, cmCTestLaunch.cxx,
- cmCTestLaunch.h: ENH: Report file names relative to source dir
-
- This teaches cmCTestLaunch to report source files that lie under
- the top source directory relative to the top.
-
-2009-02-12 12:50 martink
-
- * Source/cmIfCommand.h: ENH: fix documentation and add docs on
- parenthetical expressions
-
-2009-02-12 10:08 hoffman
-
- * Source/kwsys/SystemInformation.cxx: BUG: #8496 add support for
- system info on haiku
-
-2009-02-12 10:01 king
-
- * Source/CTest/cmCTestBuildHandler.cxx: BUG: Do not drop build
- fragments with same time
-
- When we collect Build.xml fragments generated by 'ctest
- --launch', this lexicographically orders fragments with the same
- time stamp on disk instead of incorrectly dropping duplicates.
-
-2009-02-12 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-11 15:18 king
-
- * Modules/: CTest.cmake, DartConfiguration.tcl.in: ENH: Create
- include(CTest) launcher interface
-
- This defines a new CTest configuration variable
- CTEST_USE_LAUNCHERS. When set to true it puts 'ctest --launch'
- in RULE_LAUNCH_* properties and enables the CTest configuration
- option 'UseLaunchers'. Currently this works only for Makefile
- generators.
-
-2009-02-11 15:18 king
-
- * Source/CTest/: cmCTestBuildHandler.cxx, cmCTestBuildHandler.h:
- ENH: Teach CTest dashboard builds to use launchers
-
- This defines a 'UseLaunchers' CTest configuration option. When
- enabled, CTest skips log scraping from the Build step output.
- Instead it defines the environment variable CTEST_LAUNCH_LOGS to
- a log directory during the build. After the build it looks for
- error-*.xml and warning-*.xml files containing fragments for
- inclusion in Build.xml and submission.
-
- This is useful in conjuction with 'ctest --launch' and the
- RULE_LAUNCH_* properties to get reliable, highly-granular build
- failure reports.
-
-2009-02-11 13:05 hoffman
-
- * Utilities/Release/: ferrari_sgi64_release.cmake,
- release_cmake.sh.in: ENH: add FFLAGS back into release script
-
-2009-02-11 11:57 king
-
- * Source/CTest/cmCTestLaunch.cxx: COMP: Do not use modern empty
- init list syntax
-
- cmCTestLaunch first used an empty initializer list to
- zero-initialize a buffer, but this is not supported on older
- compilers. Instead we avoid the need for initialization
- altogether.
-
-2009-02-11 11:31 king
-
- * Source/: CMakeLists.txt, ctest.cxx, CTest/cmCTestLaunch.cxx,
- CTest/cmCTestLaunch.h: ENH: Create internal 'ctest --launch' tool
-
- This creates an undocumented 'ctest --launch' mode. It launches
- a specified command and optionally records a failure in an xml
- fragment. We will optionally use this in CTest's Build stage to
- record per-rule build failure information when using Makefile
- generators.
-
-2009-02-11 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-10 18:13 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Change FILEPATH to STRING for a list of libraries.
-
-2009-02-10 17:28 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/FindBoost.cmake,
- Modules/FindQt4.cmake, Source/cmCacheManager.cxx,
- Source/cmSystemTools.cxx: ENH: merge in some more fixes for RC 13
-
-2009-02-10 17:25 hoffman
-
- * Source/cmCacheManager.cxx: ENH: fix fix for unc paths
-
-2009-02-10 16:08 hoffman
-
- * Source/cmCTest.cxx: ENH: add label global property to ctest
- scripts
-
-2009-02-10 14:24 hoffman
-
- * Source/: cmCTest.cxx, CTest/cmCTestTestCommand.cxx,
- CTest/cmCTestTestCommand.h, CTest/cmCTestTestHandler.cxx,
- CTest/cmCTestTestHandler.h: ENH: add the ability to run tests by
- labels
-
-2009-02-10 14:19 hoffman
-
- * Source/CTest/cmCTestMultiProcessHandler.cxx: BUG: partial fix for
- 8056 -W now works with -j
-
-2009-02-10 12:56 hoffman
-
- * Modules/FindFLTK.cmake: ENH: change include command
-
-2009-02-10 08:52 king
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmLocalUnixMakefileGenerator3.cxx: ENH: Add rule substitutions
- useful for launchers
-
- This defines make rule substitutions <LANGUAGE>, <TARGET_NAME>,
- <TARGET_TYPE>, and <OUTPUT>. They will be useful for
- RULE_LAUNCH_* property values.
-
-2009-02-10 08:51 king
-
- * Modules/CTestTargets.cmake, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalUnixMakefileGenerator3.h, Source/cmMakefile.cxx,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.cxx, Source/cmTarget.cxx,
- Source/cmake.cxx: ENH: Define RULE_LAUNCH_* properties
-
- This defines global, directory, and target properties
- RULE_LAUNCH_COMPILE, RULE_LAUNCH_LINK, and RULE_LAUNCH_CUSTOM.
- Their values specify 'launcher' command lines which are prefixed
- to compile, link, and custom build rules by Makefile generators.
-
-2009-02-10 08:50 king
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h,
- cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx,
- cmMakefileUtilityTargetGenerator.cxx: ENH: Give target in which
- custom commands build
-
- This gives the cmTarget instance for which custom command rules
- are being generated to
- cmLocalUnixMakefileGenerator3::AppendCustomCommands. It will be
- useful in the future.
-
-2009-02-10 08:50 king
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmSourceFile.cxx, cmTarget.cxx: ENH: Define target and source
- property LABELS
-
- This creates a new LABELS property for targets and source files.
- We write the labels of each target and its source files in
- target-specific locations in the build tree for future use.
-
-2009-02-10 08:50 king
-
- * Source/: cmTarget.cxx, cmTarget.h: ENH: Define target-specific
- support directories
-
- This creates method cmTarget::GetSupportDirectory to compute a
- target-specific support directory in the build tree. It uses the
- "CMakeFiles/<name>.dir" convention already used by the Makefile
- generators. The method will be useful for any code that needs to
- generate per-target information into the build tree for use by
- CMake tools that do not run at generate time.
-
-2009-02-10 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-09 23:05 lowman
-
- * Modules/FindCxxTest.cmake: STYLE: Clarified example to illustrate
- need to call target_link_libraries() in response to Issue #8485.
- Changed CMake commands to lowercase. Added licensing info to
- copyright
-
-2009-02-09 22:39 lowman
-
- * Modules/FindBoost.cmake: BUG: Resolves Issue #8393, Remove
- workarounds in FindBoost once UNC-Path bug is fixed
-
-2009-02-09 22:34 lowman
-
- * Modules/FindBoost.cmake: STYLE: Improved examples, spelling &
- grammar in documentation
-
-2009-02-09 16:45 alex
-
- * Source/cmGlobalUnixMakefileGenerator3.h: COMP: remove unused
- variable TargetSourceFileCount, it seems it is unused since
- version 1.88 of cmGlobalUnixMakefileGenerator3.cxx patch by
- Daniel DOT Teske AT Nokia DOT com
-
- Alex
-
-2009-02-09 16:45 king
-
- * Source/kwsys/SystemTools.cxx: BUG: Work around broken
- GetLongPathName case
-
- On Windows the GetLongPathName API function does not work on some
- filesystems even if the file exists. In this case we should just
- use the original long path name and not the GetShortPathName
- result. See issue #8480.
-
-2009-02-09 16:42 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Support .hpp with automoc.
-
-2009-02-09 16:36 alex
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: STYLE: fix two typos in the
- comments, patch from Daniel DOT Teske AT Nokia DOT com, QtCreator
- developer
-
- Alex
-
-2009-02-09 16:25 chris
-
- * Modules/FindDevIL.cmake: ENH: Made the documentation for
- FindDevIL.cmake cleaner. Changed the XXX_LIBRARYs to
- XXX_LIBRARIES.
-
-2009-02-09 09:23 hoffman
-
- * Tests/CMakeTests/GetFilenameComponentRealpathTest.cmake.in: file
- GetFilenameComponentRealpathTest.cmake.in was added on branch
- CMake-2-6 on 2009-03-23 18:04:12 +0000
-
-2009-02-09 09:23 king
-
- * Source/cmGetFilenameComponentCommand.cxx,
- Source/cmGetFilenameComponentCommand.h,
- Tests/CMakeTests/CMakeLists.txt,
- Tests/CMakeTests/GetFilenameComponentRealpathTest.cmake.in: ENH:
- Add get_filename_component(... REALPATH)
-
- This patch from Philip Lowman creates a REALPATH mode in the
- get_filename_component command. It is like ABSOLUTE, but will
- also resolve symlinks (which ABSOLUTE once did but was broken
- long ago). See issue #8423.
-
-2009-02-09 09:23 king
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: BUG: Fix
- GetRealPath when realpath fails
-
- This patch from Philip Lowman teaches SystemTools::GetRealPath to
- deal with paths that do not exist by dealing with the case that
- realpath returns NULL. See issue #8423.
-
-2009-02-09 08:25 hoffman
-
- * Source/cmCacheManager.cxx: BUG: fix for 0008378, lists with
- FILEPATH and UNC //server/path fail
-
-2009-02-09 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-08 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-07 12:23 clinton
-
- * Modules/FindQt4.cmake:
- BUG: When detecting if qmake executable is changed, don't error
- if path contains regex chars.
-
-2009-02-07 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-06 16:16 hoffman
-
- * ChangeLog.manual: ENH: fix comment
-
-2009-02-06 16:15 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/FindQt4.cmake,
- Modules/UseQt4.cmake, Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmMakefileExecutableTargetGenerator.cxx, Source/cmake.cxx:
- ENH: fix osx bundle re-config issue on branch RC 12
-
-2009-02-06 11:49 king
-
- * Source/cmake.cxx: BUG: Fix OS X FW symlink byproduct dependencies
-
- When testing whether to re-run CMake, a byproduct may be a
- symlink. If so, the existence of the link is important rather
- than the link's target. See issue #8465.
-
-2009-02-06 11:18 king
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmake.cxx: BUG: Fix
- OS X AppBundle/FW byproducts dependencies
-
- App Bundle and Framework directories, symlinks, and Info.plist
- files we create during generation are byproducts, not outputs.
- We should re-run CMake only when they are missing, not when they
- are old. See issue #8465.
-
-2009-02-06 09:08 king
-
- * Source/: cmXMLSafe.cxx, cmXMLSafe.h: COMP: Avoid parameter/member
- shadow in cmXMLSafe
-
- A cmXMLSafe constructor named its parameter 'str' which shadowed
- the name of the 'str' method. This renames the parameter to
- avoid the conflict warning.
-
-2009-02-06 09:03 king
-
- * Source/cmMakefileExecutableTargetGenerator.cxx: BUG: Do not
- re-generate after a AppBundle build
-
- A previous change accidentally added the MacOS content directory
- and Info.plist files created for MACOSX_BUNDLE executables to the
- list of CMake input files. This causes CMake to re-generate the
- project too often. These items should be added to the list of
- CMake output files.
-
-2009-02-06 08:33 king
-
- * Source/cmGetFilenameComponentCommand.cxx,
- Source/cmGetFilenameComponentCommand.h,
- Tests/CMakeTests/CMakeLists.txt,
- Tests/CMakeTests/GetFilenameComponentSymlinksTest.cmake.in: BUG:
- Alternative fix to bug #8423
-
- The patch used to fix this bug used SystemTools::GetRealPath
- which works only for existing files. It broke the case of using
- the command get_filename_component for a non-existing file.
- Also, it changed long-standing behavior in a possibly
- incompatible way even for existing files. This reverts the
- original fix and instead updates the documentation to be
- consistent with the behavior.
-
-2009-02-06 08:15 king
-
- * Source/cmCMakePolicyCommand.h: ENH: Clarify cmake_policy(VERSION)
- documentation
-
- The previous documentation could be interpreted as setting
- policies newer than the given version to OLD instead of unset.
- This clarifies it.
-
-2009-02-06 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-05 23:01 clinton
-
- * Modules/: FindQt4.cmake, UseQt4.cmake:
- ENH: Add support for building with Qt's ActiveX support on
- Windows.
-
-2009-02-05 17:09 king
-
- * Source/cmXMLSafe.cxx: COMP: Avoid warning about signed-char
- comparison
-
- On some compilers 'char' is signed and is therefore always equal
- to or less than 0x7f. In order to avoid the compiler warning we
- perform the comparison with an unsigned char type.
-
-2009-02-05 16:31 king
-
- * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h,
- cmSystemTools.cxx, cmSystemTools.h, cmXMLSafe.cxx, cmXMLSafe.h,
- CPack/cmCPackGenerator.cxx, CTest/cmCTestBuildHandler.cxx,
- CTest/cmCTestConfigureHandler.cxx,
- CTest/cmCTestCoverageHandler.cxx,
- CTest/cmCTestMemCheckHandler.cxx, CTest/cmCTestTestHandler.cxx,
- CTest/cmCTestUpdateHandler.cxx: ENH: Create cmXMLSafe to help
- escapes in XML
-
- This class provides easy syntax to efficiently insert blocks of
- data into XML documents with proper escapes. It replaces the old
- cmCTest::MakeXMLSafe and cmSystemTools::MakeXMLSafe methods which
- allocated extra memory instead of directly streaming the data.
-
-2009-02-05 11:04 hoffman
-
- * Source/CMakeLists.txt: ENH: merge in cmakelist file that uses
- drag n drop
-
-2009-02-05 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-04 22:04 hoffman
-
- * Source/CPack/: cmCPackDragNDropGenerator.cxx,
- cmCPackDragNDropGenerator.h: ENH: add missing files
-
-2009-02-04 18:24 david.cole
-
- * Modules/UntarFile.cmake: BUG: Add debug message calls to figure
- out ExternalProject test failure on AIX dashboard.
-
-2009-02-04 17:04 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/FindDoxygen.cmake,
- Modules/FindGDAL.cmake, Modules/FindLua50.cmake,
- Modules/FindLua51.cmake, Modules/FindMPEG2.cmake,
- Modules/FindOpenSceneGraph.cmake, Modules/FindOpenThreads.cmake,
- Modules/FindProducer.cmake, Modules/FindQt4.cmake,
- Modules/Findosg.cmake, Modules/FindosgAnimation.cmake,
- Modules/FindosgDB.cmake, Modules/FindosgFX.cmake,
- Modules/FindosgGA.cmake, Modules/FindosgIntrospection.cmake,
- Modules/FindosgManipulator.cmake, Modules/FindosgParticle.cmake,
- Modules/FindosgProducer.cmake, Modules/FindosgShadow.cmake,
- Modules/FindosgSim.cmake, Modules/FindosgTerrain.cmake,
- Modules/FindosgText.cmake, Modules/FindosgUtil.cmake,
- Modules/FindosgViewer.cmake, Modules/FindosgVolume.cmake,
- Modules/FindosgWidget.cmake, Modules/Findosg_functions.cmake,
- Modules/Platform/Darwin.cmake, Modules/Platform/Haiku.cmake,
- Source/cmInstallFilesCommand.cxx,
- Source/cmInstallProgramsCommand.cxx,
- Source/cmLinkDirectoriesCommand.h, Source/cmLocalGenerator.cxx,
- Source/kwsys/DynamicLoader.cxx,
- Source/kwsys/DynamicLoader.hxx.in: ENH: merge in a few more
- changes for RC 11
-
-2009-02-04 14:34 king
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: Re-order generation of
- build summary and xml
-
- This moves the error/warning count summary printed by
- cmCTestBuildHandler to after Build.xml is generated. Later we
- will compute the counts during generation of the xml.
-
-2009-02-04 14:34 king
-
- * Source/CTest/: cmCTestBuildHandler.cxx, cmCTestBuildHandler.h:
- ENH: Refactor Build.xml generation
-
- This divides cmCTestBuildHandler::GenerateDartBuildOutput into
- three methods to generate the header, content, and footer
- components of Build.xml files. It will allow the content
- generation to be replaced later.
-
-2009-02-04 12:38 david.cole
-
- * Source/CTest/cmCTestSubmitHandler.cxx: COMP: Iterator version of
- std::set not available with vs6 implementation of STL. Use
- explicit iteration to insert individual elements one at a time.
- Sigh.
-
-2009-02-04 11:44 hoffman
-
- * CMakeLists.txt, CTestConfig.cmake, CTestCustom.cmake.in,
- ChangeLog.manual, Modules/CPack.OSXX11.Info.plist.in,
- Modules/CPack.RuntimeScript.in, Modules/CPack.cmake,
- Modules/FindBoost.cmake, Modules/FindCxxTest.cmake,
- Modules/FindDevIL.cmake, Modules/FindDoxygen.cmake,
- Modules/FindFLTK.cmake, Modules/FindKDE3.cmake,
- Modules/FindKDE4.cmake, Modules/FindOpenMP.cmake,
- Modules/FindOpenThreads.cmake, Modules/FindQt4.cmake,
- Modules/FindRTI.cmake, Modules/Findosg.cmake,
- Modules/FindosgAnimation.cmake, Modules/FindosgDB.cmake,
- Modules/FindosgFX.cmake, Modules/FindosgGA.cmake,
- Modules/FindosgIntrospection.cmake,
- Modules/FindosgManipulator.cmake, Modules/FindosgParticle.cmake,
- Modules/FindosgProducer.cmake, Modules/FindosgShadow.cmake,
- Modules/FindosgSim.cmake, Modules/FindosgTerrain.cmake,
- Modules/FindosgText.cmake, Modules/FindosgUtil.cmake,
- Modules/FindosgViewer.cmake, Modules/FindosgVolume.cmake,
- Modules/FindosgWidget.cmake, Modules/Findosg_functions.cmake,
- Modules/UseQt4.cmake, Source/cmBootstrapCommands.cxx,
- Source/cmCMakePolicyCommand.cxx, Source/cmCMakePolicyCommand.h,
- Source/cmCoreTryCompile.cxx,
- Source/cmExportBuildFileGenerator.cxx,
- Source/cmFindPackageCommand.cxx, Source/cmFindPackageCommand.h,
- Source/cmForEachCommand.cxx, Source/cmForEachCommand.h,
- Source/cmFunctionBlocker.h, Source/cmFunctionCommand.cxx,
- Source/cmFunctionCommand.h,
- Source/cmGlobalVisualStudio71Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.h,
- Source/cmGlobalXCodeGenerator.cxx, Source/cmIfCommand.cxx,
- Source/cmIfCommand.h, Source/cmIncludeCommand.cxx,
- Source/cmIncludeCommand.h,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmMacroCommand.cxx, Source/cmMacroCommand.h,
- Source/cmMakefile.cxx, Source/cmMakefile.h,
- Source/cmPolicies.cxx, Source/cmPolicies.h, Source/cmTarget.cxx,
- Source/cmUnsetCommand.cxx, Source/cmUnsetCommand.h,
- Source/cmWhileCommand.cxx, Source/cmWhileCommand.h,
- Source/CPack/cmCPackBundleGenerator.cxx,
- Source/CPack/cmCPackBundleGenerator.h,
- Source/CPack/cmCPackGeneratorFactory.cxx,
- Source/CPack/cmCPackLog.cxx,
- Source/CPack/cmCPackNSISGenerator.cxx,
- Source/CPack/cmCPackOSXX11Generator.cxx, Source/CPack/cpack.cxx,
- Tests/CMakeLists.txt, Tests/PolicyScope/Bar.cmake,
- Tests/PolicyScope/CMakeLists.txt,
- Tests/PolicyScope/FindFoo.cmake, Tests/PolicyScope/main.c,
- Tests/Unset/CMakeLists.txt, Tests/Unset/unset.c: ENH: merge in
- changes to 2.6 RC 10
-
-2009-02-04 10:34 king
-
- * Source/: cmInstallFilesCommand.cxx, cmInstallProgramsCommand.cxx,
- cmLocalGenerator.cxx: BUG: Fix old-style install to prefix top
-
- The old install_files, install_programs, and install_targets
- commands used to permit installation to the top of the prefix by
- specifying destination '/'. This was broken in 2.6.0 to 2.6.2 by
- changes to enforce valid destinations that did not account for
- this case. This change fixes the case by converting the install
- destination to '.' which is the new-style way to specify the top
- of the installation prefix.
-
-2009-02-04 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-03 11:52 david.cole
-
- * Source/CTest/: cmCTestSubmitCommand.cxx, cmCTestSubmitCommand.h,
- cmCTestSubmitHandler.cxx, cmCTestSubmitHandler.h: ENH: Add FILES
- arg to the ctest_submit command. BUG: Propagate the IsCDash
- setting properly to the ctest configuration during a submit.
- Also, do not propagate TriggerSite for projects submitting to
- CDash. No triggers are necessary with CDash.
-
-2009-02-03 11:27 hoffman
-
- * Source/kwsys/: DynamicLoader.cxx, DynamicLoader.hxx.in: ENH: fix
- dynamic loading on haiku
-
-2009-02-03 08:38 hoffman
-
- * Modules/FindKDE3.cmake: BUG: fix potential issue with empty
- strings
-
-2009-02-03 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-02 16:30 hoffman
-
- * Modules/FindMPEG2.cmake: BUG: include should not have .cmake
-
-2009-02-02 14:36 king
-
- * Source/cmMakefileTargetGenerator.cxx: BUG: Fix preprocess and
- assembly rule expansion
-
- The recent change to avoid expanding rule variables in
- informational and 'cd' commands broke the logical order in
- generation of preprocess and assembly rules. This corrects the
- order.
-
-2009-02-02 14:36 king
-
- * Source/cmGlobalGenerator.cxx: COMP: Fix rule hash code during
- bootstrap
-
- During bootstrap we do not bother with rule hashing. This
- updates the dummy implementation to account for the recent change
- in rule hash method signatures.
-
-2009-02-02 13:28 king
-
- * Source/cmMakefileTargetGenerator.cxx: BUG: Do not expand rule
- variables in info rules
-
- Previously the makefile generator would expand rule variables
- even on its progress and echo commands for object compilation
- rules (but not for link rules). This fixes the implementation to
- only expand rule variables on user-specified rules.
-
-2009-02-02 13:28 king
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h, cmMakefileTargetGenerator.cxx:
- ENH: Refactor custom command rule hashing
-
- This simplifies computation of custom command rule hashes to hash
- content exactly chosen as the custom commands are generated.
- Unfortunately this will change the hashes of existing build trees
- from earlier CMake versions, but this is not a big deal. The
- change is necessary so that in the future we can make optional
- adjustments to custom command lines at generate time without
- changing the hashes every time the option is changed.
-
-2009-02-02 13:27 king
-
- * Source/: cmMakefile.cxx, cmake.cxx: ENH: More robust property
- lookup
-
- This teaches cmMakefile::GetProperty and cmake::GetProperty
- methods to return NULL when the property name is NULL, making
- them more robust and consistent with the behavior of
- cmTarget::GetProperty.
-
-2009-02-02 13:24 king
-
- * Source/CTest/: cmCTestMemCheckHandler.cxx,
- cmCTestTestHandler.cxx, cmCTestTestHandler.h: ENH: Put test
- labels in MemCheck results
-
- This refactors generation of <Test> element headers and footers
- in cmCTestTestHandler and re-uses it in cmCTestMemCheckHandler.
- The change removes duplicate code and enables the new <Labels>
- element for MemCheck results.
-
-2009-02-02 09:42 king
-
- * Source/cmTargetLinkLibrariesCommand.h: ENH: Clarify
- target_link_libraries docs
-
- The target_link_libraries command supports flags as well as
- libraries. This makes the support explicit in the documentation.
-
-2009-02-02 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-02-01 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-31 13:57 hoffman
-
- * Modules/FindOpenSceneGraph.cmake: file FindOpenSceneGraph.cmake
- was added on branch CMake-2-6 on 2009-02-04 22:04:48 +0000
-
-2009-01-31 13:57 lowman
-
- * Modules/FindOpenSceneGraph.cmake: BUG: Fixes configure error if
- you don't specify a version with find_package()
-
-2009-01-31 01:50 lowman
-
- * Modules/FindGDAL.cmake: BUG: Fix library detection for GDAL on
- most Linux distributions (Issue #7445)
-
-2009-01-31 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-30 20:09 hoffman
-
- * Modules/Findosg_functions.cmake: file Findosg_functions.cmake was
- added on branch CMake-2-6 on 2009-02-04 16:44:16 +0000
-
-2009-01-30 20:09 lowman
-
- * Modules/: FindOpenSceneGraph.cmake, Findosg.cmake,
- Findosg_functions.cmake: ENH: Added FindOpenSceneGraph.cmake
- which is intended to wrap any of the existing Findosg* modules
- (or even user specified modules in CMAKE_MODULE_PATH) and
- aggregate the include dirs & libraries while providing a
- COMPONENT frontend and version checking (Fixes Issue #6973).
- Also added a note to Findosg.cmake to refer new users to the
- module.
-
-2009-01-30 16:55 lowman
-
- * Modules/: FindOpenThreads.cmake, Findosg_functions.cmake: ENH:
- Added OSG_ROOT as supported env var (it's in the wild already).
- Cleaned up FindOpenThreads to support PATH_SUFFIXES. Removed
- superfluous WIN32 registry checks which should have been $ENV{}
- checks.
-
-2009-01-30 15:13 lowman
-
- * Modules/: FindDoxygen.cmake, FindOpenThreads.cmake,
- FindProducer.cmake: BUG: Fix other modules not respecting QUIET
- and REQUIRED
-
-2009-01-30 14:33 hoffman
-
- * Modules/FindosgVolume.cmake: file FindosgVolume.cmake was added
- on branch CMake-2-6 on 2009-02-04 16:44:16 +0000
-
-2009-01-30 14:33 hoffman
-
- * Modules/FindosgWidget.cmake: file FindosgWidget.cmake was added
- on branch CMake-2-6 on 2009-02-04 16:44:16 +0000
-
-2009-01-30 14:33 hoffman
-
- * Modules/FindosgAnimation.cmake: file FindosgAnimation.cmake was
- added on branch CMake-2-6 on 2009-02-04 16:44:13 +0000
-
-2009-01-30 14:33 lowman
-
- * Modules/: Findosg.cmake, FindosgAnimation.cmake, FindosgDB.cmake,
- FindosgFX.cmake, FindosgGA.cmake, FindosgIntrospection.cmake,
- FindosgManipulator.cmake, FindosgParticle.cmake,
- FindosgProducer.cmake, FindosgShadow.cmake, FindosgSim.cmake,
- FindosgTerrain.cmake, FindosgText.cmake, FindosgUtil.cmake,
- FindosgViewer.cmake, FindosgVolume.cmake, FindosgWidget.cmake:
- BUG: The QUIET and REQUIRED find attributes on each Findosg*
- module were not being respected.
-
-2009-01-30 14:29 lowman
-
- * Modules/Findosg_functions.cmake: ENH: Added a mark_as_advanced()
- wrapper function.
-
-2009-01-30 03:02 lowman
-
- * Modules/: FindLua50.cmake, FindLua51.cmake: BUG: Fixes detection
- of lua libraries installed from FreeBSD ports (Issue #8421)
-
-2009-01-30 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-29 15:23 david.cole
-
- * Source/cmCoreTryCompile.cxx: ENH: Emit a little more information
- in the error message when the output file is not found during a
- core try compile.
-
-2009-01-29 14:57 david.cole
-
- * Modules/Platform/Darwin.cmake: BUG: Remove unnecessary double
- quotes from SET statements. Hopefully resolves the strange and
- difficult to diagnose (or reproduce) test failures on the
- dashmacmini2 Continuous dashboard.
-
-2009-01-29 14:31 hoffman
-
- * Source/cmake.cxx: BUG: fix for #8418 -E chdir should return fail
- of dir does not exist
-
-2009-01-29 14:14 king
-
- * Source/cmLinkDirectoriesCommand.h: ENH: Docs for relative paths
- in link_directories
-
- The link_directories command treats relative paths differently
- from most CMake commands. This notes the difference in the
- documentation. See issue #8377.
-
-2009-01-29 13:41 king
-
- * Modules/Platform/Darwin.cmake: BUG: Fix OS X dylib version flags
- for more linkers
-
- Some OS X linkers want a 'dylib_' prefix on the
- -compatiblity_version and -current_version flags while others do
- not. This passes the flags through gcc instead since it never
- wants the prefix and translates the flags for the linker
- correctly.
-
-2009-01-29 13:26 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Also find .moc files if there are spaces between # and
- include. Fixes #8433.
-
-2009-01-29 11:57 hoffman
-
- * Tests/CMakeTests/GetFilenameComponentSymlinksTest.cmake.in: ENH:
- add missing file
-
-2009-01-29 11:42 hoffman
-
- * Modules/Platform/Haiku.cmake: BUG: fix for # 8413 add more haiku
- searching
-
-2009-01-29 11:39 hoffman
-
- * Source/cmGetFilenameComponentCommand.cxx,
- Tests/CMakeTests/CMakeLists.txt: BUG: fix for #8423
-
-2009-01-29 09:26 hoffman
-
- * Source/CTest/cmCTestCoverageHandler.cxx: STYLE: fix warning
-
-2009-01-29 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-28 22:56 lowman
-
- * Modules/FindDoxygen.cmake: STYLE: Reworded some of the OS-X code
- comments
-
-2009-01-28 16:56 hoffman
-
- * Source/CTest/cmCTestCoverageHandler.cxx: STYLE: fix warning
-
-2009-01-28 15:04 clinton
-
- * Modules/UseQt4.cmake:
- ENH: Better way to add framework includes.
-
-2009-01-28 12:55 hoffman
-
- * Modules/FindOpenMP.cmake: ENH: clean up status and change order
- for more common compilers first
-
-2009-01-28 12:55 hoffman
-
- * Modules/FindOpenMP.cmake: file FindOpenMP.cmake was added on
- branch CMake-2-6 on 2009-02-04 16:44:02 +0000
-
-2009-01-28 12:45 hoffman
-
- * Modules/FindOpenMP.cmake: ENH: add openmp support
-
-2009-01-28 06:10 david.cole
-
- * Modules/Platform/Darwin.cmake: BUG: Fix careless typo that only
- caused test failures on clean builds...
-
-2009-01-28 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-27 15:51 david.cole
-
- * Modules/Platform/Darwin.cmake: BUG: Try to fix the universal
- binary continuous dashboard on dashmacmini2. I am deducing that
- the value of CMAKE_OSX_ARCHITECTURES_DEFAULT is responsible for
- the failure, although I cannot reproduce it on other builds or
- even by running the test via ctest interactively *on* the
- continuous dashboard's build...
-
-2009-01-27 11:50 david.cole
-
- * Modules/Platform/Darwin.cmake: BUG: Only set
- CMAKE_OSX_DEPLOYMENT_TARGET on Mac OSX 10.4 or later. The gcc
- that runs on 10.3 and earlier does not understand the compiler
- flag it maps to...
-
-2009-01-27 11:35 david.cole
-
- * Source/cmCoreTryCompile.cxx: STYLE: Emit filenames in try_compile
- error message to get more information from the Continuous
- dashboard test that is failing.
-
-2009-01-27 10:58 king
-
- * Source/: cmCTest.cxx, cmCTest.h: BUG: Reset file submission list
- on test restart
-
- When running in script mode it is possible to run multiple
- separate dashboard submissions in one cmCTest instance. The
- recent refactoring of file submission lists into parts failed to
- clear the submission lists when starting a new dashboard
- (ctest_start or ctest_update). Only the unused old submission
- set was cleared. This fixes the refactored version to remove the
- old submission set completely and also clear the part-wise lists.
-
-2009-01-27 10:58 king
-
- * Source/CTest/cmCTestSubmitHandler.cxx: BUG: Fix CTest submit-only
- operation
-
- We need to initialize cmCTestSubmitHandler on construction to
- make sure all parts get enabled by default. The recent fix to
- re-enable all parts on initialization broke submit-only
- operations because the handler did not initialize on
- construction. This also removes duplicate initialization code.
-
-2009-01-27 10:34 hoffman
-
- * Utilities/Release/README,
- Utilities/Release/create-cmake-release.cmake,
- Utilities/Release/release_cmake.cmake,
- Utilities/Release/release_cmake.sh.in, Tests/CMakeLists.txt: ENH:
- change to use CMAKE_CREATE_VERSION from CMAKE_VERSION as
- CMAKE_VERSION is auto-defined now
-
-2009-01-27 10:30 david.cole
-
- * Modules/Platform/Darwin.cmake, Source/cmGlobalXCodeGenerator.cxx,
- Source/cmLocalGenerator.cxx: BUG: Fix issue #6195. Add
- CMAKE_OSX_DEPLOYMENT_TARGET cache variable to specify the target
- deployment runtime OS version of the built executables on Mac
- OSX. Thanks to Mike Jackson for the patch.
-
-2009-01-27 10:26 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for 7845, idl
- files compile even with headerfile only on
-
-2009-01-27 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-26 10:12 clinton
-
- * Modules/FindQt4.cmake:
- BUG: Fixed recent regression when finding some includes.
-
-2009-01-26 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-25 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-24 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-23 17:37 clinton
-
- * Modules/UseQt4.cmake:
- ENH: Should have a -F for framework includes on Mac. Fixes
- ParaView build with Qt 4.5 on Mac.
-
-2009-01-23 16:52 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Add convenience for identifying Cocoa based Qt.
-
-2009-01-23 13:36 david.cole
-
- * Modules/CPack.cmake: ENH: Turn off CPACK_BINARY_TBZ2 and
- CPACK_BINARY_ZIP by default. Strictly speaking, this changes
- behavior from cpack 2.6, but now that cpack returns a non-zero
- exit code when it encounters an error, and it is an error to try
- to use a generator that is not available... It makes sense to
- turn these off by default since not everybody has these
- generators installed. It is easy for a project to turn these
- options back on if they need to: simply set(CPACK_BINARY_TBZ2 ON)
- or set(CPACK_BINARY_ZIP ON) before include(CPack) in your
- CMakeLists.txt...
-
-2009-01-23 12:20 hoffman
-
- * Source/cmPolicies.h: ENH: try to fix vs6 build
-
-2009-01-23 00:30 lowman
-
- * Modules/FindFLTK.cmake: ENH: Better support for "fltk-config"
- binary, added options so the user doesn't have to have everything
- in order for FLTK_FOUND to be true. #7809
-
-2009-01-23 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-22 14:23 david.cole
-
- * Source/CPack/cmCPackBundleGenerator.h: BUG: Forgot to change
- parent class in cmCPackTypeMacro when I added
- cmCPackDragNDropGenerator. Fix it now that it really matters.
- (The BundleGenerator test started failing after the last commit.
- This fixes it.)
-
-2009-01-22 13:56 david.cole
-
- * Source/CPack/: cmCPackBundleGenerator.cxx,
- cmCPackBundleGenerator.h, cmCPackLog.cxx, cpack.cxx: BUG: Fix
- issue #8383. Avoid crashing when using the Bundle CPack generator
- and CPACK_BUNDLE_NAME is not set. Instead, fail gracefully giving
- an informative error message and non-zero exit code.
-
-2009-01-22 13:18 hoffman
-
- * Tests/PolicyScope/Bar.cmake: file Bar.cmake was added on branch
- CMake-2-6 on 2009-02-04 16:44:18 +0000
-
-2009-01-22 13:18 hoffman
-
- * Tests/PolicyScope/CMakeLists.txt: file CMakeLists.txt was added
- on branch CMake-2-6 on 2009-02-04 16:44:18 +0000
-
-2009-01-22 13:18 hoffman
-
- * Tests/PolicyScope/FindFoo.cmake: file FindFoo.cmake was added on
- branch CMake-2-6 on 2009-02-04 16:44:19 +0000
-
-2009-01-22 13:18 king
-
- * Source/cmCMakePolicyCommand.h, Source/cmFindPackageCommand.cxx,
- Source/cmFindPackageCommand.h, Source/cmIncludeCommand.cxx,
- Source/cmIncludeCommand.h, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmPolicies.cxx, Source/cmPolicies.h,
- Tests/PolicyScope/Bar.cmake, Tests/PolicyScope/CMakeLists.txt,
- Tests/PolicyScope/FindFoo.cmake: ENH: Isolate policy changes in
- included scripts
-
- Isolation of policy changes inside scripts is important for
- protecting the including context. This teaches include() and
- find_package() to imply a cmake_policy(PUSH) and
- cmake_policy(POP) around the scripts they load, with a
- NO_POLICY_SCOPE option to disable the behavior. This also
- creates CMake Policy CMP0011 to provide compatibility. See issue
- #8192.
-
-2009-01-22 13:16 hoffman
-
- * Tests/PolicyScope/main.c: file main.c was added on branch
- CMake-2-6 on 2009-02-04 16:44:19 +0000
-
-2009-01-22 13:16 king
-
- * Source/cmCMakePolicyCommand.h, Source/cmFunctionCommand.cxx,
- Source/cmFunctionCommand.h, Source/cmMacroCommand.cxx,
- Source/cmMacroCommand.h, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Tests/CMakeLists.txt,
- Tests/PolicyScope/CMakeLists.txt, Tests/PolicyScope/main.c: ENH:
- Better policies for functions and macros
-
- This teaches functions and macros to use policies recorded at
- creation time when they are invoked. It restores the policies as
- a weak policy stack entry so that any policies set by a function
- escape to its caller as before.
-
-2009-01-22 13:16 king
-
- * Source/cmCMakePolicyCommand.h: ENH: Improve stack discussion in
- cmake_policy
-
- This re-organizes the discussion of the policy stack in
- documentation of the cmake_policy() command. The new
- organization clearer and easier to extend with new information.
-
-2009-01-22 13:16 king
-
- * Source/: cmMakefile.cxx, cmMakefile.h: ENH: Create notion of a
- 'weak' policy stack entry
-
- A 'weak' poilcy stack entry responds normally to queries.
- However, setting a policy in a weak entry will recursively set
- the policy in the next entry too. This also gives the internal
- interface to create a weak entry the option to provide an initial
- PolicyMap for it.
-
-2009-01-22 12:12 hoffman
-
- * Source/CPack/cmCPackDragNDropGenerator.cxx: file
- cmCPackDragNDropGenerator.cxx was added on branch CMake-2-6 on
- 2009-02-05 03:04:09 +0000
-
-2009-01-22 12:12 hoffman
-
- * Source/CPack/cmCPackDragNDropGenerator.h: file
- cmCPackDragNDropGenerator.h was added on branch CMake-2-6 on
- 2009-02-05 03:04:18 +0000
-
-2009-01-22 12:12 david.cole
-
- * Modules/CPack.cmake, Source/CMakeLists.txt,
- Source/CPack/cmCPackBundleGenerator.cxx,
- Source/CPack/cmCPackBundleGenerator.h,
- Source/CPack/cmCPackDragNDropGenerator.cxx,
- Source/CPack/cmCPackDragNDropGenerator.h,
- Source/CPack/cmCPackGeneratorFactory.cxx, Tests/CMakeLists.txt:
- BUG: Fix issue #8402. Add a drag and drop bundle generator to the
- Mac build of CPack. Add a test of it in the CPackComponents test.
- Thanks to Clinton Stimpson for the patch.
-
-2009-01-22 10:57 king
-
- * Source/: cmCMakePolicyCommand.cxx, cmMakefile.cxx, cmMakefile.h:
- ENH: Create policy scope barriers
-
- This creates a barrier mechanism to prevent user code from using
- cmake_policy(POP) to pop a scope it didn't push with
- cmake_policy(PUSH).
-
-2009-01-22 10:57 king
-
- * Source/cmMakefile.h: ENH: Make policy push/pop methods private
-
- This makes cmMakefile::PushPolicy and cmMakefile::PopPolicy
- private so that any outside place that uses them needs to use the
- PolicyPushPop helper in an automatic variable. We grant an
- exception to cmCMakePolicyCommand so it can implement
- cmake_policy(PUSH) and cmake_policy(POP).
-
-2009-01-22 10:56 king
-
- * Source/cmFindPackageCommand.cxx: ENH: Refactor find_package
- version file scoping
-
- This converts the variable and policy scope protection
- find_package() uses when loading version files to use automatic
- variables.
-
-2009-01-22 10:56 king
-
- * Source/: cmMakefile.cxx, cmMakefile.h: ENH: Create automatic
- policy push/pop helper
-
- This creates cmMakefile::PolicyPushPop to push and pop policy
- scope automatically. It also enforces balanced push/pop pairs
- inside the scope it handles.
-
-2009-01-22 10:56 king
-
- * Source/: cmMakefile.cxx, cmMakefile.h, cmPolicies.h: ENH:
- Refactor policy stack representation
-
- This defines PolicyMap as a public member of cmPolicies. Its
- previous role as a policy stack entry is now called
- PolicyStackEntry and represented as a class to which more
- information can be added later.
-
-2009-01-22 10:22 david.cole
-
- * Tests/CMakeLists.txt: BUG: Avoid trying to package the X11 test
- on Windows when there is no NSIS installer available.
-
-2009-01-22 07:16 david.cole
-
- * Source/CTest/cmCTestTestHandler.cxx: BUG: Fix issue #8363. Wrap
- output with MakeXMLSafe calls so that the generated XML files are
- valid, parse-able XML.
-
-2009-01-22 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-21 23:52 lowman
-
- * Modules/FindFLTK.cmake: BUG: Fixes detection of FLTK on Gentoo
- (Issue #7809)
-
-2009-01-21 22:43 lowman
-
- * Modules/FindFLTK.cmake: BUG: Fixes #8376: FindFLTK fails because
- include file can be FL/Fl.H and CMake only looks for FL/Fl.h.
- Verified: all FLTK header files in 1.1.9 are .H ... how bizarre.
-
-2009-01-21 17:36 king
-
- * Source/cmGlobalVisualStudio7Generator.h: BUG: Fix VS IDE solution
- files order again
-
- The previous change to order projects in the VS IDE did not
- account for duplicate target names (such as ALL_BUILD and
- ZERO_CHECK) among the input set. While we suppress generation of
- the duplicate project entries, we need to use a multiset to store
- ordered duplicates.
-
-2009-01-21 17:24 king
-
- * Source/cmGlobalVisualStudio7Generator.cxx: BUG: Fix ALL_BUILD
- ordering enforcement
-
- The previous change to make ALL_BUILD come first among targets
- did not account for comparing the target name against itself.
- This led to an invalid ordering of the target set. This change
- fixes it.
-
-2009-01-21 17:06 king
-
- * Source/cmGlobalVisualStudio7Generator.cxx: ENH: Make ALL_BUILD
- always the default project
-
- This teaches the VS IDE generators to write ALL_BUILD into
- solution files first so that it is always the default active
- project. Previously it was first only if no target name sorted
- lexicographically earlier. See issue #8172.
-
-2009-01-21 16:39 king
-
- * Source/: cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h: BUG: Fix VS IDE project order
-
- Our implementation of the feature to pull in dependent targets in
- VS solution files for subprojects caused the order of project
- files in the solution to be arbitrary (based on pointer value in
- the representation). Target ordering in solution files is
- important to prevent unnecessary changing of the files and
- because the VS IDE selects the first project listed as the
- default active target. This change restores lexicographic order
- by target name.
-
-2009-01-21 13:39 david.cole
-
- * Source/CPack/cmCPackBundleGenerator.cxx,
- Source/CPack/cmCPackBundleGenerator.h,
- Tests/BundleGeneratorTest/CMakeLists.txt,
- Tests/BundleGeneratorTest/CustomVolumeIcon.icns: BUG: Fix issue
- #7523: Analyze output of 'hdiutil attach' to get the name of the
- volume that was mounted. Eliminates the need to use the
- -mountpoint arg of hdiutil which has a silly 90 character limit
- on the name of the mount point. Also add a custom volume icon to
- the BundleGeneratorTest to cover this code.
-
-2009-01-21 13:20 david.cole
-
- * Source/QtDialog/CMakeSetup.icns: ENH: Use the latest
- CMake-logo-triangle-high-res.png to improve the look of
- CMakeSetup.icns on the Mac.
-
-2009-01-21 11:54 hoffman
-
- * Modules/CPack.OSXScriptLauncher.rsrc.in: file
- CPack.OSXScriptLauncher.rsrc.in was added on branch CMake-2-6 on
- 2009-04-21 20:48:54 +0000
-
-2009-01-21 11:54 hoffman
-
- * Modules/CPack.OSXX11.main.scpt.in: file CPack.OSXX11.main.scpt.in
- was added on branch CMake-2-6 on 2009-04-21 18:12:47 +0000
-
-2009-01-21 11:54 david.cole
-
- * Modules/CPack.OSXScriptLauncher.in,
- Modules/CPack.OSXScriptLauncher.rsrc.in,
- Modules/CPack.OSXX11.Info.plist.in,
- Modules/CPack.OSXX11.main.scpt.in,
- Modules/CPack.RuntimeScript.in,
- Source/CPack/OSXLauncherScript.scpt,
- Source/CPack/cmCPackOSXX11Generator.cxx, Tests/CMakeLists.txt,
- Tests/X11/CMakeLists.txt: BUG: Fix issue #7833: Add file
- extension handling to CPack generated installers for OSXX11
- applications. Also modify the X11 test to build such an installer
- on Mac builds that test CPack and have X11 available. Thanks to
- Wes Turner for the patch.
-
-2009-01-21 09:49 king
-
- * Modules/FindKDE4.cmake: STYLE: Fix if/endif mismatch in FindKDE4
-
-2009-01-21 09:49 king
-
- * Source/: cmFunctionCommand.cxx, cmMacroCommand.cxx: ENH: Enforce
- logical blocks in functions/macros
-
- This teaches function() and macro() to enforce matching logical
- blocks inside the recorded bodies. This makes the error message
- more specific.
-
-2009-01-21 09:49 king
-
- * Source/: cmForEachCommand.cxx, cmFunctionCommand.cxx,
- cmIfCommand.cxx, cmMacroCommand.cxx, cmMakefile.cxx,
- cmMakefile.h, cmWhileCommand.cxx: ENH: Better handling of
- mismatched blocks
-
- If a logical block terminates with mismatching arguments we
- previously failed to remove the function blocker but replayed the
- commands anyway, which led to cases in which we failed to report
- the mismatch (return shortly after the ending command). The
- recent refactoring of function blocker deletion changed this
- behavior to produce an error on the ending line by not blocking
- the command. Furthermore, the function blocker would stay in
- place and complain at the end of every equal-level block of the
- same type.
-
- This teaches CMake to treat the begin/end commands (if/endif,
- etc.) as correct and just warns when the arguments mismatch. The
- change allows cases in which CMake 2.6.2 silently ignored a
- mismatch to run as before but with a warning.
-
-2009-01-21 09:48 king
-
- * Source/: cmForEachCommand.cxx, cmForEachCommand.h,
- cmFunctionBlocker.h, cmFunctionCommand.cxx, cmFunctionCommand.h,
- cmIfCommand.cxx, cmIfCommand.h, cmMacroCommand.cxx,
- cmMacroCommand.h, cmMakefile.cxx, cmMakefile.h,
- cmWhileCommand.cxx, cmWhileCommand.h: ENH: Better error message
- for unclosed blocks
-
- This centralizes construction of the error message for an
- unclosed logical block (if, foreach, etc.). We record the line
- at which each block is opened so it can be reported in the error
- message.
-
-2009-01-21 09:48 king
-
- * Source/: cmMakefile.cxx, cmMakefile.h: ENH: Refactor logical
- block enforcement
-
- This uses a stack of 'barriers' to efficiently divide function
- blockers into groups corresponding to each input file. It
- simplifies detection of missing block close commands and factors
- it out of ReadListFile.
-
-2009-01-21 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-20 15:49 king
-
- * Source/: cmExportBuildFileGenerator.cxx,
- cmGlobalXCodeGenerator.cxx, cmTarget.cxx: BUG: Fix LOCATION
- property for Mac AppBundles
-
- Previously cmTarget::GetLocation and cmTarget::GetFullPath would
- return for Mac AppBundles the top-level bundle directory but
- without the .app extension. We worked around this at the call
- sites. This fixes the methods and removes the work-arounds. See
- issue #8406.
-
-2009-01-20 14:36 king
-
- * Source/: cmForEachCommand.cxx, cmForEachCommand.h,
- cmIfCommand.cxx, cmIfCommand.h, cmMakefile.cxx, cmMakefile.h,
- cmWhileCommand.cxx, cmWhileCommand.h: ENH: Refactor function
- blocker deletion
-
- When a function blocker decides to remove itself we previously
- removed it at every return point from the C++ scope in which its
- removal is needed. This teaches function blockers to transfer
- ownership of themselves from cmMakefile to an automatic variable
- for deletion on return. Since this removes blockers before they
- replay their commands, we no longer need to avoid running
- blockers on their own commands.
-
-2009-01-20 14:35 king
-
- * Source/: cmIfCommand.cxx, cmMakefile.cxx, cmMakefile.h: ENH:
- Improve response to bad if or elseif
-
- Previously bad arguments to an if() or elseif() would cause some
- subsequent statements in the corresponding block to execute.
- This teaches CMake to stop processing commands with a fatal
- error. It also provides context to bad elseif() error messages.
-
-2009-01-20 14:29 david.cole
-
- * Source/CPack/cmCPackNSISGenerator.cxx,
- Tests/CPackComponents/CMakeLists.txt, Tests/CPackComponents/Issue
- 7470.html: BUG: Fix for issue #7470. Allow spaces in the path
- names of installed files with the NSIS CPack generator and
- component-based installs. Add an installed file to the
- CPackComponents test: it failed before the fix; now it passes.
-
-2009-01-20 10:06 hoffman
-
- * Source/cmSystemTools.cxx: BUG: fix crash with cmd.exe shell and
- cmake in the path
-
-2009-01-20 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-19 22:51 lowman
-
- * Modules/FindBoost.cmake: BUG: Fix detection of boost libraries
- without any compiler encoding (e.g. Gentoo 1.37 system installed
- boost). Fixes issue #8404 reported on mailing list.
-
-2009-01-19 22:28 lowman
-
- * Modules/FindDoxygen.cmake: BUG: Fixes Issue #8054 and more.
- DOXYGEN_DOT_FOUND now exists, errant mark_as_advanced variables
- removed, documentation cleaned up and OSX stuff isolated to it's
- own section, support added for DOXYGEN_SKIP_DOT, support added to
- call FindPackageHandleStandardArgs to avoid output on every CMake
- run.
-
-2009-01-19 21:30 lowman
-
- * Modules/FindBoost.cmake: BUG: Missing "icpc" as a possible CXX
- compiler for Intel C++. Also refactored gcc -dumpversion code
- and regex to a function.
-
-2009-01-19 19:21 lowman
-
- * Modules/FindBoost.cmake: BUG: Switch FindBoost.cmake to use
- CMAKE_COMPILER_IS_GNUCXX (Issue #8398)
-
-2009-01-19 13:33 lowman
-
- * Modules/: FindOpenThreads.cmake, Findosg.cmake,
- FindosgAnimation.cmake, FindosgDB.cmake, FindosgFX.cmake,
- FindosgGA.cmake, FindosgIntrospection.cmake,
- FindosgManipulator.cmake, FindosgParticle.cmake,
- FindosgProducer.cmake, FindosgShadow.cmake, FindosgSim.cmake,
- FindosgTerrain.cmake, FindosgText.cmake, FindosgUtil.cmake,
- FindosgViewer.cmake, FindosgVolume.cmake, FindosgWidget.cmake,
- Findosg_functions.cmake: BUG: Fixed Issue #7331 Bugs in
- Findosg*.cmake. Also added OPENTHREADS_LIBRARIES.
-
-2009-01-19 05:14 lowman
-
- * Modules/FindBoost.cmake: BUG: Reverted change made in 1.27,
- should be unnecessary (Issue #7508)
-
-2009-01-19 02:35 lowman
-
- * Modules/FindBoost.cmake: BUG: Resolve Issue #7508, FindBoost
- fails to find boost on SuSE 10.3
-
-2009-01-19 02:27 lowman
-
- * Modules/FindBoost.cmake: ENH: Added 1.38 since it'll be out soon.
- More documentation and clarified examples, addressed autolinking
- issue on MSVC
-
-2009-01-19 01:02 lowman
-
- * Modules/FindBoost.cmake: BUG: Do not check for GCC version
- encoding in filenames on Boost libraries prior to 1.35.
- Eliminate "lib" prefix except on MSVC.
-
-2009-01-19 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-18 17:19 lowman
-
- * Modules/FindBoost.cmake: BUG: Fixed additional issues with
- autodetecting compiler tags properly including Issue #6926
-
-2009-01-18 16:40 lowman
-
- * Modules/FindBoost.cmake: BUG: Fixes problem with _boost_ABI_TAG
- appending to itself if FindBoost is called more than once (Issue
- #7460)
-
-2009-01-18 15:53 lowman
-
- * Modules/FindBoost.cmake: STYLE: minor cleanup
-
-2009-01-18 15:41 lowman
-
- * Modules/FindBoost.cmake: BUG: Removed some code which was
- squashing Boost_LIBRARIES on WIN32 under the auspices of forcing
- the user to use autolinking, but it only did this squashing on
- the first call to FindBoost. Subsequent calls to FindBoost would
- not have Boost_LIBRARIES squashed so this code was doing nothing.
- If you link your target_link_libraries() against dynamic boost
- libraries it appears from tools like Dependency Walker that the
- pragma calls to autolink to the static boost libraries are
- ignored. It's therefore too late to make this squash apply to
- all calls to FindBoost because that would break users that have
- not setup autolinking properly. For now this fix is largely
- cosmetic since the original code never worked anyways (see
- version 1.5 introduced on 4/22/08).
-
-2009-01-18 15:17 lowman
-
- * Modules/FindBoost.cmake: BUG: Fixed documentation bug with
- Boost_USE_MULTITHREADED, removed OPTION() call since it would be
- useless and confusing after an initial configure.
-
-2009-01-18 14:40 lowman
-
- * Modules/FindBoost.cmake: BUG: Fixed superfluous and duplicate
- dirs in Boost_LIBRARY_DIR. Employed workaround for Issue #8378.
- Resolves Issue #8099
-
-2009-01-18 13:03 hoffman
-
- * Source/: cmCTest.h, cmCTest.cxx, ctest.cxx: BUG: add output on
- failure to ctest #8255
-
-2009-01-18 12:05 hoffman
-
- * Source/cmMakefile.cxx: BUG: fix crash with empty properties
-
-2009-01-18 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-17 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-16 04:07 lowman
-
- * Modules/FindBoost.cmake: BUG: Fixed issues using FindBoost with
- BoostPro packaged releases. Fixed regression for bjam users on
- Win32 introduced in 1.4.2.4 (7/13/08). This commit partially or
- completely resolves Issues #8173, #8326, #7943, #7725!
-
-2009-01-16 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-15 16:16 king
-
- * Source/cmFindPackageCommand.cxx: BUG: Fix find_package docs for
- refind feature
-
- Recently we taught find_package to re-find a package
- configuration file if it is given a wrong answer. This fixes the
- documentation to reflect the change.
-
-2009-01-15 14:37 king
-
- * Source/: cmMakefile.cxx, cmMakefile.h: BUG: Enforce matching
- policy PUSH/POP in all files
-
- The documentation of cmake_policy PUSH and POP states that they
- must always match. Previously we enforced this only for the top
- scope of each CMakeLists.txt file. This enforces the requirement
- for all files.
-
-2009-01-15 13:24 hoffman
-
- * Source/CTest/: cmCTestGenericHandler.cxx,
- cmCTestSubmitHandler.cxx: ENH: fix part submission to not have
- memory of the last part submission
-
-2009-01-15 10:32 hoffman
-
- * Source/CTest/: cmCTestTestHandler.cxx, cmCTestTestHandler.h: BUG:
- fix for bug #8174
-
-2009-01-15 09:17 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Source/cmDocumentVariables.cxx,
- Source/cmExtraEclipseCDT4Generator.cxx,
- Source/cmFunctionCommand.cxx, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Tests/FindPackageTest/CMakeLists.txt: ENH:
- merge in changes from main tree, fix borland build
-
-2009-01-15 08:57 king
-
- * Source/: cmDocumentVariables.cxx, cmMakefile.cxx: ENH: Provide
- variable CMAKE_VERSION
-
- This creates the variable CMAKE_VERSION containing the full
- version of cmake in "major.minor.patch" format. It is
- particularly useful with the component-wise version comparison
- provided by the if() command.
-
-2009-01-15 08:57 king
-
- * Source/cmDocumentVariables.cxx: ENH: Document variable
- CMAKE_PATCH_VERSION
-
- This adds documentation of CMAKE_PATCH_VERSION to the generated
- variables documentation.
-
-2009-01-15 02:07 lowman
-
- * Modules/FindBoost.cmake: BUG: fixed bug #7529: FindBoost fails to
- find boost on SuSE 11.0 due to GCC reporting version x.y and not
- x.y.z
-
-2009-01-15 01:22 lowman
-
- * Modules/FindBoost.cmake: BUG: Fixes bug #8059. Also added
- Boost_DEBUG variable for troubleshooting.
-
-2009-01-15 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-14 15:14 king
-
- * Source/: cmFunctionCommand.cxx, cmMakefile.h: BUG: Pop a function
- scope even on error
-
- This uses an automatic variable to push and pop variable scope
- inside a function call. Previously if the function failed its
- scope would not be popped. This approach guarantees a balanced
- push/pop.
-
-2009-01-14 13:48 hoffman
-
- * Source/CTest/: cmCTestBuildHandler.cxx, cmProcess.cxx: ENH: fix
- return value to ctest_build and remove debug print in cmProcess
-
-2009-01-14 13:01 hoffman
-
- * Source/CTest/: cmCTestBuildCommand.cxx, cmCTestBuildCommand.h,
- cmCTestBuildHandler.cxx, cmCTestBuildHandler.h, cmProcess.cxx:
- ENH: allow ctest_build to return error and warning counts
-
-2009-01-14 09:51 king
-
- * Source/: cmExtraEclipseCDT4Generator.cxx,
- CTest/cmCTestSubmitHandler.cxx: COMP: Fix const set find for
- Borland 5.5
-
- The Borland 5.5 compiler's STL set does not define correct
- signatures for its find() members, leading to build errors. This
- works around the problem.
-
-2009-01-14 09:34 king
-
- * Tests/FindPackageTest/CMakeLists.txt: ENH: Test find_package
- re-find feature
-
- Recently we taught find_package to re-find a package if its
- <package>_DIR result variable was set to a location not
- containing the package (instead of reporting an error as before).
- This tests the feature.
-
-2009-01-14 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-13 13:03 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Modules/CMakeGenericSystem.cmake,
- Modules/CMakeSystemSpecificInformation.cmake,
- Modules/FindGettext.cmake, Modules/FindPythonInterp.cmake,
- Source/cmCMakeMinimumRequired.cxx,
- Source/cmCMakeMinimumRequired.h, Source/cmComputeLinkDepends.cxx,
- Source/cmComputeLinkDepends.h, Source/cmDocumentVariables.cxx,
- Source/cmDocumentationFormatterDocbook.cxx,
- Source/cmExportFileGenerator.cxx,
- Source/cmExportInstallFileGenerator.cxx,
- Source/cmExportInstallFileGenerator.h,
- Source/cmExtraCodeBlocksGenerator.cxx,
- Source/cmExtraEclipseCDT4Generator.cxx,
- Source/cmExtraEclipseCDT4Generator.h, Source/cmFileCommand.cxx,
- Source/cmFileCommand.h, Source/cmFindPackageCommand.cxx,
- Source/cmFindPackageCommand.h,
- Source/cmGetTargetPropertyCommand.h,
- Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmInstallExportGenerator.cxx,
- Source/cmInstallExportGenerator.h, Source/cmInstallGenerator.cxx,
- Source/cmInstallTargetGenerator.h, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmSetCommand.cxx, Source/cmTarget.cxx, Source/cmTarget.h,
- Source/cmTargetLinkLibrariesCommand.cxx,
- Source/cmTargetLinkLibrariesCommand.h, Source/cmake.cxx,
- Source/cmake.h, Source/CTest/cmCTestBuildAndTestHandler.cxx,
- Source/CTest/cmCTestBuildHandler.cxx,
- Source/CTest/cmCTestUpdateHandler.cxx,
- Source/QtDialog/CMakeLists.txt, Source/QtDialog/CrossCompiler.ui,
- Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in,
- Source/kwsys/testProcess.c, Templates/DLLHeader.dsptemplate,
- Templates/EXEHeader.dsptemplate,
- Templates/EXEWinHeader.dsptemplate,
- Templates/staticLibHeader.dsptemplate,
- Tests/CustomCommand/CMakeLists.txt,
- Tests/ExportImport/Export/CMakeLists.txt,
- Tests/ExportImport/Import/CMakeLists.txt,
- Tests/FindPackageTest/CMakeLists.txt, Tests/FindPackageTest/Baz
- 1.1/BazConfig.cmake, Tests/FindPackageTest/Baz
- 1.1/BazConfigVersion.cmake, Tests/FindPackageTest/Baz
- 1.2/CMake/BazConfig.cmake, Tests/FindPackageTest/Baz
- 1.2/CMake/BazConfigVersion.cmake,
- Tests/FindPackageTest/lib/cmake/zot-4.0/zot-config-version.cmake,
- Tests/FindPackageTest/lib/cmake/zot-4.0/zot-config.cmake,
- Tests/StringFileTest/CMakeLists.txt: ENH: merge in changes from
- CVS to branch for 2.6.3 RC 8
-
-2009-01-13 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-12 11:10 king
-
- * Source/cmCTest.cxx: COMP: Remove unused variable
-
-2009-01-12 10:38 king
-
- * Source/CTest/cmCTestSubmitCommand.cxx,
- Source/CTest/cmCTestSubmitCommand.h,
- Source/CTest/cmCTestSubmitHandler.cxx,
- Source/CTest/cmCTestSubmitHandler.h,
- Tests/CTestTest2/test.cmake.in: ENH: Teach ctest_submit about
- parts
-
- This adds a PARTS option to the ctest_submit command which tells
- it to submit only parts whose names are listed with the option.
-
-2009-01-12 10:37 king
-
- * Source/: cmCTest.cxx, cmCTest.h, CTest/cmCTestBuildHandler.cxx,
- CTest/cmCTestConfigureHandler.cxx,
- CTest/cmCTestCoverageHandler.cxx,
- CTest/cmCTestGenericHandler.cxx, CTest/cmCTestGenericHandler.h,
- CTest/cmCTestSubmitHandler.cxx, CTest/cmCTestTestHandler.cxx,
- CTest/cmCTestUpdateHandler.cxx: ENH: Divide CTest file submission
- list by part
-
- This splits the list of files for CTest to submit into those
- belonging to each part. The set is recombined just before
- submission. Later this will allow piecewise submissions.
-
-2009-01-12 10:37 king
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: Refactor cmCTest test part
- representation
-
- This introduces the name "part" to denote a portion of the
- testing and submission process performed by ctest. We generalize
- the boolean indicating whether each part is enabled into a
- structure to which more information can be added later. We
- provide bi-directional mapping between part id and part names.
-
-2009-01-12 09:11 king
-
- * Source/: cmCTest.cxx, cmCTest.h, CTest/cmCTestBuildHandler.cxx,
- CTest/cmCTestConfigureHandler.cxx,
- CTest/cmCTestCoverageHandler.cxx,
- CTest/cmCTestGenericHandler.cxx, CTest/cmCTestGenericHandler.h,
- CTest/cmCTestHandlerCommand.cxx, CTest/cmCTestHandlerCommand.h,
- CTest/cmCTestMemCheckHandler.cxx, CTest/cmCTestTestHandler.cxx:
- ENH: Teach ctest_* to create appending XML files
-
- This adds an APPEND option to the ctest_* commands which tells
- them to put the Append="true" attribute in the Site element of
- their XML file.
-
-2009-01-12 09:10 king
-
- * Source/CTest/: cmCTestHandlerCommand.cxx,
- cmCTestHandlerCommand.h: ENH: Refactor CTest command argument
- handling
-
- The previous approach to handling of arguments to ctest_*
- commands worked only for keyword/value arguments with a single
- value. This refactors the approach to allow some commands to
- define alternative argument forms.
-
-2009-01-12 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-11 12:18 alex
-
- * Source/: cmExtraEclipseCDT4Generator.cxx,
- cmExtraEclipseCDT4Generator.h: ENH: patch from Miguel, As it is
- today the generator creates linked resources to
- LIBRARY_OUTPUT_PATH and EXECUTABLE_OUTPUT_PATH if they are not a
- subdirectory of the binary dir, so that the IDE can detect the
- Binaries (this was addressed previously as a result of a bug
- report).
-
- Reduces code redundancy by encapsulating common behaviour for
- LIBRARY_OUTPUT_PATH and EXECUTABLE_OUTPUT_PATH in
- AppendLinkedResource.
-
- Addresses the two new variable names for these locations,
- CMAKE_LIBRARY_OUTPUT_DIRECTORY and CMAKE_RUNTIME_OUTPUT_DIRECTORY
- respectively.
-
- Finally, it is addressing a bug in the current code for relative
- paths in these variables. If it is a relative path to the binary
- dir, the IsSubdirectory call returns false and so it creates the
- linked resource. The created linked resource produces an error in
- the Eclipse IDE because the IDE expects it to be a full path. The
- patch now addresses this by concatenating the binary dir if it is
- a relative path.
-
-2009-01-11 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-10 09:01 alex
-
- * Source/cmDocumentationFormatterDocbook.cxx: BUG: don't create
- empty <itemizedlist>s (#7289), dblatex didn't like that
-
- Alex
-
-2009-01-10 08:46 alex
-
- * Modules/FindPythonInterp.cmake: ENH: fix #7913: find also python
- 2.6 on windows
-
- Alex
-
-2009-01-10 08:39 alex
-
- * Modules/FindGettext.cmake: BUG: fix #8122, _firstPoFile was not
- empty because it was no real variable but just a macro argument
- -> make it a real variable
-
- Alex
-
-2009-01-10 08:16 alex
-
- * Source/cmDocumentVariables.cxx: STYLE: document
- CMAKE_COLOR_MAKEFILE (#7878)
-
- Alex
-
-2009-01-10 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-09 20:35 alex
-
- * Source/cmExtraEclipseCDT4Generator.h: COMP: forgot to commit this
- file
-
- Alex
-
-2009-01-09 20:26 alex
-
- * Modules/CMakeSystemSpecificInformation.cmake: STYLE: fix typo
-
- Alex
-
-2009-01-09 20:18 alex
-
- * Modules/CMakeGenericSystem.cmake: STYLE: this is not necessary
- anymore for kdevelop, the kdevelop generator now generates the
- project so that the environment variable VERBOSE is set to 1 when
- make is executed by kdevelop (and additionally this didn't work,
- since CMAKE_GENERATOR never matches KDevelop3, this is now in
- CMAKE_EXTRA_GENERATOR)
-
- Alex
-
-2009-01-09 20:09 alex
-
- * Source/cmExtraEclipseCDT4Generator.cxx: STYLE: remove debug
- output
-
- Alex
-
-2009-01-09 19:52 alex
-
- * Source/cmExtraEclipseCDT4Generator.cxx: BUG: fix #8073: also show
- targets created using add_custom_targets() -additionally also
- create the target/fast targets for Eclipse -skip preinstall and
- install/local, they should be only rarely used
-
- Alex
-
-2009-01-09 19:08 alex
-
- * Source/cmExtraEclipseCDT4Generator.cxx: BUG: remove the call to
- EnableInstallTarget(), don't know why it was there. This caused
- that always an install target was created which installed
- nothing, even if there was no install rule in the project.
-
- Alex
-
-2009-01-09 18:58 alex
-
- * Source/: cmExtraEclipseCDT4Generator.cxx,
- cmExtraEclipseCDT4Generator.h: BUG: fix #8105: don't hardcode
- "gcc" and "make" but use CMAKE_C_COMPILER and CMAKE_MAKE_PROGRAM
- instead
-
- Alex
-
-2009-01-09 18:04 alex
-
- * Source/cmExtraCodeBlocksGenerator.cxx: BUG: fix #8203: codeblocks
- + mingw doesn't like the extra quotes around the path to the
- makefile if it contains spaces, under Linux it works with spaces
-
- Alex
-
-2009-01-09 16:44 king
-
- * Source/cmCTest.cxx: ENH: Add missing newline to CTest-generated
- xml
-
- The Generator="ctest..." attribute of Site elements in
- CTest-generated XML files was missing a newline, causing the next
- attribute to appear on the same line. This adds the newline.
-
-2009-01-09 12:56 hoffman
-
- * Source/cmCTest.cxx: ENH: fix crash for old style scripts
-
-2009-01-09 12:32 hoffman
-
- * Source/cmCTest.h: ENH: fix return type
-
-2009-01-09 12:05 hoffman
-
- * Source/: cmCTest.cxx, cmCTest.h, CTest/cmCTestScriptHandler.h:
- ENH: add subproject tag property for ctest
-
-2009-01-09 11:44 king
-
- * Source/kwsys/testProcess.c: ENH: Extend kwsys.testProcess-4
- timeout
-
- The test is supposed to terminate quickly when its child crashes,
- but that seems to take over 10s on busy systems. This extends
- the test's timeout to 30s to help it pass when running on a busy
- system.
-
-2009-01-09 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-08 18:09 alex
-
- * Source/: cmExtraEclipseCDT4Generator.h,
- cmExtraEclipseCDT4Generator.cxx: BUG: apply patch from #8205,
- also fixes #8212: escape characters for XML when writing the
- eclipse project files
-
- Alex
-
-2009-01-08 17:57 alex
-
- * Source/: cmFindPackageCommand.cxx, cmFindPackageCommand.h: ENH:
- when trying to find a FooConfig.cmake file, if in the directory
- pointed to by the Foo_DIR variable there is no FooConfig.cmake
- file, then instead of abort and complain that the user should set
- or clear the Foo_DIR variables, just search for the file and
- discard the old Foo_DIR contents
-
- The tests succeed, ok by Brad.
-
- Alex
-
-2009-01-08 04:47 hoffman
-
- * Modules/FindCxxTest.cmake: file FindCxxTest.cmake was added on
- branch CMake-2-6 on 2009-02-04 16:44:01 +0000
-
-2009-01-08 04:47 lowman
-
- * Modules/FindCxxTest.cmake: BUG: Fixed CXXTEST_INCLUDE_DIRS so it
- will work properly with NOTFOUND.
-
- Also eliminated superfluous CXXTEST_FOUND assignment and cleaned
- up the code and added additional documentation. Tagged v1.0.
-
-2009-01-08 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-07 17:28 clinton
-
- * Source/QtDialog/CrossCompiler.ui:
- ENH: Tweak System Name field for cross compiling, so it doesn't
- have a file chooser button.
-
-2009-01-07 14:16 king
-
- * Source/cmInstallExportGenerator.cxx: ENH: Clean per-config export
- files during install
-
- When installing the main export file the install tree may be
- dirty. If out-dated per-config files exist they may break the
- newly installed main file which when it globs them. This teaches
- the installation script to detect when it is about to replace the
- main export file with a different one and cleans out any existing
- per-config files.
-
-2009-01-07 14:16 king
-
- * Source/: cmFileCommand.cxx, cmFileCommand.h: ENH: Add
- undocumented file(DIFFERENT) command
-
- This new command will be used by generated installation scripts
- to determine whether an already-installed export file has
- changed.
-
-2009-01-07 14:16 king
-
- * Source/: cmExportInstallFileGenerator.cxx,
- cmExportInstallFileGenerator.h: ENH: Refactor computation of
- import file glob
-
- New method cmExportInstallFileGenerator::GetConfigImportFileGlob
- computes the globbing expression that an installed export file
- uses to load its per-configuration support files.
-
-2009-01-07 10:41 king
-
- * Source/: cmTest.cxx, CTest/cmCTestTestHandler.cxx,
- CTest/cmCTestTestHandler.h: ENH: Teach CTest to submit test
- property LABELS
-
- This teaches CTest to send the test property "LABELS" in Test.xml
- dashboard submissions as Label elements inside a Labels element.
-
-2009-01-07 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-06 15:05 king
-
- * CTestCustom.cmake.in: COMP: Ignore warning LNK4204 for CMake
- dashboard
-
- This warning appears for libtar.obj, curltest.obj, and
- synch_client.obj regularly on CMake dashboard submissions from VS
- builds. They seem to occur due to some kind of race condition
- for objects in small targets. There is nothing wrong with the
- code, so this just suppresses the warnings.
-
-2009-01-06 14:58 king
-
- * Source/CTest/cmCTestUpdateHandler.cxx: BUG: Manage LC_MESSAGES
- with an object
-
- This moves management of the LC_MESSAGES environment variable
- into an automatic variable. Previously if an error occurred the
- original environment value was not restored. This makes the fix
- to issue #5936 more robust.
-
-2009-01-06 14:41 king
-
- * Source/CTest/cmCTestUpdateHandler.cxx: STYLE: Remove trailing
- whitespace
-
-2009-01-06 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-05 15:00 king
-
- * Source/: cmGetPropertyCommand.cxx, cmMakefile.cxx, cmMakefile.h,
- cmSetPropertyCommand.cxx, cmSetTestsPropertiesCommand.cxx: ENH:
- Improve test property speed with a map
-
- Previously we stored a vector of tests to preserve their order.
- Property set/get operations would do a linear search for matching
- tests. This uses a map to efficiently look up tests while
- keeping the original order with a vector for test file
- generation.
-
-2009-01-05 14:14 king
-
- * Tests/: CMakeLists.txt, EnforceConfig.cmake,
- EnforceConfig.cmake.in: ENH: Re-enable new 'testing' test mode
-
- This fixes selection of a configuration when none is specified to
- find an available configuration of the ctest test-command.
-
-2009-01-05 14:14 king
-
- * Source/: cmCTest.cxx, cmCTest.h: BUG: Capture cout and cerr from
- internal ctest
-
- When CTest detects that a test is running its own executable it
- optimizes the test by using an internal instance of cmCTest
- instead of creating a new process. However, the internal
- instance was using cout and cerr directly. This redirects the
- output to a string stream to avoid direct display of the internal
- test's output.
-
-2009-01-05 11:05 king
-
- * Source/: cmFileCommand.cxx, QtDialog/CMakeLists.txt: COMP: Fix
- installation of cmake-gui by CMake 2.4
-
- When CMake 2.4 generates the build tree for CMake itself it asks
- the built CMake to install itself using the rules that 2.4
- generated. Since the install rules use undocumented commands
- that are not compatible from 2.4 to 2.6 we need a special case to
- avoid failure. This sets a special indicator variable in the
- install rules that enables a compatibility hack to support the
- old install rule format.
-
-2009-01-05 11:03 king
-
- * Source/cmFileCommand.cxx: ENH: Refactor internal file(INSTALL)
- arg parsing
-
- The internal file(INSTALL) command argument parsing used several
- booleans with at most one set to true at a time to track argument
- parsing state. This refactors it to use one enumeration.
-
-2009-01-05 09:53 king
-
- * Source/cmGetTargetPropertyCommand.h: BUG: Remove old
- get_target_property docs
-
- The get_target_property command contained some outdated
- documentation of the LOCATION and TYPE properties. This removes
- it since they are now documented in the properties list section
- of the documentation.
-
-2009-01-05 09:53 king
-
- * Source/cmTarget.cxx: ENH: Enable LOCATION property for imported
- targets
-
- Previously we left the LOCATION property undefined for imported
- targets since it should no longer be used for non-imported
- targets. However, in the case we do not know the name of an
- available imported configuration, it is more readable to get the
- LOCATION property than LOCATION_<CONFIG> for a bogus
- configuration <CONFIG>. This enables LOCATION for imported
- targets and returns an unspecified available imported
- configuration.
-
-2009-01-05 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-04 04:12 alex
-
- * Source/cmCMakeMinimumRequired.h: STYLE: changed "one may" into
- "it should" to make it stronger
-
- Alex
-
-2009-01-04 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-03 15:48 king
-
- * Source/cmCMakeMinimumRequired.h: ENH: Clarify FATAL_ERROR option
- to min-req command
-
- The FATAL_ERROR to cmake_minimum_required is useful for projects
- that require 2.6 to convince CMake 2.4 to error out. This
- clarifies its usefulness in the documentation.
-
-2009-01-03 15:47 king
-
- * Source/: cmCMakeMinimumRequired.cxx, cmCMakeMinimumRequired.h:
- ENH: Ignore unknown cmake_minimum_required args
-
- When cmake_minimum_required is called with an unknown argument it
- should not complain about it if the version specified is in the
- future. This allows the proper error to be shown about the
- current CMake being too old.
-
-2009-01-03 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-02 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2009-01-01 12:49 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Source/cmCTest.cxx,
- Source/cmCommandArgumentLexer.cxx,
- Source/cmCommandArgumentLexer.h,
- Source/cmCommandArgumentLexer.in.l,
- Source/cmCommandArgumentParser.cxx,
- Source/cmCommandArgumentParser.y,
- Source/cmCommandArgumentParserHelper.cxx,
- Source/cmCommandArgumentParserHelper.h,
- Source/cmCommandArgumentParserTokens.h: ENH: RC 7 merge fix
- missing stuff from RC 6 and fix change log
-
-2009-01-01 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-31 10:14 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Modules/CMakeASM_MASMInformation.cmake,
- Modules/CMakeDetermineASM_MASMCompiler.cmake,
- Modules/CMakeTestASM_MASMCompiler.cmake, Modules/CPackRPM.cmake,
- Modules/FindCurses.cmake, Modules/FindDoxygen.cmake,
- Modules/FindEXPAT.cmake, Modules/FindLibXml2.cmake,
- Modules/FindQt4.cmake, Modules/FindSquish.cmake,
- Modules/FindwxWidgets.cmake, Modules/GetPrerequisites.cmake,
- Modules/SquishRunTestCase.bat, Modules/SquishRunTestCase.sh,
- Modules/SquishTestScript.cmake, Modules/Platform/Darwin.cmake,
- Modules/Platform/Haiku.cmake,
- Modules/Platform/WindowsPaths.cmake, Source/cmFileCommand.h,
- Source/cmFindPackageCommand.cxx, Source/cmFindPackageCommand.h,
- Source/cmGlobalMSYSMakefileGenerator.cxx,
- Source/cmOrderDirectories.cxx,
- Source/CPack/cmCPackBundleGenerator.cxx,
- Source/QtDialog/CMake.desktop, Source/QtDialog/CMakeLists.txt,
- Source/QtDialog/CMakeSetupDialog.cxx,
- Source/QtDialog/Compilers.h, Source/QtDialog/Compilers.ui,
- Source/QtDialog/CrossCompiler.ui,
- Source/QtDialog/FirstConfigure.cxx,
- Source/QtDialog/FirstConfigure.h,
- Source/QtDialog/QCMakeWidgets.cxx, Source/kwsys/ProcessUNIX.c,
- Source/kwsys/System.c, Source/kwsys/SystemInformation.cxx,
- Templates/TestDriver.cxx.in: ENH: merge fixes for RC 6
-
-2008-12-31 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-30 09:13 david.cole
-
- * Source/CTest/: cmCTestConfigureCommand.cxx,
- cmCTestConfigureCommand.h, cmCTestConfigureHandler.cxx,
- cmCTestGenericHandler.cxx: ENH: Add OPTIONS argument to the
- ctest_configure command so that you can pass -D arguments to the
- cmake configure step from a ctest -S script. Also clarify/correct
- some not so helpful error messages.
-
-2008-12-30 09:11 david.cole
-
- * Modules/Platform/Darwin.cmake: BUG: Fix install_name_tool problem
- on the Mac when a PROJECT(... NONE) is followed by multiple calls
- to ENABLE_LANGUAGE. Use find_program to set the
- CMAKE_INSTALL_NAME_TOOL variable so it gets saved in the cache as
- a full path to the install_name_tool executable rather than a
- simple set which eventually goes out of scope.
-
-2008-12-30 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-29 18:11 hoffman
-
- * Tests/JCTest/CMakeLists.txt: ENH: make it take longer
-
-2008-12-29 17:49 hoffman
-
- * Source/CTest/: cmProcess.cxx, cmProcess.h: ENH: add start end
- time for procs
-
-2008-12-29 17:43 hoffman
-
- * Tests/JCTest/: CMakeLists.txt, TestTime.cxx: ENH: add test for -j
- N ctest stuff
-
-2008-12-29 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-28 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-27 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-26 15:27 david.cole
-
- * Source/CTest/cmCTestHandlerCommand.cxx: STYLE: Fix line length
- violation.
-
-2008-12-26 13:28 king
-
- * Source/cmOrderDirectories.cxx: BUG: Fix same-file check for
- directory ordering
-
- When computing runtime search path ordering a constraint exists
- when a file that may be found by the runtime search exists in a
- directory other than that containing the desired file. We test
- whether a potential conflict is really the same due to a symlink.
- Recently the change to cmFindLibraryCommand to load directory
- content created a case in which the same-file check would be
- incorrectly skipped. This avoids skipping the check.
-
-2008-12-26 12:06 david.cole
-
- * Modules/FindDoxygen.cmake: ENH: New location to look for "dot"
-
-2008-12-26 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-25 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-24 10:10 david.cole
-
- * Modules/AddExternalProject.cmake,
- Tests/ExternalProject/CMakeLists.txt: ENH: Re-work of fix
- committed yesterday for the Watcom WMake dashboard. Fix it
- properly by using the SYMBOLIC source file property to indicate
- to WMake when the sentinel file is not actually written by the
- update step.
-
-2008-12-24 04:31 miguelf
-
- * Modules/FindwxWidgets.cmake: BUG: Fixed placement of initial
- wxWidgets_FOUND=TRUE statement, which allowed some cases to
- breakaway from tests without resetting to FALSE (BUG: 8188).
-
-2008-12-24 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-23 10:01 david.cole
-
- * Tests/ExternalProject/CMakeLists.txt: BUG: Workaround for Watcom
- WMake not handling "always out of date" custom commands to fix
- the failing ExternalProject test on the CMake nightly dashboard.
-
-2008-12-23 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-22 03:00 alex
-
- * Modules/FindLibXml2.cmake: BUG: use FindPkgConfig.cmake instead
- of UsePkgConfig.cmake, sync with KDE svn and fix bug #8290
-
- Alex
-
-2008-12-22 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-21 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-20 00:04 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-19 10:35 david.cole
-
- * Modules/AddExternalProject.cmake: ENH: Add the update step in
- between download and build. Add UPDATE_ARGS and UPDATE_COMMAND
- handling. Output a -complete sentinel in synch with the -install
- sentinel, but do not list it as an OUTPUT of the custom command.
- That breaks the chaining of add_custom_commands between custom
- targets, but allows for a file-level dependency expression that
- will cause proper incremental rebuilds. When earlier targets
- rebuild, subsequent dependent targets will also rebuild. CVS and
- SVN update commands are always out-of-date so that they always
- run to get the latest source. To suppress that behavior on a
- per-external project basis use an explicit empty string for
- UPDATE_COMMAND. The source will still be checked out from the
- repository prior to the update step by the download step.
-
-2008-12-19 10:19 hoffman
-
- * Source/CTest/cmCTestTestHandler.cxx: STYLE: fix shadow warning
-
-2008-12-19 00:04 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-18 21:59 hoffman
-
- * Source/CTest/: cmCTestTestHandler.cxx, cmCTestTestHandler.h: BUG:
- partial fix for #8056
-
-2008-12-18 21:57 hoffman
-
- * Source/CTest/: cmCTestHandlerCommand.cxx,
- cmCTestScriptHandler.cxx: BUG: fix for bug #8224 fix crash
-
-2008-12-18 21:53 hoffman
-
- * Modules/FindEXPAT.cmake: BUG: fix for #8298 look for libexpat as
- well
-
-2008-12-18 21:52 hoffman
-
- * Source/cmFileCommand.h: BUG: fix spelling
-
-2008-12-18 17:15 king
-
- * Tests/CMakeLists.txt: BUG: Disable new 'testing' test mode for
- now
-
- The new 'testing' test behavior of actually running the tests
- generated by the project still fails when the test script guesses
- the Debug configuration but the CMake build tree was only built
- Release. The inner ctest needs to find the ctest executable but
- is given the wrong configuration.
-
-2008-12-18 14:56 king
-
- * Source/: cmBootstrapCommands.cxx, cmCommands.cxx: COMP: Add
- set_directory_properties to bootstrap
-
- We now need this command in the Tests/CMakeLists.txt file.
-
-2008-12-18 14:26 king
-
- * Tests/: CMakeLists.txt, EnforceConfig.cmake: BUG: Fix new
- 'testing' test for CMake releases
-
- The recent change of the 'testing' test to actually drive the
- tests within it does not work on Windows with released CMakes
- 2.6.2 and lower if no configuration is given to ctest with a -C
- option. This works around the problem by detecting the case and
- changing the empty configuration to Debug.
-
-2008-12-18 13:36 king
-
- * Source/kwsys/System.c, Tests/CustomCommand/CMakeLists.txt: BUG:
- Fix windows command line escape for empty arg
-
- On Windows the KWSys System package generates escapes for
- command-line arguments. This fix enables quoting of the empty
- string as an argument. This also adds a test to pass an empty
- argument to a custom command.
-
-2008-12-18 12:28 king
-
- * Tests/: CMakeLists.txt, Testing/CMakeLists.txt,
- Testing/Sub/Sub2/CMakeLists.txt: ENH: Improve 'testing' test to
- actually test
-
- The 'testing' CMake test builds a project that uses add_test.
- This strengthens the test to actually run CTest on the project
- build tree after building it.
-
-2008-12-18 12:27 king
-
- * Source/CTest/cmCTestBuildAndTestHandler.cxx: ENH: Minor
- readability improvement in CTest output
-
- When ctest --build-and-test runs the --test-command its output
- did not quote the arguments of the command being tested making it
- difficult to read. This adds the quotes. This also changes the
- wording of the failure case to not sound like CTest could not run
- the executable when in fact it ran and returned failure.
-
-2008-12-18 12:27 king
-
- * Source/cmCTest.cxx: BUG: Fix crash when running internal CTest
-
- When CTest encounters a test whose executable is the ctest
- executable iteslf, it just invokes code inside itself to avoid
- starting a new process. This fixes a null-pointer dereference in
- the logging code of that case.
-
-2008-12-18 10:43 david.cole
-
- * Source/: cmFileCommand.cxx, kwsys/SystemTools.cxx,
- kwsys/SystemTools.hxx.in: BUG: Do not copy permissions of files
- when making the copy in an install rule. If the source file was
- read-only, this prevents the subsequent set of the destination
- file's modification time, making the copied file always different
- in time-stamp than the original and always installing a new file
- with a new time stamp (but the same content) causing unnecessary
- downstream incremental rebuilds. As part of this fix, add an
- optional copyPermissions parameter to the SystemTools routines
- CopyFileIfDifferent, CopyFileAlways, CopyAFile and
- CopyADirectory. The copyPermissions parameter defaults to true to
- preserve the behavior of these routines for existing callers.
-
-2008-12-18 10:06 king
-
- * Source/: cmInstallDirectoryGenerator.h,
- cmInstallExportGenerator.h, cmInstallFilesGenerator.h,
- cmInstallTargetGenerator.h: STYLE: Remove useless install
- generator typedefs
-
- The cmInstall*Generator classes all derive from
- cmInstallGenerator which provides the Indent typedef so they do
- not need to provide it
-
-2008-12-18 09:58 king
-
- * Source/: cmCommandArgumentLexer.cxx, cmCommandArgumentLexer.in.l:
- COMP: Restore fixes to generated lexer
-
- The command argument lexer was recently regenerated which erased
- some fixes that had been applied directly to the output. This
- restores the fixes and adds reminder notes in the generation
- instructions.
-
-2008-12-18 09:58 king
-
- * Source/: cmCommandArgumentParser.cxx, cmCommandArgumentParser.y:
- BUG: Move previous parser bugfixes into input file
-
- The command argument parser code is generated by bison. This
- change restores some fixes previously applied to the generated
- output that were destroyed by regenerating the parser source.
- This time the fixes have been put in the input file so
- regenerating the parser will not destroy them again.
-
-2008-12-18 09:37 clinton
-
- * Source/QtDialog/CMake.desktop:
- ENH: Remove Application category. See #8151.
-
-2008-12-18 00:04 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-17 09:33 king
-
- * Source/: cmCommandArgumentLexer.cxx, cmCommandArgumentLexer.in.l:
- COMP: Fix unused yyunput warning in lexer
-
- This adds the "nounput" option to the flex input file so that
- yyunput is not generated. The function is static but not used so
- some compilers warn.
-
-2008-12-17 09:24 hoffman
-
- * Tests/FindPackageTest/Baz 1.1/BazConfig.cmake: file
- BazConfig.cmake was added on branch CMake-2-6 on 2009-01-13
- 18:03:55 +0000
-
-2008-12-17 09:24 hoffman
-
- * Tests/FindPackageTest/Baz 1.2/CMake/BazConfig.cmake: file
- BazConfig.cmake was added on branch CMake-2-6 on 2009-01-13
- 18:03:56 +0000
-
-2008-12-17 09:24 hoffman
-
- * Tests/FindPackageTest/Baz 1.1/BazConfigVersion.cmake: file
- BazConfigVersion.cmake was added on branch CMake-2-6 on
- 2009-01-13 18:03:55 +0000
-
-2008-12-17 09:24 hoffman
-
- * Tests/FindPackageTest/Baz 1.2/CMake/BazConfigVersion.cmake: file
- BazConfigVersion.cmake was added on branch CMake-2-6 on
- 2009-01-13 18:03:56 +0000
-
-2008-12-17 09:24 king
-
- * Source/cmFindPackageCommand.cxx,
- Tests/FindPackageTest/CMakeLists.txt, Tests/FindPackageTest/Baz
- 1.1/BazConfig.cmake, Tests/FindPackageTest/Baz
- 1.1/BazConfigVersion.cmake, Tests/FindPackageTest/Baz
- 1.2/CMake/BazConfig.cmake, Tests/FindPackageTest/Baz
- 1.2/CMake/BazConfigVersion.cmake: ENH: Teach find_package about
- more install dirs
-
- We now search in
-
- <prefix>/<name>*/
- <prefix>/<name>*/(cmake|CMake)
-
- when looking for package configuration files. This is useful on
- Windows since the Program Files folder is in
- CMAKE_SYSTEM_PREFIX_PATH. These paths are the Windows equivalent
- to the Apple convention application and framework paths we
- already search. See issue #8264.
-
-2008-12-17 09:23 king
-
- * Modules/Platform/WindowsPaths.cmake: ENH: Use 32-bit and 64-bit
- Program Files folders
-
- On 64-bit Windows there may be two Program Files folders, one for
- 32-bit binaries and one for 64-bit binaries. When we compute
- CMAKE_SYSTEM_PREFIX_PATH we should put both folders in the path.
-
-2008-12-17 08:24 king
-
- * Source/cmCommandArgumentLexer.cxx,
- Source/cmCommandArgumentLexer.h,
- Source/cmCommandArgumentLexer.in.l,
- Source/cmCommandArgumentParser.cxx,
- Source/cmCommandArgumentParser.y,
- Source/cmCommandArgumentParserTokens.h,
- Tests/StringFileTest/CMakeLists.txt: ENH: Allow most characters
- in ENV variable refs
-
- The $ENV{VAR} syntax permits access to environment variables.
- This teaches CMake to recognize most characters in the VAR name
- since some environments may have variables with non-C-identifier
- characters.
-
-2008-12-17 00:04 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-16 15:15 clinton
-
- * Source/QtDialog/QCMakeWidgets.cxx:
- ENH: Improve performance with file completion. Fix for #8292.
-
-2008-12-16 15:00 hoffman
-
- * Source/QtDialog/Compilers.h: file Compilers.h was added on branch
- CMake-2-6 on 2008-12-31 15:14:30 +0000
-
-2008-12-16 15:00 hoffman
-
- * Source/QtDialog/Compilers.ui: file Compilers.ui was added on
- branch CMake-2-6 on 2008-12-31 15:14:30 +0000
-
-2008-12-16 15:00 hoffman
-
- * Source/QtDialog/CrossCompiler.ui: file CrossCompiler.ui was added
- on branch CMake-2-6 on 2008-12-31 15:14:30 +0000
-
-2008-12-16 15:00 hoffman
-
- * Source/QtDialog/FirstConfigure.cxx: file FirstConfigure.cxx was
- added on branch CMake-2-6 on 2008-12-31 15:14:30 +0000
-
-2008-12-16 15:00 hoffman
-
- * Source/QtDialog/FirstConfigure.h: file FirstConfigure.h was added
- on branch CMake-2-6 on 2008-12-31 15:14:30 +0000
-
-2008-12-16 15:00 clinton
-
- * Source/QtDialog/: CMakeFirstConfigure.cxx, CMakeFirstConfigure.h,
- CMakeFirstConfigure.ui, CMakeLists.txt, CMakeSetupDialog.cxx,
- Compilers.h, Compilers.ui, CrossCompiler.ui, FirstConfigure.cxx,
- FirstConfigure.h:
- ENH:
-
- For bug #7191. Improvements to the dialog that sets up the first
- configure. Fixing the large size of it by breaking it up into a
- wizard. Also incorporated suggestions from bug report.
-
-2008-12-16 09:23 king
-
- * Source/cmFindPackageCommand.cxx: BUG: find_package must push/pop
- policies
-
- When the find_package command loads a <name>-version.cmake file
- to test the package version it must prevent the version file from
- affecting policy settings. Therefore the policy settings must be
- pushed and popped.
-
-2008-12-16 09:20 king
-
- * Source/cmInstallGenerator.cxx: BUG: Fix component-name test on
- installation
-
- Generated cmake_install.cmake script code used MATCHES to compare
- component names. This does not support characters considered
- special by regular expression syntax in component names. This
- change uses STREQUAL instead. See issue #8256.
-
-2008-12-16 09:15 king
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: ENH: Warn if
- build dir is too long for filesystem
-
- When an object file directory is too deep to place an object file
- without exceeding CMAKE_OBJECT_PATH_MAX, this issues a warning.
- Previously we silently ignored the problem. See issue #7860.
-
-2008-12-16 09:14 king
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: ENH: Refactor passing of max
- length object dir
-
- When computing the maximum length full path to the build
- directory under which object files will be placed, pass the
- actual path instead of just its length. This will be useful for
- error message generation.
-
-2008-12-16 09:13 hoffman
-
- * Tests/FindPackageTest/lib/cmake/zot-4.0/zot-config-version.cmake:
- file zot-config-version.cmake was added on branch CMake-2-6 on
- 2009-01-13 18:03:56 +0000
-
-2008-12-16 09:13 hoffman
-
- * Tests/FindPackageTest/lib/cmake/zot-4.0/zot-config.cmake: file
- zot-config.cmake was added on branch CMake-2-6 on 2009-01-13
- 18:03:56 +0000
-
-2008-12-16 09:13 king
-
- * Tests/FindPackageTest/: CMakeLists.txt,
- lib/cmake/zot-4.0/zot-config-version.cmake,
- lib/cmake/zot-4.0/zot-config.cmake,
- lib/zot-3.1/zot-config-version.cmake,
- lib/zot-3.1/zot-config.cmake: ENH: Strengthen FindPackageTest
- version check
-
- The previous change to test finding in lib/cmake/<name>* weakened
- the versioned find tests. Since the lib/cmake paths are searched
- before lib/<name>* paths the previous change skipped requiring
- the command to ignore zot-3.0 when finding zot-3.1. This change
- restores that and adds zot-4.0 to test the lib/cmake path.
-
-2008-12-16 00:04 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-15 18:48 clinton
-
- * Modules/FindQt4.cmake:
- BUG: Fix for #8247. Add QT_TRANSLATIONS_DIR pointing to
- the Qt translation files, and docs for it. Also add docs
- for QT_BINARY_DIR.
-
-2008-12-15 17:19 fbertel
-
- * Source/kwsys/: ProcessUNIX.c, SystemInformation.cxx: COMP:Fixed
- warnings.
-
-2008-12-15 13:30 king
-
- * Source/: cmDocumentVariables.cxx, cmTarget.cxx: BUG: Fix
- <CONFIG>_POSTFIX property/variable docs
-
- The CMAKE_<CONFIG>_POSTFIX variable and <CONFIG>_POSTFIX property
- were not documented. This updates the CMAKE_DEBUG_POSTFIX and
- DEBUG_POSTFIX documentation to refer to the more general
- variable/property. It also clarifies that the variable is used
- as the property default only for non-executable targets. See
- issue #7868.
-
-2008-12-14 00:04 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-12 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-11 22:05 lowman
-
- * Modules/FindCxxTest.cmake: ENH: Added FindCxxTest module to
- assist others in using the CxxTest unit testing framework within
- CTest
-
-2008-12-11 15:55 david.cole
-
- * Tests/ExternalProject/CMakeLists.txt: BUG: One more conditional
- in the ExternalProject test to prevent build errors of Tutorial
- Step5 on Win98 using Visual Studio 6 when the path length of its
- build tree exceeds 72 characters. Crazy, perhaps. But this fixes
- the last real dashboard failure of the ExternalProject test.
-
-2008-12-11 14:35 hoffman
-
- * Tests/CMakeLists.txt: ENH: remove some verbosity to reduce test
- time
-
-2008-12-11 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-10 11:30 david.cole
-
- * Tests/ExternalProject/CMakeLists.txt: BUG: Prevent KWStyle
- portion of ExternalProject test from configuring, building,
- installing and testing on WATCOM dashboards. WATCOM STL support
- is still under development.
-
-2008-12-10 10:50 david.cole
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmLocalVisualStudio6Generator.cxx: STYLE: Fix line length style
- violations.
-
-2008-12-10 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-09 16:07 david.cole
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmLocalVisualStudio6Generator.cxx, cmake.cxx: COMP: Fix the
- ExternalProject test for Visual Studio 6. Visual Studio 6 *.dsp
- files cannot have hyphens in them. Add utility function
- GetVS6TargetName to replace hyphens with underscores when
- generating *.dsp file names. Use the function everywhere
- necessary in the VS6 generators. And, a workaround: VS6 uses
- ".\Debug" (for example) as an "$(IntDir)" value - strip any
- leading ".\" when processing a --config argument in the cmake
- --build handling code.
-
-2008-12-09 15:31 david.cole
-
- * Modules/AddExternalProject.cmake: ENH: Default to the same cmake
- used for configuring when building and installing. If none
- specified default to the cmake used to configure the
- outer/aggregating project.
-
-2008-12-09 14:07 king
-
- * Source/cmFindPackageCommand.cxx,
- Tests/FindPackageTest/CMakeLists.txt,
- Tests/FindPackageTest/lib/zot-3.1/zot-config-version.cmake,
- Tests/FindPackageTest/lib/zot-3.1/zot-config.cmake: ENH: Add
- useful search locations to find_package
-
- This teaches find_package to search
-
- <prefix>/(share|lib)/cmake/<name>*/
-
- for package configuration files. Packages that do not already
- have files in a <prefix>/lib/<name>* directory can use this
- location to avoid cluttering the lib directory.
-
-2008-12-09 14:07 king
-
- * Source/cmFindPackageCommand.cxx: STYLE: Remove old TODO comment
- in find_package
-
- Versioning has been introduced to find_package, so the comment
- about it is out of date.
-
-2008-12-09 10:56 david.cole
-
- * Templates/TestDriver.cxx.in: COMP: Don't emit old style cast
- warning when configured as C++ but still allow being configured
- as C. Thanks to Monsieur Francois Bertel for the patch.
-
-2008-12-09 10:08 king
-
- * Source/: cmFindPackageCommand.cxx, cmFindPackageCommand.h: ENH:
- Preserve <pkg>_FIND_XXX vars in find_package
-
- When the find_package command loads a module it sets several
- <pkg>_FIND_XXX variables to communicate information about the
- command invocation to the module. This restores the original
- state of the variables when the command returns. This behavior
- is useful when a find-module recursively calls find_package with
- NO_MODULE so that the inner call does not change the values in
- the find-module.
-
-2008-12-09 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-08 17:39 hoffman
-
- * Modules/FindSquish.cmake: file FindSquish.cmake was added on
- branch CMake-2-6 on 2008-12-31 15:14:25 +0000
-
-2008-12-08 17:39 hoffman
-
- * Modules/SquishRunTestCase.bat: file SquishRunTestCase.bat was
- added on branch CMake-2-6 on 2008-12-31 15:14:28 +0000
-
-2008-12-08 17:39 hoffman
-
- * Modules/SquishRunTestCase.sh: file SquishRunTestCase.sh was added
- on branch CMake-2-6 on 2008-12-31 15:14:29 +0000
-
-2008-12-08 17:39 hoffman
-
- * Modules/SquishTestScript.cmake: file SquishTestScript.cmake was
- added on branch CMake-2-6 on 2008-12-31 15:14:29 +0000
-
-2008-12-08 17:39 davisb
-
- * Modules/: FindSquish.cmake, SquishRunTestCase.bat,
- SquishRunTestCase.sh, SquishTestScript.cmake: ENH: adding
- functionality for finding Squish, adding Squish tests from CMake,
- and running Squish tests from ctest
-
-2008-12-08 14:58 david.cole
-
- * Modules/AddExternalProject.cmake: BUG: Make sure all directories
- used as working directories exist at CMake configure time as well
- as having custom commands that create them. Necessary for the
- Borland Makefiles generator to generate short path names in the
- makefile build rules. Also, make sure all custom commands chain
- together properly through the use of the sentinel files.
-
-2008-12-08 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-07 19:36 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx: STYLE: fix link length
- issues
-
-2008-12-07 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-06 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-05 17:54 david.cole
-
- * Tests/ExternalProject/CMakeLists.txt: COMP: No-op. White space
- only change to trigger a re-run of the ExternalProject test on
- the QNX continuous dashboard to pick up the latest KWStyle
- changes.
-
-2008-12-05 17:18 david.cole
-
- * Tests/ExternalProject/CMakeLists.txt: COMP: No-op. White space
- only change to trigger a re-run of the ExternalProject test on
- the QNX continuous dashboard to pick up the latest KWStyle
- changes.
-
-2008-12-05 16:46 david.cole
-
- * Tests/ExternalProject/CMakeLists.txt: COMP: No-op. White space
- only change to trigger a re-run of the ExternalProject test on
- the QNX continuous dashboard to pick up the latest KWStyle
- changes.
-
-2008-12-05 16:13 david.cole
-
- * Tests/ExternalProject/CMakeLists.txt: COMP: No-op. White space
- only change to trigger a re-run of the ExternalProject test on
- the QNX continuous dashboard to pick up the latest KWStyle
- changes.
-
-2008-12-05 15:18 david.cole
-
- * Modules/AddExternalProject.cmake,
- Tests/ExternalProject/CMakeLists.txt: ENH: Make it easier to use
- configure/make/make-install as the build steps for an external
- project. Add capability of customizing the download step. Add
- tests of empty projects. Better comments and error checking in
- AddExternalProject.cmake. In tests, use KWStyle from CVSHEAD to
- see if QNX continuous can build the latest KWStyle. Make KWStyle
- test depend on all previous test external projects so it builds
- last to catch other issues before any KWStyle compile errors.
-
-2008-12-05 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-04 15:30 david.cole
-
- * Tests/ExternalProject/: CMakeLists.txt, TryCheckout.cmake: ENH:
- Use a TryCheckout technique to decide whether or not to attempt
- building the projects that depend on a cvs or svn download
- method.
-
-2008-12-04 13:27 david.cole
-
- * Modules/AddExternalProject.cmake, Modules/DownloadFile.cmake,
- Modules/RepositoryInfo.txt.in, Modules/UntarFile.cmake,
- Tests/CMakeLists.txt, Tests/ExternalProject/CMakeLists.txt,
- Tests/ExternalProject/Step1.tar, Tests/ExternalProject/Step1.tgz,
- Tests/ExternalProject/Step1NoDir.tar,
- Tests/ExternalProject/Step1NoDir.tgz: ENH: First draft of
- add_external_project functionality. Tweaks, dashboard fixing,
- more tests and documentation certain to follow as it gets used by
- others...
-
-2008-12-04 10:51 hoffman
-
- * Source/kwsys/SystemInformation.cxx: BUG: fix cpu info string
-
-2008-12-04 09:12 hoffman
-
- * Modules/GetPrerequisites.cmake: BUG: make sure list is not size 0
- before sort
-
-2008-12-04 09:09 hoffman
-
- * Source/CPack/cmCPackBundleGenerator.cxx: ENH: allow startup
- command to be optional
-
-2008-12-04 08:57 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx: BUG: fix for bug #8216
-
-2008-12-04 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-03 16:13 hoffman
-
- * Modules/: FindCurses.cmake, Platform/Haiku.cmake: ENH: fix curses
- on haiku
-
-2008-12-03 15:35 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx,
- Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate,
- Templates/EXEWinHeader.dsptemplate,
- Templates/staticLibHeader.dsptemplate: BUG: fix for rc and vs6
-
-2008-12-03 14:37 hoffman
-
- * Modules/CPackRPM.cmake: BUG: #7904 add rpm package depend
-
-2008-12-03 11:21 hoffman
-
- * Utilities/cmcurl/Testing/curltest.c: ENH: disable ftp test on
- branch
-
-2008-12-03 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-02 21:44 hoffman
-
- * Tests/Fortran/: foo.c, foo.f, mysub.f: ENH: add missing files
-
-2008-12-02 16:40 hoffman
-
- * Utilities/cmcurl/Testing/curltest.c: ENH: disable ftp check
- because it is no longer active on public
-
-2008-12-02 07:07 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Modules/CMakeASM-ATTInformation.cmake,
- Modules/CMakeDetermineASM-ATTCompiler.cmake,
- Modules/CMakeDetermineASMCompiler.cmake,
- Modules/CMakeDetermineFortranCompiler.cmake,
- Modules/CMakeTestASM-ATTCompiler.cmake, Modules/CTest.cmake,
- Modules/FindQt4.cmake, Modules/FortranCInterface.cmake,
- Modules/FortranCInterface.h.in,
- Modules/InstallRequiredSystemLibraries.cmake,
- Modules/Platform/SunOS-SunPro-Fortran.cmake,
- Modules/Platform/Windows-g77.cmake,
- Source/cmIncludeExternalMSProjectCommand.h,
- Source/cmInstallTargetGenerator.cxx, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmake.cxx,
- Source/CTest/cmCTestScriptHandler.cxx,
- Source/CTest/cmCTestTestCommand.cxx,
- Source/CTest/cmCTestTestCommand.h,
- Source/kwsys/CTestConfig.cmake, Templates/TestDriver.cxx.in,
- Tests/Fortran/CMakeLists.txt, Utilities/cmcurl/CMakeLists.txt:
- ENH: merge in RC 5
-
-2008-12-02 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-12-01 14:41 david.cole
-
- * Source/cmGlobalMSYSMakefileGenerator.cxx: BUG: Do not require
- CMAKE_AR in the MSYS Makefiles generator when enabling language
- "NONE".
-
-2008-12-01 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-30 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-29 00:05 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-28 10:50 david.cole
-
- * Source/cmCTest.h: STYLE: Fix line length style violation.
-
-2008-11-28 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-27 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-26 16:19 hoffman
-
- * Utilities/cmcurl/CMakeLists.txt: ENH: fix warning on HPUX
-
-2008-11-26 15:41 david.cole
-
- * Source/cmSystemTools.cxx: COMP: Using the proper type for local
- variables can eliminate compiler warnings.
-
-2008-11-26 14:38 david.cole
-
- * Source/cmCTest.cxx, Source/cmCTest.h, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h,
- Source/CTest/cmCTestBuildAndTestHandler.cxx,
- Source/CTest/cmCTestTestHandler.cxx,
- Source/CTest/cmCTestTestHandler.h, Tests/CMakeLists.txt,
- Tests/Environment/CMakeLists.txt, Tests/Environment/main.cxx:
- ENH: Implement feature request from issue 7885. Allow setting
- environment variables on a per-test basis for ctest using
- set_test_properties ENVIRONMENT.
-
-2008-11-26 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-25 16:56 clinton
-
- * Modules/FindQt4.cmake:
- BUG: Revert 1.138.
-
-2008-11-25 16:50 king
-
- * Source/cmInstallTargetGenerator.cxx: BUG: Do not map install_name
- of imported targets
-
- When we install a target on Mac, we generate a call to
- install_name_tool to fix install_name entries in the target for
- shared libraries it links. This change makes the step ignore
- entries for imported targets since their install_name will not
- change and cmTarget cannot produce a mapping for them. This
- fixes the error
-
- GetLibraryNamesInternal called on imported target: kdelibs
-
- seen by kde folks.
-
-2008-11-25 09:52 perera
-
- * Templates/TestDriver.cxx.in: BUG: the return value of scanf
- should not be ignored
-
-2008-11-25 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-24 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-23 22:07 hoffman
-
- * Source/kwsys/CTestConfig.cmake: ENH: make it submit to cdash
-
-2008-11-23 10:49 hoffman
-
- * Source/cmCTest.cxx, Source/CTest/cmCTestCoverageHandler.cxx,
- Source/CTest/cmCTestScriptHandler.cxx, Tests/CMakeLists.txt: ENH:
- add more debug stuff to CTestCTest2 so I can figure out redwall
-
-2008-11-23 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-22 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-21 16:37 hoffman
-
- * Tests/CMakeLists.txt: ENH: make ctest more verbose so that we can
- see failure on redwall
-
-2008-11-21 16:32 hoffman
-
- * Source/: cmMakefile.cxx, cmMakefile.h, cmSetCommand.cxx: BUG: fix
- issue with -D and cache force
-
-2008-11-21 16:10 hoffman
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt: ENH: make this
- test pass if new curl is on
-
-2008-11-21 14:57 hoffman
-
- * Source/cmIncludeExternalMSProjectCommand.h: BUG: fix for 8123
- documentation issue
-
-2008-11-21 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-20 14:06 hoffman
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt: ENH: only link in
- curl directories that exist, this will help with vs6 nmake
-
-2008-11-20 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-19 01:15 hoffman
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt: ENH: make it work
- if new curl is on
-
-2008-11-19 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-18 09:37 hoffman
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt: ENH: make it work
- if new curl is on
-
-2008-11-18 09:37 hoffman
-
- * Tests/CMakeLists.txt: ENH: add gfortran-4
-
-2008-11-18 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-17 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-16 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-15 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-14 17:45 hoffman
-
- * Modules/CMakeDetermineFortranCompiler.cmake: BUG: fix for #8089,
- fix rebuild with fortran and -D
-
-2008-11-14 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-13 17:12 david.cole
-
- * Modules/InstallRequiredSystemLibraries.cmake: BUG: Because of
- Windows registry madness, we could not find the redistributables
- directory on Win64 builds... Add a search directory based on
- devenv (CMAKE_MAKE_PROGRAM) location so we can find it despite
- the madness.
-
-2008-11-13 16:46 hoffman
-
- * Modules/FindDevIL.cmake: file FindDevIL.cmake was added on branch
- CMake-2-6 on 2009-02-04 16:44:01 +0000
-
-2008-11-13 16:46 alex
-
- * Modules/FindDevIL.cmake: BUG: the modules shipped with cmake
- don't need CMAKE_MINIMUM_REQUIRED(VERSION), because the cmake
- they are shipped with is always ok. Additionally, if a
- Find-module does CMAKE_MINIMUM_REQUIRED(), it changes the
- policies as they may be set up by the project. So this shouldn't
- be done in a Find-module (or surrounded by policy-push/pop
- commands)
-
- Alex
-
-2008-11-13 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-12 12:26 chris
-
- * Modules/FindDevIL.cmake: ENH: Added First revision of
- FindDevIL.cmake
-
-2008-11-12 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-11 16:52 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/GetPrerequisites.cmake,
- Modules/UseQt4.cmake, Source/cmGlobalGenerator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/kwsys/DynamicLoader.hxx.in: ENH: merge in fixes from head
- RC 4
-
-2008-11-11 14:03 hoffman
-
- * Tests/Fortran/CMakeLists.txt: ENH: fix gcc sun fortran mix
-
-2008-11-11 13:58 hoffman
-
- * Modules/Platform/Windows-g77.cmake: ENH: fix fortran flags on g77
- windows
-
-2008-11-11 13:58 hoffman
-
- * Modules/Platform/SunOS-SunPro-Fortran.cmake: ENH: fix fortran
- flags on sun
-
-2008-11-11 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-10 13:42 hoffman
-
- * Source/cmGlobalGenerator.cxx: BUG: fix package_source target
-
-2008-11-10 10:53 hoffman
-
- * Tests/Fortran/CMakeLists.txt: ENH: put a check in for the gnu
- sunpro case
-
-2008-11-10 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-09 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-08 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-07 16:40 hoffman
-
- * Source/kwsys/DynamicLoader.hxx.in: BUG: fix for bug 8060 Haiku
- build
-
-2008-11-07 15:56 alex
-
- * Source/CTest/cmCTestScriptHandler.cxx: ENH: load
- CMakeDetermineSystem and CMakeSystemSpecificInformation when
- executing a ctest script so the search paths are fully set up and
- variables like CMAKE_SYSTEM are available. This is useful e.g.
- for new-style ctest scripting. (these files are also loaded on
- startup by cpack, so now they behave similar). Hmmm, maybe they
- should be also loaded by cmake -P ?
-
- Alex
-
-2008-11-07 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-06 17:33 hoffman
-
- * Tests/Fortran/CMakeLists.txt: ENH: make the test pass when
- fortran is gnu and c is cl
-
-2008-11-06 10:54 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Utilities/cmcurl/CMakeLists.txt: ENH: merge in haiku build change
- from head, again...
-
-2008-11-06 09:41 hoffman
-
- * Tests/Fortran/CMakeLists.txt: ENH: add a way to fix bullseye link
- with fortran
-
-2008-11-06 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-05 18:51 alex
-
- * Modules/CMakeASM-ATTInformation.cmake: STYLE: add some comment,
- so it says at least a bit what it is good for
-
- Alex
-
-2008-11-05 17:56 clinton
-
- * Modules/FindQt4.cmake:
- BUG: Fix #7969. Fix moc output files if source dir contains
- regex characters.
-
-2008-11-05 17:27 hoffman
-
- * Modules/CMakeASM_MASMInformation.cmake: file
- CMakeASM_MASMInformation.cmake was added on branch CMake-2-6 on
- 2008-12-31 15:14:18 +0000
-
-2008-11-05 17:27 hoffman
-
- * Modules/CMakeDetermineASM_MASMCompiler.cmake: file
- CMakeDetermineASM_MASMCompiler.cmake was added on branch
- CMake-2-6 on 2008-12-31 15:14:18 +0000
-
-2008-11-05 17:27 hoffman
-
- * Modules/CMakeTestASM_MASMCompiler.cmake: file
- CMakeTestASM_MASMCompiler.cmake was added on branch CMake-2-6 on
- 2008-12-31 15:14:19 +0000
-
-2008-11-05 17:27 alex
-
- * Modules/: CMakeASM_MASMInformation.cmake,
- CMakeDetermineASM-ATTCompiler.cmake,
- CMakeDetermineASMCompiler.cmake,
- CMakeDetermineASM_MASMCompiler.cmake,
- CMakeTestASM-ATTCompiler.cmake, CMakeTestASM_MASMCompiler.cmake:
- ENH: add support for the MS masm and masm64 assemblers, works
- with nmake, not (yet) with the Visual Studio generators
-
- Alex
-
-2008-11-05 16:54 clinton
-
- * Modules/UseQt4.cmake:
- BUG: Fix #7934. phonon doesn't always depend on QtDBus.
-
-2008-11-05 10:20 hoffman
-
- * Tests/Fortran/CMakeLists.txt: ENH: only call the fortran c
- interface test when compilers match
-
-2008-11-05 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-04 15:16 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Utilities/cmcurl/select.c,
- Utilities/cmcurl/CMake/CurlTests.c, Utilities/cmcurl/curl/curl.h,
- Utilities/cmtar/util.c, Utilities/cmzlib/zconf.h,
- Utilities/cmzlib/zutil.h: ENH: merge in the rest of the haiku
- changes
-
-2008-11-04 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-03 16:23 alex
-
- * Modules/CTest.cmake: STYLE: mention cdash (not only dart)
-
- Alex
-
-2008-11-03 12:15 hoffman
-
- * Tests/Fortran/CMakeLists.txt: ENH: only allow matching fortran a
- c compilers to be used
-
-2008-11-03 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-02 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-11-01 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-31 16:08 hoffman
-
- * Tests/Fortran/: CMakeLists.txt: ENH: do not error when sunpro or
- mipspro fortran used
-
-2008-10-31 07:50 hoffman
-
- * Modules/FortranCInterface.cmake: ENH: fix for intel module on
- linux
-
-2008-10-31 07:50 hoffman
-
- * Modules/FortranCInterface.cmake: file FortranCInterface.cmake was
- added on branch CMake-2-6 on 2008-12-02 12:07:37 +0000
-
-2008-10-31 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-30 17:48 hoffman
-
- * Modules/FortranCInterface.cmake: ENH: better output if module
- linkage is not found
-
-2008-10-30 17:32 hoffman
-
- * Tests/Fortran/CMakeLists.txt: ENH: add some debug stuff for the
- dashboards
-
-2008-10-30 16:50 hoffman
-
- * Modules/FortranCInterface.cmake: ENH: fix uppercase version so
- defines are not upper as well
-
-2008-10-30 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-29 19:49 hoffman
-
- * Modules/FortranCInterface.cmake: ENH: fix check for intel windows
- module mangling
-
-2008-10-29 19:34 hoffman
-
- * Modules/FortranCInterface.cmake: ENH: fix check for intel windows
- module mangling
-
-2008-10-29 17:40 hoffman
-
- * Modules/: FortranCInterface.cmake: ENH: add check for intel
- windows module mangling
-
-2008-10-29 17:37 hoffman
-
- * Modules/FortranCInterface.cmake: ENH: fix upper case
-
-2008-10-29 12:27 david.cole
-
- * Tests/: CMakeLists.txt, CPackComponents/CMakeLists.txt: ENH: Use
- settings for CPackComponents test to make it fail if the recent
- fix of cmCPackGenerator.cxx revision 1.16 ever encounters another
- regression.
-
-2008-10-29 12:24 hoffman
-
- * Modules/FortranCInterface.cmake: ENH: only check for module
- linkage if f90 is available
-
-2008-10-29 11:50 hoffman
-
- * Modules/FortranCInterface.cmake: ENH: fix for xlf module linkage
-
-2008-10-29 10:58 hoffman
-
- * Modules/FortranCInterface.cmake, Tests/Fortran/CMakeLists.txt,
- Tests/Fortran/foo.c, Tests/Fortran/foo.f, Tests/Fortran/mysub.f:
- ENH: add test for FortranCInterface
-
-2008-10-29 10:58 hoffman
-
- * Tests/Fortran/foo.c: file foo.c was added on branch CMake-2-6 on
- 2008-12-03 02:44:25 +0000
-
-2008-10-29 10:58 hoffman
-
- * Tests/Fortran/foo.f: file foo.f was added on branch CMake-2-6 on
- 2008-12-03 02:44:25 +0000
-
-2008-10-29 10:58 hoffman
-
- * Tests/Fortran/mysub.f: file mysub.f was added on branch CMake-2-6
- on 2008-12-03 02:44:25 +0000
-
-2008-10-29 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-28 19:53 hoffman
-
- * Modules/FortranCInterface.cmake: ENH: add support for g77 extra _
- at the end of functions that have an _ in the name...
-
-2008-10-28 00:03 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-27 21:42 hoffman
-
- * Modules/FortranCInterface.cmake: ENH: add support for module
- functions
-
-2008-10-27 15:31 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: make the scc
- optional
-
-2008-10-27 15:23 hoffman
-
- * Modules/: FortranCInterface.cmake, FortranCInterface.h.in: ENH:
- add fortran link discovery module
-
-2008-10-27 15:23 hoffman
-
- * Modules/FortranCInterface.h.in: file FortranCInterface.h.in was
- added on branch CMake-2-6 on 2008-12-02 12:07:37 +0000
-
-2008-10-27 13:51 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for 7839 and
- 4524
-
-2008-10-27 05:23 hoffman
-
- * Modules/FindRTI.cmake: file FindRTI.cmake was added on branch
- CMake-2-6 on 2009-02-04 16:44:12 +0000
-
-2008-10-27 05:23 gotthardp
-
- * Modules/FindRTI.cmake: BUG: Fixed CMAKE_FIND_LIBRARY_PREFIXES
- related error on Win32 systems.
-
-2008-10-25 14:25 gotthardp
-
- * Modules/FindRTI.cmake: BUG: removed unused CMakeFindFrameworks
- include
-
-2008-10-25 12:20 gotthardp
-
- * Modules/FindRTI.cmake: ENH: added a module to find M&S HLA RTI
-
-2008-10-24 23:53 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-24 17:48 clinton
-
- * Modules/FindQt4.cmake:
- BUG: Fix find of assistant on Mac.
-
-2008-10-24 11:39 david.cole
-
- * Modules/GetPrerequisites.cmake, Tests/CMakeTests/CMakeLists.txt:
- ENH: Activate GetPrerequisites code on Linux. Thanks to Mike
- Arthur for finishing it off.
-
-2008-10-24 11:18 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, bootstrap,
- Modules/CMakeASMInformation.cmake,
- Modules/CMakeCInformation.cmake,
- Modules/CMakeCXXInformation.cmake,
- Modules/CMakeFortranCompilerId.F90.in,
- Modules/CMakeFortranInformation.cmake,
- Modules/CMakePlatformId.h.in, Modules/CMakeRCInformation.cmake,
- Modules/CheckForPthreads.c, Modules/FindBoost.cmake,
- Modules/FindGLUT.cmake, Modules/FindMFC.cmake,
- Modules/FindPerlLibs.cmake, Modules/FindQt4.cmake,
- Modules/FindTclStub.cmake, Modules/FindwxWidgets.cmake,
- Modules/Platform/Linux.cmake, Modules/Platform/OpenBSD.cmake,
- Modules/Platform/Windows-gcc.cmake, Source/CMakeLists.txt,
- Source/cmAddCustomTargetCommand.cxx,
- Source/cmAddCustomTargetCommand.h, Source/cmCTest.cxx,
- Source/cmCallVisualStudioMacro.cxx, Source/cmCommand.h,
- Source/cmComputeLinkInformation.cxx,
- Source/cmComputeLinkInformation.h, Source/cmDependsJavaLexer.cxx,
- Source/cmDependsJavaLexer.h, Source/cmDocumentation.cxx,
- Source/cmDocumentation.h, Source/cmDocumentationFormatter.cxx,
- Source/cmDocumentationFormatter.h,
- Source/cmDocumentationFormatterDocbook.cxx,
- Source/cmDocumentationFormatterDocbook.h,
- Source/cmDocumentationFormatterHTML.cxx,
- Source/cmDocumentationFormatterHTML.h,
- Source/cmDocumentationFormatterMan.cxx,
- Source/cmDocumentationFormatterMan.h,
- Source/cmEnableLanguageCommand.cxx, Source/cmFindBase.cxx,
- Source/cmFindCommon.cxx, Source/cmFindLibraryCommand.cxx,
- Source/cmFindPackageCommand.cxx, Source/cmGlobalGenerator.cxx,
- Source/cmGlobalGenerator.h,
- Source/cmGlobalNMakeMakefileGenerator.cxx,
- Source/cmGlobalVisualStudio71Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalXCodeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.h, Source/cmIfCommand.cxx,
- Source/cmIfCommand.h, Source/cmInstallCommand.cxx,
- Source/cmInstallTargetGenerator.cxx,
- Source/cmInstallTargetGenerator.h, Source/cmListFileCache.cxx,
- Source/cmListFileCache.h, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalUnixMakefileGenerator3.h,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmMacroCommand.cxx, Source/cmMakefile.cxx,
- Source/cmMakefile.h,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.h,
- Source/cmOutputRequiredFilesCommand.cxx, Source/cmPolicies.cxx,
- Source/cmPolicies.h, Source/cmSetTargetPropertiesCommand.h,
- Source/cmSourceFile.cxx, Source/cmSystemTools.cxx,
- Source/cmTarget.cxx, Source/cmWhileCommand.cxx, Source/cmake.cxx,
- Source/cmakemain.cxx, Source/CPack/cmCPackBundleGenerator.cxx,
- Source/CPack/cmCPackGenerator.cxx,
- Source/CPack/cmCPackGenerator.h,
- Source/CPack/cmCPackNSISGenerator.cxx,
- Source/CPack/cmCPackNSISGenerator.h,
- Source/CPack/cmCPackPackageMakerGenerator.cxx,
- Source/CTest/cmCTestUpdateHandler.cxx,
- Source/CursesDialog/cmCursesMainForm.cxx,
- Source/kwsys/DynamicLoader.cxx,
- Source/kwsys/DynamicLoader.hxx.in, Source/kwsys/ProcessUNIX.c,
- Source/kwsys/SystemInformation.cxx, Source/kwsys/SystemTools.cxx,
- Source/kwsys/testDynamicLoader.cxx, Source/kwsys/testProcess.c,
- Tests/CMakeLists.txt, Tests/CTestUpdateCVS.cmake.in,
- Tests/CTestUpdateCommon.cmake, Tests/CTestUpdateSVN.cmake.in,
- Tests/Complex/CMakeLists.txt, Tests/Complex/cmTestConfigure.h.in,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexOneConfig/cmTestConfigure.h.in,
- Tests/ComplexRelativePaths/CMakeLists.txt,
- Tests/ComplexRelativePaths/cmTestConfigure.h.in,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/complex.cxx,
- Tests/CustomCommand/CMakeLists.txt,
- Tests/FindPackageTest/CMakeLists.txt,
- Tests/FindPackageTest/lib/RecursiveA/recursivea-config.cmake,
- Tests/FindPackageTest/lib/zot/zot-config-version.cmake,
- Tests/FindPackageTest/lib/zot/zot-config.cmake,
- Modules/FindCoin3D.cmake, Modules/Platform/Haiku.cmake,
- Tests/FindPackageTest/FindRecursiveA.cmake,
- Tests/FindPackageTest/FindRecursiveB.cmake,
- Tests/FindPackageTest/FindRecursiveC.cmake: ENH: merge in changes
- for 2.6.3 RC 1
-
-2008-10-23 23:53 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-22 23:53 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-21 23:54 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-20 23:54 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-20 13:31 clinton
-
- * Modules/FindQt4.cmake:
- BUG: Fix regression in finding QtAssistant
-
-2008-10-20 11:50 miguelf
-
- * Modules/FindwxWidgets.cmake: BUG: Fix to find wxWidgets_LIB_DIR
- for windows platform more generally; supports gcc, nmake,
- and visual studio in all configurations.
-
-2008-10-19 23:54 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-19 21:14 miguelf
-
- * Modules/FindwxWidgets.cmake: BUG: Added unicode paths for
- wxWidgets_LIB_DIR search and the 2.8.9 suffix for
- wxWidgets_ROOT_DIR search.
-
-2008-10-19 16:16 king
-
- * Tests/CMakeLists.txt: ENH: Enable cvs update test with CMake
- before 2.6
-
- When CMake is built by CMake 2.4 or lower the FindCVS module is
- not available. In that case we activiate CTest.UpdateCVS by
- searching for the cvs command directly.
-
-2008-10-19 11:53 hoffman
-
- * Tests/CTestUpdateCVS.cmake.in: file CTestUpdateCVS.cmake.in was
- added on branch CMake-2-6 on 2008-10-24 15:18:56 +0000
-
-2008-10-19 11:53 hoffman
-
- * Tests/CTestUpdateCommon.cmake: file CTestUpdateCommon.cmake was
- added on branch CMake-2-6 on 2008-10-24 15:18:56 +0000
-
-2008-10-19 11:53 hoffman
-
- * Tests/CTestUpdateSVN.cmake.in: file CTestUpdateSVN.cmake.in was
- added on branch CMake-2-6 on 2008-10-24 15:18:56 +0000
-
-2008-10-19 11:53 king
-
- * Tests/: CMakeLists.txt, CTestUpdateCVS.cmake.in,
- CTestUpdateCommon.cmake, CTestUpdateSVN.cmake.in: ENH: Test CTest
- update logic with VCS tools
-
- This creates new tests "CTest.UpdateSVN" and "CTest.UpdateCVS".
- They test that the Update.xml produced by CTest for a
- version-controlled project contains entries for files added,
- changed, and removed.
-
-2008-10-19 10:44 hoffman
-
- * Source/CTest/cmCTestUpdateHandler.cxx: BUG: use LC_MESSAGES = C
- instead of en_EN
-
-2008-10-18 23:54 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-18 12:07 king
-
- * Source/CTest/cmCTestUpdateHandler.cxx: BUG: Fix recognition of
- files deleted from CVS
-
- The output of "cvs update" contains a line such as one of
-
- cvs update: `foo.txt' is no longer in the repository
- cvs update: foo.txt is no longer in the repository
- cvs update: warning: foo.txt is not (any longer) pertinent
-
- when file "foo.txt" has been removed in the version to which the
- update occurs. Previously only the first case would be
- recognized. This fixes the regular expression to match all these
- cases.
-
-2008-10-18 10:31 hoffman
-
- * Tests/CMakeBuildTest.cmake.in: ENH: fix test to work with
- in-source testing of CMake
-
-2008-10-17 23:54 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-17 12:52 king
-
- * Source/kwsys/CMakeLists.txt: BUG: Fix KWSys SystemInformation
- dependencies
-
- The SystemInformation component of KWSys requires Process and
- FundamentalType.
-
-2008-10-17 12:51 king
-
- * Source/kwsys/CMakeLists.txt: BUG: Enforce KWSys component
- dependencies early
-
- KWSys component dependencies must be enforced before any tests
- for enabled components are done. This moves the dependency
- enforcement code to be as early as possible.
-
-2008-10-17 11:29 barre
-
- * Source/kwsys/: SystemInformation.cxx: ENH: fix for VS6 and Cygwin
-
-2008-10-16 23:54 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-16 19:30 barre
-
- * Source/kwsys/: SystemInformation.cxx, SystemTools.cxx,
- SystemTools.hxx.in: ENH: fix for Vista
-
-2008-10-16 11:34 barre
-
- * Source/kwsys/: SystemTools.cxx: ENH: oops
-
-2008-10-15 23:54 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-15 23:24 barre
-
- * Source/kwsys/: SystemTools.cxx: ENH: fix for Windows Vista
-
-2008-10-15 18:05 clinton
-
- * Modules/FindQt4.cmake:
- ENH: better way to find uic and moc.
-
-2008-10-15 16:56 hoffman
-
- * Tests/CMakeBuildTest.cmake.in: ENH: run the right cmake
-
-2008-10-15 16:50 hoffman
-
- * Tests/CMakeBuildTest.cmake.in: ENH: run the right cmake
-
-2008-10-15 15:13 hoffman
-
- * Source/cmake.cxx: ENH: fix bootstrap test and warning
-
-2008-10-15 13:56 hoffman
-
- * Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmProjectCommand.cxx, Source/cmake.cxx, Source/cmake.h,
- Source/cmakemain.cxx, Tests/CMakeBuildTest.cmake.in,
- Tests/CMakeLists.txt: BUG: 4244, add a --build option to cmake
- that can build projects configured by CMake
-
-2008-10-15 10:49 hoffman
-
- * Modules/CMakeDetermineRCCompiler.cmake: ENH: remove extra set
-
-2008-10-15 10:40 king
-
- * Source/: cmLocalUnixMakefileGenerator3.h,
- cmMakefileTargetGenerator.cxx: BUG: Fix color check for
- dependency scanning
-
- Generation of color rules for dependency scanning messages did
- not account for disabling color at generation time. See issue
- #7814.
-
-2008-10-15 10:21 king
-
- * Source/cmMakefileTargetGenerator.cxx: ENH: Support object lists
- longer than 128K on MSVC
-
- We use response files to list object files for the MSVC linker.
- The linker complains if any response file is greater than 128K,
- so we split the object file lists into multiple response files.
-
-2008-10-15 10:21 king
-
- * Source/: cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h: ENH:
- Factor out listing of objects on command line
-
- Previously generation of object file lists for linker and
- cleaning command lines was duplicated for library and executable
- target generators. This combines the implementations.
-
-2008-10-15 10:21 king
-
- * Source/: cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx: STYLE: Remove computed but
- unused variable.
-
- An old list of object files for cleaning seems to have been left
- behind. This removes it.
-
-2008-10-15 09:35 david.cole
-
- * Source/CPack/cmCPackGenerator.cxx: BUG: Use the DESTDIR prefix
- when creating the directory in CPack when CPACK_SET_DESTDIR is
- ON. Thanks to Petri Hodju for reporting this regression to the
- CMake mailing list:
- http://www.cmake.org/pipermail/cmake/2008-October/024563.html.
-
-2008-10-14 23:54 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-14 16:07 hoffman
-
- * Modules/: CMakeASMInformation.cmake, CMakeCInformation.cmake,
- CMakeCXXInformation.cmake, CMakeDetermineRCCompiler.cmake,
- CMakeFortranInformation.cmake, CMakeRCInformation.cmake,
- Platform/Windows-cl.cmake: ENH: fix problem where rc language
- recursively included itself because CMAKE_BASE_NAME was used from
- c compiler, do the same fix for other uses of CMAKE_BASE_NAME
-
-2008-10-14 13:56 hoffman
-
- * Source/cmEnableLanguageCommand.cxx: ENH: revert last change, as
- it fails tests
-
-2008-10-14 11:42 hoffman
-
- * Modules/Platform/Windows-cl.cmake,
- Source/cmGlobalNMakeMakefileGenerator.cxx,
- Source/cmEnableLanguageCommand.cxx: ENH: better error message for
- mis-configured nmake environment
-
-2008-10-14 08:43 king
-
- * Source/cmFindBase.cxx: ENH: Clarify PATH_SUFFIXES documentation
-
- This clarifies documentation of the find_* commands'
- PATH_SUFFIXES option. The option adds paths with the suffixes
- but does not remove the paths without the suffixes.
-
-2008-10-13 23:54 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-13 22:12 clinton
-
- * Modules/FindQt4.cmake:
- ENH: When changing the qmake pointed to, re-find all of Qt's
- includes, libraries, etc... This makes it much easier to
- switch between Qt versions.
-
-2008-10-13 19:39 clinton
-
- * Modules/FindQt4.cmake:
- BUG: Fix find of dbus dependency in Qt 4.4
-
-2008-10-13 09:58 king
-
- * Source/cmFindBase.cxx: BUG: Fix find_* search order with path
- suffixes
-
- In cmFindBase we were searching all path suffixes appended to all
- paths before considering the paths without any suffixes. Instead
- we should consider each path with and without suffixes before
- moving to the next path. See issue #7783.
-
-2008-10-12 23:54 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-11 23:55 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-11 15:35 king
-
- * Source/cmDocumentation.cxx: COMP: Fix assignment inside condition
-
-2008-10-11 12:02 king
-
- * Source/cmListFileCache.h: BUG: Make sure context info is always
- initialized
-
- This adds a missing default constructor to cmListFileContext that
- makes sure the line number is initialized to zero. A zero line
- number will indicate a generated context.
-
-2008-10-10 23:55 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-10 17:43 david.cole
-
- * Modules/FindMFC.cmake: BUG: Fix for issue #5193. Base result of
- FindMFC.cmake mostly on a TRY_COMPILE result. Gives accurate
- answer about whether MFC is available.
-
-2008-10-10 17:08 david.cole
-
- * Source/CPack/cmCPackNSISGenerator.cxx: BUG: Fix issue #7800.
- Enable CPack to find the NSIS installer on Windows 2000.
-
-2008-10-10 11:23 king
-
- * Source/: cmDocumentation.cxx, cmDocumentation.h,
- cmDocumentationFormatter.cxx, cmDocumentationFormatter.h,
- cmDocumentationFormatterDocbook.cxx,
- cmDocumentationFormatterDocbook.h,
- cmDocumentationFormatterHTML.cxx, cmDocumentationFormatterHTML.h,
- cmDocumentationFormatterMan.cxx, cmDocumentationFormatterMan.h:
- ENH: Improve generated documentation formatting
-
- Applying patch provided in issue #7797.
-
- Fixes to man-pages: - Character '-' must be espaced as '\-' -
- Surround preformatted text with '.nf' and '.fi' to adjust filling
- - Give every page a NAME section for indexing by mandb - Pass
- the man page filename without extension to .TH in its header
-
- Also added a title to the HTML header.
-
-2008-10-10 11:23 king
-
- * Source/cmDocumentation.cxx: BUG: Fix help type for filenames with
- many dots
-
- The help page type should be determined using only the extension
- after the last dot. See issue #7797.
-
-2008-10-10 11:23 king
-
- * Source/kwsys/SystemTools.cxx: STYLE: Fix typo in
- GetFilenameLastExtension docs
-
- See issue #7797.
-
-2008-10-10 10:48 hoffman
-
- * Source/cmOutputRequiredFilesCommand.cxx: BUG: fix for 5071,
- report error if output file can not be opened
-
-2008-10-10 10:20 hoffman
-
- * Source/cmakemain.cxx: BUG: fix for 3778, better docs for -E
-
-2008-10-10 09:36 hoffman
-
- * Source/CTest/cmCTestUpdateHandler.cxx: ENH: play it safe and
- restore the value of LC_MESSAGES
-
-2008-10-10 09:23 hoffman
-
- * Source/CTest/cmCTestUpdateHandler.cxx: ENH: make sure LC_MESSAGES
- is en_EN so that we can parse the output of svn and cvs
-
-2008-10-10 08:11 king
-
- * Source/cmGlobalXCodeGenerator.h: STYLE: Fix line-too-long
-
-2008-10-09 23:55 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-09 17:04 king
-
- * Modules/FindBoost.cmake: BUG: Avoid boost versions less than
- required
-
- Construction of a list of candidate versions used to produce
- search paths now discards versions less than requested by the
- user. See issue #7783.
-
-2008-10-09 15:30 king
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h,
- cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx: ENH: Fix optional use of relative
- paths.
-
- These changes refactor cmLocalGenerator methods Convert and
- ConvertToOutputForExisting to support references inside the build
- tree using relative paths. After this commit, all tests pass
- with Makefile generators when relative paths are enabled by
- default. See issue #7779.
-
-2008-10-09 15:08 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: Simplify makefile
- ref to interactive editor
-
- The CMAKE_EDIT_COMMAND make variable need not be constructed with
- ConvertToOutputForExisting. The CMAKE_COMMAND variable works
- fine without it.
-
-2008-10-09 15:07 king
-
- * Source/: cmLocalGenerator.cxx, cmMakefileTargetGenerator.cxx:
- ENH: Simplify framework -F flag generation
-
- This removes an unnecessary use of ConvertToOutputForExisting
- which is needed only on Windows to consider short-pathing.
-
-2008-10-09 13:52 king
-
- * Modules/CMakeRCInformation.cmake: BUG: Pass definitions to rc
- with Makefiles
-
- The build rule to run the resource compiler on Windows with a
- Makefiles generator should include the placeholder to add the
- definition flags. See issue #7769.
-
-2008-10-09 13:52 king
-
- * Source/cmMakefile.cxx: BUG: Finish fix to old DEFINITIONS
- property
-
- The cmMakefile::DefineFlagsOrig ivar was created to help preserve
- the old DEFINITIONS property behavior now that definitions are
- moved from DefineFlags to the COMPILE_DEFINITIONS directory
- property. This fixes propagation of the original value into
- subdirectories.
-
-2008-10-09 13:00 hoffman
-
- * Source/CTest/cmCTestBuildHandler.cxx: BUG: fix for 5218 Error
- message pattern match for VS8
-
-2008-10-09 12:49 hoffman
-
- * Source/CursesDialog/cmCursesMainForm.cxx: BUG: fix for 4026,
- display a message if ccmake has errors
-
-2008-10-09 11:01 king
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- ENH: Put custom target sources in Xcode projects
-
- Source files in custom targets are now placed in the Xcode
- project for convenient editing. See issue #5848.
-
-2008-10-09 11:01 king
-
- * Source/cmAddCustomTargetCommand.cxx,
- Source/cmAddCustomTargetCommand.h,
- Tests/CustomCommand/CMakeLists.txt: ENH: Allow custom sources in
- custom targets
-
- This adds a SOURCES option to ADD_CUSTOM_TARGET, enabling users
- to specify extra sources for inclusion in the target. Such
- sources may not build, but will show up in the IDE project files
- for convenient editing. See issue #5848.
-
-2008-10-09 11:00 king
-
- * Source/: cmMakefile.cxx, cmMakefile.h: ENH: Return utility target
- after creation
-
- After creating a utility target with AddUtilityCommand, return a
- pointer to the cmTarget instance so the caller may further modify
- the target as needed.
-
-2008-10-08 23:55 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-08 17:58 alex
-
- * Source/CTest/cmCTestTestCommand.h: STYLE: lowercase ctest_test()
- in the documentation
-
- Alex
-
-2008-10-08 14:19 david.cole
-
- * Source/: CMakeLists.txt, cmCallVisualStudioMacro.cxx: BUG: Fix
- issue #7533. Revise fix for issue #7058 to use pragma comment
- libs in the source file rather than using TARGET_LINK_LIBRARIES
- in CMakeLists.txt because of the complex ifdef logic used in
- correct copies of comdef.h.
-
-2008-10-08 10:56 hoffman
-
- * Tests/FindPackageTest/FindRecursiveA.cmake: file
- FindRecursiveA.cmake was added on branch CMake-2-6 on 2008-10-24
- 15:20:35 +0000
-
-2008-10-08 10:56 king
-
- * Source/cmFindPackageCommand.cxx,
- Tests/FindPackageTest/FindRecursiveA.cmake: ENH: Remove implicit
- NO_MODULE when recursing
-
- Recently we taught find_package that the NO_MODULE option is
- implied when it is recursively invoked in a find-module. This
- behavior may be confusing because two identical calls may enter
- different modes depending on context. It also disallows the
- possibility that one find-module defers to another find-module by
- changing CMAKE_MODULE_PATH and recursively invoking find_package.
- This change reverts the feature.
-
-2008-10-07 23:55 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-07 16:46 hoffman
-
- * Source/cmTarget.cxx: ENH: add missing property definitions
-
-2008-10-07 16:23 hoffman
-
- * Source/: cmLocalVisualStudio7Generator.cxx,
- cmSetTargetPropertiesCommand.h: BUG: fix for 4524, add support
- for target properties to set vs source code control information
-
-2008-10-07 10:35 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Fix #7784. Fix link of glib when needed.
-
-2008-10-06 23:55 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-06 11:04 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Fix convenience
- rule working directory
-
- We generate convenience rules to build object files, preprocessed
- outputs, and assembly outputs of source files individually with
- make rules. This removes a redundant working directory change
- when more than one target builds the same source file.
-
-2008-10-05 23:55 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-04 23:55 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-03 23:55 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-03 10:41 hoffman
-
- * Tests/FindPackageTest/lib/zot/zot-config-version.cmake: file
- zot-config-version.cmake was added on branch CMake-2-6 on
- 2008-10-24 15:19:03 +0000
-
-2008-10-03 10:41 hoffman
-
- * Tests/FindPackageTest/lib/zot/zot-config.cmake: file
- zot-config.cmake was added on branch CMake-2-6 on 2008-10-24
- 15:19:06 +0000
-
-2008-10-03 10:41 king
-
- * Source/cmFindPackageCommand.cxx,
- Tests/FindPackageTest/lib/zot/zot-config-version.cmake,
- Tests/FindPackageTest/lib/zot/zot-config.cmake: ENH: Add
- UNSUITABLE result to package version test
-
- Package version test files may now declare that they are
- unsuitable for use with the project testing them. This is
- important when the version being tested does not provide a
- compatible ABI with the project target environment.
-
-2008-10-03 10:40 hoffman
-
- * Tests/FindPackageTest/lib/RecursiveA/recursivea-config.cmake:
- file recursivea-config.cmake was added on branch CMake-2-6 on
- 2008-10-24 15:19:01 +0000
-
-2008-10-03 10:40 hoffman
-
- * Tests/FindPackageTest/FindRecursiveB.cmake: file
- FindRecursiveB.cmake was added on branch CMake-2-6 on 2008-10-24
- 15:20:35 +0000
-
-2008-10-03 10:40 hoffman
-
- * Tests/FindPackageTest/FindRecursiveC.cmake: file
- FindRecursiveC.cmake was added on branch CMake-2-6 on 2008-10-24
- 15:20:35 +0000
-
-2008-10-03 10:40 king
-
- * Source/cmFindPackageCommand.cxx,
- Tests/FindPackageTest/CMakeLists.txt,
- Tests/FindPackageTest/FindRecursiveA.cmake,
- Tests/FindPackageTest/FindRecursiveB.cmake,
- Tests/FindPackageTest/FindRecursiveC.cmake,
- Tests/FindPackageTest/lib/RecursiveA/recursivea-config.cmake:
- ENH: Help recursive find_package calls in modules
-
- These changes teach find_package to behave nicely when invoked
- recursively inside a find-module for the same package. The
- module will never be recursively loaded again. Version arguments
- are automatically forwarded.
-
-2008-10-03 10:39 king
-
- * Source/cmFindPackageCommand.cxx: ENH: Warn and ignore EXACT
- without version
-
- If the find_package command is invoked with the EXACT option but
- without a version, warn and ignore the option.
-
-2008-10-03 10:11 king
-
- * Source/: cmInstallTargetGenerator.cxx,
- cmInstallTargetGenerator.h: BUG: Fix config test for target
- install rules
-
- In single-configuration generators a target installation rule
- should apply to all configurations for which the INSTALL command
- was specified. The configuration in which the target is built
- does not matter.
-
- In multi-configuration generators each installation rule must be
- associated with a particular build configuration to install the
- proper file. The set of configurations for which rules are
- generated is the intersection of the build configurations and
- those for which the INSTALL command was specified.
-
-2008-10-03 08:16 hoffman
-
- * Source/cmFindCommon.cxx: ENH: undo bad checkin
-
-2008-10-02 23:55 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-02 18:48 alex
-
- * Source/cmTarget.cxx: STYLE: add documentation for the "TYPE"
- target property
-
- Alex
-
-2008-10-02 13:49 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: BUG: 7763 fix, OPTIMIZATION
- was not set right. Also fix for BUG 7764, put XCODE_ATTRIBUTES_
- last
-
-2008-10-02 12:11 hoffman
-
- * Modules/Platform/Windows-gcc.cmake: BUG: fix for 5705, link in
- standard libs for mingw
-
-2008-10-02 09:18 hoffman
-
- * Source/: cmFindCommon.cxx, CPack/cmCPackBundleGenerator.cxx,
- CPack/cmCPackGenerator.cxx, CTest/cmProcess.cxx: STYLE: fix line
- length issues
-
-2008-10-01 23:56 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-10-01 16:16 hoffman
-
- * Source/cmake.cxx: BUG: fix for 6280, -E time was not sending back
- return value
-
-2008-10-01 16:10 hoffman
-
- * Modules/FindPerlLibs.cmake: ENH: find perl with FindPerl not
- find_program, bug: 6243
-
-2008-10-01 14:19 hoffman
-
- * Modules/FindTclStub.cmake: BUG: fix for 7451
-
-2008-10-01 13:24 hoffman
-
- * Modules/: CMakeCInformation.cmake, Platform/Linux.cmake: BUG: fix
- for bug 4772, enable_language should now work on linux with
- correct flags
-
-2008-10-01 13:13 hoffman
-
- * Utilities/Release/: ferrari_sgi64_release.cmake,
- ferrari_sgi_release.cmake: ENH: add new sgi release scripts
-
-2008-10-01 12:46 hoffman
-
- * Source/CTest/cmCTestUpdateHandler.cxx: BUG: undo fix for 7292
- because a switched file should show up as an odd thing on the
- dashbaord
-
-2008-10-01 12:45 hoffman
-
- * Source/cmGlobalGenerator.cxx: STYLE: fix hidden variable warning
-
-2008-10-01 09:50 hoffman
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h: BUG: fix for
- 7738, allow for spaces in the package target path to CPackConfig
- files
-
-2008-10-01 09:04 hoffman
-
- * Source/: cmCTest.cxx, cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx, cmIfCommand.cxx,
- cmInstallCommand.cxx, cmLocalVisualStudio7Generator.cxx,
- cmMakefile.cxx, cmake.cxx, CPack/cmCPackBundleGenerator.cxx,
- CPack/cmCPackGenerator.cxx, CPack/cmCPackGenerator.h,
- CPack/cmCPackNSISGenerator.cxx, CPack/cmCPackNSISGenerator.h,
- CPack/cmCPackPackageMakerGenerator.cxx,
- CTest/cmCTestTestHandler.cxx: STYLE: fix line length stuff for
- KWStyle
-
-2008-09-30 23:56 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-29 23:56 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-29 16:09 hoffman
-
- * Utilities/cm_curl.h: ENH: fix syntax error
-
-2008-09-29 15:47 hoffman
-
- * CMakeLists.txt, Utilities/cmThirdParty.h.in, Utilities/cm_curl.h:
- ENH: check in ability to build with new curl -f
- -DCMAKE_USE_NEW_CURL is set
-
-2008-09-28 23:56 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-27 23:56 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-27 08:04 king
-
- * Source/kwsys/SharedForward.h.in: COMP: Avoid incompatible pointer
- warning
-
- In SharedForward, the call to execvp warned on MinGW because the
- signature declared in process.h has an extra const. We use an
- explicit cast to convert the pointer type.
-
-2008-09-26 23:56 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-26 20:09 hoffman
-
- * Modules/FindGLUT.cmake: BUG: fix for 7746
-
-2008-09-26 12:08 barre
-
- * Source/kwsys/SharedForward.h.in: ENH: fix bug where sharedforward
- would not work if there was a space in the path (it would but
- would interpret the space as the separation between two
- arguments, and would therefore pass an extra arg that would throw
- some apps off). Thanks to Brad King.
-
-2008-09-26 08:24 king
-
- * Source/kwsys/: CMakeLists.txt, testSharedForward.c.in: ENH: Add
- test for KWSys SharedForward
-
- This tests the basic capability of running another executable
- from the build tree.
-
-2008-09-26 08:24 king
-
- * Source/kwsys/SharedForward.h.in: BUG: Fix SharedForward with
- spaces on windows
-
- The windows execvp function does not re-escape arguments
- correctly. Instead we generate the escape sequences before
- calling it.
-
-2008-09-26 08:24 king
-
- * Source/kwsys/SharedForward.h.in: BUG: Fix SharedForward in-tree
- detection
-
- To detect when the launcher is running from the build tree we now
- test if the directory containing it is the same as the build-tree
- directory using an inode test instead of string comparison. This
- makes it more robust on case-insensitive filesystems and other
- quirky situations.
-
-2008-09-26 08:24 king
-
- * Source/kwsys/SharedForward.h.in: COMP: Avoid 64-to-32-bit integer
- conversion warning
-
- In SharedForward we are only dealing with command-line-length
- strings so we need not worry about integer overflow.
-
-2008-09-25 23:56 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-25 17:02 hoffman
-
- * Modules/Platform/Windows-gcc.cmake: BUG: fix for 7704
-
-2008-09-25 16:52 hoffman
-
- * Source/cmakemain.cxx: BUG: fix for bug 7733, document that debug
- try compile may break the build
-
-2008-09-25 10:21 hoffman
-
- * Tests/Unset/CMakeLists.txt: file CMakeLists.txt was added on
- branch CMake-2-6 on 2009-02-04 16:44:19 +0000
-
-2008-09-25 10:21 king
-
- * Source/cmCommandArgumentParserHelper.cxx,
- Tests/Unset/CMakeLists.txt: ENH: Create $CACHE{VAR} syntax
-
- This syntax allows reading of cache entries even when variables
- of the same name have been defined in the local scope. See issue
- #7715.
-
-2008-09-24 23:56 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-24 13:53 hoffman
-
- * Utilities/Release/README: ENH: add comment about fixing RC
-
-2008-09-24 13:52 hoffman
-
- * CMakeLists.txt: ENH: remove RC 2.6.2 is ready
-
-2008-09-24 10:07 hoffman
-
- * Source/CPack/: cmCPackGenerator.cxx, cmCPackGenerator.h,
- cpack.cxx: STYLE: remove warning from branch
-
-2008-09-24 10:01 hoffman
-
- * Source/CPack/cpack.cxx: ENH: missed one
-
-2008-09-24 09:57 hoffman
-
- * Source/CPack/: cmCPackGenerator.cxx, cmCPackGenerator.h: STYLE:
- fix compiler warning
-
-2008-09-24 08:51 king
-
- * Source/: cmCommand.h, cmMakefile.cxx, cmMakefile.h: BUG: Skip a
- command if its arguments fail to parse
-
- If the arguments to a command fail to parse correctly due to a
- syntax error, the command should not be invoked. This avoids
- problems created by processing of commands with bad arguments.
- Even though the build system will not be generated, the command
- may affect files on disk that persist across CMake runs.
-
-2008-09-24 08:51 king
-
- * Source/cmMacroCommand.cxx: ENH: Improve context for errors in
- macros
-
- We now properly report the source location of command arguments
- inside macros instead of using the macro invocation site. No
- information is lost because full call-stack information is
- already reported.
-
-2008-09-24 08:51 king
-
- * Source/: cmCommandArgumentParserHelper.cxx,
- cmCommandArgumentParserHelper.h, cmMakefile.cxx, cmPolicies.cxx,
- cmPolicies.h: ENH: Improve argument parsing error messages
-
- Previously error messages produced by parsing of command argument
- variable references, such as bad $KEY{VAR} syntax or a bad escape
- sequence, did not provide good context information. Errors
- parsing arguments inside macro invocations gave no context at
- all. Furthermore, some errors such as a missing close curly
- "${VAR" would be reported but build files would still be
- generated.
-
- These changes teach CMake to report errors with good context
- information for all command argument parsing problems. Policy
- CMP0010 is introduced so that existing projects that built
- despite such errors will continue to work.
-
-2008-09-23 23:56 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-23 13:34 king
-
- * Source/cmFindLibraryCommand.cxx: BUG: Fix lib/ to lib/64/ search
- path conversion
-
- Automatic generation of 64-bit library search paths must preserve
- trailing slashes. This fixes a failure case exposed by the
- recent rewrite of find_library, which assumes trailing slashes
- occur on all search paths.
-
-2008-09-23 12:04 hoffman
-
- * Source/kwsys/testDynamicLoader.cxx: ENH: one more fix for HAIKU
-
-2008-09-23 11:32 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Source/CPack/cmCPackGenerator.cxx,
- Source/CPack/cmCPackGenerator.h: ENH: merge in changes for RC 6,
- fix cpack working from symlink is the only change
-
-2008-09-23 10:15 hoffman
-
- * Source/CPack/: cmCPackGenerator.cxx, cmCPackGenerator.h: STYLE:
- fix warning and rename method
-
-2008-09-22 23:56 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-22 18:12 hoffman
-
- * Source/CPack/cmCPackGenerator.cxx: BUG: fix 7669, cpack did not
- work with symlinks
-
-2008-09-22 15:00 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Fix #7433. Put list of files in a .pro file and call
- lupdate on it, instead of putting the list of
- files on the command line.
-
-2008-09-22 14:05 hoffman
-
- * Source/kwsys/: DynamicLoader.hxx.in, ProcessUNIX.c,
- testProcess.c: ENH: a few more haiku fixes, stop the debugger
- from coming up for tests
-
-2008-09-22 14:04 hoffman
-
- * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx,
- CTest/cmCTestTestHandler.cxx: ENH: add max width option to ctest
- ouptut
-
-2008-09-22 14:00 clinton
-
- * Modules/FindQt4.cmake:
- BUG: remove debug statements.
-
-2008-09-22 11:08 king
-
- * Modules/Platform/OpenBSD.cmake, Source/cmFindLibraryCommand.cxx,
- Source/cmake.cxx: ENH: Teach find_library to find OpenBSD-style
- libs
-
- OpenBSD shared libraries use a ".so.<major>.<minor>" extension
- and do not have a symlink with just a ".so" extension. Its "ld"
- is capable of finding the library with the best version. This
- change adds support for finding such libraries. See issue #3470.
-
-2008-09-22 10:59 king
-
- * Source/cmFindLibraryCommand.cxx: ENH: Refactor find_library
- search logic
-
- Previously we searched for library files by enumerating every
- possible combination of prefix and suffix. Now we load (and
- cache) directory content from disk and search for matching file
- names. This should reduce disk access. It will also allow more
- advanced matching rules in the future. See issue #3470.
-
-2008-09-22 10:56 king
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h: ENH: Make
- dir content cache work during configure
-
- Previously the cmGlobalGenerator::GetDirectoryContent method
- would work safely only during build system generation. These
- changes make it safe to use during each configure step by
- flushing it at the beginning.
-
-2008-09-22 10:05 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/BundleUtilities.cmake,
- Modules/CPackRPM.cmake, Modules/FindBoost.cmake,
- Modules/FindCurses.cmake, Modules/FindQt4.cmake,
- Modules/GetPrerequisites.cmake: ENH: merge in changes for RC 5
-
-2008-09-22 09:56 hoffman
-
- * Modules/CPackRPM.cmake: BUG: 7435, remove warning for not setting
- DESTDIR
-
-2008-09-22 09:42 king
-
- * Source/cmSourceFile.cxx: ENH: Improve docs of OBJECT_DEPENDS
- property
-
- Specify exactly what the value of the property should contain and
- the resulting behavior. Note alternatives for a common out-dated
- usage.
-
-2008-09-21 23:56 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-20 23:57 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-19 23:57 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-19 17:45 hoffman
-
- * Modules/CPackRPM.cmake: BUG: 7435 fixes to add optional
- post-install
-
-2008-09-18 23:57 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-18 15:23 hoffman
-
- * Modules/FindCurses.cmake: ENH: try to make this work if ncurses
- lib is found bug not the ncurses header
-
-2008-09-18 10:56 clinton
-
- * Modules/FindQt4.cmake:
- ENH: For #7433, add a bit more documentation and add ability
- to specify extra flags to lupdate.
-
-2008-09-17 23:57 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-17 14:29 hoffman
-
- * Modules/FindCoin3D.cmake: file FindCoin3D.cmake was added on
- branch CMake-2-6 on 2008-10-24 15:20:35 +0000
-
-2008-09-17 14:29 mleotta
-
- * Modules/FindCoin3D.cmake: ENH: added a module to find Coin3D
-
-2008-09-16 23:57 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-16 17:40 barre
-
- * Utilities/cmtar/util.c: ENH: wow. On some Windows machine, trying
- to mkdir("C:") would fail miserably. WHy not in debug mode? Why
- not on other win32 machines. Who knows.
-
-2008-09-16 10:30 king
-
- * Modules/FindBoost.cmake: BUG: Fix FindBoost versioned find
-
- To locate the boost include directory, all search paths and
- versioned path suffixes should be passed to one call of
- FIND_PATH. Previously the test for one version would find an
- unversioned system boost even when the user set BOOST_ROOT (since
- the NO_DEFAULT_PATH option is not used). See issue #7456.
-
-2008-09-15 23:57 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-15 18:23 hoffman
-
- * Utilities/cmcurl/select.c: ENH: missed this one, cmake now
- bootstraps on HAIKU
-
-2008-09-15 17:53 hoffman
-
- * bootstrap, Modules/CMakeFortranCompilerId.F90.in,
- Modules/CMakePlatformId.h.in, Modules/CheckForPthreads.c,
- Modules/Platform/Haiku.cmake, Source/cmCTest.cxx,
- Source/cmDependsJavaLexer.cxx, Source/cmDependsJavaLexer.h,
- Source/cmSystemTools.cxx, Source/CTest/cmCTestTestHandler.cxx,
- Source/kwsys/DynamicLoader.cxx, Source/kwsys/ProcessUNIX.c,
- Source/kwsys/SystemTools.cxx, Source/kwsys/testDynamicLoader.cxx,
- Source/kwsys/testProcess.c, Utilities/cmcurl/CMakeLists.txt,
- Utilities/cmcurl/CMake/CurlTests.c, Utilities/cmcurl/curl/curl.h,
- Utilities/cmzlib/zconf.h, Utilities/cmzlib/zutil.h: ENH: add
- initial support for HAIKU OS from bug# 7425
-
-2008-09-15 17:53 hoffman
-
- * Modules/Platform/Haiku.cmake: file Haiku.cmake was added on
- branch CMake-2-6 on 2008-10-24 15:20:35 +0000
-
-2008-09-15 13:46 king
-
- * Source/cmGlobalGenerator.cxx: ENH: Simplify NOTFOUND variable
- check
-
- When looking for NOTFOUND libraries, use the direct dependencies
- of a target instead of all dependencies. At least one target
- will trigger the NOTFOUND error anyway because at least one must
- directly link it. This removes another use of the old-style link
- line computation.
-
-2008-09-15 13:30 king
-
- * Source/cmMakefileTargetGenerator.cxx: ENH: Use new link info
- during dependency scanning
-
- This removes another use of the old-style link line computation.
-
-2008-09-15 13:30 king
-
- * Source/cmTarget.cxx: ENH: Allow link line computation for static
- libs
-
- In some cases it may be useful to compute a "link" line for a
- static library even though it will not be put in the generated
- build system. This removes the assertion which previously
- diallowed the case.
-
-2008-09-15 13:30 king
-
- * Source/: cmComputeLinkInformation.cxx,
- cmComputeLinkInformation.h: ENH: Keep target information in final
- link line
-
- In cmComputeLinkInformation items in the final link line returned
- by GetItems now contain a pointer to their corresponding cmTarget
- if they were produced by a target. This makes available the set
- of all targets linked.
-
-2008-09-15 09:51 king
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: Use improved target
- dependencies for Xcode
-
- In cmGlobalGenerator we use cmComputeTargetDepends to construct a
- safe, non-circular set of inter-target dependencies. This change
- enables use of the results by the Xcode generator. It also
- removes a lot of old code and another use of the old-style
- linking logic. See issue #7652.
-
-2008-09-14 23:57 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-13 23:57 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-12 23:57 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-12 13:29 hoffman
-
- * Tests/CMakeTests/ToolchainTest.cmake.in: ENH: merge in from main
- tree
-
-2008-09-12 10:56 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CheckCCompilerFlag.cmake, Modules/FindThreads.cmake,
- Modules/readme.txt, Source/cmFileCommand.cxx,
- Source/cmFileCommand.h, Source/cmFindPackageCommand.cxx,
- Source/cmFindPackageCommand.h, Source/cmGlobalXCodeGenerator.cxx,
- Source/cmIfCommand.cxx, Source/cmIfCommand.h,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx, Source/cmPolicies.cxx,
- Source/cmPolicies.h, Source/CPack/cmCPackDebGenerator.cxx,
- Source/kwsys/Glob.cxx, Source/kwsys/Glob.hxx.in,
- Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate,
- Templates/EXEWinHeader.dsptemplate,
- Tests/FindPackageTest/CMakeLists.txt,
- Tests/FindPackageTest/FindVersionTestA.cmake,
- Tests/FindPackageTest/FindVersionTestB.cmake,
- Tests/FindPackageTest/FindVersionTestC.cmake,
- Tests/FindPackageTest/FindVersionTestD.cmake,
- Tests/Framework/CMakeLists.txt,
- Tests/Framework/fooExtensionlessResource,
- Tests/Framework/fooPrivateExtensionlessHeader,
- Tests/Framework/fooPublicExtensionlessHeader: ENH: 2.6.2 RC 4
- merge into main tree
-
-2008-09-11 23:57 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-11 14:50 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: BUG: make sure flag is found
- even with extra spaces at the start
-
-2008-09-11 14:34 david.cole
-
- * Source/: cmFileCommand.cxx, cmFileCommand.h, cmPolicies.cxx,
- cmPolicies.h, kwsys/Glob.cxx, kwsys/Glob.hxx.in: ENH: Improve
- FILE GLOB_RECURSE handling of symlinks with a new CMake policy.
- CMP0009 establishes NEW default behavior of not recursing through
- symlinks. OLD default behavior or explicit FOLLOW_SYMLINKS
- argument to FILE GLOB_RECURSE will still recurse through
- symlinks.
-
-2008-09-11 11:41 hoffman
-
- * Modules/FindThreads.cmake: BUG: fix for 6586, set THREADS_FOUND
-
-2008-09-11 10:48 hoffman
-
- * Source/CPack/cmCPackDebGenerator.cxx: ENH: add installed size to
- deb package
-
-2008-09-10 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-10 11:58 king
-
- * Source/cmIfCommand.cxx, Source/cmIfCommand.h,
- Tests/FindPackageTest/CMakeLists.txt: ENH: Add version comparison
- to if() command
-
- Provide VERSION_LESS, VERSION_EQUAL, and VERSION_GREATER
- operators in the if() command. This simplifies component-wise
- comparison of version numbers in the form
- "major[.minor[.patch[.tweak]]]".
-
-2008-09-10 10:36 hoffman
-
- * Templates/DLLHeader.dsptemplate: ENH: fix failing tests
-
-2008-09-10 10:11 hoffman
-
- * Tests/FindPackageTest/FindVersionTestD.cmake: file
- FindVersionTestD.cmake was added on branch CMake-2-6 on
- 2008-09-12 14:56:21 +0000
-
-2008-09-10 10:11 king
-
- * Modules/readme.txt, Source/cmFindPackageCommand.cxx,
- Source/cmFindPackageCommand.h,
- Tests/FindPackageTest/CMakeLists.txt,
- Tests/FindPackageTest/FindVersionTestA.cmake,
- Tests/FindPackageTest/FindVersionTestB.cmake,
- Tests/FindPackageTest/FindVersionTestC.cmake,
- Tests/FindPackageTest/FindVersionTestD.cmake: ENH: Improve
- find_package version numbering
-
- Make the number of version components specified explicitly
- available. Set variables for unspecified version components to
- "0" instead of leaving them unset. This simplifies version
- number handling for find- and config-modules. Also support a
- fourth "tweak" version component since some packages use them.
-
-2008-09-10 10:10 hoffman
-
- * Templates/: DLLHeader.dsptemplate, EXEWinHeader.dsptemplate: BUG:
- fix bug OUTPUT_LIBNAME_EXPORTS done differently now
-
-2008-09-09 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-09 14:12 hoffman
-
- * Modules/CheckCCompilerFlag.cmake: ENH: fix docs, bug 7590
-
-2008-09-09 13:12 hoffman
-
- * Source/CTest/cmCTestUpdateHandler.cxx: BUG: fix for bug 7292, svn
- parsing flagged errors or conflicts for switched or locked files
-
-2008-09-09 13:04 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx,
- Templates/EXEHeader.dsptemplate: BUG: fix empty /D option for
- vs6, fix for 7580
-
-2008-09-09 13:01 hoffman
-
- * CTestConfig.cmake: ENH: support old cmake for dashboards
-
-2008-09-09 12:48 david.cole
-
- * Tests/CMakeTests/GetPrerequisitesTest.cmake.in: PERF: Test takes
- too long when recursing for executable files and when doing
- recursive prerequisite analysis. Put it back the way it was. Add
- another test later to do the recursive prerequisite analysis.
-
-2008-09-09 11:44 hoffman
-
- * Source/CTest/: cmCTestTestCommand.cxx, cmCTestTestCommand.h: BUG:
- 0007569 add ability to do -R/-E in ctest_test command
-
-2008-09-08 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-08 20:21 hoffman
-
- * Tests/CMakeTests/ToolchainTest.cmake.in: BUG: fix test to work
- with new restrictions that cross compiling must be on
-
-2008-09-08 17:53 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for 7624, vs7
- flag table missing /MAP
-
-2008-09-08 17:43 alex
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake: BUG: only check for a toolchain
- prefix (e.g. "arm-linux-" in "arm-linux-gcc") if we are cross
- compiling and the compiler is gcc
-
- Alex
-
-2008-09-08 11:23 hoffman
-
- * Modules/GetPrerequisites.cmake: ENH: do not add the same thing to
- the PATH again and again
-
-2008-09-08 10:08 king
-
- * Source/cmFindPackageCommand.cxx: ENH: Improve message for bad
- find_package call
-
- Use the new-style error reporting mechanism to provide more
- context information for a find_package call with a bad package
- name. When the package is not required, issue a warning instead
- of an error.
-
-2008-09-07 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-07 16:54 alex
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake: BUG: #7359 make llvm-gcc work,
- by explicitely excluding "llvm-" from _CMAKE_TOOLCHAIN_PREFIX
- (use the (relatively) new CMAKE_MATCH_x variables set by all
- regex operations)
-
- Alex
-
-2008-09-07 06:52 alex
-
- * Source/: cmFindPackageCommand.cxx, cmFindPackageCommand.h: COMP:
- fix compile warning/error (non-void function returning void)
-
- Alex
-
-2008-09-06 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-06 19:10 alex
-
- * Source/: cmFindPackageCommand.cxx, cmFindPackageCommand.h: ENH:
- provide the xxx_FIND_QUIETLY, xxx_FIND_REQUIRED and
- xxx_FIND_VERSION_ variables also in Config mode, so the
- xxxConfig.cmake files can e.g. test the QUIETLY parameter and
- print something or not
-
- Alex
-
-2008-09-06 12:20 hoffman
-
- * Modules/BundleUtilities.cmake: file BundleUtilities.cmake was
- added on branch CMake-2-6 on 2008-09-22 14:05:16 +0000
-
-2008-09-06 12:20 david.cole
-
- * Modules/BundleUtilities.cmake, Modules/GetPrerequisites.cmake,
- Tests/CMakeTests/GetPrerequisitesTest.cmake.in: ENH: Add
- BundleUtilities.cmake and supporting changes to
- GetPrerequisites.cmake. Function copy_and_fixup_bundle in
- BundleUtilities helps to make standalone bundle applications on
- the Mac by pulling in prerequisite non-system libraries and
- frameworks as needed. Uses otool and install_name_tool to do
- analysis and fixups. Project-specific hooks for deciding where to
- embed libraries and for resolving item names into full path file
- names are also provided.
-
-2008-09-05 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-05 15:51 hoffman
-
- * Tests/Framework/fooExtensionlessResource: file
- fooExtensionlessResource was added on branch CMake-2-6 on
- 2008-09-12 14:56:21 +0000
-
-2008-09-05 15:51 hoffman
-
- * Tests/Framework/fooPrivateExtensionlessHeader: file
- fooPrivateExtensionlessHeader was added on branch CMake-2-6 on
- 2008-09-12 14:56:21 +0000
-
-2008-09-05 15:51 hoffman
-
- * Tests/Framework/fooPublicExtensionlessHeader: file
- fooPublicExtensionlessHeader was added on branch CMake-2-6 on
- 2008-09-12 14:56:21 +0000
-
-2008-09-05 15:51 david.cole
-
- * Source/cmGlobalXCodeGenerator.cxx,
- Tests/Framework/CMakeLists.txt,
- Tests/Framework/fooExtensionlessResource,
- Tests/Framework/fooPrivateExtensionlessHeader,
- Tests/Framework/fooPublicExtensionlessHeader: BUG: Fix issue
- #7046 - make sure extensionless headers and resource files work
- with the Xcode generator. Also fix incorrect mappings in the
- lastKnownFileType code. Add some extensionless files to the
- Framework test.
-
-2008-09-04 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-04 17:34 king
-
- * Source/cmComputeLinkDepends.cxx, Source/cmComputeLinkDepends.h,
- Source/cmExportFileGenerator.cxx, Source/cmTarget.cxx,
- Source/cmTarget.h, Source/cmTargetLinkLibrariesCommand.cxx,
- Source/cmTargetLinkLibrariesCommand.h, Source/cmake.cxx,
- Source/cmake.h, Tests/ExportImport/Export/CMakeLists.txt,
- Tests/ExportImport/Import/CMakeLists.txt: ENH: Allow a custom
- list of debug configurations
-
- Create a DEBUG_CONFIGURATIONS global property as a way for
- projects to specify which configuration names are considered to
- be 'debug' configurations.
-
-2008-09-04 17:10 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Source/cmGetPropertyCommand.h,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmWin32ProcessExecution.cxx, Source/cmake.cxx,
- Source/CTest/cmCTestBuildAndTestHandler.cxx: ENH: 2.6.2 RC 3,
- merge in changes from main tree
-
-2008-09-04 17:02 hoffman
-
- * Source/cmWin32ProcessExecution.cxx: BUG: fix extra close that
- killed cmake when being debugged
-
-2008-09-04 13:15 king
-
- * Source/cmGetPropertyCommand.h: BUG: Fix typo in get_property
- documentation
-
- Add some missing whitespace to fix formatting of the
- documentation.
-
-2008-09-04 13:15 king
-
- * Source/cmake.cxx: BUG: Fix unsetting of global properties
-
- The set_property command unsets a property if it is given no
- value. In the case of GLOBAL properties, the cmake::SetProperty
- method would replace a NULL value with "NOTFOUND". Instead it
- should be left as NULL so that the property is unset as expected.
- Once it is unset the get_cmake_property command will still
- report NOTFOUND while the get_property command will return the
- empty string as documented.
-
-2008-09-04 11:31 king
-
- * Source/CTest/cmCTestBuildAndTestHandler.cxx: BUG: Make CTest
- honor user-specified config
-
- When the -C or --build-config option is used to specify the
- configuration to be tested by CTest, do not override it with the
- configuration in which CTest is built.
-
-2008-09-03 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-03 16:22 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for 7519 extra
- closing > in fortran projects
-
-2008-09-03 09:43 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Docs/cmake-syntax.vim,
- Modules/CMakeCCompilerABI.c, Modules/CMakeCCompilerId.c.in,
- Modules/CMakeCXXCompilerABI.cpp,
- Modules/CMakeCXXCompilerId.cpp.in, Modules/CheckTypeSizeC.c.in,
- Modules/FindKDE3.cmake, Modules/FindKDE4.cmake,
- Modules/FindLibXml2.cmake, Modules/FindLua50.cmake,
- Modules/FindLua51.cmake, Modules/FindOpenGL.cmake,
- Modules/FindPHP4.cmake, Modules/FindPNG.cmake,
- Modules/FindQt3.cmake, Modules/FindQt4.cmake,
- Modules/FindTIFF.cmake, Modules/FindX11.cmake,
- Modules/MacOSXFrameworkInfo.plist.in, Modules/NSIS.template.in,
- Modules/TestEndianess.c.in, Modules/UsePkgConfig.cmake,
- Modules/Platform/Darwin.cmake,
- Modules/Platform/Windows-icl.cmake,
- Source/cmAddLibraryCommand.cxx, Source/cmAddLibraryCommand.h,
- Source/cmAddSubDirectoryCommand.h,
- Source/cmCMakePolicyCommand.cxx, Source/cmCMakePolicyCommand.h,
- Source/cmCacheManager.cxx, Source/cmComputeLinkDepends.cxx,
- Source/cmComputeLinkDepends.h,
- Source/cmComputeLinkInformation.cxx,
- Source/cmComputeTargetDepends.cxx,
- Source/cmComputeTargetDepends.h, Source/cmDocumentVariables.cxx,
- Source/cmDocumentation.cxx, Source/cmDocumentation.h,
- Source/cmExtraCodeBlocksGenerator.cxx, Source/cmFileCommand.cxx,
- Source/cmFileCommand.h, Source/cmFindPackageCommand.cxx,
- Source/cmFindPackageCommand.h, Source/cmGlobalGenerator.cxx,
- Source/cmGlobalKdevelopGenerator.cxx,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalXCodeGenerator.cxx, Source/cmIfCommand.cxx,
- Source/cmIfCommand.h, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h, Source/cmMakefile.cxx,
- Source/cmMakefile.h,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.h, Source/cmPolicies.cxx,
- Source/cmPolicies.h, Source/cmReturnCommand.h,
- Source/cmSetPropertyCommand.cxx,
- Source/cmSetTargetPropertiesCommand.cxx,
- Source/cmStringCommand.cxx, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h, Source/cmTarget.cxx, Source/cmTarget.h,
- Source/cmTargetLinkLibrariesCommand.cxx,
- Source/cmTargetLinkLibrariesCommand.h, Source/cmXCodeObject.cxx,
- Source/cmXCodeObject.h, Source/cmake.cxx, Source/cmakemain.cxx,
- Source/CTest/cmCTestCoverageHandler.cxx,
- Source/CursesDialog/cmCursesStringWidget.cxx,
- Source/kwsys/Glob.cxx, Source/kwsys/Glob.hxx.in,
- Source/kwsys/ProcessUNIX.c, Tests/BundleTest/BundleLib.cxx,
- Tests/BundleTest/BundleTest.cxx, Tests/BundleTest/CMakeLists.txt,
- Tests/BundleTest/BundleSubDir/CMakeLists.txt,
- Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/Complex/Library/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Library/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Library/CMakeLists.txt,
- Tests/CustomCommand/CMakeLists.txt,
- Tests/Dependency/CMakeLists.txt,
- Tests/Dependency/Case4/CMakeLists.txt,
- Tests/Dependency/Case4/bar.c, Tests/Dependency/Case4/foo.c,
- Tests/ExportImport/Export/CMakeLists.txt,
- Tests/ExportImport/Export/testLib4lib.c,
- Tests/ExportImport/Export/testLib4libdbg.c,
- Tests/ExportImport/Export/testLib4libdbg1.c,
- Tests/ExportImport/Export/testLib4libopt.c,
- Tests/ExportImport/Export/testLib4libopt1.c,
- Tests/ExportImport/Import/CMakeLists.txt,
- Tests/ExportImport/Import/imp_testExe1.c,
- Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt,
- Tests/ReturnTest/CMakeLists.txt,
- Tests/ReturnTest/include_return.cmake,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: 2.6.2 rc 2 merge from
- main tree
-
-2008-09-02 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-09-02 14:47 hoffman
-
- * Modules/Platform/Windows-icl.cmake: BUG: make sure the intel
- compiler uses the intel linker
-
-2008-09-02 14:46 hoffman
-
- * Modules/NSIS.template.in: BUG: remove Catalan as 2.29 does not
- have it
-
-2008-09-02 12:43 david.cole
-
- * Source/cmMakefileExecutableTargetGenerator.cxx: BUG: Fix issue
- #3648 - make sure CMake reruns if a Bundle application's
- directory is removed or if it's Info.plist file disappears since
- those elements are put in place at CMake configure time.
-
-2008-09-02 12:06 hoffman
-
- * Modules/MacOSXFrameworkInfo.plist.in: file
- MacOSXFrameworkInfo.plist.in was added on branch CMake-2-6 on
- 2008-09-03 13:43:16 +0000
-
-2008-09-02 12:06 king
-
- * Modules/MacOSXFrameworkInfo.plist.in,
- Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.h, Source/cmTarget.cxx:
- ENH: Create Info.plist files in OS X Frameworks
-
- A Mac OS X Framework should provide a Resources/Info.plist file
- containing meta-data about the framework. This change generates
- a default Info.plist for frameworks and provides an interface for
- users to customize it.
-
-2008-09-02 11:06 david.cole
-
- * Tests/BundleTest/: BundleLib.cxx, BundleTest.cxx, CMakeLists.txt:
- ENH: Add indirect dependency to Carbon and call a Carbon function
- from executable. This will allow detecting broken dependency
- chaining for '-framework blah' style lib dependencies.
-
-2008-09-02 10:27 king
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmXCodeObject.cxx,
- cmXCodeObject.h: ENH: Simplify string attributes in Xcode
- generator
-
- This change cleans up the implementation of cmXCodeObject to
- avoid un-escaping and re-escaping string values. There is no
- need to store the string in escaped form. It can be escaped once
- when it is printed out to the generated project file.
-
-2008-09-01 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-31 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-30 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-30 10:32 hoffman
-
- * Tests/Unset/unset.c: file unset.c was added on branch CMake-2-6
- on 2009-02-04 16:44:19 +0000
-
-2008-08-30 10:32 king
-
- * Tests/Unset/: CMakeLists.txt, unset.c, unset.cc: BUG: Fix Unset
- test on VS 6
-
- Visual Studio 6 does not recognize .cc as a C++ extension by
- default. Simplify the test to be C-only and use a .c extension.
-
-2008-08-30 09:39 clinton
-
- * Modules/FindQt4.cmake:
- ENH: For #7433, add documentation that directories also can be
- specified to update the translation files.
-
-2008-08-29 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-29 13:22 king
-
- * Source/cmComputeLinkDepends.cxx: BUG: Link flags should still be
- chained
-
- The recent fix to avoid including flags in dependency inferral
- also dropped them from chaining of dependencies through targets.
- This fix restores chaining of flags through known dependency
- lists while still leaving them out of inferred dependency lists.
-
-2008-08-28 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-28 22:25 king
-
- * Source/cmComputeLinkDepends.cxx: BUG: A -framework Foo is also a
- lib
-
-2008-08-28 22:12 king
-
- * Source/cmComputeLinkDepends.cxx: BUG: Fix previous fix.
-
-2008-08-28 22:07 king
-
- * Source/cmComputeLinkDepends.cxx: BUG: When recognizing flags on
- link lines, we must still treat -l as a library.
-
-2008-08-27 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-27 12:53 david.cole
-
- * Tests/BundleTest/: CMakeLists.txt, BundleSubDir/CMakeLists.txt:
- ENH: Changes that allow configuring/building BundleTest test
- separately from the main CMake build. (Eliminate reference to
- CMake_SOURE_DIR.)
-
-2008-08-27 10:35 king
-
- * Source/cmComputeLinkDepends.h: COMP: Do not use private typedef
- from outside class.
-
-2008-08-27 10:21 king
-
- * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h: ENH:
- New link line item ordering algorithm
-
- This change introduces a new algorithm for link line
- construction. The order it computes always begins with the exact
- link line specified by the user. Dependencies of items specified
- by the user are tracked, and those that are not already
- satisified by the line are appended to it at the end with minimal
- repeats. This restores the behavior of CMake 2.4 and below while
- still fixing some of its bugs. See issue #7546.
-
-2008-08-27 10:21 king
-
- * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h: BUG:
- Do not infer dependencies of link flags
-
- In cmComputeLinkDepends link items that look like flags (starting
- in '-') should not be included in dependency inferral. They are
- not libraries and therefore have no dependencies. They should
- just be passed through to the final link line unchanged. See
- issue #7546.
-
-2008-08-27 10:21 king
-
- * Source/cmComputeLinkDepends.cxx: BUG: Treat empty config name as
- no configuration
-
- In cmComputeLinkDepends we should treat an empty configuration
- name as equivalent to no specific configuration at all.
-
-2008-08-26 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-26 16:43 david.cole
-
- * Modules/NSIS.template.in: BUG: Do not use "Default" as a
- language, remove 2nd occurence of "English", and remove three
- other languages not supported by older versions of NSIS. Tested
- with version 2.18 of NSIS on gaia.kitware.
-
-2008-08-26 16:04 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Add comments about pre-processor defines and moc.
-
-2008-08-26 12:54 david.cole
-
- * Source/cmStringCommand.cxx: BUG: Correct typo in error message.
-
-2008-08-26 11:50 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Use COMPILE_DEFINTIONS instead of DEFINITIONS.
-
-2008-08-26 11:22 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Add -DWIN32 for moc on Windows. Final fix for #7465.
-
-2008-08-25 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-25 19:41 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Add -D preprocessor defines to the moc commands.
- Needed to fix #7465.
-
-2008-08-25 10:31 hoffman
-
- * Source/cmUnsetCommand.cxx: file cmUnsetCommand.cxx was added on
- branch CMake-2-6 on 2009-02-04 16:44:17 +0000
-
-2008-08-25 10:31 hoffman
-
- * Source/cmUnsetCommand.h: file cmUnsetCommand.h was added on
- branch CMake-2-6 on 2009-02-04 16:44:17 +0000
-
-2008-08-25 10:31 king
-
- * Docs/cmake-syntax.vim, Source/cmBootstrapCommands.cxx,
- Source/cmCacheManager.cxx, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmSetCommand.h,
- Source/cmUnsetCommand.cxx, Source/cmUnsetCommand.h,
- Tests/CMakeLists.txt, Tests/Unset/CMakeLists.txt,
- Tests/Unset/unset.cc: ENH: Add unset() command.
-
- This introduces the unset() command to make it easy to unset
- CMake variables, environment variables, and CMake cache
- variables. Previously it was not even possible to unset ENV or
- CACHE variables (as in completely remove them). Changes based on
- patch from Philip Lowman. See issue #7507.
-
-2008-08-24 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-23 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-23 13:47 david.cole
-
- * Source/cmFileCommand.h: BUG: Correct typo in documentation: or ->
- of
-
-2008-08-23 13:33 david.cole
-
- * Source/: cmFileCommand.cxx, cmFileCommand.h: ENH: Add the
- RECURSE_SYMLINKS_OFF flag to the FILE GLOB_RECURSE command.
- Exposes the recently added kwsys capability that prevents
- recursing through symlinks to CMake scripts.
-
-2008-08-22 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-22 06:56 hoffman
-
- * Modules/NSIS.template.in: BUG: remove extension from inserts
-
-2008-08-22 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-21 15:13 hoffman
-
- * Modules/NSIS.template.in: ENH: sort languages and use list from
- NSIS 2.22
-
-2008-08-21 13:55 hoffman
-
- * Modules/NSIS.template.in: BUG: remove some languages that are not
- supported in older versions of NSIS
-
-2008-08-21 09:54 king
-
- * Source/cmDocumentVariables.cxx, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt: ENH: Allow
- custom limit on object file path length
-
- Some native build tools, particularly those for cross compiling,
- may have a limit on the length of the full path to an object file
- name that is lower than the platform otherwise supports. This
- change allows the limit to be set by the project toolchain file
- through the variable CMAKE_OBJECT_PATH_MAX.
-
-2008-08-21 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-20 18:00 hoffman
-
- * Modules/NSIS.template.in: ENH: try to fix error
-
-2008-08-20 13:24 david.cole
-
- * Source/: CTest/cmCTestCoverageHandler.cxx, kwsys/Glob.cxx,
- kwsys/Glob.hxx.in: ENH: Add RecurseThroughSymlinks data member to
- kwsys::Glob. Allows recursive globs to skip symlinks when
- necessary. Default to true for backwards compatible behavior.
- Used from the ctest coverage handler to avoid recursing through
- the '/Applications' directory on the Mac looking for *.da
- files... Should fix the hangs reported recently by Mac CMake
- dashboard submitters.
-
-2008-08-20 11:45 king
-
- * Source/cmIfCommand.cxx, Source/cmIfCommand.h,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/Complex/Library/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Library/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Library/CMakeLists.txt: ENH: Add
- if(TARGET) command
-
- It is useful to be able to test if a target has been created.
- Often targets are created only inside conditions. Rather than
- storing the result of the condition manually for testing by other
- parts of the project, it is much easier for the other parts to
- just test for the target's existence. This will also be useful
- when find-modules start reporting results with IMPORTED targets
- and projects want to test if a certain target is available.
-
-2008-08-20 09:57 king
-
- * Source/kwsys/ProcessUNIX.c: BUG: Handle case when select() lies
-
- According to "man select" on Linux it is possible that select()
- lies about data being ready on a pipe in some subtle cases. We
- deal with this by switching to non-blocking i/o and checking for
- EAGAIN. See issue #7180.
-
-2008-08-20 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-19 16:40 hoffman
-
- * Source/CursesDialog/cmCursesStringWidget.cxx: BUG: fix for 6462,
- delete key should delete the current char
-
-2008-08-19 15:59 hoffman
-
- * Modules/FindOpenGL.cmake: BUG: fix for bug 7104 look for GL in
- X11R6 dirs
-
-2008-08-19 15:55 hoffman
-
- * Source/cmSystemTools.cxx: BUG: fix for 7045, use gcc for .m
-
-2008-08-19 15:42 hoffman
-
- * Source/: cmDocumentation.cxx, cmDocumentation.h, cmakemain.cxx:
- BUG: fix 6647 arguments after -E should not be parsed by CMake
-
-2008-08-19 15:07 hoffman
-
- * Source/cmGlobalVisualStudio7Generator.cxx: BUG: fix for 6794
- support for LTCG WholeProgramOptimization, which is not available
- in VS 8 and newer.
-
-2008-08-19 14:28 hoffman
-
- * Modules/FindPHP4.cmake: BUG: fix for bug 6775, FindPHP4 did not
- honor required
-
-2008-08-19 14:23 hoffman
-
- * Modules/Platform/Darwin.cmake: BUG: fix for 6710
- CMAKE_OSX_SYSROOT should be a PATH
-
-2008-08-19 14:07 hoffman
-
- * Modules/NSIS.template.in: BUG: fix for 7446 NSIS support for
- other languages
-
-2008-08-19 13:59 hoffman
-
- * Utilities/Release/: create-cmake-release.cmake,
- magrathea_release.cmake, upload_release.cmake,
- v20n17_aix_release.cmake: ENH: check in current build scripts
-
-2008-08-19 13:48 hoffman
-
- * Source/cmGlobalGenerator.cxx: BUG: fix for 7496, do not just
- report configure done when there is an error during configure
-
-2008-08-19 13:31 hoffman
-
- * Source/cmake.cxx: BUG: 7448 fix crash in ccmake when compiler is
- changed
-
-2008-08-19 11:43 king
-
- * Tests/: CMakeLists.txt, test_clean.cmake.in: ENH: Add test_clean
- target to wipe out tests
-
- We frequently need to wipe out all the CMake test build
- directories in order to run tests from scratch. This change adds
- a test_clean custom target to remove all these directories for
- out-of-source builds.
-
-2008-08-19 11:43 king
-
- * Source/: cmSetPropertyCommand.cxx,
- cmSetTargetPropertiesCommand.cxx, cmTarget.cxx, cmTarget.h: ENH:
- Disallow link-type keywords in link interface
-
- The LINK_INTERFACE_LIBRARIES target property may not contain the
- "debug", "optimized", or "general" keywords. These keywords are
- supported only by the target_link_libraries (and link_libraries)
- command and are not a generic library list feature in CMake.
- When a user attempts to add one of these keywords to the property
- value, we now produce an error message that refers users to
- alternative means.
-
-2008-08-19 10:29 king
-
- * Source/cmTarget.cxx: ENH: Clarify link interface documentation
-
- The LINK_INTERFACE_LIBRARIES property does not apply for STATIC
- libraries. The IMPORTED_LINK_INTERFACE_LIBRARIES property does
- apply for STATIC libraries. State both explicitly in the
- documentation. Also, clarify that the per-configuration version
- of these properties completely overrids the generic version.
-
-2008-08-19 10:28 king
-
- * Source/cmMakefile.cxx: BUG: Linking to modules is for 2.2 compat
- only
-
- The compatibility check to allow linking to modules should test
- for CMake 2.2, not the unreleased 2.3. See issue #7500.
- Furthermore, the message should be more clear about fixing the
- code instead of setting CMAKE_BACKWARDS_COMPATIBILITY unless one
- is just trying to build an existing project.
-
-2008-08-19 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-18 16:29 king
-
- * Source/: cmMakefile.cxx, cmMakefile.h, cmPolicies.cxx,
- cmPolicies.h: ENH: Improve errors when a policy is REQUIRED
-
- In the future some policies may be set to REQUIRED_IF_USED or
- REQUIRED_ALWAYS. This change clarifies the error messages users
- receive when violating the requirements.
-
-2008-08-18 11:39 king
-
- * Source/cmAddLibraryCommand.cxx, Source/cmAddLibraryCommand.h,
- Source/cmComputeLinkDepends.cxx,
- Source/cmComputeLinkInformation.cxx, Source/cmLocalGenerator.cxx,
- Source/cmTarget.cxx, Source/cmTarget.h,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: Add UNKNOWN type for
- IMPORTED libraries
-
- When creating an IMPORTED target for a library that has been
- found on disk, it may not be known whether the library is STATIC
- or SHARED. However, the library may still be linked using the
- file found from disk. Use of an IMPORTED target is still
- important to allow per-configuration files to be specified for
- the library.
-
- This change creates an UNKNOWN type for IMPORTED library targets.
- The IMPORTED_LOCATION property (and its per-config equivalents)
- specifies the location of the library. CMake makes no
- assumptions about the library that cannot be inferred from the
- file on disk. This will help projects and find-modules import
- targets found on disk or specified by the user.
-
-2008-08-18 11:26 king
-
- * Source/: cmLocalGenerator.cxx, cmTarget.cxx: STYLE: Convert
- unused target type cases to default
-
- In switch statements that deal with only a few target types, use
- a 'default' case for the remaining target types instead of
- listing them explicitly. This will make it easier to add more
- types in the future.
-
-2008-08-18 10:11 king
-
- * Source/cmTargetLinkLibrariesCommand.cxx,
- Source/cmTargetLinkLibrariesCommand.h,
- Tests/ExportImport/Export/CMakeLists.txt: ENH: Make link
- interface mode more distinct
-
- Rename the recently added INTERFACE mode of the
- target_link_libraries() command to LINK_INTERFACE_LIBRARIES.
- This makes it much more distinct from a normal call to the
- command, and clearly states its connection to the property of the
- same name. Also require the option to appear immediately after
- the target name to make it a mode rather than an option.
-
-2008-08-18 09:53 king
-
- * Source/cmCMakePolicyCommand.cxx, Source/cmCMakePolicyCommand.h,
- Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt: ENH: Add
- cmake_policy(GET) command mode
-
- It is likely that projects or CMake modules in the future will
- need to check the value of a policy setting. For example, if we
- add a policy that affects the results of FindXYZ.cmake modules,
- the module code will need to be able to check the policy.
-
-2008-08-18 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-17 05:38 alex
-
- * Modules/FindKDE4.cmake: BUG: fix closing ENDIF()
-
- Alex
-
-2008-08-17 05:11 alex
-
- * Modules/FindQt4.cmake: BUG: fix closing IF()
-
- Alex
-
-2008-08-17 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-16 19:11 alex
-
- * Modules/: FindKDE3.cmake, FindKDE4.cmake, FindQt3.cmake,
- FindQt4.cmake: BUG: fix #7447, FindModulesExecuteAll test fails
- if both Qt3 and KDE4 can be found in the system
-
- Qt3 and Qt4 cannot be used together in one project. Now Qt3/KDE3
- and Qt4/KDE4 handle the case that this is done nevertheless
- properly, i.e. they fail with FATAL_ERROR if it was REQUIRED and
- they fail with just MESSAGE(STATUS ...) and RETURN() if it was
- not REQUIRED
-
- BUG: make FindQt4 error out with FATAL_ERROR also if it was
- searched QUIET
-
- Alex
-
-2008-08-16 18:06 hoffman
-
- * Tests/ReturnTest/include_return.cmake: file include_return.cmake
- was added on branch CMake-2-6 on 2008-09-03 13:43:31 +0000
-
-2008-08-16 18:06 alex
-
- * Source/cmReturnCommand.h, Tests/ReturnTest/CMakeLists.txt,
- Tests/ReturnTest/include_return.cmake: STYLE: extend
- documentation for RETURN() a bit ENH: add a test for calling
- RETURN() in an included file
-
- Alex
-
-2008-08-16 17:14 alex
-
- * Modules/FindQt3.cmake: STYLE: remove some unnecessary lines
- STYLE: everything uppercase in this file
-
- Alex
-
-2008-08-16 16:58 alex
-
- * Source/cmGlobalKdevelopGenerator.cxx: BUG: fix #7477, set
- VERBOSE=1 in the kdevelop setting for the environment, not
- together with the make executable
-
- Alex
-
-2008-08-16 16:48 alex
-
- * Source/cmExtraCodeBlocksGenerator.cxx: STYLE: remove some
- commented code
-
- Alex
-
-2008-08-16 16:33 alex
-
- * Source/cmGlobalKdevelopGenerator.cxx: BUG: fix #7471, only put
- build directories and CMakeFiles/ in the blacklist
-
- Alex
-
-2008-08-16 07:38 alex
-
- * Modules/FindX11.cmake: ENH: also search in /usr/X11R7, remove
- /usr/lib and /usr/local/lib, they are part of the standard search
- paths (partly sync wih KDE)
-
- Alex
-
-2008-08-16 07:29 alex
-
- * Modules/FindTIFF.cmake: ENH: add more names for libtiff, mark
- TIFF_INCLUDE_DIR and TIFF_LIBRARY as advanced (sync with KDE)
-
- Alex
-
-2008-08-16 07:22 alex
-
- * Modules/FindLibXml2.cmake: ENH: also search for xmllint, which
- comes with libxml2 (sync with FindLibXml2.cmake from KDE)
-
- Alex
-
-2008-08-16 07:10 alex
-
- * Modules/FindPNG.cmake: ENH: add more names of linpng (sync with
- the KDE version)
-
- Alex
-
-2008-08-16 07:01 alex
-
- * Modules/UsePkgConfig.cmake: STYLE: /usr/local/bin is in the path
- anyway STYLE: this file is mostly uppercase commands, so make all
- commands uppercase ENH: add a status message in case pkgconfig
- didn't find the package (sync with the one from KDE)
-
- Alex
-
-2008-08-16 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-15 15:07 hoffman
-
- * Modules/Platform/Windows-NMcl.cmake: ENH: add platform file for
- bounds checker
-
-2008-08-15 09:47 king
-
- * Source/cmSystemTools.cxx: COMP: Work-around bogus compiler
- warning.
-
-2008-08-15 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-14 15:34 alex
-
- * Modules/: FindLua50.cmake, FindLua51.cmake: BUG: fix
- documentation, the variables are named LUA50_FOUND and
- LUA51_FOUND (in all released versions)
-
- Alex
-
-2008-08-14 09:53 king
-
- * Source/: cmFileCommand.cxx, cmSystemTools.cxx, cmSystemTools.h:
- ENH: Inform user when RPATH or RUNPATH is removed
-
-2008-08-14 09:53 king
-
- * Source/cmSystemTools.cxx: BUG: Update both RPATH and RUNPATH
- entries
-
- During installation the RPATH and RUNPATH entries of ELF binaries
- are edited to match the user specification. Usually either one
- entry is present or both entries refer to the same string
- literal. In the case that they are both present and refer to
- separate string literals we need to update both. I have never
- seen this case in practice, but we should do this just in case.
-
-2008-08-14 09:53 king
-
- * Source/cmSystemTools.cxx: BUG: Remove both RPATH and RUNPATH
- entries
-
- Removal of the RPATH and RUNPATH from ELF binaries must work when
- both entries are present. Both entries should be removed.
- Previously only one would be removed and the other would be
- blanked because it pointed at the same string which was zeroed.
- This fixes gentoo bug number 224901.
-
-2008-08-14 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-13 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-12 19:01 king
-
- * Source/: cmFindPackageCommand.cxx, cmFindPackageCommand.h: ENH:
- Teach find_package about lib64 paths
-
- When find_package is about to look in <prefix>/lib, search first
- in <prefix>/lib64 in cases that find_library would use lib64
- paths.
-
-2008-08-12 17:27 hoffman
-
- * Tests/ExportImport/Export/testLib4libdbg1.c: file
- testLib4libdbg1.c was added on branch CMake-2-6 on 2008-09-03
- 13:43:28 +0000
-
-2008-08-12 17:27 hoffman
-
- * Tests/ExportImport/Export/testLib4libopt1.c: file
- testLib4libopt1.c was added on branch CMake-2-6 on 2008-09-03
- 13:43:28 +0000
-
-2008-08-12 17:27 king
-
- * Tests/ExportImport/Export/: CMakeLists.txt, testLib4libdbg1.c,
- testLib4libopt1.c: BUG: Fix ExportImport test on VS6
-
- Visual Studio 6 does not support per-target object files, so just
- use two separate source file names in this case.
-
-2008-08-12 07:01 alex
-
- * Source/cmakemain.cxx: STYLE: one ifdef block less, the
- documentation object can be created a bit later
-
- Alex
-
-2008-08-12 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-11 16:23 hoffman
-
- * Tests/ExportImport/Export/testLib4lib.c: file testLib4lib.c was
- added on branch CMake-2-6 on 2008-09-03 13:43:28 +0000
-
-2008-08-11 16:23 hoffman
-
- * Tests/ExportImport/Export/testLib4libdbg.c: file testLib4libdbg.c
- was added on branch CMake-2-6 on 2008-09-03 13:43:28 +0000
-
-2008-08-11 16:23 hoffman
-
- * Tests/ExportImport/Export/testLib4libopt.c: file testLib4libopt.c
- was added on branch CMake-2-6 on 2008-09-03 13:43:28 +0000
-
-2008-08-11 16:23 king
-
- * Tests/ExportImport/: Export/CMakeLists.txt, Export/testLib4lib.c,
- Export/testLib4libdbg.c, Export/testLib4libopt.c,
- Import/CMakeLists.txt, Import/imp_testExe1.c: ENH: Test
- target_link_libraries INTERFACE option
-
-2008-08-11 16:23 king
-
- * Source/: cmTargetLinkLibrariesCommand.cxx,
- cmTargetLinkLibrariesCommand.h: ENH: Simple specification of link
- interfaces
-
- Create an INTERFACE option to the target_link_libraries command
- to help set the LINK_INTERFACE_LIBRARIES and
- LINK_INTERFACE_LIBRARIES_DEBUG properties. This will help users
- specify link interfaces using variables from Find*.cmake modules
- that include the 'debug' and 'optimized' keywords.
-
-2008-08-11 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-10 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-09 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-08 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-07 17:51 king
-
- * Source/: cmTargetLinkLibrariesCommand.cxx,
- cmTargetLinkLibrariesCommand.h: ENH: Tolerate repeated link
- library types
-
- The "debug", "optimized", and "general" link library type
- specifier arguments to the target_link_library commands are
- sometimes repeated in user code due to variable expansion and
- other complications. Instead of silently accepting the
- duplicates and trying to link to a bogus library like
- "optimized.lib", warn and ignore the earlier specifiers.
-
-2008-08-07 17:12 king
-
- * Source/cmAddSubDirectoryCommand.h: ENH: Clarify documentation of
- EXCLUDE_FROM_ALL
-
- The add_subdirectory() command's EXCLUDE_FROM_ALL option does not
- override inter-target dependencies. This change clarifies the
- documentation accordingly.
-
-2008-08-07 10:13 hoffman
-
- * Tests/Dependency/Case4/CMakeLists.txt: file CMakeLists.txt was
- added on branch CMake-2-6 on 2008-09-03 13:43:27 +0000
-
-2008-08-07 10:13 hoffman
-
- * Tests/Dependency/Case4/bar.c: file bar.c was added on branch
- CMake-2-6 on 2008-09-03 13:43:27 +0000
-
-2008-08-07 10:13 hoffman
-
- * Tests/Dependency/Case4/foo.c: file foo.c was added on branch
- CMake-2-6 on 2008-09-03 13:43:27 +0000
-
-2008-08-07 10:13 king
-
- * Tests/Dependency/: CMakeLists.txt, Case4/CMakeLists.txt,
- Case4/bar.c, Case4/foo.c: ENH: Test fake circular dependency case
-
- A recent change fixed a case in which CMake incorrectly diagnosed
- a circular dependency involving a non-linkable executable target.
- This adds a test for that case.
-
-2008-08-07 09:09 king
-
- * Modules/: CMakeCCompilerABI.c, CMakeCCompilerId.c.in,
- CMakeCXXCompilerABI.cpp, CMakeCXXCompilerId.cpp.in,
- CheckTypeSizeC.c.in, TestEndianess.c.in: ENH: Improve robustness
- of compiler INFO strings
-
- Compiler INFO strings built at preprocessing time encode
- information that must appear as a string literal in the resulting
- binary. We must make sure the strings appear in the final binary
- no matter what compiler and flags are used. The previous
- implementation worked in most places but failed with the GNU
- linker's --gc-sections option which managed to discard the
- string. Instead we make the program return value depend on an
- element of the string indexed by a runtime program parameter,
- which absolutely requires the string to be present.
-
-2008-08-07 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-06 17:48 king
-
- * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h,
- cmComputeTargetDepends.cxx, cmComputeTargetDepends.h: BUG: Avoid
- bogus dependency on executable targets
-
- When an executable target within the project is named in
- target_link_libraries for another target, but the executable does
- not have the ENABLE_EXPORTS property set, then the executable
- cannot really be linked. This is probably a case where the user
- intends to link to a third-party library that happens to have the
- same name as an executable target in the project (or else will
- get an error at build time). We need to avoid making the other
- target depend on the executable target incorrectly, since the
- executable may actually want to link to that target and this is
- not a circular depenency.
-
-2008-08-06 17:48 king
-
- * Source/cmComputeTargetDepends.cxx: ENH: Improve readability of
- circular depends error
-
- When reporting the dependencies in a strongly connected component
- quote the target names to make the message more readable no
- matter the target name.
-
-2008-08-06 17:48 king
-
- * Source/cmGlobalGenerator.cxx: BUG: Fix crash on circular target
- dependencies
-
- After reporting an error about circular target dependencies do
- not try to continue generation because the dependency computation
- object is not in a useful state.
-
-2008-08-06 17:43 alex
-
- * Tests/CMakeLists.txt: BUG: fix endif()
-
- Alex
-
-2008-08-06 17:04 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Modules/CMakeCInformation.cmake,
- Modules/CMakeCXXInformation.cmake,
- Modules/CMakeFortranInformation.cmake,
- Modules/FindImageMagick.cmake, Modules/FindKDE3.cmake,
- Modules/Platform/Darwin.cmake,
- Modules/Platform/Linux-Intel-C.cmake,
- Modules/Platform/Linux-Intel-CXX.cmake, Source/CMakeLists.txt,
- Source/cmELF.cxx, Source/cmExtraEclipseCDT4Generator.cxx,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalGenerator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.h,
- Source/cmSourceFileLocation.cxx, Source/cmSourceFileLocation.h,
- Source/cmTarget.cxx, Source/cmTarget.h, Source/cmake.cxx,
- Source/cmake.h, Source/cmakemain.cxx,
- Source/CTest/cmCTestCoverageHandler.cxx,
- Tests/CustomCommand/CMakeLists.txt: ENH: merge in fixes from main
- tree 2.6.2 RC 1
-
-2008-08-06 16:16 alex
-
- * Tests/CMakeLists.txt: ENH: add simple tests to test that the
- extra generators don't crash
-
- Alex
-
-2008-08-06 16:05 king
-
- * Modules/Platform/: Linux-Intel-C.cmake, Linux-Intel-CXX.cmake:
- ENH: Add preprocessor and assembly rules for Intel
-
-2008-08-06 15:35 alex
-
- * Source/cmExtraEclipseCDT4Generator.cxx: BUG: don't crash in the
- generator is EXECUTABLE_OUTPUT_PATH or LIBRARY_OUTPUT_PATH are
- empty
-
- Alex
-
-2008-08-06 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-05 16:06 alex
-
- * Modules/FindKDE3.cmake: BUG: fix #7452, bad closing ENDIF()
- statement
-
- Alex
-
-2008-08-05 13:27 king
-
- * Tests/CustomCommand/CMakeLists.txt: ENH: Test relative path
- custom command output
-
- As of CMake 2.6 a custom command output specified by relative
- path is placed in the build tree. This adds a test to make sure
- other references to the output are hooked up correctly, fixing a
- bug in CMake 2.6.1.
-
-2008-08-05 13:27 king
-
- * Source/cmLocalGenerator.cxx: BUG: Custom command depends may
- match sources
-
- Custom command dependencies that are not full paths or targets
- may also match source files. When one does, the full information
- about the source file's location and name may be used. This
- fixes the case when a custom commands depends by relative path on
- a source file generated by another custom command specifying its
- output by relative path.
-
-2008-08-05 13:27 king
-
- * Source/: cmSourceFileLocation.cxx, cmSourceFileLocation.h: BUG:
- Fix matching of ambiguous sf extensions.
-
- A name with an ambiguous extension may only match an unambiguous
- name that is extended by one of the fixed set of extensions tried
- when finding the source file on disk. This rule makes matching
- of source files with ambiguous extensions much less aggressive
- but still sufficient.
-
-2008-08-05 09:55 king
-
- * Source/cmLocalGenerator.cxx: BUG: Do not convert RPATH entries to
- full path.
-
- When generating RPATH entries on the link line using a repeated
- linker flag (-R ... -R ... style) do not convert individual
- entries to a full path. We need to preserve what the user
- requested.
-
-2008-08-05 09:55 king
-
- * Source/cmLocalGenerator.cxx: BUG: Fix escaping in link scripts
-
- When generating escape sequences for the native build tool do not
- put in Makefile escapes for paths generated into link scripts.
- This fixes putting "$ORIGIN" into the RPATH, and probably some
- other subtle problems.
-
-2008-08-05 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-04 11:37 king
-
- * Modules/CMakeCInformation.cmake,
- Modules/CMakeCXXInformation.cmake,
- Modules/CMakeFortranInformation.cmake,
- Source/cmMakefileLibraryTargetGenerator.cxx: ENH: Build large
- archives incrementally
-
- Creation of archive libraries with the unix 'ar' tool should be
- done incrementally when the number of object files is large.
- This avoids problems with the command line getting too many
- arguments.
-
-2008-08-04 09:38 king
-
- * Source/cmELF.cxx: BUG: Fix operator precedence error in cmELF
-
- When attempting to load the RPATH out of a non-ELF file cmELF
- would crash because the check for a valid file was done with in
- correct operator precedence. See bug#7392.
-
-2008-08-04 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-03 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-02 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-08-01 20:38 miguelf
-
- * Modules/FindImageMagick.cmake: STYLE: Fixed module list in
- documentation; Magick should be MagickCore.
-
-2008-08-01 12:10 david.cole
-
- * Source/CMakeLists.txt: BUG: Improve fix for issue #7058 -
- comsuppd did not yet exist in VC6.
-
-2008-08-01 11:03 hoffman
-
- * CMakeLists.txt: ENH: final 2.6.1
-
-2008-08-01 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-31 14:16 david.cole
-
- * Source/CTest/cmCTestCoverageHandler.cxx: BUG: Fix issue#4792 -
- improve verbose and log output when ctest cannot find a file
- during coverage analysis.
-
-2008-07-31 13:46 david.cole
-
- * Source/CMakeLists.txt: BUG: Fix issue #7058 - link the commsup
- lib explicitly for use on some Visual Studio + SDK combinations
-
-2008-07-31 13:36 hoffman
-
- * Source/cmake.cxx: BUG: fix for 7426 bad check for cpack
-
-2008-07-31 12:54 david.cole
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: Fix issue #5773 -
- add table entry to map /W0 to WarningLevel="0"
-
-2008-07-31 12:00 hoffman
-
- * Tests/BundleGeneratorTest/CMakeLists.txt: ENH: fix for branch
-
-2008-07-31 11:52 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Modules/InstallRequiredSystemLibraries.cmake,
- Source/cmCallVisualStudioMacro.cxx,
- Source/cmCallVisualStudioMacro.h, Source/cmGlobalGenerator.cxx,
- Source/cmGlobalVisualStudioGenerator.cxx, Source/cmake.cxx,
- Tests/CMakeLists.txt, Tests/BundleGeneratorTest/BundleIcon.icns,
- Tests/BundleGeneratorTest/CMakeLists.txt,
- Tests/BundleGeneratorTest/Executable.cxx,
- Tests/BundleGeneratorTest/Info.plist,
- Tests/BundleGeneratorTest/Library.cxx,
- Tests/BundleGeneratorTest/StartupCommand: ENH: merge in stuff
- from cvs head RC 16
-
-2008-07-31 11:28 david.cole
-
- * Source/CTest/cmCTestCoverageHandler.cxx: BUG: Fix issue #4971 -
- use lower case when comparing file names from gcov output on
- _WIN32 since sometimes the drive letters have different case.
-
-2008-07-31 10:54 hoffman
-
- * Tests/CMakeLists.txt: ENH: fix build with Xcode project was
- missing
-
-2008-07-31 10:33 hoffman
-
- * Source/: cmMakefile.cxx, cmake.cxx, cmake.h, cmakemain.cxx: ENH:
- add a --trace option
-
-2008-07-31 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-30 16:36 hoffman
-
- * Tests/BundleGeneratorTest/BundleIcon.icns: file BundleIcon.icns
- was added on branch CMake-2-6 on 2008-07-31 15:52:24 +0000
-
-2008-07-30 16:36 hoffman
-
- * Tests/BundleGeneratorTest/CMakeLists.txt: file CMakeLists.txt was
- added on branch CMake-2-6 on 2008-07-31 15:52:25 +0000
-
-2008-07-30 16:36 hoffman
-
- * Tests/BundleGeneratorTest/Executable.cxx: file Executable.cxx was
- added on branch CMake-2-6 on 2008-07-31 15:52:25 +0000
-
-2008-07-30 16:36 hoffman
-
- * Tests/BundleGeneratorTest/Info.plist: file Info.plist was added
- on branch CMake-2-6 on 2008-07-31 15:52:25 +0000
-
-2008-07-30 16:36 hoffman
-
- * Tests/BundleGeneratorTest/Library.cxx: file Library.cxx was added
- on branch CMake-2-6 on 2008-07-31 15:52:25 +0000
-
-2008-07-30 16:36 hoffman
-
- * Tests/BundleGeneratorTest/StartupCommand: file StartupCommand was
- added on branch CMake-2-6 on 2008-07-31 15:52:25 +0000
-
-2008-07-30 16:36 david.cole
-
- * Tests/: CMakeLists.txt, BundleGeneratorTest/BundleIcon.icns,
- BundleGeneratorTest/CMakeLists.txt,
- BundleGeneratorTest/Executable.cxx,
- BundleGeneratorTest/Info.plist, BundleGeneratorTest/Library.cxx,
- BundleGeneratorTest/StartupCommand: ENH: Add test for the new
- CPack BundleGenerator. Thanks to Tim Shead for the patch. See
- issue #7170 for more details.
-
-2008-07-30 15:43 david.cole
-
- * Modules/InstallRequiredSystemLibraries.cmake: BUG: Fix issue
- #6610. Use 64-bit system binaries when using the 64-bit MSVC
- compiler. Thanks to Clinton Stimpson for the patch.
-
-2008-07-30 15:26 david.cole
-
- * Source/: cmCallVisualStudioMacro.cxx, cmCallVisualStudioMacro.h,
- cmGlobalVisualStudioGenerator.cxx, cmake.cxx: BUG: Fix issue
- #7088 - do not emit error messages when attempts to run Visual
- Studio macros fail. You can still get the error output as
- messages if you want using --debug-output from the cmake command
- line.
-
-2008-07-30 15:18 hoffman
-
- * Source/cmGlobalGenerator.cxx: BUG: fix for bug 7427, preinstall
- target name hard coded
-
-2008-07-30 14:54 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/FindBoost.cmake,
- Modules/FindImageMagick.cmake, Modules/FindJPEG.cmake,
- Source/cmComputeLinkDepends.cxx, Source/cmComputeLinkDepends.h,
- Source/cmComputeLinkInformation.cxx, Source/cmLocalGenerator.cxx,
- Source/cmOrderDirectories.cxx, Source/cmOrderDirectories.h,
- Source/cmSourceFileLocation.cxx,
- Source/CPack/cmCPackPackageMakerGenerator.cxx,
- Source/CPack/cmCPackPackageMakerGenerator.h: ENH: merge in from
- main tree RC 15
-
-2008-07-30 13:28 david.cole
-
- * Source/CPack/: cmCPackPackageMakerGenerator.cxx,
- cmCPackPackageMakerGenerator.h: BUG: Fix issue #7414 - do not
- crash when given components with circular dependencies. Thanks to
- Doug Gregor for the patch.
-
-2008-07-30 11:06 king
-
- * Source/cmSourceFileLocation.cxx: ENH: Recognize src extensions of
- all enabled langs
-
- For historical reasons we still support naming of source files
- without their extension. Sources without known extensions are
- located on disk by iterating through a fixed set of possible
- extensions. We now want users to always specify the extension,
- so the fixed set will not be expanded and is preserved for
- compatibility with older projects.
-
- This change adds recognition of extensions of all enabled
- languages to avoid checking the disk for files whose extensions
- are unambiguous but not in the original fixed set.
-
-2008-07-30 11:06 king
-
- * Source/cmSourceFileLocation.cxx: BUG: Avoid double-slash in check
- for source file
-
-2008-07-30 10:44 hoffman
-
- * Source/cmLocalGenerator.cxx: BUG: fix for bug 7421, fortran did
- not get arch flags on the mac
-
-2008-07-30 10:23 king
-
- * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h,
- cmComputeLinkInformation.cxx: BUG: Preserve all non-targets on
- user link lines
-
- In CMake 2.4 the generated link line for a target always
- preserved the originally specified libraries in their original
- order. Dependencies were satisfied by inserting extra libraries
- into the line, though it had some bugs. In CMake 2.6.0 we
- preserved only the items on the link line that are not known to
- be shared libraries. This reduced excess libraries on the link
- line. However, since we link to system libraries (such as
- /usr/lib/libm.so) by asking the linker to search (-lm), some
- linkers secretly replace the library with a static library in
- another implicit search directory (developers can override this
- by using an imported target to force linking by full path). When
- this happens the order still matters.
-
- To avoid this and other potential subtle issues this commit
- restores preservation of all non-target items and static library
- targets. This will create cases of unnecessary, duplicate shared
- libraries on the link line if the user specifies them, but at
- least it will work. In the future we can attempt a more advanced
- analysis to safely remove duplicate shared libraries from the
- link line.
-
-2008-07-30 09:25 king
-
- * Source/cmComputeLinkDepends.cxx: BUG: Preserve shared lib order
- for 2.4 compatibility
-
- We preserve the order and multiplicity of libraries directly
- linked by a target as specified by the user. Items known to be
- shared libraries may be safely skipped because order preservation
- is only needed for static libraries. However, CMake 2.4 did not
- skip shared libs, so we do the same when in 2.4 compatibility
- mode.
-
-2008-07-30 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-29 16:41 hoffman
-
- * Modules/FindJPEG.cmake: BUG: #7416 fix error when jpeg is not
- found
-
-2008-07-29 14:57 king
-
- * Source/: cmComputeLinkInformation.cxx, cmOrderDirectories.cxx,
- cmOrderDirectories.h: ENH: Warn when system libraries may be
- hidden.
-
- We never explicitly specify system library directories in linker
- or runtime search paths. Furthermore, libraries in these
- directories are always linked by asking the linker to search for
- them. We need to generate a warning when explicitly specified
- search directories contain files that may hide the system
- libraries during the search.
-
-2008-07-29 14:01 king
-
- * Source/: cmComputeLinkInformation.cxx, cmOrderDirectories.cxx,
- cmOrderDirectories.h: ENH: Provide context in path ordering
- warnings
-
-2008-07-29 14:00 king
-
- * Source/cmOrderDirectories.cxx: STYLE: Fix typo in comment in
- cmOrderDirectories
-
-2008-07-29 10:51 hoffman
-
- * Source/cmComputeLinkInformation.cxx: ENH: do not depend on files
- that do not exist
-
-2008-07-29 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-28 15:40 dgregor
-
- * Modules/FindBoost.cmake: BUG: Be more careful with
- Boost_MINOR_VERSION in FindBoost module
-
-2008-07-28 14:33 dgregor
-
- * Modules/FindBoost.cmake: BUG: Work around Boost 1.36.0 bug fix on
- Darwin by setting the mangled compiler name to -xgccVERSION
-
-2008-07-28 11:31 hoffman
-
- * CMakeLists.txt, CTestConfig.cmake, ChangeLog.manual,
- DartConfig.cmake, Source/cmComputeLinkInformation.cxx,
- Source/cmComputeLinkInformation.h, Source/cmPolicies.cxx,
- Source/cmPolicies.h, Source/cmTarget.cxx, Source/cmTarget.h: ENH:
- merge in policy 0008 and cdash direct submission
-
-2008-07-28 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-27 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-26 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-25 23:23 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/FindJNI.cmake,
- Source/cmSourceFileLocation.cxx: ENH: merge in from main tree and
- fix bug for flex and yacc stuff in SecondLife
-
-2008-07-25 18:00 hoffman
-
- * Source/cmSourceFileLocation.cxx: BUG: fix source file extension
- bug that broke Second life build
-
-2008-07-25 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-24 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-23 12:59 king
-
- * Source/: cmComputeLinkInformation.cxx,
- cmComputeLinkInformation.h, cmPolicies.cxx, cmPolicies.h,
- cmTarget.cxx, cmTarget.h: ENH: Support full-path libs w/out valid
- names.
-
- This change introduces policy CMP0008 to decide how to treat full
- path libraries that do not appear to be valid library file names.
- Such libraries worked by accident in the VS IDE and Xcode
- generators with CMake 2.4 and below. We support them in CMake
- 2.6 by introducing this policy. See policy documentation added
- by this change for details.
-
-2008-07-23 12:19 king
-
- * Source/: cmComputeLinkInformation.cxx,
- cmComputeLinkInformation.h: ENH: Skip libs in known dirs for
- CMP0003 warnings.
-
- Sometimes we ask the linker to search for a library for which the
- path is known but for some reason cannot be specified by full
- path. In these cases do not include the library in CMP0003
- warnings because we know the extra paths are not needed for it.
-
-2008-07-23 02:47 miguelf
-
- * Modules/FindImageMagick.cmake: ENH: Updated FindImageMagick to: -
- Find newer additions such as animate, compare, etc. - Find
- development api: Magick++, MagickCore, MagickWand - Use
- FindPackageHandleStandardArgs to output standard messages.
-
-2008-07-23 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-22 14:04 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Modules/CheckFortranFunctionExists.cmake, Modules/FindBLAS.cmake,
- Modules/FindLAPACK.cmake, Modules/FindMPI.cmake,
- Modules/FindwxWidgets.cmake, Source/cmComputeLinkInformation.cxx,
- Source/cmDocumentVariables.cxx, Source/cmDocumentation.cxx,
- Source/cmDocumentationFormatter.cxx,
- Source/cmDocumentationFormatterHTML.cxx,
- Source/cmLocalGenerator.cxx,
- Source/CPack/cmCPackBundleGenerator.cxx: ENH: merge in changes
- from main tree for RC12
-
-2008-07-22 13:34 hoffman
-
- * Modules/: FindBLAS.cmake, FindLAPACK.cmake, FindOpenSSL.cmake:
- ENH: change to correct line feed
-
-2008-07-22 13:32 hoffman
-
- * Source/cmLocalGenerator.cxx: COMP: fix compiler warning and
- follow style
-
-2008-07-22 07:15 alin.elena
-
- * Modules/: CheckFortranFunctionExists.cmake, FindBLAS.cmake,
- FindLAPACK.cmake:
- ENH: FindBLAS.cmake, FindLAPACK.cmake modules were redesigned so
- now you have three new variables BLA_VENDOR (you can specify the
- VENDOR), BLA_STATIC (gets the static version of libs), BLA_F95
- (gets the fortran 95 interface). BLA_VENDOR can be specified as
- an environment variable. Intel mkls libs need FindThreads to be
- found correctly so you will need to enable the C/CXX
-
-2008-07-22 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-21 17:52 alex
-
- * Source/: cmDocumentation.cxx, cmDocumentationFormatter.cxx,
- cmDocumentationFormatterHTML.cxx: ENH: handle HTML documentation
- for single items better: no warning about
- ComputeSectionLinkPrefix, don't create an index for only one item
-
- Alex
-
-2008-07-21 15:44 hoffman
-
- * CTestConfig.cmake, DartConfig.cmake: ENH: switch to using cdash
- for submissions
-
-2008-07-21 15:34 hoffman
-
- * Modules/: FindBLAS.cmake, FindLAPACK.cmake: ENH: get out of
- module if no fortran
-
-2008-07-21 15:11 hoffman
-
- * Modules/: FindBLAS.cmake, FindLAPACK.cmake: ENH: this should fail
- only if required is sent to find package
-
-2008-07-21 13:40 alin.elena
-
- * Modules/: FindBLAS.cmake, FindLAPACK.cmake:
- ENH: checks if Fortran is enbaled. If not an error message is
- produced.
-
-2008-07-21 10:07 king
-
- * Source/cmComputeLinkInformation.cxx: ENH: Support full-path libs
- w/out extension in VS IDE.
-
- - This case worked accidentally in CMake 2.4, though not in
- Makefiles.
- - Some projects build only with the VS IDE on windows and have
- this
- mistake.
- - Support them when 2.4 compatibility is enabled by adding the
- extension.
-
-2008-07-21 04:56 alin.elena
-
- * Modules/: CheckFortranFunctionExists.cmake, FindLAPACK.cmake:
- ENH: Modules/CheckFortranFunctionExists.cmake helps gfortran to
- check the existence of a file ENH: Modules/FindLAPACK.cmake
- returns the full list of libraries required to link against
- Lapack
-
-2008-07-21 00:02 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-20 17:14 alex
-
- * Source/cmDocumentVariables.cxx: STYLE: fix #7146, add
- documentation for
- CMAKE[_SYSTEM]_(LIBRARY|PROGRAM|INCLUDE|PREFIX)_PATH variables
- -moved CMAKE_CROSSCOMPILING from "Variables that modify
- behaviour" to "variables that Provide Information", since it
- should be used only for testing whether we are currently in cross
- compiling mode, not for switching between the modes.
-
- Alex
-
-2008-07-20 15:50 alex
-
- * Modules/FindJNI.cmake: BUG: #7333, search dirs for Fedora
-
- Alex
-
-2008-07-20 15:45 alex
-
- * Modules/FindJNI.cmake: BUG: #7360: add support for FreeBSD BUG:
- #7345: add support for ppc
-
- Alex
-
-2008-07-20 15:39 alex
-
- * Modules/FindJNI.cmake: BUG: fix #6416: provide JNI_LIBRARIES and
- JNI_INCLUDE_DIRS
-
- Alex
-
-2008-07-19 23:52 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-18 23:52 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-18 16:12 david.cole
-
- * Source/CPack/cmCPackBundleGenerator.cxx: ENH: Improvements to the
- bundle cpack generator from second patch attached to feature
- request #7170. Thanks to Tim Shead.
-
-2008-07-18 11:24 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Utilities/cmcurl/CMakeLists.txt,
- Utilities/cmcurl/CMake/CheckCSourceCompiles.cmake,
- Utilities/cmcurl/CMake/CheckCSourceRuns.cmake,
- Utilities/cmcurl/CMake/CurlCheckCSourceCompiles.cmake,
- Utilities/cmcurl/CMake/CurlCheckCSourceRuns.cmake,
- Utilities/cmcurl/CMake/OtherTests.cmake: ENH: merge in fix for
- xcode 3.1 build from main tree
-
-2008-07-18 08:17 dgregor
-
- * Modules/FindMPI.cmake: ENH: Use the HINTS feature of find_library
- to find the right libraries for MPI, and act a bit more
- intelligently when MPI cannot be found.
-
-2008-07-17 23:52 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-17 15:19 king
-
- * Utilities/cmcurl/CMakeLists.txt: COMP: Check for -Wno-long-double
- before using
-
- Older GCC on the Mac warns for use of long double, so we use
- -Wno-long-double. Newer GCC on the Mac does not have this flag
- and gives an error. We now check for the flag before using it.
- See bug #7357.
-
-2008-07-17 15:19 hoffman
-
- * Utilities/cmcurl/CMake/CurlCheckCSourceCompiles.cmake: file
- CurlCheckCSourceCompiles.cmake was added on branch CMake-2-6 on
- 2008-07-18 15:24:26 +0000
-
-2008-07-17 15:19 hoffman
-
- * Utilities/cmcurl/CMake/CurlCheckCSourceRuns.cmake: file
- CurlCheckCSourceRuns.cmake was added on branch CMake-2-6 on
- 2008-07-18 15:24:26 +0000
-
-2008-07-17 15:19 king
-
- * Utilities/cmcurl/CMake/: CheckCSourceCompiles.cmake,
- CheckCSourceRuns.cmake, CurlCheckCSourceCompiles.cmake,
- CurlCheckCSourceRuns.cmake, OtherTests.cmake: ENH: Avoid cmcurl
- CMake macro name conflicts
-
- Utilities/cmcurl/CMake provides macros with the same file names
- and macro names as others in Modules, but with different
- interfaces. We rename the curl ones to avoid conflict.
-
-2008-07-17 10:14 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Source/cmGlobalGenerator.cxx,
- Source/cmGlobalGenerator.h, Tests/TryCompile/CMakeLists.txt: ENH:
- merge in two bug fixes to 26
-
-2008-07-16 23:52 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-16 11:03 king
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h: BUG: Fix
- try_compile during EnableLanguage
-
- - The source-file signature of try_compile looks up the
- language
- of the source file using the extension-to-language map so
- that
- it knows what language to enable in the generated project.
- - This map needs to be filled before loading a file specified
- by
- CMAKE_USER_MAKE_RULES_OVERRIDE
- CMAKE_USER_MAKE_RULES_OVERRIDE_<LANG>
- so that the user file may call the try_compile() source-file
- signature.
- - It must still be re-filled after loading
- CMake<LANG>Information.cmake
- in case the compiler- or platform-specific files added
- anything.
- - See bug #7340.
-
-2008-07-16 09:29 hoffman
-
- * Tests/TryCompile/CMakeLists.txt: ENH: remove test that does not
- work on all compilers
-
-2008-07-15 23:52 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-15 11:35 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/FindBoost.cmake,
- Source/cmGlobalXCodeGenerator.cxx,
- Tests/TryCompile/CMakeLists.txt: ENH: merge in fix for xcode and
- new version of find boost
-
-2008-07-15 10:04 hoffman
-
- * Tests/TryCompile/CMakeLists.txt: ENH: add a test for bug 7316
-
-2008-07-14 23:53 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-14 18:51 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: BUG: fix for bug 7316
-
-2008-07-14 13:52 dgregor
-
- * Modules/FindBoost.cmake: ENH: FindBoost can now find the upcoming
- Boost 1.46
-
-2008-07-14 12:24 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Source/CMakeLists.txt: ENH: add
- cmCPackComponentGroup to build
-
-2008-07-14 09:22 hoffman
-
- * Source/CPack/cmCPackComponentGroup.cxx: ENH: add missing merged
- file
-
-2008-07-13 23:53 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-13 18:06 miguelf
-
- * Modules/FindwxWidgets.cmake: ENH: Improved support for finding
- wxWidgets in MinGW environment.
-
-2008-07-13 17:55 hoffman
-
- * CMakeCPackOptions.cmake.in, CMakeLists.txt, ChangeLog.manual,
- Modules/CPack.Info.plist.in, Modules/CPack.cmake,
- Modules/FindBoost.cmake, Modules/FindQt4.cmake,
- Modules/FindwxWidgets.cmake, Modules/NSIS.template.in,
- Source/cmBootstrapCommands.cxx, Source/cmCommands.cxx,
- Source/cmGetCMakePropertyCommand.cxx,
- Source/cmGetCMakePropertyCommand.h, Source/cmGlobalGenerator.h,
- Source/cmGlobalXCodeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.h, Source/cmInstallCommand.cxx,
- Source/cmInstallFilesCommand.cxx,
- Source/cmInstallProgramsCommand.cxx,
- Source/cmInstallTargetGenerator.h,
- Source/cmInstallTargetsCommand.cxx, Source/cmake.cxx,
- Source/CPack/cmCPackComponentGroup.h,
- Source/CPack/cmCPackGenerator.cxx,
- Source/CPack/cmCPackNSISGenerator.cxx,
- Source/CPack/cmCPackNSISGenerator.h,
- Source/CPack/cmCPackPackageMakerGenerator.cxx,
- Source/CPack/cmCPackPackageMakerGenerator.h,
- Source/QtDialog/CMakeSetupDialog.cxx,
- Source/QtDialog/CMakeSetupDialog.h,
- Source/QtDialog/CMakeSetupDialog.ui,
- Source/QtDialog/QCMakeCacheView.cxx,
- Source/kwsys/RegularExpression.cxx,
- Tests/CPackComponents/CMakeLists.txt: ENH: Merge from head create
- RC7
-
-2008-07-12 23:53 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-11 23:53 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-10 23:53 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-10 17:20 hoffman
-
- * Source/kwsys/RegularExpression.cxx: COMP: remove warning and
- check for assignment to itself in operator=
-
-2008-07-09 23:53 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-09 17:45 king
-
- * Modules/Platform/Darwin.cmake: BUG: Fix dylib versioning flags
- for old OSX.
-
- - ld flags -dylib_compatibility_version and
- -dylib_current_version
- are libtool flags -compatibility_version and -current_version
- - OSX 10.3 does not like the dylib_ prefixes.
-
-2008-07-09 16:30 david.cole
-
- * Source/CPack/cmCPackComponentGroup.h: COMP: Fix HP continuous.
- Pull stl headers into CMake header files using
- cmStandardIncludes.h
-
-2008-07-09 13:38 hoffman
-
- * Source/CPack/cmCPackComponentGroup.cxx: file
- cmCPackComponentGroup.cxx was added on branch CMake-2-6 on
- 2008-07-14 13:22:45 +0000
-
-2008-07-09 13:38 david.cole
-
- * Modules/CPack.Info.plist.in, Modules/CPack.cmake,
- Source/CMakeLists.txt, Source/CPack/cmCPackComponentGroup.cxx,
- Source/CPack/cmCPackComponentGroup.h,
- Source/CPack/cmCPackPackageMakerGenerator.cxx,
- Source/CPack/cmCPackPackageMakerGenerator.h: ENH: One more patch
- from Doug Gregor including PackageMaker functionality for
- componentized-for-the-end-user and download-some-bit-on-demand
- installers.
-
-2008-07-09 11:46 hoffman
-
- * Source/kwsys/RegularExpression.cxx: ENH: fix memory leak
-
-2008-07-09 10:09 king
-
- * Modules/Platform/Darwin.cmake, Source/cmGlobalXCodeGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.h: ENH: Set version info
- for shared libs on OSX.
-
- - Map SOVERSION major.minor.patch to compatibility_version
- - Map VERSION major.minor.patch to current_version
- - See issue #4383.
-
-2008-07-09 10:09 king
-
- * Source/: cmTarget.cxx, cmTarget.h: ENH: Add full target version
- signature cmTarget::GetTargetVersion.
-
-2008-07-08 23:53 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-08 17:47 david.cole
-
- * Tests/CPackComponents/CMakeLists.txt: ENH: Use new
- cpack_add_component macro (and friends) from the CPackComponents
- test. Thanks again to Doug Gregor!
-
-2008-07-08 11:52 david.cole
-
- * Modules/CPack.cmake, Modules/NSIS.template.in,
- Source/CPack/cmCPackComponentGroup.h,
- Source/CPack/cmCPackGenerator.cxx,
- Source/CPack/cmCPackNSISGenerator.cxx,
- Source/CPack/cmCPackNSISGenerator.h,
- Source/CPack/cmCPackPackageMakerGenerator.cxx,
- Source/cmGetCMakePropertyCommand.cxx,
- Source/cmGetCMakePropertyCommand.h, Source/cmGlobalGenerator.h,
- Source/cmInstallCommand.cxx, Source/cmInstallFilesCommand.cxx,
- Source/cmInstallProgramsCommand.cxx,
- Source/cmInstallTargetGenerator.h,
- Source/cmInstallTargetsCommand.cxx: ENH: Further refinement of
- the CPack components functionality from Doug Gregor.
-
- Details: ==========
-
- - New cpack_add_component, cpack_add_component_group, and
- cpack_add_install_type "commands" defined as macros in the CPack
- module. - Documentation for all of the variables and commands
- in the CPack module. - Added get_cmake_property(... COMPONENTS)
- to CMake to ask for the names of all components. Used in the
- CPack module to automatically build component-based installers.
- (Set CPACK_MONOLITHIC_INSTALL to turn off component-based
- installation). - A group can declare its PARENT_GROUP, to build
- an arbitrary hierarchy of groups. - New CPack command
- cpack_configure_downloads, which creates an installer that
- downloads only the selected components on-the-fly. Those
- components marked DOWNLOADED will be separate packages downloaded
- on-the-fly (or, all packages can be marked as such with the ALL
- option to cpack_configure_downloads). Individual components are
- compressed with ZIP at installer-creation time and
- downloaded/uncompressed by the installer as needed. This feature
- is only available on Windows with NSIS at the moment. - NSIS
- installers can install themselves and enable the "Change" button
- in Add/Remove programs, allowing users to go back and install or
- remove components. This can be disabled through
- cpack_configure_downloads, because it's only really useful is
- most of the application's functionality is in downloaded
- components. - Bug fix: automatically install everything whose
- COMPONENT was not specified (it's a hidden, required group) -
- Bug fix: fixed removal of components when re-running the NSIS
- installer and unchecking components - Bug fix: NSIS installers
- now only install/remove the minimal number of files when re-run
- to update the installation (or by clicking "Change" in Add/Remove
- programs)
-
-2008-07-07 23:53 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-07 15:07 hoffman
-
- * Source/cmBootstrapCommands.cxx, Source/cmCommands.cxx,
- Tests/CMakeLists.txt: ENH: add get_test_property to bootstrap so
- bootstrap builds test the same as non-bootstrap builds
-
-2008-07-07 13:12 king
-
- * Source/cmGlobalXCodeGenerator.cxx: BUG: Do not build
- human-reference files in Xcode
-
- - The Info.plist file in app bundles should not be built.
- - User-specified files such as foo.txt should not be built.
- - Only files with a recognized language should be built,
- just as in the Makefiles generators.
- - See bug #7277.
-
-2008-07-07 10:57 king
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: Add projectRoot to Xcode
- projects
-
- - This attribute points Xcode at the source tree.
- - Xcode 3 wants this to be set always.
- - See bug #7044.
-
-2008-07-07 10:05 king
-
- * Source/cmGlobalXCodeGenerator.cxx: BUG: Fix AppBundle=>Library
- depends in Xcode
-
- - The Xcode generator xcode-depend-helper needs to account
- for the paths of executables within application bundles.
- - See bug #7278.
-
-2008-07-06 23:54 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-06 22:06 hoffman
-
- * Source/CTest/cmCTestTestHandler.cxx: COMP: fix warning
-
-2008-07-06 20:03 hoffman
-
- * Source/CTest/cmCTestMultiProcessHandler.h: COMP: fix some more
- warnings
-
-2008-07-06 19:58 hoffman
-
- * Source/CTest/: cmCTestTestHandler.cxx, cmCTestTestHandler.h:
- COMP: fix a few more warnings
-
-2008-07-06 04:57 miguelf
-
- * Modules/FindwxWidgets.cmake: BUG: Add new library richtext.
- Reported in #7284 thanks to earith.
-
-2008-07-05 23:54 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-05 13:25 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h,
- CMakeSetupDialog.ui:
- ENH: Replace Advanced checkbox and group option in menu with a
- combo box to choose view type.
-
-2008-07-05 11:57 clinton
-
- * Modules/FindQt4.cmake:
- BUG: Watch for empty qconfig.pri files. Fixes #7287.
-
-2008-07-05 09:29 hoffman
-
- * Source/cmGlobalGenerator.cxx: COMP: fix warning
-
-2008-07-04 23:54 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-04 10:28 hoffman
-
- * Source/CTest/: cmCTestMultiProcessHandler.cxx,
- cmCTestMultiProcessHandler.h, cmCTestTestHandler.cxx: COMP: try
- to fix sgi compiler problem with set and also shorten symbol
- lengths for set class
-
-2008-07-04 10:10 hoffman
-
- * Source/CTest/cmCTestTestHandler.cxx: COMP: fix more warnings
-
-2008-07-04 09:55 hoffman
-
- * Source/CTest/cmCTestTestHandler.cxx: COMP: fix warning
-
-2008-07-04 09:50 hoffman
-
- * Source/: cmCTest.cxx, CTest/cmCTestTestHandler.cxx: COMP: fix
- some warnings
-
-2008-07-03 23:54 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-03 18:19 dgregor
-
- * Modules/FindBoost.cmake: COMP: Find Boost as installed by the
- BoostPro/Boost Consulting installers on Windows
-
-2008-07-03 16:26 hoffman
-
- * Source/CTest/cmCTestMultiProcessHandler.cxx: ENH: one more fix
- for the old hp c++ compiler
-
-2008-07-03 15:49 dgregor
-
- * Modules/FindBoost.cmake: ENH: Cleanup FindBoost module, fixing
- several small bugs and providing better diagnostic information
- when things go wrong
-
-2008-07-03 15:46 king
-
- * Tests/CMakeLists.txt: BUG: Replace non-bootstrap command with
- macro
-
- - The GET_TEST_PROPERTY command does not exist during
- bootstrap.
- - Instead of lots of conditionals, replace it with a macro.
-
-2008-07-03 15:02 hoffman
-
- * Source/CTest/cmProcess.cxx: ENH: one more fix for hp
-
-2008-07-03 14:38 king
-
- * Tests/CMakeLists.txt: ENH: Remove condition on use of CMake 2.4
- commands
-
- - Commands SET_TESTS_PROPERTIES and GET_TEST_PROPERTY exist
- in CMake 2.4, which is now required.
- - Therefore we need not check before using them.
-
-2008-07-03 14:34 king
-
- * Tests/CMakeLists.txt: COMP: Don't set properties on a
- non-existing test
-
- - Test SubProject-Stage2 is conditionally created.
- - Set properties on it only if it exists.
-
-2008-07-03 13:55 hoffman
-
- * Source/CTest/cmProcess.h: ENH: fix for old hp compiler
-
-2008-07-03 13:55 king
-
- * Source/cmake.cxx: ENH: Do not auto-create out-dated cache
- variables
-
- - We used to always put LIBRARY_OUTPUT_PATH and
- EXECUTABLE_OUTPUT_PATH
- in the cache if the project did not.
- - In CMake 2.6 these variables should no longer be used.
- - Now add them only if CMAKE_BACKWARDS_COMPATIBILITY is also
- cached.
- - This happens only when CMP0001 is set to OLD or WARN or if
- the user or project sets it. In any case compatibility is
- needed.
- - Reported by Miguel A. Figueroa-Villanueva and Philip Lowman.
-
-2008-07-03 13:28 king
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- BUG: Fix Xcode reference to Info.plist resource
-
- - Generated Xcode projects for application bundles list the
- CMake-generated Info.plist input file as a resource.
- - The location of the input file was moved by a previous
- commit,
- but the reference to it as a resource file was not updated.
- - This change moves the file to CMakeFiles/<tgt>.dir/Info.plist
- to give it a more intuitive name in the Xcode project.
- - We also update the reference to point at the correct
- location.
- - See bug #7277.
-
-2008-07-03 13:28 king
-
- * Source/cmGlobalXCodeGenerator.cxx: BUG: Fix Xcode per-config
- bundle name in Info.plist
-
- - The Xcode generator creates one Info.plist input file which
- is
- converted at build time by Xcode and placed in the final
- bundle.
- - The <CONFIG>_OUTPUT_NAME target property can place different
- content
- for the exe name in Info.plist on a per-configuration basis.
- - Instead of generating a per-config Info.plist input file just
- let
- Xcode put the name in at build time using the
- $(EXECUTABLE_NAME) var.
-
-2008-07-03 09:49 hoffman
-
- * Source/CTest/: cmProcess.cxx, cmProcess.h: ENH: add missing file
-
-2008-07-03 09:31 hoffman
-
- * Source/CMakeLists.txt, Source/cmCTest.cxx, Source/cmCTest.h,
- Source/cmGlobalGenerator.cxx,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/CTest/cmCTestGenericHandler.cxx,
- Source/CTest/cmCTestMultiProcessHandler.cxx,
- Source/CTest/cmCTestMultiProcessHandler.h,
- Source/CTest/cmCTestTestHandler.cxx,
- Source/CTest/cmCTestTestHandler.h, Tests/CMakeLists.txt: ENH: add
- initial ctest -j feature
-
-2008-07-02 23:54 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-01 23:54 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-07-01 10:58 hoffman
-
- * CMakeCPackOptions.cmake.in: ENH: fix install in add/remove
- programs, again...
-
-2008-06-30 23:55 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-30 16:10 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/FindGettext.cmake,
- Modules/FindKDE4.cmake, Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmMakefile.cxx, Source/cmMakefile.h: ENH: check in RC 6
- merges from trunk
-
-2008-06-30 14:29 clinton
-
- * Source/QtDialog/QCMakeCacheView.cxx:
- BUG: Fix column widths on some systems.
-
-2008-06-30 09:57 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: Do not escape make
- variable references in VS additional options.
-
-2008-06-29 23:55 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-29 18:58 alex
-
- * Modules/FindGettext.cmake: BUG: fix 7230: don't ignore first
- parameter if it's not ALL
-
- Alex
-
-2008-06-28 23:55 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-28 11:16 martink
-
- * Source/: cmIfCommand.cxx, cmIfCommand.h, cmWhileCommand.cxx: BUG:
- fix memory leak and cleanup error string code
-
-2008-06-27 23:55 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-26 23:55 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-26 13:30 king
-
- * Source/: cmMakefile.cxx, cmMakefile.h: BUG: Fix computed
- directory property DEFINITIONS.
-
- - The property tracks the value formed by add_definitions
- and remove_definitions command invocations.
- - The string should be maintained for use in returning for the
- DEFINITIONS property value.
- - It is no longer used for any other purpose.
- - The DEFINITIONS property was recently documented as
- deprecated.
- - See bug #7239.
-
-2008-06-26 13:14 hoffman
-
- * Modules/FindKDE4.cmake: BUG: don't run KDE4_KDECONFIG_EXECUTABLE
- if it is notfound
-
-2008-06-26 13:01 martink
-
- * Source/cmIfCommand.cxx, Source/cmListFileCache.cxx,
- Tests/Complex/CMakeLists.txt, Tests/Complex/cmTestConfigure.h.in,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexOneConfig/cmTestConfigure.h.in,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/CMakeLists.txt,
- Tests/ComplexRelativePaths/cmTestConfigure.h.in,
- Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: support
- parenthesis as arguments and in conditionals feature request
- #6191
-
-2008-06-26 10:58 king
-
- * Source/: cmGetDirectoryPropertyCommand.h, cmMakefile.cxx: ENH:
- Update documentation of computed directory properites.
-
- - Fix documentation of get_directory_property command.
- - Convert its list of computed directory properties to be
- defined/documented directory properties.
-
-2008-06-26 10:58 king
-
- * Source/cmMakefile.cxx: BUG: Fix PARENT_DIRECTORY property in
- top-level to not crash.
-
-2008-06-25 23:55 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-25 09:51 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/CPack.Info.plist.in,
- Modules/CPack.cmake, Modules/CPack.distribution.dist.in,
- Modules/FindBLAS.cmake, Modules/FindFLTK.cmake,
- Modules/FindKDE3.cmake, Modules/FindMatlab.cmake,
- Modules/FindOpenSSL.cmake, Modules/FindQt3.cmake,
- Modules/FindSWIG.cmake, Modules/FindwxWidgets.cmake,
- Modules/NSIS.template.in, Source/CMakeLists.txt,
- Source/cmFLTKWrapUICommand.cxx, Source/cmFindPackageCommand.cxx,
- Source/cmLocalVisualStudio7Generator.cxx, Source/cmake.cxx,
- Source/cmake.h, Source/CPack/cmCPackBundleGenerator.cxx,
- Source/CPack/cmCPackBundleGenerator.h,
- Source/CPack/cmCPackComponentGroup.h,
- Source/CPack/cmCPackGenerator.cxx,
- Source/CPack/cmCPackGenerator.h,
- Source/CPack/cmCPackGeneratorFactory.cxx,
- Source/CPack/cmCPackNSISGenerator.cxx,
- Source/CPack/cmCPackNSISGenerator.h,
- Source/CPack/cmCPackPackageMakerGenerator.cxx,
- Source/CPack/cmCPackPackageMakerGenerator.h,
- Source/CTest/cmCTestBuildAndTestHandler.cxx,
- Source/CTest/cmCTestTestHandler.cxx,
- Source/QtDialog/CMakeSetupDialog.cxx,
- Source/QtDialog/CMakeSetupDialog.h,
- Source/QtDialog/CMakeSetupDialog.ui,
- Source/QtDialog/QCMakeCacheView.cxx,
- Source/QtDialog/QCMakeCacheView.h, Tests/CMakeLists.txt,
- Tests/CPackComponents/CMakeLists.txt,
- Tests/CPackComponents/VerifyResult.cmake,
- Tests/CPackComponents/mylib.cpp, Tests/CPackComponents/mylib.h,
- Tests/CPackComponents/mylibapp.cpp,
- Tests/FindModulesExecuteAll/CMakeLists.txt,
- Tests/FindModulesExecuteAll/main.c,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: merge in changes from
- main tree
-
-2008-06-25 09:44 hoffman
-
- * Source/cmMakefile.cxx: BUG: fix for bug 7239, DEFINITIONS
- property not backwards compatible to 2.4
-
-2008-06-24 23:56 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-24 16:47 hoffman
-
- * Modules/Platform/Windows-cl.cmake: ENH: undo optional because we
- need it
-
-2008-06-24 15:50 hoffman
-
- * Modules/Platform/Windows-cl.cmake: ENH: rc is not so optional at
- least with 2005 and newer, as it is used to embed the manifest
- files
-
-2008-06-24 00:00 clinton
-
- * Source/QtDialog/QCMakeCacheView.cxx:
- BUG: Don't create empty property. Fixes bug #7193.
-
-2008-06-23 23:55 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-23 13:37 hoffman
-
- * Modules/Platform/Windows-cl.cmake: ENH: make rc optional
-
-2008-06-23 11:08 hoffman
-
- * Source/cmFLTKWrapUICommand.cxx: BUG: fix for bug 7228
- FLTK_WRAP_UI segfault fixed
-
-2008-06-22 23:55 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-21 23:56 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-20 23:56 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-20 16:25 hoffman
-
- * Source/: cmake.h, cmake.cxx: BUG: fix for bug 7222 manifest:no
- not working for makefiles
-
-2008-06-19 23:56 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-19 11:08 david.cole
-
- * Tests/CMakeLists.txt: BUG: Avoid running the new CPackComponents
- test on Windows unless the NSIS installer is available.
-
-2008-06-19 06:17 hoffman
-
- * Source/CPack/cmCPackBundleGenerator.cxx: file
- cmCPackBundleGenerator.cxx was added on branch CMake-2-6 on
- 2008-06-25 13:51:32 +0000
-
-2008-06-19 06:17 david.cole
-
- * Source/CPack/cmCPackBundleGenerator.cxx: COMP: Eliminate
- unreferenced variable warning
-
-2008-06-18 23:56 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-18 19:02 alex
-
- * Modules/FindKDE3.cmake: BUG: modify the compiler flags only if
- KDE3 has actually been found
-
- Alex
-
-2008-06-18 18:57 alex
-
- * Modules/FindKDE3.cmake: STYLE: use uppercase to be consistent
- with the rest of the file
-
- Alex
-
-2008-06-18 16:39 alex
-
- * Modules/FindKDE3.cmake: BUG: the variable is _KDE4_USE_FLAGS ENH:
- I guess this is also true for gcc 2.95 ?
-
- Alex
-
-2008-06-18 16:00 david.cole
-
- * Source/CPack/cmCPackGenerator.cxx: COMP: Eliminate compiler
- warning on 64-bit build.
-
-2008-06-18 14:25 david.cole
-
- * Source/CPack/cmCPackNSISGenerator.cxx: BUG: Always look for the
- NSIS reg value in the 32-bit hive even in 64-bit builds of CPack.
-
-2008-06-18 13:28 hoffman
-
- * Source/cmake.cxx: ENH: support large object file lists with
- incremental visual studio linking
-
-2008-06-18 12:23 hoffman
-
- * Modules/FindKDE3.cmake: ENH: use correct variable
-
-2008-06-18 09:53 hoffman
-
- * Source/CPack/cmCPackBundleGenerator.h: file
- cmCPackBundleGenerator.h was added on branch CMake-2-6 on
- 2008-06-25 13:51:33 +0000
-
-2008-06-18 09:53 david.cole
-
- * Modules/CPack.cmake, Source/CMakeLists.txt,
- Source/CPack/cmCPackBundleGenerator.cxx,
- Source/CPack/cmCPackBundleGenerator.h,
- Source/CPack/cmCPackGeneratorFactory.cxx: ENH: Apply patch for
- feature request #7170. Thanks to Tim Shead for contributing...
-
-2008-06-18 09:28 hoffman
-
- * Tests/CPackComponents/VerifyResult.cmake: file VerifyResult.cmake
- was added on branch CMake-2-6 on 2008-06-25 13:51:58 +0000
-
-2008-06-18 09:28 david.cole
-
- * Tests/CPackComponents/VerifyResult.cmake: BUG: Be more specific
- about the expected file name of the installer. (So we don't get
- mylibapp.exe in our GLOB results in make based build trees where
- the built exes end up in the same directory as the CPack
- installers...)
-
-2008-06-18 09:22 hoffman
-
- * Modules/FindKDE3.cmake: ENH: fix for findall
-
-2008-06-18 09:07 hoffman
-
- * Source/CTest/cmCTestBuildAndTestHandler.cxx: BUG: make sure ctest
- sees the output of the cmake run in build and test cases, it was
- not...
-
-2008-06-18 08:42 hoffman
-
- * Modules/FindKDE3.cmake: ENH: try to module run test
-
-2008-06-18 08:37 hoffman
-
- * Modules/: FindKDE3.cmake, FindQt3.cmake: ENH: try to module run
- test
-
-2008-06-18 07:08 hoffman
-
- * Modules/CPack.distribution.dist.in: file
- CPack.distribution.dist.in was added on branch CMake-2-6 on
- 2008-06-25 13:51:31 +0000
-
-2008-06-18 07:08 david.cole
-
- * Modules/CPack.distribution.dist.in,
- Source/CPack/cmCPackPackageMakerGenerator.cxx,
- Source/CPack/cmCPackPackageMakerGenerator.h: BUG: Workaround
- PackageMaker 3.0 issue for new CPack components feature. Thanks
- again to Doug Gregor for the patch.
-
-2008-06-17 23:56 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-17 21:46 hoffman
-
- * Modules/FindSWIG.cmake: ENH: no fatal error if not required
-
-2008-06-17 18:02 miguelf
-
- * Modules/FindwxWidgets.cmake: ENH: Added support for MSYS as a
- unix style search.
-
-2008-06-17 14:07 david.cole
-
- * Source/CPack/cmCPackNSISGenerator.cxx: COMP: Use cmOStringStream
- instead of std::ostringstream for the HP compiler.
-
-2008-06-17 14:03 hoffman
-
- * Source/CTest/cmCTestTestHandler.cxx: BUG: fix for bug 7136
-
-2008-06-17 13:27 hoffman
-
- * Modules/FindBLAS.cmake: ENH: make find blas work if there is no
- fortran compiler
-
-2008-06-17 13:13 hoffman
-
- * Source/cmake.cxx: ENH: add an enabled language property
-
-2008-06-17 12:44 david.cole
-
- * Source/CPack/: cmCPackGenerator.cxx, cmCPackNSISGenerator.cxx:
- COMP: Fix errors and warnings from continuous dashboards running
- different compilers...
-
-2008-06-17 12:09 david.cole
-
- * Source/CPack/cmCPackGenerator.h: COMP: Include full class
- definitions of classes used in std::map data members.
-
-2008-06-17 11:39 hoffman
-
- * Tests/CPackComponents/CMakeLists.txt: file CMakeLists.txt was
- added on branch CMake-2-6 on 2008-06-25 13:51:58 +0000
-
-2008-06-17 11:39 hoffman
-
- * Source/CPack/cmCPackComponentGroup.h: file
- cmCPackComponentGroup.h was added on branch CMake-2-6 on
- 2008-06-25 13:51:35 +0000
-
-2008-06-17 11:39 hoffman
-
- * Tests/CPackComponents/mylib.cpp: file mylib.cpp was added on
- branch CMake-2-6 on 2008-06-25 13:51:58 +0000
-
-2008-06-17 11:39 hoffman
-
- * Tests/CPackComponents/mylib.h: file mylib.h was added on branch
- CMake-2-6 on 2008-06-25 13:51:58 +0000
-
-2008-06-17 11:39 hoffman
-
- * Tests/CPackComponents/mylibapp.cpp: file mylibapp.cpp was added
- on branch CMake-2-6 on 2008-06-25 13:51:58 +0000
-
-2008-06-17 11:39 david.cole
-
- * Modules/CPack.Info.plist.in, Modules/CPack.distribution.dist.in,
- Modules/NSIS.template.in, Source/CPack/cmCPackGenerator.cxx,
- Source/CPack/cmCPackGenerator.h,
- Source/CPack/cmCPackComponentGroup.h,
- Source/CPack/cmCPackNSISGenerator.cxx,
- Source/CPack/cmCPackNSISGenerator.h,
- Source/CPack/cmCPackPackageMakerGenerator.cxx,
- Source/CPack/cmCPackPackageMakerGenerator.h,
- Tests/CMakeLists.txt, Tests/CPackComponents/CMakeLists.txt,
- Tests/CPackComponents/VerifyResult.cmake,
- Tests/CPackComponents/mylib.cpp, Tests/CPackComponents/mylib.h,
- Tests/CPackComponents/mylibapp.cpp,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: Add patch for feature
- request #6847 - CPack components for NSIS and PackageMaker
- installers. Thanks to Doug Gregor for all the hard work involved
- with implementing this patch! Also added new test CPackComponents
- that is conditionally executed only when NSIS or PackageMaker
- installer builders are available.
-
-2008-06-17 11:29 hoffman
-
- * Modules/FindBLAS.cmake: STYLE: fix indent for file
-
-2008-06-17 10:58 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for bug 6619
-
-2008-06-17 10:51 hoffman
-
- * Tests/CMakeLists.txt: ENH: try turning this on again
-
-2008-06-16 23:56 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-16 20:10 hoffman
-
- * Tests/CMakeLists.txt: ENH: turn this off until it passes on all
- systems
-
-2008-06-16 20:05 hoffman
-
- * Tests/FindModulesExecuteAll/CMakeLists.txt: ENH: add a project
- name
-
-2008-06-16 20:05 hoffman
-
- * Tests/FindModulesExecuteAll/CMakeLists.txt: file CMakeLists.txt
- was added on branch CMake-2-6 on 2008-06-25 13:51:58 +0000
-
-2008-06-16 18:37 alex
-
- * Modules/FindOpenSSL.cmake: BUG: don't fail with FATAL_ERROR if
- REQUIRED was not used
-
- Alex
-
-2008-06-16 15:19 hoffman
-
- * Modules/FindFLTK.cmake, Modules/FindKDE3.cmake,
- Modules/FindMatlab.cmake,
- Tests/FindModulesExecuteAll/CMakeLists.txt: ENH: fix find module
- stuff for test
-
-2008-06-16 14:15 miguelf
-
- * Modules/FindwxWidgets.cmake: BUG: Fix so that MinGW use
- win32_find_style (6478). Also, consolidated search styles
- selection into a single variable, so that they are mutually
- exclusive.
-
-2008-06-16 14:03 hoffman
-
- * Tests/FindModulesExecuteAll/main.c: file main.c was added on
- branch CMake-2-6 on 2008-06-25 13:52:00 +0000
-
-2008-06-16 14:03 alex
-
- * Tests/: CMakeLists.txt, FindModulesExecuteAll/CMakeLists.txt,
- FindModulesExecuteAll/main.c: ENH: add test which executes all
- FindXXX.cmake modules
-
- Alex
-
-2008-06-15 23:56 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-14 23:56 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-13 23:56 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-13 16:57 clinton
-
- * Source/QtDialog/QCMakeCacheView.cxx:
- ENH: remove red blending. It didn't look good on some systems.
-
-2008-06-13 16:33 miguelf
-
- * Modules/FindwxWidgets.cmake: BUG: Fixed incorrectly matched
- FOREACH (7008).
-
-2008-06-13 15:29 clinton
-
- * Source/QtDialog/QCMakeCacheView.cxx:
- ENH: instead of solid red for new entries, blend it with the
- alternating white/gray (depending on style).
-
-2008-06-13 11:19 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h,
- QCMakeCacheView.cxx, QCMakeCacheView.h:
- ENH: Make original flat view the default. Add option to
- switch to grouped view (and remember it).
-
-2008-06-13 10:15 hoffman
-
- * Source/cmVersion.cxx: ENH: remove beta stuff from version
-
-2008-06-13 08:55 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Modules/CMakeFindBinUtils.cmake, Modules/CPack.RuntimeScript.in,
- Modules/FindCurses.cmake, Modules/FindFreetype.cmake,
- Modules/FindGDAL.cmake, Modules/FindGIF.cmake,
- Modules/FindKDE3.cmake, Modules/FindKDE4.cmake,
- Modules/FindLua50.cmake, Modules/FindLua51.cmake,
- Modules/FindOpenAL.cmake, Modules/FindOpenThreads.cmake,
- Modules/FindPhysFS.cmake, Modules/FindProducer.cmake,
- Modules/FindQt3.cmake, Modules/FindQt4.cmake,
- Modules/FindQuickTime.cmake, Modules/FindSDL.cmake,
- Modules/FindSDL_image.cmake, Modules/FindSDL_mixer.cmake,
- Modules/FindSDL_net.cmake, Modules/FindSDL_sound.cmake,
- Modules/FindSDL_ttf.cmake, Modules/FindTCL.cmake,
- Modules/FindTclsh.cmake, Modules/FindWish.cmake,
- Modules/FindXMLRPC.cmake, Modules/Findosg.cmake,
- Modules/FindosgDB.cmake, Modules/FindosgFX.cmake,
- Modules/FindosgGA.cmake, Modules/FindosgIntrospection.cmake,
- Modules/FindosgManipulator.cmake, Modules/FindosgParticle.cmake,
- Modules/FindosgProducer.cmake, Modules/FindosgShadow.cmake,
- Modules/FindosgSim.cmake, Modules/FindosgTerrain.cmake,
- Modules/FindosgText.cmake, Modules/FindosgUtil.cmake,
- Modules/FindosgViewer.cmake,
- Source/cmAddCustomCommandCommand.cxx,
- Source/cmAddCustomCommandCommand.h, Source/cmCustomCommand.cxx,
- Source/cmCustomCommand.h, Source/cmFindBase.cxx,
- Source/cmFindBase.h, Source/cmFindCommon.cxx,
- Source/cmFindCommon.h, Source/cmFindLibraryCommand.cxx,
- Source/cmFindLibraryCommand.h, Source/cmFindPackageCommand.cxx,
- Source/cmFindPackageCommand.h, Source/cmFindPathCommand.cxx,
- Source/cmFindPathCommand.h, Source/cmFindProgramCommand.cxx,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmGlobalUnixMakefileGenerator3.h,
- Source/cmGlobalXCodeGenerator.cxx, Source/cmMakefile.cxx,
- Source/cmMakefileTargetGenerator.cxx, Source/cmake.cxx,
- Source/CTest/cmCTestTestHandler.cxx,
- Source/kwsys/DynamicLoader.cxx,
- Source/kwsys/SystemInformation.cxx, Source/kwsys/Terminal.c,
- Tests/CMakeTests/FindBaseTest.cmake.in,
- Tests/CMakeTests/A/include/cmake_i_do_not_exist_in_the_system.h,
- Tests/CustomCommand/CMakeLists.txt, Tests/CustomCommand/foo.in,
- Tests/CustomCommand/gen_once.c.in,
- Tests/CustomCommand/wrapper.cxx,
- Tests/FindPackageTest/CMakeLists.txt,
- Tests/FindPackageTest/A/wibble-config.cmake,
- Tests/FindPackageTest/B/wibble-config.cmake: ENH: merge in
- changes from head
-
-2008-06-12 23:57 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-11 23:57 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-11 15:08 clinton
-
- * Source/QtDialog/QCMakeCacheView.cxx: ENH: better name for
- ungrouped entries.
-
-2008-06-11 14:47 clinton
-
- * Source/QtDialog/QCMakeCacheView.cxx:
- BUG: need to invalidate filtering when using Qt 4.3+.
-
-2008-06-10 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-10 22:19 clinton
-
- * Source/QtDialog/CMakeSetupDialog.cxx:
- ENH: Add items under the Options menu for collapsing and
- expanding the variable tree.
-
-2008-06-10 20:17 clinton
-
- * Source/QtDialog/QCMakeCacheView.cxx: ENH: Give a label for the
- group of properties that didn't get put into another group.
-
-2008-06-10 18:53 clinton
-
- * Source/QtDialog/QCMakeCacheView.cxx:
- ENH: group together items with no prefix and items that won't be
- grouped with others.
-
-2008-06-10 18:28 alex
-
- * Source/cmGlobalGenerator.cxx: BUG: -fail with error if the
- CMake<LANG>Information.cmake file wasn't found ENH: -if no
- compiler has been found, don't test it, and also remove the
- compiler information file again. This makes optionally enabling a
- language work better.
-
- Alex
-
-2008-06-10 13:22 king
-
- * Source/cmFindBase.cxx: BUG: In find_* commands support NO_*
- options in short-hand
-
- - The short-hand forms do not document the NO_* options.
- - CMake 2.4 and 2.6.0 accepted them accidentally, but also
- treated the options as paths.
- - Now the options are accepted but do not become paths.
-
-2008-06-10 00:17 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.ui,
- QCMakeCacheView.cxx, QCMakeCacheView.h:
- ENH: Use a tree view of the properties instead of a flat list
- view. Properties are grouped by a prefix (up to first "_")
- and can be expanded or collapsed.
-
- Fixes #6359.
-
-2008-06-09 23:57 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-09 16:04 king
-
- * Modules/: CMakeFindBinUtils.cmake, FindCurses.cmake,
- FindFreetype.cmake, FindGDAL.cmake, FindGIF.cmake,
- FindKDE3.cmake, FindKDE4.cmake, FindLua50.cmake, FindLua51.cmake,
- FindOpenAL.cmake, FindOpenThreads.cmake, FindPhysFS.cmake,
- FindProducer.cmake, FindQt3.cmake, FindQuickTime.cmake,
- FindSDL.cmake, FindSDL_image.cmake, FindSDL_mixer.cmake,
- FindSDL_net.cmake, FindSDL_sound.cmake, FindSDL_ttf.cmake,
- FindTCL.cmake, FindTclsh.cmake, FindWish.cmake, FindXMLRPC.cmake,
- Findosg.cmake, FindosgDB.cmake, FindosgFX.cmake, FindosgGA.cmake,
- FindosgIntrospection.cmake, FindosgManipulator.cmake,
- FindosgParticle.cmake, FindosgProducer.cmake,
- FindosgShadow.cmake, FindosgSim.cmake, FindosgTerrain.cmake,
- FindosgText.cmake, FindosgUtil.cmake, FindosgViewer.cmake: ENH:
- Cleanup Find* modules with new HINTS feature
-
- - The find_* commands now provide a HINTS option.
- - The option specifies paths to be preferred over the system
- paths.
- - Many Find* modules were using two find calls with
- NO_DEFAULT_PATH
- to approximate the behavior, but that blocked users from
- overriding
- things with CMAKE_PREFIX_PATH.
- - This commit uses the HINTS feature to get desired behavior in
- only one find command call.
-
-2008-06-09 15:50 alex
-
- * Modules/CPack.RuntimeScript.in: STYLE: apply patch from Thomas
- Klausner (NetBSD): use "=" for testing strings for equality
- instead of "=="
-
- This also matches what the man page for test says "s1 = s2
- True if the strings s1 and s2 are identical."
-
- Alex
-
-2008-06-09 15:22 king
-
- * Source/: cmFindBase.cxx, cmFindPackageCommand.cxx: ENH: Make
- find_* command search order more intuitive.
-
- - The CMAKE_PREFIX_PATH and similar variables have both
- environment and CMake cache versions.
- - Previously the environment value was checked before the
- cache value.
- - Now the cache value is favored because it is more specific.
-
-2008-06-09 15:09 hoffman
-
- * Tests/FindPackageTest/: A/wibble-config.cmake,
- B/wibble-config.cmake: file wibble-config.cmake was added on
- branch CMake-2-6 on 2008-06-13 12:55:19 +0000
-
-2008-06-09 15:09 hoffman
-
- * Tests/CMakeTests/A/include/cmake_i_do_not_exist_in_the_system.h:
- file cmake_i_do_not_exist_in_the_system.h was added on branch
- CMake-2-6 on 2008-06-13 12:55:18 +0000
-
-2008-06-09 15:09 king
-
- * Tests/:
- CMakeTests/A/include/cmake_i_do_not_exist_in_the_system.h,
- CMakeTests/FindBaseTest.cmake.in, FindPackageTest/CMakeLists.txt,
- FindPackageTest/A/wibble-config.cmake,
- FindPackageTest/B/wibble-config.cmake: ENH: Add test for new
- find_* command HINTS option.
-
-2008-06-09 15:08 king
-
- * Source/: cmFindBase.cxx, cmFindBase.h, cmFindCommon.cxx,
- cmFindCommon.h, cmFindPackageCommand.cxx, cmFindPackageCommand.h:
- ENH: Add HINTS option to find_* commands.
-
- - Hints are searched after user locations but before system
- locations
- - The HINTS option should have paths provided by system
- introspection
- - The PATHS option should have paths that are hard-coded
- guesses
-
-2008-06-09 12:51 king
-
- * Source/cmFindPathCommand.cxx: ENH: Improve framework search speed
- for find_file and find_path
-
- - Locating a header inside a framework often requires globbing
- - Previously the glob was <dir>/*/Headers/<name>
- - Now the glob is <dir>/*.framework/Headers/<name>
- - This is much faster when <dir> is not really a framework dir
-
-2008-06-09 11:58 king
-
- * Source/: cmFindBase.cxx, cmFindBase.h, cmFindLibraryCommand.cxx,
- cmFindLibraryCommand.h, cmFindPathCommand.cxx,
- cmFindPathCommand.h, cmFindProgramCommand.cxx: ENH: Refactor
- find_* command framework/appbundle search order impl.
-
- - CMAKE_FIND_FRAMEWORK and CMAKE_FIND_APPBUNDLE are supposed to
- specify
- whether to find frameworks/appbundles FIRST, LAST, ONLY, or
- NEVER.
- - Previously this affected only the placement of
- CMAKE_FRAMEWORK_PATH
- and CMAKE_APPBUNDLE_PATH with respect to the other path
- specifiers.
- - Now it behaves as documented. The entire search path is
- inspected for
- each kind of program, library, or header before trying the
- next kind.
- - Additionally the ONLY mode is now honored for headers so that
- users
- do not end up with a library in framework and a header from
- elsewhere.
-
-2008-06-09 11:57 king
-
- * Source/: cmFindBase.cxx, cmFindCommon.cxx, cmFindCommon.h,
- cmFindLibraryCommand.cxx, cmFindPackageCommand.cxx,
- cmFindPathCommand.cxx: ENH: In find_* implementation centralize
- addition of trailing slashes
-
- - Create cmFindCommon::AddTrailingSlashes
- - Use it in cmFindBase and cmFindPackageCommand
- - Remove duplication from other find commands
-
-2008-06-08 23:57 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-08 11:41 king
-
- * Source/cmake.cxx: ENH: Whenever CMake re-runs from inside the VS
- IDE inform the user why.
-
-2008-06-08 11:41 king
-
- * Tests/CMakeTests/FindBaseTest.cmake.in: BUG: Fix CMake.FindBase
- test to normalize paths before comparing.
-
- - Previously the find_* commands did not normalize the search
- paths
- - The recent refactoring enabled such normalization
- - The FindBase test must also normalize before comparing paths
-
-2008-06-08 11:41 king
-
- * Source/cmFindBase.cxx: BUG: Fix find_* command calls with no
- PATHS but new-style options.
-
- - In cmFindBase when CheckCommonArgument returns true, set
- newStyle
- - Otherwise if there are no PATHS then the ancient-style
- compatibility
- mode is enabled and the common argument is treated as a path.
-
-2008-06-07 23:57 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-06 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-06 11:52 king
-
- * Source/kwsys/Terminal.c: ENH: Recognize more color terminals.
-
- - Patch from Matthew McCormick, slightly tweaked
- - See issue #6833
-
-2008-06-06 11:49 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: fix for flags that have
- sub-string matches
-
-2008-06-06 10:22 martink
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: ENH: fix for bug 6364,
- extra help targets when there are subdirectories of the top level
-
-2008-06-06 09:06 king
-
- * Source/cmFindBase.cxx: BUG: Fix cmFindBase::AddMacPath to
- actually use its arguments after previous refactoring commit.
-
-2008-06-06 01:36 clinton
-
- * Modules/FindQt4.cmake:
- BUG: Fix for #7118. Relative paths going outside the
- current source dir resulted in badly placed moc source
- files in the build dir (or out of the build dir).
-
-2008-06-05 23:57 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-05 18:20 king
-
- * Source/: cmFindBase.cxx, cmFindBase.h, cmFindCommon.cxx,
- cmFindCommon.h, cmFindPackageCommand.cxx, cmFindPackageCommand.h:
- ENH: Refactor cmFindCommon, cmFindBase, and cmFindPackageCommand
-
- - Add each part of the search order in a separate method.
- - Collect added paths in an ivar in cmFindCommon.
- - Move user path storage up to cmFindCommon and share
- between cmFindBase and cmFindPackageCommand.
- - Expand user path registry values up in cmFindCommon
- - Enables 32-/64-bit registry view for find_package
- - Disables registry expansion for paths not specified
- with the PATHS argument, which is not expected.
-
-2008-06-05 10:01 king
-
- * Tests/CustomCommand/wrapper.cxx: BUG: Fix new custom command with
- make-var expansion test on VS6. The VS6 IDE adds some extra
- characters to the variable value during expansion.
-
-2008-06-05 09:54 king
-
- * Source/cmFindBase.cxx: BUG: Fix 64-bit build of CMake so it can
- find 32-bit VS install.
-
- - cmFindBase should search both 32-bit and 64-bit registry
- views
- for FIND_PROGRAM even if CMAKE_SIZEOF_VOID_P is not set.
- - Needed because the variable is not available when
- CMAKE_MAKE_PROGRAM
- is to be found.
-
-2008-06-04 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-04 12:10 king
-
- * Tests/CustomCommand/: CMakeLists.txt, wrapper.cxx: ENH: Add test
- for make variable replacement in a custom command with the
- VERBATIM option.
-
-2008-06-04 12:10 king
-
- * Source/cmMakefile.cxx: ENH: Allow custom commands with VERBATIM
- option to have $(SomeVar) make variable replacement.
-
-2008-06-03 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-03 10:29 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Some Linux distros don't install xorg-devel, png-devel,
- etc... when qt4-devel is installed. Finding them was
- required to support building against static Qt. Changing
- it so they are ignored if not found.
-
-2008-06-03 10:02 king
-
- * Source/cmGlobalGenerator.cxx: COMP: Fix bootstrap build after
- previous change to signature of AddRuleHash.
-
-2008-06-03 09:55 king
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmMakefileTargetGenerator.cxx: BUG: Include less content as input
- to "rule hash" computation.
-
- - The rule hash should use only commands specified by the user.
- - No make output (echo and progress) rules should be included.
- - No outputs or dependencies need be included. The native
- build tool
- will take care of them.
-
-2008-06-02 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-02 19:44 clinton
-
- * Source/kwsys/DynamicLoader.cxx:
- BUG: FormatMessage can return a NULL message. Add check for
- NULL pointer.
-
-2008-06-02 16:45 king
-
- * Source/cmAddCustomCommandCommand.cxx,
- Source/cmAddCustomCommandCommand.h, Source/cmCustomCommand.cxx,
- Source/cmCustomCommand.h, Tests/CustomCommand/CMakeLists.txt,
- Tests/CustomCommand/foo.in, Tests/CustomCommand/gen_once.c.in:
- ENH: Remove SKIP_RULE_DEPENDS option from add_custom_command()
-
- - Option was recently added but never released.
- - Custom commands no longer depend on build.make so we do
- not need the option.
- - Rule hashes now take care of rebuilding when rules change
- so the dependency is not needed.
-
-2008-06-02 16:44 king
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmMakefileTargetGenerator.cxx: ENH: Introduce "rule hashes" to
- help rebuild files when rules change.
-
- - In CMake 2.4 custom commands would not rebuild when rules
- changed.
- - In CMake 2.6.0 custom commands have a dependency on
- build.make
- which causes them to rebuild when changed, but also when any
- source is added or removed. This is too often.
- - We cannot have a per-rule file because Windows filesystems
- do not deal well with lots of small files.
- - Instead we add a persistent CMakeFiles/CMakeRuleHashes.txt
- file
- at the top of the build tree that is updated during each
- CMake Generate step. It records a hash of the build rule for
- each file to be built. When the hash changes the file is
- removed so that it will be rebuilt.
-
-2008-06-02 14:53 ewing
-
- * Modules/FindLua51.cmake: BUG: fixed Lua50 to be Lua51 in
- FIND_PACKAGE_HANDLE_STANDARD_ARGS call.
-
-2008-06-02 09:39 martink
-
- * Source/cmMakefile.cxx: COMP: fix warning
-
-2008-06-01 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-06-01 23:40 hoffman
-
- * Source/kwsys/SystemInformation.cxx: ENH: fix crash on dash17
- linux where the parsing of the proc file must not have worked
- right
-
-2008-06-01 16:11 hoffman
-
- * Source/kwsys/SystemInformation.cxx: ENH: fix crash on cygwin
-
-2008-06-01 14:40 fbertel
-
- * Source/kwsys/SystemInformation.cxx: BUG:cpuinfo format are
- different between Linux and Cygwin. Cygwin does not have physical
- id tag or cpu cores tag.
-
-2008-06-01 11:23 hoffman
-
- * Source/kwsys/SystemInformation.cxx: ENH: avoid divide by zero,
- temporary fix until cygwin cpu file is read better, bad cpu info
- is better than a crash
-
-2008-05-31 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-31 11:23 fbertel
-
- * Source/kwsys/SystemInformation.cxx: BUG:Fixed NumberOfLogicalCPU,
- NumberOfPhysicalCPU and LogicalProcessorsPerPhysical under Linux.
- Some part was just wrong. Some other part missed to take the
- multicore value into account.
-
-2008-05-31 08:15 martink
-
- * Source/cmMakefile.cxx: ENH: make end of file checking for close
- if, foreach, macro, functions etc enabled. Not sure why it was
- disabled to start with, but I suspect I will find out. In reponse
- to Bill email about a ctest -S script with a function that waqs
- not closed. Closure was only checked for regular listfiles not
- other files.
-
-2008-05-30 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-30 09:14 martink
-
- * Source/CTest/cmCTestTestHandler.cxx: ENH: make tes test finding
- logic also try full paths as relative paths because some folks
- have been doing that and 2.4 handled it
-
-2008-05-29 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-29 11:50 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h: BUG: improve progress reporting
- when there are multiple targets with the same name, bug# 7042
-
-2008-05-29 09:15 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/FindQt4.cmake,
- Source/cmFileCommand.cxx, Source/cmFindBase.cxx,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmInstallTargetGenerator.cxx, Source/cmSourceFile.cxx,
- Source/cmSystemTools.cxx, Source/cmSystemTools.h,
- Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in:
- ENH: merge in changes from head for RC 3
-
-2008-05-28 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-27 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-27 16:50 king
-
- * Source/cmFindBase.cxx: BUG: Fix previous registry lookup change
- for executables.
-
- - The target platform does not matter for finding executables
- so find_program should expand to both 32-bit and 64-bit
- registry
- values.
- - See issue #7095.
-
-2008-05-27 14:47 king
-
- * Source/cmFindBase.cxx: BUG: Fix registry lookups for FIND
- commands to use view of target platform.
-
- - See issue #7095.
-
-2008-05-27 14:46 king
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h,
- kwsys/SystemTools.cxx, kwsys/SystemTools.hxx.in: ENH: Added WOW64
- key view support to KWSys SystemTools' windows registry API.
-
- - Add an argument to registry read/write/delete methods to
- specify
- a 32-bit or 64-bit view.
- - Default is the bit-ness of the running program.
- - See issue #7095.
-
-2008-05-27 13:10 king
-
- * Source/cmSourceFile.cxx: ENH: Catch missing source files
- specified by full path earlier.
-
- - Revert previous change to trust user-provided full paths.
- - Instead trust them only far enough to determine the source
- language
- but still check for existence for non-generated sources.
-
-2008-05-27 11:18 king
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h: BUG: Fix
- crash on repeated configure steps and exported targets.
-
- - In cmGlobalGenerator the ExportSets ivar must be cleared at
- the beginning of each Configure.
- - See issue #7101.
-
-2008-05-27 10:22 king
-
- * Source/: cmFileCommand.cxx, cmSystemTools.cxx, cmSystemTools.h:
- ENH: Inform user when RPATH is set during installation.
-
- - Original patch from Alex.
- - Modified to print only when RPATH is actually set.
-
-2008-05-27 10:21 king
-
- * Source/cmInstallTargetGenerator.cxx: BUG: RPATH adjustment of
- versioned executables should operate on the file and not the
- symlink.
-
-2008-05-26 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-26 11:17 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Find debug libs from static Qt on Windows.
-
-2008-05-25 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-24 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-23 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-23 16:09 hoffman
-
- * CMakeCPack.cmake, CMakeLists.txt, ChangeLog.manual,
- Modules/CMakeDetermineASMCompiler.cmake,
- Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakeFortranCompilerId.F90.in,
- Modules/CMakeImportBuildSettings.cmake, Modules/FindQt4.cmake,
- Modules/FindSubversion.cmake, Modules/MacOSXBundleInfo.plist.in,
- Modules/UseQt4.cmake, Modules/Platform/Linux-PGI-Fortran.cmake,
- Source/cmFileCommand.cxx, Source/cmFindBase.cxx,
- Source/cmListCommand.cxx, Source/cmLocalGenerator.cxx,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmMakefileTargetGenerator.cxx, Source/cmSourceGroup.cxx,
- Source/cmSourceGroup.h, Source/cmTarget.cxx,
- Source/CTest/cmCTestTestHandler.cxx,
- Source/QtDialog/AddCacheEntry.cxx,
- Source/QtDialog/AddCacheEntry.h,
- Source/QtDialog/AddCacheEntry.ui,
- Source/QtDialog/CMakeFirstConfigure.cxx,
- Source/QtDialog/CMakeFirstConfigure.h,
- Source/QtDialog/CMakeFirstConfigure.ui,
- Source/QtDialog/CMakeLists.txt,
- Source/QtDialog/CMakeSetupDialog.cxx,
- Source/QtDialog/CMakeSetupDialog.h, Source/QtDialog/QCMake.cxx,
- Source/QtDialog/QCMake.h, Source/QtDialog/QCMakeCacheView.cxx,
- Source/QtDialog/QCMakeCacheView.h,
- Source/QtDialog/QCMakeWidgets.cxx,
- Source/QtDialog/QCMakeWidgets.h,
- Source/kwsys/RegularExpression.cxx,
- Source/kwsys/RegularExpression.hxx.in: ENH: push in changes from
- head
-
-2008-05-23 15:52 hoffman
-
- * Source/cmFindBase.cxx: ENH: better fix for not adding /
-
-2008-05-23 15:25 hoffman
-
- * Modules/FindQt4.cmake: ENH: use PATHS keyword
-
-2008-05-23 15:25 hoffman
-
- * Source/cmFindBase.cxx: BUG: 7011 findqt hangs because of glob
- with find_path and framework header serach
-
-2008-05-23 11:47 hoffman
-
- * CMakeCPack.cmake: ENH: do not put system name into cygwin package
-
-2008-05-23 11:28 hoffman
-
- * Source/CTest/cmCTestTestHandler.cxx: BUG: fix for bug 7077 handle
- DartMeasurement tags with tyep text/html
-
-2008-05-22 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-21 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-21 19:57 king
-
- * Source/cmMakefileTargetGenerator.cxx: BUG: Fix makefile generator
- to have link rules depend on all full path libraries that appear
- on the link line. This allows projects to relink when imported
- targets have changed.
-
-2008-05-21 14:02 king
-
- * Modules/CMakeImportBuildSettings.cmake: ENH: Extend previous
- patch from Mathieu Malaterre to apply override to the build tool
- also.
-
-2008-05-21 13:36 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Make Qt not found if the QtCore library can't be found.
- Also report an error when trying to use MSVC with Qt built by
- mingw.
-
-2008-05-21 10:50 hoffman
-
- * Source/cmVersion.cxx: ENH: fix version to not report beta for 1
-
-2008-05-21 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-20 12:35 hoffman
-
- * CMakeCPack.cmake: ENH: make sure Cygwin-Unknown is not the name
- for the package
-
-2008-05-20 12:15 hoffman
-
- * Source/cmListCommand.cxx: BUG: fix failing test
-
-2008-05-20 11:30 hoffman
-
- * Source/cmListCommand.cxx: BUG: fix bugs in new style list command
- that handles empty stuff
-
-2008-05-20 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-19 18:07 clinton
-
- * Modules/UseQt4.cmake:
- ENH: Similar to how qmake does it... Don't add compile
- flags for dependent modules the user didn't specify. But
- still add the link libs. This reduces the number of
- unecessary compile flags.
-
-2008-05-19 10:03 king
-
- * Modules/FindSubversion.cmake: BUG: Fixes for FindSubversion
-
- - Split log out from Subversion_WC_INFO into Subversion_WC_LOG
- - Fix report of log info to be in
- <var-prefix>_WC_LAST_CHANGED_LOG
- as documented (instead of Subversion_LAST_CHANGED_LOG)
- - Fix setting of LC_ALL environment variable to be inside macro
- - Patch from Tanguy Krotoff
- - See issue #7047
-
-2008-05-19 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-18 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-17 17:35 hoffman
-
- * Modules/Platform/Linux-PGI-Fortran.cmake: file
- Linux-PGI-Fortran.cmake was added on branch CMake-2-6 on
- 2008-05-23 20:09:35 +0000
-
-2008-05-17 17:35 king
-
- * Modules/Platform/Linux-PGI-Fortran.cmake: ENH: Add basic flags
- for Portland Group fortran compiler.
-
-2008-05-17 12:53 hoffman
-
- * Modules/MacOSXBundleInfo.plist.in: file MacOSXBundleInfo.plist.in
- was added on branch CMake-2-6 on 2008-05-23 20:09:35 +0000
-
-2008-05-17 12:53 king
-
- * Modules/MacOSXBundleInfo.plist.in, Source/cmLocalGenerator.cxx,
- Source/cmTarget.cxx: ENH: Allow users to specify a custom
- Info.plist template
-
- - Create MACOSX_BUNDLE_INFO_PLIST target property to specify
- template.
- - Look for MacOSXBundleInfo.plist.in in CMAKE_MODULE_PATH by
- default.
- - See issue #6983.
-
-2008-05-17 11:42 king
-
- * Source/cmFileCommand.cxx: BUG: Fix previous change to
- file(STRINGS) command.
-
- - Previous change added form-feed as a string terminator.
- - Instead it should just be recognized as a valid string
- character.
-
-2008-05-17 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-16 17:56 king
-
- * Modules/Platform/Linux-PGI-Fortran.cmake: ENH: Add
- Linux-PGI-Fortran platform file to support the Portland Group
- Fortran compiler (PGI).
-
-2008-05-16 17:50 king
-
- * Modules/CMakeFortranCompilerId.F90.in, Source/cmFileCommand.cxx:
- ENH: Teach Fortran compiler identification about the Portland
- Group compiler (PGI).
-
-2008-05-16 16:56 king
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx, cmSourceGroup.cxx,
- cmSourceGroup.h: COMP: Fix build with concept checking of STL.
-
- - Fix cmSourceGroup to not use std::vector with an incomplete
- type.
-
-2008-05-16 11:06 king
-
- * Source/kwsys/: RegularExpression.cxx, RegularExpression.hxx.in:
- ENH: Add assignment operator to KWSys RegularExpression.
-
-2008-05-16 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-15 19:21 hoffman
-
- * Source/QtDialog/CMakeFirstConfigure.cxx: file
- CMakeFirstConfigure.cxx was added on branch CMake-2-6 on
- 2008-05-23 20:09:42 +0000
-
-2008-05-15 19:21 hoffman
-
- * Source/QtDialog/CMakeFirstConfigure.h: file CMakeFirstConfigure.h
- was added on branch CMake-2-6 on 2008-05-23 20:09:43 +0000
-
-2008-05-15 19:21 hoffman
-
- * Source/QtDialog/CMakeFirstConfigure.ui: file
- CMakeFirstConfigure.ui was added on branch CMake-2-6 on
- 2008-05-23 20:09:43 +0000
-
-2008-05-15 19:21 hoffman
-
- * Source/QtDialog/QCMakeWidgets.cxx: file QCMakeWidgets.cxx was
- added on branch CMake-2-6 on 2008-05-23 20:09:44 +0000
-
-2008-05-15 19:21 hoffman
-
- * Source/QtDialog/QCMakeWidgets.h: file QCMakeWidgets.h was added
- on branch CMake-2-6 on 2008-05-23 20:09:44 +0000
-
-2008-05-15 19:21 clinton
-
- * Source/QtDialog/: AddCacheEntry.cxx, AddCacheEntry.h,
- AddCacheEntry.ui, CMakeFirstConfigure.cxx, CMakeFirstConfigure.h,
- CMakeFirstConfigure.ui, CMakeLists.txt, CMakeSetupDialog.cxx,
- CMakeSetupDialog.h, QCMake.cxx, QCMake.h, QCMakeCacheView.cxx,
- QCMakeCacheView.h, QCMakeWidgets.cxx, QCMakeWidgets.h:
- ENH: Add cross compiling support in the GUI in the same dialog
- that prompts for the generator on the first configure. It
- either ask for a toolchain file or asks for all the
- information a toolchain file might contain.
-
- Also added option for setting non-default compilers if not
- cross compiling.
- Fixes #6849.
-
- Also a bit of code cleanup and re-organizing.
-
-2008-05-15 15:39 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Modules/CMakeTestFortranCompiler.cmake, Modules/FindBoost.cmake,
- Modules/FindCurses.cmake,
- Modules/FindPackageHandleStandardArgs.cmake,
- Modules/FindQt4.cmake, Modules/NSIS.template.in,
- Source/cmAddCustomCommandCommand.cxx,
- Source/cmAddCustomCommandCommand.h, Source/cmCustomCommand.cxx,
- Source/cmCustomCommand.h, Source/cmDepends.cxx,
- Source/cmDepends.h, Source/cmDependsC.cxx, Source/cmDependsC.h,
- Source/cmDependsFortran.cxx, Source/cmDependsFortran.h,
- Source/cmDocumentationFormatterDocbook.cxx, Source/cmELF.cxx,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmListCommand.cxx,
- Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmMakefile.cxx,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmSetSourceFilesPropertiesCommand.cxx,
- Source/cmTarget.cxx, Source/cmTarget.h, Source/cmXCodeObject.cxx,
- Source/cmake.cxx, Source/cmakemain.cxx,
- Source/CTest/cmCTestBuildCommand.h,
- Source/CTest/cmCTestConfigureCommand.h,
- Source/CTest/cmCTestCoverageCommand.h,
- Source/CTest/cmCTestCoverageHandler.cxx,
- Source/CTest/cmCTestEmptyBinaryDirectoryCommand.h,
- Source/CTest/cmCTestMemCheckCommand.h,
- Source/CTest/cmCTestReadCustomFilesCommand.h,
- Source/CTest/cmCTestRunScriptCommand.h,
- Source/CTest/cmCTestSleepCommand.h,
- Source/CTest/cmCTestStartCommand.h,
- Source/CTest/cmCTestSubmitCommand.h,
- Source/CTest/cmCTestUpdateCommand.h, Source/kwsys/CMakeLists.txt,
- Source/kwsys/CPU.h.in, Source/kwsys/ProcessUNIX.c,
- Source/kwsys/ProcessWin32.c, Source/kwsys/SystemInformation.cxx,
- Source/kwsys/SystemTools.cxx, Tests/BuildDepends/CMakeLists.txt,
- Tests/BuildDepends/Project/CMakeLists.txt,
- Tests/BuildDepends/Project/zot.cxx,
- Tests/BuildDepends/Project/zot_macro_dir.cxx,
- Tests/BuildDepends/Project/zot_macro_tgt.cxx,
- Tests/CustomCommand/CMakeLists.txt, Tests/CustomCommand/foo.in,
- Tests/CustomCommand/gen_once.c.in, Utilities/CMakeLists.txt,
- Utilities/cmtar/CMakeLists.txt: ENH: merge in from main tree
-
-2008-05-15 12:07 alex
-
- * Modules/: CMakeDetermineASMCompiler.cmake,
- CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake:
- BUG: make the toolchain-prefix recognition work with prefixes
- which contain dots (as in arm-unknown-nto-qnx6.3.0-gcc.exe),
- NAME_WE returns only up to the 6, instead of everything in front
- of the .exe
-
- Alex
-
-2008-05-15 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-14 11:55 king
-
- * Source/kwsys/CMakeLists.txt: ENH: In KWSys set the
- IMPLICIT_DEPENDS_INCLUDE_TRANSFORM property.
-
- - Tells CMake about the KWSYS_HEADER macro.
- - Enables implicit dependencies of private source files.
- - When a CMake new enough to support the property is required
- the "#if 0" hack can be removed from the source files.
-
-2008-05-14 11:55 hoffman
-
- * Tests/BuildDepends/Project/zot_macro_dir.cxx: file
- zot_macro_dir.cxx was added on branch CMake-2-6 on 2008-05-15
- 19:40:01 +0000
-
-2008-05-14 11:55 hoffman
-
- * Tests/BuildDepends/Project/zot_macro_tgt.cxx: file
- zot_macro_tgt.cxx was added on branch CMake-2-6 on 2008-05-15
- 19:40:01 +0000
-
-2008-05-14 11:55 king
-
- * Tests/BuildDepends/: CMakeLists.txt, Project/CMakeLists.txt,
- Project/zot.cxx, Project/zot_macro_dir.cxx,
- Project/zot_macro_tgt.cxx: ENH: Update BuildDepends test to check
- #include lines with macros.
-
- - Tests IMPLICIT_DEPENDS_INCLUDE_TRANSFORM properties.
- - See issue #6648.
- - Works without help in VS IDEs due to native dependency
- handling.
- - Xcode needs help to rebuild correctly.
-
-2008-05-14 11:54 king
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx, cmMakefile.cxx,
- cmTarget.cxx: ENH: Allow users to specify macro-like #include
- line transforms for dependency scanning.
-
- - Define IMPLICIT_DEPENDS_INCLUDE_TRANSFORM property on targets
- and directories.
- - Make the directory version inherited.
- - See issue #6648.
-
-2008-05-14 11:54 king
-
- * Source/: cmDependsC.cxx, cmDependsC.h: ENH: Teach cmDependsC
- about user-configured macro transformations.
-
- - Syntax is SOME_MACRO(%)=value-with-%
- - Later we will configure these with target and directory
- properties.
- - See issue #6648.
-
-2008-05-14 11:38 hoffman
-
- * Tests/CustomCommand/gen_once.c.in: file gen_once.c.in was added
- on branch CMake-2-6 on 2008-05-15 19:40:01 +0000
-
-2008-05-14 11:38 king
-
- * Source/cmAddCustomCommandCommand.cxx,
- Source/cmAddCustomCommandCommand.h, Source/cmCustomCommand.cxx,
- Source/cmCustomCommand.h, Source/cmMakefileTargetGenerator.cxx,
- Tests/CustomCommand/CMakeLists.txt, Tests/CustomCommand/foo.in,
- Tests/CustomCommand/gen_once.c.in: ENH: Add SKIP_RULE_DEPENDS
- option for add_custom_command()
-
- - Allows make rules to be created with no dependencies.
- - Such rules will not re-run even if the commands themselves
- change.
- - Useful to create rules that run only if the output is
- missing.
-
-2008-05-14 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-13 16:57 hoffman
-
- * Modules/NSIS.template.in: BUG: if CPACK_NSIS_MODIFY_PATH was OFF
- then the PATH was automatically modified
-
-2008-05-13 15:43 alex
-
- * Source/cmakemain.cxx, Utilities/CMakeLists.txt: STYLE: add
- "--help-policy" and "--help-policies" to the documentation
- -generate and install the policy documentation files -generate
- and install the docbook files for cmake, ctest, cpack, ccmake
- (cmake-gui not yet ?)
-
- Alex
-
-2008-05-13 10:34 king
-
- * Source/cmELF.cxx: BUG: When byte order is not known at compile
- time make sure NeedSwap in cmELF is still initialized.
-
-2008-05-13 10:24 king
-
- * Source/cmELF.cxx: ENH: In cmELF it is okay if the byte order is
- not known at compile time.
-
- - We perform a runtime check of the input file anyway.
-
-2008-05-13 10:24 king
-
- * Source/kwsys/CPU.h.in: ENH: Add ARM support to KWSys CPU header.
-
- - Patch from Pierre Habouzit
-
-2008-05-13 05:18 malaterre
-
- * Source/kwsys/ProcessUNIX.c: ENH: all ctype function have the same
- issue: char can be signed or unsigned, since isspace only deal
- with >=0 value (except EOF) one has to first cast it to unsigned
- char
-
-2008-05-13 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-12 18:33 alex
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: make
- ENABLE_LANGUAGE(ASM-ATT OPTIONAL) work again: if it didn't work
- but was optional, don't delete the cache
-
- Alex
-
-2008-05-12 18:11 alex
-
- * Modules/CMakeTestFortranCompiler.cmake: STYLE: use IF(NOT ...)
- instead of IF() ELSE() ... ENDIF()
-
- Alex
-
-2008-05-12 17:43 king
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmTarget.cxx, cmTarget.h: BUG: Make sure all source files are
- found before generating.
-
- - Previously this was done implicitly by the check for a target
- link language which checked all source full paths.
- - The recent change to support computing a link language
- without
- finding all the source files skipped the implicit check.
- - This change adds an explicit check to find all source files.
-
-2008-05-12 16:54 alex
-
- * Source/cmake.cxx: BUG: make "cmake -Wno-dev ../srcdir" work,
- advancing i had the effect that the argument after -Wno-dev was
- skipped, which happened to be the source directory, and so the
- current working directory was assumed as source directory,
- although it was the build directory (maybe this didn't have an
- effect if there was already a CMakeCache.txt in the build dir)
-
- Alex
-
-2008-05-12 12:01 lorensen
-
- * Source/kwsys/ProcessUNIX.c: COMP: warning, isprint and isspace
- take int args.
-
-2008-05-12 09:11 alex
-
- * Source/CTest/: cmCTestBuildCommand.h, cmCTestConfigureCommand.h,
- cmCTestCoverageCommand.h, cmCTestEmptyBinaryDirectoryCommand.h,
- cmCTestMemCheckCommand.h, cmCTestReadCustomFilesCommand.h,
- cmCTestRunScriptCommand.h, cmCTestSleepCommand.h,
- cmCTestStartCommand.h, cmCTestSubmitCommand.h,
- cmCTestUpdateCommand.h: STYLE: use lower case also for the
- ctest-specific commands, as in cmake
-
- I hope I didn't make a typo anywhere, at least the tests still
- succeed
-
- Alex
-
-2008-05-12 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-11 05:12 alex
-
- * Modules/FindPackageHandleStandardArgs.cmake: BUG: fix #6375:
- print the variables which were not found, so it's easier to see
- what went wrong
-
- Alex
-
-2008-05-11 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-10 22:48 lorensen
-
- * Source/kwsys/: ProcessWin32.c, SystemInformation.cxx,
- SystemTools.cxx: COMP: sprintf warnings. DWORD should use %ld
- rather than %d. Also, const char *p, a shadowed variable warning.
-
-2008-05-10 19:07 alex
-
- * Modules/FindCurses.cmake: BUG: fix #6993 FindCurses.cmake is now
- almost exactly reverted back to the state when CURSES_LIBRARY and
- CURSES_INCLUDE_PATH where set for compatibility but not in the
- cache. It is important that CURSES_CURSES_LIBRARY and
- CURSES_NCURSES_LIBRARY really contain the path to these files.
- Later on CURSES_LIBRARY is set to the one of the two which will
- be used as curses library. This is now done in the cache, without
- FORCE. So preloading the cache still seems to work (at least
- what I tested).
-
- Alex
-
-2008-05-10 18:39 king
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmMakefileTargetGenerator.cxx: BUG: Fix generation of some paths
- into .cmake files in the build tree to escape strings for the
- CMake language. This fix allows users to put double quotes in
- the SOVERSION of a shared library.
-
-2008-05-10 18:39 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Fix logic that
- loops over multiple output pairs to not loop beyond the vector
- when there are an odd number of entries.
-
-2008-05-10 11:12 hoffman
-
- * Source/CTest/cmCTestCoverageHandler.cxx: ENH: make sure english
- is used for output of gcov
-
-2008-05-10 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-09 21:26 dgregor
-
- * Modules/FindBoost.cmake: BUG: Fix FindBoost version variable
- names to correct bug in Boost version detection
-
-2008-05-09 17:50 alex
-
- * Source/cmDocumentationFormatterDocbook.cxx: STYLE: insert
- newlines after listitem so the generated lines don't get several
- thousand characters long
-
- Alex
-
-2008-05-09 11:50 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Qt/Mac binary install puts QtCLucene library in a different
- place than the normal Qt frameworks. Let's find it.
-
-2008-05-09 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-08 21:14 hoffman
-
- * Source/cmXCodeObject.cxx: ENH: fix for 64 bit cmake on mac
-
-2008-05-08 15:49 hoffman
-
- * Source/cmSetSourceFilesPropertiesCommand.cxx: BUG:6990 fix crash
- with set_source_files_properties
-
-2008-05-08 12:47 hoffman
-
- * Source/CTest/cmCTestCoverageHandler.cxx: BUG: 0006988 do not set
- coverage to false when it is not
-
-2008-05-08 10:09 king
-
- * Source/: cmDepends.cxx, cmDepends.h, cmDependsC.cxx,
- cmDependsC.h, cmDependsFortran.cxx, cmDependsFortran.h,
- cmLocalUnixMakefileGenerator3.cxx: ENH: Light refactoring of
- implicit dependency scanning configuration implementation.
-
- - Move lookup of config variables from
- cmLocalUnixMakefileGenerator3 to cmDepends hierarchy.
-
-2008-05-08 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-07 17:25 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Fix repeated
- re-scanning of dependencies when the results do not change.
-
- - We re-scan deps when DependInfo.cmake is newer than
- depend.internal
- - Therefore depend.internal should not be copy-if-different
-
-2008-05-07 14:57 hoffman
-
- * Source/cmListCommand.cxx: ENH: fix sort to work with CMP0007
-
-2008-05-07 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-06 12:56 barre
-
- * Utilities/cmtar/CMakeLists.txt: ENH: update for CMake 2.6
-
-2008-05-06 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-05 13:38 hoffman
-
- * ChangeLog.manual, Source/cmDocumentationFormatter.cxx,
- Source/cmDocumentationFormatter.h,
- Source/cmDocumentationFormatterDocbook.cxx,
- Source/cmDocumentationFormatterHTML.cxx: ENH: merge in changes
- for generated docs
-
-2008-05-05 12:38 hoffman
-
- * CMakeLists.txt: ENH: try for 2.6.0
-
-2008-05-05 12:02 king
-
- * Source/: cmDocumentationFormatter.cxx,
- cmDocumentationFormatter.h, cmDocumentationFormatterDocbook.cxx,
- cmDocumentationFormatterHTML.cxx: ENH: Fix generated
- documentation internal links.
-
- - Previously all links started in 'command_' which led to
- conflicts
- and was confusing for non-command items.
- - Use a per-section name that is meaningful to humans.
- - Fix link id names to be valid HTML.
-
-2008-05-05 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-04 18:07 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/CTest.cmake,
- Modules/FindQt4.cmake, Modules/FindX11.cmake,
- Modules/GetPrerequisites.cmake,
- Source/kwsys/SystemInformation.cxx: ENH: merge from main tree
-
-2008-05-04 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-03 17:55 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Allow finding phonon and QtDBus on Mac. Fixes #6950.
-
-2008-05-03 15:27 barre
-
- * Modules/FindX11.cmake: ENH: X11_SM_LIB should be advanced as well
-
-2008-05-03 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-02 17:36 hoffman
-
- * Source/kwsys/SystemInformation.cxx: BUG: really fix build on vs6
-
-2008-05-02 17:22 hoffman
-
- * Source/kwsys/SystemInformation.cxx: BUG: fix build on vs6
-
-2008-05-02 11:44 hoffman
-
- * Source/kwsys/SystemInformation.cxx: ENH: use GlobalMemoryStatusEx
- as it is able to report more than 2gigs
-
-2008-05-02 11:25 hoffman
-
- * Modules/CTest.cmake: ENH: recognize vs 9 and possible 10 or
- greater when they come out...
-
-2008-05-02 09:14 king
-
- * Source/kwsys/SystemInformation.cxx: COMP: Fix warnings in KWSys
- SystemInformation on Borland compiler.
-
- - Remove two unused variables.
- - Replace dynamically allocated array with static.
-
-2008-05-02 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-05-01 18:49 king
-
- * Modules/GetPrerequisites.cmake: ENH: When GetPrerequisites.cmake
- runs dumpbin while running inside the VS IDE environment make
- sure the tool does not produce extra output.
-
-2008-05-01 12:35 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/CheckTypeSize.cmake,
- Modules/FindBoost.cmake, Modules/FindCurses.cmake,
- Modules/FindKDE.cmake, Modules/FindSDL.cmake,
- Modules/FindSDL_sound.cmake, Modules/FindVTK.cmake,
- Modules/Platform/Darwin.cmake,
- Modules/Platform/Linux-Intel-C.cmake,
- Modules/Platform/Linux-Intel-CXX.cmake,
- Modules/Platform/Linux-Intel-Fortran.cmake,
- Modules/Platform/SunOS.cmake,
- Modules/Platform/Windows-ifort.cmake,
- Source/cmAuxSourceDirectoryCommand.cxx,
- Source/cmComputeLinkDepends.cxx, Source/cmComputeLinkDepends.h,
- Source/cmComputeLinkInformation.cxx,
- Source/cmComputeLinkInformation.h,
- Source/cmExportFileGenerator.cxx,
- Source/cmExportLibraryDependencies.cxx, Source/cmFileCommand.cxx,
- Source/cmFileCommand.h, Source/cmGlobalGenerator.cxx,
- Source/cmGlobalVisualStudio71Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudioGenerator.cxx,
- Source/cmGlobalVisualStudioGenerator.h,
- Source/cmGlobalXCodeGenerator.cxx, Source/cmListFileCache.cxx,
- Source/cmLocalGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmSourceFile.cxx,
- Source/cmSourceFile.h, Source/cmWriteFileCommand.cxx,
- Source/cmake.cxx, Source/cmake.h, Source/kwsys/System.c,
- Source/kwsys/SystemInformation.cxx,
- Tests/CustomCommand/CMakeLists.txt,
- Tests/CustomCommand/gen_redirect_in.c,
- Tests/CustomCommand/generator.cxx, Tests/CustomCommand/tcat.cxx,
- Tests/CustomCommand/GeneratorInExtraDir/CMakeLists.txt: ENH:
- merge from cvs create yikes RC 10! (I hope this is the last
- RC...)
-
-2008-05-01 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-30 22:17 hoffman
-
- * Source/cmGlobalVisualStudioGenerator.cxx: STYLE: fix warning
-
-2008-04-30 18:04 king
-
- * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h,
- cmComputeLinkInformation.cxx, cmComputeLinkInformation.h: ENH:
- When preserving potentially static portions of original user link
- lines recognize shared library names by their extension and skip
- them.
-
-2008-04-30 15:58 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: For Watcom WMake
- use the short path to avoid quoting problems in custom commands
- with shell redirections.
-
-2008-04-30 15:58 king
-
- * Source/kwsys/System.c, Tests/CustomCommand/CMakeLists.txt: BUG:
- Fix escaping of more characters on Windows shells.
-
-2008-04-30 15:53 hoffman
-
- * Modules/FindCurses.cmake: BUG: remove typo
-
-2008-04-30 15:42 hoffman
-
- * Modules/FindCurses.cmake: BUG: fix for 6918 ncurses should work
- without curses
-
-2008-04-30 14:13 king
-
- * Modules/Platform/SunOS.cmake: ENH: Make /opt/SUNWspro/lib,
- /opt/SUNWspro/prod/lib, and /usr/ccs/lib implicit link
- directories on the Sun when using the SunPro compiler.
-
-2008-04-30 13:42 king
-
- * Source/: cmFileCommand.cxx, cmFileCommand.h,
- cmGlobalGenerator.cxx, cmMakefile.cxx, cmMakefile.h,
- cmWriteFileCommand.cxx, cmake.cxx, cmake.h: BUG: Remove check for
- files written by file(WRITE) being loaded.
-
- - CMake 1.8 and below did not do the check but could get in
- infinite loops due to the local generate step.
- - CMake 2.0 added the check but failed to perform it in
- directories
- with no targets (see bug #678).
- - CMake 2.2 removed the local generate which fixed the problem
- but
- did not remove the check.
- - Between CMake 2.4 and 2.6.0rc6 the check was fixed to work
- even
- when no targets appear in a directory (see bug #6923).
- - Bottom line: the check is no longer needed.
-
-2008-04-30 13:26 hoffman
-
- * Source/: cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudioGenerator.cxx,
- cmGlobalVisualStudioGenerator.h, cmLocalGenerator.cxx,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h, cmMakefile.cxx: ENH: add support
- for Intel Fortran Visual studio IDE
-
-2008-04-30 11:33 hoffman
-
- * Modules/Platform/Windows-ifort.cmake: ENH: add more fortran flags
-
-2008-04-30 10:02 king
-
- * Source/kwsys/System.c: BUG: Fix
- kwsysSystem_Shell_GetArgumentForWindows to reset the windows
- trailing backslash count to zero when a make variable reference
- is encountered.
-
-2008-04-30 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-29 15:34 hoffman
-
- * Tests/CustomCommand/tcat.cxx: file tcat.cxx was added on branch
- CMake-2-6 on 2008-05-01 16:35:40 +0000
-
-2008-04-29 15:34 hoffman
-
- * Tests/CustomCommand/gen_redirect_in.c: file gen_redirect_in.c was
- added on branch CMake-2-6 on 2008-05-01 16:35:40 +0000
-
-2008-04-29 15:34 king
-
- * Source/cmLocalGenerator.cxx, Tests/CustomCommand/CMakeLists.txt,
- Tests/CustomCommand/gen_redirect_in.c,
- Tests/CustomCommand/generator.cxx, Tests/CustomCommand/tcat.cxx,
- Tests/CustomCommand/GeneratorInExtraDir/CMakeLists.txt: BUG: Do
- not escape shell operators when generating command lines.
-
- - See bug#6868.
- - Update CustomCommand test to check.
-
-2008-04-29 14:17 king
-
- * Source/: cmSourceFile.cxx, cmSourceFile.h: ENH: In
- cmSourceFile::GetLanguage use the file extension (if not
- ambiguous) to determine the language without requiring the source
- file to exist.
-
-2008-04-29 14:17 king
-
- * Source/cmSourceFile.cxx: ENH: Add context information when a
- source file cannot be found.
-
-2008-04-29 14:17 king
-
- * Source/cmMakefile.cxx: ENH: In cmMakefile::IssueMessage report
- the directory-level context even if no list file is currently
- being processed.
-
-2008-04-29 12:10 hoffman
-
- * Source/cmLocalGenerator.cxx: BUG: move this back out of the if
- statemtn
-
-2008-04-29 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-28 13:53 hoffman
-
- * Modules/Platform/Darwin.cmake, Source/cmGlobalXCodeGenerator.cxx,
- Source/cmLocalGenerator.cxx: ENH: allow users to set sysroot
-
-2008-04-28 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-27 11:41 alex
-
- * Modules/FindKDE.cmake: ENH: remove FindKDE.cmake, which was
- obsolete (i.e. disabled using SEND_ERROR) since cmake 2.4.0,
- agreed by Bill
-
- Alex
-
-2008-04-27 07:35 alex
-
- * Modules/FindVTK.cmake: BUG: don't fail with FATAL_ERROR if
- REQUIRED was not used
-
- Alex
-
-2008-04-27 07:30 alex
-
- * Source/cmExportFileGenerator.cxx: ENH: protect the export files
- against inclusion with cmake 2.4
-
- Alex
-
-2008-04-27 07:01 alex
-
- * Source/: cmExportLibraryDependencies.cxx, cmListFileCache.cxx:
- ENH: write the cmake version into the file created by
- EXPORT_LIBRARY_DEPENDENCIES() to help with debugging later on.
- The same should be done in the import target files (but I didn't
- have time to do it yet). STYLE: fix line length in
- cmListFileCache.cxx
-
- Alex
-
-2008-04-27 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-26 13:25 alex
-
- * Modules/FindBoost.cmake: BUG: don't use CMAKE_MINIMUM_REQUIRED()
- in find modules, it can change the policy settings done in the
- projects cmake files (and it doesn't make sense since it is
- always part of the correct cmake version)
-
- Alex
-
-2008-04-26 08:39 hoffman
-
- * Source/cmAuxSourceDirectoryCommand.cxx: BUG: fix for bug 6911,
- aux source dir was broken from a previous fix
-
-2008-04-26 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-25 15:30 king
-
- * Source/cmSourceFile.cxx: BUG: Trust user-provided source file
- full paths.
-
-2008-04-25 10:47 hoffman
-
- * Modules/CheckTypeSize.cmake: ENH: allow users to turn off extra
- checks
-
-2008-04-25 09:49 hoffman
-
- * Modules/Platform/Linux-Intel-CXX.cmake: ENH: remove c flags from
- cxx config file
-
-2008-04-25 09:49 hoffman
-
- * Modules/Platform/Linux-Intel-CXX.cmake: file
- Linux-Intel-CXX.cmake was added on branch CMake-2-6 on 2008-05-01
- 16:35:39 +0000
-
-2008-04-25 09:43 hoffman
-
- * Modules/Platform/: Linux-Intel-Fortran.cmake, Linux-ifort.cmake:
- ENH: rename Linux-ifort to Linux-Intel-Fortran
-
-2008-04-25 09:43 hoffman
-
- * Modules/Platform/Linux-Intel-Fortran.cmake: file
- Linux-Intel-Fortran.cmake was added on branch CMake-2-6 on
- 2008-05-01 16:35:39 +0000
-
-2008-04-25 09:09 hoffman
-
- * Modules/CheckTypeSize.cmake: ENH: make sure all required headers
- are checked before checking type size
-
-2008-04-25 09:07 hoffman
-
- * Modules/: FindSDL.cmake, FindSDL_sound.cmake: ENH: do not clear
- find variables
-
-2008-04-25 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-24 22:00 hoffman
-
- * Modules/Platform/Linux-Intel-CXX.cmake: ENH: do not force the
- intel ar on C from CXX
-
-2008-04-24 21:54 hoffman
-
- * Modules/Platform/: Linux-Intel-C.cmake, Linux-Intel-CXX.cmake,
- Linux-icpc.cmake: ENH: support intel compiler on linux
-
-2008-04-24 21:54 hoffman
-
- * Modules/Platform/Linux-Intel-C.cmake: file Linux-Intel-C.cmake
- was added on branch CMake-2-6 on 2008-05-01 16:35:38 +0000
-
-2008-04-24 15:47 hoffman
-
- * Source/kwsys/SystemInformation.cxx: ENH: remove odd chars from
- file
-
-2008-04-24 14:57 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: merge in changes from main
- tree, fortran mod stuff
-
-2008-04-24 12:56 hoffman
-
- * ChangeLog.manual, Source/cmDependsFortranLexer.cxx,
- Source/cmDependsFortranLexer.in.l,
- Source/cmDependsFortranParser.cxx,
- Source/cmDependsFortranParser.y,
- Source/cmDependsFortranParserTokens.h: ENH: merge in changes from
- main tree, fortran mod stuff
-
-2008-04-24 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-23 23:53 king
-
- * Source/: cmDependsFortranLexer.cxx, cmDependsFortranLexer.in.l,
- cmDependsFortranParser.cxx, cmDependsFortranParser.y,
- cmDependsFortranParserTokens.h: ENH: Patch from Maik to add
- Fortran03 USE syntax support.
-
- - I tweaked the patch to add 'other' production rules for COMMA
- and DCOLON
- - See issue #6884.
-
-2008-04-23 15:02 hoffman
-
- * CMakeLists.txt, ChangeLog.manual: ENH: rc9 ready
-
-2008-04-23 12:51 jeff
-
- * Source/kwsys/SystemTools.cxx: ENH: Allow numbers in username in
- URL regex.
-
-2008-04-23 12:14 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Source/cmInstallCommand.cxx,
- Source/cmListCommand.cxx, Source/QtDialog/QMacInstallDialog.cxx:
- ENH: merge in some fixes from head
-
-2008-04-23 11:13 king
-
- * Source/cmInstallCommand.cxx: BUG: Fix implementation of CMP0006
- to not override the BUNDLE destination with the RUNTIME
- destination.
-
-2008-04-23 09:58 hoffman
-
- * Source/QtDialog/QMacInstallDialog.cxx: ENH: add better error
- checks to symlink create stuff
-
-2008-04-23 09:56 hoffman
-
- * Source/cmListCommand.cxx: ENH: handle empty lists correctly
-
-2008-04-23 08:50 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Source/cmComputeLinkDepends.cxx, Source/cmComputeLinkDepends.h,
- Tests/Dependency/CMakeLists.txt,
- Tests/Dependency/Case3/CMakeLists.txt,
- Tests/Dependency/Case3/bar.c, Tests/Dependency/Case3/foo1.c,
- Tests/Dependency/Case3/foo1b.c, Tests/Dependency/Case3/foo2.c:
- ENH: merge from main tree
-
-2008-04-23 00:40 hoffman
-
- * Tests/Dependency/Case3/CMakeLists.txt: file CMakeLists.txt was
- added on branch CMake-2-6 on 2008-04-23 12:50:37 +0000
-
-2008-04-23 00:40 hoffman
-
- * Tests/Dependency/Case3/bar.c: file bar.c was added on branch
- CMake-2-6 on 2008-04-23 12:50:37 +0000
-
-2008-04-23 00:40 hoffman
-
- * Tests/Dependency/Case3/foo1.c: file foo1.c was added on branch
- CMake-2-6 on 2008-04-23 12:50:37 +0000
-
-2008-04-23 00:40 hoffman
-
- * Tests/Dependency/Case3/foo1b.c: file foo1b.c was added on branch
- CMake-2-6 on 2008-04-23 12:50:37 +0000
-
-2008-04-23 00:40 hoffman
-
- * Tests/Dependency/Case3/foo2.c: file foo2.c was added on branch
- CMake-2-6 on 2008-04-23 12:50:37 +0000
-
-2008-04-23 00:40 king
-
- * Tests/Dependency/: CMakeLists.txt, Case3/CMakeLists.txt,
- Case3/bar.c, Case3/foo1.c, Case3/foo1b.c, Case3/foo2.c: ENH: Add
- test of preservation of static libraries on original link lines.
-
-2008-04-23 00:40 king
-
- * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h: BUG:
- Fix preservation of static libraries on original link lines.
-
-2008-04-23 00:40 king
-
- * Source/cmComputeLinkDepends.cxx: ENH: Simplify link lines in some
- cases by not allowing targets to be inferred dependees of items
- with unknown dependencies.
-
-2008-04-23 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-22 22:05 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Modules/CMakeDetermineASMCompiler.cmake,
- Modules/CMakeFortranInformation.cmake,
- Modules/CMakeRCInformation.cmake, Modules/FindBoost.cmake,
- Modules/FindMPI.cmake, Modules/Platform/Linux-icpc.cmake,
- Source/cmListCommand.cxx,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmMakefileTargetGenerator.cxx, Source/cmPolicies.cxx,
- Source/cmPolicies.h: ENH: merge into main tree
-
-2008-04-22 13:32 dgregor
-
- * Modules/FindBoost.cmake: ENH: FindBoost always sets
- Boost_LIBRARY_DIRS when it finds the Boost libraries
-
-2008-04-22 13:14 dgregor
-
- * Modules/FindBoost.cmake: ENH: Integrated FindBoost improvements
- changes from Andreas Pakulat, Mike Jackson, and myself
-
-2008-04-22 11:10 hoffman
-
- * Modules/CMakeRCInformation.cmake,
- Source/cmMakefileTargetGenerator.cxx: BUG: fix for bug 6834 RC
- should not get all COMPILE_FLAGS from a target and should work
- the same way as it does in the vs ide
-
-2008-04-22 09:54 dgregor
-
- * Modules/FindMPI.cmake: BUG: As a last resort, FindMPI will look
- for mpi.h in the path
-
-2008-04-22 09:41 dgregor
-
- * Modules/FindMPI.cmake: BUG: Use -showme:incdirs and
- -showme:libdirs when we need them
-
-2008-04-22 09:35 hoffman
-
- * Modules/CMakeFortranInformation.cmake: ENH: fix FFFLAGS to be
- FLAGS
-
-2008-04-22 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-21 18:51 alex
-
- * Modules/CMakeDetermineASMCompiler.cmake: BUG: fix handling of
- assembler executable (with path) #6858
-
- Alex
-
-2008-04-21 18:26 hoffman
-
- * Modules/Platform/Linux-icpc.cmake: ENH: use xiar for the intel
- compiler
-
-2008-04-21 18:24 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx: BUG: fix for 6720,
- source groups on vs6 not working
-
-2008-04-21 16:57 hoffman
-
- * Source/: cmListCommand.cxx, cmPolicies.cxx, cmPolicies.h: ENH:
- fix list command with empty elements
-
-2008-04-21 15:21 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Modules/CMakeCInformation.cmake,
- Modules/CMakeCXXInformation.cmake,
- Modules/CMakeFortranInformation.cmake,
- Source/cmComputeLinkInformation.cxx, Source/cmDependsFortran.cxx,
- Source/cmDependsFortranLexer.cxx, Source/cmDependsFortranLexer.h,
- Source/cmDependsFortranLexer.in.l,
- Source/cmDependsFortranParser.cxx,
- Source/cmDependsFortranParser.y, Tests/CMakeLists.txt: ENH: merge
- in from main tree
-
-2008-04-21 13:04 hoffman
-
- * Modules/: CMakeCInformation.cmake, CMakeCXXInformation.cmake,
- CMakeFortranInformation.cmake: ENH: fix init flags getting
- stuffed into the compile line by force.
-
-2008-04-21 11:28 king
-
- * Source/: cmDependsFortranLexer.cxx, cmDependsFortranLexer.in.l,
- cmDependsFortranParser.cxx, cmDependsFortranParser.y: STYLE: Fix
- reference to makedepf90 project.
-
-2008-04-21 11:15 king
-
- * Source/: cmDependsFortran.cxx, cmDependsFortranLexer.cxx,
- cmDependsFortranLexer.h, cmDependsFortranLexer.in.l: BUG: Fix
- Fortran dependency parser preprocessor handling crash.
-
- - Do not crash if a #elseif occurs out of order
- - Recognize preprocessor directives only at the beginning of
- lines.
- - See issue #6855
-
-2008-04-21 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-20 20:44 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Modules/CMakeDetermineCompilerABI.cmake,
- Modules/CPack.RuntimeScript.in, Modules/CPack.cmake,
- Modules/FindMPI.cmake, Modules/FindwxWidgets.cmake,
- Source/cmELF.cxx, Source/cmELF.h, Source/cmFileCommand.cxx,
- Source/cmFileCommand.h, Source/cmInstallCommand.cxx,
- Source/cmInstallCommand.h, Source/cmInstallTargetGenerator.cxx,
- Source/cmInstallTargetGenerator.h,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmMessageCommand.cxx, Source/cmPolicies.cxx,
- Source/cmPolicies.h, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h, Source/cmTarget.cxx,
- Source/CPack/cpack.cxx, Source/QtDialog/CMakeSetupDialog.cxx,
- Source/QtDialog/CMakeSetupDialog.h,
- Tests/Framework/CMakeLists.txt,
- Tests/Tutorial/Step7/CMakeLists.txt, Tests/X11/CMakeLists.txt,
- Tests/X11/HelloWorldX11.cxx: ENH: merge in from main tree
-
-2008-04-20 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-19 13:37 david.cole
-
- * Tests/CMakeLists.txt: BUG: Allow timeouts larger than 1500 for
- tests that may take longer than 25 minutes on really slow/busy
- machines. bootstrap has been timing out on tiamat, a very old
- machine, this should help it...
-
-2008-04-19 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-18 17:32 hoffman
-
- * Source/cmComputeLinkInformation.cxx: ENH: only complain about -l
- stuff for CMP0003
-
-2008-04-18 10:55 david.cole
-
- * Source/CPack/cpack.cxx: COMP: auto_ptr will not compile without
- including memory on some platforms
-
-2008-04-18 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-17 17:23 alex
-
- * Modules/CPack.cmake, Tests/Tutorial/Step7/CMakeLists.txt: ENH:
- use a common CPACK_BINARY_ prefix for the binary package
- generators
-
- Alex
-
-2008-04-17 12:06 david.cole
-
- * Source/CPack/cpack.cxx: BUG: Fix mem leak. Thanks, Mathieu.
-
-2008-04-17 11:16 david.cole
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: Fix for issue
- #6440. Use 0 instead of FALSE for ExceptionHandling with Visual
- Studio 2005 and later.
-
-2008-04-17 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-16 11:31 david.cole
-
- * Modules/FindwxWidgets.cmake: BUG: There are compiler problems
- with wxWidgets and INCLUDE_DIRECTORIES(SYSTEM ...) use on the
- Mac. Set variable wxWidgets_INCLUDE_DIRS_NO_SYSTEM on the Mac in
- FindwxWidgets.cmake to avoid these problems.
-
-2008-04-16 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-15 09:00 king
-
- * Source/cmELF.cxx: COMP: Fix signed/unsigned comparison warning in
- cmELF.
-
-2008-04-15 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-14 18:03 king
-
- * Source/cmInstallCommand.h: ENH: Clarify documentation of
- install(TARGETS) command to refer to install target types by the
- upper-case keywords used when invoking the command.
-
-2008-04-14 17:53 king
-
- * Source/: cmInstallCommand.cxx, cmInstallCommand.h,
- cmPolicies.cxx, cmPolicies.h: BUG: Fix compatibility with CMake
- 2.4 for installation of MACOSX_BUNDLE targets
-
- - Add policy CMP0006 to decide whether to use compatibility
- - OLD behavior is to fall back to RUNTIME rules
- - NEW behavior is to produce an error
-
-2008-04-14 16:15 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h:
- BUG: Fix issue when non-error messages were incorrectly colored
- red.
-
-2008-04-14 15:27 king
-
- * Source/cmTarget.cxx, Tests/Framework/CMakeLists.txt: BUG: A
- per-config target name postfix should be ignored for Mac bundle
- and framework names.
-
-2008-04-14 15:25 king
-
- * Modules/CMakeDetermineCompilerABI.cmake: ENH: Clarify message
- about checking for compiler ABI information.
-
-2008-04-14 15:02 king
-
- * Source/: cmFileCommand.cxx, cmFileCommand.h,
- cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h: ENH:
- Improve RPATH behavior during installation.
-
- - If new RPATH is empty then remove the entry completely
- - Preserve file modification time so installation is not
- repeated
- - If installed file already exists remove it if its RPATH
- does not match that expected
-
-2008-04-14 15:02 king
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Added RPATH
- methods to cmSystemTools
-
- - RemoveRPath to remove the RPATH from a binary
- - CheckRPath to check for an existing RPATH in a binary
-
-2008-04-14 15:02 king
-
- * Source/: cmELF.cxx, cmELF.h: ENH: Added cmELF methods to get
- information about DYNAMIC section entries.
-
-2008-04-14 12:44 king
-
- * Source/cmSystemTools.cxx: COMP: Fix new cmSystemTools file time
- methods on Windows.
-
-2008-04-14 11:43 king
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Added methods
- to cmSystemTools to save and restore file modification times.
-
-2008-04-14 09:20 king
-
- * Source/cmMessageCommand.cxx: ENH: Make message(SEND_ERROR) report
- context.
-
-2008-04-14 09:08 king
-
- * Source/cmMakefileTargetGenerator.cxx: BUG: When
- MACOSX_PACKAGE_LOCATION specifies Headers/foo we must still
- create the Headers symlink.
-
-2008-04-14 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-13 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-12 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-11 13:13 hoffman
-
- * Source/: cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx: BUG: make sure OBJECT_DIR is in
- the path of the SHELL
-
-2008-04-11 10:41 hoffman
-
- * Modules/CPack.RuntimeScript.in: ENH: fix x11 launch script for
- leopord x11 is auto-started for us on that os.
-
-2008-04-11 10:23 hoffman
-
- * Tests/X11/: CMakeLists.txt, HelloWorldX11.cxx: ENH: add a simple
- x11 test for packaging
-
-2008-04-11 10:23 hoffman
-
- * Tests/X11/HelloWorldX11.cxx: file HelloWorldX11.cxx was added on
- branch CMake-2-6 on 2008-04-21 00:44:59 +0000
-
-2008-04-11 09:52 hoffman
-
- * Tests/X11/HelloWorldX11.cxx: ENH: add a simple x11 program
-
-2008-04-11 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-10 16:54 dgregor
-
- * Modules/FindMPI.cmake: ENH: Deal with 32-bit and 64-bit variants
- of Microsoft's MPI properly
-
-2008-04-10 12:50 hoffman
-
- * ChangeLog.manual: ENH: change to RC 8
-
-2008-04-10 12:43 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/FindQt4.cmake,
- Source/cmLocalUnixMakefileGenerator3.cxx: ENH: merge in from main
- tree
-
-2008-04-10 11:55 hoffman
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: the sun make goes
- into some odd n squared thing with this sccs and rcs stuff for
- gmake, so I am removing them.
-
-2008-04-10 10:01 clinton
-
- * Modules/FindQt4.cmake: BUG: Fix typo reported in #6790.
-
-2008-04-10 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-09 14:57 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/FindJNI.cmake,
- Source/cmSystemTools.cxx: ENH: merge from head for RC7
-
-2008-04-09 08:41 hoffman
-
- * Tests/Framework/fooDeepPublic.h,
- Modules/Platform/Darwin-icc.cmake,
- Modules/Platform/Darwin-icpc.cmake: ENH: add missing file
-
-2008-04-09 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-08 17:37 hoffman
-
- * Source/cmSystemTools.cxx: BUG: undo change as it breaks
- preprocess test for some reason??
-
-2008-04-08 16:26 hoffman
-
- * Source/cmTarget.h: ENH: merge from main tree
-
-2008-04-08 16:13 hoffman
-
- * Source/cmTarget.h: ENH: remove qualifier from .h file
-
-2008-04-08 16:09 hoffman
-
- * Modules/FindJNI.cmake: ENH: have jni look more places on linux
-
-2008-04-08 16:06 hoffman
-
- * Source/cmSystemTools.cxx: BUG: half fix for 6688, expand registry
- stuff on unix just like it was not found on windows
-
-2008-04-08 16:05 hoffman
-
- * Source/cmSystemTools.cxx: ENH: half fix for 6688, don't let [
- count go negative
-
-2008-04-08 13:42 king
-
- * Source/cmSystemTools.cxx: ENH: Update cmSystemTools::ChangeRPath
- to support replacing rpath values from the middle of the string.
-
-2008-04-08 12:22 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/FindQt4.cmake,
- Modules/InstallRequiredSystemLibraries.cmake,
- Source/cmComputeLinkInformation.cxx,
- Source/cmExtraEclipseCDT4Generator.cxx, Source/cmFileCommand.cxx,
- Source/cmFindBase.cxx, Source/cmGlobalXCodeGenerator.cxx,
- Source/cmInstallTargetGenerator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.h,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.h, Source/cmSystemTools.cxx,
- Source/cmTarget.cxx, Source/cmTarget.h, Source/cmake.cxx,
- Source/cmake.h, Source/QtDialog/CMakeLists.txt,
- Source/QtDialog/CMakeSetup.cxx,
- Source/QtDialog/CMakeSetupDialog.cxx,
- Source/QtDialog/CMakeSetupDialog.h,
- Source/QtDialog/CMakeSetupDialog.ui, Source/QtDialog/QCMake.cxx,
- Source/QtDialog/QCMake.h, Source/QtDialog/QCMakeCacheView.cxx,
- Source/QtDialog/QCMakeCacheView.h,
- Source/QtDialog/QMacInstallDialog.cxx,
- Source/QtDialog/postflight.sh.in, Tests/Framework/CMakeLists.txt:
- ENH: merge in changes from main tree
-
-2008-04-08 11:30 hoffman
-
- * Source/QtDialog/CMakeLists.txt: ENH: make sure cmake-gui builds
- with cmake 2.4.X
-
-2008-04-08 00:06 hoffman
-
- * Tests/Framework/fooDeepPublic.h: file fooDeepPublic.h was added
- on branch CMake-2-6 on 2008-04-09 12:41:34 +0000
-
-2008-04-08 00:06 king
-
- * Source/cmComputeLinkInformation.cxx,
- Source/cmGlobalXCodeGenerator.cxx,
- Source/cmInstallTargetGenerator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.h,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.h, Source/cmTarget.cxx,
- Source/cmTarget.h, Tests/Framework/CMakeLists.txt,
- Tests/Framework/fooDeepPublic.h: BUG: Correct Mac OS X framework
- behavior
-
- - Place the built library in foo.framework/Versions/A/foo
- - Do not create unused content symlinks (like PrivateHeaders)
- - Do not use VERSION/SOVERSION properties for frameworks
- - Make cmTarget::GetDirectory return by value
- - Remove the foo.framework part from cmTarget::GetDirectory
- - Correct install_name construction and conversion on install
- - Fix MACOSX_PACKAGE_LOCATION under Xcode to use the
- Versions/<version> directory for frameworks
- - Update the Framework test to try these things
-
-2008-04-07 23:56 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-07 19:43 clinton
-
- * Modules/FindQt4.cmake:
- BUG: Fix problem with last patch when trying to take substr of
- shorter strings than expected. Fixes #6730.
-
-2008-04-07 19:19 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h,
- QCMake.cxx, QCMake.h: BUG: Fix #6733. Always convert "\" to "/"
- in source & binary directory fields on Windows.
-
-2008-04-07 13:39 king
-
- * Source/: cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx, cmTarget.cxx, cmTarget.h:
- BUG: Do not create target output directory in cmTarget. Let the
- generators do it.
-
-2008-04-07 11:23 clinton
-
- * Modules/FindQt4.cmake: BUG: Fix 6726. Create correct moc rule
- for configured headers in binary dir.
-
-2008-04-07 10:55 king
-
- * Source/: cmFileCommand.cxx, cmSystemTools.cxx: ENH: Improve error
- message when installation file(CHRPATH) cannot change the RPATH.
-
-2008-04-06 23:57 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-06 22:19 hoffman
-
- * Source/cmFindBase.cxx: BUG: fix network path by mistake in search
-
-2008-04-05 23:57 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-04 23:57 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-04 16:02 hoffman
-
- * CMakeLists.txt, Source/cmFileCommand.cxx, Source/cmake.cxx,
- Source/QtDialog/CMakeLists.txt, Source/QtDialog/CMakeSetup.cxx,
- Source/QtDialog/QMacInstallDialog.cxx,
- Source/QtDialog/postflight.sh.in: ENH: install the mac
- application bundle into /Applications directly with no enclosing
- folder
-
-2008-04-03 23:57 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-03 18:43 alex
-
- * Source/cmExtraEclipseCDT4Generator.cxx: ENH: add edit_cache
- target for Eclipse (if it's not ccmake, because this doesn't work
- inside the log view)
-
- Alex
-
-2008-04-03 18:35 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.ui: ENH:
- Fix exit shortcut to be more standard, and add shortcut for
- advanced checkbox.
-
-2008-04-03 17:02 hoffman
-
- * Source/QtDialog/QMacInstallDialog.cxx: ENH: do not link . and ..
- during install
-
-2008-04-03 16:49 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.ui: ENH:
- Add more shortcuts. Fixes 6357.
-
-2008-04-03 16:18 hoffman
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h,
- QMacInstallDialog.cxx: ENH: add ability to create symlinks for
- command line on mac from gui
-
-2008-04-03 12:29 hoffman
-
- * Modules/InstallRequiredSystemLibraries.cmake: ENH: add vs9 mfc
- libraries
-
-2008-04-03 11:11 hoffman
-
- * Source/cmMakefileTargetGenerator.cxx: BUG: response file must be
- a copy if different or you get relinks every time you run cmake
-
-2008-04-02 23:57 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-02 17:41 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h,
- QCMake.cxx, QCMake.h:
- ENH: Add debug output option to a new Options menu. Move
- dev warnings option to the new Options menu. Fixes #6335.
-
-2008-04-02 17:29 alex
-
- * Source/: cmake.cxx, cmake.h: ENH: make it possible to disable
- debug output again
-
- Alex
-
-2008-04-02 15:28 clinton
-
- * Source/QtDialog/: QCMakeCacheView.cxx, QCMakeCacheView.h:
- BUG: Keep editor alive when file dialog comes up to pick another
- file or path. The editor going away prematurely Seems to
- only happen on Mac OS X.
-
-2008-04-02 14:01 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h:
- ENH: Allow cancelling the dialog that prompts for the generator.
-
-2008-04-02 11:07 hoffman
-
- * ChangeLog.manual, Modules/FindQt4.cmake: ENH: merge in findqt
- change from main tree
-
-2008-04-02 11:05 hoffman
-
- * Modules/FindQt4.cmake: BUG: make sure all paths extracted from
- qmake are converted to cmake paths because on windows they will
- have \ instead of / and you can get odd escaping errors
-
-2008-04-02 09:16 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/CPackDeb.cmake,
- Modules/FindQt4.cmake, Source/cmGetPropertyCommand.cxx,
- Source/cmGetPropertyCommand.h,
- Source/cmGlobalVisualStudio8Generator.cxx,
- Source/cmSetPropertyCommand.cxx, Source/cmSetPropertyCommand.h,
- Source/cmSourceFile.cxx, Source/cmTarget.cxx, Source/cmTest.cxx,
- Source/CPack/cmCPackDebGenerator.cxx, Source/kwsys/Process.h.in,
- Source/kwsys/ProcessUNIX.c, Tests/Properties/CMakeLists.txt: ENH:
- merge in main tree for RC 6
-
-2008-04-02 08:36 malaterre
-
- * Source/kwsys/: Process.h.in, ProcessUNIX.c: STYLE: minor comments
-
-2008-04-01 23:57 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-04-01 17:59 alex
-
- * Modules/FindQt4.cmake: STYLE: add documentation for
- QT4_CREATE_MOC and QT4_AUTOMOC (#6687)
-
- Alex
-
-2008-04-01 17:51 hoffman
-
- * Source/CPack/cmCPackDebGenerator.cxx, Modules/CPackDeb.cmake:
- ENH: add CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA variable
-
-2008-04-01 17:39 hoffman
-
- * Source/cmGlobalVisualStudio8Generator.cxx: BUG: fix location of
- tmp file to use the full path, caused error on vista not running
- as admin
-
-2008-04-01 15:22 martink
-
- * Source/cmGetPropertyCommand.cxx: COMP: fix warning
-
-2008-04-01 14:22 martink
-
- * Source/cmGetPropertyCommand.cxx, Source/cmGetPropertyCommand.h,
- Source/cmSetPropertyCommand.cxx, Source/cmSetPropertyCommand.h,
- Source/cmSourceFile.cxx, Source/cmTarget.cxx, Source/cmTest.cxx,
- Tests/Properties/CMakeLists.txt: ENH: support unset of properties
-
-2008-04-01 09:56 hoffman
-
- * Modules/CPackDeb.cmake: ENH: remove trailing space
-
-2008-03-31 23:57 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-31 17:57 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/FindMPI.cmake,
- Source/cmComputeLinkDepends.cxx, Source/cmComputeLinkDepends.h,
- Source/cmComputeLinkInformation.cxx,
- Source/cmExportFileGenerator.cxx, Source/cmListFileCache.cxx,
- Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmPolicies.cxx: ENH: merge changes
- from head to 26 branch
-
-2008-03-31 13:48 king
-
- * Source/cmExportFileGenerator.cxx: BUG: Generated target export
- files should set the policy version to 2.6 instead of the
- currently running version because they are 2.6 compatible.
-
-2008-03-31 13:33 king
-
- * Source/: cmListFileCache.cxx, cmMakefile.cxx, cmMakefile.h,
- cmPolicies.cxx: ENH: Allow policy CMP0000 to be set explicitly
-
- - Message for missing cmake_minimum_required is not issued
- until the end of processing the top CMakeLists.txt file
- - During processing a cmake_policy command may set behavior
- - OLD behavior is to silently ignore the problem
- - NEW behavior is to issue an error instead of a warning
-
-2008-03-31 12:47 king
-
- * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h,
- cmComputeLinkInformation.cxx: BUG: Fix bug 6605 more completely
-
- - CMake 2.4 added link directories for targets linked
- in the optimized configuration even when building debug
- - Old behavior for policy CMP0003 must account for this
-
-2008-03-31 10:59 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: Improve speed of
- manifest tool on VS8 and VS9.
-
- - Detect filesystem type where target will be linked
- - Use FAT32 workaround only when fs is FAT or FAT32
-
-2008-03-31 10:55 dgregor
-
- * Modules/FindMPI.cmake: ENH: Enhance FindMPI module by properly
- handling backward compatibility with the older module, adding
- documentation, and coping with multiple include and linker paths
-
-2008-03-31 08:04 hoffman
-
- * Modules/Platform/Darwin-icpc.cmake: file Darwin-icpc.cmake was
- added on branch CMake-2-6 on 2008-04-09 12:41:47 +0000
-
-2008-03-31 08:04 hoffman
-
- * Modules/Platform/Darwin-icc.cmake: file Darwin-icc.cmake was
- added on branch CMake-2-6 on 2008-04-09 12:41:46 +0000
-
-2008-03-31 08:04 david.cole
-
- * Modules/Platform/: Darwin-icc.cmake, Darwin-icpc.cmake: ENH: Add
- Intel compiler module files for the Mac. Thanks to Mike Jackson
- for contributing.
-
-2008-03-30 23:57 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-30 09:08 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, ChangeLog.txt,
- Modules/CMakeImportBuildSettings.cmake, Modules/CPackDeb.cmake,
- Modules/FindCurses.cmake, Modules/FindQt4.cmake,
- Source/CMakeLists.txt, Source/cmGlobalKdevelopGenerator.cxx,
- Source/cmGlobalKdevelopGenerator.h, Source/cmLocalGenerator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmSystemTools.cxx, Source/cmTarget.cxx, Source/cmake.cxx,
- Source/cmake.h, Source/CPack/cmCPackDebGenerator.cxx,
- Source/QtDialog/CMakeSetupDialog.cxx,
- Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in,
- Tests/Fortran/test_use_in_comment_fixedform.f: ENH: merge from
- main tree
-
-2008-03-29 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-29 13:16 hoffman
-
- * Source/cmake.h: ENH: make sure gui no-dev workis
-
-2008-03-28 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-28 20:23 alex
-
- * Source/CPack/cmCPackDebGenerator.cxx: BUG: fix packaging of files
- installed to absolute paths, works only when used with
- SET(CPACK_SET_DESTDIR "ON")
-
- Alex
-
-2008-03-28 19:09 alex
-
- * Modules/CPackDeb.cmake: STYLE: add a comma to make it better
- understandable, also use STATUS as the other MESSAGE() calls do
-
- Alex
-
-2008-03-28 15:59 hoffman
-
- * Source/cmake.h: ENH: remove dangerous access to ivar that should
- not be used
-
-2008-03-28 15:54 hoffman
-
- * Source/cmLocalGenerator.cxx: ENH: fix for the correct path to
- cmake
-
-2008-03-28 14:29 hoffman
-
- * Source/: cmSystemTools.cxx, cmake.cxx: ENH: try to fix mac
- symlinks to the executable
-
-2008-03-28 14:08 hoffman
-
- * Modules/CPackDeb.cmake: ENH: allow deb to work without dpkg
-
-2008-03-28 14:07 king
-
- * Modules/CMakeImportBuildSettings.cmake: ENH: Patch from Mathieu
- Malaterre to add documentation for his previous patch for
- CMakeImportBuildSettings.
-
-2008-03-28 14:04 king
-
- * Tests/Fortran/test_use_in_comment_fixedform.f: BUG: Fix Fortran
- test to use more portable comment syntax in fixed format source.
-
-2008-03-28 13:26 king
-
- * Modules/CMakeImportBuildSettings.cmake: ENH: Patch from Mathieu
- Malaterre to allow users to tell CMakeImportBuildSettings to not
- force compiler settings.
-
-2008-03-28 13:22 king
-
- * Source/CMakeLists.txt: COMP: Add missing module for
- CHECK_INCLUDE_FILE macro.
-
-2008-03-28 13:07 king
-
- * Source/cmTarget.cxx: ENH: Add note to Fortran_MODULE_DIRECTORY
- property documentation about using CMAKE_Fortran_MODULE_DIRECTORY
- to initialize it.
-
-2008-03-28 12:53 clinton
-
- * Source/QtDialog/CMakeSetupDialog.cxx: ENH: Better default size
- for help dialog.
-
-2008-03-28 11:47 hoffman
-
- * Modules/: CPackDeb.cmake: ENH: remove hard codeded arch
-
-2008-03-28 10:12 hoffman
-
- * Modules/FindCurses.cmake: ENH: make this backwards compatible
- with older FindCurses
-
-2008-03-28 10:08 hoffman
-
- * Modules/FindCurses.cmake: ENH: make this backwards compatible
- with older FindCurses
-
-2008-03-27 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-27 22:00 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for 6619
-
-2008-03-27 21:54 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for bug 6660
-
-2008-03-27 21:51 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for bug 6661
-
-2008-03-27 17:40 alex
-
- * Source/: cmGlobalKdevelopGenerator.cxx,
- cmGlobalKdevelopGenerator.h: COMP: fix warning about unused mf
- -"make VERBOSE=1 <target>" should be more portable than
- "VERBOSE=1 make <target>", since it doesn't rely on the shell,
- shouldn't it ?
-
- Alex
-
-2008-03-27 17:05 hoffman
-
- * Source/: cmake.cxx, kwsys/SystemTools.cxx,
- kwsys/SystemTools.hxx.in: BUG: fix install problem on make and
- allow symlinks to cmake bin directory
-
-2008-03-27 15:33 alex
-
- * Source/cmGlobalKdevelopGenerator.cxx: ENH: -enable colored output
- with the kdevelop generator -create non-verbose makefiles and
- have kdevelop call "VERBOSE=1 make" instead
-
- Alex
-
-2008-03-27 15:18 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Add QT_VERSION_MAJOR, QT_VERSION_MINOR, QT_VERSION_PATCH
- variables.
-
-2008-03-27 13:30 hoffman
-
- * ChangeLog.txt: ENH: remove DashboardScripts and CMakeWeb from the
- change log
-
-2008-03-27 13:27 hoffman
-
- * ChangeLog.txt: ENH: check in new change log for 2.6
-
-2008-03-27 11:16 hoffman
-
- * CMakeLists.txt, Modules/CPack.cmake,
- Source/cmInstallCommandArguments.cxx, Source/cmake.cxx: ENH:
- merge in from main tree
-
-2008-03-26 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-26 22:34 hoffman
-
- * Source/cmake.cxx: ENH: clean up annoying output from rc tool in
- VS9
-
-2008-03-26 20:12 alex
-
- * Modules/CPack.cmake: ENH: use CPACK_PACKAGE_VERSION instead of
- CPACK_PACKAGE_VERSION_MAJOR.CPACK_PACKAGE_VERSION_MINOR.CPACK_PACKAGE_VERSION_PATCH
- for creating the package file name
-
- Alex
-
-2008-03-26 18:30 alex
-
- * Source/cmInstallCommandArguments.cxx: BUG: fix the default
- "Unspecified" component when only the generic (i.e. not RUNTIME,
- ARCHIVE, LIBRARY, etc.) arguments are given.
-
- If the component of a part of a target is queried, return the
- specific one, if a specific one hasn't been set, return the
- generic one, if that hasn't been set, return "Unspecified".
-
- Alex
-
-2008-03-26 15:55 hoffman
-
- * Utilities/Release/: v20n17_aix_release.cmake,
- vogon_release_qt.cmake: ENH:
-
-2008-03-26 14:08 hoffman
-
- * CMakeLists.txt, Modules/CMakeJavaInformation.cmake,
- Modules/FindSubversion.cmake, Source/cmCoreTryCompile.cxx: ENH:
- merge in from main tree
-
-2008-03-26 13:50 hoffman
-
- * Source/cmCoreTryCompile.cxx: ENH: make sure numAttempts is
- incremented
-
-2008-03-26 13:14 hoffman
-
- * Source/cmCoreTryCompile.cxx: ENH: try to fix dashboard issue with
- not being able to remove try compile code
-
-2008-03-25 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-25 19:58 hoffman
-
- * CMakeLists.txt, Source/cmLocalUnixMakefileGenerator3.cxx,
- Tests/Assembler/CMakeLists.txt,
- Tests/BuildDepends/CMakeLists.txt,
- Tests/BundleTest/CMakeLists.txt, Tests/COnly/CMakeLists.txt,
- Tests/CTestTest/CMakeLists.txt, Tests/CTestTest2/CMakeLists.txt,
- Tests/CommandLineTest/CMakeLists.txt,
- Tests/ConvLibrary/CMakeLists.txt,
- Tests/CustComDepend/CMakeLists.txt,
- Tests/CustomCommand/CMakeLists.txt,
- Tests/CustomCommandWorkingDirectory/CMakeLists.txt,
- Tests/Dependency/CMakeLists.txt, Tests/DocTest/CMakeLists.txt,
- Tests/ExportImport/CMakeLists.txt,
- Tests/ExportImport/Export/CMakeLists.txt,
- Tests/ExportImport/Import/CMakeLists.txt,
- Tests/ExternalOBJ/CMakeLists.txt,
- Tests/ExternalOBJ/Object/CMakeLists.txt,
- Tests/FindPackageTest/CMakeLists.txt,
- Tests/Fortran/CMakeLists.txt, Tests/Framework/CMakeLists.txt,
- Tests/FunctionTest/CMakeLists.txt, Tests/Java/CMakeLists.txt,
- Tests/Jump/CMakeLists.txt, Tests/LoadCommand/CMakeLists.txt,
- Tests/LoadCommandOneConfig/CMakeLists.txt,
- Tests/LoadCommand/CMakeCommands/CMakeLists.txt,
- Tests/LoadCommandOneConfig/CMakeCommands/CMakeLists.txt,
- Tests/MacroTest/CMakeLists.txt, Tests/MakeClean/CMakeLists.txt,
- Tests/MathTest/CMakeLists.txt, Tests/NewlineArgs/CMakeLists.txt,
- Tests/OutOfSource/CMakeLists.txt, Tests/Plugin/CMakeLists.txt,
- Tests/PrecompiledHeader/CMakeLists.txt,
- Tests/Properties/CMakeLists.txt, Tests/ReturnTest/CMakeLists.txt,
- Tests/RuntimePath/CMakeLists.txt, Tests/SameName/CMakeLists.txt,
- Tests/SetLang/CMakeLists.txt, Tests/SimpleExclude/CMakeLists.txt,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt,
- Tests/SourceGroups/CMakeLists.txt,
- Tests/StringFileTest/CMakeLists.txt, Tests/SubDir/CMakeLists.txt,
- Tests/SubDir/Examples/CMakeLists.txt,
- Tests/SubDir/Examples/example1/CMakeLists.txt,
- Tests/SubDirSpaces/CMakeLists.txt, Tests/SubDirSpaces/Some
- Examples/CMakeLists.txt, Tests/SubDirSpaces/Some
- Examples/example1/CMakeLists.txt,
- Tests/SubProject/CMakeLists.txt, Tests/SwigTest/CMakeLists.txt,
- Tests/SystemInformation/CMakeLists.txt,
- Tests/TarTest/CMakeLists.txt, Tests/TargetName/CMakeLists.txt,
- Tests/TestDriver/CMakeLists.txt, Tests/Testing/CMakeLists.txt,
- Tests/TryCompile/CMakeLists.txt,
- Tests/Tutorial/Step1/CMakeLists.txt,
- Tests/Tutorial/Step2/CMakeLists.txt,
- Tests/Tutorial/Step3/CMakeLists.txt,
- Tests/Tutorial/Step4/CMakeLists.txt,
- Tests/Tutorial/Step5/CMakeLists.txt,
- Tests/Tutorial/Step6/CMakeLists.txt,
- Tests/Tutorial/Step7/CMakeLists.txt,
- Tests/VSExternalInclude/CMakeLists.txt,
- Tests/Wrapping/CMakeLists.txt, Tests/X11/CMakeLists.txt: ENH:
- merge in from main tree
-
-2008-03-25 14:37 martink
-
- * Tests/ExternalOBJ/CMakeLists.txt: BUG: make test more robust
-
-2008-03-25 14:15 martink
-
- * Tests/ExternalOBJ/CMakeLists.txt: BUG: add debugging into to
- check out a problem
-
-2008-03-25 11:26 martink
-
- * Tests/: Assembler/CMakeLists.txt, BuildDepends/CMakeLists.txt,
- BundleTest/CMakeLists.txt, COnly/CMakeLists.txt,
- CTestTest/CMakeLists.txt, CTestTest2/CMakeLists.txt,
- CommandLineTest/CMakeLists.txt, ConvLibrary/CMakeLists.txt,
- CustComDepend/CMakeLists.txt, CustomCommand/CMakeLists.txt,
- CustomCommandWorkingDirectory/CMakeLists.txt,
- Dependency/CMakeLists.txt, DocTest/CMakeLists.txt,
- ExportImport/CMakeLists.txt, ExportImport/Export/CMakeLists.txt,
- ExportImport/Import/CMakeLists.txt, ExternalOBJ/CMakeLists.txt,
- ExternalOBJ/Object/CMakeLists.txt,
- FindPackageTest/CMakeLists.txt, Fortran/CMakeLists.txt,
- Framework/CMakeLists.txt, FunctionTest/CMakeLists.txt,
- Java/CMakeLists.txt, Jump/CMakeLists.txt,
- LoadCommand/CMakeLists.txt, LoadCommandOneConfig/CMakeLists.txt,
- LoadCommand/CMakeCommands/CMakeLists.txt,
- LoadCommandOneConfig/CMakeCommands/CMakeLists.txt,
- MacroTest/CMakeLists.txt, MakeClean/CMakeLists.txt,
- MathTest/CMakeLists.txt, NewlineArgs/CMakeLists.txt,
- OutOfSource/CMakeLists.txt, Plugin/CMakeLists.txt,
- PrecompiledHeader/CMakeLists.txt, Properties/CMakeLists.txt,
- ReturnTest/CMakeLists.txt, RuntimePath/CMakeLists.txt,
- SameName/CMakeLists.txt, SetLang/CMakeLists.txt,
- SimpleExclude/CMakeLists.txt, SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt, SourceGroups/CMakeLists.txt,
- StringFileTest/CMakeLists.txt, SubDir/CMakeLists.txt,
- SubDir/Examples/CMakeLists.txt,
- SubDir/Examples/example1/CMakeLists.txt,
- SubDirSpaces/CMakeLists.txt, SubDirSpaces/Some
- Examples/CMakeLists.txt, SubDirSpaces/Some
- Examples/example1/CMakeLists.txt, SubProject/CMakeLists.txt,
- SwigTest/CMakeLists.txt, SystemInformation/CMakeLists.txt,
- TarTest/CMakeLists.txt, TargetName/CMakeLists.txt,
- TestDriver/CMakeLists.txt, Testing/CMakeLists.txt,
- TryCompile/CMakeLists.txt, Tutorial/Step1/CMakeLists.txt,
- Tutorial/Step2/CMakeLists.txt, Tutorial/Step3/CMakeLists.txt,
- Tutorial/Step4/CMakeLists.txt, Tutorial/Step5/CMakeLists.txt,
- Tutorial/Step6/CMakeLists.txt, Tutorial/Step7/CMakeLists.txt,
- VSExternalInclude/CMakeLists.txt, Wrapping/CMakeLists.txt,
- X11/CMakeLists.txt: ENH: preclean some warnings
-
-2008-03-25 10:11 hoffman
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: fix for watcom
- can't use phony
-
-2008-03-24 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-24 18:23 hoffman
-
- * CMakeLists.txt, Modules/FindBLAS.cmake, Modules/FindKDE4.cmake,
- Modules/FindLAPACK.cmake, Modules/FindMPI.cmake,
- Modules/FindQt4.cmake, Modules/FindSubversion.cmake,
- Source/cmCMakeMinimumRequired.cxx,
- Source/cmCMakePolicyCommand.cxx,
- Source/cmComputeLinkInformation.cxx, Source/cmCoreTryCompile.cxx,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmIfCommand.cxx, Source/cmIfCommand.h,
- Source/cmListFileCache.cxx,
- Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmPolicies.cxx,
- Source/cmake.cxx, Source/cmake.h,
- Source/CTest/cmCTestBuildHandler.cxx,
- Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt,
- Tests/MakeClean/ToClean/CMakeLists.txt,
- Tests/Preprocess/CMakeLists.txt: ENH: merge in from CVS
-
-2008-03-24 15:41 hoffman
-
- * Modules/FindMPI.cmake: ENH: remove use of undefined cdr
-
-2008-03-24 15:40 hoffman
-
- * Modules/FindQt4.cmake: ENH: fix if
-
-2008-03-24 11:49 alin.elena
-
- * Modules/: FindBLAS.cmake, FindLAPACK.cmake: ENH:
- FindBLAS.cmake&FindLAPACK updated to support intel mkl 10
-
-2008-03-24 10:56 king
-
- * Source/: cmCMakeMinimumRequired.cxx, cmCMakePolicyCommand.cxx,
- cmPolicies.cxx: ENH: Cleanup policy version interface presented
- to user.
-
- - In cmake_minimum_required do not set policy version if
- current
- CMake is too old
- - In cmPolicies::ApplyPolicyVersion report error if version is
- too
- new or cannot be parsed
-
-2008-03-24 10:26 hoffman
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx: ENH: add PHONY targets
-
-2008-03-23 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-22 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-22 10:24 hoffman
-
- * Source/: cmake.h, cmake.cxx: ENH: make sure -Wno-dev sticks so
- make rebuild_cache will work
-
-2008-03-21 23:58 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-20 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-20 21:11 king
-
- * Source/: cmComputeLinkInformation.cxx,
- cmComputeLinkInformation.h, cmPolicies.cxx: ENH: Yet another
- attempt at warning for CMP0003.
-
- - Give example code to avoid the warning
- - Make explanation more consise
- - Explicitly state this is for compatibility
- - Issue the warning for at most one target
-
-2008-03-20 18:25 king
-
- * Source/cmIfCommand.cxx, Source/cmIfCommand.h,
- Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt: ENH: Add "if(POLICY
- policy-id)" option for IF command.
-
- - This will help projects support multiple CMake versions.
- - In order to set a policy when using a newer CMake but still
- working with an older CMake one may write
- if(POLICY CMP1234)
- cmake_policy(SET CMP1234 NEW)
- endif(POLICY CMP1234)
- - Note that since CMake 2.4 does not have if(POLICY) supporting
- it will also require using "if(COMMAND cmake_policy)"
-
-2008-03-20 18:25 king
-
- * Tests/: MakeClean/ToClean/CMakeLists.txt,
- Preprocess/CMakeLists.txt: BUG: Convert cmake_policy(VERSION) to
- cmake_minimum_required(VERSION) in
- Tests/MakeClean/ToClean/CMakeLists.txt and
- Tests/Preprocess/CMakeLists.txt. CMP0000 now requires the
- cmake_minimum_required command.
-
-2008-03-20 11:44 david.cole
-
- * Modules/FindSubversion.cmake: BUG: Remove reference to
- PROJECT_SOURCE_DIR so that the Subversion_WC_INFO macro may be
- called from a ctest or cmake script.
-
-2008-03-20 10:46 martink
-
- * Source/cmListFileCache.cxx: ENH: tiny performance improvement
-
-2008-03-20 10:40 martink
-
- * Source/cmListFileCache.cxx: ENH: small simple projects do not
- need to specify cmake minimum required
-
-2008-03-20 10:11 king
-
- * Source/cmake.cxx: ENH: Clarify end of (dev) warnings to
- explicitly state they are meant for project developers.
-
-2008-03-19 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-19 16:14 clinton
-
- * Modules/FindQt4.cmake:
- BUG: Fix issue when Qt from Linux distro is used and glib
- and dbus development packages aren't installed.
-
-2008-03-19 15:44 king
-
- * Source/cmCoreTryCompile.cxx: BUG: Change generated try-compile
- projects to use cmake_minimum_required instead of cmake_policy to
- set the version now that CMP0000 requires it.
-
-2008-03-19 15:27 clinton
-
- * Modules/FindQt4.cmake: BUG: Don't clear output strings before
- using.
-
-2008-03-19 15:18 king
-
- * Source/: cmListFileCache.cxx, cmPolicies.cxx: ENH: Improve
- warning about specifying a cmake version
-
- - Update policy CMP0000 to require use of the command
- cmake_minimum_required and not cmake_policy
- so there is only one way to avoid it.
- - Explicitly specify the line users should add.
- - Reference policy CMP0000 only at the end.
- - Fix policy CMP0000 documentation to not suggest
- use of the cmake_policy command.
-
-2008-03-19 14:32 king
-
- * Source/cmComputeLinkInformation.cxx: ENH: Clarify warning for
- policy CMP0003 further.
-
-2008-03-19 11:18 david.cole
-
- * Source/CTest/cmCTestBuildHandler.cxx: BUG: Missing a linker
- crashed error matching string.
-
-2008-03-19 09:14 hoffman
-
- * Source/cmComputeLinkInformation.cxx: ENH: do not warn about
- frameworks as they are not affected by -L anyway
-
-2008-03-18 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-18 21:22 hoffman
-
- * CMakeLists.txt: ENH: forgot to check this in, need to change the
- version in CVS
-
-2008-03-18 18:37 clinton
-
- * Modules/FindQt4.cmake:
- STYLE: Improve documentation by expanding on how UseQt4.cmake
- fits in.
-
-2008-03-18 17:54 alex
-
- * Modules/FindQt4.cmake: STYLE: fix documentation again:
- QT_LIBRARIES exists if you use Qt4 via UseQt4.cmake
-
- Alex
-
-2008-03-18 17:32 hoffman
-
- * Source/: cmComputeLinkInformation.cxx,
- cmComputeLinkInformation.h: ENH: try to reduce the number of
- CMP0003 warnings that people see. Only report them for unique
- sets of libraries with no full path. Also add a message
- explaining the course of action that should be taken
-
-2008-03-18 17:26 alex
-
- * Modules/FindQt4.cmake: STYLE: fix documentation, QT_LIBRARIES
- doesn't exist, and also didn't exist in cmake 2.4.3, the first
- stable cmake 2.4.x release
-
- Alex
-
-2008-03-18 16:30 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Satisfy QtDBus dependencies for builds with static Qt.
- Finish fix for #6607.
-
-2008-03-18 11:51 hoffman
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: exclude borland
- make as well
-
-2008-03-18 11:28 hoffman
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: turn off extra
- rules for nmake and wmake
-
-2008-03-18 11:11 hoffman
-
- * CMakeLists.txt: ENH: set the version on 2.6
-
-2008-03-18 10:23 hoffman
-
- * CMakeLists.txt, Modules/CTest.cmake, Modules/FindKDE4.cmake,
- Modules/FindPackageHandleStandardArgs.cmake,
- Modules/FindPackageMessage.cmake, Modules/FindQt4.cmake,
- Modules/FindX11.cmake, Modules/UseQt4.cmake,
- Modules/VTKCompatibility.cmake,
- Modules/Platform/Linux-GNU-Fortran.cmake,
- Modules/Platform/Linux-ifort.cmake,
- Modules/Platform/Windows-cl.cmake,
- Source/cmCMakeMinimumRequired.h, Source/cmCMakePolicyCommand.h,
- Source/cmComputeLinkDepends.cxx, Source/cmComputeLinkDepends.h,
- Source/cmComputeLinkInformation.cxx,
- Source/cmComputeLinkInformation.h,
- Source/cmDocumentVariables.cxx, Source/cmExportFileGenerator.cxx,
- Source/cmListCommand.cxx,
- Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmMakefile.cxx,
- Source/cmPolicies.cxx, Source/cmPolicies.h,
- Source/cmSourceFileLocation.cxx, Source/cmTarget.cxx,
- Source/cmTarget.h, Source/QtDialog/CMakeSetup.cxx,
- Source/QtDialog/CMakeSetupDialog.cxx,
- Source/kwsys/CMakeLists.txt, Source/kwsys/kwsysDateStamp.cmake,
- Utilities/cmcurl/CMakeLists.txt: ENH: move head to branch
-
-2008-03-18 10:02 hoffman
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: try to improve
- make speed by getting rid of some implicit rules that were still
- around.
-
-2008-03-17 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-17 20:30 king
-
- * Source/cmCMakePolicyCommand.h: ENH: Improve documentation of
- cmake_policy command.
-
- - Add a paragraph introducing the policy mechanism
- - Explicitly introduce the CMP<NNNN>, OLD, and NEW notation
- - Note that setting policies by CMake version is preferred
- - Fix SET signature to use CMP<NNNN> notation
- - Add more details about the policy stack
-
-2008-03-17 16:22 king
-
- * CMakeLists.txt, Source/kwsys/CMakeLists.txt,
- Utilities/cmcurl/CMakeLists.txt: ENH: Set CMake Policy CMP0003 to
- NEW behavior to build without warnings with the upcoming CMake
- 2.6 release.
-
-2008-03-17 14:53 clinton
-
- * Modules/FindQt4.cmake:
- ENH: For Mac OS X, remove QuickTime link for Qt 4.3+ and add
- AppKit link for Qt 4.2+.
-
-2008-03-17 11:10 hoffman
-
- * Modules/FindPackageMessage.cmake: file FindPackageMessage.cmake
- was added on branch CMake-2-6 on 2008-03-18 14:23:52 +0000
-
-2008-03-17 11:10 king
-
- * Modules/: FindPackageHandleStandardArgs.cmake,
- FindPackageMessage.cmake, FindQt4.cmake, FindX11.cmake: ENH:
- Added FindPackageMessage module
-
- - Defines FIND_PACKAGE_MESSAGE function to help display
- find result messages only once
- - Added use of it to FindPackageHandleStandardArgs
- - Added use of it to FindQt4, and FindX11
- - This cleans up repeated messages in big projects
-
-2008-03-17 11:10 king
-
- * Modules/CTest.cmake: ENH: Avoid printing message about unknown
- repository type repeatedly in CTest.
-
-2008-03-17 08:55 king
-
- * Modules/Platform/: Linux-GNU-Fortran.cmake, Linux-ifort.cmake:
- ENH: Patch from Maik to add per-configuration default flags to
- GCC and Intel Fortran compilers on Linux.
-
-2008-03-16 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-15 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-15 20:10 david.cole
-
- * Modules/CMakeJavaInformation.cmake: BUG: Go back to using "." so
- the Java test passes on the nightly nmake dashboards again. Still
- need a solution that works with both nmake and Visual Studio
- builds.
-
-2008-03-15 10:00 king
-
- * Source/cmComputeLinkInformation.cxx: COMP: Fix unreachable code
- warning for break after return in switch in CMP0003 impl.
-
-2008-03-15 10:00 king
-
- * Source/: cmTarget.cxx, cmSourceFileLocation.cxx: STYLE: Fix
- line-too-long for new INTERNAL_ERROR messages.
-
-2008-03-14 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-14 18:16 alex
-
- * Modules/FindKDE4.cmake: ENH: preparations for cross compiling
- KDE4
-
- Alex
-
-2008-03-14 16:39 barre
-
- * Source/cmListCommand.cxx: STYLE: yeah yeah.
-
-2008-03-14 15:18 clinton
-
- * Source/QtDialog/CMakeSetup.cxx:
- ENH: Prevent loading standard qt plugins at runtime (which we
- dont' care about). This can cause problems if a Mac bundle
- doesn't contain the plugins.
-
-2008-03-14 14:28 clinton
-
- * Modules/FindQt4.cmake: BUG: Fix typo to find QAssistantClient
- header.
-
-2008-03-14 14:21 king
-
- * Source/cmComputeLinkInformation.cxx: ENH: Improve CMP0003 to
- provide more compatibility
-
- - Targets built in the tree now add compatibility paths too
- - The warning message's first list includes at most one item
- for each unique compatibility path
- - Clarified error message further
-
-2008-03-14 13:29 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Satisfy QtNetwork and QtOpenGL dependencies for builds with
- static Qt. Partial fix for #6607.
-
-2008-03-14 13:16 clinton
-
- * Modules/: FindQt4.cmake, UseQt4.cmake:
- ENH: Automatically add dependent modules. For example, if
- QT_USE_QTXMLPATTERNS is on, QT_USE_QTNETWORK is turned on.
- The equivalent happens in a qmake .pro file when QT +=
- xmlpatterns is specified.
-
-2008-03-14 12:11 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Support static Qt 4.4 builds using QtHelp module.
-
-2008-03-13 19:12 clinton
-
- * Modules/: FindQt4.cmake, UseQt4.cmake:
- ENH: Add support for Qt 4.4's phonon module. Add new Qt
- 4.4 modules in UseQt4.cmake
-
-2008-03-13 17:38 king
-
- * Source/cmMakefile.cxx: BUG: Fix impl of CMP0005 regex to match
- value-less definitions.
-
-2008-03-13 17:32 king
-
- * Source/: cmCMakeMinimumRequired.h, cmPolicies.cxx: ENH: Clarify
- documentation of policy CMP0000 and its relationship with
- cmake_minimum_required.
-
-2008-03-13 17:11 king
-
- * Source/: cmMakefile.cxx, cmPolicies.cxx, cmPolicies.h: ENH: Add
- policy CMP0005 to decide whether add_definitions should escape
- defs.
-
-2008-03-13 17:04 king
-
- * Source/cmExportFileGenerator.cxx: ENH: Add cmake_policy
- push/version/pop to import/export files.
-
-2008-03-13 16:42 hoffman
-
- * Modules/Platform/Windows-cl.cmake: ENH: fix c flags for 2003 free
- command line tools
-
-2008-03-13 16:35 king
-
- * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h,
- cmPolicies.cxx, cmPolicies.h, cmTarget.cxx, cmTarget.h: ENH: Add
- policy CMP_0004 to require library names to have no leading or
- trailing whitespace. Replace previous check of
- CMAKE_BACKWARDS_COMPATIBILITY against version 2.4 with the
- policy.
-
-2008-03-13 16:23 king
-
- * Modules/VTKCompatibility.cmake,
- Source/cmComputeLinkInformation.cxx,
- Source/cmComputeLinkInformation.h,
- Source/cmDocumentVariables.cxx, Source/cmPolicies.cxx,
- Source/cmPolicies.h, Source/cmTarget.cxx, Source/cmTarget.h: ENH:
- Convert CMAKE_LINK_OLD_PATHS to policy CMP0003.
-
- - Policy is WARN by default so projects will build
- as they did in 2.4 without user intervention
- - Remove CMAKE_LINK_OLD_PATHS variable since it was
- never in a release and the policy supercedes it
- - Report target creation backtrace in warning message
- since policy should be set by that point
-
-2008-03-13 16:21 hoffman
-
- * Source/QtDialog/CMakeSetupDialog.cxx: ENH: make menu item match
- -Wno-dev command line
-
-2008-03-13 16:13 clinton
-
- * Source/QtDialog/CMakeSetupDialog.cxx: ENH: Preserve white spaces
- when printing messages.
-
-2008-03-13 15:34 hoffman
-
- * Source/cmake.cxx: ENH: move the clear to before things are added
- to the maps
-
-2008-03-13 15:29 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Add support for new modules in Qt 4.4. Fixes #6316.
- Simplify and clarify some documentation.
-
- BUG: Fix order of include paths (from KDE's FindQt4) Fix
- find of Designer components debug library on Windows.
-
-2008-03-13 15:06 king
-
- * Source/cmake.cxx: ENH: Make (dev) warnings show note about
- -Wno-dev option. Fix -Wdev and -Wno-dev options to not be
- mistaken for the source directory specification.
-
-2008-03-13 15:03 david.cole
-
- * Modules/CMakeJavaInformation.cmake: COMP: Conditionalize the last
- change so that the fix only applies to WIN32. Leave it the way it
- was elsewhere, the new way does not work on the Mac continuous
- dashboard...
-
-2008-03-13 15:01 king
-
- * Source/cmPolicies.cxx: ENH: Reduce whitespace in policy
- warning/error messages.
-
-2008-03-13 14:29 david.cole
-
- * Modules/CMakeJavaInformation.cmake: BUG: Fix the Java test for
- Visual Studio builds. Before this, it had been trying to include
- "BuildLog.htm" in the .jar file because it was using "." as the
- list of files to include in the .jar file. Use "*.class" instead
- of "." to prevent this silliness.
-
-2008-03-13 14:13 king
-
- * Source/cmMakefile.cxx: ENH: Improve error message when invalid
- policy is given.
-
-2008-03-13 13:52 king
-
- * Source/cmSetCommand.cxx: ENH: Simplify error message for invalid
- set(... CACHE) calls to make it look nicer with new message
- format.
-
-2008-03-13 13:48 king
-
- * Source/: cmListFileCache.cxx, cmListFileCache.h, cmMakefile.cxx,
- cmMakefile.h, cmTarget.cxx, cmTarget.h, cmake.cxx, cmake.h: ENH:
- Improve new error/warning message generation
-
- - Add cmListFileBacktrace to record stack traces
- - Move main IssueMessage method to the cmake class instance
- (make the backtrace an explicit argument)
- - Change cmMakefile::IssueMessage to construct a backtrace
- and call the cmake instance version
- - Record a backtrace at the point a target is created
- (useful later for messages issued by generators)
-
-2008-03-13 11:38 martink
-
- * Source/: cmCMakePolicyCommand.h, cmListFileCache.cxx,
- cmLocalGenerator.cxx, cmMakefile.cxx, cmPolicies.cxx,
- cmPolicies.h, cmake.cxx: ENH: change CMP_ to CMP
-
-2008-03-13 10:56 hoffman
-
- * Modules/FindGLUT.cmake: BUG: fix bug 6594 look for glut in more
- places on windows
-
-2008-03-13 09:28 barre
-
- * Source/cmFileCommand.cxx: BUG: the directory the FILE DOWNLOAD
- command is writing to might not exist.
-
-2008-03-12 23:59 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-12 21:54 hoffman
-
- * CMakeCPackOptions.cmake.in,
- Source/CPack/cmCPackCygwinBinaryGenerator.cxx,
- Source/CPack/cmCPackCygwinSourceGenerator.cxx,
- Source/CPack/cmCPackGenerator.cxx: ENH: fix crash in cpack when
- CPACK_CYGWIN_PATCH_NUMBER not specified
-
-2008-03-12 21:06 hoffman
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx, cmMakefile.cxx,
- cmSourceFileLocation.cxx, cmTarget.cxx, cmake.h: ENH: remove
- abort calls and replace with an IssueMessage INTERANL_ERROR,
- better to not crash on the end user.
-
-2008-03-12 17:02 hoffman
-
- * Source/: cmake.cxx, cmake.h: ENH: make sure properties are re-set
- on each configure
-
-2008-03-12 17:02 barre
-
- * Source/cmListCommand.cxx, Source/cmListCommand.h,
- Tests/CMakeTests/ListTest.cmake.in: ENH: add REMOVE_DUPLICATES
- subcommand to LIST command (and test). Remove duplicates from a
- list (keep the ordering)
-
-2008-03-12 14:37 martink
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: fix some bad
- changes in progress calc
-
-2008-03-12 09:25 hoffman
-
- * Source/cmMakefile.cxx: STYLE: fix line len
-
-2008-03-12 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-11 22:52 hoffman
-
- * Source/QtDialog/CMakeSetupDialog.cxx: ENH: remove iostream, not
- used
-
-2008-03-11 22:50 hoffman
-
- * Source/: cmake.cxx, cmake.h, QtDialog/CMakeSetupDialog.cxx,
- QtDialog/CMakeSetupDialog.h, QtDialog/QCMake.cxx,
- QtDialog/QCMake.h: ENH: add ability to suppress dev warnings to
- gui code
-
-2008-03-11 17:53 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Fix subtle bug
- that prevented Makefile generators from rescanning dependencies
- when a new source file is added but no other sources are touched.
-
-2008-03-11 17:37 king
-
- * Source/kwsys/SystemInformation.hxx.in: COMP: Fix shared lib build
- on windows for KWSys's SystemInformation by adding export macro.
-
-2008-03-11 17:27 hoffman
-
- * Source/QtDialog/: CMake.desktop, CMakeLists.txt, cmakecache.xml:
- ENH: add KDE desktop stuff
-
-2008-03-11 17:27 hoffman
-
- * Source/cmMakefile.cxx: ENH: fix warning message a bit
-
-2008-03-11 17:25 king
-
- * Source/: cmGlobalVisualStudio8Generator.cxx, cmake.cxx, cmake.h:
- BUG: Fixes to VS8/VS9 project regeneration rules
-
- - ZERO_CHECK should check all stamps in case
- of parallel build (fixes complex test failure)
- - ZERO_CHECK should not appear when
- CMAKE_SUPPRESS_REGENERATION is on (fixes bug 6490)
-
-2008-03-11 16:02 hoffman
-
- * Source/: cmake.h, cmakemain.cxx: ENH: fix -Wno-dev for ccmake
-
-2008-03-11 15:17 hoffman
-
- * Source/: cmMakefile.cxx, cmake.cxx, cmakemain.cxx: ENH: add a way
- to suppress the new policy warnings, still need ccmake and gui's
-
-2008-03-11 10:54 barre
-
- * Docs/cmake-mode.el: ENH: add simple function to convert all CMake
- commands to lowercase
-
-2008-03-11 10:29 hoffman
-
- * Source/: cmListFileCache.cxx, cmMakefile.cxx, cmMakefile.h,
- cmPolicies.cxx, cmake.h: ENH: add enum to IssueMessage
-
-2008-03-11 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-10 18:48 barre
-
- * Modules/: FindCVS.cmake: ENH: for some reasons there was never a
- FindCVS module?
-
-2008-03-10 15:41 king
-
- * Source/cmMakefile.cxx: ENH: Enforce matching PUSH/POP calls for
- cmake_policy.
-
-2008-03-10 15:40 king
-
- * Source/cmMakefile.cxx: ENH: Add directory-level context
- information to error/warning messages when no call stack is
- present.
-
-2008-03-10 13:26 alex
-
- * Modules/: FindLua50.cmake, FindLua51.cmake: ENH: use the standard
- find_package_handle_standard_args() for lua 5.0 and 5.1
-
- Alex
-
-2008-03-10 09:32 king
-
- * Modules/: CMakeCCompilerId.c.in, CMakeCXXCompilerId.cpp.in,
- CMakePlatformId.h.in: ENH: Make compiler id detection more robust
-
- - Split INFO strings in source into multiple pieces
- to make sure assembly or other listings produced
- by the compiler are never matched by the regex
- - Store INFO strings via pointer instead of array
- to convince some compilers to store the string
- literally in the binary
- - This should help make it work for sdcc 2.8.0 RC1
-
-2008-03-10 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-09 19:20 alex
-
- * Modules/CMakeDetermineCompilerId.cmake: BUG: make compiler id
- detection (almost) work again with sdcc 2.8.0 RC1, mail sent to
- Brad for the remaining issue don't match INFO:compiler["
- COMPILER_ID "] which appears in the assembler file generated from
- the C file by sdcc, but make sure the first character after the [
- is no double quote
-
- Alex
-
-2008-03-09 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-08 09:50 king
-
- * Source/cmIncludeDirectoryCommand.cxx: BUG: Fix
- include_directories command to produce an immediately whether or
- not 2.4 compatibility is enabled. CMake 2.4 already produced an
- error, just not immediately.
-
-2008-03-08 09:27 king
-
- * Source/cmIncludeCommand.cxx: ENH: Improve formatting of include
- command error message.
-
-2008-03-08 09:21 king
-
- * Source/cmMakefile.cxx: COMP: Avoid using operator-> on
- const_reverse_iterator to help old compilers.
-
-2008-03-08 09:13 king
-
- * Source/: cmMakefile.cxx, cmPolicies.cxx: ENH: Cleanup policy
- generic documentation. Cleanup some policy error/warning
- messages.
-
-2008-03-08 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-07 19:58 hoffman
-
- * Modules/FindMPI.cmake: ENH: add new version of FindMPI, fix it to
- work with MPICH2 on windows
-
-2008-03-07 17:05 king
-
- * Source/cmAddCustomTargetCommand.cxx: COMP: Fix unused parameter
- warning in cmAddCustomTargetCommand.
-
-2008-03-07 16:36 king
-
- * Source/: cmMakefile.cxx, cmPolicies.cxx, cmPolicies.h, cmake.cxx:
- ENH: Finish creating, documenting, and enforcing policy CMP_0002.
-
-2008-03-07 16:32 hoffman
-
- * Source/CursesDialog/: cmCursesCacheEntryComposite.cxx,
- cmCursesMainForm.cxx: ENH: fix it for working with an empty cache
-
-2008-03-07 16:26 king
-
- * bootstrap: COMP: Fix bootstrap build after using
- cmDocumentationFormatterText in cmMakefile.
-
-2008-03-07 16:01 king
-
- * Source/: cmDocumentationFormatterText.cxx, cmMakefile.cxx: ENH:
- In cmMakefile::IssueMessage use cmDocumentationFormatterText to
- format the message nicely.
-
-2008-03-07 15:30 king
-
- * Source/cmAddCustomTargetCommand.cxx,
- Source/cmCMakeMinimumRequired.h, Source/cmCMakePolicyCommand.h,
- Source/cmConfigureFileCommand.cxx, Source/cmFindBase.cxx,
- Source/cmListFileCache.cxx, Source/cmLocalGenerator.cxx,
- Source/cmMakefile.cxx, Source/cmPolicies.cxx,
- Source/cmPolicies.h, Source/cmake.cxx,
- Tests/MakeClean/ToClean/CMakeLists.txt,
- Tests/Preprocess/CMakeLists.txt: ENH: Improve handling of
- old-style compatibility.
-
- - Remove CMP_0001 (no slash in target name) and restore
- old CMAKE_BACKWARDS_COMPATIBILITY check for it
- - Replace all checks of CMAKE_BACKWARDS_COMPATIBILITY
- with cmLocalGenerator::NeedBackwardsCompatibility calls
- - Create new CMP_0001 to determine whether or not
- CMAKE_BACKWARDS_COMPATIBILITY is used.
- (old = use, new = ignore)
- - Show CMAKE_BACKWARDS_COMPATIBILITY in cache only when
- CMP_0001 is set to OLD or WARN
- - Update documentation of cmake_policy and
- cmake_minimum_required
- to indicate their relationship and the 2.4 version boundary
- - When no cmake policy version is set in top level makefile
- implicitly call cmake_policy(VERSION 2.4) which restores
- CMAKE_BACKWARDS_COMPATIBILITY and other 2.4 compatibility
- - Fix tests MakeClean and Preprocess to call
- cmake_policy(VERSION 2.6) because they depend on new policies
-
-2008-03-07 14:03 hoffman
-
- * Utilities/Release/: create-cmake-release.cmake,
- dashmacmini2_release.cmake, magrathea_release.cmake,
- release_cmake.sh.in: ENH: qtgui stuff
-
-2008-03-07 11:50 clinton
-
- * Source/QtDialog/CMakeSetupDialog.cxx: ENH: Use fixed pitch font
- in output window.
-
-2008-03-07 11:43 martink
-
- * Source/: cmCMakeMinimumRequired.cxx, cmCacheManager.h,
- cmListFileCache.cxx, cmPolicies.cxx, cmake.cxx: ENH: clean up
- some policy stuff and interactions with
- CMAKE_BACKWARDS_COMPATIBILITY and CMAKE_MINIMUM_REQUIRED
-
-2008-03-07 11:06 hoffman
-
- * Source/CPack/: cmCPackCygwinBinaryGenerator.cxx,
- cmCPackGenerator.cxx: ENH: fix crash in cygwin package stuff
-
-2008-03-07 09:41 martink
-
- * Source/cmListFileCache.cxx: STYLE: fix line length issue
-
-2008-03-07 09:09 king
-
- * Source/cmMakefile.cxx: BUG: Do not produce whitespace-only lines
- when indenting messages in new error/warning format.
-
-2008-03-07 08:53 king
-
- * Source/cmCoreTryCompile.cxx: BUG: Generated try-compile
- CMakeLists.txt file should call cmake_policy with the current
- version of CMake, not just 2.6.
-
-2008-03-07 08:40 king
-
- * Source/: cmAddCustomTargetCommand.cxx, cmExecutionStatus.h,
- cmFunctionCommand.cxx, cmListFileCache.cxx, cmListFileCache.h,
- cmMacroCommand.cxx, cmMakefile.cxx, cmMakefile.h, cmPolicies.cxx:
- ENH: New format for warning and error messages
-
- - Add cmMakefile methods IssueError and IssueWarning
- - Maintain an explicit call stack in cmMakefile
- - Include context/call-stack info in messages
- - Nested errors now unwind the call stack
- - Use new mechanism for policy warnings and errors
- - Improve policy error message
- - Include cmExecutionStatus pointer in call stack
- so that errors deeper in the C++ stack under
- a command invocation will become errors for the
- command
-
-2008-03-07 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-06 16:03 martink
-
- * Source/cmListFileCache.cxx: BUG: keep CMAKE_BACKWARDS_COMP as
- internal
-
-2008-03-06 15:51 martink
-
- * Source/cmListFileCache.cxx: BUG: make default
- CMAKE_BACKWARDS_COMPATIBILITY 2.5
-
-2008-03-06 15:20 hoffman
-
- * Source/cmCoreTryCompile.cxx: ENH: make sure policy is set in
- generated cmakelist files
-
-2008-03-06 15:08 martink
-
- * Source/: cmConfigureFileCommand.cxx, cmListFileCache.cxx,
- cmPolicies.cxx: BUG: change in handling of cmake_minimum_required
-
-2008-03-06 11:34 hoffman
-
- * Source/cmDocumentationFormatterHTML.cxx: STYLE: fix line length
-
-2008-03-06 10:57 martink
-
- * Source/: cmCMakeMinimumRequired.cxx, cmConfigureFileCommand.cxx,
- cmListFileCache.cxx, cmListFileCache.h, cmMakefile.cxx,
- cmPolicies.cxx: BUG: change the handling of
- CMAKE_MINIMUM_REQUIRED and BACKWARDS_COMPATIBILITY and extend the
- documentaiton quite a bit
-
-2008-03-06 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-05 18:42 king
-
- * Source/cmPolicies.cxx: ENH: Fix policy warning message to not
- give wrong code as example.
-
-2008-03-05 18:21 king
-
- * Source/: cmCMakePolicyCommand.cxx, cmCMakePolicyCommand.h,
- cmMakefile.cxx, cmMakefile.h: ENH: Improve cmake_policy command
- signature
-
- - Replace NEW and OLD modes with a SET mode for clarity
- - Enforce VERSION argument validity (major.minor[.patch])
-
-2008-03-05 18:20 king
-
- * Source/cmPolicies.cxx: BUG: Require policy version to specify at
- least major.minor. Do not store CMAKE_BACKWARDS_COMPATIBILITY
- with an invalid version value.
-
-2008-03-05 17:26 king
-
- * Source/cmPolicies.cxx: BUG: Fix parsing of policy version number
- in cmPolicies.
-
-2008-03-05 15:55 king
-
- * Modules/CMakeFortranCompiler.cmake.in: ENH: Patch from Maik to
- add more fortran extensions.
-
-2008-03-05 12:53 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Allow users to recover from trying to use an improperly
- installed Qt without removing their cache, fixing their
- environment and trying again.
-
-2008-03-05 11:41 martink
-
- * Source/: cmConfigureFileCommand.cxx, cmMakefile.cxx,
- cmPolicies.cxx, cmPolicies.h: BUG: some fixes, still a few to go
-
-2008-03-05 11:05 hoffman
-
- * Source/: cmDocumentation.cxx, cmDocumentationFormatter.h,
- cmDocumentationFormatterHTML.cxx, cmDocumentationFormatterHTML.h:
- ENH: add master index into html full help
-
-2008-03-05 03:11 ewing
-
- * Modules/FindOpenAL.cmake: BUG: Fixed PATH_SUFFIXES copy/paste bug
- (0006201)
-
-2008-03-05 00:00 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-04 18:57 king
-
- * Source/cmMakefile.cxx: BUG: Make sure at least one policy stack
- entry is created for every cmMakefile instance.
-
-2008-03-04 18:42 king
-
- * Source/: cmCMakeMinimumRequired.cxx, cmCMakeMinimumRequired.h:
- ENH: Make CMAKE_MINIMUM_REQUIRED command FATAL_ERROR option
- implicit (always on). Accept but ignore the existing option.
-
-2008-03-04 18:41 king
-
- * Source/: cmGlobalGenerator.cxx, cmIncludeDirectoryCommand.cxx:
- BUG: Fix crash when CMAKE_BACKWARDS_COMPATIBILITY is not set.
-
-2008-03-04 14:51 martink
-
- * Source/: cmCMakeMinimumRequired.cxx, cmPolicies.cxx, cmake.cxx:
- ENH: more policy changes
-
-2008-03-04 13:51 king
-
- * Source/cmTarget.cxx: BUG: Fix memory leak when cmTarget instances
- are assigned. We really need to get rid of global targets and
- their associated assignments.
-
-2008-03-04 13:34 hoffman
-
- * Source/CTest/cmCTestSubmitHandler.cxx: STYLE: fix line len
-
-2008-03-04 09:40 king
-
- * Source/cmDocumentVariables.cxx: BUG: Fix typo in documentation of
- LIBRARY_OUTPUT_PATH.
-
-2008-03-04 09:16 martink
-
- * Source/: cmDocumentation.cxx, cmDocumentation.h,
- cmDocumentationFormatter.h, cmPolicies.cxx, cmPolicies.h,
- cmake.cxx, cmake.h, cmakemain.cxx: ENH: add --help-policies and
- --help-policy command line options
-
-2008-03-04 09:10 martink
-
- * CMakeLists.txt: BUG: undo accidental commit
-
-2008-03-04 08:18 david.cole
-
- * Tests/CMakeTests/CMakeLists.txt,
- Tests/CMakeTests/GetPrerequisitesTest.cmake.in,
- Modules/GetPrerequisites.cmake: ENH: Add script
- GetPrerequisites.cmake to help analyze what shared libraries
- executable files depend on. Primary uses are to determine what
- shared libraries should be copied into Mac OSX bundle
- applications to create standalone bundles apps and to determine
- what shared library files need to be installed for an executable
- to run on any platform. Requires native platform tools dumpbin,
- otool and ldd to generate results.
-
-2008-03-04 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-03 20:31 king
-
- * Modules/UsewxWidgets.cmake: STYLE: Remove trailing whitespace.
-
-2008-03-03 20:24 king
-
- * Modules/CMakeASMInformation.cmake: STYLE: Remove trailing
- whitespace.
-
-2008-03-03 15:56 king
-
- * Modules/Use_wxWindows.cmake: STYLE: Remove trailing whitespace.
-
-2008-03-03 11:57 king
-
- * Modules/VTKCompatibility.cmake: STYLE: Remove trailing
- whitespace.
-
-2008-03-03 11:28 hoffman
-
- * Source/cmAddCustomTargetCommand.cxx: ENH: fix ICE with gcc in
- dash8
-
-2008-03-03 11:18 king
-
- * Modules/CMakeForceCompiler.cmake: STYLE: Fixed docs of new
- CMakeForceCompiler
-
-2008-03-03 11:16 king
-
- * Modules/CMakeForceCompiler.cmake: ENH: Restore
- CMAKE_FORCE_C_COMPILER and CMAKE_FORCE_CXX_COMPILER macros in
- CMakeForceCompiler module.
-
-2008-03-03 08:48 king
-
- * Source/cmELF.cxx: COMP: Fix cmELF to build when ET_LOOS, ET_HIOS,
- ET_LOPROC, ET_HIPROC may not be defined.
-
-2008-03-03 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-02 16:48 king
-
- * Source/cmInstallTargetGenerator.cxx: ENH: During installation do
- not use builtin chrpath if the rpath will not change.
-
-2008-03-02 16:37 king
-
- * Source/cmTarget.cxx: ENH: Allow users to work around problems
- with the builtin chrpath by setting CMAKE_NO_BUILTIN_CHRPATH.
-
-2008-03-02 16:31 king
-
- * Source/cmELF.cxx: BUG: Fix bug introduced by workaround to
- warning.
-
-2008-03-02 16:19 king
-
- * Source/: cmELF.cxx, cmELF.h: BUG: A few more corrections for
- cmELF
-
- - Add os-specific and processor-specific file types
- - Add more error strings for invalid files.
- - Byte order of header fields does not always match encoding
-
-2008-03-02 16:19 king
-
- * Source/cmSystemTools.cxx: ENH: In cmSystemTools::ChangeRPath
- check for the RUNPATH if RPATH does not exist.
-
-2008-03-02 14:35 king
-
- * Source/: cmComputeLinkInformation.cxx, cmFileCommand.cxx,
- cmInstallTargetGenerator.cxx, cmLocalGenerator.cxx,
- cmSystemTools.cxx, cmSystemTools.h, cmTarget.cxx: ENH: Cleanup
- builtin chrpath support
-
- - Move computation of extended build-tree rpath
- to cmComputeLinkInformation
- - Only enable the extended build-tree rpath if
- the target will be installed
- - Generalize the interface of file(CHRPATH)
- - When changing the rpath on installation only
- replace the part generated by CMake because
- the native tools (ex SunCC on Linux) might have
- added their own part to the rpath
-
-2008-03-02 14:35 king
-
- * CMakeLists.txt: ENH: Simplify tests for building CMake itself
- with rpath support now that 2.4 is required to build.
-
-2008-03-02 09:12 martink
-
- * Source/cmPolicies.h: COMP: possible fix for VS6, but probably
- not, probably need tomake it internal
-
-2008-03-02 09:11 martink
-
- * Source/cmMakefile.cxx: COMP: fix warning
-
-2008-03-02 09:03 martink
-
- * Source/: cmPolicies.cxx, cmPolicies.h: ENH: revert dumb change
-
-2008-03-02 08:36 martink
-
- * Source/: cmAddCustomTargetCommand.cxx, cmPolicies.cxx,
- cmPolicies.h: COMP: fix compile errors on vs6 and a warning
-
-2008-03-02 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-03-01 16:21 martink
-
- * Source/cmMakefile.cxx: BUG: bad loop index unsigned compared to
- zero
-
-2008-03-01 15:44 martink
-
- * Source/: cmAddCustomTargetCommand.cxx, cmMakefile.cxx: COMP: fix
- some warnings
-
-2008-03-01 15:26 martink
-
- * Source/: cmPolicies.cxx, cmPolicies.h: STYLE: fix some line
- lengths
-
-2008-03-01 15:20 martink
-
- * CMakeLists.txt, bootstrap, Source/CMakeLists.txt,
- Source/cmAddCustomTargetCommand.cxx,
- Source/cmBootstrapCommands.cxx, Source/cmCommand.h,
- Source/cmIncludeDirectoryCommand.cxx, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmake.cxx, Source/cmake.h: ENH: add
- first cut and policies still need to add the doc support
-
-2008-03-01 15:16 king
-
- * Source/cmSystemTools.cxx: COMP: Fix unused parameter warning when
- cmSystemTools::ChangeRPath is built without ELF support.
-
-2008-03-01 13:17 king
-
- * Source/cmSystemTools.cxx: BUG: Fix cmSystemTools::ChangeRPath to
- not complain if there is no RPATH entry in the file but the
- requested new rpath is empty.
-
-2008-03-01 13:02 king
-
- * Source/cmTarget.cxx: BUG: Do not try to change the RPATH when
- installing a target if CMAKE_SKIP_RPATH is on or the path does
- not need to be changed.
-
-2008-03-01 12:51 king
-
- * Modules/CMakeFindBinUtils.cmake,
- Source/cmComputeLinkInformation.cxx,
- Source/cmComputeLinkInformation.h, Source/cmFileCommand.cxx,
- Source/cmFileCommand.h, Source/cmInstallTargetGenerator.cxx,
- Source/cmSystemTools.cxx, Source/cmSystemTools.h,
- Source/cmTarget.cxx, Source/cmTarget.h: ENH: Use builtin chrpath
- instead of relinking ELF targets
-
- - Add cmSystemTools::ChangeRPath method
- - Add undocumented file(CHRPATH) command
- - When installing use file(CHRPATH) to change the rpath
- instead of relinking
- - Remove CMAKE_CHRPATH lookup from CMakeFindBinUtils
- - Remove CMAKE_USE_CHRPATH option since this should
- always work
-
-2008-03-01 12:50 king
-
- * Source/: cmELF.cxx, cmELF.h: ENH: Add Size member to
- cmELF::StringEntry to return the amount of space in the string
- entry.
-
-2008-03-01 10:56 king
-
- * Tests/Preprocess/CMakeLists.txt: BUG: Fix typo XCode -> Xcode in
- Preprocess test.
-
-2008-03-01 09:08 king
-
- * Tests/Preprocess/CMakeLists.txt: ENH: Update Preprocess test to
- distinguish between the make tool or compiler tool that is at
- fault for not supporting a particular character in definitions.
- Make it skip the % character when the compiler is MSVC and it is
- a non-nmake tool.
-
-2008-03-01 09:08 king
-
- * Modules/Platform/Windows-cl.cmake, Source/cmLocalGenerator.cxx:
- BUG: Do not place $(CMAKE_COMMAND) in link scripts.
-
-2008-03-01 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-29 21:33 hoffman
-
- * Source/: cmIfCommand.cxx, cmWhileCommand.cxx: ENH: fix warnings
-
-2008-02-29 21:33 hoffman
-
- * Source/cmSetSourceFilesPropertiesCommand.h: ENH: fix docs
-
-2008-02-29 15:42 martink
-
- * Source/cmCMakePolicyCommand.cxx: ENH: just getting somethng
- checked in, still work to do
-
-2008-02-29 15:41 martink
-
- * Source/cmCmakePolicyCOmmand.cxx: ENH: case
-
-2008-02-29 15:28 martink
-
- * Source/: cmCMakePolicyCommand.h, cmCmakePolicyCOmmand.cxx,
- cmPolicies.cxx, cmPolicies.h: ENH: just getting somethng checked
- in, still work to do
-
-2008-02-29 14:58 hoffman
-
- * Modules/DartConfiguration.tcl.in,
- Source/CTest/cmCTestSubmitHandler.cxx,
- Source/CTest/cmCTestSubmitHandler.h: ENH: allow cdash not to
- trigger
-
-2008-02-29 14:36 hoffman
-
- * Modules/InstallRequiredSystemLibraries.cmake: ENH: add vs9 stuff,
- still need msvc9 mfc
-
-2008-02-29 12:18 hoffman
-
- * Source/: cmForEachCommand.cxx, cmFunctionCommand.cxx,
- cmIfCommand.cxx, cmMacroCommand.cxx, cmMakefile.cxx,
- cmWhileCommand.cxx: ENH: make CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS
- the default and remove the property. If any value is specified
- in an endif, endforeach, endwhile, etc then make sure it matches
- the start string. If no values are given then it is no longer an
- error.
-
-2008-02-29 11:12 king
-
- * Source/: cmELF.cxx, cmELF.h: ENH: Make cmELF parser more general
- and powerful
-
- - Add support to get RPATH and RUNPATH entries.
- - Add support to get file offsets to strings.
- - Add more DT_* tags to byte swapping.
-
-2008-02-29 09:15 king
-
- * Source/cmComputeLinkInformation.cxx: BUG:
- cmComputeLinkInformation::CheckImplicitDirItem needs to extract
- the filename portion of the link item to test against the library
- regex.
-
-2008-02-29 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-28 08:43 king
-
- * Source/cmELF.cxx: COMP: cmELF needs to include sys/link.h to get
- dynamic section structures on the Sun.
-
-2008-02-28 08:32 king
-
- * Source/cmELF.cxx: COMP: Fix warnings in cmELF.
-
-2008-02-28 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-27 17:10 king
-
- * Modules/Platform/Windows-ifort.cmake, Modules/Platform/cl.cmake,
- Source/cmDocumentVariables.cxx,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.h: ENH: Handle large object file
- lists on some platforms
-
- - Use a response file when enabled by
- CMAKE_<LANG>_USE_RESPONSE_FILE_FOR_OBJECTS
- - Enable for C and CXX with cl (MSVC)
- - Enable for Fortran with ifort (Intel Fortran)
-
-2008-02-27 16:26 king
-
- * Source/: CMakeLists.txt, cmConfigure.cmake.h.in, cmELF.cxx,
- cmELF.h, cmSystemTools.cxx: ENH: Add ELF file parsing
-
- - Enabled when system provides elf.h
- - Introduce cmELF class to parse ELF files
- - Use in cmSystemTools::GuessLibrarySOName to really get soname
-
-2008-02-27 16:11 king
-
- * Source/kwsys/CPU.h.in: BUG: Fixed typo in previous commit of
- kwsys/CPU.h.in
-
-2008-02-27 16:07 king
-
- * Source/kwsys/: CMakeLists.txt, CPU.h.in: ENH: Added CPU.h to
- KWSys to identify the target CPU and its byte order.
-
-2008-02-27 14:31 king
-
- * Modules/Platform/: HP-UX.cmake, IRIX64.cmake, Linux-PGI-C.cmake,
- Linux-PGI-CXX.cmake, SunOS.cmake, Windows-bcc32.cmake, gcc.cmake:
- BUG: Apply patch from bug#6445. Add preprocessor definitions to
- assembly and preprocessing build rules.
-
-2008-02-27 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-26 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-25 18:47 king
-
- * Modules/CMakeCCompilerId.c.in: ENH: Add support to C compiler
- identification for void return type from main. Cross-compilers
- for embedded platforms may require it.
-
-2008-02-25 15:07 clinton
-
- * Source/QtDialog/CMakeSetupDialog.cxx:
- ENH: Adjust when log is cleared. Its kept doing generate,
- and cleared when changing the source directory. #6358.
-
-2008-02-25 14:23 alex
-
- * Modules/CPackRPM.cmake: BUG: fix rpmbuild bug, which expands
- variables in comments :-/ apparently rpmbuild can't handle paths
- with spaces and can't handle variables in comments...
-
- Alex
-
-2008-02-25 10:17 david.cole
-
- * CTestCustom.cmake.in: BUG: Exclude try_compile sources and kwsys
- files from CMake coverage results.
-
-2008-02-25 09:23 king
-
- * Modules/: CMakeCCompilerId.c, CMakeCCompilerId.c.in,
- CMakeCXXCompilerId.cpp, CMakeCXXCompilerId.cpp.in,
- CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake,
- CMakeDetermineCompilerId.cmake,
- CMakeDetermineFortranCompiler.cmake, CMakeFortranCompilerId.F90,
- CMakeFortranCompilerId.F90.in, CMakePlatformId.h,
- CMakePlatformId.h.in: ENH: Improvied compiler identification
- robustness
-
- - Write a single source file into the compiler id directory
- - This avoid requiring the compiler to behave correctly with
- respect to include rules and the current working directory
- - Helps to identify cross-compiling toolchains with unusual
- default behavior
-
-2008-02-25 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-24 14:05 king
-
- * Modules/Platform/Windows-bcc32.cmake,
- Source/cmMakefileTargetGenerator.cxx: ENH: Simplify make build
- rule generation by removing use of OBJECTS_QUOTED and
- TARGET_QUOTED rule variables and updating the generation of
- OBJECTS to always use the newer cmLocalGenerator::Convert method.
-
-2008-02-24 14:05 king
-
- * Source/: cmComputeLinkDepends.cxx, cmExportFileGenerator.cxx,
- cmStandardIncludes.h, cmTarget.cxx: COMP: Fix Borland 5.5 build
-
- - Its <iosfwd> header includes windows.h which
- defines GetCurrentDirectory
- - It defines 'interface' so we cannot use it as
- a variable name.
-
-2008-02-24 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-23 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-22 09:44 king
-
- * Source/cmOrderDirectories.cxx: COMP: Fix unreachable code warning
- in cmOrderDirectories.
-
-2008-02-22 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-21 13:59 king
-
- * Source/cmOrderDirectories.cxx: COMP: Remove unused local variable
- from cmOrderDirectories.
-
-2008-02-21 13:58 king
-
- * Source/: cmComputeLinkInformation.cxx, cmOrderDirectories.cxx,
- cmSystemTools.cxx, cmSystemTools.h: ENH: Improve linking to
- third-party shared libraries on soname platforms
-
- - Reduce false positives in cases of unknown soname
- - Make library extension regular expressions match only at end
- of string
- - When linking to libraries in implicit dirs convert to the -l
- option
- only if the file name is one that can be found by the linker
- (ex. /usr/lib/libfoo.so.1 should be linked by full path)
- - Add cmSystemTools::GuessLibrarySOName to guess the soname of
- a
- library based on presence of a symlink
- - In cmComputeLinkInformation try to guess an soname before
- assuming
- that a third-party library is built without an soname
- - In cmOrderDirectories guess the soname of shared libraries in
- cases
- it is otherwise unknown
-
-2008-02-21 11:41 king
-
- * bootstrap, Modules/Platform/FreeBSD.cmake,
- Modules/Platform/HP-UX.cmake, Modules/Platform/Linux.cmake,
- Modules/Platform/QNX.cmake, Modules/Platform/SunOS.cmake,
- Source/CMakeLists.txt, Source/cmComputeLinkInformation.cxx,
- Source/cmComputeLinkInformation.h, Source/cmOrderDirectories.cxx,
- Source/cmOrderDirectories.h,
- Source/cmOrderRuntimeDirectories.cxx,
- Source/cmOrderRuntimeDirectories.h, Source/cmTarget.cxx,
- Source/cmTarget.h: ENH: Better linker search path computation.
-
- - Use linker search path -L.. -lfoo for lib w/out soname
- when platform sets CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME
- - Rename cmOrderRuntimeDirectories to cmOrderDirectories
- and generalize it for both soname constraints and link
- library constraints
- - Use cmOrderDirectories to order -L directories based
- on all needed constraints
- - Avoid processing implicit link directories
- - For CMAKE_OLD_LINK_PATHS add constraints from libs
- producing them to produce old ordering
-
-2008-02-21 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-20 14:56 king
-
- * Source/: cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h: BUG:
- Link scripts should be generated with copy-if-different and
- included as a dependency of the link rule.
-
-2008-02-20 13:36 king
-
- * Source/: cmExportLibraryDependencies.cxx,
- cmExportLibraryDependencies.h: ENH: Deprecate
- export_library_dependencies
-
- - Reference export() and install(EXPORT)
- - Fix to support OUTPUT_NAME in simple cases
-
-2008-02-20 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-19 18:50 ibanez
-
- * Source/kwsys/testSystemInformation.cxx: ENH: Missing copyright
- header.
-
-2008-02-19 16:34 alex
-
- * Source/cmExtraEclipseCDT4Generator.cxx: STYLE: patch part 3 from
- Miguel: follow naming style for variables
-
- Alex
-
-2008-02-19 16:27 alex
-
- * Source/: cmExtraEclipseCDT4Generator.cxx,
- cmExtraEclipseCDT4Generator.h: ENH: patch from Miguel part 2: if
- ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT is true, then the generator
- additionally generates eclipse project files in the source dir,
- since this is the only way to get cvs/svn working with eclipse
-
- This is off by default and the user has to enable it explicitely.
- If cmake can't write there it still continues.
-
- Alex
-
-2008-02-19 15:07 alex
-
- * Source/: cmExtraEclipseCDT4Generator.cxx,
- cmExtraEclipseCDT4Generator.h: ENH: patch part 1 from Miguel: use
- the cmake project name for the eclipse project name
-
- Alex
-
-2008-02-19 14:47 hoffman
-
- * Source/QtDialog/MacInstallDialog.ui: ENH: better ui
-
-2008-02-19 14:33 alex
-
- * Source/: CMakeLists.txt, cmDocumentation.cxx, cmDocumentation.h,
- cmDocumentationFormatter.h, cmDocumentationFormatterDocbook.cxx,
- cmDocumentationFormatterDocbook.h,
- cmDocumentationFormatterHTML.cxx, cmakemain.cxx: ENH: add support
- for creating the documentation in docbook format
- (http://www.oasis-open.org/docbook/xml/4.2/), which users can
- then convert to other formats. Tested with meinproc from KDE,
- which generates HTML pages which look good.
-
- Alex
-
-2008-02-19 14:26 hoffman
-
- * Source/: CPack/cmCPackPackageMakerGenerator.cxx,
- CPack/cmCPackPackageMakerGenerator.h, QtDialog/CMakeLists.txt,
- QtDialog/QtDialogCPack.cmake.in, QtDialog/postflight.sh.in,
- QtDialog/postupgrade.sh.in: ENH: install working with symlink qt
- tool
-
-2008-02-19 14:06 hoffman
-
- * Source/QtDialog/: CMakeLists.txt, CMakeSetup.cxx,
- MacInstallDialog.ui, QMacInstallDialog.cxx, QMacInstallDialog.h:
- ENH: add mac install symlink option to dialog
-
-2008-02-19 09:09 king
-
- * Source/cmTarget.cxx: COMP: Fix HP warning about
- cmTargetInternalPointer::operator= checking for self-assignment.
-
-2008-02-19 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-18 16:38 king
-
- * Source/: cmGlobalXCodeGenerator.cxx,
- cmLocalUnixMakefileGenerator3.cxx,
- cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileExecutableTargetGenerator.h,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.h,
- cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h,
- cmMakefileUtilityTargetGenerator.cxx,
- cmMakefileUtilityTargetGenerator.h, cmSourceFile.cxx,
- cmTarget.cxx, cmTarget.h: ENH: Cleanup impl of PUBLIC_HEADER,
- PRIVATE_HEADER, and RESOURCE properties
-
-2008-02-18 15:50 hoffman
-
- * CMakeCPackOptions.cmake.in, CMakeLists.txt: ENH: install seems to
- be working for cmake-gui
-
-2008-02-18 15:42 hoffman
-
- * Source/cmFileCommand.cxx: ENH: add more information to message
-
-2008-02-18 14:51 hoffman
-
- * Source/QtDialog/CMakeIngestOSXBundleLibraries.cmake: ENH: make
- sure fixup has right paths
-
-2008-02-18 13:11 hoffman
-
- * Source/QtDialog/CMakeIngestOSXBundleLibraries.cmake: STYLE: use
- lowercase
-
-2008-02-18 13:03 hoffman
-
- * Source/: cmConfigure.cmake.h.in, cmake.cxx: ENH: remove
- CMAKE_PREFIX so changing it does not rebuild all
-
-2008-02-18 12:01 king
-
- * Modules/Platform/HP-UX.cmake: BUG: Fix passing of nodefaultrpath
- flag to linker through c++ compiler.
-
-2008-02-18 11:10 hoffman
-
- * CMakeLists.txt: ENH: require 2.4 to build cmake
-
-2008-02-18 10:26 hoffman
-
- * Modules/CMakeIngestOSXBundleLibraries.cmake,
- Source/CPack/cmCPackGenerator.cxx,
- Source/QtDialog/CMakeIngestOSXBundleLibraries.cmake,
- Source/QtDialog/CMakeLists.txt: ENH: have cpack work with DESTDIR
- install and ingest qt framework libs into cmake-gui
-
-2008-02-18 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-17 17:40 hoffman
-
- * Modules/CheckIncludeFiles.cmake: BUG: fix double cmakefiles
- directory
-
-2008-02-17 14:04 alex
-
- * Source/cmDocumentation.cxx: BUG: actually print the docs for
- custom modules if this was requested
-
- Alex
-
-2008-02-17 12:31 alex
-
- * Source/cmDocumentationFormatterHTML.cxx: PERF: reduce time for
- full docs as HTML from 1.4 s to 0.2 s, the map is now created and
- filled only once instead for every character I guess a simple
- case-switch would be still faster.
-
- Alex
-
-2008-02-17 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-16 16:33 hoffman
-
- * Modules/CMakeIngestOSXBundleLibraries.cmake: ENH: add script to
- ingest library depends into a bundle
-
-2008-02-16 13:05 hoffman
-
- * CMakeLists.txt, bootstrap, Source/cmBootstrapCommands.cxx,
- Source/cmCommands.cxx, Source/cmInstallProgramsCommand.cxx,
- Source/QtDialog/CMakeLists.txt, Source/QtDialog/QCMake.cxx,
- Source/QtDialog/QtDialogCPack.cmake.in: ENH: support for cpack
- and install of cmake-gui as mac app bundle
-
-2008-02-16 13:02 hoffman
-
- * Source/CPack/cmCPackGenerator.cxx: ENH: fix DESTDIR install
-
-2008-02-16 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-15 18:26 alex
-
- * Modules/FindPythonLibs.cmake: STYLE: use global property instead
- of helper target to collect all python modules from a source tree
-
- Alex
-
-2008-02-15 15:36 clinton
-
- * Source/QtDialog/QCMake.cxx: ENH: remove unused code.
-
-2008-02-15 12:12 hoffman
-
- * Source/QtDialog/QCMake.cxx: ENH: use package name on mac for edit
- cache
-
-2008-02-15 11:56 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Apply patch from
- bug #6180 to make CMAKE_ADDITIONAL_MAKE_CLEAN_FILES work for
- directories.
-
-2008-02-15 11:49 david.cole
-
- * Source/cmCallVisualStudioMacro.cxx,
- Source/cmGlobalVisualStudio71Generator.cxx,
- Source/cmGlobalVisualStudio71Generator.h,
- Source/cmGlobalVisualStudio8Generator.cxx,
- Source/cmGlobalVisualStudio8Generator.h,
- Source/cmGlobalVisualStudio9Generator.cxx,
- Source/cmGlobalVisualStudio9Generator.h,
- Source/cmGlobalVisualStudioGenerator.cxx,
- Source/cmGlobalVisualStudioGenerator.h,
- Templates/CMakeVSMacros2.vsmacros: ENH: Add code to support
- calling the VS reload macro from Visual Studio 7.1 and 9.0 in
- addition to 8.0 sp1... Make new macros file with VS 7.1 so that
- it can be read by 7.1 and later. VS 7.1 does not appear to run
- the macros while a build is in progress, but does not return any
- errors either, so for now, the reload macro is not called when
- using 7.1. If I can figure out how to get 7.1 to execute the
- macro, I will uncomment the code in
- cmGlobalVisualStudio71Generator::GetUserMacrosDirectory() to
- activate executing the macros in VS 7.1, too.
-
-2008-02-15 11:22 king
-
- * Modules/Platform/Darwin.cmake,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.h,
- Source/cmSetPropertyCommand.cxx,
- Source/cmSetSourceFilesPropertiesCommand.cxx,
- Source/cmSourceFile.cxx: ENH: Cleanup building of OS X bundle
- content
-
- - Fixes repeated rebuild of bundles by Makefile generators
- - Add special rules to copy sources to their
- MACOSX_PACKAGE_LOCATION bundle directory
- - Remove MacOSX_Content language hack
- - Remove EXTRA_CONTENT property
- - Remove MACOSX_CONTENT
- - Remove corresponding special cases in object names
-
-2008-02-15 10:40 hoffman
-
- * Source/CPack/cmCPackNSISGenerator.cxx: BUG: fix for bug 6294,
- correct url for nsis
-
-2008-02-15 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-14 20:18 alex
-
- * Source/cmExtraEclipseCDT4Generator.cxx: ENH: enable color in the
- eclipse generator, there doesn't seem to be problems
-
- Alex
-
-2008-02-14 19:58 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, QCMakeCacheView.cxx,
- QCMakeCacheView.h:
- ENH: Convert native paths from QFileDialog and
- QDirModel/QCompleter. BUG: Block possible completion loop.
-
-2008-02-14 18:18 clinton
-
- * Source/QtDialog/: CMakeSetup.cxx, CMakeSetupDialog.cxx,
- CMakeSetupDialog.h, QCMake.cxx, QCMakeCacheView.cxx:
- ENH: Add shortcut to start search/filter. A bit of
- cleanup. Disable tab navigation in cache variable list.
- Enable home/end keys.
-
- BUG: Ensure currently edited values are saved before doing
- configure.
-
-2008-02-14 16:42 king
-
- * Source/: cmAddCustomTargetCommand.cxx, cmGlobalGenerator.cxx,
- cmGlobalGenerator.h, cmGlobalUnixMakefileGenerator3.h,
- cmMakefile.cxx, cmMakefile.h, cmake.cxx: ENH: Add global property
- ALLOW_DUPLICATE_CUSTOM_TARGETS to help existing projects that
- depend on having duplicate custom targets. It is allowed only
- for Makefile generators. See bug#6348.
-
-2008-02-14 15:31 king
-
- * Modules/MacOSXBundleInfo.plist.in,
- Modules/MacOSXFrameworkInfo.plist.in,
- Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmTarget.cxx:
- ENH: Allow multiple OS X applications bundles to be created in a
- single build directory. Converted Info.plist files to be
- generated directly instead of configured with make variables.
- The MACOSX_BUNDLE_* variables are now properties (and vars for
- compatibility).
-
-2008-02-14 15:06 hoffman
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h: ENH:
- make sure html < > & stuff is escaped for the output window
-
-2008-02-14 13:36 king
-
- * Modules/CTestTargets.cmake, Source/cmDefinePropertyCommand.cxx,
- Source/cmDefinePropertyCommand.h,
- Tests/Complex/Library/CMakeLists.txt,
- Tests/ComplexOneConfig/Library/CMakeLists.txt,
- Tests/ComplexRelativePaths/Library/CMakeLists.txt,
- Tests/Properties/CMakeLists.txt: ENH: Updated DEFINE_PROPERTY
- command to be more extendible and more consistent with new
- SET_PROPERTY and GET_PROPERTY signatures.
-
-2008-02-14 11:58 king
-
- * Modules/CTestTargets.cmake, Source/cmBootstrapCommands.cxx,
- Source/cmCommands.cxx, Source/cmMakefile.cxx: ENH: Re-enable
- diagnosis of non-unique target names.
-
- - Re-enable enforcement in cmMakefile::EnforceUniqueName
- - Improve error message to help user resolve the problem
- - Fix Modules/CTestTargets.cmake to not duplicate testing
- targets
- - Move commands used by the changes to
- Modules/CTestTargets.cmake
- to build during bootstrap: DEFINE_PROPERTY, GET_PROPERTY
-
-2008-02-14 10:50 king
-
- * Modules/: CMakeForceCompiler.cmake, CMakeTestCCompiler.cmake,
- CMakeTestCXXCompiler.cmake: ENH: Remove unnecessary compiler
- force macros. The compiler ID can now be detected without
- linking an executable.
-
-2008-02-14 09:14 hoffman
-
- * Source/QtDialog/CMakeSetupDialog.cxx: ENH: add a check before
- delete cache
-
-2008-02-14 08:55 hoffman
-
- * Source/QtDialog/QCMake.cxx: ENH: do not show unititialized
- entries
-
-2008-02-14 01:11 clinton
-
- * Modules/FindQt4.cmake:
- BUG: Fix error when paths have + in them. (special regex
- characters)
-
-2008-02-14 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-13 17:00 barre
-
- * Modules/FindTCL.cmake: ENH: fix advanced bug
-
-2008-02-13 15:29 king
-
- * Source/: cmComputeLinkDepends.cxx, cmComputeLinkDepends.h: BUG:
- Update cmComputeLinkDepends to support leading/trailing
- whitespace stripping off link items for compatibility.
-
-2008-02-13 14:47 king
-
- * bootstrap, Source/cmBootstrapCommands.cxx, Source/cmCommands.cxx:
- ENH: Add option to bootstrap script to enable Qt dialog.
-
- - Add --qt-gui and --no-qt-gui options
- - Add --qt-qmake=<qmake> option to help locate Qt
- - Build more commands during bootstrap to help FindQt4.cmake:
- MATH, GET_DIRECTORY_PROPERTY, EXECUTE_PROCESS,
- SEPARATE_ARGUMENTS
- - Bootstrapping with the cmake-gui is now possible in MSys
-
-2008-02-13 14:35 king
-
- * Modules/FindQt4.cmake: BUG: Fix FindQt4.cmake
- QT4_CREATE_MOC_COMMAND macro to work with spaces in the path
- while using the @ syntax on MSYS builds.
-
-2008-02-13 13:58 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, QCMakeCacheView.cxx:
- ENH: Remove CurrentChanged from the table view's edit triggers.
- It results in editor issues when modifying the view.
- Remove workarounds for some of those issues.
-
-2008-02-13 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-12 17:22 hoffman
-
- * Source/QtDialog/CMakeLists.txt: ENH: do not expand regular vars
- here
-
-2008-02-12 10:19 king
-
- * Source/cmMakefile.cxx: BUG: Disable enforcement of unique target
- names until CTestTargets can be fixed.
-
-2008-02-12 09:49 hoffman
-
- * Source/: cmake.cxx, cmake.h, CursesDialog/cmCursesMainForm.cxx,
- QtDialog/CMakeSetup.cxx, QtDialog/QCMake.cxx: ENH: fix make
- edit_cache for cmake-gui
-
-2008-02-12 09:18 king
-
- * Source/cmExportLibraryDependencies.cxx: STYLE: Fix line-too-long
- in cmExportLibraryDependencies.
-
-2008-02-12 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-11 20:13 king
-
- * Source/cmDocumentVariables.cxx: ENH: Update documentation of
- EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH to reference their
- replacements.
-
-2008-02-11 17:33 king
-
- * Source/: cmAddCustomTargetCommand.cxx,
- cmAddExecutableCommand.cxx, cmAddLibraryCommand.cxx: COMP: Fix
- shadowed local variable warning.
-
-2008-02-11 17:01 king
-
- * Modules/Platform/eCos.cmake: ENH: Fix eCos.cmake to not require a
- forced compiler
-
- - Search for libtarget.a explicitly
- - Do not complain about compiler id during try-compile
-
-2008-02-11 17:00 king
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake,
- CMakeDetermineFortranCompiler.cmake: ENH: When detecting the
- compiler id try compiling only to an object file.
-
-2008-02-11 17:00 king
-
- * Source/cmFindLibraryCommand.cxx: BUG: FIND_LIBRARY should not
- require CMAKE_SIZEOF_VOID_P to be set.
-
-2008-02-11 17:00 king
-
- * Source/cmake.cxx: ENH: Add global computed property
- IN_TRY_COMPILE.
-
-2008-02-11 15:31 king
-
- * Modules/Platform/HP-UX.cmake: ENH: Remove CMAKE_ANSI_CFLAGS
- variable and instead always add ansi flags to
- CMAKE_C_COMPILE_OBJECT. We should not require every project to
- reference CMAKE_ANSI_CFLAGS.
-
-2008-02-11 13:35 king
-
- * Source/: cmAddCustomTargetCommand.cxx,
- cmAddExecutableCommand.cxx, cmAddExecutableCommand.h,
- cmAddLibraryCommand.cxx, cmAddLibraryCommand.h, cmMakefile.cxx,
- cmMakefile.h, cmTarget.cxx: ENH: Enforce global target name
- uniqueness.
-
- - Error if imported target is involved in conflict
- - Error for non-imported target conflict unless
- CMAKE_BACKWARDS_COMPATIBILITY <= 2.4
- - Include OUTPUT_NAME property in error message
- - Update add_executable and add_library command documentation
-
-2008-02-11 13:35 king
-
- * Source/: cmMakefile.cxx, cmMakefile.h: ENH: Add
- cmMakefile::NeedBackwardsCompatibility method to pass through to
- cmLocalGenerator::NeedBackwardsCompatibility for convenience.
-
-2008-02-11 10:31 king
-
- * Source/cmExportLibraryDependencies.cxx: BUG: Fix
- export_library_dependencies command to produce a file that is
- compatible with CMake 2.4.
-
-2008-02-11 10:31 king
-
- * Source/cmComputeLinkDepends.cxx: BUG: Fix
- cmComputeLinkDepends::AddVarLinkEntries
-
- - Track link type correctly
- - Use _LINK_TYPE variables exported by CMake 2.4
-
-2008-02-11 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-10 17:19 alex
-
- * Source/cmIfCommand.h: STYLE: document that if(COMMAND) works also
- for macros and functions
-
- Alex
-
-2008-02-10 11:37 king
-
- * Source/cmFindLibraryCommand.cxx: BUG: Fix recent find_library
- change to look for user-specified name first to do so only if the
- name matches a valid library extension.
-
-2008-02-10 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-09 10:05 hoffman
-
- * Utilities/Release/vogon_release.cmake: ENH: build the qt gui
-
-2008-02-09 09:53 hoffman
-
- * CMakeCPack.cmake, CMakeCPackOptions.cmake.in,
- Source/QtDialog/CMakeLists.txt,
- Source/QtDialog/QtDialogCPack.cmake.in: ENH: make it so cmake-gui
- only installs if qt is static on windows
-
-2008-02-09 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-08 13:47 clinton
-
- * Source/QtDialog/CMakeSetupDialog.cxx: BUG: Make sure editor
- closes when deleting cache entries.
-
-2008-02-08 12:01 clinton
-
- * Modules/FindQt4.cmake: ENH: Better way to have escaping done
- correctly for all generators.
-
-2008-02-08 11:26 clinton
-
- * Source/QtDialog/QCMake.cxx: ENH: Need to pick up the
- PreLoad.cmake files.
-
-2008-02-08 10:42 clinton
-
- * Source/QtDialog/: CMakeSetup.cxx, QCMakeCacheView.cxx: COMP: Fix
- build with Qt 4.2. BUG: Fix new editors stealing focus while
- typing search text. ENH: Look for translation in data dir, not
- bin dir.
-
-2008-02-08 09:24 king
-
- * Tests/Dependency/CMakeLists.txt: BUG: Need ANSI C.
-
-2008-02-08 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-07 23:26 clinton
-
- * Modules/FindQt4.cmake:
- BUG: Fix arg for moc parameter file so it works with unix
- makefiles, when the build dir has a space in it.
-
-2008-02-07 18:24 alex
-
- * Source/cmExtraEclipseCDT4Generator.cxx: patch from Miguel BUG:
- fix #5496: eclipse can't load projects where the build dir is a
- subdir of the src dir
-
- Alex
-
-2008-02-07 17:58 clinton
-
- * Source/QtDialog/: QCMakeCacheView.cxx, QCMakeCacheView.h:
- ENH: Show cache variable name in title of file dialogs.
-
-2008-02-07 16:49 king
-
- * Source/: cmGlobalXCodeGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx, cmTarget.cxx: ENH: Avoid
- computing link information for static library targets. They do
- not link.
-
-2008-02-07 16:26 alex
-
- * Source/cmExtraEclipseCDT4Generator.cxx: two patches from Miguel:
- BUG: fix #5819: put compile definitions into the eclipse project
- files so eclipse handles ifdef blcoks correctly STYLE: make the
- code for filtering some global targets out nicer
-
- Alex
-
-2008-02-07 16:24 king
-
- * Source/cmComputeLinkDepends.cxx: COMP: Add missing assert
- include.
-
-2008-02-07 16:22 alex
-
- * Source/cmInstallCommand.cxx: STYLE: add some comments
-
- Alex
-
-2008-02-07 16:14 king
-
- * Tests/Dependency/Case2/: CMakeLists.txt, foo1.c, foo1b.c,
- foo2b.c, foo3.c, foo3b.c: ENH: Make Dependency test Case2 require
- two traversals of a static library loop.
-
-2008-02-07 16:14 king
-
- * bootstrap, Source/CMakeLists.txt,
- Source/cmComputeComponentGraph.cxx,
- Source/cmComputeComponentGraph.h,
- Source/cmComputeLinkDepends.cxx, Source/cmComputeLinkDepends.h,
- Source/cmComputeTargetDepends.cxx,
- Source/cmComputeTargetDepends.h, Source/cmGraphAdjacencyList.h:
- ENH: Improve link line generation for static library cycles.
-
- - Move Tarjan algorithm from cmComputeTargetDepends
- into its own class cmComputeComponentGraph
- - Use cmComputeComponentGraph to identify the component DAG
- of link dependencies in cmComputeLinkDepends
- - Emit non-trivial component members more than once but always
- in a contiguous group on the link line
-
-2008-02-07 13:26 hoffman
-
- * Source/: cmFileCommand.cxx, cmFileCommand.h: ENH: make sure files
- are binary for download and make status a pair of value string
-
-2008-02-07 13:19 hoffman
-
- * Modules/FindPkgConfig.cmake: BUG: fix for bug 6117 pkgconfig
-
-2008-02-07 11:43 hoffman
-
- * CMakeCPackOptions.cmake.in, Source/QtDialog/CMakeLists.txt: ENH:
- for windows only allow a static qt for install and NSIS of
- cmake-gui
-
-2008-02-07 08:55 hoffman
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt: ENH: complex must
- link to curl now
-
-2008-02-07 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-06 20:14 king
-
- * Source/cmComputeLinkInformation.cxx: BUG: Fix
- cmComputeLinkInformation to include the target's user link
- directories in the runtime path computation. This bug was
- introduced when cmOrderRuntimeDirectories was introduced.
-
-2008-02-06 17:02 alex
-
- * Modules/FindPackageHandleStandardArgs.cmake: STYLE: use a
- function instead of a macro, to keep FAIL_MESSAGE local patch
- from Miguel
-
- Alex
-
-2008-02-06 15:26 king
-
- * Source/cmFindLibraryCommand.cxx: ENH: Make find_library test for
- the library file as named before trying prefixes and suffixes.
- This will allow users to explicitly search for static libraries
- on unix. See bug #1643.
-
-2008-02-06 15:23 king
-
- * Source/cmTargetLinkLibrariesCommand.h: STYLE: Improve
- documentation of target_link_libraries command to make
- target-level dependency explicit. See bug #6043.
-
-2008-02-06 15:10 clinton
-
- * Source/QtDialog/CMakeSetup.cxx: ENH: Update some strings to
- match program name.
-
-2008-02-06 14:52 king
-
- * Tests/: CMakeLists.txt, Dependency/CMakeLists.txt,
- Dependency/Case1/CMakeLists.txt, Dependency/Case1/a.c,
- Dependency/Case1/b.c, Dependency/Case1/b2.c,
- Dependency/Case1/c.c, Dependency/Case1/c2.c,
- Dependency/Case1/d.c, Dependency/Case1/main.c,
- Dependency/Case2/CMakeLists.txt, Dependency/Case2/bar1.c,
- Dependency/Case2/bar2.c, Dependency/Case2/bar3.c,
- Dependency/Case2/foo1.c, Dependency/Case2/foo2.c,
- Dependency/Case2/foo3.c, Dependency/Case2/zot.c: ENH: Combine all
- dependency* tests into one Dependency test. Add more difficult
- test cases.
-
-2008-02-06 14:45 clinton
-
- * Source/QtDialog/CMakeSetup.cxx: BUG: On Mac OS X, give the CMake
- library the correct path to the cmake exectuables. Fixes
- #6286.
-
-2008-02-06 14:20 king
-
- * Source/cmExportBuildFileGenerator.cxx,
- Source/cmExportCommand.cxx,
- Source/cmExportInstallFileGenerator.cxx,
- Source/cmInstallCommand.cxx, Source/cmInstallTargetGenerator.cxx,
- Source/cmInstallTargetGenerator.h,
- Tests/ExportImport/Export/CMakeLists.txt: ENH: Improve
- exporting/importing of targets
-
- - Use real name instead of link for location of versioned
- targets
- - Error when a target is exported multiple times
-
-2008-02-06 14:19 king
-
- * Source/cmTarget.cxx: BUG: Make sure linking to a shared lib on
- windows uses import library and not the new realname.
-
-2008-02-06 14:06 king
-
- * Source/cmTarget.cxx: BUG: Do not create versioned executable
- names on Xcode where they are not supported.
-
-2008-02-06 13:34 king
-
- * Source/: cmComputeLinkInformation.cxx,
- cmComputeLinkInformation.h, cmTarget.cxx, cmTarget.h: ENH: When
- linking to versioned targets whose real file name is known pass
- the real name to the linker instead of the symlink name.
-
-2008-02-06 09:46 hoffman
-
- * Source/cmFileCommand.cxx: ENH: remove debug print stuff
-
-2008-02-06 09:35 hoffman
-
- * Source/: CMakeLists.txt, cmFileCommand.cxx, cmFileCommand.h: ENH:
- add DOWNLOAD option to FILE command
-
-2008-02-06 09:17 hoffman
-
- * Source/QtDialog/CMakeLists.txt: ENH: change name of qt-dialog
-
-2008-02-06 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-05 23:10 king
-
- * bootstrap, Source/CMakeLists.txt,
- Source/cmComputeTargetDepends.cxx,
- Source/cmComputeTargetDepends.h, Source/cmGlobalGenerator.cxx,
- Source/cmGlobalGenerator.h, Source/cmake.cxx: ENH: Analyze
- inter-target dependencies to safely fix cycles
-
- - Cycles may be formed among static libraries
- - Native build system should not have cycles in target deps
- - Create cmComputeTargetDepends to analyze dependencies
- - Identify conneced components and use them to fix deps
- - Diagnose cycles containing non-STATIC targets
- - Add debug mode property GLOBAL_DEPENDS_DEBUG_MODE
- - Use results in cmGlobalGenerator as target direct depends
-
-2008-02-05 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-04 19:00 king
-
- * Source/cmInstallTargetGenerator.cxx: COMP: Add missing include
- for assert.
-
-2008-02-04 17:03 king
-
- * Source/: cmInstallCommand.cxx, cmInstallCommand.h,
- cmInstallCommandArguments.cxx, cmInstallCommandArguments.h,
- cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h: ENH:
- Allow separate installation of shared libs and their links.
-
- - Add NAMELINK_ONLY and NAMELINK_SKIP to INSTALL command
- - Options select a \"namelink\" mode
- - cmInstallTargetGenerator selects files/link based on mode
- - See bug #4419
-
-2008-02-04 16:05 hoffman
-
- * Source/cmGlobalVisualStudio7Generator.cxx: ENH: make sure
- ALL_BUILD only shows up once
-
-2008-02-04 15:22 king
-
- * Modules/Platform/AIX.cmake, Source/cmComputeLinkInformation.cxx,
- Source/cmComputeLinkInformation.h, Source/cmake.cxx: BUG: Added
- TARGET_ARCHIVES_MAY_BE_SHARED_LIBS global property to help
- compute proper rpath information on AIX when shared libraries
- have names like "libfoo.a".
-
-2008-02-04 10:04 king
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake,
- CMakeDetermineFortranCompiler.cmake, CMakeTestCCompiler.cmake,
- CMakeTestCXXCompiler.cmake: BUG: When configuring compiler
- information files into the CMakeFiles directory in the project
- build tree, use IMMEDIATE option for CONFIGURE_FILE explicitly.
- It is needed in case the user sets CMAKE_BACKWARDS_COMPATIBILITY
- to 2.0 or lower.
-
-2008-02-04 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-03 17:24 king
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake,
- CMakeDetermineFortranCompiler.cmake, CMakeForceCompiler.cmake,
- CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake: BUG: When
- forcing the C and CXX compilers do not try to detect the ABI
- information. Cleanup configured language compiler info files by
- always using @ONLY. This addresses bug#6297.
-
-2008-02-03 08:58 king
-
- * Source/kwsys/IOStream.cxx: COMP: Avoid warning in kwsys
- IOStream.cxx when the helper functions are not needed. Define
- one public symbol to avoid complaints from archivers about empty
- object files.
-
-2008-02-03 08:57 king
-
- * Tests/ExportImport/Export/: testExe1.c, testExe1lib.c,
- testLib1.c, testLib2.c: COMP: Convert C function prototypes to
- use (void) instead of ().
-
-2008-02-03 08:57 king
-
- * Source/: cmCTest.cxx, cmCTest.h: BUG: cmCTest::GetConfigType
- should return the string by reference-to-const so that callers
- may use .c_str() safely.
-
-2008-02-03 08:20 king
-
- * Source/kwsys/SystemInformation.cxx: COMP: Fix warning in
- SystemInformation.cxx about possibly incorrect assignment in if
- condition.
-
-2008-02-03 08:14 king
-
- * Source/kwsys/SystemInformation.cxx: COMP: Fix unreachable code
- warning. Remove runtime test of constant information.
-
-2008-02-03 08:07 king
-
- * Source/kwsys/hash_set.hxx.in: COMP: Remove inline keyword from
- forward declaration for VS9.
-
-2008-02-03 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-02 16:18 hoffman
-
- * Source/kwsys/SystemInformation.cxx: ENH: fix infinite loop from
- size_t change
-
-2008-02-02 08:58 king
-
- * Modules/Platform/: NetBSD.cmake, kFreeBSD.cmake: ENH: Enable
- dependent library search paths on more platforms
-
- - NetBSD needs dependent library paths in -rpath-link option.
- - kFreeBSD needs dependent library paths in -rpath-link option.
-
-2008-02-02 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-02-01 16:17 martink
-
- * Tests/CMakeLists.txt: ENH: disable test for vs 70 as devenv
- randomly segfaults when building the sub-project
-
-2008-02-01 16:05 martink
-
- * Source/cmGlobalGenerator.cxx: ENH: really Bill, using Ken's
- checkout, fix output in ctest so clean output in build and test
- is not lost, also display the command lines used
-
-2008-02-01 14:35 king
-
- * Source/cmExportInstallFileGenerator.cxx: BUG: Fixed typo
- resulting in confusing error message from
- cmExportInstallFileGenerator.
-
-2008-02-01 13:52 clinton
-
- * Modules/FindQt4.cmake:
- BUG: When preserving relative paths for moc generated files,
- also consider paths to headers in the build directory.
-
-2008-02-01 13:18 david.cole
-
- * Source/kwsys/CMakeLists.txt: ENH: Merge changes from main tree
- into VTK-5-0 branch. (cvs -q up -j1.135 -j1.136
- Utilities/kwsys/CMakeLists.txt)
-
-2008-02-01 13:08 king
-
- * Source/cmInstallTargetGenerator.cxx, Source/cmTarget.h,
- Tests/ExportImport/Export/CMakeLists.txt: BUG: Remove
- InstallNameFixupPath from cmTarget and cmInstallTargetGenerator.
-
- - Motivation:
- - It depended on the order of installation
- - It supported only a single destination for each target
- - It created directory portions of an install name without
- user request
- - Updated ExportImport test to install targets in an order that
- expoed
- this bug
-
-2008-02-01 12:35 hoffman
-
- * Source/kwsys/SystemInformation.cxx: ENH: fix warnings
-
-2008-02-01 12:02 clinton
-
- * Modules/UseQt4.cmake: ENH: Use new COMPILE_DEFINITIONS_* with
- set_property to add Qt release/debug defines.
-
-2008-02-01 11:48 clinton
-
- * Source/QtDialog/: CMakeSetup.cxx, CMakeSetupDialog.cxx: ENH:
- Show version number in window title.
-
-2008-02-01 11:40 hoffman
-
- * Source/kwsys/SystemInformation.cxx: ENH: fix more warnings
-
-2008-02-01 11:33 hoffman
-
- * Source/kwsys/: SystemInformation.cxx: ENH: fix more warnings
-
-2008-02-01 11:30 hoffman
-
- * Source/kwsys/SystemInformation.cxx: ENH: fix some warnings and 64
- bit build windows
-
-2008-02-01 11:09 hoffman
-
- * Source/kwsys/SystemInformation.cxx: ENH: fix win64 build and a
- warning
-
-2008-02-01 10:41 clinton
-
- * Source/QtDialog/: CMakeSetup.cxx, CMakeSetupDialog.cxx,
- CMakeSetupDialog.h, QCMake.cxx: ENH: Use translation file if it
- exists for the locale. Consolidate some strings.
-
- More responsive interrupting. Prompt user if they try to
- close during
- configure, and allow them to close.
-
-2008-02-01 09:57 king
-
- * Tests/ExportImport/: CMakeLists.txt, Export/CMakeLists.txt: ENH:
- Update ExportImport test to enforce dependent library paths
-
- - Build without rpaths
- - Place implementation libs in separate directories
-
-2008-02-01 09:57 king
-
- * Modules/Platform/: FreeBSD.cmake, HP-UX.cmake, IRIX.cmake,
- IRIX64.cmake, SunOS.cmake: ENH: Enable dependent library search
- paths on more platforms
-
- - HP-UX needs dependent library paths as -L options.
- - IRIX needs dependent library paths as -L options.
- - Sun needs dependent library paths as -L options.
- - FreeBSD needs dependent library paths in -rpath-link option.
-
-2008-02-01 09:36 king
-
- * Tests/CMakeLists.txt: BUG: Fix commit 1.41 of
- Tests/CMakeLists.txt to place fake target before --version flag
- instead of after.
-
-2008-02-01 08:56 king
-
- * bootstrap, Modules/CMakeCInformation.cmake,
- Modules/CMakeCXXInformation.cmake,
- Modules/CMakeFortranInformation.cmake,
- Modules/Platform/Darwin.cmake, Modules/Platform/Linux.cmake,
- Modules/Platform/QNX.cmake, Source/CMakeLists.txt,
- Source/cmComputeLinkDepends.cxx,
- Source/cmComputeLinkInformation.cxx,
- Source/cmComputeLinkInformation.h,
- Source/cmDocumentVariables.cxx,
- Source/cmExportBuildFileGenerator.cxx,
- Source/cmExportBuildFileGenerator.h,
- Source/cmExportFileGenerator.cxx, Source/cmExportFileGenerator.h,
- Source/cmExportInstallFileGenerator.cxx,
- Source/cmExportInstallFileGenerator.h,
- Source/cmLocalGenerator.cxx,
- Source/cmOrderRuntimeDirectories.cxx,
- Source/cmOrderRuntimeDirectories.h, Source/cmTarget.cxx: ENH:
- Pass dependent library search path to linker on some platforms.
-
- - Move runtime path ordering out of cmComputeLinkInformation
- into its own class cmOrderRuntimeDirectories.
- - Create an instance of cmOrderRuntimeDirectories for runtime
- path ordering and another instance for dependent library
- path ordering.
- - Replace CMAKE_DEPENDENT_SHARED_LIBRARY_MODE with explicit
- CMAKE_LINK_DEPENDENT_LIBRARY_FILES boolean.
- - Create CMAKE_LINK_DEPENDENT_LIBRARY_DIRS boolean.
- - Create variables to specify -rpath-link flags:
- CMAKE_SHARED_LIBRARY_RPATH_LINK_<LANG>_FLAG
- CMAKE_EXECUTABLE_RPATH_LINK_<LANG>_FLAG
- - Enable -rpath-link flag on Linux and QNX.
- - Documentation and error message updates
-
-2008-02-01 08:55 king
-
- * Source/cmTarget.cxx: COMP: Fix shadowed local warning.
-
-2008-02-01 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-31 21:33 hoffman
-
- * Source/kwsys/SystemInformation.cxx: ENH: try to fix hp and vs 6,
- again...
-
-2008-01-31 16:38 hoffman
-
- * Source/: CTest/cmCTestUpdateHandler.cxx,
- cmGlobalVisualStudio7Generator.h: STYLE: line length
-
-2008-01-31 16:37 hoffman
-
- * Source/kwsys/SystemInformation.cxx: ENH: fixes for borland
-
-2008-01-31 16:33 martink
-
- * Source/CTest/cmCTestTestHandler.cxx: BUG: minor fix for ctest
-
-2008-01-31 16:10 hoffman
-
- * Source/cmCTest.cxx: ENH: remove extra junk
-
-2008-01-31 15:45 king
-
- * Modules/Platform/Darwin.cmake, Source/cmComputeLinkDepends.cxx,
- Source/cmComputeLinkDepends.h,
- Source/cmComputeLinkInformation.cxx,
- Source/cmComputeLinkInformation.h,
- Source/cmDocumentVariables.cxx, Source/cmExportFileGenerator.cxx,
- Source/cmExportFileGenerator.h, Source/cmTarget.cxx,
- Source/cmTarget.h, Tests/ExportImport/Export/CMakeLists.txt: ENH:
- Support linking to shared libs with dependent libs
-
- - Split IMPORTED_LINK_LIBRARIES into two parts:
- IMPORTED_LINK_INTERFACE_LIBRARIES
- IMPORTED_LINK_DEPENDENT_LIBRARIES
- - Add CMAKE_DEPENDENT_SHARED_LIBRARY_MODE to select behavior
- - Set mode to LINK for Darwin (fixes universal binary problem)
- - Update ExportImport test to account for changes
-
-2008-01-31 15:34 hoffman
-
- * Source/kwsys/SystemInformation.cxx: ENH: fix for qnx, I hope, and
- fix indent stuff
-
-2008-01-31 15:10 hoffman
-
- * Source/kwsys/SystemInformation.cxx: ENH: fix build errors with
- asm stuff on mingw and hopefully win64
-
-2008-01-31 14:50 hoffman
-
- * Source/kwsys/SystemInformation.cxx: ENH: fix build for mingw
-
-2008-01-31 14:34 hoffman
-
- * Source/kwsys/: SystemInformation.cxx, SystemInformation.hxx.in:
- ENH: split into implementation and interface class to clean up
- namespace issues with #define stuff
-
-2008-01-31 13:23 martink
-
- * Modules/Dart.cmake: ENH: use ctest to drive dashboards for make
- targets as opposed to tclsh
-
-2008-01-31 12:56 king
-
- * Source/kwsys/CMakeLists.txt: BUG: Need to install cstddef header.
-
-2008-01-31 12:19 hoffman
-
- * Source/cmGlobalGenerator.cxx: ENH: remove a const cast
-
-2008-01-31 11:43 martink
-
- * Source/: ctest.cxx, CTest/cmCTestTestHandler.cxx: ENH: read in
- old file formats Dart as well
-
-2008-01-31 08:32 king
-
- * Source/kwsys/kwsysPlatformTestsCXX.cxx: STYLE: Work-around std::
- check since this is a platform test.
-
-2008-01-31 08:21 king
-
- * Source/kwsys/: String.hxx.in, SystemTools.hxx.in,
- kwsys_ios_sstream.h.in: STYLE: Remove references to std:: inside
- KWSys, even in comments. This will allow a commit check to be
- added.
-
-2008-01-31 08:21 king
-
- * Source/kwsys/SystemInformation.cxx: COMP: Replace kwsys_stl::
- with kwsys_ios:: for streams access.
-
-2008-01-31 08:05 king
-
- * Source/: cmComputeLinkInformation.cxx, cmTarget.cxx: ENH: Add
- target property LINK_SEARCH_END_STATIC to help people building
- static binaries on some platforms.
-
-2008-01-31 07:50 king
-
- * Modules/Platform/IRIX.cmake, Modules/Platform/IRIX64.cmake,
- Source/cmComputeLinkInformation.cxx,
- Source/cmComputeLinkInformation.h,
- Source/cmFindLibraryCommand.cxx, Source/cmFindLibraryCommand.h:
- BUG: Move decision to switch library paths found in implicit link
- directories to use -l options from cmFindLibraryCommand to
- cmComputeLinkInformation. Existing projects may depend on
- find_library returning a full path. This slightly weakens
- cmComputeLinkInformation but is necessary for compatibility.
-
-2008-01-31 06:51 king
-
- * Source/: cmExportFileGenerator.cxx, cmExportFileGenerator.h:
- COMP: Remove unused parameter.
-
-2008-01-31 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-30 22:56 hoffman
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h: ENH: remove const
-
-2008-01-30 21:40 hoffman
-
- * Source/kwsys/: SystemInformation.cxx, SystemInformation.hxx.in:
- COMP: use kwsys_stl and not std::
-
-2008-01-30 17:57 king
-
- * Source/cmExportFileGenerator.cxx: BUG: Fixed previous commit in
- cmExportFileGenerator to separate libraries correctly in the
- import link list.
-
-2008-01-30 17:26 king
-
- * Tests/ExportImport/: CMakeLists.txt, Export/CMakeLists.txt,
- Export/testExe2lib.c, Export/testExe2libImp.c, Export/testLib3.c,
- Export/testLib3Imp.c, Import/imp_mod1.c: ENH: Updated
- ExportImport test to try LINK_INTERFACE_LIBRARIES.
-
-2008-01-30 17:25 king
-
- * Source/: cmComputeLinkDepends.cxx,
- cmExportBuildFileGenerator.cxx, cmExportBuildFileGenerator.h,
- cmExportCommand.cxx, cmExportCommand.h,
- cmExportFileGenerator.cxx, cmExportFileGenerator.h,
- cmExportInstallFileGenerator.cxx, cmTarget.cxx, cmTarget.h: ENH:
- Implemented link-interface specification feature.
-
- - Shared libs and executables with exports may now have
- explicit transitive link dependencies specified
- - Created LINK_INTERFACE_LIBRARIES and related properties
- - Exported targets get the interface libraries as their
- IMPORTED_LINK_LIBRARIES property.
- - The export() and install(EXPORT) commands now give
- an error when a linked target is not included since
- the user can change the interface libraries instead
- of adding the target.
-
-2008-01-30 16:22 hoffman
-
- * Source/cmGlobalVisualStudio7Generator.cxx: ENH: make sure global
- targets are in the right projects
-
-2008-01-30 13:02 hoffman
-
- * Tests/SubProject/foo/: CMakeLists.txt, foo.cxx: ENH: add missing
- files
-
-2008-01-30 12:55 hoffman
-
- * Source/kwsys/SystemInformation.hxx.in: ENH: fix for vs 70
-
-2008-01-30 12:15 king
-
- * Source/cmComputeLinkDepends.cxx: BUG: cmComputeLinkDepends should
- not follow the dependencies of executables.
-
-2008-01-30 12:04 hoffman
-
- * Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmGlobalVisualStudio71Generator.cxx,
- Source/cmGlobalVisualStudio71Generator.h,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.h,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h, Tests/CMakeLists.txt,
- Tests/SubProject/CMakeLists.txt, Tests/SubProject/bar.cxx,
- Tests/SubProject/car.cxx: ENH: fix for bug 3218 dependant
- projects are written out automatically if they are in the
- project. Also fix bug 5829, remove hard coded
- CMAKE_CONFIGURATION_TYPES from vs 7 generator
-
-2008-01-30 11:54 hoffman
-
- * Source/CTest/: cmCTestTestHandler.cxx, cmCTestUpdateHandler.cxx:
- ENH: remove warnings
-
-2008-01-30 11:22 king
-
- * Source/: cmAddCustomCommandCommand.cxx,
- cmAddCustomCommandCommand.h: ENH: Make add_custom_command
- interpret relative OUTPUT locations with respect to the build tre
- instead of the source tree. This can greatly simplify user code
- since generating a file will not need to reference
- CMAKE_CURRENT_BINARY_DIR. The new behavior is what users expect
- 99% of the time.
-
-2008-01-30 11:21 king
-
- * Source/: cmGetPropertyCommand.cxx,
- cmGetSourceFilePropertyCommand.cxx, cmSourceFile.cxx,
- cmSourceFile.h: BUG: Add cmSourceFile::GetPropertyForUser to
- centralize the LOCATION property hack. This fixes the LOCATION
- property when retrieved via the get_property command.
-
-2008-01-30 11:17 hoffman
-
- * Source/: cmCTest.cxx, CTest/cmCTestBuildHandler.cxx,
- CTest/cmCTestBuildHandler.h, CTest/cmCTestConfigureHandler.cxx,
- CTest/cmCTestCoverageHandler.cxx,
- CTest/cmCTestMemCheckHandler.cxx, CTest/cmCTestTestHandler.cxx,
- CTest/cmCTestTestHandler.h, CTest/cmCTestUpdateHandler.cxx,
- kwsys/CMakeLists.txt, kwsys/SystemInformation.hxx.in: ENH:
- enhancements for cdash, include system information and better
- time entries
-
-2008-01-30 08:37 king
-
- * Source/cmMakefile.cxx: BUG: Fix misuse of stl vector that caused
- definitions to be dropped by cmMakefile::PushScope.
-
-2008-01-30 07:44 king
-
- * CompileFlags.cmake, Source/kwsys/hash_map.hxx.in: COMP: Fix
- warnings on VS9.
-
-2008-01-30 07:17 king
-
- * Utilities/cmtar/CMakeLists.txt: COMP: Fix warning about tolower
- by making sure ctype.h is included in cmtar.
-
-2008-01-30 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-29 21:16 king
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx: ENH: Enable use of link
- script whenever incremental archive construction rules are
- available. Enable use of archive construction rules on MSYS.
-
-2008-01-29 20:46 king
-
- * Modules/Platform/Windows-gcc.cmake,
- Source/cmDocumentVariables.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.h: ENH: Added build rule
- variables CMAKE_<LANG>_ARCHIVE_CREATE,
- CMAKE_<LANG>_ARCHIVE_APPEND, and CMAKE_<LANG>_ARCHIVE_FINISH to
- support creation of static archive libraries out of a large
- number of objects. See bug #6284.
-
-2008-01-29 17:30 king
-
- * Source/: cmCacheManager.cxx, cmCacheManager.h: BUG: Fix
- uninitialzed members of cmCacheManager.
-
-2008-01-29 17:30 king
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio6Generator.h,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h, cmTarget.cxx, cmTarget.h: BUG:
- cmTarget instances should not be copied. Removed pass-by-value
- arguments from cmLocalVisualStudio7Generator::WriteGroup and
- cmLocalVisualStudio6Generator::WriteGroup. Updated cmTarget to
- make this easier to find.
-
-2008-01-29 17:01 clinton
-
- * Modules/FindQt4.cmake: ENH: Make lupdate and lrelease
- executables advanced variables.
-
-2008-01-29 15:54 clinton
-
- * Source/QtDialog/CMakeSetupDialog.cxx: ENH: Correctly format
- multi-line error messages.
-
-2008-01-29 15:47 king
-
- * Source/: cmComputeLinkInformation.cxx,
- cmComputeLinkInformation.h, cmInstallTargetGenerator.cxx: ENH:
- Update cmInstallTargetGenerator to get the shared libraries
- linked by a target from cmComputeLinkInformation instead of
- duplicating the computation.
-
-2008-01-29 15:10 barre
-
- * Modules/FindHTMLHelp.cmake: ENH: need quotes
-
-2008-01-29 15:07 king
-
- * Source/: cmComputeLinkInformation.cxx,
- cmComputeLinkInformation.h, cmGlobalXCodeGenerator.cxx,
- cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h,
- cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx, cmTarget.cxx, cmTarget.h: ENH:
- Add cmTarget::GetLinkInformation method to allow several places
- in the generators to share link information while only computing
- it once per configuration for a target. Use it to simplify the
- chrpath feature.
-
-2008-01-29 13:07 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Allow QT4_WRAP_CPP to work with dir1/myobject.h
- dir2/myobject.h Fixes #5067.
-
-2008-01-29 09:57 king
-
- * Source/cmFindPackageCommand.cxx: ENH: Added not to find_package
- documentation about unspecified choice among multiple versions.
-
-2008-01-29 08:03 king
-
- * Tests/ExportImport/CMakeLists.txt: BUG: Custom command driver
- outputs must be SYMBOLIC since no corresponding file is created.
-
-2008-01-29 07:57 king
-
- * Tests/ExportImport/CMakeLists.txt: BUG: Make sure
- CMAKE_INSTALL_PREFIX stays in subproject caches.
-
-2008-01-29 07:48 king
-
- * Modules/Platform/Linux-SunPro-C.cmake: BUG: Fix dynamic exports
- executable link option for Sun C compiler on Linux.
-
-2008-01-29 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-28 20:38 king
-
- * Modules/readme.txt, Source/cmFindPackageCommand.cxx,
- Source/cmFindPackageCommand.h,
- Tests/FindPackageTest/CMakeLists.txt,
- Tests/FindPackageTest/lib/suffix/test/SuffixTestConfigVersion.cmake,
- Tests/FindPackageTest/lib/zot-1.0/zot-config.cmake,
- Tests/FindPackageTest/lib/zot-2.0/zot-config-version.cmake,
- Tests/FindPackageTest/lib/zot-2.0/zot-config.cmake,
- Tests/FindPackageTest/lib/zot-3.0/zot-config-version.cmake,
- Tests/FindPackageTest/lib/zot-3.0/zot-config.cmake,
- Tests/FindPackageTest/lib/zot-3.1/zot-config-version.cmake,
- Tests/FindPackageTest/lib/zot-3.1/zot-config.cmake: ENH: Added
- version support to Config mode of find_package command.
-
- - Added EXACT option to request an exact version.
- - Enforce version using check provided by package.
- - Updated FindPackageTest to test versioning in config mode.
-
-2008-01-28 19:20 clinton
-
- * Modules/FindQt4.cmake:
- ENH: Improve find for glib/gthread when Qt is configured to use
- it. Fixes #6220.
-
-2008-01-28 15:22 king
-
- * Source/: cmExportBuildFileGenerator.cxx,
- cmExportInstallFileGenerator.cxx: STYLE: Updated TODO comment for
- PUBLIC_HEADER_LOCATION export.
-
-2008-01-28 15:12 king
-
- * Source/: cmInstallCommand.h, cmTarget.cxx: ENH: Document
- PRIVATE_HEADER, PUBLIC_HEADER, and RESOURCE target properties and
- corresponding arguments to INSTALL(TARGETS).
-
-2008-01-28 14:46 king
-
- * Tests/Framework/CMakeLists.txt: BUG: Fix Framework test after
- fixing FRAMEWORK targets to not install like frameworks on
- non-Apple systems.
-
-2008-01-28 14:46 king
-
- * Source/cmExportBuildFileGenerator.cxx,
- Source/cmExportFileGenerator.cxx,
- Source/cmExportInstallFileGenerator.cxx,
- Source/cmInstallCommand.cxx, Source/cmInstallCommand.h,
- Source/cmInstallTargetGenerator.cxx, Source/cmTarget.cxx,
- Source/cmTarget.h, Tests/ExportImport/Export/CMakeLists.txt,
- Tests/ExportImport/Export/testExe3.c,
- Tests/ExportImport/Import/CMakeLists.txt,
- Tests/ExportImport/Import/imp_testExe1.c: ENH: Support
- exporting/importing of AppBundle targets.
-
- - Imported bundles have the MACOSX_BUNDLE property set
- - Added cmTarget::IsAppBundleOnApple method to simplify checks
- - Document BUNDLE keyword in INSTALL command
- - Updated IMPORTED_LOCATION property documentation for bundles
- - Updated ExportImport test to test bundles
-
-2008-01-28 13:37 king
-
- * Source/cmExportFileGenerator.cxx, Source/cmExportFileGenerator.h,
- Tests/ExportImport/Export/CMakeLists.txt,
- Tests/ExportImport/Export/testExe1.c,
- Tests/ExportImport/Export/testExe1lib.c: BUG: Fix export/import
- file generation to not store link dependencies of executables or
- modules.
-
-2008-01-28 13:21 king
-
- * Source/cmExportBuildFileGenerator.h, Source/cmExportCommand.cxx,
- Source/cmExportCommand.h, Source/cmExportFileGenerator.cxx,
- Source/cmExportFileGenerator.h,
- Tests/ExportImport/Export/CMakeLists.txt: ENH: Restored APPEND
- option to EXPORT() command in new implementation.
-
-2008-01-28 13:06 king
-
- * Tests/ExportImport/: Export/CMakeLists.txt, Export/testLib4.c,
- Import/CMakeLists.txt, Import/imp_testExe1.c: ENH: Added
- framework to ExportImport test.
-
-2008-01-28 13:05 king
-
- * Source/: cmComputeLinkInformation.cxx, cmExportFileGenerator.cxx,
- cmExportInstallFileGenerator.cxx, cmGlobalGenerator.cxx,
- cmGlobalXCodeGenerator.cxx, cmInstallCommand.cxx,
- cmInstallCommand.h, cmInstallTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx, cmTarget.cxx, cmTarget.h:
- ENH: Support exporting/importing of Framework targets.
-
- - Imported frameworks have the FRAMEWORK property set
- - Added cmTarget::IsFrameworkOnApple method to simplify checks
- - Also remove separate IMPORTED_ENABLE_EXPORTS property and
- just use ENABLE_EXPORTS since, like FRAMEWORK, it just represents
- the target type.
- - Document FRAMEWORK keyword in INSTALL command.
- - Updated IMPORTED_LOCATION property documentation for
- Frameworks
-
-2008-01-28 09:53 king
-
- * Source/cmExportFileGenerator.h: COMP: Add virtual destructor to
- cmExportFileGenerator to avoid warnings about other virtual
- functions.
-
-2008-01-28 08:40 king
-
- * Tests/: CMakeLists.txt, ExportImport/CMakeLists.txt,
- ExportImport/main.c, ExportImport/Export/CMakeLists.txt,
- ExportImport/Export/testExe1.c, ExportImport/Export/testExe2.c,
- ExportImport/Export/testLib1.c, ExportImport/Export/testLib2.c,
- ExportImport/Export/testLib3.c,
- ExportImport/Import/CMakeLists.txt,
- ExportImport/Import/imp_mod1.c,
- ExportImport/Import/imp_testExe1.c: ENH: Added ExportImport test
- to test new export/import features.
-
-2008-01-28 08:39 king
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: BUG: Updated SimpleInstall tests
- for new export/import interface.
-
-2008-01-28 08:38 king
-
- * Source/: CMakeLists.txt, cmAddDependenciesCommand.cxx,
- cmAddExecutableCommand.cxx, cmAddExecutableCommand.h,
- cmAddLibraryCommand.cxx, cmAddLibraryCommand.h,
- cmComputeLinkDepends.cxx, cmComputeLinkDepends.h,
- cmComputeLinkInformation.cxx, cmExportBuildFileGenerator.cxx,
- cmExportBuildFileGenerator.h, cmExportCommand.cxx,
- cmExportCommand.h, cmExportFileGenerator.cxx,
- cmExportFileGenerator.h, cmExportInstallFileGenerator.cxx,
- cmExportInstallFileGenerator.h, cmGetPropertyCommand.cxx,
- cmGetTargetPropertyCommand.cxx, cmGlobalGenerator.cxx,
- cmGlobalGenerator.h, cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio8Generator.cxx,
- cmGlobalVisualStudioGenerator.cxx, cmGlobalXCodeGenerator.cxx,
- cmIncludeExternalMSProjectCommand.cxx, cmInstallCommand.cxx,
- cmInstallCommand.h, cmInstallCommandArguments.cxx,
- cmInstallCommandArguments.h, cmInstallDirectoryGenerator.cxx,
- cmInstallExportGenerator.cxx, cmInstallExportGenerator.h,
- cmInstallFilesCommand.cxx, cmInstallFilesGenerator.cxx,
- cmInstallGenerator.cxx, cmInstallGenerator.h,
- cmInstallProgramsCommand.cxx, cmInstallTargetGenerator.cxx,
- cmInstallTargetGenerator.h, cmLocalGenerator.cxx,
- cmLocalVisualStudio6Generator.cxx, cmMakefile.cxx, cmMakefile.h,
- cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx, cmSetPropertyCommand.cxx,
- cmSetTargetPropertiesCommand.cxx, cmTarget.cxx, cmTarget.h: ENH:
- Updated exporting and importing of targets to support libraries
- and configurations.
-
- - Created cmExportFileGenerator hierarchy to implement export
- file generation
- - Installed exports use per-config import files loaded by a
- central one.
- - Include soname of shared libraries in import information
- - Renamed PREFIX to NAMESPACE in INSTALL(EXPORT) and EXPORT()
- commands
- - Move addition of CMAKE_INSTALL_PREFIX to destinations to
- install generators
- - Import files compute the installation prefix relative to
- their location when loaded
- - Add mapping of importer configurations to importee
- configurations
- - Rename IMPORT targets to IMPORTED targets to distinguish from
- windows import libraries
- - Scope IMPORTED targets within directories to isolate them
- - Place all properties created by import files in the IMPORTED
- namespace
- - Document INSTALL(EXPORT) and EXPORT() commands.
- - Document IMPORTED signature of add_executable and add_library
- - Enable finding of imported targets in cmComputeLinkDepends
-
-2008-01-28 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-27 15:09 king
-
- * bootstrap, Source/cmComputeLinkDepends.cxx: COMP: Use kwsys to
- get STL set_intersection algorithm.
-
-2008-01-27 13:42 king
-
- * bootstrap, Source/CMakeLists.txt,
- Source/cmComputeLinkDepends.cxx, Source/cmComputeLinkDepends.h,
- Source/cmComputeLinkInformation.cxx,
- Source/cmComputeLinkInformation.h, Source/cmTarget.cxx: ENH:
- Created cmComputeLinkDepends to compute link dependencies.
-
- - This will be useful for imported library dependencies
- - Replaces old cmTarget analyze-lib-depends stuff for linking
- - Formalizes graph construction and dump
- - Explicitly represents dependency inferral sets
- - Use BFS of initial dependencies to preserve order
-
-2008-01-27 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-26 01:11 barre
-
- * Modules/: FindTCL.cmake, FindTclStub.cmake, FindTclsh.cmake,
- FindWish.cmake: ENH: Update Tcl/Tk 8.5
-
-2008-01-26 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-25 13:07 barre
-
- * Modules/: FindPerl.cmake, FindTCL.cmake, FindTclStub.cmake,
- FindTclsh.cmake, FindWish.cmake: ENH: update for Tcl/Tk 8.5
-
-2008-01-25 08:11 king
-
- * Source/cmSystemTools.cxx: COMP: Need to return a value from fake
- MD5 method under bootstrap.
-
-2008-01-25 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-24 19:42 barre
-
- * Modules/FindTclsh.cmake: ENH: typo
-
-2008-01-24 19:31 barre
-
- * Modules/: FindTCL.cmake, FindTclsh.cmake, FindWish.cmake: ENH:
- update for Tcl/Tk 8.5
-
-2008-01-24 16:11 king
-
- * Source/cmSystemTools.cxx: COMP: Cannot do MD5 from KWSys during
- CMake bootstrap.
-
-2008-01-24 14:41 king
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Add
- cmSystemTools::ComputeStringMD5 method.
-
-2008-01-24 14:37 king
-
- * Source/cmake.cxx: BUG: Make cmake -E remove_directory work when
- directory is not present.
-
-2008-01-24 07:37 king
-
- * Source/cmFindLibraryCommand.cxx: ENH: Apply new implicit link
- directory find_library policy when loading a cache from an
- earlier CMake.
-
-2008-01-24 07:37 king
-
- * Source/: cmCacheManager.cxx, cmCacheManager.h, cmMakefile.cxx,
- cmMakefile.h: ENH: Added cmMakefile::NeedCacheCompatibility
- method and support for it in cmCacheManager. This will allow
- commands to modify their behavior when running with a cache
- loaded from an earlier CMake version.
-
-2008-01-24 07:31 king
-
- * Source/CPack/cmCPackDebGenerator.cxx: COMP: Add include of
- <limits.h> to get USHRT_MAX constant.
-
-2008-01-24 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-23 18:34 alex
-
- * Source/cmReturnCommand.h: STYLE: fix typo
-
- Alex
-
-2008-01-23 17:53 king
-
- * Modules/CMakeCompilerABI.h, Source/cmFindLibraryCommand.cxx: ENH:
- Remove sparcv9 architecture subdir added earlier. The new
- implicit link directory policy takes care of the problem.
-
-2008-01-23 17:43 king
-
- * bootstrap: BUG: Do not have variable and function of the same
- name. Old shells do not likeit.
-
-2008-01-23 16:53 king
-
- * Source/CursesDialog/CMakeLists.txt: ENH: Simplify code by
- removing unnecessary LINK_DIRECTORIES call.
-
-2008-01-23 16:35 king
-
- * Modules/CMakeCXXInformation.cmake: BUG:
- CMAKE_EXECUTABLE_RUNTIME_CXX_FLAG should get its default value
- from CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG, not
- CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG.
-
-2008-01-23 16:27 barre
-
- * Modules/: FindTCL.cmake, FindTclStub.cmake, FindTclsh.cmake,
- FindWish.cmake: ENH: update for Tcl/Tk 8.5
-
-2008-01-23 16:21 king
-
- * Source/: cmFindLibraryCommand.cxx, cmFindLibraryCommand.h: ENH:
- Teach find_library to avoid returning library paths in system
- directories that may be converted to architecture-specific
- directories by the compiler when it invokes the linker.
-
-2008-01-23 15:56 king
-
- * Source/: cmComputeLinkInformation.cxx,
- cmComputeLinkInformation.h: BUG: Fix cmComputeLinkInformation
- cycle detection.
-
-2008-01-23 15:22 king
-
- * Modules/VTKCompatibility.cmake,
- Source/cmComputeLinkInformation.cxx,
- Source/cmComputeLinkInformation.h,
- Source/cmDocumentVariables.cxx: ENH: Added CMAKE_LINK_OLD_PATHS
- compatibility mode for linker search paths.
-
-2008-01-23 14:07 barre
-
- * Modules/: FindTCL.cmake, FindTclStub.cmake: ENH: keep cleaning up
- Tcl/Tk modules
-
-2008-01-23 13:37 king
-
- * Source/cmComputeLinkInformation.cxx: COMP: Fix build on Borland
- 5.5.
-
-2008-01-23 13:30 king
-
- * Modules/Platform/Windows-wcl386.cmake,
- Source/cmComputeLinkInformation.cxx,
- Source/cmComputeLinkInformation.h,
- Source/cmDocumentVariables.cxx, Source/cmLocalGenerator.cxx: BUG:
- Fix generation of Watcom link lines.
-
- - Work-around bug in Watcom command line parsing for spaces in
- paths.
- - Add 'library' option before libraries specified by file path.
-
-2008-01-23 13:03 king
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: BUG:
- Work-around bug in MSVC 6 command line parsing.
-
-2008-01-23 12:51 martink
-
- * Source/cmCTest.cxx: ENH: look for CTestConfiguration.ini first
-
-2008-01-23 10:29 martink
-
- * Tests/: CMakeLists.txt, ReturnTest/CMakeLists.txt,
- ReturnTest/returnTest.c, ReturnTest/subdir/CMakeLists.txt: ENH:
- add testing for return and break commands
-
-2008-01-23 10:27 martink
-
- * Source/: cmAddCustomCommandCommand.cxx,
- cmAddCustomCommandCommand.h, cmAddCustomTargetCommand.cxx,
- cmAddCustomTargetCommand.h, cmAddDefinitionsCommand.cxx,
- cmAddDefinitionsCommand.h, cmAddDependenciesCommand.cxx,
- cmAddDependenciesCommand.h, cmAddExecutableCommand.cxx,
- cmAddExecutableCommand.h, cmAddLibraryCommand.cxx,
- cmAddLibraryCommand.h, cmAddSubDirectoryCommand.cxx,
- cmAddSubDirectoryCommand.h, cmAddTestCommand.cxx,
- cmAddTestCommand.h, cmAuxSourceDirectoryCommand.cxx,
- cmAuxSourceDirectoryCommand.h, cmBootstrapCommands.cxx,
- cmBuildCommand.cxx, cmBuildCommand.h, cmBuildNameCommand.cxx,
- cmBuildNameCommand.h, cmCMakeMinimumRequired.cxx,
- cmCMakeMinimumRequired.h, cmCPluginAPI.cxx, cmCommand.h,
- cmConfigureFileCommand.cxx, cmConfigureFileCommand.h,
- cmCreateTestSourceList.cxx, cmCreateTestSourceList.h,
- cmDefinePropertyCommand.cxx, cmDefinePropertyCommand.h,
- cmElseCommand.cxx, cmElseCommand.h, cmElseIfCommand.cxx,
- cmElseIfCommand.h, cmEnableLanguageCommand.cxx,
- cmEnableLanguageCommand.h, cmEnableTestingCommand.cxx,
- cmEnableTestingCommand.h, cmEndForEachCommand.cxx,
- cmEndForEachCommand.h, cmEndFunctionCommand.cxx,
- cmEndFunctionCommand.h, cmEndIfCommand.cxx, cmEndIfCommand.h,
- cmEndMacroCommand.cxx, cmEndMacroCommand.h,
- cmEndWhileCommand.cxx, cmEndWhileCommand.h,
- cmExecProgramCommand.cxx, cmExecProgramCommand.h,
- cmExecuteProcessCommand.cxx, cmExecuteProcessCommand.h,
- cmExportCommand.cxx, cmExportCommand.h,
- cmExportLibraryDependencies.cxx, cmExportLibraryDependencies.h,
- cmFLTKWrapUICommand.cxx, cmFLTKWrapUICommand.h,
- cmFileCommand.cxx, cmFileCommand.h, cmFindLibraryCommand.cxx,
- cmFindLibraryCommand.h, cmFindPackageCommand.cxx,
- cmFindPackageCommand.h, cmFindPathCommand.cxx,
- cmFindPathCommand.h, cmFindProgramCommand.cxx,
- cmFindProgramCommand.h, cmForEachCommand.cxx, cmForEachCommand.h,
- cmFunctionBlocker.h, cmFunctionCommand.cxx, cmFunctionCommand.h,
- cmGetCMakePropertyCommand.cxx, cmGetCMakePropertyCommand.h,
- cmGetDirectoryPropertyCommand.cxx,
- cmGetDirectoryPropertyCommand.h,
- cmGetFilenameComponentCommand.cxx,
- cmGetFilenameComponentCommand.h, cmGetPropertyCommand.cxx,
- cmGetPropertyCommand.h, cmGetSourceFilePropertyCommand.cxx,
- cmGetSourceFilePropertyCommand.h, cmGetTargetPropertyCommand.cxx,
- cmGetTargetPropertyCommand.h, cmGetTestPropertyCommand.cxx,
- cmGetTestPropertyCommand.h, cmIfCommand.cxx, cmIfCommand.h,
- cmIncludeCommand.cxx, cmIncludeCommand.h,
- cmIncludeDirectoryCommand.cxx, cmIncludeDirectoryCommand.h,
- cmIncludeExternalMSProjectCommand.cxx,
- cmIncludeExternalMSProjectCommand.h,
- cmIncludeRegularExpressionCommand.cxx,
- cmIncludeRegularExpressionCommand.h, cmInstallCommand.cxx,
- cmInstallCommand.h, cmInstallFilesCommand.cxx,
- cmInstallFilesCommand.h, cmInstallProgramsCommand.cxx,
- cmInstallProgramsCommand.h, cmInstallTargetsCommand.cxx,
- cmInstallTargetsCommand.h, cmLinkDirectoriesCommand.cxx,
- cmLinkDirectoriesCommand.h, cmLinkLibrariesCommand.cxx,
- cmLinkLibrariesCommand.h, cmListCommand.cxx, cmListCommand.h,
- cmLoadCacheCommand.cxx, cmLoadCacheCommand.h,
- cmLoadCommandCommand.cxx, cmLoadCommandCommand.h,
- cmMacroCommand.cxx, cmMacroCommand.h, cmMakeDirectoryCommand.cxx,
- cmMakeDirectoryCommand.h, cmMakefile.cxx, cmMakefile.h,
- cmMarkAsAdvancedCommand.cxx, cmMarkAsAdvancedCommand.h,
- cmMathCommand.cxx, cmMathCommand.h, cmMessageCommand.cxx,
- cmMessageCommand.h, cmOptionCommand.cxx, cmOptionCommand.h,
- cmOutputRequiredFilesCommand.cxx, cmOutputRequiredFilesCommand.h,
- cmProjectCommand.cxx, cmProjectCommand.h, cmQTWrapCPPCommand.cxx,
- cmQTWrapCPPCommand.h, cmQTWrapUICommand.cxx, cmQTWrapUICommand.h,
- cmRemoveCommand.cxx, cmRemoveCommand.h,
- cmRemoveDefinitionsCommand.cxx, cmRemoveDefinitionsCommand.h,
- cmSeparateArgumentsCommand.cxx, cmSeparateArgumentsCommand.h,
- cmSetCommand.cxx, cmSetCommand.h,
- cmSetDirectoryPropertiesCommand.cxx,
- cmSetDirectoryPropertiesCommand.h, cmSetPropertyCommand.cxx,
- cmSetPropertyCommand.h, cmSetSourceFilesPropertiesCommand.cxx,
- cmSetSourceFilesPropertiesCommand.h,
- cmSetTargetPropertiesCommand.cxx, cmSetTargetPropertiesCommand.h,
- cmSetTestsPropertiesCommand.cxx, cmSetTestsPropertiesCommand.h,
- cmSiteNameCommand.cxx, cmSiteNameCommand.h,
- cmSourceGroupCommand.cxx, cmSourceGroupCommand.h,
- cmStringCommand.cxx, cmStringCommand.h, cmSubdirCommand.cxx,
- cmSubdirCommand.h, cmSubdirDependsCommand.cxx,
- cmSubdirDependsCommand.h, cmTargetLinkLibrariesCommand.cxx,
- cmTargetLinkLibrariesCommand.h, cmTryCompileCommand.cxx,
- cmTryCompileCommand.h, cmTryRunCommand.cxx, cmTryRunCommand.h,
- cmUseMangledMesaCommand.cxx, cmUseMangledMesaCommand.h,
- cmUtilitySourceCommand.cxx, cmUtilitySourceCommand.h,
- cmVariableRequiresCommand.cxx, cmVariableRequiresCommand.h,
- cmVariableWatchCommand.cxx, cmVariableWatchCommand.h,
- cmWhileCommand.cxx, cmWhileCommand.h, cmWriteFileCommand.cxx,
- cmWriteFileCommand.h,
- CTest/cmCTestEmptyBinaryDirectoryCommand.cxx,
- CTest/cmCTestEmptyBinaryDirectoryCommand.h,
- CTest/cmCTestHandlerCommand.cxx, CTest/cmCTestHandlerCommand.h,
- CTest/cmCTestReadCustomFilesCommand.cxx,
- CTest/cmCTestReadCustomFilesCommand.h,
- CTest/cmCTestRunScriptCommand.cxx,
- CTest/cmCTestRunScriptCommand.h, CTest/cmCTestScriptHandler.cxx,
- CTest/cmCTestSleepCommand.cxx, CTest/cmCTestSleepCommand.h,
- CTest/cmCTestStartCommand.cxx, CTest/cmCTestStartCommand.h,
- CTest/cmCTestTestHandler.cxx, cmBreakCommand.cxx,
- cmBreakCommand.h, cmExecutionStatus.h, cmReturnCommand.cxx,
- cmReturnCommand.h: ENH: add return and break support to cmake,
- also change basic command invocation signature to be able to
- return extra informaiton via the cmExecutionStatus class
-
-2008-01-23 10:21 king
-
- * Source/cmComputeLinkInformation.cxx: BUG: Be less aggressive
- about finding conflicts in the runtime path when the real soname
- is not known.
-
-2008-01-23 09:53 king
-
- * Modules/CMakeCompilerABI.h, Source/cmFindLibraryCommand.cxx,
- Source/cmFindLibraryCommand.h: ENH: Enable library search path
- suffix for sparcv9 architecture. This should be generalized to a
- platform file later.
-
-2008-01-23 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-22 10:11 clinton
-
- * Modules/FindQt4.cmake: ENH: Add macros to handle translations.
- Fixes #6229.
-
-2008-01-22 10:05 king
-
- * Source/: cmComputeLinkInformation.cxx,
- cmComputeLinkInformation.h: BUG: When a library file name is
- linked without a path make sure the link type is restored after
- the -l option.
-
-2008-01-22 09:15 king
-
- * Tests/: CMakeLists.txt, RuntimePath/CMakeLists.txt,
- RuntimePath/bar1.c, RuntimePath/bar2.c, RuntimePath/foo1.c,
- RuntimePath/foo2.c, RuntimePath/main.c: ENH: Added RuntimePath
- test to make sure rpath gets correct order.
-
-2008-01-22 09:13 king
-
- * bootstrap, Modules/CMakeCInformation.cmake,
- Modules/CMakeCXXInformation.cmake,
- Modules/CMakeFortranInformation.cmake,
- Modules/Platform/AIX.cmake, Modules/Platform/HP-UX.cmake,
- Source/CMakeLists.txt, Source/cmComputeLinkInformation.cxx,
- Source/cmComputeLinkInformation.h,
- Source/cmDocumentVariables.cxx, Source/cmGlobalGenerator.cxx,
- Source/cmGlobalGenerator.h, Source/cmGlobalXCodeGenerator.cxx,
- Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Source/cmOrderLinkDirectories.cxx,
- Source/cmOrderLinkDirectories.h, Source/cmTarget.cxx,
- Source/cmTarget.h, Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: Implement
- linking with paths to library files instead of -L and -l
- separation. See bug #3832
-
- - This is purely an implementation improvement. No interface
- has changed.
- - Create cmComputeLinkInformation class
- - Move and re-implement logic from:
- cmLocalGenerator::ComputeLinkInformation
- cmOrderLinkDirectories
- - Link libraries to targets with their full path (if it is
- known)
- - Dirs specified with link_directories command still added with
- -L
- - Make link type specific to library names without paths
- (name libfoo.a without path becomes -Wl,-Bstatic -lfoo)
- - Make directory ordering specific to a runtime path
- computation feature
- (look for conflicting SONAMEs instead of library names)
- - Implement proper rpath support on HP-UX and AIX.
-
-2008-01-22 08:52 king
-
- * Source/kwsys/hash_map.hxx.in: COMP: Remove inline keyword from
- forward declaration for VS9.
-
-2008-01-22 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-21 22:48 king
-
- * Source/cmFindPackageCommand.cxx: ENH: Updated find_package
- documentation to describe common usage first.
-
-2008-01-21 20:57 king
-
- * Modules/: CMakeDetermineCompilerId.cmake,
- CMakeFindBinUtils.cmake: ENH: Cleanup chrpath feature by not
- displaying exe format or placing non-advanced options in cache.
-
-2008-01-21 18:30 king
-
- * Source/: cmFindLibraryCommand.cxx, cmFindLibraryCommand.h: ENH:
- Add support to find_library to transform /lib to /lib32 on some
- architectures.
-
-2008-01-21 18:30 king
-
- * Modules/CMakeCCompiler.cmake.in, Modules/CMakeCCompilerABI.c,
- Modules/CMakeCXXCompiler.cmake.in,
- Modules/CMakeCXXCompilerABI.cpp, Modules/CMakeCompilerABI.h,
- Modules/CMakeDetermineCompilerABI.cmake,
- Modules/CMakeTestCCompiler.cmake,
- Modules/CMakeTestCXXCompiler.cmake,
- Source/cmDocumentVariables.cxx: ENH: Generalize the check for
- sizeof void* to detect more ABI information.
-
-2008-01-21 17:29 king
-
- * Tests/CMakeLists.txt: BUG: Do not get in infinite loop when
- checking make tool version in cmake build tree.
-
-2008-01-21 13:59 king
-
- * Source/cmTarget.cxx: BUG: Added missing documentation of
- LINK_FLAGS_<CONFIG> property.
-
-2008-01-21 13:04 king
-
- * Source/cmFindPackageCommand.cxx: COMP: snprintf is not portable.
-
-2008-01-21 12:56 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Modules/Platform/Windows-cl.cmake,
- Modules/Platform/Windows-cl.cmake.in,
- Source/cmGlobalVisualStudio9Generator.cxx,
- Source/cmGlobalVisualStudio9Generator.h: ENH: final 2.4.8
-
-2008-01-21 08:48 king
-
- * Modules/readme.txt, Source/cmFindPackageCommand.cxx,
- Source/cmFindPackageCommand.h,
- Tests/FindPackageTest/CMakeLists.txt,
- Tests/FindPackageTest/FindVersionTestA.cmake,
- Tests/FindPackageTest/FindVersionTestB.cmake,
- Tests/FindPackageTest/FindVersionTestC.cmake: ENH: Implement
- version support in the find_package command module mode. Version
- numbers provided to the command are converted to variable
- settings to tell the FindXXX.cmake module what version is
- requested. This addresses issue #1645.
-
-2008-01-21 08:01 king
-
- * Source/kwsys/SystemTools.cxx: COMP: Fix VS6 and old HP build.
- This source does not have the #define for hack.
-
-2008-01-21 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-20 19:29 king
-
- * Source/: cmFindLibraryCommand.cxx, cmFindPathCommand.cxx,
- kwsys/SystemTools.cxx: BUG: Fix previous commit to not access
- empty strings out of bounds.
-
-2008-01-20 17:41 king
-
- * Source/cmFindLibraryCommand.cxx: BUG: Make sure search paths
- never have double-slashes. Leading with two slashes (//) on
- cygwin looks like a network path and delays while waiting for a
- non-existent machine. This file was left out of the previous
- checkin for this problem.
-
-2008-01-20 17:24 king
-
- * Source/: cmFindPathCommand.cxx, kwsys/SystemTools.cxx: BUG: Make
- sure search paths never have double-slashes. Leading with two
- slashes (//) on cygwin looks like a network path and delays while
- waiting for a non-existent machine.
-
-2008-01-20 16:02 king
-
- * Modules/FindX11.cmake: BUG: FindX11 module should search for SM
- library instead of returning -lSM.
-
-2008-01-20 13:36 king
-
- * Source/cmake.cxx: COMP: Fix build during bootstrap on MSys.
-
-2008-01-20 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-19 15:09 martink
-
- * Source/: cmLocalGenerator.cxx, CTest/cmCTestTestHandler.cxx: ENH:
- improve backwards compatibility
-
-2008-01-19 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-18 19:02 barre
-
- * Modules/: FindTCL.cmake, FindTclsh.cmake, FindWish.cmake: ENH:
- Tcl/Tk 8.6 alpha schedule for May 2008.
-
-2008-01-18 18:40 king
-
- * Source/cmDependsFortran.cxx: COMP: Fix build on Borland 5.5.
-
-2008-01-18 17:11 alex
-
- * Source/cmMakefile.cxx: BUG: don't crash if
- cmMakefile::RaiseScope() is called from a cmake file in the top
- level directory in normal code (i.e. not within a function)
-
- Alex
-
-2008-01-18 16:06 hoffman
-
- * Modules/Platform/Windows-cl.cmake.in: ENH: make sure msvc90 gets
- set
-
-2008-01-18 15:52 alex
-
- * Modules/CMakeDetermineCompilerId.cmake,
- Modules/FindwxWidgets.cmake, Source/cmBootstrapCommands.cxx,
- Source/cmRaiseScopeCommand.cxx, Source/cmRaiseScopeCommand.h,
- Source/cmSetCommand.cxx, Source/cmSetCommand.h,
- Tests/FunctionTest/CMakeLists.txt, Tests/FunctionTest/Util.cmake,
- Tests/FunctionTest/SubDirScope/CMakeLists.txt: ENH: remove
- RAISE_SCOPE() again and instead add SET(<var> <value>
- PARENT_SCOPE)
-
- Alex
-
-2008-01-18 15:19 hoffman
-
- * Modules/Platform/Windows-cl.cmake: ENH: make sure MSVC90 is set
-
-2008-01-18 14:34 hoffman
-
- * Source/: cmGlobalVisualStudio9Generator.cxx,
- cmGlobalVisualStudio9Generator.h: ENH: add MSVC90 define to vs9
- ide
-
-2008-01-18 14:02 barre
-
- * Modules/: FindTCL.cmake, FindTclsh.cmake, FindWish.cmake: ENH:
- cleanup FindPerl and FindTcl (use ActiveState CurrentVersion, and
- support Tcl/Tk 8.5)
-
-2008-01-18 13:51 barre
-
- * Modules/: FindTclsh.cmake, FindWish.cmake: ENH: cleanup FindPerl
- and FindTcl (use ActiveState CurrentVersion, and support Tcl/Tk
- 8.5)
-
-2008-01-18 13:46 barre
-
- * Modules/: FindTCL.cmake, FindTclsh.cmake, FindWish.cmake: ENH:
- cleanup FindPerl and FindTcl (use ActiveState CurrentVersion, and
- support Tcl/Tk 8.5)
-
-2008-01-18 13:15 barre
-
- * Modules/: FindPerl.cmake, FindTCL.cmake, FindTclsh.cmake,
- FindWish.cmake: ENH: cleanup FindPerl and FindTcl (use
- ActiveState CurrentVersion, and support Tcl/Tk 8.5)
-
-2008-01-18 12:26 martink
-
- * Source/cmMacroCommand.h: STYLE: fix bug 5682
-
-2008-01-18 10:25 martink
-
- * Source/: cmLocalGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx,
- cmake.cxx, CTest/cmCTestTestHandler.cxx: BUG: fix bugs 5539
- (progress going beyond 100% when new files are added) and 5889
- (tests are not found in some cases when using add_subdirectory to
- .. etc)
-
-2008-01-18 08:35 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Construction of
- COMPILE_DEFINITIONS_<CONFIG> property name must use upper-case
- config name.
-
-2008-01-18 08:19 king
-
- * Source/cmFindPackageCommand.cxx: STYLE: Fix line-too-long.
-
-2008-01-18 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-17 20:59 king
-
- * Source/cmFindPackageCommand.cxx: ENH: Clarify documentation of
- find_package command.
-
-2008-01-17 20:34 king
-
- * Source/cmMakefile.cxx, Tests/Complex/CMakeLists.txt,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: Make
- per-configuration COMPILE_DEFINITIONS_<CONFIG> directory property
- initialized from parent.
-
-2008-01-17 19:58 king
-
- * Modules/CMakeFortranInformation.cmake,
- Modules/Platform/Windows-ifort.cmake,
- Source/cmDependsFortran.cxx, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx: ENH: Enable use of
- COMPILE_DEFINITIONS property for Fortran sources.
-
-2008-01-17 19:50 king
-
- * Source/cmMakefile.cxx: BUG: COMPILE_DEFINITIONS directory
- property needs to be inherited from parent when a directory is
- created.
-
-2008-01-17 19:29 king
-
- * Source/cmAddDefinitionsCommand.h,
- Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmMakefileTargetGenerator.cxx,
- Source/cmRemoveDefinitionsCommand.h,
- Tests/Preprocess/CMakeLists.txt, Tests/Preprocess/preprocess.c,
- Tests/Preprocess/preprocess.cxx: ENH: Converted cmMakefile
- DefineFlags added by ADD_DEFINITIONS command into a
- COMPILE_DEFINITIONS directory property.
-
-2008-01-17 18:13 king
-
- * Source/: cmMakefile.cxx, cmMakefile.h, cmProperty.cxx,
- cmProperty.h, cmPropertyMap.cxx, cmPropertyMap.h,
- cmSetPropertyCommand.cxx, cmSetPropertyCommand.h,
- cmSourceFile.cxx, cmSourceFile.h, cmTarget.cxx, cmTarget.h,
- cmTest.cxx, cmTest.h, cmake.cxx, cmake.h: ENH: Add AppendProperty
- methods for use by C++ code in CMake. Simplify implementation of
- SET_PROPERTY command by using them.
-
-2008-01-17 17:49 alex
-
- * Source/cmFindBase.cxx: STYLE: PATHS is optional (#6253)
-
- Alex
-
-2008-01-17 17:43 alex
-
- * Source/cmFindBase.cxx: STYLE: fix typo (#6252)
-
- Alex
-
-2008-01-17 17:34 king
-
- * Tests/Preprocess/CMakeLists.txt: ENH: Use new set_property
- signature to set COMPILE_DEFINITIONS properties in Preprocess
- test.
-
-2008-01-17 17:19 king
-
- * Modules/CPackDeb.cmake, Modules/FeatureSummary.cmake,
- Modules/FindPythonLibs.cmake, Source/cmGetPropertyCommand.cxx,
- Source/cmGetPropertyCommand.h, Tests/Properties/CMakeLists.txt:
- ENH: Changed signature of GET_PROPERTY command to be more
- powerful and extendible.
-
-2008-01-17 16:24 king
-
- * Source/cmSetPropertyCommand.cxx: COMP: Fix VS build.
-
-2008-01-17 15:54 king
-
- * Modules/CMakeGenericSystem.cmake, Modules/FeatureSummary.cmake,
- Modules/Platform/BlueGeneL.cmake,
- Modules/Platform/Catamount.cmake, Modules/Platform/Generic.cmake,
- Modules/Platform/Linux.cmake, Modules/Platform/UnixPaths.cmake,
- Modules/Platform/eCos.cmake, Source/cmBootstrapCommands.cxx,
- Source/cmSetPropertiesCommand.cxx,
- Source/cmSetPropertiesCommand.h, Source/cmSetPropertyCommand.cxx,
- Source/cmSetPropertyCommand.h, Tests/DocTest/CMakeLists.txt,
- Tests/Properties/CMakeLists.txt: ENH: Rename SET_PROPERITES
- command to SET_PROPERTY and give it a more powerful signature.
-
-2008-01-17 12:44 martink
-
- * Source/: cmLocalGenerator.cxx, ctest.cxx,
- CTest/cmCTestTestHandler.cxx: ENH: use CTestTestfile.txt
-
-2008-01-17 12:35 martink
-
- * Source/cmEnableTestingCommand.h: ENH: remove unused prototype
-
-2008-01-17 10:35 king
-
- * bootstrap: COMP: The find_package command needs more of kwsys.
- Added String.h, String.c, and auto_ptr.hxx to bootstrapping
- kwsys.
-
-2008-01-17 10:32 king
-
- * Source/cmFindPackageCommand.cxx: COMP: Fix warning about missing
- virtual destructor.
-
-2008-01-17 10:26 martink
-
- * Tests/Tutorial/Step7/: CMakeLists.txt, CTestConfig.cmake: STYLE:
- change case to match book
-
-2008-01-17 10:00 king
-
- * Modules/Platform/xlf.cmake, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmMakefileTargetGenerator.cxx: ENH: Enable
- CMAKE_<lang>_DEFINE_FLAG for COMPILE_DEFINITIONS property
- implementation.
-
-2008-01-17 09:06 king
-
- * Tests/FindPackageTest/: CMakeLists.txt,
- TApp.app/Contents/Resources/TAppConfig.cmake,
- TApp.app/Contents/Resources/cmake/tapp-config.cmake,
- TFramework.framework/Versions/A/Resources/tframework-config.cmake,
- TFramework.framework/Versions/A/Resources/CMake/TFrameworkConfig.cmake,
- lib/Bar/BarConfig.cmake, lib/Bar/cmake/bar-config.cmake,
- lib/TApp/TAppConfig.cmake, lib/foo-1.2/foo-config.cmake,
- lib/foo-1.2/CMake/FooConfig.cmake,
- lib/suffix/test/SuffixTestConfig.cmake: ENH: Updated
- FindPackageTest to test new find_package command features.
-
-2008-01-17 09:02 king
-
- * Source/: cmBootstrapCommands.cxx, cmFindBase.cxx, cmFindBase.h,
- cmFindCommon.cxx, cmFindCommon.h, cmFindLibraryCommand.cxx,
- cmFindPackageCommand.cxx, cmFindPackageCommand.h,
- cmFindPathCommand.cxx, cmFindProgramCommand.cxx: ENH: Major
- improvements to the FIND_PACKAGE command. See bug #3659.
-
- - Use CMAKE_PREFIX_PATH and CMAKE_SYSTEM_PREFIX_PATH among
- other means
- to locate package configuration files.
- - Create cmFindCommon as base for cmFindBase and
- cmFindPackageCommand
- - Move common functionality up to cmFindCommon
- - Improve documentation of FIND_* commands.
- - Fix FIND_* commands to not add framework/app paths in wrong
- place.
-
-2008-01-17 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-16 11:53 karthik
-
- * Docs/: cmake-indent.vim, cmake-syntax.vim: ENH:
-
-
- ~/CMake/src/Docs * Additions for cmake-command
- highligting. * Additions for operator-highlighting
-
-2008-01-16 11:24 king
-
- * Source/cmListCommand.cxx: ENH: Allow LIST(APPEND) command to
- append nothing.
-
-2008-01-16 10:04 david.cole
-
- * Modules/FindJNI.cmake: BUG: Eliminate message - it pops up an
- annoying dialog whenever you run CMakeSetup in a project with
- java wrapping turned on.
-
-2008-01-16 09:51 king
-
- * Modules/Platform/: Darwin.cmake, UnixPaths.cmake,
- WindowsPaths.cmake, syllable.cmake: ENH: Convert Modules/Platform
- specification of system search paths to use
- CMAKE_SYSTEM_PREFIX_PATH when possible.
-
-2008-01-16 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-15 21:20 king
-
- * Modules/: FindFreetype.cmake, FindGDAL.cmake, FindGIF.cmake,
- FindLua50.cmake, FindLua51.cmake, FindOpenAL.cmake,
- FindOpenThreads.cmake, FindPhysFS.cmake, FindProducer.cmake,
- FindQuickTime.cmake, FindSDL.cmake, FindSDL_image.cmake,
- FindSDL_mixer.cmake, FindSDL_net.cmake, FindSDL_ttf.cmake,
- Findosg.cmake, FindosgDB.cmake, FindosgFX.cmake, FindosgGA.cmake,
- FindosgIntrospection.cmake, FindosgManipulator.cmake,
- FindosgParticle.cmake, FindosgProducer.cmake,
- FindosgShadow.cmake, FindosgSim.cmake, FindosgTerrain.cmake,
- FindosgText.cmake, FindosgUtil.cmake, FindosgViewer.cmake: BUG:
- Remove references to CMAKE_PREFIX_PATH variable. It should not
- be referenced directly by FIND_* command calls. The commands
- search it automatically.
-
-2008-01-15 21:02 king
-
- * Source/cmGlobalXCodeGenerator.cxx,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmMakefileTargetGenerator.cxx, Source/cmSourceFile.cxx,
- Source/cmTarget.cxx, Tests/Preprocess/CMakeLists.txt: ENH:
- Renamed <CONFIG>_COMPILE_DEFINITIONS to
- COMPILE_DEFINITIONS_<CONFIG> for better documentation clarity.
-
-2008-01-15 19:56 alex
-
- * Modules/CMakeFindBinUtils.cmake: STYLE: fix infinished comment
-
- Alex
-
-2008-01-15 17:02 hoffman
-
- * CMakeCPackOptions.cmake.in: ENH: fix add/remove program name
-
-2008-01-15 16:02 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudioGenerator.cxx: ENH: move more stuff
- over and get vs 9 working
-
-2008-01-15 14:19 hoffman
-
- * Modules/Platform/SunOS.cmake: BUG: fix for bug 6231, bad regex
- for sunos, worked by chance, but better to have it right
-
-2008-01-15 14:00 hoffman
-
- * Source/: cmGlobalVisualStudio7Generator.cxx,
- cmLocalVisualStudioGenerator.cxx, QtDialog/README: ENH: remove
- patch as directory change was already fixed
-
-2008-01-15 11:56 hoffman
-
- * Source/cmLocalVisualStudioGenerator.cxx: BUG: fix for bug 6234,
- use cd /d so that drives can be changed.
-
-2008-01-15 10:49 king
-
- * Source/cmake.cxx: ENH: Added partial implementation of
- recognizing per-configration properties.
-
-2008-01-15 10:49 king
-
- * Source/: cmSourceFile.cxx, cmTarget.cxx: ENH: Add explicit
- documentation entry for configuration-specific
- <CONFIG>_COMPILE_DEFINITIONS.
-
-2008-01-15 10:38 king
-
- * Tests/DocTest/DocTest.cxx: BUG: Add newline between properties.
-
-2008-01-15 09:09 king
-
- * Tests/Preprocess/CMakeLists.txt: BUG: Test needs ansi C code
- support.
-
-2008-01-15 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-14 19:20 alex
-
- * Docs/: cmake-indent.vim, cmake-syntax.vim: BUG: fix vim
- highlighting, see #6238
-
- Alex
-
-2008-01-14 19:02 alex
-
- * Modules/CMakeFindBinUtils.cmake: BUG: according to the binutils
- mailing list chrpath doesn't work when cross compiling
-
- Alex
-
-2008-01-14 17:19 alex
-
- * Modules/FindSubversion.cmake: BUG: set LC_ALL to C, so message
- from svn are not translated, which can lead to problems (since
- the output is parsed, which fails then)
-
- Brad, Bill, can you think of any reasons this change might create
- problems ?
-
- Alex
-
-2008-01-14 17:05 alex
-
- * Source/cmDocumentation.cxx: BUG: make -help-module-list work by
- filling the modules section first, also for custom modules
-
- Alex
-
-2008-01-14 11:21 king
-
- * Tests/Preprocess/CMakeLists.txt: BUG: Disable semicolon test on
- VS 7.0.
-
-2008-01-14 11:07 king
-
- * Source/cmGlobalXCodeGenerator.cxx: COMP: Fix warning about
- backslash at end of c++ comment.
-
-2008-01-14 09:20 king
-
- * Modules/CMakeCInformation.cmake,
- Modules/CMakeCXXInformation.cmake, Modules/Platform/AIX.cmake,
- Modules/Platform/Generic-SDCC-C.cmake,
- Modules/Platform/QNX.cmake, Modules/Platform/Windows-bcc32.cmake,
- Modules/Platform/Windows-icl.cmake,
- Modules/Platform/Windows-wcl386.cmake, Modules/Platform/cl.cmake,
- Source/cmGlobalXCodeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.h, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio6Generator.h,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Source/cmMakefileTargetGenerator.cxx, Source/cmSourceFile.cxx,
- Source/cmTarget.cxx, Tests/CMakeLists.txt,
- Tests/Preprocess/CMakeLists.txt, Tests/Preprocess/file_def.h,
- Tests/Preprocess/preprocess.c, Tests/Preprocess/preprocess.cxx,
- Tests/Preprocess/preprocess.h.in,
- Tests/Preprocess/preprocess_vs6.cxx,
- Tests/Preprocess/target_def.h: ENH: Create COMPILE_DEFINITIONS
- property for targets and source files. Create
- <config>_COMPILE_DEFINITIONS property as per-configuration
- version. Add Preprocess test to test the feature. Document
- limitations on Xcode and VS6 generators.
-
-2008-01-14 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-13 16:59 king
-
- * Source/cmLocalGenerator.cxx: BUG: Removed stray debugging
- statement.
-
-2008-01-13 16:36 king
-
- * Source/: cmGlobalNMakeMakefileGenerator.cxx,
- cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmLocalUnixMakefileGenerator3.h,
- cmLocalVisualStudio7Generator.cxx, kwsys/System.c,
- kwsys/System.h.in: ENH: Improved escaping in kwsys/System. Added
- escape of % for NMake. Added escape of ; for the VS IDE.
-
-2008-01-13 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-12 09:52 king
-
- * Source/kwsys/SystemTools.cxx: COMP: Fix build on borland.
-
-2008-01-12 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-11 17:37 hoffman
-
- * Modules/Platform/: AIX-VisualAge-Fortran.cmake,
- Linux-VisualAge-Fortran.cmake, xlf.cmake: ENH: add support for
- xlf with -WF,-D for -D
-
-2008-01-11 13:00 hoffman
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: ENH: add
- CMAKE_DEFINE_FLAG_(LANG) that can replace -D flags with what the
- compiler actually uses
-
-2008-01-11 12:40 clinton
-
- * Modules/FindQt4.cmake: ENH: For moc commands on Windows, use
- @param_file method to allow arguments longer than Windows'
- command length limitation. Fixes #6221.
-
-2008-01-11 10:36 david.cole
-
- * Source/kwsys/SystemTools.cxx: ENH: Merge changes from main tree
- into VTK-5-0 branch. (Selected Utilities/kwsys/SystemTools.cxx
- fixes for KWWidgets file browser dialog)
-
-2008-01-11 08:33 king
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Add
- SystemTools::SplitPathRootComponent and re-implement SplitPath to
- use it. Add better treatment of user home directory paths.
-
-2008-01-11 08:30 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/CMakeVS9FindMake.cmake,
- Source/cmInstallTargetGenerator.cxx: ENH: push a few more changes
- to 2.4.8
-
-2008-01-11 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-10 21:42 david.cole
-
- * Source/kwsys/SystemTools.cxx: ENH: Merge changes from main tree
- into VTK-5-0 branch. (cvs -q up -j1.205 -j1.206
- Utilities/kwsys/SystemTools.cxx)
-
-2008-01-10 18:52 alex
-
- * Modules/FindBoost.cmake: BUG: it seems on some installations
- boost is installed under boost-1_34 , see #5030
-
- FindBoost.cmake recommends using LINK_DIRECTORIES(), is this
- really good ?
-
- Alex
-
-2008-01-10 18:32 king
-
- * Source/kwsys/ProcessUNIX.c: BUG: Fix hang in Process_Kill on OS X
- caused by an OS bug in which a pipe read end cannot be closed if
- the pipe write end is open, the pipe is full, and another process
- is blocking waiting to write. Work around the problem by killing
- the children before closing the pipes.
-
-2008-01-10 16:22 hoffman
-
- * Modules/FindSWIG.cmake: BUG: fix for bug 4145 much better
- findSwig
-
-2008-01-10 15:17 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx,
- cmInstallTargetGenerator.cxx: BUG: fix for bug 6193, fix xcode
- depend helper
-
-2008-01-10 14:47 king
-
- * Modules/Platform/Linux-VisualAge-C.cmake: BUG: Removed stray
- debugging message.
-
-2008-01-10 14:47 king
-
- * Modules/CMakeLists.txt: BUG: Need to install fortran compiler id
- source.
-
-2008-01-10 11:58 king
-
- * Modules/CMakeFortranCompilerId.F90: STYLE: Move VisualAge id
- macro to correct block.
-
-2008-01-10 10:50 hoffman
-
- * Modules/: CMakeFortranCompilerId.F90,
- Platform/Linux-VisualAge-C.cmake,
- Platform/Linux-VisualAge-Fortran.cmake: ENH: add support for
- visual age fortran on linux
-
-2008-01-10 09:46 king
-
- * Source/cmDependsFortran.cxx: COMP: Fix build on VS6.
-
-2008-01-10 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-09 22:09 perera
-
- * Source/: cmAddExecutableCommand.h, cmConfigureFileCommand.h,
- cmDocumentation.cxx, cmEnableLanguageCommand.h, cmFindBase.cxx,
- cmMakefile.cxx, cmSourceFile.cxx, cmStringCommand.h,
- cmTarget.cxx, cmTest.cxx, cmTryCompileCommand.h,
- cmVariableWatchCommand.h, cmWhileCommand.h: STYLE: Spelling fixes
- on documentation
-
-2008-01-09 16:59 alex
-
- * Source/cmDocumentation.cxx: ENH: sort the module files
- alphabetically when generating the documentation of rht modules
-
- Alex
-
-2008-01-09 10:30 king
-
- * Modules/Platform/Windows-ifort.cmake,
- Source/cmDependsFortran.cxx, Source/cmDependsFortran.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Tests/Fortran/CMakeLists.txt, Tests/Fortran/test_preprocess.F90:
- ENH: Patch from Maik to add preprocessor directive handling to
- Fortran dependency scanning. Also added -fpp flag to Intel
- Fortran compiler on Windows by default.
-
-2008-01-09 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-08 17:51 hoffman
-
- * Source/kwsys/: SystemInformation.cxx, SystemInformation.hxx.in:
- ENH: figure out long long value
-
-2008-01-08 17:20 hoffman
-
- * Source/kwsys/SystemInformation.cxx: ENH: fix lots of warnings
-
-2008-01-08 16:40 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/CPack.cmake: ENH:
- remove relocate option in mac installer as it is broken
-
-2008-01-08 16:28 hoffman
-
- * Source/kwsys/CMakeLists.txt: ENH: turn off for now
-
-2008-01-08 14:59 hoffman
-
- * Source/kwsys/: CMakeLists.txt, SystemInformation.cxx,
- SystemInformation.hxx.in: ENH: fix leaks and turn on by default
-
-2008-01-08 11:43 hoffman
-
- * Source/kwsys/: CMakeLists.txt, testSystemInformation.cxx: ENH:
- add missing file
-
-2008-01-08 11:38 hoffman
-
- * Source/kwsys/: CMakeLists.txt, SystemInformation.cxx,
- SystemInformation.hxx.in: ENH: add new system information class
- for use in ctest
-
-2008-01-08 11:06 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/FindQt4.cmake: ENH:
- last change for 2.4.8 branch, I hope, fix for findqt
-
-2008-01-08 08:25 hoffman
-
- * Source/cmDependsFortran.cxx: BUG: make it compile on vs 6
-
-2008-01-08 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-07 23:08 king
-
- * Source/: cmDependsFortranParser.cxx, cmDependsFortranParser.y:
- BUG: Fix parsing of fortran include directives during dependency
- scanning. Previously only #include worked but not just include.
-
-2008-01-07 16:12 king
-
- * Modules/CMakeJavaCompiler.cmake.in, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalUnixMakefileGenerator3.h,
- Source/cmMakefileTargetGenerator.cxx: BUG: Restore old interface
- of "make foo.o" and "make foo.i" even though object file names
- now include source extensions. For Java we also need to always
- remove the source extension (.java -> .class). This fixes the
- re-opening of bug #6169.
-
-2008-01-07 14:52 alex
-
- * Source/cmFileCommand.cxx: BUG: with cmake 2.4 INSTALL_FILES()
- with no files was accepted by cmake, with cmake cvs without this
- patch an invalid cmake_install.cmake script was generated in this
- case, it failed with an error if no files were given. So just do
- nothing if no files are listed to make it compatible.
-
- http://lists.kde.org/?l=kde-commits&m=119965185114478&w=2
-
- Alex
-
-2008-01-07 11:36 king
-
- * Source/cmDependsFortran.cxx: ENH: Changes based on patch from
- Maik for better cmDependsFortran::ModulesDiffer.
-
-2008-01-07 10:27 king
-
- * Modules/: CMakeDetermineCompilerId.cmake,
- CMakeDetermineFortranCompiler.cmake: ENH: Add support to
- CMAKE_DETERMINE_COMPILER_ID macro to try building the id source
- more than once with different extra flags added to the compiler.
- Use the support to correctly identify the Intel Fortran compiler
- on windows which does not preprocess by default without special
- flags.
-
-2008-01-07 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-06 17:18 alex
-
- * Source/cmFindBase.cxx: BUG: fix #6105, if a directory inside
- CMAKE_FIND_ROOT_PATH is given to a FIND_XXX() command, don't
- prepend the root to it (since it is already in this root)
-
- Alex
-
-2008-01-06 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-05 20:37 miguelf
-
- * Modules/FindwxWidgets.cmake: BUG: Support cross-compiling;
- wx-config should be searched for in target platform ONLY (bug
- 6187).
-
-2008-01-05 11:19 miguelf
-
- * Modules/FindwxWidgets.cmake: ENH: Generalized the
- WXWIDGETS_ADD_RESOURCES to support header generation, xrs file
- generation, and other options (BUG: 6162).
-
-2008-01-05 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-04 14:22 king
-
- * Source/cmFileCommand.cxx: BUG: File installation should overwrite
- the destination if the file times differ at all rather than only
- if the source file is newer. Users expect installation to
- overwrite destination files. This addresses the re-opening of
- bug#3349.
-
-2008-01-04 12:38 alex
-
- * Modules/: FindFreetype.cmake, FindGIF.cmake: ENH: rename
- variables from GIFLIB_* to GIF_* -add standard QUIET and REQUIRED
- handling -add GIF_LIBRARIES variable as readme.txt says -add name
- giflib to the names for the gif library -remove some unnecessary
- search paths for the lib (they are already part of the standard
- search paths, see Modules/Platform/UnixPaths.cmake)
- -FindFreetype.cmake: use PATH_SUFFIXES include again for the
- headers with the CMAKE_PREFIX_PATH variable
-
- Alex
-
-2008-01-04 12:29 alex
-
- * Modules/: FindGIF.cmake, FindGIFLIB.cmake: STYLE: rename
- FindGIFLIB.cmake to FindGIF.cmake, as discussed with Eric
-
- Alex
-
-2008-01-04 11:56 alex
-
- * Modules/FindX11.cmake: BUG: fix spelling of the xf86misc and
- xf86vmode variables
-
- Alex
-
-2008-01-04 11:42 ewing
-
- * Modules/FindOpenAL.cmake: ENH: Added all lowercase 'openal' to
- library search names in hopes of addressing bug 6201 (won't
- detect on Gentoo).
-
-2008-01-04 07:29 alex
-
- * Modules/FindFreetype.cmake: STYLE: use
- FIND_PACKAGE_HANDLE_STANDARD_ARGS() to handle QUIET and REQUIRED
- -remove some unnecessary search paths (they are part of the
- default paths) -don't use PATH_SUFFIXES for include/ when
- searching for a header, that's very uncommon style -add
- FREETYPE_LIBRARIES as the variable which should be used by the
- user (as documented in readme.txt)
-
- Alex
-
-2008-01-04 07:25 alex
-
- * Modules/: FindFreeType.cmake, FindFreetype.cmake: STYLE: renamed
- FindFreeType.cmake to FindFreetype.cmake to make it more
- compatible with the one in KDE4
-
- Alex
-
-2008-01-04 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-03 11:21 martink
-
- * Source/cmMakefile.cxx, Source/cmMakefile.h,
- Source/cmRaiseScopeCommand.cxx, Source/cmRaiseScopeCommand.h,
- Tests/FunctionTest/CMakeLists.txt,
- Tests/FunctionTest/SubDirScope/CMakeLists.txt,
- Tests/FunctionTest/Util.cmake: ENH: change raise_scope signature
- to be safer for returned varuables
-
-2008-01-03 09:40 king
-
- * Source/cmFileCommand.cxx: STYLE: Fix line-too-long.
-
-2008-01-03 07:28 hoffman
-
- * Source/cmake.cxx: BUG: fix resource file with a full path
-
-2008-01-03 04:19 alex
-
- * Source/cmFileCommand.cxx: COMP: fix build on Windows with gcc,
- patch from Maik Beckmann
-
- Alex
-
-2008-01-03 00:01 king
-
- * Source/: cmFileTimeComparison.cxx, cmFileTimeComparison.h: ENH:
- Add method cmFileTimeComparison::FileTimesDiffer to check if file
- times differ by 1 second or more.
-
-2008-01-03 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-02 18:30 king
-
- * Source/cmDependsFortran.cxx: ENH: Cleanup Fortran build
- directories by placing module stamp files in the target directory
- that builds them. This is actually a simpler implementation
- anyway.
-
-2008-01-02 18:00 king
-
- * Tests/StringFileTest/CMakeLists.txt: ENH: Add test for FILE(READ
- ...HEX).
-
-2008-01-02 17:49 king
-
- * Source/cmMakefile.cxx, Tests/FunctionTest/CMakeLists.txt,
- Tests/FunctionTest/SubDirScope/CMakeLists.txt: BUG: Make
- RAISE_SCOPE function work when variable is not defined.
-
-2008-01-02 17:32 king
-
- * Docs/cmake-mode.el: ENH: Enable indentation of
- FUNCTION/ENDFUNCTION blocks in emacs.
-
-2008-01-02 17:12 hoffman
-
- * Modules/UseSWIG.cmake: BUG: fix for bug 6151
-
-2008-01-02 16:53 alex
-
- * Source/cmTarget.cxx: ENH: only allow usage of chrpath if the
- executable file format is ELF
-
- Alex
-
-2008-01-02 16:52 alex
-
- * Modules/: CMakeDetermineCompilerId.cmake,
- CMakeFindBinUtils.cmake: ENH: check the magic code of the
- executable file to determine the executable file format. Tested
- for ELF on x86 Linux, COFF and Mach-O prepared but commented out
- since I don't have such systems available. Please have a look a
- CMakeDetermineCompilerId.cmake and enable the test for them too.
-
- Only add the option for using chrpath if the executable format is
- ELF
-
- Alex
-
-2008-01-02 16:46 alex
-
- * Source/: cmFileCommand.cxx, cmFileCommand.h: ENH: add the
- keywords OFFSET and HEX to the FILE() command, using OFFSET an
- offset can be specified where the reading starts, and using HEX
- the data can be converted into a hex string, so binary data can
- be compared with text functions -add docs for LIMIT, OFFSET and
- HEX
-
- Alex
-
-2008-01-02 15:55 king
-
- * Source/cmGlobalVisualStudio8Generator.cxx: STYLE: Fixed
- line-too-long.
-
-2008-01-02 15:53 king
-
- * Source/cmGlobalVisualStudio8Generator.cxx: BUG: Do not use
- VSMacros stuff for VS8sp0 because macros do not work in that
- version.
-
-2008-01-02 15:17 king
-
- * Source/cmFileCommand.cxx, Source/cmInstallCommand.cxx,
- Source/cmInstallCommand.h, Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: Added FILES_MATCHING
- option to INSTALL(DIRECTORY). This will help install a tree of
- header files while ignoring non-headers.
-
-2008-01-02 12:32 alex
-
- * Modules/FindRuby.cmake: ENH: add more ruby paths: sitearch,
- sitelib, vendorarch, vendorlib (#5531) -make these variables
- cached and ADVANCED -remove unused QUIETLY code -document
- RUBY_LIBRARY
-
- Alex
-
-2008-01-02 11:43 alex
-
- * Modules/FindRuby.cmake: BUG: make FindRuby work with the libs for
- MSVC, which can have additional pre- and suffixes (#5642)
-
- Alex
-
-2008-01-02 11:08 hoffman
-
- * Source/cmAuxSourceDirectoryCommand.cxx: BUG: fix for bug 6197,
- absolute paths were not supported
-
-2008-01-02 11:04 king
-
- * Source/: cmDependsFortran.cxx, cmDependsFortran.h,
- cmLocalUnixMakefileGenerator3.cxx: ENH: Make the Fortran compiler
- id available to cmDependsFortran at scanning and module timestamp
- copy time.
-
-2008-01-02 10:56 hoffman
-
- * Source/cmListCommand.h: BUG: fix for bug 6207 explain list index
- values better
-
-2008-01-02 09:32 hoffman
-
- * Source/cmake.cxx: ENH: fix new incremental link stuff to work
- with nmake @ files
-
-2008-01-02 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2008-01-01 17:19 hoffman
-
- * Source/cmake.cxx: ENH: remove warning
-
-2008-01-01 15:13 hoffman
-
- * Modules/CMakeVCManifest.cmake, Modules/CMakeVCManifestExe.cmake,
- Modules/Platform/Windows-cl.cmake, Source/cmMakefile.cxx,
- Source/cmSystemTools.cxx, Source/cmSystemTools.h,
- Source/cmake.cxx, Source/cmake.h: ENH: add ability to have
- manifest files and incremental linking with make and nmake
-
-2008-01-01 10:54 king
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: BUG: Fix SimpleInstall test to
- work with new dependency of package on all.
-
-2008-01-01 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-31 17:29 david.cole
-
- * Source/cmGlobalGenerator.cxx: ENH: Add a dependency from the
- PACKAGE target to the ALL target so that "make package" will
- first (essentially) do a "make all"... A similar chunk of code
- already existed for the make install target. This change makes it
- easy to build an installer package as part of a dashboard run
- simply by setting CTEST_BUILD_TARGET to "package".
-
-2007-12-31 11:25 king
-
- * Source/: cmDependsFortran.cxx, cmDependsFortran.h: ENH: Changes
- based on patch from Maik Beckmann to copy fortran modules to
- timestamps only if they have really changed. This optimization
- should reduce extra rebuilds caused by dependencies on modules
- whose providers have recompiled but whose interfaces have not
- changed.
-
-2007-12-31 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-30 16:34 king
-
- * Modules/Platform/SunOS-SunPro-Fortran.cmake: ENH: Add SunPro
- fortran module flags on SunOS.
-
-2007-12-30 16:11 king
-
- * Modules/Platform/Linux-GNU-Fortran.cmake,
- Modules/Platform/Linux-SunPro-Fortran.cmake,
- Modules/Platform/Linux-ifort.cmake, Source/cmDependsFortran.cxx,
- Source/cmDependsFortran.h, Source/cmDocumentVariables.cxx,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.h, Source/cmTarget.cxx,
- Tests/Fortran/CMakeLists.txt,
- Tests/Fortran/Executable/CMakeLists.txt,
- Tests/Fortran/Library/CMakeLists.txt: ENH: Implemented Fortran
- module output directory and search path flags.
-
-2007-12-30 12:23 king
-
- * Source/cmDependsFortran.cxx: ENH: Simplify Fortran module proxy
- dependency implementation by removing unnecessary target.
-
-2007-12-30 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-29 11:53 alex
-
- * Source/cmDocumentation.cxx: BUG: create modules documentation not
- only for the first documentation creation step in cmake (the set
- ModulesFound wasn't cleared at the beginning of each
- PrintDocumentation() function, so when documentation for modules
- was executed the second time, ModulesFound already contained all
- modules and so no module was documented)
-
- Alex
-
-2007-12-29 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-28 23:07 king
-
- * Source/cmLocalGenerator.cxx, Tests/ExternalOBJ/CMakeLists.txt,
- Tests/MakeClean/ToClean/CMakeLists.txt: BUG: Do not remove the
- source file extension when computing an object file name. This
- addresses bug #6169. If CMAKE_BACKWARDS_COMPATIBILITY is 2.4 or
- lower maintain the old behavior so that existing build trees and
- old project releases are not affected.
-
-2007-12-28 23:07 king
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmStandardIncludes.h: ENH: Added method
- cmLocalGenerator::GetBackwardsCompatibility to reduce parsing of
- CMAKE_BACKWARDS_COMPATIBILITY variable. Add
- cmLocalGenerator::NeedBackwardsCompatibility to simplify checks
- for compatibility requirements.
-
-2007-12-28 22:53 king
-
- * Tests/Fortran/CMakeLists.txt: BUG: Disable test of fortran module
- dependencies except on GNU for now. A module path feature is
- needed for Sun support because it uses -M instead of -I for the
- module search path.
-
-2007-12-28 22:29 king
-
- * Source/cmDependsFortran.cxx: COMP: Fix uninitialized variable and
- unused parameter warnings.
-
-2007-12-28 14:59 king
-
- * Source/: cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h: ENH:
- Simplified and moved link script implementation up from
- cmMakefileLibraryTargetGenerator to cmMakefileTargetGenerator and
- use for cmMakefileExecutableTargetGenerator too. This addresses
- bug #6192.
-
-2007-12-28 13:20 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, MacInstallReadme.txt: ENH: add
- some descriptive text for mac installer
-
-2007-12-28 12:01 king
-
- * Source/cmFindBase.cxx: ENH: Make FIND_* commands look in the
- CMAKE_PREFIX_PATH directories directly after looking in each
- command's specific subdirectory (/include, /lib, or /bin). This
- may be useful on Windows where projects could be installed in a
- single directory. See issue #4947.
-
-2007-12-28 11:50 king
-
- * Tests/Fortran/: CMakeLists.txt, Executable/CMakeLists.txt,
- Executable/main.f90, External/CMakeLists.txt, External/a.f90:
- ENH: Add tests of Fortran module dependencies across directories
- and on external modules. Tests based on cases provided by Maik
- in issue #5809.
-
-2007-12-28 11:50 king
-
- * Source/: cmDependsFortran.cxx, cmLocalUnixMakefileGenerator3.cxx:
- ENH: Add per-language clean rule generation to cmake_clean.cmake
- files to include cmake_clean_<lang>.cmake files generated by
- dependency scanning. Add Fortran module file and timestamp
- cleaning rules.
-
-2007-12-28 11:49 king
-
- * Source/: cmDepends.cxx, cmDepends.h, cmDependsFortran.cxx,
- cmDependsFortran.h: ENH: Implement Fortran module dependencies
- across targets and directories. - See issue #5809 - Keep
- information about all sources in the target until deps are
- written - Create a fortran.internal file after scanning that
- lists modules provided - Load fortran.internal files from
- linked targets to find modules - Search the include path for
- external modules - Create file-level deps on in-project module
- timestamps or external mods
-
-2007-12-28 11:49 king
-
- * Source/cmMakefileTargetGenerator.cxx: ENH: Store in
- DependInfo.cmake files a list of the corresponding files for the
- targets to which a target links. This is useful for locating
- Fortran modules provided by linked targets. See issue #5809.
-
-2007-12-28 09:49 hoffman
-
- * ChangeLog.manual, Modules/CPack.Info.plist.in,
- Modules/CPack.cmake: ENH: move over mac package change
-
-2007-12-28 09:34 hoffman
-
- * CMakeLists.txt, ChangeLog.manual: ENH: ooppss there is no 2.4.9
-
-2007-12-28 09:11 hoffman
-
- * CMakeLists.txt, ChangeLog.manual: ENH: make a new version number
-
-2007-12-28 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-27 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-26 16:57 david.cole
-
- * CMakeCPackOptions.cmake.in, Modules/CPack.Info.plist.in,
- Modules/CPack.cmake: ENH: Give Mac installers package relocation
- capability. Default location is still the same for backwards
- compatibility, but packages will now be relocatable by default
- like they are on Windows via the NSIS installer. New CPack
- variables for controlling this functionality are
- CPACK_PACKAGE_DEFAULT_LOCATION and CPACK_PACKAGE_RELOCATABLE.
-
-2007-12-26 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-25 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-24 11:15 king
-
- * Source/cmGlobalGenerator.cxx: COMP: Fix build on VS6.
-
-2007-12-24 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-23 19:03 king
-
- * Source/cmLinkDirectoriesCommand.h: ENH: Clarify documentation of
- link_directories command for bug#6199.
-
-2007-12-23 15:03 king
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h, cmTarget.h: ENH: Moved global
- inter-target dependency analysis and cycle-prevention code up
- from cmGlobalUnixMakefileGenerator3 to cmGlobalGenerator.
- Simplified cmGlobalUnixMakefileGenerator3 to use it. Later other
- generators may be modified to use it also.
-
-2007-12-23 13:16 king
-
- * Source/cmGlobalXCodeGenerator.cxx: BUG: Revert previous change
- until it works on all OSX versions.
-
-2007-12-23 13:13 king
-
- * Source/cmGlobalVisualStudio71Generator.cxx: BUG: Disable static
- lib deps until a global cycle removal can be done.
-
-2007-12-23 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-22 22:41 king
-
- * Source/: cmDepends.cxx, cmDepends.h, cmDependsFortran.cxx,
- cmDependsFortran.h, cmLocalUnixMakefileGenerator3.cxx: ENH:
- Convert cmDepends object interface to scan an entire target at
- once.
-
-2007-12-22 14:17 king
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: Simplify target-level
- dependencies by depending only on directly linked targets instead
- of those chained.
-
-2007-12-22 13:08 king
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h: BUG: Support cyclic
- dependencies among STATIC libraries by removing one from the
- generated Makefile rules.
-
-2007-12-22 10:15 miguelf
-
- * Modules/FindwxWidgets.cmake: STYLE: Refactored common libs into a
- variable, modified comments, and cleaned use of monolithic build.
-
-2007-12-22 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-21 20:19 king
-
- * Tests/BuildDepends/CMakeLists.txt: BUG: Enable
- CMAKE_SUPPRESS_REGENERATION because the entire test runs during
- the inital configuration.
-
-2007-12-21 18:32 king
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h: COMP: Remove unused parameter
- of method.
-
-2007-12-21 16:46 ibanez
-
- * Source/kwsys/SystemTools.cxx: BUG: Fix bug#5590. When
- converting a relative path between two full paths on different
- windows drive letters do not create a ../../d:/foo/bar path
- and just return the full path to the destination.
-
-2007-12-21 15:04 king
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio8Generator.h,
- cmGlobalVisualStudioGenerator.cxx,
- cmGlobalVisualStudioGenerator.h, cmGlobalXCodeGenerator.cxx: ENH:
- Make static library targets depend on targets to which they
- "link" for the purpose of build ordering. This makes the build
- order consistent for static and shared library builds. It is
- also useful when custom command inputs of one library are
- generated as custom commands outputs of another. It may be
- useful in the future for Fortran module dependencies.
- Implemented for Makefiles, Xcode, and VS 8 and above. Added
- sample code to do it for VS 7.1 and below, but left it disabled
- with comments explaining why. Likely it will never be needed on
- VS 7.1 or below anyway.
-
-2007-12-21 13:10 king
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: Now that custom
- targets have dependencies their DependInfo files should be listed
- in Makefile.cmake.
-
-2007-12-21 12:22 king
-
- * Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmGlobalUnixMakefileGenerator3.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalUnixMakefileGenerator3.h,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.h,
- Source/cmMakefileUtilityTargetGenerator.cxx, Source/cmake.cxx,
- Tests/BuildDepends/CMakeLists.txt,
- Tests/BuildDepends/Project/CMakeLists.txt,
- Tests/BuildDepends/Project/dep_custom.cxx,
- Tests/BuildDepends/Project/zot.cxx: ENH: Add a depends check step
- to custom targets. Add support for the IMPLICIT_DEPENDS feature
- of custom commands when building in custom targets. Convert
- multiple-output pair checks to be per-target instead of global.
-
-2007-12-21 11:00 king
-
- * Source/cmMakefileTargetGenerator.cxx: BUG: The dependency
- scanning target should be symbolic.
-
-2007-12-21 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-20 20:59 ewing
-
- * Modules/: FindFreeType.cmake, FindGDAL.cmake, FindGIFLIB.cmake,
- FindLua50.cmake, FindLua51.cmake, FindOpenAL.cmake,
- FindOpenThreads.cmake, FindPhysFS.cmake, FindProducer.cmake,
- FindQuickTime.cmake, FindSDL.cmake, FindSDL_image.cmake,
- FindSDL_mixer.cmake, FindSDL_net.cmake, FindSDL_sound.cmake,
- FindSDL_ttf.cmake, Findosg.cmake, FindosgDB.cmake,
- FindosgFX.cmake, FindosgGA.cmake, FindosgIntrospection.cmake,
- FindosgManipulator.cmake, FindosgParticle.cmake,
- FindosgProducer.cmake, FindosgShadow.cmake, FindosgSim.cmake,
- FindosgTerrain.cmake, FindosgText.cmake, FindosgUtil.cmake,
- FindosgViewer.cmake: BUG: Fixed modules to set FOO_FOUND when
- both headers and libraries are found. BUG: FindSDL now has flag
- it responds to so it will not find/link against SDLmain. This is
- required to build libraries instead of applications since they
- don't have main(). ENH: All modules have a predictable search
- order, where environmental variables are searched before system
- paths. This is designed to make automation easier for those that
- need to automatically build projects without intervention but may
- be using alternative install locations for isolated testing.
- ENH: New modules for OpenSceneGraph, Freetype, GDAL, Lua,
- QuickTime, GIFLIB, Producer, OpenThreads. STYLE: Added
- documentation explaining peculuar SDL_LIBRARY_TEMP variable in
- SDL module when library find is incomplete.
-
-2007-12-20 17:49 alex
-
- * Source/: cmAuxSourceDirectoryCommand.h, cmBuildCommand.h,
- cmCreateTestSourceList.h, cmExportCommand.h,
- cmExportLibraryDependencies.h, cmOptionCommand.h, cmSetCommand.h:
- STYLE: make formatting of help a bit more consistent
-
- Alex
-
-2007-12-20 10:05 martink
-
- * Source/cmFunctionCommand.cxx: BUG: fix issue with
- CMAKE_CURENT_LIST_FILE reporting in funcitons
-
-2007-12-20 09:35 king
-
- * Source/cmSystemTools.h: COMP: Fixed error on HP due to newline
- macro.
-
-2007-12-20 09:27 king
-
- * Source/cmLocalGenerator.cxx: COMP: Fixed data loss warning.
-
-2007-12-20 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-19 17:54 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Fix make depend
- target in subdirectory Makefile interface.
-
-2007-12-19 17:15 king
-
- * Source/: cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h, cmMakefileTargetGenerator.cxx,
- cmSystemTools.cxx, cmSystemTools.h, cmake.cxx: ENH: Enabled color
- printing of "Scanning dependencies of target ..." message.
-
-2007-12-19 16:53 alex
-
- * Source/cmOptionCommand.h: ENH: options() is now scriptable, set()
- is scriptable too, I don't see a big difference
-
- Alex
-
-2007-12-19 16:48 clinton
-
- * Modules/FindQt4.cmake: ENH: Better QT4_EXTRACT_OPTIONS macro.
-
-2007-12-19 16:46 alex
-
- * Source/cmMakefile.cxx: STYLE: nicer error message: "Command
- options() is not scriptable" is IMO better to understand than
- "Command options not scriptable" (with all uppercase commands it
- was easier to see)
-
- Alex
-
-2007-12-19 16:36 king
-
- * Source/: cmDepends.cxx, cmDepends.h, cmLocalGenerator.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h, cmMakefileTargetGenerator.cxx,
- cmake.cxx: ENH: Moved dependency integrity check from
- CheckBuildSystem over to a per-target UpdateDependencies step.
- This greatly reduces the startup time for make processes and
- allows individual targets to be built without a global dependency
- check.
-
-2007-12-19 16:35 king
-
- * Source/cmDependsFortran.cxx: BUG: cmDependsFortran should store
- the source file as a dependency of the object file when scanning
- for dependencies.
-
-2007-12-19 14:28 king
-
- * Source/: cmDependsFortran.cxx, cmDependsFortran.h,
- cmLocalUnixMakefileGenerator3.cxx: ENH: Pass target directory to
- cmDependsFortran scanning instances.
-
-2007-12-19 11:51 king
-
- * Source/cmake.cxx: ENH: Improved speed of cmake::CheckBuildSystem
- when checking build system outputs versus dependencies. Instead
- of doing an O(m*n) comparison of every pair, just locate the
- oldest output and the newest input and compare them which is now
- O(m+n).
-
-2007-12-19 11:06 king
-
- * Source/cmFindBase.cxx, Tests/FindPackageTest/CMakeLists.txt: ENH:
- Renamed CMAKE_FIND_PREFIX_PATH to CMAKE_PREFIX_PATH for brevity
- and consistency with other find path variable names.
-
-2007-12-19 10:43 hoffman
-
- * Source/: cmListCommand.cxx, cmListCommand.h: ENH: merge in list
- find to support Findqt
-
-2007-12-19 10:34 king
-
- * Source/cmFindBase.cxx: ENH: Added CMAKE_SYSTEM_PREFIX_PATH
- variable.
-
-2007-12-19 03:56 alex
-
- * Source/: cmInstallTargetGenerator.cxx,
- cmInstallTargetGenerator.h, cmLocalGenerator.cxx,
- cmLocalGenerator.h:
- STYLE: fix warnings: comparison signed/unsigned, unused variable
-
- Alex
-
-2007-12-19 03:55 alex
-
- * Modules/CMakeFindBinUtils.cmake:
- BUG: make CMAKE_USE_CHRPATH a simple variable instead an option,
- since an option is not scriptable and so breaks the toolchain
- test or maybe option() should be made scriptable ?
-
- Alex
-
-2007-12-19 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-18 17:50 alex
-
- * Modules/CMakeFindBinUtils.cmake,
- Source/cmInstallTargetGenerator.cxx,
- Source/cmInstallTargetGenerator.h, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h, Source/cmTarget.cxx,
- Source/cmTarget.h: ENH: add support for chrpath, so the RPATH in
- ELF files can be changed when installing without having to link
- the target again -> can save a lot of time
-
- chrpath is handled very similar to install_name_tool on the mac.
- If the RPATH in the build tree file is to short, it is padded
- using the separator character. This is currently disabled by
- default, it can be enabled using the option CMAKE_USE_CHRPATH.
- There are additional checks whether it is safe to enable it. I
- will rework them and use FILE(READ) instead to detect whether the
- binaries are actually ELF files.
-
- chrpath is available here
- http://www.tux.org/pub/X-Windows/ftp.hungry.com/chrpath/ or kde
- svn (since a few days):
- http://websvn.kde.org/trunk/kdesupport/chrpath/
-
- Alex
-
-2007-12-18 15:58 hoffman
-
- * Source/: cmGlobalVisualStudio9Generator.cxx,
- cmGlobalVisualStudio9Generator.h,
- cmGlobalVisualStudio9Win64Generator.cxx,
- cmGlobalVisualStudio9Win64Generator.h: ENH: merge from main tree
-
-2007-12-18 15:02 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/FindPkgConfig.cmake,
- Modules/Platform/Linux-ifort.cmake, Source/CMakeLists.txt,
- Source/cmLocalVisualStudio7Generator.h, Source/cmake.cxx,
- Utilities/cmtar/encode.c: ENH: merge in from main tree
-
-2007-12-18 14:50 clinton
-
- * Modules/FindQt4.cmake: ENH: should define QT_DLL instead of
- QT_SHARED
-
-2007-12-18 13:05 clinton
-
- * Modules/FindQt4.cmake: ENH: Improve documentation of new
- features.
-
-2007-12-18 10:02 hoffman
-
- * Modules/FindBoost.cmake: BUG: fix for bug 5464 better find boost
- for windows
-
-2007-12-18 09:57 hoffman
-
- * Source/cmGetSourceFilePropertyCommand.cxx,
- Tests/COnly/CMakeLists.txt: BUG: fix for bug 6172 add get source
- file prop LANGUAGE
-
-2007-12-18 09:50 king
-
- * Source/cmGlobalXCodeGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalUnixMakefileGenerator3.h,
- Source/cmLocalVisualStudio7Generator.cxx,
- Tests/CustomCommand/CMakeLists.txt: ENH: Implemented generation
- of display for pre-build, pre-link, and post-build custom command
- comments during the build. This addresses issue #5353.
-
-2007-12-18 08:53 hoffman
-
- * Source/cmGlobalVisualStudio8Generator.cxx: STYLE: fix line len
-
-2007-12-18 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-17 21:37 hoffman
-
- * Modules/FindPkgConfig.cmake: BUG: fix for 5722
-
-2007-12-17 19:48 king
-
- * Source/cmGlobalXCodeGenerator.cxx: BUG: Remove stray debugging
- message.
-
-2007-12-17 18:38 king
-
- * Source/cmLocalVisualStudioGenerator.cxx: BUG: When the working
- directory for a custom command is on another drive letter we need
- to change to that drive letter after changing its working
- directory. Fixes issue #6150.
-
-2007-12-17 17:57 hoffman
-
- * Modules/TestForANSIForScope.cmake: STYLE: fix doc string
-
-2007-12-17 17:55 king
-
- * Source/: cmDependsFortranParser.cxx, cmDependsFortranParser.y:
- BUG: Fixed memory-leaks in fortran parser.
-
-2007-12-17 17:55 king
-
- * Source/: cmDependsFortranParser.cxx, cmDependsFortranParser.y:
- BUG: Fix parsing of #include preprocessor directives.
-
-2007-12-17 17:54 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: Fortran include
- path is the same as C and CXX include paths.
-
-2007-12-17 17:50 hoffman
-
- * Utilities/cmtar/encode.c: BUG: fix for bug 5837, libtar and long
- path names
-
-2007-12-17 17:40 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/FindPkgConfig.cmake,
- Modules/FindQt3.cmake, Modules/FindQt4.cmake,
- Modules/UseQt4.cmake, Source/cmDependsFortran.cxx,
- Source/cmInstallCommand.cxx, Source/cmMakefile.cxx,
- Source/cmake.cxx, Source/kwsys/SystemTools.cxx,
- Source/kwsys/SystemTools.hxx.in,
- Source/kwsys/SystemTools.hxx.in.bak: ENH: move changes from main
- tree
-
-2007-12-17 17:28 hoffman
-
- * Source/cmGlobalVisualStudio8Generator.cxx: BUG: fix for bug 5931
- add some more flags for the gui
-
-2007-12-17 17:22 hoffman
-
- * Modules/FindJNI.cmake: BUG: fix for 5933, look for java in more
- reg entries
-
-2007-12-17 17:05 alex
-
- * Modules/CTest.cmake: STYLE: use IF(NOT ) instead of IF() ELSE()
- with empty IF() branch
-
- Alex
-
-2007-12-17 16:15 alex
-
- * Docs/cmake-syntax.vim: STYLE: apply patch from #6166, better
- cmake syntax highlighting in vim, seems to fix the issues
- mentioned in the bug report and the rest also still seems to be
- ok
-
- Alex
-
-2007-12-17 15:27 hoffman
-
- * Source/CPack/cmCPackPackageMakerGenerator.cxx: ENH: try to fix
- dashboard
-
-2007-12-17 15:20 king
-
- * Source/cmInstallCommand.cxx: BUG: Apply patch from issue #6006.
-
-2007-12-17 14:43 hoffman
-
- * Source/: CMakeLists.txt, cmGlobalVisualStudio9Win64Generator.cxx,
- cmGlobalVisualStudio9Win64Generator.h, cmake.cxx: ENH: add
- support for vs 9 win64
-
-2007-12-17 12:04 hoffman
-
- * Modules/: CMakeCInformation.cmake, CMakeCXXInformation.cmake,
- CMakeFortranInformation.cmake: BUG: fix for bug 6167 get rid of
- extra space in flags
-
-2007-12-17 10:12 king
-
- * Source/cmTarget.cxx, Tests/Properties/CMakeLists.txt: ENH: Added
- SOURCES property to targets. This is based on patch from issues
- #6137.
-
-2007-12-17 10:12 king
-
- * Source/: cmSourceFile.cxx, cmSourceFile.h: ENH: Added
- cmSourceFile::GetLocation method to get a read-only reference to
- the Location ivar. This partially addresses issue #6137.
-
-2007-12-17 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-16 07:56 alex
-
- * Source/cmStringCommand.cxx: BUG: fix STRING(STRIP ...) if no
- non-space is contained in the input string, this should fix the
- dashboard
-
- Alex
-
-2007-12-16 05:49 alex
-
- * Modules/FindQt4.cmake: STYLE: some whitespace syncing with
- FindQt4.cmake in KDE svn
-
- Alex
-
-2007-12-16 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-15 16:03 king
-
- * Modules/CMakeDetermineCompilerId.cmake: BUG: Need to strip
- leading and trailing whitespace off the compiler 'ARG1'. This
- fixes bug#6141.
-
-2007-12-15 15:36 king
-
- * Tests/Fortran/: CMakeLists.txt, Library/CMakeLists.txt,
- Library/a.f90, Library/b.f90, Library/main.f90: ENH: Added test
- for Fortran90 modules in subdirectories.
-
-2007-12-15 15:35 king
-
- * Source/cmDependsFortran.cxx: ENH: Make module timestamps work for
- modules in subdirectories. Make sure timestamps for all modules
- provided by a target are created when the target is done
- building.
-
-2007-12-15 14:16 king
-
- * Source/: cmFindPackageCommand.cxx, cmFindPackageCommand.h: STYLE:
- Removed trailing whitespace.
-
-2007-12-15 14:14 king
-
- * Source/cmFindBase.cxx: STYLE: Fixed terminology to avoid
- confusion between roots and prefixes.
-
-2007-12-15 14:13 king
-
- * Source/cmake.cxx: STYLE: Fixed line-too-long.
-
-2007-12-15 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-14 20:46 hoffman
-
- * Source/: cmFindLibraryCommand.cxx, cmFindPathCommand.cxx: BUG:
- fix for bug 6039 LIB and INCLUDE not used for find stuff
-
-2007-12-14 20:31 hoffman
-
- * Source/: cmDependsC.cxx, cmDependsFortran.cxx, cmMakeDepend.cxx,
- kwsys/SystemTools.cxx, kwsys/SystemTools.hxx.in: BUG: fix for bug
- 6136 make sure includes are not directories
-
-2007-12-14 16:56 clinton
-
- * Modules/FindQt4.cmake: ENH: Add OPTIONS argument to some Qt4
- macros. Addresses #6125.
-
-2007-12-14 15:50 hoffman
-
- * Source/cmListCommand.h: BUG: fix bug 6081
-
-2007-12-14 14:58 hoffman
-
- * Source/CPack/cmCPackNSISGenerator.cxx: BUG: fix for 6086
- uninstall icon not set right
-
-2007-12-14 12:51 hoffman
-
- * Modules/FindPkgConfig.cmake: BUG: fix for 6117, fix for second
- run
-
-2007-12-14 12:49 hoffman
-
- * Source/cmCreateTestSourceList.h: STYLE: line length
-
-2007-12-14 11:00 hoffman
-
- * Utilities/cmcurl/curl/mprintf.h: BUG: fix for bug 6054 remove
- some warnings
-
-2007-12-14 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-13 18:30 king
-
- * Source/cmake.cxx: COMP: Add missing return value from Bill's
- change.
-
-2007-12-13 17:56 king
-
- * Source/: cmCTest.cxx, cmCTest.h, cmDumpDocumentation.cxx,
- cmSystemTools.cxx, cmSystemTools.h, cmake.cxx, cmake.h,
- cmakemain.cxx, ctest.cxx, CPack/cpack.cxx,
- CTest/cmCTestScriptHandler.cxx, CursesDialog/ccmake.cxx,
- QtDialog/CMakeSetup.cxx: ENH: Centralized and globalized
- computation of CMake program locations. This eliminates startup
- paths that failed to produce this information.
-
-2007-12-13 17:39 king
-
- * Source/cmake.cxx: BUG: Fixed typo introduced by previous commit.
-
-2007-12-13 15:54 hoffman
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmMakefileTargetGenerator.cxx, cmake.cxx, cmake.h: ENH: fix for
- bug 6102, allow users to change the compiler
-
-2007-12-13 15:42 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: STYLE: fix indent
-
-2007-12-13 15:41 hoffman
-
- * Source/cmCreateTestSourceList.h: ENH: fix docs
-
-2007-12-13 15:11 hoffman
-
- * Source/cmakemain.cxx: ENH: fix docs
-
-2007-12-13 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-12 13:25 clinton
-
- * Source/QtDialog/CMakeSetupDialog.cxx: BUG: Fix logic to accept
- drop events.
-
-2007-12-12 07:26 hoffman
-
- * Modules/FindPerlLibs.cmake: BUG: Fix bug 6106 FindPerlLibs.cmake
- missing escaped $
-
-2007-12-12 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-11 22:28 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/FindJNI.cmake,
- Modules/FindPerlLibs.cmake,
- Modules/InstallRequiredSystemLibraries.cmake,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Source/cmTryCompileCommand.cxx: ENH: changes for RC5
-
-2007-12-11 12:57 clinton
-
- * Modules/FindQt4.cmake: ENH: Correctly find UiTools library on
- Mac w/ binary install of Qt. Fixes #4554.
-
-2007-12-11 11:36 king
-
- * Source/kwsys/: CMakeLists.txt, String.c, String.h.in: ENH: Added
- C String utilities to KWSys. Implemented strcasecmp and
- strncasecmp.
-
-2007-12-11 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-10 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-09 19:58 hoffman
-
- * Source/cmLocalVisualStudio7Generator.h: STYLE: fix line len error
-
-2007-12-09 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-08 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-07 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-06 22:38 hoffman
-
- * Tests/COnly/CMakeLists.txt: ENH: change to libs that are not real
-
-2007-12-06 16:43 pppebay
-
- * Source/kwsys/SystemTools.cxx: BUG: fixed an incomplete regexp
-
-2007-12-06 14:07 clinton
-
- * Source/QtDialog/CMakeSetupDialog.cxx: BUG: Prevent mapping of
- Configure to Preferences when Qt merges menu items with the
- standard Mac OS X application menu.
-
-2007-12-06 09:56 hoffman
-
- * Source/cmCoreTryCompile.cxx: ENH: for try compile do not put the
- rules to rebuild the project with cmake inside it. This has
- caused infinite loops of builds in some cases, and it is just a
- waste of time anyway.
-
-2007-12-06 08:40 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Tests/COnly/CMakeLists.txt: BUG: fix for bug 5455, handle
- nodefaultlib with more than one lib
-
-2007-12-06 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-05 13:13 king
-
- * Source/kwsys/SystemTools.cxx: COMP: Remove reference to vtksys.
- The unmangled kwsys name should be used in this source.
-
-2007-12-05 12:24 pppebay
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: added
- two functions for URL parsing: 1. an "abridged" version that
- separates protocol from dataglom in an expression with
- the form protocol://dataglom 2. a "full" version that parses
- protocol, username, password, hostname, port, and path in
- a standard URL (all of these variables are optional,
- except for protocol and hostname).
-
-2007-12-05 10:40 hoffman
-
- * CMakeLists.txt: ENH: move up to rc 4
-
-2007-12-05 10:40 hoffman
-
- * ChangeLog.manual, Modules/NSIS.template.in: ENH: move fix for
- nsis to branch
-
-2007-12-05 09:17 hoffman
-
- * Source/cmDependsFortran.cxx: STYLE: fix line len
-
-2007-12-05 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-04 17:14 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Source/cmCTest.cxx,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio8Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx, Source/cmTarget.cxx:
- ENH: merge in fixes from main tree
-
-2007-12-04 17:00 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: remove warning
-
-2007-12-04 16:09 hoffman
-
- * Source/cmDependsFortran.cxx: ENH: do not depend on touch being on
- the system
-
-2007-12-04 16:03 hoffman
-
- * Source/: cmake.cxx, kwsys/SystemTools.cxx,
- kwsys/SystemTools.hxx.in: ENH: add a touch -E command to cmake
-
-2007-12-04 10:43 martink
-
- * Source/: cmFunctionCommand.cxx, cmFunctionCommand.h: COMP: fix
- style and work around old compilers
-
-2007-12-04 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-03 20:44 hoffman
-
- * DartLocal.conf.in: ENH: remove superior dean i, no longer uses
- borland
-
-2007-12-03 13:35 martink
-
- * Source/cmBootstrapCommands.cxx, Source/cmCommands.cxx,
- Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmake.cxx,
- Tests/CMakeLists.txt: ENH: add functions and raise scope
-
-2007-12-03 12:47 martink
-
- * Source/: cmEndFunctionCommand.cxx, cmEndFunctionCommand.h: ENH:
- add functions
-
-2007-12-03 12:43 martink
-
- * Source/cmFunctionCommand.cxx, Source/cmFunctionCommand.h,
- Source/cmRaiseScopeCommand.cxx, Source/cmRaiseScopeCommand.h,
- Tests/FunctionTest/CMakeLists.txt,
- Tests/FunctionTest/functionTest.c: ENH: add functions and raise
- scope to cmake
-
-2007-12-03 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-02 11:51 hoffman
-
- * DartLocal.conf.in: ENH: fix up some stuff
-
-2007-12-02 09:15 miguelf
-
- * Modules/FindwxWidgets.cmake: STYLE: Clarified usage documentation
- for cmake --help-module FindwxWidgets.
-
-2007-12-02 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-12-01 22:51 miguelf
-
- * Modules/FindwxWidgets.cmake: STYLE: Use LIST(APPEND ...) instead
- of SET(...)
-
-2007-12-01 20:58 miguelf
-
- * Modules/FindwxWidgets.cmake: ENH: Added search entry for the new
- release: wxWidgets-2.8.7.
-
-2007-12-01 20:35 miguelf
-
- * Modules/FindwxWidgets.cmake: ENH: Added support for selecting
- different configurations in UNIX_STYLE: debug/release,
- static/shared, unicode/ansi, and regular/universal.
-
-2007-12-01 19:30 miguelf
-
- * Modules/FindwxWidgets.cmake: ENH: Added macro support for
- compiling xrc resources to cpp code.
-
-2007-12-01 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-11-30 19:11 clinton
-
- * Modules/UseQt4.cmake: ENH: Define QT_NO_DEBUG when building with
- release Qt libs. Fixes #6104.
-
-2007-11-30 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-11-29 10:23 martink
-
- * Source/cmDocumentation.cxx: BUG: fix single module generation
-
-2007-11-29 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-11-28 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-11-27 15:59 hoffman
-
- * Source/cmDocumentationFormatterHTML.cxx: ENH: better output for
- qt assistant
-
-2007-11-27 01:04 clinton
-
- * Source/QtDialog/CMakeSetup.cxx: ENH: Add handling of --help and
- related arguments.
-
-2007-11-27 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-11-26 17:57 alex
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: STYLE:
- restructure OutputLinkLibraries() a bit, so that new there is a
- function which returns the RPATH, so e.g. the install rpath can
- be queried when the command for the build rpath is created. This
- is a first step for supporting chrpath.
-
- Alex
-
-2007-11-26 13:21 barre
-
- * CMakeLogo.gif: ENH: fancier logo
-
-2007-11-26 10:01 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Fixed computation
- of 'object' name for MACOSX_PACKAGE_LOCATION source files.
-
-2007-11-26 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-11-25 17:11 hoffman
-
- * Tests/CMakeLists.txt: BUG: try to fix configure error on
- dashboard
-
-2007-11-25 08:20 alex
-
- * Modules/FindEXPAT.cmake: BUG: use the correct variable for
- checking the success (#6062)
-
- Alex
-
-2007-11-25 07:45 alex
-
- * Source/: cmExtraCodeBlocksGenerator.cxx,
- cmExtraCodeBlocksGenerator.h: STYLE: move the code for generating
- the XML for one target in a separate function AppendTarget() -add
- "all" target -some syncing with the Eclipse generator
-
- Alex
-
-2007-11-25 07:40 alex
-
- * Source/cmExtraEclipseCDT4Generator.cxx: ENH: add the "clean"
- target don't add *all existing* targets as Eclipse targets, but
- only a subset (the same as for CodeBlocks), e.g. exclude the
- subtargets of Experimental, and also edit_cache, ccmake doesn't
- work from within an IDE
-
- Alex
-
-2007-11-25 07:34 alex
-
- * Source/: cmGlobalGenerator.h, cmGlobalUnixMakefileGenerator3.h:
- ENH: add GetCleanTargetName() which returns "clean" for
- makefiles, so it can be used by the eclipse generator
-
- Alex
-
-2007-11-25 06:21 alex
-
- * Source/cmExtraCodeBlocksGenerator.cxx: ENH: also add the
- experimental, nightly, package_source, preinstall and
- rebuild_cache targets
-
- Alex
-
-2007-11-25 05:26 alex
-
- * Source/cmExtraCodeBlocksGenerator.cxx: STYLE: add some comments
-
- Alex
-
-2007-11-25 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-11-24 03:51 alex
-
- * Source/: cmQTWrapCPPCommand.h, cmQTWrapUICommand.h: STYLE: QT ->
- Qt in the docs
-
- Alex
-
-2007-11-24 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-11-23 20:45 alex
-
- * CMakeLists.txt, Modules/Platform/syllable.cmake,
- Source/kwsys/SystemTools.cxx, Source/kwsys/testDynamicLoader.cxx,
- Tests/CMakeLists.txt, Utilities/cmtar/CMakeLists.txt: ENH: add
- support for the Syllable OS (http://www.syllable.org) major
- issues: -access() doesn't return false for an empty string
- (#ifdefed in cmake) -dlopen() doesn't return 0 on failure
- (#ifdefed in cmake and fixed now in Syllable) -the kwsys and
- Bootstrap tests fail with timeout due to the fact that I'm doing
- all that in qemu, which is quite slow -RPATH is now supported, so
- without modifying the test adapting DLL_PATH in Syllable is
- required for the tests to succeed -the Plugin test fails with an
- undefined reference to example_exe_function() in example_mod_1,
- it seems this isn't supported under Syllable
-
- Alex
-
-2007-11-23 14:53 king
-
- * Source/cmMakefileTargetGenerator.cxx: STYLE: Fixed line-too-long.
-
-2007-11-23 11:30 alex
-
- * Source/cmQTWrapCPPCommand.cxx: STYLE: QT is quicktime, Qt is Qt,
- as pointed out by David Faure
-
- Alex
-
-2007-11-23 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-11-22 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-11-21 17:09 david.cole
-
- * DartLocal.conf.in: STYLE: Updated and alphabetized expected
- builds list. Many new Mac Leopard entries from Rogue -- thanks
- guys!
-
-2007-11-21 15:33 david.cole
-
- * Templates/CMakeLists.txt: BUG: Install the vsmacros file.
-
-2007-11-21 13:37 king
-
- * Source/cmMakefileTargetGenerator.cxx: ENH: Change compiler
- working directory to the local build tree location when compiling
- object files. This simplifies the compiler command line and the
- usage of the <objBase>.s and <objBase>.i targets. It also helps
- fortran compilers put their modules in the correct place.
-
-2007-11-21 12:55 king
-
- * CMakeLists.txt: BUG: Fixed construction of CMake_VERSION_DATE to
- use KWSys DateStamp feature now that cmVersion.cxx is not updated
- nightly anymore.
-
-2007-11-21 10:07 king
-
- * Source/cmCTest.cxx: BUG: Do not require a nightly start time for
- an experimental or continuous test model.
-
-2007-11-21 08:59 king
-
- * Source/cmTarget.cxx: BUG: For imported target directory, do not
- return pointer to freed memory.
-
-2007-11-21 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-11-20 11:18 king
-
- * Source/cmLocalVisualStudio6Generator.cxx: BUG: Need to honor
- HEADER_FILE_ONLY source file property and exclude the source from
- the build.
-
-2007-11-20 11:10 king
-
- * Source/: cmCallVisualStudioMacro.cxx, cmGlobalGenerator.cxx,
- cmGlobalVisualStudio8Generator.cxx,
- cmGlobalVisualStudio9Generator.cxx,
- cmGlobalVisualStudioGenerator.cxx: STYLE: Fixed line-too-long.
- COMP: Fixed warnings about lossy conversions.
-
-2007-11-20 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-11-19 14:27 king
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- Complex/Executable/complex_nobuild.cxx,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/complex_nobuild.cxx,
- ComplexRelativePaths/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/complex_nobuild.cxx: ENH: Adding
- test for using HEADER_FILE_ONLY to avoid building a .cxx file.
-
-2007-11-19 14:27 king
-
- * Source/cmSourceFile.cxx: BUG: Do not force HEADER_FILE_ONLY off
- if the user has already set it on.
-
-2007-11-19 14:22 king
-
- * Source/cmake.cxx: COMP: Do not build VS-specific code when
- generators are not included.
-
-2007-11-19 14:08 clinton
-
- * Source/QtDialog/CMakeLists.txt: ENH: Add install command for
- executable.
-
-2007-11-19 13:45 king
-
- * Source/: cmake.cxx, cmake.h: ENH: Added call to StopBuild VS
- macro when projects fail to regenerate during a build.
-
-2007-11-19 13:44 king
-
- * Source/: cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio8Generator.cxx,
- cmGlobalVisualStudioGenerator.cxx,
- cmGlobalVisualStudioGenerator.h: ENH: Renamed
- cmGlobalVisualStudioGenerator::CallVisualStudioReloadMacro method
- to CallVisualStudioMacro and added arguments to select which
- macro to call and optionally pass the solution file name. Added
- option to call to new StopBuild macro. Updated logic for
- replacing the macro file in user directories when the distributed
- version is newer.
-
-2007-11-19 13:44 king
-
- * Templates/CMakeVSMacros1.vsmacros: ENH: Added StopBuild macro.
-
-2007-11-19 13:42 king
-
- * Source/cmakemain.cxx: BUG: Always return positive integers to the
- OS on error. Windows error encoding is confused by negative
- return values.
-
-2007-11-19 13:42 king
-
- * Source/cmListFileCache.cxx: BUG: ParseFile should return false if
- there was a parse error.
-
-2007-11-19 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-11-18 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-11-17 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-11-16 21:18 clinton
-
- * Source/QtDialog/AddCacheEntry.cxx: ENH: Remove debug printf
-
-2007-11-16 13:54 david.cole
-
- * Source/cmGlobalVisualStudioGenerator.cxx: ENH: Add more
- conditions for attempting to call the new Visual Studio macros.
- Only try to call them if the vsmacros file exists and is
- registered. Count VS instances again after warning about running
- instances. If user closed them in response to the warning, it's
- OK to register the macros now rather than waiting till the next
- CMake generate.
-
-2007-11-16 11:32 hoffman
-
- * Source/CTest/cmCTestCoverageHandler.cxx: ENH: add support for
- CDash bullseye coverage
-
-2007-11-16 11:01 king
-
- * Source/: cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio8Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: BUG: Fix exception handling
- flag translation to be specific to each VS version. This allows
- /EHa to be handled correctly for VS 2003.
-
-2007-11-16 10:40 clinton
-
- * Source/QtDialog/QCMakeCacheView.cxx: ENH: more robust search
- filter.
-
-2007-11-16 07:01 david.cole
-
- * Source/CMakeLists.txt, Source/cmCallVisualStudioMacro.cxx,
- Source/cmCallVisualStudioMacro.h,
- Source/cmGeneratedFileStream.cxx, Source/cmGeneratedFileStream.h,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio8Generator.cxx,
- Source/cmGlobalVisualStudio8Generator.h,
- Source/cmGlobalVisualStudio9Generator.cxx,
- Source/cmGlobalVisualStudio9Generator.h,
- Source/cmGlobalVisualStudioGenerator.cxx,
- Source/cmGlobalVisualStudioGenerator.h,
- Source/cmLocalVisualStudio7Generator.cxx, Source/cmake.cxx,
- Source/kwsys/SystemTools.cxx, Templates/CMakeVSMacros1.vsmacros:
- ENH: Add ability to call Visual Studio macros from CMake. Add a
- CMake Visual Studio macro to reload a solution file automatically
- if CMake makes changes to .sln files or .vcproj files. Add code
- to call the macro automatically for any running Visual Studio
- instances with the .sln file open at the end of the Visual Studio
- Generate call. Only call the macro if some .sln or .vcproj file
- changed during Generate. Also, add handling for REG_EXPAND_SZ
- type to SystemTools::ReadRegistryValue - returned string has
- environment variable references expanded.
-
-2007-11-16 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-11-15 13:14 hoffman
-
- * Modules/Platform/Darwin.cmake: ENH: add support for env var and
- better default for CMAKE_OSX_SYSROOT
-
-2007-11-15 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: STYLE: Nightly Date Stamp
-
-2007-11-14 23:30 clinton
-
- * Source/QtDialog/QCMakeCacheView.cxx: COMP: Fix warning.
-
-2007-11-14 21:17 king
-
- * bootstrap, Source/cmVersion.cxx: ENH: Simplified CMake version
- information using KWSys DateStamp feature. Reduced duplicate
- code in bootstrap script.
-
-2007-11-14 18:08 clinton
-
- * Modules/FindQt4.cmake: ENH: Fix case of windows library names to
- support cross compiling w/ Qt on case sensitive platforms.
-
-2007-11-14 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: daily version number
-
-2007-11-13 23:13 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-11-13 16:25 alex
-
- * Source/QtDialog/CMakeSetupDialog.cxx: ENH: add completer for the
- source and binary dir lineedits
-
- Clinton: do I actually have to create separate models for each
- completer, and a separate completer for each widget, or could the
- models/completers be used for multiple widgets ?
-
- Alex
-
-2007-11-13 12:53 clinton
-
- * Source/QtDialog/QCMakeCacheView.cxx: ENH: single click can start
- editing cache values.
-
-2007-11-13 11:21 martink
-
- * Tests/Tutorial/Step6/CMakeLists.txt: ENH: switch to new install
- commands to match book text
-
-2007-11-13 11:18 clinton
-
- * Source/QtDialog/QCMakeCacheView.cxx: BUG: The search is set to
- apply to all columns, but in Qt 4.2, that breaks the search
- entirely. Search on the first column only when using Qt 4.2.
-
-2007-11-13 11:11 martink
-
- * Tests/Tutorial/: Step3/CMakeLists.txt,
- Step3/MathFunctions/CMakeLists.txt, Step4/CMakeLists.txt,
- Step4/MathFunctions/CMakeLists.txt, Step5/CMakeLists.txt,
- Step5/MathFunctions/CMakeLists.txt, Step6/CMakeLists.txt,
- Step6/MathFunctions/CMakeLists.txt, Step7/CMakeLists.txt,
- Step7/MathFunctions/CMakeLists.txt: ENH: switch to new install
- commands to match book text
-
-2007-11-13 00:33 clinton
-
- * Source/QtDialog/: CMakeSetup.cxx, CMakeSetupDialog.cxx: ENH:
- support specifying build or source directory at command line.
-
-2007-11-13 00:17 clinton
-
- * Source/QtDialog/: QCMakeCacheView.cxx, QCMakeCacheView.h: ENH:
- Allow clicking anywhere in field to toggle check boxes.
-
-2007-11-13 00:01 king
-
- * Source/kwsys/kwsysDateStamp.cmake: daily version number
-
-2007-11-12 23:59 clinton
-
- * Source/QtDialog/: AddCacheEntry.cxx, AddCacheEntry.h: STYLE: add
- license.
-
-2007-11-12 23:54 clinton
-
- * Source/QtDialog/: AddCacheEntry.cxx, AddCacheEntry.h,
- AddCacheEntry.ui, CMakeLists.txt, CMakeSetup.qrc,
- CMakeSetupDialog.cxx, CMakeSetupDialog.h, CMakeSetupDialog.ui,
- Plus16.png, QCMake.cxx, QCMakeCacheView.cxx, QCMakeCacheView.h:
- ENH: Add ability to add cache entries (even before first
- configure).
-
-2007-11-12 23:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-11-12 22:36 hoffman
-
- * Source/cmGlobalGenerator.cxx: ENH: add f stuff to avoid warnings
-
-2007-11-12 22:33 hoffman
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h: ENH: add
- guess progress for first time configuring a project.
-
-2007-11-12 18:22 king
-
- * Source/kwsys/kwsysDateStamp.cmake: daily version number
-
-2007-11-12 18:22 king
-
- * Source/kwsys/: DateStamp.h.in, kwsysDateStamp.py: ENH: Created
- better names and a more convenient set of version date stamp
- macros.
-
-2007-11-12 18:06 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.ui: ENH:
- Fix layout with Qt 4.2. BUG: Fix help comments to match what
- this GUI does.
-
-2007-11-12 17:51 clinton
-
- * Source/QtDialog/CMakeSetupDialog.cxx: BUG: Fix prompt for
- changes if they haven't been saved.
-
-2007-11-12 17:41 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h,
- CMakeSetupDialog.ui:
- BUG: Fix pause at shutdown. ENH: Remove interrupt button and
- make configure/generate turn to stop during runs. ENH: Add text
- to remove cache entry button.
-
-2007-11-12 17:38 king
-
- * Source/kwsys/CMakeLists.txt: BUG: Fixed typo in previous commit.
-
-2007-11-12 17:34 king
-
- * Source/kwsys/: CMakeLists.txt, DateStamp.h.in,
- kwsysDateStamp.cmake, kwsysDateStamp.py: ENH: Adding DateStamp
- feature to KWSys. This provides a header file giving
- preprocessor access to a dated version. The 'datestamp' will be
- updated automatically every day by a script.
-
-2007-11-12 16:58 king
-
- * Source/cmake.cxx: BUG: Fix messages for time stamp file
- recreation.
-
-2007-11-12 15:42 king
-
- * Source/: cmGlobalVisualStudio8Generator.cxx,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h: BUG: Converted per-vcproj
- timestamp to a single directory-level CMakeFiles/generate.stamp
- file shared by all targets in each directory. This avoids having
- all targets overwrite each others timestamp check rules and
- instead has one single rule.
-
-2007-11-12 13:54 clinton
-
- * Source/QtDialog/: CMakeLists.txt, CMakeSetupDialog.ui: ENH:
- Allow build with Qt 4.2.
-
- 4.3 dependence fell out when errors go to output
- window instead of message box blocking cmake thread.
-
-2007-11-12 13:52 miguelf
-
- * Modules/FindwxWidgets.cmake: BUG: Fix to support arch and
- isysroot compilation options on MAC (Bug 5007).
-
-2007-11-12 12:04 martink
-
- * Source/cmCPluginAPI.cxx: BUG: better setup of properties for
- loaded commands
-
-2007-11-11 23:05 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-11-10 23:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-11-10 17:31 king
-
- * Tests/Wrapping/: CMakeLists.txt, fakefluid.cxx: BUG: Fixed fake
- generation of files to behave more like fluid.
-
-2007-11-10 11:36 clinton
-
- * Source/QtDialog/: CMakeSetup.qrc, CMakeSetupDialog.cxx,
- CMakeSetupDialog.h, CMakeSetupDialog.ui, Delete16.png,
- QCMakeCacheView.cxx, QCMakeCacheView.h:
- ENH: Re-arrange UI a bit. BUG: Properly update when values
- that changed since the last configure.
-
-2007-11-10 08:15 king
-
- * Source/: cmGlobalVisualStudio8Generator.cxx,
- cmLocalVisualStudio7Generator.cxx, cmake.cxx, cmake.h: ENH: Allow
- VS 7 project Rebuild and Solution Rebuild to work without
- re-running CMake for every project during the rebuild.
-
-2007-11-10 08:14 king
-
- * Source/cmDocumentVariables.cxx: STYLE: Fixed line-too-long for
- undocumented variable entries.
-
-2007-11-10 06:54 david.cole
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: BUG: Need extra regex to parse
- sw_vers output on Mac OSX 10.2 (and presumably earlier) to avoid
- running PackageMaker during the SimpleInstall* tests. See comment
- in CMake/Tests/SimpleInstall/CMakeLists.txt for more info.
-
-2007-11-09 23:16 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-11-09 15:18 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h,
- QCMake.cxx, QCMake.h, QCMakeCacheView.cxx, QCMakeCacheView.h:
- BUG: Don't prompt for unsaved changes if no changes were made.
- ENH: Error messages go to output window instead of message
- boxes.
-
-2007-11-09 15:08 king
-
- * Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Templates/CMakeWindowsSystemConfig.cmake: ENH: Removed dependency
- on Templates/CMakeWindowsSystemConfig.cmake which is no longer
- used. Also removed the file itself.
-
-2007-11-09 12:18 hoffman
-
- * Modules/InstallRequiredSystemLibraries.cmake: ENH: change name
-
-2007-11-09 12:05 king
-
- * Source/: cmGlobalVisualStudio8Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: ENH: Converted vcproj file
- generation to use cmGeneratedFileStream for atomic replacement.
- Replaced the vcproj.cmake copy of the file with a simple
- vcproj.stamp timestamp file to preserve previous
- rerun-without-reload behavior.
-
-2007-11-09 01:14 clinton
-
- * Source/QtDialog/QCMakeCacheView.cxx: ENH: Add completion to
- editor for files and file paths.
-
-2007-11-08 23:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-11-08 20:37 hoffman
-
- * Modules/InstallRequiredSystemLibraries.cmake: ENH: add ability to
- use your own install directories
-
-2007-11-08 16:47 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, QCMake.cxx: BUG: Don't
- enable generate if configure completed with errors. ENH: Allow
- build w/ Qt configured with no STL support.
-
-2007-11-08 15:54 david.cole
-
- * Source/QtDialog/CMakeSetup.ico, Utilities/Release/CMakeLogo.ico:
- ENH: Put black outline around all resolutions of the new ico
- files. Looks better on a dark background than the lighter
- outline...
-
-2007-11-08 14:31 hoffman
-
- * Modules/Platform/Darwin.cmake: ENH: fix bug in default arch, it
- was using the environment variable which is not a default
-
-2007-11-08 13:03 hoffman
-
- * Source/CTest/cmCTestTestHandler.cxx: BUG: try to fix crash
-
-2007-11-08 12:27 clinton
-
- * Modules/FindQt4.cmake: BUG: handle qmake returning multiple
- paths for mkspecs. Fixes #5935
-
-2007-11-08 10:56 clinton
-
- * Modules/FindQt4.cmake: ENH: Add support for static Qt 4.3
- builds.
-
-2007-11-08 10:38 david.cole
-
- * Tests/: CMakeLists.txt, Tutorial/Step6/CMakeLists.txt,
- Tutorial/Step6/License.txt, Tutorial/Step6/TutorialConfig.h.in,
- Tutorial/Step6/tutorial.cxx,
- Tutorial/Step6/MathFunctions/CMakeLists.txt,
- Tutorial/Step6/MathFunctions/MakeTable.cxx,
- Tutorial/Step6/MathFunctions/MathFunctions.h,
- Tutorial/Step6/MathFunctions/mysqrt.cxx,
- Tutorial/Step7/CMakeLists.txt, Tutorial/Step7/CTestConfig.cmake,
- Tutorial/Step7/License.txt, Tutorial/Step7/TutorialConfig.h.in,
- Tutorial/Step7/build1.cmake, Tutorial/Step7/build2.cmake,
- Tutorial/Step7/tutorial.cxx,
- Tutorial/Step7/MathFunctions/CMakeLists.txt,
- Tutorial/Step7/MathFunctions/MakeTable.cxx,
- Tutorial/Step7/MathFunctions/MathFunctions.h,
- Tutorial/Step7/MathFunctions/mysqrt.cxx: ENH: Add new Tutorial
- steps. Diff between Step5 and Step6 shows how to add a cpack
- driven installer to your project. Diff between Step6 and Step7
- shows how to add ctest dashboard scripting capability.
-
-2007-11-08 10:22 clinton
-
- * Source/QtDialog/QCMakeCacheView.cxx: COMP: Fix warnings.
-
-2007-11-08 10:17 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.ui,
- QCMake.cxx, QCMakeCacheView.cxx, QCMakeCacheView.h:
- ENH: add context menu for deleting, ignoring, and getting help
- for cache entries. ENH: add delete cache button ENH: add
- information string above configure/generate buttons ENH: change
- search to search both columns, and from regex to plain string
- search ENH: add buddy info in cache entry view, so double
- clicking in the left column starts editing the associated
- value. BUG: fix file path editor so it goes away when focus is
- lost
-
-2007-11-08 09:09 david.cole
-
- * Modules/Platform/Darwin.cmake: BUG: Do not us the
- search_paths_first flag on older Mac OSX (10.2 and earlier)
- systems.
-
-2007-11-07 23:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-11-07 17:43 hoffman
-
- * Utilities/Release/vogon_release.cmake: ENH: add mt to vogon
- release
-
-2007-11-07 14:35 hoffman
-
- * Utilities/cmcurl/CMakeLists.txt: ENH: remove memdebug.c from list
-
-2007-11-07 13:11 hoffman
-
- * CMakeCPack.cmake, CMakeCPackOptions.cmake.in,
- Source/CPack/cmCPackNSISGenerator.cxx: ENH: change
- CPACK_CREATE_DESKTOP_LINKS to something that can handle spaces in
- the name of the exectuable
-
-2007-11-07 11:31 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h,
- CMakeSetupDialog.ui:
- ENH: remove status bar and move interrupt/progress next to
- configure/generate.
-
-2007-11-07 10:09 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h,
- CMakeSetupDialog.ui, QCMakeCacheView.cxx, QCMakeCacheView.h:
- BUG: Fix behavior of
- CMakeSetupDialog::set{Binary|Source}Directory so they work
- right when called externally. Disable the generate button
- when one hits configure again. ENH: Some UI tweaks for spacing.
- Allow viewing cache values while configure/generate (but
- not edit).
-
-2007-11-07 09:12 king
-
- * Source/CTest/cmCTestSubmitHandler.cxx: COMP: Fix check for
- file-too-big to avoid warnings.
-
-2007-11-07 08:59 king
-
- * Source/kwsys/SystemTools.cxx: COMP: Fix warning when gcount
- stream method does not really return std::streamsize.
-
-2007-11-06 23:00 clinton
-
- * Source/QtDialog/: CMakeLists.txt, CMakeSetup.icns, QCMake.cxx:
- ENH: For Mac OSX -- add app icon, and implement find of cmake
- executable.
-
-2007-11-06 22:55 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-11-06 22:27 clinton
-
- * Source/QtDialog/CMakeSetupDialog.cxx: BUG: disable drag & drop
- while busy.
-
-2007-11-06 21:51 clinton
-
- * Source/QtDialog/CMakeSetupDialog.cxx: BUG: only handle drop
- events if they'll really change something.
-
-2007-11-06 21:27 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h:
- BUG: Put back read/write of original WhereBuild* settings. ENH:
- Make public a couple functions to support command line args.
- Try removing exit after generate to see if others like it.
- COMP: Fix warnings.
-
-2007-11-06 19:25 clinton
-
- * Source/QtDialog/: CMakeSetup.cxx, CMakeSetupDialog.cxx,
- CMakeSetupDialog.h, CMakeSetupDialog.ui, QCMake.cxx,
- QCMakeCacheView.cxx, QCMakeCacheView.h:
- ENH: Disable menu/buttons when doing configure. Also
- disable generate until configure is done. Save more
- settings (last 10 binary directories, exit after generate,
- last generator) Some UI tweaks for
- better layout. Support drag & drop of
- CMakeLists.txt/CMakeCache.txt files.
-
-2007-11-06 14:16 martink
-
- * Source/: cmDocumentVariables.cxx, cmMakefile.cxx,
- cmPropertyMap.cxx, cmake.cxx, cmake.h: ENH: different way of
- testing properties
-
-2007-11-06 14:14 martink
-
- * CMakeLists.txt, Source/CMakeLists.txt: ENH: move CMAKE_STRICT
- option to the top
-
-2007-11-06 14:11 martink
-
- * Tests/CMakeLists.txt: ENH: add doc test for strict builds
-
-2007-11-06 14:10 martink
-
- * Tests/DocTest/: CMakeLists.txt, DocTest.cxx: ENH: add a etst to
- verify props are documented
-
-2007-11-06 08:28 hoffman
-
- * Source/CPack/: cmCPackGenerator.cxx, cmCPackGenerator.h,
- cpack.cxx: ENH: changne ProcessGenertor to DoPackage
-
-2007-11-06 08:27 hoffman
-
- * Source/CPack/cmCPackDebGenerator.cxx: STYLE: fix line length
- issue
-
-2007-11-06 01:16 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h,
- CMakeSetupDialog.ui, QCMake.cxx, QCMake.h: ENH: Add menus in
- menu bar. Add reload & delete cache options. Add
- option to quit after generation step (not yet remembered between
- sessions). Add Help -> About Remove Help button (in
- menu now) Remove Cancel button (File -> Exit and the
- Window 'X' button exist)
-
-2007-11-06 00:04 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.ui: ENH:
- clarify label for current generator.
-
-2007-11-06 00:02 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h,
- CMakeSetupDialog.ui, QCMakeCacheView.cxx: ENH: search is case
- insensitive ENH: put back prompt for generator, and change combo
- to label showing current generator.
-
-2007-11-05 22:32 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-11-05 19:26 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h,
- CMakeSetupDialog.ui, QCMakeCacheView.cxx, QCMakeCacheView.h:
- ENH: Replace prompt for generator with combobox in UI. ENH:
- Make "Show Advanced" toggle work. ENH: Add regex search
- capabilities. ENH: Read existing registry entries from MFC
- CMakeSetup.exe (will save later).
-
-2007-11-05 18:06 alex
-
- * CMakeLists.txt: COMP: use RPATH is building QtDialog and the Qt
- libs are not in /lib or /usr/lib (same logic as for ccmake)
-
- Alex
-
-2007-11-05 17:44 king
-
- * Source/kwsys/kwsys_ios_iostream.h.in: COMP: Add streamsize and
- streamoff to kwsys_ios namespace for ancient streams.
-
-2007-11-05 16:57 david.cole
-
- * DartLocal.conf.in: STYLE: Trade in expected arrakis dashboards
- for resurrected equivalent ones on dash14.
-
-2007-11-05 16:55 hoffman
-
- * Source/: CMakeLists.txt, CPack/cmCPackDebGenerator.h,
- CPack/cmCPackGenerator.cxx, CPack/cmCPackGenerator.h,
- CPack/cmCPackGeneratorFactory.cxx,
- CPack/cmCPackGeneratorFactory.h,
- CPack/cmCPackGenericGenerator.cxx,
- CPack/cmCPackGenericGenerator.h, CPack/cmCPackNSISGenerator.h,
- CPack/cmCPackOSXX11Generator.h,
- CPack/cmCPackPackageMakerGenerator.h,
- CPack/cmCPackRPMGenerator.h, CPack/cmCPackTGZGenerator.h,
- CPack/cmCPackZIPGenerator.h, CPack/cpack.cxx: ENH: change name
-
-2007-11-05 16:33 hoffman
-
- * Source/: CMakeLists.txt, CPack/cmCPackGeneratorFactory.cxx,
- CPack/cmCPackGeneratorFactory.h, CPack/cmCPackGenerators.cxx,
- CPack/cmCPackGenerators.h, CPack/cpack.cxx: ENH: change name of
- class
-
-2007-11-05 14:34 king
-
- * Source/cmake.cxx, Source/CPack/cmCPackDebGenerator.cxx,
- Source/CPack/cmCPackNSISGenerator.cxx,
- Source/CPack/cmCPackPackageMakerGenerator.cxx,
- Source/CPack/cmCPackPackageMakerGenerator.h,
- Source/CTest/cmCTestCoverageHandler.cxx,
- Source/CTest/cmCTestSubmitHandler.cxx,
- Source/kwsys/SystemTools.cxx, Utilities/cmcurl/ftp.c: COMP: Fix
- warnings on 64-bit Mac OS X build. Patch from issue #3697.
-
-2007-11-05 13:20 clinton
-
- * Source/QtDialog/: CMakeSetup.cxx, CMakeSetupDialog.cxx,
- CMakeSetupDialog.h, QCMake.cxx, QCMake.h, QCMakeCacheView.cxx,
- QCMakeCacheView.h:
- ENH: Prompt user for generator when there is none. Many
- minor improvements, bug fixes, and style fixes.
-
-2007-11-04 22:00 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-11-04 01:20 miguelf
-
- * Modules/FindwxWidgets.cmake: BUG: Fixed error related to missing
- quotes around variable.
-
-2007-11-03 23:04 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-11-03 19:48 clinton
-
- * Source/QtDialog/: CMakeSetupDialog.cxx, CMakeSetupDialog.h,
- CMakeSetupDialog.ui, QCMake.cxx, QCMake.h, QCMakeCacheView.cxx,
- QCMakeCacheView.h:
- ENH: Allow working with empty build directories. Make
- output window a bit smaller compared to cache view. Prompt
- on X'ing window as well as hitting cancel. Color new cache
- values red, and put them first.
-
-2007-11-03 13:28 clinton
-
- * Source/QtDialog/QCMakeCacheView.cxx: COMP: Fix some compile
- warnings. STYLE: Make style a bit more consistent.
-
-2007-11-03 12:50 hoffman
-
- * Source/QtDialog/: CMakeSetup.cxx, CMakeSetupDialog.h, QCMake.h,
- QCMakeCacheView.h: ENH: remove qt warnings from qt with MS
- compiler
-
-2007-11-03 12:07 hoffman
-
- * Source/QtDialog/QCMakeCacheView.h: ENH: fix compile error on
- windows
-
-2007-11-03 10:30 clinton
-
- * Source/QtDialog/: CMakeLists.txt, CMakeSetup.cxx, CMakeSetup.ico,
- CMakeSetup.png, CMakeSetup.qrc, CMakeSetup.rc,
- CMakeSetupDialog.cxx, CMakeSetupDialog.h, CMakeSetupDialog.png,
- CMakeSetupDialog.ui, QCMake.cxx, QCMake.h, QCMakeCacheView.cxx,
- QCMakeCacheView.h:
- ENH: Add interrupt button near progress bar. Implement
- help button. Implement cancel button. Add
- scrollable output window. Replace ON/OFF & combobox
- editors with checkboxes. Tab/backtab in cache table jumps
- between values (not names and values) Add tooltips to show
- help strings. Add application icon and qtmain for Windows.
-
- BUG: Fix save of cache values on configure.
-
-2007-11-02 23:00 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-11-02 14:12 clinton
-
- * Source/QtDialog/CMakeLists.txt: COMP: Fix build on Windows.
-
-2007-11-02 12:03 hoffman
-
- * Source/CMakeLists.txt: ENH: add option for qt dialog
-
-2007-11-02 11:55 clinton
-
- * Source/QtDialog/: CMakeSetup.cxx, CMakeSetupDialog.cxx,
- CMakeSetupDialog.h, QCMake.cxx, QCMake.h, QCMakeCacheView.cxx,
- QCMakeCacheView.h: STYLE: Add license info to code.
-
-2007-11-02 11:50 clinton
-
- * Source/QtDialog/: CMakeLists.txt, CMakeSetup.cxx, CMakeSetup.qrc,
- CMakeSetupDialog.cxx, CMakeSetupDialog.h, CMakeSetupDialog.png,
- CMakeSetupDialog.ui, QCMake.cxx, QCMake.h, QCMakeCacheView.cxx,
- QCMakeCacheView.h: ENH: Beginnings of a Qt UI for CMake.
-
-2007-11-02 10:46 hoffman
-
- * Tests/: CMakeLists.txt, Wrapping/CMakeLists.txt,
- Wrapping/qtnoqtmain.cxx: ENH: remove findqt3 from cmake's
- cmakelist files
-
-2007-11-01 22:50 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-11-01 16:21 hoffman
-
- * Source/QtDialog/README: ENH: create a directory for qt interface
- to cmake
-
-2007-11-01 09:52 hoffman
-
- * Modules/CPackRPM.cmake: ENH: fix for RPM generator from Eric
-
-2007-11-01 08:36 david.cole
-
- * Utilities/Release/CMakeLogo.ico: ENH: Add more resolutions for
- CMake icons to avoid that bloated chunky blown up icon look...
-
-2007-10-31 22:48 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-31 13:57 martink
-
- * Source/cmDocumentVariables.cxx: ENH: minor fix
-
-2007-10-31 13:38 martink
-
- * Source/cmDocumentVariables.cxx: ENH: added documentation for more
- variables
-
-2007-10-31 12:55 hoffman
-
- * CMakeCPack.cmake, CMakeCPackOptions.cmake.in,
- CPackConfig.cmake.in, CPackSourceConfig.cmake.in,
- Source/CPack/cmCPackGenericGenerator.cxx: ENH: add
- CPACK_PROJECT_CONFIG_FILE option to CPack
-
-2007-10-31 10:49 hoffman
-
- * Utilities/Release/CMakeLogo.ico: ENH: add icon for installer
-
-2007-10-31 09:39 king
-
- * Source/kwsys/SystemTools.cxx: BUG: Merge changes from 1.205-1.207
- from trunk to gccxml-gcc42 branch.
-
-2007-10-31 09:37 king
-
- * Source/kwsys/SystemTools.hxx.in: STYLE: Fix documentation (merge
- from trunk)
-
-2007-10-31 09:03 hoffman
-
- * Source/CPack/cmCPackNSISGenerator.cxx: ENH: fix line length
-
-2007-10-31 08:50 david.cole
-
- * Modules/CPack.cmake,
- Source/CPack/cmCPackCygwinBinaryGenerator.cxx,
- Source/CPack/cmCPackCygwinBinaryGenerator.h,
- Source/CPack/cmCPackCygwinSourceGenerator.cxx,
- Source/CPack/cmCPackCygwinSourceGenerator.h,
- Source/CPack/cmCPackDebGenerator.cxx,
- Source/CPack/cmCPackDebGenerator.h,
- Source/CPack/cmCPackGenericGenerator.cxx,
- Source/CPack/cmCPackGenericGenerator.h,
- Source/CPack/cmCPackOSXX11Generator.cxx,
- Source/CPack/cmCPackOSXX11Generator.h,
- Source/CPack/cmCPackPackageMakerGenerator.cxx,
- Source/CPack/cmCPackPackageMakerGenerator.h,
- Source/CPack/cmCPackRPMGenerator.cxx,
- Source/CPack/cmCPackRPMGenerator.h: ENH: Add CPACK_SET_DESTDIR
- handling to enable packaging of installed files in absolute
- locations. With this setting on, cpack will set the DESTDIR env
- var when building the package so that files end up in their
- intended locations. Default behavior is not to set DESTDIR for
- backwards compatibility. Helps address issue #4993 and issue
- #5257. Also, remove unused CPACK_USE_DESTDIR variable. ENH: Add
- variable CPACK_PACKAGING_INSTALL_PREFIX to allow overriding the
- CPack GetPackagingInstallPrefix from a project's CMakeLists file
- if necessary. Could be used to remove the annoying /usr prefix
- still used by default in the Mac PackageMaker generator.
-
-2007-10-30 23:04 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-30 23:02 hoffman
-
- * CMakeCPack.cmake, CPackConfig.cmake.in,
- CPackSourceConfig.cmake.in, Modules/CPack.cmake,
- Source/CPack/cmCPackNSISGenerator.cxx,
- Source/CPack/cmCPackRPMGenerator.cxx: ENH: cpack changes, remove
- the escape variable stuff as it is not needed if you provide a
- config file for cpack
-
-2007-10-30 11:03 martink
-
- * Source/cmTarget.cxx: BUG: fix undefined property FRAMEWORK
-
-2007-10-30 10:57 martink
-
- * Source/cmake.cxx: BUG: fix bad set property code in cmake
-
-2007-10-30 10:16 hoffman
-
- * Modules/CPackRPM.cmake: ENH: use cpack generic variable if rpm
- one is not set
-
-2007-10-30 10:16 hoffman
-
- * CMakeCPack.cmake: ENH: fix for cygwin package
-
-2007-10-29 22:58 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-29 21:10 hoffman
-
- * Templates/cygwin-package.sh.in: ENH: add package script for cmake
- project
-
-2007-10-29 12:21 hoffman
-
- * Source/: cmBootstrapCommands.cxx, cmCommands.cxx: ENH: move list
- command to bootstrap commands
-
-2007-10-29 08:11 hoffman
-
- * CMakeCPack.cmake, Modules/CPack.cmake, Modules/NSIS.template.in,
- Source/CPack/cmCPackNSISGenerator.cxx: ENH: add ability to set
- installer icons, links to web pages, nsis code in the icon
- section of the template, and ability to escape variables
- correctly
-
-2007-10-28 22:58 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-27 23:05 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-26 23:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-26 22:57 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Source/cmSystemTools.cxx,
- Source/CPack/cmCPackTGZGenerator.cxx,
- Source/CPack/cmCPackTarCompressGenerator.cxx,
- Source/kwsys/SystemTools.cxx: ENH: move changes from head
-
-2007-10-26 13:36 alex
-
- * Source/cmFindBase.cxx: STYLE: change wording of FIND_XXX() docs
- to be more correct
-
- Alex
-
-2007-10-26 12:13 seanmcbride
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: STYLE: fixed
- misspellings of Mac OS X
-
-2007-10-26 09:55 alex
-
- * Source/cmFindBase.cxx, Source/cmFindBase.h,
- Source/cmFindLibraryCommand.cxx, Source/cmFindPathCommand.cxx,
- Source/cmFindProgramCommand.cxx,
- Tests/FindPackageTest/CMakeLists.txt,
- Tests/FindPackageTest/include/foo.h: ENH: add support for
- CMAKE_FIND_PREFIX_PATH as discussed with Brad.
- CMAKE_FIND_PREFIX_PATH is both an environment variable and a
- cmake variable, which is a list of base directories where
- FIND_PATH, FIND_FILE, FIND_PROGRAM and FIND_LIBRARY will search
- in the respective subdirectories
-
- Alex
-
-2007-10-25 22:53 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-25 14:03 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Modules/CPack.STGZ_Header.sh.in, Modules/FindKDE3.cmake,
- Modules/FindKDE4.cmake, Modules/FindPythonInterp.cmake,
- Modules/KDE3Macros.cmake, Modules/Platform/DragonFly.cmake,
- Modules/Platform/GNU.cmake, Modules/Platform/NetBSD.cmake,
- Modules/Platform/UnixPaths.cmake,
- Modules/Platform/Windows-cl.cmake,
- Modules/Platform/Windows.cmake,
- Modules/Platform/WindowsPaths.cmake, Source/cmDependsFortran.cxx,
- Source/cmFileCommand.h, Source/cmFindPackageCommand.h,
- Source/cmIfCommand.cxx, Source/cmIfCommand.h,
- Source/cmInstallCommand.cxx, Source/cmInstallCommand.h,
- Source/cmMakefile.cxx, Source/cmRemoveDefinitionsCommand.h,
- Source/cmSystemTools.cxx, Source/cmTryRunCommand.h,
- Source/cmake.cxx, Source/cmakemain.cxx,
- Source/CPack/cmCPackTGZGenerator.cxx,
- Source/CPack/cmCPackTarCompressGenerator.cxx,
- Source/CPack/cpack.cxx: ENH: merge in stuff from head
-
-2007-10-25 13:29 king
-
- * Source/kwsys/SystemTools.cxx: BUG: Fix bug#5590. When converting
- a relative path between two full paths on different windows drive
- letters do not create a ../../d:/foo/bar path and just return the
- full path to the destination.
-
-2007-10-25 13:26 alex
-
- * Modules/CPackDeb.cmake, Source/CPack/cmCPackDebGenerator.cxx:
- BUG: rename DEBIAN_PACKAGE_* variables to CPACK_DEBIAN_PACKAGE_*
- variables to make them actually work
-
- Alex
-
-2007-10-24 23:20 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-24 14:43 martink
-
- * Source/: cmGetPropertyCommand.cxx, cmGetPropertyCommand.h,
- cmPropertyDefinition.h, cmake.cxx, cmake.h: ENH: add ability to
- get documentaiton of a property from a script
-
-2007-10-24 11:36 martink
-
- * Source/cmDocumentation.cxx, Source/cmDocumentation.h,
- Source/cmDocumentationFormatter.h,
- Source/cmDocumentationFormatterHTML.cxx,
- Source/cmDocumentationSection.h, Source/cmakemain.cxx,
- Utilities/CMakeLists.txt: ENH: some more cleanup, fixes, and
- patch for HTML output
-
-2007-10-23 23:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-23 10:40 martink
-
- * Source/: cmMakefile.cxx, cmPropertyDefinitionMap.cxx: COMP: fix
- for when STRICT is defined, and fix for props that have no docs
-
-2007-10-23 10:08 martink
-
- * Source/cmDocumentVariables.cxx: STYLE: fix some long lines
-
-2007-10-23 10:07 martink
-
- * Source/cmDocumentation.cxx: COMP: fix a problem with a shadowed
- var
-
-2007-10-22 23:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-22 17:16 hoffman
-
- * Modules/CPack.cmake: ENH: fix bitmap escapes
-
-2007-10-22 16:41 martink
-
- * Source/: cmDocumentation.cxx, cmakemain.cxx: COMP: fix some
- warnings and add some doc strings back in
-
-2007-10-22 15:33 martink
-
- * Source/: cmDocumentation.cxx, cmDocumentation.h,
- cmDocumentationSection.cxx, cmDocumentationSection.h,
- cmakemain.cxx: COMP: fix some warnings and add some doc strings
- back in
-
-2007-10-22 14:01 hoffman
-
- * Modules/Platform/Darwin.cmake, Source/cmLocalGenerator.cxx: ENH:
- fix spelling error
-
-2007-10-22 13:28 martink
-
- * Source/: cmGlobalKdevelopGenerator.cxx,
- cmGlobalXCodeGenerator.cxx: ENH: change to make the documentation
- class more generic, about halfway there, also provides secitons
- for Variables now
-
-2007-10-22 12:48 martink
-
- * Source/: CMakeLists.txt, cmDocumentVariables.cxx,
- cmDocumentation.cxx, cmDocumentation.h,
- cmDocumentationFormatter.h, cmDocumentationFormatterHTML.cxx,
- cmDocumentationFormatterHTML.h, cmDocumentationFormatterMan.cxx,
- cmDocumentationFormatterMan.h, cmDocumentationFormatterText.cxx,
- cmDocumentationFormatterText.h,
- cmDocumentationFormatterUsage.cxx,
- cmDocumentationFormatterUsage.h, cmDumpDocumentation.cxx,
- cmExtraCodeBlocksGenerator.cxx, cmExtraEclipseCDT4Generator.cxx,
- cmGlobalBorlandMakefileGenerator.cxx, cmGlobalGenerator.cxx,
- cmGlobalMSYSMakefileGenerator.cxx,
- cmGlobalMinGWMakefileGenerator.cxx,
- cmGlobalNMakeMakefileGenerator.cxx,
- cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio8Generator.cxx,
- cmGlobalVisualStudio8Win64Generator.cxx,
- cmGlobalVisualStudio9Generator.cxx,
- cmGlobalWatcomWMakeGenerator.cxx, cmMakefile.cxx,
- cmPropertyDefinition.cxx, cmPropertyDefinition.h,
- cmPropertyDefinitionMap.cxx, cmPropertyDefinitionMap.h,
- cmStandardIncludes.h, cmake.cxx, cmake.h, cmakemain.cxx,
- ctest.cxx, CPack/cpack.cxx, CursesDialog/ccmake.cxx,
- cmDocumentationSection.cxx, cmDocumentationSection.h: ENH: change
- to make the documentation class more generic, about halfway
- there, also provides secitons for Variables now
-
-2007-10-22 11:40 hoffman
-
- * Modules/: CPack.cmake, NSIS.template.in: ENH: allow
- CPACK_PACKAGE_ICON to be not set
-
-2007-10-22 10:17 hoffman
-
- * Modules/Platform/Darwin.cmake: ENH: try to fix boostrap on 10.5
-
-2007-10-21 23:39 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-20 23:04 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-19 23:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-19 22:24 hoffman
-
- * Modules/Platform/Darwin.cmake, Source/cmLocalGenerator.cxx: ENH:
- do not always add -arch flags
-
-2007-10-19 12:03 hoffman
-
- * Source/CPack/cmCPackNSISGenerator.cxx: ENH: fix line length error
-
-2007-10-18 22:59 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-18 11:11 king
-
- * Source/kwsys/SystemTools.cxx: BUG: Merge bug fixes from HEAD.
-
-2007-10-18 09:40 hoffman
-
- * CMakeCPack.cmake, Modules/NSIS.template.in,
- Source/CPack/cmCPackNSISGenerator.cxx,
- Source/CPack/cmCPackNSISGenerator.h: ENH: add ability to create
- links on the start menu
-
-2007-10-18 09:39 hoffman
-
- * bootstrap: ENH: add new file
-
-2007-10-18 09:38 hoffman
-
- * Source/: cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx: ENH: do not remove
- executables and dll's before linking them so that incremental
- links work, incremental links are still broken for vs 2005 and
- greater because of the manifest stuff
-
-2007-10-18 09:10 hoffman
-
- * Source/: CMakeLists.txt, cmDocumentVariables.cxx,
- cmDocumentVariables.h, cmake.cxx: ENH: add docs for variables
-
-2007-10-17 22:55 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-17 09:38 miguelf
-
- * Modules/FindwxWidgets.cmake: ENH: Added support for finding
- wxWidgets-2.9. Thanks to Joshua Jensen and Steven.
-
-2007-10-16 22:51 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-16 14:27 martink
-
- * Source/: CMakeLists.txt, cmConfigure.cmake.h.in,
- cmPropertyMap.cxx: ENH: added CMAKE_STRICT option for var and
- property checking
-
-2007-10-16 10:19 king
-
- * Source/: cmDependsFortran.cxx, cmInstallCommand.cxx: STYLE: Fixed
- line-too-long.
-
-2007-10-15 22:43 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-15 17:38 king
-
- * Source/cmExecuteProcessCommand.cxx: BUG: Work around bug when
- calling insert on an empty vector of char on midworld. Should
- eliminate the sporadic failure of EXECUTE_PROCESS during the
- SimpleInstall-Stage2 test. (david.cole from Brad's checkout on
- midworld)
-
-2007-10-15 14:50 martink
-
- * Modules/TestForSSTREAM.cmake, Source/cmForEachCommand.h,
- Source/cmWhileCommand.h, Source/cmake.cxx: ENH: minor doc
- cleanups and an example of documenting a variable
-
-2007-10-15 07:08 david.cole
-
- * Source/cmInstallCommand.cxx, Source/cmInstallScriptGenerator.cxx,
- Source/cmInstallScriptGenerator.h, Source/cmLocalGenerator.cxx,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstall/InstallScript3.cmake,
- Tests/SimpleInstall/InstallScript4.cmake,
- Tests/SimpleInstallS2/CMakeLists.txt,
- Tests/SimpleInstallS2/InstallScript3.cmake,
- Tests/SimpleInstallS2/InstallScript4.cmake: BUG: Fix #5868 - add
- COMPONENT handling to the SCRIPT and CODE signatures of the
- INSTALL command.
-
-2007-10-14 22:40 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-14 08:15 alex
-
- * Source/cmExportCommand.cxx:
- BUG: fix #5806, wrong quotes used in the exported file
-
- Alex
-
-2007-10-13 22:48 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-12 22:45 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-12 21:30 miguelf
-
- * Modules/FindwxWidgets.cmake: BUG: Added support for the AUI
- library module (bug 4338). Also applied some STYLE changes
- including: deprecation of wxWidgets_USE_LIBS in favor of using
- standard FIND_PACKAGE COMPONENTS, removed some CMake 2.4.2
- compatibility patches, use of execute_process instead of
- exec_program, etc.
-
-2007-10-12 19:33 hoffman
-
- * Modules/CPackRPM.cmake: BUG: fix for bug 5878
-
-2007-10-12 11:43 david.cole
-
- * Source/cmTarget.cxx: BUG: Fix the dashboards! Put it back the way
- it was so it always creates the target directory at configure
- time. Figure out how to avoid it for the framework case on the
- Mac/Xcode later...
-
-2007-10-12 11:34 hoffman
-
- * Modules/FindFLTK2.cmake: ENH: add from bug 0004219
-
-2007-10-12 11:00 hoffman
-
- * Modules/FindASPELL.cmake: BUG: fix for bug 0005871
-
-2007-10-12 10:58 hoffman
-
- * Source/cmLocalGenerator.cxx: BUG: fix for bug 0003618 , allow one
- arch in OSX_ARCHS to work
-
-2007-10-12 09:58 hoffman
-
- * Source/kwsys/SystemTools.cxx: BUG: fix for bug 0005767 hang for
- replace string with empty
-
-2007-10-12 09:51 king
-
- * Source/cmDependsFortran.cxx: ENH: When an object file requires a
- module add the file-level dependency between the object file and
- the module timestamp file. Create a dummy timestamp file in case
- nothing in the project actually creates the module. See
- bug#5809.
-
-2007-10-12 09:32 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Dependency
- scanners should have local generators set always.
-
-2007-10-11 22:45 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-10 22:32 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-10 17:47 alin.elena
-
- * Modules/: CheckFortranFunctionExists.cmake, FindBLAS.cmake,
- FindLAPACK.cmake, Platform/Linux-ifort.cmake:
- ENH: FindBLAS.cmake and FindLAPACK.cmake modules added. They
- locate various implementations of blas and lapack libraries.
- CheckFortranFunctionExists.cmake provides a test function to
- check if the library is usabale. I have also changed the -KPIC
- flag to -fPIC in Linux-ifort.cmake.
-
-2007-10-10 11:47 martink
-
- * Source/cmAddCustomCommandCommand.h,
- Source/cmAddCustomTargetCommand.h,
- Source/cmAddDefinitionsCommand.h,
- Source/cmAddDependenciesCommand.h,
- Source/cmAddExecutableCommand.h, Source/cmAddLibraryCommand.h,
- Source/cmAddSubDirectoryCommand.h, Source/cmAddTestCommand.h,
- Source/cmAuxSourceDirectoryCommand.h, Source/cmBuildCommand.h,
- Source/cmBuildNameCommand.h, Source/cmCMakeMinimumRequired.h,
- Source/cmConfigureFileCommand.h, Source/cmCreateTestSourceList.h,
- Source/cmDefinePropertyCommand.h, Source/cmDocumentation.cxx,
- Source/cmElseCommand.h, Source/cmElseIfCommand.h,
- Source/cmEnableLanguageCommand.h,
- Source/cmEnableTestingCommand.h, Source/cmEndForEachCommand.h,
- Source/cmEndIfCommand.h, Source/cmEndMacroCommand.h,
- Source/cmEndWhileCommand.h, Source/cmExecProgramCommand.h,
- Source/cmExecuteProcessCommand.h, Source/cmExportCommand.h,
- Source/cmExportLibraryDependencies.h,
- Source/cmFLTKWrapUICommand.h, Source/cmFileCommand.h,
- Source/cmFindFileCommand.cxx, Source/cmFindFileCommand.h,
- Source/cmFindLibraryCommand.cxx, Source/cmFindLibraryCommand.h,
- Source/cmFindPackageCommand.h, Source/cmFindPathCommand.cxx,
- Source/cmFindPathCommand.h, Source/cmFindProgramCommand.cxx,
- Source/cmFindProgramCommand.h, Source/cmForEachCommand.h,
- Source/cmGetCMakePropertyCommand.h,
- Source/cmGetDirectoryPropertyCommand.h,
- Source/cmGetFilenameComponentCommand.h,
- Source/cmGetPropertyCommand.h,
- Source/cmGetSourceFilePropertyCommand.h,
- Source/cmGetTargetPropertyCommand.h,
- Source/cmGetTestPropertyCommand.h, Source/cmIfCommand.h,
- Source/cmIncludeCommand.h, Source/cmIncludeDirectoryCommand.h,
- Source/cmIncludeExternalMSProjectCommand.h,
- Source/cmIncludeRegularExpressionCommand.h,
- Source/cmInstallCommand.h, Source/cmInstallFilesCommand.h,
- Source/cmInstallProgramsCommand.h,
- Source/cmInstallTargetsCommand.h,
- Source/cmLinkDirectoriesCommand.h,
- Source/cmLinkLibrariesCommand.h, Source/cmListCommand.h,
- Source/cmLoadCacheCommand.h, Source/cmLoadCommandCommand.h,
- Source/cmMacroCommand.h, Source/cmMakeDirectoryCommand.h,
- Source/cmMarkAsAdvancedCommand.h, Source/cmMathCommand.h,
- Source/cmMessageCommand.h, Source/cmOptionCommand.h,
- Source/cmOutputRequiredFilesCommand.h, Source/cmProjectCommand.h,
- Source/cmQTWrapCPPCommand.h, Source/cmQTWrapUICommand.h,
- Source/cmRemoveCommand.h, Source/cmRemoveDefinitionsCommand.h,
- Source/cmSeparateArgumentsCommand.h, Source/cmSetCommand.h,
- Source/cmSetDirectoryPropertiesCommand.h,
- Source/cmSetPropertiesCommand.h,
- Source/cmSetSourceFilesPropertiesCommand.h,
- Source/cmSetTargetPropertiesCommand.h,
- Source/cmSetTestsPropertiesCommand.h, Source/cmSiteNameCommand.h,
- Source/cmSourceGroupCommand.h, Source/cmStringCommand.h,
- Source/cmSubdirCommand.h, Source/cmSubdirDependsCommand.h,
- Source/cmTargetLinkLibrariesCommand.h,
- Source/cmTryCompileCommand.h, Source/cmTryRunCommand.h,
- Source/cmUseMangledMesaCommand.h,
- Source/cmUtilitySourceCommand.h,
- Source/cmVariableRequiresCommand.h,
- Source/cmVariableWatchCommand.h, Source/cmWhileCommand.h,
- Source/cmWriteFileCommand.h,
- Tests/CommandLineTest/CMakeLists.txt: ENH: make commands lower
- case by default
-
-2007-10-10 11:06 david.cole
-
- * Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalXCodeGenerator.cxx, Source/cmInstallCommand.cxx,
- Source/cmInstallTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmOrderLinkDirectories.cxx, Source/cmTarget.cxx,
- Source/cmTarget.h, Tests/CMakeLists.txt,
- Tests/Framework/CMakeLists.txt: ENH: Finish up the Framework
- creation code restructuring. Frameworks build and install now.
- More work needed on the packaging step. See Tests/Framework for
- example use.
-
-2007-10-10 09:09 king
-
- * Tests/Fortran/: CMakeLists.txt, test_use_in_comment_fixedform.f,
- test_use_in_comment_freeform.f90, in_interface/main.f90,
- in_interface/module.f90: ENH: Added test for 'use' keyword in a
- comment. Patch from Maik Beckmann. See bug#5809.
-
-2007-10-10 09:07 king
-
- * Source/cmDependsFortran.cxx: BUG: Fix in-interface mode. Patch
- from Maik Beckmann. See bug#5809.
-
-2007-10-09 22:36 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-09 15:20 barre
-
- * Source/kwsys/SystemTools.cxx: ENH: bad bug bad
-
-2007-10-09 14:35 martink
-
- * Source/: cmDocumentation.cxx, cmDocumentationFormatterHTML.cxx,
- cmDocumentationFormatterMan.cxx,
- cmDocumentationFormatterText.cxx,
- cmDocumentationFormatterUsage.cxx, cmDumpDocumentation.cxx,
- cmPropertyDefinition.cxx, cmPropertyDefinitionMap.cxx,
- cmStandardIncludes.h, cmake.cxx, cmake.h, cmakemain.cxx,
- ctest.cxx, CPack/cpack.cxx: BUG: revert doc changes since VS7
- cannot compile them, will implement them in a different manner
-
-2007-10-09 09:55 martink
-
- * Source/: cmDocumentation.cxx, cmDocumentationFormatterHTML.cxx,
- cmDocumentationFormatterMan.cxx,
- cmDocumentationFormatterText.cxx,
- cmDocumentationFormatterUsage.cxx, cmDumpDocumentation.cxx,
- cmPropertyDefinition.cxx, cmPropertyDefinitionMap.cxx,
- cmStandardIncludes.h, cmake.cxx, cmake.h, cmakemain.cxx,
- ctest.cxx, CPack/cpack.cxx: ENH: make documentation entries
- actually store their data
-
-2007-10-08 22:39 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-08 10:05 king
-
- * Source/cmSystemTools.cxx: STYLE: Fixed line-too-long.
-
-2007-10-08 10:03 king
-
- * Source/cmSystemTools.cxx: COMP: Added inadvertantly removed
- include.
-
-2007-10-07 22:35 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-07 16:22 king
-
- * Source/cmSystemTools.cxx: COMP: Simplified include file logic.
- The windows.h header should be included for all compilers on
- windows.
-
-2007-10-06 22:42 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-05 22:31 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-05 15:51 martink
-
- * Source/cmSystemTools.cxx: COMP: fix to compile on VS 8
-
-2007-10-05 13:15 hoffman
-
- * Modules/Platform/Windows-bcc32.cmake: ENH: add support for
- preprocessed files in borland
-
-2007-10-05 13:14 hoffman
-
- * Utilities/KWStyle/CMakeFiles.txt.in: ENH: add more exclusions for
- kwstyle
-
-2007-10-05 10:03 king
-
- * Source/cmSystemTools.cxx: BUG: Fix call to SetFileTime to set it
- on the proper file.
-
-2007-10-05 10:02 king
-
- * Source/: cmDependsFortranParser.cxx, cmDependsFortranParser.y:
- COMP: Disable some warnings in generated code. Disable
- compilation of unused goto block.
-
-2007-10-05 09:46 king
-
- * Source/: cmFileCommand.cxx, cmSystemTools.cxx, cmSystemTools.h:
- ENH: During file installation treat the source file as a
- dependency of the installed file. Install the file only if the
- destination is older than the source. Set the file times on the
- installed file to match those of the source file. This should
- greatly improve the speed of repeated installations because it
- removes the comparison of file contents. This addresses
- bug#3349.
-
-2007-10-04 22:43 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-04 15:31 hoffman
-
- * Source/: cmDependsFortranParser.cxx, cmDependsFortranParser.y:
- ENH: update .y file with borland fix, and use a table based
- strcasecmp
-
-2007-10-04 14:47 david.cole
-
- * Source/cmDependsFortranParser.cxx: COMP: Get it to compile on
- Borland 5.5, too. Including stl headers here does not work,
- because with Borland 5.5 stl headers pull in windef.h which
- typedefs WORD which is in the fortran tokens list...
-
-2007-10-04 09:49 king
-
- * Source/cmDependsFortranParser.cxx: STYLE: Removed reference to my
- home directory from #line calls.
-
-2007-10-03 22:36 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-03 17:01 king
-
- * Source/: cmDependsFortranParser.cxx, cmDependsFortranParser.y:
- COMP: Do not use non-portable strcasecmp.
-
-2007-10-03 16:19 king
-
- * Source/cmDependsFortran.cxx: BUG: When requiring a module through
- a .proxy rule add an empty .proxy rule in case no other source in
- the target provides it. Since it is not a file-level dependency
- there does not need to be a rule to create the .proxy as a file.
- This addresses bug#3984.
-
-2007-10-03 15:41 king
-
- * Source/: cmDependsFortran.cxx, cmDependsFortranLexer.cxx,
- cmDependsFortranLexer.h, cmDependsFortranLexer.in.l,
- cmDependsFortranParser.cxx, cmDependsFortranParser.h,
- cmDependsFortranParser.y, cmDependsFortranParserTokens.h: BUG:
- Fix for bug#5809. Applied patch supplied in the bug report.
- Updated pre-generated lexer and parser sources. This updates the
- makedepf90 version to 2.8.8. The parser actions have been
- updated to ignore "use" in comments properly.
-
-2007-10-03 15:23 king
-
- * Source/CMakeLists.txt: ENH: Updated CMAKE_REGENERATE_YACCLEX
- option to support cmDependsFortran. Fixed to work with spaces in
- path.
-
-2007-10-02 22:27 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-02 15:48 hoffman
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: speed up
- actual path name by cache on windows
-
-2007-10-01 22:31 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-10-01 15:57 david.cole
-
- * Tests/: CMakeLists.txt, SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: COMP: Rename the executables for
- the SimpleInstall tests so that the executable files that run
- during the test do not have the word install in their file names.
- This allows running the tests on Windows Vista without admin
- privileges and without adding a manifest containing the asInvoker
- requestedExecutionLevel element.
-
-2007-09-30 22:28 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-29 22:36 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-28 22:49 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-27 23:02 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-27 14:44 hoffman
-
- * Source/cmGeneratedFileStream.cxx, Source/cmSystemTools.cxx,
- Source/CPack/cmCPackTGZGenerator.cxx, Utilities/cmtar/libtar.c:
- COMP: remove warnings
-
-2007-09-27 14:20 hoffman
-
- * Modules/FindQt4.cmake: ENH: set QT_EDITION_DESKTOPLIGHT and do
- not disable modules
-
-2007-09-27 14:18 hoffman
-
- * DartLocal.conf.in: ENH: fix space
-
-2007-09-27 14:16 hoffman
-
- * Source/cmWin32ProcessExecution.cxx: ENH: remove junk from output
-
-2007-09-27 08:53 hoffman
-
- * Utilities/cmcurl/CMakeLists.txt: ENH: add a check for basename to
- cmcurl
-
-2007-09-26 22:59 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-26 20:53 hoffman
-
- * Modules/FindQt4.cmake: ENH: look for qt in a beter registry place
- and disable modules that won't work with DesktopLight, also set
- QT_EDITION variable
-
-2007-09-25 23:06 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-25 10:57 hoffman
-
- * Source/cmSystemTools.cxx: BUG: fix problem with stdout and stderr
- not showing up in ms dos shells
-
-2007-09-25 08:36 hoffman
-
- * Tests/CMakeLists.txt: ENH: increase timeout
-
-2007-09-25 08:30 hoffman
-
- * DartLocal.conf.in: ENH: remove extra space
-
-2007-09-24 23:13 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-24 13:19 hoffman
-
- * DartLocal.conf.in, Source/cmSystemTools.cxx: ENH: add new
- machines
-
-2007-09-24 11:18 hoffman
-
- * CTestCustom.cmake.in: COMP: exclude some warnings on hp
-
-2007-09-24 11:16 hoffman
-
- * Source/: cmCommandArgumentLexer.cxx, cmDependsJavaLexer.cxx,
- cmExprLexer.cxx: COMP: fix warnings on hp
-
-2007-09-24 11:10 hoffman
-
- * Source/CTest/: cmCTestTestHandler.cxx, cmCTestTestHandler.h: ENH:
- fix line length issues
-
-2007-09-24 09:53 king
-
- * Modules/FindThreads.cmake: BUG: Enable CMAKE_HP_PTHREADS only
- when the old CMA threads are available. Modern HP pthreads are
- just normal pthreads.
-
-2007-09-23 23:09 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-22 22:47 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-21 22:46 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-21 13:37 alex
-
- * Source/CPack/cmCPackDebGenerator.cxx:
- STYLE: use %-10lld instead of %-10qd for printing a 64bit int,
- maybe this silences the warning of the HP compiler
-
- Alex
-
-2007-09-21 11:42 alex
-
- * Source/cmFindPackageCommand.cxx:
- STYLE: improved error message for the case that neither
- FindFoo.cmake nor FooConfig.cmake were found
-
- Alex
-
-2007-09-21 11:42 hoffman
-
- * Modules/InstallRequiredSystemLibraries.cmake: ENH: remove message
-
-2007-09-20 22:44 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-20 17:21 king
-
- * Modules/FindThreads.cmake: BUG: Do not use CMA threads on HP if
- they do not exist.
-
-2007-09-20 16:48 hoffman
-
- * Tests/CMakeLists.txt: ENH: VV make too much data for the
- dashboard
-
-2007-09-20 11:57 hoffman
-
- * Source/kwsys/testRegistry.cxx: COMP: remove warning on new HPUX
- compiler
-
-2007-09-20 10:56 king
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ENH: Disable package test only on
- OSX < 10.4. Added comment explaining reason for timeout.
-
-2007-09-20 10:47 king
-
- * Tests/CMakeLists.txt: ENH: Restore shorter timeout for
- SimpleInstall-Stage2.
-
-2007-09-20 09:36 alex
-
- * Source/kwsys/SystemTools.cxx:
- COMP: TIOCGWINSZ and struct winsize also doesn't exist on Cray
- Catamount
-
- Alex
-
-2007-09-20 09:30 alex
-
- * Source/kwsys/SystemTools.cxx:
- COMP: make SystemTools.cxx build on Cray Xt3
-
- Alex
-
-2007-09-20 08:33 alex
-
- * Source/cmDocumentation.cxx:
- STYLE: fix line lengths
-
- Alex
-
-2007-09-19 22:33 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-19 13:14 alex
-
- * Source/: cmDocumentation.cxx, cmDocumentation.h,
- cmDocumentationFormatter.h, cmakemain.cxx:
- ENH: add new help option --help-custom-modules, which generates
- documentation for all modules found in CMAKE_MODULE_PATH, which
- currently has to be specified via -D, this can later on be
- improved e.g. by reading a special (to-be-created) file like
- CMakeFiles/ModulePath.cmake in the build tree so that running
- cmake help in the build tree of a project will always give you
- the current module path. (This could actually also help IDEs
- which would like to support cmake for projects...)
-
- Alex
-
-2007-09-19 11:42 hoffman
-
- * Utilities/cmcurl/CMakeLists.txt: ENH: add test for HAVE_BASENAME
- since it is used
-
-2007-09-19 11:16 hoffman
-
- * Source/CTest/cmCTestTestHandler.cxx,
- Source/CTest/cmCTestTestHandler.h, Source/kwsys/CMakeLists.txt,
- Tests/CMakeLists.txt: ENH: fix failing test when valgrind is on
-
-2007-09-19 11:10 king
-
- * Tests/: CMakeLists.txt, SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ENH: Re-enable packaging part of
- SimpleInstall-Stage2 test on Apple. Give it a long timeout to
- see what is going on.
-
-2007-09-19 10:46 alex
-
- * Source/: cmDocumentationFormatter.h,
- cmDocumentationFormatterHTML.cxx:
- COMP: fix warning about unused parameters
-
- Alex
-
-2007-09-19 09:59 alex
-
- * Source/cmDocumentationFormatterMan.cxx:
- BUG: correct name for the man page
-
- Alex
-
-2007-09-19 09:35 alex
-
- * Modules/FindQt4.cmake:
- BUG: if Qt is installed as a framework, add -F to the command
- line so Q_WS_MAC can be detected correctly
-
- Alex
-
-2007-09-19 09:05 alex
-
- * Source/: CMakeLists.txt, cmDocumentation.cxx, cmDocumentation.h,
- cmDocumentationFormatter.cxx, cmDocumentationFormatter.h,
- cmDocumentationFormatterHTML.cxx, cmDocumentationFormatterHTML.h,
- cmDocumentationFormatterMan.cxx, cmDocumentationFormatterMan.h,
- cmDocumentationFormatterText.cxx, cmDocumentationFormatterText.h,
- cmDocumentationFormatterUsage.cxx,
- cmDocumentationFormatterUsage.h:
- STYLE: move the code for the different formats of the generated
- help into their own classes, making cmDocumentation smaller and
- also making it easier to eventually add another format
-
- Alex
-
-2007-09-19 09:04 alex
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt:
- COMP: reenable the installation of the PUBLIC_HEADERs
-
- Alex
-
-2007-09-18 22:43 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-18 17:05 alex
-
- * Source/cmExtraCodeBlocksGenerator.cxx:
- STYLE: fix line lengths
-
- Alex
-
-2007-09-18 15:16 hoffman
-
- * CMakeCPack.cmake, Modules/NSIS.InstallOptions.ini.in,
- Modules/NSIS.template.in, Source/CPack/cmCPackNSISGenerator.cxx:
- ENH: allow for desktop link to be created and fix chop of last
- char in PATH on uninstall
-
-2007-09-18 15:13 alex
-
- * Modules/FindPythonLibs.cmake:
- BUG: make the string static, otherwise the contents are gone when
- we exit the function (same fix as in VTK/CMake/)
-
- Alex
-
-2007-09-18 11:35 hoffman
-
- * Tests/CMakeLists.txt: ENH: increase timeout for long test
-
-2007-09-18 11:34 hoffman
-
- * Source/cmCTest.cxx: ENH: allow test properties to set a timeout
- that is longer than the default timeout, but not longer than
- CTEST_TIME_LIMIT for a script
-
-2007-09-18 09:54 alex
-
- * Source/cmExtraCodeBlocksGenerator.cxx:
- ENH: use the oubject_output option to try to tell CodeBlocks
- where the object files are located (to make "compile file" work).
- Doesn't work yet, but at least the .objs/ is now removed from the
- path.
-
- Alex
-
-2007-09-17 22:38 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-17 16:21 alex
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt:
- COMP: disable packaging test on Apple, see if this fixes the
- timeouts
-
- Alex
-
-2007-09-17 15:59 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: fix for vs 8
-
-2007-09-17 15:55 alex
-
- * CMakeLists.txt, Modules/CMakeCCompilerId.c,
- Modules/CMakeCXXCompilerId.cpp,
- Modules/Platform/Linux-PGI-C.cmake,
- Modules/Platform/Linux-PGI-CXX.cmake, Source/kwsys/Directory.cxx:
-
- ENH: add support for the Portland Compiler to CMake, can build
- cmake and the tests pass (except the wrapping tests, which fail
- to link to the g++-compiled Qt)
-
- Alex
-
-2007-09-17 15:40 alex
-
- * Utilities/cmtar/libtar.c:
- COMP: use C-style comments in C code
-
- Alex
-
-2007-09-17 15:27 hoffman
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ENH: test install of debug libs
-
-2007-09-17 15:26 hoffman
-
- * Modules/InstallRequiredSystemLibraries.cmake: ENH: allow for
- installation of debug libs
-
-2007-09-17 15:20 hoffman
-
- * Modules/CMakeVS8FindMake.cmake,
- Modules/Platform/Windows-cl.cmake, Source/CMakeLists.txt,
- Source/cmGlobalVisualStudio9Generator.cxx,
- Source/cmGlobalVisualStudio9Generator.h,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h, Source/cmake.cxx,
- Utilities/cmcurl/select.h, Utilities/cmcurl/CMake/CurlTests.c,
- Utilities/cmcurl/Platforms/WindowsCache.cmake,
- Modules/CMakeVS9FindMake.cmake: ENH: add support for vs 2008 beta
- 2
-
-2007-09-17 15:18 alex
-
- * Utilities/cmtar/: CMakeLists.txt, config.h.in, internal.h:
- COMP: add a check for makedev, which isn't available with the PGI
- compiler on Cray XT3
-
- Alex
-
-2007-09-17 11:17 hoffman
-
- * Source/cmSystemTools.cxx: ENH: fix warning
-
-2007-09-17 10:53 alex
-
- * Source/cmTryRunCommand.cxx:
- STYLE: copy the executables from TRY_RUN() to
- ${CMAKE_BINARY_DIR}/CMakeFiles/ instead to ${CMAKE_BINARY_DIR}
-
- Alex
-
-2007-09-17 10:51 king
-
- * Tests/BuildDepends/: CMakeLists.txt, Project/CMakeLists.txt,
- Project/dep.cxx, Project/zot.cxx: ENH: Adding test for
- ADD_CUSTOM_COMMAND's new IMPLICIT_DEPENDS feature.
-
-2007-09-17 10:50 king
-
- * Source/: cmAddCustomCommandCommand.cxx,
- cmAddCustomCommandCommand.h, cmCustomCommand.cxx,
- cmCustomCommand.h, cmMakefileTargetGenerator.cxx: ENH: Added
- IMPLICIT_DEPENDS option to ADD_CUSTOM_COMMAND. It currently
- works only for Makefile generators. It allows a custom command
- to have implicit dependencies in the form of C or CXX sources.
-
-2007-09-17 10:40 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx,
- CTest/cmCTestBuildAndTestHandler.cxx,
- CTest/cmCTestBuildCommand.cxx, CTest/cmCTestTestHandler.cxx: ENH:
- fix build issue with config type not being specified by ctest
-
-2007-09-16 22:46 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-15 22:58 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-14 22:59 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-13 22:53 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-13 13:37 king
-
- * Source/cmMakefileTargetGenerator.cxx, Source/cmSourceFile.cxx,
- Tests/PrecompiledHeader/CMakeLists.txt: ENH: Added OBJECT_OUTPUTS
- source file property. Updated PrecompiledHeader test to use it
- (making the test simpler).
-
-2007-09-13 09:14 king
-
- * Source/cmGlobalXCodeGenerator.cxx: COMP: Fix shadowed local
- warning by scoping the previous decl properly.
-
-2007-09-12 22:54 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-11 22:49 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-11 15:21 david.cole
-
- * CTestCustom.cmake.in: ENH: Avoid prompting for admin privileges
- when running CMakeSetup.exe on Vista by adding a
- requestedExecutionLevel element to its manifest.
-
-2007-09-11 14:43 hoffman
-
- * Source/CTest/cmCTestBuildAndTestHandler.cxx: ENH: for build and
- test default the config type to the one that ctest was built
- with, it is good for the current ctest setup, and other projects
- can always specify a value on the command line
-
-2007-09-11 12:23 hoffman
-
- * Source/cmSystemTools.cxx: ENH: opps
-
-2007-09-11 11:22 david.cole
-
- * Utilities/cmzlib/: CMakeLists.txt, ChangeLog, FAQ, INDEX, README,
- README.Kitware.txt, adler32.c, cm_zlib_mangle.h, compress.c,
- crc32.c, crc32.h, deflate.c, deflate.h, example.c, gzio.c,
- infblock.c, infblock.h, infcodes.c, infcodes.h, inffast.c,
- inffast.h, inffixed.h, inflate.c, inflate.h, inftrees.c,
- inftrees.h, infutil.c, infutil.h, maketree.c, minigzip.c,
- trees.c, uncompr.c, zconf.h, zlib.def, zlib.h, zlib.rc, zutil.c,
- zutil.h: ENH: Update zlib to 1.2.3. Addresses bugs #5445 and
- #3473.
-
-2007-09-11 11:21 hoffman
-
- * Source/: cmCTest.cxx, cmSystemTools.cxx, cmSystemTools.h,
- ctest.cxx, CTest/cmCTestTestHandler.cxx: ENH: fix 2 ctest issues,
- do not use the build type of ctest to look for config types, do
- not inherit pipes in child procs for ctest so it can kill them
-
-2007-09-11 10:01 hoffman
-
- * Source/cmMathCommand.h: ENH: improve docs
-
-2007-09-10 22:50 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-10 17:39 hoffman
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ENH: turn this stuff off to see
- if it fixes the dashboard on midworld
-
-2007-09-10 17:10 hoffman
-
- * Tests/Plugin/src/example_exe.cxx: ENH: fix memory leak
-
-2007-09-10 10:49 hoffman
-
- * Tests/CMakeLists.txt, Utilities/Release/README,
- Utilities/Release/create-cmake-release.cmake,
- Utilities/Release/upload_release.cmake: ENH: add test that builds
- a nightly windows cmake binary
-
-2007-09-10 10:22 king
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmTarget.cxx: ENH: Added
- XCODE_ATTRIBUTE_<an-attribute> property to allow direct setting
- of Xcode target attributes in generated projects. For example,
- one may set the prefix header property and the corresponding
- precompiled option to do precompiled headers.
-
-2007-09-09 23:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-09 13:18 hoffman
-
- * CMakeLists.txt: ENH: remove debug print
-
-2007-09-08 23:09 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-07 22:49 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-07 17:00 hoffman
-
- * CMakeLists.txt: ENH: MATH is not in bootstrap cmake
-
-2007-09-07 14:20 hoffman
-
- * CMakeCPack.cmake, CMakeLists.txt: ENH: for CVS CMake have cpack
- use the version date in the name of the package
-
-2007-09-07 11:10 hoffman
-
- * Source/cmCacheManager.cxx: ENH: fix spelling error
-
-2007-09-06 22:57 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-06 17:47 david.cole
-
- * Utilities/Release/CMakeInstall.bmp: BUG: Put back
- CMakeInstall.bmp in order to build a package with NSIS on
- Windows. It was inadvertently removed.
-
-2007-09-06 10:06 hoffman
-
- * DartLocal.conf.in: ENH: acdc is dead
-
-2007-09-05 23:01 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-09-04 11:45 zack.galbreath
-
- * Source/temp.txt: ENH: removing temporary testing file
-
-2007-09-04 11:05 zack.galbreath
-
- * Source/temp.txt: ENH: testing branchRestrict
-
-2007-08-31 16:52 alex
-
- * Source/: cmInstallCommand.cxx, cmInstallCommandArguments.h:
- STYLE: fix line lengths
-
- Alex
-
-2007-08-31 16:27 alex
-
- * Modules/CPack.cmake:
- STYLE: mark the generator options as advanced
-
- Alex
-
-2007-08-31 15:05 alex
-
- * Utilities/KWStyle/CMake.kws.xml.in:
- STYLE: disable header check
-
- Alex
-
-2007-08-31 14:51 king
-
- * CMakeLists.txt, CTestCustom.cmake.in, CTestCustom.ctest.in: ENH:
- Create CTestCustom.cmake instead of CTestCustom.ctest. Create
- the old file to include the new one for compatibility. This
- should prevent the long delays of CTest traversing the whole tree
- looking for CTestCustom.ctest files.
-
-2007-08-31 14:07 alex
-
- * Utilities/KWStyle/: CMakeLists.txt, CMakeMoreChecks.kws.xml.in:
- STYLE: add makefile target MoreStyleChecks, which runs KWStyle
- with more checks enabled and creates the html files.
-
- Alex
-
-2007-08-31 13:45 alex
-
- * Source/cmGlobalGenerator.cxx:
- STYLE: the temporary variable is not necessary
-
- Alex
-
-2007-08-31 13:42 alex
-
- * Source/: cmExtraCodeBlocksGenerator.cxx, cmGlobalGenerator.cxx,
- cmGlobalGenerator.h, cmGlobalKdevelopGenerator.cxx:
- ENH: add support for Fortran to the KDevelop generator -minor
- optimization for GetLanguageEnabled()
-
- Alex
-
-2007-08-31 09:14 king
-
- * Source/CPack/cmCPackDebGenerator.cxx: BUG: Another space-in-path
- fix.
-
-2007-08-31 09:09 king
-
- * Source/cmake.cxx: BUG: Fix path to CMake executables when run
- from bootstrap build.
-
-2007-08-30 16:23 alex
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt:
- STYLE: adapt the test to the change from FILENAME to FILE -add a
- call to the EXPORT() command
-
- Alex
-
-2007-08-30 16:22 alex
-
- * Source/: cmInstallCommand.cxx, cmInstallExportGenerator.cxx:
- STYLE: rename FILENAME keyword to FILE, because FILENAME is used
- in no other place
-
- Alex
-
-2007-08-30 13:35 alex
-
- * Modules/: FindPythonInterp.cmake, FindPythonLibs.cmake:
- ENH: add support for the next python release, python 2.6
-
- Alex
-
-2007-08-30 11:36 alex
-
- * Source/cmExtraCodeBlocksGenerator.cxx:
- STYLE: "Build file" still doesn't work, but now it is at least a
- bit closer, it needs some more support from CB
-
- Alex
-
-2007-08-30 10:26 alex
-
- * Source/cmStringCommand.h:
- STYLE: add the | to the docs
-
- Alex
-
-2007-08-29 16:32 alex
-
- * Source/CPack/cmCPackDebGenerator.cxx:
- BUG: work if there are spaces in the path to cmake
-
- Alex
-
-2007-08-29 16:31 alex
-
- * Modules/CPackRPM.cmake:
- ENH: fail with error if trying to create a RPM stating that
- rpmbuild can't handle spaces
-
- Alex
-
-2007-08-29 15:19 alex
-
- * Source/cmExtraCodeBlocksGenerator.cxx:
- BUG: make paths with spaces work in CodeBlocks -gcc is always gcc
- and not mingw
-
- Alex
-
-2007-08-29 14:35 alex
-
- * Source/cmIfCommand.cxx: BUG: this seems to fix the regexp
- result-storage problem, now it seems the actual result is tored
- instead of "1" , as it happened for StringFileTest on Windows
-
- Alex
-
-2007-08-29 14:05 alex
-
- * Source/cmStringCommand.h:
- STYLE: add docs about the supported regexp characters and
- CMAKE_MATCH_(0..9)
-
- Alex
-
-2007-08-29 12:01 alex
-
- * Tests/StringFileTest/CMakeLists.txt:
- ENH: added tests for the CMAKE_MATCH_(0..9) variables, which get
- set by regex matches (STRING(REGEX), IF(MATCHES))
-
- Alex
-
-2007-08-29 11:58 alex
-
- * Source/: cmIfCommand.cxx, cmIfCommand.h, cmStringCommand.cxx,
- cmStringCommand.h:
- ENH: also store the group matches from IF( MATCHES) in
- CMAKE_MATCH_(0..9)
-
- Alex
-
-2007-08-29 11:30 king
-
- * Source/cmDependsFortran.cxx: BUG: Do not write symbolic make
- dependencies into depends.internal.
-
-2007-08-29 10:12 alex
-
- * Source/: cmExtraCodeBlocksGenerator.cxx,
- cmExtraCodeBlocksGenerator.h:
- ENH: don't hardcode gcc -put the include dirs in the project file
- to enable autocompletion -prepare for nmake
-
- Alex
-
-2007-08-28 16:27 alex
-
- * Source/cmMakefile.cxx:
- COMP: explicitely cast to int to silence warning with msvc8
-
- Alex
-
-2007-08-28 16:19 alex
-
- * Modules/CMakeGenericSystem.cmake, Source/cmLocalGenerator.cxx:
- ENH: add flag so a terminating slash for the link path can be
- specified (needed by the Digital Mars D compiler)
-
- Alex
-
-2007-08-28 15:13 alex
-
- * Source/cmExtraCodeBlocksGenerator.cxx:
- STYLE: add links to docs
-
- Alex
-
-2007-08-28 13:46 alex
-
- * Source/CTest/cmCTestGenericHandler.cxx:
- STYLE: fix typo
-
- Alex
-
-2007-08-28 11:02 alex
-
- * CMakeLists.txt:
- COMP: enable RPATH if any of the CMAKE_USE_SYSTEM_XXX variables
- is enabled or if the curses library is neither in /lib nor in
- /usr/lib . This makes it build on NetBSD. For more comments see
- CMakeLists.txt
-
- Alex
-
-2007-08-28 10:59 alex
-
- * Tests/SourceGroups/: CMakeLists.txt, main.c:
- COMP: enable ANSI C, this should make it work with the HP-UX
- compiler
-
- Alex
-
-2007-08-28 10:52 alex
-
- * Modules/: CheckCSourceRuns.cmake, CheckCXXSourceRuns.cmake:
- ENH: use the same CMAKE_SKIP_RPATH setting in
- CHECK_C/CXX_SOURCE_RUNS as in the main project. I think it
- doesn't make sense if a project disables RPATH, uses
- CHECK_C_SOURCE_RUNS() to see if something is able to run, and
- this succeeds because it has been built with RPATH, but an
- executable built within the project won't be able to run since it
- has been built without RPATH.
-
- Alex
-
-2007-08-28 08:36 alex
-
- * Tests/SourceGroups/main.c:
- COMP: maybe it compiles this way with the HP-UX compiler
-
- Alex
-
-2007-08-27 23:12 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-27 17:05 alex
-
- * Source/: cmLocalVisualStudioGenerator.cxx,
- cmLocalVisualStudioGenerator.h: BUG: fix #5326: source files with
- the same name in different groups lead to colliding object file
- names
-
- Alex
-
-2007-08-27 16:05 alex
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt:
- ENH: add test for installing a header marked as PUBLIC_HEADER of
- a library
-
- Alex
-
-2007-08-27 16:04 alex
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmInstallCommand.cxx, cmInstallCommand.h,
- cmInstallExportGenerator.cxx, cmInstallExportGenerator.h:
- ENH: add install files generators for targets which have
- PUBLIC_HEADER, PRIVATE_HEADER or RESOURCE_FILES property, use the
- destination for the public headers as include directory property
- for exported libraries
-
- Alex
-
-2007-08-27 15:15 alex
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt:
- COMP: add a test for exporting and importing targets
-
- Alex
-
-2007-08-27 14:44 alex
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt:
- COMP: the SimpleInstall test also succeeds on the Mac, so maybe
- Andys comment is not valid anymore
-
- Alex
-
-2007-08-27 14:17 alex
-
- * Tests/: CMakeLists.txt, SourceGroups/CMakeLists.txt:
- ENH: add the source_group() demo to the tests
-
- Alex
-
-2007-08-27 13:23 alex
-
- * Source/cmExtraCodeBlocksGenerator.cxx:
- COMP: disable nmake support until somebody tests it
-
- Alex
-
-2007-08-27 09:01 alex
-
- * Modules/FindCurses.cmake, Source/CursesDialog/CMakeLists.txt,
- Source/CursesDialog/ccmake.cxx,
- Source/CursesDialog/cmCursesStandardIncludes.h,
- Source/CursesDialog/form/CMakeLists.txt,
- Source/CursesDialog/form/cmFormConfigure.h.in,
- Source/CursesDialog/form/form.h:
- COMP: make it build on NetBSD, which has separate curses and
- ncurses, so it has to be detected that curses isn't good enough,
- but ncurses is, and that ncurses.h instead of curses.h is
- included
-
- Alex
-
-2007-08-27 08:49 alex
-
- * Source/cmGlobalKdevelopGenerator.cxx:
- COMP: remove unused variable
-
- Alex
-
-2007-08-26 23:20 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-26 19:27 alex
-
- * Source/: cmGlobalKdevelopGenerator.cxx,
- cmGlobalKdevelopGenerator.h:
- ENH: add all subdirs of the project to the kdevelop blacklist, so
- kdevelop doesn't watch these dirs for added or remved files
- everytime it is started
-
- Alex
-
-2007-08-26 03:29 alex
-
- * Modules/FindKDE4.cmake:
- BUG: KDEDIRS contains the kde install locations, not the binary
- dirs, so make KDEDIRS actually work in FindKDE4.cmake
-
- Alex
-
-2007-08-26 03:17 alex
-
- * Source/: cmMakefile.cxx, cmMakefile.h, cmSourceGroupCommand.cxx:
- COMP: parent is not used anymore with this patch, since now the
- name is given as a vector of components
-
- Alex
-
-2007-08-26 02:42 alex
-
- * Modules/FindPkgConfig.cmake:
- STYLE: fix typo
-
- Alex
-
-2007-08-25 23:37 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-24 23:15 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-24 14:39 alex
-
- * Tests/SourceGroups/: CMakeLists.txt, baz.c, main.c: BUG: demo
- (not really test) for the source_group() command
-
- Alex
-
-2007-08-24 14:27 alex
-
- * Source/: cmInstallCommand.cxx, cmInstallCommandArguments.cxx,
- cmInstallCommandArguments.h:
- STYLE: fix MSVC warnings by making the cmCommandArgumentsHelper a
- member of cmInstallCommandArguments instead of deriving from it
-
- Alex
-
-2007-08-24 14:21 alex
-
- * Source/: cmMakefile.cxx, cmMakefile.h, cmSourceGroup.cxx,
- cmSourceGroupCommand.cxx: BUG: fix #4057 (which had several
- duplicates): handle recursivew source groups better, i.e.
- multiple sourcegroups with the same end component work now
-
- Alex
-
-2007-08-24 13:30 david.cole
-
- * Source/cmInstallCommand.cxx, Source/cmInstallTargetGenerator.cxx,
- Source/cmInstallTargetGenerator.h, Source/cmTarget.h,
- Tests/CMakeLists.txt, Tests/BundleTest/CMakeLists.txt,
- Tests/BundleTest/BundleSubDir/CMakeLists.txt,
- Tests/Framework/CMakeLists.txt: ENH: Add InstallNameFixupPath to
- support installing built frameworks on the Mac. Change
- Application to Applications in the BundleTest. Also correct small
- typo (tcl->Tcl) noted in bug 4572.
-
-2007-08-24 10:58 alex
-
- * Source/cmSourceGroupCommand.cxx: BUG: handle source_group names
- which consist only of the delimiter the same was as empty source
- group names
-
- Alex
-
-2007-08-24 10:39 alex
-
- * Tests/SourceGroups/: CMakeLists.txt, bar.c, foo.c, main.c,
- sub1/foo.c, sub1/foobar.c:
- ENH: add test for source_group
-
- Alex
-
-2007-08-24 08:55 alex
-
- * Source/cmInstallCommand.cxx:
- ENH: use cmCommandArgumentHelper for INSTALL(TARGETS, FILES,
- PROGRAMS, EXPORTS), saves a lot of code. INSTALL(DIRECTORY) is
- still done the old way, since this seems to be quite complicated
- -for INSTALL(TARGETS ): also parse PUBLIC_HEADER, PRIVATE_HEADER,
- RESOURCE
-
- Alex
-
-2007-08-24 08:40 alex
-
- * Modules/CMakeForceCompiler.cmake:
- STYLE: fix typo in the docs
-
- Alex
-
-2007-08-23 23:21 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-23 16:14 alex
-
- * Source/: cmCommands.cxx, cmInstallCommandArguments.cxx,
- cmInstallCommandArguments.h:
- ENH: class for parsing the arguments for INSTALL()
-
- Alex
-
-2007-08-23 16:13 alex
-
- * Source/: cmCommandArgumentsHelper.cxx,
- cmCommandArgumentsHelper.h:
- ENH: add support for a default value, fix case when there is no
- item except the own group
-
- Alex
-
-2007-08-22 23:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-22 11:32 david.cole
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmInstallCommand.cxx, cmInstallExportGenerator.cxx,
- cmInstallExportGenerator.h: ENH: Handle FRAMEWORK and BUNDLE
- arguments in the INSTALL TARGETS command. Work in progress...
- More to come.
-
-2007-08-22 09:25 alex
-
- * Source/kwsys/RegularExpression.hxx.in:
- BUG: if there is no match, don't construct the stl string from a
- NULL pointer
-
- Alex
-
-2007-08-21 23:15 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-21 16:51 alex
-
- * Modules/UseQt4.cmake:
- ENH: support QtScript
-
- Alex
-
-2007-08-21 16:50 alex
-
- * Modules/FindQt4.cmake:
- ENH: support QtScript (since Qt 4.3), #4632
-
- Alex
-
-2007-08-21 16:22 alex
-
- * Source/cmLocalGenerator.cxx:
- STYLE: more space in the cmake_install.cmake script (easier to
- read)
-
- Alex
-
-2007-08-21 16:21 alex
-
- * Source/CMakeLists.txt:
- COMP: make it build on Linux
-
- Alex
-
-2007-08-21 15:30 alex
-
- * Source/kwsys/Glob.cxx:
- BUG: fix segfault if FindFiles() is called without actual match
- pattern (e.g. FILE(GLOB /usr/include) instead of FILE(GLOB
- /usr/include/* ) #4620
-
- Alex
-
-2007-08-21 13:47 alex
-
- * Source/cmGlobalKdevelopGenerator.cxx:
- ENH: also check for .hpp and .cxx files
-
- Alex
-
-2007-08-21 12:34 alex
-
- * Source/cmStringCommand.h:
- COMP: header was missing...
-
- Alex
-
-2007-08-21 12:31 hoffman
-
- * Tests/: Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: ENH: fix leak
-
-2007-08-21 11:30 alex
-
- * Source/cmStringCommand.cxx:
- ENH: store the matches for paren-delimited subexpression in
- CMAKE_MATCH_[0..9] variables, so to get multiple subexpressions
- from one string STRING(REGEX MATCH) has to be executed only once
-
- Alex
-
-2007-08-21 10:56 alex
-
- * Source/cmStringCommand.h:
- STYLE: fix documentation for STRING(REPLACE) #5536
-
- Alex
-
-2007-08-20 23:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-20 16:59 alex
-
- * Source/: cmFindLibraryCommand.cxx, cmInstallGenerator.cxx,
- cmInstallTargetGenerator.cxx:
- STYLE: add some newlines to cmake_install.cmake, so it's easier
- to read -move the array behind the if, it's unused before it
-
- Alex
-
-2007-08-20 11:03 david.cole
-
- * Source/cmGlobalXCodeGenerator.cxx: STYLE: Fix line length style
- errors introduced last week.
-
-2007-08-20 08:49 alex
-
- * Source/cmFindPackageCommand.cxx:
- ENH: also process "~" and paths relative to
- CMAKE_CURRENT_SOURCE_DIR in Foo_DIR
-
- Alex
-
-2007-08-19 23:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-18 23:15 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-17 23:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-17 10:41 alex
-
- * Modules/Platform/BlueGeneL.cmake:
- COMP: also use -Wl,-relax and -lc -lnss etc. when using the IBM
- compiler
-
- Alex
-
-2007-08-17 10:14 alex
-
- * Source/cmGlobalGenerator.cxx:
- COMP: include windows.h first, as it is done in the other source
- files
-
- Alex
-
-2007-08-17 10:05 alex
-
- * Source/: cmExtraEclipseCDT4Generator.cxx,
- cmExtraEclipseCDT4Generator.h:
- ENH: patch from Miguel - cleaning up a bit: static helper
- functions, remove unused scanner profiles, remove unused
- variables, etc. - correct <name> entry in .project file -
- converts the make command and other paths obtained from cygwin
- cmake to windows style paths - provide environment setup for
- compiling with nmake - create linked resources and path entries
- for executable/library_output_path's not subdirs of binary path -
- fixes incorrect exclusions of output dirs when named the same as
- source dir - excludes the CMakeFiles subdirs from the directories
- to scan for output targets - removes possible redundant entries
- in <pathentry include ...> - adds the all and preinstall targets
- to the target list - removes the linked resources for non
- out-of-source builds and conflicting dirs
-
- Alex
-
-2007-08-17 09:33 alex
-
- * Source/CPack/: cmCPackRPMGenerator.cxx, cmCPackRPMGenerator.h:
- STYLE: InitializeInternal() is unused
-
- Alex
-
-2007-08-17 09:13 alex
-
- * Modules/CPackRPM.cmake, Source/CPack/cmCPackRPMGenerator.cxx,
- Source/CPack/cmCPackRPMGenerator.h:
- ENH: patch from Eric Noulard for an RPM package generator It
- seems rpmbuild can't handle paths with spaces, it complains that
- Buildroot takes only one tag (or something like this), quoting
- and escaping don't seem to help.
-
- Alex
-
-2007-08-17 09:00 hoffman
-
- * Modules/Platform/Darwin.cmake: ENH: use the correct flag for the
- linker
-
-2007-08-16 23:24 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-16 16:50 alex
-
- * Source/cmGlobalGenerator.cxx: COMP: quick windows name mangling
- fix (otherwise the compiler complains about
- cmMakefile::GetCurrentDirectoryA(), which doesn't exist)
-
- Alex
-
-2007-08-16 15:33 alex
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h:
- ENH: move the code for the NOTFOUND checking into its own
- function, so Configure() gets easier to overview -improve the
- error message, now it also says in which directories and for
- which targets the missing variables are used -minor speedup: the
- include directories don't have to be checked per target, per
- directory is enough
-
- Alex
-
-2007-08-16 15:03 alex
-
- * Modules/FindPythonLibs.cmake:
- STYLE: this wasn't intended to be committed
-
- Alex
-
-2007-08-16 15:02 alex
-
- * Modules/: FindPythonLibs.cmake, Platform/BlueGeneL.cmake:
- ENH: add -Wl,-relax to the default linker flags for BlueGene,
- otherwise you can get "relocation truncated to fit" errors
-
- Alex
-
-2007-08-16 10:14 king
-
- * DartLocal.conf.in: ENH: Added dash1win98 expected nightly.
-
-2007-08-16 09:22 hoffman
-
- * Modules/Platform/Darwin.cmake: ENH: make sure osx searches static
- and shared libs like other platforms
-
-2007-08-16 08:37 alex
-
- * Modules/Platform/Generic-SDCC-C.cmake:
- COMP: fix arguments
-
- Alex
-
-2007-08-16 07:38 malaterre
-
- * Source/kwsys/: Directory.hxx.in, Glob.hxx.in: COMP: Directory and
- Glob have pointer data members
-
-2007-08-15 23:09 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-15 14:26 alex
-
- * Modules/: CMakeDetermineSystem.cmake, CMakeFindBinUtils.cmake,
- CMakeSystem.cmake.in, CMakeSystemWithToolchainFile.cmake.in:
- STYLE: don't use an extra file to generate CMakeSystem.cmake but
- instead configure the toolchain file into it if required -also
- search for nm, objdump and objcpy, so these can be used in macros
-
- Alex
-
-2007-08-15 14:22 alex
-
- * Modules/Platform/Generic-SDCC-C.cmake:
- STYLE: explicitely set default options for sdcc, so it is visible
- for which processor it currently compiles, use --out-fmt-ihx to
- enforce .ihx files
-
- Alex
-
-2007-08-15 11:38 david.cole
-
- * Source/kwsys/: CMakeLists.txt, Configure.h.in: COMP: Second try
- getting rid of Microsoft deprecation warnings. This time tested
- from KWStyle with vs8 to make sure the warnings are really gone.
- Remove the deprecation defs from CMakeLists and guard the defs in
- the header so we do not redefine them if they are already
- defined.
-
-2007-08-15 10:26 alex
-
- * Source/cmListCommand.cxx, Source/cmListCommand.h,
- Tests/CMakeTests/ListTest.cmake.in:
- ENH: change LIST(CONTAINS ...) TO LIST(FIND ...), which returns
- the index and which is more useful, because then you can also
- access the item behind the one you were looking, useful for
- writing macros with optional keywords with parameters
-
- Alex
-
-2007-08-15 09:43 alex
-
- * CMakeLists.txt, Modules/FindCurses.cmake:
- COMP: ccmake requires ncurses, according to Berk and since it
- doesn't build on NetBSD where there are separate curses and
- ncurses libraries, and where the curses library is found, which
- doesn't work for ccmake while the existing ncurses library would
- work. With this change it should be possible to test whether the
- found curses lib provides ncurses functionality.
-
- Alex
-
-2007-08-15 09:25 david.cole
-
- * Source/kwsys/Configure.h.in: COMP: Suppress Microsoft deprecation
- warnings when building kwsys .c and .cxx files. This way, other
- projects that include kwsys will not see the warnings in kwsys .c
- and .cxx files, but they can still see the warnings in their own
- source files if they want to...
-
-2007-08-15 08:47 alex
-
- * Source/CPack/cmCPackDebGenerator.cxx:
- COMP: fix warning about comparison signed - unsigned
-
- Alex
-
-2007-08-15 08:28 alex
-
- * Source/CPack/cmCPackDebGenerator.cxx:
- COMP: fix build on HPUX, snprintf apparently doesn't work there
-
- Alex
-
-2007-08-14 23:15 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-14 14:12 david.cole
-
- * Source/: cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.h: ENH: Improve framework
- support in the makefile generator to match the support just added
- to the Xcode generator. BUG: Remove spurious warning and
- eliminate empty Libraries subdir inside built framework.
-
-2007-08-14 11:58 alex
-
- * Source/cmUtilitySourceCommand.h:
- STYLE: document the behaviour of UTILITY_SOURCE in cross
- compiling mode
-
- Alex
-
-2007-08-14 11:45 david.cole
-
- * Source/cmGlobalXCode21Generator.cxx,
- Source/cmGlobalXCodeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalXCodeGenerator.cxx, Source/cmXCode21Object.cxx,
- Source/cmXCode21Object.h, Source/cmXCodeObject.cxx,
- Tests/Framework/CMakeLists.txt, Tests/Framework/fooBoth.h,
- Tests/Framework/fooNeither.h, Tests/Framework/fooPrivate.h,
- Tests/Framework/fooPublic.h, Tests/Framework/test.lua: ENH:
- Improvements to the Xcode generator. Build frameworks using
- native Copy Headers and Copy Bundle Resources phases. Fix bugs:
- eliminate folders with no names, ensure source files show up in
- multiple targets, remove empty utility targets from Sources
- subtrees, ensure that fileRefs only show up once in each grouping
- folder.
-
-2007-08-14 10:27 alex
-
- * Source/cmSystemTools.cxx:
- COMP: patch from Mathieu: fix warning about unused variables in
- bootstrap mode
-
- Alex
-
-2007-08-14 10:25 alex
-
- * Source/CPack/cmCPackDebGenerator.cxx:
- STYLE: another patch from Mathieu with some comments
-
- Alex
-
-2007-08-14 10:20 alex
-
- * Modules/CPackDeb.cmake:
- BUG: fix typo
-
- Alex
-
-2007-08-14 08:40 alex
-
- * Modules/CPackDeb.cmake, Source/CMakeLists.txt,
- Source/CPack/cmCPackDebGenerator.cxx,
- Source/CPack/cmCPackDebGenerator.h:
- ENH: deb generator: don't use the system provided ar, but do it
- yourself using the code from OpenBSD ar COMP: don't build all
- package generators on all platforms
-
- Alex
-
-2007-08-13 23:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-13 11:04 alex
-
- * Modules/TestBigEndian.cmake:
- ENH: for universal binaries return the endianess based on the
- processor
-
- Alex
-
-2007-08-12 23:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-12 21:08 alex
-
- * Modules/TestBigEndian.cmake:
- COMP: turn error into warning for now
-
- Alex
-
-2007-08-11 23:21 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-10 23:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-10 16:28 hoffman
-
- * Source/CTest/cmCTestMemCheckHandler.cxx: ENH: fix output and
- valgrind truncation issue
-
-2007-08-10 15:02 alex
-
- * Source/cmUtilitySourceCommand.cxx:
- ENH: print a warning if UTILITY_SOURCE is used in cross compiling
- mode -make it possible to preload the cache with the command in
- cross compiling mode
-
- Alex
-
-2007-08-10 13:14 alex
-
- * Modules/: CheckTypeSize.c.in, CheckTypeSize.cmake,
- TestBigEndian.c, TestBigEndian.cmake, TestEndianess.c.in:
- STYLE: remove unused CheckTypeSize.c.in ENH: change test for
- endianess from TRY_RUN() to TRY_COMPILE() by testing the binary
- image of a 16bit integer array, tested on Linux x86, Intel Mac
- and Sun (big endian)
-
- Alex
-
-2007-08-10 13:02 king
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio6Generator.h: BUG: Fixed passing of
- configuration names to GetRealDependency and ConstructScript.
- Added GetConfigName helper method to do this.
-
-2007-08-10 11:37 alex
-
- * Modules/FindOpenGL.cmake:
- STYLE: remove unnecessary default search paths
-
- Alex
-
-2007-08-10 11:15 hoffman
-
- * Source/cmake.cxx: ENH: fix memory leak
-
-2007-08-10 09:20 alex
-
- * Modules/CMakeDetermineCompilerId.cmake:
- BUG: fix compiler id test on cygwin
-
- Alex
-
-2007-08-10 09:07 alex
-
- * Source/cmMakefile.cxx, Modules/CMakeDetermineSystem.cmake,
- Modules/CMakeSystemSpecificInformation.cmake:
- ENH: set UNIX, WIN32 and APPLE in cmMakefile.cxx as it was
- before, so it works for scripts, then reset them in
- CMakeSystemSpecificInformation.cxx, so the platform modules can
- set them again for the target system
-
- Alex
-
-2007-08-10 08:54 alex
-
- * Modules/Platform/: AIX.cmake, BSDOS.cmake, BeOS.cmake,
- MP-RAS.cmake, QNX.cmake, RISCos.cmake:
- BUG: also include UnixPaths.cmake on these platforms, this also
- sets UNIX to 1
-
- Alex
-
-2007-08-09 23:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-09 16:54 alex
-
- * Tests/CMakeLists.txt:
- STYLE: mark these variables as advanced, they are only used for
- testing whether the tests should be added or not
-
- Alex
-
-2007-08-09 16:47 alex
-
- * Modules/CMakeGenericSystem.cmake:
- BUG: use CMAKE_HOST_UNIX here instead of UNIX
-
- Alex
-
-2007-08-09 15:57 alex
-
- * Source/: cmExportCommand.cxx, cmGlobalMSYSMakefileGenerator.h,
- cmGlobalMinGWMakefileGenerator.h,
- cmGlobalNMakeMakefileGenerator.h, cmGlobalWatcomWMakeGenerator.h:
-
- STYLE: use correct case for cmGlobalUnixMakefileGenerator3 make
- export() work with spaces in the path
-
- Alex
-
-2007-08-09 15:31 hoffman
-
- * Source/cmSetSourceFilesPropertiesCommand.h: ENH: merge in doc
- change from head
-
-2007-08-09 14:55 alex
-
- * Utilities/cmcurl/: CMakeLists.txt, CMake/CurlTests.c,
- CMake/OtherTests.cmake:
- STYLE: HAVE_LONG_LONG_CONST was completely unused here (it was
- used in the (unused) copy of curl under CMake/CTest/Curl/ )
-
- Alex
-
-2007-08-09 14:45 alex
-
- * Modules/CMakeDetermineCompilerId.cmake,
- Modules/CMakeDetermineSystem.cmake,
- Modules/CMakeSystemSpecificInformation.cmake,
- Modules/Platform/BeOS.cmake, Modules/Platform/CYGWIN.cmake,
- Modules/Platform/Darwin.cmake, Modules/Platform/QNX.cmake,
- Modules/Platform/UnixPaths.cmake, Modules/Platform/Windows.cmake,
- Source/cmMakefile.cxx:
- ENH: UNIX, CYGWIN, WIN32, APPLE, QNXNTO and BEOS are not longer
- set in cmMakefile.cxx, but now in the platform files and are now
- valid for the target platform, not the host platform. New
- variables CMAKE_HOST_WIN32, CMAKE_HOST_UNIX, CMAKE_HOST_APPLE and
- CMAKE_HOST_CYGWIN have been added in cmMakefile.cxx (...and have
- now to be used in all cmake files which are executed before
- CMakeSystemSpecificInformation.cmake is loaded). For
- compatibility the old set is set to the new one in
- CMakeDetermineSystem.cmake and reset before the system platform
- files are loaded, so custom language or compiler modules which
- use these should still work.
-
- Alex
-
-2007-08-09 14:26 alex
-
- * Source/: CMakeLists.txt, CTest/CMakeLists.txt:
- COMP: this copy of curl is unused, the one in Utilities/cmcurl/
- is used
-
- Alex
-
-2007-08-09 11:05 alex
-
- * Modules/CMakeSystemWithToolchainFile.cmake.in:
- BUG: work with spaces in the path
-
- Alex
-
-2007-08-09 09:57 alex
-
- * Tests/CMakeLists.txt:
- COMP: lets see if this sets the timeout back to 5400
-
- Alex
-
-2007-08-09 09:03 alex
-
- * Source/kwsys/CommandLineArguments.hxx.in:
- STYLE: fix typo
-
- Alex
-
-2007-08-09 08:49 alex
-
- * Source/cmTarget.cxx:
- STYLE: fix typo
-
- Alex
-
-2007-08-09 08:48 alex
-
- * Source/cmDocumentation.cxx:
- BUG: properties and module names are case sensitive
-
- Alex
-
-2007-08-08 23:15 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-08 15:44 alex
-
- * Source/CPack/cmCPackRPMGenerator.cxx:
- COMP: silence warnings
-
- Alex
-
-2007-08-08 14:44 alex
-
- * Source/CPack/cmCPackGenerators.cxx:
- BUG: register the rpm generator for RPM
-
- Alex
-
-2007-08-08 14:18 alex
-
- * Modules/CPackDeb.cmake, Source/CPack/cmCPackDebGenerator.cxx:
- ENH: patch from Mathieu: more entries in the debian control file
-
- Alex
-
-2007-08-08 13:05 alex
-
- * Source/cmFindPackageCommand.cxx,
- Tests/FindPackageTest/CMakeLists.txt:
- ENH: remove the watch for the upper case variable name, it breaks
- the feature summary, which needs to check for both the upper case
- and original case _FOUND variables
-
- Alex
-
-2007-08-08 11:33 alex
-
- * Source/CMakeLists.txt, Modules/CPack.cmake,
- Modules/CPackRPM.cmake, Source/CPack/cmCPackGenerators.cxx,
- Source/CPack/cmCPackRPMGenerator.cxx,
- Source/CPack/cmCPackRPMGenerator.h:
- ENH: add empty RPM package generator, Eric Noulard wants to work
- on it
-
- Alex
-
-2007-08-08 10:05 alex
-
- * Tests/CMakeLists.txt:
- COMP: change the order of the tests, so maybe the timeout works
-
- Alex
-
-2007-08-08 09:32 alex
-
- * Tests/CMakeLists.txt:
- ENH: also specify the C++ compiler for mingw
-
- Alex
-
-2007-08-08 08:41 malaterre
-
- * Source/kwsys/CommandLineArguments.cxx: ENH: Remove extra ;
-
-2007-08-07 23:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-07 18:02 alex
-
- * Tests/FindPackageTest/CMakeLists.txt:
- BUG: disable this test temporarily
-
- Alex
-
-2007-08-07 16:26 alex
-
- * Source/cmFindPackageCommand.h:
- COMP: also commit the header...
-
- Alex
-
-2007-08-07 15:42 alex
-
- * Modules/Dart.cmake:
- STYLE: find Dart quietly (so it doesn't go in the feature log)
-
- Alex
-
-2007-08-07 15:41 alex
-
- * Modules/FeatureSummary.cmake, Source/cmFindPackageCommand.cxx,
- Source/cmake.cxx:
- ENH: add global properties for collecting enabled/disabled
- features during the cmake run and add macros
- print_enabled/disabled_features() and set_feature_info(), so
- projects can get a nice overview at the end of the cmake run what
- has been found and what hasn't FIND_PACKAGE() automatically adds
- the packages to these global properties, except when used with
- QUIET Maybe this can also be useful for packagers to find out
- dependencies of projects.
-
- Alex
-
-2007-08-07 15:36 hoffman
-
- * DartLocal.conf.in: ENH: change ibm machine again
-
-2007-08-07 15:09 alex
-
- * Source/cmGlobalGenerator.cxx:
- STYLE: I think the comment (and the book) were wrong about the
- naming of this file
-
- Alex
-
-2007-08-07 13:57 king
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h, cmMakefileTargetGenerator.cxx:
- ENH: Replaced dependency integrity map with an explicit map from
- object file to source file for each language in each target.
- This simplifies creation of implicit dependency scanning rules
- and allows more than one object file in a target to start
- dependency scanning with the same source file.
-
-2007-08-07 10:13 alex
-
- * Tests/CMakeLists.txt:
- BUG: the test for chicken should be named Chicken, not plplot
-
- Alex
-
-2007-08-07 00:00 alex
-
- * Source/cmExtraCodeBlocksGenerator.cxx:
- ENH: don't create a CodeBlocks workspace, the CodeBlocks projects
- cover everything what's needed
-
- Alex
-
-2007-08-06 23:16 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-06 22:08 alex
-
- * Modules/FindPackageHandleStandardArgs.cmake:
- STYLE: fix typo
-
- Alex
-
-2007-08-06 17:09 hoffman
-
- * Source/cmCTest.cxx: ENH: change error to warning so ctesttest3
- passes
-
-2007-08-06 14:45 alex
-
- * Tests/CMakeLists.txt:
- ENH: add plplot and Chicken Scheme build tests
-
- Alex
-
-2007-08-06 13:31 alex
-
- * Source/CPack/cmCPackDebGenerator.cxx:
- ENH: another fix for the deb generator by Mathieu
-
- Alex
-
-2007-08-06 13:24 alex
-
- * Source/: cmExtraCodeBlocksGenerator.cxx,
- cmExtraCodeBlocksGenerator.h, cmExtraEclipseCDT4Generator.cxx:
- STYLE: fix line lengths
-
- Alex
-
-2007-08-06 11:02 alex
-
- * Modules/: FindMPI.cmake, FindThreads.cmake:
- STYLE: use FIND_PACKAGE_HANDLE_STANDARD_ARGS() also in
- FindMPI.cmake -remove unnecessary ELSE() in FindThreads.cmake
-
- Alex
-
-2007-08-06 10:42 hoffman
-
- * Modules/FLTKCompatibility.cmake: ENH: threads used to include
- this
-
-2007-08-06 09:03 alex
-
- * Source/CPack/cmCPackDebGenerator.cxx:
- BUG: patch from Mathieu: the md5sums were not correct
-
- Alex
-
-2007-08-05 23:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-04 23:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-03 23:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-03 16:44 hoffman
-
- * Source/CTest/cmCTestGenericHandler.cxx: ENH: make sure there is
- an error and notify user if nightly start time not set
-
-2007-08-03 16:44 hoffman
-
- * Source/CTest/cmCTestCoverageHandler.cxx: ENH: show files as
- untested if no lines are covered
-
-2007-08-03 16:42 hoffman
-
- * Source/CTest/cmCTestUpdateHandler.cxx: ENH: fatal error if cvs
- update fails
-
-2007-08-03 16:41 hoffman
-
- * Source/cmCTest.cxx: ENH: add a check to make sure nightly start
- time was specified
-
-2007-08-03 16:35 hoffman
-
- * Source/CTest/cmCTestMemCheckHandler.cxx: ENH: add another
- valgrind error type
-
-2007-08-03 16:31 king
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmInstallCommand.h,
- cmInstallTargetGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx,
- cmTarget.cxx: ENH: Added warning when an install rule is created
- from an EXCLUDE_FROM_ALL target. Added a foo/preinstall version
- of targets that need relinking so that exclude-from-all targets
- can be manually relinked for installation.
-
-2007-08-03 15:44 king
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h, cmMakefile.cxx, cmTarget.cxx:
- BUG: Target exclusion-from-all tests should always use the root
- local generator associated with the all target being tested.
-
-2007-08-03 15:43 seanmcbride
-
- * Source/kwsys/CommandLineArguments.cxx: COMP: fixed compiler
- warning in sprintf usage
-
-2007-08-03 15:26 alex
-
- * Modules/CPack.cmake, Modules/CPackDeb.cmake,
- Source/CPack/cmCPackGenericGenerator.cxx, Source/CPack/cpack.cxx:
-
- ENH: better error messages from the debian package generator
- -don't display the cpack help if a generator failed with some
- problem -check for cmSystemTools::GetErrorOccuredFlag()
-
- Alex
-
-2007-08-03 09:39 king
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h: ENH: Added
- cmTarget::GetLanguages method to centralize computation of the
- list of languages compiled in a target. Transformed
- NeedRequiresStep to use it.
-
-2007-08-02 23:18 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-02 15:48 alex
-
- * Modules/FindPythonLibs.cmake:
- ENH: make the python modules usable for C and C++ and only write
- the header if it has changed
-
- Alex
-
-2007-08-02 14:28 king
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h: BUG: Removing accidental
- commit.
-
-2007-08-02 14:28 king
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: Quick-fix for
- accidental commit.
-
-2007-08-02 14:23 king
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h: ENH: Added
- cmTarget::GetLanguages method to centralize computation of the
- list of languages compiled in a target.
-
-2007-08-02 13:38 king
-
- * Source/: cmMakefileTargetGenerator.cxx, cmTarget.cxx, cmTarget.h:
- ENH: Added cmTarget::GetLanguages method to centralize
- computation of the list of languages compiled in a target.
-
-2007-08-02 11:17 alex
-
- * Modules/Platform/: Windows-cl.cmake, Windows.cmake,
- WindowsPaths.cmake:
- ENH: use WindowsPaths.cmake on all Windows platforms, not only
- for cl, makes the mingw cross compiler work out of the box and
- should help mingw users on windows with a common install dir
-
- Alex
-
-2007-08-02 09:37 king
-
- * Source/: cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx: ENH: Simplify makefile target
- generator listing of object files to clean.
-
-2007-08-02 08:24 alex
-
- * Source/cmExtraEclipseCDT4Generator.cxx:
- COMP: fix warning
-
- Alex
-
-2007-08-01 23:12 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-08-01 17:10 alex
-
- * Source/: cmInstallCommand.cxx, cmTryRunCommand.cxx:
- ENH: if no COMPONENT is specified, make this install item part of
- the "Unspecified" component -> if no components are used at all,
- no change in behaviour, if components are used completely, no
- change in behaviour, since this default will be overridden
- everywhere, if components where used partly, it is now possible
- to install only the unspecified items (e.g. everything which
- wasn't marked as "Development")
-
- Alex
-
- Alex
-
-2007-08-01 16:15 david.cole
-
- * Tests/Framework/: bar.cxx, foo.cxx: BUG: Fix test that broke on
- Windows - sharing sources between SHARED and STATIC libraries
- requires correct export and import decorations in the source
- code...
-
-2007-08-01 15:25 king
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio6Generator.h,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h, cmLocalXCodeGenerator.cxx,
- cmLocalXCodeGenerator.h: ENH: Moved GetTargetDirectory method up
- to cmLocalGenerator. This provides a common interface to
- something that was implemented in most local generators anyway.
-
-2007-08-01 14:58 alex
-
- * Source/: cmExtraCodeBlocksGenerator.cxx, cmake.cxx: BUG: also
- offer the extra generators in CMakeSetup
-
- Alex
-
-2007-08-01 13:04 david.cole
-
- * Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmTarget.cxx,
- Tests/Framework/CMakeLists.txt: BUG: Only pay attention to the
- FRAMEWORK target property for SHARED library targets
-
-2007-08-01 11:59 alex
-
- * Source/cmTryRunCommand.cxx:
- STYLE: some more tuning for the comment text
-
- Alex
-
-2007-08-01 11:50 alex
-
- * Source/cmExtraEclipseCDT4Generator.cxx:
- ENH: works also with nmake, tested by Jeff
-
- Alex
-
-2007-08-01 11:39 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: Do not recognize
- preprocessor definition flags for the linker which has no
- preprocessor but does have flags starting with /D.
-
-2007-08-01 11:36 king
-
- * Source/cmTarget.cxx: BUG: <CONFIG>_LOCATION property should use
- the config name in the directory and not $(OutDir). This
- addresses bug#5363.
-
-2007-08-01 10:53 king
-
- * Source/cmGeneratedFileStream.h: COMP: Fix warning about not being
- able to automatically generate a copy constructor.
-
-2007-08-01 10:07 alex
-
- * Source/kwsys/DynamicLoader.cxx:
- COMP: also build the static dummy loader on Cray Catamount
-
- Alex
-
-2007-08-01 09:18 alex
-
- * Source/: CMakeLists.txt, cmExtraEclipseCDT4Generator.cxx,
- cmExtraEclipseCDT4Generator.h, cmake.cxx:
- ENH: add Eclipse CDT4 generator, patch from Miguel A.
- Figueroa-Villanueva
-
- Alex
-
-2007-08-01 09:14 alex
-
- * Modules/Platform/Catamount.cmake:
- ENH: add support for Catamount, the OS running on the compute
- nodes of Cray super computers
-
- Alex
-
-2007-07-31 23:16 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-07-31 14:52 alex
-
- * Source/cmTryRunCommand.cxx, Tests/TryCompile/CMakeLists.txt:
- ENH: add tests for check_c_source_runs(),
- check_cxx_source_runs(), check_c_source_compiles() and
- check_cxx_source_compiles() -TRY_RUN in crosscompiling mode: copy
- the created executables to CMAKE_BINARY_DIR so the user can run
- them manually on the target
-
- Alex
-
-2007-07-31 13:30 alex
-
- * Modules/: CheckCSourceRuns.cmake, CheckCXXSourceRuns.cmake,
- FindThreads.cmake:
- STYLE: don't use FIND_INCLUDE_FILE() but only
- FIND_INCLUDE_FILES() in FindThreads.h
-
- BUG: improve CheckC(XX)SourceRuns.cmake so that it works with
- cross compiling, the return value has to go in the cache but
- shouldn't overwrite the actual return value, and it should go
- only in the cache if we have a result from try_run() otherwise we
- won't get here again if we have a result later on
-
- Alex
-
-2007-07-31 11:23 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix DLL and DEF
- being lost and add real support for /DEF: /DLL does not have an
- entry so just let it pass to advanced command line
-
-2007-07-30 23:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-07-30 22:51 hoffman
-
- * Source/: cmSystemTools.cxx, CPack/cmCPackTGZGenerator.cxx,
- CPack/cmCPackTarCompressGenerator.cxx: ENH: use gnu tar for
- cygwin
-
-2007-07-30 21:38 hoffman
-
- * Source/cmXMLParser.cxx: STYLE: fix warning
-
-2007-07-30 15:52 alex
-
- * Source/kwsys/DynamicLoader.cxx:
- COMP: add a dynamic loader for systems which don't support
- dynamic loading, so this is handled in kwsys and not every
- project using this has to care for it
-
- Alex
-
-2007-07-30 14:46 alex
-
- * Source/cmTryRunCommand.cxx:
- ENH: FORCE the values in the cache, otherwise the file is useless
-
- Alex
-
-2007-07-29 23:13 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-07-28 23:32 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-07-28 00:33 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-07-27 13:12 alex
-
- * Source/CPack/cmCPackDebGenerator.cxx:
- STYLE: fix line length
-
- Alex
-
-2007-07-27 11:57 alex
-
- * Modules/Platform/: UnixPaths.cmake, WindowsPaths.cmake:
- ENH: -add /usr/openwin/include and /usr/openwin/lib to the
- default search paths -add
- /${CMAKE_INSTALL_PREFIX}/(lib|bin|include) to the default cmake
- search paths -> this should help users who install stuff in their
- home
-
- Alex
-
-2007-07-27 10:55 hoffman
-
- * Source/: cmCommandArgumentLexer.h, cmCommandArgumentParser.cxx,
- cmCommandArgumentParserTokens.h, cmConfigure.cmake.h.in,
- cmCoreTryCompile.cxx, cmDependsFortranLexer.h,
- cmDependsJavaLexer.h, cmExprLexer.h, cmXCodeObject.cxx,
- cmXCodeObject.h, cmaketest.h.in, cmakexbuild.cxx,
- CPack/OSXScriptLauncher.cxx, CPack/cmCPackConfigure.h.in,
- CPack/cmCPackGenerators.cxx, CPack/cmCPackZIPGenerator.cxx,
- CPack/cpack.cxx, CTest/cmCTestCoverageHandler.cxx,
- CTest/cmCTestMemCheckHandler.cxx: STYLE: fix some kwstyle errors
-
-2007-07-27 08:59 alex
-
- * CMakeCPack.cmake, Source/cmSetPropertiesCommand.h,
- Source/cmake.cxx, Source/cmake.h, Modules/CPackDeb.cmake,
- Modules/FindPythonLibs.cmake,
- Source/CPack/cmCPackDebGenerator.cxx, Source/CPack/cpack.cxx,
- Source/CTest/cmCTestScriptHandler.cxx:
- ENH: deb generator can now generate deb packages -remove the
- unscriptable commands also from the cpack cmake -use
- CPACK_PACKAGE_CONTACT in CMakeCPack.cmake, it's used in the nsis
- and the deb generator -make set_properties() scriptable -use a
- non-const char array for adding the python modules
-
- Alex
-
-2007-07-27 04:22 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-07-26 16:38 hoffman
-
- * Source/CTest/cmCTestMemCheckHandler.cxx: ENH: add test output to
- valgrind output and truncate output for valgrind
-
-2007-07-26 14:36 hoffman
-
- * Source/: cmXMLParser.cxx, cmXMLParser.h: ENH: fix warning on
- win64
-
-2007-07-26 11:21 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-07-26 08:40 alex
-
- * Source/: cmTryRunCommand.cxx, CPack/cmCPackGenerators.cxx,
- CPack/cmCPackZIPGenerator.cxx, CPack/cpack.cxx:
- STYLE: fix line lengths
-
- Alex
-
-2007-07-26 00:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-07-25 16:37 hoffman
-
- * Source/CTest/cmCTestTestHandler.cxx: ENH: fix bug with valgrind
- output being truncated
-
-2007-07-25 15:08 alex
-
- * Modules/FindPythonLibs.cmake:
- COMP: same as in VTK, build modules by default as shared if the
- platform supports this, don't include shared modules in the
- generated header
-
- Alex
-
-2007-07-25 13:08 alex
-
- * Source/CPack/: cmCPackDebGenerator.cxx, cmCPackGenerators.cxx:
- ENH: apply patch from Mathieu which creates a deb file (not
- finishsed yet)
-
- Alex
-
-2007-07-25 11:41 alex
-
- * Source/CPack/cmCPackDebGenerator.cxx:
- COMP: silence warnings
-
- Alex
-
-2007-07-25 10:57 alex
-
- * Modules/CPackDeb.cmake, Source/CMakeLists.txt, Source/cmake.cxx,
- Source/CPack/cmCPackDebGenerator.cxx,
- Source/CPack/cmCPackDebGenerator.h,
- Source/CPack/cmCPackGenerators.cxx:
- ENH: add an empty debian package generator, Mathieu volunteered
- to fill it :-)
-
- Alex
-
-2007-07-25 09:22 hoffman
-
- * Source/: cmXMLParser.cxx, cmXMLParser.h: STYLE: fix compiler
- warning
-
-2007-07-25 04:18 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-07-24 15:55 hoffman
-
- * Source/cmWin32ProcessExecution.cxx: ENH: fix resource leak
-
-2007-07-24 15:27 hoffman
-
- * DartLocal.conf.in: ENH: clean up some missing dashboards
-
-2007-07-24 14:50 alex
-
- * Source/kwsys/ProcessUNIX.c:
- COMP: sync with HEAD
-
- Alex
-
-2007-07-24 14:43 hoffman
-
- * Source/CTest/: cmCTestMemCheckHandler.cxx,
- cmCTestMemCheckHandler.h, cmCTestTestHandler.h: ENH: add support
- for bounds checker
-
-2007-07-24 14:14 alex
-
- * Source/kwsys/DynamicLoader.cxx:
- ENH: disable dynamic loader if shared libraries are not supported
- instead of hacking around it
-
- Alex
-
-2007-07-24 12:52 alex
-
- * Source/CPack/cmCPackGenericGenerator.cxx,
- Source/CPack/cmCPackGenericGenerator.h,
- Source/CPack/cmCPackZIPGenerator.cxx,
- Source/CPack/cmCPackZIPGenerator.h, Modules/CPackZIP.cmake,
- Modules/Platform/BlueGeneL.cmake:
- ENH: add ReadListFile() to cmCPackGenericGenerator, so cmMakefile
- can be private again -convert the ZIP generator to use a cmake
- script instead of hardcoding everything (CPackZIP.cmake)
-
- Alex
-
-2007-07-24 10:05 hoffman
-
- * Source/kwsys/ProcessWin32.c: ENH: fix resource leak
-
-2007-07-24 10:00 alex
-
- * Modules/CMakeDetermineSystem.cmake,
- Source/CPack/cmCPackGenericGenerator.cxx,
- Source/CPack/cmCPackGenericGenerator.h, Source/CPack/cpack.cxx:
- ENH: determine the current system also in cpack, so the search
- paths are loaded Additionally the makefile in
- cmCPackGenericGenerator is now protected instead of private, so
- with these two changes the cpack generators should now be able to
- find their tools and how to call these tools from cmake scripts,
- instead of hardcoding the search order and command line (as done
- e.g. in cmCPackZIPGenerator.cxx)
-
- Alex
-
-2007-07-24 02:28 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-07-23 13:13 alex
-
- * Source/cmTryRunCommand.cxx:
- STYLE: put a lot of comments into the generated cmake-cache
- preloading file to aid the user with using it
-
- Alex
-
-2007-07-23 11:22 alex
-
- * Modules/FindPythonInterp.cmake:
- STYLE: mark the variable as advanced
-
- Alex
-
-2007-07-23 10:47 alex
-
- * Source/cmTryRunCommand.cxx:
- ENH: try to create a file which can be used for presetting the
- cache values of the TRY_RUN() results when crosscompiling
-
- Alex
-
-2007-07-23 09:49 alex
-
- * Modules/: FindASPELL.cmake, FindBZip2.cmake, FindBoost.cmake,
- FindCURL.cmake, FindCurses.cmake, FindEXPAT.cmake,
- FindGnuplot.cmake, FindHSPELL.cmake, FindJPEG.cmake,
- FindJasper.cmake, FindLibXml2.cmake, FindLibXslt.cmake,
- FindMPEG.cmake, FindMPEG2.cmake, FindMotif.cmake,
- FindOpenAL.cmake, FindPNG.cmake,
- FindPackageHandleStandardArgs.cmake, FindPerl.cmake,
- FindPerlLibs.cmake, FindPhysFS.cmake, FindPythonInterp.cmake,
- FindPythonLibs.cmake, FindSDL.cmake, FindTCL.cmake,
- FindTIFF.cmake, FindTclsh.cmake, FindWget.cmake, FindZLIB.cmake:
- ENH: add second failure message parameter to
- FIND_PACKAGE_HANDLE_STANDARD_ARGS(), so cmake modules can specify
- their own better failure messages. If the default is ok use
- "DEFAULT_MSG". Do this also for FindBoost.cmake (#5349)
-
- Alex
-
-2007-07-23 09:06 alex
-
- * Source/: cmLocalGenerator.cxx, kwsys/SystemTools.cxx:
- PERF: micro optimization: the (*pos1) && (*pos1=='/') were
- redundant, and hasDoubleSlash is false in most cases, so in most
- cases 3 comparisons were done, now only one
-
- Alex
-
-2007-07-23 00:41 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-07-21 23:26 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-07-20 22:46 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-07-20 16:31 alex
-
- * Utilities/KWStyle/CMakeFiles.txt.in:
- ENH: add quotes around the file names, so kwstyle can handle it
- if there are spaces in the path
-
- Alex
-
-2007-07-20 14:08 hoffman
-
- * Source/cmCommandArgumentParser.cxx, Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt: ENH: user more memory
- for parser and add test to complex that sets a huge string
-
-2007-07-20 13:03 hoffman
-
- * Source/CTest/cmCTestCoverageHandler.cxx: ENH: fix div by 0
-
-2007-07-20 12:25 hoffman
-
- * Utilities/cmcurl/CMake/OtherTests.cmake: ENH: change order so
- windows functions are found first since try compile is slow on
- windows
-
-2007-07-20 10:07 hoffman
-
- * DartLocal.conf.in: ENH: change name
-
-2007-07-20 08:48 alex
-
- * Source/cmMakefile.cxx:
- STYLE: even more output when --debug-output is used
-
- Alex
-
-2007-07-20 08:36 alex
-
- * Source/: cmDocumentation.cxx, cmExportCommand.h,
- cmExtraCodeBlocksGenerator.cxx, cmExtraCodeBlocksGenerator.h,
- cmFileCommand.cxx, cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmHexFileConverter.cxx, cmIncludeExternalMSProjectCommand.cxx,
- cmMakefile.cxx, cmMakefile.h, cmTryCompileCommand.h,
- cmTryRunCommand.h, cmake.h, CTest/cmCTestScriptHandler.cxx:
- STYLE: fix line lengths
-
- Alex
-
-2007-07-19 21:02 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-07-19 15:39 alex
-
- * Modules/CPack.STGZ_Header.sh.in:
- ENH: try if tail works with the -n +<number> syntax, if not use
- only "+<number>" (GNU tail warns that this is deprecated)
-
- Alex
-
-2007-07-19 13:40 alex
-
- * Modules/FindTCL.cmake:
- ENH: add TK_FOUND and TCLTK_FOUND TCL_FOUND is now TRUE if Tcl
- was found, before it was only TRUE if Tcl and Tk were found
-
- Alex
-
-2007-07-19 11:59 alex
-
- * Modules/FindPythonLibs.cmake:
- BUG: fix typo
-
- Alex
-
-2007-07-19 11:47 alex
-
- * Modules/FindPythonLibs.cmake:
- ENH: make the list of modules global
-
- Alex
-
-2007-07-19 11:13 alex
-
- * Source/: cmFindPackageCommand.h, cmMakefile.cxx, cmakemain.cxx,
- CPack/cpack.cxx:
- STYLE: fix some typos, nicer debug output
-
- Alex
-
-2007-07-19 10:20 alex
-
- * Modules/FindPythonLibs.cmake:
- ENH: only load the static modules in the LoadAll function
-
- Alex
-
-2007-07-19 09:42 alex
-
- * Modules/: CPack.STGZ_Header.sh.in, FindPHP4.cmake:
- BUG: fix #5329, if /usr/xpg4/bin/tail exists, use this one -> on
- SunOS /usr/bin/tail doesn't understand the -n +<number> syntax
- -remove standard searchd dirs from FindPHP4.cmake
-
- Alex
-
-2007-07-19 09:00 alex
-
- * Modules/: FindASPELL.cmake, FindCURL.cmake, FindCurses.cmake,
- FindDCMTK.cmake, FindEXPAT.cmake, FindGLUT.cmake, FindGTK.cmake,
- FindGnuplot.cmake, FindHSPELL.cmake, FindMPEG.cmake,
- FindMPEG2.cmake, FindMotif.cmake, FindPerl.cmake,
- FindPhysFS.cmake, FindPike.cmake, FindPythonLibs.cmake,
- FindSDL.cmake, FindTCL.cmake, FindTclsh.cmake, FindWget.cmake,
- readme.txt:
- ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS() macro in
- most of the not-too-complicated modules -remove unnecessary
- default search paths used in the FIND_XXX() calls
-
- Alex
-
-2007-07-18 14:38 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-07-18 13:56 alex
-
- * Modules/: FindBZip2.cmake, FindCups.cmake, FindJPEG.cmake,
- FindJasper.cmake, FindLibXslt.cmake, FindOpenAL.cmake,
- FindPNG.cmake, FindPerlLibs.cmake, FindPythonInterp.cmake,
- FindTCL.cmake, FindTIFF.cmake, FindZLIB.cmake:
- ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS in some of the
- FindXXX modules, remove some of the extra search paths which are
- also searched by default
-
- Alex
-
-2007-07-18 13:26 alex
-
- * Modules/: CMakeLists.txt, FindLibXml2.cmake,
- FindPackageHandleStandardArgs.cmake, FindPythonLibs.cmake:
- ENH: add a macro FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibXml2
- LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR) which handles the required
- and QUIET arguments and sets <NAME>_FOUND
-
- Alex
-
-2007-07-18 10:52 alex
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake:
- ENH: if CMAKE_(C|CXX)_COMPILER is preset to a list of two
- elements, use the first one as the compiler and the second one as
- ARG1 for the compiler
-
- Alex
-
-2007-07-18 10:19 alex
-
- * Source/: CMakeLists.txt, cmExtraCodeBlocksGenerator.cxx,
- cmake.cxx:
- ENH: build codeblocks generator also on Windows
-
- Alex
-
-2007-07-17 13:43 hoffman
-
- * Source/cmAddCustomCommandCommand.h: STYLE: add more docs
-
-2007-07-17 13:10 alex
-
- * Source/cmakemain.cxx:
- COMP: fix warning about unused variable
-
- Alex
-
-2007-07-17 12:01 alex
-
- * Source/: cmake.cxx, cmakemain.cxx:
- COMP: fix build on Windows, where GetCurrentDirecty() is
- redefined to GetCurrentDirectoryA() -correct return value for
- md5sum
-
- Alex
-
-2007-07-17 10:44 alex
-
- * Source/: cmLocalGenerator.cxx, cmake.cxx, cmakemain.cxx:
- STYLE: fix line lengths and add "remove -f" to the docs
-
- Alex
-
-2007-07-17 09:25 alex
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmLocalGenerator.cxx, cmMakefile.cxx, cmMessageCommand.cxx,
- cmakemain.cxx:
- ENH: produce a lot more output when running with --debug-output
- -try to fix build error on HPUX
-
- Alex
-
-2007-07-17 08:51 alex
-
- * Modules/Platform/WindowsPaths.cmake:
- ENH: also look in the include/, lib/ and bin/ directories in the
- cmake install dir under windows, this will help e.g. people using
- kdewininstaller and similar setups
-
- Alex
-
-2007-07-17 08:41 alex
-
- * Modules/: KDE3Macros.cmake, FindKDE3.cmake:
- ENH: don't hardcode the /lib/kde3/ directory for the libtool
- files, but make it adjustable and detect if libkdecore.so is a
- 64bit library
-
- Alex
-
-2007-07-16 15:10 alex
-
- * Source/cmSystemTools.cxx:
- BUG: fix bootstrapping, md5sum disabled in bootstrapping mode
-
- Alex
-
-2007-07-16 13:29 alex
-
- * Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt:
- STYLE: remove debug output
-
-2007-07-16 13:26 alex
-
- * Source/cmMakefile.cxx,
- Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt:
- BUG: GET_DIRECTORY_PROPERTY(INCLUDE_DIRECTORIES|LINK_DIRECTORIES)
- wasn't working, for both the result was always empty, since
- cmMakefile::GetProperty() recognized it as a special property,
- constructed a correct return value and called
- cmMakefile::SetProperty() with this list of directories, which
- then didn't actually set the property, but applied it to the
- internal vector of include/link directories. The following
- getPropertyValue in cmMakefile::GetProperty() then still didn't
- find it and returned nothing. Now for all special property the
- static string output is used and its content is returned. I'm not
- sure it is the right way to fix this problem but at least it
- seems to work and it fixes the Paraview3 build
-
- Alex
-
-2007-07-16 10:59 hoffman
-
- * CMakeLists.txt, Readme.txt: ENH: final 2.4.7 commit
-
-2007-07-16 10:54 alex
-
- * Source/: cmake.cxx, cmSystemTools.h, cmSystemTools.cxx:
- ENH: apply patch from Mathieu, add argument -E md5sum to compute
- md5sums of files, compatible to md5sum output
-
- Alex
-
-2007-07-16 10:54 hoffman
-
- * Readme.txt: ENH:
-
-2007-07-16 10:53 hoffman
-
- * Readme.txt: ENH: clean up a bit
-
-2007-07-16 10:13 alex
-
- * Modules/Platform/NetBSD.cmake:
- BUG: the Plugin test fails on NetBSD, let's see if this fixes it
-
- Alex
-
-2007-07-16 09:08 alex
-
- * Modules/Platform/UnixPaths.cmake:
- ENH: also add the install base dir of the running cmake to the
- search directories for the FIND_XXX() commands, for the case that
- somebody has its own install tree
-
- Alex
-
-2007-07-13 12:03 alex
-
- * Source/cmAddLibraryCommand.cxx, Utilities/CMakeLists.txt:
- STYLE: better error message, name the new manpages cmakecommands,
- cmakecompat, cmakeprops and cmakemodules
-
- Alex
-
-2007-07-13 11:20 alex
-
- * Modules/Platform/DragonFly.cmake:
- ENH: add DragonFly BSD, which is very close to FreeBSD (#4500)
-
- Alex
-
-2007-07-13 10:29 alex
-
- * Modules/: CheckCSourceRuns.cmake, CheckCXXSourceRuns.cmake:
- BUG: the SET( ... CACHE INTERNAL) didn't work as expected, since
- the variable is already added to the cache inside
- cmTryRunCommand.cxx, so the value used here was ignored.
- Additionally the INTERNAL made it internal, which shouldn't be
- done when cross compiling, since here the user is required to
- edit this variable manually e.g. using ccmake.
-
- Alex
-
-2007-07-13 00:58 alex
-
- * Source/: CMakeLists.txt, cmExtraCodeBlocksGenerator.cxx,
- cmExtraCodeBlocksGenerator.h, cmake.cxx:
- ENH: add a simple CodeBlocks extra generator, early alpha stage,
- there seems to be interest in it
-
- Alex
-
-2007-07-12 16:15 alex
-
- * Modules/Platform/BlueGeneL.cmake:
- ENH: add the static libs always to the link libs, if they are not
- used it shouldn't hurt
-
- Alex
-
-2007-07-12 15:00 alex
-
- * Modules/: CMakeLists.txt, CheckStructHasMember.cmake:
- ENH: add macro to test if a member has specified struct, e.g.
- check_struct_has_member("struct stat" st_rdev "${CFG_HEADERS}"
- HAVE_STRUCT_STAT_ST_RDEV)
-
- Alex
-
-2007-07-12 13:41 alex
-
- * Modules/: CMakeCCompilerId.c, CMakeCXXCompilerId.cpp,
- Platform/Generic-ADSP-ASM.cmake, Platform/Generic-ADSP-C.cmake,
- Platform/Generic-ADSP-CXX.cmake,
- Platform/Generic-ADSP-Common.cmake:
- ENH: add support for the ADSP toolchains for Blackfin, Shark and
- TigerShark DSPs, patch from Raphael Cotty
-
- Alex
-
-2007-07-12 11:56 alex
-
- * Source/cmListCommand.cxx, Source/cmListCommand.h,
- Tests/CMakeTests/ListTest.cmake.in:
- ENH: add LIST(CONTAINS ...) patch from "Miguel A.
- Figueroa-Villanueva, miguelf (AT) ieee.org added tests for
- LIST(CONTAINS, SORT, REVERSE)
-
- Alex
-
-2007-07-12 11:05 alex
-
- * Modules/FindCURL.cmake:
- BUG: honor REQUIRED and QUIETLY (#5312)
-
- Alex
-
-2007-07-12 10:38 alex
-
- * Readme.txt:
- STYLE: add Readme.txt with instructions how to build cmake, fix
- #5296
-
- Alex
-
-2007-07-12 10:17 martink
-
- * Source/cmGetDirectoryPropertyCommand.cxx: BUG: fix screwup in
- GetDirectoryProp...
-
-2007-07-12 08:37 alex
-
- * Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmTarget.cxx, Modules/CMakeASMCompiler.cmake.in,
- Modules/CMakeCCompiler.cmake.in,
- Modules/CMakeCXXCompiler.cmake.in,
- Modules/CMakeForceCompiler.cmake,
- Modules/CMakeFortranCompiler.cmake.in,
- Modules/CMakeJavaCompiler.cmake.in: ENH: second try for handling
- the linker language with integer priority values (returning a
- pointer to a string on the stack is no good idea)
-
- Alex
-
-2007-07-11 17:29 alex
-
- * Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmTarget.cxx, Modules/CMakeASMCompiler.cmake.in,
- Modules/CMakeCCompiler.cmake.in,
- Modules/CMakeCXXCompiler.cmake.in,
- Modules/CMakeForceCompiler.cmake,
- Modules/CMakeFortranCompiler.cmake.in,
- Modules/CMakeJavaCompiler.cmake.in: COMP: revert last commit for
- now, broke Visual Studio
-
- Alex
-
-2007-07-11 16:22 alex
-
- * Modules/CMakeASMCompiler.cmake.in,
- Modules/CMakeCCompiler.cmake.in,
- Modules/CMakeCXXCompiler.cmake.in,
- Modules/CMakeForceCompiler.cmake,
- Modules/CMakeFortranCompiler.cmake.in,
- Modules/CMakeJavaCompiler.cmake.in, Modules/CMakeLists.txt,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmTarget.cxx:
- ENH: CMAKE_<LANG>_LINKER_PREFERENCE is now an integer priority,
- not a two-step priority (None or Prefered) Current order: ASM 0,
- C 10, Fortran 20, CXX 30, Java 40 This is the same order as
- automake choses:
- http://www.gnu.org/software/automake/manual/html_node/How-the-Linker-is-Chosen.html
-
- This change should be backward compatible: if there is a project
- using fortran and CXX, they had to set the LINKER_LANGUAGE
- explicitely, otherwise cmake complained (but still generated the
- project files). Explicitely setting the linker language still
- overrides automatic detection. If somebody has a custom language
- for cmake and the PREFERENCE starts with "P", its changed to 100,
- which gives it preference over all other languages (except the
- other custom languages which have also "Prefered"). "None" is
- converted to 0.
-
- Alex
-
-2007-07-11 15:53 alex
-
- * Source/: cmDocumentation.cxx, cmDocumentation.h,
- cmPropertyDefinition.cxx, cmPropertyDefinition.h, cmake.cxx,
- cmake.h, cmakemain.cxx:
- STYLE: sort the property documentation into
- global/directory/target/test/sourcefile and variable sections
-
- Alex
-
-2007-07-11 15:50 alex
-
- * Source/cmMakefile.cxx:
- ENH: change the way #cmakedefine is changed to #undef, so it is
- similar to what autoconf does. This makes porting software from
- autoconf to cmake easier, since it's easier to diff the resulting
- config headers.
-
- Now the following #cmakedefine HAVE_STRING_H 1 #cmakedefine
- HAVE_STRLCAT 1
-
- produce:
-
- #define HAVE_STRING_H 1 /* #undef HAVE_STRLCAT */
-
- whereas before they produced:
-
- #define HAVE_STRING_H 1 /* #undef HAVE_STRLCAT 1 */
-
- Since it's commented out anyway, it's now change in behaviour.
-
- Alex
-
-2007-07-11 13:39 alex
-
- * Modules/CMakeASMInformation.cmake:
- ENH: add CMAKE_INCLUDE_FLAG_ASM${ASM_DIALECT} and don't allow
- preset CMAKE_xxx_INFORMATION files
-
- Alex
-
-2007-07-10 21:38 alex
-
- * Modules/FindKDE4.cmake:
- STYLE: use EXECUTE_PROCESS() instead of EXEC_PROGRAM()
-
- Alex
-
-2007-07-10 17:11 alex
-
- * Modules/Platform/eCos.cmake:
- ENH: add the ecos include dir and the ecos definitions by default
-
- Alex
-
-2007-07-10 14:05 martink
-
- * Source/cmGetSourceFilePropertyCommand.cxx: ENH: added some
- documentation to explain a section of code a bit better
-
-2007-07-10 13:52 martink
-
- * Source/: cmMakefile.cxx, cmGetDirectoryPropertyCommand.cxx: ENH:
- some cleanup of get property commands
-
-2007-07-09 14:30 king
-
- * Source/cmLocalVisualStudioGenerator.h: STYLE: Removed stray
- comment.
-
-2007-07-09 13:07 alex
-
- * Modules/Platform/eCos.cmake:
- ENH: add support for building eCos applications natively
-
- Alex
-
-2007-07-09 08:16 alex
-
- * Tests/Assembler/main.c: COMP: hopefully fix test, finally
-
- Alex
-
-2007-07-09 05:50 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-07-09 00:44 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-07-08 22:06 alex
-
- * Tests/Assembler/main.c: COMP: fix test
-
- Alex
-
-2007-07-07 17:23 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-07-06 19:09 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-07-06 14:02 alex
-
- * Tests/Assembler/CMakeLists.txt:
- BUG: fix test
-
- Alex
-
-2007-07-06 13:08 alex
-
- * Utilities/CMakeLists.txt:
- BUG: the cmake deps depend on cmake
-
- Alex
-
-2007-07-06 08:53 alex
-
- * Tests/Assembler/: CMakeLists.txt, main.c:
- COMP: OPTIONAL was missing in ENABLE_LANGUAGE() -the assembler
- file seems to work for Linux and FreeBSD -try to fix main() for
- HP-UX compiler
-
- Alex
-
-2007-07-05 16:38 alex
-
- * Tests/Assembler/CMakeLists.txt:
- STYLE: some more output
-
- Alex
-
-2007-07-05 16:32 alex
-
- * Tests/Assembler/: CMakeLists.txt, main-linux-x86-gas.s:
- COMP: skip APPLE, since there with universal binaries the
- assembler file would be built for both architectures
-
- Alex
-
-2007-07-05 16:11 alex
-
- * Tests/Assembler/CMakeLists.txt:
- COMP: let's see if this assembler file works also on other
- platforms than linux...
-
- Alex
-
-2007-07-05 15:50 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-07-05 09:05 alex
-
- * Tests/: CMakeLists.txt, Assembler/CMakeLists.txt,
- Assembler/main-linux-x86-gas.s, Assembler/main.c:
- ENH: add a simple assembler test
-
- Alex
-
-2007-07-04 08:21 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-07-03 16:10 alex
-
- * Source/: cmCommandArgumentsHelper.cxx,
- cmExternalMakefileProjectGenerator.cxx, cmake.cxx:
- STYLE: name the external generator "KDevelop3 - Unix Makefiles"
- instead of "Unix Makefiles - KDevelop3" -initialize Ignore to 0,
- crashes otherwise
-
- Alex
-
-2007-07-03 11:41 alex
-
- * Modules/FindOpenGL.cmake:
- STYLE: don't test twice for APPLE
-
- Alex
-
-2007-07-03 09:45 king
-
- * DartLocal.conf.in: ENH: Adding hythloth expected nightly
- submissions.
-
-2007-07-03 08:26 alex
-
- * Source/: cmDocumentation.cxx, cmDocumentation.h:
- COMP: fix compile on HP-UX with aCC, reusing the same identifier
- for a variable as for the enum type doesn't work here
-
- Alex
-
-2007-07-03 03:58 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-07-02 16:46 alex
-
- * Source/: cmCommandArgumentsHelper.cxx, cmExportCommand.cxx:
- COMP: fix warnings
-
- Alex
-
-2007-07-02 16:04 king
-
- * Source/: cmFileCommand.cxx, cmFileCommand.h: COMP: Remove unused
- argument.
-
-2007-07-02 16:04 king
-
- * Source/cmInstallTargetGenerator.cxx: COMP: Remove shadowed local.
-
-2007-07-02 15:54 alex
-
- * Modules/CMakeFindBinUtils.cmake:
- COMP: with visual studio it's no error if link isn't found
-
- Alex
-
-2007-07-02 15:43 alex
-
- * Source/: cmBootstrapCommands.cxx, cmCommand.h,
- cmCommandArgumentsHelper.cxx, cmCommandArgumentsHelper.h,
- cmExportCommand.cxx, cmExportCommand.h:
- ENH: add framework for unified handling of arguments to cmake
- commands, example see cmExportCommand.cxx
-
- Alex
-
-2007-07-02 14:56 king
-
- * Source/: cmFileCommand.cxx, cmFileCommand.h,
- cmInstallCommand.cxx, cmInstallDirectoryGenerator.cxx,
- cmInstallDirectoryGenerator.h, cmInstallExportGenerator.cxx,
- cmInstallExportGenerator.h, cmInstallFilesGenerator.cxx,
- cmInstallFilesGenerator.h, cmInstallGenerator.cxx,
- cmInstallGenerator.h, cmInstallScriptGenerator.cxx,
- cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h: ENH:
- Further cleanup of installation script generation. The
- per-component and per-configuration testing is now done in cmake
- code instead of in the FILE(INSTALL) command. The generation of
- the cmake code to do these tests is centralized in
- cmInstallGenerator. Old-style shared library versioning and
- component/config support code has been removed from
- FILE(INSTALL). This commit is surrounded by the tags
- CMake-InstallGeneratorCleanup2-pre and
- CMake-InstallGeneratorCleanup2-post.
-
-2007-07-02 14:18 alex
-
- * Modules/CMakeForceCompiler.cmake:
- ENH: make supporting embedded compilers need a user specific
- linker file for compiling an executable (amd thus cannot build
- the compiler-id program) easier by providing CMAKE_FORCE_XXX()
- macros which force cmake to use the given compilers anyway
-
- Alex
-
-2007-07-02 13:32 king
-
- * Source/: cmTarget.cxx, cmTarget.h: STYLE: Fixed line-too-long,
- fixed indentation, removed trailing whitespace, added function
- separator comment lines.
-
-2007-07-02 13:29 alex
-
- * Modules/CMakeCInformation.cmake,
- Modules/CMakeCXXInformation.cmake,
- Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakeSystemSpecificInformation.cmake,
- Tests/CMakeTests/DummyToolchain.cmake,
- Tests/CMakeTests/ToolchainTest.cmake.in:
- ENH: remove support for presetting CMAKE_SYSTEM_INFO_FILE,
- CMAKE_SYSTEM_AND_C_COMPILER_INFO_FILE,
- CMAKE_SYSTEM_AND_CXX_COMPILER_INFO_FILE,
- CMAKE_SYSTEM_AND_C_COMPILER_AND_PROCESSOR_INFO_FILE and
- CMAKE_SYSTEM_AND_CXX_COMPILER_AND_PROCESSOR_INFO_FILE
-
- Instead of presetting these variables to arbitrary filenames,
- users should set up CMAKE_SYSTEM_NAME and the compilers correctly
- and also create a Platform/ directory so these files will all
- follow the official cmake style, which should make it easier to
- understand and debug project which have their own
- platform/toolchain support files.
-
- -remove support for a suffix to MS crosscompilers, since this is
- not (yet) supported by cmake and might confuse users
-
- Alex
-
-2007-07-02 12:46 alex
-
- * Modules/CMakeFindBinUtils.cmake:
- BUG: with MS Visual Studio currently there is no compiler id, so
- check the generator too
-
- Alex
-
-2007-07-02 11:31 king
-
- * Source/cmInstallTargetGenerator.cxx: BUG: Fix install_name_tool
- update of the executable in an installed bundle on OSX. This
- addresses bug#4534.
-
-2007-07-02 11:24 alex
-
- * Source/cmDocumentation.h:
- COMP: fix build with msvc 6, the enums are now part of a class
- which is already completely parsed
-
- Alex
-
-2007-07-02 11:05 alex
-
- * Utilities/CMakeLists.txt:
- BUG: fix build with cmake < 2.4
-
- Alex
-
-2007-07-02 11:02 king
-
- * Source/: cmInstallGenerator.cxx, cmInstallGenerator.h,
- cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h: ENH:
- Improved indentation of generated cmake_install.cmake code.
-
-2007-07-02 09:58 king
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ENH: Enable versioned executable
- test everywhere but XCode.
-
-2007-07-01 22:55 hoffman
-
- * Source/: cmCommandArgumentParserHelper.cxx,
- cmCommandArgumentParserHelper.h: COMP: fix warning in release
- branch
-
-2007-07-01 16:53 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-30 22:33 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-30 21:06 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-29 16:29 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-29 12:58 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/Platform/Linux.cmake,
- Source/cmCommandArgumentParserHelper.cxx,
- Source/cmCommandArgumentParserHelper.h, Source/cmFileCommand.cxx,
- Source/cmFileCommand.h, Source/cmLocalGenerator.cxx,
- Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmake.cxx,
- Tests/StringFileTest/InputFile.h.in,
- Tests/StringFileTest/StringFile.cxx: ENH: RC 11
-
-2007-06-29 11:30 hoffman
-
- * DartLocal.conf.in: ENH: remove more machines
-
-2007-06-29 11:18 hoffman
-
- * CMakeLists.txt, DartLocal.conf.in: ENH: make DartLocal.conf part
- of project
-
-2007-06-28 16:11 king
-
- * Source/: cmInstallDirectoryGenerator.cxx,
- cmInstallExportGenerator.cxx, cmInstallFilesGenerator.cxx,
- cmInstallGenerator.cxx, cmInstallGenerator.h,
- cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h: ENH:
- First step of install script generator cleanup. Each
- configuration to be installed is now separately handled instead
- of using variables to store per-configuration names. For targets
- the component and configuration install-time tests are now done
- in the install script instead of in the FILE(INSTALL) command.
- This cleans things up like not trying to strip a file that was
- optionally not installed. It also simplifies the code for
- install_name adjustment on OSX. This commit is surrounded by the
- tags CMake-InstallGeneratorCleanup1-pre and
- CMake-InstallGeneratorCleanup1-post.
-
-2007-06-28 15:28 alex
-
- * Source/cmGlobalGenerator.cxx:
- COMP: fix warning about unused parameter
-
- Alex
-
-2007-06-28 15:04 alex
-
- * Source/cmDocumentation.cxx, Source/cmDocumentation.h,
- Source/cmakemain.cxx, Utilities/CMakeLists.txt:
- ENH: generate separate documentation for the commands,
- compatiblity commands, modules and properties as html, text and
- man pages. The names of the man pages are cmcommands, cmcompat,
- cmprops and cmmodules, so they are easy to type.
-
- Alex
-
-2007-06-28 13:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-28 11:00 alex
-
- * Source/cmDocumentation.cxx, Source/cmDocumentation.h,
- Source/cmDumpDocumentation.cxx, Source/cmakemain.cxx,
- Source/CursesDialog/ccmake.cxx, Utilities/CMakeLists.txt:
- ENH: -in the full documentation there is now an extra section for
- compatibility commands, so users see which commands they
- shouldn't use -cmake -h <command> now also works with lower case
- commands --help-fullm --help-command, --help-module and
- --help-property now determine the output format from the
- extension of the given filename
-
- Let me know if there are some things I overlooked.
-
- Alex
-
-2007-06-28 10:22 alex
-
- * Source/cmGlobalVisualStudio6Generator.cxx:
- COMP: fix typo
-
- Alex
-
-2007-06-28 09:14 alex
-
- * Modules/: CMakeASM-ATTInformation.cmake,
- CMakeASMCompiler.cmake.in, CMakeASMInformation.cmake,
- CMakeDetermineASM-ATTCompiler.cmake,
- CMakeDetermineASMCompiler.cmake, CMakeTestASM-ATTCompiler.cmake,
- CMakeTestASMCompiler.cmake, Platform/gas.cmake:
- ENH: initial support for assembler in cmake, needs testing by our
- users
-
- Alex
-
-2007-06-28 09:09 alex
-
- * Source/: cmGlobalBorlandMakefileGenerator.cxx,
- cmEnableLanguageCommand.cxx, cmEnableLanguageCommand.h,
- cmGlobalBorlandMakefileGenerator.h, cmGlobalGenerator.cxx,
- cmGlobalGenerator.h, cmGlobalMSYSMakefileGenerator.cxx,
- cmGlobalMSYSMakefileGenerator.h,
- cmGlobalMinGWMakefileGenerator.cxx,
- cmGlobalMinGWMakefileGenerator.h,
- cmGlobalNMakeMakefileGenerator.cxx,
- cmGlobalNMakeMakefileGenerator.h,
- cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h,
- cmGlobalVisualStudio8Win64Generator.cxx,
- cmGlobalVisualStudio8Win64Generator.h,
- cmGlobalWatcomWMakeGenerator.cxx, cmGlobalWatcomWMakeGenerator.h,
- cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h,
- cmLocalVisualStudio6Generator.cxx, cmMakefile.cxx, cmMakefile.h,
- cmProjectCommand.cxx:
- ENH: add OPTIONAL keyword to ENABLE_LANGUAGE, so it will be
- possible to do something like this:
-
- ENABLE_LANGUAGE(ASM-ATT) IF(CMAKE_ASM-ATT_COMPILER_WORKS) ...
- do assembler stufff ELSE(CMAKE_ASM-ATT_COMPILER_WORKS) ...
- fallback to generic C/C++ ENDIF(CMAKE_ASM-ATT_COMPILER_WORKS)
-
- Alex
-
-2007-06-27 16:28 alex
-
- * Source/kwsys/: DynamicLoader.cxx, ProcessUNIX.c:
- ENH: build on BlueGene/L: -add static resolv, nss_files and
- nss_dns libs to the default set of libs, otherwise we get
- undefined references out of libc to several functions -add a
- dummy DynamicLoader in kwsys for systems without shared libs
- -BlueGene doesn't have SA_SIGINFO
-
- Alex
-
-2007-06-27 16:14 king
-
- * Source/cmInstallCommand.cxx: BUG: Do not install the import
- library for an executable that does not have ENABLE_EXPORTS set.
-
-2007-06-27 16:10 king
-
- * Source/: cmFileCommand.cxx, cmFileCommand.h: BUG: Need to compute
- the correct versioned name for executables on cygwin. This
- addresses bug#5238.
-
-2007-06-27 15:42 alex
-
- * Source/cmTarget.cxx:
- ENH: here we really want only non-imported targets, as discussed
- with Brad
-
- Alex
-
-2007-06-27 14:55 alex
-
- * Modules/CMakeDetermineCompilerId.cmake:
- BUG: use ${LANG}_COMPILER_ARG1 also here, otherwise some
- compilers won't be able to compile e.g. the C++ source file (e.g.
- the ADSP compiler needs -c++ for compiling C++ files)
-
- Alex
-
-2007-06-27 13:22 king
-
- * Tests/Java/CMakeLists.txt: BUG: For in-source version do not use
- a custom command output and custom target with the same name.
- This accidentally worked before but with a circular dependency.
-
-2007-06-27 12:07 king
-
- * Modules/Platform/Linux.cmake, Modules/Platform/UnixPaths.cmake,
- Source/cmFindLibraryCommand.cxx, Source/cmake.cxx: ENH: Added
- global property FIND_LIBRARY_USE_LIB64_PATHS to allow lib64 paths
- to be searched optionally. Turn off the feature on debian
- systems. This addresses debian report 419007.
-
-2007-06-27 12:05 king
-
- * Source/cmPropertyDefinition.cxx: BUG: Fixed spelling of globally
- in global property names.
-
-2007-06-27 11:42 king
-
- * Modules/Platform/GNU.cmake: ENH: Added GNU/Hurd platform. Taken
- from debian patch 407155.
-
-2007-06-27 11:39 king
-
- * Source/kwsys/ProcessUNIX.c: COMP: Fix for platforms that do not
- have siginfo on their signal handlers.
-
-2007-06-27 08:43 alex
-
- * Tests/CMakeLists.txt:
- COMP: fix tests where the building cmake doesn't have
- GET_TEST_PROPERTY
-
- Alex
-
-2007-06-27 04:49 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-26 19:54 alex
-
- * Source/cmGlobalGenerator.cxx:
- ENH: use CMAKE_SYSTEM instead of CMAKE_SYSTEM_NAME, since
- CMAKE_SYSTEM_NAME may already have been set when crosscompiling
-
- Alex
-
-2007-06-26 17:14 alex
-
- * Source/cmGlobalGenerator.cxx:
- COMP: fix broken tests for now
-
- Alex
-
-2007-06-26 17:08 alex
-
- * Source/: cmBootstrapCommands.cxx, cmCommands.cxx:
- COMP: fix bootstrapping
-
- Alex
-
-2007-06-26 15:30 alex
-
- * Tests/: CMakeLists.txt, SimpleCOnly/CMakeLists.txt,
- SimpleCOnly/bar.c, SimpleCOnly/foo.c, SimpleCOnly/main.c:
- ENH: add a SimpleCOnly test, this is needed e.g. for testing sdcc
- since this doesn't support C++ and also doesn't have a printf()
- implementation by default -add a test for mingw cross compiler
-
- Alex
-
-2007-06-26 15:15 alex
-
- * Tests/CMakeLists.txt, Modules/Platform/Generic-SDCC-C.cmake:
- ENH:
-
-2007-06-26 14:48 martink
-
- * Source/: cmBootstrapCommands.cxx, cmCommands.cxx: ENH: add
- SetProperties into bootstrap
-
-2007-06-26 13:50 alex
-
- * Source/: cmDefinePropertyCommand.h, cmGetPropertyCommand.h,
- cmSetPropertiesCommand.h:
- STYLE: rename chain to inherit in the docs
-
- Alex
-
-2007-06-26 13:19 alex
-
- * Modules/: CMakeCCompilerId.c, Platform/Generic-SDCC-C.cmake:
- ENH: add basic support for sdcc (http://sdcc.sourceforge.net),
- needs sdcc (sdcclib) cvs for creating libraries)
-
- Alex
-
-2007-06-26 13:05 alex
-
- * Modules/Platform/Generic.cmake, Source/cmAddLibraryCommand.cxx,
- Source/cmake.cxx, Source/cmake.h,
- Modules/CMakeGenericSystem.cmake,
- Modules/Platform/BlueGeneL.cmake:
- STYLE: change global cmake variable
- CMAKE_TARGET_SUPPORTS_ONLY_STATIC_LIBS to the first global cmake
- property TARGET_SUPPORTS_SHARED_LIBS
-
- Alex
-
-2007-06-26 13:00 alex
-
- * Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Source/cmGlobalGenerator.cxx:
- ENH: check for CMAKE_HOST_SYSTEM_NAME to decide whether to load
- CMakeDetermineSystem.cmake, since CMAKE_SYSTEM_NAME might already
- be preset when using cmake for cross compiling use type STRING
- instead of FILEPATH since otherwise a strange filename was
- generated
-
- Alex
-
-2007-06-26 04:55 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-25 12:50 martink
-
- * Source/: cmGetPropertyCommand.cxx, cmSetPropertiesCommand.cxx:
- COMP: fix warnings
-
-2007-06-25 12:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-25 10:34 martink
-
- * Source/: cmDefinePropertyCommand.cxx, cmDefinePropertyCommand.h,
- cmProperty.h, cmPropertyDefinition.cxx, cmPropertyMap.cxx,
- cmake.cxx, cmake.h: ENH: added the ability to document variables
- and cached_variables
-
-2007-06-25 10:33 martink
-
- * Source/: cmGetPropertyCommand.cxx, cmGetPropertyCommand.h: ENH:
- added cmGetPropertyCommand
-
-2007-06-25 09:51 martink
-
- * Source/cmCommands.cxx, Source/cmGetCMakePropertyCommand.cxx,
- Source/cmMakefile.cxx,
- Source/cmSetDirectoryPropertiesCommand.cxx,
- Source/cmSetPropertiesCommand.cxx, Source/cmake.cxx,
- Tests/Properties/CMakeLists.txt: ENH: some property cleanup and
- added GetProperty
-
-2007-06-24 06:38 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-23 01:02 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-22 11:31 hoffman
-
- * CMakeLists.txt, Utilities/Release/CMake.nsi.in,
- Utilities/Release/CMakeInstall.bmp,
- Utilities/Release/MakeRelease.cmake.in, Utilities/Release/README,
- Utilities/Release/Release.cmake, Utilities/Release/cmake_login,
- Utilities/Release/cmake_release.sh.in,
- Utilities/Release/config_AIX,
- Utilities/Release/config_CYGWIN_NT-5.1,
- Utilities/Release/config_Darwin, Utilities/Release/config_HP-UX,
- Utilities/Release/config_IRIX64, Utilities/Release/config_Linux,
- Utilities/Release/config_OSF1, Utilities/Release/config_SunOS,
- Utilities/Release/cygwin-package.sh.in,
- Utilities/Release/release_dispatch.sh: ENH: remove old style
- release stuff
-
-2007-06-22 10:22 alex
-
- * Modules/: CMakeLists.txt, FindMPI.cmake,
- Platform/BlueGeneL.cmake:
- ENH: add support for BlueGene/L
-
- Alex
-
-2007-06-22 09:58 alex
-
- * Source/: cmAddLibraryCommand.cxx, cmAddLibraryCommand.h,
- cmCPluginAPI.cxx, cmMakefile.cxx, cmMakefile.h:
- ENH: add IMPORT keyword to ADD_LIBRARY, dependencies are not yet
- working STYLE: fix line lengths and indentation, use enum as
- argument to AddLibrary() instead of int (which was initialized
- from a bool in some cases)
-
- Alex
-
-2007-06-22 08:44 alex
-
- * Source/: cmDocumentation.cxx, cmDocumentation.h, cmake.cxx,
- cmake.h:
- ENH: put compatibility commands in extra section and prepare for
- creating separate man pages for properties, modules, commands and
- compatibility commands
-
- Alex
-
-2007-06-21 16:23 alex
-
- * Modules/CMakeGenericSystem.cmake, Modules/Platform/Generic.cmake,
- Source/cmAddLibraryCommand.cxx:
- ENH: print a warning if ADD_LIBRARY( SHARED/MODULE ) is used and
- the target platform doesn't support shared libraries
-
- Alex
-
-2007-06-21 14:06 alex
-
- * Tests/Java/CMakeLists.txt:
- STYLE: add some more output, so it is easier to understand
-
- Alex
-
-2007-06-21 13:08 alex
-
- * Source/: cmLocalGenerator.cxx, cmTarget.cxx:
- BUG: handle dependencies to imported targets better: don't create
- a dependency if the target name was not listed in DEPENDS, if it
- was listed in DEPENDS, create a dependency to the file
-
- Seems to work, but have to check with Brad.
-
- Alex
-
-2007-06-21 06:32 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-21 04:47 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-20 23:01 alex
-
- * Source/cmMakefile.h:
- STYLE: GetProjectName() is const
-
- Alex
-
-2007-06-20 03:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-19 14:57 alex
-
- * Source/cmInstallExportGenerator.cxx:
- COMP: fix build under windows
-
- Alex
-
-2007-06-19 13:10 alex
-
- * Source/: CMakeLists.txt, cmGlobalGenerator.cxx,
- cmGlobalGenerator.h, cmInstallCommand.cxx, cmInstallCommand.h,
- cmInstallExportGenerator.cxx, cmInstallExportGenerator.h:
- ENH: add INSTALL(EXPORT ...) mode and INSTALL( TARGETS ... EXPORT
- <set> ) , tests still have to be added
-
- Alex
-
-2007-06-19 11:11 alex
-
- * Source/: cmInstallCommand.cxx, cmInstallCommand.h,
- cmInstallDirectoryGenerator.cxx, cmInstallDirectoryGenerator.h,
- cmInstallFilesGenerator.cxx, cmInstallFilesGenerator.h,
- cmInstallGenerator.h, cmInstallTargetGenerator.cxx,
- cmInstallTargetGenerator.h:
- STYLE: preparations for the INSTALL(EXPORT ...) generator -move
- std::string Destination to cmInstallGenerator, since all (except
- the script one) have it and add a const accessor so it can be
- queried -use temporary variables in cmInstallCommand for the
- generators so they can be reused easier -some more const
-
- Alex
-
-2007-06-19 09:18 king
-
- * Source/cmCPluginAPI.cxx: COMP: Work-around warning about static
- specifier on HP compiler.
-
-2007-06-18 18:01 alex
-
- * Modules/CMakeDetermineJavaCompiler.cmake:
- STYLE: use IF(NOT ...) and remove MARK_AS_ADVANCED() for
- variables which are not defined here
-
- Alex
-
-2007-06-18 17:14 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-18 11:59 king
-
- * bootstrap, Source/CMakeLists.txt,
- Source/cmAuxSourceDirectoryCommand.cxx, Source/cmCPluginAPI.cxx,
- Source/cmCommands.cxx, Source/cmCreateTestSourceList.cxx,
- Source/cmFLTKWrapUICommand.cxx,
- Source/cmGetSourceFilePropertyCommand.cxx,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Source/cmLocalVisualStudioGenerator.cxx,
- Source/cmLocalXCodeGenerator.cxx, Source/cmLocalXCodeGenerator.h,
- Source/cmMakeDepend.cxx, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmOutputRequiredFilesCommand.cxx,
- Source/cmQTWrapCPPCommand.cxx, Source/cmQTWrapCPPCommand.h,
- Source/cmQTWrapUICommand.cxx, Source/cmQTWrapUICommand.h,
- Source/cmSourceFile.cxx, Source/cmSourceFile.h,
- Source/cmSourceFileLocation.cxx, Source/cmSourceFileLocation.h,
- Source/cmTarget.cxx, Source/cmTarget.h: ENH: Merging changes from
- branch CMake-SourceFile2-b between tags CMake-SourceFile2-bp and
- CMake-SourceFile2-b-mp1 to trunk. This commit is surrounded by
- tags CMake-SourceFile2-b-mp1-pre and CMake-SourceFile2-b-mp1-post
- on the trunk.
-
- The changes re-implement cmSourceFile and the use of it to allow
- instances to be created much earlier. The use of
- cmSourceFileLocation allows locating a source file referenced by
- a user to be much simpler and more robust. The two SetName
- methods are no longer needed so some duplicate code has been
- removed. The strange "SourceName" stuff is gone. Code that
- created cmSourceFile instances on the stack and then sent them to
- cmMakefile::AddSource has been simplified and converted to
- getting cmSourceFile instances from cmMakefile. The CPluginAPI
- has preserved the old API through a compatibility interface.
-
- Source lists are gone. Targets now get real instances of
- cmSourceFile right away instead of storing a list of strings
- until the final pass.
-
- TraceVSDependencies has been re-written to avoid the use of
- SourceName. It is now called TraceDependencies since it is not
- just for VS. It is now implemented with a helper object which
- makes the code simpler.
-
-2007-06-18 09:00 alex
-
- * Source/CPack/: cmCPackGenerators.cxx, cmCPackNSISGenerator.cxx:
- ENH: NSIS exists also for Linux, not only Windows, so enable it
- there too patch by Michal ÄŒihaÅ™ <michal (AT) cihar.com>
-
- Alex
-
-2007-06-17 20:50 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-17 08:24 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-16 17:35 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-15 16:09 alex
-
- * Source/cmake.cxx:
- COMP: include cmExternalMakefileProjectGenerator.h
-
- Alex
-
-2007-06-15 16:07 alex
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmMakefile.h, cmake.cxx:
- STYLE: minor fixes
-
- Alex
-
-2007-06-15 15:33 alex
-
- * Source/cmInstallTargetGenerator.h:
- COMP: forgot to commit this one
-
- Alex
-
-2007-06-15 14:27 alex
-
- * Source/cmInstallTargetGenerator.cxx:
- STYLE: remove code duplication between PrepareScriptReference and
- GetScriptReference, and make the logic for getting the filename
- public, so it can be used e.g. for exporting
-
- Alex
-
-2007-06-15 13:00 alex
-
- * Source/: cmInstallTargetGenerator.cxx,
- cmInstallTargetGenerator.h:
- BUG: don't strip static libraries, it removes their symbol table,
- dynamic libs have an extra symbol table so they still work
- stripped
-
- Alex
-
-2007-06-15 11:12 alex
-
- * Source/: cmInstallTargetGenerator.h,
- cmInstallTargetGenerator.cxx:
- BUG: don't run strip on OPTIONAL install targets if the file
- doesn't exist
-
- Alex
-
-2007-06-15 10:34 alex
-
- * Source/cmInstallCommand.h:
- STYLE: add some more line breaks so it should be easier to read
-
- Alex
-
-2007-06-15 10:10 alex
-
- * Source/: cmExportLibraryDependencies.cxx,
- cmExportLibraryDependencies.h, cmGlobalGenerator.h,
- cmLocalGenerator.h, cmMakefile.h, cmTarget.h, cmake.cxx, cmake.h:
-
- STYLE: remove duplicate non-const accessors
- GetLocalGenerator(int) and GetLocaGenerators(cmLocalGenerators)
- from cmGlobalGenerator(). Now there is one const accessor which
- is even faster since it returns a reference (instead of copying a
- vector) -more const to ensure that this the returned local
- generators don't actually get modified -removed duplicated code
- in GetCTestCommand() and GetCPackCommand() -added some const
- accessors
-
- Alex
-
-2007-06-15 08:53 alex
-
- * Utilities/CMakeLists.txt:
- STYLE: use a macro for generating the documentation
-
- Alex
-
-2007-06-15 08:42 alex
-
- * Tests/CMakeLists.txt:
- COMP: big timeout for building kdelibs
-
- Alex
-
-2007-06-15 08:19 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-14 13:57 alex
-
- * Source/CPack/cmCPackZIPGenerator.cxx:
- STYLE: fix typo
-
- Alex
-
-2007-06-14 13:55 alex
-
- * Tests/CMakeLists.txt:
- ENH: add test for buildingn kdelibs alpha1
- (http://websvn.kde.org/tags/KDE/3.90.1) with cmake requires Qt >=
- 4.3.0, DBus, kdesupport (http://websvn.kde.org/trunk/kdesupport/)
- and the EasyDashboard scripts.
-
- Alex
-
-2007-06-14 13:05 hoffman
-
- * Source/: cmCTest.cxx, CTest/cmCTestBuildCommand.cxx,
- CTest/cmCTestBuildHandler.cxx: ENH: add more verbose output
-
-2007-06-14 12:03 alex
-
- * Source/CPack/: cmCPackZIPGenerator.cxx, cmCPackZIPGenerator.h:
- ENH: support 7zip for creating zip files (not 7z files)
-
- Alex
-
-2007-06-14 11:17 alex
-
- * Utilities/CMakeLists.txt:
- STYLE: add man page for cpack
-
- Alex
-
-2007-06-14 08:49 alex
-
- * Source/: cmRemoveDefinitionsCommand.h, cmakemain.cxx:
- STYLE: add comment about the -D -P order and fix typo in doc
-
- Alex
-
-2007-06-14 08:33 alex
-
- * Tests/BuildDepends/CMakeLists.txt:
- COMP: removing the directory at the beginning breaks the test for
- in-source builds
-
- Alex
-
-2007-06-14 07:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-14 01:21 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-13 17:06 king
-
- * Source/: cmSourceFile.cxx, cmSourceFile.h: ENH: Make sure
- FindFullPath does not complain more than once about not finding
- the file if it fails.
-
-2007-06-13 16:58 king
-
- * Source/: cmSourceFile.cxx, cmSourceFile.h: ENH: Use
- non-const==>locate policy for GetLanguage() method.
-
-2007-06-13 16:33 king
-
- * Source/cmSourceFileLocation.h: STYLE: Added interface
- documentation.
-
-2007-06-13 16:26 alex
-
- * Tests/BuildDepends/: CMakeLists.txt, Project/bar.cxx:
- COMP: fix test, in some cases stdout from bar was not captured
- correctly, probably because the process was killed before the
- fflush() worked because the busy loop blocked the processor
- (failing midworld test)
-
- Alex
-
-2007-06-13 16:22 king
-
- * Source/cmSourceFile.cxx: BUG: Do not abort when file cannot be
- found.
-
-2007-06-13 16:12 king
-
- * Source/: cmGetSourceFilePropertyCommand.cxx, cmSourceFile.cxx,
- cmSourceFile.h: ENH: Improved const-correctness of cmSourceFile
- API. On-demand computation of the full path is now done only for
- non-const cmSourceFile instances.
-
-2007-06-13 15:32 king
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmLocalGenerator.cxx,
- cmLocalVisualStudio7Generator.cxx, cmMakeDepend.cxx,
- cmMakefileLibraryTargetGenerator.cxx, cmSourceFile.cxx,
- cmSourceFile.h: ENH: Changed signature of
- cmSourceFile::GetFullPath() back to returning a reference to a
- string.
-
-2007-06-13 15:21 king
-
- * Source/: cmMakefile.cxx, cmMakefile.h, cmSourceFile.h: STYLE:
- Removed commented-out code that is no longer needed.
-
-2007-06-13 15:21 king
-
- * Source/cmGlobalXCodeGenerator.cxx: COMP: Fixed for new
- cmSourceFile interface.
-
-2007-06-13 15:20 king
-
- * Source/cmSourceFile.cxx: BUG: Never return a null pointer from
- GetFullPath. Too many places construct a string with the result.
-
-2007-06-13 14:36 alex
-
- * Source/cmFileCommand.h:
- STYLE: add documentation for FILE(REMOVE ...) and
- FILE(REMOVE_RECURSE ...) FILE(REMOVE ...) works only for files,
- not for directories, REMOVE_RECURSE works for both, it seems
- having both is not necessary
-
- Alex
-
-2007-06-13 13:44 king
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudioGenerator.cxx: COMP: Fix for new cmSourceFile
- interface.
-
-2007-06-13 13:44 king
-
- * Source/cmMakefile.cxx: COMP: Fix for build on VS.
-
-2007-06-13 12:52 alex
-
- * Source/cmExternalMakefileProjectGenerator.h:
- COMP: include cmStandardIncludes.h instead of <vector> and
- <string>, this should fix the build problem on AIX
-
- Alex
-
-2007-06-13 11:55 king
-
- * Source/cmSourceFileLocation.cxx: BUG: When updating the directory
- or extension from an unambiguous location we need to mark the new
- copy as unambiguous too.
-
-2007-06-13 11:17 king
-
- * Source/: cmCPluginAPI.cxx, cmCommands.cxx: ENH: Implemented
- compatibility interface in cmCPluginAPI to preserve old API for
- loaded commadns.
-
-2007-06-13 10:54 alex
-
- * Source/cmMarkAsAdvancedCommand.h:
- BUG: make MARK_AS_ADVANCED() scriptable, because this is the only
- reason many cmake FindXXX.cmake modules can't be used in script
- mode and also FindUnixMake.cmake, which is required by the
- CTEST_BUILD() command
-
- Alex
-
-2007-06-12 17:02 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-12 16:41 alex
-
- * Modules/: CMakeCInformation.cmake, CMakeCXXInformation.cmake:
- ENH: first include the processor specific file, then the compiler
- file, this way the specific hardware file can set variables which
- can be used in the toolchain rules (like CMAKE_C_COMPILE_OBJECT
- etc.)
-
- Alex
-
-2007-06-12 11:11 david.cole
-
- * Source/cmCTest.cxx: BUG: Never return a string containing a space
- " " from cmCTest::GetShortPathToFile - replace them with "_".
- DART cannot construct valid file names during dashboard rollup
- with space " " in the short path.
-
-2007-06-12 10:56 alex
-
- * Source/: cmake.cxx, cmake.h, CTest/cmCTestScriptHandler.cxx:
- ENH: remove non/scriptable cmake commands from the script handler
- in ctest, as discussed with David. This also gives a better ctest
- man page with just the commands you should actually use in ctest
- scripts. Until now these commands were more or less executed,
- but e.g. add_executable() didn't create an executable, project()
- failed with an error. Now you get an error instantly if using one
- of these commands.
-
- Alex
-
-2007-06-12 10:19 hoffman
-
- * Source/CTest/cmCTestCoverageHandler.cxx: ENH: make sure working
- directory is set
-
-2007-06-12 09:40 alex
-
- * Source/: cmCTest.cxx, cmCTest.h:
- STYLE: remove argument bool fast, it was unused
-
- Alex
-
-2007-06-12 08:23 alex
-
- * Source/cmGlobalGenerator.cxx:
- COMP: remove warning about unused variable
-
- Alex
-
-2007-06-11 18:23 king
-
- * bootstrap, Source/CMakeLists.txt,
- Source/cmAuxSourceDirectoryCommand.cxx, Source/cmCommands.cxx,
- Source/cmCreateTestSourceList.cxx,
- Source/cmFLTKWrapUICommand.cxx, Source/cmGlobalGenerator.cxx,
- Source/cmGlobalGenerator.h, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Source/cmLocalXCodeGenerator.cxx, Source/cmLocalXCodeGenerator.h,
- Source/cmMakeDepend.cxx, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmOutputRequiredFilesCommand.cxx,
- Source/cmQTWrapCPPCommand.cxx, Source/cmQTWrapCPPCommand.h,
- Source/cmQTWrapUICommand.cxx, Source/cmQTWrapUICommand.h,
- Source/cmSourceFile.cxx, Source/cmSourceFile.h,
- Source/cmSourceFileLocation.cxx, Source/cmSourceFileLocation.h,
- Source/cmTarget.cxx, Source/cmTarget.h: ENH: Initial sweep for
- new-sytle creation of cmSourceFile instances. Committing on
- branch CMake-SourceFile2-b.
-
-2007-06-11 17:15 hoffman
-
- * Tests/CMakeLists.txt: ENH: remove test
-
-2007-06-11 17:00 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-11 15:47 alex
-
- * Modules/Platform/Generic.cmake, Source/cmGlobalGenerator.cxx:
- STYLE: add a comment about SetLanguageEnabled() -add a
- Generic.cmake for target platforms without operating system
-
- Alex
-
-2007-06-11 15:36 david.cole
-
- * Source/: cmCTest.cxx, CTest/cmCTestCoverageHandler.cxx: BUG:
- Never return a string containing a ":" from
- cmCTest::GetShortPathToFile - replace them with "_". DART cannot
- construct valid file names during dashboard rollup with ":" in
- the short path. Also, fix the Bullseye coverage handler so that
- the file names and paths match in both the coverage summary and
- the individual coverage logs.
-
-2007-06-11 15:31 alex
-
- * Modules/CMakeCCompiler.cmake.in, Modules/CMakeCInformation.cmake,
- Modules/CMakeCXXCompiler.cmake.in,
- Modules/CMakeCXXInformation.cmake,
- Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h:
- ENH: split cmGlobalGenerator::SetLanguageEnabled() in two parts,
- where the second part copies the values from the cmake variables
- into internal maps. So this can now be done after the
- compiler-specific information has been loaded, which can now
- overwrite more settings.
-
- Alex
-
-2007-06-11 15:02 king
-
- * Modules/FindQt3.cmake: BUG: Fixed name of variable used to check
- version of uic executable.
-
-2007-06-11 15:00 hoffman
-
- * Tests/CMakeLists.txt: ENH: add ConvLib test back for some time
-
-2007-06-11 14:28 alex
-
- * Source/cmGlobalGenerator.cxx:
- STYLE: determineLanguageCalled removed, now the conditional code
- is directly called in the only place where it could be set to
- true
-
- Alex
-
-2007-06-11 13:22 king
-
- * Tests/CustomCommand/CMakeLists.txt: ENH: Re-arranged code to test
- adding a custom command to generate a source file after the file
- has been added to a target. This is supported by the current
- implementation because of the use of source lists in the target
- implementation. When we later convert to creating cmSourceFile
- instances immediately for the target we need to make sure the
- mentioned case still works.
-
-2007-06-11 12:40 king
-
- * Source/: cmIncludeRegularExpressionCommand.h,
- cmLocalUnixMakefileGenerator3.h, cmLocalVisualStudio6Generator.h,
- cmLocalVisualStudio7Generator.h, cmMakefileTargetGenerator.h:
- STYLE: Removed unused reference to cmMakeDepend.
-
-2007-06-11 10:25 king
-
- * Source/: cmMakefile.cxx, cmMakefile.h: BUG: More problems with
- cmMakefile copy-constructor. It seems the regular expression
- class cannot be assigned but does not enforce this limitation at
- compile time.
-
-2007-06-10 19:51 alex
-
- * Source/cmGlobalKdevelopGenerator.cxx:
- ENH: enable cvs or svn support if the source has the CVS/.svn
- subdirs
-
- Alex
-
-2007-06-10 15:56 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-09 02:39 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-08 17:44 king
-
- * Source/cmMakefile.cxx: BUG: Copy constructor needs to copy
- regular expression members.
-
-2007-06-08 16:19 alex
-
- * Source/cmExportCommand.cxx:
- ENH: fail if an unknown target is listed
-
- Alex
-
-2007-06-08 16:06 alex
-
- * Source/: cmDocumentation.cxx, ctest.cxx,
- CTest/cmCTestScriptHandler.cxx, CTest/cmCTestScriptHandler.h:
- STYLE: create command documentation for ctest
-
- I think some of the cmake commands should be removed from ctest
- if possible, like add_executable etc.
-
- Alex
-
-2007-06-08 14:16 martink
-
- * Source/cmCTest.cxx: BUG: fix timeout bug with global timeouts
- such as DART_TESTING_TIMEOUT
-
-2007-06-08 13:43 king
-
- * Source/cmFindBase.cxx: BUG: Fixed spelling and formatting of new
- documentation.
-
-2007-06-08 12:42 alex
-
- * Source/: cmExternalMakefileProjectGenerator.h,
- cmGlobalGenerator.h:
- COMP: less warnings
-
- Alex
-
-2007-06-08 12:29 hoffman
-
- * Source/CTest/: cmCTestCoverageHandler.cxx,
- cmCTestCoverageHandler.h: ENH: use new covbr that does not stop
- on error
-
-2007-06-08 11:57 alex
-
- * Source/: cmBootstrapCommands.cxx, cmCommands.cxx,
- cmExportCommand.cxx, cmExportCommand.h,
- cmExternalMakefileProjectGenerator.cxx,
- cmExternalMakefileProjectGenerator.h, cmFindLibraryCommand.cxx,
- cmFindPathCommand.cxx, cmFindProgramCommand.cxx,
- cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalKdevelopGenerator.cxx, cmGlobalKdevelopGenerator.h,
- cmMakefile.cxx, cmake.cxx, cmake.h:
- ENH: add cmExternalMakefileProjectGenerator, which should make it
- easier to write generators for IDE projects, which use already
- existing makefiles (current the kdevelop generator) -first stept
- of the export interface, iniitial export() command -more
- replacements for the FIND_XXX docs
-
- Alex
-
-2007-06-08 10:28 alex
-
- * Modules/FindX11.cmake:
- ENH: more consistence among the X11 components
-
- Alex
-
-2007-06-08 09:29 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-08 09:28 alex
-
- * Modules/FindQt4.cmake:
- ENH: patch from #5054: also search for QtUitoolsd lib
-
- Alex
-
-2007-06-08 09:19 alex
-
- * Source/cmExecProgramCommand.h:
- STYLE: fix typo (bug #5115)
-
- Alex
-
-2007-06-07 14:57 alex
-
- * Source/cmFindBase.cxx:
- STYLE: add documentation for CMAKE_FIND_ROOT_PATH
-
- Alex
-
-2007-06-07 14:31 alex
-
- * Source/: cmBootstrapCommands.cxx, cmCommands.cxx:
- BUG: fix Bootstrap test
-
- Alex
-
-2007-06-07 13:51 alex
-
- * Modules/CMakeDetermineCompilerId.cmake,
- Modules/CheckTypeSize.cmake, Source/cmFileCommand.cxx,
- Source/cmFileCommand.h:
- STYLE: remove out commented code
-
- Alex
-
-2007-06-07 13:05 alex
-
- * Utilities/CMakeLists.txt:
- STYLE: use GET_TARGET_PROPERTY(LOCATION) instead of manually
- building the path to the executables (tested with cmake 2.2.3)
-
- Alex
-
-2007-06-07 10:41 alex
-
- * Source/cmake.cxx:
- ENH: also remove uninitialized from the cache
-
- Alex
-
-2007-06-07 09:37 alex
-
- * Source/cmGlobalGenerator.cxx:
- BUG: fix #5137, now with the modified CMakeDetermineSystem.cmake
- the CMAKE_HOST_SYSTEM_xxx variables have to be preset, not the
- CMAKE_SYSTEM_xxx ones
-
- Alex
-
-2007-06-07 08:29 alex
-
- * Source/cmExportLibraryDependencies.cxx:
- STYLE: remove wrong comments
-
- Alex
-
-2007-06-06 16:20 king
-
- * Source/cmCommandArgumentParserHelper.cxx,
- Source/cmCommandArgumentParserHelper.h, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Tests/StringFileTest/InputFile.h.in,
- Tests/StringFileTest/StringFile.cxx: BUG: Fixed @ONLY
- configuration to not try to parse ${} syntax at all. This fixes
- the original fix to bug#4393 and adds a test.
-
-2007-06-06 15:05 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-06 13:43 hoffman
-
- * Tests/CMakeTests/: IncludeTest.cmake.in, ToolchainTest.cmake.in:
- ENH: fix it
-
-2007-06-06 13:32 hoffman
-
- * Tests/CMakeTests/: IncludeTest.cmake.in, ToolchainTest.cmake.in:
- ENH: use lower case for file compare on windows
-
-2007-06-06 11:46 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-06 11:26 hoffman
-
- * Source/kwsys/: DynamicLoader.cxx, DynamicLoader.hxx.in: ENH:
- remove some stuff to improve coverage
-
-2007-06-06 11:02 martink
-
- * Source/: cmCTest.cxx, CTest/cmCTestBuildAndTestHandler.cxx: BUG:
- better passing of global TIMEOUT to internal ctest invocaitons
-
-2007-06-06 10:44 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: fix case problem with drive
- letters and cmake vs CMakeSetup build.make changing
-
-2007-06-06 10:41 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Source/kwsys/SystemTools.cxx:
- ENH: move to RC 10
-
-2007-06-06 08:49 alex
-
- * Source/: cmIfCommand.cxx, cmIfCommand.h:
- ENH: add IF(IS_ABSOLUTE path), so no regex matching is required
- in the cmake scripts
-
- Alex
-
-2007-06-05 16:37 alex
-
- * Source/cmGlobalUnixMakefileGenerator3.h:
- STYLE: fix comment
-
- Alex
-
-2007-06-05 16:35 alex
-
- * Source/: cmGlobalKdevelopGenerator.cxx,
- cmGlobalKdevelopGenerator.h, cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h:
- STYLE: move ForceVerboseMakefiles to
- cmGlobalUnixMakefileGenerator3, so the kdevelop generator doesn't
- need its own CreateLocalGenerator() anymore
-
- Alex
-
-2007-06-05 10:28 alex
-
- * Modules/: CMakeCCompilerId.c, CMakeCInformation.cmake,
- CMakeCXXInformation.cmake, CMakeDetermineSystem.cmake,
- CMakeSystemWithToolchainFile.cmake.in:
- ENH: also load a processor-specific file if exists -also try the
- basename file if the compiler id file doesn't exist -don't rely
- so much on the CMAKE_TOOLCHAIN_FILE
-
- Alex
-
-2007-06-05 10:20 alex
-
- * Modules/CheckTypeSizeC.c.in:
- COMP: don't use stdio, it can fail on some embedded targets
- (sdcc)
-
- Alex
-
-2007-06-05 09:30 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Source/cmCommandArgumentLexer.cxx,
- Source/cmCommandArgumentLexer.h,
- Source/cmCommandArgumentLexer.in.l,
- Source/cmCommandArgumentParserHelper.cxx: ENH: merge in changes
- from main tree that fix at only parsing
-
-2007-06-05 09:19 hoffman
-
- * Source/: cmCommandArgumentLexer.cxx, cmCommandArgumentLexer.in.l:
- ENH: fix for aix
-
-2007-06-05 09:05 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-05 08:30 alex
-
- * Modules/CheckTypeSizeC.c.in:
- COMP: make the new check_type_size work with the HPUX cc
- compiler: const doesn't exist there
-
- Alex
-
-2007-06-04 17:18 hoffman
-
- * Tests/Framework/test.lua: ENH: add missing file
-
-2007-06-04 17:17 hoffman
-
- * Source/cmMakefileLibraryTargetGenerator.cxx: ENH: prevent crash
-
-2007-06-04 17:16 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-04 17:08 alex
-
- * Modules/CheckTypeSize.cmake, Modules/CheckTypeSizeC.c.in,
- Modules/Platform/Darwin.cmake, Source/cmCoreTryCompile.cxx,
- Source/cmLocalGenerator.cxx: ENH: determine typesize by compiling
- a file and reading strings from the compiled output. Tested with
- various gcc, XCode, MSVC7, sdcc For OSX when doing TRY_COMPILE()
- CMAKE_OSX_ARCHITECTURES is used, if there are different results
- an error is generated. CMAKE_OSX_ARCHITECTURES can be overwritten
- for the TRY_COMPILES with CMAKE_TRY_COMPILE_OSX_ARCHITECTURES.
-
- Alex
-
-2007-06-04 15:57 king
-
- * Source/: cmCommandArgumentLexer.cxx, cmCommandArgumentLexer.h,
- cmCommandArgumentLexer.in.l, cmCommandArgumentParserHelper.cxx:
- BUG: Fixed cmCommandArgumentLexer no-escape mode to not match
- backslash-escape sequences as lexical tokens at all. Needed to
- configure files with backslashes preceding an @VAR@ replacement.
- This fixes bug#5130.
-
-2007-06-04 15:28 hoffman
-
- * Tests/Framework/CMakeLists.txt: ENH: add one of the headers to
- the regular sources
-
-2007-06-04 13:50 alex
-
- * Source/cmake.cxx:
- STYLE: fix typo: now double space after -D
-
- Alex
-
-2007-06-04 13:48 alex
-
- * Source/: cmCacheManager.cxx, cmake.cxx, cmake.h:
- ENH: -U for removing variables now uses globbing expressions
- -cmCacheManager: now also variables with type UNINITIALIZED are
- saved in CMakeCache.txt, these are the vars defined using
- -DFOO=foo but without type
-
- Alex
-
-2007-06-04 13:39 martink
-
- * Source/: cmCTest.cxx, CTest/cmCTestBuildAndTestHandler.cxx: ENH:
- fix passing of time limit to some ctest invocations that also use
- build-options
-
-2007-06-03 10:48 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-02 16:15 hoffman
-
- * Source/CTest/cmCTestCoverageHandler.cxx: ENH: remove debug that
- caused tests to fail
-
-2007-06-02 06:33 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-06-01 23:06 hoffman
-
- * Source/CTest/cmCTestCoverageHandler.cxx: ENH: opps
-
-2007-06-01 15:40 hoffman
-
- * Source/CTest/: cmCTestCoverageHandler.cxx,
- cmCTestCoverageHandler.h: ENH: initial bullseye stuff
-
-2007-06-01 14:16 alex
-
- * Source/: cmake.cxx, cmake.h:
- BUG: also put a variable into the cache when defined using -D if
- no type is given, then STRING is used. Also add command line
- option -U as suggested for undefining cache variables. This fixes
- #4896 and #4264.
-
- Alex
-
-2007-06-01 13:17 alex
-
- * Modules/FindX11.cmake:
- COMP: fix warnings on some machines where some X libs apparently
- don't really work by reverting X11_LIBRARIES back to the old
- version -add some more X11_xxx_FOUND variables -reformat comments
- at the top -always use IF(INCLUDE_DIR and LIB) for setting FOUND
- to TRUE
-
- Alex
-
-2007-06-01 11:18 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Source/cmAddLibraryCommand.cxx,
- Source/cmGlobalGenerator.cxx: ENH: merge in a few more fixes from
- the main tree
-
-2007-06-01 11:16 alex
-
- * Modules/CheckCSourceRuns.cmake, Modules/CheckCXXSourceRuns.cmake,
- Modules/FindThreads.cmake, Modules/TestBigEndian.cmake,
- Source/cmTryRunCommand.cxx, Source/cmTryRunCommand.h,
- Tests/TryCompile/CMakeLists.txt, Tests/TryCompile/exit_success.c,
- Tests/TryCompile/exit_with_error.c:
- ENH: improve TRY_RUN() for crosscompiling: instead of just
- failing, it now creates two cache variables, one for the
- RUN_RESULT, one for the RUN_OUTPUT (if required), which can be
- set or preset by the user. It has now also two new arguments:
- RUN_OUTPUT_VARIABLE and COMPILE_OUTPUT_VARIABLE (the old
- OUTPUT_VARIABLE merges both), so if only COMPILE_OUTPUT_VARIABLE
- is used the run time output of the TRY_RUN is unused and the user
- doesn't have to care about the output when crosscompiling. This
- is now used in FindThreads.cmake, CheckC/CXXSourceRuns.cmake and
- TestBigEndian.cmake, which used the output only for the logfile
- (compile output is still there). Test/TryCompile/ now also tests
- the behaviour of OUTPUT_VARIABLE, RUN_OUTPUT_VARIABLE and
- COMPILE_OUTPUT_VARIABLE.
-
- Alex
-
-2007-06-01 11:06 alex
-
- * Source/cmCacheManager.cxx:
- ENH: also handle comments for variables which contain newlines
-
- Alex
-
-2007-06-01 09:18 hoffman
-
- * Source/cmGlobalGenerator.cxx: BUG: fix crash, bug 5121
-
-2007-05-31 22:06 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-31 16:18 alex
-
- * Source/kwsys/kwsysPlatformTests.cmake:
- COMP: revert some of the changes for crosscompiling, not required
- anymore with recent changes in cmake
-
- Alex
-
-2007-05-31 12:03 alex
-
- * Source/cmGetTargetPropertyCommand.cxx:
- ENH: if get_target_property() doesn't find a target with the
- given name, it returns now "<NAME_OF_VAR>-NOTFOUND" instead of
- just "NOTFOUND", which can help in finding problems
-
- Alex
-
-2007-05-31 10:29 martink
-
- * Tests/: CMakeLists.txt, Properties/CMakeLists.txt,
- Properties/properties.h.in, Properties/properties2.h,
- Properties/SubDir/properties3.cxx: ENH: added new test for
- SourceFile objects and properties
-
-2007-05-30 12:09 alex
-
- * Modules/FindX11.cmake:
- ENH: mostly synced with FindX11.cmake from KDE svn: now also
- searches for a lot of additional X11 libs, like Xv, Xau, Xrandr
- and others
-
- Alex
-
-2007-05-30 10:40 alex
-
- * Source/kwsys/kwsysPlatformTests.cmake:
- COMP: start crosscompiling Paraview3 (requires cmake cvs,
- currently to scratchbox)
-
- Alex
-
-2007-05-30 05:28 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-29 11:36 alex
-
- * Modules/CMakeDetermineSystem.cmake, Modules/CMakeSystem.cmake.in,
- Modules/CMakeSystemWithToolchainFile.cmake.in,
- Tests/CMakeTests/ToolchainTest.cmake.in:
- ENH: always provide CMAKE_SYSTEM_XXX() and MAKE_HOST_SYSTEM_XXX()
- variables, so when cross compiling the build host platform can be
- tested
-
- Alex
-
-2007-05-29 08:42 alex
-
- * Source/cmHexFileConverter.cxx:
- COMP: less warnings with msvc8
-
- Alex
-
-2007-05-29 05:26 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-28 17:49 king
-
- * Source/cmGlobalXCodeGenerator.cxx: BUG: Finished previous fix.
-
-2007-05-28 13:46 king
-
- * Source/cmGlobalXCodeGenerator.cxx: COMP: Fixed shadowed local
- warning.
-
-2007-05-28 13:32 king
-
- * Source/cmSourceFile.h: ENH: Removed unused methods that should
- never be used anyway.
-
-2007-05-28 12:23 king
-
- * Source/cmake.h: STYLE: Fixed comment for Generate() method.
-
-2007-05-28 12:05 king
-
- * Source/cmTarget.cxx: ENH: Moved link library related code from
- GenerateSourceFilesFromSourceLists to AnalyzeLibDependencies to
- make the former do no more than what its name says.
-
-2007-05-28 11:41 king
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ENH: Added more install rules to
- increase coverage of the command.
-
-2007-05-28 11:18 king
-
- * Source/: cmCustomCommand.cxx, cmCustomCommand.h, cmTarget.cxx:
- ENH: Removed "Used" mark from custom commands. It is no longer
- needed or checked by any generators.
-
-2007-05-28 11:16 king
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: Remove unused build rules
- from Xcode. This change was made in the VS generators on
- 2006-03-23 and should have been made for the Xcode generator too.
- Also commented out some debug print statements.
-
-2007-05-28 11:03 king
-
- * Source/cmMakefileExecutableTargetGenerator.cxx: COMP: Fix build
- on mac after change to GetSourceFiles signature.
-
-2007-05-28 11:02 king
-
- * Source/cmGlobalXCodeGenerator.cxx: COMP: Fix build of XCode
- generator after change to GetSourceFiles signature.
-
-2007-05-28 11:02 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-28 11:00 king
-
- * Source/: cmGlobalVisualStudio8Generator.cxx,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: COMP: Fix build for
- windows-only generators after change to GetSourceFiles signature.
-
-2007-05-28 10:25 king
-
- * Source/: cmFLTKWrapUICommand.cxx, cmLocalGenerator.cxx,
- cmTarget.cxx, cmTarget.h: ENH: Made cmTarget::GetSourceFiles
- method return reference to const so addition of cmSourceFile
- pointers must be done with an access method in cmTarget.
-
-2007-05-28 10:11 king
-
- * Source/: cmCPluginAPI.cxx, cmFLTKWrapUICommand.cxx,
- cmQTWrapCPPCommand.cxx, cmQTWrapUICommand.cxx, cmSourceFile.h:
- ENH: Made cmSourceFile::GetDepends return reference to const so
- dependencies can be added only by an access method in
- cmSourceFile.
-
-2007-05-28 10:07 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/FindPkgConfig.cmake,
- Modules/UsePkgConfig.cmake, Modules/UseSWIG.cmake,
- Modules/Platform/UnixPaths.cmake, Source/cmFileCommand.cxx,
- Source/cmListCommand.h, Source/cmLocalGenerator.cxx,
- Source/cmTryCompileCommand.h, Source/cmXCodeObject.cxx,
- Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in:
- ENH: merge in changes from branch RC 7
-
-2007-05-28 09:59 king
-
- * Source/: cmFLTKWrapUICommand.cxx, cmMakefile.cxx, cmTarget.h:
- ENH: Made cmTarget::GetSourceLists return a reference to const so
- that all additions of sources must go through access methods in
- cmTarget.
-
-2007-05-28 08:31 alex
-
- * Source/cmHexFileConverter.cxx:
- COMP: fix warning on MSVC 8: conversion from 'size_t' to
- 'unsigned int', possible loss of data
-
- Alex
-
-2007-05-27 18:47 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-27 10:32 hoffman
-
- * Source/cmXCodeObject.cxx: ENH: @ must be escaped in xcode
- projects
-
-2007-05-27 04:31 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-26 14:26 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-25 16:46 alex
-
- * Modules/CMakeDetermineCompilerId.cmake, Source/cmFileCommand.cxx,
- Source/cmFileCommand.h:
- ENH: add option to FILE(STRINGS NO_HEX_CONVERSION) to disable
- automatic conversion of hex and srec files to binary. Without
- this automatic conversion, everywhere where a compiled file is
- parsed for strings the a file(HEX2BIN somefile binfile) command
- has to be added otherwise it will not work for these compilers. I
- tried this with DetermineCompiler and CheckTypeSize and nobody
- will do this except the users who work with such compilers. For
- them it will break if they don't add this conversion command in
- all these places. If FILE(STRINGS) is used with a text file, it
- will in most cases still work as expected, since it will only
- convert hex and srec files. If a user actually wants to get text
- out of hex files, he knows what he's doing and will see the hint
- in the documentation.
-
- Anyway, it should work without having to create a temporary file,
- will work on this later.
-
- Alex
-
-2007-05-25 16:23 alex
-
- * Source/cmHexFileConverter.cxx:
- COMP: less warnings (signed vs. unsigned)
-
- Alex
-
-2007-05-25 15:51 king
-
- * Source/cmGlobalGenerator.cxx: BUG: Need to create global targets
- before AddHelperCommands is called. We should investigate
- creating global targets at the beginning of the configure step
- even if their commands are not populated or if they will not
- actually be generated later.
-
-2007-05-25 15:22 alex
-
- * Modules/CMakeCCompilerId.c,
- Modules/CMakeDetermineCompilerId.cmake, Modules/CMakeLists.txt,
- Source/cmBootstrapCommands.cxx, Source/cmFileCommand.cxx,
- Source/cmFileCommand.h, Source/cmHexFileConverter.cxx,
- Source/cmHexFileConverter.h, Tests/StringFileTest/CMakeLists.txt,
- Tests/StringFileTest/main.ihx, Tests/StringFileTest/main.srec:
- ENH: make the compiler id detection work, even if the output file
- name of the compiler is completely unknown and even if it
- produces intel hex or motorola s-record files, with test
-
- Alex
-
-2007-05-25 12:05 alex
-
- * Source/cmTryRunCommand.cxx:
- BUG: remove debug output
-
- Alex
-
-2007-05-25 11:41 king
-
- * Tests/: SimpleInstall/CMakeLists.txt, SimpleInstall/inst.cxx,
- SimpleInstall/scripts/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt, SimpleInstallS2/inst.cxx,
- SimpleInstallS2/scripts/CMakeLists.txt: ENH: Added testing of
- REGEX option to INSTALL(DIRECTORY). Added tests to cover all
- forms of old-style install commands.
-
-2007-05-25 11:09 king
-
- * Tests/: SimpleInstall/inst.cxx, SimpleInstallS2/inst.cxx: ENH:
- Add test to see if INSTALL_FILES actually worked.
-
-2007-05-25 11:08 king
-
- * Source/: cmInstallFilesCommand.cxx, cmInstallFilesCommand.h: BUG:
- Fix FILES mode after recent changes.
-
-2007-05-25 11:01 king
-
- * Source/: cmInstallFilesCommand.cxx, cmInstallProgramsCommand.cxx:
- BUG: Fixed INSTALL_FILES and INSTALL_PROGRAMS commands to install
- under the prefix like they did before the recent changes.
-
-2007-05-25 06:55 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-24 17:06 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- ENH: add copy header stuff
-
-2007-05-24 16:03 alex
-
- * Modules/CMakeCCompilerId.c, Modules/CheckTypeSize.cmake,
- Source/cmTryRunCommand.cxx:
- STYLE: remove debug output, fix indentation the tests run again
- successfully, but since CheckTypeSize will switch to a
- TRY_COMPILE soon I will look at it again after this change
-
- Alex
-
-2007-05-24 14:30 alex
-
- * Modules/CheckTypeSize.cmake, Source/cmTryRunCommand.cxx:
- COMP: try to fix the test failures on dash2
-
- Alex
-
-2007-05-24 12:06 alex
-
- * Source/cmCoreTryCompile.cxx, Source/cmTryCompileCommand.h,
- Source/cmTryRunCommand.cxx, Tests/TryCompile/CMakeLists.txt:
- ENH: add COPY_FILE argument to TRY_COMPILE, so the compiled
- executable can be used e.g. for getting strings out of it.
-
- Alex
-
-2007-05-24 11:27 alex
-
- * Source/cmBootstrapCommands.cxx, Source/cmCoreTryCompile.cxx,
- Source/cmCoreTryCompile.h, Source/cmTryCompileCommand.cxx,
- Source/cmTryCompileCommand.h, Source/cmTryRunCommand.cxx,
- Source/cmTryRunCommand.h, Tests/TryCompile/CMakeLists.txt,
- Tests/TryCompile/exit_success.c,
- Tests/TryCompile/exit_with_error.c:
- ENH: add two simple tests for TRY_RUN() STYLE: create a new base
- class cmCoreTryCompile, from which cmTryCompileCommand and
- cmTryRunCommand are derived, so there are no public static
- functions with lots of arguments anymore
-
- Alex
-
-2007-05-24 09:35 alex
-
- * Modules/CMakeCCompilerId.c:
- ENH: add compiler id for sdcc
-
- Alex
-
-2007-05-24 08:56 alex
-
- * Source/: cmTryCompileCommand.cxx, cmTryCompileCommand.h,
- cmTryRunCommand.cxx:
- ENH: move output file search to cmTryCompileCommand.cxx, so it
- can be used there too... many public static functions with lots
- of arguments... :-/
-
- Alex
-
-2007-05-24 08:43 alex
-
- * Source/: cmLocalGenerator.cxx, cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx, cmTarget.cxx:
- BUG: don't use non-imported target when cross compiling as
- commands in custom commands STYLE: remove now invalid comments,
- use this->
-
- Alex
-
-2007-05-24 08:33 alex
-
- * Modules/: CMakeCCompilerId.c, CMakeDetermineCCompiler.cmake,
- TestBigEndian.cmake:
- ENH: add compiler id for IAR compiler (http://www.iar.com/) ENH:
- don't run endian test again if the variable is already set
-
- Alex
-
-2007-05-24 08:18 alex
-
- * Source/cmListCommand.h:
- STYLE: use "items" instead od "item"
-
- Alex
-
-2007-05-24 05:26 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-23 18:22 king
-
- * Source/: cmLocalGenerator.cxx: ENH: Removed unused code now that
- INSTALL_FILES and INSTALL_PROGRAMS are not targets.
-
-2007-05-23 17:58 king
-
- * Tests/BuildDepends/CMakeLists.txt: BUG: Report proper error
- message when project does not build the first time. Also added
- hack to rebuild subproject several times for Xcode. The
- generator should be fixed and the hack removed.
-
-2007-05-23 17:21 king
-
- * Source/cmGlobalXCodeGenerator.cxx: BUG: Need to use
- GetRealDependency for custom command file-level dependencies.
-
-2007-05-23 17:01 king
-
- * Tests/BuildDepends/Project/CMakeLists.txt: ENH: Executable bar
- should rebuild when its generated header changes. It does not
- need to link to the foo library anymore.
-
-2007-05-23 15:40 king
-
- * Source/: cmExportLibraryDependencies.cxx,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx, cmGlobalXCodeGenerator.cxx,
- cmInstallFilesCommand.cxx, cmInstallFilesCommand.h,
- cmInstallProgramsCommand.cxx, cmInstallProgramsCommand.h,
- cmLocalGenerator.cxx, cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx, cmMakefile.cxx, cmTarget.cxx:
- ENH: Fixed INSTALL_FILES and INSTALL_PROGRAMS commands to not
- create targets. No targets of type cmTarget::INSTALL_FILES or
- cmTarget::INSTALL_PROGRAMS are created, so we do not need to
- check for them everywhere anymore.
-
-2007-05-23 13:30 king
-
- * Tests/BuildDepends/Project/generator.cxx: BUG: Target names in
- the COMMAND part of a custom command should not create a
- file-level dependency that forces the command to rerun when the
- executable target rebuilds, but the target-level dependency
- should still be created. Target names in a DEPENDS should do
- both a target-level and file-level dependency. Updated the
- BuildDepends test to check that this works.
-
-2007-05-23 13:27 king
-
- * Source/cmAddCustomCommandCommand.h, Source/cmTarget.cxx,
- Source/cmTarget.h, Tests/BuildDepends/CMakeLists.txt,
- Tests/BuildDepends/Project/CMakeLists.txt,
- Tests/BuildDepends/Project/bar.cxx: BUG: Target names in the
- COMMAND part of a custom command should not create a file-level
- dependency that forces the command to rerun when the executable
- target rebuilds, but the target-level dependency should still be
- created. Target names in a DEPENDS should do both a target-level
- and file-level dependency. Updated the BuildDepends test to
- check that this works.
-
-2007-05-23 12:05 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Add ./ to custom
- command executables in the top of the build tree even when the
- path is generated by target name replacement.
-
-2007-05-23 11:00 king
-
- * Modules/: CMakeCCompilerId.c, CMakeCXXCompilerId.cpp,
- CMakePlatformId.h: ENH: Unify design of CMakeCCompilerId.c,
- CMakeCXXCompilerId.cpp, and CMakePlatformId.h. BUG: Do not
- violate system-reserved symbol namespace _[A-Z].
-
-2007-05-23 08:24 alex
-
- * Source/cmTarget.cxx:
- COMP: don't user string::clear(), fix warnings about unused
- variables
-
- Alex
-
-2007-05-22 17:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-22 12:48 alex
-
- * Modules/: CMakeCCompilerId.c, CMakeDetermineSystem.cmake,
- CMakePlatformId.h, CMakeSystemWithToolchainFile.cmake.in:
- BUG: now the toolchain file is configured into the buildtree,
- otherwise e.g. CMAKE_SOURCE_DIR can't be used there ENH: modify
- CMakeCCompilerId.c and .h so that sdcc can compile them. As they
- were the preprocessor produced:
-
- 9 "test.c"
- static char const info_compiler[] = "INFO:compiler[" # 40
- "test.c" ""
-
- "]";
-
- and the mixing of the preprocessing directives and the string
- constants didn't work.
-
- Alex
-
-2007-05-22 11:05 alex
-
- * Source/cmIncludeExternalMSProjectCommand.cxx: COMP: compile fix
-
- Alex
-
-2007-05-22 10:42 alex
-
- * Source/: cmAddExecutableCommand.cxx,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx:
- COMP: compile fix and remove warning
-
- Alex
-
-2007-05-22 10:24 alex
-
- * Source/: cmAddDependenciesCommand.cxx,
- cmAddExecutableCommand.cxx, cmGetTargetPropertyCommand.cxx,
- cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio8Generator.cxx,
- cmGlobalVisualStudioGenerator.cxx, cmGlobalXCodeGenerator.cxx,
- cmIncludeExternalMSProjectCommand.cxx, cmInstallCommand.cxx,
- cmInstallTargetGenerator.cxx, cmLocalGenerator.cxx,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalVisualStudio6Generator.cxx, cmMakefile.cxx, cmMakefile.h,
- cmMakefileTargetGenerator.cxx, cmSetTargetPropertiesCommand.cxx,
- cmTarget.cxx, cmTarget.h:
- ENH: add the IMPORT keyword to ADD_EXECUTABLE(), which generates
- an "imported" executable target. This can then be used e.g. with
- ADD_CUSTOM_COMMAND() to generate stuff. It adds a second
- container for "imported" targets, and FindTarget() now takes an
- additional argument bool useImportedTargets to specify whether
- you also want to search in the imported targets or only in the
- "normal" targets.
-
- Alex
-
-2007-05-22 09:15 alex
-
- * Modules/: CMakeGenericSystem.cmake, Platform/gcc.cmake:
- STYLE: move the two CMAKE_SHARED_LIBRARYC/CXX_FLAGS for gcc from
- CMakeGenericSystem.cmake to gcc.cmake
-
- Alex
-
-2007-05-22 04:14 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-21 11:26 alex
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineSystem.cmake, CMakeLists.txt, CMakeSystem.cmake.in,
- CMakeSystemWithToolchainFile.cmake.in:
- STYLE: use a separate source file for generating
- CMakeSystem.cmake if CMAKE_TOOLCHAIN_FILE is used
-
- Alex
-
-2007-05-21 10:58 alex
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake:
- BUG: don't fail if a compiler is given in CMAKE_C/CXX_COMPILER
- but it can't be found in the path
-
- Alex
-
-2007-05-21 10:15 alex
-
- * Modules/CMakeFindBinUtils.cmake, Tests/CMakeLists.txt:
- BUG: always search for ar, ranlib, etc. except under MSVC -> this
- should fix the mingw fortran test -also generate the fortran test
- with the kdevelop generator
-
- Alex
-
-2007-05-21 05:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-20 10:11 king
-
- * Tests/CMakeLists.txt: BUG: Fix name of project to build for
- LoadCommandOneConfig now that it has been renamed for new name of
- LoadCommand test.
-
-2007-05-20 10:08 king
-
- * Modules/CMakeDetermineSystem.cmake: BUG: Use @ONLY substitution
- to configure CMakeSystem.cmake.
-
-2007-05-20 02:39 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-19 10:15 king
-
- * Tests/: LoadCommand/CMakeLists.txt,
- LoadCommandOneConfig/CMakeLists.txt: BUG: Finish fixing test for
- new name.
-
-2007-05-19 10:11 hoffman
-
- * Utilities/KWStyle/CMake.kws.xml.in: ENH: try to tone down kwstyle
-
-2007-05-19 10:10 hoffman
-
- * Tests/: LoadCommand/CMakeLists.txt,
- LoadCommandOneConfig/CMakeLists.txt: BUG: fix project name for
- test
-
-2007-05-19 09:55 king
-
- * Source/cmFileCommand.cxx: COMP: Fix for borland now that
- components list check is const.
-
-2007-05-18 20:51 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-18 15:11 martink
-
- * Tests/: CMakeLists.txt, ExternalOBJ/CMakeLists.txt,
- LinkLine/CMakeLists.txt, MacroTest/CMakeLists.txt: ENH: some
- cleanup, condensing some tests, removing arguments that were not
- needed but rather were cut and paste copies etc
-
-2007-05-18 14:41 alex
-
- * Source/CPack/: bills-comments.txt, cmCPackGenericGenerator.cxx:
- ENH: 2nd try to move stripping out of cpack and to install time,
- now if CPACK_STRIP_FILES is true (or contains a list of files),
- everything will be stripped, if it's empty or false they won't be
- stripped
-
- Alex
-
-2007-05-18 13:43 alex
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalUnixMakefileGenerator3.h,
- cmLocalUnixMakefileGenerator3.cxx:
- ENH: add install/strip target for makefile generators if strip
- was found
-
- Alex
-
-2007-05-18 11:57 alex
-
- * Modules/Platform/Darwin.cmake,
- Source/cmInstallTargetGenerator.cxx: ENH: move hack to fix "new
- cmake on old build tree on OSX doesn't have
- CMAKE_INSTALL_NAME_TOOL in the cache" from
- cmInstallTargetGenerator.cxx to Darwin.cmake
-
- Alex
-
-2007-05-18 11:45 alex
-
- * Source/CPack/cpack.cxx:
- COMP: force a recompile on VS71
-
- Alex
-
-2007-05-18 11:36 king
-
- * Modules/Platform/UnixPaths.cmake, Source/cmLocalGenerator.cxx:
- ENH: Use CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES from platform
- files to block link directories.
-
-2007-05-18 10:55 alex
-
- * Modules/: CMakeFindBinUtils.cmake, Platform/cl.cmake: COMP: if a
- new cmake runs on an old build tree, set CMAKE_LINKER to link to
- make it link
-
- Alex
-
-2007-05-18 10:32 alex
-
- * Modules/Platform/cl.cmake, Source/cmLocalGenerator.cxx: COMP: fix
- link rules with nmake, the linker command has to be converted to
- shortpath form for nmake
-
- Alex
-
-2007-05-18 09:33 king
-
- * Tests/CustomCommand/CMakeLists.txt: BUG: Replace "with space" in
- custom command argument tests with "w s" to still have whitespace
- but be shorter. The test was failing because the custom command
- line length was simply too long for the VS IDE.
-
-2007-05-18 09:30 hoffman
-
- * Source/cmTryCompileCommand.h: STYLE: fix documentation for
- command
-
-2007-05-18 09:18 king
-
- * Tests/CustomCommand/: CMakeLists.txt, check_command_line.c.in:
- ENH: Added quick means to turn on verbose output for debugging
- this test.
-
-2007-05-18 09:17 king
-
- * Source/kwsys/System.c: BUG: Added carrot (^) to characters that
- need quoting. The solaris shell needs it.
-
-2007-05-18 09:16 alex
-
- * Modules/CMakeDetermineFortranCompiler.cmake: STYLE: fdcorrect
- comments about FC/CC
-
- Alex
-
-2007-05-18 09:08 king
-
- * Modules/: CMakeDetermineCompilerId.cmake,
- CMakeDetermineFortranCompiler.cmake: BUG: If the Fortran
- CompilerId source fails to compile it should not be a failure.
- It is only expected to work for Fortran90 compilers.
-
-2007-05-18 08:49 alex
-
- * Source/: cmFileCommand.cxx, cmFindBase.cxx, cmFindBase.h,
- cmInstallTargetGenerator.cxx, cmTryRunCommand.cxx:
- STYLE: fix line lengths
-
- Alex
-
-2007-05-17 17:43 king
-
- * Source/cmInstallTargetGenerator.cxx: BUG: Need to use
- GetSafeDefinition when assigning to a string.
-
-2007-05-17 17:40 king
-
- * Source/: cmIfCommand.cxx, cmMakefile.cxx, cmMakefile.h,
- cmVariableWatch.h: BUG: All variable accesses should produce
- watch callbacks, including IF(DEFINED <var>) ones. Instead we
- define a new access type for IF(DEFINED) so that the error does
- not show up for backward compatibility variables.
-
-2007-05-17 17:21 alex
-
- * Source/cmInstallTargetGenerator.cxx: STYLE: fix indentation ENH:
- add hack to make new cmake work with older existing cmake build
- trees
-
- Alex
-
-2007-05-17 16:50 alex
-
- * Source/cmGlobalKdevelopGenerator.cxx:
- STYLE: use braces
-
- Alex
-
-2007-05-17 16:49 alex
-
- * Modules/CMakeFindBinUtils.cmake: ENH: fail if install_name_tool
- wasn't found
-
- Alex
-
-2007-05-17 15:17 king
-
- * Modules/CheckTypeSize.cmake,
- Utilities/cmcurl/CMake/CheckTypeSize.cmake: ENH: Use IF(NOT
- DEFINED) check to short-circuit size test.
-
-2007-05-17 15:12 king
-
- * Source/: cmIfCommand.cxx, cmMakefile.cxx, cmMakefile.h: BUG: Do
- not complain about missing watched variables when they are
- accessd with IF(DEFINED VAR).
-
-2007-05-17 14:47 king
-
- * Source/cmMakefile.cxx: COMP: GCC 2.95 does not have
- std::string::clear() method.
-
-2007-05-17 14:41 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Source/cmCTest.cxx,
- Source/cmIfCommand.h, Source/cmListFileCache.h,
- Source/cmLocalGenerator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.cxx,
- Source/CPack/cmCPackTarCompressGenerator.cxx: ENH: merge in
- changes from main tree
-
-2007-05-17 14:32 king
-
- * Tests/CustomCommand/CMakeLists.txt: ENH: Add testing of * and /
- character arguments except on MinGW.
-
-2007-05-17 14:03 king
-
- * Tests/CustomCommand/CMakeLists.txt: ENH: Added test for custom
- command lines with special single-character arguments.
-
-2007-05-17 14:01 king
-
- * Source/kwsys/System.c: BUG: Some single-character arguments need
- quoting on windows.
-
-2007-05-17 13:28 king
-
- * Tests/CustomCommand/CMakeLists.txt: BUG: Disable test of angle
- bracket escapes until it works everywhere.
-
-2007-05-17 13:20 alex
-
- * Modules/CMakeCCompiler.cmake.in, Modules/CMakeCInformation.cmake,
- Modules/CMakeCXXCompiler.cmake.in,
- Modules/CMakeCXXInformation.cmake,
- Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakeDetermineFortranCompiler.cmake,
- Modules/CMakeDetermineSystem.cmake,
- Modules/CMakeFindBinUtils.cmake, Modules/CMakeLists.txt,
- Modules/CMakeSystem.cmake.in,
- Modules/CMakeSystemSpecificInformation.cmake,
- Modules/CMakeTestCCompiler.cmake, Modules/CTest.cmake,
- Modules/CheckTypeSize.cmake, Modules/Platform/Windows-cl.cmake,
- Modules/Platform/cl.cmake, Source/cmFileCommand.cxx,
- Source/cmFileCommand.h, Source/cmFindBase.cxx,
- Source/cmFindBase.h, Source/cmIncludeCommand.cxx,
- Source/cmIncludeCommand.h, Source/cmInstallTargetGenerator.cxx,
- Source/cmInstallTargetGenerator.h, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmTryRunCommand.cxx,
- Source/cmUtilitySourceCommand.cxx,
- Source/cmUtilitySourceCommand.h,
- Source/CTest/cmCTestTestHandler.cxx,
- Source/CTest/cmCTestTestHandler.h,
- Tests/CMakeTests/CMakeLists.txt,
- Tests/CMakeTests/DummyToolchain.cmake,
- Tests/CMakeTests/FindBaseTest.cmake.in,
- Tests/CMakeTests/IncludeTest.cmake.in,
- Tests/CMakeTests/ToolchainTest.cmake.in,
- Tests/CMakeTests/include/cmake_i_do_not_exist_in_the_system.h:
- ENH: merge CMake-CrossCompileBasic to HEAD -add a RESULT_VARIABLE
- to INCLUDE() -add CMAKE_TOOLCHAIN_FILE for specifiying your
- (potentially crosscompiling) toolchain -have TRY_RUN() complain
- if you try to use it in crosscompiling mode (which were compiled
- but cannot run on this system) -use CMAKE_EXECUTABLE_SUFFIX in
- TRY_RUN(), probably TRY_RUN won't be able to run the executables
- if they have a different suffix because they are probably
- crosscompiled, but nevertheless it should be able to find them
- -make several cmake variables presettable by the user:
- CMAKE_C/CXX_COMPILER, CMAKE_C/CXX_OUTPUT_EXTENSION,
- CMAKE_SYSTEM_NAME, CMAKE_SYSTEM_INFO_FILE -support prefix for GNU
- toolchains (arm-elf-gcc, arm-elf-ar, arm-elf-strip etc.) -move
- ranlib on OSX from the file command to a command in executed in
- cmake_install.cmake -add support for stripping during install in
- cmake_install.cmake -split out cl.cmake from Windows-cl.cmake,
- first (very incomplete) step to support MS crosscompiling tools
- -remove stdio.h from the simple C program which checks if the
- compiler works, since this may not exist for some embedded
- platforms -create a new CMakeFindBinUtils.cmake which collects
- the search fro ar, ranlib, strip, ld, link, install_name_tool and
- other tools like these -add support for CMAKE_FIND_ROOT_PATH for
- all FIND_XXX commands, which is a list of directories which will
- be prepended to all search directories, right now as a cmake
- variable, turning it into a global cmake property may need some
- more work -remove cmTestTestHandler::TryExecutable(), it's unused
- -split cmFileCommand::HandleInstall() into slightly smaller
- functions
-
- Alex
-
-2007-05-17 11:27 king
-
- * Source/cmSystemTools.cxx: BUG: Fix ExpandListArgument when the
- string ends in a backslash.
-
-2007-05-17 11:18 king
-
- * Source/cmTarget.cxx: BUG: An empty configuration name is
- equivalent to no configuration.
-
-2007-05-17 11:12 alex
-
- * Source/: cmFileCommand.h, cmIncludeCommand.cxx,
- cmInstallTargetGenerator.cxx: COMP: less warnings with msvc7
-
- Alex
-
-2007-05-17 11:09 alex
-
- * Tests/CMakeTests/: FindBaseTest.cmake.in, ToolchainTest.cmake.in:
- BUG: correct quoting in the tests so that the new tests pass
-
- Alex
-
-2007-05-17 10:53 king
-
- * Source/cmGlobalBorlandMakefileGenerator.cxx,
- Source/cmGlobalMinGWMakefileGenerator.cxx,
- Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalUnixMakefileGenerator3.h,
- Tests/CustomCommand/CMakeLists.txt: ENH: Added testing for custom
- command line arguments containing all special characters on the
- US keyboard. Fixed curly brace arguments on borland and %
- arguments in mingw32-make.
-
-2007-05-17 10:53 king
-
- * Source/kwsys/: System.c, System.h.in: ENH: Added more special
- unix shell characters that require quoting. Added escaping of %
- as %% for shells inside mingw32-make.
-
-2007-05-17 10:24 alex
-
- * Modules/CMakeCCompiler.cmake.in, Modules/CMakeCCompilerId.c,
- Modules/CMakeCInformation.cmake,
- Modules/CMakeCXXCompiler.cmake.in,
- Modules/CMakeCXXCompilerId.cpp,
- Modules/CMakeCXXInformation.cmake,
- Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakeDetermineCompilerId.cmake,
- Modules/CMakeDetermineFortranCompiler.cmake,
- Modules/CMakeDetermineSystem.cmake,
- Modules/CMakeFindBinUtils.cmake,
- Modules/CMakeFortranCompiler.cmake.in,
- Modules/CMakeFortranInformation.cmake,
- Modules/CMakeGenericSystem.cmake,
- Modules/CMakeSystemSpecificInformation.cmake,
- Modules/CPack.cmake, Modules/CTest.cmake, Modules/Dart.cmake,
- Modules/DartConfiguration.tcl.in, Modules/Platform/Darwin.cmake,
- Modules/Platform/Linux.cmake, Modules/Platform/Windows-cl.cmake,
- Modules/Platform/cl.cmake, Source/CMakeLists.txt,
- Source/cmBootstrapCommands.cxx, Source/cmCommands.cxx,
- Source/cmCustomCommand.h, Source/cmFindBase.cxx,
- Source/cmFindBase.h, Source/cmGlobalGenerator.cxx,
- Source/cmGlobalGenerator.h,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmGlobalUnixMakefileGenerator3.h,
- Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalWatcomWMakeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.h, Source/cmIncludeCommand.cxx,
- Source/cmIncludeCommand.h, Source/cmListFileCache.h,
- Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalUnixMakefileGenerator3.h,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio6Generator.h,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Source/cmLocalVisualStudioGenerator.cxx,
- Source/cmLocalVisualStudioGenerator.h, Source/cmMakefile.cxx,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.h,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.h,
- Source/cmMakefileUtilityTargetGenerator.cxx, Source/cmTarget.cxx,
- Source/cmTarget.h, Source/cmTryRunCommand.cxx,
- Source/cmTryRunCommand.h, Source/cmVersion.cxx,
- Source/CPack/cmCPackGenericGenerator.cxx,
- Source/CTest/cmCTestTestHandler.cxx, Source/kwsys/ProcessUNIX.c,
- Source/kwsys/System.c, Templates/DLLHeader.dsptemplate,
- Templates/EXEHeader.dsptemplate,
- Templates/EXEWinHeader.dsptemplate,
- Templates/UtilityHeader.dsptemplate,
- Templates/staticLibHeader.dsptemplate,
- Tests/CMakeTests/CMakeLists.txt,
- Tests/CMakeTests/DummyToolchain.cmake,
- Tests/CMakeTests/FindBaseTest.cmake.in,
- Tests/CMakeTests/IncludeTest.cmake.in,
- Tests/CMakeTests/ToolchainTest.cmake.in,
- Tests/CMakeTests/include/cmake_i_do_not_exist_in_the_system.h:
- ENH: merge changes from HEAD into the branch -change INCLUDE(file
- [OPTIONAL] [VAR]) to INCLUDE(file [OPTIONAL] [RESULT_VARIABLE
- VAR]) -add tests for INCLUDE(), CMAKE_TOOLCHAIN_FILE and
- FIND_XXX() -keep the stripping in CPack for now -support a MS
- toolchain suffix
-
- Alex
-
-2007-05-17 10:07 hoffman
-
- * Modules/: CMakeCCompilerId.c, CMakeCXXCompilerId.cpp,
- CMakeDetermineCompilerId.cmake: ENH: fix up compiler id to be
- more robust
-
-2007-05-17 08:38 hoffman
-
- * Modules/CMakeCXXCompilerId.cpp: BUG: make sure this thing
- compiles on 64 bit machines
-
-2007-05-17 07:27 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-16 19:59 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-16 16:19 king
-
- * Source/kwsys/System.c: BUG: Shell escaping needs to write % as %%
- for VS IDE.
-
-2007-05-16 13:26 king
-
- * Modules/Platform/Windows-wcl386.cmake: ENH: Enabled preprocessor
- make rules for Watcom.
-
-2007-05-16 13:24 king
-
- * Source/: cmGlobalUnixMakefileGenerator3.h,
- cmGlobalWatcomWMakeGenerator.cxx,
- cmLocalUnixMakefileGenerator3.cxx, cmMakefileTargetGenerator.cxx:
- BUG: Watcom WMake needs empty rule commands even for symbolic
- targets. This fixes the cmake_force target.
-
-2007-05-16 13:10 king
-
- * Source/kwsys/ProcessUNIX.c: BUG: Do not send both SIGSTOP and
- SIGKILL when killing a process. The SIGSTOP seems to be able to
- block the SIGKILL occasionally. Also the SIGKILL is sufficient
- since the process table entry will still exist until it is reaped
- with waitpid.
-
-2007-05-16 11:40 king
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/complex.cxx: BUG: Disable test of
- feature that is not documented or implemented everywhere.
-
-2007-05-16 10:36 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-16 09:07 king
-
- * Source/cmLocalGenerator.cxx: BUG: Do not emit /usr/lib32 or
- /usr/lib64 as linker paths. Submitted by David Faure.
-
-2007-05-16 07:56 andy
-
- * Tests/BuildDepends/Project/CMakeLists.txt: BUG: check in the rest
- of the changes to move from c to cxx
-
-2007-05-16 07:54 andy
-
- * Tests/BuildDepends/: CMakeLists.txt, Project/bar.c,
- Project/bar.cxx: BUG: fix test for hp move to c++ to avoid ansi
- issues and produce a message if the compile fails, (really
- checked in by Bill H.)
-
-2007-05-15 16:55 alex
-
- * Modules/Platform/Windows-cl.cmake: BUG: let INCLUDE() actually
- find cl.cmake
-
- Alex
-
-2007-05-15 16:53 alex
-
- * Modules/Platform/: Windows-cl.cmake, cl.cmake:
- ENH: create a separate cl.cmake as preparation for supporting the
- cross-compiling cl's
-
- Alex
-
-2007-05-15 16:06 alex
-
- * Source/cmTarget.cxx:
- BUG: fix segfault when trying to get the object file for a
- sourcefile in an unknown language via GET_TARGET_PROPERTY(), as
- reported by Trevor Kellaway
-
- Alex
-
-2007-05-15 13:30 alex
-
- * Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakeFindBinUtils.cmake,
- Modules/CMakeGenericSystem.cmake,
- Modules/Platform/Windows-cl.cmake, Modules/Platform/gcc.cmake,
- Source/cmIncludeCommand.cxx, Source/cmIncludeCommand.h,
- Source/cmInstallTargetGenerator.cxx, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h:
- ENH: some adjustments as suggested by Brad: only check for the
- various "binutils" on the respective platform, hardcode the strip
- command, make the return variable of include() available also
- without OPTIONAL, honor DESTDIR for strip and ranlib -use
- FIND_PROGRAM(CMAKE_LINKER link) for the MSVC linker
-
- Alex
-
-2007-05-15 10:23 king
-
- * Modules/: CTest.cmake, Dart.cmake: STYLE: Added basic usage
- documentation.
-
-2007-05-15 03:59 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-14 17:02 alex
-
- * Source/: cmFileCommand.cxx, cmInstallTargetGenerator.cxx,
- cmInstallTargetGenerator.h:
- ENH: move ranlib handling on _APPLE_CC_ from the file command to
- the InstallTargetGenerator
-
- Alex
-
-2007-05-14 16:28 alex
-
- * CMakeLists.txt, Modules/CMakeGenericSystem.cmake,
- Modules/CPack.cmake, Modules/Platform/gcc.cmake,
- Source/cmGlobalGenerator.cxx,
- Source/cmInstallTargetGenerator.cxx,
- Source/cmInstallTargetGenerator.h, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/CPack/cmCPackGenericGenerator.cxx:
- ENH: move stripping from cpack to cmake/install time, fully
- configurable via the CMAKE_STRIP_FILE rule, currently only
- implemented for the GNU toolchain. Now cpack should work also
- for cross compiling (since it doesn't have to know the executable
- suffix anymore).
-
- stripping can be enabled/disabled via the cache variable
- CMAKE_INSTALL_DO_STRIP.
-
- Even if this is disabled, the cmake_install.cmake files still
- contain the strip rules, so by running cmake
- -DCMAKE_INSTALL_DO_STRIP=1 cmake_install.cmake you can install
- with stripping also in this case.
-
- Alex
-
-2007-05-14 13:46 alex
-
- * Source/: cmFileCommand.cxx, cmFileCommand.h:
- STYLE: split the HandleInstallCommand() into shorter functions
- (which are still quite long)
-
- Alex
-
-2007-05-14 11:23 alex
-
- * Source/: cmGlobalXCodeGenerator.cxx,
- cmLocalVisualStudio6Generator.cxx, cmTarget.cxx:
- STYLE: fix line lengths
-
- Alex
-
-2007-05-14 11:07 alex
-
- * Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakeDetermineFortranCompiler.cmake,
- Modules/CMakeFindBinUtils.cmake, Modules/CMakeLists.txt,
- Source/cmInstallTargetGenerator.cxx:
- ENH: -added new CMakeFindBinUtils.cmake to have less code
- duplication in CMakeDetermineC/C++?FortranCompiler.cmake, -added
- CMAKE_INSTALL_NAME_TOOL variable, only run install_name_tool
- handling if this was found
-
- Alex
-
-2007-05-14 09:46 alex
-
- * Source/CTest/: cmCTestTestHandler.cxx, cmCTestTestHandler.h:
- ENH: use GetCTestConfiguration("ExecutableSuffix") instead
- instead of cmSystemTools::GetExecutableExtension() -rmove the
- unused TryExecutable()
-
- Alex
-
-2007-05-14 08:59 martink
-
- * Tests/CMakeLists.txt: ENH: revert back to SUBDIRS so that CMake
- can be built with 2.2
-
-2007-05-14 08:33 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-13 10:59 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-13 09:11 hoffman
-
- * CMakeLists.txt: ENH: revert to SUBDIRS to make sure cmake can be
- built with 2.2
-
-2007-05-13 07:16 king
-
- * CMakeLists.txt, Source/cmBootstrapCommands.cxx,
- Source/cmCommands.cxx: COMP: Need CMake 2.4 or a bootstrap cmake
- that has ADD_SUBDIRECTORY to build.
-
-2007-05-12 02:58 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-11 16:25 alex
-
- * Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakeDetermineSystem.cmake, Source/cmFindBase.cxx,
- Source/cmIncludeCommand.cxx, Source/cmMakefile.cxx,
- Source/cmMakefile.h:
- ENH: -search CMAKE_TOOLCHAIN_FILE at first relative to the
- CMAKE_BINARY_DIR -if in CMAKE_C_COMPILER only the basename of the
- compiler without path was given then find the path
- -CMAKE_FIND_PREFIX can now be a list of directories -via
- CMAKE_PROGRAM_FIND_PREFIX_MODE, CMAKE_LIBRARY_FIND_PREFIX_MODE
- and CMAKE_INCLUDE_FIND_PREFIX_MODE the default behaviour for
- these 3 types can be adjusted: *at first the directories with the
- prefixes, then without prefixes (default, unset) *only the
- prefixes (useful for libs and headers, "ONLY") *only without the
- prefixes (useful for programs, "NEVER")
-
- Alex
-
-2007-05-11 14:03 alex
-
- * Source/: cmListFileCache.h, cmTryRunCommand.cxx,
- cmUtilitySourceCommand.cxx:
- BUG: same as HEAD: use a std::string instead a const char* for
- storing the filename
-
- ENH: use CMAKE_EXECUTABLE_SUFFIX() in try_run and utility_source,
- although usually they won't be able to run the executables (but
- IMO they shouldn't complain they can't find the executables)
-
- ENH: try_run now fails with "cant run executables if used with
- this toolchain" if used with a user defined toolchain which
- didn't reset the CMAKE_ALIEN_EXECUTABLES flag
-
- Alex
-
-2007-05-11 13:52 king
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- BUG: Fixed generation of XCODE_DEPEND_HELPER.make into proper
- directory. Cleaned up duplicate code created by recent changes.
-
-2007-05-11 13:46 alex
-
- * Modules/CTest.cmake, Modules/DartConfiguration.tcl.in,
- Source/CPack/cmCPackGenericGenerator.cxx,
- Source/CTest/cmCTestTestHandler.cxx:
- ENH: allow it to set UPDATE_TYPE via CTEST_UPDATE_TYPE from
- CTestConfig.cmake -add EXECUTABLE_SUFFIX to DartConfig.tcl so it
- can be used in ctest -use CPACK_EXECUTABLE_SUFFIX for cpack
- (strip, which doesn't work because of the install dir)
-
- Alex
-
-2007-05-11 13:06 alex
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake,
- CMakeSystemSpecificInformation.cmake, CPack.cmake:
- ENH: also use the target platform strip and executable suffix in
- cpack use the new include() parameter to handle both full-path
- and module-name-only SYSTEM_INFO files
-
- Alex
-
-2007-05-11 12:17 martink
-
- * CMakeLists.txt, Tests/CMakeLists.txt: ENH: minor fixes
-
-2007-05-11 11:55 alex
-
- * Source/: cmIncludeCommand.cxx, cmIncludeCommand.h:
- ENH: if OPTIONAL is used, give the user a way to check whether
- the file was included or not (by setting a variable to the full
- path or NOTFOUND) Additionally now fail if a second argument is
- used and this is not "OPTIONAL"
-
- Alex
-
-2007-05-11 10:34 alex
-
- * Modules/: CMakeDetermineSystem.cmake, CMakeSystem.cmake.in,
- CMakeSystemSpecificInformation.cmake, CheckTypeSize.cmake:
- ENH: only check for the type size if it hasn't already been set,
- put a bit more information in the CMakeSystemInformation.cmake
- file if it has been used with a toolchain file, use the file
- given in the toolchain file as CMake_SYSTEM_INFO_FILE
-
- Alex
-
-2007-05-11 10:22 martink
-
- * CMakeLists.txt, Tests/CMakeLists.txt, Tests/COnly/CMakeLists.txt,
- Tests/CxxOnly/CMakeLists.txt, Tests/MathTest/CMakeLists.txt,
- Tests/NewlineArgs/CMakeLists.txt, Tests/ObjC++/CMakeLists.txt,
- Tests/PreOrder/CMakeLists.txt, Tests/SetLang/CMakeLists.txt,
- Tests/Simple/CMakeLists.txt,
- Tests/SystemInformation/CMakeLists.txt,
- Tests/TarTest/CMakeLists.txt: ENH: some more CMakeList cleanups
-
-2007-05-11 09:02 martink
-
- * CMakeLists.txt, Source/CMakeLists.txt, Tests/CMakeLists.txt: ENH:
- more cleanup of some CMakeLists files
-
-2007-05-11 08:36 alex
-
- * Source/cmListFileCache.h:
- BUG: const char* FilePath could point to a non-existent
- std::string for commands used in a macro, using a std::string
- instead copies the contents so this works (correct error message)
-
- Alex
-
-2007-05-11 08:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-10 15:18 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-10 15:13 hoffman
-
- * Utilities/: CMakeLists.txt, KWStyle/CMake.kws.xml.in,
- KWStyle/CMakeFiles.txt.in, KWStyle/CMakeLists.txt,
- KWStyle/CMakeOverwrite.txt, KWStyle/Headers/CMakeHeader.h: ENH:
- add KWStyle support
-
-2007-05-10 14:43 hoffman
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: BUG: fix -D escaped quotes for
- watcom
-
-2007-05-10 14:08 martink
-
- * CMakeCPack.cmake, CMakeLists.txt, CompileFlags.cmake: ENH: start
- trying to cleanup CMakeLists files
-
-2007-05-10 13:03 alex
-
- * Source/: cmTarget.cxx, cmTarget.h:
- ENH: return the default location for imported targets if the
- config-dependent locations are not set
-
- Alex
-
-2007-05-10 11:41 alex
-
- * Source/: cmAddDependenciesCommand.cxx,
- cmAddExecutableCommand.cxx, cmGetTargetPropertyCommand.cxx,
- cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio8Generator.cxx,
- cmGlobalVisualStudioGenerator.cxx, cmGlobalXCodeGenerator.cxx,
- cmIncludeExternalMSProjectCommand.cxx, cmInstallCommand.cxx,
- cmInstallFilesCommand.cxx, cmInstallTargetGenerator.cxx,
- cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio6Generator.h,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h, cmMakefile.cxx, cmMakefile.h,
- cmMakefileTargetGenerator.cxx, cmSetTargetPropertiesCommand.cxx,
- cmTarget.cxx, cmTarget.h:
- ENH: first try at "importing" targets (from other build trees),
- now done using a separate container for the imported targets -as
- in HEAD: move TraceVSDependencies() to one central place,
- GlobalGenerator::Generate()
-
- Alex
-
-2007-05-10 11:38 alex
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h,
- cmLocalVisualStudio7Generator.cxx, cmTarget.cxx:
- STYLE: fix line length
-
- Alex
-
-2007-05-10 11:16 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: make sure escaping is
- done for strings on the command line
-
-2007-05-10 10:31 hoffman
-
- * Source/CMakeLists.txt: ENH: add test for a simple depend test,
- does an exe re-link if a library that it uses changes
-
-2007-05-10 10:05 hoffman
-
- * Tests/BuildDepends/: CMakeLists.txt, Project/bar.c: ENH: add test
- for build depends
-
-2007-05-10 10:05 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: fix for move of trace
- depends
-
-2007-05-09 15:10 hoffman
-
- * Tests/BuildDepends/: CMakeLists.txt, Project/CMakeLists.txt,
- Project/bar.c: ENH: add a test to make sure Xcode does not break
- again
-
-2007-05-09 14:41 alex
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmLocalGenerator.h, cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio6Generator.h,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h:
- BUG: fix problem for non-C/CXX languages with Visual Studio, the
- dependencies for the custom commands added for java were not
- handled correctly. Needs more work.
-
- Alex
-
-2007-05-09 11:44 alex
-
- * Source/: cmAddExecutableCommand.cxx,
- cmGlobalUnixMakefileGenerator3.cxx,
- cmIncludeExternalMSProjectCommand.cxx,
- cmLocalUnixMakefileGenerator3.cxx, cmMakefile.cxx, cmMakefile.h,
- cmMakefileTargetGenerator.cxx, cmTarget.cxx, cmTarget.h:
- ENH: initial try for support for "importing" targets into cmake,
- so e.g. the support for libs in release- and debug mode can be
- done much better and importeed executable targets can be used in
- custom commands (-> cross compiling)
-
- Alex
-
-2007-05-09 10:28 andy
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: fix for older xcode and
- framework create
-
-2007-05-09 10:18 king
-
- * Source/cmLocalVisualStudio7Generator.cxx,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/complex.cxx: BUG: Fixed
- cmLocalVisualStudio7Generator to deal with quotes in macro
- definitions properly. This addresses bug#4983.
-
-2007-05-09 09:35 alex
-
- * Source/: cmTarget.cxx, cmTarget.h:
- STYLE: functions use upper case for the first letter
-
- Alex
-
-2007-05-09 09:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-09 08:25 alex
-
- * Source/cmCustomCommand.h, Source/cmGlobalGenerator.cxx,
- Source/cmGlobalGenerator.h,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalXCodeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.h, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio6Generator.h,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Source/cmLocalVisualStudioGenerator.cxx,
- Source/cmLocalVisualStudioGenerator.h, Source/cmMakefile.cxx,
- Source/cmTarget.cxx, Source/cmTarget.h,
- Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate,
- Templates/EXEWinHeader.dsptemplate,
- Templates/UtilityHeader.dsptemplate,
- Templates/staticLibHeader.dsptemplate,
- Tests/CustomCommand/CMakeLists.txt, Tests/CustomCommand/main.cxx,
- Tests/CustomCommand/GeneratorInExtraDir/CMakeLists.txt:
- ENH: now target names can be used in add_custom_command() and
- add_custom_target() as COMMAND, and cmake will recognize them and
- replace them with the actual output path of these executables.
- Also the dependency will be added automatically. Test included.
- ENH: moved TraceVSDependencies() to the end of
- GlobalGenerator::Configure(), so it is done now in one central
- place
-
- Alex
-
-2007-05-08 16:58 alex
-
- * Tests/CustomCommand/: CMakeLists.txt,
- GeneratorInExtraDir/CMakeLists.txt:
- ENH: also test if the dependency to a target works with POSTBUILD
-
- Alex
-
-2007-05-08 16:37 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: getting closer
-
-2007-05-08 15:49 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: add initial xcode
- framework stuff
-
-2007-05-08 15:29 alex
-
- * Source/cmLocalVisualStudio7Generator.cxx: COMP: a closing brace
- was missing
-
- Alex
-
-2007-05-08 14:47 alex
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx, cmGlobalXCodeGenerator.cxx,
- cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx:
- ENH: move TraceVSDependencies() from every generator to the end
- of GlobalGenerator::Configure(), removes some code duplication
- and makes it easier to add support for "importing" targets
-
- Alex
-
-2007-05-08 14:28 alex
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmGlobalGenerator.cxx, cmGlobalVisualStudio7Generator.cxx,
- cmGlobalXCodeGenerator.cxx:
- STYLE: standard for-loop-initialization in the MSVC generator,
- one level less deep if-statement in XCode generator, one level
- less deep function call in the global generator -> makes it
- easier to understand IMO
-
- Alex
-
-2007-05-08 14:10 alex
-
- * Source/cmTarget.h:
- STYLE: GetName() is const, comment updated
-
- Alex
-
-2007-05-08 12:43 hoffman
-
- * Tests/Framework/: bar.cxx, foo.cxx: ENH: make it work on non
- windows
-
-2007-05-08 11:53 hoffman
-
- * Source/cmLocalGenerator.cxx, Tests/Framework/CMakeLists.txt,
- Tests/Framework/bar.cxx, Tests/Framework/foo.cxx: ENH: fix it so
- that the FRAMEWORK property does not break the building of normal
- shared libs on non-mac platforms
-
-2007-05-08 11:31 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-08 10:58 hoffman
-
- * Source/CMakeLists.txt, Tests/Framework/CMakeLists.txt,
- Tests/Framework/bar.cxx, Tests/Framework/foo.cxx,
- Tests/Framework/foo.h, Tests/Framework/foo2.h: ENH: add a very
- simple framework test
-
-2007-05-08 10:32 hoffman
-
- * Modules/MacOSXFrameworkInfo.plist.in,
- Modules/Platform/Darwin.cmake, Source/cmLocalGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.h, Source/cmTarget.cxx:
- ENH: initial support for creation of frameworks on Mac
-
-2007-05-08 10:05 alex
-
- * Source/: cmMakefile.cxx, cmTarget.cxx:
- ENH: also detect targetnames-used-as-commands for
- PREBUILD/PRELINK/POSTBUILD custom commands
-
- Alex
-
-2007-05-07 18:17 king
-
- * Modules/Platform/Linux.cmake: BUG: Detect debian with existence
- of /etc/debian_version so things work in a chroot install. This
- is suggested in bug#4805.
-
-2007-05-07 14:50 alex
-
- * Tests/CustomCommand/: CMakeLists.txt,
- GeneratorInExtraDir/CMakeLists.txt:
- ENH: also test the automatic dependency. To make it a bit harder
- also use SET_TARGET_PROPERTIES(OUTPUT_NAME) for the generator
- executable
-
- Alex
-
-2007-05-07 14:42 alex
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx, cmTarget.cxx:
- ENH: if a target name is used as command in add_custom_command,
- automatically add the dependency to this target
-
- Alex
-
-2007-05-07 14:27 alex
-
- * Source/cmCustomCommand.h:
- STYLE: IsUsed() is const, semicolons are not required
-
- Alex
-
-2007-05-07 11:43 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-07 09:48 alex
-
- * Tests/CustomCommand/CMakeLists.txt:
- ENH: add test for the target-to-location translation for
- ADD_CUSTOM_TARGET
-
- Alex
-
-2007-05-07 08:48 alex
-
- * Source/cmLocalVisualStudio6Generator.cxx,
- Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate,
- Templates/EXEWinHeader.dsptemplate,
- Templates/UtilityHeader.dsptemplate,
- Templates/staticLibHeader.dsptemplate:
- ENH: also support target-as-command with the MSVC6 generator
-
- Alex
-
-2007-05-06 09:05 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-05 08:58 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-04 17:17 alex
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio6Generator.h:
- ENH: add configName argument to CreateTargetRules so it can
- create the rules correctly for the different configtypes. Has to
- be used for configuring the project file templates.
-
- Alex
-
-2007-05-04 17:09 alex
-
- * Source/cmLocalVisualStudio7Generator.cxx:
- STYLE: remove the commented code, wasn't intended to be committed
-
- Alex
-
-2007-05-04 16:43 alex
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmGlobalXCodeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.h, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio6Generator.h,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Source/cmLocalVisualStudioGenerator.cxx,
- Source/cmLocalVisualStudioGenerator.h, Source/cmTarget.cxx,
- Tests/CustomCommand/CMakeLists.txt, Tests/CustomCommand/main.cxx,
- Tests/CustomCommand/GeneratorInExtraDir/CMakeLists.txt:
- ENH: you can now use the target name of a executable target in
- cmake as command in add_custom_command, it should also honor the
- buildtypes. A testcase in Tests/CustomCommand/ is also coming
- soon. Tested on Linux with Makefiles, OSX with XCode and MSVC 7.
- MSVC 6 and 8 are not tested. Next will be to also automatically
- add the dependencies to this target automatically.
-
- Alex
-
-2007-05-04 14:08 alex
-
- * Source/cmLocalVisualStudio7Generator.cxx: COMP: removed unused
- variable temp
-
- Alex
-
-2007-05-04 09:50 alex
-
- * Source/cmMakefile.cxx:
- COMP: fix warning on VS8: conversion unsigned int -> size_t
-
- Alex
-
-2007-05-03 20:42 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-03 15:25 martink
-
- * Source/cmTryRunCommand.cxx: ENH: look at
- CMAKE_TRY_COMPILE_CONFIGURATION var for TryRun as well
-
-2007-05-03 13:03 king
-
- * Source/kwsys/ProcessUNIX.c, Utilities/cmcurl/url.c: COMP: Fix
- code-not-reached warnings for SunCC.
-
-2007-05-03 08:24 king
-
- * Modules/: CMakeCInformation.cmake, CMakeCXXInformation.cmake,
- CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake,
- CMakeDetermineCompilerId.cmake,
- CMakeDetermineFortranCompiler.cmake,
- CMakeFortranCompiler.cmake.in, CMakeFortranCompilerId.F90,
- CMakeFortranInformation.cmake, Platform/Linux-SunPro-C.cmake,
- Platform/Linux-SunPro-CXX.cmake,
- Platform/Linux-SunPro-Fortran.cmake: ENH: Merging CompilerId
- updates from branch CMake-Modules-CompilerId to the main tree.
- Changes between CMake-Modules-CompilerId-mp1 and
- CMake-Modules-CompilerId-mp2 are included.
-
-2007-05-03 07:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-02 14:13 alex
-
- * Modules/CMakeDetermineCCompiler.cmake:
- BUG: fix typo, use TOOLCHAIN_PREFIX as prefix instead of location
-
- Alex
-
-2007-05-02 11:56 alex
-
- * Modules/: CMakeCCompiler.cmake.in, CMakeCXXCompiler.cmake.in,
- CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake:
- ENH: make it possible to set the object file extension
- independent from the build platform at build time
-
- Alex
-
-2007-05-02 01:09 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-05-01 18:28 king
-
- * Modules/: CMakeDetermineFortranCompiler.cmake,
- CMakeFortranCompiler.cmake.in, CMakeFortranCompilerId.F90,
- CMakeFortranInformation.cmake: ENH: Using
- CMAKE_DETERMINE_COMPILER_ID to determine the Fortran compiler.
- This works only for Fortran90+ compilers that run the
- preprocessor. Otherwise we fall back to the old behavior.
-
-2007-05-01 18:27 king
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake, CMakeDetermineCompilerId.cmake:
- ENH: Added flagvar argument to CMAKE_DETERMINE_COMPILER_ID to
- choose the environment variable from which to get flags. Made
- parsing of INFO blocks robust to having more than one in a single
- string.
-
-2007-05-01 18:26 king
-
- * Modules/: CMakeCInformation.cmake, CMakeCXXInformation.cmake:
- ENH: Added code to load CompilerId version of platform file if it
- exists. Set CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS only if it is
- not already defined.
-
-2007-05-01 18:24 king
-
- * Modules/Platform/: Linux-SunPro-C.cmake, Linux-SunPro-CXX.cmake,
- Linux-SunPro-Fortran.cmake: ENH: Adding platform file for Sun
- Studio Express on Linux.
-
-2007-05-01 18:22 king
-
- * Modules/: CMakeCCompilerId.c, CMakeCXXCompilerId.cpp,
- CMakeDetermineCompilerId.cmake, CMakeLists.txt, FindMPI.cmake,
- Platform/UnixPaths.cmake: ENH: Merging modules changes in range
- CMake-Modules-CompilerId-mp1-post to
- CMake-Modules-CompilerId-trunk-mp1 from trunk to
- CMake-Modules-CompilerId branch.
-
-2007-05-01 17:02 alex
-
- * Source/cmTryRunCommand.h:
- STYLE: fix typo
-
- Alex
-
-2007-05-01 17:00 alex
-
- * Source/cmUtilitySourceCommand.h:
- STYLE: according to Brad this one is ancient and shouldn't be
- used for any new stuff
-
- Alex
-
-2007-05-01 16:37 alex
-
- * Modules/CMakeTestCCompiler.cmake:
- BUG: don't use stdio in the test for a simple executable, for
- some embedded targets/toolchains/platforms this might already be
- too much
-
- Alex
-
-2007-05-01 16:25 alex
-
- * Source/: cmFindBase.cxx, cmFindBase.h:
- ENH: add support for CMAKE_FIND_PREFIX, for prepending a prefix
- before all directories searched by FIND_XXX(), useful for
- defining a different root directory for the base directory of the
- target platform
-
- Alex
-
-2007-05-01 14:35 king
-
- * Modules/: CMakeCCompilerId.c, CMakeCXXCompilerId.cpp: ENH:
- Changed GNUC compiler id name to GNU.
-
-2007-05-01 14:23 alex
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake:
- ENH: add two new variables: CMAKE_TOOLCHAIN_PREFIX: will be
- prepended to gcc, ar, g++, cc, c++ and ranlib if defined (gives
- e.g. arm-elf-gcc etc.) CMAKE_TOOLCHAIN_LOCATION: if defined, the
- compilers will be searched only there, the other tools at first
- there, after that in other locations
-
- If not already defined, both of them will be set by
- CMakeDetermineXXXCompiler.cmake and used by the other one. If
- mixing the environment variable CC/CXX and these variables this
- can give weird mixtures.
-
- change order of compiler names for CXX: from c++, g++ to g++, c++
- (same order as for C)
-
- Alex
-
-2007-05-01 14:12 king
-
- * Tests/CustomCommand/: CMakeLists.txt, check_mark.cmake: ENH:
- Added test to make sure custom commands are not built more than
- once in a single build. This tests for a bug introduced by one
- fix and fixed by another fix for bug#4377.
-
-2007-05-01 13:51 king
-
- * Source/: cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h,
- cmMakefileUtilityTargetGenerator.cxx: BUG: A utility target
- should not run the custom commands from its source files
- directly. The target-level rule must add dependencies on the
- file-level custom commands to drive them. This bug was
- introduced by the "fix" to bug 4377. This also restores the
- documented behavior that PRE_BUILD rules are treated as PRE_LINK
- rules on non-VS generators. Also fixed custom command
- dependencies on the rule file build.make so that custom commands
- re-run when the commands themselves change.
-
-2007-05-01 13:13 alex
-
- * Modules/CMakeDetermineSystem.cmake:
- STYLE: the second check for uname wasn't intended to be committed
-
- Alex
-
-2007-05-01 13:11 alex
-
- * Modules/CMakeDetermineSystem.cmake:
- ENH: new variable CMAKE_TOOLCHAIN_FILE which can be used to
- specify a cmake file which will be loaded even before cmake tries
- to detect the system, so people can set e.g. CMAKE_SYSTEM to the
- value for their target platform. Only detect CMAKE_SYSTEM if it
- isn't set yet.
-
- Alex
-
-2007-05-01 13:07 alex
-
- * Modules/: CMakeCInformation.cmake, CMakeCXXInformation.cmake:
- ENH: use CMAKE_SYSTEM_AND_C[XX]_COMPILER_INFO_FILE for loading
- the file info file, but don't overwrite it if it has already been
- specified. This is needed for cross compiling so people can
- explicitely say which file to use depending on their target
- platform
-
- Alex
-
-2007-05-01 11:46 alex
-
- * Source/cmMakefile.cxx:
- BUG: fix cmake listfile stack: if a file could not be opened,
- remove it from the stack (usually CMakeCInformation.cmake and
- CMakeCXXInformation.cmake which both put Linux-gcc.cmake on the
- stack without removing it again: INCLUDE(... OPTIONAL) ) STYLE:
- better readable output formatting of the listfile stack, now in
- the same order as in gdb or with include files
-
- Alex
-
-2007-05-01 04:20 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-30 18:10 king
-
- * Modules/CMakeCXXCompilerId.cpp: STYLE: Added comment explaining
- choice of file extension.
-
-2007-04-30 18:09 king
-
- * Modules/CMakeLists.txt: BUG: Need to install
- CMakeCXXCompilerId.cpp so that C++ compiler identification works
- in an install tree.
-
-2007-04-30 17:05 alex
-
- * Modules/CMakeDetermineCompilerId.cmake:
- STYLE: comment which says which variables this macro sets
-
- Alex
-
-2007-04-30 17:03 alex
-
- * Modules/FindMPI.cmake:
- STYLE: use the newer FIND_XXX syntax, which should find MPI in
- even more directories and doesn't require to list standard
- directories like /usr/lib, etc.
-
- Alex
-
-2007-04-30 16:05 alex
-
- * Modules/CMakeLists.txt:
- BUG: also install CMakePlatformId.h, otherwise the check for the
- compiler id works only when building cmake itself, but not with
- an installed cmake
-
- Alex
-
-2007-04-30 10:57 alex
-
- * Modules/Platform/UnixPaths.cmake:
- BUG: if /opt/lib and /opt/csw/lib are searched for libs, then
- /opt/include and /opt/csw/include should also be searched for
- headers (according to google they also exist)
-
- Alex
-
-2007-04-29 23:33 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-29 03:05 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-28 12:35 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-28 09:35 king
-
- * Modules/: CMakeCCompiler.cmake.in, CMakeCCompilerId.c,
- CMakeCXXCompiler.cmake.in, CMakeCXXCompilerId.cpp,
- CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake,
- CMakeDetermineCompilerId.cmake, CMakePlatformId.h: ENH: Merging
- CompilerId implementation from branch CMake-Modules-CompilerId to
- the main tree. Changes between CMake-Modules-CompilerId-bp and
- CMake-Modules-CompilerId-mp1 are included.
-
-2007-04-28 08:25 king
-
- * Source/CTest/cmCTestCoverageHandler.cxx: STYLE: Fixed line too
- long.
-
-2007-04-27 10:44 king
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake: ENH: Hard-coded platform for
- Visual Studio generators. Added TODO comment about setting the
- compiler id.
-
-2007-04-27 10:29 king
-
- * Modules/CMakeDetermineCompilerId.cmake: BUG: When passing the
- compiler id source file to the compiler, the native file path
- format should be used on the command line.
-
-2007-04-27 10:26 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-27 10:19 king
-
- * Modules/: CMakeCCompilerId.c, CMakeCXXCompilerId.cpp: ENH: Added
- Watcom compiler identifier.
-
-2007-04-27 09:46 king
-
- * Modules/: CMakeCCompilerId.c, CMakeCXXCompilerId.cpp: BUG: Fixed
- for HP compilers.
-
-2007-04-27 09:20 king
-
- * Modules/CMakeDetermineCompilerId.cmake: BUG: Need to strip all
- text before and after the INFO block because the binary may
- contain string data leading up to the beginning of the strings.
-
-2007-04-27 09:09 king
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake: BUG: Still need to identify
- compiler using command line for Xcode generator.
-
-2007-04-27 09:01 andy
-
- * Source/CTest/cmCTestCoverageHandler.h: STYLE: Add somme comments
-
-2007-04-27 08:57 king
-
- * Modules/: CMakeCCompiler.cmake.in, CMakeCCompilerId.c,
- CMakeCXXCompiler.cmake.in, CMakeCXXCompilerId.cpp,
- CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake,
- CMakeDetermineCompilerId.cmake, CMakePlatformId.h: ENH: Initial
- checkin of CompilerId feature on CMake-Modules-CompilerId branch.
- This helps identify compilers and platforms by actually building
- a source file and using the preprocessor definitions to recognize
- known compilers.
-
-2007-04-26 23:20 andy
-
- * Source/CTest/: cmCTestCoverageHandler.cxx,
- cmCTestCoverageHandler.h: ENH: Initial attempt to do python
- coverage. Hopefully will not break coverage on GCov
-
-2007-04-26 21:50 andy
-
- * Source/cmStringCommand.cxx, Source/cmStringCommand.h,
- Tests/StringFileTest/CMakeLists.txt: ENH: Add STRING STRIP
- command
-
-2007-04-26 09:56 king
-
- * Source/cmFileCommand.cxx: COMP: Avoid warning.
-
-2007-04-26 07:58 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-25 17:48 king
-
- * Source/cmStringCommand.h: STYLE: Fixed line-too-long.
-
-2007-04-25 17:22 king
-
- * Source/cmFileCommand.cxx, Source/cmFileCommand.h,
- Tests/StringFileTest/CMakeLists.txt: ENH: Added FILE(STRINGS)
- command.
-
-2007-04-25 16:22 alex
-
- * Modules/CMakeDetermineCXXCompiler.cmake:
- STYLE: fix typo "CCC" -> "CC", add comments which variables it
- sets
-
- Alex
-
-2007-04-25 05:01 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-24 14:03 hoffman
-
- * Source/cmEnableLanguageCommand.h: ENH: fix docs
-
-2007-04-24 12:30 hoffman
-
- * Source/cmGlobalGenerator.cxx: ENH: fix seg fault in ccmake when
- hitting configure twice
-
-2007-04-24 01:52 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-23 16:48 king
-
- * Source/cmStringCommand.cxx: COMP: Added missing include for time.
-
-2007-04-23 11:04 martink
-
- * Source/: cmStringCommand.cxx, cmStringCommand.h: ENH: Add command
- to generate random strings
-
-2007-04-22 23:55 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-21 18:37 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-20 11:53 king
-
- * Source/kwsys/kwsysPlatformTestsCXX.cxx: COMP: Make sure gcc 2.96
- sstream header is not used.
-
-2007-04-20 09:50 king
-
- * Source/kwsys/kwsys_ios_sstream.h.in: COMP: Added
- istringstream::clear() method to disambiguate the call from using
- string::clear or istrstream::clear.
-
-2007-04-20 09:49 king
-
- * Source/cmLoadCommandCommand.cxx: BUG: Reverting previous change.
- It did not account for the possibility that the loaded command
- was built with a different compiler.
-
-2007-04-20 04:33 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-19 12:56 king
-
- * Source/kwsys/testIOS.cxx: BUG: Need to clear read failure when
- string is reset.
-
-2007-04-19 12:53 king
-
- * Source/kwsys/testIOS.cxx: ENH: Added testing for istringstream
- and stringstream.
-
-2007-04-19 12:44 king
-
- * Source/kwsys/kwsys_stl_string.hxx.in: BUG: Fix stream state on
- successfully reading a string.
-
-2007-04-19 12:12 king
-
- * Source/kwsys/: String.hxx.in, kwsys_ios_sstream.h.in: COMP: Fixes
- for Watcom.
-
-2007-04-19 12:11 king
-
- * Source/kwsys/CMakeLists.txt: COMP: Skip testAutoPtr and
- testHashSTL on Watcom. They are hopeless.
-
-2007-04-19 12:11 king
-
- * Source/kwsys/EncodeExecutable.c: COMP: Need to include header for
- unlink function.
-
-2007-04-19 11:32 king
-
- * Tests/Plugin/src/: example_exe.cxx, example_mod_1.c: ENH: Added
- function call argument to module function to make sure calling
- convention matches on lookup. Fixed for Watcom.
-
-2007-04-19 11:31 king
-
- * Source/kwsys/DynamicLoader.cxx: ENH: Added support for Watcom
- compiler. Added TODO comment about calling conventions.
-
-2007-04-19 11:23 king
-
- * Source/cmLoadCommandCommand.cxx: ENH: Removed code unnecessary
- now that DynamicLoader is implemented better.
-
-2007-04-19 11:21 king
-
- * Source/kwsys/: CMakeLists.txt, kwsys_stl_string.hxx.in: ENH:
- Fixed stl string streaming operators for Watcom.
-
-2007-04-19 04:01 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-18 09:56 king
-
- * Source/cmLocalGenerator.cxx: BUG: Fix ComputeLinkInformation.
- When using a loader_flag link item the full per-configuration
- path should be used. The fullPathLibs returned should refer to
- the import library if it was used. Since the full paths are used
- for dependencies the executable used with loader_flag should be
- returned also.
-
-2007-04-18 04:12 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-18 00:12 king
-
- * Source/CMakeLists.txt: ENH: Plugin test should now work on QNX.
-
-2007-04-18 00:11 king
-
- * Modules/Platform/QNX.cmake: ENH: Add CMAKE_EXE_EXPORTS_C_FLAG and
- CMAKE_EXE_EXPORTS_CXX_FLAG to support executables that export
- symbols.
-
-2007-04-18 00:04 king
-
- * Source/cmLocalGenerator.cxx: BUG: Cannot escape link items
- because some need the spaces to separate arguments. Instead just
- escape the argument to the loader flag.
-
-2007-04-17 23:40 king
-
- * Modules/Platform/: Linux.cmake, FreeBSD.cmake: ENH: Added
- CMAKE_EXE_EXPORTS_C_FLAG and CMAKE_EXE_EXPORTS_CXX_FLAG to
- support executables that export symbols.
-
-2007-04-17 23:39 king
-
- * Source/cmMakefileExecutableTargetGenerator.cxx: ENH: Added
- platform variable CMAKE_EXE_EXPORTS_<lang>_FLAG to add a linker
- flag when building executables that have the ENABLE_EXPORTS
- property set.
-
-2007-04-17 23:27 king
-
- * Tests/Plugin/CMakeLists.txt: COMP: Need to enable ansi C
- features.
-
-2007-04-17 23:16 king
-
- * Source/cmLocalGenerator.cxx: BUG: Fix ComputeLinkInformation for
- non-linked targets. Why is it called for utility targets anyway?
-
-2007-04-17 18:18 king
-
- * Source/CMakeLists.txt, Tests/Plugin/include/example.h: ENH: Fixed
- Plugin test on Cygwin.
-
-2007-04-17 16:42 king
-
- * Source/CMakeLists.txt: BUG: Disable Plugin test on Cygwin until
- it is implemented.
-
-2007-04-17 16:34 king
-
- * Source/CMakeLists.txt: ENH: Re-enabling Plugin test now that it
- should work on MacOSX. I will let it run one night to see what
- platforms are still not implemented. Currently it is not run on
- QNX because it is known to not be implemented there.
-
-2007-04-17 16:19 king
-
- * Modules/Platform/Darwin.cmake: ENH: Added
- CMAKE_SHARED_MODULE_LOADER_C_FLAG and
- CMAKE_SHARED_MODULE_LOADER_CXX_FLAG to support linking plugins to
- executables.
-
-2007-04-17 16:11 king
-
- * Source/cmLocalGenerator.cxx: ENH: Added use of platform variable
- CMAKE_SHARED_MODULE_LOADER_<lang>_FLAG to add a special flag when
- linking a plugin to an executable that loads it.
-
-2007-04-17 15:06 king
-
- * Source/CMakeLists.txt: BUG: Disable Plugin test until it works
- everywhere.
-
-2007-04-17 14:08 king
-
- * Source/CMakeLists.txt: ENH: Added test for executables with
- plugins that use an API exported by the executable itself.
-
-2007-04-17 13:52 king
-
- * Tests/Plugin/: CMakeLists.txt, src/example_exe.cxx,
- src/example_exe.h.in: ENH: Configure location of plugin files so
- that the executable can run with any current working directory.
-
-2007-04-17 13:43 king
-
- * Tests/Plugin/: CMakeLists.txt, include/example.h,
- src/example_exe.cxx, src/example_mod_1.c: ENH: Added test for
- executables with plugins that use an API exported by the
- executable itself.
-
-2007-04-17 04:48 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-16 04:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-15 11:56 andy
-
- * Utilities/cmcurl/Testing/sepheaders.c: ENH: Fix old api
-
-2007-04-15 03:46 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-14 02:53 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-13 10:22 martink
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: ENH: better progress
- for any directory that is a project
-
-2007-04-13 01:06 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-12 15:50 andy
-
- * Source/cmVariableWatchCommand.cxx: STYLE: Fix line lengths
-
-2007-04-12 15:46 martink
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h: ENH: some code consolidation
- and cleanup
-
-2007-04-12 14:21 martink
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: fix progress for
- ENCLUDE_FORM_ALL cases using new project to target map. Only
- fixes it for the top level all target
-
-2007-04-12 10:56 king
-
- * Source/kwsys/ProcessWin32.c: ENH: Added KWSYSPE_DEBUG macro to
- print debugging trace information. Added TODO comment explaining
- why process execution can still hang when a grandchild keeps the
- output pipes open.
-
-2007-04-11 17:22 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-11 15:13 andy
-
- * Source/cmCommands.cxx, Source/cmFindPackageCommand.cxx,
- Source/cmMakefile.cxx, Source/cmVariableWatch.cxx,
- Source/cmVariableWatch.h, Source/cmVariableWatchCommand.cxx,
- Source/cmVariableWatchCommand.h, Source/cmake.cxx,
- Tests/CMakeTests/CMakeLists.txt,
- Tests/CMakeTests/VariableWatchTest.cmake.in: ENH: Add variable
- watch command
-
-2007-04-11 10:00 king
-
- * Source/cmMarkAsAdvancedCommand.cxx: STYLE: Fixed line-too-long.
-
-2007-04-10 21:47 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-10 17:12 utkarsh1
-
- * Utilities/cmcurl/CMakeLists.txt: ENH: Merging branch
- PVEE-ERDC-Setup-4-3-2007 to main tree. Changes between
- PVEE-ERDC-Setup-4-3-2007-bp and PVEE-ERDC-Setup-4-3-2007-mp1 are
- included.
-
-2007-04-10 16:03 king
-
- * Source/cmCacheManager.h: BUG: When a non-cache variable is marked
- as advance do not use the cmMakefile implementation of
- AddCacheDefinition to avoid removing the makefile definition.
-
-2007-04-10 15:55 king
-
- * Source/cmMarkAsAdvancedCommand.cxx: BUG: When a non-cache
- variable is marked as advance do not use the cmMakefile
- implementation of AddCacheDefinition to avoid removing the
- makefile definition.
-
-2007-04-10 14:54 barre
-
- * Modules/Dart.cmake: ENH: this variable overrides all PROJECT_URL.
- Check the dashboard, all projects have the wrong URL in their
- "Home" button. Other variables (like ROLLUP_URL) were moved a
- while ago, for some reasons this one is still here.
-
-2007-04-10 13:09 king
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudioGenerator.cxx,
- cmGlobalVisualStudioGenerator.h: BUG: The ALL_BUILD target should
- not have any command lines so that it is not always considered
- out of date. Moved the 'Build all projects' message into the
- description field instead of an echo in the command field. Moved
- common implementation of Generate for VS6 and VS7 into the
- superclass to avoid duplicate code for the ALL_BUILD target.
- This addresses bug#4556.
-
-2007-04-10 11:26 andy
-
- * Utilities/cmcurl/CMakeLists.txt: ENH: No reason to search for
- UCB. Let me know if anybody still has ucb
-
-2007-04-10 11:22 king
-
- * Modules/Platform/Linux.cmake, Source/cmFileCommand.cxx,
- Source/cmLocalGenerator.cxx: ENH: Added option
- CMAKE_INSTALL_SO_NO_EXE on linux to choose whether the default
- permissions for shared libraries include the executable bit.
- This is necessary to support the conflicting policies of Debian
- and Fedora. These changes address bug#4805.
-
-2007-04-10 09:54 martink
-
- * Source/: cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio8Generator.cxx,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h, cmTarget.cxx: ENH: added
- internal target property for the name of the project file
-
-2007-04-10 08:49 king
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: STYLE: Added comment
- about why dependencies need to be chained to clarify code.
-
-2007-04-10 08:36 king
-
- * Modules/Platform/NetBSD.cmake: ENH: Enabled use of soname and
- therefore versioning symlinks. Patch is from bug#4558.
-
-2007-04-09 21:25 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-08 21:44 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-07 21:23 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-06 21:42 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-05 21:57 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-05 09:19 king
-
- * Source/cmMakefile.cxx: STYLE: Fix line-too-long.
-
-2007-04-04 17:02 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-04 16:28 andy
-
- * Utilities/Doxygen/doxyfile.in: STYLE: Do doxygen for CPack
-
-2007-04-04 15:58 andy
-
- * Modules/CheckCSourceCompiles.cmake: BUG: Revert back to 1.14
-
-2007-04-04 15:57 andy
-
- * Modules/: CheckCSourceCompiles.cmake, CheckCSourceRuns.cmake:
- BUG: Revert back to 1.4
-
-2007-04-04 14:49 king
-
- * Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmGlobalVisualStudio71Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio8Generator.h,
- Source/cmGlobalVisualStudioGenerator.cxx,
- Source/cmGlobalVisualStudioGenerator.h,
- Tests/Dependency/Two/CMakeLists.txt,
- Tests/Dependency/Two/TwoSrc.c,
- Tests/Dependency/Two/TwoCustomSrc.c,
- Tests/Dependency/Two/two-test.h.in: BUG: Fix utility dependencies
- for static libraries in VS generators. This addresses bug#4789.
-
-2007-04-04 13:43 hoffman
-
- * Modules/FindJNI.cmake: BUG: fix for bug 4605
-
-2007-04-04 13:41 andy
-
- * bootstrap: ENH: Fix copyright year
-
-2007-04-04 13:06 andy
-
- * Source/CTest/cmCTestBuildHandler.cxx: COMP: Fix kwstyle
-
-2007-04-04 13:06 andy
-
- * Modules/: CheckCSourceCompiles.cmake, CheckCSourceRuns.cmake:
- COMP: Fix kwstyleSource/CTest/cmCTestBuildHandler.cxx
-
-2007-04-04 12:05 andy
-
- * Source/cmConfigureFileCommand.cxx: BUG: No need for the backward
- compatibility variable warning
-
-2007-04-04 12:05 andy
-
- * Source/cmMakefile.cxx: ENH: Add variable for the current list
- file
-
-2007-04-04 11:22 king
-
- * Source/: CMakeLists.txt, cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio7Generator.h,
- cmGlobalVisualStudioGenerator.cxx,
- cmGlobalVisualStudioGenerator.h: ENH: Added
- cmGlobalVisualStudioGenerator as superclass to all VS global
- generators.
-
-2007-04-03 23:18 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-03 03:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-02 02:44 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-04-01 02:41 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-31 02:45 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-30 10:53 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmLocalGenerator.cxx,
- cmMakefileTargetGenerator.cxx: ENH: make sure default /System
- framework is not added with -F
-
-2007-03-30 02:37 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-29 02:41 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-28 11:06 martink
-
- * Source/CTest/: cmCTestBuildHandler.cxx: BUG: even safer checking
- of return value
-
-2007-03-28 10:58 martink
-
- * Source/CTest/cmCTestBuildHandler.cxx: BUG: fix checking of the
- return value for a build
-
-2007-03-28 02:51 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-27 23:15 king
-
- * Source/cmGlobalXCodeGenerator.cxx: COMP: Restored shared local
- variable removed by previous change.
-
-2007-03-27 23:13 king
-
- * Source/: cmGlobalXCodeGenerator.cxx,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx, cmMakefileTargetGenerator.cxx,
- cmTarget.cxx, cmTarget.h: ENH: Created method
- cmTarget::GetExportMacro to centralize computation of the export
- symbol name. This removes duplicate code from all the
- generators. Also enabled the export definition for executable
- targets with the ENABLE_EXPORTS property set.
-
-2007-03-27 02:45 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-26 02:43 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-25 02:51 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-24 14:12 barre
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: need
- kwsys' Glob in VTK 5.0
-
-2007-03-24 14:04 barre
-
- * Source/kwsys/: CMakeLists.txt, Glob.cxx, Glob.hxx.in: ENH: need
- kwsys' Glob in VTK 5.0
-
-2007-03-24 02:47 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-23 16:33 hoffman
-
- * Source/cmCTest.cxx: BUG: fix problem with new curl_getdate and
- ctest
-
-2007-03-23 02:33 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-22 09:45 king
-
- * Source/cmLocalGenerator.cxx, Source/cmMakefile.cxx,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmTarget.cxx, Modules/Platform/Windows-bcc32.cmake,
- Modules/Platform/Windows-wcl386.cmake: ENH: Added target property
- ENABLE_EXPORTS for executable targets. It enables the
- executables for linking by loadable modules that import symbols
- from the executable. This finishes the executable import library
- support mentioned in bug #4210.
-
-2007-03-22 02:34 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-21 13:49 martink
-
- * Source/CMakeLists.txt: BUG: typo in if test
-
-2007-03-21 07:16 king
-
- * Tests/OutOfSource/OutOfSourceSubdir/: CMakeLists.txt, simple.cxx:
- BUG: Disable deep-source test on Watcom until it can be fixed.
- This is a new feature for other generators anyway.
-
-2007-03-21 02:39 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-20 15:51 hoffman
-
- * Utilities/cmcurl/strequal.c: ENH: second try to fix qnx build
- problem
-
-2007-03-20 15:49 hoffman
-
- * Utilities/cmcurl/strequal.c: ENH: try to fix qnx build problem
-
-2007-03-20 14:52 martink
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: try markign non zero
- return values as warnings for make programs
-
-2007-03-20 14:31 martink
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: try markign non zero
- return values as warnings for make programs
-
-2007-03-20 14:11 martink
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: add another error
- regexp
-
-2007-03-20 13:34 king
-
- * Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt: BUG: Reduce
- long source file name length for WMake.
-
-2007-03-20 12:44 hoffman
-
- * Source/CPack/cmCPackTarCompressGenerator.cxx: BUG: fix coverity
- error, null check after usage fix
-
-2007-03-20 12:32 hoffman
-
- * Modules/Platform/: AIX.cmake, QNX.cmake: ENH: add c++ flag when
- compiling c++ code merge from main tree
-
-2007-03-20 11:52 martink
-
- * Source/cmCTest.cxx: ENH: minor additional error output
-
-2007-03-20 09:51 martink
-
- * Utilities/cmcurl/: CMakeLists.txt, config.h.in,
- Platforms/WindowsCache.cmake: BUG: was not setting HAVE_PROCESS_H
- properly
-
-2007-03-20 09:14 king
-
- * Modules/Platform/Windows-bcc32.cmake: BUG: Disable creation of
- import libraries for executables on Borland until it can be made
- optional. Otherwise all executables get a .lib with the same
- name which is unexpected behavior for users.
-
-2007-03-20 08:16 king
-
- * Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt: BUG: Work
- around VS8 conversion to a relative path for the long source
- name. It takes the nice full path we give it, converts to
- relative, and then repacks relative on top of the build directory
- resulting in a path longer than its own maxpath even though the
- original path given was short enough. Even VS6 dealt with it
- better.
-
-2007-03-20 02:50 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-19 13:04 martink
-
- * Source/: CMakeLists.txt, ctest.cxx,
- CTest/cmCTestBuildAndTestHandler.cxx,
- CTest/cmCTestBuildAndTestHandler.h, CTest/cmCTestTestHandler.cxx,
- CTest/cmCTestTestHandler.h: ENH: support for
- --build-config-sample feature #1022
-
-2007-03-19 10:00 king
-
- * Modules/Platform/CYGWIN.cmake,
- Modules/Platform/Windows-bcc32.cmake,
- Modules/Platform/Windows-cl.cmake,
- Modules/Platform/Windows-gcc.cmake, Source/cmInstallCommand.cxx,
- Source/cmInstallTargetGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmTarget.cxx,
- Source/cmTarget.h, Templates/EXEHeader.dsptemplate: ENH: Added
- support for import libraries created by executable and module
- targets. The module import libraries should never be used but
- some windows compilers always create them for .dll files since
- there is no distinction from shared libraries on that platform.
- The executable import libraries may be used to create modules
- that when loaded bind to symbols from the executables. This is
- an enhancement related to bug#4210 though not requested by it
- explicitly.
-
-2007-03-19 02:35 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-18 16:18 andy
-
- * Utilities/cmcurl/: tftp.c, transfer.c: COMP: Remove some warnings
-
-2007-03-18 02:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-17 13:23 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx: ENH: fix for crash from
- main tree
-
-2007-03-17 13:18 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx: ENH: remove seg fault I
- hope
-
-2007-03-17 00:20 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-16 18:44 king
-
- * Utilities/cmcurl/curl/curl.h: COMP: Do not #include files inside
- extern "C" {} blocks.
-
-2007-03-16 18:05 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Modules/Platform/Windows-bcc32.cmake, Modules/Platform/gcc.cmake,
- Source/CMakeLists.txt, Source/cmFileCommand.h,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmGlobalVisualStudio71Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.h,
- Source/cmGlobalVisualStudio8Generator.cxx,
- Source/cmGlobalVisualStudio8Generator.h,
- Source/cmGlobalVisualStudio8Win64Generator.cxx,
- Source/cmLocalGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Source/cmLocalVisualStudioGenerator.cxx,
- Source/kwsys/SystemTools.cxx,
- Tests/PrecompiledHeader/CMakeLists.txt,
- Tests/PrecompiledHeader/foo1.c, Tests/PrecompiledHeader/foo2.c,
- Tests/PrecompiledHeader/foo_precompile.c,
- Tests/PrecompiledHeader/include/foo.h,
- Tests/PrecompiledHeader/include/foo_precompiled.h,
- Tests/SetLang/CMakeLists.txt, Tests/SetLang/bar.c,
- Tests/SetLang/foo.c: ENH: check in fixes from main tree to create
- 2.4.7 RC 5
-
-2007-03-16 16:48 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Need to include
- relative path top information in directory information so that
- relative path conversion during dependency generation works with
- the same rules as project generation.
-
-2007-03-16 16:28 king
-
- * Source/cmInstallTargetGenerator.cxx: BUG: Use GetExecutableNames
- instead of GetLibraryNames to compute the installation file name
- for executable targets.
-
-2007-03-16 16:04 king
-
- * Source/CTest/cmCTestBuildHandler.cxx: COMP: Fix bad escape
- sequence.
-
-2007-03-16 14:51 andy
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: More regular
- expressions for visual studio 6
-
-2007-03-16 14:28 king
-
- * Utilities/cmcurl/CMakeLists.txt: COMP: Ignore windows sockets on
- cygwin. Remove duplicate source entry.
-
-2007-03-16 10:34 king
-
- * Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt,
- Tests/OutOfSource/OutOfSourceSubdir/simple.cxx,
- Tests/OutOfSource/OutOfSourceSubdir/simple.cxx.in: ENH: Added
- computation of object file names that are almost always short
- enough to not exceed the filesystem path length limitation. This
- is useful when a source file from outside the tree is referenced
- with a long full path. The object file name previously would
- contain the entire path which when combined with the build output
- directory could exceed the filesystem limit. Now CMake
- recognizes this case and replaces enough of the beginning of the
- full path to the source file with an md5sum of the replaced
- portion to make the name fit on disk. This addresses bug#4520.
-
-2007-03-16 09:34 andy
-
- * Utilities/cmcurl/CMake/: CMakeConfigurableFile.in,
- CheckCSourceCompiles.cmake, CheckCSourceRuns.cmake: COMP: Fix
- support for old CMake (2.0 and 2.2)
-
-2007-03-15 17:22 andy
-
- * Utilities/cmcurl/CMake/CheckCSourceRuns.cmake: ENH: Unify with
- the compile one
-
-2007-03-15 15:22 andy
-
- * Utilities/cmcurl/: CMakeLists.txt, amigaos.c, amigaos.h,
- arpa_telnet.h, base64.c, base64.h, config.h.in, connect.c,
- connect.h, content_encoding.c, content_encoding.h, cookie.c,
- cookie.h, curl.copyright, curl_memory.h, curlx.h, dict.c, dict.h,
- easy.c, easyif.h, escape.c, escape.h, file.c, file.h, formdata.c,
- formdata.h, ftp.c, ftp.h, getdate.c, getdate.h, getenv.c,
- getinfo.c, getinfo.h, gtls.c, gtls.h, hash.c, hash.h, hostares.c,
- hostasyn.c, hostip.c, hostip.h, hostip4.c, hostip6.c, hostsyn.c,
- hostthre.c, http.c, http.h, http_chunks.c, http_chunks.h,
- http_digest.c, http_digest.h, http_negotiate.c, http_negotiate.h,
- http_ntlm.c, http_ntlm.h, if2ip.c, if2ip.h, inet_ntoa_r.h,
- inet_ntop.c, inet_ntop.h, inet_pton.c, inet_pton.h, krb4.c,
- krb4.h, ldap.c, ldap.h, llist.c, llist.h, md5.c, md5.h,
- memdebug.c, memdebug.h, memory.h, mprintf.c, multi.c, multiif.h,
- netrc.c, netrc.h, nwlib.c, parsedate.c, parsedate.h, progress.c,
- progress.h, security.c, security.h, select.c, select.h, sendf.c,
- sendf.h, setup.h, setup_once.h, share.c, share.h, sockaddr.h,
- socks.c, socks.h, speedcheck.c, speedcheck.h, splay.c, splay.h,
- ssh.c, ssh.h, sslgen.c, sslgen.h, ssluse.c, ssluse.h, strdup.c,
- strdup.h, strequal.c, strequal.h, strerror.c, strerror.h,
- strtok.c, strtok.h, strtoofft.c, strtoofft.h, telnet.c, telnet.h,
- tftp.c, tftp.h, timeval.c, timeval.h, transfer.c, transfer.h,
- url.c, url.h, urldata.h, version.c,
- CMake/CheckCSourceCompiles.cmake, CMake/CheckCSourceRuns.cmake,
- CMake/OtherTests.cmake, Platforms/WindowsCache.cmake,
- curl/curl.h, curl/curlver.h, curl/easy.h, curl/mprintf.h,
- curl/multi.h, curl/stdcheaders.h: ENH: Update Curl to 7.16.1
-
-2007-03-15 13:48 martink
-
- * Source/cmMakefile.cxx: BUG: change in how set cache overrides
- local definitions. Should mainly be a NOP change for most cases
-
-2007-03-14 21:51 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-14 16:30 king
-
- * CMakeLists.txt: ENH: Enable use of kwsys MD5 implementation.
-
-2007-03-14 16:29 king
-
- * Source/: cmLocalGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx,
- cmLocalVisualStudio7Generator.cxx: BUG: Reverting previous
- changes related to using an empty string for a relative path to
- the current directory. Too many places want the . version.
- Instead we can just convert the . to an empty string in the one
- place that motiviated the original change.
-
-2007-03-14 15:35 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: When the current
- output directory is a link directory we need to reference it with
- the relative path "." instead of an empty relative path.
-
-2007-03-14 15:12 king
-
- * Source/kwsys/: CMakeLists.txt, MD5.c, MD5.h.in, testEncode.c:
- ENH: Added MD5 implementation to KWSys.
-
-2007-03-14 13:36 king
-
- * Source/cmLocalGenerator.cxx: BUG: During relative path conversion
- if the remote and target paths are the same return the empty
- string instead of ".".
-
-2007-03-14 09:34 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: All executable and
- library project types should specify a program database file name
- for all configurations. Even when debug information is not used
- the .pdb file specified is used to construct the name of a .idb
- file that exists for all configurations when building with the VS
- IDE.
-
-2007-03-13 15:18 martink
-
- * Source/: cmAddCustomTargetCommand.cxx, cmCPluginAPI.cxx,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio8Generator.cxx, cmGlobalXCodeGenerator.cxx,
- cmMakefile.cxx, cmMakefile.h: ENH: some more cleanup
-
-2007-03-13 14:23 hoffman
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmMakefile.cxx, cmPropertyMap.cxx, cmTarget.cxx: ENH: add project
- to target map, not used yet, but created
-
-2007-03-13 11:58 king
-
- * Source/cmLocalGenerator.cxx: BUG: Fix check of EXCLUDE_FROM_ALL
- property to use boolean type. This is required for installation
- of subdirectories to work.
-
-2007-03-13 03:57 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-12 23:36 king
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: BUG: Remove spaces from test
- output paths. Not all make tools can handle it. Ths
- SubDirSpaces test is meant for that purpose anyway.
-
-2007-03-12 16:10 martink
-
- * Source/cmake.cxx: ENH: added remove_directory bug 2937
-
-2007-03-12 14:15 king
-
- * Source/cmFileCommand.cxx: BUG: Preserve symlinks during
- installation. This addresses bug#4384.
-
-2007-03-12 13:50 king
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h,
- kwsys/SystemTools.cxx, kwsys/SystemTools.hxx.in: ENH: Added kwsys
- SystemTools::CreateSymlink and SystemTools::ReadSymlink.
-
-2007-03-12 13:30 martink
-
- * Source/cmake.cxx: ENH: typo
-
-2007-03-12 13:28 king
-
- * Tests/PrecompiledHeader/CMakeLists.txt: BUG: Do not use /I mode
- in VS6.
-
-2007-03-12 12:44 king
-
- * Tests/PrecompiledHeader/CMakeLists.txt: BUG: Clean the pch during
- make clean so that the test passes when run more than once.
-
-2007-03-12 12:40 martink
-
- * Source/cmake.cxx: ENH: small enchancement for bug 3776.
-
-2007-03-12 12:35 king
-
- * Source/cmGlobalVisualStudio71Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.h,
- Source/cmGlobalVisualStudio8Generator.cxx,
- Source/cmGlobalVisualStudio8Generator.h,
- Source/cmGlobalVisualStudio8Win64Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Tests/PrecompiledHeader/CMakeLists.txt: BUG: Split precompiled
- header flags into a separate per-global-generator flag map. This
- is needed because the flag mappings differ across VS IDE
- versions. This fixes bug#3512 for VS8 where as the previous fix
- only worked for VS7.
-
-2007-03-12 11:32 martink
-
- * Source/cmGlobalXCodeGenerator.cxx: COMP: XCode fix
-
-2007-03-12 10:26 martink
-
- * Source/: cmAddExecutableCommand.cxx, cmAddLibraryCommand.cxx,
- cmAddSubDirectoryCommand.cxx, cmGlobalGenerator.cxx,
- cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx,
- cmIncludeExternalMSProjectCommand.cxx, cmInstallFilesCommand.cxx,
- cmInstallProgramsCommand.cxx, cmLocalGenerator.cxx,
- cmLocalGenerator.h, cmMakefile.cxx, cmMakefile.h,
- cmSubdirCommand.cxx, cmTarget.h: ENH: some code cleanup
-
-2007-03-12 10:23 king
-
- * Tests/: Complex/CMakeLists.txt, Complex/Executable/complex.cxx,
- ComplexOneConfig/CMakeLists.txt,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/Executable/complex.cxx,
- Complex/Library/CMakeLists.txt,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexRelativePaths/Library/CMakeLists.txt,
- SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt:
- ENH: Testing new target properties RUNTIME_OUTPUT_DIRECTORY,
- LIBRARY_OUTPUT_DIRECTORY, and ARCHIVE_OUTPUT_DIRECTORY. This is
- an incremental fix for bug#2240 and bug#4210.
-
-2007-03-11 01:50 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-10 07:49 king
-
- * Modules/Platform/Windows-wcl386.cmake: BUG: Do not create import
- library for MODULEs. This is an incremental fix for bug#4210.
-
-2007-03-10 07:37 king
-
- * Modules/Platform/Windows-cl.cmake: BUG: Fixed MSVC8 module build
- rule to not use /implib option. This is an incremental fix for
- bug#4210.
-
-2007-03-10 06:56 king
-
- * Source/cmLocalVisualStudio6Generator.cxx: STYLE: Fix
- line-too-long.
-
-2007-03-10 01:31 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-09 17:15 king
-
- * Source/cmLocalGenerator.cxx: BUG: Use real path subdirectory
- check instead of substring comparison to identify when paths are
- below the relative path tops. Otherwise when the build tree is
- next to the source tree with the same name plus a suffix the
- relative path from the binary to source tree is allowed even
- though it goes outside cmake-managed directories.
-
-2007-03-09 16:58 king
-
- * Source/kwsys/auto_ptr.hxx.in: COMP: Fix warning about binding
- reference-to-non-const to an rvalue on VS6. It does not seem to
- be doing the proper auto_ptr_ref conversions. Instead use the
- const_cast work-around on this platform.
-
-2007-03-09 16:27 king
-
- * Source/kwsys/hashtable.hxx.in: COMP: Fixed unreferenced parameter
- warning for VS6 with /W4.
-
-2007-03-09 16:26 king
-
- * Source/cmLocalVisualStudio6Generator.cxx: BUG: Re-enable backward
- compatibility replacements in user-provided VS6 DSP template
- files.
-
-2007-03-09 16:25 king
-
- * Source/cmLocalVisualStudio6Generator.cxx,
- Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate,
- Templates/EXEWinHeader.dsptemplate,
- Templates/UtilityHeader.dsptemplate,
- Templates/staticLibHeader.dsptemplate: ENH: Implemented use of
- cmTarget::GetDirectory() in Visual Studio 6 generator. This is
- an incremental fix for bug#4210.
-
-2007-03-09 15:14 king
-
- * Source/: cmTarget.cxx, cmTarget.h: ENH: Added target properties
- ARCHIVE_OUTPUT_DIRECTORY, LIBRARY_OUTPUT_DIRECTORY, and
- RUNTIME_OUTPUT_DIRECTORY. If set these override
- EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH for a specific
- target. They can be used to distribute target files in the build
- tree with the same granularity that the INSTALL command provides
- for the install tree. This addresses bug#2240 and bug#4210.
-
-2007-03-09 14:50 king
-
- * Source/cmMakefileExecutableTargetGenerator.cxx: BUG: Fixed OSX
- bundles to be built in the directory specified by
- cmTarget::GetDirectory(). This is an incremental step for
- bug#2240.
-
-2007-03-09 13:59 king
-
- * Modules/Platform/Windows-cl.cmake: BUG: Shared library creation
- should use /implib option to specify the name of the import
- library explicitly. This is an incremental step for bug #4210.
-
-2007-03-09 13:56 king
-
- * Source/cmMakefileLibraryTargetGenerator.cxx: ENH: Do not compute
- a path name for the import library if there is no import library.
- This simplifies tracking down problems with trying to create
- import libraries for MODULEs.
-
-2007-03-09 11:35 andy
-
- * CMakeLists.txt: ENH: Prepare for the new curl. Curl is build
- static, so set define to on
-
-2007-03-09 11:35 andy
-
- * Utilities/cmcurl/: CMakeLists.txt, setup.h,
- CMake/OtherTests.cmake, Platforms/WindowsCache.cmake: ENH:
- Several windows fixes
-
-2007-03-09 11:29 king
-
- * Source/: cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h: ENH:
- Added cmMakefileTargetGenerator::GenerateExtraOutput to wrap up
- creation of rules to drive creation of extra outputs generated as
- side effects of another rule. Reimplemented generation of custom
- command multiple output rules to use it. Reimplemented soname
- symlink output dependencies to use it. Now if a symlink is
- deleted the library will be recreated with the symlink.
-
-2007-03-09 11:26 king
-
- * Source/cmMakefileLibraryTargetGenerator.cxx: BUG: Need to account
- for import library directory when constructing the clean rule for
- the import library. This is an incremental fix for bug #4210.
-
-2007-03-09 10:30 king
-
- * Source/cmLocalGenerator.cxx: ENH: Implemented new policy to
- choose the directory part of the object file name. This should
- keep the names looking as nice and short as possible. This
- partially addresses bug#4520.
-
-2007-03-09 09:30 king
-
- * Source/: cmInstallTargetGenerator.cxx, cmLocalGenerator.cxx,
- cmLocalVisualStudio7Generator.cxx,
- cmMakefileLibraryTargetGenerator.cxx, cmTarget.cxx, cmTarget.h:
- ENH: Added implib option to cmTarget::GetDirectory to support a
- separate directory containing the import library. This is an
- incremental step for bug#4210.
-
-2007-03-08 23:56 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-08 15:33 king
-
- * Source/: cmLocalVisualStudio7Generator.cxx,
- cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx, cmTarget.cxx, cmTarget.h: ENH:
- Combined cmTarget::GetDirectory and cmTarget::GetOutputDir since
- they are nearly the same. This is another step for bug#2240.
-
-2007-03-08 15:24 king
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- ENH: Removed unused variables LibraryOutputPath and
- ExecutableOutputPath. Each target is asked for its own output
- directory. This is a step towards bug#2240.
-
-2007-03-08 15:10 king
-
- * Source/cmTarget.cxx: COMP: Fixed enumeration-not-used warning in
- switch.
-
-2007-03-08 14:57 king
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h,
- cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx, cmTarget.cxx, cmTarget.h: ENH:
- Replaced LibraryOutputPath and ExecutableOutputPath variables in
- Makefile and VS generators to instead ask each target for its
- output path. This significantly reduces total code size and
- centralizes previously duplicate code. It is also a step towards
- bug#2240.
-
-2007-03-08 14:15 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: Ask the target for
- its own directory in case of bundle instead of directly using
- ExecutableOutputPath.
-
-2007-03-08 14:11 andy
-
- * Utilities/cmcurl/: CMakeLists.txt, CMake/OtherTests.cmake: ENH:
- Add some missing headers and fix OtherTests.cmake macros
-
-2007-03-08 13:19 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Compute
- HomeRelativeOutputPath following the rules of
- RelativePathTopBinary by going through the Convert() method.
- This supports out-of-binary build trees without using relative
- paths that go outside trees managed by CMake.
-
-2007-03-08 13:13 king
-
- * Source/CMakeLists.txt: ENH: Enable SubDirSpaces test when
- building with bootstrapped cmake.
-
-2007-03-08 13:05 king
-
- * Source/: CMakeLists.txt, cmGlobalBorlandMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: Fixed recursive make call
- target escaping for Borland to support SubDirSpaces test.
-
-2007-03-08 11:49 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: Updated
- GetRecursiveMakeCall to use EscapeForShell instead of MAKEFILE
- conversion. This code is special because it is the only place
- that a make target name is passed on a command line.
-
-2007-03-08 11:49 king
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Added
- ConvertToOutputSlashes method to convert slashes with the same
- policy as ConvertToOutputPath but without escaping.
-
-2007-03-08 11:10 king
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: Removed useless method
- ConvertToMakeTarget and all calls to it. It had a buggy
- implementation that caused it to do nothing.
-
-2007-03-08 10:31 king
-
- * Source/: cmLocalGenerator.cxx,
- cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx: BUG: Some calls to Convert() were
- converting for MAKEFILE but then passing the output to the build
- shell. The calls have now been converted to call Convert() with
- SHELL.
-
-2007-03-08 10:19 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: STYLE: Removed unused
- calls to Convert.
-
-2007-03-08 09:48 king
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: STYLE: Removing
- unused methods ConvertToShellPath and EscapeForUnixShell.
-
-2007-03-08 08:50 andy
-
- * Utilities/cmcurl/: CMakeLists.txt, amigaos.c, amigaos.h,
- arpa_telnet.h, base64.c, base64.h, config.h.in, connect.c,
- connect.h, content_encoding.c, content_encoding.h, cookie.c,
- cookie.h, curl.copyright, curlx.h, dict.c, dict.h, easy.c,
- easyif.h, escape.c, escape.h, file.c, file.h, formdata.c,
- formdata.h, ftp.c, ftp.h, getenv.c, getinfo.c, getinfo.h, gtls.c,
- gtls.h, hash.c, hash.h, hostares.c, hostasyn.c, hostip.c,
- hostip.h, hostip4.c, hostip6.c, hostsyn.c, hostthre.c, http.c,
- http.h, http_chunks.c, http_chunks.h, http_digest.c,
- http_digest.h, http_negotiate.c, http_negotiate.h, http_ntlm.c,
- http_ntlm.h, if2ip.c, if2ip.h, inet_ntoa_r.h, inet_ntop.c,
- inet_ntop.h, inet_pton.c, inet_pton.h, krb4.c, krb4.h, ldap.c,
- ldap.h, llist.c, llist.h, md5.c, md5.h, memdebug.c, memdebug.h,
- memory.h, mprintf.c, multi.c, multiif.h, netrc.c, netrc.h,
- nwlib.c, parsedate.c, parsedate.h, progress.c, progress.h,
- security.c, select.c, select.h, sendf.c, sendf.h, setup.h,
- setup_once.h, share.c, share.h, sockaddr.h, socks.c, socks.h,
- speedcheck.c, speedcheck.h, splay.c, splay.h, ssh.c, ssh.h,
- sslgen.c, sslgen.h, ssluse.c, ssluse.h, strdup.c, strdup.h,
- strequal.c, strequal.h, strerror.c, strerror.h, strtok.c,
- strtok.h, strtoofft.c, strtoofft.h, telnet.c, telnet.h, tftp.c,
- tftp.h, timeval.c, timeval.h, transfer.c, transfer.h, url.c,
- url.h, urldata.h, version.c, CMake/CheckCSourceCompiles.cmake,
- CMake/CheckCSourceRuns.cmake, CMake/OtherTests.cmake,
- curl/curl.h, curl/curlver.h, curl/easy.h, curl/mprintf.h,
- curl/multi.h, curl/stdcheaders.h: ENH: Update to 7.16.1
-
-2007-03-08 08:46 king
-
- * Source/cmIncludeDirectoryCommand.cxx: STYLE: Fix line-too-long.
-
-2007-03-08 08:38 king
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalGenerator.cxx, cmLocalGenerator.h, cmake.cxx: ENH:
- SetupPathConversions is now called automatically on demand.
-
-2007-03-07 22:12 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-07 17:39 king
-
- * Source/cmLocalGenerator.cxx: ENH: Modified
- GetObjectFileNameWithoutTarget to use relative paths for object
- file names with sources above the current directory so long as
- the relative path conversion works.
-
-2007-03-07 17:32 king
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: ENH: Improved
- computation of RelativePathTopSource and RelativePathTopBinary to
- use higher relative path tops when the source directories jump
- around in a tree below the original source top.
-
-2007-03-07 16:35 king
-
- * Source/cmLocalGenerator.cxx: ENH: Set RelativePathTopSource and
- RelativePathTopBinary independently for each local generator.
- Relative path conversion is safe within a tree as long as it does
- not go above the highest parent directory still managed by CMake.
-
-2007-03-07 16:32 king
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmLocalGenerator.h: COMP:
- Fix ConvertToRelativePath change for Xcode generator.
-
-2007-03-07 16:00 king
-
- * Source/kwsys/hashtable.hxx.in: STYLE: Move warning disable pragma
- into push/pop block.
-
-2007-03-07 15:57 king
-
- * Modules/Platform/Windows-cl.cmake,
- Source/cmLocalVisualStudio7Generator.cxx: BUG: Get rid of ancient
- variables CMAKE_CXX_WARNING_LEVEL, CMAKE_CXX_USE_RTTI,
- CMAKE_CXX_STACK_SIZE which are only partially implemented and now
- taken care of by flag mapping anyway.
-
-2007-03-07 15:36 martink
-
- * Modules/UsePkgConfig.cmake: BUG: untested fix for newlines in the
- output of pkg config
-
-2007-03-07 15:30 king
-
- * Source/cmLocalGenerator.cxx: COMP: Add missing include for
- assert.
-
-2007-03-07 15:15 king
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmLocalGenerator.cxx, cmLocalGenerator.h: ENH: Moved
- ConvertToRelativePath from cmGlobalGenerator to cmLocalGenerator.
- This is in preparation for setting up each local generator to
- have its own RelativePathTopSource and RelativePathTopBinary
- based on its ancestor directories.
-
-2007-03-07 13:52 king
-
- * Source/kwsys/: testDynamicLoader.cxx, testSystemTools.cxx: BUG:
- Use angle-brackets to include testSystemTools.h to avoid problems
- with in-source builds.
-
-2007-03-07 13:01 martink
-
- * Source/CMakeLists.txt: BUG: oops bad arg for new test
-
-2007-03-07 11:03 martink
-
- * Source/CMakeLists.txt, Source/cmIncludeDirectoryCommand.cxx,
- Source/cmIncludeDirectoryCommand.h, Source/cmMakefile.cxx,
- Source/cmSeparateArgumentsCommand.cxx,
- Tests/NewlineArgs/CMakeLists.txt: BUG: improve bad argument
- handling for INCLUDE_DIRECTORIES and ADD_DEFINITIONS bug 4364
-
-2007-03-07 09:26 king
-
- * Source/kwsys/: auto_ptr.hxx.in, testAutoPtr.cxx: ENH: Enabled
- support for use_auto_ptr(get_auto_ptr()) syntax on HP compiler.
-
-2007-03-06 21:22 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-06 14:52 martink
-
- * Tests/NewlineArgs/: CMakeLists.txt, cxxonly.cxx, libcxx1.cxx,
- libcxx1.h, libcxx2.h.in: ENH: added a tets for newlines in some
- commands
-
-2007-03-06 10:56 martink
-
- * Source/kwsys/hashtable.hxx.in: COMP: shut up w4 warning
-
-2007-03-06 09:16 andy
-
- * Modules/CPack.STGZ_Header.sh.in: STYLE: Defautl answer for the
- license is no
-
-2007-03-05 21:23 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-05 15:21 martink
-
- * Modules/UseSWIG.cmake: ENH: patch applied for bug 4517
-
-2007-03-05 13:01 king
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx: BUG: Removed legacy
- SetupTests method that was causing RUN_TESTS to test twice.
-
-2007-03-05 10:36 martink
-
- * Source/: cmCommandArgumentParser.cxx, cmDependsFortranParser.cxx,
- cmDependsJavaParser.cxx, cmExprParser.cxx: COMP: shut up warnings
-
-2007-03-05 09:50 martink
-
- * Source/cmTryCompileCommand.cxx: STYLE: long line
-
-2007-03-04 21:31 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-03 23:46 king
-
- * Source/kwsys/testAutoPtr.cxx: COMP: Disable function call with
- function return test for HP until it is implemented.
-
-2007-03-03 21:26 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-03 15:43 king
-
- * Source/kwsys/: CMakeLists.txt, auto_ptr.hxx.in: COMP: All kwsys
- .hxx headers should include Configure.hxx. Re-enabling
- testAutoPtr.
-
-2007-03-03 15:32 king
-
- * Source/kwsys/CMakeLists.txt: COMP: Disable auto_ptr test for now.
-
-2007-03-03 15:05 king
-
- * Source/kwsys/: auto_ptr.hxx.in, testAutoPtr.cxx: ENH: Implemented
- auto_ptr_ref in a way that allows conversion of the pointed-to
- type.
-
-2007-03-03 14:51 king
-
- * Source/kwsys/testAutoPtr.cxx: COMP: Remove one conversion test
- until it is implemented.
-
-2007-03-03 14:48 king
-
- * Source/kwsys/: CMakeLists.txt, auto_ptr.hxx.in, testAutoPtr.cxx:
- ENH: Added test for auto_ptr. Documented aut_ptr template
- implementation.
-
-2007-03-03 12:16 king
-
- * Source/: cmBootstrapCommands.cxx, cmCommands.cxx: BUG:
- cmCreateTestSourceList command is needed at boostrap time because
- KWSys now uses test drivers.
-
-2007-03-03 10:47 king
-
- * Source/: kwsys/CMakeLists.txt,
- kwsys/testCommandLineArguments.cxx,
- kwsys/testCommandLineArguments1.cxx, kwsys/testDynamicLoader.cxx,
- kwsys/testFail.c, kwsys/testHashSTL.cxx, kwsys/testIOS.cxx,
- kwsys/testRegistry.cxx, kwsys/testSystemTools.cxx,
- kwsys/testTerminal.c, CMakeLists.txt: ENH: Cleaned up KWSys tests
- to use test drivers.
-
-2007-03-03 10:09 king
-
- * Modules/Platform/Windows-bcc32.cmake: BUG: Do not create import
- library for MODULEs. The TARGET_IMPLIB name is not set correctly
- for MODULE rules anyway.
-
-2007-03-02 21:12 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-02 14:31 martink
-
- * Source/: cmMakefileUtilityTargetGenerator.cxx,
- cmMakefileUtilityTargetGenerator.h: BUG: fix for build order
-
-2007-03-02 11:33 andy
-
- * Modules/Platform/Darwin.cmake, Source/cmTryCompileCommand.cxx:
- BUG: Propagate platform settings such as CMAKE_OSX_ARCHITECTURES
- to the try compile
-
-2007-03-02 10:57 martink
-
- * Modules/SystemInformation.cmake: ENH: limit the output of system
- information to no more than 50K per file
-
-2007-03-02 10:50 martink
-
- * Source/: cmLocalVisualStudio7Generator.cxx,
- cmWin32ProcessExecution.cxx: COMP: fix some w4 warnings
-
-2007-03-02 10:49 martink
-
- * Source/cmake.cxx: ENH: fix compiler warning
-
-2007-03-02 10:48 martink
-
- * Source/: kwsys/SystemTools.cxx, cmFileCommand.cxx: COMP: fix
- warnings
-
-2007-03-01 23:28 king
-
- * Source/kwsys/auto_ptr.hxx.in: COMP: More workarounds for Borland.
-
-2007-03-01 21:15 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-03-01 16:44 king
-
- * Modules/FindQt4.cmake: BUG: Fix bug introduced by revision 1.67.
- The qmake query mode prints information to stderr on some
- platforms. The OUTPUT_VARIABLE and ERROR_VARIABLE must be the
- same variable to get all the output.
-
-2007-03-01 16:23 martink
-
- * Source/cmFileCommand.cxx: COMP: fix a compiel warning
-
-2007-03-01 15:53 martink
-
- * Source/: cmFileCommand.cxx, cmFileCommand.h: ENH: added LIMIT on
- file read
-
-2007-03-01 14:52 martink
-
- * Source/kwsys/SystemTools.cxx: COMP: fix warning
-
-2007-03-01 14:30 martink
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: added a
- limit to the getline method
-
-2007-03-01 10:53 martink
-
- * Source/cmake.cxx: BUG: a couple bugs in system informaiton
-
-2007-03-01 10:33 martink
-
- * CMakeLists.txt: BUG: bad command line
-
-2007-02-28 21:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-02-28 17:26 hoffman
-
- * Source/cmLocalGenerator.cxx: ENH: remove qnx special stuff that
- does not work
-
-2007-02-28 14:45 martink
-
- * Source/cmMakefile.cxx: BUG: cleanup paths in GetSourceFile to
- handle bug 2724
-
-2007-02-28 14:29 hoffman
-
- * Source/: cmLocalGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx:
- ENH: one more pass at paths with spaces and parens
-
-2007-02-28 12:25 martink
-
- * CMakeLists.txt, Source/CMakeLists.txt, Source/cmake.cxx: BUG:
- allow system information to accept the -G option
-
-2007-02-28 09:36 king
-
- * Source/kwsys/auto_ptr.hxx.in: BUG: Assignment should always use
- reset().
-
-2007-02-28 09:35 king
-
- * Source/kwsys/auto_ptr.hxx.in: COMP: Fix for auto_ptr_ref on
- Borland 5.8.
-
-2007-02-28 09:33 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Fix for
- cmake_force target in Borland Makefiles.
-
-2007-02-27 16:41 martink
-
- * Source/cmake.cxx: BUG: fix to naming of results file
-
-2007-02-27 15:11 hoffman
-
- * Tests/SubDirSpaces/: CMakeLists.txt,
- ThirdSubDir/testfromauxsubdir.c: ENH: watcom wmake can not handle
- () in the path with cd command
-
-2007-02-27 13:34 hoffman
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: add a fix for
- spaces in the path again...
-
-2007-02-27 13:04 martink
-
- * CMakeLists.txt, Source/CMakeLists.txt: BUG: possible fix for new
- SystemInfo test
-
-2007-02-27 12:47 martink
-
- * Source/cmake.cxx: BUG: fix for unused variable
-
-2007-02-27 12:10 hoffman
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: fix for spaces in
- the path and mingw
-
-2007-02-27 11:59 martink
-
- * Source/CMakeLists.txt: BUG: possible fix for new SystemInfo test
-
-2007-02-27 10:10 martink
-
- * Source/: CMakeLists.txt, cmake.cxx, cmake.h, cmakemain.cxx: ENH:
- added --system-information option to CMake
-
-2007-02-27 09:43 martink
-
- * Modules/: SystemInformation.cmake, SystemInformation.in: ENH:
- improvements
-
-2007-02-26 13:40 martink
-
- * Modules/: SystemInformation.cmake, SystemInformation.in: ENH:
- added for system information command line option
-
-2007-02-26 12:08 king
-
- * Source/kwsys/auto_ptr.hxx.in: COMP: Added line accidentally
- removed.
-
-2007-02-26 12:06 king
-
- * Source/kwsys/auto_ptr.hxx.in: BUG: Fixed implementation of
- auto_ptr_ref.
-
-2007-02-26 11:56 hoffman
-
- * Source/cmLocalGenerator.cxx: ENH: go back to \ escapes for qnx
-
-2007-02-26 11:41 hoffman
-
- * Source/cmLocalGenerator.cxx: ENH: go back to EscapeForShell
- version
-
-2007-02-26 10:46 king
-
- * Tests/SubDirSpaces/CMakeLists.txt: COMP: Disable rpath with
- spaces on some systems.
-
-2007-02-25 21:02 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-02-25 19:22 alex
-
- * Modules/FindGettext.cmake: BUG: fix typo reported by Duncan Mac
- Vicar
-
- Alex
-
-2007-02-25 16:13 hoffman
-
- * Source/cmLocalGenerator.cxx: ENH: try and use \ for space and ()
- escapes
-
-2007-02-23 20:37 hoffman
-
- * Source/cmLocalGenerator.cxx: ENH: try another thing 3
-
-2007-02-23 17:38 hoffman
-
- * Source/cmLocalGenerator.cxx: ENH: try another thing
-
-2007-02-23 17:07 hoffman
-
- * Source/cmLocalGenerator.cxx: ENH: add some debug stuff
-
-2007-02-23 16:44 hoffman
-
- * Source/cmLocalGenerator.cxx: ENH: add some debug stuff
-
-2007-02-23 14:37 andy
-
- * Source/CMakeLists.txt: COMP: Disable test until generators are
- fixed
-
-2007-02-23 11:30 andy
-
- * Source/CMakeLists.txt: ENH: Try to fix spaces in the path problem
-
-2007-02-23 11:17 andy
-
- * Tests/SimpleExclude/run.cmake.in: ENH: Try to fix spaces in the
- path problem
-
-2007-02-23 10:31 andy
-
- * Tests/SimpleExclude/: dirC/dirA/CMakeLists.txt,
- dirC/dirB/CMakeLists.txt, dirD/CMakeLists.txt: ENH: Force
- libraries to be static
-
-2007-02-23 09:54 martink
-
- * Source/cmGetTestPropertyCommand.h: ENH: added some documentation
- on how to find the default properties of a test
-
-2007-02-23 09:46 andy
-
- * Source/: CMakeLists.txt, cmLocalGenerator.cxx,
- cmLocalGenerator.h, cmMakefile.cxx, cmTarget.cxx, cmTarget.h:
- ENH: Make EXCLUDE_FROM_ALL a target and directory properties.
- Also, make IsInAll use EXCLUDE_FROM_ALL. Also, enable the test
- that tests this
-
-2007-02-23 09:45 andy
-
- * Source/cmIncludeDirectoryCommand.cxx: BUG: Produce error when
- include directories is invoked with an empty list
-
-2007-02-22 17:34 hoffman
-
- * Source/cmLocalGenerator.cxx: ENH: hack put the hack back for qnx
- to try and fix spaces in the path
-
-2007-02-22 17:26 hoffman
-
- * Source/cmLocalGenerator.cxx: ENH: undo hack and try to get
- dashboard back
-
-2007-02-22 17:15 hoffman
-
- * Tests/SubDirSpaces/CMakeLists.txt: ENH: add a comment
-
-2007-02-22 16:23 king
-
- * Source/cmLocalGenerator.cxx: BUG: Hack to try working around a
- problem with spaces in an rpath on QNX.
-
-2007-02-22 15:43 hoffman
-
- * Tests/SubDirSpaces/CMakeLists.txt: ENH: show make results on the
- dashboard
-
-2007-02-22 15:33 hoffman
-
- * Source/cmLocalGenerator.cxx: ENH: add new escape stuff
-
-2007-02-22 15:27 king
-
- * Source/kwsys/SystemTools.cxx: BUG: Fix bug#4482.
-
-2007-02-22 15:16 andy
-
- * Tests/SimpleExclude/run.cmake.in: COMP: Use exec_program instead
- of execute_process
-
-2007-02-22 11:42 andy
-
- * Tests/SimpleExclude/: CMakeLists.txt, run.cmake.in: ENH: Improve
- test
-
-2007-02-22 10:31 hoffman
-
- * Source/CMakeLists.txt: ENH: actually keep the output
-
-2007-02-22 10:05 hoffman
-
- * Source/CMakeLists.txt: ENH: make sure EXECUTE_PROCESS is there
- because in bootstrap it is not
-
-2007-02-22 09:48 hoffman
-
- * Source/kwsys/SystemTools.cxx: COMP: remove warning
-
-2007-02-22 09:44 martink
-
- * Source/CPack/cmCPackOSXX11Generator.cxx: STYLE: fix someones line
- length
-
-2007-02-22 09:10 andy
-
- * Source/cmake.cxx: BUG: Produce an error when the script is not
- found
-
-2007-02-22 08:39 andy
-
- * Tests/SimpleExclude/: CMakeLists.txt, dirC/CMakeLists.txt,
- dirC/dirA/CMakeLists.txt, dirC/dirA/t1.c, dirC/dirA/t2.c,
- dirC/dirA/t3.c, dirC/dirA/t4.c, dirC/dirA/t5.c,
- dirC/dirB/CMakeLists.txt, dirC/dirB/t6.c, dirC/dirB/t7.c,
- dirD/CMakeLists.txt, dirD/t8.c, dirD/t9.c: ENH: Add simple
- exclusion test for subdirectories
-
-2007-02-21 21:24 hoffman
-
- * Source/CMakeLists.txt, Source/cmLocalGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmSystemTools.cxx, Source/cmSystemTools.h,
- Source/kwsys/SystemTools.cxx, Tests/SubDirSpaces/CMakeLists.txt,
- Tests/SubDirSpaces/Some(x86) Sources/CMakeLists.txt,
- Tests/SubDirSpaces/Some(x86) Sources/test.c,
- Tests/SubDirSpaces/ThirdSubDir/testfromauxsubdir.c: ENH: fix
- parens in the path with spaces in the path
-
-2007-02-21 14:58 martink
-
- * Source/CMakeLists.txt: ENH: turn on spaces test for more
- platforms
-
-2007-02-21 14:07 hoffman
-
- * Source/cmGlobalGenerator.cxx: ENH: get rid of some extra erase
- calls
-
-2007-02-21 14:07 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: STYLE: fix line length
-
-2007-02-21 14:01 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmXCodeObject.cxx: BUG: fix
- for quotes in strings for flags #4022
-
-2007-02-21 13:33 king
-
- * Source/kwsys/CMakeLists.txt: COMP: Disable LFS on AIX.
-
-2007-02-21 12:19 martink
-
- * Source/cmGlobalWatcomWMakeGenerator.cxx: ENH: remove unused
- variable
-
-2007-02-21 11:58 martink
-
- * Source/CMakeLists.txt: ENH: turn on spaces test for more
- platforms
-
-2007-02-21 11:45 hoffman
-
- * Modules/Platform/AIX.cmake: ENH: force c++ when building c++
- objects
-
-2007-02-21 10:29 hoffman
-
- * Modules/CMakeDetermineSystem.cmake: ENH: better processor
- detection on linux
-
-2007-02-21 10:03 hoffman
-
- * Modules/CMakeDetermineFortranCompiler.cmake: ENH: remove df
- because df is a unix utilitiy
-
-2007-02-20 16:43 hoffman
-
- * Modules/: CMakeDetermineFortranCompiler.cmake,
- Platform/Windows-df.cmake: BUG: fix for bug 3950 add support for
- df compiler on windows
-
-2007-02-20 16:35 hoffman
-
- * Modules/FindQt4.cmake: BUG: fix for bug # 3954 glib with qt
-
-2007-02-20 16:05 alex
-
- * Modules/FindKDE4.cmake: STYLE: fix docs for FindKDE4.cmake
-
- Alex
-
-2007-02-20 16:02 alex
-
- * Modules/: FindKDE3.cmake, KDE3Macros.cmake: BUG: remove
- KDE3_ENABLE_FINAL (#4140): it doesn't work currently and I don't
- have the time to fix this since it would require bigger changes.
- Maybe I'll do this if the KDE3 support of CMake becomes more
- widely used.
-
- Alex
-
-2007-02-20 16:00 alex
-
- * Modules/FindLibXml2.cmake: STYLE: don't put the copyright notice
- twice in the file
-
- Alex
-
-2007-02-20 15:15 hoffman
-
- * Modules/FindQt4.cmake: BUG: fix for bug 4187 fix typo in docs
-
-2007-02-20 15:14 hoffman
-
- * Modules/CMakeUnixFindMake.cmake: BUG: fix for 4188 look for smake
- as well as gmake and make
-
-2007-02-20 15:09 hoffman
-
- * Source/cmFileCommand.h: ENH: fix spelling error bug # 4233
-
-2007-02-20 15:03 martink
-
- * Source/CMakeLists.txt: ENH: only add the test for some platforms
-
-2007-02-20 13:52 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: fix source extensions
- fror txt on xcode
-
-2007-02-20 12:28 martink
-
- * Source/cmMakefileTargetGenerator.cxx: ENH: fix for Watcom
-
-2007-02-20 11:33 hoffman
-
- * Modules/Platform/QNX.cmake: ENH: try to force c++ on qnx
-
-2007-02-20 11:14 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: fix for force language
- stuff
-
-2007-02-20 10:57 hoffman
-
- * Tests/SetLang/CMakeLists.txt: ENH: verbose
-
-2007-02-20 10:52 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx: ENH: fix crash
-
-2007-02-20 09:54 hoffman
-
- * Modules/InstallRequiredSystemLibraries.cmake: BUG: fix for bug
- 4420 add language dll's to mfc install
-
-2007-02-20 09:35 hoffman
-
- * Source/CMakeLists.txt, Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Tests/SetLang/CMakeLists.txt, Tests/SetLang/bar.c,
- Tests/SetLang/foo.c: BUG: fix for bug 4423 set language fixes
-
-2007-02-19 16:34 hoffman
-
- * Source/CMakeLists.txt: ENH: remove ConvLib test for now
-
-2007-02-19 15:12 hoffman
-
- * Source/CMakeLists.txt: ENH: use correct name
-
-2007-02-19 15:07 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: use project not target
- name
-
-2007-02-19 14:48 martink
-
- * Source/CMakeLists.txt, Tests/SubDirSpaces/CMakeLists.txt: ENH:
- make the test really test targets with spaces
-
-2007-02-19 14:32 martink
-
- * Source/: cmTarget.cxx, cmTarget.h: BUG: fix accidental checkin
-
-2007-02-19 14:26 martink
-
- * Tests/SubDirSpaces/Executable Sources/: CMakeLists.txt, test.cxx:
- ENH: added used sources with a path that has spaces
-
-2007-02-19 14:25 martink
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmMakefileTargetGenerator.cxx: ENH: fixed more bugs with spaces
- in the path
-
-2007-02-19 13:53 king
-
- * Modules/Platform/gcc.cmake: BUG: Applied patch from bug#4462.
-
-2007-02-19 13:44 hoffman
-
- * Modules/FindQt4.cmake: BUG: fix for bug 4464 handle qmake errors
- better
-
-2007-02-19 13:26 hoffman
-
- * Source/CMakeLists.txt, Tests/ConvLibrary/CMakeLists.txt: ENH: add
- test for conv libraries
-
-2007-02-19 13:20 martink
-
- * Source/: CMakeLists.txt, cmTarget.cxx, cmTarget.h: ENH: turn on
- spaces in path test
-
-2007-02-19 12:25 martink
-
- * Source/: cmMakefileTargetGenerator.cxx,
- cmLocalUnixMakefileGenerator3.cxx: BUG: fix for spaces in path
- for nmake
-
-2007-02-19 12:21 martink
-
- * Tests/SubDirSpaces/: CMakeLists.txt,
- vcl_algorithm+vcl_pair+double.foo.c,
- vcl_algorithm_vcl_pair_double.foo.c, Another
- Subdir/pair+int.int.c, Another Subdir/pair_int.int.c, Another
- Subdir/secondone.c, Another Subdir/testfromsubdir.c,
- Executable/CMakeLists.txt, Executable/test.cxx, Some
- Examples/CMakeLists.txt, Some Examples/example1/CMakeLists.txt,
- Some Examples/example1/example1.cxx, Some
- Examples/example2/CMakeLists.txt, Some
- Examples/example2/example2.cxx, ThirdSubDir/pair+int.int1.c,
- ThirdSubDir/pair_int.int1.c, ThirdSubDir/pair_p_int.int1.c,
- ThirdSubDir/testfromauxsubdir.c, ThirdSubDir/thirdone.c: ENH: new
- test for spaces in the tree structure
-
-2007-02-18 21:44 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-02-18 09:31 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx: STYLE: fix warning
-
-2007-02-17 22:43 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-02-17 11:43 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: fix for external object
- test
-
-2007-02-17 08:46 hoffman
-
- * Source/: cmLocalGenerator.cxx, cmLocalVisualStudio7Generator.cxx,
- cmLocalXCodeGenerator.cxx, cmTarget.cxx,
- CPack/cmCPackOSXX11Generator.cxx: STYLE: fix line length issues
-
-2007-02-17 08:38 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmLocalGenerator.cxx: ENH:
- remove warnings and debug statement
-
-2007-02-16 16:45 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Tests/ConvLibrary/bartest.cxx: ENH: fix for vs ide
-
-2007-02-16 16:12 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.h, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalUnixMakefileGenerator3.h,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio6Generator.h,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Source/cmLocalVisualStudioGenerator.cxx,
- Source/cmLocalVisualStudioGenerator.h,
- Source/cmLocalXCodeGenerator.cxx, Source/cmLocalXCodeGenerator.h,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.h, Source/cmTarget.cxx,
- Source/cmTarget.h, Tests/ConvLibrary/CMakeLists.txt,
- Tests/ConvLibrary/bar.c, Tests/ConvLibrary/bartest.cxx,
- Tests/ConvLibrary/foo.cxx, Tests/ConvLibrary/sub1/car.cxx: ENH:
- check in initial conv library stuff
-
-2007-02-16 15:24 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-02-15 15:07 andy
-
- * Source/cmake.cxx: BUG: Overwrite the symlink if it already
- exists. Close Bug #4418 - cmake -create-symlink doesn't overwrite
- existing symlinks
-
-2007-02-15 13:36 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Source/cmCommandArgumentParserHelper.cxx,
- Source/cmCommandArgumentParserHelper.h, Source/cmMakefile.cxx:
- ENH: move @@ fix from main tree
-
-2007-02-15 12:45 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/FindQt4.cmake,
- Modules/InstallRequiredSystemLibraries.cmake,
- Source/cmAddDependenciesCommand.cxx, Source/cmIfCommand.cxx,
- Source/cmIfCommand.h, Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmSetTargetPropertiesCommand.cxx,
- Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.cxx.bak:
- ENH: merge in changes from main tree, including fix for exception
- stuff in vs 7
-
-2007-02-15 12:23 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: Do not hack the
- exception handling default for linker flags or for
- per-source-file flags.
-
-2007-02-14 22:24 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-02-13 22:44 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-02-13 14:12 andy
-
- * Source/CPack/cmCPackOSXX11Generator.cxx,
- Source/CPack/cmCPackOSXX11Generator.h, Modules/CPack.DS_Store.in,
- Modules/CPack.VolumeIcon.icns.in,
- Modules/CPack.background.png.in, Modules/CPack.cmake: ENH: More
- work on the packaging. Add Applicaitons, add icons, etc
-
-2007-02-12 23:16 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-02-12 12:06 hoffman
-
- * Utilities/Release/: create-cmake-release.cmake,
- release_cmake.cmake: ENH: add cygwin cpack stuff to release
- scripts
-
-2007-02-12 09:15 hoffman
-
- * Utilities/Release/vogon_cygwin.cmake: ENH: add cygwin on vogon
-
-2007-02-11 22:34 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-02-10 22:23 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-02-10 09:52 alex
-
- * Modules/FindPNG.cmake: STYLE: remove empty line, so the
- documentation for the module is complete again
-
- Alex
-
-2007-02-09 22:14 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-02-09 13:44 hoffman
-
- * Source/: cmCommandArgumentParserHelper.cxx,
- cmCommandArgumentParserHelper.h, cmMakefile.cxx: ENH: add atonly
- support to cmCommandArgumentParserHelper.cxx and remove old
- non-yacc parser code from cmMakefile.cxx
-
-2007-02-08 22:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-02-08 16:18 king
-
- * Source/CMakeLists.txt, Tests/PrecompiledHeader/CMakeLists.txt,
- Tests/PrecompiledHeader/foo1.c, Tests/PrecompiledHeader/foo2.c,
- Tests/PrecompiledHeader/foo_precompile.c,
- Tests/PrecompiledHeader/include/foo.h,
- Tests/PrecompiledHeader/include/foo_precompiled.h: ENH: Added
- PrecompiledHeader test for MSVC compilers.
-
-2007-02-07 22:02 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-02-07 14:50 alex
-
- * Modules/: UseEcos.cmake, ecos_clean.cmake: ENH: now also the
- "ecosclean" target works with MS nmake
-
- Alex
-
-2007-02-07 11:50 hoffman
-
- * Modules/FindQt4.cmake: BUG: fix for bug 4399
-
-2007-02-07 11:49 hoffman
-
- * Source/: cmAddDependenciesCommand.cxx,
- cmSetTargetPropertiesCommand.cxx: BUG: fix for bug 4414, find
- targets in the global generator for set_target_properties and
- add_dependencies
-
-2007-02-07 10:26 hoffman
-
- * Modules/InstallRequiredSystemLibraries.cmake: BUG: fix for 4420
- Unicode and MBC versions of the MFC
-
-2007-02-07 09:23 king
-
- * Source/cmDependsC.cxx: STYLE: Fixed line-too-long.
-
-2007-02-06 21:56 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-02-06 16:03 hoffman
-
- * Source/cmSetSourceFilesPropertiesCommand.h: ENH: fix
- documentation to include source language property
-
-2007-02-06 15:05 king
-
- * Source/cmDocumentation.cxx: BUG: Patch from Alex to fix
- single-command help broken by previous patch.
-
-2007-02-06 10:01 hoffman
-
- * CMakeLists.txt, Source/CPack/cmCPackGenerators.cxx: ENH: fix
- release tree to build on mac
-
-2007-02-05 21:53 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-02-05 14:05 hoffman
-
- * Source/cmLocalUnixMakefileGenerator3.h: ENH: merge changes from
- main trunk
-
-2007-02-05 13:21 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, cmake_uninstall.cmake.in,
- Modules/CPack.cmake, Modules/FindKDE4.cmake,
- Modules/FindXMLRPC.cmake, Source/CMakeLists.txt,
- Source/cmGlobalKdevelopGenerator.cxx,
- Source/cmInstallTargetGenerator.cxx,
- Source/cmLocalKdevelopGenerator.cxx,
- Source/cmLocalKdevelopGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Source/cmLocalVisualStudioGenerator.cxx,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.cxx, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h, Source/cmTarget.cxx, Source/cmTarget.h,
- Source/CPack/cmCPackGenerators.cxx,
- Source/CPack/cmCPackGenericGenerator.cxx,
- Source/CPack/cmCPackGenericGenerator.h,
- Source/CPack/cmCPackNSISGenerator.h,
- Source/CPack/cmCPackPackageMakerGenerator.h,
- Source/CPack/cmCPackSTGZGenerator.h,
- Source/CPack/cmCPackTGZGenerator.h,
- Source/CPack/cmCPackTarBZip2Generator.cxx,
- Source/CPack/cmCPackTarBZip2Generator.h,
- Source/CPack/cmCPackTarCompressGenerator.h,
- Source/CPack/cmCPackZIPGenerator.h, Source/kwsys/System.h.in,
- Source/kwsys/SystemTools.cxx,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Utilities/Release/Cygwin/CMakeLists.txt,
- Utilities/Release/Cygwin/README.cygwin.in,
- Utilities/Release/Cygwin/cygwin-package.sh.in,
- Utilities/Release/Cygwin/cygwin-patch.diff.in,
- Utilities/Release/Cygwin/cygwin-setup.hint.in,
- Source/CPack/cmCPackCygwinBinaryGenerator.cxx,
- Source/CPack/cmCPackCygwinBinaryGenerator.h,
- Source/CPack/cmCPackCygwinSourceGenerator.cxx,
- Source/CPack/cmCPackCygwinSourceGenerator.h: ENH: merge in
- changes from branch
-
-2007-02-05 11:13 martink
-
- * Source/CMakeLists.txt: ENH: add more time to bootstrap test
-
-2007-02-05 09:48 king
-
- * Source/: cmDependsC.cxx, cmDependsC.h: BUG: Patch from Alex to
- recompute dependencies when the include regex changes. This
- addresses bug#4168.
-
-2007-02-04 21:47 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-02-03 21:41 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-02-02 21:28 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-02-02 16:52 hoffman
-
- * Source/CPack/: cmCPackCygwinSourceGenerator.cxx,
- cmCPackTarBZip2Generator.cxx: STYLE: fix warnings
-
-2007-02-02 16:51 hoffman
-
- * Modules/FindQt4.cmake: ENH: fix depend bug in qt
-
-2007-02-02 14:40 hoffman
-
- * CMakeLists.txt, Modules/CPack.cmake, Source/CMakeLists.txt,
- Source/CPack/bills-comments.txt,
- Source/CPack/cmCPackCygwinBinaryGenerator.cxx,
- Source/CPack/cmCPackCygwinBinaryGenerator.h,
- Source/CPack/cmCPackCygwinSourceGenerator.cxx,
- Source/CPack/cmCPackCygwinSourceGenerator.h,
- Source/CPack/cmCPackGenerators.cxx,
- Source/CPack/cmCPackGenericGenerator.cxx,
- Source/CPack/cmCPackGenericGenerator.h,
- Source/CPack/cmCPackNSISGenerator.h,
- Source/CPack/cmCPackOSXX11Generator.h,
- Source/CPack/cmCPackPackageMakerGenerator.h,
- Source/CPack/cmCPackSTGZGenerator.h,
- Source/CPack/cmCPackTGZGenerator.h,
- Source/CPack/cmCPackTarBZip2Generator.cxx,
- Source/CPack/cmCPackTarBZip2Generator.h,
- Source/CPack/cmCPackTarCompressGenerator.h,
- Source/CPack/cmCPackZIPGenerator.h, Source/CPack/cygwin.readme,
- Utilities/Release/create-cmake-release.cmake,
- Utilities/Release/release_cmake.cmake,
- Utilities/Release/Cygwin/CMakeLists.txt,
- Utilities/Release/Cygwin/README.cygwin.in,
- Utilities/Release/Cygwin/cygwin-package.sh.in: ENH: add support
- for cygwin source and binary packaging
-
-2007-02-02 14:13 king
-
- * Source/cmDocumentation.h: COMP: Fix void return failure.
-
-2007-02-02 12:46 alex
-
- * Modules/FindGettext.cmake: BUG: add gettext module for working
- with GNU gettext (#4081)
-
- Alex
-
-2007-02-02 10:14 martink
-
- * Source/CMakeLists.txt: ENH: allow the dashboard to override the
- timeouts for CTestTest
-
-2007-02-02 09:11 king
-
- * Source/cmDocumentation.h: STYLE: Fixed line length and this->
- convention violations from yesterday's patch.
-
-2007-02-02 09:11 king
-
- * Source/CTest/cmCTestBuildCommand.cxx: STYLE: Fixed line-too-long.
-
-2007-02-01 20:38 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-02-01 17:06 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: STYLE: fix line length
-
-2007-02-01 16:56 king
-
- * Source/cmMakefileTargetGenerator.cxx: BUG: Use the exe/lib output
- path for .pdb file location. This addresses bug#3277 and
- bug#4287.
-
-2007-02-01 16:54 king
-
- * Source/: cmLocalVisualStudio7Generator.cxx, cmTarget.cxx,
- cmTarget.h: ENH: Added cmTarget::GetPDBName method to simplify
- computation of .pdb file name for a target.
-
-2007-02-01 16:52 king
-
- * Source/: cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx: BUG: Do not clean the .pdb
- file for a target just before it is linked! This finishes
- addressing bug#4341.
-
-2007-02-01 16:07 king
-
- * Source/cmMakefileExecutableTargetGenerator.cxx: BUG: Clean rule
- for exe pdb file should use full path.
-
-2007-02-01 15:44 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: Do not use bitwise
- OR on bool.
-
-2007-02-01 15:22 king
-
- * Source/cmLocalVisualStudio7Generator.h: STYLE: Removed unused
- method declarations.
-
-2007-02-01 15:02 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: Added a special
- flags integer field to the flag map entries. Added flags for
- user values and other special cases. Added precompiled header
- flag translation entries. This addresses bug#3512.
-
-2007-02-01 14:45 king
-
- * Source/kwsys/SystemTools.cxx: STYLE: Removed one more stray
- comment.
-
-2007-02-01 14:43 martink
-
- * Source/kwsys/SystemTools.cxx: STYLE: removed code accidently
- checked in
-
-2007-02-01 14:11 martink
-
- * Source/kwsys/SystemTools.cxx: BUG: fix for bug number 3320
-
-2007-02-01 13:04 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: COMP: Removed unused
- variable.
-
-2007-02-01 12:02 king
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt: ENH: Added smoke
- test for user-value flag mapping for VS IDE.
-
-2007-02-01 12:00 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: Added mapping of
- /NODEFAULTLIB flag when no values are provided.
-
-2007-02-01 11:49 king
-
- * Source/: cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h: ENH: Reimplemented parsing and
- mapping of flags into vcproj file attribute options. This cleans
- up and centralizes a few things. It is in preparation for
- dealing with precompiled header flags for bug #3512 since they
- require some special handling.
-
-2007-02-01 11:45 king
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Added
- EscapeWindowsShellArgument and ParseWindowsCommandLine methods to
- cmSystemTools.
-
-2007-02-01 11:33 martink
-
- * Source/cmMakefileTargetGenerator.cxx: BUG: fix for bug number
- 3964
-
-2007-02-01 10:38 king
-
- * Source/: cmDocumentation.cxx, cmDocumentation.h: ENH: Patch from
- Alex to improve implementation and prepare for splitting the man
- page into more sections.
-
-2007-02-01 09:57 king
-
- * Source/: cmInstallTargetGenerator.cxx,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h,
- cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx, cmTarget.cxx, cmTarget.h:
- BUG: The .pdb file generated for a library or executable should
- match the real file name used for the target. This addresses
- bug#3277.
-
-2007-01-31 20:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-31 16:50 hoffman
-
- * Source/CPack/: cmCPackCygwinSourceGenerator.cxx,
- cmCPackCygwinSourceGenerator.h: ENH: commit cygwin source
- generator files, not used yet
-
-2007-01-31 16:49 hoffman
-
- * Source/cmLocalGenerator.cxx: ENH: do not use crazy long paths to
- object files for try compile
-
-2007-01-31 16:48 hoffman
-
- * Utilities/Release/Cygwin/: CMakeLists.txt, README.cygwin.in,
- cygwin-package.sh.in, cygwin-patch.diff.in, cygwin-setup.hint.in:
- ENH: add support files for cpack cygwin setup package stuff
-
-2007-01-31 15:06 alex
-
- * Modules/FindQt4.cmake: BUG: finally fix #4331, the previous
- version just caught the tag, the filename not at all
-
- Alex
-
-2007-01-31 14:00 hoffman
-
- * Tests/TryCompile/CMakeLists.txt: ENH: add more output when test
- fails
-
-2007-01-31 13:54 andy
-
- * Source/CMakeLists.txt: COMP: Remove osx bundle from
- OSXScriptLauncher
-
-2007-01-31 13:53 andy
-
- * Source/CPack/OSXScriptLauncher.cxx: COMP: Use new API
-
-2007-01-31 13:37 andy
-
- * Source/CMakeLists.txt: COMP: Add missing file in the installation
-
-2007-01-31 13:34 hoffman
-
- * Source/: cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h: BUG: make sure external vs
- projects use the GUID in the project if it has one.
-
-2007-01-30 20:14 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-30 15:43 alex
-
- * Modules/FindKDE4.cmake: STYLE: KDEDIR is deprecated and not used,
- so also document that KDEDIRS is used instead
-
- Alex
-
-2007-01-30 11:48 andy
-
- * Source/CTest/cmCTestBuildCommand.cxx: ENH: Allow to specify build
- target
-
-2007-01-30 11:48 andy
-
- * Source/CMakeLists.txt: COMP: Fix bootstrap
-
-2007-01-30 11:35 martink
-
- * Source/: CMakeLists.txt, cmGlobalGenerator.cxx,
- cmGlobalGenerator.h, ctest.cxx,
- CTest/cmCTestBuildAndTestHandler.cxx: BUG: fixes so that
- --build-and-test will honor timeouts
-
-2007-01-30 11:32 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: allow copy if different from a
- file to a directory to work
-
-2007-01-29 20:30 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-29 12:42 martink
-
- * Source/cmCTest.cxx: BUG: fix in the timeout code
-
-2007-01-28 20:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-27 20:09 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-27 15:29 malaterre
-
- * Source/kwsys/System.h.in: STYLE: Fix typo
-
-2007-01-26 20:14 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-26 15:06 martink
-
- * Source/cmIfCommand.h: STYLE: improve IF documentation to cover
- elseif
-
-2007-01-26 14:26 king
-
- * Source/kwsys/CMakeLists.txt: BUG: Added use of
- KWSYS_INSTALL_COMPONENT_NAME_DEVELOPMENT for header file install
- rules.
-
-2007-01-26 09:31 martink
-
- * Source/CTest/cmCTestTestHandler.cxx: COMP: fix warning
-
-2007-01-25 17:05 hoffman
-
- * Source/cmSubdirCommand.h: BUG: remove early ;
-
-2007-01-25 15:44 hoffman
-
- * Source/: CMakeLists.txt, cmGlobalKdevelopGenerator.cxx,
- cmLocalKdevelopGenerator.cxx, cmLocalKdevelopGenerator.h,
- cmLocalUnixMakefileGenerator3.h: BUG: fix for 4186, kdevelop
- adding file twice
-
-2007-01-25 11:16 martink
-
- * Source/: cmCTest.cxx, cmCTest.h, cmTest.cxx, ctest.cxx,
- CTest/cmCTestBuildAndTestHandler.cxx,
- CTest/cmCTestBuildAndTestHandler.h, CTest/cmCTestTestHandler.cxx,
- CTest/cmCTestTestHandler.h: ENH: added per test timeout support
-
-2007-01-24 13:45 king
-
- * Source/: cmExecProgramCommand.h, cmInstallFilesCommand.h,
- cmInstallProgramsCommand.h, cmInstallTargetsCommand.h,
- cmLinkLibrariesCommand.h, cmMakeDirectoryCommand.h,
- cmRemoveCommand.h, cmSubdirCommand.h, cmSubdirDependsCommand.h,
- cmVariableRequiresCommand.h, cmWriteFileCommand.h: ENH: Patch
- from Alex to make deprecated command documentation more
- consistent.
-
-2007-01-24 13:40 king
-
- * Source/: cmUseMangledMesaCommand.h, cmVariableRequiresCommand.h:
- ENH: Patch from Alex to document this command as discouraged.
-
-2007-01-24 07:46 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-23 14:28 hoffman
-
- * Source/cmLocalGenerator.cxx: ENH: this does not need to be safe
- as the value is checked
-
-2007-01-23 14:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-23 13:41 alex
-
- * Modules/UseEcos.cmake: BUG: reent.c wasn't intended to be
- committed, too special
-
- Alex
-
-2007-01-23 13:29 alex
-
- * Modules/UseEcos.cmake: STYLE: use even more absolute paths, can't
- hurt for out-of-source builds STYLE: use
- SET_SOURCE_FILES_PROPERTIES() on multiple files at once instead
- of interating over each one of them STYLE: no need to add
- target.ld to the clean-files, this is done now automatically by
- add_custom_command() ENH: now also MS nmake can be used to build
- ecos apps
-
- Alex
-
-2007-01-23 13:08 hoffman
-
- * Source/cmLocalGenerator.cxx: ENH: avoid crash, but do not make it
- an error if include flags is missing from a language
-
-2007-01-23 11:39 hoffman
-
- * Source/cmLocalGenerator.cxx: ENH: make the include flag required
- for a language avoids seg fault
-
-2007-01-23 11:25 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx: ENH: undo bug fix
- because of failed test
-
-2007-01-23 10:50 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx: ENH: add link flags for
- debug/release etc
-
-2007-01-22 20:14 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-22 10:52 king
-
- * Source/cmWriteFileCommand.h: ENH: Patch from Alex to document
- WRITE_FILE as a discouraged command.
-
-2007-01-22 10:52 king
-
- * Source/: cmDocumentation.cxx, cmDocumentation.h: COMP: Patch from
- Alex for const correctness.
-
-2007-01-22 10:39 king
-
- * cmake_uninstall.cmake.in: BUG: Patch from bug#4312 to make
- uninstall work with DESTDIR.
-
-2007-01-21 20:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-20 21:05 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-20 10:05 andy
-
- * Modules/FindQt4.cmake: COMP: Fix typo that makes all Qt4 builds
- break
-
-2007-01-19 20:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-19 11:55 hoffman
-
- * Modules/FindQt4.cmake: BUG: fix for bug 4331
-
-2007-01-18 20:35 hoffman
-
- * Modules/FindQt4.cmake: BUG: fix for bug 4331
-
-2007-01-18 20:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-18 16:10 hoffman
-
- * Source/cmLocalVisualStudioGenerator.cxx: ENH: do not use relative
- paths for custom command commands if they working directory is
- used
-
-2007-01-17 14:06 alex
-
- * Modules/UseEcos.cmake: ENH: the ecos headers are always in the
- binary dir
-
- Alex
-
-2007-01-17 13:57 alex
-
- * Modules/UseEcos.cmake: ENH: building ecos apps now seems to work
- also out-of-source
-
- Alex
-
-2007-01-17 13:45 alex
-
- * Modules/UseEcos.cmake: BUG: also check that tclsh is available,
- otherwise you can't build any eCos stuff ENH: make the name of
- the config file ecos.ecc adjustable via the new variable
- ECOS_CONFIG_FILE
-
- Alex
-
-2007-01-16 14:37 clinton
-
- * Source/kwsys/SystemTools.cxx: ENH: Add support for "~otheruser/"
-
-2007-01-15 12:31 andy
-
- * Source/CPack/cmCPackGenericGenerator.cxx: STYLE: Fix kwstyle
-
-2007-01-15 12:12 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: STYLE: fix link lenght
- issue
-
-2007-01-14 20:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-13 20:12 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-12 20:40 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-12 16:47 clinton
-
- * Source/kwsys/SystemTools.cxx: ENH: Handle "~" in SplitPath.
-
-2007-01-12 09:53 hoffman
-
- * Utilities/Release/cygwin-package.sh.in: ENH: break it again
-
-2007-01-12 09:46 hoffman
-
- * Utilities/Release/cygwin-package.sh.in: ENH: fix for newer cygwin
-
-2007-01-12 09:18 hoffman
-
- * Utilities/Release/cmake_release.sh: ENH: change version of curses
-
-2007-01-11 21:02 hoffman
-
- * Source/: cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h: BUG: fix for bug 4239,
- NODEFAULTLIB flag support in ide
-
-2007-01-11 20:54 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-11 10:49 andy
-
- * Source/CPack/: cmCPackGenericGenerator.cxx,
- cmCPackGenericGenerator.h: STYLE: Fix kwstyle issues
-
-2007-01-10 20:54 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-10 19:59 hoffman
-
- * Source/CPack/OSXScriptLauncher.cxx: ENH: fix warning and code
- style
-
-2007-01-10 18:33 andy
-
- * Modules/CPack.RuntimeScript.in: ENH: Change permission for
- getdisplay.sh to make the runtimescript work
-
-2007-01-10 15:41 hoffman
-
- * Utilities/Release/cygwin-package.sh.in: ENH: remove old docs
-
-2007-01-10 15:30 andy
-
- * Modules/CPack.OSXScriptLauncher.in,
- Modules/CPack.OSXX11.Info.plist.in,
- Modules/CPack.RuntimeScript.in, Source/CMakeLists.txt,
- Source/CPack/OSXScriptLauncher.cxx,
- Source/CPack/cmCPackGenerators.cxx,
- Source/CPack/cmCPackGenericGenerator.cxx,
- Source/CPack/cmCPackGenericGenerator.h,
- Source/CPack/cmCPackOSXX11Generator.cxx,
- Source/CPack/cmCPackOSXX11Generator.h: ENH: First pass at CPack
- generator for OSX X11 applications. This are applications that
- require X11 to work. This is not really installed but a bundle
- packager
-
-2007-01-10 14:27 hoffman
-
- * Utilities/Release/cmake_release.sh: ENH: create cygwin
-
-2007-01-10 12:39 hoffman
-
- * CMakeLists.txt: ENH: make this the final 2.4.6
-
-2007-01-09 21:02 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-08 21:01 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-08 15:12 king
-
- * Source/kwsys/SharedForward.h.in: STYLE: Fixed documentation of
- how to produce forwarding executables for multi-configuration
- builds with CMAKE_INTDIR.
-
-2007-01-07 21:05 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-06 22:56 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-06 00:49 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-04 17:29 alex
-
- * Modules/FindQt4.cmake: ENH: if a wrong qmake has been found, mark
- it as invalid in the cache, so that it is searched again the next
- time cmake runs Tested in KDE since Jul 5th:
- http://websvn.kde.org/trunk/KDE/kdelibs/cmake/modules/FindQt4.cmake?rev=558318&view=rev
-
- Alex
-
-2007-01-04 16:50 alex
-
- * Modules/: FindQt4.cmake, UseQt4.cmake: ENH: add QT_USE_QTDBUS as
- it exists for all other modules too
-
- Alex
-
-2007-01-04 16:35 alex
-
- * Modules/FindQt4.cmake: BUG: also look for qmake4, as it is named
- on OpenBSD
-
- Alex
-
-2007-01-04 16:03 martink
-
- * Source/cmAddLibraryCommand.cxx: BUG: fix for bad argument
- handling
-
-2007-01-04 14:54 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-04 13:02 martink
-
- * Source/cmPropertyMap.cxx: ENH: change STRICT to CMAKE_STRICT
-
-2007-01-04 10:18 hoffman
-
- * CMakeLists.txt: ENH: add RC stuff to main tree
-
-2007-01-04 03:53 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-03 18:20 alex
-
- * Modules/FindQt4.cmake: ENH: partly sync with KDE svn: add the
- macros for generating the dbus files
-
- Alex
-
-2007-01-03 17:50 alex
-
- * Modules/FindQt4.cmake: ENH: mark more variables ADVANCED
-
- Alex
-
-2007-01-03 17:32 alex
-
- * Modules/FindQt4.cmake: ENH: partly sync with KDE svn: handle
- QtMain more like the other libs
-
- Alex
-
-2007-01-03 17:00 alex
-
- * Modules/FindQt4.cmake: BUG: argument names in macros are not real
- variables, which can lead to problems, which we fixed for KDE in
- Trysil:
- http://websvn.kde.org/trunk/KDE/kdelibs/cmake/modules/FindQt4.cmake?rev=557470&r1=557241&r2=557470
-
- Alex
-
-2007-01-03 16:48 alex
-
- * Modules/FindQt4.cmake: STYLE: some more space to make it easier
- to read
-
- Alex
-
-2007-01-03 16:38 alex
-
- * Modules/FindQt4.cmake: ENH: partly sync with KDE svn: also find
- the QtDBus and the QtDesignerComponents libraries
-
- Alex
-
-2007-01-03 16:09 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Modules/CPack.STGZ_Header.sh.in, Modules/FindDoxygen.cmake,
- Modules/FindJNI.cmake, Modules/FindRuby.cmake,
- Source/cmFindBase.cxx, Source/cmFindBase.h,
- Tests/CTestTest3/test.cmake.in,
- Tests/CustComDepend/CMakeLists.txt, Tests/CustComDepend/bar.h,
- Tests/CustComDepend/foo.cxx: ENH: merge from main tree
-
-2007-01-03 16:01 alex
-
- * Modules/FindQt4.cmake: ENH: partly sync with the KDE vesion: find
- the dbus tools coming with Qt since 4.2
-
- Alex
-
-2007-01-03 10:19 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Source/CMakeLists.txt,
- Source/cmGlobalUnixMakefileGenerator3.h,
- Source/cmLocalGenerator.cxx,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.h,
- Source/cmMakefileUtilityTargetGenerator.cxx, Source/cmTarget.cxx:
- ENH: merge in fixes from main tree
-
-2007-01-03 04:20 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-02 00:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2007-01-01 04:02 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-31 03:29 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-30 03:24 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-29 19:20 hoffman
-
- * Tests/CustComDepend/: CMakeLists.txt, bar.h, foo.cxx: ENH: try to
- fix test on watcom
-
-2006-12-29 03:29 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-28 15:31 hoffman
-
- * Source/: cmFindBase.cxx, cmFindBase.h: BUG: fix problem with path
- suffix and mac frameworks and find stuff, showed up in
- FindPythonLibs.cmake
-
-2006-12-28 03:23 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-27 03:27 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-26 08:47 andy
-
- * Modules/FindJNI.cmake: ENH: Support JVM on Mac
-
-2006-12-26 03:27 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-25 03:25 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-24 03:24 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-23 03:38 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-22 03:36 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-21 10:24 utkarsh
-
- * Source/kwsys/CommandLineArguments.cxx: BUG: reverting previous
- change.
-
-2006-12-21 09:52 utkarsh
-
- * Source/kwsys/CommandLineArguments.cxx: BUG: When a "wrong
- argument" was detected, we call the WrongArgument handler. If the
- handler returns success, the argument parsing should continue.
- Currently, it was stopping parsing immediately after the wrong
- argument was processed, irrespective of the WrongArgument handler
- status. Fixed that.
-
-2006-12-21 04:12 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-20 03:28 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-19 03:29 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-18 11:30 utkarsh
-
- * Source/kwsys/SystemTools.cxx: BUG: FileIsDirectory would remove
- the trailing '/' even when the path is indeed the root i.e. '/'.
- Hence the test would be incorrect for root directory. Fixed that.
-
-2006-12-18 11:04 malaterre
-
- * Source/kwsys/kwsys_ios_sstream.h.in: COMP: Fix compilation when
- VS6 is using the new ANSI stdlib
-
-2006-12-18 03:24 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-17 03:25 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-16 03:26 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-15 10:30 malaterre
-
- * Source/kwsys/kwsys_ios_sstream.h.in: COMP: Try to get
- stringstream emulation working
-
-2006-12-15 03:32 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-14 14:30 king
-
- * Source/: cmGlobalUnixMakefileGenerator3.h,
- cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileUtilityTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h: ENH:
- Made cmMakefileTargetGenerator::GlobalGenerator have full type
- cmGlobalUnixMakefileGenerator3 to give access to all methods.
- Fixed broken custom targets with no commands for Borland
- makefiles when CMAKE_SKIP_RULE_DEPENDENCY is set.
-
-2006-12-14 13:18 king
-
- * Source/kwsys/kwsys_ios_sstream.h.in: ENH: Adding stringstream
- compatibility implementation. It is currently identical to
- ostringstream. Fixed local variable pcount hiding method
- warning.
-
-2006-12-14 11:41 malaterre
-
- * Source/kwsys/: kwsys_ios_sstream.h.in, testIOS.cxx: BUG: Remove
- stringstream implementation, this was a wrong interface anyway.
-
-2006-12-14 11:02 malaterre
-
- * Source/kwsys/testIOS.cxx: BUG: disable test for now
-
-2006-12-14 10:03 king
-
- * Source/cmSystemTools.cxx: ENH: Changes from Ryan C. Gordon to fix
- old process execution on BeOS.
-
-2006-12-14 03:26 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-13 16:44 andy
-
- * Modules/CPack.STGZ_Header.sh.in: BUG: Fixes for dash
-
-2006-12-13 13:24 martink
-
- * Source/cmPropertyMap.cxx: COMP: oops really did not mean to check
- in that change
-
-2006-12-13 12:19 martink
-
- * Source/: cmAuxSourceDirectoryCommand.cxx, cmCPluginAPI.cxx,
- cmCreateTestSourceList.cxx, cmFLTKWrapUICommand.cxx,
- cmMakefile.cxx, cmPropertyMap.cxx, cmSourceFile.cxx,
- cmSourceFile.h: ENH: allow source file properties to chain to
- Directories and up
-
-2006-12-13 12:11 martink
-
- * Modules/VTKCompatibility.cmake: ENH: fix for back VTK error
- message
-
-2006-12-13 08:52 malaterre
-
- * Source/kwsys/: kwsys_ios_sstream.h.in, testIOS.cxx: ENH: provide
- stringstream too. FIX: warning shadow var
-
-2006-12-13 03:23 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-12 14:39 martink
-
- * Source/: cmCommands.cxx, cmVTKMakeInstantiatorCommand.cxx,
- cmVTKMakeInstantiatorCommand.h, cmVTKWrapJavaCommand.cxx,
- cmVTKWrapJavaCommand.h, cmVTKWrapPythonCommand.cxx,
- cmVTKWrapPythonCommand.h, cmVTKWrapTclCommand.cxx,
- cmVTKWrapTclCommand.h: ENH: remove old commands
-
-2006-12-12 13:59 martink
-
- * Modules/VTKCompatibility.cmake: ENH: put in a better error
- message for VTK 4.0
-
-2006-12-12 13:59 martink
-
- * Tests/Wrapping/CMakeLists.txt: ENH: removed old VTK tests
-
-2006-12-12 11:17 martink
-
- * Modules/VTKCompatibility.cmake: ENH: minor cleanup
-
-2006-12-12 11:06 hoffman
-
- * Tests/CTestTest3/test.cmake.in: ENH: do not use svn until it is
- working again
-
-2006-12-12 10:07 martink
-
- * Source/: cmIfCommand.cxx, cmIfCommand.h,
- cmSetPropertiesCommand.cxx: ENH: fix a warning and a nice fix to
- the IF command
-
-2006-12-12 03:29 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-11 10:26 martink
-
- * Source/: cmSetPropertiesCommand.cxx, cmSetPropertiesCommand.h,
- cmSetSourceFilesPropertiesCommand.cxx,
- cmSetSourceFilesPropertiesCommand.h, cmake.cxx: ENH: improve
- SetProperties and fix a couple warnings
-
-2006-12-11 03:20 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-10 03:19 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-09 15:02 hoffman
-
- * Modules/: FindPkgConfig.cmake, UsePkgConfig.cmake: ENH: better
- backwards compatibility, and deprecate PKGCONFIG
-
-2006-12-09 11:25 malaterre
-
- * Source/kwsys/: CMakeLists.txt, DynamicLoader.cxx,
- DynamicLoader.hxx.in: BUG: revert yesterday patch. The
- implementation was correct. The problem was that _WIN32 was
- forced to be #define on cygwin when included from ITK, which was
- miss matching the implementation from the declaration. Put extra
- condition for CYGWIN system
-
-2006-12-09 03:32 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-08 15:52 malaterre
-
- * Source/kwsys/: CMakeLists.txt, DynamicLoader.cxx,
- DynamicLoader.hxx.in: BUG: Make sure to use the Win32 interface
- (HINSTANCE) for handling shared lib on cygwin and mingw system
-
-2006-12-08 09:27 martink
-
- * Source/: cmDocumentation.cxx, cmSetPropertiesCommand.cxx,
- cmTarget.cxx, cmake.cxx: COMP: fix some warnings and style issues
-
-2006-12-08 03:26 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-07 17:37 alex
-
- * Modules/FindRuby.cmake: BUG: fix 4164, also search for
- libruby1.8.so, I guess it should be synced with the KDE version
- of FindRUBY.cmake
-
- Alex
-
-2006-12-07 16:31 martink
-
- * Source/cmSetTestsPropertiesCommand.cxx: BUG: fix bad comparison
-
-2006-12-07 16:14 hoffman
-
- * Modules/Platform/BeOS.cmake: ENH: add beos file
-
-2006-12-07 15:23 martink
-
- * Source/cmSetTestsPropertiesCommand.cxx: COMP: fix a warning
-
-2006-12-07 14:54 martink
-
- * Source/: cmSetPropertiesCommand.cxx, cmSetPropertiesCommand.h,
- cmSetTestsPropertiesCommand.cxx, cmSetTestsPropertiesCommand.h:
- ENH: implements SetProperties for TEST
-
-2006-12-07 11:38 hoffman
-
- * Tests/CustComDepend/CMakeLists.txt: ENH: fix test for config dir
- based stuff
-
-2006-12-07 10:48 martink
-
- * bootstrap: COMP: fix bootstrap maybe
-
-2006-12-07 10:33 martink
-
- * Source/: cmPropertyMap.cxx, cmSetPropertiesCommand.cxx: COMP: fix
- warning
-
-2006-12-07 10:26 martink
-
- * Source/cmSetPropertiesCommand.cxx: COMP: fix warning right now
-
-2006-12-07 10:22 martink
-
- * Source/cmTest.cxx: BUG: fix missing return value
-
-2006-12-07 10:15 hoffman
-
- * Source/CMakeLists.txt: ENH: add test I removed by mistake
-
-2006-12-07 09:51 martink
-
- * Source/cmCPluginAPI.cxx: COMP: fix warning
-
-2006-12-07 09:44 martink
-
- * Source/CMakeLists.txt, Source/cmAuxSourceDirectoryCommand.cxx,
- Source/cmCPluginAPI.cxx, Source/cmCPluginAPI.h,
- Source/cmCommands.cxx, Source/cmCreateTestSourceList.cxx,
- Source/cmDocumentation.cxx, Source/cmDocumentation.h,
- Source/cmFLTKWrapUICommand.cxx, Source/cmForEachCommand.cxx,
- Source/cmGlobalGenerator.cxx, Source/cmIfCommand.cxx,
- Source/cmInstallFilesCommand.cxx,
- Source/cmInstallProgramsCommand.cxx, Source/cmLocalGenerator.cxx,
- Source/cmMacroCommand.cxx, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmPropertyMap.cxx,
- Source/cmSetDirectoryPropertiesCommand.cxx,
- Source/cmSetDirectoryPropertiesCommand.h,
- Source/cmSetTargetPropertiesCommand.cxx,
- Source/cmSetTargetPropertiesCommand.h, Source/cmSourceFile.cxx,
- Source/cmSourceFile.h, Source/cmTarget.cxx, Source/cmTarget.h,
- Source/cmTest.cxx, Source/cmTest.h,
- Source/cmVTKMakeInstantiatorCommand.cxx,
- Source/cmVTKWrapJavaCommand.cxx,
- Source/cmVTKWrapPythonCommand.cxx,
- Source/cmVTKWrapTclCommand.cxx, Source/cmWhileCommand.cxx,
- Source/cmake.cxx, Source/cmake.h, Source/cmakemain.cxx,
- Tests/Complex/Library/CMakeLists.txt,
- Tests/ComplexOneConfig/Library/CMakeLists.txt,
- Tests/ComplexRelativePaths/Library/CMakeLists.txt,
- Tests/LoadCommand/CMakeCommands/cmTestCommand.c,
- Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c,
- Source/cmDefinePropertyCommand.cxx,
- Source/cmDefinePropertyCommand.h: ENH: make properties a bit more
- formal with documentation and chaining
-
-2006-12-07 02:04 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-06 23:05 hoffman
-
- * Source/CMakeLists.txt, Source/cmLocalGenerator.cxx,
- Source/cmTarget.cxx, Tests/CustComDepend/CMakeLists.txt,
- Tests/CustComDepend/foo.cxx: ENH: fix bug in full path to target
- depends stuff
-
-2006-12-06 00:43 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-05 10:36 martink
-
- * Source/: cmPropertyDefinition.cxx: ENH: fix compiler warning
-
-2006-12-05 09:14 hoffman
-
- * Source/: cmSystemTools.cxx, CTest/cmCTestSubmitHandler.cxx: COMP:
- fix line length style error
-
-2006-12-05 09:02 hoffman
-
- * Source/kwsys/ProcessUNIX.c: COMP: remove warning
-
-2006-12-05 08:47 hoffman
-
- * bootstrap: ENH: fix bootstrap for mac
-
-2006-12-05 08:39 hoffman
-
- * Source/kwsys/ProcessUNIX.c: ENH: fix build error on IRIX
-
-2006-12-04 19:37 hoffman
-
- * Modules/FindDoxygen.cmake: ENH: fix for backwards compatibility
-
-2006-12-04 17:26 hoffman
-
- * bootstrap, Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CheckForPthreads.c, Source/cmCTest.cxx,
- Source/cmDependsJavaLexer.cxx, Source/cmDependsJavaLexer.h,
- Source/cmMakefile.cxx, Source/cmSystemTools.cxx,
- Source/kwsys/DynamicLoader.cxx,
- Source/kwsys/DynamicLoader.hxx.in, Source/kwsys/SystemTools.cxx,
- Source/kwsys/testDynamicLoader.cxx,
- Tests/Complex/Library/CMakeLists.txt,
- Tests/ComplexOneConfig/Library/CMakeLists.txt,
- Tests/ComplexRelativePaths/Library/CMakeLists.txt,
- Utilities/cmcurl/CMakeLists.txt, Utilities/cmtar/encode.c,
- Utilities/cmtar/extract.c, Utilities/cmtar/libtar.c,
- Utilities/cmtar/util.c: ENH: merge in changes for beos support
-
-2006-12-04 14:42 king
-
- * Source/kwsys/: ProcessUNIX.c, testProcess.c: ENH: Changes based
- on patch from Ryan C. Gordon to enable process execution on BeOS.
- There seems to be no way to implement it without polling (or
- threads).
-
-2006-12-04 13:54 king
-
- * Source/cmLocalGenerator.cxx: BUG: Do not print empty install
- configuration repeatedly.
-
-2006-12-04 11:52 hoffman
-
- * Modules/FindDoxygen.cmake: BUG: fix for bug 4102
-
-2006-12-04 11:44 hoffman
-
- * Modules/FindXMLRPC.cmake: BUG: fix for bug 4123, find xmlrpc in
- standard locations
-
-2006-12-04 11:19 martink
-
- * Source/CMakeLists.txt: ENH: added properties into the compile,
- but not that many
-
-2006-12-04 11:05 martink
-
- * Source/CMakeLists.txt: ENH: added properties into the compile
-
-2006-12-04 11:04 martink
-
- * Source/cmPropertyDefinitionMap.h: STYLE: fix line length
-
-2006-12-04 09:58 hoffman
-
- * CMakeLists.txt: ENH: move to actual release
-
-2006-12-02 13:17 hoffman
-
- * Source/CTest/cmCTestSubmitHandler.cxx: ENH: put checks on vector
- before referencing begin iterator
-
-2006-12-01 22:54 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-12-01 15:32 hoffman
-
- * Source/cmMacroCommand.cxx: ENH: fix warning
-
-2006-12-01 15:28 hoffman
-
- * Source/cmMacroCommand.cxx: ENH: fix warning
-
-2006-12-01 13:35 martink
-
- * Source/: cmProperty.cxx, cmProperty.h, cmPropertyDefinition.cxx,
- cmPropertyDefinition.h, cmPropertyDefinitionMap.cxx,
- cmPropertyDefinitionMap.h, cmPropertyMap.cxx, cmPropertyMap.h,
- cmSetPropertiesCommand.cxx, cmSetPropertiesCommand.h: ENH:
- getting some of the property changed chewcked into CVS at least
-
-2006-12-01 11:04 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Source/cmMacroCommand.cxx: ENH:
- merge in fix for seg fault and move to RC 4
-
-2006-12-01 10:30 hoffman
-
- * Source/cmMacroCommand.cxx: BUG: fix for 3815 seg fault
-
-2006-12-01 01:40 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-30 18:27 ibanez
-
- * Source/kwsys/: DynamicLoader.cxx, DynamicLoader.hxx.in: BUG:
- 4100. Fixing the Mac OS/X version in the Dynamic loader in kwsys,
- and replacing copy/pasted code in the itkDynamicLoader with
- usage of the kwsys loader. This was fixed in the HEAD by
- Mathieu Malaterre and Neil Weisenfeld. This changes in the
- branch are just the port of the bug fix from the HEAD.
-
-2006-11-30 18:13 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Source/cmOrderLinkDirectories.cxx, Source/cmTarget.cxx,
- Tests/LibName/CMakeLists.txt: ENH: move to RC 3 and add a fix for
- -L/path in link commands that was broken by the .dll.lib fix
-
-2006-11-30 17:50 hoffman
-
- * Source/cmOrderLinkDirectories.cxx: ENH: clean up comment and
- avoid some vector access calles
-
-2006-11-30 17:32 hoffman
-
- * Source/cmOrderLinkDirectories.cxx, Source/cmTarget.cxx,
- Tests/LibName/CMakeLists.txt: BUG: better fix for .dll.lib
- problem
-
-2006-11-30 16:23 alex
-
- * Modules/FindCups.cmake: ENH: add a module to find Cups (#3081),
- taken from KDE svn
-
- Alex
-
-2006-11-30 10:12 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Source/CMakeLists.txt,
- Source/cmOrderLinkDirectories.cxx, Tests/LibName/CMakeLists.txt,
- Tests/LibName/bar.c, Tests/LibName/foo.c, Tests/LibName/foobar.c:
- ENH: put fix for foo.dll.lib problem on branch with test
-
-2006-11-30 09:51 hoffman
-
- * Tests/LibName/foobar.c: ENH: make it work for hp
-
-2006-11-30 01:29 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-29 21:53 hoffman
-
- * Tests/LibName/: bar.c, foo.c, foobar.c: ENH: add extern for hp c
- compiler
-
-2006-11-29 21:36 hoffman
-
- * Source/CMakeLists.txt, Tests/LibName/CMakeLists.txt: ENH: fix
- test to run with debug or release and put the exe next to the
- dll, still shows the bug this is testing for
-
-2006-11-29 17:45 hoffman
-
- * bootstrap, Source/CMakeLists.txt, Source/cmake.cxx,
- Tests/LibName/bar.c, Tests/LibName/foo.c, Tests/LibName/foobar.c:
- ENH: fix errors for unix builds
-
-2006-11-29 17:25 hoffman
-
- * Source/CursesDialog/cmCursesLongMessageForm.cxx: ENH: fix warning
-
-2006-11-29 17:17 hoffman
-
- * Source/CursesDialog/: cmCursesLongMessageForm.cxx,
- cmCursesMainForm.cxx: ENH: there can be only one version
-
-2006-11-29 17:10 martink
-
- * Source/: cmMakefile.cxx, cmTarget.cxx: COMP: fix compile issue on
- Sun hopefully
-
-2006-11-29 17:02 hoffman
-
- * Source/CMakeLists.txt: ENH: fix test for configuration type
- builds
-
-2006-11-29 16:43 hoffman
-
- * Source/cmOrderLinkDirectories.cxx: ENH: fix compile error on mac
-
-2006-11-29 16:12 hoffman
-
- * Modules/: FindPkgConfig.cmake, UsePkgConfig.cmake: ENH: maintain
- backwards compatibility in UsePkgConfig
-
-2006-11-29 15:59 hoffman
-
- * Source/: cmCMakeMinimumRequired.cxx, cmCPluginAPI.cxx,
- cmCacheManager.cxx, cmGlobalGenerator.cxx, cmLocalGenerator.cxx,
- cmLocalUnixMakefileGenerator3.cxx, cmMakefile.cxx, cmMakefile.h,
- cmake.cxx, cmake.h: ENH: unify version stuff, get rid of it out
- of cmake and cmMakefile and only use cmVersion
-
-2006-11-29 15:57 hoffman
-
- * Source/cmOrderLinkDirectories.cxx, Tests/LibName/CMakeLists.txt,
- Tests/LibName/bar.c, Tests/LibName/foo.c, Tests/LibName/foobar.c,
- Source/CMakeLists.txt: BUG: fix a problem where it tried to link
- .dll.lib files
-
-2006-11-29 15:45 martink
-
- * Source/: cmMakefile.cxx, cmTarget.cxx: COMP: fix compile issue on
- Sun
-
-2006-11-29 12:56 malaterre
-
- * Source/kwsys/: DynamicLoader.cxx, DynamicLoader.hxx.in: BUG: Fix
- problem with loading dylib on Tiger (10.4) x86. We need to be
- using the dlopen/dlclose instead of the old NSModule
-
-2006-11-29 11:00 martink
-
- * Source/: cmMakefile.cxx, cmTarget.cxx, cmTarget.h,
- cmTargetLinkLibrariesCommand.cxx, cmTargetLinkLibrariesCommand.h:
- ENH: updated handling of debug and optimized target link
- libraries
-
-2006-11-28 16:09 hoffman
-
- * Source/: cmConfigure.cmake.h.in, cmMakefile.cxx, cmVersion.cxx:
- ENH: add rc to version stuff
-
-2006-11-28 16:03 hoffman
-
- * CMakeLists.txt, Source/cmConfigure.cmake.h.in,
- Source/cmMakefile.cxx, Source/cmVersion.cxx: ENH: add release
- candidate to versions
-
-2006-11-28 14:45 hoffman
-
- * Utilities/Release/: create-cmake-release.cmake,
- r15n65_aix_release.cmake: ENH: use older os for AIX release
-
-2006-11-28 14:19 hoffman
-
- * ChangeLog.manual, Modules/FindKDE4.cmake, Modules/FindQt3.cmake,
- Source/CMakeLists.txt, Source/cmLocalGenerator.cxx,
- Source/cmMakefileTargetGenerator.cxx, Source/cmTarget.cxx,
- Tests/Simple/CMakeLists.txt, Tests/TargetName/CMakeLists.txt,
- Tests/TargetName/executables/CMakeLists.txt,
- Tests/TargetName/executables/hello_world.c,
- Tests/TargetName/scripts/CMakeLists.txt,
- Tests/TargetName/scripts/hello_world,
- Tests/Wrapping/CMakeLists.txt, Utilities/cmcurl/CMakeLists.txt:
- ENH: merge in changes from the main tree
-
-2006-11-28 09:49 hoffman
-
- * Source/CMakeLists.txt: ENH: use the built cmake for file compare
- as older versions of cmake may not support this
-
-2006-11-28 00:05 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-27 16:15 hoffman
-
- * Source/CMakeLists.txt: ENH: use correct project name
-
-2006-11-27 16:13 hoffman
-
- * Source/cmMakefileTargetGenerator.cxx,
- Tests/Simple/CMakeLists.txt: ENH: make sure things do not depend
- on optimized libraries if they are debug, and the other way
- around as well
-
-2006-11-27 15:14 hoffman
-
- * Source/CMakeLists.txt, Tests/TargetName/CMakeLists.txt,
- Tests/TargetName/executables/CMakeLists.txt,
- Tests/TargetName/executables/hello_world.c,
- Tests/TargetName/scripts/CMakeLists.txt,
- Tests/TargetName/scripts/hello_world: ENH: add a test for a
- target name with the same name as the output of a custom command
-
-2006-11-27 12:14 hoffman
-
- * Source/cmTarget.cxx: ENH: fix line length problem
-
-2006-11-27 12:11 hoffman
-
- * Source/cmTarget.cxx: ENH: fix crash in plplot build
-
-2006-11-27 10:42 hoffman
-
- * Utilities/cmcurl/CMakeLists.txt: ENH: save logs of passed try
- compile stuff as well
-
-2006-11-26 07:12 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-25 21:43 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-25 21:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-25 10:59 hoffman
-
- * Source/: cmLocalGenerator.cxx, cmTarget.cxx: BUG: fix problem
- when a target name is the same as the output of a custom command
-
-2006-11-25 07:59 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-23 07:37 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-22 19:28 alex
-
- * Modules/FindKDE4.cmake: ENH: kde-config has been renamed to
- kde4-config several weeks ago, so it's not necessary anymore to
- use "kde-config" as fallback, since this will surely be a wrong
- version
-
- Alex
-
-2006-11-22 14:26 hoffman
-
- * Source/CMakeLists.txt: ENH: make sure it is qt3 before running
- test
-
-2006-11-22 14:22 hoffman
-
- * Tests/Wrapping/CMakeLists.txt: ENH: make sure it is qt3 before
- running test
-
-2006-11-22 13:44 hoffman
-
- * Modules/: FindPkgConfig.cmake, UsePkgConfig.cmake: ENH: check in
- new pkgconfig stuff from Enrico Scholz
-
-2006-11-22 13:30 hoffman
-
- * Modules/FindQt3.cmake, Tests/Wrapping/CMakeLists.txt: ENH: make
- sure findqt3 finds qt3 and not qt4
-
-2006-11-22 09:58 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-21 13:25 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-21 07:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-20 14:23 hoffman
-
- * Source/cmMakefile.cxx: ENH: fix from main tree
-
-2006-11-20 13:57 hoffman
-
- * Source/cmMakefile.cxx: ENH: fix for when a library is tagged both
- debug and optimized
-
-2006-11-20 08:16 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-19 08:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-18 08:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-17 15:55 hoffman
-
- * Source/: cmMakefile.cxx, CPack/cmCPackNSISGenerator.cxx: ENH:
- move fix for replace of @var@ in cmake files from main tree and a
- better message for cpack and nsis
-
-2006-11-17 15:35 hoffman
-
- * Source/cmMakefile.cxx: BUG: undo bug fix 2722, still replace
- @foo@ in cmake files
-
-2006-11-17 11:14 martink
-
- * Source/CPack/cmCPackNSISGenerator.cxx: STYLE: fix a long line
-
-2006-11-17 08:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-16 15:57 hoffman
-
- * ChangeLog.manual, Source/cmMakefile.cxx: ENH: move fix from main
- tree
-
-2006-11-16 15:31 martink
-
- * Source/cmIfCommand.cxx: ENH: remove old hack now that project
- level compatibility files are supported
-
-2006-11-16 15:29 martink
-
- * Modules/VTKCompatibility.cmake: ENH: added to handle case in very
- old odd versions of VTK
-
-2006-11-16 15:28 martink
-
- * Modules/ITKCompatibility.cmake: ENH: added to handle case in ITK
- 2.8 and earlier
-
-2006-11-16 10:57 martink
-
- * Source/: cmMakefile.cxx, cmTarget.cxx: ENH: fix a bug with useing
- debuf optimized libs from other builds
-
-2006-11-16 08:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-15 08:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-14 09:03 hoffman
-
- * CMakeLists.txt: ENH: try again for 2.4.4
-
-2006-11-14 08:09 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-13 22:08 andy
-
- * Source/CPack/cmCPackNSISGenerator.cxx: ENH: Expand comment
-
-2006-11-13 15:25 hoffman
-
- * ChangeLog.manual, Modules/FindQt4.cmake: ENH: move from main tree
-
-2006-11-13 14:22 hoffman
-
- * Modules/FindQt4.cmake: ENH: add depend information from qrc files
-
-2006-11-13 12:59 hoffman
-
- * ChangeLog.manual, Modules/CMakeVCManifestExe.cmake,
- Modules/FindSubversion.cmake, Modules/Platform/Windows-cl.cmake,
- Source/cmFindBase.cxx: ENH: merge changes in from main tree
-
-2006-11-13 08:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-12 08:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-11 14:06 hoffman
-
- * Source/cmFindBase.cxx: BUG: fix for 4009 lib64 should work with
- path suffix
-
-2006-11-11 14:04 hoffman
-
- * Modules/: CMakeVCManifestExe.cmake, Platform/Windows-cl.cmake:
- BUG: use different commands for shared libraries and exe for
- manifest stuff fix for bug#4039
-
-2006-11-11 08:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-10 10:54 hoffman
-
- * Source/cmGlobalGenerator.cxx: ENH: move from main tree
-
-2006-11-10 10:12 hoffman
-
- * Modules/FindMPI.cmake, Modules/FindQt4.cmake, Modules/readme.txt,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalVisualStudio71Generator.cxx,
- Source/cmGlobalVisualStudio71Generator.h,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.h,
- Source/cmGlobalVisualStudio8Generator.cxx,
- Source/cmGlobalVisualStudio8Generator.h,
- Source/cmSetTargetPropertiesCommand.h, Source/cmake.cxx,
- Source/cmake.h, Source/CTest/cmCTestBuildHandler.cxx,
- Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt: ENH: merge from main
- tree fix for vs all build qt and mpi2
-
-2006-11-10 09:32 hoffman
-
- * Source/cmGlobalGenerator.cxx: ENH: remove warning
-
-2006-11-10 08:11 hoffman
-
- * Source/cmGlobalGenerator.cxx: BUG: fix for broken borland
- compiler
-
-2006-11-10 08:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-09 16:07 hoffman
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: fix it to work with
- stl debug mode on mac
-
-2006-11-09 09:57 hoffman
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio71Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h,
- cmGlobalVisualStudio8Generator.cxx,
- cmGlobalVisualStudio8Generator.h, cmSetTargetPropertiesCommand.h:
- ENH: commit fix for putting everything in the build on vs
-
-2006-11-09 08:09 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-08 08:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-07 08:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-06 08:09 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-05 08:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-04 08:06 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-03 08:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-02 19:58 hoffman
-
- * Modules/FindMPI.cmake: ENH: add support for finding mpich2 on
- windows
-
-2006-11-02 17:51 hoffman
-
- * Modules/FindQt4.cmake: ENH: look for QtAssistantClient4
-
-2006-11-02 17:16 hoffman
-
- * CMakeLists.txt: ENH: abort 2.4.4 for now
-
-2006-11-02 08:09 hoffman
-
- * CMakeLists.txt: ENH: this is 2.4.4
-
-2006-11-02 08:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-11-01 09:06 king
-
- * Modules/readme.txt: ENH: Added XXX_RUNTIME_LIBRARY_DIRS as a
- suggested variable.
-
-2006-11-01 08:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-10-31 14:28 andy
-
- * Source/: cmGlobalGenerator.cxx, cmInstallTargetGenerator.cxx,
- cmake.cxx, cmake.h: ENH: Cleanup of install component list. There
- was already the list in the global generator. Use that one
-
-2006-10-31 06:43 andy
-
- * Source/cmInstallTargetGenerator.cxx: STYLE: Fix kwstyle
-
-2006-10-30 15:59 andy
-
- * Source/: cmGlobalGenerator.cxx, cmInstallTargetGenerator.cxx,
- cmake.cxx, cmake.h: ENH: Add support for displaying the list of
- components
-
-2006-10-30 15:30 king
-
- * Modules/FindSubversion.cmake: ENH: Adding FindSubversion module
- from Tristan Carel. This addresses bug#3987.
-
-2006-10-30 11:36 hoffman
-
- * Source/CPack/: cmCPackGenericGenerator.cxx,
- cmCPackPackageMakerGenerator.cxx, cmCPackTGZGenerator.cxx,
- cmCPackTarBZip2Generator.cxx, cmCPackTarCompressGenerator.cxx:
- ENH: merge fix for cpack crash into main tree
-
-2006-10-30 11:22 hoffman
-
- * Source/CPack/: cmCPackGenericGenerator.cxx,
- cmCPackPackageMakerGenerator.cxx, cmCPackTGZGenerator.cxx,
- cmCPackTarBZip2Generator.cxx, cmCPackTarCompressGenerator.cxx:
- ENH: make sure null const char* is not put into ossttringstream
- to avoid seg faults
-
-2006-10-30 10:38 king
-
- * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt: ENH: Added test case for
- bug#3966.
-
-2006-10-30 09:54 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-10-30 09:17 hoffman
-
- * Modules/FindJNI.cmake: ENH: move from main tree
-
-2006-10-27 17:30 andy
-
- * Modules/FindJNI.cmake: ENH: More documentation
-
-2006-10-27 17:29 andy
-
- * Modules/FindJNI.cmake: ENH: Add support for libjvm
-
-2006-10-27 16:03 hoffman
-
- * Utilities/cmThirdParty.h.in, Utilities/cm_curl.h,
- Utilities/cm_expat.h, Utilities/cm_xmlrpc.h, Utilities/cm_zlib.h,
- Modules/CMakeDependentOption.cmake, Modules/FindCURL.cmake,
- Modules/FindEXPAT.cmake, Modules/FindXMLRPC.cmake,
- Tests/SimpleInstall/PackageScript.cmake,
- Tests/SimpleInstallS2/PackageScript.cmake: ENH: move from main
- tree
-
-2006-10-27 16:01 hoffman
-
- * CMakeLists.txt, CTestCustom.ctest.in, ChangeLog.manual,
- bootstrap, doxygen.config, Modules/CMakeGenericSystem.cmake,
- Modules/CPack.cmake, Modules/CTestTargets.cmake,
- Modules/FindDoxygen.cmake, Modules/FindJNI.cmake,
- Modules/FindJava.cmake, Modules/FindKDE3.cmake,
- Modules/FindPerl.cmake, Modules/FindQt4.cmake,
- Modules/FindTclsh.cmake, Modules/FindWish.cmake,
- Modules/FindwxWidgets.cmake, Modules/NSIS.template.in,
- Modules/UsewxWidgets.cmake, Modules/Platform/CYGWIN.cmake,
- Modules/Platform/Windows-cl.cmake,
- Modules/Platform/Windows-gcc.cmake, Source/CMakeLists.txt,
- Source/cmCTest.cxx, Source/cmCTest.h, Source/cmDocumentation.cxx,
- Source/cmExecuteProcessCommand.cxx,
- Source/cmExecuteProcessCommand.h, Source/cmFindBase.cxx,
- Source/cmFindPackageCommand.cxx, Source/cmFindPackageCommand.h,
- Source/cmGeneratedFileStream.cxx,
- Source/cmGetDirectoryPropertyCommand.cxx,
- Source/cmGlobalGenerator.cxx,
- Source/cmGlobalMinGWMakefileGenerator.cxx,
- Source/cmGlobalWatcomWMakeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.cxx, Source/cmIfCommand.cxx,
- Source/cmIfCommand.h, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalUnixMakefileGenerator3.h,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Source/cmLocalVisualStudioGenerator.cxx,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmSetTargetPropertiesCommand.h, Source/cmSystemTools.cxx,
- Source/cmTarget.cxx, Source/cmTarget.h, Source/cmXMLParser.cxx,
- Source/cmake.cxx, Source/CPack/cmCPackGenericGenerator.cxx,
- Source/CPack/cmCPackGenericGenerator.h,
- Source/CPack/cmCPackNSISGenerator.cxx,
- Source/CPack/cmCPackTGZGenerator.cxx, Source/CPack/cpack.cxx,
- Source/CTest/cmCTestBuildHandler.cxx,
- Source/CTest/cmCTestCoverageHandler.cxx,
- Source/CTest/cmCTestMemCheckHandler.cxx,
- Source/CTest/cmCTestScriptHandler.cxx,
- Source/CTest/cmCTestScriptHandler.h,
- Source/CTest/cmCTestSubmitHandler.cxx,
- Source/CTest/cmCTestTestHandler.cxx,
- Source/CTest/cmCTestTestHandler.h,
- Source/CTest/cmCTestUpdateHandler.cxx,
- Source/kwsys/CMakeLists.txt, Source/kwsys/System.c,
- Source/kwsys/System.h.in, Source/kwsys/SystemTools.cxx,
- Source/kwsys/SystemTools.cxx.bak,
- Source/kwsys/kwsysPlatformCxxTests.cmake,
- Source/kwsys/kwsysPlatformCxxTests.cxx,
- Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate,
- Tests/CTestTest2/test.cmake.in, Tests/CTestTest3/test.cmake.in,
- Tests/Complex/CMakeLists.txt, Tests/Complex/cmTestConfigure.h.in,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexOneConfig/cmTestConfigure.h.in,
- Tests/ComplexRelativePaths/CMakeLists.txt,
- Tests/ComplexRelativePaths/cmTestConfigure.h.in,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/complex.cxx,
- Tests/CustomCommand/CMakeLists.txt,
- Tests/MacroTest/CMakeLists.txt, Tests/OutOfSource/CMakeLists.txt,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt,
- Tests/StringFileTest/CMakeLists.txt,
- Utilities/cmtar/CMakeLists.txt, Utilities/cmtar/config.h.in,
- Utilities/cmtar/libtar.c: ENH: move changes from main tree
-
-2006-10-27 15:59 hoffman
-
- * Modules/FindJNI.cmake: ENH: remove JavaEmbedding
-
-2006-10-27 15:55 hoffman
-
- * CTestCustom.ctest.in: ENH: fix warnings on windows paths
-
-2006-10-26 11:39 king
-
- * Source/: cmFindPackageCommand.cxx, cmFindPackageCommand.h: ENH:
- Added NO_MODULE and COMPONENTS options to improve flexibility of
- the command. Re-implemented argument parsing to be simpler and
- more robust.
-
-2006-10-26 11:01 andy
-
- * Source/CTest/cmCTestUpdateHandler.cxx: STYLE: Fix typo
-
-2006-10-26 10:49 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: When writing
- newlines between script portions in prebuild, prelink, and
- postbuild command lines they must be escaped for XML so that the
- IDE receives them. This fixes the fix for bug #3977.
-
-2006-10-25 14:03 king
-
- * Source/cmLocalVisualStudio6Generator.cxx: COMP: Remove unused
- variable.
-
-2006-10-25 12:49 king
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: BUG: Adjust
- prebuild/prelink/postbuild script construction to account for
- ConstructScript no longer producing trailing newlines. This
- addresses bug#3977.
-
-2006-10-25 12:27 king
-
- * Source/cmLocalVisualStudioGenerator.cxx: BUG: Avoid leading and
- trailing newlines in custom command scripts because some VS6
- versions do not like the trailing backslash this produces. This
- addresses bug#3977.
-
-2006-10-25 11:23 king
-
- * Tests/CustomCommand/CMakeLists.txt: ENH: Re-enabling # escape
- test now that it is implemented everywhere.
-
-2006-10-25 11:23 king
-
- * Source/: cmGlobalWatcomWMakeGenerator.cxx, cmLocalGenerator.cxx,
- cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.h,
- kwsys/System.c, kwsys/System.h.in: ENH: Adding support for #
- escape in Watcom WMake.
-
-2006-10-25 10:58 king
-
- * Tests/MacroTest/CMakeLists.txt: BUG: EQUAL -> STREQUAL for string
- comparison.
-
-2006-10-25 10:57 king
-
- * Source/cmIfCommand.cxx: BUG: It cannot be an error if the values
- do not convert. The docs say that if the values do not convert
- the test is false.
-
-2006-10-25 10:31 king
-
- * Source/cmIfCommand.cxx: BUG: For LESS, GREATER, and EQUAL check
- that the arguments can actually be converted to numbers. Also
- force the conversion results to be stored in memory to make sure
- they both use the same precision. This addresses bug#3966.
-
-2006-10-25 09:54 andy
-
- * Source/CMakeLists.txt: COMP: Remove unnecessary provocation
-
-2006-10-25 09:54 andy
-
- * Tests/CTestTest3/test.cmake.in: BUG: Attempt to fix the test
-
-2006-10-25 08:56 andy
-
- * Source/CTest/cmCTestCoverageHandler.cxx: STYLE: Fix line length
-
-2006-10-24 17:56 alex
-
- * Modules/FindPerl.cmake: BUG: honor the REQUIRED flag for Perl,
- please backport to 2.4 branch so that it will be in 2.4.4
-
- Alex
-
-2006-10-24 12:44 andy
-
- * Source/CTest/cmCTestCoverageHandler.cxx: BUG: Looks like gcov
- produces lines with string /*EOF*/ on them if there is no line at
- the end of the file. This will fix the coverage code complaining
- about it
-
-2006-10-24 11:06 hoffman
-
- * Source/CMakeLists.txt: ENH: remove failing test
-
-2006-10-24 10:03 hoffman
-
- * Modules/FindDoxygen.cmake: ENH: fix more doxygen issues
-
-2006-10-24 10:03 hoffman
-
- * Modules/FindJNI.cmake: ENH: remove JavaEmbedding framework
-
-2006-10-24 09:47 king
-
- * Tests/CustomCommand/CMakeLists.txt: BUG: Disable testing of #
- escapes until it can be implemented for Watcom WMake.
-
-2006-10-23 19:04 alex
-
- * Modules/FindKDE3.cmake: BUG: fix #3955: add -O2 by default but
- only if no special buildtype is set
-
- Alex
-
-2006-10-23 17:20 king
-
- * Source/kwsys/System.c, Tests/CustomCommand/CMakeLists.txt: ENH:
- Added # character for shell escaping.
-
-2006-10-23 17:14 king
-
- * Source/cmIfCommand.cxx, Source/cmIfCommand.h,
- Tests/StringFileTest/CMakeLists.txt: ENH: Remove old
- IF(FILE_IS_NEWER) syntax. It was never in a release anyway.
-
-2006-10-23 16:16 king
-
- * Source/cmake.cxx: BUG: Do not display cmake -E usage when any old
- command line error occurs.
-
-2006-10-23 14:51 hoffman
-
- * Modules/FindDoxygen.cmake: ENH: put in backwards compatibility
- for older cmake
-
-2006-10-23 13:36 king
-
- * Tests/StringFileTest/CMakeLists.txt, Source/cmIfCommand.cxx,
- Source/cmIfCommand.h: ENH: Patch from Alex to provide nicer
- syntax for FILE_IS_NEWER. Using name IS_NEWER_THAN so old syntax
- will continue to work.
-
-2006-10-22 19:21 hoffman
-
- * Source/CMakeLists.txt: ENH: remove broken test
-
-2006-10-22 11:57 king
-
- * Tests/: Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: COMP: Fixed typo:
- CMAKE_TEST_CMAKELIB -> COMPLEX_TEST_CMAKELIB.
-
-2006-10-19 15:45 king
-
- * Utilities/cmtar/CMakeLists.txt: ENH: Remove old include dirs.
-
-2006-10-19 15:17 king
-
- * bootstrap: ENH: Adding option to use system-installed third-party
- libraries. This addresses bug#3653.
-
-2006-10-19 15:00 king
-
- * CMakeLists.txt, Source/CMakeLists.txt, Source/cmCTest.cxx,
- Source/cmGeneratedFileStream.cxx, Source/cmSystemTools.cxx,
- Source/cmXMLParser.cxx, Source/CPack/cmCPackTGZGenerator.cxx,
- Source/CTest/cmCTestSubmitHandler.cxx,
- Utilities/cmThirdParty.h.in, Utilities/cm_curl.h,
- Utilities/cm_expat.h, Utilities/cm_xmlrpc.h, Utilities/cm_zlib.h,
- Utilities/cmtar/CMakeLists.txt, Utilities/cmtar/config.h.in,
- Utilities/cmtar/libtar.c: ENH: Add options to build with system
- utility libraries. Organize inclusion of third party libraries
- into a single header per library. This addresses bug#3653.
-
-2006-10-19 14:48 king
-
- * Modules/CMakeDependentOption.cmake: ENH: Adding
- CMAKE_DEPENDENT_OPTION macro.
-
-2006-10-19 14:45 king
-
- * Tests/: Complex/CMakeLists.txt, Complex/cmTestConfigure.h.in,
- ComplexOneConfig/CMakeLists.txt,
- ComplexOneConfig/cmTestConfigure.h.in,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/cmTestConfigure.h.in,
- Complex/Executable/CMakeLists.txt,
- Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/complex.cxx: ENH: Added explicit
- name for option to test CMakeLib. Added option to disable
- testing of CMakeLib if system utility libraries are used until
- linking made easier.
-
-2006-10-19 12:58 king
-
- * Modules/FindXMLRPC.cmake: ENH: Find module for XMLRPC libraries.
-
-2006-10-19 12:57 king
-
- * Modules/FindEXPAT.cmake: ENH: Find module for EXPAT library.
-
-2006-10-19 12:55 king
-
- * Modules/FindCURL.cmake: ENH: Find module for CURL library.
-
-2006-10-19 10:45 martink
-
- * Source/: cmCTest.cxx, cmCTest.h, CTest/cmCTestBuildHandler.cxx,
- CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestScriptHandler.cxx,
- CTest/cmCTestScriptHandler.h, CTest/cmCTestTestHandler.cxx: ENH:
- added total time limit for a CTest run bug 1207
-
-2006-10-19 10:07 king
-
- * Modules/: FindwxWidgets.cmake, UsewxWidgets.cmake: ENH: Patch
- from Jan for bug#3453. Cleans up find script and enables
- -isystem feature for use script.
-
-2006-10-19 09:18 king
-
- * Source/cmFindBase.cxx: ENH: Clarified search behavior when the
- objective is not found.
-
-2006-10-18 23:27 david.cole
-
- * Source/kwsys/SystemTools.cxx: BUG: Correct the
- SystemReportDebugHook function. It should not call exit. It gets
- called multiple times at shutdown in a memory leak reporting
- scenario... This is the source of the long standing KWWidgetsTour
- debug build dashboard failure.
-
-2006-10-17 09:34 king
-
- * Source/CPack/cpack.cxx: STYLE: Fixed line-too-long.
-
-2006-10-16 18:17 king
-
- * Modules/Platform/CYGWIN.cmake, Modules/Platform/Windows-cl.cmake,
- Modules/Platform/Windows-gcc.cmake, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmSetTargetPropertiesCommand.h, Source/cmTarget.cxx,
- Source/cmTarget.h, Templates/DLLHeader.dsptemplate,
- Templates/EXEHeader.dsptemplate: ENH: Adding image version number
- (major.minor) property to windows binaries. Default is 0.0, but
- the VERSION target property may change the value. Windows now
- has first-class support for dll and exe versioning. This
- addresses bug#1219.
-
-2006-10-16 15:18 king
-
- * Source/cmGetDirectoryPropertyCommand.cxx,
- Tests/OutOfSource/CMakeLists.txt: BUG: Need to collapse path
- argument to get_directory_property. This addresses bug#3847.
-
-2006-10-16 14:52 king
-
- * Source/cmDocumentation.cxx: ENH: Make hyperlinks in documentation
- active when generated into HTML documents. This addresses
- bug#3906.
-
-2006-10-16 13:58 king
-
- * Modules/CMakeGenericSystem.cmake: ENH: Allow user project code to
- distinguish between an install prefix set on the command line and
- one set by CMake as a default. This is useful for changing the
- default prefix while still allowing the user to override it.
-
-2006-10-16 12:49 martink
-
- * Source/cmake.cxx: BUG: partial fix for the progress after install
- bug
-
-2006-10-16 12:47 hoffman
-
- * Utilities/Release/: create-cmake-release.cmake,
- magrathea_release.cmake, r36n11_aix_release.cmake,
- release_cmake.sh.in, upload_release.cmake: ENH: update for
- release
-
-2006-10-16 11:32 king
-
- * Source/: cmExecuteProcessCommand.cxx, cmExecuteProcessCommand.h:
- ENH: Added OUTPUT_STRIP_TRAILING_WHITESPACE and
- ERROR_STRIP_TRAILING_WHITESPACE options to EXECUTE_PROCESS
- command. These allow it to behave more like the old EXEC_PROGRAM
- command that it is supposed to replace.
-
-2006-10-16 10:47 hoffman
-
- * Modules/FindDoxygen.cmake: BUG: fix for bug# 3310
-
-2006-10-15 07:54 andy
-
- * Source/: cmCTest.cxx, CPack/cmCPackGenericGenerator.cxx,
- CTest/cmCTestCoverageHandler.cxx: STYLE: Fix kwstyle
-
-2006-10-13 17:10 andy
-
- * Source/cmCTest.cxx, Source/cmCTest.h,
- Tests/CTestTest2/test.cmake.in: ENH: Properly propagate config
- type to test
-
-2006-10-13 16:13 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for bug#3908
- if header_file_only is set on cxx files in visual studio do not
- compile them
-
-2006-10-13 15:04 king
-
- * Modules/NSIS.template.in: BUG: Compression must be set before any
- output is created.
-
-2006-10-13 14:44 andy
-
- * Source/CTest/cmCTestTestHandler.h: COMP: Fix Sun build
-
-2006-10-13 13:59 king
-
- * Source/cmMakefileLibraryTargetGenerator.cxx: BUG: When using link
- scripts use native shell escapes instead of makefile shell
- escapes because the script is not interpreted by a make tool.
-
-2006-10-13 11:53 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: allow for -gdwarf-2 to be
- in cflags or cxxflags for xcode
-
-2006-10-13 11:26 hoffman
-
- * doxygen.config: BUG: fix for bug# 3921 INPUT wrong
-
-2006-10-13 11:25 hoffman
-
- * Modules/: FindTclsh.cmake, FindWish.cmake: BUG: fix for bug #3846
- more advanced stuff
-
-2006-10-13 11:23 hoffman
-
- * Modules/FindQt4.cmake: BUG: fix for bug#3898 find qt plugin dir
-
-2006-10-13 10:57 hoffman
-
- * CMake.pdf, CMake.rtf, Docs/CMake12p2.rtf, Docs/CMake14.rtf,
- Docs/CMake16.rtf, Modules/CMakeVCManifest.cmake,
- Modules/COPYING-CMAKE-SCRIPTS, Modules/CheckCCompilerFlag.cmake,
- Modules/CheckCSourceRuns.cmake,
- Modules/CheckCXXCompilerFlag.cmake,
- Modules/CheckCXXSourceRuns.cmake, Modules/FindASPELL.cmake,
- Modules/FindBZip2.cmake, Modules/FindHSPELL.cmake,
- Modules/FindJasper.cmake, Modules/FindLibXml2.cmake,
- Modules/FindLibXslt.cmake, Modules/FindOpenSSL.cmake,
- Source/cmElseIfCommand.cxx, Source/cmElseIfCommand.h,
- Source/cmEndMacroCommand.cxx, Source/cmEndMacroCommand.h,
- Source/cmInstallDirectoryGenerator.cxx,
- Source/cmInstallDirectoryGenerator.h, Source/cmStandardLexer.h,
- Source/kwsys/CMakeEmptyInputFile.in,
- Source/kwsys/CheckCXXSourceRuns.cmake, Source/kwsys/IOStream.cxx,
- Source/kwsys/IOStream.hxx.in, Source/kwsys/System.c,
- Source/kwsys/System.h.in, Source/kwsys/SystemTools.cxx.bak,
- Source/kwsys/SystemTools.hxx.in.bak,
- Source/kwsys/kwsysPlatformCxxTests.cmake.bak,
- Source/kwsys/kwsysPlatformCxxTests.cxx.bak,
- Source/kwsys/kwsysPlatformTests.cmake,
- Source/kwsys/kwsysPlatformTestsC.c,
- Source/kwsys/kwsysPlatformTestsCXX.cxx,
- Tests/Complex/Executable/A.cxx.bak, Tests/Complex/Executable/A.h,
- Tests/Complex/Executable/A.hh, Tests/Complex/Executable/A.txt,
- Tests/Complex/Executable/notInAllExe.cxx,
- Tests/Complex/Executable/testSystemDir.cxx,
- Tests/Complex/Library/TestLink.c,
- Tests/Complex/Library/notInAllLib.cxx,
- Tests/Complex/Library/test_preprocess.cmake,
- Tests/Complex/Library/SystemDir/testSystemDir.h,
- Tests/ComplexOneConfig/Executable/A.cxx.bak,
- Tests/ComplexOneConfig/Executable/A.h,
- Tests/ComplexOneConfig/Executable/A.hh,
- Tests/ComplexOneConfig/Executable/A.txt,
- Tests/ComplexOneConfig/Executable/notInAllExe.cxx,
- Tests/ComplexOneConfig/Executable/testSystemDir.cxx,
- Tests/ComplexOneConfig/Library/TestLink.c,
- Tests/ComplexOneConfig/Library/notInAllLib.cxx,
- Tests/ComplexOneConfig/Library/test_preprocess.cmake,
- Tests/ComplexOneConfig/Library/SystemDir/testSystemDir.h,
- Tests/ComplexRelativePaths/Executable/A.cxx.bak,
- Tests/ComplexRelativePaths/Executable/A.h,
- Tests/ComplexRelativePaths/Executable/A.hh,
- Tests/ComplexRelativePaths/Executable/A.txt,
- Tests/ComplexRelativePaths/Executable/notInAllExe.cxx,
- Tests/ComplexRelativePaths/Executable/testSystemDir.cxx,
- Tests/ComplexRelativePaths/Library/TestLink.c,
- Tests/ComplexRelativePaths/Library/notInAllLib.cxx,
- Tests/ComplexRelativePaths/Library/test_preprocess.cmake,
- Tests/ComplexRelativePaths/Library/SystemDir/testSystemDir.h,
- Tests/CustomCommand/check_command_line.c.in,
- Tests/OutOfBinary/CMakeLists.txt, Tests/OutOfBinary/outlib.c,
- Tests/SimpleInstall/scripts/sample_script,
- Tests/SimpleInstall/scripts/sample_script.bat,
- Tests/SimpleInstallS2/scripts/sample_script,
- Tests/SimpleInstallS2/scripts/sample_script.bat,
- Utilities/cmcompress/CMakeLists.txt,
- Utilities/cmcompress/cmcompress.c,
- Utilities/cmcompress/cmcompress.h: ENH: merge files from main
- tree to 2.4
-
-2006-10-13 10:52 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, bootstrap,
- Docs/cmake-indent.vim, Docs/cmake-mode.el, Docs/cmake-syntax.vim,
- Modules/CMakeCXXInformation.cmake,
- Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakeDetermineFortranCompiler.cmake,
- Modules/CMakeDetermineRCCompiler.cmake,
- Modules/CMakeFortranInformation.cmake,
- Modules/CMakeSystemSpecificInformation.cmake,
- Modules/CheckCSourceCompiles.cmake,
- Modules/CheckCXXSourceCompiles.cmake, Modules/FindDoxygen.cmake,
- Modules/FindGLUT.cmake, Modules/FindKDE3.cmake,
- Modules/FindPNG.cmake, Modules/FindPythonInterp.cmake,
- Modules/FindPythonLibs.cmake, Modules/FindQt3.cmake,
- Modules/FindQt4.cmake, Modules/FindRuby.cmake,
- Modules/FindSDL.cmake, Modules/FindTCL.cmake,
- Modules/FindwxWidgets.cmake,
- Modules/InstallRequiredSystemLibraries.cmake,
- Modules/KDE3Macros.cmake, Modules/UseEcos.cmake,
- Modules/UseQt4.cmake, Modules/UseSWIG.cmake,
- Modules/kde3uic.cmake, Modules/readme.txt,
- Modules/Platform/AIX.cmake, Modules/Platform/CYGWIN.cmake,
- Modules/Platform/Darwin.cmake, Modules/Platform/FreeBSD.cmake,
- Modules/Platform/HP-UX.cmake, Modules/Platform/IRIX.cmake,
- Modules/Platform/IRIX64.cmake, Modules/Platform/Linux.cmake,
- Modules/Platform/QNX.cmake, Modules/Platform/SunOS.cmake,
- Modules/Platform/UnixPaths.cmake,
- Modules/Platform/Windows-cl.cmake,
- Modules/Platform/Windows-gcc.cmake, Modules/Platform/gcc.cmake,
- Source/CMakeLists.txt, Source/cmAddCustomCommandCommand.cxx,
- Source/cmAddCustomCommandCommand.h,
- Source/cmAddCustomTargetCommand.cxx,
- Source/cmAddCustomTargetCommand.h,
- Source/cmAddExecutableCommand.cxx,
- Source/cmAddExecutableCommand.h, Source/cmAddLibraryCommand.cxx,
- Source/cmAddLibraryCommand.h,
- Source/cmAddSubDirectoryCommand.cxx, Source/cmAddTestCommand.h,
- Source/cmBuildNameCommand.h, Source/cmCPluginAPI.cxx,
- Source/cmCommand.h, Source/cmCommandArgumentLexer.cxx,
- Source/cmCommandArgumentLexer.h,
- Source/cmCommandArgumentLexer.in.l,
- Source/cmCommandArgumentParser.cxx,
- Source/cmCommandArgumentParser.y,
- Source/cmCommandArgumentParserHelper.cxx,
- Source/cmCommandArgumentParserHelper.h, Source/cmCommands.cxx,
- Source/cmCustomCommand.cxx, Source/cmCustomCommand.h,
- Source/cmDependsC.cxx, Source/cmDependsC.h,
- Source/cmDependsFortranLexer.cxx,
- Source/cmDependsFortranLexer.in.l,
- Source/cmDependsFortranParser.cxx,
- Source/cmDependsFortranParser.y, Source/cmDependsJavaLexer.cxx,
- Source/cmDependsJavaLexer.in.l, Source/cmDependsJavaParser.cxx,
- Source/cmDependsJavaParser.y, Source/cmDocumentation.cxx,
- Source/cmExecProgramCommand.h, Source/cmExprLexer.cxx,
- Source/cmExprLexer.in.l, Source/cmExprParser.cxx,
- Source/cmExprParser.y, Source/cmFileCommand.cxx,
- Source/cmGetTargetPropertyCommand.h,
- Source/cmGlobalBorlandMakefileGenerator.cxx,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalKdevelopGenerator.cxx,
- Source/cmGlobalMSYSMakefileGenerator.cxx,
- Source/cmGlobalMinGWMakefileGenerator.cxx,
- Source/cmGlobalNMakeMakefileGenerator.cxx,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmGlobalUnixMakefileGenerator3.h,
- Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmGlobalVisualStudio71Generator.cxx,
- Source/cmGlobalVisualStudio71Generator.h,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.h,
- Source/cmGlobalVisualStudio8Generator.cxx,
- Source/cmGlobalVisualStudio8Generator.h,
- Source/cmGlobalWatcomWMakeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.cxx, Source/cmIfCommand.cxx,
- Source/cmIfCommand.h, Source/cmIncludeDirectoryCommand.cxx,
- Source/cmIncludeDirectoryCommand.h,
- Source/cmIncludeExternalMSProjectCommand.cxx,
- Source/cmInstallCommand.cxx, Source/cmInstallCommand.h,
- Source/cmInstallFilesCommand.cxx, Source/cmInstallFilesCommand.h,
- Source/cmInstallFilesGenerator.cxx,
- Source/cmInstallFilesGenerator.h, Source/cmInstallGenerator.cxx,
- Source/cmInstallGenerator.h, Source/cmInstallProgramsCommand.cxx,
- Source/cmInstallProgramsCommand.h,
- Source/cmInstallTargetGenerator.cxx,
- Source/cmInstallTargetGenerator.h,
- Source/cmInstallTargetsCommand.cxx,
- Source/cmInstallTargetsCommand.h,
- Source/cmLinkLibrariesCommand.h, Source/cmListCommand.cxx,
- Source/cmListCommand.h, Source/cmListFileCache.cxx,
- Source/cmListFileLexer.c, Source/cmListFileLexer.in.l,
- Source/cmLoadCommandCommand.cxx, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalUnixMakefileGenerator3.h,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Source/cmLocalVisualStudioGenerator.cxx,
- Source/cmLocalVisualStudioGenerator.h, Source/cmMacroCommand.cxx,
- Source/cmMakeDirectoryCommand.h, Source/cmMakefile.cxx,
- Source/cmMakefile.h,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmMakefileExecutableTargetGenerator.h,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.h,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.h, Source/cmMessageCommand.cxx,
- Source/cmOrderLinkDirectories.cxx,
- Source/cmOrderLinkDirectories.h, Source/cmRemoveCommand.h,
- Source/cmSetCommand.cxx,
- Source/cmSetSourceFilesPropertiesCommand.h,
- Source/cmSetTargetPropertiesCommand.h,
- Source/cmStandardIncludes.h, Source/cmSubdirCommand.h,
- Source/cmSubdirDependsCommand.h, Source/cmTarget.cxx,
- Source/cmTryCompileCommand.cxx,
- Source/cmVTKMakeInstantiatorCommand.h,
- Source/cmVTKWrapJavaCommand.cxx, Source/cmVTKWrapJavaCommand.h,
- Source/cmVTKWrapPythonCommand.h, Source/cmVTKWrapTclCommand.h,
- Source/cmWin32ProcessExecution.cxx, Source/cmake.cxx,
- Source/cmake.h, Source/cmakemain.cxx,
- Source/CPack/cmCPackNSISGenerator.cxx,
- Source/CPack/cmCPackTarCompressGenerator.cxx,
- Source/CPack/cmCPackTarCompressGenerator.h,
- Source/CPack/cmCPackZIPGenerator.cxx, Source/CPack/cpack.cxx,
- Source/CTest/cmCTestBuildAndTestHandler.cxx,
- Source/CTest/cmCTestBuildHandler.cxx,
- Source/CTest/cmCTestCoverageHandler.cxx,
- Source/CTest/cmCTestHandlerCommand.cxx,
- Source/CTest/cmCTestScriptHandler.cxx,
- Source/CTest/cmCTestStartCommand.cxx,
- Source/CTest/cmCTestTestHandler.cxx,
- Source/CursesDialog/ccmake.cxx,
- Source/CursesDialog/cmCursesMainForm.cxx,
- Source/kwsys/CMakeLists.txt,
- Source/kwsys/CommandLineArguments.cxx,
- Source/kwsys/Configure.h.in, Source/kwsys/Directory.cxx,
- Source/kwsys/Glob.cxx, Source/kwsys/Glob.hxx.in,
- Source/kwsys/Process.h.in, Source/kwsys/ProcessUNIX.c,
- Source/kwsys/ProcessWin32.c, Source/kwsys/Registry.cxx,
- Source/kwsys/SharedForward.h.in, Source/kwsys/SystemTools.cxx,
- Source/kwsys/SystemTools.hxx.in, Source/kwsys/Terminal.c,
- Source/kwsys/testCommandLineArguments.cxx,
- Source/kwsys/testCommandLineArguments1.cxx,
- Source/kwsys/testProcess.c, Source/kwsys/testSystemTools.cxx,
- Tests/Complex/CMakeLists.txt, Tests/Complex/cmTestConfigure.h.in,
- Tests/Complex/Executable/A.cxx,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/Complex/Executable/complex.cxx,
- Tests/Complex/Library/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexOneConfig/cmTestConfigure.h.in,
- Tests/ComplexOneConfig/Executable/A.cxx,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexOneConfig/Library/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt,
- Tests/ComplexRelativePaths/cmTestConfigure.h.in,
- Tests/ComplexRelativePaths/Executable/A.cxx,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Library/CMakeLists.txt,
- Tests/CustomCommand/CMakeLists.txt,
- Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt,
- Tests/OutOfSource/OutOfSourceSubdir/simple.cxx,
- Tests/OutOfSource/SubDir/CMakeLists.txt,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt,
- Tests/StringFileTest/CMakeLists.txt,
- Tests/SystemInformation/SystemInformation.in,
- Utilities/Release/README, Utilities/cmcurl/CMakeLists.txt,
- Utilities/cmtar/CMakeLists.txt, Utilities/cmzlib/CMakeLists.txt:
- ENH: merge changes from the main tree to the 2.4 branch
-
-2006-10-13 10:27 andy
-
- * Source/CTest/: cmCTestMemCheckHandler.cxx,
- cmCTestUpdateHandler.cxx: BUG: Replace some errors with warnings
-
-2006-10-13 10:22 king
-
- * Source/: cmGlobalMinGWMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: BUG: Juse use cmake -E echo
- instead of the native echo on MinGW makefiles. The echo; hack
- did not work when running from ctest.
-
-2006-10-13 10:03 king
-
- * Source/cmLocalGenerator.cxx: BUG: Do not try to compute the
- location of a non-library target for linking.
-
-2006-10-13 09:30 andy
-
- * Source/: CTest/cmCTestTestHandler.cxx,
- CTest/cmCTestTestHandler.h, kwsys/CMakeLists.txt: ENH: Report
- command line as a measurement and allow user to add custom
- measurements
-
-2006-10-12 17:19 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: undo bad changes
-
-2006-10-12 16:31 andy
-
- * Source/: cmCTest.cxx, CTest/cmCTestCoverageHandler.cxx: BUG: Use
- BuildDirectory from the DartConfiguration information. Also, Make
- missing coverage information not make ctest fail
-
-2006-10-12 15:30 andy
-
- * Source/cmGlobalGenerator.cxx: BUG: Use variable instead of
- retrieving again. Fixes bug: Bug #3476
-
-2006-10-12 15:10 andy
-
- * Source/CTest/cmCTestScriptHandler.cxx: BUG: Report and error when
- ctest -S script fails... Fixes: Bug #3540
-
-2006-10-12 14:59 andy
-
- * Modules/NSIS.template.in, Source/CPack/cmCPackNSISGenerator.cxx:
- ENH: Add NSIS compression
-
-2006-10-12 14:47 andy
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: Handle more regular
- expressions
-
-2006-10-12 13:30 andy
-
- * Tests/: SimpleInstall/PackageScript.cmake,
- SimpleInstallS2/PackageScript.cmake: ENH: Several CPack fixes.
- First, allow user to set CMAKE_MODULE_PATH for CPack; make
- SetOptionIfNotSet more robust to handle empty options; do test
- TGZ, STGZ, and TZ, Add handling (and test) of Install Script; set
- environment variable CMAKE_INSTALL_PREFIX
-
-2006-10-12 13:15 andy
-
- * Modules/CTestTargets.cmake: ENH: On Visual Studio and Xcode
- handle config type
-
-2006-10-12 13:12 andy
-
- * Modules/: FindJNI.cmake, FindJava.cmake: ENH: More locations for
- Java
-
-2006-10-12 13:05 andy
-
- * Modules/CPack.cmake, Source/CPack/cmCPackGenericGenerator.cxx,
- Source/CPack/cmCPackGenericGenerator.h, Source/CPack/cpack.cxx,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: Several CPack fixes.
- First, allow user to set CMAKE_MODULE_PATH for CPack; make
- SetOptionIfNotSet more robust to handle empty options; do test
- TGZ, STGZ, and TZ, Add handling (and test) of Install Script; set
- environment variable CMAKE_INSTALL_PREFIX
-
-2006-10-12 12:51 martink
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: some cleanup and commenting
- of code
-
-2006-10-12 10:57 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: fix for bug -gdwarf
- getting removed
-
-2006-10-11 12:41 king
-
- * Source/cmMakefileLibraryTargetGenerator.cxx,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: BUG: Do not collapse the
- INSTALL_NAME_DIR setting because users may intend to have .. in
- the path. This makes the makefile generator consistent with the
- already working Xcode implementation of this feature. Also added
- a test for @executable_path/.. style settings for this property.
-
-2006-10-11 12:41 king
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: Simplify code by removing
- redundant check against BUILD_WITH_INSTALL_RPATH.
-
-2006-10-10 16:03 king
-
- * Modules/readme.txt: STYLE: Fixed typo: INCLUDE_DIR->INCLUDE_DIRS.
-
-2006-10-10 14:13 king
-
- * Source/cmLocalGenerator.cxx: BUG: TARGET_QUOTED should always be
- replaced if Target is set in the rule variables.
-
-2006-10-10 13:47 king
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx: BUG: Avoid duplicate
- conversion to output path.
-
-2006-10-10 12:24 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-10-09 21:48 king
-
- * Source/: cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h: BUG: Fixed references to
- projects outside the build tree and in other locations with
- spaces in the path. This is needed for
- out-of-source/out-of-binary subdirectories in the build.
-
-2006-10-09 21:25 king
-
- * Source/cmMakefileTargetGenerator.cxx,
- Tests/OutOfBinary/CMakeLists.txt, Tests/OutOfBinary/outlib.c,
- Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt,
- Tests/OutOfSource/OutOfSourceSubdir/simple.cxx,
- Tests/OutOfSource/SubDir/CMakeLists.txt: BUG: Fixed out-of-source
- subdirectories to work when they are also out-of-binary. Updated
- the OutOfSource test to test this feature.
-
-2006-10-09 11:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-10-09 10:06 david.cole
-
- * Source/kwsys/ProcessWin32.c: COMP: Fix or suppress warnings on
- Borland and Mac dashboards. Definitely fix "may be used
- uninitialized" warnings.
-
-2006-10-08 09:23 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-10-07 06:15 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-10-06 15:33 martink
-
- * Source/CursesDialog/cmCursesMainForm.cxx: ENH: remove old unused
- code
-
-2006-10-06 14:00 martink
-
- * Source/cmDocumentation.cxx: BUG: potential segfault
-
-2006-10-06 11:13 david.cole
-
- * Source/kwsys/CMakeLists.txt: STYLE: Make the set of supported STL
- headers the same in vtkstd and vtksys/stl. (The union of the
- present values of the two sets.)
-
-2006-10-06 11:11 hoffman
-
- * Source/: cmMessageCommand.cxx, cmake.cxx, cmake.h, cmakemain.cxx:
- ENH: do not print a call stack if the user does a message error
- unless --debug-output is used
-
-2006-10-06 09:16 king
-
- * Modules/Platform/Darwin.cmake: BUG: Do not enable -isystem
- support for Xcode generator until it is implemented.
-
-2006-10-06 03:32 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-10-05 17:53 hoffman
-
- * Source/CTest/: cmCTestCoverageHandler.cxx,
- cmCTestTestHandler.cxx: BUG: fix bug where converage was required
- to get valgrind output because of bad current directory
-
-2006-10-05 16:59 king
-
- * Source/: cmLocalGenerator.cxx, cmOrderLinkDirectories.cxx: BUG:
- Need to match shared library names before static because some
- platforms have static name patterns that match their shared
- patterns but not vice versa. This is needed for implementing
- bug#1644 on cygwin.
-
-2006-10-05 16:30 king
-
- * Modules/Platform/CYGWIN.cmake, Source/cmTarget.cxx: ENH: Adding
- version number to the name of a DLL built in cygwin but not the
- import library. This addresses bug#3571.
-
-2006-10-05 15:08 king
-
- * Modules/Platform/: CYGWIN.cmake, Windows-gcc.cmake: ENH: Enabling
- link-type selection flags on Cygwin, MSYS, and MinGW. This
- addresses bug#1644 on these platforms.
-
-2006-10-05 15:08 king
-
- * Source/cmLocalGenerator.cxx, Source/cmOrderLinkDirectories.cxx,
- Source/cmOrderLinkDirectories.h,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/complex.cxx: BUG: Fix link
- flags on cygwin shared libraries. This requires that the shared
- library prefix be supported in the link library regex.
-
-2006-10-05 14:51 king
-
- * Source/: cmGlobalMinGWMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: BUG: Hack to make echo command
- work properly in mingw32-make.
-
-2006-10-05 13:43 king
-
- * Source/cmWin32ProcessExecution.cxx: BUG: Robustly handle failure
- of FormatMessage. See bug#3471.
-
-2006-10-05 12:04 king
-
- * Tests/: Complex/CMakeLists.txt, Complex/Library/testSystemDir.h,
- ComplexOneConfig/CMakeLists.txt,
- ComplexOneConfig/Library/testSystemDir.h,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/Library/testSystemDir.h,
- Complex/Library/SystemDir/testSystemDir.h,
- ComplexOneConfig/Library/SystemDir/testSystemDir.h,
- ComplexRelativePaths/Library/SystemDir/testSystemDir.h: BUG: Test
- -isystem without affecting other tests. Made separate
- Library/SystemDir for this purpose.
-
-2006-10-05 11:31 king
-
- * Source/cmInstallCommand.cxx, Source/cmInstallCommand.h,
- Source/cmInstallFilesGenerator.cxx,
- Source/cmInstallFilesGenerator.h,
- Source/cmInstallTargetGenerator.cxx,
- Source/cmInstallTargetGenerator.h,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: Added OPTIONAL option
- to INSTALL command to allow installation of files if they exist
- while ignoring them otherwise. This addresses bug#2922.
-
-2006-10-05 11:30 king
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt: BUG: Run
- testSystemDir test only if -isystem flag is available.
-
-2006-10-05 10:55 king
-
- * Source/cmDocumentation.cxx: ENH: Adding links to web resources
- and FAQ to SEE ALSO section. This addresses bug #3757.
-
-2006-10-05 09:33 king
-
- * Modules/Platform/QNX.cmake: BUG: QNX GCC does not have -isystem.
-
-2006-10-05 08:55 king
-
- * Modules/Platform/gcc.cmake, Source/cmIncludeDirectoryCommand.cxx,
- Source/cmIncludeDirectoryCommand.h, Source/cmLocalGenerator.cxx,
- Source/cmMakefile.cxx, Source/cmMakefile.h,
- Tests/Complex/CMakeLists.txt,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/Complex/Executable/testSystemDir.cxx,
- Tests/Complex/Library/testSystemDir.h,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/testSystemDir.cxx,
- Tests/ComplexOneConfig/Library/testSystemDir.h,
- Tests/ComplexRelativePaths/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/testSystemDir.cxx,
- Tests/ComplexRelativePaths/Library/testSystemDir.h: ENH: Adding
- SYSTEM option to INCLUDE_DIRECTORIES command. This addresses bug
- #3462.
-
-2006-10-05 03:57 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-10-04 19:21 king
-
- * Source/CursesDialog/ccmake.cxx: BUG: The --help option should
- list generators. This addresses bug #2494.
-
-2006-10-04 18:57 king
-
- * Tests/CustomCommand/CMakeLists.txt: ENH: Adding test of special
- characters in custom command and custom target comments.
-
-2006-10-04 18:52 king
-
- * Source/: cmGlobalBorlandMakefileGenerator.cxx,
- cmGlobalNMakeMakefileGenerator.cxx,
- cmGlobalWatcomWMakeGenerator.cxx, cmLocalGenerator.cxx,
- cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: BUG: Fixed display of custom
- command comments with quotes, dollars, and other special
- characters in them.
-
-2006-10-04 18:52 king
-
- * Source/kwsys/: System.c, System.h.in: ENH: Adding
- Shell_Flag_EchoWindows option to setup escapes for arguments to
- the native echo command in a shell. This special case is needed
- to avoid adding quotes when passing text to echo in a native
- windows shell which does no command line parsing at all.
-
-2006-10-04 18:10 king
-
- * Source/cmAddCustomTargetCommand.cxx,
- Source/cmAddCustomTargetCommand.h, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Tests/CustomCommand/CMakeLists.txt: ENH:
- Added COMMENT option to ADD_CUSTOM_TARGET. This addresses
- bug#3461.
-
-2006-10-04 18:09 king
-
- * Source/cmAddCustomCommandCommand.h: BUG: COMMENT was missing from
- docs.
-
-2006-10-04 17:27 king
-
- * Source/kwsys/: CMakeLists.txt, ProcessUNIX.c,
- kwsysPlatformTestsC.c: ENH: Adding tests KWSYS_C_HAS_PTRDIFF_T
- and KWSYS_C_HAS_SSIZE_T to help ProcessUNIX.c build everywhere
- without warnings.
-
-2006-10-04 17:24 king
-
- * bootstrap: ENH: Renamed kwsysPlatformCxxTests to
- kwsysPlatformTests and generalized it for multiple language tests
- (C and CXX).
-
-2006-10-04 17:08 king
-
- * Source/kwsys/kwsysPlatformTests.cmake: BUG: Name of C test file
- ends in .c not .cxx.
-
-2006-10-04 16:56 king
-
- * Source/kwsys/: CMakeLists.txt, kwsysPlatformCxxTests.cmake,
- kwsysPlatformCxxTests.cxx, kwsysPlatformTests.cmake,
- kwsysPlatformTestsC.c, kwsysPlatformTestsCXX.cxx: ENH: Renamed
- kwsysPlatformCxxTests to kwsysPlatformTests and generalized it
- for multiple language tests (C and CXX).
-
-2006-10-04 16:31 hoffman
-
- * Modules/FindDoxygen.cmake: ENH: remove paths that cmake already
- looks at
-
-2006-10-04 15:54 alex
-
- * Modules/FindRuby.cmake: ENH: apply patch so that the config
- values from ruby are used to determine the additional locations
- (see #3297)
-
- Alex
-
-2006-10-04 15:24 king
-
- * Source/cmAddCustomCommandCommand.cxx,
- Source/cmAddCustomCommandCommand.h, Source/cmCustomCommand.cxx,
- Source/cmCustomCommand.h, Tests/CustomCommand/CMakeLists.txt:
- ENH: Added APPEND option to ADD_CUSTOM_COMMAND to allow extra
- dependencies to be connected later. This is useful to create one
- rule and then have a macro add things to it later. This
- addresses bug#2151.
-
-2006-10-04 14:37 king
-
- * Source/cmCommandArgumentParser.cxx,
- Source/cmCommandArgumentParser.y,
- Source/cmCommandArgumentParserHelper.cxx,
- Source/cmCommandArgumentParserHelper.h, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Tests/CustomCommand/CMakeLists.txt: BUG: Do
- not replace @VAR@ syntax in list files. This addresses bug
- #2722.
-
-2006-10-04 14:02 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for fat file
- systems and vs8 #2617
-
-2006-10-04 14:00 king
-
- * Modules/UseQt4.cmake: BUG: Patch from Clinton to restore proper
- QT3_SUPPORT macro definition.
-
-2006-10-04 13:27 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for bug#3362
- xml escapes on -D stuff for visual studio
-
-2006-10-04 13:05 hoffman
-
- * Modules/FindTCL.cmake: BUG: fix for bug# 3313 same advanced for
- tcl win and unix
-
-2006-10-04 11:33 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for bug# 3664
-
-2006-10-04 11:11 hoffman
-
- * Source/cmGlobalGenerator.cxx: BUG: fix for bug #3517 seg fault
- with enable language before project command
-
-2006-10-04 11:04 hoffman
-
- * Modules/FindDoxygen.cmake: BUG: fix for bug#3520 - better find
- doxygen
-
-2006-10-04 10:54 hoffman
-
- * Modules/Platform/Darwin.cmake: BUG: fix for bug# 3584 missing
- SONAME for fortran on darwin
-
-2006-10-04 10:33 hoffman
-
- * Modules/FindQt4.cmake: ENH: make qmake-qt4 really work if qmake
- is qt3 also fix indent in file, for diff use cvs diff -w
-
-2006-10-04 05:20 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-10-03 17:53 hoffman
-
- * Source/cmGlobalGenerator.cxx: ENH: fix dashbaord error do not
- exclude root project from itself.
-
-2006-10-03 16:18 hoffman
-
- * Modules/FindGLUT.cmake: BUG: fix for bug#3646 GLUT not Glut for
- framework name
-
-2006-10-03 16:12 hoffman
-
- * Modules/Platform/Windows-cl.cmake: BUG: fix for bug#3652 use link
- /lib instead of lib
-
-2006-10-03 15:25 hoffman
-
- * Source/CMakeLists.txt: ENH: use core and not all of carbon
-
-2006-10-03 15:12 hoffman
-
- * Source/cmGlobalGenerator.cxx: BUG: fix for bug#3714
- execlude_from_all not working on vs
-
-2006-10-03 14:40 martink
-
- * Source/: cmCommands.cxx, cmEndMacroCommand.cxx,
- cmEndMacroCommand.h: ENH: added endmacro command
-
-2006-10-03 14:39 hoffman
-
- * Modules/FindQt4.cmake: BUG: fix for bug#3720
-
-2006-10-03 14:03 alex
-
- * Modules/KDE3Macros.cmake: BUG: fix #3827, the name of the var is
- _tmp_FILE instead of tmp_FILE, so the dcop stuff should work now
-
- Alex
-
-2006-10-03 14:03 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for bug#3738
-
-2006-10-03 13:48 hoffman
-
- * Modules/FindSDL.cmake: BUG: fix for 3765
-
-2006-10-03 13:45 hoffman
-
- * Source/cmAddTestCommand.h: BUG: fix for bug#3775
-
-2006-10-03 13:35 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: check for empty path
-
-2006-10-03 13:35 hoffman
-
- * Modules/Platform/AIX.cmake: ENH: disable static shared stuff on
- AIX, see comment
-
-2006-10-03 13:35 hoffman
-
- * Source/cmGlobalMSYSMakefileGenerator.cxx: BUG: bug#3789 add msys
- for the msys generator
-
-2006-10-03 13:22 hoffman
-
- * Source/cmTryCompileCommand.cxx: ENH: make sure file is closed
-
-2006-10-03 12:09 hoffman
-
- * Source/cmMacroCommand.cxx: ENH: fix compile error
-
-2006-10-03 11:55 hoffman
-
- * Source/cmake.cxx: ENH: do not allow null pointer access
-
-2006-10-03 11:55 hoffman
-
- * Source/kwsys/Registry.cxx: ENH: make sure value is set before
- using it
-
-2006-10-03 10:57 hoffman
-
- * Source/cmMacroCommand.cxx: BUG: fix for seg fault bug #3815
-
-2006-10-03 10:26 king
-
- * Source/kwsys/ProcessUNIX.c: BUG: Need to initialize to not use
- native pipes.
-
-2006-10-03 09:12 king
-
- * Source/cmGlobalKdevelopGenerator.cxx: STYLE: Fixed line-too-long
- warning.
-
-2006-10-03 09:10 king
-
- * Source/kwsys/: Process.h.in, ProcessUNIX.c, ProcessWin32.c: ENH:
- Added Process_SetPipeNative method to allow user code to override
- the pipes connected to the child pipeline.
-
-2006-10-03 05:59 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-10-02 12:01 king
-
- * Source/cmAddExecutableCommand.cxx,
- Source/cmAddExecutableCommand.h, Source/cmAddLibraryCommand.cxx,
- Source/cmAddLibraryCommand.h,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/Complex/Library/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Library/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Library/CMakeLists.txt: ENH: Renamed
- NOT_IN_ALL to EXCLUDE_FROM_ALL.
-
-2006-10-02 11:13 king
-
- * Source/cmAddExecutableCommand.cxx,
- Source/cmAddExecutableCommand.h, Source/cmAddLibraryCommand.cxx,
- Source/cmAddLibraryCommand.h, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Tests/Complex/Executable/CMakeLists.txt,
- Tests/Complex/Executable/notInAllExe.cxx,
- Tests/Complex/Library/CMakeLists.txt,
- Tests/Complex/Library/notInAllLib.cxx,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/notInAllExe.cxx,
- Tests/ComplexOneConfig/Library/CMakeLists.txt,
- Tests/ComplexOneConfig/Library/notInAllLib.cxx,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/notInAllExe.cxx,
- Tests/ComplexRelativePaths/Library/CMakeLists.txt,
- Tests/ComplexRelativePaths/Library/notInAllLib.cxx: ENH: Added
- NOT_IN_ALL option for ADD_LIBRARY and ADD_EXECUTABLE to avoid
- building the targets by default.
-
-2006-10-02 10:49 king
-
- * Source/cmGlobalKdevelopGenerator.cxx: ENH: Patch from Alex to
- help with KDevelop code completion in generated projects.
-
-2006-10-02 10:20 king
-
- * Source/: cmAddCustomCommandCommand.h, cmGlobalGenerator.cxx,
- cmGlobalGenerator.h, cmGlobalWatcomWMakeGenerator.cxx,
- cmMakefile.cxx, cmMakefileTargetGenerator.cxx,
- cmSetSourceFilesPropertiesCommand.h: ENH: Added SYMBOLIC source
- file property to mark custom command outputs that are never
- actually created on disk. This is used by the Watcom WMake
- generator to generate the .SYMBOLIC mark on the files in the make
- system.
-
-2006-10-02 10:17 king
-
- * Tests/CustomCommand/: CMakeLists.txt, check_command_line.c.in:
- COMP: Fix command line check test implementation for Watcom.
-
-2006-10-02 09:03 hoffman
-
- * Modules/FindQt4.cmake: ENH: fix from clinton
-
-2006-10-02 04:26 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-10-01 04:35 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-30 03:55 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-29 16:42 king
-
- * Source/: cmGetTargetPropertyCommand.h, cmTarget.cxx: ENH: Added
- support for getting a target's location on a per-configuration
- basis (ex. DEBUG_LOCATION). This does not fix but helps with
- bug#3250.
-
-2006-09-29 16:14 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: fix failing tests on mac
-
-2006-09-29 09:11 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Fixed inclusion of
- progress.make from subdirectory makefiles.
-
-2006-09-29 03:53 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-28 17:35 king
-
- * Source/cmIncludeExternalMSProjectCommand.cxx: BUG: Move hack from
- old cmMakefile::AddUtilityTarget to this command directly. There
- really needs to be a better way to represent external project
- targets.
-
-2006-09-28 17:21 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Moved
- progress.make file into CMakeFiles subdirectory to keep things
- clean.
-
-2006-09-28 16:40 king
-
- * Source/: cmAddCustomCommandCommand.cxx, cmCustomCommand.cxx,
- cmCustomCommand.h, cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio71Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h,
- cmGlobalVisualStudio8Generator.cxx,
- cmGlobalVisualStudio8Generator.h, cmLocalGenerator.cxx,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h, cmMakefile.cxx,
- cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileExecutableTargetGenerator.h,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.h,
- cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h: BUG:
- Fix/cleanup custom commands and custom targets. Make empty
- comment strings work. Fix ZERO_CHECK target always out of date
- for debugging. Fix Makefile driving of custom commands in a
- custom target. Fix dependencies on custom targets not in ALL in
- VS generators.
-
-2006-09-28 13:55 king
-
- * Source/: cmAddCustomTargetCommand.cxx, cmCPluginAPI.cxx,
- cmGlobalGenerator.cxx, cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio8Generator.cxx, cmGlobalXCodeGenerator.cxx,
- cmIncludeExternalMSProjectCommand.cxx, cmMakefile.cxx,
- cmMakefile.h, cmVTKWrapJavaCommand.cxx: ENH: Cleaned up signature
- of cmMakefile::AddUtilityCommand. It is not valid to have an
- output from a utility rule and no calls to the method asked for
- an output anyway. The argument has been removed.
-
-2006-09-28 11:42 king
-
- * Modules/Platform/UnixPaths.cmake: BUG: Header and library search
- path ordering should be consistent.
-
-2006-09-28 11:30 king
-
- * Source/cmAddCustomCommandCommand.cxx,
- Source/cmAddCustomCommandCommand.h,
- Source/cmAddCustomTargetCommand.cxx,
- Source/cmAddCustomTargetCommand.h, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Tests/CustomCommand/CMakeLists.txt,
- Tests/CustomCommand/check_command_line.c.in: ENH: Added VERBATIM
- option to ADD_CUSTOM_COMMAND and ADD_CUSTOM_TARGET commands.
- This option enables full escaping of custom command arguments on
- all platforms. See bug#3786.
-
-2006-09-28 10:41 king
-
- * Tests/: Complex/Library/CMakeLists.txt,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexRelativePaths/Library/CMakeLists.txt: ENH: Re-enabling .i
- rule test on MSYS now that it works.
-
-2006-09-28 10:37 king
-
- * Source/: cmGlobalMSYSMakefileGenerator.cxx, cmLocalGenerator.cxx,
- cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.h: BUG: MSYS
- makefile shell needs posix paths to executables in some cases and
- it does not hurt to do it always.
-
-2006-09-28 09:49 king
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmLocalUnixMakefileGenerator3.cxx: BUG: Do not filter system
- directories for include file dependencies.
-
-2006-09-28 02:33 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-27 16:20 king
-
- * Source/cmCustomCommand.cxx: COMP: Fix init order.
-
-2006-09-27 16:14 king
-
- * Source/cmCommandArgumentParserHelper.cxx: BUG: One should be able
- to escape the @ symbol.
-
-2006-09-27 15:26 king
-
- * Source/cmCustomCommand.cxx: BUG: The copy constructor should copy
- the escape settings.
-
-2006-09-27 14:27 king
-
- * Tests/: Complex/Library/CMakeLists.txt,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexRelativePaths/Library/CMakeLists.txt: ENH: Re-enable
- preprocessing target test but specifically disable it on broken
- platforms.
-
-2006-09-27 13:43 king
-
- * Source/: cmCustomCommand.cxx, cmCustomCommand.h,
- cmGlobalXCodeGenerator.cxx, cmLocalGenerator.cxx,
- cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudioGenerator.cxx, cmLocalVisualStudioGenerator.h,
- kwsys/ProcessWin32.c, kwsys/System.c, kwsys/System.h.in: ENH:
- Re-implemented command line argument shell quoting to support
- several platforms with one code base.
-
-2006-09-27 13:30 alex
-
- * Modules/: FindPythonInterp.cmake, FindPythonLibs.cmake:
- ENH: apply patch from Dirk Mueller to support Python 2.5
-
- Alex
-
-2006-09-27 12:55 king
-
- * Source/cmDependsC.cxx: STYLE: Fixed line-too-long.
-
-2006-09-26 08:04 andy
-
- * Source/cmDependsC.cxx: BUG: Handle header file dependencies for
- objective C
-
-2006-09-26 02:30 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-25 18:33 king
-
- * Source/cmCommandArgumentLexer.cxx: COMP: Removed yyunput function
- to avoid warning.
-
-2006-09-25 14:01 king
-
- * Source/cmCommandArgumentLexer.cxx: COMP: Restoring previous AIX
- fix.
-
-2006-09-25 10:22 king
-
- * Source/cmLocalGenerator.cxx, Tests/CustomCommand/CMakeLists.txt:
- BUG: Disable new shell escape code until backward compatibility
- can be established in the new implementation.
-
-2006-09-25 10:05 king
-
- * Source/cmCommandArgumentLexer.cxx,
- Source/cmCommandArgumentLexer.h,
- Source/cmCommandArgumentLexer.in.l,
- Tests/StringFileTest/CMakeLists.txt: BUG: Character + should be
- valid in a variable name.
-
-2006-09-25 02:39 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-24 10:28 king
-
- * Tests/: Complex/Library/CMakeLists.txt,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexRelativePaths/Library/CMakeLists.txt: BUG: Disable new
- test_preprocess target until it is fixed on OSX universal
- binaries and mingw.
-
-2006-09-24 02:40 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-23 17:09 king
-
- * Docs/: cmake-indent.vim, cmake-syntax.vim: ENH: Adding elseif to
- VIM syntax and indentation files. See bug #3781.
-
-2006-09-23 16:55 king
-
- * Tests/: Complex/Library/CMakeLists.txt,
- Complex/Library/test_preprocess.cmake,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexOneConfig/Library/test_preprocess.cmake,
- ComplexRelativePaths/Library/CMakeLists.txt,
- ComplexRelativePaths/Library/test_preprocess.cmake: ENH: Adding
- test for running preprocessor rules.
-
-2006-09-23 16:32 king
-
- * Docs/cmake-mode.el: ENH: Adding elseif indentation. See
- bug#3781.
-
-2006-09-23 14:41 andy
-
- * Source/CPack/cmCPackZIPGenerator.cxx: BUG: Attempt to fix winzip
- problems
-
-2006-09-23 02:33 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-22 11:49 martink
-
- * Tests/: Complex/CMakeLists.txt, Complex/cmTestConfigure.h.in,
- Complex/Executable/complex.cxx, ComplexOneConfig/CMakeLists.txt,
- ComplexOneConfig/cmTestConfigure.h.in,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/cmTestConfigure.h.in,
- ComplexRelativePaths/Executable/complex.cxx: ENH: added test for
- elseif
-
-2006-09-22 11:23 martink
-
- * Source/: cmCommands.cxx, cmElseIfCommand.cxx, cmElseIfCommand.h,
- cmIfCommand.cxx, cmIfCommand.h: ENH: added elseif
-
-2006-09-22 08:42 king
-
- * Tests/CustomCommand/CMakeLists.txt: COMP: Need ANSI C flags to
- build check_command_line.c.
-
-2006-09-22 02:19 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-21 17:21 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: COMP: Fix shadowed
- local variable created by previous cmake_force change.
-
-2006-09-21 16:11 king
-
- * Tests/CustomCommand/: CMakeLists.txt, check_command_line.c.in:
- ENH: Adding test for non-trivial custom command line arguments.
- This is for bug#3786.
-
-2006-09-21 16:10 king
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmLocalGenerator.h: BUG:
- Enabled use of EscapeForShell to properly escape custom command
- lines. This addresses bug#3786 for Xcode.
-
-2006-09-21 15:35 king
-
- * Source/cmLocalGenerator.cxx: BUG: Need to escape spaces in custom
- command line arguments.
-
-2006-09-21 15:30 king
-
- * Source/cmLocalGenerator.cxx: BUG: Do not escape parens because we
- need to be able to reference make variables in the scripts.
-
-2006-09-21 15:14 king
-
- * Source/: cmGlobalVisualStudio8Generator.cxx,
- cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudioGenerator.cxx, cmLocalVisualStudioGenerator.h:
- BUG: Centralized generation of command line arguments in escaped
- form. This addresses bug#3786 for several platforms.
-
-2006-09-21 15:09 andy
-
- * Source/CPack/cmCPackZIPGenerator.cxx: ENH: Handle zip (command
- line was too long)
-
-2006-09-21 14:46 king
-
- * Source/kwsys/System.c: BUG: Windows_ShellArgument: need to escape
- if the string contains one of a set of special characters as well
- as spaces. Moved test for needing escapes to a separate method
- kwsysSystemWindowsShellArgumentNeedsEscape.
-
-2006-09-21 13:47 king
-
- * bootstrap: ENH: Added System component of kwsys.
-
-2006-09-21 11:49 king
-
- * Source/kwsys/: CMakeLists.txt, ProcessWin32.c, System.c,
- System.h.in: ENH: Adding 'System' component of C sources to hold
- system tools written in C. Moved windows shell command line
- argument escaping code to kwsysSystem_Windows_ShellArgument and
- kwsysSystem_Windows_ShellArgumentSize.
-
-2006-09-21 10:04 king
-
- * Source/kwsys/SharedForward.h.in: ENH: Added
- KWSYS_SHARED_FORWARD_OPTION_COMMAND option to allow users to
- replace the command executed. Extended documentation at top of
- file.
-
-2006-09-21 02:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-20 12:13 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: cmake_force needs
- to be written into build.make as well as Makefile.
-
-2006-09-20 02:13 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-19 16:11 alex
-
- * Modules/: COPYING-CMAKE-SCRIPTS, FindASPELL.cmake,
- FindBZip2.cmake, FindHSPELL.cmake, FindJasper.cmake,
- FindLibXml2.cmake, FindLibXslt.cmake, FindOpenSSL.cmake: ENH: add
- cmake modules for some common libraries: aspell, hspell, bzip2,
- jasper (jpeg2000), libxml2 and libxslt and openssl and the
- accompanying license (BSD)
-
- Alex
-
-2006-09-19 02:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-18 17:55 alex
-
- * Modules/: CheckCCompilerFlag.cmake, CheckCXXCompilerFlag.cmake:
- ENH: two macros to check whether the C/CXX compiler supports a
- given flag: CHECK_CXX_COMPILER_FLAG("-Wall"
- COMPILER_SUPPORTS_WALL)
-
- Alex
-
-2006-09-18 09:40 king
-
- * Modules/Platform/QNX.cmake: ENH: Enabling link type selection
- flags for this platform. See bug#1644 for details.
-
-2006-09-18 02:36 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-17 09:24 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-16 11:54 king
-
- * Source/cmDependsC.cxx: STYLE: Fixed line-too-long.
-
-2006-09-16 11:52 king
-
- * Source/cmLocalGenerator.cxx: BUG: Do not look for linker language
- unless it is needed.
-
-2006-09-16 11:47 king
-
- * Modules/Platform/SunOS.cmake: BUG: Need -Wl, to pass linker flags
- when using gcc on Sun.
-
-2006-09-16 09:19 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-15 15:19 king
-
- * Modules/Platform/AIX.cmake: ENH: Enabling link type selection
- flags for this platform. See bug#1644 for details.
-
-2006-09-15 15:18 king
-
- * Modules/Platform/HP-UX.cmake: STYLE: Updated comment about link
- type flags and passing directly to ld.
-
-2006-09-15 15:14 king
-
- * Modules/Platform/HP-UX.cmake: BUG: Fix
- CMAKE_SHARED_*_LINK_*_C_FLAGS to pass link type selection flags
- directly to the linker.
-
-2006-09-15 15:05 king
-
- * Modules/Platform/SunOS.cmake: ENH: Enabling link type selection
- flags for this platform. See bug#1644 for details.
-
-2006-09-15 14:58 king
-
- * Modules/Platform/: FreeBSD.cmake, HP-UX.cmake: ENH: Enabling link
- type selection flags for this platform. See bug#1644 for
- details.
-
-2006-09-15 14:31 king
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/complex.cxx,
- Complex/Library/CMakeLists.txt, Complex/Library/TestLink.c,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexOneConfig/Library/TestLink.c,
- ComplexRelativePaths/Library/CMakeLists.txt,
- ComplexRelativePaths/Library/TestLink.c: ENH: Added test for
- linking to a static library that is next to a shared library.
- See bug#1644 for related changes.
-
-2006-09-15 14:08 king
-
- * Modules/CMakeCXXInformation.cmake,
- Modules/CMakeSystemSpecificInformation.cmake,
- Modules/Platform/Linux.cmake, Source/cmLocalGenerator.cxx,
- Source/cmOrderLinkDirectories.cxx,
- Source/cmOrderLinkDirectories.h,
- Tests/SystemInformation/SystemInformation.in: ENH: Adding support
- to link specifically to an archive or a shared library based on
- the file name specified. This fixes the problem of having -lfoo
- linking to libfoo.so even when it came from libfoo.a being
- specified.
-
-2006-09-15 14:02 king
-
- * Modules/CMakeFortranInformation.cmake: STYLE: Removing unused
- platform variable CMAKE_SHARED_MODULE_LINK_Fortran_FLAGS. It
- does not make sense because nothing links to shared modules.
-
-2006-09-15 09:23 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-14 09:09 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-13 12:43 king
-
- * Source/: cmDependsC.cxx, cmDependsC.h: ENH: Patch from Alex to
- speed dependency scanning approximately 2x.
-
-2006-09-13 11:39 king
-
- * Source/cmAddCustomTargetCommand.cxx: ENH: Added diagnosis of bad
- target names.
-
-2006-09-13 11:22 king
-
- * Modules/FindwxWidgets.cmake: BUG: Patch from Peter Visser to run
- wx-config from an MSYS prompt.
-
-2006-09-13 08:55 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-12 10:21 hoffman
-
- * Source/cmMakefileTargetGenerator.cxx: ENH: put the if in the
- right place
-
-2006-09-12 10:03 hoffman
-
- * Source/cmMakefileTargetGenerator.cxx: ENH: fix for BUG: #739
- again, makefiles did not depend on external full path libraries
-
-2006-09-12 09:18 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-10 22:26 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-09 21:06 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-08 22:51 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-08 10:42 king
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx, cmMakefileTargetGenerator.cxx:
- BUG: Fixed ordering of code generated in Makefile and build.make
- files to make sure .SUFFIXES rule comes as early as possible.
- Also cleaned up documentation in generated files.
-
-2006-09-08 10:39 king
-
- * Source/cmInstallCommand.cxx: STYLE: Fixed line-too-long.
-
-2006-09-08 09:58 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-07 10:05 king
-
- * Source/cmInstallCommand.cxx: ENH: Patch from Toni Timonen to
- allow cross-compiling of DLLs.
-
-2006-09-07 08:58 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-06 09:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-06 08:31 hoffman
-
- * Modules/: FindQt4.cmake, UseQt4.cmake: ENH: fixes from Clinton to
- allow qt to work with static libs
-
-2006-09-05 09:01 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-04 09:04 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-03 09:00 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-02 10:51 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Patch from Alex to
- fix name of includecache files to not look like source files.
-
-2006-09-02 09:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-09-01 09:51 king
-
- * Source/: cmBuildNameCommand.h, cmExecProgramCommand.h,
- cmGlobalGenerator.cxx, cmInstallFilesCommand.h,
- cmInstallProgramsCommand.h, cmInstallTargetsCommand.h,
- cmLinkLibrariesCommand.h, cmMakeDirectoryCommand.h,
- cmRemoveCommand.h, cmSubdirCommand.h, cmSubdirDependsCommand.h,
- cmVTKMakeInstantiatorCommand.h, cmVTKWrapJavaCommand.h,
- cmVTKWrapPythonCommand.h, cmVTKWrapTclCommand.h: STYLE: Fixed
- line-too-long warning.
-
-2006-09-01 08:58 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-31 16:40 king
-
- * Source/cmAddSubDirectoryCommand.cxx: BUG: Fix automatic
- computation of binary path to work for subdirectories of out of
- source directories. This addresses bug#3592.
-
-2006-08-31 14:09 king
-
- * Source/: cmDependsC.cxx, cmDependsC.h,
- cmLocalUnixMakefileGenerator3.cxx, cmMakefileTargetGenerator.cxx:
- ENH: Make sure all custom command outputs are up to date before
- scanning dependencies. This avoids the need to pass a list of
- generated files to the dependency scanning code and to rescan
- after the files have been generated. Currently there is no
- notion of implicit dependencies of the custom commands themselves
- so this design is safe. We only need to make sure implicit
- dependencies are up to date before the make process for the
- /build part of a target is executed because only this process
- loads them. This is a step towards fixing bug#3658.
-
-2006-08-31 13:20 king
-
- * Source/: cmBuildNameCommand.h, cmCommand.h,
- cmExecProgramCommand.h, cmInstallFilesCommand.h,
- cmInstallProgramsCommand.h, cmInstallTargetsCommand.h,
- cmLinkLibrariesCommand.h, cmMakeDirectoryCommand.h,
- cmRemoveCommand.h, cmSubdirCommand.h, cmSubdirDependsCommand.h,
- cmVTKMakeInstantiatorCommand.h, cmVTKWrapJavaCommand.h,
- cmVTKWrapPythonCommand.h, cmVTKWrapTclCommand.h: ENH: Patch from
- Alex to add IsDiscouraged method for future use in generating
- separate documentation for old commands. Also modified
- documentation of MAKE_DIRECTORY and REMOVE commands to indicate
- they should not be used.
-
-2006-08-31 10:47 king
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmInstallCommand.cxx, cmInstallFilesCommand.cxx,
- cmInstallProgramsCommand.cxx, cmInstallTargetsCommand.cxx: ENH:
- Do not generate install target unless some INSTALL or INSTALL_*
- commands have been used. This addresses bug#2827.
-
-2006-08-31 10:46 king
-
- * Modules/CMakeDetermineRCCompiler.cmake: BUG: Need to search for
- rc by default, not c++ compilers.
-
-2006-08-31 09:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-30 13:59 king
-
- * Source/kwsys/: CMakeLists.txt, kwsysPlatformCxxTests.cmake: COMP:
- Fix try-compile to fail properly on HP.
-
-2006-08-30 13:51 alex
-
- * Modules/FindQt3.cmake: ENH: automatically find Qt3 on SUSE, patch
- from Dirk Mueller and Stephan Kulow
-
- Alex
-
-2006-08-30 13:47 alex
-
- * Modules/FindPNG.cmake: ENH: also look in
- /usr/local/include/libpng (OpenBSD) ENH: error out with
- FATAL_ERROR if REQUIRED was given but png hasn't been found
-
- Alex
-
-2006-08-30 10:00 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-29 16:08 king
-
- * Source/cmGlobalKdevelopGenerator.cxx: ENH: Patch from Alex to fix
- current working directory when running executables built in
- KDevelop.
-
-2006-08-29 15:08 king
-
- * Source/cmInstallCommand.h: ENH: Add support to INSTALL(DIRECTORY)
- to install an empty directory. This addresses bug#3572.
-
-2006-08-29 15:04 king
-
- * Source/cmFileCommand.cxx, Source/cmInstallCommand.cxx,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: Add support to
- INSTALL(DIRECTORY) to install an empty directory. This addresses
- bug#3572.
-
-2006-08-29 13:59 king
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake,
- CMakeDetermineFortranCompiler.cmake,
- CMakeDetermineRCCompiler.cmake: BUG: Search for the compiler only
- once and store a full path to it in the cache. This avoids
- problems with the case of locations in the PATH variable on
- Windows that change the compiler name when CMake is re-run.
- CMakeFiles/CMake*Compiler.cmake files should hold the full path
- to the compiler always.
-
-2006-08-29 12:55 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h: BUG: bad progress for named top
- level targets
-
-2006-08-29 10:27 king
-
- * Source/cmStandardIncludes.h: COMP: Fix warnings in system headers
- on VS6.
-
-2006-08-29 10:03 king
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalUnixMakefileGenerator3.h, cmLocalGenerator.cxx,
- cmLocalUnixMakefileGenerator3.cxx: ENH: Adding install/local
- global target for Makefile generators. This runs installation
- only in the current directory and not subdirectories.
-
-2006-08-29 09:40 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-28 08:55 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-27 15:52 alex
-
- * Modules/: KDE3Macros.cmake, kde3uic.cmake: BUG: fix #3324:
- KDE3Macros.cmake didn't find Qt designer plugins when running uic
- (the kde plugin dir wasn't used)
-
- Alex
-
-2006-08-27 15:34 alex
-
- * Modules/FindKDE3.cmake: STYLE: remove unnecessary
- /usr/local/include search path
-
- Alex
-
-2006-08-27 13:59 alex
-
- * Modules/FindQt3.cmake: BUG: #3514: qt-mt3.lib wasn't found on
- windows STYLE: remove some (now) unnecessary /usr/lib,
- /usr/local/lib, /usr/include and /usr/local/include search paths
-
- Alex
-
-2006-08-27 13:23 king
-
- * Source/cmStandardIncludes.h: COMP: Use new KWSys IOStream
- component to help print large file size integer types to streams.
-
-2006-08-27 13:17 king
-
- * Source/kwsys/: CMakeLists.txt, IOStream.cxx, IOStream.hxx.in,
- kwsysPlatformCxxTests.cxx: ENH: Adding KWSys component IOStream
- to provide help with broken C++ stream libraries.
-
-2006-08-27 13:15 king
-
- * Source/: cmFileCommand.cxx, CPack/cmCPackNSISGenerator.cxx: COMP:
- Need to use cmsys_stl when in CMake code, not kwsys_stl.
-
-2006-08-27 12:35 king
-
- * Source/kwsys/Glob.hxx.in: BUG: Need to undefine temporary macros
- defined at top of file.
-
-2006-08-27 11:25 king
-
- * Source/kwsys/kwsysPlatformCxxTests.cmake: BUG: When a try-run
- fails to compile create the run result cache entry with a bogus
- non-zero return value to avoid running the test again.
-
-2006-08-27 11:19 alex
-
- * Modules/: CheckCSourceCompiles.cmake,
- CheckCXXSourceCompiles.cmake: STYLE: fix #3519 (incorrect
- comment)
-
- Alex
-
-2006-08-27 11:14 alex
-
- * Modules/FindKDE3.cmake: BUG: fix comment (#3511)
-
- Alex
-
-2006-08-27 10:19 alex
-
- * Modules/KDE3Macros.cmake: BUG: apply patch from bero (#3518) so
- that DESTDIR is supported for installing icons
-
- Alex
-
-2006-08-27 09:57 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-27 09:34 alex
-
- * Modules/FindKDE3.cmake: ENH: #3225: first check the special
- paths, the the default path, also for searching kde-config
-
- Alex
-
-2006-08-26 16:14 king
-
- * Source/kwsys/SystemTools.cxx: BUG: GetLineFromStream should
- remove carriage return characters to make sure newlines do not
- get duplicates.
-
-2006-08-26 15:17 king
-
- * Source/kwsys/kwsysPlatformCxxTests.cmake: BUG: Fix location of
- CMakeOutput.log and CMakeError.log.
-
-2006-08-26 14:43 king
-
- * Source/cmMakefile.cxx: BUG: Reverting previous change until it is
- further tested.
-
-2006-08-26 14:37 king
-
- * Source/cmMakefile.cxx: BUG: ConfigureFile must read/write in
- binary mode to avoid windows newline trouble. The problem
- occurred when configuring a file in cygwin from a path starting
- with a windows drive letter instead of a posix path.
-
-2006-08-26 10:28 king
-
- * Source/: cmIfCommand.cxx, cmListCommand.cxx: STYLE: Fixed
- line-too-long.
-
-2006-08-26 10:22 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: STYLE: Fixed
- line-too-long.
-
-2006-08-26 09:42 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-25 22:56 king
-
- * Source/: cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h: BUG: Fix for VS.NET 2003 SP1 to
- make sure global target and utility target rules run every time.
-
-2006-08-25 22:56 king
-
- * Source/cmGlobalGenerator.cxx: BUG: Make sure targets of type
- GLOBAL_TARGET have a makefile set.
-
-2006-08-25 21:21 king
-
- * CMakeLists.txt, bootstrap: ENH: Changing default data and doc
- directories to share/cmake-V.v and doc/cmake-V.v instead of
- share/CMake and doc/CMake for consistency with many linux
- distribution conventions.
-
-2006-08-25 20:52 king
-
- * bootstrap: COMP: Fix for new kwsys Configure.h.in.
-
-2006-08-25 16:32 king
-
- * Source/kwsys/Configure.h.in: COMP: Disable _FILE_OFFSET_BITS
- check until sys/types.h check is enabled.
-
-2006-08-25 16:31 king
-
- * Source/cmIfCommand.cxx, Source/cmIfCommand.h,
- Tests/StringFileTest/CMakeLists.txt: ENH: Patch from Alex for
- adding IF(FILE_IS_NEWER). I also added a test.
-
-2006-08-25 16:07 king
-
- * Source/kwsys/Configure.h.in: ENH: Separate the notion of a
- request for LFS and its availability. Allow user code to block
- definitions of LFS macros. Added framework to give error if
- sys/types.h is included before this header when LFS is requested
- (currently disabled).
-
-2006-08-25 16:00 king
-
- * Source/kwsys/: CMakeLists.txt, Configure.h.in,
- RequireLargeFilesSupport.cxx, kwsysPlatformCxxTests.cxx: ENH:
- Moved test for large file support into kwsysPlatformCxxTests.cxx
- with name KWSYS_LFS_WORKS.
-
-2006-08-25 15:53 king
-
- * Source/kwsys/: CMakeLists.txt, kwsysPlatformCxxTests.cxx: ENH:
- Switching KWSYS_CHAR_IS_SIGNED test to use
- KWSYS_PLATFORM_CXX_TEST_RUN macro.
-
-2006-08-25 15:50 king
-
- * Source/kwsys/kwsysPlatformCxxTests.cmake: ENH: Added
- KWSYS_PLATFORM_CXX_TEST_RUN macro.
-
-2006-08-25 12:13 king
-
- * Source/kwsys/Glob.cxx: ENH: Globbing patterns should not match a
- slash inside a filename component.
-
-2006-08-25 12:11 king
-
- * Source/cmFileCommand.cxx: BUG: Avoid putting double-slashes in
- fromFile during installation. Also added regex debugging copy of
- the expression in string form.
-
-2006-08-25 09:14 king
-
- * Modules/UseSWIG.cmake: ENH: Added interface to add extra
- dependencies.
-
-2006-08-25 05:35 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-24 14:58 king
-
- * Source/: cmCommandArgumentParser.cxx, cmCommandArgumentParser.y:
- COMP: Added missing include for malloc on QNX.
-
-2006-08-24 10:57 andy
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ENH: Always do tar.Z since we do
- have compress now builtin
-
-2006-08-24 09:47 king
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ENH: Added code to remove any bad
- installations of CVS directories before running the test so that
- one failure does not need manual adjustment to get it to pass
- again.
-
-2006-08-24 09:34 king
-
- * Source/cmStandardLexer.h: COMP: Add missing malloc.h include for
- QNX.
-
-2006-08-24 09:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-23 18:11 alex
-
- * Modules/UseEcos.cmake: ENH: add i386 toolchain and some minor
- improvement of the comments
-
-2006-08-23 12:02 andy
-
- * Source/: cmCommandArgumentLexer.cxx, cmCommandArgumentParser.cxx,
- cmCommandArgumentParser.y, cmDependsJavaLexer.cxx,
- cmExprLexer.cxx: COMP: Attempt to fix aix build
-
-2006-08-23 10:21 martink
-
- * Source/cmIncludeDirectoryCommand.cxx: ENH: fix bad error
- reporting with not found paths
-
-2006-08-23 10:00 andy
-
- * Source/cmStandardIncludes.h: COMP: Add large files support to
- CMake
-
-2006-08-23 09:47 king
-
- * Source/kwsys/Terminal.c: ENH: Added '256color' terminal names.
- Patch applied from bug#3651.
-
-2006-08-23 09:45 king
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: Centralized generation of
- targets listed in the help to be done by the code that actually
- writes the targets.
-
-2006-08-23 09:04 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-23 08:07 andy
-
- * Source/kwsys/CMakeLists.txt: COMP: Support cmake older than 2.4
-
-2006-08-22 18:33 alex
-
- * Modules/UseEcos.cmake: STYLE: don't use the hack to copy and
- rename the created executable under cygwin but instead use the
- SUFFIX target property (I'll publish a short article about
- ecos+cmake RSN)
-
- Alex
-
-2006-08-22 16:07 andy
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: Handle more warnings
- properly on AIX
-
-2006-08-22 15:51 andy
-
- * Source/kwsys/CheckCXXSourceRuns.cmake: COMP: On some project
- configure may not copy right away
-
-2006-08-22 15:46 andy
-
- * Source/kwsys/: CMakeLists.txt, CheckCXXSourceRuns.cmake,
- CMakeEmptyInputFile.in: COMP: Add missing cmake file
-
-2006-08-22 15:34 andy
-
- * bootstrap, Source/kwsys/CMakeLists.txt,
- Source/kwsys/Configure.h.in,
- Source/kwsys/RequireLargeFilesSupport.cxx: ENH: Support large
- file systems in kwsys
-
-2006-08-22 10:38 king
-
- * Source/: cmDocumentation.cxx, cmInstallCommand.h: BUG: Fixed man
- page formatting for INSTALL command documentation. Fixed
- line-too-long warning.
-
-2006-08-22 10:16 andy
-
- * Source/: cmListCommand.cxx, cmListCommand.h: BUG: Add missing API
-
-2006-08-22 09:52 andy
-
- * Source/cmListCommand.cxx: BUG: Fix error messages and fix remove
- item to actually remove all instances of the item
-
-2006-08-22 09:20 andy
-
- * Source/CPack/cmCPackTarCompressGenerator.cxx: COMP: Remove
- warnings
-
-2006-08-22 08:58 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-21 22:39 king
-
- * Source/kwsys/Glob.cxx: BUG: Fixed #if test for case-insensitive
- glob on OSX.
-
-2006-08-21 17:52 king
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ENH: Added check for bad
- installation of a CVS directory to test.
-
-2006-08-21 17:47 king
-
- * Source/: cmFileCommand.cxx, cmInstallCommand.cxx: BUG: Directory
- installation pattern matching should be case insensitive on some
- platforms.
-
-2006-08-21 17:37 king
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: BUG: Need to execute
- sample_script.bat on windows and sample_script otherwise.
-
-2006-08-21 17:34 king
-
- * Source/kwsys/SystemTools.cxx: BUG: FileIsDirectory should work
- when the name contains a trailing slash.
-
-2006-08-21 16:55 king
-
- * Source/cmFileCommand.cxx, Source/cmInstallCommand.cxx,
- Source/cmInstallCommand.h,
- Source/cmInstallDirectoryGenerator.cxx,
- Source/cmInstallDirectoryGenerator.h,
- Source/cmInstallGenerator.cxx, Source/cmInstallGenerator.h,
- Source/cmInstallTargetGenerator.cxx,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstall/scripts/sample_script,
- Tests/SimpleInstall/scripts/sample_script.bat,
- Tests/SimpleInstallS2/CMakeLists.txt,
- Tests/SimpleInstallS2/scripts/sample_script,
- Tests/SimpleInstallS2/scripts/sample_script.bat: ENH: Implemented
- INSTALL(DIRECTORY) command and added a test. Re-organized
- cmFileCommand's implementation of FILE(INSTALL) a bit to help
- out. This addresses bug#1694 and partially addresses bug#2691.
-
-2006-08-21 14:17 king
-
- * Source/kwsys/: Glob.cxx, Glob.hxx.in: ENH: Exposed pattern->regex
- API. Cleaned up and commented implementation of pattern->regex
- conversion.
-
-2006-08-21 12:37 andy
-
- * Source/: CMakeLists.txt, CPack/cmCPackTarCompressGenerator.cxx,
- CPack/cmCPackTarCompressGenerator.h: ENH: Implement TarCompress
- generator using compress library
-
-2006-08-21 10:49 king
-
- * Source/cmFileCommand.cxx: BUG: RENAME option should be allowd for
- INSTALL(PROGRAMS) too.
-
-2006-08-21 10:10 hoffman
-
- * Modules/: CheckCSourceCompiles.cmake, CheckCSourceRuns.cmake,
- CheckCXXSourceCompiles.cmake, CheckCXXSourceRuns.cmake: ENH: fixs
- for check compile stuff from Oswald B.
-
-2006-08-21 08:29 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-20 06:53 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-19 06:53 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-18 08:57 king
-
- * Source/: cmAddCustomTargetCommand.h, cmStandardLexer.h: STYLE:
- Fixed line-too-long style errors.
-
-2006-08-18 08:51 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-17 16:40 hoffman
-
- * Source/CMakeLists.txt: ENH: fix project names to be case
- sensitive and change name to linkline from inkline
-
-2006-08-17 15:42 king
-
- * Source/cmFileCommand.cxx: BUG: Bundle installation needs all file
- permissions to be preserved from the build tree.
-
-2006-08-17 15:06 king
-
- * Source/cmAddCustomTargetCommand.h: ENH: Making documentation even
- less ambiguous since some users still think this command can
- generate a file with dependencies.
-
-2006-08-17 14:48 king
-
- * Source/: CMakeLists.txt, cmFileCommand.cxx, cmInstallCommand.cxx,
- cmInstallCommand.h, cmInstallDirectoryGenerator.cxx,
- cmInstallDirectoryGenerator.h, cmInstallFilesGenerator.cxx,
- cmInstallFilesGenerator.h, cmInstallGenerator.cxx,
- cmInstallGenerator.h, cmInstallTargetGenerator.cxx,
- cmInstallTargetGenerator.h: ENH: Started implementing
- INSTALL(DIRECTORY) command mode. This is not yet finished so it
- is undocumented and there is no test. These changes also
- separate the notions of file and directory permissions.
-
-2006-08-17 12:07 king
-
- * Source/cmFileCommand.cxx: ENH: Fix directory installation to
- properly deal with trailing slash names (using the rsync
- convention for whether the last directory name is included in
- naming the destination directory).
-
-2006-08-17 12:04 martink
-
- * Utilities/cmcompress/cmcompress.c: ENH: reorder code to remove
- forward declarations
-
-2006-08-17 12:02 king
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Added
- JoinPath overload that accepts an iterator range.
-
-2006-08-17 09:45 king
-
- * Utilities/cmcompress/cmcompress.c: COMP: Fixed linkage specifier
- consistency warning.
-
-2006-08-17 09:36 king
-
- * Modules/InstallRequiredSystemLibraries.cmake: ENH: Implemented
- support for installing VC8 runtime libraries.
-
-2006-08-17 09:35 king
-
- * Utilities/Release/Release.cmake: BUG: Removed code that is now in
- Modules/InstallRequiredSystemLibraries.cmake.
-
-2006-08-17 07:28 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-16 14:22 hoffman
-
- * Source/: cmDependsFortranLexer.cxx, cmDependsFortranLexer.h,
- cmDependsFortranLexer.in.l: ENH: revert change in parser as it
- sent the parser into an infinite loop
-
-2006-08-16 08:12 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-15 15:33 king
-
- * Modules/CMakeVCManifest.cmake, Modules/Platform/Windows-cl.cmake,
- Source/cmLocalVisualStudio7Generator.cxx: ENH: Adding flags to
- force generation of manifest files when building with VC 8.
-
-2006-08-15 15:28 king
-
- * Source/: cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx: BUG: Need to clean manifest
- files that may have been generated for .exe and .dll files.
-
-2006-08-15 12:00 king
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h, cmMakefileTargetGenerator.cxx:
- BUG: Added object language to list of object files in a local
- generator's directory. Fixed generation of preprocessing and
- assembly rules to be done only for C and C++ objects.
-
-2006-08-15 10:56 hoffman
-
- * Source/: cmDependsFortranLexer.cxx, cmDependsFortranLexer.h,
- cmDependsFortranLexer.in.l: ENH: change comment for fortran
- depend parsing
-
-2006-08-15 07:56 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-14 17:30 hoffman
-
- * Utilities/cmcompress/cmcompress.c: ENH: remove c++ comments from
- c code
-
-2006-08-14 17:02 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: do not use OBJROOT or you
- can get two copies of executables
-
-2006-08-14 14:16 andy
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: add newline for
- some versions of make
-
-2006-08-14 11:32 andy
-
- * Utilities/cmcompress/cmcompress.c: COMP: Remove warnings
-
-2006-08-14 10:59 andy
-
- * Utilities/cmcompress/cmcompress.c: COMP: Remove more warnings
-
-2006-08-14 10:51 andy
-
- * Source/: cmMakefileTargetGenerator.cxx,
- CTest/cmCTestScriptHandler.cxx, CTest/cmCTestStartCommand.cxx:
- ENH: fix for no newline on some makes fix for ctest and some
- symlinks
-
-2006-08-14 09:58 andy
-
- * Utilities/cmcompress/: cmcompress.c, cmcompress.h: COMP: Remove
- some warnings and make library report an error instead of call
- exit
-
-2006-08-14 09:50 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: still escape () but do not
- escape
-
-2006-08-14 08:54 andy
-
- * CMakeLists.txt: ENH: Start building compress library
-
-2006-08-14 07:56 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-13 07:52 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-12 07:53 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-11 10:54 martink
-
- * Source/kwsys/SystemTools.cxx: ENH: fix for AddKeepPath not
- calling realpath
-
-2006-08-11 09:56 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: escape ( and ) in unix paths
-
-2006-08-11 07:59 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-10 23:20 hoffman
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ENH: fix error in if statement
-
-2006-08-10 15:17 david.cole
-
- * Source/kwsys/SystemTools.cxx: BUG: strlen logic was backwards
- resulting in function body never actually executing... when
- called with valid strings, it was always doing nothing and
- returning false... now it works as expected.
-
-2006-08-10 11:05 hoffman
-
- * Source/CursesDialog/cmCursesMainForm.cxx: ENH: only change the
- cache if the value was really changed
-
-2006-08-10 09:38 hoffman
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ENH: fix failing tests
-
-2006-08-10 08:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-09 13:59 king
-
- * Modules/Platform/AIX.cmake: ENH: Enabling preprocessed source and
- asembly source generation rules on AIX compilers.
-
-2006-08-09 13:45 king
-
- * Modules/Platform/Windows-cl.cmake: ENH: Enabled generation of
- preprocessed and assembly source rules for MSVC with NMake.
-
-2006-08-09 13:14 king
-
- * Modules/Platform/: IRIX.cmake, IRIX64.cmake: ENH: Enabling
- preprocessed source and asembly source generation rules on SGI
- MIPSpro compilers.
-
-2006-08-09 13:10 king
-
- * Modules/Platform/HP-UX.cmake: ENH: Enabling preprocessed source
- and asembly source generation rules on HP aCC and cc.
-
-2006-08-09 11:48 king
-
- * Modules/Platform/SunOS.cmake: ENH: Enabling preprocessed source
- and asembly source generation rules on Sun CC.
-
-2006-08-09 11:43 king
-
- * Modules/Platform/gcc.cmake,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmMakefileTargetGenerator.cxx: ENH: Changed preprocessed
- source extension to .i and assembly extension to .s for more
- portability.
-
-2006-08-09 11:32 hoffman
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ENH: try to fix compress failure
-
-2006-08-09 09:56 king
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: Added options
- CMAKE_SKIP_PREPROCESSED_SOURCE_RULES and
- CMAKE_SKIP_ASSEMBLY_SOURCE_RULES to allow projects to disable
- generation of .E and .S rules.
-
-2006-08-09 09:45 king
-
- * Source/: cmListFileLexer.c, cmListFileLexer.in.l,
- cmStandardLexer.h: COMP: Fix warnings produced by the change in
- include order from the re-organization of lexer code.
-
-2006-08-09 07:47 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-08 15:55 hoffman
-
- * Source/CTest/cmCTestBuildAndTestHandler.cxx: ENH: add cmake
- output to build and test
-
-2006-08-08 14:00 king
-
- * Source/: cmCommandArgumentLexer.cxx, cmCommandArgumentLexer.in.l,
- cmDependsFortranLexer.cxx, cmDependsFortranLexer.in.l,
- cmDependsJavaLexer.cxx, cmDependsJavaLexer.in.l, cmExprLexer.cxx,
- cmExprLexer.in.l, cmListFileLexer.c, cmListFileLexer.in.l,
- cmStandardLexer.h: COMP: Moved duplicate flex-generated lexer
- warning suppression and cross-platform support code to a single
- cmStandardLexer.h included by all lexer sources. Added fix for
- macro redefinitions on Borland 5.8 compiler.
-
-2006-08-08 13:44 hoffman
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: ENH: make sure
- RuleVariable struct is initialized correctly, also make sure
- custom command targets do not crash cmake
-
-2006-08-08 13:02 king
-
- * Source/cmMakefileLibraryTargetGenerator.cxx: STYLE: Fixed line
- length.
-
-2006-08-08 11:26 king
-
- * Source/cmLocalVisualStudioGenerator.cxx: BUG: Duplicate object
- name detection should not be case sensitive since this code is
- used on Windows file systems. This addresses bug#3589.
-
-2006-08-08 07:39 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-07 23:25 king
-
- * Modules/Platform/gcc.cmake, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalUnixMakefileGenerator3.h,
- Source/cmMakefileTargetGenerator.cxx: ENH: Added generation of
- rules to manually request preprocessed or generated assembly
- sources.
-
-2006-08-07 17:22 king
-
- * Source/cmake.cxx: ENH: Added undocumented option -E
- cmake_unimplemented_variable to help print useful error messages
- for unimplemented features on a given platform.
-
-2006-08-07 10:10 hoffman
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ENH: finally fix the failing test
- on the dashboard for the past month or so
-
-2006-08-07 08:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-06 07:57 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-05 08:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-04 10:35 hoffman
-
- * Utilities/cmtar/CMakeLists.txt: ENH: give up on try run
-
-2006-08-04 08:12 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-03 15:20 hoffman
-
- * Modules/CheckCXXSourceRuns.cmake: ENH: add a try run source code
- macro
-
-2006-08-03 14:38 hoffman
-
- * Modules/CheckCSourceRuns.cmake: ENH: fix error
-
-2006-08-03 14:36 hoffman
-
- * Modules/CheckCSourceRuns.cmake, Utilities/cmtar/CMakeLists.txt:
- ENH: fix for makedev three args test
-
-2006-08-03 13:51 hoffman
-
- * Utilities/cmtar/CMakeLists.txt: ENH: use try run source
-
-2006-08-03 13:41 hoffman
-
- * Utilities/cmtar/CMakeLists.txt: ENH: change to a try run so that
- it will fail on the sun
-
-2006-08-03 13:41 hoffman
-
- * Modules/: CheckCSourceCompiles.cmake, CheckCSourceRuns.cmake:
- ENH: add a crun macro and fix the output log for compile c
-
-2006-08-03 09:42 king
-
- * Source/: cmMakefileLibraryTargetGenerator.cxx,
- cmSetTargetPropertiesCommand.h, cmTarget.cxx: ENH: Added target
- property CLEAN_DIRECT_OUTPUT to not clean all forms of a library
- name so that static and shared libraries of the same name can
- coexist in a single build directory.
-
-2006-08-03 09:26 king
-
- * Source/cmLocalVisualStudioGenerator.cxx,
- Tests/Complex/Executable/A.txt,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/A.txt,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/A.txt,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt: BUG: Make
- sure sources with unknown extensions are not compiled by VS.
-
-2006-08-03 09:26 king
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: Moved GetSourceFileLanguage
- up to cmLocalGenerator.
-
-2006-08-03 08:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-02 21:30 king
-
- * Source/cmInstallTargetGenerator.cxx: STYLE: Fixed long line.
-
-2006-08-02 21:24 hoffman
-
- * Utilities/cmtar/CMakeLists.txt: ENH: use dev_t instead of major_t
- and minor_t
-
-2006-08-02 12:51 david.cole
-
- * Utilities/cmtar/CMakeLists.txt: COMP: libtar should build when
- included in non-CMake projects...
-
-2006-08-02 11:06 king
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: Restoring previous change
- with a fix.
-
-2006-08-02 07:51 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-08-01 19:52 hoffman
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: undo change that broke
- borland 5.6 cont
-
-2006-08-01 16:16 king
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: Moved generation of
- directory-level object convenience rules to a separate method.
- This will aid generation of more such rules later.
-
-2006-08-01 16:01 hoffman
-
- * Utilities/cmtar/CMakeLists.txt: ENH: make cmake build with older
- versions of cmake
-
-2006-08-01 15:48 hoffman
-
- * Modules/FindQt4.cmake: ENH: fix for qtmain
-
-2006-08-01 15:36 king
-
- * Modules/Platform/Linux.cmake,
- Source/cmInstallTargetGenerator.cxx: BUG: Fixed shared library
- version support for Fortran. This addresses bug#3558.
-
-2006-08-01 15:26 hoffman
-
- * Utilities/cmtar/CMakeLists.txt: ENH: add a try compile test for
- makedev_three_args
-
-2006-08-01 15:24 hoffman
-
- * Modules/: CheckCSourceCompiles.cmake, FindQt4.cmake: ENH: fix for
- location of error log
-
-2006-08-01 15:16 glehmann
-
- * Source/kwsys/Directory.cxx: BUG: #3563. Segmentation fault with
- non initialized input or NULL pointers.
-
-2006-08-01 14:45 king
-
- * Source/kwsys/: Registry.cxx, testCommandLineArguments.cxx,
- testCommandLineArguments1.cxx, testSystemTools.cxx: COMP: Added
- missing headers. This partially addresses bug#3556.
-
-2006-08-01 14:34 hoffman
-
- * Modules/FindQt4.cmake: ENH: add QtCored as a possible name for
- qtcore debug
-
-2006-08-01 14:33 king
-
- * Source/cmMakefile.cxx: ENH: Added platform identifier for QNXNTO.
- This partially addresses bug#3556.
-
-2006-08-01 14:31 king
-
- * Source/: cmCPluginAPI.cxx, cmLoadCommandCommand.cxx: COMP: Added
- missing includes. This partially addresses bug#3556.
-
-2006-08-01 14:28 king
-
- * Source/kwsys/ProcessUNIX.c: COMP: Use SA_RESTART only if it is
- defined for the current platform. This partially addresses
- bug#3556.
-
-2006-08-01 14:10 king
-
- * Modules/FindKDE3.cmake: BUG: Fix usage of FIND_PROGRAM command.
-
-2006-08-01 12:27 hoffman
-
- * Modules/: FindQt4.cmake, UseQt4.cmake: ENH: fix for optimized
- debug stuff
-
-2006-08-01 11:38 king
-
- * Source/cmCommandArgumentLexer.cxx,
- Source/cmCommandArgumentLexer.in.l,
- Source/cmCommandArgumentParser.cxx,
- Source/cmCommandArgumentParser.y,
- Source/cmDependsFortranLexer.cxx,
- Source/cmDependsFortranLexer.in.l,
- Source/cmDependsFortranParser.cxx,
- Source/cmDependsFortranParser.y, Source/cmDependsJavaLexer.cxx,
- Source/cmDependsJavaLexer.in.l, Source/cmDependsJavaParser.cxx,
- Source/cmDependsJavaParser.y, Source/cmExprLexer.cxx,
- Source/cmExprLexer.in.l, Source/cmExprParser.cxx,
- Source/cmExprParser.y, Source/cmListFileCache.cxx,
- Source/cmListFileLexer.c, Source/cmListFileLexer.in.l,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmMakefileTargetGenerator.cxx, Source/cmSetCommand.cxx,
- Source/cmStandardIncludes.h, Source/cmTarget.cxx,
- Source/cmWin32ProcessExecution.cxx,
- Source/CTest/cmCTestBuildHandler.cxx,
- Source/kwsys/CommandLineArguments.cxx,
- Source/kwsys/SystemTools.cxx, Source/kwsys/testProcess.c,
- Utilities/cmcurl/CMakeLists.txt, Utilities/cmtar/CMakeLists.txt,
- Utilities/cmzlib/CMakeLists.txt: COMP: Fix and/or disable
- warnings for Borland 5.6 build.
-
-2006-08-01 11:26 hoffman
-
- * Modules/: FindQt4.cmake, UseQt4.cmake: ENH: fix qtmain for
- release
-
-2006-08-01 10:51 hoffman
-
- * Modules/: FindQt4.cmake, UseQt4.cmake: ENH: fix qtmain for
- release
-
-2006-08-01 10:49 king
-
- * Tests/: Complex/Executable/A.cxx, Complex/Executable/A.h,
- Complex/Executable/A.hh, Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/A.cxx,
- ComplexOneConfig/Executable/A.h,
- ComplexOneConfig/Executable/A.hh,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/A.cxx,
- ComplexRelativePaths/Executable/A.h,
- ComplexRelativePaths/Executable/A.hh,
- ComplexRelativePaths/Executable/CMakeLists.txt: ENH: Adding test
- for source files and header files with the same base name in the
- same target.
-
-2006-08-01 10:48 king
-
- * Source/: cmLocalVisualStudioGenerator.cxx,
- cmLocalVisualStudioGenerator.h, cmMakefile.cxx: ENH: Adding .hh
- file as a C++ header file extension. Remove duplicate code from
- implementation of unique object name computation for VS
- generators. This addresses bug#3565.
-
-2006-08-01 09:12 hoffman
-
- * Modules/FindQt4.cmake: ENH: put back find qtmain
-
-2006-08-01 07:42 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-31 16:59 andy
-
- * Utilities/cmcompress/: CMakeLists.txt, cmcompress.c,
- cmcompress.h, compress.c.original: ENH: Initial import
-
-2006-07-31 13:50 martink
-
- * Source/kwsys/: SystemTools.hxx.in, testSystemTools.cxx: ENH:
- better coverage
-
-2006-07-31 11:00 hoffman
-
- * Utilities/Release/cmake_release.sh: ENH: move release branch
-
-2006-07-31 10:28 martink
-
- * Source/CPack/cpack.cxx: ENH: fix line lengths
-
-2006-07-31 07:19 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-30 07:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-29 07:21 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-28 14:47 martink
-
- * Source/kwsys/testSystemTools.cxx: BUG: fix some bad code and add
- a couple more tests
-
-2006-07-28 14:20 martink
-
- * Docs/: CMake12p2.rtf, CMake14.rtf, CMake16.rtf: ENH: remove old
- files
-
-2006-07-28 12:00 hoffman
-
- * ChangeLog.manual, Source/cmLocalVisualStudio7Generator.cxx: ENH:
- move stuff from main tree
-
-2006-07-28 11:21 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for 3557
- TargetEnvironment for MIDL Compiler set correctly for 64 bit
-
-2006-07-28 11:13 hoffman
-
- * ChangeLog.manual: ENH: changes on branch
-
-2006-07-28 09:22 andy
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ENH: Add test for bz2 and check
- for compress
-
-2006-07-28 09:14 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: move from main tree
-
-2006-07-28 09:14 andy
-
- * Source/CPack/cpack.cxx: BUG: Bail out on generator initialization
- failure
-
-2006-07-28 08:57 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: move from main tree
-
-2006-07-28 08:19 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-27 15:02 king
-
- * Source/cmGlobalXCodeGenerator.cxx: BUG: Set
- GCC_SYMBOLS_PRIVATE_EXTERN and GCC_INLINES_ARE_PRIVATE_EXTERN
- attributes on all projects to prevent -fvisibility=hidden flags.
- This is needed to make RTTI work by default.
-
-2006-07-27 11:55 andy
-
- * Source/CPack/cpack.cxx: BUG: Fix executing and help
-
-2006-07-27 11:27 king
-
- * Source/kwsys/SystemTools.cxx: BUG: Do not block signals during
- sleep. Leave that up to the application.
-
-2006-07-27 11:26 andy
-
- * Source/CPack/cpack.cxx: BUG: Prevent crash when no input file or
- generator specified
-
-2006-07-27 10:37 hoffman
-
- * ChangeLog.manual, bootstrap,
- Modules/CMakeCommonLanguageInclude.cmake,
- Modules/CMakeTestCCompiler.cmake,
- Modules/Platform/Windows-cl.cmake,
- Source/cmCommandArgumentParserHelper.cxx,
- Source/cmGlobalUnixMakefileGenerator3.cxx, Source/cmMakefile.cxx,
- Source/cmSystemTools.cxx, Source/CTest/cmCTestTestHandler.cxx,
- Tests/LoadCommand/LoadedCommand.cxx,
- Tests/LoadCommand/CMakeCommands/cmTestCommand.c,
- Tests/LoadCommandOneConfig/LoadedCommand.cxx,
- Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: ENH:
- move changes from main tree to branch
-
-2006-07-27 09:40 king
-
- * Source/CTest/cmCTestHandlerCommand.cxx: BUG: Fix error message
- when handler cannot be created.
-
-2006-07-27 08:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-26 14:46 martink
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: fix comment
-
-2006-07-26 14:10 andy
-
- * bootstrap, Modules/CMakeTestCCompiler.cmake: COMP: More warnings
- and hp issues
-
-2006-07-26 13:19 hoffman
-
- * Modules/CMakeCommonLanguageInclude.cmake: BUG: fix for 3550
- again
-
-2006-07-26 11:46 andy
-
- * bootstrap, Modules/CMakeTestCCompiler.cmake,
- Source/cmCommandArgumentParserHelper.cxx,
- Source/cmIncludeDirectoryCommand.cxx, Source/cmMakefile.cxx,
- Source/cmSystemTools.cxx, Source/CTest/cmCTestTestHandler.cxx:
- COMP: Handle both ansi and non-ansi C
-
-2006-07-26 11:15 hoffman
-
- * Modules/Platform/Windows-cl.cmake: BUG: fix for bug 3550, for
- release builds do not build incremental
-
-2006-07-26 10:11 hoffman
-
- * bootstrap: ENH: put back so it works on hp
-
-2006-07-26 09:11 hoffman
-
- * Tests/: LoadCommand/CMakeCommands/cmTestCommand.c,
- LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: ENH: do not
- use c++ comments in c code
-
-2006-07-26 08:35 hoffman
-
- * CTestCustom.ctest.in, ChangeLog.manual, bootstrap,
- Modules/CMakeImportBuildSettings.cmake,
- Modules/Platform/Windows-cl.cmake,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in,
- Source/kwsys/testSystemTools.cxx,
- Tests/LoadCommand/CMakeCommands/cmTestCommand.c,
- Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: ENH:
- move changes from main tree
-
-2006-07-26 07:53 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-25 15:18 king
-
- * Source/kwsys/SystemTools.cxx: BUG: Mask signals during
- SystemTools::Delay to avoid interrupted sleep.
-
-2006-07-25 14:32 martink
-
- * Tests/: LoadCommand/CMakeCommands/cmTestCommand.c,
- LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: BUG: remove
- command causing issues with mid build reruns of cmake on vs70
-
-2006-07-25 14:15 martink
-
- * Source/kwsys/testSystemTools.cxx: COMP: fix compile issue
-
-2006-07-25 12:38 martink
-
- * Tests/: LoadCommand/CMakeCommands/cmTestCommand.c,
- LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: ENH: trying a
- slight change
-
-2006-07-25 12:08 martink
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in,
- testSystemTools.cxx: BUG: some bug fixes, better docs, and more
- coverage
-
-2006-07-25 11:00 andy
-
- * bootstrap: COMP: Remove warning
-
-2006-07-25 10:46 martink
-
- * Tests/: LoadCommand/CMakeCommands/cmTestCommand.c,
- LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: BUG: remove
- c++comments
-
-2006-07-25 10:01 hoffman
-
- * Source/CPack/cmCPackGenerators.cxx: ENH: remove uncompiled header
-
-2006-07-25 08:27 hoffman
-
- * CTestCustom.ctest.in: ENH: try to get rid of clock skew warning
-
-2006-07-25 08:13 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-24 16:58 hoffman
-
- * Modules/CMakeImportBuildSettings.cmake: ENH: fix for case
- difference with nmake
-
-2006-07-24 16:35 martink
-
- * Tests/: LoadCommand/CMakeCommands/cmTestCommand.c,
- LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: BUG: temp fix
-
-2006-07-24 16:13 martink
-
- * Modules/Platform/Windows-cl.cmake: BUG: fix for CXX only projects
-
-2006-07-24 15:40 martink
-
- * Tests/: LoadCommand/CMakeCommands/cmTestCommand.c,
- LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: ENH: add
- more coverage
-
-2006-07-24 11:27 hoffman
-
- * Source/: cmLocalVisualStudio7Generator.cxx,
- kwsys/SystemTools.cxx: ENH: allow for source tree to be in root
- directory
-
-2006-07-24 11:19 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakeFortranCompiler.cmake.in, Modules/CPack.cmake,
- Modules/FindBoost.cmake, Modules/FindKDE4.cmake,
- Modules/FindOpenGL.cmake, Modules/FindwxWidgets.cmake,
- Modules/FindwxWindows.cmake, Modules/Use_wxWindows.cmake,
- Modules/UsewxWidgets.cmake, Modules/readme.txt,
- Source/CMakeLists.txt, Source/cmBuildCommand.cxx,
- Source/cmCTest.cxx, Source/cmFindBase.cxx, Source/cmFindBase.h,
- Source/cmFindLibraryCommand.cxx, Source/cmFindPackageCommand.cxx,
- Source/cmFindPathCommand.cxx, Source/cmFindProgramCommand.cxx,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmGlobalUnixMakefileGenerator3.h,
- Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalUnixMakefileGenerator3.h,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio6Generator.h,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Source/cmLocalVisualStudioGenerator.cxx,
- Source/cmLocalVisualStudioGenerator.h, Source/cmMakefile.cxx,
- Source/cmMakefile.h,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.h,
- Source/cmSetSourceFilesPropertiesCommand.cxx,
- Source/cmStandardIncludes.h, Source/cmake.cxx,
- Source/CPack/cmCPackGenericGenerator.cxx,
- Source/CPack/cmCPackGenericGenerator.h, Source/CPack/cpack.cxx,
- Source/CTest/cmCTestBuildHandler.cxx,
- Source/CTest/cmCTestConfigureCommand.cxx,
- Source/CTest/cmCTestHandlerCommand.cxx,
- Source/CTest/cmCTestScriptHandler.cxx,
- Source/CTest/cmCTestStartCommand.cxx,
- Source/CTest/cmCTestTestHandler.cxx,
- Source/CTest/cmCTestUpdateCommand.cxx,
- Source/kwsys/CMakeLists.txt,
- Source/kwsys/CommandLineArguments.cxx,
- Source/kwsys/CommandLineArguments.hxx.in, Source/kwsys/Glob.cxx,
- Source/kwsys/ProcessWin32.c, Source/kwsys/Registry.cxx,
- Source/kwsys/SystemTools.cxx, Source/kwsys/Terminal.c,
- Source/kwsys/kwsys_ios_iostream.h.in,
- Source/kwsys/testCommandLineArguments.cxx,
- Source/kwsys/testCommandLineArguments1.cxx,
- Tests/BundleTest/BundleLib.cxx, Tests/BundleTest/CMakeLists.txt,
- Tests/BundleTest/BundleSubDir/CMakeLists.txt,
- Tests/CTestTest/test.cmake.in, Tests/CxxOnly/CMakeLists.txt,
- Tests/CxxOnly/cxxonly.cxx, Tests/CxxOnly/libcxx1.cxx,
- Tests/CxxOnly/libcxx1.h, Tests/CxxOnly/libcxx2.cxx,
- Tests/CxxOnly/libcxx2.h, Tests/LoadCommand/CMakeLists.txt,
- Tests/LoadCommand/LoadedCommand.cxx.in,
- Tests/LoadCommand/CMakeCommands/cmTestCommand.c,
- Tests/LoadCommandOneConfig/CMakeLists.txt,
- Tests/LoadCommandOneConfig/LoadedCommand.cxx.in,
- Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c,
- Tests/OutOfSource/simple.cxx,
- Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt,
- Tests/OutOfSource/OutOfSourceSubdir/simple.cxx,
- Utilities/cmcurl/Testing/ftpget.c,
- Utilities/cmcurl/Testing/ftpgetresp.c,
- Utilities/cmcurl/Testing/ftpupload.c, Utilities/cmtar/block.c,
- Utilities/cmtar/libtar.c, Utilities/cmtar/compat/strlcpy.c,
- Utilities/cmtar/listhash/list.c.in: ENH: move changes from main
- tree to release branch
-
-2006-07-24 09:43 martink
-
- * Tests/CTestTest/test.cmake.in: ENH: more coverage
-
-2006-07-24 08:01 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-23 07:49 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-22 08:11 king
-
- * Modules/CMakeDetermineCXXCompiler.cmake: BUG: CMAKE_AR should be
- advanced.
-
-2006-07-22 08:04 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-21 15:43 king
-
- * Modules/FindwxWidgets.cmake, Modules/FindwxWindows.cmake,
- Modules/Use_wxWindows.cmake, Modules/UsewxWidgets.cmake,
- Source/CMakeLists.txt: ENH: Applying patch from bug#3443 to
- implement FindwxWidgets.cmake properly. It also updates the
- UseWX test and WXDialog sources to use the new find script.
-
-2006-07-21 15:20 king
-
- * Utilities/Release/config_Darwin: ENH: Do not include experimental
- WXDialog in release.
-
-2006-07-21 15:16 king
-
- * Modules/readme.txt: ENH: Added documentation about
- XXX_FIND_COMPONENTS for FIND_PACKAGE.
-
-2006-07-21 14:58 martink
-
- * Source/: cmCTest.cxx, cmake.cxx: ENH: fix color output inside of
- ctest runs
-
-2006-07-21 14:02 martink
-
- * Tests/: LoadCommand/CMakeLists.txt,
- LoadCommand/LoadedCommand.cxx.in,
- LoadCommandOneConfig/CMakeLists.txt,
- LoadCommandOneConfig/LoadedCommand.cxx.in,
- LoadCommand/LoadedCommand.cxx,
- LoadCommandOneConfig/LoadedCommand.cxx,
- LoadCommand/CMakeCommands/cmTestCommand.c,
- LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: BUG: work
- around XCode issue
-
-2006-07-21 13:05 andy
-
- * Source/cmake.cxx: ENH: Cleanup. Replace c-style cast with
- static_cast and replace sprintf with cmOStringStream
-
-2006-07-21 12:04 king
-
- * Modules/FindBoost.cmake: ENH: Adding FindBoost.cmake module from
- Andrew Maclean. This addresses bug#3447.
-
-2006-07-21 11:53 king
-
- * Modules/CMakeDetermineCXXCompiler.cmake, Source/CMakeLists.txt:
- BUG: Fixed building of C++-only projects and added a test.
-
-2006-07-21 11:43 king
-
- * Tests/CxxOnly/: CMakeLists.txt, cxxonly.cxx, libcxx1.cxx,
- libcxx1.h, libcxx2.cxx, libcxx2.h: ENH: Adding C++-only test.
-
-2006-07-21 10:26 martink
-
- * Tests/: CTestTest/test.cmake.in, LoadCommand/CMakeLists.txt,
- LoadCommand/CMakeCommands/cmTestCommand.c,
- LoadCommandOneConfig/CMakeLists.txt,
- LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: ENH: increase
- coverage in a couple places
-
-2006-07-21 08:05 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-20 09:35 king
-
- * Source/kwsys/Terminal.c: BUG: Do not display VT100 escapes inside
- emacs even if TERM is set to xterm.
-
-2006-07-20 08:18 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-19 08:21 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-18 15:21 king
-
- * Source/: cmFindBase.cxx, cmFindBase.h, cmFindLibraryCommand.cxx,
- cmFindPathCommand.cxx, cmFindProgramCommand.cxx: BUG: If the user
- specifies a cache entry on the command line without a type, the
- FIND_* commands should add the type and docstring to the given
- value and put it back in the cache.
-
-2006-07-18 13:16 king
-
- * Modules/readme.txt: STYLE: Added note about singular versus
- plural name for XXX_INCLUDE_DIRS. Added XXX_LIBRARY_DIRS and
- XXX_YY_INCLUDE_DIR conventions.
-
-2006-07-18 13:02 king
-
- * Source/kwsys/kwsys_ios_iostream.h.in: COMP: Fix references to
- cin, cout, cerr, and clog in case of HP aCC compiler with -mt
- flag.
-
-2006-07-18 09:32 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalVisualStudioGenerator.cxx: STYLE: fix long lines
-
-2006-07-18 08:12 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-17 13:34 king
-
- * Source/kwsys/ProcessWin32.c: BUG: When handing the child stdin
- pipe a file, allow another process to be writing to the file at
- the same time. This allows children such as tail -f to function
- properly.
-
-2006-07-17 11:07 martink
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: COMP: fix warning
-
-2006-07-17 09:15 andy
-
- * Source/kwsys/testCommandLineArguments1.cxx: COMP: Only delete
- once
-
-2006-07-17 08:14 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-16 21:11 andy
-
- * Source/kwsys/: testCommandLineArguments.cxx,
- testCommandLineArguments1.cxx: COMP: Remove some warnings
-
-2006-07-16 08:13 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-15 08:21 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-14 15:02 andy
-
- * Source/kwsys/: CMakeLists.txt, CommandLineArguments.cxx,
- CommandLineArguments.hxx.in, testCommandLineArguments.cxx,
- testCommandLineArguments1.cxx: ENH: Add a way to get unused
- arguments and add a test
-
-2006-07-14 13:59 andy
-
- * Source/kwsys/CommandLineArguments.hxx.in: COMP: Remove warning
-
-2006-07-14 13:32 andy
-
- * Source/kwsys/: CommandLineArguments.cxx,
- CommandLineArguments.hxx.in: ENH: It does not really makes sense
- to have Boolean Argument List
-
-2006-07-14 09:13 andy
-
- * Source/kwsys/: CMakeLists.txt, CommandLineArguments.cxx,
- CommandLineArguments.hxx.in, SystemTools.cxx,
- testCommandLineArguments.cxx: ENH: Add support for
- multi-arguments: -f arg1 arg2 arg3 ... and support for lists: -f
- arg1 -f arg2 -f arg3 ... and for boolean to be stored as strings
- and doubles
-
-2006-07-14 08:01 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-13 14:03 martink
-
- * Source/cmMakefileTargetGenerator.cxx: ENH: added progress to
- custom commands with comments
-
-2006-07-13 11:30 andy
-
- * Utilities/cmtar/listhash/list.c.in: COMP: Remove warning
-
-2006-07-13 09:26 andy
-
- * Utilities/cmtar/libtar.c, Utilities/cmtar/compat/strlcpy.c,
- Utilities/cmtar/listhash/list.c.in, Source/cmStandardIncludes.h,
- Source/kwsys/SystemTools.cxx: COMP: Remove warnings
-
-2006-07-13 09:13 andy
-
- * Source/CTest/cmCTestTestHandler.cxx: STYLE: Fix kwstyle
-
-2006-07-13 09:07 andy
-
- * Source/kwsys/Registry.cxx: COMP: Remove warnings
-
-2006-07-13 07:46 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-12 16:30 andy
-
- * Source/CTest/: cmCTestBuildHandler.cxx, cmCTestTestHandler.cxx:
- ENH: Remove debug
-
-2006-07-12 16:21 andy
-
- * Source/kwsys/Registry.cxx: BUG: Fix error conditions
-
-2006-07-12 14:41 martink
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: COMP: fix old compiler
- issue
-
-2006-07-12 14:15 martink
-
- * Source/: cmMakefileTargetGenerator.cxx,
- cmMakefileTargetGenerator.h: BUG: reduce the number of file
- handles kept open
-
-2006-07-12 13:11 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: added progress for subdir
- all targets and fixed compiler waring
-
-2006-07-12 09:21 andy
-
- * Source/CTest/cmCTestTestHandler.cxx: STYLE: Remove debug
-
-2006-07-12 09:20 andy
-
- * Source/kwsys/CommandLineArguments.cxx, Source/kwsys/Glob.cxx,
- Source/kwsys/Registry.cxx, Source/kwsys/SystemTools.cxx,
- Utilities/cmtar/block.c, Utilities/cmtar/libtar.c,
- Utilities/cmtar/compat/strlcpy.c,
- Utilities/cmtar/listhash/list.c.in: COMP: Remove warnings
-
-2006-07-12 08:06 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-11 17:10 king
-
- * Source/cmFindPackageCommand.cxx: ENH: Added creation of
- XXX_FIND_COMPONENTS list of all components requested with
- REQUIRED option. This addresses the feature request in bug#3494.
-
-2006-07-11 16:08 andy
-
- * Source/cmCTest.cxx: COMP: Fix stl string access
-
-2006-07-11 15:58 andy
-
- * Source/: cmCTest.cxx, CTest/cmCTestConfigureCommand.cxx,
- CTest/cmCTestHandlerCommand.cxx, CTest/cmCTestStartCommand.cxx,
- CTest/cmCTestTestHandler.cxx, CTest/cmCTestUpdateCommand.cxx:
- BUG: Try to fix the problem of bad test names
-
-2006-07-11 13:23 king
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio6Generator.h: ENH: Made
- cmLocalVisualStudioGenerator a superclass of
- cmLocalVisualStudio6Generator. Implemented object file unique
- naming when multiple sources share the same name.
-
-2006-07-11 11:41 king
-
- * Source/: CMakeLists.txt, cmLocalGenerator.cxx,
- cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h,
- cmLocalVisualStudioGenerator.cxx, cmLocalVisualStudioGenerator.h:
- ENH: Moved unique object file name computation from
- cmLocalUnixMakefileGenerator3 up to cmLocalGenerator for use by
- all generators. Created cmLocalVisualStudioGenerator as
- superclass for all VS generators. Implemented on-demand unique
- object file name computation for VS 7 generator to avoid slow
- compiles when all sources are in subdirectories.
-
-2006-07-11 11:08 martink
-
- * Source/cmMakefileTargetGenerator.cxx: ENH: fix compile warning
-
-2006-07-11 09:55 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h, cmMakefileTargetGenerator.cxx,
- cmMakefileTargetGenerator.h: BUG: changed to progress to make it
- more flexible and to no relink targets as often
-
-2006-07-11 07:56 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-10 07:59 andy
-
- * Source/CPack/cmCPackGenericGenerator.cxx: COMP: Remove warnings
- and style problems
-
-2006-07-10 07:53 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-10 07:52 andy
-
- * Source/: cmMakefileTargetGenerator.cxx, CPack/cpack.cxx: STYLE:
- Fix some style errors
-
-2006-07-09 13:48 andy
-
- * Utilities/cmcurl/Testing/: ftpget.c, ftpgetresp.c, ftpupload.c:
- COMP: Remove errors
-
-2006-07-09 13:20 andy
-
- * Modules/CPack.cmake, Source/CPack/cmCPackGenericGenerator.cxx,
- Source/CPack/cmCPackGenericGenerator.h, Source/CPack/cpack.cxx:
- ENH: Several cleanups and support for multiple generators
-
-2006-07-09 13:19 andy
-
- * Source/: cmMakefile.cxx, cmMakefile.h: ENH: Add a copy
- constructor to copy the values
-
-2006-07-09 13:18 andy
-
- * Source/: cmBuildCommand.cxx, cmCTest.cxx: ENH: Pass -C flag to
- cmake to generate the apropriate build command
-
-2006-07-09 07:51 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-08 07:56 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-07 13:59 andy
-
- * Source/CTest/cmCTestScriptHandler.cxx: ENH: Be more verbose
-
-2006-07-07 09:54 king
-
- * Tests/OutOfSource/: simple.cxx, OutOfSourceSubdir/CMakeLists.txt,
- OutOfSourceSubdir/simple.cxx: ENH: Adding test for multiple
- source files with the same name but different full paths.
-
-2006-07-07 08:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-06 16:05 andy
-
- * Source/CMakeLists.txt, Tests/BundleTest/CMakeLists.txt,
- Tests/BundleTest/BundleSubDir/CMakeLists.txt: ENH: Improve the
- test to create a bundle in the subdirectory
-
-2006-07-06 16:04 andy
-
- * Source/: cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx,
- cmSetSourceFilesPropertiesCommand.cxx: BUG: Several fixes to
- handle bundle content on Mac OSX
-
-2006-07-06 13:52 andy
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Make the path
- change more localized to bundles only
-
-2006-07-06 11:35 andy
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Revert the change
- 1.152
-
-2006-07-06 07:45 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-05 16:27 andy
-
- * Source/cmLocalUnixMakefileGenerator3.cxx, Source/CMakeLists.txt,
- Tests/BundleTest/BundleLib.cxx, Tests/BundleTest/CMakeLists.txt:
- BUG: If the source file specified is not in a source tree, do not
- use full path to the file
-
-2006-07-05 16:21 andy
-
- * Modules/FindOpenGL.cmake: ENH: On apple do not look for X11
-
-2006-07-05 10:06 king
-
- * Source/kwsys/CMakeLists.txt: ENH: Updated installation options
- and implementation to use INSTALL command if it is available.
- This will allow installation component assignment and separate
- installation of the .dll and .lib on windows.
-
-2006-07-05 08:26 berk
-
- * Source/kwsys/CMakeLists.txt: ENH: Adding cmake 2.4 style
- installation. NOTE: These changes will work on a paraview build
- only. This file has to updated to be general
-
-2006-07-05 07:47 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-04 11:06 andy
-
- * Modules/CMakeFortranCompiler.cmake.in: ENH: Merge debian changes.
- Support more fortran extensions
-
-2006-07-04 08:38 alex
-
- * Modules/FindKDE4.cmake:
- ENH: prefer kde4-config over kde-config, since for KDE 4
- kde-config will be renamed to kde-config, and so cmake has to
- prefer this one over the old version
-
- Alex
-
-2006-07-04 07:55 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-03 07:28 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-02 07:30 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-07-01 07:27 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-06-30 13:51 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: add EHa option
-
-2006-06-30 13:50 hoffman
-
- * Modules/MacroAddFileDependencies.cmake,
- Tests/CustomCommand/config.h.in: ENH: add files from main tree
-
-2006-06-30 13:48 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, cmake_uninstall.cmake.in,
- Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakeDetermineFortranCompiler.cmake,
- Modules/CMakeDetermineJavaCompiler.cmake,
- Modules/CMakeDetermineRCCompiler.cmake,
- Modules/CMakeDetermineSystem.cmake,
- Modules/CMakeGenericSystem.cmake,
- Modules/CMakeTestCCompiler.cmake,
- Modules/CMakeTestCXXCompiler.cmake,
- Modules/CMakeTestFortranCompiler.cmake, Modules/CPack.cmake,
- Modules/CTest.cmake, Modules/CheckCSourceCompiles.cmake,
- Modules/CheckCXXSourceCompiles.cmake,
- Modules/CheckFunctionExists.cmake, Modules/CheckIncludeFile.c.in,
- Modules/CheckIncludeFile.cmake,
- Modules/CheckIncludeFileCXX.cmake,
- Modules/CheckIncludeFiles.cmake,
- Modules/CheckLibraryExists.cmake,
- Modules/CheckSymbolExists.cmake, Modules/CheckTypeSize.cmake,
- Modules/CheckVariableExists.cmake, Modules/FindOpenGL.cmake,
- Modules/FindQt4.cmake, Modules/FindSDL_sound.cmake,
- Modules/FindThreads.cmake, Modules/FindVTK.cmake,
- Modules/FindZLIB.cmake, Modules/KDE3Macros.cmake,
- Modules/TestBigEndian.cmake, Modules/TestCXXAcceptsFlag.cmake,
- Modules/TestForANSIForScope.cmake, Modules/TestForSSTREAM.cmake,
- Modules/TestForSTDNamespace.cmake, Modules/kde3uic.cmake,
- Modules/Platform/Windows-cl.cmake,
- Source/cmAddCustomCommandCommand.h,
- Source/cmAddCustomTargetCommand.h,
- Source/cmAddSubDirectoryCommand.cxx, Source/cmBuildCommand.cxx,
- Source/cmCacheManager.cxx, Source/cmDepends.cxx,
- Source/cmDepends.h, Source/cmDependsC.cxx,
- Source/cmFileCommand.cxx, Source/cmFileCommand.h,
- Source/cmForEachCommand.cxx, Source/cmForEachCommand.h,
- Source/cmGlobalBorlandMakefileGenerator.cxx,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalKdevelopGenerator.cxx,
- Source/cmGlobalMSYSMakefileGenerator.cxx,
- Source/cmGlobalMinGWMakefileGenerator.cxx,
- Source/cmGlobalNMakeMakefileGenerator.cxx,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmGlobalUnixMakefileGenerator3.h,
- Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmGlobalVisualStudio6Generator.h,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.h,
- Source/cmGlobalXCodeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.h, Source/cmIfCommand.cxx,
- Source/cmIfCommand.h, Source/cmInstallTargetGenerator.cxx,
- Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalUnixMakefileGenerator3.h,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmMacroCommand.cxx, Source/cmMacroCommand.h,
- Source/cmMakefile.cxx, Source/cmMakefile.h,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.h,
- Source/cmMakefileUtilityTargetGenerator.cxx,
- Source/cmMessageCommand.cxx,
- Source/cmSetTargetPropertiesCommand.h, Source/cmTarget.cxx,
- Source/cmTarget.h, Source/cmTryCompileCommand.cxx,
- Source/cmTryRunCommand.cxx, Source/cmWhileCommand.cxx,
- Source/cmWhileCommand.h, Source/cmake.cxx, Source/cmake.h,
- Source/cmakemain.cxx, Source/CPack/cmCPackGenericGenerator.cxx,
- Source/CPack/cmCPackGenericGenerator.h,
- Source/CTest/cmCTestBuildAndTestHandler.cxx,
- Source/CTest/cmCTestBuildCommand.cxx,
- Source/CursesDialog/form/form.priv.h,
- Source/kwsys/CommandLineArguments.cxx,
- Source/kwsys/Directory.cxx, Source/kwsys/Directory.hxx.in,
- Source/kwsys/Process.h.in, Source/kwsys/ProcessUNIX.c,
- Source/kwsys/ProcessWin32.c, Source/kwsys/Terminal.c,
- Source/kwsys/kwsysPlatformCxxTests.cmake,
- Source/kwsys/testProcess.c,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/complex.cxx,
- Tests/CustomCommand/CMakeLists.txt, Tests/CustomCommand/foo.in,
- Tests/MakeClean/ToClean/CMakeLists.txt,
- Tests/TryCompile/CMakeLists.txt, Tests/Wrapping/Wrap.c,
- Tests/Wrapping/fakefluid.cxx, Utilities/cmcurl/CMakeLists.txt,
- Utilities/cmcurl/mprintf.c,
- Utilities/cmcurl/CMake/CheckTypeSize.cmake,
- Utilities/cmtar/CMakeLists.txt, Utilities/cmtar/append.c,
- Utilities/cmtar/config.h.in, Utilities/cmtar/extract.c,
- Utilities/cmtar/handle.c, Utilities/cmtar/compat/fnmatch.c: ENH:
- merge main tree into branch
-
-2006-06-30 07:16 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-06-29 07:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-06-28 17:00 king
-
- * Modules/: CheckCSourceCompiles.cmake,
- CheckCXXSourceCompiles.cmake: BUG: Make sure try-compile source
- ends in a newline.
-
-2006-06-28 16:16 hoffman
-
- * Source/CPack/cmCPackGenericGenerator.cxx: ENH: remove cerr output
-
-2006-06-28 15:15 martink
-
- * Modules/CTest.cmake: BUG: fix typo
-
-2006-06-28 07:21 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-06-27 14:26 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: COMP: warning fix
-
-2006-06-27 10:24 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: fix for subdir all
- target after control c
-
-2006-06-27 09:57 hoffman
-
- * Source/CursesDialog/form/form.priv.h: ENH: fix ia64 build with
- aCC
-
-2006-06-27 09:56 hoffman
-
- * Source/cmFileCommand.cxx: ENH: fix crash when glob has wrong
- number of arguments
-
-2006-06-27 07:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-06-26 15:27 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: When using a
- working directory for the custom command do not convert paths to
- be relative to the build directory.
-
-2006-06-26 12:06 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for bug 3444,
- remove trailing . in lib names
-
-2006-06-26 11:27 martink
-
- * Source/cmMakefile.cxx: ENH: fix subdir issue
-
-2006-06-26 10:57 king
-
- * Source/cmIfCommand.h: ENH: Clarified documentation of EXISTS and
- IS_DIRECTORY modes.
-
-2006-06-26 09:46 king
-
- * Utilities/Release/README: BUG: Added missing release steps.
-
-2006-06-26 07:15 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-06-25 15:18 karthik
-
- * Source/kwsys/CommandLineArguments.cxx: BUG: The operator
- precedence is [] followed by *. Calling this method was causing
- out of array index segfaults bounds
-
-2006-06-25 07:14 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-06-24 07:19 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-06-23 07:08 andy
-
- * Modules/CTest.cmake: ENH: Default drop method http
-
-2006-06-22 15:37 andy
-
- * Source/cmMessageCommand.cxx: ENH: Use CMake's error reporting
- mechanism
-
-2006-06-22 15:31 andy
-
- * Source/: cmMakefile.cxx, cmMakefile.h: ENH: DIsplay the list file
- stack when displaying errors
-
-2006-06-22 10:35 martink
-
- * Source/: cmake.cxx, kwsys/Directory.cxx, kwsys/Directory.hxx.in:
- ENH: add a higher performance method to get the number of files
- in a directory
-
-2006-06-22 08:01 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-06-21 07:56 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-06-20 13:13 hoffman
-
- * Source/cmake.cxx: ENH: avoid crash in sprintf
-
-2006-06-20 09:50 martink
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: ENH: fix line length
- and warning
-
-2006-06-19 14:57 king
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h: BUG: Delay
- relative path configuration until as late as possible to make
- sure the source/binary dir are set. This is a work-around for
- lack of a more structured way of creating the global generator.
-
-2006-06-19 11:34 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h: ENH: fix for dependent targets
-
-2006-06-19 10:07 king
-
- * Modules/FindOpenGL.cmake: ENH: Do not search for X11 if it is
- already found.
-
-2006-06-19 09:49 king
-
- * Source/kwsys/ProcessWin32.c: COMP: Fix conversion warning.
-
-2006-06-18 20:05 hoffman
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: ENH: do not use the
- link script on windows
-
-2006-06-18 11:50 king
-
- * Source/cmMakefileLibraryTargetGenerator.cxx: BUG: Do not write
- link script lines that use the ':' command which is supposed to
- be a no-op anyway.
-
-2006-06-18 09:23 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-06-17 19:32 king
-
- * Source/cmMakefileLibraryTargetGenerator.cxx: BUG: Need to use
- different link script name when relinking.
-
-2006-06-17 07:55 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-06-16 16:29 martink
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: ENH: warning fix
-
-2006-06-16 15:29 martink
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: ENH: cleanup how
- progress is reported for individual targets to fix an integer
- math issue
-
-2006-06-16 14:45 andy
-
- * Modules/: FindQt4.cmake, MacroAddFileDependencies.cmake: ENH:
- Updates from KDE
-
-2006-06-16 14:19 martink
-
- * Source/cmSetTargetPropertiesCommand.h: ENH: fix line length
-
-2006-06-16 14:02 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: BUG: fix for bug 3417
-
-2006-06-16 07:44 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-06-15 21:43 hoffman
-
- * Modules/CPack.cmake: ENH: add a comment
-
-2006-06-15 16:42 king
-
- * Source/cmMakefile.cxx: ENH: Provide access to CMAKE_PATCH_VERSION
- in CMake code.
-
-2006-06-15 16:37 king
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: Pre-install rules
- for a target should not have target-level dependencies. Each
- target can be re-linked independently as long as the original
- targets are up to date.
-
-2006-06-15 16:17 king
-
- * Source/: cmGlobalBorlandMakefileGenerator.cxx,
- cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalMSYSMakefileGenerator.cxx,
- cmGlobalMinGWMakefileGenerator.cxx,
- cmGlobalNMakeMakefileGenerator.cxx,
- cmGlobalUnixMakefileGenerator3.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h,
- cmake.cxx, cmake.h: ENH: Added generation of link rules into
- script files executed by a cmake -E command in order to support
- longer link lines. This is needed only on platforms without
- response file support and that may have weak shells.
-
-2006-06-15 14:40 king
-
- * Source/kwsys/: Process.h.in, ProcessUNIX.c, ProcessWin32.c: ENH:
- Added Option_Verbatim to run whole command lines directly.
-
-2006-06-15 11:51 martink
-
- * Source/: cmGlobalKdevelopGenerator.cxx,
- cmLocalUnixMakefileGenerator3.cxx, cmake.h: ENH: fix linelength
-
-2006-06-15 10:51 king
-
- * Source/: cmAddCustomCommandCommand.h, cmAddCustomTargetCommand.h:
- BUG: Clarified documentation about custom command outputs and
- custom target dependencies.
-
-2006-06-15 10:24 king
-
- * Source/cmMakefile.cxx: ENH: Unknown command invocations should be
- fatal errors.
-
-2006-06-15 10:12 king
-
- * Source/: cmLocalGenerator.cxx, cmSetTargetPropertiesCommand.h,
- cmTarget.cxx: ENH: Added target property
- INSTALL_RPATH_USE_LINK_PATH to append the linker search path
- directories not inside the project to the INSTALL_RPATH
- automatically. The property is initialized by the variable
- CMAKE_INSTALL_RPATH_USE_LINK_PATH when the target is created.
-
-2006-06-15 09:45 king
-
- * Source/cmake.cxx: BUG: Always check dependency integrity whether
- or not CMake will re-run because the generator no longer checks
- integrity during generation.
-
-2006-06-15 07:47 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-06-14 13:41 hoffman
-
- * DartConfig.cmake: ENH: handle the fact the public can no longer
- do ftp
-
-2006-06-14 12:28 martink
-
- * CMakeLists.txt, Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakeDetermineFortranCompiler.cmake,
- Modules/CMakeDetermineJavaCompiler.cmake,
- Modules/CMakeDetermineRCCompiler.cmake,
- Modules/CMakeDetermineSystem.cmake,
- Modules/CMakeTestCCompiler.cmake,
- Modules/CMakeTestCXXCompiler.cmake,
- Modules/CMakeTestFortranCompiler.cmake,
- Modules/CheckCSourceCompiles.cmake,
- Modules/CheckCXXSourceCompiles.cmake,
- Modules/CheckFunctionExists.cmake,
- Modules/CheckIncludeFile.cmake,
- Modules/CheckIncludeFileCXX.cmake,
- Modules/CheckIncludeFiles.cmake,
- Modules/CheckLibraryExists.cmake,
- Modules/CheckSymbolExists.cmake, Modules/CheckTypeSize.cmake,
- Modules/CheckVariableExists.cmake, Modules/FindQt4.cmake,
- Modules/FindSDL_sound.cmake, Modules/FindThreads.cmake,
- Modules/TestBigEndian.cmake, Modules/TestCXXAcceptsFlag.cmake,
- Modules/TestForANSIForScope.cmake, Modules/TestForSSTREAM.cmake,
- Modules/TestForSTDNamespace.cmake,
- Modules/Platform/Windows-cl.cmake, Source/cmCacheManager.cxx,
- Source/cmGlobalGenerator.cxx,
- Source/cmGlobalKdevelopGenerator.cxx,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmGlobalXCodeGenerator.cxx,
- Source/cmInstallTargetGenerator.cxx, Source/cmLocalGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmMakefile.cxx,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmTryCompileCommand.cxx, Source/cmTryRunCommand.cxx,
- Source/cmake.h, Source/kwsys/kwsysPlatformCxxTests.cmake,
- Tests/MakeClean/ToClean/CMakeLists.txt,
- Tests/TryCompile/CMakeLists.txt, Utilities/cmcurl/CMakeLists.txt,
- Utilities/cmcurl/CMake/CheckTypeSize.cmake: ENH: centralized
- locaiton of CMakeFiles setting
-
-2006-06-13 10:28 martink
-
- * CMake.pdf, CMake.rtf: ENH: removed old out of date files, online
- and command line help is better
-
-2006-06-13 09:46 martink
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: fix line length
-
-2006-06-13 08:04 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-06-12 15:44 martink
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmLocalVisualStudio7Generator.cxx: ENH: fix line length
-
-2006-06-12 14:21 andy
-
- * Modules/CPack.cmake: ENH: Add support for overwriting the name of
- the file CPackConfig.cmake and CPackSourceConfig.cmake
-
-2006-06-12 13:17 martink
-
- * Modules/Platform/Windows-cl.cmake: ENH: removed logo info from
- the manifest tool
-
-2006-06-12 13:05 king
-
- * Source/cmIfCommand.h: BUG: Patch from Miguel A.
- Figueroa-Villanueva for fixing documentation.
-
-2006-06-12 12:18 martink
-
- * Source/cmMakefileTargetGenerator.cxx: ENH: cleanup
-
-2006-06-12 11:40 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmMakefileTargetGenerator.cxx, cmake.cxx: ENH: some cleanup to
- progress
-
-2006-06-12 10:22 andy
-
- * DartConfig.cmake: ENH: Switch to http submission
-
-2006-06-12 07:59 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-06-11 07:58 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-06-10 08:12 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-06-09 15:49 alex
-
- * Modules/FindZLIB.cmake: BUG: don't append to ZLIB_NAMES ENH: also
- check for zdll on windows ENH: honor REQUIRED and QUIETLY
-
- Alex
-
-2006-06-09 13:45 hoffman
-
- * Source/CPack/: bills-comments.txt,
- cmCPackCygwinBinaryGenerator.cxx, cmCPackCygwinBinaryGenerator.h,
- cmCPackGenerators.cxx, cmCPackGenericGenerator.cxx,
- cmCPackGenericGenerator.h, cygwin.readme: ENH: check in partial
- cygwin generator
-
-2006-06-09 08:28 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-06-08 07:49 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-06-07 08:47 hoffman
-
- * Source/cmakemain.cxx: ENH: add docs for debug trycompile
-
-2006-06-06 12:01 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: fix /TP for c code
-
-2006-06-06 09:39 hoffman
-
- * Source/cmMakefile.cxx: ENH: fix for replacement of @var @ only
- legal variable names should be replaced
-
-2006-06-06 07:59 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-06-05 15:28 king
-
- * Source/cmAddSubDirectoryCommand.cxx: COMP: Removed unused
- variable.
-
-2006-06-05 14:38 king
-
- * Source/cmAddSubDirectoryCommand.cxx: BUG: Always check whether a
- subdirectory is below the top of the source before computing the
- binary tree automatically. Even when the source is a relative
- path it may contain ../ which would allow it to be outside the
- source tree.
-
-2006-06-05 14:32 martink
-
- * Source/: cmDependsC.cxx, cmGlobalUnixMakefileGenerator3.cxx,
- cmMakefileTargetGenerator.cxx: ENH: line lengths
-
-2006-06-05 14:13 king
-
- * cmake_uninstall.cmake.in: BUG: Use proper signature for
- EXEC_PROGRAM to get return value of cmake -E remove. Also fixed
- spelling error in message, and made non-existing files not a
- fatal error so that the rest of the files are removed.
-
-2006-06-05 13:45 king
-
- * Source/: cmFileCommand.cxx, cmFileCommand.h, cmTarget.cxx: ENH:
- Changing shared library versioned file names on OSX to conform to
- that platform's convention.
-
-2006-06-05 11:22 king
-
- * Source/kwsys/Terminal.c: ENH: Added rxvt-unicode and cygwin
- terminals for color support.
-
-2006-06-05 07:25 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-06-04 07:22 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-06-03 18:43 andy
-
- * Source/kwsys/Terminal.c: ENH: Handle 'screen' terminal. Thank you
- Thomas Z.
-
-2006-06-03 18:43 andy
-
- * Source/CPack/cmCPackGenericGenerator.cxx: COMP: Remove warning
-
-2006-06-03 09:48 king
-
- * Tests/Wrapping/Wrap.c: COMP: More fixes for non-ANSI C compilers.
-
-2006-06-03 09:42 king
-
- * Tests/Wrapping/Wrap.c: COMP: Fix for non-ANSI C compilers.
-
-2006-06-03 07:22 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-06-02 12:19 king
-
- * Tests/Wrapping/: Wrap.c, fakefluid.cxx: BUG: Custom commands
- should actually generate the files they claim to generate.
-
-2006-06-02 11:26 andy
-
- * Source/CPack/: cmCPackGenericGenerator.cxx,
- cmCPackGenericGenerator.h: ENH: Display cmake install information
- when in verbose mode
-
-2006-06-01 15:51 king
-
- * Source/: cmBuildCommand.cxx, cmGlobalGenerator.cxx,
- cmGlobalGenerator.h, cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h, cmGlobalXCodeGenerator.cxx,
- cmGlobalXCodeGenerator.h, CPack/cmCPackGenericGenerator.cxx,
- CTest/cmCTestBuildAndTestHandler.cxx,
- CTest/cmCTestBuildCommand.cxx: BUG: cmGlobalGenerator::Build
- should not always use the /fast target name because dependency
- checking is often required. It now takes an argument specifying
- whether to use the /fast target name, and the argument is
- currently only true for try-compiles.
-
-2006-06-01 15:08 king
-
- * Source/cmInstallTargetGenerator.cxx: BUG: Adjustment of
- install_name with install_name_tool should account for DESTDIR
- when specifying the file to be changed.
-
-2006-06-01 14:43 king
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx: ENH: Moved generation of the
- /fast version of GLOBAL_TARGET targets to the proper place in the
- local generator instead of in the global generator. Also made
- the install/fast target not depend on the all target.
-
-2006-06-01 14:09 king
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx: BUG: Added /fast targets in
- subdirectory makefiles. Removed bogus INSTALL_*/fast targets.
- Also fixed preinstall/fast target.
-
-2006-06-01 13:01 king
-
- * Tests/CustomCommand/: CMakeLists.txt, config.h.in, foo.in: ENH:
- Added test for generation of files listed explicitly as sources
- but not used during the build of a target.
-
-2006-06-01 11:45 king
-
- * Source/: cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h,
- cmMakefileUtilityTargetGenerator.cxx: BUG: Custom command outputs
- listed explicitly as source files in a target should be generated
- whether or not an object file in the target needs them. This
- useful and makes Makefile builds more consistent with VS IDE
- builds.
-
-2006-06-01 09:38 hoffman
-
- * Utilities/Release/cmake_release.sh: ENH: change the version
- number to match the release for cygwin
-
-2006-06-01 08:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-31 11:19 martink
-
- * Source/: cmForEachCommand.cxx, cmIfCommand.cxx,
- cmMacroCommand.cxx, cmWhileCommand.cxx: ENH: reduce string
- construct delete ops
-
-2006-05-31 08:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-30 16:23 king
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx: BUG: Fix progress when total
- number of source files is less than 100.
-
-2006-05-30 11:15 king
-
- * Source/cmake.cxx: BUG: Fixed cmake -E remove return code.
-
-2006-05-30 08:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-29 08:09 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-28 07:29 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-27 07:45 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-26 07:32 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-25 14:16 king
-
- * Modules/CMakeGenericSystem.cmake: ENH: Adding advanced option
- CMAKE_COLOR_MAKEFILE for makefile generators with default ON.
-
-2006-05-25 14:16 king
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: Slight improvement in
- genreation time by recording the setting of CMAKE_COLOR_MAKEFILE
- in an ivar of each local generator at the beginning of
- generation. This avoids many repeated table lookups.
-
-2006-05-25 11:56 hoffman
-
- * Modules/FindQt4.cmake: ENH: add qtmain to findqt
-
-2006-05-25 10:55 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h,
- cmLocalUnixMakefileGenerator3.cxx: BUG: fix to progress for small
- projects
-
-2006-05-25 10:21 martink
-
- * Modules/CTest.cmake: ENH: remove debugging output
-
-2006-05-25 09:47 king
-
- * Source/: cmDepends.cxx, cmDepends.h, cmDependsC.cxx,
- cmGlobalGenerator.cxx, cmGlobalGenerator.h, cmLocalGenerator.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h, cmMakefileTargetGenerator.cxx,
- cmake.cxx: BUG: Updated Makefile dependency scanning to provide a
- full local generator to the dependency scanner to do proper path
- conversions. This allows the rules written into the depend.make
- files to use the same relative path conversion as those written
- into the build.make files. Several previous changes added more
- and more information for use by the dependency scanner and it was
- converging to having the full local generator anyway.
-
-2006-05-25 07:34 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-24 10:13 king
-
- * Source/kwsys/ProcessUNIX.c: BUG: Do not leak global table of
- processes.
-
-2006-05-24 10:09 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h: ENH: fix compiler warnings and
- posibly java test
-
-2006-05-24 07:36 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-23 15:27 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: COMP: Added missing
- include for isspace.
-
-2006-05-23 15:01 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: Fix parsing of
- definitions to support REMOVE_DEFINITIONS.
-
-2006-05-23 12:51 king
-
- * Source/cmMakefile.cxx, Tests/Complex/Executable/CMakeLists.txt,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/complex.cxx: BUG: Fix
- REMOVE_DEFINITIONS command to not remove substrings.
-
-2006-05-23 12:38 david.cole
-
- * Utilities/cmtar/: CMakeLists.txt, append.c, config.h.in,
- extract.c, handle.c, compat/fnmatch.c: COMP: Fix warnings on
- Borland dashboards...
-
-2006-05-23 11:48 king
-
- * Source/kwsys/ProcessUNIX.c: ENH: Re-enabling SIGCHLD handling
- implementation with a fix for Cygwin.
-
-2006-05-23 10:40 king
-
- * Modules/FindVTK.cmake: ENH: Add ability to find VTK 5 without
- user help.
-
-2006-05-23 09:58 king
-
- * Source/cmMakefileExecutableTargetGenerator.cxx: BUG: Finished fix
- to bug#3229 and bug#3272.
-
-2006-05-23 09:58 king
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx, cmMakefileTargetGenerator.cxx:
- BUG: Fix for spaces in path to build directory with new progress
- stuff.
-
-2006-05-23 09:11 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h, cmMacroCommand.cxx,
- cmMacroCommand.h, cmMakefileTargetGenerator.cxx, cmake.cxx: ENH:
- always compile progress
-
-2006-05-23 07:40 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-22 16:10 martink
-
- * Source/cmake.cxx: COMP: fix bootstrap
-
-2006-05-22 16:07 martink
-
- * Source/cmake.cxx: COMP: fix mac warning
-
-2006-05-22 15:41 martink
-
- * Source/cmake.cxx: ENH: part of the progress reporting checkin
-
-2006-05-22 15:11 king
-
- * Source/kwsys/ProcessUNIX.c: BUG: Reverting previous change until
- it can be fixed on Cygwin.
-
-2006-05-21 14:06 hoffman
-
- * Source/cmMakefile.cxx: ENH: fix line length
-
-2006-05-21 10:28 king
-
- * Source/kwsys/testProcess.c: ENH: Added test 8 to test
- grandchildren running after children exit.
-
-2006-05-21 10:27 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-21 10:27 king
-
- * Source/kwsys/ProcessWin32.c: BUG: Fixed deadlock condition when
- grandchildren are running after the children exit.
-
-2006-05-21 10:26 king
-
- * Source/kwsys/ProcessUNIX.c: ENH: Implemented handling of SIGCHLD
- to detect the termination of immediate children. This allows
- grandchildren to remain running after the children exit.
-
-2006-05-20 18:50 king
-
- * Source/kwsys/ProcessUNIX.c: ENH: Enabling process tree killing on
- Cygwin.
-
-2006-05-20 08:06 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-19 16:57 alex
-
- * Modules/: FindQt4.cmake, KDE3Macros.cmake, kde3uic.cmake: BUG:
- kde3: use QT_UIC_EXECUTABLE instead of simply uic BUG: use
- qouting for the path to Qt4 moc and uic, should help with paths
- with spaces
-
- Alex
-
-2006-05-19 15:53 hoffman
-
- * Utilities/Release/: create-cmake-release.cmake,
- dashmacmini2_release.cmake: ENH: release scripts
-
-2006-05-19 15:51 hoffman
-
- * Utilities/cmcurl/mprintf.c: ENH: fix for uclibc
-
-2006-05-19 13:02 hoffman
-
- * Source/: cmMakefile.cxx, cmTarget.cxx, cmTarget.h: ENH: fix for
- vtk 4.4 and other projects that may try to link to a module
-
-2006-05-19 09:36 martink
-
- * Source/cmIfCommand.cxx: COMP: fix warning
-
-2006-05-19 08:15 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-18 23:24 hoffman
-
- * Source/: cmake.cxx, cmakemain.cxx: ENH: fix crashes when command
- line arguments are not followed by the correct number of
- arguments
-
-2006-05-18 14:35 martink
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: fix issue with
- too many fast targets being listed
-
-2006-05-18 13:50 martink
-
- * Source/: cmForEachCommand.cxx, cmForEachCommand.h,
- cmIfCommand.cxx, cmWhileCommand.cxx, cmWhileCommand.h: ENH: allow
- loose loop constructs
-
-2006-05-18 10:28 king
-
- * Modules/CheckIncludeFile.c.in: BUG: Fix signature of main to work
- on both strict ANSI and non-ANSI C compilers.
-
-2006-05-18 08:00 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-17 08:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-16 14:04 hoffman
-
- * ChangeLog.manual, Source/cmGlobalXCodeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.h, Source/cmListCommand.cxx,
- Source/cmListCommand.h, Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmMakefileExecutableTargetGenerator.cxx: ENH: move changes
- from main tree to branch
-
-2006-05-16 13:41 king
-
- * Source/cmMakefileExecutableTargetGenerator.cxx: BUG: Added
- missing cd command before running executable version symlink
- rule. This addresses bug#3229.
-
-2006-05-16 13:23 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: fix warning
-
-2006-05-16 09:54 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- ENH: fix rebuild problem with xcode and universal binaries
-
-2006-05-16 08:42 andy
-
- * Source/: cmListCommand.cxx, cmListCommand.h: STYLE: Fix style
-
-2006-05-16 08:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-15 18:05 hoffman
-
- * ChangeLog.manual, Source/cmDependsFortranParser.h,
- Source/cmDependsJavaParser.cxx, Source/cmExprParser.cxx,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmListCommand.cxx, Source/cmListCommand.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmQTWrapCPPCommand.h, Source/cmake.cxx,
- Tests/CMakeTests/ListTest.cmake.in: ENH: merge from main tree
-
-2006-05-15 13:47 martink
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: PERF: performance
- improvement
-
-2006-05-15 13:02 andy
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx, cmake.cxx: ENH: Add simple
- progress reporting during make
-
-2006-05-15 10:19 martink
-
- * Source/: cmDependsFortranParser.h, cmDependsJavaParser.cxx,
- cmExprParser.cxx, cmLocalUnixMakefileGenerator3.cxx,
- cmQTWrapCPPCommand.h: STYLE: fix line length
-
-2006-05-15 10:14 andy
-
- * Source/cmListCommand.cxx, Tests/CMakeTests/ListTest.cmake.in:
- ENH: Fix INSERT to allow inserting to empty list
-
-2006-05-15 09:57 andy
-
- * Source/cmListCommand.cxx, Source/cmListCommand.h,
- Tests/CMakeTests/ListTest.cmake.in: ENH: Change REMOVE and
- REMOVE_ITEM to REMOVE_AT and REMOVE_ITEM
-
-2006-05-15 09:25 andy
-
- * Source/cmListCommand.cxx, Source/cmListCommand.h,
- Tests/CMakeTests/ListTest.cmake.in: ENH: Remove some errors, fix
- append to work on nonexisting lists
-
-2006-05-14 20:20 hoffman
-
- * Modules/CMakeDetermineSystem.cmake: ENH: fix module
-
-2006-05-14 20:17 hoffman
-
- * Modules/CMakeDetermineSystem.cmake: ENH: check return value for
- uname -p
-
-2006-05-14 19:17 hoffman
-
- * Modules/CMakeDetermineSystem.cmake: ENH: move from main tree
- handle uname without -p correctly
-
-2006-05-14 17:42 hoffman
-
- * Modules/CMakeDetermineSystem.cmake: ENH: check return value for
- uname -p
-
-2006-05-14 15:24 hoffman
-
- * Utilities/Release/: release_cmake.cmake,
- v60n177_aix_release.cmake: ENH: extra path
-
-2006-05-14 15:22 hoffman
-
- * CMakeLists.txt, Modules/FindJPEG.cmake, Modules/FindKDE4.cmake,
- Modules/FindQt4.cmake, Source/cmGlobalGenerator.cxx,
- Source/cmGlobalMSYSMakefileGenerator.h,
- Source/cmIncludeDirectoryCommand.cxx,
- Source/cmLinkDirectoriesCommand.cxx,
- Source/cmLinkLibrariesCommand.cxx, Source/cmListCommand.cxx,
- Source/cmListFileCache.cxx, Source/cmLoadCacheCommand.cxx,
- Source/cmLoadCommandCommand.h, Source/cmLocalGenerator.cxx,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Source/cmMacroCommand.cxx, Source/cmMakeDepend.h,
- Source/cmMakefile.cxx, Source/cmMakefile.h,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmMarkAsAdvancedCommand.cxx, Source/cmMathCommand.h,
- Source/cmObject.h, Source/cmOptionCommand.cxx,
- Source/cmOrderLinkDirectories.cxx,
- Source/cmOrderLinkDirectories.h,
- Source/cmOutputRequiredFilesCommand.cxx,
- Source/cmProjectCommand.cxx, Source/cmQTWrapCPPCommand.cxx,
- Source/cmQTWrapUICommand.cxx,
- Source/cmRemoveDefinitionsCommand.cxx,
- Source/cmSeparateArgumentsCommand.cxx,
- Source/cmSeparateArgumentsCommand.h,
- Source/cmSetDirectoryPropertiesCommand.cxx,
- Source/cmSetSourceFilesPropertiesCommand.h,
- Source/cmSetTargetPropertiesCommand.cxx,
- Source/cmSetTargetPropertiesCommand.h,
- Source/cmSetTestsPropertiesCommand.cxx,
- Source/cmSetTestsPropertiesCommand.h,
- Source/cmSiteNameCommand.cxx, Source/cmSourceFile.cxx,
- Source/cmSourceFile.h, Source/cmSourceGroupCommand.h,
- Source/cmStringCommand.cxx, Source/cmSubdirCommand.cxx,
- Source/cmSubdirCommand.h, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h, Source/cmTarget.cxx, Source/cmTarget.h,
- Source/cmTargetLinkLibrariesCommand.cxx,
- Source/cmTryCompileCommand.cxx, Source/cmTryCompileCommand.h,
- Source/cmUseMangledMesaCommand.cxx,
- Source/cmUtilitySourceCommand.cxx,
- Source/cmVTKMakeInstantiatorCommand.cxx,
- Source/cmVTKWrapJavaCommand.cxx,
- Source/cmVTKWrapPythonCommand.cxx,
- Source/cmVTKWrapTclCommand.cxx, Source/cmWin32ProcessExecution.h,
- Source/cmWriteFileCommand.cxx, Source/cmXCode21Object.cxx,
- Source/cmXCode21Object.h, Source/cmXCodeObject.cxx,
- Source/cmXCodeObject.h, Source/cmXMLParser.h, Source/cmake.cxx,
- Source/cmake.h, Source/cmakemain.cxx,
- Source/CPack/cmCPackGenericGenerator.cxx,
- Source/CPack/cmCPackNSISGenerator.cxx,
- Source/CPack/cmCPackPackageMakerGenerator.cxx,
- Source/CPack/cmCPackSTGZGenerator.cxx,
- Source/CPack/cmCPackTarCompressGenerator.cxx,
- Source/CPack/cpack.cxx, Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt: ENH: merge from main
- tree
-
-2006-05-14 09:36 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-13 12:28 king
-
- * Source/cmGlobalGenerator.cxx: BUG: Make sure RUN_TESTS target
- passes the desired configuration to ctest.
-
-2006-05-13 08:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-12 14:44 martink
-
- * Source/CPack/: cmCPackGenericGenerator.cxx,
- cmCPackNSISGenerator.cxx, cmCPackPackageMakerGenerator.cxx,
- cmCPackSTGZGenerator.cxx, cmCPackTarCompressGenerator.cxx,
- cpack.cxx: STYLE: fix line length
-
-2006-05-12 14:36 martink
-
- * Source/: cmXCode21Object.cxx, cmXCode21Object.h,
- cmXCodeObject.cxx, cmXCodeObject.h, cmXMLParser.h, cmake.cxx,
- cmake.h, cmakemain.cxx: STYLE: fix line length
-
-2006-05-12 14:12 martink
-
- * Source/: cmTarget.cxx, cmTarget.h,
- cmTargetLinkLibrariesCommand.cxx, cmTryCompileCommand.cxx,
- cmTryCompileCommand.h, cmUseMangledMesaCommand.cxx,
- cmUtilitySourceCommand.cxx, cmVTKMakeInstantiatorCommand.cxx,
- cmVTKWrapJavaCommand.cxx, cmVTKWrapPythonCommand.cxx,
- cmVTKWrapTclCommand.cxx, cmWin32ProcessExecution.h,
- cmWriteFileCommand.cxx: STYLE: fix line length
-
-2006-05-12 13:53 martink
-
- * Source/: cmSeparateArgumentsCommand.cxx,
- cmSeparateArgumentsCommand.h,
- cmSetDirectoryPropertiesCommand.cxx,
- cmSetSourceFilesPropertiesCommand.h,
- cmSetTargetPropertiesCommand.cxx, cmSetTargetPropertiesCommand.h,
- cmSetTestsPropertiesCommand.cxx, cmSetTestsPropertiesCommand.h,
- cmSiteNameCommand.cxx, cmSourceFile.cxx, cmSourceFile.h,
- cmSourceGroupCommand.h, cmStringCommand.cxx, cmSubdirCommand.cxx,
- cmSubdirCommand.h, cmSystemTools.cxx, cmSystemTools.h: STYLE: fix
- line length
-
-2006-05-12 13:44 martink
-
- * Source/: cmProjectCommand.cxx, cmQTWrapCPPCommand.cxx,
- cmQTWrapUICommand.cxx, cmRemoveDefinitionsCommand.cxx: STYLE: fix
- line length
-
-2006-05-12 13:39 martink
-
- * Source/: cmObject.h, cmOptionCommand.cxx,
- cmOrderLinkDirectories.cxx, cmOrderLinkDirectories.h,
- cmOutputRequiredFilesCommand.cxx: STYLE: fix line length
-
-2006-05-12 12:29 martink
-
- * Source/: cmMacroCommand.cxx, cmMakeDepend.h, cmMakefile.cxx,
- cmMakefile.h, cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx, cmMarkAsAdvancedCommand.cxx,
- cmMathCommand.h: STYLE: fix line length
-
-2006-05-12 11:56 martink
-
- * Source/: cmLinkDirectoriesCommand.cxx,
- cmLinkLibrariesCommand.cxx, cmListCommand.cxx,
- cmListFileCache.cxx, cmLoadCacheCommand.cxx,
- cmLoadCommandCommand.h, cmLocalGenerator.cxx,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h: STYLE: fix line length
-
-2006-05-12 11:03 hoffman
-
- * CMakeLists.txt: ENH: add the processor to the system name for
- cpack
-
-2006-05-12 10:56 hoffman
-
- * Modules/FindQt4.cmake: ENH: remove bad quoteed code
-
-2006-05-12 10:54 king
-
- * Source/cmIncludeDirectoryCommand.cxx,
- Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt: BUG:
- INCLUDE_DIRECTORIES should interpret relative path arguments with
- respect to the current source directory.
-
-2006-05-12 10:46 martink
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalMSYSMakefileGenerator.h:
- STYLE: fix line length
-
-2006-05-12 10:09 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: remove bogus
- machine setting
-
-2006-05-12 09:47 hoffman
-
- * Modules/FindQt4.cmake: ENH: fix path problem with qt
-
-2006-05-12 07:56 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-11 18:32 alex
-
- * Modules/FindJPEG.cmake: ENH: honor REQUIRED flag
-
- Alex
-
-2006-05-11 18:27 alex
-
- * Modules/FindKDE4.cmake: ENH: use the new FILE(TO_CMAKE_PATH ...)
- command instead of regexps BUG: append the kde 4 cmake module
- path instead of prepending it
-
- Alex
-
-2006-05-11 16:07 hoffman
-
- * Utilities/Release/: dashmacmini2_release.cmake,
- destiny_release.cmake, release_cmake.cmake, release_cmake.sh.in,
- vogon_release.cmake: ENH: working package creator
-
-2006-05-11 16:05 hoffman
-
- * Source/: cmAddSubDirectoryCommand.cxx, cmExprParser.cxx,
- cmExprParserHelper.cxx, cmFLTKWrapUICommand.cxx,
- cmFileCommand.cxx, cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalKdevelopGenerator.cxx, cmGlobalMSYSMakefileGenerator.cxx,
- cmGlobalMinGWMakefileGenerator.cxx,
- cmGlobalMinGWMakefileGenerator.h,
- cmGlobalNMakeMakefileGenerator.cxx,
- cmGlobalNMakeMakefileGenerator.h,
- cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio71Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h,
- cmGlobalVisualStudio8Generator.cxx,
- cmGlobalVisualStudio8Generator.h,
- cmGlobalVisualStudio8Win64Generator.cxx,
- cmGlobalVisualStudio8Win64Generator.h,
- cmGlobalWatcomWMakeGenerator.cxx, cmGlobalXCode21Generator.cxx,
- cmGlobalXCode21Generator.h, cmGlobalXCodeGenerator.cxx,
- cmGlobalXCodeGenerator.h, cmIfCommand.cxx, cmIfCommand.h,
- cmIncludeCommand.cxx, cmIncludeDirectoryCommand.cxx,
- cmIncludeExternalMSProjectCommand.cxx,
- cmIncludeExternalMSProjectCommand.h,
- cmIncludeRegularExpressionCommand.cxx,
- cmIncludeRegularExpressionCommand.h, cmInstallCommand.h,
- cmInstallFilesCommand.cxx, cmInstallGenerator.cxx,
- cmInstallGenerator.h, cmInstallProgramsCommand.cxx,
- cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h,
- cmInstallTargetsCommand.cxx, cmListCommand.cxx, cmListCommand.h,
- CTest/cmCTestBuildHandler.cxx: ENH: merge changes from main tree
-
-2006-05-11 15:50 hoffman
-
- * Source/cmFileCommand.cxx: ENH: fix error message
-
-2006-05-11 15:50 martink
-
- * Source/: cmIfCommand.cxx, cmIfCommand.h, cmIncludeCommand.cxx,
- cmIncludeDirectoryCommand.cxx,
- cmIncludeExternalMSProjectCommand.cxx,
- cmIncludeExternalMSProjectCommand.h,
- cmIncludeRegularExpressionCommand.cxx,
- cmIncludeRegularExpressionCommand.h, cmInstallCommand.h,
- cmInstallFilesCommand.cxx, cmInstallGenerator.cxx,
- cmInstallGenerator.h, cmInstallProgramsCommand.cxx,
- cmInstallProgramsCommand.h, cmInstallTargetGenerator.cxx,
- cmInstallTargetGenerator.h, cmInstallTargetsCommand.cxx: STYLE:
- fix line length
-
-2006-05-11 15:39 martink
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- STYLE: fix line length
-
-2006-05-11 13:56 andy
-
- * Source/: cmListCommand.cxx, cmListCommand.h: ENH: Some
- documentation and add APPEND
-
-2006-05-11 12:00 andy
-
- * Source/CTest/cmCTestBuildHandler.cxx: BUG: Fix segfault
-
-2006-05-11 11:47 martink
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio71Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h,
- cmGlobalVisualStudio8Generator.cxx,
- cmGlobalVisualStudio8Generator.h,
- cmGlobalVisualStudio8Win64Generator.cxx,
- cmGlobalVisualStudio8Win64Generator.h,
- cmGlobalWatcomWMakeGenerator.cxx, cmGlobalXCode21Generator.cxx,
- cmGlobalXCode21Generator.h, cmGlobalXCodeGenerator.cxx: STYLE:
- fix line length
-
-2006-05-11 10:56 hoffman
-
- * ChangeLog.manual, Modules/FindQt4.cmake: ENH: merge changs from
- main tree
-
-2006-05-11 10:45 martink
-
- * Source/: cmExprParser.cxx, cmExprParserHelper.cxx,
- cmFLTKWrapUICommand.cxx: STYLE: fix line length
-
-2006-05-11 10:41 hoffman
-
- * Modules/FindQt4.cmake: ENH: fix for bug 3216 allow full path to
- qt input files
-
-2006-05-11 10:39 martink
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalKdevelopGenerator.cxx, cmGlobalMSYSMakefileGenerator.cxx,
- cmGlobalMinGWMakefileGenerator.cxx,
- cmGlobalMinGWMakefileGenerator.h,
- cmGlobalNMakeMakefileGenerator.cxx,
- cmGlobalNMakeMakefileGenerator.h,
- cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h, cmAddSubDirectoryCommand.cxx:
- STYLE: fix line length
-
-2006-05-11 10:33 hoffman
-
- * ChangeLog.manual, Source/CPack/cmCPackZIPGenerator.cxx: ENH:
- merge changes from main tree
-
-2006-05-11 09:37 hoffman
-
- * Source/CPack/cmCPackZIPGenerator.cxx: ENH: use @ file for winzip
- on windows
-
-2006-05-11 08:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-10 22:15 hoffman
-
- * CMakeLists.txt, Modules/CPack.cmake,
- Modules/NSIS.InstallOptions.ini.in, Modules/NSIS.template.in,
- Source/cmAddExecutableCommand.cxx,
- Source/cmAddSubDirectoryCommand.cxx, Source/cmAddTestCommand.cxx,
- Source/cmAuxSourceDirectoryCommand.cxx,
- Source/cmAuxSourceDirectoryCommand.h, Source/cmCTest.cxx,
- Source/cmCacheManager.cxx, Source/cmCommandArgumentLexer.cxx,
- Source/cmCommandArgumentParser.cxx,
- Source/cmCommandArgumentParserHelper.cxx,
- Source/cmCommandArgumentParserTokens.h,
- Source/cmConfigureFileCommand.cxx,
- Source/cmCreateTestSourceList.h, Source/cmDepends.cxx,
- Source/cmDepends.h, Source/cmDependsC.cxx,
- Source/cmDependsFortran.cxx, Source/cmDependsFortranParser.cxx,
- Source/cmDependsJavaParserHelper.cxx,
- Source/cmDependsJavaParserHelper.h, Source/cmDocumentation.cxx,
- Source/cmDumpDocumentation.cxx, Source/cmElseCommand.cxx,
- Source/cmEnableLanguageCommand.cxx,
- Source/cmEndForEachCommand.cxx, Source/cmEndIfCommand.cxx,
- Source/cmEndWhileCommand.cxx, Source/cmExecProgramCommand.cxx,
- Source/cmExecuteProcessCommand.cxx,
- Source/cmExecuteProcessCommand.h,
- Source/cmExportLibraryDependencies.cxx,
- Source/cmExportLibraryDependencies.h, Source/cmExprLexer.cxx,
- Source/cmExprLexer.h, Source/cmFLTKWrapUICommand.cxx,
- Source/cmFileCommand.cxx, Source/cmFileCommand.h,
- Source/cmFileTimeComparison.cxx, Source/cmFindBase.cxx,
- Source/cmFindFileCommand.cxx, Source/cmFindLibraryCommand.cxx,
- Source/cmFindPackageCommand.cxx, Source/cmFindPathCommand.cxx,
- Source/cmFindProgramCommand.cxx, Source/cmForEachCommand.cxx,
- Source/cmGeneratedFileStream.cxx,
- Source/cmGetDirectoryPropertyCommand.cxx,
- Source/cmGetFilenameComponentCommand.cxx,
- Source/cmGetFilenameComponentCommand.h,
- Source/cmGlobalBorlandMakefileGenerator.cxx,
- Source/CPack/cmCPackGenericGenerator.cxx, Source/CPack/cpack.cxx,
- Source/CTest/cmCTestGenericHandler.cxx,
- Source/CTest/cmCTestHandlerCommand.cxx,
- Source/CTest/cmCTestReadCustomFilesCommand.h,
- Source/CTest/cmCTestScriptHandler.cxx,
- Source/CTest/cmCTestTestHandler.cxx,
- Source/CTest/cmCTestUpdateCommand.cxx: ENH: move changes from
- main tree
-
-2006-05-10 17:26 andy
-
- * CMakeLists.txt, Modules/CPack.cmake: BUG: Prevent stripping of
- sources
-
-2006-05-10 16:44 hoffman
-
- * Utilities/Release/create-cmake-release.cmake: ENH: remove ps
- thing
-
-2006-05-10 16:43 hoffman
-
- * Utilities/Release/: create-cmake-release.cmake,
- vogon_release.cmake: ENH: it works
-
-2006-05-10 15:56 martink
-
- * Source/: cmGeneratedFileStream.cxx,
- cmGetDirectoryPropertyCommand.cxx,
- cmGetFilenameComponentCommand.cxx,
- cmGetFilenameComponentCommand.h,
- cmGetSourceFilePropertyCommand.h,
- cmGlobalBorlandMakefileGenerator.cxx: STYLE: fix line length
-
-2006-05-10 15:46 martink
-
- * Source/: cmFLTKWrapUICommand.cxx, cmFileCommand.cxx,
- cmFileCommand.h, cmFileTimeComparison.cxx, cmFindBase.cxx,
- cmFindFileCommand.cxx, cmFindLibraryCommand.cxx,
- cmFindPackageCommand.cxx, cmFindPathCommand.cxx,
- cmFindProgramCommand.cxx, cmForEachCommand.cxx: STYLE: fix line
- length
-
-2006-05-10 15:29 hoffman
-
- * Utilities/Release/vogon_release.cmake: ENH: add vogon
-
-2006-05-10 15:06 martink
-
- * Source/: cmElseCommand.cxx, cmEnableLanguageCommand.cxx,
- cmEndForEachCommand.cxx, cmEndIfCommand.cxx,
- cmEndWhileCommand.cxx, cmExecProgramCommand.cxx,
- cmExecuteProcessCommand.cxx, cmExecuteProcessCommand.h,
- cmExportLibraryDependencies.cxx, cmExportLibraryDependencies.h,
- cmExprLexer.cxx, cmExprLexer.h: STYLE: fix line length
-
-2006-05-10 15:01 martink
-
- * Source/: cmDependsJavaParserHelper.cxx,
- cmDependsJavaParserHelper.h, cmDocumentation.cxx,
- cmDumpDocumentation.cxx: STYLE: fix line length
-
-2006-05-10 14:54 martink
-
- * Source/: cmDepends.h, cmDependsC.cxx, cmDependsFortran.cxx,
- cmDependsFortranParser.cxx: STYLE: fix line length
-
-2006-05-10 14:13 martink
-
- * Source/: cmCommandArgumentParser.cxx,
- cmCommandArgumentParserHelper.cxx,
- cmCommandArgumentParserTokens.h, cmConfigureFileCommand.cxx,
- cmCreateTestSourceList.h, cmDepends.cxx: STYLE: fix line length
-
-2006-05-10 14:07 martink
-
- * Source/cmCommandArgumentLexer.cxx: STYLE: hmm
-
-2006-05-10 14:03 hoffman
-
- * Utilities/Release/: create-cmake-release.cmake,
- dashsgi1_release.cmake, dashsgi1_release64.cmake,
- release_cmake.sh.in: ENH:
-
-2006-05-10 14:00 martink
-
- * Source/cmCommandArgumentLexer.cxx: STYLE: hmm
-
-2006-05-10 13:56 martink
-
- * Source/: cmAuxSourceDirectoryCommand.h, cmCTest.cxx,
- cmCacheManager.cxx: STYLE: fix line length
-
-2006-05-10 13:48 martink
-
- * Source/: CTest/cmCTestGenericHandler.cxx,
- CTest/cmCTestHandlerCommand.cxx,
- CTest/cmCTestReadCustomFilesCommand.h,
- CTest/cmCTestScriptHandler.cxx, CTest/cmCTestTestHandler.cxx,
- CTest/cmCTestUpdateCommand.cxx, cmAddExecutableCommand.cxx,
- cmAddSubDirectoryCommand.cxx, cmAddTestCommand.cxx,
- cmAuxSourceDirectoryCommand.cxx: STYLE: fix line length
-
-2006-05-10 12:39 andy
-
- * Source/CPack/: cmCPackGenericGenerator.cxx, cpack.cxx: BUG: Fix
- relative path to config file, fix cmake_install.cmake location
- problem
-
-2006-05-10 12:15 hoffman
-
- * Modules/: NSIS.InstallOptions.ini.in, NSIS.template.in: ENH: use
- radio buttons to choose PATH options
-
-2006-05-10 09:28 hoffman
-
- * CMakeLists.txt: ENH: allow package name to be changed from cmake
- cache
-
-2006-05-10 09:15 hoffman
-
- * CMakeLists.txt: ENH: allow for cpack stuff to be changed
-
-2006-05-10 07:58 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-09 17:18 hoffman
-
- * Utilities/Release/: dashsun1_release.cmake, release_cmake.cmake,
- v60n177_aix_release.cmake: ENH: works
-
-2006-05-09 16:30 hoffman
-
- * ChangeLog.manual, Modules/FindQt3.cmake,
- Modules/NSIS.template.in, Source/cmSetTargetPropertiesCommand.h,
- Source/kwsys/SystemTools.cxx, Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt: ENH: merge from main
- tree
-
-2006-05-09 14:14 hoffman
-
- * Utilities/Release/: create-cmake-release.cmake,
- release_cmake.cmake: ENH: seems to be working
-
-2006-05-09 13:49 hoffman
-
- * Utilities/Release/create-cmake-release.cmake: ENH: add a xterm
- script create script
-
-2006-05-09 13:48 hoffman
-
- * Utilities/Release/: dashsun1_release.cmake, muse_release64.cmake,
- release_cmake.cmake, release_cmake.sh.in: ENH: add 64 bit sgi
-
-2006-05-09 12:23 hoffman
-
- * Utilities/Release/release_cmake.sh.in: ENH: mark time
-
-2006-05-09 12:23 andy
-
- * Utilities/Release/v60n177_aix_release.cmake: ENH: copy right
- files
-
-2006-05-09 08:22 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-08 16:59 hoffman
-
- * Utilities/Release/: dashmacmini2_release.cmake,
- dashsun1_release.cmake, destiny_release.cmake,
- muse_release.cmake, v60n177_aix_release.cmake: ENH: skip
- bootstrap test as it already does a bootstrap
-
-2006-05-08 16:50 hoffman
-
- * Utilities/Release/: dashmacmini2_release.cmake,
- destiny_release.cmake, hythloth_release.cmake,
- muse_release.cmake, release_cmake.cmake,
- v60n177_aix_release.cmake: ENH: change name to MAKE_COMMAND
-
-2006-05-08 16:40 hoffman
-
- * Source/cmSetTargetPropertiesCommand.h: ENH: fix docs to include
- linker lang
-
-2006-05-08 16:38 andy
-
- * Utilities/Release/release_cmake.cmake: ENH: add extra copy for
- ibm
-
-2006-05-08 16:36 hoffman
-
- * Utilities/Release/: dashmacmini2_release.cmake,
- destiny_release.cmake, hythloth_release.cmake,
- muse_release.cmake, release_cmake.cmake, release_cmake.sh.in,
- v60n177_aix_release.cmake: ENH: add make program stuff
-
-2006-05-08 14:18 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: search for program without
- extensions
-
-2006-05-08 13:34 andy
-
- * Modules/NSIS.template.in: ENH: Some cleanups and fix installing
- as a non-admin
-
-2006-05-08 10:02 king
-
- * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt: BUG: Disabling an
- EXECUTE_PROCESS test until problems on UNIX systems are fixed.
-
-2006-05-07 13:04 hoffman
-
- * Modules/FindQt3.cmake: ENH: try to find qt3 better
-
-2006-05-07 10:55 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Modules/CMakeDetermineCCompiler.cmake,
- Modules/CPack.STGZ_Header.sh.in, Modules/FindQt4.cmake,
- Modules/Platform/CYGWIN.cmake, Modules/Platform/SunOS.cmake,
- Modules/Platform/Windows-cl.cmake, Source/CMakeLists.txt,
- Source/cmCommandArgumentParserHelper.cxx, Source/cmDepends.h,
- Source/cmDependsC.cxx, Source/cmFileCommand.cxx,
- Source/cmGlobalGenerator.cxx,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmGlobalUnixMakefileGenerator3.h,
- Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmGlobalVisualStudio71Generator.cxx,
- Source/cmGlobalVisualStudio71Generator.h,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.h,
- Source/cmGlobalVisualStudio8Generator.cxx,
- Source/cmGlobalVisualStudio8Generator.h,
- Source/cmIncludeExternalMSProjectCommand.cxx,
- Source/cmInstallCommand.cxx, Source/cmInstallCommand.h,
- Source/cmInstallFilesGenerator.cxx,
- Source/cmInstallFilesGenerator.h, Source/cmInstallGenerator.cxx,
- Source/cmInstallGenerator.h, Source/cmInstallTargetGenerator.cxx,
- Source/cmInstallTargetGenerator.h, Source/cmLocalGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.cxx,
- Source/cmSourceFile.cxx, Source/cmSourceFile.h,
- Source/cmSourceGroupCommand.h, Source/cmTarget.cxx,
- Source/CPack/cmCPackGenerators.cxx,
- Source/CPack/cmCPackGenerators.h,
- Source/CPack/cmCPackGenericGenerator.cxx,
- Source/CPack/cmCPackNSISGenerator.cxx,
- Source/CPack/cmCPackPackageMakerGenerator.cxx,
- Source/CPack/cmCPackSTGZGenerator.cxx,
- Source/CPack/cmCPackTGZGenerator.cxx,
- Source/CPack/cmCPackTGZGenerator.h,
- Source/CPack/cmCPackTarBZip2Generator.cxx,
- Source/CPack/cmCPackTarBZip2Generator.h,
- Source/CPack/cmCPackTarCompressGenerator.cxx,
- Source/CPack/cmCPackTarCompressGenerator.h,
- Source/CPack/cmCPackZIPGenerator.cxx, Source/CPack/cpack.cxx,
- Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in,
- Tests/COnly/conly.c, Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt,
- Utilities/Release/cmake_release.sh.in: ENH: move changes from
- main tree and change version to 2.4.2
-
-2006-05-07 09:29 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-06 10:01 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-05 22:04 hoffman
-
- * Utilities/Release/: release_cmake.sh.in,
- v60n177_aix_release.cmake: ENH: add extra copy for aix
-
-2006-05-05 21:49 hoffman
-
- * Modules/Platform/CYGWIN.cmake: ENH: add the flag for creating
- windows gui's
-
-2006-05-05 21:45 hoffman
-
- * Source/cmCommandArgumentParserHelper.cxx: ENH: handle empty
- variables
-
-2006-05-05 20:54 king
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio71Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h,
- cmGlobalVisualStudio8Generator.cxx,
- cmGlobalVisualStudio8Generator.h: BUG: MSVC* variables should be
- set in IDE generators instead of just NMake.
-
-2006-05-05 16:12 andy
-
- * Utilities/Release/v60n177_aix_release.cmake: ENH: use a directory
- with space
-
-2006-05-05 15:51 hoffman
-
- * Utilities/Release/: release_cmake.cmake, release_cmake.sh.in:
- ENH: make release directory a variable
-
-2006-05-05 15:04 hoffman
-
- * Modules/FindQt4.cmake: ENH: fix windows path issue
-
-2006-05-05 14:57 king
-
- * Source/cmFileCommand.cxx, Source/cmInstallCommand.cxx,
- Source/cmInstallCommand.h, Source/cmInstallFilesGenerator.cxx,
- Source/cmInstallFilesGenerator.h, Source/cmInstallGenerator.cxx,
- Source/cmInstallGenerator.h, Source/cmInstallTargetGenerator.cxx,
- Source/cmInstallTargetGenerator.h, Source/cmLocalGenerator.cxx,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: Added CONFIGURATIONS
- option to INSTALL command to allow per-configuration install
- rules.
-
-2006-05-05 14:53 andy
-
- * Utilities/Release/: release_cmake.sh.in,
- v60n177_aix_release.cmake: ENH: fix env vars
-
-2006-05-05 13:52 hoffman
-
- * Utilities/Release/release_cmake.sh.in: ENH: add ability to set
- CC, CXX and LDFLAGS
-
-2006-05-05 13:10 hoffman
-
- * Utilities/Release/release_cmake.cmake: ENH: move from tr to cat
- since it works from a windows machine and works on the AIX
-
-2006-05-05 12:49 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-05 12:34 hoffman
-
- * Utilities/Release/: release_cmake.cmake, release_cmake.sh.in:
- ENH: add missing quote and some comments
-
-2006-05-05 12:25 hoffman
-
- * Utilities/Release/: release_cmake.cmake, release_cmake.sh.in:
- ENH: remove old copy
-
-2006-05-05 12:14 hoffman
-
- * Utilities/Release/: destiny_release.cmake, release_cmake.cmake,
- release_cmake.sh.in: ENH: working on hp
-
-2006-05-05 11:51 king
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ENH: Adding COMPONENT option to
- an INSTALL command call to smoke-test it.
-
-2006-05-05 11:46 king
-
- * Source/: cmSourceFile.cxx, cmSourceFile.h, cmTarget.cxx: ENH:
- Added information about target needing a source file when one
- cannot be found.
-
-2006-05-05 11:37 king
-
- * Source/cmSourceGroupCommand.h: ENH: Added example of sub-group to
- docs.
-
-2006-05-05 10:38 king
-
- * Source/cmFileCommand.cxx: ENH: Added option to not use
- copy-if-different when installing.
-
-2006-05-05 10:33 hoffman
-
- * Utilities/Release/: release_cmake.cmake: ENH: create script is
- working
-
-2006-05-05 10:30 hoffman
-
- * Utilities/Release/: release_cmake.cmake, release_cmake.sh.in:
- ENH: create script is working
-
-2006-05-05 10:29 king
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Added
- always/if-different option to CopyADirectory. Added CopyAFile
- with the same interface.
-
-2006-05-05 08:16 hoffman
-
- * Utilities/Release/release_cmake.cmake: ENH: change to script mode
-
-2006-05-04 22:58 hoffman
-
- * Utilities/Release/: release_cmake.sh.in: ENH: add file
-
-2006-05-04 21:57 hoffman
-
- * Utilities/Release/: destiny_release.cmake, muse_release.cmake:
- ENH: add some machines
-
-2006-05-04 17:54 hoffman
-
- * Source/cmMakefile.cxx: ENH: add a check to make sure targets only
- link to libraries and not utility targets to avoid seg faults,
- bug 3194
-
-2006-05-04 13:39 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: remove debug
- output
-
-2006-05-04 13:35 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx, Tests/COnly/conly.c:
- ENH: fix build c stuff with c and c++ with c++
-
-2006-05-04 10:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-03 23:03 hoffman
-
- * Source/cmIncludeExternalMSProjectCommand.cxx: ENH: make sure path
- is converted to unix
-
-2006-05-03 21:42 andy
-
- * Source/: CMakeLists.txt, CPack/cmCPackGenerators.cxx,
- CPack/cmCPackTarBZip2Generator.cxx,
- CPack/cmCPackTarBZip2Generator.h, CPack/cpack.cxx: ENH: Add BZip2
- support, add better documentation
-
-2006-05-03 17:27 hoffman
-
- * Utilities/Release/release_cmake.cmake: ENH: add cvs command
- variable
-
-2006-05-03 17:22 hoffman
-
- * Utilities/Release/: release_cmake.cmake,
- v60n177_aix_release.cmake: ENH: more aix stuff
-
-2006-05-03 17:08 hoffman
-
- * Utilities/Release/: release_cmake.cmake,
- v60n177_aix_release.cmake: ENH: add aix
-
-2006-05-03 16:24 andy
-
- * Modules/CPack.STGZ_Header.sh.in: ENH: Better output
-
-2006-05-03 15:17 martink
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: use SHELL var
-
-2006-05-03 15:17 martink
-
- * Source/CPack/cmCPackGenericGenerator.cxx: BUG: fix CPack to use
- correct paths
-
-2006-05-03 10:07 king
-
- * Source/: cmDepends.h, cmDependsC.cxx,
- cmLocalUnixMakefileGenerator3.cxx: BUG: Fix to avoid repeated
- calls to CollapseFullPath during dependency scanning. This
- addresses bug#3191.
-
-2006-05-03 09:23 hoffman
-
- * Modules/Platform/SunOS.cmake: ENH: use correct flags for
- optimization
-
-2006-05-03 08:16 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-02 23:20 hoffman
-
- * Utilities/Release/: dashmacmini2_release.cmake,
- dashsun1_release.cmake, hythloth_release.cmake,
- release_cmake.cmake: ENH: getting better
-
-2006-05-02 18:47 andy
-
- * Source/CPack/cmCPackTGZGenerator.cxx: COMP: Fix cast to char*
-
-2006-05-02 18:43 andy
-
- * Source/CPack/cmCPackTarCompressGenerator.cxx: COMP: Try to fix
- windows builds
-
-2006-05-02 17:52 andy
-
- * Source/CPack/: cmCPackGenerators.cxx, cmCPackGenerators.h,
- cpack.cxx: ENH: Add generators documentation
-
-2006-05-02 17:34 andy
-
- * Source/CPack/: cmCPackTGZGenerator.cxx, cmCPackTGZGenerator.h,
- cmCPackTarCompressGenerator.cxx, cmCPackTarCompressGenerator.h:
- ENH: Simplify TarCompress to only require compress. Use cmake's
- tar
-
-2006-05-02 17:07 andy
-
- * Source/: CMakeLists.txt, CPack/cmCPackGenerators.cxx,
- CPack/cmCPackTarCompressGenerator.cxx,
- CPack/cmCPackTarCompressGenerator.h: ENH: Initial cut at
- TarCompress generator
-
-2006-05-02 16:41 hoffman
-
- * Utilities/Release/release_cmake.cmake: ENH: remove debug
-
-2006-05-02 16:41 hoffman
-
- * Utilities/Release/: cmake_login, release_cmake.cmake: ENH: more
- stuff
-
-2006-05-02 16:33 hoffman
-
- * Utilities/Release/release_cmake.cmake: ENH: remove if0
-
-2006-05-02 16:32 hoffman
-
- * Utilities/Release/: dashsun1_release.cmake,
- hythloth_release.cmake, release_cmake.cmake: ENH: first pass at
- cmake scripts to create the cmake release
-
-2006-05-02 14:04 hoffman
-
- * Modules/FindQt4.cmake: ENH: fix qt version detection
-
-2006-05-02 13:31 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: add a fast version
- for preinstall
-
-2006-05-02 12:44 martink
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: need to make sure
- paths are OK
-
-2006-05-02 12:40 martink
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: need to make sure
- paths are OK
-
-2006-05-02 10:48 martink
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: fix for unix
-
-2006-05-02 09:56 martink
-
- * Source/cmGlobalGenerator.cxx,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmGlobalUnixMakefileGenerator3.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Modules/CMakeDetermineCCompiler.cmake,
- Modules/Platform/Windows-cl.cmake: ENH: Makefile performance
- improvements
-
-2006-05-02 08:49 andy
-
- * CMakeLists.txt, Source/CPack/cmCPackGenericGenerator.cxx,
- Source/CPack/cmCPackNSISGenerator.cxx,
- Source/CPack/cmCPackPackageMakerGenerator.cxx,
- Source/CPack/cmCPackSTGZGenerator.cxx,
- Source/CPack/cmCPackZIPGenerator.cxx: ENH: Add support for
- stipping and make more things overwritable
-
-2006-05-02 08:14 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-05-01 22:40 hoffman
-
- * Utilities/Release/cmake_release.sh: ENH: try again
-
-2006-05-01 22:31 hoffman
-
- * Utilities/Release/cmake_release.sh: ENH: try to call cpack from
- script
-
-2006-05-01 14:23 andy
-
- * Modules/CPack.STGZ_Header.sh.in,
- Source/CPack/cmCPackSTGZGenerator.cxx: ENH: Add license and make
- it more verbose
-
-2006-05-01 08:06 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-30 10:59 hoffman
-
- * CMakeLists.txt, Copyright.txt, Modules/CPack.cmake,
- Modules/NSIS.InstallOptions.ini.in, Modules/NSIS.template.in,
- Source/CPack/cmCPackNSISGenerator.cxx,
- Source/CTest/cmCTestGenericHandler.cxx,
- Source/CTest/cmCTestScriptHandler.cxx,
- Source/CTest/cmCTestScriptHandler.h: ENH: move files from main
- tree to 2.4.1
-
-2006-04-30 08:04 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-30 03:16 andy
-
- * Source/CTest/cmCTestGenericHandler.cxx: BUG: Make handle
- arguments work again
-
-2006-04-30 03:10 andy
-
- * Modules/NSIS.template.in: ENH: Handle the no-icon case
-
-2006-04-29 20:13 andy
-
- * Source/CTest/: cmCTestScriptHandler.cxx, cmCTestScriptHandler.h:
- ENH: Allow CTEST_UPDATE_COMMAND and fix the comments. This should
- allow SVN update too, maybe
-
-2006-04-29 20:03 andy
-
- * Copyright.txt: ENH: Acknowledge NAMIC
-
-2006-04-29 20:01 andy
-
- * CMakeLists.txt, Modules/CPack.cmake, Modules/NSIS.template.in:
- ENH: Add more install registry options
-
-2006-04-29 19:22 andy
-
- * CMakeLists.txt, Modules/NSIS.InstallOptions.ini.in,
- Modules/NSIS.template.in, Source/CPack/cmCPackNSISGenerator.cxx:
- ENH: Add NSIS options page for path selection, fix adding and
- removing from path, add welcome page and license page
-
-2006-04-29 11:49 hoffman
-
- * CMakeLists.txt, CTestConfig.cmake, ChangeLog.manual,
- Modules/CTest.cmake, Modules/FindQt4.cmake,
- Modules/NSIS.template.in, Source/cmCTest.cxx, Source/cmCTest.h,
- Source/cmMakefile.cxx, Source/cmVersion.cxx, Source/ctest.cxx,
- Source/CTest/cmCTestBuildHandler.cxx,
- Source/CTest/cmCTestGenericHandler.cxx,
- Source/CTest/cmCTestGenericHandler.h,
- Source/CTest/cmCTestStartCommand.cxx,
- Source/CTest/cmCTestStartCommand.h,
- Source/CTest/cmCTestSubmitHandler.cxx,
- Source/kwsys/DynamicLoader.cxx, Source/kwsys/SystemTools.cxx,
- Templates/CTestScript.cmake.in: ENH: merge in changes from main
- tree and change version to 2.4.1-beta
-
-2006-04-29 08:13 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-28 11:59 andy
-
- * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx,
- CTest/cmCTestGenericHandler.cxx, CTest/cmCTestGenericHandler.h,
- CTest/cmCTestStartCommand.cxx, CTest/cmCTestStartCommand.h,
- CTest/cmCTestSubmitHandler.cxx: ENH: Add support for special
- tracks, fix options of handlers so that the -R, -U, and so on
- work in the new style scripting
-
-2006-04-28 11:58 andy
-
- * CTestConfig.cmake: ENH: Add XMLRPC support
-
-2006-04-28 11:58 andy
-
- * CMakeLists.txt, Templates/CTestScript.cmake.in: ENH: Add template
- of ctest script
-
-2006-04-28 09:58 andy
-
- * Modules/CTest.cmake: ENH: Allow overwriting CTestConfig.cmake
- items
-
-2006-04-28 08:59 hoffman
-
- * ChangeLog.manual, Docs/cmake-mode.el,
- Modules/CheckCSourceCompiles.cmake,
- Modules/CheckCXXSourceCompiles.cmake, Modules/FindQt4.cmake,
- Modules/UseQt4.cmake,
- Source/cmGlobalBorlandMakefileGenerator.cxx,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalKdevelopGenerator.cxx,
- Source/cmGlobalMSYSMakefileGenerator.cxx,
- Source/cmGlobalMinGWMakefileGenerator.cxx,
- Source/cmGlobalNMakeMakefileGenerator.cxx,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalWatcomWMakeGenerator.cxx,
- Source/cmLocalGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmMakefileTargetGenerator.cxx, Source/cmTest.cxx,
- Source/cmake.cxx, Source/cmake.h, Source/kwsys/CMakeLists.txt,
- Source/kwsys/SystemTools.cxx, Source/kwsys/Terminal.c,
- Source/kwsys/Terminal.h.in, Source/kwsys/testTerminal.c: ENH:
- merge changes from main tree
-
-2006-04-28 08:12 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-27 17:52 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: put the fix back in with abort
-
-2006-04-27 17:46 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: remove code that does not
- compile, on windows cwd must exist
-
-2006-04-27 16:20 andy
-
- * Modules/NSIS.template.in: ENH: Better support for adding and
- removing path
-
-2006-04-27 16:02 mrichardson
-
- * Source/kwsys/SystemTools.cxx: COMP: Fixing the the build for
- windows.
-
-2006-04-27 15:48 hoffman
-
- * Source/kwsys/DynamicLoader.cxx: ENH: remove warning
-
-2006-04-27 15:26 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: handle running from a
- directory that has been deleted
-
-2006-04-27 15:23 andy
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: Fix problem with
- Source Lines and add debugging of regular expressions
-
-2006-04-27 15:14 alex
-
- * Modules/FindQt4.cmake: ENH: use the ADD_FILE_DEPENDENCIES() macro
- coming with cmake instead a duplicated implementation
- _qt4_add_file_dependencies() here
-
- Alex
-
-2006-04-27 15:07 alex
-
- * Modules/: FindQt4.cmake, UseQt4.cmake: ENH: -apply the patches by
- Clinton Stimpson and Kenneth Moreland which fix some QtMain
- issues on Windows ENH: -sync with KDE svn FindQt4, which features
- a lot of enhancements
-
- Alex
-
-2006-04-27 10:55 andy
-
- * Modules/: CheckCSourceCompiles.cmake,
- CheckCXXSourceCompiles.cmake: BUG: Use the extra definicions
-
-2006-04-27 10:41 king
-
- * Source/cmMakefileTargetGenerator.cxx: BUG: Make sure each
- cmake_depends process uses the same SystemTools path translation
- table as the original process. This addresses problems with
- dependency scanning when make is run from a symlink directory
- pointing at the original binary tree.
-
-2006-04-27 08:01 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-26 21:53 king
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx, cmake.cxx: COMP:
- Disable color support for bootstrap.
-
-2006-04-26 21:51 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Default SHELL on
- windows should not be a hard-coded path.
-
-2006-04-26 21:31 king
-
- * Source/: cmGlobalBorlandMakefileGenerator.cxx,
- cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalKdevelopGenerator.cxx, cmGlobalMSYSMakefileGenerator.cxx,
- cmGlobalMinGWMakefileGenerator.cxx,
- cmGlobalNMakeMakefileGenerator.cxx,
- cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalWatcomWMakeGenerator.cxx,
- cmLocalUnixMakefileGenerator3.cxx, cmake.cxx, cmake.h: ENH:
- Enabling color makefile support using cmsysTerminal_cfprintf.
- Support for color is automatically detected when messages are
- printed. Also made color scheme more readable on both black and
- white backgrounds. This option can be enabled by setting
- CMAKE_COLOR_MAKEFILE to true in the project.
-
-2006-04-26 15:54 king
-
- * Docs/cmake-mode.el: BUG: In example .emacs code use \' for
- end-of-string instead of $ for end-of-line.
-
-2006-04-26 14:28 king
-
- * Docs/cmake-mode.el: BUG: Mode should only be used if
- CMakeLists.txt is at the end of the buffer name.
-
-2006-04-26 14:22 king
-
- * Docs/cmake-mode.el: BUG: Tabs around a function name are allowed.
-
-2006-04-26 13:04 king
-
- * Docs/cmake-mode.el: ENH: Using suggestion from Stuart Herring to
- avoid needing a list of command names in the highlighting table.
-
-2006-04-26 08:01 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-25 16:31 hoffman
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: ENH: fix global help
-
-2006-04-25 12:09 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Docs/cmake-indent.vim,
- Modules/CPack.cmake, Modules/CTest.cmake, Modules/FindQt3.cmake,
- Modules/NSIS.template.in, Modules/UseEcos.cmake,
- Source/CMakeLists.txt, Source/cmGlobalKdevelopGenerator.cxx,
- Source/kwsys/SystemTools.cxx, Tests/Java/CMakeLists.txt: ENH:
- move from main tree to 2.4 branch
-
-2006-04-25 11:58 hoffman
-
- * Source/cmLocalGenerator.cxx: ENH: make sure special vs ide path
- is only used for msvc_ide builds
-
-2006-04-25 11:52 king
-
- * Docs/cmake-mode.el: ENH: Cleaned-up mode in preparation for
- inclusion in emacs upstream.
-
-2006-04-25 09:54 king
-
- * Source/cmLocalGenerator.cxx: ENH: Added option
- CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE to put all in-project
- include directories before all out-of-project include
- directories.
-
-2006-04-25 09:54 king
-
- * Source/kwsys/SystemTools.cxx: BUG: IsSubDirectory should use
- ComparePath to do platform-independent path comparison.
-
-2006-04-25 09:38 hoffman
-
- * Source/: cmGlobalVisualStudio7Generator.cxx,
- cmLocalGenerator.cxx: ENH: add special windows
- CMAKE_MSVCIDE_RUN_PATH variable for adding to the path of vs IDE
- for running custom commands from cmake
-
-2006-04-25 08:34 hoffman
-
- * Source/cmTest.cxx: ENH: make sure command is unix style as it may
- have been sent into cmake as a windows path
-
-2006-04-25 08:33 hoffman
-
- * Source/kwsys/Terminal.h.in: ENH: fix build on AIX
-
-2006-04-25 08:04 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-24 12:15 king
-
- * Source/kwsys/CMakeLists.txt: ENH: Enabling build/test of Terminal
- code now that it has been manually tested on several platforms.
-
-2006-04-24 12:12 hoffman
-
- * Source/cmFLTKWrapUICommand.cxx: ENH: fix fltk fluid order of
- build
-
-2006-04-24 11:30 hoffman
-
- * Source/cmFLTKWrapUICommand.cxx: ENH: make sure command depends on
- fluid
-
-2006-04-24 09:39 hoffman
-
- * Source/cmGlobalKdevelopGenerator.cxx: ENH: fix warnings
-
-2006-04-24 07:56 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-23 23:24 hoffman
-
- * Tests/Java/CMakeLists.txt: ENH: create the correct jar name
-
-2006-04-23 21:12 hoffman
-
- * Source/cmGlobalKdevelopGenerator.cxx: ENH: merge in Alex patches
-
-2006-04-23 19:45 andy
-
- * Modules/: CPack.cmake, NSIS.template.in: ENH: Propagate system
- name and handle win32/win64 name
-
-2006-04-23 18:39 andy
-
- * CMakeLists.txt: ENH: Enable path
-
-2006-04-23 18:23 andy
-
- * Modules/NSIS.template.in: ENH: Add a line to Add/Remove programs
- to uninstall
-
-2006-04-23 15:34 hoffman
-
- * Tests/Java/CMakeLists.txt: ENH: use the right name for the test
-
-2006-04-23 11:10 hoffman
-
- * Tests/Java/CMakeLists.txt: ENH: fix build
-
-2006-04-23 08:08 alex
-
- * Modules/UseEcos.cmake: BUG: finally really fix #2576 by adding
- UseEcos.cmake to cvs :-)
-
- Alex
-
-2006-04-23 07:57 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-23 07:23 alex
-
- * Modules/FindQt3.cmake: BUG: fix QT_MIN_VERSION handling, it
- didn't work anymore (qt_version_str vs. qt_version_str_lib)
-
- Alex
-
-2006-04-22 20:32 king
-
- * Source/kwsys/Terminal.c: COMP: Added missing include of string.h
- for strcmp.
-
-2006-04-22 20:26 king
-
- * Source/kwsys/Terminal.c: BUG: Fixed bug in check for vt100
- assumption.
-
-2006-04-22 20:25 king
-
- * Source/kwsys/Terminal.c: BUG: Fixed uninitialized variable when
- not building with windows console support.
-
-2006-04-22 20:20 king
-
- * Source/kwsys/: CMakeLists.txt, Terminal.c, Terminal.h.in,
- testTerminal.c: ENH: Adding 'Terminal' component to hold support
- routines for dealing with interactive terminals. Currently only
- a cfprintf function is provided to print color messages.
-
-2006-04-22 09:13 hoffman
-
- * Tests/Java/CMakeLists.txt: ENH: fix in source build for vs ide
-
-2006-04-22 08:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-21 20:13 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: fix borland bug
-
-2006-04-21 16:33 andy
-
- * Docs/cmake-indent.vim: BUG: Fix typo
-
-2006-04-21 15:15 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: performance improvments
-
-2006-04-21 14:36 andy
-
- * Modules/CTest.cmake: BUG: Fix the missing nightly start time bug
- and do some cleanup
-
-2006-04-21 14:26 andy
-
- * Source/CMakeLists.txt: ENH: Cleanup
-
-2006-04-21 10:26 hoffman
-
- * CTestCustom.ctest.in, ChangeLog.manual, Docs/cmake-indent.vim,
- Docs/cmake-syntax.vim, Modules/CMakeGenericSystem.cmake,
- Modules/Platform/HP-UX.cmake, Modules/Platform/Linux-ifort.cmake,
- Modules/Platform/Linux.cmake, Modules/Platform/kFreeBSD.cmake,
- Source/cmGlobalGenerator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.h,
- Source/cmMakefileTargetGenerator.cxx, Source/cmake.cxx: ENH: move
- stuff from main tree
-
-2006-04-21 08:59 hoffman
-
- * CTestCustom.ctest.in: ENH: supress xcode warning
-
-2006-04-21 08:59 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: use a better name
-
-2006-04-21 08:06 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-21 07:17 andy
-
- * Docs/cmake-indent.vim: ENH: Add While support
-
-2006-04-20 21:54 hoffman
-
- * Source/cmMakefileTargetGenerator.cxx: ENH: ignore all files that
- we do not know about just like in ide generators
-
-2006-04-20 21:32 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: do not compile
- header files
-
-2006-04-20 17:00 hoffman
-
- * Source/cmake.cxx: ENH: save the cache on fatal error so that
- users can set cache values
-
-2006-04-20 16:16 hoffman
-
- * ChangeLog.manual, Modules/CheckCSourceCompiles.cmake,
- Modules/CheckCXXSourceCompiles.cmake,
- Modules/Platform/Windows-cl.cmake,
- Source/cmBootstrapCommands.cxx, Source/cmCommands.cxx,
- Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio6Generator.h,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.cxx, Source/cmakemain.cxx,
- Templates/CPack.GenericDescription.txt,
- Templates/CPack.GenericLicense.txt,
- Templates/CPack.GenericWelcome.txt,
- Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate,
- Templates/EXEWinHeader.dsptemplate: ENH: merge changes from main
- tree
-
-2006-04-20 15:49 hoffman
-
- * Source/cmMakefile.h: ENH: fix .. in the path of subdirs
-
-2006-04-20 15:49 hoffman
-
- * Source/cmGlobalGenerator.cxx: ENH: don't add package target if no
- package file is around
-
-2006-04-20 15:28 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: VS7 seems to have
- a limit on the length of the link directory list string. Try to
- make the string as short as possible by avoiding trailing slashes
- and using a relative path (if it is shorter).
-
-2006-04-20 10:51 hoffman
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: ENH: fix help for
- global targets
-
-2006-04-20 10:23 andy
-
- * Modules/: CMakeGenericSystem.cmake, Platform/HP-UX.cmake,
- Platform/Linux-ifort.cmake, Platform/Linux.cmake,
- Platform/kFreeBSD.cmake: ENH: Cleanup link libraries. Remove -l
- from -ldl
-
-2006-04-20 10:22 andy
-
- * Source/cmakemain.cxx: ENH: Add help for graphviz
-
-2006-04-20 10:20 andy
-
- * Docs/cmake-syntax.vim: STYLE: Add missing command
-
-2006-04-20 09:59 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Changed color
- scheme to be more readable on both white and black backgrounds.
-
-2006-04-20 09:54 andy
-
- * Templates/: CPack.GenericDescription.txt,
- CPack.GenericLicense.txt, CPack.GenericWelcome.txt: ENH: Simplify
- the generic instructions
-
-2006-04-20 09:32 hoffman
-
- * CTestCustom.ctest.in: ENH: add ignore for xcode
-
-2006-04-19 17:23 hoffman
-
- * Modules/: CheckCSourceCompiles.cmake,
- CheckCXXSourceCompiles.cmake: ENH: append to log files
-
-2006-04-19 16:51 hoffman
-
- * CMakeLists.txt: ENH: update cpack stuff to match old cmake
- releases
-
-2006-04-19 16:36 hoffman
-
- * Modules/Platform/Windows-cl.cmake, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.cxx: ENH: name pdb files for
- visual studio make based builds
-
-2006-04-19 15:29 hoffman
-
- * Modules/Platform/Windows-cl.cmake: ENH: unix makefiles should
- work with cl
-
-2006-04-19 12:58 hoffman
-
- * ChangeLog.txt: ENH: put cvs2cl changelog to match branch
-
-2006-04-19 12:30 hoffman
-
- * ChangeLog.manual: ENH: add changelog for 2.4
-
-2006-04-19 12:29 hoffman
-
- * ChangeLog.txt: ENH: create new change log with cvs2cl
-
-2006-04-19 11:14 hoffman
-
- * Modules/Platform/Windows-cl.cmake: ENH: don't need two of these
-
-2006-04-19 10:56 hoffman
-
- * Modules/Platform/Windows-cl.cmake: ENH: test for vs8 correctly
-
-2006-04-19 10:50 king
-
- * Source/: cmBootstrapCommands.cxx, cmCommands.cxx: BUG: Need
- ADD_DEPENDENCIES command for MinGW bootstrap since kwsys uses the
- Win32 implementation of process execution.
-
-2006-04-19 10:34 king
-
- * Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio6Generator.h,
- Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate,
- Templates/EXEWinHeader.dsptemplate: BUG: VS6 generator now uses
- ComputeLinkInformation just like all other generators.
-
-2006-04-19 10:11 hoffman
-
- * Modules/Platform/Windows-cl.cmake: ENH: check for version 1400
-
-2006-04-19 08:06 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-18 16:40 hoffman
-
- * CMakeLists.txt: ENH: make cpack names match old cmake release
- process
-
-2006-04-18 15:32 hoffman
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: ENH: put global
- targets in the help
-
-2006-04-18 15:30 hoffman
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: make sure help
- has global targets
-
-2006-04-18 14:48 hoffman
-
- * CMakeLists.txt, Source/cmCPluginAPI.h: ENH: move version numbers
- to 2.5.0
-
-2006-04-18 14:48 hoffman
-
- * CMakeLists.txt, Source/cmCPluginAPI.h, Utilities/Release/README:
- ENH: move version numbers to 2.4.0
-
-2006-04-18 11:53 king
-
- * Source/cmLocalVisualStudio6Generator.cxx: BUG: Do not require
- language flags variables. Other generators do not, and it breaks
- programmable language support (like the Java test).
-
-2006-04-18 11:50 barre
-
- * Source/kwsys/SystemTools.cxx: ENH: try to bypass Microsoft
- assert() on isspace, isalpha, etc.
-
-2006-04-18 11:45 king
-
- * Source/cmLocalVisualStudio6Generator.cxx,
- Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate,
- Templates/EXEWinHeader.dsptemplate,
- Templates/staticLibHeader.dsptemplate,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: Updated VS6 generator
- to use target.GetFullName() to compute target file names.
-
-2006-04-18 10:56 king
-
- * Source/: cmSetTargetPropertiesCommand.h, cmTarget.cxx: ENH: Added
- <config>_OUTPUT_NAME target property to allow the output name to
- be set on a per-configuration basis.
-
-2006-04-18 10:32 andy
-
- * Docs/: cmake-indent.vim, cmake-syntax.vim: ENH: Cleanup header
- and make license compatible with VIM
-
-2006-04-18 10:32 andy
-
- * Source/CPack/: cmCPackGenericGenerator.cxx,
- cmCPackSTGZGenerator.cxx: ENH: Remove some debugging
-
-2006-04-18 10:30 king
-
- * Source/: cmFileCommand.cxx, cmInstallCommand.h: BUG: Using the
- source-file permissions by default for installation is somewhat
- unpredictable because users can extract source code with almost
- any permissions (umask). Changing the default to use 644 for
- files and 755 for programs. No release has documented the old
- behavior so we do not need compatibility.
-
-2006-04-18 10:27 king
-
- * Source/cmIfCommand.h: BUG: Fixed missing false values in
- documentation of IF command.
-
-2006-04-18 10:01 king
-
- * Modules/CPack.cmake: BUG: Need to ignore source packaging of #*#
- files created by emacs during editing.
-
-2006-04-18 09:24 andy
-
- * Source/CPack/cmCPackSTGZGenerator.cxx: COMP: Remove non-existent
- header
-
-2006-04-18 08:25 andy
-
- * Modules/CPack.STGZ_Header.sh.in, Source/cmFileCommand.cxx,
- Source/CPack/cmCPackGenericGenerator.cxx,
- Source/CPack/cmCPackGenericGenerator.h,
- Source/CPack/cmCPackSTGZGenerator.cxx,
- Source/CPack/cmCPackSTGZGenerator.h, Source/CPack/cpack.cxx: ENH:
- More cleanups and add stgz header script, so it does not have to
- be hard-coded. Also, the user can overwrite it
-
-2006-04-18 08:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-17 19:02 andy
-
- * bootstrap: ENH: Fix copyright year
-
-2006-04-17 18:10 hoffman
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt,
- Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: ENH: remove
- duplicate file name test because it fails on xcode
-
-2006-04-17 16:06 andy
-
- * Source/cmGlobalGenerator.cxx: BUG: Verify the global target name
- exists before using it. Fixes VS and Xcode
-
-2006-04-17 15:55 hoffman
-
- * Modules/FindX11.cmake: ENH: fix find x11 on the mac
-
-2006-04-17 15:35 hoffman
-
- * Source/cmLocalGenerator.cxx: ENH: fix java for ide builds again
-
-2006-04-17 15:26 andy
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalUnixMakefileGenerator3.h: ENH: Add packaging of source
- code (make package_source)
-
-2006-04-17 14:13 malaterre
-
- * Source/kwsys/CMakeLists.txt: COMP: Fix compilation on linux
- (dlopen/dlclose symbols)
-
-2006-04-17 14:00 hoffman
-
- * Modules/CMakeJavaInformation.cmake, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.cxx: ENH: fix java and add
- OBJECT_DIR support
-
-2006-04-17 13:59 hoffman
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- Complex/Executable/complex.cxx,
- Complex/Executable/Sub1/NameConflictTest.c,
- Complex/Executable/Sub2/NameConflictTest.c,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexOneConfig/Executable/Sub1/NameConflictTest.c,
- ComplexOneConfig/Executable/Sub2/NameConflictTest.c,
- ComplexRelativePaths/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/complex.cxx,
- ComplexRelativePaths/Executable/Sub1/NameConflictTest.c,
- ComplexRelativePaths/Executable/Sub2/NameConflictTest.c: ENH:
- allow multiple files with the same name in different sub dirs
- test
-
-2006-04-17 13:58 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: allow multiple
- files with the same name in different subdirs
-
-2006-04-17 13:57 hoffman
-
- * Modules/CMakeDetermineCXXCompiler.cmake: ENH: add mingw test to
- cxx
-
-2006-04-17 13:57 hoffman
-
- * Modules/Platform/Windows-gcc.cmake: ENH: add windows apps to
- mingw
-
-2006-04-17 07:56 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-16 13:49 andy
-
- * Docs/cmake-syntax.vim: ENH: Cleanup, make case insensitive,
- remove macro since it does not work anyway
-
-2006-04-16 08:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-15 13:02 andy
-
- * Modules/CPack.cmake, Source/CPack/cmCPackGenericGenerator.cxx,
- Source/CPack/cmCPackGenericGenerator.h,
- Source/CPack/cmCPackNSISGenerator.cxx,
- Source/CPack/cmCPackNSISGenerator.h,
- Source/CPack/cmCPackPackageMakerGenerator.cxx,
- Source/CPack/cmCPackPackageMakerGenerator.h,
- Source/CPack/cmCPackSTGZGenerator.cxx,
- Source/CPack/cmCPackSTGZGenerator.h,
- Source/CPack/cmCPackTGZGenerator.cxx,
- Source/CPack/cmCPackTGZGenerator.h,
- Source/CPack/cmCPackZIPGenerator.cxx,
- Source/CPack/cmCPackZIPGenerator.h: ENH: Support for packaging
- source, several cleanups and more yeehaa...
-
-2006-04-15 08:12 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-14 15:08 hoffman
-
- * Modules/FindX11.cmake: ENH: make sure frameworks are not searched
- for x header files
-
-2006-04-14 09:13 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-14 09:02 hoffman
-
- * Source/CMakeLists.txt: ENH: fix syntax
-
-2006-04-14 08:58 andy
-
- * Modules/CPack.cmake, Source/CPack/cmCPackGenericGenerator.cxx,
- Templates/CPackConfig.cmake.in: ENH: Start adding support for
- packaging component and to package into a subdirectory
-
-2006-04-14 08:44 hoffman
-
- * Source/CMakeLists.txt: ENH: make sure cmake can be built with an
- older version of cmake
-
-2006-04-13 23:24 hoffman
-
- * Source/cmFindProgramCommand.cxx: ENH: fix warning
-
-2006-04-13 23:15 hoffman
-
- * Source/: cmDocumentation.cxx, cmDocumentation.h, cmakemain.cxx:
- ENH: search for help modules in the correct place for install and
- source tree builds
-
-2006-04-13 22:57 king
-
- * Source/cmFileCommand.cxx: BUG: Fixed install rules to use
- copy-if-different.
-
-2006-04-13 22:56 king
-
- * Source/kwsys/SystemTools.cxx: ENH: Improved implementation of
- FilesDiffer to avoid allocating enough memory for the entire file
- twice. Instead using a block-at-a-time comparison.
-
-2006-04-13 15:28 king
-
- * Tests/CustomCommand/wrapper.cxx: COMP: Do not use ANSI function
- prototypes to pacify HP.
-
-2006-04-13 11:00 hoffman
-
- * bootstrap, Modules/Platform/Darwin.cmake, Source/CMakeLists.txt,
- Source/cmFindBase.cxx, Source/cmFindBase.h,
- Source/cmFindProgramCommand.cxx, Source/cmFindProgramCommand.h,
- Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in:
- ENH: add patch for finding applications on OSX
-
-2006-04-13 10:15 king
-
- * Source/: cmGlobalUnixMakefileGenerator3.h,
- cmGlobalWatcomWMakeGenerator.cxx, cmMakefileTargetGenerator.cxx:
- BUG: Work-around Watcom WMake limitation for multiple-output
- custom command support.
-
-2006-04-13 08:02 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-12 22:04 king
-
- * Source/cmInstallCommand.cxx, Source/cmInstallCommand.h,
- Source/cmInstallScriptGenerator.cxx,
- Source/cmInstallScriptGenerator.h,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstall/InstallScript1.cmake,
- Tests/SimpleInstall/InstallScript2.cmake,
- Tests/SimpleInstallS2/CMakeLists.txt,
- Tests/SimpleInstallS2/InstallScript1.cmake,
- Tests/SimpleInstallS2/InstallScript2.cmake: ENH: Added
- INSTALL(CODE) mode to allow inline specification of install
- script code. This reduces the need for configuring an install
- script that needs some variable settings because the install code
- can set thing up first.
-
-2006-04-12 21:24 andy
-
- * Docs/cmake-indent.vim: ENH: Unify the comment
-
-2006-04-12 21:20 andy
-
- * Docs/cmake-syntax.vim: ENH: More system variables, more
- operators, more commands, fix some string issues and some cmake
- arguments issues
-
-2006-04-12 15:23 hoffman
-
- * Source/CMakeLists.txt: ENH: lang by custom command does not yet
- work for Xcode
-
-2006-04-12 11:56 martink
-
- * Source/cmGlobalGenerator.cxx: COMP: fix warning
-
-2006-04-12 11:36 martink
-
- * Source/cmGlobalGenerator.h: ENH: fix compile issue on HP
- hopefully
-
-2006-04-12 09:12 hoffman
-
- * Source/cmDocumentation.cxx: ENH: case insensitive command help
-
-2006-04-12 08:15 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-11 22:39 hoffman
-
- * Source/cmake.cxx: ENH: add more verbose output in verbose mode
-
-2006-04-11 22:39 hoffman
-
- * Source/cmMakefile.cxx: ENH: fix re-run of cmake based on
- configured files that are done with copy if different and never
- change
-
-2006-04-11 17:11 hoffman
-
- * Source/: CMakeLists.txt, cmLocalGenerator.cxx: ENH: enable test
- for java with IDE builds
-
-2006-04-11 16:55 king
-
- * Modules/CMakeCInformation.cmake,
- Modules/CMakeCXXInformation.cmake,
- Modules/CMakeFortranInformation.cmake,
- Modules/Platform/Windows-bcc32.cmake,
- Modules/Platform/Windows-cl.cmake,
- Modules/Platform/Windows-icl.cmake,
- Modules/Platform/Windows-ifort.cmake,
- Modules/Platform/Windows-wcl386.cmake,
- Source/cmLocalGenerator.cxx,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx: ENH: Split
- CMAKE_STANDARD_LIBRARIES into per-language variables
- CMAKE_<lang>_STANDARD_LIBRARIES. This is needed to get
- programmable language support working with Visual Studio
- generators. It makes sense anyway.
-
-2006-04-11 14:54 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: Use flag-map
- transform only for C and C++ flags.
-
-2006-04-11 14:53 king
-
- * Source/cmLocalGenerator.cxx: ENH: Restored implementation of
- AddCustomCommandToCreateObject. Updated it to use newer custom
- command functionality.
-
-2006-04-11 13:32 king
-
- * Source/cmLocalGenerator.cxx: BUG: Install scripts should honor
- EXCLUDE_FROM_ALL options for subdirectories. This addresses
- bug#3100.
-
-2006-04-11 12:51 martink
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmLocalUnixMakefileGenerator3.cxx, cmMakefile.cxx, cmMakefile.h:
- ENH: some performance optimizations
-
-2006-04-11 11:40 king
-
- * Source/cmLocalGenerator.cxx: BUG: Do not add non-per-config
- subdirectory name of cmake target libraries as full path libs.
-
-2006-04-11 11:06 king
-
- * Source/cmAddCustomCommandCommand.cxx,
- Source/cmAddCustomCommandCommand.h, Source/cmCustomCommand.cxx,
- Source/cmCustomCommand.h, Source/cmGlobalGenerator.cxx,
- Source/cmGlobalGenerator.h,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmGlobalUnixMakefileGenerator3.h,
- Source/cmGlobalVisualStudio8Generator.cxx,
- Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio6Generator.h,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmMakefileTargetGenerator.cxx,
- Source/cmake.cxx, Tests/CustomCommand/CMakeLists.txt,
- Tests/CustomCommand/wrapper.cxx: ENH: Added support for multiple
- outputs generated by a single custom command. For Visual Studio
- generators the native tool provides support. For Xcode and
- Makefile generators a simple trick is used. The first output is
- considered primary and has the build rule attached. Other
- outputs simply depend on the first output with no build rule.
- During cmake_check_build_system CMake detects when a secondary
- output is missing and removes the primary output to make sure all
- outputs are regenerated. This approach always builds the custom
- command at the right time and only once even during parallel
- builds.
-
-2006-04-11 10:04 king
-
- * Source/cmMakefile.h: BUG: Fixed typo in new cmake-rerun code.
-
-2006-04-11 08:56 andy
-
- * Source/cmCTest.cxx: BUG: The fast mode should not read
- CTestCustom.ctest files
-
-2006-04-11 08:16 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-10 13:52 hoffman
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx, cmMakefile.cxx,
- cmMakefile.h: ENH: add support for re-running cmake if the
- cmakefiles change
-
-2006-04-10 13:52 hoffman
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ENH: add test for mfc
-
-2006-04-10 13:47 hoffman
-
- * Source/cmFileCommand.cxx: ENH: handle single path
-
-2006-04-10 13:46 hoffman
-
- * Modules/: CMakeVS6FindMake.cmake, CMakeVS71FindMake.cmake,
- CMakeVS7FindMake.cmake, CMakeVS8FindMake.cmake,
- InstallRequiredSystemLibraries.cmake: ENH: add correct flags for
- msvc generators
-
-2006-04-10 13:44 andy
-
- * Modules/CPack.cmake, Source/cmGlobalGenerator.h,
- Source/ctest.cxx, Source/CPack/cmCPackGenericGenerator.cxx: ENH:
- Add support for preinstall for cmake generated projects when
- packaging them
-
-2006-04-10 11:39 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: fix so all configurations
- show up
-
-2006-04-10 11:09 andy
-
- * Modules/CPack.cmake, Source/CPack/cmCPackGenericGenerator.cxx:
- ENH: Deprecate CPACK_BINARY_DIR and add
- CPACK_INSTALL_CMAKE_PROJECTS
-
-2006-04-10 09:36 andy
-
- * CTestCustom.ctest.in: ENH: Some ctest custom fixes
-
-2006-04-10 08:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-09 08:15 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-09 07:45 andy
-
- * Source/: cmCTest.cxx, cmCTest.h, CTest/cmCTestBuildHandler.cxx,
- CTest/cmCTestReadCustomFilesCommand.cxx: BUG: Improve the
- behavior of the ReadCustomFilesCommand
-
-2006-04-08 14:15 hoffman
-
- * Source/: cmLocalKdevelopGenerator.cxx,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: make sure verbose output is
- used for kde
-
-2006-04-08 08:23 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-07 16:46 hoffman
-
- * Modules/Platform/: Windows-cl.cmake, Windows-cl.cmake.in: ENH:
- add better variables for MSVC versions
-
-2006-04-07 16:35 andy
-
- * Modules/CPack.cmake: ENH: Allow to overwrite CPACK_BINARY_DIR
-
-2006-04-07 07:40 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-06 07:39 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-05 11:07 king
-
- * Source/cmOrderLinkDirectories.cxx: COMP: Moved var decl out of
- _WIN32 block.
-
-2006-04-05 11:05 king
-
- * Source/: cmLocalGenerator.cxx, cmOrderLinkDirectories.cxx: BUG:
- Fixed cmOrderLinkDirectories to deal with raw link items that do
- not yet exist and correct drive letter case to avoid duplicate
- paths on windows. Fixed cmLocalGenerator to pass CMake targets
- as full paths to cmOrderLinkDirectories to make sure the ordering
- will pick up the proper target libraries.
-
-2006-04-05 07:46 hoffman
-
- * Source/: cmFileCommand.cxx, cmFileCommand.h: ENH: add path
- conversion stuff and rm SYSTEM_PATH
-
-2006-04-05 07:31 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-04 17:27 hoffman
-
- * Modules/CMakeVS8FindMake.cmake: ENH: add search directories for
- 32 bit devenv from a 64bit cmake
-
-2006-04-04 17:14 king
-
- * Source/cmLocalGenerator.cxx: BUG: Removing part of earlier fix
- because it does not work with VS generators. It may be restored
- later after cmOrderLinkDirs is further fixed.
-
-2006-04-04 14:53 king
-
- * Source/cmSetTargetPropertiesCommand.h: ENH: Added documentation
- for COMPILE_FLAGS property and clarified meaning of
- DEFINE_SYMBOL.
-
-2006-04-04 14:25 king
-
- * Source/cmLocalGenerator.cxx, Source/cmOrderLinkDirectories.cxx,
- Source/cmOrderLinkDirectories.h,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/complex.cxx: BUG: Fixed
- cmOrderLinkDirectories to make sure cmake-built libraries are
- found properly. Also taking libraries that will be built but may
- not yet exist into account. The per-configuration subdirectories
- that are included by generators in the link path are checked for
- conflicting libraries also. Potentially conflicting libraries
- that are actually symlinks back to the desired library are no
- longer considered conflicting, which avoids bogus impossible
- ordering warnings.
-
-2006-04-04 14:25 martink
-
- * Source/cmakexbuild.cxx: BUG: compiler fix
-
-2006-04-04 13:04 martink
-
- * Source/: cmCTest.cxx, cmCTest.h, cmForEachCommand.cxx,
- cmSystemTools.cxx, cmSystemTools.h, cmakexbuild.cxx, ctest.cxx,
- CTest/cmCTestRunScriptCommand.cxx,
- CTest/cmCTestRunScriptCommand.h, CTest/cmCTestScriptHandler.cxx,
- CTest/cmCTestScriptHandler.h: ENH: added support for -SP scripts
- in new processes
-
-2006-04-04 11:52 hoffman
-
- * Source/cmOrderLinkDirectories.cxx,
- Source/cmOrderLinkDirectories.h,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: change
- library order to use a vector
-
-2006-04-04 11:48 king
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmLocalGenerator.cxx, cmLocalGenerator.h, cmTarget.h: ENH: Added
- global TargetManifest computation between Configure and Generate
- steps. This allows generators to know what other targets will
- exist on disk when the build completes.
-
-2006-04-04 09:35 king
-
- * Source/: cmIncludeDirectoryCommand.cxx,
- cmIncludeDirectoryCommand.h: ENH: INCLUDE_DIRECTORIES should have
- been written to prepend to the include path so that the most
- local directories are included first. This is a patch from Alex
- to resolve the problem by allowing users to switch the default
- using a variable CMAKE_INCLUDE_DIRECTORIES_BEFORE and then still
- explicitly appending or prepending by using AFTER or BEFORE
- arguments explicitly.
-
-2006-04-04 07:38 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-03 22:05 hoffman
-
- * Source/cmGlobalGenerator.cxx: ENH: use correct addcache call to
- fix build tools
-
-2006-04-03 17:54 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: fix spaces in path for
- xcode
-
-2006-04-03 16:20 hoffman
-
- * Source/: cmIncludeDirectoryCommand.cxx,
- cmLinkDirectoriesCommand.cxx: ENH: make sure include and lib dirs
- are unix paths
-
-2006-04-03 15:59 hoffman
-
- * Source/cmFileCommand.cxx: ENH: fix warning, and remove debug code
-
-2006-04-03 12:57 hoffman
-
- * Source/: cmLocalGenerator.cxx, cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx,
- cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmSetTargetPropertiesCommand.h: ENH: add support for per config
- target LINK_FLAGS
-
-2006-04-03 07:37 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-02 11:20 andy
-
- * Source/: CMakeLists.txt, CPack/cmCPackGenerators.cxx,
- CPack/cmCPackGenericGenerator.cxx,
- CPack/cmCPackNSISGenerator.cxx,
- CPack/cmCPackPackageMakerGenerator.cxx,
- CPack/cmCPackZIPGenerator.cxx, CPack/cmCPackZIPGenerator.h,
- CPack/cpack.cxx: ENH: Add ZIP generator and add support for
- including or excluding the toplevel directory
-
-2006-04-02 08:35 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-04-01 07:37 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-31 21:43 hoffman
-
- * Source/: cmOrderLinkDirectories.cxx, cmOrderLinkDirectories.h:
- ENH: fix spelling
-
-2006-03-31 17:59 hoffman
-
- * Source/cmOrderLinkDirectories.cxx: ENH: fix for bug 3067 the
- first framework ate the rest of the libraries
-
-2006-03-31 13:17 hoffman
-
- * bootstrap, Source/CMakeLists.txt, Source/cmGlobalGenerator.cxx,
- Source/cmGlobalXCodeGenerator.cxx,
- Source/cmTryCompileCommand.cxx, Source/cmakemain.cxx,
- Source/cmakexbuild.cxx: ENH: add a wrapper for xcodebuild to get
- around bug and verbose output
-
-2006-03-31 08:46 hoffman
-
- * Utilities/cmcurl/getdate.c: ENH: remove c++ comment from c code
-
-2006-03-31 08:13 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-30 23:03 hoffman
-
- * Utilities/cmtar/append.c: ENH: remove warning
-
-2006-03-30 17:26 hoffman
-
- * Source/cmakexbuild.cxx: ENH: add program to run xcodebuild and
- get around bug
-
-2006-03-30 16:55 king
-
- * Modules/Platform/Windows-cl.cmake: BUG: Fixed order of options to
- cl for 32-bit/64-bit test to work with VS 6 NMake.
-
-2006-03-30 15:39 king
-
- * Source/: cmGlobalBorlandMakefileGenerator.cxx,
- cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalKdevelopGenerator.cxx, cmGlobalMSYSMakefileGenerator.cxx,
- cmGlobalMinGWMakefileGenerator.cxx,
- cmGlobalNMakeMakefileGenerator.cxx,
- cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalWatcomWMakeGenerator.cxx,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h,
- cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx: ENH: Implemented VT100 terminal
- escape sequences. If CMAKE_COLOR_MAKEFILE is set then messages
- produced by makefiles will be in color if the native tool
- supports it. This addresses bug#3060.
-
-2006-03-30 13:49 hoffman
-
- * Modules/Platform/Windows-cl.cmake,
- Modules/Platform/Windows-cl.cmake.in, Source/CMakeLists.txt,
- Source/cmCommandArgumentParserHelper.cxx,
- Source/cmDependsJavaParserHelper.cxx,
- Source/cmExecuteProcessCommand.cxx, Source/cmGlobalGenerator.cxx,
- Source/cmGlobalVisualStudio8Generator.cxx,
- Source/cmGlobalVisualStudio8Generator.h,
- Source/cmGlobalVisualStudio8Win64Generator.cxx,
- Source/cmGlobalVisualStudio8Win64Generator.h,
- Source/cmIfCommand.cxx, Source/cmListCommand.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h, Source/cmXMLParser.cxx,
- Source/cmake.cxx, Source/CTest/cmCTestHandlerCommand.cxx,
- Source/CTest/cmCTestMemCheckHandler.cxx,
- Source/CTest/cmCTestSubmitHandler.cxx,
- Source/kwsys/CommandLineArguments.cxx, Source/kwsys/Glob.cxx,
- Source/kwsys/ProcessWin32.c, Source/kwsys/Registry.cxx,
- Source/kwsys/SystemTools.cxx, Source/kwsys/hashtable.hxx.in,
- Source/kwsys/testDynamicLoader.cxx,
- Utilities/cmcurl/CMakeLists.txt, Utilities/cmcurl/getdate.c,
- Utilities/cmcurl/inet_pton.c, Utilities/cmcurl/md5.c,
- Utilities/cmcurl/mprintf.c, Utilities/cmtar/CMakeLists.txt,
- Utilities/cmtar/append.c, Utilities/cmtar/block.c,
- Utilities/cmtar/extract.c, Utilities/cmtar/handle.c,
- Utilities/cmtar/output.c, Utilities/cmtar/compat/snprintf.c: ENH:
- add support for win64 for visual studio 2005 ide and nmake, also
- fix warnings produced by building for win64
-
-2006-03-30 13:33 king
-
- * Source/: cmFileCommand.cxx, cmGlobalGenerator.cxx,
- cmGlobalGenerator.h, cmInstallCommand.cxx, cmInstallCommand.h,
- cmInstallFilesGenerator.cxx, cmInstallFilesGenerator.h,
- cmInstallGenerator.cxx, cmInstallGenerator.h,
- cmInstallTargetGenerator.cxx, cmInstallTargetGenerator.h,
- cmLocalGenerator.cxx: ENH: Added named component installation
- implementation. Installation behavior should be unchanged unless
- -DCOMPONENT=<name> is specified when cmake_install.cmake is
- invoked.
-
-2006-03-30 11:55 hoffman
-
- * Source/: cmFileCommand.cxx, cmFindBase.cxx, cmFindBase.h: ENH:
- make sure framework search order is correct
-
-2006-03-30 09:17 martink
-
- * Source/cmGlobalGenerator.cxx: ENH: modified the relative path
- code to not do relative paths between bin and source
-
-2006-03-30 08:38 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-29 16:34 andy
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: Use
- PBXResourcesBuildPhase for resrources
-
-2006-03-29 16:34 hoffman
-
- * Modules/Platform/Darwin.cmake: ENH: use correct name for path
-
-2006-03-29 16:25 andy
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: Simplify. Instead of
- doing ../MacOS just copy to current directory
-
-2006-03-29 16:21 andy
-
- * Source/cmXCode21Object.cxx: ENH: Add support for Xcode 2.1
-
-2006-03-29 15:02 andy
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmXCodeObject.cxx,
- cmXCodeObject.h: ENH: Add copy stages for bundle files
-
-2006-03-29 13:33 hoffman
-
- * Source/cmFindBase.cxx, Tests/BundleTest/CMakeLists.txt: ENH: add
- a test for find framework stuff in find_library, and fix the
- framework search stuff
-
-2006-03-29 13:26 hoffman
-
- * Source/kwsys/CMakeLists.txt: ENH: remove test on cygwin since it
- randomly fails
-
-2006-03-29 12:33 andy
-
- * Source/CTest/: cmCTestBuildCommand.cxx,
- cmCTestConfigureCommand.cxx, cmCTestCoverageCommand.cxx,
- cmCTestSubmitCommand.cxx, cmCTestUpdateCommand.cxx: COMP: Return
- 0 instead of false
-
-2006-03-29 12:01 andy
-
- * Source/cmCTest.cxx, Source/cmCTest.h,
- Source/CTest/cmCTestBuildCommand.cxx,
- Source/CTest/cmCTestBuildCommand.h,
- Source/CTest/cmCTestBuildHandler.cxx,
- Source/CTest/cmCTestConfigureCommand.cxx,
- Source/CTest/cmCTestConfigureCommand.h,
- Source/CTest/cmCTestCoverageCommand.cxx,
- Source/CTest/cmCTestCoverageCommand.h,
- Source/CTest/cmCTestCoverageHandler.cxx,
- Source/CTest/cmCTestHandlerCommand.cxx,
- Source/CTest/cmCTestMemCheckHandler.cxx,
- Source/CTest/cmCTestSubmitCommand.cxx,
- Source/CTest/cmCTestSubmitCommand.h,
- Source/CTest/cmCTestTestCommand.h,
- Source/CTest/cmCTestTestHandler.cxx,
- Source/CTest/cmCTestUpdateCommand.cxx,
- Source/CTest/cmCTestUpdateCommand.h,
- Tests/CTestTest3/test.cmake.in: ENH: Several cleanups and make
- sure things get propagated where they should. Also, allow to load
- CTest custom files to the actual ctest -S script
-
-2006-03-29 09:10 andy
-
- * Source/cmSetSourceFilesPropertiesCommand.cxx: COMP: Remove
- warning
-
-2006-03-29 08:31 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-28 16:36 andy
-
- * Source/CTest/cmCTestReadCustomFilesCommand.cxx,
- Tests/CTestTest3/test.cmake.in: BUG: Fix the read custom files
- command and add a coverage test
-
-2006-03-28 16:25 andy
-
- * Source/: cmLocalGenerator.cxx, cmTarget.cxx: COMP: Remove
- warnings
-
-2006-03-28 15:20 andy
-
- * Source/cmCTest.cxx: ENH: Pass handler flags to both test and
- memcheck handler
-
-2006-03-28 15:19 andy
-
- * Source/: CMakeLists.txt, cmCTest.h: ENH: Add new ctest command
-
-2006-03-28 14:45 king
-
- * Source/cmFindBase.cxx: ENH: Added check of
- CMAKE_BACKWARDS_COMPATIBILITY to skip the CMake system path
- search when simulating CMake 2.2 and earlier.
-
-2006-03-28 14:37 andy
-
- * Source/CTest/: cmCTestReadCustomFilesCommand.cxx,
- cmCTestReadCustomFilesCommand.h, cmCTestScriptHandler.cxx: ENH:
- Add command to read ctest custom files
-
-2006-03-28 13:48 andy
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Handle spaces in
- the path
-
-2006-03-28 13:23 andy
-
- * Tests/BundleTest/: BundleLib.cxx, BundleTest.cxx: ENH: Check if
- files exist
-
-2006-03-28 13:16 andy
-
- * Source/: cmFileCommand.cxx, cmInstallGenerator.cxx,
- cmInstallTargetGenerator.cxx, cmTarget.h: ENH: Add proper support
- for installing bundles
-
-2006-03-28 13:07 alex
-
- * Modules/FindKDE4.cmake: STYLE: better error message when KDE4
- hasn't been found
-
- Alex
-
-2006-03-28 10:58 king
-
- * Source/cmInstallTargetGenerator.cxx: BUG: Pay attention to the
- MACOSX_BUNDLE target property only on APPLE platforms.
-
-2006-03-28 08:54 andy
-
- * Modules/Platform/Darwin.cmake,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.h,
- Source/cmSetSourceFilesPropertiesCommand.cxx,
- Tests/BundleTest/CMakeLists.txt,
- Tests/BundleTest/SomeRandomFile.txt,
- Tests/BundleTest/randomResourceFile.plist.in: ENH: Add support
- for adding content to bundles
-
-2006-03-28 08:22 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-27 12:21 hoffman
-
- * Modules/Platform/UnixPaths.cmake: ENH: add /opt/local/include
-
-2006-03-27 11:09 hoffman
-
- * Modules/Platform/: FreeBSD.cmake, OpenBSD.cmake: ENH: add unix
- paths
-
-2006-03-27 10:46 hoffman
-
- * Modules/Platform/: FreeBSD.cmake, HP-UX.cmake, IRIX.cmake,
- IRIX64.cmake, NetBSD.cmake, OSF1.cmake, SCO_SV.cmake,
- SINIX.cmake, Tru64.cmake, ULTRIX.cmake, UNIX_SV.cmake,
- UnixPaths.cmake, UnixWare.cmake, Xenix.cmake, kFreeBSD.cmake:
- ENH: add more search paths and add UnixPaths to all unix
- platforms
-
-2006-03-27 08:13 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-26 08:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-25 08:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-24 16:13 hoffman
-
- * Source/cmListCommand.cxx: ENH: allow unset vars to be used in
- list length
-
-2006-03-24 16:11 king
-
- * CMakeLists.txt, Source/cmInstallCommand.cxx,
- Source/cmInstallCommand.h, Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: Added ARCHIVE option
- to the TARGETS mode of the INSTALL command. It is a third option
- added to RUNTIME and LIBRARY property types. Static libraries
- and import libraries are now treated as ARCHIVE targets instead
- of LIBRARY targets. This adds a level of granularity necessary
- for upcoming features. Also updated the CVS CMake patch level
- set in CMake_VERSION_PATCH from 4 to 5 to allow users of this
- version to know whether this incompatible change is present.
-
-2006-03-24 14:47 king
-
- * Modules/FindPythonLibs.cmake: ENH: Updated implementation to use
- new FIND_* command power. The correct library is now found on
- MinGW also.
-
-2006-03-24 14:16 king
-
- * Source/: cmFindBase.cxx, cmFindBase.h: ENH: Added
- NO_CMAKE_ENVIRONMENT_PATH, NO_CMAKE_PATH,
- NO_SYSTEM_ENVIRONMENT_PATH, and NO_CMAKE_SYSTEM_PATH options back
- to allow more granularity than NO_DEFAULT_PATH.
-
-2006-03-24 14:15 king
-
- * Modules/Platform/UnixPaths.cmake: BUG: Fix '/use/lib' to be
- '/usr/lib'.
-
-2006-03-24 12:20 martink
-
- * Tests/CustomCommand/: CMakeLists.txt,
- GeneratedHeader/CMakeLists.txt: BUG: fix test to list generate
- dheader
-
-2006-03-24 09:15 hoffman
-
- * Modules/Platform/Darwin.cmake, Source/cmGlobalXCodeGenerator.cxx,
- Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h,
- Source/cmLocalXCodeGenerator.cxx, Source/cmTryCompileCommand.cxx,
- Tests/ExternalOBJ/CMakeLists.txt,
- Tests/ExternalOBJ/Object/CMakeLists.txt,
- Tests/X11/CMakeLists.txt: ENH: add support for universal binaries
-
-2006-03-24 08:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-23 15:35 andy
-
- * Source/CTest/cmCTestBuildAndTestHandler.cxx: COMP: Remove warning
-
-2006-03-23 13:55 martink
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: ENH: removed unused rules from
- targets for VS
-
-2006-03-23 11:19 andy
-
- * Source/cmCTest.cxx: BUG: Fix CTestCustom.ctest file
-
-2006-03-23 10:10 hoffman
-
- * CTestCustom.ctest.in: ENH: try to get rid of warning on HP
-
-2006-03-23 09:56 andy
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: More error handling
-
-2006-03-23 08:13 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-22 17:21 hoffman
-
- * Source/cmExecuteProcessCommand.cxx: ENH: do not dereference empty
- stl vectors
-
-2006-03-22 15:01 martink
-
- * Tests/: Complex/VarTests.cmake,
- Complex/Executable/CMakeLists.txt,
- Complex/Executable/Included.cmake,
- Complex/Executable/complex.cxx, ComplexOneConfig/VarTests.cmake,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/Included.cmake,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/VarTests.cmake,
- ComplexRelativePaths/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/Included.cmake,
- ComplexRelativePaths/Executable/complex.cxx: ENH: added testing
- for new features
-
-2006-03-22 14:45 andy
-
- * Source/cmMakefile.cxx: BUG: Fix logic. If the variable is not
- set, then it is always ok to write the file
-
-2006-03-22 14:40 andy
-
- * Source/: cmAddCustomCommandCommand.cxx,
- cmConfigureFileCommand.cxx, cmExecuteProcessCommand.cxx,
- cmFileCommand.cxx, cmMakeDirectoryCommand.cxx, cmMakefile.cxx,
- cmMakefile.h, cmWriteFileCommand.cxx: ENH: Allow blocking of
- writing into the source tree
-
-2006-03-22 14:06 martink
-
- * Source/: cmGetDirectoryPropertyCommand.h,
- cmGetSourceFilePropertyCommand.cxx,
- cmGetSourceFilePropertyCommand.h, cmIfCommand.cxx, cmIfCommand.h,
- cmMakefile.cxx, cmMakefile.h, cmSourceFile.cxx: ENH: added some
- new functionality
-
-2006-03-22 13:04 andy
-
- * Source/: cmBootstrapCommands.cxx, cmCommands.cxx, cmake.cxx:
- COMP: Fix apple bootstrap issues
-
-2006-03-22 11:14 andy
-
- * Source/cmBootstrapCommands.cxx,
- Modules/CheckCSourceCompiles.cmake,
- Modules/CheckCXXSourceCompiles.cmake, Source/cmCommands.cxx,
- Source/cmWriteFileCommand.cxx: ENH: Cleanup bootstrap even more
-
-2006-03-22 11:10 king
-
- * Modules/Platform/Windows-gcc.cmake, Source/cmLocalGenerator.cxx:
- ENH: Added support for linking to MS .lib libraries in MinGW.
-
-2006-03-22 09:58 andy
-
- * bootstrap, Source/cmMakefile.cxx, Source/cmMakefile.h,
- Source/cmakemain.cxx: ENH: Remove things from bootstrap
-
-2006-03-22 08:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-21 17:47 barre
-
- * Source/kwsys/SystemTools.cxx: ENH: the arguments to this function
- were not checked in a robust way
-
-2006-03-21 16:59 andy
-
- * CMakeLists.txt: ENH: Add flag for MFC
-
-2006-03-21 16:58 andy
-
- * Modules/InstallRequiredSystemLibraries.cmake: ENH: Handle visual
- studio versions
-
-2006-03-21 16:39 andy
-
- * Source/cmCTest.cxx: ENH: Two things. If there is
- CTestCustom.cmake in the toplevel directory read that file only.
- If there is CTestCustom.ctest in the toplevel directory, do the
- glob, if there is none, do nothing
-
-2006-03-21 16:03 andy
-
- * Source/cmFileCommand.cxx, Source/cmFileCommand.h,
- Tests/StringFileTest/CMakeLists.txt: ENH: Add relative tag and
- add test for relative tag
-
-2006-03-21 16:02 andy
-
- * Source/kwsys/: Glob.cxx, Glob.hxx.in: ENH: Add support for
- relative paths and cleanup
-
-2006-03-21 16:01 andy
-
- * Source/cmCTest.cxx: BUG: Handle visual studio 8
-
-2006-03-21 12:56 alex
-
- * Modules/FindKDE3.cmake: BUG: put the path to the kde3 lib dir in
- KDE3_LIB_DIR, not the complete libkdecore.so
-
- Alex
-
-2006-03-21 12:54 andy
-
- * bootstrap, Source/CMakeLists.txt, Source/cmCTest.cxx,
- Source/cmCacheManager.cxx, Source/cmFileCommand.cxx,
- Source/cmFindPathCommand.cxx, Source/cmGlob.cxx, Source/cmGlob.h,
- Source/CTest/cmCTestCoverageHandler.cxx: ENH: Remove cmGlob and
- use glob from kwsys
-
-2006-03-21 08:45 king
-
- * Source/cmLocalGenerator.cxx: ENH: Enabling
- CMAKE_INCLUDE_CURRENT_DIR even for in-source builds to be more
- consistent with its name. This also makes double-quote and
- angle-bracket include styles (almost) identical.
-
-2006-03-21 08:20 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-20 16:24 andy
-
- * Source/CPack/cmCPackPackageMakerGenerator.cxx: ENH: Handle
- unusual path for packagemaker
-
-2006-03-20 12:29 alex
-
- * Modules/: AddFileDependencies.cmake, FindPNG.cmake,
- KDE3Macros.cmake: BUG: don't include MacroLibrary.cmake, but add
- a cmake module which implements ADD_FILE_DEPENDENCIES() ENH: mark
- the variables from FindPNG.cmake as advanced
-
- Alex
-
-2006-03-20 07:55 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-19 07:53 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-18 12:23 hoffman
-
- * CTestCustom.ctest.in: ENH: add more warning stuff
-
-2006-03-18 12:16 alex
-
- * Modules/FindKDE3.cmake: STYLE: fix typos
-
- Alex
-
-2006-03-18 08:59 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-17 16:30 andy
-
- * Source/cmConfigure.cmake.h.in: ENH: Propagate cmake variables to
- macros in C
-
-2006-03-17 16:14 andy
-
- * CMakeLists.txt, Source/CMakeLists.txt, Source/cmSystemTools.cxx:
- ENH: Simplify the test
-
-2006-03-17 15:47 andy
-
- * Source/CMakeLists.txt: COMP: Use the current cmake's
- CheckCXXSourceCompiles
-
-2006-03-17 15:46 andy
-
- * Source/: CMakeLists.txt, cmSystemTools.cxx, cmSystemTools.h,
- cmake.cxx: ENH: Handle missing unsetenv and add check for environ
-
-2006-03-17 15:33 hoffman
-
- * Source/cmSystemTools.cxx: ENH: make cmake compile
-
-2006-03-17 12:31 andy
-
- * Source/cmSystemTools.cxx: COMP: Fix windows
-
-2006-03-17 12:24 andy
-
- * Source/cmSystemTools.cxx: COMP: Handle windows with hack for now
-
-2006-03-17 12:06 malaterre
-
- * Source/kwsys/: Directory.cxx, Directory.hxx.in, SystemTools.cxx,
- SystemTools.hxx.in: ENH: Use const char where it should have
- been. At same time fix Bug#2958
-
-2006-03-17 11:44 andy
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Add a method to
- remove environment variables
-
-2006-03-17 11:14 andy
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h, cmake.cxx: ENH: Use
- vector of plain strings and add cmake -E command for getting
- environment
-
-2006-03-17 10:58 andy
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Add access for
- all environment variables
-
-2006-03-17 09:32 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-16 18:24 king
-
- * Source/cmGlobalGenerator.cxx: BUG: When generating the install
- rules for CMake itself the per-configuration subdirectory must be
- used to specify the executable location.
-
-2006-03-16 17:49 hoffman
-
- * Source/: cmFindBase.cxx, cmFindBase.h: ENH: clean up find stuff
- so that NO_SYSTEM_PATH is backwards compatible and you get put
- system env variables in the find commands
-
-2006-03-16 17:40 king
-
- * Modules/Platform/Windows-cl.cmake: BUG: /DWIN32 and /D_WINDOWS
- should be defined for all configurations or if no configuration
- is set.
-
-2006-03-16 17:26 king
-
- * Source/kwsys/auto_ptr.hxx.in: COMP: Skip trying to use native
- auto_ptr implementation and just provide a conforming one.
-
-2006-03-16 17:20 king
-
- * Tests/: Complex/cmTestConfigure.h.in,
- Complex/Executable/complex.cxx,
- ComplexOneConfig/cmTestConfigure.h.in,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/cmTestConfigure.h.in,
- ComplexRelativePaths/Executable/complex.cxx: BUG: Removed
- compiled-in CMAKE_SHARED_MODULE_PREFIX and
- CMAKE_SHARED_MODULE_SUFFIX for loaded commands in favor of using
- the settings from the platform files.
-
-2006-03-16 17:09 king
-
- * Source/: cmConfigure.cmake.h.in, cmDynamicLoader.cxx,
- cmDynamicLoader.h, cmLoadCommandCommand.cxx: BUG: Removed
- compiled-in CMAKE_SHARED_MODULE_PREFIX and
- CMAKE_SHARED_MODULE_SUFFIX for loaded commands in favor of using
- the settings from the platform files.
-
-2006-03-16 17:07 king
-
- * Modules/CMakeSystemSpecificInformation.cmake: BUG: When copying
- the module variables from shared library variables use double
- quotes for the required definitions ...PREFIX and ...SUFFIX to
- make sure a value is set even if it is empty.
-
-2006-03-16 16:04 king
-
- * Source/cmExportLibraryDependencies.cxx: COMP: Using KWSys
- auto_ptr to avoid cross-platform problems.
-
-2006-03-16 16:04 king
-
- * Source/kwsys/: CMakeLists.txt, auto_ptr.hxx.in: ENH: Adding
- auto_ptr to KWSys to provide a conforming version everywhere.
-
-2006-03-16 15:53 alex
-
- * Modules/FindKDE4.cmake: ENH: after searching for kde-config in
- the special dirs, search again in the standard dirs BUG: handle
- paths on windows correctly
-
- Alex
-
-2006-03-16 15:50 king
-
- * Source/cmExportLibraryDependencies.cxx: COMP: Fix for auto_ptr
- usage on VC6's broken implementation.
-
-2006-03-16 14:51 king
-
- * Source/cmLocalGenerator.cxx: BUG: Fixed generation of mismatched
- IF in install script. This bug was introduced during the m_
- sweep.
-
-2006-03-16 14:44 king
-
- * Source/: cmCommandArgumentParser.cxx, cmCommandArgumentParser.y:
- COMP: Fix malloc/free declaration for windows compilers.
-
-2006-03-16 14:14 king
-
- * Source/cmExportLibraryDependencies.cxx: BUG: Do not leak the
- ofstream object in append mode. Just use an auto_ptr for both
- cases.
-
-2006-03-16 11:57 king
-
- * Source/: cmCommandArgumentParser.cxx, cmCommandArgumentParser.y,
- cmCommandArgumentParserTokens.h: ENH: Using patch from Frans
- Englich to clarify error messages.
-
-2006-03-16 11:34 andy
-
- * Source/CTest/cmCTestTestHandler.h: COMP: Make members protected
- so that subclass can use them
-
-2006-03-16 11:29 andy
-
- * Source/CTest/: cmCTestMemCheckHandler.cxx,
- cmCTestTestHandler.cxx: BUG: Couple of memcheck bugs: Log files
- should really be different for test and memcheck. Also make sure
- to not trunkate the output of the test until the valgrind or any
- other checking is pefrormed.
-
-2006-03-16 11:28 hoffman
-
- * Source/CursesDialog/cmCursesMainForm.cxx: ENH: not all messages
- are errors
-
-2006-03-16 11:27 hoffman
-
- * Source/cmOrderLinkDirectories.cxx: ENH: don't put the default
- framework path in a -F option
-
-2006-03-16 11:21 andy
-
- * Source/kwsys/DynamicLoader.hxx.in: COMP: Fix problem with
- namespace
-
-2006-03-16 11:15 king
-
- * Modules/Platform/FreeBSD.cmake: ENH: Enabling soname support on
- FreeBSD.
-
-2006-03-16 11:01 andy
-
- * Source/cmDynamicLoader.cxx, Source/cmDynamicLoader.h,
- Source/cmLoadCommandCommand.cxx, Source/cmSystemTools.cxx,
- Source/cmakemain.cxx, Source/kwsys/DynamicLoader.cxx,
- Source/kwsys/DynamicLoader.hxx.in,
- Source/kwsys/testDynamicLoader.cxx, Source/kwsys/testDynload.c,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: Cleanup
- DynamicLoader so that the symbols have more consistent names,
- start using dynamic loader from kwsys in CMake
-
-2006-03-16 10:53 martink
-
- * Source/: cmGlobalGenerator.h, cmLocalVisualStudio7Generator.h,
- cmLocalXCodeGenerator.h, cmMakefile.h: STYLE: minor comment
- cleanups
-
-2006-03-16 10:44 martink
-
- * Source/CursesDialog/: cmCursesBoolWidget.cxx,
- cmCursesCacheEntryComposite.cxx, cmCursesCacheEntryComposite.h,
- cmCursesDummyWidget.cxx, cmCursesFilePathWidget.cxx,
- cmCursesForm.cxx, cmCursesForm.h, cmCursesLabelWidget.cxx,
- cmCursesLongMessageForm.cxx, cmCursesLongMessageForm.h,
- cmCursesMainForm.cxx, cmCursesMainForm.h, cmCursesPathWidget.cxx,
- cmCursesPathWidget.h, cmCursesStringWidget.cxx,
- cmCursesStringWidget.h, cmCursesWidget.cxx, cmCursesWidget.h:
- ENH: m_ cleanup for curses
-
-2006-03-16 09:33 martink
-
- * Source/: cmAddTestCommand.h, cmData.h, cmDependsC.cxx,
- cmDependsC.h, cmStandardIncludes.h, cmUseMangledMesaCommand.h,
- cmVariableRequiresCommand.h: ENH: a warning fix and some more
- cleanup
-
-2006-03-16 09:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-15 16:32 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: fix warning
-
-2006-03-15 14:14 hoffman
-
- * Modules/Platform/IRIX64.cmake: ENH: use c not cxx
-
-2006-03-15 13:20 alex
-
- * Modules/UsePkgConfig.cmake: BUG: change the formatting of the
- pkgconfig module documentation so that it doesn't crash some
- versions of konqueror (fixed with current konqy)
-
- Alex
-
-2006-03-15 12:02 hoffman
-
- * Source/: cmGlobalXCode21Generator.cxx,
- cmGlobalXCodeGenerator.cxx, cmake.cxx: ENH: fix up this changes
- for mac
-
-2006-03-15 11:38 martink
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmMakeDepend.cxx,
- cmMakeDepend.h, cmXCodeObject.cxx, cmXCodeObject.h: BUG: some
- UNIX fixes for my m_ commit
-
-2006-03-15 11:26 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-15 11:01 martink
-
- * Source/: cmAddCustomCommandCommand.cxx,
- cmAddCustomTargetCommand.cxx, cmAddDefinitionsCommand.cxx,
- cmAddDependenciesCommand.cxx, cmAddExecutableCommand.cxx,
- cmAddLibraryCommand.cxx, cmAddLibraryCommand.h,
- cmAddSubDirectoryCommand.cxx, cmAddTestCommand.cxx,
- cmAuxSourceDirectoryCommand.cxx, cmBuildCommand.cxx,
- cmBuildNameCommand.cxx, cmCMakeMinimumRequired.cxx,
- cmCPluginAPI.cxx, cmCTest.cxx, cmCTest.h, cmCacheManager.cxx,
- cmCacheManager.h, cmCommand.h, cmCommandArgumentLexer.cxx,
- cmCommandArgumentParserHelper.cxx,
- cmCommandArgumentParserHelper.h, cmConfigureFileCommand.cxx,
- cmConfigureFileCommand.h, cmCreateTestSourceList.cxx,
- cmCustomCommand.cxx, cmCustomCommand.h, cmDepends.cxx,
- cmDepends.h, cmDependsC.cxx, cmDependsC.h, cmDependsFortran.cxx,
- cmDependsFortran.h, cmDependsFortranLexer.cxx,
- cmDependsJavaLexer.cxx, cmDynamicLoader.cxx,
- cmEnableLanguageCommand.cxx, cmEnableTestingCommand.cxx,
- cmEndIfCommand.cxx, cmExecProgramCommand.cxx,
- cmExecuteProcessCommand.cxx, cmExportLibraryDependencies.cxx,
- cmExportLibraryDependencies.h, cmExprLexer.cxx,
- cmExprParserHelper.cxx, cmExprParserHelper.h,
- cmFLTKWrapUICommand.cxx, cmFLTKWrapUICommand.h,
- cmFileCommand.cxx, cmFileTimeComparison.cxx,
- cmFileTimeComparison.h, cmFindBase.cxx, cmFindLibraryCommand.cxx,
- cmFindPackageCommand.cxx, cmFindPathCommand.cxx,
- cmFindProgramCommand.cxx, cmForEachCommand.cxx,
- cmForEachCommand.h, cmGeneratedFileStream.cxx,
- cmGeneratedFileStream.h, cmGetCMakePropertyCommand.cxx,
- cmGetDirectoryPropertyCommand.cxx,
- cmGetFilenameComponentCommand.cxx,
- cmGetSourceFilePropertyCommand.cxx,
- cmGetTargetPropertyCommand.cxx, cmGetTestPropertyCommand.cxx,
- cmGlob.cxx, cmGlob.h, cmGlobalBorlandMakefileGenerator.cxx,
- cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalKdevelopGenerator.cxx, cmGlobalMSYSMakefileGenerator.cxx,
- cmGlobalMinGWMakefileGenerator.cxx,
- cmGlobalNMakeMakefileGenerator.cxx,
- cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio71Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h,
- cmGlobalVisualStudio8Generator.cxx,
- cmGlobalWatcomWMakeGenerator.cxx, cmGlobalXCode21Generator.cxx,
- cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h,
- cmIfCommand.cxx, cmIfCommand.h, cmIncludeCommand.cxx,
- cmIncludeDirectoryCommand.cxx,
- cmIncludeExternalMSProjectCommand.cxx,
- cmIncludeRegularExpressionCommand.cxx, cmInstallCommand.cxx,
- cmInstallFilesCommand.cxx, cmInstallFilesCommand.h,
- cmInstallProgramsCommand.cxx, cmInstallProgramsCommand.h,
- cmInstallTargetGenerator.cxx, cmInstallTargetsCommand.cxx,
- cmLinkDirectoriesCommand.cxx, cmLinkLibrariesCommand.cxx,
- cmListCommand.cxx, cmListFileCache.cxx, cmListFileCache.h,
- cmLoadCacheCommand.cxx, cmLoadCommandCommand.cxx,
- cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio6Generator.h,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h, cmMacroCommand.cxx,
- cmMacroCommand.h, cmMakeDepend.cxx, cmMakeDepend.h,
- cmMakefile.cxx, cmMakefile.h,
- cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx, cmMakefileTargetGenerator.h,
- cmMarkAsAdvancedCommand.cxx, cmMathCommand.cxx,
- cmMessageCommand.cxx, cmOptionCommand.cxx,
- cmOrderLinkDirectories.cxx, cmOrderLinkDirectories.h,
- cmOutputRequiredFilesCommand.cxx, cmOutputRequiredFilesCommand.h,
- cmProjectCommand.cxx, cmQTWrapCPPCommand.cxx,
- cmQTWrapCPPCommand.h, cmQTWrapUICommand.cxx, cmQTWrapUICommand.h,
- cmRemoveCommand.cxx, cmRemoveDefinitionsCommand.cxx,
- cmSeparateArgumentsCommand.cxx, cmSetCommand.cxx,
- cmSetDirectoryPropertiesCommand.cxx,
- cmSetSourceFilesPropertiesCommand.cxx,
- cmSetTargetPropertiesCommand.cxx,
- cmSetTestsPropertiesCommand.cxx, cmSiteNameCommand.cxx,
- cmSourceFile.cxx, cmSourceFile.h, cmSourceGroup.cxx,
- cmSourceGroup.h, cmSourceGroupCommand.cxx, cmStringCommand.cxx,
- cmSubdirCommand.cxx, cmTarget.cxx, cmTarget.h,
- cmTargetLinkLibrariesCommand.cxx, cmTargetLinkLibrariesCommand.h,
- cmTest.cxx, cmTest.h, cmTryCompileCommand.cxx,
- cmTryRunCommand.cxx, cmUtilitySourceCommand.cxx,
- cmVTKMakeInstantiatorCommand.cxx, cmVTKMakeInstantiatorCommand.h,
- cmVTKWrapJavaCommand.cxx, cmVTKWrapJavaCommand.h,
- cmVTKWrapPythonCommand.cxx, cmVTKWrapPythonCommand.h,
- cmVTKWrapTclCommand.cxx, cmVTKWrapTclCommand.h,
- cmVariableRequiresCommand.cxx, cmVariableWatch.cxx,
- cmVariableWatch.h, cmWhileCommand.cxx, cmWhileCommand.h,
- cmWin32ProcessExecution.cxx, cmWin32ProcessExecution.h,
- cmWriteFileCommand.cxx, cmXCode21Object.cxx, cmXCodeObject.cxx,
- cmXCodeObject.h, cmake.cxx, cmake.h, cmakemain.cxx,
- cmakewizard.cxx, cmakewizard.h, CTest/cmCTestBuildCommand.cxx,
- CTest/cmCTestConfigureCommand.cxx,
- CTest/cmCTestCoverageCommand.cxx,
- CTest/cmCTestHandlerCommand.cxx,
- CTest/cmCTestMemCheckCommand.cxx, CTest/cmCTestStartCommand.cxx,
- CTest/cmCTestSubmitCommand.cxx, CTest/cmCTestTestCommand.cxx,
- CTest/cmCTestTestHandler.cxx, CTest/cmCTestUpdateCommand.cxx:
- STYLE: some m_ to this-> cleanup
-
-2006-03-15 09:23 andy
-
- * Source/CTest/cmCTestUpdateHandler.cxx: ENH: Add svn cleanup
- before running svn
-
-2006-03-15 09:22 andy
-
- * Source/CPack/cmCPackGenericGenerator.cxx: ENH: Allow multiple
- install directories
-
-2006-03-14 16:38 hoffman
-
- * Modules/FindOpenGL.cmake: ENH: go back to finding the framework
- opengl on the mac
-
-2006-03-14 15:19 hoffman
-
- * Modules/FindOpenGL.cmake: ENH: use standard include path for
- OpenGL
-
-2006-03-14 14:03 hoffman
-
- * Modules/Platform/Darwin.cmake,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.cxx,
- Source/cmMakefileTargetGenerator.h: ENH: add support for removing
- language flags from shared library and shared module link
- commands
-
-2006-03-14 11:35 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Fixed object file
- name construction to use Convert method for relative path
- conversion. Also fixed test of result to check explicitly for a
- full path.
-
-2006-03-14 10:14 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Avoid full paths
- and spaces when constructing object file names.
-
-2006-03-14 09:37 king
-
- * Source/cmMakefile.cxx: BUG: Clarified confusing error message.
-
-2006-03-14 02:31 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-13 16:45 andy
-
- * Source/CPack/cmCPackGenericGenerator.h: STYLE: Fix style checker
-
-2006-03-13 15:57 malaterre
-
- * Source/kwsys/testDynamicLoader.cxx: COMP: Fix warning
-
-2006-03-13 15:19 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: Introducing new
- policy to construct more unique object file names. This should
- allow multiple sources with the same file name but different FULL
- paths to be added to a single target.
-
-2006-03-13 14:39 malaterre
-
- * Source/kwsys/: DynamicLoader.cxx, testDynamicLoader.cxx: BUG: Fix
- problem on MacOSX, by disabling part of the test.
-
-2006-03-13 13:11 hoffman
-
- * Modules/VTKCompatibility.cmake: ENH: add backwards compatibility
- fix for more aggressive find_path command
-
-2006-03-13 11:27 malaterre
-
- * Source/kwsys/DynamicLoader.cxx: ENH: Fix dashboard with coverage
-
-2006-03-13 10:49 malaterre
-
- * Source/kwsys/CMakeLists.txt: ENH: Do not build the library if we
- are not doing Testing
-
-2006-03-13 10:27 malaterre
-
- * Source/kwsys/testDynamicLoader.cxx: ENH: Make test usable from
- command line
-
-2006-03-13 02:31 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-12 10:03 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: remove warning
-
-2006-03-12 09:43 hoffman
-
- * Source/CMakeLists.txt: ENH: remove test until it works
-
-2006-03-12 02:26 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-11 12:43 hoffman
-
- * Modules/FindOpenGL.cmake: ENH: take advantage of new framework
- stuff
-
-2006-03-11 11:53 hoffman
-
- * Source/cmake.cxx: ENH: remove print
-
-2006-03-11 11:52 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: try to clean up the search for
- programs
-
-2006-03-11 10:09 malaterre
-
- * Source/kwsys/DynamicLoader.cxx: BUG: Fix for MINGW32
-
-2006-03-11 09:59 malaterre
-
- * Source/kwsys/DynamicLoader.cxx: ENH: Add support for LastError on
- HPUX
-
-2006-03-11 09:47 malaterre
-
- * Source/kwsys/DynamicLoader.cxx: ENH: Also look into data segment
- (consistant with other implementation)
-
-2006-03-11 02:33 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-10 17:37 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: undo last change because it
- broke the dashboard
-
-2006-03-10 16:53 hoffman
-
- * Source/: cmFileCommand.cxx, cmFileCommand.h: ENH: add a new FILE
- SYSTEM_PATH that allows you to read a environment variable with a
- path in it.
-
-2006-03-10 16:52 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: fix find program to look for
- .com and .exe correctly and not return files with no extension on
- windows
-
-2006-03-10 16:03 malaterre
-
- * Source/kwsys/: DynamicLoader.hxx.in, SystemTools.hxx.in: ENH: Add
- documentation on the problem with system wide path for looking up
- dynamic libraries. STYLE: Fix trailing white spaces
-
-2006-03-10 15:42 malaterre
-
- * Source/kwsys/testDynamicLoader.cxx: BUG: Need a / for Visual
- Studio build
-
-2006-03-10 15:38 malaterre
-
- * Source/kwsys/: testDynamicLoader.cxx, testSystemTools.h.in: BUG:
- Do the proper path
-
-2006-03-10 15:12 malaterre
-
- * Source/kwsys/testDynamicLoader.cxx: BUG: Need a trailing slash
-
-2006-03-10 15:08 malaterre
-
- * Source/kwsys/: CMakeLists.txt, testDynamicLoader.cxx,
- testSystemTools.h.in: BUG: Fix problem with in the path
-
-2006-03-10 15:03 andy
-
- * Source/: cmCTest.cxx, cmCTest.h,
- CTest/cmCTestBuildAndTestHandler.cxx,
- CTest/cmCTestBuildAndTestHandler.h,
- CTest/cmCTestBuildCommand.cxx, CTest/cmCTestBuildCommand.h,
- CTest/cmCTestBuildHandler.cxx, CTest/cmCTestBuildHandler.h,
- CTest/cmCTestCommand.h, CTest/cmCTestConfigureCommand.cxx,
- CTest/cmCTestConfigureCommand.h,
- CTest/cmCTestConfigureHandler.cxx,
- CTest/cmCTestCoverageCommand.cxx, CTest/cmCTestCoverageCommand.h,
- CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestCoverageHandler.h,
- CTest/cmCTestEmptyBinaryDirectoryCommand.h,
- CTest/cmCTestGenericHandler.cxx, CTest/cmCTestGenericHandler.h,
- CTest/cmCTestHandlerCommand.cxx, CTest/cmCTestHandlerCommand.h,
- CTest/cmCTestMemCheckCommand.cxx, CTest/cmCTestMemCheckCommand.h,
- CTest/cmCTestMemCheckHandler.cxx, CTest/cmCTestMemCheckHandler.h,
- CTest/cmCTestRunScriptCommand.cxx,
- CTest/cmCTestRunScriptCommand.h, CTest/cmCTestScriptHandler.cxx,
- CTest/cmCTestScriptHandler.h, CTest/cmCTestSleepCommand.cxx,
- CTest/cmCTestSleepCommand.h, CTest/cmCTestStartCommand.cxx,
- CTest/cmCTestStartCommand.h, CTest/cmCTestSubmitCommand.cxx,
- CTest/cmCTestSubmitCommand.h, CTest/cmCTestSubmitHandler.cxx,
- CTest/cmCTestSubmitHandler.h, CTest/cmCTestTestCommand.cxx,
- CTest/cmCTestTestCommand.h, CTest/cmCTestTestHandler.cxx,
- CTest/cmCTestTestHandler.h, CTest/cmCTestUpdateCommand.cxx,
- CTest/cmCTestUpdateCommand.h, CTest/cmCTestUpdateHandler.cxx,
- CTest/cmCTestUpdateHandler.h: STYLE: Fix some style issues
-
-2006-03-10 14:53 malaterre
-
- * Source/kwsys/: CMakeLists.txt, testDynamicLoader.cxx,
- testSystemTools.h.in: BUG: Trying to get testDynamicLoader to
- work on Solaris and SunOS, where current directory is not lookup
- when doing dlopen
-
-2006-03-10 13:54 hoffman
-
- * Source/: cmCommandArgumentLexer.h,
- cmDependsFortranParserTokens.h, cmDependsJavaLexer.h,
- cmDependsJavaParserHelper.h, cmDependsJavaParserTokens.h,
- cmExecProgramCommand.h, cmExprLexer.h, cmExprParserTokens.h,
- cmFLTKWrapUICommand.h, cmFileCommand.h, cmFindBase.h,
- cmGlobalBorlandMakefileGenerator.h, cmGlobalGenerator.h,
- cmGlobalMSYSMakefileGenerator.h,
- cmGlobalMinGWMakefileGenerator.h,
- cmGlobalNMakeMakefileGenerator.h,
- cmGlobalUnixMakefileGenerator3.h,
- cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio71Generator.h,
- cmGlobalVisualStudio7Generator.h, cmGlobalWatcomWMakeGenerator.h,
- cmGlobalXCodeGenerator.h, cmListCommand.h, cmLocalGenerator.h,
- cmLocalUnixMakefileGenerator3.h, cmSourceFile.cxx,
- cmStringCommand.cxx, cmSystemTools.cxx, cmTarget.cxx,
- cmTargetLinkLibrariesCommand.cxx, cmTryCompileCommand.cxx,
- cmTryRunCommand.cxx, cmUseMangledMesaCommand.cxx,
- cmUtilitySourceCommand.cxx, cmVTKMakeInstantiatorCommand.cxx,
- cmVTKWrapJavaCommand.cxx, cmVTKWrapPythonCommand.cxx,
- cmVTKWrapTclCommand.cxx, cmVariableRequiresCommand.cxx,
- cmVariableWatch.cxx, cmVariableWatch.h, cmWhileCommand.cxx,
- cmWin32ProcessExecution.cxx, cmXCode21Object.cxx,
- cmXCodeObject.cxx, cmakemain.cxx: STYLE: fix line lengths
-
-2006-03-10 13:34 malaterre
-
- * Source/kwsys/SystemTools.cxx: STYLE: Remove trailing whitespaces
-
-2006-03-10 13:34 malaterre
-
- * Source/kwsys/: CMakeLists.txt, DynamicLoader.cxx: BUG: Fix
- DynamicLoader implementation on MacOSX (using old API)
-
-2006-03-10 13:33 malaterre
-
- * Source/kwsys/SystemTools.cxx: ENH: Add trailing whitespace
-
-2006-03-10 13:06 andy
-
- * Source/: cmAddCustomCommandCommand.cxx,
- cmAddCustomTargetCommand.cxx, cmAddDefinitionsCommand.cxx,
- cmAddDefinitionsCommand.h, cmAddDependenciesCommand.cxx,
- cmAddExecutableCommand.h, cmBuildCommand.cxx,
- cmBuildNameCommand.h, cmCMakeMinimumRequired.cxx,
- cmCPluginAPI.cxx, cmCPluginAPI.h, cmCacheManager.cxx,
- cmCommandArgumentParser.cxx, cmCommandArgumentParserHelper.h,
- cmCommandArgumentParserTokens.h, cmCreateTestSourceList.cxx,
- cmCustomCommand.cxx, cmDependsC.cxx, cmDependsC.h,
- cmDependsFortranLexer.cxx, cmDependsFortranLexer.h,
- cmLocalVisualStudio7Generator.cxx, cmMacroCommand.cxx,
- cmMacroCommand.h, cmMakeDepend.cxx, cmake.cxx, cmakewizard.cxx,
- CPack/cmCPackGenerators.cxx, CPack/cmCPackGenerators.h,
- CPack/cmCPackGenericGenerator.cxx,
- CPack/cmCPackGenericGenerator.h, CPack/cmCPackLog.cxx,
- CPack/cmCPackLog.h, CPack/cmCPackNSISGenerator.cxx,
- CPack/cmCPackNSISGenerator.h,
- CPack/cmCPackPackageMakerGenerator.cxx,
- CPack/cmCPackSTGZGenerator.cxx, CPack/cmCPackSTGZGenerator.h,
- CPack/cmCPackTGZGenerator.cxx, CPack/cmCPackTGZGenerator.h,
- CPack/cpack.cxx: STYLE: Fix some style issues
-
-2006-03-10 12:47 andy
-
- * Source/CPack/cmCPackPackageMakerGenerator.cxx: STYLE: Cleanup
- trailing spaces
-
-2006-03-10 12:01 malaterre
-
- * Source/kwsys/: Glob.cxx, Registry.cxx, RegularExpression.cxx,
- testCommandLineArguments.cxx: STYLE: Make sure to use the proper
- cast.
-
-2006-03-10 11:58 alex
-
- * Modules/FindKDE4.cmake: ENH: new module to find the
- FindKDE4Internal.cmake installed by kdelibs4
-
- Alex
-
-2006-03-10 11:57 malaterre
-
- * Source/kwsys/: DynamicLoader.cxx, testDynamicLoader.cxx: ENH:
- Make sure that we find the proper symbol and not the one that
- start with _. STYLE: Remove an old style cast
-
-2006-03-10 11:32 malaterre
-
- * Source/kwsys/: DynamicLoader.cxx, testDynamicLoader.cxx: ENH:
- Hopefully have the DynamicLoader to the proper thing.
-
-2006-03-10 11:13 hoffman
-
- * Source/: cmCacheManager.h, cmLocalVisualStudio7Generator.h,
- cmMakeDepend.h, cmMakefile.h, cmOutputRequiredFilesCommand.h,
- cmProjectCommand.h, cmRemoveDefinitionsCommand.h,
- cmSetTestsPropertiesCommand.h, cmSourceGroup.h,
- cmStandardIncludes.h, cmStringCommand.h, cmSubdirCommand.h,
- cmSystemTools.h, cmTarget.h, cmTryCompileCommand.h,
- cmVariableWatch.h, cmXCode21Object.h, cmake.h: ENH: fix line
- length style stuff
-
-2006-03-10 11:12 hoffman
-
- * Source/cmFindBase.cxx: ENH: avoid adding junk into paths
-
-2006-03-10 10:28 malaterre
-
- * Source/kwsys/testDynamicLoader.cxx: BUG: Make sure to have proper
- dependencies
-
-2006-03-10 10:26 hoffman
-
- * Source/kwsys/CMakeLists.txt: ENH: use CMAKE_DL_LIBS and not dl
- directly as it does not always exist
-
-2006-03-10 10:23 malaterre
-
- * Source/kwsys/CMakeLists.txt: COMP: Fix cygwin build
-
-2006-03-10 10:19 malaterre
-
- * Source/kwsys/testDynload.c: COMP: Fix compilation on MacOSX
- (common symbols not allowed with MH_DYLIB output format)
-
-2006-03-10 10:12 andy
-
- * Source/CMakeLists.txt, Tests/BundleTest/CMakeLists.txt: ENH: Add
- package to bundle test
-
-2006-03-10 10:07 andy
-
- * Source/kwsys/testDynamicLoader.cxx: COMP: Add missing include
-
-2006-03-10 02:32 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-09 17:16 malaterre
-
- * Source/kwsys/testDynload.c: BUG: Remove comment
-
-2006-03-09 17:15 malaterre
-
- * Source/kwsys/: testDynamicLoader.cxx, testDynload.c: ENH: remove
- test temporarily
-
-2006-03-09 17:08 malaterre
-
- * Source/kwsys/: CMakeLists.txt, testDynamicLoader.cxx: ENH: Still
- more coverage of the DynamicLoader
-
-2006-03-09 17:06 malaterre
-
- * Source/kwsys/testDynload.c: ENH: Add a file to generate the lib
-
-2006-03-09 16:40 malaterre
-
- * Source/kwsys/testDynamicLoader.cxx: ENH: Improve test coverage
-
-2006-03-09 16:40 malaterre
-
- * Source/kwsys/: Registry.cxx, Registry.hxx.in: STYLE: Minor style
-
-2006-03-09 15:55 king
-
- * CMakeLists.txt: ENH: Updated patch level to 4 for special KDE
- release.
-
-2006-03-09 15:47 hoffman
-
- * Source/: cmCacheManager.cxx, cmCacheManager.h: ENH: if
- CMakeCache.txt has been removed, then automatically remove
- CMakefiles/*.cmake
-
-2006-03-09 15:00 hoffman
-
- * Modules/Platform/AIX.cmake: ENH: add correct initial flags for
- aix
-
-2006-03-09 14:57 hoffman
-
- * Modules/Platform/Darwin.cmake: ENH: remove junk
-
-2006-03-09 14:41 malaterre
-
- * Source/kwsys/CMakeLists.txt: ENH: Carefully turn testing of
- DynamicLib on
-
-2006-03-09 14:36 malaterre
-
- * Source/kwsys/: Directory.cxx, testSystemTools.cxx,
- DynamicLoader.cxx: STYLE: Minor style
-
-2006-03-09 14:35 malaterre
-
- * Source/kwsys/testDynamicLoader.cxx: ENH: Adding initial test for
- DynamicLoader
-
-2006-03-09 14:30 hoffman
-
- * Source/: cmFileCommand.cxx, cmFileCommand.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h,
- cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx: ENH: use a cmake script to do the
- clean step, this allows for large numbers of files to be removed
- without making the command line too long
-
-2006-03-09 14:10 alex
-
- * Modules/: FindKDE.cmake, FindKDE3.cmake, KDE3Macros.cmake,
- kde3init_dummy.cpp.in, kde3uic.cmake: ENH: add real-world-tested
- and used KDE3 support, and obsolete FindKDE.cmake, which wasn't
- used by anybody that I heard of
-
- Alex
-
-2006-03-09 11:57 andy
-
- * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx: STYLE: Fix some style
- issues
-
-2006-03-09 11:35 hoffman
-
- * Modules/FindTCL.cmake, Source/cmFindPathCommand.cxx: ENH: fix a
- bug in the find path stuff so that it can find headers deep in
- frameworks
-
-2006-03-09 11:17 andy
-
- * Source/CTest/: cmCTestBuildAndTestHandler.cxx,
- cmCTestBuildCommand.cxx, cmCTestBuildHandler.cxx,
- cmCTestBuildHandler.h, cmCTestConfigureCommand.cxx,
- cmCTestConfigureCommand.h, cmCTestConfigureHandler.cxx,
- cmCTestConfigureHandler.h, cmCTestCoverageCommand.cxx,
- cmCTestCoverageCommand.h, cmCTestCoverageHandler.cxx,
- cmCTestCoverageHandler.h, cmCTestEmptyBinaryDirectoryCommand.h,
- cmCTestGenericHandler.cxx, cmCTestGenericHandler.h,
- cmCTestHandlerCommand.cxx, cmCTestHandlerCommand.h,
- cmCTestMemCheckCommand.h, cmCTestMemCheckHandler.cxx,
- cmCTestRunScriptCommand.cxx, cmCTestScriptHandler.cxx,
- cmCTestStartCommand.cxx, cmCTestStartCommand.h,
- cmCTestSubmitCommand.cxx, cmCTestSubmitCommand.h,
- cmCTestSubmitHandler.cxx, cmCTestTestCommand.cxx,
- cmCTestTestHandler.cxx, cmCTestTestHandler.h,
- cmCTestUpdateCommand.cxx, cmCTestUpdateCommand.h,
- cmCTestUpdateHandler.cxx: STYLE: Fix some style issues
-
-2006-03-09 09:53 andy
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Fix problem on
- Wacom system with global symbolic targets
-
-2006-03-09 08:32 andy
-
- * Source/CPack/: cmCPackGenericGenerator.cxx,
- cmCPackPackageMakerGenerator.cxx, cpack.cxx: STYLE: Fix style
- problems
-
-2006-03-09 08:20 andy
-
- * Utilities/: cmcurl/formdata.c, cmtar/libtar.h: COMP: Remove win64
- warnings
-
-2006-03-09 02:41 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-08 18:16 hoffman
-
- * Source/cmFindProgramCommand.cxx: ENH: make sure system path is
- not added unless asked for
-
-2006-03-08 17:11 alex
-
- * Modules/UsePkgConfig.cmake: ENH: add a cmake module for using
- pkg-config, tested in kdelibs, ok by Bill Hoffman
-
- Alex
-
-2006-03-08 16:33 andy
-
- * Source/CPack/: cmCPackGenerators.cxx, cmCPackGenerators.h,
- cmCPackGenericGenerator.cxx, cmCPackGenericGenerator.h,
- cmCPackLog.cxx, cmCPackLog.h, cmCPackNSISGenerator.cxx,
- cmCPackNSISGenerator.h, cmCPackPackageMakerGenerator.cxx,
- cmCPackPackageMakerGenerator.h, cmCPackSTGZGenerator.cxx,
- cmCPackSTGZGenerator.h, cmCPackTGZGenerator.cxx,
- cmCPackTGZGenerator.h, cpack.cxx: STYLE: Lots of formating to
- remove style problems
-
-2006-03-08 14:02 andy
-
- * Source/CMakeLists.txt, Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstall/InstallScript2.cmake,
- Tests/SimpleInstall/TestSubDir/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt,
- Tests/SimpleInstallS2/InstallScript2.cmake,
- Tests/SimpleInstallS2/TestSubDir/CMakeLists.txt: ENH: Add
- additional subdirectory to improve testing and to allow cleanup
- when testing cpack
-
-2006-03-08 13:59 andy
-
- * Source/CPack/cmCPackPackageMakerGenerator.cxx: BUG: Handle
- version with multiple dots
-
-2006-03-08 13:20 andy
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: COMP: Ok, fix typo
-
-2006-03-08 13:13 andy
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ENH: Add testing for cpack
-
-2006-03-08 13:06 king
-
- * Source/kwsys/ProcessUNIX.c: ENH: Enabled process tree killing on
- AIX.
-
-2006-03-08 12:42 king
-
- * Source/kwsys/ProcessUNIX.c: ENH: Enabled process tree killing on
- the SGI.
-
-2006-03-08 12:36 king
-
- * Source/kwsys/ProcessUNIX.c: ENH: Enabled process tree killing for
- FreeBSD and Sun.
-
-2006-03-08 12:12 king
-
- * Source/kwsys/ProcessUNIX.c: ENH: Enabled process tree killing on
- HP-UX.
-
-2006-03-08 11:57 king
-
- * Source/kwsys/ProcessUNIX.c: BUG: Do not leak ps FILE when the
- process starts but reading the header fails.
-
-2006-03-08 11:39 king
-
- * Source/kwsys/testProcess.c: ENH: Added a way to quickly enable
- manual testing of grandchild killing.
-
-2006-03-08 11:38 king
-
- * Source/kwsys/ProcessUNIX.c: ENH: Added implementation of process
- tree killing that runs "ps" to traverse the tree.
-
-2006-03-08 10:52 andy
-
- * Source/: cmListFileCache.cxx, cmListFileCache.h: BUG: Remove some
- old legacy code and remove memory leak
-
-2006-03-08 09:16 malaterre
-
- * Source/kwsys/: DynamicLoader.cxx, DynamicLoader.hxx.in: BUG:
- Including file within a namespace{} is dangerous(unless symbols
- are within an extern C). Also update documentation about special
- case for MacOSX
-
-2006-03-08 02:43 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-07 19:52 hoffman
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ENH: remove cpack stuff for now
- so that we can get mac dashboards again
-
-2006-03-07 15:31 andy
-
- * CMakeGraphVizOptions.cmake, Source/cmake.cxx: ENH: Add a way to
- overwrite some preferences and ignore certain targets
-
-2006-03-07 14:46 king
-
- * Source/cmake.cxx: ENH: Add CMAKE_COMMAND and CMAKE_ROOT variables
- when running in script mode. This partially addresses bug#2828.
-
-2006-03-07 14:38 king
-
- * Source/cmGlobalGenerator.cxx: BUG: Check for whether to add -C to
- package rule should check for a . in the first character not the
- second.
-
-2006-03-07 12:03 andy
-
- * Source/cmake.cxx: COMP: Fix warnings
-
-2006-03-07 10:05 king
-
- * Source/cmFileCommand.cxx: BUG: Most platforms other than Linux
- seem to require executable permissions on their shared libraries.
-
-2006-03-07 10:04 king
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: BUG: Some platforms require
- executable permission on shared libraries.
-
-2006-03-07 02:12 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-06 15:41 hoffman
-
- * bootstrap: ENH: add more depends for bootstrap
-
-2006-03-06 15:14 hoffman
-
- * Modules/Platform/Darwin.cmake: ENH: add support for language
- flags that allow for universal binaries
-
-2006-03-06 15:14 hoffman
-
- * Modules/CMakeCInformation.cmake,
- Modules/CMakeCXXInformation.cmake,
- Modules/CMakeFortranInformation.cmake,
- Modules/Platform/CYGWIN.cmake, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmMakefileLibraryTargetGenerator.cxx: ENH: add support for
- language flags at rule expansion time
-
-2006-03-06 15:01 hoffman
-
- * Modules/Platform/Windows-cl.cmake: ENH: add support for manifest
- stuff
-
-2006-03-06 14:30 malaterre
-
- * Source/kwsys/DynamicLoader.cxx: COMP: Fix compilation on MacOSX
-
-2006-03-06 14:08 hoffman
-
- * Modules/FindQt3.cmake: ENH: try to fix non-clean dashboards
-
-2006-03-06 14:07 malaterre
-
- * Source/kwsys/CMakeLists.txt: ENH: Compile DynamicLoader
-
-2006-03-06 14:02 malaterre
-
- * Source/kwsys/: DynamicLoader.cxx, DynamicLoader.hxx.in: ENH:
- Adding kwsys implementation for a DynamicLoader class. Copy from
- itkDynamicLoader, with patch from cmDynamicLoader
-
-2006-03-06 13:43 hoffman
-
- * Source/kwsys/: Directory.cxx, Registry.cxx: ENH: add missing
- cmake depend hacks
-
-2006-03-06 13:34 hoffman
-
- * Source/kwsys/Glob.cxx: ENH: add missing cmake include
-
-2006-03-06 13:02 malaterre
-
- * Source/kwsys/Directory.cxx: COMP: Some STL implementation do not
- provide clear on std::string
-
-2006-03-06 11:57 malaterre
-
- * Source/kwsys/: Directory.cxx, Directory.hxx.in: BUG: Need to
- reset internal structure in case of multiple calls to Load
-
-2006-03-06 10:12 malaterre
-
- * Source/kwsys/: Directory.cxx, Directory.hxx.in: ENH: Redo
- implementation of itkDirectory to use kwsys (avoid duplicating
- code).
-
-2006-03-06 02:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-05 09:09 king
-
- * Source/cmLocalGenerator.cxx: BUG: Fix for generated install
- scripts to support prefixes with trailing slashes or just a
- single slash.
-
-2006-03-05 08:38 hoffman
-
- * Source/cmFindBase.cxx: ENH: fix old style parsing of FIND
- commands and fix broken tests
-
-2006-03-05 02:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-04 02:22 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-03 23:00 hoffman
-
- * Source/cmFindBase.cxx: ENH: make sure NAMES tag is not required
- for name argument, fixes msys generator
-
-2006-03-03 19:29 king
-
- * Source/cmInstallCommand.cxx, Source/cmInstallCommand.h,
- Source/cmInstallTargetGenerator.cxx,
- Source/cmInstallTargetGenerator.h,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: Added PERMISSIONS
- option to the TARGETS mode of the INSTALL command.
-
-2006-03-03 18:44 king
-
- * Source/cmFileCommand.cxx, Source/cmInstallCommand.cxx,
- Source/cmInstallCommand.h, Source/cmInstallFilesGenerator.cxx,
- Source/cmInstallFilesGenerator.h, Source/cmInstallGenerator.cxx,
- Source/cmInstallGenerator.h, Source/cmLocalGenerator.cxx,
- Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstall/inst.cxx,
- Tests/SimpleInstall/inst2.cxx,
- Tests/SimpleInstallS2/CMakeLists.txt,
- Tests/SimpleInstallS2/inst.cxx, Tests/SimpleInstallS2/inst2.cxx:
- ENH: Added PERMISSIONS and RENAME options to the INSTALL
- command's FILES and PROGRAMS mode, and corresponding support to
- FILE(INSTALL). Default permissions for shared libraries on
- non-Windows/non-OSX platforms no longer has the execute bit set.
-
-2006-03-03 18:06 king
-
- * Source/: cmTarget.cxx, cmTarget.h: ENH: Replaced UpdateLocation
- method with call to GetLocation. Added comment about problems
- with the LOCATION attribute.
-
-2006-03-03 15:04 andy
-
- * Source/CPack/: cmCPackPackageMakerGenerator.cxx,
- cmCPackPackageMakerGenerator.h: ENH: Check package maker version
-
-2006-03-03 14:28 andy
-
- * Source/cmake.cxx: COMP: Oops, typo
-
-2006-03-03 14:24 andy
-
- * Source/: cmTarget.cxx, cmTarget.h, cmake.cxx, cmake.h: ENH: Add
- support for exporting graphviz of the project dependencies
-
-2006-03-03 12:58 king
-
- * Source/CMakeLists.txt, Source/cmGlobalGenerator.cxx,
- Source/cmGlobalGenerator.h,
- Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmGlobalVisualStudio6Generator.h,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.h,
- Source/cmGlobalXCodeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.h,
- Source/cmInstallTargetGenerator.cxx,
- Source/cmInstallTargetGenerator.h,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmTarget.cxx, Tests/BundleTest/BundleLib.cxx,
- Tests/BundleTest/BundleTest.cxx, Tests/BundleTest/CMakeLists.txt:
- BUG: Fixed installation of MacOSX Bundle executables and the
- corresponding install_name remapping support. Extended the
- BundleTest test to check that this all works. Part of these
- fixes required changing the signature of AppendDirectoryForConfig
- in all generators. It now accepts prefix and suffix strings to
- deal with whether leading or trailing slashes should be included
- with the configuration subdirectory.
-
-2006-03-03 12:01 hoffman
-
- * Modules/Platform/Windows-cl.cmake: ENH: add manifest support for
- 2005
-
-2006-03-03 11:59 hoffman
-
- * Modules/CMakeVS8FindMake.cmake: ENH: look for VCExpress first
-
-2006-03-03 10:52 andy
-
- * Modules/CPack.Info.plist.in,
- Source/CPack/cmCPackPackageMakerGenerator.cxx: ENH: Add verbose
- flag to package maker and add CFBundleIdentifier string
-
-2006-03-03 02:34 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-02 21:33 hoffman
-
- * Source/kwsys/: Registry.cxx, SystemTools.cxx: ENH: fix std in
- kwsys, has to be kwsys_stl
-
-2006-03-02 20:11 hoffman
-
- * Source/cmFindBase.cxx: ENH: remove warning
-
-2006-03-02 15:03 hoffman
-
- * Source/: cmMakefile.cxx, cmMakefile.h: ENH: removed unused
- methods after find changes
-
-2006-03-02 14:39 hoffman
-
- * Source/cmTryCompileCommand.cxx: ENH: pass CMAKE_MODULE_PATH into
- try compile projects
-
-2006-03-02 13:43 hoffman
-
- * Source/: cmFindBase.cxx, cmFindLibraryCommand.cxx: ENH: fix
- spelling errors in docs
-
-2006-03-02 13:30 hoffman
-
- * Modules/Platform/CYGWIN.cmake, Modules/Platform/Darwin.cmake,
- Modules/Platform/Linux.cmake, Modules/Platform/SunOS.cmake,
- Modules/Platform/UnixPaths.cmake,
- Modules/Platform/Windows-cl.cmake,
- Modules/Platform/WindowsPaths.cmake,
- Source/cmBootstrapCommands.cxx, Source/cmFindBase.cxx,
- Source/cmFindBase.h, Source/cmFindFileCommand.cxx,
- Source/cmFindFileCommand.h, Source/cmFindLibraryCommand.cxx,
- Source/cmFindLibraryCommand.h, Source/cmFindPathCommand.cxx,
- Source/cmFindPathCommand.h, Source/cmFindProgramCommand.cxx,
- Source/cmFindProgramCommand.h, Source/kwsys/Registry.cxx,
- Source/kwsys/SystemTools.cxx: ENH: check in new find stuff
-
-2006-03-02 07:52 hoffman
-
- * Modules/CMakeCInformation.cmake,
- Modules/CMakeCXXInformation.cmake,
- Modules/CMakeFortranInformation.cmake,
- Modules/CMakeJavaInformation.cmake, Source/cmGlobalGenerator.cxx:
- ENH: fix for bug 2921, move _OVERRIDE variable to a better
- position to allow changing _INIT variables
-
-2006-03-02 02:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-03-01 22:45 king
-
- * Source/: cmSetTargetPropertiesCommand.h, cmTarget.cxx: ENH:
- Finished CMAKE_<CONFIG>_POSTFIX feature and documented it. The
- value of this variable is used when a library target is created
- to initialize the <CONFIG>_POSTFIX target property. The value of
- this property is used (even for executables) to define a
- per-configuration postfix on the name of the target. Also
- enabled use of the OUTPUT_NAME property for non-executable
- targets.
-
-2006-03-01 19:00 king
-
- * CMakeLists.txt: ENH: CMake does not need RPATHs at all for its
- own executables. Disable them to avoid relinking during
- installation.
-
-2006-03-01 18:54 king
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h,
- cmLocalUnixMakefileGenerator3.cxx: ENH: Cleaned up generation of
- directory-level rules and their support structure. The
- directorystart rule has been removed in favor of checking the
- build system in the subdirectory makefile first. The "directory"
- rule has been renamed "all" since it corresponds to the "all"
- pass anyway (as against "clean"). Also fixed directory-level
- rule for preinstall.
-
-2006-03-01 18:49 king
-
- * Source/cmGlobalGenerator.cxx: BUG: Check for whether to add
- BUILD_TYPE to install rule should check for a . in the first
- character not the second.
-
-2006-03-01 15:00 andy
-
- * Modules/: CPack.cmake, NSIS.template.in: ENH: Several changes to
- for NSIS
-
-2006-03-01 13:15 andy
-
- * CMakeLists.txt, Modules/CPack.cmake,
- Modules/InstallRequiredSystemLibraries.cmake: ENH: Install system
- libraries only if project requires them
-
-2006-03-01 13:05 andy
-
- * Source/cmSystemTools.cxx: BUG: Even more VS8 issues
-
-2006-03-01 12:50 andy
-
- * Source/CTest/cmCTestSubmitHandler.cxx: BUG: More VS8 fixes
-
-2006-03-01 11:55 andy
-
- * Templates/CMakeLists.txt: ENH: Install cpack files
-
-2006-03-01 08:28 andy
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalUnixMakefileGenerator3.h, cmGlobalXCodeGenerator.cxx,
- cmGlobalXCodeGenerator.h: ENH: Cleanup global targets even more
- and potentially fix Xcode
-
-2006-03-01 02:32 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-28 16:33 andy
-
- * Source/cmGlobalGenerator.cxx: BUG: Ok, fix the ordering
-
-2006-02-28 16:22 andy
-
- * Source/CTest/cmCTestHandlerCommand.cxx: BUG: Fix for STL
-
-2006-02-28 16:17 andy
-
- * Source/cmCTest.h: BUG: Handle buggy streams
-
-2006-02-28 15:56 andy
-
- * Source/cmCTest.cxx: BUG: Add additional check
-
-2006-02-28 15:31 andy
-
- * Source/cmGlobalGenerator.cxx: BUG: On Visual Studio and XCode,
- handle build configurations
-
-2006-02-28 15:31 andy
-
- * Source/CTest/cmCTestBuildAndTestHandler.cxx: STYLE: Remove debug
-
-2006-02-28 14:18 andy
-
- * Modules/CPack.cmake, Templates/CPack.GenericLicense.txt,
- Templates/CPack.GenericWelcome.txt: ENH: Add resource files for
- PackageMaker
-
-2006-02-28 14:06 andy
-
- * Templates/CPack.GenericDescription.txt,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: Add generic
- instructions
-
-2006-02-28 13:30 andy
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ENH: Attempt to handle windows
- without NSIS installed
-
-2006-02-28 11:38 king
-
- * Source/kwsys/ProcessWin32.c: COMP: Fixed warnings for Borland
- 5.8.
-
-2006-02-28 11:14 andy
-
- * Modules/FindQt4.cmake: BUG: Fix typo
-
-2006-02-28 11:13 andy
-
- * Modules/FindQt4.cmake: ENH: Add support for debian having both
- qt3 and qt4
-
-2006-02-28 10:27 hoffman
-
- * Modules/: CMakeVS71FindMake.cmake, CMakeVS8FindMake.cmake,
- FindDart.cmake, FindDoxygen.cmake, FindGCCXML.cmake,
- FindHTMLHelp.cmake, FindMPI.cmake, FindQt3.cmake, FindQt4.cmake,
- FindTCL.cmake, Platform/Darwin.cmake: ENH: use program files env
- for searching
-
-2006-02-28 09:53 king
-
- * Source/cmGlobalGenerator.cxx: BUG: Need to use the CMAKE_COMMAND
- cache entry to get the location of CMake.
-
-2006-02-28 08:23 andy
-
- * Source/CTest/cmCTestBuildAndTestHandler.cxx,
- Source/CTest/cmCTestBuildAndTestHandler.h,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: Add support for
- multiple build targets and start adding simple cpack tests
-
-2006-02-28 02:32 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-27 23:06 hoffman
-
- * Source/cmSourceGroupCommand.cxx: ENH: fix problem if there are ..
- in the path to the source file specified in a source group
-
-2006-02-27 16:38 hoffman
-
- * Source/: cmFindBase.cxx, cmFindBase.h: ENH: add new find stuff
-
-2006-02-27 12:14 hoffman
-
- * Modules/: CMakeCInformation.cmake, CMakeCXXInformation.cmake,
- CMakeFortranInformation.cmake, CMakeRCInformation.cmake: ENH: fix
- spelling errors
-
-2006-02-27 10:58 andy
-
- * Modules/CPack.Info.plist.in, Modules/CPack.cmake,
- Modules/NSIS.template.in, Source/cmBootstrapCommands.cxx,
- Source/cmCommands.cxx, Source/cmGlobalGenerator.cxx,
- Source/CPack/cmCPackGenericGenerator.cxx,
- Templates/CPackConfig.cmake.in: ENH: Several packaging issues.
- Allow random variables to be passed to cpack (anything starting
- with CPACK_, add preinstall to the list of dependencies for
- package, fix typos
-
-2006-02-27 02:00 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-26 02:00 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-25 01:56 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-24 18:15 andy
-
- * Source/: cmGlobalGenerator.cxx, cmake.h: COMP: More fixes for non
- makefile generators and global targets
-
-2006-02-24 17:43 andy
-
- * Source/cmGlobalGenerator.cxx: STYLE: Remove debug
-
-2006-02-24 17:35 andy
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h, cmGlobalXCode21Generator.h,
- cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx, cmMakefile.cxx, cmTarget.h:
- COMP: Even more global target fixes
-
-2006-02-24 16:30 andy
-
- * Source/CMakeLists.txt: ENH: Install cpack
-
-2006-02-24 16:20 andy
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: BUG: More fixing of support
- for global target son visual studio
-
-2006-02-24 13:13 king
-
- * Modules/Platform/Darwin.cmake, Source/cmGlobalXCodeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.h,
- Source/cmInstallTargetGenerator.cxx,
- Source/cmInstallTargetGenerator.h, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmSetTargetPropertiesCommand.h, Source/cmTarget.cxx,
- Source/cmTarget.h, Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: Created target
- property INSTALL_NAME_DIR initalized by CMAKE_INSTALL_NAME_DIR
- specifying the directory portion of the OSX install_name field in
- shared libraries. This is the OSX equivalent of RPATH.
-
-2006-02-24 12:50 hoffman
-
- * Source/cmSourceGroupCommand.cxx: ENH: fix warning and remove
- unused variable
-
-2006-02-24 11:13 king
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmLocalGenerator.cxx,
- cmLocalGenerator.h, cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx: BUG: Fix generation of Xcode 2.0
- and earlier projects to use CMAKE_BUILD_TYPE.
-
-2006-02-24 11:07 king
-
- * Source/cmGlobalXCodeGenerator.cxx: BUG: Treat GLOBAL_TARGET like
- UTILITY for generation.
-
-2006-02-24 10:56 andy
-
- * Source/cmLocalGenerator.cxx: COMP: Remove warnings
-
-2006-02-24 10:55 andy
-
- * Source/cmGlobalGenerator.cxx: BUG: Only add test targets when
- testing is enabled. Also add CMAKE_CFG_INTDIR when specified
-
-2006-02-24 09:43 andy
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalUnixMakefileGenerator3.h,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx: COMP: Handle preinstall
- properly on IDEs
-
-2006-02-24 09:32 andy
-
- * Source/: cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx: COMP: Fix for preinstall
-
-2006-02-24 09:08 andy
-
- * Modules/CheckIncludeFiles.cmake: BUG: Fix the module
-
-2006-02-24 08:57 andy
-
- * Source/cmake.cxx: BUG: Fix location of ctest for bootstrap
-
-2006-02-24 02:24 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-23 18:25 hoffman
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: try to fix things
- up for the dashboard
-
-2006-02-23 17:30 andy
-
- * Source/: cmGlobalGenerator.cxx,
- cmLocalUnixMakefileGenerator3.cxx: ENH: Properly handle target
- dependencies
-
-2006-02-23 14:05 andy
-
- * Source/cmGlobalVisualStudio71Generator.cxx: COMP: Even more
- Visual Studio fixes. Why is this code duplicated?
-
-2006-02-23 13:46 andy
-
- * Source/: cmGlobalGenerator.cxx,
- cmLocalVisualStudio7Generator.cxx: COMP: More fixes for visual
- studio
-
-2006-02-23 13:37 andy
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalUnixMakefileGenerator3.h,
- cmGlobalVisualStudio7Generator.cxx: COMP: Fixes for visual studio
-
-2006-02-23 11:36 hoffman
-
- * Source/cmSourceGroupCommand.cxx: ENH: fix for bug 2908 crash for
- empty source group name
-
-2006-02-23 10:48 andy
-
- * Source/: cmGlobalGenerator.cxx,
- cmLocalUnixMakefileGenerator3.cxx: ENH: Remove debug
-
-2006-02-23 10:07 andy
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmLocalUnixMakefileGenerator3.cxx: ENH: Add a notion of a global
- target
-
-2006-02-23 10:02 andy
-
- * Source/: cmTarget.cxx, cmTarget.h, cmMakefile.cxx: ENH: Add a
- notion of a global target
-
-2006-02-23 10:00 andy
-
- * Source/: cmake.cxx, cmake.h: ENH: Add accessors for CTest and
- CPack
-
-2006-02-23 09:59 andy
-
- * Source/CPack/cpack.cxx: ENH: Allow running without config file
-
-2006-02-23 09:58 andy
-
- * Modules/: CMakeConfigurableFile.in, CheckIncludeFiles.cmake,
- CheckSymbolExists.cmake: ENH: Make modules use configure instead
- of file write
-
-2006-02-23 09:38 andy
-
- * Modules/CPack.cmake, Modules/NSIS.template.in,
- Source/CPack/cmCPackNSISGenerator.cxx,
- Templates/CPackConfig.cmake.in: ENH: Several NSIS features
-
-2006-02-23 02:34 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-22 02:36 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-21 12:19 hoffman
-
- * Modules/Platform/Windows-cl.cmake,
- Source/cmLocalVisualStudio7Generator.cxx: ENH: make command line
- flags more consistent with ide settings
-
-2006-02-21 09:35 hoffman
-
- * Source/cmGlobalMSYSMakefileGenerator.cxx: ENH: use last mount
- point found for mingw location, not first
-
-2006-02-21 07:58 hoffman
-
- * Source/cmGlobalMSYSMakefileGenerator.cxx: ENH: try to get the
- order a bit better
-
-2006-02-21 02:35 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-20 23:08 hoffman
-
- * Modules/CMakeDetermineCCompiler.cmake, Source/cmCacheManager.cxx,
- Source/cmGlobalMSYSMakefileGenerator.cxx,
- Source/cmGlobalMSYSMakefileGenerator.h: ENH: better finding of
- mingw from msys, and delete CMakeFiles directory when cache is
- deleted
-
-2006-02-20 17:47 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: make sure
- CMAKE_STANDARD_LIBRARIES are used
-
-2006-02-20 14:37 hoffman
-
- * Source/cmLocalGenerator.h: ENH: make it compile on vs6
-
-2006-02-20 14:21 king
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: BUG: Add target-level
- COMPILE_FLAGS to the target not the individual source files.
- This simplifies the generated files and puts flags in a more
- logical order (VS6 works, VS7 needs more translation to work).
-
-2006-02-20 13:42 hoffman
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx: ENH: change expand stuff to pass a
- struct for all the args
-
-2006-02-20 12:48 king
-
- * Source/cmMakefileTargetGenerator.cxx: ENH: Order compilation
- flags from most general to most specific: language, then target,
- then source.
-
-2006-02-20 09:54 king
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmLocalGenerator.h: BUG:
- Xcode generator should use local generator computation of include
- directories.
-
-2006-02-20 03:00 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-19 19:29 king
-
- * Source/: cmFileCommand.cxx, cmInstallGenerator.cxx,
- cmInstallTargetGenerator.cxx: BUG: Fixed optional file install
- support for multi-configuration generators.
-
-2006-02-19 19:28 king
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx, cmGlobalXCodeGenerator.cxx,
- cmTarget.cxx: ENH: Switched order of slash and configuration name
- in cmGlobalGenerator::AppendDirectoryForConfig method to increase
- flexibility.
-
-2006-02-19 18:47 king
-
- * bootstrap, Source/CMakeLists.txt, Source/cmInstallCommand.cxx,
- Source/cmInstallCommand.h, Source/cmInstallFilesCommand.h,
- Source/cmInstallFilesGenerator.cxx,
- Source/cmInstallFilesGenerator.h,
- Source/cmInstallProgramsCommand.h, Source/cmLocalGenerator.cxx,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: Implemented FILES and
- PROGRAMS forms of the INSTALL command as replacements for the
- INSTALL_FILES and INSTALL_PROGRAMS commands. This addresses the
- request for absolute path install destinations in bug#2691.
-
-2006-02-19 18:44 king
-
- * Source/cmInstallTargetGenerator.cxx: STYLE: Removed unused
- includes.
-
-2006-02-19 17:44 king
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ENH: Using CMAKE_SKIP_BUILD_RPATH
- to test relink support.
-
-2006-02-19 17:27 king
-
- * Source/: cmInstallTargetGenerator.cxx,
- cmInstallTargetsCommand.cxx, cmTarget.cxx, cmTarget.h: BUG: Fixed
- relink with new install framework.
-
-2006-02-19 16:35 king
-
- * Source/cmInstallCommand.cxx: COMP: Removed unused variables.
-
-2006-02-19 16:12 king
-
- * Source/: cmInstallGenerator.cxx, cmInstallGenerator.h: BUG: Do
- not report files as installed if they are optional and do not
- exist.
-
-2006-02-19 16:10 king
-
- * Source/cmInstallTargetGenerator.cxx: BUG: Import libraries should
- be installed as STATIC_LIBRARY.
-
-2006-02-19 15:25 king
-
- * bootstrap, Source/CMakeLists.txt, Source/cmInstallCommand.cxx,
- Source/cmInstallCommand.h, Source/cmInstallGenerator.cxx,
- Source/cmInstallGenerator.h, Source/cmInstallScriptGenerator.cxx,
- Source/cmInstallScriptGenerator.h,
- Source/cmInstallTargetGenerator.cxx,
- Source/cmInstallTargetGenerator.h,
- Source/cmInstallTargetsCommand.h, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmSetTargetPropertiesCommand.h,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: Created new install
- script generation framework. The INSTALL command creates the
- generators which are later used by cmLocalGenerator to create the
- cmake_install.cmake files. A new target installation interface
- is provided by the INSTALL command which fixes several problems
- with the INSTALL_TARGETS command. See bug#2691. Bugs 1481 and
- 1695 are addressed by these changes.
-
-2006-02-19 13:49 king
-
- * Modules/Platform/Windows-gcc.cmake: BUG: Fixed module creation
- rules. Removed soname portion of all rules because it is never
- used on this platform.
-
-2006-02-19 13:34 king
-
- * Modules/Platform/CYGWIN.cmake: BUG: Fixed cygwin module creation
- rules. Modules should not have the "cyg" prefix by default.
- Removd soname flags from creation rules because they are never
- used on this platform.
-
-2006-02-19 13:10 king
-
- * Source/cmLocalGenerator.cxx,
- Tests/CustomCommand/GeneratedHeader/CMakeLists.txt: ENH:
- Automatic include directories should not be done by default as
- was just implemented. Instead a project may now set
- CMAKE_INCLUDE_CURRENT_DIR to get this behavior. The current
- source and binary directories are added automatically to the
- beginning of the include path in every directory. This simulates
- in-source behavior for double-quote includes when there are
- generated sources and headers in the directory.
-
-2006-02-19 13:08 king
-
- * Source/cmFileCommand.cxx: BUG: Install location full-path test
- for windows needs to account for both lower case and upper case
- drive letters.
-
-2006-02-19 01:53 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-18 16:47 king
-
- * Source/cmLocalGenerator.cxx: BUG: Remove trailing slashes from
- install destinations.
-
-2006-02-18 16:36 king
-
- * Source/cmFileCommand.cxx: ENH: Clarified error message.
-
-2006-02-18 15:42 king
-
- * Source/cmLocalGenerator.cxx: COMP: Fixed shadowed variable
- warning.
-
-2006-02-18 15:37 king
-
- * Modules/Platform/CYGWIN.cmake,
- Modules/Platform/Windows-bcc32.cmake,
- Modules/Platform/Windows-gcc.cmake,
- Modules/Platform/Windows-wcl386.cmake,
- Modules/Platform/Windows.cmake, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmMakefileLibraryTargetGenerator.cxx, Source/cmTarget.cxx,
- Source/cmTarget.h: ENH: Generate import libraries for DLLs on
- Cygwin and MinGW.
-
-2006-02-18 11:51 king
-
- * Source/: cmLocalGenerator.cxx, cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: ENH: If
- CMAKE_NO_AUTOMATIC_INCLUDE_DIRECTORIES is not set try to
- approximate in-source build include file behavior in an
- out-of-source build by adding the build tree directory
- corresponding to a source tree directory at the beginning of the
- include path. Also fixed VS6 and VS7 generators to use
- cmLocalGenerator's computation of include paths. The VS6
- generator will now short-path the include directories if the
- total length is too long in order to try to avoid its truncation
- limit.
-
-2006-02-18 11:03 hoffman
-
- * Source/: cmGlobalKdevelopGenerator.cxx,
- cmGlobalKdevelopGenerator.h: ENH: apply patch from Alex to
- support some more kdevelop stuff
-
-2006-02-18 01:55 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-17 12:49 hoffman
-
- * Source/cmMakefile.cxx: ENH: put the system path ahead of the
- command path
-
-2006-02-17 02:26 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-16 20:15 king
-
- * Modules/CPack.cmake, Utilities/Release/Release.cmake: BUG: Do not
- install MSVC dlls for a non-MSVC build.
-
-2006-02-16 20:13 king
-
- * bootstrap: ENH: Made default install prefix consistent with
- building with another CMake.
-
-2006-02-16 18:50 king
-
- * Source/: cmGlobalBorlandMakefileGenerator.cxx,
- cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h: BUG: Work-around borland make
- bug that drops a rule completely if it has no dependencies or
- commands.
-
-2006-02-16 18:09 king
-
- * Source/cmSetTargetPropertiesCommand.h: ENH: Clarified
- documentation of DEFINE_SYMBOL.
-
-2006-02-16 17:49 king
-
- * Source/cmSetTargetPropertiesCommand.cxx: BUG: Report error when a
- target does not exist.
-
-2006-02-16 15:55 andy
-
- * Source/CPack/cmCPackNSISGenerator.cxx: BUG: Remove debug and fix
- space between label and exec name
-
-2006-02-16 15:41 andy
-
- * CMakeLists.txt: ENH: Variable name changed
-
-2006-02-16 15:39 king
-
- * Source/cmMakefileExecutableTargetGenerator.cxx: BUG: Do not
- perform pre-build, pre-link, or post-install commands when
- relinking.
-
-2006-02-16 15:38 king
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: BUG: Need INSTALL_RPATH property
- on SimpleInstallS2 also.
-
-2006-02-16 15:35 andy
-
- * Templates/CPackConfig.cmake.in: ENH: Fix icons
-
-2006-02-16 15:28 king
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ENH: Use target property for
- INSTALL_RPATH of SimpleInstall so that it is the only one that
- needs to relink.
-
-2006-02-16 15:20 andy
-
- * Modules/NSIS.template.in, Source/CPack/cmCPackNSISGenerator.cxx,
- Source/CPack/cmCPackNSISGenerator.h: ENH: More work on NSI to
- improve installing and uninstalling
-
-2006-02-16 15:18 king
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmMakefileExecutableTargetGenerator.cxx,
- Source/cmMakefileExecutableTargetGenerator.h,
- Source/cmMakefileLibraryTargetGenerator.cxx,
- Source/cmMakefileLibraryTargetGenerator.h,
- Source/cmSetTargetPropertiesCommand.h, Source/cmTarget.cxx,
- Source/cmTarget.h, Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: Implemented RPATH
- specification support. It is documented by the command
- SET_TARGET_PROPERTIES.
-
-2006-02-16 13:42 martink
-
- * Source/cmMakefileTargetGenerator.cxx: ENH: warning fix
-
-2006-02-16 11:32 martink
-
- * Source/cmMakefileTargetGenerator.cxx: ENH: warning fix
-
-2006-02-16 10:35 hoffman
-
- * Source/: cmDynamicLoader.cxx, cmDynamicLoader.h: ENH: fix for bug
- 2808, use dlopen on new OSX versions
-
-2006-02-16 02:25 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-15 21:26 hoffman
-
- * Modules/CMakeMSYSFindMake.cmake,
- Modules/CMakeMinGWFindMake.cmake,
- Source/cmGlobalMSYSMakefileGenerator.cxx,
- Source/cmGlobalMinGWMakefileGenerator.cxx: ENH: better algorithm
- for looking for make and gcc on msys and mingw
-
-2006-02-15 16:38 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: Use NOINHERIT
- macro to avoid linking to project default libraries which may not
- exist.
-
-2006-02-15 16:35 king
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h,
- cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx,
- cmMakefileUtilityTargetGenerator.cxx: ENH: Cleaned up generation
- of symbolic rules. Removed generation of rebuild_cache and
- similar rules from internal makefiles.
-
-2006-02-15 12:32 martink
-
- * Source/cmMakefileTargetGenerator.h: COMP: fix compiler warning
-
-2006-02-15 12:30 hoffman
-
- * Source/cmMakefileTargetGenerator.cxx: ENH: fix build error for
- mac
-
-2006-02-15 10:34 martink
-
- * bootstrap, Source/CMakeLists.txt,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalUnixMakefileGenerator3.h,
- Source/cmMakefileTargetGenerator.h: ENH: some reorg of the unix
- makefile generator
-
-2006-02-15 10:22 king
-
- * Source/: cmCTest.cxx, cmSystemTools.cxx, cmSystemTools.h,
- cmake.cxx: ENH: Enable capture of output from VCExpress.exe and
- devenv.exe.
-
-2006-02-15 08:05 hoffman
-
- * Modules/Platform/Windows-bcc32.cmake: ENH: remove warning
- suppressions for borland compiler, projects wanting this should
- use -w-, the default warning level is used for all other
- compilers. Used to be -w- -whid -waus -wpar
-
-2006-02-15 02:21 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-14 22:03 hoffman
-
- * Modules/CMakeMinGWFindMake.cmake, Source/cmake.cxx: ENH: do not
- allow mingw makefiles to generate if sh.exe is in the path, also
- do not write CMakeCache.txt if there is a fatal error.
-
-2006-02-14 17:16 king
-
- * Source/: cmCMakeMinimumRequired.cxx, cmCMakeMinimumRequired.h:
- ENH: Added FATAL_ERROR option and fixed check to not have
- floating point roundoff problems.
-
-2006-02-14 16:35 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: Removed hard-coded
- linking to odbc32 and odbccp32.
-
-2006-02-14 16:32 king
-
- * Source/: cmGlobalVisualStudio8Generator.cxx,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: BUG: Avoid adding unused rules
- to special targets like ALL_BUILD. Make sure project
- regeneration rules go only in desired targets.
-
-2006-02-14 15:35 king
-
- * Source/: cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio71Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio8Generator.cxx,
- cmGlobalVisualStudio8Generator.h: BUG: Fixed generation of VS8
- solution file to not be re-written when loaded by VS and to work
- with msbuild.
-
-2006-02-14 15:29 king
-
- * Modules/CheckTypeSize.cmake: ENH: Added
- CMAKE_REQUIRED_DEFINITIONS and CMAKE_REQUIRED_INCLUDES to the
- interface.
-
-2006-02-14 15:15 king
-
- * Tests/CustomCommand/GeneratedHeader/main.cpp: COMP: Fixed form of
- function main.
-
-2006-02-14 14:29 andy
-
- * Modules/NSIS.template.in, Source/CPack/cmCPackNSISGenerator.cxx:
- ENH: Better handling of executables on windows
-
-2006-02-14 14:28 andy
-
- * Templates/CPackConfig.cmake.in: ENH: Cleanup
-
-2006-02-14 11:17 andy
-
- * Source/cmCacheManager.cxx: ENH: Report which cmake was used to
- generate the cache in the comment
-
-2006-02-14 10:51 hoffman
-
- * Modules/Platform/Windows-cl.cmake: ENH: fix try compile for MFC
-
-2006-02-14 10:35 martink
-
- * Source/: cmMakefileExecutableTargetGenerator.h,
- cmMakefileLibraryTargetGenerator.h, cmMakefileTargetGenerator.h,
- cmMakefileUtilityTargetGenerator.h,
- cmMakefileExecutableTargetGenerator.cxx,
- cmMakefileLibraryTargetGenerator.cxx,
- cmMakefileTargetGenerator.cxx,
- cmMakefileUtilityTargetGenerator.cxx: ENH: some cleanup of the
- makefile generator
-
-2006-02-14 10:28 andy
-
- * CMakeLists.txt, Modules/CPack.cmake,
- Source/CPack/cmCPackGenericGenerator.cxx,
- Source/CPack/cmCPackSTGZGenerator.cxx, Source/CPack/cpack.cxx,
- Templates/CPackConfig.cmake.in: ENH: Improved support for icons,
- random directories, etc...
-
-2006-02-14 02:14 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-13 02:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-12 02:27 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-11 02:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-10 15:45 king
-
- * Tests/CommandLineTest/CMakeLists.txt: ENH: Added test for
- IF(DEFINED ENV{var})(.
-
-2006-02-10 14:59 king
-
- * CMakeLists.txt: ENH: Updated patch level to 3 for special KDE
- release.
-
-2006-02-10 14:41 king
-
- * Source/cmIfCommand.cxx: ENH: Allow IF(DEFINED ENV{somevar}) to
- work.
-
-2006-02-10 14:15 king
-
- * Docs/cmake-mode.el: ENH: Added highlighting for LIST command.
-
-2006-02-10 14:11 andy
-
- * CMakeLists.txt, Source/cmCommands.cxx, Source/cmListCommand.cxx,
- Source/cmListCommand.h, Tests/CMakeTests/CMakeLists.txt,
- Tests/CMakeTests/ListTest.cmake.in: ENH: Add initial
- implementation of the list command
-
-2006-02-10 13:54 king
-
- * Docs/cmake-mode.el, Source/cmCommands.cxx,
- Source/cmInstallCommand.cxx, Source/cmInstallCommand.h,
- Source/cmLocalGenerator.cxx, Source/cmMakefile.h,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstall/InstallScript1.cmake,
- Tests/SimpleInstall/InstallScript2.cmake,
- Tests/SimpleInstallS2/CMakeLists.txt,
- Tests/SimpleInstallS2/InstallScript1.cmake,
- Tests/SimpleInstallS2/InstallScript2.cmake: ENH: Added INSTALL
- command as a placeholder for a future generic install
- specification interface. Currently it supports only a SCRIPT
- option specifying a script to run during the install stage.
-
-2006-02-10 12:43 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: fix for bug 28618, cmake.exe
- can not find itself
-
-2006-02-10 11:47 king
-
- * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt: ENH: Strengthened
- EXECUTE_PROCESS output check test.
-
-2006-02-10 11:46 king
-
- * Source/cmExecuteProcessCommand.cxx: ENH: Remove extra windows
- newline characters from process output. Centralized text fix
- processing.
-
-2006-02-10 11:43 king
-
- * Source/: cmExecProgramCommand.h, cmExecuteProcessCommand.h: ENH:
- Mention relationship of EXECUTE_PROCESS and EXEC_PROGRAM.
-
-2006-02-10 11:41 king
-
- * Source/cmake.cxx: BUG: Fixed echo command to not print trailing
- space.
-
-2006-02-10 11:19 king
-
- * bootstrap: BUG: Fixed bootstrap from MSYS prompt. It was working
- only when the bootstrap directory in MSYS mapped to the same
- directory on windows except for the drive letter in front. Now
- it should work from any path.
-
-2006-02-10 10:30 hoffman
-
- * Tests/CustomCommandWorkingDirectory/: CMakeLists.txt, working.c,
- working.c.in: ENH: fix test to work with in source build
-
-2006-02-10 10:11 hoffman
-
- * Source/cmLocalGenerator.cxx: ENH: fix bug for single char
- libraries
-
-2006-02-10 09:46 andy
-
- * Modules/CheckLibraryExists.cmake: BUG: Fix
- CMAKE_REQUIRED_LIBRARIES stuff in this module
-
-2006-02-10 02:16 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-09 23:08 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: bug fix for 2829
- better flags for idl tool
-
-2006-02-09 19:29 king
-
- * Source/cmLocalVisualStudio6Generator.cxx: COMP: Removed unused
- variables.
-
-2006-02-09 19:25 king
-
- * CMakeLists.txt: ENH: Updated patch level to 2 for special KDE
- release.
-
-2006-02-09 19:23 king
-
- * Modules/: CheckCSourceCompiles.cmake,
- CheckCXXSourceCompiles.cmake, CheckFunctionExists.cmake,
- CheckIncludeFile.cmake, CheckIncludeFileCXX.cmake,
- CheckIncludeFiles.cmake, CheckLibraryExists.cmake,
- CheckSymbolExists.cmake, CheckVariableExists.cmake: ENH: Made
- Check* modules more consistent and well documented. Added
- CMAKE_REQUIRED_DEFINITIONS option.
-
-2006-02-09 19:03 king
-
- * Source/cmMakefile.cxx: BUG: Need to include empty arguments when
- parsing prefix/suffix lists for FindLibrary.
-
-2006-02-09 19:03 king
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Adding option
- to return empty arguments when expanding a list.
-
-2006-02-09 18:42 king
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio6Generator.h,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h: BUG: Fixed generation of cmake
- re-run rules.
-
-2006-02-09 18:39 king
-
- * Tests/: Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: BUG: Avoid case
- problems on windows.
-
-2006-02-09 17:29 king
-
- * Source/: cmOrderLinkDirectories.cxx, cmOrderLinkDirectories.h:
- BUG: Deal with case insensitivity on windows linker paths. Also
- fixed spelling typo.
-
-2006-02-09 15:33 king
-
- * Modules/FindPNG.cmake: ENH: Put libpng name back because it is
- needed for plain windows.
-
-2006-02-09 15:08 king
-
- * Modules/: FindJPEG.cmake, FindPNG.cmake, FindTIFF.cmake,
- FindZLIB.cmake: ENH: Removing platform-specific name hacks now
- that FIND_LIBRARY handles it.
-
-2006-02-09 15:05 king
-
- * Modules/CMakeGenericSystem.cmake, Modules/Platform/CYGWIN.cmake,
- Modules/Platform/Darwin.cmake, Modules/Platform/HP-UX.cmake,
- Modules/Platform/Windows-bcc32.cmake,
- Modules/Platform/Windows-gcc.cmake,
- Modules/Platform/Windows.cmake, Source/cmMakefile.cxx: ENH: Added
- platform settings CMAKE_FIND_LIBRARY_PREFIXES and
- CMAKE_FIND_LIBRARY_SUFFIXES to allow customized searching for
- libraries.
-
-2006-02-09 14:28 king
-
- * Modules/CheckSymbolExists.cmake: ENH: Pay attention to
- CMAKE_REQUIRED_INCLUDES.
-
-2006-02-09 14:18 king
-
- * Modules/Platform/Windows-g++.cmake: BUG: Need Windows-g++.cmake
- module to support C++-only projects on Windows.
-
-2006-02-09 13:48 king
-
- * Modules/CMakeCXXCompiler.cmake.in: BUG: Need to duplicate some
- information from CMakeCCompiler to support C++-only projects.
-
-2006-02-09 13:14 king
-
- * Modules/: CheckCSourceCompiles.cmake,
- CheckCXXSourceCompiles.cmake, CheckIncludeFiles.cmake: ENH: Patch
- from Alexander Neundorf to improve behavior.
-
-2006-02-09 12:04 king
-
- * Modules/: FindJPEG.cmake, FindPNG.cmake, FindTIFF.cmake,
- FindZLIB.cmake: ENH: Added names for gnuwin32 library versions.
-
-2006-02-09 09:34 david.cole
-
- * Utilities/cmtar/wrapper.c: COMP: Last (?) fix for dashboard
- warning.
-
-2006-02-09 02:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-08 15:37 hoffman
-
- * Source/: cmAddCustomCommandCommand.cxx,
- cmAddCustomTargetCommand.cxx, cmVTKWrapJavaCommand.cxx: ENH: fix
- broken tests
-
-2006-02-08 14:12 hoffman
-
- * Source/: CMakeLists.txt, cmGlobalXCodeGenerator.cxx: ENH: working
- directory working for XCode
-
-2006-02-08 12:01 king
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio6Generator.h: ENH: Enabled new
- WORKING_DIRECTORY option to ADD_CUSTOM_COMMAND and
- ADD_CUSTOM_TARGET on VS 6 generator.
-
-2006-02-08 11:33 hoffman
-
- * Tests/CustomCommandWorkingDirectory/: CMakeLists.txt,
- customTarget.c, working.c: ENH: add test for working directory of
- custom command and target
-
-2006-02-08 10:58 hoffman
-
- * Modules/CMakeFortranInformation.cmake, Source/CMakeLists.txt,
- Source/cmAddCustomCommandCommand.cxx,
- Source/cmAddCustomCommandCommand.h,
- Source/cmAddCustomTargetCommand.cxx,
- Source/cmAddCustomTargetCommand.h, Source/cmCPluginAPI.cxx,
- Source/cmCustomCommand.cxx, Source/cmCustomCommand.h,
- Source/cmFLTKWrapUICommand.cxx, Source/cmGlobalGenerator.cxx,
- Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio8Generator.cxx,
- Source/cmGlobalXCodeGenerator.cxx,
- Source/cmIncludeExternalMSProjectCommand.cxx,
- Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmQTWrapCPPCommand.cxx,
- Source/cmQTWrapUICommand.cxx, Source/cmVTKWrapJavaCommand.cxx:
- ENH: add working directory support
-
-2006-02-08 10:13 king
-
- * CMakeLists.txt, Source/CMakeLists.txt, Utilities/CMakeLists.txt:
- ENH: Added option BUILD_CursesDialog if curses is found. This
- allows people to disable building the dialog even when curses is
- found.
-
-2006-02-08 09:51 king
-
- * Modules/FindQt4.cmake: BUG: Fixed qt version message. Submitted
- by Tanner Lovelace.
-
-2006-02-08 07:17 andy
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: COMP: Fix
- problem with STL on HP, and fix reusing the same variable in for
- loops
-
-2006-02-08 02:50 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-07 17:10 king
-
- * Modules/Platform/Windows-cl.cmake: ENH: Adding definition of MSVC
- when it is the compiler.
-
-2006-02-07 17:09 king
-
- * Source/cmMakefile.cxx: BUG: Fixed finding of MinGW libraries with
- a windows build of CMake.
-
-2006-02-07 12:53 andy
-
- * Source/CPack/cpack.cxx: ENH: Add missing help for -C option
-
-2006-02-07 11:43 andy
-
- * Source/kwsys/SystemTools.cxx: COMP: Fix compile problem on
- windows and mac
-
-2006-02-07 10:43 andy
-
- * Source/kwsys/SystemTools.cxx: COMP: Fix build problem
-
-2006-02-07 10:23 andy
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h,
- kwsys/SystemTools.cxx, kwsys/SystemTools.hxx.in: ENH: Move
- relative path to kwsys
-
-2006-02-07 10:11 king
-
- * bootstrap, Source/cmStandardIncludes.h,
- Source/kwsys/CMakeLists.txt, Source/kwsys/String.hxx.in: ENH:
- Added kwsys::String class to shorten debugging symbols and error
- messages involving std::string.
-
-2006-02-07 09:25 malaterre
-
- * Source/kwsys/SystemTools.hxx.in: ENH: Add some doc for visible
- class
-
-2006-02-07 08:49 andy
-
- * Source/: cmCTest.cxx, cmListFileCache.cxx, cmListFileCache.h,
- cmMakefile.cxx, cmTryCompileCommand.cxx, cmTryRunCommand.cxx,
- cmakemain.cxx, ctest.cxx, CTest/cmCTestBuildAndTestHandler.cxx:
- ENH: Since list file cache does not make much sense any more
- (because of proper list file parsing), and it actually adds
- unnecessary complications and make ctest scripting not work, take
- it out
-
-2006-02-07 08:03 david.cole
-
- * Utilities/cmtar/wrapper.c: COMP: Fix next round of dashboard
- warnings.
-
-2006-02-07 02:06 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-06 16:32 hoffman
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: allow for - in the
- name of targets for nmake
-
-2006-02-06 09:31 david.cole
-
- * Utilities/cmtar/: extract.c, output.c, wrapper.c: COMP: Fix CMake
- dashboard warnings related to previous revisions.
-
-2006-02-06 02:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-05 02:06 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-04 02:19 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-03 18:08 king
-
- * CMakeLists.txt: ENH: Incremented patch version for special KDE
- release.
-
-2006-02-03 17:09 king
-
- * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt: ENH: Added test for new
- EXECUTE_PROCESS command.
-
-2006-02-03 16:55 king
-
- * Docs/cmake-mode.el: ENH: Adding new EXECUTE_PROCESS command that
- interfaces to KWSys Process Execution.
-
-2006-02-03 16:51 king
-
- * Source/: cmCommands.cxx, cmExecuteProcessCommand.cxx,
- cmExecuteProcessCommand.h: ENH: Adding new EXECUTE_PROCESS
- command that interfaces to KWSys Process Execution.
-
-2006-02-03 12:03 king
-
- * Source/cmGlobalXCodeGenerator.h: COMP: Added missing method decl
- to header.
-
-2006-02-03 11:48 david.cole
-
- * Utilities/cmtar/: decode.c, extract.c, output.c, wrapper.c: BUG:
- Fix mem leaks related to th_get_pathname. Change this
- implementation of th_get_pathname so that it *always* returns a
- strdup'ed value. Callers must now free non-NULL returns from
- th_get_pathname. Change all callers to call free appropriately.
-
-2006-02-03 11:36 king
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h, cmGlobalXCodeGenerator.cxx,
- cmTarget.cxx: BUG: Fixed cmTarget::GetFullPath to not append the
- configuration name when only one configuration is built. It now
- asks the generator what subdirectory if any to use for a given
- configuration name.
-
-2006-02-03 02:29 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-02 20:18 king
-
- * CMakeLists.txt, Source/CMakeLists.txt, Utilities/CMakeLists.txt:
- COMP: Fixed build on VC++ Express 2005. Explicitly testing for
- MFC to determine whether to build the MFCDialog.
-
-2006-02-02 20:16 king
-
- * Modules/CMakeGenericSystem.cmake: BUG: CMAKE_INSTALL_PREFIX must
- always have forward slashes.
-
-2006-02-02 20:15 king
-
- * Modules/Platform/Windows-cl.cmake: BUG: Removed odbc32.lib and
- odbccp32.lib from standard libraries on VS 8 because VC++ Express
- 2005 does not have them. They are SQL database access libraries
- and should not be needed for every application. User code can
- always explicitly link the library. Also replacing deprecated
- /GZ option with /RTC1 for VS 8. This addresses bug#2795.
-
-2006-02-02 15:53 david.cole
-
- * Utilities/cmtar/filesystem.c: BUG: Fix memory leak in libtar's
- kwReadDir. Use a static buffer like readdir (probably) does
- rather than malloc-ing a block which never gets free-d.
-
-2006-02-02 03:30 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-02-01 02:24 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-31 19:34 king
-
- * Source/: CMakeLists.txt, cmake.cxx: ENH: Enabled build of VS 7
- and 8 generators for MinGW.
-
-2006-01-31 18:50 king
-
- * bootstrap, Source/cmake.cxx: ENH: Enabled bootstrapping with
- MinGW from an MSYS prompt.
-
-2006-01-31 10:46 king
-
- * Source/cmGetFilenameComponentCommand.cxx: BUG: ABSOLUTE option
- should evaluate relative paths with respect to
- CMAKE_CURRENT_SOURCE_DIR. This addresses bug#2797.
-
-2006-01-31 05:09 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-30 14:25 martink
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: more cleanup and removal of
- old code
-
-2006-01-30 13:57 martink
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: cleanup and remove some old
- code
-
-2006-01-30 02:15 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-29 02:06 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-28 01:38 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-27 18:20 king
-
- * Source/: cmFindFileCommand.cxx, cmFindLibraryCommand.h,
- cmFindPathCommand.cxx, cmFindPathCommand.h, cmMakefile.cxx,
- cmMakefile.h: ENH: Improved support for user-configured search
- paths. Paths given in the CMAKE_LIBRARY_PATH cmake variable are
- searched first, then those in the CMAKE_LIBRARY_PATH environment
- variable, then those listed in the call to the FIND_LIBRARY
- command and finally those listed in the PATH environment
- variable. The support is similar for finding include files with
- FIND_PATH, but the variable is CMAKE_INCLUDE_PATH.
-
-2006-01-27 13:48 king
-
- * Source/: cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h: BUG: VS7 generator should use
- per-configuration linker flags for targets. This addresses
- bug#2765.
-
-2006-01-27 13:46 andy
-
- * Source/CTest/: cmCTestBuildHandler.cxx, cmCTestBuildHandler.h:
- ENH: Better handle interleved error/output
-
-2006-01-27 13:07 king
-
- * Modules/readme.txt, Source/cmFindPackageCommand.cxx,
- Source/cmFindPackageCommand.h: ENH: Added optional component list
- to the REQUIRED option of the FIND_PACKAGE command. This
- addresses bug#2771.
-
-2006-01-27 12:58 martink
-
- * Source/cmOptionCommand.h: STYLE: spelling fix
-
-2006-01-27 12:58 martink
-
- * Source/cmMessageCommand.h: STYLE: grammer fix
-
-2006-01-27 11:19 hoffman
-
- * Source/CTest/cmCTestUpdateHandler.cxx: ENH: add extra thing for
- svn X status output
-
-2006-01-27 01:36 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-26 01:21 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-25 14:12 hoffman
-
- * Source/cmTryCompileCommand.cxx: ENH: fix double
- CMAKE_(LANG)_FLAGS problem in try compile
-
-2006-01-25 12:16 hoffman
-
- * Modules/: FindQt.cmake, FindQt4.cmake: ENH: change to fatal error
-
-2006-01-25 11:41 hoffman
-
- * Modules/: CMakeCCompiler.cmake.in, CMakeCXXCompiler.cmake.in,
- CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake,
- CMakeDetermineFortranCompiler.cmake,
- CMakeDetermineJavaCompiler.cmake, CMakeDetermineRCCompiler.cmake:
- ENH: fix more than one argument passed in to compilers via
- environment
-
-2006-01-25 11:07 hoffman
-
- * Source/: cmMessageCommand.cxx, cmMessageCommand.h: ENH: fix docs,
- and revert fatal error change
-
-2006-01-25 08:39 hoffman
-
- * Source/cmMessageCommand.cxx: ENH: make all errors fatal in
- message command
-
-2006-01-25 08:38 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/Complex/Executable/complex.cxx,
- Tests/Complex/Executable/testcflags.c,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/testcflags.c,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/testcflags.c: ENH: add
- COMPILE_FLAGS to targets
-
-2006-01-25 00:57 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-24 15:48 hoffman
-
- * Source/cmStandardIncludes.h: ENH: fix for borland memcpy junk
-
-2006-01-24 12:07 andy
-
- * Modules/CheckCXXSourceCompiles.cmake: ENH: fix bug, write the
- correct file
-
-2006-01-24 07:58 hoffman
-
- * Source/cmLocalGenerator.cxx: COMP: fix warning
-
-2006-01-24 00:57 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-23 17:24 hoffman
-
- * Source/cmLocalGenerator.cxx: ENH: fix warning
-
-2006-01-23 16:36 martink
-
- * Source/kwsys/SystemTools.cxx: ENH: by Bill make sure path is unix
- style
-
-2006-01-23 13:50 hoffman
-
- * Source/: CMakeLists.txt, cmGlobalWatcomWMakeGenerator.cxx,
- cmLocalGenerator.cxx: ENH: fix problem with watcom and short
- paths and -I
-
-2006-01-23 12:31 hoffman
-
- * Source/cmDepends.cxx: ENH: correct include for memcpy
-
-2006-01-23 11:32 hoffman
-
- * Modules/Platform/kFreeBSD.cmake: ENH: add kFreeBSD support
-
-2006-01-23 00:51 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-22 21:15 hoffman
-
- * Modules/CheckTypeSize.cmake: ENH: fix check type size
-
-2006-01-22 00:47 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-21 00:51 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-20 01:01 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-19 00:57 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-18 00:47 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-17 16:53 hoffman
-
- * Source/kwsys/SystemTools.hxx.in: ENH: fix for icc
-
-2006-01-17 16:22 martink
-
- * Utilities/cmcurl/CMake/CheckTypeSize.cmake: BUG: revert such that
- it should work
-
-2006-01-17 14:35 hoffman
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt: ENH: more fixes
- for watcom
-
-2006-01-17 10:21 hoffman
-
- * Modules/CMakeBackwardCompatibilityCXX.cmake,
- Modules/CMakeFindWMake.cmake, Modules/TestForSSTREAM.cmake,
- Modules/TestForSSTREAM.cxx, Modules/readme.txt,
- Modules/Platform/Windows-wcl386.cmake, Source/CMakeLists.txt,
- Source/cmCPluginAPI.cxx, Source/cmCPluginAPI.h,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmGlobalWatcomWMakeGenerator.cxx,
- Source/cmGlobalWatcomWMakeGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalUnixMakefileGenerator3.h, Source/cmStringCommand.h,
- Source/cmake.cxx, Source/kwsys/Directory.cxx,
- Source/kwsys/EncodeExecutable.c, Source/kwsys/Glob.cxx,
- Source/kwsys/ProcessWin32.c, Source/kwsys/Registry.cxx,
- Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in,
- Source/kwsys/kwsysPlatformCxxTests.cxx,
- Source/kwsys/testRegistry.cxx,
- Tests/Complex/cmTestConfigure.h.in,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/cmTestConfigure.h.in,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/cmTestConfigure.h.in,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/complex.cxx,
- Tests/LoadCommand/CMakeCommands/CMakeLists.txt,
- Tests/LoadCommand/CMakeCommands/cmTestCommand.c,
- Tests/LoadCommandOneConfig/CMakeCommands/CMakeLists.txt,
- Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c,
- Tests/SubDir/CMakeLists.txt,
- Tests/SubDir/vcl_algorithm_vcl_pair_double.foo.c,
- Tests/SubDir/AnotherSubdir/pair_int.int.c,
- Tests/SubDir/ThirdSubDir/pair_int.int1.c,
- Utilities/cmcurl/CMakeLists.txt, Utilities/cmcurl/timeval.h,
- Utilities/cmcurl/CMake/CheckTypeSize.c.in,
- Utilities/cmcurl/CMake/CheckTypeSize.cmake,
- Utilities/cmcurl/Platforms/WindowsCache.cmake,
- Utilities/cmtar/handle.c, Utilities/cmtar/libtar.c: ENH: add
- support for watcom wmake and wcl386
-
-2006-01-17 09:27 hoffman
-
- * Modules/Platform/Windows-cl.cmake: ENH: correct standard
- libraries
-
-2006-01-17 00:46 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-16 12:54 yogi.girdhar
-
- * Utilities/cmtar/compat/compat.h: COMP: wrapped compat.h inside a
- extern C block so that we can use it in C++ code
-
-2006-01-16 00:42 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-15 00:43 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-14 10:27 king
-
- * Source/cmGlobalXCodeGenerator.cxx: COMP: Fixed shadowed variable
- warning.
-
-2006-01-14 00:42 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-13 20:51 king
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: Further centralized custom
- command dependency computation. Custom command dependencies in
- the source tree may now also be specified relative to the source
- directory.
-
-2006-01-13 19:36 king
-
- * Source/cmFLTKWrapUICommand.cxx: BUG: Removed bogust dependency.
-
-2006-01-13 19:35 king
-
- * Source/: cmFileCommand.cxx, cmLocalGenerator.cxx: COMP: Removed
- unused variables.
-
-2006-01-13 18:33 king
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmLocalUnixMakefileGenerator3.cxx: COMP: Removed unused paramter
- from cmLocalGenerator::OutputLinkLibraries.
-
-2006-01-13 18:18 king
-
- * Source/cmFileCommand.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmGlobalVisualStudio71Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.h,
- Source/cmGlobalXCodeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.h,
- Source/cmLinkLibrariesCommand.cxx, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalUnixMakefileGenerator3.h,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h, Source/cmMakefile.cxx,
- Source/cmOrderLinkDirectories.cxx,
- Source/cmOrderLinkDirectories.h, Source/cmTarget.cxx,
- Source/cmTarget.h, Source/cmTargetLinkLibrariesCommand.cxx,
- Source/cmTargetLinkLibrariesCommand.h, Source/cmXCodeObject.h,
- Source/CTest/cmCTestBuildAndTestHandler.cxx,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/complex.cxx: BUG: Sweeping
- changes to cleanup computation of target names. This should fix
- many bugs related to target names being computed inconsistently.
-
- - Centralized computation of a target's file name to a method in
- cmTarget. Now that global knowledge is always available the
- *_CMAKE_PATH cache variables are no longer needed.
-
- - Centralized computation of link library command lines and link
- directory search order.
-
- - Moved computation of link directories needed to link CMake
- targets to be after evaluation of linking dependencies.
-
- This also removed alot of duplicate code in which each version
- had its own bugs.
-
- This commit is surrounded by the tags
-
- CMake-TargetNameCentralization1-pre
-
- and
-
- CMake-TargetNameCentralization1-post
-
- so make the large set of changes easy to identify.
-
-2006-01-13 11:44 hoffman
-
- * Source/cmTryCompileCommand.cxx,
- Utilities/cmcurl/CMake/CheckTypeSize.cmake: ENH: fix for CMakeTmp
- move broken stuff
-
-2006-01-13 09:57 hoffman
-
- * Modules/: CheckTypeSize.c.in, CheckTypeSize.cmake: ENH: fix
- checktypesize
-
-2006-01-13 00:43 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-12 23:08 hoffman
-
- * Modules/: CheckTypeSize.c.in, CheckTypeSize.cmake: ENH: move
- define into configured file and do not use the command line
-
-2006-01-12 14:21 andy
-
- * Source/: cmGeneratedFileStream.cxx, cmGeneratedFileStream.h:
- COMP: Remove warning
-
-2006-01-12 13:48 martink
-
- * Modules/CMakeTestCCompiler.cmake,
- Modules/CMakeTestCXXCompiler.cmake,
- Modules/CMakeTestFortranCompiler.cmake,
- Modules/CheckCSourceCompiles.cmake,
- Modules/CheckCXXSourceCompiles.cmake,
- Modules/CheckIncludeFile.cmake,
- Modules/CheckIncludeFileCXX.cmake,
- Modules/CheckIncludeFiles.cmake, Modules/CheckSymbolExists.cmake,
- Modules/CheckTypeSize.cmake, Modules/FindSDL_sound.cmake,
- Modules/Platform/Windows-cl.cmake,
- Source/cmTryCompileCommand.cxx, Source/cmTryCompileCommand.h,
- Source/cmTryRunCommand.cxx,
- Utilities/cmcurl/CMake/CheckTypeSize.cmake,
- Tests/TryCompile/CMakeLists.txt: ENH: put CmakeTmp into
- CMakeFiles
-
-2006-01-12 11:10 hoffman
-
- * Modules/FindwxWindows.cmake: ENH: contribution from Jan Woetzel
-
-2006-01-12 09:20 andy
-
- * Source/cmGeneratedFileStream.cxx: COMP: Fix compile error that
- was caused by the binary flag
-
-2006-01-12 00:40 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-11 19:12 andy
-
- * Source/CPack/cmCPackTGZGenerator.cxx: ENH: Fix compression on
- Windows
-
-2006-01-11 19:06 andy
-
- * Source/: cmGeneratedFileStream.cxx, cmGeneratedFileStream.h: ENH:
- Add support for binary
-
-2006-01-11 11:23 andy
-
- * Source/CPack/cmCPackGenericGenerator.cxx: ENH: Add a way to
- specify a custom install command
-
-2006-01-11 11:08 andy
-
- * CMakeLists.txt, Modules/CPack.cmake, Modules/NSIS.template.in,
- Source/CPack/cmCPackGenericGenerator.cxx,
- Templates/CPackConfig.cmake.in: ENH: Some improvements: specify
- link, copy msvc libraries, fix install directory
-
-2006-01-11 00:42 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-10 12:05 andy
-
- * Source/CPack/: cmCPackConfigure.h.in, cmCPackNSISGenerator.cxx,
- cmCPackNSISGenerator.h, cmCPackPackageMakerGenerator.h: COMP:
- Remove legacy code and fix sun build
-
-2006-01-10 00:44 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-09 18:24 andy
-
- * Modules/NSIS.template.in,
- Source/CPack/cmCPackGenericGenerator.cxx: ENH: Use specified
- output file name, also detect errors during install
-
-2006-01-09 18:20 andy
-
- * Templates/CPackConfig.cmake.in: ENH: Pass CPACK_PACKAGE_FILE_NAME
-
-2006-01-09 18:20 andy
-
- * Modules/CPack.cmake: ENH: Cleanup
-
-2006-01-09 16:34 andy
-
- * Modules/NSIS.template.in: BUG: Allow spaces in path
-
-2006-01-09 14:56 hoffman
-
- * Tests/CustomCommand/GeneratedHeader/: CMakeLists.txt,
- generated.h.in, main.cpp: ENH: add test for generated header
-
-2006-01-09 14:40 hoffman
-
- * Source/cmCustomCommand.cxx, Source/cmCustomCommand.h,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx, Source/cmTarget.cxx,
- Tests/CustomCommand/CMakeLists.txt,
- Tests/Wrapping/CMakeLists.txt, Tests/Wrapping/fakefluid.cxx: ENH:
- for all custom commands that can not be given to a target, add
- them to all targets in the current makefile
-
-2006-01-09 13:15 andy
-
- * CMakeLists.txt: STYLE: Add an explanation for a bunch of
- backslashes
-
-2006-01-09 13:14 andy
-
- * Source/CPack/cmCPackTGZGenerator.cxx: BUG: Fix memory problem
-
-2006-01-09 12:46 hoffman
-
- * Utilities/Release/: Release.cmake, cmake_release.sh.in: ENH:
-
-2006-01-09 12:45 hoffman
-
- * Modules/: FindQt.cmake, FindQt4.cmake: ENH: add qt quiet stuff
-
-2006-01-09 11:26 andy
-
- * CMakeLists.txt, Modules/CPack.cmake,
- Source/CPack/cmCPackGenericGenerator.cxx,
- Templates/CPackConfig.cmake.in: ENH: Fix test for cpack
- variables, add support for icon on windows
-
-2006-01-09 00:41 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-08 00:41 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-07 00:43 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-06 15:51 hoffman
-
- * Modules/: CMakeMSYSFindMake.cmake, CMakeMinGWFindMake.cmake,
- Platform/Linux-icpc.cmake: ENH: merge from main tree
-
-2006-01-06 15:51 hoffman
-
- * Source/: cmGlobalMSYSMakefileGenerator.cxx,
- cmGlobalMSYSMakefileGenerator.h,
- cmGlobalMinGWMakefileGenerator.cxx,
- cmGlobalMinGWMakefileGenerator.h: ENH: add missing files
-
-2006-01-06 15:07 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeGenericSystem.cmake,
- Modules/Platform/CYGWIN-g77.cmake, Modules/Platform/CYGWIN.cmake,
- Modules/Platform/Windows-cl.cmake,
- Modules/Platform/Windows-g77.cmake,
- Modules/Platform/Windows-gcc.cmake,
- Modules/Platform/Windows.cmake, Source/CMakeLists.txt,
- Source/cmAddExecutableCommand.cxx, Source/cmCTest.cxx,
- Source/cmDependsC.cxx, Source/cmDependsC.h,
- Source/cmFindFileCommand.cxx, Source/cmFindFileCommand.h,
- Source/cmFindPathCommand.cxx, Source/cmFindPathCommand.h,
- Source/cmGlobalBorlandMakefileGenerator.cxx,
- Source/cmGlobalNMakeMakefileGenerator.cxx,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmGlobalXCodeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.h, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalUnixMakefileGenerator3.h, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmOrderLinkDirectories.cxx,
- Source/cmOrderLinkDirectories.h, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h, Source/cmTarget.cxx, Source/cmTarget.h,
- Source/cmake.cxx, Source/CTest/cmCTestBuildAndTestHandler.cxx,
- Source/kwsys/ProcessUNIX.c, Source/kwsys/SystemTools.cxx,
- Source/kwsys/SystemTools.hxx.in, Tests/Complex/CMakeLists.txt,
- Tests/Complex/cmTestConfigure.h.in,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexOneConfig/cmTestConfigure.h.in,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/CMakeLists.txt,
- Tests/ComplexRelativePaths/cmTestConfigure.h.in,
- Tests/ComplexRelativePaths/Executable/complex.cxx,
- Tests/CustomCommand/CMakeLists.txt,
- Utilities/Release/cmake_release.sh,
- Utilities/Release/cmake_release.sh.in: ENH: merges from main tree
-
-2006-01-06 13:54 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: fix missing plist file
- error
-
-2006-01-06 10:45 andy
-
- * Utilities/cmtar/compat/snprintf.c: COMP: Try to remove more
- warnings
-
-2006-01-06 00:43 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-05 17:16 king
-
- * Source/: cmDependsC.cxx, cmDependsC.h: BUG: Fix for scanning
- generated headers included with double-quotes. Also fixed
- double-quote include support to not use the special quoted
- location when a full path is given on the include line.
-
-2006-01-05 15:49 king
-
- * Source/kwsys/testProcess.c: ENH: Added special test 0 to just run
- a given command line.
-
-2006-01-05 13:27 andy
-
- * Source/CPack/: cmCPackGenericGenerator.cxx, cpack.cxx: ENH: More
- debugging and work on PackageMaker code
-
-2006-01-05 13:25 yogi.girdhar
-
- * Utilities/cmtar/: config.h.in, libtar.c: BUG: libtar now compiles
- in VJ and works with vtkzlib
-
-2006-01-05 12:33 andy
-
- * Source/CPack/cmCPackLog.cxx: ENH: flush the output
-
-2006-01-05 12:16 andy
-
- * Source/CPack/cpack.cxx: BUG: Use objects that exist
-
-2006-01-05 12:16 andy
-
- * Source/CPack/cmCPackLog.cxx: BUG: Print the right line number to
- the right pipe
-
-2006-01-05 10:37 andy
-
- * Source/CPack/cmCPackPackageMakerGenerator.cxx: BUG: Revert back
-
-2006-01-05 09:18 hoffman
-
- * CMakeLists.txt: ENH: use a safer check for CPack
-
-2006-01-05 09:13 hoffman
-
- * Source/: cmAddExecutableCommand.cxx, cmGlobalXCodeGenerator.cxx,
- cmLocalUnixMakefileGenerator3.cxx, cmMakefile.cxx: ENH: fix
- bundles for Mac and Xcode
-
-2006-01-05 03:15 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-04 16:24 hoffman
-
- * Source/CPack/cmCPackTGZGenerator.cxx: ENH: remove assert
-
-2006-01-04 15:13 andy
-
- * CMakeLists.txt, Modules/CPack.Description.plist.in,
- Modules/NSIS.template.in,
- Source/CPack/cmCPackGenericGenerator.cxx,
- Source/CPack/cmCPackSTGZGenerator.cxx,
- Source/CPack/cmCPackTGZGenerator.cxx, Source/CPack/cpack.cxx,
- Modules/CPack.cmake, Templates/CPackConfig.cmake.in: ENH: More
- CPack stuff and fix zlib compression
-
-2006-01-04 09:55 hoffman
-
- * Source/cmFindPathCommand.cxx: ENH: remove debug print stuff
-
-2006-01-04 08:32 andy
-
- * Source/kwsys/CMakeLists.txt: COMP: Do not build tests if build
- testing is off
-
-2006-01-04 01:15 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-03 17:11 hoffman
-
- * Utilities/Release/cmake_release.sh: ENH: update revision numbers
-
-2006-01-03 17:07 hoffman
-
- * Utilities/Release/cmake_release.sh.in: ENH: move to patch 2
-
-2006-01-03 16:40 hoffman
-
- * Source/cmMakefile.cxx, Source/cmMakefile.h,
- Tests/Complex/CMakeLists.txt, Tests/Complex/cmTestConfigure.h.in,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexOneConfig/cmTestConfigure.h.in,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/CMakeLists.txt,
- Tests/ComplexRelativePaths/cmTestConfigure.h.in,
- Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: add new
- cmakedefine01 feature from bug report 2603
-
-2006-01-03 14:00 hoffman
-
- * Modules/Platform/: CYGWIN-g77.cmake, CYGWIN.cmake: ENH: add exe
- stuff for cygwin
-
-2006-01-03 08:39 andy
-
- * Source/cmSystemTools.cxx: COMP: Remove warnings on HP-UX
-
-2006-01-03 08:39 andy
-
- * Utilities/cmtar/append.c, Utilities/cmtar/extract.c,
- Utilities/cmtar/libtar.c, Source/CPack/cmCPackLog.cxx,
- Source/CPack/cpack.cxx: COMP: Remove warnings
-
-2006-01-03 01:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-02 17:28 andy
-
- * Source/CPack/: cmCPackGenerators.cxx,
- cmCPackGenericGenerator.cxx, cmCPackGenericGenerator.h,
- cmCPackNSISGenerator.cxx, cmCPackNSISGenerator.h,
- cmCPackPackageMakerGenerator.cxx, cmCPackPackageMakerGenerator.h,
- cmCPackSTGZGenerator.cxx, cmCPackSTGZGenerator.h,
- cmCPackTGZGenerator.cxx, cmCPackTGZGenerator.h, cpack.cxx: ENH:
- Start working on CPack input file and cleanups
-
-2006-01-02 17:22 andy
-
- * Source/CPack/: cmCPackLog.h, cmCPackLog.cxx: COMP: Fix compile
- errors
-
-2006-01-02 16:14 andy
-
- * Source/: CMakeLists.txt, CPack/cmCPackGenerators.cxx,
- CPack/cmCPackGenerators.h, CPack/cmCPackGenericGenerator.cxx,
- CPack/cmCPackGenericGenerator.h, CPack/cmCPackLog.cxx,
- CPack/cmCPackLog.h, CPack/cmCPackNSISGenerator.cxx,
- CPack/cmCPackPackageMakerGenerator.cxx,
- CPack/cmCPackSTGZGenerator.cxx, CPack/cmCPackTGZGenerator.cxx,
- CPack/cpack.cxx: ENH: More improvements and add logging
-
-2006-01-02 15:01 hoffman
-
- * Tests/: CustomCommand/CMakeLists.txt, Wrapping/CMakeLists.txt:
- BUG: force EXECUABLE and LIBRARY output paths so bad cache
- entries do not fail tests
-
-2006-01-02 14:33 andy
-
- * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt: BUG: Flush the EXECUTABLE
- and LIBRARY output path to internal
-
-2006-01-02 13:37 hoffman
-
- * Modules/CMakeGenericSystem.cmake,
- Modules/Platform/Windows-g77.cmake,
- Modules/Platform/Windows-gcc.cmake,
- Modules/Platform/Windows.cmake, Source/cmTarget.cxx: BUG: fix for
- bug 2322, use CMAKE_EXECUTABLE_SUFFIX variable for exe suffix
-
-2006-01-02 13:34 hoffman
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: fix build problem
- on gcc
-
-2006-01-02 12:36 hoffman
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: BUG: fix for bug 2533, make
- foo/foo.o now works and .o files are in the help
-
-2006-01-02 11:39 andy
-
- * Source/CPack/cmCPackGenericGenerator.cxx: COMP: Remove warning
-
-2006-01-02 11:21 hoffman
-
- * Utilities/Release/Release.cmake: ENH: remove MS dll's from
- install on cygwin
-
-2006-01-02 11:07 hoffman
-
- * Source/: cmFindPathCommand.cxx, cmMakefile.cxx: ENH: change
- framework order
-
-2006-01-02 10:37 andy
-
- * Source/CPack/: cmCPackGenericGenerator.cxx,
- cmCPackGenericGenerator.h, cmCPackTGZGenerator.cxx,
- cmCPackTGZGenerator.h: COMP: Fix build problems
-
-2006-01-02 10:36 andy
-
- * Source/cmGeneratedFileStream.cxx: BUG: Fix the compression with
- custom extension
-
-2006-01-02 07:53 andy
-
- * Source/CPack/: cmCPackPackageMakerGenerator.cxx,
- cmCPackTGZGenerator.cxx, cmCPackTGZGenerator.h: ENH: Use libtar
-
-2006-01-02 07:52 andy
-
- * Source/: cmGeneratedFileStream.cxx, cmGeneratedFileStream.h: ENH:
- Add a way to overwrite compression extension
-
-2006-01-02 01:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2006-01-01 23:31 andy
-
- * Source/: CMakeLists.txt, cmSystemTools.cxx, cmSystemTools.h: ENH:
- Merge from cpack branch
-
-2006-01-01 23:28 andy
-
- * Modules/: CPack.Description.plist.in, CPack.Info.plist.in,
- NSIS.template.in: ENH: Merge from CPack branch
-
-2006-01-01 23:21 andy
-
- * Source/CPack/: cmCPackConfigure.h.in, cmCPackGenerators.cxx,
- cmCPackGenerators.h, cmCPackGenericGenerator.cxx,
- cmCPackGenericGenerator.h, cmCPackNSISGenerator.cxx,
- cmCPackNSISGenerator.h, cmCPackPackageMakerGenerator.cxx,
- cmCPackPackageMakerGenerator.h, cmCPackSTGZGenerator.cxx,
- cmCPackSTGZGenerator.h, cmCPackTGZGenerator.cxx,
- cmCPackTGZGenerator.h, cpack.cxx: ENH: Merge from the cpack
- branch
-
-2006-01-01 01:05 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-31 13:10 king
-
- * Tests/TarTest/CMakeLists.txt: ENH: Simplified ln command to use
- relative path in symlink.
-
-2005-12-31 12:59 king
-
- * Source/kwsys/ProcessUNIX.c: BUG: When more than one command is
- given and one of them fails to start and the rest are killed, do
- not forget to reap the killed children.
-
-2005-12-31 10:33 andy
-
- * Utilities/cmtar/: CMakeLists.txt, config.h.in, internal.h: COMP:
- Try to fix major/minor problem on aix
-
-2005-12-31 09:40 andy
-
- * Utilities/cmtar/: CMakeLists.txt, config.h.in, internal.h: COMP:
- Attempt to fix problems with major and minor
-
-2005-12-31 01:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-30 21:54 hoffman
-
- * Source/: cmFindFileCommand.cxx, cmFindFileCommand.h,
- cmFindPathCommand.cxx, cmFindPathCommand.h: ENH: move framework
- stuff from FindFile to FindPath
-
-2005-12-30 21:54 hoffman
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: fix so verbose is
- put in the correct place
-
-2005-12-30 17:51 andy
-
- * Utilities/cmtar/compat/snprintf.c: COMP: Fix systems that do not
- have both vsnprintf and snprintf.
-
-2005-12-30 17:27 andy
-
- * Utilities/cmtar/: CMakeLists.txt, config.h.in, compat/compat.h,
- compat/snprintf.c: COMP: Fix support for vsnprintf
-
-2005-12-30 16:28 andy
-
- * Source/cmSystemTools.cxx: COMP: Fix warning on sun
-
-2005-12-30 16:05 andy
-
- * Utilities/cmtar/extract.c: COMP: Another borland bug
-
-2005-12-30 15:46 andy
-
- * Tests/TarTest/CMakeLists.txt: ENH: Add testing of symlinks too
-
-2005-12-30 15:46 andy
-
- * Utilities/cmtar/extract.c: BUG: Handle mkdirhier properly since
- it may modify the string
-
-2005-12-30 15:32 andy
-
- * Source/cmSystemTools.cxx: COMP: Remove sun warning
-
-2005-12-30 15:27 andy
-
- * Source/CMakeLists.txt, Tests/TarTest/CMakeLists.txt,
- Tests/TarTest/TestTarExec.cxx: ENH: Add a tar test
-
-2005-12-30 15:25 andy
-
- * Source/cmake.cxx: ENH: Add a way to compare two files
-
-2005-12-30 14:51 andy
-
- * Source/cmSystemTools.cxx, Utilities/cmtar/handle.c,
- Utilities/cmtar/libtar.c, Utilities/cmtar/libtar.h: ENH: Cleanup
- the file handler stuf so that now any file descriptor type can be
- used
-
-2005-12-30 14:50 andy
-
- * CMakeLists.txt, Utilities/cmcurl/CMakeLists.txt,
- Utilities/cmexpat/CMakeLists.txt, Utilities/cmtar/CMakeLists.txt,
- Utilities/cmzlib/CMakeLists.txt, Source/CMakeLists.txt: COMP:
- Cleanup regular expressions
-
-2005-12-30 14:31 andy
-
- * Source/cmSystemTools.cxx: COMP: Remove unused variable
-
-2005-12-30 14:23 andy
-
- * Utilities/cmtar/compat/: basename.c, dirname.c: COMP: Remove
- warnings by exposing some variables
-
-2005-12-30 14:22 andy
-
- * Source/cmSystemTools.cxx, Utilities/cmtar/handle.c,
- Utilities/cmtar/libtar.c, Utilities/cmtar/libtar.h: COMP: Fix
- support for gzip on non-32 bit platforms
-
-2005-12-30 13:22 andy
-
- * Utilities/cmtar/util.c: COMP: Remove warning about argument not
- being int
-
-2005-12-30 13:22 andy
-
- * Source/: cmFindFileCommand.cxx, cmGlobalXCodeGenerator.cxx: COMP:
- Remove shadow variable warning
-
-2005-12-30 12:58 andy
-
- * Source/cmSystemTools.cxx: COMP: Use mangle names
-
-2005-12-30 12:58 andy
-
- * Source/: cmFindFileCommand.cxx, cmTarget.cxx: COMP: Remove
- warnings
-
-2005-12-30 10:35 andy
-
- * Utilities/cmtar/: CMakeLists.txt, append.c, config.h.in,
- encode.c, internal.h, output.c, util.c, wrapper.c: BUG: Several
- Borland fixes
-
-2005-12-30 01:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-29 12:19 andy
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h, cmake.cxx: ENH: Make
- the syntax more line tar
-
-2005-12-29 12:18 andy
-
- * Utilities/cmtar/append.c: COMP: More cygwin fixes
-
-2005-12-29 11:42 andy
-
- * Utilities/cmtar/append.c: BUG: Fix on cygwin... again?
-
-2005-12-29 11:15 andy
-
- * Utilities/cmtar/output.c: COMP: Try to remove warnings and add
- support for cygwin
-
-2005-12-29 10:52 andy
-
- * Source/cmake.cxx: ENH: Make additional file names optional
-
-2005-12-29 10:43 andy
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h, cmake.cxx: ENH: Add
- untaring support
-
-2005-12-29 10:41 andy
-
- * Utilities/cmtar/extract.c: BUG: Fix extract. Looks like dirname
- actually changes the string, so temporary string should be used
-
-2005-12-29 09:11 andy
-
- * Utilities/cmtar/: output.c, compat/compat.h: COMP: Remove c++
- style comments
-
-2005-12-29 01:04 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-28 20:04 andy
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt: BUG: Now really
- fix the test
-
-2005-12-28 19:31 andy
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt: COMP: Fix test
-
-2005-12-28 17:02 andy
-
- * Source/cmSystemTools.cxx,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt: COMP: Fix
- complex test and fix bootstrap
-
-2005-12-28 16:53 andy
-
- * Source/cmSystemTools.cxx: COMP: Add missing include
-
-2005-12-28 16:44 andy
-
- * Source/cmSystemTools.cxx: BUG: Return proper values
-
-2005-12-28 16:43 andy
-
- * Utilities/cmtar/: extract.c, libtar.c: COMP: Remove more warnings
-
-2005-12-28 16:31 andy
-
- * Source/cmake.cxx: ENH: Add command to create tar
-
-2005-12-28 16:30 andy
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Add method to
- create tar
-
-2005-12-28 16:30 andy
-
- * Source/CMakeLists.txt: COMP: Link tar library to cmake
-
-2005-12-28 16:29 andy
-
- * CMakeLists.txt: COMP: Fix path to include files
-
-2005-12-28 15:31 andy
-
- * Utilities/cmtar/: CMakeLists.txt, config.h.in, handle.c,
- compat/compat.h: COMP: Remove more warnings and rename library to
- cmtar
-
-2005-12-28 15:03 andy
-
- * Utilities/cmtar/append.c: COMP: Remove warning
-
-2005-12-28 14:58 andy
-
- * Utilities/cmtar/: CMakeLists.txt, append.c, decode.c, extract.c,
- filesystem.c, filesystem.h, handle.c, internal.h, libtar.c,
- util.c, wrapper.c, compat/basename.c, compat/compat.h,
- compat/dirname.c: COMP: Several borland fixes
-
-2005-12-28 14:50 andy
-
- * Utilities/cmtar/compat/snprintf.c: COMP: Remove warnings
-
-2005-12-28 13:36 andy
-
- * CMakeLists.txt: ENH: First cut at enabling tar
-
-2005-12-28 13:35 andy
-
- * Utilities/cmtar/append.c: COMP: Only do O_BINARY on windows
-
-2005-12-28 13:33 andy
-
- * Utilities/cmtar/: append.c, libtar.c: COMP: Fix windows
-
-2005-12-28 13:01 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-28 12:34 andy
-
- * Utilities/cmtar/libtar.c: ENH: Fix building on cygwin
-
-2005-12-28 12:24 andy
-
- * Utilities/cmtar/: CMakeLists.txt, config.h.in, extract.c,
- libtar.c: COMP: Fix build on sun by adding missing include
-
-2005-12-28 11:00 andy
-
- * Utilities/cmtar/: CMakeLists.txt, decode.c, filesystem.c,
- wrapper.c, compat/basename.c, compat/dirname.c, compat/fnmatch.c,
- compat/snprintf.c: ENH: Windows fixes
-
-2005-12-28 10:28 andy
-
- * CMakeLists.txt: ENH: Merge change from the main tree
-
-2005-12-28 10:19 andy
-
- * CMakeLists.txt: ENH: Initial setup of libtar
-
-2005-12-28 10:18 andy
-
- * Utilities/cmtar/: CMakeLists.txt, COPYRIGHT, append.c, block.c,
- config.h.in, decode.c, encode.c, extract.c, filesystem.c,
- filesystem.h, handle.c, internal.h, libtar.c, libtar.h, output.c,
- tar.h, util.c, wrapper.c, compat/README, compat/basename.c,
- compat/compat.h, compat/dirname.c, compat/fnmatch.c,
- compat/gethostbyname_r.c, compat/gethostname.c,
- compat/getservbyname_r.c, compat/glob.c, compat/inet_aton.c,
- compat/snprintf.c, compat/strdup.c, compat/strlcat.c,
- compat/strlcpy.c, compat/strmode.c, compat/strrstr.c,
- compat/strsep.c, listhash/hash.c.in, listhash/list.c.in,
- listhash/listhash.h.in: ENH: Initial import
-
-2005-12-28 10:09 andy
-
- * Utilities/cmtar/: CMakeLists.txt, COPYRIGHT, append.c, block.c,
- config.h.in, decode.c, encode.c, extract.c, filesystem.c,
- filesystem.h, handle.c, internal.h, libtar.c, libtar.h, output.c,
- tar.h, util.c, wrapper.c, compat/README, compat/basename.c,
- compat/compat.h, compat/dirname.c, compat/fnmatch.c,
- compat/gethostbyname_r.c, compat/gethostname.c,
- compat/getservbyname_r.c, compat/glob.c, compat/inet_aton.c,
- compat/snprintf.c, compat/strdup.c, compat/strlcat.c,
- compat/strlcpy.c, compat/strmode.c, compat/strrstr.c,
- compat/strsep.c, listhash/hash.c.in, listhash/list.c.in,
- listhash/listhash.h.in: ENH: Initial import
-
-2005-12-28 10:07 andy
-
- * Source/cmake.cxx: ENH: Add file compare
-
-2005-12-27 15:33 hoffman
-
- * Source/: cmFindFileCommand.cxx, cmFindFileCommand.h,
- cmLocalUnixMakefileGenerator3.cxx: ENH: make sure -F is not
- duplicated
-
-2005-12-27 15:08 andy
-
- * Source/CPack/: cmCPackConfigure.h.in, cmCPackGenerators.cxx,
- cmCPackGenerators.h, cmCPackGenericGenerator.cxx,
- cmCPackGenericGenerator.h, cmCPackNSISGenerator.cxx,
- cmCPackNSISGenerator.h, cmCPackPackageMakerGenerator.cxx,
- cmCPackPackageMakerGenerator.h, cmCPackSTGZGenerator.h,
- cmCPackTGZGenerator.cxx, cmCPackTGZGenerator.h: ENH: Remove
- references to m_Makefile. It is now private. Fix several build
- problems. Change generator creation. ...
-
-2005-12-27 14:56 hoffman
-
- * Source/: cmFindFileCommand.cxx, cmFindFileCommand.h,
- cmGlobalXCodeGenerator.cxx, cmLocalGenerator.cxx: ENH: add
- framework support to FIND_FILE
-
-2005-12-27 14:32 andy
-
- * Source/CPack/cpack.cxx, Utilities/CMakeLists.txt: ENH: Improve
- help arguments and add generation of doc files
-
-2005-12-27 13:10 andy
-
- * Source/cmCTest.cxx: ENH: Fix command line argument parsing
-
-2005-12-27 13:03 hoffman
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: remove warning
-
-2005-12-26 13:14 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmLocalGenerator.cxx,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h, cmMakefile.cxx,
- cmOrderLinkDirectories.cxx, cmOrderLinkDirectories.h,
- cmSystemTools.cxx, cmSystemTools.h, cmTarget.cxx, cmTarget.h,
- kwsys/SystemTools.cxx: ENH: add better support for framework
- linking
-
-2005-12-26 01:06 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-25 01:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-24 01:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-23 01:09 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-22 16:42 hoffman
-
- * Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeMSYSFindMake.cmake,
- Modules/CMakeMinGWFindMake.cmake, Source/CMakeLists.txt,
- Source/cmGlobalBorlandMakefileGenerator.cxx,
- Source/cmGlobalMSYSMakefileGenerator.cxx,
- Source/cmGlobalMSYSMakefileGenerator.h,
- Source/cmGlobalMinGWMakefileGenerator.cxx,
- Source/cmGlobalMinGWMakefileGenerator.h,
- Source/cmGlobalNMakeMakefileGenerator.cxx,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalUnixMakefileGenerator3.h, Source/cmake.cxx: ENH:
- fix borland make clean targets before build, add new generators
- for msys and mingw
-
-2005-12-22 16:02 hoffman
-
- * ChangeLog.manual, Modules/CMake.cmake,
- Modules/CMakeBackwardCompatibilityC.cmake,
- Modules/CMakeBackwardCompatibilityCXX.cmake,
- Modules/CMakeCInformation.cmake,
- Modules/CMakeCXXInformation.cmake,
- Modules/CMakeCommonLanguageInclude.cmake,
- Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakeDetermineFortranCompiler.cmake,
- Modules/CMakeDetermineJavaCompiler.cmake,
- Modules/CMakeDetermineRCCompiler.cmake,
- Modules/CMakeDetermineSystem.cmake,
- Modules/CMakeExportBuildSettings.cmake,
- Modules/CMakeFindFrameworks.cmake,
- Modules/CMakeFortranInformation.cmake,
- Modules/CMakeImportBuildSettings.cmake,
- Modules/CMakeJavaInformation.cmake,
- Modules/CMakePrintSystemInformation.cmake,
- Modules/CMakeRCInformation.cmake,
- Modules/CMakeSystemSpecificInformation.cmake,
- Modules/CMakeTestCCompiler.cmake,
- Modules/CMakeTestCXXCompiler.cmake,
- Modules/CMakeTestFortranCompiler.cmake,
- Modules/CMakeTestJavaCompiler.cmake,
- Modules/CMakeTestRCCompiler.cmake,
- Modules/CMakeVS6BackwardCompatibility.cmake,
- Modules/CMakeVS7BackwardCompatibility.cmake, Modules/CTest.cmake,
- Modules/CheckCSourceCompiles.cmake,
- Modules/CheckCXXSourceCompiles.cmake,
- Modules/CheckFunctionExists.cmake,
- Modules/CheckIncludeFile.cmake,
- Modules/CheckIncludeFileCXX.cmake,
- Modules/CheckIncludeFiles.cmake,
- Modules/CheckLibraryExists.cmake,
- Modules/CheckSymbolExists.cmake, Modules/CheckTypeSize.cmake,
- Modules/CheckVariableExists.cmake, Modules/Dart.cmake,
- Modules/Documentation.cmake, Modules/FindAVIFile.cmake,
- Modules/FindCABLE.cmake, Modules/FindCurses.cmake,
- Modules/FindCygwin.cmake, Modules/FindDCMTK.cmake,
- Modules/FindDart.cmake, Modules/FindDoxygen.cmake,
- Modules/FindFLTK.cmake, Modules/FindGCCXML.cmake,
- Modules/FindGLU.cmake, Modules/FindGLUT.cmake,
- Modules/FindGTK.cmake, Modules/FindGnuplot.cmake,
- Modules/FindHTMLHelp.cmake, Modules/FindITK.cmake,
- Modules/FindImageMagick.cmake, Modules/FindJNI.cmake,
- Modules/FindJPEG.cmake, Modules/FindJava.cmake,
- Modules/FindKDE.cmake, Modules/FindLATEX.cmake,
- Modules/FindMFC.cmake, Modules/FindMPEG.cmake,
- Modules/FindMPEG2.cmake, Modules/FindMPI.cmake,
- Modules/FindMatlab.cmake, Modules/FindMotif.cmake,
- Modules/FindOpenAL.cmake, Modules/FindOpenGL.cmake,
- Modules/FindPHP4.cmake, Modules/FindPNG.cmake,
- Modules/FindPerl.cmake, Modules/FindPerlLibs.cmake,
- Modules/FindPhysFS.cmake, Modules/FindPike.cmake,
- Modules/FindPythonInterp.cmake, Modules/FindPythonLibs.cmake,
- Modules/FindQt.cmake, Modules/FindQt.cmake.bak,
- Modules/FindQt3.cmake, Modules/FindQt4.cmake,
- Modules/FindRuby.cmake, Modules/FindSDL.cmake,
- Modules/FindSDL.cmake.bak, Modules/FindSDL_image.cmake,
- Modules/FindSDL_image.cmake.bak, Modules/FindSDL_mixer.cmake,
- Modules/FindSDL_mixer.cmake.bak, Modules/FindSDL_net.cmake,
- Modules/FindSDL_net.cmake.bak, Modules/FindSDL_sound.cmake,
- Modules/FindSDL_ttf.cmake, Modules/FindSDL_ttf.cmake.bak,
- Modules/FindSWIG.cmake, Modules/FindSelfPackers.cmake,
- Modules/FindTCL.cmake, Modules/FindTIFF.cmake,
- Modules/FindTclsh.cmake, Modules/FindThreads.cmake,
- Modules/FindUnixCommands.cmake, Modules/FindVTK.cmake,
- Modules/FindWget.cmake, Modules/FindWish.cmake,
- Modules/FindX11.cmake, Modules/FindZLIB.cmake,
- Modules/FindwxWindows.cmake, Modules/TestBigEndian.cmake,
- Modules/TestCXXAcceptsFlag.cmake,
- Modules/TestForANSIForScope.cmake,
- Modules/TestForANSIStreamHeaders.cmake,
- Modules/TestForSTDNamespace.cmake, Modules/UseQt4.cmake,
- Modules/UseSWIG.cmake, Modules/UseVTK40.cmake,
- Modules/UseVTKBuildSettings40.cmake,
- Modules/UseVTKConfig40.cmake, Modules/Use_wxWindows.cmake,
- Modules/UsewxWidgets.cmake, Modules/readme.txt,
- Source/cmBuildCommand.cxx, Source/cmBuildNameCommand.h,
- Source/cmCTest.cxx, Source/cmDepends.cxx, Source/cmDepends.h,
- Source/cmDependsC.cxx, Source/cmDependsC.h,
- Source/cmDependsFortran.cxx, Source/cmDependsFortran.h,
- Source/cmDependsJava.cxx, Source/cmDependsJava.h,
- Source/cmDocumentation.cxx, Source/cmDocumentation.h,
- Source/cmFindPackageCommand.h,
- Source/cmGetCMakePropertyCommand.h,
- Source/cmGetDirectoryPropertyCommand.h,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmGlobalVisualStudio6Generator.h,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.h,
- Source/cmGlobalVisualStudio8Generator.cxx,
- Source/cmGlobalVisualStudio8Generator.h,
- Source/cmGlobalXCodeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.h,
- Source/cmInstallTargetsCommand.cxx, Source/cmLocalGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.cxx,
- Source/cmSetDirectoryPropertiesCommand.h,
- Source/cmSiteNameCommand.h, Source/cmTarget.cxx,
- Source/cmTarget.h, Source/cmTryRunCommand.h,
- Source/cmakemain.cxx, Source/CTest/cmCTestBuildCommand.cxx,
- Source/CTest/cmCTestUpdateHandler.cxx,
- Source/kwsys/ProcessWin32.c, Source/kwsys/SystemTools.cxx,
- Source/kwsys/SystemTools.hxx.in,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: merge changes from
- main tree to branch
-
-2005-12-22 15:41 andy
-
- * Modules/CPack.Description.plist.in, Modules/CPack.Info.plist.in,
- Source/CPack/cmCPackPackageMakerGenerator.cxx,
- Source/CPack/cmCPackPackageMakerGenerator.h: ENH: Ok, now it
- works
-
-2005-12-22 15:34 andy
-
- * Source/CPack/cmCPackGenericGenerator.cxx: ENH: Add mandatory
- project description file or string
-
-2005-12-22 15:34 andy
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Add XML
- encoduing method
-
-2005-12-22 01:13 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-21 15:45 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- ENH: make sure depend helper actually works, if a depend library
- gets updated, then the target needs to be removed, and the
- CONFIGURATION directory needs to be used
-
-2005-12-21 08:46 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Libraries and
- executables that are built with version numbers and symlinks
- should be built by a rule using the real file name. The symlink
- file names should be rules that just depend on the main rule.
- This way if a version number changes a target will re-link with
- the new name and the symlinks will be updated.
-
-2005-12-21 01:04 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-20 14:07 andy
-
- * Utilities/cmcurl/mprintf.c: COMP: Fix build on uclibc
-
-2005-12-20 13:53 hoffman
-
- * Modules/Platform/Windows-cl.cmake: ENH: remove duplicates
-
-2005-12-20 13:22 king
-
- * Source/kwsys/ProcessWin32.c: ENH: Improved robustness of sharing
- parent pipes with children. This ensures that the parent pipe
- handles are inherited by the children. If a parent pipe handle
- is invalid a handle to an empty pipe is given to the child to
- make sure all pipes are defined for the children.
-
-2005-12-20 09:20 andy
-
- * Source/CMakeLists.txt: ENH: Start working on PackageMaker
-
-2005-12-20 01:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-19 18:17 andy
-
- * Source/CPack/: cmCPackGenerators.cxx,
- cmCPackGenericGenerator.cxx, cmCPackGenericGenerator.h,
- cmCPackPackageMakerGenerator.cxx, cmCPackPackageMakerGenerator.h:
- ENH: Start working on Osx
-
-2005-12-19 11:29 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx,
- CTest/cmCTestBuildAndTestHandler.cxx: BUG: fix for bug 2560,
- Xcode does not create correct bundles
-
-2005-12-19 01:06 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-18 10:00 andy
-
- * Source/CPack/: cmCPackGenericGenerator.cxx,
- cmCPackGenericGenerator.h, cmCPackNSISGenerator.cxx,
- cmCPackNSISGenerator.h, cpack.cxx: ENH: 'Finish; NSI
-
-2005-12-18 09:59 andy
-
- * Modules/NSIS.template.in: ENH: Unify with Ken's
-
-2005-12-18 01:05 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-17 01:12 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-16 16:49 hoffman
-
- * Source/cmDocumentation.cxx: ENH: make sure uncommented modules
- are not documented
-
-2005-12-16 09:03 andy
-
- * Source/kwsys/SystemTools.cxx: BUG: Return if the file is in any
- directory not just in first one
-
-2005-12-16 01:12 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-15 16:28 andy
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: BUG: Fix test
-
-2005-12-15 14:17 martink
-
- * Modules/: FindMFC.cmake, FindMPEG.cmake, FindMPEG2.cmake,
- FindMPI.cmake, FindMotif.cmake, FindOpenGL.cmake, FindPHP4.cmake,
- FindPerl.cmake, FindPerlLibs.cmake, FindPhysFS.cmake,
- FindPike.cmake, FindPythonInterp.cmake, FindPythonLibs.cmake,
- FindQt.cmake, FindQt4.cmake, FindRuby.cmake, FindSDL.cmake,
- FindSDL_image.cmake, FindSDL_mixer.cmake, FindSDL_net.cmake,
- FindSDL_sound.cmake, FindSDL_ttf.cmake, FindTCL.cmake,
- FindTIFF.cmake, FindTclsh.cmake, FindThreads.cmake,
- FindVTK.cmake, FindWget.cmake, FindWish.cmake, FindX11.cmake,
- FindwxWindows.cmake, TestForANSIStreamHeaders.cmake,
- TestForSTDNamespace.cmake, UseSWIG.cmake, Use_wxWindows.cmake:
- ENH: cleanups
-
-2005-12-15 12:01 andy
-
- * Source/cmInstallTargetsCommand.cxx: ENH: Report an error if the
- target does not exists
-
-2005-12-15 10:41 martink
-
- * Modules/: CMakeBackwardCompatibilityCXX.cmake,
- CMakeExportBuildSettings.cmake, CMakeImportBuildSettings.cmake,
- CheckCXXSourceCompiles.cmake, CheckIncludeFile.cmake,
- CheckIncludeFileCXX.cmake, CheckIncludeFiles.cmake,
- CheckLibraryExists.cmake, CheckSymbolExists.cmake,
- CheckTypeSize.cmake, CheckVariableExists.cmake,
- FindAVIFile.cmake, FindCABLE.cmake, FindFLTK.cmake,
- FindGLUT.cmake, FindGTK.cmake, FindHTMLHelp.cmake, FindITK.cmake,
- FindImageMagick.cmake, FindJNI.cmake, FindJPEG.cmake,
- FindJava.cmake, FindLATEX.cmake, FindMatlab.cmake: ENH: some
- style fixes for the book
-
-2005-12-15 09:19 hoffman
-
- * Modules/FindQt3.cmake, Source/cmDocumentation.cxx: ENH: fix
- module documenation to handle bad docs and fix qt3 docs
-
-2005-12-15 01:47 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-14 13:51 hoffman
-
- * Modules/CMake.cmake, Modules/CMakeBackwardCompatibilityC.cmake,
- Modules/CMakeBackwardCompatibilityCXX.cmake,
- Modules/CMakeCInformation.cmake,
- Modules/CMakeCXXInformation.cmake,
- Modules/CMakeCommonLanguageInclude.cmake,
- Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakeDetermineFortranCompiler.cmake,
- Modules/CMakeDetermineJavaCompiler.cmake,
- Modules/CMakeDetermineRCCompiler.cmake,
- Modules/CMakeDetermineSystem.cmake,
- Modules/CMakeExportBuildSettings.cmake,
- Modules/CMakeFindFrameworks.cmake,
- Modules/CMakeFortranInformation.cmake,
- Modules/CMakeImportBuildSettings.cmake,
- Modules/CMakeJavaInformation.cmake,
- Modules/CMakePrintSystemInformation.cmake,
- Modules/CMakeRCInformation.cmake,
- Modules/CMakeSystemSpecificInformation.cmake,
- Modules/CMakeTestCCompiler.cmake,
- Modules/CMakeTestCXXCompiler.cmake,
- Modules/CMakeTestFortranCompiler.cmake,
- Modules/CMakeTestJavaCompiler.cmake,
- Modules/CMakeTestRCCompiler.cmake,
- Modules/CMakeVS6BackwardCompatibility.cmake,
- Modules/CMakeVS7BackwardCompatibility.cmake, Modules/CTest.cmake,
- Modules/CheckCSourceCompiles.cmake,
- Modules/CheckCXXSourceCompiles.cmake,
- Modules/CheckFunctionExists.cmake,
- Modules/CheckIncludeFile.cmake,
- Modules/CheckIncludeFileCXX.cmake,
- Modules/CheckIncludeFiles.cmake,
- Modules/CheckLibraryExists.cmake,
- Modules/CheckSymbolExists.cmake, Modules/CheckTypeSize.cmake,
- Modules/CheckVariableExists.cmake, Modules/Dart.cmake,
- Modules/Documentation.cmake, Modules/FindAVIFile.cmake,
- Modules/FindCABLE.cmake, Modules/FindCurses.cmake,
- Modules/FindCygwin.cmake, Modules/FindDCMTK.cmake,
- Modules/FindDart.cmake, Modules/FindDoxygen.cmake,
- Modules/FindFLTK.cmake, Modules/FindGCCXML.cmake,
- Modules/FindGLU.cmake, Modules/FindGLUT.cmake,
- Modules/FindGTK.cmake, Modules/FindGnuplot.cmake,
- Modules/FindHTMLHelp.cmake, Modules/FindITK.cmake,
- Modules/FindImageMagick.cmake, Modules/FindJNI.cmake,
- Modules/FindJPEG.cmake, Modules/FindJava.cmake,
- Modules/FindKDE.cmake, Modules/FindLATEX.cmake,
- Modules/FindMFC.cmake, Modules/FindMPEG.cmake,
- Modules/FindMPEG2.cmake, Modules/FindMPI.cmake,
- Modules/FindMatlab.cmake, Modules/FindMotif.cmake,
- Modules/FindOpenAL.cmake, Modules/FindOpenGL.cmake,
- Modules/FindPHP4.cmake, Modules/FindPNG.cmake,
- Modules/FindPerl.cmake, Modules/FindPerlLibs.cmake,
- Modules/FindPhysFS.cmake, Modules/FindPike.cmake,
- Modules/FindPythonInterp.cmake, Modules/FindPythonLibs.cmake,
- Modules/FindQt.cmake, Modules/FindQt3.cmake,
- Modules/FindQt4.cmake, Modules/FindRuby.cmake,
- Modules/FindSDL.cmake, Modules/FindSDL_image.cmake,
- Modules/FindSDL_mixer.cmake, Modules/FindSDL_net.cmake,
- Modules/FindSDL_sound.cmake, Modules/FindSDL_ttf.cmake,
- Modules/FindSWIG.cmake, Modules/FindSelfPackers.cmake,
- Modules/FindTCL.cmake, Modules/FindTIFF.cmake,
- Modules/FindTclsh.cmake, Modules/FindThreads.cmake,
- Modules/FindUnixCommands.cmake, Modules/FindVTK.cmake,
- Modules/FindWget.cmake, Modules/FindWish.cmake,
- Modules/FindX11.cmake, Modules/FindZLIB.cmake,
- Modules/FindwxWindows.cmake, Modules/TestBigEndian.cmake,
- Modules/TestCXXAcceptsFlag.cmake,
- Modules/TestForANSIForScope.cmake,
- Modules/TestForANSIStreamHeaders.cmake,
- Modules/TestForSTDNamespace.cmake, Modules/UseQt4.cmake,
- Modules/UseSWIG.cmake, Modules/UseVTK40.cmake,
- Modules/UseVTKBuildSettings40.cmake,
- Modules/UseVTKConfig40.cmake, Modules/Use_wxWindows.cmake,
- Modules/UsewxWidgets.cmake, Modules/readme.txt,
- Source/cmDocumentation.cxx, Source/cmDocumentation.h,
- Source/cmakemain.cxx: ENH: add documentation support for modules
-
-2005-12-14 11:00 king
-
- * Source/cmGlobalVisualStudio7Generator.h: ENH: Renamed
- ZeroTargetCheck target to ZERO_CHECK for consistency with other
- CMake-generated targets (ALL_BUILD, RUN_TESTS, INSTALL).
-
-2005-12-14 10:58 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: COMP: Fix conversion
- warning.
-
-2005-12-14 10:47 king
-
- * Source/: cmLocalGenerator.cxx, cmLocalUnixMakefileGenerator3.cxx,
- cmMakefile.cxx, cmTarget.cxx, cmTarget.h: ENH: Removed cmMakefile
- arguments from cmTarget methods because cmTarget has the ivar
- m_Makefile now. Re-implemented
- cmLocalUnixMakefileGenerator3::AppendAnyDepend to use the new
- global knowledge and avoid the need to look at the cache for
- information about other targets. This should fix problems with
- custom commands and executables with the OUTPUT_NAME set. Also
- the <target>_LIBRARY_TYPE cache variable is no longer needed at
- all and has been removed.
-
-2005-12-13 18:23 king
-
- * Source/cmGlobalVisualStudio8Generator.cxx: COMP: Fixed unused
- variable warning.
-
-2005-12-13 15:16 andy
-
- * Source/CTest/cmCTestUpdateHandler.cxx: BUG: Fix the problem with
- update.xml.tmp not being coppied
-
-2005-12-13 15:14 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: removed
- TARGET_DIR_PREFIX support and someother fix
-
-2005-12-13 15:13 martink
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: removed
- TARGET_DIR_PREFIX support
-
-2005-12-13 15:12 martink
-
- * Source/cmTryRunCommand.h: STYLE: fix missing docs
-
-2005-12-13 14:21 king
-
- * Source/: cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h,
- cmGlobalVisualStudio8Generator.cxx,
- cmGlobalVisualStudio8Generator.h,
- cmLocalVisualStudio7Generator.cxx: ENH: Added support for
- parallel builds in VS 8. There is now a special target on which
- all other targets depend that re-runs CMake if any listfiles have
- been changed. This addresses bug#2512.
-
-2005-12-13 14:07 martink
-
- * Utilities/Release/CMake.nsi.in: ENH: removed the add to path
-
-2005-12-13 04:24 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-12 11:34 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: fix for bug 2584,
- empty source groups with children skipped
-
-2005-12-12 04:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-11 04:20 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-11 00:12 andy
-
- * Source/kwsys/SystemTools.cxx: COMP: for a in range(100):
- write_on_board(No std in kwsys...)
-
-2005-12-10 12:16 andy
-
- * Modules/NSIS.template.in: ENH: Some fixes to make it work
-
-2005-12-10 12:14 andy
-
- * Source/CPack/: cmCPackGenericGenerator.cxx,
- cmCPackGenericGenerator.h, cmCPackNSISGenerator.cxx, cpack.cxx:
- ENH: More work on NSIS:
-
-2005-12-10 12:11 andy
-
- * Source/cmLocalGenerator.cxx: ENH: Allow the installer to
- overwrite the install prefix
-
-2005-12-10 12:10 andy
-
- * Source/kwsys/: CommandLineArguments.cxx,
- CommandLineArguments.hxx.in: ENH: Add a method to remove
- remaining arguments
-
-2005-12-10 12:09 andy
-
- * Source/kwsys/Glob.hxx.in: COMP: Fix the exporting so that it can
- actually be used
-
-2005-12-10 12:08 andy
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Add
- another signature to FindProgram that matches more to the one
- from CMake
-
-2005-12-10 04:21 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-09 23:04 hoffman
-
- * Source/: cmDependsC.cxx, cmDependsC.h: ENH: try to fix hp build
- problem
-
-2005-12-09 16:32 andy
-
- * Source/cmDependsC.h: ENH: fix compile error
-
-2005-12-09 14:30 hoffman
-
- * Source/: cmDependsC.cxx, cmDependsC.h: ENH: clean up style a bit
-
-2005-12-09 13:58 hoffman
-
- * Source/: cmDependsC.cxx, cmDependsC.h,
- cmLocalUnixMakefileGenerator3.cxx: PERF: apply patch for bug 2575
- speeds up depend scanning
-
-2005-12-09 04:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-08 04:21 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-07 11:39 andy
-
- * Source/: cmBuildNameCommand.h, cmFindPackageCommand.h,
- cmGetCMakePropertyCommand.h, cmGetDirectoryPropertyCommand.h,
- cmSetDirectoryPropertiesCommand.h, cmSiteNameCommand.h: ENH: Make
- commands scriptable
-
-2005-12-06 10:55 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-05 08:19 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-04 05:04 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-03 06:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-02 09:18 hoffman
-
- * Utilities/Release/cmake_release.sh: ENH: update revision numbers
-
-2005-12-02 09:16 hoffman
-
- * ChangeLog.manual, Utilities/Release/config_IRIX64,
- Utilities/Release/release_dispatch.sh: ENH: fix change log and
- change sgi release scripts
-
-2005-12-02 05:30 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-12-01 21:52 andy
-
- * Modules/NSIS.template.in, Source/CPack/cmCPackNSISGenerator.cxx,
- Source/CPack/cmCPackNSISGenerator.h: ENH: Work on nsis
-
-2005-12-01 12:27 hoffman
-
- * Utilities/Release/cmake_release.sh: ENH: update revision numbers
-
-2005-12-01 11:41 andy
-
- * Source/: cmBuildCommand.cxx, cmGlobalGenerator.cxx,
- cmGlobalGenerator.h, cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h, cmGlobalXCodeGenerator.cxx,
- cmGlobalXCodeGenerator.h, CTest/cmCTestBuildCommand.cxx: ENH: Add
- a way for the generated command to include extra flags. This is
- useful for CTest (or try compile) to add -j2
-
-2005-12-01 05:32 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-30 13:46 andy
-
- * Source/cmMakefile.cxx: ENH: Add variable for debugging. This
- variable CMAKE_PARENT_LIST_FILE holds the parent CMake list file
- of the current cmake list file.
-
-2005-11-30 05:22 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-29 05:24 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-28 15:57 hoffman
-
- * Source/CMakeLists.txt, Tests/Tutorial/Step1/CMakeLists.txt,
- Tests/Tutorial/Step1/TutorialConfig.h.in,
- Tests/Tutorial/Step1/tutorial.cxx,
- Tests/Tutorial/Step2/CMakeLists.txt,
- Tests/Tutorial/Step2/TutorialConfig.h.in,
- Tests/Tutorial/Step2/tutorial.cxx,
- Tests/Tutorial/Step2/MathFunctions/CMakeLists.txt,
- Tests/Tutorial/Step2/MathFunctions/MathFunctions.h,
- Tests/Tutorial/Step2/MathFunctions/mysqrt.cxx,
- Tests/Tutorial/Step3/CMakeLists.txt,
- Tests/Tutorial/Step3/TutorialConfig.h.in,
- Tests/Tutorial/Step3/tutorial.cxx,
- Tests/Tutorial/Step3/MathFunctions/CMakeLists.txt,
- Tests/Tutorial/Step3/MathFunctions/MathFunctions.h,
- Tests/Tutorial/Step3/MathFunctions/mysqrt.cxx,
- Tests/Tutorial/Step4/CMakeLists.txt,
- Tests/Tutorial/Step4/TutorialConfig.h.in,
- Tests/Tutorial/Step4/tutorial.cxx,
- Tests/Tutorial/Step4/MathFunctions/CMakeLists.txt,
- Tests/Tutorial/Step4/MathFunctions/MathFunctions.h,
- Tests/Tutorial/Step4/MathFunctions/mysqrt.cxx,
- Tests/Tutorial/Step5/CMakeLists.txt,
- Tests/Tutorial/Step5/TutorialConfig.h.in,
- Tests/Tutorial/Step5/tutorial.cxx,
- Tests/Tutorial/Step5/MathFunctions/CMakeLists.txt,
- Tests/Tutorial/Step5/MathFunctions/MakeTable.cxx,
- Tests/Tutorial/Step5/MathFunctions/MathFunctions.h,
- Tests/Tutorial/Step5/MathFunctions/mysqrt.cxx: ENH: move tutorial
- to branch
-
-2005-11-28 15:15 hoffman
-
- * CMakeLists.txt, Source/cmDependsFortranLexer.cxx,
- Source/cmDependsFortranLexer.in.l: ENH: Version 2.2.3
-
-2005-11-28 14:19 hoffman
-
- * Modules/VTKCompatibility.cmake: ENH: fix problem with building
- vtk 4.4.2
-
-2005-11-28 14:05 hoffman
-
- * Modules/VTKCompatibility.cmake: ENH: fix for vtk 4.4.2 and cmake
- 2.2
-
-2005-11-28 05:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-27 05:27 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-26 05:21 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-25 05:18 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-24 05:21 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-23 12:33 hoffman
-
- * ChangeLog.manual, Modules/CMakeCCompiler.cmake.in,
- Modules/CMakeTestCCompiler.cmake,
- Modules/CMakeTestJavaCompiler.cmake,
- Modules/CheckFunctionExists.cmake,
- Modules/CheckIncludeFile.cmake,
- Modules/CheckIncludeFileCXX.cmake,
- Modules/CheckIncludeFiles.cmake,
- Modules/CheckLibraryExists.cmake,
- Modules/CheckSymbolExists.cmake,
- Modules/CheckVariableExists.cmake, Modules/FindOpenAL.cmake,
- Modules/FindPhysFS.cmake, Modules/FindQt3.cmake,
- Modules/FindSDL.cmake, Modules/FindSDL.cmake.bak,
- Modules/FindSDL_image.cmake, Modules/FindSDL_image.cmake.bak,
- Modules/FindSDL_mixer.cmake, Modules/FindSDL_mixer.cmake.bak,
- Modules/FindSDL_net.cmake, Modules/FindSDL_net.cmake.bak,
- Modules/FindSDL_sound.cmake, Modules/FindSDL_ttf.cmake,
- Modules/FindSDL_ttf.cmake.bak, Modules/Platform/SunOS.cmake,
- Modules/Platform/Windows-cl.cmake,
- Modules/Platform/Windows-icl.cmake,
- Modules/Platform/Windows-ifort.cmake,
- Source/cmAddLibraryCommand.h, Source/cmAddSubDirectoryCommand.h,
- Source/cmCMakeMinimumRequired.h, Source/cmCPluginAPI.h,
- Source/cmCTest.cxx, Source/cmConfigureFileCommand.h,
- Source/cmCreateTestSourceList.h, Source/cmElseCommand.h,
- Source/cmEnableLanguageCommand.h,
- Source/cmEnableTestingCommand.h, Source/cmEndForEachCommand.h,
- Source/cmEndIfCommand.h, Source/cmEndWhileCommand.h,
- Source/cmExecProgramCommand.h, Source/cmFLTKWrapUICommand.h,
- Source/cmFileCommand.h, Source/cmForEachCommand.h,
- Source/cmGetCMakePropertyCommand.h,
- Source/cmGetDirectoryPropertyCommand.h,
- Source/cmGetSourceFilePropertyCommand.h,
- Source/cmGetTargetPropertyCommand.h,
- Source/cmGetTestPropertyCommand.h,
- Source/cmGlobalVisualStudio7Generator.h,
- Source/cmGlobalVisualStudio8Generator.cxx,
- Source/cmGlobalXCodeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.h, Source/cmIfCommand.cxx,
- Source/cmIfCommand.h, Source/cmIncludeCommand.h,
- Source/cmInstallFilesCommand.h, Source/cmInstallTargetsCommand.h,
- Source/cmLoadCacheCommand.h, Source/cmLocalGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmMacroCommand.h, Source/cmMakefile.cxx,
- Source/cmMarkAsAdvancedCommand.h, Source/cmMessageCommand.h,
- Source/cmOrderLinkDirectories.cxx,
- Source/cmOrderLinkDirectories.h, Source/cmQTWrapCPPCommand.h,
- Source/cmQTWrapUICommand.h, Source/cmSetCommand.h,
- Source/cmSetSourceFilesPropertiesCommand.h,
- Source/cmSetTargetPropertiesCommand.h,
- Source/cmSetTestsPropertiesCommand.h, Source/cmSourceFile.cxx,
- Source/cmSourceGroupCommand.h, Source/cmSubdirCommand.h,
- Source/cmSystemTools.cxx, Source/cmTarget.cxx,
- Source/cmTryCompileCommand.h, Source/cmTryRunCommand.h,
- Source/cmVariableRequiresCommand.h, Source/cmWhileCommand.h,
- Source/cmWriteFileCommand.h, Source/cmXCode21Object.cxx,
- Source/cmXCodeObject.cxx, Source/cmXCodeObject.h,
- Source/ctest.cxx, Source/CTest/cmCTestBuildHandler.cxx,
- Source/CTest/cmCTestScriptHandler.h,
- Source/CTest/cmCTestSubmitHandler.cxx,
- Source/CTest/cmCTestTestHandler.cxx,
- Source/CTest/cmCTestTestHandler.h, Source/kwsys/ProcessUNIX.c,
- Source/kwsys/ProcessWin32.c, Source/kwsys/SystemTools.cxx,
- Tests/ExternalOBJ/CMakeLists.txt, Tests/Wrapping/CMakeLists.txt,
- Utilities/Release/CMake.nsi.in: ENH: merge fixes from main tree,
- see ChangeLog.manual
-
-2005-11-23 10:27 hoffman
-
- * Source/cmTarget.cxx: ENH: executable prefix and post fix
- variables should not be the same as the executable extension
-
-2005-11-23 05:35 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-22 17:03 king
-
- * Source/: cmMakefile.cxx, cmTarget.cxx: BUG: Do not expand escape
- sequences when re-expanding variables in include directories,
- link directories, and link libraries.
-
-2005-11-22 16:59 king
-
- * Source/cmOrderLinkDirectories.cxx: BUG: Do not accept a directory
- name as a library.
-
-2005-11-22 16:08 hoffman
-
- * Source/: cmOrderLinkDirectories.cxx, cmOrderLinkDirectories.h:
- BUG: fix for bug 2357, do not allow targets to link to
- directories
-
-2005-11-22 15:15 hoffman
-
- * Source/CTest/cmCTestScriptHandler.h: BUG: fix spelling error
-
-2005-11-22 13:37 king
-
- * Source/: cmGlobalVisualStudio7Generator.h,
- cmGlobalVisualStudio8Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: BUG: Tweak VS8 generator to
- keep VS8 happy. The .vcproj files need their own GUIDs in a
- ProjectGUID attribute. The top level .sln file needs a special
- comment at the top to allow it to be opened with double-click in
- explorer.
-
-2005-11-22 13:36 king
-
- * CMakeLists.txt: COMP: Define _CRT_SECURE_NO_DEPRECATE to build
- CMake itself on VS8. This disables 1000s of deprecation warnings
- about standard code.
-
-2005-11-22 12:04 hoffman
-
- * Modules/Platform/Windows-cl.cmake: BUG: fix for bug 2488
-
-2005-11-22 11:44 hoffman
-
- * Modules/Platform/: Linux-icpc.cmake, SunOS.cmake: ENH: more
- compiler flags
-
-2005-11-22 11:35 king
-
- * Source/cmSetTargetPropertiesCommand.h: STYLE: Fixed documentation
- to state target_EXPORTS default right after DEFINE_SYMBOL
- documentation instead of many sentences later in a random place.
-
-2005-11-22 11:33 king
-
- * Modules/FindQt3.cmake: BUG: QT_DEFINITIONS should not be quoted.
- This addresses bug#2481.
-
-2005-11-22 11:28 hoffman
-
- * Modules/CMakeTestJavaCompiler.cmake: ENH: set java compiler works
-
-2005-11-22 05:18 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-21 05:18 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-20 05:30 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-19 09:40 hoffman
-
- * Source/: cmLocalVisualStudio7Generator.cxx,
- cmSetTargetPropertiesCommand.h: ENH: add some more properties for
- visual studio projects
-
-2005-11-19 08:29 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: COMP: fix compile error
-
-2005-11-19 08:04 hoffman
-
- * Source/cmTryRunCommand.h: ENH: fix docs
-
-2005-11-19 05:22 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-18 17:07 andy
-
- * Source/CPack/: cmCPackGenerators.cxx,
- cmCPackGenericGenerator.cxx, cmCPackGenericGenerator.h,
- cmCPackTGZGenerator.cxx, cpack.cxx: ENH: Use cmMakefile instead
- for the options, more cleanups and start working on NSIS
-
-2005-11-18 17:07 andy
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Add
- another signature for FindProgram that takes the list of names
-
-2005-11-18 17:06 andy
-
- * Source/CMakeLists.txt: ENH: Add NSIS
-
-2005-11-18 16:59 hoffman
-
- * Source/cmXCodeObject.cxx: ENH: more chars need quotes
-
-2005-11-18 15:03 martink
-
- * Utilities/Release/CMake.nsi.in: BUG: fixe dproblem with not
- uninstalling start menu entries
-
-2005-11-18 14:12 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- ENH: fixes for Xcode 2.2
-
-2005-11-18 10:40 hoffman
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: add new error regex
-
-2005-11-18 10:36 king
-
- * Modules/Platform/Windows-cl.cmake,
- Modules/Platform/Windows-icl.cmake,
- Modules/Platform/Windows-ifort.cmake,
- Source/cmLocalVisualStudio7Generator.cxx: BUG: Fixed
- flag-to-vcproj-attribute conversion code to work again (it was
- broken by the optimization changes). Added conversion of /nologo
- flag to SuppressStartupBanner attribute and /Gy flag to
- EnableFunctionLevelLinking attribute.
-
-2005-11-17 16:49 king
-
- * Tests/Wrapping/CMakeLists.txt: COMP: Need target-level dependency
- from wrapper targets on Wrap executable target.
-
-2005-11-17 15:57 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: Fixed XML escapes
- for custom commands. Also added escaping of newlines for VS
- 2005.
-
-2005-11-17 15:44 king
-
- * Source/: cmCTest.cxx, cmSystemTools.cxx: BUG: Do not dereference
- an end iterator.
-
-2005-11-17 13:49 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmSourceFile.cxx, Tests/ExternalOBJ/CMakeLists.txt: BUG:
- Fixed support for external object files built by custom commands.
- Also added a test to keep it working.
-
-2005-11-17 11:44 martink
-
- * Source/: cmVariableRequiresCommand.h, cmWhileCommand.h,
- cmWriteFileCommand.h: STYLE: fix docs
-
-2005-11-17 11:37 martink
-
- * Source/: cmTryCompileCommand.h, cmTryRunCommand.h: STYLE: fix
- docs
-
-2005-11-17 11:20 martink
-
- * Source/cmSubdirCommand.h: STYLE: fix docs
-
-2005-11-17 11:04 martink
-
- * Source/cmSourceGroupCommand.h: STYLE: fix docs
-
-2005-11-17 10:41 martink
-
- * Source/cmSetTargetPropertiesCommand.h: STYLE: fix docs
-
-2005-11-17 10:36 martink
-
- * Source/cmSetSourceFilesPropertiesCommand.h: STYLE: fix docs
-
-2005-11-17 10:28 martink
-
- * Source/: cmQTWrapUICommand.h, cmSetCommand.h: STYLE: fix docs
-
-2005-11-17 10:20 martink
-
- * Source/: cmMessageCommand.h, cmQTWrapCPPCommand.h: STYLE: fix
- docs
-
-2005-11-17 09:44 martink
-
- * Source/cmIfCommand.cxx: BUG: clean up scoping
-
-2005-11-17 09:32 martink
-
- * Source/: cmIfCommand.cxx: BUG: fix incrementing past end
-
-2005-11-17 09:31 martink
-
- * Source/cmMarkAsAdvancedCommand.h: STYLE: fix docs
-
-2005-11-17 05:24 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-16 14:41 martink
-
- * Source/cmMacroCommand.h: STYLE: fix docs
-
-2005-11-16 14:36 martink
-
- * Source/: cmInstallTargetsCommand.h, cmLoadCacheCommand.h: STYLE:
- fix docs
-
-2005-11-16 14:27 martink
-
- * Source/cmInstallFilesCommand.h: STYLE: fix docs
-
-2005-11-16 14:08 martink
-
- * Source/: cmIfCommand.h, cmIncludeCommand.h: STYLE: fix docs
-
-2005-11-16 14:02 martink
-
- * Source/cmGetTestPropertyCommand.h: STYLE: fix docs
-
-2005-11-16 13:13 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmXCode21Object.cxx,
- cmXCodeObject.cxx, cmXCodeObject.h: ENH: fixes for xcode21 and
- build styles and comments in the generated project
-
-2005-11-16 12:08 martink
-
- * Source/: cmGetSourceFilePropertyCommand.h,
- cmGetTargetPropertyCommand.h: STYLE: fix docs
-
-2005-11-16 12:05 martink
-
- * Source/cmGetDirectoryPropertyCommand.h: STYLE: fix docs
-
-2005-11-16 12:00 martink
-
- * Source/: cmForEachCommand.h, cmGetCMakePropertyCommand.h: STYLE:
- fix docs
-
-2005-11-16 11:57 martink
-
- * Source/cmFLTKWrapUICommand.h: STYLE: fix docs
-
-2005-11-16 11:39 king
-
- * Source/kwsys/ProcessUNIX.c: STYLE: Documented reference to "man
- select_tut".
-
-2005-11-16 11:36 king
-
- * Source/kwsys/ProcessWin32.c: BUG: Do not close handle obtained
- from GetModuleHandle which does not increase the reference count
- of the module.
-
-2005-11-16 11:25 martink
-
- * Source/cmFileCommand.h: STYLE: fix docs
-
-2005-11-16 10:40 martink
-
- * Source/cmExecProgramCommand.h: STYLE: fix docs
-
-2005-11-16 10:35 martink
-
- * Source/: cmEnableTestingCommand.h, cmEndForEachCommand.h,
- cmEndIfCommand.h, cmEndWhileCommand.h: STYLE: fix docs
-
-2005-11-16 10:31 martink
-
- * Source/: cmCreateTestSourceList.h, cmElseCommand.h,
- cmEnableLanguageCommand.h: STYLE: fix docs
-
-2005-11-16 10:26 martink
-
- * Source/: cmConfigureFileCommand.h: STYLE: fix docs
-
-2005-11-16 10:22 martink
-
- * Source/cmCMakeMinimumRequired.h: STYLE: fix docs
-
-2005-11-16 10:14 martink
-
- * Source/: cmAddLibraryCommand.h, cmAddSubDirectoryCommand.h:
- STYLE: fix docs
-
-2005-11-16 10:08 martink
-
- * Source/ctest.cxx: STYLE: removed some docs that did not make
- sense
-
-2005-11-16 06:30 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-15 13:30 martink
-
- * Source/cmConfigureFileCommand.h: STYLE: updated comments
-
-2005-11-15 05:27 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-14 14:21 hoffman
-
- * Modules/: CMakeCCompiler.cmake.in, CMakeTestCCompiler.cmake: BUG:
- fix SIZEOF VOIDP problem
-
-2005-11-14 12:29 andy
-
- * Source/: CMakeLists.txt, cmConfigure.cmake.h.in,
- CPack/cmCPackConfigure.h.in, CPack/cmCPackTGZGenerator.cxx,
- CPack/cmCPackTGZGenerator.h: ENH: More cross platform stuff
-
-2005-11-14 05:24 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-13 05:20 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-12 05:28 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-11 14:39 andy
-
- * Source/CPack/cmCPackSTGZGenerator.cxx: ENH: Cleanup
-
-2005-11-11 14:32 andy
-
- * Source/CPack/cmCPackSTGZGenerator.cxx: ENH: Fix for sun
-
-2005-11-11 14:25 andy
-
- * Source/: CMakeLists.txt, CPack/cmCPackGenerators.cxx,
- CPack/cmCPackGenericGenerator.cxx,
- CPack/cmCPackGenericGenerator.h, CPack/cmCPackSTGZGenerator.cxx,
- CPack/cmCPackSTGZGenerator.h, CPack/cmCPackTGZGenerator.cxx,
- CPack/cmCPackTGZGenerator.h: ENH: Add support for self extracted
- tars
-
-2005-11-11 05:51 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-10 15:15 andy
-
- * Source/: CMakeLists.txt, cmConfigure.cmake.h.in,
- CPack/cmCPackTGZGenerator.h: COMP: Fix building on Cygwin
-
-2005-11-10 15:13 martink
-
- * Tests/Tutorial/Step5/MathFunctions/CMakeLists.txt: ENH: some
- fixes
-
-2005-11-10 15:10 martink
-
- * Tests/Tutorial/: Step1/tutorial.cxx, Step2/tutorial.cxx,
- Step3/tutorial.cxx, Step4/tutorial.cxx, Step5/tutorial.cxx: ENH:
- some fixes
-
-2005-11-10 14:36 andy
-
- * Source/: CMakeLists.txt, CPack/cmCPackGenerators.cxx,
- CPack/cmCPackGenerators.h, CPack/cmCPackGenericGenerator.cxx,
- CPack/cmCPackGenericGenerator.h, CPack/cmCPackTGZGenerator.cxx,
- CPack/cmCPackTGZGenerator.h, CPack/cpack.cxx: ENH: Start working
- on CPack
-
-2005-11-10 14:33 andy
-
- * Source/cmLocalGenerator.cxx: ENH: Make CMAKE_INSTALL_PREFIX to be
- optional (on by default)
-
-2005-11-10 14:32 andy
-
- * Source/CTest/cmCTestGenericHandler.h: ENH: More type macros
-
-2005-11-10 14:32 andy
-
- * Source/kwsys/Glob.hxx.in: COMP: Fix the building with Glob
-
-2005-11-10 14:31 andy
-
- * Source/kwsys/: CommandLineArguments.cxx,
- CommandLineArguments.hxx.in: ENH: Add method to delete the
- remaining arguments
-
-2005-11-10 14:28 hoffman
-
- * Modules/Platform/Windows-cl.cmake: ENH: add all libs
-
-2005-11-10 12:02 martink
-
- * Tests/Tutorial/: Step5/CMakeLists.txt, Step2/CMakeLists.txt,
- Step3/CMakeLists.txt, Step4/CMakeLists.txt,
- Step5/MathFunctions/CMakeLists.txt: ENH: some fixes
-
-2005-11-10 11:48 martink
-
- * Tests/Tutorial/Step5/MathFunctions/MakeTable.cxx: STYLE: fix
- spelling
-
-2005-11-10 10:55 martink
-
- * Source/CMakeLists.txt: ENH: added tutorial tests
-
-2005-11-10 10:55 martink
-
- * Source/CTest/cmCTestTestHandler.cxx: ENH: change the pass regexp
- so that it overrides the return value
-
-2005-11-10 10:51 martink
-
- * Tests/Tutorial/Step5/: CMakeLists.txt, TutorialConfig.h.in,
- tutorial.cxx, MathFunctions/CMakeLists.txt,
- MathFunctions/MakeTable.cxx, MathFunctions/MathFunctions.h,
- MathFunctions/mysqrt.cxx: ENH: step 5
-
-2005-11-10 10:50 martink
-
- * Tests/Tutorial/Step4/: CMakeLists.txt, TutorialConfig.h.in,
- tutorial.cxx, MathFunctions/CMakeLists.txt,
- MathFunctions/MathFunctions.h, MathFunctions/mysqrt.cxx: ENH:
- step 4
-
-2005-11-10 10:50 martink
-
- * Tests/Tutorial/Step3/: CMakeLists.txt, TutorialConfig.h.in,
- tutorial.cxx, MathFunctions/CMakeLists.txt,
- MathFunctions/MathFunctions.h, MathFunctions/mysqrt.cxx: ENH:
- step 3
-
-2005-11-10 04:48 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-09 16:21 martink
-
- * Tests/Tutorial/: Step1/CMakeLists.txt, Step1/TutorialConfig.h.in,
- Step1/tutorial.cxx, Step2/CMakeLists.txt,
- Step2/TutorialConfig.h.in, Step2/tutorial.cxx,
- Step2/MathFunctions/CMakeLists.txt,
- Step2/MathFunctions/MathFunctions.h,
- Step2/MathFunctions/mysqrt.cxx: ENH: checkeed in step 1 and 2
-
-2005-11-09 11:14 andy
-
- * Source/cmSetTestsPropertiesCommand.h: STYLE: More comments
-
-2005-11-09 11:07 andy
-
- * Source/: cmSetTestsPropertiesCommand.h,
- CTest/cmCTestTestHandler.cxx, kwsys/CMakeLists.txt: ENH: Change
- flag to PASS_REGULAR_EXPRESSION and FAIL_REGULAR_EXPRESSION and
- add help in cmSetTestsPropertiesCommand
-
-2005-11-09 07:22 andy
-
- * Source/kwsys/CMakeLists.txt: COMP: Fix all dashboards
-
-2005-11-09 05:33 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-08 17:59 andy
-
- * Source/kwsys/: CMakeLists.txt, testRegistry.cxx: ENH: Add test
- for output regular expression
-
-2005-11-08 17:59 andy
-
- * Source/: cmLocalGenerator.cxx, CTest/cmCTestTestHandler.cxx,
- CTest/cmCTestTestHandler.h: ENH: Add support for output reguilar
- expression
-
-2005-11-08 05:33 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-07 05:34 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-06 05:22 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-05 04:18 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-04 10:52 martink
-
- * Source/cmCPluginAPI.h: DOC: updated comment about the inherited
- ivar
-
-2005-11-04 09:28 andy
-
- * Modules/: CheckIncludeFile.cmake, CheckIncludeFileCXX.cmake: ENH:
- Cleanup and unify
-
-2005-11-03 04:24 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-11-02 13:59 martink
-
- * Modules/CheckLibraryExists.cmake: DOC: better documentation
-
-2005-11-02 13:51 martink
-
- * Modules/: CheckFunctionExists.cmake, CheckIncludeFile.cmake,
- CheckIncludeFileCXX.cmake, CheckIncludeFiles.cmake,
- CheckLibraryExists.cmake, CheckSymbolExists.cmake,
- CheckVariableExists.cmake: DOC: better documentaiton
-
-2005-11-02 04:14 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-31 12:09 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-31 10:52 hoffman
-
- * Utilities/Release/release_dispatch.sh: ENH: change names of
- machine
-
-2005-10-31 10:48 hoffman
-
- * Utilities/Release/: cmake_release.sh: ENH: update revision
- numbers
-
-2005-10-31 10:01 hoffman
-
- * ChangeLog.manual, Source/cmFileTimeComparison.cxx,
- Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmake.cxx: ENH:
- merge from main tree
-
-2005-10-30 08:01 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-28 17:46 hoffman
-
- * Modules/: FindOpenAL.cmake, FindPhysFS.cmake, FindSDL.cmake,
- FindSDL_image.cmake, FindSDL_mixer.cmake, FindSDL_net.cmake,
- FindSDL_sound.cmake, FindSDL_ttf.cmake: ENH: changes from Eric
- Wing, bug 2249
-
-2005-10-28 11:52 hoffman
-
- * Source/cmWin32ProcessExecution.cxx: BUG: fix stack over write bug
-
-2005-10-28 11:51 hoffman
-
- * Utilities/Release/: CMake.nsi.in, MakeRelease.cmake.in: BUG: fix
- space in path probs
-
-2005-10-28 11:32 hoffman
-
- * Utilities/Release/: CMake.nsi.in, MakeRelease.cmake.in: BUG: fix
- release with spaces in the path
-
-2005-10-28 11:31 hoffman
-
- * Source/cmWin32ProcessExecution.cxx: BUG: fix stack write error
-
-2005-10-28 11:02 hoffman
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: make the clean
- target work
-
-2005-10-27 13:57 king
-
- * Source/: cmFileTimeComparison.cxx, kwsys/SystemTools.cxx: ENH:
- Improved file modification time comparison on Windows to use
- GetFileAttributesEx instead of CreateFile/GetFileTime/CloseHandle
- to get file times. This results in a 30% reduction in time to do
- a build system check.
-
-2005-10-26 09:03 hoffman
-
- * Utilities/Release/cmake_release.sh: ENH: update revision numbers
-
-2005-10-26 05:32 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-25 05:32 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-24 17:00 hoffman
-
- * ChangeLog.manual: [no log message]
-
-2005-10-24 15:43 hoffman
-
- * CMakeLists.txt, Modules/Platform/Windows-gcc.cmake,
- Source/cmBuildNameCommand.h, Source/cmFileCommand.cxx,
- Source/cmFileCommand.h,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmGlobalUnixMakefileGenerator3.h,
- Source/cmLocalKdevelopGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalUnixMakefileGenerator3.h,
- Source/cmOutputRequiredFilesCommand.cxx,
- Source/cmStringCommand.cxx, Source/cmStringCommand.h,
- Source/CTest/cmCTestTestHandler.cxx,
- Source/CTest/cmCTestUpdateHandler.cxx,
- Tests/StringFileTest/CMakeLists.txt,
- Tests/StringFileTest/StringFile.cxx: ENH: move stuff into the
- branch in prep for 2.2.2
-
-2005-10-24 05:29 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-23 05:21 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-22 05:51 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-21 15:24 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: fix for bad
- placement of SILENT target
-
-2005-10-21 12:04 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: symlink issue
-
-2005-10-21 11:10 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: fix bad checkin
- that had debugging code in it
-
-2005-10-21 09:49 hoffman
-
- * Source/kwsys/testFail.c: ENH: try to get this thing to pass with
- cmake 2.2.1
-
-2005-10-21 04:43 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-20 16:37 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: fix over checking
- of build system
-
-2005-10-20 16:37 martink
-
- * Source/cmake.cxx: STYLE: minor cleanup
-
-2005-10-20 15:03 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: fix for def files
- and new local target link lines
-
-2005-10-20 14:25 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: missing
- check_build_system for all target
-
-2005-10-20 13:40 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: big cleanup and fix for
- jump commands
-
-2005-10-20 10:10 hoffman
-
- * Source/: cmStringCommand.cxx, cmStringCommand.h: BUG: end is not
- really end, but rather length
-
-2005-10-20 04:37 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-19 13:23 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: COMP: fix compiler
- error
-
-2005-10-19 11:00 andy
-
- * Source/: cmCTest.cxx, CTest/cmCTestUpdateHandler.cxx: ENH: More
- output
-
-2005-10-19 11:00 andy
-
- * Source/CTest/cmCTestTestHandler.cxx: BUG: Initialize to something
- resonable
-
-2005-10-19 10:47 andy
-
- * Source/kwsys/: Glob.cxx, Glob.hxx.in: COMP: More namespace fixes
- to build on HP
-
-2005-10-19 10:03 martink
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: BUG: cd into local directory to
- reduce link line length
-
-2005-10-19 08:42 andy
-
- * Source/kwsys/Glob.cxx: COMP: Fix namespace. This way kwsys can be
- built outside cmake
-
-2005-10-19 04:41 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-18 16:35 hoffman
-
- * Source/cmOutputRequiredFilesCommand.cxx: ENH: fix test
-
-2005-10-18 16:10 hoffman
-
- * Source/cmOutputRequiredFilesCommand.cxx: ENH: add .txx files and
- put the start directory in the search path
-
-2005-10-18 16:09 hoffman
-
- * Source/cmLocalKdevelopGenerator.cxx: ENH: unused include
-
-2005-10-18 16:09 hoffman
-
- * Source/cmBuildNameCommand.h: ENH: spelling
-
-2005-10-18 14:08 andy
-
- * bootstrap, Source/kwsys/CMakeLists.txt, Source/kwsys/Glob.cxx,
- Source/kwsys/Glob.hxx.in: ENH: Push glob to the kwsys
-
-2005-10-18 13:25 andy
-
- * Modules/Platform/Windows-gcc.cmake: COMP: On mingw, -fPIC is not
- necessary and it actually produces warnings
-
-2005-10-18 13:22 andy
-
- * Tests/MathTest/CMakeLists.txt: ENH: More tests
-
-2005-10-18 09:42 andy
-
- * Source/cmStringCommand.cxx: COMP: Remove warning
-
-2005-10-18 04:37 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-17 21:34 hoffman
-
- * Source/: cmFileTimeComparison.cxx, cmFileTimeComparison.h: add
- missing file
-
-2005-10-17 16:53 andy
-
- * Source/: cmExprParser.cxx, cmExprParser.y: ENH: Fix precedence
-
-2005-10-17 16:42 andy
-
- * Source/: CMakeLists.txt, cmCommands.cxx, cmExprLexer.cxx,
- cmExprLexer.h, cmExprLexer.in.l, cmExprParser.cxx,
- cmExprParser.y, cmExprParserHelper.cxx, cmExprParserHelper.h,
- cmExprParserTokens.h, cmMathCommand.cxx, cmMathCommand.h,
- cmStringCommand.cxx: ENH: Add rudamentary mathematical expression
- support
-
-2005-10-17 16:39 andy
-
- * Tests/MathTest/: CMakeLists.txt, MathTestExec.cxx,
- MathTestTests.h.in: ENH: Add math test
-
-2005-10-17 09:58 king
-
- * Source/: cmDependsFortranLexer.cxx, cmDependsFortranLexer.in.l:
- BUG: Lexer should be case insensitive so flex should be run with
- -i option. This partially addresses bug#2361.
-
-2005-10-17 09:56 andy
-
- * Source/cmStringCommand.cxx, Source/cmStringCommand.h,
- Tests/StringFileTest/CMakeLists.txt,
- Tests/StringFileTest/StringFile.cxx: ENH: Add String length and
- substring
-
-2005-10-17 09:10 andy
-
- * Source/cmFileCommand.cxx, Source/cmFileCommand.h,
- Source/cmStringCommand.cxx, Source/cmStringCommand.h,
- Tests/StringFileTest/CMakeLists.txt,
- Tests/StringFileTest/StringFile.cxx: ENH: Add regular string
- replace (not regex), and relative path command. Also add tests
-
-2005-10-17 09:09 andy
-
- * Source/CTest/cmCTestTestHandler.cxx: BUG: If test passes but it
- should fail, report an error
-
-2005-10-17 08:49 hoffman
-
- * ChangeLog.manual, bootstrap, Modules/CMakeCXXInformation.cmake,
- Modules/FindJNI.cmake, Modules/FindJava.cmake,
- Source/CMakeLists.txt, Source/cmDepends.cxx, Source/cmDepends.h,
- Source/cmDependsC.cxx, Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmGlobalUnixMakefileGenerator3.h,
- Source/cmLocalUnixMakefileGenerator3.cxx, Source/cmMakefile.cxx,
- Source/cmTarget.h, Source/cmake.cxx, Source/cmake.h,
- Source/CTest/cmCTestBuildHandler.cxx: ENH: merge fixes from main
- tree
-
-2005-10-17 04:45 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-16 04:42 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-15 04:43 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-14 05:24 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-13 10:30 andy
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: More error exceptions
-
-2005-10-13 10:07 andy
-
- * Source/: cmDepends.cxx, cmFileTimeComparison.cxx: BUG: Fix logic
- to return true when the file was already statted. Also, use
- nanosecond percision if available. Remove debug
-
-2005-10-13 05:14 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-12 13:52 andy
-
- * Source/: cmDepends.cxx, cmDepends.h, cmDependsC.cxx,
- cmDependsC.h, cmDependsFortran.cxx, cmDependsFortran.h,
- cmDependsJava.cxx, cmDependsJava.h,
- cmLocalUnixMakefileGenerator3.cxx: ENH: Improve performance of
- check build system by creating another file that is simpler to
- parse and therefore much faster overall
-
-2005-10-12 13:51 andy
-
- * Source/: cmake.cxx, cmake.h: ENH: Optimize performance by caching
- stat results
-
-2005-10-12 13:50 andy
-
- * Source/cmFileTimeComparison.cxx: COMP: Windows fixes
-
-2005-10-12 13:36 andy
-
- * bootstrap, Source/CMakeLists.txt,
- Source/cmFileTimeComparison.cxx, Source/cmFileTimeComparison.h:
- ENH: Add file time comparison code
-
-2005-10-12 12:08 andy
-
- * Source/kwsys/: SystemTools.hxx.in, SystemTools.cxx: ENH: Add an
- accessor for the maximum file length
-
-2005-10-12 05:16 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-11 05:19 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-10 11:49 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h, cmMakefile.cxx, cmTarget.h:
- ENH: some fixes for better backwards compatibility
-
-2005-10-10 05:09 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-09 05:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-08 05:09 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-07 11:36 andy
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: Add support for
- setting the maximum number of errors and warnings reported. This
- should fix Bug #2318 - The maximum number of errors to report is
- fixed to 50
-
-2005-10-07 05:26 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-06 17:16 barre
-
- * Source/kwsys/: CMakeLists.txt, testSystemTools.bin,
- testSystemTools.cxx, testSystemTools.h.in: ENH: CMake kills me
- (so does Cygwin)
-
-2005-10-06 15:28 hoffman
-
- * ChangeLog.manual, Source/cmGetSourceFilePropertyCommand.h,
- Source/cmGetTargetPropertyCommand.h,
- Source/cmGetTestPropertyCommand.cxx, Source/cmListFileLexer.c,
- Source/cmListFileLexer.in.l,
- Source/cmLocalVisualStudio7Generator.cxx, Source/cmake.cxx,
- Source/cmake.h, Source/cmakemain.cxx,
- Source/CTest/cmCTestTestCommand.cxx,
- Source/CTest/cmCTestTestCommand.h,
- Source/CTest/cmCTestTestHandler.cxx,
- Utilities/Release/Release.cmake: ENH: merge bug fixes from main
- trunk
-
-2005-10-06 15:10 martink
-
- * Utilities/Release/Release.cmake: ENH: some fixes for missing vars
- and missing libs
-
-2005-10-06 05:18 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-05 16:06 barre
-
- * Source/kwsys/: CMakeLists.txt, testSystemTools.cxx,
- testSystemTools.h.in: ENH: avoid the use of GET_TARGET_PROPERTY
- by testing the CMake executable instead of the test executable
-
-2005-10-05 13:11 king
-
- * Source/kwsys/CMakeLists.txt: BUG: Reverting fundamental type info
- change until it is fixed on more platforms. It was tested on
- Linux, SGI, HP, Sun, OSX, Windows with nmake and VS 6, 7, 7.1, 8,
- Borland Make, and cygwin by hand with spaces in the path and
- cmake 2.0 and 2.2 before committing but still seems to be failing
- on some dashboards...strange.
-
-2005-10-05 05:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-04 16:40 barre
-
- * Source/: cmBootstrapCommands.cxx, cmCommands.cxx: ENH: the test
- for kwsys uses GET_TARGET_PROPERTY, which was not in the CMake
- bootstrap
-
-2005-10-04 15:09 barre
-
- * Source/kwsys/: CMakeLists.txt, testSystemTools.cxx,
- testSystemTools.h.in: ENH: add kwsys test for DetectFileType
-
-2005-10-04 10:58 andy
-
- * Source/: cmCTest.cxx, CTest/cmCTestSubmitHandler.cxx: ENH: More
- verbosity
-
-2005-10-04 05:02 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-03 14:44 king
-
- * Source/kwsys/: CMakeLists.txt, kwsysPlatformCxxTests.cxx: ENH:
- Converting FundamentalType try-compiles into a single try-run.
- All the information about the existence, size, and signedness of
- types can be determined in one program thanks to limits.h.
-
-2005-10-03 14:33 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: Double-quotes in
- definitions must be escaped.
-
-2005-10-03 05:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-02 05:01 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-10-01 05:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-29 04:55 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-28 04:55 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-27 04:54 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-26 04:55 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-24 04:57 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-23 14:39 hoffman
-
- * Modules/CMakeCXXInformation.cmake: ENH: remove -lgcc used by
- crazy coverage stuff
-
-2005-09-23 14:38 hoffman
-
- * Modules/: FindJNI.cmake, FindJava.cmake: ENH: java fixes from
- Mathieu
-
-2005-09-23 12:50 martink
-
- * Source/cmake.cxx: BUG: the -P option was not working with
- relative paths and a couple types
-
-2005-09-23 04:54 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-22 09:58 andy
-
- * Source/kwsys/Registry.cxx: COMP: Try to remove warnings
-
-2005-09-22 05:06 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-21 14:15 king
-
- * Source/kwsys/kwsysPlatformCxxTests.cmake: ENH: Updated to use
- modern FILE command for writing to output logs instead of
- WRITE_FILE.
-
-2005-09-21 13:42 king
-
- * Source/kwsys/kwsys_ios_sstream.h.in: BUG: kwsys_ios namespace
- should import streambuf also.
-
-2005-09-21 13:31 king
-
- * Source/: cmGetSourceFilePropertyCommand.h,
- cmGetTargetPropertyCommand.h, cmake.h, cmakemain.cxx: BUG:
- Corrected and updated documentation of the -P option, -C option,
- GET_TARGET_PROPERTY command, and GET_SOURCE_FILE_PROPERTY
- command.
-
-2005-09-21 10:32 martink
-
- * Source/: cmCommands.cxx, cmITKWrapTclCommand.cxx,
- cmITKWrapTclCommand.h: ENH: removed ITK command
-
-2005-09-21 05:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-20 15:08 andy
-
- * Source/CTest/cmCTestTestHandler.cxx: ENH: Properly report failed
- tests
-
-2005-09-20 12:50 martink
-
- * Tests/: LoadCommand/CMakeLists.txt,
- LoadCommand/CMakeCommands/cmTestCommand.c,
- LoadCommandOneConfig/CMakeLists.txt,
- LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: ENH: increase
- coverage in loaded commands
-
-2005-09-20 10:42 andy
-
- * Source/kwsys/CMakeLists.txt: ENH: Make message into status
-
-2005-09-20 05:05 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-19 17:20 king
-
- * Source/: cmListFileLexer.c, cmListFileLexer.in.l: BUG: When an
- unquoted argument contains a pair of matching double quotes
- spaces and tabs should be allowed in-between. This allows
- arguments like -DFOO='"bar zot"' to work.
-
-2005-09-19 16:19 andy
-
- * Source/kwsys/Registry.cxx: BUG: Remove warning and try to fix
- memory problem
-
-2005-09-19 15:15 andy
-
- * Source/kwsys/CMakeLists.txt: ENH: Test for both commands
-
-2005-09-19 15:11 andy
-
- * Source/CTest/cmCTestTestHandler.cxx: ENH: Modify output based on
- wether it is tested or memory checked
-
-2005-09-19 15:08 andy
-
- * Source/CTest/cmCTestTestCommand.h: BUG: This should fix memory
- checking
-
-2005-09-19 12:38 martink
-
- * Utilities/Release/cmake_release.sh: ENH: update revision numbers
-
-2005-09-19 12:33 hoffman
-
- * Modules/FindQt4.cmake, Modules/FindQt4.cmake.bak,
- Modules/VTKCompatibility.cmake, Source/cmCTest.cxx: minor fixes
- for 2.2.1
-
-2005-09-19 12:19 hoffman
-
- * Modules/FindQt4.cmake: ENH: fix typo
-
-2005-09-19 12:17 hoffman
-
- * Modules/VTKCompatibility.cmake: ENH: remove message
-
-2005-09-19 04:45 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-18 17:15 king
-
- * Source/kwsys/README.txt: STYLE: Added reference to documentation
- in CMakeLists.txt.
-
-2005-09-18 17:08 king
-
- * Source/kwsys/CMakeLists.txt: STYLE: Added backward compatibility
- disclaimer.
-
-2005-09-18 08:17 andy
-
- * Source/: cmGetTestPropertyCommand.cxx, kwsys/CMakeLists.txt: BUG:
- Fix which argument is which, also, fix the test to be less
- agressive
-
-2005-09-18 04:35 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-17 11:31 andy
-
- * Source/CTest/cmCTestTestCommand.cxx: ENH: Fix memcheck command
-
-2005-09-17 09:53 andy
-
- * Source/kwsys/CMakeLists.txt: ENH: Add testing of
- GET_TEST_PROPERTY command
-
-2005-09-17 08:50 andy
-
- * Source/kwsys/Registry.cxx: BUG: On WIN32, since we are using
- subkey, set it
-
-2005-09-17 05:04 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-16 15:30 andy
-
- * Source/kwsys/Registry.cxx: COMP: Remove unused variable
-
-2005-09-16 13:56 andy
-
- * Source/kwsys/: Registry.cxx, testRegistry.cxx: BUG: Fix encoding
- and add deleting to the test
-
-2005-09-16 13:38 andy
-
- * Source/kwsys/: Registry.cxx, Registry.hxx.in, testRegistry.cxx:
- ENH: Modify API a little bit to allow arbitrary length values.
- Encode certain characters. Rename UNIX registry to FILE registry.
- More testing
-
-2005-09-16 12:17 martink
-
- * Utilities/Release/cmake_release.sh: ENH: update revision numbers
-
-2005-09-16 10:57 hoffman
-
- * Utilities/Release/: MakeRelease.cmake.in, README, Release.cmake:
- move off branch
-
-2005-09-16 10:53 martink
-
- * Utilities/Release/: cmake_release.sh: ENH: update revision
- numbers
-
-2005-09-16 10:53 martink
-
- * Utilities/Release/MakeRelease.cmake.in: ENH: fix for
- CMAKE_COMMAND not being defined with -P
-
-2005-09-16 10:47 martink
-
- * Utilities/Release/cmake_release.sh: ENH: fix Bill
-
-2005-09-16 10:41 martink
-
- * Utilities/Release/: MakeRelease.cmake.in, Release.cmake: ENH: fix
- to syntax
-
-2005-09-16 10:32 martink
-
- * Utilities/Release/: Release.cmake, MakeRelease.cmake.in: ENH:
- added commit for release script
-
-2005-09-16 10:10 hoffman
-
- * Utilities/Release/MakeRelease.cmake.in: ENH: auto release stuff
-
-2005-09-16 10:09 andy
-
- * Source/kwsys/Registry.cxx: COMP: Remove problem on borland
-
-2005-09-16 09:21 andy
-
- * Source/kwsys/CMakeLists.txt: ENH: Enable registry, add test of
- SET_TESTS_PROPERTIES, rename tests for dart2
-
-2005-09-16 09:20 andy
-
- * Source/kwsys/Registry.cxx: COMP: Remove some more warnings
-
-2005-09-16 09:15 andy
-
- * Source/kwsys/: Registry.cxx, Registry.hxx.in: ENH: Cleanups and
- expose unix registry on windows (for cygwin etc)
-
-2005-09-16 09:08 andy
-
- * Source/kwsys/: Registry.cxx, Registry.hxx.in: COMP: Win32 fixes
-
-2005-09-16 08:38 andy
-
- * Source/kwsys/Registry.cxx: ENH: More handling of unix versus
- windows registry
-
-2005-09-16 08:20 andy
-
- * Source/kwsys/: Registry.cxx, Registry.hxx.in, testFail.c,
- testRegistry.cxx: ENH: Initial import
-
-2005-09-16 05:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-15 17:22 andy
-
- * Source/cmCTest.cxx: ENH: Expose version of ctest
-
-2005-09-15 16:38 hoffman
-
- * CTestCustom.ctest.in, ChangeLog.manual, bootstrap,
- Docs/cmake-mode.el, Modules/CMakeAddNewLanguage.txt,
- Modules/CMakeTestRCCompiler.cmake, Modules/FindQt.cmake,
- Modules/FindQt.cmake.bak, Modules/FindQt3.cmake,
- Modules/FindQt4.cmake, Modules/FindQt4.cmake.bak,
- Modules/UseQt4.cmake, Source/CMakeLists.txt,
- Source/cmAddSubDirectoryCommand.cxx,
- Source/cmAddSubDirectoryCommand.h,
- Source/cmCommandArgumentParserHelper.cxx,
- Source/cmFileCommand.cxx,
- Source/cmGetDirectoryPropertyCommand.cxx,
- Source/cmGetDirectoryPropertyCommand.h,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmLocalGenerator.cxx, Source/cmOrderLinkDirectories.cxx,
- Source/cmTest.h, Source/CTest/cmCTestCoverageHandler.cxx,
- Source/CTest/cmCTestTestHandler.cxx,
- Source/CTest/cmCTestTestHandler.h,
- Tests/OutOfSource/CMakeLists.txt, Tests/OutOfSource/testdp.h.in,
- Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt,
- Tests/OutOfSource/OutOfSourceSubdir/simple.cxx,
- Tests/OutOfSource/SubDir/CMakeLists.txt,
- Tests/Wrapping/CMakeLists.txt, Utilities/Release/CMake.nsi.in:
- Merge more changes from main trunk
-
-2005-09-15 16:06 andy
-
- * Source/CTest/cmCTestCoverageHandler.cxx: COMP: Too fast commit
-
-2005-09-15 16:03 andy
-
- * Source/CTest/cmCTestCoverageHandler.cxx: BUG: Make sure full
- paths are collapsed
-
-2005-09-15 13:26 hoffman
-
- * Source/cmGlobalGenerator.cxx: ENH: fix warning
-
-2005-09-15 12:17 hoffman
-
- * Modules/CMakeAddNewLanguage.txt,
- Modules/CMakeTestRCCompiler.cmake, Source/cmGlobalGenerator.cxx:
- ENH: clean up EnableLanguage try to fix problem where try compile
- runs cmake
-
-2005-09-15 11:05 martink
-
- * CTestCustom.ctest.in: ENH: cleaner code coverage
-
-2005-09-15 04:53 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-14 11:16 hoffman
-
- * Modules/FindQt4.cmake: ENH: only add optional qt stuff to
- QT_INCLUDES
-
-2005-09-14 09:12 hoffman
-
- * Modules/FindQt.cmake: ENH: if qt4 qmake is found then set
- QT_QMAKE_EXECUTABLE to that value so that the same one will be
- used in FindQt4.cmake
-
-2005-09-14 04:52 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-13 12:55 martink
-
- * CTestCustom.ctest.in: ENH: coverage cleanup for non XCode builds
-
-2005-09-13 10:40 martink
-
- * Tests/OutOfSource/: CMakeLists.txt, testdp.h.in,
- OutOfSourceSubdir/CMakeLists.txt, OutOfSourceSubdir/simple.cxx:
- ENH: test get directory properties ability to get props from
- subdirs
-
-2005-09-13 10:39 martink
-
- * Source/: cmGetDirectoryPropertyCommand.cxx,
- cmGetDirectoryPropertyCommand.h, cmGlobalGenerator.cxx,
- cmGlobalGenerator.h: ENH: added DIRECTORY option to
- GET_DIRECTORY_PROPERTIES
-
-2005-09-13 10:33 martink
-
- * Docs/cmake-mode.el: ENH: missing get_directory_property command
-
-2005-09-13 09:25 hoffman
-
- * Modules/FindQt4.cmake: ENH: add some checks on the qmake install
-
-2005-09-13 08:52 hoffman
-
- * Modules/FindQt.cmake: ENH: fix if statement
-
-2005-09-13 04:52 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-12 22:46 hoffman
-
- * Modules/FindQt.cmake: ENH: add docs for QT_REQUIRED
-
-2005-09-12 22:39 hoffman
-
- * Modules/: FindQt.cmake, FindQt4.cmake: ENH: more findqt fixes
-
-2005-09-12 14:26 martink
-
- * Tests/OutOfSource/SubDir/CMakeLists.txt: ENH: convert to work
- with the new syntax for ADD_SUBDIRECTORY
-
-2005-09-12 13:46 martink
-
- * Source/: cmAddSubDirectoryCommand.cxx,
- cmAddSubDirectoryCommand.h: ENH: better format for
- ADD_SUBDIRECTORY command
-
-2005-09-12 11:43 hoffman
-
- * Modules/: FindQt.cmake, FindQt4.cmake: ENH: add new place to
- search for qt4 in registry
-
-2005-09-12 11:25 hoffman
-
- * Modules/FindQt.cmake: ENH: fix typo
-
-2005-09-12 10:37 hoffman
-
- * Source/CMakeLists.txt: ENH: use the findqt3 from this cmake and
- not the one configureing cmake
-
-2005-09-12 10:33 hoffman
-
- * Modules/FindQt.cmake: ENH: add a better message
-
-2005-09-12 10:28 hoffman
-
- * Modules/FindQt3.cmake: ENH: add more libraries for qt3
-
-2005-09-12 09:55 hoffman
-
- * Modules/FindQt4.cmake: ENH: use correct variable for qmake
-
-2005-09-12 09:52 hoffman
-
- * Modules/FindQt4.cmake: ENH: add a better message
-
-2005-09-12 09:36 hoffman
-
- * Modules/FindQt.cmake: ENH: add some messages not errors for
- findqt
-
-2005-09-12 09:32 hoffman
-
- * Modules/FindQt3.cmake, Modules/FindQt4.cmake,
- Source/CMakeLists.txt, Tests/Wrapping/CMakeLists.txt: ENH: more
- qt changes
-
-2005-09-12 09:09 hoffman
-
- * Modules/UseQt4.cmake: ENH: add -D options for qt stuff
-
-2005-09-12 09:00 hoffman
-
- * Modules/: FindQt.cmake, FindQt4.cmake: ENH: make sure the correct
- qmake is used
-
-2005-09-12 04:37 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-11 04:50 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-10 22:36 hoffman
-
- * Modules/FindQt.cmake: ENH: only print errors if QT_REQUIRED is
- set
-
-2005-09-10 10:33 hoffman
-
- * bootstrap, Modules/FindQt.cmake, Source/cmFileCommand.cxx: BUG:
- try to fix qt problems
-
-2005-09-10 04:55 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-09 21:51 hoffman
-
- * Modules/FindQt.cmake, Modules/FindQt3.cmake,
- Modules/FindQt4.cmake, Tests/Wrapping/CMakeLists.txt: ENH: clean
- up the find qt stuff some
-
-2005-09-09 17:04 hoffman
-
- * Modules/: CheckQtInstalled.cmake, FindQt.cmake: ENH: try to fix
- this find qt stuff
-
-2005-09-09 13:23 martink
-
- * Utilities/Release/CMake.nsi.in: ENH: to support both admin and
- locla installs
-
-2005-09-09 11:32 hoffman
-
- * Modules/: CheckQtInstalled.cmake, FindQt.cmake: ENH: make FindQt
- default to qt3 and print a message, and add
- CheckQtInstalled.cmake
-
-2005-09-09 05:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-08 15:26 hoffman
-
- * Source/cmCommandArgumentParserHelper.cxx: ENH: remove UMR
-
-2005-09-08 15:25 hoffman
-
- * Source/cmOrderLinkDirectories.cxx: BUG: fix spelling error
-
-2005-09-08 14:59 hoffman
-
- * ChangeLog.manual, Modules/CMakeCInformation.cmake,
- Modules/CMakeCXXInformation.cmake,
- Modules/CMakeDetermineJavaCompiler.cmake,
- Modules/CMakeFortranInformation.cmake, Modules/FindCurses.cmake,
- Modules/FindJNI.cmake, Modules/FindJPEG.cmake,
- Modules/FindJava.cmake, Modules/FindMatlab.cmake,
- Modules/FindMotif.cmake, Modules/FindQt4.cmake,
- Modules/FindQt4.cmake.bak, Modules/FindZLIB.cmake,
- Modules/UseQt4.cmake, Modules/UseSWIG.cmake,
- Modules/VTKCompatibility.cmake, Source/cmGlobalGenerator.cxx,
- Source/cmGlobalXCodeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.h,
- Source/cmOrderLinkDirectories.cxx: merge with main trunk
-
-2005-09-08 14:35 andy
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- BUG: fix xcode 15 (really bill Hoffman)
-
-2005-09-08 14:22 martink
-
- * Source/cmOrderLinkDirectories.cxx: BUG: bug num 1994 library
- linking when a config is not specified but debug and opt libs are
-
-2005-09-08 11:38 hoffman
-
- * Modules/: FindCurses.cmake, FindJPEG.cmake, FindZLIB.cmake: ENH:
- clean up some stuff
-
-2005-09-08 11:38 hoffman
-
- * Modules/UseSWIG.cmake: ENH: add ability to set outdir in swig
-
-2005-09-08 10:03 hoffman
-
- * Modules/: CMakeDetermineJavaCompiler.cmake, FindJNI.cmake,
- FindJava.cmake: ENH: add support for java 1.5
-
-2005-09-08 10:01 hoffman
-
- * Modules/FindMatlab.cmake: ENH: add Matlab support
-
-2005-09-08 09:59 hoffman
-
- * Modules/FindMotif.cmake: ENH: add a find motif
-
-2005-09-08 09:58 hoffman
-
- * Modules/: FindQt4.cmake, UseQt4.cmake: ENH: add Ken Morelands
- fixes for FindQT
-
-2005-09-08 05:05 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-07 17:05 hoffman
-
- * Modules/CMakeCInformation.cmake,
- Modules/CMakeCXXInformation.cmake,
- Modules/CMakeFortranInformation.cmake,
- Modules/VTKCompatibility.cmake, Source/cmGlobalGenerator.cxx:
- ENH: add a fix for VTK on the mac and a way to fix some projects
- with a single file in the cmake modules directory
-
-2005-09-07 05:00 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-06 23:31 andy
-
- * Source/: cmLocalGenerator.cxx, cmTest.h,
- CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h: ENH:
- Add a way for test to intentionally fail
-
-2005-09-06 12:55 hoffman
-
- * ChangeLog.manual, bootstrap, Modules/CMakeGenericSystem.cmake,
- Modules/Platform/AIX.cmake, Source/CMakeLists.txt,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmGlobalXCode21Generator.cxx,
- Source/cmGlobalXCode21Generator.h,
- Source/cmGlobalXCodeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.h, Source/cmTryRunCommand.cxx,
- Source/cmXCode21Object.cxx, Source/cmXCode21Object.h,
- Source/cmXCodeObject.cxx, Source/cmXCodeObject.h,
- Source/CTest/cmCTestTestHandler.cxx,
- Source/kwsys/SharedForward.h.in,
- Tests/LoadCommand/CMakeLists.txt,
- Tests/LoadCommandOneConfig/CMakeLists.txt: Merge with main tree
-
-2005-09-06 05:04 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-05 09:17 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmXCodeObject.h: ENH: fix
- warnings
-
-2005-09-05 04:58 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-04 04:46 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-03 22:16 hoffman
-
- * bootstrap: ENH: fix bootstrap, maybe this should somehow grep awk
- the sources from the cmakelist file....
-
-2005-09-03 04:55 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-02 16:29 hoffman
-
- * Source/: CMakeLists.txt, cmGlobalXCode21Generator.cxx,
- cmGlobalXCode21Generator.h, cmGlobalXCodeGenerator.cxx,
- cmGlobalXCodeGenerator.h, cmXCode21Object.cxx, cmXCode21Object.h,
- cmXCodeObject.cxx, cmXCodeObject.h: ENH: add real support for
- Xcode21
-
-2005-09-02 08:41 hoffman
-
- * Source/CMakeLists.txt: BUG: not all Macs are case insensitive if
- they mount nfs directories
-
-2005-09-02 05:05 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-09-01 17:14 hoffman
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: ENH: fix NONE
-
-2005-09-01 05:01 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-31 19:41 king
-
- * Source/kwsys/SharedForward.h.in: ENH: Added cygcheck knowledge
- for --ldd option on Cygwin. Added error message for --ldd option
- when no tool is available but the option was still requested.
-
-2005-08-31 05:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-30 13:58 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx, Source/cmTryRunCommand.cxx,
- Source/CTest/cmCTestTestHandler.cxx,
- Tests/LoadCommand/CMakeLists.txt,
- Tests/LoadCommandOneConfig/CMakeLists.txt: ENH: use native
- Deployment and Development directories
-
-2005-08-30 04:59 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-29 17:09 hoffman
-
- * Modules/Platform/AIX.cmake: ENH: add flags for debug release for
- aix
-
-2005-08-29 16:19 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Modules/CMakeTestCCompiler.cmake, Modules/FindJava.cmake,
- Modules/FindQt3.cmake, Source/CMakeLists.txt,
- Source/cmDependsC.cxx, Source/cmDependsC.h,
- Source/cmFileCommand.cxx, Source/cmGlobalXCodeGenerator.cxx,
- Source/cmLocalGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalVisualStudio6Generator.cxx, Source/cmMakefile.cxx,
- Source/cmSetTargetPropertiesCommand.h, Source/cmSystemTools.cxx,
- Source/cmTarget.cxx, Source/cmTarget.h, Source/cmVersion.cxx,
- Source/cmake.cxx, Source/CTest/cmCTestBuildHandler.cxx,
- Source/CTest/cmCTestGenericHandler.cxx,
- Source/CTest/cmCTestTestHandler.cxx,
- Source/CTest/cmCTestTestHandler.h,
- Source/CTest/cmCTestUpdateCommand.cxx,
- Source/kwsys/SharedForward.h.in, Source/kwsys/SystemTools.cxx,
- Templates/EXEHeader.dsptemplate,
- Tests/CustomCommand/CMakeLists.txt, Tests/CustomCommand/foo.h.in,
- Tests/CustomCommand/foo.in, Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: merge with cvs again
- and change version
-
-2005-08-29 15:49 king
-
- * Modules/CMakeGenericSystem.cmake: ENH: Picking better default for
- CMAKE_INSTALL_PREFIX on Windows by using ProgramFiles environment
- variable. Now that install actually works on Windows I'm making
- this entry non-advanced also.
-
-2005-08-29 04:57 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-28 04:57 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-27 05:04 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-26 17:02 andy
-
- * Modules/FindJava.cmake: ENH: More paths for java
-
-2005-08-26 16:20 andy
-
- * Source/CTest/cmCTestGenericHandler.cxx: COMP: Simplify logic and
- remove sun compile error
-
-2005-08-26 05:00 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-25 05:01 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-24 11:18 andy
-
- * Source/CTest/cmCTestGenericHandler.cxx: BUG: Prevent from
- creating bogus files
-
-2005-08-24 04:54 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-23 13:25 king
-
- * Modules/FindQt3.cmake: ENH: Added support for finding qt-mtedu,
- the educational version of Qt.
-
-2005-08-23 10:24 hoffman
-
- * Source/cmFileCommand.cxx: make sure correct path type is used
-
-2005-08-23 04:48 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-22 04:52 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-21 04:56 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-20 05:01 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-19 17:57 king
-
- * Source/cmLocalVisualStudio6Generator.cxx,
- Templates/EXEHeader.dsptemplate: BUG: Fixed OUTPUT_NAME feature
- for VS6 generator. It was not working for Debug builds and was
- not paying attention to the executable output path.
-
-2005-08-19 17:56 king
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: BUG: Install rule should take
- build configuration into account.
-
-2005-08-19 17:17 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: add support for
- OUTPUT_NAME
-
-2005-08-19 10:13 andy
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: If the scanner is
- not defined this would crash. For example when using new language
-
-2005-08-19 09:38 king
-
- * Source/cmake.cxx: ENH: Added cmake -E create_symlink command that
- behaves like ln -s.
-
-2005-08-19 09:29 king
-
- * Modules/CMakeTestCCompiler.cmake: BUG: Need to test void* not
- "void *" because the Intel compiler icc expands the asterisk.
- Thanks to Filipe Sousa for the patch.
-
-2005-08-19 09:22 king
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: BUG: Removing exe VERSION
- attribute test until it is implemented in the XCode generator.
-
-2005-08-19 04:52 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-18 16:17 andy
-
- * Source/CTest/cmCTestTestHandler.h: COMP: Add STD namespace
-
-2005-08-18 16:06 king
-
- * Source/kwsys/SharedForward.h.in: BUG: Fixed dirname in a few
- cases on windows. Now using KWSYS_SHARED_FORWARD_CONFIG_NAME
- setting instead of CMAKE_INTDIR directly to give choice to user
- code. Updated documentation to include
- @KWSYS_NAMESPACE@_SHARED_FORWARD_CONFIG_NAME,
- @KWSYS_NAMESPACE@_SHARED_FORWARD_OPTION_PRINT, and
- @KWSYS_NAMESPACE@_SHARED_FORWARD_OPTION_LDD settings.
-
-2005-08-18 13:50 andy
-
- * Source/CTest/: cmCTestTestHandler.cxx, cmCTestTestHandler.h: ENH:
- Improve log file strategy
-
-2005-08-18 10:02 andy
-
- * Source/CTest/cmCTestUpdateCommand.cxx: ENH: Set update options
-
-2005-08-18 09:23 king
-
- * Source/kwsys/SharedForward.h.in: ENH: Added support for Windows.
-
-2005-08-18 09:21 king
-
- * Tests/CustomCommand/foo.h.in: COMP: Avoid C++ comment in C
- translation unit.
-
-2005-08-18 09:19 king
-
- * Source/cmDependsC.cxx: COMP: Work-around iterator/const_iterator
- comparison problem on Borland 5.5.
-
-2005-08-18 05:41 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-17 17:56 king
-
- * Tests/CustomCommand/CMakeLists.txt: BUG: It seems the
- auto-object-depends feature does not work in Visual Studio. I'm
- restoring the explicit OBJECT_DEPENDS lines.
-
-2005-08-17 17:39 king
-
- * Source/cmSystemTools.cxx: BUG: RunSingleCommand should translate
- NULL characters in the output to valid text. This should fix the
- missing-output problem caused by NULL-characters in VS build
- output.
-
-2005-08-17 17:04 king
-
- * Source/kwsys/SystemTools.cxx: BUG: Automatic pwd/cwd path
- translation must check that the generated logical-to-physical
- mapping is correct by using realpath.
-
-2005-08-17 16:19 king
-
- * Source/CMakeLists.txt, Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: Updated SimpleInstall
- test to test new versioned executable and OUTPUT_NAME support.
-
-2005-08-17 16:11 king
-
- * Source/: cmFileCommand.cxx, cmLocalGenerator.cxx,
- cmLocalUnixMakefileGenerator3.cxx,
- cmSetTargetPropertiesCommand.h, cmTarget.cxx, cmTarget.h: ENH:
- Added versioned executable support. This partially addresses
- bug#2143. Also made OUTPUT_NAME work when installing
- executables.
-
-2005-08-17 16:06 king
-
- * Source/cmake.cxx: ENH: Added -E cmake_symlink_executable command
- to help create symbolic links for versioned executables.
-
-2005-08-17 16:05 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Do not make a file
- depend on a virtual target. That causes everything to always
- rebuild.
-
-2005-08-17 14:16 andy
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: More error regex
-
-2005-08-17 13:23 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: COMP: Cannot use
- first/last insertion constructor of std::set because it is not
- available on all platforms.
-
-2005-08-17 11:48 king
-
- * Tests/CustomCommand/: CMakeLists.txt, foo.in, foo.h.in: ENH:
- Adding test for auto-object-depends feature. It has been tested
- with the Makefile generator. Hopefully this will work for the
- Visual Studio and XCode generators.
-
-2005-08-17 11:43 king
-
- * Source/: cmDependsC.cxx, cmDependsC.h,
- cmLocalUnixMakefileGenerator3.cxx: ENH: Adding support for
- automatically adding the OBJECT_DEPENDS for generated header
- files.
-
-2005-08-17 05:44 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-16 08:32 hoffman
-
- * Utilities/Release/: cmake_release.sh: ENH: file is now configured
-
-2005-08-16 05:46 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-15 05:40 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-14 05:45 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-13 05:50 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-12 11:57 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-11 14:02 hoffman
-
- * ChangeLog.manual, Modules/CMakeCCompiler.cmake.in,
- Modules/CMakeCInformation.cmake,
- Modules/CMakeCXXCompiler.cmake.in,
- Modules/CMakeCXXInformation.cmake,
- Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakeDetermineFortranCompiler.cmake,
- Modules/CMakeDetermineJavaCompiler.cmake,
- Modules/CMakeDetermineRCCompiler.cmake,
- Modules/CMakeDetermineSystem.cmake,
- Modules/CMakeFortranCompiler.cmake.in,
- Modules/CMakeFortranInformation.cmake,
- Modules/CMakeGenericSystem.cmake,
- Modules/CMakeJavaCompiler.cmake.in,
- Modules/CMakeRCCompiler.cmake.in,
- Modules/CMakeRCInformation.cmake,
- Modules/CMakeTestCCompiler.cmake,
- Modules/CMakeTestCXXCompiler.cmake,
- Modules/CMakeTestFortranCompiler.cmake, Modules/CTest.cmake,
- Modules/CTestTargets.cmake, Modules/CheckCSourceCompiles.cmake,
- Modules/CheckCXXSourceCompiles.cmake,
- Modules/CheckFunctionExists.cmake,
- Modules/CheckIncludeFile.cmake,
- Modules/CheckIncludeFileCXX.cmake,
- Modules/CheckIncludeFiles.cmake,
- Modules/CheckLibraryExists.cmake,
- Modules/CheckSymbolExists.cmake, Modules/CheckTypeSize.cmake,
- Modules/CheckVariableExists.cmake, Modules/Dart.cmake,
- Modules/FindDoxygen.cmake, Modules/FindGLUT.cmake,
- Modules/FindJNI.cmake, Modules/FindOpenAL.cmake,
- Modules/FindPhysFS.cmake, Modules/FindPythonInterp.cmake,
- Modules/FindQt.cmake, Modules/FindQt.cmake.bak,
- Modules/FindQt3.cmake, Modules/FindQt4.cmake,
- Modules/FindQt4.cmake.bak, Modules/FindSDL.cmake,
- Modules/FindSDL.cmake.bak, Modules/FindSDL_image.cmake,
- Modules/FindSDL_image.cmake.bak, Modules/FindSDL_mixer.cmake,
- Modules/FindSDL_mixer.cmake.bak, Modules/FindSDL_net.cmake,
- Modules/FindSDL_net.cmake.bak, Modules/FindSDL_sound.cmake,
- Modules/FindSDL_ttf.cmake, Modules/FindSDL_ttf.cmake.bak,
- Modules/FindThreads.cmake, Modules/TestBigEndian.cmake,
- Modules/TestCXXAcceptsFlag.cmake,
- Modules/TestForANSIForScope.cmake,
- Modules/TestForSTDNamespace.cmake, Modules/Use_wxWindows.cmake,
- Modules/Platform/CYGWIN-g77.cmake, Modules/Platform/IRIX64.cmake,
- Modules/Platform/Windows-cl.cmake, Modules/Platform/g77.cmake,
- Source/CMakeLists.txt, Source/cmAddCustomCommandCommand.cxx,
- Source/cmAddDependenciesCommand.h, Source/cmAddTestCommand.h,
- Source/cmCTest.cxx, Source/cmCTest.h, Source/cmCacheManager.cxx,
- Source/cmCommands.cxx, Source/cmCustomCommand.cxx,
- Source/cmCustomCommand.h, Source/cmDepends.cxx,
- Source/cmDepends.h, Source/cmDependsC.cxx, Source/cmDependsC.h,
- Source/cmDependsFortran.cxx, Source/cmDependsFortran.h,
- Source/cmDependsJava.cxx, Source/cmDependsJava.h,
- Source/cmDocumentation.cxx, Source/cmDynamicLoader.cxx,
- Source/cmFLTKWrapUICommand.cxx, Source/cmFileCommand.cxx,
- Source/cmGetTestPropertyCommand.cxx,
- Source/cmGetTestPropertyCommand.h, Source/cmGlobalGenerator.cxx,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmGlobalUnixMakefileGenerator3.h,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalXCode21Generator.cxx,
- Source/cmGlobalXCode21Generator.h,
- Source/cmGlobalXCodeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.h, Source/cmListFileLexer.c,
- Source/cmListFileLexer.in.l, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalUnixMakefileGenerator3.h,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio6Generator.h,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmOrderLinkDirectories.cxx,
- Source/cmOrderLinkDirectories.h, Source/cmQTWrapCPPCommand.cxx,
- Source/cmSetTestsPropertiesCommand.cxx,
- Source/cmSetTestsPropertiesCommand.h, Source/cmSourceGroup.cxx,
- Source/cmSourceGroup.h, Source/cmSourceGroupCommand.cxx,
- Source/cmTarget.cxx, Source/cmTest.cxx, Source/cmTest.h,
- Source/cmTryCompileCommand.h, Source/cmUtilitySourceCommand.cxx,
- Source/cmake.cxx, Source/cmake.h, Source/ctest.cxx,
- Source/CTest/cmCTestBuildHandler.cxx,
- Source/CTest/cmCTestCoverageHandler.cxx,
- Source/CTest/cmCTestCoverageHandler.h,
- Source/CTest/cmCTestEmptyBinaryDirectoryCommand.cxx,
- Source/CTest/cmCTestGenericHandler.cxx,
- Source/CTest/cmCTestSubmitCommand.cxx,
- Source/CTest/cmCTestSubmitHandler.cxx,
- Source/CTest/cmCTestTestCommand.cxx,
- Source/CTest/cmCTestTestHandler.cxx,
- Source/CTest/cmCTestUpdateHandler.cxx, Source/kwsys/Base64.c,
- Source/kwsys/Base64.h.in, Source/kwsys/CMakeLists.txt,
- Source/kwsys/Configure.h.in, Source/kwsys/FundamentalType.h.in,
- Source/kwsys/Process.h.in, Source/kwsys/SystemTools.cxx,
- Source/kwsys/SystemTools.hxx.in,
- Source/kwsys/kwsysPlatformCxxTests.cmake,
- Source/kwsys/kwsysPlatformCxxTests.cxx,
- Source/kwsys/testHashSTL.cxx, Source/kwsys/testhash.cxx,
- Tests/BundleTest/BundleTest.cxx, Tests/BundleTest/CMakeLists.txt,
- Tests/CTestTest/test.cmake.in, Tests/CTestTest2/test.cmake.in,
- Tests/CTestTest3/test.cmake.in,
- Tests/Complex/cmTestConfigure.h.in,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/Complex/Executable/complex.cxx,
- Tests/Complex/Executable/testcflags.c,
- Tests/ComplexOneConfig/cmTestConfigure.h.in,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/testcflags.c,
- Tests/ComplexRelativePaths/cmTestConfigure.h.in,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/testcflags.c,
- Tests/MacroTest/CMakeLists.txt,
- Tests/MakeClean/ToClean/CMakeLists.txt,
- Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt,
- Tests/OutOfSource/OutOfSourceSubdir/simple.cxx,
- Tests/OutOfSource/OutOfSourceSubdir/testlib.cxx,
- Tests/OutOfSource/OutOfSourceSubdir/testlib.h,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt, Utilities/CMakeLists.txt,
- Utilities/cmcurl/CMakeLists.txt: ENH: move cvs onto branch and
- try for beta 2
-
-2005-08-11 13:20 martink
-
- * Source/cmake.cxx: ENH: added better error checking for cases when
- there is a CMakeCache.txt file but it is not readable
-
-2005-08-11 11:44 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-10 12:55 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalGenerator.cxx,
- Source/cmOrderLinkDirectories.cxx,
- Source/cmOrderLinkDirectories.h,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: fix bug
- 2087 lib prefix stripped off on windows
-
-2005-08-10 12:50 hoffman
-
- * Modules/FindQt4.cmake: ENH: some clean up from Clinton
-
-2005-08-10 12:01 hoffman
-
- * Modules/: FindOpenAL.cmake, FindSDL.cmake, FindSDL_image.cmake,
- FindSDL_mixer.cmake, FindSDL_net.cmake, FindSDL_sound.cmake,
- FindSDL_ttf.cmake: ENH: add Eric Wings FindSDL updates
-
-2005-08-10 11:42 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-10 10:01 hoffman
-
- * Source/cmDependsC.cxx: ENH: fix bug in depend file removing for
- deleted depend files
-
-2005-08-10 08:48 hoffman
-
- * Modules/: FindQt.cmake, FindQt4.cmake: ENH: fixed up qt stuff
- from Clinton Stimpson
-
-2005-08-09 13:12 martink
-
- * Source/CTest/cmCTestTestHandler.cxx: BUG: do not search the
- user's path for text executables when a full path is provided to
- the test
-
-2005-08-09 11:36 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-09 10:35 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: fix for sun make
- with spaces
-
-2005-08-08 15:23 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: have the
- build.make file include flags.make and use the language flags
-
-2005-08-08 13:28 martink
-
- * Source/cmAddCustomCommandCommand.cxx: ENH: fix for earlier fix on
- source with relative path
-
-2005-08-08 12:00 king
-
- * Source/cmAddCustomCommandCommand.cxx: BUG: Do not convert SOURCE
- argument from relative to full path. It breaks the old-style
- SOURCE==TARGET trick and the SOURCE argument is only present for
- old-style commands anyway. This addresses bug#2120.
-
-2005-08-08 11:33 king
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: BUG: Need TSD target to be built
- before SimpleInstall.
-
-2005-08-08 11:28 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Do not escape
- CMAKE_COMMAND twice.
-
-2005-08-08 11:02 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: fix and issue with
- spaces in paths
-
-2005-08-08 10:47 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-08 09:37 king
-
- * Source/cmake.cxx: BUG: When exiting before the configure step in
- script mode we must account for
- cmSystemTools::GetErrorOccuredFlag() for the return code.
-
-2005-08-07 10:30 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-06 10:50 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-05 17:07 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: fix warning
-
-2005-08-05 14:19 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: some fixes for cwd
- problems with rebuild_cache option
-
-2005-08-05 11:31 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-04 17:12 king
-
- * Source/kwsys/CMakeLists.txt: ENH: If VTK_LIBRARY_PROPERTIES is
- set then the properties it lists will be added to VTK library
- targets with SET_TARGET_PROPERTIES. This will be useful to
- enable shared library versioning.
-
-2005-08-04 11:19 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-03 16:10 king
-
- * Source/cmAddDependenciesCommand.h: ENH: Clarified documentation
- further.
-
-2005-08-03 14:16 andy
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: More build errors
-
-2005-08-03 14:15 andy
-
- * Source/CTest/cmCTestCoverageHandler.cxx: ENH: More handling of
- gcov 4.0
-
-2005-08-03 13:34 andy
-
- * Source/CTest/cmCTestCoverageHandler.cxx: ENH: More support for
- gcov 4.0
-
-2005-08-03 13:19 andy
-
- * Modules/: CTest.cmake, CTestTargets.cmake: ENH: Initial import
-
-2005-08-03 13:19 andy
-
- * Modules/: Dart.cmake, FindJNI.cmake: STYLE: Fix typo
-
-2005-08-03 11:56 andy
-
- * Source/CTest/cmCTestCoverageHandler.cxx: ENH: Add support for the
- new gcc that uses files with extension .gcda
-
-2005-08-03 11:50 andy
-
- * Tests/CTestTest2/test.cmake.in: COMP: Fix for proxy test
-
-2005-08-03 11:24 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-02 17:41 hoffman
-
- * Modules/Platform/Windows-cl.cmake: ENH: /nologo must be first
-
-2005-08-02 16:44 hoffman
-
- * Modules/FindQt4.cmake: ENH: add changes for qt4 from Clinton
- Stimpson
-
-2005-08-02 16:34 hoffman
-
- * Modules/FindQt4.cmake: ENH: add changes for qt4 from Clinton
- Stimpson
-
-2005-08-02 13:40 andy
-
- * Source/CMakeLists.txt: ENH: change name from XCode to Xcode no
- need to test bootstrap for xcode
-
-2005-08-02 13:02 andy
-
- * Source/CMakeLists.txt: ENH: change name from XCode to Xcode no
- need to test bootstrap for xcode
-
-2005-08-02 13:01 andy
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: get around problem where
- OBJROOT has been set by default for all projects in Xcode gui
-
-2005-08-02 11:22 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-02 11:06 hoffman
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx: FIX: fix bad depend info and
- COMPILE_FLAGS problem and remove extra cerr calls
-
-2005-08-02 10:07 andy
-
- * Tests/CTestTest/test.cmake.in: COMP: Try to fix test by taking
- arg1 into acount
-
-2005-08-02 09:55 hoffman
-
- * Modules/FindQt.cmake: ENH: add advanced values
-
-2005-08-01 16:49 king
-
- * Source/: cmListFileLexer.c, cmListFileLexer.in.l: BUG: Unquoted
- arguments can have quotes that are not at the beginning, but only
- an even number of them.
-
-2005-08-01 12:06 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-08-01 10:19 martink
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: first step to only
- rebuuilding on flag changes
-
-2005-08-01 09:44 hoffman
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt: ENH: make sure
- CMAKE_C_FLAGS are not clobbered
-
-2005-08-01 09:24 king
-
- * Source/cmQTWrapCPPCommand.cxx: BUG: Patch from Filipe Sousa.
- QT_WRAP_CPP should generate the file moc_dlgmain.ui.cxx instead
- of moc_dlgmain.cxx.
-
-2005-07-31 23:05 andy
-
- * Modules/CheckCXXSourceCompiles.cmake,
- Tests/MacroTest/CMakeLists.txt: ENH: Add C++ test too
-
-2005-07-31 23:02 andy
-
- * Modules/CheckCSourceCompiles.cmake,
- Tests/MacroTest/CMakeLists.txt: ENH: Add a test for C source file
- like AC_TRY_COMPILE
-
-2005-07-31 22:25 hoffman
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt: ENH: use ansi
- flags
-
-2005-07-31 11:51 andy
-
- * Source/: cmCommands.cxx, cmGetTestPropertyCommand.cxx,
- cmGetTestPropertyCommand.h, cmLocalGenerator.cxx, cmMakefile.cxx,
- cmMakefile.h, cmSetTestsPropertiesCommand.cxx,
- cmSetTestsPropertiesCommand.h, cmTest.cxx, cmTest.h: ENH: Add set
- and get test propety command
-
-2005-07-31 11:42 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-30 21:58 hoffman
-
- * Tests/: Complex/Executable/testcflags.c,
- ComplexOneConfig/Executable/testcflags.c,
- ComplexRelativePaths/Executable/testcflags.c: ENH: no c++
- comments in a c file
-
-2005-07-30 11:51 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-29 14:17 martink
-
- * Source/cmFLTKWrapUICommand.cxx: ENH; better warning message and
- fix type per julien
-
-2005-07-29 14:02 hoffman
-
- * Tests/: Complex/cmTestConfigure.h.in,
- Complex/Executable/complex.cxx,
- ComplexOneConfig/cmTestConfigure.h.in,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/cmTestConfigure.h.in,
- ComplexRelativePaths/Executable/complex.cxx: ENH: do not test for
- c and cxx flags on visual studio as it does not work yet
-
-2005-07-29 13:19 martink
-
- * Source/kwsys/kwsysPlatformCxxTests.cmake: ENH: change loc of log
- files
-
-2005-07-29 11:56 hoffman
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- Complex/Executable/complex.cxx, Complex/Executable/testcflags.c,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexOneConfig/Executable/testcflags.c,
- ComplexRelativePaths/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/complex.cxx,
- ComplexRelativePaths/Executable/testcflags.c: ENH: add new test
- to make sure c and cxx flags are going to the right files
-
-2005-07-29 11:52 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-29 11:25 andy
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Fix dependencies.
- Looks like all dependencies were missing subdirectory
-
-2005-07-29 10:04 andy
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: undo last change
-
-2005-07-29 10:02 andy
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: support versions greater
- than 20
-
-2005-07-29 09:19 martink
-
- * Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakeDetermineFortranCompiler.cmake,
- Modules/CMakeDetermineJavaCompiler.cmake,
- Modules/CMakeDetermineRCCompiler.cmake,
- Modules/CMakeDetermineSystem.cmake,
- Modules/CMakeTestCCompiler.cmake,
- Modules/CMakeTestCXXCompiler.cmake,
- Modules/CMakeTestFortranCompiler.cmake,
- Modules/CheckFunctionExists.cmake,
- Modules/CheckIncludeFile.cmake,
- Modules/CheckIncludeFileCXX.cmake,
- Modules/CheckIncludeFiles.cmake,
- Modules/CheckLibraryExists.cmake,
- Modules/CheckSymbolExists.cmake, Modules/CheckTypeSize.cmake,
- Modules/CheckVariableExists.cmake, Modules/FindThreads.cmake,
- Modules/TestBigEndian.cmake, Modules/TestCXXAcceptsFlag.cmake,
- Modules/TestForANSIForScope.cmake,
- Modules/TestForSTDNamespace.cmake,
- Modules/Platform/Windows-cl.cmake, Source/cmCacheManager.cxx,
- Source/cmGlobalGenerator.cxx,
- Source/cmGlobalUnixMakefileGenerator3.cxx,
- Source/cmGlobalXCodeGenerator.cxx, Source/cmLocalGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator3.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Tests/MakeClean/ToClean/CMakeLists.txt,
- Utilities/cmcurl/CMakeLists.txt: ENH: put cmake files intoa
- CMakeFiles subdir to clean up bin tree
-
-2005-07-28 15:24 martink
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: fix warning
-
-2005-07-28 14:52 andy
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: make sure c flags are
- used for c and cxx flags are used for cxx, really Bill
-
-2005-07-28 13:21 barre
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: add
- method to attempt to check if a file is text or binary
-
-2005-07-28 13:12 andy
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: make sure custom commands
- depend on full path files only: Bill as Andy
-
-2005-07-28 11:58 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-28 09:14 martink
-
- * Source/: cmCustomCommand.cxx, cmCustomCommand.h,
- cmLocalUnixMakefileGenerator3.cxx: ENH: always write out all
- custom commands
-
-2005-07-27 17:23 king
-
- * Source/cmMakefile.cxx: BUG: InitializeFromParent should copy
- include file regular expressions.
-
-2005-07-27 16:46 king
-
- * Source/cmGlobalGenerator.cxx: ENH: RUN_TESTS target now uses
- proper CMAKE_CFG_INTDIR setting to get $(IntDir) or $(OutDir)
- depending on the generator.
-
-2005-07-27 16:37 king
-
- * Source/cmUtilitySourceCommand.cxx: BUG: Hack to support building
- existing trees with UTILITY_SOURCE commands and the new VS
- generator directory structure.
-
-2005-07-27 15:46 andy
-
- * Source/cmGlobalGenerator.cxx: BUG: Generate RUN_TEST target if
- any tests are there
-
-2005-07-27 13:36 king
-
- * Source/: cmGlobalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h: ENH: Generator now creates a
- separate intermediate files directory for each target. This is
- needed for MSVC 8 to support parallel builds.
-
-2005-07-27 12:41 martink
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: fix some warnings and
- cleanup some
-
-2005-07-27 11:56 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-27 11:42 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: maybe fix fortran
- issue
-
-2005-07-27 11:36 martink
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: fix some warnings and
- cleanup some
-
-2005-07-27 11:31 martink
-
- * Source/: cmDependsJava.cxx, cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: fix some warnings and
- cleanup some
-
-2005-07-27 09:49 martink
-
- * Source/: cmDepends.cxx, cmDepends.h, cmDependsC.cxx,
- cmDependsC.h, cmDependsFortran.cxx, cmDependsFortran.h,
- cmDependsJava.cxx, cmDependsJava.h,
- cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h, cmLocalGenerator.cxx,
- cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h, cmake.cxx: ENH: reduce the
- number of files produced still needs a bit more cleanup
-
-2005-07-26 17:40 king
-
- * Modules/Dart.cmake: ENH: Added VS8 support for DART_CXX_NAME.
-
-2005-07-26 13:26 hoffman
-
- * Source/cmTarget.cxx: ENH: make sure source file depends are used
- to determine if custom commands are used
-
-2005-07-26 13:26 hoffman
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: if it is not a
- cmake target or a full path do not put depend information in the
- command
-
-2005-07-26 13:25 hoffman
-
- * Source/cmFLTKWrapUICommand.cxx: ENH: make sure custom command
- depend on fluid so if fltk is part of project fluid gets built
- first
-
-2005-07-26 11:45 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-26 11:37 king
-
- * Source/kwsys/: CMakeLists.txt, FundamentalType.h.in: ENH: Added
- FundamentalType header defining platform-independent fixed
- size/signedness integer types.
-
-2005-07-26 11:36 king
-
- * Source/kwsys/kwsysPlatformCxxTests.cxx: ENH: Added
- TEST_KWSYS_CXX_SAME_LONG_AND___INT64,
- TEST_KWSYS_CXX_SAME_LONG_LONG_AND___INT64,
- TEST_KWSYS_CAN_CONVERT_UI64_TO_DOUBLE, and
- TEST_KWSYS_CHAR_IS_SIGNED.
-
-2005-07-26 11:34 king
-
- * Source/kwsys/: Base64.c, Base64.h.in, Configure.h.in,
- Process.h.in: ENH: Moved kwsys_ns and kwsysEXPORT macros to
- Configure.h in the case of building a kwsys source file. This
- allows more than one header to be included in a kwsys source file
- without redefining the macros.
-
-2005-07-26 09:17 andy
-
- * Tests/CTestTest3/test.cmake.in: ENH: Add support for multi-string
- compiler name, and improve support for subversion
-
-2005-07-25 16:10 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: fix lib case bug
- correctly
-
-2005-07-25 11:41 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-24 11:42 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-23 11:44 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-23 10:32 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: undo fix
-
-2005-07-22 17:36 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-22 15:41 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: more efficent fix
- for bug # 2063
-
-2005-07-22 15:33 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for case
- mismatched lib bug # 2063
-
-2005-07-22 15:32 hoffman
-
- * Source/cmDependsC.cxx: ENH: string += is very slow, so don't use
- it
-
-2005-07-22 08:40 andy
-
- * Source/CTest/cmCTestUpdateHandler.cxx: ENH: Better handling of
- removed files and remove warning
-
-2005-07-22 08:39 andy
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: More regular
- expressions
-
-2005-07-21 15:54 andy
-
- * Source/CTest/cmCTestUpdateHandler.cxx: ENH: Add support for
- detecting files that were removed
-
-2005-07-21 10:26 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-21 09:07 andy
-
- * Source/CTest/cmCTestSubmitHandler.cxx: BUG: Remove duplicate
- prefix
-
-2005-07-20 22:23 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: fix warning
-
-2005-07-20 15:44 hoffman
-
- * Modules/CMakeCCompiler.cmake.in, Modules/CMakeCInformation.cmake,
- Modules/CMakeCXXCompiler.cmake.in,
- Modules/CMakeCXXInformation.cmake,
- Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakeDetermineFortranCompiler.cmake,
- Modules/CMakeDetermineJavaCompiler.cmake,
- Modules/CMakeDetermineRCCompiler.cmake,
- Modules/CMakeFortranCompiler.cmake.in,
- Modules/CMakeFortranInformation.cmake,
- Modules/CMakeJavaCompiler.cmake.in,
- Modules/CMakeRCCompiler.cmake.in,
- Modules/CMakeRCInformation.cmake, Source/cmLocalGenerator.cxx:
- ENH: make sure flags set in CC or CXX environment variables stay
- with the compiler
-
-2005-07-20 12:54 hoffman
-
- * Modules/: CMakeCInformation.cmake, CMakeCXXInformation.cmake,
- Platform/Windows-cl.cmake: ENH: move flags next to compiler, so
- if env contains compiler and some flag, they stay together
-
-2005-07-20 12:53 hoffman
-
- * Source/CMakeLists.txt: ENH: java does not work under mingw
-
-2005-07-20 12:48 hoffman
-
- * Modules/: FindQt.cmake, FindQt4.cmake: ENH: make sure qmake is on
- the machine before running it
-
-2005-07-20 12:40 andy
-
- * Source/kwsys/testHashSTL.cxx: ENH: Rename test
-
-2005-07-20 12:03 andy
-
- * Source/cmCTest.cxx: BUG: Initialize variable
-
-2005-07-20 12:02 andy
-
- * Source/kwsys/: CMakeLists.txt, testhash.cxx: ENH: Rename test
-
-2005-07-20 10:16 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-19 18:05 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: make it so that bootstrap
- does not use xml parser
-
-2005-07-19 17:16 hoffman
-
- * Source/: cmake.cxx, cmake.h: ENH: fix for bug 1866, make -G,-D -C
- options allow for space between arg and value
-
-2005-07-19 16:40 hoffman
-
- * Source/: CMakeLists.txt, cmFileCommand.cxx,
- cmGlobalXCode21Generator.cxx, cmGlobalXCodeGenerator.cxx,
- cmGlobalXCodeGenerator.h: ENH: if Xcode21 is installed then
- create 21 compatible project files
-
-2005-07-19 15:28 hoffman
-
- * Source/: cmGlobalXCode21Generator.cxx,
- cmGlobalXCode21Generator.h: ENH: add new stub generator
-
-2005-07-19 15:27 hoffman
-
- * Source/cmTryCompileCommand.h: ENH: add more docs
-
-2005-07-19 14:36 hoffman
-
- * Modules/CMakeGenericSystem.cmake: ENH: make KDevelop3 default to
- CMAKE_VERBOSE_MAKEFILE
-
-2005-07-19 11:48 hoffman
-
- * Modules/CMakeGenericSystem.cmake: ENH: make KDevelop3 default to
- CMAKE_VERBOSE_MAKEFILE
-
-2005-07-19 10:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-18 12:53 andy
-
- * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx,
- CTest/cmCTestSubmitCommand.cxx, CTest/cmCTestSubmitHandler.cxx:
- ENH: Add a way to submit extra files to the dashboard
-
-2005-07-18 11:46 andy
-
- * Modules/Dart.cmake, Source/cmCTest.cxx, Source/cmCTest.h,
- Source/ctest.cxx, Tests/CTestTest2/test.cmake.in: ENH: Several
- improvements and cleanups: 1. Add long command line arguments for
- every argument 2. Add a way to overwrite CTest configuration by
- providing --overwrite TimeOut=10 3. Improve argument parsing. 4.
- Add submit index argument
-
-2005-07-18 11:32 andy
-
- * Source/CTest/cmCTestGenericHandler.cxx: ENH: Cleanup file name
-
-2005-07-18 11:32 andy
-
- * Source/cmDocumentation.cxx: ENH: Cleanup the help a bit
-
-2005-07-18 08:47 hoffman
-
- * Modules/FindQt.cmake: ENH: fix qt bug
-
-2005-07-18 03:18 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-17 03:14 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-16 03:16 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-15 15:20 hoffman
-
- * Source/cmGlobalXCodeGenerator.h: ENH: fix bug 1960
-
-2005-07-15 13:24 hoffman
-
- * Source/cmAddTestCommand.h: BUG: fix for bug 1838
-
-2005-07-15 12:57 hoffman
-
- * Modules/FindGLUT.cmake: BUG: fix for bug 852
-
-2005-07-15 12:39 hoffman
-
- * Modules/: FindQt.cmake: ENH: fix hard coded include from patch
-
-2005-07-15 12:14 hoffman
-
- * Modules/: FindQt.cmake, FindQt3.cmake, FindQt4.cmake: ENH: add
- new qt stuff from warfield@bwh.harvard.edu, thanks
-
-2005-07-15 12:01 martink
-
- * Utilities/CMakeLists.txt: BUG: converted to 1.8 form of custom
- commands
-
-2005-07-15 11:48 andy
-
- * Modules/FindPythonInterp.cmake: ENH: Add registry for 2.4
-
-2005-07-15 11:45 andy
-
- * Modules/FindPythonInterp.cmake: BUG: Set PYTHONINTERP_FOUND
-
-2005-07-15 11:38 hoffman
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h: ENH: fix static build of vtk
- with cmake by having custom targets chain depend information
-
-2005-07-15 11:37 hoffman
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: remove commented
- code
-
-2005-07-15 11:36 hoffman
-
- * Source/CMakeLists.txt: ENH: remove messages about not running
- java test
-
-2005-07-15 11:34 hoffman
-
- * Source/cmDynamicLoader.cxx: ENH: fix compile error bug# 2020 on
- mac
-
-2005-07-15 08:36 andy
-
- * Modules/FindPythonInterp.cmake: ENH: Initial import
-
-2005-07-15 03:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-14 16:00 hoffman
-
- * Source/cmLocalGenerator.cxx: ENH: fix for bug 992, mac bundle
- install fix
-
-2005-07-14 15:12 hoffman
-
- * Source/cmMakefile.cxx: BUG: fix for bug 1850 wrapping can leave
- out files if they are a substring of another file
-
-2005-07-14 14:15 andy
-
- * Source/CTest/cmCTestCoverageHandler.cxx: ENH: Some more cleanups
- and add ctest custom vector for regular expression to exclude
- from coverage
-
-2005-07-14 14:15 andy
-
- * Source/cmCTest.cxx: BUG: Look for custom files in all directories
-
-2005-07-14 13:50 hoffman
-
- * Tests/OutOfSource/OutOfSourceSubdir/: testlib.cxx, testlib.h:
- ENH: add missing files
-
-2005-07-14 13:25 andy
-
- * Source/CTest/: cmCTestCoverageHandler.cxx,
- cmCTestCoverageHandler.h: ENH: Add custom supression regular
- expressions
-
-2005-07-14 12:21 hoffman
-
- * Source/cmLocalUnixMakefileGenerator3.cxx,
- Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt,
- Tests/OutOfSource/OutOfSourceSubdir/simple.cxx: FIX: fix bug
- 2043 borland compiler and dll problem and add a test for it
-
-2005-07-14 11:24 andy
-
- * Source/CTest/cmCTestCoverageHandler.cxx: BUG: Fix line number
- inconsistency, improve output
-
-2005-07-14 10:15 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: add support for
- borland exe with shared libs back in
-
-2005-07-14 09:44 andy
-
- * Tests/: Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: ENH: Do 4 files
-
-2005-07-14 09:30 andy
-
- * Tests/: Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: ENH: Add a test for
- cmGeneratedFileStream
-
-2005-07-14 09:29 andy
-
- * Source/CTest/cmCTestTestCommand.cxx: COMP: Remove warning and fix
- the logic
-
-2005-07-14 09:29 andy
-
- * Source/CTest/cmCTestCoverageHandler.cxx: BUG: Rename tmp files
-
-2005-07-14 03:13 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-13 16:57 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: remove part of
- patch from bug 1965 that set executable paths
-
-2005-07-13 16:49 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx: BUG: revert part of
- patch that set executable debug prefix as it breaks too much
- stuff
-
-2005-07-13 16:24 hoffman
-
- * Source/cmLocalGenerator.cxx: ENH: add -L as possible library flag
-
-2005-07-13 16:23 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: add support for bundles
-
-2005-07-13 16:20 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx: BUG: try to fix failed
- test
-
-2005-07-13 15:49 hoffman
-
- * Source/CMakeLists.txt: ENH: add bundle test
-
-2005-07-13 15:43 hoffman
-
- * Tests/BundleTest/: BundleTest.cxx, CMakeLists.txt: ENH: add a
- bundle test
-
-2005-07-13 11:21 hoffman
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio6Generator.h,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h, cmMakefile.cxx, cmMakefile.h,
- cmSourceGroup.cxx, cmSourceGroup.h, cmSourceGroupCommand.cxx:
- FIX: apply patch from bug# 1965
-
-2005-07-13 10:17 andy
-
- * Source/: cmCTest.h, CTest/cmCTestTestCommand.cxx: ENH: Add
- timeout support
-
-2005-07-13 09:49 andy
-
- * Source/kwsys/SystemTools.cxx: COMP: Remove warning on windows
-
-2005-07-13 09:08 hoffman
-
- * Modules/FindDoxygen.cmake: ENH: fix for darwin from eric wing
-
-2005-07-13 09:06 hoffman
-
- * Modules/: FindOpenAL.cmake, FindPhysFS.cmake, FindSDL.cmake,
- FindSDL_image.cmake, FindSDL_mixer.cmake, FindSDL_net.cmake,
- FindSDL_ttf.cmake: ENH: add a bunch of find sdl stuff from eric
- wing
-
-2005-07-13 08:29 hoffman
-
- * Modules/Platform/: CYGWIN-g77.cmake, IRIX64.cmake, g77.cmake:
- FIX: for 1852 fix fortran case
-
-2005-07-13 03:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-12 17:30 hoffman
-
- * ChangeLog.manual, Source/kwsys/SystemTools.cxx,
- Source/kwsys/SystemTools.hxx.in: merge from main tree
-
-2005-07-12 17:24 hoffman
-
- * CMakeSystemConfig.txt.in, CMakeWindowsSystemConfig.txt: ENH:
- remove unused files
-
-2005-07-12 17:24 hoffman
-
- * Source/cmCPluginAPI.h: ENH: change version
-
-2005-07-12 17:23 hoffman
-
- * Utilities/cmcurl/CMakeLists.txt: add -dl on unix
-
-2005-07-12 17:22 hoffman
-
- * Utilities/Release/: cmake_release.sh, config_Darwin,
- config_HP-UX, config_SunOS, release_dispatch.sh: move release
- stuff off branch
-
-2005-07-12 16:56 hoffman
-
- * ChangeLog.txt: update changes
-
-2005-07-12 16:51 hoffman
-
- * ChangeLog.txt: ENH: update changes for 2.2
-
-2005-07-12 15:40 hoffman
-
- * Utilities/Release/config_Darwin: [no log message]
-
-2005-07-12 15:26 hoffman
-
- * Utilities/Release/config_Darwin: [no log message]
-
-2005-07-12 15:11 hoffman
-
- * Utilities/Release/: config_Darwin, release_dispatch.sh: fixes for
- osx
-
-2005-07-12 13:54 hoffman
-
- * Utilities/Release/config_SunOS: put it back
-
-2005-07-12 13:21 andy
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: BUG: Revert
- the change to FileIsDirectory. Add FileIsSymlink and treat
- symlinks as files when removing directory
-
-2005-07-12 12:40 hoffman
-
- * Utilities/cmcurl/CMakeLists.txt: [no log message]
-
-2005-07-12 12:31 andy
-
- * Source/CTest/cmCTestTestHandler.cxx: BUG: Go back to the original
- directory after examining the current directory
-
-2005-07-12 12:30 andy
-
- * Source/CTest/cmCTestTestHandler.cxx: BUG: Make sure it always
- starts in the current directory when searching for tests
-
-2005-07-12 10:39 andy
-
- * Source/: kwsys/SystemTools.cxx,
- CTest/cmCTestEmptyBinaryDirectoryCommand.cxx: BUG: When removing
- directory, use lstat instead of stat to make sure that symlinks
- are treated as files and not as directories
-
-2005-07-12 10:25 hoffman
-
- * Utilities/Release/config_SunOS: [no log message]
-
-2005-07-12 10:08 hoffman
-
- * Utilities/Release/config_SunOS: [no log message]
-
-2005-07-12 09:36 hoffman
-
- * Utilities/Release/config_HP-UX: use gmake
-
-2005-07-12 08:50 andy
-
- * Source/cmCTest.cxx: BUG: Fix problem with visual studio in
- release mode
-
-2005-07-12 03:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-11 18:07 hoffman
-
- * Source/CursesDialog/form/CMakeLists.txt: ENH: fix from main tree
-
-2005-07-11 18:07 hoffman
-
- * Source/CursesDialog/form/CMakeLists.txt: ENH: add curses include
- directory
-
-2005-07-11 17:58 hoffman
-
- * Utilities/Release/config_Darwin: turn off wx dialog for now
-
-2005-07-11 17:15 hoffman
-
- * Utilities/Release/cmake_release.sh: get the correct version
-
-2005-07-11 17:11 hoffman
-
- * Utilities/Release/: cmake_release.sh, cmake_release.sh.in,
- config_CYGWIN_NT-5.1, config_IRIX64, config_Linux,
- cygwin-package.sh.in, release_dispatch.sh, README: ENH: merge
- changes from branches
-
-2005-07-11 16:57 hoffman
-
- * Utilities/Release/release_dispatch.sh: [no log message]
-
-2005-07-11 16:09 hoffman
-
- * Utilities/Release/: cmake_release.sh, cmake_release.sh.in,
- config_CYGWIN_NT-5.1, config_IRIX64, cygwin-package.sh.in,
- release_dispatch.sh: move stuff from 2.0 over to 2.2
-
-2005-07-11 15:21 hoffman
-
- * Utilities/Release/config_Linux: move config linix to 2.2 branch
-
-2005-07-11 15:11 hoffman
-
- * Utilities/Release/release_dispatch.sh: change to muse
-
-2005-07-11 15:05 hoffman
-
- * Utilities/Release/release_dispatch.sh: ENH: add from HEAD
-
-2005-07-11 15:04 hoffman
-
- * Utilities/Release/release_dispatch.sh: add from branch
-
-2005-07-11 14:55 martink
-
- * ChangeLog.manual: ENH: commit some change logs
-
-2005-07-11 14:54 hoffman
-
- * Source/cmCPluginAPI.h, Utilities/Release/cmake_release.sh,
- Utilities/Release/cmake_release.sh.in: ENH: fix up some version
- stuff
-
-2005-07-11 12:22 martink
-
- * Source/CTest/cmCTestUpdateHandler.cxx: ENH: provide default
- update options if none were provided
-
-2005-07-11 11:59 andy
-
- * Source/CTest/cmCTestUpdateHandler.cxx: ENH: Add default update
- options
-
-2005-07-11 11:37 martink
-
- * ChangeLog.manual: ENH: added ChangeLog as in prior release
-
-2005-07-11 11:36 martink
-
- * Source/cmAddCustomCommandCommand.cxx: ENH: merge from the main
- tree to handle relative files
-
-2005-07-11 11:31 martink
-
- * Source/CTest/cmCTestUpdateHandler.cxx: ENH: merged from CVS fix
- for SNV warning
-
-2005-07-11 11:16 andy
-
- * Source/CTest/cmCTestUpdateHandler.cxx: BUG: Remove warning when
- using CVS
-
-2005-07-11 03:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-10 03:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-09 03:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-08 11:51 martink
-
- * Source/cmAddCustomCommandCommand.cxx: ENH: slightly modified
- version of Alex's relative path arguments for custom commands
-
-2005-07-08 10:13 martink
-
- * Utilities/Release/cmake_release.sh: ENH: release commit
-
-2005-07-08 10:00 martink
-
- * CMakeLists.txt: ENH: rev to 22
-
-2005-07-08 09:55 martink
-
- * CMakeLists.txt: ENH: update rev to 23
-
-2005-07-08 09:05 king
-
- * Source/kwsys/testProcess.c: COMP: Fixed uninitialized variable.
-
-2005-07-08 03:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-07 16:01 martink
-
- * Source/cmConfigureFileCommand.cxx: ENH: configure file will
- assume start source dir if a full path is not provided
-
-2005-07-07 15:06 martink
-
- * Source/cmMakefile.cxx: BUG: library return values were not UNIX
- slashes on Win98
-
-2005-07-07 13:55 martink
-
- * Source/cmSourceFile.cxx: BUG: mor emissing convert to unix
- slashes
-
-2005-07-07 11:44 martink
-
- * Source/: cmMakefile.cxx, cmMakefile.h: ENH: cleaned up some old
- methods and vars
-
-2005-07-07 10:21 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: Removing
- CMAKE_HIDE_TARGET_DIRS since it has been superceded by
- CMAKE_TARGET_DIR_PREFIX.
-
-2005-07-07 10:14 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: Added use of
- CMAKE_TARGET_DIR_PREFIX variable to prepend a project-specified
- string to the names of all the target-name.dir directories.
-
-2005-07-07 10:11 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: added ability to
- prefix target directories with a . to make them not show up in
- ls. From patch from Alex
-
-2005-07-07 09:44 martink
-
- * Source/cmake.cxx: BUG: win95 returning non unix path for cmake
- command
-
-2005-07-07 09:06 king
-
- * Source/kwsys/testProcess.c: ENH: Extended test 0 to run the
- executable twice using the same process object. This tests the
- reusability of the objects.
-
-2005-07-07 09:05 king
-
- * Source/kwsys/ProcessWin32.c: BUG: Fixed reusability of process
- object by clearing each pipe's Closed flag when cleaning up.
-
-2005-07-07 03:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-06 16:16 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: BUG: fix for bootstrap problem
-
-2005-07-06 15:51 andy
-
- * Source/: cmCacheManager.cxx, cmFileCommand.cxx,
- cmWriteFileCommand.cxx: STYLE: Fix typos
-
-2005-07-06 15:49 andy
-
- * Source/CTest/cmCTestCoverageHandler.cxx: COMP: Remove warning
-
-2005-07-06 15:27 andy
-
- * Source/CTest/: cmCTestCoverageHandler.cxx,
- cmCTestCoverageHandler.h: ENH: Improve support for various
- versions of gcov
-
-2005-07-06 15:25 andy
-
- * Modules/FindFLTK.cmake: ENH: Replace with the one from InsightApp
-
-2005-07-06 15:25 martink
-
- * Source/cmListFileCache.cxx: BUG: project command should also work
- with lower case
-
-2005-07-06 15:24 martink
-
- * Tests/Simple/CMakeLists.txt: BUG: minor fix to project name to
- match ADD_TEST call
-
-2005-07-06 15:11 andy
-
- * Source/CTest/cmCTestSubmitHandler.cxx: BUG: On windows there can
- be a problem because scp does not handle drive names. This uses
- relative path for scp
-
-2005-07-06 03:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-05 16:13 martink
-
- * Utilities/Release/: MakeRelease.cmake.in, Release.cmake: ENH: a
- start on UNIX release
-
-2005-07-05 15:43 martink
-
- * Utilities/Release/Release.cmake: ENH: better release support
-
-2005-07-05 12:38 martink
-
- * Utilities/Release/: MakeRelease.cmake.in, Release.cmake: ENH:
- better release support
-
-2005-07-05 11:17 andy
-
- * Modules/FindDCMTK.cmake: ENH: Improvements by Julien
-
-2005-07-05 10:08 martink
-
- * Source/cmMacroCommand.cxx: ENH: revert back to string replacement
- version
-
-2005-07-05 09:21 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: util targets now
- show up in locla makefile and make rebuild_cache now works in
- subdirs
-
-2005-07-05 09:00 martink
-
- * Source/cmLocalGenerator.cxx: BUG: fix for debug optimized link
- libraries
-
-2005-07-05 03:02 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-04 03:01 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-03 12:06 andy
-
- * Source/cmake.cxx: ENH: Only truncate files when not in try
- compile. Alsom move truncating code closer to configure
-
-2005-07-03 03:02 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-02 22:50 andy
-
- * Source/cmCTest.cxx: ENH: Improve performance of MakeXMLSafe,
- improve performance of reading custom ctest files, and remove
- error when running ctest on directory without
- DartConfiguration.tcl
-
-2005-07-02 22:32 andy
-
- * Source/CTest/cmCTestCoverageHandler.cxx: STYLE: Unify number of
- spaces
-
-2005-07-02 22:31 andy
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: Improve performance by
- compiling regular expressions when needed
-
-2005-07-02 22:30 andy
-
- * Source/CTest/: cmCTestTestHandler.cxx, cmCTestTestHandler.h: ENH:
- Improve performance of testing and do not complain if
- DartTestfile.txt is not found or if directory does not exist
-
-2005-07-02 22:25 andy
-
- * Source/: cmake.cxx, cmake.h: ENH: Start adding the code that will
- truncate output logs
-
-2005-07-02 01:25 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-07-01 10:57 martink
-
- * Source/: cmGetTargetPropertyCommand.h, cmTarget.cxx: ENH: added
- Alexander's target property TYPE
-
-2005-07-01 10:23 martink
-
- * Source/: cmGetDirectoryPropertyCommand.cxx,
- cmGetDirectoryPropertyCommand.h: ENH: added patch from Alexander
- Neundorf to get DEFINITIONS
-
-2005-06-30 13:39 martink
-
- * Tests/: Complex/CMakeLists.txt, Complex/cmTestConfigure.h.in,
- Complex/Executable/complex.cxx, ComplexOneConfig/CMakeLists.txt,
- ComplexOneConfig/cmTestConfigure.h.in,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/cmTestConfigure.h.in,
- ComplexRelativePaths/Executable/complex.cxx: ENH: added testing
- of the WHILE command
-
-2005-06-30 13:39 martink
-
- * Docs/cmake-mode.el: ENH: added while command
-
-2005-06-30 13:27 martink
-
- * Docs/cmake-mode.el: ENH: added while command
-
-2005-06-30 13:09 martink
-
- * Utilities/Release/: CMake.nsi.in, MakeRelease.cmake.in,
- Release.cmake, Win32Release.sh.in: ENH: better release scripts
-
-2005-06-30 11:33 martink
-
- * Utilities/Release/Release.cmake: ENH: hard coded for VS 71 nmake
- for now
-
-2005-06-30 11:18 king
-
- * Modules/Platform/Windows-cl.cmake: BUG: Fixed escaped quote at
- end of .
-
-2005-06-30 09:53 martink
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: added local help and
- install targets
-
-2005-06-30 09:21 king
-
- * Source/kwsys/Base64.c: BUG: Do not increment optr by 2 after
- storing only one character. Also fixed possibility of storing
- uninitialized characters from the last triplet.
-
-2005-06-30 05:47 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-29 12:07 king
-
- * Modules/Platform/Windows-bcc32.cmake: BUG: Need to use the -c
- option for implib to produce case-sensitive symbols in the .lib
- files.
-
-2005-06-29 08:46 martink
-
- * CTestCustom.ctest.in: COMP: shut up warning
-
-2005-06-29 05:49 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-28 15:00 martink
-
- * Utilities/Release/: CMake.nsi.in, CMakeInstall.bmp: ENH: added
- our own bitmap
-
-2005-06-28 10:55 martink
-
- * Utilities/Release/CMake.nsi.in,
- Utilities/Release/Win32Release.sh.in,
- Utilities/Release/cmake_release.sh.in,
- Utilities/Release/Release.cmake, CMakeLists.txt: ENH: added some
- release support
-
-2005-06-28 05:45 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-27 15:59 martink
-
- * Source/cmMakefile.cxx: BUG: dont pass unverified char * to
- streams
-
-2005-06-27 12:45 martink
-
- * Tests/Simple/CMakeLists.txt: ENH: convert to lower case
-
-2005-06-27 12:44 martink
-
- * Example/: CMakeLists.txt, Demo/CMakeLists.txt,
- Hello/CMakeLists.txt: ENH: updte to lower case and using
- ADD_SUBDIRECTORY
-
-2005-06-27 11:39 martink
-
- * CTestCustom.ctest.in: ENH: mods to warning excludes based on new
- locaiton of curl
-
-2005-06-27 05:50 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-26 05:43 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-25 05:44 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-24 13:29 andy
-
- * Source/CTest/cmCTestSubmitHandler.cxx: BUG: Exit properly on SCP
- submission
-
-2005-06-24 09:41 andy
-
- * Source/CTest/cmCTestSubmitHandler.cxx: COMP: Remove warnings
-
-2005-06-24 09:06 andy
-
- * CMakeLists.txt, Source/CMakeLists.txt, Source/cmCTest.cxx,
- Source/CTest/cmCTestSubmitHandler.cxx: ENH: Move curl to
- utilities
-
-2005-06-24 09:00 andy
-
- * Utilities/cmcurl/: amigaos.c, amigaos.h, arpa_telnet.h, base64.c,
- base64.h, ca-bundle.h, connect.c, connect.h, content_encoding.c,
- content_encoding.h, cookie.c, cookie.h, curl_memory.h, curlx.h,
- dict.c, dict.h, easy.c, escape.c, escape.h, file.c, file.h,
- formdata.c, formdata.h, ftp.c, ftp.h, getdate.c, getdate.h,
- getenv.c, getinfo.c, getinfo.h, hash.c, hash.h, hostares.c,
- hostasyn.c, hostip.c, hostip.h, hostip4.c, hostip6.c, hostsyn.c,
- hostthre.c, http.c, http.h, http_chunks.c, http_chunks.h,
- http_digest.c, http_digest.h, http_negotiate.c, http_negotiate.h,
- http_ntlm.c, http_ntlm.h, if2ip.c, if2ip.h, inet_ntoa_r.h,
- inet_ntop.c, inet_ntop.h, inet_pton.c, inet_pton.h, krb4.c,
- krb4.h, ldap.c, ldap.h, llist.c, llist.h, md5.c, md5.h,
- memdebug.c, memdebug.h, mprintf.c, multi.c, netrc.c, netrc.h,
- nwlib.c, progress.c, progress.h, security.c, security.h, sendf.c,
- sendf.h, setup.h, share.c, share.h, speedcheck.c, speedcheck.h,
- ssluse.c, ssluse.h, strequal.c, strequal.h, strerror.c,
- strerror.h, strtok.c, strtok.h, strtoofft.c, strtoofft.h,
- telnet.c, telnet.h, timeval.c, timeval.h, transfer.c, transfer.h,
- url.c, url.h, urldata.h, version.c, CMakeLists.txt, config.h.in,
- curl.copyright, CMake/CheckTypeSize.c.in,
- CMake/CheckTypeSize.cmake, CMake/CurlTests.c,
- Platforms/WindowsCache.cmake, Platforms/config-aix.h,
- Testing/CMakeLists.txt, Testing/curlgtk.c, Testing/curltest.c,
- Testing/ftpget.c, Testing/ftpgetresp.c, Testing/ftpupload.c,
- Testing/getinmemory.c, Testing/http-post.c, Testing/httpput.c,
- Testing/multithread.c, Testing/persistant.c, Testing/postit2.c,
- Testing/sepheaders.c, Testing/simple.c, Testing/simplessl.c,
- Testing/testconfig.h.in, Testing/win32sockets.c, curl/curl.h,
- curl/curlver.h, curl/easy.h, curl/mprintf.h, curl/multi.h,
- curl/stdcheaders.h, curl/types.h: ENH: Initial import
-
-2005-06-24 05:43 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-23 16:06 andy
-
- * Source/CTest/cmCTestSubmitHandler.cxx: ENH: Make iterators const
-
-2005-06-23 13:07 andy
-
- * Tests/CTestTest3/test.cmake.in: ENH: Perform second test if
- subversion exists
-
-2005-06-23 13:04 andy
-
- * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h,
- CTest/cmCTestBuildAndTestHandler.cxx,
- CTest/cmCTestBuildCommand.cxx, CTest/cmCTestBuildHandler.cxx,
- CTest/cmCTestConfigureCommand.cxx,
- CTest/cmCTestConfigureHandler.cxx,
- CTest/cmCTestCoverageCommand.cxx,
- CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestCoverageHandler.h,
- CTest/cmCTestGenericHandler.cxx, CTest/cmCTestGenericHandler.h,
- CTest/cmCTestHandlerCommand.cxx, CTest/cmCTestHandlerCommand.h,
- CTest/cmCTestMemCheckCommand.cxx, CTest/cmCTestMemCheckCommand.h,
- CTest/cmCTestScriptHandler.cxx, CTest/cmCTestStartCommand.cxx,
- CTest/cmCTestSubmitCommand.cxx, CTest/cmCTestSubmitHandler.cxx,
- CTest/cmCTestSubmitHandler.h, CTest/cmCTestTestCommand.cxx,
- CTest/cmCTestTestCommand.h, CTest/cmCTestTestHandler.cxx,
- CTest/cmCTestUpdateCommand.cxx, CTest/cmCTestUpdateHandler.cxx,
- kwsys/CTestConfig.cmake: ENH: Several improvements with the way
- things are handled. Also, support multiple submited files
-
-2005-06-23 12:34 martink
-
- * Source/cmMacroCommand.cxx: COMP: fix compiler warnings
-
-2005-06-23 11:03 martink
-
- * Source/: cmForEachCommand.cxx, cmIfCommand.cxx,
- cmMacroCommand.cxx, cmWhileCommand.cxx: ENH: converted macro to
- use variables and fixed some case issues with some function
- blockers
-
-2005-06-23 10:25 king
-
- * Source/kwsys/hashtable.hxx.in: ENH: Added some smaller primes to
- allow small hash table sizes and therefore shorter initial
- construction times.
-
-2005-06-23 05:57 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-22 14:20 martink
-
- * Source/cmForEachCommand.h: STYLE: updated the docs to be more
- accurate
-
-2005-06-22 14:16 martink
-
- * Source/cmForEachCommand.cxx: COMP: fix possible poroblem with
- freed memory
-
-2005-06-22 14:04 martink
-
- * Source/cmForEachCommand.cxx: COMP: fix unused variable
-
-2005-06-22 13:32 martink
-
- * Source/cmForEachCommand.cxx: ENH: changed FOREACH to use
- variables instead of string replacement
-
-2005-06-22 10:54 andy
-
- * Source/CTest/cmCTestTestHandler.cxx: BUG: Fix displaying of
- percentage
-
-2005-06-22 10:09 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: clean rule wasn't
- cleaning libs and executables
-
-2005-06-22 09:12 martink
-
- * Source/cmTarget.cxx: ENH: some better checks
-
-2005-06-22 09:06 martink
-
- * Source/: cmExportLibraryDependencies.cxx, cmGlobalGenerator.cxx,
- cmGlobalKdevelopGenerator.cxx,
- cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio71Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h, cmLocalGenerator.cxx,
- cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio6Generator.h,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h, cmMakeDepend.cxx,
- cmMakeDepend.h, cmMakefile.cxx, cmMakefile.h,
- cmOrderLinkDirectories.cxx, cmOrderLinkDirectories.h,
- cmTarget.cxx, cmTarget.h: ENH: make LOCATION an computed property
- of the target and get rid of a bunch of const junk
-
-2005-06-22 05:43 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-21 16:44 andy
-
- * Source/cmCommandArgumentParserHelper.cxx: ENH: Remove stray abort
-
-2005-06-21 16:29 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx: ENH: fix for BSD makes no
- longer use dir name as a target
-
-2005-06-21 14:20 king
-
- * Source/cmTryRunCommand.cxx: BUG: Fixed error message formatting
- when try run executable command cannot be found.
-
-2005-06-21 11:01 andy
-
- * Source/cmCommandArgumentParserHelper.cxx: BUG: Fix escaping to
- make OSX work again
-
-2005-06-21 10:33 king
-
- * Source/kwsys/testProcess.c: BUG: Use sleep(1) instead of
- usleep(1000000) because some UNIX systems specify that the
- argument to usleep must be less than 1000000.
-
-2005-06-21 09:34 martink
-
- * Source/: cmCustomCommand.cxx, cmCustomCommand.h,
- cmLocalUnixMakefileGenerator3.cxx: ENH: add test to make sure
- custom commands are used
-
-2005-06-21 05:56 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-20 17:57 andy
-
- * Source/cmCTest.cxx: ENH: Initialize handler before processing it
-
-2005-06-20 17:37 andy
-
- * Source/CursesDialog/.NoDartCoverage: ENH: Until there is some
- test for curses dialog, no need to do coverage
-
-2005-06-20 16:31 martink
-
- * Modules/: Dart.cmake, TestCXXAcceptsFlag.cmake,
- Platform/Darwin.cmake: ENH: fixed some spelling errors
-
-2005-06-20 16:24 martink
-
- * Source/cmMakefile.cxx: BUG: goof in new feature fixed
-
-2005-06-20 14:15 martink
-
- * Source/: cmLocalUnixMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.h: ENH: removed unused files
-
-2005-06-20 14:00 martink
-
- * Docs/CMake04.rtf, Source/cmGetTargetPropertyCommand.cxx,
- Source/cmGetTargetPropertyCommand.h, Source/cmGlobalGenerator.h,
- Source/cmMakefile.cxx: ENH: modified GET_TARGET_PROPERTIES to
- work with all targets
-
-2005-06-20 13:49 barre
-
- * Source/kwsys/testSystemTools.cxx: ENH: fix test, it has to return
- a true/false value otherwise it just passes the test, and add
- test for EscapeChars
-
-2005-06-20 13:10 martink
-
- * Modules/: TestBigEndian.cmake, UseSWIG.cmake: BUG: fix some
- missing quotes for STREQUAL IF statements
-
-2005-06-20 12:55 martink
-
- * Modules/CMakeGenericSystem.cmake: ENH: adde dback in
- CMAKE_VERBOSE_MAKEFILE that was acc removed
-
-2005-06-20 11:54 king
-
- * Source/cmSetTargetPropertiesCommand.h: ENH: Added documentation
- of VERSION and SOVERSION properties.
-
-2005-06-20 11:53 martink
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h,
- cmGlobalUnixMakefileGenerator.cxx,
- cmGlobalUnixMakefileGenerator.h: ENH: no longer used
-
-2005-06-20 11:49 martink
-
- * Tests/COnly/CMakeLists.txt: COMP: converted to lowercase commands
-
-2005-06-20 11:47 martink
-
- * Docs/cmake-mode.el: ENH: updated emacs mode to include lowercase
- commands and missing command ENDMACRO
-
-2005-06-20 08:59 martink
-
- * Source/CTest/cmCTestTestHandler.cxx: COMP: see about fixing
- warning
-
-2005-06-20 07:42 andy
-
- * Tests/CTestTest3/test.cmake.in: ENH: Skip svn test for now
-
-2005-06-20 05:50 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-19 06:51 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-18 05:28 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-17 23:15 andy
-
- * Source/CMakeLists.txt: COMP: Fix problems with old cmake
-
-2005-06-17 15:50 andy
-
- * Source/: cmCommandArgumentLexer.cxx, cmCommandArgumentLexer.in.l,
- cmCommandArgumentParserHelper.cxx,
- cmCommandArgumentParserHelper.h, cmListFileCache.cxx,
- cmMakefile.cxx, cmMakefile.h: ENH: Improve handling of escaped
- characters
-
-2005-06-17 15:44 andy
-
- * Source/CMakeLists.txt: ENH: Pass ctest config type to
- subprocesses
-
-2005-06-17 15:43 andy
-
- * Source/CTest/cmCTestTestHandler.cxx: ENH: Pass configuration type
- to subprocesses
-
-2005-06-17 14:13 king
-
- * Source/kwsys/CMakeLists.txt: ENH: Enabling new test 7 of process
- execution.
-
-2005-06-17 14:07 king
-
- * Source/kwsys/Process.h.in: ENH: Added polling feature to
- documentation of WaitForData.
-
-2005-06-17 14:05 king
-
- * Source/kwsys/ProcessWin32.c: BUG: Fixed polling feature of
- WaitForData.
-
-2005-06-17 13:59 king
-
- * Source/kwsys/testProcess.c: ENH: Added test 7 to expose problems
- with polling by WaitForData.
-
-2005-06-17 13:57 king
-
- * Source/kwsys/ProcessUNIX.c: BUG: Fixed polling capability of
- WaitForData.
-
-2005-06-17 13:14 andy
-
- * Tests/CTestTest3/test.cmake.in: ENH: Make CVS one nightly
-
-2005-06-17 13:07 andy
-
- * Tests/CTestTest3/test.cmake.in: ENH: Add subversion test
-
-2005-06-17 13:04 andy
-
- * Source/: cmCTest.cxx, cmCTest.h, cmCommand.h, cmObject.h,
- cmStandardIncludes.h, CTest/cmCTestBuildAndTestHandler.cxx,
- CTest/cmCTestBuildAndTestHandler.h,
- CTest/cmCTestBuildHandler.cxx, CTest/cmCTestBuildHandler.h,
- CTest/cmCTestConfigureHandler.cxx,
- CTest/cmCTestConfigureHandler.h,
- CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestCoverageHandler.h,
- CTest/cmCTestGenericHandler.h, CTest/cmCTestMemCheckHandler.cxx,
- CTest/cmCTestMemCheckHandler.h, CTest/cmCTestScriptHandler.cxx,
- CTest/cmCTestScriptHandler.h, CTest/cmCTestStartCommand.cxx,
- CTest/cmCTestSubmitHandler.cxx, CTest/cmCTestSubmitHandler.h,
- CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h,
- CTest/cmCTestUpdateCommand.cxx, CTest/cmCTestUpdateHandler.cxx,
- CTest/cmCTestUpdateHandler.h: ENH: Add superclass for all
- commands and handlers. Improve handlers to have initialization
- code, and start initializing ctest when start is invoked
-
-2005-06-17 11:46 malaterre
-
- * Source/kwsys/CommandLineArguments.hxx.in: ENH: Fix Bug #1950,
- provide a direct access to the input. Minor cleanup (convenience)
-
-2005-06-17 09:49 king
-
- * Source/: cmCMakeMinimumRequired.cxx, cmMakefile.h, cmVersion.h:
- ENH: Enabling ability for CMAKE_MINIMUM_REQUIRED version to
- include patch level. Submitted by Alexander Neundorf.
-
-2005-06-17 08:45 andy
-
- * Tests/MacroTest/CMakeLists.txt: ENH: Fix test on HP
-
-2005-06-17 05:50 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-16 16:42 andy
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: When running the same
- ctest as the one we are testing, make sure to run as separate
- process
-
-2005-06-16 16:33 andy
-
- * Source/: cmMakefile.cxx, cmMakefile.h: ENH: Add extra argument
-
-2005-06-16 16:24 andy
-
- * Source/cmCTest.cxx, Tests/CTestTest3/test.cmake.in: ENH: Return
- error if there is an ERROR_MESSAGE. Also fix tag for the test
-
-2005-06-16 15:44 andy
-
- * Source/cmCommand.h: COMP: Fix build error on Windows
-
-2005-06-16 14:56 andy
-
- * Source/CMakeLists.txt, Tests/MacroTest/CMakeLists.txt,
- Tests/MacroTest/macroTest.c: ENH: Add test of macro
-
-2005-06-16 14:56 andy
-
- * Source/: cmake.cxx, cmake.h: ENH: Before running configre, remove
- all macros. Also, backup the command names. Also, make command
- names case insensitive
-
-2005-06-16 14:05 andy
-
- * Source/: cmCommand.h, cmConfigureFileCommand.h,
- cmFLTKWrapUICommand.h, cmQTWrapCPPCommand.h, cmQTWrapUICommand.h,
- cmUseMangledMesaCommand.h, cmVTKWrapJavaCommand.h,
- cmVTKWrapPythonCommand.h, cmVTKWrapTclCommand.h: ENH: Add
- classname to commands
-
-2005-06-16 13:29 andy
-
- * Tests/CTestTest3/test.cmake.in: ENH: Initial import
-
-2005-06-16 13:18 andy
-
- * Source/CMakeLists.txt, Source/cmCTest.cxx, Source/cmCTest.h,
- Source/CTest/cmCTestBuildCommand.cxx,
- Source/CTest/cmCTestCommand.h,
- Source/CTest/cmCTestGenericHandler.h,
- Source/CTest/cmCTestStartCommand.cxx,
- Source/CTest/cmCTestSubmitCommand.cxx,
- Source/CTest/cmCTestSubmitHandler.cxx,
- Source/CTest/cmCTestUpdateCommand.cxx,
- Source/CTest/cmCTestUpdateHandler.cxx,
- Tests/CTestTest2/test.cmake.in: ENH: Several improvements to
- CTest:
-
- 1. Support for showing line numbers when debugging ctest
- --show-line-numbers 2. Modify the ctest initialization code, so
- that it can be delayed 3. Handlers now have corresponding command
- if they were invoked from the command (so far only update
- actually use that) 4. Start command is simplified and the
- functionality is moved to CTest 5. Update can perform initial
- checkout if CTEST_CHECKOUT_COMMAND is set 6. Add test that checks
- out kwsys and perform tests on the fresh checkout
-
-2005-06-16 11:52 martink
-
- * Source/CMakeLists.txt: ENH: add first cut at support for exe with
- same name as lib
-
-2005-06-16 11:48 martink
-
- * Source/: cmSetTargetPropertiesCommand.h,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalUnixMakefileGenerator3.cxx: ENH: add first cut at support
- for exe with same name as lib
-
-2005-06-16 11:47 martink
-
- * Tests/SameName/: CMakeLists.txt, Exe1/CMakeLists.txt,
- Exe1/conly.c, Lib1/CMakeLists.txt, Lib1/libc1.c, Lib1/libc1.h:
- ENH: add same name test
-
-2005-06-16 10:23 martink
-
- * Source/cmITKWrapTclCommand.cxx: ENH: replace brackets with more
- generic find
-
-2005-06-16 10:22 martink
-
- * Source/cmOrderLinkDirectories.cxx: ENH: make more specific in
- reject self linking
-
-2005-06-16 05:50 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-15 15:51 andy
-
- * Source/cmCommand.h: ENH: Add accessor for Makefile and make
- SetError public
-
-2005-06-15 15:29 hoffman
-
- * CTestConfig.cmake: ENH: add for testing
-
-2005-06-15 10:54 andy
-
- * Tests/CTestTest2/test.cmake.in: BUG: Fix typo
-
-2005-06-15 10:53 andy
-
- * Source/CTest/: cmCTestMemCheckCommand.cxx,
- cmCTestMemCheckHandler.cxx: ENH: Pass in memcheck command options
- and suppresions, and change skin to tool
-
-2005-06-15 10:53 andy
-
- * Source/CTest/cmCTestCoverageCommand.cxx: ENH: Handle passing in
- coverage command
-
-2005-06-15 08:54 andy
-
- * Source/CMakeLists.txt: ENH: Add logging to improve coverage
-
-2005-06-15 05:42 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-14 15:53 andy
-
- * Utilities/.NoDartCoverage: ENH: No need to do coverage of
- utilities
-
-2005-06-14 15:49 andy
-
- * Source/: cmCommandArgumentParserHelper.cxx,
- cmCommandArgumentParserHelper.h: ENH: More cleanups
-
-2005-06-14 14:01 andy
-
- * Tests/CTestTest2/test.cmake.in: ENH: Also perform memory checking
- and coverage
-
-2005-06-14 14:00 andy
-
- * Source/: CMakeLists.txt, CTest/cmCTestCoverageCommand.cxx,
- CTest/cmCTestCoverageCommand.h, CTest/cmCTestMemCheckCommand.cxx,
- CTest/cmCTestMemCheckCommand.h, CTest/cmCTestScriptHandler.cxx:
- ENH: Add commands for memory checking and coverage
-
-2005-06-14 13:22 andy
-
- * Source/: cmCommandArgumentLexer.cxx, cmCommandArgumentLexer.in.l:
- ENH: Improve variable name regular expression
-
-2005-06-14 12:48 andy
-
- * Source/: cmMacroCommand.cxx, cmake.cxx, cmake.h: ENH: Save
- command that macro overwrites
-
-2005-06-14 11:42 andy
-
- * Source/: cmCTest.cxx, cmCTest.h,
- CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestUpdateHandler.cxx:
- ENH: Separate standard output and standard error for problematic
- commands
-
-2005-06-14 03:02 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-13 18:03 barre
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: add
- method to escape some chars in a string
-
-2005-06-13 14:29 andy
-
- * Source/cmCommandArgumentParserHelper.cxx: ENH: Handle
- non-existing variables
-
-2005-06-13 11:00 andy
-
- * bootstrap, Source/CMakeLists.txt, Source/cmMakefile.cxx: ENH: Use
- the new parser that supports nested variables
-
-2005-06-13 10:27 andy
-
- * Source/: cmCommandArgumentParser.cxx, cmCommandArgumentParser.y:
- ENH: More cleanups
-
-2005-06-13 10:11 andy
-
- * Source/: cmCommandArgumentParserHelper.cxx,
- cmCommandArgumentParserHelper.h: ENH: More optimization
-
-2005-06-13 10:01 andy
-
- * Source/: cmCommandArgumentLexer.cxx, cmCommandArgumentLexer.h,
- cmCommandArgumentParser.cxx, cmCommandArgumentParserTokens.h:
- ENH: Initial import
-
-2005-06-13 10:00 andy
-
- * Source/: cmCommandArgumentParserHelper.cxx,
- cmCommandArgumentParserHelper.h: ENH: Handle errors and optimize
- a bit
-
-2005-06-13 10:00 andy
-
- * Source/cmCommandArgumentLexer.in.l: ENH: Remove some allocations
-
-2005-06-13 09:59 andy
-
- * Source/cmCommandArgumentParser.y: ENH: Rearange and cleanup
-
-2005-06-13 09:33 martink
-
- * Source/: cmConfigureFileCommand.cxx, cmConfigureFileCommand.h:
- ENH: made configure file immediate by default for 2.2 or later
-
-2005-06-12 03:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-11 03:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-10 11:27 martink
-
- * Source/cmMakefile.cxx: ENH: remove old 1.2 compatability from
- cmake 2.2
-
-2005-06-10 10:45 martink
-
- * Source/cmMakefile.cxx: ENH: remove old 1.2 compatability from
- cmake 2.2
-
-2005-06-10 10:44 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h, cmake.cxx, cmake.h,
- cmLocalGenerator.h: ENH: added support for forcing recomputation
- of depends
-
-2005-06-10 10:09 martink
-
- * Tests/Wrapping/CMakeLists.txt: ENH: change to work with new FLTK
- command
-
-2005-06-10 10:09 martink
-
- * Source/: cmFLTKWrapUICommand.cxx, cmFLTKWrapUICommand.h: ENH:
- change workings of command so that it can all happing in the
- initial pass still works the old way but complains
-
-2005-06-10 10:08 martink
-
- * Source/cmAddLibraryCommand.cxx: ENH: allow libs with no sources
- but complain
-
-2005-06-10 09:01 andy
-
- * Source/: cmCTest.cxx, CTest/cmCTestBuildHandler.cxx: ENH: Be more
- verbose
-
-2005-06-10 08:56 andy
-
- * Source/CTest/: cmCTestBuildHandler.cxx,
- cmCTestConfigureHandler.cxx: ENH: Be more verbose
-
-2005-06-10 08:40 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx, cmGlobalXCodeGenerator.cxx,
- cmLocalGenerator.cxx, cmLocalGenerator.h: ENH: removed old
- convert calls
-
-2005-06-10 02:57 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-09 14:37 martink
-
- * bootstrap, Source/cmake.cxx, Source/CMakeLists.txt: ENH: removed
- UMG2
-
-2005-06-09 14:34 martink
-
- * Source/cmITKWrapTclCommand.cxx: ENH: deprecate old ITK wrap
- command
-
-2005-06-09 11:46 martink
-
- * Source/cmGlobalKdevelopGenerator.cxx: BUG: fix KDev gen to call
- parent class Generate
-
-2005-06-09 11:39 martink
-
- * Source/: cmGlobalKdevelopGenerator.h,
- cmLocalKdevelopGenerator.cxx, cmLocalKdevelopGenerator.h: ENH:
- make KDev sub off of Gen3
-
-2005-06-09 11:33 martink
-
- * Source/cmTarget.cxx: ENH: removed old 1.2 compatability
-
-2005-06-09 11:23 martink
-
- * Tests/Wrapping/CMakeLists.txt: ENH: no longer test ITK command
-
-2005-06-09 09:48 andy
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx: ENH: some better error
- reporting and more robust handlign of bad targets
-
-2005-06-09 08:19 king
-
- * Source/kwsys/Configure.h.in: COMP: Disable more warnings.
-
-2005-06-09 08:18 king
-
- * Source/kwsys/kwsys_ios_sstream.h.in: COMP: Fix
- no-assignment-operator warning and disable typedef-name synonym
- warning.
-
-2005-06-09 08:03 king
-
- * Source/kwsys/Configure.h.in: COMP: Disable useless warnings.
-
-2005-06-09 08:02 king
-
- * Source/kwsys/Configure.hxx.in: ENH: C++ configuration should
- include C configuration.
-
-2005-06-09 07:51 king
-
- * Source/kwsys/SystemTools.cxx: COMP: Need windows.h even on cygwin
- to get CreateFile API.
-
-2005-06-09 07:40 king
-
- * Source/kwsys/RegularExpression.cxx: COMP: Fixed conversion
- warnings.
-
-2005-06-09 04:14 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-08 16:55 martink
-
- * Source/cmIncludeCommand.cxx: BUG: fatal error in include file
- should not cause report of missing include file
-
-2005-06-08 16:39 martink
-
- * Tests/Wrapping/CMakeLists.txt: ENH: remove bad add target
- commands
-
-2005-06-08 16:39 martink
-
- * Source/: cmAddExecutableCommand.cxx, cmAddLibraryCommand.cxx:
- ENH: better error checking for add library or executable with no
- source files
-
-2005-06-08 16:31 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: prevent segfault
- when no sources provided for lib
-
-2005-06-08 14:18 andy
-
- * Source/: cmCommandArgumentLexer.in.l, cmCommandArgumentParser.y,
- cmCommandArgumentParserHelper.cxx,
- cmCommandArgumentParserHelper.h: ENH: Handle more cases
-
-2005-06-08 14:11 martink
-
- * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt, Wrapping/CMakeLists.txt:
- ENH: remove requirements on 1.2
-
-2005-06-08 12:26 martink
-
- * Tests/: OutOfSource/SubDir/CMakeLists.txt,
- Complex/CMakeLists.txt, Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt,
- Dependency/CMakeLists.txt, Jump/CMakeLists.txt,
- Jump/Library/CMakeLists.txt, PreOrder/CMakeLists.txt,
- SimpleInstall/CMakeLists.txt, SimpleInstallS2/CMakeLists.txt,
- Testing/CMakeLists.txt: ENH: shift to using ADD_SUBDIRECTORY
-
-2005-06-08 10:41 andy
-
- * Source/: cmCommandArgumentLexer.in.l, cmCommandArgumentParser.y,
- cmCommandArgumentParserHelper.cxx,
- cmCommandArgumentParserHelper.h: ENH: Initial import (not working
- yet)
-
-2005-06-08 09:59 king
-
- * Docs/cmake-mode.el: ENH: Experimenting with auto-dated copyright.
-
-2005-06-08 09:52 andy
-
- * Tests/CTestTest/CMakeLists.txt: ENH: Cleanup
-
-2005-06-08 04:09 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-07 12:07 martink
-
- * Source/cmGlobalVisualStudio7Generator.cxx,
- Modules/Platform/Windows-cl.cmake: ENH: fix for incorrect setting
- of CONFIZGURATION_TYPES
-
-2005-06-07 10:55 andy
-
- * Source/CTest/cmCTestTestHandler.cxx: BUG: Remove debugging code
-
-2005-06-07 10:47 martink
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx, cmake.cxx: ENH: fix
- problem with dependency scanning
-
-2005-06-07 09:57 andy
-
- * Source/cmLocalGenerator.cxx, Source/kwsys/CMakeLists.txt,
- Source/kwsys/ExtraTest.cmake.in, Tests/CTestTest/test.cmake.in,
- Tests/CTestTest2/test.cmake.in: ENH: Add capability to include
- files to DartTestfile.txt and add example of that
-
-2005-06-07 09:06 andy
-
- * Source/CTest/: cmCTestTestHandler.cxx, cmCTestTestHandler.h: ENH:
- Use CMake for parsing DartTestfile.txt
-
-2005-06-07 08:44 king
-
- * Modules/FindQt.cmake: ENH: Added search locations for a FreeBSD
- location. Contributed by Alexander Neundorf.
-
-2005-06-07 04:09 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-06 09:23 andy
-
- * Source/CTest/cmCTestBuildHandler.cxx: BUG: Initialize the
- iterator to prevent seg-fault
-
-2005-06-06 04:19 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-05 15:35 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-03 16:10 andy
-
- * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h,
- CTest/cmCTestBuildAndTestHandler.cxx,
- CTest/cmCTestBuildAndTestHandler.h: ENH: Move the build-and-test
- code to a handler
-
-2005-06-03 14:42 andy
-
- * Source/CTest/: cmCTestGenericHandler.cxx,
- cmCTestGenericHandler.h: ENH: Add a method to parse command line
- argument inside the handler
-
-2005-06-03 14:42 andy
-
- * Tests/CommandLineTest/CMakeLists.txt: ENH: Test setting of
- environment variables
-
-2005-06-03 14:17 andy
-
- * Source/cmSetCommand.cxx: BUG: Remove memory leak
-
-2005-06-03 12:59 martink
-
- * Source/: cmWrapExcludeFilesCommand.cxx,
- cmWrapExcludeFilesCommand.h, cmSourceFilesCommand.cxx,
- cmSourceFilesCommand.h, cmSourceFilesRemoveCommand.cxx,
- cmSourceFilesRemoveCommand.h: ENH: no longer used
-
-2005-06-03 12:58 martink
-
- * Source/cmCommands.cxx: ENH: removed old commands
-
-2005-06-03 11:29 andy
-
- * Source/CTest/cmCTestConfigureHandler.cxx: BUG: Remove unused code
-
-2005-06-03 11:26 martink
-
- * CTestCustom.ctest.in: ENH: shut up buggy gcc stl header
-
-2005-06-03 04:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-02 18:10 andy
-
- * Source/: cmCTest.cxx, ctest.cxx: ENH: Add debug flag
-
-2005-06-02 16:47 andy
-
- * Source/: cmCTest.cxx, CTest/cmCTestSubmitHandler.cxx: BUG: Fix
- the order of things to make submit handler not crash when proxies
- are set
-
-2005-06-02 15:14 martink
-
- * Docs/cmake-mode.el: ENH: updated commands
-
-2005-06-02 15:09 martink
-
- * Tests/Wrapping/CMakeLists.txt: ENH: removed old command
-
-2005-06-02 14:56 martink
-
- * Tests/: Complex/Library/CMakeLists.txt,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexRelativePaths/Library/CMakeLists.txt: ENH: removed old
- commands
-
-2005-06-02 14:48 andy
-
- * Source/CTest/cmCTestSubmitHandler.cxx: ENH: Cleanup output even
- more
-
-2005-06-02 14:24 martink
-
- * Source/: cmCommands.cxx, cmAbstractFilesCommand.cxx,
- cmAbstractFilesCommand.h: ENH: removed the ABSTRACT_FILES command
-
-2005-06-02 14:21 martink
-
- * Docs/cmake-mode.el: ENH: updated to remove ABSTRACT_FILES and add
- ADD_SUBDIRECTORY
-
-2005-06-02 14:10 martink
-
- * Tests/: Complex/Library/CMakeLists.txt,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexRelativePaths/Library/CMakeLists.txt: ENH: removed use of
- ABSTRACT command
-
-2005-06-02 13:41 martink
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: now also provides obj rules
- for local Makefiles
-
-2005-06-02 12:26 andy
-
- * Source/CTest/cmCTestBuildHandler.cxx: COMP: Remove compile
- warning
-
-2005-06-02 11:47 andy
-
- * Source/CTest/: cmCTestBuildHandler.cxx, cmCTestBuildHandler.h:
- ENH: Once the number of errors or warnings was reached, stop
- counting them. Also fix compile warning on bad compilers
-
-2005-06-02 09:35 andy
-
- * Source/CTest/cmCTestSubmitHandler.cxx: BUG: On windows there are
- problems when opening file as ascii
-
-2005-06-02 04:02 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-06-01 15:59 andy
-
- * Source/CTest/: cmCTestBuildHandler.cxx, cmCTestBuildHandler.h:
- ENH: Streamline build process. This reduces the memory footprint,
- since only some number of lines of output will be in memory at
- the time. Also, this will report the build errors and warnings as
- it goes through the build
-
-2005-06-01 13:37 martink
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: minor perf improvement
-
-2005-06-01 13:24 martink
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: do not add help
- target if there is a real target named help
-
-2005-06-01 13:19 king
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: Fixed name given
- to clean target listing for executable and library targets.
-
-2005-06-01 11:18 martink
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: COMP: fix warning
-
-2005-06-01 09:25 andy
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h: BUG: Remove duplicate targets
- when in different generators
-
-2005-06-01 08:59 martink
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: COMP: fix warning
-
-2005-06-01 08:56 martink
-
- * CTestCustom.ctest.in: COMP: suppress warnings in 3rd party libs
-
-2005-06-01 08:54 martink
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: COMP: fix warning
-
-2005-06-01 08:50 martink
-
- * Source/cmQTWrapUICommand.cxx: COMP: fix warning
-
-2005-06-01 08:48 martink
-
- * Source/: cmVariableRequiresCommand.cxx,
- cmVariableRequiresCommand.h: ENH: made immediate
-
-2005-06-01 08:25 andy
-
- * Source/cmCTest.cxx: ENH: Make CMake --build-and-test to be
- verbose by default
-
-2005-06-01 08:25 andy
-
- * Source/cmStandardIncludes.h: ENH: Add support for deque
-
-2005-06-01 03:56 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-31 18:40 andy
-
- * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx,
- CTest/cmCTestBuildHandler.cxx, CTest/cmCTestConfigureHandler.cxx,
- CTest/cmCTestCoverageHandler.cxx,
- CTest/cmCTestMemCheckHandler.cxx, CTest/cmCTestScriptHandler.cxx,
- CTest/cmCTestSubmitHandler.cxx, CTest/cmCTestTestHandler.cxx,
- CTest/cmCTestUpdateHandler.cxx: COMP: Remove ERROR reserved word
- or something and replace with ERROR_MESSAGE
-
-2005-05-31 17:32 andy
-
- * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx,
- CTest/cmCTestBuildHandler.cxx, CTest/cmCTestConfigureHandler.cxx,
- CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestCoverageHandler.h,
- CTest/cmCTestGenericHandler.cxx, CTest/cmCTestGenericHandler.h,
- CTest/cmCTestMemCheckHandler.cxx, CTest/cmCTestScriptHandler.cxx,
- CTest/cmCTestStartCommand.cxx, CTest/cmCTestSubmitHandler.cxx,
- CTest/cmCTestTestHandler.cxx, CTest/cmCTestUpdateHandler.cxx:
- ENH: Add support for writing output file. While doing that,
- redesign the way ctest does output. There may still be problems
- with commands failing, but that should be fixed by applying the
- similar concept to whole CMake
-
-2005-05-31 16:20 martink
-
- * CTestCustom.ctest.in: ENH: shut up some warning on SGI
-
-2005-05-31 15:10 martink
-
- * Source/: cmAddSubDirectoryCommand.cxx,
- cmAddSubDirectoryCommand.h: ENH: removed the PREORDER option from
- the AddSubDirectory command
-
-2005-05-31 14:09 martink
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: COMP: fix a waring
-
-2005-05-31 11:46 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h,
- cmLocalUnixMakefileGenerator3.cxx: ENH: now uses Makefile2 to
- cleanup zsh issues and provided some more documentation
-
-2005-05-31 10:16 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: STYLE: add some better comments
- and remove some unused code
-
-2005-05-31 04:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-30 17:26 andy
-
- * Source/cmStandardIncludes.h: ENH: Add support for iomanip
-
-2005-05-30 04:02 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-29 04:04 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-28 08:44 lorensen
-
- * Source/kwsys/SystemTools.cxx: COMP: warning.
-
-2005-05-28 04:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-27 22:11 barre
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: add
- convenience function to convert Windows command line args into
- Unix argc/argv. Pulled and cleaned from PV/VV/VJ init code
-
-2005-05-27 16:17 andy
-
- * Source/CTest/cmCTestScriptHandler.cxx: ENH: Use generated file
- stream for files
-
-2005-05-27 11:26 andy
-
- * DartConfig.cmake: ENH: Dart change
-
-2005-05-27 04:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-26 18:15 andy
-
- * Source/CTest/cmCTestSubmitHandler.cxx: ENH: Fix for changes in
- XML-RPC for Dart2
-
-2005-05-26 17:30 andy
-
- * Modules/CMakeVS8FindMake.cmake: COMP: Fix for support of VS 8.0
- beta 2
-
-2005-05-26 04:09 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-25 15:09 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx: ENH: added clean target for
- subdirs
-
-2005-05-25 12:22 martink
-
- * Source/: cmDepends.cxx, cmDepends.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: BUG: a fix for constant
- recomputing of depends
-
-2005-05-25 11:19 andy
-
- * Source/cmDependsFortran.cxx: ENH: new fortran depends to match
- new Unix Gen
-
-2005-05-25 11:18 martink
-
- * Source/: cmGlobalUnixMakefileGenerator.h,
- cmGlobalUnixMakefileGenerator3.h, cmake.cxx: ENH: switch to using
- new Unix Makefile generator for Unix as well
-
-2005-05-25 04:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-24 16:36 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: fix for directory
- of empty depend.make files
-
-2005-05-24 16:11 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: building libs
- caused all generated files to be deleted
-
-2005-05-24 15:36 martink
-
- * Source/cmIfCommand.h: STYLE: fix the docs
-
-2005-05-24 14:42 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: some more cleanup and
- changes to how custom commands are stored
-
-2005-05-24 11:17 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h,
- cmLocalUnixMakefileGenerator3.cxx: ENH: optimization to not use
- requires step unless a language requires it
-
-2005-05-24 10:45 martink
-
- * Modules/CMakeFortranInformation.cmake: ENH: added requires flag
-
-2005-05-24 04:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-23 03:57 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-22 03:56 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-21 03:56 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-20 12:09 andy
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: fix for empty
- custom commands
-
-2005-05-20 11:01 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: added help target and made
- custom commands execute in start output directory
-
-2005-05-20 08:45 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx: ENH: fix warning and
- also add back in build.make
-
-2005-05-20 03:57 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-19 15:55 martink
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: COMP: fix warning
-
-2005-05-19 15:00 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx: ENH: fixes for subdir build
- Makefiles
-
-2005-05-19 14:36 andy
-
- * Modules/Platform/Windows-cl.cmake: ENH: Be more verbose, handle
- network paths, and write compiler output to the log files
-
-2005-05-19 13:32 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: COMP: fix warning
-
-2005-05-19 13:26 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: BUG: fix for bad
- depency clearing
-
-2005-05-19 10:52 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx: ENH: some performance
- improvements
-
-2005-05-19 03:55 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-18 16:10 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: fix for makes that
- do not handle targets wihtout a rule to build them
-
-2005-05-18 13:46 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h, cmTarget.cxx: ENH: another step
- to the next generator still not optimized yet
-
-2005-05-18 04:01 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-17 14:39 martink
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: COMP: some warning fixes and
- cleanup
-
-2005-05-17 14:22 andy
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: implemented
- provides requires code
-
-2005-05-17 11:15 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: some more reorg
-
-2005-05-17 03:57 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-16 14:17 king
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h: BUG:
- Changing to a new test for whether to do relative path
- conversion. Now only paths inside the source or binary trees are
- converted.
-
-2005-05-16 13:42 king
-
- * Source/kwsys/: ProcessUNIX.c, testProcess.c: ENH: Removing
- previous debug code.
-
-2005-05-16 10:53 martink
-
- * Source/: cmDependsFortran.cxx, cmLocalUnixMakefileGenerator3.cxx:
- ENH: some updates to the provides requires code
-
-2005-05-15 03:57 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-14 04:01 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-13 15:51 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: ENH: remove duplicate
- provide rule for fortran
-
-2005-05-13 15:50 martink
-
- * Source/cmLocalGenerator.cxx: COMP: shut up warning
-
-2005-05-13 14:45 king
-
- * Source/kwsys/SharedForward.h.in: ENH: Added knowledge of FreeBSD.
-
-2005-05-13 14:44 king
-
- * Source/kwsys/: ProcessUNIX.c, testProcess.c: ENH: Adding
- debugging code for freebsd.
-
-2005-05-13 14:13 martink
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: BUG: minor cleanup and
- fix for convenience rules
-
-2005-05-13 14:12 martink
-
- * Source/cmGlobalGenerator.cxx: BUG: filx for old bug in rel path
- computaiton code
-
-2005-05-13 09:54 martink
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalUnixMakefileGenerator3.cxx, cmLocalGenerator.cxx,
- cmLocalGenerator.h, cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: warning fixes and some
- first steps in cleaning up the convert code
-
-2005-05-13 04:04 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-12 16:25 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: Undo fix as it broke
- the dashboard
-
-2005-05-12 13:27 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: fix for bug where
- debug, release etc flags were not used for linker options, BUG
- 1781 fix
-
-2005-05-12 11:53 martink
-
- * bootstrap: ENH: moved gen3 into bootstrap process
-
-2005-05-12 11:26 martink
-
- * Source/cmLocalUnixMakefileGenerator3.cxx: COMP: shut up unused
- var
-
-2005-05-12 11:24 martink
-
- * Source/cmake.cxx: BUG: fix bad generator name
-
-2005-05-12 10:58 martink
-
- * Source/CMakeLists.txt: ENH: defer relative paths
-
-2005-05-12 10:49 martink
-
- * Source/: CMakeLists.txt, cmGlobalBorlandMakefileGenerator.cxx,
- cmGlobalNMakeMakefileGenerator.cxx,
- cmGlobalNMakeMakefileGenerator.h,
- cmGlobalUnixMakefileGenerator3.cxx, cmLocalGenerator.h,
- cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h, cmake.cxx: ENH: added new
- generator
-
-2005-05-12 03:53 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-11 13:16 martink
-
- * Source/: cmDepends.cxx, cmDepends.h, cmDependsC.cxx,
- cmDependsC.h, cmDependsFortran.cxx, cmDependsFortran.h,
- cmDependsJava.cxx, cmDependsJava.h,
- cmLocalUnixMakefileGenerator2.cxx: ENH: some changes to the
- depends signature to be more flexible
-
-2005-05-11 12:44 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: another snapshot
-
-2005-05-11 10:19 martink
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h: ENH: added
- new methods to convert to HomeRelative paths
-
-2005-05-11 08:45 martink
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h,
- cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h: ENH: snapshot
-
-2005-05-11 03:55 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-10 16:41 king
-
- * Source/kwsys/testProcess.c: ENH: Removing QNX hack for test 6 now
- that the problem has been fixed.
-
-2005-05-10 16:36 king
-
- * Source/kwsys/ProcessUNIX.c: BUG: struct timeval uses unsigned
- types on at least one platform (QNX). Alot of the time logic
- assumes a signed type. Switch to using a signed representation
- that is converted to the native representation only for system
- calls.
-
-2005-05-10 11:11 andy
-
- * Source/: cmGeneratedFileStream.cxx, cmGeneratedFileStream.h: ENH:
- Allow changing of file name
-
-2005-05-10 11:00 king
-
- * Source/: cmDependsC.cxx, cmDependsC.h: BUG: Re-implemented
- dependency line parsing to deal with quoted paths and escaped
- spaces.
-
-2005-05-10 10:10 andy
-
- * Source/cmBuildCommand.cxx: ENH: Remove the old code
-
-2005-05-10 03:52 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-09 15:11 martink
-
- * Source/cmGlobalUnixMakefileGenerator3.cxx: ENH: some more fixes
-
-2005-05-09 08:53 martink
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: some more cleanup
-
-2005-05-09 03:57 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-08 13:49 andy
-
- * Source/CTest/cmCTestSubmitCommand.cxx,
- Tests/CTestTest2/test.cmake.in: ENH: Add notes
-
-2005-05-08 13:48 andy
-
- * Source/CTest/cmCTestStartCommand.cxx: ENH: Remove error about not
- being able to update CTest configuration
-
-2005-05-08 13:48 andy
-
- * Source/CTest/: cmCTestBuildCommand.cxx, cmCTestBuildCommand.h:
- ENH: Remove memory leak and remember global generator for next
- time
-
-2005-05-08 13:47 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: Add method so that ctest
- handlers and commands can add notes
-
-2005-05-08 04:00 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-07 03:56 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-06 14:49 martink
-
- * Source/: cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h,
- cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h: ENH: updates
-
-2005-05-06 12:38 king
-
- * Source/cmake.cxx: COMP: Fixed forced bool conversion warning.
-
-2005-05-06 09:58 king
-
- * Source/: cmDepends.cxx, cmDepends.h, cmDependsC.cxx,
- cmDependsC.h, cmDependsFortran.cxx, cmDependsFortran.h,
- cmDependsJava.cxx, cmDependsJava.h,
- cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h, cmake.cxx: ENH: Added optional
- verbose output to build system dependency check.
-
-2005-05-06 03:52 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-05 12:45 martink
-
- * Source/: cmGlobalUnixMakefileGenerator3.cxx,
- cmGlobalUnixMakefileGenerator3.h,
- cmLocalUnixMakefileGenerator3.cxx,
- cmLocalUnixMakefileGenerator3.h: ENH: backup of work in progress
-
-2005-05-05 10:40 andy
-
- * Source/cmMakefile.cxx: BUG: If there is a fatal error, stop
- processing list file
-
-2005-05-05 10:26 king
-
- * Source/cmGlobalVisualStudio7Generator.cxx: BUG: Added space after
- /clean to avoid putting it together with the build configuration.
- This fixes the failure of the complext test on the second run in
- the same tree.
-
-2005-05-05 10:19 andy
-
- * Source/kwsys/CTestConfig.cmake: ENH: Add configuration file for
- kwsys
-
-2005-05-05 10:19 andy
-
- * Source/CMakeLists.txt, Tests/CTestTest2/CMakeLists.txt,
- Tests/CTestTest2/test.cmake.in: ENH: Add new style ctest project
-
-2005-05-05 10:18 andy
-
- * Source/CTest/: cmCTestConfigureCommand.cxx,
- cmCTestSubmitCommand.cxx: ENH: Add default configure rules for
- CMake projects and add default rules for submission
-
-2005-05-05 10:18 andy
-
- * Source/CTest/cmCTestScriptHandler.cxx: ENH: Add variable that
- holds cmake executable
-
-2005-05-05 10:17 andy
-
- * Source/cmCTest.h: ENH: Add accessort for CMake executable
-
-2005-05-05 09:45 king
-
- * Source/kwsys/testProcess.c: ENH: Disabling test 6 on QNX until
- process killing can be resolved. It will just fail always for
- now.
-
-2005-05-05 09:21 andy
-
- * Source/cmCTest.cxx: BUG: Fix logic for verbose
-
-2005-05-05 09:09 king
-
- * Source/kwsys/hashtable.hxx.in: COMP: Removed unused parameter
- warning.
-
-2005-05-05 09:08 king
-
- * Source/kwsys/SystemTools.cxx: COMP: Added work-around to avoid
- warnings about unreferenced inline functions from SGI termios.
-
-2005-05-05 09:05 king
-
- * Source/kwsys/ProcessUNIX.c: COMP: Added initializer to avoid
- warning. It is not really needed, though.
-
-2005-05-05 03:51 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-04 11:37 andy
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Add
- split that splits on arbitrary separator
-
-2005-05-04 11:16 andy
-
- * Source/CTest/cmCTestUpdateHandler.cxx: ENH: Allow spaces in
- update command
-
-2005-05-04 11:13 andy
-
- * Source/CTest/: cmCTestBuildCommand.cxx, cmCTestBuildCommand.h,
- cmCTestConfigureCommand.cxx, cmCTestConfigureCommand.h,
- cmCTestCoverageHandler.cxx, cmCTestSubmitCommand.cxx,
- cmCTestSubmitCommand.h, cmCTestTestCommand.cxx,
- cmCTestTestCommand.h, cmCTestUpdateCommand.cxx,
- cmCTestUpdateCommand.h: ENH: Improve syntax
-
-2005-05-04 11:13 andy
-
- * Source/cmGlobalGenerator.cxx: BUG: Fix bootstrap test on machines
- with spaces in the path
-
-2005-05-04 11:12 andy
-
- * Source/kwsys/SystemTools.hxx.in: ENH: Expose
- ConvertToUnixOutputPath
-
-2005-05-04 03:50 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-03 15:28 andy
-
- * Source/: cmCTest.cxx, cmCTest.h, CTest/cmCTestStartCommand.cxx:
- ENH: Add Site and BuildName, make sure that the rest of the
- default -S rule does not happen, and make sure that new tag will
- be created
-
-2005-05-03 15:20 andy
-
- * Source/cmGlobalGenerator.cxx: ENH: No need to convert to output
- path
-
-2005-05-03 15:19 king
-
- * Source/: cmDependsFortranLexer.cxx, cmDependsFortranLexer.in.l,
- cmDependsJavaLexer.cxx, cmDependsJavaLexer.in.l: COMP: Removed
- warnings about unreachable code and constant control expressions.
- Added the changes to the instructions in the input lex files.
-
-2005-05-03 14:58 king
-
- * Source/: cmGeneratedFileStream.h,
- cmLocalUnixMakefileGenerator2.h, cmStandardIncludes.h,
- cmSystemTools.cxx, CTest/cmCTestUpdateHandler.h,
- kwsys/CommandLineArguments.cxx, kwsys/SystemTools.cxx,
- kwsys/testhash.cxx: COMP: Added pragma directives for SGI
- compilers to avoid useless warnings.
-
-2005-05-03 14:57 king
-
- * Source/CursesDialog/: cmCursesLongMessageForm.cxx,
- cmCursesMainForm.cxx: COMP: Changed while(1) to for(;;) to avoid
- warning about constant control expression.
-
-2005-05-03 14:53 king
-
- * Source/kwsys/kwsysPlatformCxxTests.cxx: COMP: Removed stray
- semicolon.
-
-2005-05-03 14:28 king
-
- * Source/cmStandardIncludes.h: COMP: Added hack to avoid SGI
- termios.h warnings.
-
-2005-05-03 14:28 king
-
- * Source/: cmDependsJavaLexer.cxx, cmDependsJavaLexer.in.l: COMP:
- Need #undef ECHO to avoid conflict with system ECHO definition.
-
-2005-05-03 14:27 king
-
- * Source/kwsys/RegularExpression.hxx.in: COMP: Changed type of
- regmlen to avoid warnings when other lengths are converted to it.
-
-2005-05-03 10:02 king
-
- * Source/kwsys/testProcess.c: ENH: Adding test of running
- executable with forward slashes on windows.
-
-2005-05-03 09:40 andy
-
- * Source/: cmCTest.cxx, cmCTest.h, CTest/cmCTestBuildCommand.cxx,
- CTest/cmCTestBuildHandler.cxx, CTest/cmCTestConfigureCommand.cxx,
- CTest/cmCTestConfigureHandler.cxx,
- CTest/cmCTestCoverageHandler.cxx,
- CTest/cmCTestMemCheckHandler.cxx, CTest/cmCTestStartCommand.cxx,
- CTest/cmCTestSubmitCommand.cxx, CTest/cmCTestSubmitHandler.cxx,
- CTest/cmCTestTestCommand.cxx, CTest/cmCTestUpdateCommand.cxx,
- CTest/cmCTestUpdateHandler.cxx: ENH: Cleanups
-
-2005-05-03 08:17 andy
-
- * CTestConfig.cmake, Source/CMakeLists.txt, Source/cmCTest.cxx,
- Source/cmCTest.h, Source/CTest/cmCTestBuildHandler.cxx,
- Source/CTest/cmCTestScriptHandler.cxx,
- Source/CTest/cmCTestSubmit.cxx, Source/CTest/cmCTestSubmit.h,
- Source/CTest/cmCTestSubmitCommand.cxx,
- Source/CTest/cmCTestSubmitCommand.h,
- Source/CTest/cmCTestSubmitHandler.cxx,
- Source/CTest/cmCTestSubmitHandler.h,
- Source/CTest/cmCTestTestCommand.cxx,
- Source/CTest/cmCTestTestCommand.h: ENH: Promote submit into a
- full handler, add test and submit command and do some cleanups
-
-2005-05-03 04:15 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-02 15:51 andy
-
- * CTestConfig.cmake, Source/CTest/cmCTestBuildCommand.cxx,
- Source/CTest/cmCTestScriptHandler.cxx: ENH: Make ctest build
- command work
-
-2005-05-02 15:51 andy
-
- * Source/cmake.h: ENH: Make AddCMakePath public
-
-2005-05-02 15:50 andy
-
- * Source/cmGlobalGenerator.h: ENH: Make FindMakeProgram public
-
-2005-05-02 14:15 andy
-
- * CTestConfig.cmake, Source/CMakeLists.txt, Source/cmCTest.cxx,
- Source/cmCTest.h, Source/CTest/cmCTestBuildCommand.cxx,
- Source/CTest/cmCTestBuildCommand.h,
- Source/CTest/cmCTestConfigureCommand.cxx,
- Source/CTest/cmCTestConfigureCommand.h,
- Source/CTest/cmCTestScriptHandler.cxx,
- Source/CTest/cmCTestStartCommand.cxx,
- Source/CTest/cmCTestUpdateCommand.cxx: ENH: More commands. Start
- working on new style ctest configuration
-
-2005-05-02 03:42 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-05-01 03:38 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-30 15:36 andy
-
- * Source/cmGlobalXCodeGenerator.cxx: COMP: Remove warning
-
-2005-04-30 04:13 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-29 12:50 andy
-
- * Source/cmBuildCommand.cxx: ENH: Try to see if
- GenerateBuildCommand produces apropriate result
-
-2005-04-29 11:49 andy
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h, cmGlobalXCodeGenerator.cxx,
- cmGlobalXCodeGenerator.h: ENH: Add option to ignore errors. Only
- works on make
-
-2005-04-29 10:11 king
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio71Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h: COMP: Converting
- INSTALL->ALL_BUILD dependency implementation to use the
- AddUtility method on a target. This significantly simplifies the
- implementation and removes warnings about hiding virtual
- functions.
-
-2005-04-29 10:07 andy
-
- * Source/cmGlobalXCodeGenerator.cxx: COMP: Remove warning
-
-2005-04-29 10:06 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: make install depend on
- all
-
-2005-04-29 04:15 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-28 18:34 andy
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- ENH: Start working on command that will abstract generating of
- build command
-
-2005-04-28 18:18 andy
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h: ENH: Start working on a method
- that abstracts generating of build command
-
-2005-04-28 17:33 andy
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h: ENH: Start
- working on command that will abstract generating of build command
-
-2005-04-28 16:21 king
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio71Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h: ENH: Added dependency from
- INSTALL target to ALL_BUILD target so that targets build before
- being installed.
-
-2005-04-28 11:47 king
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: BUG: Avoid infinite loop during
- installation.
-
-2005-04-28 09:21 king
-
- * Source/kwsys/testProcess.c: BUG: Extending all timeouts to help
- out slower machines.
-
-2005-04-28 09:14 andy
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: Add internal error
-
-2005-04-28 05:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-27 11:46 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: ENH: Added dependency
- on all for install rule to make sure build is up to date before
- installing. This behavior can be disabled by setting
- CMAKE_SKIP_INSTALL_ALL_DEPENDENCY to true.
-
-2005-04-27 11:33 king
-
- * Source/cmSourceFile.cxx: BUG: Do not leave ../ in the full path
- to a source file. Using CollapseFullPath simplifies the code
- anyway.
-
-2005-04-27 10:01 king
-
- * Source/kwsys/testProcess.c: BUG: Extending timeout of test 6 from
- 0.1 seconds to 3 seconds. This should avoid missed signals and
- intermittent failures.
-
-2005-04-27 09:12 king
-
- * Tests/CustomCommand/CMakeLists.txt: BUG: Use copy to produce
- doc1pre.txt instead of echo. The redirection does not like
- forward slashes on Win9x.
-
-2005-04-27 04:35 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-26 17:11 king
-
- * Modules/: CMakeBackwardCompatibilityC.cmake, FindThreads.cmake:
- BUG: Fix try-compile for sys/prctl.h. It needs to include
- sys/types.h first according to the man page.
-
-2005-04-26 14:12 king
-
- * Source/CursesDialog/form/: CMakeLists.txt,
- internal_stdio_core.h.in: ENH: Removing stdio_core hack. A
- better work-around has been put in cmStandardIncludes.h.
-
-2005-04-26 14:11 king
-
- * Source/cmStandardIncludes.h: COMP: Adding inclusion of stdarg.h
- to work-around SGI header bug in 7.4.2m.
-
-2005-04-26 11:55 king
-
- * Tests/CustomCommand/CMakeLists.txt: ENH: Added pre-build and
- post-build test for custom targets.
-
-2005-04-26 11:31 andy
-
- * Source/kwsys/SystemTools.cxx: BUG: Looks like std::string changes
- the result of c_str() call. This fixes potential problems
-
-2005-04-26 11:15 andy
-
- * Source/cmakewizard.h: COMP: Remove warning
-
-2005-04-26 11:09 andy
-
- * Source/: cmakewizard.h, CTest/cmCTestUpdateHandler.cxx: COMP:
- Remove warnings
-
-2005-04-26 11:08 king
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio6Generator.h: BUG: Fixed ordering of multiple
- commands in a custom target when implemented as custom commands.
- Also added support to execute pre-build rules first to be
- consistent with makefile generator.
-
-2005-04-26 08:51 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Added inclusion of
- pre-build rules for custom targets.
-
-2005-04-26 04:45 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-25 09:59 andy
-
- * Source/cmLocalGenerator.cxx: COMP: Remove warning
-
-2005-04-25 03:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-24 16:19 andy
-
- * Source/cmAddTestCommand.cxx: COMP: Fix problem on compilers that
- cannot implicitly convert std::string to cmStdString
-
-2005-04-24 15:59 andy
-
- * bootstrap, Source/CMakeLists.txt, Source/cmAddTestCommand.cxx,
- Source/cmAddTestCommand.h, Source/cmEnableTestingCommand.cxx,
- Source/cmEnableTestingCommand.h, Source/cmGlobalGenerator.cxx,
- Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h,
- Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmTest.cxx,
- Source/cmTest.h: ENH: Improve internal test handling by creating
- a test class. Command cmEnableTesting now only sets
- CMAKE_TESTING_ENABLED and cmAddTest only adds a test to the list.
- The actual test files are written by local generator. This way we
- can at some point in the future replace DartTestfile with some
- XML file
-
-2005-04-24 14:28 andy
-
- * Source/cmCTest.cxx: BUG: The argument is --ctest-config
-
-2005-04-24 13:57 andy
-
- * Source/CTest/cmCTestUpdateHandler.cxx: ENH: Support for modified
- and conflicts in subversion
-
-2005-04-24 13:15 king
-
- * Source/CursesDialog/form/CMakeLists.txt: BUG: Older SGI compilers
- still have internal/stdio_core.h but do not support
- #include_next. We'll have to try-compile to test whether this
- hack is needed.
-
-2005-04-24 12:32 andy
-
- * Source/CTest/cmCTestUpdateHandler.cxx: BUG: Remember if there was
- update error
-
-2005-04-24 02:26 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-23 02:26 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-22 16:11 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h, cmTarget.cxx, cmTarget.h: ENH:
- Created cmTarget::GetLibraryNames to replace
- cmLocalUnixMakefileGenerator2::GetLibraryNames. Added
- cmTarget::GetLibraryCleanNames to be used by
- cmLocalUnixMakefileGenerator2. Now when a library is linked both
- the shared and static versions are removed from the build tree.
- In this way we avoid having both kinds of libraries present when
- the user switches BUILD_SHARED_LIBS on/off. This prevents
- problems with turning off shared libraries and then expecting the
- linker to use the static libraries only to find it is using the
- out-of-date shared versions.
-
-2005-04-22 15:23 king
-
- * Source/: cmGetTargetPropertyCommand.cxx, cmLocalGenerator.cxx,
- cmLocalGenerator.h, cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h, cmTarget.cxx, cmTarget.h: ENH:
- Added cmTarget::GetBaseName and cmTarget::GetFullName methods and
- removed cmLocalGenerator::GetFullTargetName and
- cmLocalUnixMakefileGenerator2::GetBaseTargetName. This
- functionality is more sensibly implemented in cmTarget. It is
- also needed for an upcoming feature in which both the shared and
- static versions of a library will be removed before one is
- linked.
-
-2005-04-22 13:52 king
-
- * Source/CTest/cmCTestUpdateHandler.cxx: COMP: Commented out unused
- variable until the corresponding logic is finished.
-
-2005-04-22 11:57 king
-
- * Source/kwsys/: hashtable.hxx.in, kwsys_stl_string.hxx.in: COMP:
- Removed line continuation characters from #if lines to avoid
- linefeed problems on cygwin.
-
-2005-04-22 09:44 king
-
- * Source/kwsys/testProcess.c: BUG: Drastically extending test5's
- timeouts to get it to pass when running on a heavily-loaded
- machine.
-
-2005-04-22 09:22 king
-
- * Source/kwsys/SystemTools.cxx: COMP: Fixed
- assignment-in-conditional warning.
-
-2005-04-22 09:21 king
-
- * Source/kwsys/CommandLineArguments.cxx: COMP: Fixed constant
- conditional warning.
-
-2005-04-22 09:21 king
-
- * Source/kwsys/ProcessWin32.c: COMP: Fixed unused parameter and
- constant conditional warnings.
-
-2005-04-22 03:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-21 18:23 andy
-
- * Source/CTest/cmCTestUpdateHandler.cxx: ENH: Reorganize a bit and
- make sure to report an error if there are modified files or
- conflicts
-
-2005-04-21 17:00 king
-
- * Source/CursesDialog/form/: CMakeLists.txt, form.h,
- internal_stdio_core.h.in: COMP: Using a new work-around for
- stdarg.h problem on SGI.
-
-2005-04-21 16:46 king
-
- * Source/kwsys/hashtable.hxx.in: BUG: Fixed hash_allocator_n size
- computation.
-
-2005-04-21 16:46 king
-
- * Source/kwsys/testhash.cxx: ENH: Added include-work-around for
- hashtable.hxx.in dependency.
-
-2005-04-21 16:05 king
-
- * Source/kwsys/: ProcessUNIX.c, ProcessWin32.c: BUG: Do not close
- stdout/stderr pipes in parent if they are shared.
-
-2005-04-21 13:56 king
-
- * Source/kwsys/SystemTools.hxx.in: COMP: Do not do va_list hack if
- there is no std:: namespace.
-
-2005-04-21 13:47 king
-
- * bootstrap, Source/kwsys/CMakeLists.txt,
- Source/kwsys/Configure.hxx.in, Source/kwsys/hashtable.hxx.in,
- Source/kwsys/kwsysPlatformCxxTests.cxx: COMP: Added KWSys
- try-compiles KWSYS_STL_HAS_ALLOCATOR_TEMPLATE and
- KWSYS_STL_HAS_ALLOCATOR_OBJECTS. Needed for more old-stl support
- in the hashtable.
-
-2005-04-21 02:50 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-20 16:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-20 08:53 king
-
- * Source/kwsys/testProcess.c: BUG: Adjusting timeouts for tests 4
- and 5 to avoid early killing.
-
-2005-04-19 18:26 andy
-
- * Source/: CursesDialog/form/form.h, kwsys/SystemTools.hxx.in:
- COMP: Attempt to fix problem with building on SGI
-
-2005-04-19 11:52 king
-
- * Source/kwsys/ProcessUNIX.c: BUG: When killing a child all the
- pipe read ends should be closed. This will allow a child that is
- blocking while waiting to write to the pipe to wake up and
- receive the kill signal properly on cygwin.
-
-2005-04-19 10:52 king
-
- * Source/kwsys/testProcess.c: BUG: Expanded difference in timeouts
- between tests 4 and 5 so that 5 does not timeout while waiting
- for 4 to timeout. This should fix the intermittent failure of
- test 5 on cygwin. ENH: When a mismatch is reported it now
- reports what it was as well as what it should have been.
-
-2005-04-15 18:57 king
-
- * Source/kwsys/kwsysPlatformCxxTests.cxx: BUG: For some reason the
- non-template allocator test compiles on VS6 even though its
- allocator is a template. Adding ::size_type to be sure it
- accesses a member of the allocator.
-
-2005-04-15 18:49 king
-
- * Source/kwsys/kwsysPlatformCxxTests.cxx: BUG: Fix iterator traits
- test to use a real iterator instead of int*.
-
-2005-04-15 16:10 king
-
- * Source/kwsys/CMakeLists.txt: BUG: Cannot use Win32 implementation
- for cygwin processes because then cygwin paths to executables
- like /usr/bin/ls are not found.
-
-2005-04-15 16:00 king
-
- * bootstrap, Source/kwsys/CMakeLists.txt,
- Source/kwsys/Configure.hxx.in, Source/kwsys/hash_fun.hxx.in,
- Source/kwsys/hashtable.hxx.in,
- Source/kwsys/kwsysPlatformCxxTests.cxx,
- Source/kwsys/kwsys_cstddef.hxx.in: COMP: Added
- KWSYS_CXX_HAS_CSTDDEF try-compile to KWSys to provide
- kwsys/cstddef header (to get size_t for hash_fun.hxx).
-
-2005-04-15 15:30 king
-
- * Source/kwsys/: hash_map.hxx.in, hash_set.hxx.in,
- hashtable.hxx.in: COMP: Replaced kwsys_stl with
- @KWSYS_NAMESPACE@_stl to properly use the configured namespace.
-
-2005-04-15 15:18 barre
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: move
- convenience method to get OS name and version from KWApp to
- KWSys.
-
-2005-04-15 14:47 andy
-
- * Source/cmCTest.cxx: STYLE: Fix english
-
-2005-04-15 13:56 king
-
- * Source/kwsys/SystemTools.cxx: BUG: Added missing variable
- initialization that was accidentally removed on the previsous
- commit.
-
-2005-04-15 13:35 king
-
- * Source/kwsys/CMakeLists.txt: ENH: Changing kwsysProcess
- implementation on Cygwin to use the Win32 implementation instead
- of the UNIX implementation. This makes dealing with misbehaving
- children work better. The KWSys Win32 process implementaion is
- more robust than the Cygwin implementation (partly because it
- doesn't have to exactly reproduce the POSIX api).
-
-2005-04-15 10:46 hoffman
-
- * Source/cmTryCompileCommand.cxx: BUG: work around for buggy Tigger
- OSX systems that read two copies of the same file in a directory
-
-2005-04-15 09:54 king
-
- * bootstrap, Source/kwsys/CMakeLists.txt,
- Source/kwsys/Configure.hxx.in, Source/kwsys/hash_map.hxx.in,
- Source/kwsys/hash_set.hxx.in, Source/kwsys/hashtable.hxx.in,
- Source/kwsys/kwsysPlatformCxxTests.cxx: ENH: Added KWSys
- try-compiles KWSYS_STL_HAS_ITERATOR_TRAITS,
- KWSYS_STL_HAS_ITERATOR_CATEGORY,
- KWSYS_STL_HAS___ITERATOR_CATEGORY, and
- KWSYS_STL_HAS_ALLOCATOR_NONTEMPLATE to get the hash table to
- compile on old HP and Sun compilers.
-
-2005-04-15 09:35 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-15 09:05 king
-
- * Source/kwsys/hash_map.hxx.in: COMP: Replacing _Select1st with a
- specialized hash_select1st that avoids requiring the stl pair to
- have first_type defined. The old HP STL does not define
- first_type and second_type in its pair.
-
-2005-04-15 08:59 king
-
- * bootstrap, Source/kwsys/CMakeLists.txt,
- Source/kwsys/Configure.hxx.in, Source/kwsys/hashtable.hxx.in,
- Source/kwsys/kwsysPlatformCxxTests.cxx: ENH: Added
- KWSYS_CXX_HAS_ARGUMENT_DEPENDENT_LOOKUP try-compile to KWSys.
- Needed to optionally bring hash table comparison operators into
- the global namespace when argument dependent lookup is not
- supported.
-
-2005-04-15 08:25 king
-
- * Source/kwsys/SystemTools.cxx: COMP: Removed extra variable
- initializations to avoid Borland warnings.
-
-2005-04-14 04:50 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-13 23:04 king
-
- * Source/kwsys/: hash_map.hxx.in, hash_set.hxx.in,
- hashtable.hxx.in: COMP: Remove friend templates and always use
- template friends (possibly with <>). Needed to work-around Sun
- CC bug.
-
-2005-04-13 23:03 king
-
- * Source/kwsys/testSystemTools.cxx: COMP: Disable MSVC debug symbol
- truncation warning.
-
-2005-04-13 18:13 andy
-
- * Source/cmGeneratedFileStream.cxx: ENH: For sanity, create
- directory before creating generated file stream
-
-2005-04-13 17:58 king
-
- * Source/CMakeLists.txt: BUG: The test1 executable has been removed
- from kwsys. Instead using testIOS for the kwsys test.
-
-2005-04-13 16:58 king
-
- * Source/kwsys/CMakeLists.txt: STYLE: Renaming kwsys-hash test to
- kwsys-testhash for consistency with other tests.
-
-2005-04-13 16:55 king
-
- * Source/kwsys/testProcess.c: COMP: Removing return value from
- test6. It is an infinite loop, so the return causes warnings.
- It will never return anyway.
-
-2005-04-13 16:47 king
-
- * Source/kwsys/: CMakeLists.txt, test1.cxx: ENH: Removing old
- test1.c Process execution example. It is fully replaced by
- testProcess.
-
-2005-04-13 16:46 king
-
- * Source/kwsys/: Base64.c, CommandLineArguments.cxx, Directory.cxx,
- ProcessUNIX.c, ProcessWin32.c, RegularExpression.cxx,
- SystemTools.cxx, test1.cxx, testCommandLineArguments.cxx,
- testIOS.cxx, testProcess.c, testSystemTools.cxx, testhash.cxx:
- COMP: Adding work-around for CMake dependency scanning
- limitation. Any configured header included by KWSYS_HEADER() in
- a .c or .cxx file in kwsys itself must use this hack to get
- dependencies.
-
-2005-04-13 16:35 andy
-
- * Source/: cmMakefile.cxx, cmSourceFile.cxx, cmSourceFile.h: ENH:
- Speedup by storing source name without last extension
-
-2005-04-13 16:34 andy
-
- * Source/cmTarget.cxx: ENH: Speedup by only getting the source once
-
-2005-04-13 16:25 andy
-
- * Source/cmSystemTools.cxx: ENH: Improve performance by using
- vector of char instead of string
-
-2005-04-13 16:05 king
-
- * Source/kwsys/testSystemTools.cxx: BUG: Only do ~ test if HOME
- variable is defined.
-
-2005-04-13 15:57 king
-
- * Source/kwsys/testProcess.c: BUG: Avoid error diagnostic popups on
- windows for test that crashes on purpose.
-
-2005-04-13 15:39 king
-
- * bootstrap, Source/kwsys/CMakeLists.txt,
- Source/kwsys/Configure.hxx.in, Source/kwsys/hashtable.hxx.in,
- Source/kwsys/kwsysPlatformCxxTests.cxx: COMP: Added
- KWSYS_STL_HAS_ALLOCATOR_MAX_SIZE_ARGUMENT check for non-standard
- argument to stl allocator<>::max_size method. Needed for kwsys
- hashtable to compile on Sun CC.
-
-2005-04-13 15:29 king
-
- * Source/kwsys/kwsysPlatformCxxTests.cxx: BUG:
- allocator<>::rebind<> test should use kwsys_stl::allocator, not
- std::allocator.
-
-2005-04-13 15:22 king
-
- * Source/kwsys/hashtable.hxx.in: COMP: Fix for Sun CC stl allocator
- signature of allocate method.
-
-2005-04-13 15:04 king
-
- * Source/kwsys/hashtable.hxx.in: BUG: When constructing the bucket
- vector type the allocator given must have been rebound to _Node*
- already because GCC 3.4's vector type does not rebind it.
-
-2005-04-13 14:43 king
-
- * Source/cmTryCompileCommand.cxx: ENH: Added better error message
- when TRY_COMPILE does not recognize an extension.
-
-2005-04-13 14:37 king
-
- * Source/kwsys/SystemTools.cxx: BUG: Fix GetFilenameName to not use
- uninitialized search position in win32 version.
-
-2005-04-13 14:13 king
-
- * bootstrap: BUG: Added more try-compiles from kwsys.
-
-2005-04-13 14:13 king
-
- * Source/kwsys/kwsysPlatformCxxTests.cxx: BUG: Fixed member
- template test to not produce a test program that crashes when it
- runs.
-
-2005-04-13 13:59 andy
-
- * Source/kwsys/SystemTools.cxx: ENH: Speedup improvements
-
-2005-04-13 13:57 andy
-
- * Source/kwsys/: CMakeLists.txt, Configure.hxx.in, Process.h.in,
- ProcessUNIX.c, ProcessWin32.c, test1.cxx,
- testCommandLineArguments.cxx, testIOS.cxx, testProcess.c,
- testSystemTools.cxx, testhash.cxx: ENH: Do kwsys testing as part
- of cmake testing, command line arguments are not experimental and
- add simple test for systemtools
-
-2005-04-13 13:43 hoffman
-
- * Utilities/Release/cmake_release.sh: BUG: fix clean action
-
-2005-04-13 12:44 hoffman
-
- * CMakeLists.txt, Utilities/Release/cmake_release.sh: Move minor
- version to 2.0.6
-
-2005-04-13 09:54 hoffman
-
- * Source/: cmLocalVisualStudio7Generator.cxx,
- kwsys/SystemTools.cxx: BUG: fix insert for 64 bit
-
-2005-04-13 08:08 king
-
- * Source/kwsys/: CMakeLists.txt, Configure.hxx.in, hash_fun.hxx.in,
- hash_map.hxx.in, hash_set.hxx.in, hashtable.hxx.in,
- kwsysPlatformCxxTests.cxx, testhash.cxx: ENH: Adding SGI hash_map
- and hash_set implementation ported from STL to KWSys. This also
- adds try-compiles for KWSYS_STL_HAS_ALLOCATOR_REBIND,
- KWSYS_CXX_HAS_FULL_SPECIALIZATION,
- KWSYS_CXX_HAS_MEMBER_TEMPLATES, and
- KWSYS_CXX_HAS_NULL_TEMPLATE_ARGS.
-
-2005-04-13 08:05 king
-
- * Source/kwsys/kwsys_stl.hxx.in: ENH: Added
- __HPACC_USING_MULTIPLIES_IN_FUNCTIONAL fix from vtkstd.
-
-2005-04-13 04:39 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-12 15:40 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix Ambiguity in
- insert call
-
-2005-04-12 15:11 hoffman
-
- * Source/cmLocalGenerator.cxx: BUG: add missing header for borland
-
-2005-04-12 13:33 king
-
- * Source/kwsys/SystemTools.cxx: COMP: Fixed ambiguous call to
- insert method of string.
-
-2005-04-12 13:27 hoffman
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmLocalVisualStudio7Generator.cxx, cmMacroCommand.cxx,
- cmMakefile.cxx, cmMakefile.h: ENH: performance improvements
-
-2005-04-12 13:26 hoffman
-
- * Source/cmDepends.cxx: ENH: do not collapse full path for cwd
-
-2005-04-12 13:26 hoffman
-
- * Source/cmCacheManager.cxx: ENH: make regex static so it is not
- recomputed for each line of the cache
-
-2005-04-12 13:25 hoffman
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH:
- optimization of cwd and do not leak library handle
-
-2005-04-12 09:36 martink
-
- * Source/cmLocalGenerator.cxx: BUG: local gen was setting proj dir
- when it shouldnt
-
-2005-04-12 09:35 martink
-
- * Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt: ENH: also
- test for correct Proj dir settings
-
-2005-04-12 03:09 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-11 12:38 hoffman
-
- * ChangeLog.manual, Source/cmCTest.cxx: BUG: fix GetLongPathName
- for all versions of windows
-
-2005-04-11 12:20 hoffman
-
- * Source/kwsys/SystemTools.cxx: BUG: fix GetLongPathName for
- WindowsNT
-
-2005-04-11 04:58 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-10 04:06 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-09 02:38 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-08 12:46 hoffman
-
- * Source/: cmOrderLinkDirectories.cxx, cmOrderLinkDirectories.h:
- BUG: handle case insensitive library extensions on windows
-
-2005-04-08 08:34 hoffman
-
- * Source/kwsys/SystemTools.cxx: BUG: fix build on mingw
-
-2005-04-08 02:37 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-07 17:39 hoffman
-
- * Source/cmakemain.cxx: BUG: move fix for -E option to branch
-
-2005-04-07 17:24 hoffman
-
- * Tests/CommandLineTest/CMakeLists.txt: merge from main tree fix
- for command line test
-
-2005-04-07 17:22 hoffman
-
- * Source/cmCTest.cxx: BUG: add error checking on GetLongPath
-
-2005-04-07 17:20 hoffman
-
- * Source/kwsys/SystemTools.cxx: BUG: if short path or long path
- fails return the original input
-
-2005-04-07 16:58 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: check return value of
- GetLongPath
-
-2005-04-07 16:12 hoffman
-
- * ChangeLog.manual, Source/cmSystemTools.cxx,
- Source/cmWin32ProcessExecution.cxx,
- Source/cmWin32ProcessExecution.h: Merge in fix for win32 process
- stuff
-
-2005-04-07 16:09 hoffman
-
- * Modules/Platform/Darwin.cmake, Source/cmGlobalXCodeGenerator.cxx:
- ENH: fix install test with xcode, the xcode generator does not
- support library versioning yet
-
-2005-04-07 15:09 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Avoid converting
- the subdirectory name to a relative path twice.
-
-2005-04-07 14:41 king
-
- * Source/cmMakefile.cxx: BUG: Do not repeat paths when trying the
- lib/ to lib64/ replacement.
-
-2005-04-07 14:30 king
-
- * Source/cmMakefile.cxx: ENH: Adding automatic generation of
- several 64-bit search path forms.
-
-2005-04-07 14:27 king
-
- * Modules/: CMakeDetermineJavaCompiler.cmake, FindAVIFile.cmake,
- FindFLTK.cmake, FindGLUT.cmake, FindGTK.cmake, FindJNI.cmake,
- FindJPEG.cmake, FindJava.cmake, FindMPEG.cmake, FindMPEG2.cmake,
- FindOpenGL.cmake, FindPHP4.cmake, FindPNG.cmake,
- FindPerlLibs.cmake, FindPythonLibs.cmake, FindQt.cmake,
- FindRuby.cmake, FindSDL.cmake, FindSWIG.cmake, FindTCL.cmake,
- FindTIFF.cmake, FindX11.cmake, FindZLIB.cmake: ENH: Removing
- extra 64-bit search paths. They are now constructed
- automatically from the paths listed.
-
-2005-04-07 13:48 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Fix rule name for
- subdirectory traversal to use relative paths. This was broken by
- the recent subdirectory changes.
-
-2005-04-07 13:46 king
-
- * Modules/: CMakeDetermineJavaCompiler.cmake, FindAVIFile.cmake,
- FindFLTK.cmake, FindGLUT.cmake, FindGTK.cmake, FindJNI.cmake,
- FindJPEG.cmake, FindJava.cmake, FindMPEG.cmake, FindMPEG2.cmake,
- FindOpenGL.cmake, FindPHP4.cmake, FindPNG.cmake,
- FindPerlLibs.cmake, FindPythonLibs.cmake, FindQt.cmake,
- FindRuby.cmake, FindSDL.cmake, FindSWIG.cmake, FindTCL.cmake,
- FindTIFF.cmake, FindX11.cmake, FindZLIB.cmake: ENH: Adding
- support for 64-bit library paths. Contributed by Peter Vanroose.
-
-2005-04-07 13:03 hoffman
-
- * Source/: CTest/cmCTestBuildHandler.cxx, kwsys/SystemTools.cxx,
- kwsys/SystemTools.hxx.in: BUG: fix for bug 1717 incorrect path
- sent to dart server
-
-2005-04-07 12:44 hoffman
-
- * Source/cmCTest.cxx: BUG: remove debug statement
-
-2005-04-07 12:12 hoffman
-
- * ChangeLog.manual, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h: move fix for relative paths from main
- tree
-
-2005-04-07 12:11 hoffman
-
- * ChangeLog.manual, Source/cmCTest.cxx: BUG: fix for bug 1717 use
- the correct path for Dart server on warnings and errors
-
-2005-04-07 10:37 hoffman
-
- * ChangeLog.manual, Source/cmInstallProgramsCommand.cxx,
- Source/cmInstallProgramsCommand.h: move from main tree
-
-2005-04-07 02:31 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-06 16:53 king
-
- * Modules/Dart.cmake: STYLE: Fixed spelling of "memmory".
-
-2005-04-06 16:15 king
-
- * Source/cmStandardIncludes.h: BUG: Avoid duplicate definition by
- using cmsys_STL_STRING_NEQ_CHAR_DEFINED and
- cmsys_STL_STRING_NO_NEQ_CHAR.
-
-2005-04-06 16:14 king
-
- * Source/kwsys/kwsys_stl_string.hxx.in: ENH: Added proper
- namespaced version of KWSYS_STL_STRING_ISTREAM_DEFINED,
- KWSYS_STL_STRING_OSTREAM_DEFINED, and
- _STL_STRING_NEQ_CHAR_DEFINED macros.
-
-2005-04-06 15:06 king
-
- * Modules/Platform/Darwin-xlc.cmake, Modules/Platform/Darwin.cmake,
- Source/cmGlobalBorlandMakefileGenerator.cxx,
- Source/cmGlobalNMakeMakefileGenerator.cxx,
- Source/cmGlobalUnixMakefileGenerator.cxx,
- Tests/Fortran/CMakeLists.txt,
- Tests/MakeClean/ToClean/CMakeLists.txt: ENH: Removed
- CMAKE_GENERATOR_NEW now that the old unix makefile generator is
- never used.
-
-2005-04-06 13:34 king
-
- * bootstrap: BUG: The bootstrap script should perform the
- KWSYS_STL_STRING_HAVE_NEQ_CHAR test for kwsys.
-
-2005-04-06 11:56 hoffman
-
- * Source/cmMakefile.cxx: ENH: better fix for 64 bit, add 64 to the
- name of all directories in the search path
-
-2005-04-06 10:59 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: allow sub projects to use
- targets that are not part of the sub-project
-
-2005-04-06 09:47 hoffman
-
- * Source/kwsys/SystemTools.cxx: remove cerr stuff
-
-2005-04-06 09:44 hoffman
-
- * Source/kwsys/SystemTools.cxx: Fix bug in != stuff
-
-2005-04-06 04:28 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-05 21:10 hoffman
-
- * Source/kwsys/SystemTools.cxx: COMP: hack fix for old sgi until
- bootstrap is fixed
-
-2005-04-05 17:06 hoffman
-
- * Modules/CMakeTestCCompiler.cmake, Source/cmMakefile.cxx: BUG: try
- to address Bug 1673 .
-
-2005-04-05 16:24 hoffman
-
- * Modules/FindOpenGL.cmake: Fix for bug Bug #1287 - cmake use
- MesaGL by default instead of libGL - Return to bug list
-
-2005-04-05 14:48 hoffman
-
- * Source/cmAuxSourceDirectoryCommand.cxx: BUG: fix for bug 1636 add
- extensions to AUX_SOURCE_DIRECTORY files
-
-2005-04-05 13:39 hoffman
-
- * ChangeLog.manual, Modules/FindDCMTK.cmake: Move from main tree,
- fix for 1652
-
-2005-04-05 13:37 hoffman
-
- * Modules/FindDCMTK.cmake: BUG: fix for bug 1652
-
-2005-04-05 13:30 hoffman
-
- * ChangeLog.manual, Source/cmLocalVisualStudio7Generator.cxx: fix
- on branch for 1660 language NONE working
-
-2005-04-05 13:14 hoffman
-
- * Source/cmGlobalGenerator.cxx: BUG: fix for bug 1660
-
-2005-04-05 12:54 hoffman
-
- * ChangeLog.manual: fixes on branch
-
-2005-04-05 12:52 hoffman
-
- * Source/: cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx: BUG: fix for bug 1702 better
- error on bad GUID
-
-2005-04-05 12:51 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: move fix from main
- tree for bug 1680
-
-2005-04-05 11:23 hoffman
-
- * Source/cmake.cxx: BUG: fix for bug 1700
-
-2005-04-05 10:22 hoffman
-
- * Source/: cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx: BUG: fix for bug 1702, better
- error message for GUID missing
-
-2005-04-05 08:25 king
-
- * Source/: cmGeneratedFileStream.cxx, cmGeneratedFileStream.h: ENH:
- Added Close method and updated Open method to allow streams to be
- reused.
-
-2005-04-05 04:25 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-04 17:01 hoffman
-
- * ChangeLog.manual, Modules/UseSWIG.cmake,
- Source/cmGetDirectoryPropertyCommand.cxx: FIX: swig fixes from
- main tree
-
-2005-04-04 16:55 hoffman
-
- * Modules/UseSWIG.cmake: ENH: make sure source flags don't have to
- be set
-
-2005-04-04 16:43 hoffman
-
- * Source/cmGetDirectoryPropertyCommand.cxx: ENH: get directory
- property should return an empty variable if it is not set, not
- just have an error
-
-2005-04-04 16:13 hoffman
-
- * Modules/UseSWIG.cmake: ENH: fix for bug 1304
-
-2005-04-04 15:55 hoffman
-
- * ChangeLog.manual, Modules/UseSWIG.cmake: ENH: move changes from
- main tree
-
-2005-04-04 15:52 hoffman
-
- * ChangeLog.manual, Source/cmCTest.cxx: ENH: move from main tree
- timezone fix
-
-2005-04-04 15:51 hoffman
-
- * Modules/UseSWIG.cmake: FIX: fix for bug 1730
-
-2005-04-04 15:41 hoffman
-
- * ChangeLog.manual, Source/cmFileCommand.cxx,
- Source/cmWriteFileCommand.cxx, Source/kwsys/SystemTools.cxx: ENH:
- move fix for read only file configure to branch
-
-2005-04-04 12:22 andy
-
- * Modules/Dart.cmake, Source/cmAddTestCommand.cxx,
- Source/cmEnableTestingCommand.cxx, Source/cmGlobalGenerator.cxx:
- BUG: By default disable new files.
-
-2005-04-04 03:01 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-03 03:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-02 02:16 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-04-01 15:48 andy
-
- * Source/: cmAddTestCommand.cxx, cmEnableTestingCommand.cxx,
- cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h, cmMakefile.cxx, cmMakefile.h:
- ENH: More ctest changes and move SetupTest to superclass
-
-2005-04-01 15:45 andy
-
- * Modules/Dart.cmake, Source/cmCTest.cxx: ENH: Rename the
- DartConfiguration.tcl to CTestConfiguration.ini
-
-2005-04-01 14:57 andy
-
- * Source/: cmAddTestCommand.cxx, cmCTest.cxx, cmCTest.h,
- cmEnableTestingCommand.cxx, ctest.cxx,
- CTest/cmCTestTestHandler.cxx: ENH: Start adding support for CTest
- testfiles
-
-2005-04-01 02:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-31 18:03 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: When generating
- the name of the custom rule file the character : should be
- replaced with an underscore because it might be a non-file-name
- part of a path.
-
-2005-03-31 11:57 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: BUG: fix ITK build with xcode,
- as long as you build it in little parts, this fixes the headermap
- problem
-
-2005-03-31 10:00 martink
-
- * CTestCustom.ctest.in: ENH: shut up warning in 3rd party packages
-
-2005-03-31 02:20 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-30 16:11 king
-
- * Source/cmCTest.cxx: BUG: It is possible for the nightly start
- time to be over 24 hours in the future which requires two days to
- be subtracted. Using a while loop to make sure enough days are
- added or subtracted. It should never be able to iterate more
- than twice.
-
-2005-03-30 15:41 hoffman
-
- * ChangeLog.manual, Source/cmLocalVisualStudio7Generator.cxx: FIX:
- Merge from main tree: fix for VS 2005 beta
-
-2005-03-30 15:27 king
-
- * Source/kwsys/CMakeLists.txt: BUG: Test for stl stirng operator!=
- for char* needs to know result of KWSYS_STL_HAVE_STD.
-
-2005-03-30 02:19 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-29 15:34 martink
-
- * Source/: cmGlobalGenerator.cxx, cmMakefile.cxx, cmMakefile.h:
- ENH: removed GetParentProjects
-
-2005-03-29 15:33 martink
-
- * Tests/OutOfSource/SubDir/CMakeLists.txt: ENH: better test for
- subdirs
-
-2005-03-29 15:26 henderson
-
- * Source/kwsys/: CMakeLists.txt, SharedForward.h.in: ENH: copying
- Brad's installation changes from the main tree to the ParaView
- 2.0 branch
-
-2005-03-29 10:34 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: BUG: Fix dependencies of custom
- commands that are relative paths to files or other custom command
- outputs.
-
-2005-03-29 10:10 king
-
- * Source/kwsys/: CMakeLists.txt, Configure.hxx.in,
- kwsysPlatformCxxTests.cxx, kwsys_stl_string.hxx.in: ENH: Added
- operator!= for stl string and char* when the system does not
- provide one.
-
-2005-03-29 08:20 king
-
- * bootstrap, Source/kwsys/CMakeLists.txt,
- Source/kwsys/Configure.hxx.in,
- Source/kwsys/kwsysPlatformCxxTests.cmake,
- Source/kwsys/kwsysPlatformCxxTests.cxx,
- Source/kwsys/kwsys_stl.h.in, Source/kwsys/kwsys_stl.hxx.in,
- Source/kwsys/kwsys_stl_string.hxx.in: ENH: Added istream and
- ostream operators for stl string in KWSys when using old streams
- that do not provide them.
-
-2005-03-29 08:09 king
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH:
- SplitPath now supports slashes in both directions in the input
- path but still produces forward slashes in the root component.
-
-2005-03-29 02:21 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-28 18:00 andy
-
- * bootstrap: BUG: The is replaced by cvs... This is safer anyway
-
-2005-03-28 17:46 barre
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: move
- EstimateFormatLength to kwsys
-
-2005-03-28 02:12 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-27 02:18 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-26 09:58 king
-
- * Source/kwsys/: CMakeLists.txt, Configure.hxx.in,
- kwsysPlatformCxxTests.cmake, kwsysPlatformCxxTests.cxx,
- kwsys_stl.h.in, kwsys_stl.hxx.in, kwsys_stl_string.hxx.in: COMP:
- Removing stl string io operators change until the CMake bootstrap
- script can be fixed.
-
-2005-03-26 08:19 king
-
- * Source/kwsys/: CMakeLists.txt, Configure.hxx.in,
- kwsysPlatformCxxTests.cmake, kwsysPlatformCxxTests.cxx,
- kwsys_stl.h.in, kwsys_stl.hxx.in, kwsys_stl_string.hxx.in: ENH:
- Added istream and ostream operators for stl string when using old
- streams that do not provide them.
-
-2005-03-26 02:22 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-25 18:55 andy
-
- * Source/CMakeLists.txt: ENH: When in-source build, do not do
- bootstrap test
-
-2005-03-25 18:46 andy
-
- * Source/CMakeLists.txt: ENH: Remove curl build testing
-
-2005-03-25 16:40 king
-
- * Source/cmAddSubDirectoryCommand.h: ENH: Clarified documentation
- of the command.
-
-2005-03-25 14:23 andy
-
- * bootstrap: ENH: For development versions report version when
- doing bootstrap
-
-2005-03-25 08:41 king
-
- * Source/kwsys/: CMakeLists.txt, SharedForward.h.in: ENH: Adding
- SharedForward C header to help create forwarding executables on
- UNIX systems that configure the shared library runtime search
- path and then replace themselves with the real executable. This
- is useful to create binary distributions that work from any
- extracted location even with shared libraries.
-
-2005-03-25 08:09 king
-
- * Source/kwsys/SystemTools.cxx: ENH: Re-implemented
- CollapseFullPath to not need to change directories. Operation is
- now fully string based.
-
-2005-03-25 08:05 king
-
- * Source/cmCTest.cxx: BUG: Adjusted GetNightlyTime computation to
- not depend on time_t being a signed type.
-
-2005-03-25 02:16 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-24 02:25 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-23 08:20 hoffman
-
- * Source/cmBuildCommand.cxx: fix for xcode
-
-2005-03-23 02:22 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-22 14:27 hoffman
-
- * Source/cmDynamicLoader.h: FIX: fix bug 1690
-
-2005-03-22 14:00 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: try to handle more source
- file types
-
-2005-03-22 13:32 andy
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: just use the file name
-
-2005-03-22 11:33 hoffman
-
- * Source/cmGlobalGenerator.cxx: ENH: make sure project map is
- cleared each time.
-
-2005-03-22 10:29 andy
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: use better names for
- files
-
-2005-03-22 10:23 king
-
- * Source/cmMakefile.cxx: BUG: Initializing from parent should copy
- link directories as well.
-
-2005-03-22 08:36 king
-
- * Source/: cmAddCustomCommandCommand.cxx,
- cmAddCustomTargetCommand.cxx: ENH: Added check for invalid
- characters in output name.
-
-2005-03-22 07:27 hoffman
-
- * Source/cmLocalGenerator.cxx: ENH: remove commented code
-
-2005-03-22 07:26 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: fix adding of rc
- files
-
-2005-03-22 02:24 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-21 02:32 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-20 02:34 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-19 09:05 martink
-
- * Source/cmGlobalGenerator.cxx: COMP: fix warning
-
-2005-03-19 02:38 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-18 11:29 martink
-
- * Source/cmMacroCommand.cxx: COMP: fix warning
-
-2005-03-18 10:58 martink
-
- * Source/: cmLocalUnixMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.h: ENH: remove cmSubDirectory from
- unused files?
-
-2005-03-18 10:41 martink
-
- * Source/cmAddDefinitionsCommand.h, Source/cmAddTestCommand.cxx,
- Source/cmBootstrapCommands.cxx, Source/cmBuildCommand.h,
- Source/cmBuildNameCommand.h, Source/cmCMakeMinimumRequired.h,
- Source/cmCommand.h, Source/cmCreateTestSourceList.h,
- Source/cmElseCommand.h, Source/cmEnableLanguageCommand.h,
- Source/cmEnableTestingCommand.cxx,
- Source/cmEnableTestingCommand.h, Source/cmEndForEachCommand.h,
- Source/cmEndIfCommand.h, Source/cmEndWhileCommand.h,
- Source/cmFileCommand.h, Source/cmFindFileCommand.h,
- Source/cmFindLibraryCommand.h, Source/cmFindPackageCommand.cxx,
- Source/cmFindPackageCommand.h, Source/cmFindPathCommand.h,
- Source/cmFindProgramCommand.h, Source/cmForEachCommand.h,
- Source/cmGetFilenameComponentCommand.h,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmIfCommand.h, Source/cmIncludeCommand.h,
- Source/cmIncludeDirectoryCommand.h,
- Source/cmIncludeRegularExpressionCommand.h,
- Source/cmLinkDirectoriesCommand.h,
- Source/cmLinkLibrariesCommand.h, Source/cmLoadCacheCommand.h,
- Source/cmLoadCommandCommand.cxx, Source/cmLoadCommandCommand.h,
- Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h,
- Source/cmLocalKdevelopGenerator.cxx,
- Source/cmLocalKdevelopGenerator.h,
- Source/cmLocalUnixMakefileGenerator2.cxx,
- Source/cmLocalUnixMakefileGenerator2.h,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio6Generator.h,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Source/cmMacroCommand.cxx, Source/cmMacroCommand.h,
- Source/cmMakefile.cxx, Source/cmMakefile.h,
- Source/cmMarkAsAdvancedCommand.h, Source/cmOptionCommand.h,
- Source/cmProjectCommand.h, Source/cmRemoveCommand.h,
- Source/cmRemoveDefinitionsCommand.h,
- Source/cmSeparateArgumentsCommand.h, Source/cmSetCommand.h,
- Source/cmSetDirectoryPropertiesCommand.h,
- Source/cmSiteNameCommand.h, Source/cmSourceGroupCommand.h,
- Source/cmStringCommand.h, Source/cmSubdirCommand.cxx,
- Source/cmUtilitySourceCommand.h, Source/cmWhileCommand.h,
- Tests/OutOfSource/CMakeLists.txt,
- Tests/OutOfSource/SubDir/CMakeLists.txt: ENH: big change that
- includes immediate subdir support, removing the notion of
- inherited commands, makefiles no longer read in the parent
- makefiles but instead inherit thier parent makefiles current
- settings
-
-2005-03-18 10:39 martink
-
- * Source/: cmAddSubDirectoryCommand.cxx,
- cmAddSubDirectoryCommand.h: ENH: added immediate subdirectory
- command
-
-2005-03-18 09:03 martink
-
- * Source/cmSubDirectory.h: ENH: bad idea
-
-2005-03-18 02:34 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-17 18:37 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Need to collapse
- full paths before depending on them to remove ./ and ../ to make
- sure target names match.
-
-2005-03-17 15:35 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- ENH: add source groups xcode
-
-2005-03-17 13:06 king
-
- * Source/kwsys/SystemTools.cxx: COMP: Using proper __QNX__
- preprocessor test.
-
-2005-03-17 02:41 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-16 13:26 andy
-
- * CMakeLists.txt, Utilities/cmexpat/CMakeLists.txt,
- Utilities/cmzlib/CMakeLists.txt: COMP: More cleanups
-
-2005-03-16 12:54 andy
-
- * Source/CMakeLists.txt: ENH: Make sure to use internal zlib
-
-2005-03-16 12:54 andy
-
- * Source/CTest/cmCTestSubmit.cxx: ENH: Cleanup of the output
-
-2005-03-16 10:49 king
-
- * Source/kwsys/SystemTools.cxx: COMP: Only include malloc.h on QNX.
-
-2005-03-16 10:15 barre
-
- * Source/kwsys/SystemTools.cxx: FIX: that was wrong
-
-2005-03-16 09:55 king
-
- * Source/CMakeLists.txt, Tests/Wrapping/CMakeLists.txt: BUG: Do not
- add Qt wrapping test unless QT is found and QT_UIC_EXECUTABLE is
- found.
-
-2005-03-16 09:41 king
-
- * Source/kwsys/SystemTools.cxx: COMP: Need malloc.h for malloc/free
- on QNX.
-
-2005-03-16 02:35 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-15 11:22 martink
-
- * Source/cmEnableTestingCommand.cxx: ENH: only support rel paths
- for now
-
-2005-03-15 08:14 king
-
- * Source/: cmListFileLexer.c, cmListFileLexer.in.l: COMP: Defining
- YY_NO_INPUT to remove compilation of unused yyinput function. It
- was producing a warning about unreachable code.
-
-2005-03-15 08:13 king
-
- * Source/cmCacheManager.cxx: COMP: Removed warning due to unsigned
- enum type.
-
-2005-03-15 02:38 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-14 13:23 hoffman
-
- * Source/: CMakeLists.txt, cmake.cxx: ENH: make xcode compile only
- on apple
-
-2005-03-14 12:25 martink
-
- * bootstrap: ENH: oops forgot to chek this in
-
-2005-03-14 12:18 hoffman
-
- * Modules/Platform/QNX.cmake: ENH: try to fix rpath on qnx
-
-2005-03-14 11:28 martink
-
- * Source/: CMakeLists.txt, cmEnableTestingCommand.cxx,
- cmGlobalGenerator.cxx, cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx, cmLocalGenerator.cxx,
- cmLocalGenerator.h, cmLocalUnixMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.h,
- cmLocalUnixMakefileGenerator2.cxx, cmMakefile.cxx, cmMakefile.h,
- cmSubdirCommand.cxx, cmGlobalVisualStudio6Generator.cxx: ENH: add
- support for out of source source
-
-2005-03-14 11:26 martink
-
- * Tests/OutOfSource/: CMakeLists.txt,
- OutOfSourceSubdir/CMakeLists.txt, OutOfSourceSubdir/simple.cxx,
- SubDir/CMakeLists.txt: ENH: added new test for out of dir source
- trees
-
-2005-03-14 09:23 martink
-
- * Source/cmSubDirectory.h: ENH: added new structure to hold
- subdirectories
-
-2005-03-14 08:15 king
-
- * Source/: cmDependsFortranParser.cxx, cmDependsFortranParser.y:
- COMP: Added __INTEL_COMPILER to test for yyerrorlab warning
- suppression.
-
-2005-03-14 03:18 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-13 03:01 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-12 02:35 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-11 13:12 hoffman
-
- * Tests/: Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: ENH: try to see if
- there is still a problem
-
-2005-03-11 12:56 king
-
- * Source/CTest/cmCTestScriptHandler.cxx: BUG: Do not report an
- error removing the binary directory if it doesn't exist.
-
-2005-03-11 11:48 barre
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: add last
- two small funcs from vtkString. Done removing deps
-
-2005-03-11 10:53 andy
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- FIX: fix crashing test SubDir for xcode
-
-2005-03-11 10:43 barre
-
- * Source/kwsys/: SystemTools.hxx.in, SystemTools.cxx: ENH: update
- documentation, sort methods into categories
-
-2005-03-11 10:29 hoffman
-
- * Source/ctest.cxx: FIX: fix output of passing tests
-
-2005-03-11 10:15 king
-
- * Modules/Platform/QNX.cmake: ENH: Initial attempt at QNX support.
- Submitted by Tim Arney.
-
-2005-03-11 10:07 king
-
- * Source/kwsys/: CommandLineArguments.cxx, RegularExpression.cxx,
- SystemTools.cxx: COMP: Added missing include of string.h.
-
-2005-03-11 10:03 king
-
- * Source/cmStandardIncludes.h: COMP: Adding stdlib.h to standard
- includes. We are using functions from it all over the place
- assuming it has been included here.
-
-2005-03-11 09:31 barre
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: COMP: fix
- some warnings
-
-2005-03-11 08:38 martink
-
- * Source/cmake.cxx: COMP: fix a warning
-
-2005-03-11 02:32 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-10 17:49 barre
-
- * Source/kwsys/SystemTools.cxx: ENH: remove deps to vtkString by
- using KWSys (a handful of functions have been moved to KWSys)
-
-2005-03-10 17:44 barre
-
- * Source/kwsys/: SystemTools.hxx.in, SystemTools.cxx: ENH: remove
- deps to vtkString by using KWSys (a handful of functions have
- been moved to KWSys)
-
-2005-03-10 17:34 barre
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: remove
- deps to vtkString by using KWSys (a handful of functions have
- been moved to KWSys)
-
-2005-03-10 13:39 martink
-
- * Source/: cmExportLibraryDependencies.cxx, cmGlobalGenerator.cxx,
- cmGlobalGenerator.h, cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h, cmMakefile.cxx, cmMakefile.h,
- cmTryCompileCommand.cxx, cmTryRunCommand.cxx, cmake.cxx, cmake.h:
- ENH: cleanup by removing all the olf local generate junk that i
- not longer needed
-
-2005-03-10 12:50 barre
-
- * Source/kwsys/: SystemTools.hxx.in, SystemTools.cxx: ENH: move
- function from vtkKWDirectoryUtilities and vtkString to
- SystemTools
-
-2005-03-10 10:04 martink
-
- * Source/ctest.cxx: ENH: better docs
-
-2005-03-10 02:26 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-09 18:06 andy
-
- * Source/CTest/cmCTestSubmit.cxx: BUG: xmlrpc does the base64
- encoding
-
-2005-03-09 15:51 andy
-
- * bootstrap: BUG: Remove awk, remove problems and add full spaces
- in the path support
-
-2005-03-09 02:26 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-08 18:38 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Removing
- jump-and-build ordering change until we can prevent extra jumps
- from always occuring.
-
-2005-03-08 17:27 king
-
- * bootstrap: BUG: Fix for spaces in the path when constructing
- cmBootstrapCommands dependencies.
-
-2005-03-08 16:01 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: ENH: Removing ...
- ellipsis from end of echo lines. It is just clutter.
-
-2005-03-08 15:55 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: ENH: Adding extra
- dependencies to jump-and-build rules that force a single ordering
- to prevent parallel jumps. This avoids problems with two jumps
- reaching the same target in parallel which happened occasionally
- with the old generator.
-
-2005-03-08 15:35 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: ENH: Removed "Checking
- build system in ..." message. It is always paired with an
- Entering or Jumping message and is not necessary.
-
-2005-03-08 13:43 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Added option
- CMAKE_SKIP_RULE_DEPENDENCY to skip making build rules depend on
- their own rule files. It can be added to the cache by the user
- or added by the project in a list file.
-
-2005-03-08 11:37 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Only add leading
- ./ to custom command executable if the command is really
- specified as one in the current directory.
-
-2005-03-08 11:25 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: When a custom
- command's executable is in the current directory the relative
- path to it needs a "./".
-
-2005-03-08 09:25 king
-
- * Source/: cmLocalKdevelopGenerator.cxx,
- cmLocalKdevelopGenerator.h: ENH: Updating Kdevelop generator to
- use the new makefile generator. The old one no longer works
- anyway because local generates are now disabled.
-
-2005-03-08 09:24 king
-
- * Source/cmDepends.cxx: BUG: Dependency scans and checks must
- always set the current working directory to the directory
- containing the Makefile.
-
-2005-03-08 02:26 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-07 15:19 king
-
- * Source/cmDependsFortran.cxx: BUG: When checking for upper-case
- modules do not use an upper-case .MOD extension.
-
-2005-03-07 13:51 andy
-
- * Source/: cmFileCommand.cxx, cmWriteFileCommand.cxx: BUG: Handle
- restrictive permissions
-
-2005-03-07 12:14 andy
-
- * Source/CTest/cmCTestSubmit.cxx: COMP: Remove warning
-
-2005-03-07 12:11 andy
-
- * bootstrap: ENH: Add proper dependencies for cmBootstrapCommands
-
-2005-03-07 02:28 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-06 08:51 andy
-
- * DartConfig.cmake, Source/cmCTest.cxx,
- Source/CTest/cmCTestSubmit.cxx: COMP: Remove warning and fix the
- logic
-
-2005-03-06 08:17 andy
-
- * Source/CMakeLists.txt: COMP: Do not build cmw9xcom on Cygwin
-
-2005-03-06 02:27 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-05 08:25 andy
-
- * DartConfig.cmake: ENH: Work on xmlrpc submit
-
-2005-03-05 08:12 andy
-
- * Source/CTest/cmCTestSubmit.cxx: COMP: Remove compile error
-
-2005-03-05 02:21 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-04 17:11 andy
-
- * Source/: CTest/cmCTestSubmit.cxx, CTest/cmCTestSubmit.h,
- cmCTest.cxx: ENH: Start working on xmlrpc code. This code does
- not work, but it will at least test compiling with cmxmlrpc
-
-2005-03-04 14:27 andy
-
- * CMakeLists.txt, Source/CMakeLists.txt: ENH: More cleanups and
- start linking ctest to XML-RPC
-
-2005-03-04 11:37 andy
-
- * Source/CMakeLists.txt, CMakeLists.txt, Utilities/CMakeLists.txt:
- ENH: More cleanups and reorganization
-
-2005-03-04 10:05 andy
-
- * CMakeLists.txt, Source/CMakeLists.txt: ENH: Cleanups
-
-2005-03-04 10:04 andy
-
- * Source/CTest/CMakeLists.txt: BUG: This cmakelists file is not
- used any more
-
-2005-03-04 10:03 andy
-
- * bootstrap: BUG: Handle when initial cmake fails
-
-2005-03-04 02:25 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-03 22:35 hoffman
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalXCodeGenerator.cxx: ENH: fix for finding the correct
- target in the current project
-
-2005-03-03 19:42 hoffman
-
- * Tests/: Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: ENH: make it pass
- anyway so I can see debug info
-
-2005-03-03 18:46 hoffman
-
- * Source/cmOrderLinkDirectories.cxx,
- Source/cmOrderLinkDirectories.h,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: try and
- debug the failed test on the continuous
-
-2005-03-03 18:15 hoffman
-
- * Source/cmOrderLinkDirectories.cxx,
- Source/cmOrderLinkDirectories.h,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: try
- number two with topological sort
-
-2005-03-03 16:53 king
-
- * Source/: cmDependsFortran.cxx, cmDependsFortran.h, cmake.cxx:
- ENH: Implementing explicit cmake_copy_f90_mod callback to copy
- Fortran90 modules to the stamp files more reliably. This removes
- the temporary hack for per-platform upper-/lower- case.
-
-2005-03-03 15:22 king
-
- * Source/: cmDependsC.cxx, cmDependsC.h: BUG: Fixed scanning to
- account for double-quote includes.
-
-2005-03-03 12:00 king
-
- * Source/kwsys/kwsys_ios_sstream.h.in: ENH: Added
- "ostringstream(const kwsys_stl::string& s)" and "void str(const
- kwsys_stl::string& s)" compatibility methods.
-
-2005-03-03 08:46 martink
-
- * Source/: CMakeLists.txt, cmake.cxx: ENH: remove code warrior
- classes
-
-2005-03-03 02:26 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-02 18:56 hoffman
-
- * Source/cmOrderLinkDirectories.cxx,
- Source/cmOrderLinkDirectories.h,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: reverse
- last changes to avoid dashboard failures
-
-2005-03-02 17:49 hoffman
-
- * Source/cmOrderLinkDirectories.cxx,
- Source/cmOrderLinkDirectories.h,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: fix
- library ordering stuff to use a topological sort
-
-2005-03-02 11:48 andy
-
- * Source/cmOrderLinkDirectories.cxx: BUG: Attempt to fix sorting
- stability using more deterministic compare function
-
-2005-03-02 10:58 martink
-
- * Source/: cmGlobalCodeWarriorGenerator.cxx,
- cmGlobalCodeWarriorGenerator.h, cmLocalCodeWarriorGenerator.cxx,
- cmLocalCodeWarriorGenerator.h: ENH: now use xcode instead
-
-2005-03-02 09:34 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Pay attention to
- ForceUnixPaths setting in cmSystemTools for
- ConvertToQuotedOutputPath and for dependency scanning.
-
-2005-03-02 09:02 king
-
- * Source/cmDependsFortran.cxx: BUG: We need to test the compiler
- for the case of the mod file names. For now this is a temporary
- hack to use upper case on SGI and lower case on Sun.
-
-2005-03-02 08:51 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: SGI make can
- support suffixes only up to 32 characters. Renaming
- .hpux_make_must_have_suffixes_list to
- .hpux_make_needs_suffix_list.
-
-2005-03-02 02:30 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-03-01 17:32 hoffman
-
- * Source/cmOrderLinkDirectories.cxx: FIX: switch to stable_sort to
- avoid crash
-
-2005-03-01 14:30 andy
-
- * Modules/Dart.cmake: BUG: Change error to warning
-
-2005-03-01 14:21 andy
-
- * CMakeLists.txt: COMP: CMake should be build static. Also
- propagate build_shared_libs to curl
-
-2005-03-01 13:36 king
-
- * Source/cmDependsFortran.cxx: BUG: Module file names are case
- insensitive. Always use lower case no matter the real name of
- the module.
-
-2005-03-01 13:32 king
-
- * Source/cmDependsJava.cxx: COMP: Removed unused parameter warning.
-
-2005-03-01 12:27 king
-
- * Source/: cmGlobalBorlandMakefileGenerator.cxx,
- cmGlobalNMakeMakefileGenerator.cxx: ENH: Enabling
- cmLocalUnixMakefileGenerator2 by default.
-
-2005-03-01 12:26 king
-
- * Modules/Platform/: Darwin-xlc.cmake, Darwin.cmake: ENH: Adding
- support for shared library versioning using the -install_name
- option on the OSX linker. This is actually needed to support
- relative -o paths which are used by
- cmLocalUnixMakefileGenerator2.
-
-2005-03-01 12:26 king
-
- * bootstrap, Source/cmGlobalUnixMakefileGenerator.cxx,
- Source/cmake.cxx: ENH: Enabling cmLocalUnixMakefileGenerator2
- (new makefile generator) by default.
-
-2005-03-01 12:20 king
-
- * Source/: cmDependsJava.cxx, cmDependsJava.h, CMakeLists.txt,
- cmLocalUnixMakefileGenerator2.cxx: ENH: Framework for java
- dependency scanner. Right now it does nothing but always reports
- success. This is enough to get the Java test to pass with the
- new generator because the old implementation did not do
- dependencies anyway.
-
-2005-03-01 12:13 king
-
- * Source/: cmInstallProgramsCommand.cxx,
- cmInstallProgramsCommand.h: BUG: Added FILES mode to
- INSTALL_PROGRAMS command to make the single argument case
- unambiguous.
-
-2005-03-01 11:25 andy
-
- * Source/cmGlobalXCodeGenerator.cxx: FIX: fix spaces in paths
-
-2005-03-01 10:54 andy
-
- * CMakeLists.txt: ENH: Enable XMLRPC... please do not break
- everywhere...
-
-2005-03-01 10:05 king
-
- * Source/cmLocalVisualStudio6Generator.cxx: BUG: Replaced previous
- fix with an implementation of properly formatting the custom
- build code in the generated file.
-
-2005-03-01 02:28 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-28 17:12 andy
-
- * CMakeLists.txt: ENH: Add the rest of xmlrpc stuff
-
-2005-02-28 16:11 martink
-
- * Source/cmLocalVisualStudio6Generator.cxx: FIXTHIS THING: fix the
- bug
-
-2005-02-28 15:30 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: fix typeo
-
-2005-02-28 15:07 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- ENH: add re run cmake if inputs change
-
-2005-02-28 02:25 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-27 17:36 andy
-
- * Source/kwsys/ProcessUNIX.c: COMP: Remove warnings about shadow
- variables
-
-2005-02-27 17:33 andy
-
- * Utilities/cmexpat/xmlparse.c: COMP: Remove compile warning about
- shadow variables
-
-2005-02-27 03:04 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-26 16:58 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: COMP: remove some warnings
-
-2005-02-26 03:02 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-25 20:46 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: COMP: fix warning
-
-2005-02-25 17:45 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmOrderLinkDirectories.cxx,
- cmOrderLinkDirectories.h: ENH: clean up and use order link
- directories
-
-2005-02-25 14:21 hoffman
-
- * Utilities/cmexpat/xmltok_impl.c: COMP: fix warnings
-
-2005-02-25 14:20 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: make sure header files
- are in the header file group
-
-2005-02-25 11:23 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Replaced
- OutputEcho/pre-echo/post-echo with AppendEcho. This allows for
- more flexible echo specifications and better preserves echo text.
-
-2005-02-25 09:31 king
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- Complex/Executable/complex.cxx, Complex/Library/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/complex.cxx,
- ComplexRelativePaths/Library/CMakeLists.txt: ENH: Added full
- pre-build/pre-link/post-build testing for both library and
- executable targets.
-
-2005-02-25 09:19 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: ENH: Adding inclusion
- of pre-build and pre-link commands when building executables and
- libraries.
-
-2005-02-25 09:14 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: BUG:
- ConvertToQuotedOutputPath must replace slashes in root component
- on windows.
-
-2005-02-25 09:06 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Added
- ConvertToQuotedOutputPath method and used it to properly generate
- external object references with spaces in the path.
-
-2005-02-25 03:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-24 19:32 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Removed instances
- of calling ConvertToRelativeOutputPath twice on the same path.
-
-2005-02-24 19:28 king
-
- * Source/cmGlobalGenerator.cxx: BUG: Need to configure relative
- path support for LocalGenerate to support old makefile generator.
-
-2005-02-24 18:35 king
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: ENH: Converted some
- ConvertToRelativeOutputPath calls to
- ConvertToOptionallyRelativeOutputPath in preparation for making
- ConvertToRelativeOutputPath always convert. Some of these might
- be able to be switched back but we will first have to test what
- paths can be relative in the generate VS project files.
-
-2005-02-24 17:46 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h,
- kwsys/SystemTools.cxx: ENH: fix relative paths in xcode
-
-2005-02-24 16:25 king
-
- * Source/cmLocalGenerator.cxx: ENH: Converted some
- ConvertToRelativeOutputPath calls to
- ConvertToOptionallyRelativeOutputPath in preparation for making
- ConvertToRelativeOutputPath not check CMAKE_USE_RELATIVE_PATHS.
-
-2005-02-24 16:19 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: The path to the
- source file in a compile line should be made relative only when
- CMAKE_USE_RELATIVE_PATHS is on.
-
-2005-02-24 16:04 king
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Merged implementations of
- ConvertToRelative*Path methods. The main ConvertToRelativePath
- method is now in cmGlobalGenerator. It converts paths only if
- they are at least inside the deepest common directory between the
- top-level source and build trees. Each cmLocalGenerator instance
- calls this global method with its own output directory as the
- "local" argument from which paths are relative. Added separate
- ConvertToOptionallyRelative path that pays attention to the
- CMAKE_USE_RELATIVE_PATHS option.
-
-2005-02-24 15:36 andy
-
- * Source/cmOrderLinkDirectories.cxx: COMP: remove compiler warning
-
-2005-02-24 15:34 andy
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- ENH: fix spaces in paths problems
-
-2005-02-24 14:47 king
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Added
- ComparePath method.
-
-2005-02-24 14:27 hoffman
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: ENH: remove
- unused code
-
-2005-02-24 13:45 king
-
- * Source/cmMakefile.cxx: COMP: HP compiler does not like
- initializing a const std::string & with a const char* (which
- requires the reference to be bound to a temporary with the scope
- of the reference).
-
-2005-02-24 13:26 hoffman
-
- * Source/cmOrderLinkDirectories.cxx: ENH: clean up and remove some
- debug code
-
-2005-02-24 13:16 hoffman
-
- * bootstrap, Source/CMakeLists.txt, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h, Source/cmOrderLinkDirectories.cxx,
- Source/cmOrderLinkDirectories.h: ENH: add a new library path
- ordering algorithm to make sure -L paths will pick the correct
- libraries if possible
-
-2005-02-24 12:44 king
-
- * Source/cmDependsC.cxx: BUG: Avoid putting a leading ./ on the
- dependency names.
-
-2005-02-24 12:19 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: BUG: Using a better technique to
- produce the rule file name for a custom command when the output
- is not in the current directory or lower.
-
-2005-02-24 11:46 king
-
- * Modules/Platform/CMakeLists.txt: BUG: Added installation of .in
- files as well as .cmake files.
-
-2005-02-24 10:32 king
-
- * Source/cmGlobalGenerator.cxx: BUG: Only use the existing
- CMake(lang)Compiler.cmake file from the build tree if it was
- generated by the same version of CMake.
-
-2005-02-24 10:31 king
-
- * Source/cmMakefile.cxx: BUG: Fixed GetCacheMinorVersion to not
- always return 0.
-
-2005-02-24 10:14 andy
-
- * Source/cmCommands.cxx: COMP: Remove compile warning in bootstrap
- stage
-
-2005-02-24 09:21 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Do not crash when
- the link language for a target is not known.
-
-2005-02-24 09:20 king
-
- * Source/cmLocalVisualStudio6Generator.cxx: BUG: Need proper
- newline argument to ConstructScript call.
-
-2005-02-24 03:46 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-23 20:41 andy
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: remove output path stuff
-
-2005-02-23 14:36 martink
-
- * Source/cmGlobalVisualStudio6Generator.cxx: BUG: fix for empty
- target or config strings in the Build method
-
-2005-02-23 13:50 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: FIX: fix to make this work
- with new custom command stuff
-
-2005-02-23 03:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-22 15:31 king
-
- * Source/cmProjectCommand.cxx: ENH: Added CMAKE_PROJECT_NAME
- variable to play the role of CMAKE_SOURCE_DIR and
- CMAKE_BINARY_DIR for the top-level project name.
-
-2005-02-22 15:22 king
-
- * Modules/CMakeGenericSystem.cmake, Source/cmLocalGenerator.cxx:
- ENH: Added better default install location for windows builds.
- The previous default /usr/local did not make much sense. Now
- "%SystemDrive%/Program Files/PROJECT_NAME" is used, which is the
- windows equivalent to /usr/local.
-
-2005-02-22 14:52 king
-
- * Source/: cmLoadCommandCommand.cxx, cmLoadCommandCommand.h: ENH:
- LOAD_COMMAND command will now set a variable called
- CMAKE_LOADED_COMMAND_<COMMAND_NAME> to the full path of the
- loaded module if loading was successful. Otherwise the variable
- is not set (will evaluate to empty string). This is useful both
- in testing whether loading worked and for installing loaded
- command modules.
-
-2005-02-22 12:34 martink
-
- * Source/cmGlobalGenerator.cxx: COMP: fix warning
-
-2005-02-22 12:10 king
-
- * Source/cmAddCustomCommandCommand.h: BUG: Fixed formatting of
- generated documentation.
-
-2005-02-22 12:04 king
-
- * Tests/CustomCommand/CMakeLists.txt: ENH: Added test for multiple
- commands in a custom command.
-
-2005-02-22 10:43 martink
-
- * Source/CMakeLists.txt: BUG: fix test execution
-
-2005-02-22 10:42 martink
-
- * Source/cmCTest.cxx: BUG: better error handling
-
-2005-02-22 10:32 king
-
- * Source/: cmAddCustomCommandCommand.cxx,
- cmAddCustomCommandCommand.h, cmAddCustomTargetCommand.cxx,
- cmAddCustomTargetCommand.h, cmCPluginAPI.cxx,
- cmCustomCommand.cxx, cmCustomCommand.h, cmFLTKWrapUICommand.cxx,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx, cmGlobalXCodeGenerator.cxx,
- cmITKWrapTclCommand.cxx, cmIncludeExternalMSProjectCommand.cxx,
- cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmLocalUnixMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator2.cxx,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx, cmMakefile.cxx, cmMakefile.h,
- cmQTWrapCPPCommand.cxx, cmQTWrapUICommand.cxx,
- cmVTKWrapJavaCommand.cxx, cmVTKWrapPythonCommand.cxx,
- cmVTKWrapTclCommand.cxx: ENH: Updated implementation of custom
- commands. Multiple command lines are now supported effectively
- allowing entire scripts to be written. Also removed extra
- variable expansions and cleaned up passing of commands through to
- the generators. The command and individual arguments are now
- kept separate all the way until the generator writes them out.
- This cleans up alot of escaping issues.
-
-2005-02-22 09:12 martink
-
- * Source/: cmCTest.cxx, cmCTest.h, cmGlobalGenerator.cxx,
- cmGlobalGenerator.h, cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h, cmGlobalXCodeGenerator.cxx,
- cmGlobalXCodeGenerator.h, ctest.cxx: ENH: ctest now uses CMake
- global generator to do the build part of build-and-test
-
-2005-02-22 09:08 king
-
- * Source/cmake.cxx: BUG: Need to return before configure step when
- running in script mode.
-
-2005-02-22 08:22 king
-
- * Source/cmStandardIncludes.h: ENH: Adding cmCustomCommandLine and
- cmCustomCommandLines subclasses of std::vector instantiations to
- represent multiple commands for a single custom command. These
- will be used in an upcoming checkin.
-
-2005-02-22 03:01 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-21 03:07 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-20 03:13 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-19 02:43 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-18 16:19 king
-
- * Source/: cmMakefile.cxx, cmSourceFile.cxx, cmSourceFile.h: BUG:
- cmSourceFile instances should delete their own custom commands
- when a new one is set.
-
-2005-02-18 16:12 king
-
- * Source/cmTarget.cxx: COMP: Using const_iterator instead of
- iterator to walk through custom command dependencies.
-
-2005-02-18 16:12 king
-
- * Source/cmTarget.h: COMP: Added missing forward declaration of
- cmMakefile. This was only working because cmCustomCommand.h
- declared it.
-
-2005-02-18 15:45 andy
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: fix for spaces in the
- path
-
-2005-02-18 15:43 king
-
- * Tests/ExternalOBJ/CMakeLists.txt: BUG: We still want to print out
- the location where the object was found if it was found by the
- glob.
-
-2005-02-18 14:32 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: COMP: remove warning
-
-2005-02-18 14:22 king
-
- * CMakeLists.txt: BUG: Disabling DART_ROOT removal until we can get
- Dart to submit without it.
-
-2005-02-18 13:32 hoffman
-
- * Source/CMakeLists.txt, Source/cmFileCommand.cxx,
- Source/cmGlobalXCodeGenerator.cxx,
- Source/cmGlobalXCodeGenerator.h, Source/cmLocalGenerator.cxx,
- Tests/ExternalOBJ/CMakeLists.txt: ENH: all tests are passing for
- XCode
-
-2005-02-18 02:44 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-17 17:54 hoffman
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalXCodeGenerator.cxx,
- cmGlobalXCodeGenerator.h, cmXCodeObject.h: ENH: more tests are
- passing, relative paths, and external objects are the ones left
- now
-
-2005-02-17 16:59 andy
-
- * Source/CTest/cmCTestTestHandler.cxx: BUG: Detect when
- TestsToRunInformation is not set
-
-2005-02-17 16:11 andy
-
- * Source/: cmCTest.cxx, CTest/cmCTestTestHandler.cxx: ENH: Some
- more generalization
-
-2005-02-17 15:23 andy
-
- * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h,
- CTest/cmCTestScriptHandler.cxx, CTest/cmCTestUpdateCommand.cxx,
- CTest/cmCTestUpdateCommand.h, CTest/cmCTestUpdateHandler.cxx:
- ENH: Cleanups and add CTEST_UPDATE command
-
-2005-02-17 15:22 andy
-
- * Source/CTest/: cmCTestGenericHandler.cxx,
- cmCTestGenericHandler.h: ENH: Add a way to set options of the
- handler genericly
-
-2005-02-17 11:28 king
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h,
- kwsys/SystemTools.cxx, kwsys/SystemTools.hxx.in: ENH: Adding
- kwsys::SystemTools::FileTimeCompare method to compare file
- modification times with the highest resolution possible on the
- file system.
-
-2005-02-17 11:27 king
-
- * bootstrap: ENH: Added try-compile KWSYS_STAT_HAS_ST_MTIM. This
- tests whether struct stat has the extra st_mtim member that has
- high resolution times.
-
-2005-02-17 10:51 andy
-
- * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h,
- CTest/cmCTestCoverageHandler.cxx,
- CTest/cmCTestMemCheckHandler.cxx, CTest/cmCTestScriptHandler.cxx,
- CTest/cmCTestScriptHandler.h, CTest/cmCTestStartCommand.cxx,
- CTest/cmCTestStartCommand.h: ENH: Cleanups and add CTEST_START
- command
-
-2005-02-17 10:51 andy
-
- * Source/cmSystemTools.cxx: ENH: Add support for single '
-
-2005-02-17 10:49 king
-
- * Source/kwsys/: CMakeLists.txt, Configure.hxx.in,
- kwsysPlatformCxxTests.cxx: ENH: Added try-compile
- KWSYS_STAT_HAS_ST_MTIM. This tests whether struct stat has the
- extra st_mtim member that has high resolution times.
-
-2005-02-17 10:45 hoffman
-
- * Modules/FindQt.cmake: FIX: fix for bug 1409
-
-2005-02-17 10:42 hoffman
-
- * Modules/FindCurses.cmake: FIX: fix for bug 1438
-
-2005-02-17 10:39 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: FIX: fix for bug 1606
-
-2005-02-17 10:18 king
-
- * Source/cmDependsC.cxx: ENH: Removing collapsing of files to full
- path before checking. The current working directory is set
- correctly because the dependency lines are used by make anyway.
- This drastically improves the speed of dependency checking.
-
-2005-02-17 10:03 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Avoid generating duplicate
- rules for an object file. A warning about duplicate source files
- in a target is now generated.
-
-2005-02-17 08:50 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: ENH: Added generation
- of test target to run ctest.
-
-2005-02-17 07:53 king
-
- * Source/cmake.cxx: BUG: Removing "guess when there is a space in
- the path" check for chdir command. It is the responsibility of
- the caller of the command to ensure the arguments are properly
- quoted on the command line.
-
-2005-02-17 07:53 king
-
- * Tests/CommandLineTest/CMakeLists.txt: BUG: Fix for space in path
- for chdir test. We just need to double-quote the arguments.
-
-2005-02-17 02:42 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-16 19:13 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: add CMAKE_CFG_INTDIR
-
-2005-02-16 18:47 hoffman
-
- * Source/: cmCTest.cxx, cmGlobalXCodeGenerator.cxx: ENH: use
- ALL_BUILD target
-
-2005-02-16 16:35 hoffman
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalXCodeGenerator.cxx,
- cmGlobalXCodeGenerator.h, cmMakefile.cxx, cmMakefile.h: ENH: more
- tests are passing
-
-2005-02-16 16:06 andy
-
- * Source/CTest/: cmCTestEmptyBinaryDirectoryCommand.cxx,
- cmCTestScriptHandler.cxx: BUG: Report errors
-
-2005-02-16 16:03 andy
-
- * Source/kwsys/SystemTools.cxx: BUG: On windows allow removing of
- files that are read-only
-
-2005-02-16 14:38 andy
-
- * Source/CTest/cmCTestUpdateHandler.cxx: COMP: Remove unused
- variable
-
-2005-02-16 14:24 andy
-
- * Source/CTest/cmCTestUpdateHandler.h: COMP: Remove warning
-
-2005-02-16 14:24 andy
-
- * Source/CTest/cmCTestUpdateHandler.cxx: ENH: Improve output, and
- handle 'G' files in subversion
-
-2005-02-16 13:45 andy
-
- * Source/CTest/cmCTestUpdateHandler.cxx: BUG: If project is up to
- date, handle that case
-
-2005-02-16 13:36 andy
-
- * Modules/Dart.cmake: BUG: Clean the messages
-
-2005-02-16 13:30 andy
-
- * Modules/: Dart.cmake, DartConfiguration.tcl.in: ENH: Reorganize
- and add subversion support
-
-2005-02-16 13:29 andy
-
- * CMakeLists.txt: ENH: Remove DART_ROOT to force
- DartConfiguration.tcl to be up to date
-
-2005-02-16 13:28 andy
-
- * Source/CTest/: cmCTestUpdateHandler.cxx, cmCTestUpdateHandler.h:
- ENH: Initial implementation of SVN support. Closes Bug #1601 -
- Add subversion support
-
-2005-02-16 13:15 hoffman
-
- * Source/cmake.cxx, Source/cmakemain.cxx,
- Tests/CommandLineTest/CMakeLists.txt: BUG: fix CommandLine test
- problems with spaces and testing for the return value
-
-2005-02-16 12:31 martink
-
- * CTestCustom.ctest.in: ENH: add supp for xlc linking on darwin
-
-2005-02-16 09:17 andy
-
- * Utilities/cmzlib/CMakeLists.txt: COMP: attempt to fix warning on
- Visual Studio 7
-
-2005-02-16 09:00 hoffman
-
- * CTestCustom.ctest.in: COMP: add a warning ignore for gcc 3.4.2
-
-2005-02-16 08:56 king
-
- * Source/kwsys/SystemTools.cxx: BUG: Removing debugging code now
- that the problem has been fixed on the remote dashboard.
-
-2005-02-16 02:18 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-15 17:25 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- ENH: add custom commands, still failing a bunch of tests
-
-2005-02-15 16:03 king
-
- * Source/kwsys/SystemTools.cxx: BUG: Preserve trailing slash state
- when translating paths.
-
-2005-02-15 09:58 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: make sure paths do not end in
- / before adding one
-
-2005-02-15 09:02 king
-
- * Source/cmDependsFortran.cxx: STYLE: Added TODO comment for
- checking dependencies.
-
-2005-02-15 09:01 king
-
- * Tests/Fortran/: CMakeLists.txt, test_module_implementation.f90,
- test_module_interface.f90, test_module_main.f90: ENH: Added
- Fortran 90 test if the platform supports it.
-
-2005-02-15 08:40 king
-
- * Source/kwsys/SystemTools.cxx: BUG: Adding debugging code to
- remotely debug a failing dashboard test.
-
-2005-02-15 08:28 king
-
- * Source/kwsys/SystemTools.cxx: BUG: Adding debugging code to
- remotely debug a failing dashboard test.
-
-2005-02-15 02:16 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-14 16:46 hoffman
-
- * Source/: cmCTest.cxx, cmGlobalXCodeGenerator.cxx,
- cmGlobalXCodeGenerator.h, cmLocalGenerator.h: ENH: getting closer
-
-2005-02-14 16:15 andy
-
- * Tests/MakeClean/CMakeLists.txt: COMP: Try to fix test on HP
-
-2005-02-14 14:35 hoffman
-
- * CMakeLists.txt, CTestCustom.ctest.in, ChangeLog.manual,
- Source/CMakeLists.txt, Source/cmCTest.cxx: ENH: merge from main
- tree
-
-2005-02-14 10:16 martink
-
- * Source/CMakeLists.txt: ENH: only do objc++ test with GNU of
- course
-
-2005-02-14 10:16 martink
-
- * CTestCustom.ctest.in: ENH: added supp for Curl coding style
-
-2005-02-14 09:21 hoffman
-
- * Modules/Platform/Darwin-xlc.cmake: ENH: move xlc stuff to branch
-
-2005-02-14 08:44 king
-
- * Tests/MakeClean/CMakeLists.txt: COMP: Need ANSI flags for C
- executable.
-
-2005-02-14 02:14 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-13 02:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-12 02:14 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-11 16:25 andy
-
- * Source/cmake.cxx: ENH: Add command to copy directory with content
-
-2005-02-11 16:25 andy
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH:
- Implement copy of directory with content
-
-2005-02-11 14:25 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- more work on linking flags
-
-2005-02-11 14:22 hoffman
-
- * Modules/CMakeCXXCompiler.cmake.in: FIX: fix bug 1495
-
-2005-02-11 14:20 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: FIX: fix for bug 1460
-
-2005-02-11 14:18 hoffman
-
- * Modules/UseSWIG.cmake: FIX: fix bug 1303
-
-2005-02-11 14:13 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx,
- Templates/staticLibHeader.dsptemplate: FIX: fixes bugs 1152 and
- 1154
-
-2005-02-11 02:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-10 16:18 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Split
- cmLocalUnixMakefileGenerator2 away from
- cmLocalUnixMakefileGenerator to be a stand-alone generator.
-
-2005-02-10 14:19 king
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH:
- Initializing translation map using the PWD environment variable
- and getcwd functions to automatically translate logical paths
- involving the current working directory. Also added the JoinPath
- method to aid users of the SplitPath method.
-
-2005-02-10 10:35 king
-
- * Source/kwsys/SystemTools.cxx: COMP: std:: -> kwsys_stl::
-
-2005-02-10 10:32 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h, kwsys/SystemTools.cxx,
- kwsys/SystemTools.hxx.in: ENH: Added SystemTools::SplitPath
- method to split any file path into its basic components.
-
-2005-02-10 08:27 hoffman
-
- * Source/cmGlobalKdevelopGenerator.cxx: COMP: fix warning
-
-2005-02-10 08:22 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Fix for bug 1100.
- If EXECUTABLE_OUTPUT_PATH or LIBRARY_OUTPUT_PATH is a relative
- path it should be converted to a full path relative to each build
- directory.
-
-2005-02-10 07:46 king
-
- * Utilities/cmzlib/: CMakeLists.txt, zconf.h: COMP: Disabling
- warnings in zlib code to avoid changing it too much.
-
-2005-02-10 07:44 hoffman
-
- * Source/cmGlobalKdevelopGenerator.cxx: COMP: fix warning
-
-2005-02-10 02:14 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-09 23:25 hoffman
-
- * Source/: cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h: ENH: fix bug 1324
-
-2005-02-09 23:21 hoffman
-
- * Source/: cmGlobalKdevelopGenerator.cxx,
- cmGlobalKdevelopGenerator.h, cmLocalKdevelopGenerator.cxx,
- cmLocalKdevelopGenerator.h: ENH: move most of the to global
- generator
-
-2005-02-09 23:00 hoffman
-
- * Source/cmTryRunCommand.cxx, Source/cmTryRunCommand.h,
- Modules/TestBigEndian.cmake: ENH: fix for 1450
-
-2005-02-09 22:46 hoffman
-
- * Modules/: FindJNI.cmake, FindJava.cmake: ENH: bug fix 1573
-
-2005-02-09 22:45 hoffman
-
- * Modules/FindPythonLibs.cmake: ENH: bug fix 1574
-
-2005-02-09 11:40 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx,
- Source/cmLocalUnixMakefileGenerator2.h,
- Tests/MakeClean/CMakeLists.txt,
- Tests/MakeClean/ToClean/CMakeLists.txt,
- Tests/Wrapping/CMakeLists.txt: ENH: Adding cleaning of custom
- command outputs during "make clean".
-
-2005-02-09 09:36 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Moved reference from local
- driver targets (like build.local) into individual target rule
- files. Main rule is now empty, except that clean.local may
- remove files registered for cleaning.
-
-2005-02-09 09:32 king
-
- * Source/CMakeLists.txt: ENH: Adding MakeClean test to test
- cleaning for makefile generators.
-
-2005-02-09 09:21 king
-
- * Tests/MakeClean/: CMakeLists.txt, check_clean.c.in,
- ToClean/CMakeLists.txt, ToClean/ToCleanFiles.cmake.in,
- ToClean/toclean.cxx: ENH: Adding test of "make clean".
-
-2005-02-08 17:12 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h,
- cmXCodeObject.h: ENH: add link library stuff
-
-2005-02-08 10:13 andy
-
- * Tests/SystemInformation/CMakeLists.txt: ENH: Display all output
- in ctest
-
-2005-02-07 17:36 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmXCodeObject.cxx,
- cmXCodeObject.h: ENH: fix bug in target linking
-
-2005-02-07 16:18 king
-
- * Tests/: Complex/CMakeLists.txt,
- Complex/Executable/complex.file.cxx,
- ComplexOneConfig/CMakeLists.txt,
- ComplexOneConfig/Executable/complex.file.cxx,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/Executable/complex.file.cxx: ENH: Added
- partial test for include regular expressions.
-
-2005-02-07 16:16 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: COMP: Removed useless
- expression warning.
-
-2005-02-07 16:11 king
-
- * Source/: cmDepends.cxx, cmDepends.h, cmDependsC.cxx,
- cmDependsC.h, cmLocalUnixMakefileGenerator2.cxx: ENH: Implemented
- support for include/complain regular expressions for dependency
- scanning. This now includes the possibility that scanning will
- return failure and the build will stop.
-
-2005-02-07 15:10 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Added generation of
- CMakeDirectoryInformation.cmake file in each directory next to
- the Makefile. The include file search path is now stored in this
- file instead of duplicating it for every object file. This will
- also allow more information to be passed in the future.
-
-2005-02-07 15:09 king
-
- * Source/cmMakefile.h: ENH: Added GetComplainRegularExpression
- method.
-
-2005-02-07 09:05 king
-
- * Tests/SystemInformation/DumpInformation.cxx: BUG: Need to include
- full output to be a useful test.
-
-2005-02-07 05:26 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-06 05:27 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-05 07:50 king
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ENH: Updated post-build command
- to drive installation through the native build system.
-
-2005-02-05 05:27 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-04 17:58 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmXCodeObject.cxx,
- cmXCodeObject.h: ENH: this version can build cmake
-
-2005-02-04 17:38 king
-
- * Source/cmCTest.cxx: BUG: Fixed --build-target implementation to
- work with Visual Studio generators.
-
-2005-02-04 15:14 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Implemented external object
- feature.
-
-2005-02-04 14:13 king
-
- * Source/CMakeLists.txt: ENH: Adding test for external object file
- feature.
-
-2005-02-04 13:58 king
-
- * Tests/ExternalOBJ/: CMakeLists.txt, executable.cxx,
- Object/CMakeLists.txt, Object/external_main.cxx,
- Object/external_object.cxx: ENH: Adding test for external object
- file feature.
-
-2005-02-04 10:06 king
-
- * Modules/CMakeTestFortranCompiler.cmake: ENH: Added test for
- Fortran90 support.
-
-2005-02-04 05:28 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-03 19:32 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: COMP: remove warnings
-
-2005-02-03 17:42 hoffman
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h,
- cmLocalGenerator.h, cmXCodeObject.cxx, cmXCodeObject.h: ENH:
- depends work between targets
-
-2005-02-03 08:39 king
-
- * Source/cmDependsJavaParserHelper.cxx: COMP: Fix warning about
- printf format and given type.
-
-2005-02-03 05:29 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-02 17:16 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h,
- cmLocalGenerator.h, cmXCodeObject.cxx, cmXCodeObject.h: ENH:
- getting closer
-
-2005-02-02 17:05 king
-
- * Source/: cmDependsFortranParser.cxx, cmDependsFortranParser.y,
- cmDependsJavaParser.cxx, cmDependsJavaParser.y: COMP: Adding
- warning work-around for unused case label yyerrorlab on HP
- compiler.
-
-2005-02-02 13:19 hoffman
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: move AddFlags stuff up to
- LocalGenerator from LocalUnix generator
-
-2005-02-02 05:44 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-02-01 17:17 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- ENH: closer
-
-2005-02-01 15:48 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmXCodeObject.cxx: ENH:
- getting closer
-
-2005-02-01 14:28 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: COMP: fix warning
-
-2005-02-01 13:12 hoffman
-
- * Modules/CMakeFindXCode.cmake: ENH: add trycompile code for xcode
-
-2005-02-01 13:07 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- ENH: add trycompile code for xcode
-
-2005-02-01 11:28 king
-
- * Source/: cmDependsFortranParser.cxx, cmDependsFortranParser.y:
- COMP: Disabling warning in generated code.
-
-2005-02-01 10:44 king
-
- * Source/: cmDependsJavaLexer.h, cmDependsJavaLexer.in.l: COMP:
- Removing #line directives from .h file to avoid bogus Sun
- warning.
-
-2005-02-01 10:42 king
-
- * Source/: CMakeLists.txt, cmDependsFortran.cxx,
- cmDependsFortranLexer.cxx, cmDependsFortranLexer.h,
- cmDependsFortranLexer.in.l, cmDependsFortranParser.cxx,
- cmDependsFortranParser.h, cmDependsFortranParser.y,
- cmDependsFortranParserTokens.h, cmDependsFortranLexer.c,
- cmDependsFortranParser.c: ENH: Changed over to using C++ for
- building flex/bison generated files. It reduces the number of
- changes that need to be made after generation.
-
-2005-02-01 05:38 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-31 05:19 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-30 05:23 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-29 07:57 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: COMP: Removed shadowed
- variable warning.
-
-2005-01-29 05:23 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-28 18:12 king
-
- * Source/cmGlobalXCodeGenerator.cxx: COMP: Added missing labels to
- case.
-
-2005-01-28 17:46 andy
-
- * Source/: cmDependsJavaLexer.cxx, cmDependsJavaLexer.in.l: COMP:
- Another borland problem
-
-2005-01-28 17:43 andy
-
- * Source/: cmDependsJavaLexer.cxx, cmDependsJavaLexer.in.l,
- cmDependsJavaParser.cxx, cmDependsJavaParser.y,
- cmDependsJavaParserTokens.h: COMP: Remove more warnings/errors
-
-2005-01-28 17:25 king
-
- * Source/cmGeneratedFileStream.cxx: COMP: Fix unused parameter
- warning when bootstrapping.
-
-2005-01-28 17:24 andy
-
- * Source/: cmDependsJavaLexer.cxx, cmDependsJavaLexer.in.l,
- cmDependsJavaParser.cxx, cmDependsJavaParser.y,
- cmDependsJavaParserTokens.h: COMP: Remove warnings
-
-2005-01-28 17:21 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- ENH: move executable xcode stuff to a method
-
-2005-01-28 17:18 king
-
- * Source/cmDependsJavaParserHelper.cxx: COMP: Removed default
- argument from method definition.
-
-2005-01-28 17:14 andy
-
- * Source/CMakeLists.txt: ENH: Enable java dependency
-
-2005-01-28 17:13 andy
-
- * Source/: cmDependsJavaParser.cxx, cmDependsJavaParser.y,
- cmDependsJavaParserHelper.cxx, cmDependsJavaParserHelper.h,
- cmDependsJavaParserTokens.h: ENH: Initial import of java parser
-
-2005-01-28 17:13 andy
-
- * Source/cmDependsFortranParser.y: STYLE: Add some diff helping
- comments
-
-2005-01-28 17:09 king
-
- * Source/: cmDependsFortranParser.c, cmDependsFortranParser.y,
- cmDependsFortranParserTokens.h: COMP: Disabled warnings in
- generated code.
-
-2005-01-28 16:56 andy
-
- * Source/: cmDependsJavaLexer.cxx, cmDependsJavaLexer.h,
- cmDependsJavaLexer.in.l: ENH: Initial import of java parser
-
-2005-01-28 16:26 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: ENH: use absolute paths
-
-2005-01-28 16:00 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h:
- ENH: create mainGroup
-
-2005-01-28 14:17 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Implemented full per-object
- test for whether provides-requires mode is needed. This will
- still use a recursive make for any Fortran object even if it
- doesn't have requires. It is possible to avoid it but we can do
- that later.
-
-2005-01-28 13:20 andy
-
- * Modules/Dart.cmake: ENH: Better checking for Dart. Closes Bug
- #1505 - Configuration fails to create Makefile
-
-2005-01-28 13:00 andy
-
- * Source/cmake.cxx: BUG: prevent -P or script to be passed as
- homedirectory
-
-2005-01-28 12:01 king
-
- * Source/cmDependsFortran.cxx: STYLE: Added another solution
- proposal for out-of-directory modules.
-
-2005-01-28 10:45 king
-
- * Source/cmDependsFortran.cxx: ENH: Added provides/requires output
- for modules.
-
-2005-01-28 10:12 andy
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: Add error regex
-
-2005-01-28 08:30 hoffman
-
- * Modules/Platform/Windows-cl.cmake: ENH: remove debug print
-
-2005-01-28 05:20 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-27 19:24 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: COMP: fix warning
-
-2005-01-27 17:45 andy
-
- * Modules/Dart.cmake: ENH: Enable compression and use the new
- trigger script
-
-2005-01-27 17:43 andy
-
- * Source/cmCTest.cxx, Modules/DartConfiguration.tcl.in: ENH: Enable
- compression with DartConfiguration file
-
-2005-01-27 17:09 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmXCodeObject.cxx: ENH:
- xcode almost working for simple exe, but not yet
-
-2005-01-27 16:49 andy
-
- * Source/CTest/cmCTestTestHandler.h: COMP: Fix build on sun
-
-2005-01-27 16:43 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmXCodeObject.cxx: ENH: fix
- a few more xcode things
-
-2005-01-27 16:25 hoffman
-
- * Source/cmXCodeObject.cxx: ENH: add missing ;
-
-2005-01-27 16:11 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h,
- cmXCodeObject.cxx: ENH: add more xcode stuff
-
-2005-01-27 15:54 andy
-
- * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h,
- CTest/cmCTestBuildHandler.cxx, CTest/cmCTestBuildHandler.h,
- CTest/cmCTestConfigureHandler.cxx,
- CTest/cmCTestConfigureHandler.h,
- CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestCoverageHandler.h,
- CTest/cmCTestGenericHandler.cxx, CTest/cmCTestGenericHandler.h,
- CTest/cmCTestMemCheckHandler.cxx, CTest/cmCTestMemCheckHandler.h,
- CTest/cmCTestScriptHandler.cxx, CTest/cmCTestScriptHandler.h,
- CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h,
- CTest/cmCTestUpdateHandler.cxx, CTest/cmCTestUpdateHandler.h:
- ENH: Several cleanups and improvements
-
-2005-01-27 13:31 martink
-
- * Source/CTest/: cmCTestRunScriptCommand.cxx,
- cmCTestScriptHandler.cxx, cmCTestScriptHandler.h: ENH: clean up
- running of default script
-
-2005-01-27 11:43 andy
-
- * Source/: CMakeLists.txt, cmCTest.cxx,
- CTest/cmCTestBuildHandler.cxx, CTest/cmCTestBuildHandler.h,
- CTest/cmCTestConfigureHandler.cxx,
- CTest/cmCTestConfigureHandler.h,
- CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestCoverageHandler.h,
- CTest/cmCTestGenericHandler.cxx, CTest/cmCTestGenericHandler.h,
- CTest/cmCTestScriptHandler.cxx, CTest/cmCTestScriptHandler.h,
- CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h,
- CTest/cmCTestUpdateHandler.cxx, CTest/cmCTestUpdateHandler.h:
- ENH: Add a superclass to all handlers
-
-2005-01-27 11:01 martink
-
- * Source/CTest/: cmCTestRunScriptCommand.cxx,
- cmCTestScriptHandler.cxx, cmCTestScriptHandler.h,
- cmCTestSleepCommand.cxx: COMP: fix some compiler warnings/errors
-
-2005-01-27 10:47 martink
-
- * Source/ctest.cxx: ENH: added missing documentation
-
-2005-01-27 10:14 andy
-
- * Source/: cmCTest.cxx, cmCTest.h, CTest/cmCTestBuildHandler.cxx,
- CTest/cmCTestConfigureHandler.cxx,
- CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestCoverageHandler.h,
- CTest/cmCTestTestHandler.cxx, CTest/cmCTestUpdateHandler.cxx:
- ENH: Add compression support to XML files
-
-2005-01-27 10:14 andy
-
- * Source/: cmGeneratedFileStream.cxx, cmGeneratedFileStream.h: ENH:
- Add compression support
-
-2005-01-27 10:11 andy
-
- * Tests/Complex/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Source/CMakeLists.txt: ENH: Link to cmzlib
-
-2005-01-27 10:11 martink
-
- * Source/: CMakeLists.txt, CTest/cmCTestCommand.h,
- CTest/cmCTestEmptyBinaryDirectoryCommand.cxx,
- CTest/cmCTestEmptyBinaryDirectoryCommand.h,
- CTest/cmCTestRunScriptCommand.cxx,
- CTest/cmCTestRunScriptCommand.h, CTest/cmCTestScriptHandler.cxx,
- CTest/cmCTestScriptHandler.h, CTest/cmCTestSleepCommand.cxx,
- CTest/cmCTestSleepCommand.h: ENH: added more capabilities to
- ctest
-
-2005-01-27 05:24 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-26 16:19 king
-
- * Source/cmDependsFortranParser.y: COMP: Added instruction to
- remove TABs from generated file.
-
-2005-01-26 16:18 king
-
- * Source/: CMakeLists.txt, cmLocalUnixMakefileGenerator2.cxx: ENH:
- Added hook into Fortran dependency scanner.
-
-2005-01-26 16:17 king
-
- * Source/: cmDependsFortranLexer.c, cmDependsFortranLexer.h,
- cmDependsFortranParser.c, cmDependsFortranParserTokens.h: ENH:
- Added generated lexer and parser sources.
-
-2005-01-26 16:10 king
-
- * Source/: cmDependsFortranLexer.in.l, cmDependsFortranParser.y:
- COMP: Added additional instructions about how to modify the
- generated files.
-
-2005-01-26 16:09 king
-
- * Source/cmDependsFortran.cxx: COMP: Added constructor to
- cmDependsFortranFile to avoid using initializer list. Also
- included assert.h.
-
-2005-01-26 15:58 king
-
- * Source/cmDependsFortranParser.y: COMP: Added forward declaration
- of yylex.
-
-2005-01-26 15:55 andy
-
- * CMakeLists.txt: ENH: Add zlib from VTK
-
-2005-01-26 15:55 andy
-
- * Utilities/cmzlib/: .NoDartCoverage, CMakeLists.txt, adler32.c,
- cm_zlib_mangle.h, compress.c, crc32.c, deflate.c, deflate.h,
- example.c, gzio.c, infblock.c, infblock.h, infcodes.c,
- infcodes.h, inffast.c, inffast.h, inffixed.h, inflate.c,
- inftrees.c, inftrees.h, infutil.c, infutil.h, maketree.c,
- minigzip.c, trees.c, trees.h, uncompr.c, zconf.h, zlib.def,
- zlib.h, zlib.rc, zlibDllConfig.h.in, zutil.c, zutil.h: ENH:
- Initial import from VTK
-
-2005-01-26 15:45 king
-
- * Source/cmDependsFortran.cxx: ENH: Removed Lexer/Parser prefix
- before _yy symbols. Just cmDependsFortran_yy is enough.
-
-2005-01-26 15:43 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix version number
-
-2005-01-26 15:33 king
-
- * Source/: cmDependsFortran.cxx, cmDependsFortran.h,
- cmDependsFortranLexer.in.l, cmDependsFortranParser.h,
- cmDependsFortranParser.y: ENH: Added Fortran dependency scanner
- implementation.
-
-2005-01-26 14:25 king
-
- * Source/: cmGeneratedFileStream.cxx, cmGeneratedFileStream.h: ENH:
- Added default constructor and Open method.
-
-2005-01-26 11:13 andy
-
- * Source/CTest/: cmCTestTestHandler.cxx, cmCTestTestHandler.h: ENH:
- Add support for shrinking the output of the test
-
-2005-01-26 10:10 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: Add method to populate
- custom integers
-
-2005-01-26 05:59 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-25 16:36 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: COMP: fix warnings
-
-2005-01-25 16:30 hoffman
-
- * Source/cmGlobalXCodeGenerator.cxx: COMP: fix warnings
-
-2005-01-25 16:09 hoffman
-
- * bootstrap: ENH: add xcode stuff to bootstrap
-
-2005-01-25 15:26 hoffman
-
- * Source/: CMakeLists.txt, cmGlobalXCodeGenerator.cxx,
- cmGlobalXCodeGenerator.h, cmXCodeObject.cxx, cmXCodeObject.h,
- cmake.cxx: ENH: add initial non-working XCode stuff
-
-2005-01-25 05:59 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-24 17:35 hoffman
-
- * Source/: cmGlobalXCodeGenerator.cxx, cmGlobalXCodeGenerator.h,
- cmLocalXCodeGenerator.cxx, cmLocalXCodeGenerator.h,
- cmXCodeObject.cxx, cmXCodeObject.h: ENH: initial xcode stuff
-
-2005-01-24 05:53 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-23 05:56 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-22 05:51 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-21 16:25 hoffman
-
- * Source/: cmXCodeObject.cxx, cmXCodeObject.h: ENH: start xcode
- stuff
-
-2005-01-21 12:26 hoffman
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h: ENH: move project map to global
- generator base
-
-2005-01-21 11:22 martink
-
- * Source/cmWhileCommand.cxx: COMP: fix unused var warning
-
-2005-01-21 10:27 hoffman
-
- * bootstrap, Source/CMakeLists.txt, Source/cmBootstrapCommands.cxx,
- Source/cmCommands.cxx, Source/cmCommands.h,
- Source/cmWhileCommand.cxx, Source/cmake.cxx: ENH: split up
- cmCommands into two files
-
-2005-01-21 09:37 martink
-
- * Source/: cmCommands.cxx, cmWhileCommand.cxx, cmWhileCommand.h,
- cmEndWhileCommand.cxx, cmEndWhileCommand.h: ENH: added while
- command
-
-2005-01-21 05:36 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-20 15:26 martink
-
- * Source/cmSetCommand.cxx: COMP: fix unused var warning
-
-2005-01-20 14:38 martink
-
- * Source/: cmSetCommand.cxx, cmSetCommand.h: ENH: now the set
- command can set environment variables
-
-2005-01-20 12:30 hoffman
-
- * Modules/: CMakeCCompiler.cmake.in, CMakeCXXCompiler.cmake.in,
- CMakeDetermineCCompiler.cmake, CMakeFortranCompiler.cmake.in,
- CMakeJavaCompiler.cmake.in, CMakeRCCompiler.cmake.in,
- CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake,
- Platform/Windows-cl.cmake, Platform/Windows-cl.cmake.in: ENH:
- stuff to keep compiler tests from re-running all the time
-
-2005-01-20 12:28 hoffman
-
- * Source/: cmGlobalGenerator.cxx, cmLocalKdevelopGenerator.cxx:
- ENH: add some comments on how this could be moved to global
- generator
-
-2005-01-20 04:38 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-19 12:06 king
-
- * Source/: cmListFileLexer.in.l, cmListFileLexer.c: ENH: Mangled
- lexer symbols to begin in cmListFileLexer_yy instead of just yy
- to avoid conflict with other lexers that may be added.
-
-2005-01-19 07:23 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Removed unquoted version of
- OBJECTS make variable. Quoted seems to work everywhere. BUG:
- Fixed AppendAnyDepend to properly identify executable targets.
- BUG: Used CreateMakeVariable to fix variable name for OBJECTS
- list when target has a . in its name.
-
-2005-01-19 05:19 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-18 18:11 andy
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt: COMP: Add proper
- link directory
-
-2005-01-18 17:29 andy
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt: COMP: Add cmexpat
- to complex
-
-2005-01-18 17:09 king
-
- * Source/: CMakeLists.txt, cmDepends.cxx, cmDepends.h,
- cmDependsC.cxx, cmDependsC.h, cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h, cmake.cxx: ENH: Split dependency
- scanning and checking into separate cmDepends superclass with
- language-specific subclasses such as cmDependsC.
-
-2005-01-18 16:47 andy
-
- * Source/CMakeLists.txt: COMP: Ok, actually link to the library....
-
-2005-01-18 15:54 andy
-
- * Source/cmXMLParser.cxx, Utilities/cmexpat/xmlparse.c: COMP: Try
- to resolve compile errors because of missing includes and wrong
- include path
-
-2005-01-18 14:02 andy
-
- * Source/cmXMLParser.cxx: COMP: Use cmOStringStream not
- ostringstream
-
-2005-01-18 13:41 andy
-
- * Source/: CMakeLists.txt, cmXMLParser.cxx, cmXMLParser.h: ENH: Add
- XML parser
-
-2005-01-18 11:15 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: STYLE: Added TODO
- comment for another missing feature (external object files).
-
-2005-01-18 09:06 andy
-
- * Utilities/Doxygen/doc_makeall.sh.in: ENH: Cleanup
-
-2005-01-18 08:58 andy
-
- * CMakeLists.txt, cmake_uninstall.cmake.in: ENH: Add uninstall.
- This is not really a feature but more of an example on how to do
- it.
-
-2005-01-18 04:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-17 16:29 hoffman
-
- * Source/cmCTest.cxx: BUG: when ctest is looking for cmake look in
- the build directory as well as where ctest is so that purify will
- work
-
-2005-01-17 15:20 hoffman
-
- * Modules/: CMakeCCompiler.cmake.in, CMakeCXXCompiler.cmake.in,
- Platform/Windows-cl.cmake: BUG: fix running of cl in trycompiles
-
-2005-01-17 15:09 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Adding partial
- implementation of provides-requires mode.
-
-2005-01-17 15:09 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Fix for relative
- path conversion when path is a subset of relative path root.
-
-2005-01-17 14:29 hoffman
-
- * Source/: cmWin32ProcessExecution.cxx, cmWin32ProcessExecution.h:
- BUG: make sure handles are always closed even if Wait is not
- called.
-
-2005-01-17 04:41 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-15 04:40 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-13 12:38 hoffman
-
- * ChangeLog.manual: BUG: fix from main tree
-
-2005-01-13 03:58 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-12 13:58 martink
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: now limits warnings
- and error report to 50 each
-
-2005-01-12 13:51 martink
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: now limits warnings
- and error report to 50 each
-
-2005-01-12 10:11 millerjv
-
- * Source/kwsys/Base64.c: BUG: encoding 2 bytes into 4 bytes was
- accessing a 3rd byte from the source
-
-2005-01-12 04:43 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-11 05:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-10 05:06 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-08 05:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-07 11:56 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-05 05:13 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-04 18:24 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Added install target
- implementation. Also added missing include of assert.h.
-
-2005-01-04 17:41 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Added relative path support
- (mostly done). Many paths are written relative even if
- CMAKE_USE_RELATIVE_PATHS is not on just to keep makefiles short.
-
-2005-01-04 16:26 king
-
- * Source/cmLocalUnixMakefileGenerator.h: ENH: Made
- ConfigureOutputPaths virtual to help new generator.
-
-2005-01-04 15:38 hoffman
-
- * ChangeLog.manual, Modules/Platform/Windows-icl.cmake: add intel
- compiler config file
-
-2005-01-04 12:12 hoffman
-
- * ChangeLog.manual, Source/cmSetCommand.cxx: fix for bug 1445
-
-2005-01-04 10:55 andy
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Add a
- delay method
-
-2005-01-04 09:56 king
-
- * Source/cmLocalKdevelopGenerator.cxx: BUG: Applied patch attached
- to bug #1453.
-
-2005-01-04 08:42 martink
-
- * Source/cmSetCommand.cxx: ENH: fixed SET command to accept cache
- values with more than one value
-
-2005-01-04 04:17 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-02 05:04 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2005-01-01 21:02 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-31 05:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-30 05:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-29 05:27 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-28 05:23 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-27 05:22 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-26 05:25 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-25 05:21 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-24 05:16 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-23 05:27 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-22 05:16 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-21 05:14 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-20 05:09 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-19 05:15 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-18 05:11 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-17 05:06 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-16 22:19 hoffman
-
- * Modules/CMakeDetermineSystem.cmake: fix wrong number of arguments
-
-2004-12-16 22:18 hoffman
-
- * Modules/CMakeDetermineSystem.cmake: fix number of arguments
-
-2004-12-16 17:26 hoffman
-
- * ChangeLog.manual, Modules/CMakeDetermineSystem.cmake,
- Modules/Platform/OpenBSD.cmake: ENH: fix for OpenBSD
-
-2004-12-16 05:52 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-15 05:46 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-14 05:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-13 05:03 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-12 05:08 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-11 05:10 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-10 05:13 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-09 16:14 king
-
- * Source/cmSystemTools.cxx: BUG: Fix to avoid relative path with
- ..s all the way to the root.
-
-2004-12-09 15:56 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Support for custom
- command outputs in subdirectories of current build tree location.
-
-2004-12-09 15:23 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: AppendAnyDepend
- must handle non-existing files.
-
-2004-12-09 15:11 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Added post-build rules to
- executables and libraries. Generalized AppendLibDepend method to
- AppendAnyDepend. This takes most of the functionality of
- AppendCustomDepend too, and generalized jump-and-build to
- executables.
-
-2004-12-09 13:52 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Implemented utility
- targets. This involved pulling part of the custom command rule
- implementation out into shared methods.
-
-2004-12-09 05:12 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-08 05:05 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-07 05:19 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-06 12:39 hoffman
-
- * Modules/Platform/: Tru64.cmake, True64.cmake: FIX: fix for bug
- 1325, Tru64 not True64
-
-2004-12-06 12:38 hoffman
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmLocalUnixMakefileGenerator.cxx: BUG: fix for bug 1396, object
- files could not be used as sources any more
-
-2004-12-06 11:10 hoffman
-
- * ChangeLog.manual, Source/cmCTest.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx, Source/cmMakefile.cxx,
- Source/CTest/cmCTestSubmit.cxx, Source/CTest/cmCTestSubmit.h,
- Utilities/Release/cmake_release.sh: merge from main tree
-
-2004-12-06 05:00 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-05 04:22 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-04 04:36 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-03 09:25 martink
-
- * Source/CMakeLists.txt: ENH: minor fix for windows
-
-2004-12-03 09:05 martink
-
- * Source/cmMakefile.cxx: ENH: fix for relative paths
-
-2004-12-03 06:27 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-02 13:14 hoffman
-
- * Source/cmMakefile.cxx: BUG: fix for 1369 before include
- directories need to be always added
-
-2004-12-02 12:33 hoffman
-
- * Source/kwsys/SystemTools.cxx: BUG: fix for bug 1385, /tmp should
- not be used on windows
-
-2004-12-02 06:13 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-12-01 07:28 king
-
- * Source/kwsys/kwsys_ios_sstream.h.in: COMP: Need to choose between
- <new> and <new.h> based on whether standard headers are
- available.
-
-2004-12-01 07:24 king
-
- * Source/kwsys/: kwsys_ios_fstream.h.in, kwsys_ios_iostream.h.in:
- COMP: Disabling old streams warnings when including old headers
- on MSVC.
-
-2004-12-01 06:25 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-30 18:20 king
-
- * Source/kwsys/kwsys_ios_sstream.h.in: BUG: Need to include header
- <new> to use placement new syntax. Really this should be fixed
- by replacing the stream buffer to set a new string instead of
- reconstructing the object, but this will require quite a bit of
- work to do portably.
-
-2004-11-30 06:29 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-29 06:21 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-28 06:16 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-27 06:28 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-26 06:16 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-25 06:19 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-24 09:25 andy
-
- * Source/CTest/: cmCTestSubmit.cxx, cmCTestSubmit.h: ENH: Add
- support for proxy authentication (thanks Jean-Michel)
-
-2004-11-24 05:45 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-23 17:34 hoffman
-
- * Modules/Platform/AIX.cmake: ENH: try and fix aix xlC with gcc
-
-2004-11-23 17:28 hoffman
-
- * Modules/Platform/AIX.cmake: ENH: try and fix aix xlC with gcc
-
-2004-11-23 14:07 hoffman
-
- * Modules/Platform/AIX.cmake: ENH: try to fix aix with native cxx
- and gcc
-
-2004-11-23 10:48 andy
-
- * Source/CTest/cmCTestUpdateHandler.cxx: ENH: Make more things XML
- safe
-
-2004-11-23 05:46 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-22 05:45 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-21 05:44 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-20 05:46 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-19 09:42 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: ENH: Moved custom
- command rule files into special CMakeCustomCommands.dir
- subdirectory.
-
-2004-11-19 09:32 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Unified WriteDependRules,
- WriteBuildRules, WriteCleanRules, and the future
- WriteInstallRules into a single WritePassRules method. Also
- added WriteTargetDependsRule and WriteTargetCleanRule methods to
- unify writing of depend and clean rules for each target.
-
-2004-11-19 05:41 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-18 08:25 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-17 08:33 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-16 08:16 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-15 09:39 martink
-
- * Source/ctest.cxx: COMP: fix warning
-
-2004-11-15 08:22 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-14 08:21 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-13 09:55 martink
-
- * Source/: cmCTest.cxx, ctest.cxx, CTest/cmCTestTestHandler.cxx,
- CTest/cmCTestTestHandler.h: ENH: added -U option to take union of
- -R and -I
-
-2004-11-13 08:15 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-12 05:36 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-11 17:40 andy
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: Another linker error
- on sun
-
-2004-11-11 05:34 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-10 15:39 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: FIX: make sure the
- object file name is correctly mangled for depend information
-
-2004-11-10 13:15 martink
-
- * CMakeLists.txt, CTestCustom.ctest.in: ENH: added custom supp for
- cmake
-
-2004-11-10 10:24 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-09 09:57 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-08 05:46 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-07 05:45 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-06 05:40 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-05 15:09 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Added partial clean target
- support.
-
-2004-11-05 15:03 king
-
- * Source/: cmLocalUnixMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.h: ENH: Moved code that checks
- output path variables to separate ConfigureOutputPaths method.
- Needed to provide access to the same code from a subclass.
-
-2004-11-05 07:39 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Implemented VERBOSE output
- setting.
-
-2004-11-05 05:38 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-04 05:38 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-03 15:43 martink
-
- * Source/kwsys/SystemTools.cxx: ENH: merges from the main tree
-
-2004-11-03 11:02 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Generalized driver targets
- and subdirectory traversal rules. The implementations of all,
- depend, build, clean, install, etc. now follow a common
- framework.
-
-2004-11-03 08:59 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Removed unneeded requires
- rules now that canonical names are available.
-
-2004-11-03 08:46 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Added convenience rules to
- build targets without specifying full paths.
-
-2004-11-03 07:51 king
-
- * Source/: cmExportLibraryDependencies.cxx,
- cmGeneratedFileStream.cxx, cmGeneratedFileStream.h,
- cmGlobalVisualStudio7Generator.cxx, cmLocalGenerator.cxx,
- cmLocalKdevelopGenerator.cxx, cmLocalUnixMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator2.cxx,
- cmVTKMakeInstantiatorCommand.cxx: STYLE: Adjusted signature of
- cmGeneratedFileStream to make copy-if-different more explicity.
-
-2004-11-03 07:27 king
-
- * Source/: cmGlobalVisualStudio7Generator.cxx,
- cmGeneratedFileStream.cxx, cmGeneratedFileStream.h: COMP: Fix new
- cmGeneratedFileStream for MSVC.
-
-2004-11-03 07:23 king
-
- * bootstrap, Source/CMakeLists.txt,
- Source/cmExportLibraryDependencies.cxx,
- Source/cmGeneratedFileStream.cxx, Source/cmGeneratedFileStream.h,
- Source/cmLocalGenerator.cxx, Source/cmLocalKdevelopGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator2.cxx,
- Source/cmVTKMakeInstantiatorCommand.cxx: ENH: Re-implemented
- cmGeneratedFileStream to look like a real stream and replace the
- destination file atomically. This will avoid problems with the
- process being terminated while generating a file.
-
-2004-11-03 05:34 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-02 18:09 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: ENH: Added partial RC
- language dependency scanning (just using C dependencies for now).
-
-2004-11-02 17:38 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Added dependencies between
- libraries.
-
-2004-11-02 17:19 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Removed debugging
- output.
-
-2004-11-02 17:14 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Implemented generation of
- custom command rule files.
-
-2004-11-02 17:11 andy
-
- * Source/kwsys/SystemTools.cxx: COMP: Remove compile warning
-
-2004-11-02 08:32 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: BUG: Fixed subdirectory
- implementation for Borland Make.
-
-2004-11-02 07:36 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Implemented subdirectory
- rules for all target.
-
-2004-11-02 04:49 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-11-01 16:57 hoffman
-
- * Source/kwsys/SystemTools.cxx, Tests/Dependency/CMakeLists.txt,
- Tests/Dependency/1/CMakeLists.txt, Tests/Dependency/1/OneSrc.c:
- BUG: add a test for a single char dir, and fix bug introduced in
- 1.53, but we still can not handle a space as the start of a
- directory name
-
-2004-11-01 04:34 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-10-31 03:40 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-10-30 04:32 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-10-29 18:15 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Added framework for
- subdirectory traversal.
-
-2004-10-29 17:18 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Dependency
- makefile lines must be at least three characters long to hold a
- dependency.
-
-2004-10-29 16:50 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h, cmake.cxx, cmake.h: ENH: Added
- build system integrity check to cmLocalUnixMakefileGenerator2.
- This now uses a special --check-build-system flag to cmake which
- replaces --check-rerun. Integrity of dependencies is also
- checked during generation.
-
-2004-10-29 15:32 hoffman
-
- * Source/cmLocalGenerator.cxx: FIX: fix shared flag
-
-2004-10-29 15:31 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: remove debug print
-
-2004-10-29 14:57 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Fixes for Borland
- Make.
-
-2004-10-29 13:55 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: BUG: Fixes for NMake.
-
-2004-10-29 13:04 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Changed AppendRecursiveMake
- to GetRecursiveMakeCall and implemented jump-and-build on Windows
- and UNIX.
-
-2004-10-29 11:42 hoffman
-
- * CMakeLists.txt, ChangeLog.manual,
- Modules/TestCXXAcceptsFlag.cmake, Source/cmCTest.cxx,
- Source/cmCacheManager.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmSystemTools.cxx, Source/cmSystemTools.h,
- Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in,
- Tests/Complex/Executable/A.cxx,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/A.cxx,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/A.cxx,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/complex.cxx,
- Tests/LoadCommand/LoadedCommand.cxx,
- Tests/LoadCommandOneConfig/LoadedCommand.cxx,
- Utilities/Release/cmake_release.sh: move 2.0.5 to LatestRelease
-
-2004-10-29 10:52 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Cleaned up format of
- generated makefiles. Consolidated rule generation into single
- WriteMakeRule method. Added special targets like rebuild_cache
- and edit_cache.
-
-2004-10-29 04:36 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-10-28 15:40 hoffman
-
- * Source/cmIncludeDirectoryCommand.cxx: ENH: add a check for empty
- include directories
-
-2004-10-28 15:31 hoffman
-
- * CMakeLists.txt, Utilities/Release/cmake_release.sh: Create
- CMake2.0.5 version
-
-2004-10-28 07:46 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: COMP: Fix local shadow
- warnings.
-
-2004-10-28 07:43 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: COMP: Fix for Mac
- specific code.
-
-2004-10-28 04:36 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-10-27 16:00 hoffman
-
- * Source/cmMakefile.cxx: ENH: look in the windows LIB env variable
- for libraries
-
-2004-10-27 16:00 hoffman
-
- * Source/cmGlobalKdevelopGenerator.cxx: DOC: documentation change
-
-2004-10-27 15:58 hoffman
-
- * ChangeLog.manual, Modules/TestCXXAcceptsFlag.cmake,
- Source/cmCacheManager.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx: ENH: merge from main
- tree bug fixes
-
-2004-10-27 12:05 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Do not try to handle
- unimplemented target types yet. Fixes for projects with
- subdirectories.
-
-2004-10-27 11:26 andy
-
- * Source/cmakemain.cxx: BUG: If bootstrap cmake is run with no
- argument produce error
-
-2004-10-27 10:53 hoffman
-
- * Source/: cmLocalGenerator.cxx, cmLocalUnixMakefileGenerator.cxx,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: ENH: put error checking for
- missing linker languages
-
-2004-10-27 10:47 andy
-
- * bootstrap, Source/cmFileCommand.cxx,
- Source/cmFindPackageCommand.cxx, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmake.cxx, Source/cmake.h,
- Source/cmakemain.cxx: PERF: Remove several classes from the
- bootstrap and so making bootstrap smaller and faster
-
-2004-10-27 10:45 andy
-
- * Source/CursesDialog/ccmake.cxx: STYLE: Remove unused code
-
-2004-10-27 10:45 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Added executable
- dependencies on libraries including jump-and-build support.
-
-2004-10-27 10:45 andy
-
- * Modules/TestCXXAcceptsFlag.cmake: BUG: Check for the variable
- first time
-
-2004-10-27 08:49 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Add a space before
- the : only if the target name is one letter long. This works
- around bugs in some shells' tab completion of target names.
-
-2004-10-27 08:47 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Added generation of rules
- for shared libraries and modules.
-
-2004-10-27 08:20 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Added rules to build
- executables. Also began to consolidate flag list construction
- into separate methods.
-
-2004-10-27 04:37 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-10-26 20:13 andy
-
- * Source/cmCacheManager.cxx: BUG: Handle DOS files un unix file
- systems
-
-2004-10-26 17:23 andy
-
- * Modules/TestCXXAcceptsFlag.cmake: BUG: Only test for cxx flags
- the first time around
-
-2004-10-26 16:07 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: ENH: Do not generate
- touch rule for target level dependencies. There are no
- build-time dependencies by default.
-
-2004-10-26 15:03 hoffman
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h,
- kwsys/SystemTools.cxx, kwsys/SystemTools.hxx.in: ENH: move stuff
- from main tree to branch
-
-2004-10-26 14:49 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Added generation of rule to
- build object file.
-
-2004-10-26 14:33 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: handle read only directories
- with configure file destination
-
-2004-10-26 14:12 hoffman
-
- * ChangeLog.manual, Source/cmCTest.cxx: ENH: merge from main tree
-
-2004-10-26 13:00 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: ERR: Missing std:: on
- endl.
-
-2004-10-26 12:55 king
-
- * Source/cmake.cxx: ENH: Added object file dependency scanning to
- cmLocalUnixMakefileGenerator2. This needs a hook in cmake.cxx.
-
-2004-10-26 12:54 king
-
- * bootstrap, Source/CMakeLists.txt: ENH: Added
- cmLocalUnixMakefileGenerator2 to build.
-
-2004-10-26 12:53 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Added object file
- dependency scanning.
-
-2004-10-26 10:24 andy
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: Handle more REMARKS on
- SGI
-
-2004-10-26 10:15 king
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: ENH: Split
- part of GetIncludeFlags method into separate
- GetIncludeDirectories method.
-
-2004-10-26 08:45 andy
-
- * Source/kwsys/SystemTools.hxx.in: COMP: Attempt to fix warnings on
- SGI
-
-2004-10-26 04:40 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-10-25 16:39 hoffman
-
- * Source/: cmLocalKdevelopGenerator.cxx,
- cmLocalKdevelopGenerator.h: ENH: add some more comments
-
-2004-10-25 15:08 hoffman
-
- * Tests/: LoadCommand/CMakeLists.txt,
- LoadCommand/LoadedCommand.cxx, LoadCommand/LoadedCommand.h.in,
- LoadCommandOneConfig/CMakeLists.txt,
- LoadCommandOneConfig/LoadedCommand.cxx,
- LoadCommandOneConfig/LoadedCommand.h.in: ENH: clean up loaded
- command test so you can tell what really failed
-
-2004-10-25 13:40 hoffman
-
- * Source/cmSystemTools.cxx: COMP: remove an unused variable warning
-
-2004-10-25 13:24 hoffman
-
- * ChangeLog.manual, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h, Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/complex.cxx,
- Tests/LoadCommand/LoadedCommand.cxx,
- Tests/LoadCommandOneConfig/LoadedCommand.cxx: ENH: move stuff
- from main tree to fix the runsingle program mess
-
-2004-10-25 13:16 hoffman
-
- * Source/cmSystemTools.cxx, Source/cmSystemTools.h,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/complex.cxx: FIX: go back
- to not trying to handle spaces in the path for run single command
- and comment it so that people know to call the right thing
-
-2004-10-25 12:26 hoffman
-
- * Source/cmLocalKdevelopGenerator.cxx: COMP: remove warnings
-
-2004-10-25 12:15 hoffman
-
- * Tests/: Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: ENH: add test back
- for single char exe
-
-2004-10-25 11:59 hoffman
-
- * Source/cmSystemTools.cxx, Tests/LoadCommand/LoadedCommand.cxx,
- Tests/LoadCommandOneConfig/LoadedCommand.cxx: FIX: fix
- RunSingleCommand to work with spaces in the path, and with an
- already quoted command
-
-2004-10-25 10:04 andy
-
- * Source/CMakeLists.txt: ENH: Allow disabling of long running tests
-
-2004-10-25 04:34 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-10-24 11:38 andy
-
- * Source/cmVersion.cxx: STYLE: Nightly Version update
-
-2004-10-22 21:52 hoffman
-
- * Tests/: Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: remove run program
- test until run single command is fixed
-
-2004-10-22 21:03 hoffman
-
- * Source/cmSystemTools.cxx: undo last check in as it breaks borland
- with spaces some how
-
-2004-10-22 17:51 hoffman
-
- * ChangeLog.manual, Source/cmCTest.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmSystemTools.cxx, Source/kwsys/SystemTools.cxx,
- Tests/Complex/Executable/A.cxx,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/A.cxx,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/A.cxx,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/complex.cxx: fixes from
- main tree
-
-2004-10-22 17:05 hoffman
-
- * Tests/: Complex/Executable/A.cxx,
- ComplexOneConfig/Executable/A.cxx,
- ComplexRelativePaths/Executable/A.cxx: ENH: add missing file
-
-2004-10-22 17:00 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmSystemTools.cxx,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/complex.cxx: FIX: fix the
- problem where a target is a single character and nmake gets
- confused and add a test for it
-
-2004-10-22 16:58 hoffman
-
- * Source/cmTarget.cxx: COMP: remove warnings
-
-2004-10-22 15:45 andy
-
- * Source/CMakeLists.txt: COMP: Remove unnecessary commit
-
-2004-10-22 15:44 andy
-
- * bootstrap, Source/CMakeLists.txt, Source/cmCTest.cxx,
- Source/cmDocumentation.cxx, Source/cmDumpDocumentation.cxx,
- Source/cmVersion.cxx, Source/cmVersion.h, Source/cmake.cxx,
- Source/CTest/cmCTestUpdateHandler.cxx: ENH: Add development
- version support in CMake
-
-2004-10-22 10:19 hoffman
-
- * Source/cmLocalKdevelopGenerator.cxx: COMP: remove warning
-
-2004-10-21 17:29 hoffman
-
- * ChangeLog.manual: add .0.5
-
-2004-10-21 17:11 hoffman
-
- * ChangeLog.manual: add .0.5
-
-2004-10-21 16:07 andy
-
- * Source/CTest/cmCTestTestHandler.cxx: BUG: Fix reporting of path
- and full command when test program was not found
-
-2004-10-21 15:21 hoffman
-
- * Source/: cmLocalGenerator.cxx, cmTarget.cxx: COMP: fix warnings
-
-2004-10-21 14:55 hoffman
-
- * Source/cmLocalGenerator.cxx: COMP: fix warning
-
-2004-10-21 14:34 hoffman
-
- * Modules/CMakeDetermineFortranCompiler.cmake,
- Modules/Platform/Windows-g77.cmake, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.h,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx, Source/cmTarget.cxx,
- Source/cmTarget.h: ENH: add the ability to generate custom
- commands for a language that is not supported by an IDE
-
-2004-10-21 13:34 andy
-
- * Source/CTest/cmCTestBuildHandler.cxx: BUG: Handle remarks on SGI
- properly
-
-2004-10-21 11:58 hoffman
-
- * Source/: cmLocalKdevelopGenerator.cxx,
- cmLocalKdevelopGenerator.h: ENH: better support for kdevelop3
-
-2004-10-20 12:37 andy
-
- * Source/kwsys/CommandLineArguments.cxx: COMP: Remove warning
-
-2004-10-20 08:19 hoffman
-
- * Source/cmCTest.cxx: fix warning on LRB
-
-2004-10-20 08:14 hoffman
-
- * Source/cmCTest.cxx: COMP: remove warning
-
-2004-10-19 15:09 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Modules/CMakeTestForFreeVC.cxx,
- Modules/Platform/Windows-cl.cmake, Source/CMakeLists.txt,
- Source/cmAddExecutableCommand.cxx, Source/cmCTest.cxx,
- Source/cmCTest.h, Source/cmFileCommand.cxx,
- Source/cmForEachCommand.cxx, Source/cmGlob.cxx, Source/cmGlob.h,
- Source/cmGlobalCodeWarriorGenerator.cxx,
- Source/cmGlobalCodeWarriorGenerator.h,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmGlobalVisualStudio6Generator.h,
- Source/cmGlobalVisualStudio71Generator.cxx,
- Source/cmGlobalVisualStudio71Generator.h,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.h,
- Source/cmIncludeExternalMSProjectCommand.cxx,
- Source/cmListFileLexer.c, Source/cmListFileLexer.h,
- Source/cmListFileLexer.in.l,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.cxx,
- Source/cmSystemTools.h, Source/cmTryRunCommand.cxx,
- Source/cmWin32ProcessExecution.cxx,
- Source/cmWin32ProcessExecution.h, Source/cmakemain.cxx,
- Source/kwsys/SystemTools.cxx,
- Tests/StringFileTest/CMakeLists.txt,
- Utilities/Release/cmake_release.sh,
- Utilities/Release/config_IRIX64: ENH: move 2.0.4 to LRB
-
-2004-10-19 14:57 hoffman
-
- * ChangeLog.manual: update change log
-
-2004-10-19 14:56 hoffman
-
- * Source/cmCTest.cxx: merge from main tree, add more warning cases
- to ctest
-
-2004-10-19 14:51 hoffman
-
- * bootstrap: ENH: perfer gmake for bootstrap
-
-2004-10-19 13:25 andy
-
- * Tests/CTestTest/test.cmake.in: ENH: Display version of ctest
- first
-
-2004-10-19 13:25 andy
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: Add regular expression
- for remarks on IRIX
-
-2004-10-19 13:02 hoffman
-
- * Source/cmSystemTools.cxx: BUG: if the paths share nothing then
- just return the remote path with no ..
-
-2004-10-19 12:48 andy
-
- * Source/cmCTest.cxx: BUG: Remove instances of // in the output
-
-2004-10-19 12:38 andy
-
- * Source/cmCTest.cxx: EHN: Even more cleanup
-
-2004-10-19 10:59 andy
-
- * Source/CMakeLists.txt, Tests/CTestTest/test.cmake.in: ERR: Fix
- problems on windows
-
-2004-10-18 18:11 will
-
- * bootstrap: COMP: Fix on sun
-
-2004-10-18 17:24 andy
-
- * Source/CMakeLists.txt: ENH: Remove bogus clean step
-
-2004-10-18 15:37 andy
-
- * Source/CMakeLists.txt: BUG: Ok, this should make the test
- actually do something
-
-2004-10-18 15:05 andy
-
- * Source/CMakeLists.txt: ENH: Do bootstrap test on all unix systems
-
-2004-10-18 13:19 hoffman
-
- * Source/cmSystemTools.cxx: ENH: better comments and variable names
-
-2004-10-18 12:33 andy
-
- * Source/CMakeLists.txt: ENH: Add bootstrap test
-
-2004-10-18 11:48 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: make sure output
- path is used for target with canonical name
-
-2004-10-18 11:34 andy
-
- * bootstrap: ENH: Add check for previous bootstrap in the source
- tree when doing out-of-source build
-
-2004-10-17 22:47 andy
-
- * Source/CTest/: cmCTestCoverageHandler.cxx,
- cmCTestCoverageHandler.h: BUG: Fix output to match the Dart
- output
-
-2004-10-17 22:47 andy
-
- * Source/CTest/cmCTestTestHandler.cxx: ENH: Cleanups and unify
- output
-
-2004-10-17 22:46 andy
-
- * Source/kwsys/CMakeLists.txt: ENH: Specify full path to the
- executable
-
-2004-10-17 22:46 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: Add method to get the
- relative path to source or build
-
-2004-10-17 19:45 andy
-
- * Source/CTest/: cmCTestCoverageHandler.cxx,
- cmCTestCoverageHandler.h: ENH: Update to the new coverage code.
- It may not be perfect yet, but it is a start
-
-2004-10-17 19:02 andy
-
- * Tests/CTestTest/test.cmake.in: ENH: Propagate more things
-
-2004-10-17 18:50 andy
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Add
- method to find file in parent directories if it exists
-
-2004-10-17 18:50 andy
-
- * Tests/CTestTest/test.cmake.in: ENH: Propagate MEMORYCHECK_COMMAND
- and COVERAGE_COMMAND to the CTest test
-
-2004-10-17 18:49 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: Handle coverage errors
-
-2004-10-15 09:24 king
-
- * Source/: cmake.cxx, cmake.h: ENH: Added --check-rerun option to
- allow a runtime check of whether a new generate should really be
- done.
-
-2004-10-15 09:23 king
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Added
- FileTimeCompare method to compare file modification times.
- Currently the resolution is limited to one second.
-
-2004-10-15 08:57 king
-
- * Source/cmLocalUnixMakefileGenerator2.cxx: ENH: Added generation
- of rule to build object file.
-
-2004-10-14 16:50 hoffman
-
- * Source/cmLocalGenerator.cxx: BUG: make sure all returns for
- ConvertToRelativeOutputPath get passed by ConvertToOutputPath
-
-2004-10-14 15:09 hoffman
-
- * Source/cmLocalGenerator.cxx: BUG: now that system tools relative
- path works, clean up the convert to relative output path code
-
-2004-10-14 11:59 hoffman
-
- * Source/cmLocalKdevelopGenerator.cxx: COMP: remove warning
-
-2004-10-14 11:46 hoffman
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: BUG: allow split
- string to know if it is separating a path
-
-2004-10-13 11:37 hoffman
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: BUG: fix and comment
- relative path funciton
-
-2004-10-12 18:29 andy
-
- * Modules/Dart.cmake: ENH: If dart or ctest are not found, use
- ctest. For default drop location etc, support http submit (just
- set DROP_METHOD to http. Only look for tclsh if DART_ROOT is set
-
-2004-10-12 10:57 hoffman
-
- * bootstrap, Source/CMakeLists.txt: allow kdevelop for cygwin
-
-2004-10-12 10:22 hoffman
-
- * Source/cmLocalKdevelopGenerator.cxx: BUG: remove bad headers
-
-2004-10-12 09:50 hoffman
-
- * bootstrap, Source/cmake.cxx: BUG: do not build kdevlop stuff when
- bootstrapping
-
-2004-10-11 16:35 andy
-
- * Source/cmLocalKdevelopGenerator.cxx: ENH: Support not writing
- files to the source tree. Generate single project file for whole
- project, some other little cleanups
-
-2004-10-11 15:25 andy
-
- * Source/cmLocalKdevelopGenerator.cxx: BUG: Fix generated XML
-
-2004-10-11 14:47 andy
-
- * Source/CMakeLists.txt: STYLE: Remove anoying message
-
-2004-10-11 13:57 andy
-
- * Source/cmCTest.cxx: BUG: On Windows, remove extra CR characters.
- Hopefully this will result in not duplicated new-lines
-
-2004-10-11 11:57 hoffman
-
- * Source/kwsys/SystemTools.cxx: BUG: fix split program from args to
- not get stuck in an infinite loop in some cases
-
-2004-10-11 11:55 hoffman
-
- * Modules/CMakeTestCXXCompiler.cmake: ENH: make sure the c++
- compiler is a c++ compiler
-
-2004-10-11 11:47 hoffman
-
- * bootstrap: ENH: add kdev to bootstrap
-
-2004-10-11 11:32 hoffman
-
- * Source/: CMakeLists.txt, cmGlobalKdevelopGenerator.cxx,
- cmGlobalKdevelopGenerator.h, cmLocalKdevelopGenerator.cxx,
- cmLocalKdevelopGenerator.h, cmake.cxx: NEW: add kdevelop patch
- from Alexander Neundorf
-
-2004-10-11 08:02 king
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ERR: Replaced
- std::string with kwsys_stl::string for portability.
-
-2004-10-10 12:14 andy
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Add
- method to retrieve parent directory and for checking if directory
- is a subdirectory of another directory
-
-2004-10-06 12:41 hoffman
-
- * ChangeLog.manual, Source/cmAddExecutableCommand.cxx: FIX: merge
- from main tree mac bundle fix
-
-2004-10-06 12:25 hoffman
-
- * ChangeLog.manual, Source/cmCTest.cxx, Source/cmCTest.h: ENH:
- merge from main tree fix for build overview page
-
-2004-10-05 16:16 andy
-
- * Source/CMakeLists.txt: ERR: Too much commits
-
-2004-10-05 16:14 andy
-
- * Source/: CMakeLists.txt, cmCTest.cxx, CTest/CMakeLists.txt,
- CTest/cmCTestSubmit.cxx: PERF: Several cleanups, and remove need
- for Curl directory to be in include path
-
-2004-10-05 11:37 hoffman
-
- * Source/cmake.cxx: FIX: correctly handle if path table can not
- open
-
-2004-10-05 11:29 hoffman
-
- * bootstrap: ENH: pick native compilers first, and aCC before CC
-
-2004-10-05 10:59 hoffman
-
- * Source/kwsys/SystemTools.cxx: BUG: fix realpath problem and unix
- slashes
-
-2004-10-05 10:13 andy
-
- * Source/CTest/cmCTestSubmit.cxx: ERR: Fix TRUE build problem and
- replace error couts with cerrs
-
-2004-10-05 10:00 andy
-
- * Source/cmCTest.cxx: ERR: Fix Windows build
-
-2004-10-05 09:25 martink
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: COMP: fix
- some compile issues with insert
-
-2004-10-05 09:01 martink
-
- * Source/cmake.cxx: COMP: fix bad include file
-
-2004-10-05 08:49 andy
-
- * bootstrap: ERR: Fix bootstrap
-
-2004-10-05 08:33 andy
-
- * Modules/: CheckTypeSize.c.in, CheckTypeSize.cmake,
- CheckTypeSize.c: ENH: Add option of adding random include files
- before doing CheckTypeSize
-
-2004-10-05 08:32 andy
-
- * Modules/CheckIncludeFiles.cmake: ENH: When test fails, write out
- the output
-
-2004-10-04 16:15 king
-
- * Source/: cmLocalUnixMakefileGenerator2.cxx,
- cmLocalUnixMakefileGenerator2.h: ENH: Started new makefile
- generator implementation. It will temporarily be called
- cmLocalUnixMakefileGenerator2 until it is ready to replace the
- original completely.
-
-2004-10-04 12:31 martink
-
- * CMake.rtf, Source/cmake.cxx, Source/cmake.h,
- Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in:
- ENH: Mathieus support for path conversions
-
-2004-10-04 12:02 andy
-
- * Tests/CTestTest/test.cmake.in: BUG: Use kwsys from the source
- tree
-
-2004-10-04 08:06 andy
-
- * Tests/CTestTest/test.cmake.in: ENH: Better sorting of results
-
-2004-10-03 07:27 andy
-
- * Tests/CTestTest/test.cmake.in: BUG: Fix problem with spaces in
- the path
-
-2004-10-03 07:14 andy
-
- * Source/ctest.cxx: BUG: Attempt to remove memory leak
-
-2004-10-01 13:23 andy
-
- * Source/CTest/cmCTestBuildHandler.cxx: BUG: Add regular expression
- to vector
-
-2004-10-01 13:10 andy
-
- * Tests/CTestTest/test.cmake.in: ENH: Use existing CTest and cmake
-
-2004-10-01 12:21 andy
-
- * Source/: cmCTest.cxx, cmCTest.h, CTest/cmCTestScriptHandler.cxx,
- CTest/cmCTestScriptHandler.h: ENH: Add CTEST_EXECUTABLE_NAME to
- CTest scripting. This way you do not have to specify ctest
- executable in CTEST_COMMAND, but just a variable
-
-2004-10-01 11:36 king
-
- * Source/kwsys/testProcess.c: ERR: Added missing include of
- string.h
-
-2004-10-01 11:13 andy
-
- * Tests/CTestTest/test.cmake.in: ENH: Let us recognize it on the
- dashboard
-
-2004-09-30 18:45 andy
-
- * Source/CMakeLists.txt: ENH: Cleanup CTest test
-
-2004-09-30 18:45 andy
-
- * Tests/CTestTest/test.cmake.in: ENH: Do kwsys instead of CMake
-
-2004-09-30 18:06 andy
-
- * Source/CTest/: cmCTestBuildHandler.cxx, cmCTestBuildHandler.h:
- ERR: Fix for non-gcc/icc compilers
-
-2004-09-30 17:42 king
-
- * Source/kwsys/testProcess.c: ENH: Added optional display of output
- for tests. Avoid printing alot of output for test 6.
-
-2004-09-30 17:27 andy
-
- * Source/CTest/cmCTestBuildHandler.h: ERR: Fix error
-
-2004-09-30 16:24 andy
-
- * bootstrap: BUG: Check if the compiler is gnu. If it is, do not do
- special platform tests. Fixes Bug #1215 - bootstrap uses native
- flags with gnu compiler on OSF
-
-2004-09-30 16:20 andy
-
- * Source/CTest/: cmCTestBuildHandler.cxx, cmCTestBuildHandler.h:
- ENH: Add support for SourceFile and LineNumber
-
-2004-09-29 16:07 hoffman
-
- * Source/: cmCTest.h, cmCacheManager.cxx, cmCacheManager.h,
- cmDynamicLoader.cxx, cmGlobalGenerator.cxx,
- cmLoadCacheCommand.cxx, cmLocalUnixMakefileGenerator.cxx,
- cmMakefile.cxx, cmTarget.cxx, cmakewizard.cxx: ENH: shorten the
- symbols a bit and remove maps of std::string for map of
- cmStdString
-
-2004-09-29 14:14 andy
-
- * Source/CTest/: cmCTestTestHandler.cxx, cmCTestTestHandler.h: BUG:
- Remove maximum size of test output
-
-2004-09-29 13:21 andy
-
- * Source/kwsys/SystemTools.hxx.in: ERR: Fix Windows build
-
-2004-09-29 12:20 andy
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h,
- kwsys/SystemTools.cxx, kwsys/SystemTools.hxx.in: ENH: Move
- permissions code to kwsys so that copyfile can use it. Fixes Bug
- #1133 - cmake -E copy file dir sets the wrong permissions on the
- destination directory
-
-2004-09-29 11:52 andy
-
- * Source/CTest/cmCTestScriptHandler.cxx: BUG: If extra update
- failes, continue with dashboard. Closes Bug #894 - Fatal CVS
- update error kills test, and is not reported
-
-2004-09-29 11:18 andy
-
- * Source/kwsys/SystemTools.cxx: ENH: When copy file, if the output
- file exits, delete it first
-
-2004-09-29 08:58 andy
-
- * Source/kwsys/CMakeLists.txt: ENH: Allow CMake to use
- CommandLineArguments without warning
-
-2004-09-29 08:34 andy
-
- * Source/kwsys/CommandLineArguments.hxx.in: ENH: Add lots of
- comments
-
-2004-09-29 07:56 andy
-
- * Source/kwsys/: CommandLineArguments.cxx,
- CommandLineArguments.hxx.in: ENH: Add access to last argument
- parsed
-
-2004-09-28 17:51 andy
-
- * CMakeLists.txt: ENH: Enable Command Line Arguments
-
-2004-09-28 17:51 andy
-
- * Source/CTest/: cmCTestScriptHandler.cxx, cmCTestScriptHandler.h:
- ENH: Move all extracting of variables to ExtractVariables. This
- way it is easy to know what variables are used
-
-2004-09-28 11:34 andy
-
- * Source/kwsys/: CommandLineArguments.cxx,
- CommandLineArguments.hxx.in: ENH: Add accessor for Argv0
-
-2004-09-28 09:00 andy
-
- * Source/CTest/: cmCTestScriptHandler.h, cmCTestScriptHandler.cxx:
- ENH: Add some documentation
-
-2004-09-27 16:33 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx: BUG: make sure release
- flags are replaced
-
-2004-09-27 15:21 hoffman
-
- * Source/CMakeLists.txt: ENH: allow for a different jni.h to enable
- java testing
-
-2004-09-27 15:15 hoffman
-
- * Source/CMakeLists.txt: ENH: allow for a different jni.h to enable
- java testing
-
-2004-09-27 15:11 hoffman
-
- * Source/CMakeLists.txt: space in path problem
-
-2004-09-27 14:39 hoffman
-
- * Source/CMakeLists.txt: ENH: use jni.h to determine java version
-
-2004-09-27 14:35 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, Source/cmCTest.cxx,
- Utilities/Release/cmake_release.sh: merge from main tree and
- change version to 2.0.4
-
-2004-09-27 14:21 hoffman
-
- * Source/CMakeLists.txt: ENH: use jni.h to determine java version
-
-2004-09-27 13:36 andy
-
- * Source/cmCTest.cxx: BUG: If notes file is missing, create empty
- notes file with error message
-
-2004-09-27 13:03 hoffman
-
- * Tests/Fortran/CMakeLists.txt: clean up output of test and force
- verbose makefiles
-
-2004-09-27 11:36 hoffman
-
- * Modules/CMakeJavaCompiler.cmake.in,
- Modules/CMakeJavaInformation.cmake,
- Source/cmLocalUnixMakefileGenerator.cxx: BUG: make sure java jar
- files are not libfoo.jar but are just foo.jar
-
-2004-09-27 11:03 hoffman
-
- * Source/CMakeLists.txt: ENH: better message for skipping java
-
-2004-09-27 09:49 andy
-
- * Modules/Documentation.cmake: ENH: Replace INCLUDE(Find...) with
- FIND_PACKAGE(...)
-
-2004-09-24 16:54 hoffman
-
- * Source/CMakeLists.txt: ENH: use correct args for test of java
-
-2004-09-24 16:34 hoffman
-
- * Tests/Java/: CMakeCheckJavaPath.java, CMakeLists.txt: try and get
- this java test to work
-
-2004-09-24 16:34 hoffman
-
- * Source/CMakeLists.txt: ENH: only use newer java for testing
-
-2004-09-24 15:40 hoffman
-
- * Tests/Java/: CMakeCheckJavaPath.java, CMakeLists.txt: ENH: add
- some java code to try and find the system path
-
-2004-09-24 14:37 hoffman
-
- * Modules/: CMakeCXXInformation.cmake,
- CMakeFortranInformation.cmake,
- CMakeSystemSpecificInformation.cmake: BUG: LINK_FLAGS are now all
- LINK_(LANG)_FLAGS
-
-2004-09-24 11:35 martink
-
- * Source/cmLocalVisualStudio6Generator.cxx: BUG: fix crash with vs6
-
-2004-09-24 11:34 martink
-
- * Source/CMakeLists.txt: ENH: check for all parts of java
-
-2004-09-24 11:05 hoffman
-
- * Tests/Java/CMakeLists.txt: ENH: remove classpath so that this
- test passes with older java compilers that clober the system
- class path with the -classpath option
-
-2004-09-24 10:07 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: replace all enabled
- languages in rule vars
-
-2004-09-24 09:34 hoffman
-
- * Source/cmGlobalGenerator.cxx: ENH: change ignore function so that
- it first checks to see if the extension has a language
-
-2004-09-24 09:11 hoffman
-
- * Modules/Platform/Darwin.cmake: ENH: use c++ with c++ and c flags
- with c
-
-2004-09-24 08:39 hoffman
-
- * Source/: cmLocalUnixMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.h: ENH: correctly ignore files
-
-2004-09-23 17:49 hoffman
-
- * Source/CMakeLists.txt: temporary fix to try and get a clean
- dashboard
-
-2004-09-23 15:02 andy
-
- * Source/kwsys/CommandLineArguments.cxx: ERR: Fix memory problem
-
-2004-09-23 11:53 andy
-
- * Source/kwsys/CommandLineArguments.cxx: STYLE: Only allocate as
- much space as needed
-
-2004-09-23 11:45 andy
-
- * Source/kwsys/CommandLineArguments.cxx: ENH: Make
- GetRemainingArguments actually work
-
-2004-09-23 11:44 hoffman
-
- * Source/: cmLocalUnixMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.h: ENH: only replace the language
- being used in expand rule variables
-
-2004-09-23 09:11 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: STYLE: remove warning
-
-2004-09-23 09:08 hoffman
-
- * Source/cmTryCompileCommand.cxx: remove warning
-
-2004-09-23 08:51 hoffman
-
- * Modules/CMakeRCInformation.cmake, Source/cmGlobalGenerator.cxx:
- ENH: fix problems with .def and RC files
-
-2004-09-23 08:20 hoffman
-
- * CMakeLists.txt: ENH: make sure cmake has 2.0
-
-2004-09-23 07:53 andy
-
- * bootstrap: ENH: Attempt to detect a non-parallel make
-
-2004-09-22 17:50 hoffman
-
- * Source/cmTarget.cxx: BUG: fix perfered linker language code
-
-2004-09-22 17:41 hoffman
-
- * Tests/Java/CMakeLists.txt: use verbose makefiles
-
-2004-09-22 16:51 hoffman
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: make it verbose
-
-2004-09-22 16:44 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx: fix compilation
-
-2004-09-22 15:14 hoffman
-
- * Source/cmProjectCommand.cxx: remove warnings
-
-2004-09-22 14:52 hoffman
-
- * Modules/CMakeJavaInformation.cmake: BUG: let the generator quote
- the path
-
-2004-09-22 14:42 hoffman
-
- * Modules/CMakeCCompiler.cmake.in, Modules/CMakeCInformation.cmake,
- Modules/CMakeCXXCompiler.cmake.in,
- Modules/CMakeCXXInformation.cmake,
- Modules/CMakeCommonLanguageInclude.cmake,
- Modules/CMakeDetermineJavaCompiler.cmake,
- Modules/CMakeDetermineRCCompiler.cmake,
- Modules/CMakeFortranInformation.cmake,
- Modules/CMakeGenericSystem.cmake,
- Modules/CMakeJavaCompiler.cmake.in,
- Modules/CMakeJavaInformation.cmake,
- Modules/CMakeRCCompiler.cmake.in,
- Modules/CMakeRCInformation.cmake,
- Modules/CMakeSystemSpecificInformation.cmake,
- Modules/CMakeTestJavaCompiler.cmake,
- Modules/CMakeTestRCCompiler.cmake, Modules/Platform/AIX.cmake,
- Modules/Platform/FreeBSD.cmake, Modules/Platform/HP-UX.cmake,
- Modules/Platform/IRIX.cmake, Modules/Platform/IRIX64.cmake,
- Modules/Platform/Linux-como.cmake, Modules/Platform/Linux.cmake,
- Modules/Platform/MP-RAS.cmake, Modules/Platform/NetBSD.cmake,
- Modules/Platform/OSF1.cmake, Modules/Platform/RISCos.cmake,
- Modules/Platform/SunOS.cmake, Modules/Platform/ULTRIX.cmake,
- Modules/Platform/UNIX_SV.cmake,
- Modules/Platform/Windows-cl.cmake,
- Modules/Platform/Windows-gcc.cmake, Source/CMakeLists.txt,
- Source/cmCommands.cxx, Source/cmEnableLanguageCommand.cxx,
- Source/cmEnableLanguageCommand.h, Source/cmGlobalGenerator.cxx,
- Source/cmGlobalGenerator.h, Source/cmInstallFilesCommand.cxx,
- Source/cmInstallProgramsCommand.cxx, Source/cmLocalGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.h,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.cxx,
- Source/cmProjectCommand.cxx, Source/cmTarget.cxx,
- Source/cmTarget.h, Source/cmTryCompileCommand.cxx,
- Source/cmTryRunCommand.cxx, Tests/Fortran/CMakeLists.txt,
- Tests/Java/A.java, Tests/Java/CMakeLists.txt,
- Tests/Java/HelloWorld.java: ENH: major changes to support
- addition of languages from cmake modules directory.
-
-2004-09-22 10:06 hoffman
-
- * Source/CMakeLists.txt: ENH: only try to use fortran if the
- generator is make based
-
-2004-09-22 08:50 hoffman
-
- * Modules/CMakeFortranCompiler.cmake.in: BUG: fix GNU check
- variable and add new variables used by enable language
-
-2004-09-21 12:51 hoffman
-
- * Source/cmListFileLexer.h: merge from main tree
-
-2004-09-21 12:47 hoffman
-
- * ChangeLog.manual, Source/cmListFileLexer.c,
- Source/cmListFileLexer.in.l, Tests/StringFileTest/CMakeLists.txt:
- merge from main tree
-
-2004-09-20 14:39 hoffman
-
- * Modules/FindJava.cmake: ENH: look for java in more places
-
-2004-09-20 13:47 hoffman
-
- * Source/: cmGlobalGenerator.cxx,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx: BUG: branch only fix for
- VSExternalInclude
-
-2004-09-20 08:51 king
-
- * Source/cmListFileLexer.c, Source/cmListFileLexer.in.l,
- Tests/StringFileTest/CMakeLists.txt: BUG#1179: Fix for syntax in
- unquoted arguments.
-
-2004-09-17 16:46 hoffman
-
- * ChangeLog.manual, Source/CMakeLists.txt,
- Source/cmForEachCommand.cxx, Source/cmGlob.cxx, Source/cmGlob.h,
- Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmGlobalVisualStudio71Generator.cxx,
- Source/cmGlobalVisualStudio71Generator.h,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmIncludeExternalMSProjectCommand.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmWin32ProcessExecution.cxx,
- Source/cmWin32ProcessExecution.h, Source/cmakemain.cxx,
- Source/kwsys/SystemTools.cxx,
- Tests/VSExternalInclude/CMakeLists.txt,
- Tests/VSExternalInclude/main.cpp,
- Tests/VSExternalInclude/Lib1/CMakeLists.txt,
- Tests/VSExternalInclude/Lib1/lib1.cpp,
- Tests/VSExternalInclude/Lib1/lib1.h,
- Tests/VSExternalInclude/Lib2/CMakeLists.txt,
- Tests/VSExternalInclude/Lib2/lib2.cpp,
- Tests/VSExternalInclude/Lib2/lib2.h: merge from main tree
-
-2004-09-17 16:00 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx: merge from main tree
- bug 1041
-
-2004-09-17 15:57 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx: BUG: fix for bug 1041,
- _MBCS sometimes added for UNIICODE which is bad
-
-2004-09-17 09:14 hoffman
-
- * Modules/CMakeJavaCompiler.cmake.in: BUG: commit bug 1123
-
-2004-09-17 09:01 hoffman
-
- * Source/cmProjectCommand.h: BUG: 1163 fix documentation
-
-2004-09-16 17:16 hoffman
-
- * Source/cmFileCommand.cxx: merge from main tree fix bug 1122
-
-2004-09-16 17:13 andy
-
- * Source/CTest/cmCTestBuildHandler.cxx: ENH: Attempt to handle
- Intel's remarks. Close Bug #1156 - Better support for icc
- 'remark'
-
-2004-09-16 12:39 andy
-
- * Source/kwsys/SystemTools.cxx: ENH: Add missing include
-
-2004-09-16 10:58 andy
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Add
- method to retrieve the terminal width
-
-2004-09-16 10:49 andy
-
- * Source/kwsys/CommandLineArguments.cxx: ENH: a bit more cleanup.
- The help should really be replaced by something like
- cmDocumentation
-
-2004-09-16 10:48 martink
-
- * Source/cmGlobalVisualStudio6Generator.cxx,
- Tests/VSExternalInclude/CMakeLists.txt: BUG: fix VSExternal for
- visual studio 6
-
-2004-09-16 10:27 andy
-
- * Source/kwsys/: CommandLineArguments.cxx,
- CommandLineArguments.hxx.in: ENH: Condense help string, add
- support for setting line length and make it work
-
-2004-09-15 15:15 hoffman
-
- * Source/: cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio71Generator.h,
- cmGlobalVisualStudio7Generator.cxx: BUG: fix external project
- command for VS 7 and 71
-
-2004-09-15 14:08 andy
-
- * Source/: cmGlob.cxx, cmGlob.h: ENH: Remove double slash
-
-2004-09-15 13:33 andy
-
- * Source/cmGlob.cxx: BUG: Attempt to fix bug on Windows (and apple)
- where files returned are all lowercase
-
-2004-09-15 13:31 andy
-
- * Source/cmForEachCommand.cxx: BUG: Propagate file name and line
- number inside FOREACH. Fixes Bug #1169 - Erro messages inside
- FOREACH have bad filename and line number
-
-2004-09-15 13:03 hoffman
-
- * Source/cmGlobalVisualStudio7Generator.cxx: ENH: fix for vs 70
- generator
-
-2004-09-15 12:07 hoffman
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx,
- cmIncludeExternalMSProjectCommand.cxx,
- cmLocalVisualStudio7Generator.cxx: ENH: clean up of
- INCLUDE_EXTERNAL_MSPROJECT contributed by Clinton Stimpson
-
-2004-09-15 11:31 hoffman
-
- * Source/: cmGlobalGenerator.cxx,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx: BUG: make sure env CC and CXX
- are not set for VS IDE builds
-
-2004-09-15 10:35 martink
-
- * Tests/VSExternalInclude/CMakeLists.txt: ENH: produce better
- output
-
-2004-09-15 10:32 martink
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake,
- CMakeDetermineFortranCompiler.cmake: ENH: do not check for gnu
- for visual studio
-
-2004-09-15 09:22 andy
-
- * Source/kwsys/: CommandLineArguments.cxx,
- CommandLineArguments.hxx.in: ENH: Move callback structure out of
- the public interface. Also block the warning on Visual Studio
- Debug
-
-2004-09-14 16:34 hoffman
-
- * Tests/VSExternalInclude/: CMakeLists.txt: ENH: add a test for
- external projects
-
-2004-09-14 16:01 hoffman
-
- * Source/CMakeLists.txt, Tests/VSExternalInclude/CMakeLists.txt,
- Tests/VSExternalInclude/main.cpp,
- Tests/VSExternalInclude/Lib1/CMakeLists.txt,
- Tests/VSExternalInclude/Lib1/lib1.cpp,
- Tests/VSExternalInclude/Lib1/lib1.h,
- Tests/VSExternalInclude/Lib2/CMakeLists.txt,
- Tests/VSExternalInclude/Lib2/lib2.cpp,
- Tests/VSExternalInclude/Lib2/lib2.h: ENH: add a test for external
- projects
-
-2004-09-14 14:05 hoffman
-
- * Source/: cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx,
- cmIncludeExternalMSProjectCommand.cxx: bug fixes for external
- projects
-
-2004-09-14 11:48 martink
-
- * Source/kwsys/: CommandLineArguments.cxx,
- CommandLineArguments.hxx.in: ERR: Fix borland build
-
-2004-09-14 11:39 andy
-
- * Source/kwsys/CommandLineArguments.cxx: ERR: Add missing include
-
-2004-09-14 10:34 andy
-
- * Source/kwsys/: CommandLineArguments.cxx,
- CommandLineArguments.hxx.in: ENH: Use const correctness for
- arguments
-
-2004-09-14 09:19 hoffman
-
- * Source/: cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx: BUG: fix include external
- project bug
-
-2004-09-13 19:06 andy
-
- * Source/kwsys/: CommandLineArguments.cxx,
- testCommandLineArguments.cxx: ERR: More missing ios and includes
-
-2004-09-13 18:57 andy
-
- * Source/kwsys/CommandLineArguments.cxx: ERR: Fix IOS namespace
-
-2004-09-13 16:15 andy
-
- * Source/kwsys/: CMakeLists.txt, CommandLineArguments.cxx,
- CommandLineArguments.hxx.in, testCommandLineArguments.cxx: ENH:
- Move command line argument parsing code to kwsys
-
-2004-09-10 14:40 hoffman
-
- * Source/: cmCTest.cxx, cmakemain.cxx: ENH: fix warning correctly
-
-2004-09-10 11:19 andy
-
- * CMakeLists.txt: ENH: Add warning messages if curses library is
- not found
-
-2004-09-10 11:15 andy
-
- * Modules/FindQt.cmake: ENH: Use FIND_PACKAGE instead of
- INCLUDE(Find...
-
-2004-09-10 08:42 martink
-
- * Source/cmCTest.cxx: fix dash8 warning
-
-2004-09-10 08:30 martink
-
- * Source/CTest/cmCTestTestHandler.h: fix HPUX bugs
-
-2004-09-09 16:05 hoffman
-
- * Modules/Platform/Linux-ifort.cmake: add ifort support
-
-2004-09-09 12:58 hoffman
-
- * Source/: cmCTest.cxx, cmakemain.cxx: WAR: remove a warning on i64
-
-2004-09-09 11:50 hoffman
-
- * Modules/Platform/HP-UX.cmake: try to fix fortran on hp
-
-2004-09-09 10:52 martink
-
- * Source/CTest/cmCTestTestHandler.cxx: missing include
-
-2004-09-09 09:31 martink
-
- * Source/CTest/cmCTestCoverageHandler.cxx: missing include
-
-2004-09-09 08:41 martink
-
- * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h,
- CTest/cmCTestCoverageHandler.cxx, CTest/cmCTestCoverageHandler.h,
- CTest/cmCTestTestHandler.cxx, CTest/cmCTestTestHandler.h,
- CTest/cmCTestUpdateHandler.cxx: more cleanup of ctest
-
-2004-09-08 17:53 hoffman
-
- * Tests/Fortran/CMakeLists.txt: ENH: add more output for fortran so
- I can figure out what is going on with other fortran compilers
-
-2004-09-08 10:41 hoffman
-
- * Source/: cmWin32ProcessExecution.cxx, cmWin32ProcessExecution.h:
- BUG: don't close the pipes too early
-
-2004-09-07 16:55 hoffman
-
- * Source/: cmCacheManager.cxx, cmDumpDocumentation.cxx,
- cmEnableTestingCommand.cxx, cmExportLibraryDependencies.cxx,
- cmGlobalCodeWarriorGenerator.cxx,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx,
- cmLocalUnixMakefileGenerator.cxx,
- cmLocalVisualStudio6Generator.cxx, cmMakefile.cxx,
- cmTryCompileCommand.cxx, cmUseMangledMesaCommand.cxx,
- cmVTKWrapPythonCommand.cxx, cmVTKWrapTclCommand.cxx: ENH: add
- better error reporting for file open failures
-
-2004-09-07 16:03 hoffman
-
- * Source/: cmWin32ProcessExecution.cxx, kwsys/SystemTools.cxx: Fix
- leaked file and registry descriptors
-
-2004-09-07 12:51 martink
-
- * Source/: cmCTest.h, cmCTest.cxx: duh errors
-
-2004-09-07 11:45 martink
-
- * Source/: cmCTest.cxx, cmCTest.h: more warnings
-
-2004-09-07 11:28 martink
-
- * Source/CTest/cmCTestScriptHandler.cxx: more warnings
-
-2004-09-07 10:46 martink
-
- * Source/cmCTest.cxx: more cleanup
-
-2004-09-07 10:37 martink
-
- * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h,
- CTest/cmCTestBuildHandler.cxx, CTest/cmCTestBuildHandler.h: more
- cleanup
-
-2004-09-07 09:17 martink
-
- * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h,
- CTest/cmCTestConfigureHandler.cxx,
- CTest/cmCTestConfigureHandler.h, CTest/cmCTestScriptHandler.cxx,
- CTest/cmCTestScriptHandler.h, CTest/cmCTestUpdateHandler.cxx,
- CTest/cmCTestUpdateHandler.h: some bug fixes for my recent
- checkins and some more cleanup
-
-2004-09-06 14:43 martink
-
- * Source/CTest/cmCTestScriptHandler.cxx: another platform fix
-
-2004-09-06 14:17 martink
-
- * Source/CTest/cmCTestScriptHandler.h: another platform fix
-
-2004-09-06 13:54 martink
-
- * Source/cmCTest.cxx: jesus
-
-2004-09-06 13:37 martink
-
- * Source/CMakeLists.txt: oops
-
-2004-09-06 12:49 martink
-
- * Source/kwsys/SystemTools.cxx: fix warning
-
-2004-09-06 12:46 martink
-
- * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h: starting cleanup
- of ctest
-
-2004-09-06 12:46 martink
-
- * Source/cmGlobalGenerator.cxx: warning fix
-
-2004-09-06 12:45 martink
-
- * Source/CTest/: cmCTestScriptHandler.cxx, cmCTestScriptHandler.h:
- broke out part of test scripting into seperate class
-
-2004-09-03 15:47 hoffman
-
- * ChangeLog.manual, Modules/CMakeTestForFreeVC.cxx,
- Modules/Platform/Windows-cl.cmake: merge from main tree fix for
- free vc tools
-
-2004-09-03 15:19 hoffman
-
- * Modules/: CMakeTestForFreeVC.cxx, Platform/Windows-cl.cmake: ENH
- better test for free VC tools
-
-2004-09-03 13:49 hoffman
-
- * Source/cmGlobalCodeWarriorGenerator.cxx: remove warning
-
-2004-09-03 13:48 hoffman
-
- * Source/cmGlobalCodeWarriorGenerator.cxx: fix for darwin
-
-2004-09-03 13:24 hoffman
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmLocalUnixMakefileGenerator.cxx: ENH: remove warnings
-
-2004-09-03 12:03 hoffman
-
- * Modules/CMakeCCompiler.cmake.in,
- Modules/CMakeCXXCompiler.cmake.in,
- Modules/CMakeFortranCompiler.cmake.in,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator.cxx, Source/cmMakefile.cxx:
- ENH: define language extensions in cmake files and not hard
- coded, also fix trycompile problem
-
-2004-09-03 12:01 hoffman
-
- * Modules/Platform/Windows-cl.cmake: ENH: check for ms free command
- line tools
-
-2004-08-31 18:51 king
-
- * Source/cmListFileCache.cxx: BUG: Fixed line number of end of file
- error message.
-
-2004-08-31 18:39 king
-
- * Source/: cmListFileCache.cxx, cmListFileLexer.c,
- cmListFileLexer.h, cmListFileLexer.in.l: BUG#1049: Added error
- message when file ends in an unterminated string.
-
-2004-08-31 10:41 king
-
- * Source/cmFileCommand.cxx: BUG: Fix crash when CMAKE_DEBUG_POSTFIX
- is not set.
-
-2004-08-31 10:20 andy
-
- * DartConfig.cmake: ENH: Cleanups
-
-2004-08-31 08:25 king
-
- * Source/kwsys/kwsys_ios_iosfwd.h.in: ERR: Removed inclusion of
- fstream header. This file is meant as a compatibility header for
- iosfwd and therefore should not include any other header.
- Whatever was fixed by adding the include of fstream here should
- be fixed by other means.
-
-2004-08-30 15:15 hoffman
-
- * ChangeLog.manual, Source/cmCTest.cxx: merge fixes from main tree
-
-2004-08-30 14:07 hoffman
-
- * ChangeLog.manual, Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.cxx, Source/cmMakefile.cxx:
- fix RUN_TESTS and generated header files merge from main tree
-
-2004-08-30 14:01 hoffman
-
- * ChangeLog.manual, Modules/Platform/Windows-cl.cmake,
- Modules/Platform/Windows-gcc.cmake, Source/cmSystemTools.h,
- Utilities/Release/cmake_release.sh: merge from main tree
-
-2004-08-30 13:50 hoffman
-
- * Source/: cmSystemTools.h, kwsys/SystemTools.cxx: BUG: fixes for
- mingw and CMakesetup with spaces in the source directory
-
-2004-08-30 12:14 hoffman
-
- * Modules/Platform/Windows-gcc.cmake: Make sure cmake uses
- consistent module prefixes
-
-2004-08-27 09:55 hoffman
-
- * Source/cmMakefile.h: ENH: remove warning
-
-2004-08-27 08:41 hoffman
-
- * Source/: cmGlobalBorlandMakefileGenerator.cxx,
- cmGlobalBorlandMakefileGenerator.h,
- cmGlobalCodeWarriorGenerator.cxx, cmGlobalCodeWarriorGenerator.h,
- cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalNMakeMakefileGenerator.cxx,
- cmGlobalNMakeMakefileGenerator.h,
- cmGlobalUnixMakefileGenerator.cxx,
- cmGlobalUnixMakefileGenerator.h,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h, cmMakefile.cxx, cmMakefile.h,
- cmProjectCommand.cxx: ENH: try to initialize all languages at the
- same time
-
-2004-08-26 22:52 andy
-
- * Modules/: CMakeBackwardCompatibilityC.cmake,
- CMakeBackwardCompatibilityCXX.cmake, Documentation.cmake,
- FindFLTK.cmake, FindGLU.cmake, FindGnuplot.cmake,
- FindOpenGL.cmake, FindPNG.cmake, FindPerl.cmake,
- FindPythonLibs.cmake, FindQt.cmake, FindSelfPackers.cmake,
- FindTCL.cmake, FindThreads.cmake, FindUnixCommands.cmake,
- FindVTK.cmake, FindWget.cmake, FindX11.cmake,
- FindwxWidgets.cmake, FindwxWindows.cmake,
- TestForANSIStreamHeaders.cmake, UseVTK40.cmake,
- Use_wxWindows.cmake, UsewxWidgets.cmake,
- Platform/CYGWIN-g77.cmake: ENH: Cleanup. Use relative path to
- modules
-
-2004-08-26 21:43 hoffman
-
- * Modules/Platform/SunOS.cmake: hack to try and fix sun platform
-
-2004-08-26 18:00 king
-
- * Docs/cmake-mode.el: BUG: Only count block open tokens if they are
- followed by an open paren.
-
-2004-08-26 17:49 hoffman
-
- * Source/cmTryCompileCommand.cxx: ENH: try compiles in CXX require
- C to be enabled as well
-
-2004-08-26 16:34 hoffman
-
- * Modules/CMakeDetermineFortranCompiler.cmake,
- Source/CMakeLists.txt: ENH: try to find fortran compiler before
- adding the test
-
-2004-08-26 16:11 hoffman
-
- * Source/CMakeLists.txt: ENH: try to find fortran compiler before
- adding the test
-
-2004-08-26 16:00 hoffman
-
- * Source/CMakeLists.txt: remove test fortran for now
-
-2004-08-26 15:55 hoffman
-
- * Source/CMakeLists.txt: Add a fortran test if there is a fortran
- compiler
-
-2004-08-26 15:50 hoffman
-
- * Modules/CMakeDetermineFortranCompiler.cmake,
- Source/CMakeLists.txt: Add a fortran test if there is a fortran
- compiler
-
-2004-08-26 14:55 hoffman
-
- * Modules/CMake.cmake, Modules/CMakeCInformation.cmake,
- Modules/CMakeCXXInformation.cmake,
- Modules/CMakeCommonLanguageInclude.cmake,
- Modules/CMakeDefaultMakeRuleVariables.cmake,
- Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakeDetermineFortranCompiler.cmake,
- Modules/CMakeDetermineJavaCompiler.cmake,
- Modules/CMakeFortranCompiler.cmake.in,
- Modules/CMakeFortranInformation.cmake,
- Modules/CMakeGenericSystem.cmake,
- Modules/CMakeJavaCompiler.cmake.in,
- Modules/CMakeJavaInformation.cmake,
- Modules/CMakeSystemSpecificInformation.cmake,
- Modules/CMakeTestFortranCompiler.cmake,
- Modules/Platform/AIX.cmake, Modules/Platform/BSDOS.cmake,
- Modules/Platform/CYGWIN.cmake, Modules/Platform/Darwin.cmake,
- Modules/Platform/FreeBSD.cmake, Modules/Platform/HP-UX.cmake,
- Modules/Platform/IRIX.cmake, Modules/Platform/IRIX64.cmake,
- Modules/Platform/Linux.cmake, Modules/Platform/MP-RAS.cmake,
- Modules/Platform/NetBSD.cmake, Modules/Platform/OSF1.cmake,
- Modules/Platform/OpenBSD.cmake, Modules/Platform/RISCos.cmake,
- Modules/Platform/SCO_SV.cmake, Modules/Platform/SINIX.cmake,
- Modules/Platform/SunOS.cmake, Modules/Platform/True64.cmake,
- Modules/Platform/ULTRIX.cmake, Modules/Platform/UNIX_SV.cmake,
- Modules/Platform/UnixWare.cmake,
- Modules/Platform/Windows-gcc.cmake,
- Modules/Platform/Windows-ifort.cmake,
- Modules/Platform/Xenix.cmake, Source/CMakeLists.txt,
- Source/cmGlobalBorlandMakefileGenerator.cxx,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalUnixMakefileGenerator.cxx,
- Source/cmListFileCache.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmProjectCommand.cxx, Source/cmTryCompileCommand.cxx,
- Source/cmake.cxx, Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/complex.cxx,
- Tests/Fortran/CMakeLists.txt: ENH: more uniform approach to
- enable language, one step closer to being able to enable a
- language without modifing cmake source code
-
-2004-08-26 09:45 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: Make default date shorter
-
-2004-08-25 12:42 hoffman
-
- * Source/cmCTest.cxx: ENH: better error display for failure
-
-2004-08-25 08:44 hoffman
-
- * Source/cmCTest.cxx: ENH: produce better error message for missing
- variables in -S mode
-
-2004-08-24 11:30 andy
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ERR: Fix the list of
- targets. The base target name now includes the MACOSX_BUNDLE path
-
-2004-08-24 11:17 andy
-
- * Source/cmAddExecutableCommand.cxx: BUG: If macdir does not end
- with '/' then add it always, not just when adding current
- directory
-
-2004-08-23 14:33 andy
-
- * Source/cmake.cxx: ENH: Implement PreLoad.cmake feature for
- CMakeSetup
-
-2004-08-23 14:09 hoffman
-
- * Source/CTest/CMakeLists.txt: fix syntax
-
-2004-08-23 13:45 hoffman
-
- * CMakeLists.txt, Source/CTest/CMakeLists.txt: ENH: fix out of the
- box build on sgi to match dashboards
-
-2004-08-23 11:33 hoffman
-
- * Modules/FindJava.cmake: BUG: 1107 add extra place to look for
- java
-
-2004-08-23 11:29 martink
-
- * Source/cmCTest.cxx: now will check out src dir if it has the necc
- info
-
-2004-08-23 11:21 hoffman
-
- * Modules/FindJava.cmake: BUG: 1107 add extra place to look for
- java
-
-2004-08-19 12:51 andy
-
- * Source/cmCTest.cxx: ENH: Handle gmake error message
-
-2004-08-18 09:28 andy
-
- * Modules/CMakeSystemSpecificInformation.cmake: BUG: Unly set gcc
- flags for C compiler if CMAKE_COMPILER_IS_GNUCC is set
-
-2004-08-18 08:52 andy
-
- * Source/cmCTest.cxx: BUG: When GetNightlyTime returns past time,
- fix everything. Also, return correct time when printing
-
-2004-08-17 19:18 andy
-
- * Modules/Platform/Darwin-xlc.cmake: ENH: Initial import for Darwin
- using xlC
-
-2004-08-17 16:13 andy
-
- * Source/CursesDialog/cmCursesMainForm.cxx: ENH: Reload
- PreLoad.cmake every time you do configure
-
-2004-08-17 15:36 andy
-
- * Source/CursesDialog/cmCursesMainForm.cxx: ENH: Enable preload for
- ccmake
-
-2004-08-17 15:36 andy
-
- * Source/: cmake.cxx, cmake.h: ENH: Move PreLoad.cmake code to
- public method so that ccmake and CMakeSetup can call it
-
-2004-08-17 14:23 andy
-
- * Source/cmCTest.cxx: BUG: Attempt to fix timezone problem where
- start time appears one day before the actual start time. Also add
- verbosity to GetNightlyTime
-
-2004-08-16 09:03 king
-
- * Utilities/Release/config_IRIX64: BUG: Need to set HAVE_LIBCRYPTO
- to 0 instead of letting the test be done.
-
-2004-08-11 20:36 hoffman
-
- * Source/cmCTest.cxx: fix it
-
-2004-08-11 16:58 hoffman
-
- * Source/: cmAbstractFilesCommand.cxx, cmAddExecutableCommand.cxx,
- cmCreateTestSourceList.cxx, cmGlobalCodeWarriorGenerator.cxx,
- cmGlobalGenerator.cxx, cmGlobalUnixMakefileGenerator.cxx,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx, cmUtilitySourceCommand.cxx:
- ENH: use GetRequiredDefinition instead of GetDefinition and crash
-
-2004-08-11 16:57 hoffman
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx: ENH: change RUN_TESTS to use
- -C and not -D also use GetRequiredDefinition where needed
-
-2004-08-11 16:37 hoffman
-
- * Source/cmCTest.cxx: ENH: fixes for RUN_TESTS from visual studio
- IDE, fprintf does not print right away, so std::cerr had to be
- used. Also, allow .\ to start the config type
-
-2004-08-11 16:35 hoffman
-
- * Modules/CMakeSystemSpecificInformation.cmake,
- Modules/CMakeTestFortranCompiler.cmake, Source/cmSystemTools.cxx:
- ENH: minor fortran fixes
-
-2004-08-11 09:31 hoffman
-
- * CMakeLists.txt, ChangeLog.manual, DartConfig.cmake,
- Docs/cmake-mode.el, Modules/CMakeSystemSpecificInformation.cmake,
- Modules/CMakeVS8FindMake.cmake, Modules/Dart.cmake,
- Modules/FindDoxygen.cmake, Modules/FindFLTK.cmake,
- Modules/FindKDE.cmake, Modules/FindQt.cmake,
- Modules/FindSWIG.cmake, Modules/UseSWIG.cmake,
- Source/CMakeLists.txt, Source/cmAuxSourceDirectoryCommand.h,
- Source/cmCTest.cxx, Source/cmCTest.h, Source/cmCommands.cxx,
- Source/cmCreateTestSourceList.cxx, Source/cmDynamicLoader.cxx,
- Source/cmExecProgramCommand.cxx, Source/cmFLTKWrapUICommand.cxx,
- Source/cmFileCommand.cxx, Source/cmGetTargetPropertyCommand.h,
- Source/cmGlobalCodeWarriorGenerator.cxx,
- Source/cmGlobalGenerator.cxx,
- Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmGlobalVisualStudio71Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio8Generator.cxx,
- Source/cmGlobalVisualStudio8Generator.h, Source/cmIfCommand.cxx,
- Source/cmIfCommand.h, Source/cmLinkLibrariesCommand.cxx,
- Source/cmListFileLexer.c, Source/cmListFileLexer.in.l,
- Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h, Source/cmMakefile.cxx,
- Source/cmQTWrapCPPCommand.cxx, Source/cmQTWrapUICommand.cxx,
- Source/cmSubdirCommand.h, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h, Source/cmTarget.cxx,
- Source/cmTargetLinkLibrariesCommand.cxx,
- Source/cmTryRunCommand.cxx, Source/cmUseMangledMesaCommand.cxx,
- Source/cmWin32ProcessExecution.cxx, Source/cmake.cxx,
- Source/cmakewizard.h, Source/CTest/cmCTestSubmit.cxx,
- Source/CTest/cmCTestSubmit.h,
- Source/CursesDialog/cmCursesMainForm.cxx,
- Source/kwsys/CMakeLists.txt, Source/kwsys/ProcessUNIX.c,
- Source/kwsys/SystemTools.cxx,
- Templates/CMakeWindowsSystemConfig.cmake,
- Templates/TestDriver.cxx.in, Tests/Simple/CMakeLists.txt,
- Tests/SimpleInstall/CMakeLists.txt, Tests/SimpleInstall/inst.cxx,
- Tests/SimpleInstall/lib4.cxx, Tests/SimpleInstall/lib4.h,
- Tests/SimpleInstall/TestSubDir/CMakeLists.txt,
- Tests/SimpleInstall/TestSubDir/TSD.cxx,
- Tests/SimpleInstall/TestSubDir/TSD.h,
- Tests/SimpleInstall/TestSubDir/TSD_utils.cxx,
- Tests/SimpleInstallS2/CMakeLists.txt,
- Tests/SimpleInstallS2/inst.cxx, Tests/SimpleInstallS2/lib4.cxx,
- Tests/SimpleInstallS2/lib4.h,
- Tests/SimpleInstallS2/TestSubDir/CMakeLists.txt,
- Tests/SimpleInstallS2/TestSubDir/TSD.cxx,
- Tests/SimpleInstallS2/TestSubDir/TSD.h,
- Tests/SimpleInstallS2/TestSubDir/TSD_utils.cxx,
- Utilities/Doxygen/CMakeLists.txt,
- Utilities/Release/cmake_release.sh: Moving latest release branch
- to CMake-2-0-3.
-
-2004-08-09 18:39 martink
-
- * Source/cmIncludeCommand.cxx: ENH: Allow user to overwrite
- Platforms files
-
-2004-08-09 18:20 martink
-
- * Modules/Platform/Windows-icl.cmake: ENH: Initial import
-
-2004-08-09 17:42 hoffman
-
- * Source/kwsys/SystemTools.cxx: BUG: fix for try run failing on
- some cygwin builds. Allow a driver letter to start a full path
- on cygwin
-
-2004-08-09 13:03 hoffman
-
- * Source/cmMakefile.cxx: BUG: fix bug where custom command
- generated .h files do not get the header_file_only flag set
-
-2004-08-06 15:05 hoffman
-
- * Tests/Fortran/: CMakeLists.txt, hello.f: ENH: initial fortran
-
-2004-08-06 14:51 hoffman
-
- * Modules/CMakeDefaultMakeRuleVariables.cmake,
- Modules/CMakeDetermineFortranCompiler.cmake,
- Modules/CMakeFortranCompiler.cmake.in,
- Modules/CMakeSystemSpecificInformation.cmake,
- Modules/CMakeTestFortranCompiler.cmake,
- Modules/Platform/CYGWIN-g77.cmake, Modules/Platform/g77.cmake,
- Source/cmGlobalGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h, Source/cmTarget.cxx, Source/cmTarget.h,
- Source/cmTryCompileCommand.cxx: ENH: initial fortran support
-
-2004-08-05 11:59 hoffman
-
- * Modules/FindQt.cmake: ENH: remove verbose QT message
-
-2004-08-05 11:51 king
-
- * Source/cmAddExecutableCommand.cxx: ERR: Replacing hack call to
- CONFIGURE_FILE command with direct call to
- m_Makefile->ConfigureFile.
-
-2004-08-05 10:27 king
-
- * ChangeLog.manual, Source/cmGlobalGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx: BUG#427: Merging fix to
- CMake 2.0 release branch.
-
-2004-08-05 10:17 king
-
- * Source/: cmGlobalGenerator.cxx, cmLocalUnixMakefileGenerator.cxx:
- BUG#427: Generated makefiles need to have targets with canonical
- names for each executable and library target in order for
- try-compiles to work correctly when specifying the target.
-
-2004-08-05 09:29 king
-
- * ChangeLog.manual, Source/cmGlobalCodeWarriorGenerator.cxx,
- Source/cmGlobalCodeWarriorGenerator.h,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmGlobalVisualStudio6Generator.h,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.h,
- Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.cxx,
- Source/cmTryRunCommand.cxx: Merging fixes from main tree. See
- ChangeLog.manual section on 2.0.4 for details.
-
-2004-08-05 09:17 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: Fixed crash when
- CMAKE_CXX_STACK_SIZE is not defined.
-
-2004-08-04 17:24 king
-
- * Source/cmMakefile.cxx: BUG: Fix crash when adding a custom
- command to a source file that cannot be created.
-
-2004-08-04 17:21 hoffman
-
- * Source/cmTryRunCommand.cxx: ENH: allow debug of tryrun
-
-2004-08-04 16:33 king
-
- * Source/: cmGlobalCodeWarriorGenerator.cxx,
- cmGlobalCodeWarriorGenerator.h, cmGlobalGenerator.cxx,
- cmGlobalGenerator.h, cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h, cmMakefile.cxx: BUG:
- CMAKE_TRY_COMPILE_CONFIGURATION should be obtained from the
- cmMakefile instance for the listfile containing the TRY_COMPILE
- call, not the top level listfile.
-
-2004-08-04 14:34 king
-
- * Source/cmMakefile.cxx: ERR: Removed duplicate default arguments.
-
-2004-08-04 13:05 hoffman
-
- * Source/cmake.cxx: fix incorrect selection of visual studio
- generator
-
-2004-08-04 10:45 king
-
- * Source/: cmCPluginAPI.cxx, cmForEachCommand.cxx,
- cmListFileCache.cxx, cmListFileCache.h, cmMacroCommand.cxx,
- cmMakefile.cxx, cmMakefile.h: ENH: Added support for special
- variables CMAKE_CURRENT_LIST_FILE and CMAKE_CURRENT_LIST_LINE
- that evaluate to the file name and line number in which they
- appear. This implements the feature request from bug 1012.
-
-2004-08-04 10:00 king
-
- * Source/cmake.cxx: BUG: Fixed typo in name of MSVC 8 registry key.
-
-2004-08-04 08:50 andy
-
- * Source/cmIfCommand.cxx: ERR: Fix warnings and memory leak
-
-2004-08-03 10:20 hoffman
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: create a
- server that does not use vtkPVApplication or tcl wrapping. Move
- several classes from GUI/Client to Servers/Filters. Remove use of
- PARAVIEW_NEW_SOURCE_ORGANIZATION define.
-
-2004-08-03 08:13 andy
-
- * Source/: cmIfCommand.cxx, cmIfCommand.h: BUG: When regular
- expression failes to compile, produce error: Fixes part of Bug
- #1025 - CMake silently ignores regular expression failure
-
-2004-08-02 08:36 andy
-
- * Source/cmCTest.cxx: BUG: these flags do not take arguments, so
- they do not really need to check if they are last. Fixes Bug
- #1020 - ctest doesn't parse its options correctly
-
-2004-07-30 15:50 andy
-
- * Source/: cmInstallFilesCommand.h, cmInstallProgramsCommand.h,
- cmInstallTargetsCommand.h: ENH: Since install works on Windows
- too, remove the UNIX
-
-2004-07-30 09:42 hoffman
-
- * CMakeLists.txt, Utilities/Release/cmake_release.sh: change
- version to 2.0.3
-
-2004-07-29 17:15 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: Add some documentation, and
- make sure that the flag given to -D -T or -M is valid. Fixes Bug
- #1015 - Documentation: ctest -D
-
-2004-07-29 17:07 andy
-
- * Modules/Dart.cmake: ENH: Add MemCheck to the list of Make
- targets. Closes Bug #1016 - Testing targets in Makefile
-
-2004-07-29 15:26 andy
-
- * Source/cmCTest.cxx: ENH: Add AIX linker error
-
-2004-07-29 14:45 hoffman
-
- * ChangeLog.manual, Modules/Dart.cmake, Source/cmCTest.cxx,
- Source/cmCTest.h, Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h, Source/cmMakefile.cxx,
- Source/cmTarget.cxx, Source/cmake.cxx,
- Source/CTest/cmCTestSubmit.cxx, Source/kwsys/SystemTools.cxx:
- merges from main tree
-
-2004-07-29 14:19 hoffman
-
- * Modules/CMakeSystemSpecificInformation.cmake,
- Source/cmTarget.cxx, Source/cmakewizard.h: merge from main tree,
- comment spelling fixes
-
-2004-07-29 11:46 king
-
- * ChangeLog.manual, Source/cmLinkLibrariesCommand.cxx,
- Source/cmTargetLinkLibrariesCommand.cxx: BUG: Fixed crash when
- optimized/debug argument to a link-libraries command is not
- followed by a value.
-
-2004-07-29 11:43 king
-
- * Source/: cmTargetLinkLibrariesCommand.cxx,
- cmLinkLibrariesCommand.cxx: BUG: Fixed crash when optimized/debug
- argument is not followed by a value.
-
-2004-07-29 11:11 andy
-
- * Tests/X11/CMakeLists.txt: ERR: Fix test to use post CMAKE_X_LIBS
- variables
-
-2004-07-29 10:22 king
-
- * ChangeLog.manual: ENH: Added changes for
- cmAuxSourceDirectoryCommand.h and cmGetTargetPropertyCommand.h
-
-2004-07-28 08:12 king
-
- * Source/: cmGetTargetPropertyCommand.h: ENH: Added documentation
- of LOCATION target property.
-
-2004-07-27 13:40 hoffman
-
- * Source/cmake.cxx: BUG: fix for bug 971, pick a better generator
- from the command line
-
-2004-07-27 08:52 andy
-
- * Modules/Dart.cmake: DOC: Fix typo
-
-2004-07-27 08:49 andy
-
- * Source/CTest/cmCTestSubmit.cxx: BUG: Allow submit and trigger url
- to contain ?. Fixes Bug #997 - CTest cannot handle URLs which
- contain a "?"
-
-2004-07-27 08:48 andy
-
- * Modules/Dart.cmake: ENH: Allow project to overwrite
- CMAKE_SYSTEM_NAME part of default BUILDNAME
-
-2004-07-26 16:59 hoffman
-
- * Modules/CMakeSystemSpecificInformation.cmake,
- Source/cmMakefile.cxx, Source/cmTarget.cxx, Source/cmakewizard.h:
- BUG: fix for bug 998, fix spelling errors
-
-2004-07-26 16:00 andy
-
- * Source/cmCTest.cxx: ENH: Support Threading Problem in memcheck
-
-2004-07-26 15:52 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: Add maximum size of test
- output
-
-2004-07-24 19:58 king
-
- * Source/: cmAuxSourceDirectoryCommand.h: ENH: Added warning about
- using this command to avoid listing sources for a library by
- hand. It is supposed to be used only for Templates directories.
-
-2004-07-22 11:20 hoffman
-
- * ChangeLog.manual, Modules/FindFLTK.cmake, Modules/FindQt.cmake,
- Source/cmCTest.cxx, Source/cmDynamicLoader.cxx,
- Source/cmGlobalCodeWarriorGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx, Source/cmMakefile.cxx,
- Source/cmUseMangledMesaCommand.cxx, Source/cmake.cxx,
- Source/CursesDialog/cmCursesMainForm.cxx,
- Templates/CMakeWindowsSystemConfig.cmake,
- Templates/TestDriver.cxx.in: merge from main tree
-
-2004-07-22 10:59 hoffman
-
- * Modules/: FindFLTK.cmake, FindQt.cmake: BUG: put back flags to
- maintain backwards compatibility
-
-2004-07-20 16:18 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: BUG: Encode current time so that
- on some international computers xslt will not break. Also, for
- continuous, do not repeat if there were locally modified files or
- conflict, but only when things actually update
-
-2004-07-20 11:09 andy
-
- * Source/kwsys/SystemTools.cxx: BUG: If source and destination is
- the same file, then do not copy file always
-
-2004-07-20 11:07 andy
-
- * Source/cmMakefile.cxx: ENH: When running cmake with PreLoad make
- sure CMAKE_CURRENT_SOURCE/BINARY_DIR works
-
-2004-07-20 11:02 hoffman
-
- * Source/CursesDialog/cmCursesMainForm.cxx: ENH: remove deletes
-
-2004-07-19 13:01 hoffman
-
- * Source/CursesDialog/cmCursesMainForm.cxx: BUG: fix for 981 cursor
- returns to correct place in help screen
-
-2004-07-19 13:00 hoffman
-
- * Source/cmDynamicLoader.cxx: bug fix for 986
-
-2004-07-16 16:02 hoffman
-
- * Source/cmake.cxx: ENH: add a message at the end of the cmake run
- telling the user where things were written.
-
-2004-07-16 15:18 hoffman
-
- * Templates/TestDriver.cxx.in: make sure tests flush output
-
-2004-07-15 14:38 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: sort flags, and
- fix order and case problems and add a few more
-
-2004-07-15 13:53 martink
-
- * Source/cmCTest.cxx: better error warning exceptions
-
-2004-07-14 19:53 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: remove warnings
-
-2004-07-14 16:10 hoffman
-
- * Source/: cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h: ENH: use a map to fill out
- flags, and keep command line consistent with the GUI
-
-2004-07-13 17:33 king
-
- * Source/kwsys/testProcess.c: BUG: Fixed off-by-one error in test6
- function.
-
-2004-07-13 17:27 king
-
- * Source/kwsys/: testProcess.c, CMakeLists.txt: ENH: Added test for
- runaway output.
-
-2004-07-13 16:50 king
-
- * Source/kwsys/ProcessWin32.c: ENH: Re-arranged handling of the two
- threads per pipe to improve readability of code.
-
-2004-07-13 16:23 king
-
- * Source/kwsys/ProcessWin32.c: BUG: Fix for read pipe wakeup when
- child is writing alot of data and may fill the pipe buffer before
- WriteFile is called.
-
-2004-07-13 11:06 martink
-
- * Source/: cmCTest.cxx, cmCTest.h: submit elapsed times as well
-
-2004-07-13 10:03 andy
-
- * Modules/FindQt.cmake: BUG: These regular expressions were wrong
- because \\t does not match tab. Also, this fix prevents whole
- file to be dumped to the cache
-
-2004-07-09 15:38 hoffman
-
- * Modules/FindQt.cmake: merge in fixes from neundorf at kde org,
- bug 869
-
-2004-07-09 14:18 hoffman
-
- * Source/: cmMakefile.cxx, cmUseMangledMesaCommand.cxx: BUG: fix
- spelling errors BUG 952
-
-2004-07-09 13:50 hoffman
-
- * Source/cmGlobalCodeWarriorGenerator.cxx,
- Templates/CMakeDotNetSystemConfig.cmake,
- Templates/CMakeWindowsSystemConfig.cmake: BUG: remove unused
- variable CMAKE_OBJECT_FILE_SUFFIX from cmake
-
-2004-07-09 11:49 king
-
- * Source/kwsys/ProcessUNIX.c: ERR: Fixed missing return warning.
- Code was not reachable anyway.
-
-2004-07-09 09:12 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: remove double
- include flags for rc resouce compiles
-
-2004-07-07 18:15 king
-
- * Source/kwsys/ProcessWin32.c: ENH: Added windows implementation of
- Disown/Detach.
-
-2004-07-07 17:46 king
-
- * Source/kwsys/ProcessUNIX.c: BUG: Do not disown if process has
- already been killed or the timeout expired. Also need to call
- kwsysProcessCleanup to disown.
-
-2004-07-07 17:27 king
-
- * Source/kwsys/: Process.h.in, ProcessUNIX.c, ProcessWin32.c: ENH:
- Added kwsysProcess_Disown an kwsysProcess_Option_Detach to allow
- detached processes to be created. Currently implemented only on
- UNIX.
-
-2004-07-07 17:09 hoffman
-
- * ChangeLog.manual, DartConfig.cmake,
- Modules/CMakeVS8FindMake.cmake, Modules/FindSWIG.cmake,
- Modules/UseSWIG.cmake, Source/CMakeLists.txt, Source/cmCTest.cxx,
- Source/cmCTest.h, Source/cmExecProgramCommand.cxx,
- Source/cmFileCommand.cxx, Source/cmGlobalGenerator.cxx,
- Source/cmGlobalVisualStudio8Generator.cxx,
- Source/cmGlobalVisualStudio8Generator.h,
- Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h, Source/cmMakefile.cxx,
- Source/cmQTWrapUICommand.cxx, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h, Source/cmTryRunCommand.cxx,
- Source/cmWin32ProcessExecution.cxx, Source/cmake.cxx,
- Source/kwsys/CMakeLists.txt, Source/kwsys/ProcessUNIX.c,
- Source/kwsys/SystemTools.cxx, Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstall/inst.cxx, Tests/SimpleInstall/lib4.cxx,
- Tests/SimpleInstall/lib4.h,
- Tests/SimpleInstall/TestSubDir/CMakeLists.txt,
- Tests/SimpleInstall/TestSubDir/TSD.cxx,
- Tests/SimpleInstall/TestSubDir/TSD.h,
- Tests/SimpleInstall/TestSubDir/TSD_utils.cxx,
- Tests/SimpleInstallS2/CMakeLists.txt,
- Tests/SimpleInstallS2/inst.cxx, Tests/SimpleInstallS2/lib4.cxx,
- Tests/SimpleInstallS2/lib4.h,
- Tests/SimpleInstallS2/TestSubDir/CMakeLists.txt,
- Tests/SimpleInstallS2/TestSubDir/TSD.cxx,
- Tests/SimpleInstallS2/TestSubDir/TSD.h,
- Tests/SimpleInstallS2/TestSubDir/TSD_utils.cxx: merge from main
- tree, see ChangeLog.manual for changes
-
-2004-07-07 16:09 andy
-
- * Source/cmCTest.cxx: BUG: LastMemCheck is not really an XML file
-
-2004-07-07 13:03 king
-
- * Source/kwsys/ProcessUNIX.c: ERR: Using KWSYSPE_PIPE_BUFFER_SIZE
- in place of separate bufferSize constant for consistency.
-
-2004-07-05 12:16 hoffman
-
- * Modules/CMakeVS8FindMake.cmake,
- Modules/Platform/Windows-cl.cmake, Source/CMakeLists.txt,
- Source/cmGlobalGenerator.cxx,
- Source/cmGlobalVisualStudio8Generator.cxx,
- Source/cmGlobalVisualStudio8Generator.h,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h, Source/cmake.cxx: ENH:
- add support for VCExpress 2005
-
-2004-07-04 00:05 hoffman
-
- * Source/kwsys/ProcessUNIX.c: no c++ comments in c
-
-2004-07-03 12:00 hoffman
-
- * Source/kwsys/ProcessUNIX.c: fix for hp build
-
-2004-07-02 17:39 king
-
- * Source/kwsys/CMakeLists.txt: BUG: Need a C-only library for C
- tests.
-
-2004-07-02 16:39 king
-
- * Source/kwsys/ProcessUNIX.c: BUG#392: Implementation of process
- tree killing for systems with /proc filesystem.
-
-2004-07-02 16:29 king
-
- * Source/: cmCTest.cxx, cmCTest.h: BUG#969: Partially fixed by at
- least using the timeout for the individual calls to
- RunSingleCommand from within the inner ctest instance. This
- should be modified to incrementally adjust remaining time.
-
-2004-07-02 16:27 king
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Made
- RunSingleCommand take a double as its timeout length.
-
-2004-07-02 14:09 king
-
- * Source/cmFileCommand.cxx: BUG: Fixed generation of installation
- manifest to account for library versioning symlinks. Also
- removed DESTDIR prefix from generated manifest.
-
-2004-07-02 14:08 king
-
- * Source/cmLocalGenerator.cxx: BUG: install_manifest.txt should be
- overwritten each time the install is run.
-
-2004-07-02 13:39 king
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ERR: Removed debugging code from
- test.
-
-2004-07-02 11:51 andy
-
- * Source/cmFileCommand.cxx: BUG: If the destination is the same as
- source, do not copy file. Fixes Bug #956 - make install broken
-
-2004-07-02 09:57 andy
-
- * Source/cmake.cxx: ENH: Also read PreLoad.cmake from the binary
- tree
-
-2004-06-30 11:31 hoffman
-
- * Source/: cmMakefile.cxx, kwsys/SystemTools.cxx: ENH: add
- CMAKE_FILE_PATH, CMAKE_PROGRAM_PATH, CMAKE_LIBRARY_PATH, and
- search them first, PATH second, and last the paths listed in the
- FIND call
-
-2004-06-30 08:59 andy
-
- * Source/cmFileCommand.cxx: ERR: Fix typo
-
-2004-06-29 16:40 hoffman
-
- * Source/cmQTWrapUICommand.cxx: ENH: remove QT_WRAP_UI flag
-
-2004-06-29 10:22 hoffman
-
- * Modules/FindSWIG.cmake: BUG: make sure if swig is found, we know
- it is found
-
-2004-06-29 09:23 andy
-
- * Source/cmFileCommand.cxx, Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: Better handling of
- debug postfix and fix the test
-
-2004-06-28 16:39 andy
-
- * Source/cmFileCommand.cxx, Source/cmGlobalGenerator.cxx,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ERR: Fix visual studio
- install
-
-2004-06-28 14:39 andy
-
- * Source/cmFileCommand.cxx, Source/cmLocalGenerator.cxx,
- Source/cmLocalGenerator.h, Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstall/inst.cxx,
- Tests/SimpleInstallS2/CMakeLists.txt,
- Tests/SimpleInstallS2/inst.cxx, Tests/SimpleInstall/lib4.cxx,
- Tests/SimpleInstall/lib4.h, Tests/SimpleInstallS2/lib4.cxx,
- Tests/SimpleInstallS2/lib4.h: BUG: Implement installing of shared
- library versioning and add test for the whole thing
-
-2004-06-28 11:14 andy
-
- * Modules/UseSWIG.cmake: BUG: Add more comments and fix
- CMAKE_SWIG_FLAGS
-
-2004-06-28 09:08 andy
-
- * Modules/FindSWIG.cmake: BUG: Replace MATCHES with STREQUAL for
- better checking, better checking for existence of swig directory,
- verify if required flag was set, support fedora's location of
- swig. Fixes Bug #955 - Swig on fedora and Bug #954 -
- FIND_PACKAGE(SWIG REQUIRED)
-
-2004-06-26 08:40 hoffman
-
- * Modules/UseSWIG.cmake: BUG: SWIG_FLAGS was ignored by the add
- swig source to module command
-
-2004-06-25 14:04 andy
-
- * CMakeLists.txt: ENH: Build expat as a part of default build
-
-2004-06-25 14:04 andy
-
- * Utilities/cmexpat/: .NoDartCoverage, CMakeLists.txt, COPYING,
- ascii.h, asciitab.h, cm_expat_mangle.h, expat.h,
- expatConfig.h.in, expatDllConfig.h.in, iasciitab.h, latin1tab.h,
- nametab.h, utf8tab.h, xmlparse.c, xmlrole.c, xmlrole.h, xmltok.c,
- xmltok.h, xmltok_impl.c, xmltok_impl.h, xmltok_ns.c: ENH: Initial
- import of expat
-
-2004-06-24 09:05 hoffman
-
- * Source/cmWin32ProcessExecution.cxx: ENH: remove warning on
- borland
-
-2004-06-24 08:57 hoffman
-
- * Source/cmExecProgramCommand.cxx: BUG: exec program should not
- fail if it can not exec the program, but should only set the
- return value to -1 and set the output to the reason for the
- failure.
-
-2004-06-23 16:34 hoffman
-
- * Source/: cmExecProgramCommand.cxx, cmSystemTools.cxx,
- cmSystemTools.h, cmTryRunCommand.cxx,
- cmWin32ProcessExecution.cxx: BUG: fix spaces in path on mingw,
- and change EXEC_PROGRAM to return false when it does not run,
- also do not convert the directory to an output path for
- EXEC_PROGRAM as this is done by the process execution, and doing
- it twice may cause trouble on some shells.
-
-2004-06-23 16:15 hoffman
-
- * Modules/Platform/Windows-cl.cmake: C++ compiler is not set for c
- only projects
-
-2004-06-23 10:13 king
-
- * Source/: cmCacheManager.cxx, CursesDialog/cmCursesMainForm.cxx,
- CursesDialog/cmCursesMainForm.h: ENH: Adding MODIFIED property to
- cache values that have been changed by the user.
-
-2004-06-22 17:23 hoffman
-
- * Source/cmSystemTools.cxx: BUG: fix spaces in path with mingw and
- custom commands
-
-2004-06-21 12:59 hoffman
-
- * ChangeLog.manual: update changes for release 2.0.2
-
-2004-06-21 12:48 hoffman
-
- * CMakeLists.txt, Utilities/Release/cmake_release.sh: change
- version on branch
-
-2004-06-21 12:48 hoffman
-
- * CMakeLists.txt: change minimum cmake
-
-2004-06-18 15:47 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: merge from main tree,
- remove automatic -I for source
-
-2004-06-18 15:47 hoffman
-
- * Source/cmSubdirCommand.h: merge from main tree, fix docs
-
-2004-06-18 15:46 hoffman
-
- * Modules/FindFLTK.cmake, Modules/FindQt.cmake,
- Source/cmFLTKWrapUICommand.cxx, Source/cmQTWrapCPPCommand.cxx:
- merge from main tree, remove useless variables
-
-2004-06-18 15:14 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Added special hack
- for VTK 4.0-4.4 to re-enable automatic addition of current source
- directory to -I path.
-
-2004-06-18 15:01 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Added special hack
- for VTK 4.0-4.4 to re-enable automatic addition of current source
- directory to -I path.
-
-2004-06-18 13:04 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Need to preserve
- automatic addition of source tree to -I path if
- CMAKE_BACKWARDS_COMPATIBILITY is set to below 2.0.
-
-2004-06-18 13:00 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ERR: Fixed typo.
-
-2004-06-18 12:56 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Need to preserve
- automatic addition of source tree to -I path if
- CMAKE_BACKWARDS_COMPATIBILITY is set to below 2.0.
-
-2004-06-18 10:54 king
-
- * Docs/: cmake-mode.el: BUG: Fixed parsing of unquoted arguments to
- allow double-quotes within the argument.
-
-2004-06-18 10:51 king
-
- * Source/: cmListFileLexer.c, cmListFileLexer.in.l: BUG: Fixed
- parsing of unquoted arguments to allow double-quotes within the
- argument.
-
-2004-06-16 09:45 hoffman
-
- * Source/cmSubdirCommand.h: clean up documentation
-
-2004-06-16 09:43 hoffman
-
- * Source/cmFLTKWrapUICommand.cxx, Source/cmQTWrapCPPCommand.cxx,
- Modules/FindFLTK.cmake, Modules/FindQt.cmake: clean up commands
- so they don't need extra variable
-
-2004-06-15 11:52 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: Removing automatic
- addition of a -I path for the current source directory. This is
- not consistent with the Visual Studio generators which do not
- provide this path. It should not be added anyway because it is
- adding an include path not requested by the CMakeLists.txt code.
- The code I'm removing was originally added in revision 1.17 of
- cmUnixMakefileGenerator.cxx as a part of several other changes
- and has a commit log entry of
-
- "some bug fixes"
-
- It was propagated from their to cmLocalUnixMakefileGenerator.cxx.
- Since all our projects build in the VS IDE without this include
- path, it should not be needed. Users can easily fix problems
- caused by this by adding
-
- INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
-
- to their CMakeLists.txt code. This was often necessary
- previously when a project was originally written on a Unix system
- and then built with Visual Studio.
-
-2004-06-15 08:32 hoffman
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx: merge from main tree, fix
- GetCurrentDirectory problem
-
-2004-06-15 08:30 hoffman
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx: fix include order because of
- GetCurrentDirectory define and windows.h problem
-
-2004-06-14 13:25 hoffman
-
- * Modules/FindKDE.cmake: merge from main tree, new module
-
-2004-06-14 12:29 hoffman
-
- * Utilities/Doxygen/CMakeLists.txt: merge from main tree
-
-2004-06-14 12:28 hoffman
-
- * Source/: cmIfCommand.cxx, cmIfCommand.h: merge from main tree,
- add STRGREATER
-
-2004-06-14 12:28 hoffman
-
- * Source/cmCommands.cxx: merge from main tree, fix bootstrap on mac
-
-2004-06-14 12:27 hoffman
-
- * Modules/FindFLTK.cmake: merge from main tree, look for both Fl.h
- and Fl.H
-
-2004-06-14 12:21 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: merge from main tree,
- use cmake to install itself, when building cmake
-
-2004-06-14 12:20 hoffman
-
- * Source/cmIfCommand.cxx: merge from main tree, fix compound if
- crash on unix
-
-2004-06-14 12:19 hoffman
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx: merge from main tree, use
- correct path for sub projects
-
-2004-06-14 12:18 hoffman
-
- * Source/cmCTest.cxx: merge from main tree, more -I stuff
-
-2004-06-14 12:18 hoffman
-
- * Source/CMakeLists.txt: merge from main tree, do not use regex for
- directoires
-
-2004-06-14 12:17 hoffman
-
- * Modules/FindDoxygen.cmake: ENH: better find for doxygen
-
-2004-06-14 12:16 hoffman
-
- * Modules/Platform/Windows-cl.cmake,
- Source/cmLocalVisualStudio7Generator.cxx,
- Templates/DLLHeader.dsptemplate: ENH: add NDEBUG to windows
- release builds for both ide and nmake
-
-2004-06-14 12:02 martink
-
- * Source/: cmIfCommand.h, cmIfCommand.cxx: added strequal
-
-2004-06-14 11:24 andy
-
- * Tests/CTestTest/test.cmake.in: ENH: Handle spaces in the path
-
-2004-06-14 11:23 andy
-
- * Source/cmCommands.cxx: ERR: On Mac we need
- GET_SOURCE_FILE_PROPERTY for building curl
-
-2004-06-14 10:46 hoffman
-
- * Modules/FindKDE.cmake: ENH: add FindKDE from Alex from kde.org
-
-2004-06-14 10:36 hoffman
-
- * Modules/FindFLTK.cmake: fix for bug 915
-
-2004-06-14 10:28 hoffman
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx: BUG: fix sub project path
- problem
-
-2004-06-11 15:27 martink
-
- * CMakeLists.txt, CMakeSystemConfig.txt.in,
- CMakeWindowsSystemConfig.txt, ChangeLog.manual, ChangeLog.txt,
- DartConfig.cmake, bootstrap, Docs/cmake-mode.el,
- Modules/CMakeCCompiler.cmake.in,
- Modules/CMakeCXXCompiler.cmake.in,
- Modules/CMakeDefaultMakeRuleVariables.cmake,
- Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakeImportBuildSettings.cmake,
- Modules/CMakeSystemSpecificInformation.cmake,
- Modules/CMakeTestCCompiler.cmake, Modules/CMakeTestGNU.c,
- Modules/CheckForPthreads.c, Modules/CheckFunctionExists.c,
- Modules/CheckIncludeFile.cmake,
- Modules/CheckIncludeFileCXX.cmake, Modules/CheckTypeSize.c,
- Modules/CheckTypeSize.cmake, Modules/CheckVariableExists.c,
- Modules/Dart.cmake, Modules/DartConfiguration.tcl.in,
- Modules/FindDCMTK.cmake, Modules/FindGLUT.cmake,
- Modules/FindGTK.cmake, Modules/FindITK.cmake,
- Modules/FindJNI.cmake, Modules/FindMFC.cmake,
- Modules/FindOpenGL.cmake, Modules/FindPHP4.cmake,
- Modules/FindPerlLibs.cmake, Modules/FindPike.cmake,
- Modules/FindPythonLibs.cmake, Modules/FindQt.cmake,
- Modules/FindRuby.cmake, Modules/FindSWIG.cmake,
- Modules/FindTCL.cmake, Modules/FindTclsh.cmake,
- Modules/FindVTK.cmake, Modules/FindwxWidgets.cmake,
- Modules/FindwxWindows.cmake, Modules/MacOSXBundleInfo.plist.in,
- Modules/TestBigEndian.c, Modules/UseSWIG.cmake,
- Modules/UsewxWidgets.cmake, Modules/Platform/Darwin.cmake,
- Modules/Platform/HP-UX.cmake, Modules/Platform/IRIX64.cmake,
- Modules/Platform/Linux.cmake, Modules/Platform/OSF1.cmake,
- Modules/Platform/SunOS.cmake,
- Modules/Platform/Windows-bcc32.cmake,
- Modules/Platform/Windows-cl.cmake,
- Modules/Platform/Windows-gcc.cmake, Source/CMakeLists.txt,
- Source/TODO, Source/cmAddCustomCommandCommand.h,
- Source/cmAddCustomTargetCommand.cxx,
- Source/cmAddExecutableCommand.cxx,
- Source/cmAddExecutableCommand.h, Source/cmAddTestCommand.cxx,
- Source/cmCMakeMinimumRequired.h, Source/cmCPluginAPI.cxx,
- Source/cmCPluginAPI.h, Source/cmCTest.cxx, Source/cmCTest.h,
- Source/cmCacheManager.cxx, Source/cmCacheManager.h,
- Source/cmCommand.h, Source/cmCommands.cxx,
- Source/cmConfigure.cmake.h.in, Source/cmConfigureFileCommand.cxx,
- Source/cmConfigureFileCommand.h,
- Source/cmCreateTestSourceList.cxx,
- Source/cmCreateTestSourceList.h, Source/cmDocumentation.cxx,
- Source/cmDocumentation.h, Source/cmDynamicLoader.cxx,
- Source/cmElseCommand.h, Source/cmEnableTestingCommand.cxx,
- Source/cmEnableTestingCommand.h, Source/cmEndForEachCommand.cxx,
- Source/cmEndForEachCommand.h, Source/cmEndIfCommand.h,
- Source/cmExecProgramCommand.h,
- Source/cmExportLibraryDependencies.cxx,
- Source/cmFLTKWrapUICommand.cxx, Source/cmFileCommand.cxx,
- Source/cmFileCommand.h, Source/cmFindFileCommand.h,
- Source/cmFindLibraryCommand.h, Source/cmFindPackageCommand.cxx,
- Source/cmFindPackageCommand.h, Source/cmFindPathCommand.cxx,
- Source/cmFindPathCommand.h, Source/cmFindProgramCommand.h,
- Source/cmForEachCommand.cxx, Source/cmForEachCommand.h,
- Source/cmGeneratedFileStream.h,
- Source/cmGetCMakePropertyCommand.cxx,
- Source/cmGetDirectoryPropertyCommand.cxx,
- Source/cmGetDirectoryPropertyCommand.h,
- Source/cmGetFilenameComponentCommand.h,
- Source/cmGetSourceFilePropertyCommand.cxx,
- Source/cmGetTargetPropertyCommand.cxx, Source/cmGlob.cxx,
- Source/cmGlobalBorlandMakefileGenerator.cxx,
- Source/cmGlobalCodeWarriorGenerator.cxx,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalNMakeMakefileGenerator.cxx,
- Source/cmGlobalUnixMakefileGenerator.cxx,
- Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmGlobalVisualStudio6Generator.h,
- Source/cmGlobalVisualStudio71Generator.cxx,
- Source/cmGlobalVisualStudio71Generator.h,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.h, Source/cmIfCommand.cxx,
- Source/cmIfCommand.h, Source/cmIncludeCommand.cxx,
- Source/cmIncludeCommand.h, Source/cmInstallTargetsCommand.cxx,
- Source/cmInstallTargetsCommand.h,
- Source/cmLinkLibrariesCommand.cxx,
- Source/cmLinkLibrariesCommand.h, Source/cmListFileCache.cxx,
- Source/cmListFileCache.h, Source/cmListFileLexer.c,
- Source/cmListFileLexer.h, Source/cmListFileLexer.in.l,
- Source/cmLoadCacheCommand.h, Source/cmLoadCommandCommand.cxx,
- Source/cmLocalCodeWarriorGenerator.cxx,
- Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.h,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Source/cmMacroCommand.cxx, Source/cmMacroCommand.h,
- Source/cmMakeDepend.cxx, Source/cmMakeDirectoryCommand.h,
- Source/cmMakefile.cxx, Source/cmMakefile.h,
- Source/cmMessageCommand.h, Source/cmOptionCommand.cxx,
- Source/cmOutputRequiredFilesCommand.h,
- Source/cmQTWrapCPPCommand.cxx, Source/cmQTWrapCPPCommand.h,
- Source/cmQTWrapUICommand.cxx, Source/cmQTWrapUICommand.h,
- Source/cmRemoveCommand.h, Source/cmRemoveDefinitionsCommand.cxx,
- Source/cmRemoveDefinitionsCommand.h,
- Source/cmSeparateArgumentsCommand.h, Source/cmSetCommand.h,
- Source/cmSetDirectoryPropertiesCommand.cxx,
- Source/cmSetDirectoryPropertiesCommand.h,
- Source/cmSetSourceFilesPropertiesCommand.cxx,
- Source/cmSetTargetPropertiesCommand.h,
- Source/cmSiteNameCommand.cxx, Source/cmSourceFile.cxx,
- Source/cmSourceFilesCommand.cxx, Source/cmStandardIncludes.h,
- Source/cmStringCommand.cxx, Source/cmStringCommand.h,
- Source/cmSubdirCommand.cxx, Source/cmSubdirCommand.h,
- Source/cmSystemTools.cxx, Source/cmSystemTools.h,
- Source/cmTarget.cxx, Source/cmTarget.h,
- Source/cmTargetLinkLibrariesCommand.cxx,
- Source/cmTargetLinkLibrariesCommand.h,
- Source/cmTryCompileCommand.cxx, Source/cmTryCompileCommand.h,
- Source/cmUseMangledMesaCommand.h,
- Source/cmVTKMakeInstantiatorCommand.cxx,
- Source/cmVTKWrapJavaCommand.h, Source/cmVTKWrapPythonCommand.h,
- Source/cmVTKWrapTclCommand.h, Source/cmWin32ProcessExecution.cxx,
- Source/cmWrapExcludeFilesCommand.cxx,
- Source/cmWriteFileCommand.cxx, Source/cmWriteFileCommand.h,
- Source/cmake.cxx, Source/cmake.h, Source/cmakemain.cxx,
- Source/cmaketest.cxx, Source/cmakewizard.cxx,
- Source/cmakewizard.h, Source/ctest.cxx,
- Source/CTest/cmCTestSubmit.cxx, Source/CTest/cmCTestSubmit.h,
- Source/CursesDialog/ccmake.cxx,
- Source/CursesDialog/cmCursesMainForm.cxx,
- Source/CursesDialog/cmCursesPathWidget.cxx,
- Source/CursesDialog/cmCursesStringWidget.cxx,
- Source/kwsys/Base64.c, Source/kwsys/Base64.h.in,
- Source/kwsys/CMakeLists.txt, Source/kwsys/Configure.h.in,
- Source/kwsys/Configure.hxx.in, Source/kwsys/Copyright.txt,
- Source/kwsys/Directory.cxx, Source/kwsys/Directory.hxx.in,
- Source/kwsys/EncodeExecutable.c, Source/kwsys/Process.h.in,
- Source/kwsys/ProcessFwd9x.c, Source/kwsys/ProcessUNIX.c,
- Source/kwsys/ProcessWin32.c, Source/kwsys/RegularExpression.cxx,
- Source/kwsys/RegularExpression.hxx.in,
- Source/kwsys/SystemTools.cxx, Source/kwsys/SystemTools.hxx.in,
- Source/kwsys/kwsysHeaderDump.pl,
- Source/kwsys/kwsysPlatformCxxTests.cmake,
- Source/kwsys/kwsysPlatformCxxTests.cxx,
- Source/kwsys/kwsysPrivate.h, Source/kwsys/kwsys_ios_fstream.h.in,
- Source/kwsys/kwsys_ios_iosfwd.h.in,
- Source/kwsys/kwsys_ios_iostream.h.in,
- Source/kwsys/kwsys_ios_sstream.h.in, Source/kwsys/kwsys_std.h.in,
- Source/kwsys/kwsys_std_fstream.h.in,
- Source/kwsys/kwsys_std_iosfwd.h.in,
- Source/kwsys/kwsys_std_iostream.h.in,
- Source/kwsys/kwsys_std_sstream.h.in, Source/kwsys/kwsys_stl.h.in,
- Source/kwsys/test1.cxx, Source/kwsys/testIOS.cxx,
- Source/kwsys/testProcess.c, Templates/CMakeLists.txt,
- Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate,
- Templates/EXEWinHeader.dsptemplate, Templates/TestDriver.cxx.in,
- Templates/install-sh, Templates/staticLibHeader.dsptemplate,
- Tests/COnly/CMakeLists.txt, Tests/CommandLineTest/CMakeLists.txt,
- Tests/CommandLineTest/PreLoad.cmake,
- Tests/Complex/CMakeLists.txt, Tests/Complex/VarTests.cmake,
- Tests/Complex/Executable/complex.cxx,
- Tests/Complex/Library/CMakeLists.txt,
- Tests/Complex/Library/file2.cxx,
- Tests/Complex/Library/testConly.c,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexOneConfig/VarTests.cmake,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexOneConfig/Library/CMakeLists.txt,
- Tests/ComplexOneConfig/Library/file2.cxx,
- Tests/ComplexOneConfig/Library/testConly.c,
- Tests/ComplexRelativePaths/CMakeLists.txt,
- Tests/ComplexRelativePaths/VarTests.cmake,
- Tests/ComplexRelativePaths/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Library/CMakeLists.txt,
- Tests/ComplexRelativePaths/Library/file2.cxx,
- Tests/ComplexRelativePaths/Library/testConly.c,
- Tests/CustomCommand/CMakeLists.txt,
- Tests/CustomCommand/generator.cxx,
- Tests/CustomCommand/wrapper.cxx, Tests/Jump/CMakeLists.txt,
- Tests/Jump/Executable/CMakeLists.txt,
- Tests/Jump/Executable/jumpExecutable.cxx,
- Tests/Jump/Library/CMakeLists.txt,
- Tests/Jump/Library/Shared/CMakeLists.txt,
- Tests/Jump/Library/Shared/jumpShared.cxx,
- Tests/Jump/Library/Static/CMakeLists.txt,
- Tests/Jump/Library/Static/jumpStatic.cxx,
- Tests/LinkLineOrder/Two.c, Tests/LoadCommand/CMakeLists.txt,
- Tests/LoadCommand/CMakeCommands/cmTestCommand.c,
- Tests/LoadCommandOneConfig/CMakeLists.txt,
- Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c,
- Tests/PreOrder/CMakeLists.txt, Tests/PreOrder/simple.cxx,
- Tests/PreOrder/Library/CMakeLists.txt,
- Tests/PreOrder/Library/simpleLib.cxx,
- Tests/Simple/CMakeLists.txt, Tests/Simple/simpleWe.cpp,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstall/PostInstall.cmake,
- Tests/SimpleInstall/PreInstall.cmake, Tests/SimpleInstall/foo.c,
- Tests/SimpleInstall/foo.h, Tests/SimpleInstall/inst.cxx,
- Tests/SimpleInstall/lib1.cxx, Tests/SimpleInstall/lib1.h,
- Tests/SimpleInstall/lib2.cxx, Tests/SimpleInstall/lib2.h,
- Tests/SimpleInstall/lib3.cxx, Tests/SimpleInstall/lib3.h,
- Tests/SimpleInstallS2/CMakeLists.txt,
- Tests/SimpleInstallS2/PostInstall.cmake,
- Tests/SimpleInstallS2/PreInstall.cmake,
- Tests/SimpleInstallS2/foo.c, Tests/SimpleInstallS2/foo.h,
- Tests/SimpleInstallS2/inst.cxx, Tests/SimpleInstallS2/lib1.cxx,
- Tests/SimpleInstallS2/lib1.h, Tests/SimpleInstallS2/lib2.cxx,
- Tests/SimpleInstallS2/lib2.h, Tests/SimpleInstallS2/lib3.cxx,
- Tests/SimpleInstallS2/lib3.h,
- Tests/StringFileTest/CMakeLists.txt,
- Tests/StringFileTest/InputFile.h.in, Tests/SubDir/CMakeLists.txt,
- Tests/SubDir/vcl_algorithm+vcl_pair+double.foo.c,
- Tests/SubDir/AnotherSubdir/pair+int.int.c,
- Tests/SubDir/AnotherSubdir/secondone.c,
- Tests/SubDir/AnotherSubdir/testfromsubdir.c,
- Tests/SubDir/Examples/CMakeLists.txt,
- Tests/SubDir/Examples/example1/CMakeLists.txt,
- Tests/SubDir/Examples/example1/example1.cxx,
- Tests/SubDir/Examples/example2/CMakeLists.txt,
- Tests/SubDir/Examples/example2/example2.cxx,
- Tests/SubDir/Executable/CMakeLists.txt,
- Tests/SubDir/Executable/test.cxx,
- Tests/SubDir/ThirdSubDir/pair+int.int1.c,
- Tests/SubDir/ThirdSubDir/pair_p_int.int1.c,
- Tests/SubDir/ThirdSubDir/testfromauxsubdir.c,
- Tests/SubDir/ThirdSubDir/thirdone.c,
- Tests/SwigTest/CMakeLists.txt, Tests/SwigTest/example.cxx,
- Tests/SwigTest/example.h, Tests/SwigTest/example.i,
- Tests/SwigTest/runme.php4, Tests/SwigTest/runme.pike,
- Tests/SwigTest/runme.pl, Tests/SwigTest/runme.py,
- Tests/SwigTest/runme.rb, Tests/SwigTest/runme.tcl,
- Tests/SwigTest/runme2.tcl,
- Tests/SystemInformation/CMakeLists.txt,
- Tests/SystemInformation/DumpInformation.cxx,
- Tests/TryCompile/CMakeLists.txt, Tests/Wrapping/CMakeLists.txt,
- Tests/Wrapping/vtkTestMoc.h, Utilities/Doxygen/CMakeLists.txt,
- Utilities/Doxygen/doxyfile.in,
- Utilities/Release/cmake_release.sh,
- Utilities/Release/config_IRIX64,
- Utilities/Release/release_dispatch.sh: updated to 2.0.1
-
-2004-06-11 15:07 hoffman
-
- * Source/cmIfCommand.cxx: BUG: fix crash for if statment due to bad
- microsoft docs on deque BUG id 917
-
-2004-06-09 18:56 martink
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG#891: When building
- CMake itself, use the new cmake to install so that the current
- cmake can be overwritten.
-
-2004-06-09 18:01 martink
-
- * Source/CMakeLists.txt: ERR: Do not use the binary directory as a
- regular expression.
-
-2004-06-09 17:36 martink
-
- * Source/cmCTest.cxx: BUG: Files in top-level directory of source
- tree were not reported in updates log.
-
-2004-06-09 11:30 andy
-
- * DartConfig.cmake: ENH: Cleanups
-
-2004-06-09 11:19 andy
-
- * Source/cmCTest.cxx: BUG: Even if update fails it should produce
- valid XML
-
-2004-06-09 10:37 andy
-
- * DartConfig.cmake: ENH: Use viewcvs instead of cvsweb
-
-2004-06-08 17:36 martink
-
- * Source/cmCTest.cxx: support for floating ponit strides
-
-2004-06-08 17:26 barre
-
- * Modules/FindDoxygen.cmake, Utilities/Doxygen/CMakeLists.txt: a)
- new version of tools like Doxygen and Graphviz now set install
- path info in win32 registery. use it. b) remove DOT_PATH, it was
- polluting the cache (can be computed from DOT, update
- CMakeLists.txt accordingly if DOT_PATH is not defined)
-
-2004-06-07 21:41 hoffman
-
- * Source/kwsys/SystemTools.cxx: BUG: undo last bug fix because it
- breaks cmake, rebuild_cache on ParaView gets tons of errors about
- not being able to create the bin directory
-
-2004-06-07 13:55 king
-
- * Source/kwsys/SystemTools.cxx: BUG: Do not create a directory on
- top of a file.
-
-2004-06-07 12:35 hoffman
-
- * Source/: cmCTest.cxx, cmCTest.h, CTest/cmCTestSubmit.cxx,
- CTest/cmCTestSubmit.h: merge from main tree, add support for scp
- submit
-
-2004-06-07 09:54 hoffman
-
- * Modules/FindFLTK.cmake: merge from main tree, fix order of
- libraries
-
-2004-06-07 09:50 hoffman
-
- * Tests/Simple/CMakeLists.txt: merge from main tree
-
-2004-06-07 09:49 hoffman
-
- * Source/kwsys/SystemTools.cxx: merge from main tree, fix find
- library so it does not find directories
-
-2004-06-07 09:48 hoffman
-
- * Source/cmMakefile.cxx: merge from main tree, detect problems
- writting files
-
-2004-06-07 09:47 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: merger from main tree,
- fix subdir preorder
-
-2004-06-07 09:46 hoffman
-
- * Source/cmLocalGenerator.cxx: merge from main tree, fix install
- with subdir and not exepath
-
-2004-06-07 09:46 hoffman
-
- * Source/: cmGlobalVisualStudio71Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: merge from main tree, fix
- crash in external project include
-
-2004-06-07 09:45 hoffman
-
- * Source/cmCreateTestSourceList.cxx: merge from main tree, do not
- write test driver each time cmake is run
-
-2004-06-07 09:44 hoffman
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: changes from main tree,
- some different -I options, CTEST_DASHBOARD_ROOT computation, some
- more error and warning matches
-
-2004-06-07 08:51 andy
-
- * Source/CTest/cmCTestSubmit.cxx: ERR: Remove warning
-
-2004-06-04 14:59 king
-
- * Source/kwsys/CMakeLists.txt: ERR: Do not add the library if no
- sources are used.
-
-2004-06-03 19:12 andy
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ERR: Remove testinf of PREORDER
- on Windows
-
-2004-06-03 17:09 andy
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ERR: Try to fix simple install on
- vs6
-
-2004-06-03 14:54 hoffman
-
- * Modules/FindFLTK.cmake: Fix for bug 903 change order of fltk
- libraries
-
-2004-06-02 13:39 andy
-
- * Source/: cmCTest.cxx, cmCTest.h, CTest/cmCTestSubmit.cxx,
- CTest/cmCTestSubmit.h: ENH: Implement scp submission
-
-2004-06-01 14:08 king
-
- * Modules/Platform/: HP-UX.cmake, IRIX.cmake, IRIX64.cmake,
- OSF1.cmake, Windows-bcc32.cmake, gcc.cmake: BUG#895: Adding
- -DNDEBUG to C and C++ flags for release builds.
-
-2004-06-01 12:55 andy
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstall/TestSubDir/CMakeLists.txt,
- SimpleInstall/TestSubDir/TSD.cxx, SimpleInstall/TestSubDir/TSD.h,
- SimpleInstall/TestSubDir/TSD_utils.cxx,
- SimpleInstallS2/CMakeLists.txt,
- SimpleInstallS2/TestSubDir/CMakeLists.txt,
- SimpleInstallS2/TestSubDir/TSD.cxx,
- SimpleInstallS2/TestSubDir/TSD.h,
- SimpleInstallS2/TestSubDir/TSD_utils.cxx: ENH: More elaborate
- install test
-
-2004-06-01 12:19 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: make sure find library does
- not find directories
-
-2004-06-01 12:07 hoffman
-
- * Source/: cmGlobalVisualStudio71Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: BUG: fix for 871, include
- external should work for 7.1 and 7.0
-
-2004-06-01 11:30 andy
-
- * Source/cmLocalGenerator.cxx: ENH: Fix bug in cmake install when
- exec/librayr output path not defined. Closes Bug #899 - subdir
- INSTALL_TARGETS INSTALL_PROGRAMS dont work
-
-2004-06-01 09:58 andy
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Fix preorder. This
- caused preorder to not work and the test passed because of
- jump-over rule
-
-2004-05-28 15:02 martink
-
- * Source/: cmCTest.cxx, cmCTest.h: ctest -S support for multiple
- ctest command arguments
-
-2004-05-27 12:56 andy
-
- * Source/cmCreateTestSourceList.cxx: BUG: When creating a test
- driver, do not remove the old file, so if nothing changes, it
- will not rebuild. Fixes Bug #885 - cmCreateTestSource overwrite
- file when running cmake
-
-2004-05-27 12:53 andy
-
- * Source/cmMakefile.cxx: ENH: Detect if there were problems writing
- file
-
-2004-05-27 11:21 king
-
- * Utilities/Release/cmake_release.sh: Updated to not include CVS
- directories in cygwin package.
-
-2004-05-26 15:27 martink
-
- * Source/cmCTest.cxx: added another error string and change the -I
- option some
-
-2004-05-25 14:34 martink
-
- * CMakeLists.txt, Utilities/Release/cmake_release.sh: merges from
- the main tree
-
-2004-05-25 11:31 martink
-
- * Modules/CMakeImportBuildSettings.cmake, Modules/FindQt.cmake,
- Modules/UseSWIG.cmake, Source/cmCTest.cxx,
- Source/cmCacheManager.cxx, Source/cmCacheManager.h,
- Source/cmGeneratedFileStream.h,
- Source/cmGetDirectoryPropertyCommand.cxx,
- Source/cmGlobalVisualStudio71Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.h,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Source/cmMacroCommand.cxx, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmSetDirectoryPropertiesCommand.cxx,
- Source/cmSetDirectoryPropertiesCommand.h,
- Source/cmSystemTools.cxx, Tests/CommandLineTest/CMakeLists.txt,
- Tests/Simple/CMakeLists.txt, Tests/TryCompile/CMakeLists.txt:
- merges from the main tree
-
-2004-05-25 11:20 martink
-
- * Modules/CMakeImportBuildSettings.cmake, Source/cmCTest.cxx:
- better error message
-
-2004-05-21 11:52 hoffman
-
- * Source/cmSystemTools.cxx: ENH: speed up for NOTFOUND
-
-2004-05-21 09:51 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx: ENH: fix rerun of cmake
- command
-
-2004-05-20 21:27 hoffman
-
- * Source/cmSystemTools.cxx: BUG: back out change due to broken
- dashboard
-
-2004-05-20 17:33 hoffman
-
- * Source/cmSystemTools.cxx: ENH: remove regex use where strcmp is
- faster
-
-2004-05-20 16:56 andy
-
- * Modules/UseSWIG.cmake, Source/cmGetDirectoryPropertyCommand.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmSetDirectoryPropertiesCommand.cxx,
- Source/cmSetDirectoryPropertiesCommand.h: ENH: Implement
- additional make clean files as a directory property instead of
- cmake variable
-
-2004-05-20 16:35 hoffman
-
- * Tests/TryCompile/CMakeLists.txt: BUG: dont put the output of a
- try compile in the output because visual stduio 7 ide will thing
- there were errors
-
-2004-05-20 16:29 hoffman
-
- * Source/: cmGeneratedFileStream.h,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h: BUG: make sure global generate
- is done when cmakelist file chagnes, also make sure guids are
- stored in the cache so the .sln file does not change every time
-
-2004-05-20 16:26 hoffman
-
- * Modules/FindQt.cmake: ENH: look for qtmoc in some other places
-
-2004-05-20 15:08 martink
-
- * Source/: cmCacheManager.cxx, cmCacheManager.h: updates to gui to
- delete cache
-
-2004-05-20 13:15 martink
-
- * Source/cmCTest.cxx: added error
-
-2004-05-19 16:04 hoffman
-
- * Source/cmMacroCommand.cxx: ENH: make it run much faster
-
-2004-05-18 15:40 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: make sure
- ADDITIONAL_MAKE_CLEAN_FILES works with spaces in the path and is
- converted to the correct native path type
-
-2004-05-18 15:39 hoffman
-
- * Source/: cmEndForEachCommand.cxx, cmForEachCommand.cxx: merge
- from main tree, detect missing endforeach
-
-2004-05-18 15:39 hoffman
-
- * Source/: cmDocumentation.cxx, cmakemain.cxx: merge from main
- tree, move doc stuff around so it does not give cmake docs to
- ctest
-
-2004-05-18 15:38 hoffman
-
- * Source/cmCTest.cxx: merge from main tree, add some more obscure
- options to ctest
-
-2004-05-18 15:37 hoffman
-
- * Modules/UseSWIG.cmake: BUG: 835 fix
-
-2004-05-18 15:37 hoffman
-
- * Modules/CMakeTestGNU.c: BUG: 825 fix
-
-2004-05-18 14:33 hoffman
-
- * Modules/CMakeTestGNU.c: BUG: fix problem where cmake thinks the
- intel compiler is gnu
-
-2004-05-17 16:31 hoffman
-
- * Modules/UseSWIG.cmake: ENH: append to the list of clean files,
- don't just set them
-
-2004-05-17 15:56 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: change
- ADDITIONAL_MAKE_CLEAN_FILES to work with spaces in the path and
- on windows with no spaces
-
-2004-05-17 15:55 hoffman
-
- * Modules/UseSWIG.cmake: BUG: Bug #835 fix, add swig generated
- files to clean target
-
-2004-05-13 16:17 hoffman
-
- * ChangeLog.manual: add a hand edited changelog
-
-2004-05-13 16:17 hoffman
-
- * ChangeLog.manual: file ChangeLog.manual was added on branch
- CMake-2-6 on 2008-03-30 13:09:04 +0000
-
-2004-05-13 13:41 martink
-
- * Source/cmCTest.cxx: new feature for continuous clean once
-
-2004-05-13 13:07 king
-
- * Utilities/Release/cmake_release.sh: Removed support for
- wxCMakeSetup dialog.
-
-2004-05-13 10:34 hoffman
-
- * Source/kwsys/: Base64.h.in, CMakeLists.txt, Process.h.in,
- ProcessWin32.c, ProcessWin32Kill.c, ProcessWin32Kill.h.in,
- kwsysHeaderDump.pl: Merge changes from the main tree, fix a bug
- in the process kill code
-
-2004-05-13 10:08 king
-
- * Source/kwsys/ProcessWin32.c: BUG: Do not wait for children to
- exit when killing them. Sometimes they do not really die.
-
-2004-05-12 15:34 martink
-
- * Source/cmEndForEachCommand.cxx: fix warning
-
-2004-05-12 14:32 martink
-
- * Source/: cmEndForEachCommand.cxx, cmForEachCommand.cxx: better
- error checking for FOREACH
-
-2004-05-12 08:46 king
-
- * Utilities/Release/cmake_release.sh: ENH: Updated for 2.0.0
- release tag.
-
-2004-05-10 18:06 andy
-
- * Source/CMakeLists.txt, Tests/CTestTest/CMakeLists.txt,
- Tests/CTestTest/test.cmake.in,
- Tests/CommandLineTest/CMakeLists.txt: ENH: Add some ctest
- coverage
-
-2004-05-10 17:53 andy
-
- * Source/: cmDocumentation.cxx, cmakemain.cxx: BUG: Move
- documentation so that it does not apear in ctest
-
-2004-05-10 17:44 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: Add a way to force ctest to
- be a new process
-
-2004-05-10 16:58 king
-
- * Utilities/Release/cmake_release.sh: ENH: Added support for using
- cvs checkout instead of cvs export.
-
-2004-05-10 16:55 will
-
- * Source/cmCTest.cxx: ENH: Added regex.
-
-2004-05-10 16:40 king
-
- * Source/: cmLocalUnixMakefileGenerator.cxx: BUG: Need to recognize
- -B linker options.
-
-2004-05-10 15:49 king
-
- * Utilities/Release/release_dispatch.sh: ENH: Adding release
- dispatch script.
-
-2004-05-10 15:48 king
-
- * Utilities/Release/: cmake_release.sh, config_CYGWIN_NT-5.1,
- config_Linux, cygwin-package.sh.in: ENH: Updated to latest
- version from 1.8 branch.
-
-2004-05-10 14:54 king
-
- * Source/kwsys/: CMakeLists.txt, ProcessWin32.c,
- ProcessWin32Kill.c, ProcessWin32Kill.h.in: ENH: Adding native
- windows process tree kill to ProcessWin32.c. This replaces the
- ProcessWin32Kill.c implementation.
-
-2004-05-10 13:38 king
-
- * Source/kwsys/: Base64.h.in, ProcessWin32.c: ERR: Avoiding
- namespace pollution: kw_sys -> kwsys_ns. Also undefining the
- macro at the correct time.
-
-2004-05-10 13:15 king
-
- * Source/kwsys/kwsysHeaderDump.pl: ENH: Renaming kwsys macro to
- kwsys_ns to work around borland preprocessor bug.
-
-2004-05-10 13:10 king
-
- * Source/kwsys/: Process.h.in, ProcessWin32Kill.h.in: ERR: Avoiding
- namespace pollution: kw_sys -> kwsys_ns. Also undefining the
- macro at the correct time.
-
-2004-05-10 12:45 hoffman
-
- * Modules/FindGTK.cmake, Modules/Platform/OSF1.cmake,
- Source/cmCTest.cxx, Source/cmCTest.h, Source/cmIfCommand.cxx,
- Source/cmLocalGenerator.cxx, Source/cmake.cxx, Source/ctest.cxx,
- Source/kwsys/Base64.h.in, Source/kwsys/CMakeLists.txt,
- Source/kwsys/Process.h.in, Source/kwsys/ProcessWin32.c,
- Source/kwsys/ProcessWin32Kill.c,
- Source/kwsys/ProcessWin32Kill.h.in, Source/kwsys/SystemTools.cxx,
- Templates/TestDriver.cxx.in: merge from main tree
-
-2004-05-10 12:08 hoffman
-
- * Source/kwsys/ProcessWin32Kill.c: ENH: remove extra include for
- compile with mingw
-
-2004-05-10 12:06 hoffman
-
- * Source/kwsys/: CMakeLists.txt, ProcessWin32Kill.c,
- ProcessWin32Kill.cxx: ENH: change to c code so it can be built
- with mingw
-
-2004-05-10 11:04 hoffman
-
- * Source/kwsys/ProcessWin32Kill.cxx: ENH: remove unused include
- file so it will build with mingw
-
-2004-05-10 10:20 martink
-
- * Source/cmCTest.cxx: fix for config type passing between ctests
-
-2004-05-09 12:27 martink
-
- * Source/cmCTest.cxx: some cleanup and fix for PVLocal
-
-2004-05-08 14:55 hoffman
-
- * Templates/TestDriver.cxx.in: BUG: remove debug pop hacks, also
- remove duplicate call to argvc function
-
-2004-05-07 14:22 andy
-
- * Source/kwsys/: Base64.h.in, Process.h.in, ProcessWin32.c,
- ProcessWin32Kill.h.in: ERR: On Borland preprocessor goes into
- recursion which adds some weid spaces in the include name. This
- fixes it
-
-2004-05-07 13:26 hoffman
-
- * Source/ctest.cxx: ENH: better documentation
-
-2004-05-07 12:53 hoffman
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: add the ability to block
- popup error dialogs in tests on windows
-
-2004-05-07 12:52 hoffman
-
- * Source/kwsys/ProcessWin32.c: BUG: make sure the correct state is
- set for expired processes
-
-2004-05-07 11:24 martink
-
- * Source/cmCTest.cxx: missing header for unix
-
-2004-05-07 10:50 martink
-
- * Source/: cmCTest.cxx, cmCTest.h: updated testingoptions for
- continuous dashboards
-
-2004-05-07 10:16 hoffman
-
- * Modules/FindGTK.cmake: Add a missing dollar sign
-
-2004-05-07 08:35 martink
-
- * Templates/TestDriver.cxx.in: fix warning maybe
-
-2004-05-06 16:06 hoffman
-
- * Source/cmLocalGenerator.cxx: BUG: make sure install works with
- spaces in the path
-
-2004-05-06 15:34 king
-
- * Source/kwsys/: CMakeLists.txt, ProcessWin32.c,
- ProcessWin32Kill.cxx, ProcessWin32Kill.h.in: ENH: Adding process
- tree killing for Win32 process execution.
-
-2004-05-06 14:30 king
-
- * Source/kwsys/Process.h.in: ERR: Added units to SetTimeout
- documentation.
-
-2004-05-06 10:30 hoffman
-
- * Source/cmCTest.cxx: BUG: fix ctest so that the search path for
- test executables produces better output and does not use config
- dir when it is not set
-
-2004-05-06 10:29 hoffman
-
- * Source/kwsys/SystemTools.cxx: BUG: fix collapse full path to
- handle a file in the root directory
-
-2004-05-06 09:47 martink
-
- * Source/cmIfCommand.cxx: horrible hack
-
-2004-05-06 08:51 martink
-
- * Templates/TestDriver.cxx.in: fix warning
-
-2004-05-05 11:41 martink
-
- * Source/cmCTest.cxx: fix for in source testing
-
-2004-05-05 10:41 martink
-
- * Modules/Platform/OSF1.cmake: a guess at some OSF compiler flags
-
-2004-05-05 10:23 hoffman
-
- * ChangeLog.txt: change log up-to 2.0 branch point
-
-2004-05-05 10:21 hoffman
-
- * ChangeLog.txt: ENH: add new change log marking 2.0 branch
-
-2004-05-05 10:19 hoffman
-
- * CMakeLists.txt, Source/cmCPluginAPI.h: ENH: move version to 2.1
- for cvs because 2.0 has been branched
-
-2004-05-05 10:17 hoffman
-
- * CMakeLists.txt, Source/cmCPluginAPI.h,
- Utilities/Release/cmake_release.sh: ENH: move version numbers to
- cmake 2.0 for branch
-
-2004-05-05 10:13 andy
-
- * Source/: cmCTest.cxx, cmake.cxx: ENH: Remove memory leak
-
-2004-05-04 14:24 hoffman
-
- * Source/CMakeLists.txt, Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: fix tests
- to work with in source builds
-
-2004-05-04 14:18 martink
-
- * Source/cmCTest.cxx: support in source builds and arg passing
-
-2004-05-04 11:24 andy
-
- * Modules/Platform/Windows-bcc32.cmake,
- Source/cmLocalUnixMakefileGenerator.cxx: ENH: Only mangle object
- files if CMAKE_MANGLE_OBJECT_FILE_NAMES is set. Only on borland
- for now.
-
-2004-05-04 09:16 martink
-
- * Source/cmIfCommand.cxx: fix warning
-
-2004-05-03 17:51 andy
-
- * Tests/SwigTest/CMakeLists.txt: ENH: Cleanup example a bit
-
-2004-05-03 16:38 andy
-
- * Source/cmCTest.cxx: ENH: After running test clear results for
- memory checking
-
-2004-05-03 16:36 andy
-
- * Source/cmCTest.cxx: ENH: Skip tests that do not have defects
-
-2004-05-03 16:35 andy
-
- * Modules/: CheckTypeSize.c, CheckTypeSize.cmake: ENH: support
- STDDEF and cleanup
-
-2004-05-03 15:33 martink
-
- * Source/cmIfCommand.cxx: minor backwards fix
-
-2004-05-03 12:34 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix to make spaces
- in paths work for jump over with borland and nmake on second
- build
-
-2004-05-03 12:02 andy
-
- * Tests/: LoadCommand/CMakeCommands/cmTestCommand.c,
- LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: ENH: Remove
- warning
-
-2004-05-03 10:10 king
-
- * Source/cmStringCommand.h: ENH: Documented use of \1 syntax in
- replace expression.
-
-2004-05-03 08:52 hoffman
-
- * Tests/: LoadCommand/CMakeCommands/cmTestCommand.c,
- LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: ENH: fix
- warnings in test
-
-2004-05-02 11:50 hoffman
-
- * Tests/: LinkLineOrder/Two.c,
- LoadCommand/CMakeCommands/cmTestCommand.c,
- LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: ENH: remove
- warnings in tests
-
-2004-05-01 22:05 hoffman
-
- * Source/ctest.cxx: BUG: putenv syntax was wrong and caused a crash
- on the SGI
-
-2004-05-01 10:08 martink
-
- * Source/: cmIfCommand.cxx, cmIfCommand.h: better if expression
- support
-
-2004-05-01 10:07 martink
-
- * Modules/FindOpenGL.cmake: fix to find opengl on some osf systems
-
-2004-05-01 09:57 andy
-
- * Source/cmCTest.cxx: ERR: Remove warning about shadow variables
-
-2004-04-30 18:21 andy
-
- * Tests/: Complex/Library/testConly.c,
- ComplexOneConfig/Library/testConly.c,
- ComplexRelativePaths/Library/testConly.c,
- SubDir/ThirdSubDir/testfromauxsubdir.c: ENH: Remove warnings
-
-2004-04-30 17:28 andy
-
- * Tests/Simple/simpleWe.cpp: ENH: Remove warning
-
-2004-04-30 15:17 andy
-
- * Source/ctest.cxx: ENH: Add environment variable that Dart sets so
- that tests can know they are being tested from Dart/CTest
-
-2004-04-30 14:27 hoffman
-
- * Tests/SwigTest/CMakeLists.txt: ENH: link in more than just python
-
-2004-04-30 14:14 andy
-
- * Source/cmCTest.cxx: ENH: Report filename of the note
-
-2004-04-30 13:41 andy
-
- * Modules/FindSWIG.cmake: ENH: More paths
-
-2004-04-30 12:54 hoffman
-
- * Modules/FindSWIG.cmake: ENH: add another place to look for
- swig.exe
-
-2004-04-30 12:52 hoffman
-
- * Modules/FindSWIG.cmake: ENH: try to find swig.exe in SWIG_DIR
-
-2004-04-30 12:36 andy
-
- * Source/cmCTest.cxx: ENH: Add support for notes in Testing/Notes
- subdirectory. This way test can write notes that will be reported
-
-2004-04-30 12:17 andy
-
- * Tests/SwigTest/: CMakeLists.txt, example.cxx, example.h,
- example.i, runme.php4, runme.pike, runme.pl, runme.py, runme.rb,
- runme.tcl, runme2.tcl: ENH: Here is test for swig module
-
-2004-04-30 12:11 andy
-
- * Modules/: FindPHP4.cmake, FindPerlLibs.cmake, FindPike.cmake,
- FindRuby.cmake, FindSWIG.cmake, UseSWIG.cmake: ENH: Initial
- import of swig. Start working towards Bug #749 - Add swig support
- module to cmake
-
-2004-04-30 11:36 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: remove duplicate
- depend on cache file and use of make variable in make target
-
-2004-04-30 11:36 hoffman
-
- * Templates/TestDriver.cxx.in: ENH: remove unused variable
-
-2004-04-30 10:32 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: remove warnings
-
-2004-04-30 08:02 hoffman
-
- * Templates/CMakeLists.txt: BUG: add missing install file
-
-2004-04-29 17:44 king
-
- * Source/kwsys/CMakeLists.txt: ENH: Added automatic adjustment of
- C++ flags to include -timplicit_local and -no_implicit_include
- for the Compaq compiler on OSF.
-
-2004-04-29 17:41 andy
-
- * Source/cmMacroCommand.cxx, Source/cmMacroCommand.h,
- Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt: ENH: Add ARGV and ARGN
- support to MACRO command. ARGV is the list of all arguments and
- ARGN is the list of all nonexpected arguments
-
-2004-04-29 15:12 andy
-
- * Source/cmForEachCommand.cxx, Source/cmForEachCommand.h,
- Tests/StringFileTest/CMakeLists.txt: ENH: Add RANGE support to
- FOREACH
-
-2004-04-29 14:51 andy
-
- * Source/: cmCTest.cxx, cmStandardIncludes.h: BUG: Add a safety
- check so that you cannot send cmOStringStream.str() to other
- stream and produce the funky hex number. This makes it impossible
- to compile such a code. Adding that exposed a whole bunch of
- places in CMake where streams were used wrongly
-
-2004-04-29 13:25 andy
-
- * Source/kwsys/SystemTools.cxx: BUG: Most of time when asking if
- file exists, we actually want to read it... Should fix Bug #809 -
- FIND_INCLUDE should check readability
-
-2004-04-29 12:33 hoffman
-
- * Source/: cmGetTargetPropertyCommand.cxx,
- cmLocalUnixMakefileGenerator.cxx: ENH: remove warnings
-
-2004-04-29 10:26 hoffman
-
- * Source/cmake.cxx: BUG: fix crash from bug id 806
-
-2004-04-28 14:25 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: remove warning
-
-2004-04-28 13:40 hoffman
-
- * Source/cmAddExecutableCommand.h: BUG: fix for bug 121 add some
- docs for MFC flag
-
-2004-04-28 13:21 hoffman
-
- * Modules/Platform/Darwin.cmake,
- Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix for bug 116
- platform files can now specify directories that should not be
- added by CMAKE
-
-2004-04-28 12:31 hoffman
-
- * Source/cmCreateTestSourceList.cxx,
- Source/cmCreateTestSourceList.h, Templates/TestDriver.cxx.in:
- ENH: make test driver more flexible by using a configured file
- instead of generating all the code. fixes bug 28
-
-2004-04-28 10:52 andy
-
- * Source/cmake.cxx, Tests/CommandLineTest/CMakeLists.txt,
- Tests/CommandLineTest/PreLoad.cmake: ENH: Add support for
- automatically preloaded cmake file. Closes Bug #802 - Add auto
- preload file support in CMake
-
-2004-04-28 10:15 andy
-
- * Source/: cmLocalUnixMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.h: ENH: Encode object files with
- funny characters in the name. It should fix Bug #418 - Borland
- 5.5.1, Templates/*.cxx files with '+' chars used in execs
-
-2004-04-28 10:09 hoffman
-
- * Tests/: Complex/VarTests.cmake, Complex/Executable/complex.cxx,
- ComplexOneConfig/VarTests.cmake,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/VarTests.cmake,
- ComplexRelativePaths/Executable/complex.cxx: ENH: add a test for
- EQUAL in if
-
-2004-04-28 10:05 andy
-
- * Tests/SubDir/ThirdSubDir/: pair_p_int.int1.c,
- testfromauxsubdir.c: ENH: More special cases
-
-2004-04-28 10:00 hoffman
-
- * Modules/: CheckIncludeFile.cmake, CheckIncludeFileCXX.cmake: ENH:
- fixes for optional flag arguments to check include macros
-
-2004-04-28 09:59 hoffman
-
- * Source/cmIfCommand.cxx: BUG: fix logic in EQUAL if test
-
-2004-04-28 09:52 hoffman
-
- * Modules/CheckIncludeFileCXX.cmake: BUG: fix for bug 80, check
- include cxx now has an optional argument that can is added to the
- cxx flags
-
-2004-04-28 09:51 hoffman
-
- * Source/: cmIfCommand.cxx, cmIfCommand.h: ENH: add a numeric EQUAL
- to the IF statment, very useful for variable arguments in MACROS
-
-2004-04-27 14:16 andy
-
- * Source/kwsys/: Base64.c, Base64.h.in, CMakeLists.txt,
- Configure.h.in, Configure.hxx.in, Copyright.txt, Directory.cxx,
- Directory.hxx.in, EncodeExecutable.c, Process.h.in,
- ProcessFwd9x.c, ProcessUNIX.c, ProcessWin32.c, README.txt,
- RegularExpression.cxx, RegularExpression.hxx.in, SystemTools.cxx,
- SystemTools.hxx.in, kwsysHeaderDump.pl,
- kwsysPlatformCxxTests.cmake, kwsysPlatformCxxTests.cxx,
- kwsysPrivate.h, kwsys_ios_fstream.h.in, kwsys_ios_iosfwd.h.in,
- kwsys_ios_iostream.h.in, kwsys_ios_sstream.h.in, kwsys_stl.h.in,
- test1.cxx, testIOS.cxx, testProcess.c: ENH: Move to VolView
- branch
-
-2004-04-27 12:03 andy
-
- * Source/cmGetTargetPropertyCommand.cxx,
- Tests/CustomCommand/CMakeLists.txt: ENH: Add LOCATION to
- GET_TARGET_PROPERTY. Closes Bug #34 - Add to GET_TARGET_PROPERTY
- location of target
-
-2004-04-27 12:02 andy
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h:
- ENH: GetSafeDefinition is now in cmMakefile
-
-2004-04-27 11:30 andy
-
- * Source/: cmMakefile.cxx, cmMakefile.h: ENH: Add method to get
- definition even if it does not exists
-
-2004-04-27 11:08 andy
-
- * Tests/CustomCommand/: generator.cxx, wrapper.cxx: ERR: Remove
- warnings from tests
-
-2004-04-27 09:22 andy
-
- * Source/cmSourceFile.cxx, Tests/SubDir/CMakeLists.txt,
- Tests/SubDir/vcl_algorithm+vcl_pair+double.foo.c,
- Tests/SubDir/AnotherSubdir/pair+int.int.c,
- Tests/SubDir/AnotherSubdir/secondone.c,
- Tests/SubDir/AnotherSubdir/testfromsubdir.c,
- Tests/SubDir/ThirdSubDir/pair+int.int1.c,
- Tests/SubDir/ThirdSubDir/testfromauxsubdir.c,
- Tests/SubDir/ThirdSubDir/thirdone.c: BUG: Fix aus source dir and
- add better testing of it
-
-2004-04-27 08:30 hoffman
-
- * Source/: cmLoadCommandCommand.cxx, cmMacroCommand.cxx: WRN:
- remove warnings
-
-2004-04-26 18:51 andy
-
- * Source/cmCTest.cxx: ENH: Another one of those nasty hex numbers
- in the ctest output
-
-2004-04-26 18:49 andy
-
- * Tests/SubDir/AnotherSubdir/: secondone.c, testfromsubdir.c: ENH:
- Add extra test files
-
-2004-04-26 17:45 hoffman
-
- * Source/cmLoadCommandCommand.cxx: ENH: fix for bug id 27, add a
- signal handler for crashes in loaded commands
-
-2004-04-26 17:32 andy
-
- * Source/CMakeLists.txt, Source/cmSourceFile.cxx,
- Tests/SubDir/CMakeLists.txt, Tests/SubDir/Executable/test.cxx:
- ENH: When source file is in subdirectory put object file in
- subdirectory. Fixes Bug #290 - Source files in subdirectories
- should produce object files in subdirectories
-
-2004-04-26 13:42 andy
-
- * Modules/FindTCL.cmake: ENH: Add TCL_FOUND
-
-2004-04-26 13:42 andy
-
- * Templates/: CMakeLists.txt, install-sh: ENH: With new install
- framework we don't need install-sh any more
-
-2004-04-26 13:42 andy
-
- * Tests/SystemInformation/: CMakeLists.txt, DumpInformation.cxx:
- ENH:Add test for GET/SET_DIRECTORY_PROPERTY
-
-2004-04-26 11:23 andy
-
- * Source/: cmake.cxx, cmake.h: BUG: Fix resolving of infinite loops
- while CMakeSetup/ccmake still running
-
-2004-04-26 11:12 martink
-
- * Tests/: Complex/CMakeLists.txt, Complex/Executable/complex.cxx,
- ComplexOneConfig/CMakeLists.txt,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/Executable/complex.cxx: added tests for var
- args with macros
-
-2004-04-26 11:11 martink
-
- * Source/: cmMacroCommand.cxx, cmMacroCommand.h: macros now support
- varargs
-
-2004-04-26 11:00 king
-
- * Modules/FindITK.cmake, Modules/FindVTK.cmake,
- Source/cmFindPackageCommand.cxx: BUG#682: Adding environment
- variable check to FIND_PACKAGE command.
-
-2004-04-26 10:49 king
-
- * Source/cmFindPackageCommand.cxx: STYLE: Removed trailing
- whitespace.
-
-2004-04-26 10:19 king
-
- * Modules/: CheckVariableExists.c: BUG#502: Do not let optimizing
- compilers think the symbol exists. Require the symbol by making
- the return value depend on it to force linking.
-
-2004-04-23 16:26 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate,
- Templates/EXEWinHeader.dsptemplate: BUG: fix for bug 769
- CMAKE_STANDARD_LIBRARIES now used in ides
-
-2004-04-23 16:20 andy
-
- * Source/: cmCommands.cxx, cmGetDirectoryPropertyCommand.cxx,
- cmGetDirectoryPropertyCommand.h, cmMakefile.h,
- cmSetDirectoryPropertiesCommand.cxx,
- cmSetDirectoryPropertiesCommand.h: ENH: Add
- GET/SET_DIRECTORY_PROPERTY/PROPERTIES commands so that we can
- change include directories and get all sorts of things. Closes
- Bug #25 - Get_CMAKE_PROPERTIES
-
-2004-04-23 13:12 hoffman
-
- * Modules/CMakeSystemSpecificInformation.cmake,
- Source/cmLocalVisualStudio7Generator.cxx: ENH: add verbose make
- abilility to visual studio 7
-
-2004-04-23 12:52 hoffman
-
- * Source/CMakeLists.txt, Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.h, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmSubdirCommand.cxx,
- Tests/PreOrder/CMakeLists.txt, Tests/PreOrder/simple.cxx,
- Tests/PreOrder/Library/CMakeLists.txt,
- Tests/PreOrder/Library/simpleLib.cxx: ENH: add SUBDIR PREORDER
- and fix clean for non-relative paths
-
-2004-04-23 10:03 andy
-
- * Source/: cmAddExecutableCommand.cxx, cmAddExecutableCommand.h:
- ENH: Unify with other variables
-
-2004-04-23 09:12 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx: ENH: allow verbose
- makefile flag to remove nologo from all commands so you can see
- them in visual studio 6
-
-2004-04-23 08:50 king
-
- * Source/cmCTest.cxx: ERR: Fixed unused variable assignment
- warning.
-
-2004-04-22 18:04 andy
-
- * Source/cmCTest.cxx: ENH: Add DynamicAnalisys support. The old
- Purify is still available through --compatibility-mode
-
-2004-04-22 17:23 hoffman
-
- * Modules/: FindwxWidgets.cmake, UsewxWidgets.cmake: BUG: fix for
- bug 618
-
-2004-04-22 17:20 hoffman
-
- * Modules/FindGLUT.cmake: BUG: fix for bug 743
-
-2004-04-22 17:08 hoffman
-
- * Modules/FindGTK.cmake: BUG: fix for bug 607
-
-2004-04-22 16:58 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Templates/staticLibHeader.dsptemplate: ENH: add support for
- static library property STATIC_LIBRARY_FLAGS
-
-2004-04-22 16:16 hoffman
-
- * Modules/FindDCMTK.cmake: ENH: contribution from Ian Scott,
- thanks.
-
-2004-04-22 15:59 martink
-
- * Modules/FindOpenGL.cmake: update comments
-
-2004-04-22 14:38 hoffman
-
- * Source/cmTarget.cxx: ENH: add a property for HAS_CXX to a target
- that will force the use of a c++ compiler in the linking of an
- executable that contains only c code
-
-2004-04-22 14:11 andy
-
- * Source/kwsys/SystemTools.cxx: ERR: Verify that getenv returned
- something before using it
-
-2004-04-22 13:37 martink
-
- * Source/cmAddCustomCommandCommand.h: update docs
-
-2004-04-22 13:24 hoffman
-
- * Source/: cmFindLibraryCommand.h, cmFindPathCommand.cxx,
- cmFindPathCommand.h, cmMakefile.cxx, kwsys/SystemTools.cxx,
- kwsys/SystemTools.hxx.in: BUG: fix for 301 CMAKE_LIBRARY_PATH and
- CMAKE_INCLUDE_PATH env vars now used in FIND_LIBRARY and
- FIND_PATH in addtion to and before PATH
-
-2004-04-22 11:12 hoffman
-
- * Modules/FindwxWindows.cmake: BUG: fix bad if statements
-
-2004-04-22 09:44 hoffman
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: BUG 178: make top level
- cmakelist file a source in ALL_BUILD
-
-2004-04-21 17:54 andy
-
- * Source/cmGlobalVisualStudio71Generator.cxx: ERR: Fix install on
- VS71
-
-2004-04-21 16:23 king
-
- * Source/: cmListFileLexer.c, cmListFileLexer.h,
- cmListFileLexer.in.l: ENH: Added cmListFileLexer_SetString method
- to allow a string to be parsed as input.
-
-2004-04-21 16:07 hoffman
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: add dep
-
-2004-04-21 15:09 hoffman
-
- * Modules/FindwxWindows.cmake: ENH: fix for mingw
-
-2004-04-21 11:42 andy
-
- * Source/cmFileCommand.cxx: BUG: Put all files to manifest
-
-2004-04-21 11:36 king
-
- * Source/cmAddCustomTargetCommand.cxx: BUG: Fixed check of number
- of arguments.
-
-2004-04-21 11:33 king
-
- * Modules/: FindITK.cmake, FindVTK.cmake: ENH: Terminate with a
- FATAL_ERROR if FIND_PACKAGE command was called with REQUIRED
- argument and package was not found.
-
-2004-04-21 11:32 andy
-
- * Source/cmLocalGenerator.cxx: ENH: Do preinstall and postinstall
- script even if the target is not installed
-
-2004-04-21 10:34 andy
-
- * Source/: cmakemain.cxx, ctest.cxx: ENH: Report error and exit
- when the current directory is not specified
-
-2004-04-21 10:33 andy
-
- * Source/kwsys/SystemTools.cxx: BUG: Prevent crash when the current
- working directory cannot be established
-
-2004-04-20 18:28 andy
-
- * Source/cmSystemTools.cxx: BUG: If the line ends without new-line
- character, Split should still return something
-
-2004-04-19 17:21 andy
-
- * Source/cmCTest.cxx: RNH: Support NoDartCoverage in the binary
- directorory
-
-2004-04-19 10:36 king
-
- * Source/: cmFindPackageCommand.cxx, cmFindPackageCommand.h:
- ENH#696: Adding REQUIRED option to FIND_PACKAGE command. It will
- terminate the cmake configure step if the package is not found.
-
-2004-04-18 14:41 andy
-
- * Source/: cmFileCommand.cxx, cmFileCommand.h,
- cmGlobalGenerator.cxx, cmMakefile.cxx, cmMakefile.h,
- cmWriteFileCommand.cxx, cmWriteFileCommand.h, cmake.cxx, cmake.h:
- ENH: Add check for infinite loops. Make sure that files written
- using WRITE_FILE and FILE WRITE are not used as input files.
- Fixes Bug #678 - WRITE_FILE and FILE(WRITE...) lead to infinite
- loops
-
-2004-04-18 13:16 andy
-
- * Source/: cmLocalUnixMakefileGenerator.cxx, cmSourceFile.cxx: ENH:
- Add support for adding object files and sources. This way you can
- use external program such as assembler or fortran to generate
- object files. Also star of fixing: Bug #757 - add .o file as a
- source file
-
-2004-04-16 14:55 martink
-
- * Source/cmCTest.cxx: better args handling for -I options
-
-2004-04-16 14:52 martink
-
- * Source/: cmCTest.cxx, cmCTest.h: better args handling for -I
- option
-
-2004-04-16 13:36 andy
-
- * Source/cmCTest.cxx: ENH: Better reporting of what tests failed
- and write a file with failed tests
-
-2004-04-16 09:50 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for bug 91
-
-2004-04-15 16:11 andy
-
- * Source/CursesDialog/cmCursesStringWidget.cxx: ENH: Add support
- for HOME and END keys. Also fix Bug #666 - In CCMake when
- deleting something, it does not stop at the beginning of line
-
-2004-04-15 15:46 andy
-
- * Source/CursesDialog/cmCursesMainForm.cxx: BUG: Prevent deleting
- not existing variables and therefore prevent crash. Fixes: Bug
- #750 - CCMake crashes when deleting all variables
-
-2004-04-15 13:59 andy
-
- * Tests/: Complex/CMakeLists.txt, Complex/Executable/complex.cxx,
- Complex/Library/CMakeLists.txt, Complex/Library/file2.cxx,
- ComplexOneConfig/CMakeLists.txt,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexOneConfig/Library/file2.cxx,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/Executable/complex.cxx,
- ComplexRelativePaths/Library/CMakeLists.txt,
- ComplexRelativePaths/Library/file2.cxx: ENH: Add test for
- REMOVE_DEFINITION
-
-2004-04-15 13:58 andy
-
- * Source/: cmCommands.cxx, cmMakefile.cxx, cmMakefile.h,
- cmRemoveDefinitionsCommand.cxx, cmRemoveDefinitionsCommand.h:
- ENH: ADD REMOVE_DEFINITION command. Fix feature request: Bug #182
- - Add opposite to ADD_DEFINITIONS
-
-2004-04-15 13:15 hoffman
-
- * Source/cmOptionCommand.cxx: BUG: fix for 282
-
-2004-04-15 13:09 andy
-
- * Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Templates/CMakeLists.txt: ENH: Handle make install target on
- Visual Studio 6 and 7 and install templates
-
-2004-04-15 12:07 andy
-
- * Source/: cmLocalUnixMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.h: ENH: Ok, that is it. Remove old
- install and replace it with new
-
-2004-04-15 11:55 hoffman
-
- * Modules/FindMFC.cmake: BUG: fix for bug 506
-
-2004-04-15 11:38 hoffman
-
- * Source/cmSiteNameCommand.cxx: BUG: fix for bug 689
-
-2004-04-15 08:22 hoffman
-
- * Modules/: CheckForPthreads.c, CheckFunctionExists.c,
- CheckTypeSize.c, CheckVariableExists.c, TestBigEndian.c: ENH: fix
- tests for non-ansi c on hp and remove warnings for ansi c
-
-2004-04-14 17:02 hoffman
-
- * Modules/FindITK.cmake: BUG: fix for bug 608
-
-2004-04-14 16:58 hoffman
-
- * Source/cmGlobalVisualStudio7Generator.cxx: BUG: fix external
- projects for vc7
-
-2004-04-14 15:56 hoffman
-
- * Modules/: CheckFunctionExists.c, TestBigEndian.c: ENH: remove
- warnings from try compiles
-
-2004-04-14 14:25 king
-
- * Source/: cmDocumentation.cxx, cmDocumentation.h: ENH: Renamed
- --help-list-commands to --help-command-list and split --help
- [command] into separate --help and --help-command cmd options.
-
-2004-04-14 13:40 king
-
- * Source/: cmDocumentation.cxx, cmDocumentation.h: ENH: Added
- --help-list-commands option.
-
-2004-04-14 08:55 hoffman
-
- * Source/cmCTest.cxx: ENH: remove warning
-
-2004-04-13 18:27 hoffman
-
- * Source/cmCTest.cxx: ENH: fix warning
-
-2004-04-13 16:32 hoffman
-
- * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx: ENH: add the ability
- to run a limited sub-set of the tests
-
-2004-04-12 21:01 hoffman
-
- * Modules/FindGTK.cmake: BUG: fix for bug 593
-
-2004-04-09 09:53 andy
-
- * Source/cmCTest.cxx: BUG: Display string not some weird pointer
-
-2004-04-09 08:37 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: add full path
- libraries to the depend information
-
-2004-04-08 17:13 andy
-
- * Modules/MacOSXBundleInfo.plist.in,
- Source/cmAddExecutableCommand.cxx,
- Source/cmAddExecutableCommand.h: ENH: Improve Mac OSX bundle
- support
-
-2004-04-07 12:07 martink
-
- * Source/cmLocalVisualStudio7Generator.cxx: fix problem with custom
- command
-
-2004-04-07 09:58 hoffman
-
- * Source/cmTarget.cxx: ENH: remove warnings on sgi
-
-2004-04-05 10:35 king
-
- * DartConfig.cmake: ERR: Need to use latest testing configuration
- even on branch.
-
-2004-04-02 13:21 king
-
- * Source/cmTarget.cxx: BUG: _LINK_TYPE cache variable should never
- be switched from optimized to debug or vice versa.
-
-2004-04-02 09:43 hoffman
-
- * Source/CMakeLists.txt, Tests/Jump/Library/Shared/CMakeLists.txt:
- ENH: fix for apple
-
-2004-04-02 08:09 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix warning and
- shadow variable
-
-2004-04-01 16:07 martink
-
- * Source/cmCTest.cxx: fix for missing valid images
-
-2004-04-01 15:28 king
-
- * Source/kwsys/ProcessFwd9x.c: ENH: Added comment for future work
- to make forwarding executable always statically linked.
-
-2004-04-01 14:37 andy
-
- * Source/cmCTest.cxx: BUG: Fix bug on windows. You cannot cout
- std::string directly
-
-2004-04-01 14:11 andy
-
- * Source/: cmCTest.cxx, CTest/cmCTestSubmit.cxx,
- CTest/cmCTestSubmit.h: ENH: Add logging of submitting
-
-2004-04-01 09:59 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix non relative
- paths
-
-2004-04-01 08:59 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix for non
- relative paths with spaces in the path
-
-2004-03-31 16:44 king
-
- * Modules/FindTclsh.cmake: ENH: Added registry check for
- ActiveState Tcl 8.4.6.
-
-2004-03-31 11:26 andy
-
- * Source/cmCTest.cxx: ENH: Reduce number of
- GetCurrentWorkingDirectory
-
-2004-03-31 11:24 andy
-
- * Source/cmCTest.cxx: ENH: Change to the new directory
-
-2004-03-31 10:01 hoffman
-
- * Source/: CMakeLists.txt, cmLocalGenerator.cxx,
- cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h,
- cmake.cxx: ENH: make relative paths optional and default off, and
- add a test for them
-
-2004-03-29 12:51 king
-
- * Source/cmConfigureFileCommand.cxx: BUG#485: Fixing on CMake 1.8
- branch.
-
-2004-03-29 12:04 king
-
- * Source/: cmSystemTools.h, cmTryCompileCommand.cxx: BUG#679:
- Merging fix to CMake 1.8 branch.
-
-2004-03-28 17:59 andy
-
- * Source/: cmFileCommand.cxx, cmLocalGenerator.cxx: ENH: When
- installing project, write manifest
-
-2004-03-28 16:36 andy
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Add a way to clean
- additional files
-
-2004-03-28 16:00 andy
-
- * Source/: cmConfigureFileCommand.cxx, cmConfigureFileCommand.h,
- cmMakefile.cxx: ENH: If configure file fails do not create
- directory
-
-2004-03-28 10:14 andy
-
- * Source/cmIncludeCommand.cxx: ERR: Remove debug
-
-2004-03-28 10:14 andy
-
- * Source/cmLocalGenerator.cxx: BUG: Support paths with spaces
-
-2004-03-28 09:46 andy
-
- * Source/: cmIncludeCommand.h, cmSetTargetPropertiesCommand.h: DOC:
- Fix comment
-
-2004-03-27 20:59 andy
-
- * Source/cmLocalGenerator.cxx,
- Source/cmSetTargetPropertiesCommand.h,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstall/PostInstall.cmake,
- Tests/SimpleInstall/PreInstall.cmake,
- Tests/SimpleInstallS2/CMakeLists.txt,
- Tests/SimpleInstallS2/PostInstall.cmake,
- Tests/SimpleInstallS2/PreInstall.cmake: ENH: Add pre and post
- install script support
-
-2004-03-27 19:52 andy
-
- * Source/cmIncludeCommand.cxx, Source/cmIncludeCommand.h,
- Tests/LoadCommand/CMakeLists.txt,
- Tests/LoadCommandOneConfig/CMakeLists.txt: ENH: Add support for
- importing modules without specifying path
-
-2004-03-27 19:52 andy
-
- * Source/cmFindPackageCommand.cxx: ERR: That slash is unnecessary
-
-2004-03-27 13:20 starreveld
-
- * Modules/FindOpenGL.cmake: ERR: Shouldn't be adding xlibs to
- opengllibs on osx
-
-2004-03-25 16:06 martink
-
- * Source/cmCTest.cxx: coverage change that will probably end in an
- infinite loop
-
-2004-03-25 08:45 king
-
- * Source/: cmLinkLibrariesCommand.h,
- cmTargetLinkLibrariesCommand.h: ENH: Clarified documentation for
- LINK_LIBRARIES and TARGET_LINK_LIBRARIES.
-
-2004-03-24 16:31 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Added support to
- library flags parser for -Wl and -R options.
-
-2004-03-23 15:02 king
-
- * Modules/Platform/Windows-cl.cmake: ERR: Fixed incorrect
- documentation for CMAKE_CXX_WARNING_LEVEL. Submitted by David
- Cole.
-
-2004-03-20 20:37 andy
-
- * Source/cmCTest.cxx: ENH: Fix warning
-
-2004-03-19 14:48 king
-
- * Source/cmTryCompileCommand.cxx: ENH: Clarified recursive
- TRY_COMPILE error message.
-
-2004-03-19 09:34 andy
-
- * Source/cmCTest.cxx: ERR: Fix warnings about wrong format
-
-2004-03-18 09:52 andy
-
- * Source/cmCTest.cxx: ERR: Fix build on broken C++ compiles with no
- != operator for std::string
-
-2004-03-17 11:30 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: BUG: change directory before
- running test and remember test number
-
-2004-03-17 09:42 berk
-
- * Source/: cmSystemTools.h, cmTryCompileCommand.cxx: BUG: When
- error occurs, try compiles should still work
-
-2004-03-17 08:20 andy
-
- * Source/cmCTest.h: ERR: On some compilers structure inside class
- cannot reference private typdefs from the same class
-
-2004-03-16 12:54 king
-
- * Source/cmExportLibraryDependencies.cxx: ERR: Added missing
- include for auto_ptr.
-
-2004-03-15 14:54 andy
-
- * Source/kwsys/CMakeLists.txt: ENH: Always include KWSys header
- files directory
-
-2004-03-15 10:44 king
-
- * Source/cmExportLibraryDependencies.cxx: BUG#675: If not
- appending, do copy-if-different on exported file.
-
-2004-03-15 09:35 andy
-
- * Source/cmCTest.h: ERR: Fix build
-
-2004-03-14 12:28 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: Add support for future tags
-
-2004-03-14 11:23 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: Count tests while they go.
- Also in the logs report more stuff like elapsed time etc.
-
-2004-03-12 14:43 king
-
- * Source/kwsys/ProcessUNIX.c: ERR: SIGSEGV == SIGBUS on BeOS.
-
-2004-03-10 14:33 hoffman
-
- * Source/: cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio71Generator.h: ENH: update vs71 generator to
- support excluded subdirs
-
-2004-03-09 16:28 hoffman
-
- * Source/CMakeLists.txt, Source/cmEnableTestingCommand.cxx,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmGlobalVisualStudio6Generator.h,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.h,
- Source/cmLocalGenerator.cxx, Source/cmLocalGenerator.h,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.h, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmSubdirCommand.cxx,
- Source/cmSubdirCommand.h, Tests/SubDir/Executable/test.cxx: ENH:
- add new subdirectory exclude from top option
-
-2004-03-09 16:20 hoffman
-
- * Tests/SubDir/: CMakeLists.txt, Examples/CMakeLists.txt,
- Examples/example1/CMakeLists.txt, Examples/example1/example1.cxx,
- Examples/example2/CMakeLists.txt, Examples/example2/example2.cxx,
- Executable/CMakeLists.txt, Executable/test.cxx: ENH: create new
- test to test subdir exclude
-
-2004-03-09 12:31 andy
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: Properly build
- WIN32 executables
-
-2004-03-09 07:50 andy
-
- * Source/: cmMakefile.cxx, cmMakefile.h: ENH: Try to remove warning
-
-2004-03-08 22:24 andy
-
- * Source/cmInstallTargetsCommand.h: ENH: Add comment about
- RUNTIME_DIRECTORY
-
-2004-03-08 19:05 andy
-
- * Source/: cmConfigureFileCommand.cxx, cmMakefile.cxx,
- cmMakefile.h: ENH: Move implementation of configure_file to
- cmMakefile, so that other classes can use it
-
-2004-03-04 10:05 king
-
- * Source/cmStringCommand.cxx, Source/cmStringCommand.h,
- Tests/StringFileTest/CMakeLists.txt,
- Tests/StringFileTest/InputFile.h.in: ENH: Added STRING(CONFIGURE
- ...) command.
-
-2004-03-03 18:18 king
-
- * Source/: cmConfigureFileCommand.cxx, cmMakefile.cxx,
- cmMakefile.h: ENH: Moved variable and #cmakedefine replacement
- from cmConfigureFileCommand.cxx to a ConfigureString method on
- cmMakefile. This will give other commands access to the
- configuration code.
-
-2004-02-29 15:13 andy
-
- * Tests/COnly/CMakeLists.txt: ERR: Too much commits
-
-2004-02-29 15:13 andy
-
- * Source/cmMakefile.cxx, Tests/COnly/CMakeLists.txt: ERR: Fix
- GetModulesFile
-
-2004-02-29 14:23 andy
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Handle backticks as
- a valid library
-
-2004-02-29 09:53 andy
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ERR: Cleanup and remove
- warning
-
-2004-02-29 09:51 andy
-
- * Source/cmLocalCodeWarriorGenerator.cxx: ERR: Fix build on Mac
-
-2004-02-28 18:59 andy
-
- * Modules/MacOSXBundleInfo.plist.in,
- Source/cmAddExecutableCommand.cxx, Source/cmCPluginAPI.cxx,
- Source/cmFindPackageCommand.cxx, Source/cmLocalGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmTarget.h: ENH: Styart working on
- bundles support and abstract WIN32_EXECUTABLE
-
-2004-02-24 18:48 andy
-
- * Source/cmSystemTools.cxx: ERR: Fix crash. We should check output
- before appending to it
-
-2004-02-24 10:05 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: BUG: CVS update fix. If the CVS
- command was not set there was no indication that something went
- wrong. Now it will make sure it does. Also start working on
- multiple configuration scripts
-
-2004-02-24 10:04 andy
-
- * Source/cmSystemTools.cxx: ENH: Put Process execution errors in
- output and honor verbosity
-
-2004-02-23 09:56 andy
-
- * Source/: cmCTest.cxx, cmLocalGenerator.cxx: ENH: Improve coverage
- support and add more verbosity
-
-2004-02-23 09:54 king
-
- * Source/kwsys/Directory.cxx: ERR: Merging 1.7->1.9 changes to
- CMake 1.8 branch.
-
-2004-02-22 22:07 andy
-
- * Source/: cmCMakeMinimumRequired.h, cmConfigureFileCommand.h,
- cmElseCommand.h, cmEndIfCommand.h, cmExecProgramCommand.h,
- cmFindFileCommand.h, cmFindLibraryCommand.h, cmFindPathCommand.h,
- cmFindProgramCommand.h, cmGetFilenameComponentCommand.h,
- cmMakeDirectoryCommand.h, cmRemoveCommand.h,
- cmSeparateArgumentsCommand.h, cmWriteFileCommand.h: ENH: Make
- more commands scriptable
-
-2004-02-22 22:06 andy
-
- * Source/CursesDialog/cmCursesMainForm.cxx: BUG: Prevent crash when
- deleting the last cache item
-
-2004-02-22 13:14 andy
-
- * Source/: cmCPluginAPI.cxx, cmFLTKWrapUICommand.cxx,
- cmGetCMakePropertyCommand.cxx,
- cmGetSourceFilePropertyCommand.cxx, cmLoadCacheCommand.h,
- cmOutputRequiredFilesCommand.h, cmQTWrapCPPCommand.h,
- cmQTWrapUICommand.h, cmSetSourceFilesPropertiesCommand.cxx,
- cmSourceFilesCommand.cxx, cmUseMangledMesaCommand.h,
- cmVTKMakeInstantiatorCommand.cxx, cmVTKWrapJavaCommand.h,
- cmVTKWrapPythonCommand.h, cmVTKWrapTclCommand.h,
- cmWrapExcludeFilesCommand.cxx: ENH: Cleanups
-
-2004-02-20 14:46 andy
-
- * Source/cmake.cxx, Source/cmakemain.cxx,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: Ok, when doing cmake
- -P you should not have to squish filename next to -P, There
- should be space between
-
-2004-02-20 09:25 andy
-
- * Source/cmCTest.cxx: ENH: Handle wrong library on sun and no
- project on visual studio 7
-
-2004-02-19 10:33 andy
-
- * Source/CMakeLists.txt: ENH: Comment out test
-
-2004-02-19 10:32 andy
-
- * CMakeLists.txt, Source/CMakeLists.txt: ENH: Cleanup
-
-2004-02-19 10:29 andy
-
- * Source/cmIfCommand.h: ENH: Make IF command scriptable
-
-2004-02-19 10:28 king
-
- * Docs/cmake-mode.el: BUG: Fixed identification of ( and ) tokens
- to avoid finding them in string literals.
-
-2004-02-19 09:35 andy
-
- * Source/cmMacroCommand.h: ENH: Macro should be scriptable
-
-2004-02-19 09:35 andy
-
- * Source/cmCTest.cxx: ERR: Do not exit when find bad custom files.
-
-2004-02-17 08:35 hoffman
-
- * Source/cmDynamicLoader.cxx: BUG: don't crash when loading a
- module that does not exist
-
-2004-02-16 10:48 hoffman
-
- * Source/: cmConfigure.cmake.h.in, cmDynamicLoader.cxx: ENH: use
- cmake variables for cmDynamicLoader to figure out library prefix
- and extensions
-
-2004-02-16 09:50 hoffman
-
- * Modules/Platform/Windows-gcc.cmake, Source/cmDynamicLoader.cxx:
- BUG: fix mingw module load tests
-
-2004-02-14 16:55 hoffman
-
- * Modules/Platform/Windows-gcc.cmake: shared modules are not linked
- so do not use lib prefix
-
-2004-02-13 10:51 hoffman
-
- * Modules/Platform/Windows-gcc.cmake, Source/kwsys/SystemTools.cxx:
- ENH: change mingw to use libfoo.dll instead of foo.dll since it
- can link to them
-
-2004-02-12 21:44 andy
-
- * Source/cmFileCommand.cxx: ENH: Add DESTDIR support
-
-2004-02-12 13:38 king
-
- * Source/kwsys/Directory.cxx: ERR: Fixed use of _findfirst for MSVC
- 6.
-
-2004-02-12 11:23 martink
-
- * Source/kwsys/Directory.cxx: fix incorrect signature for findfirst
-
-2004-02-12 09:13 hoffman
-
- * Source/kwsys/SystemTools.cxx, Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: Fix install test fail on
- mingw
-
-2004-02-12 08:58 andy
-
- * Source/kwsys/SystemTools.cxx: BUG: Like cygwin, mingw does not
- produce .lib file for shared libraries, so search for dll when
- searching for library
-
-2004-02-11 10:56 andy
-
- * Source/cmCTest.cxx: ERR: Remove warning
-
-2004-02-11 08:28 andy
-
- * Source/kwsys/SystemTools.cxx, Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: On Cygwin shared
- libraries have only .dll file no .lib file, so when finding
- library on cygwin, search also for .dll. Also fix SimpleInstall
- test on cygwin
-
-2004-02-10 15:53 andy
-
- * Source/cmCTest.cxx: ERR: Use filepath followed by filename not
- another filepath
-
-2004-02-10 15:51 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: Add logging of tests while
- running. This way you can actually see the output as it goes
-
-2004-02-09 16:40 andy
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ENH: Some cleanup and try to fix
- Visual Studio builds
-
-2004-02-09 15:34 andy
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: -l or whatever
- should be at beginning of line.
-
-2004-02-09 11:33 andy
-
- * Source/CMakeLists.txt, Tests/SimpleInstall/inst.cxx,
- Tests/SimpleInstallS2/inst.cxx: ENH: Some systems do not handle
- spaces in the path
-
-2004-02-08 20:08 andy
-
- * Source/CMakeLists.txt, Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: Install stage2 to
- handle runtime problem
-
-2004-02-08 13:23 andy
-
- * Source/cmCTest.cxx: ENH: Attempt to support tests in funky
- subdirectories
-
-2004-02-08 12:04 andy
-
- * Source/CMakeLists.txt, Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: Add second part of
- SimpleInstall
-
-2004-02-06 16:43 king
-
- * Source/cmGlob.cxx: BUG#480: Merging 1.10->1.11 changes to 1.8
- branch.
-
-2004-02-06 15:26 andy
-
- * Source/cmGlob.cxx: ENH: When nor specifying full path, make sure
- it actually works, on broken filesystems fix case of files.
-
-2004-02-06 15:18 andy
-
- * Source/cmFileCommand.cxx: ENH: Handle script mode
-
-2004-02-06 13:47 andy
-
- * Source/: cmEndForEachCommand.h, cmForEachCommand.h,
- cmStringCommand.h: ENH: Make more commands scriptable
-
-2004-02-06 10:49 andy
-
- * Modules/FindJNI.cmake: ENH: Better finding of JNI
-
-2004-02-05 10:12 andy
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ERR: Fix test on windows with
- network paths
-
-2004-02-04 09:42 berk
-
- * Tests/: SimpleInstall/foo.c, SimpleInstall/foo.h,
- SimpleInstall/inst.cxx, SimpleInstallS2/foo.c,
- SimpleInstallS2/foo.h, SimpleInstallS2/inst.cxx: ENH: Fix test on
- HP-UX
-
-2004-02-03 11:23 andy
-
- * Source/cmFileCommand.cxx: ENH: Fix support for debug postfix
-
-2004-02-03 10:53 andy
-
- * Source/: cmFileCommand.cxx, cmLocalGenerator.cxx, cmSetCommand.h:
- ENH: Add support for install postfix
-
-2004-02-03 10:25 andy
-
- * Source/cmLocalGenerator.cxx: ENH: Cleanup output
-
-2004-02-03 09:26 andy
-
- * Source/cmLocalUnixMakefileGenerator.cxx,
- Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstallS2/CMakeLists.txt: ENH: Fix ADD_DEPENDENCIES
- on Unix makefiles and fix SimpleInstall test not to link the
- module
-
-2004-02-02 18:23 andy
-
- * Tests/: SimpleInstall/CMakeLists.txt,
- SimpleInstallS2/CMakeLists.txt: ENH: Make test work on windows
-
-2004-02-02 18:23 andy
-
- * Source/cmCTest.cxx: ENH: Propagate build type
-
-2004-02-01 16:48 andy
-
- * Tests/: SimpleInstall/lib2.h, SimpleInstall/lib3.h,
- SimpleInstallS2/lib2.h, SimpleInstallS2/lib3.h: ENH: Fix exports
-
-2004-02-01 12:53 andy
-
- * Source/CMakeLists.txt, Tests/SimpleInstall/CMakeLists.txt,
- Tests/SimpleInstall/foo.c, Tests/SimpleInstall/foo.h,
- Tests/SimpleInstall/inst.cxx, Tests/SimpleInstall/lib1.cxx,
- Tests/SimpleInstall/lib1.h, Tests/SimpleInstall/lib2.cxx,
- Tests/SimpleInstall/lib2.h, Tests/SimpleInstall/lib3.cxx,
- Tests/SimpleInstall/lib3.h, Tests/SimpleInstallS2/CMakeLists.txt,
- Tests/SimpleInstallS2/foo.c, Tests/SimpleInstallS2/foo.h,
- Tests/SimpleInstallS2/inst.cxx, Tests/SimpleInstallS2/lib1.cxx,
- Tests/SimpleInstallS2/lib1.h, Tests/SimpleInstallS2/lib2.cxx,
- Tests/SimpleInstallS2/lib2.h, Tests/SimpleInstallS2/lib3.cxx,
- Tests/SimpleInstallS2/lib3.h: ENH: Add install test
-
-2004-01-29 10:29 hoffman
-
- * Source/cmCTest.cxx: BUG: keep output
-
-2004-01-29 09:01 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: remove depend on
- CMakeCache for rebuild_cache target to avoid double rebuild cache
-
-2004-01-28 13:17 hoffman
-
- * Source/cmCTest.cxx: BUG: After running builtin ctest, go back to
- the original directory
-
-2004-01-28 11:22 andy
-
- * Source/cmLocalGenerator.cxx: ERR: Remove cout
-
-2004-01-28 10:59 king
-
- * Source/kwsys/ProcessWin32.c: BUG: Corrected detection of
- exceptional exit code.
-
-2004-01-28 10:59 king
-
- * Source/kwsys/testProcess.c: ENH: Added exception string to
- abnormal termination report.
-
-2004-01-28 09:47 martink
-
- * Source/cmCTest.cxx: Including exception string in test's error
- output.
-
-2004-01-28 08:11 andy
-
- * Source/cmFileCommand.cxx: ERR: Remove warning about unused
- variable
-
-2004-01-27 17:12 hoffman
-
- * Source/cmaketest.cxx: remove old file
-
-2004-01-27 17:12 hoffman
-
- * Source/cmCTest.cxx: ENH: add a dynamic loader flush cache
-
-2004-01-27 17:11 andy
-
- * Source/cmCTest.cxx: ENH: Only display the precontext or
- postcontext up to the next or previous warning or error
-
-2004-01-27 14:51 hoffman
-
- * Source/cmSystemTools.cxx: BUG: fix FMM
-
-2004-01-27 12:37 andy
-
- * Source/: cmFileCommand.cxx, cmInstallTargetsCommand.cxx,
- cmLocalGenerator.cxx, cmLocalGenerator.h, cmTarget.h: ENH: Make
- install on windows seems to work now
-
-2004-01-27 09:53 andy
-
- * Source/cmFileCommand.cxx: ERR: Fix build on Mingw. Looks like
- Mingw is more like visual studio... Thanks Fred Wheeler
-
-2004-01-27 09:42 martink
-
- * Source/cmCTest.cxx: fix for backup restore
-
-2004-01-27 09:05 andy
-
- * Source/cmFileCommand.cxx: ERR: And yet another set of constants
- for file permissions
-
-2004-01-27 09:05 andy
-
- * Source/: cmStandardIncludes.h, cmSystemTools.h: ERR: Properly
- handle mode_t on borland
-
-2004-01-26 17:52 andy
-
- * Source/cmStandardIncludes.h: ERR Fix borland
-
-2004-01-26 16:29 andy
-
- * Source/cmLocalGenerator.cxx: BUG: Fix for spaces in path
-
-2004-01-26 16:24 andy
-
- * Source/: cmFileCommand.cxx, cmLocalGenerator.cxx: ENH: Several
- windows bugs and fixes
-
-2004-01-26 16:05 andy
-
- * Source/: cmFileCommand.cxx, cmFileCommand.h: ENH: Add unix style
- install in file command
-
-2004-01-26 15:50 andy
-
- * Source/: cmConfigureFileCommand.cxx, cmSystemTools.cxx,
- cmSystemTools.h: ENH: Preserve permissions when copying files
-
-2004-01-26 15:03 andy
-
- * Source/: cmStandardIncludes.h, cmSystemTools.cxx: ERR: Fix build
- problems on Visual Studio 6
-
-2004-01-26 14:55 andy
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Add code for
- setting and getting permissions
-
-2004-01-26 14:41 andy
-
- * Source/: cmCTest.cxx, cmSystemTools.cxx: ENH: Improve calling of
- RunSingle command and fix compile error
-
-2004-01-26 14:00 hoffman
-
- * Source/cmSystemTools.cxx: ENH: forgot return value
-
-2004-01-26 13:57 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: Add support for
- CTestCustom.ctest, which modifies some behavior of ctest
-
-2004-01-26 13:32 hoffman
-
- * Source/: cmCTest.cxx, cmGlobalGenerator.cxx, cmSystemTools.cxx,
- cmSystemTools.h, cmake.cxx, cmake.h: BUG: fix put/get env
- problems
-
-2004-01-26 13:32 hoffman
-
- * Source/kwsys/ProcessWin32.c: ENH: fix for build on cygwin mingw
-
-2004-01-25 19:30 andy
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h: ERR: Fix std::
- namespace
-
-2004-01-25 19:25 andy
-
- * Source/: cmGlobalGenerator.cxx, cmLocalGenerator.cxx,
- cmLocalGenerator.h: ENH: Start adding new installation framework
-
-2004-01-24 12:52 king
-
- * Tests/Jump/Executable/CMakeLists.txt: BUG: Due to backward
- ordering, Visual Studio GUIs need the link directories for the
- libraries the first time.
-
-2004-01-23 15:17 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: .lib from a .dll
- should go in m_LibraryOutputPath not m_ExecutableOutputPath
-
-2004-01-23 13:43 hoffman
-
- * Tests/Jump/Library/Shared/CMakeLists.txt: BUG: libdir was set
- wrong on windows
-
-2004-01-23 13:43 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: jump over feature
- was not working for windows
-
-2004-01-23 13:19 andy
-
- * DartConfig.cmake: ENH: Fix url
-
-2004-01-23 13:01 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for debug
- flags into project files
-
-2004-01-23 13:01 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: more fixes for
- relative path stuff
-
-2004-01-23 12:46 andy
-
- * DartConfig.cmake: ENH: Add nightly reporting
-
-2004-01-23 12:40 hoffman
-
- * Modules/CMakeDetermineCCompiler.cmake: ENH: use CFLAGS for
- testing for gnu
-
-2004-01-23 11:26 andy
-
- * DartConfig.cmake: ENH: More continuous e-mail stuff
-
-2004-01-23 11:22 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: convert the .o
- files to not have ./
-
-2004-01-23 09:54 king
-
- * Source/: cmLocalGenerator.cxx, cmLocalUnixMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.h: BUG: Fix to build rule generation
- with relative paths.
-
-2004-01-23 09:48 king
-
- * DartConfig.cmake: ENH: Improving CMake continuous dashboards.
- Sending continuous email for all kinds of failures.
-
-2004-01-23 09:44 martink
-
- * Source/: cmCTest.cxx, cmCTest.h: fixes to backup restore options
-
-2004-01-23 08:53 king
-
- * Source/cmLocalGenerator.cxx: STYLE: Deleted trailing whitespace.
-
-2004-01-23 08:51 king
-
- * Source/CMakeLists.txt: ERR: Fixed project name for Jump tests.
-
-2004-01-22 14:44 king
-
- * Source/kwsys/: Process.h.in, ProcessUNIX.c: ERR: Fixed function
- prototypes with zero arguments to be C-style.
-
-2004-01-22 11:16 andy
-
- * Source/kwsys/ProcessUNIX.c: BUG: If working directory does not
- exists, exit
-
-2004-01-22 11:10 andy
-
- * Source/cmCTest.cxx: BUG: If at least one test fails, the percent
- cannot be greater than 99
-
-2004-01-22 10:54 king
-
- * Source/: cmLocalUnixMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.h: BUG: Fix jump-over-and-build for
- missing libraries when the relative path to the library is
- different between the source and destination of the jump.
-
-2004-01-22 10:51 king
-
- * Tests/Jump/Library/: CMakeLists.txt, jumpShared.cxx,
- jumpStatic.cxx, Shared/CMakeLists.txt, Shared/jumpShared.cxx,
- Static/CMakeLists.txt, Static/jumpStatic.cxx: ENH: Improved test
- to have a different relative path name for libraries between the
- Executable and Library directories.
-
-2004-01-22 10:36 king
-
- * Source/CMakeLists.txt: ENH: Added JumpWithLibOut and JumpNoLibOut
- to test whether jumping over to build a missing library works.
-
-2004-01-22 10:30 king
-
- * Source/: cmake.cxx, kwsys/SystemTools.cxx: BUG:
- CopyFileIfDifferent should return success if the files did not
- differ or if the copy succeeded. It should return failure only
- if the files were different and the copy failed.
-
-2004-01-22 10:23 king
-
- * Tests/Jump/Library/CMakeLists.txt: ERR: Fixed post-build rule to
- copy shared library correctly.
-
-2004-01-22 09:56 king
-
- * Tests/Jump/: CMakeLists.txt, Executable/CMakeLists.txt,
- Executable/jumpExecutable.cxx, Library/CMakeLists.txt,
- Library/jumpShared.cxx, Library/jumpStatic.cxx: ENH: Adding test
- for jumping over and building a missing library.
-
-2004-01-21 18:39 andy
-
- * Modules/CMakeDefaultMakeRuleVariables.cmake: ENH: This will
- probably break some obscure version of gcc, but until then,
- everybody doing profiling will be happy
-
-2004-01-21 15:55 king
-
- * Source/cmSystemTools.cxx: BUG: ::Stdout method should flush cout
- after writing data.
-
-2004-01-21 15:12 king
-
- * Modules/CMakeTestCCompiler.cmake: BUG#530: Merging 1.9 -> 1.10
- changes to CMake 1.8 branch.
-
-2004-01-21 15:11 king
-
- * Modules/CMakeTestCCompiler.cmake: BUG#530: Using #error to report
- a nice error message if the C compiler is set to a C++ compiler.
-
-2004-01-21 15:08 king
-
- * Modules/TestBigEndian.c: BUG: Use return statement instead of
- exit.
-
-2004-01-21 15:07 martink
-
- * Source/kwsys/ProcessUNIX.c: merge from the main tree
-
-2004-01-21 14:43 king
-
- * Source/cmCTest.cxx: BUG: empty method on std string is a test,
- and does not set the string to empty.
-
-2004-01-21 14:27 hoffman
-
- * Source/cmCTest.cxx: BUG: fix leak
-
-2004-01-21 14:06 king
-
- * Source/cmCTest.cxx: BUG: Fixed buffer size in MakeXMLSafe.
-
-2004-01-21 13:38 andy
-
- * Source/kwsys/ProcessUNIX.c: BUG: Fix valgrind error. If working
- directory is not set do not do chdir
-
-2004-01-21 09:49 hoffman
-
- * Source/cmCTest.cxx: BUG: if a test is not found, it should fail
-
-2004-01-21 09:25 hoffman
-
- * Source/cmCTest.cxx: ENH: make sure tests that are not run fail,
- and make sure that it does not try to run directories with the
- same name as tests
-
-2004-01-20 14:36 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: bug fix for IBM
- broken xlC 6.0.0.4 compiler
-
-2004-01-20 14:35 hoffman
-
- * Source/cmSystemTools.cxx: ENH: dont do relative paths when
- nothing is relative
-
-2004-01-19 09:30 king
-
- * Source/kwsys/testProcess.c: ERR: Fixed unused argument warning.
-
-2004-01-19 09:30 king
-
- * Source/kwsys/CMakeLists.txt: ERR: Must include Dart module after
- PROJECT command.
-
-2004-01-17 12:47 king
-
- * Source/kwsys/CMakeLists.txt: ENH: Added Dart testing
- configuration.
-
-2004-01-17 12:46 king
-
- * Source/kwsys/testProcess.c: ENH: Added a recursive process
- execution test.
-
-2004-01-16 14:00 martink
-
- * Source/cmCTest.cxx: fix so that ctest is run even with bad cmake
- result
-
-2004-01-15 17:07 andy
-
- * Source/cmCTest.cxx: ENH: Handle spaces in the dart output of test
-
-2004-01-15 14:04 king
-
- * Modules/Platform/Windows-bcc32.cmake: BUG#518: Merging 1.30->1.31
- changes to CMake 1.8 branch.
-
-2004-01-15 13:57 andy
-
- * Modules/Platform/Windows-bcc32.cmake: ENH: Fix typos about
- copying exe flags to shared flags and to modules. Bug #518 - On
- borland, initial flags for bulding module are wrong
-
-2004-01-15 08:50 king
-
- * Source/cmSystemTools.cxx: ENH: Added more error state checks to
- RunSingleCommand.
-
-2004-01-13 12:28 andy
-
- * Source/cmCTest.cxx: ERR: Do not ignore argument after nocmake
-
-2004-01-13 11:22 hoffman
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: add no cmake option
-
-2004-01-13 09:05 king
-
- * Modules/CMakeDetermineCCompiler.cmake: BUG: Merging 1.23->1.25
- changes to 1.8 branch for correct setting of MINGW flag on cygwin
- with -mno-cygwin flag.
-
-2004-01-13 09:01 king
-
- * Modules/FindTclsh.cmake: Merging 1.6->1.7 changes to 1.8 branch
- to improve automatic finding of Tcl.
-
-2004-01-13 09:01 king
-
- * Modules/FindTCL.cmake: Merging 1.30->1.31 changes to 1.8 branch
- to improve automatic finding of Tcl.
-
-2004-01-13 09:00 hoffman
-
- * Modules/CMakeDetermineCCompiler.cmake: BUG: use the flags when
- testing for type of gnu compiler
-
-2004-01-12 16:16 hoffman
-
- * Source/kwsys/SystemTools.cxx: BUG: try to get access to work on
- borland
-
-2004-01-12 13:53 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: use access over stat for
- performance
-
-2004-01-12 13:30 andy
-
- * Source/: cmCTest.cxx, kwsys/SystemTools.cxx: ENH: Only look for
- executable until found
-
-2004-01-09 15:57 barre
-
- * Modules/: FindTCL.cmake, FindTclsh.cmake: ENH: make it a bit
- smarter at finding stuff: now you need only to set *ONE* of
- (TCL|TK)_INCLUDE_PATH, (TCL|TK)_LIBRARY, TCL_TCLSH and the rest
- will be found.
-
-2004-01-09 14:14 hoffman
-
- * Source/cmCTest.cxx: ENH: clean up the output some more
-
-2004-01-09 14:05 hoffman
-
- * Source/cmCTest.cxx: ENH: clean up output
-
-2004-01-09 13:35 hoffman
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: add an ability to specify a
- build run directory
-
-2004-01-09 12:35 hoffman
-
- * Source/cmCTest.cxx: ENH: clean up output
-
-2004-01-09 12:28 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: add a local target
- for libraries as well as executables
-
-2004-01-09 11:23 king
-
- * CMakeLists.txt, Modules/CMakeDetermineSystem.cmake,
- Modules/CMakeFindFrameworks.cmake,
- Modules/CMakeTestCCompiler.cmake,
- Modules/CMakeTestCXXCompiler.cmake, Modules/Dart.cmake,
- Modules/FindOpenGL.cmake, Modules/FindPythonLibs.cmake,
- Modules/FindQt.cmake, Modules/FindTCL.cmake,
- Modules/Platform/Windows-cl.cmake, Source/cmCTest.cxx,
- Source/cmCreateTestSourceList.cxx,
- Source/cmGlobalCodeWarriorGenerator.cxx,
- Source/cmGlobalGenerator.cxx,
- Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmGlobalVisualStudio71Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmLinkLibrariesCommand.cxx,
- Source/cmLocalCodeWarriorGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmOptionCommand.cxx, Source/cmQTWrapCPPCommand.cxx,
- Source/cmSiteNameCommand.cxx, Source/cmStringCommand.cxx,
- Source/cmTarget.cxx, Source/cmTargetLinkLibrariesCommand.cxx,
- Source/cmTryCompileCommand.cxx, Source/cmTryCompileCommand.h,
- Source/kwsys/SystemTools.cxx, Utilities/Release/cmake_release.sh,
- Utilities/Release/config_Linux,
- Utilities/Release/cygwin-package.sh.in: ENH: Merged Release-1-8-2
- -> Release-1-8-3 changes to CMake-LatestRelease branch.
-
-2004-01-09 10:13 king
-
- * Source/cmCTest.cxx: BUG: Updated warning regex to match in more
- cases.
-
-2004-01-09 08:54 hoffman
-
- * Source/cmCTest.cxx: BUG: if the build fails then the test fails
-
-2004-01-09 07:22 hoffman
-
- * Source/CMakeLists.txt: BUG: fix arguments to wxwindows test
-
-2004-01-08 09:59 hoffman
-
- * Source/: cmCTest.cxx, cmGlobalGenerator.cxx, cmake.cxx: BUG: make
- sure null terminator is in the right place for putenv static char
- array
-
-2004-01-08 09:23 king
-
- * Source/cmake.cxx: BUG: Fix environment variable setting.
-
-2004-01-08 09:19 king
-
- * Source/cmGlobalGenerator.cxx: BUG: Fix environment variable
- setting.
-
-2004-01-08 08:19 hoffman
-
- * Source/: cmCTest.cxx: ENH: remove warning
-
-2004-01-07 16:24 hoffman
-
- * Source/cmCTest.cxx: temp remove of optimization internal ctest
- use putenv causing trouble on cygwin
-
-2004-01-07 16:15 hoffman
-
- * Source/cmCTest.cxx: ENH: print errors when they are there
-
-2004-01-07 14:22 hoffman
-
- * Source/cmCTest.cxx: BUG: initialize ivar
-
-2004-01-07 13:27 martink
-
- * Source/cmCreateTestSourceList.cxx: merge fix from main tree
-
-2004-01-07 13:20 hoffman
-
- * Source/cmCTest.cxx: BUG: fix command line parser bug
-
-2004-01-07 12:50 hoffman
-
- * Source/cmCTest.cxx: ENH: remove warning
-
-2004-01-07 11:31 hoffman
-
- * Source/cmCTest.cxx: ENH: remove warnings
-
-2004-01-07 11:24 hoffman
-
- * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h,
- cmSystemTools.cxx, cmSystemTools.h, cmWin32ProcessExecution.cxx,
- cmake.cxx, ctest.cxx: ENH: add new feature to ctest so that it
- can cmake, build and run a test executable
-
-2004-01-07 09:22 king
-
- * Source/cmGlobalVisualStudio6Generator.cxx: BUG: Fixed crash in
- extern MSVC project support.
-
-2004-01-07 09:22 hoffman
-
- * Source/cmGlobalVisualStudio6Generator.cxx: BUG: fix crash in
- external dsp include
-
-2004-01-07 09:10 king
-
- * Source/cmGlobalVisualStudio6Generator.cxx: BUG: Fixed crash in
- extern MSVC project support.
-
-2004-01-07 09:08 hoffman
-
- * Source/cmGlobalVisualStudio6Generator.cxx: BUG: fix crash
-
-2004-01-07 09:07 king
-
- * Source/cmCTest.cxx: BUG: Added missing Generator attributes to
- submitted XML files.
-
-2004-01-07 08:37 martink
-
- * Modules/Dart.cmake: merge change from main tree
-
-2004-01-06 19:13 andy
-
- * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx: ENH: Improve notes
- support (now you can specify them with the rest of the command
- line), improve reading of configuration file (now it actually
- rereads configuration file after running
- update/configure/build...). Remember the model
- (nightly/experimental) across runs
-
-2004-01-06 16:56 king
-
- * Source/kwsys/: kwsys_std.h.in, kwsys_std_fstream.h.in,
- kwsys_std_iosfwd.h.in, kwsys_std_iostream.h.in,
- kwsys_std_sstream.h.in: ENH: Removing empty source file now that
- makefile dependencies should have updated.
-
-2004-01-06 16:18 hoffman
-
- * Source/: cmLocalGenerator.cxx, cmLocalUnixMakefileGenerator.cxx:
- ENH: fix for hp make and relative paths never have targets with a
- ./ at the start of the name
-
-2004-01-06 15:06 king
-
- * Utilities/Release/config_Linux: Fixed build for new machine.
-
-2004-01-06 13:21 king
-
- * Utilities/Release/config_Linux: ENH: Updated configuration for
- new build location.
-
-2004-01-05 16:29 martink
-
- * Source/cmGlob.cxx: fix for glob command
-
-2004-01-05 15:30 king
-
- * Source/cmFindPackageCommand.cxx: BUG: Fixed typo in error
- message.
-
-2004-01-05 13:20 king
-
- * Utilities/Release/cmake_release.sh: ENH: Updated TAG for 1.8.3
- release.
-
-2004-01-05 13:19 king
-
- * CMakeLists.txt, CMakeSystemConfig.txt.in,
- CMakeWindowsSystemConfig.txt, bootstrap,
- Modules/CMakeCCompiler.cmake.in,
- Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakeDetermineJavaCompiler.cmake,
- Modules/CMakeImportBuildSettings.cmake, Modules/CMakeLists.txt,
- Modules/CMakeSystemSpecificInformation.cmake,
- Modules/CMakeTestCCompiler.cmake,
- Modules/CMakeTestCXXCompiler.cmake, Modules/CMakeTestGNU.c,
- Modules/CheckTypeSize.cmake, Modules/CheckVariableExists.cmake,
- Modules/Dart.cmake, Modules/FindGTK.cmake, Modules/FindJNI.cmake,
- Modules/FindJava.cmake, Modules/FindLATEX.cmake,
- Modules/FindPythonLibs.cmake, Modules/FindTCL.cmake,
- Modules/FindTclsh.cmake, Modules/FindThreads.cmake,
- Modules/FindWish.cmake, Modules/FindwxWindows.cmake,
- Modules/TestForANSIForScope.cmake,
- Modules/TestForSTDNamespace.cmake, Modules/Platform/AIX.cmake,
- Modules/Platform/BSDOS.cmake, Modules/Platform/Darwin.cmake,
- Modules/Platform/FreeBSD.cmake, Modules/Platform/HP-UX.cmake,
- Modules/Platform/IRIX.cmake, Modules/Platform/IRIX64.cmake,
- Modules/Platform/MP-RAS.cmake, Modules/Platform/NetBSD.cmake,
- Modules/Platform/OSF1.cmake, Modules/Platform/OpenBSD.cmake,
- Modules/Platform/RISCos.cmake, Modules/Platform/SCO_SV.cmake,
- Modules/Platform/SINIX.cmake, Modules/Platform/SunOS.cmake,
- Modules/Platform/True64.cmake, Modules/Platform/ULTRIX.cmake,
- Modules/Platform/UNIX_SV.cmake, Modules/Platform/UnixWare.cmake,
- Modules/Platform/Windows-bcc32.cmake,
- Modules/Platform/Windows-cl.cmake,
- Modules/Platform/Windows-gcc.cmake,
- Modules/Platform/Windows.cmake, Modules/Platform/Xenix.cmake,
- Modules/Platform/gcc.cmake, Source/CMakeLists.txt,
- Source/cmAddCustomTargetCommand.cxx, Source/cmAddTestCommand.cxx,
- Source/cmCPluginAPI.h, Source/cmCTest.cxx, Source/cmCTest.h,
- Source/cmCacheManager.cxx, Source/cmCommands.cxx,
- Source/cmDynamicLoader.cxx, Source/cmFindFileCommand.h,
- Source/cmFindLibraryCommand.h, Source/cmFindPathCommand.h,
- Source/cmFindProgramCommand.h,
- Source/cmGlobalBorlandMakefileGenerator.cxx,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalNMakeMakefileGenerator.cxx,
- Source/cmGlobalUnixMakefileGenerator.cxx,
- Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmLoadCommandCommand.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.h,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmMakeDepend.cxx, Source/cmMakefile.cxx,
- Source/cmQTWrapCPPCommand.cxx, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h, Source/cmTargetLinkLibrariesCommand.cxx,
- Source/cmTryCompileCommand.h, Source/cmWin32ProcessExecution.cxx,
- Source/cmake.cxx, Source/cmakemain.cxx, Source/cmakewizard.cxx,
- Source/cmakewizard.h, Source/CTest/cmCTestSubmit.cxx,
- Source/CursesDialog/ccmake.cxx, Source/kwsys/ProcessUNIX.c,
- Source/kwsys/ProcessWin32.c, Source/kwsys/SystemTools.cxx,
- Templates/EXEWinHeader.dsptemplate,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/complex.cxx,
- Tests/Complex/Library/CMakeLists.txt,
- Tests/ComplexOneConfig/Library/CMakeLists.txt,
- Tests/ComplexRelativePaths/Library/CMakeLists.txt,
- Utilities/CMakeLists.txt, Utilities/Release/cmake_release.sh,
- Utilities/Release/config_AIX,
- Utilities/Release/config_CYGWIN_NT-5.1,
- Utilities/Release/config_Darwin, Utilities/Release/config_HP-UX,
- Utilities/Release/config_IRIX64, Utilities/Release/config_Linux,
- Utilities/Release/config_OSF1, Utilities/Release/config_SunOS,
- Utilities/Release/cygwin-package.sh.in: ENH: Merging CMake
- Release-1-8-2 to CMake-LatestRelease.
-
-2004-01-05 12:58 king
-
- * Source/cmLocalVisualStudio6Generator.cxx: BUG#416: Merging
- 1.49->1.50 changes to 1.8 branch.
-
-2004-01-05 12:53 martink
-
- * Source/cmLocalVisualStudio6Generator.cxx: fix for long lines with
- post build rules
-
-2004-01-05 11:22 king
-
- * Source/cmQTWrapCPPCommand.cxx: BUG#421: Merging 1.16->1.17
- changes to 1.8 branch.
-
-2004-01-05 11:13 andy
-
- * Source/cmQTWrapCPPCommand.cxx, Tests/Wrapping/CMakeLists.txt,
- Tests/Wrapping/vtkTestMoc.h: BUG: Fix dependency to input file
- for QT_WRAP_CPP. Bug #421 - QT_WRAP_CPP
-
-2004-01-05 11:02 king
-
- * Source/kwsys/kwsysPlatformCxxTests.cmake: ERR: Removed use of
- FILE command and using WRITE_FILE instead. We would still like
- CMake 1.6 to be able to build CMake CVS, and kwsys is used.
-
-2004-01-02 10:23 martink
-
- * Modules/Dart.cmake: fix for multiple nexted projects
-
-2003-12-31 08:56 andy
-
- * bootstrap: ERR: Fix bootstrap for the changes in kwsys
-
-2003-12-30 17:15 king
-
- * Source/kwsys/: CMakeLists.txt, Configure.hxx.in,
- kwsysPlatformCxxTests.cxx, kwsys_ios_fstream.h.in,
- kwsys_ios_iosfwd.h.in, kwsys_ios_iostream.h.in,
- kwsys_ios_sstream.h.in: ENH: Renamed KWSYS_IOS_HAVE_* macros to
- KWSYS_IOS_USE_* to be more readable in the C++ sources.
-
-2003-12-30 16:23 king
-
- * Source/kwsys/: Process.h.in, ProcessUNIX.c, ProcessWin32.c,
- test1.cxx: ENH: Added GetExceptionString method to provide an
- error description when GetState returns Exception.
-
-2003-12-30 14:33 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Removed stray
- debugging statement left from merge.
-
-2003-12-30 13:40 king
-
- * Source/kwsys/SystemTools.cxx: ERR: Use of kwsys_stl was merged
- from main tree. The CMake 1.8 branch still uses kwsys_std.
-
-2003-12-30 13:39 king
-
- * Source/kwsys/SystemTools.cxx: BUG: Merging 1.30->1.31 changes to
- CMake 1.8 branch.
-
-2003-12-30 13:38 king
-
- * Source/kwsys/SystemTools.cxx: BUG: CollapseFullPath was calling
- SplitProgramPath before changing the working directory to
- in_base.
-
-2003-12-30 10:26 king
-
- * Source/cmSystemTools.cxx: BUG: Do not call
- cmsysProcess_GetErrorString unless GetState returns State_Error.
-
-2003-12-30 08:41 hoffman
-
- * Source/: cmLocalGenerator.cxx, cmLocalUnixMakefileGenerator.cxx:
- BUG: borland make treats ./target and target as different also
- convert to outputpathrelative may get passed a quoted path
-
-2003-12-30 07:55 andy
-
- * Source/cmCTest.cxx: ENH: Remove warnings about unused variables
-
-2003-12-29 16:35 martink
-
- * Source/cmEnableTestingCommand.h: sets variable now
-
-2003-12-29 16:27 martink
-
- * Source/cmLocalUnixMakefileGenerator.cxx: only generate test
- target when enabled
-
-2003-12-29 16:27 martink
-
- * Source/cmEnableTestingCommand.cxx: sets variable now
-
-2003-12-29 16:19 king
-
- * Modules/: CMakeFindFrameworks.cmake, FindPythonLibs.cmake,
- FindTCL.cmake: BUG#423: Merged fix to 1.8 branch.
-
-2003-12-29 16:18 king
-
- * Modules/: CMakeFindFrameworks.cmake, FindPythonLibs.cmake,
- FindTCL.cmake: BUG#423: Fixed search for frameworks on OSX.
-
-2003-12-29 16:15 king
-
- * Source/cmSiteNameCommand.cxx: BUG#407: Merged fix to 1.8 branch.
-
-2003-12-29 16:10 andy
-
- * Source/cmSiteNameCommand.cxx: ENH: Do not use nslookup. All we
- really care is hostname. If somebody wants something fancy, just
- set it yourself. Fixes Bug #407 - nslookup is being deprecated
- for Red Hat and Fedora distributions
-
-2003-12-29 15:37 king
-
- * Source/cmOptionCommand.cxx: BUG#408: Merged fix to 1.8 branch.
-
-2003-12-29 15:26 andy
-
- * Source/cmOptionCommand.cxx: ERR: Fix problems with OPTION and -D
- on command line. Fix Bug #408 - Using -D without a type does not
- always work
-
-2003-12-29 15:15 king
-
- * Modules/CMakeDetermineSystem.cmake: BUG#426: Merged fix to 1.8
- branch.
-
-2003-12-29 15:14 king
-
- * Modules/FindQt.cmake: BUG#425: Merged fix to 1.8 branch.
-
-2003-12-29 14:55 hoffman
-
- * Source/: cmLocalGenerator.cxx, cmLocalUnixMakefileGenerator.cxx:
- BUG: use ./ infront of the current directory
-
-2003-12-29 14:26 andy
-
- * Modules/CMakeDetermineSystem.cmake: ERR: On systems where uname
- does not support -p, try -m. Fixes Bug #426 -
- CMAKE_SYSTEM_PROCESSOR unknown and inconsistent
-
-2003-12-29 14:19 andy
-
- * Modules/FindQt.cmake: ENH: Add QT_ASSISTANTCLIENT_LIBRARY
- support. Fixes Bug #425 - Suggsted mod to FindQt.cmake to handle
- qassistantclient.lib
-
-2003-12-29 13:41 king
-
- * Source/cmGlobalGenerator.cxx: BUG#427: Merged fix to 1.8 branch.
-
-2003-12-29 13:37 king
-
- * Source/: cmGlobalCodeWarriorGenerator.cxx,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx, cmLinkLibrariesCommand.cxx,
- cmLocalCodeWarriorGenerator.cxx,
- cmLocalUnixMakefileGenerator.cxx,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx, cmTarget.cxx,
- cmTargetLinkLibrariesCommand.cxx: BUG#445: Merging fix to 1.8
- branch.
-
-2003-12-29 13:32 king
-
- * Source/cmStringCommand.cxx: BUG#452: Merging 1.10->1.11 changes
- to 1.8 branch.
-
-2003-12-29 13:31 king
-
- * Source/cmStringCommand.cxx: BUG#452: Fix to argument checking for
- TOUPPER and TOLOWER subcommands.
-
-2003-12-29 13:26 king
-
- * Modules/FindOpenGL.cmake: BUG: Added missing include path to
- search.
-
-2003-12-29 13:14 king
-
- * Source/kwsys/SystemTools.cxx: ERR: Removed ftime ambiguity
- created by poor C++ standard headers provided by Borland 5.5.
-
-2003-12-26 15:02 andy
-
- * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx: ENH: Add option to
- submit notes. Implements Bug #465 - Add notes support to CTest
-
-2003-12-26 15:00 andy
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: BUG: For
- consistency, use cmStdString. Also, there was a bug in
- SplitString which make it lose the first character.
-
-2003-12-24 15:02 andy
-
- * Source/cmLocalGenerator.cxx: BUG: On Windows network paths do not
- really work as regular paths, so when the binary directory is on
- the network, we will not support relative paths
-
-2003-12-24 13:17 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: use cd pwd trick
- for path for libnames
-
-2003-12-24 10:51 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: use full paths via
- pwd for -L paths on unix shells
-
-2003-12-24 10:07 kmorel
-
- * Source/kwsys/kwsys_ios_iosfwd.h.in: Fixed a problem where
- ifstream was not the same as kwsys_ios::ifstream on MSVC 6.0.
-
-2003-12-24 09:19 andy
-
- * Source/cmCTest.cxx: ENH: Fix coverage to actually work and add
- support for .NoDartCoverage
-
-2003-12-23 15:01 hoffman
-
- * Source/: cmLocalGenerator.cxx, cmTryCompileCommand.cxx,
- cmake.cxx, cmake.h: BUG: keep more of the case information
-
-2003-12-23 13:31 hoffman
-
- * Source/cmLocalGenerator.cxx: BUG: fix for vtk build
-
-2003-12-23 11:03 king
-
- * bootstrap: ENH: Merging changes from KWSys-IOS-bp to
- KWSys-IOS-b2t-1-mp to main tree. This corresponds to the same
- merge in KWSys. Fixes for bootstrapping on cygwin are also
- included.
-
-2003-12-23 11:03 king
-
- * Source/kwsys/: CMakeLists.txt, Configure.hxx.in, Directory.cxx,
- RegularExpression.cxx, RegularExpression.hxx.in, SystemTools.cxx,
- SystemTools.hxx.in, kwsysPlatformCxxTests.cmake,
- kwsysPlatformCxxTests.cxx, kwsys_ios_fstream.h.in,
- kwsys_ios_iosfwd.h.in, kwsys_ios_iostream.h.in,
- kwsys_ios_sstream.h.in, kwsys_std.h.in, kwsys_std_fstream.h.in,
- kwsys_std_iosfwd.h.in, kwsys_std_iostream.h.in,
- kwsys_std_sstream.h.in, kwsys_stl.h.in, test1.cxx, testIOS.cxx:
- ENH: Merging changes from KWSys-IOS-bp to KWSys-IOS-b2t-1-mp to
- main tree. This introduces separate kwsys_ios and kwsys_stl
- macros needed to support all platforms.
-
-2003-12-23 10:44 king
-
- * bootstrap: BUG: Fixed 3rd C++ test to use endl correctly. Fixed
- incorrect spelling of appropriate.
-
-2003-12-23 10:39 andy
-
- * bootstrap: ENH: Some cleanups and attempt to fix cygwin problem
-
-2003-12-23 10:16 andy
-
- * bootstrap: ENH: Some cleanups, add settings comment to kwsys
- header files. Add proper dependency to kwsys headers
-
-2003-12-23 09:53 king
-
- * bootstrap: BUG: Fixed use of KWSYS_IOS_HAVE_SSTREAM test result
- for cmConfigure.
-
-2003-12-23 09:31 king
-
- * bootstrap: BUG: Moved use of KWSYS_IOS test results to after the
- tests are performed. Also cleaned up ordering of some tests.
-
-2003-12-23 09:17 andy
-
- * bootstrap: ENH: support new KWSYS with IOS
-
-2003-12-22 16:21 hoffman
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx, cmSystemTools.cxx: ENH: add
- relative paths to visual studio 6 and 7 project files
-
-2003-12-22 15:16 hoffman
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h:
- ENH: move relative path to parent generator class
-
-2003-12-22 14:17 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: make new relative
- rpath work with spaces
-
-2003-12-22 13:59 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: use fullpaths based
- on the actual current directory
-
-2003-12-22 13:15 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: use a full path for
- rpath
-
-2003-12-22 12:24 hoffman
-
- * Source/: cmLocalUnixMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.h, cmSystemTools.cxx,
- cmSystemTools.h, cmake.cxx: ENH: add support for relative paths
- in makefiles
-
-2003-12-22 11:20 king
-
- * Source/kwsys/: CMakeLists.txt, kwsysPlatformCxxTests.cxx: ENH:
- All platform tests are now in kwsysPlatformCxxTests.cxx. This
- makes the listfile code much more readable.
-
-2003-12-20 13:32 king
-
- * Source/kwsys/: CMakeLists.txt, testIOS.cxx: ENH: Added testIOS
- for kwsys_ios testing.
-
-2003-12-20 13:31 king
-
- * Source/kwsys/kwsys_ios_sstream.h.in: ERR: Fixed istringstream to
- work with MSVC 6 old streams.
-
-2003-12-20 12:44 king
-
- * Source/kwsys/: CMakeLists.txt, Configure.hxx.in,
- kwsysPlatformCxxTests.cxx, kwsys_ios_fstream.h.in,
- kwsys_ios_iosfwd.h.in, kwsys_ios_iostream.h.in,
- kwsys_ios_sstream.h.in: ENH: Shortened and grouped IOS and STL
- feature macro names.
-
-2003-12-19 16:56 king
-
- * Source/kwsys/: CMakeLists.txt, Configure.hxx.in, Directory.cxx,
- RegularExpression.cxx, RegularExpression.hxx.in, SystemTools.cxx,
- SystemTools.hxx.in, kwsysPlatformCxxTests.cmake,
- kwsysPlatformCxxTests.cxx, kwsys_ios_fstream.h.in,
- kwsys_ios_iosfwd.h.in, kwsys_ios_iostream.h.in,
- kwsys_ios_sstream.h.in, kwsys_std.h.in, kwsys_std_fstream.h.in,
- kwsys_std_iosfwd.h.in, kwsys_std_iostream.h.in,
- kwsys_std_sstream.h.in, kwsys_stl.h.in, test1.cxx: ENH: Split
- kwsys_std into kwsys_ios and kwsys_stl in order to avoid std
- namespace pollution and support more platforms.
-
-2003-12-18 18:04 andy
-
- * Source/cmCTest.cxx: ENH: Even better. Only replace when path
- longer than 20 characters. Also replace parent directory. That
- way it will replace for related projects.
-
-2003-12-18 17:42 andy
-
- * Source/cmCTest.cxx: ENH: Attempt to cleanup the build output
-
-2003-12-18 17:36 martink
-
- * Source/cmCTest.cxx: bug fix
-
-2003-12-18 13:40 andy
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ERR: Remove debug
-
-2003-12-18 13:17 andy
-
- * Source/: cmGlobalCodeWarriorGenerator.cxx,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx,
- cmLocalCodeWarriorGenerator.cxx,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: BUG: Fix Bug #445 - Same
- library in multiple projects can cause problems
-
-2003-12-18 13:04 andy
-
- * Source/: cmLinkLibrariesCommand.cxx,
- cmLocalUnixMakefileGenerator.cxx, cmTarget.cxx,
- cmTargetLinkLibrariesCommand.cxx: BUG: Fix Bug #445 - Same
- library in multiple projects can cause problems
-
-2003-12-17 09:42 andy
-
- * Modules/Dart.cmake: ENH: Mark things as advanced
-
-2003-12-17 09:40 andy
-
- * Source/cmCTest.cxx: ERR: Remove debug
-
-2003-12-17 09:25 andy
-
- * Source/cmCTest.cxx: ENH: Add more error regular expressions
-
-2003-12-17 08:49 king
-
- * Source/: cmTryCompileCommand.cxx, cmTryCompileCommand.h: BUG#439:
- Merging fix to 1.8 branch.
-
-2003-12-17 08:45 king
-
- * Modules/Platform/Windows-cl.cmake: BUG#438: Merging fix to 1.8
- branch.
-
-2003-12-17 08:36 martink
-
- * Source/cmCTest.cxx: better ctest driver and return codes
-
-2003-12-17 08:30 king
-
- * Source/kwsys/SystemTools.hxx.in: ERR: std -> kwsys_std.
-
-2003-12-17 08:21 martink
-
- * Modules/Platform/Windows-cl.cmake: fix in quoting
-
-2003-12-16 17:30 andy
-
- * Source/cmCTest.cxx: ENH: Purify support should work now.
-
-2003-12-16 17:20 king
-
- * Source/kwsys/: Process.h.in, ProcessUNIX.c, ProcessWin32.c: ENH:
- Added SetPipeShared method to allow stdout and stderr pipes to be
- shared with the parent process.
-
-2003-12-16 16:19 andy
-
- * Source/cmCTest.cxx: ENH: Add suppression file support for
- valgrind
-
-2003-12-16 16:19 andy
-
- * Modules/: Dart.cmake, DartConfiguration.tcl.in: ENH: Add
- suppression file
-
-2003-12-16 15:55 king
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Added
- GetEnv method.
-
-2003-12-16 15:38 king
-
- * Source/kwsys/CMakeLists.txt: ENH: Updated copyright.
-
-2003-12-16 15:37 king
-
- * Source/kwsys/CMakeLists.txt: ERR: SystemTools now depends on
- Directory.
-
-2003-12-16 14:43 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: Several cleanups and
- attempt to do purify support
-
-2003-12-16 14:26 martink
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: is there any
- chance thiswill work on all platforms hmmm added removeAdirectory
-
-2003-12-16 13:18 andy
-
- * Source/cmCTest.cxx: ENH: Cleanup output
-
-2003-12-15 18:44 andy
-
- * Source/cmCTest.cxx: ERR: Fix coverage on gcc 2.95
-
-2003-12-15 18:32 andy
-
- * Source/cmCTest.cxx: ERR: Ok, think before commit... This fixes
- two build problems. The missing brace and the std::string
- signature is different on gcc 2.95 and gcc 3.3.
-
-2003-12-15 18:03 andy
-
- * Source/cmCTest.cxx: ERR: Inner loop used the same counter as
- outer. Broke coverage code
-
-2003-12-15 17:28 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: ERR: STD fixes
-
-2003-12-15 17:25 andy
-
- * Modules/Dart.cmake, Modules/DartConfiguration.tcl.in,
- Source/cmCTest.cxx, Source/cmCTest.h, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h, Source/ctest.cxx,
- Source/CTest/cmCTestSubmit.cxx, Source/CTest/cmCTestSubmit.h,
- Source/CursesDialog/cmCursesPathWidget.cxx: ENH: Add initial
- memory check support which works for Valgrind
-
-2003-12-15 16:30 king
-
- * Source/kwsys/: Base64.c, Base64.h.in, Configure.h.in,
- Configure.hxx.in, Copyright.txt, Directory.cxx, Directory.hxx.in,
- EncodeExecutable.c, Process.h.in, ProcessFwd9x.c, ProcessUNIX.c,
- ProcessWin32.c, RegularExpression.cxx, RegularExpression.hxx.in,
- SystemTools.cxx, SystemTools.hxx.in, kwsysHeaderDump.pl,
- kwsysPrivate.h, kwsys_std.h.in, kwsys_std_fstream.h.in,
- kwsys_std_iosfwd.h.in, kwsys_std_iostream.h.in,
- kwsys_std_sstream.h.in, test1.cxx, testProcess.c: ENH: Updated
- copyright.
-
-2003-12-15 12:56 martink
-
- * Source/cmCreateTestSourceList.cxx: fix compiler warning
-
-2003-12-15 12:02 hoffman
-
- * Source/cmCTest.cxx: ENH: fix for gcc 3.1
-
-2003-12-14 13:48 king
-
- * Source/kwsys/ProcessWin32.c: STYLE: Fixed typo on comment.
-
-2003-12-14 13:47 king
-
- * Source/kwsys/ProcessWin32.c: ENH: Using CreateFile with
- FILE_FLAG_DELETE_ON_CLOSE to automatically delete the Win9x
- forwarding executable even if the parent process crashes.
-
-2003-12-14 13:44 king
-
- * Source/kwsys/kwsysPrivate.h: ENH: Added KWSYS_NAMESPACE_STRING
- macro.
-
-2003-12-14 13:03 king
-
- * Source/kwsys/Configure.h.in: BUG: Fixed dllimport.
-
-2003-12-13 14:19 king
-
- * Source/kwsys/ProcessUNIX.c: ERR: Added include of sys/stat.h for
- open functions mode bits.
-
-2003-12-13 14:13 king
-
- * Source/kwsys/: Process.h.in, ProcessUNIX.c, ProcessWin32.c: ENH:
- Added SetPipeFile method to allow the process pipeline stdin,
- stdout, and stderr to be redirected from/to files.
-
-2003-12-13 10:36 king
-
- * Source/kwsys/: ProcessUNIX.c, ProcessWin32.c: ENH: Code is now
- robust to New method returning NULL.
-
-2003-12-12 15:42 king
-
- * Modules/Platform/IRIX64.cmake: ENH: Added
- CMAKE_SHARED_LIBRARY_SONAME_C_FLAG and
- CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG settings to enable shared
- library version support for SGI.
-
-2003-12-12 14:44 king
-
- * Modules/Platform/HP-UX.cmake: ENH: Added
- CMAKE_SHARED_LIBRARY_SONAME_FLAG setting to enable shared library
- version support for HP-UX.
-
-2003-12-12 14:34 king
-
- * Modules/CMakeDefaultMakeRuleVariables.cmake,
- Modules/Platform/SunOS.cmake,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Modules/Platform/Linux.cmake: ENH: Using separate
- CMAKE_SHARED_LIBRARY_SONAME flags for C and CXX.
-
-2003-12-12 14:20 king
-
- * Modules/Platform/SunOS.cmake: ENH: Added
- CMAKE_SHARED_LIBRARY_SONAME_FLAG setting to enable shared library
- version support for SunOS.
-
-2003-12-12 09:12 hoffman
-
- * Modules/: CMakeCCompiler.cmake.in, CMakeCXXCompiler.cmake.in,
- CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake:
- ENH: reduce the number of times gnu is tested for
-
-2003-12-12 08:09 martink
-
- * Source/cmCTest.cxx: now can do extra updates
-
-2003-12-11 15:38 hoffman
-
- * Source/cmGlobalGenerator.cxx: BUG:427 trycompile target must be
- exe
-
-2003-12-11 10:11 hoffman
-
- * Source/cmTryCompileCommand.cxx: BUG: need a dummy first argument
- to cmake
-
-2003-12-11 08:57 martink
-
- * Source/: cmTryCompileCommand.cxx, cmTryCompileCommand.h: fix to
- the signature and argument parsing
-
-2003-12-10 19:47 andy
-
- * Source/: cmake.cxx, cmakemain.cxx: ENH: Argument for script mode
- is -P (process) and take out the automatic script mode
-
-2003-12-10 08:55 hoffman
-
- * Source/: cmLocalUnixMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.h: BUG: roll back change for
- variable used in path
-
-2003-12-09 14:33 king
-
- * Modules/FindOpenGL.cmake: ENH: Adding /usr/include/w32api for
- OpenGL header search.
-
-2003-12-09 11:44 king
-
- * Source/kwsys/SystemTools.cxx: BUG: File comparison on windows
- must test the volume serial number as well as the file index.
-
-2003-12-09 10:33 martink
-
- * DartConfig.cmake: move start time up one hour
-
-2003-12-09 09:16 king
-
- * Source/: cmListFileLexer.c, cmListFileLexer.in.l: ERR: Removed
- YY_BREAK statements after return statements because they are
- unreachable.
-
-2003-12-09 09:11 king
-
- * Source/: cmListFileLexer.c, cmListFileLexer.in.l: ERR: Added
- missing static keyword to cmListFileLexerSetToken and
- cmListFileLexerAppend definitions.
-
-2003-12-09 08:32 hoffman
-
- * Source/: cmLocalUnixMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.h: ENH: use variables for output
- paths
-
-2003-12-09 08:22 martink
-
- * Source/cmCTest.cxx: some updates to handle inline cache files and
- environment variables
-
-2003-12-08 18:05 king
-
- * Source/cmSystemTools.cxx: BUG: Reimplemented ExpandListArguments
- to properly handle escaped backslashes that occur right before
- semicolons. This is important for lists of paths ending in
- backslashes on windows.
-
-2003-12-08 16:10 martink
-
- * Source/cmSystemTools.cxx: bug fix to escaped semicolons in
- arguments
-
-2003-12-08 15:05 king
-
- * Source/cmListFileLexer.in.l: ERR: Fixed comment about how to run
- flex to reflect new name of this file.
-
-2003-12-08 14:20 king
-
- * Source/: cmListFileLexer.in.l, cmListFileLexer.l: ERR: Renaming
- cmListFileLexer.l to cmListFileLexer.in.l to avoid make programs
- trying to run lex automatically whn building cmListFileLexer.c.
-
-2003-12-08 14:11 andy
-
- * bootstrap: ENH: Fix bootstrap to handle lex parser
-
-2003-12-08 13:40 king
-
- * Source/: cmListFileLexer.c, cmListFileLexer.l: ERR: We must
- define YY_NO_UNISTD_H to build on windows.
-
-2003-12-08 13:36 king
-
- * Source/: CMakeLists.txt, cmListFileCache.cxx, cmListFileCache.h,
- cmListFileLexer.c, cmListFileLexer.h, cmListFileLexer.l: ENH:
- Using lex-based tokenizer and a simple recursive-descent parser
- in place of the old hand-coded parser for CMake listfiles.
-
-2003-12-08 11:35 king
-
- * Source/kwsys/CMakeLists.txt: STYLE: Removed trailing whitespace.
-
-2003-12-08 11:31 king
-
- * Source/cmake.cxx: ENH: Improved error messages when source tree
- does not have a CMakeLists.txt file. No matter how many cases we
- check, there always seems to be a user that finds a case that
- gives a confusing error message...
-
-2003-12-08 11:23 andy
-
- * Modules/Dart.cmake, Modules/DartConfiguration.tcl.in,
- Source/cmCTest.cxx: ENH: Improve coverage on systems with
- multiple gcov commands
-
-2003-12-07 14:09 king
-
- * Source/kwsys/: Process.h.in, ProcessUNIX.c, ProcessWin32.c: ENH:
- Cleaned up pipe numbering.
-
-2003-12-05 16:39 king
-
- * Source/cmCTest.cxx: ENH: Using cmListFileCache to read the
- DartTestfile instead of duplicating the parse loop.
-
-2003-12-05 14:51 king
-
- * Source/kwsys/kwsys_std.h.in: ERR: Need to include Configure.hxx
- to get kwsys_std definition.
-
-2003-12-05 11:53 king
-
- * Source/: cmCTest.cxx, cmSystemTools.cxx, kwsys/Process.h.in,
- kwsys/ProcessUNIX.c, kwsys/ProcessWin32.c, kwsys/test1.cxx,
- kwsys/testProcess.c: ENH: Removed pipe selection argument from
- WaitForData method in kwsysProcess. This greatly simplifies its
- use.
-
-2003-12-05 11:37 king
-
- * Source/kwsys/: Process.h.in, ProcessFwd9x.c, ProcessWin32.c:
- STYLE: Removed trailing whitespace.
-
-2003-12-05 11:19 king
-
- * Source/kwsys/ProcessWin32.c: BUG: Process startup-info struct
- dwFlags were being set incorrectly due to a change in statement
- order.
-
-2003-12-05 10:45 king
-
- * Docs/cmake-mode.el: ENH: New indentation implementation to
- support multi-line strings.
-
-2003-12-04 14:34 king
-
- * Docs/cmake-mode.el: STYLE: Removed trailing whitespace.
-
-2003-12-04 13:56 king
-
- * Source/kwsys/ProcessUNIX.c: ERR: Added missing static storage
- class specifier for kwsysProcessCreate.
-
-2003-12-03 14:16 martink
-
- * Source/cmCTest.cxx: some fixes to test harnes
-
-2003-12-03 13:37 king
-
- * Source/kwsys/ProcessUNIX.c: ERR: Some platforms define stdin,
- stdout, and stderr as macros. Renaming these symbols to StdIn,
- StdOut, and StdErr.
-
-2003-12-03 09:20 king
-
- * Source/kwsys/: Process.h.in, ProcessFwd9x.c, ProcessUNIX.c,
- ProcessWin32.c: ENH: Merged changes from KWSys-MultiProcess-bp to
- KWSys-MultiProcess-b2t-1-mp to main tree. This introduces
- support for process pipelines.
-
-2003-12-03 09:12 king
-
- * Source/kwsys/Process.h.in: ERR: Added missing macro definition
- for kwsysProcess_AddCommand.
-
-2003-12-02 17:23 king
-
- * Utilities/Release/cmake_release.sh: ENH: Added documentation
- about location of cmCPluginAPI.h in cygwin package.
-
-2003-12-02 17:16 king
-
- * Utilities/Release/cygwin-package.sh.in: BUG: No longer need to
- copy Copyright.txt into doc directory. It is done by the cmake
- installation.
-
-2003-12-02 17:14 king
-
- * Utilities/Release/cygwin-package.sh.in: BUG: Need to pass
- datadir/docdir/mandir to bootstrap script instead of writing in
- the cache.
-
-2003-12-02 16:57 king
-
- * Utilities/Release/cygwin-package.sh.in: ENH: Cygwin now uses
- /usr/share/doc instead of /usr/doc.
-
-2003-12-02 16:57 king
-
- * CMakeLists.txt, Utilities/Release/cmake_release.sh: ENH: Updating
- version number to 1.8.3.
-
-2003-12-02 16:50 martink
-
- * Source/cmCTest.cxx: better error handling
-
-2003-12-01 19:25 martink
-
- * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx: a start on the
- dashboard driver
-
-2003-12-01 13:07 king
-
- * Modules/: CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake:
- BUG#411: Merged fix to 1.8 branch.
-
-2003-12-01 13:06 king
-
- * Modules/: CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake:
- BUG#411: Re-ordering statements so errors show up in
- CMakeError.log.
-
-2003-11-28 15:37 king
-
- * Source/kwsys/ProcessWin32.c: ENH: Cleaned up implementation of
- stderr and win9x forwarding executable error pipe.
-
-2003-11-28 14:21 king
-
- * Source/kwsys/ProcessWin32.c: ENH: Removing special termination
- pipe from Windows implementation. It does not need it because
- WaitForMultipleObjects can wait with a timeout for the process to
- terminate. This is not the case in UNIX because waitpid has no
- timeout, so we need the termination pipe there.
-
-2003-11-28 14:08 king
-
- * Source/kwsys/ProcessWin32.c: BUG: Removed stray debugging code
- that caused win9x mode to always be used.
-
-2003-11-28 14:02 king
-
- * Source/kwsys/ProcessWin32.c: ENH: Added special termination pipe
- to allow timeout to work for processes that close their output
- pipes.
-
-2003-11-28 13:07 king
-
- * Source/kwsys/ProcessWin32.c: ENH: Error messages from the
- forwarding executable are now read completely even if they are
- reported in multiple blocks.
-
-2003-11-28 12:58 king
-
- * Source/kwsys/ProcessWin32.c: BUG: Fixed error message when
- process control structure initialization runs out of memory.
-
-2003-11-28 12:52 king
-
- * Source/kwsys/ProcessWin32.c: ERR: Removed useless if(command) in
- AddString.
-
-2003-11-28 12:47 king
-
- * Source/kwsys/ProcessWin32.c: ENH: Renamed CMPE_* to KWSYSPE_* for
- consistency with ProcessUNIX.c.
-
-2003-11-28 12:42 king
-
- * Source/kwsys/ProcessUNIX.c: BUG: When a child fails to exec, we
- need to read the entire error message, not just the first block.
-
-2003-11-28 12:31 king
-
- * Source/kwsys/ProcessUNIX.c: ENH: UNIX implementation of process
- pipeline.
-
-2003-11-28 10:08 king
-
- * Source/kwsys/ProcessUNIX.c: ENH: Implemented SetCommand and
- AddCommand for multiple process support.
-
-2003-11-28 09:48 king
-
- * Source/kwsys/: ProcessUNIX.c: STYLE: Removed trailing whitespace.
-
-2003-11-27 23:08 king
-
- * Source/kwsys/: Process.h.in, ProcessFwd9x.c, ProcessWin32.c: ENH:
- Windows implementation of process pipeline.
-
-2003-11-27 10:28 king
-
- * Source/cmake.cxx: BUG: cmake_symlink_library should return the
- accumulated result, not just 0.
-
-2003-11-26 17:59 king
-
- * Modules/Platform/Linux.cmake: ENH: Adding implementation of
- shared library version support on UNIX. This addresses the
- feature request described in bug#32.
-
-2003-11-26 17:52 king
-
- * Modules/CMakeDefaultMakeRuleVariables.cmake: ENH: Adding
- implementation of shared library version support on UNIX. This
- addresses the feature request described in bug#32.
-
-2003-11-26 17:38 king
-
- * Source/: cmLocalUnixMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.h: ENH: Adding implementation of
- shared library version support on UNIX. This addresses the
- feature request described in bug#32.
-
-2003-11-26 17:34 king
-
- * Source/cmake.cxx: BUG: The cmake_symlink_library command needs to
- remove existing files before creating links.
-
-2003-11-26 16:38 king
-
- * Source/cmake.cxx: ENH: Added undocumented cmake_symlink_library
- to help with building versioned shared libraries.
-
-2003-11-26 16:15 hoffman
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx: remove more warnings
-
-2003-11-26 16:12 hoffman
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h: remove warnings
-
-2003-11-26 16:11 king
-
- * Source/cmSystemTools.cxx: ERR: Fixed unused parameter warnings.
-
-2003-11-26 16:04 hoffman
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio71Generator.h,
- cmGlobalVisualStudio7Generator.cxx: ENH: fix some warnings
-
-2003-11-26 14:52 king
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Added
- CreateSymlink method.
-
-2003-11-26 14:29 hoffman
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h, cmMakefile.cxx, cmMakefile.h:
- ENH: generate a sln and dsw file for each sub project in a
- project
-
-2003-11-26 11:41 king
-
- * Source/: cmCTest.cxx, cmSystemTools.cxx: BUG: Do not use
- std::string to accumulate output. Use std::vector instead. This
- is much better at memory management.
-
-2003-11-25 16:14 king
-
- * Utilities/Release/cmake_release.sh: STYLE: Removed trailing
- whitepsace.
-
-2003-11-24 15:51 king
-
- * Utilities/Release/cmake_release.sh: BUG: osx_install should make
- the Resources directory before copying files into it.
-
-2003-11-24 14:04 king
-
- * Modules/FindPythonLibs.cmake: BUG#266: Merging 1.16->1.18 changes
- to 1.8 branch.
-
-2003-11-24 14:01 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG#393: Merging
- 1.40->1.41 changes to 1.8 branch.
-
-2003-11-21 14:13 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG#393: Adding XML
- escaping for additional per-source compile flags.
-
-2003-11-21 13:12 hoffman
-
- * Modules/FindPythonLibs.cmake: BUG: remove junk code
-
-2003-11-20 15:41 king
-
- * Modules/FindPythonLibs.cmake: BUG#266: Added cygwin names for the
- library. Module now documents output as PYTHON_LIBRARIES instead
- of PYTHON_LIBRARY.
-
-2003-11-20 15:31 king
-
- * Modules/FindPythonLibs.cmake: STYLE: Removed trailing whitespace.
-
-2003-11-20 15:30 king
-
- * Modules/Platform/: AIX.cmake, BSDOS.cmake, Darwin.cmake,
- FreeBSD.cmake, HP-UX.cmake, IRIX.cmake, IRIX64.cmake,
- MP-RAS.cmake, NetBSD.cmake, OSF1.cmake, OpenBSD.cmake,
- RISCos.cmake, SCO_SV.cmake, SINIX.cmake, SunOS.cmake,
- True64.cmake, ULTRIX.cmake, UNIX_SV.cmake, UnixWare.cmake,
- Windows-gcc.cmake, Xenix.cmake, gcc.cmake: BUG#383: Merged fix to
- 1.8 branch.
-
-2003-11-14 10:44 hoffman
-
- * Modules/Platform/: AIX.cmake, BSDOS.cmake, Darwin.cmake,
- FreeBSD.cmake, HP-UX.cmake, IRIX.cmake, IRIX64.cmake,
- MP-RAS.cmake, NetBSD.cmake, OSF1.cmake, OpenBSD.cmake,
- RISCos.cmake, SCO_SV.cmake, SINIX.cmake, SunOS.cmake,
- True64.cmake, ULTRIX.cmake, UNIX_SV.cmake, UnixWare.cmake,
- Windows-gcc.cmake, Xenix.cmake, gcc.cmake: BUG: fix for bug 383
- gcc flags are now always set if the compiler is gnu
-
-2003-11-13 15:54 king
-
- * Source/cmAddCustomTargetCommand.cxx: BUG#321: Merged 1.13->1.14
- changes to 1.8 branch.
-
-2003-11-13 14:45 martink
-
- * Source/cmAddCustomTargetCommand.cxx: fixed argument parsing
-
-2003-11-13 13:52 king
-
- * Source/: cmFindFileCommand.h, cmFindLibraryCommand.h,
- cmFindPathCommand.h, cmFindProgramCommand.h: ENH: Documentation
- improvements from main tree.
-
-2003-11-13 13:51 king
-
- * Source/: cmFindFileCommand.h, cmFindLibraryCommand.h,
- cmFindPathCommand.h, cmFindProgramCommand.h: ENH: Documentation
- improvements.
-
-2003-11-13 12:43 king
-
- * Modules/FindGTK.cmake: BUG#299: Merged 1.8->1.9 changes to 1.8
- branch.
-
-2003-11-12 17:44 king
-
- * Modules/FindGTK.cmake: BUG#299: GTK_gmodule_LIBRARY is optional
- just like GTK_gthread_LIBRARY.
-
-2003-11-12 16:53 king
-
- * Modules/TestForANSIForScope.cmake: BUG#374: Merging 1.10->1.11
- changes to 1.8 branch.
-
-2003-11-12 16:53 king
-
- * Modules/TestForSTDNamespace.cmake: BUG#374: Merging 1.9->1.10
- changes to 1.8 branch.
-
-2003-11-12 16:51 king
-
- * Modules/: TestForANSIForScope.cmake, TestForSTDNamespace.cmake:
- BUG#374: Adding OUTPUT_VARIABLE OUTPUT to TRY_COMPILE commands.
-
-2003-11-12 14:57 king
-
- * Source/cmMakeDepend.cxx: BUG#373: Merging 1.39->1.40 to 1.8
- branch.
-
-2003-11-12 14:20 hoffman
-
- * Source/cmMakeDepend.cxx: BUG: fix for bug 373 make depend problem
-
-2003-11-12 14:17 king
-
- * Source/cmGlobalVisualStudio6Generator.cxx: BUG#371: Merging
- 1.19->1.20 changes to 1.8 branch.
-
-2003-11-12 14:17 king
-
- * Source/cmGlobalVisualStudio7Generator.cxx: BUG#371: Merging
- 1.17->1.18 changes to 1.8 branch.
-
-2003-11-12 14:06 andy
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx: ENH: Bug #371 - Add build
- configuration for try compiles using cmake variable
-
-2003-11-12 10:03 king
-
- * Modules/Dart.cmake: BUG#199: Merging 1.45->1.46 changes to 1.8
- branch.
-
-2003-11-12 10:00 king
-
- * Modules/Dart.cmake: BUG#199: If
- DART_EXPERIMENTAL_USE_PROJECT_NAME is set, the PROJECT_NAME will
- be included in the name of the Experimental and
- ExperimentalSubmit targets.
-
-2003-11-11 12:53 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG#363: Merged
- 1.39->1.40 changes to 1.8 branch.
-
-2003-11-11 12:51 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for 363,
- VCMIDLTool not used for idl files
-
-2003-11-11 12:51 king
-
- * Source/cmCTest.cxx: BUG#344: Merged 1.66->1.67 to 1.8 branch.
-
-2003-11-11 12:36 andy
-
- * Source/cmCTest.cxx: BUG: Handle -C properly for executables that
- are not in the project; Fix Bug #344 - ctest -C Debug
-
-2003-11-11 11:42 king
-
- * Source/cmCTest.h: BUG#259: Merging 1.16->1.18 changes to 1.8
- branch.
-
-2003-11-11 11:42 king
-
- * Source/cmCTest.cxx: BUG#259: Merging 1.62->1.63 and 1.64->1.66
- changes to 1.8 branch.
-
-2003-11-11 11:41 king
-
- * Source/cmAddTestCommand.cxx: BUG#259: Merging 1.18->1.20 changes
- to 1.8 branch.
-
-2003-11-06 16:38 andy
-
- * Source/cmCTest.cxx: ENH: Add warning exception for VTK type
- warning blocking
-
-2003-11-05 15:02 andy
-
- * Utilities/Doxygen/doxyfile.in: ENH: Handle kwsys properly
-
-2003-11-05 15:02 andy
-
- * Utilities/Doxygen/CMakeLists.txt: ENH: Cleanup. We do not really
- need to use vtk for documentation. We only need utilities/doxygen
- directory
-
-2003-11-05 13:03 king
-
- * Modules/Platform/Windows-bcc32.cmake,
- Source/cmGlobalBorlandMakefileGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx: BUG#346: Merging fix
- from main tree to 1.8 branch.
-
-2003-11-05 11:18 hoffman
-
- * Modules/Platform/Windows-bcc32.cmake,
- Source/cmGlobalBorlandMakefileGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix for bug 346,
- borland should now support dash in the path
-
-2003-11-05 10:46 king
-
- * Source/cmCTest.cxx: BUG#259: Fix for spaces in paths to
- executable added to previous fixes for this bug.
-
-2003-11-05 10:13 king
-
- * Modules/: FindTclsh.cmake, FindWish.cmake: BUG#322: Merging fix
- from main tree to 1.8 branch.
-
-2003-11-04 12:50 king
-
- * Source/cmCTest.cxx: BUG#323: Merging fix from main tree to 1.8
- branch.
-
-2003-11-04 11:19 hoffman
-
- * Source/cmCTest.cxx: BUG: fix for bug 323
-
-2003-11-04 09:45 king
-
- * Source/cmMakefile.cxx: BUG: Merging changes from revision 1.236
- to 1.237 to 1.8 branch.
-
-2003-11-04 09:44 king
-
- * Source/cmLocalVisualStudio6Generator.cxx: BUG: Merging changes
- from revisions 1.41 to 1.47 to 1.8 branch.
-
-2003-11-04 09:36 king
-
- * Modules/: FindTclsh.cmake, FindWish.cmake: ENH: Adding registry
- entries to search path.
-
-2003-11-04 09:06 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG#318: Merging fix
- from main tree to 1.8 branch.
-
-2003-11-04 09:03 king
-
- * Source/CTest/cmCTestSubmit.cxx: BUG#320: Merging fix from main
- tree to 1.8 branch.
-
-2003-11-04 09:01 king
-
- * Source/cmQTWrapCPPCommand.cxx: BUG#319: Merging fix from main
- tree (1.15->1.16) to 1.8 branch.
-
-2003-11-04 09:00 king
-
- * Source/kwsys/: ProcessWin32.c, RegularExpression.cxx: ERR:
- Removed extra variable assignments.
-
-2003-11-04 08:56 king
-
- * Source/kwsys/ProcessWin32.c: BUG: Removed CloseHandle in case of
- error in DuplicateHandle. According to documentation,
- DuplicateHandle will close the source handle regardless of error
- condition.
-
-2003-11-04 08:50 king
-
- * Source/cmAddTestCommand.cxx: BUG: Cannot add extra escapes for
- backslashes because it makes the behavior inconsistent with
- previous versions of cmake.
-
-2003-11-03 16:59 andy
-
- * Source/CTest/cmCTestSubmit.cxx: BUG: This fixes problem when
- submitting bugs on Mac: Bug #320 - When st_size in stat is 64 bit
- ctest does not submit
-
-2003-11-03 15:57 hoffman
-
- * Source/: cmLocalVisualStudio6Generator.cxx, cmMakefile.cxx: BUG:
- hack fix for problem of MS vs 6 and custom target commands
-
-2003-11-03 15:53 andy
-
- * Source/cmQTWrapCPPCommand.cxx: BUG: Fix Bug #319 - Change in
- QT_WRAP_CPP's behaviour
-
-2003-11-03 15:38 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: Cleanup parsing of argument
- to help fix Bug #259 - CMake does not quote correctly in
- DartTestfile.txt
-
-2003-11-03 15:19 king
-
- * Source/cmAddTestCommand.cxx: BUG#259: ADD_TEST command generated
- in DartTestfile.txt now quotes/escapes all arguments.
-
-2003-11-03 11:01 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx: BUG: fix for debug libs
- not using output path
-
-2003-10-31 17:22 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG#318:
- cmake.check_depends now collects all dependencies for
- cmake.depends and then uses a single rule.
-
-2003-10-31 17:05 king
-
- * Modules/Platform/Windows-cl.cmake: BUG#317: Merging 1.23->1.24
- changes to 1.8 branch.
-
-2003-10-31 17:01 king
-
- * Templates/EXEWinHeader.dsptemplate: BUG#316: Merged 1.15->1.16
- changes from main tree to 1.8 branch.
-
-2003-10-31 16:56 hoffman
-
- * Modules/Platform/Windows-cl.cmake: BUG: fix for bug# 317
-
-2003-10-31 16:55 andy
-
- * Source/cmLocalVisualStudio6Generator.cxx,
- Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate,
- Templates/EXEWinHeader.dsptemplate,
- Templates/staticLibHeader.dsptemplate,
- Tests/COnly/CMakeLists.txt: ENH: Attempt to add debug library
- postfix for visual studio 6
-
-2003-10-31 16:53 hoffman
-
- * Templates/EXEWinHeader.dsptemplate: Fix for BUG: 316
-
-2003-10-31 12:55 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: Merged all changes
- from main tree up to revision 1.39.
-
-2003-10-31 09:31 andy
-
- * Source/cmCTest.cxx: ENH: Report when having conflicts
-
-2003-10-30 16:12 king
-
- * Source/: cmake.cxx: BUG#313: Improving error message when no
- CMakeLists.txt file is found in the source tree.
-
-2003-10-30 14:27 king
-
- * Source/cmAddTestCommand.cxx: BUG: Backing out previous change
- until a deeper problem can be investigated.
-
-2003-10-30 14:00 king
-
- * Source/cmAddTestCommand.cxx: BUG#259: Do not double quote
- arguments if they are already quoted when writing
- DartTestfile.txt.
-
-2003-10-30 13:47 king
-
- * Source/cmTryCompileCommand.h: BUG#163: Merging 1.12->1.13 changes
- to 1.8 branch for 1.8.2 release.
-
-2003-10-30 13:46 king
-
- * Source/cmTryCompileCommand.h: BUG#163: Added documentation of
- OUTPUT_VARIABLE argument.
-
-2003-10-30 13:35 king
-
- * Modules/FindLATEX.cmake: BUG#262: Merging fix from main tree
- 1.8->1.9 to 1.8 branch for 1.8.2 release.
-
-2003-10-30 13:33 king
-
- * Modules/FindLATEX.cmake: BUG#262: Marking DVIPDF_CONVERTER as
- advanced.
-
-2003-10-30 13:18 king
-
- * Source/cmake.cxx: BUG#311: Merging 1.141->1.142 changes to 1.8
- branch for 1.8.2 release.
-
-2003-10-30 13:16 king
-
- * Source/cmCTest.cxx: BUG#310: Merging 1.60->1.61 from main tree to
- 1.8 branch.
-
-2003-10-30 10:05 andy
-
- * Source/cmCTest.cxx: BUG: Fix Bug #310 - CTest sends wrong time to
- cvs on Windows
-
-2003-10-29 19:48 andy
-
- * Source/: cmake.cxx, cmakemain.cxx, cmSystemTools.cxx,
- cmSystemTools.h: ENH: Ok, no more argument needed for script mode
-
-2003-10-29 09:56 andy
-
- * Source/cmGlobalGenerator.cxx: ENH: More scripting changes
-
-2003-10-29 09:43 andy
-
- * Source/: cmake.cxx, cmake.h, cmMakefile.cxx, cmakemain.cxx: ENH:
- Start includding the scripting support
-
-2003-10-29 08:58 andy
-
- * Source/: cmCommand.h, cmMessageCommand.h, cmIncludeCommand.h:
- ENH: Start includding the scripting support
-
-2003-10-28 15:26 andy
-
- * Source/cmake.cxx: ENH: Command should also be quoted
-
-2003-10-28 13:22 king
-
- * Source/: cmGlobalBorlandMakefileGenerator.cxx,
- cmGlobalNMakeMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h:
- BUG#303: Merged fix from main tree to 1.8 branch for 1.8.2
- release.
-
-2003-10-28 13:19 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG#200: Merged fix to
- 1.8 branch for 1.8.2 release.
-
-2003-10-28 11:55 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: add preprocessor
- flags to resource compiler
-
-2003-10-28 11:06 hoffman
-
- * Source/: cmGlobalBorlandMakefileGenerator.cxx,
- cmGlobalNMakeMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h:
- BUG: fix for bug 303 pass makeflags to sub makes
-
-2003-10-25 18:21 andy
-
- * Utilities/Doxygen/doxyfile.in: ENH: Add all subdirectories
-
-2003-10-17 16:19 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: make sure -M flags
- are not duplicated and are only set in the xml
-
-2003-10-17 16:10 king
-
- * Modules/CMakeDetermineCXXCompiler.cmake: BUG#276: Merge fix for
- spaces in path from main tree.
-
-2003-10-17 16:09 king
-
- * Modules/CMakeDetermineCXXCompiler.cmake: BUG: Fixed same
- spaces-in-paths problem for CMakeTestGNU.c as in
- CMakeDetermineCCompiler.cmake.
-
-2003-10-17 16:08 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for unicode
- and for /D -D
-
-2003-10-16 19:15 andy
-
- * Source/CMakeLists.txt: ENH: Enable test on windows
-
-2003-10-16 17:51 king
-
- * Modules/Platform/Windows-cl.cmake: BUG#78: Merged fix from main
- tree (1.22->1.23).
-
-2003-10-16 13:42 king
-
- * CMakeLists.txt, Utilities/Release/cmake_release.sh: ENH: Updating
- version number for 1.8.2 release.
-
-2003-10-16 13:09 king
-
- * Modules/: CMakeDetermineJavaCompiler.cmake, FindJNI.cmake,
- FindJava.cmake, FindTCL.cmake: BUG#281: Merging fix from main
- tree. See bug report for revision changes.
-
-2003-10-16 13:06 king
-
- * Source/cmCTest.cxx: BUG#278: Merging fix from main tree
- (1.59->1.60) to 1.8 branch for 1.8.2 release.
-
-2003-10-16 11:05 barre
-
- * Modules/: CMakeDetermineJavaCompiler.cmake, FindJNI.cmake,
- FindJava.cmake, FindTCL.cmake: FIX: for Windows users, it seems
- logical to favor native win32 installation before Cygwin ones.
- Otherwise you can end up with bad mixes (part of the java tools
- were picked from the SDK, part from Cygwin)
-
-2003-10-16 10:32 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx,
- Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate,
- Templates/EXEWinHeader.dsptemplate,
- Templates/staticLibHeader.dsptemplate: ENH: allow UNICODE to be
- specifed in the cxx flags and if not default to MBCS
-
-2003-10-16 10:10 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: allow users to
- change to unicode
-
-2003-10-16 07:49 andy
-
- * Source/cmCTest.cxx: ENH: Handle all white spaces, fix problem on
- cygwin
-
-2003-10-15 23:42 hoffman
-
- * Modules/Platform/Windows-cl.cmake,
- Source/cmLocalVisualStudio7Generator.cxx: BUG: fix for bug 78
- should be on 1.8 branch
-
-2003-10-15 10:19 king
-
- * Modules/Platform/Darwin.cmake: BUG#277: Fix from main tree 1.5 ->
- 1.6 merged to 1.8 branch. Will be included in 1.8.2 release.
-
-2003-10-15 10:14 king
-
- * Modules/Platform/Darwin.cmake: ERR: Old -flat_namespace
- -undefined suppress flags for CMAKE_SHARED_MODULE_CREATE_C_FLAGS
- should be included when CMAKE_BACKWARDS_COMPATIBILITY is 1.6 or
- lower.
-
-2003-10-15 10:06 king
-
- * bootstrap: BUG#168: Merged fix for HP-UX ansi C flags as second
- part of the fix for this bug to 1.8 branch. 1.24 -> 1.25.
-
-2003-10-15 10:01 king
-
- * Source/kwsys/SystemTools.cxx: BUG#263: Merged search path
- ordering fix from main tree to CMake 1.8 branch. 1.22 -> 1.24.
-
-2003-10-15 09:56 king
-
- * Source/cmTargetLinkLibrariesCommand.cxx: BUG#201: Merged warning
- suppression support from main tree to 1.8 branch. 1.16->1.17.
-
-2003-10-15 09:53 king
-
- * Modules/CheckTypeSize.cmake: Documentation fix from main tree.
- 1.11->1.12.
-
-2003-10-15 09:52 king
-
- * Modules/CheckVariableExists.cmake: BUG: Merged trivial fix from
- main tree. 1.10 -> 1.11.
-
-2003-10-15 09:49 king
-
- * Modules/CMakeDetermineCCompiler.cmake: BUG#263: Merged fix for
- system paths in ar and ranlib find commands to 1.8 branch. Will
- be included in 1.8.2
-
-2003-10-15 09:26 king
-
- * Source/cmQTWrapCPPCommand.cxx: BUG#186: Merged fix from trunk to
- branch.
-
-2003-10-15 09:18 king
-
- * Modules/CMakeDetermineCCompiler.cmake: BUG#276: Merge fix for
- spaces in path from main tree.
-
-2003-10-14 22:30 king
-
- * Modules/CMakeDetermineCCompiler.cmake: BUG: Fix for spaces in
- path when loading CMakeTestGNU.c.
-
-2003-10-13 16:04 andy
-
- * Source/CMakeLists.txt: ENH: Add test for FindwxWindows. Thanks
- to: Mathieu Malaterre
-
-2003-10-13 15:27 andy
-
- * Modules/CheckTypeSize.cmake: ENH: Documentation fix
-
-2003-10-13 11:58 king
-
- * Modules/Platform/Windows-cl.cmake: BUG#269: Fix for spaces in
- paths. Will be included in 1.8.2 release.
-
-2003-10-13 11:32 andy
-
- * Modules/Platform/Windows-cl.cmake: ERR: allow spaces in the path
-
-2003-10-11 08:12 king
-
- * Modules/CheckVariableExists.cmake: BUG: Message describing
- variable was using result variable.
-
-2003-10-09 15:52 hoffman
-
- * Modules/CMakeDetermineCCompiler.cmake,
- Source/kwsys/SystemTools.cxx: ENH: put the system path after the
- paths specified on to the FIND command
-
-2003-10-07 13:45 king
-
- * Utilities/Release/cmake_release.sh: Updated cygwin dependencies.
-
-2003-10-07 09:50 king
-
- * Utilities/Release/config_CYGWIN_NT-5.1: GCC 2.95 is no longer
- available on cygwin.
-
-2003-10-02 14:50 andy
-
- * Source/cmTargetLinkLibrariesCommand.cxx: ENH: Add
- CMAKE_IGNORE_DEPENDENCIES_ORDERING to prevent warnings about
- dependency problems
-
-2003-09-26 11:27 king
-
- * Modules/CMakeImportBuildSettings.cmake: BUG: Comparison of build
- tool should be case-insensitive.
-
-2003-09-26 11:15 king
-
- * Modules/CMakeImportBuildSettings.cmake: BUG: Comparison of build
- tool should be case-insensitive.
-
-2003-09-24 17:51 andy
-
- * Source/cmQTWrapUICommand.cxx: ENH: Fix comment
-
-2003-09-24 17:51 andy
-
- * Tests/Wrapping/CMakeLists.txt: ENH: Better testing
-
-2003-09-24 17:50 andy
-
- * Source/cmQTWrapCPPCommand.cxx: BUG: Fix Bug #186 - QT_WRAP_UI
- uses the path twice
-
-2003-09-24 11:10 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG#191: Merging fix
- into 1.8 branch for inclusion in 1.8.2 release.
-
-2003-09-24 11:03 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: Check for whether
- to use CMAKE_EXE_LINKER_FLAGS should look both for EXECUTABLE and
- WIN32_EXECUTABLE targets.
-
-2003-09-23 13:58 king
-
- * Source/cmCTest.cxx: BUG#185: Merged fix from main tree to 1.8
- branch. Change will be included in 1.8.2 release.
-
-2003-09-23 13:49 andy
-
- * Source/cmCTest.cxx: ENH: Add missing newline Bug #185 - CTest
- exceptions output is missing new line
-
-2003-09-18 11:05 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: remove /tmp_mnt in collapse
- full path
-
-2003-09-15 15:58 king
-
- * bootstrap: BUG: Need to check for -Ae flag on HP-UX cc compiler.
- Needed for ANSI C compilation.
-
-2003-09-02 13:49 king
-
- * bootstrap: BUG#168: Using C compiler to build .c files during
- bootstrap instead of C++ compiler.
-
-2003-09-02 13:27 king
-
- * bootstrap: BUG: Must use C compiler to compile C files during
- bootstrap, not C++ compiler.
-
-2003-08-29 09:38 king
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: BUG: Merged more fixes from
- main tree.
-
-2003-08-28 16:22 hoffman
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: BUG: make sure exe output path
- is used for dep hack stuff
-
-2003-08-28 16:10 martink
-
- * Source/cmLocalVisualStudio6Generator.cxx: bad evil nasty ken
-
-2003-08-28 16:06 martink
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: fix to executable depends for
- custom commands
-
-2003-08-28 15:02 king
-
- * Utilities/Release/config_IRIX64: ERR: Don't need separate -n32
- and -64 binaries.
-
-2003-08-28 14:58 hoffman
-
- * Tests/: Complex/Library/CMakeLists.txt,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexRelativePaths/Library/CMakeLists.txt: BUG: remove
- bundle_loader stuff it did not work with spaces in the path and
- is not needed for this test
-
-2003-08-28 14:55 king
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: BUG: Merged fix for bug with
- custom commands depending on executables from main tree.
-
-2003-08-28 14:52 hoffman
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: BUG: fix bug with custom
- commands depending on executables
-
-2003-08-28 14:03 king
-
- * CMakeLists.txt, Utilities/Release/cmake_release.sh: ENH: Updated
- for 1.8.1 release number.
-
-2003-08-27 20:35 starreveld
-
- * Modules/Platform/Darwin.cmake,
- Tests/Complex/Library/CMakeLists.txt,
- Tests/ComplexOneConfig/Library/CMakeLists.txt,
- Tests/ComplexRelativePaths/Library/CMakeLists.txt: ENH: remove
- the -flat_namespace and -undefined suppress hacks from ENH:
- CMAKE_SHARED_MODULE_CREATE_C_FLAGS ENH: and fix the complex
- example to specify a -bundle loader for the ENH: shared module
- that it builds.
-
-2003-08-27 17:45 hoffman
-
- * Source/cmWin32ProcessExecution.cxx: ENH: remove warnings from use
- of NULL
-
-2003-08-27 16:50 king
-
- * CMakeLists.txt, CMakeSystemConfig.txt.in,
- CMakeWindowsSystemConfig.txt, bootstrap,
- Modules/CMakeCCompiler.cmake.in,
- Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeSystemSpecificInformation.cmake,
- Modules/CMakeTestCCompiler.cmake,
- Modules/CMakeTestCXXCompiler.cmake, Modules/CMakeTestGNU.c,
- Modules/FindThreads.cmake, Modules/FindwxWindows.cmake,
- Modules/Platform/Windows-bcc32.cmake,
- Modules/Platform/Windows-cl.cmake,
- Modules/Platform/Windows-gcc.cmake,
- Modules/Platform/Windows.cmake, Source/CMakeLists.txt,
- Source/TODO, Source/cmCacheManager.cxx, Source/cmCommands.cxx,
- Source/cmDynamicLoader.cxx,
- Source/cmGlobalBorlandMakefileGenerator.cxx,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalNMakeMakefileGenerator.cxx,
- Source/cmGlobalUnixMakefileGenerator.cxx,
- Source/cmLoadCommandCommand.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmSystemTools.cxx, Source/cmSystemTools.h,
- Source/cmWin32ProcessExecution.cxx, Source/cmake.cxx,
- Source/kwsys/SystemTools.cxx,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/Complex/Executable/complex.cxx,
- Tests/Complex/Library/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexOneConfig/Library/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Library/CMakeLists.txt,
- Utilities/CMakeLists.txt: ENH: Merging changes from trunk into
- 1.8 branch.
-
- 1.) MinGW support (beta) 2.) make VERBOSE=1 3.) FindThreads.cmake
- fix 4.) FindwxWindows.cmake fix 5.)
- CMakeSystemSpecificInformation.cmake typo fix 6.) bootstrap
- spaces-in-path fix
-
-2003-08-27 16:42 hoffman
-
- * Modules/Platform/Windows-gcc.cmake,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/Complex/Executable/complex.cxx,
- Tests/Complex/Library/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexOneConfig/Library/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Library/CMakeLists.txt: ENH: MinGW
- build now passes all the tests
-
-2003-08-27 16:08 king
-
- * Utilities/Release/: cmake_release.sh, config_AIX, config_Darwin,
- config_HP-UX, config_IRIX64, config_Linux, config_OSF1,
- config_SunOS, cygwin-package.sh.in: Merging release script
- changes from 1.8 branch to main tree.
-
-2003-08-27 16:02 king
-
- * Modules/: CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake:
- ERR: Fixed typo in comment.
-
-2003-08-27 08:29 king
-
- * Source/cmake.cxx: ERR: Fixed placement of code introduced by a
- patch from main tree. Somehow it ended up on the wrong lines.
-
-2003-08-26 17:13 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Added support for
- "make VERBOSE=1" to run one-time verbose make runs without
- changing CMAKE_VERBOSE_MAKEFILE.
-
-2003-08-26 15:08 king
-
- * Source/: cmake.cxx, cmakemain.cxx, cmakewizard.cxx,
- cmakewizard.h: BUG#164: Fixed crash of cmake -i when CMAKE_ROOT
- cannot be found. Made resulting error message cleaner.
-
-2003-08-26 15:06 king
-
- * Source/: cmake.cxx, cmakemain.cxx, cmakewizard.cxx,
- cmakewizard.h: BUG: Fixed crash of cmake -i when CMAKE_ROOT
- cannot be found. Made resulting error message cleaner.
-
-2003-08-22 12:53 king
-
- * CMakeLists.txt, Source/CMakeLists.txt, Utilities/CMakeLists.txt:
- ENH: Moved decision to build MFCDialog up to top level. It is
- used in both the Source and Utilities directories.
-
-2003-08-22 11:56 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: remove ifdef code
- and use makefile definitions
-
-2003-08-22 11:56 hoffman
-
- * Modules/Platform/Windows-gcc.cmake: ENH: add configure file for
- gcc under windows
-
-2003-08-22 09:52 andy
-
- * bootstrap, Modules/FindThreads.cmake: ERR: Reorganize to try to
- fix the -pthread problem on some systems
-
-2003-08-21 16:22 hoffman
-
- * Modules/CMakeCCompiler.cmake.in,
- Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeSystemSpecificInformation.cmake,
- Modules/CMakeTestCCompiler.cmake,
- Modules/CMakeTestCXXCompiler.cmake, Modules/CMakeTestGNU.c,
- Modules/Platform/Windows-bcc32.cmake,
- Modules/Platform/Windows-cl.cmake,
- Modules/Platform/Windows.cmake, Source/CMakeLists.txt,
- Source/cmDynamicLoader.cxx,
- Source/cmGlobalBorlandMakefileGenerator.cxx,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalNMakeMakefileGenerator.cxx,
- Source/cmGlobalUnixMakefileGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmSystemTools.cxx, Source/cmSystemTools.h,
- Source/cmWin32ProcessExecution.cxx, Source/cmake.cxx,
- Source/kwsys/SystemTools.cxx: ENH: add the unix makefile
- generator as an option from the windows GUI, this builds with
- mingw, cygwin, and combinations of make cl, bcc32
-
-2003-08-21 13:26 andy
-
- * Modules/FindwxWindows.cmake: ERR: If WX_CONFIG_LIBS are , then
- you get weird cmake error. This should fix it
-
-2003-08-21 09:23 hoffman
-
- * Source/TODO: [no log message]
-
-2003-08-20 12:59 king
-
- * Source/: cmakemain.cxx, CursesDialog/ccmake.cxx: ENH: Added
- documentation of specifying an existing build tree as an
- argument.
-
-2003-08-19 11:02 andy
-
- * Source/cmLoadCommandCommand.cxx: ERR: Fix crash of cmake on
- broken load commands
-
-2003-08-19 10:50 king
-
- * Modules/Platform/: IRIX64.cmake: ENH: Improved default choice of
- -64 compiler/linker flags based on how cmake was built.
-
-2003-08-19 10:29 andy
-
- * Source/cmLoadCommandCommand.cxx: BUG: LastError can return 0, so
- handle that case
-
-2003-08-19 09:41 king
-
- * bootstrap: BUG: Merged cmake_make_processor error message to 1.8
- branch.
-
-2003-08-19 09:40 king
-
- * Source/: cmCTest.cxx, cmCTest.h: BUG: Merged fixes for bugs 146,
- 152, and 153 to 1.8 branch.
-
-2003-08-19 09:39 king
-
- * Source/cmCacheManager.cxx: BUG#154: Merged fix to 1.8 branch.
-
-2003-08-19 09:39 king
-
- * Source/cmake.cxx: ERR: Fixed warnings.
-
-2003-08-19 09:33 king
-
- * Source/kwsys/SystemTools.cxx: ERR: Merged warning fix from main
- tree to CMake 1.8 branch.
-
-2003-08-19 09:32 king
-
- * Source/kwsys/ProcessUNIX.c: ProcessUNIX.c
-
-2003-08-19 09:32 king
-
- * Source/kwsys/ProcessWin32.c: BUG: Merged error message fix to
- CMake 1.8 branch.
-
-2003-08-19 09:27 king
-
- * Modules/FindLATEX.cmake: BUG#156: Fixed typo psd2pdf -> ps2pdf.
- Will be included in 1.8.1 release.
-
-2003-08-19 09:12 king
-
- * Utilities/Release/: cmake_release.sh, config_IRIX64: Added
- LDFLAGS support.
-
-2003-08-19 09:06 king
-
- * Utilities/Release/config_IRIX64: ENH: Added configuration of both
- -64 and -n32 builds.
-
-2003-08-19 09:05 king
-
- * Utilities/Release/cmake_release.sh: ENH: Added support for
- configuration of install tree.
-
-2003-08-19 08:53 andy
-
- * Modules/FindLATEX.cmake: BUG: Fix Bug #156 - ps2pdf is not found
- on linux
-
-2003-08-18 14:31 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: BUG: Report failed as failed...
-
-2003-08-18 14:06 andy
-
- * Source/cmake.cxx: ENH: Remove unused variable
-
-2003-08-18 14:05 andy
-
- * Source/cmCacheManager.cxx: BUG: Fixed Bug #154 - Uninitialized
- type initialized value cache variables should return value
-
-2003-08-18 11:30 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: BUG: Fix Bug #153 - CTest does
- not detect tests that are not found and Bug #153 - CTest does not
- detect tests that are not found
-
-2003-08-17 12:24 hoffman
-
- * Source/kwsys/SystemTools.cxx: ENH: remove warning and unneeded
- cast
-
-2003-08-15 08:41 andy
-
- * Source/cmCTest.cxx: BUG: Fix test reporting
-
-2003-08-14 13:34 andy
-
- * Source/cmCTest.cxx: ENH: Fix verbose output, fix error message,
- and fix the exit code check
-
-2003-08-14 09:09 hoffman
-
- * Source/cmake.cxx: ENH: remove a warning
-
-2003-08-13 18:17 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: Better error reporting
-
-2003-08-13 18:08 king
-
- * Source/kwsys/ProcessWin32.c: ENH: Made error message consistent
- between win9x and non-win9x version of error reporting.
-
-2003-08-13 14:21 king
-
- * Source/kwsys/ProcessUNIX.c: ENH: Treating SIGBUS as a fault by
- default.
-
-2003-08-12 17:24 king
-
- * Source/cmSystemTools.cxx: BUG: Do not hide console when run from
- ctest.
-
-2003-08-12 17:18 andy
-
- * Source/cmSystemTools.cxx: ENH: Fix hidden console for ctest
-
-2003-08-12 17:17 king
-
- * Utilities/Release/cmake_release.sh: Redoing 1.8.0.
-
-2003-08-12 16:37 king
-
- * Utilities/Release/cmake_release.sh: Disable use of libdl by curl.
-
-2003-08-12 16:35 king
-
- * Utilities/Release/: config_AIX, config_Darwin, config_HP-UX,
- config_IRIX64, config_Linux, config_OSF1, config_SunOS: ENH:
- Using write_standard_cache to shorten config files.
-
-2003-08-12 16:35 king
-
- * Utilities/Release/cmake_release.sh: ENH: Unix builds should not
- use reentrant versions of network calls.
-
-2003-08-11 18:24 king
-
- * Utilities/Release/config_Darwin: ENH: Updated for new wx version.
-
-2003-08-11 18:21 king
-
- * Utilities/Release/cmake_release.sh: BUG: CMake.app directory is
- now in bin, not Source.
-
-2003-08-11 18:14 king
-
- * Utilities/Release/cygwin-package.sh.in: BUG: Tests are run by
- bin/ctest instead of Source/ctest.
-
-2003-08-11 17:58 king
-
- * Utilities/Release/: cmake_release.sh, config_IRIX64,
- config_Linux: ENH: Added support for parallel build during
- release.
-
-2003-08-11 17:53 andy
-
- * bootstrap: ENH: Add error message for make missing
-
-2003-08-11 17:41 king
-
- * Utilities/Release/cmake_release.sh: BUG: Test for build needs to
- look for bin/ccmake, not Source/ccmake.
-
-2003-08-11 17:35 king
-
- * Utilities/Release/: cmake_release.sh, config_Darwin,
- config_HP-UX, config_IRIX64, config_SunOS: Merge from 1.8 branch.
-
-2003-08-11 17:34 king
-
- * Source/cmCommands.cxx: BUG: Bootstrapping with wxWindows support
- needs SEPARATE_ARGUMENTS command.
-
-2003-08-11 17:34 king
-
- * Modules/CMakeLists.txt: ENH: Installing readme.txt in Modules
- directory to be consistent with windows.
-
-2003-08-11 16:55 king
-
- * Utilities/Release/config_Darwin: Fixed wx location.
-
-2003-08-11 16:43 king
-
- * Source/cmCommands.cxx: BUG: Bootstrapping with wxWindows support
- requires SEPARATE_ARGUMENTS command in bootstrapped executable.
-
-2003-08-11 16:31 king
-
- * Utilities/Release/config_HP-UX: ENH: Cleaned up link of dld.
-
-2003-08-11 16:31 king
-
- * Utilities/Release/config_SunOS: ENH: Switching to system
- compiler.
-
-2003-08-11 15:27 king
-
- * Utilities/Release/cmake_release.sh: Using bootstrap instead of
- configure.
-
-2003-08-11 15:22 king
-
- * Utilities/Release/cmake_release.sh: ENH: Allow config files to
- specify a make.
-
-2003-08-11 15:21 king
-
- * Utilities/Release/config_IRIX64: ENH: Enabling parallel build.
-
-2003-08-11 15:16 king
-
- * Utilities/Release/cmake_release.sh: BUG: Location of ctest has
- changed to bin, not Source.
-
-2003-08-11 15:15 king
-
- * Utilities/Release/config_Darwin: Updated for new FindwxWindows.
-
-2003-08-11 15:07 king
-
- * Utilities/Release/cmake_release.sh: Update from 1.8 branch.
-
-2003-08-11 15:06 king
-
- * Utilities/Release/config_Darwin: Updated for new location of
- wxWindows.
-
-2003-08-11 15:02 king
-
- * Utilities/Release/config_Darwin: Updated for new location of
- wxWindows.
-
-2003-08-11 15:01 king
-
- * Utilities/Release/cmake_release.sh: ENH: Updated for new FTP
- directory structure.
-
-2003-08-11 14:56 king
-
- * Modules/CMakeLists.txt: ENH: Installing readme.txt in modules to
- be consistent with windows.
-
-2003-08-11 14:44 martink
-
- * Source/: cmMakefile.cxx: added beta release support
-
-2003-08-11 14:41 martink
-
- * CMakeLists.txt, Source/cmCPluginAPI.h: version 19
-
-2003-08-11 14:37 martink
-
- * CMakeLists.txt, Source/cmCPluginAPI.h,
- Utilities/Release/cmake_release.sh: added version
-
-2003-08-11 12:20 andy
-
- * Source/ctest.cxx: ENH: Add documentation for -D and add missing
- targets
-
-2003-08-11 12:18 andy
-
- * Source/: cmCTest.cxx, CTest/cmCTestSubmit.cxx: ENH: Cleanup the
- output
-
-2003-08-11 12:17 andy
-
- * Modules/Dart.cmake: ENH: Take Purify out because it is not
- implemented yet
-
-2003-08-11 09:47 andy
-
- * Source/cmCTest.cxx: ENH: Remove debug
-
-2003-08-10 18:30 martink
-
- * Source/: cmAbstractFilesCommand.h, cmAddCustomCommandCommand.h,
- cmAddCustomTargetCommand.h, cmAddDefinitionsCommand.h,
- cmAddDependenciesCommand.h, cmAddExecutableCommand.h,
- cmAddLibraryCommand.h, cmAddTestCommand.h,
- cmAuxSourceDirectoryCommand.h, cmBuildCommand.h,
- cmBuildNameCommand.h, cmCMakeMinimumRequired.cxx,
- cmCMakeMinimumRequired.h, cmCTest.cxx, cmCacheManager.cxx,
- cmCommand.h, cmConfigureFileCommand.h, cmCreateTestSourceList.h,
- cmEnableTestingCommand.h, cmEndForEachCommand.h,
- cmExecProgramCommand.h, cmExportLibraryDependencies.h,
- cmFLTKWrapUICommand.h, cmFileCommand.h, cmFindFileCommand.cxx,
- cmFindFileCommand.h, cmFindLibraryCommand.h,
- cmFindPackageCommand.h, cmFindPathCommand.h,
- cmFindProgramCommand.cxx, cmFindProgramCommand.h,
- cmForEachCommand.h, cmGetCMakePropertyCommand.h,
- cmGetSourceFilePropertyCommand.h, cmGetTargetPropertyCommand.h,
- cmGlob.cxx, cmITKWrapTclCommand.h, cmIfCommand.h,
- cmIncludeCommand.h, cmIncludeDirectoryCommand.h,
- cmIncludeExternalMSProjectCommand.h,
- cmIncludeRegularExpressionCommand.h, cmInstallFilesCommand.h,
- cmInstallProgramsCommand.h, cmInstallTargetsCommand.h,
- cmLinkDirectoriesCommand.h, cmLinkLibrariesCommand.h,
- cmLoadCommandCommand.h, cmLocalUnixMakefileGenerator.cxx,
- cmMacroCommand.h, cmMakeDirectoryCommand.h, cmMakefile.cxx,
- cmMakefile.h, cmMarkAsAdvancedCommand.h, cmMessageCommand.h,
- cmOptionCommand.h, cmOutputRequiredFilesCommand.h,
- cmProjectCommand.h, cmQTWrapCPPCommand.h, cmQTWrapUICommand.h,
- cmRemoveCommand.h, cmSeparateArgumentsCommand.h, cmSetCommand.h,
- cmSetSourceFilesPropertiesCommand.h,
- cmSetTargetPropertiesCommand.h, cmSiteNameCommand.h,
- cmSourceFile.h, cmSourceFilesCommand.h,
- cmSourceFilesRemoveCommand.h, cmSourceGroupCommand.h,
- cmStringCommand.h, cmSubdirCommand.h, cmSubdirDependsCommand.h,
- cmSystemTools.cxx, cmTarget.h, cmTargetLinkLibrariesCommand.h,
- cmTryCompileCommand.h, cmTryRunCommand.h,
- cmUseMangledMesaCommand.h, cmUtilitySourceCommand.h,
- cmVTKMakeInstantiatorCommand.h, cmVTKWrapJavaCommand.h,
- cmVTKWrapPythonCommand.h, cmVTKWrapTclCommand.h,
- cmVariableRequiresCommand.h, cmWin32ProcessExecution.cxx,
- cmWrapExcludeFilesCommand.h, cmWriteFileCommand.h, cmake.cxx,
- cmake.h, cmakewizard.cxx, cmakewizard.h: removed redundent
- includes
-
-2003-08-10 16:01 martink
-
- * Source/: cmMakeDepend.cxx, cmMakeDepend.h, cmSourceFile.cxx:
- removed duplicate includes
-
-2003-08-10 16:00 martink
-
- * Source/cmMakefile.cxx: removed duplicate include
-
-2003-08-09 19:37 andy
-
- * Source/cmCTest.cxx: ERR: Rename some variables to remove shadow
- warning
-
-2003-08-08 18:28 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: Add regression images
- support
-
-2003-08-08 17:10 andy
-
- * Source/cmCTest.cxx: ENH: Better output and use RunMakeCommand for
- configure
-
-2003-08-08 11:59 andy
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake, CMakeDetermineSystem.cmake,
- CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake,
- CMakeVS6FindMake.cmake, CMakeVS71FindMake.cmake,
- CMakeVS7FindMake.cmake, CheckFunctionExists.cmake,
- CheckIncludeFile.cmake, CheckIncludeFileCXX.cmake,
- CheckIncludeFiles.cmake, CheckLibraryExists.cmake,
- CheckTypeSize.cmake, CheckVariableExists.cmake,
- FindHTMLHelp.cmake, FindMFC.cmake, TestBigEndian.cmake,
- TestCXXAcceptsFlag.cmake, TestForANSIForScope.cmake,
- TestForSTDNamespace.cmake: ENH: Cleanups and add missing
- CMakeOutput.log and CMakeError.log appending. Close Bug #136 -
- Verify that all modules that do try compile produce
- CMakeError.log and CMakeOutput.log
-
-2003-08-08 11:19 martink
-
- * Source/cmStandardIncludes.h: added stdio
-
-2003-08-08 10:40 martink
-
- * Source/cmLocalVisualStudio6Generator.cxx: fid post build iue on
- vs6 utility targets
-
-2003-08-08 10:20 andy
-
- * Tests/SystemInformation/DumpInformation.cxx: EHN: Also display
- Configure.h and Configure.hxx from cmsys
-
-2003-08-08 10:07 andy
-
- * Source/cmMakefile.cxx: ENH: When fixing cache value with
- uninitialized type, collapse full paths for PATH and FILEPATH.
- Closes Bug #82 - Specifying relative path when entering path can
- break things
-
-2003-08-08 09:26 andy
-
- * Source/cmMakefile.cxx: ENH: Handle untyped but initialized values
- for boolean AddCacheDefinition. Closes Bug #118 - Specifying
- cache entries with -D should not need the type
-
-2003-08-08 09:22 andy
-
- * Source/: cmCacheManager.cxx, cmCacheManager.h: ENH: Get accessor
- for cache value as boolean
-
-2003-08-08 09:17 martink
-
- * Source/cmLocalUnixMakefileGenerator.cxx: remove shadowed variable
-
-2003-08-08 09:14 king
-
- * Source/cmFindPackageCommand.cxx: ERR: Fixed use of != operator
- for std::string on old broken compilers.
-
-2003-08-08 08:48 andy
-
- * Source/cmakemain.cxx: ENH: Add help for cmake -E
-
-2003-08-08 08:48 andy
-
- * Source/cmCTest.cxx: ENH: Flush the output file, to make more nice
- output for tail -f
-
-2003-08-07 19:23 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: Add displaying of dots when
- building project. Also, file is now written as the output is
- produced, so, tail -f works, baby...
-
-2003-08-07 19:00 andy
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Abstract
- parsing of arguments so that I can use it in other places
-
-2003-08-07 18:44 andy
-
- * Source/cmaketest.cxx: ENH: More verbose
-
-2003-08-07 17:43 king
-
- * Source/ctest.cxx: ENH: Clarification of help dumped when no
- arguments are given and no test file is found.
-
-2003-08-07 16:54 hoffman
-
- * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt: BUG: fix the test
-
-2003-08-07 16:50 king
-
- * Source/cmFindPackageCommand.cxx: ENH: Added compatability for
- capitalization of _DIR and _FOUND variables in cmake 1.6.
-
-2003-08-07 16:32 andy
-
- * Modules/FindLATEX.cmake: ENH: Add PDFLaTeX and LaTeX2HTML. Closes
- Bug #132 - Add pdflatex and html2latex to FindLATEX.cmake
-
-2003-08-07 16:26 andy
-
- * Source/: cmVariableWatch.cxx, cmVariableWatch.h: ENH: Add remove
- watch
-
-2003-08-07 16:25 andy
-
- * CMakeLists.txt, Source/CMakeLists.txt: ENH: Fix dependencies for
- curses dialog
-
-2003-08-07 16:11 king
-
- * Source/cmake.cxx: BUG: Fixed typo in error message.
-
-2003-08-07 16:09 andy
-
- * CMakeLists.txt, Source/CMakeLists.txt,
- Source/cmTargetLinkLibrariesCommand.cxx,
- Source/cmTargetLinkLibrariesCommand.h,
- Source/CTest/CMakeLists.txt: ENH: Report an error when
- ADD_LIBRARY and TARGET_LINK_LIBRARIES are in the wrong order and
- fix CMakeLists files to actually work
-
-2003-08-07 16:04 hoffman
-
- * Tests/Complex/CMakeLists.txt,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Source/cmIncludeExternalMSProjectCommand.cxx: ENH: improve
- coverage
-
-2003-08-07 15:39 andy
-
- * Source/kwsys/ProcessWin32.c: ENH: Cast into apropriate type to
- remove warning
-
-2003-08-07 14:37 andy
-
- * Source/cmQTWrapUICommand.cxx: ENH: Use the new signature
-
-2003-08-07 14:37 andy
-
- * Tests/Wrapping/CMakeLists.txt: ENH: More verbose test
-
-2003-08-07 14:10 hoffman
-
- * Modules/Platform/Windows-cl.cmake: BUG: fix for main in a library
- on windows with nmake
-
-2003-08-07 11:53 king
-
- * Source/cmLocalUnixMakefileGenerator.h: ENH: Added convenience
- signature to OutputMakeRule.
-
-2003-08-07 11:42 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Makefiles now have
- rules to do a global generate if the CMake listfiles have
- changed. Necessary for when try-compiles are added to a
- listfile.
-
-2003-08-07 09:19 hoffman
-
- * Modules/FindMPI.cmake, Source/cmLocalVisualStudio7Generator.cxx:
- BUG: fix for bugs 125 - 128, and a fix for the bug introduced by
- the bug fix for but 92. & was being replaced with &amp, but
- after double quote was replaced with &quot causing it to be
- &amp;quot. Also add more search paths for mpi
-
-2003-08-06 19:19 andy
-
- * Source/cmMakefile.cxx: ENH: oops, initialize variable
-
-2003-08-06 18:54 andy
-
- * Source/cmGetCMakePropertyCommand.cxx,
- Source/cmGetCMakePropertyCommand.h, Source/cmMacroCommand.cxx,
- Source/cmMakefile.cxx, Source/cmMakefile.h,
- Tests/SystemInformation/CMakeLists.txt,
- Tests/SystemInformation/DumpInformation.cxx: ENH: Add option to
- retrieve list of macros. Close Bug #25 - Get_CMAKE_PROPERTIES
-
-2003-08-06 18:43 king
-
- * Source/cmDocumentation.cxx: BUG: Don't use -V as a version
- option. It conflicts with ctest.
-
-2003-08-06 18:41 king
-
- * Source/cmake.cxx: ENH: Removed old argument processing code that
- never does anything.
-
-2003-08-06 18:39 king
-
- * Source/: cmakewizard.cxx, CursesDialog/cmCursesMainForm.cxx:
- BUG#129: Fixed load/save of CMakeCache.txt when it is not in the
- current directory.
-
-2003-08-06 17:58 andy
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: If
- CMAKE_EDIT_COMMAND is not specified, use cmake -i
-
-2003-08-06 17:52 andy
-
- * bootstrap: ENH: Add rebuild_cache
-
-2003-08-06 17:32 andy
-
- * Modules/FindThreads.cmake: ENH: On apple use -lpthreads
-
-2003-08-06 15:22 king
-
- * Source/: cmInstallFilesCommand.h, cmInstallProgramsCommand.h:
- ENH: Tweaked whitespace in documentation of command.
-
-2003-08-06 15:18 king
-
- * Source/cmAddCustomCommandCommand.h: ENH: Tweaked whitespace in
- documentation of command.
-
-2003-08-06 15:12 king
-
- * Source/CursesDialog/ccmake.cxx: ENH: Added SEE ALSO support for
- generated unix manpage.
-
-2003-08-06 15:10 king
-
- * Source/CMakeLists.txt: BUG: We don't want to install cmaketest on
- UNIX or windows. It is for internal CMake testing only. We
- should probably fold its functionality into ctest anyway.
-
-2003-08-06 15:03 king
-
- * Source/ctest.cxx, Utilities/CMakeLists.txt: ENH: Added
- documentation for ctest.
-
-2003-08-06 14:49 king
-
- * Source/: cmDocumentation.cxx, cmDocumentation.h, cmakemain.cxx,
- CursesDialog/ccmake.cxx: ENH: Added configuration of name of
- executable in man page header and version banner.
-
-2003-08-06 13:48 king
-
- * Source/cmSystemTools.cxx: ENH: Hide windows for processes run by
- RunSingleCommand.
-
-2003-08-06 13:41 king
-
- * Source/kwsys/SystemTools.cxx: Fixed indentation
-
-2003-08-06 12:52 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: do not output make
- install rules on windows because they do not work
-
-2003-08-06 11:51 king
-
- * Source/cmaketest.cxx: BUG: Fixed spacing error in message.
-
-2003-08-06 10:42 king
-
- * Source/CMakeLists.txt: ENH: Install test is now enabled when
- CMAKE_INSTALL_PREFIX is CMake_BINARY_DIR/Tests/TestInstall/Prefix
- to keep test in one directory.
-
-2003-08-06 10:39 king
-
- * Source/CMakeLists.txt, Tests/TestInstall.sh.in: ENH: Added
- Install test. It is enabled when the CMAKE_INSTALL_PREFIX is
- CMake_BINARY_DIR/InstallTest.
-
-2003-08-06 10:15 andy
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Fix install problem
-
-2003-08-06 09:27 king
-
- * Source/kwsys/ProcessWin32.c: BUG: Need to provide stdin to child
- processes.
-
-2003-08-05 18:25 king
-
- * Tests/CommandLineTest/CMakeLists.txt: ENH: Added test of
- --copyright and --version arguments for coverage.
-
-2003-08-05 18:22 king
-
- * Tests/CommandLineTest/CMakeLists.txt: ENH: Added test of --help
- [command] form of help option for coverage.
-
-2003-08-05 18:10 king
-
- * Source/: cmDocumentation.cxx, cmDocumentation.h: ENH: Added
- support to --help to print help for a single command.
-
-2003-08-05 17:39 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Fixed
- implementation of long dependency list support. The proxy target
- must have a corresponding file to work correctly. Instead of
- using a proxy target, we now just list one line for each
- dependency and then print one copy of the build rule at the end.
-
-2003-08-05 16:51 king
-
- * Source/cmake.cxx: ENH: Clarified source directory mismatch
- message.
-
-2003-08-05 16:36 king
-
- * Source/: cmake.cxx, cmake.h: ENH#61: cmake and ccmake now support
- passing the path to a CMakeCache.txt file as an argument. Its
- settings will be loaded.
-
-2003-08-05 16:04 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG#92 - Added XML
- escaping for <, >, and &.
-
-2003-08-05 15:20 andy
-
- * Tests/SystemInformation/DumpInformation.cxx: BUG: Open as ascii
- to remove extra new lines
-
-2003-08-05 15:10 king
-
- * Source/kwsys/: ProcessFwd9x.c, ProcessWin32.c: ENH: Added
- show/hide window support.
-
-2003-08-05 14:27 king
-
- * Source/kwsys/: Process.h.in, ProcessUNIX.c, ProcessWin32.c: ENH:
- Added SetOption/GetOption methods for platform-specific options.
-
-2003-08-05 13:53 king
-
- * Source/kwsys/ProcessUNIX.c: BUG: Can't close stdin.
-
-2003-08-05 11:34 king
-
- * Source/kwsys/ProcessUNIX.c: BUG: Added missing
- zero-initialization of struct sigaction.
-
-2003-08-05 09:55 martink
-
- * Modules/: CMakeTestNMakeCLVersion.c, Platform/Windows-cl.cmake:
- added test for whether pdbtype should be used for nmake
-
-2003-08-05 09:07 king
-
- * Source/kwsys/ProcessUNIX.c: BUG: GetErrorString should return
- ErrorMessage buffer, not the pipe buffer.
-
-2003-08-05 09:07 martink
-
- * Source/cmLocalUnixMakefileGenerator.cxx: minor fix
-
-2003-08-05 08:49 martink
-
- * Source/: cmLocalUnixMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.h: added outputEcho method and fixed
- make help for nmake and borland
-
-2003-08-04 17:08 king
-
- * Modules/: CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake:
- ERR: Fixed typeo tests->test.
-
-2003-08-04 15:35 martink
-
- * Source/cmLocalUnixMakefileGenerator.cxx: added make help target
- first cut
-
-2003-08-04 14:34 martink
-
- * Source/cmLocalUnixMakefileGenerator.cxx: fix for debug libs on
- UNIX
-
-2003-08-04 11:48 andy
-
- * Source/cmSystemTools.cxx: ENH: Improve paths on windows
-
-2003-08-04 07:55 andy
-
- * Source/cmSystemTools.cxx: ENH: Fix escaping on windows
-
-2003-08-04 07:12 andy
-
- * Source/cmSystemTools.cxx: ENH: Fix argument parsing on UNIX with
- spaces
-
-2003-08-03 22:41 andy
-
- * Source/cmSiteNameCommand.cxx: ENH: Use new RunCommand
-
-2003-08-03 22:36 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: ENH: Use new RunCommand
-
-2003-08-03 22:34 andy
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx, cmake.cxx, cmaketest.cxx:
- ENH: Use the new RunCommand
-
-2003-08-03 22:33 andy
-
- * Source/: cmBuildNameCommand.cxx, cmTryRunCommand.cxx,
- cmSiteNameCommand.cxx: ENH: Use the new signature
-
-2003-08-03 22:32 andy
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Add back the
- kwsysProcess RunCommand, now is in parallel
-
-2003-08-03 20:47 andy
-
- * Source/cmGetCMakePropertyCommand.cxx,
- Source/cmGetCMakePropertyCommand.h, Source/cmake.h,
- Tests/SystemInformation/CMakeLists.txt,
- Tests/SystemInformation/DumpInformation.cxx: ENH: Add accessor
- for the list of commands
-
-2003-08-02 09:33 andy
-
- * Source/: cmCacheManager.cxx, cmCacheManager.h, cmMakefile.cxx:
- BUG: Fix problem with uninitialized variables
-
-2003-08-01 19:13 andy
-
- * Modules/FindQt.cmake, Tests/Wrapping/CMakeLists.txt: ENH: Make it
- work for QT 2.3 non commercial on windows
-
-2003-08-01 18:53 andy
-
- * Source/cmQTWrapUICommand.cxx: ENH: Make out of source work on
- Windows
-
-2003-08-01 18:52 andy
-
- * Tests/Wrapping/CMakeLists.txt: ENH: Add more debug
-
-2003-08-01 18:52 andy
-
- * Source/CMakeLists.txt: ENH: Fix test for Visual Studio
-
-2003-08-01 17:11 andy
-
- * Modules/FindThreads.cmake: ENH: MAke it work on FreeBSD
-
-2003-08-01 16:48 andy
-
- * Modules/: CheckForPthreads.c, FindThreads.cmake: ENH: Do better
- test for pthreads
-
-2003-08-01 16:48 andy
-
- * Modules/FindQt.cmake: ENH: Fix indentation
-
-2003-08-01 16:47 andy
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ERR: Remove debug
-
-2003-08-01 15:41 hoffman
-
- * Tests/: Complex/Executable/complex.file.cxx,
- ComplexOneConfig/Executable/complex.file.cxx,
- ComplexRelativePaths/Executable/complex.file.cxx: add missing
- file
-
-2003-08-01 15:33 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Dependency lists
- are now split into multiple make lines to allow longer lists on
- limited make programs.
-
-2003-08-01 15:33 andy
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Add support for
- -pthread
-
-2003-08-01 15:27 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Adding link flags
- to an executable that links to shared libraries must be done for
- both EXECUTABLE and WIN32_EXECUTABLE targets.
-
-2003-08-01 14:34 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt: BUG (85):
- allow . to be in the name of an executable
-
-2003-08-01 14:10 andy
-
- * Source/: cmCacheManager.cxx, cmCacheManager.h, cmMakefile.cxx,
- cmake.cxx: ENH: Allow specifying cmake variables on the command
- line without specifying the type Bug #118 - Specifying cache
- entries with -D should not need the type
-
-2003-08-01 14:10 martink
-
- * Source/cmLocalUnixMakefileGenerator.cxx: all Makefiles now have
- both full path to exe and short version
-
-2003-08-01 13:54 martink
-
- * Source/cmUtilitySourceCommand.cxx: fix for utility command
- without EXECUTABLE_OUTPUT_PATH
-
-2003-08-01 13:24 andy
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Syntax cleanup
-
-2003-08-01 13:13 hoffman
-
- * Source/: cmGlobalNMakeMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h:
- ENH: allow lib prefix for to stay for nmake and borland make as
- it is not a system prefix
-
-2003-08-01 13:00 martink
-
- * CMakeLists.txt: change lib path back to empty
-
-2003-08-01 12:49 andy
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Fix echo's to use
- @echo. This way verbose mode does not print twice: Bug #45 - add
- @ from echo commands
-
-2003-08-01 11:58 martink
-
- * CMakeLists.txt: made more options advanced
-
-2003-08-01 09:18 andy
-
- * Tests/Wrapping/CMakeLists.txt: ERR: Only link qt to qt executable
-
-2003-08-01 09:11 martink
-
- * Source/cmExportLibraryDependencies.cxx: fix for bug # 101
-
-2003-07-31 16:43 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx: BUG: when creating rule
- files remove the IntDir
-
-2003-07-31 15:32 hoffman
-
- * Source/cmTarget.cxx: ENH: add support for OBJECT_DEPENDS for
- visual studio
-
-2003-07-31 14:46 martink
-
- * Source/cmMakefile.cxx: bug fix for bug # 117
-
-2003-07-31 13:15 andy
-
- * Modules/FindwxWindows.cmake: made a minor bugfix on my
- FindwxWindows.cmake. I capsulated the regular expression
- matching for the libdrs with another IF (line 355). By: Jan
- Woetzel
-
-2003-07-31 08:50 andy
-
- * Tests/Wrapping/CMakeLists.txt: ERR: Attempt to fix wrapping on
- Windows
-
-2003-07-31 08:33 andy
-
- * Tests/Wrapping/Wrap.c: ENH: Fix problem on HP. Whay should K&R be
- default?
-
-2003-07-30 15:38 andy
-
- * Modules/FindQt.cmake: ENH: when linking in QT, we should also
- link DL, since QT uses them
-
-2003-07-30 13:39 andy
-
- * Modules/FindQt.cmake: ENH: QT if it is multi threaded should link
- in threads
-
-2003-07-30 13:28 andy
-
- * Tests/Wrapping/: CMakeLists.txt, foo.ui.in: ENH: Really test uic
- and perform configured uic test
-
-2003-07-30 13:27 andy
-
- * Source/cmQTWrapUICommand.cxx: ENH: Allow qt ui files being it the
- binary dir. Bug #110 - QT_WRAP_UI problem on out-of-source builds
-
-2003-07-30 13:11 andy
-
- * Source/cmaketest.cxx: ENH: Also fail when make
- failsSource/cmaketest.cxx
-
-2003-07-30 13:10 andy
-
- * Tests/Wrapping/: CMakeLists.txt, Wrap.c: ENH: Add executable for
- wrapping test, so that make stage actually passes
-
-2003-07-29 18:06 andy
-
- * Source/cmGlob.cxx: ENH: Speedup globbing and attempt to fix
- cygwin problem
-
-2003-07-29 17:15 andy
-
- * Modules/FindQt.cmake: ENH: Use FindX11 when doing Qt on unix
-
-2003-07-29 13:36 andy
-
- * Modules/Use_wxWindows.cmake: ENH: Add Use file for wxWindows.
- Thanks Jan Woetzel
-
-2003-07-29 07:41 andy
-
- * Modules/FindwxWindows.cmake: ENH: Improved find module. Thank you
- Jan Woetzel
-
-2003-07-29 07:01 andy
-
- * Source/cmAddCustomCommandCommand.cxx: ENH: Fix typo: Bug #100 -
- Spelling correction to an error message
-
-2003-07-28 18:12 hoffman
-
- * Source/: cmLocalUnixMakefileGenerator.cxx, cmMakeDepend.cxx,
- cmMakeDepend.h: ENH: performance fixes for network depends
-
-2003-07-28 14:43 hoffman
-
- * Source/: cmSourceGroupCommand.cxx, cmSourceGroupCommand.h: ENH:
- put back old style call to SOURCE_GROUP, no need to break things
- for this
-
-2003-07-28 13:40 hoffman
-
- * Source/cmake.cxx: BUG: make sure initial cache file read only
- reads one file, and does not look for CMakeLists.txt files on the
- entire disk
-
-2003-07-25 13:39 hoffman
-
- * Source/cmake.cxx: add a better message for the GUI if no
- CMakeLists.txt file is found.
-
-2003-07-25 12:50 hoffman
-
- * Tests/Wrapping/CMakeLists.txt: for unix add x11 and pthreads for
- qt
-
-2003-07-24 11:53 andy
-
- * Source/cmGlob.cxx: ENH: Remove warning
-
-2003-07-24 11:37 martink
-
- * Source/cmLocalUnixMakefileGenerator.cxx: fix for utility depends
- bug#76
-
-2003-07-24 11:33 king
-
- * Source/CMakeLists.txt, Tests/FindPackageTest/CMakeLists.txt,
- Tests/FindPackageTest/FindPackageTest.cxx: ENH: Added
- FindPackageTest to improve coverage.
-
-2003-07-24 11:32 king
-
- * Source/: cmFindPackageCommand.cxx, cmFindPackageCommand.h: ENH:
- Implemented QUIET argument propagation to FOO_FIND_QUIETLY
- setting in FindFOO.cmake module that is found.
-
-2003-07-24 11:12 andy
-
- * Source/cmGlob.cxx: ENH: On windows handle network paths
-
-2003-07-24 11:06 king
-
- * Modules/FindVTK.cmake: ENH: Improved error message for VTK_DIR
- not found to refer to it as a cache entry. Some users thought
- this was supposed to be an environment variable.
-
-2003-07-24 10:58 king
-
- * Source/CMakeLists.txt, Source/cmDumpDocumentation.cxx,
- Tests/CommandLineTest/CMakeLists.txt,
- Tests/CommandLineTest/CommandLineTest.cxx,
- Tests/StringFileTest/CMakeLists.txt: ENH: Added CommandLineTest
- to add coverage for command line arguments to cmake executables.
- This replaces the old DumpDocumentation test.
-
-2003-07-23 18:01 andy
-
- * Tests/StringFileTest/CMakeLists.txt: ENH: More coverage
-
-2003-07-23 17:59 king
-
- * Utilities/CMakeLists.txt: ENH: Added build of documentation for
- CMakeSetup.
-
-2003-07-23 17:27 king
-
- * Source/: cmDocumentation.cxx, cmDocumentation.h: ENH:
- CheckOptions now takes const argv.
-
-2003-07-23 15:45 king
-
- * Source/cmSourceGroupCommand.cxx: ENH: Added backwards
- compatability.
-
-2003-07-23 15:32 king
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx, cmMakefile.cxx,
- cmSourceGroup.cxx, cmSourceGroup.h, cmSourceGroupCommand.cxx,
- cmSourceGroupCommand.h: ENH: Fully implemented SOURCE_GROUP
- command.
-
-2003-07-23 14:31 andy
-
- * Source/: cmCPluginAPI.cxx, cmCPluginAPI.h: ENH: Fix compatibility
-
-2003-07-23 10:39 king
-
- * Source/cmSourceGroupCommand.cxx: BUG: Fixed off-by-one error in
- file list loop. Fix submitted by David A. Karr.
-
-2003-07-23 10:26 andy
-
- * Source/cmGlob.cxx: ENH: On windows and apple handle
- lowercase/upercase file name problem
-
-2003-07-23 09:10 king
-
- * Tests/StringFileTest/CMakeLists.txt: ENH: Added more verbose
- output of what globbing results.
-
-2003-07-23 08:58 king
-
- * Utilities/CMakeLists.txt: BUG: Don't install ccmake documentation
- if no ccmake was built.
-
-2003-07-23 08:37 king
-
- * bootstrap: ENH: Adding forced settings for prefix, docdir,
- mandir, and datadir.
-
-2003-07-22 17:09 andy
-
- * DartConfig.cmake: ENH: Direct link to cmake bugs
-
-2003-07-22 13:53 andy
-
- * Source/cmCPluginAPI.cxx: ERR: Fix error on bad C++ compiler that
- do not handle return void
-
-2003-07-22 13:15 andy
-
- * Source/cmTarget.cxx: BUG: Fix copy/paste typo
-
-2003-07-22 13:14 andy
-
- * Source/: cmCPluginAPI.cxx, cmCPluginAPI.h: ENH: Add DisplayStatus
-
-2003-07-22 12:21 andy
-
- * Tests/: LoadCommand/LoadedCommand.cxx,
- LoadCommand/CMakeCommands/cmTestCommand.c,
- LoadCommandOneConfig/LoadedCommand.cxx,
- LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: ENH: More
- coverage
-
-2003-07-22 11:17 andy
-
- * Tests/StringFileTest/CMakeLists.txt: ENH: More coverage
-
-2003-07-22 10:45 andy
-
- * Tests/StringFileTest/CMakeLists.txt: ENH: Increase coverage
-
-2003-07-21 17:14 king
-
- * Utilities/CMakeLists.txt: ENH: Added generation of ccmake
- documentation on UNIX.
-
-2003-07-21 17:13 king
-
- * Source/CursesDialog/ccmake.cxx: ENH: Added introduction paragraph
- to documentation.
-
-2003-07-21 16:38 king
-
- * CMakeLists.txt, bootstrap, Modules/CMakeLists.txt,
- Modules/Platform/CMakeLists.txt, Source/CMakeLists.txt,
- Source/cmCommands.cxx, Source/cmConfigure.cmake.h.in,
- Source/cmake.cxx, Templates/CMakeLists.txt,
- Utilities/CMakeLists.txt: ENH: Added optional configuration of
- data/doc/man dirs. This will be useful for package maintainers.
-
-2003-07-21 16:37 king
-
- * Source/: InitialConfigureFlags.cmake.in, cmConfigure.h.in:
- Removing old file. This was used by old configure script which
- has been removed.
-
-2003-07-21 15:29 andy
-
- * Source/cmGlob.cxx, Tests/StringFileTest/CMakeLists.txt: ENH: fix
- glob on windows and add glob recurse test
-
-2003-07-21 15:02 king
-
- * Source/CMakeLists.txt: ENH: Added generation of cmake
- documentation during build preocess.
-
-2003-07-21 14:58 king
-
- * Source/cmDocumentation.cxx: BUG: Text dump of documentation
- should be in ascii mode.
-
-2003-07-21 14:57 king
-
- * Source/cmAddCustomTargetCommand.h: BUG: Fixed documentation
- formatting.
-
-2003-07-21 14:44 andy
-
- * Source/: cmSourceFilesCommand.cxx, cmSourceFilesCommand.h: ENH:
- Use new deprecation mechanism
-
-2003-07-21 14:43 andy
-
- * Source/cmFileCommand.h: ENH: Fix comment
-
-2003-07-21 14:42 andy
-
- * Source/: cmCommand.h, cmMakefile.cxx: ENH: Initial framework for
- deprecated commands
-
-2003-07-21 13:48 andy
-
- * Tests/StringFileTest/CMakeLists.txt: ENH: add more coverage tests
-
-2003-07-21 13:46 andy
-
- * Source/cmGlob.cxx: ENH: Handle ^ as [^fu]
-
-2003-07-17 14:56 andy
-
- * Tests/StringFileTest/CMakeLists.txt: ENH: Add additional new line
- after the string to match the change in file command
-
-2003-07-17 14:56 andy
-
- * Source/cmFileCommand.cxx: ENH: Remove extra new line after the
- written string
-
-2003-07-17 14:54 andy
-
- * Modules/: CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake,
- CheckFunctionExists.cmake, CheckIncludeFile.cmake,
- CheckIncludeFileCXX.cmake, CheckIncludeFiles.cmake,
- CheckLibraryExists.cmake, CheckSymbolExists.cmake,
- CheckTypeSize.cmake, CheckVariableExists.cmake,
- TestBigEndian.cmake, TestCXXAcceptsFlag.cmake: ENH: Extra new
- line after output
-
-2003-07-16 15:38 hoffman
-
- * Modules/CMakeDetermineSystem.cmake, Source/cmGlobalGenerator.cxx:
- ENH: set CMAKE_SYSTEM_VERSION for windows
-
-2003-07-16 14:52 king
-
- * Source/: cmFindPackageCommand.cxx, cmFindPackageCommand.h: ENH:
- Added QUIET optional argument to block error message when _DIR
- variable is not set. Also removed upper-casing of package name.
-
-2003-07-16 11:38 king
-
- * Tests/SystemInformation/: DumpInformation.cxx,
- DumpInformation.h.in: ENH: Added dump of more files. Improved
- robustness of dump.
-
-2003-07-15 12:52 hoffman
-
- * Source/cmAddCustomCommandCommand.cxx: ENH: better error checking
-
-2003-07-14 10:33 king
-
- * Source/cmMakefile.cxx: BUG: Custom commands should have variables
- expanded before comparing with previously added custom commands.
-
-2003-07-14 10:13 martink
-
- * Source/cmFLTKWrapUICommand.cxx: some updates
-
-2003-07-14 09:44 martink
-
- * Source/cmFLTKWrapUICommand.cxx: some updates
-
-2003-07-14 09:31 martink
-
- * Source/: cmFLTKWrapUICommand.cxx, cmFLTKWrapUICommand.h: some
- updates
-
-2003-07-14 09:15 andy
-
- * Source/: cmFileCommand.cxx, cmFileCommand.h, cmGlob.cxx,
- cmGlob.h: ENH: Recurse subdirectories
-
-2003-07-11 17:21 king
-
- * bootstrap: ENH: Removed cmsys include directory from bootstrap
- build of kwsys. It is no longer needed.
-
-2003-07-11 16:29 king
-
- * Utilities/Release/cmake_release.sh: BUG: Update of release
- utilities must maintain tag.
-
-2003-07-11 14:14 andy
-
- * Modules/: CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake,
- CheckFunctionExists.cmake, CheckIncludeFile.cmake,
- CheckIncludeFileCXX.cmake, CheckIncludeFiles.cmake,
- CheckLibraryExists.cmake, CheckSymbolExists.cmake,
- CheckTypeSize.cmake, CheckVariableExists.cmake, Dart.cmake,
- TestBigEndian.cmake, TestCXXAcceptsFlag.cmake: ENH: Replace
- WRITE_FILE with FILE(WRITE and FILE(APPEND. Replace
- MAKE_DIRECTORY with FILE(MAKE_DIRECTORY, replace STRING(ASCII
- things
-
-2003-07-10 23:22 king
-
- * Source/cmake.h: ERR: Removed duplicate generator documentation.e
-
-2003-07-10 23:15 king
-
- * Source/: cmDocumentation.cxx, cmDocumentation.h, cmakemain.cxx:
- ENH: Added SEE ALSO section to generated man page. Minor
- formatting improvements for generated text-only documentation.
-
-2003-07-10 23:14 king
-
- * Source/cmake.h: ENH: Added CMAKE_STANDARD_INTRODUCTION macro
- defining standard documentation for inclusion in every binary's
- documentation.
-
-2003-07-10 23:14 king
-
- * Source/cmGlobalUnixMakefileGenerator.cxx: ENH: Wrote basic
- description in full documentation block.
-
-2003-07-10 14:48 andy
-
- * Tests/StringFileTest/StringFile.cxx: ENH: Add missing include
-
-2003-07-10 14:46 king
-
- * Source/kwsys/CMakeLists.txt: ERR: Generated source files need
- access to kwsysPrivate.h. Just copy it to the build tree.
-
-2003-07-10 14:35 andy
-
- * Source/cmStringCommand.cxx: ERR: Remove unused variable
-
-2003-07-10 14:32 king
-
- * Source/kwsys/: Base64.c, CMakeLists.txt, Directory.cxx,
- EncodeExecutable.c, ProcessUNIX.c, ProcessWin32.c,
- RegularExpression.cxx, SystemTools.cxx, kwsysPrivate.h: ENH:
- Added use of KWSYS_HEADER macro in c and cxx files to include
- kwsys headers through their configured namespace.
-
-2003-07-10 14:29 andy
-
- * Tests/StringFileTest/CMakeLists.txt,
- Tests/StringFileTest/InputFile.h.in,
- Tests/StringFileTest/StringFile.cxx, Source/CMakeLists.txt: ENH:
- Add test for string and file commands
-
-2003-07-10 13:25 andy
-
- * Source/: cmStringCommand.cxx, cmStringCommand.h: ENH: Add upper
- and lower case support. Close Bug #79 - STRING TOUPPER and
- TOLOWER
-
-2003-07-09 17:25 king
-
- * Source/cmSystemTools.cxx: ENH: Added escape support for ( and ).
-
-2003-07-09 17:17 king
-
- * Source/: cmListFileCache.cxx, cmSystemTools.cxx: ENH: Added
- support for # characters inside quoted arguments and for escaping
- # in a non-quoted argument. Improved parsing speed by not
- compiling regular expressions on blank lines.
-
-2003-07-09 16:18 king
-
- * Source/kwsys/ProcessUNIX.c: ERR: Using strncpy instead of
- snprintf for portability.
-
-2003-07-08 16:33 andy
-
- * Source/: cmFileCommand.cxx, cmFileCommand.h: ENH: Add
- MAKE_DIRECTORY and modify documentation
-
-2003-07-08 16:27 andy
-
- * Source/cmGlob.cxx: ENH: Remove commented code
-
-2003-07-08 14:18 andy
-
- * bootstrap, Source/CMakeLists.txt, Source/cmFileCommand.cxx,
- Source/cmFileCommand.h, Source/cmGlob.cxx, Source/cmGlob.h: ENH:
- Add globbing to FILE command
-
-2003-07-08 13:27 king
-
- * Source/cmMakefile.cxx: BUG#65: Fixed inheritance of
- CMAKE_CURRENT_SOURCE_DIR and CMAKE_CURRENT_BINARY_DIR.
-
-2003-07-08 09:21 andy
-
- * Source/kwsys/CMakeLists.txt: ENH: Fix example
-
-2003-07-08 00:28 king
-
- * Source/cmDocumentation.cxx: ERR: Added missing std::.
-
-2003-07-07 23:20 king
-
- * CMakeLists.txt, Source/cmDocumentation.cxx,
- Source/cmDumpDocumentation.cxx, Source/cmStandardIncludes.h: ENH:
- Improved name of cmake version variables. They are now
- CMake_VERSION (major.minor) and CMake_VERSION_FULL
- (major.minor.patch).
-
-2003-07-07 22:54 king
-
- * Source/cmStringCommand.h: BUG: Removed extra newlines from help
- text.
-
-2003-07-07 22:44 king
-
- * Source/: cmDocumentation.cxx, cmDocumentation.h, cmakemain.cxx,
- CursesDialog/ccmake.cxx: ENH: Added support to write multiple
- help options with one command line. Output files can now also be
- specified for the help options.
-
-2003-07-07 22:41 king
-
- * Source/kwsys/CMakeLists.txt: ERR: Removed useless set.
-
-2003-07-07 22:41 king
-
- * Source/cmCommands.cxx: ENH: Made ADD_DEPENDENCIES available from
- bootstrapped cmake. It will be needed to build cmake.
-
-2003-07-07 21:52 king
-
- * Source/: cmDocumentation.cxx, cmDocumentation.h,
- cmGlobalBorlandMakefileGenerator.cxx,
- cmGlobalBorlandMakefileGenerator.h,
- cmGlobalCodeWarriorGenerator.cxx, cmGlobalCodeWarriorGenerator.h,
- cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalNMakeMakefileGenerator.cxx,
- cmGlobalNMakeMakefileGenerator.h,
- cmGlobalUnixMakefileGenerator.cxx,
- cmGlobalUnixMakefileGenerator.h,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio71Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h, cmake.cxx, cmake.h,
- cmakemain.cxx: ENH: Registered global generators are now kept in
- a table in the cmake instance. Added support for documentation
- with a Generators section.
-
-2003-07-07 18:27 king
-
- * Source/cmSystemTools.cxx: BUG: Parsing of arguments from string
- by RunCommand before passing to Process execution does not work
- with backslashes in path names. Until this is fixed, we cannot
- use Process execution from kwsys.
-
-2003-07-07 17:52 andy
-
- * bootstrap: ENH: Fix bootstrap to include ProcessUNIX.c
-
-2003-07-07 17:47 andy
-
- * Source/: cmCommands.cxx, cmFileCommand.cxx, cmFileCommand.h: ENH:
- Start working on a general file manipulation command
-
-2003-07-07 17:45 andy
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Add
- optional argument to GetLineFromStream which can let the caller
- know whether there was a new line character at the end of the
- line that was just read
-
-2003-07-07 13:36 andy
-
- * Docs/cmake-syntax.vim: Initial import of VIM syntax highlighting
- file
-
-2003-07-07 09:38 king
-
- * Source/kwsys/ProcessWin32.c: ENH: Made call to FormatMessage more
- robust.
-
-2003-07-07 09:16 king
-
- * Source/cmSystemTools.cxx: ENH: Using new Process
- SetWorkingDirectory method instead of manually implementing it.
-
-2003-07-07 09:12 king
-
- * Source/kwsys/: Process.h.in, ProcessUNIX.c: ENH: Implemented
- SetWorkingDirectory method.
-
-2003-07-07 09:10 king
-
- * Source/kwsys/ProcessWin32.c: ENH: Implemented SetWorkingDirectory
- method on Windows.
-
-2003-07-07 08:41 king
-
- * Source/cmSystemTools.cxx: ENH: Using kwsys Process implementation
- to implement RunCommand.
-
-2003-07-07 08:36 andy
-
- * Source/kwsys/: Process.h.in, ProcessUNIX.c: ENH: Start working on
- Working Directory support
-
-2003-07-06 20:40 king
-
- * Source/kwsys/ProcessWin32.c: ENH: Using GetTempPath instead of
- TEMP environment variable to get a location to write the Win9x
- forwarding executable.
-
-2003-07-03 18:33 king
-
- * Source/kwsys/ProcessWin32.c: BUG: Argument parsers do not always
- remove double quotes from around an argument that has no spaces.
-
-2003-07-03 12:50 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: ENH: add linker flags
-
-2003-07-03 11:39 hoffman
-
- * Source/cmCreateTestSourceList.cxx: ENH: null terminate at the end
- of the list
-
-2003-07-03 07:58 king
-
- * Source/kwsys/CMakeLists.txt: BUG: Install target for standard
- header wrappers must point at the std subdirectory in the
- installation.
-
-2003-07-02 10:48 andy
-
- * DartConfig.cmake: ENH: Add proper links to bugtracker
-
-2003-07-02 10:37 andy
-
- * DartConfig.cmake: ENH: Add links to bugtracker
-
-2003-07-02 08:35 king
-
- * Source/kwsys/ProcessWin32.c: ERR: Added cast to remove warning.
- We know the length of the string will not be beyond 2^31.
-
-2003-07-01 13:32 king
-
- * Source/kwsys/Base64.c: ERR: Added casts to remove type conversion
- warnings. Pointer differences can be 64-bit, but unsigned long
- is 32-bit on many platforms. We know we are not traversing more
- data than can be handled by an unsigned long, though, because the
- length argument is an unsigned long.
-
-2003-07-01 13:27 king
-
- * Source/kwsys/: ProcessFwd9x.c, ProcessWin32.c: ERR: Should use %p
- to pass HANDLE values on a command line, not %d.
-
-2003-07-01 13:27 king
-
- * Source/kwsys/SystemTools.cxx: ERR: Removed unreachable code.
-
-2003-07-01 11:40 king
-
- * Source/kwsys/: Base64.h.in, Process.h.in: ERR: Reduced
- requirements on preprocessor for export macro due to limitations
- of Mac preprocessor. The preprocessor can be fixed by using
- -no-cpp-precomp, but we don't want to require that option for
- every source file that includes our headers.
-
-2003-07-01 08:54 king
-
- * Source/kwsys/EncodeExecutable.c: ERR: Added explicit cast from
- size_t to int. We know that the data will not be out of range.
-
-2003-06-30 10:50 andy
-
- * bootstrap: ERR: Fix changes in kwsys for Configure.h and
- StandardIncludes.hxx
-
-2003-06-30 10:44 andy
-
- * Source/kwsys/: Base64.c, ProcessFwd9x.c, ProcessWin32.c: ERR:
- Remove warnings on Windows
-
-2003-06-30 10:30 king
-
- * Source/kwsys/: Base64.h.in, CMakeLists.txt, Configure.h.in,
- Directory.cxx, Directory.hxx.in, EncodeExecutable.c,
- Process.h.in, ProcessWin32.c, RegularExpression.cxx,
- RegularExpression.hxx.in, SystemTools.hxx.in: ENH: Added DLL
- support.
-
-2003-06-30 10:12 martink
-
- * Tests/CustomCommand/CMakeLists.txt: modified code to match cmake
- mode
-
-2003-06-30 10:07 king
-
- * Source/kwsys/StandardIncludes.hxx.in: Removing old file.
-
-2003-06-30 09:56 andy
-
- * bootstrap: ENH: Fix checking for C++ compiler on Mac, remove
- cmConfigure.h.tmp, so that nothing bad can happen if configure is
- interrupted, reports kwsys sources in cmConfigure.h
-
-2003-06-30 08:49 king
-
- * Source/kwsys/Base64.h.in: ENH: Updated comments for doxygen.
-
-2003-06-30 08:48 king
-
- * Source/kwsys/Base64.c: BUG: Should define KWSYS_IN_BASE64_C, not
- KWSYS_IN_PROCESS_C.
-
-2003-06-30 08:48 king
-
- * Source/kwsys/CMakeLists.txt: ENH: Using FOREACH to shorten
- enabling of C components.
-
-2003-06-29 21:42 andy
-
- * CMakeLists.txt, Source/kwsys/Base64.c, Source/kwsys/Base64.h.in,
- Source/kwsys/CMakeLists.txt: ENH: Initial import of Base64
-
-2003-06-29 20:30 king
-
- * CMakeLists.txt: ENH: Enabling build of kwsys's Process class.
- This will be needed for ctest.
-
-2003-06-29 20:20 king
-
- * Docs/cmake-mode.el: ENH: Added comment-region support.
-
-2003-06-27 09:48 king
-
- * CMakeLists.txt: ERR: Disabling multiply defined symbols warning
- for linking executables on IRIX. The compiler's prelinker does
- not add weak symbols, so template instantiations are duplicated.
-
-2003-06-27 08:46 martink
-
- * Source/: cmAuxSourceDirectoryCommand.cxx,
- cmTryCompileCommand.cxx: fix compiler warnings
-
-2003-06-26 13:39 king
-
- * Source/kwsys/CMakeLists.txt: ENH: Updated documentation to
- describe enabling of classes.
-
-2003-06-26 09:44 andy
-
- * bootstrap: ENH: Attempt to handle OSF compiler flags
-
-2003-06-25 09:32 king
-
- * Source/kwsys/testProcess.c: ERR: Fixed use of non-constant
- initializer.
-
-2003-06-25 08:29 king
-
- * Source/kwsys/Directory.cxx: ERR: Fixed conversion warning.
-
-2003-06-24 21:37 lorensen
-
- * Source/kwsys/SystemTools.cxx: ERR: portability.
-
-2003-06-24 16:35 martink
-
- * Source/kwsys/SystemTools.cxx: compiler fix
-
-2003-06-24 15:24 martink
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: moved depend code into
- cmTarget
-
-2003-06-24 15:21 martink
-
- * Source/: cmMakefile.cxx, cmMakefile.h, kwsys/SystemTools.cxx:
- performance improvements
-
-2003-06-24 15:11 martink
-
- * Source/cmMacroCommand.cxx: performance improvements
-
-2003-06-24 15:10 martink
-
- * Source/: cmTarget.cxx, cmTarget.h: moved function into cmTarget
-
-2003-06-24 10:16 king
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ERR: Renamed
- superclass typedef from SystemTools to Superclass to avoid
- conflict across platforms.
-
-2003-06-24 09:02 king
-
- * Source/kwsys/SystemTools.cxx: ERR: std->kwsys_std.
-
-2003-06-24 08:19 king
-
- * Source/cmSystemTools.h: ERR: Typedefs are not inherited on SGI
- and Borland.
-
-2003-06-23 16:26 martink
-
- * Source/: cmForEachCommand.cxx, cmMacroCommand.cxx: perf
- improvement
-
-2003-06-23 16:25 martink
-
- * Source/cmCustomCommand.h: performance improvement
-
-2003-06-23 14:10 king
-
- * CMakeLists.txt, bootstrap, Source/CMakeLists.txt,
- Source/cmBuildNameCommand.cxx, Source/cmCTest.cxx,
- Source/cmCacheManager.cxx, Source/cmConfigureFileCommand.cxx,
- Source/cmIfCommand.cxx, Source/cmListFileCache.cxx,
- Source/cmLoadCacheCommand.cxx,
- Source/cmLocalCodeWarriorGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmMakeDepend.cxx, Source/cmMakeDepend.h,
- Source/cmMakefile.cxx, Source/cmRegularExpression.cxx,
- Source/cmRegularExpression.h, Source/cmSiteNameCommand.cxx,
- Source/cmSourceGroup.h, Source/cmStringCommand.cxx,
- Source/cmSystemTools.cxx, Source/cmUseMangledMesaCommand.cxx,
- Source/cmaketest.cxx: ENH: Merged use of the kwsys
- RegularExpression class instead of cmRegularExpression.
-
-2003-06-23 14:05 king
-
- * Source/kwsys/RegularExpression.hxx.in: ERR: Fixed documentation
- to read RegularExpression instead of cmRegularExpression.
-
-2003-06-23 11:16 martink
-
- * Source/cmTarget.cxx: removed some no longer required code
-
-2003-06-23 08:58 king
-
- * CMakeLists.txt, bootstrap, Source/CMakeLists.txt,
- Source/cmAuxSourceDirectoryCommand.cxx, Source/cmDirectory.cxx,
- Source/cmDirectory.h, Source/cmMakeDirectoryCommand.cxx,
- Source/cmMakefile.cxx, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h, Source/cmTryCompileCommand.cxx,
- Source/CursesDialog/cmCursesPathWidget.cxx,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt: ENH: Merged
- use of kwsys library.
-
-2003-06-23 08:58 king
-
- * Makefile.in, configure, configure.in, Source/Makefile.in: ENH:
- Configure script now just invokes bootstrap script.
-
-2003-06-23 08:56 king
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: ENH: Removed
- cmake-specific functions.
-
-2003-06-23 08:56 king
-
- * Source/kwsys/CMakeLists.txt: BUG: Need include regular expression
- to match all files.
-
-2003-06-21 11:57 andy
-
- * bootstrap: ENH: Add copyright, cmConfigure.h is now touched only
- when it is modified, remove some spaces from output, add
- procedure that copies file and replaces atstring with another
- string
-
-2003-06-20 20:33 martink
-
- * Source/cmMakefile.cxx: fix to expand variables in custom command
- outputs and main dependencies
-
-2003-06-20 14:10 king
-
- * Source/kwsys/CMakeLists.txt: ENH: Changed configuration of header
- directory to specify it without the namespace.
-
-2003-06-20 14:10 hoffman
-
- * Docs/cmake-mode.el: BUG: fix highlight for comments in multiple
- buffers
-
-2003-06-20 13:56 martink
-
- * Source/cmMakefile.cxx: bug in not expanding variables for custom
- commands in targets
-
-2003-06-20 11:23 martink
-
- * Source/cmMakefile.cxx: minor perf improvement
-
-2003-06-19 18:57 king
-
- * Source/kwsys/: CMakeLists.txt, Configure.hxx.in,
- RegularExpression.hxx.in, SystemTools.hxx.in,
- kwsys_std_fstream.h.in, kwsys_std_iosfwd.h.in,
- kwsys_std_iostream.h.in, kwsys_std_sstream.h.in: ENH: Added full
- configuration of namespace even for Configure.hxx macro
- definitions.
-
-2003-06-19 16:23 hoffman
-
- * Docs/cmake-mode.el: add a comment
-
-2003-06-19 15:05 king
-
- * Docs/: cmake-indent.vim, cmake-mode.el: Added copyright.
-
-2003-06-19 14:37 andy
-
- * Docs/cmake-indent.vim: Initial import: indentation file for vim
-
-2003-06-19 14:30 king
-
- * Docs/cmake-mode.el: Minor tweaks for anal cases of indentation.
-
-2003-06-19 14:27 martink
-
- * Source/cmMakefile.cxx: bug fix for finding source files
-
-2003-06-19 14:27 martink
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: new function
-
-2003-06-19 14:17 king
-
- * Docs/cmake-mode.el: BUG: Don't open a block if a command starts
- with IF in its name.
-
-2003-06-19 13:38 martink
-
- * Docs/cmake-mode.el: fix to use function-name
-
-2003-06-19 13:23 king
-
- * Docs/cmake-mode.el: Fixed slow regex for indentation.
-
-2003-06-19 11:11 king
-
- * Docs/cmake-mode.el: ENH: Wrote more robust regular expressions
- for indenting.
-
-2003-06-19 11:07 martink
-
- * Docs/cmake-mode.el: emacs mode
-
-2003-06-18 17:28 king
-
- * Source/kwsys/kwsysHeaderDump.pl: Tool to dump macros for
- redefining C header namespaces.
-
-2003-06-18 17:27 king
-
- * Source/kwsys/: CMakeLists.txt, testProcess.c: ENH: Added test for
- Process implementation.
-
-2003-06-18 17:27 king
-
- * Source/kwsys/ProcessWin32.c: BUG: Must return Exception status
- correctly.
-
-2003-06-18 17:19 king
-
- * Source/kwsys/ProcessUNIX.c: Removed Exception_Abort because there
- is no windows version. Also made ExitValue consistent with
- windows when a signal kills the process.
-
-2003-06-18 17:19 king
-
- * Source/kwsys/Process.h.in: Removed Exception_Abort because there
- is no windows version. Also removed stray typedef keywords.
-
-2003-06-18 17:06 king
-
- * Source/kwsys/: Process.h.in, ProcessUNIX.c, ProcessWin32.c,
- test1.cxx: ENH: Added documentation to interface. Finished
- process exit code interpretation implementation prototype.
-
-2003-06-18 11:43 hoffman
-
- * Source/cmStringCommand.h: remove non-html safe stuff
-
-2003-06-18 09:13 hoffman
-
- * Source/cmMakefile.cxx: BUG: fix not being able to find generated
- files in the binary tree
-
-2003-06-17 17:13 martink
-
- * Source/cmLocalVisualStudio7Generator.cxx: fix for bad assumption
- on custom rules
-
-2003-06-17 16:54 martink
-
- * Source/cmLocalVisualStudio6Generator.cxx: fix for bad assumption
-
-2003-06-17 15:13 martink
-
- * Source/cmLocalVisualStudio6Generator.cxx: fix for bad assumption
-
-2003-06-16 10:20 martink
-
- * Source/cmLocalVisualStudio6Generator.cxx: fix for vs6 rule files
-
-2003-06-13 16:59 king
-
- * Source/cmMakefile.cxx: BUG: Fixed translation of relative path
- names to full path names.
-
-2003-06-13 16:47 king
-
- * Source/cmSetSourceFilesPropertiesCommand.cxx: BUG: Fixed crash
- when source file cannot be looked up correctly.
-
-2003-06-13 14:15 king
-
- * Source/cmake.cxx: BUG: Fixed check for existence of
- CMakeLists.txt file in top-level source directory before first
- configure.
-
-2003-06-12 16:43 king
-
- * Modules/Platform/Windows-bcc32.cmake: BUG: Stack size in
- generated programs should be 10 meg, not 256.
-
-2003-06-12 16:18 king
-
- * Source/kwsys/ProcessWin32.c: ERR: Added error check for malloc of
- process control structure.
-
-2003-06-12 15:58 king
-
- * Source/kwsys/ProcessWin32.c: ERR: Using GetCurrentProcessId
- instead of _getpid so we don't need to include the system
- process.h header. Also creating pipe threads with 1K stacks to
- save memory.
-
-2003-06-11 11:00 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Uninitialized
- std::string returns bad pointers from c_str() on some platforms.
-
-2003-06-11 10:21 king
-
- * Source/kwsys/CMakeLists.txt: ENH: EXECUTABLE_OUTPUT_PATH is now
- always set to get around cmake 1.6.7 dependency problems. Moved
- default header directory inside the build tree instead of up one
- level. User projects can now set the header directory.
-
-2003-06-11 10:11 hoffman
-
- * Modules/CMakeDetermineSystem.cmake: ENH: add processor type of
- win32
-
-2003-06-11 10:07 hoffman
-
- * Modules/: CMakeDetermineSystem.cmake, CMakeSystem.cmake.in: ENH:
- add CMAKE_SYSTEM_PROCESSOR
-
-2003-06-11 09:45 king
-
- * Source/kwsys/CMakeLists.txt: ERR: Added custom command that takes
- advantage of new syntax.
-
-2003-06-11 09:44 king
-
- * Source/kwsys/ProcessWin32.c: ERR: Removed unused variables.
-
-2003-06-11 09:44 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: When executable
- output path is not set, we still need to generate the full path
- to the executable target.
-
-2003-06-10 17:39 king
-
- * Source/kwsys/CMakeLists.txt: ERR: Added work-around for cmake
- 1.6.7 bug in borland makefile generator.
-
-2003-06-10 16:56 king
-
- * Source/kwsys/CMakeLists.txt: BUG: Need to add ANSI C flags for
- some platforms.
-
-2003-06-10 16:55 king
-
- * Source/kwsys/ProcessUNIX.c: ERR: Added static specifier to static
- function definitions to quiet warnings on HP compiler.
-
-2003-06-10 16:15 king
-
- * Source/kwsys/ProcessWin32.c: BUG: Don't show a console
- application's window.
-
-2003-06-10 15:50 king
-
- * Source/kwsys/test1.cxx: ENH: Added use of process execution.
-
-2003-06-10 15:46 king
-
- * Source/kwsys/: CMakeLists.txt, EncodeExecutable.c, Process.h.in,
- ProcessFwd9x.c, ProcessUNIX.c, ProcessWin32.c: ENH: Added Process
- execution implementation.
-
-2003-06-10 15:45 king
-
- * Source/kwsys/SystemTools.cxx: ENH: Moved disabling of warnings to
- after kwsys includes.
-
-2003-06-10 15:44 king
-
- * Source/kwsys/kwsys_std.h.in: ENH: Disabled warning 4786.
-
-2003-06-06 09:58 andy
-
- * Modules/FindVTK.cmake: BUG: When VTK is not found, it should be
- fatal error
-
-2003-06-06 09:57 andy
-
- * Source/CursesDialog/cmCursesMainForm.cxx: BUG: When only loading
- ccmake cache, do not allow generate
-
-2003-06-06 09:06 martink
-
- * Source/cmCreateTestSourceList.cxx: undid change because other
- changes make it no longer neccesary
-
-2003-06-05 16:45 martink
-
- * Source/: cmMakefile.cxx, cmMakefile.h: more custom command
-
-2003-06-05 16:12 martink
-
- * Source/cmMakefile.cxx: more changes to support full paths
-
-2003-06-05 15:28 martink
-
- * Source/cmMakefile.cxx: perf improvement
-
-2003-06-05 15:18 martink
-
- * Source/cmMakefile.cxx: more changes to handle full paths
- correctly
-
-2003-06-05 14:48 martink
-
- * Source/cmQTWrapUICommand.cxx: minor update for new custom
- commands
-
-2003-06-05 14:40 martink
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx, cmMakefile.cxx, cmTarget.cxx:
- more crazt changes source files now must match with full path
-
-2003-06-05 14:37 martink
-
- * Source/cmITKWrapTclCommand.cxx: updated for new custom command
-
-2003-06-05 14:37 martink
-
- * Source/cmCreateTestSourceList.cxx: minor fix
-
-2003-06-04 19:04 martink
-
- * Source/cmMakefile.cxx: hopeful fix for backwards compat
-
-2003-06-04 18:50 martink
-
- * Source/cmLocalVisualStudio6Generator.cxx: minor fix
-
-2003-06-04 16:06 martink
-
- * Source/cmMakefile.cxx: tricky fix for backwards compat
-
-2003-06-04 14:25 hoffman
-
- * Tests/CustomCommand/: generator.cxx, wrapper.cxx: minor fixes
-
-2003-06-04 14:01 hoffman
-
- * Source/cmMakefile.cxx: better error reporting
-
-2003-06-04 14:00 hoffman
-
- * Source/cmMakefile.cxx: ENH: allow duplicate commands with the
- same output to be reduced automatically to one command
-
-2003-06-04 13:55 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx: bug fix for vs6 custom
- commands
-
-2003-06-04 13:54 hoffman
-
- * Templates/UtilityHeader.dsptemplate: fix for new custom commands
-
-2003-06-04 13:42 hoffman
-
- * Source/: cmCustomCommand.cxx, cmCustomCommand.h,
- cmLocalVisualStudio7Generator.cxx, cmMakefile.cxx: ENH: allow
- duplicate commands with the same output to be reduced
- automatically to one command
-
-2003-06-04 11:46 hoffman
-
- * Source/cmAddCustomCommandCommand.h: command should nto be
- inherited
-
-2003-06-04 10:46 hoffman
-
- * Tests/Wrapping/CMakeLists.txt: minor fix
-
-2003-06-04 10:13 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx: bug fix
-
-2003-06-04 09:02 hoffman
-
- * Tests/CustomCommand/: CMakeLists.txt, generator.c, generator.cxx,
- wrapper.c, wrapper.cxx: fixes for HP
-
-2003-06-04 09:00 king
-
- * bootstrap: ERR: Cannot use iostream.h for strict C++ compiler
- sanity check. Using a small class instead.
-
-2003-06-04 08:42 martink
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: compielr warnings
-
-2003-06-04 08:40 martink
-
- * Source/cmMakefile.cxx: compielr errors on como
-
-2003-06-03 14:55 martink
-
- * Source/: cmCustomCommand.cxx, cmLocalUnixMakefileGenerator.cxx,
- cmMakefile.cxx, cmSourceGroup.cxx: warning fixes
-
-2003-06-03 14:45 hoffman
-
- * Modules/Dart.cmake: ENH: add all targets for dashboard build
- types
-
-2003-06-03 10:47 martink
-
- * Source/: cmAddCustomCommandCommand.h: better docs
-
-2003-06-03 10:33 martink
-
- * Tests/CustomCommand/: CMakeLists.txt, doc1.tex, foo.in,
- generator.c, wrapper.c, wrapped.h: new test
-
-2003-06-03 10:30 martink
-
- * Source/: CMakeLists.txt, cmAddCustomCommandCommand.cxx,
- cmAddCustomCommandCommand.h, cmAddCustomTargetCommand.cxx,
- cmAddCustomTargetCommand.h, cmCPluginAPI.cxx, cmCPluginAPI.h,
- cmCustomCommand.cxx, cmCustomCommand.h,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx,
- cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio6Generator.h,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h, cmMakefile.cxx, cmMakefile.h,
- cmSetSourceFilesPropertiesCommand.cxx, cmSourceFile.h,
- cmSourceGroup.cxx, cmSourceGroup.h, cmSystemTools.cxx,
- cmSystemTools.h, cmTarget.h: yikes added new custom command
- support
-
-2003-06-02 16:37 martink
-
- * Docs/: CMake04.rtf, CMake12p2.rtf, CMake14.rtf, CMake16.rtf: add
- release docs to cvs
-
-2003-05-29 15:30 martink
-
- * Source/: cmGetSourceFilePropertyCommand.cxx,
- cmGetTargetPropertyCommand.cxx: minor bug fix
-
-2003-05-29 11:14 andy
-
- * Source/CursesDialog/: ccmake.cxx, cmCursesMainForm.cxx,
- cmCursesMainForm.h: ENH: On envocation of ccmake check if
- directories are correct, but do not rerun configure
-
-2003-05-29 11:14 andy
-
- * Source/: cmake.cxx, cmake.h: ENH: Abstract pre configure check in
- a separate method
-
-2003-05-29 09:34 hoffman
-
- * Source/: cmCTest.cxx, cmRegularExpression.cxx,
- cmSetSourceFilesPropertiesCommand.cxx, cmTarget.cxx: ENH: remove
- warnings from borland 6 compiler
-
-2003-05-28 15:52 andy
-
- * Source/CursesDialog/ccmake.cxx: ENH: Do not do configure first
- time. This way ccmake loads fast.
-
-2003-05-28 09:21 hoffman
-
- * Source/: cmCTest.cxx, cmDynamicLoader.cxx,
- cmGlobalVisualStudio71Generator.cxx, cmSystemTools.cxx,
- CTest/cmCTestSubmit.cxx: Remove some borland 6 warnings
-
-2003-05-28 07:53 andy
-
- * Modules/FindQt.cmake: ENH: More locations
-
-2003-05-24 10:07 hoffman
-
- * Source/: cmAbstractFilesCommand.cxx, cmEndIfCommand.cxx,
- cmGlobalGenerator.cxx, cmIfCommand.cxx, cmSourceFilesCommand.cxx,
- cmSourceFilesRemoveCommand.cxx, cmTarget.cxx,
- cmWrapExcludeFilesCommand.cxx: ENH: add stdlib.h for portability
- to borland 6
-
-2003-05-23 16:40 hoffman
-
- * Source/: cmCTest.cxx, cmMakefile.cxx, cmStringCommand.cxx,
- cmake.cxx: ENH: add some includes for borland 6
-
-2003-05-23 09:35 hoffman
-
- * Modules/CMakeSystemSpecificInformation.cmake: ENH: add LDFLAGS as
- an initial value for all linker flags, good for -64
-
-2003-05-19 13:41 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: fix for .def files and
- nmake and spaces in the path
-
-2003-05-16 16:33 king
-
- * Modules/: TestForAnsiForScope.cxx: ERR: Removed warning for
- unused variable.
-
-2003-05-16 15:20 king
-
- * Source/: cmLocalUnixMakefileGenerator.cxx: BUG: When building a C
- executable, we should add CMAKE_SHARED_LIBRARY_C_FLAGS, not
- CMAKE_SHARED_LIBRARY_LINK_FLAGS. The latter is already added by
- the link line procedure.
-
-2003-05-16 15:18 king
-
- * Modules/Platform/: AIX.cmake: BUG: Need -brtl when creating
- shared libraries. Also added -bexpall (AIX equivalent to Linux's
- -rdynamic) when building executables.
-
-2003-05-15 15:15 king
-
- * Source/CursesDialog/cmCursesMainForm.cxx: BUG: Don't report an
- error of output was generated but no error was set. Merging from
- trunk to 1.6 branch.
-
-2003-05-15 15:05 king
-
- * Source/cmGlobalVisualStudio6Generator.cxx: Removed useless
- lower-casing and improved error message. Merged from trunk to
- 1.6 branch.
-
-2003-05-15 14:58 king
-
- * Modules/FindFLTK.cmake: Looking in another place (merge from
- trunk).
-
-2003-05-15 14:54 king
-
- * Source/CursesDialog/cmCursesStringWidget.cxx: Attempt to fix SGI
- ccmake problem (thank you Clint Miller). Merging from trunk to
- 1.6 branch.
-
-2003-05-15 14:45 king
-
- * Source/cmMacroCommand.cxx: BUG: Merging fix from trunk into 1.6
- branch. Report a missing ENDMACRO.
-
-2003-05-15 09:35 andy
-
- * bootstrap: Several fixes before bootstrap is ready for
- prime-time: 1. Add --version flag to display version of CMake 2.
- Add comments to explain what is going on 3. Move CMAKE_ROOT_DIR
- and CMAKE_BOOTSTRAP to cmConfigure.h 4. Forward CC, CXX, and MAKE
- to cmake 5. Add more instructions
-
-2003-05-14 15:38 king
-
- * Utilities/Release/cmake_release.sh: Updated for 1.6.7 release.
-
-2003-05-14 14:14 king
-
- * Source/cmMakefile.h, Utilities/Release/cmake_release.sh: ENH:
- Updated version number to 1.6.7 from 1.6.6.
-
-2003-05-14 12:10 king
-
- * Source/cmGlobalGenerator.cxx: BUG: Work-around for SGI MipsPro
- bug where #error doesn't return an error to make. Merged onto
- 1.6 branch from trunk.
-
-2003-05-14 12:06 king
-
- * Source/cmGlobalGenerator.cxx: BUG: Work-around for SGI MipsPro
- bug where #error doesn't return an error to make.
-
-2003-05-14 09:27 andy
-
- * bootstrap: ENH: Add parallel build support, fix bug in verbose
- and clean output when adding arguments
-
-2003-05-14 09:19 andy
-
- * bootstrap: ENH: Add better error reporting
-
-2003-05-14 08:45 king
-
- * Source/cmake.cxx: BUG: Need to remove the MAKEFLAGS when cmake
- starts. If cmake is run from inside make, we don't want the
- try-compiles to inherit the makeflags.
-
-2003-05-14 08:40 king
-
- * Source/cmake.cxx: ERR: Fixed string literal->char* conversion
- warning.
-
-2003-05-13 16:51 king
-
- * Source/cmake.cxx: BUG: Need to remove the MAKEFLAGS when cmake
- starts. If cmake is run from inside make, we don't want the
- try-compiles to inherit the makeflags.
-
-2003-05-13 16:10 king
-
- * Source/: cmGlobalGenerator.cxx, cmake.cxx: ENH: When the
- initially configured generator is invalid, allow the user to
- change the generator without deleting the cache by hand.
-
-2003-05-13 14:26 king
-
- * Source/: cmGlobalGenerator.cxx: ENH: Improved error message when
- a wrong generator is selected.
-
-2003-05-13 14:05 king
-
- * Source/cmDynamicLoader.cxx: ERR: Removed unused parameter.
-
-2003-05-13 13:54 king
-
- * Source/cmSystemTools.cxx: ERR: Removed unused variable from
- previous merge.
-
-2003-05-13 13:52 king
-
- * Source/: cmCacheManager.cxx, cmConfigureFileCommand.cxx,
- cmListFileCache.cxx, cmLocalVisualStudio6Generator.cxx,
- cmMakeDepend.cxx, cmOutputRequiredFilesCommand.cxx,
- cmSystemTools.cxx, cmSystemTools.h, cmUseMangledMesaCommand.cxx:
- BUG: Using GetLineFromStream instead of getline due to buggy
- stream implementations on some platforms. Merged from trunk into
- branch 1.6.
-
-2003-05-13 13:26 hoffman
-
- * Modules/CMakeVS71FindMake.cmake, Source/CMakeLists.txt,
- Source/cmGlobalVisualStudio71Generator.cxx,
- Source/cmGlobalVisualStudio71Generator.h,
- Source/cmGlobalVisualStudio7Generator.h,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h, Source/cmake.cxx: ENH:
- Adding VS 7.1 generator to 1.6 branch.
-
-2003-05-13 12:04 king
-
- * Modules/CheckIncludeFiles.cmake, Modules/CheckSymbolExists.cmake,
- Modules/FindCABLE.cmake, Modules/Platform/SunOS.cmake,
- Modules/Platform/Windows-bcc32.cmake,
- Modules/Platform/Windows-cl.cmake,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmLocalVisualStudio6Generator.cxx,
- Source/cmLocalVisualStudio7Generator.cxx,
- Source/cmLocalVisualStudio7Generator.h,
- Source/cmRemoveCommand.cxx, Source/cmStringCommand.h,
- Source/cmaketest.cxx, Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/complex.cxx: BUG: Merged
- fixes from main tree into 1.6 branch.
-
-2003-05-13 11:42 hoffman
-
- * Source/cmGlobalVisualStudio71Generator.h: Change name of 71
- generator
-
-2003-05-13 09:50 king
-
- * Source/kwsys/SystemTools.cxx: ERR: Removed use of std::string !=
- operator due to bug in SGI compiler's library.
-
-2003-05-13 09:42 king
-
- * Source/kwsys/CMakeLists.txt: ERR: Test for ansi streams may need
- to use iosfwd for test because some compilers provide an iostream
- header that is old streams.
-
-2003-05-13 08:38 king
-
- * Source/kwsys/SystemTools.cxx: ERR: Added forward declarations of
- system functions for como compiler.
-
-2003-05-12 13:43 king
-
- * Source/kwsys/: CMakeLists.txt, Configure.hxx.in,
- kwsys_std_fstream.h.in, kwsys_std_iosfwd.h.in,
- kwsys_std_iostream.h.in, kwsys_std_sstream.h.in: ENH: Added
- KWSYS_FORCE_OLD_STREAMS option to force use of non-ansi stream
- headers even if they are available.
-
-2003-05-12 13:33 king
-
- * Source/kwsys/: CMakeLists.txt, StandardIncludes.hxx.in: ENH:
- Removed old (unused) StandardIncludes header.
-
-2003-05-12 13:27 king
-
- * Source/kwsys/kwsys_std_iosfwd.h.in: ERR: Need to move forward
- declarations of non-ansi streams into std namespace when it is
- available.
-
-2003-05-12 13:15 king
-
- * Source/kwsys/: CMakeLists.txt, Configure.hxx.in, SystemTools.cxx,
- SystemTools.hxx.in, kwsys_std.h.in, kwsys_std_fstream.h.in,
- kwsys_std_iosfwd.h.in, kwsys_std_iostream.h.in,
- kwsys_std_sstream.h.in: ENH: Added wrappers around the std stream
- headers to make them look like ansi streams on all platforms.
-
-2003-05-09 15:47 hoffman
-
- * Modules/CMakeVS71FindMake.cmake: add find make program for 71
-
-2003-05-09 09:32 hoffman
-
- * Modules/Platform/Windows-bcc32.cmake: BUG: remove typo from file
-
-2003-05-08 16:59 hoffman
-
- * Source/: CMakeLists.txt, cmGlobalVisualStudio71Generator.cxx,
- cmGlobalVisualStudio71Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h, cmake.cxx: add support for vs 71
-
-2003-05-08 16:52 king
-
- * Source/CMakeLists.txt: ERR: Fixed arguments to kwsys's ADD_TEST
- call for msvc6.
-
-2003-05-08 16:48 king
-
- * Source/kwsys/CMakeLists.txt: BUG: Need to invert test result for
- ansi string stream.
-
-2003-05-08 14:49 king
-
- * Source/CMakeLists.txt: ENH: Added kwsys test.
-
-2003-05-08 14:46 king
-
- * Source/kwsys/: CMakeLists.txt, Configure.hxx.in, Directory.cxx,
- Directory.hxx.in, RegularExpression.hxx.in,
- StandardIncludes.hxx.in, kwsys_std.h.in: ENH: Reduced header
- dependencies and cleaned up inclusion of standard headers.
-
-2003-05-08 14:17 king
-
- * Source/kwsys/: CMakeLists.txt, README.itk, README.txt, test1.cxx:
- ENH: Setup for testing as a stand-alone project.
-
-2003-05-08 09:55 hoffman
-
- * Modules/Platform/Windows-bcc32.cmake: BUG: fix for borland win32
- exe builds
-
-2003-05-08 09:43 martink
-
- * Modules/Platform/: Windows-bcc32.cmake: BUG: remove -H flags as
- they cause crashes on oldwww
-
-2003-05-06 10:16 andy
-
- * Source/ctest.cxx: ERR: Remove warning
-
-2003-05-05 10:24 hoffman
-
- * Modules/Platform/Windows-bcc32.cmake: ENH: change the default
- borland stack size
-
-2003-05-05 10:23 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx: BUG: add linker flags
- for modules
-
-2003-05-05 10:23 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: remove 64 bit
- warnings
-
-2003-05-05 09:54 andy
-
- * Modules/CheckIncludeFiles.cmake: ERR: Remove warning for main
- returning void.
-
-2003-05-05 08:42 andy
-
- * Source/: CMakeLists.txt, cmaketest.cxx, cmaketest.h.in: BUG: Fix
- some dependencies for location of executables
-
-2003-05-05 08:42 andy
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Add support for
- make test even for fresh build of cmake
-
-2003-05-02 14:05 martink
-
- * Modules/Dart.cmake: fixed andy sloppy code again
-
-2003-05-02 13:57 andy
-
- * Modules/Dart.cmake, Modules/DartConfiguration.tcl.in,
- Source/CMakeLists.txt, Source/ctest.cxx: ENH: Fix some dart
- issues. Now it works fine without dart.
-
-2003-05-02 13:56 andy
-
- * Source/cmake.cxx: ENH: New location of cmake binaries
-
-2003-05-02 13:54 andy
-
- * Source/cmaketest.cxx: ENH: New location of cmake
-
-2003-05-02 13:54 andy
-
- * Source/CTest/cmCTestSubmit.cxx: ENH: Be just a bit more verbose
-
-2003-05-02 11:29 andy
-
- * CMakeLists.txt, Source/CMakeLists.txt: ENH: Executables should go
- to the bin directory
-
-2003-05-01 07:56 andy
-
- * Source/CTest/cmCTestSubmit.cxx: ERR: Remove warnings
-
-2003-04-30 07:32 andy
-
- * Source/cmake.h: ERR: Run should return a value
-
-2003-04-29 17:23 andy
-
- * Source/: CMakeLists.txt, CTest/CMakeLists.txt: ENH: Make Curl
- code to be built by default
-
-2003-04-29 10:07 andy
-
- * Source/cmakemain.cxx: ENH: Add argument -N which prevents CMake
- from doing configure and generate. This should be improved at
- some point that it will do all the error checking such as whether
- the CMakeLists.txt exists etc. It should essentially load cache,
- go through cmake lists, but not modify cache and other files in
- the build directory. The second feature is ability to display
- cache values. You run with argument -L (or -LH /-LA / -LAH) and
- it will display all nonadvanced cached variables (-L) / all
- cached variable (-LA) / and cached variables with corresponding
- help string (-LH -LAH).
-
-2003-04-29 10:04 andy
-
- * Source/: cmake.cxx, cmake.h: ENH: Add additional optional
- argument to Run. If it is true, it will only set paths and load
- cache. It will not do configure and gfenerate
-
-2003-04-29 10:02 andy
-
- * Source/: cmCacheManager.cxx, cmCacheManager.h: ENH: Add method to
- convert from CacheEntryType to string
-
-2003-04-28 13:16 martink
-
- * Source/cmMacroCommand.cxx: better error reporting
-
-2003-04-25 15:16 andy
-
- * Source/: CTest/CMakeLists.txt, CMakeLists.txt: ENH: Enable CTest
- to be build as a part of CMake
-
-2003-04-25 14:52 andy
-
- * Source/ctest.cxx: ENH: Rename option -D to -C because we will use
- -D later
-
-2003-04-25 14:51 andy
-
- * Source/cmCommands.cxx: ERR: Set source files properties is needed
- for Curl build
-
-2003-04-25 14:50 andy
-
- * Source/CTest/cmCTestSubmit.cxx: ERR: Remove warning because SCP
- not implemented
-
-2003-04-24 13:25 berk
-
- * Source/: cmSystemTools.cxx: minor fix
-
-2003-04-23 17:24 jjomier
-
- * Source/kwsys/Directory.hxx.in: FIX: warnings, disabling 4786
-
-2003-04-23 13:58 martink
-
- * Source/CTest/CMakeLists.txt: fix some incldue paths
-
-2003-04-22 16:10 king
-
- * Modules/FindCABLE.cmake: ENH: Updated search paths to newest
- values from Cable.
-
-2003-04-22 14:32 andy
-
- * bootstrap: ENH: Add SGI -LANG:std support
-
-2003-04-18 10:01 andy
-
- * Source/cmCTest.cxx: ENH: Cleanup
-
-2003-04-18 10:00 andy
-
- * Source/cmCTest.cxx: Even better error detection on AIX
-
-2003-04-18 09:48 andy
-
- * Source/cmCTest.cxx: Better AIX detection
-
-2003-04-17 15:20 andy
-
- * Source/cmCTest.cxx: This is really an error
-
-2003-04-17 13:13 andy
-
- * bootstrap: Support LDFLAGS
-
-2003-04-17 13:13 andy
-
- * Source/cmCTest.cxx: ENH: Add AIX warerr
-
-2003-04-17 11:59 martink
-
- * Source/cmLocalCodeWarriorGenerator.cxx: warning fix hopefully
-
-2003-04-17 11:17 andy
-
- * DartConfig.cmake: More attempt to make continuous email work
-
-2003-04-17 08:47 martink
-
- * Source/cmDynamicLoader.cxx: fix one warning
-
-2003-04-17 08:23 andy
-
- * DartConfig.cmake: Attempt to enable sending of e-mails from
- continuous
-
-2003-04-17 08:03 hoffman
-
- * Source/cmCommands.cxx: BUG: fix compile error on windows because
- of windows.h
-
-2003-04-17 08:02 andy
-
- * CMakeLists.txt, bootstrap, configure, configure.in: BUG: Rename
- Bootstrap directory to Bootstrap.cmk, so that on platforms such
- as Windows and Mac OSX it will break during in-source build
-
-2003-04-16 17:06 andy
-
- * DartConfig.cmake: ENH: cleanup
-
-2003-04-16 16:20 martink
-
- * Source/cmDynamicLoader.cxx: fix one warning
-
-2003-04-16 16:17 martink
-
- * Source/cmCommands.cxx: streamline bootstrap
-
-2003-04-16 15:40 martink
-
- * Source/cmake.cxx: minor fix
-
-2003-04-16 14:47 martink
-
- * Source/: CMakeLists.txt, cmLocalCodeWarriorGenerator.cxx,
- cmLocalCodeWarriorGenerator.h, cmake.cxx: add COdeWarrior back in
- for testing
-
-2003-04-16 14:13 andy
-
- * Source/cmDynamicLoader.cxx: Attempt to make unloading work on OSX
-
-2003-04-16 13:41 andy
-
- * Source/cmCTest.cxx: Fix update output
-
-2003-04-16 13:33 hoffman
-
- * Tests/: LoadCommand/CMakeLists.txt,
- LoadCommandOneConfig/CMakeLists.txt: ENH: add a double try
- compile to fix crazy make on hp
-
-2003-04-11 18:05 kentwilliams
-
- * Source/kwsys/SystemTools.cxx: took out an orphan endif
-
-2003-04-11 16:22 kentwilliams
-
- * Source/kwsys/: SystemTools.hxx.in, SystemTools.cxx: remove
- redundant function and eliminate need for strcasecmp
-
-2003-04-11 13:36 king
-
- * Source/kwsys/README.itk: ENH: Added documentation for ITK.
-
-2003-04-11 07:27 lorensen
-
- * Source/kwsys/SystemTools.cxx: ERR: Borland fix for stricmp. ERR:
- removed itk dependencies.
-
-2003-04-10 13:41 kentwilliams
-
- * Source/kwsys/: SystemTools.cxx, SystemTools.hxx.in: Removed
- platform-specific functions from Code/IO/itkIOCommon, fixed code
- to use kwsys/SystemTools
-
-2003-04-10 09:07 andy
-
- * Source/cmCTest.cxx: Do safe division instead of fixing result
-
-2003-04-10 09:03 king
-
- * Source/kwsys/SystemTools.cxx: ERR: Removed unused parameter and
- truncated debug symbol warnings.
-
-2003-04-09 08:08 andy
-
- * Source/cmCTest.cxx: Attempt to fix FIXNUM
-
-2003-04-08 13:14 king
-
- * Source/kwsys/SystemTools.cxx: ERR: Fixed typo.
- cmRegularExpression -> RegularExpression.
-
-2003-04-08 13:10 king
-
- * Source/kwsys/: CMakeLists.txt, Configure.hxx.in, Directory.cxx,
- Directory.hxx.in, RegularExpression.cxx,
- RegularExpression.hxx.in, StandardIncludes.hxx.in,
- SystemTools.cxx, SystemTools.hxx.in: ENH: Added kwsys library for
- platform-independent system tools.
-
-2003-04-08 10:57 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: Remove nan and inf, use
- iostreams to set precision, fix file name, and remove bogus files
-
-2003-04-08 07:16 andy
-
- * Source/cmCTest.cxx: Remove push_back on string. Why can't STL be
- standard?
-
-2003-04-07 18:21 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: Some cov improvements and better
- esc
-
-2003-04-07 12:20 andy
-
- * Source/cmaketest.cxx: We should really just call make and not
- make all
-
-2003-04-04 10:56 king
-
- * Source/cmSetCommand.h: ENH: Added CACHE entry types to
- documentation string.
-
-2003-04-04 10:05 king
-
- * Modules/FindFLTK.cmake: ENH: Added /usr/local/lib/fltk
-
-2003-04-03 18:40 andy
-
- * bootstrap: Better support for spaces in paths
-
-2003-04-03 08:44 andy
-
- * Source/cmSystemTools.cxx: Try differentiating extensions
-
-2003-04-02 22:48 king
-
- * Source/: cmake.cxx, cmake.h, cmakemain.cxx,
- CursesDialog/ccmake.cxx: ENH: Improved documentation. Also
- modified behavior of "cmake" to not configure a project in the
- current directory unless . is given.
-
-2003-04-02 22:44 king
-
- * Source/cmDocumentation.cxx: ENH: Running with zero arguments now
- produces usage.
-
-2003-04-02 09:19 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: Url escape password
-
-2003-04-02 09:19 andy
-
- * Source/CTest/cmCTestSubmit.cxx: On verbose, be more verbose
-
-2003-04-02 09:01 andy
-
- * Tests/Wrapping/qtwrappingmain.cxx: If display is not set, do not
- attempt to run application
-
-2003-04-02 08:45 andy
-
- * Modules/FindQt.cmake: Add QT on debian
-
-2003-04-01 15:31 andy
-
- * Source/cmCTest.cxx: Fix cov. problems, ignore nonascii char.
- Propagate verbosity
-
-2003-04-01 15:30 andy
-
- * Source/CTest/: cmCTestSubmit.cxx, cmCTestSubmit.h: Controle
- verbosity
-
-2003-04-01 13:29 king
-
- * Source/cmSystemTools.cxx: BUG: strlen(buffer) from getline may be
- 2 less than gcount on windows because both the CR and LF
- characters may be removed.
-
-2003-03-28 13:42 andy
-
- * Modules/CheckSymbolExists.cmake: New design of CheckSymbolExists
- pretty much replaces all other ones.
-
- For example:
-
- CHECK_HEADER_EXISTS("type.h" HAVE_TYPE_H) is:
- CHECK_SYMBOL_EXISTS(main "type.h" HAVE_TYPE_H)
-
- CHECK_LIBRARY_EXISTS("nsl" gethostname HAVE_LIBNSL) would be
- SET(CMAKE_REQUIRED_LIBRARIES "nsl")
- CHECK_SYMBOL_EXISTS(gethostname "netdb.h" HAVE_LIBNSL)
-
- ...
-
-2003-03-27 15:52 andy
-
- * Source/: cmLocalVisualStudio6Generator.cxx, cmSystemTools.cxx,
- cmUseMangledMesaCommand.cxx: Remove warnings
-
-2003-03-27 15:29 andy
-
- * bootstrap: Initial import of bootstrap for CMake
-
-2003-03-27 13:03 hoffman
-
- * Modules/Platform/SunOS.cmake: Fix gnu c and Sun CC mix
-
-2003-03-27 12:49 andy
-
- * CMakeLists.txt: Some more preparations for new bootstrap system
-
-2003-03-27 12:24 andy
-
- * Source/: cmCacheManager.cxx, cmConfigureFileCommand.cxx,
- cmListFileCache.cxx, cmLocalVisualStudio6Generator.cxx,
- cmMakeDepend.cxx, cmOutputRequiredFilesCommand.cxx,
- cmSystemTools.cxx, cmSystemTools.h, cmUseMangledMesaCommand.cxx:
- Implement GetLineFromStream that actually works and use it
- instead of getline
-
-2003-03-26 10:45 andy
-
- * Source/cmStandardIncludes.h, Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt: Remove bogus flags
- from cmStandardIncludes and make complex test pass
-
-2003-03-21 11:33 hoffman
-
- * Tests/: Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: BUG: fix REMOVE test
-
-2003-03-21 11:24 hoffman
-
- * Source/cmRemoveCommand.cxx: BUG: fix broken command
-
-2003-03-20 11:27 andy
-
- * Source/cmCTest.cxx: Fix problem with network paths
-
-2003-03-20 10:12 andy
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Support cmake in
- directory with space
-
-2003-03-20 09:47 andy
-
- * Source/cmCTest.cxx: BUG: used wrong counters
-
-2003-03-19 18:28 andy
-
- * Source/cmCTest.cxx: More regex
-
-2003-03-19 16:35 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: Add start
-
-2003-03-19 16:25 andy
-
- * Source/cmCTest.cxx: Move files to different location and fix time
-
-2003-03-19 16:11 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: Fix for visual studio
-
-2003-03-19 10:16 king
-
- * Source/cmStringCommand.h: BUG: Command should be inherited.
-
-2003-03-18 11:47 king
-
- * Utilities/Release/: config_Linux: ENH: Updated to do release
- build on ringworld. Needed for old glibc support.
-
-2003-03-17 14:29 andy
-
- * Tests/Simple/: CMakeLists.txt, simple.cxx, simpleCLib.c,
- simpleWe.cpp: Improve test
-
-2003-03-17 13:26 andy
-
- * Tests/Simple/: CMakeLists.txt, simpleCLib.c: Add testing for when
- C sources are compiled with C++ compiler
-
-2003-03-17 11:21 andy
-
- * Source/CursesDialog/cmCursesMainForm.cxx: If there was no error,
- do not say that there was one
-
-2003-03-17 10:00 king
-
- * Modules/FindGTK.cmake: BUG: Fixed ENDIF ordering.
-
-2003-03-17 09:57 king
-
- * Modules/CheckSymbolExists.cmake: BUG: Fixed syntax of file
- generated for test.
-
-2003-03-17 09:29 hoffman
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: BUG: fix crash with force cxx
- type
-
-2003-03-17 09:15 hoffman
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: force cxx compiler for cxx
- files
-
-2003-03-17 08:25 andy
-
- * Tests/SystemInformation/: CMakeLists.txt, DumpInformation.cxx,
- DumpInformation.h.in: Display Cache and all variables
-
-2003-03-16 20:33 andy
-
- * Modules/CheckSymbolExists.cmake: Prevent CMake from putting ; in
- the file
-
-2003-03-16 20:25 andy
-
- * Modules/FindGTK.cmake: More variables advanced
-
-2003-03-16 20:23 andy
-
- * Modules/FindGTK.cmake: Add gthread library
-
-2003-03-15 10:04 hoffman
-
- * Source/cmTarget.cxx: BUG: HasCXX did not use GetFileFormat and
- was broken
-
-2003-03-14 15:44 hoffman
-
- * Modules/FindGTK.cmake: BUG: bad if statement order
-
-2003-03-14 15:06 hoffman
-
- * Source/cmGlobalVisualStudio6Generator.cxx: better error message
-
-2003-03-14 12:00 hoffman
-
- * Modules/Platform/Windows-cl.cmake: force c++ for c++ files
-
-2003-03-14 12:00 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx: use c flags with c and
- not cxx flags, also force c++ for c files
-
-2003-03-14 11:59 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: Force c++ builds for
- c++ files
-
-2003-03-14 11:58 hoffman
-
- * Source/cmMakefile.cxx: make sure M is after m
-
-2003-03-14 10:54 king
-
- * Source/cmMakefile.cxx: BUG: c extension must come before C.
-
-2003-03-14 10:38 king
-
- * Source/cmMakefile.cxx: BUG: c must precede C.
-
-2003-03-13 16:31 king
-
- * Utilities/Release/config_Linux: Merging from 1.6 again.
-
-2003-03-13 16:30 king
-
- * Utilities/Release/config_Linux: BUG: Need to link statically
- against curses.
-
-2003-03-13 15:59 king
-
- * Utilities/Release/: cmake_release.sh, config_Linux: Merging from
- 1.6 release branch.
-
-2003-03-13 15:58 king
-
- * Utilities/Release/cmake_release.sh: BUG: Need to checkout
- ReleaseUtilities with same tag.
-
-2003-03-13 15:47 king
-
- * Utilities/Release/: cmake_release.sh: ENH: Updated for 1.6.6
- release.
-
-2003-03-13 15:46 king
-
- * Modules/Platform/: SunOS.cmake: BUG: Don't use -nostdlib option
- to link shared libraries. Just use gcc -shared, even for C++
- libraries.
-
-2003-03-13 13:28 king
-
- * Source/cmMakefile.cxx: BUG: Added missing cc extension for Source
- Files group.
-
-2003-03-13 13:03 king
-
- * Source/cmMakefile.cxx: BUG: Don't duplicate SUBDIRS.
-
-2003-03-13 13:01 king
-
- * Source/cmMakefile.cxx: ENH: Added header file extensions.
-
-2003-03-13 12:59 martink
-
- * Source/cmMakefile.cxx: allow the same subdir to be added twice
-
-2003-03-13 12:48 andy
-
- * Source/cmMakefile.cxx: Fix regular expressions
-
-2003-03-13 12:24 andy
-
- * Source/: cmMakefile.cxx, cmSystemTools.cxx: Synchronize extension
- lists
-
-2003-03-13 11:53 king
-
- * Source/CursesDialog/form/fld_attr.c: BUG: Fixed forms for HP.
-
-2003-03-13 11:51 king
-
- * Modules/TestForSTDNamespace.cmake: BUG: Don't repeat test.
-
-2003-03-13 11:49 king
-
- * Modules/CheckTypeSize.cmake: BUG: Don't test type size more than
- once.
-
-2003-03-13 11:48 king
-
- * Source/cmSystemTools.cxx: BUG: FindLibrary should not accept a
- directory even if the exact specified name exists.
-
-2003-03-13 11:46 king
-
- * Source/cmake.cxx: BUG: Fixed crash when
- CMAKE_BACKWARDS_COMPATIBILITY is deleted.
-
-2003-03-13 11:33 king
-
- * Source/cmMakefile.h: ENH: Updated version for 1.6.6 release.
-
-2003-03-13 11:31 king
-
- * Utilities/Release/config_Linux: ERR: Need to do shared libc link
- with static C++ library to have safe dl loading on linux.
-
-2003-03-13 08:44 king
-
- * Source/cmSystemTools.cxx: BUG: FindLibrary should not accept a
- directory even if the exact specified name exists.
-
-2003-03-11 17:35 hoffman
-
- * Modules/TestForSTDNamespace.cmake: BUG: fix test not to run every
- time
-
-2003-03-11 15:25 hoffman
-
- * Source/cmDynamicLoader.cxx, Source/CTest/CMakeLists.txt,
- Source/CursesDialog/form/fld_attr.c,
- Tests/LoadCommand/CMakeLists.txt,
- Tests/LoadCommandOneConfig/CMakeLists.txt: BUG: fixes for hp
-
-2003-03-09 18:16 andy
-
- * Source/CursesDialog/cmCursesMainForm.cxx: Remove warnings
-
-2003-03-07 15:30 andy
-
- * Source/cmCTest.cxx: More XML
-
-2003-03-07 11:53 andy
-
- * Source/CursesDialog/cmCursesMainForm.cxx: Remove warning
-
-2003-03-07 11:45 andy
-
- * Source/cmCTest.cxx: Fix xml
-
-2003-03-07 11:27 andy
-
- * Source/CursesDialog/: cmCursesMainForm.cxx, cmCursesMainForm.h:
- Add searching of variables
-
-2003-03-06 15:32 andy
-
- * Modules/Dart.cmake: On borland and cygwin remove .EXE
-
-2003-03-06 12:31 andy
-
- * Source/cmGetCMakePropertyCommand.cxx: Remove warning
-
-2003-03-06 11:20 andy
-
- * Source/cmCommands.cxx, Source/cmGetCMakePropertyCommand.cxx,
- Source/cmGetCMakePropertyCommand.h,
- Tests/SystemInformation/CMakeLists.txt: Add command for accessing
- cmake properties. At this point the only properties are VARIABLES
- and CACHE_VARIABLES. Also add test for this feature
-
-2003-03-06 11:19 andy
-
- * Source/: cmMakefile.cxx, cmMakefile.h: Add method which returns a
- list of all variables
-
-2003-03-06 11:18 andy
-
- * Source/cmCacheManager.h: Cache manager should be able to take no
- arguments
-
-2003-03-06 10:32 king
-
- * Modules/CheckTypeSize.cmake: BUG: Should test HAVE_<VARIABLE>
- before repeating test, not just whether <VARIABLE> is set.
-
-2003-03-05 17:08 andy
-
- * Source/cmCTest.cxx: oops... Forgot the main step
-
-2003-03-03 13:58 andy
-
- * Modules/Dart.cmake: Add Update and configure steps where missing
-
-2003-03-03 13:57 andy
-
- * Source/cmCTest.cxx: Fix typo
-
-2003-03-03 09:32 andy
-
- * Modules/Dart.cmake: Start cleaning global namespace
-
-2003-03-03 09:29 andy
-
- * CMakeLists.txt: BUG: Should be use the host CMake's dart file
-
-2003-02-28 13:00 andy
-
- * Source/cmCTest.cxx: Ifdef code that is missing
-
-2003-02-28 12:42 andy
-
- * Modules/CheckSymbolExists.cmake, Source/cmCTest.cxx: Fix update
- date and cleanup
-
-2003-02-28 11:31 andy
-
- * Source/cmCTest.cxx: Add configure step
-
-2003-02-27 14:48 andy
-
- * Modules/Dart.cmake: On windows but not on borland, look at
- cmake_build_tool instead of compiler to determine build name.
- Otherwise they will all be cl
-
-2003-02-27 11:54 andy
-
- * Modules/Dart.cmake: Use more condense buildname. If this works
- fine we can make cmBuildName command deprecated
-
-2003-02-24 11:02 king
-
- * Source/cmake.cxx: BUG: Fixed crash when
- CMAKE_BACKWARDS_COMPATIBILITY is deleted between configures.
-
-2003-02-20 17:38 andy
-
- * Modules/Dart.cmake: Use simple defaults if DartConfig does not
- exist. This way you can use dart to build any project
-
-2003-02-20 10:46 king
-
- * Modules/CMakeVS6FindMake.cmake: BUG: Fix registry entry name.
-
-2003-02-20 10:44 hoffman
-
- * Modules/CMakeVS6FindMake.cmake: BUG: look for msdev in the right
- place
-
-2003-02-20 09:40 king
-
- * Utilities/Release/cmake_release.sh: ENH: Updated for 1.6.5
- release.
-
-2003-02-20 08:55 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: fix for correct path
- style in depend file
-
-2003-02-20 08:52 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: fix for correct path
- style in depend file
-
-2003-02-20 08:47 king
-
- * Modules/TestForANSIForScope.cmake: BUG: Don't test every time for
- "for" scope.
-
-2003-02-20 08:42 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Fix problem with
- lib in the name of library. If there was lib in the name of
- library, then on Windows (where there is not lib prefix), cmake
- split the name wrongly. This only manifested when full path to
- the library is specified.
-
-2003-02-20 08:41 hoffman
-
- * Modules/TestForANSIForScope.cmake: remove commented code
-
-2003-02-20 08:38 king
-
- * Modules/CheckSymbolExists.cmake: BUG: Fixed return 0 through void
- type.
-
-2003-02-20 08:37 king
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake: ENH: Removed creation of extra
- CMAKE_C_COMPILER_FULLPATH and CMAKE_CXX_COMPILER_FULLPATH cache
- entries.
-
-2003-02-20 08:34 king
-
- * Source/cmGlobalVisualStudio7Generator.cxx: BUG: Added missing
- paren to generated file.
-
-2003-02-20 08:32 king
-
- * Source/cmaketest.cxx: BUG: Fix lower-casing of compiler for
- win98.
-
-2003-02-20 08:30 king
-
- * Source/cmMakefile.h, Utilities/Release/cmake_release.sh: ENH:
- Updated for version 1.6.5.
-
-2003-02-20 08:28 king
-
- * Source/cmFindPackageCommand.h: BUG: This command must be
- inherited.
-
-2003-02-20 08:23 king
-
- * Modules/FindFLTK.cmake: BUG: Removed reference to CMake 1.4
- compatability variable.
-
-2003-02-20 07:55 king
-
- * Source/cmDumpDocumentation.cxx: ERR: Added missing return.
-
-2003-02-19 17:37 king
-
- * Source/CMakeLists.txt: ENH: Using new --all-for-coverage of
- DumpDocumentation to improve coverage.
-
-2003-02-19 17:36 king
-
- * Source/cmDumpDocumentation.cxx: ENH: Added option to dump all
- documentation (coverage).
-
-2003-02-19 17:10 king
-
- * Modules/FindFLTK.cmake: BUG: Removed use of cmake 1.4
- compatability variable.
-
-2003-02-19 12:54 andy
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Fix problem with
- lib in the name of library. If there was lib in the name of
- library, then on Windows (where there is not lib prefix), cmake
- split the name wrongly. This only manifested when full path to
- the library is specified.
-
-2003-02-19 08:52 king
-
- * Source/cmDocumentation.cxx: ERR: Fixed signed/unsigned warning.
-
-2003-02-18 20:54 king
-
- * Source/cmDumpDocumentation.cxx: ENH: Updated to use
- cmDocumentation class.
-
-2003-02-18 20:42 king
-
- * Source/: cmDocumentation.cxx, cmDocumentation.h, cmakemain.cxx,
- CursesDialog/ccmake.cxx: ENH: Re-implemented document generation
- class to be more organized and more robust.
-
-2003-02-18 20:40 king
-
- * Source/cmAddCustomCommandCommand.h: Fix to documentation
- formatting: removed extra newline.
-
-2003-02-18 16:24 hoffman
-
- * Source/cmGlobalVisualStudio7Generator.cxx: ENH: fix for vs 7
- beta1
-
-2003-02-17 15:47 king
-
- * Source/cmFindPackageCommand.h: BUG: This command must be
- inherited.
-
-2003-02-17 10:30 andy
-
- * Modules/CheckSymbolExists.cmake: Fix return value problem
-
-2003-02-17 09:59 andy
-
- * Source/CursesDialog/cmCursesStringWidget.cxx: Attempt to fix SGI
- ccmake problem (thank you Clint Miller)
-
-2003-02-17 09:56 andy
-
- * Source/cmDocumentation.cxx: Minor documentation fixes
-
-2003-02-17 09:42 king
-
- * Source/cmakemain.cxx: ENH: Added executable-specific command-line
- options.
-
-2003-02-17 09:42 king
-
- * Source/: cmDocumentation.cxx, cmDocumentation.h: ENH: Added
- header before list of commands in generated docs. Made options
- more intuitive.
-
-2003-02-16 11:57 king
-
- * Source/cmDocumentation.cxx: ERR: Use of stream format flags is
- hard to make portable. Manually implementing justification.
-
-2003-02-15 22:36 king
-
- * Source/cmDocumentation.cxx: ERR: Use of std::ios::fmtflags is not
- portable to older compilers.
-
-2003-02-14 18:47 king
-
- * Source/: cmAbstractFilesCommand.h, cmAddCustomCommandCommand.h,
- cmAddCustomTargetCommand.h, cmAddDefinitionsCommand.h,
- cmAddDependenciesCommand.h, cmAddExecutableCommand.h,
- cmAddLibraryCommand.h, cmAddTestCommand.h,
- cmAuxSourceDirectoryCommand.h, cmBuildCommand.h,
- cmBuildNameCommand.h, cmConfigureFileCommand.h,
- cmCreateTestSourceList.h, cmElseCommand.h,
- cmEnableTestingCommand.h, cmEndForEachCommand.h,
- cmEndIfCommand.h, cmExecProgramCommand.h,
- cmExportLibraryDependencies.h, cmFLTKWrapUICommand.h,
- cmFindFileCommand.h, cmFindLibraryCommand.h,
- cmFindPackageCommand.h, cmFindPathCommand.h,
- cmFindProgramCommand.h, cmForEachCommand.h,
- cmGetFilenameComponentCommand.h,
- cmGetSourceFilePropertyCommand.h, cmGetTargetPropertyCommand.h,
- cmITKWrapTclCommand.h, cmIfCommand.h, cmIncludeCommand.h,
- cmIncludeDirectoryCommand.h, cmIncludeExternalMSProjectCommand.h,
- cmIncludeRegularExpressionCommand.h, cmInstallFilesCommand.h,
- cmInstallProgramsCommand.h, cmInstallTargetsCommand.h,
- cmLinkDirectoriesCommand.h, cmLinkLibrariesCommand.h,
- cmLoadCacheCommand.h, cmLoadCommandCommand.h, cmMacroCommand.h,
- cmMakeDirectoryCommand.h, cmMarkAsAdvancedCommand.h,
- cmMessageCommand.h, cmOptionCommand.h,
- cmOutputRequiredFilesCommand.h, cmProjectCommand.h,
- cmQTWrapCPPCommand.h, cmQTWrapUICommand.h, cmRemoveCommand.h,
- cmSeparateArgumentsCommand.h, cmSetCommand.h,
- cmSetSourceFilesPropertiesCommand.h,
- cmSetTargetPropertiesCommand.h, cmSiteNameCommand.h,
- cmSourceFilesCommand.h, cmSourceFilesRemoveCommand.h,
- cmSourceGroupCommand.h, cmStringCommand.h, cmSubdirCommand.h,
- cmSubdirDependsCommand.h, cmTargetLinkLibrariesCommand.h,
- cmTryCompileCommand.h, cmTryRunCommand.h,
- cmUseMangledMesaCommand.h, cmUtilitySourceCommand.h,
- cmVTKMakeInstantiatorCommand.h, cmVTKWrapJavaCommand.h,
- cmVTKWrapPythonCommand.h, cmVTKWrapTclCommand.h,
- cmVariableRequiresCommand.h, cmWrapExcludeFilesCommand.h,
- cmWriteFileCommand.h: ENH: Cleaned up documentation and formatted
- it for use by cmDocumentation.
-
-2003-02-14 16:16 king
-
- * Source/cmDocumentation.cxx: ENH: Improved formatting of
- plain-text help to add a blank line before the beginning of a
- preformatted section.
-
-2003-02-14 13:28 king
-
- * Source/: cmDocumentation.cxx, cmDocumentation.h: ENH: Further
- improved formatting. HTML/man/help now all have a consistent
- appearance.
-
-2003-02-14 13:06 king
-
- * Source/: cmDocumentation.cxx, cmDocumentation.h: ENH: Improved
- formatting of documentation.
-
-2003-02-14 11:13 martink
-
- * Source/cmaketest.cxx: Lowercase has a bad signiture, so I have to
- live with it
-
-2003-02-14 10:56 king
-
- * Source/cmSystemTools.cxx: ERR: Added missing include for msvc.
-
-2003-02-14 10:53 king
-
- * Source/: CMakeLists.txt, Makefile.in, cmDocumentation.cxx,
- cmDocumentation.h, cmStandardIncludes.h, cmSystemTools.cxx,
- cmSystemTools.h, cmake.cxx, cmake.h, cmakemain.cxx,
- CursesDialog/ccmake.cxx: ENH: Added cmDocumentation class to
- generate various forms of documentation. Each executable will be
- able to generate its own documentation.
-
-2003-02-14 10:40 hoffman
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake: ENH: move full path compiler to
- internal and not just advanced
-
-2003-02-14 09:54 hoffman
-
- * Modules/TestForANSIForScope.cmake, Source/cmCacheManager.cxx,
- Source/cmConfigureFileCommand.cxx,
- Source/cmConfigureFileCommand.h, Source/cmIncludeCommand.h,
- Source/cmLocalUnixMakefileGenerator.cxx, Source/cmMakefile.h,
- Source/cmMarkAsAdvancedCommand.h,
- Source/cmUseMangledMesaCommand.cxx,
- Source/cmVariableRequiresCommand.cxx,
- Source/cmVariableRequiresCommand.h: spelling errors
-
-2003-02-14 09:25 hoffman
-
- * CMake.rtf: fix spelling errors
-
-2003-02-13 21:57 king
-
- * CMakeLists.txt, configure, configure.in, Source/CMakeLists.txt,
- Source/cmConfigure.cmake.h.in, Source/cmConfigure.h.in,
- Source/cmMakefile.cxx, Source/cmMakefile.h,
- Source/cmStandardIncludes.h: ENH: Centralized setting of CMake
- version number to top-level CMake listfile.
-
-2003-02-13 12:03 king
-
- * Utilities/Release/cmake_release.sh: ENH: Merged updates for 1.6.4
- release.
-
-2003-02-13 11:57 king
-
- * Modules/FindJNI.cmake: BUG: Fix find of JNI on Mac OSX 10.2.
-
-2003-02-13 11:54 king
-
- * Source/cmMakefile.h, Utilities/Release/cmake_release.sh: ENH:
- Updated for 1.6.4 release.
-
-2003-02-13 11:52 king
-
- * Modules/UseVTKConfig40.cmake: BUG: Copy of _LIB_DEPENDS variables
- needs to be double-quoted.
-
-2003-02-13 11:50 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix for spaces in
- paths in library path
-
-2003-02-13 11:47 king
-
- * Source/cmFindLibraryCommand.cxx: BUG: Use
- cmSystemTools::IsNOTFOUND.
-
-2003-02-12 13:43 andy
-
- * Source/: cmCTest.cxx, cmakemain.cxx: Try to fix update
-
-2003-02-12 09:26 andy
-
- * Source/cmCTest.cxx: Write individual too
-
-2003-02-11 14:49 andy
-
- * Modules/FindJNI.cmake: Ok, now it finds JNI on Mac OSX 10.2
-
-2003-02-11 13:56 andy
-
- * Modules/FindJNI.cmake: Fix typo
-
-2003-02-11 13:53 andy
-
- * Modules/FindJNI.cmake: Add missing location
-
-2003-02-11 13:37 andy
-
- * Modules/FindJNI.cmake: Improve searching for java files on OSX
-
-2003-02-11 13:34 andy
-
- * Source/cmSetTargetPropertiesCommand.h: Fix comment
-
-2003-02-11 09:50 king
-
- * Modules/: FindMangledMesa.cmake, FindOSMesa.cmake: Moving this
- very specific module to VTK.
-
-2003-02-11 09:19 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: Fix cont and remove comments
-
-2003-02-10 23:19 andy
-
- * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx: Start working on cont
-
-2003-02-10 22:00 hoffman
-
- * Tests/TryCompile/CMakeLists.txt: ENH: add more testing for ansi
- for scopes
-
-2003-02-10 21:56 hoffman
-
- * Modules/TestForANSIForScope.cmake: clean up check for for scope
- test
-
-2003-02-10 21:52 andy
-
- * Source/: cmCTest.cxx, cmCTest.h, ctest.cxx: Fix date issues with
- different models
-
-2003-02-10 16:20 hoffman
-
- * Source/CMakeLists.txt, Tests/TryCompile/CMakeLists.txt: ENH: add
- a new test for TRY_COMPILE
-
-2003-02-10 13:19 hoffman
-
- * Tests/TryCompile/: CMakeLists.txt, fail.c, pass.c: ENH: add a new
- test to test try compile
-
-2003-02-10 11:08 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Running "make test"
- can now have ARGS specified on the command line. These ARGS are
- passed to ctest.
-
-2003-02-09 16:11 king
-
- * Utilities/Release/cmake_release.sh: ERR: Removed extra &&.
-
-2003-02-08 10:24 hoffman
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: Fix for include
- optional
-
-2003-02-08 10:23 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix for spaces in
- paths in library path
-
-2003-02-07 16:29 king
-
- * Modules/UseVTKConfig40.cmake: BUG: Copying _LIB_DEPENDS variables
- requires double-quoted argument.
-
-2003-02-07 14:04 king
-
- * Source/: cmGetFilenameComponentCommand.cxx,
- cmGetFilenameComponentCommand.h,
- cmLocalUnixMakefileGenerator.cxx,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio6Generator.h,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h, cmMakefile.cxx,
- cmSetSourceFilesPropertiesCommand.h,
- cmSetTargetPropertiesCommand.h, cmSystemTools.cxx,
- cmSystemTools.h: Several fixes/improvements:
-
- - Fixed CollapseFullPath to work on relative paths with base
- paths
- not in the current working directory.
- - INCLUDE command now supports relative paths (using above
- fix).
- - Added ABSOLUTE option to GET_FILENAME_COMPONENT command to
- unwind symlinks and relative paths.
- - Fixed libName_EXPORTS macro definition to be valid C
- identifier.
- - Added DEFINE_SYMBOL target propterty for customizing the
- export symbol.
- - Implemented LINK_FLAGS target propterty for libraries in VC6
- and VC7.
-
- Several of these fixes were contributed by Gareth Jones.
-
-2003-02-07 11:47 hoffman
-
- * Source/CTest/CMakeLists.txt: Remove warnings on AIX
-
-2003-02-07 11:03 andy
-
- * Source/CTest/cmCTestSubmit.cxx: Do not reuse connection as that
- feature seems to be broken
-
-2003-02-07 11:03 andy
-
- * Source/cmCTest.cxx: Fix update return status
-
-2003-02-07 10:34 hoffman
-
- * Source/cmSystemTools.cxx: ENH: spelling error fix
-
-2003-02-07 10:18 hoffman
-
- * Source/cmFindLibraryCommand.cxx: BUG: use IsNOTFOUND
-
-2003-02-07 10:05 king
-
- * Utilities/Release/cmake_release.sh: ERR: Removed stray && from
- end of line.
-
-2003-02-07 00:09 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: Add updating support
-
-2003-02-06 17:48 hoffman
-
- * CMakeLists.txt: tell the aix linker not to give warnings with
- -bhalt:5
-
-2003-02-06 15:18 martink
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: added option to shut off
- automatic rebuilding
-
-2003-02-06 10:49 king
-
- * Source/CMakeLists.txt: ENH: Comeau C++ has been added for nightly
- testing. It does not support shared libraries, so we cannot run
- the complex tests.
-
-2003-02-05 22:26 hoffman
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h,
- cmTryCompileCommand.cxx: add better testing for unlink
-
-2003-02-05 18:05 king
-
- * Source/cmCreateTestSourceList.cxx: BUG: Generate 0 into test
- driver instead of NULL.
-
-2003-02-05 16:56 king
-
- * Utilities/Release/cmake_release.sh: ENH: Added win32_zipfile and
- win32_upload commands.
-
-2003-02-05 16:53 king
-
- * Utilities/Release/cmake_release.sh: ENH: Added win32_zipfile and
- win32_upload commands.
-
-2003-02-05 15:14 king
-
- * Utilities/Release/cmake_release.sh: BUG: Updated release tag for
- 1.6.3.
-
-2003-02-05 15:07 king
-
- * Source/cmMakefile.h, Utilities/Release/cmake_release.sh: ENH:
- Updated to version 1.6.3.
-
-2003-02-05 15:05 king
-
- * Modules/CMakeSystemSpecificInformation.cmake: ENH:
- CMAKE_INSTALL_PREFIX should not be advanced on UNIX.
-
-2003-02-05 15:02 king
-
- * Modules/Platform/HP-UX.cmake: BUG: Optimization flags use +
- prefix, not -.
-
-2003-02-05 15:01 king
-
- * Source/CursesDialog/cmCursesLongMessageForm.cxx: BUG: Fixed crash
- when messages are too long.
-
-2003-02-05 14:58 king
-
- * Source/cmGlobalGenerator.cxx: BUG: Bug in NOTFOUND error
- reporting logic.
-
-2003-02-05 14:55 hoffman
-
- * Modules/Platform/HP-UX.cmake: fix default release flags for hp
-
-2003-02-05 14:55 king
-
- * Source/: cmCacheManager.cxx, cmCacheManager.h: ENH: Better error
- checking for cache iterator.
-
-2003-02-04 15:37 hoffman
-
- * Modules/CMakeSystemSpecificInformation.cmake: move cmake install
- out of advanced
-
-2003-02-04 15:37 hoffman
-
- * Source/cmGlobalGenerator.cxx: BUG: add better testing for
- notfound
-
-2003-02-04 14:37 berk
-
- * Modules/: FindMangledMesa.cmake, FindOSMesa.cmake: Created
- modules for Mesa headers and libraries.
-
-2003-02-04 14:31 hoffman
-
- * Source/CursesDialog/cmCursesLongMessageForm.cxx: BUG: don't let
- the messages get too big
-
-2003-02-04 14:01 martink
-
- * Source/: cmCacheManager.h, cmCacheManager.cxx: safer operation of
- iterators
-
-2003-02-04 09:50 andy
-
- * Source/cmVTKWrapJavaCommand.cxx: Oops, std namespace
-
-2003-02-04 09:48 andy
-
- * Source/cmVTKWrapJavaCommand.cxx: Generate java dependency files
-
-2003-02-03 23:08 king
-
- * Utilities/Release/: cmake_release.sh: ENH: Improved robustness of
- remote invocation. Added more documentation.
-
-2003-02-03 22:46 king
-
- * Utilities/Release/: cmake_release.sh: ENH: Added documentation
- and usage.
-
-2003-02-03 13:31 hoffman
-
- * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt: ENH: add a better test for
- lib deps
-
-2003-02-03 12:02 king
-
- * Utilities/Release/cmake_release.sh: ENH: Updated version to
- 1.6.2.
-
-2003-02-03 12:01 king
-
- * Source/: cmFindFileCommand.cxx, cmFindFileCommand.h,
- cmFindLibraryCommand.cxx, cmFindPackageCommand.cxx,
- cmFindPathCommand.cxx, cmFindProgramCommand.cxx,
- cmFindProgramCommand.h, cmGetFilenameComponentCommand.cxx,
- cmGlobalGenerator.cxx, cmITKWrapTclCommand.cxx, cmSourceFile.cxx,
- cmSystemTools.cxx, cmSystemTools.h: ENH: Added new NOTFOUND
- notification feature.
-
-2003-02-03 11:50 king
-
- * Source/cmMakefile.h: ENH: Updated from version 1.6.1 to 1.6.2.
-
-2003-02-03 11:49 king
-
- * Source/cmExportLibraryDependencies.cxx: BUG: Removed generation
- of stray paren.
-
-2003-02-03 09:53 king
-
- * Source/cmExportLibraryDependencies.cxx: BUG: Removed generation
- of stray paren.
-
-2003-02-02 22:32 king
-
- * Source/CursesDialog/cmCursesStandardIncludes.h: ENH: Cleaned up
- sgi unreferenced warning hack.
-
-2003-02-02 11:45 hoffman
-
- * Source/cmGlobalGenerator.cxx: fix warning
-
-2003-02-01 16:39 hoffman
-
- * Source/cmMakefile.cxx: ENH: fix warning
-
-2003-02-01 16:39 hoffman
-
- * Source/cmAddLibraryCommand.h: ENH: fix doc line
-
-2003-02-01 16:27 hoffman
-
- * Source/CursesDialog/cmCursesStandardIncludes.h: BUG: add missing
- ;
-
-2003-01-31 15:01 hoffman
-
- * Modules/FindOpenGL.cmake: ENH: add checking for NOTFOUND
-
-2003-01-31 14:39 hoffman
-
- * Modules/FindOpenGL.cmake, Source/cmGlobalGenerator.cxx: ENH: add
- checking for NOTFOUND
-
-2003-01-31 13:50 hoffman
-
- * Source/: cmFindFileCommand.cxx, cmFindFileCommand.h,
- cmFindLibraryCommand.cxx, cmFindPackageCommand.cxx,
- cmFindPathCommand.cxx, cmFindProgramCommand.cxx,
- cmFindProgramCommand.h, cmGetFilenameComponentCommand.cxx,
- cmGlobalGenerator.cxx, cmITKWrapTclCommand.cxx,
- cmIncludeDirectoryCommand.cxx, cmLinkLibrariesCommand.cxx,
- cmMakefile.cxx, cmSourceFile.cxx, cmSystemTools.cxx,
- cmSystemTools.h, cmTargetLinkLibrariesCommand.cxx: ENH: add
- checking for NOTFOUND
-
-2003-01-31 13:24 king
-
- * Source/cmMakefile.h, Utilities/Release/cmake_release.sh: ENH:
- Updated to version 1.6.1 from 1.6.0.
-
-2003-01-31 13:18 king
-
- * Source/cmWin32ProcessExecution.cxx: Merge from HEAD. Use process
- output for error reporting instead of stdout.
-
-2003-01-31 13:04 king
-
- * Modules/FindLATEX.cmake: ENH: Changes to work on windows. Merged
- from HEAD.
-
-2003-01-31 11:52 king
-
- * Modules/FindFLTK.cmake: BUG: Need FIND_PROGRAM instead of
- FIND_FILE to find fluid.exe.
-
-2003-01-31 11:49 king
-
- * Modules/FindPerl.cmake: ENH: Added ActivePerl/804 as a search
- path.
-
-2003-01-31 11:44 king
-
- * Modules/CMakeSystemSpecificInformation.cmake: ERR: Removed stray
- double quote.
-
-2003-01-31 11:41 king
-
- * Utilities/Release/cmake_release.sh: ENH: Another merge from
- branch 1.6.
-
-2003-01-31 11:40 king
-
- * Modules/FindX11.cmake: BUG: Fix for cygwin's X11.
-
-2003-01-31 11:36 king
-
- * Source/cmakewizard.cxx: ENH: cmake -i on HP needs printf instead
- of cout.
-
-2003-01-31 11:35 king
-
- * Source/: CMakeLists.txt: BUG: Change install location of
- cmCPluginAPI header.
-
-2003-01-31 08:47 martink
-
- * Source/CursesDialog/cmCursesStandardIncludes.h: fixed warnings
-
-2003-01-30 14:34 andy
-
- * Source/: cmIncludeDirectoryCommand.cxx,
- cmLinkLibrariesCommand.cxx, cmTargetLinkLibrariesCommand.cxx: Add
- some error checking for missing include directories and link
- libraries
-
-2003-01-30 14:34 andy
-
- * Modules/CMakeSystemSpecificInformation.cmake: Remove extra quote
-
-2003-01-30 13:19 hoffman
-
- * Source/cmakewizard.cxx: BUG: can not mix cout and fgets on hp
-
-2003-01-30 11:50 king
-
- * Source/CursesDialog/cmCursesStandardIncludes.h: ERR: Fixing
- attempt to remove warnings.
-
-2003-01-29 14:20 king
-
- * Source/CursesDialog/cmCursesStandardIncludes.h: ERR: Another
- attempt to get rid of unreferenced inline function warnings on
- SGI.
-
-2003-01-29 13:56 king
-
- * Utilities/Release/cmake_release.sh: ENH: Use * instead of
- directory list for installation tarball.
-
-2003-01-29 13:46 king
-
- * Utilities/Release/cmake_release.sh: BUG: Need to include the
- include directory from the installation.
-
-2003-01-29 09:06 andy
-
- * Modules/FindX11.cmake: Attempt to fix build problem on some
- platforms
-
-2003-01-28 15:48 hoffman
-
- * Source/cmFindFileCommand.h: ENH: better docs
-
-2003-01-28 15:44 hoffman
-
- * Modules/: FindFLTK.cmake, FindQt.cmake: ENH: change FIND_FILE to
- FIND_PROGRAM
-
-2003-01-28 08:53 andy
-
- * Modules/FindLATEX.cmake: Make things work on unix and add DVIPDF
-
-2003-01-27 12:25 andy
-
- * Source/cmWin32ProcessExecution.cxx: Fix output variable and
- remove this->m_ to be only m_
-
-2003-01-27 12:18 andy
-
- * Source/cmWin32ProcessExecution.cxx: Move errors to output
- variable
-
-2003-01-24 17:40 king
-
- * Utilities/Release/cygwin-package.sh.in: ENH: Merged more changes
- from 1.6 branch.
-
-2003-01-24 17:34 king
-
- * Utilities/Release/cygwin-package.sh.in: ENH: Added testing to
- packaging script.
-
-2003-01-24 15:48 king
-
- * Utilities/Release/cmake_release.sh: ENH: Merged more changes from
- 1.6 branch.
-
-2003-01-24 15:02 king
-
- * Utilities/Release/cmake_release.sh: ENH: Added cygwin_upload
- function.
-
-2003-01-24 14:40 king
-
- * Utilities/Release/: cmake_release.sh, config_AIX, config_Darwin,
- config_IRIX64, config_Linux, config_OSF1, config_SunOS: ENH:
- Merged 1.6-branch changes to release scripts.
-
-2003-01-24 14:29 king
-
- * Utilities/Release/: config_AIX, config_Darwin, config_IRIX64,
- config_Linux, config_OSF1, config_SunOS: ENH: Use verbose
- makefile during release build.
-
-2003-01-24 13:55 king
-
- * Utilities/Release/cmake_release.sh: ENH: Updated checkout
- revision to Release-1-6-0 tag.
-
-2003-01-24 13:53 king
-
- * Modules/Platform/: HP-UX.cmake: BUG: Added missing link flag to
- export symbols from an executable.
-
-2003-01-24 11:49 king
-
- * Utilities/Release/cmake_release.sh: ENH: Updated for 1.6.0
- release over 1.6.beta2.
-
-2003-01-24 11:45 king
-
- * Utilities/: cmake_release_config_darwin,
- cmake_release_config_hpux, cmake_release_config_irix,
- cmake_release_config_linux, cmake_release_config_osf,
- cmake_release_config_sun, cmake_release_cygwin.sh,
- cmake_release_unix_config.sh, cmake_release_version.sh: ENH:
- Removing old release scripts. CMake 1.6 now has its own copy of
- the release scripts.
-
-2003-01-24 11:45 king
-
- * Utilities/: cmake-cygwin-package.sh, cmake_release_unix_build.sh,
- cmake_release_unix_package.sh, Release/cmake_release.sh,
- Release/config_AIX, Release/config_CYGWIN_NT-5.1,
- Release/config_Darwin, Release/config_HP-UX,
- Release/config_IRIX64, Release/config_Linux, Release/config_OSF1,
- Release/config_SunOS, Release/cygwin-package.sh.in: ENH: Release
- branch should contain its own release scripts.
-
-2003-01-24 11:41 king
-
- * Utilities/Release/: cmake_release.sh, config_AIX, config_Darwin,
- config_HP-UX, config_Linux, config_OSF1, config_SunOS: ENH:
- Enabled testing during release build.
-
-2003-01-24 10:33 king
-
- * Source/CursesDialog/cmCursesStandardIncludes.h: ERR: Fixed
- unreferenced termios declaration warning.
-
-2003-01-23 10:42 barre
-
- * Modules/FindLATEX.cmake: no message
-
-2003-01-23 10:37 barre
-
- * Modules/FindLATEX.cmake: FIX: - rename some entries (COMPILE ->
- COMPILER, and the converters -> _CONVERTER) - make sure that
- Window system are given a chance to find Latex and the converters
- if MikTex and GhostScript are installed (but not in the PATH)
-
-2003-01-23 10:36 barre
-
- * Modules/FindPerl.cmake: FIX: the current version of Perl is 5.8
-
-2003-01-23 10:35 barre
-
- * Source/cmGetFilenameComponentCommand.cxx: FIX: this command was
- not processing its arg to expand registery values
-
-2003-01-22 15:00 martink
-
- * Modules/Platform/gcc.cmake: joins from the main tree
-
-2003-01-22 14:59 martink
-
- * Modules/Platform/gcc.cmake: minor change to default compile flags
-
-2003-01-22 14:49 martink
-
- * Modules/: FindMPEG2.cmake, FindSDL.cmake: merge from branch
-
-2003-01-22 14:33 hoffman
-
- * Source/cmGlobalGenerator.h: ENH: merge from branch
-
-2003-01-22 14:21 hoffman
-
- * Tests/X11/CMakeLists.txt: ENH: merge from head
-
-2003-01-22 14:20 hoffman
-
- * Utilities/Doxygen/doc_makeall.sh.in: merge from main tree
-
-2003-01-22 14:20 hoffman
-
- * Source/cmGlobalGenerator.cxx: merge from main tree, test for
- working c and c++ compilers
-
-2003-01-22 14:17 hoffman
-
- * Templates/: cconfigure, cconfigure.in, cxxconfigure,
- cxxconfigure.in: merge with main branch and remove unused scripts
-
-2003-01-22 14:13 hoffman
-
- * Modules/FindAndImportCMakeProject.cmake: moved to c++ command
-
-2003-01-22 12:38 martink
-
- * Modules/: CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake:
- joins from the main tree
-
-2003-01-22 12:31 martink
-
- * Source/: cmCommands.cxx, cmFindPathCommand.cxx,
- cmGlobalUnixMakefileGenerator.cxx,
- cmGlobalVisualStudio6Generator.cxx, cmMakefile.cxx, cmMakefile.h,
- cmake.cxx: joins from the main tree
-
-2003-01-22 12:29 hoffman
-
- * Modules/: CMakeTestCCompiler.cmake, CMakeTestCXXCompiler.cmake:
- ENH: only run test for working c and cxx compiler once
-
-2003-01-22 12:28 martink
-
- * Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakeTestCCompiler.cmake,
- Modules/CMakeTestCXXCompiler.cmake,
- Modules/CheckIncludeFiles.cmake, Modules/FindFLTK.cmake,
- Modules/FindImageMagick.cmake, Modules/FindTclsh.cmake,
- Modules/FindVTK.cmake, Modules/FindX11.cmake,
- Modules/Platform/CYGWIN.cmake, Source/cmMessageCommand.cxx,
- Source/cmMessageCommand.h, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h, Source/CursesDialog/ccmake.cxx,
- Source/CursesDialog/cmCursesMainForm.cxx,
- Source/CursesDialog/cmCursesMainForm.h,
- Source/cmExportLibraryDependencies.cxx,
- Source/cmExportLibraryDependencies.h,
- Source/cmFindPackageCommand.cxx, Source/cmFindPackageCommand.h:
- joins from the main tree
-
-2003-01-22 11:44 martink
-
- * Source/cmLocalVisualStudio6Generator.cxx: fixed spelling mistake
-
-2003-01-22 11:27 martink
-
- * Source/CursesDialog/ccmake.cxx: spelling fix
-
-2003-01-22 11:21 martink
-
- * Modules/FindOpenGL.cmake: merge from branch
-
-2003-01-22 11:16 martink
-
- * Modules/LinkQT.cmake: removed since no longer used
-
-2003-01-22 11:11 martink
-
- * Modules/FindLATEX.cmake: merge branch change into main tree
-
-2003-01-22 10:40 king
-
- * Source/cmFindPackageCommand.cxx: ENH: Added support for looking
- through CMAKE_MODULE_PATH to locate Find<name>.cmake modules.
-
-2003-01-22 10:33 king
-
- * Source/: cmake.cxx, CursesDialog/ccmake.cxx,
- CursesDialog/cmCursesMainForm.cxx,
- CursesDialog/cmCursesMainForm.h: BUG: Fixed crash when CMAKE_ROOT
- cannot be found.
-
-2003-01-22 09:34 hoffman
-
- * Source/cmake.cxx: BUG: fix command line to take -G only
-
-2003-01-22 09:28 king
-
- * Source/cmGlobalVisualStudio6Generator.cxx: BUG: CMake 1.4
- configured projects did not build with new CMake.
-
-2003-01-21 17:15 king
-
- * Source/: cmCommands.cxx, cmFindPackageCommand.cxx,
- cmFindPackageCommand.h: ENH: Added FIND_PACKAGE command prototyp.
-
-2003-01-21 16:46 king
-
- * Source/cmake.cxx: BUG: Use CMakeDefaultMakeRuleVariables.cmake to
- locate modules directory instead of FindVTK.cmake.
-
-2003-01-21 15:03 king
-
- * Modules/FindVTK.cmake: ENH: Updated documentation.
-
-2003-01-21 14:01 andy
-
- * Modules/CheckIncludeFiles.cmake: This list can be really long.
- Only display the variable name
-
-2003-01-21 12:50 hoffman
-
- * Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakeTestCCompiler.cmake,
- Modules/CMakeTestCXXCompiler.cmake, Source/cmGlobalGenerator.cxx,
- Source/cmGlobalUnixMakefileGenerator.cxx, Source/cmMakefile.cxx,
- Source/cmMessageCommand.cxx, Source/cmMessageCommand.h,
- Source/cmSystemTools.cxx, Source/cmSystemTools.h: add a fatal
- error, and make sure c and c++ compilers work before using them
-
-2003-01-21 12:41 hoffman
-
- * Modules/Platform/CYGWIN.cmake: use export all symbols on cygwin
-
-2003-01-21 10:59 barre
-
- * Modules/FindImageMagick.cmake: IMPORTANT FIX: be extra-careful
- here on WIN32, we do NOT want CMake to look in the system's PATH
- env var to search for ImageMagick's convert.exe, otherwise it is
- going to pick Microsoft Window's own convert.exe, which is used
- to convert FAT partitions to NTFS format ! Depending on the
- options passed to convert.exe, there is a good chance you would
- kiss your hard-disk good-bye.
-
-2003-01-20 21:15 ibanez
-
- * Modules/FindLATEX.cmake: ENH: PS2PDF_COMPILE added. It looks for
- ps2pdf.
-
-2003-01-20 19:17 king
-
- * Source/cmMakefile.cxx: BUG: Fix for custom commands with spaces
- in paths. The arguments were not having spaces escaped.
-
-2003-01-20 18:54 king
-
- * Source/: cmLocalUnixMakefileGenerator.cxx: BUG: Fixed typo in
- previous fix.
-
-2003-01-20 18:52 king
-
- * Source/: cmLocalUnixMakefileGenerator.cxx: BUG: Fixed directory
- creation for spaces in install path.
-
-2003-01-20 16:59 hoffman
-
- * Source/cmCommands.cxx, Source/cmExportLibraryDependencies.cxx,
- Source/cmExportLibraryDependencies.h, Source/cmGlobalGenerator.h,
- Source/cmMakefile.h, Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt: ENH: add a new command
- that allows exports of library dependencies from a project to a
- file
-
-2003-01-20 14:39 will
-
- * Modules/FindX11.cmake: BUG: fix missed CMAKE to X11 variable name
-
-2003-01-19 11:42 king
-
- * Source/cmSystemTools.cxx: ENH: Improved CopyFile error messages.
-
-2003-01-18 11:34 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.h, Templates/install-sh: BUG:
- Fixed make install to handle library prefix/suffix settings.
- Also fixed support for spaces in paths during make install.
-
-2003-01-17 18:14 king
-
- * Modules/: FindVTK.cmake: BUG: Fix for application of
- expand-list-variables.
-
-2003-01-17 18:01 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.h, Templates/install-sh: ENH:
- Support for spaces in paths during make install.
-
-2003-01-17 17:19 king
-
- * Modules/FindAndImportCMakeProject.cmake: ENH: Adding
- FIND_AND_IMPORT_CMAKE_PROJECT macro.
-
-2003-01-17 15:15 king
-
- * Utilities/Release/cmake_release.sh: ENH: Added sanity check for
- setting of WX_RESOURCES by config_Darwin for osx_install.
-
-2003-01-17 13:35 king
-
- * Utilities/Release/: cmake_release.sh, config_Darwin: ENH:
- Prototype for OSX packaging.
-
-2003-01-17 13:35 king
-
- * Utilities/Release/cmake_release.sh: ENH: Cygwin package is now
- created in a Cygwin subdirectory.
-
-2003-01-17 11:57 king
-
- * Utilities/Release/: cmake-cygwin-package.sh, cmake_release.sh,
- cygwin-package.sh.in: ENH: Renamed cmake-cygwin-package.sh to
- cygwin-package.sh.in and removed executable permission so it
- cannot be run accidentally. It must be run after being renamed
- to cmake-${VERSION}-${RELEASE}.
-
-2003-01-17 11:55 king
-
- * Utilities/Release/cmake_release.sh: ENH: clean now removes the
- entire release root directory.
-
-2003-01-17 11:51 king
-
- * Utilities/: cmake-cygwin-package.sh, cmake_release_config_aix,
- cmake_release_config_darwin, cmake_release_config_hpux,
- cmake_release_config_irix, cmake_release_config_linux,
- cmake_release_config_osf, cmake_release_config_sun,
- cmake_release_cygwin.sh, cmake_release_unix_build.sh,
- cmake_release_unix_config.sh, cmake_release_unix_package.sh,
- cmake_release_version.sh: ENH: Removing old release scripts and
- config files.
-
-2003-01-17 11:42 king
-
- * Utilities/Release/config_OSF1: ENH: Adding OSF release
- configuration.
-
-2003-01-17 11:05 king
-
- * Utilities/Release/cmake_release.sh: ENH: Added cygwin release
- support.
-
-2003-01-17 10:30 king
-
- * Utilities/Release/cmake-cygwin-package.sh: ENH: Adding cygwin
- packaging script to release directory.
-
-2003-01-17 10:28 hoffman
-
- * Source/cmFindPathCommand.cxx,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/complex.cxx: remove
- trailing slash from findpath command
-
-2003-01-17 10:28 hoffman
-
- * Tests/SystemInformation/: DumpInformation.cxx,
- SystemInformation.in: add some more prints
-
-2003-01-17 10:21 king
-
- * Utilities/Release/config_Linux: ENH: Removed old setting.
-
-2003-01-17 10:21 king
-
- * Utilities/Release/config_CYGWIN_NT-5.1: ENH: Cygwin release
- configuration.
-
-2003-01-17 09:52 king
-
- * Utilities/Release/cmake_release.sh: ENH: Added support for full
- remote packaging and copying back to local machine. Added
- support for uploading to FTP server.
-
-2003-01-17 09:20 king
-
- * Utilities/Release/config_HP-UX: ENH: Linking with
- -a,archive_shared instead of -a,archive so that the shared curses
- library can be used.
-
-2003-01-17 09:15 king
-
- * Utilities/Release/config_AIX: ERR: Can't build release static on
- aix.
-
-2003-01-17 09:08 hoffman
-
- * Utilities/Release/config_AIX: Add AIX config file
-
-2003-01-17 08:56 andy
-
- * Source/cmCTest.cxx: Remove warning about %e and %T
-
-2003-01-16 15:47 martink
-
- * Tests/: Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: ENH: fix for
- compilers that need _
-
-2003-01-16 14:59 andy
-
- * Source/cmCTest.cxx: Add aix warning
-
-2003-01-16 14:15 andy
-
- * DartConfig.cmake: Add selection of drop method
-
-2003-01-16 14:05 barre
-
- * Utilities/Doxygen/doc_makeall.sh.in: FIX: HHC is now
- HTML_HELP_COMPILER
-
-2003-01-16 13:31 ibanez
-
- * Modules/FindFLTK.cmake: FIX: Quotes added around the list of libs
- to be added in Apple.
-
-2003-01-16 13:24 ibanez
-
- * Modules/FindFLTK.cmake: ENH: Platform dependent libraries added
- for APPLE.
-
-2003-01-16 13:02 andy
-
- * Source/CTest/cmCTestSubmit.cxx: Try to fix aix problem
-
-2003-01-16 12:45 andy
-
- * Source/CTest/cmCTestSubmit.cxx: Add proxy support for triggering
-
-2003-01-16 12:38 hoffman
-
- * Modules/FindFLTK.cmake: ENH: fix for borland and cygwin
-
-2003-01-16 12:30 andy
-
- * Source/CTest/cmCTestSubmit.cxx: Improve submtitting using http
-
-2003-01-16 09:57 andy
-
- * Source/CTest/cmCTestSubmit.cxx: Improve build, now it should
- build on mac and other platforms where include file depend on
- each other
-
-2003-01-16 08:40 hoffman
-
- * Source/cmMakefile.h: add back GetCMakeInstance
-
-2003-01-16 08:31 hoffman
-
- * Source/cmMakefile.h: fix duplicate member on branch
-
-2003-01-16 08:28 hoffman
-
- * Tests/: Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: ENH: add the config
- directory to look for the loadable module
-
-2003-01-15 19:24 king
-
- * Utilities/Release/cmake_release.sh: BUG: error_log function
- should return 1 to stop execution of rest of script.
-
-2003-01-15 19:20 king
-
- * Utilities/Release/cmake_release.sh: ENH: Renamed package command
- to binary_tarball for clarity.
-
-2003-01-15 19:17 king
-
- * Utilities/Release/: cmake_release.sh, config_HP-UX: ENH: Release
- script now exports PATH and LD_LIBRARY_PATH to remove the burden
- from the configuration scripts.
-
-2003-01-15 19:14 king
-
- * Utilities/Release/config_HP-UX: BUG: Attempt to fix remote
- invocation.
-
-2003-01-15 19:04 king
-
- * Utilities/Release/config_HP-UX: ENH: Enabling verbose makefile
- generation for hp-ux build. This will ease hand-fixing of the
- build of ccmake.
-
-2003-01-15 19:02 king
-
- * Utilities/Release/cmake_release.sh: ENH: Cleaned up remote
- invocation.
-
-2003-01-15 18:51 king
-
- * Utilities/Release/cmake_release.sh: ENH: Improved clean target.
-
-2003-01-15 18:48 king
-
- * Utilities/Release/cmake_release.sh: BUG: Finished clean target
- and fixed grep for cvsroot in ~/.cvspass.
-
-2003-01-15 18:44 king
-
- * Utilities/Release/cmake_release.sh: BUG: CVS login command is
- login, not cvs_login.
-
-2003-01-15 18:43 king
-
- * Utilities/Release/config_aix: ERR: Removed old config file.
-
-2003-01-15 18:42 king
-
- * Utilities/Release/: cmake_release.sh, config_Darwin,
- config_HP-UX, config_IRIX64, config_Linux, config_SunOS,
- config_aix: ENH: New release script prototype.
-
-2003-01-15 18:28 ibanez
-
- * Modules/FindFLTK.cmake: ENH: Libraries are not marked as ADVANCED
- now.
-
-2003-01-15 18:02 king
-
- * Source/cmMakefile.h: ERR: Removed duplicate declaration.
-
-2003-01-15 17:45 hoffman
-
- * Source/cmMakefile.h: ENH: fix for ibm build
-
-2003-01-15 17:31 hoffman
-
- * Source/CMakeLists.txt, Source/cmaketest.cxx,
- Tests/Complex/Executable/complex.cxx,
- Tests/Complex/Library/CMakeLists.txt,
- Tests/Complex/Library/moduleFile.c,
- Tests/Complex/Library/moduleFile.h,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexOneConfig/Library/CMakeLists.txt,
- Tests/ComplexOneConfig/Library/moduleFile.c,
- Tests/ComplexOneConfig/Library/moduleFile.h,
- Tests/ComplexRelativePaths/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Library/CMakeLists.txt,
- Tests/ComplexRelativePaths/Library/moduleFile.c,
- Tests/ComplexRelativePaths/Library/moduleFile.h: ENH: add testing
- for modules and one two config modes for cmaketest
-
-2003-01-15 17:02 hoffman
-
- * Tests/: LoadCommand/CMakeCommands/CMakeLists.txt,
- LoadCommandOneConfig/CMakeCommands/CMakeLists.txt: use module on
- all platforms
-
-2003-01-15 15:32 hoffman
-
- * Modules/FindOpenGL.cmake: fix from head
-
-2003-01-15 15:02 hoffman
-
- * Modules/FindOpenGL.cmake: BUG: fix for OSX with x11 gl stuff
-
-2003-01-15 13:25 hoffman
-
- * Modules/Platform/Windows-bcc32.cmake: merge with head fix for
- borland flag and bad set statment
-
-2003-01-15 13:22 hoffman
-
- * Modules/Platform/Windows-bcc32.cmake: BUG: fix flags for borland
- link shared and module
-
-2003-01-15 13:14 hoffman
-
- * Modules/FindOpenGL.cmake: BUG: make sure set command has proper
- quoting
-
-2003-01-15 13:12 hoffman
-
- * Modules/FindOpenGL.cmake: quote the variable
-
-2003-01-15 11:59 hoffman
-
- * Modules/FindTclsh.cmake: look for cygtcl83
-
-2003-01-15 11:32 king
-
- * CMakeLists.txt: ENH: Merge of backward compatability changes from
- trunk.
-
-2003-01-15 11:17 king
-
- * Utilities/cmake_release_version.sh: ENH: Updated version for
- 1.6.beta2 release.
-
-2003-01-15 11:03 martink
-
- * Source/cmMakefile.h: updated patch level
-
-2003-01-14 22:10 andy
-
- * Source/CTest/: cmCTestSubmit.cxx, cmCTestSubmit.h: Add support
- for http submit. Also, add support for proxy, but it does not
- work yet.
-
-2003-01-14 22:10 andy
-
- * Source/cmCTest.cxx: Add support for http submit
-
-2003-01-14 09:53 andy
-
- * Source/: cmMakefile.cxx, cmMakefile.h: Make GetCMakeInstance
- private and clean cxx file
-
-2003-01-13 10:15 martink
-
- * Modules/CheckSymbolExists.cmake: join from head
-
-2003-01-13 10:11 martink
-
- * Modules/FindQt.cmake: merge from branch
-
-2003-01-13 10:07 martink
-
- * Modules/Platform/Linux-como.cmake: joined to head
-
-2003-01-13 10:04 martink
-
- * Source/cmLocalVisualStudio6Generator.cxx,
- Tests/Complex/Library/testConly.c,
- Tests/ComplexOneConfig/Library/testConly.c,
- Tests/ComplexRelativePaths/Library/testConly.c: joined to head
-
-2003-01-13 09:30 hoffman
-
- * Source/cmLocalVisualStudio6Generator.cxx,
- Tests/Complex/Library/testConly.c,
- Tests/ComplexOneConfig/Library/testConly.c,
- Tests/ComplexRelativePaths/Library/testConly.c: BUG: fix
- CMAKE_C_FLAGS for visual studio 6, and add a test case
-
-2003-01-13 09:27 martink
-
- * Modules/CheckIncludeFileCXX.cmake: joined to head
-
-2003-01-13 09:24 martink
-
- * Modules/FindPNG.cmake: fixed typo
-
-2003-01-13 09:22 martink
-
- * Modules/: TestForANSIForScope.cmake, TestForSTDNamespace.cmake:
- joined to head
-
-2003-01-13 09:12 martink
-
- * Modules/: CMakeVS6BackwardCompatibility.cmake,
- CMakeVS7BackwardCompatibility.cmake, CheckTypeSize.cmake,
- FindX11.cmake: joined to head
-
-2003-01-13 09:09 martink
-
- * Source/cmake.cxx, Source/cmake.h, Modules/FindOpenGL.cmake,
- Modules/CMakeBackwardCompatibilityC.cmake,
- Modules/CMakeBackwardCompatibilityCXX.cmake: joined to head
-
-2003-01-13 09:06 martink
-
- * Source/: cmMakefile.cxx, cmVariableWatch.h: joined to head
-
-2003-01-13 09:02 martink
-
- * Source/: cmGlobalGenerator.cxx,
- cmLocalVisualStudio6Generator.cxx: joined to head
-
-2003-01-13 08:51 martink
-
- * Source/cmAbstractFilesCommand.cxx: joined
-
-2003-01-13 08:50 martink
-
- * Source/CMakeLists.txt: added install target
-
-2003-01-13 08:14 andy
-
- * Source/cmLocalVisualStudio6Generator.cxx: Add space between
- arguments
-
-2003-01-12 22:28 andy
-
- * Modules/CheckSymbolExists.cmake: Add macro for checking if symbol
- exists
-
-2003-01-12 10:50 andy
-
- * Source/cmLocalVisualStudio6Generator.cxx: Use C flags too. Not
- exactly the right solution but it will have to do for now.
-
-2003-01-11 21:47 andy
-
- * Source/CTest/: cmCTestSubmit.cxx, cmCTestSubmit.h: Add triggering
-
-2003-01-11 21:47 andy
-
- * Source/cmCTest.cxx: Fix time output and add triggering
-
-2003-01-11 10:57 andy
-
- * Source/CMakeLists.txt: Fix testing of curl on windows
-
-2003-01-10 20:22 andy
-
- * Source/CMakeLists.txt: Add curl testing
-
-2003-01-10 17:31 hoffman
-
- * CMakeLists.txt: ENH: make it work with cmake 1.6 with no
- backwards compatibility
-
-2003-01-10 11:07 martink
-
- * Source/cmGlobalGenerator.cxx: fix warnings
-
-2003-01-10 09:02 martink
-
- * Source/cmake.cxx: compiler warning
-
-2003-01-10 07:50 andy
-
- * Source/CTest/cmCTestSubmit.cxx: Method should return something
-
-2003-01-09 15:54 martink
-
- * Modules/FindOpenGL.cmake: better fix for win32
-
-2003-01-09 14:00 martink
-
- * Modules/FindOpenGL.cmake: update to not put PROJECT_SOURCE_DIR as
- OPENGL_PATH
-
-2003-01-09 12:18 martink
-
- * Source/: cmake.cxx, cmake.h, cmGlobalGenerator.cxx,
- cmGlobalGenerator.h: fix bug in env settings
-
-2003-01-09 11:35 martink
-
- * Source/: cmMakefile.cxx, cmVariableWatch.h: more option on var
- watches
-
-2003-01-09 11:34 martink
-
- * Modules/CheckTypeSize.cmake: minor fix to backw compat
-
-2003-01-09 11:32 hoffman
-
- * Source/cmGlobalGenerator.cxx: fix warning
-
-2003-01-09 11:28 hoffman
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h: restore the
- environment for cxx and cc in global generator
-
-2003-01-09 11:27 hoffman
-
- * Source/cmVariableWatch.h: use cmstdstring in maps
-
-2003-01-09 09:16 hoffman
-
- * Source/cmVariableWatch.h: fix syntax for addwatch
-
-2003-01-09 08:50 martink
-
- * Modules/: CMakeVS6BackwardCompatibility.cmake,
- CMakeVS7BackwardCompatibility.cmake: added big endian stuff
-
-2003-01-09 08:47 martink
-
- * Source/cmGlobalGenerator.cxx: only load bw compat if
- CMAKE_BACK... is set
-
-2003-01-09 08:47 martink
-
- * Source/cmake.cxx: added watches for access of bw compat vars
-
-2003-01-09 08:44 martink
-
- * Source/cmAbstractFilesCommand.cxx: now complains more
-
-2003-01-08 14:41 hoffman
-
- * Utilities/cmake_release_config_aix: release script for aix
-
-2003-01-08 13:24 andy
-
- * Source/: CMakeLists.txt, Makefile.in, cmMakefile.cxx,
- cmMakefile.h, cmVariableWatch.cxx, cmVariableWatch.h, cmake.cxx,
- cmake.h: Add variable watch support on the branch
-
-2003-01-08 13:24 andy
-
- * Source/cmTryCompileCommand.cxx: Merge try compile fixes to branch
-
-2003-01-08 12:59 andy
-
- * Source/: CMakeLists.txt, Makefile.in, cmMakefile.cxx,
- cmMakefile.h, cmVariableWatch.cxx, cmVariableWatch.h, cmake.cxx,
- cmake.h: Add option of watching variables
-
-2003-01-08 12:12 hoffman
-
- * Modules/CMakeBackwardCompatibilityCXX.cmake,
- Modules/CheckIncludeFileCXX.cmake,
- Modules/TestForANSIForScope.cmake,
- Modules/TestForSTDNamespace.cmake,
- Source/cmTryCompileCommand.cxx: ENH: only force the use of ansi
- flags in backwards mode
-
-2003-01-08 11:58 iscott
-
- * Modules/FindQt.cmake: mark all variables advanced
-
-2003-01-08 11:53 andy
-
- * Tests/X11/CMakeLists.txt: Change name of variable
-
-2003-01-08 11:45 andy
-
- * Modules/: CMakeBackwardCompatibilityC.cmake, FindX11.cmake: Fix
- FindX11 to match convention
-
-2003-01-08 10:48 iscott
-
- * Modules/: FindMPEG2.cmake, FindPNG.cmake, FindSDL.cmake,
- LinkQT.cmake: LinkQT.cmake has been deprecated for ages, removed
- it now. Fixed mistake in FindPNG.cmake Donated FindMPEG2 and
- FindSDL from VXL.
-
-2003-01-07 22:24 andy
-
- * Source/CTest/: cmCTestSubmit.cxx, cmCTestSubmit.h: Implement FTP
- uploading
-
-2003-01-07 22:23 andy
-
- * Source/CTest/CMakeLists.txt: Add more places to search for
- library, also include curl directory when compiling
-
-2003-01-07 22:23 andy
-
- * Source/cmCTest.cxx: New signature
-
-2003-01-07 15:04 hoffman
-
- * CMakeLists.txt: ENH: fix install of cmake.1
-
-2003-01-07 14:57 hoffman
-
- * CMakeLists.txt: fix reg ex for install cmake man
-
-2003-01-07 13:52 martink
-
- * Source/CMakeLists.txt: adde dinstall for cmCPluginAPI.h
-
-2003-01-07 13:19 hoffman
-
- * CMakeLists.txt, Templates/CMakeLists.txt: ENH: fix install and
- initial prefix
-
-2003-01-07 13:05 hoffman
-
- * Templates/CMakeLists.txt: ENH: fix install target for templates
-
-2003-01-07 12:54 hoffman
-
- * Templates/: cconfigure, cconfigure.in, cxxconfigure,
- cxxconfigure.in: remove unused files
-
-2003-01-07 12:05 hoffman
-
- * CMakeLists.txt: use bootstrap initial flags
-
-2003-01-07 10:22 king
-
- * Utilities/cmake_release_config_irix: BUG: Version number on rolle
- is 6.4, not 6.5.
-
-2003-01-06 23:13 andy
-
- * Source/: cmCTest.cxx, cmCTest.h: Work on submitting
-
-2003-01-06 23:07 andy
-
- * Source/CTest/: CMakeLists.txt, cmCTestSubmit.cxx,
- cmCTestSubmit.h: Start working on improved test
-
-2003-01-06 16:09 king
-
- * Utilities/cmake_release_config_hpux: ERR: Fixes for linking
- statically with -ldld.
-
-2003-01-06 15:41 hoffman
-
- * ChangeLog.txt: ENH: update change log for new version
-
-2003-01-06 15:21 king
-
- * Utilities/cmake_release_config_sun: ERR: Fix for building static
- with -ldl on sun.
-
-2003-01-06 14:56 king
-
- * Utilities/cmake_release_config_linux: ERR: Fixed typo.
-
-2003-01-06 14:30 biddi
-
- * Source/cmVTKWrapTclCommand.cxx: Fix a problem with TCL wrapping
- if the source files have a relative path. The dependency is not
- correctly handled
-
-2003-01-06 14:27 king
-
- * Utilities/: cmake_release_config_hpux,
- cmake_release_config_linux, cmake_release_config_sun: ENH:
- Updated for static executable.
-
-2003-01-06 11:31 king
-
- * Utilities/cmake_release_version.sh: ENH: Updated for 1.6 beta 1
- release.
-
-2003-01-06 11:23 king
-
- * Utilities/: cmake_release_config_darwin,
- cmake_release_config_hpux, cmake_release_config_irix,
- cmake_release_config_linux, cmake_release_config_osf,
- cmake_release_config_sun, cmake_release_cygwin.sh,
- cmake_release_unix_config.sh, cmake_release_version.sh: ENH:
- Updated for CMake 1.6 release. Version number is now in a single
- file that is sourced by all others.
-
-2003-01-06 10:58 martink
-
- * Source/: cmCPluginAPI.h: updated version
-
-2003-01-06 10:43 martink
-
- * CMake.rtf: updated docs
-
-2003-01-06 09:39 martink
-
- * Source/: cmMakefile.h: update version
-
-2003-01-06 09:36 martink
-
- * Source/cmMakefile.h: updated version
-
-2003-01-06 09:32 king
-
- * Modules/Platform/Linux-como.cmake: ENH: Added shared library
- settings.
-
-2003-01-06 09:04 hoffman
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake: ENH: look for AIX compiler as
- well
-
-2003-01-06 08:39 hoffman
-
- * Modules/Platform/OSF1.cmake: add shared path for OSF
-
-2003-01-05 11:24 hoffman
-
- * Modules/Platform/OSF1.cmake: BUG: revert back to rpath,
-
-2003-01-03 20:26 andy
-
- * Modules/CheckTypeSize.cmake: Remove debug
-
-2003-01-03 20:03 andy
-
- * Modules/: CheckFunctionExists.cmake, CheckLibraryExists.cmake,
- CheckTypeSize.cmake, CheckVariableExists.cmake: Fix problems with
- required flags
-
-2003-01-03 19:21 andy
-
- * Modules/: CheckFunctionExists.cmake, CheckIncludeFile.cmake,
- CheckIncludeFiles.cmake, CheckLibraryExists.cmake,
- CheckTypeSize.cmake, CheckVariableExists.cmake: Add required
- flags
-
-2003-01-03 17:36 king
-
- * Modules/FindPythonLibs.cmake: ENH: Find python framework on Mac
- OSX.
-
-2003-01-03 16:23 hoffman
-
- * Modules/Platform/OSF1.cmake: try to fix rpath on OSF
-
-2003-01-03 16:14 andy
-
- * Tests/COnly/libc2.h: Fix problem with test on Borland
-
-2003-01-03 08:12 hoffman
-
- * Modules/Platform/SunOS.cmake: BUG: bad rpath flag for suns
-
-2003-01-02 10:27 king
-
- * Source/cmCPluginAPI.h: ENH: Changed magic numbers to reserved.
- Added CMAKE_VERSION_MAJOR and CMAKE_VERSION_MINOR macros to allow
- commands to do conditional compilation across multiple versions
- of CMake.
-
-2003-01-02 09:57 king
-
- * Modules/CMakeBackwardCompatibilityC.cmake: BUG: Don't add
- -I/usr/include as an X_CFLAGS setting.
-
-2003-01-02 09:57 king
-
- * Modules/FindX11.cmake: BUG: Fixed ordering of X11 search.
-
-2003-01-02 09:06 andy
-
- * Tests/COnly/CMakeLists.txt: Rename libraries from c1 to testc1
-
-2003-01-02 08:51 hoffman
-
- * Modules/Platform/: AIX.cmake, OSF1.cmake, SunOS.cmake: clean up
- some c/cxx issues
-
-2003-01-01 18:00 andy
-
- * Modules/CheckIncludeFiles.cmake: Add macro for checking if a
- swequence of includes can be includes
-
-2003-01-01 17:35 andy
-
- * Tests/COnly/CMakeLists.txt: Test conversion from ascii to string
-
-2003-01-01 17:34 andy
-
- * Source/: cmStringCommand.cxx, cmStringCommand.h: Add a way to
- convert ascii to string
-
-2003-01-01 16:25 andy
-
- * Modules/: CheckFunctionExists.cmake, CheckLibraryExists.cmake,
- CheckTypeSize.cmake, CheckVariableExists.cmake: To prevent cmake
- from breaking up arguments, put quotes around them
-
-2003-01-01 15:02 andy
-
- * Modules/CheckVariableExists.cmake: Add a way to add custom
- libraries to the mix. Also add status reporting
-
-2003-01-01 15:01 andy
-
- * Modules/: CheckFunctionExists.cmake, CheckLibraryExists.cmake,
- CheckTypeSize.cmake: Add a way to add custom libraries to the mix
-
-2003-01-01 14:26 andy
-
- * Tests/COnly/: libc2.c, libc2.h: Shared library should export
- symbols on windows
-
-2002-12-31 15:22 andy
-
- * Tests/COnly/: CMakeLists.txt, conly.c, libc1.c, libc1.h, libc2.c,
- libc2.h: Test also stating and shared libraries
-
-2002-12-31 13:08 king
-
- * Modules/: CMakeDefaultMakeRuleVariables.cmake,
- Platform/Darwin.cmake, Platform/HP-UX.cmake,
- Platform/Linux-como.cmake, Platform/Windows-bcc32.cmake,
- Platform/Windows-cl.cmake: ENH: Added <LINK_FLAGS> to link rules.
-
-2002-12-31 12:59 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: When there are no
- link flags, we want an empty string, not a null pointer.
-
-2002-12-31 12:41 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: Support LINK_FLAGS
- property for static libraries.
-
-2002-12-30 11:48 hoffman
-
- * Modules/Platform/AIX.cmake: ENH: fix shared libraries on AIX
-
-2002-12-30 11:02 king
-
- * Modules/CMakeBackwardCompatibilityC.cmake, Modules/CheckSizeOf.c,
- Modules/CheckSizeOf.cmake, Modules/CheckTypeSize.c,
- Modules/CheckTypeSize.cmake, Tests/LoadCommand/CMakeLists.txt,
- Tests/LoadCommandOneConfig/CMakeLists.txt: ENH: Renamed
- Modules/CheckSizeOf to Modules/CheckTypeSize for consistency with
- the macro name that is defined by the module.
-
-2002-12-30 08:18 andy
-
- * Source/cmSystemTools.cxx: Fix problem on windows with network
- paths
-
-2002-12-30 07:47 hoffman
-
- * Source/: cmAbstractFilesCommand.h, cmAddCustomCommandCommand.h,
- cmAddCustomTargetCommand.h, cmAddDefinitionsCommand.h,
- cmAddExecutableCommand.h, cmAddTestCommand.h,
- cmAuxSourceDirectoryCommand.h, cmBuildCommand.h,
- cmBuildNameCommand.h, cmFLTKWrapUICommand.h: ENH: clean up docs
- some
-
-2002-12-27 11:14 starreveld
-
- * Modules/FindPythonLibs.cmake: ENH: find python framework and
- include files on OSX
-
-2002-12-26 19:59 andy
-
- * Modules/CMakeJavaCompiler.cmake.in: If there is no java compiler
- report error on ADD_JAVA_LIBRARY
-
-2002-12-26 13:58 andy
-
- * Modules/Platform/Windows-cl.cmake: Add missing closing bracket
-
-2002-12-23 12:19 hoffman
-
- * Source/cmSystemTools.h: ENH: fix for AIX
-
-2002-12-23 09:51 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: WAR: remove warinings
-
-2002-12-23 09:25 hoffman
-
- * Source/cmSystemTools.cxx: ENH: handle // in the path
-
-2002-12-22 15:19 hoffman
-
- * Modules/Platform/Windows-bcc32.cmake,
- Source/cmLocalUnixMakefileGenerator.cxx: ENH: fixes for borland
- with spaces in the path
-
-2002-12-22 11:50 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: clean up warning and use
- more short paths
-
-2002-12-22 10:09 barre
-
- * Modules/: Documentation.cmake, FindHTMLHelp.cmake, FindHhc.cmake:
- ENH: it's time to create a real Microsoft HTML Help Workshop
- CMake module
-
-2002-12-21 11:14 hoffman
-
- * Source/: cmGetTargetPropertyCommand.cxx,
- cmGetTargetPropertyCommand.h, cmSetTargetPropertiesCommand.cxx,
- cmSetTargetPropertiesCommand.h: ENH: add target properties files
-
-2002-12-20 17:15 hoffman
-
- * Source/cmCommands.cxx, Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmTarget.cxx, Source/cmTarget.h,
- Tests/Complex/Library/CMakeLists.txt,
- Tests/ComplexOneConfig/Library/CMakeLists.txt,
- Tests/ComplexRelativePaths/Library/CMakeLists.txt: ENH: add
- target properties
-
-2002-12-20 16:15 king
-
- * Source/cmVTKWrapTclCommand.cxx: ERR: Tcl_PkgProvide takes char*,
- so we cannot pass a string literal to it.
-
-2002-12-20 12:59 king
-
- * Modules/Platform/Windows-cl.cmake,
- Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmGlobalVisualStudio6Generator.h,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.h,
- Templates/CMakeVisualStudio6Configurations.cmake: ENH: Visual
- Studio 6 and 7 generators now set CMAKE_CONFIGURATION_TYPES to be
- a semicolon-separated list of configurations that will be built.
-
-2002-12-20 11:56 barre
-
- * Modules/: CMakeBackwardCompatibilityC.cmake, FindX11.cmake: FIX:
- make CMAKE_X_LIBS and CMAKE_X_CFLAGS advanced
-
-2002-12-20 11:20 hoffman
-
- * Source/cmGlobalUnixMakefileGenerator.cxx: ENH: add a check to
- make sure cmake can find the c or C++ compiler for trycompile
-
-2002-12-20 11:20 hoffman
-
- * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt: BUG: fix for backwards
- compatibility
-
-2002-12-20 10:23 martink
-
- * Source/: cmSourceFilesCommand.cxx, cmake.cxx: testing more
- agressive compatability settings
-
-2002-12-20 09:43 king
-
- * Modules/FindTCL.cmake: ENH: Use the Mac -framework for Tk if it
- is available.
-
-2002-12-20 09:42 king
-
- * Modules/FindTCL.cmake: ENH: Use the Mac -framework for Tcl if it
- is available.
-
-2002-12-19 15:34 hoffman
-
- * Source/cmGlobalGenerator.cxx: BUG: enable the languages when not
- running in global mode
-
-2002-12-19 12:51 hoffman
-
- * Modules/CMakeSystemSpecificInformation.cmake: better docs
-
-2002-12-19 12:51 hoffman
-
- * Modules/Platform/Windows-cl.cmake: ENH: make linker flags use
- init values so users can set them from the cache
-
-2002-12-18 16:58 king
-
- * Source/cmVTKWrapTclCommand.cxx: ENH: Tcl packages now
- Tcl_PkgProvide their own name and version.
-
-2002-12-18 10:52 king
-
- * Modules/Platform/gcc.cmake: ENH: Adding build type flags for C.
-
-2002-12-18 09:38 king
-
- * Source/CMakeLists.txt, Tests/X11/CMakeLists.txt: ERR: Project
- name and executable name should match for consistency in the X11
- test.
-
-2002-12-17 17:05 king
-
- * Source/: cmCPluginAPI.cxx, cmCPluginAPI.h: ENH: Added return type
- int to ExecuteCommand.
-
-2002-12-17 14:55 king
-
- * Source/cmFLTKWrapUICommand.cxx: BUG: Need at least 2 arguments,
- not exactly 2.
-
-2002-12-17 14:55 king
-
- * Source/cmListFileCache.h: ERR: Added operator != for SGI.
-
-2002-12-17 14:54 hoffman
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake,
- CMakeDetermineJavaCompiler.cmake, CMakeDetermineSystem.cmake,
- CMakeSystemSpecificInformation.cmake, CheckFunctionExists.cmake,
- CheckIncludeFile.cmake, CheckIncludeFileCXX.cmake,
- CheckLibraryExists.cmake, CheckSizeOf.cmake,
- CheckVariableExists.cmake, TestBigEndian.cmake,
- TestCXXAcceptsFlag.cmake, TestForANSIForScope.cmake,
- TestForSTDNamespace.cmake: ENH: use CMAKE_ROOT and not PROJECT_
- for try compile stuff, this allows projects within projects to
- have different languages
-
-2002-12-17 13:28 king
-
- * Source/CMakeLists.txt, Tests/X11/CMakeLists.txt: BUG: Renamed X11
- test executable to useX11 to avoid conflict with name of library.
-
-2002-12-17 12:56 martink
-
- * Source/cmLocalVisualStudio6Generator.cxx: better handling of
- Module
-
-2002-12-17 12:11 andy
-
- * Source/cmake.cxx: Save directories when doing global build
-
-2002-12-17 11:58 king
-
- * Source/cmMacroCommand.cxx: ENH: Improved error message for macro
- invoked with incorrect number of arguments.
-
-2002-12-17 11:57 king
-
- * Source/cmTryCompileCommand.cxx: ENH: TryCompile should produce a
- verbose makefile.
-
-2002-12-17 11:55 king
-
- * Modules/: CMakeBackwardCompatibilityC.cmake, FindX11.cmake: ENH:
- FindX11.cmake module now almost fully duplicates old configure
- functionality.
-
-2002-12-17 10:04 martink
-
- * Source/cmLocalVisualStudio7Generator.cxx: some clean up in link
- directories
-
-2002-12-16 21:19 andy
-
- * Source/: CMakeLists.txt, cmCTest.cxx, cmCTest.h, ctest.cxx,
- ctest.h: Split ctest into two three files
-
-2002-12-16 18:28 king
-
- * Source/cmLocalVisualStudio7Generator.cxx: BUG: Cannot remove
- quotes from defined flags.
-
-2002-12-16 12:13 andy
-
- * Source/cmake.cxx: Fix switching from local to global generation
- when cmake version changes or when things change inside version
-
-2002-12-16 11:10 king
-
- * Source/cmake.cxx: ENH: Added copy_if_different option to -E flag.
-
-2002-12-16 09:39 king
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: BUG: Fixed quotes in output
- paths.
-
-2002-12-15 13:45 andy
-
- * Source/: ctest.cxx, ctest.h: Add support for only showing what
- will be done. This way you can for example get a list of all
- tests: ctest -N or list of all tests that match regex: ctest -N
- -R regex
-
-2002-12-13 17:35 king
-
- * Tests/: Complex/CMakeLists.txt,
- Complex/cmTestGeneratedHeader.h.in,
- Complex/Executable/CMakeLists.txt,
- Complex/Executable/complex.cxx, ComplexOneConfig/CMakeLists.txt,
- ComplexOneConfig/cmTestGeneratedHeader.h.in,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/cmTestGeneratedHeader.h.in,
- ComplexRelativePaths/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/complex.cxx: ENH: Added test for
- generated header included by non-generated source.
-
-2002-12-13 17:34 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: Need source file
- and OBJECT_DEPENDS as dependencies of an object file.
-
-2002-12-13 16:16 king
-
- * Source/: cmLocalUnixMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.h,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx,
- cmSetSourceFilesPropertiesCommand.cxx: ENH: Added source file
- property OBJECT_DEPENDS to support generated header files
- included in non-generated sources.
-
-2002-12-13 14:58 king
-
- * Modules/: CheckFunctionExists.cmake, CheckIncludeFile.cmake,
- CheckIncludeFileCXX.cmake, CheckLibraryExists.cmake,
- CheckSizeOf.cmake, CheckVariableExists.cmake: ENH: Don't repeat
- check even if answer was no.
-
-2002-12-13 09:52 martink
-
- * Source/cmIfCommand.cxx: made more strict
-
-2002-12-13 09:27 martink
-
- * Source/: ctest.cxx, cmCPluginAPI.cxx: fixed warnings
-
-2002-12-13 09:18 king
-
- * Source/: cmFunctionBlocker.h, cmIfCommand.h: ERR: Fixed unused
- parameter warning.
-
-2002-12-12 17:48 hoffman
-
- * Source/: cmTryCompileCommand.cxx, cmTryCompileCommand.h: Make try
- compile add a depend to re-run cmake if its source chagnes
-
-2002-12-12 12:02 king
-
- * Utilities/: cmake_release_config_darwin,
- cmake_release_config_hpux, cmake_release_config_irix,
- cmake_release_config_linux, cmake_release_config_osf,
- cmake_release_config_sun, cmake_release_cygwin.sh: ENH: Updated
- for 1.4.7 release.
-
-2002-12-12 11:51 martink
-
- * Source/cmMakefile.h: updated to patch7
-
-2002-12-12 11:36 king
-
- * Source/: cmListFileCache.cxx, cmListFileCache.h,
- cmMacroCommand.cxx, cmMakefile.cxx, cmMakefile.h, ctest.cxx: ENH:
- Improved filename/line number reporting in error message. Macro
- invocations now chain up the error message.
-
-2002-12-12 10:25 king
-
- * Modules/CMakeTestGNU.c: ERR: Fixed syntax errors for picky
- preprocessors.
-
-2002-12-12 10:25 king
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake: ERR: Need double-quotes around
- expression to be mached in IF command.
-
-2002-12-12 10:10 king
-
- * Tests/: Complex/CMakeLists.txt, Complex/VarTests.cmake,
- ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/VarTests.cmake,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/VarTests.cmake: BUG: Can't double-quote
- foreach arguments.
-
-2002-12-12 08:42 martink
-
- * Tests/Wrapping/CMakeLists.txt: now uses SET instead of
- SOURCE_LIST command
-
-2002-12-11 18:20 king
-
- * Source/cmListFileCache.cxx: BUG: Multi-line functions must also
- increment line number, not the pointer.
-
-2002-12-11 18:15 king
-
- * Source/cmEndForEachCommand.h: ERR: Dummy InitialPass
- implementation must return a value.
-
-2002-12-11 18:13 king
-
- * Source/: cmAbstractFilesCommand.cxx,
- cmAddCustomCommandCommand.cxx, cmAddCustomTargetCommand.cxx,
- cmAddDefinitionsCommand.cxx, cmAddDependenciesCommand.cxx,
- cmAddExecutableCommand.cxx, cmAddLibraryCommand.cxx,
- cmAddTestCommand.cxx, cmCPluginAPI.cxx, cmCommand.h,
- cmCreateTestSourceList.cxx, cmEndForEachCommand.cxx,
- cmEndForEachCommand.h, cmFindFileCommand.cxx,
- cmFindLibraryCommand.cxx, cmFindPathCommand.cxx,
- cmFindProgramCommand.cxx, cmForEachCommand.cxx,
- cmForEachCommand.h, cmFunctionBlocker.h, cmITKWrapTclCommand.cxx,
- cmIfCommand.cxx, cmIfCommand.h, cmIncludeDirectoryCommand.cxx,
- cmInstallProgramsCommand.cxx, cmInstallTargetsCommand.cxx,
- cmLinkDirectoriesCommand.cxx, cmLinkLibrariesCommand.cxx,
- cmListFileCache.cxx, cmListFileCache.h, cmLoadCacheCommand.cxx,
- cmLoadCommandCommand.cxx, cmLocalUnixMakefileGenerator.cxx,
- cmMacroCommand.cxx, cmMacroCommand.h, cmMakefile.cxx,
- cmMakefile.h, cmMarkAsAdvancedCommand.cxx, cmMessageCommand.cxx,
- cmProjectCommand.cxx, cmRemoveCommand.cxx,
- cmSetSourceFilesPropertiesCommand.cxx, cmSourceFilesCommand.cxx,
- cmSourceFilesRemoveCommand.cxx, cmSubdirCommand.cxx,
- cmSystemTools.cxx, cmSystemTools.h, cmTarget.cxx,
- cmTargetLinkLibrariesCommand.cxx, cmUtilitySourceCommand.cxx,
- cmVariableRequiresCommand.cxx, cmWriteFileCommand.cxx, ctest.cxx:
- ENH: Moved ExpandListVariables out of individual commands.
- Argument evaluation rules are now very consistent. Double quotes
- can always be used to create exactly one argument, regardless of
- contents inside.
-
-2002-12-11 14:18 martink
-
- * Source/CMakeSetup.dsw: removed dsw file
-
-2002-12-11 14:16 martink
-
- * Source/: cmCPluginAPI.cxx, cmCPluginAPI.h: added a Free method
-
-2002-12-11 14:15 king
-
- * Source/: cmCreateTestSourceList.cxx, cmSystemTools.cxx: ENH:
- Improved implementation of MSVC debug hook to only add the hook
- if DART_TEST_FROM_DART is set in the environment. This is better
- than always adding the hook and testing the environment from the
- callback.
-
-2002-12-11 12:09 andy
-
- * Source/: cmGlobalVisualStudio7Generator.cxx,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: Add check so that java
- projects build without C++
-
-2002-12-11 11:49 king
-
- * Source/: cmDumpDocumentation.cxx, cmSystemTools.cxx,
- cmSystemTools.h, cmakemain.cxx, cmaketest.cxx, cmw9xcom.cxx,
- ctest.cxx: ENH: Added cmSystemTools::EnableMSVCDebugHook() to
- prevent error dialogs when CMake is invoked by Dart.
-
-2002-12-11 11:32 king
-
- * Source/cmCreateTestSourceList.cxx: ENH: Generate code to setup
- MSVC debug library hook. The test driver program will not
- display error dialogs if DART_TEST_FROM_DART is set in the
- environment.
-
-2002-12-11 10:34 andy
-
- * Modules/CMakeDetermineJavaCompiler.cmake,
- Modules/CMakeJavaCompiler.cmake.in, Source/cmGlobalGenerator.cxx:
- Add java support
-
-2002-12-10 17:52 andy
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio6Generator.h: Add support for comments on
- custom commands in visual studio 6
-
-2002-12-10 17:43 andy
-
- * Source/: cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h: Add support for comments on
- custom commands in visual studio 7
-
-2002-12-10 16:46 andy
-
- * Source/: cmCustomCommand.cxx, cmCustomCommand.h, cmMakefile.cxx,
- cmMakefile.h, cmAddCustomCommandCommand.cxx,
- cmAddCustomCommandCommand.h, cmLocalUnixMakefileGenerator.cxx,
- cmSourceGroup.cxx, cmSourceGroup.h: Add comment support, so that
- you can see in build process what the custom command does
-
-2002-12-10 16:45 andy
-
- * Source/: cmAddCustomTargetCommand.cxx,
- cmAddCustomTargetCommand.h: Allow target with no command
-
-2002-12-10 16:08 hoffman
-
- * Source/: cmOutputRequiredFilesCommand.cxx,
- cmOutputRequiredFilesCommand.h: BUG: update for changes in
- cmMakeDepend
-
-2002-12-10 16:01 hoffman
-
- * Source/: cmITKWrapTclCommand.cxx, cmITKWrapTclCommand.h: ENH:
- update use of makedepend
-
-2002-12-10 15:55 hoffman
-
- * Source/: cmITKWrapTclCommand.cxx, cmITKWrapTclCommand.h: ENH:
- update to new style MakeDepend
-
-2002-12-10 14:12 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: make sure empty depends
- are not used
-
-2002-12-10 14:10 martink
-
- * Source/: cmOutputRequiredFilesCommand.cxx,
- cmOutputRequiredFilesCommand.h: updated for changes in Depend
- Calcs
-
-2002-12-10 13:59 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: do not output empty
- depends
-
-2002-12-10 13:36 andy
-
- * Source/ctest.cxx: Remove warning
-
-2002-12-10 10:34 hoffman
-
- * Source/: cmMakeDepend.cxx, cmUnixMakefileGenerator.cxx,
- cmUnixMakefileGenerator.h: BUG: fix compile flags for source
- files, and fix depend bug for cmake 14 branch
-
-2002-12-10 09:34 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: remove cerr
-
-2002-12-10 09:28 hoffman
-
- * Source/: cmLocalUnixMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.h, cmMakeDepend.cxx: BUG: fix bug
- in depends
-
-2002-12-09 16:23 andy
-
- * Source/cmaketest.cxx: Add to usage
-
-2002-12-09 16:22 andy
-
- * Modules/FindPythonLibs.cmake: Better search for python
-
-2002-12-09 14:33 king
-
- * Modules/CMakeImportBuildSettings.cmake: ENH: Using only filename
- without path or extension for comparing build tools.
-
-2002-12-09 08:27 hoffman
-
- * Modules/: CMakeVS6BackwardCompatibility.cmake,
- CMakeVS7BackwardCompatibility.cmake: use win32 threads for win32
-
-2002-12-08 22:36 andy
-
- * Source/: ctest.cxx, ctest.h: Initial addition of coverage
-
-2002-12-08 22:35 andy
-
- * Source/cmSystemTools.cxx: Fix bug in globbing. Now it actually
- uses only files or directories that result in globbing not the
- ones that were is the vector before
-
-2002-12-08 22:33 andy
-
- * Source/: cmGlobalGenerator.cxx, cmLocalUnixMakefileGenerator.cxx:
- Rename variable to remove warning
-
-2002-12-08 14:25 starreveld
-
- * Templates/CMakeLists.txt: ERR: Remove references to files removed
- 4 days ago
-
-2002-12-06 15:35 hoffman
-
- * Source/: cmGlobalUnixMakefileGenerator.cxx,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx,
- cmLocalUnixMakefileGenerator.cxx, cmMakefile.cxx: ENH: fix IntDir
- jump and build problem
-
-2002-12-06 11:43 hoffman
-
- * Source/cmGlobalGenerator.cxx: ENH: set the CXX and CC environment
- vars
-
-2002-12-06 10:16 hoffman
-
- * Modules/CMakeDetermineCCompiler.cmake: BUG: fix C compiler init
-
-2002-12-06 10:09 hoffman
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake: clean up compiler picking code
-
-2002-12-06 10:02 hoffman
-
- * Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Source/cmGlobalVisualStudio6Generator.cxx: fix for generator
- picked compilers
-
-2002-12-05 16:53 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: use correct path type
- for check_cache file
-
-2002-12-05 16:52 hoffman
-
- * Source/cmDynamicLoader.cxx: fix free before use
-
-2002-12-05 14:56 hoffman
-
- * Source/: cmCacheManager.cxx, cmLocalUnixMakefileGenerator.cxx:
- ENH: add a rule to automatically re-run cmake from the top if the
- CMakeCache.txt file is changed
-
-2002-12-05 14:24 andy
-
- * Source/Makefile.in: Better dependencies for bootstrap
-
-2002-12-05 13:44 hoffman
-
- * Modules/CMakeBackwardCompatibilityC.cmake,
- Modules/CMakeBackwardCompatibilityCXX.cmake,
- Modules/CMakeSystemSpecificInformation.cmake,
- Modules/CMakeVS6BackwardCompatibility.cmake,
- Modules/CMakeVS6FindMake.cmake,
- Modules/CMakeVS7BackwardCompatibility.cmake,
- Modules/CMakeVS7FindMake.cmake, Modules/Dart.cmake,
- Modules/Platform/Windows-cl.cmake,
- Source/cmGlobalBorlandMakefileGenerator.cxx,
- Source/cmGlobalBorlandMakefileGenerator.h,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalNMakeMakefileGenerator.cxx,
- Source/cmGlobalNMakeMakefileGenerator.h,
- Source/cmGlobalUnixMakefileGenerator.cxx,
- Source/cmGlobalUnixMakefileGenerator.h,
- Source/cmGlobalVisualStudio6Generator.cxx,
- Source/cmGlobalVisualStudio6Generator.h,
- Source/cmGlobalVisualStudio7Generator.cxx,
- Source/cmGlobalVisualStudio7Generator.h,
- Source/cmLocalVisualStudio6Generator.cxx: ENH: unify
- EnableLanguage across all generators
-
-2002-12-05 11:55 andy
-
- * Tests/: LoadCommand/CMakeLists.txt,
- LoadCommand/LoadedCommand.cxx, LoadCommand/LoadedCommand.h.in,
- LoadCommandOneConfig/CMakeLists.txt,
- LoadCommandOneConfig/LoadedCommand.cxx,
- LoadCommandOneConfig/LoadedCommand.h.in: Speedup the test
-
-2002-12-05 11:09 martink
-
- * Source/cmGlobalVisualStudio7Generator.h: use InAll target setting
- to determine what targets are in the default build
-
-2002-12-05 10:47 king
-
- * Modules/: FindVTK.cmake, UseVTK40.cmake,
- UseVTKBuildSettings40.cmake, UseVTKConfig40.cmake: ENH: Added
- support for finding/using VTK 4.0 without using its UseVTK.cmake
- file that does a LOAD_CACHE.
-
-2002-12-05 10:34 king
-
- * Modules/CMakeImportBuildSettings.cmake: BUG: Fix for string
- comparison when one string is empty.
-
-2002-12-05 09:46 king
-
- * Modules/: CMakeBuildSettings.cmake.in,
- CMakeExportBuildSettings.cmake, CMakeImportBuildSettings.cmake:
- ENH: Adding CMAKE_EXPORT_BUILD_SETTINGS and
- CMAKE_IMPORT_BUILD_SETTINGS macro.
-
-2002-12-05 08:30 martink
-
- * Source/cmGlobalVisualStudio7Generator.cxx: use InAll target
- setting to determine what targets are in the default build
-
-2002-12-04 18:44 king
-
- * Source/: cmStringCommand.cxx, cmStringCommand.h: ENH: Added
- COMPARE modes to STRING command.
-
-2002-12-04 16:59 king
-
- * Modules/CMakeUnixFindMake.cmake: BUG: Removed stray debugging
- message.
-
-2002-12-04 14:18 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: When a full path to
- a library cannot be parsed, just add the whole path to the link
- line. If it isn't a valid path, the linker will complain.
-
-2002-12-04 10:57 hoffman
-
- * Modules/CMakeUnixFindMake.cmake,
- Source/cmGlobalBorlandMakefileGenerator.cxx,
- Source/cmGlobalNMakeMakefileGenerator.cxx,
- Source/cmGlobalUnixMakefileGenerator.cxx, Source/cmake.cxx,
- Source/cmake.h: BUG: fix get make command problems.
-
-2002-12-04 10:44 martink
-
- * Source/cmake.cxx: added CMAKE_BACKWARDS_COMPATIBILITY entry
-
-2002-12-04 10:25 martink
-
- * Source/cmLinkLibrariesCommand.h: updated comment
-
-2002-12-03 16:19 hoffman
-
- * Modules/CMakeBorlandFindMake.cmake,
- Modules/CMakeNMakeFindMake.cmake,
- Modules/CMakeSystemSpecificInformation.cmake,
- Modules/CMakeUnixFindMake.cmake, Modules/Platform/CYGWIN.cmake,
- Modules/Platform/Windows-bcc32.cmake,
- Modules/Platform/Windows-cl.cmake,
- Source/cmGlobalBorlandMakefileGenerator.cxx,
- Source/cmGlobalNMakeMakefileGenerator.cxx,
- Source/cmGlobalUnixMakefileGenerator.cxx: determine
- CMAKE_MAKE_PROGRAM in EnableLanguage
-
-2002-12-03 15:23 hoffman
-
- * Source/CMakeLists.txt,
- Source/cmLocalBorlandMakefileGenerator.cxx,
- Source/cmLocalBorlandMakefileGenerator.h,
- Source/cmLocalNMakeMakefileGenerator.cxx,
- Source/cmLocalNMakeMakefileGenerator.h,
- Templates/CCMakeSystemConfig.cmake.in,
- Templates/CMakeBorlandWindowsSystemConfig.cmake,
- Templates/CMakeNMakeWindowsSystemConfig.cmake,
- Templates/CXXCMakeSystemConfig.cmake.in: remove unused files
-
-2002-12-03 14:15 ibanez
-
- * Modules/FindImageMagick.cmake: Module to find tools from the
- ImageMagick package. These tools are useful for converting image
- formats.
-
-2002-12-03 14:09 martink
-
- * Source/: CMakeLists.txt, Makefile.in, cmake.cxx: remove code
- warrior and fixed GUI isues
-
-2002-12-03 13:46 ibanez
-
- * Modules/FindFLTK.cmake: ENH: description of variables now follows
- other style in other .cmake files.
-
-2002-12-03 13:44 ibanez
-
- * Modules/FindGLUT.cmake: ENH: Description of variables now
- specifies that the full path is required.
-
-2002-12-03 12:59 martink
-
- * Source/cmMakefile.cxx: fix purify FMR
-
-2002-12-03 11:23 martink
-
- * CMakeLists.txt: bug fix and some cleanup
-
-2002-12-03 11:21 martink
-
- * Tests/.NoDartCoverage: clean up coverage some
-
-2002-12-03 10:47 hoffman
-
- * Modules/CMakeDefaultMakeRuleVariables.cmake,
- Modules/Platform/Linux-como.cmake,
- Modules/Platform/Windows-bcc32.cmake,
- Modules/Platform/Windows-cl.cmake,
- Source/cmLocalUnixMakefileGenerator.cxx: correctly place both
- LINK_FLAGS and CXX_LINK_FLAGS and C_LINK_FLAGS into all the rules
-
-2002-12-03 09:59 hoffman
-
- * Modules/CMakeDefaultMakeRuleVariables.cmake: use LINK_FLAGS not C
- and CXX LINK_FLAGS
-
-2002-12-02 16:35 martink
-
- * Source/cmStringCommand.cxx: fix compile warning
-
-2002-12-02 16:15 hoffman
-
- * Source/cmMakefile.cxx: add project command even if inheriting
-
-2002-12-02 16:08 hoffman
-
- * Source/cmListFileCache.cxx: ENH: put the project command at the
- front of the project
-
-2002-12-02 15:59 martink
-
- * Source/: cmFindLibraryCommand.cxx, cmMakefile.cxx, cmMakefile.h,
- cmSystemTools.cxx, cmSystemTools.h: removed cmMakefile depend
- from cmSystemTools
-
-2002-12-02 15:43 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ENH: remove forced
- enable language call because a PROJECT command is now added to
- each project
-
-2002-12-02 15:37 hoffman
-
- * Source/: cmListFileCache.cxx, cmMakefile.cxx: ENH: remove cerr
- calls
-
-2002-12-02 15:30 hoffman
-
- * Source/: cmListFileCache.cxx, cmListFileCache.h, cmMakefile.cxx:
- ENH: add PROJECT command if there is not one
-
-2002-12-02 15:03 martink
-
- * Source/cmIfCommand.cxx: minor fix
-
-2002-12-02 13:18 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: add a space around
- the compile flags
-
-2002-12-02 10:33 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix compile flags
- for a single file
-
-2002-11-29 18:56 andy
-
- * Source/cmGlobalUnixMakefileGenerator.cxx: Fix problem on unix
- with space
-
-2002-11-29 16:35 andy
-
- * Source/cmSystemTools.cxx: When cd-jing into directory, if
- directory has space, it should put quotes around. I guess we
- could just put quotes around all the time
-
-2002-11-28 23:45 ibanez
-
- * Modules/FindFLTK.cmake: ENH: FLTK 1.1.1 under Windows links now
- with the comctl32 library.
-
-2002-11-27 07:42 andy
-
- * Tests/ObjC++/CMakeLists.txt: Add missing library. The test should
- be linked to framework Cocoa
-
-2002-11-27 07:41 andy
-
- * Source/cmSystemTools.cxx: Add objective C++ file in the list of
- C++ files. This may be wrong, but it will fix problems on Mac for
- now
-
-2002-11-26 19:02 starreveld
-
- * Source/CMakeLists.txt: Add ObjC++ test for OSX
-
-2002-11-26 19:01 starreveld
-
- * Tests/ObjC++/: CMakeLists.txt, objc++.mm:
- Test for ObjC++ on OSX machines only
-
-2002-11-26 09:37 andy
-
- * Source/cmTryCompileCommand.cxx: Remove warning
-
-2002-11-25 17:57 andy
-
- * Modules/FindwxWindows.cmake: Change priorities
-
-2002-11-22 16:59 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: fix for paths with
- spaces and borland
-
-2002-11-22 16:18 hoffman
-
- * Modules/Platform/Windows-bcc32.cmake: change flags for borland
-
-2002-11-22 15:44 andy
-
- * Source/cmLocalVisualStudio6Generator.cxx: Revert back to 1.5,
- since it is fixed in ConvertToOutputPath and this breaks Windows
- 98
-
-2002-11-22 09:45 andy
-
- * Source/CursesDialog/cmCursesMainForm.cxx: Rename local variable
-
-2002-11-21 23:54 hoffman
-
- * Source/cmLocalVisualStudio7Generator.cxx: add support for
- CMAKE_C_FLAGS and handle quotes in CMAKE_CXX_FLAGS
-
-2002-11-21 16:11 hoffman
-
- * Source/cmTryCompileCommand.cxx: fix for c flags
-
-2002-11-21 16:03 hoffman
-
- * Source/: cmTryCompileCommand.cxx: fix flag setting
-
-2002-11-21 15:36 hoffman
-
- * Modules/Platform/CYGWIN.cmake: remove debug stuff
-
-2002-11-21 15:15 hoffman
-
- * Source/cmTryCompileCommand.cxx: move compile defs to cxx and c
- flags
-
-2002-11-21 14:59 hoffman
-
- * Source/: cmTryCompileCommand.cxx, cmTryCompileCommand.h: clean up
- entire temp directory
-
-2002-11-21 14:45 hoffman
-
- * Modules/: CheckIncludeFileCXX.cmake,
- TestForANSIStreamHeaders.cmake: try to fix check for ansi stream
-
-2002-11-21 14:32 hoffman
-
- * Modules/CheckIncludeFileCXX.cmake: fix order
-
-2002-11-21 14:24 hoffman
-
- * Modules/TestForSTDNamespace.cmake: fix order
-
-2002-11-21 14:11 hoffman
-
- * Modules/CheckIncludeFileCXX.cmake,
- Modules/TestForANSIForScope.cmake,
- Modules/TestForANSIStreamHeaders.cmake,
- Modules/TestForSTDNamespace.cmake,
- Source/cmTryCompileCommand.cxx: move ansi cxx flags stuff out of
- try compile and into cmake files
-
-2002-11-21 13:37 hoffman
-
- * Source/cmSystemTools.cxx: fix network paths with spaces
-
-2002-11-21 13:28 hoffman
-
- * Modules/CMakeBackwardCompatibilityCXX.cmake: have to cache
- ansi_cxxflags
-
-2002-11-21 12:59 hoffman
-
- * Modules/: CMakeBackwardCompatibilityCXX.cmake,
- TestCXXAcceptsFlag.cmake: spelling error
-
-2002-11-21 12:52 hoffman
-
- * Modules/: CMakeBackwardCompatibilityCXX.cmake, DummyCXXFile.cxx,
- TestCXXAcceptsFlag.cmake, Platform/IRIX64.cmake,
- Platform/OSF1.cmake: add checks for ansi flags and not hard code
- them
-
-2002-11-21 12:26 andy
-
- * Source/cmLocalVisualStudio6Generator.cxx: Fix for network paths
- with space
-
-2002-11-21 12:26 andy
-
- * Source/ctest.cxx: Fix for network paths
-
-2002-11-21 11:46 barre
-
- * Modules/CMakeSystemSpecificInformation.cmake: FUX: those vars
- need to be ADVANCED
-
-2002-11-21 10:11 king
-
- * Modules/: CheckVariableExists.c, CheckVariableExists.cmake: ENH:
- Added CHECK_VARIABLE_EXISTS macro.
-
-2002-11-21 10:03 king
-
- * Source/CursesDialog/cmCursesMainForm.cxx: ERR: Fixed string
- literal to char* warnings.
-
-2002-11-21 08:45 hoffman
-
- * Modules/CMakeDefaultMakeRuleVariables.cmake,
- Modules/Platform/CYGWIN.cmake,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Tests/SystemInformation/SystemInformation.in: fix for create
- shared library
-
-2002-11-21 08:19 martink
-
- * Tests/LinkLineOrder/: Exec1.c, Exec2.c, NoDepB.c, NoDepC.c,
- NoDepE.c, NoDepF.c, NoDepX.c, NoDepY.c, NoDepZ.c, One.c:
- converted c plus plus comments
-
-2002-11-21 08:12 hoffman
-
- * Modules/CMakeSystemSpecificInformation.cmake: ENH: fix for module
- run time flag
-
-2002-11-20 18:18 hoffman
-
- * Source/: cmCacheManager.h, cmSystemTools.cxx: rename foo
- variables to better names
-
-2002-11-20 18:00 king
-
- * Source/: cmLoadCacheCommand.cxx, cmLoadCacheCommand.h: ENH: Added
- READ_WITH_PREFIX option to LOAD_CACHE command. This allows
- reading of cache values from another cache without actually
- creating local copies of the cache entires. The values are
- stored as prefixed local makefile variables.
-
-2002-11-20 16:23 king
-
- * Modules/FindVTK.cmake: ENH: Added support to find VTK 4.0.
-
-2002-11-20 15:23 hoffman
-
- * Modules/CMakeCCompiler.cmake.in: BUG: use CMAKE_COMPILER_IS_GNUCC
- not CMAKE_COMPILER_IS_GNUGCC
-
-2002-11-20 14:40 ibanez
-
- * Modules/FindLATEX.cmake: ENH: Now also locates the "makeindex"
- program.
-
-2002-11-20 14:11 king
-
- * Modules/FindVTK.cmake: ENH: Only search VTK_INSTALL_PATH if
- USE_INSTALLED_VTK is on. Only search VTK_BINARY_PATH if
- USE_BUILT_VTK is on.
-
-2002-11-20 13:37 king
-
- * Modules/FindVTK.cmake: ENH: New implementation of FindVTK to take
- advantage of VTKConfig.cmake. Also provides more powerful search
- path mechanism, and requires only one cache entry in user
- project.
-
-2002-11-20 12:58 king
-
- * Source/cmSystemTools.cxx: BUG: Attempt to fix CopyFile problem
- using flush before check for success.
-
-2002-11-20 09:06 king
-
- * Source/cmGetFilenameComponentCommand.cxx: ERR: Fixed
- signed/unsigned warning.
-
-2002-11-20 09:06 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ERR: Fixed unused
- parameter warning.
-
-2002-11-20 09:04 martink
-
- * Tests/LinkLineOrder/NoDepA.c: fixed comments to be c style not c
- plus plus
-
-2002-11-19 18:17 hoffman
-
- * Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakeSystemSpecificInformation.cmake,
- Source/cmGetFilenameComponentCommand.cxx,
- Source/cmGetFilenameComponentCommand.h, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h: allow flags to be in the CC and CXX
- environment variables
-
-2002-11-19 18:01 perera
-
- * Source/CMakeLists.txt, Source/cmMakefile.cxx,
- Source/cmTarget.cxx, Source/cmTarget.h,
- Tests/LinkLineOrder/CMakeLists.txt, Tests/LinkLineOrder/Exec1.c,
- Tests/LinkLineOrder/Exec2.c, Tests/LinkLineOrder/NoDepA.c,
- Tests/LinkLineOrder/NoDepB.c, Tests/LinkLineOrder/NoDepC.c,
- Tests/LinkLineOrder/NoDepE.c, Tests/LinkLineOrder/NoDepF.c,
- Tests/LinkLineOrder/NoDepX.c, Tests/LinkLineOrder/NoDepY.c,
- Tests/LinkLineOrder/NoDepZ.c, Tests/LinkLineOrder/One.c,
- Tests/LinkLineOrder/Two.c: BUG: the dependency analysis would
- incorrectly alphabetically re-order the link lines, which affects
- external libraries pulled up from deep within the dependency
- tree. Fixed by preserving order everywhere.
-
-2002-11-19 15:55 hoffman
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake: fixes to better honor env CC and
- CXX
-
-2002-11-19 14:40 hoffman
-
- * Source/cmSystemTools.cxx: ENH: add some better output when copy
- file fails
-
-2002-11-19 14:40 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: fix some warnings
-
-2002-11-19 13:19 andy
-
- * Source/CursesDialog/cmCursesPathWidget.cxx: Add / after directory
- name when doing tab completion
-
-2002-11-19 13:09 andy
-
- * Source/CursesDialog/: cmCursesMainForm.cxx, cmCursesMainForm.h:
- Add progress to ccmake
-
-2002-11-19 12:20 hoffman
-
- * Modules/CMakeSystemSpecificInformation.cmake: BUG: fix CFLAGS
-
-2002-11-19 12:18 hoffman
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake: BUG: fix handling of CXX
-
-2002-11-19 09:12 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: fix warning
-
-2002-11-19 09:01 martink
-
- * Source/cmSystemTools.cxx: fix in warning
-
-2002-11-18 16:29 andy
-
- * Source/CursesDialog/: cmCursesMainForm.cxx, cmCursesMainForm.h:
- Initial add of progress
-
-2002-11-18 15:14 hoffman
-
- * Modules/: CMakeBackwardCompatibilityC.cmake, FindThreads.cmake:
- BUG: fix for thread and cache override
-
-2002-11-18 10:52 andy
-
- * Modules/: CheckFunctionExists.cmake, CheckIncludeFile.cmake,
- CheckLibraryExists.cmake, CheckSizeOf.cmake,
- TestForANSIForScope.cmake, TestForANSIStreamHeaders.cmake,
- TestForSTDNamespace.cmake: Add more messages, make messages look
- the same, add checks if test was already successfull
-
-2002-11-18 10:51 andy
-
- * Modules/CMakeSystemSpecificInformation.cmake: If system detection
- fails, make copy of CMakeCache
-
-2002-11-18 09:08 hoffman
-
- * Tests/SystemInformation/SystemInformation.in: add print for
- compiler is gnu
-
-2002-11-17 17:28 martink
-
- * Source/: cmake.cxx, cmLocalUnixMakefileGenerator.cxx: fix some
- compiler warnings hopefully
-
-2002-11-15 17:45 hoffman
-
- * Modules/Platform/Windows-bcc32.cmake,
- Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix for borland run
- time dll
-
-2002-11-15 16:00 hoffman
-
- * Modules/Platform/SunOS.cmake: fix for sun
-
-2002-11-15 13:17 martink
-
- * Source/cmake.cxx: fixed bad source directory bug
-
-2002-11-15 12:54 martink
-
- * Source/cmIfCommand.cxx: fixed compiler warning
-
-2002-11-15 10:07 hoffman
-
- * Modules/CMakeSystemSpecificInformation.cmake: ENH: add back
- install prefix
-
-2002-11-15 09:30 hoffman
-
- * Modules/FindThreads.cmake: fix thread logic
-
-2002-11-15 09:16 hoffman
-
- * Modules/CMakeSystemSpecificInformation.cmake: ENH: add CFLAGS and
- CXXFLAGS
-
-2002-11-15 07:42 andy
-
- * Source/cmakemain.cxx: Oops, std namespace
-
-2002-11-14 17:12 andy
-
- * Source/cmakemain.cxx: Add Progress support
-
-2002-11-14 16:29 berk
-
- * Modules/Platform/HP-UX.cmake: temp fix for hp
-
-2002-11-14 16:29 hoffman
-
- * Source/TODO: [no log message]
-
-2002-11-14 16:12 berk
-
- * Modules/Platform/HP-UX.cmake: fix flags for hp
-
-2002-11-14 14:06 andy
-
- * Source/cmLocalUnixMakefileGenerator.cxx: Fix compile flags on c
- files in static liobraries on windows
-
-2002-11-14 11:33 andy
-
- * Modules/CMakeSystemSpecificInformation.cmake,
- Modules/Platform/Windows-cl.cmake,
- Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix flags for c
- compiler on windows
-
-2002-11-14 11:16 martink
-
- * Source/: cmCPluginAPI.cxx, cmCPluginAPI.h: added another func
-
-2002-11-14 11:03 martink
-
- * Source/: cmCPluginAPI.h, cmCPluginAPI.cxx: added another func
-
-2002-11-14 09:38 andy
-
- * Modules/: FindJNI.cmake, FindJava.cmake, FindPythonLibs.cmake:
- Clean find for Python, add find for python 2.2 on windows,
- cleanup java on windows and add java 1.4 support
-
-2002-11-14 09:38 berk
-
- * Source/cmLocalUnixMakefileGenerator.cxx: Added missing space.
-
-2002-11-14 09:37 andy
-
- * Source/cmLocalUnixMakefileGenerator.cxx: Fix building on NMake.
- Use short paths
-
-2002-11-14 08:59 hoffman
-
- * Modules/Platform/Windows-bcc32.cmake: BUG: fix for missing temp
- file variable
-
-2002-11-13 23:36 hoffman
-
- * Modules/Platform/Windows-bcc32.cmake,
- Source/cmLocalUnixMakefileGenerator.cxx: reorder tWR so that it
- does not crash with shared
-
-2002-11-13 20:14 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: add support for borland
- run time flag for shared builds
-
-2002-11-13 20:11 hoffman
-
- * Modules/Platform/Windows-bcc32.cmake: fix shared builds on
- borland and add debug stuff for makefiles
-
-2002-11-13 18:27 hoffman
-
- * Source/: cmLocalUnixMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.h: BUG: fix for build out of dir for
- windows
-
-2002-11-13 16:31 hoffman
-
- * Modules/: CheckFunctionExists.cmake, CheckIncludeFile.cmake,
- CheckLibraryExists.cmake, CheckSizeOf.cmake: ENH: add status
- messages
-
-2002-11-13 15:59 martink
-
- * Source/: cmLocalUnixMakefileGenerator.cxx, cmMakefile.cxx,
- cmMakefile.h, cmMessageCommand.cxx, cmMessageCommand.h: ENH:
- space fixes and add a status option to message command
-
-2002-11-13 15:32 martink
-
- * Modules/Platform/Windows-bcc32.cmake: ENH: move -P flag from
- cxxflags to the compile line for cxx files
-
-2002-11-13 15:20 hoffman
-
- * Source/: cmGlobalUnixMakefileGenerator.cxx, cmake.cxx, cmake.h:
- ENH: check to make sure cmake matches the cmake used to generate
- the cache
-
-2002-11-13 14:51 hoffman
-
- * Modules/Platform/Windows-bcc32.cmake: ENH: use correct run time
- library for borland
-
-2002-11-13 14:31 hoffman
-
- * Source/: cmCacheManager.cxx, cmGlobalUnixMakefileGenerator.cxx:
- ENH: force a global generate if the cache version does not match
- the running cmake
-
-2002-11-13 13:19 berk
-
- * Source/Makefile.in: BUG: add missing depend rules for hp make
-
-2002-11-13 11:49 hoffman
-
- * Modules/FindX11.cmake: fix for nsl library and X11
-
-2002-11-13 11:36 hoffman
-
- * Modules/: CMakeBackwardCompatibilityC.cmake, FindX11.cmake: fix
- for nsl library and X11
-
-2002-11-13 11:25 hoffman
-
- * Modules/Platform/Windows-bcc32.cmake: BUG: fix order of link line
- for creating shared libraries
-
-2002-11-12 19:39 king
-
- * Modules/CheckFunctionExists.cmake: BUG: Fixed doc string on
- generated variable.
-
-2002-11-12 16:58 hoffman
-
- * Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix path problems
-
-2002-11-12 16:27 will
-
- * Modules/FindX11.cmake: Backwards compatibility. Andy and Bill
- made me add socket library.
-
-2002-11-12 15:24 hoffman
-
- * Modules/Platform/Windows-bcc32.cmake,
- Modules/Platform/Windows-cl.cmake,
- Source/cmLocalUnixMakefileGenerator.cxx: ENH: add .def file
- support
-
-2002-11-12 14:48 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: change to new
- variables
-
-2002-11-12 14:19 hoffman
-
- * Modules/: CMakeBackwardCompatibilityC.cmake,
- CheckLibraryExists.cmake, FindThreads.cmake: add find threads
- check
-
-2002-11-12 14:18 hoffman
-
- * Tests/SystemInformation/: CMakeLists.txt, DumpInformation.cxx,
- DumpInformation.h.in, SystemInformation.in: clean up test for
- html output
-
-2002-11-12 13:06 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: fix reg expression
-
-2002-11-12 12:47 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: [no log message]
-
-2002-11-12 10:47 barre
-
- * Modules/FindOpenGL.cmake: FIX: minor fix, OPENGL_INCLUDE_PATH was
- set 2 times
-
-2002-11-12 09:33 hoffman
-
- * Tests/SystemInformation/DumpInformation.cxx: [no log message]
-
-2002-11-12 09:31 hoffman
-
- * Tests/SystemInformation/CMakeLists.txt: fix project name
-
-2002-11-12 09:12 hoffman
-
- * Modules/: CMakeSystemSpecificInformation.cmake,
- Platform/CYGWIN.cmake, Platform/Windows-bcc32.cmake,
- Platform/Windows-cl.cmake: Set CMAKE_BUILD_TOOL
-
-2002-11-11 18:10 hoffman
-
- * Modules/CMakeSystemSpecificInformation.cmake,
- Modules/Platform/Windows-bcc32.cmake,
- Modules/Platform/Windows-cl.cmake, Source/CMakeLists.txt,
- Source/TODO, Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.h: ENH: fix up several
- problems with new stuff
-
-2002-11-11 18:07 hoffman
-
- * Tests/SystemInformation/: CMakeLists.txt, DumpInformation.cxx,
- DumpInformation.h.in, SystemInformation.in: new test
-
-2002-11-11 17:00 hoffman
-
- * Modules/Platform/OSF1.cmake: Fix for OSF
-
-2002-11-11 13:15 andy
-
- * Source/cmLocalUnixMakefileGenerator.cxx: Fix regular expressions
- to be able to handle windows libraries
-
-2002-11-11 12:31 hoffman
-
- * Modules/CMakeBackwardCompatibilityC.cmake,
- Modules/CMakeCCompiler.cmake.in,
- Modules/CMakeCXXCompiler.cmake.in, Modules/CMakeSystem.cmake.in,
- Modules/CMakeSystemSpecificInformation.cmake,
- Modules/Platform/HP-UX.cmake, Modules/Platform/IRIX.cmake,
- Modules/Platform/IRIX64.cmake,
- Modules/Platform/Windows-bcc32.cmake,
- Modules/Platform/Windows-cl.cmake, Modules/Platform/gcc.cmake,
- Source/TODO, Source/cmGlobalUnixMakefileGenerator.cxx: clean up
- flags with _init flags
-
-2002-11-11 11:43 hoffman
-
- * Modules/: CMakeLists.txt, Platform/CMakeLists.txt: add install
- stuff for platform directory
-
-2002-11-11 09:11 hoffman
-
- * Modules/Platform/Darwin.cmake: ENH: fix for darwin modules
-
-2002-11-10 10:02 hoffman
-
- * Modules/Platform/: HP-UX.cmake, IRIX.cmake, IRIX64.cmake,
- Windows-bcc32.cmake, Windows-cl.cmake, gcc.cmake: BUG: fix
- setting of c flags
-
-2002-11-09 13:43 hoffman
-
- * Modules/Platform/: HP-UX.cmake, IRIX.cmake, IRIX64.cmake,
- Windows-bcc32.cmake, Windows-cl.cmake, gcc.cmake: fix for
- cxxflags
-
-2002-11-08 18:07 king
-
- * Modules/Platform/Linux-como.cmake: ENH: Adding support for comeau
- C++ compiler.
-
-2002-11-08 18:06 king
-
- * Modules/: CMakeSystemSpecificInformation.cmake,
- Platform/HP-UX.cmake, Platform/IRIX.cmake, Platform/IRIX64.cmake,
- Platform/Linux.cmake, Platform/Windows-bcc32.cmake,
- Platform/Windows-cl.cmake, Platform/gcc.cmake: ENH: Moved caching
- of C*_FLAGS* settings down to
- CMakeSystemSpecificInformation.cmake. The platform files can set
- the defaults on the first run, and then the settings are cached
- at the end.
-
-2002-11-08 18:05 king
-
- * Source/cmSetCommand.cxx: BUG: A variable is not in the cache if
- it is UNINITIALIZED.
-
-2002-11-08 18:05 king
-
- * Source/cmGlobalCodeWarriorGenerator.cxx: ERR: Removed use of
- NULL.
-
-2002-11-08 18:05 king
-
- * Source/cmSystemTools.cxx: ERR: Added missing include.
-
-2002-11-08 17:24 hoffman
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake: store the compiler in the cache
-
-2002-11-08 15:46 hoffman
-
- * CMakeLists.txt, Modules/CMakeBackwardCompatibilityCXX.cmake,
- Modules/CMakeCCompiler.cmake.in,
- Modules/CMakeCXXCompiler.cmake.in,
- Modules/CMakeDefaultMakeRuleVariables.cmake,
- Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakeDetermineSystem.cmake,
- Modules/CMakePrintSystemInformation.cmake,
- Modules/CMakeSystem.cmake.in,
- Modules/CMakeSystemSpecificInformation.cmake,
- Modules/CYGWIN.cmake, Modules/CheckIncludeFile.cxx.in,
- Modules/CheckIncludeFileCXX.cmake,
- Modules/TestForANSIForScope.cmake,
- Modules/TestForAnsiForScope.cxx,
- Modules/TestForSTDNamespace.cmake,
- Modules/TestForSTDNamespace.cxx, Modules/Windows.cmake,
- Modules/Platform/AIX.cmake, Modules/Platform/BSDOS.cmake,
- Modules/Platform/CYGWIN.cmake, Modules/Platform/Darwin.cmake,
- Modules/Platform/FreeBSD.cmake, Modules/Platform/HP-UX.cmake,
- Modules/Platform/IRIX.cmake, Modules/Platform/IRIX64.cmake,
- Modules/Platform/Linux.cmake, Modules/Platform/MP-RAS.cmake,
- Modules/Platform/NetBSD.cmake, Modules/Platform/OSF1.cmake,
- Modules/Platform/OpenBSD.cmake, Modules/Platform/RISCos.cmake,
- Modules/Platform/SCO_SV.cmake, Modules/Platform/SINIX.cmake,
- Modules/Platform/SunOS.cmake, Modules/Platform/True64.cmake,
- Modules/Platform/ULTRIX.cmake, Modules/Platform/UNIX_SV.cmake,
- Modules/Platform/UnixWare.cmake,
- Modules/Platform/Windows-bcc32.cmake,
- Modules/Platform/Windows-cl.cmake,
- Modules/Platform/Windows.cmake, Modules/Platform/Xenix.cmake,
- Modules/Platform/gcc.cmake, Source/CMakeLists.txt, Source/TODO,
- Source/cmExecProgramCommand.cxx,
- Source/cmGlobalBorlandMakefileGenerator.cxx,
- Source/cmGlobalGenerator.cxx, Source/cmGlobalGenerator.h,
- Source/cmGlobalNMakeMakefileGenerator.cxx,
- Source/cmGlobalNMakeMakefileGenerator.h,
- Source/cmGlobalUnixMakefileGenerator.cxx,
- Source/cmGlobalUnixMakefileGenerator.h, Source/cmIfCommand.cxx,
- Source/cmLoadCommandCommand.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.h, Source/cmMakefile.cxx,
- Source/cmStandardIncludes.h, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h, Source/cmTryCompileCommand.cxx,
- Source/cmWin32ProcessExecution.cxx,
- Source/cmWin32ProcessExecution.h, Source/ctest.cxx: Complete
- rework of makefile generators expect trouble
-
-2002-11-08 13:28 hoffman
-
- * Modules/: CMakeCCompiler.cmake.in, CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake,
- CMakeSystemSpecificInformation.cmake,
- Platform/Windows-bcc32.cmake, Platform/Windows-cl.cmake: [no log
- message]
-
-2002-11-08 11:31 hoffman
-
- * Source/ctest.cxx: fix ctest
-
-2002-11-08 11:30 hoffman
-
- * Modules/: AIX.cmake, BSDOS.cmake,
- CMakeSystemSpecificInformation.cmake, CYGWIN.cmake, Darwin.cmake,
- FreeBSD.cmake, HP-UX.cmake, IRIX.cmake, IRIX64.cmake,
- Linux.cmake, MP-RAS.cmake, NetBSD.cmake, OSF1.cmake,
- OpenBSD.cmake, RISCos.cmake, SCO_SV.cmake, SINIX.cmake,
- SunOS.cmake, True64.cmake, ULTRIX.cmake, UNIX_SV.cmake,
- UnixWare.cmake, Windows-bcc32.cmake, Windows-cl.cmake,
- Windows.cmake, Xenix.cmake, gcc.cmake, Platform/AIX.cmake,
- Platform/BSDOS.cmake, Platform/CYGWIN.cmake,
- Platform/Darwin.cmake, Platform/FreeBSD.cmake,
- Platform/HP-UX.cmake, Platform/IRIX.cmake, Platform/IRIX64.cmake,
- Platform/Linux.cmake, Platform/MP-RAS.cmake,
- Platform/NetBSD.cmake, Platform/OSF1.cmake,
- Platform/OpenBSD.cmake, Platform/RISCos.cmake,
- Platform/SCO_SV.cmake, Platform/SINIX.cmake,
- Platform/SunOS.cmake, Platform/True64.cmake,
- Platform/ULTRIX.cmake, Platform/UNIX_SV.cmake,
- Platform/UnixWare.cmake, Platform/Windows-bcc32.cmake,
- Platform/Windows-cl.cmake, Platform/Windows.cmake,
- Platform/Xenix.cmake, Platform/gcc.cmake: move to platform
- directory
-
-2002-11-08 11:09 hoffman
-
- * Modules/CMakeSystemSpecificInformation.cmake: hp fixes
-
-2002-11-08 10:40 hoffman
-
- * Modules/HP-UX.cmake: hp fixes
-
-2002-11-08 10:29 hoffman
-
- * Modules/HP-UX.cmake: hp fixes
-
-2002-11-08 10:22 hoffman
-
- * Modules/CMakeSystemSpecificInformation.cmake,
- Modules/HP-UX.cmake, Source/cmLocalUnixMakefileGenerator.cxx: hp
- fixes
-
-2002-11-08 08:47 hoffman
-
- * Modules/: CMakeBackwardCompatibilityCXX.cmake, HP-UX.cmake,
- TestForANSIForScope.cmake: ENH: fix for hp and remove some
- messages
-
-2002-11-07 17:45 hoffman
-
- * Modules/: CMakeBackwardCompatibilityCXX.cmake,
- TestForANSIForScope.cmake, TestForAnsiForScope.cxx,
- TestForSTDNamespace.cxx: [no log message]
-
-2002-11-07 17:26 hoffman
-
- * Modules/TestForANSIForScope.cmake: [no log message]
-
-2002-11-07 17:21 hoffman
-
- * Modules/: CMakeBackwardCompatibilityCXX.cmake, HP-UX.cmake,
- TestForAnsiForScope.cxx, TestForSTDNamespace.cmake,
- TestForSTDNamespace.cxx: [no log message]
-
-2002-11-07 11:43 hoffman
-
- * Modules/Windows-cl.cmake, Source/cmExecProgramCommand.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx: win32 apps and crash on
- sun
-
-2002-11-07 09:22 king
-
- * Source/cmStringCommand.cxx: ERR: Fixed signed/unsigned warnings.
-
-2002-11-07 09:15 andy
-
- * Source/CursesDialog/cmCursesMainForm.cxx: Revert
-
-2002-11-07 09:04 andy
-
- * Source/: cmake.cxx, cmake.h: Revert back
-
-2002-11-06 23:25 hoffman
-
- * Source/: cmGlobalNMakeMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.cxx: clean up echos
-
-2002-11-06 23:06 hoffman
-
- * Modules/CMakeDefaultMakeRuleVariables.cmake,
- Modules/Windows-bcc32.cmake,
- Source/cmGlobalBorlandMakefileGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.h: borland mostly working,
- tests are passing, no command to file stuff yet
-
-2002-11-06 18:40 king
-
- * Modules/FindITK.cmake: ENH: Enhanced FindITK supporting use of
- ITK from an install tree or a build tree. Only one cache entry
- is brought into user's project, called "ITK_DIR". This is the
- location of an ITKConfig.cmake file from which other settings are
- loaded.
-
-2002-11-06 18:05 king
-
- * Source/cmStringCommand.cxx, Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt: BUG: Fixed
- STRING(REGEX REPLACE ...) and added better test.
-
-2002-11-06 17:35 king
-
- * Source/cmCommands.cxx, Source/cmStringCommand.cxx,
- Source/cmStringCommand.h, Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt: ENH: Added STRING
- command.
-
-2002-11-06 17:04 hoffman
-
- * Modules/Windows-bcc32.cmake: borland config
-
-2002-11-06 16:59 king
-
- * Source/: cmRegularExpression.cxx, cmRegularExpression.h: ENH:
- compile method now returns whether compilation succeeded.
-
-2002-11-06 16:30 hoffman
-
- * Modules/Windows-cl.cmake,
- Source/cmGlobalBorlandMakefileGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.h: borland getting closer
-
-2002-11-06 16:05 andy
-
- * Templates/AppleInfo.plist: Use CMake icon on Mac
-
-2002-11-06 14:56 andy
-
- * CMakeIcon.icns: Add Mac icon
-
-2002-11-06 14:54 andy
-
- * CMakeIcon.icns: Add CMake icon
-
-2002-11-06 13:06 andy
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h, ctest.cxx: Move the
- hi-res time to system tools
-
-2002-11-06 12:04 andy
-
- * Source/: cmake.cxx, cmake.h, CursesDialog/cmCursesMainForm.cxx:
- In certain cases, try to guess the source directory, so that you
- can run cmake or ccmake without specifying source dir
-
-2002-11-06 11:36 andy
-
- * Source/: cmSystemTools.cxx, CursesDialog/cmCursesPathWidget.cxx:
- Remove warning
-
-2002-11-06 11:20 barre
-
- * Source/cmMakeDepend.cxx: FIX: a / was appended without checking
- if there wasn't one already.
-
-2002-11-06 08:52 andy
-
- * Tests/X11/X11.c: Try to fix test
-
-2002-11-05 23:07 hoffman
-
- * Source/: TODO, cmLocalUnixMakefileGenerator.cxx: remove warning
-
-2002-11-05 22:55 hoffman
-
- * Modules/: CMakeDetermineCCompiler.cmake, IRIX64.cmake: ranlib
- trouble
-
-2002-11-05 22:44 hoffman
-
- * Modules/: CMakeDetermineCCompiler.cmake, IRIX.cmake,
- IRIX64.cmake: fix for no ranlib
-
-2002-11-05 18:11 hoffman
-
- * CMakeLists.txt, Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeSystem.cmake.in, Modules/IRIX64.cmake: remove debug
- message statements
-
-2002-11-05 18:06 hoffman
-
- * Modules/: IRIX64.cmake: [no log message]
-
-2002-11-05 17:57 hoffman
-
- * Modules/IRIX64.cmake, Source/cmLocalUnixMakefileGenerator.cxx:
- [no log message]
-
-2002-11-05 17:55 hoffman
-
- * CMakeLists.txt: debug
-
-2002-11-05 17:49 hoffman
-
- * Modules/CMakeDefaultMakeRuleVariables.cmake: enh: add <FLAGS> to
- link libs
-
-2002-11-05 17:31 hoffman
-
- * Modules/: CYGWIN.cmake, IRIX.cmake, IRIX64.cmake, gcc.cmake: add
- flags
-
-2002-11-05 17:20 andy
-
- * Modules/FindX11.cmake: Make things advanced
-
-2002-11-05 17:05 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: add cxx flags to link
- exe
-
-2002-11-05 15:49 hoffman
-
- * Modules/: HP-UX.cmake, IRIX64.cmake, OSF1.cmake: add ansi flags
-
-2002-11-05 14:33 hoffman
-
- * Modules/: IRIX.cmake, IRIX64.cmake, SunOS.cmake: [no log message]
-
-2002-11-05 14:10 hoffman
-
- * Modules/: AIX.cmake, BSDOS.cmake, Darwin.cmake, FreeBSD.cmake,
- HP-UX.cmake, IRIX.cmake, MP-RAS.cmake, NetBSD.cmake, OSF1.cmake,
- OpenBSD.cmake, RISCos.cmake, SCO_SV.cmake, SINIX.cmake,
- SunOS.cmake, True64.cmake, ULTRIX.cmake, UNIX_SV.cmake,
- UnixWare.cmake, Xenix.cmake: ENH: add all the OS files
-
-2002-11-05 13:35 andy
-
- * Source/CursesDialog/ccmake.cxx: Cleanup
-
-2002-11-05 11:52 hoffman
-
- * Modules/Linux.cmake: add linux config file
-
-2002-11-05 11:31 hoffman
-
- * Modules/: CMakeSystemSpecificInformation.cmake, Windows.cmake:
- add check for sstream
-
-2002-11-05 11:02 hoffman
-
- * Modules/: CMakeBackwardCompatibilityCXX.cmake,
- CheckIncludeFile.cxx.in, CheckIncludeFileCXX.cmake: add check for
- sstream
-
-2002-11-05 10:45 hoffman
-
- * Source/: cmGlobalUnixMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.cxx: fix backwards compat enable and
- remove full path target
-
-2002-11-05 08:52 andy
-
- * Source/CursesDialog/: cmCursesFilePathWidget.cxx,
- cmCursesFilePathWidget.h, cmCursesPathWidget.cxx,
- cmCursesStringWidget.cxx: Reparent file path widget, add tab
- completion support to path anf file path widget
-
-2002-11-05 08:51 andy
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: Add a simple
- globbing of files and directories
-
-2002-11-05 07:15 andy
-
- * Modules/FindX11.cmake, Tests/X11/CMakeLists.txt: Try to fix
- FindX11
-
-2002-11-05 07:06 andy
-
- * Tests/X11/X11.c: Simplify
-
-2002-11-04 19:45 king
-
- * Source/cmITKWrapTclCommand.cxx: ENH: Added generation of
- --gccxml-compiler argument to GCC-XML for msvc6, msvc7, and nmake
- makefiles generators.
-
-2002-11-04 17:37 andy
-
- * Source/CursesDialog/: cmCursesPathWidget.cxx,
- cmCursesPathWidget.h, cmCursesStringWidget.cxx,
- cmCursesStringWidget.h: Start working on adding tab support
-
-2002-11-04 16:59 andy
-
- * Source/cmWin32ProcessExecution.cxx: Fix windows process execution
- so that it pops up the windows
-
-2002-11-04 16:26 hoffman
-
- * Modules/CMakeCCompiler.cmake.in,
- Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeSystemSpecificInformation.cmake,
- Modules/Windows-cl.cmake, Modules/Windows.cmake, Source/TODO,
- Source/cmGlobalNMakeMakefileGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.h, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h, Source/cmTryCompileCommand.cxx: nmake
- passing tests
-
-2002-11-04 15:01 andy
-
- * Source/cmWriteFileCommand.cxx: Make directory if it does not
- exist yet
-
-2002-11-04 14:50 andy
-
- * Templates/AppleInfo.plist: Attempt to automate apple gui
- generation
-
-2002-11-04 11:54 andy
-
- * Tests/X11/X11.c: Fix test
-
-2002-11-04 10:13 hoffman
-
- * Source/TODO: [no log message]
-
-2002-11-04 10:11 hoffman
-
- * CMakeLists.txt, Modules/CMakeCXXCompiler.cmake.in,
- Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakePrintSystemInformation.cmake,
- Modules/CMakeSystemSpecificInformation.cmake,
- Modules/Windows-cl.cmake, Modules/Windows.cmake,
- Source/CMakeLists.txt,
- Source/cmGlobalBorlandMakefileGenerator.cxx,
- Source/cmGlobalNMakeMakefileGenerator.cxx,
- Source/cmIfCommand.cxx, Source/cmLocalUnixMakefileGenerator.cxx:
- nmake almost working
-
-2002-11-03 18:18 andy
-
- * Tests/X11/X11.c: Try to make test to run
-
-2002-11-01 22:57 hoffman
-
- * Source/CMakeLists.txt: make qt stuff advanced
-
-2002-10-31 10:36 andy
-
- * Templates/CCMakeSystemConfig.cmake.in: Revert X11 stuff until
- other steps are done
-
-2002-10-29 15:58 andy
-
- * Tests/X11/X11.c: Print message on system without X11
-
-2002-10-29 15:54 andy
-
- * Tests/X11/: CMakeLists.txt, X11.c: Add Windows code
-
-2002-10-29 15:47 andy
-
- * Modules/FindX11.cmake: Now it should work
-
-2002-10-29 15:46 andy
-
- * Source/CMakeLists.txt, Tests/X11/CMakeLists.txt, Tests/X11/X11.c:
- Add test for X11
-
-2002-10-29 15:03 hoffman
-
- * Modules/CMakeCXXCompiler.cmake.in,
- Modules/CMakeDefaultMakeRuleVariables.cmake,
- Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeDetermineCXXCompiler.cmake,
- Modules/CMakeDetermineSystem.cmake,
- Modules/CMakePrintSystemInformation.cmake,
- Modules/CMakeSystem.cmake.in,
- Modules/CMakeSystemSpecificInformation.cmake,
- Modules/CYGWIN.cmake, Source/cmGlobalGenerator.cxx,
- Source/cmGlobalGenerator.h,
- Source/cmGlobalNMakeMakefileGenerator.h,
- Source/cmGlobalUnixMakefileGenerator.cxx,
- Source/cmGlobalUnixMakefileGenerator.h,
- Source/cmLoadCommandCommand.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.h, Source/cmMakefile.cxx,
- Source/cmSystemTools.cxx, Tests/Testing/CMakeLists.txt: branch
- checkin of working cygwin build for generator cleanup and removal
- of configure
-
-2002-10-29 13:34 andy
-
- * Templates/CCMakeSystemConfig.cmake.in: Remove X11 stuff
-
-2002-10-29 13:34 andy
-
- * Modules/: CheckFunctionExists.cmake, CheckIncludeFile.cmake,
- CheckLibraryExists.cmake, CheckSizeOf.cmake, TestBigEndian.cmake:
- Add append to write_file
-
-2002-10-29 13:32 andy
-
- * Source/: cmWriteFileCommand.cxx, cmWriteFileCommand.h: Add flag
- to WRITE_FILE to append
-
-2002-10-29 13:30 andy
-
- * Modules/CMakeBackwardCompatibilityC.cmake: Do this the right way
-
-2002-10-29 13:30 andy
-
- * Modules/FindX11.cmake: This should substitute configure part that
- finds X11
-
-2002-10-28 10:29 king
-
- * Source/cmITKWrapTclCommand.cxx: ENH: Added generation of
- --gccxml-cxxflags option to complement --gccxml-compiler.
-
-2002-10-25 16:47 hoffman
-
- * Modules/CMakeDetermineCCompiler.cmake,
- Modules/CMakeSystemSpecificInformation.cmake,
- Source/cmGlobalUnixMakefileGenerator.cxx,
- Source/cmLocalUnixMakefileGenerator.cxx: [no log message]
-
-2002-10-25 16:13 hoffman
-
- * Modules/CMakeCXXCompiler.cmake.in: [no log message]
-
-2002-10-25 15:46 king
-
- * Utilities/cmake_release_cygwin.sh: ENH: Updated for cmake 1.4.6
- package. Added automatic conversion of setup.hint to unix
- newlines.
-
-2002-10-25 14:34 hoffman
-
- * Modules/: CMakeCCompiler.cmake.in, CMakeDetermineCCompiler.cmake:
- [no log message]
-
-2002-10-25 14:25 hoffman
-
- * Source/: cmGlobalUnixMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h:
- test on unix
-
-2002-10-25 14:13 king
-
- * Utilities/: cmake_release_config_darwin,
- cmake_release_config_hpux, cmake_release_config_irix,
- cmake_release_config_linux, cmake_release_config_osf,
- cmake_release_config_sun, cmake_release_cygwin.sh: ENH: Updated
- for 1.4.6 release.
-
-2002-10-25 14:08 hoffman
-
- * Modules/: CMakeDefaultMakeRuleVariables.cmake,
- CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake,
- CMakeDetermineSystem.cmake, CMakeSystemSpecificInformation.cmake:
- [no log message]
-
-2002-10-24 15:39 hoffman
-
- * Source/cmake.cxx: BUG: fix stack limit size on mac OSX
-
-2002-10-24 13:39 andy
-
- * Modules/CMakeBackwardCompatibilityC.cmake: Add check for big
- endian in backward compatibility scripts
-
-2002-10-24 11:58 martink
-
- * Source/cmMakefile.h: updated patch level to 6
-
-2002-10-24 11:48 martink
-
- * Source/cmBorlandMakefileGenerator.cxx: fix support for Win32
- execs
-
-2002-10-24 10:58 andy
-
- * Source/cmSubdirCommand.cxx: Subdirs reports an error if the
- subdirectory does not exists
-
-2002-10-24 10:23 andy
-
- * Source/cmMakefile.cxx: Try to remove some warnings
-
-2002-10-23 18:03 king
-
- * Source/: cmAbstractFilesCommand.cxx, cmAbstractFilesCommand.h,
- cmAddCustomCommandCommand.cxx, cmAddCustomCommandCommand.h,
- cmAddCustomTargetCommand.cxx, cmAddCustomTargetCommand.h,
- cmAddDefinitionsCommand.cxx, cmAddDefinitionsCommand.h,
- cmAddDependenciesCommand.cxx, cmAddDependenciesCommand.h,
- cmAddExecutableCommand.cxx, cmAddExecutableCommand.h,
- cmAddLibraryCommand.cxx, cmAddLibraryCommand.h,
- cmAddTestCommand.cxx, cmAddTestCommand.h,
- cmAuxSourceDirectoryCommand.cxx, cmAuxSourceDirectoryCommand.h,
- cmBuildCommand.cxx, cmBuildCommand.h, cmBuildNameCommand.cxx,
- cmBuildNameCommand.h, cmCMakeMinimumRequired.cxx,
- cmCMakeMinimumRequired.h, cmCPluginAPI.cxx, cmCPluginAPI.h,
- cmCacheManager.cxx, cmCacheManager.h, cmCommand.h,
- cmCommands.cxx, cmCommands.h, cmConfigureFileCommand.cxx,
- cmConfigureFileCommand.h, cmCreateTestSourceList.cxx,
- cmCreateTestSourceList.h, cmCustomCommand.cxx, cmCustomCommand.h,
- cmData.h, cmDirectory.cxx, cmDirectory.h,
- cmDumpDocumentation.cxx, cmDynamicLoader.cxx, cmDynamicLoader.h,
- cmElseCommand.cxx, cmElseCommand.h, cmEnableTestingCommand.cxx,
- cmEnableTestingCommand.h, cmEndForEachCommand.cxx,
- cmEndForEachCommand.h, cmEndIfCommand.cxx, cmEndIfCommand.h,
- cmExecProgramCommand.cxx, cmExecProgramCommand.h,
- cmFLTKWrapUICommand.cxx, cmFLTKWrapUICommand.h,
- cmFindFileCommand.cxx, cmFindFileCommand.h,
- cmFindLibraryCommand.cxx, cmFindLibraryCommand.h,
- cmFindPathCommand.cxx, cmFindPathCommand.h,
- cmFindProgramCommand.cxx, cmFindProgramCommand.h,
- cmForEachCommand.cxx, cmForEachCommand.h, cmFunctionBlocker.h,
- cmGeneratedFileStream.h, cmGetFilenameComponentCommand.cxx,
- cmGetFilenameComponentCommand.h,
- cmGetSourceFilePropertyCommand.cxx,
- cmGetSourceFilePropertyCommand.h,
- cmGlobalBorlandMakefileGenerator.cxx,
- cmGlobalBorlandMakefileGenerator.h,
- cmGlobalCodeWarriorGenerator.cxx, cmGlobalCodeWarriorGenerator.h,
- cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalNMakeMakefileGenerator.cxx,
- cmGlobalNMakeMakefileGenerator.h,
- cmGlobalUnixMakefileGenerator.cxx,
- cmGlobalUnixMakefileGenerator.h,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h, cmITKWrapTclCommand.cxx,
- cmITKWrapTclCommand.h, cmIfCommand.cxx, cmIfCommand.h,
- cmIncludeCommand.cxx, cmIncludeCommand.h,
- cmIncludeDirectoryCommand.cxx, cmIncludeDirectoryCommand.h,
- cmIncludeExternalMSProjectCommand.cxx,
- cmIncludeExternalMSProjectCommand.h,
- cmIncludeRegularExpressionCommand.cxx,
- cmIncludeRegularExpressionCommand.h, cmInstallFilesCommand.cxx,
- cmInstallFilesCommand.h, cmInstallProgramsCommand.cxx,
- cmInstallProgramsCommand.h, cmInstallTargetsCommand.cxx,
- cmInstallTargetsCommand.h, cmLinkDirectoriesCommand.cxx,
- cmLinkDirectoriesCommand.h, cmLinkLibrariesCommand.cxx,
- cmLinkLibrariesCommand.h, cmListFileCache.cxx, cmListFileCache.h,
- cmLoadCacheCommand.cxx, cmLoadCacheCommand.h,
- cmLoadCommandCommand.cxx, cmLoadCommandCommand.h,
- cmLocalBorlandMakefileGenerator.cxx,
- cmLocalBorlandMakefileGenerator.h,
- cmLocalCodeWarriorGenerator.cxx, cmLocalCodeWarriorGenerator.h,
- cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmLocalNMakeMakefileGenerator.cxx,
- cmLocalNMakeMakefileGenerator.h,
- cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio6Generator.h,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h, cmMacroCommand.cxx,
- cmMacroCommand.h, cmMakeDepend.cxx, cmMakeDepend.h,
- cmMakeDirectoryCommand.cxx, cmMakeDirectoryCommand.h,
- cmMakefile.cxx, cmMakefile.h, cmMarkAsAdvancedCommand.cxx,
- cmMarkAsAdvancedCommand.h, cmMessageCommand.cxx,
- cmMessageCommand.h, cmOptionCommand.cxx, cmOptionCommand.h,
- cmOutputRequiredFilesCommand.cxx, cmOutputRequiredFilesCommand.h,
- cmProjectCommand.cxx, cmProjectCommand.h, cmQTWrapCPPCommand.cxx,
- cmQTWrapCPPCommand.h, cmQTWrapUICommand.cxx, cmQTWrapUICommand.h,
- cmRegularExpression.cxx, cmRegularExpression.h,
- cmRemoveCommand.cxx, cmRemoveCommand.h,
- cmSeparateArgumentsCommand.cxx, cmSeparateArgumentsCommand.h,
- cmSetCommand.cxx, cmSetCommand.h,
- cmSetSourceFilesPropertiesCommand.cxx,
- cmSetSourceFilesPropertiesCommand.h, cmSiteNameCommand.cxx,
- cmSiteNameCommand.h, cmSourceFile.cxx, cmSourceFile.h,
- cmSourceFilesCommand.cxx, cmSourceFilesCommand.h,
- cmSourceFilesRemoveCommand.cxx, cmSourceFilesRemoveCommand.h,
- cmSourceGroup.cxx, cmSourceGroup.h, cmSourceGroupCommand.cxx,
- cmSourceGroupCommand.h, cmStandardIncludes.h,
- cmSubdirCommand.cxx, cmSubdirCommand.h,
- cmSubdirDependsCommand.cxx, cmSubdirDependsCommand.h,
- cmSystemTools.cxx, cmSystemTools.h, cmTarget.cxx, cmTarget.h,
- cmTargetLinkLibrariesCommand.cxx, cmTargetLinkLibrariesCommand.h,
- cmTryCompileCommand.cxx, cmTryCompileCommand.h,
- cmTryRunCommand.cxx, cmTryRunCommand.h,
- cmUseMangledMesaCommand.cxx, cmUseMangledMesaCommand.h,
- cmUtilitySourceCommand.cxx, cmUtilitySourceCommand.h,
- cmVTKMakeInstantiatorCommand.cxx, cmVTKMakeInstantiatorCommand.h,
- cmVTKWrapJavaCommand.cxx, cmVTKWrapJavaCommand.h,
- cmVTKWrapPythonCommand.cxx, cmVTKWrapPythonCommand.h,
- cmVTKWrapTclCommand.cxx, cmVTKWrapTclCommand.h,
- cmVariableRequiresCommand.cxx, cmVariableRequiresCommand.h,
- cmWin32ProcessExecution.cxx, cmWin32ProcessExecution.h,
- cmWrapExcludeFilesCommand.cxx, cmWrapExcludeFilesCommand.h,
- cmWriteFileCommand.cxx, cmWriteFileCommand.h, cmake.cxx, cmake.h,
- cmakemain.cxx, cmaketest.cxx, cmakewizard.cxx, cmakewizard.h,
- cmw9xcom.cxx, ctest.cxx, ctest.h, CursesDialog/ccmake.cxx,
- CursesDialog/cmCursesBoolWidget.cxx,
- CursesDialog/cmCursesBoolWidget.h,
- CursesDialog/cmCursesCacheEntryComposite.cxx,
- CursesDialog/cmCursesCacheEntryComposite.h,
- CursesDialog/cmCursesDummyWidget.cxx,
- CursesDialog/cmCursesDummyWidget.h,
- CursesDialog/cmCursesFilePathWidget.cxx,
- CursesDialog/cmCursesFilePathWidget.h,
- CursesDialog/cmCursesForm.cxx, CursesDialog/cmCursesForm.h,
- CursesDialog/cmCursesLabelWidget.cxx,
- CursesDialog/cmCursesLabelWidget.h,
- CursesDialog/cmCursesLongMessageForm.cxx,
- CursesDialog/cmCursesLongMessageForm.h,
- CursesDialog/cmCursesMainForm.cxx,
- CursesDialog/cmCursesMainForm.h,
- CursesDialog/cmCursesPathWidget.cxx,
- CursesDialog/cmCursesPathWidget.h,
- CursesDialog/cmCursesStandardIncludes.h,
- CursesDialog/cmCursesStringWidget.cxx,
- CursesDialog/cmCursesStringWidget.h,
- CursesDialog/cmCursesWidget.cxx, CursesDialog/cmCursesWidget.h:
- ENH: Added reference to Copyright.txt. Removed old reference to
- ITK copyright. Changed program name to CMake instead of Insight
- in source file header. Also removed tabs.
-
-2002-10-23 16:57 hoffman
-
- * Source/: cmExecProgramCommand.cxx, cmExecProgramCommand.h: ENH:
- if output variable turn verbose off
-
-2002-10-23 16:53 hoffman
-
- * Modules/: CMakeCCompiler.cmake.in,
- CMakeDefaultMakeRuleVariables.cmake,
- CMakeDetermineCCompiler.cmake, CMakeDetermineCXXCompiler.cmake,
- CMakeDetermineSystem.cmake, CMakePrintSystemInformation.cmake,
- CMakeSystem.cmake.in, CMakeSystemSpecificInformation.cmake,
- CYGWIN.cmake: closer to removing autoconf
-
-2002-10-23 16:43 king
-
- * Source/CursesDialog/form/frm_driver.c: ERR: Another attempt to
- remove warnings from missing prototypes.
-
-2002-10-22 18:17 hoffman
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake, CMakeTestGNU.c, Windows.cmake:
- test for gnu compiler
-
-2002-10-22 15:04 hoffman
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeSystemSpecificInformation.cmake, CYGWIN.cmake: [no log
- message]
-
-2002-10-22 10:36 hoffman
-
- * Source/cmLocalBorlandMakefileGenerator.cxx: BUG: make sure win32
- exes are win32
-
-2002-10-22 10:34 hoffman
-
- * Modules/: CMakeDetermineCCompiler.cmake,
- CMakeDetermineCXXCompiler.cmake, CMakeDetermineSystem.cmake,
- CMakeSystemSpecificInformation.cmake: new cmake based
- configuration
-
-2002-10-18 15:51 andy
-
- * Source/ctest.cxx: When in verbose mode print test command
-
-2002-10-18 12:08 andy
-
- * Source/cmWin32ProcessExecution.h: Improve comment
-
-2002-10-17 10:50 andy
-
- * Source/: CursesDialog/cmCursesMainForm.cxx,
- cmCreateTestSourceList.cxx, cmDirectory.cxx,
- cmFindProgramCommand.cxx, cmGlobalUnixMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.cxx, cmSystemTools.cxx,
- cmUseMangledMesaCommand.cxx: Rename variables to remove warnings
-
-2002-10-16 13:30 martink
-
- * Source/cmVTKWrapTclCommand.cxx: update to handle tcl 84
-
-2002-10-16 11:48 martink
-
- * Source/CursesDialog/cmCursesLongMessageForm.cxx: fix compiler
- warnings
-
-2002-10-16 11:41 martink
-
- * Source/CursesDialog/form/fty_regex.c: fix compiler warnings
-
-2002-10-16 11:37 martink
-
- * Source/CursesDialog/form/: fty_alnum.c, fty_alpha.c, fty_int.c,
- fty_ipv4.c, fty_num.c: fix compiler warnings
-
-2002-10-16 11:32 martink
-
- * Source/CursesDialog/: cmCursesMainForm.cxx, ccmake.cxx: fixed a
- warning
-
-2002-10-16 11:24 martink
-
- * Source/CursesDialog/cmCursesLongMessageForm.cxx: fixed a warning
-
-2002-10-16 11:20 martink
-
- * Source/CursesDialog/: cmCursesForm.h, cmCursesLabelWidget.cxx:
- fixed a warning
-
-2002-10-16 11:16 martink
-
- * Source/CursesDialog/: cmCursesBoolWidget.cxx,
- cmCursesDummyWidget.cxx: fixed a warning
-
-2002-10-16 10:53 king
-
- * Source/CursesDialog/form/frm_driver.c: ENH: Another attempt to
- fix OSF warnings. Also removed TABS.
-
-2002-10-16 08:49 andy
-
- * Source/ctest.cxx: Remove unused variable
-
-2002-10-15 14:33 martink
-
- * Source/cmLoadCommandCommand.cxx: better warning message
-
-2002-10-15 11:45 martink
-
- * Source/cmLoadCommandCommand.cxx: better warning message
-
-2002-10-15 07:20 andy
-
- * Source/ctest.cxx: Remove std::hex as it does not seems to work on
- SGI, attempt to fix ftime problem on borland
-
-2002-10-14 18:33 andy
-
- * Source/ctest.cxx: Fix namespace, typo, and make ftime work on
- windows
-
-2002-10-14 15:11 andy
-
- * Source/: ctest.cxx, ctest.h: Even more cleanups, fix time on
- certain platforms such as windows, cygwin, and linux. Hopefully
- we can add entries for other platforms until try_compile works.
- Also escape certain characters for xml.
-
-2002-10-14 09:30 andy
-
- * Source/ctest.cxx: More cleanups, fix prexontext and log number
-
-2002-10-13 23:07 andy
-
- * Source/: ctest.cxx, ctest.h: Add LastBuild.log file, fix some
- minor problems in output, modify output a bit...
-
-2002-10-11 13:17 martink
-
- * Source/cmLocalCodeWarriorGenerator.cxx: compiler warning
-
-2002-10-11 11:22 iscott
-
- * Modules/Dart.cmake: Add option to control number of errors sent
- to dashbaord
-
-2002-10-11 10:16 king
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Added Split
- method to cmSystemTools to split a string into lines on its
- newlines.
-
-2002-10-11 10:14 king
-
- * Modules/FindCABLE.cmake: BUG: Should not load
- CMAKE_INSTALL_PREFIX from the cache.
-
-2002-10-11 08:36 king
-
- * Source/cmStandardIncludes.h: ERR: istrstream and istringstream
- need to be pulled into namespace std on the SGI.
-
-2002-10-10 11:08 andy
-
- * Source/cmWin32ProcessExecution.cxx: Fix network build
-
-2002-10-10 10:45 barre
-
- * Modules/FindJava.cmake, Templates/CCMakeSystemConfig.cmake.in,
- Templates/CMakeBorlandWindowsSystemConfig.cmake,
- Templates/CMakeDotNetSystemConfig.cmake,
- Templates/CMakeNMakeWindowsSystemConfig.cmake,
- Templates/CMakeWindowsSystemConfig.cmake,
- Templates/CXXCMakeSystemConfig.cmake.in: ENH: mark some vars as
- advanced (and resort the list)
-
-2002-10-10 10:43 king
-
- * Source/: cmCMakeMinimumRequired.cxx,
- cmLocalBorlandMakefileGenerator.cxx,
- cmLocalNMakeMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.cxx, cmStandardIncludes.h,
- cmSystemTools.cxx, cmVTKMakeInstantiatorCommand.cxx, cmake.cxx,
- ctest.cxx: ENH: Renamed cmStringStream to cmOStringStream and
- added cmIStringStream. Removed cmInputStringStream.
-
-2002-10-10 09:41 andy
-
- * Source/: cmGlobalCodeWarriorGenerator.cxx,
- cmLocalCodeWarriorGenerator.cxx, cmStandardIncludes.h: Remove
- compile error and remove some warnings
-
-2002-10-10 09:02 king
-
- * Utilities/cmake_release_config_osf: ENH: Updated for actual
- build.
-
-2002-10-10 08:25 martink
-
- * Source/: cmGlobalCodeWarriorGenerator.cxx,
- cmLocalCodeWarriorGenerator.cxx: fixed some compiler warnings
-
-2002-10-10 08:23 andy
-
- * Source/ctest.cxx: Remove warning
-
-2002-10-10 08:11 andy
-
- * Source/cmSetCommand.cxx: Remove warning
-
-2002-10-10 08:11 andy
-
- * Source/: cmStandardIncludes.h, ctest.cxx: Try to use platform
- independent input string stream
-
-2002-10-09 17:47 martink
-
- * Source/: cmDynamicLoader.cxx, cmaketest.cxx: Remove memory leak
- caused by cmDynamicLoader not being deleted properly
-
-2002-10-09 15:54 martink
-
- * Tests/: Complex/CMakeLists.txt, Complex/cmTestConfigure.h.in,
- Complex/Executable/complex.cxx, ComplexOneConfig/CMakeLists.txt,
- ComplexOneConfig/cmTestConfigure.h.in,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/cmTestConfigure.h.in,
- ComplexRelativePaths/Executable/complex.cxx: added test of SET
- CACHE FORCE
-
-2002-10-09 15:48 martink
-
- * Source/: cmSetCommand.cxx, cmSetCommand.h: added FORCE option
-
-2002-10-09 15:36 martink
-
- * Source/CursesDialog/ccmake.cxx: fix for OSF
-
-2002-10-09 15:24 barre
-
- * Source/cmGlobalGenerator.cxx: ENH: update the progress when
- generating is "done".
-
-2002-10-09 13:49 martink
-
- * Source/cmGlobalCodeWarriorGenerator.h: changed name
-
-2002-10-09 13:47 andy
-
- * Modules/FindwxWindows.cmake: Add some search paths
-
-2002-10-09 13:37 martink
-
- * Source/cmake.cxx: added Code Warrior dev
-
-2002-10-09 13:31 martink
-
- * Source/: Makefile.in, CMakeLists.txt: added build for Code
- Warrior
-
-2002-10-09 13:30 martink
-
- * Source/: cmGlobalCodeWarriorGenerator.cxx,
- cmLocalCodeWarriorGenerator.cxx, cmLocalCodeWarriorGenerator.h:
- some updates
-
-2002-10-08 22:54 andy
-
- * Source/: ctest.cxx, ctest.h: Reorganization, cleanup and some
- improvement in dart emulation
-
-2002-10-08 22:00 andy
-
- * Source/: ctest.cxx, ctest.h: Add parsing of warnings and errors
-
-2002-10-08 20:02 andy
-
- * Source/: ctest.cxx, ctest.h: Add configure option and fix
- potential bug in other targets. Now the run command is actually
- run with directory, so eventually we should be able to run this
- from a subdirectory
-
-2002-10-08 15:55 martink
-
- * Tests/: LoadCommand/CMakeCommands/cmTestCommand.c,
- LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: new plugin
- API
-
-2002-10-08 15:55 martink
-
- * Source/: cmCPluginAPI.cxx, cmCPluginAPI.h,
- cmLoadCommandCommand.cxx: some mods to the plugin API
-
-2002-10-08 10:53 hoffman
-
- * Source/cmExecProgramCommand.cxx: BUG: get all the output
- including the last character
-
-2002-10-07 16:23 martink
-
- * CMakeLists.txt: added header dep
-
-2002-10-07 09:20 andy
-
- * Tests/COnly/: foo.c, foo.h: Fix problem on HP
-
-2002-10-07 09:16 martink
-
- * Source/cmIfCommand.cxx: minor fix to allow if with no arguments
-
-2002-10-07 08:23 andy
-
- * Source/cmGlobalVisualStudio6Generator.cxx: Suppress output of
- trycompile
-
-2002-10-06 21:25 andy
-
- * Source/ctest.cxx: Fix update so that it actually updates the
- source directory,
-
-2002-10-06 21:24 andy
-
- * Source/cmSystemTools.cxx: Fix for run command on windows. If you
- specify command in quotes but not full path, it should still work
-
-2002-10-06 20:44 andy
-
- * Source/ctest.cxx: Add missing namespace
-
-2002-10-06 20:44 andy
-
- * Source/cmSystemTools.cxx: Revert back. Does not seems to work on
- Windows
-
-2002-10-06 20:36 andy
-
- * Source/: ctest.cxx, ctest.h: Add some minimal Dart capability to
- ctest. For example now you can actually use ctest to build
- projects, do cvs update on all platforms. This is especially cool
- for Visual Studio where you do not want to load the whole
- development environment just to build your project.
-
-2002-10-06 18:56 andy
-
- * Source/cmSystemTools.cxx: Check if directory was actually created
-
-2002-10-06 15:10 barre
-
- * Templates/CMakeNMakeWindowsSystemConfig.cmake: ENH: nmake now
- uses incremental linking as Msdev does. Faster build (linking a
- static vtk.exe or paraview.exe could take more than 10 minutes)
-
-2002-10-06 12:12 andy
-
- * Source/cmTarget.cxx, Tests/COnly/CMakeLists.txt,
- Tests/COnly/conly.c, Tests/COnly/foo.c, Tests/COnly/foo.h: If you
- specify header file as source, it should still use C compiler and
- not CXX. Also fix COnly test so that it make sure that this still
- works...
-
-2002-10-05 10:24 andy
-
- * Source/: cmSystemTools.cxx, cmWin32ProcessExecution.h: Fix
- borland build. Borland Run command should be static, since it is
- called with no object...
-
-2002-10-04 18:16 andy
-
- * Source/: cmMakefile.cxx, cmMakefile.h, cmRegularExpression.cxx,
- cmRegularExpression.h, cmSourceGroupCommand.cxx: Try to improve
- source group interface
-
-2002-10-04 14:01 andy
-
- * Source/cmCacheManager.cxx: Remove tabs
-
-2002-10-04 12:30 andy
-
- * Source/cmCacheManager.cxx: Fix reading of advanced values from
- CMakeCache
-
-2002-10-04 11:42 martink
-
- * Source/: cmLocalCodeWarriorGenerator.h,
- cmGlobalCodeWarriorGenerator.cxx,
- cmLocalCodeWarriorGenerator.cxx: updates
-
-2002-10-04 11:33 barre
-
- * DartConfig.cmake: ENH: my opinion is that it should be ADVANCED.
- Few people build the doc.
-
-2002-10-04 10:47 andy
-
- * Source/cmSystemTools.cxx: Add missing argument
-
-2002-10-04 10:38 andy
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h,
- cmWin32ProcessExecution.cxx, cmWin32ProcessExecution.h: Cleanup
- RunCOmmand code and move borland one to vtkWin32ProcessExecution,
- so that it is all in one place... Add timeout option whihc does
- not work yet, but it should not produce warning any more
-
-2002-10-04 08:59 martink
-
- * Source/cmLocalGenerator.cxx: always set PROJECT_SOURCE_DIR etc
-
-2002-10-03 16:40 martink
-
- * Source/: cmGlobalCodeWarriorGenerator.cxx,
- cmLocalCodeWarriorGenerator.cxx: some fixes
-
-2002-10-03 15:14 martink
-
- * Source/: cmGlobalCodeWarriorGenerator.cxx,
- cmGlobalCodeWarriorGenerator.h, cmLocalCodeWarriorGenerator.cxx,
- cmLocalCodeWarriorGenerator.h: under development
-
-2002-10-02 17:46 martink
-
- * Source/cmWin32ProcessExecution.cxx: Revert to fix win 9x
-
-2002-10-02 17:31 king
-
- * Source/: cmGlobalUnixMakefileGenerator.cxx, cmStandardIncludes.h:
- ENH: Added explicit declarations of some C functions that are
- hard to get from standard headers in como
- (www.comeaucomputing.com) strict mode.
-
-2002-10-02 17:23 king
-
- * Source/cmIncludeCommand.cxx: BUG: Must return false after an
- error of incorrect arguments.
-
-2002-10-02 17:22 king
-
- * Source/: cmIfCommand.cxx, cmIfCommand.h: BUG: STRLESS and
- STRGREATER need to treat non-existent definitions as strings.
-
-2002-10-02 17:16 andy
-
- * Source/cmWin32ProcessExecution.cxx: Cleanup and try to unify with
- the other code
-
-2002-10-02 17:14 andy
-
- * Source/cmSystemTools.cxx: Cleanup
-
-2002-10-02 16:42 ibanez
-
- * Modules/CMakeLists.txt: ENH: Adding install of .in and .c
- modules.
-
-2002-10-02 11:35 martink
-
- * Source/cmLocalBorlandMakefileGenerator.cxx: Remove unnecessary
- new line
-
-2002-10-02 11:15 martink
-
- * Source/cmSystemTools.cxx: Fix bug in borland run command
-
-2002-10-02 11:14 martink
-
- * Source/cmake.cxx: Produce only one output
-
-2002-10-01 18:37 king
-
- * Source/cmITKWrapTclCommand.cxx: ENH: Added support to pass the
- gccxml program location to cable if ITK_GCCXML_EXECUTABLE is set
- on m_Makefile.
-
-2002-10-01 15:56 andy
-
- * Modules/: TestBigEndian.c, TestBigEndian.cmake: Add test for big
- endian
-
-2002-10-01 13:04 martink
-
- * Source/cmWin32ProcessExecution.cxx: Fix grouping of arguments on
- Windows 98
-
-2002-10-01 13:04 martink
-
- * Source/cmLocalVisualStudio6Generator.cxx: Fix a bug in generator.
- This one is good: This bug is only present on Windows 98, but
- since RunCommand did not work, it never showed on the
- dashboard... In any case commands in Visual studio 6 should be in
- windows style slashes
-
-2002-10-01 13:00 martink
-
- * Source/cmw9xcom.cxx: Put quotes around arguments if they have
- spaces and no quotes
-
-2002-10-01 12:59 martink
-
- * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt: Remove bogus exec_program
-
-2002-10-01 10:12 ibanez
-
- * Modules/FindFLTK.cmake: ENH: removed "USE_FLTK_VERSION_1.1" in
- favor of "FLTK_VERSION_1.1" to avoid confusions.
-
-2002-10-01 07:28 andy
-
- * Source/: Makefile.in, cmakemain.cxx: Remove dependency to dynamic
- loader during bootstrap
-
-2002-09-30 22:26 ibanez
-
- * Modules/FindFLTK.cmake: ENH: Version 1.1 is considered to be the
- default.
-
-2002-09-30 21:34 king
-
- * Source/CursesDialog/cmCursesMainForm.cxx: ERR: Fixed bad sentence
- in error message.
-
-2002-09-30 16:46 andy
-
- * Source/cmake.cxx: Fix bug in chdir; Who did this anyway...
-
-2002-09-30 16:25 hoffman
-
- * Source/: Makefile.in, cmDynamicLoader.cxx, cmakemain.cxx: BUG:
- fix load command stuff for cygwin and cleanup at exit
-
-2002-09-30 15:05 martink
-
- * Source/cmWin32ProcessExecution.h: Add some more comments
-
-2002-09-30 15:00 martink
-
- * Source/cmWin32ProcessExecution.cxx: Cleanups and hopefully now it
- works on all windows platforms
-
-2002-09-30 14:01 martink
-
- * Source/cmake.cxx: Set comspec substitute the right way
-
-2002-09-30 14:00 martink
-
- * Source/ctest.cxx: Set comspec substitute
-
-2002-09-30 13:59 martink
-
- * Source/cmw9xcom.cxx: Add spaces
-
-2002-09-30 12:24 ibanez
-
- * Modules/FindLATEX.cmake: Configuratiion for finding LaTeX
- related executables.
-
-2002-09-30 11:41 andy
-
- * Source/: CMakeLists.txt, cmSystemTools.cxx, cmake.cxx,
- cmw9xcom.cxx: Another attempt on Windows 98
-
-2002-09-30 11:00 andy
-
- * Source/cmSystemTools.cxx: Attempt to unify the code
-
-2002-09-30 10:47 andy
-
- * Source/cmSystemTools.cxx: Fix bug in printing
-
-2002-09-30 07:55 andy
-
- * Source/cmWin32ProcessExecution.cxx: Remove warnings and fix
- potential bug
-
-2002-09-30 07:09 andy
-
- * Source/cmSystemTools.cxx,
- Templates/CMakeBorlandWindowsSystemConfig.cmake: Make borland
- pass all the tests on XP (and 2000?)
-
-2002-09-29 22:10 andy
-
- * Source/cmSystemTools.cxx: Remove debug
-
-2002-09-29 21:57 andy
-
- * Source/cmSystemTools.cxx: It is late and it at least seems to
- work better than before...
-
-2002-09-29 21:55 andy
-
- * Source/: cmWin32ProcessExecution.cxx, cmWin32ProcessExecution.h:
- Fix for it to compile on "all" windows platforms...
-
-2002-09-29 21:48 andy
-
- * Source/cmSystemTools.cxx: Simplify debugging by resetting error
- code
-
-2002-09-29 14:09 martink
-
- * Source/: cmWin32ProcessExecution.cxx, cmWin32ProcessExecution.h:
- possible fix for warnings
-
-2002-09-29 14:09 martink
-
- * Source/cmake.cxx: compiler warnings
-
-2002-09-27 17:28 andy
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h, cmake.cxx: Add two
- cmake commands -E echo for echoing strings and -E comspec for
- workaround of bug of windows 9x; add another implementation of
- run command on windows which should work...
-
-2002-09-27 17:26 andy
-
- * Source/: CMakeLists.txt, cmWin32ProcessExecution.cxx,
- cmWin32ProcessExecution.h: Add class for process execution on
- Windows
-
-2002-09-27 17:16 andy
-
- * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt: Use cmake echo
-
-2002-09-27 16:23 martink
-
- * Source/: cmCreateTestSourceList.cxx, cmInstallFilesCommand.cxx,
- cmInstallProgramsCommand.cxx, cmIncludeDirectoryCommand.cxx:
- removed some includes
-
-2002-09-27 16:19 martink
-
- * Source/: cmTarget.cxx, cmTarget.h, cmCommand.h,
- cmEnableTestingCommand.cxx, cmEndForEachCommand.cxx,
- cmForEachCommand.cxx, cmAddTestCommand.cxx,
- cmAuxSourceDirectoryCommand.cxx, cmElseCommand.cxx,
- cmEndIfCommand.cxx, cmIfCommand.cxx, cmAbstractFilesCommand.cxx,
- cmAddDependenciesCommand.cxx, cmAddLibraryCommand.cxx,
- cmInstallTargetsCommand.cxx, cmMacroCommand.cxx,
- cmMessageCommand.cxx, cmWriteFileCommand.cxx,
- cmAddExecutableCommand.cxx: removed some includes
-
-2002-09-27 16:19 hoffman
-
- * Source/: cmSetCommand.cxx, cmSetCommand.h: BUG: fix doc string
- and allow a variable to be promoted from non-cache to cache
-
-2002-09-27 16:18 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: remove unused stuff
-
-2002-09-27 15:52 martink
-
- * Source/cmMakefile.h: new patch
-
-2002-09-27 14:12 andy
-
- * Templates/: CCMakeSystemConfig.cmake.in, cconfigure,
- cconfigure.in: Cleanup configure scripts
-
-2002-09-26 15:13 martink
-
- * Source/: cmake.h, cmake.cxx, cmGlobalGenerator.cxx,
- cmGlobalGenerator.h: added progress
-
-2002-09-26 13:52 martink
-
- * Source/cmMakefile.cxx: minor memory fix
-
-2002-09-25 17:25 andy
-
- * Modules/: CheckFunctionExists.cmake, CheckIncludeFile.cmake,
- CheckLibraryExists.cmake: Set variable to either 1 or empty
- string instead of TRUE and FALSE
-
-2002-09-25 10:38 andy
-
- * Modules/CheckLibraryExists.cmake: Cleanup
-
-2002-09-25 10:08 andy
-
- * Tests/: LoadCommand/CMakeLists.txt,
- LoadCommand/LoadedCommand.h.in,
- LoadCommandOneConfig/CMakeLists.txt,
- LoadCommandOneConfig/LoadedCommand.h.in: Check for library
-
-2002-09-25 10:08 andy
-
- * Modules/: CheckFunctionExists.cmake, CheckLibraryExists.cmake,
- CheckSizeOf.cmake: Fix modules for recent changes
-
-2002-09-25 10:07 andy
-
- * Source/: cmGlobalUnixMakefileGenerator.cxx,
- cmTryCompileCommand.cxx: Several changes: COMPILE_DEFINITIONS is
- now depricated. If you want to specify some, use CMAKE_FLAGS
- -DCMAKE_DEFINITIONS:STRING=...; same goes for libraries, include
- path, ... It now detects wether the file is C or C++ and uses the
- apropriate project command, it also does the right thing when
- doing try_compile, so it does not execute configure for every
- single try_compile
-
-2002-09-25 09:31 andy
-
- * Source/cmLocalUnixMakefileGenerator.cxx: Use file format
- detection
-
-2002-09-25 09:30 andy
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: Add detection of
- file format from extension
-
-2002-09-25 07:46 andy
-
- * Source/cmGlobalGenerator.cxx: Attempt to make NMake quiet during
- TRY_COMPILE
-
-2002-09-24 18:34 andy
-
- * Source/: ctest.cxx, ctest.h: Add verbose flag -V, which makes the
- output of tests to be displayed; also add help to ctest
-
-2002-09-24 17:58 andy
-
- * Modules/CMakeBackwardCompatibilityC.cmake,
- Modules/CMakeBackwardCompatibilityCXX.cmake,
- Source/cmGlobalUnixMakefileGenerator.cxx: Improve backward
- compatibility, so that all backward compatibility stuff is in two
- modules; fix invoking of try_compile; add checking for header
- files and sizes of types
-
-2002-09-24 17:37 andy
-
- * Source/cmSystemTools.cxx: Add support for mac dylib
-
-2002-09-24 16:36 andy
-
- * Modules/: CheckLibraryExists.cmake, CheckLibraryExists.lists.in:
- Initial attempt to check if library exists
-
-2002-09-24 16:20 andy
-
- * Modules/CheckSizeOf.cmake: Improve check size of. Now it checks
- for some header files before trying to check types
-
-2002-09-24 14:49 king
-
- * Source/: cmEndIfCommand.cxx, cmIfCommand.cxx: [no log message]
-
-2002-09-24 14:22 king
-
- * Utilities/cmake_release_config_osf: ENH: Adding prototype release
- config script for OSF.
-
-2002-09-24 14:18 king
-
- * Utilities/cmake_release_config_cygwin: ERR: Removed old cygwin
- release config file. A separate script is now used.
-
-2002-09-24 13:24 martink
-
- * Source/cmake.cxx: fixed memory leak
-
-2002-09-24 13:17 martink
-
- * Source/cmTryRunCommand.cxx: always convert to output path
-
-2002-09-24 10:47 hoffman
-
- * Utilities/: cmake-cygwin-package.sh, cmake_release_cygwin.sh: use
- /usr/bin/find and uname for cygwin version
-
-2002-09-24 10:30 andy
-
- * Source/cmLoadCommandCommand.cxx: Cleanup
-
-2002-09-24 10:24 andy
-
- * Source/: cmDynamicLoader.cxx, cmDynamicLoader.h: Add accessor for
- Flushing cache
-
-2002-09-24 09:51 hoffman
-
- * Source/cmLocalUnixMakefileGenerator.cxx: one rule per line so
- borland make does not die
-
-2002-09-24 09:50 hoffman
-
- * Source/cmLocalBorlandMakefileGenerator.cxx: handle long commands
-
-2002-09-24 09:24 hoffman
-
- * Source/: cmDynamicLoader.cxx, cmGlobalGenerator.cxx: fix for
- cygwin and nmake that does not define WIN32
-
-2002-09-23 21:14 king
-
- * Utilities/: cmake-cygwin-package.sh, cmake-cygwin.README,
- cmake_release_cygwin.sh, setup.hint: ENH: Added cygwin packaging
- scripts. The setup.hint and cmake.README files required by
- Cygwin are generated automatically.
-
-2002-09-23 17:24 andy
-
- * Tests/: LoadCommand/CMakeCommands/CMakeLists.txt,
- LoadCommandOneConfig/CMakeCommands/CMakeLists.txt: Fix problem
-
-2002-09-23 17:20 king
-
- * Utilities/cmake_release_unix_package.sh: ENH: Added to generated
- README the typical install locaiton of /usr/local.
-
-2002-09-23 16:57 andy
-
- * Source/cmDynamicLoader.cxx: Fix cache for non void* types
-
-2002-09-23 16:24 andy
-
- * Source/cmDynamicLoader.cxx: Keep track of libraries so that you
- can load them as many times as you want...
-
-2002-09-23 15:57 andy
-
- * Source/cmaketest.cxx: Cleanup
-
-2002-09-23 15:56 andy
-
- * Tests/: LoadCommand/CMakeCommands/CMakeLists.txt,
- LoadCommand/CMakeCommands/cmTestCommand.c,
- LoadCommandOneConfig/CMakeCommands/CMakeLists.txt,
- LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: Some minor
- fixes for mac
-
-2002-09-23 15:54 andy
-
- * Source/cmLocalUnixMakefileGenerator.cxx: Fix generation of C only
- modules
-
-2002-09-23 15:53 andy
-
- * Source/cmDynamicLoader.cxx: Fix extension and suffix for modules
- on mac
-
-2002-09-23 14:57 martink
-
- * Tests/: LoadCommand/CMakeCommands/cmTestCommand.c,
- LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: cleanup
-
-2002-09-23 14:57 martink
-
- * Source/: cmCPluginAPI.h, cmLoadCommandCommand.cxx: cleaned up API
-
-2002-09-23 14:11 andy
-
- * Tests/: LoadCommand/CMakeCommands/CMakeLists.txt,
- LoadCommandOneConfig/CMakeCommands/CMakeLists.txt: Fix test so
- that it will work on HP
-
-2002-09-23 14:04 andy
-
- * Source/cmTryCompileCommand.cxx: Fix HP build
-
-2002-09-23 13:32 andy
-
- * Source/: cmSystemTools.cxx, cmTryCompileCommand.cxx: Try to
- remove some warnings
-
-2002-09-23 13:11 andy
-
- * Source/cmLoadCommandCommand.cxx: Fix loading of module for
- borland
-
-2002-09-23 12:23 andy
-
- * Source/cmGlobalGenerator.cxx: Try to fix borland and nmake try
- compile
-
-2002-09-23 11:06 andy
-
- * Source/: cmTryCompileCommand.cxx, cmTryCompileCommand.h,
- cmTryRunCommand.cxx: Abstract cleaning of files and add code that
- deletes files from Debug subdirectory
-
-2002-09-23 11:05 andy
-
- * Source/cmGlobalVisualStudio6Generator.cxx: Remove debug stuff
-
-2002-09-23 10:01 andy
-
- * Modules/FindwxWindows.cmake: Fix comments
-
-2002-09-23 09:58 andy
-
- * Source/cmLocalVisualStudio7Generator.cxx: Try to fix quoted
- definitions
-
-2002-09-23 09:41 martink
-
- * Source/cmIfCommand.cxx: hopefull another fix to if statements
-
-2002-09-23 09:07 andy
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio6Generator.h: Attempt to fix Visual studio 6
- comiling
-
-2002-09-23 08:51 king
-
- * Utilities/cmake_release_unix_package.sh: BUG: Creating source
- tarball should not affect current directory.
-
-2002-09-23 08:44 king
-
- * Utilities/: cmake_release_config_darwin,
- cmake_release_config_hpux, cmake_release_config_irix,
- cmake_release_config_linux, cmake_release_config_sun: ENH:
- Incremented version to 1.4.5.
-
-2002-09-22 10:08 martink
-
- * Source/cmLocalVisualStudio7Generator.cxx: defines cannot have
- quotes in them
-
-2002-09-22 09:53 martink
-
- * Source/: cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h: some try compile fixes
-
-2002-09-22 07:52 martink
-
- * Source/: cmWriteFileCommand.cxx,
- CursesDialog/cmCursesMainForm.cxx: compiler warning
-
-2002-09-21 07:29 andy
-
- * Source/cmWriteFileCommand.cxx: Fix namespace problem
-
-2002-09-20 15:01 andy
-
- * Modules/: CheckFunctionExists.cmake, CheckIncludeFile.cmake,
- CheckSizeOf.cmake: Fix tests for new trycompile and tryrun
-
-2002-09-20 15:01 andy
-
- * Source/: cmMakefile.cxx, cmMakefile.h, cmTryCompileCommand.cxx,
- cmTryRunCommand.cxx: Add GetLocal on cmMakefile and on local
- builds do not perform tests
-
-2002-09-20 14:17 andy
-
- * Tests/: LoadCommand/CMakeLists.txt,
- LoadCommand/LoadedCommand.h.in,
- LoadCommandOneConfig/CMakeLists.txt,
- LoadCommandOneConfig/LoadedCommand.h.in: Include more testing
-
-2002-09-20 14:16 andy
-
- * Modules/: CheckIncludeFile.c.in, CheckIncludeFile.cmake: Simplify
- checking for headers
-
-2002-09-20 13:40 andy
-
- * Modules/: CheckIncludeFile.c.in, CheckIncludeFile.cmake: Add
- macro which checks if the header file exists
-
-2002-09-20 13:40 andy
-
- * Modules/CheckFunctionExists.cmake: Fix comment
-
-2002-09-20 13:17 andy
-
- * Tests/: LoadCommand/CMakeLists.txt,
- LoadCommand/LoadedCommand.cxx,
- LoadCommandOneConfig/CMakeLists.txt,
- LoadCommandOneConfig/LoadedCommand.cxx,
- LoadCommand/LoadedCommand.h.in,
- LoadCommandOneConfig/LoadedCommand.h.in: Fix test so that it does
- some modules testing by checking for some functions and some size
- of types
-
-2002-09-20 13:16 andy
-
- * Modules/: CheckFunctionExists.c, CheckFunctionExists.cmake,
- CheckSizeOf.c, CheckSizeOf.cmake: Add two commonly used modules.
- First one checks if the function exists, the second one checks
- the size of type
-
-2002-09-20 13:15 andy
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmMakefile.cxx, cmMakefile.h, cmTryCompileCommand.cxx: Add option
- of TRY_COMPILE to store the output of compilation so that if the
- output fails you can display it or store it in the file
-
-2002-09-20 13:14 andy
-
- * Source/: cmCommands.cxx, cmWriteFileCommand.cxx,
- cmWriteFileCommand.h: Add WRITE_FILE command, which writes string
- to a file
-
-2002-09-20 10:06 martink
-
- * Tests/: LoadCommand/CMakeCommands/cmTestCommand.c,
- LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: removed c++
- style comments
-
-2002-09-20 08:07 martink
-
- * Source/: cmTryRunCommand.h, cmTryRunCommand.cxx: compiler
- warnings
-
-2002-09-19 16:12 hoffman
-
- * Source/cmBorlandMakefileGenerator.cxx: ENH: allow for long
- command lines
-
-2002-09-19 16:09 andy
-
- * Source/cmMakefile.cxx: Remove unnecessary disabling of output
-
-2002-09-19 16:07 andy
-
- * Source/cmTryRunCommand.cxx: Fix tryrun to work on Linux
-
-2002-09-19 15:01 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: use single line depend
- rules for borland compiler
-
-2002-09-19 14:59 hoffman
-
- * Source/cmMSDotNETGenerator.cxx: ENH: add include to rc, and
- newline to custom commnad
-
-2002-09-19 14:59 hoffman
-
- * Source/: cmBorlandMakefileGenerator.cxx,
- cmNMakeMakefileGenerator.cxx: ENH: add include to rc
-
-2002-09-19 14:58 hoffman
-
- * Source/CMakeLists.txt: ENH: fix bad endif
-
-2002-09-19 14:58 hoffman
-
- * Templates/: DLLHeader.dsptemplate, EXEHeader.dsptemplate,
- staticLibHeader.dsptemplate: ENH: add include paths to rc
-
-2002-09-19 14:40 andy
-
- * Source/cmSystemTools.cxx: Supress standard error when running
- command
-
-2002-09-19 14:36 andy
-
- * Source/cmTryCompileCommand.cxx: Fix try compile with second
- signature, remove cmake lists from cache so that multiple tests
- work
-
-2002-09-19 14:35 andy
-
- * Source/cmSystemTools.h: Add a way to check if run command output
- is disabled
-
-2002-09-19 14:35 andy
-
- * Source/cmMakefile.cxx: When doing try compile disable output
-
-2002-09-19 14:34 andy
-
- * Source/: cmListFileCache.cxx, cmListFileCache.h: Add a way to
- remove files from cache
-
-2002-09-19 11:06 andy
-
- * Source/cmTryRunCommand.cxx: Fix compile problem
-
-2002-09-19 11:01 martink
-
- * Source/cmTryRunCommand.cxx: minor cleanup
-
-2002-09-19 10:25 andy
-
- * Modules/FindwxWindows.cmake: Fix find wxWindows
-
-2002-09-19 09:49 martink
-
- * Source/: cmCommands.cxx, cmTryCompileCommand.cxx,
- cmTryCompileCommand.h: updated to try compile
-
-2002-09-19 09:48 martink
-
- * Source/: cmTryRunCommand.cxx, cmTryRunCommand.h: new command
-
-2002-09-19 09:47 andy
-
- * Source/CMakeLists.txt: Add option for building wxWindows GUI for
- CMake
-
-2002-09-19 09:42 andy
-
- * Modules/FindwxWindows.cmake: Improve searching for wxWindows
-
-2002-09-18 14:18 andy
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h,
- CursesDialog/ccmake.cxx: Improve message handler to include
- client data.
-
-2002-09-18 11:38 martink
-
- * Tests/: LoadCommand/CMakeLists.txt,
- LoadCommand/CMakeCommands/CMakeLists.txt,
- LoadCommand/CMakeCommands/cmTestCommand.c,
- LoadCommandOneConfig/CMakeLists.txt,
- LoadCommandOneConfig/CMakeCommands/CMakeLists.txt,
- LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: test passing
- CMAKE_FLAGS
-
-2002-09-18 11:37 martink
-
- * Source/: cmMakefile.cxx, cmMakefile.h, cmTryCompileCommand.cxx,
- cmTryCompileCommand.h: now Try compile can include CMAKE_FLAGS
-
-2002-09-18 11:36 martink
-
- * Source/cmLoadCommandCommand.cxx: better error reporting
-
-2002-09-18 10:40 king
-
- * Source/cmSetCommand.cxx: ENH: If SET(VAR) is called with no other
- arguments, remove the definition of VAR.
-
-2002-09-18 10:39 king
-
- * Source/: cmMakefile.cxx, cmMakefile.h: ENH: Added
- RemoveDefinition method.
-
-2002-09-18 09:53 barre
-
- * Source/cmVTKWrapTclCommand.cxx: FIX: better support for the
- Tcl/Tk 8.4 pre-release
-
-2002-09-18 08:15 andy
-
- * Modules/FindGTK.cmake: GL should not be a completely necessary
- thing for finding GTK. This will find gtk and GL but also just
- GTK
-
-2002-09-18 08:13 andy
-
- * Source/cmakewizard.cxx: Remove unnecessary variable
-
-2002-09-18 08:07 martink
-
- * Tests/: LoadCommand/CMakeLists.txt,
- LoadCommandOneConfig/CMakeLists.txt: removed target
-
-2002-09-17 15:41 king
-
- * Modules/CMakeLists.txt: ENH: Adding installation of TRY_COMPILE
- tests.
-
-2002-09-17 15:41 king
-
- * Source/cmTryCompileCommand.cxx: BUG: Generated CMakeLists.txt
- file needs to take CMAKE_ANSI_CXXFLAGS into account.
-
-2002-09-17 14:40 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: ERR: Fixed typo:
- INSTALL_PROGRAMS -> INSTALL_PROGRAM.
-
-2002-09-17 14:20 martink
-
- * Source/CursesDialog/cmCursesMainForm.cxx: some cmake api changees
-
-2002-09-17 14:19 andy
-
- * Source/cmakewizard.cxx: Strip the string that user answers
-
-2002-09-17 14:18 barre
-
- * Source/cmVTKWrapTclCommand.cxx: ENH: add support for Tcl/Tk 8.4.0
-
-2002-09-17 14:12 martink
-
- * Source/cmake.h: updated comments
-
-2002-09-17 14:09 king
-
- * Source/cmLocalUnixMakefileGenerator.cxx: BUG: INSTALL_DATA should
- be INSTALL_PROGRAMS for program install targets.
-
-2002-09-17 14:04 martink
-
- * Source/CursesDialog/cmCursesMainForm.cxx: some cmake api changees
-
-2002-09-17 13:59 martink
-
- * Source/: cmMakefile.cxx, cmake.cxx, cmake.h, cmakewizard.cxx:
- cleaned up some of the cmake interface
-
-2002-09-17 13:59 martink
-
- * Source/CMakeLists.txt: new test
-
-2002-09-17 13:48 andy
-
- * Source/cmakewizard.cxx: Replace getline with fgets since getline
- does not seems to work properly on Mac OSX
-
-2002-09-17 11:48 andy
-
- * Source/: cmCacheManager.cxx, cmCacheManager.h,
- cmMarkAsAdvancedCommand.cxx: Fix problems with advanced not being
- marked.
-
-2002-09-17 10:56 king
-
- * Source/: cmInstallFilesCommand.cxx, cmInstallFilesCommand.h,
- cmInstallProgramsCommand.cxx, cmInstallProgramsCommand.h,
- cmLocalUnixMakefileGenerator.cxx: ENH: Improved implementation of
- INSTALL_FILES and INSTALL_PROGRAMS commands. Source paths can
- now be relative or full paths, and don't need to be in the same
- directory as the CMakeLists.txt file.
-
-2002-09-17 10:38 martink
-
- * Tests/: LoadCommand/CMakeCommands/cmTestCommand.c,
- LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: added
- Destructor
-
-2002-09-17 10:38 martink
-
- * Source/: cmCPluginAPI.h, cmLoadCommandCommand.cxx: added
- destructor to loaded commands
-
-2002-09-17 09:17 martink
-
- * Modules/TestForANSIStreamHeaders.cmake: slight change in
- signature for TryCompile
-
-2002-09-17 09:16 martink
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmTryCompileCommand.cxx, cmTryCompileCommand.h: slight change in
- signature
-
-2002-09-17 09:16 martink
-
- * Tests/: LoadCommand/CMakeLists.txt,
- LoadCommandOneConfig/CMakeLists.txt: some cleanup
-
-2002-09-17 08:29 martink
-
- * Tests/: LoadCommand/CMakeLists.txt,
- LoadCommandOneConfig/CMakeLists.txt: minor fix in error message
-
-2002-09-16 16:27 martink
-
- * Tests/: LoadCommand/CMakeLists.txt,
- LoadCommand/LoadedCommand.cxx,
- LoadCommand/CMakeCommands/CMakeLists.txt,
- LoadCommand/CMakeCommands/cmTestCommand.c,
- LoadCommandOneConfig/CMakeLists.txt,
- LoadCommandOneConfig/LoadedCommand.cxx,
- LoadCommandOneConfig/CMakeCommands/CMakeLists.txt,
- LoadCommandOneConfig/CMakeCommands/cmTestCommand.c: load command
- test
-
-2002-09-15 09:54 martink
-
- * Source/: cmAddCustomCommandCommand.cxx,
- cmAddDependenciesCommand.cxx, cmCacheManager.cxx,
- cmExecProgramCommand.cxx, cmFLTKWrapUICommand.cxx,
- cmListFileCache.cxx, cmaketest.cxx, ctest.cxx: remove unused
- variables
-
-2002-09-15 09:42 martink
-
- * Source/: cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx: updated to use
- ConfigureFinalPass
-
-2002-09-15 08:53 martink
-
- * Source/: cmLocalGenerator.cxx, cmLocalGenerator.h,
- cmGlobalGenerator.cxx: changed handling of FinalPass
-
-2002-09-15 08:53 martink
-
- * Source/cmLocalUnixMakefileGenerator.cxx: changed when final pass
- is done
-
-2002-09-15 08:52 martink
-
- * Source/: cmMakefile.h, cmMakefile.cxx: renamed GenerateMakefile
- to ConfigureFinalPass
-
-2002-09-14 10:59 martink
-
- * Source/CursesDialog/cmCursesMainForm.cxx: removed extra Generate
- that was screwing things up
-
-2002-09-14 08:47 martink
-
- * Source/cmGlobalGenerator.cxx: fixed warning
-
-2002-09-13 19:23 martink
-
- * Source/cmGlobalGenerator.cxx: made less verbose
-
-2002-09-13 19:23 martink
-
- * Modules/TestForANSIStreamHeaders.cmake: removed messages
-
-2002-09-13 16:38 king
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Added
- FileIsFullPath test method.
-
-2002-09-13 13:48 martink
-
- * Source/: cmGlobalGenerator.cxx, cmMakefile.cxx, cmake.h: some
- fixes for try compile
-
-2002-09-13 11:09 martink
-
- * Templates/: CXXCMakeSystemConfig.cmake.in, cxxconfigure,
- cxxconfigure.in: now uses TryCompile
-
-2002-09-13 11:05 martink
-
- * Source/cmGlobalNMakeMakefileGenerator.h: minor fix
- inEnableLanguages
-
-2002-09-13 11:01 martink
-
- * Source/: cmTryCompileCommand.cxx: fix to the cleanup code
-
-2002-09-13 10:42 martink
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalNMakeMakefileGenerator.h,
- cmGlobalUnixMakefileGenerator.cxx,
- cmGlobalUnixMakefileGenerator.h,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx, cmMakefile.cxx,
- cmTryCompileCommand.cxx: better trycompile and enable langiages
-
-2002-09-13 10:41 martink
-
- * Source/cmake.cxx: better try compile
-
-2002-09-13 10:40 martink
-
- * Modules/TestForANSIStreamHeaders.cmake: removed messages
-
-2002-09-13 09:51 andy
-
- * configure, configure.in: Improve bootstrapping on Unix, so that
- it bootstraps in the subdirectory. This prevents from compiler
- files being reused and you can do make clean...
-
-2002-09-13 09:49 iscott
-
- * Modules/FindQt.cmake: Make QT variables advanced
-
-2002-09-13 08:15 martink
-
- * Source/: cmEndIfCommand.cxx, cmLocalUnixMakefileGenerator.cxx:
- compiler warning
-
-2002-09-13 05:39 iscott
-
- * Modules/FindQt.cmake: Need to use $ENV{} to access environment
- variables
-
-2002-09-12 16:36 martink
-
- * Modules/TestForANSIStreamHeaders.cmake: some cleanup
-
-2002-09-12 14:37 martink
-
- * Source/cmake.cxx: uninitialized var
-
-2002-09-12 13:55 andy
-
- * Source/cmaketest.cxx: Remove unnecessary include
-
-2002-09-12 13:42 andy
-
- * Source/cmakemain.cxx: Remove unnecessary include
-
-2002-09-12 13:19 bettingf
-
- * Tests/Wrapping/CMakeLists.txt, Source/CMakeLists.txt: added
- include of FindQT.cmake
-
-2002-09-12 11:47 martink
-
- * Source/: cmMakefileGenerator.cxx, cmMakefileGenerator.h,
- CMakeLists.txt: new arch
-
-2002-09-12 11:44 martink
-
- * Source/: cmMSDotNETGenerator.cxx, cmMSDotNETGenerator.h,
- cmMSProjectGenerator.cxx, cmMSProjectGenerator.h,
- cmDSWWriter.cxx, cmDSWWriter.h, cmDSPWriter.cxx, cmDSPWriter.h,
- cmNMakeMakefileGenerator.cxx, cmNMakeMakefileGenerator.h,
- cmBorlandMakefileGenerator.cxx, cmBorlandMakefileGenerator.h,
- cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: new arch
-
-2002-09-12 11:38 bettingf
-
- * Source/CMakeLists.txt: added test for QTWrapUI called qtwrapping
-
-2002-09-12 11:37 bettingf
-
- * Tests/Wrapping/: qtwrappingmain.cxx, CMakeLists.txt: corrected
- test for QTWrapUI
-
-2002-09-12 11:14 martink
-
- * Modules/: TestForANSIStreamHeaders.cmake,
- TestForANSIStreamHeaders.cxx: new try compile module
-
-2002-09-12 11:13 andy
-
- * Source/cmCacheManager.cxx: Oops, too fast commit; add missing ;
-
-2002-09-12 11:12 andy
-
- * Source/cmCacheManager.cxx: Add more error checking
-
-2002-09-12 11:08 martink
-
- * Source/: cmTryCompileCommand.cxx, cmTryCompileCommand.h: another
- signature for Try_Compile
-
-2002-09-12 11:08 martink
-
- * Source/: cmMakefile.cxx, cmake.cxx, cmake.h: added a flag if a
- cmake is in try compile
-
-2002-09-12 09:56 andy
-
- * Source/cmMarkAsAdvancedCommand.cxx: Fix mark as advanced. Now it
- should work properly
-
-2002-09-12 09:00 andy
-
- * Source/: cmakewizard.cxx, cmakewizard.h: Simplify code. Since we
- access cache entry through the iterator, we do not need the cache
- manager any more
-
-2002-09-12 08:56 andy
-
- * Source/cmCacheManager.h: Fix build problem on Sun
-
-2002-09-11 16:44 bettingf
-
- * Source/cmQTWrapUICommand.cxx: corrected the generated lists .h in
- header list and .cxx in sources list
-
-2002-09-11 16:43 bettingf
-
- * Source/cmLocalUnixMakefileGenerator.cxx: added generation of the
- GENERATED_QT_FILES list for make clean
-
-2002-09-11 16:41 bettingf
-
- * Tests/Wrapping/CMakeLists.txt: added test for QTWrapUI
-
-2002-09-11 16:40 bettingf
-
- * Tests/Wrapping/: qtwrappingmain.cxx, qtwrapping.ui: test for
- QTWarpUI
-
-2002-09-11 16:12 king
-
- * Source/cmCacheManager.cxx: BUG: GetCacheValue must check if value
- is UNINITIALIZED. If so, pretend it doesn't exist.
-
-2002-09-11 15:13 andy
-
- * Source/CursesDialog/cmCursesMainForm.cxx: Fix bug in ccmake which
- made it crash when all cache values were deleted
-
-2002-09-11 15:04 andy
-
- * Source/CursesDialog/cmCursesMainForm.cxx: Fix problem with ccmake
- crashing on empty caches
-
-2002-09-11 14:38 andy
-
- * Source/cmCacheManager.cxx: Fix find and remove check for
- uninitialized entries
-
-2002-09-11 14:08 andy
-
- * Source/cmCacheManager.cxx: Function strcasecmp is not portable
-
-2002-09-11 14:05 andy
-
- * Source/: cmCacheManager.cxx, cmCacheManager.h,
- cmFindPathCommand.cxx, cmFindProgramCommand.cxx, cmMakefile.cxx,
- cmMarkAsAdvancedCommand.cxx, cmVariableRequiresCommand.cxx,
- cmakewizard.cxx, cmakewizard.h,
- CursesDialog/cmCursesCacheEntryComposite.cxx,
- CursesDialog/cmCursesCacheEntryComposite.h,
- CursesDialog/cmCursesMainForm.cxx: Couple of changes: cache
- variables now have a map of properties. ADVANCED and HELPSTRING
- are now properties of cache variable, IsAdvanced is gone, so is
- GetCacheEntry, since cache entries are now all private. To access
- them, you use the iterator. -ADVANCED cache entries are gone and
- are replaced by the property of cache variables. The cache file
- still looks the same, but the -ADVANCED cache entries are created
- when writing file. MarkAsAdvanced and VariableRequires are fixed.
- So are curses gui and wizard
-
-2002-09-11 13:27 andy
-
- * Templates/CCMakeSystemConfig.cmake.in: Remove Mark_AS_ADVANCED
- for some variables that do not exist
-
-2002-09-11 12:52 martink
-
- * Source/cmMakefile.cxx: minor fix in try compile code
-
-2002-09-11 09:54 king
-
- * Source/: CMakeLists.txt, cmDynamicLoader.cxx, cmDynamicLoader.h,
- cmDynamicLoaderC.c: ENH: Pointer-to-function to pointer-to-data
- casts are not even allowed in strict C. Re-implemented this
- conversion in pure C++ using a casting trick with an extra level
- of indirection.
-
-2002-09-11 08:52 king
-
- * Source/cmDynamicLoaderC.c: ERR: Removed C++-style comments, used
- C-style instead.
-
-2002-09-10 17:24 king
-
- * Source/cmake.cxx: ERR: Added missing include of stdio.h for
- sprintf.
-
-2002-09-10 16:52 martink
-
- * Source/: cmTryCompileCommand.cxx, cmTryCompileCommand.h: updated
- signature
-
-2002-09-10 16:52 martink
-
- * Source/: cmMakefile.cxx, cmMakefile.h: updated makefile moved
- commands into cmake and fixed try compile
-
-2002-09-10 16:51 martink
-
- * Source/cmDumpDocumentation.cxx: moved dump docs into cmake
-
-2002-09-10 16:51 martink
-
- * Source/: cmake.h, cmake.cxx: moved commands into cmake
-
-2002-09-10 16:49 martink
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio6Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h: modified TryCompile
-
-2002-09-10 15:46 king
-
- * Source/: CMakeLists.txt, cmDynamicLoader.cxx, cmDynamicLoader.h,
- cmDynamicLoaderC.c: ERR: Cast from pointer-to-data to
- pointer-to-function is not allowed in C++. The cast needed by
- cmDynamicLoader::GetSymbolAddress is now hidden in a C file.
-
-2002-09-10 15:40 king
-
- * Source/cmGlobalUnixMakefileGenerator.cxx: ERR: Fixes for comeau
- compiler. NULL is a pointer of type void*, and cannot be
- compared directly with other pointer types. We use 0 instead.
- Also changed putenv to setenv for comeau on linux.
-
-2002-09-10 15:40 king
-
- * Source/cmStandardIncludes.h: ENH: Added definition of _BSD_SOURCE
- to enable proper use of POSIX functions on comeau in linux.
-
-2002-09-10 15:38 king
-
- * Source/cmSystemTools.cxx: ERR: Fix for borland on linux. We
- cannot directly compare the st_dev and st_ino members of struct
- stat. Use memcmp instead.
-
-2002-09-10 15:37 king
-
- * Source/cmLocalGenerator.cxx: ERR: Removed stray semi-colon.
-
-2002-09-10 15:36 king
-
- * Source/: cmMakefile.cxx, cmRegularExpression.cxx,
- cmRegularExpression.h, cmMakeDepend.cxx,
- cmLoadCommandCommand.cxx, cmCPluginAPI.cxx: ERR: Fixes for comeau
- compiler. NULL is a pointer of type void*, and cannot be
- compared directly with other pointer types. We use 0 instead.
-
-2002-09-10 15:36 king
-
- * Source/cmake.cxx: ERR: Fix for borland on linux.
-
-2002-09-10 13:32 barre
-
- * Modules/FindOpenGL.cmake: FIX: typo + bring back the
- OPENGL_gl_LIBRARY path that can be used to find GLU (was wiped
- out from FindGLU)
-
-2002-09-10 12:49 martink
-
- * Source/CMakeLists.txt: removed extra ENDIF
-
-2002-09-10 10:35 king
-
- * configure, configure.in: ERR: Went back to old-style test for
- -LANG:std on the SGI.
-
-2002-09-10 10:16 martink
-
- * Source/: cmEndIfCommand.cxx, cmIfCommand.cxx: better error
- checking on If statements
-
-2002-09-10 10:02 king
-
- * configure, configure.in: ERR: AC_SUBST replaced with AC_DEFINE.
- Needed to get configure script to correctly setup cmConfigure.h.
-
-2002-09-10 09:51 king
-
- * Source/cmCommands.cxx: ERR: Removed accidental commit.
-
-2002-09-10 09:50 king
-
- * configure, configure.in, Source/cmCommands.cxx: BUG: Missing
- AC_SUBST commands added.
-
-2002-09-09 09:50 hoffman
-
- * Modules/FindOpenGL.cmake: Adding GLU to the OPENGL_LIBRARIES only
- if it is found.
-
-2002-09-08 10:15 martink
-
- * Source/: cmGlobalNMakeMakefileGenerator.cxx,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio7Generator.cxx, cmake.cxx: compiler warnings
-
-2002-09-07 21:25 martink
-
- * Source/: cmGlobalGenerator.cxx,
- cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio7Generator.cxx: compiler warnings
-
-2002-09-07 21:22 martink
-
- * Source/cmLocalGenerator.h: compiler warning
-
-2002-09-07 21:18 martink
-
- * Source/: cmGlobalBorlandMakefileGenerator.cxx,
- cmLocalBorlandMakefileGenerator.cxx: fix for borland compilers
-
-2002-09-06 18:05 king
-
- * Source/cmVTKWrapTclCommand.cxx: ERR: Fix for borland in generated
- code. vtkCommand is ambiguously both a function and a class.
-
-2002-09-06 17:19 king
-
- * configure, configure.in, Templates/cconfigure,
- Templates/cconfigure.in, Templates/cxxconfigure,
- Templates/cxxconfigure.in: ENH: Improved configure test
- implementations by using AC_TRY_COMPILE.
-
-2002-09-06 16:30 martink
-
- * Source/cmLocalUnixMakefileGenerator.cxx: updated to fix the long
- depend line issue on Borland
-
-2002-09-06 14:03 starreveld
-
- * Modules/FindOpenGL.cmake:
- ERR: Fix opengl finding on osx
-
-2002-09-06 13:56 barre
-
- * Modules/FindTCL.cmake: ENH: make stub stuff ADVANCED
-
-2002-09-06 13:04 martink
-
- * Source/: cmakewizard.cxx, CMakeLists.txt, Makefile.in,
- cmGlobalGenerator.cxx, cmGlobalUnixMakefileGenerator.cxx,
- cmLocalUnixMakefileGenerator.cxx: new arch
-
-2002-09-06 13:01 martink
-
- * Source/: cmaketest.cxx, cmake.cxx, cmake.h, cmMakefile.cxx,
- cmMakefile.h, cmakemain.cxx: new arch
-
-2002-09-06 13:00 martink
-
- * Source/CursesDialog/: ccmake.cxx, cmCursesLongMessageForm.cxx,
- cmCursesMainForm.cxx, cmCursesMainForm.h: new architecture
-
-2002-09-06 11:47 hoffman
-
- * Templates/CMakeBorlandWindowsSystemConfig.cmake: fix comment
-
-2002-09-06 11:00 iscott
-
- * Modules/readme.txt: Add important missing word to documentation
-
-2002-09-06 10:55 iscott
-
- * Modules/readme.txt: More detailed information about consistent
- FindXXX.cmake files
-
-2002-09-06 10:47 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: use :: rule and not a
- long line extension
-
-2002-09-06 09:24 martink
-
- * Source/cmLocalUnixMakefileGenerator.cxx: minor fix
-
-2002-09-06 08:33 martink
-
- * Source/cmLocalUnixMakefileGenerator.cxx: minor fixes
-
-2002-09-05 12:00 iscott
-
- * Modules/: FindFLTK.cmake, FindGLUT.cmake, FindGTK.cmake,
- FindOpenGL.cmake, FindX11.cmake: Hide lots of values in the
- advanced list Fix some bugs OpenGL always needs X11 on Unix
-
-2002-09-05 09:04 martink
-
- * Source/cmLocalGenerator.h: made destructor virtual
-
-2002-09-05 08:22 martink
-
- * Source/cmDynamicLoader.cxx: removed some couts
-
-2002-09-04 15:46 martink
-
- * Source/cmCacheManager.h: made method public
-
-2002-09-04 15:28 martink
-
- * Source/cmLocalUnixMakefileGenerator.cxx: fixes
-
-2002-09-04 15:24 martink
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmGlobalNMakeMakefileGenerator.cxx, cmLocalGenerator.cxx,
- cmLocalGenerator.h: updates
-
-2002-09-04 15:22 martink
-
- * Source/: cmGlobalVisualStudio6Generator.cxx,
- cmGlobalVisualStudio6Generator.h,
- cmLocalVisualStudio6Generator.cxx,
- cmLocalVisualStudio6Generator.h,
- cmGlobalVisualStudio7Generator.cxx,
- cmGlobalVisualStudio7Generator.h,
- cmLocalVisualStudio7Generator.cxx,
- cmLocalVisualStudio7Generator.h: new arch
-
-2002-09-04 15:22 martink
-
- * Source/: cmGlobalBorlandMakefileGenerator.cxx,
- cmGlobalBorlandMakefileGenerator.h,
- cmLocalBorlandMakefileGenerator.cxx,
- cmLocalBorlandMakefileGenerator.h: first cut a new arch
-
-2002-09-04 11:17 martink
-
- * Tests/Wrapping/CMakeLists.txt: fixed test for new cmake
-
-2002-09-04 09:24 king
-
- * Modules/FindOpenGL.cmake: ERR: Still need to define
- OPENGL_INCLUDE_PATH in addition to the standard
- OPENGL_INCLUDE_DIR for backward compatability.
-
-2002-09-03 12:29 iscott
-
- * Modules/FindMFC.cmake: A simple FindMFC module for consistency
-
-2002-09-03 10:41 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: use windows paths for
- utility depends
-
-2002-09-03 10:41 hoffman
-
- * Source/cmMSDotNETGenerator.cxx: BUG: bug for more than one custom
- commands
-
-2002-09-03 09:14 iscott
-
- * Modules/Dart.cmake: Dart now has a configure option
-
-2002-09-03 09:00 iscott
-
- * Modules/FindPNG.cmake: I copied a bit too much VXL functionality
- here. Oops
-
-2002-09-03 08:33 iscott
-
- * Modules/FindPerl.cmake: Added PERL_FOUND
-
-2002-09-03 08:24 iscott
-
- * Modules/FindMPEG.cmake: Add an MPEG finder in the new format -
- functionality copied from VXL.
-
-2002-09-03 06:10 iscott
-
- * Modules/: FindAVIFile.cmake, FindGLU.cmake, FindGLUT.cmake,
- FindJPEG.cmake, FindOpenGL.cmake, FindPNG.cmake, FindTIFF.cmake,
- FindX11.cmake: Fixed mistake in comments Transferred OPENGL
- finding logic in from VXL Added Some backwards compatibility with
- CMake1.4
-
-2002-09-02 17:34 iscott
-
- * Modules/: FindFLTK.cmake, FindGTK.cmake: Moved FLTK and GTK to
- new FindXXX scheme. Imported some functionality from VXL
-
-2002-09-02 17:33 iscott
-
- * Modules/FindX11.cmake: small bug fixes
-
-2002-09-02 17:29 iscott
-
- * Source/cmFLTKWrapUICommand.cxx: FLTK_FLUID_EXE ->
- FLTK_FLUID_EXECUTABLE because Module files are moving to
- consistent scheme
-
-2002-09-02 16:59 iscott
-
- * Modules/: FindQt.cmake, FindTIFF.cmake: Fix Bugs
-
-2002-09-02 16:24 iscott
-
- * Modules/FindZLIB.cmake: This file should not be empty
-
-2002-09-02 15:49 iscott
-
- * Modules/: FindZLIB.cmake, FindZLib.cmake: Moved FindZLib.cmake to
- FindZLIB.cmake
-
-2002-09-02 15:46 iscott
-
- * Modules/: FindPNG.cmake, FindX11.cmake, FindZLib.cmake: Copied
- the X11 PNG and ZLIB functoinality from VXL
-
-2002-09-02 14:08 iscott
-
- * Modules/: FindPNG.cmake, FindZLib.cmake: Adding Zlib and PNG find
- modules in the new format
-
-2002-09-02 12:58 iscott
-
- * Modules/FindTIFF.cmake: This Find Module is in the new style
-
-2002-09-02 12:05 iscott
-
- * Modules/: FindJPEG.cmake, FindQt.cmake, FindWget.cmake,
- FindZLib.cmake: Add helpful message for QT Windows users Add
- FindZLib in new format Move FindJPEG and FINDWGET over to new
- scheme
-
-2002-09-02 07:03 iscott
-
- * Modules/FindAVIFile.cmake, Modules/FindQt.cmake,
- Modules/LinkQT.cmake, Modules/readme.txt,
- Source/cmQTWrapCPPCommand.cxx, Source/cmQTWrapUICommand.cxx:
- Define a single expected format for the values defined in every
- FindXXX.cmake file. Upgrade all the QT functionality to use the
- new FindXXX.cmake format Add a module for AVIFile.
-
-2002-08-30 16:01 martink
-
- * Source/: cmGlobalUnixMakefileGenerator.cxx,
- cmGlobalUnixMakefileGenerator.h,
- cmLocalUnixMakefileGenerator.cxx, cmLocalUnixMakefileGenerator.h,
- cmGlobalNMakeMakefileGenerator.cxx,
- cmGlobalNMakeMakefileGenerator.h,
- cmLocalNMakeMakefileGenerator.cxx,
- cmLocalNMakeMakefileGenerator.h: in progress
-
-2002-08-30 16:00 martink
-
- * Source/: cmGlobalGenerator.cxx, cmGlobalGenerator.h,
- cmLocalGenerator.cxx, cmLocalGenerator.h: in progress checkin
-
-2002-08-30 09:54 hoffman
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt: add rpcrt4.lib
- because of CMakeLib needing it
-
-2002-08-29 09:45 martink
-
- * Source/cmCPluginAPI.cxx: extern C fixes
-
-2002-08-28 16:35 martink
-
- * Source/CursesDialog/: ccmake.cxx, cmCursesMainForm.cxx,
- cmCursesMainForm.h: some changes in cachemanager and singletons
-
-2002-08-28 16:34 martink
-
- * Source/cmaketest.cxx: no more singletons
-
-2002-08-28 16:33 martink
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt: now needs dynlib
- support
-
-2002-08-28 15:08 king
-
- * Utilities/: cmake_release_config_cygwin,
- cmake_release_unix_build.sh, cmake_release_unix_config.sh,
- cmake_release_unix_package.sh: ENH: Moved build of source tarball
- to package script.
-
-2002-08-28 14:51 martink
-
- * Source/: cmCPluginAPI.cxx, cmCacheManager.cxx, cmCacheManager.h,
- cmCommands.cxx, cmFindPathCommand.cxx, cmFindProgramCommand.cxx,
- cmLoadCacheCommand.cxx, cmLoadCommandCommand.cxx,
- cmMSDotNETGenerator.cxx, cmMSDotNETGenerator.h,
- cmMSProjectGenerator.cxx, cmMSProjectGenerator.h, cmMakefile.cxx,
- cmMakefile.h, cmMakefileGenerator.cxx, cmMakefileGenerator.h,
- cmNMakeMakefileGenerator.cxx, cmNMakeMakefileGenerator.h,
- cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h,
- cmVariableRequiresCommand.cxx, cmake.cxx, cmake.h, cmakemain.cxx,
- cmakewizard.cxx, cmakewizard.h: changed cache manager and
- registered generators to no longer be singletons
-
-2002-08-28 14:49 martink
-
- * Source/: cmTryCompileCommand.cxx, cmTryCompileCommand.h: an early
- checking not complete
-
-2002-08-28 14:33 hoffman
-
- * Source/cmBorlandMakefileGenerator.cxx,
- Source/cmMSDotNETGenerator.cxx,
- Source/cmNMakeMakefileGenerator.cxx,
- Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate,
- Templates/EXEWinHeader.dsptemplate,
- Templates/staticLibHeader.dsptemplate: ENH: add include paths to
- rc program for resource generation
-
-2002-08-28 10:43 king
-
- * Utilities/setup.hint: ENH: Incremented version number for 1.4-4
-
-2002-08-28 10:40 king
-
- * Utilities/: cmake-cygwin.README, setup.hint: ENH: Adding cygwin
- installation files to branch.
-
-2002-08-28 10:28 hoffman
-
- * Utilities/: cmake-cygwin.README, cmake_release_config_cygwin,
- setup.hint: [no log message]
-
-2002-08-28 09:30 king
-
- * Utilities/cmake_release_config_darwin: Switched to release branch
- tag instead of sticky tag.
-
-2002-08-28 09:27 king
-
- * Utilities/cmake_release_config_darwin: ENH: Adding release
- configuration for darwin.
-
-2002-08-28 09:07 king
-
- * Utilities/cmake_release_unix_package.sh: BUG: Don't erase tarball
- directory in packaging step in case there is a source tarball
- there.
-
-2002-08-28 09:04 hoffman
-
- * Utilities/: cmake_release_unix_config.sh,
- cmake_release_unix_package.sh: cygwin release
-
-2002-08-28 08:51 king
-
- * Utilities/: cmake_release_config_hpux, cmake_release_config_irix,
- cmake_release_config_linux, cmake_release_config_sun: ENH:
- Updated release script configuration for CMake release 1.4.4.
-
-2002-08-27 14:45 andy
-
- * Source/cmSourceFile.cxx: Fix bug in trying to set stding with
- null
-
-2002-08-27 09:43 hoffman
-
- * Source/: CMakeLists.txt, cmLoadCommandCommand.cxx: ENH: fix
- warnings
-
-2002-08-27 08:36 martink
-
- * Source/: CMakeLists.txt, cmCommands.cxx: fixed bootstrap build to
- not use LoadCOmmandCOmmand
-
-2002-08-26 15:22 martink
-
- * Source/: cmGetSourceFilePropertyCommand.cxx,
- cmGetSourceFilePropertyCommand.h: updated to match the SET
-
-2002-08-26 15:20 martink
-
- * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt: added new form of Set source
- file properties command
-
-2002-08-26 10:52 martink
-
- * Source/: cmCPluginAPI.cxx, cmCPluginAPI.h, cmCommands.cxx,
- cmLoadCommandCommand.cxx: now uses stubs
-
-2002-08-26 08:53 martink
-
- * Source/cmSetSourceFilesPropertiesCommand.cxx: fixed bug maybe
-
-2002-08-23 17:00 hoffman
-
- * Templates/cxxconfigure, Templates/cxxconfigure.in, configure,
- configure.in: try another flag for the dec compiler...
-
-2002-08-23 16:25 hoffman
-
- * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt: no more dll for plugin
-
-2002-08-23 16:15 martink
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt: remoevd shared
- lib
-
-2002-08-23 16:12 martink
-
- * Source/: cmCPluginAPI.h, cmCacheManager.h, cmDirectory.h,
- cmRegularExpression.h, cmStandardIncludes.h, cmSystemTools.h,
- cmake.h, CMakeLists.txt, cmListFileCache.h, cmMakefile.h,
- cmMakefileGenerator.h, cmakewizard.h: removed shared lib support
-
-2002-08-23 16:12 martink
-
- * Source/cmaketest.cxx: memory issue
-
-2002-08-23 15:11 martink
-
- * Source/: cmVTKMakeInstantiatorCommand.cxx, cmCacheManager.h,
- cmCPluginAPI.cxx: compiler warnings
-
-2002-08-23 13:47 hoffman
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt: BUG: fix for
- cygwin
-
-2002-08-23 13:46 hoffman
-
- * Source/: CMakeLists.txt, cmCacheManager.cxx, cmCacheManager.h,
- cmake.cxx, cmake.h, cmakemain.cxx, cmaketest.cxx,
- CursesDialog/CMakeLists.txt, CursesDialog/form/CMakeLists.txt:
- BUG: add explicit clean up of the cachemanager at exit of
- programs, so dll destruction is not a problem.
-
-2002-08-23 09:09 hoffman
-
- * Source/cmNMakeMakefileGenerator.cxx: remove use of
- getpropertyasbool
-
-2002-08-22 17:06 hoffman
-
- * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt: BUG: fix for borland and a
- shared CMakeLib
-
-2002-08-22 16:57 hoffman
-
- * Tests/: Complex/CMakeLists.txt,
- Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt: BUG: fix for
- borland and a shared CMakeLib
-
-2002-08-22 16:16 hoffman
-
- * Source/CMakeLists.txt: BUG: borland needs to have
- BUILD_SHARED_LIBS on for executables to work with c++
-
-2002-08-22 15:58 martink
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt: complex test
- needs the dll
-
-2002-08-22 14:41 martink
-
- * Source/cmCPluginAPI.cxx: minor warning fix
-
-2002-08-22 14:40 iscott
-
- * Modules/: FindAVIFile.cmake, readme.txt: Some more explanation of
- a consistent scheme
-
-2002-08-22 11:37 hoffman
-
- * configure, configure.in, Templates/cxxconfigure,
- Templates/cxxconfigure.in: BUG: fix for OSF compiler to use ansi
- mode for streams
-
-2002-08-22 11:12 hoffman
-
- * Source/cmNMakeMakefileGenerator.cxx: BUG: use c flags for
- cprograms, and do not use large command lines for linking
-
-2002-08-22 09:17 martink
-
- * Source/cmCPluginAPI.cxx: fixed some warnings
-
-2002-08-22 09:11 martink
-
- * Source/cmSetSourceFilesPropertiesCommand.cxx: fixed some warnings
-
-2002-08-22 09:10 martink
-
- * Source/cmCPluginAPI.h: fixed nested comment
-
-2002-08-22 08:25 martink
-
- * Source/CursesDialog/CMakeLists.txt: added lib
-
-2002-08-21 15:52 king
-
- * Utilities/cmake_release_unix_package.sh: ENH: Added -files to end
- of internal binary tarball to distinguish from the outer
- tarball's name.
-
-2002-08-21 15:37 martink
-
- * Source/CursesDialog/cmCursesMainForm.cxx: minor fixes for new
- cache api
-
-2002-08-21 13:15 martink
-
- * Source/: cmMakefile.cxx, cmMakefile.h, cmCPluginAPI.cxx: minor
- bug
-
-2002-08-21 12:01 martink
-
- * Source/: cmMakefileGenerator.h, cmMakefile.h: dll support
-
-2002-08-21 12:00 martink
-
- * Source/cmRegularExpression.h: made into dll
-
-2002-08-21 11:59 martink
-
- * Source/: cmake.h, cmakewizard.h, cmakewizard.cxx: support for
- plugins
-
-2002-08-21 11:58 martink
-
- * Source/: cmLoadCommandCommand.cxx, cmLoadCommandCommand.h: adding
- plugin support
-
-2002-08-21 11:58 martink
-
- * Source/: cmDynamicLoader.cxx, cmDynamicLoader.h: added plugin
- support
-
-2002-08-21 11:55 martink
-
- * Source/: cmStandardIncludes.h, CMakeLists.txt,
- cmCacheManager.cxx, cmCacheManager.h, cmDirectory.h,
- cmSystemTools.h, cmListFileCache.h: made CMakeLib shared on
- windows
-
-2002-08-21 11:54 martink
-
- * Source/: cmCPluginAPI.cxx, cmCPluginAPI.h: added C Plugin API
- first cut
-
-2002-08-21 09:45 hoffman
-
- * Source/cmNMakeMakefileGenerator.cxx: BUG: use c compiler for link
- of c programs, and use temp file nmake syntax for linking c and
- c++ programs
-
-2002-08-19 15:40 iscott
-
- * Modules/: FindQt.cmake, LinkQT.cmake: I have tested this with
- VXL/our internal code, and it works for me.
-
-2002-08-19 10:05 iscott
-
- * Modules/FindQt.cmake: I first go at a consistent FindXXX.cmake
- file
-
-2002-08-16 11:20 martink
-
- * Source/cmMacroCommand.cxx: minor fix
-
-2002-08-16 11:17 martink
-
- * Source/: cmQTWrapCPPCommand.cxx, cmQTWrapUICommand.cxx,
- cmSetSourceFilesPropertiesCommand.cxx,
- cmSetSourceFilesPropertiesCommand.h, cmSourceFile.cxx,
- cmSourceFile.h, cmSourceFilesCommand.cxx,
- cmVTKWrapJavaCommand.cxx, cmVTKWrapPythonCommand.cxx,
- cmVTKWrapTclCommand.cxx, cmGetSourceFilePropertyCommand.cxx,
- cmWrapExcludeFilesCommand.cxx, cmCreateTestSourceList.cxx,
- cmAbstractFilesCommand.cxx, cmAuxSourceDirectoryCommand.cxx,
- cmBorlandMakefileGenerator.cxx, cmDSPWriter.cxx,
- cmFLTKWrapUICommand.cxx, cmMSDotNETGenerator.cxx,
- cmMakeDepend.cxx, cmNMakeMakefileGenerator.cxx, cmTarget.cxx,
- cmUnixMakefileGenerator.cxx, cmVTKMakeInstantiatorCommand.cxx:
- modified how source files store properties
-
-2002-08-16 09:45 king
-
- * Source/cmVTKMakeInstantiatorCommand.cxx: ERR: unsigned int ->
- size_t.
-
-2002-08-16 09:31 king
-
- * Source/cmVTKMakeInstantiatorCommand.cxx: ENH: Changed check for
- which version of instantiators to generate to look for definition
- of VTK_USE_INSTANTIATOR_NEW instead of an extra argument to
- VTK_MAKE_INSTANTIATOR.
-
-2002-08-15 15:01 king
-
- * Source/: cmVTKMakeInstantiatorCommand.cxx,
- cmVTKMakeInstantiatorCommand.h: BUG: Added
- backward-compatability. The old instantiator style will be used
- unless the argument USE_INSTANTIATOR_NEW is given to tell the
- command to make use of the instantiator new functions exported
- from each class's implementation file.
-
-2002-08-15 14:39 king
-
- * Source/: cmVTKMakeInstantiatorCommand.cxx,
- cmVTKMakeInstantiatorCommand.h: ENH: Improved generated
- instantiator to use extern declarations to wrappers around the
- New() methods. This avoids the need to include each class's
- header in an instantiator source. The instantiator class
- implementations can now fit in a single source file that compiles
- quickly.
-
-2002-08-15 09:34 hoffman
-
- * Source/cmNMakeMakefileGenerator.cxx: ENH: add -DWIN32 flag for
- builds
-
-2002-08-14 11:44 ibanez
-
- * Modules/FindFLTK.cmake: ENH: Platform dependent libraries added.
-
-2002-08-13 15:47 martink
-
- * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt: added macro test
-
-2002-08-13 15:46 martink
-
- * Source/: cmCommands.cxx, cmMacroCommand.cxx, cmMacroCommand.h:
- added new command
-
-2002-08-13 10:46 martink
-
- * Source/: cmExecProgramCommand.h, cmExecProgramCommand.cxx: merge
- from main tree
-
-2002-08-13 10:08 martink
-
- * CMakeLists.txt: added man page
-
-2002-08-13 10:05 martink
-
- * Source/cmCreateTestSourceList.cxx: some warning and purify fixes
-
-2002-08-13 10:04 martink
-
- * Source/: cmElseCommand.cxx, cmIfCommand.cxx: IF Else improvements
-
-2002-08-13 10:03 martink
-
- * Source/: cmMakefile.cxx, cmMakefile.h: merges from the main
- branch
-
-2002-08-13 10:02 martink
-
- * Source/cmRemoveCommand.cxx: merge from main branch
-
-2002-08-13 10:01 martink
-
- * Copyright.txt: merge from the main branch
-
-2002-08-13 10:00 martink
-
- * cmake.1: updated from main branch
-
-2002-08-13 09:59 martink
-
- * Modules/: FindFLTK.cmake, FindTCL.cmake: updates from the main
- branch
-
-2002-08-12 08:39 martink
-
- * Source/cmElseCommand.cxx: compiler warning
-
-2002-08-09 12:00 martink
-
- * Source/: cmElseCommand.cxx, cmIfCommand.cxx, cmMakefile.cxx:
- better IF ELSE handling
-
-2002-08-09 10:04 barre
-
- * Modules/FindTCL.cmake: FIX: fix commit messup (this change was
- committed to the branch instead of the main tree, thus was
- wiped-out later)
-
-2002-08-09 08:33 barre
-
- * Modules/FindwxWindows.cmake: FIX: - WINDOWS does not exist, use
- WIN32 (or defineWINDOWS if cygwin can not be used inUnix mode?),
- - fix an un-closed IF, - use same prefix for vars (and make it
- advanced)
-
-2002-08-09 07:55 andy
-
- * Modules/FindwxWindows.cmake: This hopefully finds wxWindows on
- UNIX
-
-2002-08-08 15:30 andy
-
- * Modules/FindwxWindows.cmake: Add UNIX support for WXWINDOWS
-
-2002-08-08 15:29 andy
-
- * Source/: cmExecProgramCommand.cxx, cmExecProgramCommand.h: Add
- return value support and add documentation
-
-2002-08-08 15:14 king
-
- * Copyright.txt: ENH: Updated copyright.
-
-2002-08-08 15:13 andy
-
- * Source/: cmExecProgramCommand.cxx, cmExecProgramCommand.h: Add
- option of storing output to the variable
-
-2002-08-08 13:41 barre
-
- * Modules/FindwxWindows.cmake: ENH: first stab at wxWindows support
- (win32)
-
-2002-08-08 12:49 king
-
- * CMakeLists.txt: ENH: Adding installation for man page.
-
-2002-08-08 12:30 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: handle .exe extension
- for cygwin
-
-2002-08-08 11:58 king
-
- * cmake.1: ENH: Initial checkin of unix manpage.
-
-2002-08-08 08:51 martink
-
- * Source/cmCreateTestSourceList.cxx: fixed some compiler warnings
- and leaks
-
-2002-08-07 18:12 king
-
- * Utilities/: cmake_release_config_hpux, cmake_release_config_irix,
- cmake_release_config_linux, cmake_release_config_sun,
- cmake_release_unix.sh, cmake_release_unix_build.sh,
- cmake_release_unix_config.sh, cmake_release_unix_package.sh: ENH:
- Split install script into two parts. Added basic support for
- adding more files to the distribution and creating packages.
-
-2002-08-07 11:01 martink
-
- * Source/cmCreateTestSourceList.cxx: fixed some compiler warnings
- and leaks
-
-2002-08-07 10:30 martink
-
- * Source/cmCreateTestSourceList.cxx: fixed some compiler warnings
- and leaks
-
-2002-08-05 18:08 ibanez
-
- * Modules/FindFLTK.cmake: ENH: Images library added. Names for
- debuggin versions in windows added.
-
-2002-08-05 09:51 martink
-
- * Source/cmRemoveCommand.cxx: minor fix
-
-2002-08-02 13:43 ibanez
-
- * Modules/FindFLTK.cmake: FIX: names styles for fltkgl and
- fltkforms are different in windows and linux. Both styles
- are now searched taking advantage of the NAMES option in
- FIND_LIBRARY.
-
-2002-08-02 12:51 martink
-
- * Source/cmLinkDirectoriesCommand.cxx: duhhhhhh
-
-2002-08-02 08:50 martink
-
- * Source/: cmFindLibraryCommand.cxx, cmLinkLibrariesCommand.cxx,
- cmMakefile.h: updates from the main tree
-
-2002-08-01 23:05 barre
-
- * Source/cmFindLibraryCommand.cxx: FIX: put ExpandRegistryValue()
- back (seems to have been removed accidentally I guess in 1.25)
-
-2002-08-01 15:58 martink
-
- * Source/cmLinkDirectoriesCommand.cxx: no longer need an argument
-
-2002-08-01 09:50 martink
-
- * Source/cmCreateTestSourceList.cxx,
- Source/cmCreateTestSourceList.h, Source/cmMakefile.h,
- Source/cmNMakeMakefileGenerator.cxx,
- Source/cmNMakeMakefileGenerator.h, Source/cmSystemTools.cxx,
- Source/cmUnixMakefileGenerator.cxx,
- Source/cmUnixMakefileGenerator.h, Source/cmVTKWrapTclCommand.cxx,
- Source/cmake.cxx, Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt,
- Tests/TestDriver/CMakeLists.txt, Tests/TestDriver/test1.cxx,
- Tests/TestDriver/test2.cxx, Tests/TestDriver/testArgs.h,
- Tests/TestDriver/subdir/test3.cxx: merges from the main branch
-
-2002-08-01 08:41 martink
-
- * Modules/: FindGLU.cmake, FindJNI.cmake, FindOpenGL.cmake,
- FindTCL.cmake: merges from the main tree
-
-2002-07-31 13:45 hoffman
-
- * Source/: cmNMakeMakefileGenerator.cxx,
- cmNMakeMakefileGenerator.h, cmUnixMakefileGenerator.cxx,
- cmUnixMakefileGenerator.h: BUG: fix jump to directory and build
- for nmake if library path is not set. combine
- OutputBuildExecutableInDir and OutputBuildLibraryInDir into
- OutputBuildTargetInDir
-
-2002-07-31 11:08 martink
-
- * Tests/TestDriver/testArgs.h: minor fix for c tests
-
-2002-07-31 11:07 martink
-
- * Source/cmCreateTestSourceList.cxx: fixed support for C test
- programs
-
-2002-07-31 09:29 barre
-
- * Source/cmCreateTestSourceList.cxx: FIX: <stdlib.h> is enough to
- get malloc()/free()
-
-2002-07-30 16:19 martink
-
- * Tests/TestDriver/: CMakeLists.txt, test1.cxx, test2.cxx,
- subdir/test3.cxx: updated to mods in command
-
-2002-07-30 16:18 martink
-
- * Source/: cmCreateTestSourceList.cxx, cmCreateTestSourceList.h:
- updated to handle extensions
-
-2002-07-30 10:33 barre
-
- * Source/cmCreateTestSourceList.cxx: FIX: la commande créait du
- code C++. Du code C devrait faire l'affaire.
-
-2002-07-30 10:23 barre
-
- * Source/cmCreateTestSourceList.cxx: FIX: la commande créait du
- code C++. Du code C devrait faire l'affaire.
-
-2002-07-29 09:46 barre
-
- * Modules/: FindTCL.cmake: ENH: change the search path order (if
- several Tcl/Tk are installed, the "current" version is likely to
- be the one that is bound to the wish/tclsh found in the PATH)
-
-2002-07-26 14:06 barre
-
- * Modules/: FindTCL.cmake: ENH: clean the module, add debug libs
-
-2002-07-26 10:14 king
-
- * Source/: cmITKWrapTclCommand.cxx, cmITKWrapTclCommand.h: BUG:
- Only one generated Tcl wrapper source was getting added to the
- package's library.
-
-2002-07-26 09:54 king
-
- * Source/cmVTKWrapTclCommand.cxx: BUG: Generated call to
- Tcl_CreateCommand for vtkCommand should cast pointer to extern
- "C" version.
-
-2002-07-25 16:47 king
-
- * Source/cmVTKWrapTclCommand.cxx: BUG: Generated vtkCommand
- prototype cannot be extern "C" because it may not match with the
- version in VTK.
-
-2002-07-25 16:41 andy
-
- * Source/cmSystemTools.cxx: Ok, now cd will work on windows
-
-2002-07-25 16:25 will
-
- * Source/cmVTKWrapTclCommand.cxx: fixed warning
-
-2002-07-25 11:17 barre
-
- * Modules/FindTCL.cmake: FIX: the stub libs were not searched
-
-2002-07-25 11:10 barre
-
- * Modules/FindTCL.cmake: FIX: the stub libs were not searched
-
-2002-07-25 09:16 martink
-
- * Source/cmMakefile.cxx: makefile now does not ignore NOTFOUND libs
- and includes
-
-2002-07-25 08:00 martink
-
- * Source/cmMakefile.cxx: makefile now ignores NOTFOUND libs and
- includes
-
-2002-07-22 11:03 king
-
- * Utilities/cmake_release_config_irix: ENH: Added release script
- configuration for IRIX build.
-
-2002-07-22 10:40 martink
-
- * Source/cmMakefile.h: updated to patch 1
-
-2002-07-22 10:34 martink
-
- * Templates/CXXCMakeSystemConfig.cmake.in: better docs and support
- for mising args
-
-2002-07-22 10:33 martink
-
- * Source/cmMakefile.cxx: now replaces args even if not defined
-
-2002-07-22 10:31 martink
-
- * Source/: cmAddDefinitionsCommand.cxx,
- cmIncludeDirectoryCommand.cxx, cmLinkLibrariesCommand.cxx,
- cmTargetLinkLibrariesCommand.cxx: allows less arguments changes
- from main tree
-
-2002-07-22 10:00 martink
-
- * Source/: cmIncludeDirectoryCommand.cxx,
- cmLinkLibrariesCommand.cxx: allows no arguments
-
-2002-07-20 08:55 martink
-
- * Source/cmAddDefinitionsCommand.cxx: modified to accept no
- arguments
-
-2002-07-19 15:49 martink
-
- * Templates/CXXCMakeSystemConfig.cmake.in: fixed some empty
- descriptions
-
-2002-07-19 14:42 martink
-
- * Source/cmMakefile.cxx: full variable replacement and removal or
- empty arguments
-
-2002-07-19 14:40 martink
-
- * Source/cmTargetLinkLibrariesCommand.cxx: does not need a second
- argument
-
-2002-07-18 18:43 starreveld
-
- * Modules/: FindGLU.cmake, FindOpenGL.cmake: ERR: remove automatic
- Carbon framework on osx
-
-2002-07-17 16:33 martink
-
- * Source/cmInstallFilesCommand.cxx: fix for install with paths
-
-2002-07-17 15:57 martink
-
- * Source/cmInstallFilesCommand.cxx: fixe for files with paths
-
-2002-07-17 11:53 andy
-
- * Source/cmake.cxx: Fix changing of directories using cmSystemTools
- RunCommand feature
-
-2002-07-17 10:52 martink
-
- * Source/: cmForEachCommand.cxx, cmForEachCommand.h,
- cmMakefile.cxx: fix for IF statements inside of Foreach loops
-
-2002-07-17 10:48 martink
-
- * Source/cmForEachCommand.cxx, Source/cmForEachCommand.h,
- Source/cmMakefile.cxx, Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt: fixed if statements
- inside a foreach
-
-2002-07-16 17:42 king
-
- * Tests/: Complex/CMakeLists.txt, Complex/cmTestConfigure.h.in,
- Complex/Executable/complex.cxx, ComplexOneConfig/CMakeLists.txt,
- ComplexOneConfig/cmTestConfigure.h.in,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/cmTestConfigure.h.in,
- ComplexRelativePaths/Executable/complex.cxx: ENH: Added test for
- IF inside a FOREACH.
-
-2002-07-15 11:37 king
-
- * Utilities/cmake_release_config_hpux: ENH: Adding release script
- configuration for HPUX.e
-
-2002-07-15 11:13 king
-
- * Utilities/cmake_release_config_sun: ENH: Added release
- configuration file for Sun.
-
-2002-07-15 10:48 king
-
- * Utilities/: cmake_release_config_linux, cmake_release_unix.sh:
- ENH: Made release script more generic for creating static and
- shared releases.
-
-2002-07-15 10:09 king
-
- * Utilities/cmake_release_config_linux: ENH: Release script
- configuration file for linux.
-
-2002-07-15 10:08 king
-
- * Utilities/cmake_release_unix.sh: ENH: Protoype unix release
- script.
-
-2002-07-15 09:55 king
-
- * Templates/CMakeLists.txt: ERR: CXXCMakeSystemConfig.cmake and
- CCMakeSystemConfig.cmake need .in extension.
-
-2002-07-15 09:46 king
-
- * Source/cmInstallFilesCommand.cxx: BUG: Only the last extension
- should be removed.
-
-2002-07-15 09:45 king
-
- * Source/: cmInstallFilesCommand.cxx, cmInstallFilesCommand.h: BUG:
- INSTALL_FILES command should remove the extension of a file
- before adding the user provided extension.
-
-2002-07-15 09:44 king
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Added
- GetFilenameWithoutLastExtension.
-
-2002-07-15 09:23 king
-
- * Templates/CMakeLists.txt: ERR: Install for
- CXXCMakeSystemConfig.cmake and CCMakeSystemConfig.cmake need .in
- extension.
-
-2002-07-15 09:22 king
-
- * Modules/FindJNI.cmake: ENH: Added /usr/local/lib/java search
- paths.
-
-2002-07-15 08:44 martink
-
- * Source/: cmInstallFilesCommand.cxx, cmInstallFilesCommand.h: fix
- install target
-
-2002-07-12 11:17 martink
-
- * Modules/FindJava.cmake: merged module into branch
-
-2002-07-12 11:10 martink
-
- * Source/cmIfCommand.cxx: minor warning fix
-
-2002-07-11 14:58 martink
-
- * Source/cmIfCommand.cxx: fix warning
-
-2002-07-11 14:25 martink
-
- * Source/cmMakefile.cxx: merge from the main tree
-
-2002-07-11 14:20 hoffman
-
- * Source/cmMakefile.cxx: BUG: fix for compile with hp
-
-2002-07-11 14:03 martink
-
- * Source/: cmElseCommand.cxx, cmIfCommand.cxx, cmIfCommand.h,
- cmMakefile.cxx, cmMakefile.h: merged some updates, the IF
- checking
-
-2002-07-11 13:58 martink
-
- * Source/: cmUnixMakefileGenerator.cxx, cmVTKWrapTclCommand.cxx,
- cmake.cxx: updates from the main tree
-
-2002-07-10 16:07 martink
-
- * Source/cmVTKWrapTclCommand.cxx: fix warning on Sun
-
-2002-07-10 14:34 andy
-
- * Source/cmake.cxx: Add command that runs program in given
- directory
-
-2002-07-10 11:38 martink
-
- * Source/: cmElseCommand.cxx, cmIfCommand.cxx, cmIfCommand.h,
- cmMakefile.cxx, cmMakefile.h: better error handling with if
- statements
-
-2002-07-10 09:33 andy
-
- * Source/cmUnixMakefileGenerator.cxx: Fix problem when using NMake.
- This generated lines without space so nmake got all confused
-
-2002-07-08 09:30 andy
-
- * Modules/FindJava.cmake: Add module that finds java executables.
- This module should find java, javac, and jar.
-
-2002-07-02 09:58 martink
-
- * configure, configure.in: merges from main tree
-
-2002-07-02 09:56 martink
-
- * Modules/FindFLTK.cmake: merges with main tree
-
-2002-07-02 09:54 martink
-
- * Source/: cmAuxSourceDirectoryCommand.cxx,
- cmBorlandMakefileGenerator.cxx, cmCMakeMinimumRequired.cxx,
- cmConfigure.cmake.h.in, cmConfigure.h.in,
- cmCreateTestSourceList.cxx, cmCreateTestSourceList.h,
- cmDSWWriter.cxx, cmElseCommand.cxx, cmEnableTestingCommand.h,
- cmFLTKWrapUICommand.cxx, cmFindLibraryCommand.cxx,
- cmFunctionBlocker.h, cmGetFilenameComponentCommand.cxx,
- cmITKWrapTclCommand.cxx, cmIfCommand.cxx, cmIfCommand.h,
- cmInstallFilesCommand.cxx, cmLinkLibrariesCommand.cxx,
- cmMSDotNETGenerator.cxx, cmMSDotNETGenerator.h, cmMakeDepend.cxx,
- cmMakeDepend.h, cmMakefile.cxx, cmMakefile.h,
- cmNMakeMakefileGenerator.cxx, cmNMakeMakefileGenerator.h,
- cmQTWrapCPPCommand.cxx, cmQTWrapUICommand.cxx, cmSourceFile.cxx,
- cmSourceFile.h, cmSourceFilesCommand.cxx,
- cmSourceFilesRemoveCommand.cxx, cmStandardIncludes.h,
- cmSystemTools.cxx, cmSystemTools.h, cmTarget.cxx,
- cmTargetLinkLibrariesCommand.cxx, cmUnixMakefileGenerator.cxx,
- cmUnixMakefileGenerator.h, cmVTKMakeInstantiatorCommand.cxx,
- cmVTKWrapJavaCommand.cxx, cmVTKWrapPythonCommand.cxx,
- cmVTKWrapTclCommand.cxx, cmWrapExcludeFilesCommand.cxx,
- cmake.cxx, cmake.h, ctest.cxx: massive merge from main tree
-
-2002-07-02 09:33 martink
-
- * Source/: cmFindLibraryCommand.cxx, cmMakefile.h,
- cmSystemTools.cxx, cmSystemTools.h: updates
-
-2002-07-02 08:24 martink
-
- * Source/: cmMakefile.cxx, cmMakefile.h: fixed warning
-
-2002-07-01 08:49 martink
-
- * Source/: cmElseCommand.cxx, cmIfCommand.cxx, cmIfCommand.h:
- consolidated IF handling and added checks for bad arguments
-
-2002-06-30 13:53 martink
-
- * Source/: cmVTKWrapPythonCommand.cxx, cmVTKWrapTclCommand.cxx:
- fixed commands that were setting definitions in final pass to set
- definitions in initial pass
-
-2002-06-29 20:04 martink
-
- * Source/: cmQTWrapCPPCommand.cxx, cmVTKWrapJavaCommand.cxx,
- cmVTKWrapPythonCommand.cxx, cmVTKWrapTclCommand.cxx: fixed
- commands that were setting definitions in final pass to set
- definitions in initial pass
-
-2002-06-28 10:29 andy
-
- * Source/cmVTKWrapPythonCommand.cxx: Remove another warning in the
- python wrapping
-
-2002-06-28 10:18 martink
-
- * Source/cmSourceFile.h: performance fix
-
-2002-06-28 09:43 andy
-
- * Source/cmVTKWrapPythonCommand.cxx: Add removing of warnings and
- add comment about the file being generated in CMake
-
-2002-06-28 09:21 martink
-
- * Source/cmAuxSourceDirectoryCommand.cxx: bug fix for aux src dirs
-
-2002-06-28 08:57 martink
-
- * Source/: cmMakefile.cxx, cmSourceFile.h: minor cleanup
-
-2002-06-27 21:17 martink
-
- * Source/: cmMakefile.cxx, cmSourceFile.h: performance inprovements
-
-2002-06-27 16:47 martink
-
- * Source/cmMakefile.cxx: bug fix
-
-2002-06-27 16:42 martink
-
- * Source/: cmMakefile.cxx, cmSourceFilesCommand.cxx: bug fix
-
-2002-06-27 16:25 martink
-
- * Source/cmSourceFilesCommand.cxx: bug fix
-
-2002-06-27 16:05 martink
-
- * Tests/Simple/CMakeLists.txt: a minor fix to make my life easier
-
-2002-06-27 15:57 martink
-
- * Source/cmAuxSourceDirectoryCommand.cxx,
- Source/cmCreateTestSourceList.cxx, Source/cmDSWWriter.cxx,
- Source/cmFLTKWrapUICommand.cxx,
- Source/cmGetFilenameComponentCommand.cxx,
- Source/cmITKWrapTclCommand.cxx, Source/cmInstallFilesCommand.cxx,
- Source/cmLinkLibrariesCommand.cxx,
- Source/cmMSDotNETGenerator.cxx, Source/cmMakeDepend.cxx,
- Source/cmMakefile.cxx, Source/cmMakefile.h,
- Source/cmQTWrapCPPCommand.cxx, Source/cmQTWrapUICommand.cxx,
- Source/cmSourceFilesCommand.cxx,
- Source/cmSourceFilesRemoveCommand.cxx, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h, Source/cmTarget.cxx,
- Source/cmTargetLinkLibrariesCommand.cxx,
- Source/cmUnixMakefileGenerator.cxx,
- Source/cmVTKMakeInstantiatorCommand.cxx,
- Source/cmVTKWrapJavaCommand.cxx,
- Source/cmVTKWrapPythonCommand.cxx,
- Source/cmVTKWrapTclCommand.cxx,
- Source/cmWrapExcludeFilesCommand.cxx,
- Tests/Complex/Library/CMakeLists.txt,
- Tests/ComplexOneConfig/Library/CMakeLists.txt,
- Tests/ComplexRelativePaths/Library/CMakeLists.txt: removed all
- source lists from the system and made them vectors. Also appended
- _CMAKE_PATH to the end of the automatic cache entries for
- executables and libraries. Odds of all these changes working are
- slim but cmake builds and passes all its tests. VTK40 starts
- building
-
-2002-06-27 09:35 king
-
- * Source/: cmake.cxx, cmake.h: BUG: CMake crashed if it failed to
- find its own executable. Also added better error messages when
- this occurs.
-
-2002-06-25 09:59 hoffman
-
- * Tests/Simple/CMakeLists.txt: add a test with no extension
-
-2002-06-25 09:59 hoffman
-
- * Source/cmTarget.cxx: BUG: try to tell the difference between
- variables with sources and other variables
-
-2002-06-25 09:18 king
-
- * Source/cmStandardIncludes.h: BUG: Result from ostrstream::str()
- can be a null pointer.
-
-2002-06-24 18:19 king
-
- * Source/cmStandardIncludes.h: BUG: Attempt to fix
- ostrstream::str() wrapper for broken platforms.
-
-2002-06-24 16:42 martink
-
- * Source/cmTarget.cxx: modified to handle src list vectors without
- proper dollar signs
-
-2002-06-24 14:07 martink
-
- * Source/ctest.cxx: BUG: make sure windows paths are used for the
- command or it will not work for win 98
-
-2002-06-21 11:35 martink
-
- * Templates/: CXXCMakeSystemConfig.cmake.in, cxxconfigure,
- cxxconfigure.in: now looks for stringstream as well, from the
- main tree
-
-2002-06-21 11:25 martink
-
- * Source/: cmElseCommand.cxx, cmIfCommand.cxx: fixed if matches bug
-
-2002-06-21 10:31 king
-
- * Source/cmStandardIncludes.h: ERR: using declaration to move
- streams into std namespace needs to bring up ostrstream and
- ostringstream, not strstream and stringstream.
-
-2002-06-21 10:26 king
-
- * Source/CursesDialog/form/frm_driver.c: ERR: Removed most of the
- repeated curses declarations. The cause errors on other
- platforms. Grrrr..
-
-2002-06-21 09:25 king
-
- * Source/CursesDialog/form/frm_driver.c: ERR: Added function
- declarations from curses.h. They are not present on some
- platforms. Fixes warnings about implicit declarations.
-
-2002-06-21 09:00 king
-
- * Tests/: Complex/cmTestConfigure.h.in,
- ComplexOneConfig/cmTestConfigure.h.in,
- ComplexRelativePaths/cmTestConfigure.h.in: ENH: Added
- configuration of CMAKE_NO_ANSI_STRING_STREAM. It is defined when
- the sstream header does not exist.
-
-2002-06-21 08:42 king
-
- * configure, Templates/cxxconfigure: ERR: Ran autoconf on
- corresponding fixes to configure.in and cxxconfigure.in.
-
-2002-06-21 08:39 hoffman
-
- * Templates/cxxconfigure.in: fix for sstream
-
-2002-06-21 08:38 hoffman
-
- * configure.in: fix to sstring stuff
-
-2002-06-20 10:39 hoffman
-
- * Source/: cmElseCommand.cxx, cmIfCommand.cxx: modified MATCHES to
- handle non variables
-
-2002-06-20 10:20 king
-
- * Source/cmStandardIncludes.h: ERR: cmStringStream is taking the
- functionality of ostringstream and ostrstream, not stringstream
- and strstream.
-
-2002-06-20 10:19 king
-
- * Templates/CXXCMakeSystemConfig.cmake.in: BUG:
- CMAKE_NO_ANSI_STRING_STREAM needs to be copied from the
- cxxconfigure results.
-
-2002-06-19 15:21 king
-
- * Source/: cmBorlandMakefileGenerator.cxx,
- cmCMakeMinimumRequired.cxx, cmConfigure.cmake.h.in,
- cmConfigure.h.in, cmNMakeMakefileGenerator.cxx,
- cmStandardIncludes.h, cmSystemTools.cxx,
- cmUnixMakefileGenerator.cxx, cmVTKMakeInstantiatorCommand.cxx,
- cmake.cxx: ENH: Added cmStringStream class to wrap
- std::stringstream or std::strstream depending on the platform.
- The interface is that of std::stringstream, so no "ends" or
- "rdbuf()->freeze(0)" lines are needed.
-
-2002-06-19 15:09 king
-
- * configure, Templates/cxxconfigure: ENH: Re-ran autoconf to
- include changes to corresponding configure input. This adds a
- test for the availability of sstream.
-
-2002-06-19 15:05 king
-
- * configure.in, Templates/cxxconfigure.in: ENH: Added test for
- sstream header. Defines CMAKE_NO_ANSI_STRING_STREAM if the
- header doesn't exist.
-
-2002-06-19 14:35 barre
-
- * Source/cmSystemTools.cxx: ENH: FindLibrary supports .Net specific
- lib dirs
-
-2002-06-19 13:49 martink
-
- * Source/: cmCreateTestSourceList.cxx, cmCreateTestSourceList.h,
- cmEnableTestingCommand.h, cmFunctionBlocker.h, cmMakefile.h,
- cmTarget.cxx: merges from main tree
-
-2002-06-19 13:28 martink
-
- * Source/cmSourceFile.cxx: modified create test source to create a
- vector
-
-2002-06-19 13:14 martink
-
- * Modules/: Dart.cmake, FindGLU.cmake, FindGLUT.cmake,
- FindJNI.cmake, FindOpenGL.cmake, FindTclsh.cmake, FindX11.cmake:
- update dfrom main tree
-
-2002-06-19 12:51 martink
-
- * Source/cmCreateTestSourceList.cxx,
- Source/cmCreateTestSourceList.h, Source/cmSourceFile.cxx,
- Source/cmTarget.cxx, Tests/TestDriver/CMakeLists.txt: modified
- create test source to create a vector
-
-2002-06-19 08:57 king
-
- * Source/CursesDialog/form/fty_alpha.c: ERR: Fixed unused parameter
- warning.
-
-2002-06-19 07:28 hoffman
-
- * CMakeLists.txt, Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt: [no log message]
-
-2002-06-18 17:20 king
-
- * Source/: cmEnableTestingCommand.h, cmFunctionBlocker.h,
- cmMakefile.cxx, cmSystemTools.cxx, cmTarget.cxx: ERR: Fixed
- compiler warnings.
-
-2002-06-18 17:20 king
-
- * Source/CursesDialog/: ccmake.cxx, cmCursesBoolWidget.cxx,
- cmCursesDummyWidget.cxx, cmCursesForm.h, cmCursesLabelWidget.cxx,
- cmCursesLongMessageForm.cxx, cmCursesMainForm.cxx: ERR: Fixed
- compiler warnings about unused parameters.
-
-2002-06-18 17:19 king
-
- * Source/CursesDialog/form/: frm_driver.c, frm_req_name.c,
- fty_alnum.c, fty_int.c, fty_ipv4.c, fty_num.c, fty_regex.c: ERR:
- Fixed compiler warnings when using strict ansi.
-
-2002-06-18 16:43 martink
-
- * Modules/Dart.cmake: fixed another bug
-
-2002-06-18 16:35 martink
-
- * Modules/Dart.cmake: fixed bug
-
-2002-06-18 16:32 king
-
- * Source/ctest.cxx: ERR: Fix for fprintf format warning.
-
-2002-06-18 16:30 king
-
- * Source/CursesDialog/form/frm_data.c: ERR: Attempt to fix warning
- on OSF about implicit declaration of winnstr.
-
-2002-06-18 14:26 barre
-
- * Modules/FindGLUT.cmake: ENH: add more paths for the HP
-
-2002-06-18 08:54 hoffman
-
- * CMakeLists.txt, Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt: ENH: try and fix link
- problem on dec
-
-2002-06-17 13:43 andy
-
- * Modules/FindJNI.cmake: Add debian Java paths
-
-2002-06-17 13:07 barre
-
- * Modules/: FindGLU.cmake, FindGLUT.cmake: FIX: GLU and GLUT flags
- for Mac OSX
-
-2002-06-14 16:49 barre
-
- * Modules/: FindCABLE.cmake, FindTclsh.cmake, FindX11.cmake: ENH:
- clean modules (doc, make stuff advanced, etc.)
-
-2002-06-14 16:38 hoffman
-
- * Modules/Dart.cmake: ENH: change so that on all make based systems
- all dart targets are added
-
-2002-06-14 11:46 barre
-
- * Modules/: FindGLU.cmake, FindGLUT.cmake: ENH: use
- OPENGL_LIBRARY_PATH as additional search path
-
-2002-06-14 11:45 barre
-
- * Modules/FindOpenGL.cmake: ENH: define OPENGL_LIBRARY_PATH (path
- to OPENGL_LIBRARY) so that it can be used to search for other
- OpenGL-related libs
-
-2002-06-14 11:31 barre
-
- * Modules/FindGLU.cmake: FIX: bug, the wrong include file was
- searched.
-
-2002-06-14 10:37 barre
-
- * Source/: cmFindLibraryCommand.cxx, cmSystemTools.cxx,
- cmSystemTools.h: ENH: FindLibrary can now use the makefile to add
- some compiler-specific lib search path (depending on the
- generator).
-
-2002-06-14 10:35 barre
-
- * Modules/FindGLUT.cmake: ENH/FIX: Glut should be found, not set.
- Add search path for Cygwin
-
-2002-06-13 14:45 barre
-
- * Modules/FindGLUT.cmake: FIX: comply with the way OpenGL libs are
- set in FindOpenGL and FindGLU
-
-2002-06-13 11:48 barre
-
- * Modules/: FindGLU.cmake, FindGLUT.cmake, FindOpenGL.cmake: ENH:
- make all OpenGL libs advanced, and add support for glu lib with
- Borland
-
-2002-06-11 14:54 martink
-
- * Source/: cmMSDotNETGenerator.cxx, cmMSDotNETGenerator.h,
- cmNMakeMakefileGenerator.cxx, cmNMakeMakefileGenerator.h,
- cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: some
- fixes for dot net and spaces
-
-2002-06-11 14:25 hoffman
-
- * Source/: cmNMakeMakefileGenerator.cxx,
- cmNMakeMakefileGenerator.h, cmUnixMakefileGenerator.cxx,
- cmUnixMakefileGenerator.h: use lower case and not short path for
- uniq paths on window
-
-2002-06-11 14:25 hoffman
-
- * Source/cmMSDotNETGenerator.cxx: only allow unique configurations
-
-2002-06-11 14:15 hoffman
-
- * Source/: cmMSDotNETGenerator.cxx, cmMSDotNETGenerator.h: BUG: fix
- dot net for paths with spaces
-
-2002-06-11 12:16 hoffman
-
- * Source/cmMSDotNETGenerator.cxx: BUG: RelativePath should not be
- quoted in output files even if it has spaces
-
-2002-06-11 11:19 martink
-
- * Source/cmUnixMakefileGenerator.cxx: some win98 depend problems
-
-2002-06-11 11:01 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: don't use short paths in
- the output
-
-2002-06-11 10:43 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: use short path to get unique
- path names for depend path output
-
-2002-06-11 09:14 hoffman
-
- * Source/CursesDialog/: ccmake.cxx, cmCursesMainForm.cxx: ERR:
- Fixed sun CC warnings.
-
-2002-06-10 14:21 martink
-
- * Source/: cmMakeDepend.cxx, cmMakeDepend.h, CMakeLists.txt: joins
- with the head
-
-2002-06-10 14:19 martink
-
- * Source/: cmMakeDepend.cxx, cmMakeDepend.h: now includes current
- include files directory when searching for files it includes
-
-2002-06-10 11:33 hoffman
-
- * Source/CMakeLists.txt: BUG: cmake needs it's own directory for
- includes, so depends work
-
-2002-06-10 09:50 hoffman
-
- * ChangeLog.txt: new changes for 1.4
-
-2002-06-10 09:35 martink
-
- * Source/cmMakefile.h: updated revision
-
-2002-06-10 09:33 martink
-
- * Modules/: FindGLUT.cmake, FindPythonLibs.cmake: updated from main
- branch
-
-2002-06-10 08:53 andy
-
- * Modules/FindPythonLibs.cmake: Oops, forgot the library name
-
-2002-06-10 08:52 andy
-
- * Modules/FindPythonLibs.cmake: Add search for python 2.2
-
-2002-06-07 08:39 ibanez
-
- * Modules/FindFLTK.cmake: FIX: {} were missing around
- FLTK_*_LIBRARY.
-
-2002-06-06 17:49 ibanez
-
- * Modules/FindFLTK.cmake: FIX: The final test is done now over
- FLTK_LIBRARY instead of FLTK_LIBRARY_PATH
-
-2002-06-06 15:28 ibanez
-
- * Modules/FindFLTK.cmake: ENH: Support for FLTK1.1 and FLTK1.0.11
- added. An option allows to select between the two versions.
-
-2002-06-06 15:00 martink
-
- * CMake.rtf: updates
-
-2002-06-06 11:53 hoffman
-
- * Source/: Makefile.borland: ENH: remove borland bootstrap makefile
-
-2002-06-06 08:49 hoffman
-
- * Modules/FindGLUT.cmake: fix for glut on win32
-
-2002-06-05 13:31 martink
-
- * Source/cmMakefile.h: updated revision
-
-2002-06-05 13:30 martink
-
- * Source/cmMakefile.h: updated rev
-
-2002-06-05 13:22 martink
-
- * Source/ccommand.cxx: merged ccommand into cmake
-
-2002-06-05 09:11 martink
-
- * Source/: CMakeLib.dsp, DumpDocumentation.dsp, ccommand.dsp,
- cmake.dsp, ctest.dsp: uses executabke bootstrap
-
-2002-06-03 13:40 martink
-
- * Tests/: Complex/Library/CMakeLists.txt,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexRelativePaths/Library/CMakeLists.txt: changed CCOMMAND to
- CMAKE
-
-2002-06-03 13:08 martink
-
- * Source/CMakeLists.txt, Source/cmBorlandMakefileGenerator.cxx,
- Source/cmNMakeMakefileGenerator.cxx, Source/cmake.cxx,
- Source/cmake.h, Source/cmakemain.cxx,
- Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt: removed ccommand use
- cmake now
-
-2002-06-03 11:06 martink
-
- * CMake.rtf: updated
-
-2002-06-03 10:25 hoffman
-
- * Source/: cmMakefile.cxx, cmTarget.cxx: ENH: only add _LIB_DEPEND
- information for libraries and modules
-
-2002-05-31 08:39 martink
-
- * Source/cmSystemTools.cxx: fixed bug in get short path for quoted
- paths
-
-2002-05-29 15:00 perera
-
- * Source/cmTarget.cxx: BUG: never make a target depend on itself.
- This was causing unnecessary library duplication, resulting in
- link errors on some platforms.
-
-2002-05-29 09:56 king
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: MAKEFLAGS does not need
- to be passed on command line. It is automatically set by make in
- environment for recursive call.
-
-2002-05-28 08:56 martink
-
- * Source/: cmake.cxx, cmake.h: remobed bootstrap
-
-2002-05-28 08:50 martink
-
- * bootstrap.exe, ccommand.exe: different bootstrap command
-
-2002-05-27 10:29 barre
-
- * Tests/: Complex/VarTests.cmake, Complex/Executable/complex.cxx,
- ComplexOneConfig/VarTests.cmake,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/VarTests.cmake,
- ComplexRelativePaths/Executable/complex.cxx: ENH: add tests for
- LESS, GREATER, STRLESS, STRGREATER (IF command)
-
-2002-05-23 13:27 hoffman
-
- * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt: ENH: increse coverage
-
-2002-05-23 13:23 hoffman
-
- * Source/cmSystemTools.cxx, Source/cmSystemTools.h,
- Tests/Complex/CMakeLists.txt,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: increase
- coverage
-
-2002-05-23 13:04 hoffman
-
- * Tests/: Complex/CMakeLists.txt,
- Complex/cmTestConfigureEscape.h.in,
- Complex/Executable/complex.cxx, ComplexOneConfig/CMakeLists.txt,
- ComplexOneConfig/cmTestConfigureEscape.h.in,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/cmTestConfigureEscape.h.in,
- ComplexRelativePaths/Executable/complex.cxx: add a test for
- escape quotes and configure file
-
-2002-05-23 10:36 martink
-
- * bootstrap.exe, ccommand.exe: added win32 bootstrap support
-
-2002-05-23 10:34 martink
-
- * Source/: cmDSWWriter.cxx, cmMSDotNETGenerator.cxx: only add test
- target if testing is enabled and ctest is found
-
-2002-05-23 10:33 martink
-
- * Source/cmake.cxx: minor bootstap fixes
-
-2002-05-23 10:32 martink
-
- * Source/: cmElseCommand.cxx, cmIfCommand.cxx, cmIfCommand.h: adde
- less greater
-
-2002-05-22 13:20 hoffman
-
- * Source/cmAddCustomCommandCommand.cxx: ENH: add list expansion
- back
-
-2002-05-22 09:48 hoffman
-
- * Source/: cmMSDotNETGenerator.cxx, cmMSProjectGenerator.cxx,
- cmUnixMakefileGenerator.cxx: ENH: enable cxx by default if no
- languages have been enabled
-
-2002-05-22 09:48 hoffman
-
- * Source/cmSystemTools.cxx: ENH: better comment processing
-
-2002-05-22 09:47 hoffman
-
- * Source/: ctest.cxx, ctest.h: ENH: fix depend problem
-
-2002-05-18 16:09 starreveld
-
- * Modules/FindOpenGL.cmake: find openGL in Carbon
-
-2002-05-15 17:23 martink
-
- * Source/: cmake.cxx, cmake.h: added initial attempt to support
- win32 bootstrapping
-
-2002-05-15 11:11 berk
-
- * Source/cmSystemTools.cxx: RunCommand now checks whether the
- process died abnormally (on Unix)
-
-2002-05-14 08:42 andy
-
- * Modules/FindWish.cmake: Add better detection of wish 8.2
-
-2002-05-12 11:32 barre
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: add
- no_system_path option to FindProgram so that the PATH is ignored
-
-2002-05-12 11:31 barre
-
- * Source/: cmFindProgramCommand.cxx, cmFindProgramCommand.h:
- ENH/FIX: add NO_SYSTEM_PATH option + fix command usage
-
-2002-05-12 11:31 barre
-
- * Source/cmFindLibraryCommand.h: FIX: command usage
-
-2002-05-11 22:28 perera
-
- * Source/cmTarget.cxx: FIX: Remove assert since it was breaking
- IRIX builds.
-
-2002-05-10 14:06 millerjv
-
- * Source/cmTarget.cxx: FIX: Const reference to a set needs a
- const_iterator. (.NET build error)
-
-2002-05-10 13:35 perera
-
- * Source/CMakeLists.txt, Source/cmTarget.cxx, Source/cmTarget.h,
- Tests/Dependency/CMakeLists.txt,
- Tests/Dependency/Eight/CMakeLists.txt,
- Tests/Dependency/Eight/EightSrc.c,
- Tests/Dependency/Exec2/CMakeLists.txt,
- Tests/Dependency/Exec2/ExecMain.c,
- Tests/Dependency/Exec3/CMakeLists.txt,
- Tests/Dependency/Exec3/ExecMain.c,
- Tests/Dependency/Exec4/CMakeLists.txt,
- Tests/Dependency/Exec4/ExecMain.c,
- Tests/Dependency/Seven/CMakeLists.txt,
- Tests/Dependency/Seven/SevenSrc.c, Tests/LinkLine/CMakeLists.txt,
- Tests/LinkLine/Exec.c, Tests/LinkLine/One.c,
- Tests/LinkLine/Two.c: BUG: Correct some of the dependency
- analysis code. - Make sure the original link line is untouched -
- Avoid duplicating the link line when supporting version < 1.4 -
- Make sure the cyclic dependencies and such are output correctly
- in complicated cases. - Avoid outputing dependencies that are
- already satisfied on the original link line when possible.
-
-2002-05-10 08:54 king
-
- * Source/cmSystemTools.cxx: ERR: Added variable initializer.
-
-2002-05-09 09:33 hoffman
-
- * Source/: cmDSWWriter.cxx, cmMSDotNETGenerator.cxx, cmTarget.cxx,
- cmTarget.h, cmUnixMakefileGenerator.cxx: ENH: change set<string>
- to set<cmStdString> to avoid long symbols that crash ar on
- solaris
-
-2002-05-08 17:45 king
-
- * Tests/Wrapping/: CMakeLists.txt, itkWrapperConfig.cxx: ENH: Added
- coverage test for ITK_WRAP_TCL. Doesn't actually invoke CABLE.
-
-2002-05-08 17:45 king
-
- * Source/cmITKWrapTclCommand.cxx: ENH: Added dependency hack to
- support wrapping test.
-
-2002-05-08 17:37 king
-
- * Source/cmITKWrapTclCommand.cxx: BUG: Need to use
- CMAKE_CXX_COMPILER, not CXX, to get the C++ compiler name.
-
-2002-05-08 13:11 king
-
- * Source/: cmCommands.cxx, cmITKWrapTclCommand.cxx,
- cmITKWrapTclCommand.h: ENH: Added ITK Tcl wrapping command.
-
-2002-05-08 10:27 martink
-
- * Source/Makefile.borland: ENH: add clean command
-
-2002-05-08 09:05 hoffman
-
- * Source/cmake.cxx: ENH: fix cmake to work without ccommand.
-
-2002-05-08 08:46 hoffman
-
- * Source/cmBorlandMakefileGenerator.cxx: BUG: short path does not
- work on bcc32
-
-2002-05-07 11:03 hoffman
-
- * Source/CursesDialog/ccmake.cxx: ENH: add -B option to specify the
- build directory, so make edit_cache will work
-
-2002-05-07 09:11 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: WNG: remove a warning
-
-2002-05-07 09:03 hoffman
-
- * CMake.rtf: ENH: update with docs about the targets
-
-2002-05-07 09:02 hoffman
-
- * Source/: cmBorlandMakefileGenerator.cxx,
- cmNMakeMakefileGenerator.cxx, cmUnixMakefileGenerator.cxx,
- cmake.cxx: ENH: add an edit_cache target that runs ccmake or
- CMakeSetup
-
-2002-05-03 18:10 hoffman
-
- * Tests/: Complex/Library/CMakeLists.txt,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexRelativePaths/Library/CMakeLists.txt: fix borland test
-
-2002-05-03 16:34 hoffman
-
- * Source/: cmMakefile.cxx, cmTarget.cxx, cmTarget.h: ENH: rework
- library depend stuff
-
-2002-05-03 00:27 perera
-
- * Source/CMakeLists.txt, Source/cmTarget.cxx, Source/cmTarget.h,
- Tests/Dependency/CMakeLists.txt: - bug fix where paths weren't
- being output when LIB_OUT_PATH *isn't* used - test case for above
- mentioned bug - more comments. Comments are good.
-
-2002-05-02 19:09 hoffman
-
- * Source/cmTarget.cxx: check for optimized or debug library adds
-
-2002-05-02 16:13 hoffman
-
- * Source/: cmTarget.cxx, cmTarget.h: remove canonical conversion
- for lib names
-
-2002-05-02 15:56 hoffman
-
- * Source/: cmMakefile.cxx, cmMakefile.h, cmTarget.cxx: make it
- backwards compatible with old cmake
-
-2002-05-02 15:10 hoffman
-
- * Source/CMakeLists.txt, Source/cmMakefile.cxx,
- Source/cmTarget.cxx, Tests/Complex/Library/CMakeLists.txt,
- Tests/ComplexOneConfig/Library/CMakeLists.txt,
- Tests/ComplexRelativePaths/Library/CMakeLists.txt: Debug
- optimized cache fixes
-
-2002-05-02 13:41 perera
-
- * Source/: cmTarget.cxx, cmTarget.h: BUG: The library paths should
- stay with the libraries during dependency analysis.
-
-2002-05-02 13:17 hoffman
-
- * Source/cmAddLibraryCommand.cxx, Source/cmAddLibraryCommand.h,
- Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmTarget.cxx,
- Source/cmTarget.h, Source/cmTargetLinkLibrariesCommand.cxx,
- Source/cmUnixMakefileGenerator.cxx,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Tests/Dependency/Exec/CMakeLists.txt,
- Tests/Dependency/Six/CMakeLists.txt: ENH: change LINK_LIBRARY to
- add to targets
-
-2002-05-02 08:54 andy
-
- * configure, configure.in: Revert to make it work again
-
-2002-05-02 08:46 andy
-
- * configure, configure.in: Improve bootstrap on UNIX. Now it
- bootstraps into a separate directory.
-
-2002-05-02 02:27 perera
-
- * Source/cmTarget.cxx: BUG: if a_LIBS_DEPENDS exists but is empty,
- there are no explicit dependencies.
-
-2002-05-01 16:33 perera
-
- * Source/cmAddLibraryCommand.cxx, Source/cmAddLibraryCommand.h,
- Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmTarget.cxx,
- Tests/Dependency/CMakeLists.txt: ENH: Make the LinkLibraries
- command contribute dependencies towards AddLibraries.
-
-2002-05-01 16:24 perera
-
- * Tests/Dependency/: CMakeLists.txt, Exec/CMakeLists.txt,
- Exec/ExecMain.c, Six/CMakeLists.txt, Six/SixASrc.c,
- Six/SixBSrc.c: ENH: Make the LinkLibraries command contribute
- dependencies towards AddLibraries.
-
-2002-05-01 14:00 perera
-
- * Source/CMakeLists.txt, Source/cmDSPWriter.cxx,
- Source/cmDSWWriter.cxx, Source/cmMSDotNETGenerator.cxx,
- Source/cmMakefile.cxx, Source/cmMakefile.h,
- Source/cmNMakeMakefileGenerator.cxx, Source/cmTarget.cxx,
- Source/cmTarget.h, Source/cmUnixMakefileGenerator.cxx,
- Tests/Dependency/CMakeLists.txt,
- Tests/Dependency/Exec/CMakeLists.txt,
- Tests/Dependency/Exec/ExecMain.c,
- Tests/Dependency/Five/CMakeLists.txt,
- Tests/Dependency/Five/FiveSrc.c,
- Tests/Dependency/Four/CMakeLists.txt,
- Tests/Dependency/Four/FourSrc.c,
- Tests/Dependency/NoDepA/CMakeLists.txt,
- Tests/Dependency/NoDepA/NoDepASrc.c,
- Tests/Dependency/NoDepB/CMakeLists.txt,
- Tests/Dependency/NoDepB/NoDepBSrc.c,
- Tests/Dependency/NoDepC/CMakeLists.txt,
- Tests/Dependency/NoDepC/NoDepCSrc.c,
- Tests/Dependency/Three/CMakeLists.txt,
- Tests/Dependency/Three/ThreeSrc.c,
- Tests/Dependency/Two/CMakeLists.txt,
- Tests/Dependency/Two/TwoSrc.c: ENH: Add library dependency
- analysis.
-
-2002-05-01 11:34 berk
-
- * Source/CursesDialog/: ccmake.cxx,
- cmCursesCacheEntryComposite.cxx, cmCursesCacheEntryComposite.h,
- cmCursesMainForm.cxx, cmCursesMainForm.h: The entry widgets are
- now created with what is initially available on the terminal.
-
-2002-05-01 10:12 berk
-
- * Source/: cmIncludeCommand.cxx, cmMakefile.cxx: Reformatted the
- error printed by cmMakefile.
-
-2002-04-30 21:48 hoffman
-
- * Source/CMakeLists.txt: ENH: allow cmake tests to be run without
- dart.
-
-2002-04-30 17:49 hoffman
-
- * CMakeLists.txt, Source/CMakeLists.txt: create tests without Dart
-
-2002-04-30 17:45 hoffman
-
- * Source/cmVTKMakeInstantiatorCommand.cxx: ENH: replace freeze with
- delete
-
-2002-04-30 16:58 hoffman
-
- * Templates/: cconfigure, cconfigure.in: ENH: remove -fPIC for AIX
- gnu
-
-2002-04-30 15:33 hoffman
-
- * Source/cmMSDotNETGenerator.cxx: ENH: fix relwithdebinfo
-
-2002-04-30 14:01 hoffman
-
- * Tests/: Complex/CMakeLists.txt, Complex/cmTestConfigure.h.in,
- Complex/Executable/complex.cxx, ComplexOneConfig/CMakeLists.txt,
- ComplexOneConfig/cmTestConfigure.h.in,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/cmTestConfigure.h.in,
- ComplexRelativePaths/Executable/complex.cxx: ENH: add test for
- SEPARATE_ARGUMENTS
-
-2002-04-30 14:00 hoffman
-
- * Source/: cmCommands.cxx, cmSeparateArgumentsCommand.cxx,
- cmSeparateArgumentsCommand.h: ENH: add new command to separate
- space separated arguments
-
-2002-04-30 14:00 hoffman
-
- * Source/: cmBorlandMakefileGenerator.cxx, cmCacheManager.cxx: ENH:
- do not use count, find for map lookup
-
-2002-04-30 12:58 hoffman
-
- * Source/cmMakefile.cxx: ENH: improve speed of GetSource function
-
-2002-04-30 08:09 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: look for -l anywhere in
- link library entry not just the begining of the line
-
-2002-04-29 10:23 hoffman
-
- * Source/cmMakefile.cxx: BUG: make sure link directories are not
- duplicated
-
-2002-04-29 08:27 hoffman
-
- * Templates/: cconfigure, cconfigure.in: use multiple rpath options
- for sgi
-
-2002-04-28 16:14 perera
-
- * Source/: cmLinkLibrariesCommand.cxx,
- cmTargetLinkLibrariesCommand.cxx: ENH: Make it unnecessary to
- ever specify LINK_DIRECTORIES for any library generated in this
- project, even when LIBRARY_OUTPUT_PATH is set.
-
-2002-04-26 21:45 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: remove redirections for
- output of make commands as some things are lost
-
-2002-04-26 12:43 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: COM: just fix up a comment
-
-2002-04-26 12:42 hoffman
-
- * Templates/CCMakeSystemConfig.cmake.in: correct c flags for shared
- links
-
-2002-04-26 12:21 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx,
- Templates/CCMakeSystemConfig.cmake.in,
- Templates/CMakeSystemConfig.cmake.in: BUG: fix shared links for
- cc on hp
-
-2002-04-26 09:55 hoffman
-
- * Source/cmBuildNameCommand.cxx: ENH: fix build name
-
-2002-04-26 09:35 hoffman
-
- * Source/cmSiteNameCommand.cxx: ENH: look for nslookup and hostname
- in the right places
-
-2002-04-26 09:22 will
-
- * CMake.pdf: ENH:New pdf for CMake
-
-2002-04-26 09:17 martink
-
- * CMake.rtf: updated for 1.4
-
-2002-04-26 09:11 martink
-
- * Source/cmSourceFilesRemoveCommand.cxx: dprecated
-
-2002-04-26 08:59 martink
-
- * Source/Makefile.borland: fixed up again duh
-
-2002-04-25 16:29 martink
-
- * Source/Makefile.borland: updated to build ccommand
-
-2002-04-25 15:40 hoffman
-
- * Modules/Dart.cmake, Source/cmSiteNameCommand.cxx: fix up hostname
- for windows
-
-2002-04-25 13:09 hoffman
-
- * Source/cmake.cxx: ENH: check for mismatched generators
-
-2002-04-25 07:59 hoffman
-
- * Source/: ccommand.cxx, cmCMakeMinimumRequired.cxx,
- cmOptionCommand.cxx: WAR: remove warnings for .NET compiler
-
-2002-04-24 10:08 andy
-
- * Source/.cvsignore: Add cvsignore so that you do not see visual
- stufio files when you do cvs update
-
-2002-04-23 16:16 berk
-
- * Source/: cmake.cxx, CursesDialog/ccmake.cxx,
- CursesDialog/cmCursesMainForm.cxx,
- CursesDialog/cmCursesMainForm.h: Exit ccmake on fatal errors.
-
-2002-04-23 12:18 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: clean up depend output
-
-2002-04-23 11:33 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: add depends for utility
- targets
-
-2002-04-22 15:16 barre
-
- * Templates/CMakeNMakeWindowsSystemConfig.cmake,
- Templates/CMakeWindowsSystemConfig.cmake,
- Source/cmNMakeMakefileGenerator.cxx,
- Source/cmUnixMakefileGenerator.cxx: ENH: make CMake less
- verbose/precious
-
-2002-04-22 15:05 perera
-
- * Source/CursesDialog/: CMakeLists.txt, form/CMakeLists.txt: BUG:
- Changed from SOURCE_FILES to SET
-
-2002-04-22 14:29 barre
-
- * Source/cmNMakeMakefileGenerator.cxx: ENH: need CMAKE_LINKER_FLAGS
-
-2002-04-22 14:22 barre
-
- * Source/: cmNMakeMakefileGenerator.cxx,
- cmNMakeMakefileGenerator.h, cmUnixMakefileGenerator.cxx,
- cmUnixMakefileGenerator.h: ENH: make CMake less verbose/precious
-
-2002-04-22 14:18 martink
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt: duhZ
-
-2002-04-22 11:51 martink
-
- * Tests/: Complex/CMakeLists.txt, Complex/cmTestConfigure.h.in,
- Complex/Executable/CMakeLists.txt,
- Complex/Executable/cmVersion.h.in,
- Complex/Executable/complex.cxx, ComplexOneConfig/CMakeLists.txt,
- ComplexOneConfig/cmTestConfigure.h.in,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/cmVersion.h.in,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/cmTestConfigure.h.in,
- ComplexRelativePaths/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/cmVersion.h.in,
- ComplexRelativePaths/Executable/complex.cxx: fixed for remove
- COMMAND
-
-2002-04-22 11:50 martink
-
- * Source/: CMakeLists.txt, cmCommands.cxx, cmRemoveCommand.cxx,
- cmRemoveCommand.h: updated for 1.4
-
-2002-04-19 15:28 hoffman
-
- * Source/cmTargetLinkLibrariesCommand.cxx,
- Tests/Simple/CMakeLists.txt, Tests/Simple/simple.cxx,
- Tests/Simple/simpleLib.cxx: BUG: add link directories for target
- link libraries and add a test for it
-
-2002-04-19 14:03 martink
-
- * Source/: cmAbstractFilesCommand.cxx, cmSourceFilesCommand.cxx,
- cmWrapExcludeFilesCommand.cxx: added deprecated warnings for
- version 1.4 or later
-
-2002-04-19 13:05 hoffman
-
- * Source/cmCMakeMinimumRequired.h: ENH: fix doc line
-
-2002-04-19 12:49 martink
-
- * Source/cmNMakeMakefileGenerator.cxx: renamed unix to unixPath for
- compile error
-
-2002-04-19 11:49 hoffman
-
- * Source/cmNMakeMakefileGenerator.cxx: BUG: fix short path on files
- that do not exist
-
-2002-04-19 09:00 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: try to make sure a
- depend file only has one rule
-
-2002-04-19 08:27 hoffman
-
- * Source/: cmSystemTools.cxx, cmake.cxx: BUG: fix SameFile function
- for windows, and compare source directories
-
-2002-04-18 16:13 martink
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: work with spaces in the
- path
-
-2002-04-18 15:58 andy
-
- * Source/cmUnixMakefileGenerator.cxx: Make quotes and echos to work
- on unix (hopefully)
-
-2002-04-18 15:58 andy
-
- * Modules/FindMPI.cmake: Add mpi search paths for Debian
-
-2002-04-18 14:51 hoffman
-
- * Source/cmake.cxx: ENH: use home not start
-
-2002-04-18 14:19 hoffman
-
- * Source/cmake.cxx: ENH: check for mis-matched source directories
-
-2002-04-18 13:44 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: quote the echo commands
-
-2002-04-18 13:12 hoffman
-
- * Source/cmSystemTools.cxx: BUG: do escaped semi-colon better
-
-2002-04-18 12:02 hoffman
-
- * Source/cmMessageCommand.cxx, Source/cmSystemTools.cxx,
- Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt: ENH: add ability to
- escape semi-colons
-
-2002-04-18 11:52 martink
-
- * configure, configure.in: ENH: handle spaces in paths for cygwin
- bootstrap
-
-2002-04-18 07:58 hoffman
-
- * Source/cmCMakeMinimumRequired.cxx: BUG: add missing include
-
-2002-04-18 07:57 hoffman
-
- * Source/: CMakeLib.dsp, Makefile.borland: BUG: fix bootstrap build
- makefiles
-
-2002-04-17 16:16 hoffman
-
- * Source/cmAbstractFilesCommand.cxx,
- Source/cmAddCustomCommandCommand.cxx,
- Source/cmCMakeMinimumRequired.cxx,
- Source/cmCMakeMinimumRequired.h, Source/cmCommands.cxx,
- Source/cmOptionCommand.cxx, Tests/Complex/CMakeLists.txt,
- Tests/Complex/cmTestConfigure.h.in,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexOneConfig/cmTestConfigure.h.in,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/CMakeLists.txt,
- Tests/ComplexRelativePaths/cmTestConfigure.h.in,
- Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: backwards
- compatible for VTK 4.0, add cmake version requires
-
-2002-04-17 14:58 king
-
- * Tests/Wrapping/CMakeLists.txt: ENH: Removed tests for commands
- that no longer exist.
-
-2002-04-17 14:54 king
-
- * Source/: CMakeLists.txt, Makefile.in, cmCableClassSet.cxx,
- cmCableClassSet.h, cmCableClassSetCommand.cxx,
- cmCableClassSetCommand.h, cmCableWrapTclCommand.cxx,
- cmCableWrapTclCommand.h, cmCommands.cxx,
- cmConfigureGccXmlCommand.cxx, cmConfigureGccXmlCommand.h,
- cmMakefile.cxx: ENH: Removed out-of-date commands CABLE_WRAP_TCL
- CABLE_CLASS_SET and CONFIGURE_GCCXML
-
-2002-04-17 14:52 king
-
- * Modules/FindCABLE.cmake: ENH: Updated for latest Cable from CVS.
- Old alpha version of Cable is no longer supported.
-
-2002-04-17 14:51 king
-
- * Modules/FindGCCXML.cmake: ENH: Updated for version 0.2 of
- GCC-XML.
-
-2002-04-17 14:39 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: use convert to output
- path for depend files
-
-2002-04-17 08:28 hoffman
-
- * Modules/FindOpenGL.cmake: better to find mac opengl
-
-2002-04-17 08:15 hoffman
-
- * Templates/: CCMakeSystemConfig.cmake.in,
- CXXCMakeSystemConfig.cmake.in: more advanced values
-
-2002-04-17 08:09 hoffman
-
- * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt: ENH: more coverage
-
-2002-04-16 13:48 barre
-
- * Source/cmSystemTools.cxx: Syntax seemed to be confusing according
- to the Bill
-
-2002-04-16 09:28 barre
-
- * Source/ccommand.cxx: FIX: warning
-
-2002-04-15 09:09 hoffman
-
- * Source/cmSystemTools.cxx: use stream not sprintf
-
-2002-04-15 08:48 barre
-
- * Source/cmSystemTools.cxx: ENH: FilesDiffer checks for 0 byte
- files
-
-2002-04-14 15:32 barre
-
- * Source/cmSystemTools.cxx: ENH: more paranoid checkings
-
-2002-04-12 12:05 barre
-
- * Source/cmSystemTools.cxx: FIX: iostream binary flag should be
- used for cygwin too
-
-2002-04-12 09:57 barre
-
- * Source/cmSystemTools.cxx: FIX: fix UMR
-
-2002-04-11 18:59 barre
-
- * Source/ccommand.cxx: ENH: also displays command output
-
-2002-04-11 18:17 barre
-
- * Source/ccommand.cxx: can be used to time commands (time() &
- clock())
-
-2002-04-11 17:02 hoffman
-
- * Source/cmFindFileCommand.h, Source/cmFindLibraryCommand.h,
- Source/cmFindPathCommand.h, Source/cmFindProgramCommand.h,
- Source/cmIncludeCommand.cxx, Source/cmListFileCache.cxx,
- Source/cmMakefile.cxx, Source/cmSystemTools.cxx,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/complex.cxx: ENH: speed
- improvements
-
-2002-04-11 16:58 starreveld
-
- * Source/cmUnixMakefileGenerator.cxx:
-
- Allow modules to build properly again. (broken when Cxx testing
- was added)
-
-2002-04-11 11:30 barre
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt: ENH: increase
- coverage
-
-2002-04-11 10:29 hoffman
-
- * Source/: cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h:
- ENH: clean up utility rule generation
-
-2002-04-11 10:11 barre
-
- * Tests/: Complex/Library/CMakeLists.txt,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexRelativePaths/Library/CMakeLists.txt: ENH: use target as
- source if source is empty
-
-2002-04-11 10:05 barre
-
- * Source/: cmAddCustomCommandCommand.cxx,
- cmAddCustomCommandCommand.h: ENH: use target as source if source
- is empty
-
-2002-04-11 09:53 barre
-
- * Source/: cmNMakeMakefileGenerator.cxx,
- cmUnixMakefileGenerator.cxx: FIX: echo pb, make Nmake gen use
- Unix gen, factorize stuff in Unix gen
-
-2002-04-10 17:33 barre
-
- * Tests/: Complex/Executable/complex.cxx,
- Complex/Library/CMakeLists.txt,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexRelativePaths/Executable/complex.cxx,
- ComplexRelativePaths/Library/CMakeLists.txt: ENH: add a test to
- check if more than one post-build command can be attached. it
- fails right now.
-
-2002-04-10 16:45 andy
-
- * Source/cmUnixMakefileGenerator.cxx: Fix problem with custom
- commands on unix
-
-2002-04-10 12:13 king
-
- * Source/cmaketest.cxx: ERR: UseIt() missing return type.
-
-2002-04-10 11:23 hoffman
-
- * Tests/: Complex/Library/testConly.c,
- ComplexOneConfig/Library/testConly.c,
- ComplexRelativePaths/Library/testConly.c: ENH: only check flag on
- unix
-
-2002-04-10 08:38 hoffman
-
- * Source/cmaketest.cxx: fix warning
-
-2002-04-09 12:22 hoffman
-
- * Tests/: Complex/Library/testConly.h,
- ComplexOneConfig/Library/testConly.h,
- ComplexRelativePaths/Library/testConly.h,
- Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: ENH: check for
- compile flags and add back c flag to unix generator
-
-2002-04-09 12:15 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: check for compile flags
- and add back c flag to unix generator
-
-2002-04-09 12:02 hoffman
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- Complex/Executable/complex.cxx, Complex/Library/CMakeLists.txt,
- Complex/Library/testConly.c,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexOneConfig/Library/testConly.c,
- ComplexRelativePaths/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/complex.cxx,
- ComplexRelativePaths/Library/CMakeLists.txt,
- ComplexRelativePaths/Library/testConly.c: ENH: check for compile
- flags and add back c flag to unix generator
-
-2002-04-09 11:33 barre
-
- * DartConfig.cmake: ENH: quick stab at a rollup button
-
-2002-04-09 10:19 hoffman
-
- * Tests/: Complex/Library/testConly.c, Complex/Library/testConly.h,
- ComplexOneConfig/Library/testConly.c,
- ComplexOneConfig/Library/testConly.h,
- ComplexRelativePaths/Library/testConly.c,
- ComplexRelativePaths/Library/testConly.h: correct exports for
- windows
-
-2002-04-09 09:37 hoffman
-
- * Tests/: Complex/Library/sharedFile.h,
- ComplexOneConfig/Library/sharedFile.h,
- ComplexRelativePaths/Library/sharedFile.h: c not c++ comment
-
-2002-04-09 08:55 hoffman
-
- * DartConfig.cmake: change EST to EDT
-
-2002-04-08 19:31 biddi
-
- * Source/cmSystemTools.cxx: ERR: ReplaceString didn't work properly
- if replace was longer than with as length added to start pos on
- next search was replaceLength instead of withLength
-
-2002-04-08 15:01 hoffman
-
- * Templates/: CXXCMakeSystemConfig.cmake.in, cconfigure,
- cconfigure.in: [no log message]
-
-2002-04-08 13:36 hoffman
-
- * Source/cmExecProgramCommand.cxx,
- Source/cmUnixMakefileGenerator.cxx,
- Templates/CCMakeSystemConfig.cmake.in,
- Templates/CXXCMakeSystemConfig.cmake.in, Templates/cconfigure,
- Templates/cconfigure.in, Templates/cxxconfigure,
- Templates/cxxconfigure.in,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/Complex/Executable/complex.cxx,
- Tests/Complex/Library/CMakeLists.txt,
- Tests/Complex/Library/testConly.c,
- Tests/Complex/Library/testConly.h,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexOneConfig/Library/CMakeLists.txt,
- Tests/ComplexOneConfig/Library/testConly.c,
- Tests/ComplexOneConfig/Library/testConly.h,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Library/CMakeLists.txt,
- Tests/ComplexRelativePaths/Library/testConly.c,
- Tests/ComplexRelativePaths/Library/testConly.h: ENH: use separate
- vars for creating c++ and c shared libraries and add a test for c
- libraries
-
-2002-04-05 12:08 hoffman
-
- * Source/cmProjectCommand.cxx: expand ; args
-
-2002-04-05 10:51 martink
-
- * Modules/Dart.cmake: improved finding purify on windows to use
- registry
-
-2002-04-05 09:39 hoffman
-
- * Source/: Makefile.borland, cmaketest.cxx, cmaketest.h.in: ENH:
- make sure the test tests the right cmake, and not the cmake used
- to bootstrap this cmake
-
-2002-04-05 07:22 hoffman
-
- * Tests/TestDriver/testArgs.h: ENH: add missing file
-
-2002-04-04 16:53 hoffman
-
- * Source/cmCreateTestSourceList.cxx,
- Source/cmCreateTestSourceList.h, Tests/TestDriver/CMakeLists.txt:
- ENH: add the ability to process command line arguments in the
- test driver before the test driver gets them
-
-2002-04-04 11:01 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx,
- Templates/CXXCMakeSystemConfig.cmake.in, Templates/cxxconfigure,
- Templates/cxxconfigure.in: ENH: separate the ar program for cxx
- and c
-
-2002-04-04 10:08 hoffman
-
- * Templates/CMakeLists.txt: update install information
-
-2002-04-04 09:04 hoffman
-
- * Templates/: cxxconfigure, cxxconfigure.in: BUG: add system
- command back into script
-
-2002-04-03 16:14 hoffman
-
- * Source/cmExecProgramCommand.cxx, Source/cmExecProgramCommand.h,
- Source/cmNMakeMakefileGenerator.cxx, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h, Source/cmaketest.cxx,
- Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt: ENH: fix more space
- problems, you can add args to the ExecProgram command separatly
- now
-
-2002-04-03 13:53 andy
-
- * Modules/FindTCL.cmake: More places to find TCL/TK for example on
- Debian
-
-2002-04-02 15:42 hoffman
-
- * CMake.rtf, Example/Demo/CMakeLists.txt,
- Example/Hello/CMakeLists.txt, Source/CMakeLists.txt,
- Source/cmBorlandMakefileGenerator.cxx,
- Source/cmBorlandMakefileGenerator.h, Source/cmDSWWriter.cxx,
- Source/cmMSDotNETGenerator.cxx, Source/cmMSDotNETGenerator.h,
- Source/cmMSProjectGenerator.cxx, Source/cmMSProjectGenerator.h,
- Source/cmMakefile.cxx, Source/cmMakefile.h,
- Source/cmMakefileGenerator.cxx, Source/cmMakefileGenerator.h,
- Source/cmNMakeMakefileGenerator.cxx,
- Source/cmNMakeMakefileGenerator.h, Source/cmProjectCommand.cxx,
- Source/cmProjectCommand.h, Source/cmSetCommand.cxx,
- Source/cmSetSourceFilesPropertiesCommand.h, Source/cmTarget.cxx,
- Source/cmTarget.h, Source/cmUnixMakefileGenerator.cxx,
- Source/cmUnixMakefileGenerator.h, Source/cmake.cxx,
- Templates/cconfigure, Templates/cconfigure.in,
- Templates/cxxconfigure, Templates/cxxconfigure.in,
- Tests/COnly/CMakeLists.txt, Tests/COnly/conly.c,
- Templates/configure, Templates/configure.in,
- Templates/CCMakeSystemConfig.cmake.in,
- Templates/CXXCMakeSystemConfig.cmake.in: ENH: add enable language
- support for PROJECT command, this means that a C only project can
- be built with cmake, even without a cxx compiler
-
-2002-04-01 14:58 barre
-
- * Tests/: Complex/CMakeLists.txt, Complex/cmTestConfigure.h.in,
- ComplexOneConfig/CMakeLists.txt,
- ComplexOneConfig/cmTestConfigure.h.in,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/cmTestConfigure.h.in,
- Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: ENH: add test for
- registry-related functions (win32)
-
-2002-04-01 14:50 hoffman
-
- * Source/cmSystemTools.cxx: ENH: fix for regkey and ; separation
-
-2002-04-01 13:34 barre
-
- * Source/: ccommand.cxx, cmSystemTools.cxx, cmSystemTools.h: ENH:
- add functions to API (read, write, delete registry key value)
-
-2002-04-01 08:08 andy
-
- * Modules/FindVTK.cmake: More finds for VTK
-
-2002-03-31 11:43 andy
-
- * Modules/FindVTK.cmake: Add some more locations of VTK
-
-2002-03-30 17:17 barre
-
- * Source/: cmAbstractFilesCommand.cxx, cmSetCommand.cxx: FIX: get
- rid of warnings
-
-2002-03-29 18:07 ibanez
-
- * Modules/FindFLTK.cmake: ENH: HAS_FLTK variable added.
- FLTK_WRAP_UI command made INTERNAL.
-
-2002-03-29 16:25 barre
-
- * Source/cmCreateTestSourceList.cxx: FIX: should compare to 0, not
- NULL
-
-2002-03-29 16:03 barre
-
- * Source/: ctest.cxx, ctest.h: ENH: if -R or -E was used, displays
- also the name of the tests that passed.
-
-2002-03-29 15:41 barre
-
- * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt: FIX: fix dummy lib name for
- Unix
-
-2002-03-29 15:02 barre
-
- * Tests/: Complex/CMakeLists.txt, Complex/cmTestConfigure.h.in,
- Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/CMakeLists.txt,
- ComplexOneConfig/cmTestConfigure.h.in,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/cmTestConfigure.h.in,
- ComplexRelativePaths/Executable/CMakeLists.txt,
- Complex/Executable/complex.cxx, Complex/Library/CMakeLists.txt,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexRelativePaths/Executable/complex.cxx,
- ComplexRelativePaths/Library/CMakeLists.txt,
- Complex/Library/cmTestLibraryConfigure.h.in,
- Complex/Library/dummy, Complex/Library/empty.h,
- Complex/Library/file2.cxx, Complex/Library/file2.h,
- ComplexOneConfig/Library/cmTestLibraryConfigure.h.in,
- ComplexOneConfig/Library/dummy, ComplexOneConfig/Library/empty.h,
- ComplexOneConfig/Library/file2.cxx,
- ComplexOneConfig/Library/file2.h,
- ComplexRelativePaths/Library/cmTestLibraryConfigure.h.in,
- ComplexRelativePaths/Library/dummy,
- ComplexRelativePaths/Library/empty.h,
- ComplexRelativePaths/Library/file2.cxx,
- ComplexRelativePaths/Library/file2.h,
- Complex/Library/fileFlags.cxx,
- ComplexOneConfig/Library/fileFlags.cxx,
- ComplexRelativePaths/Library/fileFlags.cxx: ENH: fix tests
-
-2002-03-29 14:31 hoffman
-
- * Source/cmMSDotNETGenerator.cxx: output list bug
-
-2002-03-29 14:22 hoffman
-
- * Tests/: Complex/Library/cmTestLibraryConfigure.h.in,
- ComplexOneConfig/Library/cmTestLibraryConfigure.h.in,
- ComplexRelativePaths/Library/cmTestLibraryConfigure.h.in: [no log
- message]
-
-2002-03-29 14:20 hoffman
-
- * Source/cmAbstractFilesCommand.cxx,
- Source/cmAddCustomCommandCommand.cxx,
- Source/cmAddCustomTargetCommand.cxx,
- Source/cmAddDefinitionsCommand.cxx,
- Source/cmAddDependenciesCommand.cxx, Source/cmAddTestCommand.cxx,
- Source/cmCableClassSetCommand.cxx,
- Source/cmCableWrapTclCommand.cxx, Source/cmCommands.cxx,
- Source/cmCreateTestSourceList.cxx,
- Source/cmFLTKWrapUICommand.cxx, Source/cmFindFileCommand.cxx,
- Source/cmFindLibraryCommand.cxx, Source/cmFindPathCommand.cxx,
- Source/cmFindProgramCommand.cxx,
- Source/cmGetSourceFilePropertyCommand.cxx,
- Source/cmGetSourceFilePropertyCommand.h,
- Source/cmIncludeDirectoryCommand.cxx,
- Source/cmInstallFilesCommand.cxx,
- Source/cmInstallProgramsCommand.cxx,
- Source/cmInstallTargetsCommand.cxx,
- Source/cmLinkDirectoriesCommand.cxx,
- Source/cmLoadCacheCommand.cxx, Source/cmMakeDirectoryCommand.cxx,
- Source/cmMarkAsAdvancedCommand.cxx,
- Source/cmOutputRequiredFilesCommand.cxx,
- Source/cmProjectCommand.cxx, Source/cmQTWrapCPPCommand.cxx,
- Source/cmQTWrapUICommand.cxx,
- Source/cmSetSourceFilesPropertiesCommand.cxx,
- Source/cmSetSourceFilesPropertiesCommand.h,
- Source/cmSiteNameCommand.cxx, Source/cmSourceFilesCommand.cxx,
- Source/cmSourceFilesFlagsCommand.cxx,
- Source/cmSourceFilesFlagsCommand.h,
- Source/cmSourceFilesRemoveCommand.cxx,
- Source/cmSubdirCommand.cxx, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h, Source/cmUseMangledMesaCommand.cxx,
- Source/cmUseMangledMesaCommand.h,
- Source/cmUtilitySourceCommand.cxx,
- Source/cmVTKMakeInstantiatorCommand.cxx,
- Source/cmVTKWrapJavaCommand.cxx,
- Source/cmVTKWrapPythonCommand.cxx,
- Source/cmVTKWrapTclCommand.cxx,
- Source/cmVariableRequiresCommand.cxx,
- Source/cmWrapExcludeFilesCommand.cxx,
- Tests/Complex/Executable/CMakeLists.txt,
- Tests/Complex/Executable/complex.cxx,
- Tests/ComplexOneConfig/Executable/CMakeLists.txt,
- Tests/ComplexOneConfig/Executable/complex.cxx,
- Tests/ComplexRelativePaths/Executable/CMakeLists.txt,
- Tests/ComplexRelativePaths/Executable/complex.cxx,
- Tests/Complex/Library/CMakeLists.txt,
- Tests/Complex/Library/file2.cxx, Tests/Complex/Library/file2.h,
- Tests/ComplexOneConfig/Library/CMakeLists.txt,
- Tests/ComplexOneConfig/Library/file2.cxx,
- Tests/ComplexOneConfig/Library/file2.h,
- Tests/ComplexRelativePaths/Library/CMakeLists.txt,
- Tests/ComplexRelativePaths/Library/file2.cxx,
- Tests/ComplexRelativePaths/Library/file2.h: make sure ; expansion
- is done in all commands
-
-2002-03-29 11:12 hoffman
-
- * Tests/TestDriver/: CMakeLists.txt, test1.cxx, testExtraStuff.cxx,
- testExtraStuff2.cxx, testExtraStuff3.cxx: ENH: add test for set
- to create source lists
-
-2002-03-29 11:11 hoffman
-
- * Source/cmAddExecutableCommand.cxx: fix const problem
-
-2002-03-29 11:04 hoffman
-
- * Source/: cmAddExecutableCommand.cxx, cmAddLibraryCommand.cxx,
- cmSetCommand.cxx, cmSetCommand.h: ENH: add ability to use ;
- separated lists in SET and expand them for addexecutable and
- addlibrary
-
-2002-03-29 11:03 hoffman
-
- * Source/cmGetSourceFilePropertyCommand.h: fix docs
-
-2002-03-29 10:56 barre
-
- * Source/: cmMessageCommand.cxx, cmMessageCommand.h: ENH: Add
- SEND_ERROR flag to MESSAGE so that an error can be raised within
- a CMakeList file
-
-2002-03-29 10:07 hoffman
-
- * Tests/: Complex/Library/CMakeLists.txt,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexRelativePaths/Library/CMakeLists.txt: more tests
-
-2002-03-29 10:06 hoffman
-
- * Source/: cmAbstractFilesCommand.cxx,
- cmBorlandMakefileGenerator.cxx, cmCommands.cxx,
- cmCreateTestSourceList.cxx, cmDSPWriter.cxx,
- cmFLTKWrapUICommand.cxx, cmGetSourceFilePropertyCommand.cxx,
- cmGetSourceFilePropertyCommand.h, cmInstallFilesCommand.cxx,
- cmMSDotNETGenerator.cxx, cmMakeDepend.cxx, cmMakefile.cxx,
- cmMakefile.h, cmNMakeMakefileGenerator.cxx,
- cmQTWrapCPPCommand.cxx, cmQTWrapUICommand.cxx,
- cmSetSourceFilesPropertiesCommand.cxx,
- cmSetSourceFilesPropertiesCommand.h, cmSourceFile.cxx,
- cmSourceFilesCommand.cxx, cmSourceFilesFlagsCommand.cxx,
- cmTarget.cxx, cmTarget.h, cmUnixMakefileGenerator.cxx,
- cmVTKMakeInstantiatorCommand.cxx, cmVTKWrapJavaCommand.cxx,
- cmVTKWrapPythonCommand.cxx, cmVTKWrapTclCommand.cxx,
- cmWrapExcludeFilesCommand.cxx, cmaketest.cxx, cmaketest.h.in:
- ENH: major change, the cmMakefile now contains a master list of
- cmSourceFile objects, the source lists reference the list via
- pointers, also you can now set properties on a file, like compile
- flags, abstract, etc.
-
-2002-03-29 08:42 barre
-
- * Source/cmCreateTestSourceList.cxx: FIX: tolower is in <ctype.h>
- !, frenchy
-
-2002-03-28 11:43 barre
-
- * Source/cmCreateTestSourceList.cxx: ENH: perform case insensitive
- comparison on test names
-
-2002-03-27 16:19 barre
-
- * Source/cmCreateTestSourceList.cxx: FIX: cmSourceFile::SetName was
- not called correctly for the test source files
-
-2002-03-27 15:52 barre
-
- * Source/cmCreateTestSourceList.cxx: ENH: small formatting enh
-
-2002-03-27 13:54 barre
-
- * Tests/: Complex/VarTests.cmake, Complex/cmTestConfigure.h.in,
- Complex/Executable/complex.cxx, ComplexOneConfig/VarTests.cmake,
- ComplexOneConfig/cmTestConfigure.h.in,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/VarTests.cmake,
- ComplexRelativePaths/cmTestConfigure.h.in,
- ComplexRelativePaths/Executable/complex.cxx: ENH: add a more
- stressing FOREACH test.
-
-2002-03-27 13:46 barre
-
- * Source/CMakeLists.txt, Tests/TestDriver/CMakeLists.txt,
- Tests/TestDriver/test3.cxx, Tests/TestDriver/subdir/test3.cxx:
- ENH: add testdriver test with source file in subdir
-
-2002-03-27 10:55 barre
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt: FIX: do not use
- CMAKE_CFG_INTDIR, just use LINK_DIRECTORIES
-
-2002-03-27 10:54 barre
-
- * Tests/: Testing/CMakeLists.txt, Wrapping/CMakeLists.txt: FIX: do
- not need CMakeLib
-
-2002-03-26 18:06 barre
-
- * Source/cmCreateTestSourceList.cxx: ENH: keep the name of the test
- as close to the source file (only the function name is cleaned
- up)
-
-2002-03-26 17:53 barre
-
- * Source/cmCreateTestSourceList.cxx: ENH: add -R (similar to ctest
- but use substr instead of regexp). indent.
-
-2002-03-26 16:45 barre
-
- * Source/: cmForEachCommand.h, cmFunctionBlocker.h, cmMakefile.cxx:
- FIX: foreach function-blockers were using expanded args. Add
- virtual func to specify if function blocker needs them expanded
- or not.
-
-2002-03-26 16:44 barre
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH:
- ExpandListArguments(): empty elements in semi-colon-separated
- string-list can now be ignored.
-
-2002-03-26 16:42 barre
-
- * Source/cmCreateTestSourceList.cxx: ENH: now supports tests inside
- sub-dirs
-
-2002-03-26 14:42 barre
-
- * Tests/Wrapping/CMakeLists.txt: ENH: USE_MANGLED_MESA is more
- careful now. Try to trick it again.
-
-2002-03-26 14:41 barre
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt,
- Testing/CMakeLists.txt, Wrapping/CMakeLists.txt: ENH: Use
- ${CMAKE_CFG_INTDIR} instead of hardcoded RelInfo, Debug, Release,
- etc.
-
-2002-03-26 12:55 hoffman
-
- * Source/cmUseMangledMesaCommand.cxx: ENH: add error checking for
- mmesa
-
-2002-03-26 12:38 hoffman
-
- * Source/: ccommand.cxx, cmBorlandMakefileGenerator.cxx,
- cmNMakeMakefileGenerator.cxx: ENH: use ccommand for del on
- windows
-
-2002-03-26 12:38 hoffman
-
- * Source/cmaketest.cxx: ENH: show output when running tests
-
-2002-03-26 12:37 hoffman
-
- * Source/cmCreateTestSourceList.cxx: ENH: if no arguments are given
- and there is only one test, then run it
-
-2002-03-25 17:03 martink
-
- * Source/cmake.cxx: removed quotes from cmake and ccommand
- executable to be consistant
-
-2002-03-25 16:24 barre
-
- * Source/cmForEachCommand.cxx: ENH: support semi-colon format (list
- of args as string)
-
-2002-03-25 15:59 barre
-
- * Source/: ccommand.cxx, cmSystemTools.cxx: ENH: cmCopyFile ; the
- path to the destination file will be created ; second arg can be
- a directory.
-
-2002-03-25 15:58 barre
-
- * Templates/: CMakeDotNetSystemConfig.cmake,
- CMakeWindowsSystemConfig.cmake: Add suffixes
-
-2002-03-20 16:18 hoffman
-
- * Source/CMakeLists.txt, Source/cmCommands.cxx,
- Source/cmCreateTestSourceList.cxx,
- Source/cmCreateTestSourceList.h, Source/cmaketest.cxx,
- Tests/TestDriver/CMakeLists.txt, Tests/TestDriver/test1.cxx,
- Tests/TestDriver/test2.cxx, Tests/TestDriver/test3.cxx: ENH: add
- new command to create a test driver
-
-2002-03-20 13:16 hoffman
-
- * CMakeLists.txt, Source/CMakeLists.txt: ENH: remove fltk dialog as
- it is no longer supported
-
-2002-03-19 12:25 andy
-
- * Source/ccommand.cxx: Return error on copy
-
-2002-03-18 11:59 andy
-
- * Source/ccommand.cxx: Remove warning about sign and unsigned
-
-2002-03-15 15:42 andy
-
- * Source/: CMakeLists.txt, CMakeSetup.dsw, ccommand.cxx,
- ccommand.dsp, cmake.cxx: Add ccommand for executing commands on
- the system, so by using ADD_CUSTOM_COMMAND, you can make rules to
- do some system commands during build. Currently supported
- commands are copy and remove. Others will follow.
-
-2002-03-15 13:20 perera
-
- * Source/cmSourceFilesFlagsCommand.cxx: BUG: The source file may be
- specified with an extension.
-
-2002-03-15 10:43 martink
-
- * Source/ctest.cxx: less noisy about changing directories
-
-2002-03-15 09:40 berk
-
- * Templates/CMakeSystemConfig.cmake.in: There can be multiple ansi
- flags now
-
-2002-03-15 09:23 hoffman
-
- * Templates/configure: HP add Ae flag
-
-2002-03-15 09:14 berk
-
- * Templates/configure.in: Added better support for HPux
-
-2002-03-14 16:04 hoffman
-
- * Source/cmMakefile.cxx: ENH: add .in as a header file type, as it
- can not be compiled
-
-2002-03-14 16:03 hoffman
-
- * Source/CMakeLists.txt: BUG: .h not two .cxx files
-
-2002-03-14 14:59 hoffman
-
- * Source/cmSystemTools.cxx: BUG: fix RunCommand again... back to
- system, but with GetShortPath
-
-2002-03-14 14:59 hoffman
-
- * Source/cmDSPWriter.cxx: BUG: fix for paths with spaces
-
-2002-03-14 14:58 hoffman
-
- * Source/: cmNMakeMakefileGenerator.cxx,
- cmNMakeMakefileGenerator.h: BUG: fix for files with dashes in
- them
-
-2002-03-14 11:11 hoffman
-
- * Source/: cmConfigureGccXmlCommand.cxx, cmExecProgramCommand.cxx,
- cmSystemTools.cxx, cmSystemTools.h, cmaketest.cxx, ctest.cxx:
- ENH: overhaul of RunCommand on windows, if only win32 had
- popen...
-
-2002-03-13 14:23 martink
-
- * Source/: cmDSPWriter.cxx, cmDSWWriter.cxx: ENH: closer to working
- with spaces in the path
-
-2002-03-13 10:25 hoffman
-
- * Source/: CMakeLists.txt, cmAuxSourceDirectoryCommand.cxx,
- cmCableClassSet.cxx, cmCableClassSet.h, cmDirectory.cxx,
- cmDirectory.h, cmFLTKWrapUICommand.cxx, cmFindFileCommand.cxx,
- cmFindLibraryCommand.cxx, cmFindPathCommand.cxx,
- cmFindProgramCommand.cxx, cmMSDotNETGenerator.cxx,
- cmMakefile.cxx, cmNMakeMakefileGenerator.cxx,
- cmQTWrapCPPCommand.cxx, cmQTWrapUICommand.cxx,
- cmRegularExpression.cxx, cmSourceGroup.cxx, cmSystemTools.cxx,
- cmVTKMakeInstantiatorCommand.cxx, cmVTKWrapJavaCommand.cxx,
- cmVTKWrapPythonCommand.cxx, cmVTKWrapTclCommand.cxx,
- cmaketest.cxx, ctest.cxx: ENH: remove several compiler warnings
-
-2002-03-12 10:16 king
-
- * Templates/: configure, configure.in: ENH: Added test for explicit
- instantiation support.
-
-2002-03-11 16:04 hoffman
-
- * Source/cmOptionCommand.cxx: ENH: add error checking for option
- commands with too many arguments
-
-2002-03-11 12:11 hoffman
-
- * Source/: cmMSDotNETGenerator.cxx, cmMSDotNETGenerator.h: ENH: add
- support for .def files
-
-2002-03-11 08:11 hoffman
-
- * Source/cmMSDotNETGenerator.cxx: BUG: make sure libraries do not
- depend on themselves
-
-2002-03-10 18:24 hoffman
-
- * Templates/: configure, configure.in: ENH: try to get crazy dec
- cxx to work again... one more time
-
-2002-03-10 10:02 hoffman
-
- * Templates/: configure, configure.in: ENH: try to get crazy dec
- cxx to work again...
-
-2002-03-08 13:12 hoffman
-
- * Tests/: Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: ENH: more dec silly
- stuff
-
-2002-03-08 11:01 hoffman
-
- * Tests/: Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: more stupid dec cxx
- tricks...
-
-2002-03-08 08:19 hoffman
-
- * Tests/: Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: ENH: add one more
- stupid function call for the dec cxx compiler...
-
-2002-03-08 07:25 hoffman
-
- * Tests/: Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: try to fix dec cxx
-
-2002-03-07 22:07 hoffman
-
- * Tests/: Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: ENH: add more junk
- for the dec cxx compiler to force it to instantiate stuff
-
-2002-03-07 12:13 hoffman
-
- * Tests/: Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: ENH: use the string
- class to force the dec compiler to instantiate some templates
-
-2002-03-07 10:41 barre
-
- * Source/CMakeLists.txt: Build cmaketest even if testing if OFF (so
- that it can be used externally)
-
-2002-03-06 17:58 barre
-
- * Source/: ctest.cxx, ctest.h: ENH: add -E option (exclude tests
- matching a regexp)
-
-2002-03-06 16:30 barre
-
- * Source/: CMakeLists.txt, cmaketest.cxx: ENH: add cmaketest to
- install targets (so that it can be used in other projects) and
- pass the rest of its command-line args to cmake
-
-2002-03-06 10:44 hoffman
-
- * Templates/CMakeNMakeWindowsSystemConfig.cmake: build type should
- not be advanced
-
-2002-03-06 10:11 hoffman
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt: ENH: add test for
- semi-colon separated lists of libraries
-
-2002-03-06 10:10 hoffman
-
- * Source/: cmLinkLibrariesCommand.cxx, cmMSDotNETGenerator.cxx,
- cmSystemTools.cxx, cmSystemTools.h,
- cmTargetLinkLibrariesCommand.cxx: ENH: add suport for semi-colon
- separated list variables
-
-2002-03-05 18:41 hoffman
-
- * Source/: cmAddCustomCommandCommand.cxx,
- cmAddCustomTargetCommand.cxx, cmAddDefinitionsCommand.cxx,
- cmAddDependenciesCommand.cxx, cmAddExecutableCommand.cxx,
- cmAddLibraryCommand.cxx, cmAddTestCommand.cxx,
- cmBuildCommand.cxx, cmCableClassSetCommand.cxx,
- cmCableWrapTclCommand.cxx, cmConfigureFileCommand.cxx,
- cmElseCommand.cxx, cmEndIfCommand.cxx, cmExecProgramCommand.cxx,
- cmFindFileCommand.cxx, cmFindLibraryCommand.cxx,
- cmFindPathCommand.cxx, cmFindProgramCommand.cxx,
- cmGetFilenameComponentCommand.cxx, cmIfCommand.cxx,
- cmIncludeCommand.cxx, cmIncludeExternalMSProjectCommand.cxx,
- cmInstallFilesCommand.cxx, cmInstallProgramsCommand.cxx,
- cmLoadCacheCommand.cxx, cmMakeDirectoryCommand.cxx,
- cmMakefile.cxx, cmMessageCommand.cxx, cmOptionCommand.cxx,
- cmOutputRequiredFilesCommand.cxx, cmSetCommand.cxx,
- cmSourceFilesCommand.cxx, cmSubdirCommand.cxx, cmSystemTools.cxx,
- cmUnixMakefileGenerator.cxx, cmUseMangledMesaCommand.cxx,
- cmVTKMakeInstantiatorCommand.cxx: ENH: expand variables in
- arguments before the commands get them
-
-2002-03-05 18:25 hoffman
-
- * Source/cmSystemTools.cxx: BUG: get the correct return value from
- pclose
-
-2002-03-04 15:00 hoffman
-
- * Tests/: Complex/Library/fileFlags.cxx,
- ComplexOneConfig/Library/fileFlags.cxx,
- ComplexRelativePaths/Library/fileFlags.cxx: ENH: add support for
- per file flags
-
-2002-03-04 14:12 hoffman
-
- * Source/: cmCommands.cxx, cmDSPWriter.cxx, cmDSPWriter.h,
- cmMSDotNETGenerator.cxx, cmMSDotNETGenerator.h, cmSourceFile.h,
- cmSourceGroup.cxx, cmSourceGroup.h, cmUnixMakefileGenerator.cxx,
- cmSourceFilesFlagsCommand.cxx, cmSourceFilesFlagsCommand.h: ENH:
- add file specific compile flags
-
-2002-03-04 14:11 hoffman
-
- * Tests/: Complex/Library/CMakeLists.txt,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexRelativePaths/Library/CMakeLists.txt: ENH: add a test for
- per file flags
-
-2002-03-01 15:49 king
-
- * Source/: cmVTKMakeInstantiatorCommand.cxx,
- cmVTKMakeInstantiatorCommand.h: ENH: Added support for including
- extra files in generated header to get access to export macros of
- derived projects.
-
-2002-03-01 09:00 hoffman
-
- * Templates/: CMakeBorlandWindowsSystemConfig.cmake,
- CMakeDotNetSystemConfig.cmake,
- CMakeNMakeWindowsSystemConfig.cmake, CMakeSystemConfig.cmake.in,
- CMakeWindowsSystemConfig.cmake, configure, configure.in: ENH: add
- some OS/compiler variables
-
-2002-02-28 15:58 hoffman
-
- * Modules/Dart.cmake: ENH: add VERBOSE_BUILD to options
-
-2002-02-28 15:57 hoffman
-
- * Source/cmakewizard.cxx: check bool values and prefere off
-
-2002-02-28 15:42 hoffman
-
- * Source/: cmMSDotNETGenerator.cxx, cmMSDotNETGenerator.h: use xml
- output quotes for paths
-
-2002-02-28 15:06 hoffman
-
- * Templates/: configure, configure.in: change hp checks to all hps
- and not just version 10
-
-2002-02-28 11:15 hoffman
-
- * Source/cmSystemTools.cxx: BUG: look for exe path as well.
-
-2002-02-28 10:41 hoffman
-
- * Source/cmSystemTools.cxx: ENH: look for .com files before .exe
-
-2002-02-28 08:45 hoffman
-
- * Templates/CMakeDotNetSystemConfig.cmake: find path to devenv
-
-2002-02-28 07:50 hoffman
-
- * Templates/CMakeDotNetSystemConfig.cmake: ENH: add build name to
- the cache with a default value for dot net
-
-2002-02-27 18:11 hoffman
-
- * Source/cmMSDotNETGenerator.cxx, Source/cmSystemTools.cxx,
- Templates/CMakeDotNetSystemConfig.cmake: clean up in dot net
-
-2002-02-26 15:15 hoffman
-
- * Source/: ctest.cxx, ctest.h: add command line option -D for
- config directory to run
-
-2002-02-26 15:14 hoffman
-
- * Source/: cmDSWWriter.cxx, cmMSDotNETGenerator.cxx: ENH: add
- RUN_TESTS
-
-2002-02-26 11:46 barre
-
- * Source/cmAddTestCommand.cxx: FIX: command now expands args during
- the first pass (found through FOREACH example)
-
-2002-02-26 10:11 hoffman
-
- * Templates/CMakeDotNetSystemConfig.cmake: [no log message]
-
-2002-02-26 08:56 hoffman
-
- * Source/cmCableClassSet.cxx: BUG: fix type problem size_type is
- unsigned
-
-2002-02-25 18:14 hoffman
-
- * Source/: cmBuildCommand.cxx, cmDirectory.h,
- cmMSDotNETGenerator.cxx, cmMSDotNETGenerator.h,
- cmRegularExpression.h, cmSystemTools.cxx: ENH: dot net almost
- working
-
-2002-02-25 16:57 barre
-
- * Source/cmAddExecutableCommand.cxx: FIX: command now expands *all*
- args (found through FOREACH example)
-
-2002-02-25 15:22 barre
-
- * Tests/Testing/: CMakeLists.txt, Sub/CMakeLists.txt,
- Sub/Sub2/CMakeLists.txt, Sub/Sub2/testing2.cxx: ENH: provide a
- test for today's ReadListFile() bug fix
-
-2002-02-25 15:06 barre
-
- * Source/cmMakefile.cxx: FIX: although a CMakeLists.txt file could
- be searched up 'n' level in the directory tree, ReadListFile()
- always implied a CMakeLists.txt file was up *one* level.
-
-2002-02-25 13:20 hoffman
-
- * Modules/FindDart.cmake: ENH: look for Dart in c:
-
-2002-02-25 11:58 barre
-
- * Source/cmSubdirCommand.cxx: ENH: Expand vars in SUBDIRS
-
-2002-02-25 10:47 hoffman
-
- * Source/cmSystemTools.cxx: BUG: fix remove of cygdrive path stuff
-
-2002-02-23 10:00 king
-
- * Source/cmSystemTools.cxx: ERR: std::ios::binary is only needed
- for Windows platforms, and isn't supported for all UNIX
- platforms.
-
-2002-02-22 15:40 hoffman
-
- * Source/: cmAddTestCommand.cxx, cmSystemTools.cxx,
- cmUnixMakefileGenerator.cxx: ENH: fix for spaces in paths on unix
-
-2002-02-22 13:38 hoffman
-
- * Source/: cmBorlandMakefileGenerator.cxx, cmDSPWriter.cxx,
- cmExecProgramCommand.cxx, cmMSDotNETGenerator.cxx,
- cmNMakeMakefileGenerator.cxx, cmNMakeMakefileGenerator.h,
- cmSystemTools.cxx, cmSystemTools.h, cmUnixMakefileGenerator.cxx,
- cmUnixMakefileGenerator.h, cmaketest.cxx: ENH: big change in the
- path handling, one function CreateOutputPath is used to escape
- spaces and convert to the native path type
-
-2002-02-22 10:08 king
-
- * Source/cmSystemTools.cxx: ENH: Another attempt at getting
- cmCopyFile to work correctly. The previous implementation was
- correct, but didn't work on HPUX due to stream library bugs.
- This implementation will hopefully work everywhere.
-
-2002-02-21 17:32 hoffman
-
- * Source/cmSystemTools.cxx: BUG: fix copy file for HP
-
-2002-02-21 16:06 barre
-
- * Source/: ctest.cxx, ctest.h: ENH: Since each test can send a lot
- of text to stderr/stdout, ctest now displays the list of tests
- that failed at the end of the process.
-
-2002-02-21 15:55 hoffman
-
- * Source/: cmBorlandMakefileGenerator.cxx,
- cmBorlandMakefileGenerator.h, cmNMakeMakefileGenerator.cxx,
- cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: ENH: add
- a virtual CreateMakeVariable to shorten makefile variables for
- borland make
-
-2002-02-21 08:53 berk
-
- * Source/cmake.dsp: Argh
-
-2002-02-21 08:43 hoffman
-
- * Source/cmaketest.cxx: add ifdef for windows function
-
-2002-02-20 15:26 hoffman
-
- * Source/: cmMSDotNETGenerator.cxx, cmaketest.cxx: close to dot net
- working
-
-2002-02-20 09:16 berk
-
- * Source/cmake.dsp: Bill forgot to add a library to the release
- target.
-
-2002-02-19 17:56 hoffman
-
- * Source/: cmMSDotNETGenerator.cxx, cmMSDotNETGenerator.h: ENH:
- getting closer
-
-2002-02-19 11:53 hoffman
-
- * Source/: Makefile.borland, CMakeLists.txt: ENH: add dotnet stuff
-
-2002-02-19 09:43 hoffman
-
- * Source/: CMakeLib.dsp, CMakeLists.txt: add dot net stuff to
- cmakelists file and dsp file
-
-2002-02-18 17:41 hoffman
-
- * Source/: cmMSDotNETGenerator.cxx, cmMSDotNETGenerator.h,
- cmSLNWriter.cxx, cmSLNWriter.h, cmVCProjWriter.cxx,
- cmVCProjWriter.h: getting closer but still not working dot net
- support
-
-2002-02-18 14:36 hoffman
-
- * Source/: CMakeLib.dsp, cmMSDotNETGenerator.cxx,
- cmMSDotNETGenerator.h, cmSLNWriter.cxx, cmSLNWriter.h,
- cmSystemTools.cxx, cmVCProjWriter.cxx, cmVCProjWriter.h,
- cmake.cxx, cmake.dsp: ENH: first pass at dot net support
-
-2002-02-18 14:09 hoffman
-
- * Source/: cmBorlandMakefileGenerator.cxx,
- cmUnixMakefileGenerator.cxx: ENH: fix for borland tlib files with
- dash in them problem.
-
-2002-02-14 10:03 hoffman
-
- * Source/: cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h:
- ENH: only depend subdir builds on TARGETS, not all sub dir
- operations, we do not want to build when doing a make depend
-
-2002-02-14 10:01 hoffman
-
- * configure, configure.in, Templates/configure,
- Templates/configure.in: ENH: do not use O2 g as default flags
-
-2002-02-14 09:31 barre
-
- * DartConfig.cmake: ENH: Add PROJECT_URL
-
-2002-02-13 18:57 barre
-
- * DartConfig.cmake: ENH: Doxygen page
-
-2002-02-13 18:50 barre
-
- * Utilities/Doxygen/doc_makeall.sh.in: FIX: remove that good ol'
- exit 0;
-
-2002-02-13 18:32 barre
-
- * Utilities/Doxygen/doc_makeall.sh.in: FIX: update html archive
- filename
-
-2002-02-13 18:28 barre
-
- * Utilities/Doxygen/: CMakeLists.txt, authors.txt,
- doc_makeall.sh.in, doxyfile.in: ENH: Contribution graphs
-
-2002-02-13 16:17 barre
-
- * Source/CursesDialog/form/.NoDartCoverage: This dir should not be
- covered (form distrib)
-
-2002-02-12 17:38 barre
-
- * Tests/Wrapping/: CMakeLists.txt, dummy: ENH: Trick VTK_WRAP_JAVA
- in a better way (avoid CUSTOM_TARGET)
-
-2002-02-08 15:52 hoffman
-
- * Source/cmSystemTools.cxx: BUG: fix CollapseFullPath so a trailing
- slash is not added to directories
-
-2002-02-07 11:39 andy
-
- * Templates/CMakeSystemConfig.cmake.in: ERR: Cache bigendian
-
-2002-02-07 11:28 martink
-
- * Source/cmMakefile.h: next patch
-
-2002-02-07 11:27 martink
-
- * Templates/CMakeSystemConfig.cmake.in: value needed to be cached
-
-2002-02-06 12:14 hoffman
-
- * Source/cmake.cxx: ENH: add ends at end of string
-
-2002-02-06 10:50 hoffman
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: add bool return
- value so diagnostics are easier
-
-2002-02-06 10:42 hoffman
-
- * Source/cmAuxSourceDirectoryCommand.cxx: BUG: remove depend on
- directory because it is not supported by all makes
-
-2002-02-04 22:00 hoffman
-
- * Source/CursesDialog/CMakeLists.txt: ENH: use target link
- libraries and add the link directory for cmform
-
-2002-02-04 18:41 barre
-
- * Modules/: Documentation.cmake, FindGnuplot.cmake: Add module to
- find gnuplot
-
-2002-02-04 08:28 iscott
-
- * Source/cmAuxSourceDirectoryCommand.cxx: the generated
- makefiles/DSPfiles now depend on the aux source directory's last
- modified date.
-
-2002-02-01 13:08 berk
-
- * Source/cmake.cxx: Using cmSystemTools::Error() instead of cerr.
-
-2002-02-01 13:07 berk
-
- * Source/cmUnixMakefileGenerator.cxx: Better support for parallel
- builds. Subdirs depend on their parent.
-
-2002-02-01 09:28 hoffman
-
- * CMakeLists.txt, Source/CMakeLists.txt: use CMake_SOURCE and not
- CMAKE_ROOT
-
-2002-01-31 15:16 blezek
-
- * Modules/FindPythonLibs.cmake: ENH: Adding search path's for
- PYTHON_LIBRARY
-
-2002-01-31 10:32 hoffman
-
- * Source/: CMakeLists.txt, CursesDialog/CMakeLists.txt: try to get
- this working for dec cxx default compiler options
-
-2002-01-30 11:23 hoffman
-
- * Source/cmStandardIncludes.h: ENH: fix for dec compiler, they
- still do not have the correct ansi stream library
-
-2002-01-25 09:06 king
-
- * Source/CursesDialog/form/: fld_def.c, frm_data.c, frm_def.c,
- frm_driver.c: ERR: Corrected assertions of pointers to remove
- warnings.
-
-2002-01-24 14:15 berk
-
- * Source/cmSystemTools.cxx: BUG: fix for network paths
-
-2002-01-23 11:58 hoffman
-
- * Source/cmMakefile.h: patch 2 release to fix dsp header problem
-
-2002-01-23 11:52 hoffman
-
- * Source/cmDSPWriter.cxx: BUG: allow .h files to be added to the
- sources
-
-2002-01-23 10:56 barre
-
- * Source/cmaketest.cxx: ENH: run CMake a second time. The first
- time it is run, some cache values are computed. The second time
- it is run, some commands check if the value is already in the
- cache and return that value instead of re-computing it. Therefore
- this ENH: a) make sure that this specific code is tested, b)
- increase coverage.
-
-2002-01-22 17:18 king
-
- * Modules/FindVTK.cmake: ENH: Added option of disabling error
- message when VTK is not found.
-
-2002-01-22 15:55 barre
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- Complex/Executable/complex.cxx,
- Complex/Executable/Temp/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexOneConfig/Executable/Temp/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/complex.cxx,
- ComplexRelativePaths/Executable/Temp/CMakeLists.txt,
- Testing/CMakeLists.txt, Testing/Sub/CMakeLists.txt: Just rename
- dir
-
-2002-01-22 15:50 barre
-
- * Tests/: Complex/CMakeCache.txt, ComplexOneConfig/CMakeCache.txt,
- ComplexRelativePaths/CMakeCache.txt, Complex/CMakeLists.txt,
- Complex/Cache/CMakeCache.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexOneConfig/Cache/CMakeCache.txt,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/Cache/CMakeCache.txt: ENH: Move
- CMakeCache.txt to Cache/ directory to avoid any in-source build
- pb.
-
-2002-01-22 14:15 millerjv
-
- * Modules/Dart.cmake: ENH: New variables CVS_UPDATE_OPTIONS,
- DART_TESTING_TIMEOUT
-
-2002-01-22 13:30 barre
-
- * Tests/: Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt,
- Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: Coverage for
- OUTPUT_REQUIRED_FILES
-
-2002-01-22 10:17 king
-
- * Source/: cmCacheManager.cxx, cmCacheManager.h,
- cmLoadCacheCommand.cxx, cmMakefile.cxx, cmake.cxx: ERR: Removed
- cmCacheManager::DefineCache method. It is no longer needed.
-
-2002-01-22 07:37 hoffman
-
- * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt: flags already there, just
- not working
-
-2002-01-22 07:18 hoffman
-
- * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt: BUG: must use ANSI flags for
- complex test now.
-
-2002-01-21 15:30 barre
-
- * Tests/: Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: Add warnings/infos
-
-2002-01-21 15:30 barre
-
- * Tests/Wrapping/CMakeLists.txt: Add coverage for
- VTK_MAKE_INSTANTIATOR
-
-2002-01-21 15:30 will
-
- * Source/: cmAbstractFilesCommand.cxx, cmAbstractFilesCommand.h,
- cmAddCustomCommandCommand.cxx, cmAddCustomCommandCommand.h,
- cmAddCustomTargetCommand.cxx, cmAddCustomTargetCommand.h,
- cmAddDefinitionsCommand.cxx, cmAddDefinitionsCommand.h,
- cmAddDependenciesCommand.cxx, cmAddDependenciesCommand.h,
- cmAddExecutableCommand.cxx, cmAddExecutableCommand.h,
- cmAddLibraryCommand.cxx, cmAddLibraryCommand.h,
- cmAddTestCommand.cxx, cmAddTestCommand.h,
- cmAuxSourceDirectoryCommand.cxx, cmAuxSourceDirectoryCommand.h,
- cmBorlandMakefileGenerator.cxx, cmBorlandMakefileGenerator.h,
- cmBuildCommand.cxx, cmBuildCommand.h, cmBuildNameCommand.cxx,
- cmBuildNameCommand.h, cmCableClassSet.cxx, cmCableClassSet.h,
- cmCableClassSetCommand.cxx, cmCableClassSetCommand.h,
- cmCableWrapTclCommand.cxx, cmCableWrapTclCommand.h,
- cmCacheManager.cxx, cmCacheManager.h, cmCommand.h,
- cmCommands.cxx, cmCommands.h, cmConfigureFileCommand.cxx,
- cmConfigureFileCommand.h, cmConfigureGccXmlCommand.cxx,
- cmConfigureGccXmlCommand.h, cmCustomCommand.cxx,
- cmCustomCommand.h, cmDSPWriter.cxx, cmDSPWriter.h,
- cmDSWWriter.cxx, cmDSWWriter.h, cmData.h, cmDirectory.cxx,
- cmDirectory.h, cmDumpDocumentation.cxx, cmElseCommand.cxx,
- cmElseCommand.h, cmEnableTestingCommand.cxx,
- cmEnableTestingCommand.h, cmEndForEachCommand.cxx,
- cmEndForEachCommand.h, cmEndIfCommand.cxx, cmEndIfCommand.h,
- cmExecProgramCommand.cxx, cmExecProgramCommand.h,
- cmFLTKWrapUICommand.cxx, cmFLTKWrapUICommand.h,
- cmFindFileCommand.cxx, cmFindFileCommand.h,
- cmFindLibraryCommand.cxx, cmFindLibraryCommand.h,
- cmFindPathCommand.cxx, cmFindPathCommand.h,
- cmFindProgramCommand.cxx, cmFindProgramCommand.h,
- cmForEachCommand.cxx, cmForEachCommand.h, cmFunctionBlocker.h,
- cmGeneratedFileStream.h, cmGetFilenameComponentCommand.cxx,
- cmGetFilenameComponentCommand.h, cmIfCommand.cxx, cmIfCommand.h,
- cmIncludeCommand.cxx, cmIncludeCommand.h,
- cmIncludeDirectoryCommand.cxx, cmIncludeDirectoryCommand.h,
- cmIncludeExternalMSProjectCommand.cxx,
- cmIncludeExternalMSProjectCommand.h,
- cmIncludeRegularExpressionCommand.cxx,
- cmIncludeRegularExpressionCommand.h, cmInstallFilesCommand.cxx,
- cmInstallFilesCommand.h, cmInstallProgramsCommand.cxx,
- cmInstallProgramsCommand.h, cmInstallTargetsCommand.cxx,
- cmInstallTargetsCommand.h, cmLinkDirectoriesCommand.cxx,
- cmLinkDirectoriesCommand.h, cmLinkLibrariesCommand.cxx,
- cmLinkLibrariesCommand.h, cmListFileCache.cxx, cmListFileCache.h,
- cmLoadCacheCommand.cxx, cmLoadCacheCommand.h,
- cmMSProjectGenerator.cxx, cmMSProjectGenerator.h,
- cmMakeDepend.cxx, cmMakeDepend.h, cmMakeDirectoryCommand.cxx,
- cmMakeDirectoryCommand.h, cmMakefile.cxx, cmMakefile.h,
- cmMakefileGenerator.cxx, cmMakefileGenerator.h,
- cmMarkAsAdvancedCommand.cxx, cmMarkAsAdvancedCommand.h,
- cmMessageCommand.cxx, cmMessageCommand.h,
- cmNMakeMakefileGenerator.cxx, cmNMakeMakefileGenerator.h,
- cmOptionCommand.cxx, cmOptionCommand.h,
- cmOutputRequiredFilesCommand.cxx, cmOutputRequiredFilesCommand.h,
- cmProjectCommand.cxx, cmProjectCommand.h, cmQTWrapCPPCommand.cxx,
- cmQTWrapCPPCommand.h, cmQTWrapUICommand.cxx, cmQTWrapUICommand.h,
- cmRegularExpression.cxx, cmRegularExpression.h, cmSetCommand.cxx,
- cmSetCommand.h, cmSiteNameCommand.cxx, cmSiteNameCommand.h,
- cmSourceFile.cxx, cmSourceFile.h, cmSourceFilesCommand.cxx,
- cmSourceFilesCommand.h, cmSourceFilesRemoveCommand.cxx,
- cmSourceFilesRemoveCommand.h, cmSourceGroup.cxx, cmSourceGroup.h,
- cmSourceGroupCommand.cxx, cmSourceGroupCommand.h,
- cmStandardIncludes.h, cmSubdirCommand.cxx, cmSubdirCommand.h,
- cmSubdirDependsCommand.cxx, cmSubdirDependsCommand.h,
- cmSystemTools.cxx, cmSystemTools.h, cmTarget.cxx, cmTarget.h,
- cmTargetLinkLibrariesCommand.cxx, cmTargetLinkLibrariesCommand.h,
- cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h,
- cmUseMangledMesaCommand.cxx, cmUseMangledMesaCommand.h,
- cmUtilitySourceCommand.cxx, cmUtilitySourceCommand.h,
- cmVTKMakeInstantiatorCommand.cxx, cmVTKMakeInstantiatorCommand.h,
- cmVTKWrapJavaCommand.cxx, cmVTKWrapJavaCommand.h,
- cmVTKWrapPythonCommand.cxx, cmVTKWrapPythonCommand.h,
- cmVTKWrapTclCommand.cxx, cmVTKWrapTclCommand.h,
- cmVariableRequiresCommand.cxx, cmVariableRequiresCommand.h,
- cmWrapExcludeFilesCommand.cxx, cmWrapExcludeFilesCommand.h,
- cmake.cxx, cmake.h, cmakemain.cxx, cmaketest.cxx,
- cmakewizard.cxx, cmakewizard.h, ctest.cxx, ctest.h,
- CursesDialog/ccmake.cxx, CursesDialog/cmCursesBoolWidget.cxx,
- CursesDialog/cmCursesBoolWidget.h,
- CursesDialog/cmCursesCacheEntryComposite.cxx,
- CursesDialog/cmCursesCacheEntryComposite.h,
- CursesDialog/cmCursesDummyWidget.cxx,
- CursesDialog/cmCursesDummyWidget.h,
- CursesDialog/cmCursesFilePathWidget.cxx,
- CursesDialog/cmCursesFilePathWidget.h,
- CursesDialog/cmCursesForm.cxx, CursesDialog/cmCursesForm.h,
- CursesDialog/cmCursesLabelWidget.cxx,
- CursesDialog/cmCursesLabelWidget.h,
- CursesDialog/cmCursesLongMessageForm.cxx,
- CursesDialog/cmCursesLongMessageForm.h,
- CursesDialog/cmCursesMainForm.cxx,
- CursesDialog/cmCursesMainForm.h,
- CursesDialog/cmCursesPathWidget.cxx,
- CursesDialog/cmCursesPathWidget.h,
- CursesDialog/cmCursesStandardIncludes.h,
- CursesDialog/cmCursesStringWidget.cxx,
- CursesDialog/cmCursesStringWidget.h,
- CursesDialog/cmCursesWidget.cxx, CursesDialog/cmCursesWidget.h:
- ENH:Updated copyright
-
-2002-01-21 15:11 will
-
- * Copyright.txt: ENH:Formal copyright notice
-
-2002-01-21 11:39 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: remove warning from hpux
- make
-
-2002-01-21 10:38 hoffman
-
- * Source/cmaketest.cxx: ENH: check the return value of the test
- program to be run
-
-2002-01-21 10:22 barre
-
- * Tests/: Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: Comment test
- OUTPUT_REQUIRED
-
-2002-01-21 10:11 hoffman
-
- * Source/: cmSourceFile.cxx, cmSourceFilesCommand.cxx,
- cmSourceFilesRemoveCommand.cxx: BUG: fix generated files with no
- extension bug
-
-2002-01-20 02:21 barre
-
- * Tests/: Complex/VarTests.cmake, ComplexOneConfig/VarTests.cmake,
- ComplexRelativePaths/VarTests.cmake: More IF coverage
-
-2002-01-20 01:58 barre
-
- * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt, Complex/VarTests.cmake,
- ComplexOneConfig/VarTests.cmake,
- ComplexRelativePaths/VarTests.cmake,
- Complex/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt,
- Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx,
- Complex/Library/CMakeLists.txt,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexRelativePaths/Library/CMakeLists.txt,
- Complex/Library/empty.h, ComplexOneConfig/Library/empty.h,
- ComplexRelativePaths/Library/empty.h, Testing/CMakeLists.txt,
- Wrapping/vtkExcluded.h, Wrapping/vtkIncluded.h: Increase
- Coverage.
-
-2002-01-20 01:05 barre
-
- * Tests/Wrapping/: CMakeLists.txt, fltk1.fl: Add coverage for QT
- and FLTK wrappers. Also MANGLED_MESA
-
-2002-01-20 00:12 barre
-
- * Tests/: Complex/CMakeCache.txt, Complex/CMakeLists.txt,
- Complex/VarTests.cmake, Complex/cmTestConfigure.h.in,
- ComplexOneConfig/CMakeCache.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexOneConfig/VarTests.cmake,
- ComplexOneConfig/cmTestConfigure.h.in,
- ComplexRelativePaths/CMakeCache.txt,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/VarTests.cmake,
- ComplexRelativePaths/cmTestConfigure.h.in,
- Complex/Executable/CMakeLists.txt,
- Complex/Executable/complex.cxx, Complex/Library/CMakeLists.txt,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexRelativePaths/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/complex.cxx,
- ComplexRelativePaths/Library/CMakeLists.txt: More tests +
- coverage
-
-2002-01-20 00:11 barre
-
- * Tests/Testing/: CMakeLists.txt, DartConfig.cmake: More coverage +
- include Dart.cmake to maximize chance nslookup/hostname are found
-
-2002-01-20 00:11 barre
-
- * Tests/Wrapping/: CMakeLists.txt, hints, vtkExcluded.cxx,
- vtkExcluded.h, vtkIncluded.cxx, vtkIncluded.h: Add test for
- VTK_WRAP_*
-
-2002-01-20 00:06 barre
-
- * Source/cmLoadCacheCommand.h: Typo
-
-2002-01-19 21:24 barre
-
- * Tests/: Complex/CMakeLists.txt, Complex/VarTests.cmake,
- Complex/cmTestConfigure.h.in, Complex/Executable/CMakeLists.txt,
- Complex/Executable/complex.cxx, Complex/Library/CMakeLists.txt,
- ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/VarTests.cmake,
- ComplexOneConfig/cmTestConfigure.h.in,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/VarTests.cmake,
- ComplexRelativePaths/cmTestConfigure.h.in,
- ComplexRelativePaths/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/complex.cxx,
- ComplexRelativePaths/Library/CMakeLists.txt,
- Testing/CMakeLists.txt, Testing/testing.cxx,
- Wrapping/CMakeLists.txt, Wrapping/wrapping.cxx: Add
- documentation, comments. Move some 'Complex' sub-tests into 2 new
- 'Wrapping' and 'Testing' tests.
-
-2002-01-19 21:23 barre
-
- * Source/CMakeLists.txt: Add 2 new tests
-
-2002-01-19 21:22 barre
-
- * Source/cmSiteNameCommand.cxx: FIX: if the 'hostname' and
- 'nslookup' commands were not found from their HOSTNAME and
- NSLOOKUP cache definition, hard-coded values were used instead,
- thus causing pb if the corresponding progs were not in the PATH
- (RunCommand). Now use FindProgram() to be sure to find both,
- otherwise do nothing and set the site name to "unknown"
- (arbitrary. could be empty string ? or error ?).
-
-2002-01-18 23:38 hoffman
-
- * Source/cmCableClassSet.cxx: BUG: make sure regex match has a
- string to match
-
-2002-01-18 20:33 barre
-
- * Source/cmExecProgramCommand.cxx: Fix: "cd arg2 ; arg1" not
- working. OK with &&. Also should prevent from: "cd
- non_existing_dir_oops && rm -fr *"
-
-2002-01-18 20:32 barre
-
- * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt, Complex/VarTests.cmake,
- Complex/VarTests.txt, ComplexOneConfig/VarTests.cmake,
- ComplexOneConfig/VarTests.txt,
- ComplexRelativePaths/VarTests.cmake,
- ComplexRelativePaths/VarTests.txt,
- Complex/Executable/CMakeLists.txt,
- Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/complex.cxx: ENH: Increase test +
- coverage
-
-2002-01-18 19:22 barre
-
- * Tests/: Complex/CMakeCache.txt, ComplexOneConfig/CMakeCache.txt,
- ComplexRelativePaths/CMakeCache.txt: ENH: Increase test +
- coverage. This is not a bug, this cache is used for test.
-
-2002-01-18 19:21 barre
-
- * Tests/: Complex/CMakeLists.txt, ComplexOneConfig/CMakeLists.txt,
- ComplexRelativePaths/CMakeLists.txt,
- Complex/cmTestConfigure.h.in, Complex/Executable/CMakeLists.txt,
- Complex/Executable/complex.cxx, Complex/Library/CMakeLists.txt,
- ComplexOneConfig/cmTestConfigure.h.in,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexRelativePaths/cmTestConfigure.h.in,
- ComplexRelativePaths/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/complex.cxx,
- ComplexRelativePaths/Library/CMakeLists.txt: ENH: Increase test +
- coverage
-
-2002-01-18 19:21 barre
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: RemoveFile
- returns if the file was removed or not
-
-2002-01-18 17:01 barre
-
- * Source/cmLibraryCommand.h: Unused and deprecated class. Goodbye.
-
-2002-01-18 16:59 martink
-
- * Source/cmIfCommand.cxx: bug fix
-
-2002-01-18 16:45 hoffman
-
- * Source/cmIfCommand.cxx: fix if logic for null defs
-
-2002-01-18 15:54 martink
-
- * Source/: cmSourceFilesCommand.cxx, cmSourceFilesCommand.h:
- required for utilties
-
-2002-01-18 15:51 martink
-
- * Source/: cmUnixMakefileGenerator.h, cmUnixMakefileGenerator.cxx:
- fix for utilties
-
-2002-01-18 15:39 andy
-
- * Source/cmSourceFilesRemoveCommand.cxx,
- Tests/Complex/Library/CMakeLists.txt,
- Tests/ComplexOneConfig/Library/CMakeLists.txt,
- Tests/ComplexRelativePaths/Library/CMakeLists.txt: Add GENERATED
- to cmSourceFilesRemoveCommand
-
-2002-01-18 15:32 martink
-
- * Source/cmAddCustomCommandCommand.cxx: revert to old behaviour
-
-2002-01-18 15:31 barre
-
- * Tests/: Complex/Library/CMakeLists.txt,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexRelativePaths/Library/CMakeLists.txt: Fix: create_file.cxx
- is not GENERATED, it exists (so that it can be removed, until
- SOURCE_FILES_REMOVE is synced with SOURCE_FILES)
-
-2002-01-18 15:18 martink
-
- * Source/cmSiteNameCommand.cxx: minor bug fix
-
-2002-01-18 15:16 martink
-
- * Source/cmMakefile.h: bug fixes
-
-2002-01-18 14:44 martink
-
- * Source/: cmCableClassSet.cxx, cmBuildNameCommand.cxx: bug fixes
-
-2002-01-18 14:38 martink
-
- * Source/cmBuildCommand.cxx: compiler warning
-
-2002-01-18 14:07 barre
-
- * Source/cmake.cxx: Fix: escaping spaces was preventing a value
- with space to be passed correctly
-
-2002-01-18 13:37 martink
-
- * Source/: cmElseCommand.cxx, cmIfCommand.cxx: merged if MATCHES
- fix
-
-2002-01-18 13:30 martink
-
- * Source/: cmUnixMakefileGenerator.h, cmUnixMakefileGenerator.cxx:
- some fixes to recent screwerd up changes
-
-2002-01-18 12:03 barre
-
- * Tests/: Complex/CMakeLists.txt, Complex/VarTests.txt,
- Complex/cmTestConfigure.h.in, ComplexOneConfig/CMakeLists.txt,
- ComplexOneConfig/VarTests.txt,
- ComplexOneConfig/cmTestConfigure.h.in,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/VarTests.txt,
- ComplexRelativePaths/cmTestConfigure.h.in,
- Complex/Executable/complex.cxx, Complex/Library/CMakeLists.txt,
- Complex/Library/create_file.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexOneConfig/Library/create_file.cxx,
- ComplexRelativePaths/Executable/complex.cxx,
- ComplexRelativePaths/Library/CMakeLists.txt,
- ComplexRelativePaths/Library/create_file.cxx: Increase coverage,
- add tests
-
-2002-01-18 11:48 barre
-
- * Source/cmExecProgramCommand.cxx: Fix bug: was expanding second
- arg even if not passed. crashed
-
-2002-01-18 11:38 barre
-
- * Source/: cmVariableRequiresCommand.h, cmExecProgramCommand.h: Fix
- typo
-
-2002-01-18 11:37 barre
-
- * Source/: cmBuildNameCommand.cxx, cmSiteNameCommand.cxx: Fix:
- argument was not used.
-
-2002-01-18 11:36 barre
-
- * Source/cmBuildCommand.h: Fix typo (second argument was not
- reported)
-
-2002-01-18 11:36 barre
-
- * Source/cmBuildCommand.cxx: no message
-
-2002-01-18 10:28 hoffman
-
- * Source/cmCableClassSet.cxx: AIX compiler fix private to public
-
-2002-01-18 10:27 hoffman
-
- * Source/cmElseCommand.cxx: BUG: GetDefiniton can return null
-
-2002-01-18 09:02 barre
-
- * Tests/: Complex/simple.cxx, ComplexOneConfig/simple.cxx,
- ComplexRelativePaths/simple.cxx: Is not used (see Simple test)
-
-2002-01-18 07:05 hoffman
-
- * Tests/: Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: ENH: remove unused
- and non-standard io.h file
-
-2002-01-18 07:04 hoffman
-
- * Source/cmIfCommand.cxx: BUG: fix null pointer read if def is not
- defined
-
-2002-01-17 16:36 barre
-
- * Tests/: Complex/Executable/complex.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/Executable/complex.cxx: Fix: displays msg if
- passed for custom command
-
-2002-01-17 16:35 barre
-
- * Source/cmaketest.cxx: FIX: need a 'make clean' before 'make all'
- otherwise the post-build custom-command are not run (since a lib
- might be up to date already for ex.).
-
-2002-01-17 15:49 barre
-
- * Tests/: Complex/CMakeLists.txt, Complex/cmTestConfigure.h.in,
- ComplexOneConfig/CMakeLists.txt,
- ComplexOneConfig/cmTestConfigure.h.in,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/cmTestConfigure.h.in,
- Complex/Executable/complex.cxx, Complex/Library/CMakeLists.txt,
- Complex/Library/create_file.cxx,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexOneConfig/Library/create_file.cxx,
- ComplexRelativePaths/Executable/complex.cxx,
- ComplexRelativePaths/Library/CMakeLists.txt,
- ComplexRelativePaths/Library/create_file.cxx: ENH: tests
- ADD_DEPENDENCIES and ADD_CUSTOM_COMMAND
-
-2002-01-17 15:46 barre
-
- * Source/: cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h:
- Fix so that ADD_DEPENDENCIES work (the Utilities dependencies
- were not output)
-
-2002-01-17 14:11 andy
-
- * Source/: cmSourceFilesCommand.cxx, cmSourceFilesCommand.h: Add
- option of adding generated files to source list
-
-2002-01-17 12:54 hoffman
-
- * Source/cmDSPWriter.cxx: ENH: only output each link path once
-
-2002-01-17 10:48 king
-
- * Source/cmMakefile.h: ERR: Missing forward declaration of
- cmMakeDepend added.
-
-2002-01-17 09:28 hoffman
-
- * Source/cmDSPWriter.cxx: BUG: allow header files to be added to
- the dsp file
-
-2002-01-16 17:29 barre
-
- * Source/cmAddCustomCommandCommand.cxx: Remove hack.
-
-2002-01-16 17:26 andy
-
- * Source/cmAddCustomCommandCommand.cxx: Hack to make it work almost
- like before
-
-2002-01-16 15:53 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: add silent and suffixes
- to check depend file
-
-2002-01-16 15:00 hoffman
-
- * Source/cmConfigureFileCommand.cxx: BUG: make sure non cmakedef
- lines are not skipped
-
-2002-01-16 12:45 hoffman
-
- * Source/cmConfigureFileCommand.cxx: ENH: do not undef cmakedefine
- stuff, just comment out the line
-
-2002-01-15 17:21 berk
-
- * Source/cmUnixMakefileGenerator.cxx: Improved performance by
- removing implicit rules.
-
-2002-01-15 16:20 martink
-
- * CMake.pdf, CMake.rtf: updated
-
-2002-01-15 16:19 will
-
- * CMake.pdf: ENH:Support v1.2
-
-2002-01-15 16:15 hoffman
-
- * CMake.rtf: public to www.cmake.org
-
-2002-01-15 15:56 will
-
- * CMake.pdf: ENH:Docs for version 1.2
-
-2002-01-15 15:52 hoffman
-
- * CMake.rtf: update for next version
-
-2002-01-15 15:50 martink
-
- * Source/cmMakefile.h: next release
-
-2002-01-15 15:46 martink
-
- * Source/cmMakefile.h: next release
-
-2002-01-15 15:38 hoffman
-
- * ChangeLog.txt: log for relase 1.2
-
-2002-01-15 15:29 millerjv
-
- * Modules/Dart.cmake: ENH: Added DELIVER_CONTINUOUS_EMAIL as an
- advanced cache entry.
-
-2002-01-15 13:20 berk
-
- * Source/: cmFindPathCommand.cxx, cmFindProgramCommand.cxx: FIX:
- Entry doc. should never be overwritten. This may cause cmake to
- be re-run very often.
-
-2002-01-14 19:08 hoffman
-
- * Source/cmDSPWriter.cxx: ENH: do not depend on the .dsp file but
- rather depend on .dsp.cmake and if the .dsp actually changes,
- then write it, so clean and rebuild will not cause many reloads
-
-2002-01-14 18:52 hoffman
-
- * Source/cmCacheManager.cxx: ENH: try to keep the dsp files from
- changing between each write
-
-2002-01-14 16:28 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: remove extra logic not needed
- anymore because of better depends
-
-2002-01-14 16:02 berk
-
- * Source/cmUnixMakefileGenerator.cxx: Quote echo
-
-2002-01-14 14:49 berk
-
- * Source/CursesDialog/cmCursesMainForm.cxx: BUG: Curses was being
- used without initialization.
-
-2002-01-12 22:55 hoffman
-
- * Source/cmBorlandMakefileGenerator.cxx: BUG: use borland run time
- dll for shared builds to avoid crashes
-
-2002-01-11 10:55 hoffman
-
- * Templates/configure: ENH: add support for AIX shared libraries
- with gcc
-
-2002-01-11 10:54 hoffman
-
- * Templates/configure.in: ENH: add support for shared libraries
- with gcc on AIX
-
-2002-01-10 18:09 hoffman
-
- * Source/CMakeLists.txt: ENH: make the fltk build default to OFF,
- it fails on too many linux machines with the default build
-
-2002-01-10 18:09 hoffman
-
- * Source/cmNMakeMakefileGenerator.cxx: BUG: fix build of library in
- other directory if it is not there
-
-2002-01-10 16:22 andy
-
- * Source/cmConfigureFileCommand.cxx: Add space to output
-
-2002-01-08 17:18 hoffman
-
- * Source/cmBorlandMakefileGenerator.cxx: BUG: need a larger default
- page size
-
-2002-01-08 17:18 hoffman
-
- * Source/cmDSPWriter.cxx: BUG: need spaces around linker options
-
-2002-01-08 13:32 hoffman
-
- * Source/cmDSPWriter.cxx, Templates/CMakeWindowsSystemConfig.cmake:
- ENH: add CMAKE_EXTRA_LINK_FLAGS to dsp generator
-
-2002-01-08 12:57 hoffman
-
- * Templates/: configure, configure.in: ENH: use +Z not +z for pic
- and use -fPIC for gcc
-
-2002-01-08 12:53 hoffman
-
- * Templates/: configure, configure.in: ENH: add -L/usr/lib for hp
- so shared libs find that directory before the pa1.1 directory
-
-2002-01-07 17:29 barre
-
- * Modules/FindVTK.cmake: More user friendly (built tree is
- automatically used).
-
-2002-01-07 16:30 hoffman
-
- * Source/CursesDialog/cmCursesMainForm.cxx: BUG: not all displayed
- messages are errors
-
-2002-01-07 15:49 perera
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h, cmake.cxx, cmake.h:
- Rolling back symbolic path changes until it works on Windows.
-
-2002-01-07 14:12 hoffman
-
- * Templates/configure: Add sizeof some types support
-
-2002-01-07 14:07 andy
-
- * Templates/: configure.in, CMakeBorlandWindowsSystemConfig.cmake,
- CMakeNMakeWindowsSystemConfig.cmake, CMakeSystemConfig.cmake.in,
- CMakeWindowsSystemConfig.cmake: Add sizeof some types support
-
-2002-01-07 13:47 hoffman
-
- * Templates/: configure, configure.in: use -shared for sunos build
-
-2002-01-06 14:59 perera
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h, cmake.cxx, cmake.h:
- ENH: Add an invocation that maintains symbolic paths to the
- source and binary trees, mainly for systems with automounted
- network drives. ENH: CollapseFullPath() no longer adds a
- trailing "/" to directory paths.
-
-2002-01-03 16:02 andy
-
- * Source/: cmAddCustomCommandCommand.cxx,
- cmAddCustomCommandCommand.h: Fix add custom command so that it
- actually executes the code
-
-2002-01-03 14:19 martink
-
- * Source/: cmVTKWrapJavaCommand.cxx, cmVTKWrapPythonCommand.cxx:
- minor fixes
-
-2002-01-03 14:05 martink
-
- * Source/cmVTKWrapTclCommand.cxx: minor fix
-
-2002-01-03 13:56 martink
-
- * Source/cmVTKWrapTclCommand.cxx: minor fix
-
-2002-01-03 09:34 martink
-
- * Source/: cmElseCommand.cxx, cmIfCommand.cxx: expand vars nwo for
- exists test
-
-2002-01-02 16:46 martink
-
- * Source/: cmElseCommand.cxx, cmIfCommand.cxx, cmIfCommand.h: added
- exists option for if statement
-
-2002-01-02 16:45 martink
-
- * Source/: cmake.cxx, CursesDialog/cmCursesLongMessageForm.cxx,
- CursesDialog/cmCursesMainForm.cxx: prints the relese version
-
-2002-01-02 16:44 martink
-
- * Source/cmMakefile.h: added release verison to cmMakefile
-
-2002-01-02 11:54 hoffman
-
- * Source/: cmNMakeMakefileGenerator.cxx,
- cmUnixMakefileGenerator.cxx: BUG: put back recursive call to make
- for checking sources
-
-2001-12-31 12:02 berk
-
- * Source/cmUnixMakefileGenerator.cxx: Type || should have been &&
-
-2001-12-31 11:54 hoffman
-
- * Source/: cmNMakeMakefileGenerator.cxx,
- cmUnixMakefileGenerator.cxx: ENH: remove one call to make, and
- clean echo stuff a bit
-
-2001-12-30 17:18 berk
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: fix long depend list
- because it gets cut on the hp: I may look like berk, but it is
- bill H.
-
-2001-12-28 17:00 hoffman
-
- * Source/: cmNMakeMakefileGenerator.cxx,
- cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: ENH:
- remove the rule to run make depend from the top with each change
- in any cmakelist file. Instead, run make depend in the current
- directory if a source file changes, or if a .h file changes or is
- removed
-
-2001-12-28 15:58 perera
-
- * Source/: cmBorlandMakefileGenerator.cxx,
- cmNMakeMakefileGenerator.cxx, cmUnixMakefileGenerator.cxx: BUG:
- Don't generate build rules for header files.
-
-2001-12-28 15:56 perera
-
- * Source/cmMakefile.cxx: BUG: .txx are not source files. They
- contain template code which can only be compiled when included in
- a regular .cxx file. By themselves, they cause do not cause code
- to be generated.
-
-2001-12-28 15:54 perera
-
- * Source/cmSourceFile.cxx: ENH: Classify a file as source or header
- even when the extension is given explicitly.
-
-2001-12-28 15:37 hoffman
-
- * CMakeLists.txt: remove bad ADD_DEPENDENCIES commands
-
-2001-12-28 12:40 hoffman
-
- * Source/CMakeLists.txt: ERR: remove bad ADD_DEPENDENCIES commands
-
-2001-12-27 14:55 hoffman
-
- * Source/cmIfCommand.cxx: remove warning
-
-2001-12-27 13:55 hoffman
-
- * Source/cmAddDependenciesCommand.cxx: ENH: add error checking
-
-2001-12-21 15:39 hoffman
-
- * Source/: cmNMakeMakefileGenerator.cxx,
- cmUnixMakefileGenerator.cxx: BUG: fix so you can remove a
- directory in the source tree, and clean up echo of commands
-
-2001-12-21 15:11 martink
-
- * Source/CursesDialog/: cmCursesBoolWidget.cxx,
- cmCursesBoolWidget.h, cmCursesDummyWidget.cxx,
- cmCursesDummyWidget.h, cmCursesForm.h, cmCursesLabelWidget.cxx,
- cmCursesLabelWidget.h, cmCursesLongMessageForm.cxx,
- cmCursesMainForm.cxx, cmCursesMainForm.h,
- cmCursesStringWidget.cxx, cmCursesStringWidget.h,
- cmCursesWidget.cxx, cmCursesWidget.h: update interface
-
-2001-12-21 15:10 martink
-
- * Source/cmake.cxx: add patch hack
-
-2001-12-21 14:54 martink
-
- * Source/: cmBuildCommand.cxx, cmSystemTools.cxx, ctest.cxx: fix
- for dos files on UNIX make -k and flush in ctest
-
-2001-12-21 14:44 martink
-
- * Modules/: FindCurses.cmake, FindJNI.cmake, FindMPI.cmake,
- FindPythonLibs.cmake: general improvements
-
-2001-12-21 14:40 barre
-
- * Modules/: FindVTK.cmake: Change so that different flavours of VTK
- might be chosen by the user. See full instructions in that file.
-
-2001-12-21 14:40 martink
-
- * configure.in, configure: fixed for SGI CC
-
-2001-12-21 14:39 martink
-
- * Templates/: CMakeBorlandWindowsSystemConfig.cmake,
- CMakeNMakeWindowsSystemConfig.cmake,
- CMakeWindowsSystemConfig.cmake, DLLHeader.dsptemplate, configure,
- configure.in, staticLibHeader.dsptemplate: variety of bug fixes
-
-2001-12-21 09:55 ibanez
-
- * Source/cmFLTKWrapUICommand.cxx: ENH: No longer tries to create a
- directory for the output
-
-2001-12-21 09:07 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: add support for DESTDIR
- in install targets
-
-2001-12-21 00:01 perera
-
- * Source/cmUnixMakefileGenerator.cxx,
- Templates/CMakeSystemConfig.cmake.in: ENH: Add option to disable
- use of -rpath.
-
-2001-12-20 17:00 hoffman
-
- * Source/: cmBorlandMakefileGenerator.cxx,
- cmNMakeMakefileGenerator.cxx: ENH: fix for win98 check for
- directory existence
-
-2001-12-20 16:10 barre
-
- * Modules/: FindTclsh.cmake, FindWish.cmake, FindTCL.cmake: ENH:
- ADVANCED was not propagated to the new sub-mods
-
-2001-12-20 15:46 hoffman
-
- * Source/: cmNMakeMakefileGenerator.cxx,
- cmUnixMakefileGenerator.cxx: ENH: add make silent flag for nmake
- and move .SILENT: directive to top of makefile
-
-2001-12-20 15:45 barre
-
- * Modules/: FindFLTK.cmake: ENH: mark everything ADVANCED
-
-2001-12-20 15:45 hoffman
-
- * Source/cmBorlandMakefileGenerator.cxx: ENH: use better command
- for creating static library
-
-2001-12-20 15:44 hoffman
-
- * Templates/: CMakeBorlandWindowsSystemConfig.cmake,
- CMakeNMakeWindowsSystemConfig.cmake,
- CMakeWindowsSystemConfig.cmake: BUG: must use CACHE values in
- these
-
-2001-12-20 15:22 barre
-
- * Modules/FindVTK.cmake: ENH: Also look for 4.2, 4.1, 4.0
-
-2001-12-20 15:17 barre
-
- * Modules/FindVTK.cmake: ENH: Also look for 4.2, 4.1, 4.0
-
-2001-12-20 08:16 hoffman
-
- * Example/Demo/demo.cxx: remove fancy cxx stuff from the example
-
-2001-12-19 21:51 barre
-
- * Modules/FindJNI.cmake: ENH: Make everything ADVANCED
-
-2001-12-19 18:45 hoffman
-
- * Source/: cmBorlandMakefileGenerator.cxx,
- cmBorlandMakefileGenerator.h, cmNMakeMakefileGenerator.cxx,
- cmUnixMakefileGenerator.cxx: ENH: add silent mode for makefile
- builds and fix borland and nmake after the depend stuff
-
-2001-12-19 15:26 hoffman
-
- * Source/: CMakeLists.txt, cmaketest.cxx: add example to tests
-
-2001-12-19 15:25 hoffman
-
- * Example/: CMakeLists.txt, Demo/CMakeLists.txt, Demo/demo.cxx,
- Demo/demo_b.cxx, Hello/CMakeLists.txt, Hello/hello.cxx,
- Hello/hello.h: move example into the source tree so it will
- work...
-
-2001-12-19 11:38 barre
-
- * Modules/FindTCL.cmake: default ActiveState Tcl install dir is now
- C:/Tcl
-
-2001-12-19 08:35 hoffman
-
- * Source/cmVTKMakeInstantiatorCommand.cxx: change ostrstream to
- strstream
-
-2001-12-19 08:26 hoffman
-
- * Templates/configure, Templates/configure.in, configure,
- configure.in: check for LANG:std
-
-2001-12-18 21:00 hoffman
-
- * configure, configure.in, Templates/configure,
- Templates/configure.in: -LANG:std should be default on sgi for
- ansi CXX Flags
-
-2001-12-18 20:32 hoffman
-
- * Templates/staticLibHeader.dsptemplate: fix comment
-
-2001-12-18 17:30 hoffman
-
- * Templates/: configure, configure.in: syntax error
-
-2001-12-18 17:17 hoffman
-
- * Templates/configure: use cxx compiler on sgi to build static libs
-
-2001-12-18 17:16 hoffman
-
- * Templates/configure.in: use cxx compiler to build static libs on
- sgi
-
-2001-12-18 16:21 martink
-
- * Modules/FindJNI.cmake: bad spelling of java
-
-2001-12-18 14:55 king
-
- * Source/cmIfCommand.cxx: ENH: Added error reporting for missing
- arguments to ENDIF.
-
-2001-12-18 13:35 berk
-
- * Source/CursesDialog/cmCursesBoolWidget.cxx: Fixed warning.
-
-2001-12-18 11:35 king
-
- * Source/: cmVTKMakeInstantiatorCommand.cxx,
- cmVTKMakeInstantiatorCommand.h: ENH: Improved flexibility of
- command by allowing specificiation of separate input and outputs
- source lists. Multiple input source lists are now also allowed.
-
-2001-12-18 10:21 king
-
- * Source/: cmBorlandMakefileGenerator.cxx,
- cmNMakeMakefileGenerator.cxx, cmUnixMakefileGenerator.cxx: ENH:
- Improved dependency generation. If any cmake.depends is out of
- date, all of them in the tree are re-generated. This is
- necessary in certain cases when CMakeLists.txt files change.
-
-2001-12-18 09:51 king
-
- * Source/cmElseCommand.cxx: ENH: Added option to IF command to test
- if a command exists. Syntax is IF(COMMAND name-of-command).
-
-2001-12-18 09:39 king
-
- * Source/: cmIfCommand.cxx, cmMakefile.cxx, cmMakefile.h: ENH:
- Added option to IF command to test if a command exists. Syntax
- is IF(COMMAND name-of-command).
-
-2001-12-18 09:16 king
-
- * Source/cmMakefile.cxx: BUG: Existing projects have cache entries
- with the same name as the command they adjust (VTK_WRAP_JAVA in
- VTK, for example). Setting the command name as a variable is too
- dangerous.
-
-2001-12-17 17:44 andy
-
- * Source/cmSystemTools.cxx: Better handling of new lines when
- moving from dos to unix
-
-2001-12-17 16:20 king
-
- * Source/: cmCommands.cxx, cmVTKMakeInstantiatorCommand.cxx,
- cmVTKMakeInstantiatorCommand.h: ENH: Adding VTK_MAKE_INSTANTIATOR
- command. This command will be used by VTK kits to register their
- classes with vtkInstantiator.
-
-2001-12-17 16:19 king
-
- * Source/cmMakefile.cxx: ENH: Each cmake command now adds a cmake
- variable of its own name, set to ON. This allows constructs in
- CMakeLists.txt files like: IF(FOO_COMMAND) FOO_COMMAND()
- ENDIF(FOO_COMMAND) This provides the option to add CMake commands
- for extra functionality without breaking compatability with
- earlier versions of CMake.
-
-2001-12-17 11:30 hoffman
-
- * Templates/: CMakeNMakeWindowsSystemConfig.cmake,
- DLLHeader.dsptemplate: remove stack stuff
-
-2001-12-17 11:28 hoffman
-
- * Templates/CMakeWindowsSystemConfig.cmake: use a better compiler
- name
-
-2001-12-17 11:15 hoffman
-
- * Source/cmDSPWriter.cxx: ENH: allow custom commands for files that
- msdev knows about
-
-2001-12-16 18:52 barre
-
- * Source/cmVTKWrapPythonCommand.cxx: Wrap abstract class too, as
- per David Gobbi's request (for the sake of the internal
- documentation features of python").
-
-2001-12-14 22:41 hoffman
-
- * Source/cmBuildCommand.cxx: use -i not -k for make
-
-2001-12-13 13:28 berk
-
- * Source/CursesDialog/: cmCursesBoolWidget.cxx,
- cmCursesBoolWidget.h, cmCursesDummyWidget.cxx,
- cmCursesDummyWidget.h, cmCursesForm.h, cmCursesLabelWidget.cxx,
- cmCursesLabelWidget.h, cmCursesLongMessageForm.cxx,
- cmCursesMainForm.cxx, cmCursesMainForm.h,
- cmCursesStringWidget.cxx, cmCursesStringWidget.h,
- cmCursesWidget.cxx, cmCursesWidget.h: Updated toolbar.
-
-2001-12-12 18:27 hoffman
-
- * Source/CMakeLists.txt: ENH: allow local changes
-
-2001-12-12 13:57 berk
-
- * Modules/FindMPI.cmake: Added doc.
-
-2001-12-12 12:05 king
-
- * Modules/FindCurses.cmake: ENH: Added /lib to curses search path.
-
-2001-12-12 11:51 berk
-
- * Modules/FindMPI.cmake: Added support for a 2nd mpi library
- (usually mpi++)
-
-2001-12-11 15:59 king
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: cmake.depends files of
- zero size were not being re-written in some cases. Added a
- comment output to the top of the file so it will be re-written
- every time.
-
-2001-12-11 14:09 blezek
-
- * Modules/FindPythonLibs.cmake: ENH: Adding /usr/*/python1.5 for
- RedHat 7.1/Python 1.5 users
-
-2001-12-11 12:29 hoffman
-
- * Source/cmSubdirDependsCommand.cxx: remove warning
-
-2001-12-11 10:42 hoffman
-
- * Source/: cmUnixMakefileGenerator.cxx: check for empty library
- output path
-
-2001-12-11 10:39 hoffman
-
- * Source/ctest.cxx: ENH: add flush
-
-2001-12-11 02:21 ibanez
-
- * Source/: cmFLTKWrapUICommand.h, cmFLTKWrapUICommand.cxx: FIX: The
- command was modified it uses now a target and a source list
- composed of .fl files. The names of the generated .cxx files are
- added internally to the Sources list of the target.
-
-2001-12-11 02:17 ibanez
-
- * Source/: cmUnixMakefileGenerator.cxx, cmTarget.h: FIX:
- GENERATED_CODE type is no longer needed: generated code is not a
- Target.
-
-2001-12-10 12:10 king
-
- * Modules/FindTclsh.cmake: ENH: Added more filenames for tclsh
- program. Also now only looks for cygtclsh80 if under cygwin.
-
-2001-12-10 12:04 king
-
- * Modules/FindTclsh.cmake: ENH: Added more filenames for tclsh
- program. Also now only looks for cygtclsh80 if under cygwin.
-
-2001-12-10 12:02 perera
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: LIBRARY_OUTPATH_PATH may
- be "set" to the null string, in which case it should be ignored.
-
-2001-12-10 11:27 king
-
- * Source/: cmMakefile.cxx, cmMakefile.h,
- cmSubdirDependsCommand.cxx, cmSubdirDependsCommand.h,
- cmUnixMakefileGenerator.cxx: ENH: Parallel build support is now
- automatic. SUBDIR_DEPENDS command now does nothing. Also fixed
- a bug in CMakeLists.txt file inheritance when a directory level
- is skipped.
-
-2001-12-10 11:03 king
-
- * Source/: cmMakefile.cxx, cmMakefile.h,
- cmSubdirDependsCommand.cxx, cmSubdirDependsCommand.h,
- cmUnixMakefileGenerator.cxx: ENH: SUBDIR_DEPENDS command now does
- nothing. The parallel build functionality is now automatic.
- Dependencies are setup to force the same build order as a single
- threaded build, but multiple files in the same directory can be
- built simultaneously. Also fixed bug with inheriting
- CMakeLists.txt files when a directory level is skipped.
-
-2001-12-08 21:17 hoffman
-
- * Source/: cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h:
- merge bug fixes to release
-
-2001-12-08 21:16 hoffman
-
- * Source/cmCacheManager.cxx: merge bug fixes to release, mistaken
- comment in cache
-
-2001-12-08 21:10 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: if LIBRARY_OUTPUT_PATH
- is set, then use the fullpath for a remote target
-
-2001-12-08 20:49 hoffman
-
- * Source/cmUnixMakefileGenerator.h: WAR: remove warning
-
-2001-12-07 19:11 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: executable extension
- wrong for ctest search, and was not looking in Debug and Release
-
-2001-12-07 18:27 berk
-
- * Source/cmCacheManager.cxx: If an entry starts with // (network
- paths), double quote it.
-
-2001-12-07 18:15 perera
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: the rule for generating
- a library no longer has the full path, and so the dependency
- targets shouldn't, either.
-
-2001-12-07 18:12 berk
-
- * Source/cmCacheManager.cxx: Comments start with TWO leading
- slashes not _one_
-
-2001-12-07 16:06 martink
-
- * Source/cmMakefile.h: version rev
-
-2001-12-07 16:01 martink
-
- * Source/cmMakefile.h: release 10
-
-2001-12-07 15:47 hoffman
-
- * Source/cmCacheManager.cxx, Source/cmMarkAsAdvancedCommand.cxx,
- Source/cmMarkAsAdvancedCommand.h,
- Templates/CMakeBorlandWindowsSystemConfig.cmake: ENH: add mark as
- not advanced to mark as advanced
-
-2001-12-07 14:57 hoffman
-
- * ChangeLog.txt: yet another release
-
-2001-12-07 14:31 hoffman
-
- * Source/cmaketest.cxx: ENH: convert to windows paths
-
-2001-12-07 13:10 hoffman
-
- * Source/cmaketest.cxx: ENH: use windows paths to run commands and
- escape spaces
-
-2001-12-07 10:58 hoffman
-
- * Source/: cmBorlandMakefileGenerator.cxx,
- cmNMakeMakefileGenerator.cxx, cmUnixMakefileGenerator.cxx,
- cmUnixMakefileGenerator.h: ENH: add custom commands for targets
-
-2001-12-07 10:32 barre
-
- * Templates/CMakeBorlandWindowsSystemConfig.cmake: Remove "unused
- var" warning from C_FLAGS
-
-2001-12-06 20:04 barre
-
- * Source/cmNMakeMakefileGenerator.cxx: Do not output library search
- path if the library path option/flag is empty + add
- CMAKE_LINKER_HIDE_PARAMETERS since some linkers just do not
- support the @<< syntax
-
-2001-12-06 20:02 barre
-
- * Templates/CMakeNMakeWindowsSystemConfig.cmake: Add
- CMAKE_LINKER_HIDE_PARAMETERS since some linkers just do not
- support the @<< syntax
-
-2001-12-06 17:40 andy
-
- * Source/CursesDialog/cmCursesMainForm.cxx: Fix bug with string
-
-2001-12-06 17:09 hoffman
-
- * Source/cmakewizard.cxx: ENH: call convert to unix slashes for
- path and filepath entries
-
-2001-12-06 17:07 berk
-
- * Source/CursesDialog/cmCursesMainForm.cxx: Added support for ~.
-
-2001-12-06 16:50 martink
-
- * Source/cmSystemTools.cxx: handle tildas
-
-2001-12-06 13:32 barre
-
- * Source/cmUnixMakefileGenerator.cxx: Lib path should be converted
- to native path too.
-
-2001-12-06 13:31 barre
-
- * Source/: cmBorlandMakefileGenerator.cxx,
- cmBorlandMakefileGenerator.h, cmNMakeMakefileGenerator.cxx,
- cmNMakeMakefileGenerator.h: Fix the command quoting pb (remove
- m_QuoteNextCommand), move ConvertToNativePath to NMake gen
-
-2001-12-06 11:52 martink
-
- * Modules/Dart.cmake: better use of modules
-
-2001-12-06 11:52 martink
-
- * Modules/FindDart.cmake: better docs
-
-2001-12-06 11:52 martink
-
- * Modules/FindTCL.cmake: now broken into pieces
-
-2001-12-06 11:51 martink
-
- * Modules/: FindTclsh.cmake, FindWish.cmake: new modules
-
-2001-12-06 11:49 martink
-
- * Source/CursesDialog/ccmake.cxx: Cleaning last line at exit.
-
-2001-12-06 10:24 martink
-
- * Templates/CMakeSystemConfig.cmake.in: made install prefix non
- advanced
-
-2001-12-05 15:36 perera
-
- * Modules/FindTCL.cmake: ENH: add more possible names for
- executables.
-
-2001-12-05 15:28 barre
-
- * Source/: cmNMakeMakefileGenerator.cxx, cmCacheManager.cxx: Add
- single quotes feature.
-
-2001-12-05 15:00 barre
-
- * Templates/CMakeNMakeWindowsSystemConfig.cmake: Add single quotes
- feature.
-
-2001-12-05 12:07 martink
-
- * Source/cmMakefile.h: up version
-
-2001-12-05 11:59 martink
-
- * Source/cmMakefile.h: up version
-
-2001-12-05 11:38 hoffman
-
- * ChangeLog.txt: new version
-
-2001-12-05 11:37 will
-
- * CMake.pdf: updated from rtf
-
-2001-12-05 11:32 hoffman
-
- * CMake.rtf: ENH: update cvs path
-
-2001-12-04 18:49 starreveld
-
- * Templates/: configure, configure.in:
-
- Add the flat_namespace and undefined suppress flags to OSX builds
-
-2001-12-04 17:28 hoffman
-
- * Source/cmSystemTools.cxx: ENH: remove /tmp_mnt from all paths in
- convert to unix slashes
-
-2001-12-04 16:19 berk
-
- * Source/CursesDialog/cmCursesMainForm.cxx: Fixed outdated comment
-
-2001-12-04 15:55 hoffman
-
- * Templates/CMakeBorlandWindowsSystemConfig.cmake: add tWM to c
- flags as well as CXX flags
-
-2001-12-04 15:53 berk
-
- * Source/CursesDialog/cmCursesMainForm.cxx: Fixed overflow problem.
-
-2001-12-04 15:16 hoffman
-
- * Templates/CMakeBorlandWindowsSystemConfig.cmake: ENH: add -tWM to
- default flags for compilation
-
-2001-12-04 12:03 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: crazy fix for putenv, and
- native path called on custom command paths
-
-2001-12-04 11:20 berk
-
- * Source/CursesDialog/cmCursesStandardIncludes.h: replacing clear()
-
-2001-12-04 11:16 berk
-
- * Source/CursesDialog/: ccmake.cxx, cmCursesForm.cxx,
- cmCursesForm.h, cmCursesLongMessageForm.cxx,
- cmCursesMainForm.cxx, cmCursesStringWidget.cxx: Added debugging.
-
-2001-12-04 10:55 barre
-
- * Modules/: Documentation.cmake, FindCygwin.cmake,
- FindDoxygen.cmake, FindHhc.cmake, FindPerl.cmake,
- FindSelfPackers.cmake, FindUnixCommands.cmake, FindWget.cmake:
- Remove unneeded test and code duplication. Add WIN32 test. Make
- all ADVANCED.
-
-2001-12-04 10:54 barre
-
- * Modules/Dart.cmake: Remove code duplication. Call FindTcl.cmake,
- which also does the ADVANCED stuff.
-
-2001-12-04 10:53 barre
-
- * Modules/FindTCL.cmake: Make shells also ADVANCED
-
-2001-12-04 10:27 barre
-
- * Modules/FindPythonLibs.cmake: Make vars ADVANCED for WIN32 (same
- as Tcl)
-
-2001-12-04 10:11 hoffman
-
- * Source/CursesDialog/form/frm_driver.c: no c++ comments in c code,
- duhhhh
-
-2001-12-03 19:58 hoffman
-
- * Source/CursesDialog/form/frm_driver.c: ENH: AIX seems to define
- lines and columns as macros, I undefed them
-
-2001-12-03 18:04 hoffman
-
- * Templates/CMakeBorlandWindowsSystemConfig.cmake: ENH: fix crashes
- in console apps
-
-2001-12-03 17:47 hoffman
-
- * Source/cmVariableRequiresCommand.cxx: ENH: let people know the
- variable is advanced
-
-2001-12-03 17:01 hoffman
-
- * Modules/FindOpenGL.cmake, Source/cmBorlandMakefileGenerator.cxx,
- Templates/CMakeBorlandWindowsSystemConfig.cmake: ENH: fix
- debugging with borland
-
-2001-12-03 17:00 hoffman
-
- * Source/cmake.cxx: ENH: add -C load cache file option
-
-2001-12-03 15:55 martink
-
- * Source/ctest.cxx: minor fix for not found executables
-
-2001-12-03 15:48 hoffman
-
- * CMake.rtf: [no log message]
-
-2001-12-03 15:11 berk
-
- * Source/: cmake.cxx: Fixed help.
-
-2001-12-03 13:05 hoffman
-
- * Source/Makefile.borland: add wizard
-
-2001-12-03 09:39 hoffman
-
- * CMake.rtf: update docs some
-
-2001-12-02 18:22 ibanez
-
- * Source/cmFLTKWrapUICommand.cxx: ENH: AddCustomCommand register
- now multiple outputs. Auxiliary variable manage the output
- directory where FLTK generated code is going to be writen.
-
-2001-11-30 17:20 barre
-
- * Source/: cmBuildCommand.cxx, cmDSPWriter.cxx, cmDSWWriter.cxx,
- cmIfCommand.cxx, cmUnixMakefileGenerator.cxx, cmake.cxx: fix
- warning for Borland build
-
-2001-11-30 16:51 hoffman
-
- * Source/cmakewizard.h: [no log message]
-
-2001-11-30 16:48 hoffman
-
- * Source/CMakeLib.dsp, Source/CMakeLists.txt,
- Source/Makefile.borland, Source/Makefile.in,
- Source/cmBorlandMakefileGenerator.cxx,
- Source/cmBorlandMakefileGenerator.h,
- Source/cmBorlandMakefileGenerator2.cxx,
- Source/cmBorlandMakefileGenerator2.h,
- Source/cmForEachCommand.cxx, Source/cmake.cxx,
- Source/cmakemain.cxx, Source/cmakewizard.cxx,
- Templates/CMakeBorlandWindowsSystemConfig.cmake,
- Templates/CMakeWindowsBorlandConfig.cmake,
- Templates/CMakeWindowsBorlandConfig2.cmake: new borland generator
- moved into place
-
-2001-11-30 16:27 hoffman
-
- * Source/: cmBorlandMakefileGenerator.cpp,
- cmBorlandMakefileGenerator.h: Replace with nmake subclassed
- generator
-
-2001-11-30 16:05 barre
-
- * Source/: cmBorlandMakefileGenerator2.cxx,
- cmNMakeMakefileGenerator.cxx, cmUnixMakefileGenerator.cxx: Add
- options for library manager (lib).
-
-2001-11-30 16:04 barre
-
- * Templates/CMakeNMakeWindowsSystemConfig.cmake: Add options for
- library manager (lib). Alpha sort
-
-2001-11-30 15:55 berk
-
- * Modules/FindTCL.cmake: Unix users are smarter.
-
-2001-11-30 15:04 berk
-
- * Source/CursesDialog/: cmCursesMainForm.cxx,
- cmCursesStringWidget.cxx: Improving interface.
-
-2001-11-30 14:50 hoffman
-
- * Source/CursesDialog/cmCursesMainForm.cxx: print cmake running
- message to cerr
-
-2001-11-30 14:33 barre
-
- * Templates/CMakeNMakeWindowsSystemConfig.cmake,
- Source/cmNMakeMakefileGenerator.cxx: Add linker flags for each
- build type
-
-2001-11-30 14:24 berk
-
- * Source/CursesDialog/cmCursesMainForm.cxx: Better documentation.
-
-2001-11-30 14:16 berk
-
- * Source/CursesDialog/cmCursesMainForm.cxx: Better documentation.
-
-2001-11-30 13:59 berk
-
- * Source/CursesDialog/: cmCursesLongMessageForm.cxx,
- cmCursesMainForm.cxx, cmCursesStringWidget.cxx: Improved help.
-
-2001-11-30 13:53 berk
-
- * Templates/CMakeSystemConfig.cmake.in: Removed unused options.
-
-2001-11-30 13:10 barre
-
- * Templates/CMakeNMakeWindowsSystemConfig.cmake: CMAKE_ANSI_CFLAGS
- is used by VTK, so it should be set in the NMake config so that
- it gets expanded (even to "")
-
-2001-11-30 13:09 hoffman
-
- * Source/cmNMakeMakefileGenerator.cxx: fix library suffix
-
-2001-11-30 12:41 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: remove suffix rules
-
-2001-11-30 12:05 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: add new suffix rules
-
-2001-11-30 11:34 berk
-
- * Source/CursesDialog/: ccmake.cxx, cmCursesLongMessageForm.cxx,
- cmCursesMainForm.cxx, cmCursesStandardIncludes.h: Can non use
- clear because it is undef'ed.
-
-2001-11-30 10:58 berk
-
- * Source/CursesDialog/ccmake.cxx: Fixed warning.
-
-2001-11-30 10:54 berk
-
- * Source/CursesDialog/: ccmake.cxx, cmCursesMainForm.cxx: Fixed
- warning.
-
-2001-11-30 10:51 berk
-
- * Source/CursesDialog/: cmCursesMainForm.h, cmCursesMainForm.cxx:
- Since it is being used as an array size in another file, it is
- not possible to initialize MAX_WIDTH in a .cxx file.
-
-2001-11-30 10:41 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: fix warning
-
-2001-11-30 10:39 berk
-
- * Source/CursesDialog/: cmCursesLongMessageForm.cxx,
- cmCursesLongMessageForm.h: Missed std::
-
-2001-11-30 10:28 berk
-
- * Source/CursesDialog/cmCursesMainForm.h: Missed std::
-
-2001-11-30 10:27 berk
-
- * Templates/CMakeSystemConfig.cmake.in: CMAKE_WORDS_BIGENDIAN
- should not be in the cache.
-
-2001-11-30 10:23 berk
-
- * Modules/FindPythonLibs.cmake: PYTHON_DEBUG_LIBRARY is only used
- on Windows.
-
-2001-11-30 09:19 barre
-
- * Templates/CMakeSystemConfig.cmake.in: fix: If documentation
- added, then need cache type
-
-2001-11-29 23:45 berk
-
- * Source/CursesDialog/: cmCursesLongMessageForm.cxx,
- cmCursesLongMessageForm.h: opps I forgot to add these
-
-2001-11-29 23:24 hoffman
-
- * Source/Makefile.borland, Source/cmBorlandMakefileGenerator2.cxx,
- Source/cmNMakeMakefileGenerator.cxx,
- Source/cmUnixMakefileGenerator.cxx,
- Templates/CMakeSystemConfig.cmake.in,
- Templates/CMakeWindowsBorlandConfig2.cmake: ENH: fix various
- problems caused by the generalization of nmake generator
-
-2001-11-29 20:59 barre
-
- * Source/cmBorlandMakefileGenerator2.cxx,
- Source/cmNMakeMakefileGenerator.cxx,
- Source/cmUnixMakefileGenerator.cxx,
- Source/cmUnixMakefileGenerator.h,
- Templates/CMakeNMakeWindowsSystemConfig.cmake,
- Templates/CMakeSystemConfig.cmake.in,
- Templates/CMakeWindowsBorlandConfig2.cmake,
- Templates/CMakeWindowsSystemConfig.cmake: Nmake build: move most
- of hard-coded values to config parameters
-
-2001-11-29 16:44 berk
-
- * Source/: cmListFileCache.cxx, cmSystemTools.cxx, cmSystemTools.h,
- ctest.cxx, CursesDialog/CMakeLists.txt, CursesDialog/ccmake.cxx,
- CursesDialog/cmCursesCacheEntryComposite.cxx,
- CursesDialog/cmCursesCacheEntryComposite.h,
- CursesDialog/cmCursesForm.h, CursesDialog/cmCursesMainForm.cxx,
- CursesDialog/cmCursesMainForm.h: Improvements to the curses
- interface.
-
-2001-11-29 14:51 barre
-
- * Source/cmNMakeMakefileGenerator.cxx: Fix space pb (embended, then
- escaped)
-
-2001-11-29 09:22 hoffman
-
- * Source/Makefile.borland: add bootstrap makefile for borland
- compiler
-
-2001-11-29 09:09 hoffman
-
- * Source/CMakeLists.txt, Source/cmBorlandMakefileGenerator2.cxx,
- Source/cmakewizard.cxx,
- Templates/CMakeWindowsBorlandConfig2.cmake: fix for shared libs
- and borland
-
-2001-11-29 01:51 ibanez
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: GENERATED_CODE case
- added to switch.
-
-2001-11-29 01:48 ibanez
-
- * Source/cmTarget.h: ENH: A type of target was added for
- representing GENERATED_CODE
-
-2001-11-29 01:46 ibanez
-
- * Source/cmFLTKWrapUICommand.cxx: ENH: Custom commands are now
- builded.
-
-2001-11-28 18:07 hoffman
-
- * Source/CMakeLib.dsp, Source/cmBorlandMakefileGenerator2.cxx,
- Source/cmBorlandMakefileGenerator2.h,
- Source/cmNMakeMakefileGenerator.cxx,
- Source/cmNMakeMakefileGenerator.h,
- Source/cmUnixMakefileGenerator.cxx,
- Source/cmUnixMakefileGenerator.h,
- Templates/CMakeWindowsBorlandConfig2.cmake: ENH: borland
- generator 2 is working more or less
-
-2001-11-28 14:45 ibanez
-
- * Source/cmFLTKWrapUICommand.cxx: ENH: Command simplified in order
- to construct a Source list of .cxx from a source list of .fl
- GUI files.
-
-2001-11-28 14:44 ibanez
-
- * Source/cmFLTKWrapUICommand.h: ENH: The command was simplified to
- generate a source list of cxx from a source list of .fl GUI
- files.
-
-2001-11-28 12:49 barre
-
- * Modules/FindPythonLibs.cmake: Fynd Python debug lib in usual libs
- dir too
-
-2001-11-28 11:12 hoffman
-
- * Source/: CMakeLists.txt, cmBorlandMakefileGenerator2.cxx,
- cmBorlandMakefileGenerator2.h, cmNMakeMakefileGenerator.cxx,
- cmNMakeMakefileGenerator.h, cmake.cxx: add new borland generator
-
-2001-11-28 10:51 hoffman
-
- * Source/cmaketest.cxx: [no log message]
-
-2001-11-28 07:15 hoffman
-
- * Source/: cmNMakeMakefileGenerator.cxx,
- cmNMakeMakefileGenerator.h, cmUnixMakefileGenerator.cxx,
- cmUnixMakefileGenerator.h: bug: fix same path comparison when
- short paths are used
-
-2001-11-28 07:14 hoffman
-
- * Source/cmMarkAsAdvancedCommand.cxx: fix warning
-
-2001-11-27 17:53 berk
-
- * Source/: cmNMakeMakefileGenerator.cxx,
- cmNMakeMakefileGenerator.h, cmUnixMakefileGenerator.cxx,
- cmUnixMakefileGenerator.h: ENH: nmake generator much closer to
- working with spaces
-
-2001-11-27 17:32 berk
-
- * Source/cmMakefile.cxx: ENH: expand variables in a command before
- escaping spaces in the command
-
-2001-11-27 17:31 berk
-
- * Source/cmOptionCommand.cxx: ENH: do not write over existing cache
- values even doc strings to avoid changing the cache file
-
-2001-11-27 16:12 berk
-
- * Source/cmDSPWriter.cxx: remove unused include
-
-2001-11-27 15:33 martink
-
- * Source/cmLinkLibrariesCommand.cxx: removed extra lib paths to
- avoid finding old libs
-
-2001-11-27 15:32 martink
-
- * Modules/FindTCL.cmake: made some vars advanced
-
-2001-11-27 15:20 martink
-
- * Modules/Dart.cmake: made some vars advanced
-
-2001-11-27 00:03 ibanez
-
- * Source/cmCommands.cxx: ENH: Command for running FLTK's UI tool
- "Fluid" was added.
-
-2001-11-27 00:02 ibanez
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: Support for FLTK Fluid
- tool added.
-
-2001-11-26 23:57 ibanez
-
- * Modules/FindFLTK.cmake: ENH: Support for running FLUID was added.
-
-2001-11-26 22:40 ibanez
-
- * Source/: cmFLTKWrapUICommand.cxx, cmFLTKWrapUICommand.h: Command
- for invoking FLTK's code generator "Fluid" during the building
- process
-
-2001-11-26 18:26 hoffman
-
- * Modules/Dart.cmake, Source/CMakeLists.txt,
- Source/cmCacheManager.cxx, Source/cmCacheManager.h,
- Source/cmCommands.cxx, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h, Source/cmUnixMakefileGenerator.cxx,
- Source/cmakewizard.cxx, Templates/CMakeSystemConfig.cmake.in,
- Templates/CMakeWindowsSystemConfig.cmake,
- Source/cmMarkAsAdvancedCommand.cxx,
- Source/cmMarkAsAdvancedCommand.h: ENH: add advanced variable
- types and command line wizard gui
-
-2001-11-26 18:24 hoffman
-
- * Source/: cmFindFileCommand.cxx, cmFindFileCommand.h,
- cmFindLibraryCommand.cxx, cmFindLibraryCommand.h,
- cmFindPathCommand.cxx, cmFindPathCommand.h,
- cmFindProgramCommand.cxx, cmFindProgramCommand.h: ENH: add
- possibility to add doc strings to varibles created by find type
- commands
-
-2001-11-26 16:32 berk
-
- * Source/cmCacheManager.cxx: Oops. The wrong version of the
- duplicate code was kept. Loaded cache values were not made
- internal.
-
-2001-11-26 15:45 berk
-
- * Modules/FindTCL.cmake: TK_INTERNAL_PATH is only needed on
- Windows.
-
-2001-11-26 11:32 martink
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: removed warning
- messages
-
-2001-11-26 11:31 martink
-
- * Source/cmIfCommand.cxx: better error messages
-
-2001-11-24 18:47 barre
-
- * Modules/Dart.cmake: I want to be able to start/end
- experimental-only dashboards
-
-2001-11-21 17:45 hoffman
-
- * Source/: cmCacheManager.cxx, cmDSPWriter.cxx,
- cmNMakeMakefileGenerator.cxx, cmSystemTools.cxx, cmSystemTools.h,
- cmUnixMakefileGenerator.cxx, cmake.cxx, cmaketest.cxx: NMake with
- spaces in directories
-
-2001-11-21 11:35 andy
-
- * Source/cmCacheManager.cxx: Fix the current directory check for
- NMake
-
-2001-11-21 08:47 hoffman
-
- * Source/cmake.cxx: ENH: clean up command line arguments
-
-2001-11-21 08:46 hoffman
-
- * Source/: cmQTWrapUICommand.cxx, cmVariableRequiresCommand.cxx:
- WAR: fix warning
-
-2001-11-20 17:50 hoffman
-
- * Source/: cmCacheManager.cxx, cmCacheManager.h, cmake.cxx,
- cmake.h: ENH: add command line arguments to set cache entries
-
-2001-11-20 17:27 berk
-
- * Source/cmNMakeMakefileGenerator.cxx: ENH: closer to working with
- spaces in source directory
-
-2001-11-20 17:27 berk
-
- * Source/cmaketest.cxx: BUG: fix memory leak
-
-2001-11-20 17:26 berk
-
- * Source/cmDSPWriter.cxx: BUG: fix for spaces in path to
- CMakeList.txt file
-
-2001-11-20 08:28 hoffman
-
- * Source/: cmStandardIncludes.h, CursesDialog/cmCursesMainForm.cxx,
- CursesDialog/cmCursesStandardIncludes.h: define hacks and such
- for the dec compiler
-
-2001-11-19 17:52 hoffman
-
- * Source/: cmCommands.cxx, cmSystemTools.cxx, cmSystemTools.h,
- cmVariableRequiresCommand.cxx, cmVariableRequiresCommand.h: ENH:
- add new command VARIABLE_REQUIRES for better debugging of list
- files
-
-2001-11-19 09:34 hoffman
-
- * Source/: cmVariableRequiresCommand.cxx,
- cmVariableRequiresCommand.h: [no log message]
-
-2001-11-16 16:42 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: look for cmake test with
- .exe if nmake
-
-2001-11-16 16:28 hoffman
-
- * Source/cmNMakeMakefileGenerator.cxx: ENH: fix for dll builds
-
-2001-11-16 13:08 bettingf
-
- * Source/cmUnixMakefileGenerator.cxx: Added a make depend in the
- clean rule to refresh the dependencies
-
-2001-11-16 10:14 bettingf
-
- * Source/cmUnixMakefileGenerator.cxx: undo the last change because
- of problem with some versions of make
-
-2001-11-16 09:40 bettingf
-
- * Modules/FindQt.cmake: fixed QT_UIC_EXE name
-
-2001-11-16 09:04 bettingf
-
- * Source/cmUnixMakefileGenerator.cxx: added the deletion of
- cmake.depends in the cleaning so that it is recomputed even
- source files (i.e. .cxx or .h) are generated
-
-2001-11-16 09:03 bettingf
-
- * Source/cmMakeDepend.cxx: Now adds dependency if the file doesn't
- exist but will be created during the compilation
-
-2001-11-16 09:01 bettingf
-
- * Source/: cmQTWrapUICommand.cxx, cmQTWrapUICommand.h: corrected
- path problem and added moc compilation too
-
-2001-11-15 22:10 hoffman
-
- * Source/Makefile.in: remove depend on star dot h as it is not
- really needed and breaks some versions of gmake
-
-2001-11-15 18:18 hoffman
-
- * Source/cmNMakeMakefileGenerator.cxx: ENH: use crazy temp files
- for long command lines
-
-2001-11-15 17:45 hoffman
-
- * Source/cmNMakeMakefileGenerator.cxx: ENH: remove debug prints
-
-2001-11-15 17:11 hoffman
-
- * Modules/Dart.cmake, Source/cmBuildCommand.cxx,
- Source/cmNMakeMakefileGenerator.cxx,
- Source/cmNMakeMakefileGenerator.h,
- Source/cmUnixMakefileGenerator.cxx,
- Source/cmUnixMakefileGenerator.h,
- Templates/CMakeNMakeWindowsSystemConfig.cmake,
- Templates/CMakeSystemConfig.cmake.in,
- Templates/CMakeWindowsBorlandConfig.cmake,
- Templates/CMakeWindowsSystemConfig.cmake: closer to nmake
- working, added CMAKE_MAKE_COMMAND instead of MAKECOMMAND used by
- Dart, nmake makefiles work with borland make and nmake
-
-2001-11-15 14:54 millerjv
-
- * Modules/Dart.cmake: ENH: New make targets for Continuous builds.
- Added a NightlyStart and NightlyUpdate target for unix builds as
- well.
-
-2001-11-15 14:52 millerjv
-
- * DartConfig.cmake: ENH: Changed Nightly start time
-
-2001-11-15 09:55 hoffman
-
- * Source/: cmNMakeMakefileGenerator.cxx,
- cmNMakeMakefileGenerator.h, cmUnixMakefileGenerator.h, cmake.cxx:
- ENH: fix library builds with nmake
-
-2001-11-15 09:00 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: wrong shortname used
-
-2001-11-15 08:43 hoffman
-
- * Source/cmaketest.cxx: BUG: fix build for cygwin
-
-2001-11-15 08:42 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: avoid .cxx.o names...
-
-2001-11-14 18:12 hoffman
-
- * Source/cmSystemTools.cxx, Source/cmSystemTools.h,
- Source/cmUnixMakefileGenerator.cxx,
- Source/cmUnixMakefileGenerator.h, Source/cmake.cxx,
- Source/cmaketest.cxx, Source/cmaketest.h.in,
- Templates/CMakeNMakeWindowsSystemConfig.cmake: Closer to nmake
- build
-
-2001-11-14 18:11 hoffman
-
- * Source/: cmNMakeMakefileGenerator.cxx,
- cmNMakeMakefileGenerator.h: closer to nmake build
-
-2001-11-14 10:21 hoffman
-
- * Templates/CMakeNMakeWindowsSystemConfig.cmake,
- Source/cmNMakeMakefileGenerator.cxx,
- Source/cmNMakeMakefileGenerator.h,
- Source/cmUnixMakefileGenerator.cxx,
- Source/cmUnixMakefileGenerator.h: nmake support
-
-2001-11-14 09:56 king
-
- * Source/CursesDialog/ccmake.cxx: ERR: Re-ordered includes to fix
- macro conflict for gcc 3.0.
-
-2001-11-14 09:55 king
-
- * Source/CursesDialog/form/frm_driver.c: ERR: Fixed compiler
- warning for gcc 3.0.
-
-2001-11-14 09:22 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: remove debug statements
-
-2001-11-13 18:23 hoffman
-
- * Source/: CMakeLib.dsp, CMakeLists.txt,
- cmNMakeMakefileGenerator.cxx, cmNMakeMakefileGenerator.h,
- cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: start
- work on nmake generator
-
-2001-11-13 15:54 hoffman
-
- * Source/: cmUnixMakefileGenerator.h, cmUnixMakefileGenerator.cxx:
- clean up object file build rule, and do not attempt to remove
- link_directories that are in the build tree
-
-2001-11-13 14:22 martink
-
- * Source/: CMakeLists.txt, CursesDialog/CMakeLists.txt: fixes to
- curses stuff
-
-2001-11-13 12:42 hoffman
-
- * Source/CursesDialog/form/fty_num.c: warnings
-
-2001-11-13 12:38 hoffman
-
- * Source/: cmCacheManager.cxx, cmForEachCommand.cxx,
- cmIncludeExternalMSProjectCommand.cxx, cmMakefile.cxx,
- cmSystemTools.cxx, cmUnixMakefileGenerator.cxx: ENH: clean up
- warnings
-
-2001-11-13 12:21 hoffman
-
- * Source/cmAddDependenciesCommand.h: ENH: fix spelling error
-
-2001-11-13 12:21 hoffman
-
- * Source/CursesDialog/cmCursesMainForm.cxx: ENH: remove warnings
-
-2001-11-12 15:37 king
-
- * Source/cmMakeDepend.cxx: ENH:
- cmMakeDepend::GenerateDependInformation will now use hints
- regardless of whether the actual file exists. This can be used
- to add dependencies to .h files which are generated but included
- in hand-written .cxx files. If the .cxx does exist, though, it
- will be used first, and the hints will be used afterward.
-
-2001-11-12 09:21 martink
-
- * Source/cmDSPWriter.cxx: minor fix
-
-2001-11-10 23:01 ibanez
-
- * Modules/FindX11.cmake: Module to search for the installation
- of X11
-
-2001-11-09 16:16 berk
-
- * Source/CursesDialog/: CMakeLists.txt, ccmake.cxx, ccurses.cxx:
- Renaming ccurses to ccmake.
-
-2001-11-09 16:15 barre
-
- * Modules/FindSelfPackers.cmake: Self-packers
-
-2001-11-09 16:05 berk
-
- * Source/: CMakeLists.txt, CursesDialog/CMakeLists.txt,
- CursesDialog/cmCursesStandardIncludes.h,
- CursesDialog/form/frm_driver.c, CursesDialog/form/frm_req_name.c:
- Trying to fix curses.
-
-2001-11-09 13:00 martink
-
- * Source/cmDSPWriter.cxx, Source/cmDSPWriter.h,
- Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate,
- Templates/EXEWinHeader.dsptemplate,
- Templates/staticLibHeader.dsptemplate: support for custom targets
- on exe and lib
-
-2001-11-09 12:08 bettingf
-
- * Modules/FindQt.cmake: support for compilation of .ui files into
- .h and .cxx files
-
-2001-11-09 12:07 bettingf
-
- * Source/: cmQTWrapCPPCommand.cxx, cmQTWrapCPPCommand.h: cleanups
-
-2001-11-09 12:02 bettingf
-
- * Source/: cmQTWrapUICommand.h, cmQTWrapUICommand.cxx,
- cmCommands.cxx, cmUnixMakefileGenerator.cxx: support for
- compilation of .ui files into .h and .cxx files
-
-2001-11-09 10:42 barre
-
- * Source/cmAddCustomCommandCommand.cxx: SOURCE, COMMAND, TARGET are
- required now
-
-2001-11-09 10:37 barre
-
- * Source/cmAddCustomCommandCommand.h: SOURCE, COMMAND, TARGET are
- required now
-
-2001-11-09 10:33 barre
-
- * Source/: cmAddCustomCommandCommand.cxx,
- cmAddCustomCommandCommand.h: Reimplement code. Since a custom
- command is very flexible and might be extended in the future,
- make all arguments prefixed with arg type, make ordering
- irrelevant and potentially all args optional.
-
-2001-11-08 17:30 berk
-
- * Source/CursesDialog/form/: frm_driver.c, frm_req_name.c: Trying
- to fix curses problems.
-
-2001-11-08 17:25 berk
-
- * Source/CursesDialog/form/: frm_driver.c, frm_req_name.c: Fixing
- problems with curses headers.
-
-2001-11-08 17:17 berk
-
- * Source/CursesDialog/form/: frm_driver.c, frm_req_name.c: Trying
- to fix curses problems.
-
-2001-11-08 17:10 berk
-
- * Source/CursesDialog/form/form.h: Oops.
-
-2001-11-08 17:03 berk
-
- * CMakeLists.txt, Source/CursesDialog/CMakeLists.txt,
- Source/CursesDialog/form/CMakeLists.txt,
- Source/CursesDialog/form/form.h,
- Source/CursesDialog/form/nc_alloc.h: Changes to remove warnings
- and fix dependencies.
-
-2001-11-08 15:09 martink
-
- * Source/cmDSWWriter.cxx: a better fix maybe
-
-2001-11-08 14:44 hoffman
-
- * Source/cmDSWWriter.cxx: make sure custom targets are in the
- ALL_BUILD
-
-2001-11-08 14:34 barre
-
- * Source/cmAddCustomCommandCommand.cxx: Fix number of params and
- expand vars in all args
-
-2001-11-08 11:50 barre
-
- * Source/cmSourceFilesCommand.cxx: Fix bug. Was using unexpanded
- var instead of copy
-
-2001-11-08 11:40 barre
-
- * Source/cmAddLibraryCommand.cxx: Break the "to infinity and
- beyond" stuff
-
-2001-11-08 10:48 barre
-
- * Source/cmAddLibraryCommand.cxx: Expand var in srclist name too
-
-2001-11-08 10:40 barre
-
- * Source/cmSourceFilesCommand.cxx: Expand var in name too
-
-2001-11-08 09:16 barre
-
- * Source/cmAddDependenciesCommand.cxx: Expand variables in all
- target args
-
-2001-11-08 08:42 berk
-
- * Source/cmUnixMakefileGenerator.cxx: Needed to replace srcdir to
- make install targets work.
-
-2001-11-07 17:12 hoffman
-
- * Templates/: configure, configure.in: put back
- CMAKE_TEMPLATE_FLAGS
-
-2001-11-07 17:04 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: no +=+
-
-2001-11-07 16:47 andy
-
- * Source/: cmAddCustomCommandCommand.cxx,
- cmAddCustomCommandCommand.h, cmCommands.cxx: Added accessor for
- add custom command
-
-2001-11-07 16:07 barre
-
- * Modules/FindUnixCommands.cmake: Add cp (CP)
-
-2001-11-07 15:57 hoffman
-
- * configure, configure.in, Source/cmUnixMakefileGenerator.cxx,
- Templates/configure, Templates/configure.in: remove template
- flags from cmake, no ptused, or -instance=static
-
-2001-11-07 15:57 hoffman
-
- * Source/CursesDialog/cmCursesStandardIncludes.h: Trying to fix
- curses problems with some systems.
-
-2001-11-07 15:01 berk
-
- * Source/CursesDialog/cmCursesStandardIncludes.h: Trying to fix
- build problems related to curses.
-
-2001-11-07 14:55 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: use full source name for
- c code as well as c++
-
-2001-11-07 14:44 hoffman
-
- * Source/CursesDialog/ccurses.cxx: use cmake as the executable for
- cmake and not ccurses
-
-2001-11-07 14:44 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: make sure default_target is
- first
-
-2001-11-07 13:46 hoffman
-
- * CMakeLists.txt: ENH: add ansi flag for c compiler
-
-2001-11-07 12:23 hoffman
-
- * Source/cmMessageCommand.cxx: Allow multiline messages
-
-2001-11-07 09:54 hoffman
-
- * Source/: cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h:
- Clean up a bit more
-
-2001-11-07 09:29 hoffman
-
- * Source/cmCacheManager.cxx: One more time... case does not matter
- on cygwin
-
-2001-11-06 16:14 hoffman
-
- * Source/cmExecProgramCommand.h: ENH: fix doc string
-
-2001-11-06 15:29 bettingf
-
- * Source/: cmQTWrapCPPCommand.cxx, cmUnixMakefileGenerator.cxx: add
- cleaning of QT generated files when make clean is used
-
-2001-11-06 12:03 hoffman
-
- * Source/CursesDialog/: ccurses.cxx, cmCursesMainForm.cxx,
- cmCursesMainForm.h: ENH: tell cmake object where cmake is
-
-2001-11-06 09:35 hoffman
-
- * Source/: cmCableWrapTclCommand.cxx, cmQTWrapCPPCommand.cxx,
- cmVTKWrapJavaCommand.cxx, cmVTKWrapPythonCommand.cxx,
- cmVTKWrapTclCommand.cxx: BUG: CustomCommand has to use full path
- to Source file now
-
-2001-11-06 08:40 hoffman
-
- * Source/CursesDialog/form/: fld_type.c, form.h: Removed a function
- which used va_start (did not compile on Sun with gcc)
-
-2001-11-05 22:10 berk
-
- * Source/CursesDialog/: ccurses.cxx, cmCursesBoolWidget.cxx,
- cmCursesLabelWidget.cxx, cmCursesMainForm.cxx,
- cmCursesMainForm.h, cmCursesStringWidget.cxx: Many improvements.
-
-2001-11-05 16:38 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: use full paths for
- object compile rules
-
-2001-11-05 15:55 berk
-
- * Source/: CMakeLists.txt, CursesDialog/cmCursesMainForm.cxx:
- Re-enabling curses support.
-
-2001-11-05 15:39 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: change to work with
- nmake
-
-2001-11-05 13:22 berk
-
- * Modules/FindCurses.cmake, Source/CursesDialog/CMakeLists.txt,
- Source/CursesDialog/cmCursesForm.h,
- Source/CursesDialog/cmCursesLabelWidget.h,
- Source/CursesDialog/cmCursesMainForm.h,
- Source/CursesDialog/cmCursesWidget.h,
- Source/CursesDialog/form/frm_driver.c,
- Source/CursesDialog/form/frm_req_name.c,
- Source/CursesDialog/cmCursesStandardIncludes.h: HPUX support.
-
-2001-11-05 12:57 lorensen
-
- * Source/cmIncludeExternalMSProjectCommand.cxx: ERR: ^M's removed.
-
-2001-11-05 11:52 berk
-
- * Source/CursesDialog/form/: CMakeLists.txt, READ.ME, eti.h,
- fld_arg.c, fld_attr.c, fld_current.c, fld_def.c, fld_dup.c,
- fld_ftchoice.c, fld_ftlink.c, fld_info.c, fld_just.c, fld_link.c,
- fld_max.c, fld_move.c, fld_newftyp.c, fld_opts.c, fld_pad.c,
- fld_page.c, fld_stat.c, fld_type.c, fld_user.c, form.h,
- form.priv.h, frm_cursor.c, frm_data.c, frm_def.c, frm_driver.c,
- frm_hook.c, frm_opts.c, frm_page.c, frm_post.c, frm_req_name.c,
- frm_scale.c, frm_sub.c, frm_user.c, frm_win.c, fty_alnum.c,
- fty_alpha.c, fty_enum.c, fty_int.c, fty_ipv4.c, fty_num.c,
- fty_regex.c, llib-lform, mf_common.h, nc_alloc.h: Adding form
- library.
-
-2001-11-05 11:52 berk
-
- * Source/: CMakeLists.txt, CursesDialog/CMakeLists.txt,
- CursesDialog/cmCursesCacheEntryComposite.h,
- CursesDialog/cmCursesLabelWidget.h,
- CursesDialog/cmCursesMainForm.cxx,
- CursesDialog/cmCursesMainForm.h, CursesDialog/cmCursesWidget.h:
- Fixing problems on Sun (name collusions between STL and curses)
- and disabling curses temporarily.
-
-2001-11-05 10:42 andy
-
- * Source/CMakeLists.txt: Fix the IF IF problem
-
-2001-11-05 08:37 berk
-
- * Source/CursesDialog/: ccurses.cxx,
- cmCursesCacheEntryComposite.cxx, cmCursesCacheEntryComposite.h,
- cmCursesLabelWidget.h, cmCursesMainForm.cxx, cmCursesMainForm.h,
- cmCursesWidget.h: ERR: To include cmake headers, one should use
- ../
-
-2001-11-05 05:43 pcp
-
- * Source/: cmDSPWriter.cxx, cmDSWWriter.cxx: switched
- string::compare to strncmp
-
-2001-11-04 18:10 berk
-
- * Source/CursesDialog/cmCursesMainForm.h: Need to include standard
- headers.
-
-2001-11-04 18:05 berk
-
- * Source/CursesDialog/: CMakeLists.txt, cmCursesBoolWidget.h,
- cmCursesCacheEntryComposite.h, cmCursesDummyWidget.h,
- cmCursesFilePathWidget.h, cmCursesForm.h, cmCursesLabelWidget.h,
- cmCursesMainForm.h, cmCursesPathWidget.h, cmCursesStringWidget.h,
- cmCursesWidget.h, ccurses.cxx, cmCursesBoolWidget.cxx,
- cmCursesCacheEntryComposite.cxx, cmCursesDummyWidget.cxx,
- cmCursesFilePathWidget.cxx, cmCursesForm.cxx,
- cmCursesLabelWidget.cxx, cmCursesMainForm.cxx,
- cmCursesPathWidget.cxx, cmCursesStringWidget.cxx,
- cmCursesWidget.cxx: Adding curses support.
-
-2001-11-04 18:00 berk
-
- * Modules/FindCurses.cmake, Source/CMakeLists.txt: Adding curses
- support.
-
-2001-11-02 22:32 barre
-
- * Source/: cmIncludeDirectoryCommand.cxx,
- cmIncludeDirectoryCommand.h, cmMakefile.cxx, cmMakefile.h: Add
- optional BEFORE param to INCLUDE_DIRECTORIES so that include dirs
- can be specified before the actual include dirs
-
-2001-11-02 16:44 barre
-
- * Utilities/Doxygen/: CMakeLists.txt, doc_makeall.sh.in: Update
-
-2001-11-02 16:43 barre
-
- * Modules/: Documentation.cmake, DocumentationVTK.cmake,
- FindCygwin.cmake, FindPerl.cmake, FindUnixCommands.cmake,
- FindWget.cmake: Move usual Unix commands to FindUnixCommands, use
- FingCygwin in other modules
-
-2001-11-02 16:05 barre
-
- * Utilities/: CMakeLists.txt, Doxygen/CMakeLists.txt,
- Doxygen/doc_makeall.sh.in, Doxygen/doxyfile.in: Doxygen doc
- generator
-
-2001-11-02 16:01 barre
-
- * CMakeLists.txt: Doxygen doc generator
-
-2001-11-02 15:26 blezek
-
- * Modules/Dart.cmake: ENH: More Experimental targets for unix
-
-2001-11-02 11:19 pcp
-
- * Source/: cmDSWWriter.cxx, cmIncludeExternalMSProjectCommand.cxx,
- cmDSPWriter.cxx: allow more than one external MS project
-
-2001-11-02 09:18 andy
-
- * Source/cmCacheManager.cxx: On win32 path is all in lower case now
-
-2001-11-01 18:37 hoffman
-
- * Source/: cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h:
- ENH: clean up interface and change build in current directory to
- build the depend file first
-
-2001-11-01 18:36 hoffman
-
- * Source/cmCacheManager.cxx: BUG: use collapse full path when
- testing cache directory
-
-2001-11-01 18:36 hoffman
-
- * Source/cmDSPWriter.cxx: ENH: IntDir to INTDIR
-
-2001-11-01 13:09 barre
-
- * Source/: cmAddExecutableCommand.cxx, cmAddLibraryCommand.cxx:
- Expand vars in exe and lib name
-
-2001-11-01 10:42 hoffman
-
- * Source/cmCacheManager.cxx: ENH: clean up drive letter check
-
-2001-10-31 18:56 king
-
- * Source/: cmCableClassSet.cxx, cmCableClassSet.h: ENH: Added
- automatic detection of >> sequences in template names and
- replacement with "> >" in the output.
-
-2001-10-31 18:56 king
-
- * Source/cmStandardIncludes.h: ENH: Replaced cmStdString
- implementation to make it more transparently a std:string.
-
-2001-10-31 07:03 pcp
-
- * Source/: cmCommands.cxx, cmDSPWriter.cxx, cmDSWWriter.cxx,
- cmDSWWriter.h, cmIncludeExternalMSProjectCommand.cxx,
- cmIncludeExternalMSProjectCommand.h: INCLUDE_EXTERNAL_MSPROJECT
- command
-
-2001-10-30 14:36 andy
-
- * Source/cmCacheManager.cxx: Fix the problem on windows of capital
- or lower case drive letter for CMAKE_CACHEFILE_DIR
-
-2001-10-30 14:15 andy
-
- * Source/cmCacheManager.cxx: Change CMAKE_CURRENT_CWD to
- CMAKE_CACHEFILE_DIR and change the messages
-
-2001-10-30 14:05 hoffman
-
- * Source/: cmConfigureFileCommand.cxx, cmConfigureFileCommand.h,
- cmMakefile.cxx, cmMakefile.h: ENH: add an option to configure
- file command that allows for only expansion of at variables and
- not dollar variables
-
-2001-10-29 10:41 hoffman
-
- * Source/cmSystemTools.cxx: ENH: use callback not ifdef for MFC
- message box errors
-
-2001-10-29 10:19 hoffman
-
- * Source/: cmCacheManager.cxx, cmSystemTools.cxx, cmSystemTools.h:
- ENH: add callback for message display
-
-2001-10-26 18:21 hoffman
-
- * Modules/FindITK.cmake: [no log message]
-
-2001-10-26 17:06 berk
-
- * Templates/: CMakeSystemConfig.cmake.in, configure, configure.in:
- added CMAKE_NO_EXPLICIT_TEMPLATE_INSTANTIATION
-
-2001-10-26 15:42 hoffman
-
- * Source/: cmConfigureFileCommand.cxx, cmMakefile.h, cmaketest.cxx:
- add dependency for configure files and use short path in WIN32
- cmake test
-
-2001-10-26 14:35 hoffman
-
- * Modules/FindVTK.cmake: use find_file and not just a set for
- USE_VTK_FILE
-
-2001-10-26 11:22 barre
-
- * Modules/DocumentationVTK.cmake: VTK documentation framework
-
-2001-10-26 09:29 andy
-
- * Source/cmCacheManager.cxx: Added check if the binary directory
- changed. If it did, it will print the warning message
-
-2001-10-24 20:37 barre
-
- * Modules/FindCygwin.cmake: Add GZIP (gzip)
-
-2001-10-24 20:33 barre
-
- * Modules/FindCygwin.cmake: Add TAR (path to tar or gtar)
-
-2001-10-24 17:51 berk
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: allow -framework as a
- complete entry in the link line for Mac OSX
-
-2001-10-24 15:51 berk
-
- * DartConfig.cmake: public no longer has anonymous ftp.
-
-2001-10-24 09:41 king
-
- * Modules/FindGCCXML.cmake: ENH: Improved FIND_PROGRAM call to find
- the executable in PREFIX/share/GCC_XML, the new standard install
- location.
-
-2001-10-23 18:30 barre
-
- * Modules/FindCygwin.cmake: Cygwin mod
-
-2001-10-23 17:49 barre
-
- * Source/: cmGetFilenameComponentCommand.cxx,
- cmGetFilenameComponentCommand.h: The result of this utility
- command can now be optionally added to the cache
-
-2001-10-23 17:47 barre
-
- * Modules/FindDoxygen.cmake: Find Graphivz's dot too
-
-2001-10-23 17:06 barre
-
- * Modules/: FindDoxygen.cmake, FindWget.cmake: Add Doxygen and Wget
- modules. Very simple. But might be more complex later, so let's
- use them asap
-
-2001-10-23 16:55 barre
-
- * Modules/: FindHhc.cmake, FindPerl.cmake: Modules to find Perl and
- the HTML Help Compiler
-
-2001-10-19 10:07 barre
-
- * Source/cmEnableTestingCommand.h: Add warning regarding the
- location of ENABLE_TESTING (should be in the top CMakeList.txt,
- otherwise Dart is lost)
-
-2001-10-18 18:01 barre
-
- * Source/cmSiteNameCommand.cxx: SITE_NAME should return the most
- qualified name of the host. If nslookup works, now the domain is
- appended to the hostname (whereas it *replaced* the host name
- before)
-
-2001-10-18 13:51 iscott
-
- * Source/cmQTWrapCPPCommand.cxx: Detect error and output useful
- message Previously it would have got confused about the
- destinationSourceGroup
-
-2001-10-18 13:03 iscott
-
- * Source/cmFindFileCommand.cxx: This command should always set the
- cahce variabel to a filepath not a path
-
-2001-10-17 15:11 barre
-
- * Source/cmProjectCommand.cxx: Add PROJECT_NAME to the set of
- definitions
-
-2001-10-16 15:40 iscott
-
- * Modules/FindQt.cmake: fixed some stupid mistakes I thought I had
- tested these - honest
-
-2001-10-16 15:32 iscott
-
- * Modules/: FindQt.cmake, LinkQT.cmake: Some simple modules for
- finding and linking qt
-
-2001-10-15 18:37 hoffman
-
- * Source/cmMessageCommand.cxx: ENH: expand variables in message
- command output
-
-2001-10-15 18:36 hoffman
-
- * Source/cmSourceFile.cxx: ENH: clean up error report for source
- files not found
-
-2001-10-15 14:19 iscott
-
- * CMake.rtf, Source/cmCommands.cxx, Source/cmQTWrapCPPCommand.cxx,
- Source/cmQTWrapCPPCommand.h: added a QT_WRAP_CPP command
-
-2001-10-11 17:20 king
-
- * Source/cmCableWrapTclCommand.cxx: ENH: Improved parsing of
- GCCXML_FLAGS to improve generation of gccxml rule. Also added
- ADD_DEFINITIONS arguments to the generated rule.
-
-2001-10-11 14:57 andy
-
- * Source/cmCacheManager.cxx: Added removing of spaces in
- CMakeCache.txt in front of comments and variables
-
-2001-10-10 10:22 hoffman
-
- * Source/cmCacheManager.cxx: ENH: add a warning comment for cache
- values that can not be changed because they are always loaded
- from another cache
-
-2001-10-09 22:18 biddi
-
- * Source/cmBorlandMakefileGenerator.cpp: FIX: Same as last checkin
- except applies to bpi files as wellas lib files If we can't find
- it - and it's not a target - and it has no path already
- specified, it must be in OUTDIRLIB from another makefile in the
- same project ! (What this really means is the lib paths are
- correctly specified)
-
-2001-10-09 10:25 hoffman
-
- * Source/cmSystemTools.cxx: ENH: better fix for dos return in
- lines, use the regular expression and don't edit the input line
-
-2001-10-05 17:31 hoffman
-
- * Source/cmSystemTools.cxx: ENH: clean up returns from input, so we
- can read dos files on unix
-
-2001-10-04 09:32 starreveld
-
- * Templates/: configure, configure.in:
-
- ERR: remove undefined warning for compatibility with new 10.1
- linker
-
-2001-10-03 15:49 hoffman
-
- * Modules/Dart.cmake, Source/CMakeLists.txt, Source/cmake.cxx,
- Source/cmaketest.cxx: ENH: fixes for borland compiler testing
-
-2001-10-03 11:36 king
-
- * Modules/FindCABLE.cmake: ENH: Changed CABLE_BUILD_DIR to look for
- cableVersion.h instead of cable.README.txt.
-
-2001-10-02 23:10 biddi
-
- * Source/cmBorlandMakefileGenerator.cpp: FIX:if we can't find it -
- and it's not a target - and it has no path already specified, it
- must be in OUTDIRLIB from another makefile in the same project !
- (What this really means is the lib paths are correctly specified)
-
-2001-10-02 17:28 hoffman
-
- * Source/: cmListFileCache.cxx, cmMakefile.cxx, cmSystemTools.cxx,
- cmSystemTools.h, ctest.cxx: ENH: add better error reports in
- parsing cmake files, like what file has the error
-
-2001-10-01 13:35 martink
-
- * Source/: cmMakefile.h: version
-
-2001-10-01 13:26 hoffman
-
- * ChangeLog.txt: [no log message]
-
-2001-10-01 11:55 hoffman
-
- * Source/cmaketest.cxx: BUG: add missing include
-
-2001-10-01 10:14 hoffman
-
- * Source/cmaketest.cxx: ENH: change checkboxes back to pull down
- menus, remove leak
-
-2001-09-29 11:12 hoffman
-
- * Source/cmSystemTools.cxx: BUG: fix full path for file in current
- directory
-
-2001-09-28 13:35 berk
-
- * Source/cmSystemTools.cxx: BUG: fix realpath problem again...
-
-2001-09-28 12:14 berk
-
- * Source/cmSystemTools.cxx: BUG: separate path from file name
- before calling realpath
-
-2001-09-28 10:40 hoffman
-
- * Source/: cmSystemTools.cxx, cmUnixMakefileGenerator.cxx: BUG: get
- correct library name
-
-2001-09-28 10:34 hoffman
-
- * CMakeLists.txt: BUG: optional in wrong order
-
-2001-09-28 09:57 hoffman
-
- * CMakeLists.txt: make the include of the initial config flags
- optional, for builds that do not use configure
-
-2001-09-27 16:50 hoffman
-
- * Source/: cmSystemTools.cxx, cmUnixMakefileGenerator.cxx: BUG: use
- realpath instead of cd/pwd
-
-2001-09-27 15:54 hoffman
-
- * CMakeLists.txt, Source/CMakeLists.txt: BUG: fix install prefix
-
-2001-09-27 14:58 hoffman
-
- * configure, configure.in, Source/CMakeLists.txt,
- Source/InitialConfigureFlags.cmake.in: ENH: pass prefix from
- configure into cmake
-
-2001-09-26 16:23 berk
-
- * Modules/Dart.cmake: Typo.
-
-2001-09-25 14:39 martink
-
- * Modules/FindVTK.cmake: changes to chamghe
-
-2001-09-25 11:06 martink
-
- * Source/cmVTKWrapTclCommand.cxx: memory leak
-
-2001-09-21 11:48 martink
-
- * Modules/FindVTK.cmake: better install targets
-
-2001-09-21 09:40 king
-
- * Source/cmSystemTools.cxx: BUG: CopyFile should return immediately
- after an error occurs.
-
-2001-09-20 17:31 martink
-
- * Modules/FindVTK.cmake: updates
-
-2001-09-20 16:43 berk
-
- * Source/ctest.cxx: handle spaces in commands and args
-
-2001-09-20 15:08 hoffman
-
- * Source/: cmAbstractFilesCommand.cxx, cmAbstractFilesCommand.h,
- cmAddCustomTargetCommand.cxx, cmAddCustomTargetCommand.h,
- cmAddDefinitionsCommand.cxx, cmAddDefinitionsCommand.h,
- cmAddDependenciesCommand.cxx, cmAddDependenciesCommand.h,
- cmAddExecutableCommand.cxx, cmAddExecutableCommand.h,
- cmAddLibraryCommand.cxx, cmAddLibraryCommand.h,
- cmAddTestCommand.cxx, cmAddTestCommand.h,
- cmAuxSourceDirectoryCommand.cxx, cmAuxSourceDirectoryCommand.h,
- cmBuildCommand.cxx, cmBuildCommand.h, cmBuildNameCommand.cxx,
- cmBuildNameCommand.h, cmCableClassSetCommand.cxx,
- cmCableClassSetCommand.h, cmCableWrapTclCommand.cxx,
- cmCableWrapTclCommand.h, cmCommand.h, cmConfigureFileCommand.cxx,
- cmConfigureFileCommand.h, cmConfigureGccXmlCommand.cxx,
- cmConfigureGccXmlCommand.h, cmElseCommand.cxx, cmElseCommand.h,
- cmEnableTestingCommand.h, cmEndForEachCommand.cxx,
- cmEndForEachCommand.h, cmEndIfCommand.cxx, cmEndIfCommand.h,
- cmExecProgramCommand.cxx, cmExecProgramCommand.h,
- cmFindFileCommand.cxx, cmFindFileCommand.h,
- cmFindLibraryCommand.cxx, cmFindLibraryCommand.h,
- cmFindPathCommand.cxx, cmFindPathCommand.h,
- cmFindProgramCommand.cxx, cmFindProgramCommand.h,
- cmForEachCommand.cxx, cmForEachCommand.h,
- cmGetFilenameComponentCommand.cxx,
- cmGetFilenameComponentCommand.h, cmIfCommand.cxx, cmIfCommand.h,
- cmIncludeCommand.cxx, cmIncludeCommand.h,
- cmIncludeDirectoryCommand.cxx, cmIncludeDirectoryCommand.h,
- cmIncludeRegularExpressionCommand.cxx,
- cmIncludeRegularExpressionCommand.h, cmInstallFilesCommand.cxx,
- cmInstallFilesCommand.h, cmInstallProgramsCommand.cxx,
- cmInstallProgramsCommand.h, cmInstallTargetsCommand.cxx,
- cmInstallTargetsCommand.h, cmLibraryCommand.h,
- cmLinkDirectoriesCommand.cxx, cmLinkDirectoriesCommand.h,
- cmLinkLibrariesCommand.cxx, cmLinkLibrariesCommand.h,
- cmLoadCacheCommand.cxx, cmLoadCacheCommand.h,
- cmMakeDirectoryCommand.cxx, cmMakeDirectoryCommand.h,
- cmMakefile.cxx, cmMakefile.h, cmMessageCommand.cxx,
- cmMessageCommand.h, cmOptionCommand.cxx, cmOptionCommand.h,
- cmOutputRequiredFilesCommand.cxx, cmOutputRequiredFilesCommand.h,
- cmProjectCommand.cxx, cmProjectCommand.h, cmSetCommand.cxx,
- cmSetCommand.h, cmSiteNameCommand.cxx, cmSiteNameCommand.h,
- cmSourceFilesCommand.cxx, cmSourceFilesCommand.h,
- cmSourceFilesRemoveCommand.cxx, cmSourceFilesRemoveCommand.h,
- cmSourceGroupCommand.cxx, cmSourceGroupCommand.h,
- cmSubdirCommand.cxx, cmSubdirCommand.h,
- cmSubdirDependsCommand.cxx, cmSubdirDependsCommand.h,
- cmTargetLinkLibrariesCommand.cxx, cmTargetLinkLibrariesCommand.h,
- cmUseMangledMesaCommand.cxx, cmUseMangledMesaCommand.h,
- cmUtilitySourceCommand.cxx, cmUtilitySourceCommand.h,
- cmVTKWrapJavaCommand.cxx, cmVTKWrapJavaCommand.h,
- cmVTKWrapPythonCommand.cxx, cmVTKWrapPythonCommand.h,
- cmVTKWrapTclCommand.cxx, cmVTKWrapTclCommand.h,
- cmWrapExcludeFilesCommand.cxx, cmWrapExcludeFilesCommand.h: ENH:
- change InitialPass to take a const reference to the argument
- string, to avoid changes to the file cache
-
-2001-09-20 13:44 martink
-
- * Source/cmMakefile.cxx: BUG: make a copy of the arguments before
- passing them to Execute
-
-2001-09-20 12:00 martink
-
- * CMake.rtf: fixed some problems
-
-2001-09-20 10:57 king
-
- * Modules/FindCABLE.cmake: ENH: Added support for finding cable
- when it is built in a configuration subdirectory by MSVC.
-
-2001-09-20 10:54 king
-
- * Source/: cmFindFileCommand.cxx, cmFindLibraryCommand.cxx,
- cmFindPathCommand.cxx, cmFindProgramCommand.cxx,
- cmSystemTools.cxx, cmSystemTools.h: ENH: Added
- cmSystemTools::GlobDirs function to allow wildcards in paths
- (like /foo/bar/*).
-
-2001-09-20 10:53 king
-
- * Source/cmSetCommand.cxx: ENH: Added extra newline in an error
- message to improve readability.
-
-2001-09-20 10:27 martink
-
- * Modules/FindVTK.cmake: minor changes
-
-2001-09-20 09:11 martink
-
- * Modules/: FindVTK.cmake, UseVTKIncludes.cmake,
- UseVTKLibraries.cmake: removed some VTK stuff
-
-2001-09-19 14:52 martink
-
- * Modules/: FindVTK.cmake, UseVTKIncludes.cmake,
- UseVTKLibraries.cmake: updated to how FindVTK works
-
-2001-09-19 14:20 martink
-
- * Source/cmMakefile.h: version rev to 95
-
-2001-09-19 14:20 martink
-
- * Source/cmMakefile.h: version rev to 94
-
-2001-09-18 10:45 hoffman
-
- * ChangeLog.txt: [no log message]
-
-2001-09-18 10:38 will
-
- * CMake.pdf: ENH:Updated documentation
-
-2001-09-17 17:40 hoffman
-
- * CMake.rtf: ENH: update for new version
-
-2001-09-17 16:36 hoffman
-
- * Source/: cmUseMangledMesaCommand.cxx, cmUseMangledMesaCommand.h:
- ENH: change to take a path as input
-
-2001-09-17 16:34 hoffman
-
- * Source/cmFindFileCommand.cxx: BUG: fix return when file is not
- found
-
-2001-09-17 14:16 king
-
- * Modules/FindCABLE.cmake: ENH: Added find support for looking at
- Cable's build directory if the user sets the CABLE_BUILD_DIR
- cache entry.
-
-2001-09-17 13:58 hoffman
-
- * Source/: cmCommands.cxx, cmUseMangledMesaCommand.cxx,
- cmUseMangledMesaCommand.h: ENH: add Use mangled mesa command
-
-2001-09-17 12:07 blezek
-
- * Modules/Dart.cmake: ENH: NightlyCoverage got lost
-
-2001-09-14 16:36 martink
-
- * Source/: cmVTKWrapTclCommand.cxx, cmVTKWrapJavaCommand.cxx,
- cmVTKWrapPythonCommand.cxx: now uses five argument version of
- wrap commands
-
-2001-09-14 16:26 hoffman
-
- * Source/: cmMakefileGenerator.cxx, cmStandardIncludes.h,
- cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h,
- cmakemain.cxx: remove memory leaks
-
-2001-09-14 15:18 hoffman
-
- * Source/cmDSPWriter.cxx: fix error in cygwin
-
-2001-09-14 15:18 hoffman
-
- * Source/cmListFileCache.h: initialize class
-
-2001-09-14 15:18 hoffman
-
- * Source/: cmMakefileGenerator.cxx, cmMakefileGenerator.h: add
- support for clean up
-
-2001-09-14 10:14 martink
-
- * Templates/: DLLHeader.dsptemplate, EXEHeader.dsptemplate,
- EXEWinHeader.dsptemplate, UtilityHeader.dsptemplate,
- staticLibHeader.dsptemplate: made Debug the default configuration
-
-2001-09-14 08:34 barre
-
- * Modules/FindTCL.cmake: move cygtclsh80 to the end of list,
- otherwise it might be found while the non-cygwin wish8x.exe will
- be found too. If wish8x.exe is found, then the non-cygwin
- tclsh8x.exe must be found too.
-
-2001-09-13 14:45 martink
-
- * Modules/Dart.cmake: added back some targets for UNIX
-
-2001-09-13 11:27 martink
-
- * Source/: cmSystemTools.h, cmSystemTools.cxx: added shortest ext
- function
-
-2001-09-12 17:09 lorensen
-
- * Source/cmSiteNameCommand.cxx: ENH: drop the case of the site
- name. This makes it consistent with Dart's usage.
-
-2001-09-12 17:09 lorensen
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Added LowerCase
- method.
-
-2001-09-12 15:18 king
-
- * Source/: cmCableWrapTclCommand.cxx, cmCableWrapTclCommand.h: ENH:
- Added parsing of gccxml flags into separate arguments for setting
- the custom command. This is necessary since the custom command
- now takes a vector of individual command line options instead of
- a single string.
-
-2001-09-11 21:46 biddi
-
- * Templates/CMakeWindowsBorlandConfig.cmake: ERR: Spelling
-
-2001-09-11 21:45 biddi
-
- * Source/: cmBorlandMakefileGenerator.cpp,
- cmBorlandMakefileGenerator.h, cmSystemTools.cxx: ERR: Change to
- EscapeSpaces forces rework of Borland generator <sigh> Add clause
- to prevent adding quotes when they're already present, then stuff
- them onto all lib paths to prevent forward slashes causing
- trouble.
-
-2001-09-11 20:00 biddi
-
- * Source/: cmBorlandMakefileGenerator.cpp,
- cmBorlandMakefileGenerator.h: ENH: Major fix of the Borland
- generator which addresses the problem of libraries with
- dependencies (other libraries) not linking when required.
- Dependency checking required the full path to be supplied to each
- file when they're not in the current directory (very tedious).
- All seems to be working nicely now.
-
-2001-09-11 19:58 biddi
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Add a findfile
- routine (as opposed to find executable or library) which doesn't
- add any extensions - Borland make needs full paths to certain
- dependencies otherwise linking doesn't work properly
- (dependencies aren't checked)
-
-2001-09-11 15:17 martink
-
- * Source/ctest.cxx: updated testing
-
-2001-09-11 14:58 martink
-
- * Source/cmDSPWriter.cxx: include fixes
-
-2001-09-11 14:43 martink
-
- * Modules/Dart.cmake: reduced the number of targets
-
-2001-09-11 14:42 martink
-
- * Source/cmaketest.cxx: bug in testing code
-
-2001-09-11 13:44 hoffman
-
- * Source/cmBorlandMakefileGenerator.cpp: BUG: fix build with
- non-borland compiler
-
-2001-09-11 13:40 martink
-
- * Source/cmDSPWriter.cxx: fix for include paths
-
-2001-09-10 15:11 martink
-
- * Modules/Dart.cmake: reduced targets and merged tclsh commands
-
-2001-09-10 15:11 martink
-
- * Source/: cmCableWrapTclCommand.cxx, cmDSPWriter.cxx,
- cmMakefile.cxx, cmMakefile.h, cmSystemTools.cxx,
- cmVTKWrapJavaCommand.cxx, cmVTKWrapPythonCommand.cxx,
- cmVTKWrapTclCommand.cxx: various windows fixes
-
-2001-09-10 11:03 berk
-
- * Source/CMakeLists.txt: Typo in link command.
-
-2001-09-08 12:09 biddi
-
- * Source/: cmBorlandMakefileGenerator.cpp,
- cmBorlandMakefileGenerator.h: ERR: Forgot to put back a backslash
-
-2001-09-08 10:02 biddi
-
- * Source/cmBorlandMakefileGenerator.cpp: ERR: LINK_DIR must ot have
- backslah at end. Fix plus cleanup of some code.
-
-2001-09-07 10:08 martink
-
- * Source/cmDirectory.cxx: fixed bug in mismatched directory opens
- consuming file descriptors
-
-2001-09-07 09:40 king
-
- * Source/cmConfigureGccXmlCommand.cxx: ENH: Removed addition of
- compiler support directory include option since the
- find_*_options scripts now include it automatically.
-
-2001-09-06 18:02 hoffman
-
- * Source/: CMakeLists.txt, cmBorlandMakefileGenerator.cpp: BUG:
- clean up lib and exe output paths
-
-2001-09-06 17:28 hoffman
-
- * Source/CMakeLib.dsp, Source/cmBorlandMakefileGenerator.cpp,
- Source/cmBorlandMakefileGenerator.h,
- Source/cmMSProjectGenerator.h, Source/cmMakefileGenerator.cxx,
- Source/cmMakefileGenerator.h, Source/cmUnixMakefileGenerator.h,
- Source/cmake.cxx, Source/cmake.h,
- Templates/CMakeWindowsBorlandConfig.cmake: ENH: integrate borland
- support
-
-2001-09-04 16:29 biddi
-
- * Source/cmBorlandMakefileGenerator.cpp,
- Source/cmBorlandMakefileGenerator.h,
- Templates/CMakeWindowsBorlandConfig.cmake: NEW: First check in of
- Borland Makefile Generator and template stuff
-
-2001-09-04 16:07 hoffman
-
- * Source/: cmAddCustomTargetCommand.cxx, cmCustomCommand.cxx,
- cmCustomCommand.h, cmDSPWriter.cxx, cmDSWWriter.cxx,
- cmMakefile.cxx, cmMakefile.h, cmSourceGroup.cxx, cmSourceGroup.h,
- cmVTKWrapJavaCommand.cxx: ENH: separate command from its
- arguments in the custom command. This allows the generator on
- windows to change the slashes for just the command
-
-2001-09-01 17:13 biddi
-
- * Source/cmBuildCommand.cxx: ENH: Added a clause for Borland
- compiler compatibility
-
-2001-09-01 16:56 barre
-
- * Source/cmDSPWriter.cxx: Convert path format back to Windows
- slashes syntax. Mandatory for Win98 build.
-
-2001-09-01 16:55 barre
-
- * Source/cmSystemTools.cxx: fix comment pb
-
-2001-09-01 16:13 biddi
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Windows and
- Unix slash conversions return a char*, clean function seperated
- from Convert function
-
-2001-09-01 16:12 biddi
-
- * Source/: cmMakefile.cxx, cmMakefile.h: ENH: ExpandVariables
- functions return a char * for convenience
-
-2001-08-31 21:10 starreveld
-
- * Source/cmUnixMakefileGenerator.cxx:
-
- ENH: Generate compile lines for .m, .M, and .mm files (ObjC and
- ObjC++)
-
-2001-08-30 17:32 hoffman
-
- * Source/cmMakefile.cxx: BUG: fix incorrect deletion of function
- blockers
-
-2001-08-30 16:19 martink
-
- * Source/: cmMakefile.h: version rev
-
-2001-08-30 16:06 hoffman
-
- * ChangeLog, ChangeLog.txt: [no log message]
-
-2001-08-30 15:54 hoffman
-
- * ChangeLog.txt: ENH: add autogenerated changelog
-
-2001-08-29 17:21 hoffman
-
- * Source/cmake.cxx: opps
-
-2001-08-29 17:11 king
-
- * Source/cmConfigureGccXmlCommand.cxx: BUG: GCCXML_FLAGS found from
- find_gcc_options or find_mpro_options should have the trailing
- newline stripped from the string.
-
-2001-08-29 17:10 king
-
- * Source/cmCableWrapTclCommand.cxx: ENH: Updated generated
- dependencies since cable's installation directory now uses
- separate CxxTypes and WrapTclFacility subdirecories for includes.
-
-2001-08-29 17:08 king
-
- * Modules/FindCABLE.cmake: ENH: Updated library finding code to
- handle new cable installation directory structure. It now uses
- separate directories for CxxTypes and WrapTclFacility headers.
-
-2001-08-29 16:42 martink
-
- * Source/: ctest.cxx, ctest.h: added regexp option
-
-2001-08-29 16:13 hoffman
-
- * Source/: CMakeLib.dsp, DumpDocumentation.dsp, cmake.dsp,
- ctest.dsp: remove /ZI
-
-2001-08-29 15:57 hoffman
-
- * Source/: cmake.cxx, cmaketest.cxx: ENH: run cmake from cmaketest
-
-2001-08-29 10:47 king
-
- * Source/cmMakefile.h: ENH: Added a const version of
- GetLinkLibraries().
-
-2001-08-29 10:46 king
-
- * Source/: cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h:
- ENH: Proper dependencies between shared libraries now exist in
- the generated makefiles. If a shared library links to another,
- the other will be built before the link is attempted.
-
-2001-08-29 09:57 hoffman
-
- * Source/cmMakefile.cxx: clean up a bit
-
-2001-08-29 09:44 berk
-
- * Source/cmSystemTools.cxx: BUG: fix out of bounds read on string
- in mkdir
-
-2001-08-29 09:26 perera
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Special value
- IGNORE behaves like NOTFOUND, but makes FindLibrary, etc, _not_
- search for a library, etc.
-
-2001-08-28 18:35 hoffman
-
- * Source/cmListFileCache.h: remove warning
-
-2001-08-28 18:28 hoffman
-
- * Source/: CMakeLib.dsp, CMakeLists.txt, CMakeSetup.dsw,
- Makefile.in, cmListFileCache.cxx, cmListFileCache.h,
- cmMakefile.cxx: ENH: add caching for the input CMakeList.txt
- files, 2X speed up
-
-2001-08-28 18:27 hoffman
-
- * Source/cmDSPWriter.cxx: BUG: put spaces in /I paths
-
-2001-08-28 18:02 starreveld
-
- * Source/: cmAddLibraryCommand.cxx, cmAddLibraryCommand.h,
- cmMakefile.cxx, cmMakefile.h, cmTarget.h,
- cmUnixMakefileGenerator.cxx:
-
- Changes to allow MODULE type target for a shared library
-
-2001-08-28 18:01 starreveld
-
- * Templates/: CMakeSystemConfig.cmake.in, configure, configure.in:
-
- Changes to allow a MODULE target for a shared library.
-
-2001-08-28 16:04 martink
-
- * CMakeLists.txt, Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt: minor fix
-
-2001-08-28 14:55 martink
-
- * Source/: cmDSPWriter.cxx, cmSystemTools.cxx, cmSystemTools.h:
- better network build support
-
-2001-08-28 13:49 starreveld
-
- * Templates/: configure, configure.in:
-
- Added support for Darwin (OSX)
-
-2001-08-28 10:57 hoffman
-
- * Modules/FindTCL.cmake: ENH: support for cygwin
-
-2001-08-28 10:57 hoffman
-
- * Source/: cmSystemTools.cxx, cmUnixMakefileGenerator.cxx: BUG: fix
- for broken apple mkdir and general clean up of MakeDirectory
- command
-
-2001-08-27 15:19 martink
-
- * Source/cmDSPWriter.cxx: support for network path link libraries
-
-2001-08-27 14:44 hoffman
-
- * Source/: cmMakefile.cxx, cmMakefile.h,
- cmUnixMakefileGenerator.cxx: ENH: change expand variables to use
- GetDefinition
-
-2001-08-27 14:38 hoffman
-
- * configure, configure.in: [no log message]
-
-2001-08-27 14:35 hoffman
-
- * configure, configure.in, Source/Makefile.in: ENH: clean up sgi
- build and use non-broken autoconf
-
-2001-08-27 12:24 hoffman
-
- * configure, Source/cmUnixMakefileGenerator.cxx,
- Templates/configure: [no log message]
-
-2001-08-27 11:03 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: set CXX and CC when
- running configure from cmake
-
-2001-08-27 10:23 martink
-
- * Source/ctest.cxx: better formatted output
-
-2001-08-27 10:22 hoffman
-
- * Templates/: configure, configure.in: ENH: use ANSI_CXXFLAGS for
- testing compiler
-
-2001-08-27 10:11 hoffman
-
- * CMakeLists.txt, Templates/CMakeSystemConfig.cmake.in,
- Templates/configure, Templates/configure.in,
- Tests/Complex/CMakeLists.txt,
- Tests/ComplexOneConfig/CMakeLists.txt,
- Tests/ComplexRelativePaths/CMakeLists.txt: ENH: sgi -LANG:std
-
-2001-08-27 10:07 berk
-
- * Source/CMakeSetup.dsw: ken added dependancy to build everything
-
-2001-08-25 12:31 martink
-
- * Source/: CMakeSetup.dsw, ctest.dsp: added ctest to win32
-
-2001-08-24 17:50 hoffman
-
- * Templates/: configure, configure.in: [no log message]
-
-2001-08-24 17:30 hoffman
-
- * Templates/: CMakeSystemConfig.cmake.in, configure, configure.in:
- ENH: more sgi -LANG stuff
-
-2001-08-24 17:25 hoffman
-
- * configure, configure.in: auto detect lang:std:
-
-2001-08-24 17:17 hoffman
-
- * Source/Makefile.in: ENH: build for sgi CC out of box
-
-2001-08-24 17:12 hoffman
-
- * configure, configure.in: auto detect lang:std:
-
-2001-08-24 17:00 hoffman
-
- * configure, configure.in: auto detect lang:std:
-
-2001-08-24 16:51 hoffman
-
- * configure, configure.in: auto detect lang:std:
-
-2001-08-24 15:54 hoffman
-
- * Tests/: Complex/cmTestConfigure.h.in,
- Complex/Executable/complex.cxx,
- ComplexOneConfig/cmTestConfigure.h.in,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexRelativePaths/cmTestConfigure.h.in,
- ComplexRelativePaths/Executable/complex.cxx: BUG: fix complex
- test for old compilers
-
-2001-08-24 15:45 hoffman
-
- * configure, configure.in, Tests/Complex/cmTestConfigure.h.in,
- Tests/ComplexOneConfig/cmTestConfigure.h.in,
- Tests/ComplexRelativePaths/cmTestConfigure.h.in: BUG: fix for SGI
- Native compiler
-
-2001-08-24 15:41 hoffman
-
- * Templates/: configure, configure.in: BUG: fix flag for building
- shared on HP
-
-2001-08-23 18:30 perera
-
- * Source/: cmAddTestCommand.cxx, cmAddTestCommand.h: BUG: ADD_TEST
- now only does stuff if ENABLE_TESTING has been run.
-
-2001-08-23 18:02 hoffman
-
- * Source/: cmMakefile.cxx, cmSystemTools.cxx, cmSystemTools.h: ENH:
- improve coverage
-
-2001-08-23 17:40 hoffman
-
- * Source/: CMakeLists.txt, cmDumpDocumentation.cxx, cmMakefile.cxx,
- cmMakefile.h: ENH: add dump documentation test
-
-2001-08-23 16:28 king
-
- * Source/: cmCableWrapTclCommand.cxx, cmCableWrapTclCommand.h: ENH:
- Each cmCableWrapTclCommand instance now uses a single
- cmMakeDepend object for dependencies for all the gccxml input
- files it generates. This should significantly improve generation
- time.
-
-2001-08-23 16:24 hoffman
-
- * Source/cmaketest.cxx: BUG: run make all on unix not make exename
-
-2001-08-23 16:00 hoffman
-
- * Source/: CMakeLists.txt, cmStandardIncludes.h, cmaketest.cxx,
- ctest.cxx: ENH: add more testing
-
-2001-08-23 13:57 hoffman
-
- * Tests/: Complex/CMakeLists.txt, Complex/VarTests.txt,
- Complex/cmTestConfigure.h.in, Complex/simple.cxx,
- Complex/Executable/CMakeLists.txt,
- Complex/Executable/complex.cxx, Complex/Library/CMakeLists.txt,
- Complex/Library/file2.cxx, Complex/Library/file2.h,
- Complex/Library/sharedFile.cxx, Complex/Library/sharedFile.h,
- Complex/Library/ExtraSources/file1.cxx,
- Complex/Library/ExtraSources/file1.h,
- ComplexOneConfig/CMakeLists.txt, ComplexOneConfig/VarTests.txt,
- ComplexOneConfig/cmTestConfigure.h.in,
- ComplexOneConfig/simple.cxx,
- ComplexOneConfig/Executable/CMakeLists.txt,
- ComplexOneConfig/Executable/complex.cxx,
- ComplexOneConfig/Library/CMakeLists.txt,
- ComplexOneConfig/Library/file2.cxx,
- ComplexOneConfig/Library/file2.h,
- ComplexOneConfig/Library/sharedFile.cxx,
- ComplexOneConfig/Library/sharedFile.h,
- ComplexOneConfig/Library/ExtraSources/file1.cxx,
- ComplexOneConfig/Library/ExtraSources/file1.h,
- ComplexRelativePaths/CMakeLists.txt,
- ComplexRelativePaths/VarTests.txt,
- ComplexRelativePaths/cmTestConfigure.h.in,
- ComplexRelativePaths/simple.cxx,
- ComplexRelativePaths/Executable/CMakeLists.txt,
- ComplexRelativePaths/Executable/complex.cxx,
- ComplexRelativePaths/Library/CMakeLists.txt,
- ComplexRelativePaths/Library/file2.cxx,
- ComplexRelativePaths/Library/file2.h,
- ComplexRelativePaths/Library/sharedFile.cxx,
- ComplexRelativePaths/Library/sharedFile.h,
- ComplexRelativePaths/Library/ExtraSources/file1.cxx,
- ComplexRelativePaths/Library/ExtraSources/file1.h: ENH: try to
- get better test coverage
-
-2001-08-23 13:12 martink
-
- * Source/ctest.cxx: also check path for test executables
-
-2001-08-23 11:39 martink
-
- * Source/ctest.cxx: fixed format
-
-2001-08-23 11:32 martink
-
- * Source/cmUnixMakefileGenerator.cxx: better ctest support
-
-2001-08-23 11:12 martink
-
- * Source/: CMakeLists.txt, cmSystemTools.cxx, cmSystemTools.h,
- cmUnixMakefileGenerator.cxx, ctest.cxx, ctest.h: added test
- driver for make test target
-
-2001-08-22 16:33 martink
-
- * Source/cmDSPWriter.cxx: ENH: do not put a rule in to rebuild the
- ALL_BUILD.dsp file, as it is not possible...
-
-2001-08-22 11:58 hoffman
-
- * Source/: cmCableClassSet.h, cmCableWrapTclCommand.cxx,
- cmCacheManager.cxx, cmCacheManager.h, cmMakeDepend.h,
- cmMakefile.h, cmSourceGroup.h, cmStandardIncludes.h, cmTarget.h,
- cmUnixMakefileGenerator.cxx: ENH: change all maps of string to be
- maps of cmStdString, to reduce symbol length in object files.
-
-2001-08-22 11:26 hoffman
-
- * Source/cmMakefile.h: BUG: shorten length of symbols
-
-2001-08-22 10:12 berk
-
- * Source/cmDSPWriter.cxx: OUTDIR->IntDir
-
-2001-08-21 11:04 starreveld
-
- * Source/cmMakefile.cxx:
-
- Added support for .mm source files (ObjC++)
-
-2001-08-20 13:32 hoffman
-
- * Templates/: configure, configure.in: BUG: fix check for no std::
-
-2001-08-20 09:23 hoffman
-
- * Source/cmSetCommand.cxx: BUG: cmSystemTools::CollapseFullPath is
- a bad thing to call on the compiler which is a filepath
-
-2001-08-19 19:11 barre
-
- * Source/cmOptionCommand.cxx: Allow option value to be expanded
- (thus, we can use the value of another option as default)
-
-2001-08-19 12:14 barre
-
- * Source/cmMakefile.cxx: gcc and MSVC clash on
- basic_string::compare(), let's try substr()
-
-2001-08-19 07:36 barre
-
- * Source/cmSetCommand.cxx: If the value is a path, collapse it
- (cleaner)
-
-2001-08-18 17:57 hoffman
-
- * Templates/: configure, configure.in: BUG: get the flags right
-
-2001-08-18 12:51 barre
-
- * Source/cmMakefile.cxx, Modules/FindDart.cmake: Support for
- $ENV{VAR} syntax (lookup in the environment vars)
-
-2001-08-17 17:11 martink
-
- * Source/: cmElseCommand.cxx, cmIfCommand.cxx: backwards MATCHES in
- if and else statements
-
-2001-08-16 18:01 hoffman
-
- * Templates/configure: ENH: default for cygwin should be pthreads
-
-2001-08-16 17:42 hoffman
-
- * Templates/: CMakeSystemConfig.cmake.in,
- CMakeWindowsSystemConfig.cmake, configure, configure.in: ENH: add
- CMAKE_USE_WIN32_THREADS to the possible thread types
-
-2001-08-16 11:41 berk
-
- * Source/: cmCacheManager.cxx, cmCacheManager.h,
- cmLoadCacheCommand.cxx, cmLoadCacheCommand.h: Adding new options
- to LoadCache.
-
-2001-08-15 13:40 berk
-
- * Source/: cmCacheManager.cxx, cmCacheManager.h,
- cmLoadCacheCommand.cxx: 1. Added EXCLUDE option to LOAD_CACHE.
- 2. Entries brought in from another cache are now marked as
- internal.
-
-2001-08-15 13:23 martink
-
- * Modules/FindDart.cmake: looks at same level
-
-2001-08-15 10:03 hoffman
-
- * Templates/: configure, configure.in: ENH: make pthreads the
- default for cygwin
-
-2001-08-14 17:18 king
-
- * Source/: cmInstallFilesCommand.cxx, cmInstallFilesCommand.h,
- cmInstallProgramsCommand.cxx, cmInstallProgramsCommand.h,
- cmMakefile.cxx: ENH: Improved INSTALL_FILES and INSTALL_PROGRAMS
- commands to allow each call to the command in a single directory
- to specify a different install path.
-
-2001-08-13 16:04 martink
-
- * Modules/Dart.cmake: removed grep
-
-2001-08-10 15:52 martink
-
- * Source/: cmVTKWrapTclCommand.cxx, cmMakefile.h: now creates
- output directories
-
-2001-08-09 15:35 hoffman
-
- * CMake.pdf: ENH: update pdf to rtf
-
-2001-08-09 15:23 hoffman
-
- * CMake.rtf: ENH: add some docs for sgi CC
-
-2001-08-09 14:58 berk
-
- * Source/: cmElseCommand.cxx, cmIfCommand.cxx: BUG: or and and were
- inverted.
-
-2001-08-09 11:12 hoffman
-
- * ChangeLog: add generated ChangeLog file. Should be updated each
- time a new version is made
-
-2001-08-09 11:08 martink
-
- * Source/: cmMakefile.h: updated version
-
-2001-08-09 11:07 martink
-
- * README: out of date
-
-2001-08-09 09:33 hoffman
-
- * Source/cmConfigure.cmake.h.in: BUG: add in for scope variable
-
-2001-08-08 13:14 hoffman
-
- * Source/: cmSiteNameCommand.cxx, cmUtilitySourceCommand.cxx: BUG:
- can not Add a definition that you just got
-
-2001-08-08 11:54 hoffman
-
- * configure, configure.in, Source/cmBuildCommand.cxx,
- Source/cmBuildNameCommand.cxx, Source/cmCableWrapTclCommand.cxx,
- Source/cmCacheManager.cxx, Source/cmCacheManager.h,
- Source/cmConfigure.h.in, Source/cmConfigureGccXmlCommand.cxx,
- Source/cmDSPWriter.cxx, Source/cmDSWWriter.cxx,
- Source/cmFindFileCommand.cxx, Source/cmFindLibraryCommand.cxx,
- Source/cmFindPathCommand.cxx, Source/cmFindProgramCommand.cxx,
- Source/cmLinkLibrariesCommand.cxx,
- Source/cmMSProjectGenerator.cxx, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmOptionCommand.cxx,
- Source/cmProjectCommand.cxx, Source/cmSetCommand.cxx,
- Source/cmSiteNameCommand.cxx, Source/cmStandardIncludes.h,
- Source/cmSystemTools.cxx, Source/cmUnixMakefileGenerator.cxx,
- Source/cmUtilitySourceCommand.cxx,
- Source/cmVTKWrapJavaCommand.cxx,
- Source/cmVTKWrapPythonCommand.cxx,
- Source/cmVTKWrapTclCommand.cxx,
- Templates/CMakeSystemConfig.cmake.in, Templates/configure,
- Templates/configure.in: ENH: big change, only allow commands
- access to the cache via the cmMakefile class and GetDefinition,
- also the cmMakefile is the only way for commands to add to the
- cache. Also, some changes to configure.in that check for for
- scoping
-
-2001-08-07 15:49 hoffman
-
- * Source/: cmStandardIncludes.h, cmSystemTools.cxx: ENH: compile
- with broken 720 SGI C++ compiler
-
-2001-08-07 13:46 hoffman
-
- * Source/cmMakefile.cxx: ENH: html output for docs
-
-2001-08-07 13:15 hoffman
-
- * CMake.rtf: ENH: update documents with current commands and new
- GUI
-
-2001-08-07 08:47 king
-
- * CMakeLists.txt: ERR: CMakeLogo.gif has been moved to the root
- directory of the source so that the Web and Web/Art directories
- are not needed here.
-
-2001-08-07 08:46 king
-
- * CMakeLogo.gif: ENH: CMakeLogo for Dart to use on testing web
- page.
-
-2001-08-06 17:01 martink
-
- * Source/: cmElseCommand.cxx, cmElseCommand.h, cmIfCommand.cxx,
- cmIfCommand.h: added new if commands
-
-2001-08-06 15:11 king
-
- * CMake.pdf, CMake.rtf: Re-adding doc files. They were
- accidentally removed due to a symlink from the CMake/Web
- directory when it was removed.
-
-2001-08-06 15:01 king
-
- * CMake.pdf, CMake.rtf: Removing Web directory from CMake. It is
- moving to a separate, parallel CVS module called "CMakeWeb"
-
-2001-08-03 15:47 king
-
- * Source/: cmConfigureFileCommand.cxx, cmConfigureFileCommand.h:
- ENH: Added 'IMMEDIATE' option to CONFIGURE_FILE command to force
- file copy and configuration on the initial pass so that current
- variable values are used.
-
-2001-08-02 17:27 king
-
- * Source/: cmCableWrapTclCommand.cxx, cmCableWrapTclCommand.h: ENH:
- Added use of a class's tag to generate a better set of filenames
- for its wrapper configuration, xml, and generated files. This
- should also prevent half the classes from re-wrapping when a new
- one is inserted in the middle.
-
-2001-08-02 14:42 king
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: Generated link line for
- shared libraries had CMAKE_CXX_FLAGS instead of CMAKE_CXXFLAGS
- (note underscore).
-
-2001-08-02 14:10 king
-
- * Source/cmMakefile.cxx: BUG: Fixed off-by-one error in
- ExpandVariablesInString for case of $ or @ as last character of
- string.
-
-2001-08-02 09:07 king
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: We don't want to output
- -I/usr/include in the INCLUDE_FLAGS variable. This causes
- problems with finding system headers in the wrong places for
- certain standard library implementations.
-
-2001-08-01 16:14 king
-
- * Source/: cmCommands.cxx, cmMakefile.cxx, cmMakefile.h,
- cmSubdirDependsCommand.cxx, cmSubdirDependsCommand.h,
- cmUnixMakefileGenerator.cxx: ENH: Added SUBDIR_DEPENDS command
- and corresponding support code. This command allows
- specification that a set of subdirectories be built before a
- particular directory.
-
-2001-08-01 16:13 king
-
- * Source/cmAddDefinitionsCommand.cxx: BUG: Needed to expand
- variables of definitions.
-
-2001-08-01 16:12 king
-
- * Source/cmInstallFilesCommand.cxx: BUG: Need to expand variables
- when a regular expression is specified.
-
-2001-08-01 16:11 king
-
- * Modules/FindCABLE.cmake: ENH: Support to find CABLE utility if it
- is installed.
-
-2001-08-01 11:19 king
-
- * Modules/FindTCL.cmake: ENH: Added tk library names tk8.4 tk8.3
- tk8.2 and tk8.0 to correspond to tk84 tk83 tk82 and tk80.
- TK_LIBRARY should now be found on more platforms.
-
-2001-07-31 11:29 king
-
- * Source/cmCommands.cxx, Source/cmDSPWriter.cxx,
- Source/cmDSWWriter.cxx, Source/cmInstallFilesCommand.cxx,
- Source/cmInstallProgramsCommand.cxx,
- Source/cmInstallProgramsCommand.h, Source/cmMakefile.cxx,
- Source/cmTarget.cxx, Source/cmTarget.h,
- Source/cmUnixMakefileGenerator.cxx, Templates/CMakeLists.txt:
- ENH: Added INSTALL_PROGRAMS command and corresponding support.
- This involved splitting cmTarget::INSTALL into INSTALL_FILES and
- INSTALL_PROGRAMS enum values. INSTALL_FILES no longer adds
- execute permission. The INSTALL_PROGRAMS commnad takes either a
- list of explicit names, or a regex. It will not expand source
- lists like the INSTALL_FILES command will.
-
-2001-07-30 12:21 king
-
- * Source/cmCableClassSet.cxx: ERR:
- ElementCombinationGenerator::ReplacePortion needs to be a friend
- of ElementCombinationGenerator so that it can get access to
- ElementCombinationGenerator::Substitution. Also fixed one minor
- problem for HP build.
-
-2001-07-30 11:34 king
-
- * Source/: cmCableClassSet.cxx, cmCableWrapTclCommand.cxx,
- cmDSPWriter.cxx, cmMakeDepend.cxx, cmMakefile.cxx, cmMakefile.h,
- cmUnixMakefileGenerator.cxx: BUG: Changed include and link
- directory paths in cmMakefile back to std::vector because there
- is an order dependency. Only cmMakefile::AddIncludeDirectory and
- cmMakefile::AddLinkDirectory should be called to add directories
- to the paths. They make sure the paths are unique as they are
- inserted.
-
-2001-07-30 07:18 scottim
-
- * Source/: cmCableClassSet.cxx, cmCableWrapTclCommand.cxx,
- cmDSPWriter.cxx, cmMakeDepend.cxx, cmMakefile.cxx, cmMakefile.h,
- cmUnixMakefileGenerator.cxx: Removed the Uniquification of the
- include and link directory list in FinalPass, and achieved the
- same effect by makein m_LinkDirectores and m_IncludeDirectories a
- set rather than vector
-
-2001-07-27 16:29 hoffman
-
- * Source/cmMakefile.cxx: ENH: Re-implemented
- ExpandVariablesInString to significantly improve performance.
-
-2001-07-27 13:06 scottim
-
- * Source/: cmMakefile.cxx, cmMakefile.h: MAkefile now strips
- duplicate directores from the libraries and include paths
-
-2001-07-26 11:07 king
-
- * Source/: cmCableClassSet.cxx, cmCableClassSet.h,
- cmCableClassSetCommand.cxx, cmCableWrapTclCommand.cxx: ENH: Added
- cable class-set expansion and tagging for alternate name
- generation. This should make the generated wrappers much easier
- to setup and use.
-
-2001-07-26 09:47 berk
-
- * CMakeLists.txt: ENH: Updated regexp for tracing dependencies in
- FLTK dialog.
-
-2001-07-26 08:36 martink
-
- * Source/cmMakefile.h: fixed warnings
-
-2001-07-25 18:30 hoffman
-
- * Source/: cmMakefile.cxx, cmMakefile.h, cmake.cxx, cmake.h: ENH:
- rework GUI with configure/OK/Cancel
-
-2001-07-25 16:53 martink
-
- * Source/: cmCommands.cxx, cmFunctionBlocker.h, cmIfCommand.cxx,
- cmIfCommand.h, cmMakefile.cxx, cmMakefile.h: added for each
- command
-
-2001-07-25 16:52 martink
-
- * Source/: cmEndForEachCommand.cxx, cmEndForEachCommand.h,
- cmForEachCommand.cxx, cmForEachCommand.h: new commands
-
-2001-07-25 09:40 berk
-
- * Source/cmCacheManager.cxx: Removing trailing spaces after cache
- entry value.
-
-2001-07-24 16:16 king
-
- * Source/cmDSPWriter.cxx: BUG: Fixed dependency generation to work
- for when there are many, many dependencies. Output is now easier
- to ready anyway because each dependency is on its own line.
-
-2001-07-23 14:43 king
-
- * Source/: cmConfigureGccXmlCommand.cxx,
- cmConfigureGccXmlCommand.h: BUG: CompilerIsMipsPro needs to
- redirect stderr to stdout so that the test output can be checked.
-
-2001-07-23 11:54 king
-
- * Source/: cmConfigureGccXmlCommand.cxx,
- cmConfigureGccXmlCommand.h: ENH: Added support for UNIX
- compilers. GCC and MIPSpro are supported.
-
-2001-07-23 11:53 king
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Added support
- for non-verbose mode output from running a command. This can be
- used when it is expected that the command may fail.
-
-2001-07-23 11:07 king
-
- * Source/: cmCommands.cxx, cmConfigureGccXmlCommand.cxx,
- cmConfigureGccXmlCommand.h: ENH: Added CONFIGURE_GCCXML command
- to do hard work of configuring GCCXML's flags for the current
- compiler. Currently only implemented correctly for Visual C++ in
- Windows.
-
-2001-07-23 11:06 king
-
- * Modules/FindGCCXML.cmake: ENH: Module to find and configure
- GCCXML and GCCXML_FLAGS.
-
-2001-07-20 11:41 millerjv
-
- * Modules/Dart.cmake: ENH: Added Purify targets
-
-2001-07-20 09:20 millerjv
-
- * Modules/Dart.cmake: ENH: Added purify command.
-
-2001-07-20 04:56 scottim
-
- * Templates/DLLHeader.dsptemplate: adding what I think is a missing
- /pdbtype:sept
-
-2001-07-18 16:45 martink
-
- * Source/cmMakefile.h: updated version
-
-2001-07-18 11:40 martink
-
- * Source/cmSystemTools.cxx: limit library search to appropriate
- extensions
-
-2001-07-18 10:17 hoffman
-
- * Modules/Dart.cmake: BUG: enable testing even if not tcl found
-
-2001-07-17 15:41 king
-
- * Source/cmCableWrapTclCommand.cxx: ENH: Added generation of
- dependencies on the CMake-generated input to gcc-xml so that
- re-generation of wrappers will occur if a header changes.
-
-2001-07-17 15:41 king
-
- * Source/cmMakeDepend.cxx: BUG: Need to expand variables in search
- paths in case it hasn't been done yet by the makefile.
-
-2001-07-17 15:09 king
-
- * Source/: cmMakeDepend.cxx, cmMakeDepend.h,
- cmOutputRequiredFilesCommand.cxx, cmUnixMakefileGenerator.cxx:
- ENH: Hacked together a new implementation of the dependency
- generator code. This should support finding dependencies for
- individual files without doing them for the entire makefile. Use
- cmMakeDepend::FindDependencies() to do this.
-
-2001-07-17 09:54 king
-
- * Modules/CMakeLists.txt, Modules/FindDart.cmake,
- Modules/FindJNI.cmake, Modules/FindPythonLibs.cmake,
- Modules/FindTCL.cmake, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h, Templates/configure,
- Templates/configure.in: ENH: Added support for using
- backslash-style escaping in CMakeLists.txt file arguments. This
- allows double quotes to be used in arguments.
-
-2001-07-16 18:40 perera
-
- * Source/: cmAuxSourceDirectoryCommand.cxx, cmMakefile.cxx,
- cmMakefile.h, cmSourceFile.cxx, cmSourceFile.h,
- cmSourceFilesCommand.cxx, cmSourceFilesRemoveCommand.cxx,
- cmTarget.cxx: ENH: Source and header file extensions are in
- variables in cmMakefile. AUX_SOURCE_DIRECTORY will only add
- files that have a "source" extension.
-
-2001-07-16 15:19 ibanez
-
- * Modules/: FindGLU.cmake, FindGLUT.cmake: Search path for
- OpenGL related libraries
-
-2001-07-16 10:17 hoffman
-
- * Templates/: CMakeSystemConfig.cmake.in, configure, configure.in:
- ENH: add a variable for CMAKE_COMPILER_IS_GNUCXX
-
-2001-07-16 10:14 hoffman
-
- * Source/: cmMakefile.cxx, cmSourceFile.cxx: ENH: add support for
- mac osx
-
-2001-07-15 21:10 barre
-
- * Modules/FindPythonLibs.cmake: update include/lib path to Python
- (Linux)
-
-2001-07-11 13:30 martink
-
- * Source/: cmMakefile.h: version num
-
-2001-07-11 12:12 hoffman
-
- * Source/cmSystemTools.cxx: BUG: make sure find program does not
- find directories
-
-2001-07-10 17:13 hoffman
-
- * Source/: cmIncludeCommand.cxx, cmLoadCacheCommand.cxx: BUG:
- remove iostream.h includes
-
-2001-07-10 16:20 berk
-
- * Source/cmUnixMakefileGenerator.cxx: Unnecessary variable
-
-2001-07-10 16:20 berk
-
- * Source/cmMakefile.cxx: Better error checking.
-
-2001-07-10 14:29 hoffman
-
- * Templates/: configure, configure.in: BUG: fix excape of * for
- cmake
-
-2001-07-10 13:57 king
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: When splitting a full
- path library into separate -L and -l parts, the -l part may not
- have a "lib" prefix on cygwin.
-
-2001-07-10 12:09 king
-
- * Source/cmake.cxx: ENH: Removing automatic setting of
- BUILD_SHARED_LIBS. Projects that support this should explicitly
- declare it with the OPTION command, or set its libraries to
- shared or static directly on each ADD_LIBRARY command.
-
-2001-07-10 11:56 berk
-
- * Modules/Dart.cmake: Checking if tclshcommand is defined before
- running it.
-
-2001-07-10 11:46 king
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: Added
- -D(library_name)_EXPORTS to build rules for sources that are
- going to be linked into a shared library. This allows dllexport
- setup for DLL building on cygwin. It may also come in handy in
- unix in the future. This corresponds to the same definition
- added by the dll dsp template in windows.
-
-2001-07-10 09:23 martink
-
- * Source/cmBuildNameCommand.cxx: changes to better handle old
- values or hand set values
-
-2001-07-09 12:46 nobody
-
- * DartConfig.cmake: Disabled doxygen and gnats
-
-2001-07-08 17:54 perera
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: library extension goes
- after library name, not before
-
-2001-07-06 14:41 hoffman
-
- * Source/: cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h:
- ENH: some clean up, and better checking to see if we are building
- cmake
-
-2001-07-06 14:11 hoffman
-
- * configure, configure.in: ENH: run make depend
-
-2001-07-06 12:46 will
-
- * Source/cmCommand.h: ERR:Spelling mistake
-
-2001-07-06 09:22 king
-
- * Source/cmStandardIncludes.h: ENH: Warning 4503 disable for MSVC.
-
-2001-07-05 18:15 hoffman
-
- * Templates/: configure, configure.in: BUG: fix flags for cygwin
- and shared builds
-
-2001-07-05 17:52 hoffman
-
- * Source/cmSystemTools.cxx: ENH: add better error output
-
-2001-07-05 12:03 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx, Templates/configure,
- Templates/configure.in: BUG: fix solaris problems in install and
- ar
-
-2001-07-03 10:53 king
-
- * Source/cmCableWrapTclCommand.cxx: ENH: Removed -fsyntax-only flag
- from call to gcc-xml. It should be part of GCCXML_FLAGS.
-
-2001-07-03 05:27 scottim
-
- * Source/cmDSPWriter.cxx, Templates/CMakeWindowsSystemConfig.cmake,
- Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate,
- Templates/EXEWinHeader.dsptemplate,
- Templates/UtilityHeader.dsptemplate,
- Templates/staticLibHeader.dsptemplate: Renamed the
- ReleaseWithDebugInfo Build configuration to RelWithDebInfo,
- because msdev does simple matching on build target, and
- specifying either Release or Debug builds would also build
- ReleaseWithDebugInfo
-
-2001-07-02 16:52 king
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: When outputting relative
- path of .o, the relative path of the source file must also be
- written (not full path).
-
-2001-07-02 16:30 millerjv
-
- * Source/cmBuildNameCommand.cxx: FIX: BuildName removes path to
- compiler and converts any illegal characters
-
-2001-07-02 15:57 king
-
- * Source/: cmCommands.cxx, cmBuildSharedLibrariesCommand.cxx,
- cmBuildSharedLibrariesCommand.h: ENH: Removed deprecated command
- completely.
-
-2001-07-02 15:38 king
-
- * Source/: cmAddLibraryCommand.cxx, cmAddLibraryCommand.h,
- cmDSPWriter.cxx, cmDSPWriter.h, cmDSWWriter.cxx, cmMakefile.cxx,
- cmMakefile.h, cmTarget.h, cmUnixMakefileGenerator.cxx,
- cmUnixMakefileGenerator.h: ENH: Added support for selection of
- static/shared build on a per-library basis.
-
-2001-07-02 14:38 martink
-
- * Source/cmake.cxx: better arg support
-
-2001-07-02 14:03 berk
-
- * Source/: cmVTKWrapJavaCommand.h, cmVTKWrapPythonCommand.h,
- cmVTKWrapTclCommand.h: Should not be inherited.
-
-2001-07-02 14:03 berk
-
- * Source/: cmVTKWrapJavaCommand.cxx, cmVTKWrapPythonCommand.cxx,
- cmVTKWrapTclCommand.cxx: Better error checking.
-
-2001-07-02 14:02 berk
-
- * Source/cmConfigureFileCommand.cxx: Wrong place for fout
-
-2001-06-29 16:46 martink
-
- * Source/cmConfigureFileCommand.cxx: better configure file command
-
-2001-06-29 16:06 nobody
-
- * CMakeLists.txt: added logo
-
-2001-06-29 09:53 martink
-
- * Source/cmaketest.cxx: minor compile fix
-
-2001-06-29 09:30 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx,
- Templates/CMakeSystemConfig.cmake.in, Templates/configure,
- Templates/configure.in: BUG: break up CMAKE_AR into program and
- ARGS
-
-2001-06-28 17:45 hoffman
-
- * configure, configure.in, Source/cmSystemTools.cxx,
- Source/cmUnixMakefileGenerator.cxx, Templates/configure,
- Templates/configure.in: ENH: various fixes to allow bootstrap on
- sunos with CC
-
-2001-06-28 16:45 hoffman
-
- * Source/cmEnableTestingCommand.cxx: fixed Dart issue
-
-2001-06-28 15:27 hoffman
-
- * Templates/CMakeSystemConfig.cmake.in: set values in the cache not
- just the current makefile
-
-2001-06-28 15:08 berk
-
- * Source/cmUnixMakefileGenerator.cxx: Special rules for
- out-of-package source files.
-
-2001-06-28 14:38 hoffman
-
- * Templates/: configure, configure.in: BUG: pass flags to compiler
- during configure
-
-2001-06-28 14:27 hoffman
-
- * Templates/: configure, configure.in: BUG: pass flags to compiler
- during configure
-
-2001-06-28 14:01 hoffman
-
- * Source/cmSourceFilesCommand.cxx: BUG: find files in
- subdirectories
-
-2001-06-28 11:42 hoffman
-
- * Source/cmStandardIncludes.h: fix for scope on hp
-
-2001-06-28 11:40 hoffman
-
- * Source/cmSystemTools.cxx: BUG: check size of path error, HP
- gcount problem
-
-2001-06-27 17:19 berk
-
- * Source/cmSourceFilesCommand.cxx: Added variable expansion.
-
-2001-06-27 16:18 martink
-
- * Source/cmMakefile.h: updated version to 0.3
-
-2001-06-27 16:17 martink
-
- * Source/cmMakefile.h: updated version to 0.2
-
-2001-06-27 16:14 martink
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: fix install when
- executable and lib path set
-
-2001-06-27 15:42 hoffman
-
- * configure, configure.in, Source/CMakeLists.txt,
- Source/cmSystemTools.cxx, Source/cmUnixMakefileGenerator.cxx,
- Source/cmake.cxx, Templates/install-sh: ENH: fix install for
- cygwin, build cmake from configure
-
-2001-06-27 15:13 king
-
- * Source/: cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h:
- BUG: Check for building shared libraries should read from the
- make file's setting, not directly from the cache.
-
-2001-06-27 15:09 king
-
- * Source/cmDSPWriter.cxx: BUG: Check for building shared libraries
- should read from makefile's setting, not directly from the cache.
-
-2001-06-27 13:16 martink
-
- * CMake.rtf: updated for 0.2
-
-2001-06-27 13:12 martink
-
- * Source/: cmLinkLibrariesCommand.h, cmSubdirCommand.h:
- documentation change
-
-2001-06-27 12:09 perera
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: Use ${MAKE} instead of
- make for dependent library rules
-
-2001-06-27 11:49 martink
-
- * Source/cmCommands.cxx: alphabetized
-
-2001-06-27 11:35 martink
-
- * Source/cmake.cxx: added help options
-
-2001-06-27 09:17 martink
-
- * Source/: cmSystemTools.cxx, cmaketest.cxx, cmaketest.h.in: minor
- fixes to testing
-
-2001-06-27 09:16 martink
-
- * Source/CMakeLists.txt: mod to the testing
-
-2001-06-27 09:16 martink
-
- * CMakeLists.txt: added dependencies for testing
-
-2001-06-26 16:19 hoffman
-
- * Source/cmake.dsp: BUG: change to dos mode
-
-2001-06-26 13:41 martink
-
- * Modules/Dart.cmake: update for CMake changes
-
-2001-06-26 13:23 martink
-
- * Source/: CMakeLists.txt, cmAddCustomTargetCommand.cxx,
- cmAddCustomTargetCommand.h, cmBuildCommand.cxx: modified how
- paths are escaped, added depends
-
-2001-06-26 10:01 martink
-
- * Source/: cmAddDependenciesCommand.cxx,
- cmAddDependenciesCommand.h, cmCommands.cxx: added add
- dependencies command
-
-2001-06-25 13:34 millerjv
-
- * Source/: cmBuildNameCommand.cxx, cmSiteNameCommand.cxx: FIX:
- added AddDefinition() to store site name and build name in
- makefile. Also stripped white space from the result of
- hostname.
-
-2001-06-25 10:59 martink
-
- * CMakeLists.txt: made cmake write its execs into CMake/Source
-
-2001-06-22 14:53 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: shared libraries should
- not depend on other shared libraries, they get relinked too
- often.
-
-2001-06-22 14:53 hoffman
-
- * Source/cmMakefile.cxx: ENH: put back stdio.h to get sprintf
-
-2001-06-22 14:23 biddi
-
- * Source/cmCommands.cxx: ERR: Serious problems with my CVS. How did
- this get committed?
-
-2001-06-22 12:19 king
-
- * Source/cmSystemTools.cxx: BUG: Wrote correct implementation of
- cmCopyFile.
-
-2001-06-22 12:18 king
-
- * Source/cmake.cxx: BUG: Fixed generation of cMakeRoot in one case.
-
-2001-06-22 12:18 king
-
- * Source/cmStandardIncludes.h: ENH: Added string.h include.
-
-2001-06-22 12:17 king
-
- * Source/cmMakefile.cxx: ERR: Removed stray standard header
- include. They should be added to cmStandardIncludes.h
-
-2001-06-22 12:17 king
-
- * Source/cmIncludeCommand.cxx: BUG: Added missing newline in error
- message.
-
-2001-06-22 11:32 martink
-
- * Source/cmMakefile.cxx: removed stricmp
-
-2001-06-22 11:28 martink
-
- * Source/CMakeLists.txt: escape quotes on cmaketest.h.in
-
-2001-06-22 11:15 martink
-
- * Source/: cmConfigureFileCommand.cxx, cmConfigureFileCommand.h:
- added escape quotes option
-
-2001-06-22 11:14 martink
-
- * Source/: cmMakefile.cxx, cmMakefile.h: added escape quotes option
- in replace strings
-
-2001-06-22 10:21 martink
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: added escape quote
- method
-
-2001-06-22 09:58 biddi
-
- * Source/: cmCommands.cxx, cmSourceFilesRemoveCommand.cxx,
- cmSourceFilesRemoveCommand.h: ENH: Added new command
- SOURCE_FILES_REMOVE which can be used to take files out of the
- build. Especially useful when certain compilers choke on the odd
- file.
-
-2001-06-22 09:47 biddi
-
- * Source/: cmMakefile.cxx, cmMakefile.h: ENH: Added
- RemoveSource(...) to complement AddSource. New command
- SOURCE_FILES_REMOVE uses it and can be used to take files out of
- the build
-
-2001-06-22 09:27 martink
-
- * Source/cmaketest.cxx: namespace issues
-
-2001-06-21 17:55 hoffman
-
- * Source/cmDSWWriter.cxx: allow no name project
-
-2001-06-21 17:53 martink
-
- * Source/CMakeLists.txt: better testing
-
-2001-06-21 17:53 martink
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: adde changeDirectory
-
-2001-06-21 17:52 martink
-
- * Source/: cmaketest.cxx, cmaketest.h.in: new test driver
-
-2001-06-21 17:52 martink
-
- * Tests/Simple/: CMakeLists.txt, simple.cxx: new tests
-
-2001-06-21 17:41 hoffman
-
- * Source/cmake.cxx: BUG: fix for unix
-
-2001-06-21 17:25 hoffman
-
- * Source/cmake.cxx: ENH: clean up
-
-2001-06-21 17:20 hoffman
-
- * Source/cmake.cxx: ENH: look in the PREFIX dir for the modules
-
-2001-06-21 16:34 hoffman
-
- * Source/: cmConfigure.cmake.h.in, cmake.cxx: ENH: better ability
- to find cmake program
-
-2001-06-21 15:57 martink
-
- * Templates/CMakeLists.txt: minor install fix
-
-2001-06-21 15:54 martink
-
- * Source/cmUnixMakefileGenerator.cxx: better permission handling
-
-2001-06-21 15:02 king
-
- * Source/: cmIncludeRegularExpressionCommand.cxx,
- cmIncludeRegularExpressionCommand.h, cmMakeDepend.cxx,
- cmMakeDepend.h, cmMakefile.cxx, cmMakefile.h,
- cmUnixMakefileGenerator.cxx: ENH: Extended
- INCLUDE_REGULAR_EXPRESSION to allow selective complaints about
- missing dependencies.
-
-2001-06-21 15:02 king
-
- * Source/CMakeLists.txt: ENH: Added BUILD_FLTK_GUI option (defaults
- to ON).
-
-2001-06-21 13:48 hoffman
-
- * Source/: CMakeLists.txt, cmSourceFile.cxx, cmStandardIncludes.h:
- BUG: fix bootstrap build on unix
-
-2001-06-21 12:31 hoffman
-
- * CMakeLists.txt: ENH: add include regexp
-
-2001-06-21 12:01 martink
-
- * CMakeLists.txt, Makefile.in, configure, configure.in, install-sh,
- Modules/CMakeLists.txt, Source/cmInstallFilesCommand.cxx,
- Source/cmInstallFilesCommand.h, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h, Source/cmake.cxx,
- Templates/CMakeLists.txt, Templates/install-sh: better install
- support
-
-2001-06-21 10:58 hoffman
-
- * Templates/CMakeSystemConfig.cmake.in: BUG: remove quotes
-
-2001-06-21 10:36 hoffman
-
- * Source/: cmIncludeCommand.cxx, cmIncludeCommand.h: ENH: add
- optional include and only allow one file per INCLUDE
-
-2001-06-20 16:49 hoffman
-
- * Source/CMakeLists.txt, Source/cmDSPWriter.cxx,
- Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate,
- Templates/EXEWinHeader.dsptemplate,
- Templates/staticLibHeader.dsptemplate: ENH: boot strap mfc gui
- and support for MFC
-
-2001-06-20 13:56 hoffman
-
- * Source/CMakeLists.txt, Source/cmConfigure.cmake.h.in,
- Source/cmSourceFile.cxx, Source/cmStandardIncludes.h,
- Source/cmake.cxx, Templates/CMakeSystemConfig.cmake.in,
- Templates/configure, Templates/configure.in: ENH: fix cmake so it
- can boot strap itself better
-
-2001-06-19 16:29 hoffman
-
- * Modules/FindFLTK.cmake: [no log message]
-
-2001-06-19 16:10 hoffman
-
- * Source/CMakeLists.txt: ENH: build fltk cmake on unix with
- bootstrap
-
-2001-06-19 16:05 king
-
- * Makefile.in: BUG: Exectuable installation must set permissions to
- 755 in case installer has a umask like 007.
-
-2001-06-19 15:50 king
-
- * Source/: cmBuildSharedLibrariesCommand.cxx, cmake.cxx: ENH: CMake
- now always adds the BUILD_SHARED_LIBS cache entry. The
- BUILD_SHARED_LIBRARIES command that used to be used is now
- deprecated.
-
-2001-06-19 15:33 hoffman
-
- * Source/CMakeLists.txt: ENH: add bootstrap support for building
- fltk
-
-2001-06-19 12:03 king
-
- * Source/: cmCableCloseNamespaceCommand.cxx,
- cmCableCloseNamespaceCommand.h, cmCableCommand.cxx,
- cmCableCommand.h, cmCableData.cxx, cmCableData.h,
- cmCableDefineSetCommand.cxx, cmCableDefineSetCommand.h,
- cmCableInstantiateClassCommand.cxx,
- cmCableInstantiateClassCommand.h, cmCableInstantiateCommand.cxx,
- cmCableInstantiateCommand.h, cmCableOpenNamespaceCommand.cxx,
- cmCableOpenNamespaceCommand.h, cmCablePackageCommand.cxx,
- cmCablePackageCommand.h, cmCablePackageEntryCommand.cxx,
- cmCablePackageEntryCommand.h, cmCableSourceFilesCommand.cxx,
- cmCableSourceFilesCommand.h, cmCableWrapCommand.cxx,
- cmCableWrapCommand.h, cmCommands.cxx: ENH: Removing old-style
- cable commands related to the instantiation functionality which
- has now been removed from cable.
-
-2001-06-19 12:01 king
-
- * Source/cmOutputRequiredFilesCommand.cxx: ERR: Removed unused
- variable.
-
-2001-06-19 07:41 millerjv
-
- * Source/: cmAddTestCommand.cxx, cmEnableTestingCommand.cxx: ENH:
- Changed generated filename to DartTestfile.txt
-
-2001-06-18 17:26 hoffman
-
- * Source/cmSystemTools.cxx: BUG: use pclose not fclose
-
-2001-06-18 16:54 perera
-
- * Source/cmLinkLibrariesCommand.cxx: ENH: LINK_LIBRARIES(abc) will
- automatically add the path to abc to the link directories, if the
- path is known.
-
-2001-06-18 15:35 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: remove unused
-
-2001-06-18 15:32 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: create directories in
- the right place
-
-2001-06-18 15:31 hoffman
-
- * Source/cmake.cxx: ENH: move EXECUTABLE_OUTPUT_PATH and
- LIBRARY_OUTPUT_PATH initial creation to after the CMakeLists.txt
- files have been parsed
-
-2001-06-18 13:16 martink
-
- * Modules/Dart.cmake: out of source dart support
-
-2001-06-15 17:57 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: do not add anything from
- the current directory to the depends
-
-2001-06-15 10:35 perera
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: fixed so that empty
- library paths are ignored
-
-2001-06-14 17:06 biddi
-
- * Source/cmSourceFile.cxx: ERR: allow *.cpp as well as *.cxx etc
- etc
-
-2001-06-14 11:45 martink
-
- * Source/CMakeLib.dsp: added make depend on win32
-
-2001-06-14 10:19 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: fix it so that if a
- Makefile is out of date for some reason, it is only built once,
- it was doing it twice.
-
-2001-06-14 09:10 martink
-
- * CMakeLists.txt, DartConfig.cmake: modified testing
-
-2001-06-13 17:50 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: fix so it does not jump
- into the current directory for inital target builds
-
-2001-06-13 17:03 hoffman
-
- * Source/: cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h,
- cmake.cxx: ENH: fix EXECUTABLE_OUTPUT_PATH and
- LIBRARY_OUTPUT_PATH for unix
-
-2001-06-13 16:15 martink
-
- * Modules/FindDart.cmake: used to find the dart testing system
-
-2001-06-13 14:49 martink
-
- * CMakeLists.txt: minor dart change
-
-2001-06-13 13:53 martink
-
- * Source/: cmTarget.cxx, cmTarget.h: duh
-
-2001-06-13 13:49 martink
-
- * CMakeLists.txt, Source/cmTarget.cxx, Source/cmTarget.h: minor cvs
- web changeCMakeLists.txt
-
-2001-06-12 14:15 perera
-
- * Source/cmUnixMakefileGenerator.cxx, Templates/configure,
- Templates/configure.in: BUG: SHLIB_LINK was being used when
- linking static executables. Missing comma in RUNTIME_FLAG for
- IRIX. ENH: User supplied SHLIB_CFLAGS (-fPIC, etc) will override
- configure detected flags
-
-2001-06-12 13:30 martink
-
- * CMakeLists.txt, Source/CMakeLists.txt: support testing
-
-2001-06-12 12:22 king
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: CMake's configure needs
- to run with the current directory as the project's binary
- directory.
-
-2001-06-12 11:55 martink
-
- * Source/: cmakemain.cxx: cmake does not require two arguments
-
-2001-06-12 11:12 martink
-
- * Source/cmCommands.cxx: removed old added new
-
-2001-06-12 11:08 martink
-
- * Source/cmCommands.cxx: removed old added new
-
-2001-06-12 11:08 martink
-
- * Source/: cmOutputRequiredFilesCommand.cxx,
- cmOutputRequiredFilesCommand.h: added new command
-
-2001-06-12 11:08 martink
-
- * Source/: cmConfigureFileNoAutoconf.cxx,
- cmConfigureFileNoAutoconf.h, cmTestsCommand.cxx,
- cmTestsCommand.h: removed old commands
-
-2001-06-12 10:59 king
-
- * Source/: cmMakeDepend.cxx, cmUnixMakefileGenerator.cxx: BUG:
- Dependency hints must be removed by the makefile generator before
- adding the dependencies generated by cmMakeDepend.
-
-2001-06-12 10:45 perera
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: There was no dependency
- for library targets on their required libraries. (Hopefully
- there aren't any cyclic dependencies for libraries.)
- CMAKE_SHLIB_LINK is now used for executable targets.
-
-2001-06-12 09:00 martink
-
- * Source/: cmMakeDepend.h, cmUnixMakefileGenerator.cxx,
- cmUnixMakefileGenerator.h, cmMakeDepend.cxx: some cleanup to the
- make depend process
-
-2001-06-12 08:31 king
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: WIN32_EXECUTABLE targets
- were not being installed on unix properly. They are supposed to
- be treated just like any other EXECUTABLE target.
-
-2001-06-12 08:30 king
-
- * Source/cmake.cxx: ERR: int -> unsigned int.
-
-2001-06-11 21:50 ibanez
-
- * Modules/FindFLTK.cmake: ENH: Added the path used in SuSe Linux
- 7.1
-
-2001-06-11 19:14 millerjv
-
- * Modules/Dart.cmake: Modified for new Dart source tree
-
-2001-06-11 18:00 martink
-
- * Source/cmake.cxx: minor fix in error checking
-
-2001-06-11 17:09 king
-
- * Modules/FindTCL.cmake: ENH: Added check for tcl8.4 (as against
- tcl84), tcl8.3, tcl8.2, and tcl8.0 when finding the TCL_LIBRARY.
-
-2001-06-11 16:47 martink
-
- * Source/cmMakefile.h: added some const versions of get methods
-
-2001-06-11 15:31 millerjv
-
- * Modules/Testing.cmake: Changed Testing.cmake to Dart.cmake
-
-2001-06-11 15:28 millerjv
-
- * Modules/Dart.cmake: Rename Testing.cmake to Dart.cmake
-
-2001-06-11 10:18 king
-
- * Source/cmSystemTools.cxx: BUG: Fixed regular expression used to
- match registry entries. The expression now matches everything
- after a [HKEY until the first ']' is encountered.
-
-2001-06-10 18:27 ibanez
-
- * Source/cmSystemTools.cxx: DOC: Added a comment about the risk of
- using tempnam in Unix, as opposed to using mkstemp.
-
-2001-06-09 20:54 king
-
- * Source/cmCableWrapTclCommand.cxx: BUG: Changed custom command
- generation to not use full path of output file from cable.
-
-2001-06-08 14:40 king
-
- * Source/: cmCableWrapTclCommand.cxx, cmCableWrapTclCommand.h: ENH:
- Added proper request for/generation of CABLE, GCCXML, and
- GCCXML_FLAGS cache entries. This also allowed the correct
- generation of gccxml rules.
-
-2001-06-08 14:38 king
-
- * Source/cmDSPWriter.cxx: BUG: Removed generation of stray # Begin
- Custom Build line.
-
-2001-06-08 00:18 perera
-
- * Source/cmUnixMakefileGenerator.cxx,
- Templates/CMakeSystemConfig.cmake.in, Templates/configure,
- Templates/configure.in: ENH: Runtime library search paths can be
- added to the link lines for on shared builds.
-
-2001-06-07 16:48 martink
-
- * CMake.pdf.gz: replaced with pdf version
-
-2001-06-07 16:45 will
-
- * CMake.pdf: updated docs
-
-2001-06-07 16:34 martink
-
- * CMake.doc.gz: checked in rtf version
-
-2001-06-07 16:24 martink
-
- * CMake.rtf: updated docs
-
-2001-06-07 14:52 hoffman
-
- * Source/cmAddTestCommand.cxx, Source/cmCablePackageCommand.cxx,
- Source/cmCableWrapTclCommand.cxx, Source/cmCacheManager.cxx,
- Source/cmCacheManager.h, Source/cmDSWWriter.cxx,
- Source/cmMakefile.cxx, Source/cmMakefile.h,
- Source/cmSystemTools.h, Source/cmTarget.h,
- Source/cmUnixMakefileGenerator.cxx,
- Source/cmUtilitySourceCommand.cxx,
- Source/cmVTKWrapJavaCommand.cxx,
- Source/cmVTKWrapPythonCommand.cxx,
- Source/cmVTKWrapTclCommand.cxx, Source/cmake.cxx,
- Templates/CMakeWindowsSystemConfig.cmake: ENH: move utilities to
- targets from makefile, and add versioning to cache
-
-2001-06-07 12:22 king
-
- * Source/cmEnableTestingCommand.cxx: BUG: ENABLE_TESTING command
- may need to create output directory before writing the
- CMakeTestfile into it since it is invoked before the makefile
- generator runs.
-
-2001-06-07 11:36 scottim
-
- * Source/cmDSPWriter.cxx, Templates/CMakeWindowsSystemConfig.cmake,
- Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate,
- Templates/EXEWinHeader.dsptemplate,
- Templates/UtilityHeader.dsptemplate,
- Templates/staticLibHeader.dsptemplate: adding a "Release with
- debugging Info" build to CMake for NT
-
-2001-06-07 10:16 king
-
- * Source/cmCableWrapTclCommand.cxx: ERR: Fixed generation of source
- name and directory for cmSourceFiles of generated Tcl wrapper
- files. Changed extension of generated gcc-xml input c++ file to
- be .cc so that GCC will recognize it, but MsDev will still allow
- a custom command on it.
-
-2001-06-07 08:50 millerjv
-
- * Source/cmConfigureFileNoAutoconf.cxx: FIX: Chaned error message
- to match command
-
-2001-06-06 16:45 king
-
- * Source/cmCableWrapTclCommand.cxx: ENH: Changed generation of
- gccxml command to write out define and include flags explicitly
- instead of using CMAKE_CXX_FLAGS and INCLUDE_FLAGS variables.
- This should help it run when gccxml is not the compiler that will
- build the generated wrappers.
-
-2001-06-06 16:14 millerjv
-
- * Source/cmAddTestCommand.cxx: FIX: InitialPass() seg fault on
- std::copy and FinalPass() was not appending to the file
-
-2001-06-06 13:58 martink
-
- * Source/: cmAddTestCommand.cxx, cmAddTestCommand.h,
- cmCommands.cxx, cmConfigureFileNoAutoconf.cxx,
- cmEnableTestingCommand.cxx, cmEnableTestingCommand.h,
- cmMakefile.cxx, cmMakefile.h, cmTestsCommand.cxx: added enable
- testing deprecated some commands
-
-2001-06-06 13:55 hoffman
-
- * Source/CMakeLib.dsp: [no log message]
-
-2001-06-06 13:48 hoffman
-
- * Source/: cmDSPMakefile.cxx, cmDSPMakefile.h, cmDSPWriter.cxx,
- cmDSPWriter.h, cmDSWMakefile.cxx, cmDSWMakefile.h,
- cmDSWWriter.cxx, cmDSWWriter.h, cmMSProjectGenerator.cxx,
- cmMSProjectGenerator.h: ENH: rename DSWMakefile and DSPMakefile
- to DSWWriter and DSPWriter
-
-2001-06-06 13:19 hoffman
-
- * Source/: cmAbstractFilesCommand.cxx, cmAbstractFilesCommand.h,
- cmAddCustomTargetCommand.cxx, cmAddCustomTargetCommand.h,
- cmAddDefinitionsCommand.cxx, cmAddDefinitionsCommand.h,
- cmAddExecutableCommand.cxx, cmAddExecutableCommand.h,
- cmAddLibraryCommand.cxx, cmAddLibraryCommand.h,
- cmAddTestCommand.cxx, cmAddTestCommand.h,
- cmAuxSourceDirectoryCommand.cxx, cmAuxSourceDirectoryCommand.h,
- cmBuildCommand.cxx, cmBuildCommand.h, cmBuildNameCommand.cxx,
- cmBuildNameCommand.h, cmBuildSharedLibrariesCommand.cxx,
- cmBuildSharedLibrariesCommand.h, cmCableClassSetCommand.cxx,
- cmCableClassSetCommand.h, cmCableCloseNamespaceCommand.cxx,
- cmCableCloseNamespaceCommand.h, cmCableDefineSetCommand.cxx,
- cmCableDefineSetCommand.h, cmCableOpenNamespaceCommand.cxx,
- cmCableOpenNamespaceCommand.h, cmCablePackageCommand.cxx,
- cmCablePackageCommand.h, cmCablePackageEntryCommand.cxx,
- cmCablePackageEntryCommand.h, cmCableWrapTclCommand.cxx,
- cmCableWrapTclCommand.h, cmCommand.h, cmConfigureFileCommand.cxx,
- cmConfigureFileCommand.h, cmConfigureFileNoAutoconf.cxx,
- cmConfigureFileNoAutoconf.h, cmElseCommand.cxx, cmElseCommand.h,
- cmEndIfCommand.cxx, cmEndIfCommand.h, cmExecProgramCommand.cxx,
- cmExecProgramCommand.h, cmFindFileCommand.cxx,
- cmFindFileCommand.h, cmFindLibraryCommand.cxx,
- cmFindLibraryCommand.h, cmFindPathCommand.cxx,
- cmFindPathCommand.h, cmFindProgramCommand.cxx,
- cmFindProgramCommand.h, cmGetFilenameComponentCommand.cxx,
- cmGetFilenameComponentCommand.h, cmIfCommand.cxx, cmIfCommand.h,
- cmIncludeCommand.cxx, cmIncludeCommand.h,
- cmIncludeDirectoryCommand.cxx, cmIncludeDirectoryCommand.h,
- cmIncludeRegularExpressionCommand.cxx,
- cmIncludeRegularExpressionCommand.h, cmInstallFilesCommand.cxx,
- cmInstallFilesCommand.h, cmInstallTargetsCommand.cxx,
- cmInstallTargetsCommand.h, cmLibraryCommand.h,
- cmLinkDirectoriesCommand.cxx, cmLinkDirectoriesCommand.h,
- cmLinkLibrariesCommand.cxx, cmLinkLibrariesCommand.h,
- cmLoadCacheCommand.cxx, cmLoadCacheCommand.h,
- cmMakeDirectoryCommand.cxx, cmMakeDirectoryCommand.h,
- cmMakefile.cxx, cmMessageCommand.cxx, cmMessageCommand.h,
- cmOptionCommand.cxx, cmOptionCommand.h, cmProjectCommand.cxx,
- cmProjectCommand.h, cmSetCommand.cxx, cmSetCommand.h,
- cmSiteNameCommand.cxx, cmSiteNameCommand.h,
- cmSourceFilesCommand.cxx, cmSourceFilesCommand.h,
- cmSourceGroupCommand.cxx, cmSourceGroupCommand.h,
- cmSubdirCommand.cxx, cmSubdirCommand.h,
- cmTargetLinkLibrariesCommand.cxx, cmTargetLinkLibrariesCommand.h,
- cmTestsCommand.cxx, cmTestsCommand.h, cmUtilitySourceCommand.cxx,
- cmUtilitySourceCommand.h, cmVTKWrapJavaCommand.cxx,
- cmVTKWrapJavaCommand.h, cmVTKWrapPythonCommand.cxx,
- cmVTKWrapPythonCommand.h, cmVTKWrapTclCommand.cxx,
- cmVTKWrapTclCommand.h, cmWrapExcludeFilesCommand.cxx,
- cmWrapExcludeFilesCommand.h: ENH: rename Invoke to InitialPass
-
-2001-06-06 11:02 millerjv
-
- * Source/cmMakefile.cxx: Change name of file created from Testfile
- to CMakeTestfile.txt
-
-2001-06-06 09:44 martink
-
- * Source/cmSystemTools.cxx: better regexp for reg entries
-
-2001-06-06 09:43 martink
-
- * Modules/FindJNI.cmake: better tests
-
-2001-06-06 07:47 millerjv
-
- * Source/cmMakefile.cxx: FIX: forgot to close the files
-
-2001-06-05 22:54 perera
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: Compress the library
- search directories so that each appears only once.
-
-2001-06-05 20:34 millerjv
-
- * Source/cmCommands.cxx: ENH: Added AddTest command
-
-2001-06-05 20:34 millerjv
-
- * Source/: cmMakefile.cxx, cmMakefile.h: ENH: Added AddTest, and
- GenerateTestfile routines
-
-2001-06-05 20:32 millerjv
-
- * Source/: cmAddTestCommand.cxx, cmAddTestCommand.h: New cmake
- command to specify a single test
-
-2001-06-05 17:46 berk
-
- * Source/cmVTKWrapPythonCommand.cxx: Module name between Unix and
- Windows got switched by mistake.
-
-2001-06-05 17:41 biddi
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Some tweaks,
- hacks and #ifdefs required to compile cmake on Borland C++Builder
-
-2001-06-05 15:48 hoffman
-
- * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: BUG: fix EXE and LIB
- path problems
-
-2001-06-04 18:24 hoffman
-
- * Source/: cmDSWMakefile.cxx, cmDSWWriter.cxx: STYLE: line too long
-
-2001-06-04 18:24 hoffman
-
- * Source/cmMessageCommand.cxx: ENH: print all arguments
-
-2001-06-04 18:23 hoffman
-
- * Source/cmSetCommand.cxx: ENH: add better error checking
-
-2001-06-04 17:17 martink
-
- * Source/: cmFindIncludeCommand.cxx, cmFindIncludeCommand.h:
- removed find include command
-
-2001-06-04 17:16 martink
-
- * Source/cmCommands.cxx: removed find include command finally added
- message
-
-2001-06-04 16:55 martink
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: new message command
-
-2001-06-04 16:55 martink
-
- * Source/: cmMessageCommand.cxx, cmMessageCommand.h: new command
-
-2001-06-04 16:45 martink
-
- * Source/cmVTKWrapPythonCommand.cxx: unused variable
-
-2001-06-04 15:46 barre
-
- * Templates/: DLLHeader.dsptemplate, EXEHeader.dsptemplate,
- EXEWinHeader.dsptemplate, UtilityHeader.dsptemplate,
- staticLibHeader.dsptemplate: the "Release" target is not the
- default.
-
-2001-06-04 11:34 hoffman
-
- * Source/: cmGeneratedFileStream.h, cmUnixMakefileGenerator.cxx:
- ENH: try to better handle control-c during make Makefiles
-
-2001-06-04 10:18 hoffman
-
- * Source/: cmCacheManager.cxx, cmDSWMakefile.cxx, cmDSWWriter.cxx,
- cmFunctionBlocker.h, cmMSProjectGenerator.cxx, cmMakefile.cxx,
- cmMakefileGenerator.h: BUG: clean up memory leaks.
-
-2001-06-01 13:54 martink
-
- * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: fix for network
- includ paths
-
-2001-06-01 13:29 berk
-
- * Source/cmVTKWrapPythonCommand.cxx: Fixing the module name for
- Unix.
-
-2001-05-31 15:48 hoffman
-
- * Source/cmake.cxx: BUG: fix edit of directories
-
-2001-05-31 14:15 berk
-
- * Source/cmVTKWrapPythonCommand.cxx: Should not use decl if not on
- Windows.
-
-2001-05-30 15:56 hoffman
-
- * Source/cmakemain.cxx: BUG: add missing file
-
-2001-05-30 15:28 hoffman
-
- * Source/: CMakeLib.dsp, Makefile.in, cmMSProjectGenerator.cxx,
- cmake.cxx, cmake.dsp, cmake.h: ENH: change MFC gui to use cmake
- class
-
-2001-05-29 14:16 perera
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: Now only one makefile
- rule is generated per depenency. This eliminates a number of
- warnings.
-
-2001-05-25 17:19 geoff
-
- * Source/cmSetCommand.cxx: bug meaning that set(a b) just set a to
- "" and not to b
-
-2001-05-25 15:33 king
-
- * Source/cmSystemTools.cxx: BUG: Fixed stupid error in the hack I
- just checked in.
-
-2001-05-25 15:32 king
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: WIN32 executable target
- rules are now generated in unix the same as any other executable
- (instead of not at all).
-
-2001-05-25 15:27 barre
-
- * Templates/CMakeWindowsSystemConfig.cmake: better help
-
-2001-05-25 14:31 king
-
- * Source/cmSystemTools.cxx: BUG: Added hack to
- cmSystemTools::GetPath to make its algorithm correctly parse off
- the last entry of the system PATH environment variable.
-
-2001-05-25 14:27 king
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: Fixed logic that splits
- a full path library link into the -L and -l pieces to not write
- out a -l by itself if the file regular expression does not match.
-
-2001-05-25 07:31 millerjv
-
- * Modules/Testing.cmake: BUG: missing quote on a custom command
-
-2001-05-24 21:17 barre
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: New functions used
- to extract the components of a full filename.
-
-2001-05-24 21:14 barre
-
- * Source/cmFindPathCommand.cxx: The path found is now collapsed
- (cleaner).
-
-2001-05-24 21:13 barre
-
- * Source/: cmGetFilenameComponentCommand.cxx,
- cmGetFilenameComponentCommand.h, cmCommands.cxx: Welcome to
- cmGetFilenameComponentCommand ("Get a specific component of a
- full filename")
-
-2001-05-24 21:12 barre
-
- * Source/CMakeLib.dsp: Welcome to cmGetFilenameComponentCommand
-
-2001-05-24 21:11 barre
-
- * Modules/FindTCL.cmake: Try to find tclsh or wish and use that
- path to find the include or lib directory. TK_INTERNAL_PATH is
- searched too (path to tkWinInt.h)
-
-2001-05-24 19:17 barre
-
- * Source/cmSystemTools.cxx: optimize ConvertToUnixSlashes a little
- bit, and use it in MakeDirectory (code was duplicated)
-
-2001-05-24 17:51 king
-
- * Templates/CMakeSystemConfig.cmake.in: ERR: VAR type entry missing
- after CACHE for CMAKE_TEMPLATE_FLAGS.
-
-2001-05-24 14:59 barre
-
- * Source/: cmVTKWrapTclCommand.cxx, cmVTKWrapTclCommand.h: updated
- to handle Tk commands compiled/linked separately. Useful for VTK
- Tk widgets for example.
-
-2001-05-24 13:45 millerjv
-
- * Modules/Testing.cmake: Project independent setting for testing
-
-2001-05-24 13:40 barre
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: new Capitalized
- function. Will be used in the VTK Tcl wrapper for example (in a
- more portable way).
-
-2001-05-24 12:57 hoffman
-
- * Modules/FindOpenGL.cmake, Source/cmSetCommand.cxx,
- Source/cmSetCommand.h, Templates/CMakeSystemConfig.cmake.in,
- Templates/CMakeWindowsSystemConfig.cmake: ENH: change the syntax
- of the SET command, fix the combo box for larger strings
-
-2001-05-24 11:47 martink
-
- * Source/: cmMakefile.h, cmake.cxx: added version number
-
-2001-05-24 10:32 barre
-
- * Templates/DLLHeader.dsptemplate: removed hardcoded VTKDLL
-
-2001-05-24 10:00 barre
-
- * Templates/: DLLHeader.dsptemplate, EXEHeader.dsptemplate,
- EXEWinHeader.dsptemplate, staticLibHeader.dsptemplate: slight
- change in the order of the options (right-most takes precedence)
-
-2001-05-23 20:16 millerjv
-
- * Source/cmBuildCommand.cxx: Changed Windows build command to build
- Release
-
-2001-05-23 18:31 barre
-
- * Templates/DLLHeader.dsptemplate: Intermediate Dir was wrong
-
-2001-05-23 18:22 barre
-
- * Templates/CMakeWindowsSystemConfig.cmake: /Gz => /GZ
-
-2001-05-23 18:19 barre
-
- * Templates/CMakeWindowsSystemConfig.cmake: removed /O2 from debug
-
-2001-05-23 17:19 hoffman
-
- * Source/cmDSPMakefile.cxx, Source/cmDSPWriter.cxx,
- Templates/CMakeWindowsSystemConfig.cmake,
- Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate,
- Templates/EXEWinHeader.dsptemplate,
- Templates/staticLibHeader.dsptemplate: ENH: create
- CMAKE_CXX_FLAGS_[Buildtype] flags
-
-2001-05-23 16:31 martink
-
- * Source/cmMSProjectGenerator.cxx: bug finding windows template
- file
-
-2001-05-23 16:28 martink
-
- * Source/: cmSystemTools.cxx, cmake.cxx: command line fixes for
- win32
-
-2001-05-23 16:09 barre
-
- * Templates/: DLLHeader.dsptemplate, EXEHeader.dsptemplate,
- EXEWinHeader.dsptemplate, UtilityHeader.dsptemplate,
- staticLibHeader.dsptemplate: ReleaseMinSize => MinSizeRel
-
-2001-05-23 15:53 hoffman
-
- * Templates/DLLHeader.dsptemplate: BUG: remove vtkCommon
-
-2001-05-23 15:49 martink
-
- * Source/cmake.cxx: fixed quoted cmake
-
-2001-05-23 14:44 hoffman
-
- * Source/cmSystemTools.cxx: ENH: add better error message
-
-2001-05-23 14:33 geoff
-
- * Source/cmake.dsp: DSPs have to be binary
-
-2001-05-23 14:05 hoffman
-
- * Templates/: DLLHeader.dsptemplate, EXEHeader.dsptemplate,
- EXEWinHeader.dsptemplate, UtilityHeader.dsptemplate,
- staticLibHeader.dsptemplate: ENH: change Release Minsize to
- MinSizeRel, add MinSizeRel to dll template
-
-2001-05-23 13:16 king
-
- * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: ENH: Added INSTALL
- target to switch in OutputDSPFile. Also added a default that
- prints out an error message so that anyone who adds a target
- doesn't forget to update the switch.
-
-2001-05-23 12:02 martink
-
- * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx, cmDSWMakefile.cxx,
- cmDSWWriter.cxx: install fixes for win32
-
-2001-05-23 11:53 martink
-
- * Source/: cmMakefile.cxx, cmUnixMakefileGenerator.cxx,
- cmUnixMakefileGenerator.h: added install target support
-
-2001-05-23 11:34 ibanez
-
- * Modules/FindVTK.cmake: Module to search for VTK include and
- library paths
-
-2001-05-23 11:29 martink
-
- * Source/: cmInstallFilesCommand.cxx, cmInstallFilesCommand.h,
- cmInstallTargetsCommand.cxx, cmInstallTargetsCommand.h,
- cmCommands.cxx, cmTarget.cxx, cmTarget.h: added install rules
-
-2001-05-23 11:27 martink
-
- * Templates/CMakeSystemConfig.cmake.in: added prefix to config
-
-2001-05-23 10:47 hoffman
-
- * Source/cmGeneratedFileStream.h: BUG: remove warning
-
-2001-05-23 10:47 hoffman
-
- * Source/cmake.dsp: BUG: fix output directory
-
-2001-05-23 10:01 martink
-
- * Source/cmProjectCommand.cxx: added PROJECT_SOURCE_DIR
-
-2001-05-23 09:35 hoffman
-
- * Source/cmTarget.cxx: ENH: allow duplicate libraries
-
-2001-05-22 20:45 barre
-
- * Templates/UtilityHeader.dsptemplate: Template now uses
- EXECUTABLE_OUTPUT_PATH too.
-
-2001-05-22 20:44 barre
-
- * Templates/EXEWinHeader.dsptemplate: PROP BASE and PROP were
- inverted
-
-2001-05-22 20:36 barre
-
- * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: Seems to me that
- EXEWinHeader was not searched in the right place.
-
-2001-05-22 17:49 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: do not include /usr/lib
- in -L
-
-2001-05-22 13:52 hoffman
-
- * Source/Makefile.in: fix CXXFLAGS
-
-2001-05-22 13:42 hoffman
-
- * Source/Makefile.in: [no log message]
-
-2001-05-22 13:40 hoffman
-
- * configure, configure.in: use cxxflags in test builds
-
-2001-05-22 13:22 hoffman
-
- * Source/Makefile.in, Source/cmUnixMakefileGenerator.cxx,
- Templates/configure, Templates/configure.in: BUG: fix depends and
- CXXFLAGS passing
-
-2001-05-22 12:38 barre
-
- * Source/cmDSPMakefile.cxx, Source/cmDSPWriter.cxx,
- Templates/DLLHeader.dsptemplate, Templates/EXEHeader.dsptemplate,
- Templates/EXEWinHeader.dsptemplate,
- Templates/staticLibHeader.dsptemplate: fixed some of the
- LIBRARY_OUTPUT_PATH and EXECUTABLE_OUTPUT_PATH problems.
-
-2001-05-22 11:15 martink
-
- * dummy.in: no longer used
-
-2001-05-21 16:43 king
-
- * Makefile.in: ERR: Added missing @srcdir@ and modified install
- expressions to include *.cmake* files instead of just *.cmake
- files (for .in).
-
-2001-05-21 16:21 king
-
- * Source/cmCableWrapTclCommand.cxx: ENH: Converted to new Class and
- Group tags in place of WrapperSet and Groups tags.
-
-2001-05-21 16:10 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx,
- Templates/CMakeSystemConfig.cmake.in: fix for hp x11 and gl
-
-2001-05-21 15:16 hoffman
-
- * Modules/FindOpenGL.cmake, Source/cmSystemTools.cxx: fix opengl on
- hp
-
-2001-05-21 14:17 hoffman
-
- * Source/cmake.cxx: BUG: remove declaration without variable
-
-2001-05-21 14:01 hoffman
-
- * configure, configure.in, Source/Makefile.in,
- Source/cmBuildNameCommand.cxx,
- Source/cmUnixMakefileGenerator.cxx,
- Templates/CMakeSystemConfig.cmake.in: clean up for build on its
- own
-
-2001-05-21 11:43 martink
-
- * Source/cmake.dsp: release fix
-
-2001-05-21 11:34 martink
-
- * Source/: CMakeBuildTargets.cxx, CMakeSetupCMD.cxx,
- CMakeSetupCMD.dsp: collapsed into cmake.cxx
-
-2001-05-21 11:32 martink
-
- * Source/cmake.dsp: new dsp
-
-2001-05-21 11:13 martink
-
- * Source/cmake.cxx: bug fix in finding CMAKE_ROOT
-
-2001-05-21 11:10 martink
-
- * Makefile.in: added install target
-
-2001-05-21 10:47 hoffman
-
- * Source/: cmBuildNameCommand.cxx, cmSetCommand.cxx: BUG: fix
- compiler name
-
-2001-05-21 09:50 martink
-
- * Source/: CMakeSetup.dsw, cmake.cxx: updated for out of tree
- builds
-
-2001-05-21 09:32 martink
-
- * Makefile.in, configure, configure.in, install-sh: out of place
- cmake
-
-2001-05-21 09:32 martink
-
- * CMakeSystemConfig.cmake.in, configure.in.sample,
- Source/Makefile.in, Source/cmMakefile.cxx,
- Source/cmUnixMakefileGenerator.cxx, Source/cmake.cxx: new out of
- place builds
-
-2001-05-21 09:31 martink
-
- * Templates/: CMakeSystemConfig.cmake.in, configure, configure.in:
- new structure
-
-2001-05-18 16:45 hoffman
-
- * CMakeSystemConfig.cmake.in, Source/cmUnixMakefileGenerator.cxx:
- ENH: add support for X11
-
-2001-05-18 16:30 martink
-
- * Source/cmUnixMakefileGenerator.cxx: duh
-
-2001-05-18 15:25 martink
-
- * Source/: cmake.cxx, cmake.h: new command
-
-2001-05-18 15:23 martink
-
- * Source/cmSystemTools.h: minor whitespace change
-
-2001-05-18 15:22 martink
-
- * Source/cmMSProjectGenerator.cxx: compiler fix
-
-2001-05-18 15:20 martink
-
- * Source/: cmMSProjectGenerator.cxx, cmMSProjectGenerator.h,
- cmMakefileGenerator.h, cmUnixMakefileGenerator.cxx,
- cmUnixMakefileGenerator.h: changes for cmake to live outside of
- the source tree
-
-2001-05-18 13:04 hoffman
-
- * CMakeSystemConfig.cmake.in, Source/cmSetCommand.cxx: ENH: allow
- cache to override config file
-
-2001-05-18 11:48 king
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: fix link of executables
-
-2001-05-18 11:12 martink
-
- * Source/cmMakefileGenerator.h: added SetLocal method
-
-2001-05-18 11:09 martink
-
- * Source/: cmMSProjectGenerator.cxx, cmMSProjectGenerator.h,
- cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h: added
- SetLocal method
-
-2001-05-18 10:15 hoffman
-
- * CMakeSystemConfig.cmake.in, Source/cmUnixMakefileGenerator.cxx:
- BUG: quote the compiler and other options
-
-2001-05-17 17:43 hoffman
-
- * Source/: CMakeBuildTargets.cxx, Makefile.in: compile source dir
- into cmake
-
-2001-05-17 15:48 will
-
- * Source/cmSystemTools.cxx: ERR:Bad #ifdef's
-
-2001-05-17 12:36 martink
-
- * Source/: DLLFooter.dsptemplate, DLLHeader.dsptemplate,
- EXEFooter.dsptemplate, EXEHeader.dsptemplate,
- EXEWinHeader.dsptemplate, UtilityFooter.dsptemplate,
- UtilityHeader.dsptemplate, staticLibFooter.dsptemplate,
- staticLibHeader.dsptemplate: moved into Template directory
-
-2001-05-17 12:25 martink
-
- * CMakeMakefileTemplate.in, CMakeMaster.make.in,
- CMakeRules.make.in, CMakeSimpleRules.make.in,
- CMakeTargets.make.in, CMakeTopMakefileTemplate.in,
- CMakeVariables.make.in, CMakeWindowsSystemConfig.cmake: no longer
- used
-
-2001-05-17 12:14 martink
-
- * Source/CMakeBuildTargets.cxx: unix fix
-
-2001-05-17 12:08 martink
-
- * Source/: CMakeBuildTargets.cxx, CMakeSetupCMD.cxx,
- cmCablePackageCommand.cxx, cmDSPMakefile.cxx, cmDSPWriter.cxx,
- cmMakefile.cxx, cmUnixMakefileGenerator.cxx: half checked in
- changes for CMAKE_ROOT
-
-2001-05-17 12:04 martink
-
- * Templates/: CMakeWindowsSystemConfig.cmake,
- DLLFooter.dsptemplate, DLLHeader.dsptemplate,
- EXEFooter.dsptemplate, EXEHeader.dsptemplate,
- EXEWinHeader.dsptemplate, UtilityFooter.dsptemplate,
- UtilityHeader.dsptemplate, staticLibFooter.dsptemplate,
- staticLibHeader.dsptemplate: new directory
-
-2001-05-17 11:44 hoffman
-
- * Source/: cmCableWrapTclCommand.cxx, cmConfigure.h.in,
- cmGeneratedFileStream.h, cmStandardIncludes.h: BUG: fix to
- compile on hp with aCC
-
-2001-05-17 11:22 king
-
- * Source/cmCableWrapTclCommand.cxx: Renamed gccxml input/output
- files to drop _tcl qualification.
-
-2001-05-16 18:10 hoffman
-
- * CMakeSystemConfig.cmake.in: ENH: fix for sunCC
-
-2001-05-16 18:08 hoffman
-
- * Source/: cmCacheManager.cxx, cmUnixMakefileGenerator.cxx: BUG:
- fix for sun compiler
-
-2001-05-16 17:43 king
-
- * Source/: cmCableClassSet.cxx, cmCableClassSet.h: ERR: Removed use
- of member templates.
-
-2001-05-16 17:18 king
-
- * Source/cmUnixMakefileGenerator.cxx: ERR: int -> unsigned int
-
-2001-05-16 17:18 king
-
- * Source/cmGeneratedFileStream.h: ERR: const error fixed.
-
-2001-05-16 17:11 king
-
- * Source/CMakeLib.dsp: ENH: Added cmCableClassSet.cxx to build.
-
-2001-05-16 17:11 king
-
- * Source/cmGeneratedFileStream.h: ERR: Added is_open() check in
- cmGeneratedFileStream::operator bool() so that implicit
- conversion to bool is not used.
-
-2001-05-16 17:11 king
-
- * Source/cmCableClassSet.cxx: ERR: Removed dynamic_cast so that
- RTTI isn't required.
-
-2001-05-16 16:41 king
-
- * Source/: Makefile.in, cmCableClassSet.cxx, cmCableClassSet.h,
- cmCableClassSetCommand.cxx, cmCableClassSetCommand.h,
- cmCableWrapTclCommand.cxx, cmCableWrapTclCommand.h,
- cmCommands.cxx: ENH: Adding CABLE_CLASS_SET and CABLE_WRAP_TCL
- commands. They cannot yet be used with the main branch of CABLE,
- though.
-
-2001-05-16 16:40 king
-
- * Source/cmGeneratedFileStream.h: ENH: cmGeneratedFileStream class
- added to simplify copy-if-different usage on generated files.
-
-2001-05-16 15:43 hoffman
-
- * configure.in.sample: [no log message]
-
-2001-05-16 15:15 hoffman
-
- * CMakeSystemConfig.cmake.in, Source/Makefile.in,
- Source/cmBuildNameCommand.cxx,
- Source/cmBuildSharedLibrariesCommand.cxx,
- Source/cmCacheManager.cxx, Source/cmCacheManager.h,
- Source/cmDSPMakefile.cxx, Source/cmDSPWriter.cxx,
- Source/cmMakeDepend.cxx, Source/cmMakefile.cxx,
- Source/cmProjectCommand.cxx, Source/cmSetCommand.cxx,
- Source/cmUnixMakefileGenerator.cxx,
- Source/cmUnixMakefileGenerator.h: ENH: unify make process on unix
-
-2001-05-16 09:19 king
-
- * Source/: cmData.h, cmMakefile.cxx, cmMakefile.h: ENH: Added
- cmData and corresponding DataMap in cmMakefile to allow commands
- to register arbitrary extra data with the makefile without
- modifying the cmMakefile class definition.
-
-2001-05-15 13:14 martink
-
- * Source/: DLLHeader.dsptemplate, EXEHeader.dsptemplate,
- EXEWinHeader.dsptemplate, cmDSPMakefile.cxx, cmDSPWriter.cxx,
- staticLibHeader.dsptemplate: added output directory support
-
-2001-05-14 16:47 barre
-
- * Source/cmSystemTools.cxx: Changed separator between registry key
- and its value. Change regexp for registry key.
-
-2001-05-14 16:46 barre
-
- * Modules/FindTCL.cmake: Changed separator between registry key and
- its value.
-
-2001-05-14 10:36 hoffman
-
- * Source/cmSystemTools.cxx: ENH: put back lost changes from r1.38
-
-2001-05-12 07:29 barre
-
- * Source/cmSystemTools.cxx: fix + => += bug reported by A. Perera
-
-2001-05-11 17:22 barre
-
- * Source/cmSystemTools.cxx: Extended the registry key regexp
-
-2001-05-11 17:11 barre
-
- * Modules/FindTCL.cmake: Add 8.4 and registry support
-
-2001-05-11 17:11 barre
-
- * Source/cmSystemTools.cxx: Add support for a specific value name
- in a registry key
-
-2001-05-11 14:49 geoff
-
- * Source/cmCacheManager.cxx: Cache file is a bit prettier
-
-2001-05-11 14:39 hoffman
-
- * Source/: cmCableSourceFilesCommand.cxx, cmSystemTools.cxx,
- cmUnixMakefileGenerator.cxx: BUG: fix find library for unix
-
-2001-05-11 13:58 barre
-
- * Modules/FindPythonLibs.cmake: NAMES syntax
-
-2001-05-11 13:52 martink
-
- * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: fix for expanding
- library vars
-
-2001-05-11 12:30 barre
-
- * Source/cmFindLibraryCommand.cxx: Fix help string when NAMES was
- used (forgot the case when there is no name)
-
-2001-05-11 12:13 barre
-
- * Source/cmFindLibraryCommand.cxx: Fix help string when NAMES was
- used
-
-2001-05-11 11:45 king
-
- * Source/cmFindLibraryCommand.cxx: ERR: int -> unsigned int.
-
-2001-05-11 11:39 hoffman
-
- * CMakeVariables.make.in, Source/cmFindLibraryCommand.cxx: BUG: add
- back thread library
-
-2001-05-11 11:07 martink
-
- * Source/cmFindProgramCommand.cxx: expands reg values
-
-2001-05-11 10:52 martink
-
- * Source/: EXEHeader.dsptemplate, cmAddExecutableCommand.cxx,
- cmAddExecutableCommand.h, cmDSPMakefile.cxx, cmDSPMakefile.h,
- cmDSPWriter.cxx, cmDSPWriter.h, cmFindLibraryCommand.cxx,
- cmFindPathCommand.cxx, cmMakefile.cxx, cmMakefile.h,
- cmSystemTools.cxx, cmSystemTools.h, cmUnixMakefileGenerator.cxx,
- EXEWinHeader.dsptemplate: added registry entry support and
- windows app support
-
-2001-05-11 10:27 martink
-
- * Modules/: FindJNI.cmake, FindPythonLibs.cmake: minor fixes and
- new python module
-
-2001-05-10 17:22 hoffman
-
- * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: BUG: fix up gui with
- values that stay around too long
-
-2001-05-10 16:21 geoff
-
- * Source/cmMakefile.cxx: definitions should now be overwritten if
- they already exist
-
-2001-05-10 15:50 hoffman
-
- * Source/cmSystemTools.cxx: BUG: fix unix path search
-
-2001-05-10 15:32 martink
-
- * Source/cmTarget.cxx: fix for expaning libraries prior to
- generating dsp
-
-2001-05-10 14:30 geoff
-
- * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: Reads and uses
- MSPROJECT_TEMPLATE_DIRECTORY if it exists
-
-2001-05-10 14:02 king
-
- * CMake.doc: BUG: Removing this file. It has been replaced by
- CMake.doc.gz to get around a problem with CVS.
-
-2001-05-10 13:52 martink
-
- * Source/cmTarget.h: added win32 executable option
-
-2001-05-10 12:25 king
-
- * CMake.doc.gz: Testing strange cvs problem with .doc files.
-
-2001-05-10 12:05 king
-
- * CMake.pdf, CMake.pdf.gz: BUG: Removing old CMake.pdf and adding
- the gzipped version, CMake.pdf.gz because of file size problems
- with cvs.
-
-2001-05-10 11:20 king
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: Removed stray debugging
- output statement. Also renamed some variables for clarity.
-
-2001-05-10 11:19 king
-
- * Source/cmSystemTools.cxx: ERR: RunCommand method needed return in
- unix.
-
-2001-05-10 11:18 king
-
- * Source/: cmFindLibraryCommand.cxx, cmFindProgramCommand.cxx: ERR:
- Removed unused variable
-
-2001-05-10 09:45 king
-
- * CMakeVariables.make.in: BUG: ANSI_CFLAGS -> CMAKE_ANSI_CFLAGS
-
-2001-05-09 18:00 geoff
-
- * Source/: EXEHeader.dsptemplate, cmDSPMakefile.cxx,
- cmDSPWriter.cxx: ADD LINK32s are now on multiple lines because VC
- breaks otherwise
-
-2001-05-09 17:38 barre
-
- * Modules/FindTCL.cmake: ENH: add 8.3 support
-
-2001-05-09 16:17 hoffman
-
- * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: BUG: escape spaces
- before adding .lib
-
-2001-05-09 16:08 hoffman
-
- * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: ENH: escape spaces
-
-2001-05-09 15:48 hoffman
-
- * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: ENH: only add .lib
- if no .lib exists
-
-2001-05-09 14:53 hoffman
-
- * Modules/FindFLTK.cmake, Modules/FindGTK.cmake,
- Modules/FindJNI.cmake, Modules/FindJPEG.cmake,
- Modules/FindMPI.cmake, Modules/FindTCL.cmake, Source/cmCommand.h,
- Source/cmFindLibraryCommand.cxx, Source/cmFindLibraryCommand.h,
- Source/cmFindProgramCommand.cxx, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h, Source/cmUnixMakefileGenerator.cxx: ENH:
- change find library and find program to look for more than one
- name
-
-2001-05-09 13:44 hoffman
-
- * Source/cmCableDefineSetCommand.cxx: BUG: match called on invalid
- number
-
-2001-05-09 13:22 martink
-
- * CMakeMaster.make.in, CMakeRules.make.in,
- CMakeSystemConfig.cmake.in, CMakeTopMakefileTemplate.in,
- CMakeVariables.make.in, configure.in.sample, Source/Makefile.in:
- cleaned up configure some
-
-2001-05-09 11:15 millerjv
-
- * Source/cmCacheManager.cxx: FIX: only clear the cache on a load
- when the load needs to read internal values. Otherwise, it is
- assumed that we are reading another projects cache.
-
-2001-05-09 09:52 hoffman
-
- * Source/cmConfigureFileCommand.cxx: BUG: fix use beyond end of
- array
-
-2001-05-09 08:51 martink
-
- * Source/: cmCommands.cxx, cmLoadCacheCommand.cxx,
- cmLoadCacheCommand.h, cmSourceFile.cxx: added load cache command
- and fixed source file
-
-2001-05-08 17:37 king
-
- * Source/cmCacheManager.cxx: ERR: LoadCache needed to return a
- value.
-
-2001-05-08 17:04 martink
-
- * Source/: cmCacheManager.cxx, cmCacheManager.h: added ability to
- load another cache
-
-2001-05-08 17:03 martink
-
- * Source/cmProjectCommand.cxx: now adds src and bin dir into cache
-
-2001-05-08 16:20 martink
-
- * Source/cmVTKWrapTclCommand.cxx: fixed bug in init code
-
-2001-05-08 16:01 hoffman
-
- * configure.in.sample: clean up
-
-2001-05-08 11:40 martink
-
- * Source/cmTargetLinkLibrariesCommand.cxx: BUG: added arg0 to link
- libraries
-
-2001-05-08 10:16 ibanez
-
- * Modules/FindFLTK.cmake: Module to search the path for FLTK
- library ( http://www.fltk.org )
-
-2001-05-07 18:14 king
-
- * Source/: cmAddExecutableCommand.cxx, cmAddLibraryCommand.cxx,
- cmMakefile.cxx: ENH: Moved cache entry addition into
- cmMakefile::AddLibrary and AddExecutable so that commands do not
- have to add it explicitly.
-
-2001-05-07 18:11 hoffman
-
- * CMakeSystemConfig.cmake.in, Source/CMakeBuildTargets.cxx,
- Source/Makefile.in, Source/cmCacheManager.cxx,
- Source/cmCommands.cxx, Source/cmConfigureFile.cxx,
- Source/cmConfigureFile.h, Source/cmConfigureFileCommand.cxx,
- Source/cmConfigureFileCommand.h, Source/cmExecProgram.cxx,
- Source/cmExecProgram.h, Source/cmExecProgramCommand.cxx,
- Source/cmExecProgramCommand.h, Source/cmMakeDirectoryCommand.cxx,
- Source/cmMakeDirectoryCommand.h, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmSystemTools.cxx,
- Source/cmUnixMakefileGenerator.cxx,
- Source/cmUnixMakefileGenerator.h: ENH: call configure from cmake
-
-2001-05-07 10:02 blezek
-
- * Source/cmConfigureFile.cxx: BUG: Removing Remove Variables call
-
-2001-05-07 09:16 geoff
-
- * configure.in.sample: Under FreeBSD: should be
- CMAKE_SHLIB_BUILD_FLAGS and not CMAKE_SHLIB_LINK_FLAGS.
- CMakeSystemConfig.cmake not being made
-
-2001-05-05 11:28 hoffman
-
- * Source/cmAddExecutableCommand.cxx: BUG: add internal cache entry
- for executables, so depends can work
-
-2001-05-05 11:03 hoffman
-
- * Source/: cmAddTargetCommand.cxx, cmAddTargetCommand.h,
- cmCableInstantiateClassCommand.h, cmCableInstantiateCommand.h,
- cmCommands.cxx, cmLibraryCommand.cxx: BUG: add removed command,
- and sort the order in cmCommands.cxx
-
-2001-05-04 17:00 martink
-
- * Source/: cmMakefile.cxx, cmUnixMakefileGenerator.cxx: fixes for
- untiltiy targets in all
-
-2001-05-04 16:44 blezek
-
- * Source/cmBuildNameCommand.cxx: ENH: Proper build name
-
-2001-05-04 16:43 blezek
-
- * Source/cmSiteNameCommand.cxx: ENH: Correct sitename
-
-2001-05-04 15:50 martink
-
- * Source/: cmAddCustomTargetCommand.cxx,
- cmAddCustomTargetCommand.h, cmAddTargetCommand.cxx,
- cmAddTargetCommand.h, cmDSWMakefile.cxx, cmDSWWriter.cxx,
- cmMakefile.cxx, cmMakefile.h, cmTarget.h,
- cmVTKWrapJavaCommand.cxx: option to make utilities in the all
- target
-
-2001-05-04 14:53 hoffman
-
- * CMakeSystemConfig.cmake.in, CMakeWindowsSystemConfig.cmake: ENH:
- move to cmake for itkConfigure.h.in
-
-2001-05-04 12:52 martink
-
- * Source/cmVTKWrapJavaCommand.cxx: updates
-
-2001-05-04 11:35 geoff
-
- * Modules/: FindGTK.cmake, FindJPEG.cmake: INCLUDE these to find
- the relevant libraries
-
-2001-05-04 11:34 hoffman
-
- * Source/: cmAddCustomTargetCommand.cxx,
- cmAddCustomTargetCommand.h, cmBuildCommand.cxx, cmBuildCommand.h,
- cmBuildNameCommand.cxx, cmBuildNameCommand.h, cmExecProgram.cxx,
- cmExecProgram.h, cmSiteNameCommand.cxx, cmSiteNameCommand.h: ENH:
- move testing stuff to cmake from configure, good bye dashboard...
- :)
-
-2001-05-04 11:30 hoffman
-
- * CMakeRules.make.in, CMakeSystemConfig.txt.in,
- CMakeWindowsSystemConfig.txt, Source/cmAddTargetCommand.cxx,
- Source/cmAddTargetCommand.h, Source/cmCacheManager.cxx,
- Source/cmCommands.cxx, Source/cmDSWMakefile.cxx,
- Source/cmDSWWriter.cxx, Source/cmFindProgramCommand.cxx,
- Source/cmMakefile.cxx, Source/cmOptionCommand.cxx,
- Source/cmOptionCommand.h, Source/cmSourceGroup.cxx,
- Source/cmSourceGroup.h, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h, Source/cmUnixMakefileGenerator.cxx: ENH:
- move testing stuff to cmake from configure, good bye dashboard...
- :)
-
-2001-05-04 10:44 king
-
- * Source/cmSystemTools.cxx: ENH: Added support to EscapeSpaces to
- use double quotes on windows.
-
-2001-05-04 10:44 king
-
- * Source/cmCablePackageCommand.cxx: ENH: Added use of CMAKE cache
- entry for generating the DSP/makefile build rules.
-
-2001-05-04 10:44 king
-
- * Source/: cmDSPMakefile.cxx, cmDSPMakefile.h, cmDSPWriter.cxx,
- cmDSPWriter.h: ENH: Added use of CMAKE cache entry for generating
- the DSP build rules.
-
-2001-05-04 10:13 martink
-
- * Modules/FindJNI.cmake: minor fixes
-
-2001-05-04 09:56 martink
-
- * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: fixed custom command
- rule
-
-2001-05-04 09:47 martink
-
- * Modules/FindJNI.cmake: new module
-
-2001-05-04 09:39 martink
-
- * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx, cmSourceGroup.cxx,
- cmSourceGroup.h, cmVTKWrapJavaCommand.cxx: better custom rules
-
-2001-05-04 08:46 martink
-
- * Source/: cmFunctionBlocker.h, cmIfCommand.cxx, cmIfCommand.h,
- cmMakefile.cxx, cmVTKWrapJavaCommand.cxx: better If checks
-
-2001-05-04 08:45 martink
-
- * Source/: cmSourceFilesRequireCommand.cxx,
- cmSourceFilesRequireCommand.h, cmUnixDefinesCommand.cxx,
- cmUnixDefinesCommand.h, cmUnixLibrariesCommand.cxx,
- cmUnixLibrariesCommand.h, cmWin32DefinesCommand.cxx,
- cmWin32DefinesCommand.h, cmWin32IncludeDirectoryCommand.cxx,
- cmWin32IncludeDirectoryCommand.h, cmWin32LibrariesCommand.cxx,
- cmWin32LibrariesCommand.h: removed old functions
-
-2001-05-03 16:55 king
-
- * Source/: CMakeBuildTargets.cxx, CMakeSetupCMD.cxx: ENH: Added
- generation of internal CMAKE cache entry with path to
- command-line CMake executable.
-
-2001-05-03 16:55 king
-
- * Source/: cmFindProgramCommand.cxx, cmSystemTools.cxx,
- cmSystemTools.h: ENH: Added cmSystemTools::FindProgram() and
- full-path detection utilities.
-
-2001-05-03 15:27 martink
-
- * Source/: cmCommands.cxx, cmVTKWrapJavaCommand.cxx,
- cmVTKWrapJavaCommand.h: minor fixes
-
-2001-05-03 11:04 martink
-
- * Source/cmCommands.cxx: removed deprecated commands
-
-2001-05-03 10:58 martink
-
- * CMakeSystemConfig.cmake.in: better config info
-
-2001-05-03 10:35 martink
-
- * Source/cmConfigureFile.cxx: now support cmakedefine
-
-2001-05-03 08:53 martink
-
- * CMakeSystemConfig.txt.in, CMakeWindowsSystemConfig.txt: uses
- cmake commands now
-
-2001-05-03 08:52 martink
-
- * CMakeSystemConfig.cmake.in, CMakeSystemConfig.txt.in,
- CMakeWindowsSystemConfig.cmake, CMakeWindowsSystemConfig.txt,
- Source/cmMakefile.cxx, Source/cmMakefile.h: system config uses
- cmake commands now
-
-2001-05-02 17:33 martink
-
- * Modules/FindMPI.cmake: minor fixes
-
-2001-05-02 17:07 martink
-
- * Modules/FindMPI.cmake: new module
-
-2001-05-02 14:08 martink
-
- * Modules/FindOpenGL.cmake: simple module
-
-2001-05-02 11:53 martink
-
- * Modules/FindTCL.cmake: finds tk as well
-
-2001-05-02 11:53 martink
-
- * Source/: CMakeBuildTargets.cxx, CMakeSetupCMD.cxx: cache loaded
- into makefile
-
-2001-05-01 17:52 martink
-
- * Source/: cmVTKWrapPythonCommand.cxx, cmVTKWrapTclCommand.cxx:
- fixed bug in limiting to source lists
-
-2001-05-01 17:37 king
-
- * Source/: cmCableDefineSetCommand.cxx, cmCableDefineSetCommand.h,
- cmCableWrapCommand.cxx, cmCableWrapCommand.h: ENH: Changed
- cmCableWrapCommand to inherit from cmCableDefineSetCommand since
- they do almost exactly the same thing. Added a GetXmlTag virtual
- function to both classes to return what XML tag to generate in
- the set's output. cmCableDefineSetCommand generates a "Set" tag,
- and cmCableWrapCommand generates a "WrapperSet" tag. What is
- inside the tags is still generated by the cmCableDefineSetCommand
- superclass.
-
-2001-05-01 17:35 king
-
- * Source/: cmCableInstantiateClassCommand.cxx,
- cmCableInstantiateClassCommand.h, cmCableInstantiateCommand.cxx,
- cmCableInstantiateCommand.h, cmCablePackageEntryCommand.cxx,
- cmCablePackageEntryCommand.h, cmCableSourceFilesCommand.cxx,
- cmCableSourceFilesCommand.h: ENH: Changed WriteConfiguration back
- to const because it doesn't need to report errors anymore.
-
-2001-05-01 17:12 hoffman
-
- * Source/: UtilityFooter.dsptemplate, UtilityHeader.dsptemplate:
- ADD: add utiltity templates
-
-2001-05-01 16:55 hoffman
-
- * configure.in.sample, Source/cmAddTargetCommand.cxx,
- Source/cmDSPMakefile.cxx, Source/cmDSPMakefile.h,
- Source/cmDSPWriter.cxx, Source/cmDSPWriter.h,
- Source/cmDSWMakefile.cxx, Source/cmDSWMakefile.h,
- Source/cmDSWWriter.cxx, Source/cmDSWWriter.h,
- Source/cmMakefile.cxx, Source/cmMakefile.h, Source/cmTarget.h,
- Source/cmUnixMakefileGenerator.cxx: ENH: implement ADD_TARGET
- command, and add an ALL_BUILD target
-
-2001-05-01 16:34 martink
-
- * Source/cmMakefile.cxx: cache now loaded into makefile
-
-2001-05-01 16:28 martink
-
- * Source/: cmCacheManager.cxx, cmCacheManager.h: added method to
- puch cache into makefile defines
-
-2001-05-01 16:27 martink
-
- * Source/cmIfCommand.cxx: slight bug in If command I think
-
-2001-05-01 11:28 martink
-
- * Modules/FindTCL.cmake: first module
-
-2001-05-01 11:16 martink
-
- * Source/: cmCommands.cxx, cmElseCommand.cxx, cmIfCommand.cxx,
- cmIfCommand.h, cmSetCommand.cxx, cmSetCommand.h,
- cmVTKWrapPythonCommand.cxx, cmVTKWrapTclCommand.cxx: new set
- command and IF NOT
-
-2001-04-30 14:56 martink
-
- * Source/: cmElseCommand.cxx, cmFindFileCommand.cxx,
- cmFindLibraryCommand.cxx, cmFindPathCommand.cxx, cmIfCommand.cxx,
- cmSystemTools.cxx, cmSystemTools.h: bug fixes
-
-2001-04-30 11:51 king
-
- * Source/cmCablePackageCommand.cxx: BUG: Fixed output of
- CMakeLists.txt path in cable_config.xml dependency list for unix.
- Needed to escape spaces instead of enclosing in double quotes.
-
-2001-04-30 11:29 king
-
- * Source/cmMakefile.h: ERR: Removed a conflict that was checked in.
-
-2001-04-30 10:52 anonymous
-
- * Source/: cmCommands.cxx, cmDSPMakefile.cxx, cmDSPMakefile.h,
- cmDSPWriter.cxx, cmDSPWriter.h, cmIncludeCommand.cxx,
- cmIncludeCommand.h, cmMakefile.cxx, cmMakefile.h: New command:
- INCLUDE(somefile.txt)
-
-2001-04-30 10:44 martink
-
- * Source/: cmCommands.cxx, cmDSPMakefile.cxx, cmDSPWriter.cxx,
- cmDSWMakefile.cxx, cmDSWWriter.cxx, cmFindIncludeCommand.cxx,
- cmFindLibraryCommand.cxx, cmLinkLibrariesCommand.cxx,
- cmLinkLibrariesCommand.h, cmMakefile.cxx, cmMakefile.h,
- cmTarget.cxx, cmTarget.h, cmTargetLinkLibrariesCommand.cxx,
- cmTargetLinkLibrariesCommand.h, cmUnixMakefileGenerator.cxx,
- cmUnixMakefileGenerator.h: added TARGET_LINK_LIBRARY command and
- support for debug and release libraries to link against
-
-2001-04-27 14:57 king
-
- * Source/cmUnixMakefileGenerator.cxx: ERR: Renamed CustomCommands
- to BuildRules to match change in cmSourceGroup.
-
-2001-04-27 14:52 king
-
- * Source/cmCablePackageCommand.cxx: BUG: Removed output of GCC_XML
- rules when the command cannot be found.
-
-2001-04-27 14:51 king
-
- * Source/: cmDSPMakefile.cxx, cmDSPMakefile.h, cmDSPWriter.cxx,
- cmDSPWriter.h, cmSourceGroup.cxx, cmSourceGroup.h: BUG: Removed
- output of dual rules for source files that are processed by both
- the compiler and by a custom command. Also removed generation of
- duplicate CMakeLists.txt in the project files.
-
-2001-04-27 14:40 martink
-
- * CMakeSystemConfig.txt.in, CMakeWindowsSystemConfig.txt: get
- system info into cmake
-
-2001-04-27 14:25 martink
-
- * Source/: cmConfigureFile.cxx, cmConfigureFile.h: added configure
- file
-
-2001-04-27 11:53 hoffman
-
- * configure.in.sample: BUG: run cache build with each configure
-
-2001-04-27 11:36 hoffman
-
- * CMakeRules.make.in, Source/cmMakefile.cxx: BUG: fix inplace
- builds
-
-2001-04-27 11:03 hoffman
-
- * Source/cmMakefile.cxx: ENH: fix in source build with non-gnu
-
-2001-04-27 09:32 hoffman
-
- * Source/cmMakefile.cxx: ENH: add output when creating files
-
-2001-04-27 09:30 martink
-
- * Source/: cmFindFileCommand.cxx, cmFindLibraryCommand.cxx,
- cmFindPathCommand.cxx: better help strings
-
-2001-04-27 09:13 will
-
- * Source/cmAuxSourceDirectoryCommand.h: ENH:New copyright
-
-2001-04-27 08:46 martink
-
- * CMakeVariables.make.in: removed old junk
-
-2001-04-27 08:01 will
-
- * Source/: CMakeBuildTargets.cxx, CMakeSetupCMD.cxx,
- cmAddDefinitionsCommand.cxx, cmAddDefinitionsCommand.h,
- cmAddExecutableCommand.cxx, cmAddExecutableCommand.h,
- cmAddLibraryCommand.cxx, cmAddLibraryCommand.h,
- cmAddTargetCommand.cxx, cmAddTargetCommand.h,
- cmAuxSourceDirectoryCommand.cxx,
- cmBuildSharedLibrariesCommand.cxx,
- cmCableCloseNamespaceCommand.cxx, cmCableCloseNamespaceCommand.h,
- cmCableCommand.cxx, cmCableCommand.h, cmCableData.cxx,
- cmCableData.h, cmCableDefineSetCommand.cxx,
- cmCableDefineSetCommand.h, cmCableInstantiateClassCommand.cxx,
- cmCableInstantiateClassCommand.h, cmCableInstantiateCommand.cxx,
- cmCableInstantiateCommand.h, cmCableOpenNamespaceCommand.cxx,
- cmCableOpenNamespaceCommand.h, cmCablePackageCommand.cxx,
- cmCablePackageCommand.h, cmCablePackageEntryCommand.cxx,
- cmCablePackageEntryCommand.h, cmCableSourceFilesCommand.cxx,
- cmCableSourceFilesCommand.h, cmCableWrapCommand.cxx,
- cmCableWrapCommand.h, cmCacheManager.cxx, cmCacheManager.h,
- cmCommand.h, cmCommands.h, cmConfigureFileNoAutoconf.cxx,
- cmConfigureFileNoAutoconf.h, cmCustomCommand.cxx,
- cmCustomCommand.h, cmDSPMakefile.cxx, cmDSPMakefile.h,
- cmDSPWriter.cxx, cmDSPWriter.h, cmDSWMakefile.cxx,
- cmDSWMakefile.h, cmDSWWriter.cxx, cmDSWWriter.h, cmDirectory.cxx,
- cmDirectory.h, cmElseCommand.cxx, cmElseCommand.h,
- cmEndIfCommand.cxx, cmEndIfCommand.h, cmFindFileCommand.cxx,
- cmFindFileCommand.h, cmFindIncludeCommand.cxx,
- cmFindIncludeCommand.h, cmFindLibraryCommand.cxx,
- cmFindLibraryCommand.h, cmFindProgramCommand.cxx,
- cmFindProgramCommand.h, cmFunctionBlocker.h, cmIfCommand.cxx,
- cmIfCommand.h, cmIncludeDirectoryCommand.cxx,
- cmIncludeDirectoryCommand.h,
- cmIncludeRegularExpressionCommand.cxx,
- cmIncludeRegularExpressionCommand.h, cmLibraryCommand.cxx,
- cmLibraryCommand.h, cmLinkDirectoriesCommand.cxx,
- cmLinkDirectoriesCommand.h, cmLinkLibrariesCommand.cxx,
- cmLinkLibrariesCommand.h, cmMSProjectGenerator.cxx,
- cmMSProjectGenerator.h, cmMakeDepend.cxx, cmMakeDepend.h,
- cmMakefile.cxx, cmMakefile.h, cmMakefileGenerator.cxx,
- cmMakefileGenerator.h, cmOptionCommand.cxx, cmOptionCommand.h,
- cmProjectCommand.cxx, cmProjectCommand.h,
- cmRegularExpression.cxx, cmRegularExpression.h, cmSourceFile.cxx,
- cmSourceFile.h, cmSourceFilesCommand.cxx, cmSourceFilesCommand.h,
- cmSourceFilesRequireCommand.cxx, cmSourceFilesRequireCommand.h,
- cmSourceGroup.cxx, cmSourceGroup.h, cmSourceGroupCommand.cxx,
- cmSourceGroupCommand.h, cmStandardIncludes.h,
- cmSubdirCommand.cxx, cmSubdirCommand.h, cmSystemTools.cxx,
- cmSystemTools.h, cmTarget.cxx, cmTarget.h, cmTestsCommand.cxx,
- cmTestsCommand.h, cmUnixDefinesCommand.cxx,
- cmUnixDefinesCommand.h, cmUnixLibrariesCommand.cxx,
- cmUnixLibrariesCommand.h, cmUnixMakefileGenerator.cxx,
- cmUnixMakefileGenerator.h, cmUtilitySourceCommand.cxx,
- cmUtilitySourceCommand.h, cmVTKWrapPythonCommand.cxx,
- cmVTKWrapTclCommand.cxx, cmWin32DefinesCommand.cxx,
- cmWin32DefinesCommand.h, cmWin32IncludeDirectoryCommand.cxx,
- cmWin32IncludeDirectoryCommand.h, cmWin32LibrariesCommand.cxx,
- cmWin32LibrariesCommand.h, cmWrapExcludeFilesCommand.cxx,
- cmWrapExcludeFilesCommand.h: ENH:New copyright
-
-2001-04-27 07:55 will
-
- * Source/: cmAbstractFilesCommand.cxx, cmAbstractFilesCommand.h:
- ENH:Copyright
-
-2001-04-26 16:22 martink
-
- * Source/: DLLHeader.dsptemplate, EXEHeader.dsptemplate,
- cmDSPMakefile.cxx, cmDSPMakefile.h, cmDSPWriter.cxx,
- cmDSPWriter.h, cmDSWMakefile.cxx, cmDSWWriter.cxx,
- cmLinkLibrariesCommand.cxx, cmLinkLibrariesCommand.h,
- cmMakefile.cxx, cmMakefile.h, cmUnixMakefileGenerator.cxx,
- cmVTKWrapPythonCommand.cxx: support for debug and opt libraries
-
-2001-04-26 15:41 martink
-
- * Source/: cmOptionCommand.cxx, cmOptionCommand.h: better help
-
-2001-04-26 15:27 king
-
- * Source/: cmCableInstantiateClassCommand.cxx,
- cmCableInstantiateClassCommand.h, cmCableInstantiateCommand.cxx,
- cmCableInstantiateCommand.h, cmCablePackageCommand.cxx,
- cmCablePackageEntryCommand.cxx, cmCablePackageEntryCommand.h,
- cmCableSourceFilesCommand.cxx, cmCableSourceFilesCommand.h,
- cmCableWrapCommand.cxx, cmCableWrapCommand.h: ENH: Changed
- WriteConfiguration to non-const so it can do error checking.
- Added parsing and output of a name for each WrapperSet generated
- from a CABLE_WRAP command.
-
-2001-04-26 14:53 hoffman
-
- * Source/: cmAddLibraryCommand.cxx,
- cmBuildSharedLibrariesCommand.cxx, cmCacheManager.cxx,
- cmCacheManager.h, cmFindFileCommand.cxx,
- cmFindIncludeCommand.cxx, cmFindLibraryCommand.cxx,
- cmFindPathCommand.cxx, cmFindProgramCommand.cxx,
- cmOptionCommand.cxx, cmUtilitySourceCommand.cxx: ENH: add help
- for cache entries
-
-2001-04-26 10:49 martink
-
- * Source/: cmCacheManager.cxx, cmElseCommand.cxx, cmIfCommand.cxx,
- cmSystemTools.cxx, cmSystemTools.h: some fixes for If commands
-
-2001-04-26 09:38 martink
-
- * Source/: CMakeSetup.dsw, DumpDocumentation.dsp, cmCommands.cxx,
- cmDSPMakefile.cxx, cmDSPWriter.cxx, cmDSPMakefile.h,
- cmDSPWriter.h, cmFindFileCommand.cxx, cmFindIncludeCommand.cxx,
- cmFindIncludeCommand.h, cmFindLibraryCommand.cxx,
- cmFindLibraryCommand.h, cmFindPathCommand.cxx,
- cmFindPathCommand.h, cmMakefile.cxx, cmMakefile.h,
- cmUnixMakefileGenerator.cxx: bug fixes
-
-2001-04-25 16:09 hoffman
-
- * configure.in.sample, Source/Makefile.in,
- Source/cmCacheManager.cxx, Source/cmCacheManager.h,
- Source/cmMakefile.cxx: ENH: clean up cmake GUI and remove the
- parsing of CMakeLists.txt files by configure
-
-2001-04-25 11:47 martink
-
- * Source/: cmElseCommand.h, cmEndIfCommand.h, cmIfCommand.h: rules
- were not inherited when they should be
-
-2001-04-25 09:39 king
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: Fixed output of
- dependencies. It needs to loop over the makefile's targets, not
- the source lists.
-
-2001-04-25 09:37 king
-
- * Source/cmMakeDepend.cxx: STYLE: Updated comments for name change
- cmClassFile->cmSourceFile
-
-2001-04-25 09:33 martink
-
- * CMake.doc: updated the docs some
-
-2001-04-24 17:33 king
-
- * Source/cmUnixMakefileGenerator.cxx: ERR: cmClassFile.h ->
- cmSourceFile.h include change.
-
-2001-04-24 16:49 martink
-
- * Source/: cmClassFile.cxx, cmClassFile.h: many fixes and cleanup
- and features
-
-2001-04-24 16:46 martink
-
- * Source/: CMakeLib.dsp, Makefile.in, cmAbstractFilesCommand.cxx,
- cmAuxSourceDirectoryCommand.cxx, cmCablePackageCommand.cxx,
- cmCableSourceFilesCommand.cxx, cmCacheManager.cxx,
- cmCacheManager.h, cmCommands.cxx, cmDSPMakefile.cxx,
- cmDSPMakefile.h, cmDSPWriter.cxx, cmDSPWriter.h,
- cmMakeDepend.cxx, cmMakeDepend.h, cmMakefile.cxx, cmMakefile.h,
- cmOptionCommand.cxx, cmSourceFilesCommand.cxx,
- cmSourceFilesRequireCommand.cxx, cmTarget.h,
- cmUnixDefinesCommand.cxx, cmUnixLibrariesCommand.cxx,
- cmUnixMakefileGenerator.cxx, cmWin32DefinesCommand.cxx,
- cmWin32IncludeDirectoryCommand.cxx, cmWin32LibrariesCommand.cxx,
- cmWrapExcludeFilesCommand.cxx, cmVTKWrapPythonCommand.cxx,
- cmVTKWrapPythonCommand.h, cmVTKWrapTclCommand.cxx,
- cmVTKWrapTclCommand.h, cmSourceFile.cxx, cmSourceFile.h,
- cmTarget.cxx, cmWrapTclCommand.cxx, cmWrapTclCommand.h: many
- fixes and cleanup and features
-
-2001-04-24 12:40 hoffman
-
- * Source/: cmBuildSharedLibrariesCommand.cxx, cmCacheManager.cxx,
- cmCacheManager.h, cmMakefile.cxx, cmMakefile.h,
- cmOptionCommand.cxx, cmWrapTclCommand.cxx: BUG: fix build
- directory problem
-
-2001-04-24 09:45 king
-
- * CMakeVariables.make.in: ERR: Removed extra SRC_OBJ reference.
- The variable is no longer used.
-
-2001-04-23 16:40 hoffman
-
- * Source/: CMakeLib.dsp, cmCacheManager.cxx, cmCacheManager.h,
- cmDSWMakefile.cxx, cmDSWWriter.cxx, cmSourceGroup.h,
- cmStandardIncludes.h, cmWindowsConfigure.cxx,
- cmWindowsConfigure.h: ENH: new GUI editor for cmake cache file
-
-2001-04-23 16:34 martink
-
- * Source/: cmCommands.cxx, cmWrapTclCommand.cxx: added option
- command
-
-2001-04-23 16:33 martink
-
- * Source/: cmOptionCommand.cxx, cmOptionCommand.h: new command
-
-2001-04-23 13:58 blezek
-
- * CMakeRules.make.in, Source/cmUnixMakefileGenerator.cxx: BUG:
- Clean was not doing it's job
-
-2001-04-23 10:23 king
-
- * Source/cmIfCommand.h: ERR: Added virtual destructor to complement
- virtual functions in cmIfFunctionBlocker.
-
-2001-04-19 17:39 martink
-
- * Source/: cmAddDefinitionsCommand.cxx, cmAddDefinitionsCommand.h,
- cmCommands.cxx, cmElseCommand.cxx, cmElseCommand.h,
- cmEndIfCommand.cxx, cmEndIfCommand.h, cmFunctionBlocker.h,
- cmIfCommand.cxx, cmIfCommand.h, cmMakefile.cxx, cmMakefile.h:
- added if else endif add definition
-
-2001-04-19 13:28 martink
-
- * Source/: cmCablePackageCommand.cxx, cmCustomCommand.h,
- cmDSPMakefile.cxx, cmDSPWriter.cxx, cmDSWMakefile.cxx,
- cmDSWWriter.cxx, cmMakefile.cxx, cmSourceGroup.cxx, cmTarget.h,
- cmUnixMakefileGenerator.cxx: cleaned up the coding style made
- ivars private etc
-
-2001-04-18 08:01 king
-
- * Source/cmMakeDepend.cxx: ERR: We can't assume a vector iterator
- is a pointer. It must be dereferenced to get a reference to the
- element, and then we can take the address of that to get a
- pointer. "i" becomes "&*i"
-
-2001-04-17 07:42 king
-
- * Source/cmUnixMakefileGenerator.cxx: ERR: Removed unused variable.
-
-2001-04-16 15:40 hoffman
-
- * Source/: cmStandardIncludes.h, cmSystemTools.cxx: BUG: fix small
- compile issues on HP aCC
-
-2001-04-16 12:31 king
-
- * Source/: cmMakeDepend.cxx, cmMakeDepend.h: ENH: Changed m_Indices
- to an stl set and renamed it to m_IndexSet. Using a set results
- in a significant performance increase and reduction in memory
- usage.
-
-2001-04-16 10:15 millerjv
-
- * Source/cmAddLibraryCommand.cxx: FIX: allow ADD_LIBRARY with no
- source list
-
-2001-04-16 10:01 martink
-
- * Source/: cmCablePackageCommand.cxx, cmMakefile.h: fixed cable
- package issue
-
-2001-04-12 15:34 martink
-
- * Source/: Makefile.in, cmAddLibraryCommand.cxx,
- cmCacheManager.cxx, cmCacheManager.h, cmMakefile.h,
- cmUnixMakefileGenerator.cxx, cmWrapTclCommand.cxx: some bug fixes
-
-2001-04-12 09:55 king
-
- * Source/: cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h:
- ENH: Added individual library linkage output so that shared
- libraries will not try to link against themselves.
-
-2001-04-12 09:49 martink
-
- * Source/: cmExecutablesCommand.cxx, cmExecutablesCommand.h:
- removed old rules
-
-2001-04-11 16:34 king
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: Generation now sets up
- proper linking of shared libraries to each other.
-
-2001-04-11 15:43 king
-
- * CMakeMaster.make.in: ERR: Needed to switch point where
- CMakeTargets.make is included so that Variables will be available
- to the targets file.
-
-2001-04-11 14:58 martink
-
- * Source/CMakeLib.dsp, Source/CMakeSetupCMD.dsp,
- Source/Makefile.in, Source/cmAbstractFilesCommand.cxx,
- Source/cmAddExecutableCommand.cxx,
- Source/cmAddExecutableCommand.h, Source/cmAddLibraryCommand.cxx,
- Source/cmAddLibraryCommand.h,
- Source/cmAuxSourceDirectoryCommand.cxx,
- Source/cmAuxSourceDirectoryCommand.h, Source/cmCableCommand.cxx,
- Source/cmCableData.cxx, Source/cmCableData.h,
- Source/cmCablePackageCommand.cxx, Source/cmCablePackageCommand.h,
- Source/cmCableSourceFilesCommand.cxx, Source/cmClassFile.cxx,
- Source/cmClassFile.h, Source/cmCommands.cxx,
- Source/cmCustomCommand.cxx, Source/cmCustomCommand.h,
- Source/cmDSPMakefile.cxx, Source/cmDSPMakefile.h,
- Source/cmDSPWriter.cxx, Source/cmDSPWriter.h,
- Source/cmDSWMakefile.cxx, Source/cmDSWMakefile.h,
- Source/cmDSWWriter.cxx, Source/cmDSWWriter.h,
- Source/cmMakeDepend.cxx, Source/cmMakeDepend.h,
- Source/cmMakefile.cxx, Source/cmMakefile.h,
- Source/cmSourceFilesCommand.cxx, Source/cmSourceFilesCommand.h,
- Source/cmSourceFilesRequireCommand.cxx,
- Source/cmSourceFilesRequireCommand.h, Source/cmSourceGroup.cxx,
- Source/cmSourceGroup.h, Source/cmTarget.h,
- Source/cmTestsCommand.cxx, Source/cmUnixMakefileGenerator.cxx,
- Source/cmUnixMakefileGenerator.h,
- Source/cmWrapExcludeFilesCommand.cxx,
- Source/cmWrapTclCommand.cxx, Source/cmWrapTclCommand.h,
- CMakeRules.make.in: major changes to support multiple libraries
- and source lists
-
-2001-04-10 15:26 king
-
- * Source/DLLHeader.dsptemplate: ENH: Need BUILD_SHARED_LIBRARIES
- defined for making windows DLLs.
-
-2001-04-09 10:56 king
-
- * Source/cmCablePackageCommand.cxx: ERR: Added double-quotes around
- command name before arguments are appended.
-
-2001-04-09 10:53 king
-
- * Source/cmUnixMakefileGenerator.cxx: ERR: Missed one EscapeSpaces
- call.
-
-2001-04-09 10:31 king
-
- * Source/: cmCableCommand.cxx, cmDSPMakefile.cxx, cmDSPWriter.cxx,
- cmSystemTools.cxx, cmSystemTools.h, cmUnixMakefileGenerator.cxx,
- cmUtilitySourceCommand.cxx: ERR: Corrected use of double-quotes
- to be compatible with UNIX make. Now double quotes (windows) or
- escape sequences for spaces (unix) are added when dependencies
- are output.
-
-2001-04-09 09:44 king
-
- * Source/: cmCableCommand.cxx, cmDSPMakefile.cxx, cmDSPWriter.cxx,
- cmUtilitySourceCommand.cxx: ENH: Added support for spaces in the
- output directory names. Spaces in the input directory name may
- work also, but are untested.
-
-2001-04-06 17:01 hoffman
-
- * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx, cmDSPMakefile.h,
- cmDSPWriter.h, cmDSWMakefile.cxx, cmDSWWriter.cxx: BUG: fix
- depends for libraries and executables in the same dir
-
-2001-04-06 14:51 hoffman
-
- * Source/: cmFindIncludeCommand.cxx, cmFindLibraryCommand.cxx,
- cmMakefile.cxx: ENH: better error reporting, and add NOTFOUND
- into cache for library and file find
-
-2001-04-06 12:00 martink
-
- * Source/cmFindIncludeCommand.h: fixed the documentation some
-
-2001-04-06 08:28 millerjv
-
- * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: FIX: configurations
- list needed to be reset for each dsp file created
-
-2001-04-04 09:33 millerjv
-
- * Source/: EXEHeader.dsptemplate, staticLibHeader.dsptemplate: FIX:
- returned to using /O2 optimization level and put a pragma in the
- netlib code that could not handle the /Og component of /O2
-
-2001-03-28 11:49 king
-
- * Source/cmSystemTools.cxx: ERR: Blank line regular expression
- updated to allow whitespace on the line.
-
-2001-03-23 14:27 king
-
- * Source/: cmCableSourceFilesCommand.cxx,
- cmCableSourceFilesCommand.h: ENH: Added support for
- CABLE_SOURCE_FILES to refer to files that are not in the current
- directory. The include path is searched for the files.
-
-2001-03-21 15:52 king
-
- * Source/cmStandardIncludes.h: ERR: Added pragma to disable symbol
- length warning for Intel compiler.
-
-2001-03-20 13:48 king
-
- * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: ERR: Small bug in
- generated DSP file fixed. A custom command environment variable
- has been replaced with explicity writing out the command.
-
-2001-03-20 13:20 king
-
- * Source/: CMakeLib.dsp, Makefile.in, cmCableCommand.cxx,
- cmCablePackageCommand.cxx, cmCommands.cxx, cmDSPMakefile.cxx,
- cmDSPMakefile.h, cmDSPWriter.cxx, cmDSPWriter.h, cmMakefile.cxx,
- cmMakefile.h, cmSourceGroup.cxx, cmSourceGroup.h,
- cmSourceGroupCommand.cxx, cmSourceGroupCommand.h,
- cmUnixMakefileGenerator.cxx, cmWrapTclCommand.cxx: ENH: Added
- SOURCE_GROUP command and corresponding support code. This
- command allows CMakeLists files to specify how sources are
- organized into groups in the generated DSP files and makefiles.
-
-2001-03-19 11:47 millerjv
-
- * Source/EXEHeader.dsptemplate: ENH: ignore unused libary warnings,
- removed /force
-
-2001-03-19 11:02 king
-
- * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: ENH: Added text
- files group to DSP output. CMakeLists.txt is duplicated in this
- group and outside, but fixing this will require a reorganization
- of custom rule generation. I should get to that soon.
-
-2001-03-19 11:01 king
-
- * Source/cmCableCommand.cxx: ERR: Changed generation of rule to
- generate cable_config.xml to be produced differently for windows
- and unix.
-
-2001-03-19 11:00 king
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ERR: Removed
- functions I just added. They don't belong here (yet?).
-
-2001-03-19 10:09 king
-
- * Source/cmCableCommand.cxx: ENH: Added generation of a rule to
- re-run CMake if the cable_config.xml file is missing.
-
-2001-03-19 10:09 king
-
- * Source/: cmSystemTools.cxx, cmSystemTools.h: ENH: Added functions
- to get information about the CMake executable on each platform.
-
-2001-03-16 11:14 king
-
- * Source/: cmCableData.cxx, cmCableData.h: ERR: Re-ordered
- declaration of members v. order of initialization on the
- constructor to match each other.
-
-2001-03-16 11:04 king
-
- * Source/: cmCableData.cxx, cmCableData.h: BUG: Rearranged cable
- config file open to do open in construction of m_OutputFile.
- Fixes problem on SGI with opening the file.
-
-2001-03-16 09:25 king
-
- * Source/: cmCableDefineSetCommand.cxx,
- cmCableSourceFilesCommand.cxx: ENH: Changed generated includes to
- not have full path specified.
-
-2001-03-15 18:09 king
-
- * Source/: cmCommands.cxx, cmIncludeRegularExpressionCommand.cxx,
- cmIncludeRegularExpressionCommand.h, cmMakeDepend.cxx,
- cmMakeDepend.h, cmMakefile.cxx, cmMakefile.h: ENH: Added
- INCLUDE_REGULAR_EXPRESSION command to set regular expression used
- in dependency checking.
-
-2001-03-15 14:46 king
-
- * Source/: cmCableDefineSetCommand.cxx, cmCableDefineSetCommand.h:
- ENH: Added SOURCE_FILES syntax to CABLE_DEFINE_SET command.
-
-2001-03-15 14:33 king
-
- * Source/: cmMakefile.cxx, cmMakefile.h: BUG: Moved definition of
- CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR to be as soon as their
- information is known.
-
-2001-03-15 10:42 king
-
- * Source/: cmCablePackageCommand.cxx, cmCablePackageCommand.h: BUG:
- Fixed segfault when CABLE_PACKAGE is only CABLE command. Related
- to order of virtual destructor calls.
-
-2001-03-14 17:49 king
-
- * Source/cmStandardIncludes.h: ERR: Added for-loop scoping hack for
- CMake sources on MSVC
-
-2001-03-14 16:34 king
-
- * Source/cmSystemTools.cxx: ENH: Added support for comments inside
- function calls and indented comments.
-
-2001-03-13 18:01 king
-
- * Source/: cmCableDefineSetCommand.cxx, cmCableDefineSetCommand.h:
- ENH: Added support for element tag specification with syntax
- tag:element as an argument to the CABLE_DEFINE_SET command. A
- single colon with nothing to its left will result in an empty
- tag.
-
-2001-03-13 09:33 king
-
- * Source/cmWrapTclCommand.cxx: ERR: Less-than-zero test replaced
- with greater-than-zero since we want zero arguments.
-
-2001-03-12 18:30 king
-
- * Source/: cmCommand.h, cmSystemTools.cxx, cmSystemTools.h: ENH:
- Improved error handling when GetError is called on a command that
- has not called SetError.
-
-2001-03-12 10:10 geoff
-
- * Source/: cmCommands.cxx, cmWin32IncludeDirectoryCommand.cxx,
- cmWin32IncludeDirectoryCommand.h: Include directories under Win32
- only (inherited by subdirs)
-
-2001-03-09 16:56 king
-
- * Source/: DLLHeader.dsptemplate, EXEHeader.dsptemplate,
- cmDSPMakefile.cxx, cmDSPMakefile.h, cmDSPWriter.cxx,
- cmDSPWriter.h, staticLibHeader.dsptemplate: ENH: Finished
- Simplifying dsptemplate processing with in place of separate
- Release, Debug, ReleaseDLL, ... configurations.
-
-2001-03-09 15:35 king
-
- * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx,
- staticLibHeader.dsptemplate: ERR: Fixed library path problem for
- ReleaseMinSize build. should now be used in place of separate
- Release, Debug, and ReleaseMinSize.
-
-2001-03-09 14:35 king
-
- * Source/EXEHeader.dsptemplate: ERR: Fixed header template for
- Release MinSize builds.
-
-2001-03-09 11:34 king
-
- * Source/EXEHeader.dsptemplate: ENH: Added Release MinSize
- configuration for executables.
-
-2001-03-09 11:33 king
-
- * Source/cmUtilitySourceCommand.h: ENH: Made UTILITY_SOURCE command
- inherited, just like FIND_PROGRAM.
-
-2001-03-09 11:16 king
-
- * Source/cmCablePackageCommand.cxx: ERR: Missing initalization of a
- cmClassFile::m_HeaderFileOnly fixed.
-
-2001-03-09 10:53 king
-
- * Source/: cmDSWMakefile.cxx, cmDSWWriter.cxx, cmMakefile.cxx,
- cmMakefile.h, cmUnixMakefileGenerator.cxx,
- cmUnixMakefileGenerator.h, cmUtilitySourceCommand.cxx: ENH: Added
- utility dependency support. Now a project can depend on other
- executables as well as link libraries.
-
-2001-03-09 10:52 king
-
- * Source/: cmCableCommand.cxx, cmCableData.cxx: ERR: Added
- automatic creation of directory for cable_config.xml file and
- corresponding error reporting.
-
-2001-03-09 10:52 king
-
- * Source/cmCablePackageCommand.cxx: ENH: Added proper dependency
- generation for a package on cable executable.
-
-2001-03-08 18:24 king
-
- * Source/: cmMakefile.cxx, cmUtilitySourceCommand.cxx: ERR:
- Replaced CMAKE_CFG= with CMAKE_CFG_OUTDIR= to fix windows
- behavior.
-
-2001-03-08 18:13 king
-
- * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: ENH: Added output of
- custom rules for XML sources.
-
-2001-03-08 17:38 king
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: Added output of defines
- flags as part of INCLUDE_FLAGS.
-
-2001-03-08 17:31 king
-
- * Source/cmUnixMakefileGenerator.cxx: ENH: Added output of a custom
- command's m_Source as a dependency.
-
-2001-03-08 17:31 king
-
- * Source/cmUnixDefinesCommand.cxx: ERR: Minor wording error in
- output message.
-
-2001-03-08 17:30 king
-
- * Source/cmCablePackageCommand.cxx: ENH: Creation of generator rule
- now properly uses the custom command's m_Source member.
-
-2001-03-08 16:13 king
-
- * Source/: cmCableCommand.cxx, cmCableData.cxx, cmCableData.h,
- cmCablePackageCommand.cxx, cmCablePackageCommand.h,
- cmCableSourceFilesCommand.cxx, cmCableSourceFilesCommand.h: ENH:
- Added creation of custom rules for generating CABLE packages.
-
-2001-03-08 16:12 king
-
- * Source/: cmMakeDepend.cxx, cmMakeDepend.h: ENH: Added support for
- finding dependencies for files that don't exist. Dependency
- recursion begins with hints provided in the cmClassFile for a
- file if it doesn't exist.
-
-2001-03-08 11:30 king
-
- * Source/cmCableSourceFilesCommand.cxx: ENH: Added .txx detection
- for Header block output.
-
-2001-03-08 10:30 king
-
- * Source/: cmCommands.cxx, cmMakefile.cxx, cmMakefile.h,
- cmSystemTools.cxx, cmSystemTools.h, cmUtilitySourceCommand.cxx,
- cmUtilitySourceCommand.h: ENH: Added UTILITY_SOURCE command for
- specifying where a 3rd party utility's source is located when it
- is included in the distribution of a project.
-
-2001-03-07 13:33 king
-
- * Source/cmCableCommand.cxx: ERR: Commented out experimental code
- that was accidentally checked in.
-
-2001-03-07 13:23 king
-
- * Source/cmCableCommand.cxx: ENH: Added Cable to Utilities and
- appropriate CMakeLists.txt changes. Moved VXLNumerics link out
- of source's root directory and into separate entries for Code and
- Testing directories. This prevents linking of all programs (like
- Cable) with the numerics library.
-
-2001-03-02 16:04 king
-
- * Source/: cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h:
- ENH: Added custom rule support to cmUnixMakefileGenerator.
-
-2001-03-02 13:47 will
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: repeat all -l options to
- avoid having to worry about link order.
-
-2001-03-02 12:27 king
-
- * Source/: cmCableCommand.cxx, cmCableData.cxx, cmCableData.h: ENH:
- CABLE config file (config_cable.xml) should now be opened in the
- output directory.
-
-2001-03-01 16:47 king
-
- * Source/: cmCableCloseNamespaceCommand.cxx,
- cmCableCloseNamespaceCommand.h, cmCableCommand.cxx,
- cmCableCommand.h, cmCableData.cxx, cmCableData.h,
- cmCableDefineSetCommand.cxx, cmCableDefineSetCommand.h,
- cmCableInstantiateClassCommand.cxx,
- cmCableInstantiateClassCommand.h, cmCableInstantiateCommand.cxx,
- cmCableInstantiateCommand.h, cmCableOpenNamespaceCommand.cxx,
- cmCableOpenNamespaceCommand.h, cmCablePackageCommand.cxx,
- cmCablePackageCommand.h, cmCablePackageEntryCommand.cxx,
- cmCablePackageEntryCommand.h, cmCableSourceFilesCommand.cxx,
- cmCableSourceFilesCommand.h, cmCableWrapCommand.cxx,
- cmCableWrapCommand.h, cmCommands.cxx: ENH: Change to new CABLE
- command architecture. CABLE configuration code is now generated
- on the first pass, during the Invoke() calls.
-
-2001-02-28 17:50 hoffman
-
- * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx, cmDSPMakefile.h,
- cmDSPWriter.h, cmDSWMakefile.cxx, cmDSWWriter.cxx: BUG: fix
- circular depends on libraries and remove depends for static
- libraries
-
-2001-02-28 09:34 king
-
- * Source/: cmCableCommand.cxx, cmCableCommand.h, cmCableData.cxx,
- cmCableData.h, cmCableDefineSetCommand.cxx,
- cmCableDefineSetCommand.h, cmCableInstantiateClassCommand.cxx,
- cmCableInstantiateClassCommand.h, cmCableInstantiateCommand.cxx,
- cmCableInstantiateCommand.h, cmCommands.cxx: ENH: CABIL -> CABLE
- rename.
-
-2001-02-27 16:50 martink
-
- * Source/: cmDSPMakefile.cxx, cmDSPMakefile.h, cmDSPWriter.cxx,
- cmDSPWriter.h, cmDSWMakefile.cxx, cmDSWWriter.cxx: many
- enhancements including dll support
-
-2001-02-27 16:49 martink
-
- * Source/cmWrapTclCommand.cxx: bug fixes
-
-2001-02-27 16:49 martink
-
- * Source/cmCommands.cxx: added new commands
-
-2001-02-27 16:48 martink
-
- * Source/cmClassFile.h: added wrap exclude ivar
-
-2001-02-27 16:48 martink
-
- * Source/: cmBuildSharedLibrariesCommand.cxx,
- cmBuildSharedLibrariesCommand.h, cmWrapExcludeFilesCommand.cxx,
- cmWrapExcludeFilesCommand.h: new commands
-
-2001-02-27 16:46 martink
-
- * Source/: DLLFooter.dsptemplate, DLLHeader.dsptemplate: dll build
- rules
-
-2001-02-27 16:44 martink
-
- * Source/staticLibHeader.dsptemplate: change in options for much
- smaller libraries
-
-2001-02-27 16:28 king
-
- * Source/: cmCableCommand.h, cmCableDefineSetCommand.cxx,
- cmCableDefineSetCommand.h, cmCableInstantiateClassCommand.cxx,
- cmCableInstantiateClassCommand.h, cmCableInstantiateCommand.cxx,
- cmCableInstantiateCommand.h, cmCommands.cxx: ENH: Implemented
- automatic tag generation for CABIL_DEFINE_SET command. Added tag
- output to WriteConfiguration methods. Added
- CABIL_INSTANTIATE_CLASS command to generate explicit class
- template instantiation configuration output.
-
-2001-02-27 15:41 king
-
- * Source/cmSystemTools.cxx: ENH/BUG: Improved function parsing to
- allow just about anything inside a double-quoted argument. Also
- fixed parsing of lines with both quoted and non-quoted arguments.
-
-2001-02-27 12:00 lorensen
-
- * Source/cmSystemTools.cxx: ENH: mask on mkdir set to 777.
-
-2001-02-27 12:00 lorensen
-
- * Source/CMakeBuildTargets.cxx: ERR: missing std:: on cout.
-
-2001-02-26 20:58 millerjv
-
- * Source/staticLibHeader.dsptemplate: FIX: added /GR to MinSize
- build to avoid warnings about dynamic cast
-
-2001-02-26 18:20 king
-
- * Source/cmCableInstantiateCommand.cxx: ERR: Fixed configuration
- file output to open file in output directory.
-
-2001-02-26 18:16 king
-
- * Source/cmWrapTclCommand.cxx: int -> unsigned int
-
-2001-02-26 18:00 king
-
- * Source/: cmCableCommand.cxx, cmCableCommand.h, cmCableData.cxx,
- cmCableData.h, cmCableDefineSetCommand.cxx,
- cmCableDefineSetCommand.h, cmCableInstantiateCommand.cxx,
- cmCableInstantiateCommand.h, cmCommands.cxx: ENH: Added CABIL
- commands for configuration file generation.
-
-2001-02-26 17:58 king
-
- * Source/cmMakefile.h: ENH: Added GetUsedCommands() method.
-
-2001-02-26 17:58 king
-
- * Source/cmStandardIncludes.h: ERR: fsream.h -> fstream.h
-
-2001-02-26 17:17 martink
-
- * Source/: cmCommands.cxx, cmDSPMakefile.cxx, cmDSPMakefile.h,
- cmDSPWriter.cxx, cmDSPWriter.h, cmMakefile.h: a variety of fixes
- and enhancements
-
-2001-02-26 17:17 martink
-
- * Source/: cmWrapTclCommand.cxx, cmWrapTclCommand.h: very early
- version of a wrapper
-
-2001-02-26 17:15 martink
-
- * Source/: cmClassFile.cxx, cmClassFile.h: added functionality,
- fixed bug if no file existed and with header files
-
-2001-02-26 17:14 martink
-
- * Source/: cmFindProgramCommand.cxx, cmFindProgramCommand.h: fixed
- bug and modified functionality
-
-2001-02-26 17:13 martink
-
- * Source/: cmFindFileCommand.cxx, cmFindFileCommand.h: new command
-
-2001-02-26 13:25 king
-
- * Source/cmMakefile.cxx: ERR: Fixed unknown command output error
- message for spacing.
-
-2001-02-26 12:07 king
-
- * Source/: cmAbstractFilesCommand.h, cmAddTargetCommand.h,
- cmAuxSourceDirectoryCommand.h, cmCommand.h,
- cmExecutablesCommand.h, cmFindIncludeCommand.h,
- cmFindLibraryCommand.h, cmFindProgramCommand.h,
- cmIncludeDirectoryCommand.h, cmLibraryCommand.h,
- cmLinkDirectoriesCommand.h, cmLinkLibrariesCommand.h,
- cmProjectCommand.h, cmSourceFilesCommand.h,
- cmSourceFilesRequireCommand.h, cmSubdirCommand.h,
- cmTestsCommand.h, cmUnixDefinesCommand.h,
- cmUnixLibrariesCommand.h, cmWin32DefinesCommand.h,
- cmWin32LibrariesCommand.h: ENH: Added safe downcast support
- (without RTTI) to cmCommand and its subclasses.
-
-2001-02-23 10:40 king
-
- * Source/: cmAbstractFilesCommand.cxx, cmCommand.h, cmCommands.h,
- cmConfigureFileNoAutoconf.h, cmFindIncludeCommand.cxx,
- cmFindLibraryCommand.cxx, cmFindProgramCommand.cxx,
- cmMakefile.cxx, cmUnixMakefileGenerator.cxx: ERR: Fixed warnings
- (int->unsigned int and a few others).
-
-2001-02-22 19:37 hoffman
-
- * configure.in.sample: ENH: update sample
-
-2001-02-22 19:31 hoffman
-
- * Source/cmSystemTools.cxx: BUG: remove debug print
-
-2001-02-22 19:23 hoffman
-
- * Source/CMakeBuildTargets.cxx, Source/Makefile.in,
- Source/cmCacheManager.cxx, Source/cmCacheManager.h,
- Source/cmConfigureFileNoAutoconf.cxx, Source/cmDSPMakefile.cxx,
- Source/cmDSPWriter.cxx, Source/cmDSWMakefile.cxx,
- Source/cmDSWWriter.cxx, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmStandardIncludes.h,
- Source/cmSystemTools.cxx, Source/cmSystemTools.h,
- CMakeRules.make.in, CMakeTopMakefileTemplate.in,
- Source/cmConfigure.h.in: ENH: add CMakeCache.txt support
-
-2001-02-20 14:12 hoffman
-
- * Source/cmSystemTools.cxx: ENH: remove relative and extra paths in
- CMakeLists.txt files
-
-2001-02-20 12:25 hoffman
-
- * CMakeRules.make.in: BUG: fix for in source build
-
-2001-02-19 15:13 hoffman
-
- * CMakeMakefileTemplate.in, MakefileTemplate.in,
- configure.in.sample, Source/CMakeBuildTargets.cxx,
- Source/CMakeSetupCMD.cxx, Source/Makefile.in,
- Source/cmCacheManager.cxx, Source/cmCacheManager.h,
- Source/cmCommand.h, Source/cmDSWMakefile.cxx,
- Source/cmDSWWriter.cxx, Source/cmFindIncludeCommand.cxx,
- Source/cmFindLibraryCommand.cxx, Source/cmFindProgramCommand.cxx,
- Source/cmIncludeDirectoryCommand.cxx, Source/cmMakefile.cxx,
- Source/cmRegularExpression.h, Source/cmSystemTools.cxx,
- Source/cmUnixMakefileGenerator.cxx,
- Source/cmUnixMakefileGenerator.h: ENH: first pass at cache, clean
- up the unix generator, clean up configure.in some
-
-2001-02-18 13:02 hoffman
-
- * configure.in.sample: ENH: add a smaple configure.in for CMake
- based projects
-
-2001-02-18 12:47 hoffman
-
- * configure.in.sample: ENH: add a smaple configure.in for CMake
- based projects
-
-2001-02-16 15:34 hoffman
-
- * Source/cmCacheManager.h: ENH: clean up comments some
-
-2001-02-16 15:01 will
-
- * CMake.pdf: ENH:Added pdf file
-
-2001-02-16 11:52 martink
-
- * CMake.doc: clean up docs
-
-2001-02-16 11:34 martink
-
- * Source/: cmConfigureFileNoAutoconf.cxx, cmDSWMakefile.cxx,
- cmDSWWriter.cxx, cmFindIncludeCommand.cxx,
- cmFindLibraryCommand.cxx, cmFindLibraryCommand.h,
- cmFindProgramCommand.cxx, cmMakefile.cxx, cmMakefile.h,
- cmSystemTools.cxx, cmSystemTools.h: ENH: add new commands fro
- find library and find program
-
-2001-02-15 13:30 martink
-
- * CMakeRules.make.in, CMakeVariables.make.in,
- Source/CMakeBuildTargets.cxx, Source/CMakeSetupCMD.cxx,
- Source/cmClassFile.cxx, Source/cmClassFile.h,
- Source/cmConfigureFileNoAutoconf.h, Source/cmDSPMakefile.cxx,
- Source/cmDSPWriter.cxx, Source/cmDSWMakefile.cxx,
- Source/cmDSWWriter.cxx, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmProjectCommand.cxx,
- Source/cmProjectCommand.h: some cleanup and fixes
-
-2001-02-14 12:26 hoffman
-
- * Source/cmMakeDepend.cxx: ENH: fix depend segfault
-
-2001-02-13 18:49 hoffman
-
- * Source/: cmConfigureFileNoAutoconf.cxx, cmMakefile.cxx: ENH: new
- vnl
-
-2001-02-13 16:48 hoffman
-
- * Source/: cmMakefile.cxx, cmMakefile.h: ENH: add configure style
- @var@ expansion
-
-2001-02-12 19:49 hoffman
-
- * Source/: CMakeBuildTargets.cxx, Makefile.in, cmCommands.cxx,
- cmConfigureFileNoAutoconf.cxx, cmConfigureFileNoAutoconf.h,
- cmConfigureHeaderCommand.cxx, cmConfigureHeaderCommand.h,
- cmMakefile.cxx, cmMakefile.h, cmStandardIncludes.h,
- cmSystemTools.cxx, cmCommands.h: ENH: get rid of special msc
- configure file
-
-2001-02-12 14:42 hoffman
-
- * Source/: CMakeLib.dsp, CMakeSetup.dsw, CMakeSetupCMD.dsp: ENH:
- share a .lib with the command line and mfc versions.
-
-2001-02-12 14:26 hoffman
-
- * Source/: CMakeLib.dsp, CMakeSetup.dsw, CMakeSetupCMD.cxx,
- CMakeSetupCMD.dsp, Makefile.in, cmCacheManager.cxx,
- cmCacheManager.h, cmCommands.cxx, cmConfigureHeaderCommand.cxx,
- cmConfigureHeaderCommand.h, cmDSWMakefile.cxx, cmDSWWriter.cxx,
- cmMSProjectGenerator.h: ENH: add cache manager class, move all
- commands into cmCommands.cxx to speed up compile times, share a
- .lib with the command line and mfc versions.
-
-2001-02-06 17:01 hoffman
-
- * Source/staticLibHeader.dsptemplate: ENH: add /GX /Zm1000
-
-2001-02-06 16:48 hoffman
-
- * Source/staticLibHeader.dsptemplate: ENH: min size build
-
-2001-02-06 10:52 hoffman
-
- * Source/staticLibHeader.dsptemplate: ENH: put back /Zm1000 so we
- can build large files
-
-2001-02-06 08:56 millerjv
-
- * Source/staticLibHeader.dsptemplate: FIX: remove precompiled
- header settings
-
-2001-02-06 08:54 millerjv
-
- * Source/EXEHeader.dsptemplate: FIX: added /force to link options
- and removed precompiled header usage
-
-2001-01-25 15:48 millerjv
-
- * Source/: EXEHeader.dsptemplate, staticLibHeader.dsptemplate: BUG:
- backed off on the compiler optimization used. Instead of using
- /O2, we now use all the components of /Ox (/Ob1 /Oi /Ot /Oy /Gs)
- except for /Og
-
-2001-01-22 10:00 will
-
- * Source/CMakeSetupCMD.dsp: BUG: convert to dos format
-
-2001-01-22 09:49 will
-
- * Source/: CMakeSetup.dsw, CMakeSetupCMD.dsp: BUG: make dsp and dsw
- files binary
-
-2001-01-18 13:43 will
-
- * README: ENH:Commands not rules
-
-2001-01-18 12:06 will
-
- * Source/Makefile.in: ERR:Oops, use SimpleRule not SimpleCommand
-
-2001-01-18 11:51 will
-
- * CMakeCommands.make.in, CMakeMaster.make.in, CMakeRules.make.in,
- CMakeSimpleCommands.make.in, CMakeSimpleRules.make.in: ERR:Oops,
- renamed back
-
-2001-01-18 11:20 will
-
- * CMakeCommands.make.in, CMakeMaster.make.in, CMakeRules.make.in,
- CMakeSimpleCommands.make.in, CMakeSimpleRules.make.in,
- Source/CMakeSetupCMD.dsp, Source/Makefile.in,
- Source/cmAbstractFilesCommand.cxx,
- Source/cmAbstractFilesCommand.h, Source/cmAbstractFilesRule.cxx,
- Source/cmAbstractFilesRule.h, Source/cmAddTargetCommand.cxx,
- Source/cmAddTargetCommand.h, Source/cmAddTargetRule.cxx,
- Source/cmAddTargetRule.h, Source/cmAuxSourceDirectoryCommand.cxx,
- Source/cmAuxSourceDirectoryCommand.h,
- Source/cmAuxSourceDirectoryRule.cxx,
- Source/cmAuxSourceDirectoryRule.h, Source/cmCommand.h,
- Source/cmDumpDocumentation.cxx, Source/cmExecutablesCommand.cxx,
- Source/cmExecutablesCommand.h, Source/cmExecutablesRule.cxx,
- Source/cmExecutablesRule.h, Source/cmFindIncludeCommand.cxx,
- Source/cmFindIncludeCommand.h, Source/cmFindIncludeRule.cxx,
- Source/cmFindIncludeRule.h, Source/cmFindLibraryCommand.cxx,
- Source/cmFindLibraryCommand.h, Source/cmFindLibraryRule.cxx,
- Source/cmFindLibraryRule.h, Source/cmFindProgramCommand.cxx,
- Source/cmFindProgramCommand.h, Source/cmFindProgramRule.cxx,
- Source/cmFindProgramRule.h, Source/cmIncludeDirectoryCommand.cxx,
- Source/cmIncludeDirectoryCommand.h,
- Source/cmIncludeDirectoryRule.cxx,
- Source/cmIncludeDirectoryRule.h, Source/cmLibraryCommand.cxx,
- Source/cmLibraryCommand.h, Source/cmLibraryRule.cxx,
- Source/cmLibraryRule.h, Source/cmLinkDirectoriesCommand.cxx,
- Source/cmLinkDirectoriesCommand.h,
- Source/cmLinkDirectoriesRule.cxx, Source/cmLinkDirectoriesRule.h,
- Source/cmLinkLibrariesCommand.cxx,
- Source/cmLinkLibrariesCommand.h, Source/cmLinkLibrariesRule.cxx,
- Source/cmLinkLibrariesRule.h, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmMakefileGenerator.h,
- Source/cmProjectCommand.cxx, Source/cmProjectCommand.h,
- Source/cmProjectRule.cxx, Source/cmProjectRule.h,
- Source/cmRuleMaker.h, Source/cmSourceFilesCommand.cxx,
- Source/cmSourceFilesCommand.h,
- Source/cmSourceFilesRequireCommand.cxx,
- Source/cmSourceFilesRequireCommand.h,
- Source/cmSourceFilesRequireRule.cxx,
- Source/cmSourceFilesRequireRule.h, Source/cmSourceFilesRule.cxx,
- Source/cmSourceFilesRule.h, Source/cmSubdirCommand.cxx,
- Source/cmSubdirCommand.h, Source/cmSubdirRule.cxx,
- Source/cmSubdirRule.h, Source/cmSystemTools.h,
- Source/cmTestsCommand.cxx, Source/cmTestsCommand.h,
- Source/cmTestsRule.cxx, Source/cmTestsRule.h,
- Source/cmUnixDefinesCommand.cxx, Source/cmUnixDefinesCommand.h,
- Source/cmUnixDefinesRule.cxx, Source/cmUnixDefinesRule.h,
- Source/cmUnixLibrariesCommand.cxx,
- Source/cmUnixLibrariesCommand.h, Source/cmUnixLibrariesRule.cxx,
- Source/cmUnixLibrariesRule.h, Source/cmWin32DefinesCommand.cxx,
- Source/cmWin32DefinesCommand.h, Source/cmWin32DefinesRule.cxx,
- Source/cmWin32DefinesRule.h, Source/cmWin32LibrariesCommand.cxx,
- Source/cmWin32LibrariesCommand.h,
- Source/cmWin32LibrariesRule.cxx, Source/cmWin32LibrariesRule.h:
- ENH:Reworked CMake for consistency
-
-2001-01-12 14:35 will
-
- * README, Source/cmAbstractFilesRule.h, Source/cmAddTargetRule.h,
- Source/cmAuxSourceDirectoryRule.h, Source/cmExecutablesRule.h,
- Source/cmFindIncludeRule.h, Source/cmFindLibraryRule.h,
- Source/cmFindProgramRule.h, Source/cmIncludeDirectoryRule.h,
- Source/cmLibraryRule.h, Source/cmLinkDirectoriesRule.h,
- Source/cmLinkLibrariesRule.h, Source/cmMakefile.cxx,
- Source/cmProjectRule.h, Source/cmRuleMaker.h,
- Source/cmSourceFilesRequireRule.h, Source/cmSourceFilesRule.h,
- Source/cmSubdirRule.h, Source/cmTestsRule.h,
- Source/cmUnixDefinesRule.h, Source/cmUnixLibrariesRule.h,
- Source/cmWin32DefinesRule.h, Source/cmWin32LibrariesRule.h:
- ENH:Tweaks to dump documentation
-
-2001-01-12 14:05 hoffman
-
- * Source/: cmDSPMakefile.cxx, cmDSPWriter.cxx: ENH: add define
- flags in the right place
-
-2001-01-12 13:48 hoffman
-
- * Source/cmSystemTools.cxx: BUG: add check for missing ) on
- function
-
-2001-01-12 13:07 will
-
- * README, Source/cmAuxSourceDirectoryRule.h,
- Source/cmIncludeDirectoryRule.h, Source/cmLinkLibrariesRule.h,
- Source/cmProjectRule.h, Source/cmSourceFilesRequireRule.h,
- Source/cmSubdirRule.h, Source/cmUnixDefinesRule.h,
- Source/cmWin32DefinesRule.h: ENH:Tweaks to dump documentation
-
-2001-01-12 12:49 will
-
- * Source/: cmAddTargetRule.h, cmMakefile.cxx: ENH:Tweaks to
- documentation
-
-2001-01-12 12:49 will
-
- * README: ENH:Updated for rule-based CMake
-
-2001-01-12 12:42 will
-
- * Source/: cmDumpDocumentation.cxx, cmMakefile.cxx, cmMakefile.h:
- ENH:Simple program dumps out internal documentation for CMake
-
-2001-01-12 07:43 will
-
- * README: README
-
-2001-01-11 16:19 will
-
- * doxygen.config: ENH:Doxygenated CMake
-
-2001-01-11 14:55 will
-
- * Source/: CMakeBuildTargets.cxx, CMakeSetupCMD.cxx,
- cmAbstractFilesRule.cxx, cmClassFile.cxx, cmDSPMakefile.cxx,
- cmDSPWriter.cxx, cmDSWMakefile.cxx, cmDSWWriter.cxx,
- cmExecutablesRule.cxx, cmFindIncludeRule.cxx,
- cmFindLibraryRule.cxx, cmFindProgramRule.cxx,
- cmIncludeDirectoryRule.cxx, cmLibraryRule.cxx,
- cmLinkDirectoriesRule.cxx, cmLinkLibrariesRule.cxx,
- cmMSProjectGenerator.cxx, cmMakeDepend.cxx, cmMakefile.cxx,
- cmMakefileGenerator.cxx, cmProjectRule.cxx,
- cmSourceFilesRequireRule.cxx, cmSourceFilesRule.cxx,
- cmSubdirRule.cxx, cmSystemTools.cxx, cmTestsRule.cxx,
- cmUnixDefinesRule.cxx, cmUnixLibrariesRule.cxx,
- cmWin32DefinesRule.cxx, cmWin32LibrariesRule.cxx:
- ENH:Documentation and cleanups
-
-2001-01-11 14:47 will
-
- * Source/: CMakeSetupCMD.cxx, cmAddTargetRule.cxx,
- cmAuxSourceDirectoryRule.cxx, cmClassFile.h, cmDSWMakefile.cxx,
- cmDSWMakefile.h, cmDSWWriter.cxx, cmDSWWriter.h, cmDirectory.h,
- cmFindProgramRule.h, cmMSProjectGenerator.cxx,
- cmMSProjectGenerator.h, cmMakeDepend.h, cmMakefile.h,
- cmMakefileGenerator.h, cmRegularExpression.cxx,
- cmRegularExpression.h, cmStandardIncludes.h, cmSystemTools.cxx,
- cmSystemTools.h, cmUnixMakefileGenerator.cxx,
- cmUnixMakefileGenerator.h, cmWindowsConfigure.cxx,
- cmWindowsConfigure.h: ENH:Documentation and cleanups
-
-2001-01-11 11:35 blezek
-
- * Source/: cmWin32DefinesRule.cxx, cmWin32LibrariesRule.cxx: BUG:
- Broken on non WIN32 platforms, changed SetEnableOff to EnabledOff
-
-2001-01-11 08:04 will
-
- * Source/: cmFindIncludeRule.h, cmFindLibraryRule.h,
- cmFindProgramRule.h, cmIncludeDirectoryRule.h, cmLibraryRule.h,
- cmLinkDirectoriesRule.h, cmLinkLibrariesRule.h, cmProjectRule.h,
- cmSourceFilesRequireRule.h, cmSourceFilesRule.h, cmSubdirRule.h,
- cmTestsRule.h, cmUnixDefinesRule.h, cmUnixLibrariesRule.h,
- cmWin32DefinesRule.h, cmWin32LibrariesRule.h: ENH:Added
- documentation; clean-up
-
-2001-01-10 17:29 will
-
- * Source/: cmExecutablesRule.h, cmFindIncludeRule.h: ENH:Beginning
- clean up; adding documentation
-
-2001-01-10 17:13 will
-
- * Source/cmAuxSourceDirectoryRule.h: ENH:Beginning clean up; adding
- documentation
-
-2001-01-10 17:05 will
-
- * Source/: cmAbstractFilesRule.h, cmAddTargetRule.h,
- cmAuxSourceDirectoryRule.h, cmDSPMakefile.h, cmDSPWriter.h,
- cmExecutablesRule.h, cmFindIncludeRule.h, cmFindLibraryRule.h,
- cmFindProgramRule.h, cmIncludeDirectoryRule.h, cmLibraryRule.h,
- cmLinkDirectoriesRule.h, cmLinkLibrariesRule.h, cmProjectRule.h,
- cmRuleMaker.h, cmSourceFilesRequireRule.h, cmSourceFilesRule.h,
- cmSubdirRule.h, cmTestsRule.h, cmUnixDefinesRule.cxx,
- cmUnixDefinesRule.h, cmUnixLibrariesRule.cxx,
- cmUnixLibrariesRule.h, cmWin32DefinesRule.h,
- cmWin32LibrariesRule.h: ENH:Beginning clean up; adding
- documentation
-
-2001-01-09 15:13 hoffman
-
- * Source/cmUnixMakefileGenerator.cxx: BUG: look for -l and -L only
- at the begining of a link string
-
-2001-01-05 13:52 blezek
-
- * Source/: CMakeBuildTargets.cxx, CMakeSetupCMD.cxx: BUG: main can
- not be void under ANSI C++
-
-2001-01-05 13:49 blezek
-
- * Source/cmMakefileGenerator.cxx: BUG: Looking for
- cmMakeFileGenerator.h rather than cmMakefileGenerator.h
-
-2001-01-05 11:41 hoffman
-
- * Source/: CMakeBuildTargets.cxx, CMakeSetupCMD.cxx,
- CMakeSetupCMD.dsp, Makefile.in, cmAbstractFilesRule.cxx,
- cmAbstractFilesRule.h, cmAddTargetRule.cxx, cmAddTargetRule.h,
- cmAuxSourceDirectoryRule.cxx, cmAuxSourceDirectoryRule.h,
- cmClassFile.cxx, cmClassFile.h, cmCollectFlags.cxx,
- cmCollectFlags.h, cmDSPMakefile.cxx, cmDSPMakefile.h,
- cmDSPWriter.cxx, cmDSPWriter.h, cmDSWMakefile.cxx,
- cmDSWWriter.cxx, cmDSWMakefile.h, cmDSWWriter.h, cmDirectory.cxx,
- cmDirectory.h, cmExecutablesRule.cxx, cmExecutablesRule.h,
- cmFindIncludeRule.cxx, cmFindIncludeRule.h,
- cmFindLibraryRule.cxx, cmFindLibraryRule.h,
- cmFindProgramRule.cxx, cmFindProgramRule.h,
- cmIncludeDirectoryRule.cxx, cmIncludeDirectoryRule.h,
- cmLibraryRule.cxx, cmLibraryRule.h, cmLinkDirectoriesRule.cxx,
- cmLinkDirectoriesRule.h, cmLinkLibrariesRule.cxx,
- cmLinkLibrariesRule.h, cmMSProjectGenerator.cxx,
- cmMSProjectGenerator.h, cmMakeDepend.cxx, cmMakeDepend.h,
- cmMakefile.cxx, cmMakefile.h, cmMakefileGenerator.cxx,
- cmMakefileGenerator.h, cmProjectRule.cxx, cmProjectRule.h,
- cmRegularExpression.cxx, cmRegularExpression.h, cmRuleMaker.h,
- cmSourceFilesRequireRule.cxx, cmSourceFilesRequireRule.h,
- cmSourceFilesRule.cxx, cmSourceFilesRule.h, cmStandardIncludes.h,
- cmSubdirRule.cxx, cmSubdirRule.h, cmSystemTools.cxx,
- cmSystemTools.h, cmTestsRule.cxx, cmTestsRule.h,
- cmUnixDefinesRule.cxx, cmUnixDefinesRule.h,
- cmUnixLibrariesRule.cxx, cmUnixLibrariesRule.h,
- cmUnixMakefile.cxx, cmUnixMakefile.h,
- cmUnixMakefileGenerator.cxx, cmUnixMakefileGenerator.h,
- cmWin32DefinesRule.cxx, cmWin32DefinesRule.h,
- cmWin32LibrariesRule.cxx, cmWin32LibrariesRule.h,
- cmWindowsConfigure.cxx, cmWindowsConfigure.h: ENH: rework cmake,
- added ruleMaker classes and changed the syntax of the
- CMakeLists.txt files.
-
-2000-12-07 15:45 blezek
-
- * Source/cmMakefile.cxx: ENH: Added TESTS target
-
-2000-11-22 11:02 hoffman
-
- * Source/cmMakeDepend.cxx: BUG: remove bogus warning about not
- finding a depend file, if there are no include paths
-
-2000-11-09 10:41 will
-
- * README, Source/cmCollectFlags.cxx, Source/cmCollectFlags.h,
- Source/cmWindowsConfigure.cxx: ENH:Changed CMAKE_SOURCE_ROOT to
- CMAKE_SOURCE_DIR
-
-2000-11-03 16:38 hoffman
-
- * README: [no log message]
-
-2000-11-02 11:13 hoffman
-
- * Source/cmMakefile.cxx: BUG: make sure SOURCE_FILES starts at the
- begining of line
-
-2000-11-02 10:56 blezek
-
- * CMakeVariables.make.in: ENH: Moved @JAVA@ to @JAVACOMMAND@
-
-2000-11-02 10:24 will
-
- * README, Source/cmClassFile.cxx, Source/cmMakefile.cxx:
- ENH:Reworked CMake to clearer indicate what the variables do
-
-2000-10-25 17:18 hoffman
-
- * Source/: cmSystemTools.cxx: BUG: remove tabs from classnames
-
-2000-10-04 09:58 lorensen
-
- * CMakeVariables.make.in: Enh: Added TCLSH
-
-2000-10-02 14:21 blezek
-
- * Source/CMakeBuildTargets.cxx: BUG: if the path to your source
- directory has a -S in it, it will be picked up as the source
- directory by the command line parser, because it matches -S at
- any character position in the argements. Bad, should have used
- getopt, except that it is not cross platform.
-
-2000-10-02 13:50 blezek
-
- * CMakeVariables.make.in: ENH: Support for XML builds and Dashboard
-
-2000-09-28 12:43 blezek
-
- * README: ENH: Added note about VERBATIM targets in CMakeList.txt
-
-2000-09-27 15:01 hoffman
-
- * CMakeMaster.make.in, CMakeRules.make.in, CMakeVariables.make.in,
- README, Source/cmDSWMakefile.cxx, Source/cmDSWMakefile.h,
- Source/cmDSWWriter.cxx, Source/cmDSWWriter.h,
- Source/cmMakefile.cxx, Source/cmMakefile.h,
- Source/cmSystemTools.cxx, Source/cmSystemTools.h,
- Source/cmUnixMakefile.cxx, Source/cmUnixMakefile.h: ENH: change
- ME to LIBRARY and added PROJECT, also remove ITK stuff and
- replaced with CMake
-
-2000-09-21 13:45 hoffman
-
- * README, Source/CMakeBuildTargets.cxx, Source/CMakeSetupCMD.cxx,
- Source/cmCollectFlags.cxx, Source/cmCollectFlags.h,
- Source/cmDSPMakefile.cxx, Source/cmDSPWriter.cxx,
- Source/cmDSWMakefile.cxx, Source/cmDSWWriter.cxx,
- Source/cmMakeDepend.cxx, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmUnixMakefile.cxx,
- Source/itkVC60Configure.cxx, Source/itkVC60Configure.h: ENH:
- clean up code, and varible names
-
-2000-09-18 10:19 hoffman
-
- * Source/cmUnixMakefile.cxx: BUG: remove cout
-
-2000-09-18 09:19 hoffman
-
- * CMakeRules.make.in, CMakeVariables.make.in, README,
- Source/cmDSPMakefile.cxx, Source/cmDSPWriter.cxx,
- Source/cmMakeDepend.cxx, Source/cmUnixMakefile.cxx,
- Source/cmWindowsConfigure.cxx, Source/cmWindowsConfigure.h: ENH:
- added a config setup file for CMakeSetup. Cleaned up the names
- of the source and binary directories
-
-2000-09-18 07:27 hoffman
-
- * Source/CMakeSetupCMD.dsp: ENH: remove unused files
-
-2000-09-12 06:44 hoffman
-
- * CMakeRules.make.in, CMakeVariables.make.in: BUG: fix build in
- place source directory
-
-2000-09-12 05:37 hoffman
-
- * Source/: cmCollectFlags.cxx, cmCollectFlags.h: NEW: class to
- collect all the flags from parent directories
-
-2000-09-12 05:30 hoffman
-
- * CMakeMaster.make.in, CMakeRules.make.in, CMakeTargets.make.in,
- CMakeVariables.make.in, MakefileTemplate.in, README,
- Source/CMakeBuildTargets.cxx, Source/CMakeSetup.cxx,
- Source/CMakeSetup.dsw, Source/CMakeSetupCMD.cxx,
- Source/CMakeSetupCMD.dsp, Source/Makefile.in,
- Source/cmClassFile.cxx, Source/cmClassFile.h,
- Source/cmDSPBuilder.cxx, Source/cmDSPBuilder.h,
- Source/cmDSPMakefile.cxx, Source/cmDSPWriter.cxx,
- Source/cmDSWBuilder.cxx, Source/cmDSWBuilder.h,
- Source/cmDSWMakefile.cxx, Source/cmDSWMakefile.h,
- Source/cmDSWWriter.cxx, Source/cmDSWWriter.h,
- Source/cmMakeDepend.cxx, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmPCBuilder.cxx,
- Source/cmPCBuilder.h, Source/cmSystemTools.cxx,
- Source/cmSystemTools.h, Source/cmUnixMakefile.cxx,
- Source/cmUnixMakefile.h, Source/cmWindowsConfigure.h,
- Source/itkVC60Configure.h: ENH: CMake and configure now use
- SUBDIRS in CMakeLists.txt to find all the directories of the
- system.
-
-2000-09-01 10:43 hoffman
-
- * Source/: EXEHeader.dsptemplate, cmSystemTools.cxx: BUG: fix
- release build on windows
-
-2000-08-31 14:26 hoffman
-
- * CMakeVariables.make.in, Source/cmUnixMakefile.cxx: BUG: fix build
- of lib.a problem
-
-2000-08-31 14:15 hoffman
-
- * Source/: CMakeSetup.dsw, cmDSPMakefile.cxx, cmDSPWriter.cxx: BUG:
- fix name of command line version in dsp files
-
-2000-08-31 13:54 hoffman
-
- * CMakeSimpleRules.make, CMakeSimpleRules.make.in: BUG: fix for out
- of source build
-
-2000-08-31 13:52 hoffman
-
- * CMakeSimpleRules.make: ENH: fix for Sgi make
-
-2000-08-31 09:36 hoffman
-
- * CMakeRules.make.in, Source/Makefile.in,
- Source/cmUnixMakefile.cxx: ENH: fix for SGI make
-
-2000-08-31 06:36 hoffman
-
- * CMakeVariables.make.in, README: ENH: clean things up a bit
-
-2000-08-30 13:59 hoffman
-
- * Source/cmDirectory.cxx, Source/cmDirectory.h,
- MakefileTemplate.in: ENH: add ability to compile all the files in
- a sub-directory
-
-2000-08-30 13:35 hoffman
-
- * CMakeRules.make.in, CMakeVariables.make.in, README,
- Source/CMakeSetupCMD.dsp, Source/Makefile.in,
- Source/cmClassFile.cxx, Source/cmDSPMakefile.cxx,
- Source/cmDSPWriter.cxx, Source/cmDSWMakefile.cxx,
- Source/cmDSWWriter.cxx, Source/cmMakefile.cxx,
- Source/cmMakefile.h, Source/cmUnixMakefile.cxx: ENH: move from
- tools and create working CMake program
-
-2000-08-29 15:26 hoffman
-
- * CMakeMaster.make.in, CMakeRules.make.in, CMakeVariables.make.in,
- Source/CMakeBuildTargets.cxx, Source/CMakeSetup.cxx,
- Source/CMakeSetup.dsw, Source/CMakeSetupCMD.cxx,
- Source/CMakeSetupCMD.dsp, Source/EXEFooter.dsptemplate,
- Source/EXEHeader.dsptemplate, Source/Makefile.in,
- Source/cmClassFile.cxx, Source/cmClassFile.h,
- Source/cmDSPBuilder.cxx, Source/cmDSPBuilder.h,
- Source/cmDSPMakefile.cxx, Source/cmDSPMakefile.h,
- Source/cmDSPWriter.cxx, Source/cmDSPWriter.h,
- Source/cmDSWBuilder.cxx, Source/cmDSWBuilder.h,
- Source/cmDSWMakefile.cxx, Source/cmDSWMakefile.h,
- Source/cmDSWWriter.cxx, Source/cmDSWWriter.h,
- Source/cmMakeDepend.cxx, Source/cmMakeDepend.h,
- Source/cmMakefile.cxx, Source/cmMakefile.h,
- Source/cmPCBuilder.cxx, Source/cmPCBuilder.h,
- Source/cmRegularExpression.cxx, Source/cmRegularExpression.h,
- Source/cmSystemTools.cxx, Source/cmSystemTools.h,
- Source/cmUnixMakefile.cxx, Source/cmUnixMakefile.h,
- Source/cmWindowsConfigure.cxx, Source/cmWindowsConfigure.h,
- Source/itkVC60Configure.cxx, Source/itkVC60Configure.h,
- Source/staticLibFooter.dsptemplate,
- Source/staticLibHeader.dsptemplate, README: NEW: move from tools
- and config to create CMake
-
-2000-08-29 10:56 hoffman
-
- * CMakeMaster.make.in, CMakeRules.make.in, CMakeVariables.make.in,
- dummy.in: [no log message]
-
diff --git a/CompileFlags.cmake b/CompileFlags.cmake
index 20f5dec..24ac58d 100644
--- a/CompileFlags.cmake
+++ b/CompileFlags.cmake
@@ -66,5 +66,5 @@ endif ()
# avoid binutils problem with large binaries, e.g. when building CMake in debug mode
# See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50230
if (CMAKE_SYSTEM_NAME STREQUAL Linux AND CMAKE_SYSTEM_PROCESSOR STREQUAL parisc)
- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--unique=.text.*")
+ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--unique=.text._*")
endif ()
diff --git a/Copyright.txt b/Copyright.txt
index 83a2482..214d7de 100644
--- a/Copyright.txt
+++ b/Copyright.txt
@@ -1,5 +1,6 @@
CMake - Cross Platform Makefile Generator
-Copyright 2000-2011 Kitware, Inc., Insight Software Consortium
+Copyright 2000-2014 Kitware, Inc.
+Copyright 2000-2011 Insight Software Consortium
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/Docs/CMakeLists.txt b/Docs/CMakeLists.txt
deleted file mode 100644
index 34090d2..0000000
--- a/Docs/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-install(FILES cmake-help.vim cmake-indent.vim cmake-syntax.vim DESTINATION ${CMAKE_DATA_DIR}/editors/vim)
-install(FILES cmake-mode.el DESTINATION ${CMAKE_DATA_DIR}/editors/emacs)
-add_subdirectory (bash-completion)
diff --git a/Docs/cmake-mode.el b/Docs/cmake-mode.el
deleted file mode 100644
index 6feed94..0000000
--- a/Docs/cmake-mode.el
+++ /dev/null
@@ -1,357 +0,0 @@
-;=============================================================================
-; CMake - Cross Platform Makefile Generator
-; Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-;
-; Distributed under the OSI-approved BSD License (the "License");
-; see accompanying file Copyright.txt for details.
-;
-; This software is distributed WITHOUT ANY WARRANTY; without even the
-; implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-; See the License for more information.
-;=============================================================================
-;;; cmake-mode.el --- major-mode for editing CMake sources
-
-;------------------------------------------------------------------------------
-
-;;; Commentary:
-
-;; Provides syntax highlighting and indentation for CMakeLists.txt and
-;; *.cmake source files.
-;;
-;; Add this code to your .emacs file to use the mode:
-;;
-;; (setq load-path (cons (expand-file-name "/dir/with/cmake-mode") load-path))
-;; (require 'cmake-mode)
-;; (setq auto-mode-alist
-;; (append '(("CMakeLists\\.txt\\'" . cmake-mode)
-;; ("\\.cmake\\'" . cmake-mode))
-;; auto-mode-alist))
-
-;------------------------------------------------------------------------------
-
-;;; Code:
-;;
-;; cmake executable variable used to run cmake --help-command
-;; on commands in cmake-mode
-;;
-;; cmake-command-help Written by James Bigler
-;;
-
-(defcustom cmake-mode-cmake-executable "cmake"
- "*The name of the cmake executable.
-
-This can be either absolute or looked up in $PATH. You can also
-set the path with these commands:
- (setenv \"PATH\" (concat (getenv \"PATH\") \";C:\\\\Program Files\\\\CMake 2.8\\\\bin\"))
- (setenv \"PATH\" (concat (getenv \"PATH\") \":/usr/local/cmake/bin\"))"
- :type 'file
- :group 'cmake)
-;;
-;; Regular expressions used by line indentation function.
-;;
-(defconst cmake-regex-blank "^[ \t]*$")
-(defconst cmake-regex-comment "#.*")
-(defconst cmake-regex-paren-left "(")
-(defconst cmake-regex-paren-right ")")
-(defconst cmake-regex-argument-quoted
- "\"\\([^\"\\\\]\\|\\\\\\(.\\|\n\\)\\)*\"")
-(defconst cmake-regex-argument-unquoted
- "\\([^ \t\r\n()#\"\\\\]\\|\\\\.\\)\\([^ \t\r\n()#\\\\]\\|\\\\.\\)*")
-(defconst cmake-regex-token (concat "\\(" cmake-regex-comment
- "\\|" cmake-regex-paren-left
- "\\|" cmake-regex-paren-right
- "\\|" cmake-regex-argument-unquoted
- "\\|" cmake-regex-argument-quoted
- "\\)"))
-(defconst cmake-regex-indented (concat "^\\("
- cmake-regex-token
- "\\|" "[ \t\r\n]"
- "\\)*"))
-(defconst cmake-regex-block-open
- "^\\(if\\|macro\\|foreach\\|else\\|elseif\\|while\\|function\\)$")
-(defconst cmake-regex-block-close
- "^[ \t]*\\(endif\\|endforeach\\|endmacro\\|else\\|elseif\\|endwhile\\|endfunction\\)[ \t]*(")
-
-;------------------------------------------------------------------------------
-
-;;
-;; Helper functions for line indentation function.
-;;
-(defun cmake-line-starts-inside-string ()
- "Determine whether the beginning of the current line is in a string."
- (if (save-excursion
- (beginning-of-line)
- (let ((parse-end (point)))
- (beginning-of-buffer)
- (nth 3 (parse-partial-sexp (point) parse-end))
- )
- )
- t
- nil
- )
- )
-
-(defun cmake-find-last-indented-line ()
- "Move to the beginning of the last line that has meaningful indentation."
- (let ((point-start (point))
- region)
- (forward-line -1)
- (setq region (buffer-substring-no-properties (point) point-start))
- (while (and (not (bobp))
- (or (looking-at cmake-regex-blank)
- (cmake-line-starts-inside-string)
- (not (and (string-match cmake-regex-indented region)
- (= (length region) (match-end 0))))))
- (forward-line -1)
- (setq region (buffer-substring-no-properties (point) point-start))
- )
- )
- )
-
-;------------------------------------------------------------------------------
-
-;;
-;; Line indentation function.
-;;
-(defun cmake-indent ()
- "Indent current line as CMAKE code."
- (interactive)
- (if (cmake-line-starts-inside-string)
- ()
- (if (bobp)
- (cmake-indent-line-to 0)
- (let (cur-indent)
-
- (save-excursion
- (beginning-of-line)
-
- (let ((point-start (point))
- (case-fold-search t) ;; case-insensitive
- token)
-
- ; Search back for the last indented line.
- (cmake-find-last-indented-line)
-
- ; Start with the indentation on this line.
- (setq cur-indent (current-indentation))
-
- ; Search forward counting tokens that adjust indentation.
- (while (re-search-forward cmake-regex-token point-start t)
- (setq token (match-string 0))
- (if (string-match (concat "^" cmake-regex-paren-left "$") token)
- (setq cur-indent (+ cur-indent cmake-tab-width))
- )
- (if (string-match (concat "^" cmake-regex-paren-right "$") token)
- (setq cur-indent (- cur-indent cmake-tab-width))
- )
- (if (and
- (string-match cmake-regex-block-open token)
- (looking-at (concat "[ \t]*" cmake-regex-paren-left))
- )
- (setq cur-indent (+ cur-indent cmake-tab-width))
- )
- )
- (goto-char point-start)
-
- ; If this is the end of a block, decrease indentation.
- (if (looking-at cmake-regex-block-close)
- (setq cur-indent (- cur-indent cmake-tab-width))
- )
- )
- )
-
- ; Indent this line by the amount selected.
- (if (< cur-indent 0)
- (cmake-indent-line-to 0)
- (cmake-indent-line-to cur-indent)
- )
- )
- )
- )
- )
-
-(defun cmake-point-in-indendation ()
- (string-match "^[ \\t]*$" (buffer-substring (point-at-bol) (point))))
-
-(defun cmake-indent-line-to (column)
- "Indent the current line to COLUMN.
-If point is within the existing indentation it is moved to the end of
-the indentation. Otherwise it retains the same position on the line"
- (if (cmake-point-in-indendation)
- (indent-line-to column)
- (save-excursion (indent-line-to column))))
-
-;------------------------------------------------------------------------------
-
-;;
-;; Helper functions for buffer
-;;
-(defun unscreamify-cmake-buffer ()
- "Convert all CMake commands to lowercase in buffer."
- (interactive)
- (setq save-point (point))
- (goto-char (point-min))
- (while (re-search-forward "^\\([ \t]*\\)\\(\\w+\\)\\([ \t]*(\\)" nil t)
- (replace-match
- (concat
- (match-string 1)
- (downcase (match-string 2))
- (match-string 3))
- t))
- (goto-char save-point)
- )
-
-;------------------------------------------------------------------------------
-
-;;
-;; Keyword highlighting regex-to-face map.
-;;
-(defconst cmake-font-lock-keywords
- (list '("^[ \t]*\\(\\w+\\)[ \t]*(" 1 font-lock-function-name-face))
- "Highlighting expressions for CMAKE mode."
- )
-
-;------------------------------------------------------------------------------
-
-;;
-;; Syntax table for this mode. Initialize to nil so that it is
-;; regenerated when the cmake-mode function is called.
-;;
-(defvar cmake-mode-syntax-table nil "Syntax table for cmake-mode.")
-(setq cmake-mode-syntax-table nil)
-
-;;
-;; User hook entry point.
-;;
-(defvar cmake-mode-hook nil)
-
-;;
-;; Indentation increment.
-;;
-(defvar cmake-tab-width 2)
-
-;;
-;; Keymap.
-;;
-(defvar cmake-mode-map
- (let ((map (make-sparse-keymap)))
- (define-key map "\C-ch" 'cmake-help-command)
- (define-key map "\C-cl" 'cmake-help-list-commands)
- (define-key map "\C-cu" 'unscreamify-cmake-buffer)
- map)
- "Keymap used in cmake-mode buffers.")
-
-;------------------------------------------------------------------------------
-
-;;
-;; CMake mode startup function.
-;;
-(defun cmake-mode ()
- "Major mode for editing CMake listfiles.
-
-\\{cmake-mode-map}"
- (interactive)
- (kill-all-local-variables)
- (setq major-mode 'cmake-mode)
- (setq mode-name "CMAKE")
-
- ; Create the syntax table
- (setq cmake-mode-syntax-table (make-syntax-table))
- (set-syntax-table cmake-mode-syntax-table)
- (modify-syntax-entry ?_ "w" cmake-mode-syntax-table)
- (modify-syntax-entry ?\( "()" cmake-mode-syntax-table)
- (modify-syntax-entry ?\) ")(" cmake-mode-syntax-table)
- (modify-syntax-entry ?# "<" cmake-mode-syntax-table)
- (modify-syntax-entry ?\n ">" cmake-mode-syntax-table)
-
- ; Setup font-lock mode.
- (make-local-variable 'font-lock-defaults)
- (setq font-lock-defaults '(cmake-font-lock-keywords))
-
- ; Setup indentation function.
- (make-local-variable 'indent-line-function)
- (setq indent-line-function 'cmake-indent)
-
- ; Setup comment syntax.
- (make-local-variable 'comment-start)
- (setq comment-start "#")
-
- ; Setup keymap.
- (use-local-map cmake-mode-map)
-
- ; Run user hooks.
- (run-hooks 'cmake-mode-hook))
-
-; Help mode starts here
-
-
-(defun cmake-command-run (type &optional topic)
- "Runs the command cmake with the arguments specified. The
-optional argument topic will be appended to the argument list."
- (interactive "s")
- (let* ((bufname (concat "*CMake" type (if topic "-") topic "*"))
- (buffer (get-buffer bufname))
- )
- (if buffer
- (display-buffer buffer 'not-this-window)
- ;; Buffer doesn't exist. Create it and fill it
- (setq buffer (generate-new-buffer bufname))
- (setq command (concat cmake-mode-cmake-executable " " type " " topic))
- (message "Running %s" command)
- ;; We don't want the contents of the shell-command running to the
- ;; minibuffer, so turn it off. A value of nil means don't automatically
- ;; resize mini-windows.
- (setq resize-mini-windows-save resize-mini-windows)
- (setq resize-mini-windows nil)
- (shell-command command buffer)
- ;; Save the original window, so that we can come back to it later.
- ;; save-excursion doesn't seem to work for this.
- (setq window (selected-window))
- ;; We need to select it so that we can apply special modes to it
- (select-window (display-buffer buffer 'not-this-window))
- (cmake-mode)
- (toggle-read-only t)
- ;; Restore the original window
- (select-window window)
- (setq resize-mini-windows resize-mini-windows-save)
- )
- )
- )
-
-(defun cmake-help-list-commands ()
- "Prints out a list of the cmake commands."
- (interactive)
- (cmake-command-run "--help-command-list")
- )
-
-(defvar cmake-help-command-history nil "Topic read history.")
-
-(require 'thingatpt)
-(defun cmake-get-topic (type)
- "Gets the topic from the minibuffer input. The default is the word the cursor is on."
- (interactive)
- (let* ((default-entry (word-at-point))
- (input (read-string
- (format "CMake %s (default %s): " type default-entry) ; prompt
- nil ; initial input
- 'cmake-help-command-history ; command history
- default-entry ; default-value
- )))
- (if (string= input "")
- (error "No argument given")
- input))
- )
-
-
-(defun cmake-help-command ()
- "Prints out the help message corresponding to the command the cursor is on."
- (interactive)
- (setq command (cmake-get-topic "command"))
- (cmake-command-run "--help-command" (downcase command))
- )
-
-
-; This file provides cmake-mode.
-(provide 'cmake-mode)
-
-;;; cmake-mode.el ends here
diff --git a/Example/CMakeLists.txt b/Example/CMakeLists.txt
deleted file mode 100644
index 8ee7d72..0000000
--- a/Example/CMakeLists.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-# The name of our project is "HELLO". CMakeLists files in this project can
-# refer to the root source directory of the project as ${HELLO_SOURCE_DIR} and
-# to the root binary directory of the project as ${HELLO_BINARY_DIR}.
-project (HELLO)
-
-# Recurse into the "Hello" and "Demo" subdirectories. This does not actually
-# cause another cmake executable to run. The same process will walk through
-# the project's entire directory structure.
-add_subdirectory (Hello)
-add_subdirectory (Demo)
diff --git a/Example/Demo/CMakeLists.txt b/Example/Demo/CMakeLists.txt
deleted file mode 100644
index 477700f..0000000
--- a/Example/Demo/CMakeLists.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-# Make sure the compiler can find include files from our Hello library.
-include_directories (${HELLO_SOURCE_DIR}/Hello)
-
-# Make sure the linker can find the Hello library once it is built.
-link_directories (${HELLO_BINARY_DIR}/Hello)
-
-# Add executable called "helloDemo" that is built from the source files
-# "demo.cxx" and "demo_b.cxx". The extensions are automatically found.
-add_executable (helloDemo demo.cxx demo_b.cxx)
-
-# Link the executable to the Hello library.
-target_link_libraries (helloDemo Hello)
diff --git a/Example/Demo/demo.cxx b/Example/Demo/demo.cxx
deleted file mode 100644
index 815c814..0000000
--- a/Example/Demo/demo.cxx
+++ /dev/null
@@ -1,10 +0,0 @@
-#include "hello.h"
-
-extern Hello hello;
-
-int main()
-{
- hello.Print();
-
- return 0;
-}
diff --git a/Example/Demo/demo_b.cxx b/Example/Demo/demo_b.cxx
deleted file mode 100644
index 08a2329..0000000
--- a/Example/Demo/demo_b.cxx
+++ /dev/null
@@ -1,3 +0,0 @@
-#include "hello.h"
-
-Hello hello;
diff --git a/Example/Hello/CMakeLists.txt b/Example/Hello/CMakeLists.txt
deleted file mode 100644
index 879f4e5..0000000
--- a/Example/Hello/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-# Create a library called "Hello" which includes the source file "hello.cxx".
-# The extension is already found. Any number of sources could be listed here.
-add_library (Hello hello.cxx)
diff --git a/Example/Hello/hello.cxx b/Example/Hello/hello.cxx
deleted file mode 100644
index 7107cc5..0000000
--- a/Example/Hello/hello.cxx
+++ /dev/null
@@ -1,7 +0,0 @@
-#include "hello.h"
-#include <stdio.h>
-
-void Hello::Print()
-{
- printf("Hello, World!\n");
-}
diff --git a/Example/Hello/hello.h b/Example/Hello/hello.h
deleted file mode 100644
index b17d683..0000000
--- a/Example/Hello/hello.h
+++ /dev/null
@@ -1,11 +0,0 @@
-#ifndef _hello_h
-#define _hello_h
-
-
-class Hello
-{
-public:
- void Print();
-};
-
-#endif
diff --git a/Help/command/FIND_XXX.txt b/Help/command/FIND_XXX.txt
new file mode 100644
index 0000000..5889e90
--- /dev/null
+++ b/Help/command/FIND_XXX.txt
@@ -0,0 +1,101 @@
+A short-hand signature is:
+
+.. parsed-literal::
+
+ |FIND_XXX| (<VAR> name1 [path1 path2 ...])
+
+The general signature is:
+
+.. parsed-literal::
+
+ |FIND_XXX| (
+ <VAR>
+ name | |NAMES|
+ [HINTS path1 [path2 ... ENV var]]
+ [PATHS path1 [path2 ... ENV var]]
+ [PATH_SUFFIXES suffix1 [suffix2 ...]]
+ [DOC "cache documentation string"]
+ [NO_DEFAULT_PATH]
+ [NO_CMAKE_ENVIRONMENT_PATH]
+ [NO_CMAKE_PATH]
+ [NO_SYSTEM_ENVIRONMENT_PATH]
+ [NO_CMAKE_SYSTEM_PATH]
+ [CMAKE_FIND_ROOT_PATH_BOTH |
+ ONLY_CMAKE_FIND_ROOT_PATH |
+ NO_CMAKE_FIND_ROOT_PATH]
+ )
+
+This command is used to find a |SEARCH_XXX_DESC|.
+A cache entry named by ``<VAR>`` is created to store the result
+of this command.
+If the |SEARCH_XXX| is found the result is stored in the variable
+and the search will not be repeated unless the variable is cleared.
+If nothing is found, the result will be
+``<VAR>-NOTFOUND``, and the search will be attempted again the
+next time |FIND_XXX| is invoked with the same variable.
+The name of the |SEARCH_XXX| that
+is searched for is specified by the names listed
+after the NAMES argument. Additional search locations
+can be specified after the PATHS argument. If ENV var is
+found in the HINTS or PATHS section the environment variable var
+will be read and converted from a system environment variable to
+a cmake style list of paths. For example ENV PATH would be a way
+to list the system path variable. The argument
+after DOC will be used for the documentation string in
+the cache.
+PATH_SUFFIXES specifies additional subdirectories to check below
+each search path.
+
+If NO_DEFAULT_PATH is specified, then no additional paths are
+added to the search.
+If NO_DEFAULT_PATH is not specified, the search process is as follows:
+
+.. |CMAKE_PREFIX_PATH_XXX_SUBDIR| replace::
+ <prefix>/|XXX_SUBDIR| for each <prefix> in CMAKE_PREFIX_PATH
+
+.. |CMAKE_SYSTEM_PREFIX_PATH_XXX_SUBDIR| replace::
+ <prefix>/|XXX_SUBDIR| for each <prefix> in CMAKE_SYSTEM_PREFIX_PATH
+
+1. Search paths specified in cmake-specific cache variables.
+ These are intended to be used on the command line with a -DVAR=value.
+ This can be skipped if NO_CMAKE_PATH is passed.
+
+ * |CMAKE_PREFIX_PATH_XXX|
+ * |CMAKE_XXX_PATH|
+ * |CMAKE_XXX_MAC_PATH|
+
+2. Search paths specified in cmake-specific environment variables.
+ These are intended to be set in the user's shell configuration.
+ This can be skipped if NO_CMAKE_ENVIRONMENT_PATH is passed.
+
+ * |CMAKE_PREFIX_PATH_XXX|
+ * |CMAKE_XXX_PATH|
+ * |CMAKE_XXX_MAC_PATH|
+
+3. Search the paths specified by the HINTS option.
+ These should be paths computed by system introspection, such as a
+ hint provided by the location of another item already found.
+ Hard-coded guesses should be specified with the PATHS option.
+
+4. Search the standard system environment variables.
+ This can be skipped if NO_SYSTEM_ENVIRONMENT_PATH is an argument.
+
+ * |SYSTEM_ENVIRONMENT_PATH_XXX|
+
+5. Search cmake variables defined in the Platform files
+ for the current system. This can be skipped if NO_CMAKE_SYSTEM_PATH
+ is passed.
+
+ * |CMAKE_SYSTEM_PREFIX_PATH_XXX|
+ * |CMAKE_SYSTEM_XXX_PATH|
+ * |CMAKE_SYSTEM_XXX_MAC_PATH|
+
+6. Search the paths specified by the PATHS option
+ or in the short-hand version of the command.
+ These are typically hard-coded guesses.
+
+.. |FIND_ARGS_XXX| replace:: <VAR> NAMES name
+
+.. include:: FIND_XXX_MAC.txt
+.. include:: FIND_XXX_ROOT.txt
+.. include:: FIND_XXX_ORDER.txt
diff --git a/Help/command/FIND_XXX_MAC.txt b/Help/command/FIND_XXX_MAC.txt
new file mode 100644
index 0000000..eb3900c
--- /dev/null
+++ b/Help/command/FIND_XXX_MAC.txt
@@ -0,0 +1,24 @@
+On Darwin or systems supporting OS X Frameworks, the cmake variable
+CMAKE_FIND_FRAMEWORK can be set to empty or one of the following:
+
+* FIRST: Try to find frameworks before standard libraries or headers.
+ This is the default on Darwin.
+
+* LAST: Try to find frameworks after standard libraries or headers.
+
+* ONLY: Only try to find frameworks.
+
+* NEVER: Never try to find frameworks.
+
+On Darwin or systems supporting OS X Application Bundles, the cmake
+variable CMAKE_FIND_APPBUNDLE can be set to empty or one of the
+following:
+
+* FIRST: Try to find application bundles before standard programs.
+ This is the default on Darwin.
+
+* LAST: Try to find application bundles after standard programs.
+
+* ONLY: Only try to find application bundles.
+
+* NEVER: Never try to find application bundles.
diff --git a/Help/command/FIND_XXX_ORDER.txt b/Help/command/FIND_XXX_ORDER.txt
new file mode 100644
index 0000000..bac2419
--- /dev/null
+++ b/Help/command/FIND_XXX_ORDER.txt
@@ -0,0 +1,12 @@
+The default search order is designed to be most-specific to
+least-specific for common use cases.
+Projects may override the order by simply calling the command
+multiple times and using the ``NO_*`` options:
+
+.. parsed-literal::
+
+ |FIND_XXX| (|FIND_ARGS_XXX| PATHS paths... NO_DEFAULT_PATH)
+ |FIND_XXX| (|FIND_ARGS_XXX|)
+
+Once one of the calls succeeds the result variable will be set
+and stored in the cache so that no call will search again.
diff --git a/Help/command/FIND_XXX_ROOT.txt b/Help/command/FIND_XXX_ROOT.txt
new file mode 100644
index 0000000..b5cab68
--- /dev/null
+++ b/Help/command/FIND_XXX_ROOT.txt
@@ -0,0 +1,23 @@
+The CMake variable :variable:`CMAKE_FIND_ROOT_PATH` specifies one or more
+directories to be prepended to all other search directories. This
+effectively "re-roots" the entire search under given locations.
+Paths which are descendants of the :variable:`CMAKE_STAGING_PREFIX` are excluded
+from this re-rooting, because that variable is always a path on the host system.
+By default the :variable:`CMAKE_FIND_ROOT_PATH` is empty.
+
+The :variable:`CMAKE_SYSROOT` variable can also be used to specify exactly one
+directory to use as a prefix. Setting :variable:`CMAKE_SYSROOT` also has other
+effects. See the documentation for that variable for more.
+
+These variables are especially useful when cross-compiling to
+point to the root directory of the target environment and CMake will
+search there too. By default at first the directories listed in
+:variable:`CMAKE_FIND_ROOT_PATH` are searched, then the :variable:`CMAKE_SYSROOT`
+directory is searched, and then the non-rooted directories will be
+searched. The default behavior can be adjusted by setting
+|CMAKE_FIND_ROOT_PATH_MODE_XXX|. This behavior can be manually
+overridden on a per-call basis. By using CMAKE_FIND_ROOT_PATH_BOTH
+the search order will be as described above. If
+NO_CMAKE_FIND_ROOT_PATH is used then :variable:`CMAKE_FIND_ROOT_PATH` will not be
+used. If ONLY_CMAKE_FIND_ROOT_PATH is used then only the re-rooted
+directories and directories below :variable:`CMAKE_STAGING_PREFIX` will be searched.
diff --git a/Help/command/add_compile_options.rst b/Help/command/add_compile_options.rst
new file mode 100644
index 0000000..5d71e11
--- /dev/null
+++ b/Help/command/add_compile_options.rst
@@ -0,0 +1,22 @@
+add_compile_options
+-------------------
+
+Adds options to the compilation of source files.
+
+::
+
+ add_compile_options(<option> ...)
+
+Adds options to the compiler command line for sources in the current
+directory and below. This command can be used to add any options, but
+alternative commands exist to add preprocessor definitions
+(:command:`target_compile_definitions` and :command:`add_definitions`) or
+include directories (:command:`target_include_directories` and
+:command:`include_directories`). See documentation of the
+:prop_tgt:`directory <COMPILE_OPTIONS>` and
+:prop_tgt:` target <COMPILE_OPTIONS>` ``COMPILE_OPTIONS`` properties.
+
+Arguments to ``add_compile_options`` may use "generator expressions" with
+the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
+manual for available expressions. See the :manual:`cmake-buildsystem(7)`
+manual for more on defining buildsystem properties.
diff --git a/Help/command/add_custom_command.rst b/Help/command/add_custom_command.rst
new file mode 100644
index 0000000..b0c5446
--- /dev/null
+++ b/Help/command/add_custom_command.rst
@@ -0,0 +1,158 @@
+add_custom_command
+------------------
+
+Add a custom build rule to the generated build system.
+
+There are two main signatures for add_custom_command The first
+signature is for adding a custom command to produce an output.
+
+::
+
+ add_custom_command(OUTPUT output1 [output2 ...]
+ COMMAND command1 [ARGS] [args1...]
+ [COMMAND command2 [ARGS] [args2...] ...]
+ [MAIN_DEPENDENCY depend]
+ [DEPENDS [depends...]]
+ [IMPLICIT_DEPENDS <lang1> depend1
+ [<lang2> depend2] ...]
+ [WORKING_DIRECTORY dir]
+ [COMMENT comment] [VERBATIM] [APPEND])
+
+This defines a command to generate specified OUTPUT file(s). A target
+created in the same directory (CMakeLists.txt file) that specifies any
+output of the custom command as a source file is given a rule to
+generate the file using the command at build time. Do not list the
+output in more than one independent target that may build in parallel
+or the two instances of the rule may conflict (instead use
+add_custom_target to drive the command and make the other targets
+depend on that one). If an output name is a relative path it will be
+interpreted relative to the build tree directory corresponding to the
+current source directory. Note that MAIN_DEPENDENCY is completely
+optional and is used as a suggestion to visual studio about where to
+hang the custom command. In makefile terms this creates a new target
+in the following form:
+
+::
+
+ OUTPUT: MAIN_DEPENDENCY DEPENDS
+ COMMAND
+
+If more than one command is specified they will be executed in order.
+The optional ARGS argument is for backward compatibility and will be
+ignored.
+
+The second signature adds a custom command to a target such as a
+library or executable. This is useful for performing an operation
+before or after building the target. The command becomes part of the
+target and will only execute when the target itself is built. If the
+target is already built, the command will not execute.
+
+::
+
+ add_custom_command(TARGET target
+ PRE_BUILD | PRE_LINK | POST_BUILD
+ COMMAND command1 [ARGS] [args1...]
+ [COMMAND command2 [ARGS] [args2...] ...]
+ [WORKING_DIRECTORY dir]
+ [COMMENT comment] [VERBATIM])
+
+This defines a new command that will be associated with building the
+specified target. When the command will happen is determined by which
+of the following is specified:
+
+::
+
+ PRE_BUILD - run before all other dependencies
+ PRE_LINK - run after other dependencies
+ POST_BUILD - run after the target has been built
+
+Note that the PRE_BUILD option is only supported on Visual Studio 7 or
+later. For all other generators PRE_BUILD will be treated as
+PRE_LINK.
+
+If WORKING_DIRECTORY is specified the command will be executed in the
+directory given. If it is a relative path it will be interpreted
+relative to the build tree directory corresponding to the current
+source directory. If COMMENT is set, the value will be displayed as a
+message before the commands are executed at build time. If APPEND is
+specified the COMMAND and DEPENDS option values are appended to the
+custom command for the first output specified. There must have
+already been a previous call to this command with the same output.
+The COMMENT, WORKING_DIRECTORY, and MAIN_DEPENDENCY options are
+currently ignored when APPEND is given, but may be used in the future.
+
+If VERBATIM is given then all arguments to the commands will be
+escaped properly for the build tool so that the invoked command
+receives each argument unchanged. Note that one level of escapes is
+still used by the CMake language processor before add_custom_command
+even sees the arguments. Use of VERBATIM is recommended as it enables
+correct behavior. When VERBATIM is not given the behavior is platform
+specific because there is no protection of tool-specific special
+characters.
+
+If the output of the custom command is not actually created as a file
+on disk it should be marked as SYMBOLIC with
+SET_SOURCE_FILES_PROPERTIES.
+
+The IMPLICIT_DEPENDS option requests scanning of implicit dependencies
+of an input file. The language given specifies the programming
+language whose corresponding dependency scanner should be used.
+Currently only C and CXX language scanners are supported. The
+language has to be specified for every file in the IMPLICIT_DEPENDS
+list. Dependencies discovered from the scanning are added to those of
+the custom command at build time. Note that the IMPLICIT_DEPENDS
+option is currently supported only for Makefile generators and will be
+ignored by other generators.
+
+If COMMAND specifies an executable target (created by ADD_EXECUTABLE)
+it will automatically be replaced by the location of the executable
+created at build time. Additionally a target-level dependency will be
+added so that the executable target will be built before any target
+using this custom command. However this does NOT add a file-level
+dependency that would cause the custom command to re-run whenever the
+executable is recompiled.
+
+Arguments to COMMAND may use "generator expressions" with the syntax
+``$<...>``. See the :manual:`cmake-generator-expressions(7)` manual for
+available expressions.
+
+Note that tgt is not added as a dependency of the target this
+expression is evaluated on.
+
+::
+
+ $<TARGET_POLICY:pol> = '1' if the policy was NEW when the 'head' target was created, else '0'. If the policy was not set, the warning message for the policy will be emitted. This generator expression only works for a subset of policies.
+ $<INSTALL_PREFIX> = Content of the install prefix when the target is exported via INSTALL(EXPORT) and empty otherwise.
+
+Boolean expressions:
+
+::
+
+ $<AND:?[,?]...> = '1' if all '?' are '1', else '0'
+ $<OR:?[,?]...> = '0' if all '?' are '0', else '1'
+ $<NOT:?> = '0' if '?' is '1', else '1'
+
+where '?' is always either '0' or '1'.
+
+Expressions with an implicit 'this' target:
+
+::
+
+ $<TARGET_PROPERTY:prop> = The value of the property prop on the target on which the generator expression is evaluated.
+
+References to target names in generator expressions imply target-level
+dependencies, but NOT file-level dependencies. List target names with
+the DEPENDS option to add file dependencies.
+
+The DEPENDS option specifies files on which the command depends. If
+any dependency is an OUTPUT of another custom command in the same
+directory (CMakeLists.txt file) CMake automatically brings the other
+custom command into the target in which this command is built. If
+DEPENDS is not specified the command will run whenever the OUTPUT is
+missing; if the command does not actually create the OUTPUT then the
+rule will always run. If DEPENDS specifies any target (created by an
+ADD_* command) a target-level dependency is created to make sure the
+target is built before any target using this custom command.
+Additionally, if the target is an executable or library a file-level
+dependency is created to cause the custom command to re-run whenever
+the target is recompiled.
diff --git a/Help/command/add_custom_target.rst b/Help/command/add_custom_target.rst
new file mode 100644
index 0000000..1bf70bf
--- /dev/null
+++ b/Help/command/add_custom_target.rst
@@ -0,0 +1,45 @@
+add_custom_target
+-----------------
+
+Add a target with no output so it will always be built.
+
+::
+
+ add_custom_target(Name [ALL] [command1 [args1...]]
+ [COMMAND command2 [args2...] ...]
+ [DEPENDS depend depend depend ... ]
+ [WORKING_DIRECTORY dir]
+ [COMMENT comment] [VERBATIM]
+ [SOURCES src1 [src2...]])
+
+Adds a target with the given name that executes the given commands.
+The target has no output file and is ALWAYS CONSIDERED OUT OF DATE
+even if the commands try to create a file with the name of the target.
+Use ADD_CUSTOM_COMMAND to generate a file with dependencies. By
+default nothing depends on the custom target. Use ADD_DEPENDENCIES to
+add dependencies to or from other targets. If the ALL option is
+specified it indicates that this target should be added to the default
+build target so that it will be run every time (the command cannot be
+called ALL). The command and arguments are optional and if not
+specified an empty target will be created. If WORKING_DIRECTORY is
+set, then the command will be run in that directory. If it is a
+relative path it will be interpreted relative to the build tree
+directory corresponding to the current source directory. If COMMENT
+is set, the value will be displayed as a message before the commands
+are executed at build time. Dependencies listed with the DEPENDS
+argument may reference files and outputs of custom commands created
+with add_custom_command() in the same directory (CMakeLists.txt file).
+
+If VERBATIM is given then all arguments to the commands will be
+escaped properly for the build tool so that the invoked command
+receives each argument unchanged. Note that one level of escapes is
+still used by the CMake language processor before add_custom_target
+even sees the arguments. Use of VERBATIM is recommended as it enables
+correct behavior. When VERBATIM is not given the behavior is platform
+specific because there is no protection of tool-specific special
+characters.
+
+The SOURCES option specifies additional source files to be included in
+the custom target. Specified source files will be added to IDE
+project files for convenience in editing even if they have not build
+rules.
diff --git a/Help/command/add_definitions.rst b/Help/command/add_definitions.rst
new file mode 100644
index 0000000..2965c37
--- /dev/null
+++ b/Help/command/add_definitions.rst
@@ -0,0 +1,25 @@
+add_definitions
+---------------
+
+Adds -D define flags to the compilation of source files.
+
+::
+
+ add_definitions(-DFOO -DBAR ...)
+
+Adds definitions to the compiler command line for sources in the current
+directory and below. This command can be used to add any flags, but
+it is intended to add preprocessor definitions. Flags
+beginning in -D or /D that look like preprocessor definitions are
+automatically added to the :prop_dir:`COMPILE_DEFINITIONS` directory
+property for the current directory. Definitions with non-trivial values
+may be left in the set of flags instead of being converted for reasons of
+backwards compatibility. See documentation of the
+:prop_dir:`directory <COMPILE_DEFINITIONS>`,
+:prop_tgt:`target <COMPILE_DEFINITIONS>`,
+:prop_sf:`source file <COMPILE_DEFINITIONS>` ``COMPILE_DEFINITIONS``
+properties for details on adding preprocessor definitions to specific
+scopes and configurations.
+
+See the :manual:`cmake-buildsystem(7)` manual for more on defining
+buildsystem properties.
diff --git a/Help/command/add_dependencies.rst b/Help/command/add_dependencies.rst
new file mode 100644
index 0000000..10997ec
--- /dev/null
+++ b/Help/command/add_dependencies.rst
@@ -0,0 +1,19 @@
+add_dependencies
+----------------
+
+Add a dependency between top-level targets.
+
+::
+
+ add_dependencies(<target> [<target-dependency>]...)
+
+Make a top-level <target> depend on other top-level targets to ensure
+that they build before <target> does. A top-level target is one
+created by ADD_EXECUTABLE, ADD_LIBRARY, or ADD_CUSTOM_TARGET.
+Dependencies added to an IMPORTED target are followed transitively in
+its place since the target itself does not build.
+
+See the DEPENDS option of ADD_CUSTOM_TARGET and ADD_CUSTOM_COMMAND for
+adding file-level dependencies in custom rules. See the
+OBJECT_DEPENDS option in SET_SOURCE_FILES_PROPERTIES to add file-level
+dependencies to object files.
diff --git a/Help/command/add_executable.rst b/Help/command/add_executable.rst
new file mode 100644
index 0000000..231eeed
--- /dev/null
+++ b/Help/command/add_executable.rst
@@ -0,0 +1,77 @@
+add_executable
+--------------
+
+Add an executable to the project using the specified source files.
+
+::
+
+ add_executable(<name> [WIN32] [MACOSX_BUNDLE]
+ [EXCLUDE_FROM_ALL]
+ source1 [source2 ...])
+
+Adds an executable target called ``<name>`` to be built from the source
+files listed in the command invocation. The ``<name>`` corresponds to the
+logical target name and must be globally unique within a project. The
+actual file name of the executable built is constructed based on
+conventions of the native platform (such as ``<name>.exe`` or just
+``<name>``.
+
+By default the executable file will be created in the build tree
+directory corresponding to the source tree directory in which the
+command was invoked. See documentation of the
+:prop_tgt:`RUNTIME_OUTPUT_DIRECTORY` target property to change this
+location. See documentation of the :prop_tgt:`OUTPUT_NAME` target property
+to change the ``<name>`` part of the final file name.
+
+If ``WIN32`` is given the property :prop_tgt:`WIN32_EXECUTABLE` will be
+set on the target created. See documentation of that target property for
+details.
+
+If ``MACOSX_BUNDLE`` is given the corresponding property will be set on
+the created target. See documentation of the :prop_tgt:`MACOSX_BUNDLE`
+target property for details.
+
+If ``EXCLUDE_FROM_ALL`` is given the corresponding property will be set on
+the created target. See documentation of the :prop_tgt:`EXCLUDE_FROM_ALL`
+target property for details.
+
+See the :manual:`cmake-buildsystem(7)` manual for more on defining
+buildsystem properties.
+
+--------------------------------------------------------------------------
+
+::
+
+ add_executable(<name> IMPORTED [GLOBAL])
+
+An :ref:`IMPORTED executable target <Imported Targets>` references an
+executable file located outside the project. No rules are generated to
+build it, and the :prop_tgt:`IMPORTED` target property is ``True``. The
+target name has scope in the directory in which it is created and below, but
+the ``GLOBAL`` option extends visibility. It may be referenced like any
+target built within the project. ``IMPORTED`` executables are useful
+for convenient reference from commands like :command:`add_custom_command`.
+Details about the imported executable are specified by setting properties
+whose names begin in ``IMPORTED_``. The most important such property is
+:prop_tgt:`IMPORTED_LOCATION` (and its per-configuration version
+:prop_tgt:`IMPORTED_LOCATION_<CONFIG>`) which specifies the location of
+the main executable file on disk. See documentation of the ``IMPORTED_*``
+properties for more information.
+
+--------------------------------------------------------------------------
+
+::
+
+ add_executable(<name> ALIAS <target>)
+
+Creates an :ref:`Alias Target <Alias Targets>`, such that ``<name>`` can
+be used to refer to ``<target>`` in subsequent commands. The ``<name>``
+does not appear in the generated buildsystem as a make target. The
+``<target>`` may not be an :ref:`Imported Target <Imported Targets>` or an
+``ALIAS``. ``ALIAS`` targets can be used as targets to read properties
+from, executables for custom commands and custom targets. They can also be
+tested for existance with the regular :command:`if(TARGET)` subcommand.
+The ``<name>`` may not be used to modify properties of ``<target>``, that
+is, it may not be used as the operand of :command:`set_property`,
+:command:`set_target_properties`, :command:`target_link_libraries` etc.
+An ``ALIAS`` target may not be installed or exported.
diff --git a/Help/command/add_library.rst b/Help/command/add_library.rst
new file mode 100644
index 0000000..0944269
--- /dev/null
+++ b/Help/command/add_library.rst
@@ -0,0 +1,136 @@
+add_library
+-----------
+
+Add a library to the project using the specified source files.
+
+::
+
+ add_library(<name> [STATIC | SHARED | MODULE]
+ [EXCLUDE_FROM_ALL]
+ source1 [source2 ...])
+
+Adds a library target called ``<name>`` to be built from the source files
+listed in the command invocation. The ``<name>`` corresponds to the
+logical target name and must be globally unique within a project. The
+actual file name of the library built is constructed based on
+conventions of the native platform (such as ``lib<name>.a`` or
+``<name>.lib``).
+
+``STATIC``, ``SHARED``, or ``MODULE`` may be given to specify the type of
+library to be created. ``STATIC`` libraries are archives of object files
+for use when linking other targets. ``SHARED`` libraries are linked
+dynamically and loaded at runtime. ``MODULE`` libraries are plugins that
+are not linked into other targets but may be loaded dynamically at runtime
+using dlopen-like functionality. If no type is given explicitly the
+type is ``STATIC`` or ``SHARED`` based on whether the current value of the
+variable :variable:`BUILD_SHARED_LIBS` is ``ON``. For ``SHARED`` and
+``MODULE`` libraries the :prop_tgt:`POSITION_INDEPENDENT_CODE` target
+property is set to ``ON`` automatically.
+
+By default the library file will be created in the build tree directory
+corresponding to the source tree directory in which thecommand was
+invoked. See documentation of the :prop_tgt:`ARCHIVE_OUTPUT_DIRECTORY`,
+:prop_tgt:`LIBRARY_OUTPUT_DIRECTORY`, and
+:prop_tgt:`RUNTIME_OUTPUT_DIRECTORY` target properties to change this
+location. See documentation of the :prop_tgt:`OUTPUT_NAME` target
+property to change the ``<name>`` part of the final file name.
+
+If ``EXCLUDE_FROM_ALL`` is given the corresponding property will be set on
+the created target. See documentation of the :prop_tgt:`EXCLUDE_FROM_ALL`
+target property for details.
+
+See the :manual:`cmake-buildsystem(7)` manual for more on defining buildsystem
+properties.
+
+--------------------------------------------------------------------------
+
+::
+
+ add_library(<name> <SHARED|STATIC|MODULE|UNKNOWN> IMPORTED
+ [GLOBAL])
+
+An :ref:`IMPORTED library target <Imported Targets>` references a library
+file located outside the project. No rules are generated to build it, and
+the :prop_tgt:`IMPORTED` target property is ``True``. The target name has
+scope in the directory in which it is created and below, but the ``GLOBAL``
+option extends visibility. It may be referenced like any target built
+within the project. ``IMPORTED`` libraries are useful for convenient
+reference from commands like :command:`target_link_libraries`. Details
+about the imported library are specified by setting properties whose names
+begin in ``IMPORTED_`` and ``INTERFACE_``. The most important such
+property is :prop_tgt:`IMPORTED_LOCATION` (and its per-configuration
+variant :prop_tgt:`IMPORTED_LOCATION_<CONFIG>`) which specifies the
+location of the main library file on disk. See documentation of the
+``IMPORTED_*`` and ``INTERFACE_*`` properties for more information.
+
+--------------------------------------------------------------------------
+
+::
+
+ add_library(<name> OBJECT <src>...)
+
+Creates a special "object library" target. An object library compiles
+source files but does not archive or link their object files into a
+library. Instead other targets created by :command:`add_library` or
+:command:`add_executable` may reference the objects using an expression of the
+form ``$<TARGET_OBJECTS:objlib>`` as a source, where ``objlib`` is the
+object library name. For example:
+
+.. code-block:: cmake
+
+ add_library(... $<TARGET_OBJECTS:objlib> ...)
+ add_executable(... $<TARGET_OBJECTS:objlib> ...)
+
+will include objlib's object files in a library and an executable
+along with those compiled from their own sources. Object libraries
+may contain only sources (and headers) that compile to object files.
+They may contain custom commands generating such sources, but not
+``PRE_BUILD``, ``PRE_LINK``, or ``POST_BUILD`` commands. Object libraries
+cannot be imported, exported, installed, or linked. Some native build
+systems may not like targets that have only object files, so consider
+adding at least one real source file to any target that references
+``$<TARGET_OBJECTS:objlib>``.
+
+--------------------------------------------------------------------------
+
+::
+
+ add_library(<name> ALIAS <target>)
+
+Creates an :ref:`Alias Target <Alias Targets>`, such that ``<name>`` can be
+used to refer to ``<target>`` in subsequent commands. The ``<name>`` does
+not appear in the generatedbuildsystem as a make target. The ``<target>``
+may not be an :ref:`Imported Target <Imported Targets>` or an ``ALIAS``.
+``ALIAS`` targets can be used as linkable targets and as targets to
+read properties from. They can also be tested for existance with the
+regular :command:`if(TARGET)` subcommand. The ``<name>`` may not be used
+to modify properties of ``<target>``, that is, it may not be used as the
+operand of :command:`set_property`, :command:`set_target_properties`,
+:command:`target_link_libraries` etc. An ``ALIAS`` target may not be
+installed or exported.
+
+--------------------------------------------------------------------------
+
+::
+
+ add_library(<name> INTERFACE [IMPORTED [GLOBAL]])
+
+Creates an :ref:`Interface Library <Interface Libraries>`. An ``INTERFACE``
+library target does not directly create build output, though it may
+have properties set on it and it may be installed, exported and
+imported. Typically the ``INTERFACE_*`` properties are populated on
+the interface target using the :command:`set_property`,
+:command:`target_link_libraries(INTERFACE)`,
+:command:`target_include_directories(INTERFACE)`,
+:command:`target_compile_options(INTERFACE)`
+and :command:`target_compile_definitions(INTERFACE)` commands, and then it
+is used as an argument to :command:`target_link_libraries` like any other
+target.
+
+An ``INTERFACE`` :ref:`Imported Target <Imported Targets>` may also be
+created with this signature. An ``IMPORTED`` library target references a
+library defined outside the project. The target name has scope in the
+directory in which it is created and below, but the ``GLOBAL`` option
+extends visibility. It may be referenced like any target built within
+the project. ``IMPORTED`` libraries are useful for convenient reference
+from commands like :command:`target_link_libraries`.
diff --git a/Help/command/add_subdirectory.rst b/Help/command/add_subdirectory.rst
new file mode 100644
index 0000000..29b5017
--- /dev/null
+++ b/Help/command/add_subdirectory.rst
@@ -0,0 +1,36 @@
+add_subdirectory
+----------------
+
+Add a subdirectory to the build.
+
+::
+
+ add_subdirectory(source_dir [binary_dir]
+ [EXCLUDE_FROM_ALL])
+
+Add a subdirectory to the build. The source_dir specifies the
+directory in which the source CMakeLists.txt and code files are
+located. If it is a relative path it will be evaluated with respect
+to the current directory (the typical usage), but it may also be an
+absolute path. The binary_dir specifies the directory in which to
+place the output files. If it is a relative path it will be evaluated
+with respect to the current output directory, but it may also be an
+absolute path. If binary_dir is not specified, the value of
+source_dir, before expanding any relative path, will be used (the
+typical usage). The CMakeLists.txt file in the specified source
+directory will be processed immediately by CMake before processing in
+the current input file continues beyond this command.
+
+If the EXCLUDE_FROM_ALL argument is provided then targets in the
+subdirectory will not be included in the ALL target of the parent
+directory by default, and will be excluded from IDE project files.
+Users must explicitly build targets in the subdirectory. This is
+meant for use when the subdirectory contains a separate part of the
+project that is useful but not necessary, such as a set of examples.
+Typically the subdirectory should contain its own project() command
+invocation so that a full build system will be generated in the
+subdirectory (such as a VS IDE solution file). Note that inter-target
+dependencies supercede this exclusion. If a target built by the
+parent project depends on a target in the subdirectory, the dependee
+target will be included in the parent project build system to satisfy
+the dependency.
diff --git a/Help/command/add_test.rst b/Help/command/add_test.rst
new file mode 100644
index 0000000..7e7e6bd
--- /dev/null
+++ b/Help/command/add_test.rst
@@ -0,0 +1,59 @@
+add_test
+--------
+
+Add a test to the project to be run by :manual:`ctest(1)`.
+
+::
+
+ add_test(NAME <name> COMMAND <command> [<arg>...]
+ [CONFIGURATIONS <config>...]
+ [WORKING_DIRECTORY <dir>])
+
+Add a test called ``<name>``. The test name may not contain spaces,
+quotes, or other characters special in CMake syntax. The options are:
+
+``COMMAND``
+ Specify the test command-line. If ``<command>`` specifies an
+ executable target (created by :command:`add_executable`) it will
+ automatically be replaced by the location of the executable created
+ at build time.
+
+``CONFIGURATIONS``
+ Restrict execution of the test only to the named configurations.
+
+``WORKING_DIRECTORY``
+ Set the :prop_test:`WORKING_DIRECTORY` test property to
+ specify the working directory in which to execute the test.
+ If not specified the test will be run with the current working
+ directory set to the build directory corresponding to the
+ current source directory.
+
+The ``COMMAND`` and ``WORKING_DIRECTORY`` options may use "generator
+expressions" with the syntax ``$<...>``. See the
+:manual:`cmake-generator-expressions(7)` manual for available expressions.
+
+Example usage::
+
+ add_test(NAME mytest
+ COMMAND testDriver --config $<CONFIGURATION>
+ --exe $<TARGET_FILE:myexe>)
+
+This creates a test ``mytest`` whose command runs a ``testDriver`` tool
+passing the configuration name and the full path to the executable
+file produced by target ``myexe``.
+
+.. note::
+
+ CMake will generate tests only if the :command:`enable_testing`
+ command has been invoked. The :module:`CTest` module invokes the
+ command automatically when the ``BUILD_TESTING`` option is ``ON``.
+
+---------------------------------------------------------------------
+
+::
+
+ add_test(<name> <command> [<arg>...])
+
+Add a test called ``<name>`` with the given command-line. Unlike
+the above ``NAME`` signature no transformation is performed on the
+command-line to support target names or generator expressions.
diff --git a/Help/command/aux_source_directory.rst b/Help/command/aux_source_directory.rst
new file mode 100644
index 0000000..434d7a9
--- /dev/null
+++ b/Help/command/aux_source_directory.rst
@@ -0,0 +1,24 @@
+aux_source_directory
+--------------------
+
+Find all source files in a directory.
+
+::
+
+ aux_source_directory(<dir> <variable>)
+
+Collects the names of all the source files in the specified directory
+and stores the list in the <variable> provided. This command is
+intended to be used by projects that use explicit template
+instantiation. Template instantiation files can be stored in a
+"Templates" subdirectory and collected automatically using this
+command to avoid manually listing all instantiations.
+
+It is tempting to use this command to avoid writing the list of source
+files for a library or executable target. While this seems to work,
+there is no way for CMake to generate a build system that knows when a
+new source file has been added. Normally the generated build system
+knows when it needs to rerun CMake because the CMakeLists.txt file is
+modified to add a new source. When the source is just added to the
+directory without modifying this file, one would have to manually
+rerun CMake to generate a build system incorporating the new file.
diff --git a/Help/command/break.rst b/Help/command/break.rst
new file mode 100644
index 0000000..8f1067b
--- /dev/null
+++ b/Help/command/break.rst
@@ -0,0 +1,10 @@
+break
+-----
+
+Break from an enclosing foreach or while loop.
+
+::
+
+ break()
+
+Breaks from an enclosing foreach loop or while loop
diff --git a/Help/command/build_command.rst b/Help/command/build_command.rst
new file mode 100644
index 0000000..82a9a42
--- /dev/null
+++ b/Help/command/build_command.rst
@@ -0,0 +1,44 @@
+build_command
+-------------
+
+Get a command line to build the current project.
+This is mainly intended for internal use by the :module:`CTest` module.
+
+.. code-block:: cmake
+
+ build_command(<variable>
+ [CONFIGURATION <config>]
+ [TARGET <target>]
+ [PROJECT_NAME <projname>] # legacy, causes warning
+ )
+
+Sets the given ``<variable>`` to a command-line string of the form::
+
+ <cmake> --build . [--config <config>] [--target <target>] [-- -i]
+
+where ``<cmake>`` is the location of the :manual:`cmake(1)` command-line
+tool, and ``<config>`` and ``<target>`` are the values provided to the
+``CONFIGURATION`` and ``TARGET`` options, if any. The trailing ``-- -i``
+option is added for Makefile generators.
+
+When invoked, this ``cmake --build`` command line will launch the
+underlying build system tool.
+
+.. code-block:: cmake
+
+ build_command(<cachevariable> <makecommand>)
+
+This second signature is deprecated, but still available for backwards
+compatibility. Use the first signature instead.
+
+It sets the given ``<cachevariable>`` to a command-line string as
+above but without the ``--config`` or ``--target`` options.
+The ``<makecommand>`` is ignored but should be the full path to
+msdev, devenv, nmake, make or one of the end user build tools
+for legacy invocations.
+
+.. note::
+ In CMake versions prior to 3.0 this command returned a command
+ line that directly invokes the native build tool for the current
+ generator. Their implementation of the ``PROJECT_NAME`` option
+ had no useful effects, so CMake now warns on use of the option.
diff --git a/Help/command/build_name.rst b/Help/command/build_name.rst
new file mode 100644
index 0000000..53cd05e
--- /dev/null
+++ b/Help/command/build_name.rst
@@ -0,0 +1,14 @@
+build_name
+----------
+
+Disallowed. See CMake Policy :policy:`CMP0036`.
+
+Use ${CMAKE_SYSTEM} and ${CMAKE_CXX_COMPILER} instead.
+
+::
+
+ build_name(variable)
+
+Sets the specified variable to a string representing the platform and
+compiler settings. These values are now available through the
+CMAKE_SYSTEM and CMAKE_CXX_COMPILER variables.
diff --git a/Help/command/cmake_host_system_information.rst b/Help/command/cmake_host_system_information.rst
new file mode 100644
index 0000000..ba545d5
--- /dev/null
+++ b/Help/command/cmake_host_system_information.rst
@@ -0,0 +1,25 @@
+cmake_host_system_information
+-----------------------------
+
+Query host system specific information.
+
+::
+
+ cmake_host_system_information(RESULT <variable> QUERY <key> ...)
+
+Queries system information of the host system on which cmake runs.
+One or more <key> can be provided to select the information to be
+queried. The list of queried values is stored in <variable>.
+
+<key> can be one of the following values:
+
+::
+
+ NUMBER_OF_LOGICAL_CORES = Number of logical cores.
+ NUMBER_OF_PHYSICAL_CORES = Number of physical cores.
+ HOSTNAME = Hostname.
+ FQDN = Fully qualified domain name.
+ TOTAL_VIRTUAL_MEMORY = Total virtual memory in megabytes.
+ AVAILABLE_VIRTUAL_MEMORY = Available virtual memory in megabytes.
+ TOTAL_PHYSICAL_MEMORY = Total physical memory in megabytes.
+ AVAILABLE_PHYSICAL_MEMORY = Available physical memory in megabytes.
diff --git a/Help/command/cmake_minimum_required.rst b/Help/command/cmake_minimum_required.rst
new file mode 100644
index 0000000..1bdffa4
--- /dev/null
+++ b/Help/command/cmake_minimum_required.rst
@@ -0,0 +1,30 @@
+cmake_minimum_required
+----------------------
+
+Set the minimum required version of cmake for a project.
+
+::
+
+ cmake_minimum_required(VERSION major[.minor[.patch[.tweak]]]
+ [FATAL_ERROR])
+
+If the current version of CMake is lower than that required it will
+stop processing the project and report an error. When a version
+higher than 2.4 is specified the command implicitly invokes
+
+::
+
+ cmake_policy(VERSION major[.minor[.patch[.tweak]]])
+
+which sets the cmake policy version level to the version specified.
+When version 2.4 or lower is given the command implicitly invokes
+
+::
+
+ cmake_policy(VERSION 2.4)
+
+which enables compatibility features for CMake 2.4 and lower.
+
+The FATAL_ERROR option is accepted but ignored by CMake 2.6 and
+higher. It should be specified so CMake versions 2.4 and lower fail
+with an error instead of just a warning.
diff --git a/Help/command/cmake_policy.rst b/Help/command/cmake_policy.rst
new file mode 100644
index 0000000..46db8d3
--- /dev/null
+++ b/Help/command/cmake_policy.rst
@@ -0,0 +1,78 @@
+cmake_policy
+------------
+
+Manage CMake Policy settings.
+
+As CMake evolves it is sometimes necessary to change existing behavior
+in order to fix bugs or improve implementations of existing features.
+The CMake Policy mechanism is designed to help keep existing projects
+building as new versions of CMake introduce changes in behavior. Each
+new policy (behavioral change) is given an identifier of the form
+"CMP<NNNN>" where "<NNNN>" is an integer index. Documentation
+associated with each policy describes the OLD and NEW behavior and the
+reason the policy was introduced. Projects may set each policy to
+select the desired behavior. When CMake needs to know which behavior
+to use it checks for a setting specified by the project. If no
+setting is available the OLD behavior is assumed and a warning is
+produced requesting that the policy be set.
+
+The cmake_policy command is used to set policies to OLD or NEW
+behavior. While setting policies individually is supported, we
+encourage projects to set policies based on CMake versions.
+
+::
+
+ cmake_policy(VERSION major.minor[.patch[.tweak]])
+
+Specify that the current CMake list file is written for the given
+version of CMake. All policies introduced in the specified version or
+earlier will be set to use NEW behavior. All policies introduced
+after the specified version will be unset (unless variable
+CMAKE_POLICY_DEFAULT_CMP<NNNN> sets a default). This effectively
+requests behavior preferred as of a given CMake version and tells
+newer CMake versions to warn about their new policies. The policy
+version specified must be at least 2.4 or the command will report an
+error. In order to get compatibility features supporting versions
+earlier than 2.4 see documentation of policy CMP0001.
+
+::
+
+ cmake_policy(SET CMP<NNNN> NEW)
+ cmake_policy(SET CMP<NNNN> OLD)
+
+Tell CMake to use the OLD or NEW behavior for a given policy.
+Projects depending on the old behavior of a given policy may silence a
+policy warning by setting the policy state to OLD. Alternatively one
+may fix the project to work with the new behavior and set the policy
+state to NEW.
+
+::
+
+ cmake_policy(GET CMP<NNNN> <variable>)
+
+Check whether a given policy is set to OLD or NEW behavior. The
+output variable value will be "OLD" or "NEW" if the policy is set, and
+empty otherwise.
+
+CMake keeps policy settings on a stack, so changes made by the
+cmake_policy command affect only the top of the stack. A new entry on
+the policy stack is managed automatically for each subdirectory to
+protect its parents and siblings. CMake also manages a new entry for
+scripts loaded by include() and find_package() commands except when
+invoked with the NO_POLICY_SCOPE option (see also policy CMP0011).
+The cmake_policy command provides an interface to manage custom
+entries on the policy stack:
+
+::
+
+ cmake_policy(PUSH)
+ cmake_policy(POP)
+
+Each PUSH must have a matching POP to erase any changes. This is
+useful to make temporary changes to policy settings.
+
+Functions and macros record policy settings when they are created and
+use the pre-record policies when they are invoked. If the function or
+macro implementation sets policies, the changes automatically
+propagate up through callers until they reach the closest nested
+policy stack entry.
diff --git a/Help/command/configure_file.rst b/Help/command/configure_file.rst
new file mode 100644
index 0000000..70357f2
--- /dev/null
+++ b/Help/command/configure_file.rst
@@ -0,0 +1,46 @@
+configure_file
+--------------
+
+Copy a file to another location and modify its contents.
+
+::
+
+ configure_file(<input> <output>
+ [COPYONLY] [ESCAPE_QUOTES] [@ONLY]
+ [NEWLINE_STYLE [UNIX|DOS|WIN32|LF|CRLF] ])
+
+Copies a file <input> to file <output> and substitutes variable values
+referenced in the file content. If <input> is a relative path it is
+evaluated with respect to the current source directory. The <input>
+must be a file, not a directory. If <output> is a relative path it is
+evaluated with respect to the current binary directory. If <output>
+names an existing directory the input file is placed in that directory
+with its original name.
+
+If the <input> file is modified the build system will re-run CMake to
+re-configure the file and generate the build system again.
+
+This command replaces any variables in the input file referenced as
+${VAR} or @VAR@ with their values as determined by CMake. If a
+variable is not defined, it will be replaced with nothing. If
+COPYONLY is specified, then no variable expansion will take place. If
+ESCAPE_QUOTES is specified then any substituted quotes will be C-style
+escaped. The file will be configured with the current values of CMake
+variables. If @ONLY is specified, only variables of the form @VAR@
+will be replaced and ${VAR} will be ignored. This is useful for
+configuring scripts that use ${VAR}.
+
+Input file lines of the form "#cmakedefine VAR ..." will be replaced
+with either "#define VAR ..." or ``/* #undef VAR */`` depending on
+whether VAR is set in CMake to any value not considered a false
+constant by the if() command. (Content of "...", if any, is processed
+as above.) Input file lines of the form "#cmakedefine01 VAR" will be
+replaced with either "#define VAR 1" or "#define VAR 0" similarly.
+
+With NEWLINE_STYLE the line ending could be adjusted:
+
+::
+
+ 'UNIX' or 'LF' for \n, 'DOS', 'WIN32' or 'CRLF' for \r\n.
+
+COPYONLY must not be used with NEWLINE_STYLE.
diff --git a/Help/command/create_test_sourcelist.rst b/Help/command/create_test_sourcelist.rst
new file mode 100644
index 0000000..9addd67
--- /dev/null
+++ b/Help/command/create_test_sourcelist.rst
@@ -0,0 +1,30 @@
+create_test_sourcelist
+----------------------
+
+Create a test driver and source list for building test programs.
+
+::
+
+ create_test_sourcelist(sourceListName driverName
+ test1 test2 test3
+ EXTRA_INCLUDE include.h
+ FUNCTION function)
+
+A test driver is a program that links together many small tests into a
+single executable. This is useful when building static executables
+with large libraries to shrink the total required size. The list of
+source files needed to build the test driver will be in
+sourceListName. DriverName is the name of the test driver program.
+The rest of the arguments consist of a list of test source files, can
+be semicolon separated. Each test source file should have a function
+in it that is the same name as the file with no extension (foo.cxx
+should have int foo(int, char*[]);) DriverName will be able to call
+each of the tests by name on the command line. If EXTRA_INCLUDE is
+specified, then the next argument is included into the generated file.
+If FUNCTION is specified, then the next argument is taken as a
+function name that is passed a pointer to ac and av. This can be used
+to add extra command line processing to each test. The cmake variable
+CMAKE_TESTDRIVER_BEFORE_TESTMAIN can be set to have code that will be
+placed directly before calling the test main function.
+CMAKE_TESTDRIVER_AFTER_TESTMAIN can be set to have code that will be
+placed directly after the call to the test main function.
diff --git a/Help/command/ctest_build.rst b/Help/command/ctest_build.rst
new file mode 100644
index 0000000..ac2a0c1
--- /dev/null
+++ b/Help/command/ctest_build.rst
@@ -0,0 +1,24 @@
+ctest_build
+-----------
+
+Build the project.
+
+::
+
+ ctest_build([BUILD build_dir] [TARGET target] [RETURN_VALUE res]
+ [APPEND][NUMBER_ERRORS val] [NUMBER_WARNINGS val])
+
+Builds the given build directory and stores results in Build.xml. If
+no BUILD is given, the CTEST_BINARY_DIRECTORY variable is used.
+
+The TARGET variable can be used to specify a build target. If none is
+specified, the "all" target will be built.
+
+The RETURN_VALUE option specifies a variable in which to store the
+return value of the native build tool. The NUMBER_ERRORS and
+NUMBER_WARNINGS options specify variables in which to store the number
+of build errors and warnings detected.
+
+The APPEND option marks results for append to those previously
+submitted to a dashboard server since the last ctest_start. Append
+semantics are defined by the dashboard server in use.
diff --git a/Help/command/ctest_configure.rst b/Help/command/ctest_configure.rst
new file mode 100644
index 0000000..2c4e305
--- /dev/null
+++ b/Help/command/ctest_configure.rst
@@ -0,0 +1,21 @@
+ctest_configure
+---------------
+
+Configure the project build tree.
+
+::
+
+ ctest_configure([BUILD build_dir] [SOURCE source_dir] [APPEND]
+ [OPTIONS options] [RETURN_VALUE res])
+
+Configures the given build directory and stores results in
+Configure.xml. If no BUILD is given, the CTEST_BINARY_DIRECTORY
+variable is used. If no SOURCE is given, the CTEST_SOURCE_DIRECTORY
+variable is used. The OPTIONS argument specifies command line
+arguments to pass to the configuration tool. The RETURN_VALUE option
+specifies a variable in which to store the return value of the native
+build tool.
+
+The APPEND option marks results for append to those previously
+submitted to a dashboard server since the last ctest_start. Append
+semantics are defined by the dashboard server in use.
diff --git a/Help/command/ctest_coverage.rst b/Help/command/ctest_coverage.rst
new file mode 100644
index 0000000..4c90f9c
--- /dev/null
+++ b/Help/command/ctest_coverage.rst
@@ -0,0 +1,20 @@
+ctest_coverage
+--------------
+
+Collect coverage tool results.
+
+::
+
+ ctest_coverage([BUILD build_dir] [RETURN_VALUE res] [APPEND]
+ [LABELS label1 [label2 [...]]])
+
+Perform the coverage of the given build directory and stores results
+in Coverage.xml. The second argument is a variable that will hold
+value.
+
+The LABELS option filters the coverage report to include only source
+files labeled with at least one of the labels specified.
+
+The APPEND option marks results for append to those previously
+submitted to a dashboard server since the last ctest_start. Append
+semantics are defined by the dashboard server in use.
diff --git a/Help/command/ctest_empty_binary_directory.rst b/Help/command/ctest_empty_binary_directory.rst
new file mode 100644
index 0000000..7753667
--- /dev/null
+++ b/Help/command/ctest_empty_binary_directory.rst
@@ -0,0 +1,12 @@
+ctest_empty_binary_directory
+----------------------------
+
+empties the binary directory
+
+::
+
+ ctest_empty_binary_directory( directory )
+
+Removes a binary directory. This command will perform some checks
+prior to deleting the directory in an attempt to avoid malicious or
+accidental directory deletion.
diff --git a/Help/command/ctest_memcheck.rst b/Help/command/ctest_memcheck.rst
new file mode 100644
index 0000000..ca47ed0
--- /dev/null
+++ b/Help/command/ctest_memcheck.rst
@@ -0,0 +1,28 @@
+ctest_memcheck
+--------------
+
+Run tests with a dynamic analysis tool.
+
+::
+
+ ctest_memcheck([BUILD build_dir] [RETURN_VALUE res] [APPEND]
+ [START start number] [END end number]
+ [STRIDE stride number] [EXCLUDE exclude regex ]
+ [INCLUDE include regex]
+ [EXCLUDE_LABEL exclude regex]
+ [INCLUDE_LABEL label regex]
+ [PARALLEL_LEVEL level] )
+
+Tests the given build directory and stores results in MemCheck.xml.
+The second argument is a variable that will hold value. Optionally,
+you can specify the starting test number START, the ending test number
+END, the number of tests to skip between each test STRIDE, a regular
+expression for tests to run INCLUDE, or a regular expression for tests
+not to run EXCLUDE. EXCLUDE_LABEL and INCLUDE_LABEL are regular
+expressions for tests to be included or excluded by the test property
+LABEL. PARALLEL_LEVEL should be set to a positive number representing
+the number of tests to be run in parallel.
+
+The APPEND option marks results for append to those previously
+submitted to a dashboard server since the last ctest_start. Append
+semantics are defined by the dashboard server in use.
diff --git a/Help/command/ctest_read_custom_files.rst b/Help/command/ctest_read_custom_files.rst
new file mode 100644
index 0000000..0bc57cd
--- /dev/null
+++ b/Help/command/ctest_read_custom_files.rst
@@ -0,0 +1,11 @@
+ctest_read_custom_files
+-----------------------
+
+read CTestCustom files.
+
+::
+
+ ctest_read_custom_files( directory ... )
+
+Read all the CTestCustom.ctest or CTestCustom.cmake files from the
+given directory.
diff --git a/Help/command/ctest_run_script.rst b/Help/command/ctest_run_script.rst
new file mode 100644
index 0000000..0f35019
--- /dev/null
+++ b/Help/command/ctest_run_script.rst
@@ -0,0 +1,15 @@
+ctest_run_script
+----------------
+
+runs a ctest -S script
+
+::
+
+ ctest_run_script([NEW_PROCESS] script_file_name script_file_name1
+ script_file_name2 ... [RETURN_VALUE var])
+
+Runs a script or scripts much like if it was run from ctest -S. If no
+argument is provided then the current script is run using the current
+settings of the variables. If NEW_PROCESS is specified then each
+script will be run in a separate process.If RETURN_VALUE is specified
+the return value of the last script run will be put into var.
diff --git a/Help/command/ctest_sleep.rst b/Help/command/ctest_sleep.rst
new file mode 100644
index 0000000..16a914c
--- /dev/null
+++ b/Help/command/ctest_sleep.rst
@@ -0,0 +1,16 @@
+ctest_sleep
+-----------
+
+sleeps for some amount of time
+
+::
+
+ ctest_sleep(<seconds>)
+
+Sleep for given number of seconds.
+
+::
+
+ ctest_sleep(<time1> <duration> <time2>)
+
+Sleep for t=(time1 + duration - time2) seconds if t > 0.
diff --git a/Help/command/ctest_start.rst b/Help/command/ctest_start.rst
new file mode 100644
index 0000000..f16142e
--- /dev/null
+++ b/Help/command/ctest_start.rst
@@ -0,0 +1,16 @@
+ctest_start
+-----------
+
+Starts the testing for a given model
+
+::
+
+ ctest_start(Model [TRACK <track>] [APPEND] [source [binary]])
+
+Starts the testing for a given model. The command should be called
+after the binary directory is initialized. If the 'source' and
+'binary' directory are not specified, it reads the
+CTEST_SOURCE_DIRECTORY and CTEST_BINARY_DIRECTORY. If the track is
+specified, the submissions will go to the specified track. If APPEND
+is used, the existing TAG is used rather than creating a new one based
+on the current time stamp.
diff --git a/Help/command/ctest_submit.rst b/Help/command/ctest_submit.rst
new file mode 100644
index 0000000..ed801bb
--- /dev/null
+++ b/Help/command/ctest_submit.rst
@@ -0,0 +1,35 @@
+ctest_submit
+------------
+
+Submit results to a dashboard server.
+
+::
+
+ ctest_submit([PARTS ...] [FILES ...] [RETRY_COUNT count] [RETRY_DELAY delay][RETURN_VALUE res])
+
+By default all available parts are submitted if no PARTS or FILES are
+specified. The PARTS option lists a subset of parts to be submitted.
+Valid part names are:
+
+::
+
+ Start = nothing
+ Update = ctest_update results, in Update.xml
+ Configure = ctest_configure results, in Configure.xml
+ Build = ctest_build results, in Build.xml
+ Test = ctest_test results, in Test.xml
+ Coverage = ctest_coverage results, in Coverage.xml
+ MemCheck = ctest_memcheck results, in DynamicAnalysis.xml
+ Notes = Files listed by CTEST_NOTES_FILES, in Notes.xml
+ ExtraFiles = Files listed by CTEST_EXTRA_SUBMIT_FILES
+ Upload = Files prepared for upload by ctest_upload(), in Upload.xml
+ Submit = nothing
+
+The FILES option explicitly lists specific files to be submitted.
+Each individual file must exist at the time of the call.
+
+The RETRY_DELAY option specifies how long in seconds to wait after a
+timed-out submission before attempting to re-submit.
+
+The RETRY_COUNT option specifies how many times to retry a timed-out
+submission.
diff --git a/Help/command/ctest_test.rst b/Help/command/ctest_test.rst
new file mode 100644
index 0000000..5f28083
--- /dev/null
+++ b/Help/command/ctest_test.rst
@@ -0,0 +1,33 @@
+ctest_test
+----------
+
+Run tests in the project build tree.
+
+::
+
+ ctest_test([BUILD build_dir] [APPEND]
+ [START start number] [END end number]
+ [STRIDE stride number] [EXCLUDE exclude regex ]
+ [INCLUDE include regex] [RETURN_VALUE res]
+ [EXCLUDE_LABEL exclude regex]
+ [INCLUDE_LABEL label regex]
+ [PARALLEL_LEVEL level]
+ [SCHEDULE_RANDOM on]
+ [STOP_TIME time of day])
+
+Tests the given build directory and stores results in Test.xml. The
+second argument is a variable that will hold value. Optionally, you
+can specify the starting test number START, the ending test number
+END, the number of tests to skip between each test STRIDE, a regular
+expression for tests to run INCLUDE, or a regular expression for tests
+to not run EXCLUDE. EXCLUDE_LABEL and INCLUDE_LABEL are regular
+expression for test to be included or excluded by the test property
+LABEL. PARALLEL_LEVEL should be set to a positive number representing
+the number of tests to be run in parallel. SCHEDULE_RANDOM will
+launch tests in a random order, and is typically used to detect
+implicit test dependencies. STOP_TIME is the time of day at which the
+tests should all stop running.
+
+The APPEND option marks results for append to those previously
+submitted to a dashboard server since the last ctest_start. Append
+semantics are defined by the dashboard server in use.
diff --git a/Help/command/ctest_update.rst b/Help/command/ctest_update.rst
new file mode 100644
index 0000000..d34e192
--- /dev/null
+++ b/Help/command/ctest_update.rst
@@ -0,0 +1,13 @@
+ctest_update
+------------
+
+Update the work tree from version control.
+
+::
+
+ ctest_update([SOURCE source] [RETURN_VALUE res])
+
+Updates the given source directory and stores results in Update.xml.
+If no SOURCE is given, the CTEST_SOURCE_DIRECTORY variable is used.
+The RETURN_VALUE option specifies a variable in which to store the
+result, which is the number of files updated or -1 on error.
diff --git a/Help/command/ctest_upload.rst b/Help/command/ctest_upload.rst
new file mode 100644
index 0000000..9156af5
--- /dev/null
+++ b/Help/command/ctest_upload.rst
@@ -0,0 +1,11 @@
+ctest_upload
+------------
+
+Upload files to a dashboard server.
+
+::
+
+ ctest_upload(FILES ...)
+
+Pass a list of files to be sent along with the build results to the
+dashboard server.
diff --git a/Help/command/define_property.rst b/Help/command/define_property.rst
new file mode 100644
index 0000000..62bcd1b
--- /dev/null
+++ b/Help/command/define_property.rst
@@ -0,0 +1,45 @@
+define_property
+---------------
+
+Define and document custom properties.
+
+::
+
+ define_property(<GLOBAL | DIRECTORY | TARGET | SOURCE |
+ TEST | VARIABLE | CACHED_VARIABLE>
+ PROPERTY <name> [INHERITED]
+ BRIEF_DOCS <brief-doc> [docs...]
+ FULL_DOCS <full-doc> [docs...])
+
+Define one property in a scope for use with the set_property and
+get_property commands. This is primarily useful to associate
+documentation with property names that may be retrieved with the
+get_property command. The first argument determines the kind of scope
+in which the property should be used. It must be one of the
+following:
+
+::
+
+ GLOBAL = associated with the global namespace
+ DIRECTORY = associated with one directory
+ TARGET = associated with one target
+ SOURCE = associated with one source file
+ TEST = associated with a test named with add_test
+ VARIABLE = documents a CMake language variable
+ CACHED_VARIABLE = documents a CMake cache variable
+
+Note that unlike set_property and get_property no actual scope needs
+to be given; only the kind of scope is important.
+
+The required PROPERTY option is immediately followed by the name of
+the property being defined.
+
+If the INHERITED option then the get_property command will chain up to
+the next higher scope when the requested property is not set in the
+scope given to the command. DIRECTORY scope chains to GLOBAL.
+TARGET, SOURCE, and TEST chain to DIRECTORY.
+
+The BRIEF_DOCS and FULL_DOCS options are followed by strings to be
+associated with the property as its brief and full documentation.
+Corresponding options to the get_property command will retrieve the
+documentation.
diff --git a/Help/command/else.rst b/Help/command/else.rst
new file mode 100644
index 0000000..5eece95
--- /dev/null
+++ b/Help/command/else.rst
@@ -0,0 +1,10 @@
+else
+----
+
+Starts the else portion of an if block.
+
+::
+
+ else(expression)
+
+See the if command.
diff --git a/Help/command/elseif.rst b/Help/command/elseif.rst
new file mode 100644
index 0000000..96ee0e9
--- /dev/null
+++ b/Help/command/elseif.rst
@@ -0,0 +1,10 @@
+elseif
+------
+
+Starts the elseif portion of an if block.
+
+::
+
+ elseif(expression)
+
+See the if command.
diff --git a/Help/command/enable_language.rst b/Help/command/enable_language.rst
new file mode 100644
index 0000000..d46ff7e
--- /dev/null
+++ b/Help/command/enable_language.rst
@@ -0,0 +1,22 @@
+enable_language
+---------------
+
+Enable a language (CXX/C/Fortran/etc)
+
+::
+
+ enable_language(<lang> [OPTIONAL] )
+
+This command enables support for the named language in CMake. This is
+the same as the project command but does not create any of the extra
+variables that are created by the project command. Example languages
+are CXX, C, Fortran.
+
+This command must be called in file scope, not in a function call.
+Furthermore, it must be called in the highest directory common to all
+targets using the named language directly for compiling sources or
+indirectly through link dependencies. It is simplest to enable all
+needed languages in the top-level directory of a project.
+
+The OPTIONAL keyword is a placeholder for future implementation and
+does not currently work.
diff --git a/Help/command/enable_testing.rst b/Help/command/enable_testing.rst
new file mode 100644
index 0000000..41ecd5b
--- /dev/null
+++ b/Help/command/enable_testing.rst
@@ -0,0 +1,13 @@
+enable_testing
+--------------
+
+Enable testing for current directory and below.
+
+::
+
+ enable_testing()
+
+Enables testing for this directory and below. See also the add_test
+command. Note that ctest expects to find a test file in the build
+directory root. Therefore, this command should be in the source
+directory root.
diff --git a/Help/command/endforeach.rst b/Help/command/endforeach.rst
new file mode 100644
index 0000000..f23552d
--- /dev/null
+++ b/Help/command/endforeach.rst
@@ -0,0 +1,10 @@
+endforeach
+----------
+
+Ends a list of commands in a FOREACH block.
+
+::
+
+ endforeach(expression)
+
+See the FOREACH command.
diff --git a/Help/command/endfunction.rst b/Help/command/endfunction.rst
new file mode 100644
index 0000000..63e70ba
--- /dev/null
+++ b/Help/command/endfunction.rst
@@ -0,0 +1,10 @@
+endfunction
+-----------
+
+Ends a list of commands in a function block.
+
+::
+
+ endfunction(expression)
+
+See the function command.
diff --git a/Help/command/endif.rst b/Help/command/endif.rst
new file mode 100644
index 0000000..4c9955c
--- /dev/null
+++ b/Help/command/endif.rst
@@ -0,0 +1,10 @@
+endif
+-----
+
+Ends a list of commands in an if block.
+
+::
+
+ endif(expression)
+
+See the if command.
diff --git a/Help/command/endmacro.rst b/Help/command/endmacro.rst
new file mode 100644
index 0000000..524fc80
--- /dev/null
+++ b/Help/command/endmacro.rst
@@ -0,0 +1,10 @@
+endmacro
+--------
+
+Ends a list of commands in a macro block.
+
+::
+
+ endmacro(expression)
+
+See the macro command.
diff --git a/Help/command/endwhile.rst b/Help/command/endwhile.rst
new file mode 100644
index 0000000..11fdc1b
--- /dev/null
+++ b/Help/command/endwhile.rst
@@ -0,0 +1,10 @@
+endwhile
+--------
+
+Ends a list of commands in a while block.
+
+::
+
+ endwhile(expression)
+
+See the while command.
diff --git a/Help/command/exec_program.rst b/Help/command/exec_program.rst
new file mode 100644
index 0000000..aaa0dac
--- /dev/null
+++ b/Help/command/exec_program.rst
@@ -0,0 +1,24 @@
+exec_program
+------------
+
+Deprecated. Use the execute_process() command instead.
+
+Run an executable program during the processing of the CMakeList.txt
+file.
+
+::
+
+ exec_program(Executable [directory in which to run]
+ [ARGS <arguments to executable>]
+ [OUTPUT_VARIABLE <var>]
+ [RETURN_VALUE <var>])
+
+The executable is run in the optionally specified directory. The
+executable can include arguments if it is double quoted, but it is
+better to use the optional ARGS argument to specify arguments to the
+program. This is because cmake will then be able to escape spaces in
+the executable path. An optional argument OUTPUT_VARIABLE specifies a
+variable in which to store the output. To capture the return value of
+the execution, provide a RETURN_VALUE. If OUTPUT_VARIABLE is
+specified, then no output will go to the stdout/stderr of the console
+running cmake.
diff --git a/Help/command/execute_process.rst b/Help/command/execute_process.rst
new file mode 100644
index 0000000..478b30e
--- /dev/null
+++ b/Help/command/execute_process.rst
@@ -0,0 +1,75 @@
+execute_process
+---------------
+
+Execute one or more child processes.
+
+.. code-block:: cmake
+
+ execute_process(COMMAND <cmd1> [args1...]]
+ [COMMAND <cmd2> [args2...] [...]]
+ [WORKING_DIRECTORY <directory>]
+ [TIMEOUT <seconds>]
+ [RESULT_VARIABLE <variable>]
+ [OUTPUT_VARIABLE <variable>]
+ [ERROR_VARIABLE <variable>]
+ [INPUT_FILE <file>]
+ [OUTPUT_FILE <file>]
+ [ERROR_FILE <file>]
+ [OUTPUT_QUIET]
+ [ERROR_QUIET]
+ [OUTPUT_STRIP_TRAILING_WHITESPACE]
+ [ERROR_STRIP_TRAILING_WHITESPACE])
+
+Runs the given sequence of one or more commands with the standard
+output of each process piped to the standard input of the next.
+A single standard error pipe is used for all processes.
+
+Options:
+
+COMMAND
+ A child process command line.
+
+ CMake executes the child process using operating system APIs directly.
+ All arguments are passed VERBATIM to the child process.
+ No intermediate shell is used, so shell operators such as ``>``
+ are treated as normal arguments.
+ (Use the ``INPUT_*``, ``OUTPUT_*``, and ``ERROR_*`` options to
+ redirect stdin, stdout, and stderr.)
+
+WORKING_DIRECTORY
+ The named directory will be set as the current working directory of
+ the child processes.
+
+TIMEOUT
+ The child processes will be terminated if they do not finish in the
+ specified number of seconds (fractions are allowed).
+
+RESULT_VARIABLE
+ The variable will be set to contain the result of running the processes.
+ This will be an integer return code from the last child or a string
+ describing an error condition.
+
+OUTPUT_VARIABLE, ERROR_VARIABLE
+ The variable named will be set with the contents of the standard output
+ and standard error pipes, respectively. If the same variable is named
+ for both pipes their output will be merged in the order produced.
+
+INPUT_FILE, OUTPUT_FILE, ERROR_FILE
+ The file named will be attached to the standard input of the first
+ process, standard output of the last process, or standard error of
+ all processes, respectively.
+
+OUTPUT_QUIET, ERROR_QUIET
+ The standard output or standard error results will be quietly ignored.
+
+If more than one ``OUTPUT_*`` or ``ERROR_*`` option is given for the
+same pipe the precedence is not specified.
+If no ``OUTPUT_*`` or ``ERROR_*`` options are given the output will
+be shared with the corresponding pipes of the CMake process itself.
+
+The :command:`execute_process` command is a newer more powerful version of
+:command:`exec_program`, but the old command has been kept for compatibility.
+Both commands run while CMake is processing the project prior to build
+system generation. Use :command:`add_custom_target` and
+:command:`add_custom_command` to create custom commands that run at
+build time.
diff --git a/Help/command/export.rst b/Help/command/export.rst
new file mode 100644
index 0000000..6b83587
--- /dev/null
+++ b/Help/command/export.rst
@@ -0,0 +1,54 @@
+export
+------
+
+Export targets from the build tree for use by outside projects.
+
+::
+
+ export(EXPORT <export-name> [NAMESPACE <namespace>] [FILE <filename>])
+
+Create a file <filename> that may be included by outside projects to
+import targets from the current project's build tree. This is useful
+during cross-compiling to build utility executables that can run on
+the host platform in one project and then import them into another
+project being compiled for the target platform. If the NAMESPACE
+option is given the <namespace> string will be prepended to all target
+names written to the file.
+
+Target installations are associated with the export <export-name>
+using the ``EXPORT`` option of the :command:`install(TARGETS)` command.
+
+The file created by this command is specific to the build tree and
+should never be installed. See the install(EXPORT) command to export
+targets from an installation tree.
+
+The properties set on the generated IMPORTED targets will have the
+same values as the final values of the input TARGETS.
+
+::
+
+ export(TARGETS [target1 [target2 [...]]] [NAMESPACE <namespace>]
+ [APPEND] FILE <filename> [EXPORT_LINK_INTERFACE_LIBRARIES])
+
+This signature is similar to the ``EXPORT`` signature, but targets are listed
+explicitly rather than specified as an export-name. If the APPEND option is
+given the generated code will be appended to the file instead of overwriting it.
+The EXPORT_LINK_INTERFACE_LIBRARIES keyword, if present, causes the
+contents of the properties matching
+``(IMPORTED_)?LINK_INTERFACE_LIBRARIES(_<CONFIG>)?`` to be exported, when
+policy CMP0022 is NEW. If a library target is included in the export
+but a target to which it links is not included the behavior is
+unspecified.
+
+::
+
+ export(PACKAGE <name>)
+
+Store the current build directory in the CMake user package registry
+for package <name>. The find_package command may consider the
+directory while searching for package <name>. This helps dependent
+projects find and use a package from the current project's build tree
+without help from the user. Note that the entry in the package
+registry that this command creates works only in conjunction with a
+package configuration file (<name>Config.cmake) that works with the
+build tree.
diff --git a/Help/command/export_library_dependencies.rst b/Help/command/export_library_dependencies.rst
new file mode 100644
index 0000000..73c0b42
--- /dev/null
+++ b/Help/command/export_library_dependencies.rst
@@ -0,0 +1,28 @@
+export_library_dependencies
+---------------------------
+
+Disallowed. See CMake Policy :policy:`CMP0033`.
+
+Use :command:`install(EXPORT)` or :command:`export` command.
+
+This command generates an old-style library dependencies file.
+Projects requiring CMake 2.6 or later should not use the command. Use
+instead the install(EXPORT) command to help export targets from an
+installation tree and the export() command to export targets from a
+build tree.
+
+The old-style library dependencies file does not take into account
+per-configuration names of libraries or the LINK_INTERFACE_LIBRARIES
+target property.
+
+::
+
+ export_library_dependencies(<file> [APPEND])
+
+Create a file named <file> that can be included into a CMake listfile
+with the INCLUDE command. The file will contain a number of SET
+commands that will set all the variables needed for library dependency
+information. This should be the last command in the top level
+CMakeLists.txt file of the project. If the APPEND option is
+specified, the SET commands will be appended to the given file instead
+of replacing it.
diff --git a/Help/command/file.rst b/Help/command/file.rst
new file mode 100644
index 0000000..83ade1d
--- /dev/null
+++ b/Help/command/file.rst
@@ -0,0 +1,213 @@
+file
+----
+
+File manipulation command.
+
+::
+
+ file(WRITE filename "message to write"... )
+ file(APPEND filename "message to write"... )
+ file(READ filename variable [LIMIT numBytes] [OFFSET offset] [HEX])
+ file(<MD5|SHA1|SHA224|SHA256|SHA384|SHA512> filename variable)
+ file(STRINGS filename variable [LIMIT_COUNT num]
+ [LIMIT_INPUT numBytes] [LIMIT_OUTPUT numBytes]
+ [LENGTH_MINIMUM numBytes] [LENGTH_MAXIMUM numBytes]
+ [NEWLINE_CONSUME] [REGEX regex]
+ [NO_HEX_CONVERSION])
+ file(GLOB variable [RELATIVE path] [globbing expressions]...)
+ file(GLOB_RECURSE variable [RELATIVE path]
+ [FOLLOW_SYMLINKS] [globbing expressions]...)
+ file(RENAME <oldname> <newname>)
+ file(REMOVE [file1 ...])
+ file(REMOVE_RECURSE [file1 ...])
+ file(MAKE_DIRECTORY [directory1 directory2 ...])
+ file(RELATIVE_PATH variable directory file)
+ file(TO_CMAKE_PATH path result)
+ file(TO_NATIVE_PATH path result)
+ file(DOWNLOAD url file [INACTIVITY_TIMEOUT timeout]
+ [TIMEOUT timeout] [STATUS status] [LOG log] [SHOW_PROGRESS]
+ [EXPECTED_HASH ALGO=value] [EXPECTED_MD5 sum]
+ [TLS_VERIFY on|off] [TLS_CAINFO file])
+ file(UPLOAD filename url [INACTIVITY_TIMEOUT timeout]
+ [TIMEOUT timeout] [STATUS status] [LOG log] [SHOW_PROGRESS])
+ file(TIMESTAMP filename variable [<format string>] [UTC])
+ file(GENERATE OUTPUT output_file
+ <INPUT input_file|CONTENT input_content>
+ [CONDITION expression])
+
+WRITE will write a message into a file called 'filename'. It
+overwrites the file if it already exists, and creates the file if it
+does not exist. (If the file is a build input, use configure_file to
+update the file only when its content changes.)
+
+APPEND will write a message into a file same as WRITE, except it will
+append it to the end of the file
+
+READ will read the content of a file and store it into the variable.
+It will start at the given offset and read up to numBytes. If the
+argument HEX is given, the binary data will be converted to
+hexadecimal representation and this will be stored in the variable.
+
+MD5, SHA1, SHA224, SHA256, SHA384, and SHA512 will compute a
+cryptographic hash of the content of a file.
+
+STRINGS will parse a list of ASCII strings from a file and store it in
+a variable. Binary data in the file are ignored. Carriage return
+(CR) characters are ignored. It works also for Intel Hex and Motorola
+S-record files, which are automatically converted to binary format
+when reading them. Disable this using NO_HEX_CONVERSION.
+
+LIMIT_COUNT sets the maximum number of strings to return. LIMIT_INPUT
+sets the maximum number of bytes to read from the input file.
+LIMIT_OUTPUT sets the maximum number of bytes to store in the output
+variable. LENGTH_MINIMUM sets the minimum length of a string to
+return. Shorter strings are ignored. LENGTH_MAXIMUM sets the maximum
+length of a string to return. Longer strings are split into strings
+no longer than the maximum length. NEWLINE_CONSUME allows newlines to
+be included in strings instead of terminating them.
+
+REGEX specifies a regular expression that a string must match to be
+returned. Typical usage
+
+::
+
+ file(STRINGS myfile.txt myfile)
+
+stores a list in the variable "myfile" in which each item is a line
+from the input file.
+
+GLOB will generate a list of all files that match the globbing
+expressions and store it into the variable. Globbing expressions are
+similar to regular expressions, but much simpler. If RELATIVE flag is
+specified for an expression, the results will be returned as a
+relative path to the given path. (We do not recommend using GLOB to
+collect a list of source files from your source tree. If no
+CMakeLists.txt file changes when a source is added or removed then the
+generated build system cannot know when to ask CMake to regenerate.)
+
+Examples of globbing expressions include:
+
+::
+
+ *.cxx - match all files with extension cxx
+ *.vt? - match all files with extension vta,...,vtz
+ f[3-5].txt - match files f3.txt, f4.txt, f5.txt
+
+GLOB_RECURSE will generate a list similar to the regular GLOB, except
+it will traverse all the subdirectories of the matched directory and
+match the files. Subdirectories that are symlinks are only traversed
+if FOLLOW_SYMLINKS is given or cmake policy CMP0009 is not set to NEW.
+See cmake --help-policy CMP0009 for more information.
+
+Examples of recursive globbing include:
+
+::
+
+ /dir/*.py - match all python files in /dir and subdirectories
+
+MAKE_DIRECTORY will create the given directories, also if their parent
+directories don't exist yet
+
+RENAME moves a file or directory within a filesystem, replacing the
+destination atomically.
+
+REMOVE will remove the given files, also in subdirectories
+
+REMOVE_RECURSE will remove the given files and directories, also
+non-empty directories
+
+RELATIVE_PATH will determine relative path from directory to the given
+file.
+
+TO_CMAKE_PATH will convert path into a cmake style path with unix /.
+The input can be a single path or a system path like "$ENV{PATH}".
+Note the double quotes around the ENV call TO_CMAKE_PATH only takes
+one argument. This command will also convert the native list
+delimiters for a list of paths like the PATH environment variable.
+
+TO_NATIVE_PATH works just like TO_CMAKE_PATH, but will convert from a
+cmake style path into the native path style \ for windows and / for
+UNIX.
+
+DOWNLOAD will download the given URL to the given file. If LOG var is
+specified a log of the download will be put in var. If STATUS var is
+specified the status of the operation will be put in var. The status
+is returned in a list of length 2. The first element is the numeric
+return value for the operation, and the second element is a string
+value for the error. A 0 numeric error means no error in the
+operation. If TIMEOUT time is specified, the operation will timeout
+after time seconds, time should be specified as an integer. The
+INACTIVITY_TIMEOUT specifies an integer number of seconds of
+inactivity after which the operation should terminate. If
+EXPECTED_HASH ALGO=value is specified, the operation will verify that
+the downloaded file's actual hash matches the expected value, where
+ALGO is one of MD5, SHA1, SHA224, SHA256, SHA384, or SHA512. If it
+does not match, the operation fails with an error. ("EXPECTED_MD5
+sum" is short-hand for "EXPECTED_HASH MD5=sum".) If SHOW_PROGRESS is
+specified, progress information will be printed as status messages
+until the operation is complete. For https URLs CMake must be built
+with OpenSSL. TLS/SSL certificates are not checked by default. Set
+TLS_VERIFY to ON to check certificates and/or use EXPECTED_HASH to
+verify downloaded content. Set TLS_CAINFO to specify a custom
+Certificate Authority file. If either TLS option is not given CMake
+will check variables CMAKE_TLS_VERIFY and CMAKE_TLS_CAINFO,
+respectively.
+
+UPLOAD will upload the given file to the given URL. If LOG var is
+specified a log of the upload will be put in var. If STATUS var is
+specified the status of the operation will be put in var. The status
+is returned in a list of length 2. The first element is the numeric
+return value for the operation, and the second element is a string
+value for the error. A 0 numeric error means no error in the
+operation. If TIMEOUT time is specified, the operation will timeout
+after time seconds, time should be specified as an integer. The
+INACTIVITY_TIMEOUT specifies an integer number of seconds of
+inactivity after which the operation should terminate. If
+SHOW_PROGRESS is specified, progress information will be printed as
+status messages until the operation is complete.
+
+TIMESTAMP will write a string representation of the modification time
+of filename to variable.
+
+Should the command be unable to obtain a timestamp variable will be
+set to the empty string "".
+
+See documentation of the string TIMESTAMP sub-command for more
+details.
+
+The file() command also provides COPY and INSTALL signatures:
+
+::
+
+ file(<COPY|INSTALL> files... DESTINATION <dir>
+ [FILE_PERMISSIONS permissions...]
+ [DIRECTORY_PERMISSIONS permissions...]
+ [NO_SOURCE_PERMISSIONS] [USE_SOURCE_PERMISSIONS]
+ [FILES_MATCHING]
+ [[PATTERN <pattern> | REGEX <regex>]
+ [EXCLUDE] [PERMISSIONS permissions...]] [...])
+
+The COPY signature copies files, directories, and symlinks to a
+destination folder. Relative input paths are evaluated with respect
+to the current source directory, and a relative destination is
+evaluated with respect to the current build directory. Copying
+preserves input file timestamps, and optimizes out a file if it exists
+at the destination with the same timestamp. Copying preserves input
+permissions unless explicit permissions or NO_SOURCE_PERMISSIONS are
+given (default is USE_SOURCE_PERMISSIONS). See the install(DIRECTORY)
+command for documentation of permissions, PATTERN, REGEX, and EXCLUDE
+options.
+
+The INSTALL signature differs slightly from COPY: it prints status
+messages, and NO_SOURCE_PERMISSIONS is default. Installation scripts
+generated by the install() command use this signature (with some
+undocumented options for internal use).
+
+GENERATE will write an <output_file> with content from an
+<input_file>, or from <input_content>. The output is generated
+conditionally based on the content of the <condition>. The file is
+written at CMake generate-time and the input may contain generator
+expressions. The <condition>, <output_file> and <input_file> may also
+contain generator expressions. The <condition> must evaluate to
+either '0' or '1'. The <output_file> must evaluate to a unique name
+among all configurations and among all invocations of file(GENERATE).
diff --git a/Help/command/find_file.rst b/Help/command/find_file.rst
new file mode 100644
index 0000000..db7e151
--- /dev/null
+++ b/Help/command/find_file.rst
@@ -0,0 +1,27 @@
+find_file
+---------
+
+.. |FIND_XXX| replace:: find_file
+.. |NAMES| replace:: NAMES name1 [name2 ...]
+.. |SEARCH_XXX| replace:: full path to a file
+.. |SEARCH_XXX_DESC| replace:: full path to named file
+.. |XXX_SUBDIR| replace:: include
+
+.. |CMAKE_PREFIX_PATH_XXX| replace::
+ <prefix>/include/<arch> if CMAKE_LIBRARY_ARCHITECTURE is set, and
+ |CMAKE_PREFIX_PATH_XXX_SUBDIR|
+.. |CMAKE_XXX_PATH| replace:: CMAKE_INCLUDE_PATH
+.. |CMAKE_XXX_MAC_PATH| replace:: CMAKE_FRAMEWORK_PATH
+
+.. |SYSTEM_ENVIRONMENT_PATH_XXX| replace:: PATH and INCLUDE
+
+.. |CMAKE_SYSTEM_PREFIX_PATH_XXX| replace::
+ <prefix>/include/<arch> if CMAKE_LIBRARY_ARCHITECTURE is set, and
+ |CMAKE_SYSTEM_PREFIX_PATH_XXX_SUBDIR|
+.. |CMAKE_SYSTEM_XXX_PATH| replace:: CMAKE_SYSTEM_INCLUDE_PATH
+.. |CMAKE_SYSTEM_XXX_MAC_PATH| replace:: CMAKE_SYSTEM_FRAMEWORK_PATH
+
+.. |CMAKE_FIND_ROOT_PATH_MODE_XXX| replace::
+ :variable:`CMAKE_FIND_ROOT_PATH_MODE_INCLUDE`
+
+.. include:: FIND_XXX.txt
diff --git a/Help/command/find_library.rst b/Help/command/find_library.rst
new file mode 100644
index 0000000..91342ba
--- /dev/null
+++ b/Help/command/find_library.rst
@@ -0,0 +1,44 @@
+find_library
+------------
+
+.. |FIND_XXX| replace:: find_library
+.. |NAMES| replace:: NAMES name1 [name2 ...] [NAMES_PER_DIR]
+.. |SEARCH_XXX| replace:: library
+.. |SEARCH_XXX_DESC| replace:: library
+.. |XXX_SUBDIR| replace:: lib
+
+.. |CMAKE_PREFIX_PATH_XXX| replace::
+ <prefix>/lib/<arch> if CMAKE_LIBRARY_ARCHITECTURE is set, and
+ |CMAKE_PREFIX_PATH_XXX_SUBDIR|
+.. |CMAKE_XXX_PATH| replace:: CMAKE_LIBRARY_PATH
+.. |CMAKE_XXX_MAC_PATH| replace:: CMAKE_FRAMEWORK_PATH
+
+.. |SYSTEM_ENVIRONMENT_PATH_XXX| replace:: PATH and LIB
+
+.. |CMAKE_SYSTEM_PREFIX_PATH_XXX| replace::
+ <prefix>/lib/<arch> if CMAKE_LIBRARY_ARCHITECTURE is set, and
+ |CMAKE_SYSTEM_PREFIX_PATH_XXX_SUBDIR|
+.. |CMAKE_SYSTEM_XXX_PATH| replace:: CMAKE_SYSTEM_LIBRARY_PATH
+.. |CMAKE_SYSTEM_XXX_MAC_PATH| replace:: CMAKE_SYSTEM_FRAMEWORK_PATH
+
+.. |CMAKE_FIND_ROOT_PATH_MODE_XXX| replace::
+ :variable:`CMAKE_FIND_ROOT_PATH_MODE_LIBRARY`
+
+.. include:: FIND_XXX.txt
+
+When more than one value is given to the NAMES option this command by
+default will consider one name at a time and search every directory
+for it. The NAMES_PER_DIR option tells this command to consider one
+directory at a time and search for all names in it.
+
+If the library found is a framework, then VAR will be set to the full
+path to the framework <fullPath>/A.framework. When a full path to a
+framework is used as a library, CMake will use a -framework A, and a
+-F<fullPath> to link the framework to the target.
+
+If the global property FIND_LIBRARY_USE_LIB64_PATHS is set all search
+paths will be tested as normal, with "64/" appended, and with all
+matches of "lib/" replaced with "lib64/". This property is
+automatically set for the platforms that are known to need it if at
+least one of the languages supported by the PROJECT command is
+enabled.
diff --git a/Help/command/find_package.rst b/Help/command/find_package.rst
new file mode 100644
index 0000000..5d9aea6
--- /dev/null
+++ b/Help/command/find_package.rst
@@ -0,0 +1,345 @@
+find_package
+------------
+
+Load settings for an external project.
+
+::
+
+ find_package(<package> [version] [EXACT] [QUIET] [MODULE]
+ [REQUIRED] [[COMPONENTS] [components...]]
+ [OPTIONAL_COMPONENTS components...]
+ [NO_POLICY_SCOPE])
+
+Finds and loads settings from an external project. ``<package>_FOUND``
+will be set to indicate whether the package was found. When the
+package is found package-specific information is provided through
+variables and :ref:`Imported Targets` documented by the package itself. The
+``QUIET`` option disables messages if the package cannot be found. The
+``MODULE`` option disables the second signature documented below. The
+``REQUIRED`` option stops processing with an error message if the package
+cannot be found.
+
+A package-specific list of required components may be listed after the
+``COMPONENTS`` option (or after the ``REQUIRED`` option if present).
+Additional optional components may be listed after
+``OPTIONAL_COMPONENTS``. Available components and their influence on
+whether a package is considered to be found are defined by the target
+package.
+
+The ``[version]`` argument requests a version with which the package found
+should be compatible (format is ``major[.minor[.patch[.tweak]]]``). The
+``EXACT`` option requests that the version be matched exactly. If no
+``[version]`` and/or component list is given to a recursive invocation
+inside a find-module, the corresponding arguments are forwarded
+automatically from the outer call (including the ``EXACT`` flag for
+``[version]``). Version support is currently provided only on a
+package-by-package basis (details below).
+
+User code should generally look for packages using the above simple
+signature. The remainder of this command documentation specifies the
+full command signature and details of the search process. Project
+maintainers wishing to provide a package to be found by this command
+are encouraged to read on.
+
+The command has two modes by which it searches for packages: "Module"
+mode and "Config" mode. Module mode is available when the command is
+invoked with the above reduced signature. CMake searches for a file
+called ``Find<package>.cmake`` in the :variable:`CMAKE_MODULE_PATH`
+followed by the CMake installation. If the file is found, it is read
+and processed by CMake. It is responsible for finding the package,
+checking the version, and producing any needed messages. Many
+find-modules provide limited or no support for versioning; check
+the module documentation. If no module is found and the ``MODULE``
+option is not given the command proceeds to Config mode.
+
+The complete Config mode command signature is::
+
+ find_package(<package> [version] [EXACT] [QUIET]
+ [REQUIRED] [[COMPONENTS] [components...]]
+ [CONFIG|NO_MODULE]
+ [NO_POLICY_SCOPE]
+ [NAMES name1 [name2 ...]]
+ [CONFIGS config1 [config2 ...]]
+ [HINTS path1 [path2 ... ]]
+ [PATHS path1 [path2 ... ]]
+ [PATH_SUFFIXES suffix1 [suffix2 ...]]
+ [NO_DEFAULT_PATH]
+ [NO_CMAKE_ENVIRONMENT_PATH]
+ [NO_CMAKE_PATH]
+ [NO_SYSTEM_ENVIRONMENT_PATH]
+ [NO_CMAKE_PACKAGE_REGISTRY]
+ [NO_CMAKE_BUILDS_PATH]
+ [NO_CMAKE_SYSTEM_PATH]
+ [NO_CMAKE_SYSTEM_PACKAGE_REGISTRY]
+ [CMAKE_FIND_ROOT_PATH_BOTH |
+ ONLY_CMAKE_FIND_ROOT_PATH |
+ NO_CMAKE_FIND_ROOT_PATH])
+
+The ``CONFIG`` option may be used to skip Module mode explicitly and
+switch to Config mode. It is synonymous to using ``NO_MODULE``. Config
+mode is also implied by use of options not specified in the reduced
+signature.
+
+Config mode attempts to locate a configuration file provided by the
+package to be found. A cache entry called ``<package>_DIR`` is created to
+hold the directory containing the file. By default the command
+searches for a package with the name ``<package>``. If the ``NAMES`` option
+is given the names following it are used instead of ``<package>``. The
+command searches for a file called ``<name>Config.cmake`` or
+``<lower-case-name>-config.cmake`` for each name specified. A
+replacement set of possible configuration file names may be given
+using the ``CONFIGS`` option. The search procedure is specified below.
+Once found, the configuration file is read and processed by CMake.
+Since the file is provided by the package it already knows the
+location of package contents. The full path to the configuration file
+is stored in the cmake variable ``<package>_CONFIG``.
+
+All configuration files which have been considered by CMake while
+searching for an installation of the package with an appropriate
+version are stored in the cmake variable ``<package>_CONSIDERED_CONFIGS``,
+the associated versions in ``<package>_CONSIDERED_VERSIONS``.
+
+If the package configuration file cannot be found CMake will generate
+an error describing the problem unless the ``QUIET`` argument is
+specified. If ``REQUIRED`` is specified and the package is not found a
+fatal error is generated and the configure step stops executing. If
+``<package>_DIR`` has been set to a directory not containing a
+configuration file CMake will ignore it and search from scratch.
+
+When the ``[version]`` argument is given Config mode will only find a
+version of the package that claims compatibility with the requested
+version (format is ``major[.minor[.patch[.tweak]]]``). If the ``EXACT``
+option is given only a version of the package claiming an exact match
+of the requested version may be found. CMake does not establish any
+convention for the meaning of version numbers. Package version
+numbers are checked by "version" files provided by the packages
+themselves. For a candidate package configuration file
+``<config-file>.cmake`` the corresponding version file is located next
+to it and named either ``<config-file>-version.cmake`` or
+``<config-file>Version.cmake``. If no such version file is available
+then the configuration file is assumed to not be compatible with any
+requested version. A basic version file containing generic version
+matching code can be created using the
+:module:`CMakePackageConfigHelpers` module. When a version file
+is found it is loaded to check the requested version number. The
+version file is loaded in a nested scope in which the following
+variables have been defined:
+
+``PACKAGE_FIND_NAME``
+ the ``<package>`` name
+``PACKAGE_FIND_VERSION``
+ full requested version string
+``PACKAGE_FIND_VERSION_MAJOR``
+ major version if requested, else 0
+``PACKAGE_FIND_VERSION_MINOR``
+ minor version if requested, else 0
+``PACKAGE_FIND_VERSION_PATCH``
+ patch version if requested, else 0
+``PACKAGE_FIND_VERSION_TWEAK``
+ tweak version if requested, else 0
+``PACKAGE_FIND_VERSION_COUNT``
+ number of version components, 0 to 4
+
+The version file checks whether it satisfies the requested version and
+sets these variables:
+
+``PACKAGE_VERSION``
+ full provided version string
+``PACKAGE_VERSION_EXACT``
+ true if version is exact match
+``PACKAGE_VERSION_COMPATIBLE``
+ true if version is compatible
+``PACKAGE_VERSION_UNSUITABLE``
+ true if unsuitable as any version
+
+These variables are checked by the ``find_package`` command to determine
+whether the configuration file provides an acceptable version. They
+are not available after the find_package call returns. If the version
+is acceptable the following variables are set:
+
+``<package>_VERSION``
+ full provided version string
+``<package>_VERSION_MAJOR``
+ major version if provided, else 0
+``<package>_VERSION_MINOR``
+ minor version if provided, else 0
+``<package>_VERSION_PATCH``
+ patch version if provided, else 0
+``<package>_VERSION_TWEAK``
+ tweak version if provided, else 0
+``<package>_VERSION_COUNT``
+ number of version components, 0 to 4
+
+and the corresponding package configuration file is loaded. When
+multiple package configuration files are available whose version files
+claim compatibility with the version requested it is unspecified which
+one is chosen. No attempt is made to choose a highest or closest
+version number.
+
+Config mode provides an elaborate interface and search procedure.
+Much of the interface is provided for completeness and for use
+internally by find-modules loaded by Module mode. Most user code
+should simply call::
+
+ find_package(<package> [major[.minor]] [EXACT] [REQUIRED|QUIET])
+
+in order to find a package. Package maintainers providing CMake
+package configuration files are encouraged to name and install them
+such that the procedure outlined below will find them without
+requiring use of additional options.
+
+CMake constructs a set of possible installation prefixes for the
+package. Under each prefix several directories are searched for a
+configuration file. The tables below show the directories searched.
+Each entry is meant for installation trees following Windows (W), UNIX
+(U), or Apple (A) conventions::
+
+ <prefix>/ (W)
+ <prefix>/(cmake|CMake)/ (W)
+ <prefix>/<name>*/ (W)
+ <prefix>/<name>*/(cmake|CMake)/ (W)
+ <prefix>/(lib/<arch>|lib|share)/cmake/<name>*/ (U)
+ <prefix>/(lib/<arch>|lib|share)/<name>*/ (U)
+ <prefix>/(lib/<arch>|lib|share)/<name>*/(cmake|CMake)/ (U)
+
+On systems supporting OS X Frameworks and Application Bundles the
+following directories are searched for frameworks or bundles
+containing a configuration file::
+
+ <prefix>/<name>.framework/Resources/ (A)
+ <prefix>/<name>.framework/Resources/CMake/ (A)
+ <prefix>/<name>.framework/Versions/*/Resources/ (A)
+ <prefix>/<name>.framework/Versions/*/Resources/CMake/ (A)
+ <prefix>/<name>.app/Contents/Resources/ (A)
+ <prefix>/<name>.app/Contents/Resources/CMake/ (A)
+
+In all cases the ``<name>`` is treated as case-insensitive and corresponds
+to any of the names specified (``<package>`` or names given by ``NAMES``).
+Paths with ``lib/<arch>`` are enabled if the
+:variable:`CMAKE_LIBRARY_ARCHITECTURE` variable is set. If ``PATH_SUFFIXES``
+is specified the suffixes are appended to each (W) or (U) directory entry
+one-by-one.
+
+This set of directories is intended to work in cooperation with
+projects that provide configuration files in their installation trees.
+Directories above marked with (W) are intended for installations on
+Windows where the prefix may point at the top of an application's
+installation directory. Those marked with (U) are intended for
+installations on UNIX platforms where the prefix is shared by multiple
+packages. This is merely a convention, so all (W) and (U) directories
+are still searched on all platforms. Directories marked with (A) are
+intended for installations on Apple platforms. The cmake variables
+``CMAKE_FIND_FRAMEWORK`` and ``CMAKE_FIND_APPBUNDLE``
+determine the order of preference as specified below.
+
+The set of installation prefixes is constructed using the following
+steps. If ``NO_DEFAULT_PATH`` is specified all ``NO_*`` options are
+enabled.
+
+1. Search paths specified in cmake-specific cache variables. These
+ are intended to be used on the command line with a ``-DVAR=value``.
+ This can be skipped if ``NO_CMAKE_PATH`` is passed::
+
+ CMAKE_PREFIX_PATH
+ CMAKE_FRAMEWORK_PATH
+ CMAKE_APPBUNDLE_PATH
+
+2. Search paths specified in cmake-specific environment variables.
+ These are intended to be set in the user's shell configuration.
+ This can be skipped if ``NO_CMAKE_ENVIRONMENT_PATH`` is passed::
+
+ <package>_DIR
+ CMAKE_PREFIX_PATH
+ CMAKE_FRAMEWORK_PATH
+ CMAKE_APPBUNDLE_PATH
+
+3. Search paths specified by the ``HINTS`` option. These should be paths
+ computed by system introspection, such as a hint provided by the
+ location of another item already found. Hard-coded guesses should
+ be specified with the ``PATHS`` option.
+
+4. Search the standard system environment variables. This can be
+ skipped if ``NO_SYSTEM_ENVIRONMENT_PATH`` is passed. Path entries
+ ending in ``/bin`` or ``/sbin`` are automatically converted to their
+ parent directories::
+
+ PATH
+
+5. Search project build trees recently configured in a :manual:`cmake-gui(1)`.
+ This can be skipped if ``NO_CMAKE_BUILDS_PATH`` is passed. It is intended
+ for the case when a user is building multiple dependent projects one
+ after another.
+ (This step is implemented only on Windows.)
+
+6. Search paths stored in the CMake :ref:`User Package Registry`.
+ This can be skipped if ``NO_CMAKE_PACKAGE_REGISTRY`` is passed.
+ See the :manual:`cmake-packages(7)` manual for details on the user
+ package registry.
+
+7. Search cmake variables defined in the Platform files for the
+ current system. This can be skipped if ``NO_CMAKE_SYSTEM_PATH`` is
+ passed::
+
+ CMAKE_SYSTEM_PREFIX_PATH
+ CMAKE_SYSTEM_FRAMEWORK_PATH
+ CMAKE_SYSTEM_APPBUNDLE_PATH
+
+8. Search paths stored in the CMake :ref:`System Package Registry`.
+ This can be skipped if ``NO_CMAKE_SYSTEM_PACKAGE_REGISTRY`` is passed.
+ See the :manual:`cmake-packages(7)` manual for details on the system
+ package registry.
+
+9. Search paths specified by the ``PATHS`` option. These are typically
+ hard-coded guesses.
+
+.. |FIND_XXX| replace:: find_package
+.. |FIND_ARGS_XXX| replace:: <package>
+.. |CMAKE_FIND_ROOT_PATH_MODE_XXX| replace::
+ :variable:`CMAKE_FIND_ROOT_PATH_MODE_PACKAGE`
+
+.. include:: FIND_XXX_MAC.txt
+.. include:: FIND_XXX_ROOT.txt
+.. include:: FIND_XXX_ORDER.txt
+
+Every non-REQUIRED ``find_package`` call can be disabled by setting the
+:variable:`CMAKE_DISABLE_FIND_PACKAGE_<PackageName>` variable to ``TRUE``.
+
+When loading a find module or package configuration file ``find_package``
+defines variables to provide information about the call arguments (and
+restores their original state before returning):
+
+``<package>_FIND_REQUIRED``
+ true if ``REQUIRED`` option was given
+``<package>_FIND_QUIETLY``
+ true if ``QUIET`` option was given
+``<package>_FIND_VERSION``
+ full requested version string
+``<package>_FIND_VERSION_MAJOR``
+ major version if requested, else 0
+``<package>_FIND_VERSION_MINOR``
+ minor version if requested, else 0
+``<package>_FIND_VERSION_PATCH``
+ patch version if requested, else 0
+``<package>_FIND_VERSION_TWEAK``
+ tweak version if requested, else 0
+``<package>_FIND_VERSION_COUNT``
+ number of version components, 0 to 4
+``<package>_FIND_VERSION_EXACT``
+ true if ``EXACT`` option was given
+``<package>_FIND_COMPONENTS``
+ list of requested components
+``<package>_FIND_REQUIRED_<c>``
+ true if component ``<c>`` is required,
+ false if component ``<c>`` is optional
+
+In Module mode the loaded find module is responsible to honor the
+request detailed by these variables; see the find module for details.
+In Config mode ``find_package`` handles ``REQUIRED``, ``QUIET``, and
+``[version]`` options automatically but leaves it to the package
+configuration file to handle components in a way that makes sense
+for the package. The package configuration file may set
+``<package>_FOUND`` to false to tell ``find_package`` that component
+requirements are not satisfied.
+
+See the :command:`cmake_policy` command documentation for discussion
+of the ``NO_POLICY_SCOPE`` option.
diff --git a/Help/command/find_path.rst b/Help/command/find_path.rst
new file mode 100644
index 0000000..95d49e7
--- /dev/null
+++ b/Help/command/find_path.rst
@@ -0,0 +1,32 @@
+find_path
+---------
+
+.. |FIND_XXX| replace:: find_path
+.. |NAMES| replace:: NAMES name1 [name2 ...]
+.. |SEARCH_XXX| replace:: file in a directory
+.. |SEARCH_XXX_DESC| replace:: directory containing the named file
+.. |XXX_SUBDIR| replace:: include
+
+.. |CMAKE_PREFIX_PATH_XXX| replace::
+ <prefix>/include/<arch> if CMAKE_LIBRARY_ARCHITECTURE is set, and
+ |CMAKE_PREFIX_PATH_XXX_SUBDIR|
+.. |CMAKE_XXX_PATH| replace:: CMAKE_INCLUDE_PATH
+.. |CMAKE_XXX_MAC_PATH| replace:: CMAKE_FRAMEWORK_PATH
+
+.. |SYSTEM_ENVIRONMENT_PATH_XXX| replace:: PATH and INCLUDE
+
+.. |CMAKE_SYSTEM_PREFIX_PATH_XXX| replace::
+ <prefix>/include/<arch> if CMAKE_LIBRARY_ARCHITECTURE is set, and
+ |CMAKE_SYSTEM_PREFIX_PATH_XXX_SUBDIR|
+.. |CMAKE_SYSTEM_XXX_PATH| replace:: CMAKE_SYSTEM_INCLUDE_PATH
+.. |CMAKE_SYSTEM_XXX_MAC_PATH| replace:: CMAKE_SYSTEM_FRAMEWORK_PATH
+
+.. |CMAKE_FIND_ROOT_PATH_MODE_XXX| replace::
+ :variable:`CMAKE_FIND_ROOT_PATH_MODE_INCLUDE`
+
+.. include:: FIND_XXX.txt
+
+When searching for frameworks, if the file is specified as A/b.h, then
+the framework search will look for A.framework/Headers/b.h. If that
+is found the path will be set to the path to the framework. CMake
+will convert this to the correct -F option to include the file.
diff --git a/Help/command/find_program.rst b/Help/command/find_program.rst
new file mode 100644
index 0000000..c62a8a5
--- /dev/null
+++ b/Help/command/find_program.rst
@@ -0,0 +1,25 @@
+find_program
+------------
+
+.. |FIND_XXX| replace:: find_program
+.. |NAMES| replace:: NAMES name1 [name2 ...]
+.. |SEARCH_XXX| replace:: program
+.. |SEARCH_XXX_DESC| replace:: program
+.. |XXX_SUBDIR| replace:: [s]bin
+
+.. |CMAKE_PREFIX_PATH_XXX| replace::
+ |CMAKE_PREFIX_PATH_XXX_SUBDIR|
+.. |CMAKE_XXX_PATH| replace:: CMAKE_PROGRAM_PATH
+.. |CMAKE_XXX_MAC_PATH| replace:: CMAKE_APPBUNDLE_PATH
+
+.. |SYSTEM_ENVIRONMENT_PATH_XXX| replace:: PATH
+
+.. |CMAKE_SYSTEM_PREFIX_PATH_XXX| replace::
+ |CMAKE_SYSTEM_PREFIX_PATH_XXX_SUBDIR|
+.. |CMAKE_SYSTEM_XXX_PATH| replace:: CMAKE_SYSTEM_PROGRAM_PATH
+.. |CMAKE_SYSTEM_XXX_MAC_PATH| replace:: CMAKE_SYSTEM_APPBUNDLE_PATH
+
+.. |CMAKE_FIND_ROOT_PATH_MODE_XXX| replace::
+ :variable:`CMAKE_FIND_ROOT_PATH_MODE_PROGRAM`
+
+.. include:: FIND_XXX.txt
diff --git a/Help/command/fltk_wrap_ui.rst b/Help/command/fltk_wrap_ui.rst
new file mode 100644
index 0000000..448ae64
--- /dev/null
+++ b/Help/command/fltk_wrap_ui.rst
@@ -0,0 +1,14 @@
+fltk_wrap_ui
+------------
+
+Create FLTK user interfaces Wrappers.
+
+::
+
+ fltk_wrap_ui(resultingLibraryName source1
+ source2 ... sourceN )
+
+Produce .h and .cxx files for all the .fl and .fld files listed. The
+resulting .h and .cxx files will be added to a variable named
+resultingLibraryName_FLTK_UI_SRCS which should be added to your
+library.
diff --git a/Help/command/foreach.rst b/Help/command/foreach.rst
new file mode 100644
index 0000000..348ebd8
--- /dev/null
+++ b/Help/command/foreach.rst
@@ -0,0 +1,47 @@
+foreach
+-------
+
+Evaluate a group of commands for each value in a list.
+
+::
+
+ foreach(loop_var arg1 arg2 ...)
+ COMMAND1(ARGS ...)
+ COMMAND2(ARGS ...)
+ ...
+ endforeach(loop_var)
+
+All commands between foreach and the matching endforeach are recorded
+without being invoked. Once the endforeach is evaluated, the recorded
+list of commands is invoked once for each argument listed in the
+original foreach command. Before each iteration of the loop
+"${loop_var}" will be set as a variable with the current value in the
+list.
+
+::
+
+ foreach(loop_var RANGE total)
+ foreach(loop_var RANGE start stop [step])
+
+Foreach can also iterate over a generated range of numbers. There are
+three types of this iteration:
+
+* When specifying single number, the range will have elements 0 to
+ "total".
+
+* When specifying two numbers, the range will have elements from the
+ first number to the second number.
+
+* The third optional number is the increment used to iterate from the
+ first number to the second number.
+
+::
+
+ foreach(loop_var IN [LISTS [list1 [...]]]
+ [ITEMS [item1 [...]]])
+
+Iterates over a precise list of items. The LISTS option names
+list-valued variables to be traversed, including empty elements (an
+empty string is a zero-length list). (Note macro
+arguments are not variables.) The ITEMS option ends argument
+parsing and includes all arguments following it in the iteration.
diff --git a/Help/command/function.rst b/Help/command/function.rst
new file mode 100644
index 0000000..b18e03c
--- /dev/null
+++ b/Help/command/function.rst
@@ -0,0 +1,31 @@
+function
+--------
+
+Start recording a function for later invocation as a command.
+
+::
+
+ function(<name> [arg1 [arg2 [arg3 ...]]])
+ COMMAND1(ARGS ...)
+ COMMAND2(ARGS ...)
+ ...
+ endfunction(<name>)
+
+Define a function named <name> that takes arguments named arg1 arg2
+arg3 (...). Commands listed after function, but before the matching
+endfunction, are not invoked until the function is invoked. When it
+is invoked, the commands recorded in the function are first modified
+by replacing formal parameters (${arg1}) with the arguments passed,
+and then invoked as normal commands. In addition to referencing the
+formal parameters you can reference the variable ARGC which will be
+set to the number of arguments passed into the function as well as
+ARGV0 ARGV1 ARGV2 ... which will have the actual values of the
+arguments passed in. This facilitates creating functions with
+optional arguments. Additionally ARGV holds the list of all arguments
+given to the function and ARGN holds the list of arguments past the
+last expected argument.
+
+A function opens a new scope: see set(var PARENT_SCOPE) for details.
+
+See the cmake_policy() command documentation for the behavior of
+policies inside functions.
diff --git a/Help/command/get_cmake_property.rst b/Help/command/get_cmake_property.rst
new file mode 100644
index 0000000..bcfc5e8
--- /dev/null
+++ b/Help/command/get_cmake_property.rst
@@ -0,0 +1,15 @@
+get_cmake_property
+------------------
+
+Get a property of the CMake instance.
+
+::
+
+ get_cmake_property(VAR property)
+
+Get a property from the CMake instance. The value of the property is
+stored in the variable VAR. If the property is not found, VAR will be
+set to "NOTFOUND". Some supported properties include: VARIABLES,
+CACHE_VARIABLES, COMMANDS, MACROS, and COMPONENTS.
+
+See also the more general get_property() command.
diff --git a/Help/command/get_directory_property.rst b/Help/command/get_directory_property.rst
new file mode 100644
index 0000000..f2a0a80
--- /dev/null
+++ b/Help/command/get_directory_property.rst
@@ -0,0 +1,24 @@
+get_directory_property
+----------------------
+
+Get a property of DIRECTORY scope.
+
+::
+
+ get_directory_property(<variable> [DIRECTORY <dir>] <prop-name>)
+
+Store a property of directory scope in the named variable. If the
+property is not defined the empty-string is returned. The DIRECTORY
+argument specifies another directory from which to retrieve the
+property value. The specified directory must have already been
+traversed by CMake.
+
+::
+
+ get_directory_property(<variable> [DIRECTORY <dir>]
+ DEFINITION <var-name>)
+
+Get a variable definition from a directory. This form is useful to
+get a variable definition from another directory.
+
+See also the more general get_property() command.
diff --git a/Help/command/get_filename_component.rst b/Help/command/get_filename_component.rst
new file mode 100644
index 0000000..5eec792
--- /dev/null
+++ b/Help/command/get_filename_component.rst
@@ -0,0 +1,37 @@
+get_filename_component
+----------------------
+
+Get a specific component of a full filename.
+
+::
+
+ get_filename_component(<VAR> <FileName> <COMP> [CACHE])
+
+Set <VAR> to a component of <FileName>, where <COMP> is one of:
+
+::
+
+ DIRECTORY = Directory without file name
+ NAME = File name without directory
+ EXT = File name longest extension (.b.c from d/a.b.c)
+ NAME_WE = File name without directory or longest extension
+ ABSOLUTE = Full path to file
+ REALPATH = Full path to existing file with symlinks resolved
+ PATH = Legacy alias for DIRECTORY (use for CMake <= 2.8.11)
+
+Paths are returned with forward slashes and have no trailing slahes.
+The longest file extension is always considered. If the optional
+CACHE argument is specified, the result variable is added to the
+cache.
+
+::
+
+ get_filename_component(<VAR> FileName
+ PROGRAM [PROGRAM_ARGS <ARG_VAR>]
+ [CACHE])
+
+The program in FileName will be found in the system search path or
+left as a full path. If PROGRAM_ARGS is present with PROGRAM, then
+any command-line arguments present in the FileName string are split
+from the program name and stored in <ARG_VAR>. This is used to
+separate a program name from its arguments in a command line string.
diff --git a/Help/command/get_property.rst b/Help/command/get_property.rst
new file mode 100644
index 0000000..c2937be
--- /dev/null
+++ b/Help/command/get_property.rst
@@ -0,0 +1,49 @@
+get_property
+------------
+
+Get a property.
+
+::
+
+ get_property(<variable>
+ <GLOBAL |
+ DIRECTORY [dir] |
+ TARGET <target> |
+ SOURCE <source> |
+ TEST <test> |
+ CACHE <entry> |
+ VARIABLE>
+ PROPERTY <name>
+ [SET | DEFINED | BRIEF_DOCS | FULL_DOCS])
+
+Get one property from one object in a scope. The first argument
+specifies the variable in which to store the result. The second
+argument determines the scope from which to get the property. It must
+be one of the following:
+
+GLOBAL scope is unique and does not accept a name.
+
+DIRECTORY scope defaults to the current directory but another
+directory (already processed by CMake) may be named by full or
+relative path.
+
+TARGET scope must name one existing target.
+
+SOURCE scope must name one source file.
+
+TEST scope must name one existing test.
+
+CACHE scope must name one cache entry.
+
+VARIABLE scope is unique and does not accept a name.
+
+The required PROPERTY option is immediately followed by the name of
+the property to get. If the property is not set an empty value is
+returned. If the SET option is given the variable is set to a boolean
+value indicating whether the property has been set. If the DEFINED
+option is given the variable is set to a boolean value indicating
+whether the property has been defined such as with define_property.
+If BRIEF_DOCS or FULL_DOCS is given then the variable is set to a
+string containing documentation for the requested property. If
+documentation is requested for a property that has not been defined
+NOTFOUND is returned.
diff --git a/Help/command/get_source_file_property.rst b/Help/command/get_source_file_property.rst
new file mode 100644
index 0000000..80c512b
--- /dev/null
+++ b/Help/command/get_source_file_property.rst
@@ -0,0 +1,16 @@
+get_source_file_property
+------------------------
+
+Get a property for a source file.
+
+::
+
+ get_source_file_property(VAR file property)
+
+Get a property from a source file. The value of the property is
+stored in the variable VAR. If the property is not found, VAR will be
+set to "NOTFOUND". Use set_source_files_properties to set property
+values. Source file properties usually control how the file is built.
+One property that is always there is LOCATION
+
+See also the more general get_property() command.
diff --git a/Help/command/get_target_property.rst b/Help/command/get_target_property.rst
new file mode 100644
index 0000000..4017d31
--- /dev/null
+++ b/Help/command/get_target_property.rst
@@ -0,0 +1,18 @@
+get_target_property
+-------------------
+
+Get a property from a target.
+
+::
+
+ get_target_property(VAR target property)
+
+Get a property from a target. The value of the property is stored in
+the variable VAR. If the property is not found, VAR will be set to
+"NOTFOUND". Use set_target_properties to set property values.
+Properties are usually used to control how a target is built, but some
+query the target instead. This command can get properties for any
+target so far created. The targets do not need to be in the current
+CMakeLists.txt file.
+
+See also the more general get_property() command.
diff --git a/Help/command/get_test_property.rst b/Help/command/get_test_property.rst
new file mode 100644
index 0000000..2623755
--- /dev/null
+++ b/Help/command/get_test_property.rst
@@ -0,0 +1,15 @@
+get_test_property
+-----------------
+
+Get a property of the test.
+
+::
+
+ get_test_property(test property VAR)
+
+Get a property from the Test. The value of the property is stored in
+the variable VAR. If the property is not found, VAR will be set to
+"NOTFOUND". For a list of standard properties you can type cmake
+--help-property-list
+
+See also the more general get_property() command.
diff --git a/Help/command/if.rst b/Help/command/if.rst
new file mode 100644
index 0000000..a45b995
--- /dev/null
+++ b/Help/command/if.rst
@@ -0,0 +1,201 @@
+if
+--
+
+Conditionally execute a group of commands.
+
+.. code-block:: cmake
+
+ if(expression)
+ # then section.
+ COMMAND1(ARGS ...)
+ COMMAND2(ARGS ...)
+ ...
+ elseif(expression2)
+ # elseif section.
+ COMMAND1(ARGS ...)
+ COMMAND2(ARGS ...)
+ ...
+ else(expression)
+ # else section.
+ COMMAND1(ARGS ...)
+ COMMAND2(ARGS ...)
+ ...
+ endif(expression)
+
+Evaluates the given expression. If the result is true, the commands
+in the THEN section are invoked. Otherwise, the commands in the else
+section are invoked. The elseif and else sections are optional. You
+may have multiple elseif clauses. Note that the expression in the
+else and endif clause is optional. Long expressions can be used and
+there is a traditional order of precedence. Parenthetical expressions
+are evaluated first followed by unary tests such as ``EXISTS``,
+``COMMAND``, and ``DEFINED``. Then any binary tests such as
+``EQUAL``, ``LESS``, ``GREATER``, ``STRLESS``, ``STRGREATER``,
+``STREQUAL``, and ``MATCHES`` will be evaluated. Then boolean ``NOT``
+operators and finally boolean ``AND`` and then ``OR`` operators will
+be evaluated.
+
+Possible expressions are:
+
+``if(<constant>)``
+ True if the constant is ``1``, ``ON``, ``YES``, ``TRUE``, ``Y``,
+ or a non-zero number. False if the constant is ``0``, ``OFF``,
+ ``NO``, ``FALSE``, ``N``, ``IGNORE``, ``NOTFOUND``, the empty string,
+ or ends in the suffix ``-NOTFOUND``. Named boolean constants are
+ case-insensitive. If the argument is not one of these constants, it
+ is treated as a variable.
+
+``if(<variable>)``
+ True if the variable is defined to a value that is not a false
+ constant. False otherwise. (Note macro arguments are not variables.)
+
+``if(NOT <expression>)``
+ True if the expression is not true.
+
+``if(<expr1> AND <expr2>)``
+ True if both expressions would be considered true individually.
+
+``if(<expr1> OR <expr2>)``
+ True if either expression would be considered true individually.
+
+``if(COMMAND command-name)``
+ True if the given name is a command, macro or function that can be
+ invoked.
+
+``if(POLICY policy-id)``
+ True if the given name is an existing policy (of the form ``CMP<NNNN>``).
+
+``if(TARGET target-name)``
+ True if the given name is an existing logical target name such as those
+ created by the :command:`add_executable`, :command:`add_library`, or
+ :command:`add_custom_target` commands.
+
+``if(EXISTS path-to-file-or-directory)``
+ True if the named file or directory exists. Behavior is well-defined
+ only for full paths.
+
+``if(file1 IS_NEWER_THAN file2)``
+ True if file1 is newer than file2 or if one of the two files doesn't
+ exist. Behavior is well-defined only for full paths. If the file
+ time stamps are exactly the same, an ``IS_NEWER_THAN`` comparison returns
+ true, so that any dependent build operations will occur in the event
+ of a tie. This includes the case of passing the same file name for
+ both file1 and file2.
+
+``if(IS_DIRECTORY path-to-directory)``
+ True if the given name is a directory. Behavior is well-defined only
+ for full paths.
+
+``if(IS_SYMLINK file-name)``
+ True if the given name is a symbolic link. Behavior is well-defined
+ only for full paths.
+
+``if(IS_ABSOLUTE path)``
+ True if the given path is an absolute path.
+
+``if(<variable|string> MATCHES regex)``
+ True if the given string or variable's value matches the given regular
+ expression.
+
+``if(<variable|string> LESS <variable|string>)``
+ True if the given string or variable's value is a valid number and less
+ than that on the right.
+
+``if(<variable|string> GREATER <variable|string>)``
+ True if the given string or variable's value is a valid number and greater
+ than that on the right.
+
+``if(<variable|string> EQUAL <variable|string>)``
+ True if the given string or variable's value is a valid number and equal
+ to that on the right.
+
+``if(<variable|string> STRLESS <variable|string>)``
+ True if the given string or variable's value is lexicographically less
+ than the string or variable on the right.
+
+``if(<variable|string> STRGREATER <variable|string>)``
+ True if the given string or variable's value is lexicographically greater
+ than the string or variable on the right.
+
+``if(<variable|string> STREQUAL <variable|string>)``
+ True if the given string or variable's value is lexicographically equal
+ to the string or variable on the right.
+
+``if(<variable|string> VERSION_LESS <variable|string>)``
+ Component-wise integer version number comparison (version format is
+ ``major[.minor[.patch[.tweak]]]``).
+
+``if(<variable|string> VERSION_EQUAL <variable|string>)``
+ Component-wise integer version number comparison (version format is
+ ``major[.minor[.patch[.tweak]]]``).
+
+``if(<variable|string> VERSION_GREATER <variable|string>)``
+ Component-wise integer version number comparison (version format is
+ ``major[.minor[.patch[.tweak]]]``).
+
+``if(DEFINED <variable>)``
+ True if the given variable is defined. It does not matter if the
+ variable is true or false just if it has been set. (Note macro
+ arguments are not variables.)
+
+``if((expression) AND (expression OR (expression)))``
+ The expressions inside the parenthesis are evaluated first and then
+ the remaining expression is evaluated as in the previous examples.
+ Where there are nested parenthesis the innermost are evaluated as part
+ of evaluating the expression that contains them.
+
+The if command was written very early in CMake's history, predating
+the ``${}`` variable evaluation syntax, and for convenience evaluates
+variables named by its arguments as shown in the above signatures.
+Note that normal variable evaluation with ``${}`` applies before the if
+command even receives the arguments. Therefore code like::
+
+ set(var1 OFF)
+ set(var2 "var1")
+ if(${var2})
+
+appears to the if command as::
+
+ if(var1)
+
+and is evaluated according to the ``if(<variable>)`` case documented
+above. The result is ``OFF`` which is false. However, if we remove the
+``${}`` from the example then the command sees::
+
+ if(var2)
+
+which is true because ``var2`` is defined to "var1" which is not a false
+constant.
+
+Automatic evaluation applies in the other cases whenever the
+above-documented signature accepts ``<variable|string>``:
+
+* The left hand argument to ``MATCHES`` is first checked to see if it is
+ a defined variable, if so the variable's value is used, otherwise the
+ original value is used.
+
+* If the left hand argument to ``MATCHES`` is missing it returns false
+ without error
+
+* Both left and right hand arguments to ``LESS``, ``GREATER``, and
+ ``EQUAL`` are independently tested to see if they are defined
+ variables, if so their defined values are used otherwise the original
+ value is used.
+
+* Both left and right hand arguments to ``STRLESS``, ``STREQUAL``, and
+ ``STRGREATER`` are independently tested to see if they are defined
+ variables, if so their defined values are used otherwise the original
+ value is used.
+
+* Both left and right hand arguments to ``VERSION_LESS``,
+ ``VERSION_EQUAL``, and ``VERSION_GREATER`` are independently tested
+ to see if they are defined variables, if so their defined values are
+ used otherwise the original value is used.
+
+* The right hand argument to ``NOT`` is tested to see if it is a boolean
+ constant, if so the value is used, otherwise it is assumed to be a
+ variable and it is dereferenced.
+
+* The left and right hand arguments to ``AND`` and ``OR`` are independently
+ tested to see if they are boolean constants, if so they are used as
+ such, otherwise they are assumed to be variables and are dereferenced.
diff --git a/Help/command/include.rst b/Help/command/include.rst
new file mode 100644
index 0000000..a9074c1
--- /dev/null
+++ b/Help/command/include.rst
@@ -0,0 +1,25 @@
+include
+-------
+
+Load and run CMake code from a file or module.
+
+::
+
+ include(<file|module> [OPTIONAL] [RESULT_VARIABLE <VAR>]
+ [NO_POLICY_SCOPE])
+
+Load and run CMake code from the file given. Variable reads and
+writes access the scope of the caller (dynamic scoping). If OPTIONAL
+is present, then no error is raised if the file does not exist. If
+RESULT_VARIABLE is given the variable will be set to the full filename
+which has been included or NOTFOUND if it failed.
+
+If a module is specified instead of a file, the file with name
+<modulename>.cmake is searched first in CMAKE_MODULE_PATH, then in the
+CMake module directory. There is one exception to this: if the file
+which calls include() is located itself in the CMake module directory,
+then first the CMake module directory is searched and
+CMAKE_MODULE_PATH afterwards. See also policy CMP0017.
+
+See the cmake_policy() command documentation for discussion of the
+NO_POLICY_SCOPE option.
diff --git a/Help/command/include_directories.rst b/Help/command/include_directories.rst
new file mode 100644
index 0000000..f694934
--- /dev/null
+++ b/Help/command/include_directories.rst
@@ -0,0 +1,35 @@
+include_directories
+-------------------
+
+Add include directories to the build.
+
+::
+
+ include_directories([AFTER|BEFORE] [SYSTEM] dir1 [dir2 ...])
+
+Add the given directories to those the compiler uses to search for
+include files. Relative paths are interpreted as relative to the
+current source directory.
+
+The include directories are added to the :prop_dir:`INCLUDE_DIRECTORIES`
+directory property for the current ``CMakeLists`` file. They are also
+added to the :prop_tgt:`INCLUDE_DIRECTORIES` target property for each
+target in the current ``CMakeLists`` file. The target property values
+are the ones used by the generators.
+
+By default the directories specified are appended onto the current list of
+directories. This default behavior can be changed by setting
+:variable:`CMAKE_INCLUDE_DIRECTORIES_BEFORE` to ``ON``. By using
+``AFTER`` or ``BEFORE`` explicitly, you can select between appending and
+prepending, independent of the default.
+
+If the ``SYSTEM`` option is given, the compiler will be told the
+directories are meant as system include directories on some platforms.
+Signalling this setting might achieve effects such as the compiler
+skipping warnings, or these fixed-install system files not being
+considered in dependency calculations - see compiler docs.
+
+Arguments to ``include_directories`` may use "generator expressions" with
+the syntax "$<...>". See the :manual:`cmake-generator-expressions(7)`
+manual for available expressions. See the :manual:`cmake-buildsystem(7)`
+manual for more on defining buildsystem properties.
diff --git a/Help/command/include_external_msproject.rst b/Help/command/include_external_msproject.rst
new file mode 100644
index 0000000..ba9a393
--- /dev/null
+++ b/Help/command/include_external_msproject.rst
@@ -0,0 +1,23 @@
+include_external_msproject
+--------------------------
+
+Include an external Microsoft project file in a workspace.
+
+::
+
+ include_external_msproject(projectname location
+ [TYPE projectTypeGUID]
+ [GUID projectGUID]
+ [PLATFORM platformName]
+ dep1 dep2 ...)
+
+Includes an external Microsoft project in the generated workspace
+file. Currently does nothing on UNIX. This will create a target
+named [projectname]. This can be used in the add_dependencies command
+to make things depend on the external project.
+
+TYPE, GUID and PLATFORM are optional parameters that allow one to
+specify the type of project, id (GUID) of the project and the name of
+the target platform. This is useful for projects requiring values
+other than the default (e.g. WIX projects). These options are not
+supported by the Visual Studio 6 generator.
diff --git a/Help/command/include_regular_expression.rst b/Help/command/include_regular_expression.rst
new file mode 100644
index 0000000..dd887df
--- /dev/null
+++ b/Help/command/include_regular_expression.rst
@@ -0,0 +1,18 @@
+include_regular_expression
+--------------------------
+
+Set the regular expression used for dependency checking.
+
+::
+
+ include_regular_expression(regex_match [regex_complain])
+
+Set the regular expressions used in dependency checking. Only files
+matching regex_match will be traced as dependencies. Only files
+matching regex_complain will generate warnings if they cannot be found
+(standard header paths are not searched). The defaults are:
+
+::
+
+ regex_match = "^.*$" (match everything)
+ regex_complain = "^$" (match empty string only)
diff --git a/Help/command/install.rst b/Help/command/install.rst
new file mode 100644
index 0000000..47108f0
--- /dev/null
+++ b/Help/command/install.rst
@@ -0,0 +1,323 @@
+install
+-------
+
+Specify rules to run at install time.
+
+This command generates installation rules for a project. Rules
+specified by calls to this command within a source directory are
+executed in order during installation. The order across directories
+is not defined.
+
+There are multiple signatures for this command. Some of them define
+installation options for files and targets. Options common to
+multiple signatures are covered here but they are valid only for
+signatures that specify them. The common options are:
+
+``DESTINATION``
+ Specify the directory on disk to which a file will be installed.
+ If a full path (with a leading slash or drive letter) is given
+ it is used directly. If a relative path is given it is interpreted
+ relative to the value of the :variable:`CMAKE_INSTALL_PREFIX` variable.
+ The prefix can be relocated at install time using the ``DESTDIR``
+ mechanism explained in the :variable:`CMAKE_INSTALL_PREFIX` variable
+ documentation.
+
+``PERMISSIONS``
+ Specify permissions for installed files. Valid permissions are
+ ``OWNER_READ``, ``OWNER_WRITE``, ``OWNER_EXECUTE``, ``GROUP_READ``,
+ ``GROUP_WRITE``, ``GROUP_EXECUTE``, ``WORLD_READ``, ``WORLD_WRITE``,
+ ``WORLD_EXECUTE``, ``SETUID``, and ``SETGID``. Permissions that do
+ not make sense on certain platforms are ignored on those platforms.
+
+``CONFIGURATIONS``
+ Specify a list of build configurations for which the install rule
+ applies (Debug, Release, etc.).
+
+``COMPONENT``
+ Specify an installation component name with which the install rule
+ is associated, such as "runtime" or "development". During
+ component-specific installation only install rules associated with
+ the given component name will be executed. During a full installation
+ all components are installed. If ``COMPONENT`` is not provided a
+ default component "Unspecified" is created. The default component
+ name may be controlled with the
+ :variable:`CMAKE_INSTALL_DEFAULT_COMPONENT_NAME` variable.
+
+``RENAME``
+ Specify a name for an installed file that may be different from the
+ original file. Renaming is allowed only when a single file is
+ installed by the command.
+
+``OPTIONAL``
+ Specify that it is not an error if the file to be installed does
+ not exist.
+
+------------------------------------------------------------------------------
+
+::
+
+ install(TARGETS targets... [EXPORT <export-name>]
+ [[ARCHIVE|LIBRARY|RUNTIME|FRAMEWORK|BUNDLE|
+ PRIVATE_HEADER|PUBLIC_HEADER|RESOURCE]
+ [DESTINATION <dir>]
+ [INCLUDES DESTINATION [<dir> ...]]
+ [PERMISSIONS permissions...]
+ [CONFIGURATIONS [Debug|Release|...]]
+ [COMPONENT <component>]
+ [OPTIONAL] [NAMELINK_ONLY|NAMELINK_SKIP]
+ ] [...])
+
+The ``TARGETS`` form specifies rules for installing targets from a
+project. There are five kinds of target files that may be installed:
+``ARCHIVE``, ``LIBRARY``, ``RUNTIME``, ``FRAMEWORK``, and ``BUNDLE``.
+Executables are treated as ``RUNTIME`` targets, except that those
+marked with the ``MACOSX_BUNDLE`` property are treated as ``BUNDLE``
+targets on OS X. Static libraries are always treated as ``ARCHIVE``
+targets. Module libraries are always treated as ``LIBRARY`` targets.
+For non-DLL platforms shared libraries are treated as ``LIBRARY``
+targets, except that those marked with the ``FRAMEWORK`` property are
+treated as ``FRAMEWORK`` targets on OS X. For DLL platforms the DLL
+part of a shared library is treated as a ``RUNTIME`` target and the
+corresponding import library is treated as an ``ARCHIVE`` target.
+All Windows-based systems including Cygwin are DLL platforms.
+The ``ARCHIVE``, ``LIBRARY``, ``RUNTIME``, and ``FRAMEWORK`` arguments
+change the type of target to which the subsequent properties apply.
+If none is given the installation properties apply to all target
+types. If only one is given then only targets of that type will be
+installed (which can be used to install just a DLL or just an import
+library). The ``INCLUDES DESTINATION`` specifies a list of directories
+which will be added to the :prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES`
+target property of the ``<targets>`` when exported by the
+:command:`install(EXPORT)` command. If a relative path is
+specified, it is treated as relative to the ``$<INSTALL_PREFIX>``.
+
+The ``PRIVATE_HEADER``, ``PUBLIC_HEADER``, and ``RESOURCE`` arguments
+cause subsequent properties to be applied to installing a ``FRAMEWORK``
+shared library target's associated files on non-Apple platforms. Rules
+defined by these arguments are ignored on Apple platforms because the
+associated files are installed into the appropriate locations inside
+the framework folder. See documentation of the
+:prop_tgt:`PRIVATE_HEADER`, :prop_tgt:`PUBLIC_HEADER`, and
+:prop_tgt:`RESOURCE` target properties for details.
+
+Either ``NAMELINK_ONLY`` or ``NAMELINK_SKIP`` may be specified as a
+``LIBRARY`` option. On some platforms a versioned shared library
+has a symbolic link such as::
+
+ lib<name>.so -> lib<name>.so.1
+
+where ``lib<name>.so.1`` is the soname of the library and ``lib<name>.so``
+is a "namelink" allowing linkers to find the library when given
+``-l<name>``. The ``NAMELINK_ONLY`` option causes installation of only the
+namelink when a library target is installed. The ``NAMELINK_SKIP`` option
+causes installation of library files other than the namelink when a
+library target is installed. When neither option is given both
+portions are installed. On platforms where versioned shared libraries
+do not have namelinks or when a library is not versioned the
+``NAMELINK_SKIP`` option installs the library and the ``NAMELINK_ONLY``
+option installs nothing. See the :prop_tgt:`VERSION` and
+:prop_tgt:`SOVERSION` target properties for details on creating versioned
+shared libraries.
+
+One or more groups of properties may be specified in a single call to
+the ``TARGETS`` form of this command. A target may be installed more than
+once to different locations. Consider hypothetical targets ``myExe``,
+``mySharedLib``, and ``myStaticLib``. The code:
+
+.. code-block:: cmake
+
+ install(TARGETS myExe mySharedLib myStaticLib
+ RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib
+ ARCHIVE DESTINATION lib/static)
+ install(TARGETS mySharedLib DESTINATION /some/full/path)
+
+will install ``myExe`` to ``<prefix>/bin`` and ``myStaticLib`` to
+``<prefix>/lib/static``. On non-DLL platforms ``mySharedLib`` will be
+installed to ``<prefix>/lib`` and ``/some/full/path``. On DLL platforms
+the ``mySharedLib`` DLL will be installed to ``<prefix>/bin`` and
+``/some/full/path`` and its import library will be installed to
+``<prefix>/lib/static`` and ``/some/full/path``.
+
+The ``EXPORT`` option associates the installed target files with an
+export called ``<export-name>``. It must appear before any ``RUNTIME``,
+``LIBRARY``, or ``ARCHIVE`` options. To actually install the export
+file itself, call ``install(EXPORT)``, documented below.
+
+Installing a target with the :prop_tgt:`EXCLUDE_FROM_ALL` target property
+set to ``TRUE`` has undefined behavior.
+
+------------------------------------------------------------------------------
+
+::
+
+ install(<FILES|PROGRAMS> files... DESTINATION <dir>
+ [PERMISSIONS permissions...]
+ [CONFIGURATIONS [Debug|Release|...]]
+ [COMPONENT <component>]
+ [RENAME <name>] [OPTIONAL])
+
+The ``FILES`` form specifies rules for installing files for a project.
+File names given as relative paths are interpreted with respect to the
+current source directory. Files installed by this form are by default
+given permissions ``OWNER_WRITE``, ``OWNER_READ``, ``GROUP_READ``, and
+``WORLD_READ`` if no ``PERMISSIONS`` argument is given.
+
+The ``PROGRAMS`` form is identical to the ``FILES`` form except that the
+default permissions for the installed file also include ``OWNER_EXECUTE``,
+``GROUP_EXECUTE``, and ``WORLD_EXECUTE``. This form is intended to install
+programs that are not targets, such as shell scripts. Use the ``TARGETS``
+form to install targets built within the project.
+
+The list of ``files...`` given to ``FILES`` or ``PROGRAMS`` may use
+"generator expressions" with the syntax ``$<...>``. See the
+:manual:`cmake-generator-expressions(7)` manual for available expressions.
+However, if any item begins in a generator expression it must evaluate
+to a full path.
+
+------------------------------------------------------------------------------
+
+::
+
+ install(DIRECTORY dirs... DESTINATION <dir>
+ [FILE_PERMISSIONS permissions...]
+ [DIRECTORY_PERMISSIONS permissions...]
+ [USE_SOURCE_PERMISSIONS] [OPTIONAL]
+ [CONFIGURATIONS [Debug|Release|...]]
+ [COMPONENT <component>] [FILES_MATCHING]
+ [[PATTERN <pattern> | REGEX <regex>]
+ [EXCLUDE] [PERMISSIONS permissions...]] [...])
+
+The ``DIRECTORY`` form installs contents of one or more directories to a
+given destination. The directory structure is copied verbatim to the
+destination. The last component of each directory name is appended to
+the destination directory but a trailing slash may be used to avoid
+this because it leaves the last component empty. Directory names
+given as relative paths are interpreted with respect to the current
+source directory. If no input directory names are given the
+destination directory will be created but nothing will be installed
+into it. The ``FILE_PERMISSIONS`` and ``DIRECTORY_PERMISSIONS`` options
+specify permissions given to files and directories in the destination.
+If ``USE_SOURCE_PERMISSIONS`` is specified and ``FILE_PERMISSIONS`` is not,
+file permissions will be copied from the source directory structure.
+If no permissions are specified files will be given the default
+permissions specified in the ``FILES`` form of the command, and the
+directories will be given the default permissions specified in the
+``PROGRAMS`` form of the command.
+
+Installation of directories may be controlled with fine granularity
+using the ``PATTERN`` or ``REGEX`` options. These "match" options specify a
+globbing pattern or regular expression to match directories or files
+encountered within input directories. They may be used to apply
+certain options (see below) to a subset of the files and directories
+encountered. The full path to each input file or directory (with
+forward slashes) is matched against the expression. A ``PATTERN`` will
+match only complete file names: the portion of the full path matching
+the pattern must occur at the end of the file name and be preceded by
+a slash. A ``REGEX`` will match any portion of the full path but it may
+use ``/`` and ``$`` to simulate the ``PATTERN`` behavior. By default all
+files and directories are installed whether or not they are matched.
+The ``FILES_MATCHING`` option may be given before the first match option
+to disable installation of files (but not directories) not matched by
+any expression. For example, the code
+
+.. code-block:: cmake
+
+ install(DIRECTORY src/ DESTINATION include/myproj
+ FILES_MATCHING PATTERN "*.h")
+
+will extract and install header files from a source tree.
+
+Some options may follow a ``PATTERN`` or ``REGEX`` expression and are applied
+only to files or directories matching them. The ``EXCLUDE`` option will
+skip the matched file or directory. The ``PERMISSIONS`` option overrides
+the permissions setting for the matched file or directory. For
+example the code
+
+.. code-block:: cmake
+
+ install(DIRECTORY icons scripts/ DESTINATION share/myproj
+ PATTERN "CVS" EXCLUDE
+ PATTERN "scripts/*"
+ PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
+ GROUP_EXECUTE GROUP_READ)
+
+will install the ``icons`` directory to ``share/myproj/icons`` and the
+``scripts`` directory to ``share/myproj``. The icons will get default
+file permissions, the scripts will be given specific permissions, and any
+``CVS`` directories will be excluded.
+
+------------------------------------------------------------------------------
+
+::
+
+ install([[SCRIPT <file>] [CODE <code>]] [...])
+
+The ``SCRIPT`` form will invoke the given CMake script files during
+installation. If the script file name is a relative path it will be
+interpreted with respect to the current source directory. The ``CODE``
+form will invoke the given CMake code during installation. Code is
+specified as a single argument inside a double-quoted string. For
+example, the code
+
+.. code-block:: cmake
+
+ install(CODE "MESSAGE(\"Sample install message.\")")
+
+will print a message during installation.
+
+------------------------------------------------------------------------------
+
+::
+
+ install(EXPORT <export-name> DESTINATION <dir>
+ [NAMESPACE <namespace>] [FILE <name>.cmake]
+ [PERMISSIONS permissions...]
+ [CONFIGURATIONS [Debug|Release|...]]
+ [EXPORT_LINK_INTERFACE_LIBRARIES]
+ [COMPONENT <component>])
+
+The ``EXPORT`` form generates and installs a CMake file containing code to
+import targets from the installation tree into another project.
+Target installations are associated with the export ``<export-name>``
+using the ``EXPORT`` option of the ``install(TARGETS)`` signature
+documented above. The ``NAMESPACE`` option will prepend ``<namespace>`` to
+the target names as they are written to the import file. By default
+the generated file will be called ``<export-name>.cmake`` but the ``FILE``
+option may be used to specify a different name. The value given to
+the ``FILE`` option must be a file name with the ``.cmake`` extension.
+If a ``CONFIGURATIONS`` option is given then the file will only be installed
+when one of the named configurations is installed. Additionally, the
+generated import file will reference only the matching target
+configurations. The ``EXPORT_LINK_INTERFACE_LIBRARIES`` keyword, if
+present, causes the contents of the properties matching
+``(IMPORTED_)?LINK_INTERFACE_LIBRARIES(_<CONFIG>)?`` to be exported, when
+policy :policy:`CMP0022` is ``NEW``. If a ``COMPONENT`` option is
+specified that does not match that given to the targets associated with
+``<export-name>`` the behavior is undefined. If a library target is
+included in the export but a target to which it links is not included
+the behavior is unspecified.
+
+The ``EXPORT`` form is useful to help outside projects use targets built
+and installed by the current project. For example, the code
+
+.. code-block:: cmake
+
+ install(TARGETS myexe EXPORT myproj DESTINATION bin)
+ install(EXPORT myproj NAMESPACE mp_ DESTINATION lib/myproj)
+
+will install the executable myexe to ``<prefix>/bin`` and code to import
+it in the file ``<prefix>/lib/myproj/myproj.cmake``. An outside project
+may load this file with the include command and reference the ``myexe``
+executable from the installation tree using the imported target name
+``mp_myexe`` as if the target were built in its own tree.
+
+.. note::
+ This command supercedes the :command:`install_targets` command and
+ the :prop_tgt:`PRE_INSTALL_SCRIPT` and :prop_tgt:`POST_INSTALL_SCRIPT`
+ target properties. It also replaces the ``FILES`` forms of the
+ :command:`install_files` and :command:`install_programs` commands.
+ The processing order of these install rules relative to
+ those generated by :command:`install_targets`,
+ :command:`install_files`, and :command:`install_programs` commands
+ is not defined.
diff --git a/Help/command/install_files.rst b/Help/command/install_files.rst
new file mode 100644
index 0000000..7b6bd81
--- /dev/null
+++ b/Help/command/install_files.rst
@@ -0,0 +1,39 @@
+install_files
+-------------
+
+Deprecated. Use the install(FILES ) command instead.
+
+This command has been superceded by the install command. It is
+provided for compatibility with older CMake code. The FILES form is
+directly replaced by the FILES form of the install command. The
+regexp form can be expressed more clearly using the GLOB form of the
+file command.
+
+::
+
+ install_files(<dir> extension file file ...)
+
+Create rules to install the listed files with the given extension into
+the given directory. Only files existing in the current source tree
+or its corresponding location in the binary tree may be listed. If a
+file specified already has an extension, that extension will be
+removed first. This is useful for providing lists of source files
+such as foo.cxx when you want the corresponding foo.h to be installed.
+A typical extension is '.h'.
+
+::
+
+ install_files(<dir> regexp)
+
+Any files in the current source directory that match the regular
+expression will be installed.
+
+::
+
+ install_files(<dir> FILES file file ...)
+
+Any files listed after the FILES keyword will be installed explicitly
+from the names given. Full paths are allowed in this form.
+
+The directory <dir> is relative to the installation prefix, which is
+stored in the variable CMAKE_INSTALL_PREFIX.
diff --git a/Help/command/install_programs.rst b/Help/command/install_programs.rst
new file mode 100644
index 0000000..26789d8
--- /dev/null
+++ b/Help/command/install_programs.rst
@@ -0,0 +1,33 @@
+install_programs
+----------------
+
+Deprecated. Use the install(PROGRAMS ) command instead.
+
+This command has been superceded by the install command. It is
+provided for compatibility with older CMake code. The FILES form is
+directly replaced by the PROGRAMS form of the INSTALL command. The
+regexp form can be expressed more clearly using the GLOB form of the
+FILE command.
+
+::
+
+ install_programs(<dir> file1 file2 [file3 ...])
+ install_programs(<dir> FILES file1 [file2 ...])
+
+Create rules to install the listed programs into the given directory.
+Use the FILES argument to guarantee that the file list version of the
+command will be used even when there is only one argument.
+
+::
+
+ install_programs(<dir> regexp)
+
+In the second form any program in the current source directory that
+matches the regular expression will be installed.
+
+This command is intended to install programs that are not built by
+cmake, such as shell scripts. See the TARGETS form of the INSTALL
+command to create installation rules for targets built by cmake.
+
+The directory <dir> is relative to the installation prefix, which is
+stored in the variable CMAKE_INSTALL_PREFIX.
diff --git a/Help/command/install_targets.rst b/Help/command/install_targets.rst
new file mode 100644
index 0000000..caa933f
--- /dev/null
+++ b/Help/command/install_targets.rst
@@ -0,0 +1,17 @@
+install_targets
+---------------
+
+Deprecated. Use the install(TARGETS ) command instead.
+
+This command has been superceded by the install command. It is
+provided for compatibility with older CMake code.
+
+::
+
+ install_targets(<dir> [RUNTIME_DIRECTORY dir] target target)
+
+Create rules to install the listed targets into the given directory.
+The directory <dir> is relative to the installation prefix, which is
+stored in the variable CMAKE_INSTALL_PREFIX. If RUNTIME_DIRECTORY is
+specified, then on systems with special runtime files (Windows DLL),
+the files will be copied to that directory.
diff --git a/Help/command/link_directories.rst b/Help/command/link_directories.rst
new file mode 100644
index 0000000..bdc94cd
--- /dev/null
+++ b/Help/command/link_directories.rst
@@ -0,0 +1,19 @@
+link_directories
+----------------
+
+Specify directories in which the linker will look for libraries.
+
+::
+
+ link_directories(directory1 directory2 ...)
+
+Specify the paths in which the linker should search for libraries.
+The command will apply only to targets created after it is called.
+Relative paths given to this command are interpreted as relative to
+the current source directory, see CMP0015.
+
+Note that this command is rarely necessary. Library locations
+returned by find_package() and find_library() are absolute paths.
+Pass these absolute library file paths directly to the
+target_link_libraries() command. CMake will ensure the linker finds
+them.
diff --git a/Help/command/link_libraries.rst b/Help/command/link_libraries.rst
new file mode 100644
index 0000000..d690c9b
--- /dev/null
+++ b/Help/command/link_libraries.rst
@@ -0,0 +1,16 @@
+link_libraries
+--------------
+
+Deprecated. Use the target_link_libraries() command instead.
+
+Link libraries to all targets added later.
+
+::
+
+ link_libraries(library1 <debug | optimized> library2 ...)
+
+Specify a list of libraries to be linked into any following targets
+(typically added with the add_executable or add_library calls). This
+command is passed down to all subdirectories. The debug and optimized
+strings may be used to indicate that the next library listed is to be
+used only for that specific type of build.
diff --git a/Help/command/list.rst b/Help/command/list.rst
new file mode 100644
index 0000000..aeb1e94
--- /dev/null
+++ b/Help/command/list.rst
@@ -0,0 +1,61 @@
+list
+----
+
+List operations.
+
+::
+
+ list(LENGTH <list> <output variable>)
+ list(GET <list> <element index> [<element index> ...]
+ <output variable>)
+ list(APPEND <list> [<element> ...])
+ list(FIND <list> <value> <output variable>)
+ list(INSERT <list> <element_index> <element> [<element> ...])
+ list(REMOVE_ITEM <list> <value> [<value> ...])
+ list(REMOVE_AT <list> <index> [<index> ...])
+ list(REMOVE_DUPLICATES <list>)
+ list(REVERSE <list>)
+ list(SORT <list>)
+
+LENGTH will return a given list's length.
+
+GET will return list of elements specified by indices from the list.
+
+APPEND will append elements to the list.
+
+FIND will return the index of the element specified in the list or -1
+if it wasn't found.
+
+INSERT will insert elements to the list to the specified location.
+
+REMOVE_AT and REMOVE_ITEM will remove items from the list. The
+difference is that REMOVE_ITEM will remove the given items, while
+REMOVE_AT will remove the items at the given indices.
+
+REMOVE_DUPLICATES will remove duplicated items in the list.
+
+REVERSE reverses the contents of the list in-place.
+
+SORT sorts the list in-place alphabetically.
+
+The list subcommands APPEND, INSERT, REMOVE_AT, REMOVE_ITEM,
+REMOVE_DUPLICATES, REVERSE and SORT may create new values for the list
+within the current CMake variable scope. Similar to the SET command,
+the LIST command creates new variable values in the current scope,
+even if the list itself is actually defined in a parent scope. To
+propagate the results of these operations upwards, use SET with
+PARENT_SCOPE, SET with CACHE INTERNAL, or some other means of value
+propagation.
+
+NOTES: A list in cmake is a ; separated group of strings. To create a
+list the set command can be used. For example, set(var a b c d e)
+creates a list with a;b;c;d;e, and set(var "a b c d e") creates a
+string or a list with one item in it. (Note macro arguments are not
+variables, and therefore cannot be used in LIST commands.)
+
+When specifying index values, if <element index> is 0 or greater, it
+is indexed from the beginning of the list, with 0 representing the
+first list element. If <element index> is -1 or lesser, it is indexed
+from the end of the list, with -1 representing the last list element.
+Be careful when counting with negative indices: they do not start from
+0. -0 is equivalent to 0, the first list element.
diff --git a/Help/command/load_cache.rst b/Help/command/load_cache.rst
new file mode 100644
index 0000000..b7484cb
--- /dev/null
+++ b/Help/command/load_cache.rst
@@ -0,0 +1,27 @@
+load_cache
+----------
+
+Load in the values from another project's CMake cache.
+
+::
+
+ load_cache(pathToCacheFile READ_WITH_PREFIX
+ prefix entry1...)
+
+Read the cache and store the requested entries in variables with their
+name prefixed with the given prefix. This only reads the values, and
+does not create entries in the local project's cache.
+
+::
+
+ load_cache(pathToCacheFile [EXCLUDE entry1...]
+ [INCLUDE_INTERNALS entry1...])
+
+Load in the values from another cache and store them in the local
+project's cache as internal entries. This is useful for a project
+that depends on another project built in a different tree. EXCLUDE
+option can be used to provide a list of entries to be excluded.
+INCLUDE_INTERNALS can be used to provide a list of internal entries to
+be included. Normally, no internal entries are brought in. Use of
+this form of the command is strongly discouraged, but it is provided
+for backward compatibility.
diff --git a/Help/command/load_command.rst b/Help/command/load_command.rst
new file mode 100644
index 0000000..fc316d4
--- /dev/null
+++ b/Help/command/load_command.rst
@@ -0,0 +1,23 @@
+load_command
+------------
+
+Disallowed. See CMake Policy :policy:`CMP0031`.
+
+Load a command into a running CMake.
+
+::
+
+ load_command(COMMAND_NAME <loc1> [loc2 ...])
+
+The given locations are searched for a library whose name is
+cmCOMMAND_NAME. If found, it is loaded as a module and the command is
+added to the set of available CMake commands. Usually, TRY_COMPILE is
+used before this command to compile the module. If the command is
+successfully loaded a variable named
+
+::
+
+ CMAKE_LOADED_COMMAND_<COMMAND_NAME>
+
+will be set to the full path of the module that was loaded. Otherwise
+the variable will not be set.
diff --git a/Help/command/macro.rst b/Help/command/macro.rst
new file mode 100644
index 0000000..258dc50
--- /dev/null
+++ b/Help/command/macro.rst
@@ -0,0 +1,67 @@
+macro
+-----
+
+Start recording a macro for later invocation as a command.
+
+::
+
+ macro(<name> [arg1 [arg2 [arg3 ...]]])
+ COMMAND1(ARGS ...)
+ COMMAND2(ARGS ...)
+ ...
+ endmacro(<name>)
+
+Define a macro named <name> that takes arguments named arg1 arg2 arg3
+(...). Commands listed after macro, but before the matching endmacro,
+are not invoked until the macro is invoked. When it is invoked, the
+commands recorded in the macro are first modified by replacing formal
+parameters (``${arg1}``) with the arguments passed, and then invoked as
+normal commands. In addition to referencing the formal parameters you
+can reference the values ``${ARGC}`` which will be set to the number of
+arguments passed into the function as well as ``${ARGV0}`` ``${ARGV1}``
+``${ARGV2}`` ... which will have the actual values of the arguments
+passed in. This facilitates creating macros with optional arguments.
+Additionally ``${ARGV}`` holds the list of all arguments given to the
+macro and ``${ARGN}`` holds the list of arguments past the last expected
+argument.
+
+See the cmake_policy() command documentation for the behavior of
+policies inside macros.
+
+Macro Argument Caveats
+^^^^^^^^^^^^^^^^^^^^^^
+
+Note that the parameters to a macro and values such as ``ARGN`` are
+not variables in the usual CMake sense. They are string
+replacements much like the C preprocessor would do with a macro.
+Therefore you will NOT be able to use commands like::
+
+ if(ARGV1) # ARGV1 is not a variable
+ foreach(loop_var IN LISTS ARGN) # ARGN is not a variable
+
+In the first case you can use ``if(${ARGV1})``, in the second case, you can
+use ``foreach(loop_var ${ARGN})`` but this will skip empty arguments.
+If you need to include them, you can use::
+
+ set(list_var "${ARGN}")
+ foreach(loop_var IN LISTS list_var)
+
+Note that if you have a variable with the same name in the scope from
+which the macro is called, using unreferenced names will use the
+existing variable instead of the arguments. For example::
+
+ macro(_BAR)
+ foreach(arg IN LISTS ARGN)
+ [...]
+ endforeach()
+ endmacro()
+
+ function(_FOO)
+ _bar(x y z)
+ endfunction()
+
+ _foo(a b c)
+
+Will loop over ``a;b;c`` and not over ``x;y;z`` as one might be expecting.
+If you want true CMake variables and/or better CMake scope control you
+should look at the function command.
diff --git a/Help/command/make_directory.rst b/Help/command/make_directory.rst
new file mode 100644
index 0000000..44dbe97
--- /dev/null
+++ b/Help/command/make_directory.rst
@@ -0,0 +1,12 @@
+make_directory
+--------------
+
+Deprecated. Use the file(MAKE_DIRECTORY ) command instead.
+
+::
+
+ make_directory(directory)
+
+Creates the specified directory. Full paths should be given. Any
+parent directories that do not exist will also be created. Use with
+care.
diff --git a/Help/command/mark_as_advanced.rst b/Help/command/mark_as_advanced.rst
new file mode 100644
index 0000000..30b1289
--- /dev/null
+++ b/Help/command/mark_as_advanced.rst
@@ -0,0 +1,19 @@
+mark_as_advanced
+----------------
+
+Mark cmake cached variables as advanced.
+
+::
+
+ mark_as_advanced([CLEAR|FORCE] VAR [VAR2 ...])
+
+Mark the named cached variables as advanced. An advanced variable
+will not be displayed in any of the cmake GUIs unless the show
+advanced option is on. If CLEAR is the first argument advanced
+variables are changed back to unadvanced. If FORCE is the first
+argument, then the variable is made advanced. If neither FORCE nor
+CLEAR is specified, new values will be marked as advanced, but if the
+variable already has an advanced/non-advanced state, it will not be
+changed.
+
+It does nothing in script mode.
diff --git a/Help/command/math.rst b/Help/command/math.rst
new file mode 100644
index 0000000..38fde1d
--- /dev/null
+++ b/Help/command/math.rst
@@ -0,0 +1,13 @@
+math
+----
+
+Mathematical expressions.
+
+::
+
+ math(EXPR <output variable> <math expression>)
+
+EXPR evaluates mathematical expression and returns result in the
+output variable. Example mathematical expression is '5 * ( 10 + 13
+)'. Supported operators are + - * / % | & ^ ~ << >> * / %. They have
+the same meaning as they do in C code.
diff --git a/Help/command/message.rst b/Help/command/message.rst
new file mode 100644
index 0000000..a20325a
--- /dev/null
+++ b/Help/command/message.rst
@@ -0,0 +1,33 @@
+message
+-------
+
+Display a message to the user.
+
+::
+
+ message([<mode>] "message to display" ...)
+
+The optional <mode> keyword determines the type of message:
+
+::
+
+ (none) = Important information
+ STATUS = Incidental information
+ WARNING = CMake Warning, continue processing
+ AUTHOR_WARNING = CMake Warning (dev), continue processing
+ SEND_ERROR = CMake Error, continue processing,
+ but skip generation
+ FATAL_ERROR = CMake Error, stop processing and generation
+ DEPRECATION = CMake Deprecation Error or Warning if variable
+ CMAKE_ERROR_DEPRECATED or CMAKE_WARN_DEPRECATED
+ is enabled, respectively, else no message.
+
+The CMake command-line tool displays STATUS messages on stdout and all
+other message types on stderr. The CMake GUI displays all messages in
+its log area. The interactive dialogs (ccmake and CMakeSetup) show
+STATUS messages one at a time on a status line and other messages in
+interactive pop-up boxes.
+
+CMake Warning and Error message text displays using a simple markup
+language. Non-indented text is formatted in line-wrapped paragraphs
+delimited by newlines. Indented text is considered pre-formatted.
diff --git a/Help/command/option.rst b/Help/command/option.rst
new file mode 100644
index 0000000..244ed07
--- /dev/null
+++ b/Help/command/option.rst
@@ -0,0 +1,15 @@
+option
+------
+
+Provides an option that the user can optionally select.
+
+::
+
+ option(<option_variable> "help string describing option"
+ [initial value])
+
+Provide an option for the user to select as ON or OFF. If no initial
+value is provided, OFF is used.
+
+If you have options that depend on the values of other options, see
+the module help for CMakeDependentOption.
diff --git a/Help/command/output_required_files.rst b/Help/command/output_required_files.rst
new file mode 100644
index 0000000..5e13557
--- /dev/null
+++ b/Help/command/output_required_files.rst
@@ -0,0 +1,19 @@
+output_required_files
+---------------------
+
+Disallowed. See CMake Policy :policy:`CMP0032`.
+
+Approximate C preprocessor dependency scanning.
+
+This command exists only because ancient CMake versions provided it.
+CMake handles preprocessor dependency scanning automatically using a
+more advanced scanner.
+
+::
+
+ output_required_files(srcfile outputfile)
+
+Outputs a list of all the source files that are required by the
+specified srcfile. This list is written into outputfile. This is
+similar to writing out the dependencies for srcfile except that it
+jumps from .h files into .cxx, .c and .cpp files if possible.
diff --git a/Help/command/project.rst b/Help/command/project.rst
new file mode 100644
index 0000000..c601a01
--- /dev/null
+++ b/Help/command/project.rst
@@ -0,0 +1,57 @@
+project
+-------
+
+Set a name, version, and enable languages for the entire project.
+
+.. code-block:: cmake
+
+ project(<PROJECT-NAME> [LANGUAGES] [<language-name>...])
+ project(<PROJECT-NAME>
+ [VERSION <major>[.<minor>[.<patch>[.<tweak>]]]]
+ [LANGUAGES <language-name>...])
+
+Sets the name of the project and stores the name in the
+:variable:`PROJECT_NAME` variable. Additionally this sets variables
+
+* :variable:`PROJECT_SOURCE_DIR`,
+ :variable:`<PROJECT-NAME>_SOURCE_DIR`
+* :variable:`PROJECT_BINARY_DIR`,
+ :variable:`<PROJECT-NAME>_BINARY_DIR`
+
+If ``VERSION`` is specified, given components must be non-negative integers.
+If ``VERSION`` is not specified, the default version is the empty string.
+The ``VERSION`` option may not be used unless policy :policy:`CMP0048` is
+set to ``NEW``.
+
+The :command:`project()` command stores the version number and its components
+in variables
+
+* :variable:`PROJECT_VERSION`,
+ :variable:`<PROJECT-NAME>_VERSION`
+* :variable:`PROJECT_VERSION_MAJOR`,
+ :variable:`<PROJECT-NAME>_VERSION_MAJOR`
+* :variable:`PROJECT_VERSION_MINOR`,
+ :variable:`<PROJECT-NAME>_VERSION_MINOR`
+* :variable:`PROJECT_VERSION_PATCH`,
+ :variable:`<PROJECT-NAME>_VERSION_PATCH`
+* :variable:`PROJECT_VERSION_TWEAK`,
+ :variable:`<PROJECT-NAME>_VERSION_TWEAK`
+
+Variables corresponding to unspecified versions are set to the empty string
+(if policy :policy:`CMP0048` is set to ``NEW``).
+
+Optionally you can specify which languages your project supports.
+Example languages are ``C``, ``CXX`` (i.e. C++), ``Fortran``, etc.
+By default ``C`` and ``CXX`` are enabled if no language options are
+given. Specify language ``NONE``, or use the ``LANGUAGES`` keyword
+and list no languages, to skip enabling any languages.
+
+If a variable exists called :variable:`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE`,
+the file pointed to by that variable will be included as the last step of the
+project command.
+
+The top-level ``CMakeLists.txt`` file for a project must contain a
+literal, direct call to the :command:`project` command; loading one
+through the :command:`include` command is not sufficient. If no such
+call exists CMake will implicitly add one to the top that enables the
+default languages (``C`` and ``CXX``).
diff --git a/Help/command/qt_wrap_cpp.rst b/Help/command/qt_wrap_cpp.rst
new file mode 100644
index 0000000..81bbc06
--- /dev/null
+++ b/Help/command/qt_wrap_cpp.rst
@@ -0,0 +1,12 @@
+qt_wrap_cpp
+-----------
+
+Create Qt Wrappers.
+
+::
+
+ qt_wrap_cpp(resultingLibraryName DestName
+ SourceLists ...)
+
+Produce moc files for all the .h files listed in the SourceLists. The
+moc files will be added to the library using the DestName source list.
diff --git a/Help/command/qt_wrap_ui.rst b/Help/command/qt_wrap_ui.rst
new file mode 100644
index 0000000..4e033a8
--- /dev/null
+++ b/Help/command/qt_wrap_ui.rst
@@ -0,0 +1,14 @@
+qt_wrap_ui
+----------
+
+Create Qt user interfaces Wrappers.
+
+::
+
+ qt_wrap_ui(resultingLibraryName HeadersDestName
+ SourcesDestName SourceLists ...)
+
+Produce .h and .cxx files for all the .ui files listed in the
+SourceLists. The .h files will be added to the library using the
+HeadersDestNamesource list. The .cxx files will be added to the
+library using the SourcesDestNamesource list.
diff --git a/Help/command/remove.rst b/Help/command/remove.rst
new file mode 100644
index 0000000..ddf0e9a
--- /dev/null
+++ b/Help/command/remove.rst
@@ -0,0 +1,12 @@
+remove
+------
+
+Deprecated. Use the list(REMOVE_ITEM ) command instead.
+
+::
+
+ remove(VAR VALUE VALUE ...)
+
+Removes VALUE from the variable VAR. This is typically used to remove
+entries from a vector (e.g. semicolon separated list). VALUE is
+expanded.
diff --git a/Help/command/remove_definitions.rst b/Help/command/remove_definitions.rst
new file mode 100644
index 0000000..566da6e
--- /dev/null
+++ b/Help/command/remove_definitions.rst
@@ -0,0 +1,11 @@
+remove_definitions
+------------------
+
+Removes -D define flags added by add_definitions.
+
+::
+
+ remove_definitions(-DFOO -DBAR ...)
+
+Removes flags (added by add_definitions) from the compiler command
+line for sources in the current directory and below.
diff --git a/Help/command/return.rst b/Help/command/return.rst
new file mode 100644
index 0000000..899470c
--- /dev/null
+++ b/Help/command/return.rst
@@ -0,0 +1,18 @@
+return
+------
+
+Return from a file, directory or function.
+
+::
+
+ return()
+
+Returns from a file, directory or function. When this command is
+encountered in an included file (via include() or find_package()), it
+causes processing of the current file to stop and control is returned
+to the including file. If it is encountered in a file which is not
+included by another file, e.g. a CMakeLists.txt, control is returned
+to the parent directory if there is one. If return is called in a
+function, control is returned to the caller of the function. Note
+that a macro is not a function and does not handle return like a
+function does.
diff --git a/Help/command/separate_arguments.rst b/Help/command/separate_arguments.rst
new file mode 100644
index 0000000..a876595
--- /dev/null
+++ b/Help/command/separate_arguments.rst
@@ -0,0 +1,31 @@
+separate_arguments
+------------------
+
+Parse space-separated arguments into a semicolon-separated list.
+
+::
+
+ separate_arguments(<var> <UNIX|WINDOWS>_COMMAND "<args>")
+
+Parses a unix- or windows-style command-line string "<args>" and
+stores a semicolon-separated list of the arguments in <var>. The
+entire command line must be given in one "<args>" argument.
+
+The UNIX_COMMAND mode separates arguments by unquoted whitespace. It
+recognizes both single-quote and double-quote pairs. A backslash
+escapes the next literal character (\" is "); there are no special
+escapes (\n is just n).
+
+The WINDOWS_COMMAND mode parses a windows command-line using the same
+syntax the runtime library uses to construct argv at startup. It
+separates arguments by whitespace that is not double-quoted.
+Backslashes are literal unless they precede double-quotes. See the
+MSDN article "Parsing C Command-Line Arguments" for details.
+
+::
+
+ separate_arguments(VARIABLE)
+
+Convert the value of VARIABLE to a semi-colon separated list. All
+spaces are replaced with ';'. This helps with generating command
+lines.
diff --git a/Help/command/set.rst b/Help/command/set.rst
new file mode 100644
index 0000000..7a59550
--- /dev/null
+++ b/Help/command/set.rst
@@ -0,0 +1,116 @@
+set
+---
+
+Set a CMake, cache or environment variable to a given value.
+
+::
+
+ set(<variable> <value>
+ [[CACHE <type> <docstring> [FORCE]] | PARENT_SCOPE])
+
+Within CMake sets <variable> to the value <value>. <value> is
+expanded before <variable> is set to it. Normally, set will set a
+regular CMake variable. If CACHE is present, then the <variable> is
+put in the cache instead, unless it is already in the cache. See
+section 'Variable types in CMake' below for details of regular and
+cache variables and their interactions. If CACHE is used, <type> and
+<docstring> are required. <type> is used by the CMake GUI to choose a
+widget with which the user sets a value. The value for <type> may be
+one of
+
+::
+
+ FILEPATH = File chooser dialog.
+ PATH = Directory chooser dialog.
+ STRING = Arbitrary string.
+ BOOL = Boolean ON/OFF checkbox.
+ INTERNAL = No GUI entry (used for persistent variables).
+
+If <type> is INTERNAL, the cache variable is marked as internal, and
+will not be shown to the user in tools like cmake-gui. This is
+intended for values that should be persisted in the cache, but which
+users should not normally change. INTERNAL implies FORCE.
+
+Normally, set(...CACHE...) creates cache variables, but does not
+modify them. If FORCE is specified, the value of the cache variable
+is set, even if the variable is already in the cache. This should
+normally be avoided, as it will remove any changes to the cache
+variable's value by the user.
+
+If PARENT_SCOPE is present, the variable will be set in the scope
+above the current scope. Each new directory or function creates a new
+scope. This command will set the value of a variable into the parent
+directory or calling function (whichever is applicable to the case at
+hand). PARENT_SCOPE cannot be combined with CACHE.
+
+If <value> is not specified then the variable is removed instead of
+set. See also: the unset() command.
+
+::
+
+ set(<variable> <value1> ... <valueN>)
+
+In this case <variable> is set to a semicolon separated list of
+values.
+
+<variable> can be an environment variable such as:
+
+::
+
+ set( ENV{PATH} /home/martink )
+
+in which case the environment variable will be set.
+
+*** Variable types in CMake ***
+
+In CMake there are two types of variables: normal variables and cache
+variables. Normal variables are meant for the internal use of the
+script (just like variables in most programming languages); they are
+not persisted across CMake runs. Cache variables (unless set with
+INTERNAL) are mostly intended for configuration settings where the
+first CMake run determines a suitable default value, which the user
+can then override, by editing the cache with tools such as ccmake or
+cmake-gui. Cache variables are stored in the CMake cache file, and
+are persisted across CMake runs.
+
+Both types can exist at the same time with the same name but different
+values. When ${FOO} is evaluated, CMake first looks for a normal
+variable 'FOO' in scope and uses it if set. If and only if no normal
+variable exists then it falls back to the cache variable 'FOO'.
+
+Some examples:
+
+The code 'set(FOO "x")' sets the normal variable 'FOO'. It does not
+touch the cache, but it will hide any existing cache value 'FOO'.
+
+The code 'set(FOO "x" CACHE ...)' checks for 'FOO' in the cache,
+ignoring any normal variable of the same name. If 'FOO' is in the
+cache then nothing happens to either the normal variable or the cache
+variable. If 'FOO' is not in the cache, then it is added to the
+cache.
+
+Finally, whenever a cache variable is added or modified by a command,
+CMake also *removes* the normal variable of the same name from the
+current scope so that an immediately following evaluation of it will
+expose the newly cached value.
+
+Normally projects should avoid using normal and cache variables of the
+same name, as this interaction can be hard to follow. However, in
+some situations it can be useful. One example (used by some
+projects):
+
+A project has a subproject in its source tree. The child project has
+its own CMakeLists.txt, which is included from the parent
+CMakeLists.txt using add_subdirectory(). Now, if the parent and the
+child project provide the same option (for example a compiler option),
+the parent gets the first chance to add a user-editable option to the
+cache. Normally, the child would then use the same value that the
+parent uses. However, it may be necessary to hard-code the value for
+the child project's option while still allowing the user to edit the
+value used by the parent project. The parent project can achieve this
+simply by setting a normal variable with the same name as the option
+in a scope sufficient to hide the option's cache variable from the
+child completely. The parent has already set the cache variable, so
+the child's set(...CACHE...) will do nothing, and evaluating the
+option variable will use the value from the normal variable, which
+hides the cache variable.
diff --git a/Help/command/set_directory_properties.rst b/Help/command/set_directory_properties.rst
new file mode 100644
index 0000000..834013a
--- /dev/null
+++ b/Help/command/set_directory_properties.rst
@@ -0,0 +1,15 @@
+set_directory_properties
+------------------------
+
+Set a property of the directory.
+
+::
+
+ set_directory_properties(PROPERTIES prop1 value1 prop2 value2)
+
+Set a property for the current directory and subdirectories. If the
+property is not found, CMake will report an error. The properties
+include: INCLUDE_DIRECTORIES, LINK_DIRECTORIES,
+INCLUDE_REGULAR_EXPRESSION, and ADDITIONAL_MAKE_CLEAN_FILES.
+ADDITIONAL_MAKE_CLEAN_FILES is a list of files that will be cleaned as
+a part of "make clean" stage.
diff --git a/Help/command/set_property.rst b/Help/command/set_property.rst
new file mode 100644
index 0000000..8cb963e
--- /dev/null
+++ b/Help/command/set_property.rst
@@ -0,0 +1,43 @@
+set_property
+------------
+
+Set a named property in a given scope.
+
+::
+
+ set_property(<GLOBAL |
+ DIRECTORY [dir] |
+ TARGET [target1 [target2 ...]] |
+ SOURCE [src1 [src2 ...]] |
+ TEST [test1 [test2 ...]] |
+ CACHE [entry1 [entry2 ...]]>
+ [APPEND] [APPEND_STRING]
+ PROPERTY <name> [value1 [value2 ...]])
+
+Set one property on zero or more objects of a scope. The first
+argument determines the scope in which the property is set. It must
+be one of the following:
+
+GLOBAL scope is unique and does not accept a name.
+
+DIRECTORY scope defaults to the current directory but another
+directory (already processed by CMake) may be named by full or
+relative path.
+
+TARGET scope may name zero or more existing targets.
+
+SOURCE scope may name zero or more source files. Note that source
+file properties are visible only to targets added in the same
+directory (CMakeLists.txt).
+
+TEST scope may name zero or more existing tests.
+
+CACHE scope must name zero or more cache existing entries.
+
+The required PROPERTY option is immediately followed by the name of
+the property to set. Remaining arguments are used to compose the
+property value in the form of a semicolon-separated list. If the
+APPEND option is given the list is appended to any existing property
+value.If the APPEND_STRING option is given the string is append to any
+existing property value as string, i.e. it results in a longer string
+and not a list of strings.
diff --git a/Help/command/set_source_files_properties.rst b/Help/command/set_source_files_properties.rst
new file mode 100644
index 0000000..8ea02a3
--- /dev/null
+++ b/Help/command/set_source_files_properties.rst
@@ -0,0 +1,15 @@
+set_source_files_properties
+---------------------------
+
+Source files can have properties that affect how they are built.
+
+::
+
+ set_source_files_properties([file1 [file2 [...]]]
+ PROPERTIES prop1 value1
+ [prop2 value2 [...]])
+
+Set properties associated with source files using a key/value paired
+list. See properties documentation for those known to CMake.
+Unrecognized properties are ignored. Source file properties are
+visible only to targets added in the same directory (CMakeLists.txt).
diff --git a/Help/command/set_target_properties.rst b/Help/command/set_target_properties.rst
new file mode 100644
index 0000000..f65ee24
--- /dev/null
+++ b/Help/command/set_target_properties.rst
@@ -0,0 +1,104 @@
+set_target_properties
+---------------------
+
+Targets can have properties that affect how they are built.
+
+::
+
+ set_target_properties(target1 target2 ...
+ PROPERTIES prop1 value1
+ prop2 value2 ...)
+
+Set properties on a target. The syntax for the command is to list all
+the files you want to change, and then provide the values you want to
+set next. You can use any prop value pair you want and extract it
+later with the GET_TARGET_PROPERTY command.
+
+Properties that affect the name of a target's output file are as
+follows. The PREFIX and SUFFIX properties override the default target
+name prefix (such as "lib") and suffix (such as ".so"). IMPORT_PREFIX
+and IMPORT_SUFFIX are the equivalent properties for the import library
+corresponding to a DLL (for SHARED library targets). OUTPUT_NAME sets
+the real name of a target when it is built and can be used to help
+create two targets of the same name even though CMake requires unique
+logical target names. There is also a <CONFIG>_OUTPUT_NAME that can
+set the output name on a per-configuration basis. <CONFIG>_POSTFIX
+sets a postfix for the real name of the target when it is built under
+the configuration named by <CONFIG> (in upper-case, such as
+"DEBUG_POSTFIX"). The value of this property is initialized when the
+target is created to the value of the variable CMAKE_<CONFIG>_POSTFIX
+(except for executable targets because earlier CMake versions which
+did not use this variable for executables).
+
+The LINK_FLAGS property can be used to add extra flags to the link
+step of a target. LINK_FLAGS_<CONFIG> will add to the configuration
+<CONFIG>, for example, DEBUG, RELEASE, MINSIZEREL, RELWITHDEBINFO.
+DEFINE_SYMBOL sets the name of the preprocessor symbol defined when
+compiling sources in a shared library. If not set here then it is set
+to target_EXPORTS by default (with some substitutions if the target is
+not a valid C identifier). This is useful for headers to know whether
+they are being included from inside their library or outside to
+properly setup dllexport/dllimport decorations. The COMPILE_FLAGS
+property sets additional compiler flags used to build sources within
+the target. It may also be used to pass additional preprocessor
+definitions.
+
+The LINKER_LANGUAGE property is used to change the tool used to link
+an executable or shared library. The default is set the language to
+match the files in the library. CXX and C are common values for this
+property.
+
+For shared libraries VERSION and SOVERSION can be used to specify the
+build version and API version respectively. When building or
+installing appropriate symlinks are created if the platform supports
+symlinks and the linker supports so-names. If only one of both is
+specified the missing is assumed to have the same version number. For
+executables VERSION can be used to specify the build version. When
+building or installing appropriate symlinks are created if the
+platform supports symlinks. For shared libraries and executables on
+Windows the VERSION attribute is parsed to extract a "major.minor"
+version number. These numbers are used as the image version of the
+binary.
+
+There are a few properties used to specify RPATH rules. INSTALL_RPATH
+is a semicolon-separated list specifying the rpath to use in installed
+targets (for platforms that support it). INSTALL_RPATH_USE_LINK_PATH
+is a boolean that if set to true will append directories in the linker
+search path and outside the project to the INSTALL_RPATH.
+SKIP_BUILD_RPATH is a boolean specifying whether to skip automatic
+generation of an rpath allowing the target to run from the build tree.
+BUILD_WITH_INSTALL_RPATH is a boolean specifying whether to link the
+target in the build tree with the INSTALL_RPATH. This takes
+precedence over SKIP_BUILD_RPATH and avoids the need for relinking
+before installation. INSTALL_NAME_DIR is a string specifying the
+directory portion of the "install_name" field of shared libraries on
+Mac OSX to use in the installed targets. When the target is created
+the values of the variables CMAKE_INSTALL_RPATH,
+CMAKE_INSTALL_RPATH_USE_LINK_PATH, CMAKE_SKIP_BUILD_RPATH,
+CMAKE_BUILD_WITH_INSTALL_RPATH, and CMAKE_INSTALL_NAME_DIR are used to
+initialize these properties.
+
+PROJECT_LABEL can be used to change the name of the target in an IDE
+like visual studio. VS_KEYWORD can be set to change the visual studio
+keyword, for example Qt integration works better if this is set to
+Qt4VSv1.0.
+
+VS_SCC_PROJECTNAME, VS_SCC_LOCALPATH, VS_SCC_PROVIDER and
+VS_SCC_AUXPATH can be set to add support for source control bindings
+in a Visual Studio project file.
+
+VS_GLOBAL_<variable> can be set to add a Visual Studio
+project-specific global variable. Qt integration works better if
+VS_GLOBAL_QtVersion is set to the Qt version FindQt4.cmake found. For
+example, "4.7.3"
+
+The PRE_INSTALL_SCRIPT and POST_INSTALL_SCRIPT properties are the old
+way to specify CMake scripts to run before and after installing a
+target. They are used only when the old INSTALL_TARGETS command is
+used to install the target. Use the INSTALL command instead.
+
+The EXCLUDE_FROM_DEFAULT_BUILD property is used by the visual studio
+generators. If it is set to 1 the target will not be part of the
+default build when you select "Build Solution". This can also be set
+on a per-configuration basis using
+EXCLUDE_FROM_DEFAULT_BUILD_<CONFIG>.
diff --git a/Help/command/set_tests_properties.rst b/Help/command/set_tests_properties.rst
new file mode 100644
index 0000000..82cd5d8
--- /dev/null
+++ b/Help/command/set_tests_properties.rst
@@ -0,0 +1,36 @@
+set_tests_properties
+--------------------
+
+Set a property of the tests.
+
+::
+
+ set_tests_properties(test1 [test2...] PROPERTIES prop1 value1 prop2 value2)
+
+Set a property for the tests. If the property is not found, CMake
+will report an error. Generator expressions will be expanded the same
+as supported by the test's add_test call. The properties include:
+
+WILL_FAIL: If set to true, this will invert the pass/fail flag of the
+test.
+
+PASS_REGULAR_EXPRESSION: If set, the test output will be checked
+against the specified regular expressions and at least one of the
+regular expressions has to match, otherwise the test will fail.
+
+::
+
+ Example: PASS_REGULAR_EXPRESSION "TestPassed;All ok"
+
+FAIL_REGULAR_EXPRESSION: If set, if the output will match to one of
+specified regular expressions, the test will fail.
+
+::
+
+ Example: PASS_REGULAR_EXPRESSION "[^a-z]Error;ERROR;Failed"
+
+Both PASS_REGULAR_EXPRESSION and FAIL_REGULAR_EXPRESSION expect a list
+of regular expressions.
+
+TIMEOUT: Setting this will limit the test runtime to the number of
+seconds specified.
diff --git a/Help/command/site_name.rst b/Help/command/site_name.rst
new file mode 100644
index 0000000..e17c1ee
--- /dev/null
+++ b/Help/command/site_name.rst
@@ -0,0 +1,8 @@
+site_name
+---------
+
+Set the given variable to the name of the computer.
+
+::
+
+ site_name(variable)
diff --git a/Help/command/source_group.rst b/Help/command/source_group.rst
new file mode 100644
index 0000000..6e3829c
--- /dev/null
+++ b/Help/command/source_group.rst
@@ -0,0 +1,44 @@
+source_group
+------------
+
+Define a grouping for source files in IDE project generation.
+
+.. code-block:: cmake
+
+ source_group(<name> [FILES <src>...] [REGULAR_EXPRESSION <regex>])
+
+Defines a group into which sources will be placed in project files.
+This is intended to set up file tabs in Visual Studio.
+The options are:
+
+``FILES``
+ Any source file specified explicitly will be placed in group
+ ``<name>``. Relative paths are interpreted with respect to the
+ current source directory.
+
+``REGULAR_EXPRESSION``
+ Any source file whose name matches the regular expression will
+ be placed in group ``<name>``.
+
+If a source file matches multiple groups, the *last* group that
+explicitly lists the file with ``FILES`` will be favored, if any.
+If no group explicitly lists the file, the *last* group whose
+regular expression matches the file will be favored.
+
+The ``<name>`` of the group may contain backslashes to specify subgroups:
+
+.. code-block:: cmake
+
+ source_group(outer\\inner ...)
+
+For backwards compatibility, the short-hand signature
+
+.. code-block:: cmake
+
+ source_group(<name> <regex>)
+
+is equivalent to
+
+.. code-block:: cmake
+
+ source_group(<name> REGULAR_EXPRESSION <regex>)
diff --git a/Help/command/string.rst b/Help/command/string.rst
new file mode 100644
index 0000000..af18825
--- /dev/null
+++ b/Help/command/string.rst
@@ -0,0 +1,156 @@
+string
+------
+
+String operations.
+
+::
+
+ string(REGEX MATCH <regular_expression>
+ <output variable> <input> [<input>...])
+ string(REGEX MATCHALL <regular_expression>
+ <output variable> <input> [<input>...])
+ string(REGEX REPLACE <regular_expression>
+ <replace_expression> <output variable>
+ <input> [<input>...])
+ string(REPLACE <match_string>
+ <replace_string> <output variable>
+ <input> [<input>...])
+ string(CONCAT <output variable> [<input>...])
+ string(<MD5|SHA1|SHA224|SHA256|SHA384|SHA512>
+ <output variable> <input>)
+ string(COMPARE EQUAL <string1> <string2> <output variable>)
+ string(COMPARE NOTEQUAL <string1> <string2> <output variable>)
+ string(COMPARE LESS <string1> <string2> <output variable>)
+ string(COMPARE GREATER <string1> <string2> <output variable>)
+ string(ASCII <number> [<number> ...] <output variable>)
+ string(CONFIGURE <string1> <output variable>
+ [@ONLY] [ESCAPE_QUOTES])
+ string(TOUPPER <string1> <output variable>)
+ string(TOLOWER <string1> <output variable>)
+ string(LENGTH <string> <output variable>)
+ string(SUBSTRING <string> <begin> <length> <output variable>)
+ string(STRIP <string> <output variable>)
+ string(RANDOM [LENGTH <length>] [ALPHABET <alphabet>]
+ [RANDOM_SEED <seed>] <output variable>)
+ string(FIND <string> <substring> <output variable> [REVERSE])
+ string(TIMESTAMP <output variable> [<format string>] [UTC])
+ string(MAKE_C_IDENTIFIER <input string> <output variable>)
+
+REGEX MATCH will match the regular expression once and store the match
+in the output variable.
+
+REGEX MATCHALL will match the regular expression as many times as
+possible and store the matches in the output variable as a list.
+
+REGEX REPLACE will match the regular expression as many times as
+possible and substitute the replacement expression for the match in
+the output. The replace expression may refer to paren-delimited
+subexpressions of the match using \1, \2, ..., \9. Note that two
+backslashes (\\1) are required in CMake code to get a backslash
+through argument parsing.
+
+REPLACE will replace all occurrences of match_string in the input with
+replace_string and store the result in the output.
+
+CONCAT will concatenate all the input arguments together and store
+the result in the named output variable.
+
+MD5, SHA1, SHA224, SHA256, SHA384, and SHA512 will compute a
+cryptographic hash of the input string.
+
+COMPARE EQUAL/NOTEQUAL/LESS/GREATER will compare the strings and store
+true or false in the output variable.
+
+ASCII will convert all numbers into corresponding ASCII characters.
+
+CONFIGURE will transform a string like CONFIGURE_FILE transforms a
+file.
+
+TOUPPER/TOLOWER will convert string to upper/lower characters.
+
+LENGTH will return a given string's length.
+
+SUBSTRING will return a substring of a given string. If length is -1
+the remainder of the string starting at begin will be returned.
+
+STRIP will return a substring of a given string with leading and
+trailing spaces removed.
+
+RANDOM will return a random string of given length consisting of
+characters from the given alphabet. Default length is 5 characters
+and default alphabet is all numbers and upper and lower case letters.
+If an integer RANDOM_SEED is given, its value will be used to seed the
+random number generator.
+
+FIND will return the position where the given substring was found in
+the supplied string. If the REVERSE flag was used, the command will
+search for the position of the last occurrence of the specified
+substring.
+
+The following characters have special meaning in regular expressions:
+
+::
+
+ ^ Matches at beginning of input
+ $ Matches at end of input
+ . Matches any single character
+ [ ] Matches any character(s) inside the brackets
+ [^ ] Matches any character(s) not inside the brackets
+ - Inside brackets, specifies an inclusive range between
+ characters on either side e.g. [a-f] is [abcdef]
+ To match a literal - using brackets, make it the first
+ or the last character e.g. [+*/-] matches basic
+ mathematical operators.
+ * Matches preceding pattern zero or more times
+ + Matches preceding pattern one or more times
+ ? Matches preceding pattern zero or once only
+ | Matches a pattern on either side of the |
+ () Saves a matched subexpression, which can be referenced
+ in the REGEX REPLACE operation. Additionally it is saved
+ by all regular expression-related commands, including
+ e.g. if( MATCHES ), in the variables CMAKE_MATCH_(0..9).
+
+``*``, ``+`` and ``?`` have higher precedence than concatenation. | has lower
+precedence than concatenation. This means that the regular expression
+"^ab+d$" matches "abbd" but not "ababd", and the regular expression
+"^(ab|cd)$" matches "ab" but not "abd".
+
+TIMESTAMP will write a string representation of the current date
+and/or time to the output variable.
+
+Should the command be unable to obtain a timestamp the output variable
+will be set to the empty string "".
+
+The optional UTC flag requests the current date/time representation to
+be in Coordinated Universal Time (UTC) rather than local time.
+
+The optional <format string> may contain the following format
+specifiers:
+
+::
+
+ %d The day of the current month (01-31).
+ %H The hour on a 24-hour clock (00-23).
+ %I The hour on a 12-hour clock (01-12).
+ %j The day of the current year (001-366).
+ %m The month of the current year (01-12).
+ %M The minute of the current hour (00-59).
+ %S The second of the current minute.
+ 60 represents a leap second. (00-60)
+ %U The week number of the current year (00-53).
+ %w The day of the current week. 0 is Sunday. (0-6)
+ %y The last two digits of the current year (00-99)
+ %Y The current year.
+
+Unknown format specifiers will be ignored and copied to the output
+as-is.
+
+If no explicit <format string> is given it will default to:
+
+::
+
+ %Y-%m-%dT%H:%M:%S for local time.
+ %Y-%m-%dT%H:%M:%SZ for UTC.
+
+MAKE_C_IDENTIFIER will write a string which can be used as an
+identifier in C.
diff --git a/Help/command/subdir_depends.rst b/Help/command/subdir_depends.rst
new file mode 100644
index 0000000..5676c8f
--- /dev/null
+++ b/Help/command/subdir_depends.rst
@@ -0,0 +1,13 @@
+subdir_depends
+--------------
+
+Disallowed. See CMake Policy :policy:`CMP0029`.
+
+Does nothing.
+
+::
+
+ subdir_depends(subdir dep1 dep2 ...)
+
+Does not do anything. This command used to help projects order
+parallel builds correctly. This functionality is now automatic.
diff --git a/Help/command/subdirs.rst b/Help/command/subdirs.rst
new file mode 100644
index 0000000..dee49f8
--- /dev/null
+++ b/Help/command/subdirs.rst
@@ -0,0 +1,24 @@
+subdirs
+-------
+
+Deprecated. Use the add_subdirectory() command instead.
+
+Add a list of subdirectories to the build.
+
+::
+
+ subdirs(dir1 dir2 ...[EXCLUDE_FROM_ALL exclude_dir1 exclude_dir2 ...]
+ [PREORDER] )
+
+Add a list of subdirectories to the build. The add_subdirectory
+command should be used instead of subdirs although subdirs will still
+work. This will cause any CMakeLists.txt files in the sub directories
+to be processed by CMake. Any directories after the PREORDER flag are
+traversed first by makefile builds, the PREORDER flag has no effect on
+IDE projects. Any directories after the EXCLUDE_FROM_ALL marker will
+not be included in the top level makefile or project file. This is
+useful for having CMake create makefiles or projects for a set of
+examples in a project. You would want CMake to generate makefiles or
+project files for all the examples at the same time, but you would not
+want them to show up in the top level project or be built each time
+make is run from the top.
diff --git a/Help/command/target_compile_definitions.rst b/Help/command/target_compile_definitions.rst
new file mode 100644
index 0000000..3c9fe87
--- /dev/null
+++ b/Help/command/target_compile_definitions.rst
@@ -0,0 +1,28 @@
+target_compile_definitions
+--------------------------
+
+Add compile definitions to a target.
+
+::
+
+ target_compile_definitions(<target>
+ <INTERFACE|PUBLIC|PRIVATE> [items1...]
+ [<INTERFACE|PUBLIC|PRIVATE> [items2...] ...])
+
+Specify compile definitions to use when compiling a given <target. The
+named ``<target>`` must have been created by a command such as
+:command:`add_executable` or :command:`add_library` and must not be an
+:ref:`Imported Target <Imported Targets>`.
+
+The ``INTERFACE``, ``PUBLIC`` and ``PRIVATE`` keywords are required to
+specify the scope of the following arguments. ``PRIVATE`` and ``PUBLIC``
+items will populate the :prop_tgt:`COMPILE_DEFINITIONS` property of
+``<target>``. ``PUBLIC`` and ``INTERFACE`` items will populate the
+:prop_tgt:`INTERFACE_COMPILE_DEFINITIONS` property of ``<target>``. The
+following arguments specify compile definitions. Repeated calls for the
+same ``<target>`` append items in the order called.
+
+Arguments to ``target_compile_definitions`` may use "generator expressions"
+with the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
+manual for available expressions. See the :manual:`cmake-buildsystem(7)`
+manual for more on defining buildsystem properties.
diff --git a/Help/command/target_compile_options.rst b/Help/command/target_compile_options.rst
new file mode 100644
index 0000000..0fdeba6
--- /dev/null
+++ b/Help/command/target_compile_options.rst
@@ -0,0 +1,37 @@
+target_compile_options
+----------------------
+
+Add compile options to a target.
+
+::
+
+ target_compile_options(<target> [BEFORE]
+ <INTERFACE|PUBLIC|PRIVATE> [items1...]
+ [<INTERFACE|PUBLIC|PRIVATE> [items2...] ...])
+
+Specify compile options to use when compiling a given target. The
+named ``<target>`` must have been created by a command such as
+:command:`add_executable` or :command:`add_library` and must not be an
+:prop_tgt:`IMPORTED Target`. If ``BEFORE`` is specified, the content will
+be prepended to the property instead of being appended.
+
+This command can be used to add any options, but
+alternative commands exist to add preprocessor definitions
+(:command:`target_compile_definitions` and :command:`add_definitions`) or
+include directories (:command:`target_include_directories` and
+:command:`include_directories`). See documentation of the
+:prop_tgt:`directory <COMPILE_OPTIONS>` and
+:prop_tgt:` target <COMPILE_OPTIONS>` ``COMPILE_OPTIONS`` properties.
+
+The ``INTERFACE``, ``PUBLIC`` and ``PRIVATE`` keywords are required to
+specify the scope of the following arguments. ``PRIVATE`` and ``PUBLIC``
+items will populate the :prop_tgt:`COMPILE_OPTIONS` property of
+``<target>``. ``PUBLIC`` and ``INTERFACE`` items will populate the
+:prop_tgt:`INTERFACE_COMPILE_OPTIONS` property of ``<target>``. The
+following arguments specify compile options. Repeated calls for the same
+``<target>`` append items in the order called.
+
+Arguments to ``target_compile_options`` may use "generator expressions"
+with the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
+manual for available expressions. See the :manual:`cmake-buildsystem(7)`
+manual for more on defining buildsystem properties.
diff --git a/Help/command/target_include_directories.rst b/Help/command/target_include_directories.rst
new file mode 100644
index 0000000..75f917d
--- /dev/null
+++ b/Help/command/target_include_directories.rst
@@ -0,0 +1,42 @@
+target_include_directories
+--------------------------
+
+Add include directories to a target.
+
+::
+
+ target_include_directories(<target> [SYSTEM] [BEFORE]
+ <INTERFACE|PUBLIC|PRIVATE> [items1...]
+ [<INTERFACE|PUBLIC|PRIVATE> [items2...] ...])
+
+Specify include directories or targets to use when compiling a given
+target. The named ``<target>`` must have been created by a command such
+as :command:`add_executable` or :command:`add_library` and must not be an
+:prop_tgt:`IMPORTED` target.
+
+If ``BEFORE`` is specified, the content will be prepended to the property
+instead of being appended.
+
+The ``INTERFACE``, ``PUBLIC`` and ``PRIVATE`` keywords are required to specify
+the scope of the following arguments. ``PRIVATE`` and ``PUBLIC`` items will
+populate the :prop_tgt:`INCLUDE_DIRECTORIES` property of ``<target>``.
+``PUBLIC`` and ``INTERFACE`` items will populate the
+:prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES`
+property of ``<target>``. The following arguments specify include
+directories.
+
+Specified include directories may be absolute paths or relative paths.
+Repeated calls for the same <target> append items in the order called. If
+``SYSTEM`` is specified, the compiler will be told the
+directories are meant as system include directories on some platforms
+(signalling this setting might achieve effects such as the compiler
+skipping warnings, or these fixed-install system files not being
+considered in dependency calculations - see compiler docs). If ``SYSTEM``
+is used together with ``PUBLIC`` or ``INTERFACE``, the
+:prop_tgt:`INTERFACE_SYSTEM_INCLUDE_DIRECTORIES` target property will be
+populated with the specified directories.
+
+Arguments to ``target_include_directories`` may use "generator expressions"
+with the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
+manual for available expressions. See the :manual:`cmake-buildsystem(7)`
+manual for more on defining buildsystem properties.
diff --git a/Help/command/target_link_libraries.rst b/Help/command/target_link_libraries.rst
new file mode 100644
index 0000000..bced169
--- /dev/null
+++ b/Help/command/target_link_libraries.rst
@@ -0,0 +1,149 @@
+target_link_libraries
+---------------------
+
+Link a target to given libraries.
+
+::
+
+ target_link_libraries(<target> [item1 [item2 [...]]]
+ [[debug|optimized|general] <item>] ...)
+
+Specify libraries or flags to use when linking a given target. The
+named ``<target>`` must have been created in the current directory by a
+command such as :command:`add_executable` or :command:`add_library`. The
+remaining arguments specify library names or flags. Repeated calls for
+the same ``<target>`` append items in the order called.
+
+If a library name matches that of another target in the project a
+dependency will automatically be added in the build system to make sure
+the library being linked is up-to-date before the target links. Item names
+starting with ``-``, but not ``-l`` or ``-framework``, are treated as
+linker flags.
+
+A ``debug``, ``optimized``, or ``general`` keyword indicates that the
+library immediately following it is to be used only for the
+corresponding build configuration. The ``debug`` keyword corresponds to
+the Debug configuration (or to configurations named in the
+:prop_gbl:`DEBUG_CONFIGURATIONS` global property if it is set). The
+``optimized`` keyword corresponds to all other configurations. The
+``general`` keyword corresponds to all configurations, and is purely
+optional (assumed if omitted). Higher granularity may be achieved for
+per-configuration rules by creating and linking to
+:ref:`IMPORTED library targets <Imported Targets>`.
+
+Library dependencies are transitive by default with this signature.
+When this target is linked into another target then the libraries
+linked to this target will appear on the link line for the other
+target too. This transitive "link interface" is stored in the
+:prop_tgt:`INTERFACE_LINK_LIBRARIES` target property and may be overridden
+by setting the property directly. When :policy:`CMP0022` is not set to
+``NEW``, transitive linking is built in but may be overridden by the
+:prop_tgt:`LINK_INTERFACE_LIBRARIES` property. Calls to other signatures
+of this command may set the property making any libraries linked
+exclusively by this signature private.
+
+CMake will also propagate :ref:`usage requirements <Target Usage Requirements>`
+from linked library targets. Usage requirements of dependencies affect
+compilation of sources in the ``<target>``.
+
+If an ``<item>`` is a library in a Mac OX framework, the ``Headers``
+directory of the framework will also be processed as a
+:ref:`usage requirement <Target Usage Requirements>`. This has the same
+effect as passing the framework directory as an include directory.
+
+--------------------------------------------------------------------------
+
+::
+
+ target_link_libraries(<target>
+ <PRIVATE|PUBLIC|INTERFACE> <lib> ...
+ [<PRIVATE|PUBLIC|INTERFACE> <lib> ... ] ...])
+
+The ``PUBLIC``, ``PRIVATE`` and ``INTERFACE`` keywords can be used to
+specify both the link dependencies and the link interface in one command.
+Libraries and targets following ``PUBLIC`` are linked to, and are made
+part of the link interface. Libraries and targets following ``PRIVATE``
+are linked to, but are not made part of the link interface. Libraries
+following ``INTERFACE`` are appended to the link interface and are not
+used for linking ``<target>``.
+
+--------------------------------------------------------------------------
+
+::
+
+ target_link_libraries(<target> LINK_INTERFACE_LIBRARIES
+ [[debug|optimized|general] <lib>] ...)
+
+The ``LINK_INTERFACE_LIBRARIES`` mode appends the libraries to the
+:prop_tgt:`INTERFACE_LINK_LIBRARIES` target property instead of using them
+for linking. If policy :policy:`CMP0022` is not ``NEW``, then this mode
+also appends libraries to the :prop_tgt:`LINK_INTERFACE_LIBRARIES` and its
+per-configuration equivalent.
+
+This signature is for compatibility only. Prefer the ``INTERFACE`` mode
+instead.
+
+Libraries specified as ``debug`` are wrapped in a generator expression to
+correspond to debug builds. If policy :policy:`CMP0022` is
+not ``NEW``, the libraries are also appended to the
+:prop_tgt:`LINK_INTERFACE_LIBRARIES_DEBUG <LINK_INTERFACE_LIBRARIES_<CONFIG>>`
+property (or to the properties corresponding to configurations listed in
+the :prop_gbl:`DEBUG_CONFIGURATIONS` global property if it is set).
+Libraries specified as ``optimized`` are appended to the
+:prop_tgt:`INTERFACE_LINK_LIBRARIES` property. If policy :policy:`CMP0022`
+is not ``NEW``, they are also appended to the
+:prop_tgt:`LINK_INTERFACE_LIBRARIES` property. Libraries specified as
+``general`` (or without any keyword) are treated as if specified for both
+``debug`` and ``optimized``.
+
+--------------------------------------------------------------------------
+
+::
+
+ target_link_libraries(<target>
+ <LINK_PRIVATE|LINK_PUBLIC>
+ [[debug|optimized|general] <lib>] ...
+ [<LINK_PRIVATE|LINK_PUBLIC>
+ [[debug|optimized|general] <lib>] ...])
+
+The ``LINK_PUBLIC`` and ``LINK_PRIVATE`` modes can be used to specify both
+the link dependencies and the link interface in one command.
+
+This signature is for compatibility only. Prefer the ``PUBLIC`` or
+``PRIVATE`` keywords instead.
+
+Libraries and targets following ``LINK_PUBLIC`` are linked to, and are
+made part of the :prop_tgt:`INTERFACE_LINK_LIBRARIES`. If policy
+:policy:`CMP0022` is not ``NEW``, they are also made part of the
+:prop_tgt:`LINK_INTERFACE_LIBRARIES`. Libraries and targets following
+``LINK_PRIVATE`` are linked to, but are not made part of the
+:prop_tgt:`INTERFACE_LINK_LIBRARIES` (or :prop_tgt:`LINK_INTERFACE_LIBRARIES`).
+
+The library dependency graph is normally acyclic (a DAG), but in the case
+of mutually-dependent ``STATIC`` libraries CMake allows the graph to
+contain cycles (strongly connected components). When another target links
+to one of the libraries, CMake repeats the entire connected component.
+For example, the code
+
+.. code-block:: cmake
+
+ add_library(A STATIC a.c)
+ add_library(B STATIC b.c)
+ target_link_libraries(A B)
+ target_link_libraries(B A)
+ add_executable(main main.c)
+ target_link_libraries(main A)
+
+links ``main`` to ``A B A B``. While one repetition is usually
+sufficient, pathological object file and symbol arrangements can require
+more. One may handle such cases by manually repeating the component in
+the last ``target_link_libraries`` call. However, if two archives are
+really so interdependent they should probably be combined into a single
+archive.
+
+Arguments to target_link_libraries may use "generator expressions"
+with the syntax ``$<...>``. Note however, that generator expressions
+will not be used in OLD handling of :policy:`CMP0003` or :policy:`CMP0004`.
+See the :manual:`cmake-generator-expressions(7)` manual for available
+expressions. See the :manual:`cmake-buildsystem(7)` manual for more on
+defining buildsystem properties.
diff --git a/Help/command/try_compile.rst b/Help/command/try_compile.rst
new file mode 100644
index 0000000..8ed3cf4
--- /dev/null
+++ b/Help/command/try_compile.rst
@@ -0,0 +1,71 @@
+try_compile
+-----------
+
+Try building some code.
+
+::
+
+ try_compile(RESULT_VAR <bindir> <srcdir>
+ <projectName> [targetName] [CMAKE_FLAGS flags...]
+ [OUTPUT_VARIABLE <var>])
+
+Try building a project. In this form, srcdir should contain a
+complete CMake project with a CMakeLists.txt file and all sources.
+The bindir and srcdir will not be deleted after this command is run.
+Specify targetName to build a specific target instead of the 'all' or
+'ALL_BUILD' target.
+
+::
+
+ try_compile(RESULT_VAR <bindir> <srcfile|SOURCES srcfile...>
+ [CMAKE_FLAGS flags...]
+ [COMPILE_DEFINITIONS flags...]
+ [LINK_LIBRARIES libs...]
+ [OUTPUT_VARIABLE <var>]
+ [COPY_FILE <fileName> [COPY_FILE_ERROR <var>]])
+
+Try building an executable from one or more source files. In this
+form the user need only supply one or more source files that include a
+definition for 'main'. CMake will create a CMakeLists.txt file to
+build the source(s) as an executable. Specify COPY_FILE to get a copy
+of the linked executable at the given fileName and optionally
+COPY_FILE_ERROR to capture any error.
+
+In this version all files in bindir/CMakeFiles/CMakeTmp will be
+cleaned automatically. For debugging, --debug-trycompile can be
+passed to cmake to avoid this clean. However, multiple sequential
+try_compile operations reuse this single output directory. If you use
+--debug-trycompile, you can only debug one try_compile call at a time.
+The recommended procedure is to configure with cmake all the way
+through once, then delete the cache entry associated with the
+try_compile call of interest, and then re-run cmake again with
+--debug-trycompile.
+
+Some extra flags that can be included are, INCLUDE_DIRECTORIES,
+LINK_DIRECTORIES, and LINK_LIBRARIES. COMPILE_DEFINITIONS are
+-Ddefinition that will be passed to the compile line.
+
+The srcfile signature also accepts a LINK_LIBRARIES argument which may
+contain a list of libraries or IMPORTED targets which will be linked
+to in the generated project. If LINK_LIBRARIES is specified as a
+parameter to try_compile, then any LINK_LIBRARIES passed as
+CMAKE_FLAGS will be ignored.
+
+try_compile creates a CMakeList.txt file on the fly that looks like
+this:
+
+::
+
+ add_definitions( <expanded COMPILE_DEFINITIONS from calling cmake>)
+ include_directories(${INCLUDE_DIRECTORIES})
+ link_directories(${LINK_DIRECTORIES})
+ add_executable(cmTryCompileExec sources)
+ target_link_libraries(cmTryCompileExec ${LINK_LIBRARIES})
+
+In both versions of the command, if OUTPUT_VARIABLE is specified, then
+the output from the build process is stored in the given variable.
+The success or failure of the try_compile, i.e. TRUE or FALSE
+respectively, is returned in RESULT_VAR. CMAKE_FLAGS can be used to
+pass -DVAR:TYPE=VALUE flags to the cmake that is run during the build.
+Set variable CMAKE_TRY_COMPILE_CONFIGURATION to choose a build
+configuration.
diff --git a/Help/command/try_run.rst b/Help/command/try_run.rst
new file mode 100644
index 0000000..9a17ad9
--- /dev/null
+++ b/Help/command/try_run.rst
@@ -0,0 +1,52 @@
+try_run
+-------
+
+Try compiling and then running some code.
+
+::
+
+ try_run(RUN_RESULT_VAR COMPILE_RESULT_VAR
+ bindir srcfile [CMAKE_FLAGS <Flags>]
+ [COMPILE_DEFINITIONS <flags>]
+ [COMPILE_OUTPUT_VARIABLE comp]
+ [RUN_OUTPUT_VARIABLE run]
+ [OUTPUT_VARIABLE var]
+ [ARGS <arg1> <arg2>...])
+
+Try compiling a srcfile. Return TRUE or FALSE for success or failure
+in COMPILE_RESULT_VAR. Then if the compile succeeded, run the
+executable and return its exit code in RUN_RESULT_VAR. If the
+executable was built, but failed to run, then RUN_RESULT_VAR will be
+set to FAILED_TO_RUN. COMPILE_OUTPUT_VARIABLE specifies the variable
+where the output from the compile step goes. RUN_OUTPUT_VARIABLE
+specifies the variable where the output from the running executable
+goes.
+
+For compatibility reasons OUTPUT_VARIABLE is still supported, which
+gives you the output from the compile and run step combined.
+
+Cross compiling issues
+
+When cross compiling, the executable compiled in the first step
+usually cannot be run on the build host. try_run() checks the
+CMAKE_CROSSCOMPILING variable to detect whether CMake is in
+crosscompiling mode. If that's the case, it will still try to compile
+the executable, but it will not try to run the executable. Instead it
+will create cache variables which must be filled by the user or by
+presetting them in some CMake script file to the values the executable
+would have produced if it had been run on its actual target platform.
+These variables are RUN_RESULT_VAR (explanation see above) and if
+RUN_OUTPUT_VARIABLE (or OUTPUT_VARIABLE) was used, an additional cache
+variable RUN_RESULT_VAR__COMPILE_RESULT_VAR__TRYRUN_OUTPUT.This is
+intended to hold stdout and stderr from the executable.
+
+In order to make cross compiling your project easier, use try_run only
+if really required. If you use try_run, use RUN_OUTPUT_VARIABLE (or
+OUTPUT_VARIABLE) only if really required. Using them will require
+that when crosscompiling, the cache variables will have to be set
+manually to the output of the executable. You can also "guard" the
+calls to try_run with if(CMAKE_CROSSCOMPILING) and provide an
+easy-to-preset alternative for this case.
+
+Set variable CMAKE_TRY_COMPILE_CONFIGURATION to choose a build
+configuration.
diff --git a/Help/command/unset.rst b/Help/command/unset.rst
new file mode 100644
index 0000000..d8f0dcd
--- /dev/null
+++ b/Help/command/unset.rst
@@ -0,0 +1,25 @@
+unset
+-----
+
+Unset a variable, cache variable, or environment variable.
+
+::
+
+ unset(<variable> [CACHE | PARENT_SCOPE])
+
+Removes the specified variable causing it to become undefined. If
+CACHE is present then the variable is removed from the cache instead
+of the current scope.
+
+If PARENT_SCOPE is present then the variable is removed from the scope
+above the current scope. See the same option in the set() command for
+further details.
+
+<variable> can be an environment variable such as:
+
+::
+
+ unset(ENV{LD_LIBRARY_PATH})
+
+in which case the variable will be removed from the current
+environment.
diff --git a/Help/command/use_mangled_mesa.rst b/Help/command/use_mangled_mesa.rst
new file mode 100644
index 0000000..6f4d7ac
--- /dev/null
+++ b/Help/command/use_mangled_mesa.rst
@@ -0,0 +1,15 @@
+use_mangled_mesa
+----------------
+
+Disallowed. See CMake Policy :policy:`CMP0030`.
+
+Copy mesa headers for use in combination with system GL.
+
+::
+
+ use_mangled_mesa(PATH_TO_MESA OUTPUT_DIRECTORY)
+
+The path to mesa includes, should contain gl_mangle.h. The mesa
+headers are copied to the specified output directory. This allows
+mangled mesa headers to override other GL headers by being added to
+the include directory path earlier.
diff --git a/Help/command/utility_source.rst b/Help/command/utility_source.rst
new file mode 100644
index 0000000..5122e52
--- /dev/null
+++ b/Help/command/utility_source.rst
@@ -0,0 +1,24 @@
+utility_source
+--------------
+
+Disallowed. See CMake Policy :policy:`CMP0034`.
+
+Specify the source tree of a third-party utility.
+
+::
+
+ utility_source(cache_entry executable_name
+ path_to_source [file1 file2 ...])
+
+When a third-party utility's source is included in the distribution,
+this command specifies its location and name. The cache entry will
+not be set unless the path_to_source and all listed files exist. It
+is assumed that the source tree of the utility will have been built
+before it is needed.
+
+When cross compiling CMake will print a warning if a utility_source()
+command is executed, because in many cases it is used to build an
+executable which is executed later on. This doesn't work when cross
+compiling, since the executable can run only on their target platform.
+So in this case the cache entry has to be adjusted manually so it
+points to an executable which is runnable on the build host.
diff --git a/Help/command/variable_requires.rst b/Help/command/variable_requires.rst
new file mode 100644
index 0000000..831dd00
--- /dev/null
+++ b/Help/command/variable_requires.rst
@@ -0,0 +1,22 @@
+variable_requires
+-----------------
+
+Disallowed. See CMake Policy :policy:`CMP0035`.
+
+Use the if() command instead.
+
+Assert satisfaction of an option's required variables.
+
+::
+
+ variable_requires(TEST_VARIABLE RESULT_VARIABLE
+ REQUIRED_VARIABLE1
+ REQUIRED_VARIABLE2 ...)
+
+The first argument (TEST_VARIABLE) is the name of the variable to be
+tested, if that variable is false nothing else is done. If
+TEST_VARIABLE is true, then the next argument (RESULT_VARIABLE) is a
+variable that is set to true if all the required variables are set.
+The rest of the arguments are variables that must be true or not set
+to NOTFOUND to avoid an error. If any are not true, an error is
+reported.
diff --git a/Help/command/variable_watch.rst b/Help/command/variable_watch.rst
new file mode 100644
index 0000000..a2df058
--- /dev/null
+++ b/Help/command/variable_watch.rst
@@ -0,0 +1,13 @@
+variable_watch
+--------------
+
+Watch the CMake variable for change.
+
+::
+
+ variable_watch(<variable name> [<command to execute>])
+
+If the specified variable changes, the message will be printed about
+the variable being changed. If the command is specified, the command
+will be executed. The command will receive the following arguments:
+COMMAND(<variable> <access> <value> <current list file> <stack>)
diff --git a/Help/command/while.rst b/Help/command/while.rst
new file mode 100644
index 0000000..72c055d
--- /dev/null
+++ b/Help/command/while.rst
@@ -0,0 +1,17 @@
+while
+-----
+
+Evaluate a group of commands while a condition is true
+
+::
+
+ while(condition)
+ COMMAND1(ARGS ...)
+ COMMAND2(ARGS ...)
+ ...
+ endwhile(condition)
+
+All commands between while and the matching endwhile are recorded
+without being invoked. Once the endwhile is evaluated, the recorded
+list of commands is invoked as long as the condition is true. The
+condition is evaluated using the same logic as the if command.
diff --git a/Help/command/write_file.rst b/Help/command/write_file.rst
new file mode 100644
index 0000000..015514b
--- /dev/null
+++ b/Help/command/write_file.rst
@@ -0,0 +1,20 @@
+write_file
+----------
+
+Deprecated. Use the file(WRITE ) command instead.
+
+::
+
+ write_file(filename "message to write"... [APPEND])
+
+The first argument is the file name, the rest of the arguments are
+messages to write. If the argument APPEND is specified, then the
+message will be appended.
+
+NOTE 1: file(WRITE ... and file(APPEND ... do exactly the same as
+this one but add some more functionality.
+
+NOTE 2: When using write_file the produced file cannot be used as an
+input to CMake (CONFIGURE_FILE, source file ...) because it will lead
+to an infinite loop. Use configure_file if you want to generate input
+files to CMake.
diff --git a/Help/generator/Borland Makefiles.rst b/Help/generator/Borland Makefiles.rst
new file mode 100644
index 0000000..c00d00a
--- /dev/null
+++ b/Help/generator/Borland Makefiles.rst
@@ -0,0 +1,4 @@
+Borland Makefiles
+-----------------
+
+Generates Borland makefiles.
diff --git a/Help/generator/CodeBlocks.rst b/Help/generator/CodeBlocks.rst
new file mode 100644
index 0000000..01798c7
--- /dev/null
+++ b/Help/generator/CodeBlocks.rst
@@ -0,0 +1,25 @@
+CodeBlocks
+----------
+
+Generates CodeBlocks project files.
+
+Project files for CodeBlocks will be created in the top directory and
+in every subdirectory which features a CMakeLists.txt file containing
+a PROJECT() call. Additionally a hierarchy of makefiles is generated
+into the build tree. The appropriate make program can build the
+project through the default make target. A "make install" target is
+also provided.
+
+This "extra" generator may be specified as:
+
+``CodeBlocks - MinGW Makefiles``
+ Generate with :generator:`MinGW Makefiles`.
+
+``CodeBlocks - NMake Makefiles``
+ Generate with :generator:`NMake Makefiles`.
+
+``CodeBlocks - Ninja``
+ Generate with :generator:`Ninja`.
+
+``CodeBlocks - Unix Makefiles``
+ Generate with :generator:`Unix Makefiles`.
diff --git a/Help/generator/CodeLite.rst b/Help/generator/CodeLite.rst
new file mode 100644
index 0000000..dbc46d7
--- /dev/null
+++ b/Help/generator/CodeLite.rst
@@ -0,0 +1,24 @@
+CodeLite
+----------
+
+Generates CodeLite project files.
+
+Project files for CodeLite will be created in the top directory and
+in every subdirectory which features a CMakeLists.txt file containing
+a PROJECT() call. The appropriate make program can build the
+project through the default make target. A "make install" target is
+also provided.
+
+This "extra" generator may be specified as:
+
+``CodeLite - MinGW Makefiles``
+ Generate with :generator:`MinGW Makefiles`.
+
+``CodeLite - NMake Makefiles``
+ Generate with :generator:`NMake Makefiles`.
+
+``CodeLite - Ninja``
+ Generate with :generator:`Ninja`.
+
+``CodeLite - Unix Makefiles``
+ Generate with :generator:`Unix Makefiles`.
diff --git a/Help/generator/Eclipse CDT4.rst b/Help/generator/Eclipse CDT4.rst
new file mode 100644
index 0000000..eb68bf0
--- /dev/null
+++ b/Help/generator/Eclipse CDT4.rst
@@ -0,0 +1,25 @@
+Eclipse CDT4
+------------
+
+Generates Eclipse CDT 4.0 project files.
+
+Project files for Eclipse will be created in the top directory. In
+out of source builds, a linked resource to the top level source
+directory will be created. Additionally a hierarchy of makefiles is
+generated into the build tree. The appropriate make program can build
+the project through the default make target. A "make install" target
+is also provided.
+
+This "extra" generator may be specified as:
+
+``Eclipse CDT4 - MinGW Makefiles``
+ Generate with :generator:`MinGW Makefiles`.
+
+``Eclipse CDT4 - NMake Makefiles``
+ Generate with :generator:`NMake Makefiles`.
+
+``Eclipse CDT4 - Ninja``
+ Generate with :generator:`Ninja`.
+
+``Eclipse CDT4 - Unix Makefiles``
+ Generate with :generator:`Unix Makefiles`.
diff --git a/Help/generator/KDevelop3.rst b/Help/generator/KDevelop3.rst
new file mode 100644
index 0000000..eaa218b
--- /dev/null
+++ b/Help/generator/KDevelop3.rst
@@ -0,0 +1,25 @@
+KDevelop3
+---------
+
+Generates KDevelop 3 project files.
+
+Project files for KDevelop 3 will be created in the top directory and
+in every subdirectory which features a CMakeLists.txt file containing
+a PROJECT() call. If you change the settings using KDevelop cmake
+will try its best to keep your changes when regenerating the project
+files. Additionally a hierarchy of UNIX makefiles is generated into
+the build tree. Any standard UNIX-style make program can build the
+project through the default make target. A "make install" target is
+also provided.
+
+This "extra" generator may be specified as:
+
+``KDevelop3 - Unix Makefiles``
+ Generate with :generator:`Unix Makefiles`.
+
+``KDevelop3``
+ Generate with :generator:`Unix Makefiles`.
+
+ For historical reasons this extra generator may be specified
+ directly as the main generator and it will be used as the
+ extra generator with :generator:`Unix Makefiles` automatically.
diff --git a/Help/generator/Kate.rst b/Help/generator/Kate.rst
new file mode 100644
index 0000000..9b61a93
--- /dev/null
+++ b/Help/generator/Kate.rst
@@ -0,0 +1,26 @@
+Kate
+----
+
+Generates Kate project files.
+
+A project file for Kate will be created in the top directory in the top level
+build directory.
+To use it in kate, the Project plugin must be enabled.
+The project file is loaded in kate simply by opening the
+ProjectName.kateproject file in the editor.
+If the kate Build-plugin is enabled, all targets generated by CMake are
+available for building.
+
+This "extra" generator may be specified as:
+
+``Kate - MinGW Makefiles``
+ Generate with :generator:`MinGW Makefiles`.
+
+``Kate - NMake Makefiles``
+ Generate with :generator:`NMake Makefiles`.
+
+``Kate - Ninja``
+ Generate with :generator:`Ninja`.
+
+``Kate - Unix Makefiles``
+ Generate with :generator:`Unix Makefiles`.
diff --git a/Help/generator/MSYS Makefiles.rst b/Help/generator/MSYS Makefiles.rst
new file mode 100644
index 0000000..0b89126
--- /dev/null
+++ b/Help/generator/MSYS Makefiles.rst
@@ -0,0 +1,7 @@
+MSYS Makefiles
+--------------
+
+Generates MSYS makefiles.
+
+The makefiles use /bin/sh as the shell. They require msys to be
+installed on the machine.
diff --git a/Help/generator/MinGW Makefiles.rst b/Help/generator/MinGW Makefiles.rst
new file mode 100644
index 0000000..ed4ccdd
--- /dev/null
+++ b/Help/generator/MinGW Makefiles.rst
@@ -0,0 +1,7 @@
+MinGW Makefiles
+---------------
+
+Generates a make file for use with mingw32-make.
+
+The makefiles generated use cmd.exe as the shell. They do not require
+msys or a unix shell.
diff --git a/Help/generator/NMake Makefiles JOM.rst b/Help/generator/NMake Makefiles JOM.rst
new file mode 100644
index 0000000..3a8744c
--- /dev/null
+++ b/Help/generator/NMake Makefiles JOM.rst
@@ -0,0 +1,4 @@
+NMake Makefiles JOM
+-------------------
+
+Generates JOM makefiles.
diff --git a/Help/generator/NMake Makefiles.rst b/Help/generator/NMake Makefiles.rst
new file mode 100644
index 0000000..89f2479
--- /dev/null
+++ b/Help/generator/NMake Makefiles.rst
@@ -0,0 +1,4 @@
+NMake Makefiles
+---------------
+
+Generates NMake makefiles.
diff --git a/Help/generator/Ninja.rst b/Help/generator/Ninja.rst
new file mode 100644
index 0000000..08f74fb
--- /dev/null
+++ b/Help/generator/Ninja.rst
@@ -0,0 +1,8 @@
+Ninja
+-----
+
+Generates build.ninja files (experimental).
+
+A build.ninja file is generated into the build tree. Recent versions
+of the ninja program can build the project through the "all" target.
+An "install" target is also provided.
diff --git a/Help/generator/Sublime Text 2.rst b/Help/generator/Sublime Text 2.rst
new file mode 100644
index 0000000..0597a95
--- /dev/null
+++ b/Help/generator/Sublime Text 2.rst
@@ -0,0 +1,25 @@
+Sublime Text 2
+--------------
+
+Generates Sublime Text 2 project files.
+
+Project files for Sublime Text 2 will be created in the top directory
+and in every subdirectory which features a CMakeLists.txt file
+containing a PROJECT() call. Additionally Makefiles (or build.ninja
+files) are generated into the build tree. The appropriate make
+program can build the project through the default make target. A
+"make install" target is also provided.
+
+This "extra" generator may be specified as:
+
+``Sublime Text 2 - MinGW Makefiles``
+ Generate with :generator:`MinGW Makefiles`.
+
+``Sublime Text 2 - NMake Makefiles``
+ Generate with :generator:`NMake Makefiles`.
+
+``Sublime Text 2 - Ninja``
+ Generate with :generator:`Ninja`.
+
+``Sublime Text 2 - Unix Makefiles``
+ Generate with :generator:`Unix Makefiles`.
diff --git a/Help/generator/Unix Makefiles.rst b/Help/generator/Unix Makefiles.rst
new file mode 100644
index 0000000..97d74a8
--- /dev/null
+++ b/Help/generator/Unix Makefiles.rst
@@ -0,0 +1,8 @@
+Unix Makefiles
+--------------
+
+Generates standard UNIX makefiles.
+
+A hierarchy of UNIX makefiles is generated into the build tree. Any
+standard UNIX-style make program can build the project through the
+default make target. A "make install" target is also provided.
diff --git a/Help/generator/Visual Studio 10 2010.rst b/Help/generator/Visual Studio 10 2010.rst
new file mode 100644
index 0000000..000677a
--- /dev/null
+++ b/Help/generator/Visual Studio 10 2010.rst
@@ -0,0 +1,12 @@
+Visual Studio 10 2010
+---------------------
+
+Generates Visual Studio 10 (VS 2010) project files.
+
+It is possible to append a space followed by the platform name to
+create project files for a specific target platform. E.g.
+"Visual Studio 10 2010 Win64" will create project files for the
+x64 processor; "Visual Studio 10 2010 IA64" for Itanium.
+
+For compatibility with CMake versions prior to 3.0, one may specify this
+generator using the name "Visual Studio 10" without the year component.
diff --git a/Help/generator/Visual Studio 11 2012.rst b/Help/generator/Visual Studio 11 2012.rst
new file mode 100644
index 0000000..42f6f91
--- /dev/null
+++ b/Help/generator/Visual Studio 11 2012.rst
@@ -0,0 +1,12 @@
+Visual Studio 11 2012
+---------------------
+
+Generates Visual Studio 11 (VS 2012) project files.
+
+It is possible to append a space followed by the platform name to
+create project files for a specific target platform. E.g.
+"Visual Studio 11 2012 Win64" will create project files for the
+x64 processor; "Visual Studio 11 2012 ARM" for ARM.
+
+For compatibility with CMake versions prior to 3.0, one may specify this
+generator using the name "Visual Studio 11" without the year component.
diff --git a/Help/generator/Visual Studio 12 2013.rst b/Help/generator/Visual Studio 12 2013.rst
new file mode 100644
index 0000000..d2f4912
--- /dev/null
+++ b/Help/generator/Visual Studio 12 2013.rst
@@ -0,0 +1,12 @@
+Visual Studio 12 2013
+---------------------
+
+Generates Visual Studio 12 (VS 2013) project files.
+
+It is possible to append a space followed by the platform name to
+create project files for a specific target platform. E.g.
+"Visual Studio 12 2013 Win64" will create project files for the
+x64 processor; "Visual Studio 12 2013 ARM" for ARM.
+
+For compatibility with CMake versions prior to 3.0, one may specify this
+generator using the name "Visual Studio 12" without the year component.
diff --git a/Help/generator/Visual Studio 6.rst b/Help/generator/Visual Studio 6.rst
new file mode 100644
index 0000000..d619354
--- /dev/null
+++ b/Help/generator/Visual Studio 6.rst
@@ -0,0 +1,4 @@
+Visual Studio 6
+---------------
+
+Generates Visual Studio 6 project files.
diff --git a/Help/generator/Visual Studio 7 .NET 2003.rst b/Help/generator/Visual Studio 7 .NET 2003.rst
new file mode 100644
index 0000000..2034140
--- /dev/null
+++ b/Help/generator/Visual Studio 7 .NET 2003.rst
@@ -0,0 +1,4 @@
+Visual Studio 7 .NET 2003
+-------------------------
+
+Generates Visual Studio .NET 2003 project files.
diff --git a/Help/generator/Visual Studio 7.rst b/Help/generator/Visual Studio 7.rst
new file mode 100644
index 0000000..d0eb719
--- /dev/null
+++ b/Help/generator/Visual Studio 7.rst
@@ -0,0 +1,4 @@
+Visual Studio 7
+---------------
+
+Generates Visual Studio .NET 2002 project files.
diff --git a/Help/generator/Visual Studio 8 2005.rst b/Help/generator/Visual Studio 8 2005.rst
new file mode 100644
index 0000000..d7b6de2
--- /dev/null
+++ b/Help/generator/Visual Studio 8 2005.rst
@@ -0,0 +1,8 @@
+Visual Studio 8 2005
+--------------------
+
+Generates Visual Studio 8 2005 project files.
+
+It is possible to append a space followed by the platform name to
+create project files for a specific target platform. E.g. "Visual
+Studio 8 2005 Win64" will create project files for the x64 processor.
diff --git a/Help/generator/Visual Studio 9 2008.rst b/Help/generator/Visual Studio 9 2008.rst
new file mode 100644
index 0000000..ade9fd5
--- /dev/null
+++ b/Help/generator/Visual Studio 9 2008.rst
@@ -0,0 +1,9 @@
+Visual Studio 9 2008
+--------------------
+
+Generates Visual Studio 9 2008 project files.
+
+It is possible to append a space followed by the platform name to
+create project files for a specific target platform. E.g. "Visual
+Studio 9 2008 Win64" will create project files for the x64 processor;
+"Visual Studio 9 2008 IA64" for Itanium.
diff --git a/Help/generator/Watcom WMake.rst b/Help/generator/Watcom WMake.rst
new file mode 100644
index 0000000..09bdc3d
--- /dev/null
+++ b/Help/generator/Watcom WMake.rst
@@ -0,0 +1,4 @@
+Watcom WMake
+------------
+
+Generates Watcom WMake makefiles.
diff --git a/Help/generator/Xcode.rst b/Help/generator/Xcode.rst
new file mode 100644
index 0000000..d8a6790
--- /dev/null
+++ b/Help/generator/Xcode.rst
@@ -0,0 +1,4 @@
+Xcode
+-----
+
+Generate Xcode project files.
diff --git a/Help/include/COMPILE_DEFINITIONS_DISCLAIMER.txt b/Help/include/COMPILE_DEFINITIONS_DISCLAIMER.txt
new file mode 100644
index 0000000..6797d0e
--- /dev/null
+++ b/Help/include/COMPILE_DEFINITIONS_DISCLAIMER.txt
@@ -0,0 +1,18 @@
+Disclaimer: Most native build tools have poor support for escaping
+certain values. CMake has work-arounds for many cases but some values
+may just not be possible to pass correctly. If a value does not seem
+to be escaped correctly, do not attempt to work-around the problem by
+adding escape sequences to the value. Your work-around may break in a
+future version of CMake that has improved escape support. Instead
+consider defining the macro in a (configured) header file. Then
+report the limitation. Known limitations include::
+
+ # - broken almost everywhere
+ ; - broken in VS IDE 7.0 and Borland Makefiles
+ , - broken in VS IDE
+ % - broken in some cases in NMake
+ & | - broken in some cases on MinGW
+ ^ < > \" - broken in most Make tools on Windows
+
+CMake does not reject these values outright because they do work in
+some cases. Use with caution.
diff --git a/Help/index.rst b/Help/index.rst
new file mode 100644
index 0000000..a4abfbf
--- /dev/null
+++ b/Help/index.rst
@@ -0,0 +1,58 @@
+.. title:: CMake Reference Documentation
+
+Command-Line Tools
+##################
+
+.. toctree::
+ :maxdepth: 1
+
+ /manual/cmake.1
+ /manual/ctest.1
+ /manual/cpack.1
+
+Interactive Dialogs
+###################
+
+.. toctree::
+ :maxdepth: 1
+
+ /manual/cmake-gui.1
+ /manual/ccmake.1
+
+Reference Manuals
+#################
+
+.. toctree::
+ :maxdepth: 1
+
+ /manual/cmake-buildsystem.7
+ /manual/cmake-commands.7
+ /manual/cmake-developer.7
+ /manual/cmake-generator-expressions.7
+ /manual/cmake-generators.7
+ /manual/cmake-language.7
+ /manual/cmake-modules.7
+ /manual/cmake-packages.7
+ /manual/cmake-policies.7
+ /manual/cmake-properties.7
+ /manual/cmake-qt.7
+ /manual/cmake-toolchains.7
+ /manual/cmake-variables.7
+
+.. only:: html or text
+
+ Release Notes
+ #############
+
+ .. toctree::
+ :maxdepth: 1
+
+ /release/index
+
+.. only:: html
+
+ Index and Search
+ ################
+
+ * :ref:`genindex`
+ * :ref:`search`
diff --git a/Help/manual/LINKS.txt b/Help/manual/LINKS.txt
new file mode 100644
index 0000000..f6f707d
--- /dev/null
+++ b/Help/manual/LINKS.txt
@@ -0,0 +1,25 @@
+The following resources are available to get help using CMake:
+
+Home Page
+ http://www.cmake.org
+
+ The primary starting point for learning about CMake.
+
+Frequently Asked Questions
+ http://www.cmake.org/Wiki/CMake_FAQ
+
+ A Wiki is provided containing answers to frequently asked questions.
+
+Online Documentation
+ http://www.cmake.org/HTML/Documentation.html
+
+ Links to available documentation may be found on this web page.
+
+Mailing List
+ http://www.cmake.org/HTML/MailingLists.html
+
+ For help and discussion about using cmake, a mailing list is
+ provided at cmake@cmake.org. The list is member-post-only but one
+ may sign up on the CMake web page. Please first read the full
+ documentation at http://www.cmake.org before posting questions to
+ the list.
diff --git a/Help/manual/OPTIONS_BUILD.txt b/Help/manual/OPTIONS_BUILD.txt
new file mode 100644
index 0000000..2079c44
--- /dev/null
+++ b/Help/manual/OPTIONS_BUILD.txt
@@ -0,0 +1,64 @@
+``-C <initial-cache>``
+ Pre-load a script to populate the cache.
+
+ When cmake is first run in an empty build tree, it creates a
+ CMakeCache.txt file and populates it with customizable settings for
+ the project. This option may be used to specify a file from which
+ to load cache entries before the first pass through the project's
+ cmake listfiles. The loaded entries take priority over the
+ project's default values. The given file should be a CMake script
+ containing SET commands that use the CACHE option, not a
+ cache-format file.
+
+``-D <var>:<type>=<value>``
+ Create a cmake cache entry.
+
+ When cmake is first run in an empty build tree, it creates a
+ CMakeCache.txt file and populates it with customizable settings for
+ the project. This option may be used to specify a setting that
+ takes priority over the project's default value. The option may be
+ repeated for as many cache entries as desired.
+
+``-U <globbing_expr>``
+ Remove matching entries from CMake cache.
+
+ This option may be used to remove one or more variables from the
+ CMakeCache.txt file, globbing expressions using * and ? are
+ supported. The option may be repeated for as many cache entries as
+ desired.
+
+ Use with care, you can make your CMakeCache.txt non-working.
+
+``-G <generator-name>``
+ Specify a build system generator.
+
+ CMake may support multiple native build systems on certain
+ platforms. A generator is responsible for generating a particular
+ build system. Possible generator names are specified in the
+ Generators section.
+
+``-T <toolset-name>``
+ Specify toolset name if supported by generator.
+
+ Some CMake generators support a toolset name to be given to the
+ native build system to choose a compiler. This is supported only on
+ specific generators:
+
+ ::
+
+ Visual Studio >= 10
+ Xcode >= 3.0
+
+ See native build system documentation for allowed toolset names.
+
+``-Wno-dev``
+ Suppress developer warnings.
+
+ Suppress warnings that are meant for the author of the
+ CMakeLists.txt files.
+
+``-Wdev``
+ Enable developer warnings.
+
+ Enable warnings that are meant for the author of the CMakeLists.txt
+ files.
diff --git a/Help/manual/OPTIONS_HELP.txt b/Help/manual/OPTIONS_HELP.txt
new file mode 100644
index 0000000..631dfef
--- /dev/null
+++ b/Help/manual/OPTIONS_HELP.txt
@@ -0,0 +1,130 @@
+.. |file| replace:: The help is printed to a named <f>ile if given.
+
+``--help,-help,-usage,-h,-H,/?``
+ Print usage information and exit.
+
+ Usage describes the basic command line interface and its options.
+
+``--version,-version,/V [<f>]``
+ Show program name/version banner and exit.
+
+ If a file is specified, the version is written into it.
+ |file|
+
+``--help-manual <man> [<f>]``
+ Print one help manual and exit.
+
+ The specified manual is printed in a human-readable text format.
+ |file|
+
+``--help-manual-list [<f>]``
+ List help manuals available and exit.
+
+ The list contains all manuals for which help may be obtained by
+ using the ``--help-manual`` option followed by a manual name.
+ |file|
+
+``--help-command <cmd> [<f>]``
+ Print help for one command and exit.
+
+ The :manual:`cmake-commands(7)` manual entry for ``<cmd>`` is
+ printed in a human-readable text format.
+ |file|
+
+``--help-command-list [<f>]``
+ List commands with help available and exit.
+
+ The list contains all commands for which help may be obtained by
+ using the ``--help-command`` option followed by a command name.
+ |file|
+
+``--help-commands [<f>]``
+ Print cmake-commands manual and exit.
+
+ The :manual:`cmake-commands(7)` manual is printed in a
+ human-readable text format.
+ |file|
+
+``--help-module <mod> [<f>]``
+ Print help for one module and exit.
+
+ The :manual:`cmake-modules(7)` manual entry for ``<mod>`` is printed
+ in a human-readable text format.
+ |file|
+
+``--help-module-list [<f>]``
+ List modules with help available and exit.
+
+ The list contains all modules for which help may be obtained by
+ using the ``--help-module`` option followed by a module name.
+ |file|
+
+``--help-modules [<f>]``
+ Print cmake-modules manual and exit.
+
+ The :manual:`cmake-modules(7)` manual is printed in a human-readable
+ text format.
+ |file|
+
+``--help-policy <cmp> [<f>]``
+ Print help for one policy and exit.
+
+ The :manual:`cmake-policies(7)` manual entry for ``<cmp>`` is
+ printed in a human-readable text format.
+ |file|
+
+``--help-policy-list [<f>]``
+ List policies with help available and exit.
+
+ The list contains all policies for which help may be obtained by
+ using the ``--help-policy`` option followed by a policy name.
+ |file|
+
+``--help-policies [<f>]``
+ Print cmake-policies manual and exit.
+
+ The :manual:`cmake-policies(7)` manual is printed in a
+ human-readable text format.
+ |file|
+
+``--help-property <prop> [<f>]``
+ Print help for one property and exit.
+
+ The :manual:`cmake-properties(7)` manual entries for ``<prop>`` are
+ printed in a human-readable text format.
+ |file|
+
+``--help-property-list [<f>]``
+ List properties with help available and exit.
+
+ The list contains all properties for which help may be obtained by
+ using the ``--help-property`` option followed by a property name.
+ |file|
+
+``--help-properties [<f>]``
+ Print cmake-properties manual and exit.
+
+ The :manual:`cmake-properties(7)` manual is printed in a
+ human-readable text format.
+ |file|
+
+``--help-variable <var> [<f>]``
+ Print help for one variable and exit.
+
+ The :manual:`cmake-variables(7)` manual entry for ``<var>`` is
+ printed in a human-readable text format.
+ |file|
+
+``--help-variable-list [<f>]``
+ List variables with help available and exit.
+
+ The list contains all variables for which help may be obtained by
+ using the ``--help-variable`` option followed by a variable name.
+ |file|
+
+``--help-variables [<f>]``
+ Print cmake-variables manual and exit.
+
+ The :manual:`cmake-variables(7)` manual is printed in a
+ human-readable text format.
+ |file|
diff --git a/Help/manual/ccmake.1.rst b/Help/manual/ccmake.1.rst
new file mode 100644
index 0000000..a5fe191
--- /dev/null
+++ b/Help/manual/ccmake.1.rst
@@ -0,0 +1,37 @@
+.. cmake-manual-description: CMake Curses Dialog Command-Line Reference
+
+ccmake(1)
+*********
+
+Synopsis
+========
+
+.. parsed-literal::
+
+ ccmake [<options>] (<path-to-source> | <path-to-existing-build>)
+
+Description
+===========
+
+The "ccmake" executable is the CMake curses interface. Project
+configuration settings may be specified interactively through this
+GUI. Brief instructions are provided at the bottom of the terminal
+when the program is running.
+
+CMake is a cross-platform build system generator. Projects specify
+their build process with platform-independent CMake listfiles included
+in each directory of a source tree with the name CMakeLists.txt.
+Users build a project by using CMake to generate a build system for a
+native tool on their platform.
+
+Options
+=======
+
+.. include:: OPTIONS_BUILD.txt
+
+.. include:: OPTIONS_HELP.txt
+
+See Also
+========
+
+.. include:: LINKS.txt
diff --git a/Help/manual/cmake-buildsystem.7.rst b/Help/manual/cmake-buildsystem.7.rst
new file mode 100644
index 0000000..501b924
--- /dev/null
+++ b/Help/manual/cmake-buildsystem.7.rst
@@ -0,0 +1,853 @@
+.. cmake-manual-description: CMake Buildsystem Reference
+
+cmake-buildsystem(7)
+********************
+
+.. only:: html or latex
+
+ .. contents::
+
+Introduction
+============
+
+A CMake-based buildsystem is organized as a set of high-level logical
+targets. Each target corresponds to an executable or library, or
+is a custom target containing custom commands. Dependencies between the
+targets are expressed in the buildsystem to determine the build order
+and the rules for regeneration in response to change.
+
+Binary Targets
+==============
+
+Executables and libraries are defined using the :command:`add_library`
+and :command:`add_executable` commands. The resulting binary files have
+appropriate prefixes, suffixes and extensions for the platform targeted.
+Dependencies between binary targets are expressed using the
+:command:`target_link_libraries` command:
+
+.. code-block:: cmake
+
+ add_library(archive archive.cpp zip.cpp lzma.cpp)
+ add_executable(zipapp zipapp.cpp)
+ target_link_libraries(zipapp archive)
+
+``archive`` is defined as a static library -- an archive containing objects
+compiled from ``archive.cpp``, ``zip.cpp``, and ``lzma.cpp``. ``zipapp``
+is defined as an executable formed by compiling and linking ``zipapp.cpp``.
+When linking the ``zipapp`` executable, the ``archive`` static library is
+linked in.
+
+Binary Library Types
+--------------------
+
+By default, the :command:`add_library` command defines a static library,
+unless a type is specified. A type may be specified when using the command:
+
+.. code-block:: cmake
+
+ add_library(archive SHARED archive.cpp zip.cpp lzma.cpp)
+
+.. code-block:: cmake
+
+ add_library(archive STATIC archive.cpp zip.cpp lzma.cpp)
+
+The :variable:`BUILD_SHARED_LIBS` variable may be enabled to change the
+behavior of :command:`add_library` to build shared libraries by default.
+
+In the context of the buildsystem definition as a whole, it is largely
+irrelevant whether particular libraries are ``SHARED`` or ``STATIC`` --
+the commands, dependency specifications and other APIs work similarly
+regardless of the library type. The ``MODULE`` library type is
+dissimilar in that it is generally not linked to -- it is not used in
+the right-hand-side of the :command:`target_link_libraries` command.
+It is a type which is loaded as a plugin using runtime techniques.
+
+.. code-block:: cmake
+
+ add_library(archive MODULE 7z.cpp)
+
+The ``OBJECT`` library type is also not linked to. It defines a non-archival
+collection of object files resulting from compiling the given source files.
+The object files collection can be used as source inputs to other targets:
+
+.. code-block:: cmake
+
+ add_library(archive OBJECT archive.cpp zip.cpp lzma.cpp)
+
+ add_library(archiveExtras STATIC $<TARGET_OBJECTS:archive> extras.cpp)
+
+ add_executable(test_exe $<TARGET_OBJECTS:archive> test.cpp)
+
+``OBJECT`` libraries may only be used locally as sources in a buildsystem --
+they may not be installed, exported, or used in the right hand side of
+:command:`target_link_libraries`. They also may not be used as the ``TARGET``
+in a use of the :command:`add_custom_command(TARGET)` command signature.
+
+Commands such as :command:`add_custom_command`, which generates rules to be
+run at build time can transparently use an :prop_tgt:`EXECUTABLE <TYPE>`
+target as a ``COMMAND`` executable. The buildsystem rules will ensure that
+the executable is built before attempting to run the command.
+
+Build Specification and Usage Requirements
+==========================================
+
+The :command:`target_include_directories`, :command:`target_compile_definitions`
+and :command:`target_compile_options` commands specify the build specifications
+and the usage requirements of binary targets. The commands populate the
+:prop_tgt:`INCLUDE_DIRECTORIES`, :prop_tgt:`COMPILE_DEFINITIONS` and
+:prop_tgt:`COMPILE_OPTIONS` target properties respectively, and/or the
+:prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES`, :prop_tgt:`INTERFACE_COMPILE_DEFINITIONS`
+and :prop_tgt:`INTERFACE_COMPILE_OPTIONS` target properties.
+
+Each of the commands has a ``PRIVATE``, ``PUBLIC`` and ``INTERFACE`` mode. The
+``PRIVATE`` mode populates only the non-``INTERFACE_`` variant of the target
+property and the ``INTERFACE`` mode populates only the ``INTERFACE_`` variants.
+The ``PUBLIC`` mode populates both variants of the repective target property.
+Each command may be invoked with multiple uses of each keyword:
+
+.. code-block:: cmake
+
+ target_compile_definitions(archive
+ PRIVATE BUILDING_WITH_LZMA
+ INTERFACE USING_ARCHIVE_LIB
+ )
+
+Note that usage requirements are not designed as a way to make downstreams
+use particular :prop_tgt:`COMPILE_OPTIONS` or
+:prop_tgt:`COMPILE_DEFINITIONS` etc for convenience only. The contents of
+the properties must be **requirements**, not merely recommendations or
+convenience.
+
+Target Properties
+-----------------
+
+The contents of the :prop_tgt:`INCLUDE_DIRECTORIES`,
+:prop_tgt:`COMPILE_DEFINITIONS` and :prop_tgt:`COMPILE_OPTIONS` target
+properties are used appropriately when compiling the source files of a
+binary target.
+
+Entries in the :prop_tgt:`INCLUDE_DIRECTORIES` are added to the compile line
+with ``-I`` or ``-isystem`` prefixes and in the order of appearance in the
+property value.
+
+Entries in the :prop_tgt:`COMPILE_DEFINITIONS` are prefixed with ``-D`` or
+``/D`` and added to the compile line in an unspecified order. The
+:prop_tgt:`DEFINE_SYMBOL` target property is also added as a compile
+definition as a special convenience case for ``SHARED`` and ``MODULE``
+library targets.
+
+Entries in the :prop_tgt:`COMPILE_OPTIONS` are escaped for the shell and added
+in the order of appearance in the property value. Several compile options have
+special separate handling, such as :prop_tgt:`POSITION_INDEPENDENT_CODE`.
+
+The contents of the :prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES`,
+:prop_tgt:`INTERFACE_COMPILE_DEFINITIONS` and
+:prop_tgt:`INTERFACE_COMPILE_OPTIONS` target properties are
+*Usage Requirements* -- they specify content which consumers
+must use to correctly compile and link with the target they appear on.
+For any binary target, the contents of each ``INTERFACE_`` property on
+each target specified in a :command:`target_link_libraries` command is
+consumed:
+
+.. code-block:: cmake
+
+ set(srcs archive.cpp zip.cpp)
+ if (LZMA_FOUND)
+ list(APPEND srcs lzma.cpp)
+ endif()
+ add_library(archive SHARED ${srcs})
+ if (LZMA_FOUND)
+ # The archive library sources are compiled with -DBUILDING_WITH_LZMA
+ target_compile_definitions(archive PRIVATE BUILDING_WITH_LZMA)
+ endif()
+ target_compile_definitions(archive INTERFACE USING_ARCHIVE_LIB)
+
+ add_executable(consumer)
+ # Link consumer to archive and consume its usage requirements. The consumer
+ # executable sources are compiled with -DUSING_ARCHIVE_LIB.
+ target_link_libraries(consumer archive)
+
+Because it is common to require that the source directory and corresponding
+build directory are added to the :prop_tgt:`INCLUDE_DIRECTORIES`, the
+:variable:`CMAKE_INCLUDE_CURRENT_DIR` variable can be enabled to conveniently
+add the corresponding directories to the :prop_tgt:`INCLUDE_DIRECTORIES` of
+all targets. The variable :variable:`CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE`
+can be enabled to add the corresponding directories to the
+:prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES` of all targets. This makes use of
+targets in multiple different directories convenient through use of the
+:command:`target_link_libraries` command.
+
+
+.. _`Target Usage Requirements`:
+
+Transitive Usage Requirements
+-----------------------------
+
+The usage requirements of a target can transitively propagate to dependents.
+The :command:`target_link_libraries` command has ``PRIVATE``,
+``INTERFACE`` and ``PUBLIC`` keywords to control the propagation.
+
+.. code-block:: cmake
+
+ add_library(archive archive.cpp)
+ target_compile_definitions(archive INTERFACE USING_ARCHIVE_LIB)
+
+ add_library(serialization serialization.cpp)
+ target_compile_definitions(serialization INTERFACE USING_SERIALIZATION_LIB)
+
+ add_library(archiveExtras extras.cpp)
+ target_link_libraries(archiveExtras PUBLIC archive)
+ target_link_libraries(archiveExtras PRIVATE serialization)
+ # archiveExtras is compiled with -DUSING_ARCHIVE_LIB
+ # and -DUSING_SERIALIZATION_LIB
+
+ add_executable(consumer consumer.cpp)
+ # consumer is compiled with -DUSING_ARCHIVE_LIB
+ target_link_libraries(consumer archiveExtras)
+
+Because ``archive`` is a ``PUBLIC`` dependency of ``archiveExtras``, the
+usage requirements of it are propagated to ``consumer`` too. Because
+``serialization`` is a ``PRIVATE`` dependency of ``archive``, the usage
+requirements of it are not propagated to ``consumer``.
+
+Generally, a dependency should be specified in a use of
+:command:`target_link_libraries` with the ``PRIVATE`` keyword if it is used by
+only the implementation of a library, and not in the header files. If a
+dependency is additionally used in the header files of a library (e.g. for
+class inheritance), then it should be specified as a ``PUBLIC`` dependency.
+A dependency which is not used by the implementation of a library, but only by
+its headers should be specified as an ``INTERFACE`` dependency. The
+:command:`target_link_libraries` command may be invoked with multiple uses of
+each keyword:
+
+.. code-block:: cmake
+
+ target_link_libraries(archiveExtras
+ PUBLIC archive
+ PRIVATE serialization
+ )
+
+Usage requirements are propagated by reading the ``INTERFACE_`` variants
+of target properties from dependencies and appending the values to the
+non-``INTERFACE_`` variants of the operand. For example, the
+:prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES` of dependencies is read and
+appended to the :prop_tgt:`INCLUDE_DIRECTORIES` of the operand. In cases
+where order is relevant and maintained, and the order resulting from the
+:command:`target_link_libraries` calls does not allow correct compilation,
+use of an appropriate command to set the property directly may update the
+order.
+
+For example, if the linked libraries for a target must be specified
+in the order ``lib1`` ``lib2`` ``lib3`` , but the include directories must
+be specified in the order ``lib3`` ``lib1`` ``lib2``:
+
+.. code-block:: cmake
+
+ target_link_libraries(myExe lib1 lib2 lib3)
+ target_include_directories(myExe
+ PRIVATE $<TARGET_PROPERTY:INTERFACE_INCLUDE_DIRECTORIES:lib3>)
+
+.. _`Compatible Interface Properties`:
+
+Compatible Interface Properties
+-------------------------------
+
+Some target properties are required to be compatible between a target and
+the interface of each dependency. For example, the
+:prop_tgt:`POSITION_INDEPENDENT_CODE` target property may specify a
+boolean value of whether a target should be compiled as
+position-independent-code, which has platform-specific consequences.
+A target may also specify the usage requirement
+:prop_tgt:`INTERFACE_POSITION_INDEPENDENT_CODE` to communicate that
+consumers must be compiled as position-independent-code.
+
+.. code-block:: cmake
+
+ add_executable(exe1 exe1.cpp)
+ set_property(TARGET exe1 PROPERTY POSITION_INDEPENDENT_CODE ON)
+
+ add_library(lib1 SHARED lib1.cpp)
+ set_property(TARGET lib1 PROPERTY INTERFACE_POSITION_INDEPENDENT_CODE ON)
+
+ add_executable(exe2 exe2.cpp)
+ target_link_libraries(exe2 lib1)
+
+Here, both ``exe1`` and ``exe2`` will be compiled as position-independent-code.
+``lib1`` will also be compiled as position-independent-code because that is the
+default setting for ``SHARED`` libraries. If dependencies have conflicting,
+non-compatible requirements :manual:`cmake(1)` issues a diagnostic:
+
+.. code-block:: cmake
+
+ add_library(lib1 SHARED lib1.cpp)
+ set_property(TARGET lib1 PROPERTY INTERFACE_POSITION_INDEPENDENT_CODE ON)
+
+ add_library(lib2 SHARED lib2.cpp)
+ set_property(TARGET lib2 PROPERTY INTERFACE_POSITION_INDEPENDENT_CODE OFF)
+
+ add_executable(exe1 exe1.cpp)
+ target_link_libraries(exe1 lib1)
+ set_property(TARGET exe1 PROPERTY POSITION_INDEPENDENT_CODE OFF)
+
+ add_executable(exe2 exe2.cpp)
+ target_link_libraries(exe2 lib1 lib2)
+
+The ``lib1`` requirement ``INTERFACE_POSITION_INDEPENDENT_CODE`` is not
+"compatible" with the ``POSITION_INDEPENDENT_CODE`` property of the ``exe1``
+target. The library requires that consumers are built as
+position-independent-code, while the executable specifies to not built as
+position-independent-code, so a diagnostic is issued.
+
+The ``lib1`` and ``lib2`` requirements are not "compatible". One of them
+requires that consumers are built as position-independent-code, while
+the other requires that consumers are not built as position-independent-code.
+Because ``exe2`` links to both and they are in conflict, a diagnostic is
+issued.
+
+To be "compatible", the :prop_tgt:`POSITION_INDEPENDENT_CODE` property,
+if set must be either the same, in a boolean sense, as the
+:prop_tgt:`INTERFACE_POSITION_INDEPENDENT_CODE` property of all transitively
+specified dependencies on which that property is set.
+
+This property of "compatible interface requirement" may be extended to other
+properties by specifying the property in the content of the
+:prop_tgt:`COMPATIBLE_INTERFACE_BOOL` target property. Each specified property
+must be compatible between the consuming target and the corresponding property
+with an ``INTERFACE_`` prefix from each dependency:
+
+.. code-block:: cmake
+
+ add_library(lib1Version2 SHARED lib1_v2.cpp)
+ set_property(TARGET lib1Version2 PROPERTY INTERFACE_CUSTOM_PROP ON)
+ set_property(TARGET lib1Version2 APPEND PROPERTY
+ COMPATIBLE_INTERFACE_BOOL CUSTOM_PROP
+ )
+
+ add_library(lib1Version3 SHARED lib1_v3.cpp)
+ set_property(TARGET lib1Version3 PROPERTY INTERFACE_CUSTOM_PROP OFF)
+
+ add_executable(exe1 exe1.cpp)
+ target_link_libraries(exe1 lib1Version2) # CUSTOM_PROP will be ON
+
+ add_executable(exe2 exe2.cpp)
+ target_link_libraries(exe2 lib1Version2 lib1Version3) # Diagnostic
+
+Non-boolean properties may also participate in "compatible interface"
+computations. Properties specified in the
+:prop_tgt:`COMPATIBLE_INTERFACE_STRING`
+property must be either unspecified or compare to the same string among
+all transitively specified dependencies. This can be useful to ensure
+that multiple incompatible versions of a library are not linked together
+through transitive requirements of a target:
+
+.. code-block:: cmake
+
+ add_library(lib1Version2 SHARED lib1_v2.cpp)
+ set_property(TARGET lib1Version2 PROPERTY INTERFACE_LIB_VERSION 2)
+ set_property(TARGET lib1Version2 APPEND PROPERTY
+ COMPATIBLE_INTERFACE_STRING LIB_VERSION
+ )
+
+ add_library(lib1Version3 SHARED lib1_v3.cpp)
+ set_property(TARGET lib1Version3 PROPERTY INTERFACE_LIB_VERSION 3)
+
+ add_executable(exe1 exe1.cpp)
+ target_link_libraries(exe1 lib1Version2) # LIB_VERSION will be "2"
+
+ add_executable(exe2 exe2.cpp)
+ target_link_libraries(exe2 lib1Version2 lib1Version3) # Diagnostic
+
+The :prop_tgt:`COMPATIBLE_INTERFACE_NUMBER_MAX` target property specifies
+that content will be evaluated numerically and the maximum number among all
+specified will be calculated:
+
+.. code-block:: cmake
+
+ add_library(lib1Version2 SHARED lib1_v2.cpp)
+ set_property(TARGET lib1Version2 PROPERTY INTERFACE_CONTAINER_SIZE_REQUIRED 200)
+ set_property(TARGET lib1Version2 APPEND PROPERTY
+ COMPATIBLE_INTERFACE_NUMBER_MAX CONTAINER_SIZE_REQUIRED
+ )
+
+ add_library(lib1Version3 SHARED lib1_v3.cpp)
+ set_property(TARGET lib1Version2 PROPERTY INTERFACE_CONTAINER_SIZE_REQUIRED 1000)
+
+ add_executable(exe1 exe1.cpp)
+ # CONTAINER_SIZE_REQUIRED will be "200"
+ target_link_libraries(exe1 lib1Version2)
+
+ add_executable(exe2 exe2.cpp)
+ # CONTAINER_SIZE_REQUIRED will be "1000"
+ target_link_libraries(exe2 lib1Version2 lib1Version3)
+
+Similarly, the :prop_tgt:`COMPATIBLE_INTERFACE_NUMBER_MIN` may be used to
+calculate the numeric minimum value for a property from dependencies.
+
+Each calculated "compatible" property value may be read in the consumer at
+generate-time using generator expressions.
+
+Note that for each dependee, the set of properties specified in each
+compatible interface property must not intersect with the set specified in
+any of the other properties.
+
+Property Origin Debugging
+-------------------------
+
+Because build specifications can be determined by dependencies, the lack of
+locality of code which creates a target and code which is responsible for
+setting build specifications may make the code more difficult to reason about.
+:manual:`cmake(1)` provides a debugging facility to print the origin of the
+contents of properties which may be determined by dependencies. The properties
+which can be debugged are listed in the
+:variable:`CMAKE_DEBUG_TARGET_PROPERTIES` variable documentation:
+
+.. code-block:: cmake
+
+ set(CMAKE_DEBUG_TARGET_PROPERTIES
+ INCLUDE_DIRECTORIES
+ COMPILE_DEFINITIONS
+ POSITION_INDEPENDENT_CODE
+ CONTAINER_SIZE_REQUIRED
+ LIB_VERSION
+ )
+ add_executable(exe1 exe1.cpp)
+
+In the case of properties listed in :prop_tgt:`COMPATIBLE_INTERFACE_BOOL` or
+:prop_tgt:`COMPATIBLE_INTERFACE_STRING`, the debug output shows which target
+was responsible for setting the property, and which other dependencies also
+defined the property. In the case of
+:prop_tgt:`COMPATIBLE_INTERFACE_NUMBER_MAX` and
+:prop_tgt:`COMPATIBLE_INTERFACE_NUMBER_MIN`, the debug output shows the
+value of the property from each dependency, and whether the value determines
+the new extreme.
+
+Build Specification with Generator Expressions
+----------------------------------------------
+
+Build specifications may use
+:manual:`generator expressions <cmake-generator-expressions(7)>` containing
+content which may be conditional or known only at generate-time. For example,
+the calculated "compatible" value of a property may be read with the
+``TARGET_PROPERTY`` expression:
+
+.. code-block:: cmake
+
+ add_library(lib1Version2 SHARED lib1_v2.cpp)
+ set_property(TARGET lib1Version2 PROPERTY
+ INTERFACE_CONTAINER_SIZE_REQUIRED 200)
+ set_property(TARGET lib1Version2 APPEND PROPERTY
+ COMPATIBLE_INTERFACE_NUMBER_MAX CONTAINER_SIZE_REQUIRED
+ )
+
+ add_executable(exe1 exe1.cpp)
+ target_link_libraries(exe1 lib1Version2)
+ target_compile_definitions(exe1 PRIVATE
+ CONTAINER_SIZE=$<TARGET_PROPERTY:CONTAINER_SIZE_REQUIRED>
+ )
+
+In this case, the ``exe1`` source files will be compiled with
+``-DCONTAINER_SIZE=200``.
+
+Configuration determined build specifications may be conveniently set using
+the ``CONFIG`` generator expression.
+
+.. code-block:: cmake
+
+ target_compile_definitions(exe1 PRIVATE
+ $<$<CONFIG:Debug>:DEBUG_BUILD>
+ )
+
+The ``CONFIG`` parameter is compared case-insensitively with the configuration
+being built. In the presence of :prop_tgt:`IMPORTED` targets, the content of
+:prop_tgt:`MAP_IMPORTED_CONFIG_DEBUG <MAP_IMPORTED_CONFIG_<CONFIG>>` is also
+accounted for by this expression.
+
+Some buildsystems generated by :manual:`cmake(1)` have a predetermined
+build-configuration set in the :variable:`CMAKE_BUILD_TYPE` variable. The
+buildsystem for the IDEs such as Visual Studio and Xcode are generated
+independent of the build-configuration, and the actual build configuration
+is not known until build-time. Therefore, code such as
+
+.. code-block:: cmake
+
+ string(TOLOWER ${CMAKE_BUILD_TYPE} _type)
+ if (_type STREQUAL debug)
+ target_compile_definitions(exe1 PRIVATE DEBUG_BUILD)
+ endif()
+
+may appear to work for ``Makefile`` based and ``Ninja`` generators, but is not
+portable to IDE generators. Additionally, the :prop_tgt:`IMPORTED`
+configuration-mappings are not accounted for with code like this, so it should
+be avoided.
+
+The unary ``TARGET_PROPERTY`` generator expression and the ``TARGET_POLICY``
+generator expression are evaluated with the consuming target context. This
+means that a usage requirement specification may be evaluated differently based
+on the consumer:
+
+.. code-block:: cmake
+
+ add_library(lib1 lib1.cpp)
+ target_compile_definitions(lib1 INTERFACE
+ $<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,EXECUTABLE>:LIB1_WITH_EXE>
+ $<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,SHARED_LIBRARY>:LIB1_WITH_SHARED_LIB>
+ $<$<TARGET_POLICY:CMP0041>:CONSUMER_CMP0041_NEW>
+ )
+
+ add_executable(exe1 exe1.cpp)
+ target_link_libraries(exe1 lib1)
+
+ cmake_policy(SET CMP0041 NEW)
+
+ add_library(shared_lib shared_lib.cpp)
+ target_link_libraries(shared_lib lib1)
+
+The ``exe1`` executable will be compiled with ``-DLIB1_WITH_EXE``, while the
+``shared_lib`` shared library will be compiled with ``-DLIB1_WITH_SHARED_LIB``
+and ``-DCONSUMER_CMP0041_NEW``, because policy :policy:`CMP0041` is
+``NEW`` at the point where the ``shared_lib`` target is created.
+
+The ``BUILD_INTERFACE`` expression wraps requirements which are only used when
+consumed from a target in the same buildsystem, or when consumed from a target
+exported to the build directory using the :command:`export` command. The
+``INSTALL_INTERFACE`` expression wraps requirements which are only used when
+consumed from a target which has been installed and exported with the
+:command:`install(EXPORT)` command:
+
+.. code-block:: cmake
+
+ add_library(ClimbingStats climbingstats.cpp)
+ target_compile_definitions(ClimbingStats INTERFACE
+ $<BUILD_INTERFACE:ClimbingStats_FROM_BUILD_LOCATION>
+ $<INSTALL_INTERFACE:ClimbingStats_FROM_INSTALLED_LOCATION>
+ )
+ install(TARGETS ClimbingStats EXPORT libExport ${InstallArgs})
+ install(EXPORT libExport NAMESPACE Upstream::
+ DESTINATION lib/cmake/ClimbingStats)
+ export(EXPORT libExport NAMESPACE Upstream::)
+
+ add_executable(exe1 exe1.cpp)
+ target_link_libraries(exe1 ClimbingStats)
+
+In this case, the ``exe1`` executable will be compiled with
+``-DClimbingStats_FROM_BUILD_LOCATION``. The exporting commands generate
+:prop_tgt:`IMPORTED` targets with either the ``INSTALL_INTERFACE`` or the
+``BUILD_INTERFACE`` omitted, and the ``*_INTERFACE`` marker stripped away.
+A separate project consuming the ``ClimbingStats`` package would contain:
+
+.. code-block:: cmake
+
+ find_package(ClimbingStats REQUIRED)
+
+ add_executable(Downstream main.cpp)
+ target_link_libraries(Downstream Upstream::ClimbingStats)
+
+Depending on whether the ``ClimbingStats`` package was used from the build
+location or the install location, the ``Downstream`` target would be compiled
+with either ``-DClimbingStats_FROM_BUILD_LOCATION`` or
+``-DClimbingStats_FROM_INSTALL_LOCATION``. For more about packages and
+exporting see the :manual:`cmake-packages(7)` manual.
+
+.. _`Include Directories and Usage Requirements`:
+
+Include Directories and Usage Requirements
+''''''''''''''''''''''''''''''''''''''''''
+
+Include directories require some special consideration when specified as usage
+requirements and when used with generator expressions. The
+:command:`target_include_directories` command accepts both relative and
+absolute include directories:
+
+.. code-block:: cmake
+
+ add_library(lib1 lib1.cpp)
+ target_include_directories(lib1 PRIVATE
+ /absolute/path
+ relative/path
+ )
+
+Relative paths are interpreted relative to the source directory where the
+command appears. Relative paths are not allowed in the
+:prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES` of :prop_tgt:`IMPORTED` targets.
+
+In cases where a non-trivial generator expression is used, the
+``INSTALL_PREFIX`` expression may be used within the argument of an
+``INSTALL_INTERFACE`` expression. It is a replacement marker which
+expands to the installation prefix when imported by a consuming project.
+
+Include directories usage requirements commonly differ between the build-tree
+and the install-tree. The ``BUILD_INTERFACE`` and ``INSTALL_INTERFACE``
+generator expressions can be used to describe separate usage requirements
+based on the usage location. Relative paths are allowed within these
+expressions, and are interpreted relative to the current source directory
+or the installation prefix, as appropriate.
+
+Two convenience APIs are provided relating to include directories usage
+requirements. The :variable:`CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE` variable
+may be enabled, with an equivalent effect to:
+
+.. code-block:: cmake
+
+ set_property(TARGET tgt APPEND PROPERTY
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR};${CMAKE_CURRENT_BINARY_DIR}>
+ )
+
+for each target affected. The convenience for installed targets is
+an ``INCLUDES DESTINATION`` component with the :command:`install(TARGETS)`
+command:
+
+.. code-block:: cmake
+
+ install(TARGETS foo bar bat EXPORT tgts ${dest_args}
+ INCLUDES DESTINATION include
+ )
+ install(EXPORT tgts ${other_args})
+ install(FILES ${headers} DESTINATION include)
+
+This is equivalent to appending ``${CMAKE_INSTALL_PREFIX}/include`` to the
+:prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES` of each of the installed
+:prop_tgt:`IMPORTED` targets when generated by :command:`install(EXPORT)`.
+
+When the :prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES` of an
+:ref:`imported target <Imported targets>` is consumed, the entries in the
+property are treated as ``SYSTEM`` include directories, as if they were
+listed in the :prop_tgt:`INTERFACE_SYSTEM_INCLUDE_DIRECTORIES` of the
+dependency. This can result in omission of compiler warnings for headers
+found in those directories. This behavior for :ref:`imported targets` may
+be controlled with the :prop_tgt:`NO_SYSTEM_FROM_IMPORTED` target property.
+
+If a binary target is linked transitively to a Mac OX framework, the
+``Headers`` directory of the framework is also treated as a usage requirement.
+This has the same effect as passing the framework directory as an include
+directory.
+
+Link Libraries and Generator Expressions
+----------------------------------------
+
+Like build specifications, :prop_tgt:`link libraries <LINK_LIBRARIES>` may be
+specified with generator expression conditions. However, as consumption of
+usage requirements is based on collection from linked dependencies, there is
+an additional limitation that the link dependencies must form a "directed
+acyclic graph". That is, if linking to a target is dependent on the value of
+a target property, that target property may not be dependent on the linked
+dependencies:
+
+.. code-block:: cmake
+
+ add_library(lib1 lib1.cpp)
+ add_library(lib2 lib2.cpp)
+ target_link_libraries(lib1 PUBLIC
+ $<$<TARGET_PROPERTY:POSITION_INDEPENDENT_CODE>:lib2>
+ )
+ add_library(lib3 lib3.cpp)
+ set_property(TARGET lib3 PROPERTY INTERFACE_POSITION_INDEPENDENT_CODE ON)
+
+ add_executable(exe1 exe1.cpp)
+ target_link_libraries(exe1 lib1 lib3)
+
+As the value of the :prop_tgt:`POSITION_INDEPENDENT_CODE` property of
+the ``exe1`` target is dependent on the linked libraries (``lib3``), and the
+edge of linking ``exe1`` is determined by the same
+:prop_tgt:`POSITION_INDEPENDENT_CODE` property, the dependency graph above
+contains a cycle. :manual:`cmake(1)` issues a diagnostic in this case.
+
+Output Files
+------------
+
+The buildsystem targets created by the :command:`add_library` and
+:command:`add_executable` commands create rules to create binary outputs.
+The exact output location of the binaries can only be determined at
+generate-time because it can depend on the build-configuration and the
+link-language of linked dependencies etc. ``TARGET_FILE``,
+``TARGET_LINKER_FILE`` and related expressions can be used to access the
+name and location of generated binaries. These expressions do not work
+for ``OBJECT`` libraries however, as there is no single file generated
+by such libraries which is relevant to the expressions.
+
+Directory-Scoped Commands
+-------------------------
+
+The :command:`target_include_directories`,
+:command:`target_compile_definitions` and
+:command:`target_compile_options` commands have an effect on only one
+target at a time. The commands :command:`add_definitions`,
+:command:`add_compile_options` and :command:`include_directories` have
+a similar function, but operate at directory scope instead of target
+scope for convenience.
+
+Pseudo Targets
+==============
+
+Some target types do not represent outputs of the buildsystem, but only inputs
+such as external dependencies, aliases or other non-build artifacts. Pseudo
+targets are not represented in the generated buildsystem.
+
+.. _`Imported Targets`:
+
+Imported Targets
+----------------
+
+An :prop_tgt:`IMPORTED` target represents a pre-existing dependency. Usually
+such targets are defined by an upstream package and should be treated as
+immutable. It is not possible to use an :prop_tgt:`IMPORTED` target in the
+left-hand-side of the :command:`target_compile_definitions`,
+:command:`target_include_directories`, :command:`target_compile_options` or
+:command:`target_link_libraries` commands, as that would be an attempt to
+modify it. :prop_tgt:`IMPORTED` targets are designed to be used only in the
+right-hand-side of those commands.
+
+:prop_tgt:`IMPORTED` targets may have the same usage requirement properties
+populated as binary targets, such as
+:prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES`,
+:prop_tgt:`INTERFACE_COMPILE_DEFINITIONS`,
+:prop_tgt:`INTERFACE_COMPILE_OPTIONS`,
+:prop_tgt:`INTERFACE_LINK_LIBRARIES`, and
+:prop_tgt:`INTERFACE_POSITION_INDEPENDENT_CODE`.
+
+The :prop_tgt:`LOCATION` may also be read from an IMPORTED target, though there
+is rarely reason to do so. Commands such as :command:`add_custom_command` can
+transparently use an :prop_tgt:`IMPORTED` :prop_tgt:`EXECUTABLE <TYPE>` target
+as a ``COMMAND`` executable.
+
+The scope of the definition of an :prop_tgt:`IMPORTED` target is the directory
+where it was defined. It may be accessed and used from subdirectories, but
+not from parent directories or sibling directories. The scope is similar to
+the scope of a cmake variable.
+
+It is also possible to define a ``GLOBAL`` :prop_tgt:`IMPORTED` target which is
+accessible globally in the buildsystem.
+
+See the :manual:`cmake-packages(7)` manual for more on creating packages
+with :prop_tgt:`IMPORTED` targets.
+
+.. _`Alias Targets`:
+
+Alias Targets
+-------------
+
+An ``ALIAS`` target is a name which may be used interchangably with
+a binary target name in read-only contexts. A primary use-case for ``ALIAS``
+targets is for example or unit test executables accompanying a library, which
+may be part of the same buildsystem or built separately based on user
+configuration.
+
+.. code-block:: cmake
+
+ add_library(lib1 lib1.cpp)
+ install(TARGETS lib1 EXPORT lib1Export ${dest_args})
+ install(EXPORT lib1Export NAMESPACE Upstream:: ${other_args})
+
+ add_library(Upstream::lib1 ALIAS lib1)
+
+In another directory, we can link unconditionally to the ``Upstream::lib1``
+target, which may be an :prop_tgt:`IMPORTED` target from a package, or an
+``ALIAS`` target if built as part of the same buildsystem.
+
+.. code-block:: cmake
+
+ if (NOT TARGET Upstream::lib1)
+ find_package(lib1 REQUIRED)
+ endif()
+ add_executable(exe1 exe1.cpp)
+ target_link_libraries(exe1 Upstream::lib1)
+
+``ALIAS`` targets are not mutable, installable or exportable. They are
+entirely local to the buildsystem description. A name can be tested for
+whether it is an ``ALIAS`` name by reading the :prop_tgt:`ALIASED_TARGET`
+property from it:
+
+.. code-block:: cmake
+
+ get_target_property(_aliased Upstream::lib1 ALIASED_TARGET)
+ if(_aliased)
+ message(STATUS "The name Upstream::lib1 is an ALIAS for ${_aliased}.")
+ endif()
+
+.. _`Interface Libraries`:
+
+Interface Libraries
+-------------------
+
+An ``INTERFACE`` target has no :prop_tgt:`LOCATION` and is mutable, but is
+otherwise similar to an :prop_tgt:`IMPORTED` target.
+
+It may specify usage requirements such as
+:prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES`,
+:prop_tgt:`INTERFACE_COMPILE_DEFINITIONS`,
+:prop_tgt:`INTERFACE_COMPILE_OPTIONS`,
+:prop_tgt:`INTERFACE_LINK_LIBRARIES`, and
+:prop_tgt:`INTERFACE_POSITION_INDEPENDENT_CODE`.
+Only the ``INTERFACE`` modes of the :command:`target_include_directories`,
+:command:`target_compile_definitions`, :command:`target_compile_options`,
+and :command:`target_link_libraries` commands may be used with ``INTERFACE``
+libraries.
+
+A primary use-case for ``INTERFACE`` libraries is header-only libraries.
+
+.. code-block:: cmake
+
+ add_library(Eigen INTERFACE)
+ target_include_directories(Eigen INTERFACE
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>
+ $<INSTALL_INTERFACE:include/Eigen>
+ )
+
+ add_executable(exe1 exe1.cpp)
+ target_link_libraries(exe1 Eigen)
+
+Here, the usage requirements from the ``Eigen`` target are consumed and used
+when compiling, but it has no effect on linking.
+
+Another use-case is to employ an entirely target-focussed design for usage
+requirements:
+
+.. code-block:: cmake
+
+ add_library(pic_on INTERFACE)
+ set_property(TARGET pic_on PROPERTY INTERFACE_POSITION_INDEPENDENT_CODE ON)
+ add_library(pic_off INTERFACE)
+ set_property(TARGET pic_off PROPERTY INTERFACE_POSITION_INDEPENDENT_CODE OFF)
+
+ add_library(enable_rtti INTERFACE)
+ target_compile_options(enable_rtti INTERFACE
+ $<$<OR:$<COMPILER_ID:GNU>,$<COMPILER_ID:Clang>>:-rtti>
+ )
+
+ add_executable(exe1 exe1.cpp)
+ target_link_libraries(exe1 pic_on enable_rtti)
+
+This way, the build specification of ``exe1`` is expressed entirely as linked
+targets, and the complexity of compiler-specific flags is encapsulated in an
+``INTERFACE`` library target.
+
+The properties permitted to be set on or read from an ``INTERFACE`` library
+are:
+
+* Properties matching ``INTERFACE_*``
+* Built-in properties matching ``COMPATIBLE_INTERFACE_*``
+* ``EXPORT_NAME``
+* ``IMPORTED``
+* ``NAME``
+* Properties matching ``MAP_IMPORTED_CONFIG_*``
+
+``INTERFACE`` libraries may be installed and exported. Any content they refer
+to must be installed separately:
+
+.. code-block:: cmake
+
+ add_library(Eigen INTERFACE)
+ target_include_directories(Eigen INTERFACE
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>
+ $<INSTALL_INTERFACE:include/Eigen>
+ )
+
+ install(TARGETS Eigen EXPORT eigenExport)
+ install(EXPORT eigenExport NAMESPACE Upstream::
+ DESTINATION lib/cmake/Eigen
+ )
+ install(FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/src/eigen.h
+ ${CMAKE_CURRENT_SOURCE_DIR}/src/vector.h
+ ${CMAKE_CURRENT_SOURCE_DIR}/src/matrix.h
+ DESTINATION include/Eigen
+ )
diff --git a/Help/manual/cmake-commands.7.rst b/Help/manual/cmake-commands.7.rst
new file mode 100644
index 0000000..fb0d2b5
--- /dev/null
+++ b/Help/manual/cmake-commands.7.rst
@@ -0,0 +1,149 @@
+.. cmake-manual-description: CMake Language Command Reference
+
+cmake-commands(7)
+*****************
+
+.. only:: html or latex
+
+ .. contents::
+
+Normal Commands
+===============
+
+These commands may be used freely in CMake projects.
+
+.. toctree::
+ :maxdepth: 1
+
+ /command/add_compile_options
+ /command/add_custom_command
+ /command/add_custom_target
+ /command/add_definitions
+ /command/add_dependencies
+ /command/add_executable
+ /command/add_library
+ /command/add_subdirectory
+ /command/add_test
+ /command/aux_source_directory
+ /command/break
+ /command/build_command
+ /command/cmake_host_system_information
+ /command/cmake_minimum_required
+ /command/cmake_policy
+ /command/configure_file
+ /command/create_test_sourcelist
+ /command/define_property
+ /command/elseif
+ /command/else
+ /command/enable_language
+ /command/enable_testing
+ /command/endforeach
+ /command/endfunction
+ /command/endif
+ /command/endmacro
+ /command/endwhile
+ /command/execute_process
+ /command/export
+ /command/file
+ /command/find_file
+ /command/find_library
+ /command/find_package
+ /command/find_path
+ /command/find_program
+ /command/fltk_wrap_ui
+ /command/foreach
+ /command/function
+ /command/get_cmake_property
+ /command/get_directory_property
+ /command/get_filename_component
+ /command/get_property
+ /command/get_source_file_property
+ /command/get_target_property
+ /command/get_test_property
+ /command/if
+ /command/include_directories
+ /command/include_external_msproject
+ /command/include_regular_expression
+ /command/include
+ /command/install
+ /command/link_directories
+ /command/list
+ /command/load_cache
+ /command/load_command
+ /command/macro
+ /command/mark_as_advanced
+ /command/math
+ /command/message
+ /command/option
+ /command/project
+ /command/qt_wrap_cpp
+ /command/qt_wrap_ui
+ /command/remove_definitions
+ /command/return
+ /command/separate_arguments
+ /command/set_directory_properties
+ /command/set_property
+ /command/set
+ /command/set_source_files_properties
+ /command/set_target_properties
+ /command/set_tests_properties
+ /command/site_name
+ /command/source_group
+ /command/string
+ /command/target_compile_definitions
+ /command/target_compile_options
+ /command/target_include_directories
+ /command/target_link_libraries
+ /command/try_compile
+ /command/try_run
+ /command/unset
+ /command/variable_watch
+ /command/while
+
+Deprecated Commands
+===================
+
+These commands are available only for compatibility with older
+versions of CMake. Do not use them in new code.
+
+.. toctree::
+ :maxdepth: 1
+
+ /command/build_name
+ /command/exec_program
+ /command/export_library_dependencies
+ /command/install_files
+ /command/install_programs
+ /command/install_targets
+ /command/link_libraries
+ /command/make_directory
+ /command/output_required_files
+ /command/remove
+ /command/subdir_depends
+ /command/subdirs
+ /command/use_mangled_mesa
+ /command/utility_source
+ /command/variable_requires
+ /command/write_file
+
+CTest Commands
+==============
+
+These commands are available only in ctest scripts.
+
+.. toctree::
+ :maxdepth: 1
+
+ /command/ctest_build
+ /command/ctest_configure
+ /command/ctest_coverage
+ /command/ctest_empty_binary_directory
+ /command/ctest_memcheck
+ /command/ctest_read_custom_files
+ /command/ctest_run_script
+ /command/ctest_sleep
+ /command/ctest_start
+ /command/ctest_submit
+ /command/ctest_test
+ /command/ctest_update
+ /command/ctest_upload
diff --git a/Help/manual/cmake-developer.7.rst b/Help/manual/cmake-developer.7.rst
new file mode 100644
index 0000000..376b56c
--- /dev/null
+++ b/Help/manual/cmake-developer.7.rst
@@ -0,0 +1,876 @@
+.. cmake-manual-description: CMake Developer Reference
+
+cmake-developer(7)
+******************
+
+.. only:: html or latex
+
+ .. contents::
+
+Introduction
+============
+
+This manual is intended for reference by developers modifying the CMake
+source tree itself.
+
+
+Permitted C++ Subset
+====================
+
+CMake is required to build with ancient C++ compilers and standard library
+implementations. Some common C++ constructs may not be used in CMake in order
+to build with such toolchains.
+
+std::vector::at
+---------------
+
+The ``at()`` member function of ``std::vector`` may not be used. Use
+``operator[]`` instead:
+
+.. code-block:: c++
+
+ std::vector<int> someVec = getVec();
+ int i1 = someVec.at(5); // Wrong
+ int i2 = someVec[5]; // Ok
+
+std::string::append and std::string::clear
+------------------------------------------
+
+The ``append()`` and ``clear()`` member functions of ``std::string`` may not
+be used. Use ``operator+=`` and ``operator=`` instead:
+
+.. code-block:: c++
+
+ std::string stringBuilder;
+ stringBuilder.append("chunk"); // Wrong
+ stringBuilder.clear(); // Wrong
+ stringBuilder += "chunk"; // Ok
+ stringBuilder = ""; // Ok
+
+std::set const iterators
+------------------------
+
+The ``find()`` member function of a ``const`` ``std::set`` instance may not be
+used in a comparison with the iterator returned by ``end()``:
+
+.. code-block:: c++
+
+ const std::set<cmStdString>& someSet = getSet();
+ if (someSet.find("needle") == someSet.end()) // Wrong
+ {
+ // ...
+ }
+
+The return value of ``find()`` must be assigned to an intermediate
+``const_iterator`` for comparison:
+
+.. code-block:: c++
+
+ const std::set<cmStdString>& someSet;
+ const std::set<cmStdString>::const_iterator i = someSet.find("needle");
+ if (i != propSet.end()) // Ok
+ {
+ // ...
+ }
+
+Char Array to ``string`` Conversions with Algorithms
+----------------------------------------------------
+
+In some implementations, algorithms operating on iterators to a container of
+``std::string`` can not accept a ``const char*`` value:
+
+.. code-block:: c++
+
+ const char* dir = /*...*/;
+ std::vector<std::string> vec;
+ // ...
+ std::binary_search(vec.begin(), vec.end(), dir); // Wrong
+
+The ``std::string`` may need to be explicitly constructed:
+
+.. code-block:: c++
+
+ const char* dir = /*...*/;
+ std::vector<std::string> vec;
+ // ...
+ std::binary_search(vec.begin(), vec.end(), std::string(dir)); // Ok
+
+std::auto_ptr
+-------------
+
+Some implementations have a ``std::auto_ptr`` which can not be used as a
+return value from a function. ``std::auto_ptr`` may not be used. Use
+``cmsys::auto_ptr`` instead.
+
+std::vector::insert and std::set
+--------------------------------
+
+Use of ``std::vector::insert`` with an iterator whose ``element_type`` requires
+conversion is not allowed:
+
+.. code-block:: c++
+
+ std::set<cmStdString> theSet;
+ std::vector<std::string> theVector;
+ theVector.insert(theVector.end(), theSet.begin(), theSet.end()); // Wrong
+
+A loop must be used instead:
+
+.. code-block:: c++
+
+ std::set<cmStdString> theSet;
+ std::vector<std::string> theVector;
+ for(std::set<cmStdString>::iterator li = theSet.begin();
+ li != theSet.end(); ++li)
+ {
+ theVector.push_back(*li);
+ }
+
+std::set::insert
+----------------
+
+Use of ``std::set::insert`` is not allowed with any source container:
+
+.. code-block:: c++
+
+ std::set<cmTarget*> theSet;
+ theSet.insert(targets.begin(), targets.end()); // Wrong
+
+A loop must be used instead:
+
+.. code-block:: c++
+
+ ConstIterator it = targets.begin();
+ const ConstIterator end = targets.end();
+ for ( ; it != end; ++it)
+ {
+ theSet.insert(*it);
+ }
+
+.. MSVC6, SunCC 5.9
+
+Template Parameter Defaults
+---------------------------
+
+On ancient compilers, C++ template must use template parameters in function
+arguments. If no parameter of that type is needed, the common workaround is
+to add a defaulted pointer to the type to the templated function. However,
+this does not work with other ancient compilers:
+
+.. code-block:: c++
+
+ template<typename PropertyType>
+ PropertyType getTypedProperty(cmTarget* tgt, const char* prop,
+ PropertyType* = 0) // Wrong
+ {
+
+ }
+
+.. code-block:: c++
+
+ template<typename PropertyType>
+ PropertyType getTypedProperty(cmTarget* tgt, const char* prop,
+ PropertyType*) // Ok
+ {
+
+ }
+
+and invoke it with the value ``0`` explicitly in all cases.
+
+std::min and std::max
+---------------------
+
+``min`` and ``max`` are defined as macros on some systems. ``std::min`` and
+``std::max`` may not be used. Use ``cmMinimum`` and ``cmMaximum`` instead.
+
+size_t
+------
+
+Various implementations have differing implementation of ``size_t``. When
+assigning the result of ``.size()`` on a container for example, the result
+should not be assigned to an ``unsigned int`` or similar. ``std::size_t`` must
+not be used.
+
+Templates
+---------
+
+Some template code is permitted, but with some limitations. Member templates
+may not be used, and template friends may not be used.
+
+Help
+====
+
+The ``Help`` directory contains CMake help manual source files.
+They are written using the `reStructuredText`_ markup syntax and
+processed by `Sphinx`_ to generate the CMake help manuals.
+
+.. _`reStructuredText`: http://docutils.sourceforge.net/docs/ref/rst/introduction.html
+.. _`Sphinx`: http://sphinx-doc.org
+
+Markup Constructs
+-----------------
+
+In addition to using Sphinx to generate the CMake help manuals, we
+also use a C++-implemented document processor to print documents for
+the ``--help-*`` command-line help options. It supports a subset of
+reStructuredText markup. When authoring or modifying documents,
+please verify that the command-line help looks good in addition to the
+Sphinx-generated html and man pages.
+
+The command-line help processor supports the following constructs
+defined by reStructuredText, Sphinx, and a CMake extension to Sphinx.
+
+..
+ Note: This list must be kept consistent with the cmRST implementation.
+
+CMake Domain directives
+ Directives defined in the `CMake Domain`_ for defining CMake
+ documentation objects are printed in command-line help output as
+ if the lines were normal paragraph text with interpretation.
+
+CMake Domain interpreted text roles
+ Interpreted text roles defined in the `CMake Domain`_ for
+ cross-referencing CMake documentation objects are replaced by their
+ link text in command-line help output. Other roles are printed
+ literally and not processed.
+
+``code-block`` directive
+ Add a literal code block without interpretation. The command-line
+ help processor prints the block content without the leading directive
+ line and with common indentation replaced by one space.
+
+``include`` directive
+ Include another document source file. The command-line help
+ processor prints the included document inline with the referencing
+ document.
+
+literal block after ``::``
+ A paragraph ending in ``::`` followed by a blank line treats
+ the following indented block as literal text without interpretation.
+ The command-line help processor prints the ``::`` literally and
+ prints the block content with common indentation replaced by one
+ space.
+
+``note`` directive
+ Call out a side note. The command-line help processor prints the
+ block content as if the lines were normal paragraph text with
+ interpretation.
+
+``parsed-literal`` directive
+ Add a literal block with markup interpretation. The command-line
+ help processor prints the block content without the leading
+ directive line and with common indentation replaced by one space.
+
+``productionlist`` directive
+ Render context-free grammar productions. The command-line help
+ processor prints the block content as if the lines were normal
+ paragraph text with interpretation.
+
+``replace`` directive
+ Define a ``|substitution|`` replacement.
+ The command-line help processor requires a substitution replacement
+ to be defined before it is referenced.
+
+``|substitution|`` reference
+ Reference a substitution replacement previously defined by
+ the ``replace`` directive. The command-line help processor
+ performs the substitution and replaces all newlines in the
+ replacement text with spaces.
+
+``toctree`` directive
+ Include other document sources in the Table-of-Contents
+ document tree. The command-line help processor prints
+ the referenced documents inline as part of the referencing
+ document.
+
+Inline markup constructs not listed above are printed literally in the
+command-line help output. We prefer to use inline markup constructs that
+look correct in source form, so avoid use of \\-escapes in favor of inline
+literals when possible.
+
+Explicit markup blocks not matching directives listed above are removed from
+command-line help output. Do not use them, except for plain ``..`` comments
+that are removed by Sphinx too.
+
+Note that nested indentation of blocks is not recognized by the
+command-line help processor. Therefore:
+
+* Explicit markup blocks are recognized only when not indented
+ inside other blocks.
+
+* Literal blocks after paragraphs ending in ``::`` but not
+ at the top indentation level may consume all indented lines
+ following them.
+
+Try to avoid these cases in practice.
+
+CMake Domain
+------------
+
+CMake adds a `Sphinx Domain`_ called ``cmake``, also called the
+"CMake Domain". It defines several "object" types for CMake
+documentation:
+
+``command``
+ A CMake language command.
+
+``generator``
+ A CMake native build system generator.
+ See the :manual:`cmake(1)` command-line tool's ``-G`` option.
+
+``manual``
+ A CMake manual page, like this :manual:`cmake-developer(7)` manual.
+
+``module``
+ A CMake module.
+ See the :manual:`cmake-modules(7)` manual
+ and the :command:`include` command.
+
+``policy``
+ A CMake policy.
+ See the :manual:`cmake-policies(7)` manual
+ and the :command:`cmake_policy` command.
+
+``prop_cache, prop_dir, prop_gbl, prop_sf, prop_test, prop_tgt``
+ A CMake cache, directory, global, source file, test, or target
+ property, respectively. See the :manual:`cmake-properties(7)` manual
+ and the :command:`set_property` command.
+
+``variable``
+ A CMake language variable.
+ See the :manual:`cmake-variables(7)` manual
+ and the :command:`set` command.
+
+Documentation objects in the CMake Domain come from two sources.
+First, the CMake extension to Sphinx transforms every document named
+with the form ``Help/<type>/<file-name>.rst`` to a domain object with
+type ``<type>``. The object name is extracted from the document title,
+which is expected to be of the form::
+
+ <object-name>
+ -------------
+
+and to appear at or near the top of the ``.rst`` file before any other
+lines starting in a letter, digit, or ``<``. If no such title appears
+literally in the ``.rst`` file, the object name is the ``<file-name>``.
+If a title does appear, it is expected that ``<file-name>`` is equal
+to ``<object-name>`` with any ``<`` and ``>`` characters removed.
+
+Second, the CMake Domain provides directives to define objects inside
+other documents:
+
+.. code-block:: rst
+
+ .. command:: <command-name>
+
+ This indented block documents <command-name>.
+
+ .. variable:: <variable-name>
+
+ This indented block documents <variable-name>.
+
+Object types for which no directive is available must be defined using
+the first approach above.
+
+.. _`Sphinx Domain`: http://sphinx-doc.org/domains.html
+
+Cross-References
+----------------
+
+Sphinx uses reStructuredText interpreted text roles to provide
+cross-reference syntax. The `CMake Domain`_ provides for each
+domain object type a role of the same name to cross-reference it.
+CMake Domain roles are inline markup of the forms::
+
+ :type:`name`
+ :type:`text <name>`
+
+where ``type`` is the domain object type and ``name`` is the
+domain object name. In the first form the link text will be
+``name`` (or ``name()`` if the type is ``command``) and in
+the second form the link text will be the explicit ``text``.
+For example, the code:
+
+.. code-block:: rst
+
+ * The :command:`list` command.
+ * The :command:`list(APPEND)` sub-command.
+ * The :command:`list() command <list>`.
+ * The :command:`list(APPEND) sub-command <list>`.
+ * The :variable:`CMAKE_VERSION` variable.
+ * The :prop_tgt:`OUTPUT_NAME_<CONFIG>` target property.
+
+produces:
+
+* The :command:`list` command.
+* The :command:`list(APPEND)` sub-command.
+* The :command:`list() command <list>`.
+* The :command:`list(APPEND) sub-command <list>`.
+* The :variable:`CMAKE_VERSION` variable.
+* The :prop_tgt:`OUTPUT_NAME_<CONFIG>` target property.
+
+Note that CMake Domain roles differ from Sphinx and reStructuredText
+convention in that the form ``a<b>``, without a space preceding ``<``,
+is interpreted as a name instead of link text with an explicit target.
+This is necessary because we use ``<placeholders>`` frequently in
+object names like ``OUTPUT_NAME_<CONFIG>``. The form ``a <b>``,
+with a space preceding ``<``, is still interpreted as a link text
+with an explicit target.
+
+Style
+-----
+
+1)
+ Command signatures should be marked up as plain literal blocks, not as
+ cmake ``code-blocks``.
+
+2)
+ Signatures are separated from preceding content by a horizontal
+ line. That is, use:
+
+ .. code-block:: rst
+
+ ... preceding paragraph.
+
+ ---------------------------------------------------------------------
+
+ ::
+
+ add_library(<lib> ...)
+
+ This signature is used for ...
+
+3)
+ Use "``OFF``" and "``ON``" for boolean values which can be modified by
+ the user, such as :prop_tgt:`POSITION_INDEPENDENT_CODE`. Such properties
+ may be "enabled" and "disabled". Use "``True``" and "``False``" for
+ inherent values which can't be modified after being set, such as the
+ :prop_tgt:`IMPORTED` property of a build target.
+
+4)
+ Use two spaces for indentation. Use two spaces between sentences in
+ prose.
+
+5)
+ Prefer to mark the start of literal blocks with ``::`` at the end of
+ the preceding paragraph. In cases where the following block gets
+ a ``code-block`` marker, put a single ``:`` at the end of the preceding
+ paragraph.
+
+6)
+ Prefer to restrict the width of lines to 75-80 columns. This is not a
+ hard restriction, but writing new paragraphs wrapped at 75 columns
+ allows space for adding minor content without significant re-wrapping of
+ content.
+
+7)
+ Mark up self-references with ``inline-literal`` syntax. For example,
+ within the add_executable command documentation, use
+
+ .. code-block:: rst
+
+ ``add_executable``
+
+ not
+
+ .. code-block:: rst
+
+ :command:`add_executable`
+
+ which is used elsewhere.
+
+8)
+ Mark up all other linkable references as links, including repeats. An
+ alternative, which is used by wikipedia (`<http://en.wikipedia.org/wiki/WP:REPEATLINK>`_),
+ is to link to a reference only once per article. That style is not used
+ in CMake documentation.
+
+9)
+ Mark up references to keywords in signatures, file names, and other
+ technical terms with ``inline-literl`` syntax, for example:
+
+ .. code-block:: rst
+
+ If ``WIN32`` is used with :command:`add_executable`, the
+ :prop_tgt:`WIN32_EXECUTABLE` target property is enabled. That command
+ creates the file ``<name>.exe`` on Windows.
+
+
+10)
+ If referring to a concept which corresponds to a property, and that
+ concept is described in a high-level manual, prefer to link to the
+ manual section instead of the property. For example:
+
+ .. code-block:: rst
+
+ This command creates an :ref:`Imported Target <Imported Targets>`.
+
+ instead of:
+
+ .. code-block:: rst
+
+ This command creates an :prop_tgt:`IMPORTED` target.
+
+ The latter should be used only when referring specifically to the
+ property.
+
+ References to manual sections are not automatically created by creating
+ a section, but code such as:
+
+ .. code-block:: rst
+
+ .. _`Imported Targets`:
+
+ creates a suitable anchor. Use an anchor name which matches the name
+ of the corresponding section. Refer to the anchor using a
+ cross-reference with specified text.
+
+ Imported Targets need the ``IMPORTED`` term marked up with care in
+ particular because the term may refer to a command keyword
+ (``IMPORTED``), a target property (:prop_tgt:`IMPORTED`), or a
+ concept (:ref:`Imported Targets`).
+
+11)
+ Where a property, command or variable is related conceptually to others,
+ by for example, being related to the buildsystem description, generator
+ expressions or Qt, each relevant property, command or variable should
+ link to the primary manual, which provides high-level information. Only
+ particular information relating to the command should be in the
+ documentation of the command.
+
+12)
+ When marking section titles, make the section decoration line as long as
+ the title text. Use only a line below the title, not above. For
+ example:
+
+ .. code-block:: rst
+
+ Title Text
+ ----------
+
+ Capitalize the first letter of each non-minor word in the title.
+
+13)
+ When referring to properties, variables, commands etc, prefer to link
+ to the target object and follow that with the type of object it is.
+ For example:
+
+ .. code-block:: rst
+
+ Set the :prop_tgt:`AUTOMOC` target property to ``ON``.
+
+ Instead of
+
+ .. code-block:: rst
+
+ Set the target property :prop_tgt:`AUTOMOC` to ``ON``.
+
+ The ``policy`` directive is an exception, and the type us usually
+ referred to before the link:
+
+ .. code-block:: rst
+
+ If policy :prop_tgt:`CMP0022` is set to ``NEW`` the behavior is ...
+
+14)
+ Signatures of commands should wrap optional parts with square brackets,
+ and should mark list of optional arguments with an ellipsis (``...``).
+ Elements of the signature which are specified by the user should be
+ specified with angle brackets, and may be referred to in prose using
+ ``inline-literal`` syntax.
+
+15)
+ Use American English spellings in prose.
+
+
+Modules
+=======
+
+The ``Modules`` directory contains CMake-language ``.cmake`` module files.
+
+Module Documentation
+--------------------
+
+To document CMake module ``Modules/<module-name>.cmake``, modify
+``Help/manual/cmake-modules.7.rst`` to reference the module in the
+``toctree`` directive, in sorted order, as::
+
+ /module/<module-name>
+
+Then add the module document file ``Help/module/<module-name>.rst``
+containing just the line::
+
+ .. cmake-module:: ../../Modules/<module-name>.cmake
+
+The ``cmake-module`` directive will scan the module file to extract
+reStructuredText markup from comment blocks that start in ``.rst:``.
+Add to the top of ``Modules/<module-name>.cmake`` a
+:ref:`Line Comment` block of the form:
+
+.. code-block:: cmake
+
+ #.rst:
+ # <module-name>
+ # -------------
+ #
+ # <reStructuredText documentation of module>
+
+or a :ref:`Bracket Comment` of the form:
+
+.. code-block:: cmake
+
+ #[[.rst:
+ <module-name>
+ -------------
+
+ <reStructuredText documentation of module>
+ #]]
+
+Any number of ``=`` may be used in the opening and closing brackets
+as long as they match. Content on the line containing the closing
+bracket is excluded if and only if the line starts in ``#``.
+
+Additional such ``.rst:`` comments may appear anywhere in the module file.
+All such comments must start with ``#`` in the first column.
+
+For example, a ``Modules/Findxxx.cmake`` module may contain:
+
+.. code-block:: cmake
+
+ #.rst:
+ # FindXxx
+ # -------
+ #
+ # This is a cool module.
+ # This module does really cool stuff.
+ # It can do even more than you think.
+ #
+ # It even needs two paragraphs to tell you about it.
+ # And it defines the following variables:
+ #
+ # * VAR_COOL: this is great isn't it?
+ # * VAR_REALLY_COOL: cool right?
+
+ <code>
+
+ #[========================================[.rst:
+ .. command:: xxx_do_something
+
+ This command does something for Xxx::
+
+ xxx_do_something(some arguments)
+ #]========================================]
+ macro(xxx_do_something)
+ <code>
+ endmacro()
+
+Find Modules
+------------
+
+A "find module" is a ``Modules/Find<package>.cmake`` file to be loaded
+by the :command:`find_package` command when invoked for ``<package>``.
+
+We would like all ``FindXxx.cmake`` files to produce consistent variable
+names. Please use the following consistent variable names for general use.
+
+Xxx_INCLUDE_DIRS
+ The final set of include directories listed in one variable for use by client
+ code. This should not be a cache entry.
+
+Xxx_LIBRARIES
+ The libraries to link against to use Xxx. These should include full paths.
+ This should not be a cache entry.
+
+Xxx_DEFINITIONS
+ Definitions to use when compiling code that uses Xxx. This really shouldn't
+ include options such as (-DHAS_JPEG)that a client source-code file uses to
+ decide whether to #include <jpeg.h>
+
+Xxx_EXECUTABLE
+ Where to find the Xxx tool.
+
+Xxx_Yyy_EXECUTABLE
+ Where to find the Yyy tool that comes with Xxx.
+
+Xxx_LIBRARY_DIRS
+ Optionally, the final set of library directories listed in one variable for
+ use by client code. This should not be a cache entry.
+
+Xxx_ROOT_DIR
+ Where to find the base directory of Xxx.
+
+Xxx_VERSION_Yy
+ Expect Version Yy if true. Make sure at most one of these is ever true.
+
+Xxx_WRAP_Yy
+ If False, do not try to use the relevant CMake wrapping command.
+
+Xxx_Yy_FOUND
+ If False, optional Yy part of Xxx sytem is not available.
+
+Xxx_FOUND
+ Set to false, or undefined, if we haven't found, or don't want to use Xxx.
+
+Xxx_NOT_FOUND_MESSAGE
+ Should be set by config-files in the case that it has set Xxx_FOUND to FALSE.
+ The contained message will be printed by the find_package() command and by
+ find_package_handle_standard_args() to inform the user about the problem.
+
+Xxx_RUNTIME_LIBRARY_DIRS
+ Optionally, the runtime library search path for use when running an
+ executable linked to shared libraries. The list should be used by user code
+ to create the PATH on windows or LD_LIBRARY_PATH on unix. This should not be
+ a cache entry.
+
+Xxx_VERSION_STRING
+ A human-readable string containing the version of the package found, if any.
+
+Xxx_VERSION_MAJOR
+ The major version of the package found, if any.
+
+Xxx_VERSION_MINOR
+ The minor version of the package found, if any.
+
+Xxx_VERSION_PATCH
+ The patch version of the package found, if any.
+
+You do not have to provide all of the above variables. You should provide
+Xxx_FOUND under most circumstances. If Xxx is a library, then Xxx_LIBRARIES,
+should also be defined, and Xxx_INCLUDE_DIRS should usually be defined (I
+guess libm.a might be an exception)
+
+The following names should not usually be used in CMakeLists.txt files, but
+they may be usefully modified in users' CMake Caches to control stuff.
+
+Xxx_LIBRARY
+ Name of Xxx Library. A User may set this and Xxx_INCLUDE_DIR to ignore to
+ force non-use of Xxx.
+
+Xxx_Yy_LIBRARY
+ Name of Yy library that is part of the Xxx system. It may or may not be
+ required to use Xxx.
+
+Xxx_INCLUDE_DIR
+ Where to find xxx.h, etc. (Xxx_INCLUDE_PATH was considered bad because a path
+ includes an actual filename.)
+
+Xxx_Yy_INCLUDE_DIR
+ Where to find xxx_yy.h, etc.
+
+For tidiness's sake, try to keep as many options as possible out of the cache,
+leaving at least one option which can be used to disable use of the module, or
+locate a not-found library (e.g. Xxx_ROOT_DIR). For the same reason, mark
+most cache options as advanced.
+
+If you need other commands to do special things then it should still begin
+with ``Xxx_``. This gives a sort of namespace effect and keeps things tidy for the
+user. You should put comments describing all the exported settings, plus
+descriptions of any the users can use to control stuff.
+
+You really should also provide backwards compatibility any old settings that
+were actually in use. Make sure you comment them as deprecated, so that
+no-one starts using them.
+
+To add a module to the CMake documentation, follow the steps in the
+`Module Documentation`_ section above. Test the documentation formatting
+by running ``cmake --help-module FindXxx``, and also by enabling the
+``SPHINX_HTML`` and ``SPHINX_MAN`` options to build the documentation.
+Edit the comments until generated documentation looks satisfactory.
+To have a .cmake file in this directory NOT show up in the modules
+documentation, simply leave out the ``Help/module/<module-name>.rst`` file
+and the ``Help/manual/cmake-modules.7.rst`` toctree entry.
+
+After the documentation, leave a *BLANK* line, and then add a
+copyright and licence notice block like this one::
+
+ #=============================================================================
+ # Copyright 2009-2011 Your Name
+ #
+ # Distributed under the OSI-approved BSD License (the "License");
+ # see accompanying file Copyright.txt for details.
+ #
+ # This software is distributed WITHOUT ANY WARRANTY; without even the
+ # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ # See the License for more information.
+ #=============================================================================
+ # (To distribute this file outside of CMake, substitute the full
+ # License text for the above reference.)
+
+The layout of the notice block is strictly enforced by the ``ModuleNotices``
+test. Only the year range and name may be changed freely.
+
+A FindXxx.cmake module will typically be loaded by the command::
+
+ FIND_PACKAGE(Xxx [major[.minor[.patch[.tweak]]]] [EXACT]
+ [QUIET] [[REQUIRED|COMPONENTS] [components...]])
+
+If any version numbers are given to the command it will set the following
+variables before loading the module:
+
+Xxx_FIND_VERSION
+ full requested version string
+
+Xxx_FIND_VERSION_MAJOR
+ major version if requested, else 0
+
+Xxx_FIND_VERSION_MINOR
+ minor version if requested, else 0
+
+Xxx_FIND_VERSION_PATCH
+ patch version if requested, else 0
+
+Xxx_FIND_VERSION_TWEAK
+ tweak version if requested, else 0
+
+Xxx_FIND_VERSION_COUNT
+ number of version components, 0 to 4
+
+Xxx_FIND_VERSION_EXACT
+ true if EXACT option was given
+
+If the find module supports versioning it should locate a version of
+the package that is compatible with the version requested. If a
+compatible version of the package cannot be found the module should
+not report success. The version of the package found should be stored
+in "Xxx_VERSION..." version variables documented by the module.
+
+If the QUIET option is given to the command it will set the variable
+Xxx_FIND_QUIETLY to true before loading the FindXxx.cmake module. If
+this variable is set the module should not complain about not being
+able to find the package. If the
+REQUIRED option is given to the command it will set the variable
+Xxx_FIND_REQUIRED to true before loading the FindXxx.cmake module. If
+this variable is set the module should issue a FATAL_ERROR if the
+package cannot be found.
+If neither the QUIET nor REQUIRED options are given then the
+FindXxx.cmake module should look for the package and complain without
+error if the module is not found.
+
+FIND_PACKAGE() will set the variable CMAKE_FIND_PACKAGE_NAME to
+contain the actual name of the package.
+
+A package can provide sub-components.
+Those components can be listed after the COMPONENTS (or REQUIRED) or
+OPTIONAL_COMPONENTS keywords. The set of all listed components will be
+specified in a Xxx_FIND_COMPONENTS variable.
+For each package-specific component, say Yyy, a variable Xxx_FIND_REQUIRED_Yyy
+will be set to true if it listed after COMPONENTS and it will be set to false
+if it was listed after OPTIONAL_COMPONENTS.
+Using those variables a FindXxx.cmake module and also a XxxConfig.cmake
+package configuration file can determine whether and which components have
+been requested, and whether they were requested as required or as optional.
+For each of the requested components a Xxx_Yyy_FOUND variable should be set
+accordingly.
+The per-package Xxx_FOUND variable should be only set to true if all requested
+required components have been found. A missing optional component should not
+keep the Xxx_FOUND variable from being set to true.
+If the package provides Xxx_INCLUDE_DIRS and Xxx_LIBRARIES variables, the
+include dirs and libraries for all components which were requested and which
+have been found should be added to those two variables.
+
+To get this behavior you can use the FIND_PACKAGE_HANDLE_STANDARD_ARGS()
+macro, as an example see FindJPEG.cmake.
+
+For internal implementation, it's a generally accepted convention that
+variables starting with underscore are for temporary use only. (variable
+starting with an underscore are not intended as a reserved prefix).
diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst
new file mode 100644
index 0000000..ac8c3f8
--- /dev/null
+++ b/Help/manual/cmake-generator-expressions.7.rst
@@ -0,0 +1,190 @@
+.. cmake-manual-description: CMake Generator Expressions
+
+cmake-generator-expressions(7)
+******************************
+
+.. only:: html or latex
+
+ .. contents::
+
+Introduction
+============
+
+Generator expressions are evaluated during build system generation to produce
+information specific to each build configuration.
+
+Generator expressions are allowed in the context of many target properties,
+such as :prop_tgt:`LINK_LIBRARIES`, :prop_tgt:`INCLUDE_DIRECTORIES`,
+:prop_tgt:`COMPILE_DEFINITIONS` and others. They may also be used when using
+commands to populate those properties, such as :command:`target_link_libraries`,
+:command:`target_include_directories`, :command:`target_compile_definitions`
+and others.
+
+This means that they enable conditional linking, conditional
+definitions used when compiling, and conditional include directories and
+more. The conditions may be based on the build configuration, target
+properties, platform information or any other queryable information.
+
+Logical Expressions
+===================
+
+Logical expressions are used to create conditional output. The basic
+expressions are the ``0`` and ``1`` expressions. Because other logical
+expressions evaluate to either ``0`` or ``1``, they can be composed to
+create conditional output::
+
+ $<$<CONFIG:Debug>:DEBUG_MODE>
+
+expands to ``DEBUG_MODE`` when the ``Debug`` configuration is used, and
+otherwise expands to nothing.
+
+``$<0:...>``
+ Empty string (ignores ``...``)
+``$<1:...>``
+ Content of ``...``
+``$<BOOL:...>``
+ ``1`` if the ``...`` is true, else ``0``
+``$<AND:?[,?]...>``
+ ``1`` if all ``?`` are ``1``, else ``0``
+
+ The ``?`` must always be either ``0`` or ``1`` in boolean expressions.
+
+``$<OR:?[,?]...>``
+ ``0`` if all ``?`` are ``0``, else ``1``
+``$<NOT:?>``
+ ``0`` if ``?`` is ``1``, else ``1``
+``$<STREQUAL:a,b>``
+ ``1`` if ``a`` is STREQUAL ``b``, else ``0``
+``$<EQUAL:a,b>``
+ ``1`` if ``a`` is EQUAL ``b`` in a numeric comparison, else ``0``
+``$<CONFIG:cfg>``
+ ``1`` if config is ``cfg``, else ``0``. This is a case-insensitive comparison.
+ The mapping in :prop_tgt:`MAP_IMPORTED_CONFIG_<CONFIG>` is also considered by
+ this expression when it is evaluated on a property on an :prop_tgt:`IMPORTED`
+ target.
+``$<PLATFORM_ID:comp>``
+ ``1`` if the CMake-id of the platform matches ``comp``, otherwise ``0``.
+``$<C_COMPILER_ID:comp>``
+ ``1`` if the CMake-id of the C compiler matches ``comp``, otherwise ``0``.
+``$<CXX_COMPILER_ID:comp>``
+ ``1`` if the CMake-id of the CXX compiler matches ``comp``, otherwise ``0``.
+``$<VERSION_GREATER:v1,v2>``
+ ``1`` if ``v1`` is a version greater than ``v2``, else ``0``.
+``$<VERSION_LESS:v1,v2>``
+ ``1`` if ``v1`` is a version less than ``v2``, else ``0``.
+``$<VERSION_EQUAL:v1,v2>``
+ ``1`` if ``v1`` is the same version as ``v2``, else ``0``.
+``$<C_COMPILER_VERSION:ver>``
+ ``1`` if the version of the C compiler matches ``ver``, otherwise ``0``.
+``$<CXX_COMPILER_VERSION:ver>``
+ ``1`` if the version of the CXX compiler matches ``ver``, otherwise ``0``.
+``$<TARGET_POLICY:pol>``
+ ``1`` if the policy ``pol`` was NEW when the 'head' target was created,
+ else ``0``. If the policy was not set, the warning message for the policy
+ will be emitted. This generator expression only works for a subset of
+ policies.
+
+Informational Expressions
+=========================
+
+These expressions expand to some information. The information may be used
+directly, eg::
+
+ include_directories(/usr/include/$<CXX_COMPILER_ID>/)
+
+expands to ``/usr/include/GNU/`` or ``/usr/include/Clang/`` etc, depending on
+the Id of the compiler.
+
+These expressions may also may be combined with logical expressions::
+
+ $<$<VERSION_LESS:$<CXX_COMPILER_VERSION>,4.2.0>:OLD_COMPILER>
+
+expands to ``OLD_COMPILER`` if the
+:variable:`CMAKE_CXX_COMPILER_VERSION <CMAKE_<LANG>_COMPILER_VERSION>` is less
+than 4.2.0.
+
+``$<CONFIGURATION>``
+ Configuration name. Deprecated. Use ``CONFIG`` instead.
+``$<CONFIG>``
+ Configuration name
+``$<PLATFORM_ID>``
+ The CMake-id of the platform
+``$<C_COMPILER_ID>``
+ The CMake-id of the C compiler used.
+``$<CXX_COMPILER_ID>``
+ The CMake-id of the CXX compiler used.
+``$<C_COMPILER_VERSION>``
+ The version of the C compiler used.
+``$<CXX_COMPILER_VERSION>``
+ The version of the CXX compiler used.
+``$<TARGET_FILE:tgt>``
+ Full path to main file (.exe, .so.1.2, .a) where ``tgt`` is the name of a target.
+``$<TARGET_FILE_NAME:tgt>``
+ Name of main file (.exe, .so.1.2, .a).
+``$<TARGET_FILE_DIR:tgt>``
+ Directory of main file (.exe, .so.1.2, .a).
+``$<TARGET_LINKER_FILE:tgt>``
+ File used to link (.a, .lib, .so) where ``tgt`` is the name of a target.
+``$<TARGET_LINKER_FILE_NAME:tgt>``
+ Name of file used to link (.a, .lib, .so).
+``$<TARGET_LINKER_FILE_DIR:tgt>``
+ Directory of file used to link (.a, .lib, .so).
+``$<TARGET_SONAME_FILE:tgt>``
+ File with soname (.so.3) where ``tgt`` is the name of a target.
+``$<TARGET_SONAME_FILE_NAME:tgt>``
+ Name of file with soname (.so.3).
+``$<TARGET_SONAME_FILE_DIR:tgt>``
+ Directory of with soname (.so.3).
+``$<TARGET_PROPERTY:tgt,prop>``
+ Value of the property ``prop`` on the target ``tgt``.
+
+ Note that ``tgt`` is not added as a dependency of the target this
+ expression is evaluated on.
+``$<TARGET_PROPERTY:prop>``
+ Value of the property ``prop`` on the target on which the generator
+ expression is evaluated.
+``$<INSTALL_PREFIX>``
+ Content of the install prefix when the target is exported via
+ :command:`install(EXPORT)` and empty otherwise.
+
+Output Expressions
+==================
+
+These expressions generate output, in some cases depending on an input. These
+expressions may be combined with other expressions for information or logical
+comparison::
+
+ -I$<JOIN:$<TARGET_PROPERTY:INCLUDE_DIRECTORIES>, -I>
+
+generates a string of the entries in the :prop_tgt:`INCLUDE_DIRECTORIES` target
+property with each entry preceeded by ``-I``. Note that a more-complete use
+in this situation would require first checking if the INCLUDE_DIRECTORIES
+property is non-empty::
+
+ $<$<BOOL:$<TARGET_PROPERTY:INCLUDE_DIRECTORIES>>:-I$<JOIN:$<TARGET_PROPERTY:INCLUDE_DIRECTORIES>, -I>>
+
+``$<JOIN:list,...>``
+ Joins the list with the content of ``...``
+``$<ANGLE-R>``
+ A literal ``>``. Used to compare strings which contain a ``>`` for example.
+``$<COMMA>``
+ A literal ``,``. Used to compare strings which contain a ``,`` for example.
+``$<SEMICOLON>``
+ A literal ``;``. Used to prevent list expansion on an argument with ``;``.
+``$<TARGET_NAME:...>``
+ Marks ``...`` as being the name of a target. This is required if exporting
+ targets to multiple dependent export sets. The ``...`` must be a literal
+ name of a target- it may not contain generator expressions.
+``$<INSTALL_INTERFACE:...>``
+ Content of ``...`` when the property is exported using :command:`install(EXPORT)`,
+ and empty otherwise.
+``$<BUILD_INTERFACE:...>``
+ Content of ``...`` when the property is exported using :command:`export`, or
+ when the target is used by another target in the same buildsystem. Expands to
+ the empty string otherwise.
+``$<LOWER_CASE:...>``
+ Content of ``...`` converted to lower case.
+``$<UPPER_CASE:...>``
+ Content of ``...`` converted to upper case.
+``$<MAKE_C_IDENTIFIER:...>``
+ Content of ``...`` converted to a C identifier.
diff --git a/Help/manual/cmake-generators.7.rst b/Help/manual/cmake-generators.7.rst
new file mode 100644
index 0000000..8d0c704
--- /dev/null
+++ b/Help/manual/cmake-generators.7.rst
@@ -0,0 +1,86 @@
+.. cmake-manual-description: CMake Generators Reference
+
+cmake-generators(7)
+*******************
+
+.. only:: html or latex
+
+ .. contents::
+
+Introduction
+============
+
+A *CMake Generator* is responsible for writing the input files for
+a native build system. Exactly one of the `CMake Generators`_ must be
+selected for a build tree to determine what native build system is to
+be used. Optionally one of the `Extra Generators`_ may be selected
+as a variant of some of the `Command-Line Build Tool Generators`_ to
+produce project files for an auxiliary IDE.
+
+CMake Generators are platform-specific so each may be available only
+on certain platforms. The :manual:`cmake(1)` command-line tool ``--help``
+output lists available generators on the current platform. Use its ``-G``
+option to specify the generator for a new build tree.
+The :manual:`cmake-gui(1)` offers interactive selection of a generator
+when creating a new build tree.
+
+CMake Generators
+================
+
+Command-Line Build Tool Generators
+----------------------------------
+
+These generators support command-line build tools. In order to use them,
+one must launch CMake from a command-line prompt whose environment is
+already configured for the chosen compiler and build tool.
+
+.. toctree::
+ :maxdepth: 1
+
+ /generator/Borland Makefiles
+ /generator/MSYS Makefiles
+ /generator/MinGW Makefiles
+ /generator/NMake Makefiles
+ /generator/NMake Makefiles JOM
+ /generator/Ninja
+ /generator/Unix Makefiles
+ /generator/Watcom WMake
+
+IDE Build Tool Generators
+-------------------------
+
+These generators support Integrated Development Environment (IDE)
+project files. Since the IDEs configure their own environment
+one may launch CMake from any environment.
+
+.. toctree::
+ :maxdepth: 1
+
+ /generator/Visual Studio 6
+ /generator/Visual Studio 7
+ /generator/Visual Studio 7 .NET 2003
+ /generator/Visual Studio 8 2005
+ /generator/Visual Studio 9 2008
+ /generator/Visual Studio 10 2010
+ /generator/Visual Studio 11 2012
+ /generator/Visual Studio 12 2013
+ /generator/Xcode
+
+Extra Generators
+================
+
+Some of the `CMake Generators`_ listed in the :manual:`cmake(1)`
+command-line tool ``--help`` output may have variants that specify
+an extra generator for an auxiliary IDE tool. Such generator
+names have the form ``<extra-generator> - <main-generator>``.
+The following extra generators are known to CMake.
+
+.. toctree::
+ :maxdepth: 1
+
+ /generator/CodeBlocks
+ /generator/CodeLite
+ /generator/Eclipse CDT4
+ /generator/KDevelop3
+ /generator/Kate
+ /generator/Sublime Text 2
diff --git a/Help/manual/cmake-gui.1.rst b/Help/manual/cmake-gui.1.rst
new file mode 100644
index 0000000..032b51f
--- /dev/null
+++ b/Help/manual/cmake-gui.1.rst
@@ -0,0 +1,35 @@
+.. cmake-manual-description: CMake GUI Command-Line Reference
+
+cmake-gui(1)
+************
+
+Synopsis
+========
+
+.. parsed-literal::
+
+ cmake-gui [<options>]
+ cmake-gui [<options>] (<path-to-source> | <path-to-existing-build>)
+
+Description
+===========
+
+The "cmake-gui" executable is the CMake GUI. Project configuration
+settings may be specified interactively. Brief instructions are
+provided at the bottom of the window when the program is running.
+
+CMake is a cross-platform build system generator. Projects specify
+their build process with platform-independent CMake listfiles included
+in each directory of a source tree with the name CMakeLists.txt.
+Users build a project by using CMake to generate a build system for a
+native tool on their platform.
+
+Options
+=======
+
+.. include:: OPTIONS_HELP.txt
+
+See Also
+========
+
+.. include:: LINKS.txt
diff --git a/Help/manual/cmake-language.7.rst b/Help/manual/cmake-language.7.rst
new file mode 100644
index 0000000..1e4c6c5
--- /dev/null
+++ b/Help/manual/cmake-language.7.rst
@@ -0,0 +1,479 @@
+.. cmake-manual-description: CMake Language Reference
+
+cmake-language(7)
+*****************
+
+.. only:: html or latex
+
+ .. contents::
+
+Organization
+============
+
+CMake input files are written in the "CMake Language" in source files
+named ``CMakeLists.txt`` or ending in a ``.cmake`` file name extension.
+
+CMake Language source files in a project are organized into:
+
+* `Directories`_ (``CMakeLists.txt``),
+* `Scripts`_ (``<script>.cmake``), and
+* `Modules`_ (``<module>.cmake``).
+
+Directories
+-----------
+
+When CMake processes a project source tree, the entry point is
+a source file called ``CMakeLists.txt`` in the top-level source
+directory. This file may contain the entire build specification
+or use the :command:`add_subdirectory` command to add subdirectories
+to the build. Each subdirectory added by the command must also
+contain a ``CMakeLists.txt`` file as the entry point to that
+directory. For each source directory whose ``CMakeLists.txt`` file
+is processed CMake generates a corresponding directory in the build
+tree to act as the default working and output directory.
+
+Scripts
+-------
+
+An individual ``<script>.cmake`` source file may be processed
+in *script mode* by using the :manual:`cmake(1)` command-line tool
+with the ``-P`` option. Script mode simply runs the commands in
+the given CMake Language source file and does not generate a
+build system. It does not allow CMake commands that define build
+targets or actions.
+
+Modules
+-------
+
+CMake Language code in either `Directories`_ or `Scripts`_ may
+use the :command:`include` command to load a ``<module>.cmake``
+source file in the scope of the including context.
+See the :manual:`cmake-modules(7)` manual page for documentation
+of modules included with the CMake distribution.
+Project source trees may also provide their own modules and
+specify their location(s) in the :variable:`CMAKE_MODULE_PATH`
+variable.
+
+Syntax
+======
+
+Encoding
+--------
+
+A CMake Language source file must be written in 7-bit ASCII text
+to be portable across all supported platforms. Newlines may be
+encoded as either ``\n`` or ``\r\n`` but will be converted to ``\n``
+as input files are read.
+
+Note that the implementation is 8-bit clean so source files may
+be encoded as UTF-8 on platforms with system APIs supporting this
+encoding. Furthermore, CMake 3.0 and above allow a leading UTF-8
+`Byte-Order Mark`_ in source files.
+
+.. _`Byte-Order Mark`: http://en.wikipedia.org/wiki/Byte_order_mark
+
+Source Files
+------------
+
+A CMake Language source file consists of zero or more
+`Command Invocations`_ separated by newlines and optionally
+spaces and `Comments`_:
+
+.. productionlist::
+ file: `file_element`*
+ file_element: `command_invocation` `line_ending` |
+ : (`bracket_comment`|`space`)* `line_ending`
+ line_ending: `line_comment`? `newline`
+ space: <match '[ \t]+'>
+ newline: <match '\n'>
+
+Note that any source file line not inside `Command Arguments`_ or
+a `Bracket Comment`_ can end in a `Line Comment`_.
+
+.. _`Command Invocations`:
+
+Command Invocations
+-------------------
+
+A *command invocation* is a name followed by paren-enclosed arguments
+separated by whitespace:
+
+.. productionlist::
+ command_invocation: `space`* `identifier` `space`* '(' `arguments` ')'
+ identifier: <match '[A-Za-z_][A-Za-z0-9_]*'>
+ arguments: `argument`? `separated_arguments`*
+ separated_arguments: `separation`+ `argument`? |
+ : `separation`* '(' `arguments` ')'
+ separation: `space` | `line_ending`
+
+For example:
+
+.. code-block:: cmake
+
+ add_executable(hello world.c)
+
+Command names are case-insensitive.
+Nested unquoted parentheses in the arguments must balance.
+Each ``(`` or ``)`` is given to the command invocation as
+a literal `Unquoted Argument`_. This may be used in calls
+to the :command:`if` command to enclose conditions.
+For example:
+
+.. code-block:: cmake
+
+ if(FALSE AND (FALSE OR TRUE)) # evaluates to FALSE
+
+.. note::
+ CMake versions prior to 3.0 require command name identifiers
+ to be at least 2 characters.
+
+ CMake versions prior to 2.8.12 silently accept an `Unquoted Argument`_
+ or a `Quoted Argument`_ immediately following a `Quoted Argument`_ and
+ not separated by any whitespace. For compatibility, CMake 2.8.12 and
+ higher accept such code but produce a warning.
+
+Command Arguments
+-----------------
+
+There are three types of arguments within `Command Invocations`_:
+
+.. productionlist::
+ argument: `bracket_argument` | `quoted_argument` | `unquoted_argument`
+
+.. _`Bracket Argument`:
+
+Bracket Argument
+^^^^^^^^^^^^^^^^
+
+A *bracket argument*, inspired by `Lua`_ long bracket syntax,
+encloses content between opening and closing "brackets" of the
+same length:
+
+.. productionlist::
+ bracket_argument: `bracket_open` `bracket_content` `bracket_close`
+ bracket_open: '[' '='{len} '['
+ bracket_content: <any text not containing a `bracket_close`
+ : of the same {len} as the `bracket_open`>
+ bracket_close: ']' '='{len} ']'
+
+An opening bracket of length *len >= 0* is written ``[`` followed
+by *len* ``=`` followed by ``[`` and the corresponding closing
+bracket is written ``]`` followed by *len* ``=`` followed by ``]``.
+Brackets do not nest. A unique length may always be chosen
+for the opening and closing brackets to contain closing brackets
+of other lengths.
+
+Bracket argument content consists of all text between the opening
+and closing brackets, except that one newline immediately following
+the opening bracket, if any, is ignored. No evaluation of the
+enclosed content, such as `Escape Sequences`_ or `Variable References`_,
+is performed. A bracket argument is always given to the command
+invocation as exactly one argument.
+
+For example:
+
+.. code-block:: cmake
+
+ message([=[
+ This is the first line in a bracket argument with bracket length 1.
+ No \-escape sequences or ${variable} references are evaluated.
+ This is always one argument even though it contains a ; character.
+ The text does not end on a closing bracket of length 0 like ]].
+ It does end in a closing bracket of length 1.
+ ]=])
+
+.. note::
+ CMake versions prior to 3.0 do not support bracket arguments.
+ They interpret the opening bracket as the start of an
+ `Unquoted Argument`_.
+
+.. _`Lua`: http://www.lua.org/
+
+.. _`Quoted Argument`:
+
+Quoted Argument
+^^^^^^^^^^^^^^^
+
+A *quoted argument* encloses content between opening and closing
+double-quote characters:
+
+.. productionlist::
+ quoted_argument: '"' `quoted_element`* '"'
+ quoted_element: <any character except '\' or '"'> |
+ : `escape_sequence` |
+ : `quoted_continuation`
+ quoted_continuation: '\' `newline`
+
+Quoted argument content consists of all text between opening and
+closing quotes. Both `Escape Sequences`_ and `Variable References`_
+are evaluated. A quoted argument is always given to the command
+invocation as exactly one argument.
+
+For example:
+
+.. code-block:: cmake
+
+ message("This is a quoted argument containing multiple lines.
+ This is always one argument even though it contains a ; character.
+ Both \\-escape sequences and ${variable} references are evaluated.
+ The text does not end on an escaped double-quote like \".
+ It does end in an unescaped double quote.
+ ")
+
+The final ``\`` on any line ending in an odd number of backslashes
+is treated as a line continuation and ignored along with the
+immediately following newline character. For example:
+
+.. code-block:: cmake
+
+ message("\
+ This is the first line of a quoted argument. \
+ In fact it is the only line but since it is long \
+ the source code uses line continuation.\
+ ")
+
+.. note::
+ CMake versions prior to 3.0 do not support continuation with ``\``.
+ They report errors in quoted arguments containing lines ending in
+ an odd number of ``\`` characters.
+
+.. _`Unquoted Argument`:
+
+Unquoted Argument
+^^^^^^^^^^^^^^^^^
+
+An *unquoted argument* is not enclosed by any quoting syntax.
+It may not contain any whitespace, ``(``, ``)``, ``#``, ``"``, or ``\``
+except when escaped by a backslash:
+
+.. productionlist::
+ unquoted_argument: `unquoted_element`+ | `unquoted_legacy`
+ unquoted_element: <any character except whitespace or one of '()#"\'> |
+ : `escape_sequence`
+ unquoted_legacy: <see note in text>
+
+Unquoted argument content consists of all text in a contiguous block
+of allowed or escaped characters. Both `Escape Sequences`_ and
+`Variable References`_ are evaluated. The resulting value is divided
+in the same way `Lists`_ divide into elements. Each non-empty element
+is given to the command invocation as an argument. Therefore an
+unquoted argument may be given to a command invocation as zero or
+more arguments.
+
+For example:
+
+.. code-block:: cmake
+
+ foreach(arg
+ NoSpace
+ Escaped\ Space
+ This;Divides;Into;Five;Arguments
+ Escaped\;Semicolon
+ )
+ message("${arg}")
+ endforeach()
+
+.. note::
+ To support legacy CMake code, unquoted arguments may also contain
+ double-quoted strings (``"..."``, possibly enclosing horizontal
+ whitespace), and make-style variable references (``$(MAKEVAR)``).
+ Unescaped double-quotes must balance, may not appear at the
+ beginning of an unquoted argument, and are treated as part of the
+ content. For example, the unquoted arguments ``-Da="b c"``,
+ ``-Da=$(v)``, and ``a" "b"c"d`` are each interpreted literally.
+
+ The above "unquoted_legacy" production represents such arguments.
+ We do not recommend using legacy unquoted arguments in new code.
+ Instead use a `Quoted Argument`_ or a `Bracket Argument`_ to
+ represent the content.
+
+Escape Sequences
+----------------
+
+An *escape sequence* is a ``\`` followed by one character:
+
+.. productionlist::
+ escape_sequence: `escape_identity` | `escape_encoded` | `escape_semicolon`
+ escape_identity: '\(' | '\)' | '\#' | '\"' | '\ ' |
+ : '\\' | '\$' | '\@' | '\^'
+ escape_encoded: '\t' | '\r' | '\n'
+ escape_semicolon: '\;'
+
+A ``\`` followed by one of ``()#" \#@^`` simply encodes the literal
+character without interpreting it as syntax. A ``\t``, ``\r``, or ``\n``
+encodes a tab, carriage return, or newline character, respectively.
+A ``\;`` encodes itself but may be used in an `Unquoted Argument`_
+to encode the ``;`` without dividing the argument value on it.
+
+Variable References
+-------------------
+
+A *variable reference* has the form ``${variable_name}`` and is
+evaluated inside a `Quoted Argument`_ or an `Unquoted Argument`_.
+A variable reference is replaced by the value of the variable,
+or by the empty string if the variable is not set.
+Variable references can nest and are evaluated from the
+inside out, e.g. ``${outer_${inner_variable}_variable}``.
+
+The `Variables`_ section documents the scope of variable names
+and how their values are set.
+
+An *environment variable reference* has the form ``$ENV{VAR}`` and
+is evaluated in the same contexts as a normal variable reference.
+
+Comments
+--------
+
+A comment starts with a ``#`` character that is not inside a
+`Bracket Argument`_, `Quoted Argument`_, or escaped with ``\``
+as part of an `Unquoted Argument`_. There are two types of
+comments: a `Bracket Comment`_ and a `Line Comment`_.
+
+.. _`Bracket Comment`:
+
+Bracket Comment
+^^^^^^^^^^^^^^^
+
+A ``#`` immediately followed by a `Bracket Argument`_ forms a
+*bracket comment* consisting of the entire bracket enclosure:
+
+.. productionlist::
+ bracket_comment: '#' `bracket_argument`
+
+For example:
+
+.. code-block:: cmake
+
+ #[[This is a bracket comment.
+ It runs until the close bracket.]]
+ message("First Argument\n" #[[Bracket Comment]] "Second Argument")
+
+.. note::
+ CMake versions prior to 3.0 do not support bracket comments.
+ They interpret the opening ``#`` as the start of a `Line Comment`_.
+
+.. _`Line Comment`:
+
+Line Comment
+^^^^^^^^^^^^
+
+A ``#`` not immediately followed by a `Bracket Argument`_ forms a
+*line comment* that runs until the end of the line:
+
+.. productionlist::
+ line_comment: '#' <any text not starting in a `bracket_argument`
+ : and not containing a `newline`>
+
+For example:
+
+.. code-block:: cmake
+
+ # This is a line comment.
+ message("First Argument\n" # This is a line comment :)
+ "Second Argument") # This is a line comment.
+
+Control Structures
+==================
+
+Conditional Blocks
+------------------
+
+The :command:`if`/:command:`elseif`/:command:`else`/:command:`endif`
+commands delimit code blocks to be executed conditionally.
+
+Loops
+-----
+
+The :command:`foreach`/:command:`endforeach` and
+:command:`while`/:command:`endwhile` commands delimit code
+blocks to be executed in a loop. The :command:`break` command
+may be used inside such blocks to terminate the loop early.
+
+Command Definitions
+-------------------
+
+The :command:`macro`/:command:`endmacro`, and
+:command:`function`/:command:`endfunction` commands delimit
+code blocks to be recorded for later invocation as commands.
+
+Variables
+=========
+
+Variables are the basic unit of storage in the CMake Language.
+Their values are always of string type, though some commands may
+interpret the strings as values of other types.
+The :command:`set` and :command:`unset` commands explicitly
+set or unset a variable, but other commands have semantics
+that modify variables as well.
+Variable names are case-sensitive and may consist of almost
+any text, but we recommend sticking to names consisting only
+of alphanumeric characters plus ``_`` and ``-``.
+
+Variables have dynamic scope. Each variable "set" or "unset"
+creates a binding in the current scope:
+
+Function Scope
+ `Command Definitions`_ created by the :command:`function` command
+ create commands that, when invoked, process the recorded commands
+ in a new variable binding scope. A variable "set" or "unset"
+ binds in this scope and is visible for the current function and
+ any nested calls, but not after the function returns.
+
+Directory Scope
+ Each of the `Directories`_ in a source tree has its own variable
+ bindings. Before processing the ``CMakeLists.txt`` file for a
+ directory, CMake copies all variable bindings currently defined
+ in the parent directory, if any, to initialize the new directory
+ scope. CMake `Scripts`_, when processed with ``cmake -P``, bind
+ variables in one "directory" scope.
+
+ A variable "set" or "unset" not inside a function call binds
+ to the current directory scope.
+
+Persistent Cache
+ CMake stores a separate set of "cache" variables, or "cache entries",
+ whose values persist across multiple runs within a project build
+ tree. Cache entries have an isolated binding scope modified only
+ by explicit request, such as by the ``CACHE`` option of the
+ :command:`set` and :command:`unset` commands.
+
+When evaluating `Variable References`_, CMake first searches the
+function call stack, if any, for a binding and then falls back
+to the binding in the current directory scope, if any. If a
+"set" binding is found, its value is used. If an "unset" binding
+is found, or no binding is found, CMake then searches for a
+cache entry. If a cache entry is found, its value is used.
+Otherwise, the variable reference evaluates to an empty string.
+
+The :manual:`cmake-variables(7)` manual documents many variables
+that are provided by CMake or have meaning to CMake when set
+by project code.
+
+Lists
+=====
+
+Although all values in CMake are stored as strings, a string
+may be treated as a list in certain contexts, such as during
+evaluation of an `Unquoted Argument`_. In such contexts, a string
+is divided into list elements by splitting on ``;`` characters not
+following an unequal number of ``[`` and ``]`` characters and not
+immediately preceded by a ``\``. The sequence ``\;`` does not
+divide a value but is replaced by ``;`` in the resulting element.
+
+A list of elements is represented as a string by concatenating
+the elements separated by ``;``. For example, the :command:`set`
+command stores multiple values into the destination variable
+as a list:
+
+.. code-block:: cmake
+
+ set(srcs a.c b.c c.c) # sets "srcs" to "a.c;b.c;c.c"
+
+Lists are meant for simple use cases such as a list of source
+files and should not be used for complex data processing tasks.
+Most commands that construct lists do not escape ``;`` characters
+in list elements, thus flattening nested lists:
+
+.. code-block:: cmake
+
+ set(x a "b;c") # sets "x" to "a;b;c", not "a;b\;c"
diff --git a/Help/manual/cmake-modules.7.rst b/Help/manual/cmake-modules.7.rst
new file mode 100644
index 0000000..7a06be6
--- /dev/null
+++ b/Help/manual/cmake-modules.7.rst
@@ -0,0 +1,233 @@
+.. cmake-manual-description: CMake Modules Reference
+
+cmake-modules(7)
+****************
+
+.. only:: html or latex
+
+ .. contents::
+
+All Modules
+===========
+
+.. toctree::
+ :maxdepth: 1
+
+ /module/AddFileDependencies
+ /module/BundleUtilities
+ /module/CheckCCompilerFlag
+ /module/CheckCSourceCompiles
+ /module/CheckCSourceRuns
+ /module/CheckCXXCompilerFlag
+ /module/CheckCXXSourceCompiles
+ /module/CheckCXXSourceRuns
+ /module/CheckCXXSymbolExists
+ /module/CheckFortranFunctionExists
+ /module/CheckFunctionExists
+ /module/CheckIncludeFileCXX
+ /module/CheckIncludeFile
+ /module/CheckIncludeFiles
+ /module/CheckLanguage
+ /module/CheckLibraryExists
+ /module/CheckPrototypeDefinition
+ /module/CheckStructHasMember
+ /module/CheckSymbolExists
+ /module/CheckTypeSize
+ /module/CheckVariableExists
+ /module/CMakeAddFortranSubdirectory
+ /module/CMakeBackwardCompatibilityCXX
+ /module/CMakeDependentOption
+ /module/CMakeDetermineVSServicePack
+ /module/CMakeExpandImportedTargets
+ /module/CMakeFindDependencyMacro
+ /module/CMakeFindFrameworks
+ /module/CMakeFindPackageMode
+ /module/CMakeForceCompiler
+ /module/CMakeGraphVizOptions
+ /module/CMakePackageConfigHelpers
+ /module/CMakeParseArguments
+ /module/CMakePrintHelpers
+ /module/CMakePrintSystemInformation
+ /module/CMakePushCheckState
+ /module/CMakeVerifyManifest
+ /module/CPackBundle
+ /module/CPackComponent
+ /module/CPackCygwin
+ /module/CPackDeb
+ /module/CPackDMG
+ /module/CPackNSIS
+ /module/CPackPackageMaker
+ /module/CPackRPM
+ /module/CPack
+ /module/CPackWIX
+ /module/CTest
+ /module/CTestScriptMode
+ /module/CTestUseLaunchers
+ /module/Dart
+ /module/DeployQt4
+ /module/Documentation
+ /module/ExternalData
+ /module/ExternalProject
+ /module/FeatureSummary
+ /module/FindALSA
+ /module/FindArmadillo
+ /module/FindASPELL
+ /module/FindAVIFile
+ /module/FindBISON
+ /module/FindBLAS
+ /module/FindBacktrace
+ /module/FindBoost
+ /module/FindBullet
+ /module/FindBZip2
+ /module/FindCABLE
+ /module/FindCoin3D
+ /module/FindCUDA
+ /module/FindCups
+ /module/FindCURL
+ /module/FindCurses
+ /module/FindCVS
+ /module/FindCxxTest
+ /module/FindCygwin
+ /module/FindDart
+ /module/FindDCMTK
+ /module/FindDevIL
+ /module/FindDoxygen
+ /module/FindEXPAT
+ /module/FindFLEX
+ /module/FindFLTK2
+ /module/FindFLTK
+ /module/FindFreetype
+ /module/FindGCCXML
+ /module/FindGDAL
+ /module/FindGettext
+ /module/FindGIF
+ /module/FindGit
+ /module/FindGLEW
+ /module/FindGLUT
+ /module/FindGnuplot
+ /module/FindGnuTLS
+ /module/FindGTest
+ /module/FindGTK2
+ /module/FindGTK
+ /module/FindHDF5
+ /module/FindHg
+ /module/FindHSPELL
+ /module/FindHTMLHelp
+ /module/FindIcotool
+ /module/FindImageMagick
+ /module/FindITK
+ /module/FindJasper
+ /module/FindJava
+ /module/FindJNI
+ /module/FindJPEG
+ /module/FindKDE3
+ /module/FindKDE4
+ /module/FindLAPACK
+ /module/FindLATEX
+ /module/FindLibArchive
+ /module/FindLibLZMA
+ /module/FindLibXml2
+ /module/FindLibXslt
+ /module/FindLua50
+ /module/FindLua51
+ /module/FindLua
+ /module/FindMatlab
+ /module/FindMFC
+ /module/FindMotif
+ /module/FindMPEG2
+ /module/FindMPEG
+ /module/FindMPI
+ /module/FindOpenAL
+ /module/FindOpenGL
+ /module/FindOpenMP
+ /module/FindOpenSceneGraph
+ /module/FindOpenSSL
+ /module/FindOpenThreads
+ /module/FindosgAnimation
+ /module/FindosgDB
+ /module/Findosg_functions
+ /module/FindosgFX
+ /module/FindosgGA
+ /module/FindosgIntrospection
+ /module/FindosgManipulator
+ /module/FindosgParticle
+ /module/FindosgPresentation
+ /module/FindosgProducer
+ /module/FindosgQt
+ /module/Findosg
+ /module/FindosgShadow
+ /module/FindosgSim
+ /module/FindosgTerrain
+ /module/FindosgText
+ /module/FindosgUtil
+ /module/FindosgViewer
+ /module/FindosgVolume
+ /module/FindosgWidget
+ /module/FindPackageHandleStandardArgs
+ /module/FindPackageMessage
+ /module/FindPerlLibs
+ /module/FindPerl
+ /module/FindPHP4
+ /module/FindPhysFS
+ /module/FindPike
+ /module/FindPkgConfig
+ /module/FindPNG
+ /module/FindPostgreSQL
+ /module/FindProducer
+ /module/FindProtobuf
+ /module/FindPythonInterp
+ /module/FindPythonLibs
+ /module/FindQt3
+ /module/FindQt4
+ /module/FindQt
+ /module/FindQuickTime
+ /module/FindRTI
+ /module/FindRuby
+ /module/FindSDL_image
+ /module/FindSDL_mixer
+ /module/FindSDL_net
+ /module/FindSDL
+ /module/FindSDL_sound
+ /module/FindSDL_ttf
+ /module/FindSelfPackers
+ /module/FindSquish
+ /module/FindSubversion
+ /module/FindSWIG
+ /module/FindTCL
+ /module/FindTclsh
+ /module/FindTclStub
+ /module/FindThreads
+ /module/FindTIFF
+ /module/FindUnixCommands
+ /module/FindVTK
+ /module/FindWget
+ /module/FindWish
+ /module/FindwxWidgets
+ /module/FindwxWindows
+ /module/FindX11
+ /module/FindXMLRPC
+ /module/FindZLIB
+ /module/FortranCInterface
+ /module/GenerateExportHeader
+ /module/GetPrerequisites
+ /module/GNUInstallDirs
+ /module/InstallRequiredSystemLibraries
+ /module/MacroAddFileDependencies
+ /module/ProcessorCount
+ /module/SelectLibraryConfigurations
+ /module/SquishTestScript
+ /module/TestBigEndian
+ /module/TestCXXAcceptsFlag
+ /module/TestForANSIForScope
+ /module/TestForANSIStreamHeaders
+ /module/TestForSSTREAM
+ /module/TestForSTDNamespace
+ /module/UseEcos
+ /module/UseJavaClassFilelist
+ /module/UseJava
+ /module/UseJavaSymlinks
+ /module/UsePkgConfig
+ /module/UseSWIG
+ /module/UsewxWidgets
+ /module/Use_wxWindows
+ /module/WriteBasicConfigVersionFile
diff --git a/Help/manual/cmake-packages.7.rst b/Help/manual/cmake-packages.7.rst
new file mode 100644
index 0000000..1723826
--- /dev/null
+++ b/Help/manual/cmake-packages.7.rst
@@ -0,0 +1,619 @@
+.. cmake-manual-description: CMake Packages Reference
+
+cmake-packages(7)
+*****************
+
+.. only:: html or latex
+
+ .. contents::
+
+Introduction
+============
+
+Packages provide dependency information to CMake based buildsystems. Packages
+are found with the :command:`find_package` command. The result of
+using ``find_package`` is either a set of :prop_tgt:`IMPORTED` targets, or
+a set of variables corresponding to build-relevant information.
+
+Using Packages
+==============
+
+CMake provides direct support for two forms of packages,
+`Config-file Packages`_ and `Find-module Packages`_.
+Indirect support for ``pkg-config`` packages is also provided via
+the :module:`FindPkgConfig` module. In all cases, the basic form
+of :command:`find_package` calls is the same:
+
+.. code-block:: cmake
+
+ find_package(Qt4 4.7.0 REQUIRED) # CMake provides a Qt4 find-module
+ find_package(Qt5Core 5.1.0 REQUIRED) # Qt provides a Qt5 package config file.
+ find_package(LibXml2 REQUIRED) # Use pkg-config via the LibXml2 find-module
+
+In cases where it is known that a package configuration file is provided by
+upstream, and only that should be used, the ``CONFIG`` keyword may be passed
+to :command:`find_package`:
+
+.. code-block:: cmake
+
+ find_package(Qt5Core 5.1.0 CONFIG REQUIRED)
+ find_package(Qt5Gui 5.1.0 CONFIG)
+
+Similarly, the ``MODULE`` keyword says to use only a find-module:
+
+.. code-block:: cmake
+
+ find_package(Qt4 4.7.0 MODULE REQUIRED)
+
+Specifying the type of package explicitly improves the error message shown to
+the user if it is not found.
+
+Both types of packages also support specifying components of a package,
+either after the ``REQUIRED`` keyword:
+
+.. code-block:: cmake
+
+ find_package(Qt5 5.1.0 CONFIG REQUIRED Widgets Xml Sql)
+
+or as a separate ``COMPONENTS`` list:
+
+.. code-block:: cmake
+
+ find_package(Qt5 5.1.0 COMPONENTS Widgets Xml Sql)
+
+or as a separate ``OPTIONAL_COMPONENTS`` list:
+
+.. code-block:: cmake
+
+ find_package(Qt5 5.1.0 COMPONENTS Widgets
+ OPTIONAL_COMPONENTS Xml Sql
+ )
+
+Handling of ``COMPONENTS`` and ``OPTIONAL_COMPONENTS`` is defined by the
+package.
+
+By setting the :variable:`CMAKE_DISABLE_FIND_PACKAGE_<PackageName>` variable to
+``TRUE``, the ``PackageName`` package will not be searched, and will always
+be ``NOTFOUND``.
+
+Config-file Packages
+--------------------
+
+A config-file package is a set of files provided by upstreams for downstreams
+to use. CMake searches in a number of locations for package configuration files, as
+described in the :command:`find_package` documentation. The most simple way for
+a CMake user to tell :manual:`cmake(1)` to search in a non-standard prefix for
+a package is to set the ``CMAKE_PREFIX_PATH`` cache variable.
+
+Config-file packages are provided by upstream vendors as part of development
+packages, that is, they belong with the header files and any other files
+provided to assist downsteams in using the package.
+
+A set of variables which provide package status information are also set
+automatically when using a config-file package. The ``<Package>_FOUND``
+variable is set to true or false, depending on whether the package was
+found. The ``<Package>_DIR`` cache variable is set to the location of the
+package configuration file.
+
+Find-module Packages
+--------------------
+
+A find module is a file with a set of rules for finding the required pieces of
+a dependency, primarily header files and libraries. Typically, a find module
+is needed when the upstream is not built with CMake, or is not CMake-aware
+enough to otherwise provide a package configuration file. Unlike a package configuration
+file, it is not shipped with upstream, but is used by downstream to find the
+files by guessing locations of files with platform-specific hints.
+
+Unlike the case of an upstream-provided package configuration file, no single point
+of reference identifies the package as being found, so the ``<Package>_FOUND``
+variable is not automatically set by the :command:`find_package` command. It
+can still be expected to be set by convention however and should be set by
+the author of the Find-module. Similarly there is no ``<Package>_DIR`` variable,
+but each of the artifacts such as library locations and header file locations
+provide a separate cache variable.
+
+See the :manual:`cmake-developer(7)` manual for more information about creating
+Find-module files.
+
+Package Layout
+==============
+
+A config-file package consists of a `Package Configuration File`_ and
+optionally a `Package Version File`_ provided with the project distribution.
+
+Package Configuration File
+--------------------------
+
+Consider a project ``Foo`` that installs the following files::
+
+ <prefix>/include/foo-1.2/foo.h
+ <prefix>/lib/foo-1.2/libfoo.a
+
+It may also provide a CMake package configuration file::
+
+ <prefix>/lib/cmake/foo-1.2/FooConfig.cmake
+
+with content defining :prop_tgt:`IMPORTED` targets, or defining variables, such
+as:
+
+.. code-block:: cmake
+
+ # ...
+ # (compute PREFIX relative to file location)
+ # ...
+ set(Foo_INCLUDE_DIRS ${PREFIX}/include/foo-1.2)
+ set(Foo_LIBRARIES ${PREFIX}/lib/foo-1.2/libfoo.a)
+
+If another project wishes to use ``Foo`` it need only to locate the ``FooConfig.cmake``
+file and load it to get all the information it needs about package content
+locations. Since the package configuration file is provided by the package
+installation it already knows all the file locations.
+
+The :command:`find_package` command may be used to search for the package
+configuration file. This command constructs a set of installation prefixes
+and searches under each prefix in several locations. Given the name ``Foo``,
+it looks for a file called ``FooConfig.cmake`` or ``foo-config.cmake``.
+The full set of locations is specified in the :command:`find_package` command
+documentation. One place it looks is::
+
+ <prefix>/lib/cmake/Foo*/
+
+where ``Foo*`` is a case-insensitive globbing expression. In our example the
+globbing expression will match ``<prefix>/lib/cmake/foo-1.2`` and the package
+configuration file will be found.
+
+Once found, a package configuration file is immediately loaded. It, together
+with a package version file, contains all the information the project needs to
+use the package.
+
+Package Version File
+--------------------
+
+When the :command:`find_package` command finds a candidate package configuration
+file it looks next to it for a version file. The version file is loaded to test
+whether the package version is an acceptable match for the version requested.
+If the version file claims compatibility the configuration file is accepted.
+Otherwise it is ignored.
+
+The name of the package version file must match that of the package configuration
+file but has either ``-version`` or ``Version`` appended to the name before
+the ``.cmake`` extension. For example, the files::
+
+ <prefix>/lib/cmake/foo-1.3/foo-config.cmake
+ <prefix>/lib/cmake/foo-1.3/foo-config-version.cmake
+
+and::
+
+ <prefix>/lib/cmake/bar-4.2/BarConfig.cmake
+ <prefix>/lib/cmake/bar-4.2/BarConfigVersion.cmake
+
+are each pairs of package configuration files and corresponding package version
+files.
+
+When the :command:`find_package` command loads a version file it first sets the
+following variables:
+
+``PACKAGE_FIND_NAME``
+ The <package> name
+
+``PACKAGE_FIND_VERSION``
+ Full requested version string
+
+``PACKAGE_FIND_VERSION_MAJOR``
+ Major version if requested, else 0
+
+``PACKAGE_FIND_VERSION_MINOR``
+ Minor version if requested, else 0
+
+``PACKAGE_FIND_VERSION_PATCH``
+ Patch version if requested, else 0
+
+``PACKAGE_FIND_VERSION_TWEAK``
+ Tweak version if requested, else 0
+
+``PACKAGE_FIND_VERSION_COUNT``
+ Number of version components, 0 to 4
+
+The version file must use these variables to check whether it is compatible or
+an exact match for the requested version and set the following variables with
+results:
+
+``PACKAGE_VERSION``
+ Full provided version string
+
+``PACKAGE_VERSION_EXACT``
+ True if version is exact match
+
+``PACKAGE_VERSION_COMPATIBLE``
+ True if version is compatible
+
+``PACKAGE_VERSION_UNSUITABLE``
+ True if unsuitable as any version
+
+Version files are loaded in a nested scope so they are free to set any variables
+they wish as part of their computation. The find_package command wipes out the
+scope when the version file has completed and it has checked the output
+variables. When the version file claims to be an acceptable match for the
+requested version the find_package command sets the following variables for
+use by the project:
+
+``<package>_VERSION``
+ Full provided version string
+
+``<package>_VERSION_MAJOR``
+ Major version if provided, else 0
+
+``<package>_VERSION_MINOR``
+ Minor version if provided, else 0
+
+``<package>_VERSION_PATCH``
+ Patch version if provided, else 0
+
+``<package>_VERSION_TWEAK``
+ Tweak version if provided, else 0
+
+``<package>_VERSION_COUNT``
+ Number of version components, 0 to 4
+
+The variables report the version of the package that was actually found.
+The ``<package>`` part of their name matches the argument given to the
+:command:`find_package` command.
+
+Creating Packages
+=================
+
+Usually, the upstream depends on CMake itself and can use some CMake facilities
+for creating the package files. Consider an upstream which provides a single
+shared library:
+
+.. code-block:: cmake
+
+ project(UpstreamLib)
+
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+ set(CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE ON)
+
+ set(Upstream_VERSION 3.4.1)
+
+ include(GenerateExportHeader)
+
+ add_library(ClimbingStats SHARED climbingstats.cpp)
+ generate_export_header(ClimbingStats)
+ set_property(TARGET ClimbingStats PROPERTY VERSION ${Upstream_VERSION})
+ set_property(TARGET ClimbingStats PROPERTY SOVERSION 3)
+ set_property(TARGET ClimbingStats PROPERTY INTERFACE_ClimbingStats_MAJOR_VERSION 3)
+ set_property(TARGET ClimbingStats APPEND PROPERTY
+ COMPATIBLE_INTERFACE_STRING ClimbingStats_MAJOR_VERSION
+ )
+
+ install(TARGETS ClimbingStats EXPORT ClimbingStatsTargets
+ LIBRARY DESTINATION lib
+ ARCHIVE DESTINATION lib
+ RUNTIME DESTINATION bin
+ INCLUDES DESTINATION include
+ )
+ install(
+ FILES
+ climbingstats.h
+ "${CMAKE_CURRENT_BINARY_DIR}/climbingstats_export.h"
+ DESTINATION
+ include
+ COMPONENT
+ Devel
+ )
+
+ include(CMakePackageConfigHelpers)
+ write_basic_package_version_file(
+ "${CMAKE_CURRENT_BINARY_DIR}/ClimbingStats/ClimbingStatsConfigVersion.cmake"
+ VERSION ${Upstream_VERSION}
+ COMPATIBILITY AnyNewerVersion
+ )
+
+ export(EXPORT ClimbingStatsTargets
+ FILE "${CMAKE_CURRENT_BINARY_DIR}/ClimbingStats/ClimbingStatsTargets.cmake"
+ NAMESPACE Upstream::
+ )
+ configure_file(cmake/ClimbingStatsConfig.cmake
+ "${CMAKE_CURRENT_BINARY_DIR}/ClimbingStats/ClimbingStatsConfig.cmake"
+ COPY_ONLY
+ )
+
+ set(ConfigPackageLocation lib/cmake/ClimbingStats)
+ install(EXPORT ClimbingStatsTargets
+ FILE
+ ClimbingStatsTargets.cmake
+ NAMESPACE
+ Upstream::
+ DESTINATION
+ ${ConfigPackageLocation}
+ )
+ install(
+ FILES
+ cmake/ClimbingStatsConfig.cmake
+ "${CMAKE_CURRENT_BINARY_DIR}/ClimbingStats/ClimbingStatsConfigVersion.cmake"
+ DESTINATION
+ ${ConfigPackageLocation}
+ COMPONENT
+ Devel
+ )
+
+The :module:`CMakePackageConfigHelpers` module provides a macro for creating
+a simple ``ConfigVersion.cmake`` file. This file sets the version of the
+package. It is read by CMake when :command:`find_package` is called to
+determine the compatibility with the requested version, and to set some
+version-specific variables ``<Package>_VERSION``, ``<Package>_VERSION_MAJOR``,
+``<Package>_VERSION_MINOR`` etc. The :command:`install(EXPORT)` command is
+used to export the targets in the ``ClimbingStatsTargets`` export-set, defined
+previously by the :command:`install(TARGETS)` command. This command generates
+the ``ClimbingStatsTargets.cmake`` file to contain :prop_tgt:`IMPORTED`
+targets, suitable for use by downsteams and arranges to install it to
+``lib/cmake/ClimbingStats``. The generated ``ClimbingStatsConfigVersion.cmake``
+and a ``cmake/ClimbingStatsConfig.cmake`` are installed to the same location,
+completing the package.
+
+The generated :prop_tgt:`IMPORTED` targets have appropriate properties set
+to define their usage requirements, such as
+:prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES`,
+:prop_tgt:`INTERFACE_COMPILE_DEFINITIONS` and other relevant built-in
+``INTERFACE_`` properties. The ``INTERFACE`` variant of user-defined
+properties listed in :prop_tgt:`COMPATIBLE_INTERFACE_STRING` and
+other :ref:`Compatible Interface Properties` are also propagated to the
+generated :prop_tgt:`IMPORTED` targets. In the above case,
+``ClimbingStats_MAJOR_VERSION`` is defined as a string which must be
+compatible among the dependencies of any depender. By setting this custom
+defined user property in this version and in the next version of
+``ClimbingStats``, :manual:`cmake(1)` will issue a diagnostic if there is an
+attempt to use version 3 together with version 4. Packages can choose to
+employ such a pattern if different major versions of the package are designed
+to be incompatible.
+
+A ``NAMESPACE`` with double-colons is specified when exporting the targets
+for installation. This convention of double-colons gives CMake a hint that
+the name is an :prop_tgt:`IMPORTED` target when it is used by downstreams
+with the :command:`target_link_libraries` command. This way, CMake can
+issue a diagnostic if the package providing it has not yet been found.
+
+In this case, when using :command:`install(TARGETS)` the ``INCLUDES DESTINATION``
+was specified. This causes the ``IMPORTED`` targets to have their
+:prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES` populated with the ``include``
+directory in the :variable:`CMAKE_INSTALL_PREFIX`. When the ``IMPORTED``
+target is used by downsteam, it automatically consumes the entries from
+that property.
+
+In this case, the ``ClimbingStatsConfig.cmake`` file could be as simple as:
+
+.. code-block:: cmake
+
+ include("${CMAKE_CURRENT_LIST_DIR}/ClimbingStatsTargets.cmake")
+
+As this allows downstreams to use the ``IMPORTED`` targets. If any macros
+should be provided by the ``ClimbingStats`` package, they should
+be in a separate file which is installed to the same location as the
+``ClimbingStatsConfig.cmake`` file, and included from there.
+
+Packages created by :command:`install(EXPORT)` are designed to be relocatable,
+using paths relative to the location of the package itself. When defining
+the interface of a target for ``EXPORT``, keep in mind that the include
+directories should be specified as relative paths which are relative to the
+:variable:`CMAKE_INSTALL_PREFIX`:
+
+.. code-block:: cmake
+
+ target_include_directories(tgt INTERFACE
+ # Wrong, not relocatable:
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_PREFIX}/include/TgtName>
+ )
+
+ target_include_directories(tgt INTERFACE
+ # Ok, relocatable:
+ $<INSTALL_INTERFACE:include/TgtName>
+ )
+
+The ``$<INSTALL_PREFIX>``
+:manual:`generator expression <cmake-generator-expressions(7)>` may be used as
+a placeholder for the install prefix without resulting in a non-relocatable
+package. This is necessary if complex generator expressions are used:
+
+.. code-block:: cmake
+
+ target_include_directories(tgt INTERFACE
+ # Ok, relocatable:
+ $<INSTALL_INTERFACE:$<$<CONFIG:Debug>:$<INSTALL_PREFIX>/include/TgtName>>
+ )
+
+The :command:`export(EXPORT)` command creates an :prop_tgt:`IMPORTED` targets
+definition file which is specific to the build-tree, and is not relocatable.
+This can similiarly be used with a suitable package configuration file and
+package version file to define a package for the build tree which may be used
+without installation. Consumers of the build tree can simply ensure that the
+:variable:`CMAKE_PREFIX_PATH` contains the build directory, or set the
+``ClimbingStats_DIR`` to ``<build_dir>/ClimbingStats`` in the cache.
+
+This can also be extended to cover dependencies:
+
+.. code-block:: cmake
+
+ # ...
+ add_library(ClimbingStats SHARED climbingstats.cpp)
+ generate_export_header(ClimbingStats)
+
+ find_package(Stats 2.6.4 REQUIRED)
+ target_link_libraries(ClimbingStats PUBLIC Stats::Types)
+
+As the ``Stats::Types`` target is a ``PUBLIC`` dependency of ``ClimbingStats``,
+downsteams must also find the ``Stats`` package and link to the ``Stats::Types``
+library. The ``Stats`` package should be found in the ``ClimbingStatsConfig.cmake``
+file to ensure this. The ``find_dependency`` macro from the
+:module:`CMakeFindDependencyMacro` helps with this by propagating
+whether the package is ``REQUIRED``, or ``QUIET`` etc. All ``REQUIRED``
+dependencies of a package should be found in the ``Config.cmake`` file:
+
+.. code-block:: cmake
+
+ include(CMakeFindDependencyMacro)
+ find_dependency(Stats 2.6.4)
+
+ include("${CMAKE_CURRENT_LIST_DIR}/ClimbingStatsTargets.cmake")
+ include("${CMAKE_CURRENT_LIST_DIR}/ClimbingStatsMacros.cmake")
+
+The ``find_dependency`` macro also sets ``ClimbingStats_FOUND`` to ``False`` if
+the dependency is not found, along with a diagnostic that the ``ClimbingStats``
+package can not be used without the ``Stats`` package.
+
+If ``COMPONENTS`` are specified when the downstream uses :command:`find_package`,
+they are listed in the ``<Package>_FIND_COMPONENTS`` variable. If a particular
+component is non-optional, then the ``<Package>_FIND_REQUIRED_<comp>`` will
+be true. This can be tested with logic in the package configuration file:
+
+.. code-block:: cmake
+
+ include(CMakeFindDependencyMacro)
+ find_dependency(Stats 2.6.4)
+
+ include("${CMAKE_CURRENT_LIST_DIR}/ClimbingStatsTargets.cmake")
+ include("${CMAKE_CURRENT_LIST_DIR}/ClimbingStatsMacros.cmake")
+
+ set(_supported_components Plot Table)
+
+ foreach(_comp ${ClimbingStats_FIND_COMPONENTS})
+ if (NOT ";${_supported_components};" MATCHES _comp)
+ set(ClimbingStats_FOUND False)
+ set(ClimbingStats_NOTFOUND_MESSAGE "Specified unsupported component: ${_comp}")
+ endif()
+ include("${CMAKE_CURRENT_LIST_DIR}/ClimbingStats${_comp}Targets.cmake")
+ endforeach()
+
+Here, the ``ClimbingStats_NOTFOUND_MESSAGE`` is set to a diagnosis that the package
+could not be found because an invalid component was specified. This message
+variable can be set for any case where the ``_FOUND`` variable is set to ``False``,
+and will be displayed to the user.
+
+.. _`Package Registry`:
+
+Package Registry
+================
+
+CMake provides two central locations to register packages that have
+been built or installed anywhere on a system:
+
+* `User Package Registry`_
+* `System Package Registry`_
+
+The registries are especially useful to help projects find packages in
+non-standard install locations or directly in their own build trees.
+A project may populate either the user or system registry (using its own
+means, see below) to refer to its location.
+In either case the package should store at the registered location a
+`Package Configuration File`_ (``<package>Config.cmake``) and optionally a
+`Package Version File`_ (``<package>ConfigVersion.cmake``).
+
+The :command:`find_package` command searches the two package registries
+as two of the search steps specified in its documentation. If it has
+sufficient permissions it also removes stale package registry entries
+that refer to directories that do not exist or do not contain a matching
+package configuration file.
+
+.. _`User Package Registry`:
+
+User Package Registry
+---------------------
+
+The User Package Registry is stored in a per-user location.
+The :command:`export(PACKAGE)` command may be used to register a project
+build tree in the user package registry. CMake currently provides no
+interface to add install trees to the user package registry. Installers
+must be manually taught to register their packages if desired.
+
+On Windows the user package registry is stored in the Windows registry
+under a key in ``HKEY_CURRENT_USER``.
+
+A ``<package>`` may appear under registry key::
+
+ HKEY_CURRENT_USER\Software\Kitware\CMake\Packages\<package>
+
+as a ``REG_SZ`` value, with arbitrary name, that specifies the directory
+containing the package configuration file.
+
+On UNIX platforms the user package registry is stored in the user home
+directory under ``~/.cmake/packages``. A ``<package>`` may appear under
+the directory::
+
+ ~/.cmake/packages/<package>
+
+as a file, with arbitrary name, whose content specifies the directory
+containing the package configuration file.
+
+.. _`System Package Registry`:
+
+System Package Registry
+-----------------------
+
+The System Package Registry is stored in a system-wide location.
+CMake currently provides no interface to add to the system package registry.
+Installers must be manually taught to register their packages if desired.
+
+On Windows the system package registry is stored in the Windows registry
+under a key in ``HKEY_LOCAL_MACHINE``. A ``<package>`` may appear under
+registry key::
+
+ HKEY_LOCAL_MACHINE\Software\Kitware\CMake\Packages\<package>
+
+as a ``REG_SZ`` value, with arbitrary name, that specifies the directory
+containing the package configuration file.
+
+There is no system package registry on non-Windows platforms.
+
+Package Registry Example
+------------------------
+
+A simple convention for naming package registry entries is to use content
+hashes. They are deterministic and unlikely to collide
+(:command:`export(PACKAGE)` uses this approach).
+The name of an entry referencing a specific directory is simply the content
+hash of the directory path itself.
+
+If a project arranges for package registry entries to exist, such as::
+
+ > reg query HKCU\Software\Kitware\CMake\Packages\MyPackage
+ HKEY_CURRENT_USER\Software\Kitware\CMake\Packages\MyPackage
+ 45e7d55f13b87179bb12f907c8de6fc4 REG_SZ c:/Users/Me/Work/lib/cmake/MyPackage
+ 7b4a9844f681c80ce93190d4e3185db9 REG_SZ c:/Users/Me/Work/MyPackage-build
+
+or::
+
+ $ cat ~/.cmake/packages/MyPackage/7d1fb77e07ce59a81bed093bbee945bd
+ /home/me/work/lib/cmake/MyPackage
+ $ cat ~/.cmake/packages/MyPackage/f92c1db873a1937f3100706657c63e07
+ /home/me/work/MyPackage-build
+
+then the ``CMakeLists.txt`` code:
+
+.. code-block:: cmake
+
+ find_package(MyPackage)
+
+will search the registered locations for package configuration files
+(``MyPackageConfig.cmake``). The search order among package registry
+entries for a single package is unspecified and the entry names
+(hashes in this example) have no meaning. Registered locations may
+contain package version files (``MyPackageConfigVersion.cmake``) to
+tell :command:`find_package` whether a specific location is suitable
+for the version requested.
+
+Package Registry Ownership
+--------------------------
+
+Package registry entries are individually owned by the project installations
+that they reference. A package installer is responsible for adding its own
+entry and the corresponding uninstaller is responsible for removing it.
+
+The :command:`export(PACKAGE)` command populates the user package registry
+with the location of a project build tree. Build trees tend to be deleted by
+developers and have no "uninstall" event that could trigger removal of their
+entries. In order to keep the registries clean the :command:`find_package`
+command automatically removes stale entries it encounters if it has sufficient
+permissions. CMake provides no interface to remove an entry referencing an
+existing build tree once :command:`export(PACKAGE)` has been invoked.
+However, if the project removes its package configuration file from the build
+tree then the entry referencing the location will be considered stale.
diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst
new file mode 100644
index 0000000..8650a58
--- /dev/null
+++ b/Help/manual/cmake-policies.7.rst
@@ -0,0 +1,104 @@
+.. cmake-manual-description: CMake Policies Reference
+
+cmake-policies(7)
+*****************
+
+.. only:: html or latex
+
+ .. contents::
+
+Introduction
+============
+
+Policies in CMake are used to preserve backward compatible behavior
+across multiple releases. When a new policy is introduced, newer CMake
+versions will begin to warn about the backward compatible behavior. It
+is possible to disable the warning by explicitly requesting the OLD, or
+backward compatible behavior using the :command:`cmake_policy` command.
+It is also possible to request ``NEW``, or non-backward compatible behavior
+for a policy, also avoiding the warning. Each policy can also be set to
+either ``NEW`` or ``OLD`` behavior explicitly on the command line with the
+:variable:`CMAKE_POLICY_DEFAULT_CMP<NNNN>` variable.
+
+The :command:`cmake_minimum_required` command does more than report an
+error if a too-old version of CMake is used to build a project. It
+also sets all policies introduced in that CMake version or earlier to
+``NEW`` behavior. To manage policies without increasing the minimum required
+CMake version, the :command:`if(POLICY)` command may be used:
+
+.. code-block:: cmake
+
+ if(POLICY CMP0990)
+ cmake_policy(SET CMP0990 NEW)
+ endif()
+
+This has the effect of using the ``NEW`` behavior with newer CMake releases which
+users may be using and not issuing a compatibility warning.
+
+The setting of a policy is confined in some cases to not propagate to the
+parent scope. For example, if the files read by the :command:`include` command
+or the :command:`find_package` command contain a use of :command:`cmake_policy`,
+that policy setting will not affect the caller by default. Both commands accept
+an optional ``NO_POLICY_SCOPE`` keyword to control this behavior.
+
+The :variable:`CMAKE_MINIMUM_REQUIRED_VERSION` variable may also be used
+to determine whether to report an error on use of deprecated macros or
+functions.
+
+All Policies
+============
+
+.. toctree::
+ :maxdepth: 1
+
+ /policy/CMP0000
+ /policy/CMP0001
+ /policy/CMP0002
+ /policy/CMP0003
+ /policy/CMP0004
+ /policy/CMP0005
+ /policy/CMP0006
+ /policy/CMP0007
+ /policy/CMP0008
+ /policy/CMP0009
+ /policy/CMP0010
+ /policy/CMP0011
+ /policy/CMP0012
+ /policy/CMP0013
+ /policy/CMP0014
+ /policy/CMP0015
+ /policy/CMP0016
+ /policy/CMP0017
+ /policy/CMP0018
+ /policy/CMP0019
+ /policy/CMP0020
+ /policy/CMP0021
+ /policy/CMP0022
+ /policy/CMP0023
+ /policy/CMP0024
+ /policy/CMP0025
+ /policy/CMP0026
+ /policy/CMP0027
+ /policy/CMP0028
+ /policy/CMP0029
+ /policy/CMP0030
+ /policy/CMP0031
+ /policy/CMP0032
+ /policy/CMP0033
+ /policy/CMP0034
+ /policy/CMP0035
+ /policy/CMP0036
+ /policy/CMP0037
+ /policy/CMP0038
+ /policy/CMP0039
+ /policy/CMP0040
+ /policy/CMP0041
+ /policy/CMP0042
+ /policy/CMP0043
+ /policy/CMP0044
+ /policy/CMP0045
+ /policy/CMP0046
+ /policy/CMP0047
+ /policy/CMP0048
+ /policy/CMP0049
+ /policy/CMP0050
diff --git a/Help/manual/cmake-properties.7.rst b/Help/manual/cmake-properties.7.rst
new file mode 100644
index 0000000..d315fcb
--- /dev/null
+++ b/Help/manual/cmake-properties.7.rst
@@ -0,0 +1,293 @@
+.. cmake-manual-description: CMake Properties Reference
+
+cmake-properties(7)
+*******************
+
+.. only:: html or latex
+
+ .. contents::
+
+Properties of Global Scope
+==========================
+
+.. toctree::
+ :maxdepth: 1
+
+ /prop_gbl/ALLOW_DUPLICATE_CUSTOM_TARGETS
+ /prop_gbl/AUTOGEN_TARGETS_FOLDER
+ /prop_gbl/AUTOMOC_TARGETS_FOLDER
+ /prop_gbl/DEBUG_CONFIGURATIONS
+ /prop_gbl/DISABLED_FEATURES
+ /prop_gbl/ENABLED_FEATURES
+ /prop_gbl/ENABLED_LANGUAGES
+ /prop_gbl/FIND_LIBRARY_USE_LIB64_PATHS
+ /prop_gbl/FIND_LIBRARY_USE_OPENBSD_VERSIONING
+ /prop_gbl/GLOBAL_DEPENDS_DEBUG_MODE
+ /prop_gbl/GLOBAL_DEPENDS_NO_CYCLES
+ /prop_gbl/IN_TRY_COMPILE
+ /prop_gbl/PACKAGES_FOUND
+ /prop_gbl/PACKAGES_NOT_FOUND
+ /prop_gbl/JOB_POOLS
+ /prop_gbl/PREDEFINED_TARGETS_FOLDER
+ /prop_gbl/ECLIPSE_EXTRA_NATURES
+ /prop_gbl/REPORT_UNDEFINED_PROPERTIES
+ /prop_gbl/RULE_LAUNCH_COMPILE
+ /prop_gbl/RULE_LAUNCH_CUSTOM
+ /prop_gbl/RULE_LAUNCH_LINK
+ /prop_gbl/RULE_MESSAGES
+ /prop_gbl/TARGET_ARCHIVES_MAY_BE_SHARED_LIBS
+ /prop_gbl/TARGET_SUPPORTS_SHARED_LIBS
+ /prop_gbl/USE_FOLDERS
+
+Properties on Directories
+=========================
+
+.. toctree::
+ :maxdepth: 1
+
+ /prop_dir/ADDITIONAL_MAKE_CLEAN_FILES
+ /prop_dir/CACHE_VARIABLES
+ /prop_dir/CLEAN_NO_CUSTOM
+ /prop_dir/CMAKE_CONFIGURE_DEPENDS
+ /prop_dir/COMPILE_DEFINITIONS_CONFIG
+ /prop_dir/COMPILE_DEFINITIONS
+ /prop_dir/COMPILE_OPTIONS
+ /prop_dir/DEFINITIONS
+ /prop_dir/EXCLUDE_FROM_ALL
+ /prop_dir/IMPLICIT_DEPENDS_INCLUDE_TRANSFORM
+ /prop_dir/INCLUDE_DIRECTORIES
+ /prop_dir/INCLUDE_REGULAR_EXPRESSION
+ /prop_dir/INTERPROCEDURAL_OPTIMIZATION_CONFIG
+ /prop_dir/INTERPROCEDURAL_OPTIMIZATION
+ /prop_dir/LINK_DIRECTORIES
+ /prop_dir/LISTFILE_STACK
+ /prop_dir/MACROS
+ /prop_dir/PARENT_DIRECTORY
+ /prop_dir/RULE_LAUNCH_COMPILE
+ /prop_dir/RULE_LAUNCH_CUSTOM
+ /prop_dir/RULE_LAUNCH_LINK
+ /prop_dir/TEST_INCLUDE_FILE
+ /prop_dir/VARIABLES
+ /prop_dir/VS_GLOBAL_SECTION_POST_section
+ /prop_dir/VS_GLOBAL_SECTION_PRE_section
+
+Properties on Targets
+=====================
+
+.. toctree::
+ :maxdepth: 1
+
+ /prop_tgt/ALIASED_TARGET
+ /prop_tgt/ARCHIVE_OUTPUT_DIRECTORY_CONFIG
+ /prop_tgt/ARCHIVE_OUTPUT_DIRECTORY
+ /prop_tgt/ARCHIVE_OUTPUT_NAME_CONFIG
+ /prop_tgt/ARCHIVE_OUTPUT_NAME
+ /prop_tgt/AUTOGEN_TARGET_DEPENDS
+ /prop_tgt/AUTOMOC_MOC_OPTIONS
+ /prop_tgt/AUTOMOC
+ /prop_tgt/AUTOUIC
+ /prop_tgt/AUTOUIC_OPTIONS
+ /prop_tgt/AUTORCC
+ /prop_tgt/AUTORCC_OPTIONS
+ /prop_tgt/BUILD_WITH_INSTALL_RPATH
+ /prop_tgt/BUNDLE_EXTENSION
+ /prop_tgt/BUNDLE
+ /prop_tgt/COMPATIBLE_INTERFACE_BOOL
+ /prop_tgt/COMPATIBLE_INTERFACE_NUMBER_MAX
+ /prop_tgt/COMPATIBLE_INTERFACE_NUMBER_MIN
+ /prop_tgt/COMPATIBLE_INTERFACE_STRING
+ /prop_tgt/COMPILE_DEFINITIONS_CONFIG
+ /prop_tgt/COMPILE_DEFINITIONS
+ /prop_tgt/COMPILE_FLAGS
+ /prop_tgt/COMPILE_OPTIONS
+ /prop_tgt/CONFIG_OUTPUT_NAME
+ /prop_tgt/CONFIG_POSTFIX
+ /prop_tgt/DEBUG_POSTFIX
+ /prop_tgt/DEFINE_SYMBOL
+ /prop_tgt/EchoString
+ /prop_tgt/ENABLE_EXPORTS
+ /prop_tgt/EXCLUDE_FROM_ALL
+ /prop_tgt/EXCLUDE_FROM_DEFAULT_BUILD_CONFIG
+ /prop_tgt/EXCLUDE_FROM_DEFAULT_BUILD
+ /prop_tgt/EXPORT_NAME
+ /prop_tgt/FOLDER
+ /prop_tgt/Fortran_FORMAT
+ /prop_tgt/Fortran_MODULE_DIRECTORY
+ /prop_tgt/FRAMEWORK
+ /prop_tgt/GENERATOR_FILE_NAME
+ /prop_tgt/GNUtoMS
+ /prop_tgt/HAS_CXX
+ /prop_tgt/IMPLICIT_DEPENDS_INCLUDE_TRANSFORM
+ /prop_tgt/IMPORTED_CONFIGURATIONS
+ /prop_tgt/IMPORTED_IMPLIB_CONFIG
+ /prop_tgt/IMPORTED_IMPLIB
+ /prop_tgt/IMPORTED_LINK_DEPENDENT_LIBRARIES_CONFIG
+ /prop_tgt/IMPORTED_LINK_DEPENDENT_LIBRARIES
+ /prop_tgt/IMPORTED_LINK_INTERFACE_LANGUAGES_CONFIG
+ /prop_tgt/IMPORTED_LINK_INTERFACE_LANGUAGES
+ /prop_tgt/IMPORTED_LINK_INTERFACE_LIBRARIES_CONFIG
+ /prop_tgt/IMPORTED_LINK_INTERFACE_LIBRARIES
+ /prop_tgt/IMPORTED_LINK_INTERFACE_MULTIPLICITY_CONFIG
+ /prop_tgt/IMPORTED_LINK_INTERFACE_MULTIPLICITY
+ /prop_tgt/IMPORTED_LOCATION_CONFIG
+ /prop_tgt/IMPORTED_LOCATION
+ /prop_tgt/IMPORTED_NO_SONAME_CONFIG
+ /prop_tgt/IMPORTED_NO_SONAME
+ /prop_tgt/IMPORTED
+ /prop_tgt/IMPORTED_SONAME_CONFIG
+ /prop_tgt/IMPORTED_SONAME
+ /prop_tgt/IMPORT_PREFIX
+ /prop_tgt/IMPORT_SUFFIX
+ /prop_tgt/INCLUDE_DIRECTORIES
+ /prop_tgt/INSTALL_NAME_DIR
+ /prop_tgt/INSTALL_RPATH
+ /prop_tgt/INSTALL_RPATH_USE_LINK_PATH
+ /prop_tgt/INTERFACE_AUTOUIC_OPTIONS
+ /prop_tgt/INTERFACE_COMPILE_DEFINITIONS
+ /prop_tgt/INTERFACE_COMPILE_OPTIONS
+ /prop_tgt/INTERFACE_INCLUDE_DIRECTORIES
+ /prop_tgt/INTERFACE_LINK_LIBRARIES
+ /prop_tgt/INTERFACE_POSITION_INDEPENDENT_CODE
+ /prop_tgt/INTERFACE_SYSTEM_INCLUDE_DIRECTORIES
+ /prop_tgt/INTERPROCEDURAL_OPTIMIZATION_CONFIG
+ /prop_tgt/INTERPROCEDURAL_OPTIMIZATION
+ /prop_tgt/JOB_POOL_COMPILE
+ /prop_tgt/JOB_POOL_LINK
+ /prop_tgt/LABELS
+ /prop_tgt/LANG_VISIBILITY_PRESET
+ /prop_tgt/LIBRARY_OUTPUT_DIRECTORY_CONFIG
+ /prop_tgt/LIBRARY_OUTPUT_DIRECTORY
+ /prop_tgt/LIBRARY_OUTPUT_NAME_CONFIG
+ /prop_tgt/LIBRARY_OUTPUT_NAME
+ /prop_tgt/LINK_DEPENDS_NO_SHARED
+ /prop_tgt/LINK_DEPENDS
+ /prop_tgt/LINKER_LANGUAGE
+ /prop_tgt/LINK_FLAGS_CONFIG
+ /prop_tgt/LINK_FLAGS
+ /prop_tgt/LINK_INTERFACE_LIBRARIES_CONFIG
+ /prop_tgt/LINK_INTERFACE_LIBRARIES
+ /prop_tgt/LINK_INTERFACE_MULTIPLICITY_CONFIG
+ /prop_tgt/LINK_INTERFACE_MULTIPLICITY
+ /prop_tgt/LINK_LIBRARIES
+ /prop_tgt/LINK_SEARCH_END_STATIC
+ /prop_tgt/LINK_SEARCH_START_STATIC
+ /prop_tgt/LOCATION_CONFIG
+ /prop_tgt/LOCATION
+ /prop_tgt/MACOSX_BUNDLE_INFO_PLIST
+ /prop_tgt/MACOSX_BUNDLE
+ /prop_tgt/MACOSX_FRAMEWORK_INFO_PLIST
+ /prop_tgt/MACOSX_RPATH
+ /prop_tgt/MAP_IMPORTED_CONFIG_CONFIG
+ /prop_tgt/NAME
+ /prop_tgt/NO_SONAME
+ /prop_tgt/NO_SYSTEM_FROM_IMPORTED
+ /prop_tgt/OSX_ARCHITECTURES_CONFIG
+ /prop_tgt/OSX_ARCHITECTURES
+ /prop_tgt/OUTPUT_NAME_CONFIG
+ /prop_tgt/OUTPUT_NAME
+ /prop_tgt/PDB_NAME_CONFIG
+ /prop_tgt/PDB_NAME
+ /prop_tgt/PDB_OUTPUT_DIRECTORY_CONFIG
+ /prop_tgt/PDB_OUTPUT_DIRECTORY
+ /prop_tgt/POSITION_INDEPENDENT_CODE
+ /prop_tgt/POST_INSTALL_SCRIPT
+ /prop_tgt/PREFIX
+ /prop_tgt/PRE_INSTALL_SCRIPT
+ /prop_tgt/PRIVATE_HEADER
+ /prop_tgt/PROJECT_LABEL
+ /prop_tgt/PUBLIC_HEADER
+ /prop_tgt/RESOURCE
+ /prop_tgt/RULE_LAUNCH_COMPILE
+ /prop_tgt/RULE_LAUNCH_CUSTOM
+ /prop_tgt/RULE_LAUNCH_LINK
+ /prop_tgt/RUNTIME_OUTPUT_DIRECTORY_CONFIG
+ /prop_tgt/RUNTIME_OUTPUT_DIRECTORY
+ /prop_tgt/RUNTIME_OUTPUT_NAME_CONFIG
+ /prop_tgt/RUNTIME_OUTPUT_NAME
+ /prop_tgt/SKIP_BUILD_RPATH
+ /prop_tgt/SOURCES
+ /prop_tgt/SOVERSION
+ /prop_tgt/STATIC_LIBRARY_FLAGS_CONFIG
+ /prop_tgt/STATIC_LIBRARY_FLAGS
+ /prop_tgt/SUFFIX
+ /prop_tgt/TYPE
+ /prop_tgt/VERSION
+ /prop_tgt/VISIBILITY_INLINES_HIDDEN
+ /prop_tgt/VS_DOTNET_REFERENCES
+ /prop_tgt/VS_DOTNET_TARGET_FRAMEWORK_VERSION
+ /prop_tgt/VS_GLOBAL_KEYWORD
+ /prop_tgt/VS_GLOBAL_PROJECT_TYPES
+ /prop_tgt/VS_GLOBAL_ROOTNAMESPACE
+ /prop_tgt/VS_GLOBAL_variable
+ /prop_tgt/VS_KEYWORD
+ /prop_tgt/VS_SCC_AUXPATH
+ /prop_tgt/VS_SCC_LOCALPATH
+ /prop_tgt/VS_SCC_PROJECTNAME
+ /prop_tgt/VS_SCC_PROVIDER
+ /prop_tgt/VS_WINRT_EXTENSIONS
+ /prop_tgt/VS_WINRT_REFERENCES
+ /prop_tgt/WIN32_EXECUTABLE
+ /prop_tgt/XCODE_ATTRIBUTE_an-attribute
+
+Properties on Tests
+===================
+
+.. toctree::
+ :maxdepth: 1
+
+ /prop_test/ATTACHED_FILES_ON_FAIL
+ /prop_test/ATTACHED_FILES
+ /prop_test/COST
+ /prop_test/DEPENDS
+ /prop_test/ENVIRONMENT
+ /prop_test/FAIL_REGULAR_EXPRESSION
+ /prop_test/LABELS
+ /prop_test/MEASUREMENT
+ /prop_test/PASS_REGULAR_EXPRESSION
+ /prop_test/PROCESSORS
+ /prop_test/REQUIRED_FILES
+ /prop_test/RESOURCE_LOCK
+ /prop_test/RUN_SERIAL
+ /prop_test/SKIP_RETURN_CODE
+ /prop_test/TIMEOUT
+ /prop_test/WILL_FAIL
+ /prop_test/WORKING_DIRECTORY
+
+Properties on Source Files
+==========================
+
+.. toctree::
+ :maxdepth: 1
+
+ /prop_sf/ABSTRACT
+ /prop_sf/AUTOUIC_OPTIONS
+ /prop_sf/AUTORCC_OPTIONS
+ /prop_sf/COMPILE_DEFINITIONS_CONFIG
+ /prop_sf/COMPILE_DEFINITIONS
+ /prop_sf/COMPILE_FLAGS
+ /prop_sf/EXTERNAL_OBJECT
+ /prop_sf/Fortran_FORMAT
+ /prop_sf/GENERATED
+ /prop_sf/HEADER_FILE_ONLY
+ /prop_sf/KEEP_EXTENSION
+ /prop_sf/LABELS
+ /prop_sf/LANGUAGE
+ /prop_sf/LOCATION
+ /prop_sf/MACOSX_PACKAGE_LOCATION
+ /prop_sf/OBJECT_DEPENDS
+ /prop_sf/OBJECT_OUTPUTS
+ /prop_sf/SYMBOLIC
+ /prop_sf/WRAP_EXCLUDE
+
+Properties on Cache Entries
+===========================
+
+.. toctree::
+ :maxdepth: 1
+
+ /prop_cache/ADVANCED
+ /prop_cache/HELPSTRING
+ /prop_cache/MODIFIED
+ /prop_cache/STRINGS
+ /prop_cache/TYPE
+ /prop_cache/VALUE
diff --git a/Help/manual/cmake-qt.7.rst b/Help/manual/cmake-qt.7.rst
new file mode 100644
index 0000000..cad4951
--- /dev/null
+++ b/Help/manual/cmake-qt.7.rst
@@ -0,0 +1,187 @@
+.. cmake-manual-description: CMake Qt Features Reference
+
+cmake-qt(7)
+***********
+
+.. only:: html or latex
+
+ .. contents::
+
+Introduction
+============
+
+CMake can find and use Qt 4 and Qt 5 libraries. The Qt 4 libraries are found
+by the :module:`FindQt4` find-module shipped with CMake, whereas the
+Qt 5 libraries are found using "Config-file Packages" shipped with Qt 5. See
+:manual:`cmake-packages(7)` for more information about CMake packages, and
+see `the Qt cmake manual <http://qt-project.org/doc/qt-5/cmake-manual.html>`_
+for your Qt version.
+
+Qt 4 and Qt 5 may be used together in the same
+:manual:`CMake buildsystem <cmake-buildsystem(7)>`:
+
+.. code-block:: cmake
+
+ cmake_minimum_required(VERSION 3.0.0 FATAL_ERROR)
+
+ project(Qt4And5)
+
+ set(CMAKE_AUTOMOC ON)
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+ find_package(Qt5Widgets REQUIRED)
+ add_executable(publisher publisher.cpp)
+ target_link_libraries(publisher Qt5::Widgets Qt5::DBus)
+
+ find_package(Qt4 REQUIRED)
+ add_executable(subscriber subscriber.cpp)
+ target_link_libraries(subscriber Qt4::QtGui Qt4::QtDBus)
+
+A CMake target may not link to both Qt 4 and Qt 5. A diagnostic is issued if
+this is attempted or results from transitive target dependency evaluation.
+
+Qt Build Tools
+==============
+
+Qt relies on some bundled tools for code generation, such as ``moc`` for
+meta-object code generation, ``uic`` for widget layout and population,
+and ``rcc`` for virtual filesystem content generation. These tools may be
+automatically invoked by :manual:`cmake(1)` if the appropriate conditions
+are met. The automatic tool invocation may be used with both Qt 4 and Qt 5.
+
+The tools are executed as part of a synthesized custom target generated by
+CMake. Target dependencies may be added to that custom target by adding them
+to the :prop_tgt:`AUTOGEN_TARGET_DEPENDS` target property.
+
+AUTOMOC
+'''''''
+
+The :prop_tgt:`AUTOMOC` target property controls whether :manual:`cmake(1)`
+inspects the C++ files in the target to determine if they require ``moc`` to
+be run, and to create rules to execute ``moc`` at the appropriate time.
+
+If a ``Q_OBJECT`` or ``Q_GADGET`` macro is found in a header file, ``moc``
+will be run on the file. The result will be put into a file named according
+to ``moc_<basename>.cpp``. If the macro is found in a C++ implementation
+file, the moc output will be put into a file named according to
+``<basename>.moc``, following the Qt conventions. The ``moc file`` may be
+included by the user in the C++ implementation file with a preprocessor
+``#include``. If it is not so included, it will be added to a separate file
+which is compiled into the target.
+
+The ``moc`` command line will consume the :prop_tgt:`COMPILE_DEFINITIONS` and
+:prop_tgt:`INCLUDE_DIRECTORIES` target properties from the target it is being
+invoked for, and for the appropriate build configuration.
+
+Generated ``moc_*.cpp`` and ``*.moc`` files are placed in the build directory
+so it is convenient to set the :variable:`CMAKE_INCLUDE_CURRENT_DIR`
+variable. The :prop_tgt:`AUTOMOC` target property may be pre-set for all
+following targets by setting the :variable:`CMAKE_AUTOMOC` variable. The
+:prop_tgt:`AUTOMOC_MOC_OPTIONS` target property may be populated to set
+options to pass to ``moc``. The :variable:`CMAKE_AUTOMOC_MOC_OPTIONS`
+variable may be populated to pre-set the options for all following targets.
+
+.. _`Qt AUTOUIC`:
+
+AUTOUIC
+'''''''
+
+The :prop_tgt:`AUTOUIC` target property controls whether :manual:`cmake(1)`
+inspects the C++ files in the target to determine if they require ``uic`` to
+be run, and to create rules to execute ``uic`` at the appropriate time.
+
+If a preprocessor ``#include`` directive is found which matches
+``ui_<basename>.h``, and a ``<basename>.ui`` file exists, then ``uic`` will
+be executed to generate the appropriate file.
+
+Generated ``ui_*.h`` files are placed in the build directory so it is
+convenient to set the :variable:`CMAKE_INCLUDE_CURRENT_DIR` variable. The
+:prop_tgt:`AUTOUIC` target property may be pre-set for all following targets
+by setting the :variable:`CMAKE_AUTOUIC` variable. The
+:prop_tgt:`AUTOUIC_OPTIONS` target property may be populated to set options
+to pass to ``uic``. The :variable:`CMAKE_AUTOUIC_OPTIONS` variable may be
+populated to pre-set the options for all following targets. The
+:prop_sf:`AUTOUIC_OPTIONS` source file property may be set on the
+``<basename>.ui`` file to set particular options for the file. This
+overrides options from the :prop_tgt:`AUTOUIC_OPTIONS` target property.
+
+A target may populate the :prop_tgt:`INTERFACE_AUTOUIC_OPTIONS` target
+property with options that should be used when invoking ``uic``. This must be
+consistent with the :prop_tgt:`AUTOUIC_OPTIONS` target property content of the
+depender target. The :variable:`CMAKE_DEBUG_TARGET_PROPERTIES` variable may
+be used to track the origin target of such
+:prop_tgt:`INTERFACE_AUTOUIC_OPTIONS`. This means that a library which
+provides an alternative translation system for Qt may specify options which
+should be used when running ``uic``:
+
+.. code-block:: cmake
+
+ add_library(KI18n klocalizedstring.cpp)
+ target_link_libraries(KI18n Qt5::Core)
+
+ # KI18n uses the tr2i18n() function instead of tr(). That function is
+ # declared in the klocalizedstring.h header.
+ set(autouic_options
+ -tr tr2i18n
+ -include klocalizedstring.h
+ )
+
+ set_property(TARGET KI18n APPEND PROPERTY
+ INTERFACE_AUTOUIC_OPTIONS ${autouic_options}
+ )
+
+A consuming project linking to the target exported from upstream automatically
+uses appropriate options when ``uic`` is run by :prop_tgt:`AUTOUIC`, as a
+result of linking with the :prop_tgt:`IMPORTED` target:
+
+.. code-block:: cmake
+
+ set(CMAKE_AUTOUIC ON)
+ # Uses a libwidget.ui file:
+ add_library(LibWidget libwidget.cpp)
+ target_link_libraries(LibWidget
+ KF5::KI18n
+ Qt5::Widgets
+ )
+
+.. _`Qt AUTORCC`:
+
+AUTORCC
+'''''''
+
+The :prop_tgt:`AUTORCC` target property controls whether :manual:`cmake(1)`
+creates rules to execute ``rcc`` at the appropriate time on source files
+which have the suffix ``.qrc``.
+
+.. code-block:: cmake
+
+ add_executable(myexe main.cpp resource_file.qrc)
+
+The :prop_tgt:`AUTORCC` target property may be pre-set for all following targets
+by setting the :variable:`CMAKE_AUTORCC` variable. The
+:prop_tgt:`AUTORCC_OPTIONS` target property may be populated to set options
+to pass to ``rcc``. The :variable:`CMAKE_AUTORCC_OPTIONS` variable may be
+populated to pre-set the options for all following targets. The
+:prop_sf:`AUTORCC_OPTIONS` source file property may be set on the
+``<name>.qrc`` file to set particular options for the file. This
+overrides options from the :prop_tgt:`AUTORCC_OPTIONS` target property.
+
+qtmain.lib on Windows
+=====================
+
+The Qt 4 and 5 :prop_tgt:`IMPORTED` targets for the QtGui libraries specify
+that the qtmain.lib static library shipped with Qt will be linked by all
+dependent executables which have the :prop_tgt:`WIN32_EXECUTABLE` enabled.
+
+To disable this behavior, enable the ``Qt5_NO_LINK_QTMAIN`` target property for
+Qt 5 based targets or ``QT4_NO_LINK_QTMAIN`` target property for Qt 4 based
+targets.
+
+.. code-block:: cmake
+
+ add_executable(myexe WIN32 main.cpp)
+ target_link_libraries(myexe Qt4::QtGui)
+
+ add_executable(myexe_no_qtmain WIN32 main_no_qtmain.cpp)
+ set_property(TARGET main_no_qtmain PROPERTY QT4_NO_LINK_QTMAIN ON)
+ target_link_libraries(main_no_qtmain Qt4::QtGui)
diff --git a/Help/manual/cmake-toolchains.7.rst b/Help/manual/cmake-toolchains.7.rst
new file mode 100644
index 0000000..f36a43c
--- /dev/null
+++ b/Help/manual/cmake-toolchains.7.rst
@@ -0,0 +1,178 @@
+.. cmake-manual-description: CMake Toolchains Reference
+
+cmake-toolchains(7)
+*******************
+
+.. only:: html or latex
+
+ .. contents::
+
+Introduction
+============
+
+CMake uses a toolchain of utilities to compile, link libraries and create
+archives, and other tasks to drive the build. The toolchain utilities available
+are determined by the languages enabled. In normal builds, CMake automatically
+determines the toolchain for host builds based on system introspection and
+defaults. In cross-compiling scenarios, a toolchain file may be specified
+with information about compiler and utility paths.
+
+Languages
+=========
+
+Languages are enabled by the :command:`project` command. Language-specific
+built-in variables, such as
+:variable:`CMAKE_CXX_COMPILER <CMAKE_<LANG>_COMPILER>`,
+:variable:`CMAKE_CXX_COMPILER_ID <CMAKE_<LANG>_COMPILER_ID>` etc are set by
+invoking the :command:`project` command. If no project command
+is in the top-level CMakeLists file, one will be implicitly generated. By default
+the enabled languages are C and CXX:
+
+.. code-block:: cmake
+
+ project(C_Only C)
+
+A special value of NONE can also be used with the :command:`project` command
+to enable no languages:
+
+.. code-block:: cmake
+
+ project(MyProject NONE)
+
+The :command:`enable_language` command can be used to enable languages after the
+:command:`project` command:
+
+.. code-block:: cmake
+
+ enable_language(CXX)
+
+When a language is enabled, CMake finds a compiler for that language, and
+determines some information, such as the vendor and version of the compiler,
+the target architecture and bitwidth, the location of corresponding utilities
+etc.
+
+The :prop_gbl:`ENABLED_LANGUAGES` global property contains the languages which
+are currently enabled.
+
+Variables and Properties
+========================
+
+Several variables relate to the language components of a toolchain which are
+enabled. :variable:`CMAKE_<LANG>_COMPILER` is the full path to the compiler used
+for ``<LANG>``. :variable:`CMAKE_<LANG>_COMPILER_ID` is the identifier used
+by CMake for the compiler and :variable:`CMAKE_<LANG>_COMPILER_VERSION` is the
+version of the compiler.
+
+The :variable:`CMAKE_<LANG>_FLAGS` variables and the configuration-specific
+equivalents contain flags that will be added to the compile command when
+compiling a file of a particular language.
+
+As the linker is invoked by the compiler driver, CMake needs a way to determine
+which compiler to use to invoke the linker. This is calculated by the
+:prop_sf:`LANGUAGE` of source files in the target, and in the case of static
+libraries, the language of the dependent libraries. The choice CMake makes may
+be overridden with the :prop_tgt:`LINKER_LANGUAGE` target property.
+
+Toolchain Features
+==================
+
+CMake provides the :command:`try_compile` command and wrapper macros such as
+:module:`CheckCXXSourceCompiles`, :module:`CheckCXXSymbolExists` and
+:module:`CheckIncludeFile` to test capability and availability of various
+toolchain features. These APIs test the toolchain in some way and cache the
+result so that the test does not have to be performed again the next time
+CMake runs.
+
+Some toolchain features have built-in handling in CMake, and do not require
+compile-tests. For example, :prop_tgt:`POSITION_INDEPENDENT_CODE` allows
+specifying that a target should be built as position-independent code, if
+the compiler supports that feature. The :prop_tgt:`<LANG>_VISIBILITY_PRESET`
+and :prop_tgt:`VISIBILITY_INLINES_HIDDEN` target properties add flags for
+hidden visibility, if supported by the compiler.
+
+.. _`Cross Compiling Toolchain`:
+
+Cross Compiling
+===============
+
+If :manual:`cmake(1)` is invoked with the command line parameter
+``-DCMAKE_TOOLCHAIN_FILE=path/to/file``, the file will be loaded early to set
+values for the compilers. A typical cross-compiling toolchain has content such
+as:
+
+.. code-block:: cmake
+
+ set(CMAKE_SYSTEM_NAME Linux)
+
+ set(CMAKE_SYSROOT /home/devel/rasp-pi-rootfs)
+ set(CMAKE_STAGING_PREFIX /home/devel/stage)
+
+ set(CMAKE_C_COMPILER /home/devel/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-gcc)
+ set(CMAKE_CXX_COMPILER /home/devel/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++)
+
+ set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
+ set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
+ set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
+ set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
+
+The :variable:`CMAKE_SYSTEM_NAME` is the CMake-identifier of the target platform
+to build for.
+
+The :variable:`CMAKE_SYSROOT` is optional, and may be specified if a sysroot
+is available.
+
+The :variable:`CMAKE_STAGING_PREFIX` is also optional. It may be used to specify
+a path on the host to install to. The :variable:`CMAKE_INSTALL_PREFIX` is always
+the runtime installation location, even when cross-compiling.
+
+The :variable:`CMAKE_<LANG>_COMPILER` variables may be set to full paths, or to
+names of compilers to search for in standard locations. In cases where CMake does
+not have enough information to extract information from the compiler, the
+:module:`CMakeForceCompiler` module can be used to bypass some of the checks.
+
+CMake ``find_*`` commands will look in the sysroot, and the :variable:`CMAKE_FIND_ROOT_PATH`
+entries by default in all cases, as well as looking in the host system root prefix.
+Although this can be controlled on a case-by-case basis, when cross-compiling, it
+can be useful to exclude looking in either the host or the target for particular
+artifacts. Generally, includes, libraries and packages should be found in the
+target system prefixes, whereas executables which must be run as part of the build
+should be found only on the host and not on the target. This is the purpose of
+the ``CMAKE_FIND_ROOT_PATH_MODE_*`` variables.
+
+Some compilers are inherently cross compilers, such as Clang and the QNX QCC
+compiler. The :variable:`CMAKE_<LANG>_COMPILER_TARGET` can be set to pass a
+value to those supported compilers when compiling:
+
+.. code-block:: cmake
+
+ set(CMAKE_SYSTEM_NAME Linux)
+
+ set(triple arm-linux-gnueabihf)
+
+ set(CMAKE_C_COMPILER clang)
+ set(CMAKE_C_COMPILER_TARGET ${triple})
+ set(CMAKE_CXX_COMPILER clang++)
+ set(CMAKE_CXX_COMPILER_TARGET ${triple})
+
+Or, for QCC:
+
+.. code-block:: cmake
+
+ set(CMAKE_SYSTEM_NAME QNX)
+
+ set(arch gcc_ntoarmv7le)
+
+ set(CMAKE_C_COMPILER qcc)
+ set(CMAKE_C_COMPILER_TARGET ${arch})
+ set(CMAKE_CXX_COMPILER QCC)
+ set(CMAKE_CXX_COMPILER_TARGET ${arch})
+
+
+Similarly, some compilers do not ship their own supplementary utilities
+such as linkers, but provide a way to specify the location of the external
+toolchain which will be used by the compiler driver. The
+:variable:`CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN` variable can be set in a
+toolchain file to pass the path to the compiler driver.
+
+The :variable:`CMAKE_CROSSCOMPILING` variable is set to true when CMake is
+cross-compiling.
diff --git a/Help/manual/cmake-variables.7.rst b/Help/manual/cmake-variables.7.rst
new file mode 100644
index 0000000..f4b9666
--- /dev/null
+++ b/Help/manual/cmake-variables.7.rst
@@ -0,0 +1,311 @@
+.. cmake-manual-description: CMake Variables Reference
+
+cmake-variables(7)
+******************
+
+.. only:: html or latex
+
+ .. contents::
+
+Variables that Provide Information
+==================================
+
+.. toctree::
+ :maxdepth: 1
+
+ /variable/CMAKE_ARGC
+ /variable/CMAKE_ARGV0
+ /variable/CMAKE_AR
+ /variable/CMAKE_BINARY_DIR
+ /variable/CMAKE_BUILD_TOOL
+ /variable/CMAKE_CACHEFILE_DIR
+ /variable/CMAKE_CACHE_MAJOR_VERSION
+ /variable/CMAKE_CACHE_MINOR_VERSION
+ /variable/CMAKE_CACHE_PATCH_VERSION
+ /variable/CMAKE_CFG_INTDIR
+ /variable/CMAKE_COMMAND
+ /variable/CMAKE_CROSSCOMPILING
+ /variable/CMAKE_CTEST_COMMAND
+ /variable/CMAKE_CURRENT_BINARY_DIR
+ /variable/CMAKE_CURRENT_LIST_DIR
+ /variable/CMAKE_CURRENT_LIST_FILE
+ /variable/CMAKE_CURRENT_LIST_LINE
+ /variable/CMAKE_CURRENT_SOURCE_DIR
+ /variable/CMAKE_DL_LIBS
+ /variable/CMAKE_EDIT_COMMAND
+ /variable/CMAKE_EXECUTABLE_SUFFIX
+ /variable/CMAKE_EXTRA_GENERATOR
+ /variable/CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES
+ /variable/CMAKE_GENERATOR
+ /variable/CMAKE_GENERATOR_TOOLSET
+ /variable/CMAKE_HOME_DIRECTORY
+ /variable/CMAKE_IMPORT_LIBRARY_PREFIX
+ /variable/CMAKE_IMPORT_LIBRARY_SUFFIX
+ /variable/CMAKE_JOB_POOL_COMPILE
+ /variable/CMAKE_JOB_POOL_LINK
+ /variable/CMAKE_LINK_LIBRARY_SUFFIX
+ /variable/CMAKE_MAJOR_VERSION
+ /variable/CMAKE_MAKE_PROGRAM
+ /variable/CMAKE_MINIMUM_REQUIRED_VERSION
+ /variable/CMAKE_MINOR_VERSION
+ /variable/CMAKE_PARENT_LIST_FILE
+ /variable/CMAKE_PATCH_VERSION
+ /variable/CMAKE_PROJECT_NAME
+ /variable/CMAKE_RANLIB
+ /variable/CMAKE_ROOT
+ /variable/CMAKE_SCRIPT_MODE_FILE
+ /variable/CMAKE_SHARED_LIBRARY_PREFIX
+ /variable/CMAKE_SHARED_LIBRARY_SUFFIX
+ /variable/CMAKE_SHARED_MODULE_PREFIX
+ /variable/CMAKE_SHARED_MODULE_SUFFIX
+ /variable/CMAKE_SIZEOF_VOID_P
+ /variable/CMAKE_SKIP_INSTALL_RULES
+ /variable/CMAKE_SKIP_RPATH
+ /variable/CMAKE_SOURCE_DIR
+ /variable/CMAKE_STANDARD_LIBRARIES
+ /variable/CMAKE_STATIC_LIBRARY_PREFIX
+ /variable/CMAKE_STATIC_LIBRARY_SUFFIX
+ /variable/CMAKE_TOOLCHAIN_FILE
+ /variable/CMAKE_TWEAK_VERSION
+ /variable/CMAKE_VERBOSE_MAKEFILE
+ /variable/CMAKE_VERSION
+ /variable/CMAKE_VS_DEVENV_COMMAND
+ /variable/CMAKE_VS_INTEL_Fortran_PROJECT_VERSION
+ /variable/CMAKE_VS_MSBUILD_COMMAND
+ /variable/CMAKE_VS_MSDEV_COMMAND
+ /variable/CMAKE_VS_PLATFORM_TOOLSET
+ /variable/CMAKE_XCODE_PLATFORM_TOOLSET
+ /variable/PROJECT_BINARY_DIR
+ /variable/PROJECT-NAME_BINARY_DIR
+ /variable/PROJECT_NAME
+ /variable/PROJECT-NAME_SOURCE_DIR
+ /variable/PROJECT-NAME_VERSION
+ /variable/PROJECT-NAME_VERSION_MAJOR
+ /variable/PROJECT-NAME_VERSION_MINOR
+ /variable/PROJECT-NAME_VERSION_PATCH
+ /variable/PROJECT-NAME_VERSION_TWEAK
+ /variable/PROJECT_SOURCE_DIR
+ /variable/PROJECT_VERSION
+ /variable/PROJECT_VERSION_MAJOR
+ /variable/PROJECT_VERSION_MINOR
+ /variable/PROJECT_VERSION_PATCH
+ /variable/PROJECT_VERSION_TWEAK
+
+Variables that Change Behavior
+==============================
+
+.. toctree::
+ :maxdepth: 1
+
+ /variable/BUILD_SHARED_LIBS
+ /variable/CMAKE_ABSOLUTE_DESTINATION_FILES
+ /variable/CMAKE_APPBUNDLE_PATH
+ /variable/CMAKE_AUTOMOC_RELAXED_MODE
+ /variable/CMAKE_BACKWARDS_COMPATIBILITY
+ /variable/CMAKE_BUILD_TYPE
+ /variable/CMAKE_COLOR_MAKEFILE
+ /variable/CMAKE_CONFIGURATION_TYPES
+ /variable/CMAKE_DEBUG_TARGET_PROPERTIES
+ /variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName
+ /variable/CMAKE_ERROR_DEPRECATED
+ /variable/CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION
+ /variable/CMAKE_SYSROOT
+ /variable/CMAKE_FIND_LIBRARY_PREFIXES
+ /variable/CMAKE_FIND_LIBRARY_SUFFIXES
+ /variable/CMAKE_FIND_NO_INSTALL_PREFIX
+ /variable/CMAKE_FIND_PACKAGE_WARN_NO_MODULE
+ /variable/CMAKE_FIND_ROOT_PATH
+ /variable/CMAKE_FIND_ROOT_PATH_MODE_INCLUDE
+ /variable/CMAKE_FIND_ROOT_PATH_MODE_LIBRARY
+ /variable/CMAKE_FIND_ROOT_PATH_MODE_PACKAGE
+ /variable/CMAKE_FIND_ROOT_PATH_MODE_PROGRAM
+ /variable/CMAKE_FRAMEWORK_PATH
+ /variable/CMAKE_IGNORE_PATH
+ /variable/CMAKE_INCLUDE_PATH
+ /variable/CMAKE_INCLUDE_DIRECTORIES_BEFORE
+ /variable/CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE
+ /variable/CMAKE_INSTALL_DEFAULT_COMPONENT_NAME
+ /variable/CMAKE_INSTALL_PREFIX
+ /variable/CMAKE_LIBRARY_PATH
+ /variable/CMAKE_MFC_FLAG
+ /variable/CMAKE_MODULE_PATH
+ /variable/CMAKE_NOT_USING_CONFIG_FLAGS
+ /variable/CMAKE_POLICY_DEFAULT_CMPNNNN
+ /variable/CMAKE_POLICY_WARNING_CMPNNNN
+ /variable/CMAKE_PREFIX_PATH
+ /variable/CMAKE_PROGRAM_PATH
+ /variable/CMAKE_PROJECT_PROJECT-NAME_INCLUDE
+ /variable/CMAKE_SKIP_INSTALL_ALL_DEPENDENCY
+ /variable/CMAKE_STAGING_PREFIX
+ /variable/CMAKE_SYSTEM_IGNORE_PATH
+ /variable/CMAKE_SYSTEM_INCLUDE_PATH
+ /variable/CMAKE_SYSTEM_LIBRARY_PATH
+ /variable/CMAKE_SYSTEM_PREFIX_PATH
+ /variable/CMAKE_SYSTEM_PROGRAM_PATH
+ /variable/CMAKE_USER_MAKE_RULES_OVERRIDE
+ /variable/CMAKE_WARN_DEPRECATED
+ /variable/CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION
+
+Variables that Describe the System
+==================================
+
+.. toctree::
+ :maxdepth: 1
+
+ /variable/APPLE
+ /variable/BORLAND
+ /variable/CMAKE_CL_64
+ /variable/CMAKE_COMPILER_2005
+ /variable/CMAKE_HOST_APPLE
+ /variable/CMAKE_HOST_SYSTEM_NAME
+ /variable/CMAKE_HOST_SYSTEM_PROCESSOR
+ /variable/CMAKE_HOST_SYSTEM
+ /variable/CMAKE_HOST_SYSTEM_VERSION
+ /variable/CMAKE_HOST_UNIX
+ /variable/CMAKE_HOST_WIN32
+ /variable/CMAKE_LIBRARY_ARCHITECTURE_REGEX
+ /variable/CMAKE_LIBRARY_ARCHITECTURE
+ /variable/CMAKE_OBJECT_PATH_MAX
+ /variable/CMAKE_SYSTEM_NAME
+ /variable/CMAKE_SYSTEM_PROCESSOR
+ /variable/CMAKE_SYSTEM
+ /variable/CMAKE_SYSTEM_VERSION
+ /variable/CYGWIN
+ /variable/ENV
+ /variable/MSVC10
+ /variable/MSVC11
+ /variable/MSVC12
+ /variable/MSVC60
+ /variable/MSVC70
+ /variable/MSVC71
+ /variable/MSVC80
+ /variable/MSVC90
+ /variable/MSVC_IDE
+ /variable/MSVC
+ /variable/MSVC_VERSION
+ /variable/UNIX
+ /variable/WIN32
+ /variable/XCODE_VERSION
+
+Variables that Control the Build
+================================
+
+.. toctree::
+ :maxdepth: 1
+
+ /variable/CMAKE_ARCHIVE_OUTPUT_DIRECTORY
+ /variable/CMAKE_AUTOMOC_MOC_OPTIONS
+ /variable/CMAKE_AUTOMOC
+ /variable/CMAKE_AUTORCC
+ /variable/CMAKE_AUTORCC_OPTIONS
+ /variable/CMAKE_AUTOUIC
+ /variable/CMAKE_AUTOUIC_OPTIONS
+ /variable/CMAKE_BUILD_WITH_INSTALL_RPATH
+ /variable/CMAKE_CONFIG_POSTFIX
+ /variable/CMAKE_DEBUG_POSTFIX
+ /variable/CMAKE_EXE_LINKER_FLAGS_CONFIG
+ /variable/CMAKE_EXE_LINKER_FLAGS
+ /variable/CMAKE_Fortran_FORMAT
+ /variable/CMAKE_Fortran_MODULE_DIRECTORY
+ /variable/CMAKE_GNUtoMS
+ /variable/CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE
+ /variable/CMAKE_INCLUDE_CURRENT_DIR
+ /variable/CMAKE_INSTALL_NAME_DIR
+ /variable/CMAKE_INSTALL_RPATH
+ /variable/CMAKE_INSTALL_RPATH_USE_LINK_PATH
+ /variable/CMAKE_LANG_VISIBILITY_PRESET
+ /variable/CMAKE_LIBRARY_OUTPUT_DIRECTORY
+ /variable/CMAKE_LIBRARY_PATH_FLAG
+ /variable/CMAKE_LINK_DEF_FILE_FLAG
+ /variable/CMAKE_LINK_DEPENDS_NO_SHARED
+ /variable/CMAKE_LINK_INTERFACE_LIBRARIES
+ /variable/CMAKE_LINK_LIBRARY_FILE_FLAG
+ /variable/CMAKE_LINK_LIBRARY_FLAG
+ /variable/CMAKE_MACOSX_BUNDLE
+ /variable/CMAKE_MACOSX_RPATH
+ /variable/CMAKE_MAP_IMPORTED_CONFIG_CONFIG
+ /variable/CMAKE_MODULE_LINKER_FLAGS_CONFIG
+ /variable/CMAKE_MODULE_LINKER_FLAGS
+ /variable/CMAKE_NO_BUILTIN_CHRPATH
+ /variable/CMAKE_NO_SYSTEM_FROM_IMPORTED
+ /variable/CMAKE_OSX_ARCHITECTURES
+ /variable/CMAKE_OSX_DEPLOYMENT_TARGET
+ /variable/CMAKE_OSX_SYSROOT
+ /variable/CMAKE_PDB_OUTPUT_DIRECTORY
+ /variable/CMAKE_PDB_OUTPUT_DIRECTORY_CONFIG
+ /variable/CMAKE_POSITION_INDEPENDENT_CODE
+ /variable/CMAKE_RUNTIME_OUTPUT_DIRECTORY
+ /variable/CMAKE_SHARED_LINKER_FLAGS_CONFIG
+ /variable/CMAKE_SHARED_LINKER_FLAGS
+ /variable/CMAKE_SKIP_BUILD_RPATH
+ /variable/CMAKE_SKIP_INSTALL_RPATH
+ /variable/CMAKE_STATIC_LINKER_FLAGS_CONFIG
+ /variable/CMAKE_STATIC_LINKER_FLAGS
+ /variable/CMAKE_TRY_COMPILE_CONFIGURATION
+ /variable/CMAKE_USE_RELATIVE_PATHS
+ /variable/CMAKE_VISIBILITY_INLINES_HIDDEN
+ /variable/CMAKE_WIN32_EXECUTABLE
+ /variable/EXECUTABLE_OUTPUT_PATH
+ /variable/LIBRARY_OUTPUT_PATH
+
+Variables for Languages
+=======================
+
+.. toctree::
+ :maxdepth: 1
+
+ /variable/CMAKE_COMPILER_IS_GNULANG
+ /variable/CMAKE_Fortran_MODDIR_DEFAULT
+ /variable/CMAKE_Fortran_MODDIR_FLAG
+ /variable/CMAKE_Fortran_MODOUT_FLAG
+ /variable/CMAKE_INTERNAL_PLATFORM_ABI
+ /variable/CMAKE_LANG_ARCHIVE_APPEND
+ /variable/CMAKE_LANG_ARCHIVE_CREATE
+ /variable/CMAKE_LANG_ARCHIVE_FINISH
+ /variable/CMAKE_LANG_COMPILE_OBJECT
+ /variable/CMAKE_LANG_COMPILER_ABI
+ /variable/CMAKE_LANG_COMPILER_ID
+ /variable/CMAKE_LANG_COMPILER_LOADED
+ /variable/CMAKE_LANG_COMPILER
+ /variable/CMAKE_LANG_COMPILER_EXTERNAL_TOOLCHAIN
+ /variable/CMAKE_LANG_COMPILER_TARGET
+ /variable/CMAKE_LANG_COMPILER_VERSION
+ /variable/CMAKE_LANG_CREATE_SHARED_LIBRARY
+ /variable/CMAKE_LANG_CREATE_SHARED_MODULE
+ /variable/CMAKE_LANG_CREATE_STATIC_LIBRARY
+ /variable/CMAKE_LANG_FLAGS_DEBUG
+ /variable/CMAKE_LANG_FLAGS_MINSIZEREL
+ /variable/CMAKE_LANG_FLAGS_RELEASE
+ /variable/CMAKE_LANG_FLAGS_RELWITHDEBINFO
+ /variable/CMAKE_LANG_FLAGS
+ /variable/CMAKE_LANG_IGNORE_EXTENSIONS
+ /variable/CMAKE_LANG_IMPLICIT_INCLUDE_DIRECTORIES
+ /variable/CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES
+ /variable/CMAKE_LANG_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES
+ /variable/CMAKE_LANG_IMPLICIT_LINK_LIBRARIES
+ /variable/CMAKE_LANG_LIBRARY_ARCHITECTURE
+ /variable/CMAKE_LANG_LINKER_PREFERENCE_PROPAGATES
+ /variable/CMAKE_LANG_LINKER_PREFERENCE
+ /variable/CMAKE_LANG_LINK_EXECUTABLE
+ /variable/CMAKE_LANG_OUTPUT_EXTENSION
+ /variable/CMAKE_LANG_PLATFORM_ID
+ /variable/CMAKE_LANG_SIMULATE_ID
+ /variable/CMAKE_LANG_SIMULATE_VERSION
+ /variable/CMAKE_LANG_SIZEOF_DATA_PTR
+ /variable/CMAKE_LANG_SOURCE_FILE_EXTENSIONS
+ /variable/CMAKE_USER_MAKE_RULES_OVERRIDE_LANG
+
+Variables for CPack
+===================
+
+.. toctree::
+ :maxdepth: 1
+
+ /variable/CPACK_ABSOLUTE_DESTINATION_FILES
+ /variable/CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY
+ /variable/CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION
+ /variable/CPACK_INCLUDE_TOPLEVEL_DIRECTORY
+ /variable/CPACK_INSTALL_SCRIPT
+ /variable/CPACK_PACKAGING_INSTALL_PREFIX
+ /variable/CPACK_SET_DESTDIR
+ /variable/CPACK_WARN_ON_ABSOLUTE_INSTALL_DESTINATION
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
new file mode 100644
index 0000000..5743ab7
--- /dev/null
+++ b/Help/manual/cmake.1.rst
@@ -0,0 +1,162 @@
+.. cmake-manual-description: CMake Command-Line Reference
+
+cmake(1)
+********
+
+Synopsis
+========
+
+.. parsed-literal::
+
+ cmake [<options>] (<path-to-source> | <path-to-existing-build>)
+ cmake [(-D<var>=<value>)...] -P <cmake-script-file>
+ cmake --build <dir> [<options>] [-- <build-tool-options>...]
+ cmake -E <command> [<options>]
+ cmake --find-package <options>...
+
+Description
+===========
+
+The "cmake" executable is the CMake command-line interface. It may be
+used to configure projects in scripts. Project configuration settings
+may be specified on the command line with the -D option.
+
+CMake is a cross-platform build system generator. Projects specify
+their build process with platform-independent CMake listfiles included
+in each directory of a source tree with the name CMakeLists.txt.
+Users build a project by using CMake to generate a build system for a
+native tool on their platform.
+
+Options
+=======
+
+.. include:: OPTIONS_BUILD.txt
+
+``-E``
+ CMake command mode.
+
+ For true platform independence, CMake provides a list of commands
+ that can be used on all systems. Run with -E help for the usage
+ information. Commands available are: chdir, compare_files, copy,
+ copy_directory, copy_if_different, echo, echo_append, environment,
+ make_directory, md5sum, remove, remove_directory, rename, sleep, tar, time,
+ touch, touch_nocreate. In addition, some platform specific commands
+ are available. On Windows: delete_regv, write_regv. On
+ UNIX: create_symlink.
+
+``-L[A][H]``
+ List non-advanced cached variables.
+
+ List cache variables will run CMake and list all the variables from
+ the CMake cache that are not marked as INTERNAL or ADVANCED. This
+ will effectively display current CMake settings, which can then be
+ changed with -D option. Changing some of the variables may result
+ in more variables being created. If A is specified, then it will
+ display also advanced variables. If H is specified, it will also
+ display help for each variable.
+
+``--build <dir>``
+ Build a CMake-generated project binary tree.
+
+ This abstracts a native build tool's command-line interface with the
+ following options:
+
+ ::
+
+ <dir> = Project binary directory to be built.
+ --target <tgt> = Build <tgt> instead of default targets.
+ --config <cfg> = For multi-configuration tools, choose <cfg>.
+ --clean-first = Build target 'clean' first, then build.
+ (To clean only, use --target 'clean'.)
+ --use-stderr = Ignored. Behavior is default in CMake >= 3.0.
+ -- = Pass remaining options to the native tool.
+
+ Run cmake --build with no options for quick help.
+
+``-N``
+ View mode only.
+
+ Only load the cache. Do not actually run configure and generate
+ steps.
+
+``-P <file>``
+ Process script mode.
+
+ Process the given cmake file as a script written in the CMake
+ language. No configure or generate step is performed and the cache
+ is not modified. If variables are defined using -D, this must be
+ done before the -P argument.
+
+``--find-package``
+ Run in pkg-config like mode.
+
+ Search a package using find_package() and print the resulting flags
+ to stdout. This can be used to use cmake instead of pkg-config to
+ find installed libraries in plain Makefile-based projects or in
+ autoconf-based projects (via share/aclocal/cmake.m4).
+
+``--graphviz=[file]``
+ Generate graphviz of dependencies, see CMakeGraphVizOptions.cmake for more.
+
+ Generate a graphviz input file that will contain all the library and
+ executable dependencies in the project. See the documentation for
+ CMakeGraphVizOptions.cmake for more details.
+
+``--system-information [file]``
+ Dump information about this system.
+
+ Dump a wide range of information about the current system. If run
+ from the top of a binary tree for a CMake project it will dump
+ additional information such as the cache, log files etc.
+
+``--debug-trycompile``
+ Do not delete the try_compile build tree. Only useful on one try_compile at a time.
+
+ Do not delete the files and directories created for try_compile
+ calls. This is useful in debugging failed try_compiles. It may
+ however change the results of the try-compiles as old junk from a
+ previous try-compile may cause a different test to either pass or
+ fail incorrectly. This option is best used for one try-compile at a
+ time, and only when debugging.
+
+``--debug-output``
+ Put cmake in a debug mode.
+
+ Print extra stuff during the cmake run like stack traces with
+ message(send_error ) calls.
+
+``--trace``
+ Put cmake in trace mode.
+
+ Print a trace of all calls made and from where with
+ message(send_error ) calls.
+
+``--warn-uninitialized``
+ Warn about uninitialized values.
+
+ Print a warning when an uninitialized variable is used.
+
+``--warn-unused-vars``
+ Warn about unused variables.
+
+ Find variables that are declared or set, but not used.
+
+``--no-warn-unused-cli``
+ Don't warn about command line options.
+
+ Don't find variables that are declared on the command line, but not
+ used.
+
+``--check-system-vars``
+ Find problems with variable usage in system files.
+
+ Normally, unused and uninitialized variables are searched for only
+ in CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR. This flag tells CMake to
+ warn about other files as well.
+
+.. include:: OPTIONS_HELP.txt
+
+See Also
+========
+
+.. include:: LINKS.txt
diff --git a/Help/manual/cpack.1.rst b/Help/manual/cpack.1.rst
new file mode 100644
index 0000000..ba2086e
--- /dev/null
+++ b/Help/manual/cpack.1.rst
@@ -0,0 +1,97 @@
+.. cmake-manual-description: CPack Command-Line Reference
+
+cpack(1)
+********
+
+Synopsis
+========
+
+.. parsed-literal::
+
+ cpack -G <generator> [<options>]
+
+Description
+===========
+
+The "cpack" executable is the CMake packaging program.
+CMake-generated build trees created for projects that use the
+INSTALL_* commands have packaging support. This program will generate
+the package.
+
+CMake is a cross-platform build system generator. Projects specify
+their build process with platform-independent CMake listfiles included
+in each directory of a source tree with the name CMakeLists.txt.
+Users build a project by using CMake to generate a build system for a
+native tool on their platform.
+
+Options
+=======
+
+``-G <generator>``
+ Use the specified generator to generate package.
+
+ CPack may support multiple native packaging systems on certain
+ platforms. A generator is responsible for generating input files
+ for particular system and invoking that systems. Possible generator
+ names are specified in the Generators section.
+
+``-C <Configuration>``
+ Specify the project configuration
+
+ This option specifies the configuration that the project was build
+ with, for example 'Debug', 'Release'.
+
+``-D <var>=<value>``
+ Set a CPack variable.
+
+ Set a variable that can be used by the generator.
+
+``--config <config file>``
+ Specify the config file.
+
+ Specify the config file to use to create the package. By default
+ CPackConfig.cmake in the current directory will be used.
+
+``--verbose,-V``
+ enable verbose output
+
+ Run cpack with verbose output.
+
+``--debug``
+ enable debug output (for CPack developers)
+
+ Run cpack with debug output (for CPack developers).
+
+``-P <package name>``
+ override/define CPACK_PACKAGE_NAME
+
+ If the package name is not specified on cpack commmand line
+ thenCPack.cmake defines it as CMAKE_PROJECT_NAME
+
+``-R <package version>``
+ override/define CPACK_PACKAGE_VERSION
+
+ If version is not specified on cpack command line thenCPack.cmake
+ defines it from CPACK_PACKAGE_VERSION_[MAJOR|MINOR|PATCH]look into
+ CPack.cmake for detail
+
+``-B <package directory>``
+ override/define CPACK_PACKAGE_DIRECTORY
+
+ The directory where CPack will be doing its packaging work.The
+ resulting package will be found there. Inside this directoryCPack
+ creates '_CPack_Packages' sub-directory which is theCPack temporary
+ directory.
+
+``--vendor <vendor name>``
+ override/define CPACK_PACKAGE_VENDOR
+
+ If vendor is not specified on cpack command line (or inside
+ CMakeLists.txt) thenCPack.cmake defines it with a default value
+
+.. include:: OPTIONS_HELP.txt
+
+See Also
+========
+
+.. include:: LINKS.txt
diff --git a/Help/manual/ctest.1.rst b/Help/manual/ctest.1.rst
new file mode 100644
index 0000000..60d08dd
--- /dev/null
+++ b/Help/manual/ctest.1.rst
@@ -0,0 +1,371 @@
+.. cmake-manual-description: CTest Command-Line Reference
+
+ctest(1)
+********
+
+Synopsis
+========
+
+.. parsed-literal::
+
+ ctest [<options>]
+
+Description
+===========
+
+The "ctest" executable is the CMake test driver program.
+CMake-generated build trees created for projects that use the
+ENABLE_TESTING and ADD_TEST commands have testing support. This
+program will run the tests and report results.
+
+Options
+=======
+
+``-C <cfg>, --build-config <cfg>``
+ Choose configuration to test.
+
+ Some CMake-generated build trees can have multiple build
+ configurations in the same tree. This option can be used to specify
+ which one should be tested. Example configurations are "Debug" and
+ "Release".
+
+``-V,--verbose``
+ Enable verbose output from tests.
+
+ Test output is normally suppressed and only summary information is
+ displayed. This option will show all test output.
+
+``-VV,--extra-verbose``
+ Enable more verbose output from tests.
+
+ Test output is normally suppressed and only summary information is
+ displayed. This option will show even more test output.
+
+``--debug``
+ Displaying more verbose internals of CTest.
+
+ This feature will result in a large number of output that is mostly
+ useful for debugging dashboard problems.
+
+``--output-on-failure``
+ Output anything outputted by the test program if the test should fail. This option can also be enabled by setting the environment variable CTEST_OUTPUT_ON_FAILURE
+
+``-F``
+ Enable failover.
+
+ This option allows ctest to resume a test set execution that was
+ previously interrupted. If no interruption occurred, the -F option
+ will have no effect.
+
+``-j <jobs>, --parallel <jobs>``
+ Run the tests in parallel using thegiven number of jobs.
+
+ This option tells ctest to run the tests in parallel using given
+ number of jobs. This option can also be set by setting the
+ environment variable CTEST_PARALLEL_LEVEL.
+
+``-Q,--quiet``
+ Make ctest quiet.
+
+ This option will suppress all the output. The output log file will
+ still be generated if the --output-log is specified. Options such
+ as --verbose, --extra-verbose, and --debug are ignored if --quiet is
+ specified.
+
+``-O <file>, --output-log <file>``
+ Output to log file
+
+ This option tells ctest to write all its output to a log file.
+
+``-N,--show-only``
+ Disable actual execution of tests.
+
+ This option tells ctest to list the tests that would be run but not
+ actually run them. Useful in conjunction with the -R and -E
+ options.
+
+``-L <regex>, --label-regex <regex>``
+ Run tests with labels matching regular expression.
+
+ This option tells ctest to run only the tests whose labels match the
+ given regular expression.
+
+``-R <regex>, --tests-regex <regex>``
+ Run tests matching regular expression.
+
+ This option tells ctest to run only the tests whose names match the
+ given regular expression.
+
+``-E <regex>, --exclude-regex <regex>``
+ Exclude tests matching regular expression.
+
+ This option tells ctest to NOT run the tests whose names match the
+ given regular expression.
+
+``-LE <regex>, --label-exclude <regex>``
+ Exclude tests with labels matching regular expression.
+
+ This option tells ctest to NOT run the tests whose labels match the
+ given regular expression.
+
+``-D <dashboard>, --dashboard <dashboard>``
+ Execute dashboard test
+
+ This option tells ctest to act as a Dart client and perform a
+ dashboard test. All tests are <Mode><Test>, where Mode can be
+ Experimental, Nightly, and Continuous, and Test can be Start,
+ Update, Configure, Build, Test, Coverage, and Submit.
+
+``-D <var>:<type>=<value>``
+ Define a variable for script mode
+
+ Pass in variable values on the command line. Use in conjunction
+ with -S to pass variable values to a dashboard script. Parsing -D
+ arguments as variable values is only attempted if the value
+ following -D does not match any of the known dashboard types.
+
+``-M <model>, --test-model <model>``
+ Sets the model for a dashboard
+
+ This option tells ctest to act as a Dart client where the TestModel
+ can be Experimental, Nightly, and Continuous. Combining -M and -T
+ is similar to -D
+
+``-T <action>, --test-action <action>``
+ Sets the dashboard action to perform
+
+ This option tells ctest to act as a Dart client and perform some
+ action such as start, build, test etc. Combining -M and -T is
+ similar to -D
+
+``--track <track>``
+ Specify the track to submit dashboard to
+
+ Submit dashboard to specified track instead of default one. By
+ default, the dashboard is submitted to Nightly, Experimental, or
+ Continuous track, but by specifying this option, the track can be
+ arbitrary.
+
+``-S <script>, --script <script>``
+ Execute a dashboard for a configuration
+
+ This option tells ctest to load in a configuration script which sets
+ a number of parameters such as the binary and source directories.
+ Then ctest will do what is required to create and run a dashboard.
+ This option basically sets up a dashboard and then runs ctest -D
+ with the appropriate options.
+
+``-SP <script>, --script-new-process <script>``
+ Execute a dashboard for a configuration
+
+ This option does the same operations as -S but it will do them in a
+ separate process. This is primarily useful in cases where the
+ script may modify the environment and you do not want the modified
+ environment to impact other -S scripts.
+
+``-A <file>, --add-notes <file>``
+ Add a notes file with submission
+
+ This option tells ctest to include a notes file when submitting
+ dashboard.
+
+``-I [Start,End,Stride,test#,test#|Test file], --tests-information``
+ Run a specific number of tests by number.
+
+ This option causes ctest to run tests starting at number Start,
+ ending at number End, and incrementing by Stride. Any additional
+ numbers after Stride are considered individual test numbers. Start,
+ End,or stride can be empty. Optionally a file can be given that
+ contains the same syntax as the command line.
+
+``-U, --union``
+ Take the Union of -I and -R
+
+ When both -R and -I are specified by default the intersection of
+ tests are run. By specifying -U the union of tests is run instead.
+
+``--rerun-failed``
+ Run only the tests that failed previously
+
+ This option tells ctest to perform only the tests that failed during
+ its previous run. When this option is specified, ctest ignores all
+ other options intended to modify the list of tests to run (-L, -R,
+ -E, -LE, -I, etc). In the event that CTest runs and no tests fail,
+ subsequent calls to ctest with the --rerun-failed option will run
+ the set of tests that most recently failed (if any).
+
+``--max-width <width>``
+ Set the max width for a test name to output
+
+ Set the maximum width for each test name to show in the output.
+ This allows the user to widen the output to avoid clipping the test
+ name which can be very annoying.
+
+``--interactive-debug-mode [0|1]``
+ Set the interactive mode to 0 or 1.
+
+ This option causes ctest to run tests in either an interactive mode
+ or a non-interactive mode. On Windows this means that in
+ non-interactive mode, all system debug pop up windows are blocked.
+ In dashboard mode (Experimental, Nightly, Continuous), the default
+ is non-interactive. When just running tests not for a dashboard the
+ default is to allow popups and interactive debugging.
+
+``--no-label-summary``
+ Disable timing summary information for labels.
+
+ This option tells ctest not to print summary information for each
+ label associated with the tests run. If there are no labels on the
+ tests, nothing extra is printed.
+
+``--build-and-test``
+ Configure, build and run a test.
+
+ This option tells ctest to configure (i.e. run cmake on), build,
+ and or execute a test. The configure and test steps are optional.
+ The arguments to this command line are the source and binary
+ directories. By default this will run CMake on the Source/Bin
+ directories specified unless --build-nocmake is specified.
+ The --build-generator option *must* be provided to use
+ --build-and-test. If --test-command is specified then that will be
+ run after the build is complete. Other options that affect this
+ mode are --build-target --build-nocmake, --build-run-dir,
+ --build-two-config, --build-exe-dir,
+ --build-project,--build-noclean, --build-options
+
+``--build-target``
+ Specify a specific target to build.
+
+ This option goes with the --build-and-test option, if left out the
+ all target is built.
+
+``--build-nocmake``
+ Run the build without running cmake first.
+
+ Skip the cmake step.
+
+``--build-run-dir``
+ Specify directory to run programs from.
+
+ Directory where programs will be after it has been compiled.
+
+``--build-two-config``
+ Run CMake twice
+
+``--build-exe-dir``
+ Specify the directory for the executable.
+
+``--build-generator``
+ Specify the generator to use.
+
+``--build-generator-toolset``
+ Specify the generator-specific toolset.
+
+``--build-project``
+ Specify the name of the project to build.
+
+``--build-makeprogram``
+ Override the make program chosen by CTest with a given one.
+
+``--build-noclean``
+ Skip the make clean step.
+
+``--build-config-sample``
+ A sample executable to use to determine the configuration
+
+ A sample executable to use to determine the configuration that
+ should be used. e.g. Debug/Release/etc
+
+``--build-options``
+ Add extra options to the build step.
+
+ This option must be the last option with the exception of
+ --test-command
+
+``--test-command``
+ The test to run with the --build-and-test option.
+
+``--test-timeout``
+ The time limit in seconds, internal use only.
+
+``--tomorrow-tag``
+ Nightly or experimental starts with next day tag.
+
+ This is useful if the build will not finish in one day.
+
+``--ctest-config``
+ The configuration file used to initialize CTest state when submitting dashboards.
+
+ This option tells CTest to use different initialization file instead
+ of CTestConfiguration.tcl. This way multiple initialization files
+ can be used for example to submit to multiple dashboards.
+
+``--overwrite``
+ Overwrite CTest configuration option.
+
+ By default ctest uses configuration options from configuration file.
+ This option will overwrite the configuration option.
+
+``--extra-submit <file>[;<file>]``
+ Submit extra files to the dashboard.
+
+ This option will submit extra files to the dashboard.
+
+``--force-new-ctest-process``
+ Run child CTest instances as new processes
+
+ By default CTest will run child CTest instances within the same
+ process. If this behavior is not desired, this argument will
+ enforce new processes for child CTest processes.
+
+``--schedule-random``
+ Use a random order for scheduling tests
+
+ This option will run the tests in a random order. It is commonly
+ used to detect implicit dependencies in a test suite.
+
+``--submit-index``
+ Submit individual dashboard tests with specific index
+
+ This option allows performing the same CTest action (such as test)
+ multiple times and submit all stages to the same dashboard (Dart2
+ required). Each execution requires different index.
+
+``--timeout <seconds>``
+ Set a global timeout on all tests.
+
+ This option will set a global timeout on all tests that do not
+ already have a timeout set on them.
+
+``--stop-time <time>``
+ Set a time at which all tests should stop running.
+
+ Set a real time of day at which all tests should timeout. Example:
+ 7:00:00 -0400. Any time format understood by the curl date parser
+ is accepted. Local time is assumed if no timezone is specified.
+
+``--http1.0``
+ Submit using HTTP 1.0.
+
+ This option will force CTest to use HTTP 1.0 to submit files to the
+ dashboard, instead of HTTP 1.1.
+
+``--no-compress-output``
+ Do not compress test output when submitting.
+
+ This flag will turn off automatic compression of test output. Use
+ this to maintain compatibility with an older version of CDash which
+ doesn't support compressed test output.
+
+``--print-labels``
+ Print all available test labels.
+
+ This option will not run any tests, it will simply print the list of
+ all labels associated with the test set.
+
+.. include:: OPTIONS_HELP.txt
+
+See Also
+========
+
+.. include:: LINKS.txt
diff --git a/Help/module/AddFileDependencies.rst b/Help/module/AddFileDependencies.rst
new file mode 100644
index 0000000..3cbce33
--- /dev/null
+++ b/Help/module/AddFileDependencies.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/AddFileDependencies.cmake
diff --git a/Help/module/BundleUtilities.rst b/Help/module/BundleUtilities.rst
new file mode 100644
index 0000000..5d9c840
--- /dev/null
+++ b/Help/module/BundleUtilities.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/BundleUtilities.cmake
diff --git a/Help/module/CMakeAddFortranSubdirectory.rst b/Help/module/CMakeAddFortranSubdirectory.rst
new file mode 100644
index 0000000..9abf571
--- /dev/null
+++ b/Help/module/CMakeAddFortranSubdirectory.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CMakeAddFortranSubdirectory.cmake
diff --git a/Help/module/CMakeBackwardCompatibilityCXX.rst b/Help/module/CMakeBackwardCompatibilityCXX.rst
new file mode 100644
index 0000000..05e5f4a
--- /dev/null
+++ b/Help/module/CMakeBackwardCompatibilityCXX.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CMakeBackwardCompatibilityCXX.cmake
diff --git a/Help/module/CMakeDependentOption.rst b/Help/module/CMakeDependentOption.rst
new file mode 100644
index 0000000..fd071b5
--- /dev/null
+++ b/Help/module/CMakeDependentOption.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CMakeDependentOption.cmake
diff --git a/Help/module/CMakeDetermineVSServicePack.rst b/Help/module/CMakeDetermineVSServicePack.rst
new file mode 100644
index 0000000..1768533
--- /dev/null
+++ b/Help/module/CMakeDetermineVSServicePack.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CMakeDetermineVSServicePack.cmake
diff --git a/Help/module/CMakeExpandImportedTargets.rst b/Help/module/CMakeExpandImportedTargets.rst
new file mode 100644
index 0000000..1084280
--- /dev/null
+++ b/Help/module/CMakeExpandImportedTargets.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CMakeExpandImportedTargets.cmake
diff --git a/Help/module/CMakeFindDependencyMacro.rst b/Help/module/CMakeFindDependencyMacro.rst
new file mode 100644
index 0000000..5b5b550
--- /dev/null
+++ b/Help/module/CMakeFindDependencyMacro.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CMakeFindDependencyMacro.cmake
diff --git a/Help/module/CMakeFindFrameworks.rst b/Help/module/CMakeFindFrameworks.rst
new file mode 100644
index 0000000..c2c219b
--- /dev/null
+++ b/Help/module/CMakeFindFrameworks.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CMakeFindFrameworks.cmake
diff --git a/Help/module/CMakeFindPackageMode.rst b/Help/module/CMakeFindPackageMode.rst
new file mode 100644
index 0000000..d099d19
--- /dev/null
+++ b/Help/module/CMakeFindPackageMode.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CMakeFindPackageMode.cmake
diff --git a/Help/module/CMakeForceCompiler.rst b/Help/module/CMakeForceCompiler.rst
new file mode 100644
index 0000000..3277426
--- /dev/null
+++ b/Help/module/CMakeForceCompiler.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CMakeForceCompiler.cmake
diff --git a/Help/module/CMakeGraphVizOptions.rst b/Help/module/CMakeGraphVizOptions.rst
new file mode 100644
index 0000000..2cd97b3
--- /dev/null
+++ b/Help/module/CMakeGraphVizOptions.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CMakeGraphVizOptions.cmake
diff --git a/Help/module/CMakePackageConfigHelpers.rst b/Help/module/CMakePackageConfigHelpers.rst
new file mode 100644
index 0000000..a291aff
--- /dev/null
+++ b/Help/module/CMakePackageConfigHelpers.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CMakePackageConfigHelpers.cmake
diff --git a/Help/module/CMakeParseArguments.rst b/Help/module/CMakeParseArguments.rst
new file mode 100644
index 0000000..810a9dd
--- /dev/null
+++ b/Help/module/CMakeParseArguments.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CMakeParseArguments.cmake
diff --git a/Help/module/CMakePrintHelpers.rst b/Help/module/CMakePrintHelpers.rst
new file mode 100644
index 0000000..a75a34f
--- /dev/null
+++ b/Help/module/CMakePrintHelpers.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CMakePrintHelpers.cmake
diff --git a/Help/module/CMakePrintSystemInformation.rst b/Help/module/CMakePrintSystemInformation.rst
new file mode 100644
index 0000000..0b5d848
--- /dev/null
+++ b/Help/module/CMakePrintSystemInformation.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CMakePrintSystemInformation.cmake
diff --git a/Help/module/CMakePushCheckState.rst b/Help/module/CMakePushCheckState.rst
new file mode 100644
index 0000000..e897929
--- /dev/null
+++ b/Help/module/CMakePushCheckState.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CMakePushCheckState.cmake
diff --git a/Help/module/CMakeVerifyManifest.rst b/Help/module/CMakeVerifyManifest.rst
new file mode 100644
index 0000000..eeff1bf
--- /dev/null
+++ b/Help/module/CMakeVerifyManifest.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CMakeVerifyManifest.cmake
diff --git a/Help/module/CPack.rst b/Help/module/CPack.rst
new file mode 100644
index 0000000..bfbda1f
--- /dev/null
+++ b/Help/module/CPack.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CPack.cmake
diff --git a/Help/module/CPackBundle.rst b/Help/module/CPackBundle.rst
new file mode 100644
index 0000000..651e874
--- /dev/null
+++ b/Help/module/CPackBundle.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CPackBundle.cmake
diff --git a/Help/module/CPackComponent.rst b/Help/module/CPackComponent.rst
new file mode 100644
index 0000000..df82836
--- /dev/null
+++ b/Help/module/CPackComponent.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CPackComponent.cmake
diff --git a/Help/module/CPackCygwin.rst b/Help/module/CPackCygwin.rst
new file mode 100644
index 0000000..21f4473
--- /dev/null
+++ b/Help/module/CPackCygwin.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CPackCygwin.cmake
diff --git a/Help/module/CPackDMG.rst b/Help/module/CPackDMG.rst
new file mode 100644
index 0000000..784262c
--- /dev/null
+++ b/Help/module/CPackDMG.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CPackDMG.cmake
diff --git a/Help/module/CPackDeb.rst b/Help/module/CPackDeb.rst
new file mode 100644
index 0000000..d1526ee
--- /dev/null
+++ b/Help/module/CPackDeb.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CPackDeb.cmake
diff --git a/Help/module/CPackNSIS.rst b/Help/module/CPackNSIS.rst
new file mode 100644
index 0000000..bb35ed6
--- /dev/null
+++ b/Help/module/CPackNSIS.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CPackNSIS.cmake
diff --git a/Help/module/CPackPackageMaker.rst b/Help/module/CPackPackageMaker.rst
new file mode 100644
index 0000000..de55448
--- /dev/null
+++ b/Help/module/CPackPackageMaker.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CPackPackageMaker.cmake
diff --git a/Help/module/CPackRPM.rst b/Help/module/CPackRPM.rst
new file mode 100644
index 0000000..28d0e69
--- /dev/null
+++ b/Help/module/CPackRPM.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CPackRPM.cmake
diff --git a/Help/module/CPackWIX.rst b/Help/module/CPackWIX.rst
new file mode 100644
index 0000000..1f5e451
--- /dev/null
+++ b/Help/module/CPackWIX.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CPackWIX.cmake
diff --git a/Help/module/CTest.rst b/Help/module/CTest.rst
new file mode 100644
index 0000000..11a6af7
--- /dev/null
+++ b/Help/module/CTest.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CTest.cmake
diff --git a/Help/module/CTestScriptMode.rst b/Help/module/CTestScriptMode.rst
new file mode 100644
index 0000000..be1b044
--- /dev/null
+++ b/Help/module/CTestScriptMode.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CTestScriptMode.cmake
diff --git a/Help/module/CTestUseLaunchers.rst b/Help/module/CTestUseLaunchers.rst
new file mode 100644
index 0000000..688da08
--- /dev/null
+++ b/Help/module/CTestUseLaunchers.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CTestUseLaunchers.cmake
diff --git a/Help/module/CheckCCompilerFlag.rst b/Help/module/CheckCCompilerFlag.rst
new file mode 100644
index 0000000..1be1491
--- /dev/null
+++ b/Help/module/CheckCCompilerFlag.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CheckCCompilerFlag.cmake
diff --git a/Help/module/CheckCSourceCompiles.rst b/Help/module/CheckCSourceCompiles.rst
new file mode 100644
index 0000000..1fa02f9
--- /dev/null
+++ b/Help/module/CheckCSourceCompiles.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CheckCSourceCompiles.cmake
diff --git a/Help/module/CheckCSourceRuns.rst b/Help/module/CheckCSourceRuns.rst
new file mode 100644
index 0000000..16b47e6
--- /dev/null
+++ b/Help/module/CheckCSourceRuns.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CheckCSourceRuns.cmake
diff --git a/Help/module/CheckCXXCompilerFlag.rst b/Help/module/CheckCXXCompilerFlag.rst
new file mode 100644
index 0000000..cfd1f45
--- /dev/null
+++ b/Help/module/CheckCXXCompilerFlag.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CheckCXXCompilerFlag.cmake
diff --git a/Help/module/CheckCXXSourceCompiles.rst b/Help/module/CheckCXXSourceCompiles.rst
new file mode 100644
index 0000000..d701c4e
--- /dev/null
+++ b/Help/module/CheckCXXSourceCompiles.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CheckCXXSourceCompiles.cmake
diff --git a/Help/module/CheckCXXSourceRuns.rst b/Help/module/CheckCXXSourceRuns.rst
new file mode 100644
index 0000000..caab975
--- /dev/null
+++ b/Help/module/CheckCXXSourceRuns.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CheckCXXSourceRuns.cmake
diff --git a/Help/module/CheckCXXSymbolExists.rst b/Help/module/CheckCXXSymbolExists.rst
new file mode 100644
index 0000000..fc192e8
--- /dev/null
+++ b/Help/module/CheckCXXSymbolExists.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CheckCXXSymbolExists.cmake
diff --git a/Help/module/CheckFortranFunctionExists.rst b/Help/module/CheckFortranFunctionExists.rst
new file mode 100644
index 0000000..3395d05
--- /dev/null
+++ b/Help/module/CheckFortranFunctionExists.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CheckFortranFunctionExists.cmake
diff --git a/Help/module/CheckFunctionExists.rst b/Help/module/CheckFunctionExists.rst
new file mode 100644
index 0000000..ed89dc4
--- /dev/null
+++ b/Help/module/CheckFunctionExists.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CheckFunctionExists.cmake
diff --git a/Help/module/CheckIncludeFile.rst b/Help/module/CheckIncludeFile.rst
new file mode 100644
index 0000000..6b83108
--- /dev/null
+++ b/Help/module/CheckIncludeFile.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CheckIncludeFile.cmake
diff --git a/Help/module/CheckIncludeFileCXX.rst b/Help/module/CheckIncludeFileCXX.rst
new file mode 100644
index 0000000..fdbf39f
--- /dev/null
+++ b/Help/module/CheckIncludeFileCXX.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CheckIncludeFileCXX.cmake
diff --git a/Help/module/CheckIncludeFiles.rst b/Help/module/CheckIncludeFiles.rst
new file mode 100644
index 0000000..b56f145
--- /dev/null
+++ b/Help/module/CheckIncludeFiles.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CheckIncludeFiles.cmake
diff --git a/Help/module/CheckLanguage.rst b/Help/module/CheckLanguage.rst
new file mode 100644
index 0000000..16f1a3f
--- /dev/null
+++ b/Help/module/CheckLanguage.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CheckLanguage.cmake
diff --git a/Help/module/CheckLibraryExists.rst b/Help/module/CheckLibraryExists.rst
new file mode 100644
index 0000000..7512f46
--- /dev/null
+++ b/Help/module/CheckLibraryExists.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CheckLibraryExists.cmake
diff --git a/Help/module/CheckPrototypeDefinition.rst b/Help/module/CheckPrototypeDefinition.rst
new file mode 100644
index 0000000..073fcb5
--- /dev/null
+++ b/Help/module/CheckPrototypeDefinition.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CheckPrototypeDefinition.cmake
diff --git a/Help/module/CheckStructHasMember.rst b/Help/module/CheckStructHasMember.rst
new file mode 100644
index 0000000..5277ad2
--- /dev/null
+++ b/Help/module/CheckStructHasMember.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CheckStructHasMember.cmake
diff --git a/Help/module/CheckSymbolExists.rst b/Help/module/CheckSymbolExists.rst
new file mode 100644
index 0000000..68ae700
--- /dev/null
+++ b/Help/module/CheckSymbolExists.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CheckSymbolExists.cmake
diff --git a/Help/module/CheckTypeSize.rst b/Help/module/CheckTypeSize.rst
new file mode 100644
index 0000000..6ad0345
--- /dev/null
+++ b/Help/module/CheckTypeSize.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CheckTypeSize.cmake
diff --git a/Help/module/CheckVariableExists.rst b/Help/module/CheckVariableExists.rst
new file mode 100644
index 0000000..07f0777
--- /dev/null
+++ b/Help/module/CheckVariableExists.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CheckVariableExists.cmake
diff --git a/Help/module/Dart.rst b/Help/module/Dart.rst
new file mode 100644
index 0000000..524ac33
--- /dev/null
+++ b/Help/module/Dart.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/Dart.cmake
diff --git a/Help/module/DeployQt4.rst b/Help/module/DeployQt4.rst
new file mode 100644
index 0000000..3c0ef44
--- /dev/null
+++ b/Help/module/DeployQt4.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/DeployQt4.cmake
diff --git a/Help/module/Documentation.rst b/Help/module/Documentation.rst
new file mode 100644
index 0000000..08e2ffb
--- /dev/null
+++ b/Help/module/Documentation.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/Documentation.cmake
diff --git a/Help/module/ExternalData.rst b/Help/module/ExternalData.rst
new file mode 100644
index 0000000..f0f8f1d
--- /dev/null
+++ b/Help/module/ExternalData.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/ExternalData.cmake
diff --git a/Help/module/ExternalProject.rst b/Help/module/ExternalProject.rst
new file mode 100644
index 0000000..fce7056
--- /dev/null
+++ b/Help/module/ExternalProject.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/ExternalProject.cmake
diff --git a/Help/module/FeatureSummary.rst b/Help/module/FeatureSummary.rst
new file mode 100644
index 0000000..6fd8f38
--- /dev/null
+++ b/Help/module/FeatureSummary.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FeatureSummary.cmake
diff --git a/Help/module/FindALSA.rst b/Help/module/FindALSA.rst
new file mode 100644
index 0000000..2a73786
--- /dev/null
+++ b/Help/module/FindALSA.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindALSA.cmake
diff --git a/Help/module/FindASPELL.rst b/Help/module/FindASPELL.rst
new file mode 100644
index 0000000..56dedc4
--- /dev/null
+++ b/Help/module/FindASPELL.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindASPELL.cmake
diff --git a/Help/module/FindAVIFile.rst b/Help/module/FindAVIFile.rst
new file mode 100644
index 0000000..71282a6
--- /dev/null
+++ b/Help/module/FindAVIFile.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindAVIFile.cmake
diff --git a/Help/module/FindArmadillo.rst b/Help/module/FindArmadillo.rst
new file mode 100644
index 0000000..f0ac933
--- /dev/null
+++ b/Help/module/FindArmadillo.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindArmadillo.cmake
diff --git a/Help/module/FindBISON.rst b/Help/module/FindBISON.rst
new file mode 100644
index 0000000..c6e5791
--- /dev/null
+++ b/Help/module/FindBISON.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindBISON.cmake
diff --git a/Help/module/FindBLAS.rst b/Help/module/FindBLAS.rst
new file mode 100644
index 0000000..41f6771
--- /dev/null
+++ b/Help/module/FindBLAS.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindBLAS.cmake
diff --git a/Help/module/FindBZip2.rst b/Help/module/FindBZip2.rst
new file mode 100644
index 0000000..281b1d1
--- /dev/null
+++ b/Help/module/FindBZip2.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindBZip2.cmake
diff --git a/Help/module/FindBacktrace.rst b/Help/module/FindBacktrace.rst
new file mode 100644
index 0000000..e1ca48c
--- /dev/null
+++ b/Help/module/FindBacktrace.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindBacktrace.cmake
diff --git a/Help/module/FindBoost.rst b/Help/module/FindBoost.rst
new file mode 100644
index 0000000..1392540
--- /dev/null
+++ b/Help/module/FindBoost.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindBoost.cmake
diff --git a/Help/module/FindBullet.rst b/Help/module/FindBullet.rst
new file mode 100644
index 0000000..4ed2b85
--- /dev/null
+++ b/Help/module/FindBullet.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindBullet.cmake
diff --git a/Help/module/FindCABLE.rst b/Help/module/FindCABLE.rst
new file mode 100644
index 0000000..716d5ab
--- /dev/null
+++ b/Help/module/FindCABLE.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindCABLE.cmake
diff --git a/Help/module/FindCUDA.rst b/Help/module/FindCUDA.rst
new file mode 100644
index 0000000..46ffa9f
--- /dev/null
+++ b/Help/module/FindCUDA.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindCUDA.cmake
diff --git a/Help/module/FindCURL.rst b/Help/module/FindCURL.rst
new file mode 100644
index 0000000..e2acc49
--- /dev/null
+++ b/Help/module/FindCURL.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindCURL.cmake
diff --git a/Help/module/FindCVS.rst b/Help/module/FindCVS.rst
new file mode 100644
index 0000000..c891c07
--- /dev/null
+++ b/Help/module/FindCVS.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindCVS.cmake
diff --git a/Help/module/FindCoin3D.rst b/Help/module/FindCoin3D.rst
new file mode 100644
index 0000000..fc70a74
--- /dev/null
+++ b/Help/module/FindCoin3D.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindCoin3D.cmake
diff --git a/Help/module/FindCups.rst b/Help/module/FindCups.rst
new file mode 100644
index 0000000..10d0646
--- /dev/null
+++ b/Help/module/FindCups.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindCups.cmake
diff --git a/Help/module/FindCurses.rst b/Help/module/FindCurses.rst
new file mode 100644
index 0000000..73dd011
--- /dev/null
+++ b/Help/module/FindCurses.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindCurses.cmake
diff --git a/Help/module/FindCxxTest.rst b/Help/module/FindCxxTest.rst
new file mode 100644
index 0000000..4f17c39
--- /dev/null
+++ b/Help/module/FindCxxTest.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindCxxTest.cmake
diff --git a/Help/module/FindCygwin.rst b/Help/module/FindCygwin.rst
new file mode 100644
index 0000000..2e529dd
--- /dev/null
+++ b/Help/module/FindCygwin.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindCygwin.cmake
diff --git a/Help/module/FindDCMTK.rst b/Help/module/FindDCMTK.rst
new file mode 100644
index 0000000..8437d55
--- /dev/null
+++ b/Help/module/FindDCMTK.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindDCMTK.cmake
diff --git a/Help/module/FindDart.rst b/Help/module/FindDart.rst
new file mode 100644
index 0000000..6f21ad4
--- /dev/null
+++ b/Help/module/FindDart.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindDart.cmake
diff --git a/Help/module/FindDevIL.rst b/Help/module/FindDevIL.rst
new file mode 100644
index 0000000..91a28dd
--- /dev/null
+++ b/Help/module/FindDevIL.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindDevIL.cmake
diff --git a/Help/module/FindDoxygen.rst b/Help/module/FindDoxygen.rst
new file mode 100644
index 0000000..cffe734
--- /dev/null
+++ b/Help/module/FindDoxygen.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindDoxygen.cmake
diff --git a/Help/module/FindEXPAT.rst b/Help/module/FindEXPAT.rst
new file mode 100644
index 0000000..5063680
--- /dev/null
+++ b/Help/module/FindEXPAT.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindEXPAT.cmake
diff --git a/Help/module/FindFLEX.rst b/Help/module/FindFLEX.rst
new file mode 100644
index 0000000..cc90791
--- /dev/null
+++ b/Help/module/FindFLEX.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindFLEX.cmake
diff --git a/Help/module/FindFLTK.rst b/Help/module/FindFLTK.rst
new file mode 100644
index 0000000..cc1964c
--- /dev/null
+++ b/Help/module/FindFLTK.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindFLTK.cmake
diff --git a/Help/module/FindFLTK2.rst b/Help/module/FindFLTK2.rst
new file mode 100644
index 0000000..5c2acc4
--- /dev/null
+++ b/Help/module/FindFLTK2.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindFLTK2.cmake
diff --git a/Help/module/FindFreetype.rst b/Help/module/FindFreetype.rst
new file mode 100644
index 0000000..424c3fc
--- /dev/null
+++ b/Help/module/FindFreetype.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindFreetype.cmake
diff --git a/Help/module/FindGCCXML.rst b/Help/module/FindGCCXML.rst
new file mode 100644
index 0000000..15fd4d0
--- /dev/null
+++ b/Help/module/FindGCCXML.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindGCCXML.cmake
diff --git a/Help/module/FindGDAL.rst b/Help/module/FindGDAL.rst
new file mode 100644
index 0000000..81fcb3a
--- /dev/null
+++ b/Help/module/FindGDAL.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindGDAL.cmake
diff --git a/Help/module/FindGIF.rst b/Help/module/FindGIF.rst
new file mode 100644
index 0000000..03d3a75
--- /dev/null
+++ b/Help/module/FindGIF.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindGIF.cmake
diff --git a/Help/module/FindGLEW.rst b/Help/module/FindGLEW.rst
new file mode 100644
index 0000000..77755da
--- /dev/null
+++ b/Help/module/FindGLEW.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindGLEW.cmake
diff --git a/Help/module/FindGLUT.rst b/Help/module/FindGLUT.rst
new file mode 100644
index 0000000..40263ee
--- /dev/null
+++ b/Help/module/FindGLUT.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindGLUT.cmake
diff --git a/Help/module/FindGTK.rst b/Help/module/FindGTK.rst
new file mode 100644
index 0000000..1ce6a86
--- /dev/null
+++ b/Help/module/FindGTK.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindGTK.cmake
diff --git a/Help/module/FindGTK2.rst b/Help/module/FindGTK2.rst
new file mode 100644
index 0000000..67c1ba9
--- /dev/null
+++ b/Help/module/FindGTK2.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindGTK2.cmake
diff --git a/Help/module/FindGTest.rst b/Help/module/FindGTest.rst
new file mode 100644
index 0000000..0e3b4d7
--- /dev/null
+++ b/Help/module/FindGTest.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindGTest.cmake
diff --git a/Help/module/FindGettext.rst b/Help/module/FindGettext.rst
new file mode 100644
index 0000000..e880dc0
--- /dev/null
+++ b/Help/module/FindGettext.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindGettext.cmake
diff --git a/Help/module/FindGit.rst b/Help/module/FindGit.rst
new file mode 100644
index 0000000..dd540ef
--- /dev/null
+++ b/Help/module/FindGit.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindGit.cmake
diff --git a/Help/module/FindGnuTLS.rst b/Help/module/FindGnuTLS.rst
new file mode 100644
index 0000000..de0c1d4
--- /dev/null
+++ b/Help/module/FindGnuTLS.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindGnuTLS.cmake
diff --git a/Help/module/FindGnuplot.rst b/Help/module/FindGnuplot.rst
new file mode 100644
index 0000000..93a18b6
--- /dev/null
+++ b/Help/module/FindGnuplot.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindGnuplot.cmake
diff --git a/Help/module/FindHDF5.rst b/Help/module/FindHDF5.rst
new file mode 100644
index 0000000..8ac1b8b
--- /dev/null
+++ b/Help/module/FindHDF5.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindHDF5.cmake
diff --git a/Help/module/FindHSPELL.rst b/Help/module/FindHSPELL.rst
new file mode 100644
index 0000000..c1905a2
--- /dev/null
+++ b/Help/module/FindHSPELL.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindHSPELL.cmake
diff --git a/Help/module/FindHTMLHelp.rst b/Help/module/FindHTMLHelp.rst
new file mode 100644
index 0000000..47d9c8c
--- /dev/null
+++ b/Help/module/FindHTMLHelp.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindHTMLHelp.cmake
diff --git a/Help/module/FindHg.rst b/Help/module/FindHg.rst
new file mode 100644
index 0000000..94aba6f
--- /dev/null
+++ b/Help/module/FindHg.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindHg.cmake
diff --git a/Help/module/FindITK.rst b/Help/module/FindITK.rst
new file mode 100644
index 0000000..dbfabbd
--- /dev/null
+++ b/Help/module/FindITK.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindITK.cmake
diff --git a/Help/module/FindIcotool.rst b/Help/module/FindIcotool.rst
new file mode 100644
index 0000000..c139f58
--- /dev/null
+++ b/Help/module/FindIcotool.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindIcotool.cmake
diff --git a/Help/module/FindImageMagick.rst b/Help/module/FindImageMagick.rst
new file mode 100644
index 0000000..3a3596e
--- /dev/null
+++ b/Help/module/FindImageMagick.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindImageMagick.cmake
diff --git a/Help/module/FindJNI.rst b/Help/module/FindJNI.rst
new file mode 100644
index 0000000..b753cf8
--- /dev/null
+++ b/Help/module/FindJNI.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindJNI.cmake
diff --git a/Help/module/FindJPEG.rst b/Help/module/FindJPEG.rst
new file mode 100644
index 0000000..8036352
--- /dev/null
+++ b/Help/module/FindJPEG.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindJPEG.cmake
diff --git a/Help/module/FindJasper.rst b/Help/module/FindJasper.rst
new file mode 100644
index 0000000..725a87f
--- /dev/null
+++ b/Help/module/FindJasper.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindJasper.cmake
diff --git a/Help/module/FindJava.rst b/Help/module/FindJava.rst
new file mode 100644
index 0000000..39e6b6b
--- /dev/null
+++ b/Help/module/FindJava.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindJava.cmake
diff --git a/Help/module/FindKDE3.rst b/Help/module/FindKDE3.rst
new file mode 100644
index 0000000..13ac15c
--- /dev/null
+++ b/Help/module/FindKDE3.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindKDE3.cmake
diff --git a/Help/module/FindKDE4.rst b/Help/module/FindKDE4.rst
new file mode 100644
index 0000000..8b22f7f
--- /dev/null
+++ b/Help/module/FindKDE4.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindKDE4.cmake
diff --git a/Help/module/FindLAPACK.rst b/Help/module/FindLAPACK.rst
new file mode 100644
index 0000000..6e99090
--- /dev/null
+++ b/Help/module/FindLAPACK.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindLAPACK.cmake
diff --git a/Help/module/FindLATEX.rst b/Help/module/FindLATEX.rst
new file mode 100644
index 0000000..4b14c71
--- /dev/null
+++ b/Help/module/FindLATEX.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindLATEX.cmake
diff --git a/Help/module/FindLibArchive.rst b/Help/module/FindLibArchive.rst
new file mode 100644
index 0000000..c46b1d0
--- /dev/null
+++ b/Help/module/FindLibArchive.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindLibArchive.cmake
diff --git a/Help/module/FindLibLZMA.rst b/Help/module/FindLibLZMA.rst
new file mode 100644
index 0000000..8880158
--- /dev/null
+++ b/Help/module/FindLibLZMA.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindLibLZMA.cmake
diff --git a/Help/module/FindLibXml2.rst b/Help/module/FindLibXml2.rst
new file mode 100644
index 0000000..bbb3225
--- /dev/null
+++ b/Help/module/FindLibXml2.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindLibXml2.cmake
diff --git a/Help/module/FindLibXslt.rst b/Help/module/FindLibXslt.rst
new file mode 100644
index 0000000..4107170
--- /dev/null
+++ b/Help/module/FindLibXslt.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindLibXslt.cmake
diff --git a/Help/module/FindLua.rst b/Help/module/FindLua.rst
new file mode 100644
index 0000000..977e5bf
--- /dev/null
+++ b/Help/module/FindLua.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindLua.cmake
diff --git a/Help/module/FindLua50.rst b/Help/module/FindLua50.rst
new file mode 100644
index 0000000..0353fc3
--- /dev/null
+++ b/Help/module/FindLua50.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindLua50.cmake
diff --git a/Help/module/FindLua51.rst b/Help/module/FindLua51.rst
new file mode 100644
index 0000000..672ff35
--- /dev/null
+++ b/Help/module/FindLua51.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindLua51.cmake
diff --git a/Help/module/FindMFC.rst b/Help/module/FindMFC.rst
new file mode 100644
index 0000000..a3226a6
--- /dev/null
+++ b/Help/module/FindMFC.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindMFC.cmake
diff --git a/Help/module/FindMPEG.rst b/Help/module/FindMPEG.rst
new file mode 100644
index 0000000..c9ce481
--- /dev/null
+++ b/Help/module/FindMPEG.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindMPEG.cmake
diff --git a/Help/module/FindMPEG2.rst b/Help/module/FindMPEG2.rst
new file mode 100644
index 0000000..f843c89
--- /dev/null
+++ b/Help/module/FindMPEG2.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindMPEG2.cmake
diff --git a/Help/module/FindMPI.rst b/Help/module/FindMPI.rst
new file mode 100644
index 0000000..fad10c7
--- /dev/null
+++ b/Help/module/FindMPI.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindMPI.cmake
diff --git a/Help/module/FindMatlab.rst b/Help/module/FindMatlab.rst
new file mode 100644
index 0000000..43f861a
--- /dev/null
+++ b/Help/module/FindMatlab.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindMatlab.cmake
diff --git a/Help/module/FindMotif.rst b/Help/module/FindMotif.rst
new file mode 100644
index 0000000..e602a50
--- /dev/null
+++ b/Help/module/FindMotif.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindMotif.cmake
diff --git a/Help/module/FindOpenAL.rst b/Help/module/FindOpenAL.rst
new file mode 100644
index 0000000..f086556
--- /dev/null
+++ b/Help/module/FindOpenAL.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindOpenAL.cmake
diff --git a/Help/module/FindOpenGL.rst b/Help/module/FindOpenGL.rst
new file mode 100644
index 0000000..85e89bc
--- /dev/null
+++ b/Help/module/FindOpenGL.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindOpenGL.cmake
diff --git a/Help/module/FindOpenMP.rst b/Help/module/FindOpenMP.rst
new file mode 100644
index 0000000..01362ab
--- /dev/null
+++ b/Help/module/FindOpenMP.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindOpenMP.cmake
diff --git a/Help/module/FindOpenSSL.rst b/Help/module/FindOpenSSL.rst
new file mode 100644
index 0000000..f622bb1
--- /dev/null
+++ b/Help/module/FindOpenSSL.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindOpenSSL.cmake
diff --git a/Help/module/FindOpenSceneGraph.rst b/Help/module/FindOpenSceneGraph.rst
new file mode 100644
index 0000000..4346492
--- /dev/null
+++ b/Help/module/FindOpenSceneGraph.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindOpenSceneGraph.cmake
diff --git a/Help/module/FindOpenThreads.rst b/Help/module/FindOpenThreads.rst
new file mode 100644
index 0000000..bb3f0f9
--- /dev/null
+++ b/Help/module/FindOpenThreads.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindOpenThreads.cmake
diff --git a/Help/module/FindPHP4.rst b/Help/module/FindPHP4.rst
new file mode 100644
index 0000000..1de62e8
--- /dev/null
+++ b/Help/module/FindPHP4.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindPHP4.cmake
diff --git a/Help/module/FindPNG.rst b/Help/module/FindPNG.rst
new file mode 100644
index 0000000..e6d1618
--- /dev/null
+++ b/Help/module/FindPNG.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindPNG.cmake
diff --git a/Help/module/FindPackageHandleStandardArgs.rst b/Help/module/FindPackageHandleStandardArgs.rst
new file mode 100644
index 0000000..feda7ef
--- /dev/null
+++ b/Help/module/FindPackageHandleStandardArgs.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindPackageHandleStandardArgs.cmake
diff --git a/Help/module/FindPackageMessage.rst b/Help/module/FindPackageMessage.rst
new file mode 100644
index 0000000..b682d8c
--- /dev/null
+++ b/Help/module/FindPackageMessage.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindPackageMessage.cmake
diff --git a/Help/module/FindPerl.rst b/Help/module/FindPerl.rst
new file mode 100644
index 0000000..098f4b5
--- /dev/null
+++ b/Help/module/FindPerl.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindPerl.cmake
diff --git a/Help/module/FindPerlLibs.rst b/Help/module/FindPerlLibs.rst
new file mode 100644
index 0000000..8d8bbab
--- /dev/null
+++ b/Help/module/FindPerlLibs.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindPerlLibs.cmake
diff --git a/Help/module/FindPhysFS.rst b/Help/module/FindPhysFS.rst
new file mode 100644
index 0000000..21d928b
--- /dev/null
+++ b/Help/module/FindPhysFS.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindPhysFS.cmake
diff --git a/Help/module/FindPike.rst b/Help/module/FindPike.rst
new file mode 100644
index 0000000..b096ca4
--- /dev/null
+++ b/Help/module/FindPike.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindPike.cmake
diff --git a/Help/module/FindPkgConfig.rst b/Help/module/FindPkgConfig.rst
new file mode 100644
index 0000000..b8caf74
--- /dev/null
+++ b/Help/module/FindPkgConfig.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindPkgConfig.cmake
diff --git a/Help/module/FindPostgreSQL.rst b/Help/module/FindPostgreSQL.rst
new file mode 100644
index 0000000..b45c07e
--- /dev/null
+++ b/Help/module/FindPostgreSQL.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindPostgreSQL.cmake
diff --git a/Help/module/FindProducer.rst b/Help/module/FindProducer.rst
new file mode 100644
index 0000000..1c0c575
--- /dev/null
+++ b/Help/module/FindProducer.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindProducer.cmake
diff --git a/Help/module/FindProtobuf.rst b/Help/module/FindProtobuf.rst
new file mode 100644
index 0000000..b978e01
--- /dev/null
+++ b/Help/module/FindProtobuf.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindProtobuf.cmake
diff --git a/Help/module/FindPythonInterp.rst b/Help/module/FindPythonInterp.rst
new file mode 100644
index 0000000..3be2306
--- /dev/null
+++ b/Help/module/FindPythonInterp.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindPythonInterp.cmake
diff --git a/Help/module/FindPythonLibs.rst b/Help/module/FindPythonLibs.rst
new file mode 100644
index 0000000..8f0015d
--- /dev/null
+++ b/Help/module/FindPythonLibs.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindPythonLibs.cmake
diff --git a/Help/module/FindQt.rst b/Help/module/FindQt.rst
new file mode 100644
index 0000000..3aa8a26
--- /dev/null
+++ b/Help/module/FindQt.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindQt.cmake
diff --git a/Help/module/FindQt3.rst b/Help/module/FindQt3.rst
new file mode 100644
index 0000000..b933059
--- /dev/null
+++ b/Help/module/FindQt3.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindQt3.cmake
diff --git a/Help/module/FindQt4.rst b/Help/module/FindQt4.rst
new file mode 100644
index 0000000..28036b2
--- /dev/null
+++ b/Help/module/FindQt4.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindQt4.cmake
diff --git a/Help/module/FindQuickTime.rst b/Help/module/FindQuickTime.rst
new file mode 100644
index 0000000..735f7d2
--- /dev/null
+++ b/Help/module/FindQuickTime.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindQuickTime.cmake
diff --git a/Help/module/FindRTI.rst b/Help/module/FindRTI.rst
new file mode 100644
index 0000000..a93ad16
--- /dev/null
+++ b/Help/module/FindRTI.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindRTI.cmake
diff --git a/Help/module/FindRuby.rst b/Help/module/FindRuby.rst
new file mode 100644
index 0000000..a1e7922
--- /dev/null
+++ b/Help/module/FindRuby.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindRuby.cmake
diff --git a/Help/module/FindSDL.rst b/Help/module/FindSDL.rst
new file mode 100644
index 0000000..79893c0
--- /dev/null
+++ b/Help/module/FindSDL.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindSDL.cmake
diff --git a/Help/module/FindSDL_image.rst b/Help/module/FindSDL_image.rst
new file mode 100644
index 0000000..dc69d70
--- /dev/null
+++ b/Help/module/FindSDL_image.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindSDL_image.cmake
diff --git a/Help/module/FindSDL_mixer.rst b/Help/module/FindSDL_mixer.rst
new file mode 100644
index 0000000..1c9c446
--- /dev/null
+++ b/Help/module/FindSDL_mixer.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindSDL_mixer.cmake
diff --git a/Help/module/FindSDL_net.rst b/Help/module/FindSDL_net.rst
new file mode 100644
index 0000000..079d0bb
--- /dev/null
+++ b/Help/module/FindSDL_net.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindSDL_net.cmake
diff --git a/Help/module/FindSDL_sound.rst b/Help/module/FindSDL_sound.rst
new file mode 100644
index 0000000..077edf7
--- /dev/null
+++ b/Help/module/FindSDL_sound.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindSDL_sound.cmake
diff --git a/Help/module/FindSDL_ttf.rst b/Help/module/FindSDL_ttf.rst
new file mode 100644
index 0000000..40c5ec4
--- /dev/null
+++ b/Help/module/FindSDL_ttf.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindSDL_ttf.cmake
diff --git a/Help/module/FindSWIG.rst b/Help/module/FindSWIG.rst
new file mode 100644
index 0000000..9b25b94
--- /dev/null
+++ b/Help/module/FindSWIG.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindSWIG.cmake
diff --git a/Help/module/FindSelfPackers.rst b/Help/module/FindSelfPackers.rst
new file mode 100644
index 0000000..5f2c689
--- /dev/null
+++ b/Help/module/FindSelfPackers.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindSelfPackers.cmake
diff --git a/Help/module/FindSquish.rst b/Help/module/FindSquish.rst
new file mode 100644
index 0000000..dc2c86d
--- /dev/null
+++ b/Help/module/FindSquish.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindSquish.cmake
diff --git a/Help/module/FindSubversion.rst b/Help/module/FindSubversion.rst
new file mode 100644
index 0000000..aa15857
--- /dev/null
+++ b/Help/module/FindSubversion.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindSubversion.cmake
diff --git a/Help/module/FindTCL.rst b/Help/module/FindTCL.rst
new file mode 100644
index 0000000..cbd2035
--- /dev/null
+++ b/Help/module/FindTCL.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindTCL.cmake
diff --git a/Help/module/FindTIFF.rst b/Help/module/FindTIFF.rst
new file mode 100644
index 0000000..69f8ca5
--- /dev/null
+++ b/Help/module/FindTIFF.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindTIFF.cmake
diff --git a/Help/module/FindTclStub.rst b/Help/module/FindTclStub.rst
new file mode 100644
index 0000000..6cc5b2d
--- /dev/null
+++ b/Help/module/FindTclStub.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindTclStub.cmake
diff --git a/Help/module/FindTclsh.rst b/Help/module/FindTclsh.rst
new file mode 100644
index 0000000..23e7d6b
--- /dev/null
+++ b/Help/module/FindTclsh.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindTclsh.cmake
diff --git a/Help/module/FindThreads.rst b/Help/module/FindThreads.rst
new file mode 100644
index 0000000..91967a7
--- /dev/null
+++ b/Help/module/FindThreads.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindThreads.cmake
diff --git a/Help/module/FindUnixCommands.rst b/Help/module/FindUnixCommands.rst
new file mode 100644
index 0000000..9ad05ad
--- /dev/null
+++ b/Help/module/FindUnixCommands.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindUnixCommands.cmake
diff --git a/Help/module/FindVTK.rst b/Help/module/FindVTK.rst
new file mode 100644
index 0000000..f9c1efe
--- /dev/null
+++ b/Help/module/FindVTK.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindVTK.cmake
diff --git a/Help/module/FindWget.rst b/Help/module/FindWget.rst
new file mode 100644
index 0000000..06affd4
--- /dev/null
+++ b/Help/module/FindWget.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindWget.cmake
diff --git a/Help/module/FindWish.rst b/Help/module/FindWish.rst
new file mode 100644
index 0000000..76be4cf
--- /dev/null
+++ b/Help/module/FindWish.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindWish.cmake
diff --git a/Help/module/FindX11.rst b/Help/module/FindX11.rst
new file mode 100644
index 0000000..906efd7
--- /dev/null
+++ b/Help/module/FindX11.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindX11.cmake
diff --git a/Help/module/FindXMLRPC.rst b/Help/module/FindXMLRPC.rst
new file mode 100644
index 0000000..5d11a0c
--- /dev/null
+++ b/Help/module/FindXMLRPC.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindXMLRPC.cmake
diff --git a/Help/module/FindZLIB.rst b/Help/module/FindZLIB.rst
new file mode 100644
index 0000000..ded8634
--- /dev/null
+++ b/Help/module/FindZLIB.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindZLIB.cmake
diff --git a/Help/module/Findosg.rst b/Help/module/Findosg.rst
new file mode 100644
index 0000000..6b407ac
--- /dev/null
+++ b/Help/module/Findosg.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/Findosg.cmake
diff --git a/Help/module/FindosgAnimation.rst b/Help/module/FindosgAnimation.rst
new file mode 100644
index 0000000..f14a1e7
--- /dev/null
+++ b/Help/module/FindosgAnimation.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindosgAnimation.cmake
diff --git a/Help/module/FindosgDB.rst b/Help/module/FindosgDB.rst
new file mode 100644
index 0000000..9f72bc7
--- /dev/null
+++ b/Help/module/FindosgDB.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindosgDB.cmake
diff --git a/Help/module/FindosgFX.rst b/Help/module/FindosgFX.rst
new file mode 100644
index 0000000..0e1edfb
--- /dev/null
+++ b/Help/module/FindosgFX.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindosgFX.cmake
diff --git a/Help/module/FindosgGA.rst b/Help/module/FindosgGA.rst
new file mode 100644
index 0000000..562d73f
--- /dev/null
+++ b/Help/module/FindosgGA.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindosgGA.cmake
diff --git a/Help/module/FindosgIntrospection.rst b/Help/module/FindosgIntrospection.rst
new file mode 100644
index 0000000..53621a7
--- /dev/null
+++ b/Help/module/FindosgIntrospection.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindosgIntrospection.cmake
diff --git a/Help/module/FindosgManipulator.rst b/Help/module/FindosgManipulator.rst
new file mode 100644
index 0000000..b9d615d
--- /dev/null
+++ b/Help/module/FindosgManipulator.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindosgManipulator.cmake
diff --git a/Help/module/FindosgParticle.rst b/Help/module/FindosgParticle.rst
new file mode 100644
index 0000000..9cf191c
--- /dev/null
+++ b/Help/module/FindosgParticle.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindosgParticle.cmake
diff --git a/Help/module/FindosgPresentation.rst b/Help/module/FindosgPresentation.rst
new file mode 100644
index 0000000..cb47841
--- /dev/null
+++ b/Help/module/FindosgPresentation.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindosgPresentation.cmake
diff --git a/Help/module/FindosgProducer.rst b/Help/module/FindosgProducer.rst
new file mode 100644
index 0000000..c502851
--- /dev/null
+++ b/Help/module/FindosgProducer.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindosgProducer.cmake
diff --git a/Help/module/FindosgQt.rst b/Help/module/FindosgQt.rst
new file mode 100644
index 0000000..08c8704
--- /dev/null
+++ b/Help/module/FindosgQt.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindosgQt.cmake
diff --git a/Help/module/FindosgShadow.rst b/Help/module/FindosgShadow.rst
new file mode 100644
index 0000000..fbb22e1
--- /dev/null
+++ b/Help/module/FindosgShadow.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindosgShadow.cmake
diff --git a/Help/module/FindosgSim.rst b/Help/module/FindosgSim.rst
new file mode 100644
index 0000000..9e47b65
--- /dev/null
+++ b/Help/module/FindosgSim.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindosgSim.cmake
diff --git a/Help/module/FindosgTerrain.rst b/Help/module/FindosgTerrain.rst
new file mode 100644
index 0000000..dd401d8
--- /dev/null
+++ b/Help/module/FindosgTerrain.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindosgTerrain.cmake
diff --git a/Help/module/FindosgText.rst b/Help/module/FindosgText.rst
new file mode 100644
index 0000000..bb028fb
--- /dev/null
+++ b/Help/module/FindosgText.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindosgText.cmake
diff --git a/Help/module/FindosgUtil.rst b/Help/module/FindosgUtil.rst
new file mode 100644
index 0000000..bb11bdf
--- /dev/null
+++ b/Help/module/FindosgUtil.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindosgUtil.cmake
diff --git a/Help/module/FindosgViewer.rst b/Help/module/FindosgViewer.rst
new file mode 100644
index 0000000..5def375
--- /dev/null
+++ b/Help/module/FindosgViewer.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindosgViewer.cmake
diff --git a/Help/module/FindosgVolume.rst b/Help/module/FindosgVolume.rst
new file mode 100644
index 0000000..d836906
--- /dev/null
+++ b/Help/module/FindosgVolume.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindosgVolume.cmake
diff --git a/Help/module/FindosgWidget.rst b/Help/module/FindosgWidget.rst
new file mode 100644
index 0000000..bdd1135
--- /dev/null
+++ b/Help/module/FindosgWidget.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindosgWidget.cmake
diff --git a/Help/module/Findosg_functions.rst b/Help/module/Findosg_functions.rst
new file mode 100644
index 0000000..522e1ac
--- /dev/null
+++ b/Help/module/Findosg_functions.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/Findosg_functions.cmake
diff --git a/Help/module/FindwxWidgets.rst b/Help/module/FindwxWidgets.rst
new file mode 100644
index 0000000..519beb7
--- /dev/null
+++ b/Help/module/FindwxWidgets.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindwxWidgets.cmake
diff --git a/Help/module/FindwxWindows.rst b/Help/module/FindwxWindows.rst
new file mode 100644
index 0000000..35c9728
--- /dev/null
+++ b/Help/module/FindwxWindows.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FindwxWindows.cmake
diff --git a/Help/module/FortranCInterface.rst b/Help/module/FortranCInterface.rst
new file mode 100644
index 0000000..7afcf15
--- /dev/null
+++ b/Help/module/FortranCInterface.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FortranCInterface.cmake
diff --git a/Help/module/GNUInstallDirs.rst b/Help/module/GNUInstallDirs.rst
new file mode 100644
index 0000000..79d3570
--- /dev/null
+++ b/Help/module/GNUInstallDirs.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/GNUInstallDirs.cmake
diff --git a/Help/module/GenerateExportHeader.rst b/Help/module/GenerateExportHeader.rst
new file mode 100644
index 0000000..115713e
--- /dev/null
+++ b/Help/module/GenerateExportHeader.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/GenerateExportHeader.cmake
diff --git a/Help/module/GetPrerequisites.rst b/Help/module/GetPrerequisites.rst
new file mode 100644
index 0000000..84b20c8
--- /dev/null
+++ b/Help/module/GetPrerequisites.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/GetPrerequisites.cmake
diff --git a/Help/module/InstallRequiredSystemLibraries.rst b/Help/module/InstallRequiredSystemLibraries.rst
new file mode 100644
index 0000000..5ea9af3
--- /dev/null
+++ b/Help/module/InstallRequiredSystemLibraries.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/InstallRequiredSystemLibraries.cmake
diff --git a/Help/module/MacroAddFileDependencies.rst b/Help/module/MacroAddFileDependencies.rst
new file mode 100644
index 0000000..5f0bf6b
--- /dev/null
+++ b/Help/module/MacroAddFileDependencies.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/MacroAddFileDependencies.cmake
diff --git a/Help/module/ProcessorCount.rst b/Help/module/ProcessorCount.rst
new file mode 100644
index 0000000..0149d09
--- /dev/null
+++ b/Help/module/ProcessorCount.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/ProcessorCount.cmake
diff --git a/Help/module/SelectLibraryConfigurations.rst b/Help/module/SelectLibraryConfigurations.rst
new file mode 100644
index 0000000..14fd6f8
--- /dev/null
+++ b/Help/module/SelectLibraryConfigurations.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/SelectLibraryConfigurations.cmake
diff --git a/Help/module/SquishTestScript.rst b/Help/module/SquishTestScript.rst
new file mode 100644
index 0000000..47da404
--- /dev/null
+++ b/Help/module/SquishTestScript.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/SquishTestScript.cmake
diff --git a/Help/module/TestBigEndian.rst b/Help/module/TestBigEndian.rst
new file mode 100644
index 0000000..f9e4d2f
--- /dev/null
+++ b/Help/module/TestBigEndian.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/TestBigEndian.cmake
diff --git a/Help/module/TestCXXAcceptsFlag.rst b/Help/module/TestCXXAcceptsFlag.rst
new file mode 100644
index 0000000..ee3d70a
--- /dev/null
+++ b/Help/module/TestCXXAcceptsFlag.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/TestCXXAcceptsFlag.cmake
diff --git a/Help/module/TestForANSIForScope.rst b/Help/module/TestForANSIForScope.rst
new file mode 100644
index 0000000..00d9238
--- /dev/null
+++ b/Help/module/TestForANSIForScope.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/TestForANSIForScope.cmake
diff --git a/Help/module/TestForANSIStreamHeaders.rst b/Help/module/TestForANSIStreamHeaders.rst
new file mode 100644
index 0000000..212a30b
--- /dev/null
+++ b/Help/module/TestForANSIStreamHeaders.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/TestForANSIStreamHeaders.cmake
diff --git a/Help/module/TestForSSTREAM.rst b/Help/module/TestForSSTREAM.rst
new file mode 100644
index 0000000..d154751
--- /dev/null
+++ b/Help/module/TestForSSTREAM.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/TestForSSTREAM.cmake
diff --git a/Help/module/TestForSTDNamespace.rst b/Help/module/TestForSTDNamespace.rst
new file mode 100644
index 0000000..ad989e3
--- /dev/null
+++ b/Help/module/TestForSTDNamespace.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/TestForSTDNamespace.cmake
diff --git a/Help/module/UseEcos.rst b/Help/module/UseEcos.rst
new file mode 100644
index 0000000..0e57868
--- /dev/null
+++ b/Help/module/UseEcos.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/UseEcos.cmake
diff --git a/Help/module/UseJava.rst b/Help/module/UseJava.rst
new file mode 100644
index 0000000..fa2f1bd
--- /dev/null
+++ b/Help/module/UseJava.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/UseJava.cmake
diff --git a/Help/module/UseJavaClassFilelist.rst b/Help/module/UseJavaClassFilelist.rst
new file mode 100644
index 0000000..b9cd476
--- /dev/null
+++ b/Help/module/UseJavaClassFilelist.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/UseJavaClassFilelist.cmake
diff --git a/Help/module/UseJavaSymlinks.rst b/Help/module/UseJavaSymlinks.rst
new file mode 100644
index 0000000..2fab8e8
--- /dev/null
+++ b/Help/module/UseJavaSymlinks.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/UseJavaSymlinks.cmake
diff --git a/Help/module/UsePkgConfig.rst b/Help/module/UsePkgConfig.rst
new file mode 100644
index 0000000..668f766
--- /dev/null
+++ b/Help/module/UsePkgConfig.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/UsePkgConfig.cmake
diff --git a/Help/module/UseSWIG.rst b/Help/module/UseSWIG.rst
new file mode 100644
index 0000000..0007c35
--- /dev/null
+++ b/Help/module/UseSWIG.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/UseSWIG.cmake
diff --git a/Help/module/Use_wxWindows.rst b/Help/module/Use_wxWindows.rst
new file mode 100644
index 0000000..a489e98
--- /dev/null
+++ b/Help/module/Use_wxWindows.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/Use_wxWindows.cmake
diff --git a/Help/module/UsewxWidgets.rst b/Help/module/UsewxWidgets.rst
new file mode 100644
index 0000000..6829c2d
--- /dev/null
+++ b/Help/module/UsewxWidgets.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/UsewxWidgets.cmake
diff --git a/Help/module/WriteBasicConfigVersionFile.rst b/Help/module/WriteBasicConfigVersionFile.rst
new file mode 100644
index 0000000..c637d5d
--- /dev/null
+++ b/Help/module/WriteBasicConfigVersionFile.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/WriteBasicConfigVersionFile.cmake
diff --git a/Help/policy/CMP0000.rst b/Help/policy/CMP0000.rst
new file mode 100644
index 0000000..9fbf842
--- /dev/null
+++ b/Help/policy/CMP0000.rst
@@ -0,0 +1,30 @@
+CMP0000
+-------
+
+A minimum required CMake version must be specified.
+
+CMake requires that projects specify the version of CMake to which
+they have been written. This policy has been put in place so users
+trying to build the project may be told when they need to update their
+CMake. Specifying a version also helps the project build with CMake
+versions newer than that specified. Use the cmake_minimum_required
+command at the top of your main CMakeLists.txt file:
+
+::
+
+ cmake_minimum_required(VERSION <major>.<minor>)
+
+where "<major>.<minor>" is the version of CMake you want to support
+(such as "2.6"). The command will ensure that at least the given
+version of CMake is running and help newer versions be compatible with
+the project. See documentation of cmake_minimum_required for details.
+
+Note that the command invocation must appear in the CMakeLists.txt
+file itself; a call in an included file is not sufficient. However,
+the cmake_policy command may be called to set policy CMP0000 to OLD or
+NEW behavior explicitly. The OLD behavior is to silently ignore the
+missing invocation. The NEW behavior is to issue an error instead of
+a warning. An included file may set CMP0000 explicitly to affect how
+this policy is enforced for the main CMakeLists.txt file.
+
+This policy was introduced in CMake version 2.6.0.
diff --git a/Help/policy/CMP0001.rst b/Help/policy/CMP0001.rst
new file mode 100644
index 0000000..344f1e2
--- /dev/null
+++ b/Help/policy/CMP0001.rst
@@ -0,0 +1,19 @@
+CMP0001
+-------
+
+CMAKE_BACKWARDS_COMPATIBILITY should no longer be used.
+
+The OLD behavior is to check CMAKE_BACKWARDS_COMPATIBILITY and present
+it to the user. The NEW behavior is to ignore
+CMAKE_BACKWARDS_COMPATIBILITY completely.
+
+In CMake 2.4 and below the variable CMAKE_BACKWARDS_COMPATIBILITY was
+used to request compatibility with earlier versions of CMake. In
+CMake 2.6 and above all compatibility issues are handled by policies
+and the cmake_policy command. However, CMake must still check
+CMAKE_BACKWARDS_COMPATIBILITY for projects written for CMake 2.4 and
+below.
+
+This policy was introduced in CMake version 2.6.0. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0002.rst b/Help/policy/CMP0002.rst
new file mode 100644
index 0000000..2c15bd4
--- /dev/null
+++ b/Help/policy/CMP0002.rst
@@ -0,0 +1,26 @@
+CMP0002
+-------
+
+Logical target names must be globally unique.
+
+Targets names created with add_executable, add_library, or
+add_custom_target are logical build target names. Logical target
+names must be globally unique because:
+
+::
+
+ - Unique names may be referenced unambiguously both in CMake
+ code and on make tool command lines.
+ - Logical names are used by Xcode and VS IDE generators
+ to produce meaningful project names for the targets.
+
+The logical name of executable and library targets does not have to
+correspond to the physical file names built. Consider using the
+OUTPUT_NAME target property to create two targets with the same
+physical name while keeping logical names distinct. Custom targets
+must simply have globally unique names (unless one uses the global
+property ALLOW_DUPLICATE_CUSTOM_TARGETS with a Makefiles generator).
+
+This policy was introduced in CMake version 2.6.0. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0003.rst b/Help/policy/CMP0003.rst
new file mode 100644
index 0000000..27b83f8
--- /dev/null
+++ b/Help/policy/CMP0003.rst
@@ -0,0 +1,102 @@
+CMP0003
+-------
+
+Libraries linked via full path no longer produce linker search paths.
+
+This policy affects how libraries whose full paths are NOT known are
+found at link time, but was created due to a change in how CMake deals
+with libraries whose full paths are known. Consider the code
+
+::
+
+ target_link_libraries(myexe /path/to/libA.so)
+
+CMake 2.4 and below implemented linking to libraries whose full paths
+are known by splitting them on the link line into separate components
+consisting of the linker search path and the library name. The
+example code might have produced something like
+
+::
+
+ ... -L/path/to -lA ...
+
+in order to link to library A. An analysis was performed to order
+multiple link directories such that the linker would find library A in
+the desired location, but there are cases in which this does not work.
+CMake versions 2.6 and above use the more reliable approach of passing
+the full path to libraries directly to the linker in most cases. The
+example code now produces something like
+
+::
+
+ ... /path/to/libA.so ....
+
+Unfortunately this change can break code like
+
+::
+
+ target_link_libraries(myexe /path/to/libA.so B)
+
+where "B" is meant to find "/path/to/libB.so". This code is wrong
+because the user is asking the linker to find library B but has not
+provided a linker search path (which may be added with the
+link_directories command). However, with the old linking
+implementation the code would work accidentally because the linker
+search path added for library A allowed library B to be found.
+
+In order to support projects depending on linker search paths added by
+linking to libraries with known full paths, the OLD behavior for this
+policy will add the linker search paths even though they are not
+needed for their own libraries. When this policy is set to OLD, CMake
+will produce a link line such as
+
+::
+
+ ... -L/path/to /path/to/libA.so -lB ...
+
+which will allow library B to be found as it was previously. When
+this policy is set to NEW, CMake will produce a link line such as
+
+::
+
+ ... /path/to/libA.so -lB ...
+
+which more accurately matches what the project specified.
+
+The setting for this policy used when generating the link line is that
+in effect when the target is created by an add_executable or
+add_library command. For the example described above, the code
+
+::
+
+ cmake_policy(SET CMP0003 OLD) # or cmake_policy(VERSION 2.4)
+ add_executable(myexe myexe.c)
+ target_link_libraries(myexe /path/to/libA.so B)
+
+will work and suppress the warning for this policy. It may also be
+updated to work with the corrected linking approach:
+
+::
+
+ cmake_policy(SET CMP0003 NEW) # or cmake_policy(VERSION 2.6)
+ link_directories(/path/to) # needed to find library B
+ add_executable(myexe myexe.c)
+ target_link_libraries(myexe /path/to/libA.so B)
+
+Even better, library B may be specified with a full path:
+
+::
+
+ add_executable(myexe myexe.c)
+ target_link_libraries(myexe /path/to/libA.so /path/to/libB.so)
+
+When all items on the link line have known paths CMake does not check
+this policy so it has no effect.
+
+Note that the warning for this policy will be issued for at most one
+target. This avoids flooding users with messages for every target
+when setting the policy once will probably fix all targets.
+
+This policy was introduced in CMake version 2.6.0. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0004.rst b/Help/policy/CMP0004.rst
new file mode 100644
index 0000000..80045f5
--- /dev/null
+++ b/Help/policy/CMP0004.rst
@@ -0,0 +1,23 @@
+CMP0004
+-------
+
+Libraries linked may not have leading or trailing whitespace.
+
+CMake versions 2.4 and below silently removed leading and trailing
+whitespace from libraries linked with code like
+
+::
+
+ target_link_libraries(myexe " A ")
+
+This could lead to subtle errors in user projects.
+
+The OLD behavior for this policy is to silently remove leading and
+trailing whitespace. The NEW behavior for this policy is to diagnose
+the existence of such whitespace as an error. The setting for this
+policy used when checking the library names is that in effect when the
+target is created by an add_executable or add_library command.
+
+This policy was introduced in CMake version 2.6.0. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0005.rst b/Help/policy/CMP0005.rst
new file mode 100644
index 0000000..c11a9e6
--- /dev/null
+++ b/Help/policy/CMP0005.rst
@@ -0,0 +1,24 @@
+CMP0005
+-------
+
+Preprocessor definition values are now escaped automatically.
+
+This policy determines whether or not CMake should generate escaped
+preprocessor definition values added via add_definitions. CMake
+versions 2.4 and below assumed that only trivial values would be given
+for macros in add_definitions calls. It did not attempt to escape
+non-trivial values such as string literals in generated build rules.
+CMake versions 2.6 and above support escaping of most values, but
+cannot assume the user has not added escapes already in an attempt to
+work around limitations in earlier versions.
+
+The OLD behavior for this policy is to place definition values given
+to add_definitions directly in the generated build rules without
+attempting to escape anything. The NEW behavior for this policy is to
+generate correct escapes for all native build tools automatically.
+See documentation of the COMPILE_DEFINITIONS target property for
+limitations of the escaping implementation.
+
+This policy was introduced in CMake version 2.6.0. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0006.rst b/Help/policy/CMP0006.rst
new file mode 100644
index 0000000..8d1e5bd
--- /dev/null
+++ b/Help/policy/CMP0006.rst
@@ -0,0 +1,22 @@
+CMP0006
+-------
+
+Installing MACOSX_BUNDLE targets requires a BUNDLE DESTINATION.
+
+This policy determines whether the install(TARGETS) command must be
+given a BUNDLE DESTINATION when asked to install a target with the
+MACOSX_BUNDLE property set. CMake 2.4 and below did not distinguish
+application bundles from normal executables when installing targets.
+CMake 2.6 provides a BUNDLE option to the install(TARGETS) command
+that specifies rules specific to application bundles on the Mac.
+Projects should use this option when installing a target with the
+MACOSX_BUNDLE property set.
+
+The OLD behavior for this policy is to fall back to the RUNTIME
+DESTINATION if a BUNDLE DESTINATION is not given. The NEW behavior
+for this policy is to produce an error if a bundle target is installed
+without a BUNDLE DESTINATION.
+
+This policy was introduced in CMake version 2.6.0. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0007.rst b/Help/policy/CMP0007.rst
new file mode 100644
index 0000000..f0d8c16
--- /dev/null
+++ b/Help/policy/CMP0007.rst
@@ -0,0 +1,15 @@
+CMP0007
+-------
+
+list command no longer ignores empty elements.
+
+This policy determines whether the list command will ignore empty
+elements in the list. CMake 2.4 and below list commands ignored all
+empty elements in the list. For example, a;b;;c would have length 3
+and not 4. The OLD behavior for this policy is to ignore empty list
+elements. The NEW behavior for this policy is to correctly count
+empty elements in a list.
+
+This policy was introduced in CMake version 2.6.0. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0008.rst b/Help/policy/CMP0008.rst
new file mode 100644
index 0000000..b118ece
--- /dev/null
+++ b/Help/policy/CMP0008.rst
@@ -0,0 +1,32 @@
+CMP0008
+-------
+
+Libraries linked by full-path must have a valid library file name.
+
+In CMake 2.4 and below it is possible to write code like
+
+::
+
+ target_link_libraries(myexe /full/path/to/somelib)
+
+where "somelib" is supposed to be a valid library file name such as
+"libsomelib.a" or "somelib.lib". For Makefile generators this
+produces an error at build time because the dependency on the full
+path cannot be found. For VS IDE and Xcode generators this used to
+work by accident because CMake would always split off the library
+directory and ask the linker to search for the library by name
+(-lsomelib or somelib.lib). Despite the failure with Makefiles, some
+projects have code like this and build only with VS and/or Xcode.
+This version of CMake prefers to pass the full path directly to the
+native build tool, which will fail in this case because it does not
+name a valid library file.
+
+This policy determines what to do with full paths that do not appear
+to name a valid library file. The OLD behavior for this policy is to
+split the library name from the path and ask the linker to search for
+it. The NEW behavior for this policy is to trust the given path and
+pass it directly to the native build tool unchanged.
+
+This policy was introduced in CMake version 2.6.1. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0009.rst b/Help/policy/CMP0009.rst
new file mode 100644
index 0000000..481af1a
--- /dev/null
+++ b/Help/policy/CMP0009.rst
@@ -0,0 +1,19 @@
+CMP0009
+-------
+
+FILE GLOB_RECURSE calls should not follow symlinks by default.
+
+In CMake 2.6.1 and below, FILE GLOB_RECURSE calls would follow through
+symlinks, sometimes coming up with unexpectedly large result sets
+because of symlinks to top level directories that contain hundreds of
+thousands of files.
+
+This policy determines whether or not to follow symlinks encountered
+during a FILE GLOB_RECURSE call. The OLD behavior for this policy is
+to follow the symlinks. The NEW behavior for this policy is not to
+follow the symlinks by default, but only if FOLLOW_SYMLINKS is given
+as an additional argument to the FILE command.
+
+This policy was introduced in CMake version 2.6.2. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0010.rst b/Help/policy/CMP0010.rst
new file mode 100644
index 0000000..01699e1
--- /dev/null
+++ b/Help/policy/CMP0010.rst
@@ -0,0 +1,15 @@
+CMP0010
+-------
+
+Bad variable reference syntax is an error.
+
+In CMake 2.6.2 and below, incorrect variable reference syntax such as
+a missing close-brace ("${FOO") was reported but did not stop
+processing of CMake code. This policy determines whether a bad
+variable reference is an error. The OLD behavior for this policy is
+to warn about the error, leave the string untouched, and continue.
+The NEW behavior for this policy is to report an error.
+
+This policy was introduced in CMake version 2.6.3. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0011.rst b/Help/policy/CMP0011.rst
new file mode 100644
index 0000000..0f41fff
--- /dev/null
+++ b/Help/policy/CMP0011.rst
@@ -0,0 +1,22 @@
+CMP0011
+-------
+
+Included scripts do automatic cmake_policy PUSH and POP.
+
+In CMake 2.6.2 and below, CMake Policy settings in scripts loaded by
+the include() and find_package() commands would affect the includer.
+Explicit invocations of cmake_policy(PUSH) and cmake_policy(POP) were
+required to isolate policy changes and protect the includer. While
+some scripts intend to affect the policies of their includer, most do
+not. In CMake 2.6.3 and above, include() and find_package() by
+default PUSH and POP an entry on the policy stack around an included
+script, but provide a NO_POLICY_SCOPE option to disable it. This
+policy determines whether or not to imply NO_POLICY_SCOPE for
+compatibility. The OLD behavior for this policy is to imply
+NO_POLICY_SCOPE for include() and find_package() commands. The NEW
+behavior for this policy is to allow the commands to do their default
+cmake_policy PUSH and POP.
+
+This policy was introduced in CMake version 2.6.3. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0012.rst b/Help/policy/CMP0012.rst
new file mode 100644
index 0000000..7a749bf
--- /dev/null
+++ b/Help/policy/CMP0012.rst
@@ -0,0 +1,25 @@
+CMP0012
+-------
+
+if() recognizes numbers and boolean constants.
+
+In CMake versions 2.6.4 and lower the if() command implicitly
+dereferenced arguments corresponding to variables, even those named
+like numbers or boolean constants, except for 0 and 1. Numbers and
+boolean constants such as true, false, yes, no, on, off, y, n,
+notfound, ignore (all case insensitive) were recognized in some cases
+but not all. For example, the code "if(TRUE)" might have evaluated as
+false. Numbers such as 2 were recognized only in boolean expressions
+like "if(NOT 2)" (leading to false) but not as a single-argument like
+"if(2)" (also leading to false). Later versions of CMake prefer to
+treat numbers and boolean constants literally, so they should not be
+used as variable names.
+
+The OLD behavior for this policy is to implicitly dereference
+variables named like numbers and boolean constants. The NEW behavior
+for this policy is to recognize numbers and boolean constants without
+dereferencing variables with such names.
+
+This policy was introduced in CMake version 2.8.0. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0013.rst b/Help/policy/CMP0013.rst
new file mode 100644
index 0000000..e99997b
--- /dev/null
+++ b/Help/policy/CMP0013.rst
@@ -0,0 +1,19 @@
+CMP0013
+-------
+
+Duplicate binary directories are not allowed.
+
+CMake 2.6.3 and below silently permitted add_subdirectory() calls to
+create the same binary directory multiple times. During build system
+generation files would be written and then overwritten in the build
+tree and could lead to strange behavior. CMake 2.6.4 and above
+explicitly detect duplicate binary directories. CMake 2.6.4 always
+considers this case an error. In CMake 2.8.0 and above this policy
+determines whether or not the case is an error. The OLD behavior for
+this policy is to allow duplicate binary directories. The NEW
+behavior for this policy is to disallow duplicate binary directories
+with an error.
+
+This policy was introduced in CMake version 2.8.0. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0014.rst b/Help/policy/CMP0014.rst
new file mode 100644
index 0000000..37178d1
--- /dev/null
+++ b/Help/policy/CMP0014.rst
@@ -0,0 +1,15 @@
+CMP0014
+-------
+
+Input directories must have CMakeLists.txt.
+
+CMake versions before 2.8 silently ignored missing CMakeLists.txt
+files in directories referenced by add_subdirectory() or subdirs(),
+treating them as if present but empty. In CMake 2.8.0 and above this
+policy determines whether or not the case is an error. The OLD
+behavior for this policy is to silently ignore the problem. The NEW
+behavior for this policy is to report an error.
+
+This policy was introduced in CMake version 2.8.0. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0015.rst b/Help/policy/CMP0015.rst
new file mode 100644
index 0000000..1b54979
--- /dev/null
+++ b/Help/policy/CMP0015.rst
@@ -0,0 +1,17 @@
+CMP0015
+-------
+
+link_directories() treats paths relative to the source dir.
+
+In CMake 2.8.0 and lower the link_directories() command passed
+relative paths unchanged to the linker. In CMake 2.8.1 and above the
+link_directories() command prefers to interpret relative paths with
+respect to CMAKE_CURRENT_SOURCE_DIR, which is consistent with
+include_directories() and other commands. The OLD behavior for this
+policy is to use relative paths verbatim in the linker command. The
+NEW behavior for this policy is to convert relative paths to absolute
+paths by appending the relative path to CMAKE_CURRENT_SOURCE_DIR.
+
+This policy was introduced in CMake version 2.8.1. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0016.rst b/Help/policy/CMP0016.rst
new file mode 100644
index 0000000..743b1a9
--- /dev/null
+++ b/Help/policy/CMP0016.rst
@@ -0,0 +1,13 @@
+CMP0016
+-------
+
+target_link_libraries() reports error if its only argument is not a target.
+
+In CMake 2.8.2 and lower the target_link_libraries() command silently
+ignored if it was called with only one argument, and this argument
+wasn't a valid target. In CMake 2.8.3 and above it reports an error
+in this case.
+
+This policy was introduced in CMake version 2.8.3. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0017.rst b/Help/policy/CMP0017.rst
new file mode 100644
index 0000000..f74e6f0
--- /dev/null
+++ b/Help/policy/CMP0017.rst
@@ -0,0 +1,19 @@
+CMP0017
+-------
+
+Prefer files from the CMake module directory when including from there.
+
+Starting with CMake 2.8.4, if a cmake-module shipped with CMake (i.e.
+located in the CMake module directory) calls include() or
+find_package(), the files located in the CMake module directory are
+preferred over the files in CMAKE_MODULE_PATH. This makes sure that
+the modules belonging to CMake always get those files included which
+they expect, and against which they were developed and tested. In all
+other cases, the files found in CMAKE_MODULE_PATH still take
+precedence over the ones in the CMake module directory. The OLD
+behavior is to always prefer files from CMAKE_MODULE_PATH over files
+from the CMake modules directory.
+
+This policy was introduced in CMake version 2.8.4. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0018.rst b/Help/policy/CMP0018.rst
new file mode 100644
index 0000000..0f68267
--- /dev/null
+++ b/Help/policy/CMP0018.rst
@@ -0,0 +1,32 @@
+CMP0018
+-------
+
+Ignore CMAKE_SHARED_LIBRARY_<Lang>_FLAGS variable.
+
+CMake 2.8.8 and lower compiled sources in SHARED and MODULE libraries
+using the value of the undocumented CMAKE_SHARED_LIBRARY_<Lang>_FLAGS
+platform variable. The variable contained platform-specific flags
+needed to compile objects for shared libraries. Typically it included
+a flag such as -fPIC for position independent code but also included
+other flags needed on certain platforms. CMake 2.8.9 and higher
+prefer instead to use the POSITION_INDEPENDENT_CODE target property to
+determine what targets should be position independent, and new
+undocumented platform variables to select flags while ignoring
+CMAKE_SHARED_LIBRARY_<Lang>_FLAGS completely.
+
+The default for either approach produces identical compilation flags,
+but if a project modifies CMAKE_SHARED_LIBRARY_<Lang>_FLAGS from its
+original value this policy determines which approach to use.
+
+The OLD behavior for this policy is to ignore the
+POSITION_INDEPENDENT_CODE property for all targets and use the
+modified value of CMAKE_SHARED_LIBRARY_<Lang>_FLAGS for SHARED and
+MODULE libraries.
+
+The NEW behavior for this policy is to ignore
+CMAKE_SHARED_LIBRARY_<Lang>_FLAGS whether it is modified or not and
+honor the POSITION_INDEPENDENT_CODE target property.
+
+This policy was introduced in CMake version 2.8.9. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0019.rst b/Help/policy/CMP0019.rst
new file mode 100644
index 0000000..2b37fa1
--- /dev/null
+++ b/Help/policy/CMP0019.rst
@@ -0,0 +1,20 @@
+CMP0019
+-------
+
+Do not re-expand variables in include and link information.
+
+CMake 2.8.10 and lower re-evaluated values given to the
+include_directories, link_directories, and link_libraries commands to
+expand any leftover variable references at the end of the
+configuration step. This was for strict compatibility with VERY early
+CMake versions because all variable references are now normally
+evaluated during CMake language processing. CMake 2.8.11 and higher
+prefer to skip the extra evaluation.
+
+The OLD behavior for this policy is to re-evaluate the values for
+strict compatibility. The NEW behavior for this policy is to leave
+the values untouched.
+
+This policy was introduced in CMake version 2.8.11. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0020.rst b/Help/policy/CMP0020.rst
new file mode 100644
index 0000000..ad664b0
--- /dev/null
+++ b/Help/policy/CMP0020.rst
@@ -0,0 +1,25 @@
+CMP0020
+-------
+
+Automatically link Qt executables to qtmain target on Windows.
+
+CMake 2.8.10 and lower required users of Qt to always specify a link
+dependency to the qtmain.lib static library manually on Windows.
+CMake 2.8.11 gained the ability to evaluate generator expressions
+while determining the link dependencies from IMPORTED targets. This
+allows CMake itself to automatically link executables which link to Qt
+to the qtmain.lib library when using IMPORTED Qt targets. For
+applications already linking to qtmain.lib, this should have little
+impact. For applications which supply their own alternative WinMain
+implementation and for applications which use the QAxServer library,
+this automatic linking will need to be disabled as per the
+documentation.
+
+The OLD behavior for this policy is not to link executables to
+qtmain.lib automatically when they link to the QtCore IMPORTEDtarget.
+The NEW behavior for this policy is to link executables to qtmain.lib
+automatically when they link to QtCore IMPORTED target.
+
+This policy was introduced in CMake version 2.8.11. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0021.rst b/Help/policy/CMP0021.rst
new file mode 100644
index 0000000..3f5bd03
--- /dev/null
+++ b/Help/policy/CMP0021.rst
@@ -0,0 +1,18 @@
+CMP0021
+-------
+
+Fatal error on relative paths in INCLUDE_DIRECTORIES target property.
+
+CMake 2.8.10.2 and lower allowed the INCLUDE_DIRECTORIES target
+property to contain relative paths. The base path for such relative
+entries is not well defined. CMake 2.8.12 issues a FATAL_ERROR if the
+INCLUDE_DIRECTORIES property contains a relative path.
+
+The OLD behavior for this policy is not to warn about relative paths
+in the INCLUDE_DIRECTORIES target property. The NEW behavior for this
+policy is to issue a FATAL_ERROR if INCLUDE_DIRECTORIES contains a
+relative path.
+
+This policy was introduced in CMake version 2.8.12. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0022.rst b/Help/policy/CMP0022.rst
new file mode 100644
index 0000000..16a5bc3
--- /dev/null
+++ b/Help/policy/CMP0022.rst
@@ -0,0 +1,37 @@
+CMP0022
+-------
+
+INTERFACE_LINK_LIBRARIES defines the link interface.
+
+CMake 2.8.11 constructed the 'link interface' of a target from
+properties matching ``(IMPORTED_)?LINK_INTERFACE_LIBRARIES(_<CONFIG>)?``.
+The modern way to specify config-sensitive content is to use generator
+expressions and the ``IMPORTED_`` prefix makes uniform processing of the
+link interface with generator expressions impossible. The
+INTERFACE_LINK_LIBRARIES target property was introduced as a
+replacement in CMake 2.8.12. This new property is named consistently
+with the INTERFACE_COMPILE_DEFINITIONS, INTERFACE_INCLUDE_DIRECTORIES
+and INTERFACE_COMPILE_OPTIONS properties. For in-build targets, CMake
+will use the INTERFACE_LINK_LIBRARIES property as the source of the
+link interface only if policy CMP0022 is NEW. When exporting a target
+which has this policy set to NEW, only the INTERFACE_LINK_LIBRARIES
+property will be processed and generated for the IMPORTED target by
+default. A new option to the install(EXPORT) and export commands
+allows export of the old-style properties for compatibility with
+downstream users of CMake versions older than 2.8.12. The
+target_link_libraries command will no longer populate the properties
+matching LINK_INTERFACE_LIBRARIES(_<CONFIG>)? if this policy is NEW.
+
+Warning-free future-compatible code which works with CMake 2.8.9 onwards
+can be written by using the ``LINK_PRIVATE`` and ``LINK_PUBLIC`` keywords
+of :command:`target_link_libraries`.
+
+The OLD behavior for this policy is to ignore the
+INTERFACE_LINK_LIBRARIES property for in-build targets. The NEW
+behavior for this policy is to use the INTERFACE_LINK_LIBRARIES
+property for in-build targets, and ignore the old properties matching
+``(IMPORTED_)?LINK_INTERFACE_LIBRARIES(_<CONFIG>)?``.
+
+This policy was introduced in CMake version 2.8.12. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0023.rst b/Help/policy/CMP0023.rst
new file mode 100644
index 0000000..962b624
--- /dev/null
+++ b/Help/policy/CMP0023.rst
@@ -0,0 +1,33 @@
+CMP0023
+-------
+
+Plain and keyword target_link_libraries signatures cannot be mixed.
+
+CMake 2.8.12 introduced the target_link_libraries signature using the
+PUBLIC, PRIVATE, and INTERFACE keywords to generalize the LINK_PUBLIC
+and LINK_PRIVATE keywords introduced in CMake 2.8.7. Use of
+signatures with any of these keywords sets the link interface of a
+target explicitly, even if empty. This produces confusing behavior
+when used in combination with the historical behavior of the plain
+target_link_libraries signature. For example, consider the code:
+
+::
+
+ target_link_libraries(mylib A)
+ target_link_libraries(mylib PRIVATE B)
+
+After the first line the link interface has not been set explicitly so
+CMake would use the link implementation, A, as the link interface.
+However, the second line sets the link interface to empty. In order
+to avoid this subtle behavior CMake now prefers to disallow mixing the
+plain and keyword signatures of target_link_libraries for a single
+target.
+
+The OLD behavior for this policy is to allow keyword and plain
+target_link_libraries signatures to be mixed. The NEW behavior for
+this policy is to not to allow mixing of the keyword and plain
+signatures.
+
+This policy was introduced in CMake version 2.8.12. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0024.rst b/Help/policy/CMP0024.rst
new file mode 100644
index 0000000..ee53d5f
--- /dev/null
+++ b/Help/policy/CMP0024.rst
@@ -0,0 +1,22 @@
+CMP0024
+-------
+
+Disallow include export result.
+
+CMake 2.8.12 and lower allowed use of the include() command with the
+result of the export() command. This relies on the assumption that
+the export() command has an immediate effect at configure-time during
+a cmake run. Certain properties of targets are not fully determined
+until later at generate-time, such as the link language and complete
+list of link libraries. Future refactoring will change the effect of
+the export() command to be executed at generate-time. Use ALIAS
+targets instead in cases where the goal is to refer to targets by
+another name.
+
+The OLD behavior for this policy is to allow including the result of
+an export() command. The NEW behavior for this policy is not to
+allow including the result of an export() command.
+
+This policy was introduced in CMake version 3.0. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0025.rst b/Help/policy/CMP0025.rst
new file mode 100644
index 0000000..8d19edf
--- /dev/null
+++ b/Help/policy/CMP0025.rst
@@ -0,0 +1,27 @@
+CMP0025
+-------
+
+Compiler id for Apple Clang is now ``AppleClang``.
+
+CMake 3.0 and above recognize that Apple Clang is a different compiler
+than upstream Clang and that they have different version numbers.
+CMake now prefers to present this to projects by setting the
+:variable:`CMAKE_<LANG>_COMPILER_ID` variable to ``AppleClang`` instead
+of ``Clang``. However, existing projects may assume the compiler id for
+Apple Clang is just ``Clang`` as it was in CMake versions prior to 3.0.
+Therefore this policy determines for Apple Clang which compiler id to
+report in the :variable:`CMAKE_<LANG>_COMPILER_ID` variable after
+language ``<LANG>`` is enabled by the :command:`project` or
+:command:`enable_language` command. The policy must be set prior
+to the invocation of either command.
+
+The OLD behavior for this policy is to use compiler id ``Clang``. The
+NEW behavior for this policy is to use compiler id ``AppleClang``.
+
+This policy was introduced in CMake version 3.0. Use the
+:command:`cmake_policy` command to set this policy to OLD or NEW explicitly.
+Unlike most policies, CMake version |release| does *not* warn
+by default when this policy is not set and simply uses OLD behavior.
+See documentation of the
+:variable:`CMAKE_POLICY_WARNING_CMP0025 <CMAKE_POLICY_WARNING_CMP<NNNN>>`
+variable to control the warning.
diff --git a/Help/policy/CMP0026.rst b/Help/policy/CMP0026.rst
new file mode 100644
index 0000000..177b655
--- /dev/null
+++ b/Help/policy/CMP0026.rst
@@ -0,0 +1,26 @@
+CMP0026
+-------
+
+Disallow use of the LOCATION target property.
+
+CMake 2.8.12 and lower allowed reading the LOCATION target
+property (and configuration-specific variants) to
+determine the eventual location of build targets. This relies on the
+assumption that all necessary information is available at
+configure-time to determine the final location and filename of the
+target. However, this property is not fully determined until later at
+generate-time. At generate time, the $<TARGET_FILE> generator
+expression can be used to determine the eventual LOCATION of a target
+output.
+
+Code which reads the LOCATION target property can be ported to use the
+$<TARGET_FILE> generator expression together with the file(GENERATE)
+subcommand to generate a file containing the target location.
+
+The OLD behavior for this policy is to allow reading the LOCATION
+properties from build-targets. The NEW behavior for this policy is to
+not to allow reading the LOCATION properties from build-targets.
+
+This policy was introduced in CMake version 3.0. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0027.rst b/Help/policy/CMP0027.rst
new file mode 100644
index 0000000..bedaffe
--- /dev/null
+++ b/Help/policy/CMP0027.rst
@@ -0,0 +1,25 @@
+CMP0027
+-------
+
+Conditionally linked imported targets with missing include directories.
+
+CMake 2.8.11 introduced introduced the concept of
+INTERFACE_INCLUDE_DIRECTORIES, and a check at cmake time that the
+entries in the INTERFACE_INCLUDE_DIRECTORIES of an IMPORTED target
+actually exist. CMake 2.8.11 also introduced generator expression
+support in the target_link_libraries command. However, if an imported
+target is linked as a result of a generator expression evaluation, the
+entries in the INTERFACE_INCLUDE_DIRECTORIES of that target were not
+checked for existence as they should be.
+
+The OLD behavior of this policy is to report a warning if an entry in
+the INTERFACE_INCLUDE_DIRECTORIES of a generator-expression
+conditionally linked IMPORTED target does not exist.
+
+The NEW behavior of this policy is to report an error if an entry in
+the INTERFACE_INCLUDE_DIRECTORIES of a generator-expression
+conditionally linked IMPORTED target does not exist.
+
+This policy was introduced in CMake version 3.0. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0028.rst b/Help/policy/CMP0028.rst
new file mode 100644
index 0000000..24889ec
--- /dev/null
+++ b/Help/policy/CMP0028.rst
@@ -0,0 +1,23 @@
+CMP0028
+-------
+
+Double colon in target name means ALIAS or IMPORTED target.
+
+CMake 2.8.12 and lower allowed the use of targets and files with double
+colons in target_link_libraries, with some buildsystem generators.
+
+The use of double-colons is a common pattern used to namespace IMPORTED
+targets and ALIAS targets. When computing the link dependencies of a target,
+the name of each dependency could either be a target, or a file on disk.
+Previously, if a target was not found with a matching name, the name was
+considered to refer to a file on disk. This can lead to confusing error
+messages if there is a typo in what should be a target name.
+
+The OLD behavior for this policy is to search for targets, then files on disk,
+even if the search term contains double-colons. The NEW behavior for this
+policy is to issue a FATAL_ERROR if a link dependency contains
+double-colons but is not an IMPORTED target or an ALIAS target.
+
+This policy was introduced in CMake version 3.0. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0029.rst b/Help/policy/CMP0029.rst
new file mode 100644
index 0000000..8f58a12
--- /dev/null
+++ b/Help/policy/CMP0029.rst
@@ -0,0 +1,10 @@
+CMP0029
+-------
+
+The :command:`subdir_depends` command should not be called.
+
+The implementation of this command has been empty since December 2001
+but was kept in CMake for compatibility for a long time.
+
+.. |disallowed_version| replace:: 3.0
+.. include:: DISALLOWED_COMMAND.txt
diff --git a/Help/policy/CMP0030.rst b/Help/policy/CMP0030.rst
new file mode 100644
index 0000000..9e31b38
--- /dev/null
+++ b/Help/policy/CMP0030.rst
@@ -0,0 +1,11 @@
+CMP0030
+-------
+
+The :command:`use_mangled_mesa` command should not be called.
+
+This command was created in September 2001 to support VTK before
+modern CMake language and custom command capabilities. VTK has
+not used it in years.
+
+.. |disallowed_version| replace:: 3.0
+.. include:: DISALLOWED_COMMAND.txt
diff --git a/Help/policy/CMP0031.rst b/Help/policy/CMP0031.rst
new file mode 100644
index 0000000..6b89558
--- /dev/null
+++ b/Help/policy/CMP0031.rst
@@ -0,0 +1,13 @@
+CMP0031
+-------
+
+The :command:`load_command` command should not be called.
+
+This command was added in August 2002 to allow projects to add
+arbitrary commands implemented in C or C++. However, it does
+not work when the toolchain in use does not match the ABI of
+the CMake process. It has been mostly superseded by the
+:command:`macro` and :command:`function` commands.
+
+.. |disallowed_version| replace:: 3.0
+.. include:: DISALLOWED_COMMAND.txt
diff --git a/Help/policy/CMP0032.rst b/Help/policy/CMP0032.rst
new file mode 100644
index 0000000..f394a06
--- /dev/null
+++ b/Help/policy/CMP0032.rst
@@ -0,0 +1,13 @@
+CMP0032
+-------
+
+The :command:`output_required_files` command should not be called.
+
+This command was added in June 2001 to expose the then-current CMake
+implicit dependency scanner. CMake's real implicit dependency scanner
+has evolved since then but is not exposed through this command. The
+scanning capabilities of this command are very limited and this
+functionality is better achieved through dedicated outside tools.
+
+.. |disallowed_version| replace:: 3.0
+.. include:: DISALLOWED_COMMAND.txt
diff --git a/Help/policy/CMP0033.rst b/Help/policy/CMP0033.rst
new file mode 100644
index 0000000..b420065
--- /dev/null
+++ b/Help/policy/CMP0033.rst
@@ -0,0 +1,14 @@
+CMP0033
+-------
+
+The :command:`export_library_dependencies` command should not be called.
+
+This command was added in January 2003 to export ``<tgt>_LIB_DEPENDS``
+internal CMake cache entries to a file for installation with a project.
+This was used at the time to allow transitive link dependencies to
+work for applications outside of the original build tree of a project.
+The functionality has been superseded by the :command:`export` and
+:command:`install(EXPORT)` commands.
+
+.. |disallowed_version| replace:: 3.0
+.. include:: DISALLOWED_COMMAND.txt
diff --git a/Help/policy/CMP0034.rst b/Help/policy/CMP0034.rst
new file mode 100644
index 0000000..2133997
--- /dev/null
+++ b/Help/policy/CMP0034.rst
@@ -0,0 +1,11 @@
+CMP0034
+-------
+
+The :command:`utility_source` command should not be called.
+
+This command was introduced in March 2001 to help build executables used to
+generate other files. This approach has long been replaced by
+:command:`add_executable` combined with :command:`add_custom_command`.
+
+.. |disallowed_version| replace:: 3.0
+.. include:: DISALLOWED_COMMAND.txt
diff --git a/Help/policy/CMP0035.rst b/Help/policy/CMP0035.rst
new file mode 100644
index 0000000..7335b22
--- /dev/null
+++ b/Help/policy/CMP0035.rst
@@ -0,0 +1,10 @@
+CMP0035
+-------
+
+The :command:`variable_requires` command should not be called.
+
+This command was introduced in November 2001 to perform some conditional
+logic. It has long been replaced by the :command:`if` command.
+
+.. |disallowed_version| replace:: 3.0
+.. include:: DISALLOWED_COMMAND.txt
diff --git a/Help/policy/CMP0036.rst b/Help/policy/CMP0036.rst
new file mode 100644
index 0000000..817f156
--- /dev/null
+++ b/Help/policy/CMP0036.rst
@@ -0,0 +1,12 @@
+CMP0036
+-------
+
+The :command:`build_name` command should not be called.
+
+This command was added in May 2001 to compute a name for the current
+operating system and compiler combination. The command has long been
+documented as discouraged and replaced by the :variable:`CMAKE_SYSTEM`
+and :variable:`CMAKE_<LANG>_COMPILER` variables.
+
+.. |disallowed_version| replace:: 3.0
+.. include:: DISALLOWED_COMMAND.txt
diff --git a/Help/policy/CMP0037.rst b/Help/policy/CMP0037.rst
new file mode 100644
index 0000000..4d485bf
--- /dev/null
+++ b/Help/policy/CMP0037.rst
@@ -0,0 +1,26 @@
+CMP0037
+-------
+
+Target names should not be reserved and should match a validity pattern.
+
+CMake 2.8.12 and lower allowed creating targets using :command:`add_library`,
+:command:`add_executable` and :command:`add_custom_target` with unrestricted
+choice for the target name. Newer cmake features such
+as :manual:`cmake-generator-expressions(7)` and some
+diagnostics expect target names to match a restricted pattern.
+
+Target names may contain upper and lower case letters, numbers, the underscore
+character (_), dot(.), plus(+) and minus(-). As a special case, ALIAS
+targets and IMPORTED targets may contain two consequtive colons.
+
+Target names reserved by one or more CMake generators are not allowed.
+Among others these include "all", "help" and "test".
+
+The OLD behavior for this policy is to allow creating targets with
+reserved names or which do not match the validity pattern.
+The NEW behavior for this policy is to report an error
+if an add_* command is used with an invalid target name.
+
+This policy was introduced in CMake version 3.0. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0038.rst b/Help/policy/CMP0038.rst
new file mode 100644
index 0000000..df5af6a
--- /dev/null
+++ b/Help/policy/CMP0038.rst
@@ -0,0 +1,16 @@
+CMP0038
+-------
+
+Targets may not link directly to themselves.
+
+CMake 2.8.12 and lower allowed a build target to link to itself directly with
+a :command:`target_link_libraries` call. This is an indicator of a bug in
+user code.
+
+The OLD behavior for this policy is to ignore targets which list themselves
+in their own link implementation. The NEW behavior for this policy is to
+report an error if a target attempts to link to itself.
+
+This policy was introduced in CMake version 3.0. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0039.rst b/Help/policy/CMP0039.rst
new file mode 100644
index 0000000..58ccc41
--- /dev/null
+++ b/Help/policy/CMP0039.rst
@@ -0,0 +1,17 @@
+CMP0039
+-------
+
+Utility targets may not have link dependencies.
+
+CMake 2.8.12 and lower allowed using utility targets in the left hand side
+position of the :command:`target_link_libraries` command. This is an indicator
+of a bug in user code.
+
+The OLD behavior for this policy is to ignore attempts to set the link
+libraries of utility targets. The NEW behavior for this policy is to
+report an error if an attempt is made to set the link libraries of a
+utility target.
+
+This policy was introduced in CMake version 3.0. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0040.rst b/Help/policy/CMP0040.rst
new file mode 100644
index 0000000..77a3c81
--- /dev/null
+++ b/Help/policy/CMP0040.rst
@@ -0,0 +1,16 @@
+CMP0040
+-------
+
+The target in the TARGET signature of add_custom_command() must exist.
+
+CMake 2.8.12 and lower silently ignored a custom command created with
+the TARGET signature of :command:`add_custom_command`
+if the target is unknown.
+
+The OLD behavior for this policy is to ignore custom commands
+for unknown targets. The NEW behavior for this policy is to report an error
+if the target referenced in :command:`add_custom_command` is unknown.
+
+This policy was introduced in CMake version 3.0. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0041.rst b/Help/policy/CMP0041.rst
new file mode 100644
index 0000000..5a47de0
--- /dev/null
+++ b/Help/policy/CMP0041.rst
@@ -0,0 +1,25 @@
+CMP0041
+-------
+
+Error on relative include with generator expression.
+
+Diagnostics in CMake 2.8.12 and lower silently ignored an entry in the
+:prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES` of a target if it contained a generator
+expression at any position.
+
+The path entries in that target property should not be relative. High-level
+API should ensure that by adding either a source directory or a install
+directory prefix, as appropriate.
+
+As an additional diagnostic, the :prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES` generated
+on an :prop_tgt:`IMPORTED` target for the install location should not contain
+paths in the source directory or the build directory.
+
+The OLD behavior for this policy is to ignore relative path entries if they
+contain a generator expression. The NEW behavior for this policy is to report
+an error if a generator expression appears in another location and the path is
+relative.
+
+This policy was introduced in CMake version 3.0. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0042.rst b/Help/policy/CMP0042.rst
new file mode 100644
index 0000000..fce870c
--- /dev/null
+++ b/Help/policy/CMP0042.rst
@@ -0,0 +1,19 @@
+CMP0042
+-------
+
+:prop_tgt:`MACOSX_RPATH` is enabled by default.
+
+CMake 2.8.12 and newer has support for using ``@rpath`` in a target's install
+name. This was enabled by setting the target property
+:prop_tgt:`MACOSX_RPATH`. The ``@rpath`` in an install name is a more
+flexible and powerful mechanism than ``@executable_path`` or ``@loader_path``
+for locating shared libraries.
+
+CMake 3.0 and later prefer this property to be ON by default. Projects
+wanting ``@rpath`` in a target's install name may remove any setting of
+the :prop_tgt:`INSTALL_NAME_DIR` and :variable:`CMAKE_INSTALL_NAME_DIR`
+variables.
+
+This policy was introduced in CMake version 3.0. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0043.rst b/Help/policy/CMP0043.rst
new file mode 100644
index 0000000..629e502
--- /dev/null
+++ b/Help/policy/CMP0043.rst
@@ -0,0 +1,45 @@
+CMP0043
+-------
+
+Ignore COMPILE_DEFINITIONS_<Config> properties
+
+CMake 2.8.12 and lower allowed setting the
+:prop_tgt:`COMPILE_DEFINITIONS_<CONFIG>` target property and
+:prop_dir:`COMPILE_DEFINITIONS_<CONFIG>` directory property to apply
+configuration-specific compile definitions.
+
+Since CMake 2.8.10, the :prop_tgt:`COMPILE_DEFINITIONS` property has supported
+:manual:`generator expressions <cmake-generator-expressions(7)>` for setting
+configuration-dependent content. The continued existence of the suffixed
+variables is redundant, and causes a maintenance burden. Population of the
+:prop_tgt:`COMPILE_DEFINITIONS_DEBUG <COMPILE_DEFINITIONS_<CONFIG>>` property
+may be replaced with a population of :prop_tgt:`COMPILE_DEFINITIONS` directly
+or via :command:`target_compile_definitions`:
+
+.. code-block:: cmake
+
+ # Old Interfaces:
+ set_property(TARGET tgt APPEND PROPERTY
+ COMPILE_DEFINITIONS_DEBUG DEBUG_MODE
+ )
+ set_property(DIRECTORY APPEND PROPERTY
+ COMPILE_DEFINITIONS_DEBUG DIR_DEBUG_MODE
+ )
+
+ # New Interfaces:
+ set_property(TARGET tgt APPEND PROPERTY
+ COMPILE_DEFINITIONS $<$<CONFIG:Debug>:DEBUG_MODE>
+ )
+ target_compile_definitions(tgt PRIVATE $<$<CONFIG:Debug>:DEBUG_MODE>)
+ set_property(DIRECTORY APPEND PROPERTY
+ COMPILE_DEFINITIONS $<$<CONFIG:Debug>:DIR_DEBUG_MODE>
+ )
+
+The OLD behavior for this policy is to consume the content of the suffixed
+:prop_tgt:`COMPILE_DEFINITIONS_<CONFIG>` target property when generating the
+compilation command. The NEW behavior for this policy is to ignore the content
+of the :prop_tgt:`COMPILE_DEFINITIONS_<CONFIG>` target property .
+
+This policy was introduced in CMake version 3.0. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0044.rst b/Help/policy/CMP0044.rst
new file mode 100644
index 0000000..4a3e215
--- /dev/null
+++ b/Help/policy/CMP0044.rst
@@ -0,0 +1,19 @@
+CMP0044
+-------
+
+Case sensitive ``<LANG>_COMPILER_ID`` generator expressions
+
+CMake 2.8.12 introduced the ``<LANG>_COMPILER_ID``
+:manual:`generator expressions <cmake-generator-expressions(7)>` to allow
+comparison of the :variable:`CMAKE_<LANG>_COMPILER_ID` with a test value. The
+possible valid values are lowercase, but the comparison with the test value
+was performed case-insensitively.
+
+The OLD behavior for this policy is to perform a case-insensitive comparison
+with the value in the ``<LANG>_COMPILER_ID`` expression. The NEW behavior
+for this policy is to perform a case-sensitive comparison with the value in
+the ``<LANG>_COMPILER_ID`` expression.
+
+This policy was introduced in CMake version 3.0. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0045.rst b/Help/policy/CMP0045.rst
new file mode 100644
index 0000000..58c422f
--- /dev/null
+++ b/Help/policy/CMP0045.rst
@@ -0,0 +1,17 @@
+CMP0045
+-------
+
+Error on non-existent target in get_target_property.
+
+In CMake 2.8.12 and lower, the :command:`get_target_property` command accepted
+a non-existent target argument without issuing any error or warning. The
+result variable is set to a ``-NOTFOUND`` value.
+
+The OLD behavior for this policy is to issue no warning and set the result
+variable to a ``-NOTFOUND`` value. The NEW behavior
+for this policy is to issue a ``FATAL_ERROR`` if the command is called with a
+non-existent target.
+
+This policy was introduced in CMake version 3.0. CMake version
+|release| warns when the policy is not set and uses OLD behavior. Use
+the cmake_policy command to set it to OLD or NEW explicitly.
diff --git a/Help/policy/CMP0046.rst b/Help/policy/CMP0046.rst
new file mode 100644
index 0000000..1a3bc65
--- /dev/null
+++ b/Help/policy/CMP0046.rst
@@ -0,0 +1,17 @@
+CMP0046
+-------
+
+Error on non-existent dependency in add_dependencies.
+
+CMake 2.8.12 and lower silently ignored non-existent dependencies
+listed in the :command:`add_dependencies` command.
+
+The OLD behavior for this policy is to silently ignore non-existent
+dependencies. The NEW behavior for this policy is to report an error
+if non-existent dependencies are listed in the :command:`add_dependencies`
+command.
+
+This policy was introduced in CMake version 3.0.
+CMake version |release| warns when the policy is not set and uses
+OLD behavior. Use the cmake_policy command to set it to OLD or
+NEW explicitly.
diff --git a/Help/policy/CMP0047.rst b/Help/policy/CMP0047.rst
new file mode 100644
index 0000000..26ae439
--- /dev/null
+++ b/Help/policy/CMP0047.rst
@@ -0,0 +1,28 @@
+CMP0047
+-------
+
+Use ``QCC`` compiler id for the qcc drivers on QNX.
+
+CMake 3.0 and above recognize that the QNX qcc compiler driver is
+different from the GNU compiler.
+CMake now prefers to present this to projects by setting the
+:variable:`CMAKE_<LANG>_COMPILER_ID` variable to ``QCC`` instead
+of ``GNU``. However, existing projects may assume the compiler id for
+QNX qcc is just ``GNU`` as it was in CMake versions prior to 3.0.
+Therefore this policy determines for QNX qcc which compiler id to
+report in the :variable:`CMAKE_<LANG>_COMPILER_ID` variable after
+language ``<LANG>`` is enabled by the :command:`project` or
+:command:`enable_language` command. The policy must be set prior
+to the invocation of either command.
+
+The OLD behavior for this policy is to use the ``GNU`` compiler id
+for the qcc and QCC compiler drivers. The NEW behavior for this policy
+is to use the ``QCC`` compiler id for those drivers.
+
+This policy was introduced in CMake version 3.0. Use the
+:command:`cmake_policy` command to set this policy to OLD or NEW explicitly.
+Unlike most policies, CMake version |release| does *not* warn
+by default when this policy is not set and simply uses OLD behavior.
+See documentation of the
+:variable:`CMAKE_POLICY_WARNING_CMP0047 <CMAKE_POLICY_WARNING_CMP<NNNN>>`
+variable to control the warning.
diff --git a/Help/policy/CMP0048.rst b/Help/policy/CMP0048.rst
new file mode 100644
index 0000000..a54205e
--- /dev/null
+++ b/Help/policy/CMP0048.rst
@@ -0,0 +1,22 @@
+CMP0048
+-------
+
+The :command:`project` command manages VERSION variables.
+
+CMake version 3.0 introduced the ``VERSION`` option of the :command:`project`
+command to specify a project version as well as the name. In order to keep
+:variable:`PROJECT_VERSION` and related variables consistent with variable
+:variable:`PROJECT_NAME` it is necessary to set the VERSION variables
+to the empty string when no ``VERSION`` is given to :command:`project`.
+However, this can change behavior for existing projects that set VERSION
+variables themselves since :command:`project` may now clear them.
+This policy controls the behavior for compatibility with such projects.
+
+The OLD behavior for this policy is to leave VERSION variables untouched.
+The NEW behavior for this policy is to set VERSION as documented by the
+:command:`project` command.
+
+This policy was introduced in CMake version 3.0.
+CMake version |release| warns when the policy is not set and uses
+OLD behavior. Use the cmake_policy command to set it to OLD or
+NEW explicitly.
diff --git a/Help/policy/CMP0049.rst b/Help/policy/CMP0049.rst
new file mode 100644
index 0000000..5c8d4a8
--- /dev/null
+++ b/Help/policy/CMP0049.rst
@@ -0,0 +1,23 @@
+CMP0049
+-------
+
+Do not expand variables in target source entries.
+
+CMake 2.8.12 and lower performed and extra layer of variable expansion
+when evaluating source file names:
+
+.. code-block:: cmake
+
+ set(a_source foo.c)
+ add_executable(foo \${a_source})
+
+This was undocumented behavior.
+
+The OLD behavior for this policy is to expand such variables when processing
+the target sources. The NEW behavior for this policy is to issue an error
+if such variables need to be expanded.
+
+This policy was introduced in CMake version 3.0.
+CMake version |release| warns when the policy is not set and uses
+OLD behavior. Use the cmake_policy command to set it to OLD or
+NEW explicitly.
diff --git a/Help/policy/CMP0050.rst b/Help/policy/CMP0050.rst
new file mode 100644
index 0000000..76ae0aa
--- /dev/null
+++ b/Help/policy/CMP0050.rst
@@ -0,0 +1,18 @@
+CMP0050
+-------
+
+Disallow add_custom_command SOURCE signatures.
+
+CMake 2.8.12 and lower allowed a signature for :command:`add_custom_command`
+which specified an input to a command. This was undocumented behavior.
+Modern use of CMake associates custom commands with their output, rather
+than their input.
+
+The OLD behavior for this policy is to allow the use of
+:command:`add_custom_command` SOURCE signatures. The NEW behavior for this
+policy is to issue an error if such a signature is used.
+
+This policy was introduced in CMake version 3.0.
+CMake version |release| warns when the policy is not set and uses
+OLD behavior. Use the cmake_policy command to set it to OLD or
+NEW explicitly.
diff --git a/Help/policy/DISALLOWED_COMMAND.txt b/Help/policy/DISALLOWED_COMMAND.txt
new file mode 100644
index 0000000..36280d2
--- /dev/null
+++ b/Help/policy/DISALLOWED_COMMAND.txt
@@ -0,0 +1,9 @@
+CMake >= |disallowed_version| prefer that this command never be called.
+The OLD behavior for this policy is to allow the command to be called.
+The NEW behavior for this policy is to issue a FATAL_ERROR when the
+command is called.
+
+This policy was introduced in CMake version |disallowed_version|.
+CMake version |release| warns when the policy is not set and uses
+OLD behavior. Use the cmake_policy command to set it to OLD or
+NEW explicitly.
diff --git a/Help/prop_cache/ADVANCED.rst b/Help/prop_cache/ADVANCED.rst
new file mode 100644
index 0000000..a0a4f73
--- /dev/null
+++ b/Help/prop_cache/ADVANCED.rst
@@ -0,0 +1,8 @@
+ADVANCED
+--------
+
+True if entry should be hidden by default in GUIs.
+
+This is a boolean value indicating whether the entry is considered
+interesting only for advanced configuration. The mark_as_advanced()
+command modifies this property.
diff --git a/Help/prop_cache/HELPSTRING.rst b/Help/prop_cache/HELPSTRING.rst
new file mode 100644
index 0000000..71a86d0
--- /dev/null
+++ b/Help/prop_cache/HELPSTRING.rst
@@ -0,0 +1,7 @@
+HELPSTRING
+----------
+
+Help associated with entry in GUIs.
+
+This string summarizes the purpose of an entry to help users set it
+through a CMake GUI.
diff --git a/Help/prop_cache/MODIFIED.rst b/Help/prop_cache/MODIFIED.rst
new file mode 100644
index 0000000..3ad7035
--- /dev/null
+++ b/Help/prop_cache/MODIFIED.rst
@@ -0,0 +1,7 @@
+MODIFIED
+--------
+
+Internal management property. Do not set or get.
+
+This is an internal cache entry property managed by CMake to track
+interactive user modification of entries. Ignore it.
diff --git a/Help/prop_cache/STRINGS.rst b/Help/prop_cache/STRINGS.rst
new file mode 100644
index 0000000..2f8e32e
--- /dev/null
+++ b/Help/prop_cache/STRINGS.rst
@@ -0,0 +1,9 @@
+STRINGS
+-------
+
+Enumerate possible STRING entry values for GUI selection.
+
+For cache entries with type STRING, this enumerates a set of values.
+CMake GUIs may use this to provide a selection widget instead of a
+generic string entry field. This is for convenience only. CMake does
+not enforce that the value matches one of those listed.
diff --git a/Help/prop_cache/TYPE.rst b/Help/prop_cache/TYPE.rst
new file mode 100644
index 0000000..eb75c2a
--- /dev/null
+++ b/Help/prop_cache/TYPE.rst
@@ -0,0 +1,21 @@
+TYPE
+----
+
+Widget type for entry in GUIs.
+
+Cache entry values are always strings, but CMake GUIs present widgets
+to help users set values. The GUIs use this property as a hint to
+determine the widget type. Valid TYPE values are:
+
+::
+
+ BOOL = Boolean ON/OFF value.
+ PATH = Path to a directory.
+ FILEPATH = Path to a file.
+ STRING = Generic string value.
+ INTERNAL = Do not present in GUI at all.
+ STATIC = Value managed by CMake, do not change.
+ UNINITIALIZED = Type not yet specified.
+
+Generally the TYPE of a cache entry should be set by the command which
+creates it (set, option, find_library, etc.).
diff --git a/Help/prop_cache/VALUE.rst b/Help/prop_cache/VALUE.rst
new file mode 100644
index 0000000..59aabd4
--- /dev/null
+++ b/Help/prop_cache/VALUE.rst
@@ -0,0 +1,7 @@
+VALUE
+-----
+
+Value of a cache entry.
+
+This property maps to the actual value of a cache entry. Setting this
+property always sets the value without checking, so use with care.
diff --git a/Help/prop_dir/ADDITIONAL_MAKE_CLEAN_FILES.rst b/Help/prop_dir/ADDITIONAL_MAKE_CLEAN_FILES.rst
new file mode 100644
index 0000000..e32eed3
--- /dev/null
+++ b/Help/prop_dir/ADDITIONAL_MAKE_CLEAN_FILES.rst
@@ -0,0 +1,7 @@
+ADDITIONAL_MAKE_CLEAN_FILES
+---------------------------
+
+Additional files to clean during the make clean stage.
+
+A list of files that will be cleaned as a part of the "make clean"
+stage.
diff --git a/Help/prop_dir/CACHE_VARIABLES.rst b/Help/prop_dir/CACHE_VARIABLES.rst
new file mode 100644
index 0000000..2c66f93
--- /dev/null
+++ b/Help/prop_dir/CACHE_VARIABLES.rst
@@ -0,0 +1,7 @@
+CACHE_VARIABLES
+---------------
+
+List of cache variables available in the current directory.
+
+This read-only property specifies the list of CMake cache variables
+currently defined. It is intended for debugging purposes.
diff --git a/Help/prop_dir/CLEAN_NO_CUSTOM.rst b/Help/prop_dir/CLEAN_NO_CUSTOM.rst
new file mode 100644
index 0000000..9a4173e
--- /dev/null
+++ b/Help/prop_dir/CLEAN_NO_CUSTOM.rst
@@ -0,0 +1,7 @@
+CLEAN_NO_CUSTOM
+---------------
+
+Should the output of custom commands be left.
+
+If this is true then the outputs of custom commands for this directory
+will not be removed during the "make clean" stage.
diff --git a/Help/prop_dir/CMAKE_CONFIGURE_DEPENDS.rst b/Help/prop_dir/CMAKE_CONFIGURE_DEPENDS.rst
new file mode 100644
index 0000000..b1aef19
--- /dev/null
+++ b/Help/prop_dir/CMAKE_CONFIGURE_DEPENDS.rst
@@ -0,0 +1,9 @@
+CMAKE_CONFIGURE_DEPENDS
+-----------------------
+
+Tell CMake about additional input files to the configuration process.
+If any named file is modified the build system will re-run CMake to
+re-configure the file and generate the build system again.
+
+Specify files as a semicolon-separated list of paths. Relative paths
+are interpreted as relative to the current source directory.
diff --git a/Help/prop_dir/COMPILE_DEFINITIONS.rst b/Help/prop_dir/COMPILE_DEFINITIONS.rst
new file mode 100644
index 0000000..ab7e7f0
--- /dev/null
+++ b/Help/prop_dir/COMPILE_DEFINITIONS.rst
@@ -0,0 +1,32 @@
+COMPILE_DEFINITIONS
+-------------------
+
+Preprocessor definitions for compiling a directory's sources.
+
+This property specifies the list of options given so far to the
+:command:`add_definitions` command.
+
+The ``COMPILE_DEFINITIONS`` property may be set to a semicolon-separated
+list of preprocessor definitions using the syntax ``VAR`` or ``VAR=value``.
+Function-style definitions are not supported. CMake will
+automatically escape the value correctly for the native build system
+(note that CMake language syntax may require escapes to specify some
+values).
+
+This property will be initialized in each directory by its value in the
+directory's parent.
+
+CMake will automatically drop some definitions that are not supported
+by the native build tool. The VS6 IDE does not support definition
+values with spaces (but NMake does).
+
+.. include:: /include/COMPILE_DEFINITIONS_DISCLAIMER.txt
+
+Contents of ``COMPILE_DEFINITIONS`` may use "generator expressions" with
+the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
+manual for available expressions. See the :manual:`cmake-buildsystem(7)`
+manual for more on defining buildsystem properties.
+
+The corresponding :prop_dir:`COMPILE_DEFINITIONS_<CONFIG>` property may
+be set to specify per-configuration definitions. Generator expressions
+should be preferred instead of setting the alternative property.
diff --git a/Help/prop_dir/COMPILE_DEFINITIONS_CONFIG.rst b/Help/prop_dir/COMPILE_DEFINITIONS_CONFIG.rst
new file mode 100644
index 0000000..c22606b
--- /dev/null
+++ b/Help/prop_dir/COMPILE_DEFINITIONS_CONFIG.rst
@@ -0,0 +1,17 @@
+COMPILE_DEFINITIONS_<CONFIG>
+----------------------------
+
+Per-configuration preprocessor definitions in a directory.
+
+This is the configuration-specific version of :prop_dir:`COMPILE_DEFINITIONS`
+where ``<CONFIG>`` is an upper-case name (ex. ``COMPILE_DEFINITIONS_DEBUG``).
+
+This property will be initialized in each directory by its value in
+the directory's parent.
+
+Contents of ``COMPILE_DEFINITIONS_<CONFIG>`` may use "generator expressions"
+with the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
+manual for available expressions. See the :manual:`cmake-buildsystem(7)`
+manual for more on defining buildsystem properties.
+
+Generator expressions should be preferred instead of setting this property.
diff --git a/Help/prop_dir/COMPILE_OPTIONS.rst b/Help/prop_dir/COMPILE_OPTIONS.rst
new file mode 100644
index 0000000..5953059
--- /dev/null
+++ b/Help/prop_dir/COMPILE_OPTIONS.rst
@@ -0,0 +1,16 @@
+COMPILE_OPTIONS
+---------------
+
+List of options to pass to the compiler.
+
+This property specifies the list of options given so far to the
+:command:`add_compile_options` command.
+
+This property is used to populate the :prop_tgt:`COMPILE_OPTIONS` target
+property, which is used by the generators to set the options for the
+compiler.
+
+Contents of ``COMPILE_OPTIONS`` may use "generator expressions" with the
+syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)` manual
+for available expressions. See the :manual:`cmake-buildsystem(7)` manual
+for more on defining buildsystem properties.
diff --git a/Help/prop_dir/DEFINITIONS.rst b/Help/prop_dir/DEFINITIONS.rst
new file mode 100644
index 0000000..22f7c15
--- /dev/null
+++ b/Help/prop_dir/DEFINITIONS.rst
@@ -0,0 +1,8 @@
+DEFINITIONS
+-----------
+
+For CMake 2.4 compatibility only. Use COMPILE_DEFINITIONS instead.
+
+This read-only property specifies the list of flags given so far to
+the add_definitions command. It is intended for debugging purposes.
+Use the COMPILE_DEFINITIONS instead.
diff --git a/Help/prop_dir/EXCLUDE_FROM_ALL.rst b/Help/prop_dir/EXCLUDE_FROM_ALL.rst
new file mode 100644
index 0000000..1aa24e4
--- /dev/null
+++ b/Help/prop_dir/EXCLUDE_FROM_ALL.rst
@@ -0,0 +1,9 @@
+EXCLUDE_FROM_ALL
+----------------
+
+Exclude the directory from the all target of its parent.
+
+A property on a directory that indicates if its targets are excluded
+from the default build target. If it is not, then with a Makefile for
+example typing make will cause the targets to be built. The same
+concept applies to the default build of other generators.
diff --git a/Help/prop_dir/IMPLICIT_DEPENDS_INCLUDE_TRANSFORM.rst b/Help/prop_dir/IMPLICIT_DEPENDS_INCLUDE_TRANSFORM.rst
new file mode 100644
index 0000000..993f620
--- /dev/null
+++ b/Help/prop_dir/IMPLICIT_DEPENDS_INCLUDE_TRANSFORM.rst
@@ -0,0 +1,34 @@
+IMPLICIT_DEPENDS_INCLUDE_TRANSFORM
+----------------------------------
+
+Specify #include line transforms for dependencies in a directory.
+
+This property specifies rules to transform macro-like #include lines
+during implicit dependency scanning of C and C++ source files. The
+list of rules must be semicolon-separated with each entry of the form
+"A_MACRO(%)=value-with-%" (the % must be literal). During dependency
+scanning occurrences of A_MACRO(...) on #include lines will be
+replaced by the value given with the macro argument substituted for
+'%'. For example, the entry
+
+::
+
+ MYDIR(%)=<mydir/%>
+
+will convert lines of the form
+
+::
+
+ #include MYDIR(myheader.h)
+
+to
+
+::
+
+ #include <mydir/myheader.h>
+
+allowing the dependency to be followed.
+
+This property applies to sources in all targets within a directory.
+The property value is initialized in each directory by its value in
+the directory's parent.
diff --git a/Help/prop_dir/INCLUDE_DIRECTORIES.rst b/Help/prop_dir/INCLUDE_DIRECTORIES.rst
new file mode 100644
index 0000000..baba49b
--- /dev/null
+++ b/Help/prop_dir/INCLUDE_DIRECTORIES.rst
@@ -0,0 +1,26 @@
+INCLUDE_DIRECTORIES
+-------------------
+
+List of preprocessor include file search directories.
+
+This property specifies the list of directories given so far to the
+:command:`include_directories` command.
+
+This property is used to populate the :prop_tgt:`INCLUDE_DIRECTORIES`
+target property, which is used by the generators to set the include
+directories for the compiler.
+
+In addition to accepting values from that command, values may be set
+directly on any directory using the :command:`set_property` command. A
+directory gets its initial value from its parent directory if it has one.
+The intial value of the :prop_tgt:`INCLUDE_DIRECTORIES` target property
+comes from the value of this property. Both directory and target property
+values are adjusted by calls to the :command:`include_directories` command.
+
+The target property values are used by the generators to set the
+include paths for the compiler.
+
+Contents of ``INCLUDE_DIRECTORIES`` may use "generator expressions" with
+the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
+manual for available expressions. See the :manual:`cmake-buildsystem(7)`
+manual for more on defining buildsystem properties.
diff --git a/Help/prop_dir/INCLUDE_REGULAR_EXPRESSION.rst b/Help/prop_dir/INCLUDE_REGULAR_EXPRESSION.rst
new file mode 100644
index 0000000..befafa5
--- /dev/null
+++ b/Help/prop_dir/INCLUDE_REGULAR_EXPRESSION.rst
@@ -0,0 +1,8 @@
+INCLUDE_REGULAR_EXPRESSION
+--------------------------
+
+Include file scanning regular expression.
+
+This read-only property specifies the regular expression used during
+dependency scanning to match include files that should be followed.
+See the include_regular_expression command.
diff --git a/Help/prop_dir/INTERPROCEDURAL_OPTIMIZATION.rst b/Help/prop_dir/INTERPROCEDURAL_OPTIMIZATION.rst
new file mode 100644
index 0000000..0c78dfb
--- /dev/null
+++ b/Help/prop_dir/INTERPROCEDURAL_OPTIMIZATION.rst
@@ -0,0 +1,7 @@
+INTERPROCEDURAL_OPTIMIZATION
+----------------------------
+
+Enable interprocedural optimization for targets in a directory.
+
+If set to true, enables interprocedural optimizations if they are
+known to be supported by the compiler.
diff --git a/Help/prop_dir/INTERPROCEDURAL_OPTIMIZATION_CONFIG.rst b/Help/prop_dir/INTERPROCEDURAL_OPTIMIZATION_CONFIG.rst
new file mode 100644
index 0000000..32520865
--- /dev/null
+++ b/Help/prop_dir/INTERPROCEDURAL_OPTIMIZATION_CONFIG.rst
@@ -0,0 +1,8 @@
+INTERPROCEDURAL_OPTIMIZATION_<CONFIG>
+-------------------------------------
+
+Per-configuration interprocedural optimization for a directory.
+
+This is a per-configuration version of INTERPROCEDURAL_OPTIMIZATION.
+If set, this property overrides the generic property for the named
+configuration.
diff --git a/Help/prop_dir/LINK_DIRECTORIES.rst b/Help/prop_dir/LINK_DIRECTORIES.rst
new file mode 100644
index 0000000..fa37576
--- /dev/null
+++ b/Help/prop_dir/LINK_DIRECTORIES.rst
@@ -0,0 +1,8 @@
+LINK_DIRECTORIES
+----------------
+
+List of linker search directories.
+
+This read-only property specifies the list of directories given so far
+to the link_directories command. It is intended for debugging
+purposes.
diff --git a/Help/prop_dir/LISTFILE_STACK.rst b/Help/prop_dir/LISTFILE_STACK.rst
new file mode 100644
index 0000000..f729c1e
--- /dev/null
+++ b/Help/prop_dir/LISTFILE_STACK.rst
@@ -0,0 +1,9 @@
+LISTFILE_STACK
+--------------
+
+The current stack of listfiles being processed.
+
+This property is mainly useful when trying to debug errors in your
+CMake scripts. It returns a list of what list files are currently
+being processed, in order. So if one listfile does an INCLUDE command
+then that is effectively pushing the included listfile onto the stack.
diff --git a/Help/prop_dir/MACROS.rst b/Help/prop_dir/MACROS.rst
new file mode 100644
index 0000000..e4feada
--- /dev/null
+++ b/Help/prop_dir/MACROS.rst
@@ -0,0 +1,8 @@
+MACROS
+------
+
+List of macro commands available in the current directory.
+
+This read-only property specifies the list of CMake macros currently
+defined. It is intended for debugging purposes. See the macro
+command.
diff --git a/Help/prop_dir/PARENT_DIRECTORY.rst b/Help/prop_dir/PARENT_DIRECTORY.rst
new file mode 100644
index 0000000..3bc5824
--- /dev/null
+++ b/Help/prop_dir/PARENT_DIRECTORY.rst
@@ -0,0 +1,8 @@
+PARENT_DIRECTORY
+----------------
+
+Source directory that added current subdirectory.
+
+This read-only property specifies the source directory that added the
+current source directory as a subdirectory of the build. In the
+top-level directory the value is the empty-string.
diff --git a/Help/prop_dir/RULE_LAUNCH_COMPILE.rst b/Help/prop_dir/RULE_LAUNCH_COMPILE.rst
new file mode 100644
index 0000000..342d0ae
--- /dev/null
+++ b/Help/prop_dir/RULE_LAUNCH_COMPILE.rst
@@ -0,0 +1,7 @@
+RULE_LAUNCH_COMPILE
+-------------------
+
+Specify a launcher for compile rules.
+
+See the global property of the same name for details. This overrides
+the global property for a directory.
diff --git a/Help/prop_dir/RULE_LAUNCH_CUSTOM.rst b/Help/prop_dir/RULE_LAUNCH_CUSTOM.rst
new file mode 100644
index 0000000..93d1e01
--- /dev/null
+++ b/Help/prop_dir/RULE_LAUNCH_CUSTOM.rst
@@ -0,0 +1,7 @@
+RULE_LAUNCH_CUSTOM
+------------------
+
+Specify a launcher for custom rules.
+
+See the global property of the same name for details. This overrides
+the global property for a directory.
diff --git a/Help/prop_dir/RULE_LAUNCH_LINK.rst b/Help/prop_dir/RULE_LAUNCH_LINK.rst
new file mode 100644
index 0000000..3cfb236
--- /dev/null
+++ b/Help/prop_dir/RULE_LAUNCH_LINK.rst
@@ -0,0 +1,7 @@
+RULE_LAUNCH_LINK
+----------------
+
+Specify a launcher for link rules.
+
+See the global property of the same name for details. This overrides
+the global property for a directory.
diff --git a/Help/prop_dir/TEST_INCLUDE_FILE.rst b/Help/prop_dir/TEST_INCLUDE_FILE.rst
new file mode 100644
index 0000000..e477951
--- /dev/null
+++ b/Help/prop_dir/TEST_INCLUDE_FILE.rst
@@ -0,0 +1,7 @@
+TEST_INCLUDE_FILE
+-----------------
+
+A cmake file that will be included when ctest is run.
+
+If you specify TEST_INCLUDE_FILE, that file will be included and
+processed when ctest is run on the directory.
diff --git a/Help/prop_dir/VARIABLES.rst b/Help/prop_dir/VARIABLES.rst
new file mode 100644
index 0000000..0328295
--- /dev/null
+++ b/Help/prop_dir/VARIABLES.rst
@@ -0,0 +1,7 @@
+VARIABLES
+---------
+
+List of variables defined in the current directory.
+
+This read-only property specifies the list of CMake variables
+currently defined. It is intended for debugging purposes.
diff --git a/Help/prop_dir/VS_GLOBAL_SECTION_POST_section.rst b/Help/prop_dir/VS_GLOBAL_SECTION_POST_section.rst
new file mode 100644
index 0000000..eb91832
--- /dev/null
+++ b/Help/prop_dir/VS_GLOBAL_SECTION_POST_section.rst
@@ -0,0 +1,29 @@
+VS_GLOBAL_SECTION_POST_<section>
+--------------------------------
+
+Specify a postSolution global section in Visual Studio.
+
+Setting a property like this generates an entry of the following form
+in the solution file:
+
+::
+
+ GlobalSection(<section>) = postSolution
+ <contents based on property value>
+ EndGlobalSection
+
+The property must be set to a semicolon-separated list of key=value
+pairs. Each such pair will be transformed into an entry in the
+solution global section. Whitespace around key and value is ignored.
+List elements which do not contain an equal sign are skipped.
+
+This property only works for Visual Studio 7 and above; it is ignored
+on other generators. The property only applies when set on a
+directory whose CMakeLists.txt contains a project() command.
+
+Note that CMake generates postSolution sections ExtensibilityGlobals
+and ExtensibilityAddIns by default. If you set the corresponding
+property, it will override the default section. For example, setting
+VS_GLOBAL_SECTION_POST_ExtensibilityGlobals will override the default
+contents of the ExtensibilityGlobals section, while keeping
+ExtensibilityAddIns on its default.
diff --git a/Help/prop_dir/VS_GLOBAL_SECTION_PRE_section.rst b/Help/prop_dir/VS_GLOBAL_SECTION_PRE_section.rst
new file mode 100644
index 0000000..fbcd9e6
--- /dev/null
+++ b/Help/prop_dir/VS_GLOBAL_SECTION_PRE_section.rst
@@ -0,0 +1,22 @@
+VS_GLOBAL_SECTION_PRE_<section>
+-------------------------------
+
+Specify a preSolution global section in Visual Studio.
+
+Setting a property like this generates an entry of the following form
+in the solution file:
+
+::
+
+ GlobalSection(<section>) = preSolution
+ <contents based on property value>
+ EndGlobalSection
+
+The property must be set to a semicolon-separated list of key=value
+pairs. Each such pair will be transformed into an entry in the
+solution global section. Whitespace around key and value is ignored.
+List elements which do not contain an equal sign are skipped.
+
+This property only works for Visual Studio 7 and above; it is ignored
+on other generators. The property only applies when set on a
+directory whose CMakeLists.txt contains a project() command.
diff --git a/Help/prop_gbl/ALLOW_DUPLICATE_CUSTOM_TARGETS.rst b/Help/prop_gbl/ALLOW_DUPLICATE_CUSTOM_TARGETS.rst
new file mode 100644
index 0000000..8fab503
--- /dev/null
+++ b/Help/prop_gbl/ALLOW_DUPLICATE_CUSTOM_TARGETS.rst
@@ -0,0 +1,19 @@
+ALLOW_DUPLICATE_CUSTOM_TARGETS
+------------------------------
+
+Allow duplicate custom targets to be created.
+
+Normally CMake requires that all targets built in a project have
+globally unique logical names (see policy CMP0002). This is necessary
+to generate meaningful project file names in Xcode and VS IDE
+generators. It also allows the target names to be referenced
+unambiguously.
+
+Makefile generators are capable of supporting duplicate custom target
+names. For projects that care only about Makefile generators and do
+not wish to support Xcode or VS IDE generators, one may set this
+property to true to allow duplicate custom targets. The property
+allows multiple add_custom_target command calls in different
+directories to specify the same target name. However, setting this
+property will cause non-Makefile generators to produce an error and
+refuse to generate the project.
diff --git a/Help/prop_gbl/AUTOGEN_TARGETS_FOLDER.rst b/Help/prop_gbl/AUTOGEN_TARGETS_FOLDER.rst
new file mode 100644
index 0000000..5a69ef3
--- /dev/null
+++ b/Help/prop_gbl/AUTOGEN_TARGETS_FOLDER.rst
@@ -0,0 +1,9 @@
+AUTOGEN_TARGETS_FOLDER
+----------------------
+
+Name of :prop_tgt:`FOLDER` for ``*_automoc`` targets that are added automatically by
+CMake for targets for which :prop_tgt:`AUTOMOC` is enabled.
+
+If not set, CMake uses the :prop_tgt:`FOLDER` property of the parent target as a
+default value for this property. See also the documentation for the
+:prop_tgt:`FOLDER` target property and the :prop_tgt:`AUTOMOC` target property.
diff --git a/Help/prop_gbl/AUTOMOC_TARGETS_FOLDER.rst b/Help/prop_gbl/AUTOMOC_TARGETS_FOLDER.rst
new file mode 100644
index 0000000..671f86a
--- /dev/null
+++ b/Help/prop_gbl/AUTOMOC_TARGETS_FOLDER.rst
@@ -0,0 +1,11 @@
+AUTOMOC_TARGETS_FOLDER
+----------------------
+
+Name of :prop_tgt:`FOLDER` for ``*_automoc`` targets that are added automatically by
+CMake for targets for which :prop_tgt:`AUTOMOC` is enabled.
+
+This property is obsolete. Use :prop_gbl:`AUTOGEN_TARGETS_FOLDER` instead.
+
+If not set, CMake uses the :prop_tgt:`FOLDER` property of the parent target as a
+default value for this property. See also the documentation for the
+:prop_tgt:`FOLDER` target property and the :prop_tgt:`AUTOMOC` target property.
diff --git a/Help/prop_gbl/DEBUG_CONFIGURATIONS.rst b/Help/prop_gbl/DEBUG_CONFIGURATIONS.rst
new file mode 100644
index 0000000..690143f
--- /dev/null
+++ b/Help/prop_gbl/DEBUG_CONFIGURATIONS.rst
@@ -0,0 +1,14 @@
+DEBUG_CONFIGURATIONS
+--------------------
+
+Specify which configurations are for debugging.
+
+The value must be a semi-colon separated list of configuration names.
+Currently this property is used only by the target_link_libraries
+command (see its documentation for details). Additional uses may be
+defined in the future.
+
+This property must be set at the top level of the project and before
+the first target_link_libraries command invocation. If any entry in
+the list does not match a valid configuration for the project the
+behavior is undefined.
diff --git a/Help/prop_gbl/DISABLED_FEATURES.rst b/Help/prop_gbl/DISABLED_FEATURES.rst
new file mode 100644
index 0000000..111cdf6
--- /dev/null
+++ b/Help/prop_gbl/DISABLED_FEATURES.rst
@@ -0,0 +1,11 @@
+DISABLED_FEATURES
+-----------------
+
+List of features which are disabled during the CMake run.
+
+List of features which are disabled during the CMake run. By default
+it contains the names of all packages which were not found. This is
+determined using the <NAME>_FOUND variables. Packages which are
+searched QUIET are not listed. A project can add its own features to
+this list. This property is used by the macros in
+FeatureSummary.cmake.
diff --git a/Help/prop_gbl/ECLIPSE_EXTRA_NATURES.rst b/Help/prop_gbl/ECLIPSE_EXTRA_NATURES.rst
new file mode 100644
index 0000000..6d1529d
--- /dev/null
+++ b/Help/prop_gbl/ECLIPSE_EXTRA_NATURES.rst
@@ -0,0 +1,8 @@
+ECLIPSE_EXTRA_NATURES
+---------------------
+
+List of natures to add to the generated Eclipse project file.
+
+Eclipse projects specify language plugins by using natures. This property
+should be set to the unique identifier for a nature (which looks like a Java
+package name).
diff --git a/Help/prop_gbl/ENABLED_FEATURES.rst b/Help/prop_gbl/ENABLED_FEATURES.rst
new file mode 100644
index 0000000..b03da5a
--- /dev/null
+++ b/Help/prop_gbl/ENABLED_FEATURES.rst
@@ -0,0 +1,11 @@
+ENABLED_FEATURES
+----------------
+
+List of features which are enabled during the CMake run.
+
+List of features which are enabled during the CMake run. By default
+it contains the names of all packages which were found. This is
+determined using the <NAME>_FOUND variables. Packages which are
+searched QUIET are not listed. A project can add its own features to
+this list. This property is used by the macros in
+FeatureSummary.cmake.
diff --git a/Help/prop_gbl/ENABLED_LANGUAGES.rst b/Help/prop_gbl/ENABLED_LANGUAGES.rst
new file mode 100644
index 0000000..43e3c09
--- /dev/null
+++ b/Help/prop_gbl/ENABLED_LANGUAGES.rst
@@ -0,0 +1,6 @@
+ENABLED_LANGUAGES
+-----------------
+
+Read-only property that contains the list of currently enabled languages
+
+Set to list of currently enabled languages.
diff --git a/Help/prop_gbl/FIND_LIBRARY_USE_LIB64_PATHS.rst b/Help/prop_gbl/FIND_LIBRARY_USE_LIB64_PATHS.rst
new file mode 100644
index 0000000..185246c
--- /dev/null
+++ b/Help/prop_gbl/FIND_LIBRARY_USE_LIB64_PATHS.rst
@@ -0,0 +1,9 @@
+FIND_LIBRARY_USE_LIB64_PATHS
+----------------------------
+
+Whether FIND_LIBRARY should automatically search lib64 directories.
+
+FIND_LIBRARY_USE_LIB64_PATHS is a boolean specifying whether the
+FIND_LIBRARY command should automatically search the lib64 variant of
+directories called lib in the search path when building 64-bit
+binaries.
diff --git a/Help/prop_gbl/FIND_LIBRARY_USE_OPENBSD_VERSIONING.rst b/Help/prop_gbl/FIND_LIBRARY_USE_OPENBSD_VERSIONING.rst
new file mode 100644
index 0000000..9a3edd8
--- /dev/null
+++ b/Help/prop_gbl/FIND_LIBRARY_USE_OPENBSD_VERSIONING.rst
@@ -0,0 +1,9 @@
+FIND_LIBRARY_USE_OPENBSD_VERSIONING
+-----------------------------------
+
+Whether FIND_LIBRARY should find OpenBSD-style shared libraries.
+
+This property is a boolean specifying whether the FIND_LIBRARY command
+should find shared libraries with OpenBSD-style versioned extension:
+".so.<major>.<minor>". The property is set to true on OpenBSD and
+false on other platforms.
diff --git a/Help/prop_gbl/GLOBAL_DEPENDS_DEBUG_MODE.rst b/Help/prop_gbl/GLOBAL_DEPENDS_DEBUG_MODE.rst
new file mode 100644
index 0000000..832503b
--- /dev/null
+++ b/Help/prop_gbl/GLOBAL_DEPENDS_DEBUG_MODE.rst
@@ -0,0 +1,8 @@
+GLOBAL_DEPENDS_DEBUG_MODE
+-------------------------
+
+Enable global target dependency graph debug mode.
+
+CMake automatically analyzes the global inter-target dependency graph
+at the beginning of native build system generation. This property
+causes it to display details of its analysis to stderr.
diff --git a/Help/prop_gbl/GLOBAL_DEPENDS_NO_CYCLES.rst b/Help/prop_gbl/GLOBAL_DEPENDS_NO_CYCLES.rst
new file mode 100644
index 0000000..d10661e
--- /dev/null
+++ b/Help/prop_gbl/GLOBAL_DEPENDS_NO_CYCLES.rst
@@ -0,0 +1,10 @@
+GLOBAL_DEPENDS_NO_CYCLES
+------------------------
+
+Disallow global target dependency graph cycles.
+
+CMake automatically analyzes the global inter-target dependency graph
+at the beginning of native build system generation. It reports an
+error if the dependency graph contains a cycle that does not consist
+of all STATIC library targets. This property tells CMake to disallow
+all cycles completely, even among static libraries.
diff --git a/Help/prop_gbl/IN_TRY_COMPILE.rst b/Help/prop_gbl/IN_TRY_COMPILE.rst
new file mode 100644
index 0000000..3a2ef5b
--- /dev/null
+++ b/Help/prop_gbl/IN_TRY_COMPILE.rst
@@ -0,0 +1,6 @@
+IN_TRY_COMPILE
+--------------
+
+Read-only property that is true during a try-compile configuration.
+
+True when building a project inside a TRY_COMPILE or TRY_RUN command.
diff --git a/Help/prop_gbl/JOB_POOLS.rst b/Help/prop_gbl/JOB_POOLS.rst
new file mode 100644
index 0000000..98b9f7e
--- /dev/null
+++ b/Help/prop_gbl/JOB_POOLS.rst
@@ -0,0 +1,20 @@
+JOB_POOLS
+---------
+
+Ninja only: List of available pools.
+
+A pool is a named integer property and defines the maximum number
+of concurrent jobs which can be started by a rule assigned to the pool.
+The :prop_gbl:`JOB_POOLS` property is a semicolon-separated list of
+pairs using the syntax NAME=integer (without a space after the equality sign).
+
+For instance:
+
+.. code-block:: cmake
+
+ set_property(GLOBAL PROPERTY JOB_POOLS two_jobs=2 ten_jobs=10)
+
+Defined pools could be used globally by setting
+:variable:`CMAKE_JOB_POOL_COMPILE` and :variable:`CMAKE_JOB_POOL_LINK`
+or per target by setting the target properties
+:prop_tgt:`JOB_POOL_COMPILE` and :prop_tgt:`JOB_POOL_LINK`.
diff --git a/Help/prop_gbl/PACKAGES_FOUND.rst b/Help/prop_gbl/PACKAGES_FOUND.rst
new file mode 100644
index 0000000..61cce1f
--- /dev/null
+++ b/Help/prop_gbl/PACKAGES_FOUND.rst
@@ -0,0 +1,7 @@
+PACKAGES_FOUND
+--------------
+
+List of packages which were found during the CMake run.
+
+List of packages which were found during the CMake run. Whether a
+package has been found is determined using the <NAME>_FOUND variables.
diff --git a/Help/prop_gbl/PACKAGES_NOT_FOUND.rst b/Help/prop_gbl/PACKAGES_NOT_FOUND.rst
new file mode 100644
index 0000000..ca3c5ba
--- /dev/null
+++ b/Help/prop_gbl/PACKAGES_NOT_FOUND.rst
@@ -0,0 +1,7 @@
+PACKAGES_NOT_FOUND
+------------------
+
+List of packages which were not found during the CMake run.
+
+List of packages which were not found during the CMake run. Whether a
+package has been found is determined using the <NAME>_FOUND variables.
diff --git a/Help/prop_gbl/PREDEFINED_TARGETS_FOLDER.rst b/Help/prop_gbl/PREDEFINED_TARGETS_FOLDER.rst
new file mode 100644
index 0000000..e85b823
--- /dev/null
+++ b/Help/prop_gbl/PREDEFINED_TARGETS_FOLDER.rst
@@ -0,0 +1,9 @@
+PREDEFINED_TARGETS_FOLDER
+-------------------------
+
+Name of FOLDER for targets that are added automatically by CMake.
+
+If not set, CMake uses "CMakePredefinedTargets" as a default value for
+this property. Targets such as INSTALL, PACKAGE and RUN_TESTS will be
+organized into this FOLDER. See also the documentation for the FOLDER
+target property.
diff --git a/Help/prop_gbl/REPORT_UNDEFINED_PROPERTIES.rst b/Help/prop_gbl/REPORT_UNDEFINED_PROPERTIES.rst
new file mode 100644
index 0000000..29ba365
--- /dev/null
+++ b/Help/prop_gbl/REPORT_UNDEFINED_PROPERTIES.rst
@@ -0,0 +1,8 @@
+REPORT_UNDEFINED_PROPERTIES
+---------------------------
+
+If set, report any undefined properties to this file.
+
+If this property is set to a filename then when CMake runs it will
+report any properties or variables that were accessed but not defined
+into the filename specified in this property.
diff --git a/Help/prop_gbl/RULE_LAUNCH_COMPILE.rst b/Help/prop_gbl/RULE_LAUNCH_COMPILE.rst
new file mode 100644
index 0000000..980843b
--- /dev/null
+++ b/Help/prop_gbl/RULE_LAUNCH_COMPILE.rst
@@ -0,0 +1,9 @@
+RULE_LAUNCH_COMPILE
+-------------------
+
+Specify a launcher for compile rules.
+
+Makefile generators prefix compiler commands with the given launcher
+command line. This is intended to allow launchers to intercept build
+problems with high granularity. Non-Makefile generators currently
+ignore this property.
diff --git a/Help/prop_gbl/RULE_LAUNCH_CUSTOM.rst b/Help/prop_gbl/RULE_LAUNCH_CUSTOM.rst
new file mode 100644
index 0000000..9d4a25c
--- /dev/null
+++ b/Help/prop_gbl/RULE_LAUNCH_CUSTOM.rst
@@ -0,0 +1,9 @@
+RULE_LAUNCH_CUSTOM
+------------------
+
+Specify a launcher for custom rules.
+
+Makefile generators prefix custom commands with the given launcher
+command line. This is intended to allow launchers to intercept build
+problems with high granularity. Non-Makefile generators currently
+ignore this property.
diff --git a/Help/prop_gbl/RULE_LAUNCH_LINK.rst b/Help/prop_gbl/RULE_LAUNCH_LINK.rst
new file mode 100644
index 0000000..191f1d5
--- /dev/null
+++ b/Help/prop_gbl/RULE_LAUNCH_LINK.rst
@@ -0,0 +1,9 @@
+RULE_LAUNCH_LINK
+----------------
+
+Specify a launcher for link rules.
+
+Makefile generators prefix link and archive commands with the given
+launcher command line. This is intended to allow launchers to
+intercept build problems with high granularity. Non-Makefile
+generators currently ignore this property.
diff --git a/Help/prop_gbl/RULE_MESSAGES.rst b/Help/prop_gbl/RULE_MESSAGES.rst
new file mode 100644
index 0000000..38d83a3
--- /dev/null
+++ b/Help/prop_gbl/RULE_MESSAGES.rst
@@ -0,0 +1,13 @@
+RULE_MESSAGES
+-------------
+
+Specify whether to report a message for each make rule.
+
+This property specifies whether Makefile generators should add a
+progress message describing what each build rule does. If the
+property is not set the default is ON. Set the property to OFF to
+disable granular messages and report only as each target completes.
+This is intended to allow scripted builds to avoid the build time cost
+of detailed reports. If a CMAKE_RULE_MESSAGES cache entry exists its
+value initializes the value of this property. Non-Makefile generators
+currently ignore this property.
diff --git a/Help/prop_gbl/TARGET_ARCHIVES_MAY_BE_SHARED_LIBS.rst b/Help/prop_gbl/TARGET_ARCHIVES_MAY_BE_SHARED_LIBS.rst
new file mode 100644
index 0000000..930feba
--- /dev/null
+++ b/Help/prop_gbl/TARGET_ARCHIVES_MAY_BE_SHARED_LIBS.rst
@@ -0,0 +1,7 @@
+TARGET_ARCHIVES_MAY_BE_SHARED_LIBS
+----------------------------------
+
+Set if shared libraries may be named like archives.
+
+On AIX shared libraries may be named "lib<name>.a". This property is
+set to true on such platforms.
diff --git a/Help/prop_gbl/TARGET_SUPPORTS_SHARED_LIBS.rst b/Help/prop_gbl/TARGET_SUPPORTS_SHARED_LIBS.rst
new file mode 100644
index 0000000..f6e89fb
--- /dev/null
+++ b/Help/prop_gbl/TARGET_SUPPORTS_SHARED_LIBS.rst
@@ -0,0 +1,9 @@
+TARGET_SUPPORTS_SHARED_LIBS
+---------------------------
+
+Does the target platform support shared libraries.
+
+TARGET_SUPPORTS_SHARED_LIBS is a boolean specifying whether the target
+platform supports shared libraries. Basically all current general
+general purpose OS do so, the exception are usually embedded systems
+with no or special OSs.
diff --git a/Help/prop_gbl/USE_FOLDERS.rst b/Help/prop_gbl/USE_FOLDERS.rst
new file mode 100644
index 0000000..fdbca9f
--- /dev/null
+++ b/Help/prop_gbl/USE_FOLDERS.rst
@@ -0,0 +1,9 @@
+USE_FOLDERS
+-----------
+
+Use the FOLDER target property to organize targets into folders.
+
+If not set, CMake treats this property as OFF by default. CMake
+generators that are capable of organizing into a hierarchy of folders
+use the values of the FOLDER target property to name those folders.
+See also the documentation for the FOLDER target property.
diff --git a/Help/prop_sf/ABSTRACT.rst b/Help/prop_sf/ABSTRACT.rst
new file mode 100644
index 0000000..339d115
--- /dev/null
+++ b/Help/prop_sf/ABSTRACT.rst
@@ -0,0 +1,9 @@
+ABSTRACT
+--------
+
+Is this source file an abstract class.
+
+A property on a source file that indicates if the source file
+represents a class that is abstract. This only makes sense for
+languages that have a notion of an abstract class and it is only used
+by some tools that wrap classes into other languages.
diff --git a/Help/prop_sf/AUTORCC_OPTIONS.rst b/Help/prop_sf/AUTORCC_OPTIONS.rst
new file mode 100644
index 0000000..d9dc4d3
--- /dev/null
+++ b/Help/prop_sf/AUTORCC_OPTIONS.rst
@@ -0,0 +1,13 @@
+AUTORCC_OPTIONS
+---------------
+
+Additional options for ``rcc`` when using :prop_tgt:`AUTORCC`
+
+This property holds additional command line options which will be used when
+``rcc`` is executed during the build via :prop_tgt:`AUTORCC`, i.e. it is equivalent to the
+optional ``OPTIONS`` argument of the :module:`qt4_add_resources() <FindQt4>` macro.
+
+By default it is empty.
+
+The options set on the ``.qrc`` source file may override :prop_tgt:`AUTORCC_OPTIONS` set
+on the target.
diff --git a/Help/prop_sf/AUTOUIC_OPTIONS.rst b/Help/prop_sf/AUTOUIC_OPTIONS.rst
new file mode 100644
index 0000000..6dfabb0
--- /dev/null
+++ b/Help/prop_sf/AUTOUIC_OPTIONS.rst
@@ -0,0 +1,14 @@
+AUTOUIC_OPTIONS
+---------------
+
+Additional options for ``uic`` when using :prop_tgt:`AUTOUIC`
+
+This property holds additional command line options
+which will be used when ``uic`` is executed during the build via :prop_tgt:`AUTOUIC`,
+i.e. it is equivalent to the optional ``OPTIONS`` argument of the
+:module:`qt4_wrap_ui()<FindQt4>` macro.
+
+By default it is empty.
+
+The options set on the ``.ui`` source file may override :prop_tgt:`AUTOUIC_OPTIONS` set
+on the target.
diff --git a/Help/prop_sf/COMPILE_DEFINITIONS.rst b/Help/prop_sf/COMPILE_DEFINITIONS.rst
new file mode 100644
index 0000000..7f7e7c7
--- /dev/null
+++ b/Help/prop_sf/COMPILE_DEFINITIONS.rst
@@ -0,0 +1,20 @@
+COMPILE_DEFINITIONS
+-------------------
+
+Preprocessor definitions for compiling a source file.
+
+The COMPILE_DEFINITIONS property may be set to a semicolon-separated
+list of preprocessor definitions using the syntax VAR or VAR=value.
+Function-style definitions are not supported. CMake will
+automatically escape the value correctly for the native build system
+(note that CMake language syntax may require escapes to specify some
+values). This property may be set on a per-configuration basis using
+the name COMPILE_DEFINITIONS_<CONFIG> where <CONFIG> is an upper-case
+name (ex. "COMPILE_DEFINITIONS_DEBUG").
+
+CMake will automatically drop some definitions that are not supported
+by the native build tool. The VS6 IDE does not support definition
+values with spaces (but NMake does). Xcode does not support
+per-configuration definitions on source files.
+
+.. include:: /include/COMPILE_DEFINITIONS_DISCLAIMER.txt
diff --git a/Help/prop_sf/COMPILE_DEFINITIONS_CONFIG.rst b/Help/prop_sf/COMPILE_DEFINITIONS_CONFIG.rst
new file mode 100644
index 0000000..e695f38
--- /dev/null
+++ b/Help/prop_sf/COMPILE_DEFINITIONS_CONFIG.rst
@@ -0,0 +1,8 @@
+COMPILE_DEFINITIONS_<CONFIG>
+----------------------------
+
+Per-configuration preprocessor definitions on a source file.
+
+This is the configuration-specific version of COMPILE_DEFINITIONS.
+Note that Xcode does not support per-configuration source file flags
+so this property will be ignored by the Xcode generator.
diff --git a/Help/prop_sf/COMPILE_FLAGS.rst b/Help/prop_sf/COMPILE_FLAGS.rst
new file mode 100644
index 0000000..daba502
--- /dev/null
+++ b/Help/prop_sf/COMPILE_FLAGS.rst
@@ -0,0 +1,8 @@
+COMPILE_FLAGS
+-------------
+
+Additional flags to be added when compiling this source file.
+
+These flags will be added to the list of compile flags when this
+source file builds. Use COMPILE_DEFINITIONS to pass additional
+preprocessor definitions.
diff --git a/Help/prop_sf/EXTERNAL_OBJECT.rst b/Help/prop_sf/EXTERNAL_OBJECT.rst
new file mode 100644
index 0000000..efa0e9b
--- /dev/null
+++ b/Help/prop_sf/EXTERNAL_OBJECT.rst
@@ -0,0 +1,8 @@
+EXTERNAL_OBJECT
+---------------
+
+If set to true then this is an object file.
+
+If this property is set to true then the source file is really an
+object file and should not be compiled. It will still be linked into
+the target though.
diff --git a/Help/prop_sf/Fortran_FORMAT.rst b/Help/prop_sf/Fortran_FORMAT.rst
new file mode 100644
index 0000000..69e34aa
--- /dev/null
+++ b/Help/prop_sf/Fortran_FORMAT.rst
@@ -0,0 +1,9 @@
+Fortran_FORMAT
+--------------
+
+Set to FIXED or FREE to indicate the Fortran source layout.
+
+This property tells CMake whether a given Fortran source file uses
+fixed-format or free-format. CMake will pass the corresponding format
+flag to the compiler. Consider using the target-wide Fortran_FORMAT
+property if all source files in a target share the same format.
diff --git a/Help/prop_sf/GENERATED.rst b/Help/prop_sf/GENERATED.rst
new file mode 100644
index 0000000..a3aa127
--- /dev/null
+++ b/Help/prop_sf/GENERATED.rst
@@ -0,0 +1,8 @@
+GENERATED
+---------
+
+Is this source file generated as part of the build process.
+
+If a source file is generated by the build process CMake will handle
+it differently in terms of dependency checking etc. Otherwise having
+a non-existent source file could create problems.
diff --git a/Help/prop_sf/HEADER_FILE_ONLY.rst b/Help/prop_sf/HEADER_FILE_ONLY.rst
new file mode 100644
index 0000000..b4fb2db
--- /dev/null
+++ b/Help/prop_sf/HEADER_FILE_ONLY.rst
@@ -0,0 +1,9 @@
+HEADER_FILE_ONLY
+----------------
+
+Is this source file only a header file.
+
+A property on a source file that indicates if the source file is a
+header file with no associated implementation. This is set
+automatically based on the file extension and is used by CMake to
+determine if certain dependency information should be computed.
diff --git a/Help/prop_sf/KEEP_EXTENSION.rst b/Help/prop_sf/KEEP_EXTENSION.rst
new file mode 100644
index 0000000..d6167e5
--- /dev/null
+++ b/Help/prop_sf/KEEP_EXTENSION.rst
@@ -0,0 +1,9 @@
+KEEP_EXTENSION
+--------------
+
+Make the output file have the same extension as the source file.
+
+If this property is set then the file extension of the output file
+will be the same as that of the source file. Normally the output file
+extension is computed based on the language of the source file, for
+example .cxx will go to a .o extension.
diff --git a/Help/prop_sf/LABELS.rst b/Help/prop_sf/LABELS.rst
new file mode 100644
index 0000000..e1c1069
--- /dev/null
+++ b/Help/prop_sf/LABELS.rst
@@ -0,0 +1,8 @@
+LABELS
+------
+
+Specify a list of text labels associated with a source file.
+
+This property has meaning only when the source file is listed in a
+target whose LABELS property is also set. No other semantics are
+currently specified.
diff --git a/Help/prop_sf/LANGUAGE.rst b/Help/prop_sf/LANGUAGE.rst
new file mode 100644
index 0000000..97bfa20
--- /dev/null
+++ b/Help/prop_sf/LANGUAGE.rst
@@ -0,0 +1,10 @@
+LANGUAGE
+--------
+
+What programming language is the file.
+
+A property that can be set to indicate what programming language the
+source file is. If it is not set the language is determined based on
+the file extension. Typical values are CXX C etc. Setting this
+property for a file means this file will be compiled. Do not set this
+for headers or files that should not be compiled.
diff --git a/Help/prop_sf/LOCATION.rst b/Help/prop_sf/LOCATION.rst
new file mode 100644
index 0000000..252d680
--- /dev/null
+++ b/Help/prop_sf/LOCATION.rst
@@ -0,0 +1,7 @@
+LOCATION
+--------
+
+The full path to a source file.
+
+A read only property on a SOURCE FILE that contains the full path to
+the source file.
diff --git a/Help/prop_sf/MACOSX_PACKAGE_LOCATION.rst b/Help/prop_sf/MACOSX_PACKAGE_LOCATION.rst
new file mode 100644
index 0000000..27f2929
--- /dev/null
+++ b/Help/prop_sf/MACOSX_PACKAGE_LOCATION.rst
@@ -0,0 +1,19 @@
+MACOSX_PACKAGE_LOCATION
+-----------------------
+
+Place a source file inside a Mac OS X bundle, CFBundle, or framework.
+
+Executable targets with the MACOSX_BUNDLE property set are built as
+Mac OS X application bundles on Apple platforms. Shared library
+targets with the FRAMEWORK property set are built as Mac OS X
+frameworks on Apple platforms. Module library targets with the BUNDLE
+property set are built as Mac OS X CFBundle bundles on Apple
+platforms. Source files listed in the target with this property set
+will be copied to a directory inside the bundle or framework content
+folder specified by the property value. For bundles the content
+folder is "<name>.app/Contents". For frameworks the content folder is
+"<name>.framework/Versions/<version>". For cfbundles the content
+folder is "<name>.bundle/Contents" (unless the extension is changed).
+See the PUBLIC_HEADER, PRIVATE_HEADER, and RESOURCE target properties
+for specifying files meant for Headers, PrivateHeaders, or Resources
+directories.
diff --git a/Help/prop_sf/OBJECT_DEPENDS.rst b/Help/prop_sf/OBJECT_DEPENDS.rst
new file mode 100644
index 0000000..18022de
--- /dev/null
+++ b/Help/prop_sf/OBJECT_DEPENDS.rst
@@ -0,0 +1,18 @@
+OBJECT_DEPENDS
+--------------
+
+Additional files on which a compiled object file depends.
+
+Specifies a semicolon-separated list of full-paths to files on which
+any object files compiled from this source file depend. An object
+file will be recompiled if any of the named files is newer than it.
+
+This property need not be used to specify the dependency of a source
+file on a generated header file that it includes. Although the
+property was originally introduced for this purpose, it is no longer
+necessary. If the generated header file is created by a custom
+command in the same target as the source file, the automatic
+dependency scanning process will recognize the dependency. If the
+generated header file is created by another target, an inter-target
+dependency should be created with the add_dependencies command (if one
+does not already exist due to linking relationships).
diff --git a/Help/prop_sf/OBJECT_OUTPUTS.rst b/Help/prop_sf/OBJECT_OUTPUTS.rst
new file mode 100644
index 0000000..6a28553
--- /dev/null
+++ b/Help/prop_sf/OBJECT_OUTPUTS.rst
@@ -0,0 +1,9 @@
+OBJECT_OUTPUTS
+--------------
+
+Additional outputs for a Makefile rule.
+
+Additional outputs created by compilation of this source file. If any
+of these outputs is missing the object will be recompiled. This is
+supported only on Makefile generators and will be ignored on other
+generators.
diff --git a/Help/prop_sf/SYMBOLIC.rst b/Help/prop_sf/SYMBOLIC.rst
new file mode 100644
index 0000000..c7d0b26
--- /dev/null
+++ b/Help/prop_sf/SYMBOLIC.rst
@@ -0,0 +1,8 @@
+SYMBOLIC
+--------
+
+Is this just a name for a rule.
+
+If SYMBOLIC (boolean) is set to true the build system will be informed
+that the source file is not actually created on disk but instead used
+as a symbolic name for a build rule.
diff --git a/Help/prop_sf/WRAP_EXCLUDE.rst b/Help/prop_sf/WRAP_EXCLUDE.rst
new file mode 100644
index 0000000..2c79f72
--- /dev/null
+++ b/Help/prop_sf/WRAP_EXCLUDE.rst
@@ -0,0 +1,10 @@
+WRAP_EXCLUDE
+------------
+
+Exclude this source file from any code wrapping techniques.
+
+Some packages can wrap source files into alternate languages to
+provide additional functionality. For example, C++ code can be
+wrapped into Java or Python etc using SWIG etc. If WRAP_EXCLUDE is
+set to true (1 etc) that indicates that this source file should not be
+wrapped.
diff --git a/Help/prop_test/ATTACHED_FILES.rst b/Help/prop_test/ATTACHED_FILES.rst
new file mode 100644
index 0000000..496d800
--- /dev/null
+++ b/Help/prop_test/ATTACHED_FILES.rst
@@ -0,0 +1,7 @@
+ATTACHED_FILES
+--------------
+
+Attach a list of files to a dashboard submission.
+
+Set this property to a list of files that will be encoded and
+submitted to the dashboard as an addition to the test result.
diff --git a/Help/prop_test/ATTACHED_FILES_ON_FAIL.rst b/Help/prop_test/ATTACHED_FILES_ON_FAIL.rst
new file mode 100644
index 0000000..6819143
--- /dev/null
+++ b/Help/prop_test/ATTACHED_FILES_ON_FAIL.rst
@@ -0,0 +1,7 @@
+ATTACHED_FILES_ON_FAIL
+----------------------
+
+Attach a list of files to a dashboard submission if the test fails.
+
+Same as ATTACHED_FILES, but these files will only be included if the
+test does not pass.
diff --git a/Help/prop_test/COST.rst b/Help/prop_test/COST.rst
new file mode 100644
index 0000000..3236a02
--- /dev/null
+++ b/Help/prop_test/COST.rst
@@ -0,0 +1,7 @@
+COST
+----
+
+Set this to a floating point value. Tests in a test set will be run in descending order of cost.
+
+This property describes the cost of a test. You can explicitly set
+this value; tests with higher COST values will run first.
diff --git a/Help/prop_test/DEPENDS.rst b/Help/prop_test/DEPENDS.rst
new file mode 100644
index 0000000..ee946d9
--- /dev/null
+++ b/Help/prop_test/DEPENDS.rst
@@ -0,0 +1,6 @@
+DEPENDS
+-------
+
+Specifies that this test should only be run after the specified list of tests.
+
+Set this to a list of tests that must finish before this test is run.
diff --git a/Help/prop_test/ENVIRONMENT.rst b/Help/prop_test/ENVIRONMENT.rst
new file mode 100644
index 0000000..df9bc9e
--- /dev/null
+++ b/Help/prop_test/ENVIRONMENT.rst
@@ -0,0 +1,9 @@
+ENVIRONMENT
+-----------
+
+Specify environment variables that should be defined for running a test.
+
+If set to a list of environment variables and values of the form
+MYVAR=value those environment variables will be defined while running
+the test. The environment is restored to its previous state after the
+test is done.
diff --git a/Help/prop_test/FAIL_REGULAR_EXPRESSION.rst b/Help/prop_test/FAIL_REGULAR_EXPRESSION.rst
new file mode 100644
index 0000000..b02d17d
--- /dev/null
+++ b/Help/prop_test/FAIL_REGULAR_EXPRESSION.rst
@@ -0,0 +1,8 @@
+FAIL_REGULAR_EXPRESSION
+-----------------------
+
+If the output matches this regular expression the test will fail.
+
+If set, if the output matches one of specified regular expressions,
+the test will fail.For example: FAIL_REGULAR_EXPRESSION
+"[^a-z]Error;ERROR;Failed"
diff --git a/Help/prop_test/LABELS.rst b/Help/prop_test/LABELS.rst
new file mode 100644
index 0000000..8d75570
--- /dev/null
+++ b/Help/prop_test/LABELS.rst
@@ -0,0 +1,6 @@
+LABELS
+------
+
+Specify a list of text labels associated with a test.
+
+The list is reported in dashboard submissions.
diff --git a/Help/prop_test/MEASUREMENT.rst b/Help/prop_test/MEASUREMENT.rst
new file mode 100644
index 0000000..bc4936e
--- /dev/null
+++ b/Help/prop_test/MEASUREMENT.rst
@@ -0,0 +1,8 @@
+MEASUREMENT
+-----------
+
+Specify a CDASH measurement and value to be reported for a test.
+
+If set to a name then that name will be reported to CDASH as a named
+measurement with a value of 1. You may also specify a value by
+setting MEASUREMENT to "measurement=value".
diff --git a/Help/prop_test/PASS_REGULAR_EXPRESSION.rst b/Help/prop_test/PASS_REGULAR_EXPRESSION.rst
new file mode 100644
index 0000000..bb35f77
--- /dev/null
+++ b/Help/prop_test/PASS_REGULAR_EXPRESSION.rst
@@ -0,0 +1,8 @@
+PASS_REGULAR_EXPRESSION
+-----------------------
+
+The output must match this regular expression for the test to pass.
+
+If set, the test output will be checked against the specified regular
+expressions and at least one of the regular expressions has to match,
+otherwise the test will fail.
diff --git a/Help/prop_test/PROCESSORS.rst b/Help/prop_test/PROCESSORS.rst
new file mode 100644
index 0000000..763b6d0
--- /dev/null
+++ b/Help/prop_test/PROCESSORS.rst
@@ -0,0 +1,8 @@
+PROCESSORS
+----------
+
+How many process slots this test requires
+
+Denotes the number of processors that this test will require. This is
+typically used for MPI tests, and should be used in conjunction with
+the ctest_test PARALLEL_LEVEL option.
diff --git a/Help/prop_test/REQUIRED_FILES.rst b/Help/prop_test/REQUIRED_FILES.rst
new file mode 100644
index 0000000..fac357c
--- /dev/null
+++ b/Help/prop_test/REQUIRED_FILES.rst
@@ -0,0 +1,7 @@
+REQUIRED_FILES
+--------------
+
+List of files required to run the test.
+
+If set to a list of files, the test will not be run unless all of the
+files exist.
diff --git a/Help/prop_test/RESOURCE_LOCK.rst b/Help/prop_test/RESOURCE_LOCK.rst
new file mode 100644
index 0000000..8c30f01
--- /dev/null
+++ b/Help/prop_test/RESOURCE_LOCK.rst
@@ -0,0 +1,7 @@
+RESOURCE_LOCK
+-------------
+
+Specify a list of resources that are locked by this test.
+
+If multiple tests specify the same resource lock, they are guaranteed
+not to run concurrently.
diff --git a/Help/prop_test/RUN_SERIAL.rst b/Help/prop_test/RUN_SERIAL.rst
new file mode 100644
index 0000000..8f65ae1
--- /dev/null
+++ b/Help/prop_test/RUN_SERIAL.rst
@@ -0,0 +1,8 @@
+RUN_SERIAL
+----------
+
+Do not run this test in parallel with any other test.
+
+Use this option in conjunction with the ctest_test PARALLEL_LEVEL
+option to specify that this test should not be run in parallel with
+any other tests.
diff --git a/Help/prop_test/SKIP_RETURN_CODE.rst b/Help/prop_test/SKIP_RETURN_CODE.rst
new file mode 100644
index 0000000..c61273c
--- /dev/null
+++ b/Help/prop_test/SKIP_RETURN_CODE.rst
@@ -0,0 +1,9 @@
+SKIP_RETURN_CODE
+----------------
+
+Return code to mark a test as skipped.
+
+Sometimes only a test itself can determine if all requirements for the
+test are met. If such a situation should not be considered a hard failure
+a return code of the process can be specified that will mark the test as
+"Not Run" if it is encountered.
diff --git a/Help/prop_test/TIMEOUT.rst b/Help/prop_test/TIMEOUT.rst
new file mode 100644
index 0000000..0b247b8
--- /dev/null
+++ b/Help/prop_test/TIMEOUT.rst
@@ -0,0 +1,9 @@
+TIMEOUT
+-------
+
+How many seconds to allow for this test.
+
+This property if set will limit a test to not take more than the
+specified number of seconds to run. If it exceeds that the test
+process will be killed and ctest will move to the next test. This
+setting takes precedence over CTEST_TESTING_TIMEOUT.
diff --git a/Help/prop_test/WILL_FAIL.rst b/Help/prop_test/WILL_FAIL.rst
new file mode 100644
index 0000000..f1f94a4
--- /dev/null
+++ b/Help/prop_test/WILL_FAIL.rst
@@ -0,0 +1,7 @@
+WILL_FAIL
+---------
+
+If set to true, this will invert the pass/fail flag of the test.
+
+This property can be used for tests that are expected to fail and
+return a non zero return code.
diff --git a/Help/prop_test/WORKING_DIRECTORY.rst b/Help/prop_test/WORKING_DIRECTORY.rst
new file mode 100644
index 0000000..5222a19
--- /dev/null
+++ b/Help/prop_test/WORKING_DIRECTORY.rst
@@ -0,0 +1,7 @@
+WORKING_DIRECTORY
+-----------------
+
+The directory from which the test executable will be called.
+
+If this is not set it is called from the directory the test executable
+is located in.
diff --git a/Help/prop_tgt/ALIASED_TARGET.rst b/Help/prop_tgt/ALIASED_TARGET.rst
new file mode 100644
index 0000000..f9e6034
--- /dev/null
+++ b/Help/prop_tgt/ALIASED_TARGET.rst
@@ -0,0 +1,7 @@
+ALIASED_TARGET
+--------------
+
+Name of target aliased by this target.
+
+If this is an :ref:`Alias Target <Alias Targets>`, this property contains
+the name of the target aliased.
diff --git a/Help/prop_tgt/ARCHIVE_OUTPUT_DIRECTORY.rst b/Help/prop_tgt/ARCHIVE_OUTPUT_DIRECTORY.rst
new file mode 100644
index 0000000..df57dba
--- /dev/null
+++ b/Help/prop_tgt/ARCHIVE_OUTPUT_DIRECTORY.rst
@@ -0,0 +1,7 @@
+ARCHIVE_OUTPUT_DIRECTORY
+------------------------
+
+.. |XXX| replace:: ARCHIVE
+.. |xxx| replace:: archive
+.. |CMAKE_XXX_OUTPUT_DIRECTORY| replace:: CMAKE_ARCHIVE_OUTPUT_DIRECTORY
+.. include:: XXX_OUTPUT_DIRECTORY.txt
diff --git a/Help/prop_tgt/ARCHIVE_OUTPUT_DIRECTORY_CONFIG.rst b/Help/prop_tgt/ARCHIVE_OUTPUT_DIRECTORY_CONFIG.rst
new file mode 100644
index 0000000..3c0c4fd
--- /dev/null
+++ b/Help/prop_tgt/ARCHIVE_OUTPUT_DIRECTORY_CONFIG.rst
@@ -0,0 +1,11 @@
+ARCHIVE_OUTPUT_DIRECTORY_<CONFIG>
+---------------------------------
+
+Per-configuration output directory for ARCHIVE target files.
+
+This is a per-configuration version of ARCHIVE_OUTPUT_DIRECTORY, but
+multi-configuration generators (VS, Xcode) do NOT append a
+per-configuration subdirectory to the specified directory. This
+property is initialized by the value of the variable
+CMAKE_ARCHIVE_OUTPUT_DIRECTORY_<CONFIG> if it is set when a target is
+created.
diff --git a/Help/prop_tgt/ARCHIVE_OUTPUT_NAME.rst b/Help/prop_tgt/ARCHIVE_OUTPUT_NAME.rst
new file mode 100644
index 0000000..a137bb8
--- /dev/null
+++ b/Help/prop_tgt/ARCHIVE_OUTPUT_NAME.rst
@@ -0,0 +1,6 @@
+ARCHIVE_OUTPUT_NAME
+-------------------
+
+.. |XXX| replace:: ARCHIVE
+.. |xxx| replace:: archive
+.. include:: XXX_OUTPUT_NAME.txt
diff --git a/Help/prop_tgt/ARCHIVE_OUTPUT_NAME_CONFIG.rst b/Help/prop_tgt/ARCHIVE_OUTPUT_NAME_CONFIG.rst
new file mode 100644
index 0000000..314fa58
--- /dev/null
+++ b/Help/prop_tgt/ARCHIVE_OUTPUT_NAME_CONFIG.rst
@@ -0,0 +1,6 @@
+ARCHIVE_OUTPUT_NAME_<CONFIG>
+----------------------------
+
+Per-configuration output name for ARCHIVE target files.
+
+This is the configuration-specific version of ARCHIVE_OUTPUT_NAME.
diff --git a/Help/prop_tgt/AUTOGEN_TARGET_DEPENDS.rst b/Help/prop_tgt/AUTOGEN_TARGET_DEPENDS.rst
new file mode 100644
index 0000000..5063244
--- /dev/null
+++ b/Help/prop_tgt/AUTOGEN_TARGET_DEPENDS.rst
@@ -0,0 +1,17 @@
+AUTOGEN_TARGET_DEPENDS
+----------------------
+
+Target dependencies of the corresponding ``_automoc`` target.
+
+Targets which have their :prop_tgt:`AUTOMOC` target ``ON`` have a
+corresponding ``_automoc`` target which is used to autogenerate generate moc
+files. As this ``_automoc`` target is created at generate-time, it is not
+possible to define dependencies of it, such as to create inputs for the ``moc``
+executable.
+
+The ``AUTOGEN_TARGET_DEPENDS`` target property can be set instead to a list of
+dependencies for the ``_automoc`` target. The buildsystem will be generated to
+depend on its contents.
+
+See the :manual:`cmake-qt(7)` manual for more information on using CMake
+with Qt.
diff --git a/Help/prop_tgt/AUTOMOC.rst b/Help/prop_tgt/AUTOMOC.rst
new file mode 100644
index 0000000..045ebb2
--- /dev/null
+++ b/Help/prop_tgt/AUTOMOC.rst
@@ -0,0 +1,37 @@
+AUTOMOC
+-------
+
+Should the target be processed with automoc (for Qt projects).
+
+AUTOMOC is a boolean specifying whether CMake will handle the Qt ``moc``
+preprocessor automatically, i.e. without having to use the
+:module:`QT4_WRAP_CPP() <FindQt4>` or QT5_WRAP_CPP() macro. Currently Qt4 and Qt5 are
+supported. When this property is set ``ON``, CMake will scan the
+source files at build time and invoke moc accordingly. If an ``#include``
+statement like ``#include "moc_foo.cpp"`` is found, the ``Q_OBJECT`` class
+declaration is expected in the header, and ``moc`` is run on the header
+file. If an ``#include`` statement like ``#include "foo.moc"`` is found, then
+a ``Q_OBJECT`` is expected in the current source file and ``moc`` is run on
+the file itself. Additionally, header files with the same base name (like
+``foo.h``) or ``_p`` appended to the base name (like ``foo_p.h``) are parsed
+for ``Q_OBJECT`` macros, and if found, ``moc`` is also executed on those files.
+``AUTOMOC`` checks multiple header alternative extensions, such as
+``hpp``, ``hxx`` etc when searching for headers.
+The resulting moc files, which are not included as shown above in any
+of the source files are included in a generated
+``<targetname>_automoc.cpp`` file, which is compiled as part of the
+target. This property is initialized by the value of the
+:variable:`CMAKE_AUTOMOC` variable if it is set when a target is created.
+
+Additional command line options for moc can be set via the
+:prop_tgt:`AUTOMOC_MOC_OPTIONS` property.
+
+By enabling the :variable:`CMAKE_AUTOMOC_RELAXED_MODE` variable the
+rules for searching the files which will be processed by moc can be relaxed.
+See the documentation for this variable for more details.
+
+The global property :prop_gbl:`AUTOGEN_TARGETS_FOLDER` can be used to group the
+automoc targets together in an IDE, e.g. in MSVS.
+
+See the :manual:`cmake-qt(7)` manual for more information on using CMake
+with Qt.
diff --git a/Help/prop_tgt/AUTOMOC_MOC_OPTIONS.rst b/Help/prop_tgt/AUTOMOC_MOC_OPTIONS.rst
new file mode 100644
index 0000000..ebd5c49
--- /dev/null
+++ b/Help/prop_tgt/AUTOMOC_MOC_OPTIONS.rst
@@ -0,0 +1,15 @@
+AUTOMOC_MOC_OPTIONS
+-------------------
+
+Additional options for moc when using :prop_tgt:`AUTOMOC`
+
+This property is only used if the :prop_tgt:`AUTOMOC` property is ``ON``
+for this target. In this case, it holds additional command line
+options which will be used when ``moc`` is executed during the build, i.e.
+it is equivalent to the optional ``OPTIONS`` argument of the
+:module:`qt4_wrap_cpp() <FindQt4>` macro.
+
+By default it is empty.
+
+See the :manual:`cmake-qt(7)` manual for more information on using CMake
+with Qt.
diff --git a/Help/prop_tgt/AUTORCC.rst b/Help/prop_tgt/AUTORCC.rst
new file mode 100644
index 0000000..8dce6b1
--- /dev/null
+++ b/Help/prop_tgt/AUTORCC.rst
@@ -0,0 +1,23 @@
+AUTORCC
+-------
+
+Should the target be processed with autorcc (for Qt projects).
+
+``AUTORCC`` is a boolean specifying whether CMake will handle
+the Qt ``rcc`` code generator automatically, i.e. without having to use
+the :module:`QT4_ADD_RESOURCES() <FindQt4>` or ``QT5_ADD_RESOURCES()``
+macro. Currently Qt4 and Qt5 are supported.
+
+When this property is ``ON``, CMake will handle ``.qrc`` files added
+as target sources at build time and invoke ``rcc`` accordingly.
+This property is initialized by the value of the :variable:`CMAKE_AUTORCC`
+variable if it is set when a target is created.
+
+Additional command line options for rcc can be set via the
+:prop_sf:`AUTORCC_OPTIONS` source file property on the ``.qrc`` file.
+
+The global property :prop_gbl:`AUTOGEN_TARGETS_FOLDER` can be used to group
+the autorcc targets together in an IDE, e.g. in MSVS.
+
+See the :manual:`cmake-qt(7)` manual for more information on using CMake
+with Qt.
diff --git a/Help/prop_tgt/AUTORCC_OPTIONS.rst b/Help/prop_tgt/AUTORCC_OPTIONS.rst
new file mode 100644
index 0000000..8a0f632
--- /dev/null
+++ b/Help/prop_tgt/AUTORCC_OPTIONS.rst
@@ -0,0 +1,21 @@
+AUTORCC_OPTIONS
+---------------
+
+Additional options for ``rcc`` when using :prop_tgt:`AUTORCC`
+
+This property holds additional command line options which will be used
+when ``rcc`` is executed during the build via :prop_tgt:`AUTORCC`,
+i.e. it is equivalent to the optional ``OPTIONS`` argument of the
+:module:`qt4_add_resources() <FindQt4>` macro.
+
+By default it is empty.
+
+This property is initialized by the value of the
+:variable:`CMAKE_AUTORCC_OPTIONS` variable if it is set when a target is
+created.
+
+The options set on the target may be overridden by :prop_sf:`AUTORCC_OPTIONS`
+set on the ``.qrc`` source file.
+
+See the :manual:`cmake-qt(7)` manual for more information on using CMake
+with Qt.
diff --git a/Help/prop_tgt/AUTOUIC.rst b/Help/prop_tgt/AUTOUIC.rst
new file mode 100644
index 0000000..4e60ec3
--- /dev/null
+++ b/Help/prop_tgt/AUTOUIC.rst
@@ -0,0 +1,24 @@
+AUTOUIC
+-------
+
+Should the target be processed with autouic (for Qt projects).
+
+``AUTOUIC`` is a boolean specifying whether CMake will handle
+the Qt ``uic`` code generator automatically, i.e. without having to use
+the :module:`QT4_WRAP_UI() <FindQt4>` or ``QT5_WRAP_UI()`` macro. Currently
+Qt4 and Qt5 are supported.
+
+When this property is ``ON``, CMake will scan the source files at build time
+and invoke ``uic`` accordingly. If an ``#include`` statement like
+``#include "ui_foo.h"`` is found in ``foo.cpp``, a ``foo.ui`` file is
+expected next to ``foo.cpp``, and ``uic`` is run on the ``foo.ui`` file.
+This property is initialized by the value of the :variable:`CMAKE_AUTOUIC`
+variable if it is set when a target is created.
+
+Additional command line options for ``uic`` can be set via the
+:prop_sf:`AUTOUIC_OPTIONS` source file property on the ``foo.ui`` file.
+The global property :prop_gbl:`AUTOGEN_TARGETS_FOLDER` can be used to group the
+autouic targets together in an IDE, e.g. in MSVS.
+
+See the :manual:`cmake-qt(7)` manual for more information on using CMake
+with Qt.
diff --git a/Help/prop_tgt/AUTOUIC_OPTIONS.rst b/Help/prop_tgt/AUTOUIC_OPTIONS.rst
new file mode 100644
index 0000000..dc3bee5
--- /dev/null
+++ b/Help/prop_tgt/AUTOUIC_OPTIONS.rst
@@ -0,0 +1,25 @@
+AUTOUIC_OPTIONS
+---------------
+
+Additional options for uic when using :prop_tgt:`AUTOUIC`
+
+This property holds additional command line options which will be used when
+``uic`` is executed during the build via :prop_tgt:`AUTOUIC`, i.e. it is
+equivalent to the optional ``OPTIONS`` argument of the
+:module:`qt4_wrap_ui() <FindQt4>` macro.
+
+By default it is empty.
+
+This property is initialized by the value of the
+:variable:`CMAKE_AUTOUIC_OPTIONS` variable if it is set when a target is
+created.
+
+The options set on the target may be overridden by :prop_sf:`AUTOUIC_OPTIONS`
+set on the ``.ui`` source file.
+
+This property may use "generator expressions" with the syntax ``$<...>``.
+See the :manual:`cmake-generator-expressions(7)` manual for available
+expressions.
+
+See the :manual:`cmake-qt(7)` manual for more information on using CMake
+with Qt.
diff --git a/Help/prop_tgt/BUILD_WITH_INSTALL_RPATH.rst b/Help/prop_tgt/BUILD_WITH_INSTALL_RPATH.rst
new file mode 100644
index 0000000..abcf28f
--- /dev/null
+++ b/Help/prop_tgt/BUILD_WITH_INSTALL_RPATH.rst
@@ -0,0 +1,11 @@
+BUILD_WITH_INSTALL_RPATH
+------------------------
+
+Should build tree targets have install tree rpaths.
+
+BUILD_WITH_INSTALL_RPATH is a boolean specifying whether to link the
+target in the build tree with the INSTALL_RPATH. This takes
+precedence over SKIP_BUILD_RPATH and avoids the need for relinking
+before installation. This property is initialized by the value of the
+variable CMAKE_BUILD_WITH_INSTALL_RPATH if it is set when a target is
+created.
diff --git a/Help/prop_tgt/BUNDLE.rst b/Help/prop_tgt/BUNDLE.rst
new file mode 100644
index 0000000..166659f
--- /dev/null
+++ b/Help/prop_tgt/BUNDLE.rst
@@ -0,0 +1,9 @@
+BUNDLE
+------
+
+This target is a CFBundle on the Mac.
+
+If a module library target has this property set to true it will be
+built as a CFBundle when built on the mac. It will have the directory
+structure required for a CFBundle and will be suitable to be used for
+creating Browser Plugins or other application resources.
diff --git a/Help/prop_tgt/BUNDLE_EXTENSION.rst b/Help/prop_tgt/BUNDLE_EXTENSION.rst
new file mode 100644
index 0000000..94ac935
--- /dev/null
+++ b/Help/prop_tgt/BUNDLE_EXTENSION.rst
@@ -0,0 +1,7 @@
+BUNDLE_EXTENSION
+----------------
+
+The file extension used to name a BUNDLE target on the Mac.
+
+The default value is "bundle" - you can also use "plugin" or whatever
+file extension is required by the host app for your bundle.
diff --git a/Help/prop_tgt/COMPATIBLE_INTERFACE_BOOL.rst b/Help/prop_tgt/COMPATIBLE_INTERFACE_BOOL.rst
new file mode 100644
index 0000000..6910367
--- /dev/null
+++ b/Help/prop_tgt/COMPATIBLE_INTERFACE_BOOL.rst
@@ -0,0 +1,20 @@
+COMPATIBLE_INTERFACE_BOOL
+-------------------------
+
+Properties which must be compatible with their link interface
+
+The ``COMPATIBLE_INTERFACE_BOOL`` property may contain a list of
+properties for this target which must be consistent when evaluated as a
+boolean with the ``INTERFACE`` variant of the property in all linked
+dependees. For example, if a property ``FOO`` appears in the list, then
+for each dependee, the ``INTERFACE_FOO`` property content in all of its
+dependencies must be consistent with each other, and with the ``FOO``
+property in the depender.
+
+Consistency in this sense has the meaning that if the property is set,
+then it must have the same boolean value as all others, and if the
+property is not set, then it is ignored.
+
+Note that for each dependee, the set of properties specified in this
+property must not intersect with the set specified in any of the other
+:ref:`Compatible Interface Properties`.
diff --git a/Help/prop_tgt/COMPATIBLE_INTERFACE_NUMBER_MAX.rst b/Help/prop_tgt/COMPATIBLE_INTERFACE_NUMBER_MAX.rst
new file mode 100644
index 0000000..298acf1
--- /dev/null
+++ b/Help/prop_tgt/COMPATIBLE_INTERFACE_NUMBER_MAX.rst
@@ -0,0 +1,18 @@
+COMPATIBLE_INTERFACE_NUMBER_MAX
+-------------------------------
+
+Properties whose maximum value from the link interface will be used.
+
+The ``COMPATIBLE_INTERFACE_NUMBER_MAX`` property may contain a list of
+properties for this target whose maximum value may be read at generate
+time when evaluated in the ``INTERFACE`` variant of the property in all
+linked dependees. For example, if a property ``FOO`` appears in the list,
+then for each dependee, the ``INTERFACE_FOO`` property content in all of
+its dependencies will be compared with each other and with the ``FOO``
+property in the depender. When reading the ``FOO`` property at generate
+time, the maximum value will be returned. If the property is not set,
+then it is ignored.
+
+Note that for each dependee, the set of properties specified in this
+property must not intersect with the set specified in any of the other
+:ref:`Compatible Interface Properties`.
diff --git a/Help/prop_tgt/COMPATIBLE_INTERFACE_NUMBER_MIN.rst b/Help/prop_tgt/COMPATIBLE_INTERFACE_NUMBER_MIN.rst
new file mode 100644
index 0000000..d5fd825
--- /dev/null
+++ b/Help/prop_tgt/COMPATIBLE_INTERFACE_NUMBER_MIN.rst
@@ -0,0 +1,18 @@
+COMPATIBLE_INTERFACE_NUMBER_MIN
+-------------------------------
+
+Properties whose maximum value from the link interface will be used.
+
+The ``COMPATIBLE_INTERFACE_NUMBER_MIN`` property may contain a list of
+properties for this target whose minimum value may be read at generate
+time when evaluated in the ``INTERFACE`` variant of the property of all
+linked dependees. For example, if a
+property ``FOO`` appears in the list, then for each dependee, the
+``INTERFACE_FOO`` property content in all of its dependencies will be
+compared with each other and with the ``FOO`` property in the depender.
+When reading the ``FOO`` property at generate time, the minimum value
+will be returned. If the property is not set, then it is ignored.
+
+Note that for each dependee, the set of properties specified in this
+property must not intersect with the set specified in any of the other
+:ref:`Compatible Interface Properties`.
diff --git a/Help/prop_tgt/COMPATIBLE_INTERFACE_STRING.rst b/Help/prop_tgt/COMPATIBLE_INTERFACE_STRING.rst
new file mode 100644
index 0000000..a0050b9
--- /dev/null
+++ b/Help/prop_tgt/COMPATIBLE_INTERFACE_STRING.rst
@@ -0,0 +1,16 @@
+COMPATIBLE_INTERFACE_STRING
+---------------------------
+
+Properties which must be string-compatible with their link interface
+
+The ``COMPATIBLE_INTERFACE_STRING`` property may contain a list of
+properties for this target which must be the same when evaluated as a
+string in the ``INTERFACE`` variant of the property all linked dependees.
+For example, if a property ``FOO`` appears in the list, then for each
+dependee, the ``INTERFACE_FOO`` property content in all of its
+dependencies must be equal with each other, and with the ``FOO`` property
+in the depender. If the property is not set, then it is ignored.
+
+Note that for each dependee, the set of properties specified in this
+property must not intersect with the set specified in any of the other
+:ref:`Compatible Interface Properties`.
diff --git a/Help/prop_tgt/COMPILE_DEFINITIONS.rst b/Help/prop_tgt/COMPILE_DEFINITIONS.rst
new file mode 100644
index 0000000..00c49c3
--- /dev/null
+++ b/Help/prop_tgt/COMPILE_DEFINITIONS.rst
@@ -0,0 +1,26 @@
+COMPILE_DEFINITIONS
+-------------------
+
+Preprocessor definitions for compiling a target's sources.
+
+The ``COMPILE_DEFINITIONS`` property may be set to a semicolon-separated
+list of preprocessor definitions using the syntax ``VAR`` or ``VAR=value``.
+Function-style definitions are not supported. CMake will
+automatically escape the value correctly for the native build system
+(note that CMake language syntax may require escapes to specify some
+values).
+
+CMake will automatically drop some definitions that are not supported
+by the native build tool. The VS6 IDE does not support definition
+values with spaces (but NMake does).
+
+.. include:: /include/COMPILE_DEFINITIONS_DISCLAIMER.txt
+
+Contents of ``COMPILE_DEFINITIONS`` may use "generator expressions" with the
+syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)` manual
+for available expressions. See the :manual:`cmake-buildsystem(7)` manual
+for more on defining buildsystem properties.
+
+The corresponding :prop_tgt:`COMPILE_DEFINITIONS_<CONFIG>` property may
+be set to specify per-configuration definitions. Generator expressions
+should be preferred instead of setting the alternative property.
diff --git a/Help/prop_tgt/COMPILE_DEFINITIONS_CONFIG.rst b/Help/prop_tgt/COMPILE_DEFINITIONS_CONFIG.rst
new file mode 100644
index 0000000..e359d2c
--- /dev/null
+++ b/Help/prop_tgt/COMPILE_DEFINITIONS_CONFIG.rst
@@ -0,0 +1,14 @@
+COMPILE_DEFINITIONS_<CONFIG>
+----------------------------
+
+Per-configuration preprocessor definitions on a target.
+
+This is the configuration-specific version of :prop_tgt:`COMPILE_DEFINITIONS`
+where ``<CONFIG>`` is an upper-case name (ex. ``COMPILE_DEFINITIONS_DEBUG``).
+
+Contents of ``COMPILE_DEFINITIONS_<CONFIG>`` may use "generator expressions"
+with the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
+manual for available expressions. See the :manual:`cmake-buildsystem(7)`
+manual for more on defining buildsystem properties.
+
+Generator expressions should be preferred instead of setting this property.
diff --git a/Help/prop_tgt/COMPILE_FLAGS.rst b/Help/prop_tgt/COMPILE_FLAGS.rst
new file mode 100644
index 0000000..6ee6c51
--- /dev/null
+++ b/Help/prop_tgt/COMPILE_FLAGS.rst
@@ -0,0 +1,11 @@
+COMPILE_FLAGS
+-------------
+
+Additional flags to use when compiling this target's sources.
+
+The COMPILE_FLAGS property sets additional compiler flags used to
+build sources within the target. Use COMPILE_DEFINITIONS to pass
+additional preprocessor definitions.
+
+This property is deprecated. Use the COMPILE_OPTIONS property or the
+target_compile_options command instead.
diff --git a/Help/prop_tgt/COMPILE_OPTIONS.rst b/Help/prop_tgt/COMPILE_OPTIONS.rst
new file mode 100644
index 0000000..27cbec1
--- /dev/null
+++ b/Help/prop_tgt/COMPILE_OPTIONS.rst
@@ -0,0 +1,16 @@
+COMPILE_OPTIONS
+---------------
+
+List of options to pass to the compiler.
+
+This property specifies the list of options specified so far for this
+property.
+
+This property is intialized by the :prop_dir:`COMPILE_OPTIONS` directory
+property, which is used by the generators to set the options for the
+compiler.
+
+Contents of ``COMPILE_OPTIONS`` may use "generator expressions" with the
+syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)` manual
+for available expressions. See the :manual:`cmake-buildsystem(7)` manual
+for more on defining buildsystem properties.
diff --git a/Help/prop_tgt/CONFIG_OUTPUT_NAME.rst b/Help/prop_tgt/CONFIG_OUTPUT_NAME.rst
new file mode 100644
index 0000000..f2c875e
--- /dev/null
+++ b/Help/prop_tgt/CONFIG_OUTPUT_NAME.rst
@@ -0,0 +1,7 @@
+<CONFIG>_OUTPUT_NAME
+--------------------
+
+Old per-configuration target file base name.
+
+This is a configuration-specific version of OUTPUT_NAME. Use
+OUTPUT_NAME_<CONFIG> instead.
diff --git a/Help/prop_tgt/CONFIG_POSTFIX.rst b/Help/prop_tgt/CONFIG_POSTFIX.rst
new file mode 100644
index 0000000..11b50b9
--- /dev/null
+++ b/Help/prop_tgt/CONFIG_POSTFIX.rst
@@ -0,0 +1,10 @@
+<CONFIG>_POSTFIX
+----------------
+
+Postfix to append to the target file name for configuration <CONFIG>.
+
+When building with configuration <CONFIG> the value of this property
+is appended to the target file name built on disk. For non-executable
+targets, this property is initialized by the value of the variable
+CMAKE_<CONFIG>_POSTFIX if it is set when a target is created. This
+property is ignored on the Mac for Frameworks and App Bundles.
diff --git a/Help/prop_tgt/DEBUG_POSTFIX.rst b/Help/prop_tgt/DEBUG_POSTFIX.rst
new file mode 100644
index 0000000..1487656
--- /dev/null
+++ b/Help/prop_tgt/DEBUG_POSTFIX.rst
@@ -0,0 +1,7 @@
+DEBUG_POSTFIX
+-------------
+
+See target property <CONFIG>_POSTFIX.
+
+This property is a special case of the more-general <CONFIG>_POSTFIX
+property for the DEBUG configuration.
diff --git a/Help/prop_tgt/DEFINE_SYMBOL.rst b/Help/prop_tgt/DEFINE_SYMBOL.rst
new file mode 100644
index 0000000..f47f135
--- /dev/null
+++ b/Help/prop_tgt/DEFINE_SYMBOL.rst
@@ -0,0 +1,11 @@
+DEFINE_SYMBOL
+-------------
+
+Define a symbol when compiling this target's sources.
+
+DEFINE_SYMBOL sets the name of the preprocessor symbol defined when
+compiling sources in a shared library. If not set here then it is set
+to target_EXPORTS by default (with some substitutions if the target is
+not a valid C identifier). This is useful for headers to know whether
+they are being included from inside their library or outside to
+properly setup dllexport/dllimport decorations.
diff --git a/Help/prop_tgt/ENABLE_EXPORTS.rst b/Help/prop_tgt/ENABLE_EXPORTS.rst
new file mode 100644
index 0000000..283f5a8
--- /dev/null
+++ b/Help/prop_tgt/ENABLE_EXPORTS.rst
@@ -0,0 +1,19 @@
+ENABLE_EXPORTS
+--------------
+
+Specify whether an executable exports symbols for loadable modules.
+
+Normally an executable does not export any symbols because it is the
+final program. It is possible for an executable to export symbols to
+be used by loadable modules. When this property is set to true CMake
+will allow other targets to "link" to the executable with the
+TARGET_LINK_LIBRARIES command. On all platforms a target-level
+dependency on the executable is created for targets that link to it.
+For DLL platforms an import library will be created for the exported
+symbols and then used for linking. All Windows-based systems
+including Cygwin are DLL platforms. For non-DLL platforms that
+require all symbols to be resolved at link time, such as Mac OS X, the
+module will "link" to the executable using a flag like
+"-bundle_loader". For other non-DLL platforms the link rule is simply
+ignored since the dynamic loader will automatically bind symbols when
+the module is loaded.
diff --git a/Help/prop_tgt/EXCLUDE_FROM_ALL.rst b/Help/prop_tgt/EXCLUDE_FROM_ALL.rst
new file mode 100644
index 0000000..caa5741
--- /dev/null
+++ b/Help/prop_tgt/EXCLUDE_FROM_ALL.rst
@@ -0,0 +1,10 @@
+EXCLUDE_FROM_ALL
+----------------
+
+Exclude the target from the all target.
+
+A property on a target that indicates if the target is excluded from
+the default build target. If it is not, then with a Makefile for
+example typing make will cause this target to be built. The same
+concept applies to the default build of other generators. Installing
+a target with EXCLUDE_FROM_ALL set to true has undefined behavior.
diff --git a/Help/prop_tgt/EXCLUDE_FROM_DEFAULT_BUILD.rst b/Help/prop_tgt/EXCLUDE_FROM_DEFAULT_BUILD.rst
new file mode 100644
index 0000000..19270a5
--- /dev/null
+++ b/Help/prop_tgt/EXCLUDE_FROM_DEFAULT_BUILD.rst
@@ -0,0 +1,8 @@
+EXCLUDE_FROM_DEFAULT_BUILD
+--------------------------
+
+Exclude target from "Build Solution".
+
+This property is only used by Visual Studio generators 7 and above.
+When set to TRUE, the target will not be built when you press "Build
+Solution".
diff --git a/Help/prop_tgt/EXCLUDE_FROM_DEFAULT_BUILD_CONFIG.rst b/Help/prop_tgt/EXCLUDE_FROM_DEFAULT_BUILD_CONFIG.rst
new file mode 100644
index 0000000..655a9de
--- /dev/null
+++ b/Help/prop_tgt/EXCLUDE_FROM_DEFAULT_BUILD_CONFIG.rst
@@ -0,0 +1,9 @@
+EXCLUDE_FROM_DEFAULT_BUILD_<CONFIG>
+-----------------------------------
+
+Per-configuration version of target exclusion from "Build Solution".
+
+This is the configuration-specific version of
+EXCLUDE_FROM_DEFAULT_BUILD. If the generic EXCLUDE_FROM_DEFAULT_BUILD
+is also set on a target, EXCLUDE_FROM_DEFAULT_BUILD_<CONFIG> takes
+precedence in configurations for which it has a value.
diff --git a/Help/prop_tgt/EXPORT_NAME.rst b/Help/prop_tgt/EXPORT_NAME.rst
new file mode 100644
index 0000000..1b4247c
--- /dev/null
+++ b/Help/prop_tgt/EXPORT_NAME.rst
@@ -0,0 +1,8 @@
+EXPORT_NAME
+-----------
+
+Exported name for target files.
+
+This sets the name for the IMPORTED target generated when it this
+target is is exported. If not set, the logical target name is used by
+default.
diff --git a/Help/prop_tgt/EchoString.rst b/Help/prop_tgt/EchoString.rst
new file mode 100644
index 0000000..32ae2aa
--- /dev/null
+++ b/Help/prop_tgt/EchoString.rst
@@ -0,0 +1,7 @@
+EchoString
+----------
+
+A message to be displayed when the target is built.
+
+A message to display on some generators (such as makefiles) when the
+target is built.
diff --git a/Help/prop_tgt/FOLDER.rst b/Help/prop_tgt/FOLDER.rst
new file mode 100644
index 0000000..bfe4e8e
--- /dev/null
+++ b/Help/prop_tgt/FOLDER.rst
@@ -0,0 +1,10 @@
+FOLDER
+------
+
+Set the folder name. Use to organize targets in an IDE.
+
+Targets with no FOLDER property will appear as top level entities in
+IDEs like Visual Studio. Targets with the same FOLDER property value
+will appear next to each other in a folder of that name. To nest
+folders, use FOLDER values such as 'GUI/Dialogs' with '/' characters
+separating folder levels.
diff --git a/Help/prop_tgt/FRAMEWORK.rst b/Help/prop_tgt/FRAMEWORK.rst
new file mode 100644
index 0000000..9f472c0
--- /dev/null
+++ b/Help/prop_tgt/FRAMEWORK.rst
@@ -0,0 +1,9 @@
+FRAMEWORK
+---------
+
+This target is a framework on the Mac.
+
+If a shared library target has this property set to true it will be
+built as a framework when built on the mac. It will have the
+directory structure required for a framework and will be suitable to
+be used with the -framework option
diff --git a/Help/prop_tgt/Fortran_FORMAT.rst b/Help/prop_tgt/Fortran_FORMAT.rst
new file mode 100644
index 0000000..0a11d91
--- /dev/null
+++ b/Help/prop_tgt/Fortran_FORMAT.rst
@@ -0,0 +1,11 @@
+Fortran_FORMAT
+--------------
+
+Set to FIXED or FREE to indicate the Fortran source layout.
+
+This property tells CMake whether the Fortran source files in a target
+use fixed-format or free-format. CMake will pass the corresponding
+format flag to the compiler. Use the source-specific Fortran_FORMAT
+property to change the format of a specific source file. If the
+variable CMAKE_Fortran_FORMAT is set when a target is created its
+value is used to initialize this property.
diff --git a/Help/prop_tgt/Fortran_MODULE_DIRECTORY.rst b/Help/prop_tgt/Fortran_MODULE_DIRECTORY.rst
new file mode 100644
index 0000000..9c86437
--- /dev/null
+++ b/Help/prop_tgt/Fortran_MODULE_DIRECTORY.rst
@@ -0,0 +1,17 @@
+Fortran_MODULE_DIRECTORY
+------------------------
+
+Specify output directory for Fortran modules provided by the target.
+
+If the target contains Fortran source files that provide modules and
+the compiler supports a module output directory this specifies the
+directory in which the modules will be placed. When this property is
+not set the modules will be placed in the build directory
+corresponding to the target's source directory. If the variable
+CMAKE_Fortran_MODULE_DIRECTORY is set when a target is created its
+value is used to initialize this property.
+
+Note that some compilers will automatically search the module output
+directory for modules USEd during compilation but others will not. If
+your sources USE modules their location must be specified by
+INCLUDE_DIRECTORIES regardless of this property.
diff --git a/Help/prop_tgt/GENERATOR_FILE_NAME.rst b/Help/prop_tgt/GENERATOR_FILE_NAME.rst
new file mode 100644
index 0000000..032b22a
--- /dev/null
+++ b/Help/prop_tgt/GENERATOR_FILE_NAME.rst
@@ -0,0 +1,9 @@
+GENERATOR_FILE_NAME
+-------------------
+
+Generator's file for this target.
+
+An internal property used by some generators to record the name of the
+project or dsp file associated with this target. Note that at
+configure time, this property is only set for targets created by
+include_external_msproject().
diff --git a/Help/prop_tgt/GNUtoMS.rst b/Help/prop_tgt/GNUtoMS.rst
new file mode 100644
index 0000000..cf34da9
--- /dev/null
+++ b/Help/prop_tgt/GNUtoMS.rst
@@ -0,0 +1,17 @@
+GNUtoMS
+-------
+
+Convert GNU import library (.dll.a) to MS format (.lib).
+
+When linking a shared library or executable that exports symbols using
+GNU tools on Windows (MinGW/MSYS) with Visual Studio installed convert
+the import library (.dll.a) from GNU to MS format (.lib). Both import
+libraries will be installed by install(TARGETS) and exported by
+install(EXPORT) and export() to be linked by applications with either
+GNU- or MS-compatible tools.
+
+If the variable CMAKE_GNUtoMS is set when a target is created its
+value is used to initialize this property. The variable must be set
+prior to the first command that enables a language such as project()
+or enable_language(). CMake provides the variable as an option to the
+user automatically when configuring on Windows with GNU tools.
diff --git a/Help/prop_tgt/HAS_CXX.rst b/Help/prop_tgt/HAS_CXX.rst
new file mode 100644
index 0000000..7790932
--- /dev/null
+++ b/Help/prop_tgt/HAS_CXX.rst
@@ -0,0 +1,7 @@
+HAS_CXX
+-------
+
+Link the target using the C++ linker tool (obsolete).
+
+This is equivalent to setting the LINKER_LANGUAGE property to CXX.
+See that property's documentation for details.
diff --git a/Help/prop_tgt/IMPLICIT_DEPENDS_INCLUDE_TRANSFORM.rst b/Help/prop_tgt/IMPLICIT_DEPENDS_INCLUDE_TRANSFORM.rst
new file mode 100644
index 0000000..dc73807
--- /dev/null
+++ b/Help/prop_tgt/IMPLICIT_DEPENDS_INCLUDE_TRANSFORM.rst
@@ -0,0 +1,32 @@
+IMPLICIT_DEPENDS_INCLUDE_TRANSFORM
+----------------------------------
+
+Specify #include line transforms for dependencies in a target.
+
+This property specifies rules to transform macro-like #include lines
+during implicit dependency scanning of C and C++ source files. The
+list of rules must be semicolon-separated with each entry of the form
+"A_MACRO(%)=value-with-%" (the % must be literal). During dependency
+scanning occurrences of A_MACRO(...) on #include lines will be
+replaced by the value given with the macro argument substituted for
+'%'. For example, the entry
+
+::
+
+ MYDIR(%)=<mydir/%>
+
+will convert lines of the form
+
+::
+
+ #include MYDIR(myheader.h)
+
+to
+
+::
+
+ #include <mydir/myheader.h>
+
+allowing the dependency to be followed.
+
+This property applies to sources in the target on which it is set.
diff --git a/Help/prop_tgt/IMPORTED.rst b/Help/prop_tgt/IMPORTED.rst
new file mode 100644
index 0000000..605c1ce
--- /dev/null
+++ b/Help/prop_tgt/IMPORTED.rst
@@ -0,0 +1,8 @@
+IMPORTED
+--------
+
+Read-only indication of whether a target is IMPORTED.
+
+The boolean value of this property is ``True`` for targets created with
+the IMPORTED option to :command:`add_executable` or :command:`add_library`.
+It is ``False`` for targets built within the project.
diff --git a/Help/prop_tgt/IMPORTED_CONFIGURATIONS.rst b/Help/prop_tgt/IMPORTED_CONFIGURATIONS.rst
new file mode 100644
index 0000000..6de1baa
--- /dev/null
+++ b/Help/prop_tgt/IMPORTED_CONFIGURATIONS.rst
@@ -0,0 +1,11 @@
+IMPORTED_CONFIGURATIONS
+-----------------------
+
+Configurations provided for an IMPORTED target.
+
+Set this to the list of configuration names available for an IMPORTED
+target. The names correspond to configurations defined in the project
+from which the target is imported. If the importing project uses a
+different set of configurations the names may be mapped using the
+MAP_IMPORTED_CONFIG_<CONFIG> property. Ignored for non-imported
+targets.
diff --git a/Help/prop_tgt/IMPORTED_IMPLIB.rst b/Help/prop_tgt/IMPORTED_IMPLIB.rst
new file mode 100644
index 0000000..acf4b32
--- /dev/null
+++ b/Help/prop_tgt/IMPORTED_IMPLIB.rst
@@ -0,0 +1,7 @@
+IMPORTED_IMPLIB
+---------------
+
+Full path to the import library for an IMPORTED target.
+
+Set this to the location of the ".lib" part of a windows DLL. Ignored
+for non-imported targets.
diff --git a/Help/prop_tgt/IMPORTED_IMPLIB_CONFIG.rst b/Help/prop_tgt/IMPORTED_IMPLIB_CONFIG.rst
new file mode 100644
index 0000000..b4b3f02
--- /dev/null
+++ b/Help/prop_tgt/IMPORTED_IMPLIB_CONFIG.rst
@@ -0,0 +1,7 @@
+IMPORTED_IMPLIB_<CONFIG>
+------------------------
+
+<CONFIG>-specific version of IMPORTED_IMPLIB property.
+
+Configuration names correspond to those provided by the project from
+which the target is imported.
diff --git a/Help/prop_tgt/IMPORTED_LINK_DEPENDENT_LIBRARIES.rst b/Help/prop_tgt/IMPORTED_LINK_DEPENDENT_LIBRARIES.rst
new file mode 100644
index 0000000..2db2b0e
--- /dev/null
+++ b/Help/prop_tgt/IMPORTED_LINK_DEPENDENT_LIBRARIES.rst
@@ -0,0 +1,14 @@
+IMPORTED_LINK_DEPENDENT_LIBRARIES
+---------------------------------
+
+Dependent shared libraries of an imported shared library.
+
+Shared libraries may be linked to other shared libraries as part of
+their implementation. On some platforms the linker searches for the
+dependent libraries of shared libraries they are including in the
+link. Set this property to the list of dependent shared libraries of
+an imported library. The list should be disjoint from the list of
+interface libraries in the INTERFACE_LINK_LIBRARIES property. On
+platforms requiring dependent shared libraries to be found at link
+time CMake uses this list to add appropriate files or paths to the
+link command line. Ignored for non-imported targets.
diff --git a/Help/prop_tgt/IMPORTED_LINK_DEPENDENT_LIBRARIES_CONFIG.rst b/Help/prop_tgt/IMPORTED_LINK_DEPENDENT_LIBRARIES_CONFIG.rst
new file mode 100644
index 0000000..ee243c7
--- /dev/null
+++ b/Help/prop_tgt/IMPORTED_LINK_DEPENDENT_LIBRARIES_CONFIG.rst
@@ -0,0 +1,8 @@
+IMPORTED_LINK_DEPENDENT_LIBRARIES_<CONFIG>
+------------------------------------------
+
+<CONFIG>-specific version of IMPORTED_LINK_DEPENDENT_LIBRARIES.
+
+Configuration names correspond to those provided by the project from
+which the target is imported. If set, this property completely
+overrides the generic property for the named configuration.
diff --git a/Help/prop_tgt/IMPORTED_LINK_INTERFACE_LANGUAGES.rst b/Help/prop_tgt/IMPORTED_LINK_INTERFACE_LANGUAGES.rst
new file mode 100644
index 0000000..5ca9c8b
--- /dev/null
+++ b/Help/prop_tgt/IMPORTED_LINK_INTERFACE_LANGUAGES.rst
@@ -0,0 +1,14 @@
+IMPORTED_LINK_INTERFACE_LANGUAGES
+---------------------------------
+
+Languages compiled into an IMPORTED static library.
+
+Set this to the list of languages of source files compiled to produce
+a STATIC IMPORTED library (such as "C" or "CXX"). CMake accounts for
+these languages when computing how to link a target to the imported
+library. For example, when a C executable links to an imported C++
+static library CMake chooses the C++ linker to satisfy language
+runtime dependencies of the static library.
+
+This property is ignored for targets that are not STATIC libraries.
+This property is ignored for non-imported targets.
diff --git a/Help/prop_tgt/IMPORTED_LINK_INTERFACE_LANGUAGES_CONFIG.rst b/Help/prop_tgt/IMPORTED_LINK_INTERFACE_LANGUAGES_CONFIG.rst
new file mode 100644
index 0000000..d4a10fb
--- /dev/null
+++ b/Help/prop_tgt/IMPORTED_LINK_INTERFACE_LANGUAGES_CONFIG.rst
@@ -0,0 +1,8 @@
+IMPORTED_LINK_INTERFACE_LANGUAGES_<CONFIG>
+------------------------------------------
+
+<CONFIG>-specific version of IMPORTED_LINK_INTERFACE_LANGUAGES.
+
+Configuration names correspond to those provided by the project from
+which the target is imported. If set, this property completely
+overrides the generic property for the named configuration.
diff --git a/Help/prop_tgt/IMPORTED_LINK_INTERFACE_LIBRARIES.rst b/Help/prop_tgt/IMPORTED_LINK_INTERFACE_LIBRARIES.rst
new file mode 100644
index 0000000..61134a4
--- /dev/null
+++ b/Help/prop_tgt/IMPORTED_LINK_INTERFACE_LIBRARIES.rst
@@ -0,0 +1,16 @@
+IMPORTED_LINK_INTERFACE_LIBRARIES
+---------------------------------
+
+Transitive link interface of an IMPORTED target.
+
+Set this to the list of libraries whose interface is included when an
+IMPORTED library target is linked to another target. The libraries
+will be included on the link line for the target. Unlike the
+LINK_INTERFACE_LIBRARIES property, this property applies to all
+imported target types, including STATIC libraries. This property is
+ignored for non-imported targets.
+
+This property is ignored if the target also has a non-empty
+INTERFACE_LINK_LIBRARIES property.
+
+This property is deprecated. Use INTERFACE_LINK_LIBRARIES instead.
diff --git a/Help/prop_tgt/IMPORTED_LINK_INTERFACE_LIBRARIES_CONFIG.rst b/Help/prop_tgt/IMPORTED_LINK_INTERFACE_LIBRARIES_CONFIG.rst
new file mode 100644
index 0000000..13b93ba
--- /dev/null
+++ b/Help/prop_tgt/IMPORTED_LINK_INTERFACE_LIBRARIES_CONFIG.rst
@@ -0,0 +1,13 @@
+IMPORTED_LINK_INTERFACE_LIBRARIES_<CONFIG>
+------------------------------------------
+
+<CONFIG>-specific version of IMPORTED_LINK_INTERFACE_LIBRARIES.
+
+Configuration names correspond to those provided by the project from
+which the target is imported. If set, this property completely
+overrides the generic property for the named configuration.
+
+This property is ignored if the target also has a non-empty
+INTERFACE_LINK_LIBRARIES property.
+
+This property is deprecated. Use INTERFACE_LINK_LIBRARIES instead.
diff --git a/Help/prop_tgt/IMPORTED_LINK_INTERFACE_MULTIPLICITY.rst b/Help/prop_tgt/IMPORTED_LINK_INTERFACE_MULTIPLICITY.rst
new file mode 100644
index 0000000..3a86b99
--- /dev/null
+++ b/Help/prop_tgt/IMPORTED_LINK_INTERFACE_MULTIPLICITY.rst
@@ -0,0 +1,6 @@
+IMPORTED_LINK_INTERFACE_MULTIPLICITY
+------------------------------------
+
+Repetition count for cycles of IMPORTED static libraries.
+
+This is LINK_INTERFACE_MULTIPLICITY for IMPORTED targets.
diff --git a/Help/prop_tgt/IMPORTED_LINK_INTERFACE_MULTIPLICITY_CONFIG.rst b/Help/prop_tgt/IMPORTED_LINK_INTERFACE_MULTIPLICITY_CONFIG.rst
new file mode 100644
index 0000000..33b9b84
--- /dev/null
+++ b/Help/prop_tgt/IMPORTED_LINK_INTERFACE_MULTIPLICITY_CONFIG.rst
@@ -0,0 +1,7 @@
+IMPORTED_LINK_INTERFACE_MULTIPLICITY_<CONFIG>
+---------------------------------------------
+
+<CONFIG>-specific version of IMPORTED_LINK_INTERFACE_MULTIPLICITY.
+
+If set, this property completely overrides the generic property for
+the named configuration.
diff --git a/Help/prop_tgt/IMPORTED_LOCATION.rst b/Help/prop_tgt/IMPORTED_LOCATION.rst
new file mode 100644
index 0000000..8cfef73
--- /dev/null
+++ b/Help/prop_tgt/IMPORTED_LOCATION.rst
@@ -0,0 +1,21 @@
+IMPORTED_LOCATION
+-----------------
+
+Full path to the main file on disk for an IMPORTED target.
+
+Set this to the location of an IMPORTED target file on disk. For
+executables this is the location of the executable file. For bundles
+on OS X this is the location of the executable file inside
+Contents/MacOS under the application bundle folder. For static
+libraries and modules this is the location of the library or module.
+For shared libraries on non-DLL platforms this is the location of the
+shared library. For frameworks on OS X this is the location of the
+library file symlink just inside the framework folder. For DLLs this
+is the location of the ".dll" part of the library. For UNKNOWN
+libraries this is the location of the file to be linked. Ignored for
+non-imported targets.
+
+Projects may skip IMPORTED_LOCATION if the configuration-specific
+property IMPORTED_LOCATION_<CONFIG> is set. To get the location of an
+imported target read one of the LOCATION or LOCATION_<CONFIG>
+properties.
diff --git a/Help/prop_tgt/IMPORTED_LOCATION_CONFIG.rst b/Help/prop_tgt/IMPORTED_LOCATION_CONFIG.rst
new file mode 100644
index 0000000..f85bb19
--- /dev/null
+++ b/Help/prop_tgt/IMPORTED_LOCATION_CONFIG.rst
@@ -0,0 +1,7 @@
+IMPORTED_LOCATION_<CONFIG>
+--------------------------
+
+<CONFIG>-specific version of IMPORTED_LOCATION property.
+
+Configuration names correspond to those provided by the project from
+which the target is imported.
diff --git a/Help/prop_tgt/IMPORTED_NO_SONAME.rst b/Help/prop_tgt/IMPORTED_NO_SONAME.rst
new file mode 100644
index 0000000..4a1bb44
--- /dev/null
+++ b/Help/prop_tgt/IMPORTED_NO_SONAME.rst
@@ -0,0 +1,9 @@
+IMPORTED_NO_SONAME
+------------------
+
+Specifies that an IMPORTED shared library target has no "soname".
+
+Set this property to true for an imported shared library file that has
+no "soname" field. CMake may adjust generated link commands for some
+platforms to prevent the linker from using the path to the library in
+place of its missing soname. Ignored for non-imported targets.
diff --git a/Help/prop_tgt/IMPORTED_NO_SONAME_CONFIG.rst b/Help/prop_tgt/IMPORTED_NO_SONAME_CONFIG.rst
new file mode 100644
index 0000000..22d6822
--- /dev/null
+++ b/Help/prop_tgt/IMPORTED_NO_SONAME_CONFIG.rst
@@ -0,0 +1,7 @@
+IMPORTED_NO_SONAME_<CONFIG>
+---------------------------
+
+<CONFIG>-specific version of IMPORTED_NO_SONAME property.
+
+Configuration names correspond to those provided by the project from
+which the target is imported.
diff --git a/Help/prop_tgt/IMPORTED_SONAME.rst b/Help/prop_tgt/IMPORTED_SONAME.rst
new file mode 100644
index 0000000..d80907e
--- /dev/null
+++ b/Help/prop_tgt/IMPORTED_SONAME.rst
@@ -0,0 +1,8 @@
+IMPORTED_SONAME
+---------------
+
+The "soname" of an IMPORTED target of shared library type.
+
+Set this to the "soname" embedded in an imported shared library. This
+is meaningful only on platforms supporting the feature. Ignored for
+non-imported targets.
diff --git a/Help/prop_tgt/IMPORTED_SONAME_CONFIG.rst b/Help/prop_tgt/IMPORTED_SONAME_CONFIG.rst
new file mode 100644
index 0000000..6ec9af3
--- /dev/null
+++ b/Help/prop_tgt/IMPORTED_SONAME_CONFIG.rst
@@ -0,0 +1,7 @@
+IMPORTED_SONAME_<CONFIG>
+------------------------
+
+<CONFIG>-specific version of IMPORTED_SONAME property.
+
+Configuration names correspond to those provided by the project from
+which the target is imported.
diff --git a/Help/prop_tgt/IMPORT_PREFIX.rst b/Help/prop_tgt/IMPORT_PREFIX.rst
new file mode 100644
index 0000000..deede97
--- /dev/null
+++ b/Help/prop_tgt/IMPORT_PREFIX.rst
@@ -0,0 +1,9 @@
+IMPORT_PREFIX
+-------------
+
+What comes before the import library name.
+
+Similar to the target property PREFIX, but used for import libraries
+(typically corresponding to a DLL) instead of regular libraries. A
+target property that can be set to override the prefix (such as "lib")
+on an import library name.
diff --git a/Help/prop_tgt/IMPORT_SUFFIX.rst b/Help/prop_tgt/IMPORT_SUFFIX.rst
new file mode 100644
index 0000000..bd01250
--- /dev/null
+++ b/Help/prop_tgt/IMPORT_SUFFIX.rst
@@ -0,0 +1,9 @@
+IMPORT_SUFFIX
+-------------
+
+What comes after the import library name.
+
+Similar to the target property SUFFIX, but used for import libraries
+(typically corresponding to a DLL) instead of regular libraries. A
+target property that can be set to override the suffix (such as
+".lib") on an import library name.
diff --git a/Help/prop_tgt/INCLUDE_DIRECTORIES.rst b/Help/prop_tgt/INCLUDE_DIRECTORIES.rst
new file mode 100644
index 0000000..8b40d9c
--- /dev/null
+++ b/Help/prop_tgt/INCLUDE_DIRECTORIES.rst
@@ -0,0 +1,24 @@
+INCLUDE_DIRECTORIES
+-------------------
+
+List of preprocessor include file search directories.
+
+This property specifies the list of directories given so far to the
+:command:`target_include_directories` command. In addition to accepting
+values from that command, values may be set directly on any
+target using the :command:`set_property` command. A target gets its
+initial value for this property from the value of the
+:prop_dir:`INCLUDE_DIRECTORIES` directory property. Both directory and
+target property values are adjusted by calls to the
+:command:`include_directories` command.
+
+The value of this property is used by the generators to set the include
+paths for the compiler.
+
+Relative paths should not be added to this property directly. Use one of
+the commands above instead to handle relative paths.
+
+Contents of ``INCLUDE_DIRECTORIES`` may use "generator expressions" with
+the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
+manual for available expressions. See the :manual:`cmake-buildsystem(7)`
+manual for more on defining buildsystem properties.
diff --git a/Help/prop_tgt/INSTALL_NAME_DIR.rst b/Help/prop_tgt/INSTALL_NAME_DIR.rst
new file mode 100644
index 0000000..a67ec15
--- /dev/null
+++ b/Help/prop_tgt/INSTALL_NAME_DIR.rst
@@ -0,0 +1,8 @@
+INSTALL_NAME_DIR
+----------------
+
+Mac OSX directory name for installed targets.
+
+INSTALL_NAME_DIR is a string specifying the directory portion of the
+"install_name" field of shared libraries on Mac OSX to use in the
+installed targets.
diff --git a/Help/prop_tgt/INSTALL_RPATH.rst b/Help/prop_tgt/INSTALL_RPATH.rst
new file mode 100644
index 0000000..6206b68
--- /dev/null
+++ b/Help/prop_tgt/INSTALL_RPATH.rst
@@ -0,0 +1,9 @@
+INSTALL_RPATH
+-------------
+
+The rpath to use for installed targets.
+
+A semicolon-separated list specifying the rpath to use in installed
+targets (for platforms that support it). This property is initialized
+by the value of the variable CMAKE_INSTALL_RPATH if it is set when a
+target is created.
diff --git a/Help/prop_tgt/INSTALL_RPATH_USE_LINK_PATH.rst b/Help/prop_tgt/INSTALL_RPATH_USE_LINK_PATH.rst
new file mode 100644
index 0000000..f0006f8
--- /dev/null
+++ b/Help/prop_tgt/INSTALL_RPATH_USE_LINK_PATH.rst
@@ -0,0 +1,10 @@
+INSTALL_RPATH_USE_LINK_PATH
+---------------------------
+
+Add paths to linker search and installed rpath.
+
+INSTALL_RPATH_USE_LINK_PATH is a boolean that if set to true will
+append directories in the linker search path and outside the project
+to the INSTALL_RPATH. This property is initialized by the value of
+the variable CMAKE_INSTALL_RPATH_USE_LINK_PATH if it is set when a
+target is created.
diff --git a/Help/prop_tgt/INTERFACE_AUTOUIC_OPTIONS.rst b/Help/prop_tgt/INTERFACE_AUTOUIC_OPTIONS.rst
new file mode 100644
index 0000000..e97d293
--- /dev/null
+++ b/Help/prop_tgt/INTERFACE_AUTOUIC_OPTIONS.rst
@@ -0,0 +1,14 @@
+INTERFACE_AUTOUIC_OPTIONS
+-------------------------
+
+List of interface options to pass to uic.
+
+Targets may populate this property to publish the options
+required to use when invoking ``uic``. Consuming targets can add entries to their
+own :prop_tgt:`AUTOUIC_OPTIONS` property such as
+``$<TARGET_PROPERTY:foo,INTERFACE_AUTOUIC_OPTIONS>`` to use the uic options
+specified in the interface of ``foo``. This is done automatically by
+the :command:`target_link_libraries` command.
+
+This property supports generator expressions. See the
+:manual:`cmake-generator-expressions(7)` manual for available expressions.
diff --git a/Help/prop_tgt/INTERFACE_COMPILE_DEFINITIONS.rst b/Help/prop_tgt/INTERFACE_COMPILE_DEFINITIONS.rst
new file mode 100644
index 0000000..910b661
--- /dev/null
+++ b/Help/prop_tgt/INTERFACE_COMPILE_DEFINITIONS.rst
@@ -0,0 +1,15 @@
+INTERFACE_COMPILE_DEFINITIONS
+-----------------------------
+
+List of public compile definitions for a library.
+
+Targets may populate this property to publish the compile definitions
+required to compile against the headers for the target. Consuming
+targets can add entries to their own :prop_tgt:`COMPILE_DEFINITIONS`
+property such as ``$<TARGET_PROPERTY:foo,INTERFACE_COMPILE_DEFINITIONS>``
+to use the compile definitions specified in the interface of ``foo``.
+
+Contents of ``INTERFACE_COMPILE_DEFINITIONS`` may use "generator expressions"
+with the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
+manual for available expressions. See the :manual:`cmake-buildsystem(7)`
+manual for more on defining buildsystem properties.
diff --git a/Help/prop_tgt/INTERFACE_COMPILE_OPTIONS.rst b/Help/prop_tgt/INTERFACE_COMPILE_OPTIONS.rst
new file mode 100644
index 0000000..d0a38d6
--- /dev/null
+++ b/Help/prop_tgt/INTERFACE_COMPILE_OPTIONS.rst
@@ -0,0 +1,15 @@
+INTERFACE_COMPILE_OPTIONS
+-------------------------
+
+List of interface options to pass to the compiler.
+
+Targets may populate this property to publish the compile options
+required to compile against the headers for the target. Consuming
+targets can add entries to their own :prop_tgt:`COMPILE_OPTIONS` property
+such as ``$<TARGET_PROPERTY:foo,INTERFACE_COMPILE_OPTIONS>`` to use the
+compile options specified in the interface of ``foo``.
+
+Contents of ``INTERFACE_COMPILE_OPTIONS`` may use "generator expressions"
+with the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
+manual for available expressions. See the :manual:`cmake-buildsystem(7)`
+manual for more on defining buildsystem properties.
diff --git a/Help/prop_tgt/INTERFACE_INCLUDE_DIRECTORIES.rst b/Help/prop_tgt/INTERFACE_INCLUDE_DIRECTORIES.rst
new file mode 100644
index 0000000..bf4ab46
--- /dev/null
+++ b/Help/prop_tgt/INTERFACE_INCLUDE_DIRECTORIES.rst
@@ -0,0 +1,15 @@
+INTERFACE_INCLUDE_DIRECTORIES
+-----------------------------
+
+List of public include directories for a library.
+
+Targets may populate this property to publish the include directories
+required to compile against the headers for the target. Consuming
+targets can add entries to their own :prop_tgt:`INCLUDE_DIRECTORIES`
+property such as ``$<TARGET_PROPERTY:foo,INTERFACE_INCLUDE_DIRECTORIES>``
+to use the include directories specified in the interface of ``foo``.
+
+Contents of ``INTERFACE_INCLUDE_DIRECTORIES`` may use "generator expressions"
+with the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
+manual for available expressions. See the :manual:`cmake-buildsystem(7)`
+manual for more on defining buildsystem properties.
diff --git a/Help/prop_tgt/INTERFACE_LINK_LIBRARIES.rst b/Help/prop_tgt/INTERFACE_LINK_LIBRARIES.rst
new file mode 100644
index 0000000..8e4843b
--- /dev/null
+++ b/Help/prop_tgt/INTERFACE_LINK_LIBRARIES.rst
@@ -0,0 +1,17 @@
+INTERFACE_LINK_LIBRARIES
+------------------------
+
+List public interface libraries for a library.
+
+This property contains the list of transitive link dependencies. When
+the target is linked into another target the libraries listed (and
+recursively their link interface libraries) will be provided to the
+other target also. This property is overridden by the
+:prop_tgt:`LINK_INTERFACE_LIBRARIES` or
+:prop_tgt:`LINK_INTERFACE_LIBRARIES_<CONFIG>` property if policy
+:policy:`CMP0022` is ``OLD`` or unset.
+
+Contents of ``INTERFACE_LINK_LIBRARIES`` may use "generator expressions"
+with the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
+manual for available expressions. See the :manual:`cmake-buildsystem(7)`
+manual for more on defining buildsystem properties.
diff --git a/Help/prop_tgt/INTERFACE_POSITION_INDEPENDENT_CODE.rst b/Help/prop_tgt/INTERFACE_POSITION_INDEPENDENT_CODE.rst
new file mode 100644
index 0000000..ea700df
--- /dev/null
+++ b/Help/prop_tgt/INTERFACE_POSITION_INDEPENDENT_CODE.rst
@@ -0,0 +1,16 @@
+INTERFACE_POSITION_INDEPENDENT_CODE
+-----------------------------------
+
+Whether consumers need to create a position-independent target
+
+The ``INTERFACE_POSITION_INDEPENDENT_CODE`` property informs consumers of
+this target whether they must set their
+:prop_tgt:`POSITION_INDEPENDENT_CODE` property to ``ON``. If this
+property is set to ``ON``, then the :prop_tgt:`POSITION_INDEPENDENT_CODE`
+property on all consumers will be set to ``ON``. Similarly, if this
+property is set to ``OFF``, then the :prop_tgt:`POSITION_INDEPENDENT_CODE`
+property on all consumers will be set to ``OFF``. If this property is
+undefined, then consumers will determine their
+:prop_tgt:`POSITION_INDEPENDENT_CODE` property by other means. Consumers
+must ensure that the targets that they link to have a consistent
+requirement for their ``INTERFACE_POSITION_INDEPENDENT_CODE`` property.
diff --git a/Help/prop_tgt/INTERFACE_SYSTEM_INCLUDE_DIRECTORIES.rst b/Help/prop_tgt/INTERFACE_SYSTEM_INCLUDE_DIRECTORIES.rst
new file mode 100644
index 0000000..9e603ee
--- /dev/null
+++ b/Help/prop_tgt/INTERFACE_SYSTEM_INCLUDE_DIRECTORIES.rst
@@ -0,0 +1,15 @@
+INTERFACE_SYSTEM_INCLUDE_DIRECTORIES
+------------------------------------
+
+List of public system include directories for a library.
+
+Targets may populate this property to publish the include directories
+which contain system headers, and therefore should not result in
+compiler warnings. Consuming targets will then mark the same include
+directories as system headers.
+
+Contents of ``INTERFACE_SYSTEM_INCLUDE_DIRECTORIES`` may use "generator
+expressions" with the syntax ``$<...>``. See the
+:manual:`cmake-generator-expressions(7)` manual for available expressions.
+See the :manual:`cmake-buildsystem(7)` manual for more on defining
+buildsystem properties.
diff --git a/Help/prop_tgt/INTERPROCEDURAL_OPTIMIZATION.rst b/Help/prop_tgt/INTERPROCEDURAL_OPTIMIZATION.rst
new file mode 100644
index 0000000..effa3b0
--- /dev/null
+++ b/Help/prop_tgt/INTERPROCEDURAL_OPTIMIZATION.rst
@@ -0,0 +1,7 @@
+INTERPROCEDURAL_OPTIMIZATION
+----------------------------
+
+Enable interprocedural optimization for a target.
+
+If set to true, enables interprocedural optimizations if they are
+known to be supported by the compiler.
diff --git a/Help/prop_tgt/INTERPROCEDURAL_OPTIMIZATION_CONFIG.rst b/Help/prop_tgt/INTERPROCEDURAL_OPTIMIZATION_CONFIG.rst
new file mode 100644
index 0000000..492fee0
--- /dev/null
+++ b/Help/prop_tgt/INTERPROCEDURAL_OPTIMIZATION_CONFIG.rst
@@ -0,0 +1,8 @@
+INTERPROCEDURAL_OPTIMIZATION_<CONFIG>
+-------------------------------------
+
+Per-configuration interprocedural optimization for a target.
+
+This is a per-configuration version of INTERPROCEDURAL_OPTIMIZATION.
+If set, this property overrides the generic property for the named
+configuration.
diff --git a/Help/prop_tgt/JOB_POOL_COMPILE.rst b/Help/prop_tgt/JOB_POOL_COMPILE.rst
new file mode 100644
index 0000000..5d8e940
--- /dev/null
+++ b/Help/prop_tgt/JOB_POOL_COMPILE.rst
@@ -0,0 +1,17 @@
+JOB_POOL_COMPILE
+----------------
+
+Ninja only: Pool used for compiling.
+
+The number of parallel compile processes could be limited by defining
+pools with the global :prop_gbl:`JOB_POOLS`
+property and then specifying here the pool name.
+
+For instance:
+
+.. code-block:: cmake
+
+ set_property(TARGET myexe PROPERTY JOB_POOL_COMPILE ten_jobs)
+
+This property is initialized by the value of
+:variable:`CMAKE_JOB_POOL_COMPILE`.
diff --git a/Help/prop_tgt/JOB_POOL_LINK.rst b/Help/prop_tgt/JOB_POOL_LINK.rst
new file mode 100644
index 0000000..716f53f
--- /dev/null
+++ b/Help/prop_tgt/JOB_POOL_LINK.rst
@@ -0,0 +1,16 @@
+JOB_POOL_LINK
+-------------
+
+Ninja only: Pool used for linking.
+
+The number of parallel link processes could be limited by defining
+pools with the global :prop_gbl:`JOB_POOLS`
+property and then specifing here the pool name.
+
+For instance:
+
+.. code-block:: cmake
+
+ set_property(TARGET myexe PROPERTY JOB_POOL_LINK two_jobs)
+
+This property is initialized by the value of :variable:`CMAKE_JOB_POOL_LINK`.
diff --git a/Help/prop_tgt/LABELS.rst b/Help/prop_tgt/LABELS.rst
new file mode 100644
index 0000000..5e46469
--- /dev/null
+++ b/Help/prop_tgt/LABELS.rst
@@ -0,0 +1,6 @@
+LABELS
+------
+
+Specify a list of text labels associated with a target.
+
+Target label semantics are currently unspecified.
diff --git a/Help/prop_tgt/LANG_VISIBILITY_PRESET.rst b/Help/prop_tgt/LANG_VISIBILITY_PRESET.rst
new file mode 100644
index 0000000..d4bde17
--- /dev/null
+++ b/Help/prop_tgt/LANG_VISIBILITY_PRESET.rst
@@ -0,0 +1,10 @@
+<LANG>_VISIBILITY_PRESET
+------------------------
+
+Value for symbol visibility compile flags
+
+The <LANG>_VISIBILITY_PRESET property determines the value passed in a
+visibility related compile option, such as -fvisibility= for <LANG>.
+This property only has an affect for libraries and executables with
+exports. This property is initialized by the value of the variable
+CMAKE_<LANG>_VISIBILITY_PRESET if it is set when a target is created.
diff --git a/Help/prop_tgt/LIBRARY_OUTPUT_DIRECTORY.rst b/Help/prop_tgt/LIBRARY_OUTPUT_DIRECTORY.rst
new file mode 100644
index 0000000..e1d3a82
--- /dev/null
+++ b/Help/prop_tgt/LIBRARY_OUTPUT_DIRECTORY.rst
@@ -0,0 +1,7 @@
+LIBRARY_OUTPUT_DIRECTORY
+------------------------
+
+.. |XXX| replace:: LIBRARY
+.. |xxx| replace:: library
+.. |CMAKE_XXX_OUTPUT_DIRECTORY| replace:: CMAKE_LIBRARY_OUTPUT_DIRECTORY
+.. include:: XXX_OUTPUT_DIRECTORY.txt
diff --git a/Help/prop_tgt/LIBRARY_OUTPUT_DIRECTORY_CONFIG.rst b/Help/prop_tgt/LIBRARY_OUTPUT_DIRECTORY_CONFIG.rst
new file mode 100644
index 0000000..2a38373
--- /dev/null
+++ b/Help/prop_tgt/LIBRARY_OUTPUT_DIRECTORY_CONFIG.rst
@@ -0,0 +1,11 @@
+LIBRARY_OUTPUT_DIRECTORY_<CONFIG>
+---------------------------------
+
+Per-configuration output directory for LIBRARY target files.
+
+This is a per-configuration version of LIBRARY_OUTPUT_DIRECTORY, but
+multi-configuration generators (VS, Xcode) do NOT append a
+per-configuration subdirectory to the specified directory. This
+property is initialized by the value of the variable
+CMAKE_LIBRARY_OUTPUT_DIRECTORY_<CONFIG> if it is set when a target is
+created.
diff --git a/Help/prop_tgt/LIBRARY_OUTPUT_NAME.rst b/Help/prop_tgt/LIBRARY_OUTPUT_NAME.rst
new file mode 100644
index 0000000..9e9d401
--- /dev/null
+++ b/Help/prop_tgt/LIBRARY_OUTPUT_NAME.rst
@@ -0,0 +1,6 @@
+LIBRARY_OUTPUT_NAME
+-------------------
+
+.. |XXX| replace:: LIBRARY
+.. |xxx| replace:: library
+.. include:: XXX_OUTPUT_NAME.txt
diff --git a/Help/prop_tgt/LIBRARY_OUTPUT_NAME_CONFIG.rst b/Help/prop_tgt/LIBRARY_OUTPUT_NAME_CONFIG.rst
new file mode 100644
index 0000000..785d1b2
--- /dev/null
+++ b/Help/prop_tgt/LIBRARY_OUTPUT_NAME_CONFIG.rst
@@ -0,0 +1,6 @@
+LIBRARY_OUTPUT_NAME_<CONFIG>
+----------------------------
+
+Per-configuration output name for LIBRARY target files.
+
+This is the configuration-specific version of LIBRARY_OUTPUT_NAME.
diff --git a/Help/prop_tgt/LINKER_LANGUAGE.rst b/Help/prop_tgt/LINKER_LANGUAGE.rst
new file mode 100644
index 0000000..b1ca867
--- /dev/null
+++ b/Help/prop_tgt/LINKER_LANGUAGE.rst
@@ -0,0 +1,14 @@
+LINKER_LANGUAGE
+---------------
+
+Specifies language whose compiler will invoke the linker.
+
+For executables, shared libraries, and modules, this sets the language
+whose compiler is used to link the target (such as "C" or "CXX"). A
+typical value for an executable is the language of the source file
+providing the program entry point (main). If not set, the language
+with the highest linker preference value is the default. See
+documentation of CMAKE_<LANG>_LINKER_PREFERENCE variables.
+
+If this property is not set by the user, it will be calculated at
+generate-time by CMake.
diff --git a/Help/prop_tgt/LINK_DEPENDS.rst b/Help/prop_tgt/LINK_DEPENDS.rst
new file mode 100644
index 0000000..5576b85
--- /dev/null
+++ b/Help/prop_tgt/LINK_DEPENDS.rst
@@ -0,0 +1,12 @@
+LINK_DEPENDS
+------------
+
+Additional files on which a target binary depends for linking.
+
+Specifies a semicolon-separated list of full-paths to files on which
+the link rule for this target depends. The target binary will be
+linked if any of the named files is newer than it.
+
+This property is ignored by non-Makefile generators. It is intended
+to specify dependencies on "linker scripts" for custom Makefile link
+rules.
diff --git a/Help/prop_tgt/LINK_DEPENDS_NO_SHARED.rst b/Help/prop_tgt/LINK_DEPENDS_NO_SHARED.rst
new file mode 100644
index 0000000..5c6778d
--- /dev/null
+++ b/Help/prop_tgt/LINK_DEPENDS_NO_SHARED.rst
@@ -0,0 +1,14 @@
+LINK_DEPENDS_NO_SHARED
+----------------------
+
+Do not depend on linked shared library files.
+
+Set this property to true to tell CMake generators not to add
+file-level dependencies on the shared library files linked by this
+target. Modification to the shared libraries will not be sufficient
+to re-link this target. Logical target-level dependencies will not be
+affected so the linked shared libraries will still be brought up to
+date before this target is built.
+
+This property is initialized by the value of the variable
+CMAKE_LINK_DEPENDS_NO_SHARED if it is set when a target is created.
diff --git a/Help/prop_tgt/LINK_FLAGS.rst b/Help/prop_tgt/LINK_FLAGS.rst
new file mode 100644
index 0000000..409d00a
--- /dev/null
+++ b/Help/prop_tgt/LINK_FLAGS.rst
@@ -0,0 +1,8 @@
+LINK_FLAGS
+----------
+
+Additional flags to use when linking this target.
+
+The LINK_FLAGS property can be used to add extra flags to the link
+step of a target. LINK_FLAGS_<CONFIG> will add to the configuration
+<CONFIG>, for example, DEBUG, RELEASE, MINSIZEREL, RELWITHDEBINFO.
diff --git a/Help/prop_tgt/LINK_FLAGS_CONFIG.rst b/Help/prop_tgt/LINK_FLAGS_CONFIG.rst
new file mode 100644
index 0000000..ba7adc8
--- /dev/null
+++ b/Help/prop_tgt/LINK_FLAGS_CONFIG.rst
@@ -0,0 +1,6 @@
+LINK_FLAGS_<CONFIG>
+-------------------
+
+Per-configuration linker flags for a target.
+
+This is the configuration-specific version of LINK_FLAGS.
diff --git a/Help/prop_tgt/LINK_INTERFACE_LIBRARIES.rst b/Help/prop_tgt/LINK_INTERFACE_LIBRARIES.rst
new file mode 100644
index 0000000..435e25e
--- /dev/null
+++ b/Help/prop_tgt/LINK_INTERFACE_LIBRARIES.rst
@@ -0,0 +1,22 @@
+LINK_INTERFACE_LIBRARIES
+------------------------
+
+List public interface libraries for a shared library or executable.
+
+By default linking to a shared library target transitively links to
+targets with which the library itself was linked. For an executable
+with exports (see the ENABLE_EXPORTS property) no default transitive
+link dependencies are used. This property replaces the default
+transitive link dependencies with an explicit list. When the target
+is linked into another target the libraries listed (and recursively
+their link interface libraries) will be provided to the other target
+also. If the list is empty then no transitive link dependencies will
+be incorporated when this target is linked into another target even if
+the default set is non-empty. This property is initialized by the
+value of the variable CMAKE_LINK_INTERFACE_LIBRARIES if it is set when
+a target is created. This property is ignored for STATIC libraries.
+
+This property is overridden by the INTERFACE_LINK_LIBRARIES property if
+policy CMP0022 is NEW.
+
+This property is deprecated. Use INTERFACE_LINK_LIBRARIES instead.
diff --git a/Help/prop_tgt/LINK_INTERFACE_LIBRARIES_CONFIG.rst b/Help/prop_tgt/LINK_INTERFACE_LIBRARIES_CONFIG.rst
new file mode 100644
index 0000000..08bd650
--- /dev/null
+++ b/Help/prop_tgt/LINK_INTERFACE_LIBRARIES_CONFIG.rst
@@ -0,0 +1,13 @@
+LINK_INTERFACE_LIBRARIES_<CONFIG>
+---------------------------------
+
+Per-configuration list of public interface libraries for a target.
+
+This is the configuration-specific version of
+LINK_INTERFACE_LIBRARIES. If set, this property completely overrides
+the generic property for the named configuration.
+
+This property is overridden by the INTERFACE_LINK_LIBRARIES property if
+policy CMP0022 is NEW.
+
+This property is deprecated. Use INTERFACE_LINK_LIBRARIES instead.
diff --git a/Help/prop_tgt/LINK_INTERFACE_MULTIPLICITY.rst b/Help/prop_tgt/LINK_INTERFACE_MULTIPLICITY.rst
new file mode 100644
index 0000000..4e26388
--- /dev/null
+++ b/Help/prop_tgt/LINK_INTERFACE_MULTIPLICITY.rst
@@ -0,0 +1,12 @@
+LINK_INTERFACE_MULTIPLICITY
+---------------------------
+
+Repetition count for STATIC libraries with cyclic dependencies.
+
+When linking to a STATIC library target with cyclic dependencies the
+linker may need to scan more than once through the archives in the
+strongly connected component of the dependency graph. CMake by
+default constructs the link line so that the linker will scan through
+the component at least twice. This property specifies the minimum
+number of scans if it is larger than the default. CMake uses the
+largest value specified by any target in a component.
diff --git a/Help/prop_tgt/LINK_INTERFACE_MULTIPLICITY_CONFIG.rst b/Help/prop_tgt/LINK_INTERFACE_MULTIPLICITY_CONFIG.rst
new file mode 100644
index 0000000..5ea4a45
--- /dev/null
+++ b/Help/prop_tgt/LINK_INTERFACE_MULTIPLICITY_CONFIG.rst
@@ -0,0 +1,8 @@
+LINK_INTERFACE_MULTIPLICITY_<CONFIG>
+------------------------------------
+
+Per-configuration repetition count for cycles of STATIC libraries.
+
+This is the configuration-specific version of
+LINK_INTERFACE_MULTIPLICITY. If set, this property completely
+overrides the generic property for the named configuration.
diff --git a/Help/prop_tgt/LINK_LIBRARIES.rst b/Help/prop_tgt/LINK_LIBRARIES.rst
new file mode 100644
index 0000000..aa4b9f5
--- /dev/null
+++ b/Help/prop_tgt/LINK_LIBRARIES.rst
@@ -0,0 +1,17 @@
+LINK_LIBRARIES
+--------------
+
+List of direct link dependencies.
+
+This property specifies the list of libraries or targets which will be
+used for linking. In addition to accepting values from the
+:command:`target_link_libraries` command, values may be set directly on
+any target using the :command:`set_property` command.
+
+The value of this property is used by the generators to set the link
+libraries for the compiler.
+
+Contents of ``LINK_LIBRARIES`` may use "generator expressions" with the
+syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)` manual
+for available expressions. See the :manual:`cmake-buildsystem(7)` manual
+for more on defining buildsystem properties.
diff --git a/Help/prop_tgt/LINK_SEARCH_END_STATIC.rst b/Help/prop_tgt/LINK_SEARCH_END_STATIC.rst
new file mode 100644
index 0000000..fe105bd
--- /dev/null
+++ b/Help/prop_tgt/LINK_SEARCH_END_STATIC.rst
@@ -0,0 +1,14 @@
+LINK_SEARCH_END_STATIC
+----------------------
+
+End a link line such that static system libraries are used.
+
+Some linkers support switches such as -Bstatic and -Bdynamic to
+determine whether to use static or shared libraries for -lXXX options.
+CMake uses these options to set the link type for libraries whose full
+paths are not known or (in some cases) are in implicit link
+directories for the platform. By default CMake adds an option at the
+end of the library list (if necessary) to set the linker search type
+back to its starting type. This property switches the final linker
+search type to -Bstatic regardless of how it started. See also
+LINK_SEARCH_START_STATIC.
diff --git a/Help/prop_tgt/LINK_SEARCH_START_STATIC.rst b/Help/prop_tgt/LINK_SEARCH_START_STATIC.rst
new file mode 100644
index 0000000..ca899fe
--- /dev/null
+++ b/Help/prop_tgt/LINK_SEARCH_START_STATIC.rst
@@ -0,0 +1,14 @@
+LINK_SEARCH_START_STATIC
+------------------------
+
+Assume the linker looks for static libraries by default.
+
+Some linkers support switches such as -Bstatic and -Bdynamic to
+determine whether to use static or shared libraries for -lXXX options.
+CMake uses these options to set the link type for libraries whose full
+paths are not known or (in some cases) are in implicit link
+directories for the platform. By default the linker search type is
+assumed to be -Bdynamic at the beginning of the library list. This
+property switches the assumption to -Bstatic. It is intended for use
+when linking an executable statically (e.g. with the GNU -static
+option). See also LINK_SEARCH_END_STATIC.
diff --git a/Help/prop_tgt/LOCATION.rst b/Help/prop_tgt/LOCATION.rst
new file mode 100644
index 0000000..16d5696
--- /dev/null
+++ b/Help/prop_tgt/LOCATION.rst
@@ -0,0 +1,27 @@
+LOCATION
+--------
+
+Read-only location of a target on disk.
+
+For an imported target, this read-only property returns the value of
+the LOCATION_<CONFIG> property for an unspecified configuration
+<CONFIG> provided by the target.
+
+For a non-imported target, this property is provided for compatibility
+with CMake 2.4 and below. It was meant to get the location of an
+executable target's output file for use in add_custom_command. The
+path may contain a build-system-specific portion that is replaced at
+build time with the configuration getting built (such as
+"$(ConfigurationName)" in VS). In CMake 2.6 and above
+add_custom_command automatically recognizes a target name in its
+COMMAND and DEPENDS options and computes the target location. In
+CMake 2.8.4 and above add_custom_command recognizes generator
+expressions to refer to target locations anywhere in the command.
+Therefore this property is not needed for creating custom commands.
+
+Do not set properties that affect the location of a target after
+reading this property. These include properties whose names match
+"(RUNTIME|LIBRARY|ARCHIVE)_OUTPUT_(NAME|DIRECTORY)(_<CONFIG>)?",
+``(IMPLIB_)?(PREFIX|SUFFIX)``, or "LINKER_LANGUAGE". Failure to follow
+this rule is not diagnosed and leaves the location of the target
+undefined.
diff --git a/Help/prop_tgt/LOCATION_CONFIG.rst b/Help/prop_tgt/LOCATION_CONFIG.rst
new file mode 100644
index 0000000..ac6bdb7
--- /dev/null
+++ b/Help/prop_tgt/LOCATION_CONFIG.rst
@@ -0,0 +1,20 @@
+LOCATION_<CONFIG>
+-----------------
+
+Read-only property providing a target location on disk.
+
+A read-only property that indicates where a target's main file is
+located on disk for the configuration <CONFIG>. The property is
+defined only for library and executable targets. An imported target
+may provide a set of configurations different from that of the
+importing project. By default CMake looks for an exact-match but
+otherwise uses an arbitrary available configuration. Use the
+MAP_IMPORTED_CONFIG_<CONFIG> property to map imported configurations
+explicitly.
+
+Do not set properties that affect the location of a target after
+reading this property. These include properties whose names match
+"(RUNTIME|LIBRARY|ARCHIVE)_OUTPUT_(NAME|DIRECTORY)(_<CONFIG>)?",
+``(IMPLIB_)?(PREFIX|SUFFIX)``, or "LINKER_LANGUAGE". Failure to follow
+this rule is not diagnosed and leaves the location of the target
+undefined.
diff --git a/Help/prop_tgt/MACOSX_BUNDLE.rst b/Help/prop_tgt/MACOSX_BUNDLE.rst
new file mode 100644
index 0000000..ff21e61
--- /dev/null
+++ b/Help/prop_tgt/MACOSX_BUNDLE.rst
@@ -0,0 +1,12 @@
+MACOSX_BUNDLE
+-------------
+
+Build an executable as an application bundle on Mac OS X.
+
+When this property is set to true the executable when built on Mac OS
+X will be created as an application bundle. This makes it a GUI
+executable that can be launched from the Finder. See the
+MACOSX_BUNDLE_INFO_PLIST target property for information about
+creation of the Info.plist file for the application bundle. This
+property is initialized by the value of the variable
+CMAKE_MACOSX_BUNDLE if it is set when a target is created.
diff --git a/Help/prop_tgt/MACOSX_BUNDLE_INFO_PLIST.rst b/Help/prop_tgt/MACOSX_BUNDLE_INFO_PLIST.rst
new file mode 100644
index 0000000..097cce1
--- /dev/null
+++ b/Help/prop_tgt/MACOSX_BUNDLE_INFO_PLIST.rst
@@ -0,0 +1,29 @@
+MACOSX_BUNDLE_INFO_PLIST
+------------------------
+
+Specify a custom Info.plist template for a Mac OS X App Bundle.
+
+An executable target with MACOSX_BUNDLE enabled will be built as an
+application bundle on Mac OS X. By default its Info.plist file is
+created by configuring a template called MacOSXBundleInfo.plist.in
+located in the CMAKE_MODULE_PATH. This property specifies an
+alternative template file name which may be a full path.
+
+The following target properties may be set to specify content to be
+configured into the file:
+
+::
+
+ MACOSX_BUNDLE_INFO_STRING
+ MACOSX_BUNDLE_ICON_FILE
+ MACOSX_BUNDLE_GUI_IDENTIFIER
+ MACOSX_BUNDLE_LONG_VERSION_STRING
+ MACOSX_BUNDLE_BUNDLE_NAME
+ MACOSX_BUNDLE_SHORT_VERSION_STRING
+ MACOSX_BUNDLE_BUNDLE_VERSION
+ MACOSX_BUNDLE_COPYRIGHT
+
+CMake variables of the same name may be set to affect all targets in a
+directory that do not have each specific property set. If a custom
+Info.plist is specified by this property it may of course hard-code
+all the settings instead of using the target properties.
diff --git a/Help/prop_tgt/MACOSX_FRAMEWORK_INFO_PLIST.rst b/Help/prop_tgt/MACOSX_FRAMEWORK_INFO_PLIST.rst
new file mode 100644
index 0000000..729d929
--- /dev/null
+++ b/Help/prop_tgt/MACOSX_FRAMEWORK_INFO_PLIST.rst
@@ -0,0 +1,25 @@
+MACOSX_FRAMEWORK_INFO_PLIST
+---------------------------
+
+Specify a custom Info.plist template for a Mac OS X Framework.
+
+A library target with FRAMEWORK enabled will be built as a framework
+on Mac OS X. By default its Info.plist file is created by configuring
+a template called MacOSXFrameworkInfo.plist.in located in the
+CMAKE_MODULE_PATH. This property specifies an alternative template
+file name which may be a full path.
+
+The following target properties may be set to specify content to be
+configured into the file:
+
+::
+
+ MACOSX_FRAMEWORK_ICON_FILE
+ MACOSX_FRAMEWORK_IDENTIFIER
+ MACOSX_FRAMEWORK_SHORT_VERSION_STRING
+ MACOSX_FRAMEWORK_BUNDLE_VERSION
+
+CMake variables of the same name may be set to affect all targets in a
+directory that do not have each specific property set. If a custom
+Info.plist is specified by this property it may of course hard-code
+all the settings instead of using the target properties.
diff --git a/Help/prop_tgt/MACOSX_RPATH.rst b/Help/prop_tgt/MACOSX_RPATH.rst
new file mode 100644
index 0000000..d3934ba
--- /dev/null
+++ b/Help/prop_tgt/MACOSX_RPATH.rst
@@ -0,0 +1,18 @@
+MACOSX_RPATH
+------------
+
+Whether to use rpaths on Mac OS X.
+
+When this property is set to true, the directory portion of
+the "install_name" field of shared libraries will be ``@rpath``
+unless overridden by :prop_tgt:`INSTALL_NAME_DIR`. Runtime
+paths will also be embedded in binaries using this target and
+can be controlled by the :prop_tgt:`INSTALL_RPATH` target property.
+This property is initialized by the value of the variable
+:variable:`CMAKE_MACOSX_RPATH` if it is set when a target is
+created.
+
+Policy CMP0042 was introduced to change the default value of
+MACOSX_RPATH to ON. This is because use of ``@rpath`` is a
+more flexible and powerful alternative to ``@executable_path`` and
+``@loader_path``.
diff --git a/Help/prop_tgt/MAP_IMPORTED_CONFIG_CONFIG.rst b/Help/prop_tgt/MAP_IMPORTED_CONFIG_CONFIG.rst
new file mode 100644
index 0000000..09ff0ce
--- /dev/null
+++ b/Help/prop_tgt/MAP_IMPORTED_CONFIG_CONFIG.rst
@@ -0,0 +1,19 @@
+MAP_IMPORTED_CONFIG_<CONFIG>
+----------------------------
+
+Map from project configuration to IMPORTED target's configuration.
+
+Set this to the list of configurations of an imported target that may
+be used for the current project's <CONFIG> configuration. Targets
+imported from another project may not provide the same set of
+configuration names available in the current project. Setting this
+property tells CMake what imported configurations are suitable for use
+when building the <CONFIG> configuration. The first configuration in
+the list found to be provided by the imported target is selected. If
+this property is set and no matching configurations are available,
+then the imported target is considered to be not found. This property
+is ignored for non-imported targets.
+
+This property is initialized by the value of the variable
+CMAKE_MAP_IMPORTED_CONFIG_<CONFIG> if it is set when a target is
+created.
diff --git a/Help/prop_tgt/NAME.rst b/Help/prop_tgt/NAME.rst
new file mode 100644
index 0000000..ddd84f2
--- /dev/null
+++ b/Help/prop_tgt/NAME.rst
@@ -0,0 +1,6 @@
+NAME
+----
+
+Logical name for the target.
+
+Read-only logical name for the target as used by CMake.
diff --git a/Help/prop_tgt/NO_SONAME.rst b/Help/prop_tgt/NO_SONAME.rst
new file mode 100644
index 0000000..fc668b5
--- /dev/null
+++ b/Help/prop_tgt/NO_SONAME.rst
@@ -0,0 +1,14 @@
+NO_SONAME
+---------
+
+Whether to set "soname" when linking a shared library or module.
+
+Enable this boolean property if a generated shared library or module
+should not have "soname" set. Default is to set "soname" on all
+shared libraries and modules as long as the platform supports it.
+Generally, use this property only for leaf private libraries or
+plugins. If you use it on normal shared libraries which other targets
+link against, on some platforms a linker will insert a full path to
+the library (as specified at link time) into the dynamic section of
+the dependent binary. Therefore, once installed, dynamic loader may
+eventually fail to locate the library for the binary.
diff --git a/Help/prop_tgt/NO_SYSTEM_FROM_IMPORTED.rst b/Help/prop_tgt/NO_SYSTEM_FROM_IMPORTED.rst
new file mode 100644
index 0000000..070dd30
--- /dev/null
+++ b/Help/prop_tgt/NO_SYSTEM_FROM_IMPORTED.rst
@@ -0,0 +1,11 @@
+NO_SYSTEM_FROM_IMPORTED
+-----------------------
+
+Do not treat includes from IMPORTED target interfaces as SYSTEM.
+
+The contents of the INTERFACE_INCLUDE_DIRECTORIES of IMPORTED targets
+are treated as SYSTEM includes by default. If this property is
+enabled, the contents of the INTERFACE_INCLUDE_DIRECTORIES of IMPORTED
+targets are not treated as system includes. This property is
+initialized by the value of the variable CMAKE_NO_SYSTEM_FROM_IMPORTED
+if it is set when a target is created.
diff --git a/Help/prop_tgt/OSX_ARCHITECTURES.rst b/Help/prop_tgt/OSX_ARCHITECTURES.rst
new file mode 100644
index 0000000..cefe03f
--- /dev/null
+++ b/Help/prop_tgt/OSX_ARCHITECTURES.rst
@@ -0,0 +1,11 @@
+OSX_ARCHITECTURES
+-----------------
+
+Target specific architectures for OS X.
+
+The ``OSX_ARCHITECTURES`` property sets the target binary architecture for
+targets on OS X (``-arch``). This property is initialized by the value of the
+variable :variable:`CMAKE_OSX_ARCHITECTURES` if it is set when a target is
+created. Use :prop_tgt:`OSX_ARCHITECTURES_<CONFIG>` to set the binary
+architectures on a per-configuration basis, where ``<CONFIG>`` is an
+upper-case name (e.g. ``OSX_ARCHITECTURES_DEBUG``).
diff --git a/Help/prop_tgt/OSX_ARCHITECTURES_CONFIG.rst b/Help/prop_tgt/OSX_ARCHITECTURES_CONFIG.rst
new file mode 100644
index 0000000..f8fdcff
--- /dev/null
+++ b/Help/prop_tgt/OSX_ARCHITECTURES_CONFIG.rst
@@ -0,0 +1,7 @@
+OSX_ARCHITECTURES_<CONFIG>
+--------------------------
+
+Per-configuration OS X binary architectures for a target.
+
+This property is the configuration-specific version of
+:prop_tgt:`OSX_ARCHITECTURES`.
diff --git a/Help/prop_tgt/OUTPUT_NAME.rst b/Help/prop_tgt/OUTPUT_NAME.rst
new file mode 100644
index 0000000..97bf010
--- /dev/null
+++ b/Help/prop_tgt/OUTPUT_NAME.rst
@@ -0,0 +1,8 @@
+OUTPUT_NAME
+-----------
+
+Output name for target files.
+
+This sets the base name for output files created for an executable or
+library target. If not set, the logical target name is used by
+default.
diff --git a/Help/prop_tgt/OUTPUT_NAME_CONFIG.rst b/Help/prop_tgt/OUTPUT_NAME_CONFIG.rst
new file mode 100644
index 0000000..7bfbcbc
--- /dev/null
+++ b/Help/prop_tgt/OUTPUT_NAME_CONFIG.rst
@@ -0,0 +1,6 @@
+OUTPUT_NAME_<CONFIG>
+--------------------
+
+Per-configuration target file base name.
+
+This is the configuration-specific version of OUTPUT_NAME.
diff --git a/Help/prop_tgt/PDB_NAME.rst b/Help/prop_tgt/PDB_NAME.rst
new file mode 100644
index 0000000..e8fc3be
--- /dev/null
+++ b/Help/prop_tgt/PDB_NAME.rst
@@ -0,0 +1,13 @@
+PDB_NAME
+--------
+
+Output name for the MS debug symbol ``.pdb`` file generated by the
+linker for an executable or shared library target.
+
+This property specifies the base name for the debug symbols file.
+If not set, the logical target name is used by default.
+
+.. include:: PDB_NOTE.txt
+
+This property is not implemented by the :generator:`Visual Studio 6`
+generator.
diff --git a/Help/prop_tgt/PDB_NAME_CONFIG.rst b/Help/prop_tgt/PDB_NAME_CONFIG.rst
new file mode 100644
index 0000000..c846b57
--- /dev/null
+++ b/Help/prop_tgt/PDB_NAME_CONFIG.rst
@@ -0,0 +1,10 @@
+PDB_NAME_<CONFIG>
+-----------------
+
+Per-configuration output name for the MS debug symbol ``.pdb`` file
+generated by the linker for an executable or shared library target.
+
+This is the configuration-specific version of :prop_tgt:`PDB_NAME`.
+
+This property is not implemented by the :generator:`Visual Studio 6`
+generator.
diff --git a/Help/prop_tgt/PDB_NOTE.txt b/Help/prop_tgt/PDB_NOTE.txt
new file mode 100644
index 0000000..e55aba2
--- /dev/null
+++ b/Help/prop_tgt/PDB_NOTE.txt
@@ -0,0 +1,8 @@
+.. note::
+ This property does not apply to STATIC library targets because no linker
+ is invoked to produce them so they have no linker-generated ``.pdb`` file
+ containing debug symbols.
+
+ The compiler-generated program database files specified by the MSVC
+ ``/Fd`` flag are not the same as linker-generated program database
+ files and so are not influenced by this property.
diff --git a/Help/prop_tgt/PDB_OUTPUT_DIRECTORY.rst b/Help/prop_tgt/PDB_OUTPUT_DIRECTORY.rst
new file mode 100644
index 0000000..9a863a1
--- /dev/null
+++ b/Help/prop_tgt/PDB_OUTPUT_DIRECTORY.rst
@@ -0,0 +1,15 @@
+PDB_OUTPUT_DIRECTORY
+--------------------
+
+Output directory for the MS debug symbols ``.pdb`` file
+generated by the linker for an executable or shared library target.
+
+This property specifies the directory into which the MS debug symbols
+will be placed by the linker. This property is initialized by the
+value of the :variable:`CMAKE_PDB_OUTPUT_DIRECTORY` variable if it is
+set when a target is created.
+
+.. include:: PDB_NOTE.txt
+
+This property is not implemented by the :generator:`Visual Studio 6`
+generator.
diff --git a/Help/prop_tgt/PDB_OUTPUT_DIRECTORY_CONFIG.rst b/Help/prop_tgt/PDB_OUTPUT_DIRECTORY_CONFIG.rst
new file mode 100644
index 0000000..caec2de
--- /dev/null
+++ b/Help/prop_tgt/PDB_OUTPUT_DIRECTORY_CONFIG.rst
@@ -0,0 +1,15 @@
+PDB_OUTPUT_DIRECTORY_<CONFIG>
+-----------------------------
+
+Per-configuration output directory for the MS debug symbol ``.pdb`` file
+generated by the linker for an executable or shared library target.
+
+This is a per-configuration version of :prop_tgt:`PDB_OUTPUT_DIRECTORY`,
+but multi-configuration generators (VS, Xcode) do NOT append a
+per-configuration subdirectory to the specified directory. This
+property is initialized by the value of the
+:variable:`CMAKE_PDB_OUTPUT_DIRECTORY_<CONFIG>` variable if it is
+set when a target is created.
+
+This property is not implemented by the :generator:`Visual Studio 6`
+generator.
diff --git a/Help/prop_tgt/POSITION_INDEPENDENT_CODE.rst b/Help/prop_tgt/POSITION_INDEPENDENT_CODE.rst
new file mode 100644
index 0000000..54af8c6
--- /dev/null
+++ b/Help/prop_tgt/POSITION_INDEPENDENT_CODE.rst
@@ -0,0 +1,11 @@
+POSITION_INDEPENDENT_CODE
+-------------------------
+
+Whether to create a position-independent target
+
+The ``POSITION_INDEPENDENT_CODE`` property determines whether position
+independent executables or shared libraries will be created. This
+property is ``True`` by default for ``SHARED`` and ``MODULE`` library
+targets and ``False`` otherwise. This property is initialized by the value
+of the :variable:`CMAKE_POSITION_INDEPENDENT_CODE` variable if it is set
+when a target is created.
diff --git a/Help/prop_tgt/POST_INSTALL_SCRIPT.rst b/Help/prop_tgt/POST_INSTALL_SCRIPT.rst
new file mode 100644
index 0000000..f1adb40
--- /dev/null
+++ b/Help/prop_tgt/POST_INSTALL_SCRIPT.rst
@@ -0,0 +1,9 @@
+POST_INSTALL_SCRIPT
+-------------------
+
+Deprecated install support.
+
+The PRE_INSTALL_SCRIPT and POST_INSTALL_SCRIPT properties are the old
+way to specify CMake scripts to run before and after installing a
+target. They are used only when the old INSTALL_TARGETS command is
+used to install the target. Use the INSTALL command instead.
diff --git a/Help/prop_tgt/PREFIX.rst b/Help/prop_tgt/PREFIX.rst
new file mode 100644
index 0000000..a165104
--- /dev/null
+++ b/Help/prop_tgt/PREFIX.rst
@@ -0,0 +1,7 @@
+PREFIX
+------
+
+What comes before the library name.
+
+A target property that can be set to override the prefix (such as
+"lib") on a library name.
diff --git a/Help/prop_tgt/PRE_INSTALL_SCRIPT.rst b/Help/prop_tgt/PRE_INSTALL_SCRIPT.rst
new file mode 100644
index 0000000..113d7c5
--- /dev/null
+++ b/Help/prop_tgt/PRE_INSTALL_SCRIPT.rst
@@ -0,0 +1,9 @@
+PRE_INSTALL_SCRIPT
+------------------
+
+Deprecated install support.
+
+The PRE_INSTALL_SCRIPT and POST_INSTALL_SCRIPT properties are the old
+way to specify CMake scripts to run before and after installing a
+target. They are used only when the old INSTALL_TARGETS command is
+used to install the target. Use the INSTALL command instead.
diff --git a/Help/prop_tgt/PRIVATE_HEADER.rst b/Help/prop_tgt/PRIVATE_HEADER.rst
new file mode 100644
index 0000000..da2127b
--- /dev/null
+++ b/Help/prop_tgt/PRIVATE_HEADER.rst
@@ -0,0 +1,11 @@
+PRIVATE_HEADER
+--------------
+
+Specify private header files in a FRAMEWORK shared library target.
+
+Shared library targets marked with the FRAMEWORK property generate
+frameworks on OS X and normal shared libraries on other platforms.
+This property may be set to a list of header files to be placed in the
+PrivateHeaders directory inside the framework folder. On non-Apple
+platforms these headers may be installed using the PRIVATE_HEADER
+option to the install(TARGETS) command.
diff --git a/Help/prop_tgt/PROJECT_LABEL.rst b/Help/prop_tgt/PROJECT_LABEL.rst
new file mode 100644
index 0000000..a1491ee
--- /dev/null
+++ b/Help/prop_tgt/PROJECT_LABEL.rst
@@ -0,0 +1,7 @@
+PROJECT_LABEL
+-------------
+
+Change the name of a target in an IDE.
+
+Can be used to change the name of the target in an IDE like Visual
+Studio.
diff --git a/Help/prop_tgt/PUBLIC_HEADER.rst b/Help/prop_tgt/PUBLIC_HEADER.rst
new file mode 100644
index 0000000..6e25d94
--- /dev/null
+++ b/Help/prop_tgt/PUBLIC_HEADER.rst
@@ -0,0 +1,11 @@
+PUBLIC_HEADER
+-------------
+
+Specify public header files in a FRAMEWORK shared library target.
+
+Shared library targets marked with the FRAMEWORK property generate
+frameworks on OS X and normal shared libraries on other platforms.
+This property may be set to a list of header files to be placed in the
+Headers directory inside the framework folder. On non-Apple platforms
+these headers may be installed using the PUBLIC_HEADER option to the
+install(TARGETS) command.
diff --git a/Help/prop_tgt/RESOURCE.rst b/Help/prop_tgt/RESOURCE.rst
new file mode 100644
index 0000000..1e9921d
--- /dev/null
+++ b/Help/prop_tgt/RESOURCE.rst
@@ -0,0 +1,11 @@
+RESOURCE
+--------
+
+Specify resource files in a FRAMEWORK shared library target.
+
+Shared library targets marked with the FRAMEWORK property generate
+frameworks on OS X and normal shared libraries on other platforms.
+This property may be set to a list of files to be placed in the
+Resources directory inside the framework folder. On non-Apple
+platforms these files may be installed using the RESOURCE option to
+the install(TARGETS) command.
diff --git a/Help/prop_tgt/RULE_LAUNCH_COMPILE.rst b/Help/prop_tgt/RULE_LAUNCH_COMPILE.rst
new file mode 100644
index 0000000..e92ab86
--- /dev/null
+++ b/Help/prop_tgt/RULE_LAUNCH_COMPILE.rst
@@ -0,0 +1,7 @@
+RULE_LAUNCH_COMPILE
+-------------------
+
+Specify a launcher for compile rules.
+
+See the global property of the same name for details. This overrides
+the global and directory property for a target.
diff --git a/Help/prop_tgt/RULE_LAUNCH_CUSTOM.rst b/Help/prop_tgt/RULE_LAUNCH_CUSTOM.rst
new file mode 100644
index 0000000..2db0317
--- /dev/null
+++ b/Help/prop_tgt/RULE_LAUNCH_CUSTOM.rst
@@ -0,0 +1,7 @@
+RULE_LAUNCH_CUSTOM
+------------------
+
+Specify a launcher for custom rules.
+
+See the global property of the same name for details. This overrides
+the global and directory property for a target.
diff --git a/Help/prop_tgt/RULE_LAUNCH_LINK.rst b/Help/prop_tgt/RULE_LAUNCH_LINK.rst
new file mode 100644
index 0000000..f330033
--- /dev/null
+++ b/Help/prop_tgt/RULE_LAUNCH_LINK.rst
@@ -0,0 +1,7 @@
+RULE_LAUNCH_LINK
+----------------
+
+Specify a launcher for link rules.
+
+See the global property of the same name for details. This overrides
+the global and directory property for a target.
diff --git a/Help/prop_tgt/RUNTIME_OUTPUT_DIRECTORY.rst b/Help/prop_tgt/RUNTIME_OUTPUT_DIRECTORY.rst
new file mode 100644
index 0000000..af5ef44
--- /dev/null
+++ b/Help/prop_tgt/RUNTIME_OUTPUT_DIRECTORY.rst
@@ -0,0 +1,7 @@
+RUNTIME_OUTPUT_DIRECTORY
+------------------------
+
+.. |XXX| replace:: RUNTIME
+.. |xxx| replace:: runtime
+.. |CMAKE_XXX_OUTPUT_DIRECTORY| replace:: CMAKE_RUNTIME_OUTPUT_DIRECTORY
+.. include:: XXX_OUTPUT_DIRECTORY.txt
diff --git a/Help/prop_tgt/RUNTIME_OUTPUT_DIRECTORY_CONFIG.rst b/Help/prop_tgt/RUNTIME_OUTPUT_DIRECTORY_CONFIG.rst
new file mode 100644
index 0000000..10be6cf
--- /dev/null
+++ b/Help/prop_tgt/RUNTIME_OUTPUT_DIRECTORY_CONFIG.rst
@@ -0,0 +1,11 @@
+RUNTIME_OUTPUT_DIRECTORY_<CONFIG>
+---------------------------------
+
+Per-configuration output directory for RUNTIME target files.
+
+This is a per-configuration version of RUNTIME_OUTPUT_DIRECTORY, but
+multi-configuration generators (VS, Xcode) do NOT append a
+per-configuration subdirectory to the specified directory. This
+property is initialized by the value of the variable
+CMAKE_RUNTIME_OUTPUT_DIRECTORY_<CONFIG> if it is set when a target is
+created.
diff --git a/Help/prop_tgt/RUNTIME_OUTPUT_NAME.rst b/Help/prop_tgt/RUNTIME_OUTPUT_NAME.rst
new file mode 100644
index 0000000..dc7dba4
--- /dev/null
+++ b/Help/prop_tgt/RUNTIME_OUTPUT_NAME.rst
@@ -0,0 +1,6 @@
+RUNTIME_OUTPUT_NAME
+-------------------
+
+.. |XXX| replace:: RUNTIME
+.. |xxx| replace:: runtime
+.. include:: XXX_OUTPUT_NAME.txt
diff --git a/Help/prop_tgt/RUNTIME_OUTPUT_NAME_CONFIG.rst b/Help/prop_tgt/RUNTIME_OUTPUT_NAME_CONFIG.rst
new file mode 100644
index 0000000..f9029e5
--- /dev/null
+++ b/Help/prop_tgt/RUNTIME_OUTPUT_NAME_CONFIG.rst
@@ -0,0 +1,6 @@
+RUNTIME_OUTPUT_NAME_<CONFIG>
+----------------------------
+
+Per-configuration output name for RUNTIME target files.
+
+This is the configuration-specific version of RUNTIME_OUTPUT_NAME.
diff --git a/Help/prop_tgt/SKIP_BUILD_RPATH.rst b/Help/prop_tgt/SKIP_BUILD_RPATH.rst
new file mode 100644
index 0000000..a91fa9c
--- /dev/null
+++ b/Help/prop_tgt/SKIP_BUILD_RPATH.rst
@@ -0,0 +1,9 @@
+SKIP_BUILD_RPATH
+----------------
+
+Should rpaths be used for the build tree.
+
+SKIP_BUILD_RPATH is a boolean specifying whether to skip automatic
+generation of an rpath allowing the target to run from the build tree.
+This property is initialized by the value of the variable
+CMAKE_SKIP_BUILD_RPATH if it is set when a target is created.
diff --git a/Help/prop_tgt/SOURCES.rst b/Help/prop_tgt/SOURCES.rst
new file mode 100644
index 0000000..833b65a
--- /dev/null
+++ b/Help/prop_tgt/SOURCES.rst
@@ -0,0 +1,7 @@
+SOURCES
+-------
+
+Source names specified for a target.
+
+Read-only list of sources specified for a target. The names returned
+are suitable for passing to the set_source_files_properties command.
diff --git a/Help/prop_tgt/SOVERSION.rst b/Help/prop_tgt/SOVERSION.rst
new file mode 100644
index 0000000..672ff23
--- /dev/null
+++ b/Help/prop_tgt/SOVERSION.rst
@@ -0,0 +1,14 @@
+SOVERSION
+---------
+
+What version number is this target.
+
+For shared libraries VERSION and SOVERSION can be used to specify the
+build version and API version respectively. When building or
+installing appropriate symlinks are created if the platform supports
+symlinks and the linker supports so-names. If only one of both is
+specified the missing is assumed to have the same version number.
+SOVERSION is ignored if NO_SONAME property is set. For shared
+libraries and executables on Windows the VERSION attribute is parsed
+to extract a "major.minor" version number. These numbers are used as
+the image version of the binary.
diff --git a/Help/prop_tgt/STATIC_LIBRARY_FLAGS.rst b/Help/prop_tgt/STATIC_LIBRARY_FLAGS.rst
new file mode 100644
index 0000000..d3b2cd4
--- /dev/null
+++ b/Help/prop_tgt/STATIC_LIBRARY_FLAGS.rst
@@ -0,0 +1,6 @@
+STATIC_LIBRARY_FLAGS
+--------------------
+
+Extra flags to use when linking static libraries.
+
+Extra flags to use when linking a static library.
diff --git a/Help/prop_tgt/STATIC_LIBRARY_FLAGS_CONFIG.rst b/Help/prop_tgt/STATIC_LIBRARY_FLAGS_CONFIG.rst
new file mode 100644
index 0000000..cca353d
--- /dev/null
+++ b/Help/prop_tgt/STATIC_LIBRARY_FLAGS_CONFIG.rst
@@ -0,0 +1,6 @@
+STATIC_LIBRARY_FLAGS_<CONFIG>
+-----------------------------
+
+Per-configuration flags for creating a static library.
+
+This is the configuration-specific version of STATIC_LIBRARY_FLAGS.
diff --git a/Help/prop_tgt/SUFFIX.rst b/Help/prop_tgt/SUFFIX.rst
new file mode 100644
index 0000000..70844be
--- /dev/null
+++ b/Help/prop_tgt/SUFFIX.rst
@@ -0,0 +1,7 @@
+SUFFIX
+------
+
+What comes after the target name.
+
+A target property that can be set to override the suffix (such as
+".so" or ".exe") on the name of a library, module or executable.
diff --git a/Help/prop_tgt/TARGET_FILE_TYPES.txt b/Help/prop_tgt/TARGET_FILE_TYPES.txt
new file mode 100644
index 0000000..18489c7
--- /dev/null
+++ b/Help/prop_tgt/TARGET_FILE_TYPES.txt
@@ -0,0 +1,9 @@
+There are three kinds of target files that may be built: archive,
+library, and runtime. Executables are always treated as runtime
+targets. Static libraries are always treated as archive targets.
+Module libraries are always treated as library targets. For
+non-DLL platforms shared libraries are treated as library
+targets. For DLL platforms the DLL part of a shared library is
+treated as a runtime target and the corresponding import library
+is treated as an archive target. All Windows-based systems
+including Cygwin are DLL platforms.
diff --git a/Help/prop_tgt/TYPE.rst b/Help/prop_tgt/TYPE.rst
new file mode 100644
index 0000000..1951d46
--- /dev/null
+++ b/Help/prop_tgt/TYPE.rst
@@ -0,0 +1,8 @@
+TYPE
+----
+
+The type of the target.
+
+This read-only property can be used to test the type of the given
+target. It will be one of STATIC_LIBRARY, MODULE_LIBRARY,
+SHARED_LIBRARY, EXECUTABLE or one of the internal target types.
diff --git a/Help/prop_tgt/VERSION.rst b/Help/prop_tgt/VERSION.rst
new file mode 100644
index 0000000..87f6c49
--- /dev/null
+++ b/Help/prop_tgt/VERSION.rst
@@ -0,0 +1,16 @@
+VERSION
+-------
+
+What version number is this target.
+
+For shared libraries VERSION and SOVERSION can be used to specify the
+build version and API version respectively. When building or
+installing appropriate symlinks are created if the platform supports
+symlinks and the linker supports so-names. If only one of both is
+specified the missing is assumed to have the same version number. For
+executables VERSION can be used to specify the build version. When
+building or installing appropriate symlinks are created if the
+platform supports symlinks. For shared libraries and executables on
+Windows the VERSION attribute is parsed to extract a "major.minor"
+version number. These numbers are used as the image version of the
+binary.
diff --git a/Help/prop_tgt/VISIBILITY_INLINES_HIDDEN.rst b/Help/prop_tgt/VISIBILITY_INLINES_HIDDEN.rst
new file mode 100644
index 0000000..e06d35c
--- /dev/null
+++ b/Help/prop_tgt/VISIBILITY_INLINES_HIDDEN.rst
@@ -0,0 +1,11 @@
+VISIBILITY_INLINES_HIDDEN
+-------------------------
+
+Whether to add a compile flag to hide symbols of inline functions
+
+The VISIBILITY_INLINES_HIDDEN property determines whether a flag for
+hiding symbols for inline functions, such as -fvisibility-inlines-hidden,
+should be used when invoking the compiler. This property only has an affect
+for libraries and executables with exports. This property is initialized by
+the value of the :variable:`CMAKE_VISIBILITY_INLINES_HIDDEN` if it is set
+when a target is created.
diff --git a/Help/prop_tgt/VS_DOTNET_REFERENCES.rst b/Help/prop_tgt/VS_DOTNET_REFERENCES.rst
new file mode 100644
index 0000000..a661ad9
--- /dev/null
+++ b/Help/prop_tgt/VS_DOTNET_REFERENCES.rst
@@ -0,0 +1,7 @@
+VS_DOTNET_REFERENCES
+--------------------
+
+Visual Studio managed project .NET references
+
+Adds one or more semicolon-delimited .NET references to a generated
+Visual Studio project. For example, "System;System.Windows.Forms".
diff --git a/Help/prop_tgt/VS_DOTNET_TARGET_FRAMEWORK_VERSION.rst b/Help/prop_tgt/VS_DOTNET_TARGET_FRAMEWORK_VERSION.rst
new file mode 100644
index 0000000..829d696
--- /dev/null
+++ b/Help/prop_tgt/VS_DOTNET_TARGET_FRAMEWORK_VERSION.rst
@@ -0,0 +1,7 @@
+VS_DOTNET_TARGET_FRAMEWORK_VERSION
+----------------------------------
+
+Specify the .NET target framework version.
+
+Used to specify the .NET target framework version for C++/CLI. For
+example, "v4.5".
diff --git a/Help/prop_tgt/VS_GLOBAL_KEYWORD.rst b/Help/prop_tgt/VS_GLOBAL_KEYWORD.rst
new file mode 100644
index 0000000..ce49316
--- /dev/null
+++ b/Help/prop_tgt/VS_GLOBAL_KEYWORD.rst
@@ -0,0 +1,12 @@
+VS_GLOBAL_KEYWORD
+-----------------
+
+Visual Studio project keyword for VS 10 (2010) and newer.
+
+Sets the "keyword" attribute for a generated Visual Studio project.
+Defaults to "Win32Proj". You may wish to override this value with
+"ManagedCProj", for example, in a Visual Studio managed C++ unit test
+project.
+
+Use the :prop_tgt:`VS_KEYWORD` target property to set the
+keyword for Visual Studio 9 (2008) and older.
diff --git a/Help/prop_tgt/VS_GLOBAL_PROJECT_TYPES.rst b/Help/prop_tgt/VS_GLOBAL_PROJECT_TYPES.rst
new file mode 100644
index 0000000..f4d9efc
--- /dev/null
+++ b/Help/prop_tgt/VS_GLOBAL_PROJECT_TYPES.rst
@@ -0,0 +1,15 @@
+VS_GLOBAL_PROJECT_TYPES
+-----------------------
+
+Visual Studio project type(s).
+
+Can be set to one or more UUIDs recognized by Visual Studio to
+indicate the type of project. This value is copied verbatim into the
+generated project file. Example for a managed C++ unit testing
+project:
+
+::
+
+ {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}
+
+UUIDs are semicolon-delimited.
diff --git a/Help/prop_tgt/VS_GLOBAL_ROOTNAMESPACE.rst b/Help/prop_tgt/VS_GLOBAL_ROOTNAMESPACE.rst
new file mode 100644
index 0000000..a23c540
--- /dev/null
+++ b/Help/prop_tgt/VS_GLOBAL_ROOTNAMESPACE.rst
@@ -0,0 +1,7 @@
+VS_GLOBAL_ROOTNAMESPACE
+-----------------------
+
+Visual Studio project root namespace.
+
+Sets the "RootNamespace" attribute for a generated Visual Studio
+project. The attribute will be generated only if this is set.
diff --git a/Help/prop_tgt/VS_GLOBAL_variable.rst b/Help/prop_tgt/VS_GLOBAL_variable.rst
new file mode 100644
index 0000000..56b8021
--- /dev/null
+++ b/Help/prop_tgt/VS_GLOBAL_variable.rst
@@ -0,0 +1,10 @@
+VS_GLOBAL_<variable>
+--------------------
+
+Visual Studio project-specific global variable.
+
+Tell the Visual Studio generator to set the global variable
+'<variable>' to a given value in the generated Visual Studio project.
+Ignored on other generators. Qt integration works better if
+VS_GLOBAL_QtVersion is set to the version FindQt4.cmake found. For
+example, "4.7.3"
diff --git a/Help/prop_tgt/VS_KEYWORD.rst b/Help/prop_tgt/VS_KEYWORD.rst
new file mode 100644
index 0000000..6c2e042
--- /dev/null
+++ b/Help/prop_tgt/VS_KEYWORD.rst
@@ -0,0 +1,10 @@
+VS_KEYWORD
+----------
+
+Visual Studio project keyword for VS 9 (2008) and older.
+
+Can be set to change the visual studio keyword, for example Qt
+integration works better if this is set to Qt4VSv1.0.
+
+Use the :prop_tgt:`VS_GLOBAL_KEYWORD` target property to set the
+keyword for Visual Studio 10 (2010) and newer.
diff --git a/Help/prop_tgt/VS_SCC_AUXPATH.rst b/Help/prop_tgt/VS_SCC_AUXPATH.rst
new file mode 100644
index 0000000..054f59e
--- /dev/null
+++ b/Help/prop_tgt/VS_SCC_AUXPATH.rst
@@ -0,0 +1,7 @@
+VS_SCC_AUXPATH
+--------------
+
+Visual Studio Source Code Control Aux Path.
+
+Can be set to change the visual studio source code control auxpath
+property.
diff --git a/Help/prop_tgt/VS_SCC_LOCALPATH.rst b/Help/prop_tgt/VS_SCC_LOCALPATH.rst
new file mode 100644
index 0000000..b5b7721
--- /dev/null
+++ b/Help/prop_tgt/VS_SCC_LOCALPATH.rst
@@ -0,0 +1,7 @@
+VS_SCC_LOCALPATH
+----------------
+
+Visual Studio Source Code Control Local Path.
+
+Can be set to change the visual studio source code control local path
+property.
diff --git a/Help/prop_tgt/VS_SCC_PROJECTNAME.rst b/Help/prop_tgt/VS_SCC_PROJECTNAME.rst
new file mode 100644
index 0000000..6d7f628
--- /dev/null
+++ b/Help/prop_tgt/VS_SCC_PROJECTNAME.rst
@@ -0,0 +1,7 @@
+VS_SCC_PROJECTNAME
+------------------
+
+Visual Studio Source Code Control Project.
+
+Can be set to change the visual studio source code control project
+name property.
diff --git a/Help/prop_tgt/VS_SCC_PROVIDER.rst b/Help/prop_tgt/VS_SCC_PROVIDER.rst
new file mode 100644
index 0000000..80475af
--- /dev/null
+++ b/Help/prop_tgt/VS_SCC_PROVIDER.rst
@@ -0,0 +1,7 @@
+VS_SCC_PROVIDER
+---------------
+
+Visual Studio Source Code Control Provider.
+
+Can be set to change the visual studio source code control provider
+property.
diff --git a/Help/prop_tgt/VS_WINRT_EXTENSIONS.rst b/Help/prop_tgt/VS_WINRT_EXTENSIONS.rst
new file mode 100644
index 0000000..cc6fb16
--- /dev/null
+++ b/Help/prop_tgt/VS_WINRT_EXTENSIONS.rst
@@ -0,0 +1,6 @@
+VS_WINRT_EXTENSIONS
+-------------------
+
+Visual Studio project C++/CX language extensions for Windows Runtime
+
+Can be set to enable C++/CX language extensions.
diff --git a/Help/prop_tgt/VS_WINRT_REFERENCES.rst b/Help/prop_tgt/VS_WINRT_REFERENCES.rst
new file mode 100644
index 0000000..af98b2f
--- /dev/null
+++ b/Help/prop_tgt/VS_WINRT_REFERENCES.rst
@@ -0,0 +1,7 @@
+VS_WINRT_REFERENCES
+-------------------
+
+Visual Studio project Windows Runtime Metadata references
+
+Adds one or more semicolon-delimited WinRT references to a generated
+Visual Studio project. For example, "Windows;Windows.UI.Core".
diff --git a/Help/prop_tgt/WIN32_EXECUTABLE.rst b/Help/prop_tgt/WIN32_EXECUTABLE.rst
new file mode 100644
index 0000000..336d5f7
--- /dev/null
+++ b/Help/prop_tgt/WIN32_EXECUTABLE.rst
@@ -0,0 +1,12 @@
+WIN32_EXECUTABLE
+----------------
+
+Build an executable with a WinMain entry point on windows.
+
+When this property is set to true the executable when linked on
+Windows will be created with a WinMain() entry point instead of just
+main(). This makes it a GUI executable instead of a console
+application. See the CMAKE_MFC_FLAG variable documentation to
+configure use of MFC for WinMain executables. This property is
+initialized by the value of the variable CMAKE_WIN32_EXECUTABLE if it
+is set when a target is created.
diff --git a/Help/prop_tgt/XCODE_ATTRIBUTE_an-attribute.rst b/Help/prop_tgt/XCODE_ATTRIBUTE_an-attribute.rst
new file mode 100644
index 0000000..0be313c
--- /dev/null
+++ b/Help/prop_tgt/XCODE_ATTRIBUTE_an-attribute.rst
@@ -0,0 +1,7 @@
+XCODE_ATTRIBUTE_<an-attribute>
+------------------------------
+
+Set Xcode target attributes directly.
+
+Tell the Xcode generator to set '<an-attribute>' to a given value in
+the generated Xcode project. Ignored on other generators.
diff --git a/Help/prop_tgt/XXX_OUTPUT_DIRECTORY.txt b/Help/prop_tgt/XXX_OUTPUT_DIRECTORY.txt
new file mode 100644
index 0000000..65abbce
--- /dev/null
+++ b/Help/prop_tgt/XXX_OUTPUT_DIRECTORY.txt
@@ -0,0 +1,10 @@
+Output directory in which to build |XXX| target files.
+
+This property specifies the directory into which |xxx| target files
+should be built. Multi-configuration generators (VS, Xcode) append a
+per-configuration subdirectory to the specified directory.
+
+.. include:: TARGET_FILE_TYPES.txt
+
+This property is initialized by the value of the variable
+|CMAKE_XXX_OUTPUT_DIRECTORY| if it is set when a target is created.
diff --git a/Help/prop_tgt/XXX_OUTPUT_NAME.txt b/Help/prop_tgt/XXX_OUTPUT_NAME.txt
new file mode 100644
index 0000000..9c4fc7c
--- /dev/null
+++ b/Help/prop_tgt/XXX_OUTPUT_NAME.txt
@@ -0,0 +1,6 @@
+Output name for |XXX| target files.
+
+This property specifies the base name for |xxx| target files. It
+overrides OUTPUT_NAME and OUTPUT_NAME_<CONFIG> properties.
+
+.. include:: TARGET_FILE_TYPES.txt
diff --git a/Help/release/3.0.0.rst b/Help/release/3.0.0.rst
new file mode 100644
index 0000000..e92c293
--- /dev/null
+++ b/Help/release/3.0.0.rst
@@ -0,0 +1,473 @@
+CMake 3.0.0 Release Notes
+*************************
+
+.. only:: html
+
+ .. contents::
+
+Changes made since CMake 2.8.12.2 include the following.
+
+Documentation Changes
+=====================
+
+* The CMake documentation has been converted to reStructuredText and
+ now transforms via Sphinx (`<http://sphinx-doc.org>`__) into man and
+ html pages. This allows the documentation to be properly indexed
+ and to contain cross-references.
+
+ Conversion from the old internal documentation format was done by
+ an automatic process so some documents may still contain artifacts.
+ They will be updated incrementally over time.
+
+ A basic reStructuredText processor has been implemented to support
+ ``cmake --help-command`` and similar command-line options.
+
+* New manuals were added:
+
+ - :manual:`cmake-buildsystem(7)`
+ - :manual:`cmake-commands(7)`, replacing ``cmakecommands(1)``
+ and ``cmakecompat(1)``
+ - :manual:`cmake-developer(7)`
+ - :manual:`cmake-generator-expressions(7)`
+ - :manual:`cmake-generators(7)`
+ - :manual:`cmake-language(7)`
+ - :manual:`cmake-modules(7)`, replacing ``cmakemodules(1)``
+ - :manual:`cmake-packages(7)`
+ - :manual:`cmake-policies(7)`, replacing ``cmakepolicies(1)``
+ - :manual:`cmake-properties(7)`, replacing ``cmakeprops(1)``
+ - :manual:`cmake-qt(7)`
+ - :manual:`cmake-toolchains(7)`
+ - :manual:`cmake-variables(7)`, replacing ``cmakevars(1)``
+
+* Release notes for CMake 3.0.0 and above will now be included with
+ the html documentation.
+
+New Features
+============
+
+Syntax
+------
+
+* The CMake language has been extended with
+ :ref:`Bracket Argument` and :ref:`Bracket Comment`
+ syntax inspired by Lua long brackets::
+
+ set(x [===[bracket argument]===] #[[bracket comment]])
+
+ Content between equal-length open- and close-brackets is taken
+ literally with no variable replacements.
+
+ .. warning::
+ This syntax change could not be made in a fully compatible
+ way. No policy is possible because syntax parsing occurs before
+ any chance to set a policy. Existing code using an unquoted
+ argument that starts with an open bracket will be interpreted
+ differently without any diagnostic. Fortunately the syntax is
+ obscure enough that this problem is unlikely in practice.
+
+Generators
+----------
+
+* A new :generator:`CodeLite` extra generator is available
+ for use with the Makefile or Ninja generators.
+
+* A new :generator:`Kate` extra generator is available
+ for use with the Makefile or Ninja generators.
+
+* The :generator:`Ninja` generator learned to use ``ninja`` job pools
+ when specified by a new :prop_gbl:`JOB_POOLS` global property.
+
+Commands
+--------
+
+* The :command:`add_library` command learned a new ``INTERFACE``
+ library type. Interface libraries have no build rules but may
+ have properties defining
+ :manual:`usage requirements <cmake-buildsystem(7)>`
+ and may be installed, exported, and imported. This is useful to
+ create header-only libraries that have concrete link dependencies
+ on other libraries.
+
+* The :command:`export()` command learned a new ``EXPORT`` mode that
+ retrieves the list of targets to export from an export set configured
+ by the :command:`install(TARGETS)` command ``EXPORT`` option. This
+ makes it easy to export from the build tree the same targets that
+ are exported from the install tree.
+
+* The :command:`export` command learned to work with multiple dependent
+ export sets, thus allowing multiple packages to be built and exported
+ from a single tree. The feature requires CMake to wait until the
+ generation step to write the output file. This means one should not
+ :command:`include` the generated targets file later during project
+ configuration because it will not be available.
+ Use :ref:`Alias Targets` instead. See policy :policy:`CMP0024`.
+
+* The :command:`install(FILES)` command learned to support
+ :manual:`generator expressions <cmake-generator-expressions(7)>`
+ in the list of files.
+
+* The :command:`project` command learned to set some version variables
+ to values specified by the new ``VERSION`` option or to empty strings.
+ See policy :policy:`CMP0048`.
+
+* The :command:`string` command learned a new ``CONCAT`` mode.
+ It is particularly useful in combination with the new
+ :ref:`Bracket Argument` syntax.
+
+* The :command:`unset` command learned a ``PARENT_SCOPE`` option
+ matching that of the :command:`set` command.
+
+* The :command:`include_external_msproject` command learned
+ to handle non-C++ projects like ``.vbproj`` or ``.csproj``.
+
+* The :command:`ctest_update` command learned to update work trees
+ managed by the Perforce (p4) version control tool.
+
+* The :command:`message` command learned a ``DEPRECATION`` mode. Such
+ messages are not issued by default, but may be issued as a warning if
+ :variable:`CMAKE_WARN_DEPRECATED` is enabled, or as an error if
+ :variable:`CMAKE_ERROR_DEPRECATED` is enabled.
+
+* The :command:`target_link_libraries` command now allows repeated use of
+ the ``LINK_PUBLIC`` and ``LINK_PRIVATE`` keywords.
+
+Variables
+---------
+
+* Variable :variable:`CMAKE_FIND_NO_INSTALL_PREFIX` has been
+ introduced to tell CMake not to add the value of
+ :variable:`CMAKE_INSTALL_PREFIX` to the
+ :variable:`CMAKE_SYSTEM_PREFIX_PATH` variable by default.
+ This is useful when building a project that installs some
+ of its own dependencies to avoid finding files it is about
+ to replace.
+
+* Variable :variable:`CMAKE_STAGING_PREFIX` was introduced for use
+ when cross-compiling to specify an installation prefix on the
+ host system that differs from a :variable:`CMAKE_INSTALL_PREFIX`
+ value meant for the target system.
+
+* Variable :variable:`CMAKE_SYSROOT` was introduced to specify the
+ toolchain SDK installation prefix, typically for cross-compiling.
+ This is used to pass a ``--sysroot`` option to the compiler and
+ as a prefix searched by ``find_*`` commands.
+
+* Variable :variable:`CMAKE_<LANG>_COMPILER_TARGET` was introduced
+ for use when cross-compiling to specify the target platform in the
+ :ref:`toolchain file <Cross Compiling Toolchain>` specified by the
+ :variable:`CMAKE_TOOLCHAIN_FILE` variable.
+ This is used to pass an option such as ``--target=<triple>`` to some
+ cross-compiling compiler drivers.
+
+* Variable :variable:`CMAKE_MAP_IMPORTED_CONFIG_<CONFIG>` has been
+ introduced to optionally initialize the
+ :prop_tgt:`MAP_IMPORTED_CONFIG_<CONFIG>` target property.
+
+Properties
+----------
+
+* The :prop_dir:`ADDITIONAL_MAKE_CLEAN_FILES` directory property
+ learned to support
+ :manual:`generator expressions <cmake-generator-expressions(7)>`.
+
+* A new directory property :prop_dir:`CMAKE_CONFIGURE_DEPENDS`
+ was introduced to allow projects to specify additional
+ files on which the configuration process depends. CMake will
+ re-run at build time when one of these files is modified.
+ Previously this was only possible to achieve by specifying
+ such files as the input to a :command:`configure_file` command.
+
+* A new :ref:`Qt AUTORCC` feature replaces the need to
+ invoke ``qt4_add_resources()`` by allowing ``.qrc`` files to
+ be listed as target sources.
+
+* A new :ref:`Qt AUTOUIC` feature replaces the need to
+ invoke ``qt4_wrap_ui()``.
+
+* Test properties learned to support
+ :manual:`generator expressions <cmake-generator-expressions(7)>`.
+ This is useful to specify per-configuration values for test
+ properties like :prop_test:`REQUIRED_FILES` and
+ :prop_test:`WORKING_DIRECTORY`.
+
+* A new :prop_test:`SKIP_RETURN_CODE` test property was introduced
+ to tell :manual:`ctest(1)` to treat a particular test return code as
+ if the test were not run. This is useful for test drivers to report
+ that certain test requirements were not available.
+
+* New types of :ref:`Compatible Interface Properties` were introduced,
+ namely the :prop_tgt:`COMPATIBLE_INTERFACE_NUMBER_MAX` and
+ :prop_tgt:`COMPATIBLE_INTERFACE_NUMBER_MIN` for calculating numeric
+ maximum and minimum values respectively.
+
+Modules
+-------
+
+* The :module:`CheckTypeSize` module ``check_type_size`` macro and
+ the :module:`CheckStructHasMember` module ``check_struct_has_member``
+ macro learned a new ``LANGUAGE`` option to optionally check C++ types.
+
+* The :module:`ExternalData` module learned to work with no
+ URL templates if a local store is available.
+
+* The :module:`ExternalProject` function ``ExternalProject_Add``
+ learned a new ``GIT_SUBMODULES`` option to specify a subset
+ of available submodules to checkout.
+
+* A new :module:`FindBacktrace` module has been added to support
+ :command:`find_package(Backtrace)` calls.
+
+* A new :module:`FindLua` module has been added to support
+ :command:`find_package(Lua)` calls.
+
+* The :module:`FindBoost` module learned a new ``Boost_NAMESPACE``
+ option to change the ``boost`` prefix on library names.
+
+* The :module:`FindBoost` module learned to control search
+ for libraies with the ``g`` tag (for MS debug runtime) with
+ a new ``Boost_USE_DEBUG_RUNTIME`` option. It is ``ON`` by
+ default to preserve existing behavior.
+
+* The :module:`FindJava` and :module:`FindJNI` modules learned
+ to use a ``JAVA_HOME`` CMake variable or environment variable,
+ and then try ``/usr/libexec/java_home`` on OS X.
+
+* The :module:`UseJava` module ``add_jar`` function learned a new
+ ``MANIFEST`` option to pass the ``-m`` option to ``jar``.
+
+* A new :module:`CMakeFindDependencyMacro` module was introduced with
+ a ``find_dependency`` macro to find transitive dependencies in
+ a :manual:`package configuration file <cmake-packages(7)>`. Such
+ dependencies are omitted by the listing of the :module:`FeatureSummary`
+ module.
+
+* The :module:`FindQt4` module learned to create :ref:`Imported Targets`
+ for Qt executables. This helps disambiguate when using multiple
+ :manual:`Qt versions <cmake-qt(7)>` in the same buildsystem.
+
+* The :module:`FindRuby` module learned to search for Ruby 2.0 and 2.1.
+
+Generator Expressions
+---------------------
+
+* New ``$<PLATFORM_ID>`` and ``$<PLATFORM_ID:...>``
+ :manual:`generator expressions <cmake-generator-expressions(7)>`
+ have been added.
+
+* The ``$<CONFIG>``
+ :manual:`generator expression <cmake-generator-expressions(7)>` now has
+ a variant which takes no argument. This is equivalent to the
+ ``$<CONFIGURATION>`` expression.
+
+* New ``$<UPPER_CASE:...>`` and ``$<LOWER_CASE:...>``
+ :manual:`generator expressions <cmake-generator-expressions(7)>`
+ generator expressions have been added.
+
+* A new ``$<MAKE_C_IDENTIFIER:...>``
+ :manual:`generator expression <cmake-generator-expressions(7)>` has
+ been added.
+
+Other
+-----
+
+* The :manual:`cmake(1)` ``-E`` option learned a new ``sleep`` command.
+
+* The :manual:`ccmake(1)` dialog learned to honor the
+ :prop_cache:`STRINGS` cache entry property to cycle through
+ the enumerated list of possible values.
+
+* The :manual:`cmake-gui(1)` dialog learned to remember window
+ settings between sessions.
+
+* The :manual:`cmake-gui(1)` dialog learned to remember the type
+ of a cache entry for completion in the ``Add Entry`` dialog.
+
+New Diagnostics
+===============
+
+* Directories named in the :prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES`
+ target property of imported targets linked conditionally by a
+ :manual:`generator expression <cmake-generator-expressions(7)>`
+ were not checked for existence. Now they are checked.
+ See policy :policy:`CMP0027`.
+
+* Build target names must now match a validity pattern and may no longer
+ conflict with CMake-defined targets. See policy :policy:`CMP0037`.
+
+* Build targets that specify themselves as a link dependency were
+ silently accepted but are now diagnosed. See :policy:`CMP0038`.
+
+* The :command:`target_link_libraries` command used to silently ignore
+ calls specifying as their first argument build targets created by
+ :command:`add_custom_target` but now diagnoses this mistake.
+ See policy :policy:`CMP0039`.
+
+* The :command:`add_custom_command` command used to silently ignore
+ calls specifying the ``TARGET`` option with a non-existent target
+ but now diagnoses this mistake. See policy :policy:`CMP0040`.
+
+* Relative paths in the :prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES`
+ target property used to be silently accepted if they contained a
+ :manual:`generator expression <cmake-generator-expressions(7)>`
+ but are now rejected. See policy :policy:`CMP0041`.
+
+* The :command:`get_target_property` command learned to reject calls
+ specifying a non-existent target. See policy :policy:`CMP0045`.
+
+* The :command:`add_dependencies` command learned to reject calls
+ specifying a dependency on a non-existent target.
+ See policy :policy:`CMP0046`.
+
+* Link dependency analysis learned to assume names containing ``::``
+ refer to :ref:`Alias Targets` or :ref:`Imported Targets`. It will
+ now produce an error if such a linked target is missing. Previously
+ in this case CMake generated a link line that failed at build time.
+ See policy :policy:`CMP0028`.
+
+* When the :command:`project` or :command:`enable_language` commands
+ initialize support for a language, it is now an error if the full
+ path to the compiler cannot be found and stored in the corresponding
+ :variable:`CMAKE_<LANG>_COMPILER` variable. This produces nicer error
+ messages up front and stops processing when no working compiler
+ is known to be available.
+
+* Target sources specified with the :command:`add_library` or
+ :command:`add_executable` command learned to reject items which
+ require an undocumented extra layer of variable expansion.
+ See policy :policy:`CMP0049`.
+
+* Use of :command:`add_custom_command` undocumented ``SOURCE``
+ signatures now results in an error. See policy :policy:`CMP0050`.
+
+Deprecated and Removed Features
+===============================
+
+* Compatibility options supporting code written for CMake versions
+ prior to 2.4 have been removed.
+
+* Several long-outdated commands that should no longer be called
+ have been disallowed in new code by policies:
+
+ - Policy :policy:`CMP0029` disallows :command:`subdir_depends`
+ - Policy :policy:`CMP0030` disallows :command:`use_mangled_mesa`
+ - Policy :policy:`CMP0031` disallows :command:`load_command`
+ - Policy :policy:`CMP0032` disallows :command:`output_required_files`
+ - Policy :policy:`CMP0033` disallows :command:`export_library_dependencies`
+ - Policy :policy:`CMP0034` disallows :command:`utility_source`
+ - Policy :policy:`CMP0035` disallows :command:`variable_requires`
+ - Policy :policy:`CMP0036` disallows :command:`build_name`
+
+* The :manual:`cmake(1)` ``-i`` wizard mode has been removed.
+ Instead use an interactive dialog such as :manual:`ccmake(1)`
+ or use the ``-D`` option to set cache values from the command line.
+
+* The builtin documentation formatters that supported command-line
+ options such as ``--help-man`` and ``--help-html`` have been removed
+ in favor of the above-mentioned new documentation system. These and
+ other command-line options that used to generate man- and html-
+ formatted pages no longer work. The :manual:`cmake(1)`
+ ``--help-custom-modules`` option now produces a warning at runtime
+ and generates a minimal document that reports the limitation.
+
+* The :prop_dir:`COMPILE_DEFINITIONS_<CONFIG>` directory properties and the
+ :prop_tgt:`COMPILE_DEFINITIONS_<CONFIG>` target properties have been
+ deprecated. Instead set the corresponding :prop_dir:`COMPILE_DEFINITIONS`
+ directory property or :prop_tgt:`COMPILE_DEFINITIONS` target property and
+ use :manual:`generator expressions <cmake-generator-expressions(7)>` like
+ ``$<CONFIG:...>`` to specify per-configuration definitions.
+ See policy :policy:`CMP0043`.
+
+* The :prop_tgt:`LOCATION` target property should no longer be read from
+ non-IMPORTED targets. It does not make sense in multi-configuration
+ generators since the build configuration is not known while configuring
+ the project. It has been superseded by the ``$<TARGET_FILE>`` generator
+ expression. See policy :policy:`CMP0026`.
+
+* The :prop_tgt:`COMPILE_FLAGS` target property is now documented
+ as deprecated, though no warning is issued. Use the
+ :prop_tgt:`COMPILE_OPTIONS` target property or the
+ :command:`target_compile_options` command instead.
+
+* The :module:`GenerateExportHeader` module ``add_compiler_export_flags``
+ function is now deprecated. It has been superseded by the
+ :prop_tgt:`<LANG>_VISIBILITY_PRESET` and
+ :prop_tgt:`VISIBILITY_INLINES_HIDDEN` target properties.
+
+Other Changes
+=============
+
+* The version scheme was changed to use only two components for
+ the feature level instead of three. The third component will
+ now be used for bug-fix releases or the date of development versions.
+ See the :variable:`CMAKE_VERSION` variable documentation for details.
+
+* The default install locations of CMake itself on Windows and
+ OS X no longer contain the CMake version number. This allows
+ for easy replacement without re-generating local build trees
+ manually.
+
+* Generators for Visual Studio 10 (2010) and later were renamed to
+ include the product year like generators for older VS versions:
+
+ - ``Visual Studio 10`` -> :generator:`Visual Studio 10 2010`
+ - ``Visual Studio 11`` -> :generator:`Visual Studio 11 2012`
+ - ``Visual Studio 12`` -> :generator:`Visual Studio 12 2013`
+
+ This clarifies which generator goes with each Visual Studio
+ version. The old names are recognized for compatibility.
+
+* The :variable:`CMAKE_<LANG>_COMPILER_ID` value for Apple-provided
+ Clang is now ``AppleClang``. It must be distinct from upstream
+ Clang because the version numbers differ.
+ See policy :policy:`CMP0025`.
+
+* The :variable:`CMAKE_<LANG>_COMPILER_ID` value for ``qcc`` on QNX
+ is now ``QCC``. It must be distinct from ``GNU`` because the
+ command-line options differ. See policy :policy:`CMP0047`.
+
+* On 64-bit OS X the :variable:`CMAKE_HOST_SYSTEM_PROCESSOR` value
+ is now correctly detected as ``x86_64`` instead of ``i386``.
+
+* On OS X, CMake learned to enable behavior specified by the
+ :prop_tgt:`MACOSX_RPATH` target property by default. This activates
+ use of ``@rpath`` for runtime shared library searches.
+ See policy :policy:`CMP0042`.
+
+* The :command:`build_command` command now returns a :manual:`cmake(1)`
+ ``--build`` command line instead of a direct invocation of the native
+ build tool. When using ``Visual Studio`` generators, CMake and CTest
+ no longer require :variable:`CMAKE_MAKE_PROGRAM` to be located up front.
+ Selection of the proper msbuild or devenv tool is now performed as
+ late as possible when the solution (``.sln``) file is available so
+ it can depend on project content.
+
+* The :manual:`cmake(1)` ``--build`` command now shares its own stdout
+ and stderr pipes with the native build tool by default.
+ The ``--use-stderr`` option that once activated this is now ignored.
+
+* The ``$<C_COMPILER_ID:...>`` and ``$<CXX_COMPILER_ID:...>``
+ :manual:`generator expressions <cmake-generator-expressions(7)>`
+ used to perform case-insensitive comparison but have now been
+ corrected to perform case-sensitive comparison.
+ See policy :policy:`CMP0044`.
+
+* The builtin ``edit_cache`` target will no longer select
+ :manual:`ccmake(1)` by default when no interactive terminal will
+ be available (e.g. with :generator:`Ninja` or an IDE generator).
+ Instead :manual:`cmake-gui(1)` will be preferred if available.
+
+* The :module:`ExternalProject` download step learned to
+ re-attempt download in certain cases to be more robust to
+ temporary network failure.
+
+* The :module:`FeatureSummary` no longer lists transitive
+ dependencies since they were not directly requested by the
+ current project.
+
+* The ``cmake-mode.el`` major Emacs editing mode has been cleaned
+ up and enhanced in several ways.
+
+* Include directories specified in the
+ :prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES` of :ref:`Imported Targets`
+ are treated as ``SYSTEM`` includes by default when handled as
+ :ref:`usage requirements <Include Directories and Usage Requirements>`.
diff --git a/Help/release/dev.txt b/Help/release/dev.txt
new file mode 100644
index 0000000..2cf9193
--- /dev/null
+++ b/Help/release/dev.txt
@@ -0,0 +1,16 @@
+..
+ This file should be included by the adjacent "index.rst"
+ in development versions but not in release versions.
+
+Changes Since Release
+=====================
+
+The following noteworthy changes have been made in this development
+version since the preceding release but have not yet been consolidated
+into notes for a specific release version:
+
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ dev/*
diff --git a/Help/release/index.rst b/Help/release/index.rst
new file mode 100644
index 0000000..752c568
--- /dev/null
+++ b/Help/release/index.rst
@@ -0,0 +1,14 @@
+CMake Release Notes
+*******************
+
+..
+ This file should include the adjacent "dev.txt" file
+ in development versions but not in release versions.
+
+Releases
+========
+
+.. toctree::
+ :maxdepth: 1
+
+ 3.0.0 <3.0.0>
diff --git a/Help/variable/APPLE.rst b/Help/variable/APPLE.rst
new file mode 100644
index 0000000..3afdee8
--- /dev/null
+++ b/Help/variable/APPLE.rst
@@ -0,0 +1,6 @@
+APPLE
+-----
+
+True if running on Mac OS X.
+
+Set to true on Mac OS X.
diff --git a/Help/variable/BORLAND.rst b/Help/variable/BORLAND.rst
new file mode 100644
index 0000000..4af6085
--- /dev/null
+++ b/Help/variable/BORLAND.rst
@@ -0,0 +1,6 @@
+BORLAND
+-------
+
+True if the Borland compiler is being used.
+
+This is set to true if the Borland compiler is being used.
diff --git a/Help/variable/BUILD_SHARED_LIBS.rst b/Help/variable/BUILD_SHARED_LIBS.rst
new file mode 100644
index 0000000..6f30efb
--- /dev/null
+++ b/Help/variable/BUILD_SHARED_LIBS.rst
@@ -0,0 +1,10 @@
+BUILD_SHARED_LIBS
+-----------------
+
+Global flag to cause add_library to create shared libraries if on.
+
+If present and true, this will cause all libraries to be built shared
+unless the library was explicitly added as a static library. This
+variable is often added to projects as an OPTION so that each user of
+a project can decide if they want to build the project using shared or
+static libraries.
diff --git a/Help/variable/CMAKE_ABSOLUTE_DESTINATION_FILES.rst b/Help/variable/CMAKE_ABSOLUTE_DESTINATION_FILES.rst
new file mode 100644
index 0000000..3691453
--- /dev/null
+++ b/Help/variable/CMAKE_ABSOLUTE_DESTINATION_FILES.rst
@@ -0,0 +1,9 @@
+CMAKE_ABSOLUTE_DESTINATION_FILES
+--------------------------------
+
+List of files which have been installed using an ABSOLUTE DESTINATION path.
+
+This variable is defined by CMake-generated cmake_install.cmake
+scripts. It can be used (read-only) by programs or scripts that
+source those install scripts. This is used by some CPack generators
+(e.g. RPM).
diff --git a/Help/variable/CMAKE_APPBUNDLE_PATH.rst b/Help/variable/CMAKE_APPBUNDLE_PATH.rst
new file mode 100644
index 0000000..469b316
--- /dev/null
+++ b/Help/variable/CMAKE_APPBUNDLE_PATH.rst
@@ -0,0 +1,5 @@
+CMAKE_APPBUNDLE_PATH
+--------------------
+
+Search path for OS X application bundles used by the :command:`find_program`,
+and :command:`find_package` commands.
diff --git a/Help/variable/CMAKE_AR.rst b/Help/variable/CMAKE_AR.rst
new file mode 100644
index 0000000..5893677
--- /dev/null
+++ b/Help/variable/CMAKE_AR.rst
@@ -0,0 +1,7 @@
+CMAKE_AR
+--------
+
+Name of archiving tool for static libraries.
+
+This specifies the name of the program that creates archive or static
+libraries.
diff --git a/Help/variable/CMAKE_ARCHIVE_OUTPUT_DIRECTORY.rst b/Help/variable/CMAKE_ARCHIVE_OUTPUT_DIRECTORY.rst
new file mode 100644
index 0000000..6a22f73
--- /dev/null
+++ b/Help/variable/CMAKE_ARCHIVE_OUTPUT_DIRECTORY.rst
@@ -0,0 +1,8 @@
+CMAKE_ARCHIVE_OUTPUT_DIRECTORY
+------------------------------
+
+Where to put all the ARCHIVE targets when built.
+
+This variable is used to initialize the ARCHIVE_OUTPUT_DIRECTORY
+property on all the targets. See that target property for additional
+information.
diff --git a/Help/variable/CMAKE_ARGC.rst b/Help/variable/CMAKE_ARGC.rst
new file mode 100644
index 0000000..be120b8
--- /dev/null
+++ b/Help/variable/CMAKE_ARGC.rst
@@ -0,0 +1,7 @@
+CMAKE_ARGC
+----------
+
+Number of command line arguments passed to CMake in script mode.
+
+When run in -P script mode, CMake sets this variable to the number of
+command line arguments. See also CMAKE_ARGV0, 1, 2 ...
diff --git a/Help/variable/CMAKE_ARGV0.rst b/Help/variable/CMAKE_ARGV0.rst
new file mode 100644
index 0000000..e5ed419
--- /dev/null
+++ b/Help/variable/CMAKE_ARGV0.rst
@@ -0,0 +1,9 @@
+CMAKE_ARGV0
+-----------
+
+Command line argument passed to CMake in script mode.
+
+When run in -P script mode, CMake sets this variable to the first
+command line argument. It then also sets CMAKE_ARGV1, CMAKE_ARGV2,
+... and so on, up to the number of command line arguments given. See
+also CMAKE_ARGC.
diff --git a/Help/variable/CMAKE_AUTOMOC.rst b/Help/variable/CMAKE_AUTOMOC.rst
new file mode 100644
index 0000000..02e5eb5
--- /dev/null
+++ b/Help/variable/CMAKE_AUTOMOC.rst
@@ -0,0 +1,7 @@
+CMAKE_AUTOMOC
+-------------
+
+Whether to handle ``moc`` automatically for Qt targets.
+
+This variable is used to initialize the :prop_tgt:`AUTOMOC` property on all the
+targets. See that target property for additional information.
diff --git a/Help/variable/CMAKE_AUTOMOC_MOC_OPTIONS.rst b/Help/variable/CMAKE_AUTOMOC_MOC_OPTIONS.rst
new file mode 100644
index 0000000..09bf5cd
--- /dev/null
+++ b/Help/variable/CMAKE_AUTOMOC_MOC_OPTIONS.rst
@@ -0,0 +1,7 @@
+CMAKE_AUTOMOC_MOC_OPTIONS
+-------------------------
+
+Additional options for ``moc`` when using :variable:`CMAKE_AUTOMOC`.
+
+This variable is used to initialize the :prop_tgt:`AUTOMOC_MOC_OPTIONS` property
+on all the targets. See that target property for additional information.
diff --git a/Help/variable/CMAKE_AUTOMOC_RELAXED_MODE.rst b/Help/variable/CMAKE_AUTOMOC_RELAXED_MODE.rst
new file mode 100644
index 0000000..a814d40
--- /dev/null
+++ b/Help/variable/CMAKE_AUTOMOC_RELAXED_MODE.rst
@@ -0,0 +1,13 @@
+CMAKE_AUTOMOC_RELAXED_MODE
+--------------------------
+
+Switch between strict and relaxed automoc mode.
+
+By default, :prop_tgt:`AUTOMOC` behaves exactly as described in the documentation
+of the :prop_tgt:`AUTOMOC` target property. When set to ``TRUE``, it accepts more
+input and tries to find the correct input file for ``moc`` even if it
+differs from the documented behaviour. In this mode it e.g. also
+checks whether a header file is intended to be processed by moc when a
+``"foo.moc"`` file has been included.
+
+Relaxed mode has to be enabled for KDE4 compatibility.
diff --git a/Help/variable/CMAKE_AUTORCC.rst b/Help/variable/CMAKE_AUTORCC.rst
new file mode 100644
index 0000000..067f766
--- /dev/null
+++ b/Help/variable/CMAKE_AUTORCC.rst
@@ -0,0 +1,7 @@
+CMAKE_AUTORCC
+-------------
+
+Whether to handle ``rcc`` automatically for Qt targets.
+
+This variable is used to initialize the :prop_tgt:`AUTORCC` property on all the targets.
+See that target property for additional information.
diff --git a/Help/variable/CMAKE_AUTORCC_OPTIONS.rst b/Help/variable/CMAKE_AUTORCC_OPTIONS.rst
new file mode 100644
index 0000000..298cb6b
--- /dev/null
+++ b/Help/variable/CMAKE_AUTORCC_OPTIONS.rst
@@ -0,0 +1,7 @@
+CMAKE_AUTORCC_OPTIONS
+---------------------
+
+Whether to handle ``rcc`` automatically for Qt targets.
+
+This variable is used to initialize the :prop_tgt:`AUTORCC_OPTIONS` property on
+all the targets. See that target property for additional information.
diff --git a/Help/variable/CMAKE_AUTOUIC.rst b/Help/variable/CMAKE_AUTOUIC.rst
new file mode 100644
index 0000000..0beb555
--- /dev/null
+++ b/Help/variable/CMAKE_AUTOUIC.rst
@@ -0,0 +1,7 @@
+CMAKE_AUTOUIC
+-------------
+
+Whether to handle ``uic`` automatically for Qt targets.
+
+This variable is used to initialize the :prop_tgt:`AUTOUIC` property on all the targets.
+See that target property for additional information.
diff --git a/Help/variable/CMAKE_AUTOUIC_OPTIONS.rst b/Help/variable/CMAKE_AUTOUIC_OPTIONS.rst
new file mode 100644
index 0000000..3c9b8c4
--- /dev/null
+++ b/Help/variable/CMAKE_AUTOUIC_OPTIONS.rst
@@ -0,0 +1,7 @@
+CMAKE_AUTOUIC_OPTIONS
+---------------------
+
+Whether to handle ``uic`` automatically for Qt targets.
+
+This variable is used to initialize the :prop_tgt:`AUTOUIC_OPTIONS` property on
+all the targets. See that target property for additional information.
diff --git a/Help/variable/CMAKE_BACKWARDS_COMPATIBILITY.rst b/Help/variable/CMAKE_BACKWARDS_COMPATIBILITY.rst
new file mode 100644
index 0000000..05c366a
--- /dev/null
+++ b/Help/variable/CMAKE_BACKWARDS_COMPATIBILITY.rst
@@ -0,0 +1,4 @@
+CMAKE_BACKWARDS_COMPATIBILITY
+-----------------------------
+
+Deprecated. See CMake Policy :policy:`CMP0001` documentation.
diff --git a/Help/variable/CMAKE_BINARY_DIR.rst b/Help/variable/CMAKE_BINARY_DIR.rst
new file mode 100644
index 0000000..703bb58
--- /dev/null
+++ b/Help/variable/CMAKE_BINARY_DIR.rst
@@ -0,0 +1,8 @@
+CMAKE_BINARY_DIR
+----------------
+
+The path to the top level of the build tree.
+
+This is the full path to the top level of the current CMake build
+tree. For an in-source build, this would be the same as
+CMAKE_SOURCE_DIR.
diff --git a/Help/variable/CMAKE_BUILD_TOOL.rst b/Help/variable/CMAKE_BUILD_TOOL.rst
new file mode 100644
index 0000000..6133491
--- /dev/null
+++ b/Help/variable/CMAKE_BUILD_TOOL.rst
@@ -0,0 +1,6 @@
+CMAKE_BUILD_TOOL
+----------------
+
+This variable exists only for backwards compatibility.
+It contains the same value as :variable:`CMAKE_MAKE_PROGRAM`.
+Use that variable instead.
diff --git a/Help/variable/CMAKE_BUILD_TYPE.rst b/Help/variable/CMAKE_BUILD_TYPE.rst
new file mode 100644
index 0000000..68f08ba
--- /dev/null
+++ b/Help/variable/CMAKE_BUILD_TYPE.rst
@@ -0,0 +1,19 @@
+CMAKE_BUILD_TYPE
+----------------
+
+Specifies the build type on single-configuration generators.
+
+This statically specifies what build type (configuration) will be
+built in this build tree. Possible values are empty, Debug, Release,
+RelWithDebInfo and MinSizeRel. This variable is only meaningful to
+single-configuration generators (such as make and Ninja) i.e. those
+which choose a single configuration when CMake runs to generate a
+build tree as opposed to multi-configuration generators which offer
+selection of the build configuration within the generated build
+environment. There are many per-config properties and variables
+(usually following clean SOME_VAR_<CONFIG> order conventions), such as
+CMAKE_C_FLAGS_<CONFIG>, specified as uppercase:
+CMAKE_C_FLAGS_[DEBUG|RELEASE|RELWITHDEBINFO|MINSIZEREL]. For example,
+in a build tree configured to build type Debug, CMake will see to
+having CMAKE_C_FLAGS_DEBUG settings get added to the CMAKE_C_FLAGS
+settings. See also CMAKE_CONFIGURATION_TYPES.
diff --git a/Help/variable/CMAKE_BUILD_WITH_INSTALL_RPATH.rst b/Help/variable/CMAKE_BUILD_WITH_INSTALL_RPATH.rst
new file mode 100644
index 0000000..6875da6
--- /dev/null
+++ b/Help/variable/CMAKE_BUILD_WITH_INSTALL_RPATH.rst
@@ -0,0 +1,11 @@
+CMAKE_BUILD_WITH_INSTALL_RPATH
+------------------------------
+
+Use the install path for the RPATH
+
+Normally CMake uses the build tree for the RPATH when building
+executables etc on systems that use RPATH. When the software is
+installed the executables etc are relinked by CMake to have the
+install RPATH. If this variable is set to true then the software is
+always built with the install path for the RPATH and does not need to
+be relinked when installed.
diff --git a/Help/variable/CMAKE_CACHEFILE_DIR.rst b/Help/variable/CMAKE_CACHEFILE_DIR.rst
new file mode 100644
index 0000000..78c7d93
--- /dev/null
+++ b/Help/variable/CMAKE_CACHEFILE_DIR.rst
@@ -0,0 +1,7 @@
+CMAKE_CACHEFILE_DIR
+-------------------
+
+The directory with the CMakeCache.txt file.
+
+This is the full path to the directory that has the CMakeCache.txt
+file in it. This is the same as CMAKE_BINARY_DIR.
diff --git a/Help/variable/CMAKE_CACHE_MAJOR_VERSION.rst b/Help/variable/CMAKE_CACHE_MAJOR_VERSION.rst
new file mode 100644
index 0000000..e6887d9
--- /dev/null
+++ b/Help/variable/CMAKE_CACHE_MAJOR_VERSION.rst
@@ -0,0 +1,8 @@
+CMAKE_CACHE_MAJOR_VERSION
+-------------------------
+
+Major version of CMake used to create the CMakeCache.txt file
+
+This stores the major version of CMake used to write a CMake cache
+file. It is only different when a different version of CMake is run
+on a previously created cache file.
diff --git a/Help/variable/CMAKE_CACHE_MINOR_VERSION.rst b/Help/variable/CMAKE_CACHE_MINOR_VERSION.rst
new file mode 100644
index 0000000..799f0a9
--- /dev/null
+++ b/Help/variable/CMAKE_CACHE_MINOR_VERSION.rst
@@ -0,0 +1,8 @@
+CMAKE_CACHE_MINOR_VERSION
+-------------------------
+
+Minor version of CMake used to create the CMakeCache.txt file
+
+This stores the minor version of CMake used to write a CMake cache
+file. It is only different when a different version of CMake is run
+on a previously created cache file.
diff --git a/Help/variable/CMAKE_CACHE_PATCH_VERSION.rst b/Help/variable/CMAKE_CACHE_PATCH_VERSION.rst
new file mode 100644
index 0000000..e67d544
--- /dev/null
+++ b/Help/variable/CMAKE_CACHE_PATCH_VERSION.rst
@@ -0,0 +1,8 @@
+CMAKE_CACHE_PATCH_VERSION
+-------------------------
+
+Patch version of CMake used to create the CMakeCache.txt file
+
+This stores the patch version of CMake used to write a CMake cache
+file. It is only different when a different version of CMake is run
+on a previously created cache file.
diff --git a/Help/variable/CMAKE_CFG_INTDIR.rst b/Help/variable/CMAKE_CFG_INTDIR.rst
new file mode 100644
index 0000000..20435e5
--- /dev/null
+++ b/Help/variable/CMAKE_CFG_INTDIR.rst
@@ -0,0 +1,45 @@
+CMAKE_CFG_INTDIR
+----------------
+
+Build-time reference to per-configuration output subdirectory.
+
+For native build systems supporting multiple configurations in the
+build tree (such as Visual Studio and Xcode), the value is a reference
+to a build-time variable specifying the name of the per-configuration
+output subdirectory. On Makefile generators this evaluates to "."
+because there is only one configuration in a build tree. Example
+values:
+
+::
+
+ $(IntDir) = Visual Studio 6
+ $(OutDir) = Visual Studio 7, 8, 9
+ $(Configuration) = Visual Studio 10
+ $(CONFIGURATION) = Xcode
+ . = Make-based tools
+
+Since these values are evaluated by the native build system, this
+variable is suitable only for use in command lines that will be
+evaluated at build time. Example of intended usage:
+
+::
+
+ add_executable(mytool mytool.c)
+ add_custom_command(
+ OUTPUT out.txt
+ COMMAND ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/mytool
+ ${CMAKE_CURRENT_SOURCE_DIR}/in.txt out.txt
+ DEPENDS mytool in.txt
+ )
+ add_custom_target(drive ALL DEPENDS out.txt)
+
+Note that CMAKE_CFG_INTDIR is no longer necessary for this purpose but
+has been left for compatibility with existing projects. Instead
+add_custom_command() recognizes executable target names in its COMMAND
+option, so "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/mytool"
+can be replaced by just "mytool".
+
+This variable is read-only. Setting it is undefined behavior. In
+multi-configuration build systems the value of this variable is passed
+as the value of preprocessor symbol "CMAKE_INTDIR" to the compilation
+of all source files.
diff --git a/Help/variable/CMAKE_CL_64.rst b/Help/variable/CMAKE_CL_64.rst
new file mode 100644
index 0000000..5096829
--- /dev/null
+++ b/Help/variable/CMAKE_CL_64.rst
@@ -0,0 +1,6 @@
+CMAKE_CL_64
+-----------
+
+Using the 64 bit compiler from Microsoft
+
+Set to true when using the 64 bit cl compiler from Microsoft.
diff --git a/Help/variable/CMAKE_COLOR_MAKEFILE.rst b/Help/variable/CMAKE_COLOR_MAKEFILE.rst
new file mode 100644
index 0000000..170baf3
--- /dev/null
+++ b/Help/variable/CMAKE_COLOR_MAKEFILE.rst
@@ -0,0 +1,7 @@
+CMAKE_COLOR_MAKEFILE
+--------------------
+
+Enables color output when using the Makefile generator.
+
+When enabled, the generated Makefiles will produce colored output.
+Default is ON.
diff --git a/Help/variable/CMAKE_COMMAND.rst b/Help/variable/CMAKE_COMMAND.rst
new file mode 100644
index 0000000..f4e5f1e
--- /dev/null
+++ b/Help/variable/CMAKE_COMMAND.rst
@@ -0,0 +1,8 @@
+CMAKE_COMMAND
+-------------
+
+The full path to the cmake executable.
+
+This is the full path to the CMake executable cmake which is useful
+from custom commands that want to use the cmake -E option for portable
+system commands. (e.g. /usr/local/bin/cmake
diff --git a/Help/variable/CMAKE_COMPILER_2005.rst b/Help/variable/CMAKE_COMPILER_2005.rst
new file mode 100644
index 0000000..134559b
--- /dev/null
+++ b/Help/variable/CMAKE_COMPILER_2005.rst
@@ -0,0 +1,6 @@
+CMAKE_COMPILER_2005
+-------------------
+
+Using the Visual Studio 2005 compiler from Microsoft
+
+Set to true when using the Visual Studio 2005 compiler from Microsoft.
diff --git a/Help/variable/CMAKE_COMPILER_IS_GNULANG.rst b/Help/variable/CMAKE_COMPILER_IS_GNULANG.rst
new file mode 100644
index 0000000..bc5652f
--- /dev/null
+++ b/Help/variable/CMAKE_COMPILER_IS_GNULANG.rst
@@ -0,0 +1,15 @@
+CMAKE_COMPILER_IS_GNU<LANG>
+---------------------------
+
+True if the compiler is GNU.
+
+If the selected <LANG> compiler is the GNU compiler then this is TRUE,
+if not it is FALSE. Unlike the other per-language variables, this
+uses the GNU syntax for identifying languages instead of the CMake
+syntax. Recognized values of the <LANG> suffix are:
+
+::
+
+ CC = C compiler
+ CXX = C++ compiler
+ G77 = Fortran compiler
diff --git a/Help/variable/CMAKE_CONFIGURATION_TYPES.rst b/Help/variable/CMAKE_CONFIGURATION_TYPES.rst
new file mode 100644
index 0000000..986b969
--- /dev/null
+++ b/Help/variable/CMAKE_CONFIGURATION_TYPES.rst
@@ -0,0 +1,10 @@
+CMAKE_CONFIGURATION_TYPES
+-------------------------
+
+Specifies the available build types on multi-config generators.
+
+This specifies what build types (configurations) will be available
+such as Debug, Release, RelWithDebInfo etc. This has reasonable
+defaults on most platforms, but can be extended to provide other build
+types. See also CMAKE_BUILD_TYPE for details of managing
+configuration data, and CMAKE_CFG_INTDIR.
diff --git a/Help/variable/CMAKE_CONFIG_POSTFIX.rst b/Help/variable/CMAKE_CONFIG_POSTFIX.rst
new file mode 100644
index 0000000..af38bed
--- /dev/null
+++ b/Help/variable/CMAKE_CONFIG_POSTFIX.rst
@@ -0,0 +1,7 @@
+CMAKE_<CONFIG>_POSTFIX
+----------------------
+
+Default filename postfix for libraries under configuration <CONFIG>.
+
+When a non-executable target is created its <CONFIG>_POSTFIX target
+property is initialized with the value of this variable if it is set.
diff --git a/Help/variable/CMAKE_CROSSCOMPILING.rst b/Help/variable/CMAKE_CROSSCOMPILING.rst
new file mode 100644
index 0000000..cf9865b
--- /dev/null
+++ b/Help/variable/CMAKE_CROSSCOMPILING.rst
@@ -0,0 +1,8 @@
+CMAKE_CROSSCOMPILING
+--------------------
+
+Is CMake currently cross compiling.
+
+This variable will be set to true by CMake if CMake is cross
+compiling. Specifically if the build platform is different from the
+target platform.
diff --git a/Help/variable/CMAKE_CTEST_COMMAND.rst b/Help/variable/CMAKE_CTEST_COMMAND.rst
new file mode 100644
index 0000000..d5dd2c3
--- /dev/null
+++ b/Help/variable/CMAKE_CTEST_COMMAND.rst
@@ -0,0 +1,8 @@
+CMAKE_CTEST_COMMAND
+-------------------
+
+Full path to ctest command installed with cmake.
+
+This is the full path to the CTest executable ctest which is useful
+from custom commands that want to use the cmake -E option for portable
+system commands.
diff --git a/Help/variable/CMAKE_CURRENT_BINARY_DIR.rst b/Help/variable/CMAKE_CURRENT_BINARY_DIR.rst
new file mode 100644
index 0000000..fb55a11
--- /dev/null
+++ b/Help/variable/CMAKE_CURRENT_BINARY_DIR.rst
@@ -0,0 +1,10 @@
+CMAKE_CURRENT_BINARY_DIR
+------------------------
+
+The path to the binary directory currently being processed.
+
+This the full path to the build directory that is currently being
+processed by cmake. Each directory added by add_subdirectory will
+create a binary directory in the build tree, and as it is being
+processed this variable will be set. For in-source builds this is the
+current source directory being processed.
diff --git a/Help/variable/CMAKE_CURRENT_LIST_DIR.rst b/Help/variable/CMAKE_CURRENT_LIST_DIR.rst
new file mode 100644
index 0000000..b816821
--- /dev/null
+++ b/Help/variable/CMAKE_CURRENT_LIST_DIR.rst
@@ -0,0 +1,17 @@
+CMAKE_CURRENT_LIST_DIR
+----------------------
+
+Full directory of the listfile currently being processed.
+
+As CMake processes the listfiles in your project this variable will
+always be set to the directory where the listfile which is currently
+being processed (CMAKE_CURRENT_LIST_FILE) is located. The value has
+dynamic scope. When CMake starts processing commands in a source file
+it sets this variable to the directory where this file is located.
+When CMake finishes processing commands from the file it restores the
+previous value. Therefore the value of the variable inside a macro or
+function is the directory of the file invoking the bottom-most entry
+on the call stack, not the directory of the file containing the macro
+or function definition.
+
+See also CMAKE_CURRENT_LIST_FILE.
diff --git a/Help/variable/CMAKE_CURRENT_LIST_FILE.rst b/Help/variable/CMAKE_CURRENT_LIST_FILE.rst
new file mode 100644
index 0000000..910d7b4
--- /dev/null
+++ b/Help/variable/CMAKE_CURRENT_LIST_FILE.rst
@@ -0,0 +1,15 @@
+CMAKE_CURRENT_LIST_FILE
+-----------------------
+
+Full path to the listfile currently being processed.
+
+As CMake processes the listfiles in your project this variable will
+always be set to the one currently being processed. The value has
+dynamic scope. When CMake starts processing commands in a source file
+it sets this variable to the location of the file. When CMake
+finishes processing commands from the file it restores the previous
+value. Therefore the value of the variable inside a macro or function
+is the file invoking the bottom-most entry on the call stack, not the
+file containing the macro or function definition.
+
+See also CMAKE_PARENT_LIST_FILE.
diff --git a/Help/variable/CMAKE_CURRENT_LIST_LINE.rst b/Help/variable/CMAKE_CURRENT_LIST_LINE.rst
new file mode 100644
index 0000000..60e8e26
--- /dev/null
+++ b/Help/variable/CMAKE_CURRENT_LIST_LINE.rst
@@ -0,0 +1,7 @@
+CMAKE_CURRENT_LIST_LINE
+-----------------------
+
+The line number of the current file being processed.
+
+This is the line number of the file currently being processed by
+cmake.
diff --git a/Help/variable/CMAKE_CURRENT_SOURCE_DIR.rst b/Help/variable/CMAKE_CURRENT_SOURCE_DIR.rst
new file mode 100644
index 0000000..db063a4
--- /dev/null
+++ b/Help/variable/CMAKE_CURRENT_SOURCE_DIR.rst
@@ -0,0 +1,7 @@
+CMAKE_CURRENT_SOURCE_DIR
+------------------------
+
+The path to the source directory currently being processed.
+
+This the full path to the source directory that is currently being
+processed by cmake.
diff --git a/Help/variable/CMAKE_DEBUG_POSTFIX.rst b/Help/variable/CMAKE_DEBUG_POSTFIX.rst
new file mode 100644
index 0000000..fde24b2
--- /dev/null
+++ b/Help/variable/CMAKE_DEBUG_POSTFIX.rst
@@ -0,0 +1,7 @@
+CMAKE_DEBUG_POSTFIX
+-------------------
+
+See variable CMAKE_<CONFIG>_POSTFIX.
+
+This variable is a special case of the more-general
+CMAKE_<CONFIG>_POSTFIX variable for the DEBUG configuration.
diff --git a/Help/variable/CMAKE_DEBUG_TARGET_PROPERTIES.rst b/Help/variable/CMAKE_DEBUG_TARGET_PROPERTIES.rst
new file mode 100644
index 0000000..11aed0c
--- /dev/null
+++ b/Help/variable/CMAKE_DEBUG_TARGET_PROPERTIES.rst
@@ -0,0 +1,13 @@
+CMAKE_DEBUG_TARGET_PROPERTIES
+-----------------------------
+
+Enables tracing output for target properties.
+
+This variable can be populated with a list of properties to generate
+debug output for when evaluating target properties. Currently it can
+only be used when evaluating the :prop_tgt:`INCLUDE_DIRECTORIES`,
+:prop_tgt:`COMPILE_DEFINITIONS`, :prop_tgt:`COMPILE_OPTIONS`, :prop_tgt:`AUTOUIC_OPTIONS`,
+:prop_tgt:`POSITION_INDEPENDENT_CODE` target properties and any other property
+listed in :prop_tgt:`COMPATIBLE_INTERFACE_STRING` and other ``COMPATIBLE_INTERFACE_``
+properties. It outputs an origin for each entry in the target property.
+Default is unset.
diff --git a/Help/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.rst b/Help/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.rst
new file mode 100644
index 0000000..bcb277c
--- /dev/null
+++ b/Help/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.rst
@@ -0,0 +1,15 @@
+CMAKE_DISABLE_FIND_PACKAGE_<PackageName>
+----------------------------------------
+
+Variable for disabling find_package() calls.
+
+Every non-REQUIRED find_package() call in a project can be disabled by
+setting the variable CMAKE_DISABLE_FIND_PACKAGE_<PackageName> to TRUE.
+This can be used to build a project without an optional package,
+although that package is installed.
+
+This switch should be used during the initial CMake run. Otherwise if
+the package has already been found in a previous CMake run, the
+variables which have been stored in the cache will still be there. In
+that case it is recommended to remove the cache variables for this
+package from the cache using the cache editor or cmake -U
diff --git a/Help/variable/CMAKE_DL_LIBS.rst b/Help/variable/CMAKE_DL_LIBS.rst
new file mode 100644
index 0000000..cae4565
--- /dev/null
+++ b/Help/variable/CMAKE_DL_LIBS.rst
@@ -0,0 +1,7 @@
+CMAKE_DL_LIBS
+-------------
+
+Name of library containing dlopen and dlcose.
+
+The name of the library that has dlopen and dlclose in it, usually
+-ldl on most UNIX machines.
diff --git a/Help/variable/CMAKE_EDIT_COMMAND.rst b/Help/variable/CMAKE_EDIT_COMMAND.rst
new file mode 100644
index 0000000..562aa0b
--- /dev/null
+++ b/Help/variable/CMAKE_EDIT_COMMAND.rst
@@ -0,0 +1,8 @@
+CMAKE_EDIT_COMMAND
+------------------
+
+Full path to cmake-gui or ccmake. Defined only for Makefile generators
+when not using an "extra" generator for an IDE.
+
+This is the full path to the CMake executable that can graphically
+edit the cache. For example, cmake-gui or ccmake.
diff --git a/Help/variable/CMAKE_ERROR_DEPRECATED.rst b/Help/variable/CMAKE_ERROR_DEPRECATED.rst
new file mode 100644
index 0000000..43ab282
--- /dev/null
+++ b/Help/variable/CMAKE_ERROR_DEPRECATED.rst
@@ -0,0 +1,8 @@
+CMAKE_ERROR_DEPRECATED
+----------------------
+
+Whether to issue deprecation errors for macros and functions.
+
+If TRUE, this can be used by macros and functions to issue fatal
+errors when deprecated macros or functions are used. This variable is
+FALSE by default.
diff --git a/Help/variable/CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION.rst b/Help/variable/CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION.rst
new file mode 100644
index 0000000..651d68d
--- /dev/null
+++ b/Help/variable/CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION.rst
@@ -0,0 +1,9 @@
+CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION
+-------------------------------------------
+
+Ask cmake_install.cmake script to error out as soon as a file with absolute INSTALL DESTINATION is encountered.
+
+The fatal error is emitted before the installation of the offending
+file takes place. This variable is used by CMake-generated
+cmake_install.cmake scripts. If one sets this variable to ON while
+running the script, it may get fatal error messages from the script.
diff --git a/Help/variable/CMAKE_EXECUTABLE_SUFFIX.rst b/Help/variable/CMAKE_EXECUTABLE_SUFFIX.rst
new file mode 100644
index 0000000..45c313c
--- /dev/null
+++ b/Help/variable/CMAKE_EXECUTABLE_SUFFIX.rst
@@ -0,0 +1,9 @@
+CMAKE_EXECUTABLE_SUFFIX
+-----------------------
+
+The suffix for executables on this platform.
+
+The suffix to use for the end of an executable filename if any, .exe
+on Windows.
+
+CMAKE_EXECUTABLE_SUFFIX_<LANG> overrides this for language <LANG>.
diff --git a/Help/variable/CMAKE_EXE_LINKER_FLAGS.rst b/Help/variable/CMAKE_EXE_LINKER_FLAGS.rst
new file mode 100644
index 0000000..9e108f8
--- /dev/null
+++ b/Help/variable/CMAKE_EXE_LINKER_FLAGS.rst
@@ -0,0 +1,6 @@
+CMAKE_EXE_LINKER_FLAGS
+----------------------
+
+Linker flags to be used to create executables.
+
+These flags will be used by the linker when creating an executable.
diff --git a/Help/variable/CMAKE_EXE_LINKER_FLAGS_CONFIG.rst b/Help/variable/CMAKE_EXE_LINKER_FLAGS_CONFIG.rst
new file mode 100644
index 0000000..dcaf300
--- /dev/null
+++ b/Help/variable/CMAKE_EXE_LINKER_FLAGS_CONFIG.rst
@@ -0,0 +1,7 @@
+CMAKE_EXE_LINKER_FLAGS_<CONFIG>
+-------------------------------
+
+Flags to be used when linking an executable.
+
+Same as CMAKE_C_FLAGS_* but used by the linker when creating
+executables.
diff --git a/Help/variable/CMAKE_EXTRA_GENERATOR.rst b/Help/variable/CMAKE_EXTRA_GENERATOR.rst
new file mode 100644
index 0000000..71aec92
--- /dev/null
+++ b/Help/variable/CMAKE_EXTRA_GENERATOR.rst
@@ -0,0 +1,9 @@
+CMAKE_EXTRA_GENERATOR
+---------------------
+
+The extra generator used to build the project.
+
+When using the Eclipse, CodeBlocks or KDevelop generators, CMake
+generates Makefiles (CMAKE_GENERATOR) and additionally project files
+for the respective IDE. This IDE project file generator is stored in
+CMAKE_EXTRA_GENERATOR (e.g. "Eclipse CDT4").
diff --git a/Help/variable/CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES.rst b/Help/variable/CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES.rst
new file mode 100644
index 0000000..6187a7a
--- /dev/null
+++ b/Help/variable/CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES.rst
@@ -0,0 +1,9 @@
+CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES
+-----------------------------------
+
+Additional suffixes for shared libraries.
+
+Extensions for shared libraries other than that specified by
+CMAKE_SHARED_LIBRARY_SUFFIX, if any. CMake uses this to recognize
+external shared library files during analysis of libraries linked by a
+target.
diff --git a/Help/variable/CMAKE_FIND_LIBRARY_PREFIXES.rst b/Help/variable/CMAKE_FIND_LIBRARY_PREFIXES.rst
new file mode 100644
index 0000000..1a9e7ce
--- /dev/null
+++ b/Help/variable/CMAKE_FIND_LIBRARY_PREFIXES.rst
@@ -0,0 +1,9 @@
+CMAKE_FIND_LIBRARY_PREFIXES
+---------------------------
+
+Prefixes to prepend when looking for libraries.
+
+This specifies what prefixes to add to library names when the
+find_library command looks for libraries. On UNIX systems this is
+typically lib, meaning that when trying to find the foo library it
+will look for libfoo.
diff --git a/Help/variable/CMAKE_FIND_LIBRARY_SUFFIXES.rst b/Help/variable/CMAKE_FIND_LIBRARY_SUFFIXES.rst
new file mode 100644
index 0000000..c533909
--- /dev/null
+++ b/Help/variable/CMAKE_FIND_LIBRARY_SUFFIXES.rst
@@ -0,0 +1,9 @@
+CMAKE_FIND_LIBRARY_SUFFIXES
+---------------------------
+
+Suffixes to append when looking for libraries.
+
+This specifies what suffixes to add to library names when the
+find_library command looks for libraries. On Windows systems this is
+typically .lib and .dll, meaning that when trying to find the foo
+library it will look for foo.dll etc.
diff --git a/Help/variable/CMAKE_FIND_NO_INSTALL_PREFIX.rst b/Help/variable/CMAKE_FIND_NO_INSTALL_PREFIX.rst
new file mode 100644
index 0000000..70d920b
--- /dev/null
+++ b/Help/variable/CMAKE_FIND_NO_INSTALL_PREFIX.rst
@@ -0,0 +1,15 @@
+CMAKE_FIND_NO_INSTALL_PREFIX
+----------------------------
+
+Ignore the :variable:`CMAKE_INSTALL_PREFIX` when searching for assets.
+
+CMake adds the :variable:`CMAKE_INSTALL_PREFIX` and the
+:variable:`CMAKE_STAGING_PREFIX` variable to the
+:variable:`CMAKE_SYSTEM_PREFIX_PATH` by default. This variable may be set
+on the command line to control that behavior.
+
+Set :variable:`CMAKE_FIND_NO_INSTALL_PREFIX` to TRUE to tell find_package not
+to search in the :variable:`CMAKE_INSTALL_PREFIX` or
+:variable:`CMAKE_STAGING_PREFIX` by default. Note that the
+prefix may still be searched for other reasons, such as being the same prefix
+as the CMake installation, or for being a built-in system prefix.
diff --git a/Help/variable/CMAKE_FIND_PACKAGE_WARN_NO_MODULE.rst b/Help/variable/CMAKE_FIND_PACKAGE_WARN_NO_MODULE.rst
new file mode 100644
index 0000000..5d7599c
--- /dev/null
+++ b/Help/variable/CMAKE_FIND_PACKAGE_WARN_NO_MODULE.rst
@@ -0,0 +1,19 @@
+CMAKE_FIND_PACKAGE_WARN_NO_MODULE
+---------------------------------
+
+Tell find_package to warn if called without an explicit mode.
+
+If find_package is called without an explicit mode option (MODULE,
+CONFIG or NO_MODULE) and no Find<pkg>.cmake module is in
+CMAKE_MODULE_PATH then CMake implicitly assumes that the caller
+intends to search for a package configuration file. If no package
+configuration file is found then the wording of the failure message
+must account for both the case that the package is really missing and
+the case that the project has a bug and failed to provide the intended
+Find module. If instead the caller specifies an explicit mode option
+then the failure message can be more specific.
+
+Set CMAKE_FIND_PACKAGE_WARN_NO_MODULE to TRUE to tell find_package to
+warn when it implicitly assumes Config mode. This helps developers
+enforce use of an explicit mode in all calls to find_package within a
+project.
diff --git a/Help/variable/CMAKE_FIND_ROOT_PATH.rst b/Help/variable/CMAKE_FIND_ROOT_PATH.rst
new file mode 100644
index 0000000..67948f7
--- /dev/null
+++ b/Help/variable/CMAKE_FIND_ROOT_PATH.rst
@@ -0,0 +1,8 @@
+CMAKE_FIND_ROOT_PATH
+--------------------
+
+List of root paths to search on the filesystem.
+
+This variable is most useful when cross-compiling. CMake uses the paths in
+this list as alternative roots to find filesystem items with :command:`find_package`,
+:command:`find_library` etc.
diff --git a/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_INCLUDE.rst b/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_INCLUDE.rst
new file mode 100644
index 0000000..df1af5a
--- /dev/null
+++ b/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_INCLUDE.rst
@@ -0,0 +1,6 @@
+CMAKE_FIND_ROOT_PATH_MODE_INCLUDE
+---------------------------------
+
+.. |FIND_XXX| replace:: :command:`find_file` and :command:`find_path`
+
+.. include:: CMAKE_FIND_ROOT_PATH_MODE_XXX.txt
diff --git a/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_LIBRARY.rst b/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_LIBRARY.rst
new file mode 100644
index 0000000..52ab89d
--- /dev/null
+++ b/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_LIBRARY.rst
@@ -0,0 +1,6 @@
+CMAKE_FIND_ROOT_PATH_MODE_LIBRARY
+---------------------------------
+
+.. |FIND_XXX| replace:: :command:`find_library`
+
+.. include:: CMAKE_FIND_ROOT_PATH_MODE_XXX.txt
diff --git a/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_PACKAGE.rst b/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_PACKAGE.rst
new file mode 100644
index 0000000..3872947
--- /dev/null
+++ b/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_PACKAGE.rst
@@ -0,0 +1,6 @@
+CMAKE_FIND_ROOT_PATH_MODE_PACKAGE
+---------------------------------
+
+.. |FIND_XXX| replace:: :command:`find_package`
+
+.. include:: CMAKE_FIND_ROOT_PATH_MODE_XXX.txt
diff --git a/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_PROGRAM.rst b/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_PROGRAM.rst
new file mode 100644
index 0000000..d24a78a
--- /dev/null
+++ b/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_PROGRAM.rst
@@ -0,0 +1,6 @@
+CMAKE_FIND_ROOT_PATH_MODE_PROGRAM
+---------------------------------
+
+.. |FIND_XXX| replace:: :command:`find_program`
+
+.. include:: CMAKE_FIND_ROOT_PATH_MODE_XXX.txt
diff --git a/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_XXX.txt b/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_XXX.txt
new file mode 100644
index 0000000..ab65e09
--- /dev/null
+++ b/Help/variable/CMAKE_FIND_ROOT_PATH_MODE_XXX.txt
@@ -0,0 +1,8 @@
+This variable controls whether the :variable:`CMAKE_FIND_ROOT_PATH` and
+:variable:`CMAKE_SYSROOT` are used by |FIND_XXX|.
+
+If set to ``ONLY``, then only the roots in :variable:`CMAKE_FIND_ROOT_PATH`
+will be searched. If set to ``NEVER``, then the roots in
+:variable:`CMAKE_FIND_ROOT_PATH` will be ignored and only the host system
+root will be used. If set to ``BOTH``, then the host system paths and the
+paths in :variable:`CMAKE_FIND_ROOT_PATH` will be searched.
diff --git a/Help/variable/CMAKE_FRAMEWORK_PATH.rst b/Help/variable/CMAKE_FRAMEWORK_PATH.rst
new file mode 100644
index 0000000..f1bc75e
--- /dev/null
+++ b/Help/variable/CMAKE_FRAMEWORK_PATH.rst
@@ -0,0 +1,6 @@
+CMAKE_FRAMEWORK_PATH
+--------------------
+
+Search path for OS X frameworks used by the :command:`find_library`,
+:command:`find_package`, :command:`find_path`, and :command:`find_file`
+commands.
diff --git a/Help/variable/CMAKE_Fortran_FORMAT.rst b/Help/variable/CMAKE_Fortran_FORMAT.rst
new file mode 100644
index 0000000..c0e971c
--- /dev/null
+++ b/Help/variable/CMAKE_Fortran_FORMAT.rst
@@ -0,0 +1,7 @@
+CMAKE_Fortran_FORMAT
+--------------------
+
+Set to FIXED or FREE to indicate the Fortran source layout.
+
+This variable is used to initialize the Fortran_FORMAT property on all
+the targets. See that target property for additional information.
diff --git a/Help/variable/CMAKE_Fortran_MODDIR_DEFAULT.rst b/Help/variable/CMAKE_Fortran_MODDIR_DEFAULT.rst
new file mode 100644
index 0000000..a8dfcdf
--- /dev/null
+++ b/Help/variable/CMAKE_Fortran_MODDIR_DEFAULT.rst
@@ -0,0 +1,8 @@
+CMAKE_Fortran_MODDIR_DEFAULT
+----------------------------
+
+Fortran default module output directory.
+
+Most Fortran compilers write .mod files to the current working
+directory. For those that do not, this is set to "." and used when
+the Fortran_MODULE_DIRECTORY target property is not set.
diff --git a/Help/variable/CMAKE_Fortran_MODDIR_FLAG.rst b/Help/variable/CMAKE_Fortran_MODDIR_FLAG.rst
new file mode 100644
index 0000000..4b32df3
--- /dev/null
+++ b/Help/variable/CMAKE_Fortran_MODDIR_FLAG.rst
@@ -0,0 +1,7 @@
+CMAKE_Fortran_MODDIR_FLAG
+-------------------------
+
+Fortran flag for module output directory.
+
+This stores the flag needed to pass the value of the
+Fortran_MODULE_DIRECTORY target property to the compiler.
diff --git a/Help/variable/CMAKE_Fortran_MODOUT_FLAG.rst b/Help/variable/CMAKE_Fortran_MODOUT_FLAG.rst
new file mode 100644
index 0000000..a232213
--- /dev/null
+++ b/Help/variable/CMAKE_Fortran_MODOUT_FLAG.rst
@@ -0,0 +1,7 @@
+CMAKE_Fortran_MODOUT_FLAG
+-------------------------
+
+Fortran flag to enable module output.
+
+Most Fortran compilers write .mod files out by default. For others,
+this stores the flag needed to enable module output.
diff --git a/Help/variable/CMAKE_Fortran_MODULE_DIRECTORY.rst b/Help/variable/CMAKE_Fortran_MODULE_DIRECTORY.rst
new file mode 100644
index 0000000..b1d49d8
--- /dev/null
+++ b/Help/variable/CMAKE_Fortran_MODULE_DIRECTORY.rst
@@ -0,0 +1,8 @@
+CMAKE_Fortran_MODULE_DIRECTORY
+------------------------------
+
+Fortran module output directory.
+
+This variable is used to initialize the Fortran_MODULE_DIRECTORY
+property on all the targets. See that target property for additional
+information.
diff --git a/Help/variable/CMAKE_GENERATOR.rst b/Help/variable/CMAKE_GENERATOR.rst
new file mode 100644
index 0000000..a4e70a5
--- /dev/null
+++ b/Help/variable/CMAKE_GENERATOR.rst
@@ -0,0 +1,7 @@
+CMAKE_GENERATOR
+---------------
+
+The generator used to build the project.
+
+The name of the generator that is being used to generate the build
+files. (e.g. "Unix Makefiles", "Visual Studio 6", etc.)
diff --git a/Help/variable/CMAKE_GENERATOR_TOOLSET.rst b/Help/variable/CMAKE_GENERATOR_TOOLSET.rst
new file mode 100644
index 0000000..4540eaa
--- /dev/null
+++ b/Help/variable/CMAKE_GENERATOR_TOOLSET.rst
@@ -0,0 +1,9 @@
+CMAKE_GENERATOR_TOOLSET
+-----------------------
+
+Native build system toolset name specified by user.
+
+Some CMake generators support a toolset name to be given to the native
+build system to choose a compiler. If the user specifies a toolset
+name (e.g. via the cmake -T option) the value will be available in
+this variable.
diff --git a/Help/variable/CMAKE_GNUtoMS.rst b/Help/variable/CMAKE_GNUtoMS.rst
new file mode 100644
index 0000000..e253f59
--- /dev/null
+++ b/Help/variable/CMAKE_GNUtoMS.rst
@@ -0,0 +1,8 @@
+CMAKE_GNUtoMS
+-------------
+
+Convert GNU import libraries (.dll.a) to MS format (.lib).
+
+This variable is used to initialize the GNUtoMS property on targets
+when they are created. See that target property for additional
+information.
diff --git a/Help/variable/CMAKE_HOME_DIRECTORY.rst b/Help/variable/CMAKE_HOME_DIRECTORY.rst
new file mode 100644
index 0000000..fdc5d81
--- /dev/null
+++ b/Help/variable/CMAKE_HOME_DIRECTORY.rst
@@ -0,0 +1,6 @@
+CMAKE_HOME_DIRECTORY
+--------------------
+
+Path to top of source tree.
+
+This is the path to the top level of the source tree.
diff --git a/Help/variable/CMAKE_HOST_APPLE.rst b/Help/variable/CMAKE_HOST_APPLE.rst
new file mode 100644
index 0000000..d4b8483
--- /dev/null
+++ b/Help/variable/CMAKE_HOST_APPLE.rst
@@ -0,0 +1,6 @@
+CMAKE_HOST_APPLE
+----------------
+
+True for Apple OS X operating systems.
+
+Set to true when the host system is Apple OS X.
diff --git a/Help/variable/CMAKE_HOST_SYSTEM.rst b/Help/variable/CMAKE_HOST_SYSTEM.rst
new file mode 100644
index 0000000..4366ee3
--- /dev/null
+++ b/Help/variable/CMAKE_HOST_SYSTEM.rst
@@ -0,0 +1,7 @@
+CMAKE_HOST_SYSTEM
+-----------------
+
+Name of system cmake is being run on.
+
+The same as CMAKE_SYSTEM but for the host system instead of the target
+system when cross compiling.
diff --git a/Help/variable/CMAKE_HOST_SYSTEM_NAME.rst b/Help/variable/CMAKE_HOST_SYSTEM_NAME.rst
new file mode 100644
index 0000000..718208a
--- /dev/null
+++ b/Help/variable/CMAKE_HOST_SYSTEM_NAME.rst
@@ -0,0 +1,7 @@
+CMAKE_HOST_SYSTEM_NAME
+----------------------
+
+Name of the OS CMake is running on.
+
+The same as CMAKE_SYSTEM_NAME but for the host system instead of the
+target system when cross compiling.
diff --git a/Help/variable/CMAKE_HOST_SYSTEM_PROCESSOR.rst b/Help/variable/CMAKE_HOST_SYSTEM_PROCESSOR.rst
new file mode 100644
index 0000000..2700b66
--- /dev/null
+++ b/Help/variable/CMAKE_HOST_SYSTEM_PROCESSOR.rst
@@ -0,0 +1,7 @@
+CMAKE_HOST_SYSTEM_PROCESSOR
+---------------------------
+
+The name of the CPU CMake is running on.
+
+The same as CMAKE_SYSTEM_PROCESSOR but for the host system instead of
+the target system when cross compiling.
diff --git a/Help/variable/CMAKE_HOST_SYSTEM_VERSION.rst b/Help/variable/CMAKE_HOST_SYSTEM_VERSION.rst
new file mode 100644
index 0000000..a8451e8
--- /dev/null
+++ b/Help/variable/CMAKE_HOST_SYSTEM_VERSION.rst
@@ -0,0 +1,7 @@
+CMAKE_HOST_SYSTEM_VERSION
+-------------------------
+
+OS version CMake is running on.
+
+The same as CMAKE_SYSTEM_VERSION but for the host system instead of
+the target system when cross compiling.
diff --git a/Help/variable/CMAKE_HOST_UNIX.rst b/Help/variable/CMAKE_HOST_UNIX.rst
new file mode 100644
index 0000000..bbefba7
--- /dev/null
+++ b/Help/variable/CMAKE_HOST_UNIX.rst
@@ -0,0 +1,7 @@
+CMAKE_HOST_UNIX
+---------------
+
+True for UNIX and UNIX like operating systems.
+
+Set to true when the host system is UNIX or UNIX like (i.e. APPLE and
+CYGWIN).
diff --git a/Help/variable/CMAKE_HOST_WIN32.rst b/Help/variable/CMAKE_HOST_WIN32.rst
new file mode 100644
index 0000000..92ee456
--- /dev/null
+++ b/Help/variable/CMAKE_HOST_WIN32.rst
@@ -0,0 +1,6 @@
+CMAKE_HOST_WIN32
+----------------
+
+True on windows systems, including win64.
+
+Set to true when the host system is Windows and on Cygwin.
diff --git a/Help/variable/CMAKE_IGNORE_PATH.rst b/Help/variable/CMAKE_IGNORE_PATH.rst
new file mode 100644
index 0000000..a818f74
--- /dev/null
+++ b/Help/variable/CMAKE_IGNORE_PATH.rst
@@ -0,0 +1,17 @@
+CMAKE_IGNORE_PATH
+-----------------
+
+Path to be ignored by FIND_XXX() commands.
+
+Specifies directories to be ignored by searches in FIND_XXX()
+commands. This is useful in cross-compiled environments where some
+system directories contain incompatible but possibly linkable
+libraries. For example, on cross-compiled cluster environments, this
+allows a user to ignore directories containing libraries meant for the
+front-end machine that modules like FindX11 (and others) would
+normally search. By default this is empty; it is intended to be set
+by the project. Note that CMAKE_IGNORE_PATH takes a list of directory
+names, NOT a list of prefixes. If you want to ignore paths under
+prefixes (bin, include, lib, etc.), you'll need to specify them
+explicitly. See also CMAKE_PREFIX_PATH, CMAKE_LIBRARY_PATH,
+CMAKE_INCLUDE_PATH, CMAKE_PROGRAM_PATH.
diff --git a/Help/variable/CMAKE_IMPORT_LIBRARY_PREFIX.rst b/Help/variable/CMAKE_IMPORT_LIBRARY_PREFIX.rst
new file mode 100644
index 0000000..1d16a37
--- /dev/null
+++ b/Help/variable/CMAKE_IMPORT_LIBRARY_PREFIX.rst
@@ -0,0 +1,9 @@
+CMAKE_IMPORT_LIBRARY_PREFIX
+---------------------------
+
+The prefix for import libraries that you link to.
+
+The prefix to use for the name of an import library if used on this
+platform.
+
+CMAKE_IMPORT_LIBRARY_PREFIX_<LANG> overrides this for language <LANG>.
diff --git a/Help/variable/CMAKE_IMPORT_LIBRARY_SUFFIX.rst b/Help/variable/CMAKE_IMPORT_LIBRARY_SUFFIX.rst
new file mode 100644
index 0000000..c16825e
--- /dev/null
+++ b/Help/variable/CMAKE_IMPORT_LIBRARY_SUFFIX.rst
@@ -0,0 +1,9 @@
+CMAKE_IMPORT_LIBRARY_SUFFIX
+---------------------------
+
+The suffix for import libraries that you link to.
+
+The suffix to use for the end of an import library filename if used on
+this platform.
+
+CMAKE_IMPORT_LIBRARY_SUFFIX_<LANG> overrides this for language <LANG>.
diff --git a/Help/variable/CMAKE_INCLUDE_CURRENT_DIR.rst b/Help/variable/CMAKE_INCLUDE_CURRENT_DIR.rst
new file mode 100644
index 0000000..79f3952
--- /dev/null
+++ b/Help/variable/CMAKE_INCLUDE_CURRENT_DIR.rst
@@ -0,0 +1,13 @@
+CMAKE_INCLUDE_CURRENT_DIR
+-------------------------
+
+Automatically add the current source- and build directories to the include path.
+
+If this variable is enabled, CMake automatically adds in each
+directory ${CMAKE_CURRENT_SOURCE_DIR} and ${CMAKE_CURRENT_BINARY_DIR}
+to the include path for this directory. These additional include
+directories do not propagate down to subdirectories. This is useful
+mainly for out-of-source builds, where files generated into the build
+tree are included by files located in the source tree.
+
+By default CMAKE_INCLUDE_CURRENT_DIR is OFF.
diff --git a/Help/variable/CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE.rst b/Help/variable/CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE.rst
new file mode 100644
index 0000000..948db50
--- /dev/null
+++ b/Help/variable/CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE.rst
@@ -0,0 +1,10 @@
+CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE
+--------------------------------------
+
+Automatically add the current source- and build directories to the INTERFACE_INCLUDE_DIRECTORIES.
+
+If this variable is enabled, CMake automatically adds for each shared
+library target, static library target, module target and executable
+target, ${CMAKE_CURRENT_SOURCE_DIR} and ${CMAKE_CURRENT_BINARY_DIR} to
+the INTERFACE_INCLUDE_DIRECTORIES.By default
+CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE is OFF.
diff --git a/Help/variable/CMAKE_INCLUDE_DIRECTORIES_BEFORE.rst b/Help/variable/CMAKE_INCLUDE_DIRECTORIES_BEFORE.rst
new file mode 100644
index 0000000..3c1fbcf
--- /dev/null
+++ b/Help/variable/CMAKE_INCLUDE_DIRECTORIES_BEFORE.rst
@@ -0,0 +1,8 @@
+CMAKE_INCLUDE_DIRECTORIES_BEFORE
+--------------------------------
+
+Whether to append or prepend directories by default in :command:`include_directories`.
+
+This variable affects the default behavior of the :command:`include_directories`
+command. Setting this variable to 'ON' is equivalent to using the BEFORE option
+in all uses of that command.
diff --git a/Help/variable/CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE.rst b/Help/variable/CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE.rst
new file mode 100644
index 0000000..cbd04d7
--- /dev/null
+++ b/Help/variable/CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE.rst
@@ -0,0 +1,8 @@
+CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE
+----------------------------------------
+
+Whether to force prepending of project include directories.
+
+This variable affects the order of include directories generated in compiler
+command lines. If set to 'ON', it causes the :variable:`CMAKE_SOURCE_DIR` and
+the :variable:`CMAKE_BINARY_DIR` to appear first.
diff --git a/Help/variable/CMAKE_INCLUDE_PATH.rst b/Help/variable/CMAKE_INCLUDE_PATH.rst
new file mode 100644
index 0000000..360b403
--- /dev/null
+++ b/Help/variable/CMAKE_INCLUDE_PATH.rst
@@ -0,0 +1,10 @@
+CMAKE_INCLUDE_PATH
+------------------
+
+Path used for searching by FIND_FILE() and FIND_PATH().
+
+Specifies a path which will be used both by FIND_FILE() and
+FIND_PATH(). Both commands will check each of the contained
+directories for the existence of the file which is currently searched.
+By default it is empty, it is intended to be set by the project. See
+also CMAKE_SYSTEM_INCLUDE_PATH, CMAKE_PREFIX_PATH.
diff --git a/Help/variable/CMAKE_INSTALL_DEFAULT_COMPONENT_NAME.rst b/Help/variable/CMAKE_INSTALL_DEFAULT_COMPONENT_NAME.rst
new file mode 100644
index 0000000..2ad0689
--- /dev/null
+++ b/Help/variable/CMAKE_INSTALL_DEFAULT_COMPONENT_NAME.rst
@@ -0,0 +1,9 @@
+CMAKE_INSTALL_DEFAULT_COMPONENT_NAME
+------------------------------------
+
+Default component used in install() commands.
+
+If an install() command is used without the COMPONENT argument, these
+files will be grouped into a default component. The name of this
+default install component will be taken from this variable. It
+defaults to "Unspecified".
diff --git a/Help/variable/CMAKE_INSTALL_NAME_DIR.rst b/Help/variable/CMAKE_INSTALL_NAME_DIR.rst
new file mode 100644
index 0000000..540df6b
--- /dev/null
+++ b/Help/variable/CMAKE_INSTALL_NAME_DIR.rst
@@ -0,0 +1,8 @@
+CMAKE_INSTALL_NAME_DIR
+----------------------
+
+Mac OS X directory name for installed targets.
+
+CMAKE_INSTALL_NAME_DIR is used to initialize the INSTALL_NAME_DIR
+property on all targets. See that target property for more
+information.
diff --git a/Help/variable/CMAKE_INSTALL_PREFIX.rst b/Help/variable/CMAKE_INSTALL_PREFIX.rst
new file mode 100644
index 0000000..72c8d41
--- /dev/null
+++ b/Help/variable/CMAKE_INSTALL_PREFIX.rst
@@ -0,0 +1,29 @@
+CMAKE_INSTALL_PREFIX
+--------------------
+
+Install directory used by install.
+
+If "make install" is invoked or INSTALL is built, this directory is
+prepended onto all install directories. This variable defaults to
+/usr/local on UNIX and c:/Program Files on Windows.
+
+On UNIX one can use the DESTDIR mechanism in order to relocate the
+whole installation. DESTDIR means DESTination DIRectory. It is
+commonly used by makefile users in order to install software at
+non-default location. It is usually invoked like this:
+
+::
+
+ make DESTDIR=/home/john install
+
+which will install the concerned software using the installation
+prefix, e.g. "/usr/local" prepended with the DESTDIR value which
+finally gives "/home/john/usr/local".
+
+WARNING: DESTDIR may not be used on Windows because installation
+prefix usually contains a drive letter like in "C:/Program Files"
+which cannot be prepended with some other prefix.
+
+The installation prefix is also added to CMAKE_SYSTEM_PREFIX_PATH so
+that find_package, find_program, find_library, find_path, and
+find_file will search the prefix for other software.
diff --git a/Help/variable/CMAKE_INSTALL_RPATH.rst b/Help/variable/CMAKE_INSTALL_RPATH.rst
new file mode 100644
index 0000000..0992d57
--- /dev/null
+++ b/Help/variable/CMAKE_INSTALL_RPATH.rst
@@ -0,0 +1,8 @@
+CMAKE_INSTALL_RPATH
+-------------------
+
+The rpath to use for installed targets.
+
+A semicolon-separated list specifying the rpath to use in installed
+targets (for platforms that support it). This is used to initialize
+the target property INSTALL_RPATH for all targets.
diff --git a/Help/variable/CMAKE_INSTALL_RPATH_USE_LINK_PATH.rst b/Help/variable/CMAKE_INSTALL_RPATH_USE_LINK_PATH.rst
new file mode 100644
index 0000000..9277a3b
--- /dev/null
+++ b/Help/variable/CMAKE_INSTALL_RPATH_USE_LINK_PATH.rst
@@ -0,0 +1,9 @@
+CMAKE_INSTALL_RPATH_USE_LINK_PATH
+---------------------------------
+
+Add paths to linker search and installed rpath.
+
+CMAKE_INSTALL_RPATH_USE_LINK_PATH is a boolean that if set to true
+will append directories in the linker search path and outside the
+project to the INSTALL_RPATH. This is used to initialize the target
+property INSTALL_RPATH_USE_LINK_PATH for all targets.
diff --git a/Help/variable/CMAKE_INTERNAL_PLATFORM_ABI.rst b/Help/variable/CMAKE_INTERNAL_PLATFORM_ABI.rst
new file mode 100644
index 0000000..9693bf6
--- /dev/null
+++ b/Help/variable/CMAKE_INTERNAL_PLATFORM_ABI.rst
@@ -0,0 +1,6 @@
+CMAKE_INTERNAL_PLATFORM_ABI
+---------------------------
+
+An internal variable subject to change.
+
+This is used in determining the compiler ABI and is subject to change.
diff --git a/Help/variable/CMAKE_JOB_POOL_COMPILE.rst b/Help/variable/CMAKE_JOB_POOL_COMPILE.rst
new file mode 100644
index 0000000..e5c2d9a
--- /dev/null
+++ b/Help/variable/CMAKE_JOB_POOL_COMPILE.rst
@@ -0,0 +1,6 @@
+CMAKE_JOB_POOL_COMPILE
+----------------------
+
+This variable is used to initialize the :prop_tgt:`JOB_POOL_COMPILE`
+property on all the targets. See :prop_tgt:`JOB_POOL_COMPILE`
+for additional information.
diff --git a/Help/variable/CMAKE_JOB_POOL_LINK.rst b/Help/variable/CMAKE_JOB_POOL_LINK.rst
new file mode 100644
index 0000000..338f771
--- /dev/null
+++ b/Help/variable/CMAKE_JOB_POOL_LINK.rst
@@ -0,0 +1,6 @@
+CMAKE_JOB_POOL_LINK
+----------------------
+
+This variable is used to initialize the :prop_tgt:`JOB_POOL_LINK`
+property on all the targets. See :prop_tgt:`JOB_POOL_LINK`
+for additional information.
diff --git a/Help/variable/CMAKE_LANG_ARCHIVE_APPEND.rst b/Help/variable/CMAKE_LANG_ARCHIVE_APPEND.rst
new file mode 100644
index 0000000..2c3abae
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_ARCHIVE_APPEND.rst
@@ -0,0 +1,9 @@
+CMAKE_<LANG>_ARCHIVE_APPEND
+---------------------------
+
+Rule variable to append to a static archive.
+
+This is a rule variable that tells CMake how to append to a static
+archive. It is used in place of CMAKE_<LANG>_CREATE_STATIC_LIBRARY on
+some platforms in order to support large object counts. See also
+CMAKE_<LANG>_ARCHIVE_CREATE and CMAKE_<LANG>_ARCHIVE_FINISH.
diff --git a/Help/variable/CMAKE_LANG_ARCHIVE_CREATE.rst b/Help/variable/CMAKE_LANG_ARCHIVE_CREATE.rst
new file mode 100644
index 0000000..f93dd11
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_ARCHIVE_CREATE.rst
@@ -0,0 +1,9 @@
+CMAKE_<LANG>_ARCHIVE_CREATE
+---------------------------
+
+Rule variable to create a new static archive.
+
+This is a rule variable that tells CMake how to create a static
+archive. It is used in place of CMAKE_<LANG>_CREATE_STATIC_LIBRARY on
+some platforms in order to support large object counts. See also
+CMAKE_<LANG>_ARCHIVE_APPEND and CMAKE_<LANG>_ARCHIVE_FINISH.
diff --git a/Help/variable/CMAKE_LANG_ARCHIVE_FINISH.rst b/Help/variable/CMAKE_LANG_ARCHIVE_FINISH.rst
new file mode 100644
index 0000000..fff4128
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_ARCHIVE_FINISH.rst
@@ -0,0 +1,9 @@
+CMAKE_<LANG>_ARCHIVE_FINISH
+---------------------------
+
+Rule variable to finish an existing static archive.
+
+This is a rule variable that tells CMake how to finish a static
+archive. It is used in place of CMAKE_<LANG>_CREATE_STATIC_LIBRARY on
+some platforms in order to support large object counts. See also
+CMAKE_<LANG>_ARCHIVE_CREATE and CMAKE_<LANG>_ARCHIVE_APPEND.
diff --git a/Help/variable/CMAKE_LANG_COMPILER.rst b/Help/variable/CMAKE_LANG_COMPILER.rst
new file mode 100644
index 0000000..fffc347
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_COMPILER.rst
@@ -0,0 +1,7 @@
+CMAKE_<LANG>_COMPILER
+---------------------
+
+The full path to the compiler for LANG.
+
+This is the command that will be used as the <LANG> compiler. Once
+set, you can not change this variable.
diff --git a/Help/variable/CMAKE_LANG_COMPILER_ABI.rst b/Help/variable/CMAKE_LANG_COMPILER_ABI.rst
new file mode 100644
index 0000000..be946c0
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_COMPILER_ABI.rst
@@ -0,0 +1,6 @@
+CMAKE_<LANG>_COMPILER_ABI
+-------------------------
+
+An internal variable subject to change.
+
+This is used in determining the compiler ABI and is subject to change.
diff --git a/Help/variable/CMAKE_LANG_COMPILER_EXTERNAL_TOOLCHAIN.rst b/Help/variable/CMAKE_LANG_COMPILER_EXTERNAL_TOOLCHAIN.rst
new file mode 100644
index 0000000..033998d
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_COMPILER_EXTERNAL_TOOLCHAIN.rst
@@ -0,0 +1,13 @@
+CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN
+----------------------------------------
+
+The external toolchain for cross-compiling, if supported.
+
+Some compiler toolchains do not ship their own auxilliary utilities such as
+archivers and linkers. The compiler driver may support a command-line argument
+to specify the location of such tools. CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN
+may be set to a path to a path to the external toolchain and will be passed
+to the compiler driver if supported.
+
+This variable may only be set in a toolchain file specified by
+the :variable:`CMAKE_TOOLCHAIN_FILE` variable.
diff --git a/Help/variable/CMAKE_LANG_COMPILER_ID.rst b/Help/variable/CMAKE_LANG_COMPILER_ID.rst
new file mode 100644
index 0000000..cf9c386
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_COMPILER_ID.rst
@@ -0,0 +1,33 @@
+CMAKE_<LANG>_COMPILER_ID
+------------------------
+
+Compiler identification string.
+
+A short string unique to the compiler vendor. Possible values
+include:
+
+::
+
+ Absoft = Absoft Fortran (absoft.com)
+ ADSP = Analog VisualDSP++ (analog.com)
+ AppleClang = Apple Clang (apple.com)
+ Clang = LLVM Clang (clang.llvm.org)
+ Cray = Cray Compiler (cray.com)
+ Embarcadero, Borland = Embarcadero (embarcadero.com)
+ G95 = G95 Fortran (g95.org)
+ GNU = GNU Compiler Collection (gcc.gnu.org)
+ HP = Hewlett-Packard Compiler (hp.com)
+ Intel = Intel Compiler (intel.com)
+ MIPSpro = SGI MIPSpro (sgi.com)
+ MSVC = Microsoft Visual Studio (microsoft.com)
+ PGI = The Portland Group (pgroup.com)
+ PathScale = PathScale (pathscale.com)
+ SDCC = Small Device C Compiler (sdcc.sourceforge.net)
+ SunPro = Oracle Solaris Studio (oracle.com)
+ TI = Texas Instruments (ti.com)
+ TinyCC = Tiny C Compiler (tinycc.org)
+ Watcom = Open Watcom (openwatcom.org)
+ XL, VisualAge, zOS = IBM XL (ibm.com)
+
+This variable is not guaranteed to be defined for all compilers or
+languages.
diff --git a/Help/variable/CMAKE_LANG_COMPILER_LOADED.rst b/Help/variable/CMAKE_LANG_COMPILER_LOADED.rst
new file mode 100644
index 0000000..3b8e9aa
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_COMPILER_LOADED.rst
@@ -0,0 +1,7 @@
+CMAKE_<LANG>_COMPILER_LOADED
+----------------------------
+
+Defined to true if the language is enabled.
+
+When language <LANG> is enabled by project() or enable_language() this
+variable is defined to 1.
diff --git a/Help/variable/CMAKE_LANG_COMPILER_TARGET.rst b/Help/variable/CMAKE_LANG_COMPILER_TARGET.rst
new file mode 100644
index 0000000..656c57d
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_COMPILER_TARGET.rst
@@ -0,0 +1,11 @@
+CMAKE_<LANG>_COMPILER_TARGET
+----------------------------
+
+The target for cross-compiling, if supported.
+
+Some compiler drivers are inherently cross-compilers, such as clang and
+QNX qcc. These compiler drivers support a command-line argument to specify
+the target to cross-compile for.
+
+This variable may only be set in a toolchain file specified by
+the :variable:`CMAKE_TOOLCHAIN_FILE` variable.
diff --git a/Help/variable/CMAKE_LANG_COMPILER_VERSION.rst b/Help/variable/CMAKE_LANG_COMPILER_VERSION.rst
new file mode 100644
index 0000000..50e77eb
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_COMPILER_VERSION.rst
@@ -0,0 +1,8 @@
+CMAKE_<LANG>_COMPILER_VERSION
+-----------------------------
+
+Compiler version string.
+
+Compiler version in major[.minor[.patch[.tweak]]] format. This
+variable is not guaranteed to be defined for all compilers or
+languages.
diff --git a/Help/variable/CMAKE_LANG_COMPILE_OBJECT.rst b/Help/variable/CMAKE_LANG_COMPILE_OBJECT.rst
new file mode 100644
index 0000000..f43ed6d
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_COMPILE_OBJECT.rst
@@ -0,0 +1,7 @@
+CMAKE_<LANG>_COMPILE_OBJECT
+---------------------------
+
+Rule variable to compile a single object file.
+
+This is a rule variable that tells CMake how to compile a single
+object file for the language <LANG>.
diff --git a/Help/variable/CMAKE_LANG_CREATE_SHARED_LIBRARY.rst b/Help/variable/CMAKE_LANG_CREATE_SHARED_LIBRARY.rst
new file mode 100644
index 0000000..adf1624
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_CREATE_SHARED_LIBRARY.rst
@@ -0,0 +1,7 @@
+CMAKE_<LANG>_CREATE_SHARED_LIBRARY
+----------------------------------
+
+Rule variable to create a shared library.
+
+This is a rule variable that tells CMake how to create a shared
+library for the language <LANG>.
diff --git a/Help/variable/CMAKE_LANG_CREATE_SHARED_MODULE.rst b/Help/variable/CMAKE_LANG_CREATE_SHARED_MODULE.rst
new file mode 100644
index 0000000..406b4da
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_CREATE_SHARED_MODULE.rst
@@ -0,0 +1,7 @@
+CMAKE_<LANG>_CREATE_SHARED_MODULE
+---------------------------------
+
+Rule variable to create a shared module.
+
+This is a rule variable that tells CMake how to create a shared
+library for the language <LANG>.
diff --git a/Help/variable/CMAKE_LANG_CREATE_STATIC_LIBRARY.rst b/Help/variable/CMAKE_LANG_CREATE_STATIC_LIBRARY.rst
new file mode 100644
index 0000000..8114432
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_CREATE_STATIC_LIBRARY.rst
@@ -0,0 +1,7 @@
+CMAKE_<LANG>_CREATE_STATIC_LIBRARY
+----------------------------------
+
+Rule variable to create a static library.
+
+This is a rule variable that tells CMake how to create a static
+library for the language <LANG>.
diff --git a/Help/variable/CMAKE_LANG_FLAGS.rst b/Help/variable/CMAKE_LANG_FLAGS.rst
new file mode 100644
index 0000000..6aa0a3e
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_FLAGS.rst
@@ -0,0 +1,6 @@
+CMAKE_<LANG>_FLAGS
+------------------
+
+Flags for all build types.
+
+<LANG> flags used regardless of the value of CMAKE_BUILD_TYPE.
diff --git a/Help/variable/CMAKE_LANG_FLAGS_DEBUG.rst b/Help/variable/CMAKE_LANG_FLAGS_DEBUG.rst
new file mode 100644
index 0000000..a727641
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_FLAGS_DEBUG.rst
@@ -0,0 +1,6 @@
+CMAKE_<LANG>_FLAGS_DEBUG
+------------------------
+
+Flags for Debug build type or configuration.
+
+<LANG> flags used when CMAKE_BUILD_TYPE is Debug.
diff --git a/Help/variable/CMAKE_LANG_FLAGS_MINSIZEREL.rst b/Help/variable/CMAKE_LANG_FLAGS_MINSIZEREL.rst
new file mode 100644
index 0000000..fbb8516
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_FLAGS_MINSIZEREL.rst
@@ -0,0 +1,7 @@
+CMAKE_<LANG>_FLAGS_MINSIZEREL
+-----------------------------
+
+Flags for MinSizeRel build type or configuration.
+
+<LANG> flags used when CMAKE_BUILD_TYPE is MinSizeRel.Short for
+minimum size release.
diff --git a/Help/variable/CMAKE_LANG_FLAGS_RELEASE.rst b/Help/variable/CMAKE_LANG_FLAGS_RELEASE.rst
new file mode 100644
index 0000000..4b2c926
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_FLAGS_RELEASE.rst
@@ -0,0 +1,6 @@
+CMAKE_<LANG>_FLAGS_RELEASE
+--------------------------
+
+Flags for Release build type or configuration.
+
+<LANG> flags used when CMAKE_BUILD_TYPE is Release
diff --git a/Help/variable/CMAKE_LANG_FLAGS_RELWITHDEBINFO.rst b/Help/variable/CMAKE_LANG_FLAGS_RELWITHDEBINFO.rst
new file mode 100644
index 0000000..16bd4e9
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_FLAGS_RELWITHDEBINFO.rst
@@ -0,0 +1,7 @@
+CMAKE_<LANG>_FLAGS_RELWITHDEBINFO
+---------------------------------
+
+Flags for RelWithDebInfo type or configuration.
+
+<LANG> flags used when CMAKE_BUILD_TYPE is RelWithDebInfo. Short for
+Release With Debug Information.
diff --git a/Help/variable/CMAKE_LANG_IGNORE_EXTENSIONS.rst b/Help/variable/CMAKE_LANG_IGNORE_EXTENSIONS.rst
new file mode 100644
index 0000000..3d07e91
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_IGNORE_EXTENSIONS.rst
@@ -0,0 +1,7 @@
+CMAKE_<LANG>_IGNORE_EXTENSIONS
+------------------------------
+
+File extensions that should be ignored by the build.
+
+This is a list of file extensions that may be part of a project for a
+given language but are not compiled.
diff --git a/Help/variable/CMAKE_LANG_IMPLICIT_INCLUDE_DIRECTORIES.rst b/Help/variable/CMAKE_LANG_IMPLICIT_INCLUDE_DIRECTORIES.rst
new file mode 100644
index 0000000..c60e18c
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_IMPLICIT_INCLUDE_DIRECTORIES.rst
@@ -0,0 +1,9 @@
+CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES
+-----------------------------------------
+
+Directories implicitly searched by the compiler for header files.
+
+CMake does not explicitly specify these directories on compiler
+command lines for language <LANG>. This prevents system include
+directories from being treated as user include directories on some
+compilers.
diff --git a/Help/variable/CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES.rst b/Help/variable/CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES.rst
new file mode 100644
index 0000000..568950c
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES.rst
@@ -0,0 +1,17 @@
+CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES
+--------------------------------------
+
+Implicit linker search path detected for language <LANG>.
+
+Compilers typically pass directories containing language runtime
+libraries and default library search paths when they invoke a linker.
+These paths are implicit linker search directories for the compiler's
+language. CMake automatically detects these directories for each
+language and reports the results in this variable.
+
+When a library in one of these directories is given by full path to
+target_link_libraries() CMake will generate the -l<name> form on link
+lines to ensure the linker searches its implicit directories for the
+library. Note that some toolchains read implicit directories from an
+environment variable such as LIBRARY_PATH so keep its value consistent
+when operating in a given build tree.
diff --git a/Help/variable/CMAKE_LANG_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES.rst b/Help/variable/CMAKE_LANG_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES.rst
new file mode 100644
index 0000000..05e6ddb
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES.rst
@@ -0,0 +1,8 @@
+CMAKE_<LANG>_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES
+------------------------------------------------
+
+Implicit linker framework search path detected for language <LANG>.
+
+These paths are implicit linker framework search directories for the
+compiler's language. CMake automatically detects these directories
+for each language and reports the results in this variable.
diff --git a/Help/variable/CMAKE_LANG_IMPLICIT_LINK_LIBRARIES.rst b/Help/variable/CMAKE_LANG_IMPLICIT_LINK_LIBRARIES.rst
new file mode 100644
index 0000000..fddfed8
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_IMPLICIT_LINK_LIBRARIES.rst
@@ -0,0 +1,10 @@
+CMAKE_<LANG>_IMPLICIT_LINK_LIBRARIES
+------------------------------------
+
+Implicit link libraries and flags detected for language <LANG>.
+
+Compilers typically pass language runtime library names and other
+flags when they invoke a linker. These flags are implicit link
+options for the compiler's language. CMake automatically detects
+these libraries and flags for each language and reports the results in
+this variable.
diff --git a/Help/variable/CMAKE_LANG_LIBRARY_ARCHITECTURE.rst b/Help/variable/CMAKE_LANG_LIBRARY_ARCHITECTURE.rst
new file mode 100644
index 0000000..4f31494
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_LIBRARY_ARCHITECTURE.rst
@@ -0,0 +1,8 @@
+CMAKE_<LANG>_LIBRARY_ARCHITECTURE
+---------------------------------
+
+Target architecture library directory name detected for <lang>.
+
+If the <lang> compiler passes to the linker an architecture-specific
+system library search directory such as <prefix>/lib/<arch> this
+variable contains the <arch> name if/as detected by CMake.
diff --git a/Help/variable/CMAKE_LANG_LINKER_PREFERENCE.rst b/Help/variable/CMAKE_LANG_LINKER_PREFERENCE.rst
new file mode 100644
index 0000000..af7ee60
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_LINKER_PREFERENCE.rst
@@ -0,0 +1,11 @@
+CMAKE_<LANG>_LINKER_PREFERENCE
+------------------------------
+
+Preference value for linker language selection.
+
+The "linker language" for executable, shared library, and module
+targets is the language whose compiler will invoke the linker. The
+LINKER_LANGUAGE target property sets the language explicitly.
+Otherwise, the linker language is that whose linker preference value
+is highest among languages compiled and linked into the target. See
+also the CMAKE_<LANG>_LINKER_PREFERENCE_PROPAGATES variable.
diff --git a/Help/variable/CMAKE_LANG_LINKER_PREFERENCE_PROPAGATES.rst b/Help/variable/CMAKE_LANG_LINKER_PREFERENCE_PROPAGATES.rst
new file mode 100644
index 0000000..d513767
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_LINKER_PREFERENCE_PROPAGATES.rst
@@ -0,0 +1,9 @@
+CMAKE_<LANG>_LINKER_PREFERENCE_PROPAGATES
+-----------------------------------------
+
+True if CMAKE_<LANG>_LINKER_PREFERENCE propagates across targets.
+
+This is used when CMake selects a linker language for a target.
+Languages compiled directly into the target are always considered. A
+language compiled into static libraries linked by the target is
+considered if this variable is true.
diff --git a/Help/variable/CMAKE_LANG_LINK_EXECUTABLE.rst b/Help/variable/CMAKE_LANG_LINK_EXECUTABLE.rst
new file mode 100644
index 0000000..abd5891
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_LINK_EXECUTABLE.rst
@@ -0,0 +1,6 @@
+CMAKE_<LANG>_LINK_EXECUTABLE
+----------------------------
+
+Rule variable to link an executable.
+
+Rule variable to link an executable for the given language.
diff --git a/Help/variable/CMAKE_LANG_OUTPUT_EXTENSION.rst b/Help/variable/CMAKE_LANG_OUTPUT_EXTENSION.rst
new file mode 100644
index 0000000..22fac29
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_OUTPUT_EXTENSION.rst
@@ -0,0 +1,7 @@
+CMAKE_<LANG>_OUTPUT_EXTENSION
+-----------------------------
+
+Extension for the output of a compile for a single file.
+
+This is the extension for an object file for the given <LANG>. For
+example .obj for C on Windows.
diff --git a/Help/variable/CMAKE_LANG_PLATFORM_ID.rst b/Help/variable/CMAKE_LANG_PLATFORM_ID.rst
new file mode 100644
index 0000000..1b243e3
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_PLATFORM_ID.rst
@@ -0,0 +1,6 @@
+CMAKE_<LANG>_PLATFORM_ID
+------------------------
+
+An internal variable subject to change.
+
+This is used in determining the platform and is subject to change.
diff --git a/Help/variable/CMAKE_LANG_SIMULATE_ID.rst b/Help/variable/CMAKE_LANG_SIMULATE_ID.rst
new file mode 100644
index 0000000..646c0db
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_SIMULATE_ID.rst
@@ -0,0 +1,9 @@
+CMAKE_<LANG>_SIMULATE_ID
+------------------------
+
+Identification string of "simulated" compiler.
+
+Some compilers simulate other compilers to serve as drop-in
+replacements. When CMake detects such a compiler it sets this
+variable to what would have been the CMAKE_<LANG>_COMPILER_ID for the
+simulated compiler.
diff --git a/Help/variable/CMAKE_LANG_SIMULATE_VERSION.rst b/Help/variable/CMAKE_LANG_SIMULATE_VERSION.rst
new file mode 100644
index 0000000..982053d
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_SIMULATE_VERSION.rst
@@ -0,0 +1,9 @@
+CMAKE_<LANG>_SIMULATE_VERSION
+-----------------------------
+
+Version string of "simulated" compiler.
+
+Some compilers simulate other compilers to serve as drop-in
+replacements. When CMake detects such a compiler it sets this
+variable to what would have been the CMAKE_<LANG>_COMPILER_VERSION for
+the simulated compiler.
diff --git a/Help/variable/CMAKE_LANG_SIZEOF_DATA_PTR.rst b/Help/variable/CMAKE_LANG_SIZEOF_DATA_PTR.rst
new file mode 100644
index 0000000..c85b5e0
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_SIZEOF_DATA_PTR.rst
@@ -0,0 +1,7 @@
+CMAKE_<LANG>_SIZEOF_DATA_PTR
+----------------------------
+
+Size of pointer-to-data types for language <LANG>.
+
+This holds the size (in bytes) of pointer-to-data types in the target
+platform ABI. It is defined for languages C and CXX (C++).
diff --git a/Help/variable/CMAKE_LANG_SOURCE_FILE_EXTENSIONS.rst b/Help/variable/CMAKE_LANG_SOURCE_FILE_EXTENSIONS.rst
new file mode 100644
index 0000000..e085fee
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_SOURCE_FILE_EXTENSIONS.rst
@@ -0,0 +1,6 @@
+CMAKE_<LANG>_SOURCE_FILE_EXTENSIONS
+-----------------------------------
+
+Extensions of source files for the given language.
+
+This is the list of extensions for a given language's source files.
diff --git a/Help/variable/CMAKE_LANG_VISIBILITY_PRESET.rst b/Help/variable/CMAKE_LANG_VISIBILITY_PRESET.rst
new file mode 100644
index 0000000..bef670f
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_VISIBILITY_PRESET.rst
@@ -0,0 +1,8 @@
+CMAKE_<LANG>_VISIBILITY_PRESET
+------------------------------
+
+Default value for <LANG>_VISIBILITY_PRESET of targets.
+
+This variable is used to initialize the <LANG>_VISIBILITY_PRESET
+property on all the targets. See that target property for additional
+information.
diff --git a/Help/variable/CMAKE_LIBRARY_ARCHITECTURE.rst b/Help/variable/CMAKE_LIBRARY_ARCHITECTURE.rst
new file mode 100644
index 0000000..c9a15f3
--- /dev/null
+++ b/Help/variable/CMAKE_LIBRARY_ARCHITECTURE.rst
@@ -0,0 +1,7 @@
+CMAKE_LIBRARY_ARCHITECTURE
+--------------------------
+
+Target architecture library directory name, if detected.
+
+This is the value of CMAKE_<lang>_LIBRARY_ARCHITECTURE as detected for
+one of the enabled languages.
diff --git a/Help/variable/CMAKE_LIBRARY_ARCHITECTURE_REGEX.rst b/Help/variable/CMAKE_LIBRARY_ARCHITECTURE_REGEX.rst
new file mode 100644
index 0000000..6c41269
--- /dev/null
+++ b/Help/variable/CMAKE_LIBRARY_ARCHITECTURE_REGEX.rst
@@ -0,0 +1,7 @@
+CMAKE_LIBRARY_ARCHITECTURE_REGEX
+--------------------------------
+
+Regex matching possible target architecture library directory names.
+
+This is used to detect CMAKE_<lang>_LIBRARY_ARCHITECTURE from the
+implicit linker search path by matching the <arch> name.
diff --git a/Help/variable/CMAKE_LIBRARY_OUTPUT_DIRECTORY.rst b/Help/variable/CMAKE_LIBRARY_OUTPUT_DIRECTORY.rst
new file mode 100644
index 0000000..3bdd348
--- /dev/null
+++ b/Help/variable/CMAKE_LIBRARY_OUTPUT_DIRECTORY.rst
@@ -0,0 +1,8 @@
+CMAKE_LIBRARY_OUTPUT_DIRECTORY
+------------------------------
+
+Where to put all the LIBRARY targets when built.
+
+This variable is used to initialize the LIBRARY_OUTPUT_DIRECTORY
+property on all the targets. See that target property for additional
+information.
diff --git a/Help/variable/CMAKE_LIBRARY_PATH.rst b/Help/variable/CMAKE_LIBRARY_PATH.rst
new file mode 100644
index 0000000..e77dd34
--- /dev/null
+++ b/Help/variable/CMAKE_LIBRARY_PATH.rst
@@ -0,0 +1,10 @@
+CMAKE_LIBRARY_PATH
+------------------
+
+Path used for searching by FIND_LIBRARY().
+
+Specifies a path which will be used by FIND_LIBRARY(). FIND_LIBRARY()
+will check each of the contained directories for the existence of the
+library which is currently searched. By default it is empty, it is
+intended to be set by the project. See also
+CMAKE_SYSTEM_LIBRARY_PATH, CMAKE_PREFIX_PATH.
diff --git a/Help/variable/CMAKE_LIBRARY_PATH_FLAG.rst b/Help/variable/CMAKE_LIBRARY_PATH_FLAG.rst
new file mode 100644
index 0000000..ede39e9
--- /dev/null
+++ b/Help/variable/CMAKE_LIBRARY_PATH_FLAG.rst
@@ -0,0 +1,7 @@
+CMAKE_LIBRARY_PATH_FLAG
+-----------------------
+
+The flag to be used to add a library search path to a compiler.
+
+The flag will be used to specify a library directory to the compiler.
+On most compilers this is "-L".
diff --git a/Help/variable/CMAKE_LINK_DEF_FILE_FLAG.rst b/Help/variable/CMAKE_LINK_DEF_FILE_FLAG.rst
new file mode 100644
index 0000000..382447c
--- /dev/null
+++ b/Help/variable/CMAKE_LINK_DEF_FILE_FLAG.rst
@@ -0,0 +1,7 @@
+CMAKE_LINK_DEF_FILE_FLAG
+------------------------
+
+Linker flag to be used to specify a .def file for dll creation.
+
+The flag will be used to add a .def file when creating a dll on
+Windows; this is only defined on Windows.
diff --git a/Help/variable/CMAKE_LINK_DEPENDS_NO_SHARED.rst b/Help/variable/CMAKE_LINK_DEPENDS_NO_SHARED.rst
new file mode 100644
index 0000000..6ae7df6
--- /dev/null
+++ b/Help/variable/CMAKE_LINK_DEPENDS_NO_SHARED.rst
@@ -0,0 +1,8 @@
+CMAKE_LINK_DEPENDS_NO_SHARED
+----------------------------
+
+Whether to skip link dependencies on shared library files.
+
+This variable initializes the LINK_DEPENDS_NO_SHARED property on
+targets when they are created. See that target property for
+additional information.
diff --git a/Help/variable/CMAKE_LINK_INTERFACE_LIBRARIES.rst b/Help/variable/CMAKE_LINK_INTERFACE_LIBRARIES.rst
new file mode 100644
index 0000000..efe6fd7
--- /dev/null
+++ b/Help/variable/CMAKE_LINK_INTERFACE_LIBRARIES.rst
@@ -0,0 +1,8 @@
+CMAKE_LINK_INTERFACE_LIBRARIES
+------------------------------
+
+Default value for LINK_INTERFACE_LIBRARIES of targets.
+
+This variable is used to initialize the LINK_INTERFACE_LIBRARIES
+property on all the targets. See that target property for additional
+information.
diff --git a/Help/variable/CMAKE_LINK_LIBRARY_FILE_FLAG.rst b/Help/variable/CMAKE_LINK_LIBRARY_FILE_FLAG.rst
new file mode 100644
index 0000000..6858e2c
--- /dev/null
+++ b/Help/variable/CMAKE_LINK_LIBRARY_FILE_FLAG.rst
@@ -0,0 +1,7 @@
+CMAKE_LINK_LIBRARY_FILE_FLAG
+----------------------------
+
+Flag to be used to link a library specified by a path to its file.
+
+The flag will be used before a library file path is given to the
+linker. This is needed only on very few platforms.
diff --git a/Help/variable/CMAKE_LINK_LIBRARY_FLAG.rst b/Help/variable/CMAKE_LINK_LIBRARY_FLAG.rst
new file mode 100644
index 0000000..c3e02d7
--- /dev/null
+++ b/Help/variable/CMAKE_LINK_LIBRARY_FLAG.rst
@@ -0,0 +1,7 @@
+CMAKE_LINK_LIBRARY_FLAG
+-----------------------
+
+Flag to be used to link a library into an executable.
+
+The flag will be used to specify a library to link to an executable.
+On most compilers this is "-l".
diff --git a/Help/variable/CMAKE_LINK_LIBRARY_SUFFIX.rst b/Help/variable/CMAKE_LINK_LIBRARY_SUFFIX.rst
new file mode 100644
index 0000000..390298d
--- /dev/null
+++ b/Help/variable/CMAKE_LINK_LIBRARY_SUFFIX.rst
@@ -0,0 +1,6 @@
+CMAKE_LINK_LIBRARY_SUFFIX
+-------------------------
+
+The suffix for libraries that you link to.
+
+The suffix to use for the end of a library filename, .lib on Windows.
diff --git a/Help/variable/CMAKE_MACOSX_BUNDLE.rst b/Help/variable/CMAKE_MACOSX_BUNDLE.rst
new file mode 100644
index 0000000..e4768f3
--- /dev/null
+++ b/Help/variable/CMAKE_MACOSX_BUNDLE.rst
@@ -0,0 +1,7 @@
+CMAKE_MACOSX_BUNDLE
+-------------------
+
+Default value for MACOSX_BUNDLE of targets.
+
+This variable is used to initialize the MACOSX_BUNDLE property on all
+the targets. See that target property for additional information.
diff --git a/Help/variable/CMAKE_MACOSX_RPATH.rst b/Help/variable/CMAKE_MACOSX_RPATH.rst
new file mode 100644
index 0000000..ac897c0
--- /dev/null
+++ b/Help/variable/CMAKE_MACOSX_RPATH.rst
@@ -0,0 +1,7 @@
+CMAKE_MACOSX_RPATH
+-------------------
+
+Whether to use rpaths on Mac OS X.
+
+This variable is used to initialize the :prop_tgt:`MACOSX_RPATH` property on
+all targets.
diff --git a/Help/variable/CMAKE_MAJOR_VERSION.rst b/Help/variable/CMAKE_MAJOR_VERSION.rst
new file mode 100644
index 0000000..079ad70
--- /dev/null
+++ b/Help/variable/CMAKE_MAJOR_VERSION.rst
@@ -0,0 +1,5 @@
+CMAKE_MAJOR_VERSION
+-------------------
+
+First version number component of the :variable:`CMAKE_VERSION`
+variable.
diff --git a/Help/variable/CMAKE_MAKE_PROGRAM.rst b/Help/variable/CMAKE_MAKE_PROGRAM.rst
new file mode 100644
index 0000000..97caa8a
--- /dev/null
+++ b/Help/variable/CMAKE_MAKE_PROGRAM.rst
@@ -0,0 +1,55 @@
+CMAKE_MAKE_PROGRAM
+------------------
+
+Tool that can launch the native build system.
+The value may be the full path to an executable or just the tool
+name if it is expected to be in the ``PATH``.
+
+The tool selected depends on the :variable:`CMAKE_GENERATOR` used
+to configure the project:
+
+* The Makefile generators set this to ``make``, ``gmake``, or
+ a generator-specific tool (e.g. ``nmake`` for "NMake Makefiles").
+
+ These generators store ``CMAKE_MAKE_PROGRAM`` in the CMake cache
+ so that it may be edited by the user.
+
+* The Ninja generator sets this to ``ninja``.
+
+ This generator stores ``CMAKE_MAKE_PROGRAM`` in the CMake cache
+ so that it may be edited by the user.
+
+* The Xcode generator sets this to ``xcodebuild`` (or possibly an
+ otherwise undocumented ``cmakexbuild`` wrapper implementing some
+ workarounds).
+
+ This generator stores ``CMAKE_MAKE_PROGRAM`` in the CMake cache
+ so that it may be edited by the user.
+
+* The Visual Studio generators set this to the full path to
+ ``MSBuild.exe`` (VS >= 10), ``devenv.com`` (VS 7,8,9),
+ ``VCExpress.exe`` (VS Express 8,9), or ``msdev.exe`` (VS 6).
+ (See also variables
+ :variable:`CMAKE_VS_MSBUILD_COMMAND`,
+ :variable:`CMAKE_VS_DEVENV_COMMAND`, and
+ :variable:`CMAKE_VS_MSDEV_COMMAND`.)
+
+ These generators prefer to lookup the build tool at build time
+ rather than to store ``CMAKE_MAKE_PROGRAM`` in the CMake cache
+ ahead of time. This is because the tools are version-specific
+ and can be located using the Windows Registry. It is also
+ necessary because the proper build tool may depend on the
+ project content (e.g. the Intel Fortran plugin to VS 10 and 11
+ requires ``devenv.com`` to build its ``.vfproj`` project files
+ even though ``MSBuild.exe`` is normally preferred to support
+ the :variable:`CMAKE_GENERATOR_TOOLSET`).
+
+ For compatibility with versions of CMake prior to 3.0, if
+ a user or project explicitly adds ``CMAKE_MAKE_PROGRAM`` to
+ the CMake cache then CMake will use the specified value if
+ possible.
+
+The ``CMAKE_MAKE_PROGRAM`` variable is set for use by project code.
+The value is also used by the :manual:`cmake(1)` ``--build`` and
+:manual:`ctest(1)` ``--build-and-test`` tools to launch the native
+build process.
diff --git a/Help/variable/CMAKE_MAP_IMPORTED_CONFIG_CONFIG.rst b/Help/variable/CMAKE_MAP_IMPORTED_CONFIG_CONFIG.rst
new file mode 100644
index 0000000..41ccde1
--- /dev/null
+++ b/Help/variable/CMAKE_MAP_IMPORTED_CONFIG_CONFIG.rst
@@ -0,0 +1,8 @@
+CMAKE_MAP_IMPORTED_CONFIG_<CONFIG>
+----------------------------------
+
+Default value for MAP_IMPORTED_CONFIG_<CONFIG> of targets.
+
+This variable is used to initialize the MAP_IMPORTED_CONFIG_<CONFIG>
+property on all the targets. See that target property for additional
+information.
diff --git a/Help/variable/CMAKE_MFC_FLAG.rst b/Help/variable/CMAKE_MFC_FLAG.rst
new file mode 100644
index 0000000..221d26e
--- /dev/null
+++ b/Help/variable/CMAKE_MFC_FLAG.rst
@@ -0,0 +1,16 @@
+CMAKE_MFC_FLAG
+--------------
+
+Tell cmake to use MFC for an executable or dll.
+
+This can be set in a CMakeLists.txt file and will enable MFC in the
+application. It should be set to 1 for the static MFC library, and 2
+for the shared MFC library. This is used in Visual Studio 6 and 7
+project files. The CMakeSetup dialog used MFC and the CMakeLists.txt
+looks like this:
+
+::
+
+ add_definitions(-D_AFXDLL)
+ set(CMAKE_MFC_FLAG 2)
+ add_executable(CMakeSetup WIN32 ${SRCS})
diff --git a/Help/variable/CMAKE_MINIMUM_REQUIRED_VERSION.rst b/Help/variable/CMAKE_MINIMUM_REQUIRED_VERSION.rst
new file mode 100644
index 0000000..351de44
--- /dev/null
+++ b/Help/variable/CMAKE_MINIMUM_REQUIRED_VERSION.rst
@@ -0,0 +1,7 @@
+CMAKE_MINIMUM_REQUIRED_VERSION
+------------------------------
+
+Version specified to cmake_minimum_required command
+
+Variable containing the VERSION component specified in the
+cmake_minimum_required command.
diff --git a/Help/variable/CMAKE_MINOR_VERSION.rst b/Help/variable/CMAKE_MINOR_VERSION.rst
new file mode 100644
index 0000000..f67cfb9
--- /dev/null
+++ b/Help/variable/CMAKE_MINOR_VERSION.rst
@@ -0,0 +1,5 @@
+CMAKE_MINOR_VERSION
+-------------------
+
+Second version number component of the :variable:`CMAKE_VERSION`
+variable.
diff --git a/Help/variable/CMAKE_MODULE_LINKER_FLAGS.rst b/Help/variable/CMAKE_MODULE_LINKER_FLAGS.rst
new file mode 100644
index 0000000..6372bbd
--- /dev/null
+++ b/Help/variable/CMAKE_MODULE_LINKER_FLAGS.rst
@@ -0,0 +1,6 @@
+CMAKE_MODULE_LINKER_FLAGS
+-------------------------
+
+Linker flags to be used to create modules.
+
+These flags will be used by the linker when creating a module.
diff --git a/Help/variable/CMAKE_MODULE_LINKER_FLAGS_CONFIG.rst b/Help/variable/CMAKE_MODULE_LINKER_FLAGS_CONFIG.rst
new file mode 100644
index 0000000..87a1901
--- /dev/null
+++ b/Help/variable/CMAKE_MODULE_LINKER_FLAGS_CONFIG.rst
@@ -0,0 +1,6 @@
+CMAKE_MODULE_LINKER_FLAGS_<CONFIG>
+----------------------------------
+
+Flags to be used when linking a module.
+
+Same as CMAKE_C_FLAGS_* but used by the linker when creating modules.
diff --git a/Help/variable/CMAKE_MODULE_PATH.rst b/Help/variable/CMAKE_MODULE_PATH.rst
new file mode 100644
index 0000000..a2dde45
--- /dev/null
+++ b/Help/variable/CMAKE_MODULE_PATH.rst
@@ -0,0 +1,8 @@
+CMAKE_MODULE_PATH
+-----------------
+
+List of directories to search for CMake modules.
+
+Commands like include() and find_package() search for files in
+directories listed by this variable before checking the default
+modules that come with CMake.
diff --git a/Help/variable/CMAKE_NOT_USING_CONFIG_FLAGS.rst b/Help/variable/CMAKE_NOT_USING_CONFIG_FLAGS.rst
new file mode 100644
index 0000000..cbe0350
--- /dev/null
+++ b/Help/variable/CMAKE_NOT_USING_CONFIG_FLAGS.rst
@@ -0,0 +1,7 @@
+CMAKE_NOT_USING_CONFIG_FLAGS
+----------------------------
+
+Skip _BUILD_TYPE flags if true.
+
+This is an internal flag used by the generators in CMake to tell CMake
+to skip the _BUILD_TYPE flags.
diff --git a/Help/variable/CMAKE_NO_BUILTIN_CHRPATH.rst b/Help/variable/CMAKE_NO_BUILTIN_CHRPATH.rst
new file mode 100644
index 0000000..189f59f
--- /dev/null
+++ b/Help/variable/CMAKE_NO_BUILTIN_CHRPATH.rst
@@ -0,0 +1,10 @@
+CMAKE_NO_BUILTIN_CHRPATH
+------------------------
+
+Do not use the builtin ELF editor to fix RPATHs on installation.
+
+When an ELF binary needs to have a different RPATH after installation
+than it does in the build tree, CMake uses a builtin editor to change
+the RPATH in the installed copy. If this variable is set to true then
+CMake will relink the binary before installation instead of using its
+builtin editor.
diff --git a/Help/variable/CMAKE_NO_SYSTEM_FROM_IMPORTED.rst b/Help/variable/CMAKE_NO_SYSTEM_FROM_IMPORTED.rst
new file mode 100644
index 0000000..c1919af
--- /dev/null
+++ b/Help/variable/CMAKE_NO_SYSTEM_FROM_IMPORTED.rst
@@ -0,0 +1,8 @@
+CMAKE_NO_SYSTEM_FROM_IMPORTED
+-----------------------------
+
+Default value for NO_SYSTEM_FROM_IMPORTED of targets.
+
+This variable is used to initialize the NO_SYSTEM_FROM_IMPORTED
+property on all the targets. See that target property for additional
+information.
diff --git a/Help/variable/CMAKE_OBJECT_PATH_MAX.rst b/Help/variable/CMAKE_OBJECT_PATH_MAX.rst
new file mode 100644
index 0000000..9e30cbb
--- /dev/null
+++ b/Help/variable/CMAKE_OBJECT_PATH_MAX.rst
@@ -0,0 +1,16 @@
+CMAKE_OBJECT_PATH_MAX
+---------------------
+
+Maximum object file full-path length allowed by native build tools.
+
+CMake computes for every source file an object file name that is
+unique to the source file and deterministic with respect to the full
+path to the source file. This allows multiple source files in a
+target to share the same name if they lie in different directories
+without rebuilding when one is added or removed. However, it can
+produce long full paths in a few cases, so CMake shortens the path
+using a hashing scheme when the full path to an object file exceeds a
+limit. CMake has a built-in limit for each platform that is
+sufficient for common tools, but some native tools may have a lower
+limit. This variable may be set to specify the limit explicitly. The
+value must be an integer no less than 128.
diff --git a/Help/variable/CMAKE_OSX_ARCHITECTURES.rst b/Help/variable/CMAKE_OSX_ARCHITECTURES.rst
new file mode 100644
index 0000000..b9de518
--- /dev/null
+++ b/Help/variable/CMAKE_OSX_ARCHITECTURES.rst
@@ -0,0 +1,10 @@
+CMAKE_OSX_ARCHITECTURES
+-----------------------
+
+Target specific architectures for OS X.
+
+This variable is used to initialize the :prop_tgt:`OSX_ARCHITECTURES`
+property on each target as it is creaed. See that target property
+for additional information.
+
+.. include:: CMAKE_OSX_VARIABLE.txt
diff --git a/Help/variable/CMAKE_OSX_DEPLOYMENT_TARGET.rst b/Help/variable/CMAKE_OSX_DEPLOYMENT_TARGET.rst
new file mode 100644
index 0000000..4fb2caa
--- /dev/null
+++ b/Help/variable/CMAKE_OSX_DEPLOYMENT_TARGET.rst
@@ -0,0 +1,13 @@
+CMAKE_OSX_DEPLOYMENT_TARGET
+---------------------------
+
+Specify the minimum version of OS X on which the target binaries are
+to be deployed. CMake uses this value for the ``-mmacosx-version-min``
+flag and to help choose the default SDK
+(see :variable:`CMAKE_OSX_SYSROOT`).
+
+If not set explicitly the value is initialized by the
+``MACOSX_DEPLOYMENT_TARGET`` environment variable, if set,
+and otherwise computed based on the host platform.
+
+.. include:: CMAKE_OSX_VARIABLE.txt
diff --git a/Help/variable/CMAKE_OSX_SYSROOT.rst b/Help/variable/CMAKE_OSX_SYSROOT.rst
new file mode 100644
index 0000000..f1d58c6
--- /dev/null
+++ b/Help/variable/CMAKE_OSX_SYSROOT.rst
@@ -0,0 +1,13 @@
+CMAKE_OSX_SYSROOT
+-----------------
+
+Specify the location or name of the OS X platform SDK to be used.
+CMake uses this value to compute the value of the ``-isysroot`` flag
+or equivalent and to help the ``find_*`` commands locate files in
+the SDK.
+
+If not set explicitly the value is initialized by the ``SDKROOT``
+environment variable, if set, and otherwise computed based on the
+:variable:`CMAKE_OSX_DEPLOYMENT_TARGET` or the host platform.
+
+.. include:: CMAKE_OSX_VARIABLE.txt
diff --git a/Help/variable/CMAKE_OSX_VARIABLE.txt b/Help/variable/CMAKE_OSX_VARIABLE.txt
new file mode 100644
index 0000000..385f871
--- /dev/null
+++ b/Help/variable/CMAKE_OSX_VARIABLE.txt
@@ -0,0 +1,6 @@
+The value of this variable should be set prior to the first
+:command:`project` or :command:`enable_language` command invocation
+because it may influence configuration of the toolchain and flags.
+It is intended to be set locally by the user creating a build tree.
+
+This variable is ignored on platforms other than OS X.
diff --git a/Help/variable/CMAKE_PARENT_LIST_FILE.rst b/Help/variable/CMAKE_PARENT_LIST_FILE.rst
new file mode 100644
index 0000000..5566a72
--- /dev/null
+++ b/Help/variable/CMAKE_PARENT_LIST_FILE.rst
@@ -0,0 +1,9 @@
+CMAKE_PARENT_LIST_FILE
+----------------------
+
+Full path to the CMake file that included the current one.
+
+While processing a CMake file loaded by include() or find_package()
+this variable contains the full path to the file including it. The
+top of the include stack is always the CMakeLists.txt for the current
+directory. See also CMAKE_CURRENT_LIST_FILE.
diff --git a/Help/variable/CMAKE_PATCH_VERSION.rst b/Help/variable/CMAKE_PATCH_VERSION.rst
new file mode 100644
index 0000000..991ae76
--- /dev/null
+++ b/Help/variable/CMAKE_PATCH_VERSION.rst
@@ -0,0 +1,5 @@
+CMAKE_PATCH_VERSION
+-------------------
+
+Third version number component of the :variable:`CMAKE_VERSION`
+variable.
diff --git a/Help/variable/CMAKE_PDB_OUTPUT_DIRECTORY.rst b/Help/variable/CMAKE_PDB_OUTPUT_DIRECTORY.rst
new file mode 100644
index 0000000..763bcb3
--- /dev/null
+++ b/Help/variable/CMAKE_PDB_OUTPUT_DIRECTORY.rst
@@ -0,0 +1,9 @@
+CMAKE_PDB_OUTPUT_DIRECTORY
+--------------------------
+
+Output directory for MS debug symbol ``.pdb`` files generated by the
+linker for executable and shared library targets.
+
+This variable is used to initialize the :prop_tgt:`PDB_OUTPUT_DIRECTORY`
+property on all the targets. See that target property for additional
+information.
diff --git a/Help/variable/CMAKE_PDB_OUTPUT_DIRECTORY_CONFIG.rst b/Help/variable/CMAKE_PDB_OUTPUT_DIRECTORY_CONFIG.rst
new file mode 100644
index 0000000..4d18eec
--- /dev/null
+++ b/Help/variable/CMAKE_PDB_OUTPUT_DIRECTORY_CONFIG.rst
@@ -0,0 +1,11 @@
+CMAKE_PDB_OUTPUT_DIRECTORY_<CONFIG>
+-----------------------------------
+
+Per-configuration output directory for MS debug symbol ``.pdb`` files
+generated by the linker for executable and shared library targets.
+
+This is a per-configuration version of :variable:`CMAKE_PDB_OUTPUT_DIRECTORY`.
+This variable is used to initialize the
+:prop_tgt:`PDB_OUTPUT_DIRECTORY_<CONFIG>`
+property on all the targets. See that target property for additional
+information.
diff --git a/Help/variable/CMAKE_POLICY_DEFAULT_CMPNNNN.rst b/Help/variable/CMAKE_POLICY_DEFAULT_CMPNNNN.rst
new file mode 100644
index 0000000..e401aa5
--- /dev/null
+++ b/Help/variable/CMAKE_POLICY_DEFAULT_CMPNNNN.rst
@@ -0,0 +1,16 @@
+CMAKE_POLICY_DEFAULT_CMP<NNNN>
+------------------------------
+
+Default for CMake Policy CMP<NNNN> when it is otherwise left unset.
+
+Commands cmake_minimum_required(VERSION) and cmake_policy(VERSION) by
+default leave policies introduced after the given version unset. Set
+CMAKE_POLICY_DEFAULT_CMP<NNNN> to OLD or NEW to specify the default
+for policy CMP<NNNN>, where <NNNN> is the policy number.
+
+This variable should not be set by a project in CMake code; use
+cmake_policy(SET) instead. Users running CMake may set this variable
+in the cache (e.g. -DCMAKE_POLICY_DEFAULT_CMP<NNNN>=<OLD|NEW>) to set
+a policy not otherwise set by the project. Set to OLD to quiet a
+policy warning while using old behavior or to NEW to try building the
+project with new behavior.
diff --git a/Help/variable/CMAKE_POLICY_WARNING_CMPNNNN.rst b/Help/variable/CMAKE_POLICY_WARNING_CMPNNNN.rst
new file mode 100644
index 0000000..b563aea
--- /dev/null
+++ b/Help/variable/CMAKE_POLICY_WARNING_CMPNNNN.rst
@@ -0,0 +1,17 @@
+CMAKE_POLICY_WARNING_CMP<NNNN>
+------------------------------
+
+Explicitly enable or disable the warning when CMake Policy ``CMP<NNNN>``
+is not set. This is meaningful only for the few policies that do not
+warn by default:
+
+* ``CMAKE_POLICY_WARNING_CMP0025`` controls the warning for
+ policy :policy:`CMP0025`.
+* ``CMAKE_POLICY_WARNING_CMP0047`` controls the warning for
+ policy :policy:`CMP0047`.
+
+This variable should not be set by a project in CMake code. Project
+developers running CMake may set this variable in their cache to
+enable the warning (e.g. ``-DCMAKE_POLICY_WARNING_CMP<NNNN>=ON``).
+Alternatively, running :manual:`cmake(1)` with the ``--debug-output``
+or ``--trace`` option will also enable the warning.
diff --git a/Help/variable/CMAKE_POSITION_INDEPENDENT_CODE.rst b/Help/variable/CMAKE_POSITION_INDEPENDENT_CODE.rst
new file mode 100644
index 0000000..5e71665
--- /dev/null
+++ b/Help/variable/CMAKE_POSITION_INDEPENDENT_CODE.rst
@@ -0,0 +1,8 @@
+CMAKE_POSITION_INDEPENDENT_CODE
+-------------------------------
+
+Default value for POSITION_INDEPENDENT_CODE of targets.
+
+This variable is used to initialize the POSITION_INDEPENDENT_CODE
+property on all the targets. See that target property for additional
+information.
diff --git a/Help/variable/CMAKE_PREFIX_PATH.rst b/Help/variable/CMAKE_PREFIX_PATH.rst
new file mode 100644
index 0000000..4c21d5e
--- /dev/null
+++ b/Help/variable/CMAKE_PREFIX_PATH.rst
@@ -0,0 +1,13 @@
+CMAKE_PREFIX_PATH
+-----------------
+
+Path used for searching by FIND_XXX(), with appropriate suffixes added.
+
+Specifies a path which will be used by the FIND_XXX() commands. It
+contains the "base" directories, the FIND_XXX() commands append
+appropriate subdirectories to the base directories. So FIND_PROGRAM()
+adds /bin to each of the directories in the path, FIND_LIBRARY()
+appends /lib to each of the directories, and FIND_PATH() and
+FIND_FILE() append /include . By default it is empty, it is intended
+to be set by the project. See also CMAKE_SYSTEM_PREFIX_PATH,
+CMAKE_INCLUDE_PATH, CMAKE_LIBRARY_PATH, CMAKE_PROGRAM_PATH.
diff --git a/Help/variable/CMAKE_PROGRAM_PATH.rst b/Help/variable/CMAKE_PROGRAM_PATH.rst
new file mode 100644
index 0000000..02c5e02
--- /dev/null
+++ b/Help/variable/CMAKE_PROGRAM_PATH.rst
@@ -0,0 +1,10 @@
+CMAKE_PROGRAM_PATH
+------------------
+
+Path used for searching by FIND_PROGRAM().
+
+Specifies a path which will be used by FIND_PROGRAM(). FIND_PROGRAM()
+will check each of the contained directories for the existence of the
+program which is currently searched. By default it is empty, it is
+intended to be set by the project. See also
+CMAKE_SYSTEM_PROGRAM_PATH, CMAKE_PREFIX_PATH.
diff --git a/Help/variable/CMAKE_PROJECT_NAME.rst b/Help/variable/CMAKE_PROJECT_NAME.rst
new file mode 100644
index 0000000..4734705
--- /dev/null
+++ b/Help/variable/CMAKE_PROJECT_NAME.rst
@@ -0,0 +1,7 @@
+CMAKE_PROJECT_NAME
+------------------
+
+The name of the current project.
+
+This specifies name of the current project from the closest inherited
+PROJECT command.
diff --git a/Help/variable/CMAKE_PROJECT_PROJECT-NAME_INCLUDE.rst b/Help/variable/CMAKE_PROJECT_PROJECT-NAME_INCLUDE.rst
new file mode 100644
index 0000000..ba9df5a
--- /dev/null
+++ b/Help/variable/CMAKE_PROJECT_PROJECT-NAME_INCLUDE.rst
@@ -0,0 +1,6 @@
+CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE
+------------------------------------
+
+A CMake language file or module to be included by the :command:`project`
+command. This is is intended for injecting custom code into project
+builds without modifying their source.
diff --git a/Help/variable/CMAKE_RANLIB.rst b/Help/variable/CMAKE_RANLIB.rst
new file mode 100644
index 0000000..82672e9
--- /dev/null
+++ b/Help/variable/CMAKE_RANLIB.rst
@@ -0,0 +1,7 @@
+CMAKE_RANLIB
+------------
+
+Name of randomizing tool for static libraries.
+
+This specifies name of the program that randomizes libraries on UNIX,
+not used on Windows, but may be present.
diff --git a/Help/variable/CMAKE_ROOT.rst b/Help/variable/CMAKE_ROOT.rst
new file mode 100644
index 0000000..f963a7f
--- /dev/null
+++ b/Help/variable/CMAKE_ROOT.rst
@@ -0,0 +1,8 @@
+CMAKE_ROOT
+----------
+
+Install directory for running cmake.
+
+This is the install root for the running CMake and the Modules
+directory can be found here. This is commonly used in this format:
+${CMAKE_ROOT}/Modules
diff --git a/Help/variable/CMAKE_RUNTIME_OUTPUT_DIRECTORY.rst b/Help/variable/CMAKE_RUNTIME_OUTPUT_DIRECTORY.rst
new file mode 100644
index 0000000..366ca66
--- /dev/null
+++ b/Help/variable/CMAKE_RUNTIME_OUTPUT_DIRECTORY.rst
@@ -0,0 +1,8 @@
+CMAKE_RUNTIME_OUTPUT_DIRECTORY
+------------------------------
+
+Where to put all the RUNTIME targets when built.
+
+This variable is used to initialize the RUNTIME_OUTPUT_DIRECTORY
+property on all the targets. See that target property for additional
+information.
diff --git a/Help/variable/CMAKE_SCRIPT_MODE_FILE.rst b/Help/variable/CMAKE_SCRIPT_MODE_FILE.rst
new file mode 100644
index 0000000..ad73cc0
--- /dev/null
+++ b/Help/variable/CMAKE_SCRIPT_MODE_FILE.rst
@@ -0,0 +1,8 @@
+CMAKE_SCRIPT_MODE_FILE
+----------------------
+
+Full path to the -P script file currently being processed.
+
+When run in -P script mode, CMake sets this variable to the full path
+of the script file. When run to configure a CMakeLists.txt file, this
+variable is not set.
diff --git a/Help/variable/CMAKE_SHARED_LIBRARY_PREFIX.rst b/Help/variable/CMAKE_SHARED_LIBRARY_PREFIX.rst
new file mode 100644
index 0000000..a863e2a
--- /dev/null
+++ b/Help/variable/CMAKE_SHARED_LIBRARY_PREFIX.rst
@@ -0,0 +1,8 @@
+CMAKE_SHARED_LIBRARY_PREFIX
+---------------------------
+
+The prefix for shared libraries that you link to.
+
+The prefix to use for the name of a shared library, lib on UNIX.
+
+CMAKE_SHARED_LIBRARY_PREFIX_<LANG> overrides this for language <LANG>.
diff --git a/Help/variable/CMAKE_SHARED_LIBRARY_SUFFIX.rst b/Help/variable/CMAKE_SHARED_LIBRARY_SUFFIX.rst
new file mode 100644
index 0000000..c296ecd
--- /dev/null
+++ b/Help/variable/CMAKE_SHARED_LIBRARY_SUFFIX.rst
@@ -0,0 +1,9 @@
+CMAKE_SHARED_LIBRARY_SUFFIX
+---------------------------
+
+The suffix for shared libraries that you link to.
+
+The suffix to use for the end of a shared library filename, .dll on
+Windows.
+
+CMAKE_SHARED_LIBRARY_SUFFIX_<LANG> overrides this for language <LANG>.
diff --git a/Help/variable/CMAKE_SHARED_LINKER_FLAGS.rst b/Help/variable/CMAKE_SHARED_LINKER_FLAGS.rst
new file mode 100644
index 0000000..fce950c
--- /dev/null
+++ b/Help/variable/CMAKE_SHARED_LINKER_FLAGS.rst
@@ -0,0 +1,6 @@
+CMAKE_SHARED_LINKER_FLAGS
+-------------------------
+
+Linker flags to be used to create shared libraries.
+
+These flags will be used by the linker when creating a shared library.
diff --git a/Help/variable/CMAKE_SHARED_LINKER_FLAGS_CONFIG.rst b/Help/variable/CMAKE_SHARED_LINKER_FLAGS_CONFIG.rst
new file mode 100644
index 0000000..fedc626
--- /dev/null
+++ b/Help/variable/CMAKE_SHARED_LINKER_FLAGS_CONFIG.rst
@@ -0,0 +1,7 @@
+CMAKE_SHARED_LINKER_FLAGS_<CONFIG>
+----------------------------------
+
+Flags to be used when linking a shared library.
+
+Same as CMAKE_C_FLAGS_* but used by the linker when creating shared
+libraries.
diff --git a/Help/variable/CMAKE_SHARED_MODULE_PREFIX.rst b/Help/variable/CMAKE_SHARED_MODULE_PREFIX.rst
new file mode 100644
index 0000000..a5a2428
--- /dev/null
+++ b/Help/variable/CMAKE_SHARED_MODULE_PREFIX.rst
@@ -0,0 +1,8 @@
+CMAKE_SHARED_MODULE_PREFIX
+--------------------------
+
+The prefix for loadable modules that you link to.
+
+The prefix to use for the name of a loadable module on this platform.
+
+CMAKE_SHARED_MODULE_PREFIX_<LANG> overrides this for language <LANG>.
diff --git a/Help/variable/CMAKE_SHARED_MODULE_SUFFIX.rst b/Help/variable/CMAKE_SHARED_MODULE_SUFFIX.rst
new file mode 100644
index 0000000..32a3c34
--- /dev/null
+++ b/Help/variable/CMAKE_SHARED_MODULE_SUFFIX.rst
@@ -0,0 +1,9 @@
+CMAKE_SHARED_MODULE_SUFFIX
+--------------------------
+
+The suffix for shared libraries that you link to.
+
+The suffix to use for the end of a loadable module filename on this
+platform
+
+CMAKE_SHARED_MODULE_SUFFIX_<LANG> overrides this for language <LANG>.
diff --git a/Help/variable/CMAKE_SIZEOF_VOID_P.rst b/Help/variable/CMAKE_SIZEOF_VOID_P.rst
new file mode 100644
index 0000000..2697fad
--- /dev/null
+++ b/Help/variable/CMAKE_SIZEOF_VOID_P.rst
@@ -0,0 +1,8 @@
+CMAKE_SIZEOF_VOID_P
+-------------------
+
+Size of a void pointer.
+
+This is set to the size of a pointer on the machine, and is determined
+by a try compile. If a 64 bit size is found, then the library search
+path is modified to look for 64 bit libraries first.
diff --git a/Help/variable/CMAKE_SKIP_BUILD_RPATH.rst b/Help/variable/CMAKE_SKIP_BUILD_RPATH.rst
new file mode 100644
index 0000000..8da6100
--- /dev/null
+++ b/Help/variable/CMAKE_SKIP_BUILD_RPATH.rst
@@ -0,0 +1,10 @@
+CMAKE_SKIP_BUILD_RPATH
+----------------------
+
+Do not include RPATHs in the build tree.
+
+Normally CMake uses the build tree for the RPATH when building
+executables etc on systems that use RPATH. When the software is
+installed the executables etc are relinked by CMake to have the
+install RPATH. If this variable is set to true then the software is
+always built with no RPATH.
diff --git a/Help/variable/CMAKE_SKIP_INSTALL_ALL_DEPENDENCY.rst b/Help/variable/CMAKE_SKIP_INSTALL_ALL_DEPENDENCY.rst
new file mode 100644
index 0000000..33ee8a8
--- /dev/null
+++ b/Help/variable/CMAKE_SKIP_INSTALL_ALL_DEPENDENCY.rst
@@ -0,0 +1,11 @@
+CMAKE_SKIP_INSTALL_ALL_DEPENDENCY
+---------------------------------
+
+Don't make the install target depend on the all target.
+
+By default, the "install" target depends on the "all" target. This
+has the effect, that when "make install" is invoked or INSTALL is
+built, first the "all" target is built, then the installation starts.
+If CMAKE_SKIP_INSTALL_ALL_DEPENDENCY is set to TRUE, this dependency
+is not created, so the installation process will start immediately,
+independent from whether the project has been completely built or not.
diff --git a/Help/variable/CMAKE_SKIP_INSTALL_RPATH.rst b/Help/variable/CMAKE_SKIP_INSTALL_RPATH.rst
new file mode 100644
index 0000000..f16b212
--- /dev/null
+++ b/Help/variable/CMAKE_SKIP_INSTALL_RPATH.rst
@@ -0,0 +1,14 @@
+CMAKE_SKIP_INSTALL_RPATH
+------------------------
+
+Do not include RPATHs in the install tree.
+
+Normally CMake uses the build tree for the RPATH when building
+executables etc on systems that use RPATH. When the software is
+installed the executables etc are relinked by CMake to have the
+install RPATH. If this variable is set to true then the software is
+always installed without RPATH, even if RPATH is enabled when
+building. This can be useful for example to allow running tests from
+the build directory with RPATH enabled before the installation step.
+To omit RPATH in both the build and install steps, use
+CMAKE_SKIP_RPATH instead.
diff --git a/Help/variable/CMAKE_SKIP_INSTALL_RULES.rst b/Help/variable/CMAKE_SKIP_INSTALL_RULES.rst
new file mode 100644
index 0000000..5eda254
--- /dev/null
+++ b/Help/variable/CMAKE_SKIP_INSTALL_RULES.rst
@@ -0,0 +1,7 @@
+CMAKE_SKIP_INSTALL_RULES
+------------------------
+
+Whether to disable generation of installation rules.
+
+If TRUE, cmake will neither generate installaton rules nor
+will it generate cmake_install.cmake files. This variable is FALSE by default.
diff --git a/Help/variable/CMAKE_SKIP_RPATH.rst b/Help/variable/CMAKE_SKIP_RPATH.rst
new file mode 100644
index 0000000..c93f67f
--- /dev/null
+++ b/Help/variable/CMAKE_SKIP_RPATH.rst
@@ -0,0 +1,10 @@
+CMAKE_SKIP_RPATH
+----------------
+
+If true, do not add run time path information.
+
+If this is set to TRUE, then the rpath information is not added to
+compiled executables. The default is to add rpath information if the
+platform supports it. This allows for easy running from the build
+tree. To omit RPATH in the install step, but not the build step, use
+CMAKE_SKIP_INSTALL_RPATH instead.
diff --git a/Help/variable/CMAKE_SOURCE_DIR.rst b/Help/variable/CMAKE_SOURCE_DIR.rst
new file mode 100644
index 0000000..088fa83
--- /dev/null
+++ b/Help/variable/CMAKE_SOURCE_DIR.rst
@@ -0,0 +1,8 @@
+CMAKE_SOURCE_DIR
+----------------
+
+The path to the top level of the source tree.
+
+This is the full path to the top level of the current CMake source
+tree. For an in-source build, this would be the same as
+CMAKE_BINARY_DIR.
diff --git a/Help/variable/CMAKE_STAGING_PREFIX.rst b/Help/variable/CMAKE_STAGING_PREFIX.rst
new file mode 100644
index 0000000..c4de7da
--- /dev/null
+++ b/Help/variable/CMAKE_STAGING_PREFIX.rst
@@ -0,0 +1,13 @@
+CMAKE_STAGING_PREFIX
+--------------------
+
+This variable may be set to a path to install to when cross-compiling. This can
+be useful if the path in :variable:`CMAKE_SYSROOT` is read-only, or otherwise
+should remain pristine.
+
+The CMAKE_STAGING_PREFIX location is also used as a search prefix by the ``find_*``
+commands. This can be controlled by setting the :variable:`CMAKE_FIND_NO_INSTALL_PREFIX`
+variable.
+
+If any RPATH/RUNPATH entries passed to the linker contain the CMAKE_STAGING_PREFIX,
+the matching path fragments are replaced with the :variable:`CMAKE_INSTALL_PREFIX`.
diff --git a/Help/variable/CMAKE_STANDARD_LIBRARIES.rst b/Help/variable/CMAKE_STANDARD_LIBRARIES.rst
new file mode 100644
index 0000000..9c728cd
--- /dev/null
+++ b/Help/variable/CMAKE_STANDARD_LIBRARIES.rst
@@ -0,0 +1,7 @@
+CMAKE_STANDARD_LIBRARIES
+------------------------
+
+Libraries linked into every executable and shared library.
+
+This is the list of libraries that are linked into all executables and
+libraries.
diff --git a/Help/variable/CMAKE_STATIC_LIBRARY_PREFIX.rst b/Help/variable/CMAKE_STATIC_LIBRARY_PREFIX.rst
new file mode 100644
index 0000000..0a3095d
--- /dev/null
+++ b/Help/variable/CMAKE_STATIC_LIBRARY_PREFIX.rst
@@ -0,0 +1,8 @@
+CMAKE_STATIC_LIBRARY_PREFIX
+---------------------------
+
+The prefix for static libraries that you link to.
+
+The prefix to use for the name of a static library, lib on UNIX.
+
+CMAKE_STATIC_LIBRARY_PREFIX_<LANG> overrides this for language <LANG>.
diff --git a/Help/variable/CMAKE_STATIC_LIBRARY_SUFFIX.rst b/Help/variable/CMAKE_STATIC_LIBRARY_SUFFIX.rst
new file mode 100644
index 0000000..4d07671
--- /dev/null
+++ b/Help/variable/CMAKE_STATIC_LIBRARY_SUFFIX.rst
@@ -0,0 +1,9 @@
+CMAKE_STATIC_LIBRARY_SUFFIX
+---------------------------
+
+The suffix for static libraries that you link to.
+
+The suffix to use for the end of a static library filename, .lib on
+Windows.
+
+CMAKE_STATIC_LIBRARY_SUFFIX_<LANG> overrides this for language <LANG>.
diff --git a/Help/variable/CMAKE_STATIC_LINKER_FLAGS.rst b/Help/variable/CMAKE_STATIC_LINKER_FLAGS.rst
new file mode 100644
index 0000000..9c38673
--- /dev/null
+++ b/Help/variable/CMAKE_STATIC_LINKER_FLAGS.rst
@@ -0,0 +1,6 @@
+CMAKE_STATIC_LINKER_FLAGS
+-------------------------
+
+Linker flags to be used to create static libraries.
+
+These flags will be used by the linker when creating a static library.
diff --git a/Help/variable/CMAKE_STATIC_LINKER_FLAGS_CONFIG.rst b/Help/variable/CMAKE_STATIC_LINKER_FLAGS_CONFIG.rst
new file mode 100644
index 0000000..6cde24d
--- /dev/null
+++ b/Help/variable/CMAKE_STATIC_LINKER_FLAGS_CONFIG.rst
@@ -0,0 +1,7 @@
+CMAKE_STATIC_LINKER_FLAGS_<CONFIG>
+----------------------------------
+
+Flags to be used when linking a static library.
+
+Same as CMAKE_C_FLAGS_* but used by the linker when creating static
+libraries.
diff --git a/Help/variable/CMAKE_SYSROOT.rst b/Help/variable/CMAKE_SYSROOT.rst
new file mode 100644
index 0000000..7aa0450
--- /dev/null
+++ b/Help/variable/CMAKE_SYSROOT.rst
@@ -0,0 +1,12 @@
+CMAKE_SYSROOT
+-------------
+
+Path to pass to the compiler in the ``--sysroot`` flag.
+
+The ``CMAKE_SYSROOT`` content is passed to the compiler in the ``--sysroot``
+flag, if supported. The path is also stripped from the RPATH/RUNPATH if
+necessary on installation. The ``CMAKE_SYSROOT`` is also used to prefix
+paths searched by the ``find_*`` commands.
+
+This variable may only be set in a toolchain file specified by
+the :variable:`CMAKE_TOOLCHAIN_FILE` variable.
diff --git a/Help/variable/CMAKE_SYSTEM.rst b/Help/variable/CMAKE_SYSTEM.rst
new file mode 100644
index 0000000..283d0be
--- /dev/null
+++ b/Help/variable/CMAKE_SYSTEM.rst
@@ -0,0 +1,9 @@
+CMAKE_SYSTEM
+------------
+
+Name of system cmake is compiling for.
+
+This variable is the composite of CMAKE_SYSTEM_NAME and
+CMAKE_SYSTEM_VERSION, like this
+${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_VERSION}. If CMAKE_SYSTEM_VERSION
+is not set, then CMAKE_SYSTEM is the same as CMAKE_SYSTEM_NAME.
diff --git a/Help/variable/CMAKE_SYSTEM_IGNORE_PATH.rst b/Help/variable/CMAKE_SYSTEM_IGNORE_PATH.rst
new file mode 100644
index 0000000..9e6b195
--- /dev/null
+++ b/Help/variable/CMAKE_SYSTEM_IGNORE_PATH.rst
@@ -0,0 +1,15 @@
+CMAKE_SYSTEM_IGNORE_PATH
+------------------------
+
+Path to be ignored by FIND_XXX() commands.
+
+Specifies directories to be ignored by searches in FIND_XXX()
+commands. This is useful in cross-compiled environments where some
+system directories contain incompatible but possibly linkable
+libraries. For example, on cross-compiled cluster environments, this
+allows a user to ignore directories containing libraries meant for the
+front-end machine that modules like FindX11 (and others) would
+normally search. By default this contains a list of directories
+containing incompatible binaries for the host system. See also
+CMAKE_SYSTEM_PREFIX_PATH, CMAKE_SYSTEM_LIBRARY_PATH,
+CMAKE_SYSTEM_INCLUDE_PATH, and CMAKE_SYSTEM_PROGRAM_PATH.
diff --git a/Help/variable/CMAKE_SYSTEM_INCLUDE_PATH.rst b/Help/variable/CMAKE_SYSTEM_INCLUDE_PATH.rst
new file mode 100644
index 0000000..1734185
--- /dev/null
+++ b/Help/variable/CMAKE_SYSTEM_INCLUDE_PATH.rst
@@ -0,0 +1,11 @@
+CMAKE_SYSTEM_INCLUDE_PATH
+-------------------------
+
+Path used for searching by FIND_FILE() and FIND_PATH().
+
+Specifies a path which will be used both by FIND_FILE() and
+FIND_PATH(). Both commands will check each of the contained
+directories for the existence of the file which is currently searched.
+By default it contains the standard directories for the current
+system. It is NOT intended to be modified by the project, use
+CMAKE_INCLUDE_PATH for this. See also CMAKE_SYSTEM_PREFIX_PATH.
diff --git a/Help/variable/CMAKE_SYSTEM_LIBRARY_PATH.rst b/Help/variable/CMAKE_SYSTEM_LIBRARY_PATH.rst
new file mode 100644
index 0000000..4778646
--- /dev/null
+++ b/Help/variable/CMAKE_SYSTEM_LIBRARY_PATH.rst
@@ -0,0 +1,11 @@
+CMAKE_SYSTEM_LIBRARY_PATH
+-------------------------
+
+Path used for searching by FIND_LIBRARY().
+
+Specifies a path which will be used by FIND_LIBRARY(). FIND_LIBRARY()
+will check each of the contained directories for the existence of the
+library which is currently searched. By default it contains the
+standard directories for the current system. It is NOT intended to be
+modified by the project, use CMAKE_LIBRARY_PATH for this. See also
+CMAKE_SYSTEM_PREFIX_PATH.
diff --git a/Help/variable/CMAKE_SYSTEM_NAME.rst b/Help/variable/CMAKE_SYSTEM_NAME.rst
new file mode 100644
index 0000000..9871dd9
--- /dev/null
+++ b/Help/variable/CMAKE_SYSTEM_NAME.rst
@@ -0,0 +1,9 @@
+CMAKE_SYSTEM_NAME
+-----------------
+
+Name of the OS CMake is building for.
+
+This is the name of the operating system on which CMake is targeting.
+On systems that have the uname command, this variable is set to the
+output of uname -s. Linux, Windows, and Darwin for Mac OS X are the
+values found on the big three operating systems.
diff --git a/Help/variable/CMAKE_SYSTEM_PREFIX_PATH.rst b/Help/variable/CMAKE_SYSTEM_PREFIX_PATH.rst
new file mode 100644
index 0000000..537eaba
--- /dev/null
+++ b/Help/variable/CMAKE_SYSTEM_PREFIX_PATH.rst
@@ -0,0 +1,16 @@
+CMAKE_SYSTEM_PREFIX_PATH
+------------------------
+
+Path used for searching by FIND_XXX(), with appropriate suffixes added.
+
+Specifies a path which will be used by the FIND_XXX() commands. It
+contains the "base" directories, the FIND_XXX() commands append
+appropriate subdirectories to the base directories. So FIND_PROGRAM()
+adds /bin to each of the directories in the path, FIND_LIBRARY()
+appends /lib to each of the directories, and FIND_PATH() and
+FIND_FILE() append /include . By default this contains the standard
+directories for the current system, the CMAKE_INSTALL_PREFIX and
+the :variable:`CMAKE_STAGING_PREFIX`. It is NOT intended to be modified by
+the project, use CMAKE_PREFIX_PATH for this. See also CMAKE_SYSTEM_INCLUDE_PATH,
+CMAKE_SYSTEM_LIBRARY_PATH, CMAKE_SYSTEM_PROGRAM_PATH, and
+CMAKE_SYSTEM_IGNORE_PATH.
diff --git a/Help/variable/CMAKE_SYSTEM_PROCESSOR.rst b/Help/variable/CMAKE_SYSTEM_PROCESSOR.rst
new file mode 100644
index 0000000..1655ada
--- /dev/null
+++ b/Help/variable/CMAKE_SYSTEM_PROCESSOR.rst
@@ -0,0 +1,8 @@
+CMAKE_SYSTEM_PROCESSOR
+----------------------
+
+The name of the CPU CMake is building for.
+
+On systems that support uname, this variable is set to the output of
+uname -p, on windows it is set to the value of the environment
+variable PROCESSOR_ARCHITECTURE
diff --git a/Help/variable/CMAKE_SYSTEM_PROGRAM_PATH.rst b/Help/variable/CMAKE_SYSTEM_PROGRAM_PATH.rst
new file mode 100644
index 0000000..e1fad63
--- /dev/null
+++ b/Help/variable/CMAKE_SYSTEM_PROGRAM_PATH.rst
@@ -0,0 +1,11 @@
+CMAKE_SYSTEM_PROGRAM_PATH
+-------------------------
+
+Path used for searching by FIND_PROGRAM().
+
+Specifies a path which will be used by FIND_PROGRAM(). FIND_PROGRAM()
+will check each of the contained directories for the existence of the
+program which is currently searched. By default it contains the
+standard directories for the current system. It is NOT intended to be
+modified by the project, use CMAKE_PROGRAM_PATH for this. See also
+CMAKE_SYSTEM_PREFIX_PATH.
diff --git a/Help/variable/CMAKE_SYSTEM_VERSION.rst b/Help/variable/CMAKE_SYSTEM_VERSION.rst
new file mode 100644
index 0000000..61bb40e
--- /dev/null
+++ b/Help/variable/CMAKE_SYSTEM_VERSION.rst
@@ -0,0 +1,8 @@
+CMAKE_SYSTEM_VERSION
+--------------------
+
+OS version CMake is building for.
+
+A numeric version string for the system, on systems that support
+uname, this variable is set to the output of uname -r. On other
+systems this is set to major-minor version numbers.
diff --git a/Help/variable/CMAKE_TOOLCHAIN_FILE.rst b/Help/variable/CMAKE_TOOLCHAIN_FILE.rst
new file mode 100644
index 0000000..e1a65e1
--- /dev/null
+++ b/Help/variable/CMAKE_TOOLCHAIN_FILE.rst
@@ -0,0 +1,9 @@
+CMAKE_TOOLCHAIN_FILE
+--------------------
+
+Path to toolchain file supplied to :manual:`cmake(1)`.
+
+This variable is specified on the command line when cross-compiling with CMake.
+It is the path to a file which is read early in the CMake run and which specifies
+locations for compilers and toolchain utilities, and other target platform and
+compiler related information.
diff --git a/Help/variable/CMAKE_TRY_COMPILE_CONFIGURATION.rst b/Help/variable/CMAKE_TRY_COMPILE_CONFIGURATION.rst
new file mode 100644
index 0000000..a92feab
--- /dev/null
+++ b/Help/variable/CMAKE_TRY_COMPILE_CONFIGURATION.rst
@@ -0,0 +1,9 @@
+CMAKE_TRY_COMPILE_CONFIGURATION
+-------------------------------
+
+Build configuration used for try_compile and try_run projects.
+
+Projects built by try_compile and try_run are built synchronously
+during the CMake configuration step. Therefore a specific build
+configuration must be chosen even if the generated build system
+supports multiple configurations.
diff --git a/Help/variable/CMAKE_TWEAK_VERSION.rst b/Help/variable/CMAKE_TWEAK_VERSION.rst
new file mode 100644
index 0000000..be2e050
--- /dev/null
+++ b/Help/variable/CMAKE_TWEAK_VERSION.rst
@@ -0,0 +1,11 @@
+CMAKE_TWEAK_VERSION
+-------------------
+
+Defined to ``0`` for compatibility with code written for older
+CMake versions that may have defined higher values.
+
+.. note::
+
+ In CMake versions 2.8.2 through 2.8.12, this variable holds
+ the fourth version number component of the
+ :variable:`CMAKE_VERSION` variable.
diff --git a/Help/variable/CMAKE_USER_MAKE_RULES_OVERRIDE.rst b/Help/variable/CMAKE_USER_MAKE_RULES_OVERRIDE.rst
new file mode 100644
index 0000000..5a4c86b
--- /dev/null
+++ b/Help/variable/CMAKE_USER_MAKE_RULES_OVERRIDE.rst
@@ -0,0 +1,23 @@
+CMAKE_USER_MAKE_RULES_OVERRIDE
+------------------------------
+
+Specify a CMake file that overrides platform information.
+
+CMake loads the specified file while enabling support for each
+language from either the project() or enable_language() commands. It
+is loaded after CMake's builtin compiler and platform information
+modules have been loaded but before the information is used. The file
+may set platform information variables to override CMake's defaults.
+
+This feature is intended for use only in overriding information
+variables that must be set before CMake builds its first test project
+to check that the compiler for a language works. It should not be
+used to load a file in cases that a normal include() will work. Use
+it only as a last resort for behavior that cannot be achieved any
+other way. For example, one may set CMAKE_C_FLAGS_INIT to change the
+default value used to initialize CMAKE_C_FLAGS before it is cached.
+The override file should NOT be used to set anything that could be set
+after languages are enabled, such as variables like
+CMAKE_RUNTIME_OUTPUT_DIRECTORY that affect the placement of binaries.
+Information set in the file will be used for try_compile and try_run
+builds too.
diff --git a/Help/variable/CMAKE_USER_MAKE_RULES_OVERRIDE_LANG.rst b/Help/variable/CMAKE_USER_MAKE_RULES_OVERRIDE_LANG.rst
new file mode 100644
index 0000000..e6d2c68
--- /dev/null
+++ b/Help/variable/CMAKE_USER_MAKE_RULES_OVERRIDE_LANG.rst
@@ -0,0 +1,7 @@
+CMAKE_USER_MAKE_RULES_OVERRIDE_<LANG>
+-------------------------------------
+
+Specify a CMake file that overrides platform information for <LANG>.
+
+This is a language-specific version of CMAKE_USER_MAKE_RULES_OVERRIDE
+loaded only when enabling language <LANG>.
diff --git a/Help/variable/CMAKE_USE_RELATIVE_PATHS.rst b/Help/variable/CMAKE_USE_RELATIVE_PATHS.rst
new file mode 100644
index 0000000..af6f08c
--- /dev/null
+++ b/Help/variable/CMAKE_USE_RELATIVE_PATHS.rst
@@ -0,0 +1,10 @@
+CMAKE_USE_RELATIVE_PATHS
+------------------------
+
+Use relative paths (May not work!).
+
+If this is set to TRUE, then CMake will use relative paths between the
+source and binary tree. This option does not work for more
+complicated projects, and relative paths are used when possible. In
+general, it is not possible to move CMake generated makefiles to a
+different location regardless of the value of this variable.
diff --git a/Help/variable/CMAKE_VERBOSE_MAKEFILE.rst b/Help/variable/CMAKE_VERBOSE_MAKEFILE.rst
new file mode 100644
index 0000000..2420a25
--- /dev/null
+++ b/Help/variable/CMAKE_VERBOSE_MAKEFILE.rst
@@ -0,0 +1,9 @@
+CMAKE_VERBOSE_MAKEFILE
+----------------------
+
+Enable verbose output from Makefile builds.
+
+This variable is a cache entry initialized (to FALSE) by
+the :command:`project` command. Users may enable the option
+in their local build tree to get more verbose output from
+Makefile builds and show each command line as it is launched.
diff --git a/Help/variable/CMAKE_VERSION.rst b/Help/variable/CMAKE_VERSION.rst
new file mode 100644
index 0000000..bbb1d91
--- /dev/null
+++ b/Help/variable/CMAKE_VERSION.rst
@@ -0,0 +1,51 @@
+CMAKE_VERSION
+-------------
+
+The CMake version string as three non-negative integer components
+separated by ``.`` and possibly followed by ``-`` and other information.
+The first two components represent the feature level and the third
+component represents either a bug-fix level or development date.
+
+Release versions and release candidate versions of CMake use the format::
+
+ <major>.<minor>.<patch>[-rc<n>]
+
+where the ``<patch>`` component is less than ``20000000``. Development
+versions of CMake use the format::
+
+ <major>.<minor>.<date>[-<id>]
+
+where the ``<date>`` component is of format ``CCYYMMDD`` and ``<id>``
+may contain arbitrary text. This represents development as of a
+particular date following the ``<major>.<minor>`` feature release.
+
+Individual component values are also available in variables:
+
+* :variable:`CMAKE_MAJOR_VERSION`
+* :variable:`CMAKE_MINOR_VERSION`
+* :variable:`CMAKE_PATCH_VERSION`
+* :variable:`CMAKE_TWEAK_VERSION`
+
+Use the :command:`if` command ``VERSION_LESS``, ``VERSION_EQUAL``, or
+``VERSION_GREATER`` operators to compare version string values against
+``CMAKE_VERSION`` using a component-wise test. Version component
+values may be 10 or larger so do not attempt to compare version
+strings as floating-point numbers.
+
+.. note::
+
+ CMake versions 2.8.2 through 2.8.12 used three components for the
+ feature level. Release versions represented the bug-fix level in a
+ fourth component, i.e. ``<major>.<minor>.<patch>[.<tweak>][-rc<n>]``.
+ Development versions represented the development date in the fourth
+ component, i.e. ``<major>.<minor>.<patch>.<date>[-<id>]``.
+
+ CMake versions prior to 2.8.2 used three components for the
+ feature level and had no bug-fix component. Release versions
+ used an even-valued second component, i.e.
+ ``<major>.<even-minor>.<patch>[-rc<n>]``. Development versions
+ used an odd-valued second component with the development date as
+ the third component, i.e. ``<major>.<odd-minor>.<date>``.
+
+ The ``CMAKE_VERSION`` variable is defined by CMake 2.6.3 and higher.
+ Earlier versions defined only the individual component variables.
diff --git a/Help/variable/CMAKE_VISIBILITY_INLINES_HIDDEN.rst b/Help/variable/CMAKE_VISIBILITY_INLINES_HIDDEN.rst
new file mode 100644
index 0000000..f55c7b1
--- /dev/null
+++ b/Help/variable/CMAKE_VISIBILITY_INLINES_HIDDEN.rst
@@ -0,0 +1,8 @@
+CMAKE_VISIBILITY_INLINES_HIDDEN
+-------------------------------
+
+Default value for VISIBILITY_INLINES_HIDDEN of targets.
+
+This variable is used to initialize the VISIBILITY_INLINES_HIDDEN
+property on all the targets. See that target property for additional
+information.
diff --git a/Help/variable/CMAKE_VS_DEVENV_COMMAND.rst b/Help/variable/CMAKE_VS_DEVENV_COMMAND.rst
new file mode 100644
index 0000000..14cc50a
--- /dev/null
+++ b/Help/variable/CMAKE_VS_DEVENV_COMMAND.rst
@@ -0,0 +1,14 @@
+CMAKE_VS_DEVENV_COMMAND
+-----------------------
+
+The generators for :generator:`Visual Studio 7` and above set this
+variable to the ``devenv.com`` command installed with the corresponding
+Visual Studio version. Note that this variable may be empty on
+Visual Studio Express editions because they do not provide this tool.
+
+This variable is not defined by other generators even if ``devenv.com``
+is installed on the computer.
+
+The :variable:`CMAKE_VS_MSBUILD_COMMAND` is also provided for
+:generator:`Visual Studio 10 2010` and above.
+See also the :variable:`CMAKE_MAKE_PROGRAM` variable.
diff --git a/Help/variable/CMAKE_VS_INTEL_Fortran_PROJECT_VERSION.rst b/Help/variable/CMAKE_VS_INTEL_Fortran_PROJECT_VERSION.rst
new file mode 100644
index 0000000..7e9d317
--- /dev/null
+++ b/Help/variable/CMAKE_VS_INTEL_Fortran_PROJECT_VERSION.rst
@@ -0,0 +1,7 @@
+CMAKE_VS_INTEL_Fortran_PROJECT_VERSION
+--------------------------------------
+
+When generating for Visual Studio 7 or greater with the Intel Fortran
+plugin installed, this specifies the .vfproj project file format
+version. This is intended for internal use by CMake and should not be
+used by project code.
diff --git a/Help/variable/CMAKE_VS_MSBUILD_COMMAND.rst b/Help/variable/CMAKE_VS_MSBUILD_COMMAND.rst
new file mode 100644
index 0000000..58f2bef
--- /dev/null
+++ b/Help/variable/CMAKE_VS_MSBUILD_COMMAND.rst
@@ -0,0 +1,13 @@
+CMAKE_VS_MSBUILD_COMMAND
+------------------------
+
+The generators for :generator:`Visual Studio 10 2010` and above set this
+variable to the ``MSBuild.exe`` command installed with the corresponding
+Visual Studio version.
+
+This variable is not defined by other generators even if ``MSBuild.exe``
+is installed on the computer.
+
+The :variable:`CMAKE_VS_DEVENV_COMMAND` is also provided for the
+non-Express editions of Visual Studio.
+See also the :variable:`CMAKE_MAKE_PROGRAM` variable.
diff --git a/Help/variable/CMAKE_VS_MSDEV_COMMAND.rst b/Help/variable/CMAKE_VS_MSDEV_COMMAND.rst
new file mode 100644
index 0000000..718baaf
--- /dev/null
+++ b/Help/variable/CMAKE_VS_MSDEV_COMMAND.rst
@@ -0,0 +1,10 @@
+CMAKE_VS_MSDEV_COMMAND
+----------------------
+
+The :generator:`Visual Studio 6` generator sets this variable to the
+``msdev.exe`` command installed with Visual Studio 6.
+
+This variable is not defined by other generators even if ``msdev.exe``
+is installed on the computer.
+
+See also the :variable:`CMAKE_MAKE_PROGRAM` variable.
diff --git a/Help/variable/CMAKE_VS_PLATFORM_TOOLSET.rst b/Help/variable/CMAKE_VS_PLATFORM_TOOLSET.rst
new file mode 100644
index 0000000..08c6061
--- /dev/null
+++ b/Help/variable/CMAKE_VS_PLATFORM_TOOLSET.rst
@@ -0,0 +1,10 @@
+CMAKE_VS_PLATFORM_TOOLSET
+-------------------------
+
+Visual Studio Platform Toolset name.
+
+VS 10 and above use MSBuild under the hood and support multiple
+compiler toolchains. CMake may specify a toolset explicitly, such as
+"v110" for VS 11 or "Windows7.1SDK" for 64-bit support in VS 10
+Express. CMake provides the name of the chosen toolset in this
+variable.
diff --git a/Help/variable/CMAKE_WARN_DEPRECATED.rst b/Help/variable/CMAKE_WARN_DEPRECATED.rst
new file mode 100644
index 0000000..7b2510b
--- /dev/null
+++ b/Help/variable/CMAKE_WARN_DEPRECATED.rst
@@ -0,0 +1,7 @@
+CMAKE_WARN_DEPRECATED
+---------------------
+
+Whether to issue deprecation warnings for macros and functions.
+
+If TRUE, this can be used by macros and functions to issue deprecation
+warnings. This variable is FALSE by default.
diff --git a/Help/variable/CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION.rst b/Help/variable/CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION.rst
new file mode 100644
index 0000000..f6a188d
--- /dev/null
+++ b/Help/variable/CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION.rst
@@ -0,0 +1,8 @@
+CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION
+------------------------------------------
+
+Ask cmake_install.cmake script to warn each time a file with absolute INSTALL DESTINATION is encountered.
+
+This variable is used by CMake-generated cmake_install.cmake scripts.
+If one sets this variable to ON while running the script, it may get
+warning messages from the script.
diff --git a/Help/variable/CMAKE_WIN32_EXECUTABLE.rst b/Help/variable/CMAKE_WIN32_EXECUTABLE.rst
new file mode 100644
index 0000000..3e1e0dd
--- /dev/null
+++ b/Help/variable/CMAKE_WIN32_EXECUTABLE.rst
@@ -0,0 +1,7 @@
+CMAKE_WIN32_EXECUTABLE
+----------------------
+
+Default value for WIN32_EXECUTABLE of targets.
+
+This variable is used to initialize the WIN32_EXECUTABLE property on
+all the targets. See that target property for additional information.
diff --git a/Help/variable/CMAKE_XCODE_PLATFORM_TOOLSET.rst b/Help/variable/CMAKE_XCODE_PLATFORM_TOOLSET.rst
new file mode 100644
index 0000000..f0a4841
--- /dev/null
+++ b/Help/variable/CMAKE_XCODE_PLATFORM_TOOLSET.rst
@@ -0,0 +1,9 @@
+CMAKE_XCODE_PLATFORM_TOOLSET
+----------------------------
+
+Xcode compiler selection.
+
+Xcode supports selection of a compiler from one of the installed
+toolsets. CMake provides the name of the chosen toolset in this
+variable, if any is explicitly selected (e.g. via the cmake -T
+option).
diff --git a/Help/variable/CPACK_ABSOLUTE_DESTINATION_FILES.rst b/Help/variable/CPACK_ABSOLUTE_DESTINATION_FILES.rst
new file mode 100644
index 0000000..d836629
--- /dev/null
+++ b/Help/variable/CPACK_ABSOLUTE_DESTINATION_FILES.rst
@@ -0,0 +1,10 @@
+CPACK_ABSOLUTE_DESTINATION_FILES
+--------------------------------
+
+List of files which have been installed using an ABSOLUTE DESTINATION path.
+
+This variable is a Read-Only variable which is set internally by CPack
+during installation and before packaging using
+CMAKE_ABSOLUTE_DESTINATION_FILES defined in cmake_install.cmake
+scripts. The value can be used within CPack project configuration
+file and/or CPack<GEN>.cmake file of <GEN> generator.
diff --git a/Help/variable/CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY.rst b/Help/variable/CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY.rst
new file mode 100644
index 0000000..e938978
--- /dev/null
+++ b/Help/variable/CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY.rst
@@ -0,0 +1,8 @@
+CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY
+------------------------------------------
+
+Boolean toggle to include/exclude top level directory (component case).
+
+Similar usage as CPACK_INCLUDE_TOPLEVEL_DIRECTORY but for the
+component case. See CPACK_INCLUDE_TOPLEVEL_DIRECTORY documentation
+for the detail.
diff --git a/Help/variable/CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION.rst b/Help/variable/CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION.rst
new file mode 100644
index 0000000..4d96385
--- /dev/null
+++ b/Help/variable/CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION.rst
@@ -0,0 +1,10 @@
+CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION
+-------------------------------------------
+
+Ask CPack to error out as soon as a file with absolute INSTALL DESTINATION is encountered.
+
+The fatal error is emitted before the installation of the offending
+file takes place. Some CPack generators, like NSIS,enforce this
+internally. This variable triggers the definition
+ofCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION when CPack runsVariables
+common to all CPack generators
diff --git a/Help/variable/CPACK_INCLUDE_TOPLEVEL_DIRECTORY.rst b/Help/variable/CPACK_INCLUDE_TOPLEVEL_DIRECTORY.rst
new file mode 100644
index 0000000..4f96bff
--- /dev/null
+++ b/Help/variable/CPACK_INCLUDE_TOPLEVEL_DIRECTORY.rst
@@ -0,0 +1,19 @@
+CPACK_INCLUDE_TOPLEVEL_DIRECTORY
+--------------------------------
+
+Boolean toggle to include/exclude top level directory.
+
+When preparing a package CPack installs the item under the so-called
+top level directory. The purpose of is to include (set to 1 or ON or
+TRUE) the top level directory in the package or not (set to 0 or OFF
+or FALSE).
+
+Each CPack generator has a built-in default value for this variable.
+E.g. Archive generators (ZIP, TGZ, ...) includes the top level
+whereas RPM or DEB don't. The user may override the default value by
+setting this variable.
+
+There is a similar variable CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY
+which may be used to override the behavior for the component packaging
+case which may have different default value for historical (now
+backward compatibility) reason.
diff --git a/Help/variable/CPACK_INSTALL_SCRIPT.rst b/Help/variable/CPACK_INSTALL_SCRIPT.rst
new file mode 100644
index 0000000..59b8cd7
--- /dev/null
+++ b/Help/variable/CPACK_INSTALL_SCRIPT.rst
@@ -0,0 +1,8 @@
+CPACK_INSTALL_SCRIPT
+--------------------
+
+Extra CMake script provided by the user.
+
+If set this CMake script will be executed by CPack during its local
+[CPack-private] installation which is done right before packaging the
+files. The script is not called by e.g.: make install.
diff --git a/Help/variable/CPACK_PACKAGING_INSTALL_PREFIX.rst b/Help/variable/CPACK_PACKAGING_INSTALL_PREFIX.rst
new file mode 100644
index 0000000..f9cfa1b
--- /dev/null
+++ b/Help/variable/CPACK_PACKAGING_INSTALL_PREFIX.rst
@@ -0,0 +1,13 @@
+CPACK_PACKAGING_INSTALL_PREFIX
+------------------------------
+
+The prefix used in the built package.
+
+Each CPack generator has a default value (like /usr). This default
+value may be overwritten from the CMakeLists.txt or the cpack command
+line by setting an alternative value.
+
+e.g. set(CPACK_PACKAGING_INSTALL_PREFIX "/opt")
+
+This is not the same purpose as CMAKE_INSTALL_PREFIX which is used
+when installing from the build tree without building a package.
diff --git a/Help/variable/CPACK_SET_DESTDIR.rst b/Help/variable/CPACK_SET_DESTDIR.rst
new file mode 100644
index 0000000..69d82e6
--- /dev/null
+++ b/Help/variable/CPACK_SET_DESTDIR.rst
@@ -0,0 +1,30 @@
+CPACK_SET_DESTDIR
+-----------------
+
+Boolean toggle to make CPack use DESTDIR mechanism when packaging.
+
+DESTDIR means DESTination DIRectory. It is commonly used by makefile
+users in order to install software at non-default location. It is a
+basic relocation mechanism that should not be used on Windows (see
+CMAKE_INSTALL_PREFIX documentation). It is usually invoked like this:
+
+::
+
+ make DESTDIR=/home/john install
+
+which will install the concerned software using the installation
+prefix, e.g. "/usr/local" prepended with the DESTDIR value which
+finally gives "/home/john/usr/local". When preparing a package, CPack
+first installs the items to be packaged in a local (to the build tree)
+directory by using the same DESTDIR mechanism. Nevertheless, if
+CPACK_SET_DESTDIR is set then CPack will set DESTDIR before doing the
+local install. The most noticeable difference is that without
+CPACK_SET_DESTDIR, CPack uses CPACK_PACKAGING_INSTALL_PREFIX as a
+prefix whereas with CPACK_SET_DESTDIR set, CPack will use
+CMAKE_INSTALL_PREFIX as a prefix.
+
+Manually setting CPACK_SET_DESTDIR may help (or simply be necessary)
+if some install rules uses absolute DESTINATION (see CMake INSTALL
+command). However, starting with CPack/CMake 2.8.3 RPM and DEB
+installers tries to handle DESTDIR automatically so that it is seldom
+necessary for the user to set it.
diff --git a/Help/variable/CPACK_WARN_ON_ABSOLUTE_INSTALL_DESTINATION.rst b/Help/variable/CPACK_WARN_ON_ABSOLUTE_INSTALL_DESTINATION.rst
new file mode 100644
index 0000000..8d6f54f
--- /dev/null
+++ b/Help/variable/CPACK_WARN_ON_ABSOLUTE_INSTALL_DESTINATION.rst
@@ -0,0 +1,8 @@
+CPACK_WARN_ON_ABSOLUTE_INSTALL_DESTINATION
+------------------------------------------
+
+Ask CPack to warn each time a file with absolute INSTALL DESTINATION is encountered.
+
+This variable triggers the definition of
+CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION when CPack runs
+cmake_install.cmake scripts.
diff --git a/Help/variable/CYGWIN.rst b/Help/variable/CYGWIN.rst
new file mode 100644
index 0000000..c168878
--- /dev/null
+++ b/Help/variable/CYGWIN.rst
@@ -0,0 +1,6 @@
+CYGWIN
+------
+
+True for Cygwin.
+
+Set to true when using Cygwin.
diff --git a/Help/variable/ENV.rst b/Help/variable/ENV.rst
new file mode 100644
index 0000000..977afc3
--- /dev/null
+++ b/Help/variable/ENV.rst
@@ -0,0 +1,7 @@
+ENV
+---
+
+Access environment variables.
+
+Use the syntax $ENV{VAR} to read environment variable VAR. See also
+the set() command to set ENV{VAR}.
diff --git a/Help/variable/EXECUTABLE_OUTPUT_PATH.rst b/Help/variable/EXECUTABLE_OUTPUT_PATH.rst
new file mode 100644
index 0000000..7079230
--- /dev/null
+++ b/Help/variable/EXECUTABLE_OUTPUT_PATH.rst
@@ -0,0 +1,8 @@
+EXECUTABLE_OUTPUT_PATH
+----------------------
+
+Old executable location variable.
+
+The target property RUNTIME_OUTPUT_DIRECTORY supercedes this variable
+for a target if it is set. Executable targets are otherwise placed in
+this directory.
diff --git a/Help/variable/LIBRARY_OUTPUT_PATH.rst b/Help/variable/LIBRARY_OUTPUT_PATH.rst
new file mode 100644
index 0000000..1c1f8ae
--- /dev/null
+++ b/Help/variable/LIBRARY_OUTPUT_PATH.rst
@@ -0,0 +1,9 @@
+LIBRARY_OUTPUT_PATH
+-------------------
+
+Old library location variable.
+
+The target properties ARCHIVE_OUTPUT_DIRECTORY,
+LIBRARY_OUTPUT_DIRECTORY, and RUNTIME_OUTPUT_DIRECTORY supercede this
+variable for a target if they are set. Library targets are otherwise
+placed in this directory.
diff --git a/Help/variable/MSVC.rst b/Help/variable/MSVC.rst
new file mode 100644
index 0000000..e9f931b
--- /dev/null
+++ b/Help/variable/MSVC.rst
@@ -0,0 +1,6 @@
+MSVC
+----
+
+True when using Microsoft Visual C
+
+Set to true when the compiler is some version of Microsoft Visual C.
diff --git a/Help/variable/MSVC10.rst b/Help/variable/MSVC10.rst
new file mode 100644
index 0000000..894c5aa
--- /dev/null
+++ b/Help/variable/MSVC10.rst
@@ -0,0 +1,6 @@
+MSVC10
+------
+
+True when using Microsoft Visual C 10.0
+
+Set to true when the compiler is version 10.0 of Microsoft Visual C.
diff --git a/Help/variable/MSVC11.rst b/Help/variable/MSVC11.rst
new file mode 100644
index 0000000..fe25297
--- /dev/null
+++ b/Help/variable/MSVC11.rst
@@ -0,0 +1,6 @@
+MSVC11
+------
+
+True when using Microsoft Visual C 11.0
+
+Set to true when the compiler is version 11.0 of Microsoft Visual C.
diff --git a/Help/variable/MSVC12.rst b/Help/variable/MSVC12.rst
new file mode 100644
index 0000000..216d3d3
--- /dev/null
+++ b/Help/variable/MSVC12.rst
@@ -0,0 +1,6 @@
+MSVC12
+------
+
+True when using Microsoft Visual C 12.0
+
+Set to true when the compiler is version 12.0 of Microsoft Visual C.
diff --git a/Help/variable/MSVC60.rst b/Help/variable/MSVC60.rst
new file mode 100644
index 0000000..572e9f4
--- /dev/null
+++ b/Help/variable/MSVC60.rst
@@ -0,0 +1,6 @@
+MSVC60
+------
+
+True when using Microsoft Visual C 6.0
+
+Set to true when the compiler is version 6.0 of Microsoft Visual C.
diff --git a/Help/variable/MSVC70.rst b/Help/variable/MSVC70.rst
new file mode 100644
index 0000000..b1b7a881
--- /dev/null
+++ b/Help/variable/MSVC70.rst
@@ -0,0 +1,6 @@
+MSVC70
+------
+
+True when using Microsoft Visual C 7.0
+
+Set to true when the compiler is version 7.0 of Microsoft Visual C.
diff --git a/Help/variable/MSVC71.rst b/Help/variable/MSVC71.rst
new file mode 100644
index 0000000..af309a6
--- /dev/null
+++ b/Help/variable/MSVC71.rst
@@ -0,0 +1,6 @@
+MSVC71
+------
+
+True when using Microsoft Visual C 7.1
+
+Set to true when the compiler is version 7.1 of Microsoft Visual C.
diff --git a/Help/variable/MSVC80.rst b/Help/variable/MSVC80.rst
new file mode 100644
index 0000000..306c67f
--- /dev/null
+++ b/Help/variable/MSVC80.rst
@@ -0,0 +1,6 @@
+MSVC80
+------
+
+True when using Microsoft Visual C 8.0
+
+Set to true when the compiler is version 8.0 of Microsoft Visual C.
diff --git a/Help/variable/MSVC90.rst b/Help/variable/MSVC90.rst
new file mode 100644
index 0000000..3cfcc67
--- /dev/null
+++ b/Help/variable/MSVC90.rst
@@ -0,0 +1,6 @@
+MSVC90
+------
+
+True when using Microsoft Visual C 9.0
+
+Set to true when the compiler is version 9.0 of Microsoft Visual C.
diff --git a/Help/variable/MSVC_IDE.rst b/Help/variable/MSVC_IDE.rst
new file mode 100644
index 0000000..055f876
--- /dev/null
+++ b/Help/variable/MSVC_IDE.rst
@@ -0,0 +1,7 @@
+MSVC_IDE
+--------
+
+True when using the Microsoft Visual C IDE
+
+Set to true when the target platform is the Microsoft Visual C IDE, as
+opposed to the command line compiler.
diff --git a/Help/variable/MSVC_VERSION.rst b/Help/variable/MSVC_VERSION.rst
new file mode 100644
index 0000000..d74114e
--- /dev/null
+++ b/Help/variable/MSVC_VERSION.rst
@@ -0,0 +1,17 @@
+MSVC_VERSION
+------------
+
+The version of Microsoft Visual C/C++ being used if any.
+
+Known version numbers are:
+
+::
+
+ 1200 = VS 6.0
+ 1300 = VS 7.0
+ 1310 = VS 7.1
+ 1400 = VS 8.0
+ 1500 = VS 9.0
+ 1600 = VS 10.0
+ 1700 = VS 11.0
+ 1800 = VS 12.0
diff --git a/Help/variable/PROJECT-NAME_BINARY_DIR.rst b/Help/variable/PROJECT-NAME_BINARY_DIR.rst
new file mode 100644
index 0000000..49bc558
--- /dev/null
+++ b/Help/variable/PROJECT-NAME_BINARY_DIR.rst
@@ -0,0 +1,8 @@
+<PROJECT-NAME>_BINARY_DIR
+-------------------------
+
+Top level binary directory for the named project.
+
+A variable is created with the name used in the :command:`project` command,
+and is the binary directory for the project. This can be useful when
+:command:`add_subdirectory` is used to connect several projects.
diff --git a/Help/variable/PROJECT-NAME_SOURCE_DIR.rst b/Help/variable/PROJECT-NAME_SOURCE_DIR.rst
new file mode 100644
index 0000000..4df3e22
--- /dev/null
+++ b/Help/variable/PROJECT-NAME_SOURCE_DIR.rst
@@ -0,0 +1,8 @@
+<PROJECT-NAME>_SOURCE_DIR
+-------------------------
+
+Top level source directory for the named project.
+
+A variable is created with the name used in the :command:`project` command,
+and is the source directory for the project. This can be useful when
+:command:`add_subdirectory` is used to connect several projects.
diff --git a/Help/variable/PROJECT-NAME_VERSION.rst b/Help/variable/PROJECT-NAME_VERSION.rst
new file mode 100644
index 0000000..0f6ed51
--- /dev/null
+++ b/Help/variable/PROJECT-NAME_VERSION.rst
@@ -0,0 +1,11 @@
+<PROJECT-NAME>_VERSION
+----------------------
+
+Value given to the ``VERSION`` option of the most recent call to the
+:command:`project` command with project name ``<PROJECT-NAME>``, if any.
+
+See also the component-wise version variables
+:variable:`<PROJECT-NAME>_VERSION_MAJOR`,
+:variable:`<PROJECT-NAME>_VERSION_MINOR`,
+:variable:`<PROJECT-NAME>_VERSION_PATCH`, and
+:variable:`<PROJECT-NAME>_VERSION_TWEAK`.
diff --git a/Help/variable/PROJECT-NAME_VERSION_MAJOR.rst b/Help/variable/PROJECT-NAME_VERSION_MAJOR.rst
new file mode 100644
index 0000000..9e2d755
--- /dev/null
+++ b/Help/variable/PROJECT-NAME_VERSION_MAJOR.rst
@@ -0,0 +1,5 @@
+<PROJECT-NAME>_VERSION_MAJOR
+----------------------------
+
+First version number component of the :variable:`<PROJECT-NAME>_VERSION`
+variable as set by the :command:`project` command.
diff --git a/Help/variable/PROJECT-NAME_VERSION_MINOR.rst b/Help/variable/PROJECT-NAME_VERSION_MINOR.rst
new file mode 100644
index 0000000..fa2cdab
--- /dev/null
+++ b/Help/variable/PROJECT-NAME_VERSION_MINOR.rst
@@ -0,0 +1,5 @@
+<PROJECT-NAME>_VERSION_MINOR
+----------------------------
+
+Second version number component of the :variable:`<PROJECT-NAME>_VERSION`
+variable as set by the :command:`project` command.
diff --git a/Help/variable/PROJECT-NAME_VERSION_PATCH.rst b/Help/variable/PROJECT-NAME_VERSION_PATCH.rst
new file mode 100644
index 0000000..85b5e6b
--- /dev/null
+++ b/Help/variable/PROJECT-NAME_VERSION_PATCH.rst
@@ -0,0 +1,5 @@
+<PROJECT-NAME>_VERSION_PATCH
+----------------------------
+
+Third version number component of the :variable:`<PROJECT-NAME>_VERSION`
+variable as set by the :command:`project` command.
diff --git a/Help/variable/PROJECT-NAME_VERSION_TWEAK.rst b/Help/variable/PROJECT-NAME_VERSION_TWEAK.rst
new file mode 100644
index 0000000..65c4044
--- /dev/null
+++ b/Help/variable/PROJECT-NAME_VERSION_TWEAK.rst
@@ -0,0 +1,5 @@
+<PROJECT-NAME>_VERSION_TWEAK
+----------------------------
+
+Fourth version number component of the :variable:`<PROJECT-NAME>_VERSION`
+variable as set by the :command:`project` command.
diff --git a/Help/variable/PROJECT_BINARY_DIR.rst b/Help/variable/PROJECT_BINARY_DIR.rst
new file mode 100644
index 0000000..09e9ef2
--- /dev/null
+++ b/Help/variable/PROJECT_BINARY_DIR.rst
@@ -0,0 +1,6 @@
+PROJECT_BINARY_DIR
+------------------
+
+Full path to build directory for project.
+
+This is the binary directory of the most recent :command:`project` command.
diff --git a/Help/variable/PROJECT_NAME.rst b/Help/variable/PROJECT_NAME.rst
new file mode 100644
index 0000000..61aa8bc
--- /dev/null
+++ b/Help/variable/PROJECT_NAME.rst
@@ -0,0 +1,6 @@
+PROJECT_NAME
+------------
+
+Name of the project given to the project command.
+
+This is the name given to the most recent :command:`project` command.
diff --git a/Help/variable/PROJECT_SOURCE_DIR.rst b/Help/variable/PROJECT_SOURCE_DIR.rst
new file mode 100644
index 0000000..27f2838
--- /dev/null
+++ b/Help/variable/PROJECT_SOURCE_DIR.rst
@@ -0,0 +1,6 @@
+PROJECT_SOURCE_DIR
+------------------
+
+Top level source directory for the current project.
+
+This is the source directory of the most recent :command:`project` command.
diff --git a/Help/variable/PROJECT_VERSION.rst b/Help/variable/PROJECT_VERSION.rst
new file mode 100644
index 0000000..234558d
--- /dev/null
+++ b/Help/variable/PROJECT_VERSION.rst
@@ -0,0 +1,11 @@
+PROJECT_VERSION
+---------------
+
+Value given to the ``VERSION`` option of the most recent call to the
+:command:`project` command, if any.
+
+See also the component-wise version variables
+:variable:`PROJECT_VERSION_MAJOR`,
+:variable:`PROJECT_VERSION_MINOR`,
+:variable:`PROJECT_VERSION_PATCH`, and
+:variable:`PROJECT_VERSION_TWEAK`.
diff --git a/Help/variable/PROJECT_VERSION_MAJOR.rst b/Help/variable/PROJECT_VERSION_MAJOR.rst
new file mode 100644
index 0000000..4b6072c
--- /dev/null
+++ b/Help/variable/PROJECT_VERSION_MAJOR.rst
@@ -0,0 +1,5 @@
+PROJECT_VERSION_MAJOR
+---------------------
+
+First version number component of the :variable:`PROJECT_VERSION`
+variable as set by the :command:`project` command.
diff --git a/Help/variable/PROJECT_VERSION_MINOR.rst b/Help/variable/PROJECT_VERSION_MINOR.rst
new file mode 100644
index 0000000..5f31220
--- /dev/null
+++ b/Help/variable/PROJECT_VERSION_MINOR.rst
@@ -0,0 +1,5 @@
+PROJECT_VERSION_MINOR
+---------------------
+
+Second version number component of the :variable:`PROJECT_VERSION`
+variable as set by the :command:`project` command.
diff --git a/Help/variable/PROJECT_VERSION_PATCH.rst b/Help/variable/PROJECT_VERSION_PATCH.rst
new file mode 100644
index 0000000..ac72ec0
--- /dev/null
+++ b/Help/variable/PROJECT_VERSION_PATCH.rst
@@ -0,0 +1,5 @@
+PROJECT_VERSION_PATCH
+---------------------
+
+Third version number component of the :variable:`PROJECT_VERSION`
+variable as set by the :command:`project` command.
diff --git a/Help/variable/PROJECT_VERSION_TWEAK.rst b/Help/variable/PROJECT_VERSION_TWEAK.rst
new file mode 100644
index 0000000..d7f96d6
--- /dev/null
+++ b/Help/variable/PROJECT_VERSION_TWEAK.rst
@@ -0,0 +1,5 @@
+PROJECT_VERSION_TWEAK
+---------------------
+
+Fourth version number component of the :variable:`PROJECT_VERSION`
+variable as set by the :command:`project` command.
diff --git a/Help/variable/UNIX.rst b/Help/variable/UNIX.rst
new file mode 100644
index 0000000..82e3454
--- /dev/null
+++ b/Help/variable/UNIX.rst
@@ -0,0 +1,7 @@
+UNIX
+----
+
+True for UNIX and UNIX like operating systems.
+
+Set to true when the target system is UNIX or UNIX like (i.e. APPLE
+and CYGWIN).
diff --git a/Help/variable/WIN32.rst b/Help/variable/WIN32.rst
new file mode 100644
index 0000000..8cf7bf3
--- /dev/null
+++ b/Help/variable/WIN32.rst
@@ -0,0 +1,6 @@
+WIN32
+-----
+
+True on windows systems, including win64.
+
+Set to true when the target system is Windows.
diff --git a/Help/variable/XCODE_VERSION.rst b/Help/variable/XCODE_VERSION.rst
new file mode 100644
index 0000000..b6f0403
--- /dev/null
+++ b/Help/variable/XCODE_VERSION.rst
@@ -0,0 +1,7 @@
+XCODE_VERSION
+-------------
+
+Version of Xcode (Xcode generator only).
+
+Under the Xcode generator, this is the version of Xcode as specified
+in "Xcode.app/Contents/version.plist" (such as "3.1.2").
diff --git a/Licenses/LGPLv2.1.txt b/Licenses/LGPLv2.1.txt
new file mode 100644
index 0000000..4362b49
--- /dev/null
+++ b/Licenses/LGPLv2.1.txt
@@ -0,0 +1,502 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 2.1, February 1999
+
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+[This is the first released version of the Lesser GPL. It also counts
+ as the successor of the GNU Library Public License, version 2, hence
+ the version number 2.1.]
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+Licenses are intended to guarantee your freedom to share and change
+free software--to make sure the software is free for all its users.
+
+ This license, the Lesser General Public License, applies to some
+specially designated software packages--typically libraries--of the
+Free Software Foundation and other authors who decide to use it. You
+can use it too, but we suggest you first think carefully about whether
+this license or the ordinary General Public License is the better
+strategy to use in any particular case, based on the explanations below.
+
+ When we speak of free software, we are referring to freedom of use,
+not price. Our General Public Licenses are designed to make sure that
+you have the freedom to distribute copies of free software (and charge
+for this service if you wish); that you receive source code or can get
+it if you want it; that you can change the software and use pieces of
+it in new free programs; and that you are informed that you can do
+these things.
+
+ To protect your rights, we need to make restrictions that forbid
+distributors to deny you these rights or to ask you to surrender these
+rights. These restrictions translate to certain responsibilities for
+you if you distribute copies of the library or if you modify it.
+
+ For example, if you distribute copies of the library, whether gratis
+or for a fee, you must give the recipients all the rights that we gave
+you. You must make sure that they, too, receive or can get the source
+code. If you link other code with the library, you must provide
+complete object files to the recipients, so that they can relink them
+with the library after making changes to the library and recompiling
+it. And you must show them these terms so they know their rights.
+
+ We protect your rights with a two-step method: (1) we copyright the
+library, and (2) we offer you this license, which gives you legal
+permission to copy, distribute and/or modify the library.
+
+ To protect each distributor, we want to make it very clear that
+there is no warranty for the free library. Also, if the library is
+modified by someone else and passed on, the recipients should know
+that what they have is not the original version, so that the original
+author's reputation will not be affected by problems that might be
+introduced by others.
+
+ Finally, software patents pose a constant threat to the existence of
+any free program. We wish to make sure that a company cannot
+effectively restrict the users of a free program by obtaining a
+restrictive license from a patent holder. Therefore, we insist that
+any patent license obtained for a version of the library must be
+consistent with the full freedom of use specified in this license.
+
+ Most GNU software, including some libraries, is covered by the
+ordinary GNU General Public License. This license, the GNU Lesser
+General Public License, applies to certain designated libraries, and
+is quite different from the ordinary General Public License. We use
+this license for certain libraries in order to permit linking those
+libraries into non-free programs.
+
+ When a program is linked with a library, whether statically or using
+a shared library, the combination of the two is legally speaking a
+combined work, a derivative of the original library. The ordinary
+General Public License therefore permits such linking only if the
+entire combination fits its criteria of freedom. The Lesser General
+Public License permits more lax criteria for linking other code with
+the library.
+
+ We call this license the "Lesser" General Public License because it
+does Less to protect the user's freedom than the ordinary General
+Public License. It also provides other free software developers Less
+of an advantage over competing non-free programs. These disadvantages
+are the reason we use the ordinary General Public License for many
+libraries. However, the Lesser license provides advantages in certain
+special circumstances.
+
+ For example, on rare occasions, there may be a special need to
+encourage the widest possible use of a certain library, so that it becomes
+a de-facto standard. To achieve this, non-free programs must be
+allowed to use the library. A more frequent case is that a free
+library does the same job as widely used non-free libraries. In this
+case, there is little to gain by limiting the free library to free
+software only, so we use the Lesser General Public License.
+
+ In other cases, permission to use a particular library in non-free
+programs enables a greater number of people to use a large body of
+free software. For example, permission to use the GNU C Library in
+non-free programs enables many more people to use the whole GNU
+operating system, as well as its variant, the GNU/Linux operating
+system.
+
+ Although the Lesser General Public License is Less protective of the
+users' freedom, it does ensure that the user of a program that is
+linked with the Library has the freedom and the wherewithal to run
+that program using a modified version of the Library.
+
+ The precise terms and conditions for copying, distribution and
+modification follow. Pay close attention to the difference between a
+"work based on the library" and a "work that uses the library". The
+former contains code derived from the library, whereas the latter must
+be combined with the library in order to run.
+
+ GNU LESSER GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License Agreement applies to any software library or other
+program which contains a notice placed by the copyright holder or
+other authorized party saying it may be distributed under the terms of
+this Lesser General Public License (also called "this License").
+Each licensee is addressed as "you".
+
+ A "library" means a collection of software functions and/or data
+prepared so as to be conveniently linked with application programs
+(which use some of those functions and data) to form executables.
+
+ The "Library", below, refers to any such software library or work
+which has been distributed under these terms. A "work based on the
+Library" means either the Library or any derivative work under
+copyright law: that is to say, a work containing the Library or a
+portion of it, either verbatim or with modifications and/or translated
+straightforwardly into another language. (Hereinafter, translation is
+included without limitation in the term "modification".)
+
+ "Source code" for a work means the preferred form of the work for
+making modifications to it. For a library, complete source code means
+all the source code for all modules it contains, plus any associated
+interface definition files, plus the scripts used to control compilation
+and installation of the library.
+
+ Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running a program using the Library is not restricted, and output from
+such a program is covered only if its contents constitute a work based
+on the Library (independent of the use of the Library in a tool for
+writing it). Whether that is true depends on what the Library does
+and what the program that uses the Library does.
+
+ 1. You may copy and distribute verbatim copies of the Library's
+complete source code as you receive it, in any medium, provided that
+you conspicuously and appropriately publish on each copy an
+appropriate copyright notice and disclaimer of warranty; keep intact
+all the notices that refer to this License and to the absence of any
+warranty; and distribute a copy of this License along with the
+Library.
+
+ You may charge a fee for the physical act of transferring a copy,
+and you may at your option offer warranty protection in exchange for a
+fee.
+
+ 2. You may modify your copy or copies of the Library or any portion
+of it, thus forming a work based on the Library, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) The modified work must itself be a software library.
+
+ b) You must cause the files modified to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ c) You must cause the whole of the work to be licensed at no
+ charge to all third parties under the terms of this License.
+
+ d) If a facility in the modified Library refers to a function or a
+ table of data to be supplied by an application program that uses
+ the facility, other than as an argument passed when the facility
+ is invoked, then you must make a good faith effort to ensure that,
+ in the event an application does not supply such function or
+ table, the facility still operates, and performs whatever part of
+ its purpose remains meaningful.
+
+ (For example, a function in a library to compute square roots has
+ a purpose that is entirely well-defined independent of the
+ application. Therefore, Subsection 2d requires that any
+ application-supplied function or table used by this function must
+ be optional: if the application does not supply it, the square
+ root function must still compute square roots.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Library,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Library, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote
+it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Library.
+
+In addition, mere aggregation of another work not based on the Library
+with the Library (or with a work based on the Library) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may opt to apply the terms of the ordinary GNU General Public
+License instead of this License to a given copy of the Library. To do
+this, you must alter all the notices that refer to this License, so
+that they refer to the ordinary GNU General Public License, version 2,
+instead of to this License. (If a newer version than version 2 of the
+ordinary GNU General Public License has appeared, then you can specify
+that version instead if you wish.) Do not make any other change in
+these notices.
+
+ Once this change is made in a given copy, it is irreversible for
+that copy, so the ordinary GNU General Public License applies to all
+subsequent copies and derivative works made from that copy.
+
+ This option is useful when you wish to copy part of the code of
+the Library into a program that is not a library.
+
+ 4. You may copy and distribute the Library (or a portion or
+derivative of it, under Section 2) in object code or executable form
+under the terms of Sections 1 and 2 above provided that you accompany
+it with the complete corresponding machine-readable source code, which
+must be distributed under the terms of Sections 1 and 2 above on a
+medium customarily used for software interchange.
+
+ If distribution of object code is made by offering access to copy
+from a designated place, then offering equivalent access to copy the
+source code from the same place satisfies the requirement to
+distribute the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 5. A program that contains no derivative of any portion of the
+Library, but is designed to work with the Library by being compiled or
+linked with it, is called a "work that uses the Library". Such a
+work, in isolation, is not a derivative work of the Library, and
+therefore falls outside the scope of this License.
+
+ However, linking a "work that uses the Library" with the Library
+creates an executable that is a derivative of the Library (because it
+contains portions of the Library), rather than a "work that uses the
+library". The executable is therefore covered by this License.
+Section 6 states terms for distribution of such executables.
+
+ When a "work that uses the Library" uses material from a header file
+that is part of the Library, the object code for the work may be a
+derivative work of the Library even though the source code is not.
+Whether this is true is especially significant if the work can be
+linked without the Library, or if the work is itself a library. The
+threshold for this to be true is not precisely defined by law.
+
+ If such an object file uses only numerical parameters, data
+structure layouts and accessors, and small macros and small inline
+functions (ten lines or less in length), then the use of the object
+file is unrestricted, regardless of whether it is legally a derivative
+work. (Executables containing this object code plus portions of the
+Library will still fall under Section 6.)
+
+ Otherwise, if the work is a derivative of the Library, you may
+distribute the object code for the work under the terms of Section 6.
+Any executables containing that work also fall under Section 6,
+whether or not they are linked directly with the Library itself.
+
+ 6. As an exception to the Sections above, you may also combine or
+link a "work that uses the Library" with the Library to produce a
+work containing portions of the Library, and distribute that work
+under terms of your choice, provided that the terms permit
+modification of the work for the customer's own use and reverse
+engineering for debugging such modifications.
+
+ You must give prominent notice with each copy of the work that the
+Library is used in it and that the Library and its use are covered by
+this License. You must supply a copy of this License. If the work
+during execution displays copyright notices, you must include the
+copyright notice for the Library among them, as well as a reference
+directing the user to the copy of this License. Also, you must do one
+of these things:
+
+ a) Accompany the work with the complete corresponding
+ machine-readable source code for the Library including whatever
+ changes were used in the work (which must be distributed under
+ Sections 1 and 2 above); and, if the work is an executable linked
+ with the Library, with the complete machine-readable "work that
+ uses the Library", as object code and/or source code, so that the
+ user can modify the Library and then relink to produce a modified
+ executable containing the modified Library. (It is understood
+ that the user who changes the contents of definitions files in the
+ Library will not necessarily be able to recompile the application
+ to use the modified definitions.)
+
+ b) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (1) uses at run time a
+ copy of the library already present on the user's computer system,
+ rather than copying library functions into the executable, and (2)
+ will operate properly with a modified version of the library, if
+ the user installs one, as long as the modified version is
+ interface-compatible with the version that the work was made with.
+
+ c) Accompany the work with a written offer, valid for at
+ least three years, to give the same user the materials
+ specified in Subsection 6a, above, for a charge no more
+ than the cost of performing this distribution.
+
+ d) If distribution of the work is made by offering access to copy
+ from a designated place, offer equivalent access to copy the above
+ specified materials from the same place.
+
+ e) Verify that the user has already received a copy of these
+ materials or that you have already sent this user a copy.
+
+ For an executable, the required form of the "work that uses the
+Library" must include any data and utility programs needed for
+reproducing the executable from it. However, as a special exception,
+the materials to be distributed need not include anything that is
+normally distributed (in either source or binary form) with the major
+components (compiler, kernel, and so on) of the operating system on
+which the executable runs, unless that component itself accompanies
+the executable.
+
+ It may happen that this requirement contradicts the license
+restrictions of other proprietary libraries that do not normally
+accompany the operating system. Such a contradiction means you cannot
+use both them and the Library together in an executable that you
+distribute.
+
+ 7. You may place library facilities that are a work based on the
+Library side-by-side in a single library together with other library
+facilities not covered by this License, and distribute such a combined
+library, provided that the separate distribution of the work based on
+the Library and of the other library facilities is otherwise
+permitted, and provided that you do these two things:
+
+ a) Accompany the combined library with a copy of the same work
+ based on the Library, uncombined with any other library
+ facilities. This must be distributed under the terms of the
+ Sections above.
+
+ b) Give prominent notice with the combined library of the fact
+ that part of it is a work based on the Library, and explaining
+ where to find the accompanying uncombined form of the same work.
+
+ 8. You may not copy, modify, sublicense, link with, or distribute
+the Library except as expressly provided under this License. Any
+attempt otherwise to copy, modify, sublicense, link with, or
+distribute the Library is void, and will automatically terminate your
+rights under this License. However, parties who have received copies,
+or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+ 9. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Library or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Library (or any work based on the
+Library), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Library or works based on it.
+
+ 10. Each time you redistribute the Library (or any work based on the
+Library), the recipient automatically receives a license from the
+original licensor to copy, distribute, link with or modify the Library
+subject to these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties with
+this License.
+
+ 11. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Library at all. For example, if a patent
+license would not permit royalty-free redistribution of the Library by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Library.
+
+If any portion of this section is held invalid or unenforceable under any
+particular circumstance, the balance of the section is intended to apply,
+and the section as a whole is intended to apply in other circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 12. If the distribution and/or use of the Library is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Library under this License may add
+an explicit geographical distribution limitation excluding those countries,
+so that distribution is permitted only in or among countries not thus
+excluded. In such case, this License incorporates the limitation as if
+written in the body of this License.
+
+ 13. The Free Software Foundation may publish revised and/or new
+versions of the Lesser General Public License from time to time.
+Such new versions will be similar in spirit to the present version,
+but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Library
+specifies a version number of this License which applies to it and
+"any later version", you have the option of following the terms and
+conditions either of that version or of any later version published by
+the Free Software Foundation. If the Library does not specify a
+license version number, you may choose any version ever published by
+the Free Software Foundation.
+
+ 14. If you wish to incorporate parts of the Library into other free
+programs whose distribution conditions are incompatible with these,
+write to the author to ask for permission. For software which is
+copyrighted by the Free Software Foundation, write to the Free
+Software Foundation; we sometimes make exceptions for this. Our
+decision will be guided by the two goals of preserving the free status
+of all derivatives of our free software and of promoting the sharing
+and reuse of software generally.
+
+ NO WARRANTY
+
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
+LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Libraries
+
+ If you develop a new library, and you want it to be of the greatest
+possible use to the public, we recommend making it free software that
+everyone can redistribute and change. You can do so by permitting
+redistribution under these terms (or, alternatively, under the terms of the
+ordinary General Public License).
+
+ To apply these terms, attach the following notices to the library. It is
+safest to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the library's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
+Also add information on how to contact you by electronic and paper mail.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the library, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
+ library `Frob' (a library for tweaking knobs) written by James Random Hacker.
+
+ <signature of Ty Coon>, 1 April 1990
+ Ty Coon, President of Vice
+
+That's all there is to it!
diff --git a/Licenses/README.rst b/Licenses/README.rst
new file mode 100644
index 0000000..e798f78
--- /dev/null
+++ b/Licenses/README.rst
@@ -0,0 +1,7 @@
+Licenses
+========
+
+The CMake source tree is distributed under terms of the BSD 3-Clause license.
+
+This directory contains other license files that need to be packaged with
+binary distributions when certain third-party libraries are included.
diff --git a/Modules/AddFileDependencies.cmake b/Modules/AddFileDependencies.cmake
index e88025c..4d01a52 100644
--- a/Modules/AddFileDependencies.cmake
+++ b/Modules/AddFileDependencies.cmake
@@ -1,6 +1,10 @@
-# - ADD_FILE_DEPENDENCIES(source_file depend_files...)
-# Adds the given files as dependencies to source_file
+#.rst:
+# AddFileDependencies
+# -------------------
+#
+# ADD_FILE_DEPENDENCIES(source_file depend_files...)
#
+# Adds the given files as dependencies to source_file
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
diff --git a/Modules/AutogenInfo.cmake.in b/Modules/AutogenInfo.cmake.in
new file mode 100644
index 0000000..b6f9791
--- /dev/null
+++ b/Modules/AutogenInfo.cmake.in
@@ -0,0 +1,24 @@
+set(AM_SOURCES @_cpp_files@ )
+set(AM_RCC_SOURCES @_rcc_files@ )
+set(AM_SKIP_MOC @_skip_moc@ )
+set(AM_SKIP_UIC @_skip_uic@ )
+set(AM_HEADERS @_moc_headers@ )
+set(AM_MOC_COMPILE_DEFINITIONS @_moc_compile_defs@)
+set(AM_MOC_INCLUDES @_moc_incs@)
+set(AM_MOC_OPTIONS @_moc_options@)
+set(AM_CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE "@CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE@")
+set(AM_CMAKE_BINARY_DIR "@CMAKE_BINARY_DIR@/")
+set(AM_CMAKE_SOURCE_DIR "@CMAKE_SOURCE_DIR@/")
+set(AM_QT_MOC_EXECUTABLE "@_qt_moc_executable@")
+set(AM_QT_UIC_EXECUTABLE "@_qt_uic_executable@")
+set(AM_QT_RCC_EXECUTABLE "@_qt_rcc_executable@")
+set(AM_CMAKE_CURRENT_SOURCE_DIR "@CMAKE_CURRENT_SOURCE_DIR@/")
+set(AM_CMAKE_CURRENT_BINARY_DIR "@CMAKE_CURRENT_BINARY_DIR@/")
+set(AM_QT_VERSION_MAJOR "@_target_qt_version@")
+set(AM_TARGET_NAME @_moc_target_name@)
+set(AM_RELAXED_MODE "@_moc_relaxed_mode@")
+set(AM_UIC_TARGET_OPTIONS @_uic_target_options@)
+set(AM_UIC_OPTIONS_FILES @_qt_uic_options_files@)
+set(AM_UIC_OPTIONS_OPTIONS @_qt_uic_options_options@)
+set(AM_RCC_OPTIONS_FILES @_qt_rcc_options_files@)
+set(AM_RCC_OPTIONS_OPTIONS @_qt_rcc_options_options@)
diff --git a/Modules/AutomocInfo.cmake.in b/Modules/AutomocInfo.cmake.in
deleted file mode 100644
index 9cff735..0000000
--- a/Modules/AutomocInfo.cmake.in
+++ /dev/null
@@ -1,14 +0,0 @@
-set(AM_SOURCES @_moc_files@ )
-set(AM_HEADERS @_moc_headers@ )
-set(AM_MOC_COMPILE_DEFINITIONS @_moc_compile_defs@)
-set(AM_MOC_INCLUDES @_moc_incs@)
-set(AM_MOC_OPTIONS @_moc_options@)
-set(AM_CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE "@CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE@")
-set(AM_CMAKE_BINARY_DIR "@CMAKE_BINARY_DIR@/")
-set(AM_CMAKE_SOURCE_DIR "@CMAKE_SOURCE_DIR@/")
-set(AM_QT_MOC_EXECUTABLE "@_qt_moc_executable@")
-set(AM_CMAKE_CURRENT_SOURCE_DIR "@CMAKE_CURRENT_SOURCE_DIR@/")
-set(AM_CMAKE_CURRENT_BINARY_DIR "@CMAKE_CURRENT_BINARY_DIR@/")
-set(AM_QT_VERSION_MAJOR "@_target_qt_version@")
-set(AM_TARGET_NAME @_moc_target_name@)
-set(AM_RELAXED_MODE "@_moc_relaxed_mode@")
diff --git a/Modules/BundleUtilities.cmake b/Modules/BundleUtilities.cmake
index 0f6cd05..b896de2 100644
--- a/Modules/BundleUtilities.cmake
+++ b/Modules/BundleUtilities.cmake
@@ -1,146 +1,207 @@
-# - Functions to help assemble a standalone bundle application.
+#.rst:
+# BundleUtilities
+# ---------------
+#
+# Functions to help assemble a standalone bundle application.
+#
# A collection of CMake utility functions useful for dealing with .app
# bundles on the Mac and bundle-like directories on any OS.
#
# The following functions are provided by this module:
-# fixup_bundle
-# copy_and_fixup_bundle
-# verify_app
-# get_bundle_main_executable
-# get_dotapp_dir
-# get_bundle_and_executable
-# get_bundle_all_executables
-# get_item_key
-# clear_bundle_keys
-# set_bundle_key_values
-# get_bundle_keys
-# copy_resolved_item_into_bundle
-# copy_resolved_framework_into_bundle
-# fixup_bundle_item
-# verify_bundle_prerequisites
-# verify_bundle_symlinks
+#
+# ::
+#
+# fixup_bundle
+# copy_and_fixup_bundle
+# verify_app
+# get_bundle_main_executable
+# get_dotapp_dir
+# get_bundle_and_executable
+# get_bundle_all_executables
+# get_item_key
+# clear_bundle_keys
+# set_bundle_key_values
+# get_bundle_keys
+# copy_resolved_item_into_bundle
+# copy_resolved_framework_into_bundle
+# fixup_bundle_item
+# verify_bundle_prerequisites
+# verify_bundle_symlinks
+#
# Requires CMake 2.6 or greater because it uses function, break and
-# PARENT_SCOPE. Also depends on GetPrerequisites.cmake.
+# PARENT_SCOPE. Also depends on GetPrerequisites.cmake.
+#
+# ::
+#
+# FIXUP_BUNDLE(<app> <libs> <dirs>)
#
-# FIXUP_BUNDLE(<app> <libs> <dirs>)
# Fix up a bundle in-place and make it standalone, such that it can be
-# drag-n-drop copied to another machine and run on that machine as long as all
-# of the system libraries are compatible.
+# drag-n-drop copied to another machine and run on that machine as long
+# as all of the system libraries are compatible.
+#
+# If you pass plugins to fixup_bundle as the libs parameter, you should
+# install them or copy them into the bundle before calling fixup_bundle.
+# The "libs" parameter is a list of libraries that must be fixed up, but
+# that cannot be determined by otool output analysis. (i.e., plugins)
+#
+# Gather all the keys for all the executables and libraries in a bundle,
+# and then, for each key, copy each prerequisite into the bundle. Then
+# fix each one up according to its own list of prerequisites.
+#
+# Then clear all the keys and call verify_app on the final bundle to
+# ensure that it is truly standalone.
+#
+# ::
#
-# If you pass plugins to fixup_bundle as the libs parameter, you should install
-# them or copy them into the bundle before calling fixup_bundle. The "libs"
-# parameter is a list of libraries that must be fixed up, but that cannot be
-# determined by otool output analysis. (i.e., plugins)
+# COPY_AND_FIXUP_BUNDLE(<src> <dst> <libs> <dirs>)
#
-# Gather all the keys for all the executables and libraries in a bundle, and
-# then, for each key, copy each prerequisite into the bundle. Then fix each one
-# up according to its own list of prerequisites.
+# Makes a copy of the bundle <src> at location <dst> and then fixes up
+# the new copied bundle in-place at <dst>...
#
-# Then clear all the keys and call verify_app on the final bundle to ensure
-# that it is truly standalone.
+# ::
#
-# COPY_AND_FIXUP_BUNDLE(<src> <dst> <libs> <dirs>)
-# Makes a copy of the bundle <src> at location <dst> and then fixes up the
-# new copied bundle in-place at <dst>...
+# VERIFY_APP(<app>)
#
-# VERIFY_APP(<app>)
-# Verifies that an application <app> appears valid based on running analysis
-# tools on it. Calls "message(FATAL_ERROR" if the application is not verified.
+# Verifies that an application <app> appears valid based on running
+# analysis tools on it. Calls "message(FATAL_ERROR" if the application
+# is not verified.
#
-# GET_BUNDLE_MAIN_EXECUTABLE(<bundle> <result_var>)
-# The result will be the full path name of the bundle's main executable file
-# or an "error:" prefixed string if it could not be determined.
+# ::
#
-# GET_DOTAPP_DIR(<exe> <dotapp_dir_var>)
-# Returns the nearest parent dir whose name ends with ".app" given the full
-# path to an executable. If there is no such parent dir, then simply return
-# the dir containing the executable.
+# GET_BUNDLE_MAIN_EXECUTABLE(<bundle> <result_var>)
+#
+# The result will be the full path name of the bundle's main executable
+# file or an "error:" prefixed string if it could not be determined.
+#
+# ::
+#
+# GET_DOTAPP_DIR(<exe> <dotapp_dir_var>)
+#
+# Returns the nearest parent dir whose name ends with ".app" given the
+# full path to an executable. If there is no such parent dir, then
+# simply return the dir containing the executable.
#
# The returned directory may or may not exist.
#
-# GET_BUNDLE_AND_EXECUTABLE(<app> <bundle_var> <executable_var> <valid_var>)
+# ::
+#
+# GET_BUNDLE_AND_EXECUTABLE(<app> <bundle_var> <executable_var> <valid_var>)
+#
# Takes either a ".app" directory name or the name of an executable
# nested inside a ".app" directory and returns the path to the ".app"
# directory in <bundle_var> and the path to its main executable in
# <executable_var>
#
-# GET_BUNDLE_ALL_EXECUTABLES(<bundle> <exes_var>)
-# Scans the given bundle recursively for all executable files and accumulates
-# them into a variable.
+# ::
+#
+# GET_BUNDLE_ALL_EXECUTABLES(<bundle> <exes_var>)
+#
+# Scans the given bundle recursively for all executable files and
+# accumulates them into a variable.
+#
+# ::
+#
+# GET_ITEM_KEY(<item> <key_var>)
+#
+# Given a file (item) name, generate a key that should be unique
+# considering the set of libraries that need copying or fixing up to
+# make a bundle standalone. This is essentially the file name including
+# extension with "." replaced by "_"
#
-# GET_ITEM_KEY(<item> <key_var>)
-# Given a file (item) name, generate a key that should be unique considering
-# the set of libraries that need copying or fixing up to make a bundle
-# standalone. This is essentially the file name including extension with "."
-# replaced by "_"
+# This key is used as a prefix for CMake variables so that we can
+# associate a set of variables with a given item based on its key.
#
-# This key is used as a prefix for CMake variables so that we can associate a
-# set of variables with a given item based on its key.
+# ::
#
-# CLEAR_BUNDLE_KEYS(<keys_var>)
-# Loop over the list of keys, clearing all the variables associated with each
-# key. After the loop, clear the list of keys itself.
+# CLEAR_BUNDLE_KEYS(<keys_var>)
#
-# Caller of get_bundle_keys should call clear_bundle_keys when done with list
-# of keys.
+# Loop over the list of keys, clearing all the variables associated with
+# each key. After the loop, clear the list of keys itself.
#
-# SET_BUNDLE_KEY_VALUES(<keys_var> <context> <item> <exepath> <dirs>
-# <copyflag>)
-# Add a key to the list (if necessary) for the given item. If added,
+# Caller of get_bundle_keys should call clear_bundle_keys when done with
+# list of keys.
+#
+# ::
+#
+# SET_BUNDLE_KEY_VALUES(<keys_var> <context> <item> <exepath> <dirs>
+# <copyflag>)
+#
+# Add a key to the list (if necessary) for the given item. If added,
# also set all the variables associated with that key.
#
-# GET_BUNDLE_KEYS(<app> <libs> <dirs> <keys_var>)
-# Loop over all the executable and library files within the bundle (and given
-# as extra <libs>) and accumulate a list of keys representing them. Set
-# values associated with each key such that we can loop over all of them and
-# copy prerequisite libs into the bundle and then do appropriate
-# install_name_tool fixups.
-#
-# COPY_RESOLVED_ITEM_INTO_BUNDLE(<resolved_item> <resolved_embedded_item>)
-# Copy a resolved item into the bundle if necessary. Copy is not necessary if
-# the resolved_item is "the same as" the resolved_embedded_item.
-#
-# COPY_RESOLVED_FRAMEWORK_INTO_BUNDLE(<resolved_item> <resolved_embedded_item>)
-# Copy a resolved framework into the bundle if necessary. Copy is not necessary
-# if the resolved_item is "the same as" the resolved_embedded_item.
-#
-# By default, BU_COPY_FULL_FRAMEWORK_CONTENTS is not set. If you want full
-# frameworks embedded in your bundles, set BU_COPY_FULL_FRAMEWORK_CONTENTS to
-# ON before calling fixup_bundle. By default,
-# COPY_RESOLVED_FRAMEWORK_INTO_BUNDLE copies the framework dylib itself plus
-# the framework Resources directory.
-#
-# FIXUP_BUNDLE_ITEM(<resolved_embedded_item> <exepath> <dirs>)
-# Get the direct/non-system prerequisites of the resolved embedded item. For
-# each prerequisite, change the way it is referenced to the value of the
-# _EMBEDDED_ITEM keyed variable for that prerequisite. (Most likely changing to
-# an "@executable_path" style reference.)
-#
-# This function requires that the resolved_embedded_item be "inside" the bundle
-# already. In other words, if you pass plugins to fixup_bundle as the libs
-# parameter, you should install them or copy them into the bundle before
-# calling fixup_bundle. The "libs" parameter is a list of libraries that must
-# be fixed up, but that cannot be determined by otool output analysis. (i.e.,
-# plugins)
-#
-# Also, change the id of the item being fixed up to its own _EMBEDDED_ITEM
-# value.
+# ::
+#
+# GET_BUNDLE_KEYS(<app> <libs> <dirs> <keys_var>)
+#
+# Loop over all the executable and library files within the bundle (and
+# given as extra <libs>) and accumulate a list of keys representing
+# them. Set values associated with each key such that we can loop over
+# all of them and copy prerequisite libs into the bundle and then do
+# appropriate install_name_tool fixups.
+#
+# ::
+#
+# COPY_RESOLVED_ITEM_INTO_BUNDLE(<resolved_item> <resolved_embedded_item>)
+#
+# Copy a resolved item into the bundle if necessary. Copy is not
+# necessary if the resolved_item is "the same as" the
+# resolved_embedded_item.
+#
+# ::
+#
+# COPY_RESOLVED_FRAMEWORK_INTO_BUNDLE(<resolved_item> <resolved_embedded_item>)
+#
+# Copy a resolved framework into the bundle if necessary. Copy is not
+# necessary if the resolved_item is "the same as" the
+# resolved_embedded_item.
+#
+# By default, BU_COPY_FULL_FRAMEWORK_CONTENTS is not set. If you want
+# full frameworks embedded in your bundles, set
+# BU_COPY_FULL_FRAMEWORK_CONTENTS to ON before calling fixup_bundle. By
+# default, COPY_RESOLVED_FRAMEWORK_INTO_BUNDLE copies the framework
+# dylib itself plus the framework Resources directory.
+#
+# ::
+#
+# FIXUP_BUNDLE_ITEM(<resolved_embedded_item> <exepath> <dirs>)
+#
+# Get the direct/non-system prerequisites of the resolved embedded item.
+# For each prerequisite, change the way it is referenced to the value of
+# the _EMBEDDED_ITEM keyed variable for that prerequisite. (Most likely
+# changing to an "@executable_path" style reference.)
+#
+# This function requires that the resolved_embedded_item be "inside" the
+# bundle already. In other words, if you pass plugins to fixup_bundle
+# as the libs parameter, you should install them or copy them into the
+# bundle before calling fixup_bundle. The "libs" parameter is a list of
+# libraries that must be fixed up, but that cannot be determined by
+# otool output analysis. (i.e., plugins)
+#
+# Also, change the id of the item being fixed up to its own
+# _EMBEDDED_ITEM value.
#
# Accumulate changes in a local variable and make *one* call to
-# install_name_tool at the end of the function with all the changes at once.
+# install_name_tool at the end of the function with all the changes at
+# once.
#
# If the BU_CHMOD_BUNDLE_ITEMS variable is set then bundle items will be
# marked writable before install_name_tool tries to change them.
#
-# VERIFY_BUNDLE_PREREQUISITES(<bundle> <result_var> <info_var>)
-# Verifies that the sum of all prerequisites of all files inside the bundle
-# are contained within the bundle or are "system" libraries, presumed to exist
-# everywhere.
+# ::
+#
+# VERIFY_BUNDLE_PREREQUISITES(<bundle> <result_var> <info_var>)
+#
+# Verifies that the sum of all prerequisites of all files inside the
+# bundle are contained within the bundle or are "system" libraries,
+# presumed to exist everywhere.
+#
+# ::
+#
+# VERIFY_BUNDLE_SYMLINKS(<bundle> <result_var> <info_var>)
#
-# VERIFY_BUNDLE_SYMLINKS(<bundle> <result_var> <info_var>)
-# Verifies that any symlinks found in the bundle point to other files that are
-# already also in the bundle... Anything that points to an external file causes
-# this function to fail the verification.
+# Verifies that any symlinks found in the bundle point to other files
+# that are already also in the bundle... Anything that points to an
+# external file causes this function to fail the verification.
#=============================================================================
# Copyright 2008-2009 Kitware, Inc.
diff --git a/Modules/CMakeAddFortranSubdirectory.cmake b/Modules/CMakeAddFortranSubdirectory.cmake
index abd9100..2e5a76f 100644
--- a/Modules/CMakeAddFortranSubdirectory.cmake
+++ b/Modules/CMakeAddFortranSubdirectory.cmake
@@ -1,29 +1,37 @@
-# - Use MinGW gfortran from VS if a fortran compiler is not found.
-# The 'add_fortran_subdirectory' function adds a subdirectory
-# to a project that contains a fortran only sub-project. The module
-# will check the current compiler and see if it can support fortran.
-# If no fortran compiler is found and the compiler is MSVC, then
-# this module will find the MinGW gfortran. It will then use
-# an external project to build with the MinGW tools. It will also
-# create imported targets for the libraries created. This will only
-# work if the fortran code is built into a dll, so BUILD_SHARED_LIBS
-# is turned on in the project. In addition the CMAKE_GNUtoMS option
-# is set to on, so that the MS .lib files are created.
-# Usage is as follows:
-# cmake_add_fortran_subdirectory(
-# <subdir> # name of subdirectory
-# PROJECT <project_name> # project name in subdir top CMakeLists.txt
-# ARCHIVE_DIR <dir> # dir where project places .lib files
-# RUNTIME_DIR <dir> # dir where project places .dll files
-# LIBRARIES <lib>... # names of library targets to import
-# LINK_LIBRARIES # link interface libraries for LIBRARIES
-# [LINK_LIBS <lib> <dep>...]...
-# CMAKE_COMMAND_LINE ... # extra command line flags to pass to cmake
-# NO_EXTERNAL_INSTALL # skip installation of external project
-# )
-# Relative paths in ARCHIVE_DIR and RUNTIME_DIR are interpreted with respect
-# to the build directory corresponding to the source directory in which the
-# function is invoked.
+#.rst:
+# CMakeAddFortranSubdirectory
+# ---------------------------
+#
+# Use MinGW gfortran from VS if a fortran compiler is not found.
+#
+# The 'add_fortran_subdirectory' function adds a subdirectory to a
+# project that contains a fortran only sub-project. The module will
+# check the current compiler and see if it can support fortran. If no
+# fortran compiler is found and the compiler is MSVC, then this module
+# will find the MinGW gfortran. It will then use an external project to
+# build with the MinGW tools. It will also create imported targets for
+# the libraries created. This will only work if the fortran code is
+# built into a dll, so BUILD_SHARED_LIBS is turned on in the project.
+# In addition the CMAKE_GNUtoMS option is set to on, so that the MS .lib
+# files are created. Usage is as follows:
+#
+# ::
+#
+# cmake_add_fortran_subdirectory(
+# <subdir> # name of subdirectory
+# PROJECT <project_name> # project name in subdir top CMakeLists.txt
+# ARCHIVE_DIR <dir> # dir where project places .lib files
+# RUNTIME_DIR <dir> # dir where project places .dll files
+# LIBRARIES <lib>... # names of library targets to import
+# LINK_LIBRARIES # link interface libraries for LIBRARIES
+# [LINK_LIBS <lib> <dep>...]...
+# CMAKE_COMMAND_LINE ... # extra command line flags to pass to cmake
+# NO_EXTERNAL_INSTALL # skip installation of external project
+# )
+#
+# Relative paths in ARCHIVE_DIR and RUNTIME_DIR are interpreted with
+# respect to the build directory corresponding to the source directory
+# in which the function is invoked.
#
# Limitations:
#
diff --git a/Modules/CMakeBackwardCompatibilityCXX.cmake b/Modules/CMakeBackwardCompatibilityCXX.cmake
index cfc1d91..343fdb2 100644
--- a/Modules/CMakeBackwardCompatibilityCXX.cmake
+++ b/Modules/CMakeBackwardCompatibilityCXX.cmake
@@ -1,10 +1,17 @@
-# - define a bunch of backwards compatibility variables
-# CMAKE_ANSI_CXXFLAGS - flag for ansi c++
-# CMAKE_HAS_ANSI_STRING_STREAM - has <strstream>
-# include(TestForANSIStreamHeaders)
-# include(CheckIncludeFileCXX)
-# include(TestForSTDNamespace)
-# include(TestForANSIForScope)
+#.rst:
+# CMakeBackwardCompatibilityCXX
+# -----------------------------
+#
+# define a bunch of backwards compatibility variables
+#
+# ::
+#
+# CMAKE_ANSI_CXXFLAGS - flag for ansi c++
+# CMAKE_HAS_ANSI_STRING_STREAM - has <strstream>
+# include(TestForANSIStreamHeaders)
+# include(CheckIncludeFileCXX)
+# include(TestForSTDNamespace)
+# include(TestForANSIForScope)
#=============================================================================
# Copyright 2002-2009 Kitware, Inc.
diff --git a/Modules/CMakeCCompiler.cmake.in b/Modules/CMakeCCompiler.cmake.in
index c41adc9..804cce2 100644
--- a/Modules/CMakeCCompiler.cmake.in
+++ b/Modules/CMakeCCompiler.cmake.in
@@ -3,6 +3,8 @@ set(CMAKE_C_COMPILER_ARG1 "@CMAKE_C_COMPILER_ARG1@")
set(CMAKE_C_COMPILER_ID "@CMAKE_C_COMPILER_ID@")
set(CMAKE_C_COMPILER_VERSION "@CMAKE_C_COMPILER_VERSION@")
set(CMAKE_C_PLATFORM_ID "@CMAKE_C_PLATFORM_ID@")
+set(CMAKE_C_SIMULATE_ID "@CMAKE_C_SIMULATE_ID@")
+set(CMAKE_C_SIMULATE_VERSION "@CMAKE_C_SIMULATE_VERSION@")
@SET_MSVC_C_ARCHITECTURE_ID@
set(CMAKE_AR "@CMAKE_AR@")
set(CMAKE_RANLIB "@CMAKE_RANLIB@")
@@ -53,4 +55,4 @@ set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "@CMAKE_C_IMPLICIT_LINK_DIRECTORIES@")
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "@CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES@")
@SET_CMAKE_CMCLDEPS_EXECUTABLE@
-@SET_CMAKE_CL_SHOWINCLUDE_PREFIX@
+@SET_CMAKE_CL_SHOWINCLUDES_PREFIX@
diff --git a/Modules/CMakeCCompilerId.c.in b/Modules/CMakeCCompilerId.c.in
index 66a5582..561ccf2 100644
--- a/Modules/CMakeCCompilerId.c.in
+++ b/Modules/CMakeCCompilerId.c.in
@@ -14,11 +14,21 @@
/* __INTEL_COMPILER = VRP */
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
-# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
+# if defined(__INTEL_COMPILER_UPDATE)
+# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
+# else
+# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
+# endif
# if defined(__INTEL_COMPILER_BUILD_DATE)
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
# endif
+# if defined(_MSC_VER)
+# define SIMULATE_ID "MSVC"
+ /* _MSC_VER = VVRR */
+# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
+# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
+# endif
#elif defined(__PATHCC__)
# define COMPILER_ID "PathScale"
@@ -29,10 +39,21 @@
# endif
#elif defined(__clang__)
-# define COMPILER_ID "Clang"
+# if defined(__apple_build_version__)
+# define COMPILER_ID "AppleClang"
+# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
+# else
+# define COMPILER_ID "Clang"
+# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
+# if defined(_MSC_VER)
+# define SIMULATE_ID "MSVC"
+ /* _MSC_VER = VVRR */
+# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
+# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
+# endif
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# define COMPILER_ID "Embarcadero"
@@ -206,8 +227,16 @@
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
+#ifdef SIMULATE_ID
+char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
+#endif
+
+#ifdef __QNXNTO__
+char const* qnxnto = "INFO" ":" "qnxnto";
+#endif
@CMAKE_C_COMPILER_ID_PLATFORM_CONTENT@
+@CMAKE_C_COMPILER_ID_ERROR_FOR_TEST@
/*--------------------------------------------------------------------------*/
@@ -223,6 +252,12 @@ int main(int argc, char* argv[])
#ifdef COMPILER_VERSION_MAJOR
require += info_version[argc];
#endif
+#ifdef SIMULATE_ID
+ require += info_simulate[argc];
+#endif
+#ifdef SIMULATE_VERSION_MAJOR
+ require += info_simulate_version[argc];
+#endif
(void)argv;
return require;
}
diff --git a/Modules/CMakeCInformation.cmake b/Modules/CMakeCInformation.cmake
index ce5ce44..e0cce45 100644
--- a/Modules/CMakeCInformation.cmake
+++ b/Modules/CMakeCInformation.cmake
@@ -34,7 +34,7 @@ if(CMAKE_C_COMPILER_ID)
endif()
set(CMAKE_BASE_NAME)
-get_filename_component(CMAKE_BASE_NAME ${CMAKE_C_COMPILER} NAME_WE)
+get_filename_component(CMAKE_BASE_NAME "${CMAKE_C_COMPILER}" NAME_WE)
if(CMAKE_COMPILER_IS_GNUCC)
set(CMAKE_BASE_NAME gcc)
endif()
@@ -119,16 +119,16 @@ if(NOT CMAKE_NOT_USING_CONFIG_FLAGS)
set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG_INIT}" CACHE STRING
"Flags used by the compiler during debug builds.")
set (CMAKE_C_FLAGS_MINSIZEREL "${CMAKE_C_FLAGS_MINSIZEREL_INIT}" CACHE STRING
- "Flags used by the compiler during release minsize builds.")
+ "Flags used by the compiler during release builds for minimum size.")
set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE_INIT}" CACHE STRING
- "Flags used by the compiler during release builds (/MD /Ob1 /Oi /Ot /Oy /Gs will produce slightly less optimized but smaller files).")
+ "Flags used by the compiler during release builds.")
set (CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO_INIT}" CACHE STRING
- "Flags used by the compiler during Release with Debug Info builds.")
+ "Flags used by the compiler during release builds with debug info.")
endif()
if(CMAKE_C_STANDARD_LIBRARIES_INIT)
set(CMAKE_C_STANDARD_LIBRARIES "${CMAKE_C_STANDARD_LIBRARIES_INIT}"
- CACHE STRING "Libraries linked by defalut with all C applications.")
+ CACHE STRING "Libraries linked by default with all C applications.")
mark_as_advanced(CMAKE_C_STANDARD_LIBRARIES)
endif()
diff --git a/Modules/CMakeCXXCompiler.cmake.in b/Modules/CMakeCXXCompiler.cmake.in
index 9287b81..35aa6c4 100644
--- a/Modules/CMakeCXXCompiler.cmake.in
+++ b/Modules/CMakeCXXCompiler.cmake.in
@@ -3,6 +3,8 @@ set(CMAKE_CXX_COMPILER_ARG1 "@CMAKE_CXX_COMPILER_ARG1@")
set(CMAKE_CXX_COMPILER_ID "@CMAKE_CXX_COMPILER_ID@")
set(CMAKE_CXX_COMPILER_VERSION "@CMAKE_CXX_COMPILER_VERSION@")
set(CMAKE_CXX_PLATFORM_ID "@CMAKE_CXX_PLATFORM_ID@")
+set(CMAKE_CXX_SIMULATE_ID "@CMAKE_CXX_SIMULATE_ID@")
+set(CMAKE_CXX_SIMULATE_VERSION "@CMAKE_CXX_SIMULATE_VERSION@")
@SET_MSVC_CXX_ARCHITECTURE_ID@
set(CMAKE_AR "@CMAKE_AR@")
set(CMAKE_RANLIB "@CMAKE_RANLIB@")
@@ -54,4 +56,4 @@ set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "@CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES@")
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "@CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES@")
@SET_CMAKE_CMCLDEPS_EXECUTABLE@
-@SET_CMAKE_CL_SHOWINCLUDE_PREFIX@
+@SET_CMAKE_CL_SHOWINCLUDES_PREFIX@
diff --git a/Modules/CMakeCXXCompilerId.cpp.in b/Modules/CMakeCXXCompilerId.cpp.in
index 5e87715..6c602d4 100644
--- a/Modules/CMakeCXXCompilerId.cpp.in
+++ b/Modules/CMakeCXXCompilerId.cpp.in
@@ -19,11 +19,21 @@
/* __INTEL_COMPILER = VRP */
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
-# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
+# if defined(__INTEL_COMPILER_UPDATE)
+# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
+# else
+# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
+# endif
# if defined(__INTEL_COMPILER_BUILD_DATE)
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
# endif
+# if defined(_MSC_VER)
+# define SIMULATE_ID "MSVC"
+ /* _MSC_VER = VVRR */
+# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
+# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
+# endif
#elif defined(__PATHCC__)
# define COMPILER_ID "PathScale"
@@ -34,10 +44,21 @@
# endif
#elif defined(__clang__)
-# define COMPILER_ID "Clang"
+# if defined(__apple_build_version__)
+# define COMPILER_ID "AppleClang"
+# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
+# else
+# define COMPILER_ID "Clang"
+# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
+# if defined(_MSC_VER)
+# define SIMULATE_ID "MSVC"
+ /* _MSC_VER = VVRR */
+# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
+# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
+# endif
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# define COMPILER_ID "Embarcadero"
@@ -199,8 +220,16 @@
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
+#ifdef SIMULATE_ID
+char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
+#endif
+
+#ifdef __QNXNTO__
+char const* qnxnto = "INFO" ":" "qnxnto";
+#endif
@CMAKE_CXX_COMPILER_ID_PLATFORM_CONTENT@
+@CMAKE_CXX_COMPILER_ID_ERROR_FOR_TEST@
/*--------------------------------------------------------------------------*/
@@ -212,6 +241,12 @@ int main(int argc, char* argv[])
#ifdef COMPILER_VERSION_MAJOR
require += info_version[argc];
#endif
+#ifdef SIMULATE_ID
+ require += info_simulate[argc];
+#endif
+#ifdef SIMULATE_VERSION_MAJOR
+ require += info_simulate_version[argc];
+#endif
(void)argv;
return require;
}
diff --git a/Modules/CMakeCXXInformation.cmake b/Modules/CMakeCXXInformation.cmake
index 933c15a..3010a48 100644
--- a/Modules/CMakeCXXInformation.cmake
+++ b/Modules/CMakeCXXInformation.cmake
@@ -34,7 +34,7 @@ if(CMAKE_CXX_COMPILER_ID)
endif()
set(CMAKE_BASE_NAME)
-get_filename_component(CMAKE_BASE_NAME ${CMAKE_CXX_COMPILER} NAME_WE)
+get_filename_component(CMAKE_BASE_NAME "${CMAKE_CXX_COMPILER}" NAME_WE)
# since the gnu compiler has several names force g++
if(CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_BASE_NAME g++)
@@ -209,17 +209,17 @@ if(NOT CMAKE_NOT_USING_CONFIG_FLAGS)
set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG_INIT}" CACHE STRING
"Flags used by the compiler during debug builds.")
set (CMAKE_CXX_FLAGS_MINSIZEREL "${CMAKE_CXX_FLAGS_MINSIZEREL_INIT}" CACHE STRING
- "Flags used by the compiler during release minsize builds.")
+ "Flags used by the compiler during release builds for minimum size.")
set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE_INIT}" CACHE STRING
- "Flags used by the compiler during release builds (/MD /Ob1 /Oi /Ot /Oy /Gs will produce slightly less optimized but smaller files).")
+ "Flags used by the compiler during release builds.")
set (CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT}" CACHE STRING
- "Flags used by the compiler during Release with Debug Info builds.")
+ "Flags used by the compiler during release builds with debug info.")
endif()
if(CMAKE_CXX_STANDARD_LIBRARIES_INIT)
set(CMAKE_CXX_STANDARD_LIBRARIES "${CMAKE_CXX_STANDARD_LIBRARIES_INIT}"
- CACHE STRING "Libraries linked by defalut with all C++ applications.")
+ CACHE STRING "Libraries linked by default with all C++ applications.")
mark_as_advanced(CMAKE_CXX_STANDARD_LIBRARIES)
endif()
@@ -287,7 +287,6 @@ if(NOT CMAKE_CXX_LINK_EXECUTABLE)
endif()
mark_as_advanced(
-CMAKE_BUILD_TOOL
CMAKE_VERBOSE_MAKEFILE
CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS_RELEASE
diff --git a/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake b/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
new file mode 100644
index 0000000..9d8ba9e
--- /dev/null
+++ b/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake
@@ -0,0 +1,41 @@
+
+#=============================================================================
+# Copyright 2006-2011 Kitware, Inc.
+# Copyright 2006 Alexander Neundorf <neundorf@kde.org>
+# Copyright 2011 Matthias Kretz <kretz@kde.org>
+# Copyright 2013 Rolf Eike Beer <eike@sf-mail.de>
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distribute this file outside of CMake, substitute the full
+# License text for the above reference.)
+
+# Do NOT include this module directly into any of your code. It is meant as
+# a library for Check*CompilerFlag.cmake modules. It's content may change in
+# any way between releases.
+
+macro (CHECK_COMPILER_FLAG_COMMON_PATTERNS _VAR)
+ set(${_VAR}
+ FAIL_REGEX "unrecognized .*option" # GNU
+ FAIL_REGEX "unknown .*option" # Clang
+ FAIL_REGEX "ignoring unknown option" # MSVC
+ FAIL_REGEX "warning D9002" # MSVC, any lang
+ FAIL_REGEX "option.*not supported" # Intel
+ FAIL_REGEX "invalid argument .*option" # Intel
+ FAIL_REGEX "ignoring option .*argument required" # Intel
+ FAIL_REGEX "[Uu]nknown option" # HP
+ FAIL_REGEX "[Ww]arning: [Oo]ption" # SunPro
+ FAIL_REGEX "command option .* is not recognized" # XL
+ FAIL_REGEX "command option .* contains an incorrect subargument" # XL
+ FAIL_REGEX "not supported in this configuration; ignored" # AIX
+ FAIL_REGEX "File with unknown suffix passed to linker" # PGI
+ FAIL_REGEX "WARNING: unknown flag:" # Open64
+ FAIL_REGEX "Incorrect command line option:" # Borland
+ FAIL_REGEX "Warning: illegal option" # SunStudio 12
+ )
+endmacro ()
diff --git a/Modules/CMakeClDeps.cmake b/Modules/CMakeClDeps.cmake
index 0214ead..b46e7c2 100644
--- a/Modules/CMakeClDeps.cmake
+++ b/Modules/CMakeClDeps.cmake
@@ -20,7 +20,7 @@
# in front of each include path, so it can remove it.
#
-if(MSVC_C_ARCHITECTURE_ID AND CMAKE_GENERATOR MATCHES "Ninja" AND CMAKE_C_COMPILER AND CMAKE_COMMAND)
+if(CMAKE_GENERATOR MATCHES "Ninja" AND CMAKE_C_COMPILER AND CMAKE_COMMAND)
string(REPLACE "cmake.exe" "cmcldeps.exe" CMAKE_CMCLDEPS_EXECUTABLE ${CMAKE_COMMAND})
set(showdir ${CMAKE_BINARY_DIR}/CMakeFiles/ShowIncludes)
file(WRITE ${showdir}/foo.h "\n")
@@ -30,5 +30,5 @@ if(MSVC_C_ARCHITECTURE_ID AND CMAKE_GENERATOR MATCHES "Ninja" AND CMAKE_C_COMPIL
string(REGEX MATCH "\n([^:]*:[^:]*:[ \t]*)" tmp "${outLine}")
set(localizedPrefix "${CMAKE_MATCH_1}")
set(SET_CMAKE_CMCLDEPS_EXECUTABLE "set(CMAKE_CMCLDEPS_EXECUTABLE \"${CMAKE_CMCLDEPS_EXECUTABLE}\")")
- set(SET_CMAKE_CL_SHOWINCLUDE_PREFIX "set(CMAKE_CL_SHOWINCLUDE_PREFIX \"${localizedPrefix}\")")
+ set(SET_CMAKE_CL_SHOWINCLUDES_PREFIX "set(CMAKE_CL_SHOWINCLUDES_PREFIX \"${localizedPrefix}\")")
endif()
diff --git a/Modules/CMakeCommonLanguageInclude.cmake b/Modules/CMakeCommonLanguageInclude.cmake
index e945aa7..38a6d35 100644
--- a/Modules/CMakeCommonLanguageInclude.cmake
+++ b/Modules/CMakeCommonLanguageInclude.cmake
@@ -94,12 +94,10 @@ set (CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS_INIT} $ENV{LDFLAGS}"
set (CMAKE_STATIC_LINKER_FLAGS "${CMAKE_STATIC_LINKER_FLAGS_INIT}"
CACHE STRING "Flags used by the linker during the creation of static libraries.")
-set(CMAKE_BUILD_TOOL ${CMAKE_MAKE_PROGRAM} CACHE INTERNAL
- "What is the target build tool cmake is generating for.")
-
+# Alias the build tool variable for backward compatibility.
+set(CMAKE_BUILD_TOOL ${CMAKE_MAKE_PROGRAM})
mark_as_advanced(
-CMAKE_BUILD_TOOL
CMAKE_VERBOSE_MAKEFILE
CMAKE_EXE_LINKER_FLAGS
diff --git a/Modules/CMakeDependentOption.cmake b/Modules/CMakeDependentOption.cmake
index 990728f..7e9f183 100644
--- a/Modules/CMakeDependentOption.cmake
+++ b/Modules/CMakeDependentOption.cmake
@@ -1,15 +1,23 @@
-# - Macro to provide an option dependent on other options.
+#.rst:
+# CMakeDependentOption
+# --------------------
+#
+# Macro to provide an option dependent on other options.
+#
# This macro presents an option to the user only if a set of other
-# conditions are true. When the option is not presented a default
-# value is used, but any value set by the user is preserved for when
-# the option is presented again.
-# Example invocation:
-# CMAKE_DEPENDENT_OPTION(USE_FOO "Use Foo" ON
-# "USE_BAR;NOT USE_ZOT" OFF)
-# If USE_BAR is true and USE_ZOT is false, this provides an option called
-# USE_FOO that defaults to ON. Otherwise, it sets USE_FOO to OFF. If
-# the status of USE_BAR or USE_ZOT ever changes, any value for the
-# USE_FOO option is saved so that when the option is re-enabled it
+# conditions are true. When the option is not presented a default value
+# is used, but any value set by the user is preserved for when the
+# option is presented again. Example invocation:
+#
+# ::
+#
+# CMAKE_DEPENDENT_OPTION(USE_FOO "Use Foo" ON
+# "USE_BAR;NOT USE_ZOT" OFF)
+#
+# If USE_BAR is true and USE_ZOT is false, this provides an option
+# called USE_FOO that defaults to ON. Otherwise, it sets USE_FOO to
+# OFF. If the status of USE_BAR or USE_ZOT ever changes, any value for
+# the USE_FOO option is saved so that when the option is re-enabled it
# retains its old value.
#=============================================================================
diff --git a/Modules/CMakeDetermineASMCompiler.cmake b/Modules/CMakeDetermineASMCompiler.cmake
index 0fecb5d..1d9617f 100644
--- a/Modules/CMakeDetermineASMCompiler.cmake
+++ b/Modules/CMakeDetermineASMCompiler.cmake
@@ -48,22 +48,7 @@ if(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER)
_cmake_find_compiler(ASM${ASM_DIALECT})
else()
-
- # we only get here if CMAKE_ASM${ASM_DIALECT}_COMPILER was specified using -D or a pre-made CMakeCache.txt
- # (e.g. via ctest) or set in CMAKE_TOOLCHAIN_FILE
- #
- # if a compiler was specified by the user but without path,
- # now try to find it with the full path
- # if it is found, force it into the cache,
- # if not, don't overwrite the setting (which was given by the user) with "NOTFOUND"
- get_filename_component(_CMAKE_USER_ASM${ASM_DIALECT}_COMPILER_PATH "${CMAKE_ASM${ASM_DIALECT}_COMPILER}" PATH)
- if(NOT _CMAKE_USER_ASM${ASM_DIALECT}_COMPILER_PATH)
- find_program(CMAKE_ASM${ASM_DIALECT}_COMPILER_WITH_PATH NAMES ${CMAKE_ASM${ASM_DIALECT}_COMPILER})
- mark_as_advanced(CMAKE_ASM${ASM_DIALECT}_COMPILER_WITH_PATH)
- if(CMAKE_ASM${ASM_DIALECT}_COMPILER_WITH_PATH)
- set(CMAKE_ASM${ASM_DIALECT}_COMPILER ${CMAKE_ASM${ASM_DIALECT}_COMPILER_WITH_PATH} CACHE FILEPATH "Assembler" FORCE)
- endif()
- endif()
+ _cmake_find_compiler_path(ASM${ASM_DIALECT})
endif()
mark_as_advanced(CMAKE_ASM${ASM_DIALECT}_COMPILER)
@@ -124,7 +109,7 @@ endif()
# e.g. powerpc-linux-gas, arm-elf-gas or i586-mingw32msvc-gas , optionally
# with a 3-component version number at the end
# The other tools of the toolchain usually have the same prefix
-# NAME_WE cannot be used since then this test will fail for names lile
+# NAME_WE cannot be used since then this test will fail for names like
# "arm-unknown-nto-qnx6.3.0-gas.exe", where BASENAME would be
# "arm-unknown-nto-qnx6" instead of the correct "arm-unknown-nto-qnx6.3.0-"
if (NOT _CMAKE_TOOLCHAIN_PREFIX)
@@ -167,7 +152,7 @@ set(_CMAKE_ASM_COMPILER_ENV_VAR "${CMAKE_ASM${ASM_DIALECT}_COMPILER_ENV_VAR}")
# configure variables set in this file for fast reload later on
configure_file(${CMAKE_ROOT}/Modules/CMakeASMCompiler.cmake.in
- ${CMAKE_PLATFORM_INFO_DIR}/CMakeASM${ASM_DIALECT}Compiler.cmake IMMEDIATE @ONLY)
+ ${CMAKE_PLATFORM_INFO_DIR}/CMakeASM${ASM_DIALECT}Compiler.cmake @ONLY)
set(_CMAKE_ASM_COMPILER)
set(_CMAKE_ASM_COMPILER_ARG1)
diff --git a/Modules/CMakeDetermineCCompiler.cmake b/Modules/CMakeDetermineCCompiler.cmake
index 8769c66..aa4cdc9 100644
--- a/Modules/CMakeDetermineCCompiler.cmake
+++ b/Modules/CMakeDetermineCCompiler.cmake
@@ -42,6 +42,7 @@ endif()
if(${CMAKE_GENERATOR} MATCHES "Visual Studio")
elseif("${CMAKE_GENERATOR}" MATCHES "Xcode")
set(CMAKE_C_COMPILER_XCODE_TYPE sourcecode.c.c)
+ _cmake_find_compiler_path(C)
else()
if(NOT CMAKE_C_COMPILER)
set(CMAKE_C_COMPILER_INIT NOTFOUND)
@@ -72,31 +73,7 @@ else()
_cmake_find_compiler(C)
else()
-
- # we only get here if CMAKE_C_COMPILER was specified using -D or a pre-made CMakeCache.txt
- # (e.g. via ctest) or set in CMAKE_TOOLCHAIN_FILE
- # if CMAKE_C_COMPILER is a list of length 2, use the first item as
- # CMAKE_C_COMPILER and the 2nd one as CMAKE_C_COMPILER_ARG1
-
- list(LENGTH CMAKE_C_COMPILER _CMAKE_C_COMPILER_LIST_LENGTH)
- if("${_CMAKE_C_COMPILER_LIST_LENGTH}" EQUAL 2)
- list(GET CMAKE_C_COMPILER 1 CMAKE_C_COMPILER_ARG1)
- list(GET CMAKE_C_COMPILER 0 CMAKE_C_COMPILER)
- endif()
-
- # if a compiler was specified by the user but without path,
- # now try to find it with the full path
- # if it is found, force it into the cache,
- # if not, don't overwrite the setting (which was given by the user) with "NOTFOUND"
- # if the C compiler already had a path, reuse it for searching the CXX compiler
- get_filename_component(_CMAKE_USER_C_COMPILER_PATH "${CMAKE_C_COMPILER}" PATH)
- if(NOT _CMAKE_USER_C_COMPILER_PATH)
- find_program(CMAKE_C_COMPILER_WITH_PATH NAMES ${CMAKE_C_COMPILER})
- mark_as_advanced(CMAKE_C_COMPILER_WITH_PATH)
- if(CMAKE_C_COMPILER_WITH_PATH)
- set(CMAKE_C_COMPILER ${CMAKE_C_COMPILER_WITH_PATH} CACHE STRING "C compiler" FORCE)
- endif()
- endif()
+ _cmake_find_compiler_path(C)
endif()
mark_as_advanced(CMAKE_C_COMPILER)
@@ -149,15 +126,21 @@ endif ()
# e.g. powerpc-linux-gcc, arm-elf-gcc or i586-mingw32msvc-gcc, optionally
# with a 3-component version number at the end (e.g. arm-eabi-gcc-4.5.2).
# The other tools of the toolchain usually have the same prefix
-# NAME_WE cannot be used since then this test will fail for names lile
+# NAME_WE cannot be used since then this test will fail for names like
# "arm-unknown-nto-qnx6.3.0-gcc.exe", where BASENAME would be
# "arm-unknown-nto-qnx6" instead of the correct "arm-unknown-nto-qnx6.3.0-"
if (CMAKE_CROSSCOMPILING AND NOT _CMAKE_TOOLCHAIN_PREFIX)
- if("${CMAKE_C_COMPILER_ID}" MATCHES "GNU")
+ if("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR "${CMAKE_C_COMPILER_ID}" MATCHES "Clang")
get_filename_component(COMPILER_BASENAME "${CMAKE_C_COMPILER}" NAME)
- if (COMPILER_BASENAME MATCHES "^(.+-)g?cc(-[0-9]+\\.[0-9]+\\.[0-9]+)?(\\.exe)?$")
+ if (COMPILER_BASENAME MATCHES "^(.+-)(clang|g?cc)(-[0-9]+\\.[0-9]+\\.[0-9]+)?(\\.exe)?$")
set(_CMAKE_TOOLCHAIN_PREFIX ${CMAKE_MATCH_1})
+ elseif("${CMAKE_C_COMPILER_ID}" MATCHES "Clang")
+ set(_CMAKE_TOOLCHAIN_PREFIX ${CMAKE_C_COMPILER_TARGET}-)
+ elseif(COMPILER_BASENAME MATCHES "qcc(\\.exe)?$")
+ if(CMAKE_C_COMPILER_TARGET MATCHES "gcc_nto([^_le]+)(le)?.*$")
+ set(_CMAKE_TOOLCHAIN_PREFIX nto${CMAKE_MATCH_1}-)
+ endif()
endif ()
# if "llvm-" is part of the prefix, remove it, since llvm doesn't have its own binutils
@@ -176,15 +159,16 @@ if (CMAKE_CROSSCOMPILING AND NOT _CMAKE_TOOLCHAIN_PREFIX)
endif ()
-include(${CMAKE_ROOT}/Modules/CMakeClDeps.cmake)
include(CMakeFindBinUtils)
if(MSVC_C_ARCHITECTURE_ID)
+ include(${CMAKE_ROOT}/Modules/CMakeClDeps.cmake)
set(SET_MSVC_C_ARCHITECTURE_ID
"set(MSVC_C_ARCHITECTURE_ID ${MSVC_C_ARCHITECTURE_ID})")
endif()
+
# configure variables set in this file for fast reload later on
configure_file(${CMAKE_ROOT}/Modules/CMakeCCompiler.cmake.in
${CMAKE_PLATFORM_INFO_DIR}/CMakeCCompiler.cmake
- @ONLY IMMEDIATE # IMMEDIATE must be here for compatibility mode <= 2.0
+ @ONLY
)
set(CMAKE_C_COMPILER_ENV_VAR "CC")
diff --git a/Modules/CMakeDetermineCXXCompiler.cmake b/Modules/CMakeDetermineCXXCompiler.cmake
index c79ba89..ef8445e 100644
--- a/Modules/CMakeDetermineCXXCompiler.cmake
+++ b/Modules/CMakeDetermineCXXCompiler.cmake
@@ -41,6 +41,7 @@ endif()
if(${CMAKE_GENERATOR} MATCHES "Visual Studio")
elseif("${CMAKE_GENERATOR}" MATCHES "Xcode")
set(CMAKE_CXX_COMPILER_XCODE_TYPE sourcecode.cpp.cpp)
+ _cmake_find_compiler_path(CXX)
else()
if(NOT CMAKE_CXX_COMPILER)
set(CMAKE_CXX_COMPILER_INIT NOTFOUND)
@@ -70,32 +71,7 @@ else()
_cmake_find_compiler(CXX)
else()
-
- # we only get here if CMAKE_CXX_COMPILER was specified using -D or a pre-made CMakeCache.txt
- # (e.g. via ctest) or set in CMAKE_TOOLCHAIN_FILE
- #
- # if CMAKE_CXX_COMPILER is a list of length 2, use the first item as
- # CMAKE_CXX_COMPILER and the 2nd one as CMAKE_CXX_COMPILER_ARG1
-
- list(LENGTH CMAKE_CXX_COMPILER _CMAKE_CXX_COMPILER_LIST_LENGTH)
- if("${_CMAKE_CXX_COMPILER_LIST_LENGTH}" EQUAL 2)
- list(GET CMAKE_CXX_COMPILER 1 CMAKE_CXX_COMPILER_ARG1)
- list(GET CMAKE_CXX_COMPILER 0 CMAKE_CXX_COMPILER)
- endif()
-
- # if a compiler was specified by the user but without path,
- # now try to find it with the full path
- # if it is found, force it into the cache,
- # if not, don't overwrite the setting (which was given by the user) with "NOTFOUND"
- # if the CXX compiler already had a path, reuse it for searching the C compiler
- get_filename_component(_CMAKE_USER_CXX_COMPILER_PATH "${CMAKE_CXX_COMPILER}" PATH)
- if(NOT _CMAKE_USER_CXX_COMPILER_PATH)
- find_program(CMAKE_CXX_COMPILER_WITH_PATH NAMES ${CMAKE_CXX_COMPILER})
- mark_as_advanced(CMAKE_CXX_COMPILER_WITH_PATH)
- if(CMAKE_CXX_COMPILER_WITH_PATH)
- set(CMAKE_CXX_COMPILER ${CMAKE_CXX_COMPILER_WITH_PATH} CACHE STRING "CXX compiler" FORCE)
- endif()
- endif()
+ _cmake_find_compiler_path(CXX)
endif()
mark_as_advanced(CMAKE_CXX_COMPILER)
@@ -145,17 +121,23 @@ endif ()
# e.g. powerpc-linux-g++, arm-elf-g++ or i586-mingw32msvc-g++ , optionally
# with a 3-component version number at the end (e.g. arm-eabi-gcc-4.5.2).
# The other tools of the toolchain usually have the same prefix
-# NAME_WE cannot be used since then this test will fail for names lile
+# NAME_WE cannot be used since then this test will fail for names like
# "arm-unknown-nto-qnx6.3.0-gcc.exe", where BASENAME would be
# "arm-unknown-nto-qnx6" instead of the correct "arm-unknown-nto-qnx6.3.0-"
if (CMAKE_CROSSCOMPILING AND NOT _CMAKE_TOOLCHAIN_PREFIX)
- if("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")
+ if("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU" OR "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
get_filename_component(COMPILER_BASENAME "${CMAKE_CXX_COMPILER}" NAME)
- if (COMPILER_BASENAME MATCHES "^(.+-)[gc]\\+\\+(-[0-9]+\\.[0-9]+\\.[0-9]+)?(\\.exe)?$")
+ if (COMPILER_BASENAME MATCHES "^(.+-)(clan)?[gc]\\+\\+(-[0-9]+\\.[0-9]+\\.[0-9]+)?(\\.exe)?$")
set(_CMAKE_TOOLCHAIN_PREFIX ${CMAKE_MATCH_1})
+ elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
+ set(_CMAKE_TOOLCHAIN_PREFIX ${CMAKE_CXX_COMPILER_TARGET}-)
+ elseif(COMPILER_BASENAME MATCHES "QCC(\\.exe)?$")
+ if(CMAKE_CXX_COMPILER_TARGET MATCHES "gcc_nto([^_le]+)(le)?.*$")
+ set(_CMAKE_TOOLCHAIN_PREFIX nto${CMAKE_MATCH_1}-)
+ endif()
endif ()
# if "llvm-" is part of the prefix, remove it, since llvm doesn't have its own binutils
@@ -175,16 +157,17 @@ if (CMAKE_CROSSCOMPILING AND NOT _CMAKE_TOOLCHAIN_PREFIX)
endif ()
-include(${CMAKE_ROOT}/Modules/CMakeClDeps.cmake)
include(CMakeFindBinUtils)
if(MSVC_CXX_ARCHITECTURE_ID)
+ include(${CMAKE_ROOT}/Modules/CMakeClDeps.cmake)
set(SET_MSVC_CXX_ARCHITECTURE_ID
"set(MSVC_CXX_ARCHITECTURE_ID ${MSVC_CXX_ARCHITECTURE_ID})")
endif()
+
# configure all variables set in this file
configure_file(${CMAKE_ROOT}/Modules/CMakeCXXCompiler.cmake.in
${CMAKE_PLATFORM_INFO_DIR}/CMakeCXXCompiler.cmake
- @ONLY IMMEDIATE # IMMEDIATE must be here for compatibility mode <= 2.0
+ @ONLY
)
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
diff --git a/Modules/CMakeDetermineCompiler.cmake b/Modules/CMakeDetermineCompiler.cmake
index f522c44..cd0f8b8 100644
--- a/Modules/CMakeDetermineCompiler.cmake
+++ b/Modules/CMakeDetermineCompiler.cmake
@@ -83,3 +83,33 @@ macro(_cmake_find_compiler lang)
endforeach()
endif()
endmacro()
+
+macro(_cmake_find_compiler_path lang)
+ if(CMAKE_${lang}_COMPILER)
+ # we only get here if CMAKE_${lang}_COMPILER was specified using -D or a pre-made CMakeCache.txt
+ # (e.g. via ctest) or set in CMAKE_TOOLCHAIN_FILE
+ # if CMAKE_${lang}_COMPILER is a list of length 2, use the first item as
+ # CMAKE_${lang}_COMPILER and the 2nd one as CMAKE_${lang}_COMPILER_ARG1
+ list(LENGTH CMAKE_${lang}_COMPILER _CMAKE_${lang}_COMPILER_LIST_LENGTH)
+ if("${_CMAKE_${lang}_COMPILER_LIST_LENGTH}" EQUAL 2)
+ list(GET CMAKE_${lang}_COMPILER 1 CMAKE_${lang}_COMPILER_ARG1)
+ list(GET CMAKE_${lang}_COMPILER 0 CMAKE_${lang}_COMPILER)
+ endif()
+ unset(_CMAKE_${lang}_COMPILER_LIST_LENGTH)
+
+ # find the compiler in the PATH if necessary
+ get_filename_component(_CMAKE_USER_${lang}_COMPILER_PATH "${CMAKE_${lang}_COMPILER}" PATH)
+ if(NOT _CMAKE_USER_${lang}_COMPILER_PATH)
+ find_program(CMAKE_${lang}_COMPILER_WITH_PATH NAMES ${CMAKE_${lang}_COMPILER})
+ if(CMAKE_${lang}_COMPILER_WITH_PATH)
+ set(CMAKE_${lang}_COMPILER ${CMAKE_${lang}_COMPILER_WITH_PATH})
+ get_property(_CMAKE_${lang}_COMPILER_CACHED CACHE CMAKE_${lang}_COMPILER PROPERTY TYPE)
+ if(_CMAKE_${lang}_COMPILER_CACHED)
+ set(CMAKE_${lang}_COMPILER "${CMAKE_${lang}_COMPILER}" CACHE STRING "${lang} compiler" FORCE)
+ endif()
+ unset(_CMAKE_${lang}_COMPILER_CACHED)
+ endif()
+ unset(CMAKE_${lang}_COMPILER_WITH_PATH CACHE)
+ endif()
+ endif()
+endmacro()
diff --git a/Modules/CMakeDetermineCompilerId.cmake b/Modules/CMakeDetermineCompilerId.cmake
index dd0c2bd..067892d 100644
--- a/Modules/CMakeDetermineCompilerId.cmake
+++ b/Modules/CMakeDetermineCompilerId.cmake
@@ -44,10 +44,25 @@ function(CMAKE_DETERMINE_COMPILER_ID lang flagvar src)
endforeach()
# If the compiler is still unknown, try to query its vendor.
- if(NOT CMAKE_${lang}_COMPILER_ID)
+ if(CMAKE_${lang}_COMPILER AND NOT CMAKE_${lang}_COMPILER_ID)
CMAKE_DETERMINE_COMPILER_ID_VENDOR(${lang})
endif()
+ if (COMPILER_QNXNTO AND CMAKE_${lang}_COMPILER_ID STREQUAL GNU)
+ execute_process(
+ COMMAND "${CMAKE_${lang}_COMPILER}"
+ -V
+ OUTPUT_VARIABLE output ERROR_VARIABLE output
+ RESULT_VARIABLE result
+ TIMEOUT 10
+ )
+ if (output MATCHES "targets available")
+ set(CMAKE_${lang}_COMPILER_ID QCC)
+ # http://community.qnx.com/sf/discussion/do/listPosts/projects.community/discussion.qnx_momentics_community_support.topc3555?_pagenum=2
+ # The qcc driver does not itself have a version.
+ endif()
+ endif()
+
# if the format is unknown after all files have been checked, put "Unknown" in the cache
if(NOT CMAKE_EXECUTABLE_FORMAT)
set(CMAKE_EXECUTABLE_FORMAT "Unknown" CACHE INTERNAL "Executable file format")
@@ -67,12 +82,10 @@ function(CMAKE_DETERMINE_COMPILER_ID lang flagvar src)
endif()
# Check if compiler id detection gave us the compiler tool.
- if(NOT CMAKE_${lang}_COMPILER)
- if(CMAKE_${lang}_COMPILER_ID_TOOL)
- set(CMAKE_${lang}_COMPILER "${CMAKE_${lang}_COMPILER_ID_TOOL}" PARENT_SCOPE)
- else()
- set(CMAKE_${lang}_COMPILER "CMAKE_${lang}_COMPILER-NOTFOUND" PARENT_SCOPE)
- endif()
+ if(CMAKE_${lang}_COMPILER_ID_TOOL)
+ set(CMAKE_${lang}_COMPILER "${CMAKE_${lang}_COMPILER_ID_TOOL}" PARENT_SCOPE)
+ elseif(NOT CMAKE_${lang}_COMPILER)
+ set(CMAKE_${lang}_COMPILER "CMAKE_${lang}_COMPILER-NOTFOUND" PARENT_SCOPE)
endif()
set(CMAKE_${lang}_COMPILER_ID "${CMAKE_${lang}_COMPILER_ID}" PARENT_SCOPE)
@@ -80,12 +93,16 @@ function(CMAKE_DETERMINE_COMPILER_ID lang flagvar src)
set(MSVC_${lang}_ARCHITECTURE_ID "${MSVC_${lang}_ARCHITECTURE_ID}"
PARENT_SCOPE)
set(CMAKE_${lang}_COMPILER_VERSION "${CMAKE_${lang}_COMPILER_VERSION}" PARENT_SCOPE)
+ set(CMAKE_${lang}_SIMULATE_ID "${CMAKE_${lang}_SIMULATE_ID}" PARENT_SCOPE)
+ set(CMAKE_${lang}_SIMULATE_VERSION "${CMAKE_${lang}_SIMULATE_VERSION}" PARENT_SCOPE)
endfunction()
#-----------------------------------------------------------------------------
# Function to write the compiler id source file.
function(CMAKE_DETERMINE_COMPILER_ID_WRITE lang src)
- file(READ ${CMAKE_ROOT}/Modules/${src}.in ID_CONTENT_IN)
+ find_file(src_in ${src}.in PATHS ${CMAKE_ROOT}/Modules ${CMAKE_MODULE_PATH} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH)
+ file(READ ${src_in} ID_CONTENT_IN)
+ unset(src_in CACHE)
string(CONFIGURE "${ID_CONTENT_IN}" ID_CONTENT_OUT @ONLY)
file(WRITE ${CMAKE_${lang}_COMPILER_ID_DIR}/${src} "${ID_CONTENT_OUT}")
endfunction()
@@ -107,12 +124,20 @@ Id flags: ${testflags}
")
# Compile the compiler identification source.
- if("${CMAKE_GENERATOR}" MATCHES "Visual Studio ([0-9]+)")
+ if(CMAKE_GENERATOR STREQUAL "Visual Studio 6" AND
+ lang STREQUAL "Fortran")
+ set(CMAKE_${lang}_COMPILER_ID_RESULT 1)
+ set(CMAKE_${lang}_COMPILER_ID_OUTPUT "No Intel Fortran in VS 6")
+ elseif("${CMAKE_GENERATOR}" MATCHES "Visual Studio ([0-9]+)")
set(vs_version ${CMAKE_MATCH_1})
set(id_platform ${CMAKE_VS_PLATFORM_NAME})
set(id_lang "${lang}")
set(id_cl cl.exe)
- if(NOT "${vs_version}" VERSION_LESS 10)
+ if(lang STREQUAL Fortran)
+ set(v Intel)
+ set(ext vfproj)
+ set(id_cl ifort.exe)
+ elseif(NOT "${vs_version}" VERSION_LESS 10)
set(v 10)
set(ext vcxproj)
elseif(NOT "${vs_version}" VERSION_LESS 7)
@@ -128,6 +153,9 @@ Id flags: ${testflags}
endif()
if(CMAKE_VS_PLATFORM_TOOLSET)
set(id_toolset "<PlatformToolset>${CMAKE_VS_PLATFORM_TOOLSET}</PlatformToolset>")
+ if(CMAKE_VS_PLATFORM_TOOLSET MATCHES "Intel")
+ set(id_cl icl.exe)
+ endif()
else()
set(id_toolset "")
endif()
@@ -141,27 +169,37 @@ Id flags: ${testflags}
else()
set(id_subsystem 1)
endif()
- if("${CMAKE_MAKE_PROGRAM}" MATCHES "[Mm][Ss][Bb][Uu][Ii][Ll][Dd]")
- set(build /p:Configuration=Debug /p:Platform=@id_platform@ /p:VisualStudioVersion=${vs_version}.0)
- elseif("${CMAKE_MAKE_PROGRAM}" MATCHES "[Mm][Ss][Dd][Ee][Vv]")
- set(build /make)
- else()
- set(build /build Debug)
- endif()
set(id_dir ${CMAKE_${lang}_COMPILER_ID_DIR})
get_filename_component(id_src "${src}" NAME)
configure_file(${CMAKE_ROOT}/Modules/CompilerId/VS-${v}.${ext}.in
- ${id_dir}/CompilerId${lang}.${ext} @ONLY IMMEDIATE)
- execute_process(
- COMMAND ${CMAKE_MAKE_PROGRAM} CompilerId${lang}.${ext} ${build}
- WORKING_DIRECTORY ${CMAKE_${lang}_COMPILER_ID_DIR}
- OUTPUT_VARIABLE CMAKE_${lang}_COMPILER_ID_OUTPUT
- ERROR_VARIABLE CMAKE_${lang}_COMPILER_ID_OUTPUT
- RESULT_VARIABLE CMAKE_${lang}_COMPILER_ID_RESULT
- )
+ ${id_dir}/CompilerId${lang}.${ext} @ONLY)
+ if(CMAKE_VS_MSBUILD_COMMAND AND NOT lang STREQUAL "Fortran")
+ set(command "${CMAKE_VS_MSBUILD_COMMAND}" "CompilerId${lang}.${ext}"
+ "/p:Configuration=Debug" "/p:Platform=${id_platform}" "/p:VisualStudioVersion=${vs_version}.0"
+ )
+ elseif(CMAKE_VS_DEVENV_COMMAND)
+ set(command "${CMAKE_VS_DEVENV_COMMAND}" "CompilerId${lang}.${ext}" "/build" "Debug")
+ elseif(CMAKE_VS_MSDEV_COMMAND)
+ set(command "${CMAKE_VS_MSDEV_COMMAND}" "CompilerId${lang}.${ext}" "/make")
+ else()
+ set(command "")
+ endif()
+ if(command)
+ execute_process(
+ COMMAND ${command}
+ WORKING_DIRECTORY ${CMAKE_${lang}_COMPILER_ID_DIR}
+ OUTPUT_VARIABLE CMAKE_${lang}_COMPILER_ID_OUTPUT
+ ERROR_VARIABLE CMAKE_${lang}_COMPILER_ID_OUTPUT
+ RESULT_VARIABLE CMAKE_${lang}_COMPILER_ID_RESULT
+ )
+ else()
+ set(CMAKE_${lang}_COMPILER_ID_RESULT 1)
+ set(CMAKE_${lang}_COMPILER_ID_OUTPUT "VS environment not known to support ${lang}")
+ endif()
# Match the compiler location line printed out.
if("${CMAKE_${lang}_COMPILER_ID_OUTPUT}" MATCHES "CMAKE_${lang}_COMPILER=([^%\r\n]+)[\r\n]")
- set(_comp "${CMAKE_MATCH_1}")
+ # Strip VS diagnostic output from the end of the line.
+ string(REGEX REPLACE " \\(TaskId:[0-9]*\\)$" "" _comp "${CMAKE_MATCH_1}")
if(EXISTS "${_comp}")
file(TO_CMAKE_PATH "${_comp}" _comp)
set(CMAKE_${lang}_COMPILER_ID_TOOL "${_comp}" PARENT_SCOPE)
@@ -188,7 +226,7 @@ Id flags: ${testflags}
set(ext xcode)
endif()
configure_file(${CMAKE_ROOT}/Modules/CompilerId/Xcode-${v}.pbxproj.in
- ${id_dir}/CompilerId${lang}.${ext}/project.pbxproj @ONLY IMMEDIATE)
+ ${id_dir}/CompilerId${lang}.${ext}/project.pbxproj @ONLY)
unset(_ENV_MACOSX_DEPLOYMENT_TARGET)
if(DEFINED ENV{MACOSX_DEPLOYMENT_TARGET})
set(_ENV_MACOSX_DEPLOYMENT_TARGET "$ENV{MACOSX_DEPLOYMENT_TARGET}")
@@ -218,7 +256,7 @@ Id flags: ${testflags}
else()
if(COMMAND EXECUTE_PROCESS)
execute_process(
- COMMAND ${CMAKE_${lang}_COMPILER}
+ COMMAND "${CMAKE_${lang}_COMPILER}"
${CMAKE_${lang}_COMPILER_ID_ARG1}
${CMAKE_${lang}_COMPILER_ID_FLAGS_LIST}
${testflags}
@@ -230,7 +268,7 @@ Id flags: ${testflags}
)
else()
exec_program(
- ${CMAKE_${lang}_COMPILER} ${CMAKE_${lang}_COMPILER_ID_DIR}
+ "${CMAKE_${lang}_COMPILER}" ${CMAKE_${lang}_COMPILER_ID_DIR}
ARGS ${CMAKE_${lang}_COMPILER_ID_ARG1}
${CMAKE_${lang}_COMPILER_ID_FLAGS_LIST}
${testflags}
@@ -242,7 +280,10 @@ Id flags: ${testflags}
endif()
# Check the result of compilation.
- if(CMAKE_${lang}_COMPILER_ID_RESULT)
+ if(CMAKE_${lang}_COMPILER_ID_RESULT
+ # Intel Fortran warns and ignores preprocessor lines without /fpp
+ OR CMAKE_${lang}_COMPILER_ID_OUTPUT MATCHES "Bad # preprocessor line"
+ )
# Compilation failed.
set(MSG
"Compiling the ${lang} compiler identification source file \"${src}\" failed.
@@ -308,9 +349,12 @@ function(CMAKE_DETERMINE_COMPILER_ID_CHECK lang file)
set(COMPILER_ID)
set(COMPILER_VERSION)
set(PLATFORM_ID)
+ set(ARCHITECTURE_ID)
+ set(SIMULATE_ID)
+ set(SIMULATE_VERSION)
file(STRINGS ${file}
- CMAKE_${lang}_COMPILER_ID_STRINGS LIMIT_COUNT 4 REGEX "INFO:")
- set(HAVE_COMPILER_TWICE 0)
+ CMAKE_${lang}_COMPILER_ID_STRINGS LIMIT_COUNT 6 REGEX "INFO:")
+ set(COMPILER_ID_TWICE)
foreach(info ${CMAKE_${lang}_COMPILER_ID_STRINGS})
if("${info}" MATCHES ".*INFO:compiler\\[([^]\"]*)\\].*")
if(COMPILER_ID)
@@ -332,6 +376,17 @@ function(CMAKE_DETERMINE_COMPILER_ID_CHECK lang file)
string(REGEX REPLACE "^0+([0-9])" "\\1" COMPILER_VERSION "${COMPILER_VERSION}")
string(REGEX REPLACE "\\.0+([0-9])" ".\\1" COMPILER_VERSION "${COMPILER_VERSION}")
endif()
+ if("${info}" MATCHES ".*INFO:simulate\\[([^]\"]*)\\].*")
+ set(SIMULATE_ID "${CMAKE_MATCH_1}")
+ endif()
+ if("${info}" MATCHES ".*INFO:simulate_version\\[([^]\"]*)\\].*")
+ set(SIMULATE_VERSION "${CMAKE_MATCH_1}")
+ string(REGEX REPLACE "^0+([0-9])" "\\1" SIMULATE_VERSION "${SIMULATE_VERSION}")
+ string(REGEX REPLACE "\\.0+([0-9])" ".\\1" SIMULATE_VERSION "${SIMULATE_VERSION}")
+ endif()
+ if("${info}" MATCHES ".*INFO:qnxnto")
+ set(COMPILER_QNXNTO 1)
+ endif()
endforeach()
# Detect the exact architecture from the PE header.
@@ -369,6 +424,8 @@ function(CMAKE_DETERMINE_COMPILER_ID_CHECK lang file)
set(CMAKE_${lang}_PLATFORM_ID "${PLATFORM_ID}")
set(MSVC_${lang}_ARCHITECTURE_ID "${ARCHITECTURE_ID}")
set(CMAKE_${lang}_COMPILER_VERSION "${COMPILER_VERSION}")
+ set(CMAKE_${lang}_SIMULATE_ID "${SIMULATE_ID}")
+ set(CMAKE_${lang}_SIMULATE_VERSION "${SIMULATE_VERSION}")
endif()
# Check the compiler identification string.
@@ -417,7 +474,10 @@ function(CMAKE_DETERMINE_COMPILER_ID_CHECK lang file)
set(MSVC_${lang}_ARCHITECTURE_ID "${MSVC_${lang}_ARCHITECTURE_ID}"
PARENT_SCOPE)
set(CMAKE_${lang}_COMPILER_VERSION "${CMAKE_${lang}_COMPILER_VERSION}" PARENT_SCOPE)
+ set(CMAKE_${lang}_SIMULATE_ID "${CMAKE_${lang}_SIMULATE_ID}" PARENT_SCOPE)
+ set(CMAKE_${lang}_SIMULATE_VERSION "${CMAKE_${lang}_SIMULATE_VERSION}" PARENT_SCOPE)
set(CMAKE_EXECUTABLE_FORMAT "${CMAKE_EXECUTABLE_FORMAT}" PARENT_SCOPE)
+ set(COMPILER_QNXNTO "${COMPILER_QNXNTO}" PARENT_SCOPE)
endfunction()
#-----------------------------------------------------------------------------
@@ -444,7 +504,7 @@ function(CMAKE_DETERMINE_COMPILER_ID_VENDOR lang)
set(flags ${CMAKE_${lang}_COMPILER_ID_VENDOR_FLAGS_${vendor}})
set(regex ${CMAKE_${lang}_COMPILER_ID_VENDOR_REGEX_${vendor}})
execute_process(
- COMMAND ${CMAKE_${lang}_COMPILER}
+ COMMAND "${CMAKE_${lang}_COMPILER}"
${CMAKE_${lang}_COMPILER_ID_ARG1}
${CMAKE_${lang}_COMPILER_ID_FLAGS_LIST}
${flags}
diff --git a/Modules/CMakeDetermineFortranCompiler.cmake b/Modules/CMakeDetermineFortranCompiler.cmake
index 4d3fb90..d38bf25 100644
--- a/Modules/CMakeDetermineFortranCompiler.cmake
+++ b/Modules/CMakeDetermineFortranCompiler.cmake
@@ -26,12 +26,9 @@ if(NOT CMAKE_Fortran_COMPILER_NAMES)
endif()
if(${CMAKE_GENERATOR} MATCHES "Visual Studio")
- set(CMAKE_Fortran_COMPILER_ID_RUN 1)
- set(CMAKE_Fortran_PLATFORM_ID "Windows")
- set(CMAKE_Fortran_COMPILER_ID "Intel")
- set(CMAKE_Fortran_COMPILER "${CMAKE_GENERATOR_FC}")
elseif("${CMAKE_GENERATOR}" MATCHES "Xcode")
set(CMAKE_Fortran_COMPILER_XCODE_TYPE sourcecode.fortran.f90)
+ _cmake_find_compiler_path(Fortran)
else()
if(NOT CMAKE_Fortran_COMPILER)
# prefer the environment variable CC
@@ -94,31 +91,7 @@ else()
_cmake_find_compiler(Fortran)
else()
- # we only get here if CMAKE_Fortran_COMPILER was specified using -D or a pre-made CMakeCache.txt
- # (e.g. via ctest) or set in CMAKE_TOOLCHAIN_FILE
- # if CMAKE_Fortran_COMPILER is a list of length 2, use the first item as
- # CMAKE_Fortran_COMPILER and the 2nd one as CMAKE_Fortran_COMPILER_ARG1
-
- list(LENGTH CMAKE_Fortran_COMPILER _CMAKE_Fortran_COMPILER_LIST_LENGTH)
- if("${_CMAKE_Fortran_COMPILER_LIST_LENGTH}" EQUAL 2)
- list(GET CMAKE_Fortran_COMPILER 1 CMAKE_Fortran_COMPILER_ARG1)
- list(GET CMAKE_Fortran_COMPILER 0 CMAKE_Fortran_COMPILER)
- endif()
-
- # if a compiler was specified by the user but without path,
- # now try to find it with the full path
- # if it is found, force it into the cache,
- # if not, don't overwrite the setting (which was given by the user) with "NOTFOUND"
- # if the C compiler already had a path, reuse it for searching the CXX compiler
- get_filename_component(_CMAKE_USER_Fortran_COMPILER_PATH "${CMAKE_Fortran_COMPILER}" PATH)
- if(NOT _CMAKE_USER_Fortran_COMPILER_PATH)
- find_program(CMAKE_Fortran_COMPILER_WITH_PATH NAMES ${CMAKE_Fortran_COMPILER})
- mark_as_advanced(CMAKE_Fortran_COMPILER_WITH_PATH)
- if(CMAKE_Fortran_COMPILER_WITH_PATH)
- set(CMAKE_Fortran_COMPILER ${CMAKE_Fortran_COMPILER_WITH_PATH}
- CACHE STRING "Fortran compiler" FORCE)
- endif()
- endif()
+ _cmake_find_compiler_path(Fortran)
endif()
mark_as_advanced(CMAKE_Fortran_COMPILER)
@@ -197,7 +170,7 @@ endif ()
# e.g. powerpc-linux-gfortran, arm-elf-gfortran or i586-mingw32msvc-gfortran , optionally
# with a 3-component version number at the end (e.g. arm-eabi-gcc-4.5.2).
# The other tools of the toolchain usually have the same prefix
-# NAME_WE cannot be used since then this test will fail for names lile
+# NAME_WE cannot be used since then this test will fail for names like
# "arm-unknown-nto-qnx6.3.0-gcc.exe", where BASENAME would be
# "arm-unknown-nto-qnx6" instead of the correct "arm-unknown-nto-qnx6.3.0-"
if (CMAKE_CROSSCOMPILING AND NOT _CMAKE_TOOLCHAIN_PREFIX)
@@ -226,6 +199,6 @@ endif()
# configure variables set in this file for fast reload later on
configure_file(${CMAKE_ROOT}/Modules/CMakeFortranCompiler.cmake.in
${CMAKE_PLATFORM_INFO_DIR}/CMakeFortranCompiler.cmake
- @ONLY IMMEDIATE # IMMEDIATE must be here for compatibility mode <= 2.0
+ @ONLY
)
set(CMAKE_Fortran_COMPILER_ENV_VAR "FC")
diff --git a/Modules/CMakeDetermineJavaCompiler.cmake b/Modules/CMakeDetermineJavaCompiler.cmake
index ae9f5fc..7ae7856 100644
--- a/Modules/CMakeDetermineJavaCompiler.cmake
+++ b/Modules/CMakeDetermineJavaCompiler.cmake
@@ -100,5 +100,5 @@ mark_as_advanced(CMAKE_Java_COMPILER)
# configure variables set in this file for fast reload later on
configure_file(${CMAKE_ROOT}/Modules/CMakeJavaCompiler.cmake.in
- ${CMAKE_PLATFORM_INFO_DIR}/CMakeJavaCompiler.cmake IMMEDIATE @ONLY)
+ ${CMAKE_PLATFORM_INFO_DIR}/CMakeJavaCompiler.cmake @ONLY)
set(CMAKE_Java_COMPILER_ENV_VAR "JAVA_COMPILER")
diff --git a/Modules/CMakeDetermineRCCompiler.cmake b/Modules/CMakeDetermineRCCompiler.cmake
index c4600c7..f23846e 100644
--- a/Modules/CMakeDetermineRCCompiler.cmake
+++ b/Modules/CMakeDetermineRCCompiler.cmake
@@ -63,5 +63,5 @@ endif()
# configure variables set in this file for fast reload later on
configure_file(${CMAKE_ROOT}/Modules/CMakeRCCompiler.cmake.in
- ${CMAKE_PLATFORM_INFO_DIR}/CMakeRCCompiler.cmake IMMEDIATE)
+ ${CMAKE_PLATFORM_INFO_DIR}/CMakeRCCompiler.cmake)
set(CMAKE_RC_COMPILER_ENV_VAR "RC")
diff --git a/Modules/CMakeDetermineSystem.cmake b/Modules/CMakeDetermineSystem.cmake
index 3a95d2a..f1bad99 100644
--- a/Modules/CMakeDetermineSystem.cmake
+++ b/Modules/CMakeDetermineSystem.cmake
@@ -47,9 +47,14 @@ if(CMAKE_HOST_UNIX)
if(CMAKE_UNAME)
exec_program(uname ARGS -s OUTPUT_VARIABLE CMAKE_HOST_SYSTEM_NAME)
exec_program(uname ARGS -r OUTPUT_VARIABLE CMAKE_HOST_SYSTEM_VERSION)
- if(CMAKE_HOST_SYSTEM_NAME MATCHES "Linux|CYGWIN.*")
+ if(CMAKE_HOST_SYSTEM_NAME MATCHES "Linux|CYGWIN.*|Darwin")
exec_program(uname ARGS -m OUTPUT_VARIABLE CMAKE_HOST_SYSTEM_PROCESSOR
RETURN_VALUE val)
+ if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin" AND
+ CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "Power Macintosh")
+ # OS X ppc 'uname -m' may report 'Power Macintosh' instead of 'powerpc'
+ set(CMAKE_HOST_SYSTEM_PROCESSOR "powerpc")
+ endif()
elseif(CMAKE_HOST_SYSTEM_NAME MATCHES "OpenBSD")
exec_program(arch ARGS -s OUTPUT_VARIABLE CMAKE_HOST_SYSTEM_PROCESSOR
RETURN_VALUE val)
@@ -181,6 +186,6 @@ if(CMAKE_BINARY_DIR)
# configure variables set in this file for fast reload, the template file is defined at the top of this file
configure_file(${CMAKE_ROOT}/Modules/CMakeSystem.cmake.in
${CMAKE_PLATFORM_INFO_DIR}/CMakeSystem.cmake
- IMMEDIATE @ONLY)
+ @ONLY)
endif()
diff --git a/Modules/CMakeDetermineVSServicePack.cmake b/Modules/CMakeDetermineVSServicePack.cmake
index f49482e..2854387 100644
--- a/Modules/CMakeDetermineVSServicePack.cmake
+++ b/Modules/CMakeDetermineVSServicePack.cmake
@@ -1,22 +1,32 @@
-# - Determine the Visual Studio service pack of the 'cl' in use.
-# The functionality of this module has been superseded by the platform
-# variable CMAKE_<LANG>_COMPILER_VERSION that contains the compiler version
-# number.
+#.rst:
+# CMakeDetermineVSServicePack
+# ---------------------------
+#
+# Deprecated. Do not use.
+#
+# The functionality of this module has been superseded by the
+# :variable:`CMAKE_<LANG>_COMPILER_VERSION` variable that contains
+# the compiler version number.
+#
+# Determine the Visual Studio service pack of the 'cl' in use.
+#
+# Usage::
+#
+# if(MSVC)
+# include(CMakeDetermineVSServicePack)
+# DetermineVSServicePack( my_service_pack )
+# if( my_service_pack )
+# message(STATUS "Detected: ${my_service_pack}")
+# endif()
+# endif()
#
-# Usage:
-# if(MSVC)
-# include(CMakeDetermineVSServicePack)
-# DetermineVSServicePack( my_service_pack )
-# if( my_service_pack )
-# message(STATUS "Detected: ${my_service_pack}")
-# endif()
-# endif()
# Function DetermineVSServicePack sets the given variable to one of the
-# following values or an empty string if unknown:
-# vc80, vc80sp1
-# vc90, vc90sp1
-# vc100, vc100sp1
-# vc110, vc110sp1, vc110sp2
+# following values or an empty string if unknown::
+#
+# vc80, vc80sp1
+# vc90, vc90sp1
+# vc100, vc100sp1
+# vc110, vc110sp1, vc110sp2, vc110sp3, vc110sp4
#=============================================================================
# Copyright 2009-2013 Kitware, Inc.
@@ -56,6 +66,8 @@ function(_DetermineVSServicePackFromCompiler _OUT_VAR _cl_version)
set(_version "vc110sp2")
elseif(${_cl_version} VERSION_EQUAL "17.00.60610.1")
set(_version "vc110sp3")
+ elseif(${_cl_version} VERSION_EQUAL "17.00.61030")
+ set(_version "vc110sp4")
else()
set(_version "")
endif()
@@ -74,27 +86,14 @@ function(_DetermineVSServicePack_FastCheckVersionWithCompiler _SUCCESS_VAR _VER
OUTPUT_QUIET
)
- string(REGEX MATCH "Compiler Version [0-9]+.[0-9]+.[0-9]+.[0-9]+"
- _cl_version "${_output}")
-
- if(_cl_version)
- string(REGEX MATCHALL "[0-9]+"
- _cl_version_list "${_cl_version}")
- list(GET _cl_version_list 0 _major)
- list(GET _cl_version_list 1 _minor)
- list(GET _cl_version_list 2 _patch)
- list(GET _cl_version_list 3 _tweak)
-
+ if(_output MATCHES "Compiler Version (([0-9]+)\\.([0-9]+)\\.([0-9]+)(\\.([0-9]+))?)")
+ set(_cl_version ${CMAKE_MATCH_1})
+ set(_major ${CMAKE_MATCH_2})
+ set(_minor ${CMAKE_MATCH_3})
if("${_major}${_minor}" STREQUAL "${MSVC_VERSION}")
- set(_cl_version ${_major}.${_minor}.${_patch}.${_tweak})
- else()
- unset(_cl_version)
- endif()
- endif()
-
- if(_cl_version)
set(${_SUCCESS_VAR} true PARENT_SCOPE)
set(${_VERSION_VAR} ${_cl_version} PARENT_SCOPE)
+ endif()
endif()
endif()
endfunction()
@@ -115,20 +114,9 @@ function(_DetermineVSServicePack_CheckVersionWithTryCompile _SUCCESS_VAR _VERSI
file(REMOVE "${CMAKE_BINARY_DIR}/return0.cc")
- string(REGEX MATCH "Compiler Version [0-9]+.[0-9]+.[0-9]+.[0-9]+"
- _cl_version "${_output}")
-
- if(_cl_version)
- string(REGEX MATCHALL "[0-9]+"
- _cl_version_list "${_cl_version}")
-
- list(GET _cl_version_list 0 _major)
- list(GET _cl_version_list 1 _minor)
- list(GET _cl_version_list 2 _patch)
- list(GET _cl_version_list 3 _tweak)
-
+ if(_output MATCHES "Compiler Version (([0-9]+)\\.([0-9]+)\\.([0-9]+)(\\.([0-9]+))?)")
set(${_SUCCESS_VAR} true PARENT_SCOPE)
- set(${_VERSION_VAR} ${_major}.${_minor}.${_patch}.${_tweak} PARENT_SCOPE)
+ set(${_VERSION_VAR} "${CMAKE_MATCH_1}" PARENT_SCOPE)
endif()
endfunction()
diff --git a/Modules/CMakeExpandImportedTargets.cmake b/Modules/CMakeExpandImportedTargets.cmake
index f5c009c..0752e04 100644
--- a/Modules/CMakeExpandImportedTargets.cmake
+++ b/Modules/CMakeExpandImportedTargets.cmake
@@ -1,19 +1,27 @@
-# CMAKE_EXPAND_IMPORTED_TARGETS(<var> LIBRARIES lib1 lib2...libN
-# [CONFIGURATION <config>] )
+#.rst:
+# CMakeExpandImportedTargets
+# --------------------------
+#
+# ::
+#
+# CMAKE_EXPAND_IMPORTED_TARGETS(<var> LIBRARIES lib1 lib2...libN
+# [CONFIGURATION <config>])
#
# CMAKE_EXPAND_IMPORTED_TARGETS() takes a list of libraries and replaces
-# all imported targets contained in this list with their actual file paths
-# of the referenced libraries on disk, including the libraries from their
-# link interfaces.
-# If a CONFIGURATION is given, it uses the respective configuration of the
-# imported targets if it exists. If no CONFIGURATION is given, it uses
-# the first configuration from ${CMAKE_CONFIGURATION_TYPES} if set, otherwise
-# ${CMAKE_BUILD_TYPE}.
-# This macro is used by all Check*.cmake files which use
-# try_compile() or try_run() and support CMAKE_REQUIRED_LIBRARIES , so that
-# these checks support imported targets in CMAKE_REQUIRED_LIBRARIES:
-# cmake_expand_imported_targets(expandedLibs LIBRARIES ${CMAKE_REQUIRED_LIBRARIES}
-# CONFIGURATION "${CMAKE_TRY_COMPILE_CONFIGURATION}" )
+# all imported targets contained in this list with their actual file
+# paths of the referenced libraries on disk, including the libraries
+# from their link interfaces. If a CONFIGURATION is given, it uses the
+# respective configuration of the imported targets if it exists. If no
+# CONFIGURATION is given, it uses the first configuration from
+# ${CMAKE_CONFIGURATION_TYPES} if set, otherwise ${CMAKE_BUILD_TYPE}.
+# This macro is used by all Check*.cmake files which use try_compile()
+# or try_run() and support CMAKE_REQUIRED_LIBRARIES , so that these
+# checks support imported targets in CMAKE_REQUIRED_LIBRARIES:
+#
+# ::
+#
+# cmake_expand_imported_targets(expandedLibs LIBRARIES ${CMAKE_REQUIRED_LIBRARIES}
+# CONFIGURATION "${CMAKE_TRY_COMPILE_CONFIGURATION}" )
#=============================================================================
diff --git a/Modules/CMakeExportBuildSettings.cmake b/Modules/CMakeExportBuildSettings.cmake
index a18f950..90a7a89 100644
--- a/Modules/CMakeExportBuildSettings.cmake
+++ b/Modules/CMakeExportBuildSettings.cmake
@@ -29,7 +29,7 @@ endif()
macro(CMAKE_EXPORT_BUILD_SETTINGS SETTINGS_FILE)
if(${SETTINGS_FILE} MATCHES ".+")
configure_file(${CMAKE_ROOT}/Modules/CMakeBuildSettings.cmake.in
- ${SETTINGS_FILE} @ONLY IMMEDIATE)
+ ${SETTINGS_FILE} @ONLY)
else()
message(SEND_ERROR "CMAKE_EXPORT_BUILD_SETTINGS called with no argument.")
endif()
diff --git a/Modules/CMakeFindBinUtils.cmake b/Modules/CMakeFindBinUtils.cmake
index e70c013..829b6ff 100644
--- a/Modules/CMakeFindBinUtils.cmake
+++ b/Modules/CMakeFindBinUtils.cmake
@@ -30,8 +30,11 @@
# License text for the above reference.)
# if it's the MS C/CXX compiler, search for link
-if("${CMAKE_CXX_COMPILER_ID}" MATCHES "MSVC"
- OR "${CMAKE_C_COMPILER_ID}" MATCHES "MSVC"
+if("${CMAKE_C_SIMULATE_ID}" STREQUAL "MSVC"
+ OR "${CMAKE_CXX_SIMULATE_ID}" STREQUAL "MSVC"
+ OR "${CMAKE_Fortran_SIMULATE_ID}" STREQUAL "MSVC"
+ OR "${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC"
+ OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC"
OR "${CMAKE_GENERATOR}" MATCHES "Visual Studio")
find_program(CMAKE_LINKER NAMES link HINTS ${_CMAKE_TOOLCHAIN_LOCATION})
@@ -40,7 +43,12 @@ if("${CMAKE_CXX_COMPILER_ID}" MATCHES "MSVC"
# in all other cases search for ar, ranlib, etc.
else()
-
+ if(CMAKE_C_COMPILER_EXTERNAL_TOOLCHAIN)
+ set(_CMAKE_TOOLCHAIN_LOCATION ${_CMAKE_TOOLCHAIN_LOCATION} ${CMAKE_C_COMPILER_EXTERNAL_TOOLCHAIN}/bin)
+ endif()
+ if(CMAKE_CXX_COMPILER_EXTERNAL_TOOLCHAIN)
+ set(_CMAKE_TOOLCHAIN_LOCATION ${_CMAKE_TOOLCHAIN_LOCATION} ${CMAKE_CXX_COMPILER_EXTERNAL_TOOLCHAIN}/bin)
+ endif()
find_program(CMAKE_AR NAMES ${_CMAKE_TOOLCHAIN_PREFIX}ar${_CMAKE_TOOLCHAIN_SUFFIX} HINTS ${_CMAKE_TOOLCHAIN_LOCATION})
find_program(CMAKE_RANLIB NAMES ${_CMAKE_TOOLCHAIN_PREFIX}ranlib HINTS ${_CMAKE_TOOLCHAIN_LOCATION})
diff --git a/Modules/CMakeFindDependencyMacro.cmake b/Modules/CMakeFindDependencyMacro.cmake
new file mode 100644
index 0000000..73efaae
--- /dev/null
+++ b/Modules/CMakeFindDependencyMacro.cmake
@@ -0,0 +1,85 @@
+#.rst:
+# CMakeFindDependencyMacro
+# -------------------------
+#
+# ::
+#
+# find_dependency(<dep> [<version> [EXACT]])
+#
+#
+# ``find_dependency()`` wraps a :command:`find_package` call for a package
+# dependency. It is designed to be used in a <package>Config.cmake file, and it
+# forwards the correct parameters for EXACT, QUIET and REQUIRED which were
+# passed to the original :command:`find_package` call. It also sets an
+# informative diagnostic message if the dependency could not be found.
+#
+
+#=============================================================================
+# Copyright 2013 Stephen Kelly <steveire@gmail.com>
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distribute this file outside of CMake, substitute the full
+# License text for the above reference.)
+
+macro(find_dependency dep)
+ if (NOT ${dep}_FOUND)
+ set(cmake_fd_version)
+ if (${ARGC} GREATER 1)
+ if ("${ARGV1}" STREQUAL "")
+ message(FATAL_ERROR "Invalid arguments to find_dependency. VERSION is empty")
+ endif()
+ if ("${ARGV1}" STREQUAL EXACT)
+ message(FATAL_ERROR "Invalid arguments to find_dependency. EXACT may only be specified if a VERSION is specified")
+ endif()
+ set(cmake_fd_version ${ARGV1})
+ endif()
+ set(cmake_fd_exact_arg)
+ if(${ARGC} GREATER 2)
+ if (NOT "${ARGV2}" STREQUAL EXACT)
+ message(FATAL_ERROR "Invalid arguments to find_dependency")
+ endif()
+ set(cmake_fd_exact_arg EXACT)
+ endif()
+ if(${ARGC} GREATER 3)
+ message(FATAL_ERROR "Invalid arguments to find_dependency")
+ endif()
+ set(cmake_fd_quiet_arg)
+ if(${CMAKE_FIND_PACKAGE_NAME}_FIND_QUIETLY)
+ set(cmake_fd_quiet_arg QUIET)
+ endif()
+ set(cmake_fd_required_arg)
+ if(${CMAKE_FIND_PACKAGE_NAME}_FIND_REQUIRED)
+ set(cmake_fd_required_arg REQUIRED)
+ endif()
+
+ get_property(cmake_fd_alreadyTransitive GLOBAL PROPERTY
+ _CMAKE_${dep}_TRANSITIVE_DEPENDENCY
+ )
+
+ find_package(${dep} ${cmake_fd_version}
+ ${cmake_fd_exact_arg}
+ ${cmake_fd_quiet_arg}
+ ${cmake_fd_required_arg}
+ )
+
+ if(NOT DEFINED cmake_fd_alreadyTransitive OR cmake_fd_alreadyTransitive)
+ set_property(GLOBAL PROPERTY _CMAKE_${dep}_TRANSITIVE_DEPENDENCY TRUE)
+ endif()
+
+ if (NOT ${dep}_FOUND)
+ set(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE "${CMAKE_FIND_PACKAGE_NAME} could not be found because dependency ${dep} could not be found.")
+ set(${CMAKE_FIND_PACKAGE_NAME}_FOUND False)
+ return()
+ endif()
+ set(cmake_fd_version)
+ set(cmake_fd_required_arg)
+ set(cmake_fd_quiet_arg)
+ set(cmake_fd_exact_arg)
+ endif()
+endmacro()
diff --git a/Modules/CMakeFindEclipseCDT4.cmake b/Modules/CMakeFindEclipseCDT4.cmake
index ae17454..85c1fdf 100644
--- a/Modules/CMakeFindEclipseCDT4.cmake
+++ b/Modules/CMakeFindEclipseCDT4.cmake
@@ -19,18 +19,6 @@ find_program(CMAKE_ECLIPSE_EXECUTABLE NAMES eclipse DOC "The Eclipse executable"
function(_FIND_ECLIPSE_VERSION)
# This code is in a function so the variables used here have only local scope
- if(CMAKE_ECLIPSE_EXECUTABLE)
- # use REALPATH to resolve symlinks (http://public.kitware.com/Bug/view.php?id=13036)
- get_filename_component(_REALPATH_CMAKE_ECLIPSE_EXECUTABLE "${CMAKE_ECLIPSE_EXECUTABLE}" REALPATH)
- get_filename_component(_ECLIPSE_DIR "${_REALPATH_CMAKE_ECLIPSE_EXECUTABLE}" PATH)
- file(GLOB _ECLIPSE_FEATURE_DIR "${_ECLIPSE_DIR}/features/org.eclipse.platform*")
- if(APPLE AND NOT _ECLIPSE_FEATURE_DIR)
- file(GLOB _ECLIPSE_FEATURE_DIR "${_ECLIPSE_DIR}/../../../features/org.eclipse.platform*")
- endif()
- if("${_ECLIPSE_FEATURE_DIR}" MATCHES ".+org.eclipse.platform_([0-9]+\\.[0-9]+).+")
- set(_ECLIPSE_VERSION ${CMAKE_MATCH_1})
- endif()
- endif()
# Set up a map with the names of the Eclipse releases:
set(_ECLIPSE_VERSION_NAME_ "Unknown" )
@@ -41,15 +29,34 @@ function(_FIND_ECLIPSE_VERSION)
set(_ECLIPSE_VERSION_NAME_3.6 "Helios" )
set(_ECLIPSE_VERSION_NAME_3.7 "Indigo" )
set(_ECLIPSE_VERSION_NAME_4.2 "Juno" )
+ set(_ECLIPSE_VERSION_NAME_4.3 "Kepler" )
+
+ if(NOT DEFINED CMAKE_ECLIPSE_VERSION)
+ if(CMAKE_ECLIPSE_EXECUTABLE)
+ # use REALPATH to resolve symlinks (http://public.kitware.com/Bug/view.php?id=13036)
+ get_filename_component(_REALPATH_CMAKE_ECLIPSE_EXECUTABLE "${CMAKE_ECLIPSE_EXECUTABLE}" REALPATH)
+ get_filename_component(_ECLIPSE_DIR "${_REALPATH_CMAKE_ECLIPSE_EXECUTABLE}" PATH)
+ file(GLOB _ECLIPSE_FEATURE_DIR "${_ECLIPSE_DIR}/features/org.eclipse.platform*")
+ if(APPLE AND NOT _ECLIPSE_FEATURE_DIR)
+ file(GLOB _ECLIPSE_FEATURE_DIR "${_ECLIPSE_DIR}/../../../features/org.eclipse.platform*")
+ endif()
+ if("${_ECLIPSE_FEATURE_DIR}" MATCHES ".+org.eclipse.platform_([0-9]+\\.[0-9]+).+")
+ set(_ECLIPSE_VERSION ${CMAKE_MATCH_1})
+ endif()
+ endif()
+
+ if(_ECLIPSE_VERSION)
+ message(STATUS "Found Eclipse version ${_ECLIPSE_VERSION} (${_ECLIPSE_VERSION_NAME_${_ECLIPSE_VERSION}})")
+ else()
+ set(_ECLIPSE_VERSION "3.6" )
+ message(STATUS "Could not determine Eclipse version, assuming at least ${_ECLIPSE_VERSION} (${_ECLIPSE_VERSION_NAME_${_ECLIPSE_VERSION}}). Adjust CMAKE_ECLIPSE_VERSION if this is wrong.")
+ endif()
- if(_ECLIPSE_VERSION)
- message(STATUS "Found Eclipse version ${_ECLIPSE_VERSION} (${_ECLIPSE_VERSION_NAME_${_ECLIPSE_VERSION}})")
+ set(CMAKE_ECLIPSE_VERSION "${_ECLIPSE_VERSION} (${_ECLIPSE_VERSION_NAME_${_ECLIPSE_VERSION}})" CACHE STRING "The version of Eclipse. If Eclipse has not been found, 3.6 (Helios) is assumed.")
else()
- set(_ECLIPSE_VERSION "3.6" )
- message(STATUS "Could not determine Eclipse version, assuming at least ${_ECLIPSE_VERSION} (${_ECLIPSE_VERSION_NAME_${_ECLIPSE_VERSION}}). Adjust CMAKE_ECLIPSE_VERSION if this is wrong.")
+ message(STATUS "Eclipse version is set to ${CMAKE_ECLIPSE_VERSION}. Adjust CMAKE_ECLIPSE_VERSION if this is wrong.")
endif()
- set(CMAKE_ECLIPSE_VERSION "${_ECLIPSE_VERSION} (${_ECLIPSE_VERSION_NAME_${_ECLIPSE_VERSION}})" CACHE STRING "The version of Eclipse. If Eclipse has not been found, 3.6 (Helios) is assumed.")
set_property(CACHE CMAKE_ECLIPSE_VERSION PROPERTY STRINGS "3.2 (${_ECLIPSE_VERSION_NAME_3.2})"
"3.3 (${_ECLIPSE_VERSION_NAME_3.3})"
"3.4 (${_ECLIPSE_VERSION_NAME_3.4})"
@@ -57,20 +64,21 @@ function(_FIND_ECLIPSE_VERSION)
"3.6 (${_ECLIPSE_VERSION_NAME_3.6})"
"3.7 (${_ECLIPSE_VERSION_NAME_3.7})"
"4.2 (${_ECLIPSE_VERSION_NAME_4.2})"
+ "4.3 (${_ECLIPSE_VERSION_NAME_4.3})"
)
endfunction()
-_FIND_ECLIPSE_VERSION()
+_find_eclipse_version()
# Try to find out how many CPUs we have and set the -j argument for make accordingly
set(_CMAKE_ECLIPSE_INITIAL_MAKE_ARGS "")
include(ProcessorCount)
-PROCESSORCOUNT(_CMAKE_ECLIPSE_PROCESSOR_COUNT)
+processorcount(_CMAKE_ECLIPSE_PROCESSOR_COUNT)
# Only set -j if we are under UNIX and if the make-tool used actually has "make" in the name
# (we may also get here in the future e.g. for ninja)
-if("${_CMAKE_ECLIPSE_PROCESSOR_COUNT}" GREATER 1 AND UNIX AND "${CMAKE_MAKE_PROGRAM}" MATCHES make)
+if("${_CMAKE_ECLIPSE_PROCESSOR_COUNT}" GREATER 1 AND CMAKE_HOST_UNIX AND "${CMAKE_MAKE_PROGRAM}" MATCHES make)
set(_CMAKE_ECLIPSE_INITIAL_MAKE_ARGS "-j${_CMAKE_ECLIPSE_PROCESSOR_COUNT}")
endif()
diff --git a/Modules/CMakeFindFrameworks.cmake b/Modules/CMakeFindFrameworks.cmake
index 7fdeb84..6a8bcd4 100644
--- a/Modules/CMakeFindFrameworks.cmake
+++ b/Modules/CMakeFindFrameworks.cmake
@@ -1,4 +1,8 @@
-# - helper module to find OSX frameworks
+#.rst:
+# CMakeFindFrameworks
+# -------------------
+#
+# helper module to find OSX frameworks
#=============================================================================
# Copyright 2003-2009 Kitware, Inc.
diff --git a/Modules/CMakeFindJavaCommon.cmake b/Modules/CMakeFindJavaCommon.cmake
new file mode 100644
index 0000000..fcf0389
--- /dev/null
+++ b/Modules/CMakeFindJavaCommon.cmake
@@ -0,0 +1,41 @@
+
+#=============================================================================
+# Copyright 2013-2014 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distribute this file outside of CMake, substitute the full
+# License text for the above reference.)
+
+# Do not include this module directly from code outside CMake!
+set(_JAVA_HOME "")
+if(JAVA_HOME AND IS_DIRECTORY "${JAVA_HOME}")
+ set(_JAVA_HOME "${JAVA_HOME}")
+ set(_JAVA_HOME_EXPLICIT 1)
+else()
+ set(_ENV_JAVA_HOME "")
+ if(DEFINED ENV{JAVA_HOME})
+ file(TO_CMAKE_PATH "$ENV{JAVA_HOME}" _ENV_JAVA_HOME)
+ endif()
+ if(_ENV_JAVA_HOME AND IS_DIRECTORY "${_ENV_JAVA_HOME}")
+ set(_JAVA_HOME "${_ENV_JAVA_HOME}")
+ set(_JAVA_HOME_EXPLICIT 1)
+ else()
+ set(_CMD_JAVA_HOME "")
+ if(APPLE AND EXISTS /usr/libexec/java_home)
+ execute_process(COMMAND /usr/libexec/java_home
+ OUTPUT_VARIABLE _CMD_JAVA_HOME OUTPUT_STRIP_TRAILING_WHITESPACE)
+ endif()
+ if(_CMD_JAVA_HOME AND IS_DIRECTORY "${_CMD_JAVA_HOME}")
+ set(_JAVA_HOME "${_CMD_JAVA_HOME}")
+ set(_JAVA_HOME_EXPLICIT 0)
+ endif()
+ unset(_CMD_JAVA_HOME)
+ endif()
+ unset(_ENV_JAVA_HOME)
+endif()
diff --git a/Modules/CMakeFindKate.cmake b/Modules/CMakeFindKate.cmake
new file mode 100644
index 0000000..4dcdb28
--- /dev/null
+++ b/Modules/CMakeFindKate.cmake
@@ -0,0 +1,31 @@
+
+#=============================================================================
+# Copyright 2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distribute this file outside of CMake, substitute the full
+# License text for the above reference.)
+
+# This file is included in CMakeSystemSpecificInformation.cmake if
+# the Eclipse CDT4 extra generator has been selected.
+
+
+# Try to find out how many CPUs we have and set the -j argument for make accordingly
+
+include(ProcessorCount)
+processorcount(_CMAKE_KATE_PROCESSOR_COUNT)
+
+# Only set -j if we are under UNIX and if the make-tool used actually has "make" in the name
+# (we may also get here in the future e.g. for ninja)
+if("${_CMAKE_KATE_PROCESSOR_COUNT}" GREATER 1 AND CMAKE_HOST_UNIX AND "${CMAKE_MAKE_PROGRAM}" MATCHES make)
+ set(_CMAKE_KATE_INITIAL_MAKE_ARGS "-j${_CMAKE_KATE_PROCESSOR_COUNT}")
+endif()
+
+# This variable is used by the Eclipse generator and appended to the make invocation commands.
+set(CMAKE_KATE_MAKE_ARGUMENTS "${_CMAKE_KATE_INITIAL_MAKE_ARGS}" CACHE STRING "Additional command line arguments when Kate invokes make. Enter e.g. -j<some_number> to get parallel builds")
diff --git a/Modules/CMakeFindPackageMode.cmake b/Modules/CMakeFindPackageMode.cmake
index e5216f4..9f97ee5 100644
--- a/Modules/CMakeFindPackageMode.cmake
+++ b/Modules/CMakeFindPackageMode.cmake
@@ -1,12 +1,21 @@
-# This file is executed by cmake when invoked with --find-package.
-# It expects that the following variables are set using -D:
-# NAME = name of the package
-# COMPILER_ID = the CMake compiler ID for which the result is, i.e. GNU/Intel/Clang/MSVC, etc.
-# LANGUAGE = language for which the result will be used, i.e. C/CXX/Fortan/ASM
-# MODE = EXIST : only check for existence of the given package
-# COMPILE : print the flags needed for compiling an object file which uses the given package
-# LINK : print the flags needed for linking when using the given package
-# QUIET = if TRUE, don't print anything
+#.rst:
+# CMakeFindPackageMode
+# --------------------
+#
+#
+#
+# This file is executed by cmake when invoked with --find-package. It
+# expects that the following variables are set using -D:
+#
+# ::
+#
+# NAME = name of the package
+# COMPILER_ID = the CMake compiler ID for which the result is, i.e. GNU/Intel/Clang/MSVC, etc.
+# LANGUAGE = language for which the result will be used, i.e. C/CXX/Fortan/ASM
+# MODE = EXIST : only check for existence of the given package
+# COMPILE : print the flags needed for compiling an object file which uses the given package
+# LINK : print the flags needed for linking when using the given package
+# QUIET = if TRUE, don't print anything
#=============================================================================
# Copyright 2006-2011 Alexander Neundorf, <neundorf@kde.org>
diff --git a/Modules/CMakeForceCompiler.cmake b/Modules/CMakeForceCompiler.cmake
index 207c8ad..0e6b5af 100644
--- a/Modules/CMakeForceCompiler.cmake
+++ b/Modules/CMakeForceCompiler.cmake
@@ -1,33 +1,54 @@
+#.rst:
+# CMakeForceCompiler
+# ------------------
+#
+#
+#
# This module defines macros intended for use by cross-compiling
# toolchain files when CMake is not able to automatically detect the
# compiler identification.
#
# Macro CMAKE_FORCE_C_COMPILER has the following signature:
-# CMAKE_FORCE_C_COMPILER(<compiler> <compiler-id>)
-# It sets CMAKE_C_COMPILER to the given compiler and the cmake
-# internal variable CMAKE_C_COMPILER_ID to the given compiler-id.
-# It also bypasses the check for working compiler and basic compiler
-# information tests.
+#
+# ::
+#
+# CMAKE_FORCE_C_COMPILER(<compiler> <compiler-id>)
+#
+# It sets CMAKE_C_COMPILER to the given compiler and the cmake internal
+# variable CMAKE_C_COMPILER_ID to the given compiler-id. It also
+# bypasses the check for working compiler and basic compiler information
+# tests.
#
# Macro CMAKE_FORCE_CXX_COMPILER has the following signature:
-# CMAKE_FORCE_CXX_COMPILER(<compiler> <compiler-id>)
+#
+# ::
+#
+# CMAKE_FORCE_CXX_COMPILER(<compiler> <compiler-id>)
+#
# It sets CMAKE_CXX_COMPILER to the given compiler and the cmake
-# internal variable CMAKE_CXX_COMPILER_ID to the given compiler-id.
-# It also bypasses the check for working compiler and basic compiler
+# internal variable CMAKE_CXX_COMPILER_ID to the given compiler-id. It
+# also bypasses the check for working compiler and basic compiler
# information tests.
#
# Macro CMAKE_FORCE_Fortran_COMPILER has the following signature:
-# CMAKE_FORCE_Fortran_COMPILER(<compiler> <compiler-id>)
+#
+# ::
+#
+# CMAKE_FORCE_Fortran_COMPILER(<compiler> <compiler-id>)
+#
# It sets CMAKE_Fortran_COMPILER to the given compiler and the cmake
# internal variable CMAKE_Fortran_COMPILER_ID to the given compiler-id.
# It also bypasses the check for working compiler and basic compiler
# information tests.
#
# So a simple toolchain file could look like this:
-# include (CMakeForceCompiler)
-# set(CMAKE_SYSTEM_NAME Generic)
-# CMAKE_FORCE_C_COMPILER (chc12 MetrowerksHicross)
-# CMAKE_FORCE_CXX_COMPILER (chc12 MetrowerksHicross)
+#
+# ::
+#
+# include (CMakeForceCompiler)
+# set(CMAKE_SYSTEM_NAME Generic)
+# CMAKE_FORCE_C_COMPILER (chc12 MetrowerksHicross)
+# CMAKE_FORCE_CXX_COMPILER (chc12 MetrowerksHicross)
#=============================================================================
# Copyright 2007-2009 Kitware, Inc.
diff --git a/Modules/CMakeFortranCompiler.cmake.in b/Modules/CMakeFortranCompiler.cmake.in
index d193881..e4c7618 100644
--- a/Modules/CMakeFortranCompiler.cmake.in
+++ b/Modules/CMakeFortranCompiler.cmake.in
@@ -2,6 +2,8 @@ set(CMAKE_Fortran_COMPILER "@CMAKE_Fortran_COMPILER@")
set(CMAKE_Fortran_COMPILER_ARG1 "@CMAKE_Fortran_COMPILER_ARG1@")
set(CMAKE_Fortran_COMPILER_ID "@CMAKE_Fortran_COMPILER_ID@")
set(CMAKE_Fortran_PLATFORM_ID "@CMAKE_Fortran_PLATFORM_ID@")
+set(CMAKE_Fortran_SIMULATE_ID "@CMAKE_Fortran_SIMULATE_ID@")
+set(CMAKE_Fortran_SIMULATE_VERSION "@CMAKE_Fortran_SIMULATE_VERSION@")
@SET_MSVC_Fortran_ARCHITECTURE_ID@
set(CMAKE_AR "@CMAKE_AR@")
set(CMAKE_RANLIB "@CMAKE_RANLIB@")
diff --git a/Modules/CMakeFortranCompilerABI.F b/Modules/CMakeFortranCompilerABI.F
index 7e24553..b34c284 100644
--- a/Modules/CMakeFortranCompilerABI.F
+++ b/Modules/CMakeFortranCompilerABI.F
@@ -10,16 +10,24 @@
PRINT *, 'INFO:sizeof_dptr[8]'
#elif defined(_M_AMD64)
PRINT *, 'INFO:sizeof_dptr[8]'
+#elif defined(__x86_64__)
+ PRINT *, 'INFO:sizeof_dptr[8]'
#elif defined(_ILP32)
PRINT *, 'INFO:sizeof_dptr[4]'
#elif defined(_M_IX86)
PRINT *, 'INFO:sizeof_dptr[4]'
+#elif defined(__i386__)
+ PRINT *, 'INFO:sizeof_dptr[4]'
#elif defined(__SIZEOF_POINTER__) && __SIZEOF_POINTER__ == 8
PRINT *, 'INFO:sizeof_dptr[8]'
#elif defined(__SIZEOF_POINTER__) && __SIZEOF_POINTER__ == 4
PRINT *, 'INFO:sizeof_dptr[4]'
+#elif defined(__SIZEOF_SIZE_T__) && __SIZEOF_SIZE_T__ == 8
+ PRINT *, 'INFO:sizeof_dptr[8]'
+#elif defined(__SIZEOF_SIZE_T__) && __SIZEOF_SIZE_T__ == 4
+ PRINT *, 'INFO:sizeof_dptr[4]'
#endif
#if 0
diff --git a/Modules/CMakeFortranCompilerId.F.in b/Modules/CMakeFortranCompilerId.F.in
index f84852a..5349505 100644
--- a/Modules/CMakeFortranCompilerId.F.in
+++ b/Modules/CMakeFortranCompilerId.F.in
@@ -4,6 +4,24 @@
#endif
#if defined(__INTEL_COMPILER) || defined(__ICC)
PRINT *, 'INFO:compiler[Intel]'
+# if defined(_MSC_VER)
+ PRINT *, 'INFO:simulate[MSVC]'
+# if _MSC_VER >= 1800
+ PRINT *, 'INFO:simulate_version[018.00]'
+# elif _MSC_VER >= 1700
+ PRINT *, 'INFO:simulate_version[017.00]'
+# elif _MSC_VER >= 1600
+ PRINT *, 'INFO:simulate_version[016.00]'
+# elif _MSC_VER >= 1500
+ PRINT *, 'INFO:simulate_version[015.00]'
+# elif _MSC_VER >= 1400
+ PRINT *, 'INFO:simulate_version[014.00]'
+# elif _MSC_VER >= 1310
+ PRINT *, 'INFO:simulate_version[013.01]'
+# else
+ PRINT *, 'INFO:simulate_version[013.00]'
+# endif
+# endif
#elif defined(__SUNPRO_F90) || defined(__SUNPRO_F95)
PRINT *, 'INFO:compiler[SunPro]'
#elif defined(_CRAYFTN)
diff --git a/Modules/CMakeFortranInformation.cmake b/Modules/CMakeFortranInformation.cmake
index 512ec48..080dc68 100644
--- a/Modules/CMakeFortranInformation.cmake
+++ b/Modules/CMakeFortranInformation.cmake
@@ -24,7 +24,7 @@ if(CMAKE_Fortran_COMPILER_ID)
endif()
set(CMAKE_BASE_NAME)
-get_filename_component(CMAKE_BASE_NAME ${CMAKE_Fortran_COMPILER} NAME_WE)
+get_filename_component(CMAKE_BASE_NAME "${CMAKE_Fortran_COMPILER}" NAME_WE)
# since the gnu compiler has several names force g++
if(CMAKE_COMPILER_IS_GNUG77)
set(CMAKE_BASE_NAME g77)
@@ -218,7 +218,7 @@ endif()
if(CMAKE_Fortran_STANDARD_LIBRARIES_INIT)
set(CMAKE_Fortran_STANDARD_LIBRARIES "${CMAKE_Fortran_STANDARD_LIBRARIES_INIT}"
- CACHE STRING "Libraries linked by defalut with all Fortran applications.")
+ CACHE STRING "Libraries linked by default with all Fortran applications.")
mark_as_advanced(CMAKE_Fortran_STANDARD_LIBRARIES)
endif()
@@ -226,11 +226,11 @@ if(NOT CMAKE_NOT_USING_CONFIG_FLAGS)
set (CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG_INIT}" CACHE STRING
"Flags used by the compiler during debug builds.")
set (CMAKE_Fortran_FLAGS_MINSIZEREL "${CMAKE_Fortran_FLAGS_MINSIZEREL_INIT}" CACHE STRING
- "Flags used by the compiler during release minsize builds.")
+ "Flags used by the compiler during release builds for minimum size.")
set (CMAKE_Fortran_FLAGS_RELEASE "${CMAKE_Fortran_FLAGS_RELEASE_INIT}" CACHE STRING
- "Flags used by the compiler during release builds (/MD /Ob1 /Oi /Ot /Oy /Gs will produce slightly less optimized but smaller files).")
+ "Flags used by the compiler during release builds.")
set (CMAKE_Fortran_FLAGS_RELWITHDEBINFO "${CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT}" CACHE STRING
- "Flags used by the compiler during Release with Debug Info builds.")
+ "Flags used by the compiler during release builds with debug info.")
endif()
diff --git a/Modules/CMakeGraphVizOptions.cmake b/Modules/CMakeGraphVizOptions.cmake
index e4af54c..64c89b9 100644
--- a/Modules/CMakeGraphVizOptions.cmake
+++ b/Modules/CMakeGraphVizOptions.cmake
@@ -1,72 +1,112 @@
-##section Variables specific to the graphviz support
-##end
-##module
-# - The builtin graphviz support of CMake.
-# CMake can generate graphviz files, showing the dependencies between
-# the targets in a project and also external libraries which are linked
-# against.
-# When CMake is run with the --graphiz=foo option, it will produce
-# * a foo.dot file showing all dependencies in the project
-# * a foo.dot.<target> file for each target, file showing on which other targets the respective target depends
-# * a foo.dot.<target>.dependers file, showing which other targets depend on the respective target
-#
-# This can result in huge graphs. Using the file CMakeGraphVizOptions.cmake
-# the look and content of the generated graphs can be influenced.
-# This file is searched first in ${CMAKE_BINARY_DIR} and then in
-# ${CMAKE_SOURCE_DIR}. If found, it is read and the variables set in it
-# are used to adjust options for the generated graphviz files.
-##end
-#
-##variable
-# GRAPHVIZ_GRAPH_TYPE - The graph type
-# Mandatory : NO
-# Default : "digraph"
-##end
-##variable
-# GRAPHVIZ_GRAPH_NAME - The graph name.
-# Mandatory : NO
-# Default : "GG"
-##end
-##variable
-# GRAPHVIZ_GRAPH_HEADER - The header written at the top of the graphviz file.
-# Mandatory : NO
-# Default : "node [n fontsize = "12"];"
-##end
-##variable
-# GRAPHVIZ_NODE_PREFIX - The prefix for each node in the graphviz file.
-# Mandatory : NO
-# Default : "node"
-##end
-##variable
-# GRAPHVIZ_EXECUTABLES - Set this to FALSE to exclude executables from the generated graphs.
-# Mandatory : NO
-# Default : TRUE
-##end
-##variable
-# GRAPHVIZ_STATIC_LIBS - Set this to FALSE to exclude static libraries from the generated graphs.
-# Mandatory : NO
-# Default : TRUE
-##end
-##variable
-# GRAPHVIZ_SHARED_LIBS - Set this to FALSE to exclude shared libraries from the generated graphs.
-# Mandatory : NO
-# Default : TRUE
-##end
-##variable
-# GRAPHVIZ_MODULE_LIBS - Set this to FALSE to exclude static libraries from the generated graphs.
-# Mandatory : NO
-# Default : TRUE
-##end
-##variable
-# GRAPHVIZ_EXTERNAL_LIBS - Set this to FALSE to exclude external libraries from the generated graphs.
-# Mandatory : NO
-# Default : TRUE
-##end
-##variable
-# GRAPHVIZ_IGNORE_TARGETS - A list of regular expressions for ignoring targets.
-# Mandatory : NO
-# Default : empty
-##end
+#.rst:
+# CMakeGraphVizOptions
+# --------------------
+#
+# The builtin graphviz support of CMake.
+#
+# Variables specific to the graphviz support
+# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+#
+# CMake
+# can generate graphviz files, showing the dependencies between the
+# targets in a project and also external libraries which are linked
+# against. When CMake is run with the --graphiz=foo option, it will
+# produce
+#
+# * a foo.dot file showing all dependencies in the project
+# * a foo.dot.<target> file for each target, file showing on which other targets the respective target depends
+# * a foo.dot.<target>.dependers file, showing which other targets depend on the respective target
+#
+# This can result in huge graphs. Using the file
+# CMakeGraphVizOptions.cmake the look and content of the generated
+# graphs can be influenced. This file is searched first in
+# ${CMAKE_BINARY_DIR} and then in ${CMAKE_SOURCE_DIR}. If found, it is
+# read and the variables set in it are used to adjust options for the
+# generated graphviz files.
+#
+# .. variable:: GRAPHVIZ_GRAPH_TYPE
+#
+# The graph type
+#
+# * Mandatory : NO
+# * Default : "digraph"
+#
+# .. variable:: GRAPHVIZ_GRAPH_NAME
+#
+# The graph name.
+#
+# * Mandatory : NO
+# * Default : "GG"
+#
+# .. variable:: GRAPHVIZ_GRAPH_HEADER
+#
+# The header written at the top of the graphviz file.
+#
+# * Mandatory : NO
+# * Default : "node [n fontsize = "12"];"
+#
+# .. variable:: GRAPHVIZ_NODE_PREFIX
+#
+# The prefix for each node in the graphviz file.
+#
+# * Mandatory : NO
+# * Default : "node"
+#
+# .. variable:: GRAPHVIZ_EXECUTABLES
+#
+# Set this to FALSE to exclude executables from the generated graphs.
+#
+# * Mandatory : NO
+# * Default : TRUE
+#
+# .. variable:: GRAPHVIZ_STATIC_LIBS
+#
+# Set this to FALSE to exclude static libraries from the generated graphs.
+#
+# * Mandatory : NO
+# * Default : TRUE
+#
+# .. variable:: GRAPHVIZ_SHARED_LIBS
+#
+# Set this to FALSE to exclude shared libraries from the generated graphs.
+#
+# * Mandatory : NO
+# * Default : TRUE
+#
+# .. variable:: GRAPHVIZ_MODULE_LIBS
+#
+# Set this to FALSE to exclude module libraries from the generated graphs.
+#
+# * Mandatory : NO
+# * Default : TRUE
+#
+# .. variable:: GRAPHVIZ_EXTERNAL_LIBS
+#
+# Set this to FALSE to exclude external libraries from the generated graphs.
+#
+# * Mandatory : NO
+# * Default : TRUE
+#
+# .. variable:: GRAPHVIZ_IGNORE_TARGETS
+#
+# A list of regular expressions for ignoring targets.
+#
+# * Mandatory : NO
+# * Default : empty
+#
+# .. variable:: GRAPHVIZ_GENERATE_PER_TARGET
+#
+# Set this to FALSE to exclude per target graphs ``foo.dot.<target>``.
+#
+# * Mandatory : NO
+# * Default : TRUE
+#
+# .. variable:: GRAPHVIZ_GENERATE_DEPENDERS
+#
+# Set this to FALSE to exclude depender graphs ``foo.dot.<target>.dependers``.
+#
+# * Mandatory : NO
+# * Default : TRUE
#=============================================================================
# Copyright 2007-2009 Kitware, Inc.
diff --git a/Modules/CMakePackageConfigHelpers.cmake b/Modules/CMakePackageConfigHelpers.cmake
index d042d5e..473bbe5 100644
--- a/Modules/CMakePackageConfigHelpers.cmake
+++ b/Modules/CMakePackageConfigHelpers.cmake
@@ -1,134 +1,185 @@
-# - CONFIGURE_PACKAGE_CONFIG_FILE(), WRITE_BASIC_PACKAGE_VERSION_FILE()
+#.rst:
+# CMakePackageConfigHelpers
+# -------------------------
+#
+# CONFIGURE_PACKAGE_CONFIG_FILE(), WRITE_BASIC_PACKAGE_VERSION_FILE()
+#
+#
+#
+# ::
+#
+# CONFIGURE_PACKAGE_CONFIG_FILE(<input> <output> INSTALL_DESTINATION <path>
+# [PATH_VARS <var1> <var2> ... <varN>]
+# [NO_SET_AND_CHECK_MACRO]
+# [NO_CHECK_REQUIRED_COMPONENTS_MACRO])
+#
#
-# CONFIGURE_PACKAGE_CONFIG_FILE(<input> <output> INSTALL_DESTINATION <path>
-# [PATH_VARS <var1> <var2> ... <varN>]
-# [NO_SET_AND_CHECK_MACRO]
-# [NO_CHECK_REQUIRED_COMPONENTS_MACRO])
#
# CONFIGURE_PACKAGE_CONFIG_FILE() should be used instead of the plain
-# configure_file() command when creating the <Name>Config.cmake or <Name>-config.cmake
-# file for installing a project or library. It helps making the resulting package
-# relocatable by avoiding hardcoded paths in the installed Config.cmake file.
+# configure_file() command when creating the <Name>Config.cmake or
+# <Name>-config.cmake file for installing a project or library. It
+# helps making the resulting package relocatable by avoiding hardcoded
+# paths in the installed Config.cmake file.
#
# In a FooConfig.cmake file there may be code like this to make the
# install destinations know to the using project:
-# set(FOO_INCLUDE_DIR "@CMAKE_INSTALL_FULL_INCLUDEDIR@" )
-# set(FOO_DATA_DIR "@CMAKE_INSTALL_PREFIX@/@RELATIVE_DATA_INSTALL_DIR@" )
-# set(FOO_ICONS_DIR "@CMAKE_INSTALL_PREFIX@/share/icons" )
-# ...logic to determine installedPrefix from the own location...
-# set(FOO_CONFIG_DIR "${installedPrefix}/@CONFIG_INSTALL_DIR@" )
-# All 4 options shown above are not sufficient, since the first 3 hardcode
-# the absolute directory locations, and the 4th case works only if the logic
-# to determine the installedPrefix is correct, and if CONFIG_INSTALL_DIR contains
-# a relative path, which in general cannot be guaranteed.
-# This has the effect that the resulting FooConfig.cmake file would work poorly
-# under Windows and OSX, where users are used to choose the install location
-# of a binary package at install time, independent from how CMAKE_INSTALL_PREFIX
-# was set at build/cmake time.
-#
-# Using CONFIGURE_PACKAGE_CONFIG_FILE() helps. If used correctly, it makes the
-# resulting FooConfig.cmake file relocatable.
-# Usage:
-# 1. write a FooConfig.cmake.in file as you are used to
-# 2. insert a line containing only the string "@PACKAGE_INIT@"
-# 3. instead of set(FOO_DIR "@SOME_INSTALL_DIR@"), use set(FOO_DIR "@PACKAGE_SOME_INSTALL_DIR@")
-# (this must be after the @PACKAGE_INIT@ line)
-# 4. instead of using the normal configure_file(), use CONFIGURE_PACKAGE_CONFIG_FILE()
-#
-# The <input> and <output> arguments are the input and output file, the same way
-# as in configure_file().
-#
-# The <path> given to INSTALL_DESTINATION must be the destination where the FooConfig.cmake
-# file will be installed to. This can either be a relative or absolute path, both work.
-#
-# The variables <var1> to <varN> given as PATH_VARS are the variables which contain
-# install destinations. For each of them the macro will create a helper variable
-# PACKAGE_<var...>. These helper variables must be used
-# in the FooConfig.cmake.in file for setting the installed location. They are calculated
-# by CONFIGURE_PACKAGE_CONFIG_FILE() so that they are always relative to the
-# installed location of the package. This works both for relative and also for absolute locations.
-# For absolute locations it works only if the absolute location is a subdirectory
-# of CMAKE_INSTALL_PREFIX.
-#
-# By default configure_package_config_file() also generates two helper macros,
-# set_and_check() and check_required_components() into the FooConfig.cmake file.
-#
-# set_and_check() should be used instead of the normal set()
-# command for setting directories and file locations. Additionally to setting the
-# variable it also checks that the referenced file or directory actually exists
-# and fails with a FATAL_ERROR otherwise. This makes sure that the created
-# FooConfig.cmake file does not contain wrong references.
-# When using the NO_SET_AND_CHECK_MACRO, this macro is not generated into the
+#
+# ::
+#
+# set(FOO_INCLUDE_DIR "@CMAKE_INSTALL_FULL_INCLUDEDIR@" )
+# set(FOO_DATA_DIR "@CMAKE_INSTALL_PREFIX@/@RELATIVE_DATA_INSTALL_DIR@" )
+# set(FOO_ICONS_DIR "@CMAKE_INSTALL_PREFIX@/share/icons" )
+# ...logic to determine installedPrefix from the own location...
+# set(FOO_CONFIG_DIR "${installedPrefix}/@CONFIG_INSTALL_DIR@" )
+#
+# All 4 options shown above are not sufficient, since the first 3
+# hardcode the absolute directory locations, and the 4th case works only
+# if the logic to determine the installedPrefix is correct, and if
+# CONFIG_INSTALL_DIR contains a relative path, which in general cannot
+# be guaranteed. This has the effect that the resulting FooConfig.cmake
+# file would work poorly under Windows and OSX, where users are used to
+# choose the install location of a binary package at install time,
+# independent from how CMAKE_INSTALL_PREFIX was set at build/cmake time.
+#
+# Using CONFIGURE_PACKAGE_CONFIG_FILE() helps. If used correctly, it
+# makes the resulting FooConfig.cmake file relocatable. Usage:
+#
+# ::
+#
+# 1. write a FooConfig.cmake.in file as you are used to
+# 2. insert a line containing only the string "@PACKAGE_INIT@"
+# 3. instead of set(FOO_DIR "@SOME_INSTALL_DIR@"), use set(FOO_DIR "@PACKAGE_SOME_INSTALL_DIR@")
+# (this must be after the @PACKAGE_INIT@ line)
+# 4. instead of using the normal configure_file(), use CONFIGURE_PACKAGE_CONFIG_FILE()
+#
+#
+#
+# The <input> and <output> arguments are the input and output file, the
+# same way as in configure_file().
+#
+# The <path> given to INSTALL_DESTINATION must be the destination where
+# the FooConfig.cmake file will be installed to. This can either be a
+# relative or absolute path, both work.
+#
+# The variables <var1> to <varN> given as PATH_VARS are the variables
+# which contain install destinations. For each of them the macro will
+# create a helper variable PACKAGE_<var...>. These helper variables
+# must be used in the FooConfig.cmake.in file for setting the installed
+# location. They are calculated by CONFIGURE_PACKAGE_CONFIG_FILE() so
+# that they are always relative to the installed location of the
+# package. This works both for relative and also for absolute
+# locations. For absolute locations it works only if the absolute
+# location is a subdirectory of CMAKE_INSTALL_PREFIX.
+#
+# By default configure_package_config_file() also generates two helper
+# macros, set_and_check() and check_required_components() into the
# FooConfig.cmake file.
#
-# check_required_components(<package_name>) should be called at the end of the
-# FooConfig.cmake file if the package supports components.
-# This macro checks whether all requested, non-optional components have been found,
-# and if this is not the case, sets the Foo_FOUND variable to FALSE, so that the package
-# is considered to be not found.
-# It does that by testing the Foo_<Component>_FOUND variables for all requested
-# required components.
-# When using the NO_CHECK_REQUIRED_COMPONENTS option, this macro is not generated
+# set_and_check() should be used instead of the normal set() command for
+# setting directories and file locations. Additionally to setting the
+# variable it also checks that the referenced file or directory actually
+# exists and fails with a FATAL_ERROR otherwise. This makes sure that
+# the created FooConfig.cmake file does not contain wrong references.
+# When using the NO_SET_AND_CHECK_MACRO, this macro is not generated
# into the FooConfig.cmake file.
#
-# For an example see below the documentation for WRITE_BASIC_PACKAGE_VERSION_FILE().
-#
-#
-# WRITE_BASIC_PACKAGE_VERSION_FILE( filename VERSION major.minor.patch COMPATIBILITY (AnyNewerVersion|SameMajorVersion|ExactVersion) )
-#
-# Writes a file for use as <package>ConfigVersion.cmake file to <filename>.
-# See the documentation of find_package() for details on this.
-# filename is the output filename, it should be in the build tree.
-# major.minor.patch is the version number of the project to be installed
-# The COMPATIBILITY mode AnyNewerVersion means that the installed package version
-# will be considered compatible if it is newer or exactly the same as the requested version.
-# This mode should be used for packages which are fully backward compatible,
-# also across major versions.
-# If SameMajorVersion is used instead, then the behaviour differs from AnyNewerVersion
-# in that the major version number must be the same as requested, e.g. version 2.0 will
-# not be considered compatible if 1.0 is requested.
-# This mode should be used for packages which guarantee backward compatibility within the
-# same major version.
-# If ExactVersion is used, then the package is only considered compatible if the requested
-# version matches exactly its own version number (not considering the tweak version).
-# For example, version 1.2.3 of a package is only considered compatible to requested version 1.2.3.
-# This mode is for packages without compatibility guarantees.
-# If your project has more elaborated version matching rules, you will need to write your
-# own custom ConfigVersion.cmake file instead of using this macro.
-#
-# Internally, this macro executes configure_file() to create the resulting
-# version file. Depending on the COMPATIBLITY, either the file
-# BasicConfigVersion-SameMajorVersion.cmake.in or BasicConfigVersion-AnyNewerVersion.cmake.in
-# is used. Please note that these two files are internal to CMake and you should
-# not call configure_file() on them yourself, but they can be used as starting
+# check_required_components(<package_name>) should be called at the end
+# of the FooConfig.cmake file if the package supports components. This
+# macro checks whether all requested, non-optional components have been
+# found, and if this is not the case, sets the Foo_FOUND variable to
+# FALSE, so that the package is considered to be not found. It does
+# that by testing the Foo_<Component>_FOUND variables for all requested
+# required components. When using the NO_CHECK_REQUIRED_COMPONENTS
+# option, this macro is not generated into the FooConfig.cmake file.
+#
+# For an example see below the documentation for
+# WRITE_BASIC_PACKAGE_VERSION_FILE().
+#
+#
+#
+# ::
+#
+# WRITE_BASIC_PACKAGE_VERSION_FILE( filename [VERSION major.minor.patch] COMPATIBILITY (AnyNewerVersion|SameMajorVersion|ExactVersion) )
+#
+#
+#
+# Writes a file for use as <package>ConfigVersion.cmake file to
+# <filename>. See the documentation of find_package() for details on
+# this.
+#
+# ::
+#
+# filename is the output filename, it should be in the build tree.
+# major.minor.patch is the version number of the project to be installed
+#
+# If no ``VERSION`` is given, the :variable:`PROJECT_VERSION` variable
+# is used. If this hasn't been set, it errors out.
+#
+# The COMPATIBILITY mode AnyNewerVersion means that the installed
+# package version will be considered compatible if it is newer or
+# exactly the same as the requested version. This mode should be used
+# for packages which are fully backward compatible, also across major
+# versions. If SameMajorVersion is used instead, then the behaviour
+# differs from AnyNewerVersion in that the major version number must be
+# the same as requested, e.g. version 2.0 will not be considered
+# compatible if 1.0 is requested. This mode should be used for packages
+# which guarantee backward compatibility within the same major version.
+# If ExactVersion is used, then the package is only considered
+# compatible if the requested version matches exactly its own version
+# number (not considering the tweak version). For example, version
+# 1.2.3 of a package is only considered compatible to requested version
+# 1.2.3. This mode is for packages without compatibility guarantees.
+# If your project has more elaborated version matching rules, you will
+# need to write your own custom ConfigVersion.cmake file instead of
+# using this macro.
+#
+# Internally, this macro executes configure_file() to create the
+# resulting version file. Depending on the COMPATIBLITY, either the
+# file BasicConfigVersion-SameMajorVersion.cmake.in or
+# BasicConfigVersion-AnyNewerVersion.cmake.in is used. Please note that
+# these two files are internal to CMake and you should not call
+# configure_file() on them yourself, but they can be used as starting
# point to create more sophisticted custom ConfigVersion.cmake files.
#
#
-# Example using both configure_package_config_file() and write_basic_package_version_file():
-# CMakeLists.txt:
-# set(INCLUDE_INSTALL_DIR include/ ... CACHE )
-# set(LIB_INSTALL_DIR lib/ ... CACHE )
-# set(SYSCONFIG_INSTALL_DIR etc/foo/ ... CACHE )
-# ...
-# include(CMakePackageConfigHelpers)
-# configure_package_config_file(FooConfig.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/FooConfig.cmake
-# INSTALL_DESTINATION ${LIB_INSTALL_DIR}/Foo/cmake
-# PATH_VARS INCLUDE_INSTALL_DIR SYSCONFIG_INSTALL_DIR)
-# write_basic_package_version_file(${CMAKE_CURRENT_BINARY_DIR}/FooConfigVersion.cmake
-# VERSION 1.2.3
-# COMPATIBILITY SameMajorVersion )
-# install(FILES ${CMAKE_CURRENT_BINARY_DIR}/FooConfig.cmake ${CMAKE_CURRENT_BINARY_DIR}/FooConfigVersion.cmake
-# DESTINATION ${LIB_INSTALL_DIR}/Foo/cmake )
+#
+# Example using both configure_package_config_file() and
+# write_basic_package_version_file(): CMakeLists.txt:
+#
+# ::
+#
+# set(INCLUDE_INSTALL_DIR include/ ... CACHE )
+# set(LIB_INSTALL_DIR lib/ ... CACHE )
+# set(SYSCONFIG_INSTALL_DIR etc/foo/ ... CACHE )
+# ...
+# include(CMakePackageConfigHelpers)
+# configure_package_config_file(FooConfig.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/FooConfig.cmake
+# INSTALL_DESTINATION ${LIB_INSTALL_DIR}/Foo/cmake
+# PATH_VARS INCLUDE_INSTALL_DIR SYSCONFIG_INSTALL_DIR)
+# write_basic_package_version_file(${CMAKE_CURRENT_BINARY_DIR}/FooConfigVersion.cmake
+# VERSION 1.2.3
+# COMPATIBILITY SameMajorVersion )
+# install(FILES ${CMAKE_CURRENT_BINARY_DIR}/FooConfig.cmake ${CMAKE_CURRENT_BINARY_DIR}/FooConfigVersion.cmake
+# DESTINATION ${LIB_INSTALL_DIR}/Foo/cmake )
+#
+#
#
# With a FooConfig.cmake.in:
-# set(FOO_VERSION x.y.z)
-# ...
-# @PACKAGE_INIT@
-# ...
-# set_and_check(FOO_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
-# set_and_check(FOO_SYSCONFIG_DIR "@PACKAGE_SYSCONFIG_INSTALL_DIR@")
#
-# check_required_components(Foo)
+# ::
+#
+# set(FOO_VERSION x.y.z)
+# ...
+# @PACKAGE_INIT@
+# ...
+# set_and_check(FOO_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
+# set_and_check(FOO_SYSCONFIG_DIR "@PACKAGE_SYSCONFIG_INSTALL_DIR@")
+#
+#
+#
+# ::
+#
+# check_required_components(Foo)
#=============================================================================
@@ -152,6 +203,7 @@ macro(WRITE_BASIC_PACKAGE_VERSION_FILE)
write_basic_config_version_file(${ARGN})
endmacro()
+set(cfpch_dir ${CMAKE_CURRENT_LIST_DIR})
function(CONFIGURE_PACKAGE_CONFIG_FILE _inputFile _outputFile)
set(options NO_SET_AND_CHECK_MACRO NO_CHECK_REQUIRED_COMPONENTS_MACRO)
diff --git a/Modules/CMakeParseArguments.cmake b/Modules/CMakeParseArguments.cmake
index 016da0c..4248176 100644
--- a/Modules/CMakeParseArguments.cmake
+++ b/Modules/CMakeParseArguments.cmake
@@ -1,64 +1,86 @@
-# CMAKE_PARSE_ARGUMENTS(<prefix> <options> <one_value_keywords> <multi_value_keywords> args...)
+#.rst:
+# CMakeParseArguments
+# -------------------
#
-# CMAKE_PARSE_ARGUMENTS() is intended to be used in macros or functions for
-# parsing the arguments given to that macro or function.
-# It processes the arguments and defines a set of variables which hold the
+#
+#
+# CMAKE_PARSE_ARGUMENTS(<prefix> <options> <one_value_keywords>
+# <multi_value_keywords> args...)
+#
+# CMAKE_PARSE_ARGUMENTS() is intended to be used in macros or functions
+# for parsing the arguments given to that macro or function. It
+# processes the arguments and defines a set of variables which hold the
# values of the respective options.
#
# The <options> argument contains all options for the respective macro,
-# i.e. keywords which can be used when calling the macro without any value
-# following, like e.g. the OPTIONAL keyword of the install() command.
+# i.e. keywords which can be used when calling the macro without any
+# value following, like e.g. the OPTIONAL keyword of the install()
+# command.
#
# The <one_value_keywords> argument contains all keywords for this macro
-# which are followed by one value, like e.g. DESTINATION keyword of the
+# which are followed by one value, like e.g. DESTINATION keyword of the
# install() command.
#
-# The <multi_value_keywords> argument contains all keywords for this macro
-# which can be followed by more than one value, like e.g. the TARGETS or
-# FILES keywords of the install() command.
+# The <multi_value_keywords> argument contains all keywords for this
+# macro which can be followed by more than one value, like e.g. the
+# TARGETS or FILES keywords of the install() command.
#
# When done, CMAKE_PARSE_ARGUMENTS() will have defined for each of the
# keywords listed in <options>, <one_value_keywords> and
# <multi_value_keywords> a variable composed of the given <prefix>
-# followed by "_" and the name of the respective keyword.
-# These variables will then hold the respective value from the argument list.
+# followed by "_" and the name of the respective keyword. These
+# variables will then hold the respective value from the argument list.
# For the <options> keywords this will be TRUE or FALSE.
#
# All remaining arguments are collected in a variable
-# <prefix>_UNPARSED_ARGUMENTS, this can be checked afterwards to see whether
-# your macro was called with unrecognized parameters.
+# <prefix>_UNPARSED_ARGUMENTS, this can be checked afterwards to see
+# whether your macro was called with unrecognized parameters.
+#
+# As an example here a my_install() macro, which takes similar arguments
+# as the real install() command:
+#
+# ::
+#
+# function(MY_INSTALL)
+# set(options OPTIONAL FAST)
+# set(oneValueArgs DESTINATION RENAME)
+# set(multiValueArgs TARGETS CONFIGURATIONS)
+# cmake_parse_arguments(MY_INSTALL "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN} )
+# ...
#
-# As an example here a my_install() macro, which takes similar arguments as the
-# real install() command:
#
-# function(MY_INSTALL)
-# set(options OPTIONAL FAST)
-# set(oneValueArgs DESTINATION RENAME)
-# set(multiValueArgs TARGETS CONFIGURATIONS)
-# cmake_parse_arguments(MY_INSTALL "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN} )
-# ...
#
# Assume my_install() has been called like this:
-# my_install(TARGETS foo bar DESTINATION bin OPTIONAL blub)
-#
-# After the cmake_parse_arguments() call the macro will have set the following
-# variables:
-# MY_INSTALL_OPTIONAL = TRUE
-# MY_INSTALL_FAST = FALSE (this option was not used when calling my_install()
-# MY_INSTALL_DESTINATION = "bin"
-# MY_INSTALL_RENAME = "" (was not used)
-# MY_INSTALL_TARGETS = "foo;bar"
-# MY_INSTALL_CONFIGURATIONS = "" (was not used)
-# MY_INSTALL_UNPARSED_ARGUMENTS = "blub" (no value expected after "OPTIONAL"
+#
+# ::
+#
+# my_install(TARGETS foo bar DESTINATION bin OPTIONAL blub)
+#
+#
+#
+# After the cmake_parse_arguments() call the macro will have set the
+# following variables:
+#
+# ::
+#
+# MY_INSTALL_OPTIONAL = TRUE
+# MY_INSTALL_FAST = FALSE (this option was not used when calling my_install()
+# MY_INSTALL_DESTINATION = "bin"
+# MY_INSTALL_RENAME = "" (was not used)
+# MY_INSTALL_TARGETS = "foo;bar"
+# MY_INSTALL_CONFIGURATIONS = "" (was not used)
+# MY_INSTALL_UNPARSED_ARGUMENTS = "blub" (no value expected after "OPTIONAL"
+#
+#
#
# You can then continue and process these variables.
#
-# Keywords terminate lists of values, e.g. if directly after a one_value_keyword
-# another recognized keyword follows, this is interpreted as the beginning of
-# the new option.
-# E.g. my_install(TARGETS foo DESTINATION OPTIONAL) would result in
-# MY_INSTALL_DESTINATION set to "OPTIONAL", but MY_INSTALL_DESTINATION would
-# be empty and MY_INSTALL_OPTIONAL would be set to TRUE therefor.
+# Keywords terminate lists of values, e.g. if directly after a
+# one_value_keyword another recognized keyword follows, this is
+# interpreted as the beginning of the new option. E.g.
+# my_install(TARGETS foo DESTINATION OPTIONAL) would result in
+# MY_INSTALL_DESTINATION set to "OPTIONAL", but MY_INSTALL_DESTINATION
+# would be empty and MY_INSTALL_OPTIONAL would be set to TRUE therefor.
#=============================================================================
# Copyright 2010 Alexander Neundorf <neundorf@kde.org>
diff --git a/Modules/CMakePlatformId.h.in b/Modules/CMakePlatformId.h.in
index 69171c2..1e41fec 100644
--- a/Modules/CMakePlatformId.h.in
+++ b/Modules/CMakePlatformId.h.in
@@ -151,6 +151,24 @@ char const info_version[] = {
']','\0'};
#endif
+/* Construct a string literal encoding the version number components. */
+#ifdef SIMULATE_VERSION_MAJOR
+char const info_simulate_version[] = {
+ 'I', 'N', 'F', 'O', ':',
+ 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
+ SIMULATE_VERSION_MAJOR,
+# ifdef SIMULATE_VERSION_MINOR
+ '.', SIMULATE_VERSION_MINOR,
+# ifdef SIMULATE_VERSION_PATCH
+ '.', SIMULATE_VERSION_PATCH,
+# ifdef SIMULATE_VERSION_TWEAK
+ '.', SIMULATE_VERSION_TWEAK,
+# endif
+# endif
+# endif
+ ']','\0'};
+#endif
+
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
diff --git a/Modules/CMakePrintHelpers.cmake b/Modules/CMakePrintHelpers.cmake
index ef5d857..ad3b0d5 100644
--- a/Modules/CMakePrintHelpers.cmake
+++ b/Modules/CMakePrintHelpers.cmake
@@ -1,29 +1,45 @@
-# - Convenience macros for printing properties and variables, useful e.g. for debugging.
+#.rst:
+# CMakePrintHelpers
+# -----------------
#
+# Convenience macros for printing properties and variables, useful e.g. for debugging.
#
-# CMAKE_PRINT_PROPERTIES([TARGETS target1 .. targetN]
-# [SOURCES source1 .. sourceN]
-# [DIRECTORIES dir1 .. dirN]
-# [TESTS test1 .. testN]
-# [CACHE_ENTRIES entry1 .. entryN]
-# PROPERTIES prop1 .. propN )
+# ::
+#
+# CMAKE_PRINT_PROPERTIES([TARGETS target1 .. targetN]
+# [SOURCES source1 .. sourceN]
+# [DIRECTORIES dir1 .. dirN]
+# [TESTS test1 .. testN]
+# [CACHE_ENTRIES entry1 .. entryN]
+# PROPERTIES prop1 .. propN )
#
# This macro prints the values of the properties of the given targets,
-# source files, directories, tests or cache entries. Exactly one of the
-# scope keywords must be used.
-# Example:
-# cmake_print_properties(TARGETS foo bar PROPERTIES LOCATION INTERFACE_INCLUDE_DIRS)
-# This will print the LOCATION and INTERFACE_INCLUDE_DIRS properties for both
-# targets foo and bar.
+# source files, directories, tests or cache entries. Exactly one of the
+# scope keywords must be used. Example:
+#
+# ::
+#
+# cmake_print_properties(TARGETS foo bar PROPERTIES LOCATION INTERFACE_INCLUDE_DIRS)
+#
+# This will print the LOCATION and INTERFACE_INCLUDE_DIRS properties for
+# both targets foo and bar.
+#
#
#
-# CMAKE_PRINT_VARIABLES(var1 var2 .. varN)
+# CMAKE_PRINT_VARIABLES(var1 var2 .. varN)
#
# This macro will print the name of each variable followed by its value.
# Example:
-# cmake_print_variables(CMAKE_C_COMPILER CMAKE_MAJOR_VERSION THIS_ONE_DOES_NOT_EXIST)
+#
+# ::
+#
+# cmake_print_variables(CMAKE_C_COMPILER CMAKE_MAJOR_VERSION THIS_ONE_DOES_NOT_EXIST)
+#
# Gives:
-# -- CMAKE_C_COMPILER="/usr/bin/gcc" ; CMAKE_MAJOR_VERSION="2" ; THIS_ONE_DOES_NOT_EXIST=""
+#
+# ::
+#
+# -- CMAKE_C_COMPILER="/usr/bin/gcc" ; CMAKE_MAJOR_VERSION="2" ; THIS_ONE_DOES_NOT_EXIST=""
#=============================================================================
# Copyright 2013 Alexander Neundorf, <neundorf@kde.org>
diff --git a/Modules/CMakePrintSystemInformation.cmake b/Modules/CMakePrintSystemInformation.cmake
index e0c7334..355c47d 100644
--- a/Modules/CMakePrintSystemInformation.cmake
+++ b/Modules/CMakePrintSystemInformation.cmake
@@ -1,7 +1,11 @@
-# - print system information
-# This file can be used for diagnostic purposes
-# just include it in a project to see various internal CMake
-# variables.
+#.rst:
+# CMakePrintSystemInformation
+# ---------------------------
+#
+# print system information
+#
+# This file can be used for diagnostic purposes just include it in a
+# project to see various internal CMake variables.
#=============================================================================
# Copyright 2002-2009 Kitware, Inc.
diff --git a/Modules/CMakePushCheckState.cmake b/Modules/CMakePushCheckState.cmake
index b37b706..39f0023 100644
--- a/Modules/CMakePushCheckState.cmake
+++ b/Modules/CMakePushCheckState.cmake
@@ -1,30 +1,37 @@
-# This module defines three macros:
-# CMAKE_PUSH_CHECK_STATE()
-# CMAKE_POP_CHECK_STATE()
-# and
-# CMAKE_RESET_CHECK_STATE()
-# These macros can be used to save, restore and reset (i.e., clear contents)
-# the state of the variables
-# CMAKE_REQUIRED_FLAGS, CMAKE_REQUIRED_DEFINITIONS, CMAKE_REQUIRED_LIBRARIES
-# and CMAKE_REQUIRED_INCLUDES used by the various Check-files coming with CMake,
-# like e.g. check_function_exists() etc.
-# The variable contents are pushed on a stack, pushing multiple times is supported.
-# This is useful e.g. when executing such tests in a Find-module, where they have to be set,
-# but after the Find-module has been executed they should have the same value
-# as they had before.
+#.rst:
+# CMakePushCheckState
+# -------------------
#
-# CMAKE_PUSH_CHECK_STATE() macro receives optional argument RESET. Whether it's specified,
-# CMAKE_PUSH_CHECK_STATE() will set all CMAKE_REQUIRED_* variables to empty values, same
-# as CMAKE_RESET_CHECK_STATE() call will do.
+#
+#
+# This module defines three macros: CMAKE_PUSH_CHECK_STATE()
+# CMAKE_POP_CHECK_STATE() and CMAKE_RESET_CHECK_STATE() These macros can
+# be used to save, restore and reset (i.e., clear contents) the state of
+# the variables CMAKE_REQUIRED_FLAGS, CMAKE_REQUIRED_DEFINITIONS,
+# CMAKE_REQUIRED_LIBRARIES and CMAKE_REQUIRED_INCLUDES used by the
+# various Check-files coming with CMake, like e.g.
+# check_function_exists() etc. The variable contents are pushed on a
+# stack, pushing multiple times is supported. This is useful e.g. when
+# executing such tests in a Find-module, where they have to be set, but
+# after the Find-module has been executed they should have the same
+# value as they had before.
+#
+# CMAKE_PUSH_CHECK_STATE() macro receives optional argument RESET.
+# Whether it's specified, CMAKE_PUSH_CHECK_STATE() will set all
+# CMAKE_REQUIRED_* variables to empty values, same as
+# CMAKE_RESET_CHECK_STATE() call will do.
#
# Usage:
-# cmake_push_check_state(RESET)
-# set(CMAKE_REQUIRED_DEFINITIONS -DSOME_MORE_DEF)
-# check_function_exists(...)
-# cmake_reset_check_state()
-# set(CMAKE_REQUIRED_DEFINITIONS -DANOTHER_DEF)
-# check_function_exists(...)
-# cmake_pop_check_state()
+#
+# ::
+#
+# cmake_push_check_state(RESET)
+# set(CMAKE_REQUIRED_DEFINITIONS -DSOME_MORE_DEF)
+# check_function_exists(...)
+# cmake_reset_check_state()
+# set(CMAKE_REQUIRED_DEFINITIONS -DANOTHER_DEF)
+# check_function_exists(...)
+# cmake_pop_check_state()
#=============================================================================
# Copyright 2006-2011 Alexander Neundorf, <neundorf@kde.org>
diff --git a/Modules/CMakeRCInformation.cmake b/Modules/CMakeRCInformation.cmake
index 8ffe50a..6bb2636 100644
--- a/Modules/CMakeRCInformation.cmake
+++ b/Modules/CMakeRCInformation.cmake
@@ -13,15 +13,16 @@
# License text for the above reference.)
-# This file sets the basic flags for the Fortran language in CMake.
+# This file sets the basic flags for the Windows Resource Compiler.
# It also loads the available platform file for the system-compiler
# if it exists.
# make sure we don't use CMAKE_BASE_NAME from somewhere else
set(CMAKE_BASE_NAME)
-get_filename_component(CMAKE_BASE_NAME ${CMAKE_RC_COMPILER} NAME_WE)
-if("${CMAKE_BASE_NAME}" MATCHES "windres")
- set(CMAKE_BASE_NAME "windres")
+if(CMAKE_RC_COMPILER MATCHES "windres[^/]*$")
+ set(CMAKE_BASE_NAME "windres")
+else()
+ get_filename_component(CMAKE_BASE_NAME ${CMAKE_RC_COMPILER} NAME_WE)
endif()
set(CMAKE_SYSTEM_AND_RC_COMPILER_INFO_FILE
${CMAKE_ROOT}/Modules/Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_BASE_NAME}.cmake)
@@ -30,7 +31,7 @@ include(Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_BASE_NAME} OPTIONAL)
set (CMAKE_RC_FLAGS "$ENV{RCFLAGS} ${CMAKE_RC_FLAGS_INIT}" CACHE STRING
- "Flags for Fortran compiler.")
+ "Flags for Windows Resource Compiler.")
# These are the only types of flags that should be passed to the rc
# command, if COMPILE_FLAGS is used on a target this will be used
diff --git a/Modules/CMakeTestCCompiler.cmake b/Modules/CMakeTestCCompiler.cmake
index 2c75147..d133042 100644
--- a/Modules/CMakeTestCCompiler.cmake
+++ b/Modules/CMakeTestCCompiler.cmake
@@ -78,7 +78,7 @@ else()
configure_file(
${CMAKE_ROOT}/Modules/CMakeCCompiler.cmake.in
${CMAKE_PLATFORM_INFO_DIR}/CMakeCCompiler.cmake
- @ONLY IMMEDIATE # IMMEDIATE must be here for compatibility mode <= 2.0
+ @ONLY
)
include(${CMAKE_PLATFORM_INFO_DIR}/CMakeCCompiler.cmake)
diff --git a/Modules/CMakeTestCXXCompiler.cmake b/Modules/CMakeTestCXXCompiler.cmake
index a5cdf56..a06c92a 100644
--- a/Modules/CMakeTestCXXCompiler.cmake
+++ b/Modules/CMakeTestCXXCompiler.cmake
@@ -71,7 +71,7 @@ else()
configure_file(
${CMAKE_ROOT}/Modules/CMakeCXXCompiler.cmake.in
${CMAKE_PLATFORM_INFO_DIR}/CMakeCXXCompiler.cmake
- @ONLY IMMEDIATE # IMMEDIATE must be here for compatibility mode <= 2.0
+ @ONLY
)
include(${CMAKE_PLATFORM_INFO_DIR}/CMakeCXXCompiler.cmake)
diff --git a/Modules/CMakeTestFortranCompiler.cmake b/Modules/CMakeTestFortranCompiler.cmake
index b9e77c5..b50e832 100644
--- a/Modules/CMakeTestFortranCompiler.cmake
+++ b/Modules/CMakeTestFortranCompiler.cmake
@@ -98,7 +98,7 @@ else()
configure_file(
${CMAKE_ROOT}/Modules/CMakeFortranCompiler.cmake.in
${CMAKE_PLATFORM_INFO_DIR}/CMakeFortranCompiler.cmake
- @ONLY IMMEDIATE # IMMEDIATE must be here for compatibility mode <= 2.0
+ @ONLY
)
include(${CMAKE_PLATFORM_INFO_DIR}/CMakeFortranCompiler.cmake)
diff --git a/Modules/CMakeVS10FindMake.cmake b/Modules/CMakeVS10FindMake.cmake
deleted file mode 100644
index 189b626..0000000
--- a/Modules/CMakeVS10FindMake.cmake
+++ /dev/null
@@ -1,54 +0,0 @@
-
-#=============================================================================
-# Copyright 2007-2009 Kitware, Inc.
-#
-# Distributed under the OSI-approved BSD License (the "License");
-# see accompanying file Copyright.txt for details.
-#
-# This software is distributed WITHOUT ANY WARRANTY; without even the
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the License for more information.
-#=============================================================================
-# (To distribute this file outside of CMake, substitute the full
-# License text for the above reference.)
-
-# Look for devenv as a build program. We need to use this to support
-# Intel Fortran integration into VS. MSBuild can not be used for that case
-# since Intel Fortran uses the older devenv file format.
-find_program(CMAKE_MAKE_PROGRAM
- NAMES devenv
- HINTS
- [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0\\Setup\\VS;EnvironmentDirectory]
- [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0\\Setup;Dbghelp_path]
- "$ENV{ProgramFiles}/Microsoft Visual Studio 10.0/Common7/IDE"
- "$ENV{ProgramFiles}/Microsoft Visual Studio10.0/Common7/IDE"
- "$ENV{ProgramFiles}/Microsoft Visual Studio 10/Common7/IDE"
- "$ENV{ProgramFiles}/Microsoft Visual Studio10/Common7/IDE"
- "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio 10.0/Common7/IDE"
- "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio10.0/Common7/IDE"
- "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio 10/Common7/IDE"
- "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio10/Common7/IDE"
- "/Program Files/Microsoft Visual Studio 10.0/Common7/IDE/"
- "/Program Files/Microsoft Visual Studio 10/Common7/IDE/"
- )
-
-# if devenv is not found, then use MSBuild.
-# it is expected that if devenv is not found, then we are
-# dealing with Visual Studio Express. VCExpress has random
-# failures when being run as a command line build tool which
-# causes the compiler checks and try-compile stuff to fail. MSbuild
-# is a better choice for this. However, VCExpress does not support
-# cross compiling needed for Win CE.
-if(NOT CMAKE_CROSSCOMPILING)
- find_program(CMAKE_MAKE_PROGRAM
- NAMES MSBuild
- HINTS
- [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0\\Setup\\VS;ProductDir]
- "$ENV{SYSTEMROOT}/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0;CLR Version]/"
- "c:/WINDOWS/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0;CLR Version]/"
- "$ENV{SYSTEMROOT}/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VCExpress\\10.0;CLR Version]/")
-endif()
-
-mark_as_advanced(CMAKE_MAKE_PROGRAM)
-set(MSVC10 1)
-set(MSVC_VERSION 1600)
diff --git a/Modules/CMakeVS11FindMake.cmake b/Modules/CMakeVS11FindMake.cmake
deleted file mode 100644
index 2df015d..0000000
--- a/Modules/CMakeVS11FindMake.cmake
+++ /dev/null
@@ -1,53 +0,0 @@
-
-#=============================================================================
-# Copyright 2007-2011 Kitware, Inc.
-#
-# Distributed under the OSI-approved BSD License (the "License");
-# see accompanying file Copyright.txt for details.
-#
-# This software is distributed WITHOUT ANY WARRANTY; without even the
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the License for more information.
-#=============================================================================
-# (To distribute this file outside of CMake, substitute the full
-# License text for the above reference.)
-
-# Look for devenv as a build program. We need to use this to support
-# Intel Fortran integration into VS. MSBuild can not be used for that case
-# since Intel Fortran uses the older devenv file format.
-find_program(CMAKE_MAKE_PROGRAM
- NAMES devenv
- HINTS
- [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0\\Setup\\VS;EnvironmentDirectory]
- [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0\\Setup;Dbghelp_path]
- "$ENV{ProgramFiles}/Microsoft Visual Studio 11.0/Common7/IDE"
- "$ENV{ProgramFiles}/Microsoft Visual Studio11.0/Common7/IDE"
- "$ENV{ProgramFiles}/Microsoft Visual Studio 11/Common7/IDE"
- "$ENV{ProgramFiles}/Microsoft Visual Studio11/Common7/IDE"
- "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio 11.0/Common7/IDE"
- "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio11.0/Common7/IDE"
- "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio 11/Common7/IDE"
- "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio11/Common7/IDE"
- "/Program Files/Microsoft Visual Studio 11.0/Common7/IDE/"
- "/Program Files/Microsoft Visual Studio 11/Common7/IDE/"
- )
-
-# if devenv is not found, then use MSBuild.
-# it is expected that if devenv is not found, then we are
-# dealing with Visual Studio Express.
-if(NOT CMAKE_CROSSCOMPILING)
- set(_FDIR "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\SxS\\VC7;FrameworkDir32]")
- set(_FVER "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\SxS\\VC7;FrameworkVer32]")
- find_program(CMAKE_MAKE_PROGRAM
- NAMES MSBuild
- HINTS
- ${_FDIR}/${_FVER}
- [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0\\Setup\\VS;ProductDir]
- "$ENV{SYSTEMROOT}/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0;CLR Version]/"
- "c:/WINDOWS/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0;CLR Version]/"
- "$ENV{SYSTEMROOT}/Microsoft.NET/Framework/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VCExpress\\11.0;CLR Version]/")
-endif()
-
-mark_as_advanced(CMAKE_MAKE_PROGRAM)
-set(MSVC11 1)
-set(MSVC_VERSION 1700)
diff --git a/Modules/CMakeVS12FindMake.cmake b/Modules/CMakeVS12FindMake.cmake
deleted file mode 100644
index 338d9a2..0000000
--- a/Modules/CMakeVS12FindMake.cmake
+++ /dev/null
@@ -1,27 +0,0 @@
-
-#=============================================================================
-# Copyright 2007-2013 Kitware, Inc.
-#
-# Distributed under the OSI-approved BSD License (the "License");
-# see accompanying file Copyright.txt for details.
-#
-# This software is distributed WITHOUT ANY WARRANTY; without even the
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the License for more information.
-#=============================================================================
-# (To distribute this file outside of CMake, substitute the full
-# License text for the above reference.)
-
-# Always use MSBuild because:
-# - devenv treats command-line builds as recently-loaded projects in the IDE
-# - devenv does not appear to support non-standard platform toolsets
-# If we need devenv for Intel Fortran in the future we should add
-# a special case when Fortran is enabled.
-find_program(CMAKE_MAKE_PROGRAM
- NAMES MSBuild
- HINTS "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\MSBuild\\ToolsVersions\\12.0;MSBuildToolsPath]"
- )
-
-mark_as_advanced(CMAKE_MAKE_PROGRAM)
-set(MSVC12 1)
-set(MSVC_VERSION 1800)
diff --git a/Modules/CMakeVS6FindMake.cmake b/Modules/CMakeVS6FindMake.cmake
deleted file mode 100644
index 40bf5b1..0000000
--- a/Modules/CMakeVS6FindMake.cmake
+++ /dev/null
@@ -1,25 +0,0 @@
-
-#=============================================================================
-# Copyright 2002-2009 Kitware, Inc.
-#
-# Distributed under the OSI-approved BSD License (the "License");
-# see accompanying file Copyright.txt for details.
-#
-# This software is distributed WITHOUT ANY WARRANTY; without even the
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the License for more information.
-#=============================================================================
-# (To distribute this file outside of CMake, substitute the full
-# License text for the above reference.)
-
-find_program(CMAKE_MAKE_PROGRAM
- NAMES msdev
- PATHS
- [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\6.0\\Setup;VsCommonDir]/MSDev98/Bin
- "c:/Program Files/Microsoft Visual Studio/Common/MSDev98/Bin"
- "c:/Program Files/Microsoft Visual Studio/Common/MSDev98/Bin"
- "/Program Files/Microsoft Visual Studio/Common/MSDev98/Bin"
- )
-mark_as_advanced(CMAKE_MAKE_PROGRAM)
-set(MSVC60 1)
-set(MSVC_VERSION 1200)
diff --git a/Modules/CMakeVS71FindMake.cmake b/Modules/CMakeVS71FindMake.cmake
deleted file mode 100644
index 945c3fa..0000000
--- a/Modules/CMakeVS71FindMake.cmake
+++ /dev/null
@@ -1,26 +0,0 @@
-
-#=============================================================================
-# Copyright 2003-2009 Kitware, Inc.
-#
-# Distributed under the OSI-approved BSD License (the "License");
-# see accompanying file Copyright.txt for details.
-#
-# This software is distributed WITHOUT ANY WARRANTY; without even the
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the License for more information.
-#=============================================================================
-# (To distribute this file outside of CMake, substitute the full
-# License text for the above reference.)
-
-find_program(CMAKE_MAKE_PROGRAM
- NAMES devenv
- PATHS
- [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\7.1\\Setup\\VS;EnvironmentDirectory]
- "$ENV{ProgramFiles}/Microsoft Visual Studio .NET/Common7/IDE"
- "c:/Program Files/Microsoft Visual Studio .NET/Common7/IDE"
- "c:/Program Files/Microsoft Visual Studio.NET/Common7/IDE"
- "/Program Files/Microsoft Visual Studio .NET/Common7/IDE/"
- )
-mark_as_advanced(CMAKE_MAKE_PROGRAM)
-set(MSVC71 1)
-set(MSVC_VERSION 1310)
diff --git a/Modules/CMakeVS7FindMake.cmake b/Modules/CMakeVS7FindMake.cmake
deleted file mode 100644
index 218c5f2..0000000
--- a/Modules/CMakeVS7FindMake.cmake
+++ /dev/null
@@ -1,25 +0,0 @@
-
-#=============================================================================
-# Copyright 2002-2009 Kitware, Inc.
-#
-# Distributed under the OSI-approved BSD License (the "License");
-# see accompanying file Copyright.txt for details.
-#
-# This software is distributed WITHOUT ANY WARRANTY; without even the
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the License for more information.
-#=============================================================================
-# (To distribute this file outside of CMake, substitute the full
-# License text for the above reference.)
-
-find_program(CMAKE_MAKE_PROGRAM
- NAMES devenv
- PATHS
- [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\7.0\\Setup\\VS;EnvironmentDirectory]
- "c:/Program Files/Microsoft Visual Studio .NET/Common7/IDE"
- "c:/Program Files/Microsoft Visual Studio.NET/Common7/IDE"
- "/Program Files/Microsoft Visual Studio .NET/Common7/IDE/"
- )
-mark_as_advanced(CMAKE_MAKE_PROGRAM)
-set(MSVC70 1)
-set(MSVC_VERSION 1300)
diff --git a/Modules/CMakeVS8FindMake.cmake b/Modules/CMakeVS8FindMake.cmake
deleted file mode 100644
index 31df026..0000000
--- a/Modules/CMakeVS8FindMake.cmake
+++ /dev/null
@@ -1,34 +0,0 @@
-
-#=============================================================================
-# Copyright 2004-2009 Kitware, Inc.
-#
-# Distributed under the OSI-approved BSD License (the "License");
-# see accompanying file Copyright.txt for details.
-#
-# This software is distributed WITHOUT ANY WARRANTY; without even the
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the License for more information.
-#=============================================================================
-# (To distribute this file outside of CMake, substitute the full
-# License text for the above reference.)
-
-# VCExpress does not support cross compiling, which is necessary for Win CE
-set( _CMAKE_MAKE_PROGRAM_NAMES devenv)
-if(NOT CMAKE_CROSSCOMPILING)
- set( _CMAKE_MAKE_PROGRAM_NAMES ${_CMAKE_MAKE_PROGRAM_NAMES} VCExpress)
-endif()
-
-find_program(CMAKE_MAKE_PROGRAM
- NAMES ${_CMAKE_MAKE_PROGRAM_NAMES}
- HINTS
- [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0\\Setup\\VS;EnvironmentDirectory]
- [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0\\Setup;Dbghelp_path]
- "$ENV{ProgramFiles}/Microsoft Visual Studio 8/Common7/IDE"
- "$ENV{ProgramFiles}/Microsoft Visual Studio8/Common7/IDE"
- "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio 8/Common7/IDE"
- "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio8/Common7/IDE"
- "/Program Files/Microsoft Visual Studio 8/Common7/IDE/"
- )
-mark_as_advanced(CMAKE_MAKE_PROGRAM)
-set(MSVC80 1)
-set(MSVC_VERSION 1400)
diff --git a/Modules/CMakeVS9FindMake.cmake b/Modules/CMakeVS9FindMake.cmake
deleted file mode 100644
index 35e9f98..0000000
--- a/Modules/CMakeVS9FindMake.cmake
+++ /dev/null
@@ -1,39 +0,0 @@
-
-#=============================================================================
-# Copyright 2007-2009 Kitware, Inc.
-#
-# Distributed under the OSI-approved BSD License (the "License");
-# see accompanying file Copyright.txt for details.
-#
-# This software is distributed WITHOUT ANY WARRANTY; without even the
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the License for more information.
-#=============================================================================
-# (To distribute this file outside of CMake, substitute the full
-# License text for the above reference.)
-
-# VCExpress does not support cross compiling, which is necessary for Win CE
-set( _CMAKE_MAKE_PROGRAM_NAMES devenv)
-if(NOT CMAKE_CROSSCOMPILING)
- set( _CMAKE_MAKE_PROGRAM_NAMES ${_CMAKE_MAKE_PROGRAM_NAMES} VCExpress)
-endif()
-
-find_program(CMAKE_MAKE_PROGRAM
- NAMES ${_CMAKE_MAKE_PROGRAM_NAMES}
- HINTS
- [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\9.0\\Setup\\VS;EnvironmentDirectory]
- [HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\9.0\\Setup;Dbghelp_path]
- "$ENV{ProgramFiles}/Microsoft Visual Studio 9.0/Common7/IDE"
- "$ENV{ProgramFiles}/Microsoft Visual Studio9.0/Common7/IDE"
- "$ENV{ProgramFiles}/Microsoft Visual Studio 9/Common7/IDE"
- "$ENV{ProgramFiles}/Microsoft Visual Studio9/Common7/IDE"
- "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio 9.0/Common7/IDE"
- "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio9.0/Common7/IDE"
- "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio 9/Common7/IDE"
- "$ENV{ProgramFiles} (x86)/Microsoft Visual Studio9/Common7/IDE"
- "/Program Files/Microsoft Visual Studio 9.0/Common7/IDE/"
- "/Program Files/Microsoft Visual Studio 9/Common7/IDE/"
- )
-mark_as_advanced(CMAKE_MAKE_PROGRAM)
-set(MSVC90 1)
-set(MSVC_VERSION 1500)
diff --git a/Modules/CMakeVerifyManifest.cmake b/Modules/CMakeVerifyManifest.cmake
index aebe77e..bff4e1e 100644
--- a/Modules/CMakeVerifyManifest.cmake
+++ b/Modules/CMakeVerifyManifest.cmake
@@ -1,14 +1,19 @@
+#.rst:
+# CMakeVerifyManifest
+# -------------------
+#
+#
+#
# CMakeVerifyManifest.cmake
#
-# This script is used to verify that embeded manifests and
-# side by side manifests for a project match. To run this
-# script, cd to a directory and run the script with cmake -P.
-# On the command line you can pass in versions that are OK even
-# if not found in the .manifest files. For example,
-# cmake -Dallow_versions=8.0.50608.0 -PCmakeVerifyManifest.cmake
-# could be used to allow an embeded manifest of 8.0.50608.0
-# to be used in a project even if that version was not found
-# in the .manifest file.
+# This script is used to verify that embeded manifests and side by side
+# manifests for a project match. To run this script, cd to a directory
+# and run the script with cmake -P. On the command line you can pass in
+# versions that are OK even if not found in the .manifest files. For
+# example, cmake -Dallow_versions=8.0.50608.0
+# -PCmakeVerifyManifest.cmake could be used to allow an embeded manifest
+# of 8.0.50608.0 to be used in a project even if that version was not
+# found in the .manifest file.
# This script first recursively globs *.manifest files from
# the current directory. Then globs *.exe and *.dll. Each
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake
index b0260ab..89547af 100644
--- a/Modules/CPack.cmake
+++ b/Modules/CPack.cmake
@@ -1,275 +1,268 @@
-##section Variables common to all CPack generators
-##end
-##module
-# - Build binary and source package installers.
-# The CPack module generates binary and source installers in a variety
-# of formats using the cpack program. Inclusion of the CPack module
-# adds two new targets to the resulting makefiles, package and
+#.rst:
+# CPack
+# -----
+#
+# Build binary and source package installers.
+#
+# Variables common to all CPack generators
+# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+#
+# The
+# CPack module generates binary and source installers in a variety of
+# formats using the cpack program. Inclusion of the CPack module adds
+# two new targets to the resulting makefiles, package and
# package_source, which build the binary and source installers,
-# respectively. The generated binary installers contain everything
+# respectively. The generated binary installers contain everything
# installed via CMake's INSTALL command (and the deprecated
# INSTALL_FILES, INSTALL_PROGRAMS, and INSTALL_TARGETS commands).
#
# For certain kinds of binary installers (including the graphical
# installers on Mac OS X and Windows), CPack generates installers that
-# allow users to select individual application components to
-# install. See CPackComponent module for that.
+# allow users to select individual application components to install.
+# See CPackComponent module for that.
#
# The CPACK_GENERATOR variable has different meanings in different
-# contexts. In your CMakeLists.txt file, CPACK_GENERATOR is a
-# *list of generators*: when run with no other arguments, CPack
-# will iterate over that list and produce one package for each
-# generator. In a CPACK_PROJECT_CONFIG_FILE, though, CPACK_GENERATOR
-# is a *string naming a single generator*. If you need per-cpack-
-# generator logic to control *other* cpack settings, then you need
-# a CPACK_PROJECT_CONFIG_FILE.
+# contexts. In your CMakeLists.txt file, CPACK_GENERATOR is a *list of
+# generators*: when run with no other arguments, CPack will iterate over
+# that list and produce one package for each generator. In a
+# CPACK_PROJECT_CONFIG_FILE, though, CPACK_GENERATOR is a *string naming
+# a single generator*. If you need per-cpack- generator logic to
+# control *other* cpack settings, then you need a
+# CPACK_PROJECT_CONFIG_FILE.
#
# The CMake source tree itself contains a CPACK_PROJECT_CONFIG_FILE.
# See the top level file CMakeCPackOptions.cmake.in for an example.
#
-# If set, the CPACK_PROJECT_CONFIG_FILE is included automatically
-# on a per-generator basis. It only need contain overrides.
+# If set, the CPACK_PROJECT_CONFIG_FILE is included automatically on a
+# per-generator basis. It only need contain overrides.
#
# Here's how it works:
-# - cpack runs
-# - it includes CPackConfig.cmake
-# - it iterates over the generators listed in that file's
-# CPACK_GENERATOR list variable (unless told to use just a
-# specific one via -G on the command line...)
-#
-# - foreach generator, it then
-# - sets CPACK_GENERATOR to the one currently being iterated
-# - includes the CPACK_PROJECT_CONFIG_FILE
-# - produces the package for that generator
-#
-# This is the key: For each generator listed in CPACK_GENERATOR
-# in CPackConfig.cmake, cpack will *reset* CPACK_GENERATOR
-# internally to *the one currently being used* and then include
-# the CPACK_PROJECT_CONFIG_FILE.
-#
-# Before including this CPack module in your CMakeLists.txt file,
-# there are a variety of variables that can be set to customize
-# the resulting installers. The most commonly-used variables are:
-##end
-#
-##variable
-# CPACK_PACKAGE_NAME - The name of the package (or application). If
-# not specified, defaults to the project name.
-##end
-#
-##variable
-# CPACK_PACKAGE_VENDOR - The name of the package vendor. (e.g.,
-# "Kitware").
-##end
-#
-##variable
-# CPACK_PACKAGE_DIRECTORY - The directory in which CPack is doing its
-# packaging. If it is not set then this will default (internally) to the
-# build dir. This variable may be defined in CPack config file or from
-# the cpack command line option "-B". If set the command line option
-# override the value found in the config file.
-##end
-#
-##variable
-# CPACK_PACKAGE_VERSION_MAJOR - Package major Version
-##end
-#
-##variable
-# CPACK_PACKAGE_VERSION_MINOR - Package minor Version
-##end
-#
-##variable
-# CPACK_PACKAGE_VERSION_PATCH - Package patch Version
-##end
-#
-##variable
-# CPACK_PACKAGE_DESCRIPTION_FILE - A text file used to describe the
-# project. Used, for example, the introduction screen of a
-# CPack-generated Windows installer to describe the project.
-##end
-#
-##variable
-# CPACK_PACKAGE_DESCRIPTION_SUMMARY - Short description of the
-# project (only a few words).
-##end
-#
-##variable
-# CPACK_PACKAGE_FILE_NAME - The name of the package file to generate,
-# not including the extension. For example, cmake-2.6.1-Linux-i686.
-# The default value is
-#
-# ${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_SYSTEM_NAME}.
-##end
-#
-##variable
-# CPACK_PACKAGE_INSTALL_DIRECTORY - Installation directory on the
-# target system. This may be used by some CPack generators
-# like NSIS to create an installation directory e.g., "CMake 2.5"
-# below the installation prefix. All installed element will be
+#
+# * cpack runs
+# * it includes CPackConfig.cmake
+# * it iterates over the generators listed in that file's
+# CPACK_GENERATOR list variable (unless told to use just a
+# specific one via -G on the command line...)
+# * foreach generator, it then
+#
+# - sets CPACK_GENERATOR to the one currently being iterated
+# - includes the CPACK_PROJECT_CONFIG_FILE
+# - produces the package for that generator
+#
+# This is the key: For each generator listed in CPACK_GENERATOR in
+# CPackConfig.cmake, cpack will *reset* CPACK_GENERATOR internally to
+# *the one currently being used* and then include the
+# CPACK_PROJECT_CONFIG_FILE.
+#
+# Before including this CPack module in your CMakeLists.txt file, there
+# are a variety of variables that can be set to customize the resulting
+# installers. The most commonly-used variables are:
+#
+# .. variable:: CPACK_PACKAGE_NAME
+#
+# The name of the package (or application). If not specified, defaults to
+# the project name.
+#
+# .. variable:: CPACK_PACKAGE_VENDOR
+#
+# The name of the package vendor. (e.g., "Kitware").
+#
+# .. variable:: CPACK_PACKAGE_DIRECTORY
+#
+# The directory in which CPack is doing its packaging. If it is not set
+# then this will default (internally) to the build dir. This variable may
+# be defined in CPack config file or from the cpack command line option
+# "-B". If set the command line option override the value found in the
+# config file.
+#
+# .. variable:: CPACK_PACKAGE_VERSION_MAJOR
+#
+# Package major Version
+#
+# .. variable:: CPACK_PACKAGE_VERSION_MINOR
+#
+# Package minor Version
+#
+# .. variable:: CPACK_PACKAGE_VERSION_PATCH
+#
+# Package patch Version
+#
+# .. variable:: CPACK_PACKAGE_DESCRIPTION_FILE
+#
+# A text file used to describe the project. Used, for example, the
+# introduction screen of a CPack-generated Windows installer to describe
+# the project.
+#
+# .. variable:: CPACK_PACKAGE_DESCRIPTION_SUMMARY
+#
+# Short description of the project (only a few words).
+#
+# .. variable:: CPACK_PACKAGE_FILE_NAME
+#
+# The name of the package file to generate, not including the
+# extension. For example, cmake-2.6.1-Linux-i686. The default value is::
+#
+# ${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_SYSTEM_NAME}.
+#
+# .. variable:: CPACK_PACKAGE_INSTALL_DIRECTORY
+#
+# Installation directory on the target system. This may be used by some
+# CPack generators like NSIS to create an installation directory e.g.,
+# "CMake 2.5" below the installation prefix. All installed element will be
# put inside this directory.
-##end
-#
-##variable
-# CPACK_PACKAGE_ICON - A branding image that will be displayed inside
-# the installer (used by GUI installers).
-##end
-#
-##variable
-# CPACK_PROJECT_CONFIG_FILE - CPack-time project CPack configuration
-# file. This file included at cpack time, once per
-# generator after CPack has set CPACK_GENERATOR to the actual generator
-# being used. It allows per-generator setting of CPACK_* variables at
-# cpack time.
-##end
-#
-##variable
-# CPACK_RESOURCE_FILE_LICENSE - License to be embedded in the installer. It
-# will typically be displayed to the user by the produced installer
-# (often with an explicit "Accept" button, for graphical installers)
-# prior to installation. This license file is NOT added to installed
-# file but is used by some CPack generators like NSIS. If you want
-# to install a license file (may be the same as this one)
-# along with your project you must add an appropriate CMake INSTALL
+#
+# .. variable:: CPACK_PACKAGE_ICON
+#
+# A branding image that will be displayed inside the installer (used by GUI
+# installers).
+#
+# .. variable:: CPACK_PROJECT_CONFIG_FILE
+#
+# CPack-time project CPack configuration file. This file included at cpack
+# time, once per generator after CPack has set CPACK_GENERATOR to the
+# actual generator being used. It allows per-generator setting of CPACK_*
+# variables at cpack time.
+#
+# .. variable:: CPACK_RESOURCE_FILE_LICENSE
+#
+# License to be embedded in the installer. It will typically be displayed
+# to the user by the produced installer (often with an explicit "Accept"
+# button, for graphical installers) prior to installation. This license
+# file is NOT added to installed file but is used by some CPack generators
+# like NSIS. If you want to install a license file (may be the same as this
+# one) along with your project you must add an appropriate CMake INSTALL
# command in your CMakeLists.txt.
-##end
-#
-##variable
-# CPACK_RESOURCE_FILE_README - ReadMe file to be embedded in the installer. It
-# typically describes in some detail the purpose of the project
-# during the installation. Not all CPack generators uses
-# this file.
-##end
-#
-##variable
-# CPACK_RESOURCE_FILE_WELCOME - Welcome file to be embedded in the
-# installer. It welcomes users to this installer.
-# Typically used in the graphical installers on Windows and Mac OS X.
-##end
-#
-##variable
-# CPACK_MONOLITHIC_INSTALL - Disables the component-based
-# installation mechanism. When set the component specification is ignored
-# and all installed items are put in a single "MONOLITHIC" package.
-# Some CPack generators do monolithic packaging by default and
-# may be asked to do component packaging by setting
-# CPACK_<GENNAME>_COMPONENT_INSTALL to 1/TRUE.
-##end
-#
-##variable
-# CPACK_GENERATOR - List of CPack generators to use. If not
-# specified, CPack will create a set of options CPACK_BINARY_<GENNAME> (e.g.,
-# CPACK_BINARY_NSIS) allowing the user to enable/disable individual
-# generators. This variable may be used on the command line
-# as well as in:
-#
-# cpack -D CPACK_GENERATOR="ZIP;TGZ" /path/to/build/tree
-##end
-#
-##variable
-# CPACK_OUTPUT_CONFIG_FILE - The name of the CPack binary configuration
-# file. This file is the CPack configuration generated by the CPack module
-# for binary installers. Defaults to CPackConfig.cmake.
-##end
-#
-##variable
-# CPACK_PACKAGE_EXECUTABLES - Lists each of the executables and associated
-# text label to be used to create Start Menu shortcuts. For example,
-# setting this to the list ccmake;CMake will
-# create a shortcut named "CMake" that will execute the installed
-# executable ccmake. Not all CPack generators use it (at least NSIS and
-# OSXX11 do).
-##end
-#
-##variable
-# CPACK_STRIP_FILES - List of files to be stripped. Starting with
-# CMake 2.6.0 CPACK_STRIP_FILES will be a boolean variable which
-# enables stripping of all files (a list of files evaluates to TRUE
-# in CMake, so this change is compatible).
-##end
+#
+# .. variable:: CPACK_RESOURCE_FILE_README
+#
+# ReadMe file to be embedded in the installer. It typically describes in
+# some detail the purpose of the project during the installation. Not all
+# CPack generators uses this file.
+#
+# .. variable:: CPACK_RESOURCE_FILE_WELCOME
+#
+# Welcome file to be embedded in the installer. It welcomes users to this
+# installer. Typically used in the graphical installers on Windows and Mac
+# OS X.
+#
+# .. variable:: CPACK_MONOLITHIC_INSTALL
+#
+# Disables the component-based installation mechanism. When set the
+# component specification is ignored and all installed items are put in a
+# single "MONOLITHIC" package. Some CPack generators do monolithic
+# packaging by default and may be asked to do component packaging by
+# setting CPACK_<GENNAME>_COMPONENT_INSTALL to 1/TRUE.
+#
+# .. variable:: CPACK_GENERATOR
+#
+# List of CPack generators to use. If not specified, CPack will create a
+# set of options CPACK_BINARY_<GENNAME> (e.g., CPACK_BINARY_NSIS) allowing
+# the user to enable/disable individual generators. This variable may be
+# used on the command line as well as in::
+#
+# cpack -D CPACK_GENERATOR="ZIP;TGZ" /path/to/build/tree
+#
+# .. variable:: CPACK_OUTPUT_CONFIG_FILE
+#
+# The name of the CPack binary configuration file. This file is the CPack
+# configuration generated by the CPack module for binary
+# installers. Defaults to CPackConfig.cmake.
+#
+# .. variable:: CPACK_PACKAGE_EXECUTABLES
+#
+# Lists each of the executables and associated text label to be used to
+# create Start Menu shortcuts. For example, setting this to the list
+# ccmake;CMake will create a shortcut named "CMake" that will execute the
+# installed executable ccmake. Not all CPack generators use it (at least
+# NSIS, WIX and OSXX11 do).
+#
+# .. variable:: CPACK_STRIP_FILES
+#
+# List of files to be stripped. Starting with CMake 2.6.0 CPACK_STRIP_FILES
+# will be a boolean variable which enables stripping of all files (a list
+# of files evaluates to TRUE in CMake, so this change is compatible).
#
# The following CPack variables are specific to source packages, and
# will not affect binary packages:
#
-##variable
-# CPACK_SOURCE_PACKAGE_FILE_NAME - The name of the source package. For
-# example cmake-2.6.1.
-##end
-#
-##variable
-# CPACK_SOURCE_STRIP_FILES - List of files in the source tree that
-# will be stripped. Starting with CMake 2.6.0
-# CPACK_SOURCE_STRIP_FILES will be a boolean variable which enables
-# stripping of all files (a list of files evaluates to TRUE in CMake,
-# so this change is compatible).
-##end
-#
-##variable
-# CPACK_SOURCE_GENERATOR - List of generators used for the source
-# packages. As with CPACK_GENERATOR, if this is not specified then
-# CPack will create a set of options (e.g., CPACK_SOURCE_ZIP)
-# allowing users to select which packages will be generated.
-##end
-#
-##variable
-# CPACK_SOURCE_OUTPUT_CONFIG_FILE - The name of the CPack source
-# configuration file. This file is the CPack configuration generated by the
-# CPack module for source installers. Defaults to CPackSourceConfig.cmake.
-##end
-#
-##variable
-# CPACK_SOURCE_IGNORE_FILES - Pattern of files in the source tree
-# that won't be packaged when building a source package. This is a
-# list of regular expression patterns (that must be properly escaped),
-# e.g., /CVS/;/\\.svn/;\\.swp$;\\.#;/#;.*~;cscope.*
-##end
+# .. variable:: CPACK_SOURCE_PACKAGE_FILE_NAME
+#
+# The name of the source package. For example cmake-2.6.1.
+#
+# .. variable:: CPACK_SOURCE_STRIP_FILES
+#
+# List of files in the source tree that will be stripped. Starting with
+# CMake 2.6.0 CPACK_SOURCE_STRIP_FILES will be a boolean variable which
+# enables stripping of all files (a list of files evaluates to TRUE in
+# CMake, so this change is compatible).
+#
+# .. variable:: CPACK_SOURCE_GENERATOR
+#
+# List of generators used for the source packages. As with CPACK_GENERATOR,
+# if this is not specified then CPack will create a set of options (e.g.,
+# CPACK_SOURCE_ZIP) allowing users to select which packages will be
+# generated.
+#
+# .. variable:: CPACK_SOURCE_OUTPUT_CONFIG_FILE
+#
+# The name of the CPack source configuration file. This file is the CPack
+# configuration generated by the CPack module for source
+# installers. Defaults to CPackSourceConfig.cmake.
+#
+# .. variable:: CPACK_SOURCE_IGNORE_FILES
+#
+# Pattern of files in the source tree that won't be packaged when building
+# a source package. This is a list of regular expression patterns (that
+# must be properly escaped), e.g.,
+# /CVS/;/\\.svn/;\\.swp$;\\.#;/#;.*~;cscope.*
#
# The following variables are for advanced uses of CPack:
#
-##variable
-# CPACK_CMAKE_GENERATOR - What CMake generator should be used if the
-# project is CMake project. Defaults to the value of CMAKE_GENERATOR
-# few users will want to change this setting.
-##end
-#
-##variable
-# CPACK_INSTALL_CMAKE_PROJECTS - List of four values that specify
-# what project to install. The four values are: Build directory,
-# Project Name, Project Component, Directory. If omitted, CPack will
-# build an installer that installers everything.
-##end
-#
-##variable
-# CPACK_SYSTEM_NAME - System name, defaults to the value of
-# ${CMAKE_SYSTEM_NAME}.
-##end
-#
-##variable
-# CPACK_PACKAGE_VERSION - Package full version, used internally. By
-# default, this is built from CPACK_PACKAGE_VERSION_MAJOR,
-# CPACK_PACKAGE_VERSION_MINOR, and CPACK_PACKAGE_VERSION_PATCH.
-##end
-#
-##variable
-# CPACK_TOPLEVEL_TAG - Directory for the installed files.
-##end
-#
-##variable
-# CPACK_INSTALL_COMMANDS - Extra commands to install components.
-##end
-#
-##variable
-# CPACK_INSTALLED_DIRECTORIES - Extra directories to install.
-##end
-#
-##variable
-# CPACK_PACKAGE_INSTALL_REGISTRY_KEY - Registry key used when
-# installing this project. This is only used by installer for Windows.
-# The default value is based on the installation directory.
-##end
-##variable
-# CPACK_CREATE_DESKTOP_LINKS - List of desktop links to create.
-##end
+# .. variable:: CPACK_CMAKE_GENERATOR
+#
+# What CMake generator should be used if the project is CMake
+# project. Defaults to the value of CMAKE_GENERATOR few users will want to
+# change this setting.
#
+# .. variable:: CPACK_INSTALL_CMAKE_PROJECTS
+#
+# List of four values that specify what project to install. The four values
+# are: Build directory, Project Name, Project Component, Directory. If
+# omitted, CPack will build an installer that installers everything.
+#
+# .. variable:: CPACK_SYSTEM_NAME
+#
+# System name, defaults to the value of ${CMAKE_SYSTEM_NAME}.
+#
+# .. variable:: CPACK_PACKAGE_VERSION
+#
+# Package full version, used internally. By default, this is built from
+# CPACK_PACKAGE_VERSION_MAJOR, CPACK_PACKAGE_VERSION_MINOR, and
+# CPACK_PACKAGE_VERSION_PATCH.
+#
+# .. variable:: CPACK_TOPLEVEL_TAG
+#
+# Directory for the installed files.
+#
+# .. variable:: CPACK_INSTALL_COMMANDS
+#
+# Extra commands to install components.
+#
+# .. variable:: CPACK_INSTALLED_DIRECTORIES
+#
+# Extra directories to install.
+#
+# .. variable:: CPACK_PACKAGE_INSTALL_REGISTRY_KEY
+#
+# Registry key used when installing this project. This is only used by
+# installer for Windows. The default value is based on the installation
+# directory.
+#
+# .. variable:: CPACK_CREATE_DESKTOP_LINKS
+#
+# List of desktop links to create.
+# Each desktop link requires a corresponding start menu shortcut
+# as created by :variable:`CPACK_PACKAGE_EXECUTABLES`.
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
@@ -407,15 +400,16 @@ macro(cpack_optional_append _list _cond _item)
endif()
endmacro()
-##variable
-# CPACK_BINARY_<GENNAME> - CPack generated options for binary generators. The
-# CPack.cmake module generates (when CPACK_GENERATOR is not set)
-# a set of CMake options (see CMake option command) which may then be used to
-# select the CPack generator(s) to be used when launching the package target.
-##end
-# Provide options to choose generators
-# we might check here if the required tools for the generates exist
-# and set the defaults according to the results
+#.rst:
+# .. variable:: CPACK_BINARY_<GENNAME>
+#
+# CPack generated options for binary generators. The CPack.cmake module
+# generates (when CPACK_GENERATOR is not set) a set of CMake options (see
+# CMake option command) which may then be used to select the CPack
+# generator(s) to be used when launching the package target.
+#
+# Provide options to choose generators we might check here if the required
+# tools for the generates exist and set the defaults according to the results
if(NOT CPACK_GENERATOR)
if(UNIX)
if(CYGWIN)
@@ -424,7 +418,7 @@ if(NOT CPACK_GENERATOR)
if(APPLE)
option(CPACK_BINARY_BUNDLE "Enable to build OSX bundles" OFF)
option(CPACK_BINARY_DRAGNDROP "Enable to build OSX Drag And Drop package" OFF)
- option(CPACK_BINARY_PACKAGEMAKER "Enable to build PackageMaker packages" ON)
+ option(CPACK_BINARY_PACKAGEMAKER "Enable to build PackageMaker packages" OFF)
option(CPACK_BINARY_OSXX11 "Enable to build OSX X11 packages" OFF)
else()
option(CPACK_BINARY_TZ "Enable to build TZ packages" ON)
@@ -527,6 +521,11 @@ cpack_set_if_not_set(CPACK_NSIS_INSTALLER_MUI_ICON_CODE "")
# WiX specific variables
cpack_set_if_not_set(CPACK_WIX_SIZEOF_VOID_P "${CMAKE_SIZEOF_VOID_P}")
+# set sysroot so SDK tools can be used
+if(CMAKE_OSX_SYSROOT)
+ cpack_set_if_not_set(CPACK_OSX_SYSROOT "${CMAKE_OSX_SYSROOT}")
+endif()
+
if(DEFINED CPACK_COMPONENTS_ALL)
if(CPACK_MONOLITHIC_INSTALL)
message("CPack warning: both CPACK_COMPONENTS_ALL and CPACK_MONOLITHIC_INSTALL have been set.\nDefaulting to a monolithic installation.")
@@ -561,7 +560,7 @@ set(CPACK_COMPONENT_UNSPECIFIED_HIDDEN TRUE)
set(CPACK_COMPONENT_UNSPECIFIED_REQUIRED TRUE)
cpack_encode_variables()
-configure_file("${cpack_input_file}" "${CPACK_OUTPUT_CONFIG_FILE}" @ONLY IMMEDIATE)
+configure_file("${cpack_input_file}" "${CPACK_OUTPUT_CONFIG_FILE}" @ONLY)
# Generate source file
cpack_set_if_not_set(CPACK_SOURCE_INSTALLED_DIRECTORIES
@@ -581,4 +580,4 @@ set(CPACK_STRIP_FILES "${CPACK_SOURCE_STRIP_FILES}")
cpack_encode_variables()
configure_file("${cpack_source_input_file}"
- "${CPACK_SOURCE_OUTPUT_CONFIG_FILE}" @ONLY IMMEDIATE)
+ "${CPACK_SOURCE_OUTPUT_CONFIG_FILE}" @ONLY)
diff --git a/Modules/CPackBundle.cmake b/Modules/CPackBundle.cmake
index 0da51e3..d8293c0 100644
--- a/Modules/CPackBundle.cmake
+++ b/Modules/CPackBundle.cmake
@@ -1,36 +1,38 @@
-##section Variables specific to CPack Bundle generator
-##end
-##module
-# - CPack Bundle generator (Mac OS X) specific options
+#.rst:
+# CPackBundle
+# -----------
+#
+# CPack Bundle generator (Mac OS X) specific options
+#
+# Variables specific to CPack Bundle generator
+# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#
# Installers built on Mac OS X using the Bundle generator use the
-# aforementioned DragNDrop (CPACK_DMG_xxx) variables, plus
-# the following Bundle-specific parameters (CPACK_BUNDLE_xxx).
-##end
-#
-##variable
-# CPACK_BUNDLE_NAME - The name of the generated bundle. This
-# appears in the OSX finder as the bundle name. Required.
-##end
-#
-##variable
-# CPACK_BUNDLE_PLIST - Path to an OSX plist file that will be used
-# for the generated bundle. This assumes that the caller has generated
-# or specified their own Info.plist file. Required.
-##end
-#
-##variable
-# CPACK_BUNDLE_ICON - Path to an OSX icon file that will be used as
-# the icon for the generated bundle. This is the icon that appears in the
-# OSX finder for the bundle, and in the OSX dock when the bundle is opened.
-# Required.
-##end
-#
-##variable
-# CPACK_BUNDLE_STARTUP_COMMAND - Path to a startup script. This is a path to
-# an executable or script that will be run whenever an end-user double-clicks
-# the generated bundle in the OSX Finder. Optional.
-##end
+# aforementioned DragNDrop (CPACK_DMG_xxx) variables, plus the following
+# Bundle-specific parameters (CPACK_BUNDLE_xxx).
+#
+# .. variable:: CPACK_BUNDLE_NAME
+#
+# The name of the generated bundle. This appears in the OSX finder as the
+# bundle name. Required.
+#
+# .. variable:: CPACK_BUNDLE_PLIST
+#
+# Path to an OSX plist file that will be used for the generated bundle. This
+# assumes that the caller has generated or specified their own Info.plist
+# file. Required.
+#
+# .. variable:: CPACK_BUNDLE_ICON
+#
+# Path to an OSX icon file that will be used as the icon for the generated
+# bundle. This is the icon that appears in the OSX finder for the bundle, and
+# in the OSX dock when the bundle is opened. Required.
+#
+# .. variable:: CPACK_BUNDLE_STARTUP_COMMAND
+#
+# Path to a startup script. This is a path to an executable or script that
+# will be run whenever an end-user double-clicks the generated bundle in the
+# OSX Finder. Optional.
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
diff --git a/Modules/CPackComponent.cmake b/Modules/CPackComponent.cmake
index c85cfb4..1433d9e 100644
--- a/Modules/CPackComponent.cmake
+++ b/Modules/CPackComponent.cmake
@@ -1,265 +1,288 @@
-##section Variables concerning CPack Components
-##end
-##module
-# - Build binary and source package installers
+#.rst:
+# CPackComponent
+# --------------
#
-# The CPackComponent module is the module which handles
-# the component part of CPack. See CPack module for
-# general information about CPack.
+# Build binary and source package installers
+#
+# Variables concerning CPack Components
+# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+#
+# The CPackComponent module is the module which handles the component
+# part of CPack. See CPack module for general information about CPack.
#
# For certain kinds of binary installers (including the graphical
# installers on Mac OS X and Windows), CPack generates installers that
-# allow users to select individual application components to
-# install. The contents of each of the components are identified by
-# the COMPONENT argument of CMake's INSTALL command. These components
-# can be annotated with user-friendly names and descriptions,
-# inter-component dependencies, etc., and grouped in various ways to
-# customize the resulting installer. See the cpack_add_* commands,
-# described below, for more information about component-specific
-# installations.
+# allow users to select individual application components to install.
+# The contents of each of the components are identified by the COMPONENT
+# argument of CMake's INSTALL command. These components can be
+# annotated with user-friendly names and descriptions, inter-component
+# dependencies, etc., and grouped in various ways to customize the
+# resulting installer. See the cpack_add_* commands, described below,
+# for more information about component-specific installations.
#
# Component-specific installation allows users to select specific sets
-# of components to install during the install process. Installation
-# components are identified by the COMPONENT argument of CMake's
-# INSTALL commands, and should be further described by the following
-# CPack commands:
-##end
-#
-##variable
-# CPACK_COMPONENTS_ALL - The list of component to install.
-#
-#The default value of this variable is computed by CPack
-#and contains all components defined by the project. The
-#user may set it to only include the specified components.
-##end
-#
-##variable
-# CPACK_<GENNAME>_COMPONENT_INSTALL - Enable/Disable component install for
-# CPack generator <GENNAME>.
-#
-#Each CPack Generator (RPM, DEB, ARCHIVE, NSIS, DMG, etc...) has a legacy
-#default behavior. e.g. RPM builds monolithic whereas NSIS builds component.
-#One can change the default behavior by setting this variable to 0/1 or OFF/ON.
-##end
-##variable
-# CPACK_COMPONENTS_GROUPING - Specify how components are grouped for multi-package
-# component-aware CPack generators.
-#
-#Some generators like RPM or ARCHIVE family (TGZ, ZIP, ...) generates several
-#packages files when asked for component packaging. They group the component
-#differently depending on the value of this variable:
-# - ONE_PER_GROUP (default): creates one package file per component group
-# - ALL_COMPONENTS_IN_ONE : creates a single package with all (requested) component
-# - IGNORE : creates one package per component, i.e. IGNORE component group
-#One can specify different grouping for different CPack generator by using
-#a CPACK_PROJECT_CONFIG_FILE.
-##end
-##variable
-# CPACK_COMPONENT_<compName>_DISPLAY_NAME - The name to be displayed for a component.
-##end
-##variable
-# CPACK_COMPONENT_<compName>_DESCRIPTION - The description of a component.
-##end
-##variable
-# CPACK_COMPONENT_<compName>_GROUP - The group of a component.
-##end
-##variable
-# CPACK_COMPONENT_<compName>_DEPENDS - The dependencies (list of components)
-# on which this component depends.
-##end
-##variable
-# CPACK_COMPONENT_<compName>_REQUIRED - True is this component is required.
-##end
-##macro
-#cpack_add_component - Describes a CPack installation component
-#named by the COMPONENT argument to a CMake INSTALL command.
-#
-# cpack_add_component(compname
-# [DISPLAY_NAME name]
-# [DESCRIPTION description]
-# [HIDDEN | REQUIRED | DISABLED ]
-# [GROUP group]
-# [DEPENDS comp1 comp2 ... ]
-# [INSTALL_TYPES type1 type2 ... ]
-# [DOWNLOADED]
-# [ARCHIVE_FILE filename])
-#
-#The cmake_add_component command describes an installation
-#component, which the user can opt to install or remove as part of
-#the graphical installation process. compname is the name of the
-#component, as provided to the COMPONENT argument of one or more
-#CMake INSTALL commands.
-#
-#DISPLAY_NAME is the displayed name of the component, used in
-#graphical installers to display the component name. This value can
-#be any string.
-#
-#DESCRIPTION is an extended description of the component, used in
-#graphical installers to give the user additional information about
-#the component. Descriptions can span multiple lines using "\n" as
-#the line separator. Typically, these descriptions should be no
-#more than a few lines long.
-#
-#HIDDEN indicates that this component will be hidden in the
-#graphical installer, so that the user cannot directly change
-#whether it is installed or not.
-#
-#REQUIRED indicates that this component is required, and therefore
-#will always be installed. It will be visible in the graphical
-#installer, but it cannot be unselected. (Typically, required
-#components are shown greyed out).
-#
-#DISABLED indicates that this component should be disabled
-#(unselected) by default. The user is free to select this component
-#for installation, unless it is also HIDDEN.
-#
-#DEPENDS lists the components on which this component depends. If
-#this component is selected, then each of the components listed
-#must also be selected. The dependency information is encoded
-#within the installer itself, so that users cannot install
-#inconsistent sets of components.
-#
-#GROUP names the component group of which this component is a
-#part. If not provided, the component will be a standalone
-#component, not part of any component group. Component groups are
-#described with the cpack_add_component_group command, detailed
-#below.
-#
-#INSTALL_TYPES lists the installation types of which this component
-#is a part. When one of these installations types is selected, this
-#component will automatically be selected. Installation types are
-#described with the cpack_add_install_type command, detailed below.
-#
-#DOWNLOADED indicates that this component should be downloaded
-#on-the-fly by the installer, rather than packaged in with the
-#installer itself. For more information, see the cpack_configure_downloads
-# command.
-#
-#ARCHIVE_FILE provides a name for the archive file created by CPack
-#to be used for downloaded components. If not supplied, CPack will
-#create a file with some name based on CPACK_PACKAGE_FILE_NAME and
-#the name of the component. See cpack_configure_downloads for more
-#information.
-##end
-#
-##macro
-#cpack_add_component_group - Describes a group of related CPack
-#installation components.
-#
-# cpack_add_component_group(groupname
-# [DISPLAY_NAME name]
-# [DESCRIPTION description]
-# [PARENT_GROUP parent]
-# [EXPANDED]
-# [BOLD_TITLE])
-#
-#The cpack_add_component_group describes a group of installation
-#components, which will be placed together within the listing of
-#options. Typically, component groups allow the user to
-#select/deselect all of the components within a single group via a
-#single group-level option. Use component groups to reduce the
-#complexity of installers with many options. groupname is an
-#arbitrary name used to identify the group in the GROUP argument of
-#the cpack_add_component command, which is used to place a
-#component in a group. The name of the group must not conflict with
-#the name of any component.
-#
-#DISPLAY_NAME is the displayed name of the component group, used in
-#graphical installers to display the component group name. This
-#value can be any string.
-#
-#DESCRIPTION is an extended description of the component group,
-#used in graphical installers to give the user additional
-#information about the components within that group. Descriptions
-#can span multiple lines using "\n" as the line
-#separator. Typically, these descriptions should be no more than a
-#few lines long.
-#
-#PARENT_GROUP, if supplied, names the parent group of this group.
-#Parent groups are used to establish a hierarchy of groups,
-#providing an arbitrary hierarchy of groups.
-#
-#EXPANDED indicates that, by default, the group should show up as
-#"expanded", so that the user immediately sees all of the
-#components within the group. Otherwise, the group will initially
-#show up as a single entry.
-#
-#BOLD_TITLE indicates that the group title should appear in bold,
-#to call the user's attention to the group.
-##end
-#
-##macro
-#cpack_add_install_type - Add a new installation type containing a
-#set of predefined component selections to the graphical installer.
-#
-# cpack_add_install_type(typename
-# [DISPLAY_NAME name])
-#
-#The cpack_add_install_type command identifies a set of preselected
-#components that represents a common use case for an
-#application. For example, a "Developer" install type might include
-#an application along with its header and library files, while an
-#"End user" install type might just include the application's
-#executable. Each component identifies itself with one or more
-#install types via the INSTALL_TYPES argument to
-#cpack_add_component.
-#
-#DISPLAY_NAME is the displayed name of the install type, which will
-#typically show up in a drop-down box within a graphical
-#installer. This value can be any string.
-##end
-#
-##macro
-#cpack_configure_downloads - Configure CPack to download selected
-#components on-the-fly as part of the installation process.
-#
-# cpack_configure_downloads(site
-# [UPLOAD_DIRECTORY dirname]
-# [ALL]
-# [ADD_REMOVE|NO_ADD_REMOVE])
-#
-#The cpack_configure_downloads command configures installation-time
-#downloads of selected components. For each downloadable component,
-#CPack will create an archive containing the contents of that
-#component, which should be uploaded to the given site. When the
-#user selects that component for installation, the installer will
-#download and extract the component in place. This feature is
-#useful for creating small installers that only download the
-#requested components, saving bandwidth. Additionally, the
-#installers are small enough that they will be installed as part of
-#the normal installation process, and the "Change" button in
-#Windows Add/Remove Programs control panel will allow one to add or
-#remove parts of the application after the original
-#installation. On Windows, the downloaded-components functionality
-#requires the ZipDLL plug-in for NSIS, available at:
-#
-# http://nsis.sourceforge.net/ZipDLL_plug-in
-#
-#On Mac OS X, installers that download components on-the-fly can
-#only be built and installed on system using Mac OS X 10.5 or
-#later.
-#
-#The site argument is a URL where the archives for downloadable
-#components will reside, e.g., http://www.cmake.org/files/2.6.1/installer/
-#All of the archives produced by CPack should be uploaded to that location.
-#
-#UPLOAD_DIRECTORY is the local directory where CPack will create the
-#various archives for each of the components. The contents of this
-#directory should be uploaded to a location accessible by the URL given
-#in the site argument. If omitted, CPack will use the directory
-#CPackUploads inside the CMake binary directory to store the generated
-#archives.
-#
-#The ALL flag indicates that all components be downloaded. Otherwise, only
-#those components explicitly marked as DOWNLOADED or that have a specified
-#ARCHIVE_FILE will be downloaded. Additionally, the ALL option implies
-#ADD_REMOVE (unless NO_ADD_REMOVE is specified).
-#
-#ADD_REMOVE indicates that CPack should install a copy of the installer
-#that can be called from Windows' Add/Remove Programs dialog (via the
-#"Modify" button) to change the set of installed components. NO_ADD_REMOVE
-#turns off this behavior. This option is ignored on Mac OS X.
-##endmacro
+# of components to install during the install process. Installation
+# components are identified by the COMPONENT argument of CMake's INSTALL
+# commands, and should be further described by the following CPack
+# commands:
+#
+# .. variable:: CPACK_COMPONENTS_ALL
+#
+# The list of component to install.
+#
+# The default value of this variable is computed by CPack and contains all
+# components defined by the project. The user may set it to only include the
+# specified components.
+#
+# .. variable:: CPACK_<GENNAME>_COMPONENT_INSTALL
+#
+# Enable/Disable component install for CPack generator <GENNAME>.
+#
+# Each CPack Generator (RPM, DEB, ARCHIVE, NSIS, DMG, etc...) has a legacy
+# default behavior. e.g. RPM builds monolithic whereas NSIS builds
+# component. One can change the default behavior by setting this variable to
+# 0/1 or OFF/ON.
+#
+# .. variable:: CPACK_COMPONENTS_GROUPING
+#
+# Specify how components are grouped for multi-package component-aware CPack
+# generators.
+#
+# Some generators like RPM or ARCHIVE family (TGZ, ZIP, ...) generates
+# several packages files when asked for component packaging. They group
+# the component differently depending on the value of this variable:
+#
+# * ONE_PER_GROUP (default): creates one package file per component group
+# * ALL_COMPONENTS_IN_ONE : creates a single package with all (requested) component
+# * IGNORE : creates one package per component, i.e. IGNORE component group
+#
+# One can specify different grouping for different CPack generator by
+# using a CPACK_PROJECT_CONFIG_FILE.
+#
+# .. variable:: CPACK_COMPONENT_<compName>_DISPLAY_NAME
+#
+# The name to be displayed for a component.
+#
+# .. variable:: CPACK_COMPONENT_<compName>_DESCRIPTION
+#
+# The description of a component.
+#
+# .. variable:: CPACK_COMPONENT_<compName>_GROUP
+#
+# The group of a component.
+#
+# .. variable:: CPACK_COMPONENT_<compName>_DEPENDS
+#
+# The dependencies (list of components) on which this component depends.
+#
+# .. variable:: CPACK_COMPONENT_<compName>_REQUIRED
+#
+# True is this component is required.
+#
+# .. command:: cpack_add_component
+#
+# Describes a CPack installation
+# component named by the COMPONENT argument to a CMake INSTALL command.
+#
+# ::
+#
+# cpack_add_component(compname
+# [DISPLAY_NAME name]
+# [DESCRIPTION description]
+# [HIDDEN | REQUIRED | DISABLED ]
+# [GROUP group]
+# [DEPENDS comp1 comp2 ... ]
+# [INSTALL_TYPES type1 type2 ... ]
+# [DOWNLOADED]
+# [ARCHIVE_FILE filename])
+#
+#
+#
+# The cmake_add_component command describes an installation component,
+# which the user can opt to install or remove as part of the graphical
+# installation process. compname is the name of the component, as
+# provided to the COMPONENT argument of one or more CMake INSTALL
+# commands.
+#
+# DISPLAY_NAME is the displayed name of the component, used in graphical
+# installers to display the component name. This value can be any
+# string.
+#
+# DESCRIPTION is an extended description of the component, used in
+# graphical installers to give the user additional information about the
+# component. Descriptions can span multiple lines using "\n" as the
+# line separator. Typically, these descriptions should be no more than
+# a few lines long.
+#
+# HIDDEN indicates that this component will be hidden in the graphical
+# installer, so that the user cannot directly change whether it is
+# installed or not.
+#
+# REQUIRED indicates that this component is required, and therefore will
+# always be installed. It will be visible in the graphical installer,
+# but it cannot be unselected. (Typically, required components are
+# shown greyed out).
+#
+# DISABLED indicates that this component should be disabled (unselected)
+# by default. The user is free to select this component for
+# installation, unless it is also HIDDEN.
+#
+# DEPENDS lists the components on which this component depends. If this
+# component is selected, then each of the components listed must also be
+# selected. The dependency information is encoded within the installer
+# itself, so that users cannot install inconsistent sets of components.
+#
+# GROUP names the component group of which this component is a part. If
+# not provided, the component will be a standalone component, not part
+# of any component group. Component groups are described with the
+# cpack_add_component_group command, detailed below.
+#
+# INSTALL_TYPES lists the installation types of which this component is
+# a part. When one of these installations types is selected, this
+# component will automatically be selected. Installation types are
+# described with the cpack_add_install_type command, detailed below.
+#
+# DOWNLOADED indicates that this component should be downloaded
+# on-the-fly by the installer, rather than packaged in with the
+# installer itself. For more information, see the
+# cpack_configure_downloads command.
+#
+# ARCHIVE_FILE provides a name for the archive file created by CPack to
+# be used for downloaded components. If not supplied, CPack will create
+# a file with some name based on CPACK_PACKAGE_FILE_NAME and the name of
+# the component. See cpack_configure_downloads for more information.
+#
+# .. command:: cpack_add_component_group
+#
+# Describes a group of related CPack installation components.
+#
+# ::
+#
+# cpack_add_component_group(groupname
+# [DISPLAY_NAME name]
+# [DESCRIPTION description]
+# [PARENT_GROUP parent]
+# [EXPANDED]
+# [BOLD_TITLE])
+#
+#
+#
+# The cpack_add_component_group describes a group of installation
+# components, which will be placed together within the listing of
+# options. Typically, component groups allow the user to
+# select/deselect all of the components within a single group via a
+# single group-level option. Use component groups to reduce the
+# complexity of installers with many options. groupname is an arbitrary
+# name used to identify the group in the GROUP argument of the
+# cpack_add_component command, which is used to place a component in a
+# group. The name of the group must not conflict with the name of any
+# component.
+#
+# DISPLAY_NAME is the displayed name of the component group, used in
+# graphical installers to display the component group name. This value
+# can be any string.
+#
+# DESCRIPTION is an extended description of the component group, used in
+# graphical installers to give the user additional information about the
+# components within that group. Descriptions can span multiple lines
+# using "\n" as the line separator. Typically, these descriptions
+# should be no more than a few lines long.
+#
+# PARENT_GROUP, if supplied, names the parent group of this group.
+# Parent groups are used to establish a hierarchy of groups, providing
+# an arbitrary hierarchy of groups.
+#
+# EXPANDED indicates that, by default, the group should show up as
+# "expanded", so that the user immediately sees all of the components
+# within the group. Otherwise, the group will initially show up as a
+# single entry.
+#
+# BOLD_TITLE indicates that the group title should appear in bold, to
+# call the user's attention to the group.
+#
+# .. command:: cpack_add_install_type
+#
+# Add a new installation type containing
+# a set of predefined component selections to the graphical installer.
+#
+# ::
+#
+# cpack_add_install_type(typename
+# [DISPLAY_NAME name])
+#
+#
+#
+# The cpack_add_install_type command identifies a set of preselected
+# components that represents a common use case for an application. For
+# example, a "Developer" install type might include an application along
+# with its header and library files, while an "End user" install type
+# might just include the application's executable. Each component
+# identifies itself with one or more install types via the INSTALL_TYPES
+# argument to cpack_add_component.
+#
+# DISPLAY_NAME is the displayed name of the install type, which will
+# typically show up in a drop-down box within a graphical installer.
+# This value can be any string.
+#
+# .. command:: cpack_configure_downloads
+#
+# Configure CPack to download
+# selected components on-the-fly as part of the installation process.
+#
+# ::
+#
+# cpack_configure_downloads(site
+# [UPLOAD_DIRECTORY dirname]
+# [ALL]
+# [ADD_REMOVE|NO_ADD_REMOVE])
+#
+#
+#
+# The cpack_configure_downloads command configures installation-time
+# downloads of selected components. For each downloadable component,
+# CPack will create an archive containing the contents of that
+# component, which should be uploaded to the given site. When the user
+# selects that component for installation, the installer will download
+# and extract the component in place. This feature is useful for
+# creating small installers that only download the requested components,
+# saving bandwidth. Additionally, the installers are small enough that
+# they will be installed as part of the normal installation process, and
+# the "Change" button in Windows Add/Remove Programs control panel will
+# allow one to add or remove parts of the application after the original
+# installation. On Windows, the downloaded-components functionality
+# requires the ZipDLL plug-in for NSIS, available at:
+#
+# ::
+#
+# http://nsis.sourceforge.net/ZipDLL_plug-in
+#
+#
+#
+# On Mac OS X, installers that download components on-the-fly can only
+# be built and installed on system using Mac OS X 10.5 or later.
+#
+# The site argument is a URL where the archives for downloadable
+# components will reside, e.g.,
+# http://www.cmake.org/files/2.6.1/installer/ All of the archives
+# produced by CPack should be uploaded to that location.
+#
+# UPLOAD_DIRECTORY is the local directory where CPack will create the
+# various archives for each of the components. The contents of this
+# directory should be uploaded to a location accessible by the URL given
+# in the site argument. If omitted, CPack will use the directory
+# CPackUploads inside the CMake binary directory to store the generated
+# archives.
+#
+# The ALL flag indicates that all components be downloaded. Otherwise,
+# only those components explicitly marked as DOWNLOADED or that have a
+# specified ARCHIVE_FILE will be downloaded. Additionally, the ALL
+# option implies ADD_REMOVE (unless NO_ADD_REMOVE is specified).
+#
+# ADD_REMOVE indicates that CPack should install a copy of the installer
+# that can be called from Windows' Add/Remove Programs dialog (via the
+# "Modify" button) to change the set of installed components.
+# NO_ADD_REMOVE turns off this behavior. This option is ignored on Mac
+# OS X.
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
@@ -352,17 +375,17 @@ endmacro()
# Macro that adds a component to the CPack installer
macro(cpack_add_component compname)
- string(TOUPPER ${compname} CPACK_ADDCOMP_UNAME)
- cpack_parse_arguments(CPACK_COMPONENT_${CPACK_ADDCOMP_UNAME}
+ string(TOUPPER ${compname} _CPACK_ADDCOMP_UNAME)
+ cpack_parse_arguments(CPACK_COMPONENT_${_CPACK_ADDCOMP_UNAME}
"DISPLAY_NAME;DESCRIPTION;GROUP;DEPENDS;INSTALL_TYPES;ARCHIVE_FILE"
"HIDDEN;REQUIRED;DISABLED;DOWNLOADED"
${ARGN}
)
- if (CPACK_COMPONENT_${CPACK_ADDCOMP_UNAME}_DOWNLOADED)
- set(CPACK_ADDCOMP_STR "\n# Configuration for downloaded component \"${compname}\"\n")
+ if (CPACK_COMPONENT_${_CPACK_ADDCOMP_UNAME}_DOWNLOADED)
+ set(_CPACK_ADDCOMP_STR "\n# Configuration for downloaded component \"${compname}\"\n")
else ()
- set(CPACK_ADDCOMP_STR "\n# Configuration for component \"${compname}\"\n")
+ set(_CPACK_ADDCOMP_STR "\n# Configuration for component \"${compname}\"\n")
endif ()
if(NOT CPACK_MONOLITHIC_INSTALL)
@@ -371,51 +394,51 @@ macro(cpack_add_component compname)
# take care of any components that have been added after the CPack
# moduled was included.
if(NOT CPACK_COMPONENTS_ALL_SET_BY_USER)
- get_cmake_property(CPACK_ADDCOMP_COMPONENTS COMPONENTS)
- set(CPACK_ADDCOMP_STR "${CPACK_ADDCOMP_STR}\nSET(CPACK_COMPONENTS_ALL")
- foreach(COMP ${CPACK_ADDCOMP_COMPONENTS})
- set(CPACK_ADDCOMP_STR "${CPACK_ADDCOMP_STR} ${COMP}")
+ get_cmake_property(_CPACK_ADDCOMP_COMPONENTS COMPONENTS)
+ set(_CPACK_ADDCOMP_STR "${_CPACK_ADDCOMP_STR}\nSET(CPACK_COMPONENTS_ALL")
+ foreach(COMP ${_CPACK_ADDCOMP_COMPONENTS})
+ set(_CPACK_ADDCOMP_STR "${_CPACK_ADDCOMP_STR} ${COMP}")
endforeach()
- set(CPACK_ADDCOMP_STR "${CPACK_ADDCOMP_STR})\n")
+ set(_CPACK_ADDCOMP_STR "${_CPACK_ADDCOMP_STR})\n")
endif()
endif()
cpack_append_string_variable_set_command(
- CPACK_COMPONENT_${CPACK_ADDCOMP_UNAME}_DISPLAY_NAME
- CPACK_ADDCOMP_STR)
+ CPACK_COMPONENT_${_CPACK_ADDCOMP_UNAME}_DISPLAY_NAME
+ _CPACK_ADDCOMP_STR)
cpack_append_string_variable_set_command(
- CPACK_COMPONENT_${CPACK_ADDCOMP_UNAME}_DESCRIPTION
- CPACK_ADDCOMP_STR)
+ CPACK_COMPONENT_${_CPACK_ADDCOMP_UNAME}_DESCRIPTION
+ _CPACK_ADDCOMP_STR)
cpack_append_variable_set_command(
- CPACK_COMPONENT_${CPACK_ADDCOMP_UNAME}_GROUP
- CPACK_ADDCOMP_STR)
+ CPACK_COMPONENT_${_CPACK_ADDCOMP_UNAME}_GROUP
+ _CPACK_ADDCOMP_STR)
cpack_append_variable_set_command(
- CPACK_COMPONENT_${CPACK_ADDCOMP_UNAME}_DEPENDS
- CPACK_ADDCOMP_STR)
+ CPACK_COMPONENT_${_CPACK_ADDCOMP_UNAME}_DEPENDS
+ _CPACK_ADDCOMP_STR)
cpack_append_variable_set_command(
- CPACK_COMPONENT_${CPACK_ADDCOMP_UNAME}_INSTALL_TYPES
- CPACK_ADDCOMP_STR)
+ CPACK_COMPONENT_${_CPACK_ADDCOMP_UNAME}_INSTALL_TYPES
+ _CPACK_ADDCOMP_STR)
cpack_append_string_variable_set_command(
- CPACK_COMPONENT_${CPACK_ADDCOMP_UNAME}_ARCHIVE_FILE
- CPACK_ADDCOMP_STR)
+ CPACK_COMPONENT_${_CPACK_ADDCOMP_UNAME}_ARCHIVE_FILE
+ _CPACK_ADDCOMP_STR)
cpack_append_option_set_command(
- CPACK_COMPONENT_${CPACK_ADDCOMP_UNAME}_HIDDEN
- CPACK_ADDCOMP_STR)
+ CPACK_COMPONENT_${_CPACK_ADDCOMP_UNAME}_HIDDEN
+ _CPACK_ADDCOMP_STR)
cpack_append_option_set_command(
- CPACK_COMPONENT_${CPACK_ADDCOMP_UNAME}_REQUIRED
- CPACK_ADDCOMP_STR)
+ CPACK_COMPONENT_${_CPACK_ADDCOMP_UNAME}_REQUIRED
+ _CPACK_ADDCOMP_STR)
cpack_append_option_set_command(
- CPACK_COMPONENT_${CPACK_ADDCOMP_UNAME}_DISABLED
- CPACK_ADDCOMP_STR)
+ CPACK_COMPONENT_${_CPACK_ADDCOMP_UNAME}_DISABLED
+ _CPACK_ADDCOMP_STR)
cpack_append_option_set_command(
- CPACK_COMPONENT_${CPACK_ADDCOMP_UNAME}_DOWNLOADED
- CPACK_ADDCOMP_STR)
+ CPACK_COMPONENT_${_CPACK_ADDCOMP_UNAME}_DOWNLOADED
+ _CPACK_ADDCOMP_STR)
# Backward compatibility issue.
# Write to config iff the macros is used after CPack.cmake has been
# included, other it's not necessary because the variables
# will be encoded by cpack_encode_variables.
if(CPack_CMake_INCLUDED)
- file(APPEND "${CPACK_OUTPUT_CONFIG_FILE}" "${CPACK_ADDCOMP_STR}")
+ file(APPEND "${CPACK_OUTPUT_CONFIG_FILE}" "${_CPACK_ADDCOMP_STR}")
endif()
endmacro()
@@ -423,7 +446,7 @@ endmacro()
macro(cpack_add_component_group grpname)
string(TOUPPER ${grpname} CPACK_ADDGRP_UNAME)
cpack_parse_arguments(CPACK_COMPONENT_GROUP_${CPACK_ADDGRP_UNAME}
- "DISPLAY_NAME;DESCRIPTION"
+ "DISPLAY_NAME;DESCRIPTION;PARENT_GROUP"
"EXPANDED;BOLD_TITLE"
${ARGN}
)
diff --git a/Modules/CPackCygwin.cmake b/Modules/CPackCygwin.cmake
index 7ed7f67..abfc1f6 100644
--- a/Modules/CPackCygwin.cmake
+++ b/Modules/CPackCygwin.cmake
@@ -1,23 +1,27 @@
-##section Variables specific to CPack Cygwin generator
-##end
-##module
-# - Cygwin CPack generator (Cygwin).
-# The following variable is specific to installers build on
-# and/or for Cygwin:
-##end
-#
-##variable
-# CPACK_CYGWIN_PATCH_NUMBER - The Cygwin patch number.
-# FIXME: This documentation is incomplete.
-##end
-##variable
-# CPACK_CYGWIN_PATCH_FILE - The Cygwin patch file.
-# FIXME: This documentation is incomplete.
-##end
-##variable
-# CPACK_CYGWIN_BUILD_SCRIPT - The Cygwin build script.
-# FIXME: This documentation is incomplete.
-##end
+#.rst:
+# CPackCygwin
+# -----------
+#
+# Cygwin CPack generator (Cygwin).
+#
+# Variables specific to CPack Cygwin generator
+# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+#
+# The
+# following variable is specific to installers build on and/or for
+# Cygwin:
+#
+# .. variable:: CPACK_CYGWIN_PATCH_NUMBER
+#
+# The Cygwin patch number. FIXME: This documentation is incomplete.
+#
+# .. variable:: CPACK_CYGWIN_PATCH_FILE
+#
+# The Cygwin patch file. FIXME: This documentation is incomplete.
+#
+# .. variable:: CPACK_CYGWIN_BUILD_SCRIPT
+#
+# The Cygwin build script. FIXME: This documentation is incomplete.
#=============================================================================
# Copyright 2006-2012 Kitware, Inc.
diff --git a/Modules/CPackDMG.cmake b/Modules/CPackDMG.cmake
index e866bab..b7a6ba5 100644
--- a/Modules/CPackDMG.cmake
+++ b/Modules/CPackDMG.cmake
@@ -1,60 +1,59 @@
-##section Variables specific to CPack DragNDrop generator
-##end
-##module
-# - DragNDrop CPack generator (Mac OS X).
-# The following variables are specific to the DragNDrop installers
-# built on Mac OS X:
-##end
-#
-##variable
-# CPACK_DMG_VOLUME_NAME - The volume name of the generated disk
-# image. Defaults to CPACK_PACKAGE_FILE_NAME.
-##end
-#
-##variable
-# CPACK_DMG_FORMAT - The disk image format. Common values are UDRO
-# (UDIF read-only), UDZO (UDIF zlib-compressed) or UDBZ (UDIF
-# bzip2-compressed). Refer to hdiutil(1) for more information on
-# other available formats.
-##end
-#
-##variable
-# CPACK_DMG_DS_STORE - Path to a custom DS_Store file. This .DS_Store
-# file e.g. can be used to specify the Finder window
-# position/geometry and layout (such as hidden toolbars, placement of the
-# icons etc.). This file has to be generated by the Finder (either manually or
-# through OSA-script) using a normal folder from which the .DS_Store
-# file can then be extracted.
-##end
-#
-##variable
-# CPACK_DMG_BACKGROUND_IMAGE - Path to a background image file. This
-# file will be used as the background for the Finder Window when the disk
-# image is opened. By default no background image is set. The background
-# image is applied after applying the custom .DS_Store file.
-##end
-#
-##variable
-# CPACK_COMMAND_HDIUTIL - Path to the hdiutil(1) command used to
-# operate on disk image files on Mac OS X. This variable can be used
-# to override the automatically detected command (or specify its
-# location if the auto-detection fails to find it.)
-##end
-#
-##variable
-# CPACK_COMMAND_SETFILE - Path to the SetFile(1) command used to set
-# extended attributes on files and directories on Mac OS X. This
-# variable can be used to override the automatically detected
-# command (or specify its location if the auto-detection fails to
-# find it.)
-##end
-#
-##variable
-# CPACK_COMMAND_REZ - Path to the Rez(1) command used to compile
-# resources on Mac OS X. This variable can be used to override the
+#.rst:
+# CPackDMG
+# --------
+#
+# DragNDrop CPack generator (Mac OS X).
+#
+# Variables specific to CPack DragNDrop generator
+# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+#
+# The following variables are specific to the DragNDrop installers built
+# on Mac OS X:
+#
+# .. variable:: CPACK_DMG_VOLUME_NAME
+#
+# The volume name of the generated disk image. Defaults to
+# CPACK_PACKAGE_FILE_NAME.
+#
+# .. variable:: CPACK_DMG_FORMAT
+#
+# The disk image format. Common values are UDRO (UDIF read-only), UDZO (UDIF
+# zlib-compressed) or UDBZ (UDIF bzip2-compressed). Refer to hdiutil(1) for
+# more information on other available formats.
+#
+# .. variable:: CPACK_DMG_DS_STORE
+#
+# Path to a custom DS_Store file. This .DS_Store file e.g. can be used to
+# specify the Finder window position/geometry and layout (such as hidden
+# toolbars, placement of the icons etc.). This file has to be generated by
+# the Finder (either manually or through OSA-script) using a normal folder
+# from which the .DS_Store file can then be extracted.
+#
+# .. variable:: CPACK_DMG_BACKGROUND_IMAGE
+#
+# Path to a background image file. This file will be used as the background
+# for the Finder Window when the disk image is opened. By default no
+# background image is set. The background image is applied after applying the
+# custom .DS_Store file.
+#
+# .. variable:: CPACK_COMMAND_HDIUTIL
+#
+# Path to the hdiutil(1) command used to operate on disk image files on Mac
+# OS X. This variable can be used to override the automatically detected
+# command (or specify its location if the auto-detection fails to find it.)
+#
+# .. variable:: CPACK_COMMAND_SETFILE
+#
+# Path to the SetFile(1) command used to set extended attributes on files and
+# directories on Mac OS X. This variable can be used to override the
# automatically detected command (or specify its location if the
# auto-detection fails to find it.)
-##end
+#
+# .. variable:: CPACK_COMMAND_REZ
+#
+# Path to the Rez(1) command used to compile resources on Mac OS X. This
+# variable can be used to override the automatically detected command (or
+# specify its location if the auto-detection fails to find it.)
#=============================================================================
# Copyright 2006-2012 Kitware, Inc.
diff --git a/Modules/CPackDeb.cmake b/Modules/CPackDeb.cmake
index 75ff3be..c79ef06 100644
--- a/Modules/CPackDeb.cmake
+++ b/Modules/CPackDeb.cmake
@@ -1,169 +1,194 @@
-##section Variables specific to CPack Debian (DEB) generator
-##end
-##module
-# - The builtin (binary) CPack Deb generator (Unix only)
+#.rst:
+# CPackDeb
+# --------
+#
+# The builtin (binary) CPack Deb generator (Unix only)
+#
+# Variables specific to CPack Debian (DEB) generator
+# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+#
# CPackDeb may be used to create Deb package using CPack.
# CPackDeb is a CPack generator thus it uses the CPACK_XXX variables
# used by CPack : http://www.cmake.org/Wiki/CMake:CPackConfiguration.
-# CPackDeb generator should work on any linux host but it will
-# produce better deb package when Debian specific tools 'dpkg-xxx'
-# are usable on the build system.
-#
-# CPackDeb has specific features which are controlled by
-# the specifics CPACK_DEBIAN_XXX variables.You'll find a detailed usage on
-# the wiki:
-# http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#DEB_.28UNIX_only.29
+# CPackDeb generator should work on any linux host but it will produce
+# better deb package when Debian specific tools 'dpkg-xxx' are usable on
+# the build system.
+#
+# CPackDeb has specific features which are controlled by the specifics
+# CPACK_DEBIAN_XXX variables.You'll find a detailed usage on the wiki:
+# http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#DEB_.28UNIX_only.29
+#
# However as a handy reminder here comes the list of specific variables:
-##end
-#
-##variable
-# CPACK_DEBIAN_PACKAGE_NAME
-# Mandatory : YES
-# Default : CPACK_PACKAGE_NAME (lower case)
-# The debian package summary
-##end
-##variable
-# CPACK_DEBIAN_PACKAGE_VERSION
-# Mandatory : YES
-# Default : CPACK_PACKAGE_VERSION
-# The debian package version
-##end
-##variable
-# CPACK_DEBIAN_PACKAGE_ARCHITECTURE
-# Mandatory : YES
-# Default : Output of dpkg --print-architecture (or i386 if dpkg is not found)
-# The debian package architecture
-##end
-##variable
-# CPACK_DEBIAN_PACKAGE_DEPENDS
-# Mandatory : NO
-# Default : -
-# May be used to set deb dependencies.
-##end
-##variable
-# CPACK_DEBIAN_PACKAGE_MAINTAINER
-# Mandatory : YES
-# Default : CPACK_PACKAGE_CONTACT
-# The debian package maintainer
-##end
-##variable
-# CPACK_DEBIAN_PACKAGE_DESCRIPTION
-# Mandatory : YES
-# Default : CPACK_PACKAGE_DESCRIPTION_SUMMARY
-# The debian package description
-##end
-##variable
-# CPACK_DEBIAN_PACKAGE_SECTION
-# Mandatory : YES
-# Default : 'devel'
-# The debian package section
-##end
-##variable
-# CPACK_DEBIAN_PACKAGE_PRIORITY
-# Mandatory : YES
-# Default : 'optional'
-# The debian package priority
-##end
-##variable
-# CPACK_DEBIAN_PACKAGE_HOMEPAGE
-# Mandatory : NO
-# Default : -
-# The URL of the web site for this package, preferably (when applicable) the
-# site from which the original source can be obtained and any additional
-# upstream documentation or information may be found.
-# The content of this field is a simple URL without any surrounding
-# characters such as <>.
-##end
-##variable
-# CPACK_DEBIAN_PACKAGE_SHLIBDEPS
-# Mandatory : NO
-# Default : OFF
-# May be set to ON in order to use dpkg-shlibdeps to generate
-# better package dependency list.
-# You may need set CMAKE_INSTALL_RPATH toi appropriate value
-# if you use this feature, because if you don't dpkg-shlibdeps
-# may fail to find your own shared libs.
-# See http://www.cmake.org/Wiki/CMake_RPATH_handling.
-##end
-##variable
-# CPACK_DEBIAN_PACKAGE_DEBUG
-# Mandatory : NO
-# Default : -
-# May be set when invoking cpack in order to trace debug information
-# during CPackDeb run.
-##end
-##variable
-# CPACK_DEBIAN_PACKAGE_PREDEPENDS
-# Mandatory : NO
-# Default : -
-# see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
-# This field is like Depends, except that it also forces dpkg to complete installation of
-# the packages named before even starting the installation of the package which declares
-# the pre-dependency.
-##end
-##variable
-# CPACK_DEBIAN_PACKAGE_ENHANCES
-# Mandatory : NO
-# Default : -
-# see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
-# This field is similar to Suggests but works in the opposite direction.
-# It is used to declare that a package can enhance the functionality of another package.
-##end
-##variable
-# CPACK_DEBIAN_PACKAGE_BREAKS
-# Mandatory : NO
-# Default : -
-# see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
-# When one binary package declares that it breaks another, dpkg will refuse to allow the
-# package which declares Breaks be installed unless the broken package is deconfigured first,
-# and it will refuse to allow the broken package to be reconfigured.
-##end
-##variable
-# CPACK_DEBIAN_PACKAGE_CONFLICTS
-# Mandatory : NO
-# Default : -
-# see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
-# When one binary package declares a conflict with another using a Conflicts field,
-# dpkg will refuse to allow them to be installed on the system at the same time.
-##end
-##variable
-# CPACK_DEBIAN_PACKAGE_PROVIDES
-# Mandatory : NO
-# Default : -
-# see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
-# A virtual package is one which appears in the Provides control field of another package.
-##end
-##variable
-# CPACK_DEBIAN_PACKAGE_REPLACES
-# Mandatory : NO
-# Default : -
-# see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
-# Packages can declare in their control file that they should overwrite
-# files in certain other packages, or completely replace other packages.
-##end
-##variable
-# CPACK_DEBIAN_PACKAGE_RECOMMENDS
-# Mandatory : NO
-# Default : -
-# see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
-# Allows packages to declare a strong, but not absolute, dependency on other packages.
-##end
-##variable
-# CPACK_DEBIAN_PACKAGE_SUGGESTS
-# Mandatory : NO
-# Default : -
-# see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
-# Allows packages to declare a suggested package install grouping.
-##end
-##variable
-# CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA
-# Mandatory : NO
-# Default : -
-# This variable allow advanced user to add custom script to the control.tar.gz
-# Typical usage is for conffiles, postinst, postrm, prerm.
-# Usage: set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA
-# "${CMAKE_CURRENT_SOURCE_DIR/prerm;${CMAKE_CURRENT_SOURCE_DIR}/postrm")
-##end
+#
+# .. variable:: CPACK_DEBIAN_PACKAGE_NAME
+#
+# * Mandatory : YES
+# * Default : CPACK_PACKAGE_NAME (lower case)
+#
+# The debian package summary
+#
+# .. variable:: CPACK_DEBIAN_PACKAGE_VERSION
+#
+# * Mandatory : YES
+# * Default : CPACK_PACKAGE_VERSION
+#
+# The debian package version
+#
+# .. variable:: CPACK_DEBIAN_PACKAGE_ARCHITECTURE
+#
+# * Mandatory : YES
+# * Default : Output of dpkg --print-architecture (or i386 if dpkg is not found)
+#
+# The debian package architecture
+#
+# .. variable:: CPACK_DEBIAN_PACKAGE_DEPENDS
+#
+# * Mandatory : NO
+# * Default : -
+#
+# May be used to set deb dependencies.
+#
+# .. variable:: CPACK_DEBIAN_PACKAGE_MAINTAINER
+#
+# * Mandatory : YES
+# * Default : CPACK_PACKAGE_CONTACT
+#
+# The debian package maintainer
+#
+# .. variable:: CPACK_DEBIAN_PACKAGE_DESCRIPTION
+#
+# * Mandatory : YES
+# * Default : CPACK_PACKAGE_DESCRIPTION_SUMMARY
+#
+# The debian package description
+#
+# .. variable:: CPACK_DEBIAN_PACKAGE_SECTION
+#
+# * Mandatory : YES
+# * Default : 'devel'
+#
+# The debian package section
+#
+# .. variable:: CPACK_DEBIAN_PACKAGE_PRIORITY
+#
+# * Mandatory : YES
+# * Default : 'optional'
+#
+# The debian package priority
+#
+# .. variable:: CPACK_DEBIAN_PACKAGE_HOMEPAGE
+#
+# * Mandatory : NO
+# * Default : -
+#
+# The URL of the web site for this package, preferably (when applicable) the
+# site from which the original source can be obtained and any additional
+# upstream documentation or information may be found.
+# The content of this field is a simple URL without any surrounding
+# characters such as <>.
+#
+# .. variable:: CPACK_DEBIAN_PACKAGE_SHLIBDEPS
+#
+# * Mandatory : NO
+# * Default : OFF
+#
+# May be set to ON in order to use dpkg-shlibdeps to generate
+# better package dependency list.
+# You may need set CMAKE_INSTALL_RPATH toi appropriate value
+# if you use this feature, because if you don't dpkg-shlibdeps
+# may fail to find your own shared libs.
+# See http://www.cmake.org/Wiki/CMake_RPATH_handling.
+#
+# .. variable:: CPACK_DEBIAN_PACKAGE_DEBUG
+#
+# * Mandatory : NO
+# * Default : -
+#
+# May be set when invoking cpack in order to trace debug information
+# during CPackDeb run.
+#
+# .. variable:: CPACK_DEBIAN_PACKAGE_PREDEPENDS
+#
+# * Mandatory : NO
+# * Default : -
+#
+# see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
+# This field is like Depends, except that it also forces dpkg to complete installation of
+# the packages named before even starting the installation of the package which declares
+# the pre-dependency.
+#
+# .. variable:: CPACK_DEBIAN_PACKAGE_ENHANCES
+#
+# * Mandatory : NO
+# * Default : -
+#
+# see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
+# This field is similar to Suggests but works in the opposite direction.
+# It is used to declare that a package can enhance the functionality of another package.
+#
+# .. variable:: CPACK_DEBIAN_PACKAGE_BREAKS
+#
+# * Mandatory : NO
+# * Default : -
+#
+# see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
+# When one binary package declares that it breaks another, dpkg will refuse to allow the
+# package which declares Breaks be installed unless the broken package is deconfigured first,
+# and it will refuse to allow the broken package to be reconfigured.
+#
+# .. variable:: CPACK_DEBIAN_PACKAGE_CONFLICTS
+#
+# * Mandatory : NO
+# * Default : -
+#
+# see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
+# When one binary package declares a conflict with another using a Conflicts field,
+# dpkg will refuse to allow them to be installed on the system at the same time.
+#
+# .. variable:: CPACK_DEBIAN_PACKAGE_PROVIDES
+#
+# * Mandatory : NO
+# * Default : -
+#
+# see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
+# A virtual package is one which appears in the Provides control field of another package.
+#
+# .. variable:: CPACK_DEBIAN_PACKAGE_REPLACES
+#
+# * Mandatory : NO
+# * Default : -
+#
+# see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
+# Packages can declare in their control file that they should overwrite
+# files in certain other packages, or completely replace other packages.
+#
+# .. variable:: CPACK_DEBIAN_PACKAGE_RECOMMENDS
+#
+# * Mandatory : NO
+# * Default : -
+#
+# see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
+# Allows packages to declare a strong, but not absolute, dependency on other packages.
+#
+# .. variable:: CPACK_DEBIAN_PACKAGE_SUGGESTS
+#
+# * Mandatory : NO
+# * Default : -
+#
+# see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps
+# Allows packages to declare a suggested package install grouping.
+#
+# .. variable:: CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA
+#
+# * Mandatory : NO
+# * Default : -
+#
+# This variable allow advanced user to add custom script to the
+# control.tar.gz Typical usage is for conffiles, postinst, postrm, prerm.
+# Usage::
+#
+# set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA
+# "${CMAKE_CURRENT_SOURCE_DIR/prerm;${CMAKE_CURRENT_SOURCE_DIR}/postrm")
#=============================================================================
diff --git a/Modules/CPackNSIS.cmake b/Modules/CPackNSIS.cmake
index d140053..9d23ec0 100644
--- a/Modules/CPackNSIS.cmake
+++ b/Modules/CPackNSIS.cmake
@@ -1,134 +1,122 @@
-##section Variables specific to CPack NSIS generator
-##end
-##module
-# - CPack NSIS generator specific options
+#.rst:
+# CPackNSIS
+# ---------
+#
+# CPack NSIS generator specific options
+#
+# Variables specific to CPack NSIS generator
+# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#
# The following variables are specific to the graphical installers built
# on Windows using the Nullsoft Installation System.
-##end
-#
-##variable
-# CPACK_NSIS_INSTALL_ROOT - The default installation directory presented
-# to the end user by the NSIS installer is under this root dir. The full
-# directory presented to the end user is:
-# ${CPACK_NSIS_INSTALL_ROOT}/${CPACK_PACKAGE_INSTALL_DIRECTORY}
-##end
-#
-##variable
-# CPACK_NSIS_MUI_ICON - An icon filename.
-# The name of a *.ico file used as the main icon for the generated
-# install program.
-##end
-#
-##variable
-# CPACK_NSIS_MUI_UNIICON - An icon filename.
-# The name of a *.ico file used as the main icon for the generated
-# uninstall program.
-##end
-#
-##variable
-# CPACK_NSIS_INSTALLER_MUI_ICON_CODE - undocumented.
-##end
-#
-##variable
-# CPACK_NSIS_EXTRA_PREINSTALL_COMMANDS - Extra NSIS commands that
-# will be added to the beginning of the install Section, before your
-# install tree is available on the target system.
-##end
-#
-##variable
-# CPACK_NSIS_EXTRA_INSTALL_COMMANDS - Extra NSIS commands that
-# will be added to the end of the install Section, after your
-# install tree is available on the target system.
-##end
-#
-##variable
-# CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS - Extra NSIS commands that will
-# be added to the uninstall Section, before your install tree is
-# removed from the target system.
-##end
-#
-##variable
-# CPACK_NSIS_COMPRESSOR - The arguments that will be passed to the
-# NSIS SetCompressor command.
-##end
-#
-##variable
-# CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL - Ask about uninstalling
-# previous versions first.
-# If this is set to "ON", then an installer will look for previous
-# installed versions and if one is found, ask the user whether to
-# uninstall it before proceeding with the install.
-##end
-#
-##variable
-# CPACK_NSIS_MODIFY_PATH - Modify PATH toggle.
-# If this is set to "ON", then an extra page
-# will appear in the installer that will allow the user to choose
-# whether the program directory should be added to the system PATH
-# variable.
-##end
-#
-##variable
-# CPACK_NSIS_DISPLAY_NAME - The display name string that appears in
-# the Windows Add/Remove Program control panel
-##end
-#
-##variable
-# CPACK_NSIS_PACKAGE_NAME - The title displayed at the top of the
-# installer.
-##end
-#
-##variable
-# CPACK_NSIS_INSTALLED_ICON_NAME - A path to the executable that
-# contains the installer icon.
-##end
-#
-##variable
-# CPACK_NSIS_HELP_LINK - URL to a web site providing assistance in
-# installing your application.
-##end
-#
-##variable
-# CPACK_NSIS_URL_INFO_ABOUT - URL to a web site providing more
-# information about your application.
-##end
-#
-##variable
-# CPACK_NSIS_CONTACT - Contact information for questions and comments
-# about the installation process.
-##end
-#
-##variable
-# CPACK_NSIS_CREATE_ICONS_EXTRA - Additional NSIS commands for
-# creating start menu shortcuts.
-##end
-#
-##variable
-# CPACK_NSIS_DELETE_ICONS_EXTRA -Additional NSIS commands to
-# uninstall start menu shortcuts.
-##end
-#
-##variable
-# CPACK_NSIS_EXECUTABLES_DIRECTORY - Creating NSIS start menu links
-# assumes that they are in 'bin' unless this variable is set.
-# For example, you would set this to 'exec' if your executables are
-# in an exec directory.
-##end
-#
-##variable
-# CPACK_NSIS_MUI_FINISHPAGE_RUN - Specify an executable to add an option
-# to run on the finish page of the NSIS installer.
-##end
-##variable
-# CPACK_NSIS_MENU_LINKS - Specify links in [application] menu.
-# This should contain a list of pair "link" "link name". The link
-# may be an URL or a path relative to installation prefix.
-# Like:
-# set(CPACK_NSIS_MENU_LINKS
-# "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake.html" "CMake Help"
-# "http://www.cmake.org" "CMake Web Site")
-##end
+#
+# .. variable:: CPACK_NSIS_INSTALL_ROOT
+#
+# The default installation directory presented to the end user by the NSIS
+# installer is under this root dir. The full directory presented to the end
+# user is: ${CPACK_NSIS_INSTALL_ROOT}/${CPACK_PACKAGE_INSTALL_DIRECTORY}
+#
+# .. variable:: CPACK_NSIS_MUI_ICON
+#
+# An icon filename. The name of a ``*.ico`` file used as the main icon for the
+# generated install program.
+#
+# .. variable:: CPACK_NSIS_MUI_UNIICON
+#
+# An icon filename. The name of a ``*.ico`` file used as the main icon for the
+# generated uninstall program.
+#
+# .. variable:: CPACK_NSIS_INSTALLER_MUI_ICON_CODE
+#
+# undocumented.
+#
+# .. variable:: CPACK_NSIS_EXTRA_PREINSTALL_COMMANDS
+#
+# Extra NSIS commands that will be added to the beginning of the install
+# Section, before your install tree is available on the target system.
+#
+# .. variable:: CPACK_NSIS_EXTRA_INSTALL_COMMANDS
+#
+# Extra NSIS commands that will be added to the end of the install Section,
+# after your install tree is available on the target system.
+#
+# .. variable:: CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS
+#
+# Extra NSIS commands that will be added to the uninstall Section, before
+# your install tree is removed from the target system.
+#
+# .. variable:: CPACK_NSIS_COMPRESSOR
+#
+# The arguments that will be passed to the NSIS SetCompressor command.
+#
+# .. variable:: CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL
+#
+# Ask about uninstalling previous versions first. If this is set to "ON",
+# then an installer will look for previous installed versions and if one is
+# found, ask the user whether to uninstall it before proceeding with the
+# install.
+#
+# .. variable:: CPACK_NSIS_MODIFY_PATH
+#
+# Modify PATH toggle. If this is set to "ON", then an extra page will appear
+# in the installer that will allow the user to choose whether the program
+# directory should be added to the system PATH variable.
+#
+# .. variable:: CPACK_NSIS_DISPLAY_NAME
+#
+# The display name string that appears in the Windows Add/Remove Program
+# control panel
+#
+# .. variable:: CPACK_NSIS_PACKAGE_NAME
+#
+# The title displayed at the top of the installer.
+#
+# .. variable:: CPACK_NSIS_INSTALLED_ICON_NAME
+#
+# A path to the executable that contains the installer icon.
+#
+# .. variable:: CPACK_NSIS_HELP_LINK
+#
+# URL to a web site providing assistance in installing your application.
+#
+# .. variable:: CPACK_NSIS_URL_INFO_ABOUT
+#
+# URL to a web site providing more information about your application.
+#
+# .. variable:: CPACK_NSIS_CONTACT
+#
+# Contact information for questions and comments about the installation
+# process.
+#
+# .. variable:: CPACK_NSIS_CREATE_ICONS_EXTRA
+#
+# Additional NSIS commands for creating start menu shortcuts.
+#
+# .. variable:: CPACK_NSIS_DELETE_ICONS_EXTRA
+#
+# Additional NSIS commands to uninstall start menu shortcuts.
+#
+# .. variable:: CPACK_NSIS_EXECUTABLES_DIRECTORY
+#
+# Creating NSIS start menu links assumes that they are in 'bin' unless this
+# variable is set. For example, you would set this to 'exec' if your
+# executables are in an exec directory.
+#
+# .. variable:: CPACK_NSIS_MUI_FINISHPAGE_RUN
+#
+# Specify an executable to add an option to run on the finish page of the
+# NSIS installer.
+#
+# .. variable:: CPACK_NSIS_MENU_LINKS
+#
+# Specify links in [application] menu. This should contain a list of pair
+# "link" "link name". The link may be an URL or a path relative to
+# installation prefix. Like::
+#
+# set(CPACK_NSIS_MENU_LINKS
+# "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake.html" "CMake Help"
+# "http://www.cmake.org" "CMake Web Site")
+#
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
diff --git a/Modules/CPackPackageMaker.cmake b/Modules/CPackPackageMaker.cmake
index 98ca9e2..4160425 100644
--- a/Modules/CPackPackageMaker.cmake
+++ b/Modules/CPackPackageMaker.cmake
@@ -1,25 +1,27 @@
-##section Variables specific to CPack PackageMaker generator
-##end
-##module
-# - PackageMaker CPack generator (Mac OS X).
-# The following variable is specific to installers built on Mac OS X
-# using PackageMaker:
-##end
+#.rst:
+# CPackPackageMaker
+# -----------------
#
-##variable
-# CPACK_OSX_PACKAGE_VERSION - The version of Mac OS X that the
-# resulting PackageMaker archive should be compatible with. Different
-# versions of Mac OS X support different
-# features. For example, CPack can only build component-based
-# installers for Mac OS X 10.4 or newer, and can only build
-# installers that download component son-the-fly for Mac OS X 10.5
-# or newer. If left blank, this value will be set to the minimum
-# version of Mac OS X that supports the requested features. Set this
-# variable to some value (e.g., 10.4) only if you want to guarantee
-# that your installer will work on that version of Mac OS X, and
-# don't mind missing extra features available in the installer
-# shipping with later versions of Mac OS X.
-##end
+# PackageMaker CPack generator (Mac OS X).
+#
+# Variables specific to CPack PackageMaker generator
+# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+#
+# The following variable is specific to installers built on Mac
+# OS X using PackageMaker:
+#
+# .. variable:: CPACK_OSX_PACKAGE_VERSION
+#
+# The version of Mac OS X that the resulting PackageMaker archive should be
+# compatible with. Different versions of Mac OS X support different
+# features. For example, CPack can only build component-based installers for
+# Mac OS X 10.4 or newer, and can only build installers that download
+# component son-the-fly for Mac OS X 10.5 or newer. If left blank, this value
+# will be set to the minimum version of Mac OS X that supports the requested
+# features. Set this variable to some value (e.g., 10.4) only if you want to
+# guarantee that your installer will work on that version of Mac OS X, and
+# don't mind missing extra features available in the installer shipping with
+# later versions of Mac OS X.
#=============================================================================
# Copyright 2006-2012 Kitware, Inc.
diff --git a/Modules/CPackRPM.cmake b/Modules/CPackRPM.cmake
index bf5b5bc..a13a46f 100644
--- a/Modules/CPackRPM.cmake
+++ b/Modules/CPackRPM.cmake
@@ -1,248 +1,331 @@
-##section Variables specific to CPack RPM generator
-##end
-##module
-# - The builtin (binary) CPack RPM generator (Unix only)
-# CPackRPM may be used to create RPM package using CPack.
-# CPackRPM is a CPack generator thus it uses the CPACK_XXX variables
-# used by CPack : http://www.cmake.org/Wiki/CMake:CPackConfiguration
-#
-# However CPackRPM has specific features which are controlled by
-# the specifics CPACK_RPM_XXX variables. CPackRPM is a component aware
+#.rst:
+# CPackRPM
+# --------
+#
+# The builtin (binary) CPack RPM generator (Unix only)
+#
+# Variables specific to CPack RPM generator
+# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+#
+# CPackRPM may be used to create RPM package using CPack. CPackRPM is a
+# CPack generator thus it uses the CPACK_XXX variables used by CPack :
+# http://www.cmake.org/Wiki/CMake:CPackConfiguration
+#
+# However CPackRPM has specific features which are controlled by the
+# specifics CPACK_RPM_XXX variables. CPackRPM is a component aware
# generator so when CPACK_RPM_COMPONENT_INSTALL is ON some more
-# CPACK_RPM_<ComponentName>_XXXX variables may be used in order
-# to have component specific values. Note however that <componentName>
-# refers to the **grouping name**. This may be either a component name
-# or a component GROUP name.
-# Usually those vars correspond to RPM spec file entities, one may find
-# information about spec files here http://www.rpm.org/wiki/Docs.
-# You'll find a detailed usage of CPackRPM on the wiki:
-# http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#RPM_.28Unix_Only.29
+# CPACK_RPM_<ComponentName>_XXXX variables may be used in order to have
+# component specific values. Note however that <componentName> refers
+# to the **grouping name**. This may be either a component name or a
+# component GROUP name. Usually those vars correspond to RPM spec file
+# entities, one may find information about spec files here
+# http://www.rpm.org/wiki/Docs. You'll find a detailed usage of
+# CPackRPM on the wiki:
+#
+# ::
+#
+# http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#RPM_.28Unix_Only.29
+#
# However as a handy reminder here comes the list of specific variables:
-##end
-#
-##variable
-# CPACK_RPM_PACKAGE_SUMMARY - The RPM package summary.
-# Mandatory : YES
-# Default : CPACK_PACKAGE_DESCRIPTION_SUMMARY
-##end
-##variable
-# CPACK_RPM_PACKAGE_NAME - The RPM package name.
-# Mandatory : YES
-# Default : CPACK_PACKAGE_NAME
-##end
-##variable
-# CPACK_RPM_PACKAGE_VERSION - The RPM package version.
-# Mandatory : YES
-# Default : CPACK_PACKAGE_VERSION
-##end
-##variable
-# CPACK_RPM_PACKAGE_ARCHITECTURE - The RPM package architecture.
-# Mandatory : NO
-# Default : -
-# This may be set to "noarch" if you
-# know you are building a noarch package.
-##end
-##variable
-# CPACK_RPM_PACKAGE_RELEASE - The RPM package release.
-# Mandatory : YES
-# Default : 1
-# This is the numbering of the RPM package
-# itself, i.e. the version of the packaging and not the version of the
-# content (see CPACK_RPM_PACKAGE_VERSION). One may change the default
-# value if the previous packaging was buggy and/or you want to put here
-# a fancy Linux distro specific numbering.
-##end
-##variable
-# CPACK_RPM_PACKAGE_LICENSE - The RPM package license policy.
-# Mandatory : YES
-# Default : "unknown"
-##end
-##variable
-# CPACK_RPM_PACKAGE_GROUP - The RPM package group.
-# Mandatory : YES
-# Default : "unknown"
-##end
-##variable
-# CPACK_RPM_PACKAGE_VENDOR - The RPM package vendor.
-# Mandatory : YES
-# Default : CPACK_PACKAGE_VENDOR if set or "unknown"
-##end
-##variable
-# CPACK_RPM_PACKAGE_URL - The projects URL.
-# Mandatory : NO
-# Default : -
-##end
-##variable
-# CPACK_RPM_PACKAGE_DESCRIPTION - RPM package description.
-# Mandatory : YES
-# Default : CPACK_PACKAGE_DESCRIPTION_FILE if set or "no package description available"
-##end
-##variable
-# CPACK_RPM_COMPRESSION_TYPE - RPM compression type.
-# Mandatory : NO
-# Default : -
-# May be used to override RPM compression type to be used
-# to build the RPM. For example some Linux distribution now default
-# to lzma or xz compression whereas older cannot use such RPM.
-# Using this one can enforce compression type to be used.
-# Possible value are: lzma, xz, bzip2 and gzip.
-##end
-##variable
-# CPACK_RPM_PACKAGE_REQUIRES - RPM spec requires field.
-# Mandatory : NO
-# Default : -
-# May be used to set RPM dependencies (requires).
-# Note that you must enclose the complete requires string between quotes,
-# for example:
-# set(CPACK_RPM_PACKAGE_REQUIRES "python >= 2.5.0, cmake >= 2.8")
-# The required package list of an RPM file could be printed with
-# rpm -qp --requires file.rpm
-##end
-##variable
-# CPACK_RPM_PACKAGE_SUGGESTS - RPM spec suggest field.
-# Mandatory : NO
-# Default : -
-# May be used to set weak RPM dependencies (suggests).
-# Note that you must enclose the complete requires string between quotes.
-##end
-##variable
-# CPACK_RPM_PACKAGE_PROVIDES - RPM spec provides field.
-# Mandatory : NO
-# Default : -
-# May be used to set RPM dependencies (provides).
-# The provided package list of an RPM file could be printed with
-# rpm -qp --provides file.rpm
-##end
-##variable
-# CPACK_RPM_PACKAGE_OBSOLETES - RPM spec obsoletes field.
-# Mandatory : NO
-# Default : -
-# May be used to set RPM packages that are obsoleted by this one.
-##end
-##variable
-# CPACK_RPM_PACKAGE_RELOCATABLE - build a relocatable RPM.
-# Mandatory : NO
-# Default : CPACK_PACKAGE_RELOCATABLE
-# If this variable is set to TRUE or ON CPackRPM will try
-# to build a relocatable RPM package. A relocatable RPM may
-# be installed using rpm --prefix or --relocate in order to
-# install it at an alternate place see rpm(8).
-# Note that currently this may fail if CPACK_SET_DESTDIR is set to ON.
-# If CPACK_SET_DESTDIR is set then you will get a warning message
-# but if there is file installed with absolute path you'll get
-# unexpected behavior.
-##end
-##variable
-# CPACK_RPM_SPEC_INSTALL_POST - [deprecated].
-# Mandatory : NO
-# Default : -
-# This way of specifying post-install script is deprecated use
-# CPACK_RPM_POST_INSTALL_SCRIPT_FILE
-# May be used to set an RPM post-install command inside the spec file.
-# For example setting it to "/bin/true" may be used to prevent
-# rpmbuild to strip binaries.
-##end
-##variable
-# CPACK_RPM_SPEC_MORE_DEFINE - RPM extended spec definitions lines.
-# Mandatory : NO
-# Default : -
-# May be used to add any %define lines to the generated spec file.
-##end
-##variable
-# CPACK_RPM_PACKAGE_DEBUG - Toggle CPackRPM debug output.
-# Mandatory : NO
-# Default : -
-# May be set when invoking cpack in order to trace debug information
-# during CPack RPM run. For example you may launch CPack like this
-# cpack -D CPACK_RPM_PACKAGE_DEBUG=1 -G RPM
-##end
-##variable
-# CPACK_RPM_USER_BINARY_SPECFILE - A user provided spec file.
-# Mandatory : NO
-# Default : -
-# May be set by the user in order to specify a USER binary spec file
-# to be used by CPackRPM instead of generating the file.
-# The specified file will be processed by configure_file( @ONLY).
-# One can provide a component specific file by setting
-# CPACK_RPM_<componentName>_USER_BINARY_SPECFILE.
-##end
-##variable
-# CPACK_RPM_GENERATE_USER_BINARY_SPECFILE_TEMPLATE - Spec file template.
-# Mandatory : NO
-# Default : -
-# If set CPack will generate a template for USER specified binary
-# spec file and stop with an error. For example launch CPack like this
-# cpack -D CPACK_RPM_GENERATE_USER_BINARY_SPECFILE_TEMPLATE=1 -G RPM
-# The user may then use this file in order to hand-craft is own
-# binary spec file which may be used with CPACK_RPM_USER_BINARY_SPECFILE.
-##end
-##variable
-# CPACK_RPM_PRE_INSTALL_SCRIPT_FILE
-# CPACK_RPM_PRE_UNINSTALL_SCRIPT_FILE
-# Mandatory : NO
-# Default : -
-# May be used to embed a pre (un)installation script in the spec file.
-# The refered script file(s) will be read and directly
-# put after the %pre or %preun section
-# If CPACK_RPM_COMPONENT_INSTALL is set to ON the (un)install script for
-# each component can be overridden with
-# CPACK_RPM_<COMPONENT>_PRE_INSTALL_SCRIPT_FILE and
-# CPACK_RPM_<COMPONENT>_PRE_UNINSTALL_SCRIPT_FILE
-# One may verify which scriptlet has been included with
-# rpm -qp --scripts package.rpm
-##end
-##variable
-# CPACK_RPM_POST_INSTALL_SCRIPT_FILE
-# CPACK_RPM_POST_UNINSTALL_SCRIPT_FILE
-# Mandatory : NO
-# Default : -
-# May be used to embed a post (un)installation script in the spec file.
-# The refered script file(s) will be read and directly
-# put after the %post or %postun section
-# If CPACK_RPM_COMPONENT_INSTALL is set to ON the (un)install script for
-# each component can be overridden with
-# CPACK_RPM_<COMPONENT>_POST_INSTALL_SCRIPT_FILE and
-# CPACK_RPM_<COMPONENT>_POST_UNINSTALL_SCRIPT_FILE
-# One may verify which scriptlet has been included with
-# rpm -qp --scripts package.rpm
-##end
-##variable
-# CPACK_RPM_USER_FILELIST
-# CPACK_RPM_<COMPONENT>_USER_FILELIST
-# Mandatory : NO
-# Default : -
-# May be used to explicitly specify %(<directive>) file line
-# in the spec file. Like %config(noreplace) or any other directive
-# that be found in the %files section. Since CPackRPM is generating
-# the list of files (and directories) the user specified files of
-# the CPACK_RPM_<COMPONENT>_USER_FILELIST list will be removed from the generated list.
-##end
-##variable
-# CPACK_RPM_CHANGELOG_FILE - RPM changelog file.
-# Mandatory : NO
-# Default : -
-# May be used to embed a changelog in the spec file.
-# The refered file will be read and directly put after the %changelog
-# section.
-##end
-##variable
-# CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST - list of path to be excluded.
-# Mandatory : NO
-# Default : /etc /etc/init.d /usr /usr/share /usr/share/doc /usr/bin /usr/lib /usr/lib64 /usr/include
-# May be used to exclude path (directories or files) from the auto-generated
-# list of paths discovered by CPack RPM. The defaut value contains a reasonable
-# set of values if the variable is not defined by the user. If the variable
-# is defined by the user then CPackRPM will NOT any of the default path.
-# If you want to add some path to the default list then you can use
-# CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION variable.
-##end
-##variable
-# CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION - additional list of path to be excluded.
-# Mandatory : NO
-# Default : -
-# May be used to add more exclude path (directories or files) from the initial
-# default list of excluded paths. See CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST.
-##end
+#
+# .. variable:: CPACK_RPM_PACKAGE_SUMMARY
+#
+# The RPM package summary.
+#
+# * Mandatory : YES
+# * Default : CPACK_PACKAGE_DESCRIPTION_SUMMARY
+#
+# .. variable:: CPACK_RPM_PACKAGE_NAME
+#
+# The RPM package name.
+#
+# * Mandatory : YES
+# * Default : CPACK_PACKAGE_NAME
+#
+# .. variable:: CPACK_RPM_PACKAGE_VERSION
+#
+# The RPM package version.
+#
+# * Mandatory : YES
+# * Default : CPACK_PACKAGE_VERSION
+#
+# .. variable:: CPACK_RPM_PACKAGE_ARCHITECTURE
+#
+# The RPM package architecture.
+#
+# * Mandatory : NO
+# * Default : -
+#
+# This may be set to "noarch" if you know you are building a noarch package.
+#
+# .. variable:: CPACK_RPM_PACKAGE_RELEASE
+#
+# The RPM package release.
+#
+# * Mandatory : YES
+# * Default : 1
+#
+# This is the numbering of the RPM package itself, i.e. the version of the
+# packaging and not the version of the content (see
+# CPACK_RPM_PACKAGE_VERSION). One may change the default value if the
+# previous packaging was buggy and/or you want to put here a fancy Linux
+# distro specific numbering.
+#
+# .. variable:: CPACK_RPM_PACKAGE_LICENSE
+#
+# The RPM package license policy.
+#
+# * Mandatory : YES
+# * Default : "unknown"
+#
+# .. variable:: CPACK_RPM_PACKAGE_GROUP
+#
+# The RPM package group.
+#
+# * Mandatory : YES
+# * Default : "unknown"
+#
+# .. variable:: CPACK_RPM_PACKAGE_VENDOR
+#
+# The RPM package vendor.
+#
+# * Mandatory : YES
+# * Default : CPACK_PACKAGE_VENDOR if set or "unknown"
+#
+# .. variable:: CPACK_RPM_PACKAGE_URL
+#
+# The projects URL.
+#
+# * Mandatory : NO
+# * Default : -
+#
+# .. variable:: CPACK_RPM_PACKAGE_DESCRIPTION
+#
+# RPM package description.
+#
+# * Mandatory : YES
+# * Default : CPACK_PACKAGE_DESCRIPTION_FILE if set or "no package
+# description available"
+#
+# .. variable:: CPACK_RPM_COMPRESSION_TYPE
+#
+# RPM compression type.
+#
+# * Mandatory : NO
+# * Default : -
+#
+# May be used to override RPM compression type to be used to build the
+# RPM. For example some Linux distribution now default to lzma or xz
+# compression whereas older cannot use such RPM. Using this one can enforce
+# compression type to be used. Possible value are: lzma, xz, bzip2 and gzip.
+#
+# .. variable:: CPACK_RPM_PACKAGE_REQUIRES
+#
+# RPM spec requires field.
+#
+# * Mandatory : NO
+# * Default : -
+#
+# May be used to set RPM dependencies (requires). Note that you must enclose
+# the complete requires string between quotes, for example::
+#
+# set(CPACK_RPM_PACKAGE_REQUIRES "python >= 2.5.0, cmake >= 2.8")
+#
+# The required package list of an RPM file could be printed with::
+#
+# rpm -qp --requires file.rpm
+#
+# .. variable:: CPACK_RPM_PACKAGE_SUGGESTS
+#
+# RPM spec suggest field.
+#
+# * Mandatory : NO
+# * Default : -
+#
+# May be used to set weak RPM dependencies (suggests). Note that you must
+# enclose the complete requires string between quotes.
+#
+# .. variable:: CPACK_RPM_PACKAGE_PROVIDES
+#
+# RPM spec provides field.
+#
+# * Mandatory : NO
+# * Default : -
+#
+# May be used to set RPM dependencies (provides). The provided package list
+# of an RPM file could be printed with::
+#
+# rpm -qp --provides file.rpm
+#
+# .. variable:: CPACK_RPM_PACKAGE_OBSOLETES
+#
+# RPM spec obsoletes field.
+#
+# * Mandatory : NO
+# * Default : -
+#
+# May be used to set RPM packages that are obsoleted by this one.
+#
+# .. variable:: CPACK_RPM_PACKAGE_RELOCATABLE
+#
+# build a relocatable RPM.
+#
+# * Mandatory : NO
+# * Default : CPACK_PACKAGE_RELOCATABLE
+#
+# If this variable is set to TRUE or ON CPackRPM will try
+# to build a relocatable RPM package. A relocatable RPM may
+# be installed using::
+#
+# rpm --prefix or --relocate
+#
+# in order to install it at an alternate place see rpm(8). Note that
+# currently this may fail if CPACK_SET_DESTDIR is set to ON. If
+# CPACK_SET_DESTDIR is set then you will get a warning message but if there
+# is file installed with absolute path you'll get unexpected behavior.
+#
+# .. variable:: CPACK_RPM_SPEC_INSTALL_POST
+#
+# * Mandatory : NO
+# * Default : -
+# * Deprecated: YES
+#
+# This way of specifying post-install script is deprecated, use
+# CPACK_RPM_POST_INSTALL_SCRIPT_FILE.
+# May be used to set an RPM post-install command inside the spec file.
+# For example setting it to "/bin/true" may be used to prevent
+# rpmbuild to strip binaries.
+#
+# .. variable:: CPACK_RPM_SPEC_MORE_DEFINE
+#
+# RPM extended spec definitions lines.
+#
+# * Mandatory : NO
+# * Default : -
+#
+# May be used to add any %define lines to the generated spec file.
+#
+# .. variable:: CPACK_RPM_PACKAGE_DEBUG
+#
+# Toggle CPackRPM debug output.
+#
+# * Mandatory : NO
+# * Default : -
+#
+# May be set when invoking cpack in order to trace debug information
+# during CPack RPM run. For example you may launch CPack like this::
+#
+# cpack -D CPACK_RPM_PACKAGE_DEBUG=1 -G RPM
+#
+# .. variable:: CPACK_RPM_USER_BINARY_SPECFILE
+#
+# A user provided spec file.
+#
+# * Mandatory : NO
+# * Default : -
+#
+# May be set by the user in order to specify a USER binary spec file
+# to be used by CPackRPM instead of generating the file.
+# The specified file will be processed by configure_file( @ONLY).
+# One can provide a component specific file by setting
+# CPACK_RPM_<componentName>_USER_BINARY_SPECFILE.
+#
+# .. variable:: CPACK_RPM_GENERATE_USER_BINARY_SPECFILE_TEMPLATE
+#
+# Spec file template.
+#
+# * Mandatory : NO
+# * Default : -
+#
+# If set CPack will generate a template for USER specified binary
+# spec file and stop with an error. For example launch CPack like this::
+#
+# cpack -D CPACK_RPM_GENERATE_USER_BINARY_SPECFILE_TEMPLATE=1 -G RPM
+#
+# The user may then use this file in order to hand-craft is own
+# binary spec file which may be used with CPACK_RPM_USER_BINARY_SPECFILE.
+#
+# .. variable:: CPACK_RPM_PRE_INSTALL_SCRIPT_FILE
+# CPACK_RPM_PRE_UNINSTALL_SCRIPT_FILE
+#
+# * Mandatory : NO
+# * Default : -
+#
+# May be used to embed a pre (un)installation script in the spec file.
+# The refered script file(s) will be read and directly
+# put after the %pre or %preun section
+# If CPACK_RPM_COMPONENT_INSTALL is set to ON the (un)install script for
+# each component can be overridden with
+# CPACK_RPM_<COMPONENT>_PRE_INSTALL_SCRIPT_FILE and
+# CPACK_RPM_<COMPONENT>_PRE_UNINSTALL_SCRIPT_FILE.
+# One may verify which scriptlet has been included with::
+#
+# rpm -qp --scripts package.rpm
+#
+# .. variable:: CPACK_RPM_POST_INSTALL_SCRIPT_FILE
+# CPACK_RPM_POST_UNINSTALL_SCRIPT_FILE
+#
+# * Mandatory : NO
+# * Default : -
+#
+# May be used to embed a post (un)installation script in the spec file.
+# The refered script file(s) will be read and directly
+# put after the %post or %postun section.
+# If CPACK_RPM_COMPONENT_INSTALL is set to ON the (un)install script for
+# each component can be overridden with
+# CPACK_RPM_<COMPONENT>_POST_INSTALL_SCRIPT_FILE and
+# CPACK_RPM_<COMPONENT>_POST_UNINSTALL_SCRIPT_FILE.
+# One may verify which scriptlet has been included with::
+#
+# rpm -qp --scripts package.rpm
+#
+# .. variable:: CPACK_RPM_USER_FILELIST
+# CPACK_RPM_<COMPONENT>_USER_FILELIST
+#
+# * Mandatory : NO
+# * Default : -
+#
+# May be used to explicitly specify %(<directive>) file line
+# in the spec file. Like %config(noreplace) or any other directive
+# that be found in the %files section. Since CPackRPM is generating
+# the list of files (and directories) the user specified files of
+# the CPACK_RPM_<COMPONENT>_USER_FILELIST list will be removed from
+# the generated list.
+#
+# .. variable:: CPACK_RPM_CHANGELOG_FILE
+#
+# RPM changelog file.
+#
+# * Mandatory : NO
+# * Default : -
+#
+# May be used to embed a changelog in the spec file.
+# The refered file will be read and directly put after the %changelog
+# section.
+#
+# .. variable:: CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST
+#
+# list of path to be excluded.
+#
+# * Mandatory : NO
+# * Default : /etc /etc/init.d /usr /usr/share /usr/share/doc /usr/bin /usr/lib /usr/lib64 /usr/include
+#
+# May be used to exclude path (directories or files) from the auto-generated
+# list of paths discovered by CPack RPM. The defaut value contains a
+# reasonable set of values if the variable is not defined by the user. If the
+# variable is defined by the user then CPackRPM will NOT any of the default
+# path. If you want to add some path to the default list then you can use
+# CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION variable.
+#
+# .. variable:: CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION
+#
+# additional list of path to be excluded.
+#
+# * Mandatory : NO
+# * Default : -
+#
+# May be used to add more exclude path (directories or files) from the initial
+# default list of excluded paths. See CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST.
#=============================================================================
# Copyright 2007-2009 Kitware, Inc.
diff --git a/Modules/CPackWIX.cmake b/Modules/CPackWIX.cmake
index fce25f0..39183c6 100644
--- a/Modules/CPackWIX.cmake
+++ b/Modules/CPackWIX.cmake
@@ -1,110 +1,224 @@
-##section Variables specific to CPack WiX generator
-##end
-##module
-# - CPack WiX generator specific options
-#
-# The following variables are specific to the installers built
-# on Windows using WiX.
-##end
-##variable
-# CPACK_WIX_UPGRADE_GUID - Upgrade GUID (Product/@UpgradeCode)
-#
-# Will be automatically generated unless explicitly provided.
-#
-# It should be explicitly set to a constant generated
-# gloabally unique identifier (GUID) to allow your installers
-# to replace existing installations that use the same GUID.
-#
-# You may for example explicitly set this variable in
-# your CMakeLists.txt to the value that has been generated per default.
-# You should not use GUIDs that you did not generate yourself or which may
-# belong to other projects.
-#
-# A GUID shall have the following fixed length syntax:
-# XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
+#.rst:
+# CPackWIX
+# --------
+#
+# CPack WiX generator specific options
+#
+# Variables specific to CPack WiX generator
+# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+#
+# The following variables are specific to the installers built on
+# Windows using WiX.
+#
+# .. variable:: CPACK_WIX_UPGRADE_GUID
+#
+# Upgrade GUID (``Product/@UpgradeCode``)
+#
+# Will be automatically generated unless explicitly provided.
+#
+# It should be explicitly set to a constant generated gloabally unique
+# identifier (GUID) to allow your installers to replace existing
+# installations that use the same GUID.
+#
+# You may for example explicitly set this variable in your
+# CMakeLists.txt to the value that has been generated per default. You
+# should not use GUIDs that you did not generate yourself or which may
+# belong to other projects.
+#
+# A GUID shall have the following fixed length syntax::
+#
+# XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
+#
# (each X represents an uppercase hexadecimal digit)
-##end
-##variable
-# CPACK_WIX_PRODUCT_GUID - Product GUID (Product/@Id)
#
-# Will be automatically generated unless explicitly provided.
+# .. variable:: CPACK_WIX_PRODUCT_GUID
+#
+# Product GUID (``Product/@Id``)
+#
+# Will be automatically generated unless explicitly provided.
+#
+# If explicitly provided this will set the Product Id of your installer.
+#
+# The installer will abort if it detects a pre-existing installation that
+# uses the same GUID.
+#
+# The GUID shall use the syntax described for CPACK_WIX_UPGRADE_GUID.
+#
+# .. variable:: CPACK_WIX_LICENSE_RTF
+#
+# RTF License File
+#
+# If CPACK_RESOURCE_FILE_LICENSE has an .rtf extension it is used as-is.
+#
+# If CPACK_RESOURCE_FILE_LICENSE has an .txt extension it is implicitly
+# converted to RTF by the WiX Generator.
+# The expected encoding of the .txt file is UTF-8.
+#
+# With CPACK_WIX_LICENSE_RTF you can override the license file used by the
+# WiX Generator in case CPACK_RESOURCE_FILE_LICENSE is in an unsupported
+# format or the .txt -> .rtf conversion does not work as expected.
+#
+# .. variable:: CPACK_WIX_PRODUCT_ICON
+#
+# The Icon shown next to the program name in Add/Remove programs.
+#
+# If set, this icon is used in place of the default icon.
+#
+# .. variable:: CPACK_WIX_UI_REF
+#
+# This variable allows you to override the Id of the ``<UIRef>`` element
+# in the WiX template.
+#
+# The default is ``WixUI_InstallDir`` in case no CPack components have
+# been defined and ``WixUI_FeatureTree`` otherwise.
+#
+# .. variable:: CPACK_WIX_UI_BANNER
+#
+# The bitmap will appear at the top of all installer pages other than the
+# welcome and completion dialogs.
+#
+# If set, this image will replace the default banner image.
+#
+# This image must be 493 by 58 pixels.
+#
+# .. variable:: CPACK_WIX_UI_DIALOG
+#
+# Background bitmap used on the welcome and completion dialogs.
+#
+# If this variable is set, the installer will replace the default dialog
+# image.
+#
+# This image must be 493 by 312 pixels.
+#
+# .. variable:: CPACK_WIX_PROGRAM_MENU_FOLDER
+#
+# Start menu folder name for launcher.
+#
+# If this variable is not set, it will be initialized with CPACK_PACKAGE_NAME
+#
+# .. variable:: CPACK_WIX_CULTURES
+#
+# Language(s) of the installer
+#
+# Languages are compiled into the WixUI extension library. To use them,
+# simply provide the name of the culture. If you specify more than one
+# culture identifier in a comma or semicolon delimited list, the first one
+# that is found will be used. You can find a list of supported languages at:
+# http://wix.sourceforge.net/manual-wix3/WixUI_localization.htm
+#
+# .. variable:: CPACK_WIX_TEMPLATE
+#
+# Template file for WiX generation
+#
+# If this variable is set, the specified template will be used to generate
+# the WiX wxs file. This should be used if further customization of the
+# output is required.
+#
+# If this variable is not set, the default MSI template included with CMake
+# will be used.
+#
+# .. variable:: CPACK_WIX_PATCH_FILE
+#
+# Optional XML file with fragments to be inserted into generated WiX sources
+#
+# This optional variable can be used to specify an XML file that the
+# WiX generator will use to inject fragments into its generated
+# source files.
+#
+# Patch files understood by the CPack WiX generator
+# roughly follow this RELAX NG compact schema:
+#
+# .. code-block:: none
+#
+# start = CPackWiXPatch
+#
+# CPackWiXPatch = element CPackWiXPatch { CPackWiXFragment* }
+#
+# CPackWiXFragment = element CPackWiXFragment
+# {
+# attribute Id { string },
+# fragmentContent*
+# }
+#
+# fragmentContent = element * - CPackWiXFragment
+# {
+# (attribute * { text } | text | fragmentContent)*
+# }
#
-# If explicitly provided this will set the Product Id of your installer.
+# Currently fragments can be injected into most
+# Component, File and Directory elements.
#
-# The installer will abort if it detects a pre-existing installation that uses
-# the same GUID.
+# The following example illustrates how this works.
#
-# The GUID shall use the syntax described for CPACK_WIX_UPGRADE_GUID.
-##end
-##variable
-# CPACK_WIX_LICENSE_RTF - RTF License File
+# Given that the WiX generator creates the following XML element:
#
-# If CPACK_RESOURCE_FILE_LICENSE has an .rtf extension
-# it is used as-is.
+# .. code-block:: xml
#
-# If CPACK_RESOURCE_FILE_LICENSE has an .txt extension
-# it is implicitly converted to RTF by the WiX Generator.
+# <Component Id="CM_CP_applications.bin.my_libapp.exe" Guid="*"/>
#
-# With CPACK_WIX_LICENSE_RTF you can override the license file used
-# by the WiX Generator in case CPACK_RESOURCE_FILE_LICENSE
-# is in an unsupported format or the .txt -> .rtf
-# conversion does not work as expected.
+# The following XML patch file may be used to inject an Environment element
+# into it:
#
-##end
+# .. code-block:: xml
#
-##variable
-# CPACK_WIX_PRODUCT_ICON - The Icon shown next to the program name in Add/Remove programs.
+# <CPackWiXPatch>
+# <CPackWiXFragment Id="CM_CP_applications.bin.my_libapp.exe">
+# <Environment Id="MyEnvironment" Action="set"
+# Name="MyVariableName" Value="MyVariableValue"/>
+# </CPackWiXFragment>
+# </CPackWiXPatch>
#
-# If set, this icon is used in place of the default icon.
+# .. variable:: CPACK_WIX_EXTRA_SOURCES
#
-##end
+# Extra WiX source files
#
-##variable
-# CPACK_WIX_UI_BANNER - The bitmap will appear at the top of all installer pages other than the welcome and completion dialogs.
+# This variable provides an optional list of extra WiX source files (.wxs)
+# that should be compiled and linked. The full path to source files is
+# required.
#
-# If set, this image will replace the default banner image.
+# .. variable:: CPACK_WIX_EXTRA_OBJECTS
#
-# This image must be 493 by 58 pixels.
+# Extra WiX object files or libraries
#
-##end
+# This variable provides an optional list of extra WiX object (.wixobj)
+# and/or WiX library (.wixlib) files. The full path to objects and libraries
+# is required.
#
-##variable
-# CPACK_WIX_UI_DIALOG - Background bitmap used on the welcome and completion dialogs.
+# .. variable:: CPACK_WIX_EXTENSIONS
#
-# If this variable is set, the installer will replace the default dialog image.
+# This variable provides a list of additional extensions for the WiX
+# tools light and candle.
#
-# This image must be 493 by 312 pixels.
+# .. variable:: CPACK_WIX_<TOOL>_EXTENSIONS
#
-##end
+# This is the tool specific version of CPACK_WIX_EXTENSIONS.
+# ``<TOOL>`` can be either LIGHT or CANDLE.
#
-##variable
-# CPACK_WIX_PROGRAM_MENU_FOLDER - Start menu folder name for launcher.
+# .. variable:: CPACK_WIX_<TOOL>_EXTRA_FLAGS
#
-# If this variable is not set, it will be initialized with CPACK_PACKAGE_NAME
+# This list variable allows you to pass additional
+# flags to the WiX tool ``<TOOL>``.
#
-##end
-##variable
-# CPACK_WIX_CULTURES - Language(s) of the installer
+# Use it at your own risk.
+# Future versions of CPack may generate flags which may be in conflict
+# with your own flags.
#
-# Languages are compiled into the WixUI extension library. To use them,
-# simply provide the name of the culture. If you specify more than one
-# culture identifier in a comma or semicolon delimited list, the first one
-# that is found will be used. You can find a list of supported languages at:
-# http://wix.sourceforge.net/manual-wix3/WixUI_localization.htm
+# ``<TOOL>`` can be either LIGHT or CANDLE.
#
-##end
-##variable
-# CPACK_WIX_TEMPLATE - Template file for WiX generation
+# .. variable:: CPACK_WIX_CMAKE_PACKAGE_REGISTRY
#
-# If this variable is set, the specified template will be used to generate the WiX wxs file.
-# This should be used if further customization of the output is required.
+# If this variable is set the generated installer will create
+# an entry in the windows registry key
+# ``HKEY_LOCAL_MACHINE\Software\Kitware\CMake\Packages\<package>``
+# The value for ``<package>`` is provided by this variable.
#
-# If this variable is not set, the default MSI template included with CMake will be used.
+# Assuming you also install a CMake configuration file this will
+# allow other CMake projects to find your package with
+# the :command:`find_package` command.
#
-##end
#=============================================================================
-# Copyright 2012 Kitware, Inc.
+# Copyright 2013 Kitware, Inc.
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
diff --git a/Modules/CTest.cmake b/Modules/CTest.cmake
index 5cd62f6..7759ead 100644
--- a/Modules/CTest.cmake
+++ b/Modules/CTest.cmake
@@ -1,49 +1,68 @@
-# - Configure a project for testing with CTest/CDash
+#.rst:
+# CTest
+# -----
+#
+# Configure a project for testing with CTest/CDash
+#
# Include this module in the top CMakeLists.txt file of a project to
# enable testing with CTest and dashboard submissions to CDash:
-# project(MyProject)
-# ...
-# include(CTest)
+#
+# ::
+#
+# project(MyProject)
+# ...
+# include(CTest)
+#
# The module automatically creates a BUILD_TESTING option that selects
# whether to enable testing support (ON by default). After including
# the module, use code like
-# if(BUILD_TESTING)
-# # ... CMake code to create tests ...
-# endif()
+#
+# ::
+#
+# if(BUILD_TESTING)
+# # ... CMake code to create tests ...
+# endif()
+#
# to creating tests when testing is enabled.
#
# To enable submissions to a CDash server, create a CTestConfig.cmake
# file at the top of the project with content such as
-# set(CTEST_PROJECT_NAME "MyProject")
-# set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC")
-# set(CTEST_DROP_METHOD "http")
-# set(CTEST_DROP_SITE "my.cdash.org")
-# set(CTEST_DROP_LOCATION "/submit.php?project=MyProject")
-# set(CTEST_DROP_SITE_CDASH TRUE)
-# (the CDash server can provide the file to a project administrator
-# who configures 'MyProject').
-# Settings in the config file are shared by both this CTest module and
-# the CTest command-line tool's dashboard script mode (ctest -S).
+#
+# ::
+#
+# set(CTEST_PROJECT_NAME "MyProject")
+# set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC")
+# set(CTEST_DROP_METHOD "http")
+# set(CTEST_DROP_SITE "my.cdash.org")
+# set(CTEST_DROP_LOCATION "/submit.php?project=MyProject")
+# set(CTEST_DROP_SITE_CDASH TRUE)
+#
+# (the CDash server can provide the file to a project administrator who
+# configures 'MyProject'). Settings in the config file are shared by
+# both this CTest module and the CTest command-line tool's dashboard
+# script mode (ctest -S).
#
# While building a project for submission to CDash, CTest scans the
-# build output for errors and warnings and reports them with
-# surrounding context from the build log. This generic approach works
-# for all build tools, but does not give details about the command
-# invocation that produced a given problem. One may get more detailed
-# reports by adding
-# set(CTEST_USE_LAUNCHERS 1)
-# to the CTestConfig.cmake file. When this option is enabled, the
-# CTest module tells CMake's Makefile generators to invoke every
-# command in the generated build system through a CTest launcher
-# program. (Currently the CTEST_USE_LAUNCHERS option is ignored on
-# non-Makefile generators.) During a manual build each launcher
-# transparently runs the command it wraps. During a CTest-driven
-# build for submission to CDash each launcher reports detailed
-# information when its command fails or warns.
-# (Setting CTEST_USE_LAUNCHERS in CTestConfig.cmake is convenient, but
-# also adds the launcher overhead even for manual builds. One may
-# instead set it in a CTest dashboard script and add it to the CMake
-# cache for the build tree.)
+# build output for errors and warnings and reports them with surrounding
+# context from the build log. This generic approach works for all build
+# tools, but does not give details about the command invocation that
+# produced a given problem. One may get more detailed reports by adding
+#
+# ::
+#
+# set(CTEST_USE_LAUNCHERS 1)
+#
+# to the CTestConfig.cmake file. When this option is enabled, the CTest
+# module tells CMake's Makefile generators to invoke every command in
+# the generated build system through a CTest launcher program.
+# (Currently the CTEST_USE_LAUNCHERS option is ignored on non-Makefile
+# generators.) During a manual build each launcher transparently runs
+# the command it wraps. During a CTest-driven build for submission to
+# CDash each launcher reports detailed information when its command
+# fails or warns. (Setting CTEST_USE_LAUNCHERS in CTestConfig.cmake is
+# convenient, but also adds the launcher overhead even for manual
+# builds. One may instead set it in a CTest dashboard script and add it
+# to the CMake cache for the build tree.)
#=============================================================================
# Copyright 2005-2009 Kitware, Inc.
@@ -130,6 +149,7 @@ if(BUILD_TESTING)
find_program(BZRCOMMAND bzr)
find_program(HGCOMMAND hg)
find_program(GITCOMMAND git)
+ find_program(P4COMMAND p4)
if(NOT UPDATE_TYPE)
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/CVS")
@@ -161,6 +181,9 @@ if(BUILD_TESTING)
elseif("${_update_type}" STREQUAL "git")
set(UPDATE_COMMAND "${GITCOMMAND}")
set(UPDATE_OPTIONS "${GIT_UPDATE_OPTIONS}")
+ elseif("${_update_type}" STREQUAL "p4")
+ set(UPDATE_COMMAND "${P4COMMAND}")
+ set(UPDATE_OPTIONS "${P4_UPDATE_OPTIONS}")
endif()
set(DART_TESTING_TIMEOUT 1500 CACHE STRING
@@ -221,7 +244,7 @@ if(BUILD_TESTING)
"${CMAKE_CXX_COMPILER}" ${DART_NAME_COMPONENT})
else()
get_filename_component(DART_CXX_NAME
- "${CMAKE_BUILD_TOOL}" ${DART_NAME_COMPONENT})
+ "${CMAKE_MAKE_PROGRAM}" ${DART_NAME_COMPONENT})
endif()
if(DART_CXX_NAME MATCHES "msdev")
set(DART_CXX_NAME "vs60")
@@ -256,6 +279,7 @@ if(BUILD_TESTING)
CVS_UPDATE_OPTIONS
DART_TESTING_TIMEOUT
GITCOMMAND
+ P4COMMAND
HGCOMMAND
MAKECOMMAND
MEMORYCHECK_COMMAND
diff --git a/Modules/CTestScriptMode.cmake b/Modules/CTestScriptMode.cmake
index 42d3764..b434724 100644
--- a/Modules/CTestScriptMode.cmake
+++ b/Modules/CTestScriptMode.cmake
@@ -1,3 +1,9 @@
+#.rst:
+# CTestScriptMode
+# ---------------
+#
+#
+#
# This file is read by ctest in script mode (-S)
#=============================================================================
diff --git a/Modules/CTestUseLaunchers.cmake b/Modules/CTestUseLaunchers.cmake
index 24f5f2e..c79119f 100644
--- a/Modules/CTestUseLaunchers.cmake
+++ b/Modules/CTestUseLaunchers.cmake
@@ -1,21 +1,27 @@
-# - Set the RULE_LAUNCH_* global properties when CTEST_USE_LAUNCHERS is on.
+#.rst:
+# CTestUseLaunchers
+# -----------------
+#
+# Set the RULE_LAUNCH_* global properties when CTEST_USE_LAUNCHERS is on.
+#
# CTestUseLaunchers is automatically included when you include(CTest).
-# However, it is split out into its own module file so projects
-# can use the CTEST_USE_LAUNCHERS functionality independently.
+# However, it is split out into its own module file so projects can use
+# the CTEST_USE_LAUNCHERS functionality independently.
#
# To use launchers, set CTEST_USE_LAUNCHERS to ON in a ctest -S
# dashboard script, and then also set it in the cache of the configured
-# project. Both cmake and ctest need to know the value of it for the launchers
-# to work properly. CMake needs to know in order to generate proper build
-# rules, and ctest, in order to produce the proper error and warning
-# analysis.
+# project. Both cmake and ctest need to know the value of it for the
+# launchers to work properly. CMake needs to know in order to generate
+# proper build rules, and ctest, in order to produce the proper error
+# and warning analysis.
#
-# For convenience, you may set the ENV variable CTEST_USE_LAUNCHERS_DEFAULT
-# in your ctest -S script, too. Then, as long as your CMakeLists uses
-# include(CTest) or include(CTestUseLaunchers), it will use the value of the
-# ENV variable to initialize a CTEST_USE_LAUNCHERS cache variable. This cache
-# variable initialization only occurs if CTEST_USE_LAUNCHERS is not already
-# defined.
+# For convenience, you may set the ENV variable
+# CTEST_USE_LAUNCHERS_DEFAULT in your ctest -S script, too. Then, as
+# long as your CMakeLists uses include(CTest) or
+# include(CTestUseLaunchers), it will use the value of the ENV variable
+# to initialize a CTEST_USE_LAUNCHERS cache variable. This cache
+# variable initialization only occurs if CTEST_USE_LAUNCHERS is not
+# already defined.
#=============================================================================
# Copyright 2008-2012 Kitware, Inc.
@@ -40,9 +46,31 @@ if(NOT "${CMAKE_GENERATOR}" MATCHES "Make|Ninja")
endif()
if(CTEST_USE_LAUNCHERS)
- set(CTEST_LAUNCH_COMPILE "\"${CMAKE_CTEST_COMMAND}\" --launch --target-name <TARGET_NAME> --build-dir <CMAKE_CURRENT_BINARY_DIR> --output <OBJECT> --source <SOURCE> --language <LANGUAGE> --")
- set(CTEST_LAUNCH_LINK "\"${CMAKE_CTEST_COMMAND}\" --launch --target-name <TARGET_NAME> --build-dir <CMAKE_CURRENT_BINARY_DIR> --output <TARGET> --target-type <TARGET_TYPE> --language <LANGUAGE> --")
- set(CTEST_LAUNCH_CUSTOM "\"${CMAKE_CTEST_COMMAND}\" --launch --target-name <TARGET_NAME> --build-dir <CMAKE_CURRENT_BINARY_DIR> --output <OUTPUT> --")
+ set(__launch_common_options
+ "--target-name <TARGET_NAME> --build-dir <CMAKE_CURRENT_BINARY_DIR>")
+
+ set(__launch_compile_options
+ "${__launch_common_options} --output <OBJECT> --source <SOURCE> --language <LANGUAGE>")
+
+ set(__launch_link_options
+ "${__launch_common_options} --output <TARGET> --target-type <TARGET_TYPE> --language <LANGUAGE>")
+
+ set(__launch_custom_options
+ "${__launch_common_options} --output <OUTPUT>")
+
+ if("${CMAKE_GENERATOR}" MATCHES "Ninja")
+ set(__launch_compile_options "${__launch_compile_options} --filter-prefix <CMAKE_CL_SHOWINCLUDES_PREFIX>")
+ endif()
+
+ set(CTEST_LAUNCH_COMPILE
+ "\"${CMAKE_CTEST_COMMAND}\" --launch ${__launch_compile_options} --")
+
+ set(CTEST_LAUNCH_LINK
+ "\"${CMAKE_CTEST_COMMAND}\" --launch ${__launch_link_options} --")
+
+ set(CTEST_LAUNCH_CUSTOM
+ "\"${CMAKE_CTEST_COMMAND}\" --launch ${__launch_custom_options} --")
+
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CTEST_LAUNCH_COMPILE}")
set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK "${CTEST_LAUNCH_LINK}")
set_property(GLOBAL PROPERTY RULE_LAUNCH_CUSTOM "${CTEST_LAUNCH_CUSTOM}")
diff --git a/Modules/CheckCCompilerFlag.cmake b/Modules/CheckCCompilerFlag.cmake
index bc15e9a..efdac20 100644
--- a/Modules/CheckCCompilerFlag.cmake
+++ b/Modules/CheckCCompilerFlag.cmake
@@ -1,14 +1,22 @@
-# - Check whether the C compiler supports a given flag.
+#.rst:
+# CheckCCompilerFlag
+# ------------------
+#
+# Check whether the C compiler supports a given flag.
+#
# CHECK_C_COMPILER_FLAG(<flag> <var>)
-# <flag> - the compiler flag
-# <var> - variable to store the result
-# This internally calls the check_c_source_compiles macro and
-# sets CMAKE_REQUIRED_DEFINITIONS to <flag>.
-# See help for CheckCSourceCompiles for a listing of variables
-# that can otherwise modify the build.
-# The result only tells that the compiler does not give an error message when
-# it encounters the flag. If the flag has any effect or even a specific one is
-# beyond the scope of this module.
+#
+# ::
+#
+# <flag> - the compiler flag
+# <var> - variable to store the result
+#
+# This internally calls the check_c_source_compiles macro and sets
+# CMAKE_REQUIRED_DEFINITIONS to <flag>. See help for
+# CheckCSourceCompiles for a listing of variables that can otherwise
+# modify the build. The result only tells that the compiler does not
+# give an error message when it encounters the flag. If the flag has
+# any effect or even a specific one is beyond the scope of this module.
#=============================================================================
# Copyright 2006-2011 Kitware, Inc.
@@ -26,36 +34,30 @@
# License text for the above reference.)
include(CheckCSourceCompiles)
+include(CMakeCheckCompilerFlagCommonPatterns)
macro (CHECK_C_COMPILER_FLAG _FLAG _RESULT)
set(SAFE_CMAKE_REQUIRED_DEFINITIONS "${CMAKE_REQUIRED_DEFINITIONS}")
set(CMAKE_REQUIRED_DEFINITIONS "${_FLAG}")
+
# Normalize locale during test compilation.
set(_CheckCCompilerFlag_LOCALE_VARS LC_ALL LC_MESSAGES LANG)
foreach(v ${_CheckCCompilerFlag_LOCALE_VARS})
set(_CheckCCompilerFlag_SAVED_${v} "$ENV{${v}}")
set(ENV{${v}} C)
endforeach()
+ CHECK_COMPILER_FLAG_COMMON_PATTERNS(_CheckCCompilerFlag_COMMON_PATTERNS)
CHECK_C_SOURCE_COMPILES("int main(void) { return 0; }" ${_RESULT}
# Some compilers do not fail with a bad flag
FAIL_REGEX "command line option .* is valid for .* but not for C" # GNU
- FAIL_REGEX "unrecognized .*option" # GNU
- FAIL_REGEX "unknown .*option" # Clang
- FAIL_REGEX "ignoring unknown option" # MSVC
- FAIL_REGEX "warning D9002" # MSVC, any lang
- FAIL_REGEX "option.*not supported" # Intel
- FAIL_REGEX "invalid argument .*option" # Intel
- FAIL_REGEX "ignoring option .*argument required" # Intel
- FAIL_REGEX "[Uu]nknown option" # HP
- FAIL_REGEX "[Ww]arning: [Oo]ption" # SunPro
- FAIL_REGEX "command option .* is not recognized" # XL
- FAIL_REGEX "WARNING: unknown flag:" # Open64
+ ${_CheckCCompilerFlag_COMMON_PATTERNS}
)
foreach(v ${_CheckCCompilerFlag_LOCALE_VARS})
set(ENV{${v}} ${_CheckCCompilerFlag_SAVED_${v}})
unset(_CheckCCompilerFlag_SAVED_${v})
endforeach()
unset(_CheckCCompilerFlag_LOCALE_VARS)
+ unset(_CheckCCompilerFlag_COMMON_PATTERNS)
set (CMAKE_REQUIRED_DEFINITIONS "${SAFE_CMAKE_REQUIRED_DEFINITIONS}")
endmacro ()
diff --git a/Modules/CheckCSourceCompiles.cmake b/Modules/CheckCSourceCompiles.cmake
index 86a4565..c2f6915 100644
--- a/Modules/CheckCSourceCompiles.cmake
+++ b/Modules/CheckCSourceCompiles.cmake
@@ -1,15 +1,26 @@
-# - Check if given C source compiles and links into an executable
+#.rst:
+# CheckCSourceCompiles
+# --------------------
+#
+# Check if given C source compiles and links into an executable
+#
# CHECK_C_SOURCE_COMPILES(<code> <var> [FAIL_REGEX <fail-regex>])
-# <code> - source code to try to compile, must define 'main'
-# <var> - variable to store whether the source code compiled
-# <fail-regex> - fail if test output matches this regex
-# The following variables may be set before calling this macro to
-# modify the way the check is run:
#
-# CMAKE_REQUIRED_FLAGS = string of compile command line flags
-# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
-# CMAKE_REQUIRED_INCLUDES = list of include directories
-# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
+# ::
+#
+# <code> - source code to try to compile, must define 'main'
+# <var> - variable to store whether the source code compiled
+# <fail-regex> - fail if test output matches this regex
+#
+# The following variables may be set before calling this macro to modify
+# the way the check is run:
+#
+# ::
+#
+# CMAKE_REQUIRED_FLAGS = string of compile command line flags
+# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
+# CMAKE_REQUIRED_INCLUDES = list of include directories
+# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
#=============================================================================
# Copyright 2005-2009 Kitware, Inc.
diff --git a/Modules/CheckCSourceRuns.cmake b/Modules/CheckCSourceRuns.cmake
index e3a091f..2e68454 100644
--- a/Modules/CheckCSourceRuns.cmake
+++ b/Modules/CheckCSourceRuns.cmake
@@ -1,15 +1,26 @@
-# - Check if the given C source code compiles and runs.
+#.rst:
+# CheckCSourceRuns
+# ----------------
+#
+# Check if the given C source code compiles and runs.
+#
# CHECK_C_SOURCE_RUNS(<code> <var>)
-# <code> - source code to try to compile
-# <var> - variable to store the result
-# (1 for success, empty for failure)
-# The following variables may be set before calling this macro to
-# modify the way the check is run:
#
-# CMAKE_REQUIRED_FLAGS = string of compile command line flags
-# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
-# CMAKE_REQUIRED_INCLUDES = list of include directories
-# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
+# ::
+#
+# <code> - source code to try to compile
+# <var> - variable to store the result
+# (1 for success, empty for failure)
+#
+# The following variables may be set before calling this macro to modify
+# the way the check is run:
+#
+# ::
+#
+# CMAKE_REQUIRED_FLAGS = string of compile command line flags
+# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
+# CMAKE_REQUIRED_INCLUDES = list of include directories
+# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
diff --git a/Modules/CheckCXXCompilerFlag.cmake b/Modules/CheckCXXCompilerFlag.cmake
index eee3a70..fab3a05 100644
--- a/Modules/CheckCXXCompilerFlag.cmake
+++ b/Modules/CheckCXXCompilerFlag.cmake
@@ -1,14 +1,22 @@
-# - Check whether the CXX compiler supports a given flag.
+#.rst:
+# CheckCXXCompilerFlag
+# --------------------
+#
+# Check whether the CXX compiler supports a given flag.
+#
# CHECK_CXX_COMPILER_FLAG(<flag> <var>)
-# <flag> - the compiler flag
-# <var> - variable to store the result
-# This internally calls the check_cxx_source_compiles macro and
-# sets CMAKE_REQUIRED_DEFINITIONS to <flag>.
-# See help for CheckCXXSourceCompiles for a listing of variables
-# that can otherwise modify the build.
-# The result only tells that the compiler does not give an error message when
-# it encounters the flag. If the flag has any effect or even a specific one is
-# beyond the scope of this module.
+#
+# ::
+#
+# <flag> - the compiler flag
+# <var> - variable to store the result
+#
+# This internally calls the check_cxx_source_compiles macro and sets
+# CMAKE_REQUIRED_DEFINITIONS to <flag>. See help for
+# CheckCXXSourceCompiles for a listing of variables that can otherwise
+# modify the build. The result only tells that the compiler does not
+# give an error message when it encounters the flag. If the flag has
+# any effect or even a specific one is beyond the scope of this module.
#=============================================================================
# Copyright 2006-2010 Kitware, Inc.
@@ -26,6 +34,7 @@
# License text for the above reference.)
include(CheckCXXSourceCompiles)
+include(CMakeCheckCompilerFlagCommonPatterns)
macro (CHECK_CXX_COMPILER_FLAG _FLAG _RESULT)
set(SAFE_CMAKE_REQUIRED_DEFINITIONS "${CMAKE_REQUIRED_DEFINITIONS}")
@@ -37,28 +46,18 @@ macro (CHECK_CXX_COMPILER_FLAG _FLAG _RESULT)
set(_CheckCXXCompilerFlag_SAVED_${v} "$ENV{${v}}")
set(ENV{${v}} C)
endforeach()
- CHECK_CXX_SOURCE_COMPILES("int main() { return 0;}" ${_RESULT}
+ CHECK_COMPILER_FLAG_COMMON_PATTERNS(_CheckCXXCompilerFlag_COMMON_PATTERNS)
+ CHECK_CXX_SOURCE_COMPILES("int main() { return 0; }" ${_RESULT}
# Some compilers do not fail with a bad flag
FAIL_REGEX "command line option .* is valid for .* but not for C\\\\+\\\\+" # GNU
- FAIL_REGEX "unrecognized .*option" # GNU
- FAIL_REGEX "unknown .*option" # Clang
- FAIL_REGEX "ignoring unknown option" # MSVC
- FAIL_REGEX "warning D9002" # MSVC, any lang
- FAIL_REGEX "option.*not supported" # Intel
- FAIL_REGEX "invalid argument .*option" # Intel
- FAIL_REGEX "ignoring option .*argument required" # Intel
- FAIL_REGEX "[Uu]nknown option" # HP
- FAIL_REGEX "[Ww]arning: [Oo]ption" # SunPro
- FAIL_REGEX "command option .* is not recognized" # XL
- FAIL_REGEX "not supported in this configuration; ignored" # AIX
- FAIL_REGEX "File with unknown suffix passed to linker" # PGI
- FAIL_REGEX "WARNING: unknown flag:" # Open64
+ ${_CheckCXXCompilerFlag_COMMON_PATTERNS}
)
foreach(v ${_CheckCXXCompilerFlag_LOCALE_VARS})
set(ENV{${v}} ${_CheckCXXCompilerFlag_SAVED_${v}})
unset(_CheckCXXCompilerFlag_SAVED_${v})
endforeach()
unset(_CheckCXXCompilerFlag_LOCALE_VARS)
+ unset(_CheckCXXCompilerFlag_COMMON_PATTERNS)
set (CMAKE_REQUIRED_DEFINITIONS "${SAFE_CMAKE_REQUIRED_DEFINITIONS}")
endmacro ()
diff --git a/Modules/CheckCXXSourceCompiles.cmake b/Modules/CheckCXXSourceCompiles.cmake
index 734c083..c7ef5ec 100644
--- a/Modules/CheckCXXSourceCompiles.cmake
+++ b/Modules/CheckCXXSourceCompiles.cmake
@@ -1,15 +1,26 @@
-# - Check if given C++ source compiles and links into an executable
+#.rst:
+# CheckCXXSourceCompiles
+# ----------------------
+#
+# Check if given C++ source compiles and links into an executable
+#
# CHECK_CXX_SOURCE_COMPILES(<code> <var> [FAIL_REGEX <fail-regex>])
-# <code> - source code to try to compile, must define 'main'
-# <var> - variable to store whether the source code compiled
-# <fail-regex> - fail if test output matches this regex
-# The following variables may be set before calling this macro to
-# modify the way the check is run:
#
-# CMAKE_REQUIRED_FLAGS = string of compile command line flags
-# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
-# CMAKE_REQUIRED_INCLUDES = list of include directories
-# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
+# ::
+#
+# <code> - source code to try to compile, must define 'main'
+# <var> - variable to store whether the source code compiled
+# <fail-regex> - fail if test output matches this regex
+#
+# The following variables may be set before calling this macro to modify
+# the way the check is run:
+#
+# ::
+#
+# CMAKE_REQUIRED_FLAGS = string of compile command line flags
+# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
+# CMAKE_REQUIRED_INCLUDES = list of include directories
+# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
#=============================================================================
# Copyright 2005-2009 Kitware, Inc.
diff --git a/Modules/CheckCXXSourceRuns.cmake b/Modules/CheckCXXSourceRuns.cmake
index 9e401f1..4e3ff6c 100644
--- a/Modules/CheckCXXSourceRuns.cmake
+++ b/Modules/CheckCXXSourceRuns.cmake
@@ -1,15 +1,26 @@
-# - Check if the given C++ source code compiles and runs.
+#.rst:
+# CheckCXXSourceRuns
+# ------------------
+#
+# Check if the given C++ source code compiles and runs.
+#
# CHECK_CXX_SOURCE_RUNS(<code> <var>)
-# <code> - source code to try to compile
-# <var> - variable to store the result
-# (1 for success, empty for failure)
-# The following variables may be set before calling this macro to
-# modify the way the check is run:
#
-# CMAKE_REQUIRED_FLAGS = string of compile command line flags
-# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
-# CMAKE_REQUIRED_INCLUDES = list of include directories
-# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
+# ::
+#
+# <code> - source code to try to compile
+# <var> - variable to store the result
+# (1 for success, empty for failure)
+#
+# The following variables may be set before calling this macro to modify
+# the way the check is run:
+#
+# ::
+#
+# CMAKE_REQUIRED_FLAGS = string of compile command line flags
+# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
+# CMAKE_REQUIRED_INCLUDES = list of include directories
+# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
diff --git a/Modules/CheckCXXSymbolExists.cmake b/Modules/CheckCXXSymbolExists.cmake
index 2100973..aa62fbf 100644
--- a/Modules/CheckCXXSymbolExists.cmake
+++ b/Modules/CheckCXXSymbolExists.cmake
@@ -1,26 +1,32 @@
-# - Check if a symbol exists as a function, variable, or macro in C++
+#.rst:
+# CheckCXXSymbolExists
+# --------------------
+#
+# Check if a symbol exists as a function, variable, or macro in C++
+#
# CHECK_CXX_SYMBOL_EXISTS(<symbol> <files> <variable>)
#
# Check that the <symbol> is available after including given header
-# <files> and store the result in a <variable>. Specify the list
-# of files in one argument as a semicolon-separated list.
-# CHECK_CXX_SYMBOL_EXISTS() can be used to check in C++ files, as opposed
-# to CHECK_SYMBOL_EXISTS(), which works only for C.
+# <files> and store the result in a <variable>. Specify the list of
+# files in one argument as a semicolon-separated list.
+# CHECK_CXX_SYMBOL_EXISTS() can be used to check in C++ files, as
+# opposed to CHECK_SYMBOL_EXISTS(), which works only for C.
#
# If the header files define the symbol as a macro it is considered
-# available and assumed to work. If the header files declare the
-# symbol as a function or variable then the symbol must also be
-# available for linking. If the symbol is a type or enum value
-# it will not be recognized (consider using CheckTypeSize or
-# CheckCSourceCompiles).
-#
-# The following variables may be set before calling this macro to
-# modify the way the check is run:
-#
-# CMAKE_REQUIRED_FLAGS = string of compile command line flags
-# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
-# CMAKE_REQUIRED_INCLUDES = list of include directories
-# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
+# available and assumed to work. If the header files declare the symbol
+# as a function or variable then the symbol must also be available for
+# linking. If the symbol is a type or enum value it will not be
+# recognized (consider using CheckTypeSize or CheckCSourceCompiles).
+#
+# The following variables may be set before calling this macro to modify
+# the way the check is run:
+#
+# ::
+#
+# CMAKE_REQUIRED_FLAGS = string of compile command line flags
+# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
+# CMAKE_REQUIRED_INCLUDES = list of include directories
+# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
#=============================================================================
# Copyright 2003-2011 Kitware, Inc.
diff --git a/Modules/CheckFortranFunctionExists.cmake b/Modules/CheckFortranFunctionExists.cmake
index 45dd7be..0b12289 100644
--- a/Modules/CheckFortranFunctionExists.cmake
+++ b/Modules/CheckFortranFunctionExists.cmake
@@ -1,13 +1,24 @@
-# - Check if the Fortran function exists.
+#.rst:
+# CheckFortranFunctionExists
+# --------------------------
+#
+# macro which checks if the Fortran function exists
+#
# CHECK_FORTRAN_FUNCTION_EXISTS(FUNCTION VARIABLE)
-# - macro which checks if the Fortran function exists
-# FUNCTION - the name of the Fortran function
-# VARIABLE - variable to store the result
#
-# The following variables may be set before calling this macro to
-# modify the way the check is run:
+# ::
+#
+# FUNCTION - the name of the Fortran function
+# VARIABLE - variable to store the result
+#
+#
+#
+# The following variables may be set before calling this macro to modify
+# the way the check is run:
+#
+# ::
#
-# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
+# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
#=============================================================================
# Copyright 2007-2009 Kitware, Inc.
diff --git a/Modules/CheckFunctionExists.cmake b/Modules/CheckFunctionExists.cmake
index ead1354..e232bd7 100644
--- a/Modules/CheckFunctionExists.cmake
+++ b/Modules/CheckFunctionExists.cmake
@@ -1,18 +1,25 @@
-# - Check if a C function can be linked
+#.rst:
+# CheckFunctionExists
+# -------------------
+#
+# Check if a C function can be linked
+#
# CHECK_FUNCTION_EXISTS(<function> <variable>)
#
# Check that the <function> is provided by libraries on the system and
# store the result in a <variable>. This does not verify that any
-# system header file declares the function, only that it can be found
-# at link time (consider using CheckSymbolExists).
+# system header file declares the function, only that it can be found at
+# link time (consider using CheckSymbolExists).
+#
+# The following variables may be set before calling this macro to modify
+# the way the check is run:
#
-# The following variables may be set before calling this macro to
-# modify the way the check is run:
+# ::
#
-# CMAKE_REQUIRED_FLAGS = string of compile command line flags
-# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
-# CMAKE_REQUIRED_INCLUDES = list of include directories
-# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
+# CMAKE_REQUIRED_FLAGS = string of compile command line flags
+# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
+# CMAKE_REQUIRED_INCLUDES = list of include directories
+# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
#=============================================================================
# Copyright 2002-2011 Kitware, Inc.
diff --git a/Modules/CheckIncludeFile.cmake b/Modules/CheckIncludeFile.cmake
index 8067e65..9dc1648 100644
--- a/Modules/CheckIncludeFile.cmake
+++ b/Modules/CheckIncludeFile.cmake
@@ -1,19 +1,29 @@
-# - Check if the include file exists.
+#.rst:
+# CheckIncludeFile
+# ----------------
+#
+# macro which checks the include file exists.
+#
# CHECK_INCLUDE_FILE(INCLUDE VARIABLE)
-# - macro which checks the include file exists.
-# INCLUDE - name of include file
-# VARIABLE - variable to return result
#
-# an optional third argument is the CFlags to add to the compile line
-# or you can use CMAKE_REQUIRED_FLAGS
+# ::
+#
+# INCLUDE - name of include file
+# VARIABLE - variable to return result
+#
+#
+#
+# an optional third argument is the CFlags to add to the compile line or
+# you can use CMAKE_REQUIRED_FLAGS
#
-# The following variables may be set before calling this macro to
-# modify the way the check is run:
+# The following variables may be set before calling this macro to modify
+# the way the check is run:
#
-# CMAKE_REQUIRED_FLAGS = string of compile command line flags
-# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
-# CMAKE_REQUIRED_INCLUDES = list of include directories
+# ::
#
+# CMAKE_REQUIRED_FLAGS = string of compile command line flags
+# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
+# CMAKE_REQUIRED_INCLUDES = list of include directories
#=============================================================================
# Copyright 2002-2009 Kitware, Inc.
@@ -38,7 +48,7 @@ macro(CHECK_INCLUDE_FILE INCLUDE VARIABLE)
set(MACRO_CHECK_INCLUDE_FILE_FLAGS ${CMAKE_REQUIRED_FLAGS})
set(CHECK_INCLUDE_FILE_VAR ${INCLUDE})
configure_file(${CMAKE_ROOT}/Modules/CheckIncludeFile.c.in
- ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckIncludeFile.c IMMEDIATE)
+ ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckIncludeFile.c)
message(STATUS "Looking for ${INCLUDE}")
if(${ARGC} EQUAL 3)
set(CMAKE_C_FLAGS_SAVE ${CMAKE_C_FLAGS})
diff --git a/Modules/CheckIncludeFileCXX.cmake b/Modules/CheckIncludeFileCXX.cmake
index 22c2d1a..fa36a3f 100644
--- a/Modules/CheckIncludeFileCXX.cmake
+++ b/Modules/CheckIncludeFileCXX.cmake
@@ -1,19 +1,33 @@
-# - Check if the include file exists.
-# CHECK_INCLUDE_FILE_CXX(INCLUDE VARIABLE)
+#.rst:
+# CheckIncludeFileCXX
+# -------------------
#
-# INCLUDE - name of include file
-# VARIABLE - variable to return result
+# Check if the include file exists.
#
-# An optional third argument is the CFlags to add to the compile line
-# or you can use CMAKE_REQUIRED_FLAGS.
+# ::
#
-# The following variables may be set before calling this macro to
-# modify the way the check is run:
+# CHECK_INCLUDE_FILE_CXX(INCLUDE VARIABLE)
#
-# CMAKE_REQUIRED_FLAGS = string of compile command line flags
-# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
-# CMAKE_REQUIRED_INCLUDES = list of include directories
#
+#
+# ::
+#
+# INCLUDE - name of include file
+# VARIABLE - variable to return result
+#
+#
+#
+# An optional third argument is the CFlags to add to the compile line or
+# you can use CMAKE_REQUIRED_FLAGS.
+#
+# The following variables may be set before calling this macro to modify
+# the way the check is run:
+#
+# ::
+#
+# CMAKE_REQUIRED_FLAGS = string of compile command line flags
+# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
+# CMAKE_REQUIRED_INCLUDES = list of include directories
#=============================================================================
# Copyright 2002-2009 Kitware, Inc.
@@ -38,7 +52,7 @@ macro(CHECK_INCLUDE_FILE_CXX INCLUDE VARIABLE)
set(MACRO_CHECK_INCLUDE_FILE_FLAGS ${CMAKE_REQUIRED_FLAGS})
set(CHECK_INCLUDE_FILE_VAR ${INCLUDE})
configure_file(${CMAKE_ROOT}/Modules/CheckIncludeFile.cxx.in
- ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckIncludeFile.cxx IMMEDIATE)
+ ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckIncludeFile.cxx)
message(STATUS "Looking for C++ include ${INCLUDE}")
if(${ARGC} EQUAL 3)
set(CMAKE_CXX_FLAGS_SAVE ${CMAKE_CXX_FLAGS})
diff --git a/Modules/CheckIncludeFiles.cmake b/Modules/CheckIncludeFiles.cmake
index daf2dd0..182067f 100644
--- a/Modules/CheckIncludeFiles.cmake
+++ b/Modules/CheckIncludeFiles.cmake
@@ -1,16 +1,28 @@
-# - Check if the files can be included
+#.rst:
+# CheckIncludeFiles
+# -----------------
+#
+# Check if the files can be included
+#
+#
#
# CHECK_INCLUDE_FILES(INCLUDE VARIABLE)
#
-# INCLUDE - list of files to include
-# VARIABLE - variable to return result
+# ::
+#
+# INCLUDE - list of files to include
+# VARIABLE - variable to return result
+#
+#
+#
+# The following variables may be set before calling this macro to modify
+# the way the check is run:
#
-# The following variables may be set before calling this macro to
-# modify the way the check is run:
+# ::
#
-# CMAKE_REQUIRED_FLAGS = string of compile command line flags
-# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
-# CMAKE_REQUIRED_INCLUDES = list of include directories
+# CMAKE_REQUIRED_FLAGS = string of compile command line flags
+# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
+# CMAKE_REQUIRED_INCLUDES = list of include directories
#=============================================================================
# Copyright 2003-2012 Kitware, Inc.
@@ -42,7 +54,7 @@ macro(CHECK_INCLUDE_FILES INCLUDE VARIABLE)
set(CMAKE_CONFIGURABLE_FILE_CONTENT
"${CMAKE_CONFIGURABLE_FILE_CONTENT}\n\nint main(){return 0;}\n")
configure_file("${CMAKE_ROOT}/Modules/CMakeConfigurableFile.in"
- "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckIncludeFiles.c" @ONLY IMMEDIATE)
+ "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckIncludeFiles.c" @ONLY)
set(_INCLUDE ${INCLUDE}) # remove empty elements
if("${_INCLUDE}" MATCHES "^([^;]+);.+;([^;]+)$")
diff --git a/Modules/CheckLanguage.cmake b/Modules/CheckLanguage.cmake
index 87a4018..3bd126a 100644
--- a/Modules/CheckLanguage.cmake
+++ b/Modules/CheckLanguage.cmake
@@ -1,19 +1,32 @@
-# - Check if a language can be enabled
+#.rst:
+# CheckLanguage
+# -------------
+#
+# Check if a language can be enabled
+#
# Usage:
-# check_language(<lang>)
+#
+# ::
+#
+# check_language(<lang>)
+#
# where <lang> is a language that may be passed to enable_language()
# such as "Fortran". If CMAKE_<lang>_COMPILER is already defined the
# check does nothing. Otherwise it tries enabling the language in a
# test project. The result is cached in CMAKE_<lang>_COMPILER as the
-# compiler that was found, or NOTFOUND if the language cannot be enabled.
+# compiler that was found, or NOTFOUND if the language cannot be
+# enabled.
#
# Example:
-# check_language(Fortran)
-# if(CMAKE_Fortran_COMPILER)
-# enable_language(Fortran)
-# else()
-# message(STATUS "No Fortran support")
-# endif()
+#
+# ::
+#
+# check_language(Fortran)
+# if(CMAKE_Fortran_COMPILER)
+# enable_language(Fortran)
+# else()
+# message(STATUS "No Fortran support")
+# endif()
#=============================================================================
# Copyright 2009-2012 Kitware, Inc.
diff --git a/Modules/CheckLibraryExists.cmake b/Modules/CheckLibraryExists.cmake
index fb7d0ec..f5c563c 100644
--- a/Modules/CheckLibraryExists.cmake
+++ b/Modules/CheckLibraryExists.cmake
@@ -1,17 +1,28 @@
-# - Check if the function exists.
+#.rst:
+# CheckLibraryExists
+# ------------------
+#
+# Check if the function exists.
+#
# CHECK_LIBRARY_EXISTS (LIBRARY FUNCTION LOCATION VARIABLE)
#
-# LIBRARY - the name of the library you are looking for
-# FUNCTION - the name of the function
-# LOCATION - location where the library should be found
-# VARIABLE - variable to store the result
+# ::
+#
+# LIBRARY - the name of the library you are looking for
+# FUNCTION - the name of the function
+# LOCATION - location where the library should be found
+# VARIABLE - variable to store the result
+#
+#
+#
+# The following variables may be set before calling this macro to modify
+# the way the check is run:
#
-# The following variables may be set before calling this macro to
-# modify the way the check is run:
+# ::
#
-# CMAKE_REQUIRED_FLAGS = string of compile command line flags
-# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
-# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
+# CMAKE_REQUIRED_FLAGS = string of compile command line flags
+# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
+# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
#=============================================================================
# Copyright 2002-2009 Kitware, Inc.
diff --git a/Modules/CheckPrototypeDefinition.cmake b/Modules/CheckPrototypeDefinition.cmake
index 2342b3c..25ea7f4 100644
--- a/Modules/CheckPrototypeDefinition.cmake
+++ b/Modules/CheckPrototypeDefinition.cmake
@@ -1,23 +1,38 @@
-# - Check if the protoype we expect is correct.
+#.rst:
+# CheckPrototypeDefinition
+# ------------------------
+#
+# Check if the protoype we expect is correct.
+#
# check_prototype_definition(FUNCTION PROTOTYPE RETURN HEADER VARIABLE)
-# FUNCTION - The name of the function (used to check if prototype exists)
-# PROTOTYPE- The prototype to check.
-# RETURN - The return value of the function.
-# HEADER - The header files required.
-# VARIABLE - The variable to store the result.
+#
+# ::
+#
+# FUNCTION - The name of the function (used to check if prototype exists)
+# PROTOTYPE- The prototype to check.
+# RETURN - The return value of the function.
+# HEADER - The header files required.
+# VARIABLE - The variable to store the result.
+#
# Example:
-# check_prototype_definition(getpwent_r
-# "struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen)"
-# "NULL"
-# "unistd.h;pwd.h"
-# SOLARIS_GETPWENT_R)
-# The following variables may be set before calling this macro to
-# modify the way the check is run:
#
-# CMAKE_REQUIRED_FLAGS = string of compile command line flags
-# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
-# CMAKE_REQUIRED_INCLUDES = list of include directories
-# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
+# ::
+#
+# check_prototype_definition(getpwent_r
+# "struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen)"
+# "NULL"
+# "unistd.h;pwd.h"
+# SOLARIS_GETPWENT_R)
+#
+# The following variables may be set before calling this macro to modify
+# the way the check is run:
+#
+# ::
+#
+# CMAKE_REQUIRED_FLAGS = string of compile command line flags
+# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
+# CMAKE_REQUIRED_INCLUDES = list of include directories
+# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
#=============================================================================
# Copyright 2005-2009 Kitware, Inc.
diff --git a/Modules/CheckStructHasMember.cmake b/Modules/CheckStructHasMember.cmake
index ea2891c..a864e82 100644
--- a/Modules/CheckStructHasMember.cmake
+++ b/Modules/CheckStructHasMember.cmake
@@ -1,19 +1,38 @@
-# - Check if the given struct or class has the specified member variable
-# CHECK_STRUCT_HAS_MEMBER (STRUCT MEMBER HEADER VARIABLE)
+#.rst:
+# CheckStructHasMember
+# --------------------
#
-# STRUCT - the name of the struct or class you are interested in
-# MEMBER - the member which existence you want to check
-# HEADER - the header(s) where the prototype should be declared
-# VARIABLE - variable to store the result
+# Check if the given struct or class has the specified member variable
#
-# The following variables may be set before calling this macro to
-# modify the way the check is run:
+# ::
#
-# CMAKE_REQUIRED_FLAGS = string of compile command line flags
-# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
-# CMAKE_REQUIRED_INCLUDES = list of include directories
+# CHECK_STRUCT_HAS_MEMBER(<struct> <member> <header> <variable>
+# [LANGUAGE <language>])
#
-# Example: CHECK_STRUCT_HAS_MEMBER("struct timeval" tv_sec sys/select.h HAVE_TIMEVAL_TV_SEC)
+# ::
+#
+# <struct> - the name of the struct or class you are interested in
+# <member> - the member which existence you want to check
+# <header> - the header(s) where the prototype should be declared
+# <variable> - variable to store the result
+# <language> - the compiler to use (C or CXX)
+#
+#
+#
+# The following variables may be set before calling this macro to modify
+# the way the check is run:
+#
+# ::
+#
+# CMAKE_REQUIRED_FLAGS = string of compile command line flags
+# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
+# CMAKE_REQUIRED_INCLUDES = list of include directories
+# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
+#
+#
+#
+# Example: CHECK_STRUCT_HAS_MEMBER("struct timeval" tv_sec sys/select.h
+# HAVE_TIMEVAL_TV_SEC LANGUAGE C)
#=============================================================================
# Copyright 2007-2009 Kitware, Inc.
@@ -29,6 +48,7 @@
# License text for the above reference.)
include(CheckCSourceCompiles)
+include(CheckCXXSourceCompiles)
macro (CHECK_STRUCT_HAS_MEMBER _STRUCT _MEMBER _HEADER _RESULT)
set(_INCLUDE_FILES)
@@ -36,16 +56,29 @@ macro (CHECK_STRUCT_HAS_MEMBER _STRUCT _MEMBER _HEADER _RESULT)
set(_INCLUDE_FILES "${_INCLUDE_FILES}#include <${it}>\n")
endforeach ()
+ if("x${ARGN}" STREQUAL "x")
+ set(_lang C)
+ elseif("x${ARGN}" MATCHES "^xLANGUAGE;([a-zA-Z]+)$")
+ set(_lang "${CMAKE_MATCH_1}")
+ else()
+ message(FATAL_ERROR "Unknown arguments:\n ${ARGN}\n")
+ endif()
+
set(_CHECK_STRUCT_MEMBER_SOURCE_CODE "
${_INCLUDE_FILES}
int main()
{
${_STRUCT}* tmp;
tmp->${_MEMBER};
- return 0;
+ return 0;
}
")
- CHECK_C_SOURCE_COMPILES("${_CHECK_STRUCT_MEMBER_SOURCE_CODE}" ${_RESULT})
+ if("${_lang}" STREQUAL "C")
+ CHECK_C_SOURCE_COMPILES("${_CHECK_STRUCT_MEMBER_SOURCE_CODE}" ${_RESULT})
+ elseif("${_lang}" STREQUAL "CXX")
+ CHECK_CXX_SOURCE_COMPILES("${_CHECK_STRUCT_MEMBER_SOURCE_CODE}" ${_RESULT})
+ else()
+ message(FATAL_ERROR "Unknown language:\n ${_lang}\nSupported languages: C, CXX.\n")
+ endif()
endmacro ()
-
diff --git a/Modules/CheckSymbolExists.cmake b/Modules/CheckSymbolExists.cmake
index 0969bc5..e1ca412 100644
--- a/Modules/CheckSymbolExists.cmake
+++ b/Modules/CheckSymbolExists.cmake
@@ -1,26 +1,33 @@
-# - Check if a symbol exists as a function, variable, or macro
+#.rst:
+# CheckSymbolExists
+# -----------------
+#
+# Check if a symbol exists as a function, variable, or macro
+#
# CHECK_SYMBOL_EXISTS(<symbol> <files> <variable>)
#
# Check that the <symbol> is available after including given header
-# <files> and store the result in a <variable>. Specify the list
-# of files in one argument as a semicolon-separated list.
+# <files> and store the result in a <variable>. Specify the list of
+# files in one argument as a semicolon-separated list.
#
# If the header files define the symbol as a macro it is considered
-# available and assumed to work. If the header files declare the
-# symbol as a function or variable then the symbol must also be
-# available for linking. If the symbol is a type or enum value
-# it will not be recognized (consider using CheckTypeSize or
-# CheckCSourceCompiles).
-# If the check needs to be done in C++, consider using CHECK_CXX_SYMBOL_EXISTS(),
-# which does the same as CHECK_SYMBOL_EXISTS(), but in C++.
+# available and assumed to work. If the header files declare the symbol
+# as a function or variable then the symbol must also be available for
+# linking. If the symbol is a type or enum value it will not be
+# recognized (consider using CheckTypeSize or CheckCSourceCompiles). If
+# the check needs to be done in C++, consider using
+# CHECK_CXX_SYMBOL_EXISTS(), which does the same as
+# CHECK_SYMBOL_EXISTS(), but in C++.
+#
+# The following variables may be set before calling this macro to modify
+# the way the check is run:
#
-# The following variables may be set before calling this macro to
-# modify the way the check is run:
+# ::
#
-# CMAKE_REQUIRED_FLAGS = string of compile command line flags
-# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
-# CMAKE_REQUIRED_INCLUDES = list of include directories
-# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
+# CMAKE_REQUIRED_FLAGS = string of compile command line flags
+# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
+# CMAKE_REQUIRED_INCLUDES = list of include directories
+# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
#=============================================================================
# Copyright 2003-2011 Kitware, Inc.
@@ -65,7 +72,7 @@ macro(_CHECK_SYMBOL_EXISTS SOURCEFILE SYMBOL FILES VARIABLE)
"${CMAKE_CONFIGURABLE_FILE_CONTENT}\nint main(int argc, char** argv)\n{\n (void)argv;\n#ifndef ${SYMBOL}\n return ((int*)(&${SYMBOL}))[argc];\n#else\n (void)argc;\n return 0;\n#endif\n}\n")
configure_file("${CMAKE_ROOT}/Modules/CMakeConfigurableFile.in"
- "${SOURCEFILE}" @ONLY IMMEDIATE)
+ "${SOURCEFILE}" @ONLY)
message(STATUS "Looking for ${SYMBOL}")
try_compile(${VARIABLE}
diff --git a/Modules/CheckTypeSize.cmake b/Modules/CheckTypeSize.cmake
index 2d0eab5..ec28d8b 100644
--- a/Modules/CheckTypeSize.cmake
+++ b/Modules/CheckTypeSize.cmake
@@ -1,42 +1,65 @@
-# - Check sizeof a type
-# CHECK_TYPE_SIZE(TYPE VARIABLE [BUILTIN_TYPES_ONLY])
-# Check if the type exists and determine its size.
-# On return, "HAVE_${VARIABLE}" holds the existence of the type,
-# and "${VARIABLE}" holds one of the following:
-# <size> = type has non-zero size <size>
-# "0" = type has arch-dependent size (see below)
-# "" = type does not exist
-# Furthermore, the variable "${VARIABLE}_CODE" holds C preprocessor
-# code to define the macro "${VARIABLE}" to the size of the type, or
-# leave the macro undefined if the type does not exist.
-#
-# The variable "${VARIABLE}" may be "0" when CMAKE_OSX_ARCHITECTURES
-# has multiple architectures for building OS X universal binaries.
-# This indicates that the type size varies across architectures.
-# In this case "${VARIABLE}_CODE" contains C preprocessor tests
-# mapping from each architecture macro to the corresponding type size.
-# The list of architecture macros is stored in "${VARIABLE}_KEYS", and
-# the value for each key is stored in "${VARIABLE}-${KEY}".
+#.rst:
+# CheckTypeSize
+# -------------
+#
+# Check sizeof a type
+#
+# ::
+#
+# CHECK_TYPE_SIZE(TYPE VARIABLE [BUILTIN_TYPES_ONLY]
+# [LANGUAGE <language>])
+#
+# Check if the type exists and determine its size. On return,
+# "HAVE_${VARIABLE}" holds the existence of the type, and "${VARIABLE}"
+# holds one of the following:
+#
+# ::
+#
+# <size> = type has non-zero size <size>
+# "0" = type has arch-dependent size (see below)
+# "" = type does not exist
+#
+# Furthermore, the variable "${VARIABLE}_CODE" holds C preprocessor code
+# to define the macro "${VARIABLE}" to the size of the type, or leave
+# the macro undefined if the type does not exist.
+#
+# The variable "${VARIABLE}" may be "0" when CMAKE_OSX_ARCHITECTURES has
+# multiple architectures for building OS X universal binaries. This
+# indicates that the type size varies across architectures. In this
+# case "${VARIABLE}_CODE" contains C preprocessor tests mapping from
+# each architecture macro to the corresponding type size. The list of
+# architecture macros is stored in "${VARIABLE}_KEYS", and the value for
+# each key is stored in "${VARIABLE}-${KEY}".
#
# If the BUILTIN_TYPES_ONLY option is not given, the macro checks for
# headers <sys/types.h>, <stdint.h>, and <stddef.h>, and saves results
-# in HAVE_SYS_TYPES_H, HAVE_STDINT_H, and HAVE_STDDEF_H. The type
-# size check automatically includes the available headers, thus
-# supporting checks of types defined in the headers.
+# in HAVE_SYS_TYPES_H, HAVE_STDINT_H, and HAVE_STDDEF_H. The type size
+# check automatically includes the available headers, thus supporting
+# checks of types defined in the headers.
+#
+# If LANGUAGE is set, the specified compiler will be used to perform the
+# check. Acceptable values are C and CXX
#
-# Despite the name of the macro you may use it to check the size of
-# more complex expressions, too. To check e.g. for the size of a struct
+# Despite the name of the macro you may use it to check the size of more
+# complex expressions, too. To check e.g. for the size of a struct
# member you can do something like this:
-# check_type_size("((struct something*)0)->member" SIZEOF_MEMBER)
#
-# The following variables may be set before calling this macro to
-# modify the way the check is run:
+# ::
+#
+# check_type_size("((struct something*)0)->member" SIZEOF_MEMBER)
+#
+#
+#
+# The following variables may be set before calling this macro to modify
+# the way the check is run:
#
-# CMAKE_REQUIRED_FLAGS = string of compile command line flags
-# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
-# CMAKE_REQUIRED_INCLUDES = list of include directories
-# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
-# CMAKE_EXTRA_INCLUDE_FILES = list of extra headers to include
+# ::
+#
+# CMAKE_REQUIRED_FLAGS = string of compile command line flags
+# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
+# CMAKE_REQUIRED_INCLUDES = list of include directories
+# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
+# CMAKE_EXTRA_INCLUDE_FILES = list of extra headers to include
#=============================================================================
# Copyright 2002-2009 Kitware, Inc.
@@ -60,7 +83,7 @@ get_filename_component(__check_type_size_dir "${CMAKE_CURRENT_LIST_FILE}" PATH)
#-----------------------------------------------------------------------------
# Helper function. DO NOT CALL DIRECTLY.
-function(__check_type_size_impl type var map builtin)
+function(__check_type_size_impl type var map builtin language)
message(STATUS "Check size of ${type}")
# Include header files.
@@ -82,8 +105,13 @@ function(__check_type_size_impl type var map builtin)
# Perform the check.
-
- set(src ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CheckTypeSize/${var}.c)
+ if("${language}" STREQUAL "C")
+ set(src ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CheckTypeSize/${var}.c)
+ elseif("${language}" STREQUAL "CXX")
+ set(src ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CheckTypeSize/${var}.cpp)
+ else()
+ message(FATAL_ERROR "Unknown language:\n ${language}\nSupported languages: C, CXX.\n")
+ endif()
set(bin ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CheckTypeSize/${var}.bin)
configure_file(${__check_type_size_dir}/CheckTypeSize.c.in ${src} @ONLY)
try_compile(HAVE_${var} ${CMAKE_BINARY_DIR} ${src}
@@ -157,8 +185,36 @@ endfunction()
#-----------------------------------------------------------------------------
macro(CHECK_TYPE_SIZE TYPE VARIABLE)
+ # parse arguments
+ unset(doing)
+ foreach(arg ${ARGN})
+ if("x${arg}" STREQUAL "xBUILTIN_TYPES_ONLY")
+ set(_CHECK_TYPE_SIZE_${arg} 1)
+ unset(doing)
+ elseif("x${arg}" STREQUAL "xLANGUAGE") # change to MATCHES for more keys
+ set(doing "${arg}")
+ set(_CHECK_TYPE_SIZE_${doing} "")
+ elseif("x${doing}" STREQUAL "xLANGUAGE")
+ set(_CHECK_TYPE_SIZE_${doing} "${arg}")
+ unset(doing)
+ else()
+ message(FATAL_ERROR "Unknown argument:\n ${arg}\n")
+ endif()
+ endforeach()
+ if("x${doing}" MATCHES "^x(LANGUAGE)$")
+ message(FATAL_ERROR "Missing argument:\n ${doing} arguments requires a value\n")
+ endif()
+ if(DEFINED _CHECK_TYPE_SIZE_LANGUAGE)
+ if(NOT "x${_CHECK_TYPE_SIZE_LANGUAGE}" MATCHES "^x(C|CXX)$")
+ message(FATAL_ERROR "Unknown language:\n ${_CHECK_TYPE_SIZE_LANGUAGE}.\nSupported languages: C, CXX.\n")
+ endif()
+ set(_language ${_CHECK_TYPE_SIZE_LANGUAGE})
+ else()
+ set(_language C)
+ endif()
+
# Optionally check for standard headers.
- if("${ARGV2}" STREQUAL "BUILTIN_TYPES_ONLY")
+ if(_CHECK_TYPE_SIZE_BUILTIN_TYPES_ONLY)
set(_builtin 0)
else()
set(_builtin 1)
@@ -166,12 +222,14 @@ macro(CHECK_TYPE_SIZE TYPE VARIABLE)
check_include_file(stdint.h HAVE_STDINT_H)
check_include_file(stddef.h HAVE_STDDEF_H)
endif()
+ unset(_CHECK_TYPE_SIZE_BUILTIN_TYPES_ONLY)
+ unset(_CHECK_TYPE_SIZE_LANGUAGE)
# Compute or load the size or size map.
set(${VARIABLE}_KEYS)
set(_map_file ${CMAKE_BINARY_DIR}/${CMAKE_FILES_DIRECTORY}/CheckTypeSize/${VARIABLE}.cmake)
if(NOT DEFINED HAVE_${VARIABLE})
- __check_type_size_impl(${TYPE} ${VARIABLE} ${_map_file} ${_builtin})
+ __check_type_size_impl(${TYPE} ${VARIABLE} ${_map_file} ${_builtin} ${_language})
endif()
include(${_map_file} OPTIONAL)
set(_map_file)
diff --git a/Modules/CheckVariableExists.cmake b/Modules/CheckVariableExists.cmake
index a21e65f..4861ff0 100644
--- a/Modules/CheckVariableExists.cmake
+++ b/Modules/CheckVariableExists.cmake
@@ -1,17 +1,32 @@
-# - Check if the variable exists.
-# CHECK_VARIABLE_EXISTS(VAR VARIABLE)
+#.rst:
+# CheckVariableExists
+# -------------------
+#
+# Check if the variable exists.
+#
+# ::
+#
+# CHECK_VARIABLE_EXISTS(VAR VARIABLE)
+#
+#
+#
+# ::
+#
+# VAR - the name of the variable
+# VARIABLE - variable to store the result
+#
#
-# VAR - the name of the variable
-# VARIABLE - variable to store the result
#
# This macro is only for C variables.
#
-# The following variables may be set before calling this macro to
-# modify the way the check is run:
+# The following variables may be set before calling this macro to modify
+# the way the check is run:
+#
+# ::
#
-# CMAKE_REQUIRED_FLAGS = string of compile command line flags
-# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
-# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
+# CMAKE_REQUIRED_FLAGS = string of compile command line flags
+# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar)
+# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
#=============================================================================
# Copyright 2002-2009 Kitware, Inc.
diff --git a/Modules/Compiler/AppleClang-ASM.cmake b/Modules/Compiler/AppleClang-ASM.cmake
new file mode 100644
index 0000000..f52bde0
--- /dev/null
+++ b/Modules/Compiler/AppleClang-ASM.cmake
@@ -0,0 +1 @@
+include(Compiler/Clang-ASM)
diff --git a/Modules/Compiler/AppleClang-C.cmake b/Modules/Compiler/AppleClang-C.cmake
new file mode 100644
index 0000000..44070b8
--- /dev/null
+++ b/Modules/Compiler/AppleClang-C.cmake
@@ -0,0 +1 @@
+include(Compiler/Clang-C)
diff --git a/Modules/Compiler/AppleClang-CXX.cmake b/Modules/Compiler/AppleClang-CXX.cmake
new file mode 100644
index 0000000..680f720
--- /dev/null
+++ b/Modules/Compiler/AppleClang-CXX.cmake
@@ -0,0 +1 @@
+include(Compiler/Clang-CXX)
diff --git a/Modules/Compiler/Clang-CXX.cmake b/Modules/Compiler/Clang-CXX.cmake
index 972d889..0372e18 100644
--- a/Modules/Compiler/Clang-CXX.cmake
+++ b/Modules/Compiler/Clang-CXX.cmake
@@ -1,4 +1,6 @@
include(Compiler/Clang)
__compiler_clang(CXX)
-set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN "-fvisibility-inlines-hidden")
+if(NOT CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC")
+ set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN "-fvisibility-inlines-hidden")
+endif()
diff --git a/Modules/Compiler/Clang.cmake b/Modules/Compiler/Clang.cmake
index ec4562a..eeba119 100644
--- a/Modules/Compiler/Clang.cmake
+++ b/Modules/Compiler/Clang.cmake
@@ -18,11 +18,24 @@ if(__COMPILER_CLANG)
endif()
set(__COMPILER_CLANG 1)
-include(Compiler/GNU)
+if(CMAKE_C_SIMULATE_ID STREQUAL "MSVC"
+ OR CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC")
+ macro(__compiler_clang lang)
+ endmacro()
+else()
+ include(Compiler/GNU)
-macro(__compiler_clang lang)
- __compiler_gnu(${lang})
- set(CMAKE_${lang}_COMPILE_OPTIONS_PIE "-fPIE")
- set(CMAKE_INCLUDE_SYSTEM_FLAG_${lang} "-isystem ")
- set(CMAKE_${lang}_COMPILE_OPTIONS_VISIBILITY "-fvisibility=")
-endmacro()
+ macro(__compiler_clang lang)
+ __compiler_gnu(${lang})
+ set(CMAKE_${lang}_COMPILE_OPTIONS_PIE "-fPIE")
+ set(CMAKE_INCLUDE_SYSTEM_FLAG_${lang} "-isystem ")
+ set(CMAKE_${lang}_COMPILE_OPTIONS_VISIBILITY "-fvisibility=")
+ if(CMAKE_${lang}_COMPILER_VERSION VERSION_LESS 3.4.0)
+ set(CMAKE_${lang}_COMPILE_OPTIONS_TARGET "-target ")
+ set(CMAKE_${lang}_COMPILE_OPTIONS_EXTERNAL_TOOLCHAIN "-gcc-toolchain ")
+ else()
+ set(CMAKE_${lang}_COMPILE_OPTIONS_TARGET "--target=")
+ set(CMAKE_${lang}_COMPILE_OPTIONS_EXTERNAL_TOOLCHAIN "--gcc-toolchain=")
+ endif()
+ endmacro()
+endif()
diff --git a/Modules/Compiler/GNU.cmake b/Modules/Compiler/GNU.cmake
index 504704d..f01255c 100644
--- a/Modules/Compiler/GNU.cmake
+++ b/Modules/Compiler/GNU.cmake
@@ -30,6 +30,7 @@ macro(__compiler_gnu lang)
endif()
set(CMAKE_SHARED_LIBRARY_${lang}_FLAGS "-fPIC")
set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "-shared")
+ set(CMAKE_${lang}_COMPILE_OPTIONS_SYSROOT "--sysroot=")
# Older versions of gcc (< 4.5) contain a bug causing them to report a missing
# header file as a warning if depfiles are enabled, causing check_header_file
diff --git a/Modules/Compiler/Intel-C.cmake b/Modules/Compiler/Intel-C.cmake
index 5b43db9..1d651e3 100644
--- a/Modules/Compiler/Intel-C.cmake
+++ b/Modules/Compiler/Intel-C.cmake
@@ -6,9 +6,7 @@ set(CMAKE_C_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG")
set(CMAKE_C_FLAGS_RELEASE_INIT "-O3 -DNDEBUG")
set(CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-O2 -g -DNDEBUG")
-if(NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 12.0)
- set(CMAKE_C_COMPILE_OPTIONS_VISIBILITY "-fvisibility=")
-endif()
+set(CMAKE_DEPFILE_FLAGS_C "-MMD -MT <OBJECT> -MF <DEPFILE>")
set(CMAKE_C_CREATE_PREPROCESSED_SOURCE "<CMAKE_C_COMPILER> <DEFINES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
set(CMAKE_C_CREATE_ASSEMBLY_SOURCE "<CMAKE_C_COMPILER> <DEFINES> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>")
diff --git a/Modules/Compiler/Intel-CXX.cmake b/Modules/Compiler/Intel-CXX.cmake
index 35bb3ec..020e862 100644
--- a/Modules/Compiler/Intel-CXX.cmake
+++ b/Modules/Compiler/Intel-CXX.cmake
@@ -6,9 +6,7 @@ set(CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG")
set(CMAKE_CXX_FLAGS_RELEASE_INIT "-O3 -DNDEBUG")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-O2 -g -DNDEBUG")
-if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 12.0)
- set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY "-fvisibility=")
-endif()
+set(CMAKE_DEPFILE_FLAGS_CXX "-MMD -MT <OBJECT> -MF <DEPFILE>")
set(CMAKE_CXX_CREATE_PREPROCESSED_SOURCE "<CMAKE_CXX_COMPILER> <DEFINES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
set(CMAKE_CXX_CREATE_ASSEMBLY_SOURCE "<CMAKE_CXX_COMPILER> <DEFINES> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>")
diff --git a/Modules/CompilerId/VS-Intel.vfproj.in b/Modules/CompilerId/VS-Intel.vfproj.in
new file mode 100644
index 0000000..044dd20
--- /dev/null
+++ b/Modules/CompilerId/VS-Intel.vfproj.in
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VisualStudioProject
+ ProjectCreator="Intel Fortran"
+ Keyword="Console Application"
+ Version="@CMAKE_VS_INTEL_Fortran_PROJECT_VERSION@"
+ ProjectIdGuid="{AB67BAB7-D7AE-4E97-B492-FE5420447509}"
+ >
+ <Platforms>
+ <Platform Name="@id_platform@"/>
+ </Platforms>
+ <Configurations>
+ <Configuration
+ Name="Debug|@id_platform@"
+ OutputDirectory="."
+ IntermediateDirectory="$(ConfigurationName)"
+ >
+ <Tool
+ Name="VFFortranCompilerTool"
+ DebugInformationFormat="debugEnabled"
+ Optimization="optimizeDisabled"
+ Preprocess="preprocessYes"
+ RuntimeLibrary="rtMultiThreadedDebugDLL"
+ />
+ <Tool
+ Name="VFLinkerTool"
+ LinkIncremental="linkIncrementalNo"
+ GenerateDebugInformation="true"
+ SubSystem="subSystemConsole"
+ />
+ <Tool
+ Name="VFPostBuildEventTool"
+ CommandLine="for %%i in (@id_cl@) do @echo CMAKE_@id_lang@_COMPILER=%%~$PATH:i"
+ />
+ </Configuration>
+ </Configurations>
+ <Files>
+ <Filter Name="Source Files" Filter="F">
+ <File RelativePath="@id_src@"/>
+ </Filter>
+ </Files>
+ <Globals/>
+</VisualStudioProject>
diff --git a/Modules/Dart.cmake b/Modules/Dart.cmake
index bd744b0..db487d8 100644
--- a/Modules/Dart.cmake
+++ b/Modules/Dart.cmake
@@ -1,12 +1,22 @@
-# - Configure a project for testing with CTest or old Dart Tcl Client
+#.rst:
+# Dart
+# ----
+#
+# Configure a project for testing with CTest or old Dart Tcl Client
+#
# This file is the backwards-compatibility version of the CTest module.
# It supports using the old Dart 1 Tcl client for driving dashboard
-# submissions as well as testing with CTest. This module should be included
-# in the CMakeLists.txt file at the top of a project. Typical usage:
-# include(Dart)
-# if(BUILD_TESTING)
-# # ... testing related CMake code ...
-# endif()
+# submissions as well as testing with CTest. This module should be
+# included in the CMakeLists.txt file at the top of a project. Typical
+# usage:
+#
+# ::
+#
+# include(Dart)
+# if(BUILD_TESTING)
+# # ... testing related CMake code ...
+# endif()
+#
# The BUILD_TESTING option is created by the Dart module to determine
# whether testing support should be enabled. The default is ON.
diff --git a/Modules/DartConfiguration.tcl.in b/Modules/DartConfiguration.tcl.in
index 9e49ac7..68fadf6 100644
--- a/Modules/DartConfiguration.tcl.in
+++ b/Modules/DartConfiguration.tcl.in
@@ -52,6 +52,13 @@ GITCommand: @GITCOMMAND@
GITUpdateOptions: @GIT_UPDATE_OPTIONS@
GITUpdateCustom: @CTEST_GIT_UPDATE_CUSTOM@
+# Perforce options
+P4Command: @P4COMMAND@
+P4Client: @CTEST_P4_CLIENT@
+P4Options: @CTEST_P4_OPTIONS@
+P4UpdateOptions: @CTEST_P4_UPDATE_OPTIONS@
+P4UpdateCustom: @CTEST_P4_UPDATE_CUSTOM@
+
# Generic update command
UpdateCommand: @UPDATE_COMMAND@
UpdateOptions: @UPDATE_OPTIONS@
diff --git a/Modules/DeployQt4.cmake b/Modules/DeployQt4.cmake
index 5f8a9fb..9b31567 100644
--- a/Modules/DeployQt4.cmake
+++ b/Modules/DeployQt4.cmake
@@ -1,68 +1,99 @@
-# - Functions to help assemble a standalone Qt4 executable.
-# A collection of CMake utility functions useful for deploying
-# Qt4 executables.
+#.rst:
+# DeployQt4
+# ---------
+#
+# Functions to help assemble a standalone Qt4 executable.
+#
+# A collection of CMake utility functions useful for deploying Qt4
+# executables.
#
# The following functions are provided by this module:
-# write_qt4_conf
-# resolve_qt4_paths
-# fixup_qt4_executable
-# install_qt4_plugin_path
-# install_qt4_plugin
-# install_qt4_executable
+#
+# ::
+#
+# write_qt4_conf
+# resolve_qt4_paths
+# fixup_qt4_executable
+# install_qt4_plugin_path
+# install_qt4_plugin
+# install_qt4_executable
+#
# Requires CMake 2.6 or greater because it uses function and
-# PARENT_SCOPE. Also depends on BundleUtilities.cmake.
+# PARENT_SCOPE. Also depends on BundleUtilities.cmake.
+#
+# ::
+#
+# WRITE_QT4_CONF(<qt_conf_dir> <qt_conf_contents>)
#
-# WRITE_QT4_CONF(<qt_conf_dir> <qt_conf_contents>)
# Writes a qt.conf file with the <qt_conf_contents> into <qt_conf_dir>.
#
-# RESOLVE_QT4_PATHS(<paths_var> [<executable_path>])
+# ::
+#
+# RESOLVE_QT4_PATHS(<paths_var> [<executable_path>])
+#
# Loop through <paths_var> list and if any don't exist resolve them
-# relative to the <executable_path> (if supplied) or the CMAKE_INSTALL_PREFIX.
+# relative to the <executable_path> (if supplied) or the
+# CMAKE_INSTALL_PREFIX.
+#
+# ::
#
-# FIXUP_QT4_EXECUTABLE(<executable> [<qtplugins> <libs> <dirs> <plugins_dir> <request_qt_conf>])
-# Copies Qt plugins, writes a Qt configuration file (if needed) and fixes up a
-# Qt4 executable using BundleUtilities so it is standalone and can be
-# drag-and-drop copied to another machine as long as all of the system
-# libraries are compatible.
+# FIXUP_QT4_EXECUTABLE(<executable> [<qtplugins> <libs> <dirs> <plugins_dir> <request_qt_conf>])
+#
+# Copies Qt plugins, writes a Qt configuration file (if needed) and
+# fixes up a Qt4 executable using BundleUtilities so it is standalone
+# and can be drag-and-drop copied to another machine as long as all of
+# the system libraries are compatible.
#
# <executable> should point to the executable to be fixed-up.
#
-# <qtplugins> should contain a list of the names or paths of any Qt plugins
-# to be installed.
+# <qtplugins> should contain a list of the names or paths of any Qt
+# plugins to be installed.
#
-# <libs> will be passed to BundleUtilities and should be a list of any already
-# installed plugins, libraries or executables to also be fixed-up.
+# <libs> will be passed to BundleUtilities and should be a list of any
+# already installed plugins, libraries or executables to also be
+# fixed-up.
#
-# <dirs> will be passed to BundleUtilities and should contain and directories
-# to be searched to find library dependencies.
+# <dirs> will be passed to BundleUtilities and should contain and
+# directories to be searched to find library dependencies.
#
# <plugins_dir> allows an custom plugins directory to be used.
#
-# <request_qt_conf> will force a qt.conf file to be written even if not needed.
+# <request_qt_conf> will force a qt.conf file to be written even if not
+# needed.
+#
+# ::
+#
+# INSTALL_QT4_PLUGIN_PATH(plugin executable copy installed_plugin_path_var <plugins_dir> <component> <configurations>)
#
-# INSTALL_QT4_PLUGIN_PATH(plugin executable copy installed_plugin_path_var <plugins_dir> <component> <configurations>)
# Install (or copy) a resolved <plugin> to the default plugins directory
# (or <plugins_dir>) relative to <executable> and store the result in
# <installed_plugin_path_var>.
#
# If <copy> is set to TRUE then the plugins will be copied rather than
-# installed. This is to allow this module to be used at CMake time rather than
-# install time.
+# installed. This is to allow this module to be used at CMake time
+# rather than install time.
#
# If <component> is set then anything installed will use this COMPONENT.
#
-# INSTALL_QT4_PLUGIN(plugin executable copy installed_plugin_path_var <plugins_dir> <component>)
-# Install (or copy) an unresolved <plugin> to the default plugins directory
-# (or <plugins_dir>) relative to <executable> and store the result in
-# <installed_plugin_path_var>. See documentation of INSTALL_QT4_PLUGIN_PATH.
-#
-# INSTALL_QT4_EXECUTABLE(<executable> [<qtplugins> <libs> <dirs> <plugins_dir> <request_qt_conf> <component>])
-# Installs Qt plugins, writes a Qt configuration file (if needed) and fixes up
-# a Qt4 executable using BundleUtilities so it is standalone and can be
-# drag-and-drop copied to another machine as long as all of the system
-# libraries are compatible. The executable will be fixed-up at install time.
-# <component> is the COMPONENT used for bundle fixup and plugin installation.
-# See documentation of FIXUP_QT4_BUNDLE.
+# ::
+#
+# INSTALL_QT4_PLUGIN(plugin executable copy installed_plugin_path_var <plugins_dir> <component>)
+#
+# Install (or copy) an unresolved <plugin> to the default plugins
+# directory (or <plugins_dir>) relative to <executable> and store the
+# result in <installed_plugin_path_var>. See documentation of
+# INSTALL_QT4_PLUGIN_PATH.
+#
+# ::
+#
+# INSTALL_QT4_EXECUTABLE(<executable> [<qtplugins> <libs> <dirs> <plugins_dir> <request_qt_conf> <component>])
+#
+# Installs Qt plugins, writes a Qt configuration file (if needed) and
+# fixes up a Qt4 executable using BundleUtilities so it is standalone
+# and can be drag-and-drop copied to another machine as long as all of
+# the system libraries are compatible. The executable will be fixed-up
+# at install time. <component> is the COMPONENT used for bundle fixup
+# and plugin installation. See documentation of FIXUP_QT4_BUNDLE.
#=============================================================================
# Copyright 2011 Mike McQuaid <mike@mikemcquaid.com>
diff --git a/Modules/Documentation.cmake b/Modules/Documentation.cmake
index d1c3afe..be6aaea 100644
--- a/Modules/Documentation.cmake
+++ b/Modules/Documentation.cmake
@@ -1,6 +1,11 @@
-# - DocumentationVTK.cmake
-# This file provides support for the VTK documentation framework.
-# It relies on several tools (Doxygen, Perl, etc).
+#.rst:
+# Documentation
+# -------------
+#
+# DocumentationVTK.cmake
+#
+# This file provides support for the VTK documentation framework. It
+# relies on several tools (Doxygen, Perl, etc).
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.
diff --git a/Modules/ExternalData.cmake b/Modules/ExternalData.cmake
index 50669bd..1e2698c 100644
--- a/Modules/ExternalData.cmake
+++ b/Modules/ExternalData.cmake
@@ -1,146 +1,186 @@
-# - Manage data files stored outside source tree
-# Use this module to unambiguously reference data files stored outside the
-# source tree and fetch them at build time from arbitrary local and remote
-# content-addressed locations. Functions provided by this module recognize
-# arguments with the syntax "DATA{<name>}" as references to external data,
-# replace them with full paths to local copies of those data, and create build
-# rules to fetch and update the local copies.
-#
-# The DATA{} syntax is literal and the <name> is a full or relative path
-# within the source tree. The source tree must contain either a real data
-# file at <name> or a "content link" at <name><ext> containing a hash of the
-# real file using a hash algorithm corresponding to <ext>. For example, the
-# argument "DATA{img.png}" may be satisfied by either a real "img.png" file in
-# the current source directory or a "img.png.md5" file containing its MD5 sum.
-#
-# The 'ExternalData_Expand_Arguments' function evaluates DATA{} references
-# in its arguments and constructs a new list of arguments:
+#.rst:
+# ExternalData
+# ------------
+#
+# Manage data files stored outside source tree
+#
+# Use this module to unambiguously reference data files stored outside
+# the source tree and fetch them at build time from arbitrary local and
+# remote content-addressed locations. Functions provided by this module
+# recognize arguments with the syntax ``DATA{<name>}`` as references to
+# external data, replace them with full paths to local copies of those
+# data, and create build rules to fetch and update the local copies.
+#
+# The ``DATA{}`` syntax is literal and the ``<name>`` is a full or relative path
+# within the source tree. The source tree must contain either a real
+# data file at ``<name>`` or a "content link" at ``<name><ext>`` containing a
+# hash of the real file using a hash algorithm corresponding to ``<ext>``.
+# For example, the argument ``DATA{img.png}`` may be satisfied by either a
+# real ``img.png`` file in the current source directory or a ``img.png.md5``
+# file containing its MD5 sum.
+#
+# The ``ExternalData_Expand_Arguments`` function evaluates ``DATA{}``
+# references in its arguments and constructs a new list of arguments:
+#
+# .. code-block:: cmake
+#
# ExternalData_Expand_Arguments(
# <target> # Name of data management target
# <outVar> # Output variable
# [args...] # Input arguments, DATA{} allowed
# )
-# It replaces each DATA{} reference in an argument with the full path of a
-# real data file on disk that will exist after the <target> builds.
#
-# The 'ExternalData_Add_Test' function wraps around the CMake add_test()
-# command but supports DATA{} references in its arguments:
+# It replaces each ``DATA{}`` reference in an argument with the full path of
+# a real data file on disk that will exist after the ``<target>`` builds.
+#
+# The ``ExternalData_Add_Test`` function wraps around the CMake
+# :command:`add_test` command but supports ``DATA{}`` references in
+# its arguments:
+#
+# .. code-block:: cmake
+#
# ExternalData_Add_Test(
# <target> # Name of data management target
# ... # Arguments of add_test(), DATA{} allowed
# )
-# It passes its arguments through ExternalData_Expand_Arguments and then
-# invokes add_test() using the results.
#
-# The 'ExternalData_Add_Target' function creates a custom target to manage
-# local instances of data files stored externally:
+# It passes its arguments through ``ExternalData_Expand_Arguments`` and then
+# invokes the :command:`add_test` command using the results.
+#
+# The ``ExternalData_Add_Target`` function creates a custom target to
+# manage local instances of data files stored externally:
+#
+# .. code-block:: cmake
+#
# ExternalData_Add_Target(
# <target> # Name of data management target
# )
-# It creates custom commands in the target as necessary to make data files
-# available for each DATA{} reference previously evaluated by other functions
-# provided by this module. A list of URL templates must be provided in the
-# variable ExternalData_URL_TEMPLATES using the placeholders "%(algo)" and
-# "%(hash)" in each template. Data fetch rules try each URL template in order
-# by substituting the hash algorithm name for "%(algo)" and the hash value for
-# "%(hash)".
-#
-# The following hash algorithms are supported:
-# %(algo) <ext> Description
-# ------- ----- -----------
-# MD5 .md5 Message-Digest Algorithm 5, RFC 1321
-# SHA1 .sha1 US Secure Hash Algorithm 1, RFC 3174
-# SHA224 .sha224 US Secure Hash Algorithms, RFC 4634
-# SHA256 .sha256 US Secure Hash Algorithms, RFC 4634
-# SHA384 .sha384 US Secure Hash Algorithms, RFC 4634
-# SHA512 .sha512 US Secure Hash Algorithms, RFC 4634
+#
+# It creates custom commands in the target as necessary to make data
+# files available for each ``DATA{}`` reference previously evaluated by
+# other functions provided by this module. A list of URL templates may
+# be provided in the variable ``ExternalData_URL_TEMPLATES`` using the
+# placeholders ``%(algo)`` and ``%(hash)`` in each template. Data fetch
+# rules try each URL template in order by substituting the hash
+# algorithm name for ``%(algo)`` and the hash value for ``%(hash)``.
+#
+# The following hash algorithms are supported::
+#
+# %(algo) <ext> Description
+# ------- ----- -----------
+# MD5 .md5 Message-Digest Algorithm 5, RFC 1321
+# SHA1 .sha1 US Secure Hash Algorithm 1, RFC 3174
+# SHA224 .sha224 US Secure Hash Algorithms, RFC 4634
+# SHA256 .sha256 US Secure Hash Algorithms, RFC 4634
+# SHA384 .sha384 US Secure Hash Algorithms, RFC 4634
+# SHA512 .sha512 US Secure Hash Algorithms, RFC 4634
+#
# Note that the hashes are used only for unique data identification and
# download verification. This is not security software.
#
# Example usage:
-# include(ExternalData)
-# set(ExternalData_URL_TEMPLATES "file:///local/%(algo)/%(hash)"
-# "http://data.org/%(algo)/%(hash)")
-# ExternalData_Add_Test(MyData
-# NAME MyTest
-# COMMAND MyExe DATA{MyInput.png}
-# )
-# ExternalData_Add_Target(MyData)
-# When test "MyTest" runs the "DATA{MyInput.png}" argument will be replaced by
-# the full path to a real instance of the data file "MyInput.png" on disk. If
-# the source tree contains a content link such as "MyInput.png.md5" then the
-# "MyData" target creates a real "MyInput.png" in the build tree.
-#
-# The DATA{} syntax can be told to fetch a file series using the form
-# "DATA{<name>,:}", where the ":" is literal. If the source tree contains a
-# group of files or content links named like a series then a reference to one
-# member adds rules to fetch all of them. Although all members of a series
-# are fetched, only the file originally named by the DATA{} argument is
-# substituted for it. The default configuration recognizes file series names
-# ending with "#.ext", "_#.ext", ".#.ext", or "-#.ext" where "#" is a sequence
-# of decimal digits and ".ext" is any single extension. Configure it with a
-# regex that parses <number> and <suffix> parts from the end of <name>:
+#
+# .. code-block:: cmake
+#
+# include(ExternalData)
+# set(ExternalData_URL_TEMPLATES "file:///local/%(algo)/%(hash)"
+# "file:////host/share/%(algo)/%(hash)"
+# "http://data.org/%(algo)/%(hash)")
+# ExternalData_Add_Test(MyData
+# NAME MyTest
+# COMMAND MyExe DATA{MyInput.png}
+# )
+# ExternalData_Add_Target(MyData)
+#
+# When test ``MyTest`` runs the ``DATA{MyInput.png}`` argument will be
+# replaced by the full path to a real instance of the data file
+# ``MyInput.png`` on disk. If the source tree contains a content link
+# such as ``MyInput.png.md5`` then the ``MyData`` target creates a real
+# ``MyInput.png`` in the build tree.
+#
+# The ``DATA{}`` syntax can be told to fetch a file series using the form
+# ``DATA{<name>,:}``, where the ``:`` is literal. If the source tree
+# contains a group of files or content links named like a series then a
+# reference to one member adds rules to fetch all of them. Although all
+# members of a series are fetched, only the file originally named by the
+# ``DATA{}`` argument is substituted for it. The default configuration
+# recognizes file series names ending with ``#.ext``, ``_#.ext``, ``.#.ext``,
+# or ``-#.ext`` where ``#`` is a sequence of decimal digits and ``.ext`` is
+# any single extension. Configure it with a regex that parses ``<number>``
+# and ``<suffix>`` parts from the end of ``<name>``::
+#
# ExternalData_SERIES_PARSE = regex of the form (<number>)(<suffix>)$
-# For more complicated cases set:
+#
+# For more complicated cases set::
+#
# ExternalData_SERIES_PARSE = regex with at least two () groups
# ExternalData_SERIES_PARSE_PREFIX = <prefix> regex group number, if any
# ExternalData_SERIES_PARSE_NUMBER = <number> regex group number
# ExternalData_SERIES_PARSE_SUFFIX = <suffix> regex group number
+#
# Configure series number matching with a regex that matches the
-# <number> part of series members named <prefix><number><suffix>:
+# ``<number>`` part of series members named ``<prefix><number><suffix>``::
+#
# ExternalData_SERIES_MATCH = regex matching <number> in all series members
-# Note that the <suffix> of a series does not include a hash-algorithm
+#
+# Note that the ``<suffix>`` of a series does not include a hash-algorithm
# extension.
#
-# The DATA{} syntax can alternatively match files associated with the named
-# file and contained in the same directory. Associated files may be specified
-# by options using the syntax DATA{<name>,<opt1>,<opt2>,...}. Each option may
-# specify one file by name or specify a regular expression to match file names
-# using the syntax REGEX:<regex>. For example, the arguments
-# DATA{MyData/MyInput.mhd,MyInput.img} # File pair
-# DATA{MyData/MyFrames00.png,REGEX:MyFrames[0-9]+\\.png} # Series
-# will pass MyInput.mha and MyFrames00.png on the command line but ensure
-# that the associated files are present next to them.
-#
-# The DATA{} syntax may reference a directory using a trailing slash and a
-# list of associated files. The form DATA{<name>/,<opt1>,<opt2>,...} adds
-# rules to fetch any files in the directory that match one of the associated
-# file options. For example, the argument DATA{MyDataDir/,REGEX:.*} will pass
-# the full path to a MyDataDir directory on the command line and ensure that
-# the directory contains files corresponding to every file or content link in
-# the MyDataDir source directory.
-#
-# The variable ExternalData_LINK_CONTENT may be set to the name of a supported
-# hash algorithm to enable automatic conversion of real data files referenced
-# by the DATA{} syntax into content links. For each such <file> a content
-# link named "<file><ext>" is created. The original file is renamed to the
-# form ".ExternalData_<algo>_<hash>" to stage it for future transmission to
-# one of the locations in the list of URL templates (by means outside the
-# scope of this module). The data fetch rule created for the content link
-# will use the staged object if it cannot be found using any URL template.
-#
-# The variable ExternalData_OBJECT_STORES may be set to a list of local
-# directories that store objects using the layout <dir>/%(algo)/%(hash).
-# These directories will be searched first for a needed object. If the object
-# is not available in any store then it will be fetched remotely using the URL
-# templates and added to the first local store listed. If no stores are
-# specified the default is a location inside the build tree.
-#
-# The variable ExternalData_SOURCE_ROOT may be set to the highest source
-# directory containing any path named by a DATA{} reference. The default is
-# CMAKE_SOURCE_DIR. ExternalData_SOURCE_ROOT and CMAKE_SOURCE_DIR must refer
-# to directories within a single source distribution (e.g. they come together
-# in one tarball).
-#
-# The variable ExternalData_BINARY_ROOT may be set to the directory to hold
-# the real data files named by expanded DATA{} references. The default is
-# CMAKE_BINARY_DIR. The directory layout will mirror that of content links
-# under ExternalData_SOURCE_ROOT.
-#
-# Variables ExternalData_TIMEOUT_INACTIVITY and ExternalData_TIMEOUT_ABSOLUTE
-# set the download inactivity and absolute timeouts, in seconds. The defaults
-# are 60 seconds and 300 seconds, respectively. Set either timeout to 0
-# seconds to disable enforcement.
+# The ``DATA{}`` syntax can alternatively match files associated with the
+# named file and contained in the same directory. Associated files may
+# be specified by options using the syntax
+# ``DATA{<name>,<opt1>,<opt2>,...}``. Each option may specify one file by
+# name or specify a regular expression to match file names using the
+# syntax ``REGEX:<regex>``. For example, the arguments::
+#
+# DATA{MyData/MyInput.mhd,MyInput.img} # File pair
+# DATA{MyData/MyFrames00.png,REGEX:MyFrames[0-9]+\\.png} # Series
+#
+# will pass ``MyInput.mha`` and ``MyFrames00.png`` on the command line but
+# ensure that the associated files are present next to them.
+#
+# The ``DATA{}`` syntax may reference a directory using a trailing slash and
+# a list of associated files. The form ``DATA{<name>/,<opt1>,<opt2>,...}``
+# adds rules to fetch any files in the directory that match one of the
+# associated file options. For example, the argument
+# ``DATA{MyDataDir/,REGEX:.*}`` will pass the full path to a ``MyDataDir``
+# directory on the command line and ensure that the directory contains
+# files corresponding to every file or content link in the ``MyDataDir``
+# source directory.
+#
+# The variable ``ExternalData_LINK_CONTENT`` may be set to the name of a
+# supported hash algorithm to enable automatic conversion of real data
+# files referenced by the ``DATA{}`` syntax into content links. For each
+# such ``<file>`` a content link named ``<file><ext>`` is created. The
+# original file is renamed to the form ``.ExternalData_<algo>_<hash>`` to
+# stage it for future transmission to one of the locations in the list
+# of URL templates (by means outside the scope of this module). The
+# data fetch rule created for the content link will use the staged
+# object if it cannot be found using any URL template.
+#
+# The variable ``ExternalData_OBJECT_STORES`` may be set to a list of local
+# directories that store objects using the layout ``<dir>/%(algo)/%(hash)``.
+# These directories will be searched first for a needed object. If the
+# object is not available in any store then it will be fetched remotely
+# using the URL templates and added to the first local store listed. If
+# no stores are specified the default is a location inside the build
+# tree.
+#
+# The variable ``ExternalData_SOURCE_ROOT`` may be set to the highest source
+# directory containing any path named by a ``DATA{}`` reference. The
+# default is ``CMAKE_SOURCE_DIR``. ``ExternalData_SOURCE_ROOT`` and
+# ``CMAKE_SOURCE_DIR`` must refer to directories within a single source
+# distribution (e.g. they come together in one tarball).
+#
+# The variable ``ExternalData_BINARY_ROOT`` may be set to the directory to
+# hold the real data files named by expanded ``DATA{}`` references. The
+# default is ``CMAKE_BINARY_DIR``. The directory layout will mirror that of
+# content links under ``ExternalData_SOURCE_ROOT``.
+#
+# Variables ``ExternalData_TIMEOUT_INACTIVITY`` and
+# ``ExternalData_TIMEOUT_ABSOLUTE`` set the download inactivity and absolute
+# timeouts, in seconds. The defaults are 60 seconds and 300 seconds,
+# respectively. Set either timeout to 0 seconds to disable enforcement.
#=============================================================================
# Copyright 2010-2013 Kitware, Inc.
@@ -162,8 +202,9 @@ function(ExternalData_add_test target)
endfunction()
function(ExternalData_add_target target)
- if(NOT ExternalData_URL_TEMPLATES)
- message(FATAL_ERROR "ExternalData_URL_TEMPLATES is not set!")
+ if(NOT ExternalData_URL_TEMPLATES AND NOT ExternalData_OBJECT_STORES)
+ message(FATAL_ERROR
+ "Neither ExternalData_URL_TEMPLATES nor ExternalData_OBJECT_STORES is set!")
endif()
if(NOT ExternalData_OBJECT_STORES)
set(ExternalData_OBJECT_STORES ${CMAKE_BINARY_DIR}/ExternalData/Objects)
@@ -585,8 +626,9 @@ endif()
if(ExternalData_CONFIG)
include(${ExternalData_CONFIG})
endif()
-if(NOT ExternalData_URL_TEMPLATES)
- message(FATAL_ERROR "No ExternalData_URL_TEMPLATES set!")
+if(NOT ExternalData_URL_TEMPLATES AND NOT ExternalData_OBJECT_STORES)
+ message(FATAL_ERROR
+ "Neither ExternalData_URL_TEMPLATES nor ExternalData_OBJECT_STORES is set!")
endif()
function(_ExternalData_link_or_copy src dst)
@@ -714,6 +756,9 @@ function(_ExternalData_download_object name hash algo var_obj)
set(obj "${staged}")
message(STATUS "Staged object: \"${obj}\"")
else()
+ if(NOT tried)
+ set(tried "\n (No ExternalData_URL_TEMPLATES given)")
+ endif()
message(FATAL_ERROR "Object ${algo}=${hash} not found at:${tried}")
endif()
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index 0781ea1..0df51a8 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -1,7 +1,15 @@
-# - Create custom targets to build projects in external trees
-# The 'ExternalProject_Add' function creates a custom target to drive
+#.rst:
+# ExternalProject
+# ---------------
+#
+# Create custom targets to build projects in external trees
+#
+# The ``ExternalProject_Add`` function creates a custom target to drive
# download, update/patch, configure, build, install and test steps of an
# external project:
+#
+# .. code-block:: cmake
+#
# ExternalProject_Add(<name> # Name for custom target
# [DEPENDS projects...] # Targets on which the project depends
# [PREFIX dir] # Root dir for entire project
@@ -22,6 +30,7 @@
# [SVN_TRUST_CERT 1 ] # Trust the Subversion server site certificate
# [GIT_REPOSITORY url] # URL of git repo
# [GIT_TAG tag] # Git branch name, commit id or tag
+# [GIT_SUBMODULES modules...] # Git submodules that shall be updated, all if empty
# [HG_REPOSITORY url] # URL of mercurial repo
# [HG_TAG tag] # Mercurial branch name, commit id or tag
# [URL /.../src.tgz] # Full path or URL of source
@@ -62,40 +71,45 @@
# #--Custom targets-------------
# [STEP_TARGETS st1 st2 ...] # Generate custom targets for these steps
# )
-# The *_DIR options specify directories for the project, with default
-# directories computed as follows.
-# If the PREFIX option is given to ExternalProject_Add() or the EP_PREFIX
-# directory property is set, then an external project is built and installed
-# under the specified prefix:
-# TMP_DIR = <prefix>/tmp
-# STAMP_DIR = <prefix>/src/<name>-stamp
-# DOWNLOAD_DIR = <prefix>/src
-# SOURCE_DIR = <prefix>/src/<name>
-# BINARY_DIR = <prefix>/src/<name>-build
-# INSTALL_DIR = <prefix>
-# Otherwise, if the EP_BASE directory property is set then components
-# of an external project are stored under the specified base:
-# TMP_DIR = <base>/tmp/<name>
-# STAMP_DIR = <base>/Stamp/<name>
-# DOWNLOAD_DIR = <base>/Download/<name>
-# SOURCE_DIR = <base>/Source/<name>
-# BINARY_DIR = <base>/Build/<name>
-# INSTALL_DIR = <base>/Install/<name>
-# If no PREFIX, EP_PREFIX, or EP_BASE is specified then the default
-# is to set PREFIX to "<name>-prefix".
-# Relative paths are interpreted with respect to the build directory
-# corresponding to the source directory in which ExternalProject_Add is
-# invoked.
#
-# If SOURCE_DIR is explicitly set to an existing directory the project
-# will be built from it.
-# Otherwise a download step must be specified using one of the
-# DOWNLOAD_COMMAND, CVS_*, SVN_*, or URL options.
-# The URL option may refer locally to a directory or source tarball,
-# or refer to a remote tarball (e.g. http://.../src.tgz).
+# The ``*_DIR`` options specify directories for the project, with default
+# directories computed as follows. If the ``PREFIX`` option is given to
+# ``ExternalProject_Add()`` or the ``EP_PREFIX`` directory property is set,
+# then an external project is built and installed under the specified prefix::
+#
+# TMP_DIR = <prefix>/tmp
+# STAMP_DIR = <prefix>/src/<name>-stamp
+# DOWNLOAD_DIR = <prefix>/src
+# SOURCE_DIR = <prefix>/src/<name>
+# BINARY_DIR = <prefix>/src/<name>-build
+# INSTALL_DIR = <prefix>
+#
+# Otherwise, if the ``EP_BASE`` directory property is set then components
+# of an external project are stored under the specified base::
+#
+# TMP_DIR = <base>/tmp/<name>
+# STAMP_DIR = <base>/Stamp/<name>
+# DOWNLOAD_DIR = <base>/Download/<name>
+# SOURCE_DIR = <base>/Source/<name>
+# BINARY_DIR = <base>/Build/<name>
+# INSTALL_DIR = <base>/Install/<name>
+#
+# If no ``PREFIX``, ``EP_PREFIX``, or ``EP_BASE`` is specified then the
+# default is to set ``PREFIX`` to ``<name>-prefix``. Relative paths are
+# interpreted with respect to the build directory corresponding to the
+# source directory in which ``ExternalProject_Add`` is invoked.
+#
+# If ``SOURCE_DIR`` is explicitly set to an existing directory the project
+# will be built from it. Otherwise a download step must be specified
+# using one of the ``DOWNLOAD_COMMAND``, ``CVS_*``, ``SVN_*``, or ``URL``
+# options. The ``URL`` option may refer locally to a directory or source
+# tarball, or refer to a remote tarball (e.g. ``http://.../src.tgz``).
+#
+# The ``ExternalProject_Add_Step`` function adds a custom step to an
+# external project:
+#
+# .. code-block:: cmake
#
-# The 'ExternalProject_Add_Step' function adds a custom step to an external
-# project:
# ExternalProject_Add_Step(<name> <step> # Names of project and custom step
# [COMMAND cmd...] # Command line invoked by this step
# [COMMENT "text..."] # Text printed when step executes
@@ -106,61 +120,66 @@
# [WORKING_DIRECTORY dir] # Working directory for command
# [LOG 1] # Wrap step in script to log output
# )
-# The command line, comment, and working directory of every standard
-# and custom step is processed to replace tokens
-# <SOURCE_DIR>,
-# <BINARY_DIR>,
-# <INSTALL_DIR>,
-# and <TMP_DIR>
-# with corresponding property values.
#
-# Any builtin step that specifies a "<step>_COMMAND cmd..." or custom
-# step that specifies a "COMMAND cmd..." may specify additional command
-# lines using the form "COMMAND cmd...". At build time the commands will
-# be executed in order and aborted if any one fails. For example:
+# The command line, comment, and working directory of every standard and
+# custom step is processed to replace tokens ``<SOURCE_DIR>``,
+# ``<BINARY_DIR>``, ``<INSTALL_DIR>``, and ``<TMP_DIR>`` with
+# corresponding property values.
+#
+# Any builtin step that specifies a ``<step>_COMMAND cmd...`` or custom
+# step that specifies a ``COMMAND cmd...`` may specify additional command
+# lines using the form ``COMMAND cmd...``. At build time the commands
+# will be executed in order and aborted if any one fails. For example::
+#
# ... BUILD_COMMAND make COMMAND echo done ...
-# specifies to run "make" and then "echo done" during the build step.
-# Whether the current working directory is preserved between commands
-# is not defined. Behavior of shell operators like "&&" is not defined.
#
-# The 'ExternalProject_Get_Property' function retrieves external project
-# target properties:
+# specifies to run ``make`` and then ``echo done`` during the build step.
+# Whether the current working directory is preserved between commands is
+# not defined. Behavior of shell operators like ``&&`` is not defined.
+#
+# The ``ExternalProject_Get_Property`` function retrieves external project
+# target properties::
+#
# ExternalProject_Get_Property(<name> [prop1 [prop2 [...]]])
-# It stores property values in variables of the same name.
-# Property names correspond to the keyword argument names of
-# 'ExternalProject_Add'.
#
-# The 'ExternalProject_Add_StepTargets' function generates custom targets for
-# the steps listed:
+# It stores property values in variables of the same name. Property
+# names correspond to the keyword argument names of
+# ``ExternalProject_Add``.
+#
+# The ``ExternalProject_Add_StepTargets`` function generates custom
+# targets for the steps listed::
+#
# ExternalProject_Add_StepTargets(<name> [step1 [step2 [...]]])
#
-# If STEP_TARGETS is set then ExternalProject_Add_StepTargets is automatically
-# called at the end of matching calls to ExternalProject_Add_Step. Pass
-# STEP_TARGETS explicitly to individual ExternalProject_Add calls, or
-# implicitly to all ExternalProject_Add calls by setting the directory property
-# EP_STEP_TARGETS.
+# If ``STEP_TARGETS`` is set then ``ExternalProject_Add_StepTargets`` is
+# automatically called at the end of matching calls to
+# ``ExternalProject_Add_Step``. Pass ``STEP_TARGETS`` explicitly to
+# individual ``ExternalProject_Add`` calls, or implicitly to all
+# ``ExternalProject_Add`` calls by setting the directory property
+# ``EP_STEP_TARGETS``.
#
-# If STEP_TARGETS is not set, clients may still manually call
-# ExternalProject_Add_StepTargets after calling ExternalProject_Add or
-# ExternalProject_Add_Step.
+# If ``STEP_TARGETS`` is not set, clients may still manually call
+# ``ExternalProject_Add_StepTargets`` after calling
+# ``ExternalProject_Add`` or ``ExternalProject_Add_Step``.
#
# This functionality is provided to make it easy to drive the steps
-# independently of each other by specifying targets on build command lines.
-# For example, you may be submitting to a sub-project based dashboard, where
-# you want to drive the configure portion of the build, then submit to the
-# dashboard, followed by the build portion, followed by tests. If you invoke
-# a custom target that depends on a step halfway through the step dependency
-# chain, then all the previous steps will also run to ensure everything is
-# up to date.
+# independently of each other by specifying targets on build command
+# lines. For example, you may be submitting to a sub-project based
+# dashboard, where you want to drive the configure portion of the build,
+# then submit to the dashboard, followed by the build portion, followed
+# by tests. If you invoke a custom target that depends on a step
+# halfway through the step dependency chain, then all the previous steps
+# will also run to ensure everything is up to date.
#
-# For example, to drive configure, build and test steps independently for each
-# ExternalProject_Add call in your project, write the following line prior to
-# any ExternalProject_Add calls in your CMakeLists file:
+# For example, to drive configure, build and test steps independently
+# for each ``ExternalProject_Add`` call in your project, write the following
+# line prior to any ``ExternalProject_Add`` calls in your ``CMakeLists.txt``
+# file::
#
-# set_property(DIRECTORY PROPERTY EP_STEP_TARGETS configure build test)
+# set_property(DIRECTORY PROPERTY EP_STEP_TARGETS configure build test)
#=============================================================================
-# Copyright 2008-2012 Kitware, Inc.
+# Copyright 2008-2013 Kitware, Inc.
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
@@ -271,7 +290,7 @@ define_property(DIRECTORY PROPERTY "EP_STEP_TARGETS" INHERITED
)
-function(_ep_write_gitclone_script script_filename source_dir git_EXECUTABLE git_repository git_tag src_name work_dir gitclone_infofile gitclone_stampfile)
+function(_ep_write_gitclone_script script_filename source_dir git_EXECUTABLE git_repository git_tag git_submodules src_name work_dir gitclone_infofile gitclone_stampfile)
file(WRITE ${script_filename}
"if(\"${git_tag}\" STREQUAL \"\")
message(FATAL_ERROR \"Tag for git checkout should not be empty.\")
@@ -334,7 +353,7 @@ if(error_code)
endif()
execute_process(
- COMMAND \"${git_EXECUTABLE}\" submodule update --recursive
+ COMMAND \"${git_EXECUTABLE}\" submodule update --recursive ${git_submodules}
WORKING_DIRECTORY \"${work_dir}/${src_name}\"
RESULT_VARIABLE error_code
)
@@ -422,7 +441,7 @@ endif()
endfunction()
-function(_ep_write_gitupdate_script script_filename git_EXECUTABLE git_tag git_repository work_dir)
+function(_ep_write_gitupdate_script script_filename git_EXECUTABLE git_tag git_submodules git_repository work_dir)
file(WRITE ${script_filename}
"if(\"${git_tag}\" STREQUAL \"\")
message(FATAL_ERROR \"Tag for git checkout should not be empty.\")
@@ -481,7 +500,7 @@ if(error_code OR is_remote_ref OR NOT (\"\${tag_sha}\" STREQUAL \"\${head_sha}\"
endif()
execute_process(
- COMMAND \"${git_EXECUTABLE}\" submodule update --recursive
+ COMMAND \"${git_EXECUTABLE}\" submodule update --recursive ${git_submodules}
WORKING_DIRECTORY \"${work_dir}/${src_name}\"
RESULT_VARIABLE error_code
)
@@ -567,13 +586,30 @@ message(STATUS \"downloading... done\")
endfunction()
-function(_ep_write_verifyfile_script script_filename local hash)
+function(_ep_write_verifyfile_script script_filename local hash retries download_script)
if("${hash}" MATCHES "${_ep_hash_regex}")
set(algo "${CMAKE_MATCH_1}")
string(TOLOWER "${CMAKE_MATCH_2}" expect_value)
set(script_content "set(expect_value \"${expect_value}\")
-file(${algo} \"\${file}\" actual_value)
-if(\"\${actual_value}\" STREQUAL \"\${expect_value}\")
+set(attempt 0)
+set(succeeded 0)
+while(\${attempt} LESS ${retries} OR \${attempt} EQUAL ${retries} AND NOT \${succeeded})
+ file(${algo} \"\${file}\" actual_value)
+ if(\"\${actual_value}\" STREQUAL \"\${expect_value}\")
+ set(succeeded 1)
+ elseif(\${attempt} LESS ${retries})
+ message(STATUS \"${algo} hash of \${file}
+does not match expected value
+ expected: \${expect_value}
+ actual: \${actual_value}
+Retrying download.
+\")
+ file(REMOVE \"\${file}\")
+ execute_process(COMMAND ${CMAKE_COMMAND} -P \"${download_script}\")
+ endif()
+endwhile()
+
+if(\${succeeded})
message(STATUS \"verifying file... done\")
else()
message(FATAL_ERROR \"error: ${algo} hash of
@@ -1288,6 +1324,7 @@ function(_ep_add_download_command name)
if(NOT git_tag)
set(git_tag "master")
endif()
+ get_property(git_submodules TARGET ${name} PROPERTY _EP_GIT_SUBMODULES)
# For the download step, and the git clone operation, only the repository
# should be recorded in a configured RepositoryInfo file. If the repo
@@ -1312,7 +1349,7 @@ function(_ep_add_download_command name)
# The script will delete the source directory and then call git clone.
#
_ep_write_gitclone_script(${tmp_dir}/${name}-gitclone.cmake ${source_dir}
- ${GIT_EXECUTABLE} ${git_repository} ${git_tag} ${src_name} ${work_dir}
+ ${GIT_EXECUTABLE} ${git_repository} ${git_tag} "${git_submodules}" ${src_name} ${work_dir}
${stamp_dir}/${name}-gitinfo.txt ${stamp_dir}/${name}-gitclone-lastrun.txt
)
set(comment "Performing download step (git clone) for '${name}'")
@@ -1376,6 +1413,8 @@ function(_ep_add_download_command name)
set(repository "external project URL")
set(module "${url}")
set(tag "${hash}")
+ set(retries 0)
+ set(download_script "")
configure_file(
"${CMAKE_ROOT}/Modules/RepositoryInfo.txt.in"
"${stamp_dir}/${name}-urlinfo.txt"
@@ -1405,16 +1444,17 @@ function(_ep_add_download_command name)
get_property(timeout TARGET ${name} PROPERTY _EP_TIMEOUT)
get_property(tls_verify TARGET ${name} PROPERTY _EP_TLS_VERIFY)
get_property(tls_cainfo TARGET ${name} PROPERTY _EP_TLS_CAINFO)
- _ep_write_downloadfile_script("${stamp_dir}/download-${name}.cmake"
- "${url}" "${file}" "${timeout}" "${hash}" "${tls_verify}" "${tls_cainfo}")
- set(cmd ${CMAKE_COMMAND} -P ${stamp_dir}/download-${name}.cmake
+ set(download_script "${stamp_dir}/download-${name}.cmake")
+ _ep_write_downloadfile_script("${download_script}" "${url}" "${file}" "${timeout}" "${hash}" "${tls_verify}" "${tls_cainfo}")
+ set(cmd ${CMAKE_COMMAND} -P "${download_script}"
COMMAND)
+ set(retries 3)
set(comment "Performing download step (download, verify and extract) for '${name}'")
else()
set(file "${url}")
set(comment "Performing download step (verify and extract) for '${name}'")
endif()
- _ep_write_verifyfile_script("${stamp_dir}/verify-${name}.cmake" "${file}" "${hash}")
+ _ep_write_verifyfile_script("${stamp_dir}/verify-${name}.cmake" "${file}" "${hash}" "${retries}" "${download_script}")
list(APPEND cmd ${CMAKE_COMMAND} -P ${stamp_dir}/verify-${name}.cmake
COMMAND)
_ep_write_extractfile_script("${stamp_dir}/extract-${name}.cmake" "${name}" "${file}" "${source_dir}")
@@ -1503,8 +1543,9 @@ function(_ep_add_update_command name)
if(NOT git_tag)
set(git_tag "master")
endif()
+ get_property(git_submodules TARGET ${name} PROPERTY _EP_GIT_SUBMODULES)
_ep_write_gitupdate_script(${tmp_dir}/${name}-gitupdate.cmake
- ${GIT_EXECUTABLE} ${git_tag} ${git_repository} ${work_dir}
+ ${GIT_EXECUTABLE} ${git_tag} "${git_submodules}" ${git_repository} ${work_dir}
)
set(cmd ${CMAKE_COMMAND} -P ${tmp_dir}/${name}-gitupdate.cmake)
set(always 1)
diff --git a/Modules/FeatureSummary.cmake b/Modules/FeatureSummary.cmake
index 5d98ac3..c0e63d5 100644
--- a/Modules/FeatureSummary.cmake
+++ b/Modules/FeatureSummary.cmake
@@ -1,167 +1,244 @@
-# - Macros for generating a summary of enabled/disabled features
+#.rst:
+# FeatureSummary
+# --------------
#
-# This module provides the macros feature_summary(), set_package_properties() and
-# add_feature_info().
-# For compatibility it also still provides set_package_info(), set_feature_info(),
+# Macros for generating a summary of enabled/disabled features
+#
+#
+#
+# This module provides the macros feature_summary(),
+# set_package_properties() and add_feature_info(). For compatibility it
+# also still provides set_package_info(), set_feature_info(),
# print_enabled_features() and print_disabled_features().
#
# These macros can be used to generate a summary of enabled and disabled
# packages and/or feature for a build tree:
#
-# -- The following OPTIONAL packages have been found:
-# LibXml2 (required version >= 2.4) , XML processing library. , <http://xmlsoft.org>
-# * Enables HTML-import in MyWordProcessor
-# * Enables odt-export in MyWordProcessor
-# PNG , A PNG image library. , <http://www.libpng.org/pub/png/>
-# * Enables saving screenshots
-# -- The following OPTIONAL packages have not been found:
-# Lua51 , The Lua scripting language. , <http://www.lua.org>
-# * Enables macros in MyWordProcessor
-# Foo , Foo provides cool stuff.
-#
-#
-# FEATURE_SUMMARY( [FILENAME <file>]
-# [APPEND]
-# [VAR <variable_name>]
-# [INCLUDE_QUIET_PACKAGES]
-# [FATAL_ON_MISSING_REQUIRED_PACKAGES]
-# [DESCRIPTION "Found packages:"]
-# WHAT (ALL | PACKAGES_FOUND | PACKAGES_NOT_FOUND
-# | ENABLED_FEATURES | DISABLED_FEATURES]
-# )
-#
-# The FEATURE_SUMMARY() macro can be used to print information about enabled
-# or disabled packages or features of a project.
-# By default, only the names of the features/packages will be printed and their
-# required version when one was specified. Use SET_PACKAGE_PROPERTIES() to add more
-# useful information, like e.g. a download URL for the respective package or their
-# purpose in the project.
-#
-# The WHAT option is the only mandatory option. Here you specify what information
-# will be printed:
-# ALL: print everything
-# ENABLED_FEATURES: the list of all features which are enabled
-# DISABLED_FEATURES: the list of all features which are disabled
-# PACKAGES_FOUND: the list of all packages which have been found
-# PACKAGES_NOT_FOUND: the list of all packages which have not been found
-# OPTIONAL_PACKAGES_FOUND: only those packages which have been found which have the type OPTIONAL
-# OPTIONAL_PACKAGES_NOT_FOUND: only those packages which have not been found which have the type OPTIONAL
-# RECOMMENDED_PACKAGES_FOUND: only those packages which have been found which have the type RECOMMENDED
-# RECOMMENDED_PACKAGES_NOT_FOUND: only those packages which have not been found which have the type RECOMMENDED
-# REQUIRED_PACKAGES_FOUND: only those packages which have been found which have the type REQUIRED
-# REQUIRED_PACKAGES_NOT_FOUND: only those packages which have not been found which have the type REQUIRED
-# RUNTIME_PACKAGES_FOUND: only those packages which have been found which have the type RUNTIME
-# RUNTIME_PACKAGES_NOT_FOUND: only those packages which have not been found which have the type RUNTIME
-#
-# If a FILENAME is given, the information is printed into this file. If APPEND
-# is used, it is appended to this file, otherwise the file is overwritten if
-# it already existed.
-# If the VAR option is used, the information is "printed" into the specified
-# variable.
-# If FILENAME is not used, the information is printed to the terminal.
-# Using the DESCRIPTION option a description or headline can be set which will
-# be printed above the actual content.
-# If INCLUDE_QUIET_PACKAGES is given, packages which have been searched with find_package(... QUIET) will
-# also be listed. By default they are skipped.
-# If FATAL_ON_MISSING_REQUIRED_PACKAGES is given, CMake will abort if a package which is marked as REQUIRED
-# has not been found.
+# ::
+#
+# -- The following OPTIONAL packages have been found:
+# LibXml2 (required version >= 2.4) , XML processing library. , <http://xmlsoft.org>
+# * Enables HTML-import in MyWordProcessor
+# * Enables odt-export in MyWordProcessor
+# PNG , A PNG image library. , <http://www.libpng.org/pub/png/>
+# * Enables saving screenshots
+# -- The following OPTIONAL packages have not been found:
+# Lua51 , The Lua scripting language. , <http://www.lua.org>
+# * Enables macros in MyWordProcessor
+# Foo , Foo provides cool stuff.
+#
+#
+#
+#
+#
+# ::
+#
+# FEATURE_SUMMARY( [FILENAME <file>]
+# [APPEND]
+# [VAR <variable_name>]
+# [INCLUDE_QUIET_PACKAGES]
+# [FATAL_ON_MISSING_REQUIRED_PACKAGES]
+# [DESCRIPTION "Found packages:"]
+# WHAT (ALL | PACKAGES_FOUND | PACKAGES_NOT_FOUND
+# | ENABLED_FEATURES | DISABLED_FEATURES]
+# )
+#
+#
+#
+# The FEATURE_SUMMARY() macro can be used to print information about
+# enabled or disabled packages or features of a project. By default,
+# only the names of the features/packages will be printed and their
+# required version when one was specified. Use SET_PACKAGE_PROPERTIES()
+# to add more useful information, like e.g. a download URL for the
+# respective package or their purpose in the project.
+#
+# The WHAT option is the only mandatory option. Here you specify what
+# information will be printed:
+#
+# ::
+#
+# ALL: print everything
+# ENABLED_FEATURES: the list of all features which are enabled
+# DISABLED_FEATURES: the list of all features which are disabled
+# PACKAGES_FOUND: the list of all packages which have been found
+# PACKAGES_NOT_FOUND: the list of all packages which have not been found
+# OPTIONAL_PACKAGES_FOUND: only those packages which have been found which have the type OPTIONAL
+# OPTIONAL_PACKAGES_NOT_FOUND: only those packages which have not been found which have the type OPTIONAL
+# RECOMMENDED_PACKAGES_FOUND: only those packages which have been found which have the type RECOMMENDED
+# RECOMMENDED_PACKAGES_NOT_FOUND: only those packages which have not been found which have the type RECOMMENDED
+# REQUIRED_PACKAGES_FOUND: only those packages which have been found which have the type REQUIRED
+# REQUIRED_PACKAGES_NOT_FOUND: only those packages which have not been found which have the type REQUIRED
+# RUNTIME_PACKAGES_FOUND: only those packages which have been found which have the type RUNTIME
+# RUNTIME_PACKAGES_NOT_FOUND: only those packages which have not been found which have the type RUNTIME
+#
+#
+#
+# If a FILENAME is given, the information is printed into this file. If
+# APPEND is used, it is appended to this file, otherwise the file is
+# overwritten if it already existed. If the VAR option is used, the
+# information is "printed" into the specified variable. If FILENAME is
+# not used, the information is printed to the terminal. Using the
+# DESCRIPTION option a description or headline can be set which will be
+# printed above the actual content. If INCLUDE_QUIET_PACKAGES is given,
+# packages which have been searched with find_package(... QUIET) will
+# also be listed. By default they are skipped. If
+# FATAL_ON_MISSING_REQUIRED_PACKAGES is given, CMake will abort if a
+# package which is marked as REQUIRED has not been found.
#
# Example 1, append everything to a file:
-# feature_summary(WHAT ALL
-# FILENAME ${CMAKE_BINARY_DIR}/all.log APPEND)
-#
-# Example 2, print the enabled features into the variable enabledFeaturesText, including QUIET packages:
-# feature_summary(WHAT ENABLED_FEATURES
-# INCLUDE_QUIET_PACKAGES
-# DESCRIPTION "Enabled Features:"
-# VAR enabledFeaturesText)
-# message(STATUS "${enabledFeaturesText}")
-#
-#
-# SET_PACKAGE_PROPERTIES(<name> PROPERTIES [ URL <url> ]
-# [ DESCRIPTION <description> ]
-# [ TYPE (RUNTIME|OPTIONAL|RECOMMENDED|REQUIRED) ]
-# [ PURPOSE <purpose> ]
-# )
-#
-# Use this macro to set up information about the named package, which can
-# then be displayed via FEATURE_SUMMARY().
-# This can be done either directly in the Find-module or in the project
-# which uses the module after the find_package() call.
-# The features for which information can be set are added automatically by the
-# find_package() command.
-#
-# URL: this should be the homepage of the package, or something similar. Ideally this is set
-# already directly in the Find-module.
-#
-# DESCRIPTION: A short description what that package is, at most one sentence.
+#
+# ::
+#
+# feature_summary(WHAT ALL
+# FILENAME ${CMAKE_BINARY_DIR}/all.log APPEND)
+#
+#
+#
+# Example 2, print the enabled features into the variable
+# enabledFeaturesText, including QUIET packages:
+#
+# ::
+#
+# feature_summary(WHAT ENABLED_FEATURES
+# INCLUDE_QUIET_PACKAGES
+# DESCRIPTION "Enabled Features:"
+# VAR enabledFeaturesText)
+# message(STATUS "${enabledFeaturesText}")
+#
+#
+#
+#
+#
+# ::
+#
+# SET_PACKAGE_PROPERTIES(<name> PROPERTIES [ URL <url> ]
+# [ DESCRIPTION <description> ]
+# [ TYPE (RUNTIME|OPTIONAL|RECOMMENDED|REQUIRED) ]
+# [ PURPOSE <purpose> ]
+# )
+#
+#
+#
+# Use this macro to set up information about the named package, which
+# can then be displayed via FEATURE_SUMMARY(). This can be done either
+# directly in the Find-module or in the project which uses the module
+# after the find_package() call. The features for which information can
+# be set are added automatically by the find_package() command.
+#
+# URL: this should be the homepage of the package, or something similar.
# Ideally this is set already directly in the Find-module.
#
-# TYPE: What type of dependency has the using project on that package. Default is OPTIONAL.
-# In this case it is a package which can be used by the project when available at buildtime,
-# but it also work without. RECOMMENDED is similar to OPTIONAL, i.e. the project will build
-# if the package is not present, but the functionality of the resulting binaries will be severly
-# limited. If a REQUIRED package is not available at buildtime, the project may not even build. This
-# can be combined with the FATAL_ON_MISSING_REQUIRED_PACKAGES argument for feature_summary().
-# Last, a RUNTIME package is a package which is actually not used at all during the build, but
-# which is required for actually running the resulting binaries. So if such a package is missing,
-# the project can still be built, but it may not work later on. If set_package_properties() is called
-# multiple times for the same package with different TYPEs, the TYPE is only changed to higher
-# TYPEs ( RUNTIME < OPTIONAL < RECOMMENDED < REQUIRED ), lower TYPEs are ignored.
-# The TYPE property is project-specific, so it cannot be set by the Find-module, but must be set in the project.
-#
-# PURPOSE: This describes which features this package enables in the project, i.e. it tells the user
-# what functionality he gets in the resulting binaries.
-# If set_package_properties() is called multiple times for a package, all PURPOSE properties are appended
-# to a list of purposes of the package in the project.
-# As the TYPE property, also the PURPOSE property
-# is project-specific, so it cannot be set by the Find-module, but must be set in the project.
+# DESCRIPTION: A short description what that package is, at most one
+# sentence. Ideally this is set already directly in the Find-module.
+#
+# TYPE: What type of dependency has the using project on that package.
+# Default is OPTIONAL. In this case it is a package which can be used
+# by the project when available at buildtime, but it also work without.
+# RECOMMENDED is similar to OPTIONAL, i.e. the project will build if
+# the package is not present, but the functionality of the resulting
+# binaries will be severly limited. If a REQUIRED package is not
+# available at buildtime, the project may not even build. This can be
+# combined with the FATAL_ON_MISSING_REQUIRED_PACKAGES argument for
+# feature_summary(). Last, a RUNTIME package is a package which is
+# actually not used at all during the build, but which is required for
+# actually running the resulting binaries. So if such a package is
+# missing, the project can still be built, but it may not work later on.
+# If set_package_properties() is called multiple times for the same
+# package with different TYPEs, the TYPE is only changed to higher TYPEs
+# ( RUNTIME < OPTIONAL < RECOMMENDED < REQUIRED ), lower TYPEs are
+# ignored. The TYPE property is project-specific, so it cannot be set
+# by the Find-module, but must be set in the project.
+#
+# PURPOSE: This describes which features this package enables in the
+# project, i.e. it tells the user what functionality he gets in the
+# resulting binaries. If set_package_properties() is called multiple
+# times for a package, all PURPOSE properties are appended to a list of
+# purposes of the package in the project. As the TYPE property, also
+# the PURPOSE property is project-specific, so it cannot be set by the
+# Find-module, but must be set in the project.
+#
#
#
# Example for setting the info for a package:
-# find_package(LibXml2)
-# set_package_properties(LibXml2 PROPERTIES DESCRIPTION "A XML processing library."
-# URL "http://xmlsoft.org/")
-#
-# set_package_properties(LibXml2 PROPERTIES TYPE RECOMMENDED
-# PURPOSE "Enables HTML-import in MyWordProcessor")
-# ...
-# set_package_properties(LibXml2 PROPERTIES TYPE OPTIONAL
-# PURPOSE "Enables odt-export in MyWordProcessor")
-#
-# find_package(DBUS)
-# set_package_properties(DBUS PROPERTIES TYPE RUNTIME
-# PURPOSE "Necessary to disable the screensaver during a presentation" )
-#
-# ADD_FEATURE_INFO(<name> <enabled> <description>)
-# Use this macro to add information about a feature with the given <name>.
-# <enabled> contains whether this feature is enabled or not, <description>
-# is a text describing the feature.
-# The information can be displayed using feature_summary() for ENABLED_FEATURES
-# and DISABLED_FEATURES respectively.
+#
+# ::
+#
+# find_package(LibXml2)
+# set_package_properties(LibXml2 PROPERTIES DESCRIPTION "A XML processing library."
+# URL "http://xmlsoft.org/")
+#
+#
+#
+# ::
+#
+# set_package_properties(LibXml2 PROPERTIES TYPE RECOMMENDED
+# PURPOSE "Enables HTML-import in MyWordProcessor")
+# ...
+# set_package_properties(LibXml2 PROPERTIES TYPE OPTIONAL
+# PURPOSE "Enables odt-export in MyWordProcessor")
+#
+#
+#
+# ::
+#
+# find_package(DBUS)
+# set_package_properties(DBUS PROPERTIES TYPE RUNTIME
+# PURPOSE "Necessary to disable the screensaver during a presentation" )
+#
+#
+#
+# ::
+#
+# ADD_FEATURE_INFO(<name> <enabled> <description>)
+#
+# Use this macro to add information about a feature with the given
+# <name>. <enabled> contains whether this feature is enabled or not,
+# <description> is a text describing the feature. The information can
+# be displayed using feature_summary() for ENABLED_FEATURES and
+# DISABLED_FEATURES respectively.
#
# Example for setting the info for a feature:
-# option(WITH_FOO "Help for foo" ON)
-# add_feature_info(Foo WITH_FOO "The Foo feature provides very cool stuff.")
#
+# ::
+#
+# option(WITH_FOO "Help for foo" ON)
+# add_feature_info(Foo WITH_FOO "The Foo feature provides very cool stuff.")
+#
+#
+#
+#
+#
+# The following macros are provided for compatibility with previous
+# CMake versions:
#
-# The following macros are provided for compatibility with previous CMake versions:
+# ::
#
-# SET_PACKAGE_INFO(<name> <description> [<url> [<purpose>] ] )
-# Use this macro to set up information about the named package, which can
-# then be displayed via FEATURE_SUMMARY().
-# This can be done either directly in the Find-module or in the project
-# which uses the module after the find_package() call.
-# The features for which information can be set are added automatically by the
-# find_package() command.
+# SET_PACKAGE_INFO(<name> <description> [<url> [<purpose>] ] )
#
-# PRINT_ENABLED_FEATURES()
-# Does the same as FEATURE_SUMMARY(WHAT ENABLED_FEATURES DESCRIPTION "Enabled features:")
+# Use this macro to set up information about the named package, which
+# can then be displayed via FEATURE_SUMMARY(). This can be done either
+# directly in the Find-module or in the project which uses the module
+# after the find_package() call. The features for which information can
+# be set are added automatically by the find_package() command.
#
-# PRINT_DISABLED_FEATURES()
-# Does the same as FEATURE_SUMMARY(WHAT DISABLED_FEATURES DESCRIPTION "Disabled features:")
+# ::
+#
+# PRINT_ENABLED_FEATURES()
+#
+# Does the same as FEATURE_SUMMARY(WHAT ENABLED_FEATURES DESCRIPTION
+# "Enabled features:")
+#
+# ::
+#
+# PRINT_DISABLED_FEATURES()
+#
+# Does the same as FEATURE_SUMMARY(WHAT DISABLED_FEATURES DESCRIPTION
+# "Disabled features:")
+#
+# ::
+#
+# SET_FEATURE_INFO(<name> <description> [<url>] )
#
-# SET_FEATURE_INFO(<name> <description> [<url>] )
# Does the same as SET_PACKAGE_INFO(<name> <description> <url> )
#=============================================================================
@@ -299,6 +376,12 @@ function(_FS_GET_FEATURE_SUMMARY _property _var _includeQuiet)
set(includeThisOne FALSE)
endif()
endif()
+ get_property(_isTransitiveDepend
+ GLOBAL PROPERTY _CMAKE_${_currentFeature}_TRANSITIVE_DEPENDENCY
+ )
+ if(_isTransitiveDepend)
+ set(includeThisOne FALSE)
+ endif()
if(includeThisOne)
diff --git a/Modules/FindALSA.cmake b/Modules/FindALSA.cmake
index 60b0f56..5c30eb9 100644
--- a/Modules/FindALSA.cmake
+++ b/Modules/FindALSA.cmake
@@ -1,15 +1,25 @@
-# - Find alsa
+#.rst:
+# FindALSA
+# --------
+#
+# Find alsa
+#
# Find the alsa libraries (asound)
#
-# This module defines the following variables:
-# ALSA_FOUND - True if ALSA_INCLUDE_DIR & ALSA_LIBRARY are found
-# ALSA_LIBRARIES - Set when ALSA_LIBRARY is found
-# ALSA_INCLUDE_DIRS - Set when ALSA_INCLUDE_DIR is found
+# ::
+#
+# This module defines the following variables:
+# ALSA_FOUND - True if ALSA_INCLUDE_DIR & ALSA_LIBRARY are found
+# ALSA_LIBRARIES - Set when ALSA_LIBRARY is found
+# ALSA_INCLUDE_DIRS - Set when ALSA_INCLUDE_DIR is found
+#
+#
#
-# ALSA_INCLUDE_DIR - where to find asoundlib.h, etc.
-# ALSA_LIBRARY - the asound library
-# ALSA_VERSION_STRING - the version of alsa found (since CMake 2.8.8)
+# ::
#
+# ALSA_INCLUDE_DIR - where to find asoundlib.h, etc.
+# ALSA_LIBRARY - the asound library
+# ALSA_VERSION_STRING - the version of alsa found (since CMake 2.8.8)
#=============================================================================
# Copyright 2009-2011 Kitware, Inc.
diff --git a/Modules/FindASPELL.cmake b/Modules/FindASPELL.cmake
index 5b383c4..2a3f228 100644
--- a/Modules/FindASPELL.cmake
+++ b/Modules/FindASPELL.cmake
@@ -1,11 +1,18 @@
-# - Try to find ASPELL
+#.rst:
+# FindASPELL
+# ----------
+#
+# Try to find ASPELL
+#
# Once done this will define
#
-# ASPELL_FOUND - system has ASPELL
-# ASPELL_EXECUTABLE - the ASPELL executable
-# ASPELL_INCLUDE_DIR - the ASPELL include directory
-# ASPELL_LIBRARIES - The libraries needed to use ASPELL
-# ASPELL_DEFINITIONS - Compiler switches required for using ASPELL
+# ::
+#
+# ASPELL_FOUND - system has ASPELL
+# ASPELL_EXECUTABLE - the ASPELL executable
+# ASPELL_INCLUDE_DIR - the ASPELL include directory
+# ASPELL_LIBRARIES - The libraries needed to use ASPELL
+# ASPELL_DEFINITIONS - Compiler switches required for using ASPELL
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
diff --git a/Modules/FindAVIFile.cmake b/Modules/FindAVIFile.cmake
index 93fa400..5661075 100644
--- a/Modules/FindAVIFile.cmake
+++ b/Modules/FindAVIFile.cmake
@@ -1,13 +1,20 @@
-# - Locate AVIFILE library and include paths
+#.rst:
+# FindAVIFile
+# -----------
+#
+# Locate AVIFILE library and include paths
+#
# AVIFILE (http://avifile.sourceforge.net/)is a set of libraries for
-# i386 machines
-# to use various AVI codecs. Support is limited beyond Linux. Windows
-# provides native AVI support, and so doesn't need this library.
-# This module defines
-# AVIFILE_INCLUDE_DIR, where to find avifile.h , etc.
-# AVIFILE_LIBRARIES, the libraries to link against
-# AVIFILE_DEFINITIONS, definitions to use when compiling
-# AVIFILE_FOUND, If false, don't try to use AVIFILE
+# i386 machines to use various AVI codecs. Support is limited beyond
+# Linux. Windows provides native AVI support, and so doesn't need this
+# library. This module defines
+#
+# ::
+#
+# AVIFILE_INCLUDE_DIR, where to find avifile.h , etc.
+# AVIFILE_LIBRARIES, the libraries to link against
+# AVIFILE_DEFINITIONS, definitions to use when compiling
+# AVIFILE_FOUND, If false, don't try to use AVIFILE
#=============================================================================
# Copyright 2002-2009 Kitware, Inc.
diff --git a/Modules/FindArmadillo.cmake b/Modules/FindArmadillo.cmake
index 4758534..4549771 100644
--- a/Modules/FindArmadillo.cmake
+++ b/Modules/FindArmadillo.cmake
@@ -1,20 +1,32 @@
-# - Find Armadillo
+#.rst:
+# FindArmadillo
+# -------------
+#
+# Find Armadillo
+#
# Find the Armadillo C++ library
#
# Using Armadillo:
-# find_package(Armadillo REQUIRED)
-# include_directories(${ARMADILLO_INCLUDE_DIRS})
-# add_executable(foo foo.cc)
-# target_link_libraries(foo ${ARMADILLO_LIBRARIES})
+#
+# ::
+#
+# find_package(Armadillo REQUIRED)
+# include_directories(${ARMADILLO_INCLUDE_DIRS})
+# add_executable(foo foo.cc)
+# target_link_libraries(foo ${ARMADILLO_LIBRARIES})
+#
# This module sets the following variables:
-# ARMADILLO_FOUND - set to true if the library is found
-# ARMADILLO_INCLUDE_DIRS - list of required include directories
-# ARMADILLO_LIBRARIES - list of libraries to be linked
-# ARMADILLO_VERSION_MAJOR - major version number
-# ARMADILLO_VERSION_MINOR - minor version number
-# ARMADILLO_VERSION_PATCH - patch version number
-# ARMADILLO_VERSION_STRING - version number as a string (ex: "1.0.4")
-# ARMADILLO_VERSION_NAME - name of the version (ex: "Antipodean Antileech")
+#
+# ::
+#
+# ARMADILLO_FOUND - set to true if the library is found
+# ARMADILLO_INCLUDE_DIRS - list of required include directories
+# ARMADILLO_LIBRARIES - list of libraries to be linked
+# ARMADILLO_VERSION_MAJOR - major version number
+# ARMADILLO_VERSION_MINOR - minor version number
+# ARMADILLO_VERSION_PATCH - patch version number
+# ARMADILLO_VERSION_STRING - version number as a string (ex: "1.0.4")
+# ARMADILLO_VERSION_NAME - name of the version (ex: "Antipodean Antileech")
#=============================================================================
# Copyright 2011 Clement Creusot <creusot@cs.york.ac.uk>
diff --git a/Modules/FindBISON.cmake b/Modules/FindBISON.cmake
index 4a3e68c..9ca428e 100644
--- a/Modules/FindBISON.cmake
+++ b/Modules/FindBISON.cmake
@@ -1,37 +1,61 @@
-# - Find bison executable and provides macros to generate custom build rules
+#.rst:
+# FindBISON
+# ---------
+#
+# Find bison executable and provides macros to generate custom build rules
+#
# The module defines the following variables:
#
-# BISON_EXECUTABLE - path to the bison program
-# BISON_VERSION - version of bison
-# BISON_FOUND - true if the program was found
+# ::
+#
+# BISON_EXECUTABLE - path to the bison program
+# BISON_VERSION - version of bison
+# BISON_FOUND - true if the program was found
+#
+#
#
# The minimum required version of bison can be specified using the
-# standard CMake syntax, e.g. find_package(BISON 2.1.3)
+# standard CMake syntax, e.g. find_package(BISON 2.1.3)
#
# If bison is found, the module defines the macros:
-# BISON_TARGET(<Name> <YaccInput> <CodeOutput> [VERBOSE <file>]
-# [COMPILE_FLAGS <string>])
-# which will create a custom rule to generate a parser. <YaccInput> is
-# the path to a yacc file. <CodeOutput> is the name of the source file
-# generated by bison. A header file is also be generated, and contains
-# the token list. If COMPILE_FLAGS option is specified, the next
-# parameter is added in the bison command line. if VERBOSE option is
-# specified, <file> is created and contains verbose descriptions of the
-# grammar and parser. The macro defines a set of variables:
-# BISON_${Name}_DEFINED - true is the macro ran successfully
-# BISON_${Name}_INPUT - The input source file, an alias for <YaccInput>
-# BISON_${Name}_OUTPUT_SOURCE - The source file generated by bison
-# BISON_${Name}_OUTPUT_HEADER - The header file generated by bison
-# BISON_${Name}_OUTPUTS - The sources files generated by bison
-# BISON_${Name}_COMPILE_FLAGS - Options used in the bison command line
-#
-# ====================================================================
-# Example:
-#
-# find_package(BISON)
-# BISON_TARGET(MyParser parser.y ${CMAKE_CURRENT_BINARY_DIR}/parser.cpp)
-# add_executable(Foo main.cpp ${BISON_MyParser_OUTPUTS})
-# ====================================================================
+#
+# ::
+#
+# BISON_TARGET(<Name> <YaccInput> <CodeOutput> [VERBOSE <file>]
+# [COMPILE_FLAGS <string>])
+#
+# which will create a custom rule to generate a parser. <YaccInput> is
+# the path to a yacc file. <CodeOutput> is the name of the source file
+# generated by bison. A header file is also be generated, and contains
+# the token list. If COMPILE_FLAGS option is specified, the next
+# parameter is added in the bison command line. if VERBOSE option is
+# specified, <file> is created and contains verbose descriptions of the
+# grammar and parser. The macro defines a set of variables:
+#
+# ::
+#
+# BISON_${Name}_DEFINED - true is the macro ran successfully
+# BISON_${Name}_INPUT - The input source file, an alias for <YaccInput>
+# BISON_${Name}_OUTPUT_SOURCE - The source file generated by bison
+# BISON_${Name}_OUTPUT_HEADER - The header file generated by bison
+# BISON_${Name}_OUTPUTS - The sources files generated by bison
+# BISON_${Name}_COMPILE_FLAGS - Options used in the bison command line
+#
+#
+#
+# ::
+#
+# ====================================================================
+# Example:
+#
+#
+#
+# ::
+#
+# find_package(BISON)
+# BISON_TARGET(MyParser parser.y ${CMAKE_CURRENT_BINARY_DIR}/parser.cpp)
+# add_executable(Foo main.cpp ${BISON_MyParser_OUTPUTS})
+# ====================================================================
#=============================================================================
# Copyright 2009 Kitware, Inc.
diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake
index f8a284d..3b658ef 100644
--- a/Modules/FindBLAS.cmake
+++ b/Modules/FindBLAS.cmake
@@ -1,31 +1,41 @@
-# - Find BLAS library
-# This module finds an installed fortran library that implements the BLAS
-# linear-algebra interface (see http://www.netlib.org/blas/).
-# The list of libraries searched for is taken
-# from the autoconf macro file, acx_blas.m4 (distributed at
+#.rst:
+# FindBLAS
+# --------
+#
+# Find BLAS library
+#
+# This module finds an installed fortran library that implements the
+# BLAS linear-algebra interface (see http://www.netlib.org/blas/). The
+# list of libraries searched for is taken from the autoconf macro file,
+# acx_blas.m4 (distributed at
# http://ac-archive.sourceforge.net/ac-archive/acx_blas.html).
#
# This module sets the following variables:
-# BLAS_FOUND - set to true if a library implementing the BLAS interface
-# is found
-# BLAS_LINKER_FLAGS - uncached list of required linker flags (excluding -l
-# and -L).
-# BLAS_LIBRARIES - uncached list of libraries (using full path name) to
-# link against to use BLAS
-# BLAS95_LIBRARIES - uncached list of libraries (using full path name)
-# to link against to use BLAS95 interface
-# BLAS95_FOUND - set to true if a library implementing the BLAS f95 interface
-# is found
-# BLA_STATIC if set on this determines what kind of linkage we do (static)
-# BLA_VENDOR if set checks only the specified vendor, if not set checks
-# all the possibilities
-# BLA_F95 if set on tries to find the f95 interfaces for BLAS/LAPACK
-##########
-### List of vendors (BLA_VENDOR) valid in this module
-## Goto,ATLAS PhiPACK,CXML,DXML,SunPerf,SCSL,SGIMATH,IBMESSL,Intel10_32 (intel mkl v10 32 bit),Intel10_64lp (intel mkl v10 64 bit,lp thread model, lp64 model),
-## Intel10_64lp_seq (intel mkl v10 64 bit,sequential code, lp64 model),
-## Intel( older versions of mkl 32 and 64 bit), ACML,ACML_MP,ACML_GPU,Apple, NAS, Generic
-# C/CXX should be enabled to use Intel mkl
+#
+# ::
+#
+# BLAS_FOUND - set to true if a library implementing the BLAS interface
+# is found
+# BLAS_LINKER_FLAGS - uncached list of required linker flags (excluding -l
+# and -L).
+# BLAS_LIBRARIES - uncached list of libraries (using full path name) to
+# link against to use BLAS
+# BLAS95_LIBRARIES - uncached list of libraries (using full path name)
+# to link against to use BLAS95 interface
+# BLAS95_FOUND - set to true if a library implementing the BLAS f95 interface
+# is found
+# BLA_STATIC if set on this determines what kind of linkage we do (static)
+# BLA_VENDOR if set checks only the specified vendor, if not set checks
+# all the possibilities
+# BLA_F95 if set on tries to find the f95 interfaces for BLAS/LAPACK
+#
+# ######### ## List of vendors (BLA_VENDOR) valid in this module #
+# Goto,ATLAS PhiPACK,CXML,DXML,SunPerf,SCSL,SGIMATH,IBMESSL,Intel10_32
+# (intel mkl v10 32 bit),Intel10_64lp (intel mkl v10 64 bit,lp thread
+# model, lp64 model), # Intel10_64lp_seq (intel mkl v10 64
+# bit,sequential code, lp64 model), # Intel( older versions of mkl 32
+# and 64 bit), ACML,ACML_MP,ACML_GPU,Apple, NAS, Generic C/CXX should be
+# enabled to use Intel mkl
#=============================================================================
# Copyright 2007-2009 Kitware, Inc.
@@ -469,8 +479,45 @@ if (BLA_VENDOR MATCHES "Intel*" OR BLA_VENDOR STREQUAL "All")
set(BLAS_mkl_SEARCH_SYMBOL SGEMM)
set(_LIBRARIES BLAS95_LIBRARIES)
if (WIN32)
- list(APPEND BLAS_SEARCH_LIBS
- "mkl_blas95 mkl_intel_c mkl_intel_thread mkl_core libguide40")
+ if (BLA_STATIC)
+ set(BLAS_mkl_DLL_SUFFIX "")
+ else()
+ set(BLAS_mkl_DLL_SUFFIX "_dll")
+ endif()
+
+ # Find the main file (32-bit or 64-bit)
+ set(BLAS_SEARCH_LIBS_WIN_MAIN "")
+ if (BLA_VENDOR STREQUAL "Intel10_32" OR BLA_VENDOR STREQUAL "All")
+ list(APPEND BLAS_SEARCH_LIBS_WIN_MAIN
+ "mkl_blas95${BLAS_mkl_DLL_SUFFIX} mkl_intel_c${BLAS_mkl_DLL_SUFFIX}")
+ endif()
+ if (BLA_VENDOR STREQUAL "Intel10_64lp*" OR BLA_VENDOR STREQUAL "All")
+ list(APPEND BLAS_SEARCH_LIBS_WIN_MAIN
+ "mkl_blas95_lp64${BLAS_mkl_DLL_SUFFIX} mkl_intel_lp64${BLAS_mkl_DLL_SUFFIX}")
+ endif ()
+
+ # Add threading/sequential libs
+ set(BLAS_SEARCH_LIBS_WIN_THREAD "")
+ if (BLA_VENDOR STREQUAL "*_seq" OR BLA_VENDOR STREQUAL "All")
+ list(APPEND BLAS_SEARCH_LIBS_WIN_THREAD
+ "mkl_sequential${BLAS_mkl_DLL_SUFFIX}")
+ endif()
+ if (NOT BLA_VENDOR STREQUAL "*_seq" OR BLA_VENDOR STREQUAL "All")
+ # old version
+ list(APPEND BLAS_SEARCH_LIBS_WIN_THREAD
+ "libguide40 mkl_intel_thread${BLAS_mkl_DLL_SUFFIX}")
+ # mkl >= 10.3
+ list(APPEND BLAS_SEARCH_LIBS_WIN_THREAD
+ "libiomp5md mkl_intel_thread${BLAS_mkl_DLL_SUFFIX}")
+ endif()
+
+ # Cartesian product of the above
+ foreach (MAIN ${BLAS_SEARCH_LIBS_WIN_MAIN})
+ foreach (THREAD ${BLAS_SEARCH_LIBS_WIN_THREAD})
+ list(APPEND BLAS_SEARCH_LIBS
+ "${MAIN} ${THREAD} mkl_core${BLAS_mkl_DLL_SUFFIX}")
+ endforeach()
+ endforeach()
else ()
if (BLA_VENDOR STREQUAL "Intel10_32" OR BLA_VENDOR STREQUAL "All")
list(APPEND BLAS_SEARCH_LIBS
@@ -490,17 +537,54 @@ if (BLA_VENDOR MATCHES "Intel*" OR BLA_VENDOR STREQUAL "All")
"mkl_blas95_lp64 mkl_intel_lp64 mkl_intel_thread mkl_core iomp5")
endif ()
endif ()
- endif ()
- if (BLA_VENDOR STREQUAL "Intel10_64lp_seq" OR BLA_VENDOR STREQUAL "All")
- list(APPEND BLAS_SEARCH_LIBS
- "mkl_blas95_lp64 mkl_intel_lp64 mkl_sequential mkl_core")
+ if (BLA_VENDOR STREQUAL "Intel10_64lp_seq" OR BLA_VENDOR STREQUAL "All")
+ list(APPEND BLAS_SEARCH_LIBS
+ "mkl_intel_lp64 mkl_sequential mkl_core")
+ endif ()
endif ()
else ()
set(BLAS_mkl_SEARCH_SYMBOL sgemm)
set(_LIBRARIES BLAS_LIBRARIES)
if (WIN32)
- list(APPEND BLAS_SEARCH_LIBS
- "mkl_c_dll mkl_intel_thread_dll mkl_core_dll libguide40")
+ if (BLA_STATIC)
+ set(BLAS_mkl_DLL_SUFFIX "")
+ else()
+ set(BLAS_mkl_DLL_SUFFIX "_dll")
+ endif()
+
+ # Find the main file (32-bit or 64-bit)
+ set(BLAS_SEARCH_LIBS_WIN_MAIN "")
+ if (BLA_VENDOR STREQUAL "Intel10_32" OR BLA_VENDOR STREQUAL "All")
+ list(APPEND BLAS_SEARCH_LIBS_WIN_MAIN
+ "mkl_intel_c${BLAS_mkl_DLL_SUFFIX}")
+ endif()
+ if (BLA_VENDOR STREQUAL "Intel10_64lp*" OR BLA_VENDOR STREQUAL "All")
+ list(APPEND BLAS_SEARCH_LIBS_WIN_MAIN
+ "mkl_intel_lp64${BLAS_mkl_DLL_SUFFIX}")
+ endif ()
+
+ # Add threading/sequential libs
+ set(BLAS_SEARCH_LIBS_WIN_THREAD "")
+ if (NOT BLA_VENDOR STREQUAL "*_seq" OR BLA_VENDOR STREQUAL "All")
+ # old version
+ list(APPEND BLAS_SEARCH_LIBS_WIN_THREAD
+ "libguide40 mkl_intel_thread${BLAS_mkl_DLL_SUFFIX}")
+ # mkl >= 10.3
+ list(APPEND BLAS_SEARCH_LIBS_WIN_THREAD
+ "libiomp5md mkl_intel_thread${BLAS_mkl_DLL_SUFFIX}")
+ endif()
+ if (BLA_VENDOR STREQUAL "*_seq" OR BLA_VENDOR STREQUAL "All")
+ list(APPEND BLAS_SEARCH_LIBS_WIN_THREAD
+ "mkl_sequential${BLAS_mkl_DLL_SUFFIX}")
+ endif()
+
+ # Cartesian product of the above
+ foreach (MAIN ${BLAS_SEARCH_LIBS_WIN_MAIN})
+ foreach (THREAD ${BLAS_SEARCH_LIBS_WIN_THREAD})
+ list(APPEND BLAS_SEARCH_LIBS
+ "${MAIN} ${THREAD} mkl_core${BLAS_mkl_DLL_SUFFIX}")
+ endforeach()
+ endforeach()
else ()
if (BLA_VENDOR STREQUAL "Intel10_32" OR BLA_VENDOR STREQUAL "All")
list(APPEND BLAS_SEARCH_LIBS
@@ -521,6 +605,10 @@ if (BLA_VENDOR MATCHES "Intel*" OR BLA_VENDOR STREQUAL "All")
"mkl_intel_lp64 mkl_intel_thread mkl_core iomp5")
endif ()
endif ()
+ if (BLA_VENDOR STREQUAL "Intel10_64lp_seq" OR BLA_VENDOR STREQUAL "All")
+ list(APPEND BLAS_SEARCH_LIBS
+ "mkl_intel_lp64 mkl_sequential mkl_core")
+ endif ()
#older vesions of intel mkl libs
if (BLA_VENDOR STREQUAL "Intel" OR BLA_VENDOR STREQUAL "All")
@@ -532,10 +620,6 @@ if (BLA_VENDOR MATCHES "Intel*" OR BLA_VENDOR STREQUAL "All")
"mkl_em64t")
endif ()
endif ()
- if (BLA_VENDOR STREQUAL "Intel10_64lp_seq" OR BLA_VENDOR STREQUAL "All")
- list(APPEND BLAS_SEARCH_LIBS
- "mkl_intel_lp64 mkl_sequential mkl_core")
- endif ()
endif ()
foreach (IT ${BLAS_SEARCH_LIBS})
diff --git a/Modules/FindBZip2.cmake b/Modules/FindBZip2.cmake
index 9fb29d0..3883877 100644
--- a/Modules/FindBZip2.cmake
+++ b/Modules/FindBZip2.cmake
@@ -1,11 +1,18 @@
-# - Try to find BZip2
+#.rst:
+# FindBZip2
+# ---------
+#
+# Try to find BZip2
+#
# Once done this will define
#
-# BZIP2_FOUND - system has BZip2
-# BZIP2_INCLUDE_DIR - the BZip2 include directory
-# BZIP2_LIBRARIES - Link these to use BZip2
-# BZIP2_NEED_PREFIX - this is set if the functions are prefixed with BZ2_
-# BZIP2_VERSION_STRING - the version of BZip2 found (since CMake 2.8.8)
+# ::
+#
+# BZIP2_FOUND - system has BZip2
+# BZIP2_INCLUDE_DIR - the BZip2 include directory
+# BZIP2_LIBRARIES - Link these to use BZip2
+# BZIP2_NEED_PREFIX - this is set if the functions are prefixed with BZ2_
+# BZIP2_VERSION_STRING - the version of BZip2 found (since CMake 2.8.8)
#=============================================================================
# Copyright 2006-2012 Kitware, Inc.
diff --git a/Modules/FindBacktrace.cmake b/Modules/FindBacktrace.cmake
new file mode 100644
index 0000000..83789cc
--- /dev/null
+++ b/Modules/FindBacktrace.cmake
@@ -0,0 +1,94 @@
+#.rst:
+# FindBacktrace
+# -------------
+#
+# Find provider for backtrace(3).
+#
+# Checks if OS supports backtrace(3) via either libc or custom library.
+# This module defines the following variables::
+#
+# Backtrace_HEADER - The header file needed for backtrace(3). Cached.
+# Could be forcibly set by user.
+# Backtrace_INCLUDE_DIRS - The include directories needed to use backtrace(3) header.
+# Backtrace_LIBRARIES - The libraries (linker flags) needed to use backtrace(3), if any.
+# Backtrace_FOUND - Is set if and only if backtrace(3) support detected.
+#
+# The following cache variables are also available to set or use::
+#
+# Backtrace_LIBRARY - The external library providing backtrace, if any.
+# Backtrace_INCLUDE_DIR - The directory holding the backtrace(3) header.
+#
+# Typical usage is to generate of header file using configure_file() with the
+# contents like the following::
+#
+# #cmakedefine01 Backtrace_FOUND
+# #if Backtrace_FOUND
+# # include <${Backtrace_HEADER}>
+# #endif
+#
+# And then reference that generated header file in actual source.
+
+#=============================================================================
+# Copyright 2013 Vadim Zhukov
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distribute this file outside of CMake, substitute the full
+# License text for the above reference.)
+
+
+include(CMakePushCheckState)
+include(CheckSymbolExists)
+include(FindPackageHandleStandardArgs)
+
+# List of variables to be provided to find_package_handle_standard_args()
+set(_Backtrace_STD_ARGS Backtrace_INCLUDE_DIR)
+
+if(Backtrace_HEADER)
+ set(_Backtrace_HEADER_TRY "${Backtrace_HEADER}")
+else(Backtrace_HEADER)
+ set(_Backtrace_HEADER_TRY "execinfo.h")
+endif(Backtrace_HEADER)
+
+find_path(Backtrace_INCLUDE_DIR "${_Backtrace_HEADER_TRY}")
+set(Backtrace_INCLUDE_DIRS ${Backtrace_INCLUDE_DIR})
+
+if (NOT DEFINED Backtrace_LIBRARY)
+ # First, check if we already have backtrace(), e.g., in libc
+ cmake_push_check_state(RESET)
+ set(CMAKE_REQUIRED_INCLUDES ${Backtrace_INCLUDE_DIRS})
+ check_symbol_exists("backtrace" "${_Backtrace_HEADER_TRY}" _Backtrace_SYM_FOUND)
+ cmake_pop_check_state()
+endif()
+
+if(_Backtrace_SYM_FOUND)
+ # Avoid repeating the message() call below each time CMake is run.
+ if(NOT Backtrace_FIND_QUIETLY AND NOT DEFINED Backtrace_LIBRARY)
+ message(STATUS "backtrace facility detected in default set of libraries")
+ endif()
+ set(Backtrace_LIBRARY "" CACHE FILEPATH "Library providing backtrace(3), empty for default set of libraries")
+else()
+ # Check for external library, for non-glibc systems
+ if(Backtrace_INCLUDE_DIR)
+ # OpenBSD has libbacktrace renamed to libexecinfo
+ find_library(Backtrace_LIBRARY "execinfo")
+ elseif() # respect user wishes
+ set(_Backtrace_HEADER_TRY "backtrace.h")
+ find_path(Backtrace_INCLUDE_DIR ${_Backtrace_HEADER_TRY})
+ find_library(Backtrace_LIBRARY "backtrace")
+ endif()
+
+ # Prepend list with library path as it's more common practice
+ set(_Backtrace_STD_ARGS Backtrace_LIBRARY ${_Backtrace_STD_ARGS})
+endif()
+
+set(Backtrace_LIBRARIES ${Backtrace_LIBRARY})
+set(Backtrace_HEADER "${_Backtrace_HEADER_TRY}" CACHE STRING "Header providing backtrace(3) facility")
+
+find_package_handle_standard_args(Backtrace FOUND_VAR Backtrace_FOUND REQUIRED_VARS ${_Backtrace_STD_ARGS})
+mark_as_advanced(Backtrace_HEADER Backtrace_INCLUDE_DIR Backtrace_LIBRARY)
diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake
index 914a0a5..a57e12c 100644
--- a/Modules/FindBoost.cmake
+++ b/Modules/FindBoost.cmake
@@ -1,136 +1,165 @@
-# - Find Boost include dirs and libraries
-# Use this module by invoking find_package with the form:
-# find_package(Boost
-# [version] [EXACT] # Minimum or EXACT version e.g. 1.36.0
-# [REQUIRED] # Fail with error if Boost is not found
-# [COMPONENTS <libs>...] # Boost libraries by their canonical name
-# ) # e.g. "date_time" for "libboost_date_time"
+#.rst:
+# FindBoost
+# ---------
+#
+# Find Boost include dirs and libraries
+#
+# Use this module by invoking find_package with the form::
+#
+# find_package(Boost
+# [version] [EXACT] # Minimum or EXACT version e.g. 1.36.0
+# [REQUIRED] # Fail with error if Boost is not found
+# [COMPONENTS <libs>...] # Boost libraries by their canonical name
+# ) # e.g. "date_time" for "libboost_date_time"
+#
# This module finds headers and requested component libraries OR a CMake
# package configuration file provided by a "Boost CMake" build. For the
# latter case skip to the "Boost CMake" section below. For the former
-# case results are reported in variables:
-# Boost_FOUND - True if headers and requested libraries were found
-# Boost_INCLUDE_DIRS - Boost include directories
-# Boost_LIBRARY_DIRS - Link directories for Boost libraries
-# Boost_LIBRARIES - Boost component libraries to be linked
-# Boost_<C>_FOUND - True if component <C> was found (<C> is upper-case)
-# Boost_<C>_LIBRARY - Libraries to link for component <C> (may include
-# target_link_libraries debug/optimized keywords)
-# Boost_VERSION - BOOST_VERSION value from boost/version.hpp
-# Boost_LIB_VERSION - Version string appended to library filenames
-# Boost_MAJOR_VERSION - Boost major version number (X in X.y.z)
-# Boost_MINOR_VERSION - Boost minor version number (Y in x.Y.z)
-# Boost_SUBMINOR_VERSION - Boost subminor version number (Z in x.y.Z)
-# Boost_LIB_DIAGNOSTIC_DEFINITIONS (Windows)
-# - Pass to add_definitions() to have diagnostic
-# information about Boost's automatic linking
-# displayed during compilation
+# case results are reported in variables::
+#
+# Boost_FOUND - True if headers and requested libraries were found
+# Boost_INCLUDE_DIRS - Boost include directories
+# Boost_LIBRARY_DIRS - Link directories for Boost libraries
+# Boost_LIBRARIES - Boost component libraries to be linked
+# Boost_<C>_FOUND - True if component <C> was found (<C> is upper-case)
+# Boost_<C>_LIBRARY - Libraries to link for component <C> (may include
+# target_link_libraries debug/optimized keywords)
+# Boost_VERSION - BOOST_VERSION value from boost/version.hpp
+# Boost_LIB_VERSION - Version string appended to library filenames
+# Boost_MAJOR_VERSION - Boost major version number (X in X.y.z)
+# Boost_MINOR_VERSION - Boost minor version number (Y in x.Y.z)
+# Boost_SUBMINOR_VERSION - Boost subminor version number (Z in x.y.Z)
+# Boost_LIB_DIAGNOSTIC_DEFINITIONS (Windows)
+# - Pass to add_definitions() to have diagnostic
+# information about Boost's automatic linking
+# displayed during compilation
+#
+# This module reads hints about search locations from variables::
+#
+# BOOST_ROOT - Preferred installation prefix
+# (or BOOSTROOT)
+# BOOST_INCLUDEDIR - Preferred include directory e.g. <prefix>/include
+# BOOST_LIBRARYDIR - Preferred library directory e.g. <prefix>/lib
+# Boost_NO_SYSTEM_PATHS - Set to ON to disable searching in locations not
+# specified by these hint variables. Default is OFF.
+# Boost_ADDITIONAL_VERSIONS
+# - List of Boost versions not known to this module
+# (Boost install locations may contain the version)
+#
+# and saves search results persistently in CMake cache entries::
+#
+# Boost_INCLUDE_DIR - Directory containing Boost headers
+# Boost_LIBRARY_DIR - Directory containing Boost libraries
+# Boost_<C>_LIBRARY_DEBUG - Component <C> library debug variant
+# Boost_<C>_LIBRARY_RELEASE - Component <C> library release variant
+#
+# Users may set these hints or results as cache entries. Projects
+# should not read these entries directly but instead use the above
+# result variables. Note that some hint names start in upper-case
+# "BOOST". One may specify these as environment variables if they are
+# not specified as CMake variables or cache entries.
+#
+# This module first searches for the Boost header files using the above
+# hint variables (excluding BOOST_LIBRARYDIR) and saves the result in
+# Boost_INCLUDE_DIR. Then it searches for requested component libraries
+# using the above hints (excluding BOOST_INCLUDEDIR and
+# Boost_ADDITIONAL_VERSIONS), "lib" directories near Boost_INCLUDE_DIR,
+# and the library name configuration settings below. It saves the
+# library directory in Boost_LIBRARY_DIR and individual library
+# locations in Boost_<C>_LIBRARY_DEBUG and Boost_<C>_LIBRARY_RELEASE.
+# When one changes settings used by previous searches in the same build
+# tree (excluding environment variables) this module discards previous
+# search results affected by the changes and searches again.
#
-# This module reads hints about search locations from variables:
-# BOOST_ROOT - Preferred installation prefix
-# (or BOOSTROOT)
-# BOOST_INCLUDEDIR - Preferred include directory e.g. <prefix>/include
-# BOOST_LIBRARYDIR - Preferred library directory e.g. <prefix>/lib
-# Boost_NO_SYSTEM_PATHS - Set to ON to disable searching in locations not
-# specified by these hint variables. Default is OFF.
-# Boost_ADDITIONAL_VERSIONS
-# - List of Boost versions not known to this module
-# (Boost install locations may contain the version)
-# and saves search results persistently in CMake cache entries:
-# Boost_INCLUDE_DIR - Directory containing Boost headers
-# Boost_LIBRARY_DIR - Directory containing Boost libraries
-# Boost_<C>_LIBRARY_DEBUG - Component <C> library debug variant
-# Boost_<C>_LIBRARY_RELEASE - Component <C> library release variant
-# Users may set these hints or results as cache entries. Projects should
-# not read these entries directly but instead use the above result variables.
-# Note that some hint names start in upper-case "BOOST". One may specify
-# these as environment variables if they are not specified as CMake variables
-# or cache entries.
+# Boost libraries come in many variants encoded in their file name.
+# Users or projects may tell this module which variant to find by
+# setting variables::
#
-# This module first searches for the Boost header files using the above hint
-# variables (excluding BOOST_LIBRARYDIR) and saves the result in
-# Boost_INCLUDE_DIR. Then it searches for requested component libraries using
-# the above hints (excluding BOOST_INCLUDEDIR and Boost_ADDITIONAL_VERSIONS),
-# "lib" directories near Boost_INCLUDE_DIR, and the library name configuration
-# settings below. It saves the library directory in Boost_LIBRARY_DIR and
-# individual library locations in Boost_<C>_LIBRARY_DEBUG and
-# Boost_<C>_LIBRARY_RELEASE. When one changes settings used by previous
-# searches in the same build tree (excluding environment variables) this
-# module discards previous search results affected by the changes and searches
-# again.
+# Boost_USE_MULTITHREADED - Set to OFF to use the non-multithreaded
+# libraries ('mt' tag). Default is ON.
+# Boost_USE_STATIC_LIBS - Set to ON to force the use of the static
+# libraries. Default is OFF.
+# Boost_USE_STATIC_RUNTIME - Set to ON or OFF to specify whether to use
+# libraries linked statically to the C++ runtime
+# ('s' tag). Default is platform dependent.
+# Boost_USE_DEBUG_RUNTIME - Set to ON or OFF to specify whether to use
+# libraries linked to the MS debug C++ runtime
+# ('g' tag). Default is ON.
+# Boost_USE_DEBUG_PYTHON - Set to ON to use libraries compiled with a
+# debug Python build ('y' tag). Default is OFF.
+# Boost_USE_STLPORT - Set to ON to use libraries compiled with
+# STLPort ('p' tag). Default is OFF.
+# Boost_USE_STLPORT_DEPRECATED_NATIVE_IOSTREAMS
+# - Set to ON to use libraries compiled with
+# STLPort deprecated "native iostreams"
+# ('n' tag). Default is OFF.
+# Boost_COMPILER - Set to the compiler-specific library suffix
+# (e.g. "-gcc43"). Default is auto-computed
+# for the C++ compiler in use.
+# Boost_THREADAPI - Suffix for "thread" component library name,
+# such as "pthread" or "win32". Names with
+# and without this suffix will both be tried.
+# Boost_NAMESPACE - Alternate namespace used to build boost with
+# e.g. if set to "myboost", will search for
+# myboost_thread instead of boost_thread.
+#
+# Other variables one may set to control this module are::
+#
+# Boost_DEBUG - Set to ON to enable debug output from FindBoost.
+# Please enable this before filing any bug report.
+# Boost_DETAILED_FAILURE_MSG
+# - Set to ON to add detailed information to the
+# failure message even when the REQUIRED option
+# is not given to the find_package call.
+# Boost_REALPATH - Set to ON to resolve symlinks for discovered
+# libraries to assist with packaging. For example,
+# the "system" component library may be resolved to
+# "/usr/lib/libboost_system.so.1.42.0" instead of
+# "/usr/lib/libboost_system.so". This does not
+# affect linking and should not be enabled unless
+# the user needs this information.
#
-# Boost libraries come in many variants encoded in their file name. Users or
-# projects may tell this module which variant to find by setting variables:
-# Boost_USE_MULTITHREADED - Set to OFF to use the non-multithreaded
-# libraries ('mt' tag). Default is ON.
-# Boost_USE_STATIC_LIBS - Set to ON to force the use of the static
-# libraries. Default is OFF.
-# Boost_USE_STATIC_RUNTIME - Set to ON or OFF to specify whether to use
-# libraries linked statically to the C++ runtime
-# ('s' tag). Default is platform dependent.
-# Boost_USE_DEBUG_PYTHON - Set to ON to use libraries compiled with a
-# debug Python build ('y' tag). Default is OFF.
-# Boost_USE_STLPORT - Set to ON to use libraries compiled with
-# STLPort ('p' tag). Default is OFF.
-# Boost_USE_STLPORT_DEPRECATED_NATIVE_IOSTREAMS
-# - Set to ON to use libraries compiled with
-# STLPort deprecated "native iostreams"
-# ('n' tag). Default is OFF.
-# Boost_COMPILER - Set to the compiler-specific library suffix
-# (e.g. "-gcc43"). Default is auto-computed
-# for the C++ compiler in use.
-# Boost_THREADAPI - Suffix for "thread" component library name,
-# such as "pthread" or "win32". Names with
-# and without this suffix will both be tried.
-# Other variables one may set to control this module are:
-# Boost_DEBUG - Set to ON to enable debug output from FindBoost.
-# Please enable this before filing any bug report.
-# Boost_DETAILED_FAILURE_MSG
-# - Set to ON to add detailed information to the
-# failure message even when the REQUIRED option
-# is not given to the find_package call.
-# Boost_REALPATH - Set to ON to resolve symlinks for discovered
-# libraries to assist with packaging. For example,
-# the "system" component library may be resolved to
-# "/usr/lib/libboost_system.so.1.42.0" instead of
-# "/usr/lib/libboost_system.so". This does not
-# affect linking and should not be enabled unless
-# the user needs this information.
# On Visual Studio and Borland compilers Boost headers request automatic
-# linking to corresponding libraries. This requires matching libraries to be
-# linked explicitly or available in the link library search path. In this
-# case setting Boost_USE_STATIC_LIBS to OFF may not achieve dynamic linking.
-# Boost automatic linking typically requests static libraries with a few
-# exceptions (such as Boost.Python). Use
-# add_definitions(${Boost_LIB_DIAGNOSTIC_DEFINITIONS})
+# linking to corresponding libraries. This requires matching libraries
+# to be linked explicitly or available in the link library search path.
+# In this case setting Boost_USE_STATIC_LIBS to OFF may not achieve
+# dynamic linking. Boost automatic linking typically requests static
+# libraries with a few exceptions (such as Boost.Python). Use::
+#
+# add_definitions(${Boost_LIB_DIAGNOSTIC_DEFINITIONS})
+#
# to ask Boost to report information about automatic linking requests.
#
-# Example to find Boost headers only:
-# find_package(Boost 1.36.0)
-# if(Boost_FOUND)
-# include_directories(${Boost_INCLUDE_DIRS})
-# add_executable(foo foo.cc)
-# endif()
-# Example to find Boost headers and some libraries:
-# set(Boost_USE_STATIC_LIBS ON)
-# set(Boost_USE_MULTITHREADED ON)
-# set(Boost_USE_STATIC_RUNTIME OFF)
-# find_package(Boost 1.36.0 COMPONENTS date_time filesystem system ...)
-# if(Boost_FOUND)
-# include_directories(${Boost_INCLUDE_DIRS})
-# add_executable(foo foo.cc)
-# target_link_libraries(foo ${Boost_LIBRARIES})
-# endif()
+# Example to find Boost headers only::
+#
+# find_package(Boost 1.36.0)
+# if(Boost_FOUND)
+# include_directories(${Boost_INCLUDE_DIRS})
+# add_executable(foo foo.cc)
+# endif()
+#
+# Example to find Boost headers and some *static* libraries::
#
-# Boost CMake ----------------------------------------------------------
+# set(Boost_USE_STATIC_LIBS ON) # only find static libs
+# set(Boost_USE_MULTITHREADED ON)
+# set(Boost_USE_STATIC_RUNTIME OFF)
+# find_package(Boost 1.36.0 COMPONENTS date_time filesystem system ...)
+# if(Boost_FOUND)
+# include_directories(${Boost_INCLUDE_DIRS})
+# add_executable(foo foo.cc)
+# target_link_libraries(foo ${Boost_LIBRARIES})
+# endif()
+#
+# Boost CMake
+# ^^^^^^^^^^^
#
# If Boost was built using the boost-cmake project it provides a package
-# configuration file for use with find_package's Config mode. This module
-# looks for the package configuration file called BoostConfig.cmake or
-# boost-config.cmake and stores the result in cache entry "Boost_DIR". If
-# found, the package configuration file is loaded and this module returns with
-# no further action. See documentation of the Boost CMake package
-# configuration for details on what it provides.
+# configuration file for use with find_package's Config mode. This
+# module looks for the package configuration file called
+# BoostConfig.cmake or boost-config.cmake and stores the result in cache
+# entry "Boost_DIR". If found, the package configuration file is loaded
+# and this module returns with no further action. See documentation of
+# the Boost CMake package configuration for details on what it provides.
#
# Set Boost_NO_BOOST_CMAKE to ON to disable the search for boost-cmake.
@@ -279,10 +308,15 @@ endmacro()
macro(_Boost_FIND_LIBRARY var)
find_library(${var} ${ARGN})
- # If we found the first library save Boost_LIBRARY_DIR.
- if(${var} AND NOT Boost_LIBRARY_DIR)
- get_filename_component(_dir "${${var}}" PATH)
- set(Boost_LIBRARY_DIR "${_dir}" CACHE PATH "Boost library directory" FORCE)
+ if(${var})
+ # If this is the first library found then save Boost_LIBRARY_DIR.
+ if(NOT Boost_LIBRARY_DIR)
+ get_filename_component(_dir "${${var}}" PATH)
+ set(Boost_LIBRARY_DIR "${_dir}" CACHE PATH "Boost library directory" FORCE)
+ endif()
+ elseif(_Boost_FIND_LIBRARY_HINTS_FOR_COMPONENT)
+ # Try component-specific hints but do not save Boost_LIBRARY_DIR.
+ find_library(${var} HINTS ${_Boost_FIND_LIBRARY_HINTS_FOR_COMPONENT} ${ARGN})
endif()
# If Boost_LIBRARY_DIR is known then search only there.
@@ -423,6 +457,9 @@ endfunction()
if(NOT DEFINED Boost_USE_MULTITHREADED)
set(Boost_USE_MULTITHREADED TRUE)
endif()
+if(NOT DEFINED Boost_USE_DEBUG_RUNTIME)
+ set(Boost_USE_DEBUG_RUNTIME TRUE)
+endif()
# Check the version of Boost against the requested version.
if(Boost_FIND_VERSION AND NOT Boost_FIND_VERSION_MINOR)
@@ -702,10 +739,24 @@ else()
endif()
# ------------------------------------------------------------------------
+# Prefix initialization
+# ------------------------------------------------------------------------
+
+set(Boost_LIB_PREFIX "")
+if ( WIN32 AND Boost_USE_STATIC_LIBS AND NOT CYGWIN)
+ set(Boost_LIB_PREFIX "lib")
+endif()
+
+if ( NOT Boost_NAMESPACE )
+ set(Boost_NAMESPACE "boost")
+endif()
+
+# ------------------------------------------------------------------------
# Suffix initialization and compiler suffix detection.
# ------------------------------------------------------------------------
set(_Boost_VARS_NAME
+ Boost_NAMESPACE
Boost_COMPILER
Boost_THREADAPI
Boost_USE_DEBUG_PYTHON
@@ -718,11 +769,6 @@ set(_Boost_VARS_NAME
_Boost_CHANGE_DETECT(_Boost_CHANGE_LIBNAME ${_Boost_VARS_NAME})
# Setting some more suffixes for the library
-set(Boost_LIB_PREFIX "")
-if ( WIN32 AND Boost_USE_STATIC_LIBS AND NOT CYGWIN)
- set(Boost_LIB_PREFIX "lib")
-endif()
-
if (Boost_COMPILER)
set(_boost_COMPILER ${Boost_COMPILER})
if(Boost_DEBUG)
@@ -764,7 +810,7 @@ if(Boost_USE_STATIC_RUNTIME)
endif()
# g using debug versions of the standard and runtime
# support libraries
-if(WIN32)
+if(WIN32 AND Boost_USE_DEBUG_RUNTIME)
if(MSVC OR "${CMAKE_CXX_COMPILER}" MATCHES "icl"
OR "${CMAKE_CXX_COMPILER}" MATCHES "icpc")
set(_boost_DEBUG_ABI_TAG "${_boost_DEBUG_ABI_TAG}g")
@@ -906,22 +952,44 @@ foreach(COMPONENT ${Boost_FIND_COMPONENTS})
set( _boost_docstring_release "Boost ${COMPONENT} library (release)")
set( _boost_docstring_debug "Boost ${COMPONENT} library (debug)")
+ # Compute component-specific hints.
+ set(_Boost_FIND_LIBRARY_HINTS_FOR_COMPONENT "")
+ if(${COMPONENT} STREQUAL "mpi" OR ${COMPONENT} STREQUAL "mpi_python")
+ foreach(lib ${MPI_CXX_LIBRARIES} ${MPI_C_LIBRARIES})
+ if(IS_ABSOLUTE "${lib}")
+ get_filename_component(libdir "${lib}" PATH)
+ string(REPLACE "\\" "/" libdir "${libdir}")
+ list(APPEND _Boost_FIND_LIBRARY_HINTS_FOR_COMPONENT ${libdir})
+ endif()
+ endforeach()
+ endif()
+
+ # Consolidate and report component-specific hints.
+ if(_Boost_FIND_LIBRARY_HINTS_FOR_COMPONENT)
+ list(REMOVE_DUPLICATES _Boost_FIND_LIBRARY_HINTS_FOR_COMPONENT)
+ if(Boost_DEBUG)
+ message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] "
+ "Component-specific library search paths for ${COMPONENT}: "
+ "${_Boost_FIND_LIBRARY_HINTS_FOR_COMPONENT}")
+ endif()
+ endif()
+
#
# Find RELEASE libraries
#
set(_boost_RELEASE_NAMES
- ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_RELEASE_ABI_TAG}-${Boost_LIB_VERSION}
- ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_RELEASE_ABI_TAG}
- ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}${_boost_RELEASE_ABI_TAG}-${Boost_LIB_VERSION}
- ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}${_boost_RELEASE_ABI_TAG}
- ${Boost_LIB_PREFIX}boost_${COMPONENT} )
+ ${Boost_LIB_PREFIX}${Boost_NAMESPACE}_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_RELEASE_ABI_TAG}-${Boost_LIB_VERSION}
+ ${Boost_LIB_PREFIX}${Boost_NAMESPACE}_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_RELEASE_ABI_TAG}
+ ${Boost_LIB_PREFIX}${Boost_NAMESPACE}_${COMPONENT}${_boost_MULTITHREADED}${_boost_RELEASE_ABI_TAG}-${Boost_LIB_VERSION}
+ ${Boost_LIB_PREFIX}${Boost_NAMESPACE}_${COMPONENT}${_boost_MULTITHREADED}${_boost_RELEASE_ABI_TAG}
+ ${Boost_LIB_PREFIX}${Boost_NAMESPACE}_${COMPONENT} )
if(_boost_STATIC_RUNTIME_WORKAROUND)
set(_boost_RELEASE_STATIC_ABI_TAG "-s${_boost_RELEASE_ABI_TAG}")
list(APPEND _boost_RELEASE_NAMES
- ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_RELEASE_STATIC_ABI_TAG}-${Boost_LIB_VERSION}
- ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_RELEASE_STATIC_ABI_TAG}
- ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}${_boost_RELEASE_STATIC_ABI_TAG}-${Boost_LIB_VERSION}
- ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}${_boost_RELEASE_STATIC_ABI_TAG} )
+ ${Boost_LIB_PREFIX}${Boost_NAMESPACE}_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_RELEASE_STATIC_ABI_TAG}-${Boost_LIB_VERSION}
+ ${Boost_LIB_PREFIX}${Boost_NAMESPACE}_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_RELEASE_STATIC_ABI_TAG}
+ ${Boost_LIB_PREFIX}${Boost_NAMESPACE}_${COMPONENT}${_boost_MULTITHREADED}${_boost_RELEASE_STATIC_ABI_TAG}-${Boost_LIB_VERSION}
+ ${Boost_LIB_PREFIX}${Boost_NAMESPACE}_${COMPONENT}${_boost_MULTITHREADED}${_boost_RELEASE_STATIC_ABI_TAG} )
endif()
if(Boost_THREADAPI AND ${COMPONENT} STREQUAL "thread")
_Boost_PREPEND_LIST_WITH_THREADAPI(_boost_RELEASE_NAMES ${_boost_RELEASE_NAMES})
@@ -945,19 +1013,19 @@ foreach(COMPONENT ${Boost_FIND_COMPONENTS})
# Find DEBUG libraries
#
set(_boost_DEBUG_NAMES
- ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_DEBUG_ABI_TAG}-${Boost_LIB_VERSION}
- ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_DEBUG_ABI_TAG}
- ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}${_boost_DEBUG_ABI_TAG}-${Boost_LIB_VERSION}
- ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}${_boost_DEBUG_ABI_TAG}
- ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}
- ${Boost_LIB_PREFIX}boost_${COMPONENT} )
+ ${Boost_LIB_PREFIX}${Boost_NAMESPACE}_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_DEBUG_ABI_TAG}-${Boost_LIB_VERSION}
+ ${Boost_LIB_PREFIX}${Boost_NAMESPACE}_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_DEBUG_ABI_TAG}
+ ${Boost_LIB_PREFIX}${Boost_NAMESPACE}_${COMPONENT}${_boost_MULTITHREADED}${_boost_DEBUG_ABI_TAG}-${Boost_LIB_VERSION}
+ ${Boost_LIB_PREFIX}${Boost_NAMESPACE}_${COMPONENT}${_boost_MULTITHREADED}${_boost_DEBUG_ABI_TAG}
+ ${Boost_LIB_PREFIX}${Boost_NAMESPACE}_${COMPONENT}${_boost_MULTITHREADED}
+ ${Boost_LIB_PREFIX}${Boost_NAMESPACE}_${COMPONENT} )
if(_boost_STATIC_RUNTIME_WORKAROUND)
set(_boost_DEBUG_STATIC_ABI_TAG "-s${_boost_DEBUG_ABI_TAG}")
list(APPEND _boost_DEBUG_NAMES
- ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_DEBUG_STATIC_ABI_TAG}-${Boost_LIB_VERSION}
- ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_DEBUG_STATIC_ABI_TAG}
- ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}${_boost_DEBUG_STATIC_ABI_TAG}-${Boost_LIB_VERSION}
- ${Boost_LIB_PREFIX}boost_${COMPONENT}${_boost_MULTITHREADED}${_boost_DEBUG_STATIC_ABI_TAG} )
+ ${Boost_LIB_PREFIX}${Boost_NAMESPACE}_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_DEBUG_STATIC_ABI_TAG}-${Boost_LIB_VERSION}
+ ${Boost_LIB_PREFIX}${Boost_NAMESPACE}_${COMPONENT}${_boost_COMPILER}${_boost_MULTITHREADED}${_boost_DEBUG_STATIC_ABI_TAG}
+ ${Boost_LIB_PREFIX}${Boost_NAMESPACE}_${COMPONENT}${_boost_MULTITHREADED}${_boost_DEBUG_STATIC_ABI_TAG}-${Boost_LIB_VERSION}
+ ${Boost_LIB_PREFIX}${Boost_NAMESPACE}_${COMPONENT}${_boost_MULTITHREADED}${_boost_DEBUG_STATIC_ABI_TAG} )
endif()
if(Boost_THREADAPI AND ${COMPONENT} STREQUAL "thread")
_Boost_PREPEND_LIST_WITH_THREADAPI(_boost_DEBUG_NAMES ${_boost_DEBUG_NAMES})
@@ -1030,7 +1098,7 @@ if(Boost_FOUND)
"${Boost_ERROR_REASON} Boost libraries:\n")
foreach(COMPONENT ${_Boost_MISSING_COMPONENTS})
set(Boost_ERROR_REASON
- "${Boost_ERROR_REASON} boost_${COMPONENT}\n")
+ "${Boost_ERROR_REASON} ${Boost_NAMESPACE}_${COMPONENT}\n")
endforeach()
list(LENGTH Boost_FIND_COMPONENTS Boost_NUM_COMPONENTS_WANTED)
diff --git a/Modules/FindBullet.cmake b/Modules/FindBullet.cmake
index 1a27fc3..fc848fa 100644
--- a/Modules/FindBullet.cmake
+++ b/Modules/FindBullet.cmake
@@ -1,17 +1,36 @@
-# - Try to find the Bullet physics engine
+#.rst:
+# FindBullet
+# ----------
#
-# This module defines the following variables
+# Try to find the Bullet physics engine
#
-# BULLET_FOUND - Was bullet found
-# BULLET_INCLUDE_DIRS - the Bullet include directories
-# BULLET_LIBRARIES - Link to this, by default it includes
-# all bullet components (Dynamics,
-# Collision, LinearMath, & SoftBody)
#
-# This module accepts the following variables
#
-# BULLET_ROOT - Can be set to bullet install path or Windows build path
+# ::
#
+# This module defines the following variables
+#
+#
+#
+# ::
+#
+# BULLET_FOUND - Was bullet found
+# BULLET_INCLUDE_DIRS - the Bullet include directories
+# BULLET_LIBRARIES - Link to this, by default it includes
+# all bullet components (Dynamics,
+# Collision, LinearMath, & SoftBody)
+#
+#
+#
+# ::
+#
+# This module accepts the following variables
+#
+#
+#
+# ::
+#
+# BULLET_ROOT - Can be set to bullet install path or Windows build path
#=============================================================================
# Copyright 2009 Kitware, Inc.
diff --git a/Modules/FindCABLE.cmake b/Modules/FindCABLE.cmake
index 3e2d5d3..5cea109 100644
--- a/Modules/FindCABLE.cmake
+++ b/Modules/FindCABLE.cmake
@@ -1,14 +1,24 @@
-# - Find CABLE
+#.rst:
+# FindCABLE
+# ---------
+#
+# Find CABLE
+#
# This module finds if CABLE is installed and determines where the
-# include files and libraries are. This code sets the following variables:
+# include files and libraries are. This code sets the following
+# variables:
+#
+# ::
+#
+# CABLE the path to the cable executable
+# CABLE_TCL_LIBRARY the path to the Tcl wrapper library
+# CABLE_INCLUDE_DIR the path to the include directory
+#
#
-# CABLE the path to the cable executable
-# CABLE_TCL_LIBRARY the path to the Tcl wrapper library
-# CABLE_INCLUDE_DIR the path to the include directory
#
# To build Tcl wrappers, you should add shared library and link it to
-# ${CABLE_TCL_LIBRARY}. You should also add ${CABLE_INCLUDE_DIR} as
-# an include directory.
+# ${CABLE_TCL_LIBRARY}. You should also add ${CABLE_INCLUDE_DIR} as an
+# include directory.
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.
diff --git a/Modules/FindCUDA.cmake b/Modules/FindCUDA.cmake
index 2705d32..7bc8d49 100644
--- a/Modules/FindCUDA.cmake
+++ b/Modules/FindCUDA.cmake
@@ -1,292 +1,303 @@
-# - Tools for building CUDA C files: libraries and build dependencies.
-# This script locates the NVIDIA CUDA C tools. It should work on linux, windows,
-# and mac and should be reasonably up to date with CUDA C releases.
+#.rst:
+# FindCUDA
+# --------
#
-# This script makes use of the standard find_package arguments of <VERSION>,
-# REQUIRED and QUIET. CUDA_FOUND will report if an acceptable version of CUDA
-# was found.
+# Tools for building CUDA C files: libraries and build dependencies.
#
-# The script will prompt the user to specify CUDA_TOOLKIT_ROOT_DIR if the prefix
-# cannot be determined by the location of nvcc in the system path and REQUIRED
-# is specified to find_package(). To use a different installed version of the
-# toolkit set the environment variable CUDA_BIN_PATH before running cmake
-# (e.g. CUDA_BIN_PATH=/usr/local/cuda1.0 instead of the default /usr/local/cuda)
-# or set CUDA_TOOLKIT_ROOT_DIR after configuring. If you change the value of
-# CUDA_TOOLKIT_ROOT_DIR, various components that depend on the path will be
-# relocated.
+# This script locates the NVIDIA CUDA C tools. It should work on linux,
+# windows, and mac and should be reasonably up to date with CUDA C
+# releases.
+#
+# This script makes use of the standard find_package arguments of
+# <VERSION>, REQUIRED and QUIET. CUDA_FOUND will report if an
+# acceptable version of CUDA was found.
+#
+# The script will prompt the user to specify CUDA_TOOLKIT_ROOT_DIR if
+# the prefix cannot be determined by the location of nvcc in the system
+# path and REQUIRED is specified to find_package(). To use a different
+# installed version of the toolkit set the environment variable
+# CUDA_BIN_PATH before running cmake (e.g.
+# CUDA_BIN_PATH=/usr/local/cuda1.0 instead of the default
+# /usr/local/cuda) or set CUDA_TOOLKIT_ROOT_DIR after configuring. If
+# you change the value of CUDA_TOOLKIT_ROOT_DIR, various components that
+# depend on the path will be relocated.
#
# It might be necessary to set CUDA_TOOLKIT_ROOT_DIR manually on certain
-# platforms, or to use a cuda runtime not installed in the default location. In
-# newer versions of the toolkit the cuda library is included with the graphics
-# driver- be sure that the driver version matches what is needed by the cuda
-# runtime version.
+# platforms, or to use a cuda runtime not installed in the default
+# location. In newer versions of the toolkit the cuda library is
+# included with the graphics driver- be sure that the driver version
+# matches what is needed by the cuda runtime version.
+#
+# The following variables affect the behavior of the macros in the
+# script (in alphebetical order). Note that any of these flags can be
+# changed multiple times in the same directory before calling
+# CUDA_ADD_EXECUTABLE, CUDA_ADD_LIBRARY, CUDA_COMPILE, CUDA_COMPILE_PTX
+# or CUDA_WRAP_SRCS::
+#
+# CUDA_64_BIT_DEVICE_CODE (Default matches host bit size)
+# -- Set to ON to compile for 64 bit device code, OFF for 32 bit device code.
+# Note that making this different from the host code when generating object
+# or C files from CUDA code just won't work, because size_t gets defined by
+# nvcc in the generated source. If you compile to PTX and then load the
+# file yourself, you can mix bit sizes between device and host.
#
-# The following variables affect the behavior of the macros in the script (in
-# alphebetical order). Note that any of these flags can be changed multiple
-# times in the same directory before calling CUDA_ADD_EXECUTABLE,
-# CUDA_ADD_LIBRARY, CUDA_COMPILE, CUDA_COMPILE_PTX or CUDA_WRAP_SRCS.
+# CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE (Default ON)
+# -- Set to ON if you want the custom build rule to be attached to the source
+# file in Visual Studio. Turn OFF if you add the same cuda file to multiple
+# targets.
#
-# CUDA_64_BIT_DEVICE_CODE (Default matches host bit size)
-# -- Set to ON to compile for 64 bit device code, OFF for 32 bit device code.
-# Note that making this different from the host code when generating object
-# or C files from CUDA code just won't work, because size_t gets defined by
-# nvcc in the generated source. If you compile to PTX and then load the
-# file yourself, you can mix bit sizes between device and host.
+# This allows the user to build the target from the CUDA file; however, bad
+# things can happen if the CUDA source file is added to multiple targets.
+# When performing parallel builds it is possible for the custom build
+# command to be run more than once and in parallel causing cryptic build
+# errors. VS runs the rules for every source file in the target, and a
+# source can have only one rule no matter how many projects it is added to.
+# When the rule is run from multiple targets race conditions can occur on
+# the generated file. Eventually everything will get built, but if the user
+# is unaware of this behavior, there may be confusion. It would be nice if
+# this script could detect the reuse of source files across multiple targets
+# and turn the option off for the user, but no good solution could be found.
#
-# CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE (Default ON)
-# -- Set to ON if you want the custom build rule to be attached to the source
-# file in Visual Studio. Turn OFF if you add the same cuda file to multiple
-# targets.
+# CUDA_BUILD_CUBIN (Default OFF)
+# -- Set to ON to enable and extra compilation pass with the -cubin option in
+# Device mode. The output is parsed and register, shared memory usage is
+# printed during build.
#
-# This allows the user to build the target from the CUDA file; however, bad
-# things can happen if the CUDA source file is added to multiple targets.
-# When performing parallel builds it is possible for the custom build
-# command to be run more than once and in parallel causing cryptic build
-# errors. VS runs the rules for every source file in the target, and a
-# source can have only one rule no matter how many projects it is added to.
-# When the rule is run from multiple targets race conditions can occur on
-# the generated file. Eventually everything will get built, but if the user
-# is unaware of this behavior, there may be confusion. It would be nice if
-# this script could detect the reuse of source files across multiple targets
-# and turn the option off for the user, but no good solution could be found.
+# CUDA_BUILD_EMULATION (Default OFF for device mode)
+# -- Set to ON for Emulation mode. -D_DEVICEEMU is defined for CUDA C files
+# when CUDA_BUILD_EMULATION is TRUE.
#
-# CUDA_BUILD_CUBIN (Default OFF)
-# -- Set to ON to enable and extra compilation pass with the -cubin option in
-# Device mode. The output is parsed and register, shared memory usage is
-# printed during build.
+# CUDA_GENERATED_OUTPUT_DIR (Default CMAKE_CURRENT_BINARY_DIR)
+# -- Set to the path you wish to have the generated files placed. If it is
+# blank output files will be placed in CMAKE_CURRENT_BINARY_DIR.
+# Intermediate files will always be placed in
+# CMAKE_CURRENT_BINARY_DIR/CMakeFiles.
#
-# CUDA_BUILD_EMULATION (Default OFF for device mode)
-# -- Set to ON for Emulation mode. -D_DEVICEEMU is defined for CUDA C files
-# when CUDA_BUILD_EMULATION is TRUE.
+# CUDA_HOST_COMPILATION_CPP (Default ON)
+# -- Set to OFF for C compilation of host code.
#
-# CUDA_GENERATED_OUTPUT_DIR (Default CMAKE_CURRENT_BINARY_DIR)
-# -- Set to the path you wish to have the generated files placed. If it is
-# blank output files will be placed in CMAKE_CURRENT_BINARY_DIR.
-# Intermediate files will always be placed in
-# CMAKE_CURRENT_BINARY_DIR/CMakeFiles.
+# CUDA_HOST_COMPILER (Default CMAKE_C_COMPILER, $(VCInstallDir)/bin for VS)
+# -- Set the host compiler to be used by nvcc. Ignored if -ccbin or
+# --compiler-bindir is already present in the CUDA_NVCC_FLAGS or
+# CUDA_NVCC_FLAGS_<CONFIG> variables. For Visual Studio targets
+# $(VCInstallDir)/bin is a special value that expands out to the path when
+# the command is run from withing VS.
#
-# CUDA_HOST_COMPILATION_CPP (Default ON)
-# -- Set to OFF for C compilation of host code.
+# CUDA_NVCC_FLAGS
+# CUDA_NVCC_FLAGS_<CONFIG>
+# -- Additional NVCC command line arguments. NOTE: multiple arguments must be
+# semi-colon delimited (e.g. --compiler-options;-Wall)
#
-# CUDA_HOST_COMPILER (Default CMAKE_C_COMPILER, $(VCInstallDir)/bin for VS)
-# -- Set the host compiler to be used by nvcc. Ignored if -ccbin or
-# --compiler-bindir is already present in the CUDA_NVCC_FLAGS or
-# CUDA_NVCC_FLAGS_<CONFIG> variables. For Visual Studio targets
-# $(VCInstallDir)/bin is a special value that expands out to the path when
-# the command is run from withing VS.
+# CUDA_PROPAGATE_HOST_FLAGS (Default ON)
+# -- Set to ON to propagate CMAKE_{C,CXX}_FLAGS and their configuration
+# dependent counterparts (e.g. CMAKE_C_FLAGS_DEBUG) automatically to the
+# host compiler through nvcc's -Xcompiler flag. This helps make the
+# generated host code match the rest of the system better. Sometimes
+# certain flags give nvcc problems, and this will help you turn the flag
+# propagation off. This does not affect the flags supplied directly to nvcc
+# via CUDA_NVCC_FLAGS or through the OPTION flags specified through
+# CUDA_ADD_LIBRARY, CUDA_ADD_EXECUTABLE, or CUDA_WRAP_SRCS. Flags used for
+# shared library compilation are not affected by this flag.
#
-# CUDA_NVCC_FLAGS
-# CUDA_NVCC_FLAGS_<CONFIG>
-# -- Additional NVCC command line arguments. NOTE: multiple arguments must be
-# semi-colon delimited (e.g. --compiler-options;-Wall)
+# CUDA_SEPARABLE_COMPILATION (Default OFF)
+# -- If set this will enable separable compilation for all CUDA runtime object
+# files. If used outside of CUDA_ADD_EXECUTABLE and CUDA_ADD_LIBRARY
+# (e.g. calling CUDA_WRAP_SRCS directly),
+# CUDA_COMPUTE_SEPARABLE_COMPILATION_OBJECT_FILE_NAME and
+# CUDA_LINK_SEPARABLE_COMPILATION_OBJECTS should be called.
#
-# CUDA_PROPAGATE_HOST_FLAGS (Default ON)
-# -- Set to ON to propagate CMAKE_{C,CXX}_FLAGS and their configuration
-# dependent counterparts (e.g. CMAKE_C_FLAGS_DEBUG) automatically to the
-# host compiler through nvcc's -Xcompiler flag. This helps make the
-# generated host code match the rest of the system better. Sometimes
-# certain flags give nvcc problems, and this will help you turn the flag
-# propagation off. This does not affect the flags supplied directly to nvcc
-# via CUDA_NVCC_FLAGS or through the OPTION flags specified through
-# CUDA_ADD_LIBRARY, CUDA_ADD_EXECUTABLE, or CUDA_WRAP_SRCS. Flags used for
-# shared library compilation are not affected by this flag.
+# CUDA_VERBOSE_BUILD (Default OFF)
+# -- Set to ON to see all the commands used when building the CUDA file. When
+# using a Makefile generator the value defaults to VERBOSE (run make
+# VERBOSE=1 to see output), although setting CUDA_VERBOSE_BUILD to ON will
+# always print the output.
#
-# CUDA_SEPARABLE_COMPILATION (Default OFF)
-# -- If set this will enable separable compilation for all CUDA runtime object
-# files. If used outside of CUDA_ADD_EXECUTABLE and CUDA_ADD_LIBRARY
-# (e.g. calling CUDA_WRAP_SRCS directly),
-# CUDA_COMPUTE_SEPARABLE_COMPILATION_OBJECT_FILE_NAME and
-# CUDA_LINK_SEPARABLE_COMPILATION_OBJECTS should be called.
+# The script creates the following macros (in alphebetical order)::
#
-# CUDA_VERBOSE_BUILD (Default OFF)
-# -- Set to ON to see all the commands used when building the CUDA file. When
-# using a Makefile generator the value defaults to VERBOSE (run make
-# VERBOSE=1 to see output), although setting CUDA_VERBOSE_BUILD to ON will
-# always print the output.
+# CUDA_ADD_CUFFT_TO_TARGET( cuda_target )
+# -- Adds the cufft library to the target (can be any target). Handles whether
+# you are in emulation mode or not.
#
-# The script creates the following macros (in alphebetical order):
+# CUDA_ADD_CUBLAS_TO_TARGET( cuda_target )
+# -- Adds the cublas library to the target (can be any target). Handles
+# whether you are in emulation mode or not.
#
-# CUDA_ADD_CUFFT_TO_TARGET( cuda_target )
-# -- Adds the cufft library to the target (can be any target). Handles whether
-# you are in emulation mode or not.
+# CUDA_ADD_EXECUTABLE( cuda_target file0 file1 ...
+# [WIN32] [MACOSX_BUNDLE] [EXCLUDE_FROM_ALL] [OPTIONS ...] )
+# -- Creates an executable "cuda_target" which is made up of the files
+# specified. All of the non CUDA C files are compiled using the standard
+# build rules specified by CMAKE and the cuda files are compiled to object
+# files using nvcc and the host compiler. In addition CUDA_INCLUDE_DIRS is
+# added automatically to include_directories(). Some standard CMake target
+# calls can be used on the target after calling this macro
+# (e.g. set_target_properties and target_link_libraries), but setting
+# properties that adjust compilation flags will not affect code compiled by
+# nvcc. Such flags should be modified before calling CUDA_ADD_EXECUTABLE,
+# CUDA_ADD_LIBRARY or CUDA_WRAP_SRCS.
#
-# CUDA_ADD_CUBLAS_TO_TARGET( cuda_target )
-# -- Adds the cublas library to the target (can be any target). Handles
-# whether you are in emulation mode or not.
+# CUDA_ADD_LIBRARY( cuda_target file0 file1 ...
+# [STATIC | SHARED | MODULE] [EXCLUDE_FROM_ALL] [OPTIONS ...] )
+# -- Same as CUDA_ADD_EXECUTABLE except that a library is created.
#
-# CUDA_ADD_EXECUTABLE( cuda_target file0 file1 ...
-# [WIN32] [MACOSX_BUNDLE] [EXCLUDE_FROM_ALL] [OPTIONS ...] )
-# -- Creates an executable "cuda_target" which is made up of the files
-# specified. All of the non CUDA C files are compiled using the standard
-# build rules specified by CMAKE and the cuda files are compiled to object
-# files using nvcc and the host compiler. In addition CUDA_INCLUDE_DIRS is
-# added automatically to include_directories(). Some standard CMake target
-# calls can be used on the target after calling this macro
-# (e.g. set_target_properties and target_link_libraries), but setting
-# properties that adjust compilation flags will not affect code compiled by
-# nvcc. Such flags should be modified before calling CUDA_ADD_EXECUTABLE,
-# CUDA_ADD_LIBRARY or CUDA_WRAP_SRCS.
+# CUDA_BUILD_CLEAN_TARGET()
+# -- Creates a convience target that deletes all the dependency files
+# generated. You should make clean after running this target to ensure the
+# dependency files get regenerated.
#
-# CUDA_ADD_LIBRARY( cuda_target file0 file1 ...
-# [STATIC | SHARED | MODULE] [EXCLUDE_FROM_ALL] [OPTIONS ...] )
-# -- Same as CUDA_ADD_EXECUTABLE except that a library is created.
+# CUDA_COMPILE( generated_files file0 file1 ... [STATIC | SHARED | MODULE]
+# [OPTIONS ...] )
+# -- Returns a list of generated files from the input source files to be used
+# with ADD_LIBRARY or ADD_EXECUTABLE.
#
-# CUDA_BUILD_CLEAN_TARGET()
-# -- Creates a convience target that deletes all the dependency files
-# generated. You should make clean after running this target to ensure the
-# dependency files get regenerated.
+# CUDA_COMPILE_PTX( generated_files file0 file1 ... [OPTIONS ...] )
+# -- Returns a list of PTX files generated from the input source files.
#
-# CUDA_COMPILE( generated_files file0 file1 ... [STATIC | SHARED | MODULE]
-# [OPTIONS ...] )
-# -- Returns a list of generated files from the input source files to be used
-# with ADD_LIBRARY or ADD_EXECUTABLE.
+# CUDA_COMPUTE_SEPARABLE_COMPILATION_OBJECT_FILE_NAME( output_file_var
+# cuda_target
+# object_files )
+# -- Compute the name of the intermediate link file used for separable
+# compilation. This file name is typically passed into
+# CUDA_LINK_SEPARABLE_COMPILATION_OBJECTS. output_file_var is produced
+# based on cuda_target the list of objects files that need separable
+# compilation as specified by object_files. If the object_files list is
+# empty, then output_file_var will be empty. This function is called
+# automatically for CUDA_ADD_LIBRARY and CUDA_ADD_EXECUTABLE. Note that
+# this is a function and not a macro.
#
-# CUDA_COMPILE_PTX( generated_files file0 file1 ... [OPTIONS ...] )
-# -- Returns a list of PTX files generated from the input source files.
+# CUDA_INCLUDE_DIRECTORIES( path0 path1 ... )
+# -- Sets the directories that should be passed to nvcc
+# (e.g. nvcc -Ipath0 -Ipath1 ... ). These paths usually contain other .cu
+# files.
#
-# CUDA_COMPUTE_SEPARABLE_COMPILATION_OBJECT_FILE_NAME( output_file_var
-# cuda_target
-# object_files )
-# -- Compute the name of the intermediate link file used for separable
-# compilation. This file name is typically passed into
-# CUDA_LINK_SEPARABLE_COMPILATION_OBJECTS. output_file_var is produced
-# based on cuda_target the list of objects files that need separable
-# compilation as specified by object_files. If the object_files list is
-# empty, then output_file_var will be empty. This function is called
-# automatically for CUDA_ADD_LIBRARY and CUDA_ADD_EXECUTABLE. Note that
-# this is a function and not a macro.
#
-# CUDA_INCLUDE_DIRECTORIES( path0 path1 ... )
-# -- Sets the directories that should be passed to nvcc
-# (e.g. nvcc -Ipath0 -Ipath1 ... ). These paths usually contain other .cu
-# files.
#
+# CUDA_LINK_SEPARABLE_COMPILATION_OBJECTS( output_file_var cuda_target
+# nvcc_flags object_files)
#
-# CUDA_LINK_SEPARABLE_COMPILATION_OBJECTS( output_file_var cuda_target
-# nvcc_flags object_files)
+# -- Generates the link object required by separable compilation from the given
+# object files. This is called automatically for CUDA_ADD_EXECUTABLE and
+# CUDA_ADD_LIBRARY, but can be called manually when using CUDA_WRAP_SRCS
+# directly. When called from CUDA_ADD_LIBRARY or CUDA_ADD_EXECUTABLE the
+# nvcc_flags passed in are the same as the flags passed in via the OPTIONS
+# argument. The only nvcc flag added automatically is the bitness flag as
+# specified by CUDA_64_BIT_DEVICE_CODE. Note that this is a function
+# instead of a macro.
#
-# -- Generates the link object required by separable compilation from the given
-# object files. This is called automatically for CUDA_ADD_EXECUTABLE and
-# CUDA_ADD_LIBRARY, but can be called manually when using CUDA_WRAP_SRCS
-# directly. When called from CUDA_ADD_LIBRARY or CUDA_ADD_EXECUTABLE the
-# nvcc_flags passed in are the same as the flags passed in via the OPTIONS
-# argument. The only nvcc flag added automatically is the bitness flag as
-# specified by CUDA_64_BIT_DEVICE_CODE. Note that this is a function
-# instead of a macro.
+# CUDA_WRAP_SRCS ( cuda_target format generated_files file0 file1 ...
+# [STATIC | SHARED | MODULE] [OPTIONS ...] )
+# -- This is where all the magic happens. CUDA_ADD_EXECUTABLE,
+# CUDA_ADD_LIBRARY, CUDA_COMPILE, and CUDA_COMPILE_PTX all call this
+# function under the hood.
#
-# CUDA_WRAP_SRCS ( cuda_target format generated_files file0 file1 ...
-# [STATIC | SHARED | MODULE] [OPTIONS ...] )
-# -- This is where all the magic happens. CUDA_ADD_EXECUTABLE,
-# CUDA_ADD_LIBRARY, CUDA_COMPILE, and CUDA_COMPILE_PTX all call this
-# function under the hood.
+# Given the list of files (file0 file1 ... fileN) this macro generates
+# custom commands that generate either PTX or linkable objects (use "PTX" or
+# "OBJ" for the format argument to switch). Files that don't end with .cu
+# or have the HEADER_FILE_ONLY property are ignored.
#
-# Given the list of files (file0 file1 ... fileN) this macro generates
-# custom commands that generate either PTX or linkable objects (use "PTX" or
-# "OBJ" for the format argument to switch). Files that don't end with .cu
-# or have the HEADER_FILE_ONLY property are ignored.
+# The arguments passed in after OPTIONS are extra command line options to
+# give to nvcc. You can also specify per configuration options by
+# specifying the name of the configuration followed by the options. General
+# options must preceed configuration specific options. Not all
+# configurations need to be specified, only the ones provided will be used.
#
-# The arguments passed in after OPTIONS are extra command line options to
-# give to nvcc. You can also specify per configuration options by
-# specifying the name of the configuration followed by the options. General
-# options must preceed configuration specific options. Not all
-# configurations need to be specified, only the ones provided will be used.
+# OPTIONS -DFLAG=2 "-DFLAG_OTHER=space in flag"
+# DEBUG -g
+# RELEASE --use_fast_math
+# RELWITHDEBINFO --use_fast_math;-g
+# MINSIZEREL --use_fast_math
#
-# OPTIONS -DFLAG=2 "-DFLAG_OTHER=space in flag"
-# DEBUG -g
-# RELEASE --use_fast_math
-# RELWITHDEBINFO --use_fast_math;-g
-# MINSIZEREL --use_fast_math
+# For certain configurations (namely VS generating object files with
+# CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE set to ON), no generated file will
+# be produced for the given cuda file. This is because when you add the
+# cuda file to Visual Studio it knows that this file produces an object file
+# and will link in the resulting object file automatically.
#
-# For certain configurations (namely VS generating object files with
-# CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE set to ON), no generated file will
-# be produced for the given cuda file. This is because when you add the
-# cuda file to Visual Studio it knows that this file produces an object file
-# and will link in the resulting object file automatically.
+# This script will also generate a separate cmake script that is used at
+# build time to invoke nvcc. This is for several reasons.
#
-# This script will also generate a separate cmake script that is used at
-# build time to invoke nvcc. This is for several reasons.
+# 1. nvcc can return negative numbers as return values which confuses
+# Visual Studio into thinking that the command succeeded. The script now
+# checks the error codes and produces errors when there was a problem.
#
-# 1. nvcc can return negative numbers as return values which confuses
-# Visual Studio into thinking that the command succeeded. The script now
-# checks the error codes and produces errors when there was a problem.
+# 2. nvcc has been known to not delete incomplete results when it
+# encounters problems. This confuses build systems into thinking the
+# target was generated when in fact an unusable file exists. The script
+# now deletes the output files if there was an error.
#
-# 2. nvcc has been known to not delete incomplete results when it
-# encounters problems. This confuses build systems into thinking the
-# target was generated when in fact an unusable file exists. The script
-# now deletes the output files if there was an error.
+# 3. By putting all the options that affect the build into a file and then
+# make the build rule dependent on the file, the output files will be
+# regenerated when the options change.
#
-# 3. By putting all the options that affect the build into a file and then
-# make the build rule dependent on the file, the output files will be
-# regenerated when the options change.
+# This script also looks at optional arguments STATIC, SHARED, or MODULE to
+# determine when to target the object compilation for a shared library.
+# BUILD_SHARED_LIBS is ignored in CUDA_WRAP_SRCS, but it is respected in
+# CUDA_ADD_LIBRARY. On some systems special flags are added for building
+# objects intended for shared libraries. A preprocessor macro,
+# <target_name>_EXPORTS is defined when a shared library compilation is
+# detected.
#
-# This script also looks at optional arguments STATIC, SHARED, or MODULE to
-# determine when to target the object compilation for a shared library.
-# BUILD_SHARED_LIBS is ignored in CUDA_WRAP_SRCS, but it is respected in
-# CUDA_ADD_LIBRARY. On some systems special flags are added for building
-# objects intended for shared libraries. A preprocessor macro,
-# <target_name>_EXPORTS is defined when a shared library compilation is
-# detected.
+# Flags passed into add_definitions with -D or /D are passed along to nvcc.
#
-# Flags passed into add_definitions with -D or /D are passed along to nvcc.
#
-# The script defines the following variables:
#
-# CUDA_VERSION_MAJOR -- The major version of cuda as reported by nvcc.
-# CUDA_VERSION_MINOR -- The minor version.
-# CUDA_VERSION
-# CUDA_VERSION_STRING -- CUDA_VERSION_MAJOR.CUDA_VERSION_MINOR
+# The script defines the following variables::
#
-# CUDA_TOOLKIT_ROOT_DIR -- Path to the CUDA Toolkit (defined if not set).
-# CUDA_SDK_ROOT_DIR -- Path to the CUDA SDK. Use this to find files in the
-# SDK. This script will not directly support finding
-# specific libraries or headers, as that isn't
-# supported by NVIDIA. If you want to change
-# libraries when the path changes see the
-# FindCUDA.cmake script for an example of how to clear
-# these variables. There are also examples of how to
-# use the CUDA_SDK_ROOT_DIR to locate headers or
-# libraries, if you so choose (at your own risk).
-# CUDA_INCLUDE_DIRS -- Include directory for cuda headers. Added automatically
-# for CUDA_ADD_EXECUTABLE and CUDA_ADD_LIBRARY.
-# CUDA_LIBRARIES -- Cuda RT library.
-# CUDA_CUFFT_LIBRARIES -- Device or emulation library for the Cuda FFT
-# implementation (alternative to:
-# CUDA_ADD_CUFFT_TO_TARGET macro)
-# CUDA_CUBLAS_LIBRARIES -- Device or emulation library for the Cuda BLAS
-# implementation (alterative to:
-# CUDA_ADD_CUBLAS_TO_TARGET macro).
-# CUDA_cupti_LIBRARY -- CUDA Profiling Tools Interface library.
-# Only available for CUDA version 4.0+.
-# CUDA_curand_LIBRARY -- CUDA Random Number Generation library.
-# Only available for CUDA version 3.2+.
-# CUDA_cusparse_LIBRARY -- CUDA Sparse Matrix library.
-# Only available for CUDA version 3.2+.
-# CUDA_npp_LIBRARY -- NVIDIA Performance Primitives library.
-# Only available for CUDA version 4.0+.
-# CUDA_nppc_LIBRARY -- NVIDIA Performance Primitives library (core).
-# Only available for CUDA version 5.5+.
-# CUDA_nppi_LIBRARY -- NVIDIA Performance Primitives library (image processing).
-# Only available for CUDA version 5.5+.
-# CUDA_npps_LIBRARY -- NVIDIA Performance Primitives library (signal processing).
-# Only available for CUDA version 5.5+.
-# CUDA_nvcuvenc_LIBRARY -- CUDA Video Encoder library.
-# Only available for CUDA version 3.2+.
-# Windows only.
-# CUDA_nvcuvid_LIBRARY -- CUDA Video Decoder library.
-# Only available for CUDA version 3.2+.
-# Windows only.
+# CUDA_VERSION_MAJOR -- The major version of cuda as reported by nvcc.
+# CUDA_VERSION_MINOR -- The minor version.
+# CUDA_VERSION
+# CUDA_VERSION_STRING -- CUDA_VERSION_MAJOR.CUDA_VERSION_MINOR
#
+# CUDA_TOOLKIT_ROOT_DIR -- Path to the CUDA Toolkit (defined if not set).
+# CUDA_SDK_ROOT_DIR -- Path to the CUDA SDK. Use this to find files in the
+# SDK. This script will not directly support finding
+# specific libraries or headers, as that isn't
+# supported by NVIDIA. If you want to change
+# libraries when the path changes see the
+# FindCUDA.cmake script for an example of how to clear
+# these variables. There are also examples of how to
+# use the CUDA_SDK_ROOT_DIR to locate headers or
+# libraries, if you so choose (at your own risk).
+# CUDA_INCLUDE_DIRS -- Include directory for cuda headers. Added automatically
+# for CUDA_ADD_EXECUTABLE and CUDA_ADD_LIBRARY.
+# CUDA_LIBRARIES -- Cuda RT library.
+# CUDA_CUFFT_LIBRARIES -- Device or emulation library for the Cuda FFT
+# implementation (alternative to:
+# CUDA_ADD_CUFFT_TO_TARGET macro)
+# CUDA_CUBLAS_LIBRARIES -- Device or emulation library for the Cuda BLAS
+# implementation (alterative to:
+# CUDA_ADD_CUBLAS_TO_TARGET macro).
+# CUDA_cupti_LIBRARY -- CUDA Profiling Tools Interface library.
+# Only available for CUDA version 4.0+.
+# CUDA_curand_LIBRARY -- CUDA Random Number Generation library.
+# Only available for CUDA version 3.2+.
+# CUDA_cusparse_LIBRARY -- CUDA Sparse Matrix library.
+# Only available for CUDA version 3.2+.
+# CUDA_npp_LIBRARY -- NVIDIA Performance Primitives library.
+# Only available for CUDA version 4.0+.
+# CUDA_nppc_LIBRARY -- NVIDIA Performance Primitives library (core).
+# Only available for CUDA version 5.5+.
+# CUDA_nppi_LIBRARY -- NVIDIA Performance Primitives library (image processing).
+# Only available for CUDA version 5.5+.
+# CUDA_npps_LIBRARY -- NVIDIA Performance Primitives library (signal processing).
+# Only available for CUDA version 5.5+.
+# CUDA_nvcuvenc_LIBRARY -- CUDA Video Encoder library.
+# Only available for CUDA version 3.2+.
+# Windows only.
+# CUDA_nvcuvid_LIBRARY -- CUDA Video Decoder library.
+# Only available for CUDA version 3.2+.
+# Windows only.
#
-# James Bigler, NVIDIA Corp (nvidia.com - jbigler)
-# Abe Stephens, SCI Institute -- http://www.sci.utah.edu/~abe/FindCuda.html
+
+# James Bigler, NVIDIA Corp (nvidia.com - jbigler)
+# Abe Stephens, SCI Institute -- http://www.sci.utah.edu/~abe/FindCuda.html
#
-# Copyright (c) 2008 - 2009 NVIDIA Corporation. All rights reserved.
+# Copyright (c) 2008 - 2009 NVIDIA Corporation. All rights reserved.
#
-# Copyright (c) 2007-2009
-# Scientific Computing and Imaging Institute, University of Utah
+# Copyright (c) 2007-2009
+# Scientific Computing and Imaging Institute, University of Utah
#
-# This code is licensed under the MIT License. See the FindCUDA.cmake script
-# for the text of the license.
+# This code is licensed under the MIT License. See the FindCUDA.cmake script
+# for the text of the license.
# The MIT License
#
@@ -481,19 +492,15 @@ endforeach()
###############################################################################
###############################################################################
-# Check to see if the CUDA_TOOLKIT_ROOT_DIR and CUDA_SDK_ROOT_DIR have changed,
-# if they have then clear the cache variables, so that will be detected again.
-if(NOT "${CUDA_TOOLKIT_ROOT_DIR}" STREQUAL "${CUDA_TOOLKIT_ROOT_DIR_INTERNAL}")
- unset(CUDA_NVCC_EXECUTABLE CACHE)
+macro(cuda_unset_include_and_libraries)
unset(CUDA_TOOLKIT_INCLUDE CACHE)
unset(CUDA_CUDART_LIBRARY CACHE)
+ unset(CUDA_CUDA_LIBRARY CACHE)
# Make sure you run this before you unset CUDA_VERSION.
if(CUDA_VERSION VERSION_EQUAL "3.0")
# This only existed in the 3.0 version of the CUDA toolkit
unset(CUDA_CUDARTEMU_LIBRARY CACHE)
endif()
- unset(CUDA_VERSION CACHE)
- unset(CUDA_CUDA_LIBRARY CACHE)
unset(CUDA_cupti_LIBRARY CACHE)
unset(CUDA_cublas_LIBRARY CACHE)
unset(CUDA_cublasemu_LIBRARY CACHE)
@@ -507,6 +514,19 @@ if(NOT "${CUDA_TOOLKIT_ROOT_DIR}" STREQUAL "${CUDA_TOOLKIT_ROOT_DIR_INTERNAL}")
unset(CUDA_npps_LIBRARY CACHE)
unset(CUDA_nvcuvenc_LIBRARY CACHE)
unset(CUDA_nvcuvid_LIBRARY CACHE)
+endmacro()
+
+# Check to see if the CUDA_TOOLKIT_ROOT_DIR and CUDA_SDK_ROOT_DIR have changed,
+# if they have then clear the cache variables, so that will be detected again.
+if(NOT "${CUDA_TOOLKIT_ROOT_DIR}" STREQUAL "${CUDA_TOOLKIT_ROOT_DIR_INTERNAL}")
+ unset(CUDA_TOOLKIT_TARGET_DIR CACHE)
+ unset(CUDA_NVCC_EXECUTABLE CACHE)
+ unset(CUDA_VERSION CACHE)
+ cuda_unset_include_and_libraries()
+endif()
+
+if(NOT "${CUDA_TOOLKIT_TARGET_DIR}" STREQUAL "${CUDA_TOOLKIT_TARGET_DIR_INTERNAL}")
+ cuda_unset_include_and_libraries()
endif()
if(NOT "${CUDA_SDK_ROOT_DIR}" STREQUAL "${CUDA_SDK_ROOT_DIR_INTERNAL}")
@@ -581,10 +601,27 @@ endif()
# Always set this convenience variable
set(CUDA_VERSION_STRING "${CUDA_VERSION}")
+# Support for arm cross compilation with CUDA 5.5
+if(CUDA_VERSION VERSION_GREATER "5.0" AND CMAKE_CROSSCOMPILING AND ${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm" AND EXISTS "${CUDA_TOOLKIT_ROOT_DIR}/targets/armv7-linux-gnueabihf")
+ set(CUDA_TOOLKIT_TARGET_DIR "${CUDA_TOOLKIT_ROOT_DIR}/targets/armv7-linux-gnueabihf" CACHE PATH "Toolkit target location.")
+else()
+ set(CUDA_TOOLKIT_TARGET_DIR "${CUDA_TOOLKIT_ROOT_DIR}" CACHE PATH "Toolkit target location.")
+endif()
+mark_as_advanced(CUDA_TOOLKIT_TARGET_DIR)
+
+# Target CPU architecture
+if(CUDA_VERSION VERSION_GREATER "5.0" AND CMAKE_CROSSCOMPILING AND ${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm")
+ set(_cuda_target_cpu_arch_initial "ARM")
+else()
+ set(_cuda_target_cpu_arch_initial "")
+endif()
+set(CUDA_TARGET_CPU_ARCH ${_cuda_target_cpu_arch_initial} CACHE STRING "Specify the name of the class of CPU architecture for which the input files must be compiled.")
+mark_as_advanced(CUDA_TARGET_CPU_ARCH)
+
# CUDA_TOOLKIT_INCLUDE
find_path(CUDA_TOOLKIT_INCLUDE
device_functions.h # Header included in toolkit
- PATHS "${CUDA_TOOLKIT_ROOT_DIR}"
+ PATHS "${CUDA_TOOLKIT_TARGET_DIR}" "${CUDA_TOOLKIT_ROOT_DIR}"
ENV CUDA_PATH
ENV CUDA_INC_PATH
PATH_SUFFIXES include
@@ -608,7 +645,7 @@ macro(cuda_find_library_local_first_with_path_ext _var _names _doc _path_ext )
# (lib/Win32) and the old path (lib).
find_library(${_var}
NAMES ${_names}
- PATHS "${CUDA_TOOLKIT_ROOT_DIR}"
+ PATHS "${CUDA_TOOLKIT_TARGET_DIR}" "${CUDA_TOOLKIT_ROOT_DIR}"
ENV CUDA_PATH
ENV CUDA_LIB_PATH
PATH_SUFFIXES ${_cuda_64bit_lib_dir} "${_path_ext}lib/Win32" "${_path_ext}lib" "${_path_ext}libWin32"
@@ -799,6 +836,8 @@ set(CUDA_FOUND TRUE)
set(CUDA_TOOLKIT_ROOT_DIR_INTERNAL "${CUDA_TOOLKIT_ROOT_DIR}" CACHE INTERNAL
"This is the value of the last time CUDA_TOOLKIT_ROOT_DIR was set successfully." FORCE)
+set(CUDA_TOOLKIT_TARGET_DIR_INTERNAL "${CUDA_TOOLKIT_TARGET_DIR}" CACHE INTERNAL
+ "This is the value of the last time CUDA_TOOLKIT_TARGET_DIR was set successfully." FORCE)
set(CUDA_SDK_ROOT_DIR_INTERNAL "${CUDA_SDK_ROOT_DIR}" CACHE INTERNAL
"This is the value of the last time CUDA_SDK_ROOT_DIR was set successfully." FORCE)
@@ -1023,6 +1062,10 @@ macro(CUDA_WRAP_SRCS cuda_target format generated_files)
set(nvcc_flags ${nvcc_flags} -m32)
endif()
+ if(CUDA_TARGET_CPU_ARCH)
+ set(nvcc_flags ${nvcc_flags} "--target-cpu-architecture=${CUDA_TARGET_CPU_ARCH}")
+ endif()
+
# This needs to be passed in at this stage, because VS needs to fill out the
# value of VCInstallDir from within VS. Note that CCBIN is only used if
# -ccbin or --compiler-bindir isn't used and CUDA_HOST_COMPILER matches
diff --git a/Modules/FindCURL.cmake b/Modules/FindCURL.cmake
index 0fb8f45..209fd87 100644
--- a/Modules/FindCURL.cmake
+++ b/Modules/FindCURL.cmake
@@ -1,10 +1,17 @@
-# - Find curl
+#.rst:
+# FindCURL
+# --------
+#
+# Find curl
+#
# Find the native CURL headers and libraries.
#
-# CURL_INCLUDE_DIRS - where to find curl/curl.h, etc.
-# CURL_LIBRARIES - List of libraries when using curl.
-# CURL_FOUND - True if curl found.
-# CURL_VERSION_STRING - the version of curl found (since CMake 2.8.8)
+# ::
+#
+# CURL_INCLUDE_DIRS - where to find curl/curl.h, etc.
+# CURL_LIBRARIES - List of libraries when using curl.
+# CURL_FOUND - True if curl found.
+# CURL_VERSION_STRING - the version of curl found (since CMake 2.8.8)
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
diff --git a/Modules/FindCVS.cmake b/Modules/FindCVS.cmake
index 07079bb..6f545df 100644
--- a/Modules/FindCVS.cmake
+++ b/Modules/FindCVS.cmake
@@ -1,11 +1,24 @@
+#.rst:
+# FindCVS
+# -------
+#
+#
+#
# The module defines the following variables:
-# CVS_EXECUTABLE - path to cvs command line client
-# CVS_FOUND - true if the command line client was found
+#
+# ::
+#
+# CVS_EXECUTABLE - path to cvs command line client
+# CVS_FOUND - true if the command line client was found
+#
# Example usage:
-# find_package(CVS)
-# if(CVS_FOUND)
-# message("CVS found: ${CVS_EXECUTABLE}")
-# endif()
+#
+# ::
+#
+# find_package(CVS)
+# if(CVS_FOUND)
+# message("CVS found: ${CVS_EXECUTABLE}")
+# endif()
#=============================================================================
# Copyright 2008-2009 Kitware, Inc.
diff --git a/Modules/FindCoin3D.cmake b/Modules/FindCoin3D.cmake
index bbda87b..b5c3a96 100644
--- a/Modules/FindCoin3D.cmake
+++ b/Modules/FindCoin3D.cmake
@@ -1,13 +1,20 @@
-# - Find Coin3D (Open Inventor)
-# Coin3D is an implementation of the Open Inventor API.
-# It provides data structures and algorithms for 3D visualization
+#.rst:
+# FindCoin3D
+# ----------
+#
+# Find Coin3D (Open Inventor)
+#
+# Coin3D is an implementation of the Open Inventor API. It provides
+# data structures and algorithms for 3D visualization
# http://www.coin3d.org/
#
# This module defines the following variables
-# COIN3D_FOUND - system has Coin3D - Open Inventor
-# COIN3D_INCLUDE_DIRS - where the Inventor include directory can be found
-# COIN3D_LIBRARIES - Link to this to use Coin3D
#
+# ::
+#
+# COIN3D_FOUND - system has Coin3D - Open Inventor
+# COIN3D_INCLUDE_DIRS - where the Inventor include directory can be found
+# COIN3D_LIBRARIES - Link to this to use Coin3D
#=============================================================================
# Copyright 2008-2009 Kitware, Inc.
diff --git a/Modules/FindCups.cmake b/Modules/FindCups.cmake
index 53ab031..4b55d6a 100644
--- a/Modules/FindCups.cmake
+++ b/Modules/FindCups.cmake
@@ -1,12 +1,19 @@
-# - Try to find the Cups printing system
+#.rst:
+# FindCups
+# --------
+#
+# Try to find the Cups printing system
+#
# Once done this will define
#
-# CUPS_FOUND - system has Cups
-# CUPS_INCLUDE_DIR - the Cups include directory
-# CUPS_LIBRARIES - Libraries needed to use Cups
-# CUPS_VERSION_STRING - version of Cups found (since CMake 2.8.8)
-# Set CUPS_REQUIRE_IPP_DELETE_ATTRIBUTE to TRUE if you need a version which
-# features this function (i.e. at least 1.1.19)
+# ::
+#
+# CUPS_FOUND - system has Cups
+# CUPS_INCLUDE_DIR - the Cups include directory
+# CUPS_LIBRARIES - Libraries needed to use Cups
+# CUPS_VERSION_STRING - version of Cups found (since CMake 2.8.8)
+# Set CUPS_REQUIRE_IPP_DELETE_ATTRIBUTE to TRUE if you need a version which
+# features this function (i.e. at least 1.1.19)
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
diff --git a/Modules/FindCurses.cmake b/Modules/FindCurses.cmake
index 09d1ba4..971edb7 100644
--- a/Modules/FindCurses.cmake
+++ b/Modules/FindCurses.cmake
@@ -1,16 +1,26 @@
-# - Find the curses include file and library
+#.rst:
+# FindCurses
+# ----------
#
-# CURSES_FOUND - system has Curses
-# CURSES_INCLUDE_DIR - the Curses include directory
-# CURSES_LIBRARIES - The libraries needed to use Curses
-# CURSES_HAVE_CURSES_H - true if curses.h is available
-# CURSES_HAVE_NCURSES_H - true if ncurses.h is available
-# CURSES_HAVE_NCURSES_NCURSES_H - true if ncurses/ncurses.h is available
-# CURSES_HAVE_NCURSES_CURSES_H - true if ncurses/curses.h is available
-# CURSES_LIBRARY - set for backwards compatibility with 2.4 CMake
+# Find the curses include file and library
#
-# Set CURSES_NEED_NCURSES to TRUE before the find_package() command if NCurses
-# functionality is required.
+#
+#
+# ::
+#
+# CURSES_FOUND - system has Curses
+# CURSES_INCLUDE_DIR - the Curses include directory
+# CURSES_LIBRARIES - The libraries needed to use Curses
+# CURSES_HAVE_CURSES_H - true if curses.h is available
+# CURSES_HAVE_NCURSES_H - true if ncurses.h is available
+# CURSES_HAVE_NCURSES_NCURSES_H - true if ncurses/ncurses.h is available
+# CURSES_HAVE_NCURSES_CURSES_H - true if ncurses/curses.h is available
+# CURSES_LIBRARY - set for backwards compatibility with 2.4 CMake
+#
+#
+#
+# Set CURSES_NEED_NCURSES to TRUE before the find_package() command if
+# NCurses functionality is required.
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.
diff --git a/Modules/FindCxxTest.cmake b/Modules/FindCxxTest.cmake
index 48de64a..bc0dfbc 100644
--- a/Modules/FindCxxTest.cmake
+++ b/Modules/FindCxxTest.cmake
@@ -1,88 +1,138 @@
-# - Find CxxTest
-# Find the CxxTest suite and declare a helper macro for creating unit tests
-# and integrating them with CTest.
-# For more details on CxxTest see http://cxxtest.tigris.org
+#.rst:
+# FindCxxTest
+# -----------
+#
+# Find CxxTest
+#
+# Find the CxxTest suite and declare a helper macro for creating unit
+# tests and integrating them with CTest. For more details on CxxTest
+# see http://cxxtest.tigris.org
#
# INPUT Variables
#
-# CXXTEST_USE_PYTHON [deprecated since 1.3]
-# Only used in the case both Python & Perl
-# are detected on the system to control
-# which CxxTest code generator is used.
-# Valid only for CxxTest version 3.
+# ::
+#
+# CXXTEST_USE_PYTHON [deprecated since 1.3]
+# Only used in the case both Python & Perl
+# are detected on the system to control
+# which CxxTest code generator is used.
+# Valid only for CxxTest version 3.
+#
+#
+#
+# ::
+#
+# NOTE: In older versions of this Find Module,
+# this variable controlled if the Python test
+# generator was used instead of the Perl one,
+# regardless of which scripting language the
+# user had installed.
+#
+#
+#
+# ::
+#
+# CXXTEST_TESTGEN_ARGS (since CMake 2.8.3)
+# Specify a list of options to pass to the CxxTest code
+# generator. If not defined, --error-printer is
+# passed.
#
-# NOTE: In older versions of this Find Module,
-# this variable controlled if the Python test
-# generator was used instead of the Perl one,
-# regardless of which scripting language the
-# user had installed.
#
-# CXXTEST_TESTGEN_ARGS (since CMake 2.8.3)
-# Specify a list of options to pass to the CxxTest code
-# generator. If not defined, --error-printer is
-# passed.
#
# OUTPUT Variables
#
-# CXXTEST_FOUND
-# True if the CxxTest framework was found
-# CXXTEST_INCLUDE_DIRS
-# Where to find the CxxTest include directory
-# CXXTEST_PERL_TESTGEN_EXECUTABLE
-# The perl-based test generator
-# CXXTEST_PYTHON_TESTGEN_EXECUTABLE
-# The python-based test generator
-# CXXTEST_TESTGEN_EXECUTABLE (since CMake 2.8.3)
-# The test generator that is actually used (chosen using user preferences
-# and interpreters found in the system)
-# CXXTEST_TESTGEN_INTERPRETER (since CMake 2.8.3)
-# The full path to the Perl or Python executable on the system
+# ::
+#
+# CXXTEST_FOUND
+# True if the CxxTest framework was found
+# CXXTEST_INCLUDE_DIRS
+# Where to find the CxxTest include directory
+# CXXTEST_PERL_TESTGEN_EXECUTABLE
+# The perl-based test generator
+# CXXTEST_PYTHON_TESTGEN_EXECUTABLE
+# The python-based test generator
+# CXXTEST_TESTGEN_EXECUTABLE (since CMake 2.8.3)
+# The test generator that is actually used (chosen using user preferences
+# and interpreters found in the system)
+# CXXTEST_TESTGEN_INTERPRETER (since CMake 2.8.3)
+# The full path to the Perl or Python executable on the system
+#
+#
#
# MACROS for optional use by CMake users:
#
-# CXXTEST_ADD_TEST(<test_name> <gen_source_file> <input_files_to_testgen...>)
-# Creates a CxxTest runner and adds it to the CTest testing suite
-# Parameters:
-# test_name The name of the test
-# gen_source_file The generated source filename to be
-# generated by CxxTest
-# input_files_to_testgen The list of header files containing the
-# CxxTest::TestSuite's to be included in
-# this runner
-#
-# #==============
-# Example Usage:
-#
-# find_package(CxxTest)
-# if(CXXTEST_FOUND)
-# include_directories(${CXXTEST_INCLUDE_DIR})
-# enable_testing()
-#
-# CXXTEST_ADD_TEST(unittest_foo foo_test.cc
-# ${CMAKE_CURRENT_SOURCE_DIR}/foo_test.h)
-# target_link_libraries(unittest_foo foo) # as needed
-# endif()
-#
-# This will (if CxxTest is found):
-# 1. Invoke the testgen executable to autogenerate foo_test.cc in the
-# binary tree from "foo_test.h" in the current source directory.
-# 2. Create an executable and test called unittest_foo.
-#
-# #=============
-# Example foo_test.h:
-#
-# #include <cxxtest/TestSuite.h>
-#
-# class MyTestSuite : public CxxTest::TestSuite
-# {
-# public:
-# void testAddition( void )
-# {
-# TS_ASSERT( 1 + 1 > 1 );
-# TS_ASSERT_EQUALS( 1 + 1, 2 );
-# }
-# };
+# ::
+#
+# CXXTEST_ADD_TEST(<test_name> <gen_source_file> <input_files_to_testgen...>)
+# Creates a CxxTest runner and adds it to the CTest testing suite
+# Parameters:
+# test_name The name of the test
+# gen_source_file The generated source filename to be
+# generated by CxxTest
+# input_files_to_testgen The list of header files containing the
+# CxxTest::TestSuite's to be included in
+# this runner
+#
+#
+#
+# ::
+#
+# #==============
+# Example Usage:
+#
+#
+#
+# ::
+#
+# find_package(CxxTest)
+# if(CXXTEST_FOUND)
+# include_directories(${CXXTEST_INCLUDE_DIR})
+# enable_testing()
+#
+#
+#
+# ::
+#
+# CXXTEST_ADD_TEST(unittest_foo foo_test.cc
+# ${CMAKE_CURRENT_SOURCE_DIR}/foo_test.h)
+# target_link_libraries(unittest_foo foo) # as needed
+# endif()
+#
+#
+#
+# ::
+#
+# This will (if CxxTest is found):
+# 1. Invoke the testgen executable to autogenerate foo_test.cc in the
+# binary tree from "foo_test.h" in the current source directory.
+# 2. Create an executable and test called unittest_foo.
+#
+#
+#
+# ::
+#
+# #=============
+# Example foo_test.h:
+#
+#
+#
+# ::
+#
+# #include <cxxtest/TestSuite.h>
+#
+#
+#
+# ::
#
+# class MyTestSuite : public CxxTest::TestSuite
+# {
+# public:
+# void testAddition( void )
+# {
+# TS_ASSERT( 1 + 1 > 1 );
+# TS_ASSERT_EQUALS( 1 + 1, 2 );
+# }
+# };
#=============================================================================
# Copyright 2008-2010 Kitware, Inc.
diff --git a/Modules/FindCygwin.cmake b/Modules/FindCygwin.cmake
index d7ab7cc..5cb533b 100644
--- a/Modules/FindCygwin.cmake
+++ b/Modules/FindCygwin.cmake
@@ -1,5 +1,8 @@
-# - this module looks for Cygwin
+#.rst:
+# FindCygwin
+# ----------
#
+# this module looks for Cygwin
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.
diff --git a/Modules/FindDCMTK.cmake b/Modules/FindDCMTK.cmake
index 361d09e..91aafbb 100644
--- a/Modules/FindDCMTK.cmake
+++ b/Modules/FindDCMTK.cmake
@@ -1,5 +1,8 @@
-# - find DCMTK libraries and applications
+#.rst:
+# FindDCMTK
+# ---------
#
+# find DCMTK libraries and applications
# DCMTK_INCLUDE_DIRS - Directories to include to use DCMTK
# DCMTK_LIBRARIES - Files to link against to use DCMTK
diff --git a/Modules/FindDart.cmake b/Modules/FindDart.cmake
index a2b2926..ea01fc2 100644
--- a/Modules/FindDart.cmake
+++ b/Modules/FindDart.cmake
@@ -1,7 +1,11 @@
-# - Find DART
-# This module looks for the dart testing software and sets DART_ROOT
-# to point to where it found it.
+#.rst:
+# FindDart
+# --------
#
+# Find DART
+#
+# This module looks for the dart testing software and sets DART_ROOT to
+# point to where it found it.
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.
diff --git a/Modules/FindDevIL.cmake b/Modules/FindDevIL.cmake
index dacc604..865d061 100644
--- a/Modules/FindDevIL.cmake
+++ b/Modules/FindDevIL.cmake
@@ -1,23 +1,32 @@
+#.rst:
+# FindDevIL
+# ---------
+#
+#
+#
# This module locates the developer's image library.
# http://openil.sourceforge.net/
#
# This module sets:
-# IL_LIBRARIES - the name of the IL library. These include the full path to
-# the core DevIL library. This one has to be linked into the
-# application.
-# ILU_LIBRARIES - the name of the ILU library. Again, the full path. This
-# library is for filters and effects, not actual loading. It
-# doesn't have to be linked if the functionality it provides
-# is not used.
-# ILUT_LIBRARIES - the name of the ILUT library. Full path. This part of the
-# library interfaces with OpenGL. It is not strictly needed
-# in applications.
-# IL_INCLUDE_DIR - where to find the il.h, ilu.h and ilut.h files.
-# IL_FOUND - this is set to TRUE if all the above variables were set.
-# This will be set to false if ILU or ILUT are not found,
-# even if they are not needed. In most systems, if one
-# library is found all the others are as well. That's the
-# way the DevIL developers release it.
+#
+# ::
+#
+# IL_LIBRARIES - the name of the IL library. These include the full path to
+# the core DevIL library. This one has to be linked into the
+# application.
+# ILU_LIBRARIES - the name of the ILU library. Again, the full path. This
+# library is for filters and effects, not actual loading. It
+# doesn't have to be linked if the functionality it provides
+# is not used.
+# ILUT_LIBRARIES - the name of the ILUT library. Full path. This part of the
+# library interfaces with OpenGL. It is not strictly needed
+# in applications.
+# IL_INCLUDE_DIR - where to find the il.h, ilu.h and ilut.h files.
+# IL_FOUND - this is set to TRUE if all the above variables were set.
+# This will be set to false if ILU or ILUT are not found,
+# even if they are not needed. In most systems, if one
+# library is found all the others are as well. That's the
+# way the DevIL developers release it.
#=============================================================================
# Copyright 2008-2009 Kitware, Inc.
@@ -40,7 +49,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
find_path(IL_INCLUDE_DIR il.h
PATH_SUFFIXES include IL
- DOC "The path the the directory that contains il.h"
+ DOC "The path to the directory that contains il.h"
)
#message("IL_INCLUDE_DIR is ${IL_INCLUDE_DIR}")
diff --git a/Modules/FindDoxygen.cmake b/Modules/FindDoxygen.cmake
index d2ede6a..a456d9c 100644
--- a/Modules/FindDoxygen.cmake
+++ b/Modules/FindDoxygen.cmake
@@ -1,23 +1,36 @@
-# - This module looks for Doxygen and the path to Graphviz's dot
+#.rst:
+# FindDoxygen
+# -----------
+#
+# This module looks for Doxygen and the path to Graphviz's dot
+#
# Doxygen is a documentation generation tool. Please see
# http://www.doxygen.org
#
# This module accepts the following optional variables:
#
-# DOXYGEN_SKIP_DOT = If true this module will skip trying to find Dot
-# (an optional component often used by Doxygen)
+# ::
+#
+# DOXYGEN_SKIP_DOT = If true this module will skip trying to find Dot
+# (an optional component often used by Doxygen)
+#
+#
#
# This modules defines the following variables:
#
-# DOXYGEN_EXECUTABLE = The path to the doxygen command.
-# DOXYGEN_FOUND = Was Doxygen found or not?
-# DOXYGEN_VERSION = The version reported by doxygen --version
+# ::
+#
+# DOXYGEN_EXECUTABLE = The path to the doxygen command.
+# DOXYGEN_FOUND = Was Doxygen found or not?
+# DOXYGEN_VERSION = The version reported by doxygen --version
+#
#
-# DOXYGEN_DOT_EXECUTABLE = The path to the dot program used by doxygen.
-# DOXYGEN_DOT_FOUND = Was Dot found or not?
-# DOXYGEN_DOT_PATH = The path to dot not including the executable
#
+# ::
#
+# DOXYGEN_DOT_EXECUTABLE = The path to the dot program used by doxygen.
+# DOXYGEN_DOT_FOUND = Was Dot found or not?
+# DOXYGEN_DOT_PATH = The path to dot not including the executable
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.
diff --git a/Modules/FindEXPAT.cmake b/Modules/FindEXPAT.cmake
index c681a0d..6183af8 100644
--- a/Modules/FindEXPAT.cmake
+++ b/Modules/FindEXPAT.cmake
@@ -1,9 +1,16 @@
-# - Find expat
+#.rst:
+# FindEXPAT
+# ---------
+#
+# Find expat
+#
# Find the native EXPAT headers and libraries.
#
-# EXPAT_INCLUDE_DIRS - where to find expat.h, etc.
-# EXPAT_LIBRARIES - List of libraries when using expat.
-# EXPAT_FOUND - True if expat found.
+# ::
+#
+# EXPAT_INCLUDE_DIRS - where to find expat.h, etc.
+# EXPAT_LIBRARIES - List of libraries when using expat.
+# EXPAT_FOUND - True if expat found.
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
diff --git a/Modules/FindFLEX.cmake b/Modules/FindFLEX.cmake
index 79a3a1e..c837c52 100644
--- a/Modules/FindFLEX.cmake
+++ b/Modules/FindFLEX.cmake
@@ -1,53 +1,92 @@
-# - Find flex executable and provides a macro to generate custom build rules
+#.rst:
+# FindFLEX
+# --------
+#
+# Find flex executable and provides a macro to generate custom build rules
+#
+#
#
# The module defines the following variables:
-# FLEX_FOUND - true is flex executable is found
-# FLEX_EXECUTABLE - the path to the flex executable
-# FLEX_VERSION - the version of flex
-# FLEX_LIBRARIES - The flex libraries
-# FLEX_INCLUDE_DIRS - The path to the flex headers
+#
+# ::
+#
+# FLEX_FOUND - true is flex executable is found
+# FLEX_EXECUTABLE - the path to the flex executable
+# FLEX_VERSION - the version of flex
+# FLEX_LIBRARIES - The flex libraries
+# FLEX_INCLUDE_DIRS - The path to the flex headers
+#
+#
#
# The minimum required version of flex can be specified using the
-# standard syntax, e.g. find_package(FLEX 2.5.13)
+# standard syntax, e.g. find_package(FLEX 2.5.13)
+#
#
#
# If flex is found on the system, the module provides the macro:
-# FLEX_TARGET(Name FlexInput FlexOutput [COMPILE_FLAGS <string>])
-# which creates a custom command to generate the <FlexOutput> file from
-# the <FlexInput> file. If COMPILE_FLAGS option is specified, the next
-# parameter is added to the flex command line. Name is an alias used to
-# get details of this custom command. Indeed the macro defines the
+#
+# ::
+#
+# FLEX_TARGET(Name FlexInput FlexOutput [COMPILE_FLAGS <string>])
+#
+# which creates a custom command to generate the <FlexOutput> file from
+# the <FlexInput> file. If COMPILE_FLAGS option is specified, the next
+# parameter is added to the flex command line. Name is an alias used to
+# get details of this custom command. Indeed the macro defines the
# following variables:
-# FLEX_${Name}_DEFINED - true is the macro ran successfully
-# FLEX_${Name}_OUTPUTS - the source file generated by the custom rule, an
-# alias for FlexOutput
-# FLEX_${Name}_INPUT - the flex source file, an alias for ${FlexInput}
#
-# Flex scanners oftenly use tokens defined by Bison: the code generated
-# by Flex depends of the header generated by Bison. This module also
+# ::
+#
+# FLEX_${Name}_DEFINED - true is the macro ran successfully
+# FLEX_${Name}_OUTPUTS - the source file generated by the custom rule, an
+# alias for FlexOutput
+# FLEX_${Name}_INPUT - the flex source file, an alias for ${FlexInput}
+#
+#
+#
+# Flex scanners oftenly use tokens defined by Bison: the code generated
+# by Flex depends of the header generated by Bison. This module also
# defines a macro:
-# ADD_FLEX_BISON_DEPENDENCY(FlexTarget BisonTarget)
-# which adds the required dependency between a scanner and a parser
-# where <FlexTarget> and <BisonTarget> are the first parameters of
+#
+# ::
+#
+# ADD_FLEX_BISON_DEPENDENCY(FlexTarget BisonTarget)
+#
+# which adds the required dependency between a scanner and a parser
+# where <FlexTarget> and <BisonTarget> are the first parameters of
# respectively FLEX_TARGET and BISON_TARGET macros.
#
-# ====================================================================
-# Example:
+# ::
+#
+# ====================================================================
+# Example:
+#
+#
+#
+# ::
+#
+# find_package(BISON)
+# find_package(FLEX)
+#
+#
+#
+# ::
+#
+# BISON_TARGET(MyParser parser.y ${CMAKE_CURRENT_BINARY_DIR}/parser.cpp)
+# FLEX_TARGET(MyScanner lexer.l ${CMAKE_CURRENT_BINARY_DIR}/lexer.cpp)
+# ADD_FLEX_BISON_DEPENDENCY(MyScanner MyParser)
+#
#
-# find_package(BISON)
-# find_package(FLEX)
#
-# BISON_TARGET(MyParser parser.y ${CMAKE_CURRENT_BINARY_DIR}/parser.cpp)
-# FLEX_TARGET(MyScanner lexer.l ${CMAKE_CURRENT_BINARY_DIR}/lexer.cpp)
-# ADD_FLEX_BISON_DEPENDENCY(MyScanner MyParser)
+# ::
#
-# include_directories(${CMAKE_CURRENT_BINARY_DIR})
-# add_executable(Foo
-# Foo.cc
-# ${BISON_MyParser_OUTPUTS}
-# ${FLEX_MyScanner_OUTPUTS}
-# )
-# ====================================================================
+# include_directories(${CMAKE_CURRENT_BINARY_DIR})
+# add_executable(Foo
+# Foo.cc
+# ${BISON_MyParser_OUTPUTS}
+# ${FLEX_MyScanner_OUTPUTS}
+# )
+# ====================================================================
#=============================================================================
# Copyright 2009 Kitware, Inc.
diff --git a/Modules/FindFLTK.cmake b/Modules/FindFLTK.cmake
index 92c14da..b87bc7f 100644
--- a/Modules/FindFLTK.cmake
+++ b/Modules/FindFLTK.cmake
@@ -1,33 +1,58 @@
-# - Find the native FLTK includes and library
+#.rst:
+# FindFLTK
+# --------
#
-# By default FindFLTK.cmake will search for all of the FLTK components and
-# add them to the FLTK_LIBRARIES variable.
+# Find the native FLTK includes and library
#
-# You can limit the components which get placed in FLTK_LIBRARIES by
-# defining one or more of the following three options:
#
-# FLTK_SKIP_OPENGL, set to true to disable searching for opengl and
-# the FLTK GL library
-# FLTK_SKIP_FORMS, set to true to disable searching for fltk_forms
-# FLTK_SKIP_IMAGES, set to true to disable searching for fltk_images
#
-# FLTK_SKIP_FLUID, set to true if the fluid binary need not be present
-# at build time
+# By default FindFLTK.cmake will search for all of the FLTK components
+# and add them to the FLTK_LIBRARIES variable.
+#
+# ::
+#
+# You can limit the components which get placed in FLTK_LIBRARIES by
+# defining one or more of the following three options:
+#
+#
+#
+# ::
+#
+# FLTK_SKIP_OPENGL, set to true to disable searching for opengl and
+# the FLTK GL library
+# FLTK_SKIP_FORMS, set to true to disable searching for fltk_forms
+# FLTK_SKIP_IMAGES, set to true to disable searching for fltk_images
+#
+#
+#
+# ::
+#
+# FLTK_SKIP_FLUID, set to true if the fluid binary need not be present
+# at build time
+#
+#
#
# The following variables will be defined:
-# FLTK_FOUND, True if all components not skipped were found
-# FLTK_INCLUDE_DIR, where to find include files
-# FLTK_LIBRARIES, list of fltk libraries you should link against
-# FLTK_FLUID_EXECUTABLE, where to find the Fluid tool
-# FLTK_WRAP_UI, This enables the FLTK_WRAP_UI command
+#
+# ::
+#
+# FLTK_FOUND, True if all components not skipped were found
+# FLTK_INCLUDE_DIR, where to find include files
+# FLTK_LIBRARIES, list of fltk libraries you should link against
+# FLTK_FLUID_EXECUTABLE, where to find the Fluid tool
+# FLTK_WRAP_UI, This enables the FLTK_WRAP_UI command
+#
+#
#
# The following cache variables are assigned but should not be used.
# See the FLTK_LIBRARIES variable instead.
#
-# FLTK_BASE_LIBRARY = the full path to fltk.lib
-# FLTK_GL_LIBRARY = the full path to fltk_gl.lib
-# FLTK_FORMS_LIBRARY = the full path to fltk_forms.lib
-# FLTK_IMAGES_LIBRARY = the full path to fltk_images.lib
+# ::
+#
+# FLTK_BASE_LIBRARY = the full path to fltk.lib
+# FLTK_GL_LIBRARY = the full path to fltk_gl.lib
+# FLTK_FORMS_LIBRARY = the full path to fltk_forms.lib
+# FLTK_IMAGES_LIBRARY = the full path to fltk_images.lib
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.
diff --git a/Modules/FindFLTK2.cmake b/Modules/FindFLTK2.cmake
index 09f6925..4deffda 100644
--- a/Modules/FindFLTK2.cmake
+++ b/Modules/FindFLTK2.cmake
@@ -1,14 +1,26 @@
-# - Find the native FLTK2 includes and library
+#.rst:
+# FindFLTK2
+# ---------
+#
+# Find the native FLTK2 includes and library
+#
# The following settings are defined
-# FLTK2_FLUID_EXECUTABLE, where to find the Fluid tool
-# FLTK2_WRAP_UI, This enables the FLTK2_WRAP_UI command
-# FLTK2_INCLUDE_DIR, where to find include files
-# FLTK2_LIBRARIES, list of fltk2 libraries
-# FLTK2_FOUND, Don't use FLTK2 if false.
+#
+# ::
+#
+# FLTK2_FLUID_EXECUTABLE, where to find the Fluid tool
+# FLTK2_WRAP_UI, This enables the FLTK2_WRAP_UI command
+# FLTK2_INCLUDE_DIR, where to find include files
+# FLTK2_LIBRARIES, list of fltk2 libraries
+# FLTK2_FOUND, Don't use FLTK2 if false.
+#
# The following settings should not be used in general.
-# FLTK2_BASE_LIBRARY = the full path to fltk2.lib
-# FLTK2_GL_LIBRARY = the full path to fltk2_gl.lib
-# FLTK2_IMAGES_LIBRARY = the full path to fltk2_images.lib
+#
+# ::
+#
+# FLTK2_BASE_LIBRARY = the full path to fltk2.lib
+# FLTK2_GL_LIBRARY = the full path to fltk2_gl.lib
+# FLTK2_IMAGES_LIBRARY = the full path to fltk2_images.lib
#=============================================================================
# Copyright 2007-2009 Kitware, Inc.
diff --git a/Modules/FindFreetype.cmake b/Modules/FindFreetype.cmake
index ccea991..6f03c86 100644
--- a/Modules/FindFreetype.cmake
+++ b/Modules/FindFreetype.cmake
@@ -1,16 +1,25 @@
-# - Locate FreeType library
+#.rst:
+# FindFreetype
+# ------------
+#
+# Locate FreeType library
+#
# This module defines
-# FREETYPE_LIBRARIES, the library to link against
-# FREETYPE_FOUND, if false, do not try to link to FREETYPE
-# FREETYPE_INCLUDE_DIRS, where to find headers.
-# FREETYPE_VERSION_STRING, the version of freetype found (since CMake 2.8.8)
-# This is the concatenation of the paths:
-# FREETYPE_INCLUDE_DIR_ft2build
-# FREETYPE_INCLUDE_DIR_freetype2
#
-# $FREETYPE_DIR is an environment variable that would
-# correspond to the ./configure --prefix=$FREETYPE_DIR
-# used in building FREETYPE.
+# ::
+#
+# FREETYPE_LIBRARIES, the library to link against
+# FREETYPE_FOUND, if false, do not try to link to FREETYPE
+# FREETYPE_INCLUDE_DIRS, where to find headers.
+# FREETYPE_VERSION_STRING, the version of freetype found (since CMake 2.8.8)
+# This is the concatenation of the paths:
+# FREETYPE_INCLUDE_DIR_ft2build
+# FREETYPE_INCLUDE_DIR_freetype2
+#
+#
+#
+# $FREETYPE_DIR is an environment variable that would correspond to the
+# ./configure --prefix=$FREETYPE_DIR used in building FREETYPE.
#=============================================================================
# Copyright 2007-2009 Kitware, Inc.
@@ -56,7 +65,10 @@ find_path(FREETYPE_INCLUDE_DIR_ft2build ft2build.h
PATH_SUFFIXES include/freetype2 include
)
-find_path(FREETYPE_INCLUDE_DIR_freetype2 freetype/config/ftheader.h
+find_path(FREETYPE_INCLUDE_DIR_freetype2
+ NAMES
+ freetype/config/ftheader.h
+ config/ftheader.h
HINTS
ENV FREETYPE_DIR
PATHS
@@ -88,11 +100,18 @@ find_library(FREETYPE_LIBRARY
# set the user variables
if(FREETYPE_INCLUDE_DIR_ft2build AND FREETYPE_INCLUDE_DIR_freetype2)
set(FREETYPE_INCLUDE_DIRS "${FREETYPE_INCLUDE_DIR_ft2build};${FREETYPE_INCLUDE_DIR_freetype2}")
+ list(REMOVE_DUPLICATES FREETYPE_INCLUDE_DIRS)
endif()
set(FREETYPE_LIBRARIES "${FREETYPE_LIBRARY}")
-if(FREETYPE_INCLUDE_DIR_freetype2 AND EXISTS "${FREETYPE_INCLUDE_DIR_freetype2}/freetype/freetype.h")
- file(STRINGS "${FREETYPE_INCLUDE_DIR_freetype2}/freetype/freetype.h" freetype_version_str
+if(EXISTS "${FREETYPE_INCLUDE_DIR_freetype2}/freetype/freetype.h")
+ set(FREETYPE_H "${FREETYPE_INCLUDE_DIR_freetype2}/freetype/freetype.h")
+elseif(EXISTS "${FREETYPE_INCLUDE_DIR_freetype2}/freetype.h")
+ set(FREETYPE_H "${FREETYPE_INCLUDE_DIR_freetype2}/freetype.h")
+endif()
+
+if(FREETYPE_INCLUDE_DIR_freetype2 AND FREETYPE_H)
+ file(STRINGS "${FREETYPE_H}" freetype_version_str
REGEX "^#[\t ]*define[\t ]+FREETYPE_(MAJOR|MINOR|PATCH)[\t ]+[0-9]+$")
unset(FREETYPE_VERSION_STRING)
diff --git a/Modules/FindGCCXML.cmake b/Modules/FindGCCXML.cmake
index 05f08a6..48618e2 100644
--- a/Modules/FindGCCXML.cmake
+++ b/Modules/FindGCCXML.cmake
@@ -1,7 +1,16 @@
-# - Find the GCC-XML front-end executable.
+#.rst:
+# FindGCCXML
+# ----------
+#
+# Find the GCC-XML front-end executable.
+#
+#
#
# This module will define the following variables:
-# GCCXML - the GCC-XML front-end executable.
+#
+# ::
+#
+# GCCXML - the GCC-XML front-end executable.
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.
diff --git a/Modules/FindGDAL.cmake b/Modules/FindGDAL.cmake
index 6e89847..4e04c31 100644
--- a/Modules/FindGDAL.cmake
+++ b/Modules/FindGDAL.cmake
@@ -1,14 +1,26 @@
+#.rst:
+# FindGDAL
+# --------
+#
+#
+#
# Locate gdal
#
# This module accepts the following environment variables:
#
-# GDAL_DIR or GDAL_ROOT - Specify the location of GDAL
+# ::
+#
+# GDAL_DIR or GDAL_ROOT - Specify the location of GDAL
+#
+#
#
# This module defines the following CMake variables:
#
-# GDAL_FOUND - True if libgdal is found
-# GDAL_LIBRARY - A variable pointing to the GDAL library
-# GDAL_INCLUDE_DIR - Where to find the headers
+# ::
+#
+# GDAL_FOUND - True if libgdal is found
+# GDAL_LIBRARY - A variable pointing to the GDAL library
+# GDAL_INCLUDE_DIR - Where to find the headers
#=============================================================================
# Copyright 2007-2009 Kitware, Inc.
diff --git a/Modules/FindGIF.cmake b/Modules/FindGIF.cmake
index 90ff737..117ded7 100644
--- a/Modules/FindGIF.cmake
+++ b/Modules/FindGIF.cmake
@@ -1,14 +1,19 @@
-# This module searches giflib and defines
-# GIF_LIBRARIES - libraries to link to in order to use GIF
-# GIF_FOUND, if false, do not try to link
-# GIF_INCLUDE_DIR, where to find the headers
-# GIF_VERSION, reports either version 4 or 3 (for everything before version 4)
+#.rst:
+# FindGIF
+# -------
+#
+#
+#
+# This module searches giflib and defines GIF_LIBRARIES - libraries to
+# link to in order to use GIF GIF_FOUND, if false, do not try to link
+# GIF_INCLUDE_DIR, where to find the headers GIF_VERSION, reports either
+# version 4 or 3 (for everything before version 4)
#
# The minimum required version of giflib can be specified using the
-# standard syntax, e.g. find_package(GIF 4)
+# standard syntax, e.g. find_package(GIF 4)
#
-# $GIF_DIR is an environment variable that would
-# correspond to the ./configure --prefix=$GIF_DIR
+# $GIF_DIR is an environment variable that would correspond to the
+# ./configure --prefix=$GIF_DIR
#=============================================================================
# Copyright 2007-2009 Kitware, Inc.
diff --git a/Modules/FindGLEW.cmake b/Modules/FindGLEW.cmake
index 37dff03..497a80c 100644
--- a/Modules/FindGLEW.cmake
+++ b/Modules/FindGLEW.cmake
@@ -1,8 +1,16 @@
-# - Find the OpenGL Extension Wrangler Library (GLEW)
+#.rst:
+# FindGLEW
+# --------
+#
+# Find the OpenGL Extension Wrangler Library (GLEW)
+#
# This module defines the following variables:
-# GLEW_INCLUDE_DIRS - include directories for GLEW
-# GLEW_LIBRARIES - libraries to link against GLEW
-# GLEW_FOUND - true if GLEW has been found and can be used
+#
+# ::
+#
+# GLEW_INCLUDE_DIRS - include directories for GLEW
+# GLEW_LIBRARIES - libraries to link against GLEW
+# GLEW_FOUND - true if GLEW has been found and can be used
#=============================================================================
# Copyright 2012 Benjamin Eikel
diff --git a/Modules/FindGLUT.cmake b/Modules/FindGLUT.cmake
index 843d138..be7c0cd 100644
--- a/Modules/FindGLUT.cmake
+++ b/Modules/FindGLUT.cmake
@@ -1,11 +1,22 @@
-# - try to find glut library and include files
-# GLUT_INCLUDE_DIR, where to find GL/glut.h, etc.
-# GLUT_LIBRARIES, the libraries to link against
-# GLUT_FOUND, If false, do not try to use GLUT.
+#.rst:
+# FindGLUT
+# --------
+#
+# try to find glut library and include files
+#
+# ::
+#
+# GLUT_INCLUDE_DIR, where to find GL/glut.h, etc.
+# GLUT_LIBRARIES, the libraries to link against
+# GLUT_FOUND, If false, do not try to use GLUT.
+#
# Also defined, but not for general use are:
-# GLUT_glut_LIBRARY = the full path to the glut library.
-# GLUT_Xmu_LIBRARY = the full path to the Xmu library.
-# GLUT_Xi_LIBRARY = the full path to the Xi Library.
+#
+# ::
+#
+# GLUT_glut_LIBRARY = the full path to the glut library.
+# GLUT_Xmu_LIBRARY = the full path to the Xmu library.
+# GLUT_Xi_LIBRARY = the full path to the Xi Library.
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.
diff --git a/Modules/FindGTK.cmake b/Modules/FindGTK.cmake
index 8a44ade..01bca76 100644
--- a/Modules/FindGTK.cmake
+++ b/Modules/FindGTK.cmake
@@ -1,8 +1,15 @@
-# - try to find GTK (and glib) and GTKGLArea
-# GTK_INCLUDE_DIR - Directories to include to use GTK
-# GTK_LIBRARIES - Files to link against to use GTK
-# GTK_FOUND - GTK was found
-# GTK_GL_FOUND - GTK's GL features were found
+#.rst:
+# FindGTK
+# -------
+#
+# try to find GTK (and glib) and GTKGLArea
+#
+# ::
+#
+# GTK_INCLUDE_DIR - Directories to include to use GTK
+# GTK_LIBRARIES - Files to link against to use GTK
+# GTK_FOUND - GTK was found
+# GTK_GL_FOUND - GTK's GL features were found
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.
diff --git a/Modules/FindGTK2.cmake b/Modules/FindGTK2.cmake
index 77aac6d..a91da33 100644
--- a/Modules/FindGTK2.cmake
+++ b/Modules/FindGTK2.cmake
@@ -1,56 +1,98 @@
-# - FindGTK2.cmake
-# This module can find the GTK2 widget libraries and several of its other
-# optional components like gtkmm, glade, and glademm.
+#.rst:
+# FindGTK2
+# --------
+#
+# FindGTK2.cmake
+#
+# This module can find the GTK2 widget libraries and several of its
+# other optional components like gtkmm, glade, and glademm.
#
# NOTE: If you intend to use version checking, CMake 2.6.2 or later is
-# required.
#
-# Specify one or more of the following components
-# as you call this find module. See example below.
+# ::
+#
+# required.
+#
+#
+#
+# Specify one or more of the following components as you call this find
+# module. See example below.
+#
+# ::
+#
+# gtk
+# gtkmm
+# glade
+# glademm
+#
#
-# gtk
-# gtkmm
-# glade
-# glademm
#
# The following variables will be defined for your use
#
-# GTK2_FOUND - Were all of your specified components found?
-# GTK2_INCLUDE_DIRS - All include directories
-# GTK2_LIBRARIES - All libraries
-# GTK2_DEFINITIONS - Additional compiler flags
+# ::
+#
+# GTK2_FOUND - Were all of your specified components found?
+# GTK2_INCLUDE_DIRS - All include directories
+# GTK2_LIBRARIES - All libraries
+# GTK2_DEFINITIONS - Additional compiler flags
+#
+#
+#
+# ::
+#
+# GTK2_VERSION - The version of GTK2 found (x.y.z)
+# GTK2_MAJOR_VERSION - The major version of GTK2
+# GTK2_MINOR_VERSION - The minor version of GTK2
+# GTK2_PATCH_VERSION - The patch version of GTK2
+#
#
-# GTK2_VERSION - The version of GTK2 found (x.y.z)
-# GTK2_MAJOR_VERSION - The major version of GTK2
-# GTK2_MINOR_VERSION - The minor version of GTK2
-# GTK2_PATCH_VERSION - The patch version of GTK2
#
# Optional variables you can define prior to calling this module:
#
-# GTK2_DEBUG - Enables verbose debugging of the module
-# GTK2_ADDITIONAL_SUFFIXES - Allows defining additional directories to
-# search for include files
+# ::
+#
+# GTK2_DEBUG - Enables verbose debugging of the module
+# GTK2_ADDITIONAL_SUFFIXES - Allows defining additional directories to
+# search for include files
+#
+#
+#
+# ================= Example Usage:
#
-#=================
-# Example Usage:
+# ::
#
-# Call find_package() once, here are some examples to pick from:
+# Call find_package() once, here are some examples to pick from:
#
-# Require GTK 2.6 or later
-# find_package(GTK2 2.6 REQUIRED gtk)
#
-# Require GTK 2.10 or later and Glade
-# find_package(GTK2 2.10 REQUIRED gtk glade)
#
-# Search for GTK/GTKMM 2.8 or later
-# find_package(GTK2 2.8 COMPONENTS gtk gtkmm)
+# ::
#
-# if(GTK2_FOUND)
-# include_directories(${GTK2_INCLUDE_DIRS})
-# add_executable(mygui mygui.cc)
-# target_link_libraries(mygui ${GTK2_LIBRARIES})
-# endif()
+# Require GTK 2.6 or later
+# find_package(GTK2 2.6 REQUIRED gtk)
#
+#
+#
+# ::
+#
+# Require GTK 2.10 or later and Glade
+# find_package(GTK2 2.10 REQUIRED gtk glade)
+#
+#
+#
+# ::
+#
+# Search for GTK/GTKMM 2.8 or later
+# find_package(GTK2 2.8 COMPONENTS gtk gtkmm)
+#
+#
+#
+# ::
+#
+# if(GTK2_FOUND)
+# include_directories(${GTK2_INCLUDE_DIRS})
+# add_executable(mygui mygui.cc)
+# target_link_libraries(mygui ${GTK2_LIBRARIES})
+# endif()
#=============================================================================
# Copyright 2009 Kitware, Inc.
@@ -66,7 +108,10 @@
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
-# Version 1.5 (UNRELEASED) (CMake 2.8.12)
+# Version 1.6 (CMake 3.0)
+# * Create targets for each library
+# * Do not link libfreetype
+# Version 1.5 (CMake 2.8.12)
# * 14236: Detect gthread library
# Detect pangocairo on windows
# Detect pangocairo with gtk module instead of with gtkmm
@@ -130,6 +175,7 @@
#=============================================================
include(${CMAKE_CURRENT_LIST_DIR}/SelectLibraryConfigurations.cmake)
+include(${CMAKE_CURRENT_LIST_DIR}/CMakeParseArguments.cmake)
function(_GTK2_GET_VERSION _OUT_major _OUT_minor _OUT_micro _gtkversion_hdr)
file(STRINGS ${_gtkversion_hdr} _contents REGEX "#define GTK_M[A-Z]+_VERSION[ \t]+")
@@ -214,7 +260,7 @@ function(_GTK2_FIND_INCLUDE_DIR _var _hdr)
message(STATUS "Adding ${_gtk2_arch_dir} to search path for multiarch support")
endif()
endif()
- find_path(${_var}_INCLUDE_DIR ${_hdr}
+ find_path(GTK2_${_var}_INCLUDE_DIR ${_hdr}
PATHS
${_gtk2_arch_dir}
/usr/local/lib64
@@ -240,9 +286,10 @@ function(_GTK2_FIND_INCLUDE_DIR _var _hdr)
PATH_SUFFIXES
${_suffixes}
)
+ mark_as_advanced(GTK2_${_var}_INCLUDE_DIR)
- if(${_var}_INCLUDE_DIR)
- set(GTK2_INCLUDE_DIRS ${GTK2_INCLUDE_DIRS} ${${_var}_INCLUDE_DIR} PARENT_SCOPE)
+ if(GTK2_${_var}_INCLUDE_DIR)
+ set(GTK2_INCLUDE_DIRS ${GTK2_INCLUDE_DIRS} ${GTK2_${_var}_INCLUDE_DIR} PARENT_SCOPE)
endif()
endfunction()
@@ -332,10 +379,10 @@ function(_GTK2_FIND_LIBRARY _var _lib _expand_vc _append_version)
if(GTK2_DEBUG)
message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] "
- "While searching for ${_var}_LIBRARY, our proposed library list is ${_lib_list}")
+ "While searching for GTK2_${_var}_LIBRARY, our proposed library list is ${_lib_list}")
endif()
- find_library(${_var}_LIBRARY_RELEASE
+ find_library(GTK2_${_var}_LIBRARY_RELEASE
NAMES ${_lib_list}
PATHS
/opt/gnome/lib
@@ -349,10 +396,10 @@ function(_GTK2_FIND_LIBRARY _var _lib _expand_vc _append_version)
if(_expand_vc AND MSVC)
if(GTK2_DEBUG)
message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] "
- "While searching for ${_var}_LIBRARY_DEBUG our proposed library list is ${_libd_list}")
+ "While searching for GTK2_${_var}_LIBRARY_DEBUG our proposed library list is ${_libd_list}")
endif()
- find_library(${_var}_LIBRARY_DEBUG
+ find_library(GTK2_${_var}_LIBRARY_DEBUG
NAMES ${_libd_list}
PATHS
$ENV{GTKMM_BASEPATH}/lib
@@ -361,24 +408,148 @@ function(_GTK2_FIND_LIBRARY _var _lib _expand_vc _append_version)
)
endif()
- select_library_configurations(${_var})
+ select_library_configurations(GTK2_${_var})
- set(${_var}_LIBRARY ${${_var}_LIBRARY} PARENT_SCOPE)
+ set(GTK2_${_var}_LIBRARY ${GTK2_${_var}_LIBRARY} PARENT_SCOPE)
+ set(GTK2_${_var}_FOUND ${GTK2_${_var}_FOUND} PARENT_SCOPE)
- set(GTK2_LIBRARIES ${GTK2_LIBRARIES} ${${_var}_LIBRARY})
- set(GTK2_LIBRARIES ${GTK2_LIBRARIES} PARENT_SCOPE)
+ if(GTK2_${_var}_FOUND)
+ set(GTK2_LIBRARIES ${GTK2_LIBRARIES} ${GTK2_${_var}_LIBRARY})
+ set(GTK2_LIBRARIES ${GTK2_LIBRARIES} PARENT_SCOPE)
+ endif()
if(GTK2_DEBUG)
message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] "
- "${_var}_LIBRARY_RELEASE = \"${${_var}_LIBRARY_RELEASE}\"")
+ "GTK2_${_var}_LIBRARY_RELEASE = \"${GTK2_${_var}_LIBRARY_RELEASE}\"")
message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] "
- "${_var}_LIBRARY_DEBUG = \"${${_var}_LIBRARY_DEBUG}\"")
+ "GTK2_${_var}_LIBRARY_DEBUG = \"${GTK2_${_var}_LIBRARY_DEBUG}\"")
message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] "
- "${_var}_LIBRARY = \"${${_var}_LIBRARY}\"")
+ "GTK2_${_var}_LIBRARY = \"${GTK2_${_var}_LIBRARY}\"")
+ message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] "
+ "GTK2_${_var}_FOUND = \"${GTK2_${_var}_FOUND}\"")
endif()
endfunction()
+
+function(_GTK2_ADD_TARGET_DEPENDS_INTERNAL _var _property)
+ if(GTK2_DEBUG)
+ message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] "
+ "_GTK2_ADD_TARGET_DEPENDS_INTERNAL( ${_var} ${_property} )")
+ endif()
+
+ string(TOLOWER "${_var}" _basename)
+
+ if (TARGET GTK2::${_basename})
+ foreach(_depend ${ARGN})
+ set(_valid_depends)
+ if (TARGET GTK2::${_depend})
+ list(APPEND _valid_depends GTK2::${_depend})
+ endif()
+ if (_valid_depends)
+ set_property(TARGET GTK2::${_basename} APPEND PROPERTY ${_property} "${_valid_depends}")
+ endif()
+ set(_valid_depends)
+ endforeach()
+ endif()
+endfunction()
+
+function(_GTK2_ADD_TARGET_DEPENDS _var)
+ if(GTK2_DEBUG)
+ message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] "
+ "_GTK2_ADD_TARGET_DEPENDS( ${_var} )")
+ endif()
+
+ string(TOLOWER "${_var}" _basename)
+
+ if(TARGET GTK2::${_basename})
+ get_target_property(_configs GTK2::${_basename} IMPORTED_CONFIGURATIONS)
+ _GTK2_ADD_TARGET_DEPENDS_INTERNAL(${_var} INTERFACE_LINK_LIBRARIES ${ARGN})
+ foreach(_config ${_configs})
+ _GTK2_ADD_TARGET_DEPENDS_INTERNAL(${_var} IMPORTED_LINK_INTERFACE_LIBRARIES_${_config} ${ARGN})
+ endforeach()
+ endif()
+endfunction()
+
+function(_GTK2_ADD_TARGET_INCLUDE_DIRS _var)
+ if(GTK2_DEBUG)
+ message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] "
+ "_GTK2_ADD_TARGET_INCLUDE_DIRS( ${_var} )")
+ endif()
+
+ string(TOLOWER "${_var}" _basename)
+
+ if(TARGET GTK2::${_basename})
+ foreach(_include ${ARGN})
+ set_property(TARGET GTK2::${_basename} APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES "${_include}")
+ endforeach()
+ endif()
+endfunction()
+
+#=============================================================
+# _GTK2_ADD_TARGET
+# Internal function to create targets for GTK2
+# _var = target to create
+#=============================================================
+function(_GTK2_ADD_TARGET _var)
+ if(GTK2_DEBUG)
+ message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] "
+ "_GTK2_ADD_TARGET( ${_var} )")
+ endif()
+
+ string(TOLOWER "${_var}" _basename)
+
+ cmake_parse_arguments(_${_var} "" "" "GTK2_DEPENDS;GTK2_OPTIONAL_DEPENDS;OPTIONAL_INCLUDES" ${ARGN})
+
+ if(GTK2_${_var}_FOUND AND NOT TARGET GTK2::${_basename})
+ # Do not create the target if dependencies are missing
+ foreach(_dep ${_${_var}_GTK2_DEPENDS})
+ if(NOT TARGET GTK2::${_dep})
+ return()
+ endif()
+ endforeach()
+
+ add_library(GTK2::${_basename} UNKNOWN IMPORTED)
+
+ if(GTK2_${_var}_LIBRARY_RELEASE)
+ set_property(TARGET GTK2::${_basename} APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
+ set_property(TARGET GTK2::${_basename} PROPERTY IMPORTED_LOCATION_RELEASE "${GTK2_${_var}_LIBRARY_RELEASE}" )
+ endif()
+
+ if(GTK2_${_var}_LIBRARY_DEBUG)
+ set_property(TARGET GTK2::${_basename} APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG)
+ set_property(TARGET GTK2::${_basename} PROPERTY IMPORTED_LOCATION_DEBUG "${GTK2_${_var}_LIBRARY_DEBUG}" )
+ endif()
+
+ if(GTK2_${_var}_INCLUDE_DIR)
+ set_property(TARGET GTK2::${_basename} APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES "${GTK2_${_var}_INCLUDE_DIR}")
+ endif()
+
+ if(GTK2_${_var}CONFIG_INCLUDE_DIR AND NOT "${GTK2_${_var}CONFIG_INCLUDE_DIR}" STREQUAL "GTK2_${_var}_INCLUDE_DIR")
+ set_property(TARGET GTK2::${_basename} APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES "${GTK2_${_var}CONFIG_INCLUDE_DIR}")
+ endif()
+
+ if(GTK2_DEFINITIONS)
+ set_property(TARGET GTK2::${_basename} PROPERTY INTERFACE_COMPILE_DEFINITIONS "${GTK2_DEFINITIONS}")
+ endif()
+
+ if(_${_var}_GTK2_DEPENDS)
+ _GTK2_ADD_TARGET_DEPENDS(${_var} ${_${_var}_GTK2_DEPENDS} ${_${_var}_GTK2_OPTIONAL_DEPENDS})
+ endif()
+
+ if(_${_var}_OPTIONAL_INCLUDES)
+ _GTK2_ADD_TARGET_INCLUDE_DIRS(${_var} ${_${_var}_OPTIONAL_INCLUDES})
+ endif()
+
+ if(GTK2_USE_IMPORTED_TARGETS)
+ set(GTK2_${_var}_LIBRARY GTK2::${_basename} PARENT_SCOPE)
+ endif()
+
+ endif()
+endfunction()
+
+
+
#=============================================================
#
@@ -405,7 +576,7 @@ if(GTK2_FIND_VERSION)
message(STATUS "[FindGTK2.cmake:${CMAKE_CURRENT_LIST_LINE}] "
"Searching for version ${GTK2_FIND_VERSION}")
endif()
- _GTK2_FIND_INCLUDE_DIR(GTK2_GTK gtk/gtk.h)
+ _GTK2_FIND_INCLUDE_DIR(GTK gtk/gtk.h)
if(GTK2_GTK_INCLUDE_DIR)
_GTK2_GET_VERSION(GTK2_MAJOR_VERSION
GTK2_MINOR_VERSION
@@ -446,104 +617,172 @@ if(GTK2_FIND_VERSION)
endif()
#
+# On MSVC, according to https://wiki.gnome.org/gtkmm/MSWindows, the /vd2 flag needs to be
+# passed to the compiler in order to use gtkmm
+#
+if(MSVC)
+ foreach(_GTK2_component ${GTK2_FIND_COMPONENTS})
+ if(_GTK2_component STREQUAL "gtkmm")
+ set(GTK2_DEFINITIONS "/vd2")
+ elseif(_GTK2_component STREQUAL "glademm")
+ set(GTK2_DEFINITIONS "/vd2")
+ endif()
+ endforeach()
+endif()
+
+#
# Find all components
#
-find_package(Freetype)
-list(APPEND GTK2_INCLUDE_DIRS ${FREETYPE_INCLUDE_DIRS})
-list(APPEND GTK2_LIBRARIES ${FREETYPE_LIBRARIES})
+find_package(Freetype QUIET)
+if(FREETYPE_INCLUDE_DIR_ft2build AND FREETYPE_INCLUDE_DIR_freetype2)
+ list(APPEND GTK2_INCLUDE_DIRS ${FREETYPE_INCLUDE_DIR_ft2build} ${FREETYPE_INCLUDE_DIR_freetype2})
+endif()
foreach(_GTK2_component ${GTK2_FIND_COMPONENTS})
if(_GTK2_component STREQUAL "gtk")
- _GTK2_FIND_INCLUDE_DIR(GTK2_GTK gtk/gtk.h)
+ _GTK2_FIND_INCLUDE_DIR(GLIB glib.h)
+ _GTK2_FIND_INCLUDE_DIR(GLIBCONFIG glibconfig.h)
+ _GTK2_FIND_LIBRARY (GLIB glib false true)
+ _GTK2_ADD_TARGET (GLIB)
- if(UNIX)
- _GTK2_FIND_LIBRARY (GTK2_GTK gtk-x11 false true)
- _GTK2_FIND_LIBRARY (GTK2_GDK gdk-x11 false true)
- else()
- _GTK2_FIND_LIBRARY (GTK2_GTK gtk-win32 false true)
- _GTK2_FIND_LIBRARY (GTK2_GDK gdk-win32 false true)
- endif()
+ _GTK2_FIND_INCLUDE_DIR(GOBJECT glib-object.h)
+ _GTK2_FIND_LIBRARY (GOBJECT gobject false true)
+ _GTK2_ADD_TARGET (GOBJECT GTK2_DEPENDS glib)
- _GTK2_FIND_INCLUDE_DIR(GTK2_GDK gdk/gdk.h)
- _GTK2_FIND_INCLUDE_DIR(GTK2_GDKCONFIG gdkconfig.h)
+ _GTK2_FIND_INCLUDE_DIR(ATK atk/atk.h)
+ _GTK2_FIND_LIBRARY (ATK atk false true)
+ _GTK2_ADD_TARGET (ATK GTK2_DEPENDS gobject glib)
- _GTK2_FIND_INCLUDE_DIR(GTK2_CAIRO cairo.h)
- _GTK2_FIND_LIBRARY (GTK2_CAIRO cairo false false)
+ _GTK2_FIND_LIBRARY (GIO gio false true)
+ _GTK2_ADD_TARGET (GIO GTK2_DEPENDS gobject glib)
- _GTK2_FIND_INCLUDE_DIR(GTK2_FONTCONFIG fontconfig/fontconfig.h)
+ _GTK2_FIND_LIBRARY (GTHREAD gthread false true)
+ _GTK2_ADD_TARGET (GTHREAD GTK2_DEPENDS glib)
- _GTK2_FIND_INCLUDE_DIR(GTK2_PANGO pango/pango.h)
- _GTK2_FIND_LIBRARY (GTK2_PANGO pango false true)
+ _GTK2_FIND_LIBRARY (GMODULE gmodule false true)
+ _GTK2_ADD_TARGET (GMODULE GTK2_DEPENDS glib)
- _GTK2_FIND_LIBRARY (GTK2_PANGOCAIRO pangocairo false true)
+ _GTK2_FIND_INCLUDE_DIR(GDK_PIXBUF gdk-pixbuf/gdk-pixbuf.h)
+ _GTK2_FIND_LIBRARY (GDK_PIXBUF gdk_pixbuf false true)
+ _GTK2_ADD_TARGET (GDK_PIXBUF GTK2_DEPENDS gobject glib)
- _GTK2_FIND_LIBRARY (GTK2_PANGOFT2 pangoft2 false true)
+ _GTK2_FIND_INCLUDE_DIR(CAIRO cairo.h)
+ _GTK2_FIND_LIBRARY (CAIRO cairo false false)
+ _GTK2_ADD_TARGET (CAIRO)
- _GTK2_FIND_LIBRARY (GTK2_PANGOXFT pangoxft false true)
+ _GTK2_FIND_INCLUDE_DIR(PANGO pango/pango.h)
+ _GTK2_FIND_LIBRARY (PANGO pango false true)
+ _GTK2_ADD_TARGET (PANGO GTK2_DEPENDS gobject glib)
- _GTK2_FIND_INCLUDE_DIR(GTK2_GDK_PIXBUF gdk-pixbuf/gdk-pixbuf.h)
- _GTK2_FIND_LIBRARY (GTK2_GDK_PIXBUF gdk_pixbuf false true)
+ _GTK2_FIND_LIBRARY (PANGOCAIRO pangocairo false true)
+ _GTK2_ADD_TARGET (PANGOCAIRO GTK2_DEPENDS pango cairo gobject glib)
- _GTK2_FIND_LIBRARY (GTK2_GTHREAD gthread false true)
+ _GTK2_FIND_LIBRARY (PANGOFT2 pangoft2 false true)
+ _GTK2_ADD_TARGET (PANGOFT2 GTK2_DEPENDS pango gobject glib
+ OPTIONAL_INCLUDES ${FREETYPE_INCLUDE_DIR_ft2build} ${FREETYPE_INCLUDE_DIR_freetype2})
- _GTK2_FIND_LIBRARY (GTK2_GMODULE gmodule false true)
+ _GTK2_FIND_LIBRARY (PANGOXFT pangoxft false true)
+ _GTK2_ADD_TARGET (PANGOXFT GTK2_DEPENDS pangoft2 pango gobject glib
+ OPTIONAL_INCLUDES ${FREETYPE_INCLUDE_DIR_ft2build} ${FREETYPE_INCLUDE_DIR_freetype2})
- _GTK2_FIND_LIBRARY (GTK2_GIO gio false true)
-
- _GTK2_FIND_INCLUDE_DIR(GTK2_ATK atk/atk.h)
- _GTK2_FIND_LIBRARY (GTK2_ATK atk false true)
+ _GTK2_FIND_INCLUDE_DIR(GDK gdk/gdk.h)
+ _GTK2_FIND_INCLUDE_DIR(GDKCONFIG gdkconfig.h)
+ if(UNIX)
+ if(APPLE)
+ _GTK2_FIND_LIBRARY (GDK gdk-quartz false true)
+ endif()
+ if(NOT GTK2_GDK_FOUND)
+ _GTK2_FIND_LIBRARY (GDK gdk-x11 false true)
+ endif()
+ else()
+ _GTK2_FIND_LIBRARY (GDK gdk-win32 false true)
+ endif()
+ _GTK2_ADD_TARGET (GDK GTK2_DEPENDS pango gdk_pixbuf gobject glib
+ GTK2_OPTIONAL_DEPENDS pangocairo cairo)
- _GTK2_FIND_INCLUDE_DIR(GTK2_GOBJECT gobject/gobject.h)
- _GTK2_FIND_LIBRARY (GTK2_GOBJECT gobject false true)
+ _GTK2_FIND_INCLUDE_DIR(GTK gtk/gtk.h)
+ if(UNIX)
+ if(APPLE)
+ _GTK2_FIND_LIBRARY (GTK gtk-quartz false true)
+ endif()
+ if(NOT GTK2_GTK_FOUND)
+ _GTK2_FIND_LIBRARY (GTK gtk-x11 false true)
+ endif()
+ else()
+ _GTK2_FIND_LIBRARY (GTK gtk-win32 false true)
+ endif()
+ _GTK2_ADD_TARGET (GTK GTK2_DEPENDS gdk atk pangoft2 pango gdk_pixbuf gthread gobject glib
+ GTK2_OPTIONAL_DEPENDS gio pangocairo cairo)
- _GTK2_FIND_INCLUDE_DIR(GTK2_GLIB glib.h)
- _GTK2_FIND_INCLUDE_DIR(GTK2_GLIBCONFIG glibconfig.h)
- _GTK2_FIND_LIBRARY (GTK2_GLIB glib false true)
+ # Left for compatibility with previous versions. It doesn't seem to be required
+ _GTK2_FIND_INCLUDE_DIR(FONTCONFIG fontconfig/fontconfig.h)
elseif(_GTK2_component STREQUAL "gtkmm")
- _GTK2_FIND_INCLUDE_DIR(GTK2_GTKMM gtkmm.h)
- _GTK2_FIND_INCLUDE_DIR(GTK2_GTKMMCONFIG gtkmmconfig.h)
- _GTK2_FIND_LIBRARY (GTK2_GTKMM gtkmm true true)
-
- _GTK2_FIND_INCLUDE_DIR(GTK2_GDKMM gdkmm.h)
- _GTK2_FIND_INCLUDE_DIR(GTK2_GDKMMCONFIG gdkmmconfig.h)
- _GTK2_FIND_LIBRARY (GTK2_GDKMM gdkmm true true)
-
- _GTK2_FIND_INCLUDE_DIR(GTK2_PANGOMM pangomm.h)
- _GTK2_FIND_INCLUDE_DIR(GTK2_PANGOMMCONFIG pangommconfig.h)
- _GTK2_FIND_LIBRARY (GTK2_PANGOMM pangomm true true)
-
- _GTK2_FIND_INCLUDE_DIR(GTK2_CAIROMM cairomm/cairomm.h)
- _GTK2_FIND_INCLUDE_DIR(GTK2_CAIROMMCONFIG cairommconfig.h)
- _GTK2_FIND_LIBRARY (GTK2_CAIROMM cairomm true true)
-
- _GTK2_FIND_INCLUDE_DIR(GTK2_GIOMM giomm.h)
- _GTK2_FIND_INCLUDE_DIR(GTK2_GIOMMCONFIG giommconfig.h)
- _GTK2_FIND_LIBRARY (GTK2_GIOMM giomm true true)
-
- _GTK2_FIND_INCLUDE_DIR(GTK2_ATKMM atkmm.h)
- _GTK2_FIND_LIBRARY (GTK2_ATKMM atkmm true true)
-
- _GTK2_FIND_INCLUDE_DIR(GTK2_GLIBMM glibmm.h)
- _GTK2_FIND_INCLUDE_DIR(GTK2_GLIBMMCONFIG glibmmconfig.h)
- _GTK2_FIND_LIBRARY (GTK2_GLIBMM glibmm true true)
-
- _GTK2_FIND_INCLUDE_DIR(GTK2_SIGC++ sigc++/sigc++.h)
- _GTK2_FIND_INCLUDE_DIR(GTK2_SIGC++CONFIG sigc++config.h)
- _GTK2_FIND_LIBRARY (GTK2_SIGC++ sigc true true)
+ _GTK2_FIND_INCLUDE_DIR(SIGC++ sigc++/sigc++.h)
+ _GTK2_FIND_INCLUDE_DIR(SIGC++CONFIG sigc++config.h)
+ _GTK2_FIND_LIBRARY (SIGC++ sigc true true)
+ _GTK2_ADD_TARGET (SIGC++)
+
+ _GTK2_FIND_INCLUDE_DIR(GLIBMM glibmm.h)
+ _GTK2_FIND_INCLUDE_DIR(GLIBMMCONFIG glibmmconfig.h)
+ _GTK2_FIND_LIBRARY (GLIBMM glibmm true true)
+ _GTK2_ADD_TARGET (GLIBMM GTK2_DEPENDS gobject sigc++ glib)
+
+ _GTK2_FIND_INCLUDE_DIR(GIOMM giomm.h)
+ _GTK2_FIND_INCLUDE_DIR(GIOMMCONFIG giommconfig.h)
+ _GTK2_FIND_LIBRARY (GIOMM giomm true true)
+ _GTK2_ADD_TARGET (GIOMM GTK2_DEPENDS gio glibmm gobject sigc++ glib)
+
+ _GTK2_FIND_INCLUDE_DIR(ATKMM atkmm.h)
+ _GTK2_FIND_LIBRARY (ATKMM atkmm true true)
+ _GTK2_ADD_TARGET (ATKMM GTK2_DEPENDS atk glibmm gobject sigc++ glib)
+
+ _GTK2_FIND_INCLUDE_DIR(CAIROMM cairomm/cairomm.h)
+ _GTK2_FIND_INCLUDE_DIR(CAIROMMCONFIG cairommconfig.h)
+ _GTK2_FIND_LIBRARY (CAIROMM cairomm true true)
+ _GTK2_ADD_TARGET (CAIROMM GTK2_DEPENDS cairo sigc++
+ OPTIONAL_INCLUDES ${FREETYPE_INCLUDE_DIR_ft2build} ${FREETYPE_INCLUDE_DIR_freetype2})
+
+ _GTK2_FIND_INCLUDE_DIR(PANGOMM pangomm.h)
+ _GTK2_FIND_INCLUDE_DIR(PANGOMMCONFIG pangommconfig.h)
+ _GTK2_FIND_LIBRARY (PANGOMM pangomm true true)
+ _GTK2_ADD_TARGET (PANGOMM GTK2_DEPENDS glibmm sigc++ pango gobject glib
+ GTK2_OPTIONAL_DEPENDS cairomm pangocairo cairo
+ OPTIONAL_INCLUDES ${FREETYPE_INCLUDE_DIR_ft2build} ${FREETYPE_INCLUDE_DIR_freetype2})
+
+
+ _GTK2_FIND_INCLUDE_DIR(GDKMM gdkmm.h)
+ _GTK2_FIND_INCLUDE_DIR(GDKMMCONFIG gdkmmconfig.h)
+ _GTK2_FIND_LIBRARY (GDKMM gdkmm true true)
+ _GTK2_ADD_TARGET (GDKMM GTK2_DEPENDS pangomm gtk glibmm sigc++ gdk atk pangoft2 gdk_pixbuf pango gobject glib
+ GTK2_OPTIONAL_DEPENDS giomm cairomm gio pangocairo cairo
+ OPTIONAL_INCLUDES ${FREETYPE_INCLUDE_DIR_ft2build} ${FREETYPE_INCLUDE_DIR_freetype2})
+
+ _GTK2_FIND_INCLUDE_DIR(GTKMM gtkmm.h)
+ _GTK2_FIND_INCLUDE_DIR(GTKMMCONFIG gtkmmconfig.h)
+ _GTK2_FIND_LIBRARY (GTKMM gtkmm true true)
+ _GTK2_ADD_TARGET (GTKMM GTK2_DEPENDS atkmm gdkmm pangomm gtk glibmm sigc++ gdk atk pangoft2 gdk_pixbuf pango gthread gobject glib
+ GTK2_OPTIONAL_DEPENDS giomm cairomm gio pangocairo cairo
+ OPTIONAL_INCLUDES ${FREETYPE_INCLUDE_DIR_ft2build} ${FREETYPE_INCLUDE_DIR_freetype2})
elseif(_GTK2_component STREQUAL "glade")
- _GTK2_FIND_INCLUDE_DIR(GTK2_GLADE glade/glade.h)
- _GTK2_FIND_LIBRARY (GTK2_GLADE glade false true)
+ _GTK2_FIND_INCLUDE_DIR(GLADE glade/glade.h)
+ _GTK2_FIND_LIBRARY (GLADE glade false true)
+ _GTK2_ADD_TARGET (GLADE GTK2_DEPENDS gtk gdk atk gio pangoft2 gdk_pixbuf pango gobject glib
+ GTK2_OPTIONAL_DEPENDS pangocairo cairo
+ OPTIONAL_INCLUDES ${FREETYPE_INCLUDE_DIR_ft2build} ${FREETYPE_INCLUDE_DIR_freetype2})
elseif(_GTK2_component STREQUAL "glademm")
- _GTK2_FIND_INCLUDE_DIR(GTK2_GLADEMM libglademm.h)
- _GTK2_FIND_INCLUDE_DIR(GTK2_GLADEMMCONFIG libglademmconfig.h)
- _GTK2_FIND_LIBRARY (GTK2_GLADEMM glademm true true)
+ _GTK2_FIND_INCLUDE_DIR(GLADEMM libglademm.h)
+ _GTK2_FIND_INCLUDE_DIR(GLADEMMCONFIG libglademmconfig.h)
+ _GTK2_FIND_LIBRARY (GLADEMM glademm true true)
+ _GTK2_ADD_TARGET (GLADEMM GTK2_DEPENDS gtkmm glade atkmm gdkmm giomm pangomm glibmm sigc++ gtk gdk atk pangoft2 gdk_pixbuf pango gthread gobject glib
+ GTK2_OPTIONAL_DEPENDS giomm cairomm gio pangocairo cairo
+ OPTIONAL_INCLUDES ${FREETYPE_INCLUDE_DIR_ft2build} ${FREETYPE_INCLUDE_DIR_freetype2})
else()
message(FATAL_ERROR "Unknown GTK2 component ${_component}")
@@ -562,20 +801,6 @@ if(NOT GTK2_FIND_VERSION AND GTK2_GTK_INCLUDE_DIR)
endif()
#
-# On MSVC, according to https://wiki.gnome.org/gtkmm/MSWindows, the /vd2 flag needs to be
-# passed to the compiler in order to use gtkmm
-#
-if(MSVC)
- foreach(_GTK2_component ${GTK2_FIND_COMPONENTS})
- if(_GTK2_component STREQUAL "gtkmm")
- set(GTK2_DEFINITIONS "/vd2")
- elseif(_GTK2_component STREQUAL "glademm")
- set(GTK2_DEFINITIONS "/vd2")
- endif()
- endforeach()
-endif()
-
-#
# Try to enforce components
#
@@ -586,6 +811,8 @@ include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
foreach(_GTK2_component ${GTK2_FIND_COMPONENTS})
string(TOUPPER ${_GTK2_component} _COMPONENT_UPPER)
+ set(GTK2_${_COMPONENT_UPPER}_FIND_QUIETLY ${GTK2_FIND_QUIETLY})
+
if(_GTK2_component STREQUAL "gtk")
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GTK2_${_COMPONENT_UPPER} "Some or all of the gtk libraries were not found."
GTK2_GTK_LIBRARY
@@ -613,6 +840,8 @@ foreach(_GTK2_component ${GTK2_FIND_COMPONENTS})
GTK2_GLIBMMCONFIG_INCLUDE_DIR
GTK2_GLIBMM_LIBRARY
+ FREETYPE_INCLUDE_DIR_ft2build
+ FREETYPE_INCLUDE_DIR_freetype2
)
elseif(_GTK2_component STREQUAL "glade")
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GTK2_${_COMPONENT_UPPER} "The glade library was not found."
diff --git a/Modules/FindGTest.cmake b/Modules/FindGTest.cmake
index d531dd1..c00a750 100644
--- a/Modules/FindGTest.cmake
+++ b/Modules/FindGTest.cmake
@@ -1,58 +1,94 @@
+#.rst:
+# FindGTest
+# ---------
+#
# Locate the Google C++ Testing Framework.
#
# Defines the following variables:
#
-# GTEST_FOUND - Found the Google Testing framework
-# GTEST_INCLUDE_DIRS - Include directories
+# ::
+#
+# GTEST_FOUND - Found the Google Testing framework
+# GTEST_INCLUDE_DIRS - Include directories
+#
+#
+#
+# Also defines the library variables below as normal variables. These
+# contain debug/optimized keywords when a debugging library is found.
+#
+# ::
+#
+# GTEST_BOTH_LIBRARIES - Both libgtest & libgtest-main
+# GTEST_LIBRARIES - libgtest
+# GTEST_MAIN_LIBRARIES - libgtest-main
#
-# Also defines the library variables below as normal
-# variables. These contain debug/optimized keywords when
-# a debugging library is found.
#
-# GTEST_BOTH_LIBRARIES - Both libgtest & libgtest-main
-# GTEST_LIBRARIES - libgtest
-# GTEST_MAIN_LIBRARIES - libgtest-main
#
# Accepts the following variables as input:
#
-# GTEST_ROOT - (as a CMake or environment variable)
-# The root directory of the gtest install prefix
+# ::
+#
+# GTEST_ROOT - (as a CMake or environment variable)
+# The root directory of the gtest install prefix
+#
+#
+#
+# ::
+#
+# GTEST_MSVC_SEARCH - If compiling with MSVC, this variable can be set to
+# "MD" or "MT" to enable searching a GTest build tree
+# (defaults: "MD")
+#
#
-# GTEST_MSVC_SEARCH - If compiling with MSVC, this variable can be set to
-# "MD" or "MT" to enable searching a GTest build tree
-# (defaults: "MD")
#
-#-----------------------
# Example Usage:
#
-# enable_testing()
-# find_package(GTest REQUIRED)
-# include_directories(${GTEST_INCLUDE_DIRS})
+# ::
+#
+# enable_testing()
+# find_package(GTest REQUIRED)
+# include_directories(${GTEST_INCLUDE_DIRS})
+#
#
-# add_executable(foo foo.cc)
-# target_link_libraries(foo ${GTEST_BOTH_LIBRARIES})
#
-# add_test(AllTestsInFoo foo)
+# ::
#
-#-----------------------
+# add_executable(foo foo.cc)
+# target_link_libraries(foo ${GTEST_BOTH_LIBRARIES})
#
-# If you would like each Google test to show up in CTest as
-# a test you may use the following macro.
-# NOTE: It will slow down your tests by running an executable
-# for each test and test fixture. You will also have to rerun
-# CMake after adding or removing tests or test fixtures.
+#
+#
+# ::
+#
+# add_test(AllTestsInFoo foo)
+#
+#
+#
+#
+#
+# If you would like each Google test to show up in CTest as a test you
+# may use the following macro. NOTE: It will slow down your tests by
+# running an executable for each test and test fixture. You will also
+# have to rerun CMake after adding or removing tests or test fixtures.
#
# GTEST_ADD_TESTS(executable extra_args ARGN)
-# executable = The path to the test executable
-# extra_args = Pass a list of extra arguments to be passed to
-# executable enclosed in quotes (or "" for none)
-# ARGN = A list of source files to search for tests & test
-# fixtures.
-#
-# Example:
-# set(FooTestArgs --foo 1 --bar 2)
-# add_executable(FooTest FooUnitTest.cc)
-# GTEST_ADD_TESTS(FooTest "${FooTestArgs}" FooUnitTest.cc)
+#
+# ::
+#
+# executable = The path to the test executable
+# extra_args = Pass a list of extra arguments to be passed to
+# executable enclosed in quotes (or "" for none)
+# ARGN = A list of source files to search for tests & test
+# fixtures.
+#
+#
+#
+# ::
+#
+# Example:
+# set(FooTestArgs --foo 1 --bar 2)
+# add_executable(FooTest FooUnitTest.cc)
+# GTEST_ADD_TESTS(FooTest "${FooTestArgs}" FooUnitTest.cc)
#=============================================================================
# Copyright 2009 Kitware, Inc.
diff --git a/Modules/FindGettext.cmake b/Modules/FindGettext.cmake
index 1a6bd39..6a1e36e 100644
--- a/Modules/FindGettext.cmake
+++ b/Modules/FindGettext.cmake
@@ -1,29 +1,52 @@
-# - Find GNU gettext tools
-# This module looks for the GNU gettext tools. This module defines the
+#.rst:
+# FindGettext
+# -----------
+#
+# Find GNU gettext tools
+#
+# This module looks for the GNU gettext tools. This module defines the
# following values:
-# GETTEXT_MSGMERGE_EXECUTABLE: the full path to the msgmerge tool.
-# GETTEXT_MSGFMT_EXECUTABLE: the full path to the msgfmt tool.
-# GETTEXT_FOUND: True if gettext has been found.
-# GETTEXT_VERSION_STRING: the version of gettext found (since CMake 2.8.8)
+#
+# ::
+#
+# GETTEXT_MSGMERGE_EXECUTABLE: the full path to the msgmerge tool.
+# GETTEXT_MSGFMT_EXECUTABLE: the full path to the msgfmt tool.
+# GETTEXT_FOUND: True if gettext has been found.
+# GETTEXT_VERSION_STRING: the version of gettext found (since CMake 2.8.8)
+#
+#
#
# Additionally it provides the following macros:
-# GETTEXT_CREATE_TRANSLATIONS ( outputFile [ALL] file1 ... fileN )
-# This will create a target "translations" which will convert the
-# given input po files into the binary output mo file. If the
-# ALL option is used, the translations will also be created when
-# building the default target.
-# GETTEXT_PROCESS_POT( <potfile> [ALL] [INSTALL_DESTINATION <destdir>] LANGUAGES <lang1> <lang2> ... )
-# Process the given pot file to mo files.
-# If INSTALL_DESTINATION is given then automatically install rules will be created,
-# the language subdirectory will be taken into account (by default use share/locale/).
-# If ALL is specified, the pot file is processed when building the all traget.
-# It creates a custom target "potfile".
-# GETTEXT_PROCESS_PO_FILES( <lang> [ALL] [INSTALL_DESTINATION <dir>] PO_FILES <po1> <po2> ... )
-# Process the given po files to mo files for the given language.
-# If INSTALL_DESTINATION is given then automatically install rules will be created,
-# the language subdirectory will be taken into account (by default use share/locale/).
-# If ALL is specified, the po files are processed when building the all traget.
-# It creates a custom target "pofiles".
+# GETTEXT_CREATE_TRANSLATIONS ( outputFile [ALL] file1 ... fileN )
+#
+# ::
+#
+# This will create a target "translations" which will convert the
+# given input po files into the binary output mo file. If the
+# ALL option is used, the translations will also be created when
+# building the default target.
+#
+# GETTEXT_PROCESS_POT( <potfile> [ALL] [INSTALL_DESTINATION <destdir>]
+# LANGUAGES <lang1> <lang2> ... )
+#
+# ::
+#
+# Process the given pot file to mo files.
+# If INSTALL_DESTINATION is given then automatically install rules will be created,
+# the language subdirectory will be taken into account (by default use share/locale/).
+# If ALL is specified, the pot file is processed when building the all traget.
+# It creates a custom target "potfile".
+#
+# GETTEXT_PROCESS_PO_FILES( <lang> [ALL] [INSTALL_DESTINATION <dir>]
+# PO_FILES <po1> <po2> ... )
+#
+# ::
+#
+# Process the given po files to mo files for the given language.
+# If INSTALL_DESTINATION is given then automatically install rules will be created,
+# the language subdirectory will be taken into account (by default use share/locale/).
+# If ALL is specified, the po files are processed when building the all traget.
+# It creates a custom target "pofiles".
#=============================================================================
# Copyright 2007-2009 Kitware, Inc.
diff --git a/Modules/FindGit.cmake b/Modules/FindGit.cmake
index 41d2a7a..570538d 100644
--- a/Modules/FindGit.cmake
+++ b/Modules/FindGit.cmake
@@ -1,12 +1,25 @@
+#.rst:
+# FindGit
+# -------
+#
+#
+#
# The module defines the following variables:
-# GIT_EXECUTABLE - path to git command line client
-# GIT_FOUND - true if the command line client was found
-# GIT_VERSION_STRING - the version of git found (since CMake 2.8.8)
+#
+# ::
+#
+# GIT_EXECUTABLE - path to git command line client
+# GIT_FOUND - true if the command line client was found
+# GIT_VERSION_STRING - the version of git found (since CMake 2.8.8)
+#
# Example usage:
-# find_package(Git)
-# if(GIT_FOUND)
-# message("git found: ${GIT_EXECUTABLE}")
-# endif()
+#
+# ::
+#
+# find_package(Git)
+# if(GIT_FOUND)
+# message("git found: ${GIT_EXECUTABLE}")
+# endif()
#=============================================================================
# Copyright 2010 Kitware, Inc.
diff --git a/Modules/FindGnuTLS.cmake b/Modules/FindGnuTLS.cmake
index 7315f1d..4d94ffc 100644
--- a/Modules/FindGnuTLS.cmake
+++ b/Modules/FindGnuTLS.cmake
@@ -1,11 +1,19 @@
-# - Try to find the GNU Transport Layer Security library (gnutls)
+#.rst:
+# FindGnuTLS
+# ----------
+#
+# Try to find the GNU Transport Layer Security library (gnutls)
+#
+#
#
# Once done this will define
#
-# GNUTLS_FOUND - System has gnutls
-# GNUTLS_INCLUDE_DIR - The gnutls include directory
-# GNUTLS_LIBRARIES - The libraries needed to use gnutls
-# GNUTLS_DEFINITIONS - Compiler switches required for using gnutls
+# ::
+#
+# GNUTLS_FOUND - System has gnutls
+# GNUTLS_INCLUDE_DIR - The gnutls include directory
+# GNUTLS_LIBRARIES - The libraries needed to use gnutls
+# GNUTLS_DEFINITIONS - Compiler switches required for using gnutls
#=============================================================================
# Copyright 2009 Kitware, Inc.
diff --git a/Modules/FindGnuplot.cmake b/Modules/FindGnuplot.cmake
index f2f9dd0..067604f 100644
--- a/Modules/FindGnuplot.cmake
+++ b/Modules/FindGnuplot.cmake
@@ -1,10 +1,20 @@
-# - this module looks for gnuplot
+#.rst:
+# FindGnuplot
+# -----------
+#
+# this module looks for gnuplot
+#
+#
#
# Once done this will define
#
-# GNUPLOT_FOUND - system has Gnuplot
-# GNUPLOT_EXECUTABLE - the Gnuplot executable
-# GNUPLOT_VERSION_STRING - the version of Gnuplot found (since CMake 2.8.8)
+# ::
+#
+# GNUPLOT_FOUND - system has Gnuplot
+# GNUPLOT_EXECUTABLE - the Gnuplot executable
+# GNUPLOT_VERSION_STRING - the version of Gnuplot found (since CMake 2.8.8)
+#
+#
#
# GNUPLOT_VERSION_STRING will not work for old versions like 3.7.1.
diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake
index 0c246a1..2903bf8 100644
--- a/Modules/FindHDF5.cmake
+++ b/Modules/FindHDF5.cmake
@@ -1,49 +1,62 @@
-# - Find HDF5, a library for reading and writing self describing array data.
+#.rst:
+# FindHDF5
+# --------
+#
+# Find HDF5, a library for reading and writing self describing array data.
+#
+#
#
# This module invokes the HDF5 wrapper compiler that should be installed
-# alongside HDF5. Depending upon the HDF5 Configuration, the wrapper compiler
-# is called either h5cc or h5pcc. If this succeeds, the module will then call
-# the compiler with the -show argument to see what flags are used when compiling
-# an HDF5 client application.
+# alongside HDF5. Depending upon the HDF5 Configuration, the wrapper
+# compiler is called either h5cc or h5pcc. If this succeeds, the module
+# will then call the compiler with the -show argument to see what flags
+# are used when compiling an HDF5 client application.
#
-# The module will optionally accept the COMPONENTS argument. If no COMPONENTS
-# are specified, then the find module will default to finding only the HDF5 C
-# library. If one or more COMPONENTS are specified, the module will attempt to
-# find the language bindings for the specified components. The only valid
-# components are C, CXX, Fortran, HL, and Fortran_HL. If the COMPONENTS
-# argument is not given, the module will attempt to find only the C bindings.
+# The module will optionally accept the COMPONENTS argument. If no
+# COMPONENTS are specified, then the find module will default to finding
+# only the HDF5 C library. If one or more COMPONENTS are specified, the
+# module will attempt to find the language bindings for the specified
+# components. The only valid components are C, CXX, Fortran, HL, and
+# Fortran_HL. If the COMPONENTS argument is not given, the module will
+# attempt to find only the C bindings.
#
-# On UNIX systems, this module will read the variable HDF5_USE_STATIC_LIBRARIES
-# to determine whether or not to prefer a static link to a dynamic link for HDF5
-# and all of it's dependencies. To use this feature, make sure that the
-# HDF5_USE_STATIC_LIBRARIES variable is set before the call to find_package.
+# On UNIX systems, this module will read the variable
+# HDF5_USE_STATIC_LIBRARIES to determine whether or not to prefer a
+# static link to a dynamic link for HDF5 and all of it's dependencies.
+# To use this feature, make sure that the HDF5_USE_STATIC_LIBRARIES
+# variable is set before the call to find_package.
#
-# To provide the module with a hint about where to find your HDF5 installation,
-# you can set the environment variable HDF5_ROOT. The Find module will then
-# look in this path when searching for HDF5 executables, paths, and libraries.
+# To provide the module with a hint about where to find your HDF5
+# installation, you can set the environment variable HDF5_ROOT. The
+# Find module will then look in this path when searching for HDF5
+# executables, paths, and libraries.
#
-# In addition to finding the includes and libraries required to compile an HDF5
-# client application, this module also makes an effort to find tools that come
-# with the HDF5 distribution that may be useful for regression testing.
+# In addition to finding the includes and libraries required to compile
+# an HDF5 client application, this module also makes an effort to find
+# tools that come with the HDF5 distribution that may be useful for
+# regression testing.
#
# This module will define the following variables:
-# HDF5_INCLUDE_DIRS - Location of the hdf5 includes
-# HDF5_INCLUDE_DIR - Location of the hdf5 includes (deprecated)
-# HDF5_DEFINITIONS - Required compiler definitions for HDF5
-# HDF5_C_LIBRARIES - Required libraries for the HDF5 C bindings.
-# HDF5_CXX_LIBRARIES - Required libraries for the HDF5 C++ bindings
-# HDF5_Fortran_LIBRARIES - Required libraries for the HDF5 Fortran bindings
-# HDF5_HL_LIBRARIES - Required libraries for the HDF5 high level API
-# HDF5_Fortran_HL_LIBRARIES - Required libraries for the high level Fortran
-# bindings.
-# HDF5_LIBRARIES - Required libraries for all requested bindings
-# HDF5_FOUND - true if HDF5 was found on the system
-# HDF5_LIBRARY_DIRS - the full set of library directories
-# HDF5_IS_PARALLEL - Whether or not HDF5 was found with parallel IO support
-# HDF5_C_COMPILER_EXECUTABLE - the path to the HDF5 C wrapper compiler
-# HDF5_CXX_COMPILER_EXECUTABLE - the path to the HDF5 C++ wrapper compiler
-# HDF5_Fortran_COMPILER_EXECUTABLE - the path to the HDF5 Fortran wrapper compiler
-# HDF5_DIFF_EXECUTABLE - the path to the HDF5 dataset comparison tool
+#
+# ::
+#
+# HDF5_INCLUDE_DIRS - Location of the hdf5 includes
+# HDF5_INCLUDE_DIR - Location of the hdf5 includes (deprecated)
+# HDF5_DEFINITIONS - Required compiler definitions for HDF5
+# HDF5_C_LIBRARIES - Required libraries for the HDF5 C bindings.
+# HDF5_CXX_LIBRARIES - Required libraries for the HDF5 C++ bindings
+# HDF5_Fortran_LIBRARIES - Required libraries for the HDF5 Fortran bindings
+# HDF5_HL_LIBRARIES - Required libraries for the HDF5 high level API
+# HDF5_Fortran_HL_LIBRARIES - Required libraries for the high level Fortran
+# bindings.
+# HDF5_LIBRARIES - Required libraries for all requested bindings
+# HDF5_FOUND - true if HDF5 was found on the system
+# HDF5_LIBRARY_DIRS - the full set of library directories
+# HDF5_IS_PARALLEL - Whether or not HDF5 was found with parallel IO support
+# HDF5_C_COMPILER_EXECUTABLE - the path to the HDF5 C wrapper compiler
+# HDF5_CXX_COMPILER_EXECUTABLE - the path to the HDF5 C++ wrapper compiler
+# HDF5_Fortran_COMPILER_EXECUTABLE - the path to the HDF5 Fortran wrapper compiler
+# HDF5_DIFF_EXECUTABLE - the path to the HDF5 dataset comparison tool
#=============================================================================
# Copyright 2009 Kitware, Inc.
diff --git a/Modules/FindHSPELL.cmake b/Modules/FindHSPELL.cmake
index 71e55da..2316533 100644
--- a/Modules/FindHSPELL.cmake
+++ b/Modules/FindHSPELL.cmake
@@ -1,14 +1,25 @@
-# - Try to find Hspell
+#.rst:
+# FindHSPELL
+# ----------
+#
+# Try to find Hspell
+#
# Once done this will define
#
-# HSPELL_FOUND - system has Hspell
-# HSPELL_INCLUDE_DIR - the Hspell include directory
-# HSPELL_LIBRARIES - The libraries needed to use Hspell
-# HSPELL_DEFINITIONS - Compiler switches required for using Hspell
+# ::
+#
+# HSPELL_FOUND - system has Hspell
+# HSPELL_INCLUDE_DIR - the Hspell include directory
+# HSPELL_LIBRARIES - The libraries needed to use Hspell
+# HSPELL_DEFINITIONS - Compiler switches required for using Hspell
+#
+#
+#
+# ::
#
-# HSPELL_VERSION_STRING - The version of Hspell found (x.y)
-# HSPELL_MAJOR_VERSION - the major version of Hspell
-# HSPELL_MINOR_VERSION - The minor version of Hspell
+# HSPELL_VERSION_STRING - The version of Hspell found (x.y)
+# HSPELL_MAJOR_VERSION - the major version of Hspell
+# HSPELL_MINOR_VERSION - The minor version of Hspell
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
diff --git a/Modules/FindHTMLHelp.cmake b/Modules/FindHTMLHelp.cmake
index c69e9e9..4e39a34 100644
--- a/Modules/FindHTMLHelp.cmake
+++ b/Modules/FindHTMLHelp.cmake
@@ -1,9 +1,16 @@
-# - This module looks for Microsoft HTML Help Compiler
+#.rst:
+# FindHTMLHelp
+# ------------
+#
+# This module looks for Microsoft HTML Help Compiler
+#
# It defines:
-# HTML_HELP_COMPILER : full path to the Compiler (hhc.exe)
-# HTML_HELP_INCLUDE_PATH : include path to the API (htmlhelp.h)
-# HTML_HELP_LIBRARY : full path to the library (htmlhelp.lib)
#
+# ::
+#
+# HTML_HELP_COMPILER : full path to the Compiler (hhc.exe)
+# HTML_HELP_INCLUDE_PATH : include path to the API (htmlhelp.h)
+# HTML_HELP_LIBRARY : full path to the library (htmlhelp.lib)
#=============================================================================
# Copyright 2002-2009 Kitware, Inc.
diff --git a/Modules/FindHg.cmake b/Modules/FindHg.cmake
index a6a4aef..a1fb33f 100644
--- a/Modules/FindHg.cmake
+++ b/Modules/FindHg.cmake
@@ -1,12 +1,25 @@
+#.rst:
+# FindHg
+# ------
+#
+#
+#
# The module defines the following variables:
-# HG_EXECUTABLE - path to mercurial command line client (hg)
-# HG_FOUND - true if the command line client was found
-# HG_VERSION_STRING - the version of mercurial found
+#
+# ::
+#
+# HG_EXECUTABLE - path to mercurial command line client (hg)
+# HG_FOUND - true if the command line client was found
+# HG_VERSION_STRING - the version of mercurial found
+#
# Example usage:
-# find_package(Hg)
-# if(HG_FOUND)
-# message("hg found: ${HG_EXECUTABLE}")
-# endif()
+#
+# ::
+#
+# find_package(Hg)
+# if(HG_FOUND)
+# message("hg found: ${HG_EXECUTABLE}")
+# endif()
#=============================================================================
# Copyright 2010-2012 Kitware, Inc.
diff --git a/Modules/FindITK.cmake b/Modules/FindITK.cmake
index 2929a76..c9d39eb 100644
--- a/Modules/FindITK.cmake
+++ b/Modules/FindITK.cmake
@@ -1,4 +1,8 @@
-# - Find an ITK installation or build tree.
+#.rst:
+# FindITK
+# -------
+#
+# Find an ITK installation or build tree.
# When ITK is found, the ITKConfig.cmake file is sourced to setup the
# location and configuration of ITK. Please read this file, or
diff --git a/Modules/FindIcotool.cmake b/Modules/FindIcotool.cmake
index 8c10177..e29fe2e 100644
--- a/Modules/FindIcotool.cmake
+++ b/Modules/FindIcotool.cmake
@@ -1,10 +1,17 @@
-# - Find icotool
-# This module looks for icotool. This module defines the
-# following values:
-# ICOTOOL_EXECUTABLE: the full path to the icotool tool.
-# ICOTOOL_FOUND: True if icotool has been found.
-# ICOTOOL_VERSION_STRING: the version of icotool found.
+#.rst:
+# FindIcotool
+# -----------
#
+# Find icotool
+#
+# This module looks for icotool. This module defines the following
+# values:
+#
+# ::
+#
+# ICOTOOL_EXECUTABLE: the full path to the icotool tool.
+# ICOTOOL_FOUND: True if icotool has been found.
+# ICOTOOL_VERSION_STRING: the version of icotool found.
#=============================================================================
# Copyright 2012 Aleksey Avdeev <solo@altlinux.ru>
diff --git a/Modules/FindImageMagick.cmake b/Modules/FindImageMagick.cmake
index 7c6cce7..1e7bda5 100644
--- a/Modules/FindImageMagick.cmake
+++ b/Modules/FindImageMagick.cmake
@@ -1,58 +1,84 @@
-# - Find the ImageMagick binary suite.
-# This module will search for a set of ImageMagick tools specified
-# as components in the FIND_PACKAGE call. Typical components include,
-# but are not limited to (future versions of ImageMagick might have
+#.rst:
+# FindImageMagick
+# ---------------
+#
+# Find the ImageMagick binary suite.
+#
+# This module will search for a set of ImageMagick tools specified as
+# components in the FIND_PACKAGE call. Typical components include, but
+# are not limited to (future versions of ImageMagick might have
# additional components not listed here):
#
-# animate
-# compare
-# composite
-# conjure
-# convert
-# display
-# identify
-# import
-# mogrify
-# montage
-# stream
+# ::
+#
+# animate
+# compare
+# composite
+# conjure
+# convert
+# display
+# identify
+# import
+# mogrify
+# montage
+# stream
+#
+#
#
# If no component is specified in the FIND_PACKAGE call, then it only
-# searches for the ImageMagick executable directory. This code defines
+# searches for the ImageMagick executable directory. This code defines
# the following variables:
#
-# ImageMagick_FOUND - TRUE if all components are found.
-# ImageMagick_EXECUTABLE_DIR - Full path to executables directory.
-# ImageMagick_<component>_FOUND - TRUE if <component> is found.
-# ImageMagick_<component>_EXECUTABLE - Full path to <component> executable.
-# ImageMagick_VERSION_STRING - the version of ImageMagick found
-# (since CMake 2.8.8)
+# ::
+#
+# ImageMagick_FOUND - TRUE if all components are found.
+# ImageMagick_EXECUTABLE_DIR - Full path to executables directory.
+# ImageMagick_<component>_FOUND - TRUE if <component> is found.
+# ImageMagick_<component>_EXECUTABLE - Full path to <component> executable.
+# ImageMagick_VERSION_STRING - the version of ImageMagick found
+# (since CMake 2.8.8)
+#
+#
#
# ImageMagick_VERSION_STRING will not work for old versions like 5.2.3.
#
# There are also components for the following ImageMagick APIs:
#
-# Magick++
-# MagickWand
-# MagickCore
+# ::
+#
+# Magick++
+# MagickWand
+# MagickCore
+#
+#
#
# For these components the following variables are set:
#
-# ImageMagick_FOUND - TRUE if all components are found.
-# ImageMagick_INCLUDE_DIRS - Full paths to all include dirs.
-# ImageMagick_LIBRARIES - Full paths to all libraries.
-# ImageMagick_<component>_FOUND - TRUE if <component> is found.
-# ImageMagick_<component>_INCLUDE_DIRS - Full path to <component> include dirs.
-# ImageMagick_<component>_LIBRARIES - Full path to <component> libraries.
+# ::
+#
+# ImageMagick_FOUND - TRUE if all components are found.
+# ImageMagick_INCLUDE_DIRS - Full paths to all include dirs.
+# ImageMagick_LIBRARIES - Full paths to all libraries.
+# ImageMagick_<component>_FOUND - TRUE if <component> is found.
+# ImageMagick_<component>_INCLUDE_DIRS - Full path to <component> include dirs.
+# ImageMagick_<component>_LIBRARIES - Full path to <component> libraries.
+#
+#
#
# Example Usages:
-# find_package(ImageMagick)
-# find_package(ImageMagick COMPONENTS convert)
-# find_package(ImageMagick COMPONENTS convert mogrify display)
-# find_package(ImageMagick COMPONENTS Magick++)
-# find_package(ImageMagick COMPONENTS Magick++ convert)
-#
-# Note that the standard FIND_PACKAGE features are supported
-# (i.e., QUIET, REQUIRED, etc.).
+#
+# ::
+#
+# find_package(ImageMagick)
+# find_package(ImageMagick COMPONENTS convert)
+# find_package(ImageMagick COMPONENTS convert mogrify display)
+# find_package(ImageMagick COMPONENTS Magick++)
+# find_package(ImageMagick COMPONENTS Magick++ convert)
+#
+#
+#
+# Note that the standard FIND_PACKAGE features are supported (i.e.,
+# QUIET, REQUIRED, etc.).
#=============================================================================
# Copyright 2007-2009 Kitware, Inc.
diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake
index 9d708ca..6a496af 100644
--- a/Modules/FindJNI.cmake
+++ b/Modules/FindJNI.cmake
@@ -1,17 +1,26 @@
-# - Find JNI java libraries.
+#.rst:
+# FindJNI
+# -------
+#
+# Find JNI java libraries.
+#
# This module finds if Java is installed and determines where the
-# include files and libraries are. It also determines what the name of
-# the library is. This code sets the following variables:
+# include files and libraries are. It also determines what the name of
+# the library is. The caller may set variable JAVA_HOME to specify a
+# Java installation prefix explicitly.
#
-# JNI_INCLUDE_DIRS = the include dirs to use
-# JNI_LIBRARIES = the libraries to use
-# JNI_FOUND = TRUE if JNI headers and libraries were found.
-# JAVA_AWT_LIBRARY = the path to the jawt library
-# JAVA_JVM_LIBRARY = the path to the jvm library
-# JAVA_INCLUDE_PATH = the include path to jni.h
-# JAVA_INCLUDE_PATH2 = the include path to jni_md.h
-# JAVA_AWT_INCLUDE_PATH = the include path to jawt.h
+# This module sets the following result variables:
#
+# ::
+#
+# JNI_INCLUDE_DIRS = the include dirs to use
+# JNI_LIBRARIES = the libraries to use
+# JNI_FOUND = TRUE if JNI headers and libraries were found.
+# JAVA_AWT_LIBRARY = the path to the jawt library
+# JAVA_JVM_LIBRARY = the path to the jvm library
+# JAVA_INCLUDE_PATH = the include path to jni.h
+# JAVA_INCLUDE_PATH2 = the include path to jni_md.h
+# JAVA_AWT_INCLUDE_PATH = the include path to jawt.h
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.
@@ -33,7 +42,7 @@ macro(java_append_library_directories _var)
# 1.6.0_18 + icedtea patches. However, it would be much better to base the
# guess on the first part of the GNU config.guess platform triplet.
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
- set(_java_libarch "amd64")
+ set(_java_libarch "amd64" "i386")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^i.86$")
set(_java_libarch "i386")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^alpha")
@@ -45,8 +54,10 @@ macro(java_append_library_directories _var)
# mips* machines are bi-endian mostly so processor does not tell
# endianess of the underlying system.
set(_java_libarch "${CMAKE_SYSTEM_PROCESSOR}" "mips" "mipsel" "mipseb")
+ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)64le")
+ set(_java_libarch "ppc64le")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)64")
- set(_java_libarch "ppc64")
+ set(_java_libarch "ppc64" "ppc")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(powerpc|ppc)")
set(_java_libarch "ppc")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^sparc")
@@ -85,22 +96,37 @@ macro(java_append_library_directories _var)
endforeach()
endmacro()
+include(${CMAKE_CURRENT_LIST_DIR}/CMakeFindJavaCommon.cmake)
+
+# Save CMAKE_FIND_FRAMEWORK
+if(DEFINED CMAKE_FIND_FRAMEWORK)
+ set(_JNI_CMAKE_FIND_FRAMEWORK ${CMAKE_FIND_FRAMEWORK})
+else()
+ unset(_JNI_CMAKE_FIND_FRAMEWORK)
+endif()
+
+if(_JAVA_HOME_EXPLICIT)
+ set(CMAKE_FIND_FRAMEWORK NEVER)
+endif()
+
+set(JAVA_AWT_LIBRARY_DIRECTORIES)
+if(_JAVA_HOME)
+ JAVA_APPEND_LIBRARY_DIRECTORIES(JAVA_AWT_LIBRARY_DIRECTORIES
+ ${_JAVA_HOME}/jre/lib/{libarch}
+ ${_JAVA_HOME}/jre/lib
+ ${_JAVA_HOME}/lib
+ ${_JAVA_HOME}
+ )
+endif()
get_filename_component(java_install_version
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit;CurrentVersion]" NAME)
-set(JAVA_AWT_LIBRARY_DIRECTORIES
+list(APPEND JAVA_AWT_LIBRARY_DIRECTORIES
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.4;JavaHome]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\${java_install_version};JavaHome]/lib"
)
-
-file(TO_CMAKE_PATH "$ENV{JAVA_HOME}" _JAVA_HOME)
-
JAVA_APPEND_LIBRARY_DIRECTORIES(JAVA_AWT_LIBRARY_DIRECTORIES
- ${_JAVA_HOME}/jre/lib/{libarch}
- ${_JAVA_HOME}/jre/lib
- ${_JAVA_HOME}/lib
- ${_JAVA_HOME}
/usr/lib
/usr/local/lib
/usr/lib/jvm/java/lib
@@ -129,20 +155,21 @@ JAVA_APPEND_LIBRARY_DIRECTORIES(JAVA_AWT_LIBRARY_DIRECTORIES
set(JAVA_JVM_LIBRARY_DIRECTORIES)
foreach(dir ${JAVA_AWT_LIBRARY_DIRECTORIES})
- set(JAVA_JVM_LIBRARY_DIRECTORIES
- ${JAVA_JVM_LIBRARY_DIRECTORIES}
+ list(APPEND JAVA_JVM_LIBRARY_DIRECTORIES
"${dir}"
"${dir}/client"
"${dir}/server"
)
endforeach()
-
-set(JAVA_AWT_INCLUDE_DIRECTORIES
+set(JAVA_AWT_INCLUDE_DIRECTORIES)
+if(_JAVA_HOME)
+ list(APPEND JAVA_AWT_INCLUDE_DIRECTORIES ${_JAVA_HOME}/include)
+endif()
+list(APPEND JAVA_AWT_INCLUDE_DIRECTORIES
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.4;JavaHome]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\${java_install_version};JavaHome]/include"
- ${_JAVA_HOME}/include
/usr/include
/usr/local/include
/usr/lib/java/include
@@ -167,7 +194,7 @@ foreach(JAVA_PROG "${JAVA_RUNTIME}" "${JAVA_COMPILE}" "${JAVA_ARCHIVE}")
get_filename_component(jpath "${JAVA_PROG}" PATH)
foreach(JAVA_INC_PATH ../include ../java/include ../share/java/include)
if(EXISTS ${jpath}/${JAVA_INC_PATH})
- set(JAVA_AWT_INCLUDE_DIRECTORIES ${JAVA_AWT_INCLUDE_DIRECTORIES} "${jpath}/${JAVA_INC_PATH}")
+ list(APPEND JAVA_AWT_INCLUDE_DIRECTORIES "${jpath}/${JAVA_INC_PATH}")
endif()
endforeach()
foreach(JAVA_LIB_PATH
@@ -175,54 +202,55 @@ foreach(JAVA_PROG "${JAVA_RUNTIME}" "${JAVA_COMPILE}" "${JAVA_ARCHIVE}")
../java/lib ../java/jre/lib ../java/jre/lib/i386
../share/java/lib ../share/java/jre/lib ../share/java/jre/lib/i386)
if(EXISTS ${jpath}/${JAVA_LIB_PATH})
- set(JAVA_AWT_LIBRARY_DIRECTORIES ${JAVA_AWT_LIBRARY_DIRECTORIES} "${jpath}/${JAVA_LIB_PATH}")
+ list(APPEND JAVA_AWT_LIBRARY_DIRECTORIES "${jpath}/${JAVA_LIB_PATH}")
endif()
endforeach()
endforeach()
if(APPLE)
- if(EXISTS ~/Library/Frameworks/JavaVM.framework)
- set(JAVA_HAVE_FRAMEWORK 1)
- endif()
- if(EXISTS /Library/Frameworks/JavaVM.framework)
- set(JAVA_HAVE_FRAMEWORK 1)
+ if(CMAKE_FIND_FRAMEWORK STREQUAL "ONLY")
+ set(_JNI_SEARCHES FRAMEWORK)
+ elseif(CMAKE_FIND_FRAMEWORK STREQUAL "NEVER")
+ set(_JNI_SEARCHES NORMAL)
+ elseif(CMAKE_FIND_FRAMEWORK STREQUAL "LAST")
+ set(_JNI_SEARCHES NORMAL FRAMEWORK)
+ else()
+ set(_JNI_SEARCHES FRAMEWORK NORMAL)
endif()
- if(EXISTS /System/Library/Frameworks/JavaVM.framework)
- set(JAVA_HAVE_FRAMEWORK 1)
- endif()
-
- if(JAVA_HAVE_FRAMEWORK)
- if(NOT JAVA_AWT_LIBRARY)
- set (JAVA_AWT_LIBRARY "-framework JavaVM" CACHE FILEPATH "Java Frameworks" FORCE)
- endif()
+ set(_JNI_FRAMEWORK_JVM NAMES JavaVM)
+ set(_JNI_FRAMEWORK_JAWT "${_JNI_FRAMEWORK_JVM}")
+else()
+ set(_JNI_SEARCHES NORMAL)
+endif()
- if(NOT JAVA_JVM_LIBRARY)
- set (JAVA_JVM_LIBRARY "-framework JavaVM" CACHE FILEPATH "Java Frameworks" FORCE)
- endif()
+set(_JNI_NORMAL_JVM
+ NAMES jvm
+ PATHS ${JAVA_JVM_LIBRARY_DIRECTORIES}
+ )
- if(NOT JAVA_AWT_INCLUDE_PATH)
- if(EXISTS /System/Library/Frameworks/JavaVM.framework/Headers/jawt.h)
- set (JAVA_AWT_INCLUDE_PATH "/System/Library/Frameworks/JavaVM.framework/Headers" CACHE FILEPATH "jawt.h location" FORCE)
- endif()
- endif()
+set(_JNI_NORMAL_JAWT
+ NAMES jawt
+ PATHS ${JAVA_AWT_LIBRARY_DIRECTORIES}
+ )
- # If using "-framework JavaVM", prefer its headers *before* the others in
- # JAVA_AWT_INCLUDE_DIRECTORIES... (*prepend* to the list here)
- #
- set(JAVA_AWT_INCLUDE_DIRECTORIES
- ~/Library/Frameworks/JavaVM.framework/Headers
- /Library/Frameworks/JavaVM.framework/Headers
- /System/Library/Frameworks/JavaVM.framework/Headers
- ${JAVA_AWT_INCLUDE_DIRECTORIES}
- )
+foreach(search ${_JNI_SEARCHES})
+ find_library(JAVA_JVM_LIBRARY ${_JNI_${search}_JVM})
+ find_library(JAVA_AWT_LIBRARY ${_JNI_${search}_JAWT})
+ if(JAVA_JVM_LIBRARY)
+ break()
endif()
+endforeach()
+unset(_JNI_SEARCHES)
+unset(_JNI_FRAMEWORK_JVM)
+unset(_JNI_FRAMEWORK_JAWT)
+unset(_JNI_NORMAL_JVM)
+unset(_JNI_NORMAL_JAWT)
+
+# Find headers matching the library.
+if("${JAVA_JVM_LIBRARY};${JAVA_AWT_LIBRARY};" MATCHES "(/JavaVM.framework|-framework JavaVM);")
+ set(CMAKE_FIND_FRAMEWORK ONLY)
else()
- find_library(JAVA_AWT_LIBRARY jawt
- PATHS ${JAVA_AWT_LIBRARY_DIRECTORIES}
- )
- find_library(JAVA_JVM_LIBRARY NAMES jvm JavaVM
- PATHS ${JAVA_JVM_LIBRARY_DIRECTORIES}
- )
+ set(CMAKE_FIND_FRAMEWORK NEVER)
endif()
# add in the include path
@@ -232,6 +260,7 @@ find_path(JAVA_INCLUDE_PATH jni.h
find_path(JAVA_INCLUDE_PATH2 jni_md.h
${JAVA_INCLUDE_PATH}
+ ${JAVA_INCLUDE_PATH}/darwin
${JAVA_INCLUDE_PATH}/win32
${JAVA_INCLUDE_PATH}/linux
${JAVA_INCLUDE_PATH}/freebsd
@@ -245,6 +274,14 @@ find_path(JAVA_AWT_INCLUDE_PATH jawt.h
${JAVA_INCLUDE_PATH}
)
+# Restore CMAKE_FIND_FRAMEWORK
+if(DEFINED _JNI_CMAKE_FIND_FRAMEWORK)
+ set(CMAKE_FIND_FRAMEWORK ${_JNI_CMAKE_FIND_FRAMEWORK})
+ unset(_JNI_CMAKE_FIND_FRAMEWORK)
+else()
+ unset(CMAKE_FIND_FRAMEWORK)
+endif()
+
include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(JNI DEFAULT_MSG JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY
JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
diff --git a/Modules/FindJPEG.cmake b/Modules/FindJPEG.cmake
index 7c1f0fd..90e4485 100644
--- a/Modules/FindJPEG.cmake
+++ b/Modules/FindJPEG.cmake
@@ -1,11 +1,22 @@
-# - Find JPEG
-# Find the native JPEG includes and library
-# This module defines
-# JPEG_INCLUDE_DIR, where to find jpeglib.h, etc.
-# JPEG_LIBRARIES, the libraries needed to use JPEG.
-# JPEG_FOUND, If false, do not try to use JPEG.
+#.rst:
+# FindJPEG
+# --------
+#
+# Find JPEG
+#
+# Find the native JPEG includes and library This module defines
+#
+# ::
+#
+# JPEG_INCLUDE_DIR, where to find jpeglib.h, etc.
+# JPEG_LIBRARIES, the libraries needed to use JPEG.
+# JPEG_FOUND, If false, do not try to use JPEG.
+#
# also defined, but not for general use are
-# JPEG_LIBRARY, where to find the JPEG library.
+#
+# ::
+#
+# JPEG_LIBRARY, where to find the JPEG library.
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.
diff --git a/Modules/FindJasper.cmake b/Modules/FindJasper.cmake
index 136056b..0f325f0 100644
--- a/Modules/FindJasper.cmake
+++ b/Modules/FindJasper.cmake
@@ -1,10 +1,17 @@
-# - Try to find the Jasper JPEG2000 library
+#.rst:
+# FindJasper
+# ----------
+#
+# Try to find the Jasper JPEG2000 library
+#
# Once done this will define
#
-# JASPER_FOUND - system has Jasper
-# JASPER_INCLUDE_DIR - the Jasper include directory
-# JASPER_LIBRARIES - the libraries needed to use Jasper
-# JASPER_VERSION_STRING - the version of Jasper found (since CMake 2.8.8)
+# ::
+#
+# JASPER_FOUND - system has Jasper
+# JASPER_INCLUDE_DIR - the Jasper include directory
+# JASPER_LIBRARIES - the libraries needed to use Jasper
+# JASPER_VERSION_STRING - the version of Jasper found (since CMake 2.8.8)
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
diff --git a/Modules/FindJava.cmake b/Modules/FindJava.cmake
index 2f02b7a..a488c46 100644
--- a/Modules/FindJava.cmake
+++ b/Modules/FindJava.cmake
@@ -1,46 +1,59 @@
-# - Find Java
+#.rst:
+# FindJava
+# --------
+#
+# Find Java
+#
# This module finds if Java is installed and determines where the
-# include files and libraries are. This code sets the following
-# variables:
-#
-# Java_JAVA_EXECUTABLE = the full path to the Java runtime
-# Java_JAVAC_EXECUTABLE = the full path to the Java compiler
-# Java_JAVAH_EXECUTABLE = the full path to the Java header generator
-# Java_JAVADOC_EXECUTABLE = the full path to the Java documention generator
-# Java_JAR_EXECUTABLE = the full path to the Java archiver
-# Java_VERSION_STRING = Version of the package found (java version), eg. 1.6.0_12
-# Java_VERSION_MAJOR = The major version of the package found.
-# Java_VERSION_MINOR = The minor version of the package found.
-# Java_VERSION_PATCH = The patch version of the package found.
-# Java_VERSION_TWEAK = The tweak version of the package found (after '_')
-# Java_VERSION = This is set to: $major.$minor.$patch(.$tweak)
+# include files and libraries are. The caller may set variable JAVA_HOME
+# to specify a Java installation prefix explicitly.
+#
+# This module sets the following result variables:
+#
+# ::
+#
+# Java_JAVA_EXECUTABLE = the full path to the Java runtime
+# Java_JAVAC_EXECUTABLE = the full path to the Java compiler
+# Java_JAVAH_EXECUTABLE = the full path to the Java header generator
+# Java_JAVADOC_EXECUTABLE = the full path to the Java documention generator
+# Java_JAR_EXECUTABLE = the full path to the Java archiver
+# Java_VERSION_STRING = Version of the package found (java version), eg. 1.6.0_12
+# Java_VERSION_MAJOR = The major version of the package found.
+# Java_VERSION_MINOR = The minor version of the package found.
+# Java_VERSION_PATCH = The patch version of the package found.
+# Java_VERSION_TWEAK = The tweak version of the package found (after '_')
+# Java_VERSION = This is set to: $major.$minor.$patch(.$tweak)
+#
+#
#
# The minimum required version of Java can be specified using the
-# standard CMake syntax, e.g. find_package(Java 1.5)
+# standard CMake syntax, e.g. find_package(Java 1.5)
#
-# NOTE: ${Java_VERSION} and ${Java_VERSION_STRING} are not guaranteed to be
-# identical. For example some java version may return:
-# Java_VERSION_STRING = 1.5.0_17
-# and
-# Java_VERSION = 1.5.0.17
+# NOTE: ${Java_VERSION} and ${Java_VERSION_STRING} are not guaranteed to
+# be identical. For example some java version may return:
+# Java_VERSION_STRING = 1.5.0_17 and Java_VERSION = 1.5.0.17
#
-# another example is the Java OEM, with:
-# Java_VERSION_STRING = 1.6.0-oem
-# and
-# Java_VERSION = 1.6.0
+# another example is the Java OEM, with: Java_VERSION_STRING = 1.6.0-oem
+# and Java_VERSION = 1.6.0
#
# For these components the following variables are set:
#
-# Java_FOUND - TRUE if all components are found.
-# Java_INCLUDE_DIRS - Full paths to all include dirs.
-# Java_LIBRARIES - Full paths to all libraries.
-# Java_<component>_FOUND - TRUE if <component> is found.
+# ::
+#
+# Java_FOUND - TRUE if all components are found.
+# Java_INCLUDE_DIRS - Full paths to all include dirs.
+# Java_LIBRARIES - Full paths to all libraries.
+# Java_<component>_FOUND - TRUE if <component> is found.
+#
+#
#
# Example Usages:
-# find_package(Java)
-# find_package(Java COMPONENTS Runtime)
-# find_package(Java COMPONENTS Development)
#
+# ::
+#
+# find_package(Java)
+# find_package(Java COMPONENTS Runtime)
+# find_package(Java COMPONENTS Development)
#=============================================================================
# Copyright 2002-2009 Kitware, Inc.
@@ -56,8 +69,14 @@
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
+include(${CMAKE_CURRENT_LIST_DIR}/CMakeFindJavaCommon.cmake)
+
# The HINTS option should only be used for values computed from the system.
-set(_JAVA_HINTS
+set(_JAVA_HINTS)
+if(_JAVA_HOME)
+ list(APPEND _JAVA_HINTS ${_JAVA_HOME}/bin)
+endif()
+list(APPEND _JAVA_HINTS
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\2.0;JavaHome]/bin"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.9;JavaHome]/bin"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.8;JavaHome]/bin"
@@ -66,7 +85,6 @@ set(_JAVA_HINTS
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.5;JavaHome]/bin"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.4;JavaHome]/bin"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/bin"
- $ENV{JAVA_HOME}/bin
)
# Hard-coded guesses should still go in PATHS. This ensures that the user
# environment can always override hard guesses.
@@ -100,7 +118,7 @@ if(Java_JAVA_EXECUTABLE)
if(${Java_FIND_REQUIRED})
message( FATAL_ERROR "Error executing java -version" )
else()
- message( STATUS "Warning, could not run java --version")
+ message( STATUS "Warning, could not run java -version")
endif()
else()
# extract major/minor version and patch level from "java -version" output
diff --git a/Modules/FindKDE3.cmake b/Modules/FindKDE3.cmake
index 70eccef..159e29c 100644
--- a/Modules/FindKDE3.cmake
+++ b/Modules/FindKDE3.cmake
@@ -1,64 +1,132 @@
-# - Find the KDE3 include and library dirs, KDE preprocessors and define a some macros
+#.rst:
+# FindKDE3
+# --------
+#
+# Find the KDE3 include and library dirs, KDE preprocessors and define a some macros
+#
+#
#
# This module defines the following variables:
-# KDE3_DEFINITIONS - compiler definitions required for compiling KDE software
-# KDE3_INCLUDE_DIR - the KDE include directory
-# KDE3_INCLUDE_DIRS - the KDE and the Qt include directory, for use with include_directories()
-# KDE3_LIB_DIR - the directory where the KDE libraries are installed, for use with link_directories()
-# QT_AND_KDECORE_LIBS - this contains both the Qt and the kdecore library
-# KDE3_DCOPIDL_EXECUTABLE - the dcopidl executable
-# KDE3_DCOPIDL2CPP_EXECUTABLE - the dcopidl2cpp executable
-# KDE3_KCFGC_EXECUTABLE - the kconfig_compiler executable
-# KDE3_FOUND - set to TRUE if all of the above has been found
+#
+# ::
+#
+# KDE3_DEFINITIONS - compiler definitions required for compiling KDE software
+# KDE3_INCLUDE_DIR - the KDE include directory
+# KDE3_INCLUDE_DIRS - the KDE and the Qt include directory, for use with include_directories()
+# KDE3_LIB_DIR - the directory where the KDE libraries are installed, for use with link_directories()
+# QT_AND_KDECORE_LIBS - this contains both the Qt and the kdecore library
+# KDE3_DCOPIDL_EXECUTABLE - the dcopidl executable
+# KDE3_DCOPIDL2CPP_EXECUTABLE - the dcopidl2cpp executable
+# KDE3_KCFGC_EXECUTABLE - the kconfig_compiler executable
+# KDE3_FOUND - set to TRUE if all of the above has been found
+#
+#
#
# The following user adjustable options are provided:
#
-# KDE3_BUILD_TESTS - enable this to build KDE testcases
+# ::
+#
+# KDE3_BUILD_TESTS - enable this to build KDE testcases
+#
+#
+#
+#
+#
+# It also adds the following macros (from KDE3Macros.cmake) SRCS_VAR is
+# always the variable which contains the list of source files for your
+# application or library.
+#
+# KDE3_AUTOMOC(file1 ... fileN)
+#
+# ::
+#
+# Call this if you want to have automatic moc file handling.
+# This means if you include "foo.moc" in the source file foo.cpp
+# a moc file for the header foo.h will be created automatically.
+# You can set the property SKIP_AUTOMAKE using set_source_files_properties()
+# to exclude some files in the list from being processed.
+#
+#
+#
+# KDE3_ADD_MOC_FILES(SRCS_VAR file1 ... fileN )
+#
+# ::
+#
+# If you don't use the KDE3_AUTOMOC() macro, for the files
+# listed here moc files will be created (named "foo.moc.cpp")
+#
+#
+#
+# KDE3_ADD_DCOP_SKELS(SRCS_VAR header1.h ... headerN.h )
+#
+# ::
+#
+# Use this to generate DCOP skeletions from the listed headers.
#
#
-# It also adds the following macros (from KDE3Macros.cmake)
-# SRCS_VAR is always the variable which contains the list of source files for your application or library.
#
-# KDE3_AUTOMOC(file1 ... fileN)
-# Call this if you want to have automatic moc file handling.
-# This means if you include "foo.moc" in the source file foo.cpp
-# a moc file for the header foo.h will be created automatically.
-# You can set the property SKIP_AUTOMAKE using set_source_files_properties()
-# to exclude some files in the list from being processed.
+# KDE3_ADD_DCOP_STUBS(SRCS_VAR header1.h ... headerN.h )
#
-# KDE3_ADD_MOC_FILES(SRCS_VAR file1 ... fileN )
-# If you don't use the KDE3_AUTOMOC() macro, for the files
-# listed here moc files will be created (named "foo.moc.cpp")
+# ::
#
-# KDE3_ADD_DCOP_SKELS(SRCS_VAR header1.h ... headerN.h )
-# Use this to generate DCOP skeletions from the listed headers.
+# Use this to generate DCOP stubs from the listed headers.
#
-# KDE3_ADD_DCOP_STUBS(SRCS_VAR header1.h ... headerN.h )
-# Use this to generate DCOP stubs from the listed headers.
#
-# KDE3_ADD_UI_FILES(SRCS_VAR file1.ui ... fileN.ui )
-# Use this to add the Qt designer ui files to your application/library.
#
-# KDE3_ADD_KCFG_FILES(SRCS_VAR file1.kcfgc ... fileN.kcfgc )
-# Use this to add KDE kconfig compiler files to your application/library.
+# KDE3_ADD_UI_FILES(SRCS_VAR file1.ui ... fileN.ui )
+#
+# ::
+#
+# Use this to add the Qt designer ui files to your application/library.
+#
+#
+#
+# KDE3_ADD_KCFG_FILES(SRCS_VAR file1.kcfgc ... fileN.kcfgc )
+#
+# ::
+#
+# Use this to add KDE kconfig compiler files to your application/library.
+#
+#
#
# KDE3_INSTALL_LIBTOOL_FILE(target)
-# This will create and install a simple libtool file for the given target.
#
-# KDE3_ADD_EXECUTABLE(name file1 ... fileN )
-# Currently identical to add_executable(), may provide some advanced features in the future.
+# ::
+#
+# This will create and install a simple libtool file for the given target.
+#
+#
+#
+# KDE3_ADD_EXECUTABLE(name file1 ... fileN )
+#
+# ::
+#
+# Currently identical to add_executable(), may provide some advanced features in the future.
+#
+#
+#
+# KDE3_ADD_KPART(name [WITH_PREFIX] file1 ... fileN )
+#
+# ::
+#
+# Create a KDE plugin (KPart, kioslave, etc.) from the given source files.
+# If WITH_PREFIX is given, the resulting plugin will have the prefix "lib", otherwise it won't.
+# It creates and installs an appropriate libtool la-file.
+#
+#
+#
+# KDE3_ADD_KDEINIT_EXECUTABLE(name file1 ... fileN )
+#
+# ::
+#
+# Create a KDE application in the form of a module loadable via kdeinit.
+# A library named kdeinit_<name> will be created and a small executable which links to it.
+#
#
-# KDE3_ADD_KPART(name [WITH_PREFIX] file1 ... fileN )
-# Create a KDE plugin (KPart, kioslave, etc.) from the given source files.
-# If WITH_PREFIX is given, the resulting plugin will have the prefix "lib", otherwise it won't.
-# It creates and installs an appropriate libtool la-file.
#
-# KDE3_ADD_KDEINIT_EXECUTABLE(name file1 ... fileN )
-# Create a KDE application in the form of a module loadable via kdeinit.
-# A library named kdeinit_<name> will be created and a small executable which links to it.
+# The option KDE3_ENABLE_FINAL to enable all-in-one compilation is no
+# longer supported.
#
-# The option KDE3_ENABLE_FINAL to enable all-in-one compilation is
-# no longer supported.
#
#
# Author: Alexander Neundorf <neundorf@kde.org>
diff --git a/Modules/FindKDE4.cmake b/Modules/FindKDE4.cmake
index c653a04..3c2c309 100644
--- a/Modules/FindKDE4.cmake
+++ b/Modules/FindKDE4.cmake
@@ -1,11 +1,24 @@
-# Find KDE4 and provide all necessary variables and macros to compile software for it.
-# It looks for KDE 4 in the following directories in the given order:
-# CMAKE_INSTALL_PREFIX
-# KDEDIRS
-# /opt/kde4
+#.rst:
+# FindKDE4
+# --------
#
-# Please look in FindKDE4Internal.cmake and KDE4Macros.cmake for more information.
-# They are installed with the KDE 4 libraries in $KDEDIRS/share/apps/cmake/modules/.
+#
+#
+# Find KDE4 and provide all necessary variables and macros to compile
+# software for it. It looks for KDE 4 in the following directories in
+# the given order:
+#
+# ::
+#
+# CMAKE_INSTALL_PREFIX
+# KDEDIRS
+# /opt/kde4
+#
+#
+#
+# Please look in FindKDE4Internal.cmake and KDE4Macros.cmake for more
+# information. They are installed with the KDE 4 libraries in
+# $KDEDIRS/share/apps/cmake/modules/.
#
# Author: Alexander Neundorf <neundorf@kde.org>
diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake
index 3167850..69da4cd 100644
--- a/Modules/FindLAPACK.cmake
+++ b/Modules/FindLAPACK.cmake
@@ -1,27 +1,37 @@
-# - Find LAPACK library
-# This module finds an installed fortran library that implements the LAPACK
-# linear-algebra interface (see http://www.netlib.org/lapack/).
+#.rst:
+# FindLAPACK
+# ----------
#
-# The approach follows that taken for the autoconf macro file, acx_lapack.m4
-# (distributed at http://ac-archive.sourceforge.net/ac-archive/acx_lapack.html).
+# Find LAPACK library
+#
+# This module finds an installed fortran library that implements the
+# LAPACK linear-algebra interface (see http://www.netlib.org/lapack/).
+#
+# The approach follows that taken for the autoconf macro file,
+# acx_lapack.m4 (distributed at
+# http://ac-archive.sourceforge.net/ac-archive/acx_lapack.html).
#
# This module sets the following variables:
-# LAPACK_FOUND - set to true if a library implementing the LAPACK interface
-# is found
-# LAPACK_LINKER_FLAGS - uncached list of required linker flags (excluding -l
-# and -L).
-# LAPACK_LIBRARIES - uncached list of libraries (using full path name) to
-# link against to use LAPACK
-# LAPACK95_LIBRARIES - uncached list of libraries (using full path name) to
-# link against to use LAPACK95
-# LAPACK95_FOUND - set to true if a library implementing the LAPACK f95
-# interface is found
-# BLA_STATIC if set on this determines what kind of linkage we do (static)
-# BLA_VENDOR if set checks only the specified vendor, if not set checks
-# all the possibilities
-# BLA_F95 if set on tries to find the f95 interfaces for BLAS/LAPACK
-### List of vendors (BLA_VENDOR) valid in this module
-## Intel(mkl), ACML,Apple, NAS, Generic
+#
+# ::
+#
+# LAPACK_FOUND - set to true if a library implementing the LAPACK interface
+# is found
+# LAPACK_LINKER_FLAGS - uncached list of required linker flags (excluding -l
+# and -L).
+# LAPACK_LIBRARIES - uncached list of libraries (using full path name) to
+# link against to use LAPACK
+# LAPACK95_LIBRARIES - uncached list of libraries (using full path name) to
+# link against to use LAPACK95
+# LAPACK95_FOUND - set to true if a library implementing the LAPACK f95
+# interface is found
+# BLA_STATIC if set on this determines what kind of linkage we do (static)
+# BLA_VENDOR if set checks only the specified vendor, if not set checks
+# all the possibilities
+# BLA_F95 if set on tries to find the f95 interfaces for BLAS/LAPACK
+#
+# ## List of vendors (BLA_VENDOR) valid in this module # Intel(mkl),
+# ACML,Apple, NAS, Generic
#=============================================================================
# Copyright 2007-2009 Kitware, Inc.
@@ -229,57 +239,61 @@ if (BLA_VENDOR MATCHES "Intel*" OR BLA_VENDOR STREQUAL "All")
else()
find_package(Threads REQUIRED)
endif()
+
+ set(LAPACK_SEARCH_LIBS "")
+
if (BLA_F95)
- if(NOT LAPACK95_LIBRARIES)
- # old
- check_lapack_libraries(
- LAPACK95_LIBRARIES
- LAPACK
- cheev
- ""
- "mkl_lapack95"
- "${BLAS95_LIBRARIES}"
- "${CMAKE_THREAD_LIBS_INIT};${LM}"
- )
- endif()
- if(NOT LAPACK95_LIBRARIES)
- # new >= 10.3
- check_lapack_libraries(
- LAPACK95_LIBRARIES
- LAPACK
- CHEEV
- ""
- "mkl_intel_lp64"
- "${BLAS95_LIBRARIES}"
- "${CMAKE_THREAD_LIBS_INIT};${LM}"
- )
- endif()
+ set(LAPACK_mkl_SEARCH_SYMBOL "CHEEV")
+ set(_LIBRARIES LAPACK95_LIBRARIES)
+ set(_BLAS_LIBRARIES ${BLAS95_LIBRARIES})
+
+ # old
+ list(APPEND LAPACK_SEARCH_LIBS
+ "mkl_lapack95")
+ # new >= 10.3
+ list(APPEND LAPACK_SEARCH_LIBS
+ "mkl_intel_c")
+ list(APPEND LAPACK_SEARCH_LIBS
+ "mkl_intel_lp64")
else()
- if(NOT LAPACK_LIBRARIES)
- # old
- check_lapack_libraries(
- LAPACK_LIBRARIES
- LAPACK
- cheev
- ""
- "mkl_lapack"
- "${BLAS_LIBRARIES}"
- "${CMAKE_THREAD_LIBS_INIT};${LM}"
- )
- endif()
- if(NOT LAPACK_LIBRARIES)
- # new >= 10.3
+ set(LAPACK_mkl_SEARCH_SYMBOL "cheev")
+ set(_LIBRARIES LAPACK_LIBRARIES)
+ set(_BLAS_LIBRARIES ${BLAS_LIBRARIES})
+
+ # old
+ list(APPEND LAPACK_SEARCH_LIBS
+ "mkl_lapack")
+ # new >= 10.3
+ list(APPEND LAPACK_SEARCH_LIBS
+ "mkl_gf_lp64")
+ endif()
+
+ # First try empty lapack libs
+ if (NOT ${_LIBRARIES})
+ check_lapack_libraries(
+ ${_LIBRARIES}
+ BLAS
+ ${LAPACK_mkl_SEARCH_SYMBOL}
+ ""
+ ""
+ "${_BLAS_LIBRARIES}"
+ "${CMAKE_THREAD_LIBS_INIT};${LM}"
+ )
+ endif ()
+ # Then try the search libs
+ foreach (IT ${LAPACK_SEARCH_LIBS})
+ if (NOT ${_LIBRARIES})
check_lapack_libraries(
- LAPACK_LIBRARIES
- LAPACK
- cheev
+ ${_LIBRARIES}
+ BLAS
+ ${LAPACK_mkl_SEARCH_SYMBOL}
""
- "mkl_gf_lp64"
- "${BLAS_LIBRARIES}"
+ "${IT}"
+ "${_BLAS_LIBRARIES}"
"${CMAKE_THREAD_LIBS_INIT};${LM}"
)
- endif()
- endif()
+ endif ()
+ endforeach ()
endif ()
endif()
else()
diff --git a/Modules/FindLATEX.cmake b/Modules/FindLATEX.cmake
index bc752a9..62eedd6 100644
--- a/Modules/FindLATEX.cmake
+++ b/Modules/FindLATEX.cmake
@@ -1,15 +1,21 @@
-# - Find Latex
+#.rst:
+# FindLATEX
+# ---------
+#
+# Find Latex
+#
# This module finds if Latex is installed and determines where the
-# executables are. This code sets the following variables:
+# executables are. This code sets the following variables:
#
-# LATEX_COMPILER: path to the LaTeX compiler
-# PDFLATEX_COMPILER: path to the PdfLaTeX compiler
-# BIBTEX_COMPILER: path to the BibTeX compiler
-# MAKEINDEX_COMPILER: path to the MakeIndex compiler
-# DVIPS_CONVERTER: path to the DVIPS converter
-# PS2PDF_CONVERTER: path to the PS2PDF converter
-# LATEX2HTML_CONVERTER: path to the LaTeX2Html converter
+# ::
#
+# LATEX_COMPILER: path to the LaTeX compiler
+# PDFLATEX_COMPILER: path to the PdfLaTeX compiler
+# BIBTEX_COMPILER: path to the BibTeX compiler
+# MAKEINDEX_COMPILER: path to the MakeIndex compiler
+# DVIPS_CONVERTER: path to the DVIPS converter
+# PS2PDF_CONVERTER: path to the PS2PDF converter
+# LATEX2HTML_CONVERTER: path to the LaTeX2Html converter
#=============================================================================
# Copyright 2002-2009 Kitware, Inc.
@@ -98,8 +104,9 @@ find_program(DVIPDF_CONVERTER
if (WIN32)
find_program(PS2PDF_CONVERTER
- NAMES ps2pdf14.bat
+ NAMES ps2pdf14.bat ps2pdf
PATHS ${GHOSTSCRIPT_LIBRARY_PATH}
+ ${MIKTEX_BINARY_PATH}
)
else ()
find_program(PS2PDF_CONVERTER
diff --git a/Modules/FindLibArchive.cmake b/Modules/FindLibArchive.cmake
index be931c5..471a4f1 100644
--- a/Modules/FindLibArchive.cmake
+++ b/Modules/FindLibArchive.cmake
@@ -1,10 +1,17 @@
-# - Find libarchive library and headers
+#.rst:
+# FindLibArchive
+# --------------
+#
+# Find libarchive library and headers
+#
# The module defines the following variables:
#
-# LibArchive_FOUND - true if libarchive was found
-# LibArchive_INCLUDE_DIRS - include search path
-# LibArchive_LIBRARIES - libraries to link
-# LibArchive_VERSION - libarchive 3-component version number
+# ::
+#
+# LibArchive_FOUND - true if libarchive was found
+# LibArchive_INCLUDE_DIRS - include search path
+# LibArchive_LIBRARIES - libraries to link
+# LibArchive_VERSION - libarchive 3-component version number
#=============================================================================
# Copyright 2010 Kitware, Inc.
diff --git a/Modules/FindLibLZMA.cmake b/Modules/FindLibLZMA.cmake
index 837e633..be01594 100644
--- a/Modules/FindLibLZMA.cmake
+++ b/Modules/FindLibLZMA.cmake
@@ -1,16 +1,23 @@
-# - Find LibLZMA
+#.rst:
+# FindLibLZMA
+# -----------
+#
+# Find LibLZMA
+#
# Find LibLZMA headers and library
#
-# LIBLZMA_FOUND - True if liblzma is found.
-# LIBLZMA_INCLUDE_DIRS - Directory where liblzma headers are located.
-# LIBLZMA_LIBRARIES - Lzma libraries to link against.
-# LIBLZMA_HAS_AUTO_DECODER - True if lzma_auto_decoder() is found (required).
-# LIBLZMA_HAS_EASY_ENCODER - True if lzma_easy_encoder() is found (required).
-# LIBLZMA_HAS_LZMA_PRESET - True if lzma_lzma_preset() is found (required).
-# LIBLZMA_VERSION_MAJOR - The major version of lzma
-# LIBLZMA_VERSION_MINOR - The minor version of lzma
-# LIBLZMA_VERSION_PATCH - The patch version of lzma
-# LIBLZMA_VERSION_STRING - version number as a string (ex: "5.0.3")
+# ::
+#
+# LIBLZMA_FOUND - True if liblzma is found.
+# LIBLZMA_INCLUDE_DIRS - Directory where liblzma headers are located.
+# LIBLZMA_LIBRARIES - Lzma libraries to link against.
+# LIBLZMA_HAS_AUTO_DECODER - True if lzma_auto_decoder() is found (required).
+# LIBLZMA_HAS_EASY_ENCODER - True if lzma_easy_encoder() is found (required).
+# LIBLZMA_HAS_LZMA_PRESET - True if lzma_lzma_preset() is found (required).
+# LIBLZMA_VERSION_MAJOR - The major version of lzma
+# LIBLZMA_VERSION_MINOR - The minor version of lzma
+# LIBLZMA_VERSION_PATCH - The patch version of lzma
+# LIBLZMA_VERSION_STRING - version number as a string (ex: "5.0.3")
#=============================================================================
# Copyright 2008 Per Øyvind Karlsen <peroyvind@mandriva.org>
diff --git a/Modules/FindLibXml2.cmake b/Modules/FindLibXml2.cmake
index 858496e..7322428 100644
--- a/Modules/FindLibXml2.cmake
+++ b/Modules/FindLibXml2.cmake
@@ -1,12 +1,19 @@
-# - Try to find the LibXml2 xml processing library
+#.rst:
+# FindLibXml2
+# -----------
+#
+# Try to find the LibXml2 xml processing library
+#
# Once done this will define
#
-# LIBXML2_FOUND - System has LibXml2
-# LIBXML2_INCLUDE_DIR - The LibXml2 include directory
-# LIBXML2_LIBRARIES - The libraries needed to use LibXml2
-# LIBXML2_DEFINITIONS - Compiler switches required for using LibXml2
-# LIBXML2_XMLLINT_EXECUTABLE - The XML checking tool xmllint coming with LibXml2
-# LIBXML2_VERSION_STRING - the version of LibXml2 found (since CMake 2.8.8)
+# ::
+#
+# LIBXML2_FOUND - System has LibXml2
+# LIBXML2_INCLUDE_DIR - The LibXml2 include directory
+# LIBXML2_LIBRARIES - The libraries needed to use LibXml2
+# LIBXML2_DEFINITIONS - Compiler switches required for using LibXml2
+# LIBXML2_XMLLINT_EXECUTABLE - The XML checking tool xmllint coming with LibXml2
+# LIBXML2_VERSION_STRING - the version of LibXml2 found (since CMake 2.8.8)
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
diff --git a/Modules/FindLibXslt.cmake b/Modules/FindLibXslt.cmake
index 7d142f4..bf2f821 100644
--- a/Modules/FindLibXslt.cmake
+++ b/Modules/FindLibXslt.cmake
@@ -1,14 +1,26 @@
-# - Try to find the LibXslt library
+#.rst:
+# FindLibXslt
+# -----------
+#
+# Try to find the LibXslt library
+#
# Once done this will define
#
-# LIBXSLT_FOUND - system has LibXslt
-# LIBXSLT_INCLUDE_DIR - the LibXslt include directory
-# LIBXSLT_LIBRARIES - Link these to LibXslt
-# LIBXSLT_DEFINITIONS - Compiler switches required for using LibXslt
-# LIBXSLT_VERSION_STRING - version of LibXslt found (since CMake 2.8.8)
-# Additionally, the following two variables are set (but not required for using xslt):
-# LIBXSLT_EXSLT_LIBRARIES - Link to these if you need to link against the exslt library
-# LIBXSLT_XSLTPROC_EXECUTABLE - Contains the full path to the xsltproc executable if found
+# ::
+#
+# LIBXSLT_FOUND - system has LibXslt
+# LIBXSLT_INCLUDE_DIR - the LibXslt include directory
+# LIBXSLT_LIBRARIES - Link these to LibXslt
+# LIBXSLT_DEFINITIONS - Compiler switches required for using LibXslt
+# LIBXSLT_VERSION_STRING - version of LibXslt found (since CMake 2.8.8)
+#
+# Additionally, the following two variables are set (but not required
+# for using xslt):
+#
+# ::
+#
+# LIBXSLT_EXSLT_LIBRARIES - Link to these if you need to link against the exslt library
+# LIBXSLT_XSLTPROC_EXECUTABLE - Contains the full path to the xsltproc executable if found
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
diff --git a/Modules/FindLua.cmake b/Modules/FindLua.cmake
new file mode 100644
index 0000000..cc35e54
--- /dev/null
+++ b/Modules/FindLua.cmake
@@ -0,0 +1,171 @@
+#.rst:
+# FindLua
+# -------
+#
+#
+#
+# Locate Lua library This module defines
+#
+# ::
+#
+# LUA_FOUND - if false, do not try to link to Lua
+# LUA_LIBRARIES - both lua and lualib
+# LUA_INCLUDE_DIR - where to find lua.h
+# LUA_VERSION_STRING - the version of Lua found
+# LUA_VERSION_MAJOR - the major version of Lua
+# LUA_VERSION_MINOR - the minor version of Lua
+# LUA_VERSION_PATCH - the patch version of Lua
+#
+#
+#
+# Note that the expected include convention is
+#
+# ::
+#
+# #include "lua.h"
+#
+# and not
+#
+# ::
+#
+# #include <lua/lua.h>
+#
+# This is because, the lua location is not standardized and may exist in
+# locations other than lua/
+
+#=============================================================================
+# Copyright 2007-2009 Kitware, Inc.
+# Copyright 2013 Rolf Eike Beer <eike@sf-mail.de>
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distribute this file outside of CMake, substitute the full
+# License text for the above reference.)
+
+unset(_lua_include_subdirs)
+unset(_lua_library_names)
+
+# this is a function only to have all the variables inside go away automatically
+function(set_lua_version_vars)
+ set(LUA_VERSIONS5 5.3 5.2 5.1 5.0)
+
+ if (Lua_FIND_VERSION_EXACT)
+ if (Lua_FIND_VERSION_COUNT GREATER 1)
+ set(lua_append_versions ${Lua_FIND_VERSION_MAJOR} ${Lua_FIND_VERSION_MINOR})
+ endif ()
+ elseif (Lua_FIND_VERSION)
+ # once there is a different major version supported this should become a loop
+ if (NOT Lua_FIND_VERSION_MAJOR GREATER 5)
+ if (Lua_FIND_VERSION_COUNT EQUAL 1)
+ set(lua_append_versions ${LUA_VERSIONS5})
+ else ()
+ foreach (subver IN LISTS LUA_VERSIONS5)
+ if (NOT subver VERSION_LESS ${Lua_FIND_VERSION})
+ list(APPEND lua_append_versions ${subver})
+ endif ()
+ endforeach ()
+ endif ()
+ endif ()
+ else ()
+ # once there is a different major version supported this should become a loop
+ set(lua_append_versions ${LUA_VERSIONS5})
+ endif ()
+
+ foreach (ver IN LISTS lua_append_versions)
+ string(REGEX MATCH "^([0-9]+)\\.([0-9]+)$" _ver "${ver}")
+ list(APPEND _lua_include_subdirs
+ include/lua${CMAKE_MATCH_1}${CMAKE_MATCH_2}
+ include/lua${CMAKE_MATCH_1}.${CMAKE_MATCH_2}
+ include/lua-${CMAKE_MATCH_1}.${CMAKE_MATCH_2}
+ )
+ list(APPEND _lua_library_names
+ lua${CMAKE_MATCH_1}${CMAKE_MATCH_2}
+ lua${CMAKE_MATCH_1}.${CMAKE_MATCH_2}
+ lua-${CMAKE_MATCH_1}.${CMAKE_MATCH_2}
+ )
+ endforeach ()
+
+ set(_lua_include_subdirs "${_lua_include_subdirs}" PARENT_SCOPE)
+ set(_lua_library_names "${_lua_library_names}" PARENT_SCOPE)
+endfunction(set_lua_version_vars)
+
+set_lua_version_vars()
+
+find_path(LUA_INCLUDE_DIR lua.h
+ HINTS
+ ENV LUA_DIR
+ PATH_SUFFIXES ${_lua_include_subdirs} include/lua include
+ PATHS
+ ~/Library/Frameworks
+ /Library/Frameworks
+ /sw # Fink
+ /opt/local # DarwinPorts
+ /opt/csw # Blastwave
+ /opt
+)
+unset(_lua_include_subdirs)
+
+find_library(LUA_LIBRARY
+ NAMES ${_lua_library_names} lua
+ HINTS
+ ENV LUA_DIR
+ PATH_SUFFIXES lib
+ PATHS
+ ~/Library/Frameworks
+ /Library/Frameworks
+ /sw
+ /opt/local
+ /opt/csw
+ /opt
+)
+unset(_lua_library_names)
+
+if (LUA_LIBRARY)
+ # include the math library for Unix
+ if (UNIX AND NOT APPLE AND NOT BEOS)
+ find_library(LUA_MATH_LIBRARY m)
+ set(LUA_LIBRARIES "${LUA_LIBRARY};${LUA_MATH_LIBRARY}")
+ # For Windows and Mac, don't need to explicitly include the math library
+ else ()
+ set(LUA_LIBRARIES "${LUA_LIBRARY}")
+ endif ()
+endif ()
+
+if (LUA_INCLUDE_DIR AND EXISTS "${LUA_INCLUDE_DIR}/lua.h")
+ # At least 5.[012] have different ways to express the version
+ # so all of them need to be tested. Lua 5.2 defines LUA_VERSION
+ # and LUA_RELEASE as joined by the C preprocessor, so avoid those.
+ file(STRINGS "${LUA_INCLUDE_DIR}/lua.h" lua_version_strings
+ REGEX "^#define[ \t]+LUA_(RELEASE[ \t]+\"Lua [0-9]|VERSION([ \t]+\"Lua [0-9]|_[MR])).*")
+
+ string(REGEX REPLACE ".*;#define[ \t]+LUA_VERSION_MAJOR[ \t]+\"([0-9])\"[ \t]*;.*" "\\1" LUA_VERSION_MAJOR ";${lua_version_strings};")
+ if (LUA_VERSION_MAJOR MATCHES "^[0-9]+$")
+ string(REGEX REPLACE ".*;#define[ \t]+LUA_VERSION_MINOR[ \t]+\"([0-9])\"[ \t]*;.*" "\\1" LUA_VERSION_MINOR ";${lua_version_strings};")
+ string(REGEX REPLACE ".*;#define[ \t]+LUA_VERSION_RELEASE[ \t]+\"([0-9])\"[ \t]*;.*" "\\1" LUA_VERSION_PATCH ";${lua_version_strings};")
+ set(LUA_VERSION_STRING "${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}.${LUA_VERSION_PATCH}")
+ else ()
+ string(REGEX REPLACE ".*;#define[ \t]+LUA_RELEASE[ \t]+\"Lua ([0-9.]+)\"[ \t]*;.*" "\\1" LUA_VERSION_STRING ";${lua_version_strings};")
+ if (NOT LUA_VERSION_STRING MATCHES "^[0-9.]+$")
+ string(REGEX REPLACE ".*;#define[ \t]+LUA_VERSION[ \t]+\"Lua ([0-9.]+)\"[ \t]*;.*" "\\1" LUA_VERSION_STRING ";${lua_version_strings};")
+ endif ()
+ string(REGEX REPLACE "^([0-9]+)\\.[0-9.]*$" "\\1" LUA_VERSION_MAJOR "${LUA_VERSION_STRING}")
+ string(REGEX REPLACE "^[0-9]+\\.([0-9]+)[0-9.]*$" "\\1" LUA_VERSION_MINOR "${LUA_VERSION_STRING}")
+ string(REGEX REPLACE "^[0-9]+\\.[0-9]+\\.([0-9]).*" "\\1" LUA_VERSION_PATCH "${LUA_VERSION_STRING}")
+ endif ()
+
+ unset(lua_version_strings)
+endif()
+
+include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
+# handle the QUIETLY and REQUIRED arguments and set LUA_FOUND to TRUE if
+# all listed variables are TRUE
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(Lua
+ REQUIRED_VARS LUA_LIBRARIES LUA_INCLUDE_DIR
+ VERSION_VAR LUA_VERSION_STRING)
+
+mark_as_advanced(LUA_INCLUDE_DIR LUA_LIBRARY LUA_MATH_LIBRARY)
diff --git a/Modules/FindLua50.cmake b/Modules/FindLua50.cmake
index 0276a98..666d909 100644
--- a/Modules/FindLua50.cmake
+++ b/Modules/FindLua50.cmake
@@ -1,15 +1,33 @@
-# Locate Lua library
-# This module defines
-# LUA50_FOUND, if false, do not try to link to Lua
-# LUA_LIBRARIES, both lua and lualib
-# LUA_INCLUDE_DIR, where to find lua.h and lualib.h (and probably lauxlib.h)
+#.rst:
+# FindLua50
+# ---------
+#
+#
+#
+# Locate Lua library This module defines
+#
+# ::
+#
+# LUA50_FOUND, if false, do not try to link to Lua
+# LUA_LIBRARIES, both lua and lualib
+# LUA_INCLUDE_DIR, where to find lua.h and lualib.h (and probably lauxlib.h)
+#
+#
#
# Note that the expected include convention is
-# #include "lua.h"
+#
+# ::
+#
+# #include "lua.h"
+#
# and not
-# #include <lua/lua.h>
-# This is because, the lua location is not standardized and may exist
-# in locations other than lua/
+#
+# ::
+#
+# #include <lua/lua.h>
+#
+# This is because, the lua location is not standardized and may exist in
+# locations other than lua/
#=============================================================================
# Copyright 2007-2009 Kitware, Inc.
diff --git a/Modules/FindLua51.cmake b/Modules/FindLua51.cmake
index a2bf0c0..5b9ff91 100644
--- a/Modules/FindLua51.cmake
+++ b/Modules/FindLua51.cmake
@@ -1,16 +1,34 @@
-# Locate Lua library
-# This module defines
-# LUA51_FOUND, if false, do not try to link to Lua
-# LUA_LIBRARIES
-# LUA_INCLUDE_DIR, where to find lua.h
-# LUA_VERSION_STRING, the version of Lua found (since CMake 2.8.8)
+#.rst:
+# FindLua51
+# ---------
+#
+#
+#
+# Locate Lua library This module defines
+#
+# ::
+#
+# LUA51_FOUND, if false, do not try to link to Lua
+# LUA_LIBRARIES
+# LUA_INCLUDE_DIR, where to find lua.h
+# LUA_VERSION_STRING, the version of Lua found (since CMake 2.8.8)
+#
+#
#
# Note that the expected include convention is
-# #include "lua.h"
+#
+# ::
+#
+# #include "lua.h"
+#
# and not
-# #include <lua/lua.h>
-# This is because, the lua location is not standardized and may exist
-# in locations other than lua/
+#
+# ::
+#
+# #include <lua/lua.h>
+#
+# This is because, the lua location is not standardized and may exist in
+# locations other than lua/
#=============================================================================
# Copyright 2007-2009 Kitware, Inc.
@@ -54,7 +72,7 @@ find_library(LUA_LIBRARY
if(LUA_LIBRARY)
# include the math library for Unix
- if(UNIX AND NOT APPLE AND NOT BEOS)
+ if(UNIX AND NOT APPLE AND NOT BEOS AND NOT HAIKU)
find_library(LUA_MATH_LIBRARY m)
set( LUA_LIBRARIES "${LUA_LIBRARY};${LUA_MATH_LIBRARY}" CACHE STRING "Lua Libraries")
# For Windows and Mac, don't need to explicitly include the math library
diff --git a/Modules/FindMFC.cmake b/Modules/FindMFC.cmake
index 4ff7586..261ebdb 100644
--- a/Modules/FindMFC.cmake
+++ b/Modules/FindMFC.cmake
@@ -1,7 +1,16 @@
-# - Find MFC on Windows
-# Find the native MFC - i.e. decide if an application can link to the MFC
-# libraries.
-# MFC_FOUND - Was MFC support found
+#.rst:
+# FindMFC
+# -------
+#
+# Find MFC on Windows
+#
+# Find the native MFC - i.e. decide if an application can link to the
+# MFC libraries.
+#
+# ::
+#
+# MFC_FOUND - Was MFC support found
+#
# You don't need to include anything or link anything to use it.
#=============================================================================
diff --git a/Modules/FindMPEG.cmake b/Modules/FindMPEG.cmake
index f99f87b..26ee8dd 100644
--- a/Modules/FindMPEG.cmake
+++ b/Modules/FindMPEG.cmake
@@ -1,11 +1,23 @@
-# - Find the native MPEG includes and library
+#.rst:
+# FindMPEG
+# --------
+#
+# Find the native MPEG includes and library
+#
# This module defines
-# MPEG_INCLUDE_DIR, where to find MPEG.h, etc.
-# MPEG_LIBRARIES, the libraries required to use MPEG.
-# MPEG_FOUND, If false, do not try to use MPEG.
+#
+# ::
+#
+# MPEG_INCLUDE_DIR, where to find MPEG.h, etc.
+# MPEG_LIBRARIES, the libraries required to use MPEG.
+# MPEG_FOUND, If false, do not try to use MPEG.
+#
# also defined, but not for general use are
-# MPEG_mpeg2_LIBRARY, where to find the MPEG library.
-# MPEG_vo_LIBRARY, where to find the vo library.
+#
+# ::
+#
+# MPEG_mpeg2_LIBRARY, where to find the MPEG library.
+# MPEG_vo_LIBRARY, where to find the vo library.
#=============================================================================
# Copyright 2002-2009 Kitware, Inc.
diff --git a/Modules/FindMPEG2.cmake b/Modules/FindMPEG2.cmake
index fc01c4c..f2f2076 100644
--- a/Modules/FindMPEG2.cmake
+++ b/Modules/FindMPEG2.cmake
@@ -1,11 +1,23 @@
-# - Find the native MPEG2 includes and library
+#.rst:
+# FindMPEG2
+# ---------
+#
+# Find the native MPEG2 includes and library
+#
# This module defines
-# MPEG2_INCLUDE_DIR, path to mpeg2dec/mpeg2.h, etc.
-# MPEG2_LIBRARIES, the libraries required to use MPEG2.
-# MPEG2_FOUND, If false, do not try to use MPEG2.
+#
+# ::
+#
+# MPEG2_INCLUDE_DIR, path to mpeg2dec/mpeg2.h, etc.
+# MPEG2_LIBRARIES, the libraries required to use MPEG2.
+# MPEG2_FOUND, If false, do not try to use MPEG2.
+#
# also defined, but not for general use are
-# MPEG2_mpeg2_LIBRARY, where to find the MPEG2 library.
-# MPEG2_vo_LIBRARY, where to find the vo library.
+#
+# ::
+#
+# MPEG2_mpeg2_LIBRARY, where to find the MPEG2 library.
+# MPEG2_vo_LIBRARY, where to find the vo library.
#=============================================================================
# Copyright 2003-2009 Kitware, Inc.
diff --git a/Modules/FindMPI.cmake b/Modules/FindMPI.cmake
index 0eb86a8..c8d46ba 100644
--- a/Modules/FindMPI.cmake
+++ b/Modules/FindMPI.cmake
@@ -1,64 +1,88 @@
-# - Find a Message Passing Interface (MPI) implementation
+#.rst:
+# FindMPI
+# -------
+#
+# Find a Message Passing Interface (MPI) implementation
+#
# The Message Passing Interface (MPI) is a library used to write
-# high-performance distributed-memory parallel applications, and
-# is typically deployed on a cluster. MPI is a standard interface
-# (defined by the MPI forum) for which many implementations are
-# available. All of them have somewhat different include paths,
-# libraries to link against, etc., and this module tries to smooth
-# out those differences.
+# high-performance distributed-memory parallel applications, and is
+# typically deployed on a cluster. MPI is a standard interface (defined
+# by the MPI forum) for which many implementations are available. All
+# of them have somewhat different include paths, libraries to link
+# against, etc., and this module tries to smooth out those differences.
#
# === Variables ===
#
-# This module will set the following variables per language in your project,
-# where <lang> is one of C, CXX, or Fortran:
-# MPI_<lang>_FOUND TRUE if FindMPI found MPI flags for <lang>
-# MPI_<lang>_COMPILER MPI Compiler wrapper for <lang>
-# MPI_<lang>_COMPILE_FLAGS Compilation flags for MPI programs
-# MPI_<lang>_INCLUDE_PATH Include path(s) for MPI header
-# MPI_<lang>_LINK_FLAGS Linking flags for MPI programs
-# MPI_<lang>_LIBRARIES All libraries to link MPI programs against
+# This module will set the following variables per language in your
+# project, where <lang> is one of C, CXX, or Fortran:
+#
+# ::
+#
+# MPI_<lang>_FOUND TRUE if FindMPI found MPI flags for <lang>
+# MPI_<lang>_COMPILER MPI Compiler wrapper for <lang>
+# MPI_<lang>_COMPILE_FLAGS Compilation flags for MPI programs
+# MPI_<lang>_INCLUDE_PATH Include path(s) for MPI header
+# MPI_<lang>_LINK_FLAGS Linking flags for MPI programs
+# MPI_<lang>_LIBRARIES All libraries to link MPI programs against
+#
# Additionally, FindMPI sets the following variables for running MPI
# programs from the command line:
-# MPIEXEC Executable for running MPI programs
-# MPIEXEC_NUMPROC_FLAG Flag to pass to MPIEXEC before giving
-# it the number of processors to run on
-# MPIEXEC_PREFLAGS Flags to pass to MPIEXEC directly
-# before the executable to run.
-# MPIEXEC_POSTFLAGS Flags to pass to MPIEXEC after other flags
+#
+# ::
+#
+# MPIEXEC Executable for running MPI programs
+# MPIEXEC_NUMPROC_FLAG Flag to pass to MPIEXEC before giving
+# it the number of processors to run on
+# MPIEXEC_PREFLAGS Flags to pass to MPIEXEC directly
+# before the executable to run.
+# MPIEXEC_POSTFLAGS Flags to pass to MPIEXEC after other flags
+#
# === Usage ===
#
# To use this module, simply call FindMPI from a CMakeLists.txt file, or
-# run find_package(MPI), then run CMake. If you are happy with the auto-
-# detected configuration for your language, then you're done. If not, you
-# have two options:
-# 1. Set MPI_<lang>_COMPILER to the MPI wrapper (mpicc, etc.) of your
-# choice and reconfigure. FindMPI will attempt to determine all the
-# necessary variables using THAT compiler's compile and link flags.
-# 2. If this fails, or if your MPI implementation does not come with
-# a compiler wrapper, then set both MPI_<lang>_LIBRARIES and
-# MPI_<lang>_INCLUDE_PATH. You may also set any other variables
-# listed above, but these two are required. This will circumvent
-# autodetection entirely.
-# When configuration is successful, MPI_<lang>_COMPILER will be set to the
-# compiler wrapper for <lang>, if it was found. MPI_<lang>_FOUND and other
-# variables above will be set if any MPI implementation was found for <lang>,
-# regardless of whether a compiler was found.
-#
-# When using MPIEXEC to execute MPI applications, you should typically use
-# all of the MPIEXEC flags as follows:
-# ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} PROCS
-# ${MPIEXEC_PREFLAGS} EXECUTABLE ${MPIEXEC_POSTFLAGS} ARGS
-# where PROCS is the number of processors on which to execute the program,
-# EXECUTABLE is the MPI program, and ARGS are the arguments to pass to the
-# MPI program.
+# run find_package(MPI), then run CMake. If you are happy with the
+# auto- detected configuration for your language, then you're done. If
+# not, you have two options:
+#
+# ::
+#
+# 1. Set MPI_<lang>_COMPILER to the MPI wrapper (mpicc, etc.) of your
+# choice and reconfigure. FindMPI will attempt to determine all the
+# necessary variables using THAT compiler's compile and link flags.
+# 2. If this fails, or if your MPI implementation does not come with
+# a compiler wrapper, then set both MPI_<lang>_LIBRARIES and
+# MPI_<lang>_INCLUDE_PATH. You may also set any other variables
+# listed above, but these two are required. This will circumvent
+# autodetection entirely.
+#
+# When configuration is successful, MPI_<lang>_COMPILER will be set to
+# the compiler wrapper for <lang>, if it was found. MPI_<lang>_FOUND
+# and other variables above will be set if any MPI implementation was
+# found for <lang>, regardless of whether a compiler was found.
+#
+# When using MPIEXEC to execute MPI applications, you should typically
+# use all of the MPIEXEC flags as follows:
+#
+# ::
+#
+# ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} PROCS
+# ${MPIEXEC_PREFLAGS} EXECUTABLE ${MPIEXEC_POSTFLAGS} ARGS
+#
+# where PROCS is the number of processors on which to execute the
+# program, EXECUTABLE is the MPI program, and ARGS are the arguments to
+# pass to the MPI program.
#
# === Backward Compatibility ===
#
# For backward compatibility with older versions of FindMPI, these
# variables are set, but deprecated:
-# MPI_FOUND MPI_COMPILER MPI_LIBRARY
-# MPI_COMPILE_FLAGS MPI_INCLUDE_PATH MPI_EXTRA_LIBRARY
-# MPI_LINK_FLAGS MPI_LIBRARIES
+#
+# ::
+#
+# MPI_FOUND MPI_COMPILER MPI_LIBRARY
+# MPI_COMPILE_FLAGS MPI_INCLUDE_PATH MPI_EXTRA_LIBRARY
+# MPI_LINK_FLAGS MPI_LIBRARIES
+#
# In new projects, please use the MPI_<lang>_XXX equivalents.
#=============================================================================
diff --git a/Modules/FindMatlab.cmake b/Modules/FindMatlab.cmake
index 8038488..474556e 100644
--- a/Modules/FindMatlab.cmake
+++ b/Modules/FindMatlab.cmake
@@ -1,10 +1,18 @@
-# - this module looks for Matlab
+#.rst:
+# FindMatlab
+# ----------
+#
+# this module looks for Matlab
+#
# Defines:
-# MATLAB_INCLUDE_DIR: include path for mex.h, engine.h
-# MATLAB_LIBRARIES: required libraries: libmex, etc
-# MATLAB_MEX_LIBRARY: path to libmex.lib
-# MATLAB_MX_LIBRARY: path to libmx.lib
-# MATLAB_ENG_LIBRARY: path to libeng.lib
+#
+# ::
+#
+# MATLAB_INCLUDE_DIR: include path for mex.h, engine.h
+# MATLAB_LIBRARIES: required libraries: libmex, etc
+# MATLAB_MEX_LIBRARY: path to libmex.lib
+# MATLAB_MX_LIBRARY: path to libmx.lib
+# MATLAB_ENG_LIBRARY: path to libeng.lib
#=============================================================================
# Copyright 2005-2009 Kitware, Inc.
diff --git a/Modules/FindMotif.cmake b/Modules/FindMotif.cmake
index 5065e3a..a08ece4 100644
--- a/Modules/FindMotif.cmake
+++ b/Modules/FindMotif.cmake
@@ -1,8 +1,16 @@
-# - Try to find Motif (or lesstif)
+#.rst:
+# FindMotif
+# ---------
+#
+# Try to find Motif (or lesstif)
+#
# Once done this will define:
-# MOTIF_FOUND - system has MOTIF
-# MOTIF_INCLUDE_DIR - include paths to use Motif
-# MOTIF_LIBRARIES - Link these to use Motif
+#
+# ::
+#
+# MOTIF_FOUND - system has MOTIF
+# MOTIF_INCLUDE_DIR - include paths to use Motif
+# MOTIF_LIBRARIES - Link these to use Motif
#=============================================================================
# Copyright 2005-2009 Kitware, Inc.
diff --git a/Modules/FindOpenAL.cmake b/Modules/FindOpenAL.cmake
index 78fd632..8150ff2 100644
--- a/Modules/FindOpenAL.cmake
+++ b/Modules/FindOpenAL.cmake
@@ -1,14 +1,18 @@
-# Locate OpenAL
-# This module defines
-# OPENAL_LIBRARY
-# OPENAL_FOUND, if false, do not try to link to OpenAL
-# OPENAL_INCLUDE_DIR, where to find the headers
+#.rst:
+# FindOpenAL
+# ----------
#
-# $OPENALDIR is an environment variable that would
-# correspond to the ./configure --prefix=$OPENALDIR
-# used in building OpenAL.
#
-# Created by Eric Wing. This was influenced by the FindSDL.cmake module.
+#
+# Locate OpenAL This module defines OPENAL_LIBRARY OPENAL_FOUND, if
+# false, do not try to link to OpenAL OPENAL_INCLUDE_DIR, where to find
+# the headers
+#
+# $OPENALDIR is an environment variable that would correspond to the
+# ./configure --prefix=$OPENALDIR used in building OpenAL.
+#
+# Created by Eric Wing. This was influenced by the FindSDL.cmake
+# module.
#=============================================================================
# Copyright 2005-2009 Kitware, Inc.
diff --git a/Modules/FindOpenGL.cmake b/Modules/FindOpenGL.cmake
index 83fcc3d..21c2198 100644
--- a/Modules/FindOpenGL.cmake
+++ b/Modules/FindOpenGL.cmake
@@ -1,19 +1,33 @@
-# - Try to find OpenGL
+#.rst:
+# FindOpenGL
+# ----------
+#
+# Try to find OpenGL
+#
# Once done this will define
#
-# OPENGL_FOUND - system has OpenGL
-# OPENGL_XMESA_FOUND - system has XMESA
-# OPENGL_GLU_FOUND - system has GLU
-# OPENGL_INCLUDE_DIR - the GL include directory
-# OPENGL_LIBRARIES - Link these to use OpenGL and GLU
+# ::
+#
+# OPENGL_FOUND - system has OpenGL
+# OPENGL_XMESA_FOUND - system has XMESA
+# OPENGL_GLU_FOUND - system has GLU
+# OPENGL_INCLUDE_DIR - the GL include directory
+# OPENGL_LIBRARIES - Link these to use OpenGL and GLU
+#
+#
#
# If you want to use just GL you can use these values
-# OPENGL_gl_LIBRARY - Path to OpenGL Library
-# OPENGL_glu_LIBRARY - Path to GLU Library
#
-# On OSX default to using the framework version of opengl
-# People will have to change the cache values of OPENGL_glu_LIBRARY
-# and OPENGL_gl_LIBRARY to use OpenGL with X11 on OSX
+# ::
+#
+# OPENGL_gl_LIBRARY - Path to OpenGL Library
+# OPENGL_glu_LIBRARY - Path to GLU Library
+#
+#
+#
+# On OSX default to using the framework version of opengl People will
+# have to change the cache values of OPENGL_glu_LIBRARY and
+# OPENGL_gl_LIBRARY to use OpenGL with X11 on OSX
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.
diff --git a/Modules/FindOpenMP.cmake b/Modules/FindOpenMP.cmake
index 8afad68..fead4a6 100644
--- a/Modules/FindOpenMP.cmake
+++ b/Modules/FindOpenMP.cmake
@@ -1,16 +1,27 @@
-# - Finds OpenMP support
-# This module can be used to detect OpenMP support in a compiler.
-# If the compiler supports OpenMP, the flags required to compile with
+#.rst:
+# FindOpenMP
+# ----------
+#
+# Finds OpenMP support
+#
+# This module can be used to detect OpenMP support in a compiler. If
+# the compiler supports OpenMP, the flags required to compile with
# OpenMP support are returned in variables for the different languages.
# The variables may be empty if the compiler does not need a special
# flag to support OpenMP.
#
# The following variables are set:
-# OpenMP_C_FLAGS - flags to add to the C compiler for OpenMP support
-# OpenMP_CXX_FLAGS - flags to add to the CXX compiler for OpenMP support
-# OPENMP_FOUND - true if openmp is detected
#
-# Supported compilers can be found at http://openmp.org/wp/openmp-compilers/
+# ::
+#
+# OpenMP_C_FLAGS - flags to add to the C compiler for OpenMP support
+# OpenMP_CXX_FLAGS - flags to add to the CXX compiler for OpenMP support
+# OPENMP_FOUND - true if openmp is detected
+#
+#
+#
+# Supported compilers can be found at
+# http://openmp.org/wp/openmp-compilers/
#=============================================================================
# Copyright 2009 Kitware, Inc.
diff --git a/Modules/FindOpenSSL.cmake b/Modules/FindOpenSSL.cmake
index 9851f67..340b417 100644
--- a/Modules/FindOpenSSL.cmake
+++ b/Modules/FindOpenSSL.cmake
@@ -1,13 +1,25 @@
-# - Try to find the OpenSSL encryption library
+#.rst:
+# FindOpenSSL
+# -----------
+#
+# Try to find the OpenSSL encryption library
+#
# Once done this will define
#
-# OPENSSL_ROOT_DIR - Set this variable to the root installation of OpenSSL
+# ::
+#
+# OPENSSL_ROOT_DIR - Set this variable to the root installation of OpenSSL
+#
+#
#
# Read-Only variables:
-# OPENSSL_FOUND - system has the OpenSSL library
-# OPENSSL_INCLUDE_DIR - the OpenSSL include directory
-# OPENSSL_LIBRARIES - The libraries needed to use OpenSSL
-# OPENSSL_VERSION - This is set to $major.$minor.$revision$path (eg. 0.9.8s)
+#
+# ::
+#
+# OPENSSL_FOUND - system has the OpenSSL library
+# OPENSSL_INCLUDE_DIR - the OpenSSL include directory
+# OPENSSL_LIBRARIES - The libraries needed to use OpenSSL
+# OPENSSL_VERSION - This is set to $major.$minor.$revision$path (eg. 0.9.8s)
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
@@ -47,10 +59,6 @@ if (WIN32)
"C:/OpenSSL-Win64/"
)
unset(_programfiles)
- set(_OPENSSL_ROOT_HINTS_AND_PATHS
- HINTS ${_OPENSSL_ROOT_HINTS}
- PATHS ${_OPENSSL_ROOT_PATHS}
- )
else ()
set(_OPENSSL_ROOT_HINTS
${OPENSSL_ROOT_DIR}
@@ -58,12 +66,17 @@ else ()
)
endif ()
+set(_OPENSSL_ROOT_HINTS_AND_PATHS
+ HINTS ${_OPENSSL_ROOT_HINTS}
+ PATHS ${_OPENSSL_ROOT_PATHS}
+ )
+
find_path(OPENSSL_INCLUDE_DIR
NAMES
openssl/ssl.h
+ ${_OPENSSL_ROOT_HINTS_AND_PATHS}
HINTS
${_OPENSSL_INCLUDEDIR}
- ${_OPENSSL_ROOT_HINTS_AND_PATHS}
PATH_SUFFIXES
include
)
@@ -138,6 +151,8 @@ if(WIN32 AND NOT CYGWIN)
select_library_configurations(LIB_EAY)
select_library_configurations(SSL_EAY)
+ mark_as_advanced(LIB_EAY_LIBRARY_DEBUG LIB_EAY_LIBRARY_RELEASE
+ SSL_EAY_LIBRARY_DEBUG SSL_EAY_LIBRARY_RELEASE)
set( OPENSSL_LIBRARIES ${SSL_EAY_LIBRARY} ${LIB_EAY_LIBRARY} )
elseif(MINGW)
# same player, for MinGW
@@ -174,9 +189,9 @@ if(WIN32 AND NOT CYGWIN)
find_library(LIB_EAY
NAMES
libeay32
+ ${_OPENSSL_ROOT_HINTS_AND_PATHS}
HINTS
${_OPENSSL_LIBDIR}
- ${_OPENSSL_ROOT_HINTS_AND_PATHS}
PATH_SUFFIXES
lib
)
@@ -184,9 +199,9 @@ if(WIN32 AND NOT CYGWIN)
find_library(SSL_EAY
NAMES
ssleay32
+ ${_OPENSSL_ROOT_HINTS_AND_PATHS}
HINTS
${_OPENSSL_LIBDIR}
- ${_OPENSSL_ROOT_HINTS_AND_PATHS}
PATH_SUFFIXES
lib
)
@@ -201,9 +216,9 @@ else()
ssl
ssleay32
ssleay32MD
+ ${_OPENSSL_ROOT_HINTS_AND_PATHS}
HINTS
${_OPENSSL_LIBDIR}
- ${_OPENSSL_ROOT_HINTS_AND_PATHS}
PATH_SUFFIXES
lib
)
@@ -211,9 +226,9 @@ else()
find_library(OPENSSL_CRYPTO_LIBRARY
NAMES
crypto
+ ${_OPENSSL_ROOT_HINTS_AND_PATHS}
HINTS
${_OPENSSL_LIBDIR}
- ${_OPENSSL_ROOT_HINTS_AND_PATHS}
PATH_SUFFIXES
lib
)
diff --git a/Modules/FindOpenSceneGraph.cmake b/Modules/FindOpenSceneGraph.cmake
index 7affca8..7bbd753 100644
--- a/Modules/FindOpenSceneGraph.cmake
+++ b/Modules/FindOpenSceneGraph.cmake
@@ -1,55 +1,98 @@
-# - Find OpenSceneGraph
-# This module searches for the OpenSceneGraph core "osg" library as well as
-# OpenThreads, and whatever additional COMPONENTS (nodekits) that you specify.
-# See http://www.openscenegraph.org
+#.rst:
+# FindOpenSceneGraph
+# ------------------
#
-# NOTE: To use this module effectively you must either require CMake >= 2.6.3
-# with cmake_minimum_required(VERSION 2.6.3) or download and place
-# FindOpenThreads.cmake, Findosg_functions.cmake, Findosg.cmake,
-# and Find<etc>.cmake files into your CMAKE_MODULE_PATH.
+# Find OpenSceneGraph
#
-#==================================
+# This module searches for the OpenSceneGraph core "osg" library as well
+# as OpenThreads, and whatever additional COMPONENTS (nodekits) that you
+# specify.
+#
+# ::
+#
+# See http://www.openscenegraph.org
+#
+#
+#
+# NOTE: To use this module effectively you must either require CMake >=
+# 2.6.3 with cmake_minimum_required(VERSION 2.6.3) or download and place
+# FindOpenThreads.cmake, Findosg_functions.cmake, Findosg.cmake, and
+# Find<etc>.cmake files into your CMAKE_MODULE_PATH.
+#
+# ==================================
#
# This module accepts the following variables (note mixed case)
#
-# OpenSceneGraph_DEBUG - Enable debugging output
+# ::
+#
+# OpenSceneGraph_DEBUG - Enable debugging output
+#
+#
+#
+# ::
+#
+# OpenSceneGraph_MARK_AS_ADVANCED - Mark cache variables as advanced
+# automatically
+#
+#
+#
+# The following environment variables are also respected for finding the
+# OSG and it's various components. CMAKE_PREFIX_PATH can also be used
+# for this (see find_library() CMake documentation).
+#
+# ::
#
-# OpenSceneGraph_MARK_AS_ADVANCED - Mark cache variables as advanced
-# automatically
+# <MODULE>_DIR (where MODULE is of the form "OSGVOLUME" and there is a FindosgVolume.cmake file)
+# OSG_DIR
+# OSGDIR
+# OSG_ROOT
#
-# The following environment variables are also respected for finding the OSG
-# and it's various components. CMAKE_PREFIX_PATH can also be used for this
-# (see find_library() CMake documentation).
#
-# <MODULE>_DIR (where MODULE is of the form "OSGVOLUME" and there is a FindosgVolume.cmake file)
-# OSG_DIR
-# OSGDIR
-# OSG_ROOT
#
-# [CMake 2.8.10]:
-# The CMake variable OSG_DIR can now be used as well to influence detection, instead of needing
-# to specify an environment variable.
+# [CMake 2.8.10]: The CMake variable OSG_DIR can now be used as well to
+# influence detection, instead of needing to specify an environment
+# variable.
#
# This module defines the following output variables:
#
-# OPENSCENEGRAPH_FOUND - Was the OSG and all of the specified components found?
+# ::
+#
+# OPENSCENEGRAPH_FOUND - Was the OSG and all of the specified components found?
+#
+#
+#
+# ::
+#
+# OPENSCENEGRAPH_VERSION - The version of the OSG which was found
+#
+#
+#
+# ::
+#
+# OPENSCENEGRAPH_INCLUDE_DIRS - Where to find the headers
+#
+#
+#
+# ::
+#
+# OPENSCENEGRAPH_LIBRARIES - The OSG libraries
+#
+#
#
-# OPENSCENEGRAPH_VERSION - The version of the OSG which was found
+# ================================== Example Usage:
#
-# OPENSCENEGRAPH_INCLUDE_DIRS - Where to find the headers
+# ::
#
-# OPENSCENEGRAPH_LIBRARIES - The OSG libraries
+# find_package(OpenSceneGraph 2.0.0 REQUIRED osgDB osgUtil)
+# # libOpenThreads & libosg automatically searched
+# include_directories(${OPENSCENEGRAPH_INCLUDE_DIRS})
#
-#==================================
-# Example Usage:
#
-# find_package(OpenSceneGraph 2.0.0 REQUIRED osgDB osgUtil)
-# # libOpenThreads & libosg automatically searched
-# include_directories(${OPENSCENEGRAPH_INCLUDE_DIRS})
#
-# add_executable(foo foo.cc)
-# target_link_libraries(foo ${OPENSCENEGRAPH_LIBRARIES})
+# ::
#
+# add_executable(foo foo.cc)
+# target_link_libraries(foo ${OPENSCENEGRAPH_LIBRARIES})
#=============================================================================
# Copyright 2009 Kitware, Inc.
diff --git a/Modules/FindOpenThreads.cmake b/Modules/FindOpenThreads.cmake
index e059960..69bab3d 100644
--- a/Modules/FindOpenThreads.cmake
+++ b/Modules/FindOpenThreads.cmake
@@ -1,23 +1,25 @@
-# OpenThreads is a C++ based threading library. Its largest userbase
+#.rst:
+# FindOpenThreads
+# ---------------
+#
+#
+#
+# OpenThreads is a C++ based threading library. Its largest userbase
# seems to OpenSceneGraph so you might notice I accept OSGDIR as an
-# environment path.
-# I consider this part of the Findosg* suite used to find OpenSceneGraph
-# components.
-# Each component is separate and you must opt in to each module.
+# environment path. I consider this part of the Findosg* suite used to
+# find OpenSceneGraph components. Each component is separate and you
+# must opt in to each module.
#
-# Locate OpenThreads
-# This module defines
-# OPENTHREADS_LIBRARY
+# Locate OpenThreads This module defines OPENTHREADS_LIBRARY
# OPENTHREADS_FOUND, if false, do not try to link to OpenThreads
# OPENTHREADS_INCLUDE_DIR, where to find the headers
#
-# $OPENTHREADS_DIR is an environment variable that would
-# correspond to the ./configure --prefix=$OPENTHREADS_DIR
-# used in building osg.
+# $OPENTHREADS_DIR is an environment variable that would correspond to
+# the ./configure --prefix=$OPENTHREADS_DIR used in building osg.
#
-# [CMake 2.8.10]:
-# The CMake variables OPENTHREADS_DIR or OSG_DIR can now be used as well to influence
-# detection, instead of needing to specify an environment variable.
+# [CMake 2.8.10]: The CMake variables OPENTHREADS_DIR or OSG_DIR can now
+# be used as well to influence detection, instead of needing to specify
+# an environment variable.
#
# Created by Eric Wing.
diff --git a/Modules/FindPHP4.cmake b/Modules/FindPHP4.cmake
index 4267ac1..25fff8c 100644
--- a/Modules/FindPHP4.cmake
+++ b/Modules/FindPHP4.cmake
@@ -1,11 +1,17 @@
-# - Find PHP4
-# This module finds if PHP4 is installed and determines where the include files
-# and libraries are. It also determines what the name of the library is. This
-# code sets the following variables:
+#.rst:
+# FindPHP4
+# --------
#
-# PHP4_INCLUDE_PATH = path to where php.h can be found
-# PHP4_EXECUTABLE = full path to the php4 binary
+# Find PHP4
#
+# This module finds if PHP4 is installed and determines where the
+# include files and libraries are. It also determines what the name of
+# the library is. This code sets the following variables:
+#
+# ::
+#
+# PHP4_INCLUDE_PATH = path to where php.h can be found
+# PHP4_EXECUTABLE = full path to the php4 binary
#=============================================================================
# Copyright 2004-2009 Kitware, Inc.
@@ -40,7 +46,7 @@ if(PHP4_FOUND_INCLUDE_PATH)
foreach(php4_path Zend main TSRM)
set(php4_paths ${php4_paths} "${PHP4_FOUND_INCLUDE_PATH}/${php4_path}")
endforeach()
- set(PHP4_INCLUDE_PATH "${php4_paths}" INTERNAL "PHP4 include paths")
+ set(PHP4_INCLUDE_PATH "${php4_paths}")
endif()
find_program(PHP4_EXECUTABLE NAMES php4 php )
diff --git a/Modules/FindPNG.cmake b/Modules/FindPNG.cmake
index a2577d2..873c3de 100644
--- a/Modules/FindPNG.cmake
+++ b/Modules/FindPNG.cmake
@@ -1,19 +1,34 @@
-# - Find the native PNG includes and library
+#.rst:
+# FindPNG
+# -------
+#
+# Find the native PNG includes and library
+#
+#
#
# This module searches libpng, the library for working with PNG images.
#
# It defines the following variables
-# PNG_INCLUDE_DIRS, where to find png.h, etc.
-# PNG_LIBRARIES, the libraries to link against to use PNG.
-# PNG_DEFINITIONS - You should add_definitons(${PNG_DEFINITIONS}) before compiling code that includes png library files.
-# PNG_FOUND, If false, do not try to use PNG.
-# PNG_VERSION_STRING - the version of the PNG library found (since CMake 2.8.8)
+#
+# ::
+#
+# PNG_INCLUDE_DIRS, where to find png.h, etc.
+# PNG_LIBRARIES, the libraries to link against to use PNG.
+# PNG_DEFINITIONS - You should add_definitons(${PNG_DEFINITIONS}) before compiling code that includes png library files.
+# PNG_FOUND, If false, do not try to use PNG.
+# PNG_VERSION_STRING - the version of the PNG library found (since CMake 2.8.8)
+#
# Also defined, but not for general use are
-# PNG_LIBRARY, where to find the PNG library.
-# For backward compatiblity the variable PNG_INCLUDE_DIR is also set. It has the same value as PNG_INCLUDE_DIRS.
#
-# Since PNG depends on the ZLib compression library, none of the above will be
-# defined unless ZLib can be found.
+# ::
+#
+# PNG_LIBRARY, where to find the PNG library.
+#
+# For backward compatiblity the variable PNG_INCLUDE_DIR is also set.
+# It has the same value as PNG_INCLUDE_DIRS.
+#
+# Since PNG depends on the ZLib compression library, none of the above
+# will be defined unless ZLib can be found.
#=============================================================================
# Copyright 2002-2009 Kitware, Inc.
diff --git a/Modules/FindPackageHandleStandardArgs.cmake b/Modules/FindPackageHandleStandardArgs.cmake
index 70423a7..d030418 100644
--- a/Modules/FindPackageHandleStandardArgs.cmake
+++ b/Modules/FindPackageHandleStandardArgs.cmake
@@ -1,89 +1,117 @@
-# FIND_PACKAGE_HANDLE_STANDARD_ARGS(<name> ... )
+#.rst:
+# FindPackageHandleStandardArgs
+# -----------------------------
+#
+#
+#
+# FIND_PACKAGE_HANDLE_STANDARD_ARGS(<name> ... )
#
# This function is intended to be used in FindXXX.cmake modules files.
-# It handles the REQUIRED, QUIET and version-related arguments to find_package().
-# It also sets the <packagename>_FOUND variable.
-# The package is considered found if all variables <var1>... listed contain
-# valid results, e.g. valid filepaths.
+# It handles the REQUIRED, QUIET and version-related arguments to
+# find_package(). It also sets the <packagename>_FOUND variable. The
+# package is considered found if all variables <var1>... listed contain
+# valid results, e.g. valid filepaths.
#
-# There are two modes of this function. The first argument in both modes is
-# the name of the Find-module where it is called (in original casing).
+# There are two modes of this function. The first argument in both
+# modes is the name of the Find-module where it is called (in original
+# casing).
#
# The first simple mode looks like this:
-# FIND_PACKAGE_HANDLE_STANDARD_ARGS(<name> (DEFAULT_MSG|"Custom failure message") <var1>...<varN> )
-# If the variables <var1> to <varN> are all valid, then <UPPERCASED_NAME>_FOUND
-# will be set to TRUE.
-# If DEFAULT_MSG is given as second argument, then the function will generate
-# itself useful success and error messages. You can also supply a custom error message
-# for the failure case. This is not recommended.
+#
+# ::
+#
+# FIND_PACKAGE_HANDLE_STANDARD_ARGS(<name> (DEFAULT_MSG|"Custom failure message") <var1>...<varN> )
+#
+# If the variables <var1> to <varN> are all valid, then
+# <UPPERCASED_NAME>_FOUND will be set to TRUE. If DEFAULT_MSG is given
+# as second argument, then the function will generate itself useful
+# success and error messages. You can also supply a custom error
+# message for the failure case. This is not recommended.
#
# The second mode is more powerful and also supports version checking:
-# FIND_PACKAGE_HANDLE_STANDARD_ARGS(NAME [FOUND_VAR <resultVar>]
-# [REQUIRED_VARS <var1>...<varN>]
-# [VERSION_VAR <versionvar>]
-# [HANDLE_COMPONENTS]
-# [CONFIG_MODE]
-# [FAIL_MESSAGE "Custom failure message"] )
-#
-# In this mode, the name of the result-variable can be set either to either
-# <UPPERCASED_NAME>_FOUND or <OriginalCase_Name>_FOUND using the FOUND_VAR option.
-# Other names for the result-variable are not allowed.
-# So for a Find-module named FindFooBar.cmake, the two possible names are
-# FooBar_FOUND and FOOBAR_FOUND. It is recommended to use the original case version.
-# If the FOUND_VAR option is not used, the default is <UPPERCASED_NAME>_FOUND.
+#
+# ::
+#
+# FIND_PACKAGE_HANDLE_STANDARD_ARGS(NAME [FOUND_VAR <resultVar>]
+# [REQUIRED_VARS <var1>...<varN>]
+# [VERSION_VAR <versionvar>]
+# [HANDLE_COMPONENTS]
+# [CONFIG_MODE]
+# [FAIL_MESSAGE "Custom failure message"] )
+#
+#
+#
+# In this mode, the name of the result-variable can be set either to
+# either <UPPERCASED_NAME>_FOUND or <OriginalCase_Name>_FOUND using the
+# FOUND_VAR option. Other names for the result-variable are not
+# allowed. So for a Find-module named FindFooBar.cmake, the two
+# possible names are FooBar_FOUND and FOOBAR_FOUND. It is recommended
+# to use the original case version. If the FOUND_VAR option is not
+# used, the default is <UPPERCASED_NAME>_FOUND.
#
# As in the simple mode, if <var1> through <varN> are all valid,
-# <packagename>_FOUND will be set to TRUE.
-# After REQUIRED_VARS the variables which are required for this package are listed.
-# Following VERSION_VAR the name of the variable can be specified which holds
-# the version of the package which has been found. If this is done, this version
-# will be checked against the (potentially) specified required version used
-# in the find_package() call. The EXACT keyword is also handled. The default
-# messages include information about the required version and the version
-# which has been actually found, both if the version is ok or not.
-# If the package supports components, use the HANDLE_COMPONENTS option to enable
-# handling them. In this case, find_package_handle_standard_args() will report
-# which components have been found and which are missing, and the <packagename>_FOUND
-# variable will be set to FALSE if any of the required components (i.e. not the
-# ones listed after OPTIONAL_COMPONENTS) are missing.
-# Use the option CONFIG_MODE if your FindXXX.cmake module is a wrapper for
-# a find_package(... NO_MODULE) call. In this case VERSION_VAR will be set
-# to <NAME>_VERSION and the macro will automatically check whether the
-# Config module was found.
-# Via FAIL_MESSAGE a custom failure message can be specified, if this is not
-# used, the default message will be displayed.
+# <packagename>_FOUND will be set to TRUE. After REQUIRED_VARS the
+# variables which are required for this package are listed. Following
+# VERSION_VAR the name of the variable can be specified which holds the
+# version of the package which has been found. If this is done, this
+# version will be checked against the (potentially) specified required
+# version used in the find_package() call. The EXACT keyword is also
+# handled. The default messages include information about the required
+# version and the version which has been actually found, both if the
+# version is ok or not. If the package supports components, use the
+# HANDLE_COMPONENTS option to enable handling them. In this case,
+# find_package_handle_standard_args() will report which components have
+# been found and which are missing, and the <packagename>_FOUND variable
+# will be set to FALSE if any of the required components (i.e. not the
+# ones listed after OPTIONAL_COMPONENTS) are missing. Use the option
+# CONFIG_MODE if your FindXXX.cmake module is a wrapper for a
+# find_package(... NO_MODULE) call. In this case VERSION_VAR will be
+# set to <NAME>_VERSION and the macro will automatically check whether
+# the Config module was found. Via FAIL_MESSAGE a custom failure
+# message can be specified, if this is not used, the default message
+# will be displayed.
#
# Example for mode 1:
#
-# find_package_handle_standard_args(LibXml2 DEFAULT_MSG LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
+# ::
+#
+# find_package_handle_standard_args(LibXml2 DEFAULT_MSG LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
+#
+#
#
# LibXml2 is considered to be found, if both LIBXML2_LIBRARY and
-# LIBXML2_INCLUDE_DIR are valid. Then also LIBXML2_FOUND is set to TRUE.
-# If it is not found and REQUIRED was used, it fails with FATAL_ERROR,
-# independent whether QUIET was used or not.
-# If it is found, success will be reported, including the content of <var1>.
-# On repeated Cmake runs, the same message won't be printed again.
+# LIBXML2_INCLUDE_DIR are valid. Then also LIBXML2_FOUND is set to
+# TRUE. If it is not found and REQUIRED was used, it fails with
+# FATAL_ERROR, independent whether QUIET was used or not. If it is
+# found, success will be reported, including the content of <var1>. On
+# repeated Cmake runs, the same message won't be printed again.
#
# Example for mode 2:
#
-# find_package_handle_standard_args(LibXslt FOUND_VAR LibXslt_FOUND
-# REQUIRED_VARS LibXslt_LIBRARIES LibXslt_INCLUDE_DIRS
-# VERSION_VAR LibXslt_VERSION_STRING)
-# In this case, LibXslt is considered to be found if the variable(s) listed
-# after REQUIRED_VAR are all valid, i.e. LibXslt_LIBRARIES and LibXslt_INCLUDE_DIRS
-# in this case. The result will then be stored in LibXslt_FOUND .
-# Also the version of LibXslt will be checked by using the version contained
-# in LibXslt_VERSION_STRING.
-# Since no FAIL_MESSAGE is given, the default messages will be printed.
+# ::
+#
+# find_package_handle_standard_args(LibXslt FOUND_VAR LibXslt_FOUND
+# REQUIRED_VARS LibXslt_LIBRARIES LibXslt_INCLUDE_DIRS
+# VERSION_VAR LibXslt_VERSION_STRING)
+#
+# In this case, LibXslt is considered to be found if the variable(s)
+# listed after REQUIRED_VAR are all valid, i.e. LibXslt_LIBRARIES and
+# LibXslt_INCLUDE_DIRS in this case. The result will then be stored in
+# LibXslt_FOUND . Also the version of LibXslt will be checked by using
+# the version contained in LibXslt_VERSION_STRING. Since no
+# FAIL_MESSAGE is given, the default messages will be printed.
#
# Another example for mode 2:
#
-# find_package(Automoc4 QUIET NO_MODULE HINTS /opt/automoc4)
-# find_package_handle_standard_args(Automoc4 CONFIG_MODE)
-# In this case, FindAutmoc4.cmake wraps a call to find_package(Automoc4 NO_MODULE)
-# and adds an additional search directory for automoc4.
-# Here the result will be stored in AUTOMOC4_FOUND.
-# The following FIND_PACKAGE_HANDLE_STANDARD_ARGS() call produces a proper
+# ::
+#
+# find_package(Automoc4 QUIET NO_MODULE HINTS /opt/automoc4)
+# find_package_handle_standard_args(Automoc4 CONFIG_MODE)
+#
+# In this case, FindAutmoc4.cmake wraps a call to find_package(Automoc4
+# NO_MODULE) and adds an additional search directory for automoc4. Here
+# the result will be stored in AUTOMOC4_FOUND. The following
+# FIND_PACKAGE_HANDLE_STANDARD_ARGS() call produces a proper
# success/error message.
#=============================================================================
diff --git a/Modules/FindPackageMessage.cmake b/Modules/FindPackageMessage.cmake
index 5cea43e..b6a58e4 100644
--- a/Modules/FindPackageMessage.cmake
+++ b/Modules/FindPackageMessage.cmake
@@ -1,22 +1,30 @@
+#.rst:
+# FindPackageMessage
+# ------------------
+#
+#
+#
# FIND_PACKAGE_MESSAGE(<name> "message for user" "find result details")
#
-# This macro is intended to be used in FindXXX.cmake modules files.
-# It will print a message once for each unique find result.
-# This is useful for telling the user where a package was found.
-# The first argument specifies the name (XXX) of the package.
-# The second argument specifies the message to display.
-# The third argument lists details about the find result so that
-# if they change the message will be displayed again.
-# The macro also obeys the QUIET argument to the find_package command.
+# This macro is intended to be used in FindXXX.cmake modules files. It
+# will print a message once for each unique find result. This is useful
+# for telling the user where a package was found. The first argument
+# specifies the name (XXX) of the package. The second argument
+# specifies the message to display. The third argument lists details
+# about the find result so that if they change the message will be
+# displayed again. The macro also obeys the QUIET argument to the
+# find_package command.
#
# Example:
#
-# if(X11_FOUND)
-# FIND_PACKAGE_MESSAGE(X11 "Found X11: ${X11_X11_LIB}"
-# "[${X11_X11_LIB}][${X11_INCLUDE_DIR}]")
-# else()
-# ...
-# endif()
+# ::
+#
+# if(X11_FOUND)
+# FIND_PACKAGE_MESSAGE(X11 "Found X11: ${X11_X11_LIB}"
+# "[${X11_X11_LIB}][${X11_INCLUDE_DIR}]")
+# else()
+# ...
+# endif()
#=============================================================================
# Copyright 2008-2009 Kitware, Inc.
diff --git a/Modules/FindPerl.cmake b/Modules/FindPerl.cmake
index 5eaf207..3fd5d8e 100644
--- a/Modules/FindPerl.cmake
+++ b/Modules/FindPerl.cmake
@@ -1,9 +1,16 @@
-# - Find perl
+#.rst:
+# FindPerl
+# --------
+#
+# Find perl
+#
# this module looks for Perl
#
-# PERL_EXECUTABLE - the full path to perl
-# PERL_FOUND - If false, don't attempt to use perl.
-# PERL_VERSION_STRING - version of perl found (since CMake 2.8.8)
+# ::
+#
+# PERL_EXECUTABLE - the full path to perl
+# PERL_FOUND - If false, don't attempt to use perl.
+# PERL_VERSION_STRING - version of perl found (since CMake 2.8.8)
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.
diff --git a/Modules/FindPerlLibs.cmake b/Modules/FindPerlLibs.cmake
index 492f047..54ccd24 100644
--- a/Modules/FindPerlLibs.cmake
+++ b/Modules/FindPerlLibs.cmake
@@ -1,27 +1,41 @@
-# - Find Perl libraries
-# This module finds if PERL is installed and determines where the include files
-# and libraries are. It also determines what the name of the library is. This
-# code sets the following variables:
+#.rst:
+# FindPerlLibs
+# ------------
+#
+# Find Perl libraries
+#
+# This module finds if PERL is installed and determines where the
+# include files and libraries are. It also determines what the name of
+# the library is. This code sets the following variables:
+#
+# ::
+#
+# PERLLIBS_FOUND = True if perl.h & libperl were found
+# PERL_INCLUDE_PATH = path to where perl.h is found
+# PERL_LIBRARY = path to libperl
+# PERL_EXECUTABLE = full path to the perl binary
+#
#
-# PERLLIBS_FOUND = True if perl.h & libperl were found
-# PERL_INCLUDE_PATH = path to where perl.h is found
-# PERL_LIBRARY = path to libperl
-# PERL_EXECUTABLE = full path to the perl binary
#
# The minimum required version of Perl can be specified using the
-# standard syntax, e.g. find_package(PerlLibs 6.0)
+# standard syntax, e.g. find_package(PerlLibs 6.0)
+#
+# ::
+#
+# The following variables are also available if needed
+# (introduced after CMake 2.6.4)
+#
#
-# The following variables are also available if needed
-# (introduced after CMake 2.6.4)
#
-# PERL_SITESEARCH = path to the sitesearch install dir
-# PERL_SITELIB = path to the sitelib install directory
-# PERL_VENDORARCH = path to the vendor arch install directory
-# PERL_VENDORLIB = path to the vendor lib install directory
-# PERL_ARCHLIB = path to the arch lib install directory
-# PERL_PRIVLIB = path to the priv lib install directory
-# PERL_EXTRA_C_FLAGS = Compilation flags used to build perl
+# ::
#
+# PERL_SITESEARCH = path to the sitesearch install dir
+# PERL_SITELIB = path to the sitelib install directory
+# PERL_VENDORARCH = path to the vendor arch install directory
+# PERL_VENDORLIB = path to the vendor lib install directory
+# PERL_ARCHLIB = path to the arch lib install directory
+# PERL_PRIVLIB = path to the priv lib install directory
+# PERL_EXTRA_C_FLAGS = Compilation flags used to build perl
#=============================================================================
# Copyright 2004-2009 Kitware, Inc.
diff --git a/Modules/FindPhysFS.cmake b/Modules/FindPhysFS.cmake
index a2d6abf..ff584c7 100644
--- a/Modules/FindPhysFS.cmake
+++ b/Modules/FindPhysFS.cmake
@@ -1,12 +1,15 @@
-# Locate PhysFS library
-# This module defines
-# PHYSFS_LIBRARY, the name of the library to link against
-# PHYSFS_FOUND, if false, do not try to link to PHYSFS
-# PHYSFS_INCLUDE_DIR, where to find physfs.h
+#.rst:
+# FindPhysFS
+# ----------
#
-# $PHYSFSDIR is an environment variable that would
-# correspond to the ./configure --prefix=$PHYSFSDIR
-# used in building PHYSFS.
+#
+#
+# Locate PhysFS library This module defines PHYSFS_LIBRARY, the name of
+# the library to link against PHYSFS_FOUND, if false, do not try to link
+# to PHYSFS PHYSFS_INCLUDE_DIR, where to find physfs.h
+#
+# $PHYSFSDIR is an environment variable that would correspond to the
+# ./configure --prefix=$PHYSFSDIR used in building PHYSFS.
#
# Created by Eric Wing.
diff --git a/Modules/FindPike.cmake b/Modules/FindPike.cmake
index 5b48ab4..2d6a03d 100644
--- a/Modules/FindPike.cmake
+++ b/Modules/FindPike.cmake
@@ -1,11 +1,17 @@
-# - Find Pike
-# This module finds if PIKE is installed and determines where the include files
-# and libraries are. It also determines what the name of the library is. This
-# code sets the following variables:
+#.rst:
+# FindPike
+# --------
#
-# PIKE_INCLUDE_PATH = path to where program.h is found
-# PIKE_EXECUTABLE = full path to the pike binary
+# Find Pike
#
+# This module finds if PIKE is installed and determines where the
+# include files and libraries are. It also determines what the name of
+# the library is. This code sets the following variables:
+#
+# ::
+#
+# PIKE_INCLUDE_PATH = path to where program.h is found
+# PIKE_EXECUTABLE = full path to the pike binary
#=============================================================================
# Copyright 2004-2009 Kitware, Inc.
diff --git a/Modules/FindPkgConfig.cmake b/Modules/FindPkgConfig.cmake
index 2766f97..e6fdefe 100644
--- a/Modules/FindPkgConfig.cmake
+++ b/Modules/FindPkgConfig.cmake
@@ -1,11 +1,26 @@
-# - a pkg-config module for CMake
+#.rst:
+# FindPkgConfig
+# -------------
+#
+# a pkg-config module for CMake
+#
+#
#
# Usage:
-# pkg_check_modules(<PREFIX> [REQUIRED] [QUIET] <MODULE> [<MODULE>]*)
-# checks for all the given modules
#
-# pkg_search_module(<PREFIX> [REQUIRED] [QUIET] <MODULE> [<MODULE>]*)
-# checks for given modules and uses the first working one
+# ::
+#
+# pkg_check_modules(<PREFIX> [REQUIRED] [QUIET] <MODULE> [<MODULE>]*)
+# checks for all the given modules
+#
+#
+#
+# ::
+#
+# pkg_search_module(<PREFIX> [REQUIRED] [QUIET] <MODULE> [<MODULE>]*)
+# checks for given modules and uses the first working one
+#
+#
#
# When the 'REQUIRED' argument was set, macros will fail with an error
# when module(s) could not be found
@@ -13,63 +28,110 @@
# When the 'QUIET' argument is set, no status messages will be printed.
#
# It sets the following variables:
-# PKG_CONFIG_FOUND ... if pkg-config executable was found
-# PKG_CONFIG_EXECUTABLE ... pathname of the pkg-config program
-# PKG_CONFIG_VERSION_STRING ... the version of the pkg-config program found
-# (since CMake 2.8.8)
+#
+# ::
+#
+# PKG_CONFIG_FOUND ... if pkg-config executable was found
+# PKG_CONFIG_EXECUTABLE ... pathname of the pkg-config program
+# PKG_CONFIG_VERSION_STRING ... the version of the pkg-config program found
+# (since CMake 2.8.8)
+#
+#
#
# For the following variables two sets of values exist; first one is the
-# common one and has the given PREFIX. The second set contains flags
+# common one and has the given PREFIX. The second set contains flags
# which are given out when pkgconfig was called with the '--static'
# option.
-# <XPREFIX>_FOUND ... set to 1 if module(s) exist
-# <XPREFIX>_LIBRARIES ... only the libraries (w/o the '-l')
-# <XPREFIX>_LIBRARY_DIRS ... the paths of the libraries (w/o the '-L')
-# <XPREFIX>_LDFLAGS ... all required linker flags
-# <XPREFIX>_LDFLAGS_OTHER ... all other linker flags
-# <XPREFIX>_INCLUDE_DIRS ... the '-I' preprocessor flags (w/o the '-I')
-# <XPREFIX>_CFLAGS ... all required cflags
-# <XPREFIX>_CFLAGS_OTHER ... the other compiler flags
-#
-# <XPREFIX> = <PREFIX> for common case
-# <XPREFIX> = <PREFIX>_STATIC for static linking
-#
-# There are some special variables whose prefix depends on the count
-# of given modules. When there is only one module, <PREFIX> stays
-# unchanged. When there are multiple modules, the prefix will be
+#
+# ::
+#
+# <XPREFIX>_FOUND ... set to 1 if module(s) exist
+# <XPREFIX>_LIBRARIES ... only the libraries (w/o the '-l')
+# <XPREFIX>_LIBRARY_DIRS ... the paths of the libraries (w/o the '-L')
+# <XPREFIX>_LDFLAGS ... all required linker flags
+# <XPREFIX>_LDFLAGS_OTHER ... all other linker flags
+# <XPREFIX>_INCLUDE_DIRS ... the '-I' preprocessor flags (w/o the '-I')
+# <XPREFIX>_CFLAGS ... all required cflags
+# <XPREFIX>_CFLAGS_OTHER ... the other compiler flags
+#
+#
+#
+# ::
+#
+# <XPREFIX> = <PREFIX> for common case
+# <XPREFIX> = <PREFIX>_STATIC for static linking
+#
+#
+#
+# There are some special variables whose prefix depends on the count of
+# given modules. When there is only one module, <PREFIX> stays
+# unchanged. When there are multiple modules, the prefix will be
# changed to <PREFIX>_<MODNAME>:
-# <XPREFIX>_VERSION ... version of the module
-# <XPREFIX>_PREFIX ... prefix-directory of the module
-# <XPREFIX>_INCLUDEDIR ... include-dir of the module
-# <XPREFIX>_LIBDIR ... lib-dir of the module
#
-# <XPREFIX> = <PREFIX> when |MODULES| == 1, else
-# <XPREFIX> = <PREFIX>_<MODNAME>
+# ::
+#
+# <XPREFIX>_VERSION ... version of the module
+# <XPREFIX>_PREFIX ... prefix-directory of the module
+# <XPREFIX>_INCLUDEDIR ... include-dir of the module
+# <XPREFIX>_LIBDIR ... lib-dir of the module
+#
+#
+#
+# ::
+#
+# <XPREFIX> = <PREFIX> when |MODULES| == 1, else
+# <XPREFIX> = <PREFIX>_<MODNAME>
+#
+#
#
# A <MODULE> parameter can have the following formats:
-# {MODNAME} ... matches any version
-# {MODNAME}>={VERSION} ... at least version <VERSION> is required
-# {MODNAME}={VERSION} ... exactly version <VERSION> is required
-# {MODNAME}<={VERSION} ... modules must not be newer than <VERSION>
+#
+# ::
+#
+# {MODNAME} ... matches any version
+# {MODNAME}>={VERSION} ... at least version <VERSION> is required
+# {MODNAME}={VERSION} ... exactly version <VERSION> is required
+# {MODNAME}<={VERSION} ... modules must not be newer than <VERSION>
+#
+#
#
# Examples
-# pkg_check_modules (GLIB2 glib-2.0)
#
-# pkg_check_modules (GLIB2 glib-2.0>=2.10)
-# requires at least version 2.10 of glib2 and defines e.g.
-# GLIB2_VERSION=2.10.3
+# ::
+#
+# pkg_check_modules (GLIB2 glib-2.0)
+#
+#
+#
+# ::
+#
+# pkg_check_modules (GLIB2 glib-2.0>=2.10)
+# requires at least version 2.10 of glib2 and defines e.g.
+# GLIB2_VERSION=2.10.3
+#
+#
+#
+# ::
+#
+# pkg_check_modules (FOO glib-2.0>=2.10 gtk+-2.0)
+# requires both glib2 and gtk2, and defines e.g.
+# FOO_glib-2.0_VERSION=2.10.3
+# FOO_gtk+-2.0_VERSION=2.8.20
+#
+#
+#
+# ::
+#
+# pkg_check_modules (XRENDER REQUIRED xrender)
+# defines e.g.:
+# XRENDER_LIBRARIES=Xrender;X11
+# XRENDER_STATIC_LIBRARIES=Xrender;X11;pthread;Xau;Xdmcp
+#
#
-# pkg_check_modules (FOO glib-2.0>=2.10 gtk+-2.0)
-# requires both glib2 and gtk2, and defines e.g.
-# FOO_glib-2.0_VERSION=2.10.3
-# FOO_gtk+-2.0_VERSION=2.8.20
#
-# pkg_check_modules (XRENDER REQUIRED xrender)
-# defines e.g.:
-# XRENDER_LIBRARIES=Xrender;X11
-# XRENDER_STATIC_LIBRARIES=Xrender;X11;pthread;Xau;Xdmcp
+# ::
#
-# pkg_search_module (BAR libxml-2.0 libxml2 libxml>=2)
+# pkg_search_module (BAR libxml-2.0 libxml2 libxml>=2)
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
diff --git a/Modules/FindPostgreSQL.cmake b/Modules/FindPostgreSQL.cmake
index e3c898b..f13dea8 100644
--- a/Modules/FindPostgreSQL.cmake
+++ b/Modules/FindPostgreSQL.cmake
@@ -1,11 +1,19 @@
-# - Find the PostgreSQL installation.
-# In Windows, we make the assumption that, if the PostgreSQL files are installed, the default directory
-# will be C:\Program Files\PostgreSQL.
+#.rst:
+# FindPostgreSQL
+# --------------
+#
+# Find the PostgreSQL installation.
+#
+# In Windows, we make the assumption that, if the PostgreSQL files are
+# installed, the default directory will be C:\Program Files\PostgreSQL.
#
# This module defines
-# PostgreSQL_LIBRARIES - the PostgreSQL libraries needed for linking
-# PostgreSQL_INCLUDE_DIRS - the directories of the PostgreSQL headers
-# PostgreSQL_VERSION_STRING - the version of PostgreSQL found (since CMake 2.8.8)
+#
+# ::
+#
+# PostgreSQL_LIBRARIES - the PostgreSQL libraries needed for linking
+# PostgreSQL_INCLUDE_DIRS - the directories of the PostgreSQL headers
+# PostgreSQL_VERSION_STRING - the version of PostgreSQL found (since CMake 2.8.8)
#=============================================================================
# Copyright 2004-2009 Kitware, Inc.
diff --git a/Modules/FindProducer.cmake b/Modules/FindProducer.cmake
index 3099062..aef84ea 100644
--- a/Modules/FindProducer.cmake
+++ b/Modules/FindProducer.cmake
@@ -1,27 +1,30 @@
-# Though Producer isn't directly part of OpenSceneGraph, its primary user
-# is OSG so I consider this part of the Findosg* suite used to find
-# OpenSceneGraph components. You'll notice that I accept OSGDIR as an
+#.rst:
+# FindProducer
+# ------------
+#
+#
+#
+# Though Producer isn't directly part of OpenSceneGraph, its primary
+# user is OSG so I consider this part of the Findosg* suite used to find
+# OpenSceneGraph components. You'll notice that I accept OSGDIR as an
# environment path.
#
-# Each component is separate and you must opt in to each module. You must
-# also opt into OpenGL (and OpenThreads?) as these
-# modules won't do it for you. This is to allow you control over your own
-# system piece by piece in case you need to opt out of certain components
-# or change the Find behavior for a particular module (perhaps because the
-# default FindOpenGL.cmake module doesn't work with your system as an
-# example).
+# Each component is separate and you must opt in to each module. You
+# must also opt into OpenGL (and OpenThreads?) as these modules won't do
+# it for you. This is to allow you control over your own system piece
+# by piece in case you need to opt out of certain components or change
+# the Find behavior for a particular module (perhaps because the default
+# FindOpenGL.cmake module doesn't work with your system as an example).
# If you want to use a more convenient module that includes everything,
-# use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
+# use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake
+# modules.
#
-# Locate Producer
-# This module defines
-# PRODUCER_LIBRARY
-# PRODUCER_FOUND, if false, do not try to link to Producer
-# PRODUCER_INCLUDE_DIR, where to find the headers
+# Locate Producer This module defines PRODUCER_LIBRARY PRODUCER_FOUND,
+# if false, do not try to link to Producer PRODUCER_INCLUDE_DIR, where
+# to find the headers
#
-# $PRODUCER_DIR is an environment variable that would
-# correspond to the ./configure --prefix=$PRODUCER_DIR
-# used in building osg.
+# $PRODUCER_DIR is an environment variable that would correspond to the
+# ./configure --prefix=$PRODUCER_DIR used in building osg.
#
# Created by Eric Wing.
diff --git a/Modules/FindProtobuf.cmake b/Modules/FindProtobuf.cmake
index 2972198..9b120a6 100644
--- a/Modules/FindProtobuf.cmake
+++ b/Modules/FindProtobuf.cmake
@@ -1,62 +1,127 @@
+#.rst:
+# FindProtobuf
+# ------------
+#
+#
+#
# Locate and configure the Google Protocol Buffers library.
#
# The following variables can be set and are optional:
#
-# PROTOBUF_SRC_ROOT_FOLDER - When compiling with MSVC, if this cache variable is set
-# the protobuf-default VS project build locations
-# (vsprojects/Debug & vsprojects/Release) will be searched
-# for libraries and binaries.
+# ::
+#
+# PROTOBUF_SRC_ROOT_FOLDER - When compiling with MSVC, if this cache variable is set
+# the protobuf-default VS project build locations
+# (vsprojects/Debug & vsprojects/Release) will be searched
+# for libraries and binaries.
+#
+#
+#
+# ::
+#
+# PROTOBUF_IMPORT_DIRS - List of additional directories to be searched for
+# imported .proto files. (New in CMake 2.8.8)
+#
#
-# PROTOBUF_IMPORT_DIRS - List of additional directories to be searched for
-# imported .proto files. (New in CMake 2.8.8)
#
# Defines the following variables:
#
-# PROTOBUF_FOUND - Found the Google Protocol Buffers library (libprotobuf & header files)
-# PROTOBUF_INCLUDE_DIRS - Include directories for Google Protocol Buffers
-# PROTOBUF_LIBRARIES - The protobuf libraries
+# ::
+#
+# PROTOBUF_FOUND - Found the Google Protocol Buffers library (libprotobuf & header files)
+# PROTOBUF_INCLUDE_DIRS - Include directories for Google Protocol Buffers
+# PROTOBUF_LIBRARIES - The protobuf libraries
+#
# [New in CMake 2.8.5]
-# PROTOBUF_PROTOC_LIBRARIES - The protoc libraries
-# PROTOBUF_LITE_LIBRARIES - The protobuf-lite libraries
+#
+# ::
+#
+# PROTOBUF_PROTOC_LIBRARIES - The protoc libraries
+# PROTOBUF_LITE_LIBRARIES - The protobuf-lite libraries
+#
+#
#
# The following cache variables are also available to set or use:
-# PROTOBUF_LIBRARY - The protobuf library
-# PROTOBUF_PROTOC_LIBRARY - The protoc library
-# PROTOBUF_INCLUDE_DIR - The include directory for protocol buffers
-# PROTOBUF_PROTOC_EXECUTABLE - The protoc compiler
+#
+# ::
+#
+# PROTOBUF_LIBRARY - The protobuf library
+# PROTOBUF_PROTOC_LIBRARY - The protoc library
+# PROTOBUF_INCLUDE_DIR - The include directory for protocol buffers
+# PROTOBUF_PROTOC_EXECUTABLE - The protoc compiler
+#
# [New in CMake 2.8.5]
-# PROTOBUF_LIBRARY_DEBUG - The protobuf library (debug)
-# PROTOBUF_PROTOC_LIBRARY_DEBUG - The protoc library (debug)
-# PROTOBUF_LITE_LIBRARY - The protobuf lite library
-# PROTOBUF_LITE_LIBRARY_DEBUG - The protobuf lite library (debug)
#
-# ====================================================================
-# Example:
+# ::
+#
+# PROTOBUF_LIBRARY_DEBUG - The protobuf library (debug)
+# PROTOBUF_PROTOC_LIBRARY_DEBUG - The protoc library (debug)
+# PROTOBUF_LITE_LIBRARY - The protobuf lite library
+# PROTOBUF_LITE_LIBRARY_DEBUG - The protobuf lite library (debug)
+#
+#
+#
+# ::
+#
+# ====================================================================
+# Example:
+#
+#
+#
+# ::
+#
+# find_package(Protobuf REQUIRED)
+# include_directories(${PROTOBUF_INCLUDE_DIRS})
+#
+#
+#
+# ::
+#
+# include_directories(${CMAKE_CURRENT_BINARY_DIR})
+# PROTOBUF_GENERATE_CPP(PROTO_SRCS PROTO_HDRS foo.proto)
+# add_executable(bar bar.cc ${PROTO_SRCS} ${PROTO_HDRS})
+# target_link_libraries(bar ${PROTOBUF_LIBRARIES})
#
-# find_package(Protobuf REQUIRED)
-# include_directories(${PROTOBUF_INCLUDE_DIRS})
#
-# include_directories(${CMAKE_CURRENT_BINARY_DIR})
-# PROTOBUF_GENERATE_CPP(PROTO_SRCS PROTO_HDRS foo.proto)
-# add_executable(bar bar.cc ${PROTO_SRCS} ${PROTO_HDRS})
-# target_link_libraries(bar ${PROTOBUF_LIBRARIES})
#
# NOTE: You may need to link against pthreads, depending
-# on the platform.
#
-# NOTE: The PROTOBUF_GENERATE_CPP macro & add_executable() or add_library()
-# calls only work properly within the same directory.
+# ::
+#
+# on the platform.
+#
+#
+#
+# NOTE: The PROTOBUF_GENERATE_CPP macro & add_executable() or
+# add_library()
+#
+# ::
+#
+# calls only work properly within the same directory.
+#
+#
+#
+# ::
+#
+# ====================================================================
+#
#
-# ====================================================================
#
# PROTOBUF_GENERATE_CPP (public function)
-# SRCS = Variable to define with autogenerated
-# source files
-# HDRS = Variable to define with autogenerated
-# header files
-# ARGN = proto files
#
-# ====================================================================
+# ::
+#
+# SRCS = Variable to define with autogenerated
+# source files
+# HDRS = Variable to define with autogenerated
+# header files
+# ARGN = proto files
+#
+#
+#
+# ::
+#
+# ====================================================================
#=============================================================================
diff --git a/Modules/FindPythonInterp.cmake b/Modules/FindPythonInterp.cmake
index 7fb65b8..e23a58b 100644
--- a/Modules/FindPythonInterp.cmake
+++ b/Modules/FindPythonInterp.cmake
@@ -1,18 +1,32 @@
-# - Find python interpreter
-# This module finds if Python interpreter is installed and determines where the
-# executables are. This code sets the following variables:
+#.rst:
+# FindPythonInterp
+# ----------------
#
-# PYTHONINTERP_FOUND - Was the Python executable found
-# PYTHON_EXECUTABLE - path to the Python interpreter
+# Find python interpreter
#
-# PYTHON_VERSION_STRING - Python version found e.g. 2.5.2
-# PYTHON_VERSION_MAJOR - Python major version found e.g. 2
-# PYTHON_VERSION_MINOR - Python minor version found e.g. 5
-# PYTHON_VERSION_PATCH - Python patch version found e.g. 2
+# This module finds if Python interpreter is installed and determines
+# where the executables are. This code sets the following variables:
#
-# The Python_ADDITIONAL_VERSIONS variable can be used to specify a list of
-# version numbers that should be taken into account when searching for Python.
-# You need to set this variable before calling find_package(PythonInterp).
+# ::
+#
+# PYTHONINTERP_FOUND - Was the Python executable found
+# PYTHON_EXECUTABLE - path to the Python interpreter
+#
+#
+#
+# ::
+#
+# PYTHON_VERSION_STRING - Python version found e.g. 2.5.2
+# PYTHON_VERSION_MAJOR - Python major version found e.g. 2
+# PYTHON_VERSION_MINOR - Python minor version found e.g. 5
+# PYTHON_VERSION_PATCH - Python patch version found e.g. 2
+#
+#
+#
+# The Python_ADDITIONAL_VERSIONS variable can be used to specify a list
+# of version numbers that should be taken into account when searching
+# for Python. You need to set this variable before calling
+# find_package(PythonInterp).
#=============================================================================
# Copyright 2005-2010 Kitware, Inc.
@@ -33,26 +47,26 @@ unset(_Python_NAMES)
set(_PYTHON1_VERSIONS 1.6 1.5)
set(_PYTHON2_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0)
-set(_PYTHON3_VERSIONS 3.3 3.2 3.1 3.0)
+set(_PYTHON3_VERSIONS 3.4 3.3 3.2 3.1 3.0)
if(PythonInterp_FIND_VERSION)
- if(PythonInterp_FIND_VERSION MATCHES "^[0-9]+\\.[0-9]+(\\.[0-9]+.*)?$")
- string(REGEX REPLACE "^([0-9]+\\.[0-9]+).*" "\\1" _PYTHON_FIND_MAJ_MIN "${PythonInterp_FIND_VERSION}")
- string(REGEX REPLACE "^([0-9]+).*" "\\1" _PYTHON_FIND_MAJ "${_PYTHON_FIND_MAJ_MIN}")
- list(APPEND _Python_NAMES python${_PYTHON_FIND_MAJ_MIN} python${_PYTHON_FIND_MAJ})
+ if(PythonInterp_FIND_VERSION_COUNT GREATER 1)
+ set(_PYTHON_FIND_MAJ_MIN "${PythonInterp_FIND_VERSION_MAJOR}.${PythonInterp_FIND_VERSION_MINOR}")
+ list(APPEND _Python_NAMES
+ python${_PYTHON_FIND_MAJ_MIN}
+ python${PythonInterp_FIND_VERSION_MAJOR})
unset(_PYTHON_FIND_OTHER_VERSIONS)
if(NOT PythonInterp_FIND_VERSION_EXACT)
- foreach(_PYTHON_V ${_PYTHON${_PYTHON_FIND_MAJ}_VERSIONS})
+ foreach(_PYTHON_V ${_PYTHON${PythonInterp_FIND_VERSION_MAJOR}_VERSIONS})
if(NOT _PYTHON_V VERSION_LESS _PYTHON_FIND_MAJ_MIN)
list(APPEND _PYTHON_FIND_OTHER_VERSIONS ${_PYTHON_V})
endif()
endforeach()
endif()
unset(_PYTHON_FIND_MAJ_MIN)
- unset(_PYTHON_FIND_MAJ)
else()
- list(APPEND _Python_NAMES python${PythonInterp_FIND_VERSION})
- set(_PYTHON_FIND_OTHER_VERSIONS ${_PYTHON${PythonInterp_FIND_VERSION}_VERSIONS})
+ list(APPEND _Python_NAMES python${PythonInterp_FIND_VERSION_MAJOR})
+ set(_PYTHON_FIND_OTHER_VERSIONS ${_PYTHON${PythonInterp_FIND_VERSION_MAJOR}_VERSIONS})
endif()
else()
set(_PYTHON_FIND_OTHER_VERSIONS ${_PYTHON3_VERSIONS} ${_PYTHON2_VERSIONS} ${_PYTHON1_VERSIONS})
diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake
index bffa9fb..1dbc967 100644
--- a/Modules/FindPythonLibs.cmake
+++ b/Modules/FindPythonLibs.cmake
@@ -1,23 +1,36 @@
-# - Find python libraries
+#.rst:
+# FindPythonLibs
+# --------------
+#
+# Find python libraries
+#
# This module finds if Python is installed and determines where the
-# include files and libraries are. It also determines what the name of
-# the library is. This code sets the following variables:
+# include files and libraries are. It also determines what the name of
+# the library is. This code sets the following variables:
+#
+# ::
+#
+# PYTHONLIBS_FOUND - have the Python libs been found
+# PYTHON_LIBRARIES - path to the python library
+# PYTHON_INCLUDE_PATH - path to where Python.h is found (deprecated)
+# PYTHON_INCLUDE_DIRS - path to where Python.h is found
+# PYTHON_DEBUG_LIBRARIES - path to the debug library (deprecated)
+# PYTHONLIBS_VERSION_STRING - version of the Python libs found (since CMake 2.8.8)
+#
+#
+#
+# The Python_ADDITIONAL_VERSIONS variable can be used to specify a list
+# of version numbers that should be taken into account when searching
+# for Python. You need to set this variable before calling
+# find_package(PythonLibs).
#
-# PYTHONLIBS_FOUND - have the Python libs been found
-# PYTHON_LIBRARIES - path to the python library
-# PYTHON_INCLUDE_PATH - path to where Python.h is found (deprecated)
-# PYTHON_INCLUDE_DIRS - path to where Python.h is found
-# PYTHON_DEBUG_LIBRARIES - path to the debug library (deprecated)
-# PYTHONLIBS_VERSION_STRING - version of the Python libs found (since CMake 2.8.8)
+# If you'd like to specify the installation of Python to use, you should
+# modify the following cache variables:
#
-# The Python_ADDITIONAL_VERSIONS variable can be used to specify a list of
-# version numbers that should be taken into account when searching for Python.
-# You need to set this variable before calling find_package(PythonLibs).
+# ::
#
-# If you'd like to specify the installation of Python to use, you should modify
-# the following cache variables:
-# PYTHON_LIBRARY - path to the python library
-# PYTHON_INCLUDE_DIR - path to where Python.h is found
+# PYTHON_LIBRARY - path to the python library
+# PYTHON_INCLUDE_DIR - path to where Python.h is found
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.
@@ -38,12 +51,11 @@ CMAKE_FIND_FRAMEWORKS(Python)
set(_PYTHON1_VERSIONS 1.6 1.5)
set(_PYTHON2_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0)
-set(_PYTHON3_VERSIONS 3.3 3.2 3.1 3.0)
+set(_PYTHON3_VERSIONS 3.4 3.3 3.2 3.1 3.0)
if(PythonLibs_FIND_VERSION)
- if(PythonLibs_FIND_VERSION MATCHES "^[0-9]+\\.[0-9]+(\\.[0-9]+.*)?$")
- string(REGEX REPLACE "^([0-9]+\\.[0-9]+).*" "\\1" _PYTHON_FIND_MAJ_MIN "${PythonLibs_FIND_VERSION}")
- string(REGEX REPLACE "^([0-9]+).*" "\\1" _PYTHON_FIND_MAJ "${_PYTHON_FIND_MAJ_MIN}")
+ if(PythonLibs_FIND_VERSION_COUNT GREATER 1)
+ set(_PYTHON_FIND_MAJ_MIN "${PythonLibs_FIND_VERSION_MAJOR}.${PythonLibs_FIND_VERSION_MINOR}")
unset(_PYTHON_FIND_OTHER_VERSIONS)
if(PythonLibs_FIND_VERSION_EXACT)
if(_PYTHON_FIND_MAJ_MIN STREQUAL PythonLibs_FIND_VERSION)
@@ -52,16 +64,15 @@ if(PythonLibs_FIND_VERSION)
set(_PYTHON_FIND_OTHER_VERSIONS "${PythonLibs_FIND_VERSION}" "${_PYTHON_FIND_MAJ_MIN}")
endif()
else()
- foreach(_PYTHON_V ${_PYTHON${_PYTHON_FIND_MAJ}_VERSIONS})
+ foreach(_PYTHON_V ${_PYTHON${PythonLibs_FIND_VERSION_MAJOR}_VERSIONS})
if(NOT _PYTHON_V VERSION_LESS _PYTHON_FIND_MAJ_MIN)
list(APPEND _PYTHON_FIND_OTHER_VERSIONS ${_PYTHON_V})
endif()
endforeach()
endif()
unset(_PYTHON_FIND_MAJ_MIN)
- unset(_PYTHON_FIND_MAJ)
else()
- set(_PYTHON_FIND_OTHER_VERSIONS ${_PYTHON${PythonLibs_FIND_VERSION}_VERSIONS})
+ set(_PYTHON_FIND_OTHER_VERSIONS ${_PYTHON${PythonLibs_FIND_VERSION_MAJOR}_VERSIONS})
endif()
else()
set(_PYTHON_FIND_OTHER_VERSIONS ${_PYTHON3_VERSIONS} ${_PYTHON2_VERSIONS} ${_PYTHON1_VERSIONS})
diff --git a/Modules/FindQt.cmake b/Modules/FindQt.cmake
index 54b7c6f..e893c7a 100644
--- a/Modules/FindQt.cmake
+++ b/Modules/FindQt.cmake
@@ -1,21 +1,31 @@
-# - Searches for all installed versions of Qt.
+#.rst:
+# FindQt
+# ------
+#
+# Searches for all installed versions of Qt.
+#
# This should only be used if your project can work with multiple
-# versions of Qt. If not, you should just directly use FindQt4 or FindQt3.
-# If multiple versions of Qt are found on the machine, then
-# The user must set the option DESIRED_QT_VERSION to the version
-# they want to use. If only one version of qt is found on the machine,
-# then the DESIRED_QT_VERSION is set to that version and the
-# matching FindQt3 or FindQt4 module is included.
-# Once the user sets DESIRED_QT_VERSION, then the FindQt3 or FindQt4 module
-# is included.
+# versions of Qt. If not, you should just directly use FindQt4 or
+# FindQt3. If multiple versions of Qt are found on the machine, then
+# The user must set the option DESIRED_QT_VERSION to the version they
+# want to use. If only one version of qt is found on the machine, then
+# the DESIRED_QT_VERSION is set to that version and the matching FindQt3
+# or FindQt4 module is included. Once the user sets DESIRED_QT_VERSION,
+# then the FindQt3 or FindQt4 module is included.
+#
+# ::
+#
+# QT_REQUIRED if this is set to TRUE then if CMake can
+# not find Qt4 or Qt3 an error is raised
+# and a message is sent to the user.
+#
+#
#
-# QT_REQUIRED if this is set to TRUE then if CMake can
-# not find Qt4 or Qt3 an error is raised
-# and a message is sent to the user.
+# ::
#
-# DESIRED_QT_VERSION OPTION is created
-# QT4_INSTALLED is set to TRUE if qt4 is found.
-# QT3_INSTALLED is set to TRUE if qt3 is found.
+# DESIRED_QT_VERSION OPTION is created
+# QT4_INSTALLED is set to TRUE if qt4 is found.
+# QT3_INSTALLED is set to TRUE if qt3 is found.
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.
diff --git a/Modules/FindQt3.cmake b/Modules/FindQt3.cmake
index 4fc8e40..6cd12c6 100644
--- a/Modules/FindQt3.cmake
+++ b/Modules/FindQt3.cmake
@@ -1,20 +1,34 @@
-# - Locate Qt include paths and libraries
+#.rst:
+# FindQt3
+# -------
+#
+# Locate Qt include paths and libraries
+#
# This module defines:
-# QT_INCLUDE_DIR - where to find qt.h, etc.
-# QT_LIBRARIES - the libraries to link against to use Qt.
-# QT_DEFINITIONS - definitions to use when
-# compiling code that uses Qt.
-# QT_FOUND - If false, don't try to use Qt.
-# QT_VERSION_STRING - the version of Qt found
#
-# If you need the multithreaded version of Qt, set QT_MT_REQUIRED to TRUE
+# ::
+#
+# QT_INCLUDE_DIR - where to find qt.h, etc.
+# QT_LIBRARIES - the libraries to link against to use Qt.
+# QT_DEFINITIONS - definitions to use when
+# compiling code that uses Qt.
+# QT_FOUND - If false, don't try to use Qt.
+# QT_VERSION_STRING - the version of Qt found
+#
+#
+#
+# If you need the multithreaded version of Qt, set QT_MT_REQUIRED to
+# TRUE
#
# Also defined, but not for general use are:
-# QT_MOC_EXECUTABLE, where to find the moc tool.
-# QT_UIC_EXECUTABLE, where to find the uic tool.
-# QT_QT_LIBRARY, where to find the Qt library.
-# QT_QTMAIN_LIBRARY, where to find the qtmain
-# library. This is only required by Qt3 on Windows.
+#
+# ::
+#
+# QT_MOC_EXECUTABLE, where to find the moc tool.
+# QT_UIC_EXECUTABLE, where to find the uic tool.
+# QT_QT_LIBRARY, where to find the Qt library.
+# QT_QTMAIN_LIBRARY, where to find the qtmain
+# library. This is only required by Qt3 on Windows.
# These are around for backwards compatibility
# they will be set
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake
index 1d17ba3..d0515c6 100644
--- a/Modules/FindQt4.cmake
+++ b/Modules/FindQt4.cmake
@@ -1,349 +1,292 @@
-# - Find Qt 4
-# This module can be used to find Qt4.
-# The most important issue is that the Qt4 qmake is available via the system path.
-# This qmake is then used to detect basically everything else.
-# This module defines a number of key variables and macros.
-# The variable QT_USE_FILE is set which is the path to a CMake file that can be included
-# to compile Qt 4 applications and libraries. It sets up the compilation
-# environment for include directories, preprocessor defines and populates a
-# QT_LIBRARIES variable.
+#.rst:
+# FindQt4
+# *******
+#
+# Finding and Using Qt4
+# =====================
+#
+# This module can be used to find Qt4. The most important issue is that
+# the Qt4 qmake is available via the system path. This qmake is then
+# used to detect basically everything else. This module defines a
+# number of :prop_tgt:`IMPORTED` targets, macros and variables.
#
# Typical usage could be something like:
-# find_package(Qt4 4.4.3 REQUIRED QtCore QtGui QtXml)
-# include(${QT_USE_FILE})
-# add_executable(myexe main.cpp)
-# target_link_libraries(myexe ${QT_LIBRARIES})
-#
-# The minimum required version can be specified using the standard find_package()-syntax
-# (see example above).
-# For compatibility with older versions of FindQt4.cmake it is also possible to
-# set the variable QT_MIN_VERSION to the minimum required version of Qt4 before the
-# find_package(Qt4) command.
-# If both are used, the version used in the find_package() command overrides the
-# one from QT_MIN_VERSION.
-#
-# When using the components argument, QT_USE_QT* variables are automatically set
-# for the QT_USE_FILE to pick up. If one wishes to manually set them, the
-# available ones to set include:
-# QT_DONT_USE_QTCORE
-# QT_DONT_USE_QTGUI
-# QT_USE_QT3SUPPORT
-# QT_USE_QTASSISTANT
-# QT_USE_QAXCONTAINER
-# QT_USE_QAXSERVER
-# QT_USE_QTDESIGNER
-# QT_USE_QTMOTIF
-# QT_USE_QTMAIN
-# QT_USE_QTMULTIMEDIA
-# QT_USE_QTNETWORK
-# QT_USE_QTNSPLUGIN
-# QT_USE_QTOPENGL
-# QT_USE_QTSQL
-# QT_USE_QTXML
-# QT_USE_QTSVG
-# QT_USE_QTTEST
-# QT_USE_QTUITOOLS
-# QT_USE_QTDBUS
-# QT_USE_QTSCRIPT
-# QT_USE_QTASSISTANTCLIENT
-# QT_USE_QTHELP
-# QT_USE_QTWEBKIT
-# QT_USE_QTXMLPATTERNS
-# QT_USE_PHONON
-# QT_USE_QTSCRIPTTOOLS
-# QT_USE_QTDECLARATIVE
-#
-# QT_USE_IMPORTED_TARGETS
-# If this variable is set to TRUE, FindQt4.cmake will create imported
-# library targets for the various Qt libraries and set the
-# library variables like QT_QTCORE_LIBRARY to point at these imported
-# targets instead of the library file on disk. This provides much better
-# handling of the release and debug versions of the Qt libraries and is
-# also always backwards compatible, except for the case that dependencies
-# of libraries are exported, these will then also list the names of the
-# imported targets as dependency and not the file location on disk. This
-# is much more flexible, but requires that FindQt4.cmake is executed before
-# such an exported dependency file is processed.
-#
-# Note that if using IMPORTED targets, the qtmain.lib static library is
-# automatically linked on Windows. To disable that globally, set the
-# QT4_NO_LINK_QTMAIN variable before finding Qt4. To disable that for a
-# particular executable, set the QT4_NO_LINK_QTMAIN target property to
-# True on the executable.
-#
-# QT_INCLUDE_DIRS_NO_SYSTEM
-# If this variable is set to TRUE, the Qt include directories
-# in the QT_USE_FILE will NOT have the SYSTEM keyword set.
-#
-# There are also some files that need processing by some Qt tools such as moc
-# and uic. Listed below are macros that may be used to process those files.
-#
-# macro QT4_WRAP_CPP(outfiles inputfile ... OPTIONS ...)
-# create moc code from a list of files containing Qt class with
-# the Q_OBJECT declaration. Per-directory preprocessor definitions
-# are also added. Options may be given to moc, such as those found
-# when executing "moc -help".
-#
-# macro QT4_WRAP_UI(outfiles inputfile ... OPTIONS ...)
-# create code from a list of Qt designer ui files.
-# Options may be given to uic, such as those found
-# when executing "uic -help"
-#
-# macro QT4_ADD_RESOURCES(outfiles inputfile ... OPTIONS ...)
-# create code from a list of Qt resource files.
-# Options may be given to rcc, such as those found
-# when executing "rcc -help"
-#
-# macro QT4_GENERATE_MOC(inputfile outputfile )
-# creates a rule to run moc on infile and create outfile.
-# Use this if for some reason QT4_WRAP_CPP() isn't appropriate, e.g.
-# because you need a custom filename for the moc file or something similar.
-#
-# macro QT4_AUTOMOC(sourcefile1 sourcefile2 ... )
-# The qt4_automoc macro is obsolete. Use the CMAKE_AUTOMOC feature instead.
-# This macro is still experimental.
-# It can be used to have moc automatically handled.
-# So if you have the files foo.h and foo.cpp, and in foo.h a
-# a class uses the Q_OBJECT macro, moc has to run on it. If you don't
-# want to use QT4_WRAP_CPP() (which is reliable and mature), you can insert
-# #include "foo.moc"
-# in foo.cpp and then give foo.cpp as argument to QT4_AUTOMOC(). This will the
-# scan all listed files at cmake-time for such included moc files and if it finds
-# them cause a rule to be generated to run moc at build time on the
-# accompanying header file foo.h.
-# If a source file has the SKIP_AUTOMOC property set it will be ignored by this macro.
-#
-# You should have a look on the AUTOMOC property for targets to achieve the same results.
-#
-# macro QT4_ADD_DBUS_INTERFACE(outfiles interface basename)
-# Create the interface header and implementation files with the
-# given basename from the given interface xml file and add it to
-# the list of sources.
-#
-# You can pass additional parameters to the qdbusxml2cpp call by setting
-# properties on the input file:
-#
-# INCLUDE the given file will be included in the generate interface header
-#
-# CLASSNAME the generated class is named accordingly
-#
-# NO_NAMESPACE the generated class is not wrapped in a namespace
-#
-# macro QT4_ADD_DBUS_INTERFACES(outfiles inputfile ... )
-# Create the interface header and implementation files
-# for all listed interface xml files.
-# The basename will be automatically determined from the name of the xml file.
-#
-# The source file properties described for QT4_ADD_DBUS_INTERFACE also apply here.
-#
-# macro QT4_ADD_DBUS_ADAPTOR(outfiles xmlfile parentheader parentclassname [basename] [classname])
-# create a dbus adaptor (header and implementation file) from the xml file
-# describing the interface, and add it to the list of sources. The adaptor
-# forwards the calls to a parent class, defined in parentheader and named
-# parentclassname. The name of the generated files will be
-# <basename>adaptor.{cpp,h} where basename defaults to the basename of the xml file.
-# If <classname> is provided, then it will be used as the classname of the
-# adaptor itself.
-#
-# macro QT4_GENERATE_DBUS_INTERFACE( header [interfacename] OPTIONS ...)
-# generate the xml interface file from the given header.
-# If the optional argument interfacename is omitted, the name of the
-# interface file is constructed from the basename of the header with
-# the suffix .xml appended.
-# Options may be given to qdbuscpp2xml, such as those found when executing "qdbuscpp2xml --help"
-#
-# macro QT4_CREATE_TRANSLATION( qm_files directories ... sources ...
-# ts_files ... OPTIONS ...)
-# out: qm_files
-# in: directories sources ts_files
-# options: flags to pass to lupdate, such as -extensions to specify
-# extensions for a directory scan.
-# generates commands to create .ts (vie lupdate) and .qm
-# (via lrelease) - files from directories and/or sources. The ts files are
-# created and/or updated in the source tree (unless given with full paths).
-# The qm files are generated in the build tree.
-# Updating the translations can be done by adding the qm_files
-# to the source list of your library/executable, so they are
-# always updated, or by adding a custom target to control when
-# they get updated/generated.
-#
-# macro QT4_ADD_TRANSLATION( qm_files ts_files ... )
-# out: qm_files
-# in: ts_files
-# generates commands to create .qm from .ts - files. The generated
-# filenames can be found in qm_files. The ts_files
-# must exist and are not updated in any way.
-#
-# function QT4_USE_MODULES( target [link_type] modules...)
-# This function is obsolete. Use target_link_libraries with IMPORTED targets instead.
-# Make <target> use the <modules> from Qt. Using a Qt module means
-# to link to the library, add the relevant include directories for the module,
-# and add the relevant compiler defines for using the module.
-# Modules are roughly equivalent to components of Qt4, so usage would be
-# something like:
-# qt4_use_modules(myexe Core Gui Declarative)
-# to use QtCore, QtGui and QtDeclarative. The optional <link_type> argument can
-# be specified as either LINK_PUBLIC or LINK_PRIVATE to specify the same argument
-# to the target_link_libraries call.
-#
-#
-# Below is a detailed list of variables that FindQt4.cmake sets.
-# QT_FOUND If false, don't try to use Qt.
-# Qt4_FOUND If false, don't try to use Qt 4.
-# QT4_FOUND If false, don't try to use Qt 4. This variable is for compatibility only.
-#
-# QT_VERSION_MAJOR The major version of Qt found.
-# QT_VERSION_MINOR The minor version of Qt found.
-# QT_VERSION_PATCH The patch version of Qt found.
-#
-# QT_EDITION Set to the edition of Qt (i.e. DesktopLight)
-# QT_EDITION_DESKTOPLIGHT True if QT_EDITION == DesktopLight
-# QT_QTCORE_FOUND True if QtCore was found.
-# QT_QTGUI_FOUND True if QtGui was found.
-# QT_QT3SUPPORT_FOUND True if Qt3Support was found.
-# QT_QTASSISTANT_FOUND True if QtAssistant was found.
-# QT_QTASSISTANTCLIENT_FOUND True if QtAssistantClient was found.
-# QT_QAXCONTAINER_FOUND True if QAxContainer was found (Windows only).
-# QT_QAXSERVER_FOUND True if QAxServer was found (Windows only).
-# QT_QTDBUS_FOUND True if QtDBus was found.
-# QT_QTDESIGNER_FOUND True if QtDesigner was found.
-# QT_QTDESIGNERCOMPONENTS True if QtDesignerComponents was found.
-# QT_QTHELP_FOUND True if QtHelp was found.
-# QT_QTMOTIF_FOUND True if QtMotif was found.
-# QT_QTMULTIMEDIA_FOUND True if QtMultimedia was found (since Qt 4.6.0).
-# QT_QTNETWORK_FOUND True if QtNetwork was found.
-# QT_QTNSPLUGIN_FOUND True if QtNsPlugin was found.
-# QT_QTOPENGL_FOUND True if QtOpenGL was found.
-# QT_QTSQL_FOUND True if QtSql was found.
-# QT_QTSVG_FOUND True if QtSvg was found.
-# QT_QTSCRIPT_FOUND True if QtScript was found.
-# QT_QTSCRIPTTOOLS_FOUND True if QtScriptTools was found.
-# QT_QTTEST_FOUND True if QtTest was found.
-# QT_QTUITOOLS_FOUND True if QtUiTools was found.
-# QT_QTWEBKIT_FOUND True if QtWebKit was found.
-# QT_QTXML_FOUND True if QtXml was found.
-# QT_QTXMLPATTERNS_FOUND True if QtXmlPatterns was found.
-# QT_PHONON_FOUND True if phonon was found.
-# QT_QTDECLARATIVE_FOUND True if QtDeclarative was found.
-#
-# QT_MAC_USE_COCOA For Mac OS X, its whether Cocoa or Carbon is used.
-# In general, this should not be used, but its useful
-# when having platform specific code.
-#
-# QT_DEFINITIONS Definitions to use when compiling code that uses Qt.
-# You do not need to use this if you include QT_USE_FILE.
-# The QT_USE_FILE will also define QT_DEBUG and QT_NO_DEBUG
-# to fit your current build type. Those are not contained
-# in QT_DEFINITIONS.
-#
-# QT_INCLUDES List of paths to all include directories of
-# Qt4 QT_INCLUDE_DIR and QT_QTCORE_INCLUDE_DIR are
-# always in this variable even if NOTFOUND,
-# all other INCLUDE_DIRS are
-# only added if they are found.
-# You do not need to use this if you include QT_USE_FILE.
-#
-#
-# Include directories for the Qt modules are listed here.
-# You do not need to use these variables if you include QT_USE_FILE.
-#
-# QT_INCLUDE_DIR Path to "include" of Qt4
-# QT_QT3SUPPORT_INCLUDE_DIR Path to "include/Qt3Support"
-# QT_QTASSISTANT_INCLUDE_DIR Path to "include/QtAssistant"
-# QT_QTASSISTANTCLIENT_INCLUDE_DIR Path to "include/QtAssistant"
-# QT_QAXCONTAINER_INCLUDE_DIR Path to "include/ActiveQt" (Windows only)
-# QT_QAXSERVER_INCLUDE_DIR Path to "include/ActiveQt" (Windows only)
-# QT_QTCORE_INCLUDE_DIR Path to "include/QtCore"
-# QT_QTDBUS_INCLUDE_DIR Path to "include/QtDBus"
-# QT_QTDESIGNER_INCLUDE_DIR Path to "include/QtDesigner"
-# QT_QTDESIGNERCOMPONENTS_INCLUDE_DIR Path to "include/QtDesigner"
-# QT_QTGUI_INCLUDE_DIR Path to "include/QtGui"
-# QT_QTHELP_INCLUDE_DIR Path to "include/QtHelp"
-# QT_QTMOTIF_INCLUDE_DIR Path to "include/QtMotif"
-# QT_QTMULTIMEDIA_INCLUDE_DIR Path to "include/QtMultimedia"
-# QT_QTNETWORK_INCLUDE_DIR Path to "include/QtNetwork"
-# QT_QTNSPLUGIN_INCLUDE_DIR Path to "include/QtNsPlugin"
-# QT_QTOPENGL_INCLUDE_DIR Path to "include/QtOpenGL"
-# QT_QTSCRIPT_INCLUDE_DIR Path to "include/QtScript"
-# QT_QTSQL_INCLUDE_DIR Path to "include/QtSql"
-# QT_QTSVG_INCLUDE_DIR Path to "include/QtSvg"
-# QT_QTTEST_INCLUDE_DIR Path to "include/QtTest"
-# QT_QTWEBKIT_INCLUDE_DIR Path to "include/QtWebKit"
-# QT_QTXML_INCLUDE_DIR Path to "include/QtXml"
-# QT_QTXMLPATTERNS_INCLUDE_DIR Path to "include/QtXmlPatterns"
-# QT_PHONON_INCLUDE_DIR Path to "include/phonon"
-# QT_QTSCRIPTTOOLS_INCLUDE_DIR Path to "include/QtScriptTools"
-# QT_QTDECLARATIVE_INCLUDE_DIR Path to "include/QtDeclarative"
-#
-# QT_BINARY_DIR Path to "bin" of Qt4
-# QT_LIBRARY_DIR Path to "lib" of Qt4
-# QT_PLUGINS_DIR Path to "plugins" for Qt4
-# QT_TRANSLATIONS_DIR Path to "translations" of Qt4
-# QT_IMPORTS_DIR Path to "imports" of Qt4
-# QT_DOC_DIR Path to "doc" of Qt4
-# QT_MKSPECS_DIR Path to "mkspecs" of Qt4
#
+# .. code-block:: cmake
+#
+# set(CMAKE_AUTOMOC ON)
+# set(CMAKE_INCLUDE_CURRENT_DIR ON)
+# find_package(Qt4 4.4.3 REQUIRED QtGui QtXml)
+# add_executable(myexe main.cpp)
+# target_link_libraries(myexe Qt4::QtGui Qt4::QtXml)
+#
+# .. note::
+#
+# When using :prop_tgt:`IMPORTED` targets, the qtmain.lib static library is
+# automatically linked on Windows for :variable:`WIN32 <WIN32_EXECUTABLE>`
+# executables. To disable that globally, set the
+# ``QT4_NO_LINK_QTMAIN`` variable before finding Qt4. To disable that
+# for a particular executable, set the ``QT4_NO_LINK_QTMAIN`` target
+# property to ``TRUE`` on the executable.
+#
+# Qt Build Tools
+# ==============
+#
+# Qt relies on some bundled tools for code generation, such as ``moc`` for
+# meta-object code generation,``uic`` for widget layout and population,
+# and ``rcc`` for virtual filesystem content generation. These tools may be
+# automatically invoked by :manual:`cmake(1)` if the appropriate conditions
+# are met. See :manual:`cmake-qt(7)` for more.
+#
+# Qt Macros
+# =========
+#
+# In some cases it can be necessary or useful to invoke the Qt build tools in a
+# more-manual way. Several macros are available to add targets for such uses.
+#
+# ::
+#
+# macro QT4_WRAP_CPP(outfiles inputfile ... [TARGET tgt] OPTIONS ...)
+# create moc code from a list of files containing Qt class with
+# the Q_OBJECT declaration. Per-directory preprocessor definitions
+# are also added. If the <tgt> is specified, the
+# INTERFACE_INCLUDE_DIRECTORIES and INTERFACE_COMPILE_DEFINITIONS from
+# the <tgt> are passed to moc. Options may be given to moc, such as
+# those found when executing "moc -help".
+#
+#
+# ::
+#
+# macro QT4_WRAP_UI(outfiles inputfile ... OPTIONS ...)
+# create code from a list of Qt designer ui files.
+# Options may be given to uic, such as those found
+# when executing "uic -help"
+#
+#
+# ::
+#
+# macro QT4_ADD_RESOURCES(outfiles inputfile ... OPTIONS ...)
+# create code from a list of Qt resource files.
+# Options may be given to rcc, such as those found
+# when executing "rcc -help"
+#
+#
+# ::
+#
+# macro QT4_GENERATE_MOC(inputfile outputfile [TARGET tgt])
+# creates a rule to run moc on infile and create outfile.
+# Use this if for some reason QT4_WRAP_CPP() isn't appropriate, e.g.
+# because you need a custom filename for the moc file or something
+# similar. If the <tgt> is specified, the
+# INTERFACE_INCLUDE_DIRECTORIES and INTERFACE_COMPILE_DEFINITIONS from
+# the <tgt> are passed to moc.
+#
+#
+# ::
+#
+# macro QT4_ADD_DBUS_INTERFACE(outfiles interface basename)
+# Create the interface header and implementation files with the
+# given basename from the given interface xml file and add it to
+# the list of sources.
+#
+# You can pass additional parameters to the qdbusxml2cpp call by setting
+# properties on the input file:
+#
+# INCLUDE the given file will be included in the generate interface header
+#
+# CLASSNAME the generated class is named accordingly
+#
+# NO_NAMESPACE the generated class is not wrapped in a namespace
+#
+#
+# ::
+#
+# macro QT4_ADD_DBUS_INTERFACES(outfiles inputfile ... )
+# Create the interface header and implementation files
+# for all listed interface xml files.
+# The basename will be automatically determined from the name of the xml file.
+#
+# The source file properties described for QT4_ADD_DBUS_INTERFACE also apply here.
+#
+#
+# ::
+#
+# macro QT4_ADD_DBUS_ADAPTOR(outfiles xmlfile parentheader parentclassname [basename] [classname])
+# create a dbus adaptor (header and implementation file) from the xml file
+# describing the interface, and add it to the list of sources. The adaptor
+# forwards the calls to a parent class, defined in parentheader and named
+# parentclassname. The name of the generated files will be
+# <basename>adaptor.{cpp,h} where basename defaults to the basename of the xml file.
+# If <classname> is provided, then it will be used as the classname of the
+# adaptor itself.
+#
+#
+# ::
+#
+# macro QT4_GENERATE_DBUS_INTERFACE( header [interfacename] OPTIONS ...)
+# generate the xml interface file from the given header.
+# If the optional argument interfacename is omitted, the name of the
+# interface file is constructed from the basename of the header with
+# the suffix .xml appended.
+# Options may be given to qdbuscpp2xml, such as those found when executing "qdbuscpp2xml --help"
+#
+#
+# ::
+#
+# macro QT4_CREATE_TRANSLATION( qm_files directories ... sources ...
+# ts_files ... OPTIONS ...)
+# out: qm_files
+# in: directories sources ts_files
+# options: flags to pass to lupdate, such as -extensions to specify
+# extensions for a directory scan.
+# generates commands to create .ts (vie lupdate) and .qm
+# (via lrelease) - files from directories and/or sources. The ts files are
+# created and/or updated in the source tree (unless given with full paths).
+# The qm files are generated in the build tree.
+# Updating the translations can be done by adding the qm_files
+# to the source list of your library/executable, so they are
+# always updated, or by adding a custom target to control when
+# they get updated/generated.
+#
+#
+# ::
+#
+# macro QT4_ADD_TRANSLATION( qm_files ts_files ... )
+# out: qm_files
+# in: ts_files
+# generates commands to create .qm from .ts - files. The generated
+# filenames can be found in qm_files. The ts_files
+# must exist and are not updated in any way.
+#
+#
+# ::
+#
+# macro QT4_AUTOMOC(sourcefile1 sourcefile2 ... [TARGET tgt])
+# The qt4_automoc macro is obsolete. Use the CMAKE_AUTOMOC feature instead.
+# This macro is still experimental.
+# It can be used to have moc automatically handled.
+# So if you have the files foo.h and foo.cpp, and in foo.h a
+# a class uses the Q_OBJECT macro, moc has to run on it. If you don't
+# want to use QT4_WRAP_CPP() (which is reliable and mature), you can insert
+# #include "foo.moc"
+# in foo.cpp and then give foo.cpp as argument to QT4_AUTOMOC(). This will the
+# scan all listed files at cmake-time for such included moc files and if it finds
+# them cause a rule to be generated to run moc at build time on the
+# accompanying header file foo.h.
+# If a source file has the SKIP_AUTOMOC property set it will be ignored by this macro.
+# If the <tgt> is specified, the INTERFACE_INCLUDE_DIRECTORIES and
+# INTERFACE_COMPILE_DEFINITIONS from the <tgt> are passed to moc.
+#
+#
+# ::
+#
+# function QT4_USE_MODULES( target [link_type] modules...)
+# This function is obsolete. Use target_link_libraries with IMPORTED targets instead.
+# Make <target> use the <modules> from Qt. Using a Qt module means
+# to link to the library, add the relevant include directories for the module,
+# and add the relevant compiler defines for using the module.
+# Modules are roughly equivalent to components of Qt4, so usage would be
+# something like:
+# qt4_use_modules(myexe Core Gui Declarative)
+# to use QtCore, QtGui and QtDeclarative. The optional <link_type> argument can
+# be specified as either LINK_PUBLIC or LINK_PRIVATE to specify the same argument
+# to the target_link_libraries call.
+#
+#
+# IMPORTED Targets
+# ================
+#
+# A particular Qt library may be used by using the corresponding
+# :prop_tgt:`IMPORTED` target with the :command:`target_link_libraries`
+# command:
+#
+# .. code-block:: cmake
+#
+# target_link_libraries(myexe Qt4::QtGui Qt4::QtXml)
+#
+# Using a target in this way causes :cmake(1)` to use the appropriate include
+# directories and compile definitions for the target when compiling ``myexe``.
+#
+# Targets are aware of their dependencies, so for example it is not necessary
+# to list ``Qt4::QtCore`` if another Qt library is listed, and it is not
+# necessary to list ``Qt4::QtGui`` if ``Qt4::QtDeclarative`` is listed.
+# Targets may be tested for existence in the usual way with the
+# :command:`if(TARGET)` command.
#
# The Qt toolkit may contain both debug and release libraries.
-# In that case, the following library variables will contain both.
-# You do not need to use these variables if you include QT_USE_FILE,
-# and use QT_LIBRARIES.
-#
-# QT_QT3SUPPORT_LIBRARY The Qt3Support library
-# QT_QTASSISTANT_LIBRARY The QtAssistant library
-# QT_QTASSISTANTCLIENT_LIBRARY The QtAssistantClient library
-# QT_QAXCONTAINER_LIBRARY The QAxContainer library (Windows only)
-# QT_QAXSERVER_LIBRARY The QAxServer library (Windows only)
-# QT_QTCORE_LIBRARY The QtCore library
-# QT_QTDBUS_LIBRARY The QtDBus library
-# QT_QTDESIGNER_LIBRARY The QtDesigner library
-# QT_QTDESIGNERCOMPONENTS_LIBRARY The QtDesignerComponents library
-# QT_QTGUI_LIBRARY The QtGui library
-# QT_QTHELP_LIBRARY The QtHelp library
-# QT_QTMOTIF_LIBRARY The QtMotif library
-# QT_QTMULTIMEDIA_LIBRARY The QtMultimedia library
-# QT_QTNETWORK_LIBRARY The QtNetwork library
-# QT_QTNSPLUGIN_LIBRARY The QtNsPLugin library
-# QT_QTOPENGL_LIBRARY The QtOpenGL library
-# QT_QTSCRIPT_LIBRARY The QtScript library
-# QT_QTSQL_LIBRARY The QtSql library
-# QT_QTSVG_LIBRARY The QtSvg library
-# QT_QTTEST_LIBRARY The QtTest library
-# QT_QTUITOOLS_LIBRARY The QtUiTools library
-# QT_QTWEBKIT_LIBRARY The QtWebKit library
-# QT_QTXML_LIBRARY The QtXml library
-# QT_QTXMLPATTERNS_LIBRARY The QtXmlPatterns library
-# QT_QTMAIN_LIBRARY The qtmain library for Windows
-# QT_PHONON_LIBRARY The phonon library
-# QT_QTSCRIPTTOOLS_LIBRARY The QtScriptTools library
-#
-# The QtDeclarative library: QT_QTDECLARATIVE_LIBRARY
-#
-# also defined, but NOT for general use are
-# QT_MOC_EXECUTABLE Where to find the moc tool.
-# QT_UIC_EXECUTABLE Where to find the uic tool.
-# QT_UIC3_EXECUTABLE Where to find the uic3 tool.
-# QT_RCC_EXECUTABLE Where to find the rcc tool
-# QT_DBUSCPP2XML_EXECUTABLE Where to find the qdbuscpp2xml tool.
-# QT_DBUSXML2CPP_EXECUTABLE Where to find the qdbusxml2cpp tool.
-# QT_LUPDATE_EXECUTABLE Where to find the lupdate tool.
-# QT_LRELEASE_EXECUTABLE Where to find the lrelease tool.
-# QT_QCOLLECTIONGENERATOR_EXECUTABLE Where to find the qcollectiongenerator tool.
-# QT_DESIGNER_EXECUTABLE Where to find the Qt designer tool.
-# QT_LINGUIST_EXECUTABLE Where to find the Qt linguist tool.
-#
-#
-# These are around for backwards compatibility
-# they will be set
-# QT_WRAP_CPP Set true if QT_MOC_EXECUTABLE is found
-# QT_WRAP_UI Set true if QT_UIC_EXECUTABLE is found
-#
-# These variables do _NOT_ have any effect anymore (compared to FindQt.cmake)
-# QT_MT_REQUIRED Qt4 is now always multithreaded
-#
-# These variables are set to "" Because Qt structure changed
-# (They make no sense in Qt4)
-# QT_QT_LIBRARY Qt-Library is now split
+# :manual:`cmake(1)` will choose the appropriate version based on the build
+# configuration.
+#
+# ``Qt4::QtCore``
+# The QtCore target
+# ``Qt4::QtGui``
+# The QtGui target
+# ``Qt4::Qt3Support``
+# The Qt3Support target
+# ``Qt4::QtAssistant``
+# The QtAssistant target
+# ``Qt4::QtAssistantClient``
+# The QtAssistantClient target
+# ``Qt4::QAxContainer``
+# The QAxContainer target (Windows only)
+# ``Qt4::QAxServer``
+# The QAxServer target (Windows only)
+# ``Qt4::QtDBus``
+# The QtDBus target
+# ``Qt4::QtDesigner``
+# The QtDesigner target
+# ``Qt4::QtDesignerComponents``
+# The QtDesignerComponents target
+# ``Qt4::QtHelp``
+# The QtHelp target
+# ``Qt4::QtMotif``
+# The QtMotif target
+# ``Qt4::QtMultimedia``
+# The QtMultimedia target
+# ``Qt4::QtNetwork``
+# The QtNetwork target
+# ``Qt4::QtNsPLugin``
+# The QtNsPLugin target
+# ``Qt4::QtOpenGL``
+# The QtOpenGL target
+# ``Qt4::QtScript``
+# The QtScript target
+# ``Qt4::QtScriptTools``
+# The QtScriptTools target
+# ``Qt4::QtSql``
+# The QtSql target
+# ``Qt4::QtSvg``
+# The QtSvg target
+# ``Qt4::QtTest``
+# The QtTest target
+# ``Qt4::QtUiTools``
+# The QtUiTools target
+# ``Qt4::QtWebKit``
+# The QtWebKit target
+# ``Qt4::QtXml``
+# The QtXml target
+# ``Qt4::QtXmlPatterns``
+# The QtXmlPatterns target
+# ``Qt4::phonon``
+# The phonon target
+#
+# Result Variables
+# ================
+#
+# Below is a detailed list of variables that FindQt4.cmake sets.
+#
+# ``Qt4_FOUND``
+# If false, don't try to use Qt 4.
+# ``QT_FOUND``
+# If false, don't try to use Qt. This variable is for compatibility only.
+# ``QT4_FOUND``
+# If false, don't try to use Qt 4. This variable is for compatibility only.
+# ``QT_VERSION_MAJOR``
+# The major version of Qt found.
+# ``QT_VERSION_MINOR``
+# The minor version of Qt found.
+# ``QT_VERSION_PATCH``
+# The patch version of Qt found.
#=============================================================================
# Copyright 2005-2009 Kitware, Inc.
@@ -576,6 +519,19 @@ _qt4_find_qmake("${_QT4_QMAKE_NAMES}" QT_QMAKE_EXECUTABLE QTVERSION)
if (QT_QMAKE_EXECUTABLE AND QTVERSION)
+ if (Qt5Core_FOUND)
+ # Qt5CoreConfig sets QT_MOC_EXECUTABLE as a non-cache variable to the Qt 5
+ # path to moc. Unset that variable when Qt 4 and 5 are used together, so
+ # that when find_program looks for moc, it is not set to the Qt 5 version.
+ # If FindQt4 has already put the Qt 4 path in the cache, the unset()
+ # command 'unhides' the (correct) cache variable.
+ unset(QT_MOC_EXECUTABLE)
+ endif()
+ if (QT_QMAKE_EXECUTABLE_LAST)
+ string(COMPARE NOTEQUAL "${QT_QMAKE_EXECUTABLE_LAST}" "${QT_QMAKE_EXECUTABLE}" QT_QMAKE_CHANGED)
+ endif()
+ set(QT_QMAKE_EXECUTABLE_LAST "${QT_QMAKE_EXECUTABLE}" CACHE INTERNAL "" FORCE)
+
_qt4_get_version_components("${QTVERSION}" QT_VERSION_MAJOR QT_VERSION_MINOR QT_VERSION_PATCH)
# ask qmake for the mkspecs directory
@@ -594,7 +550,8 @@ if (QT_QMAKE_EXECUTABLE AND QTVERSION)
set(QT_MKSPECS_DIR NOTFOUND)
find_path(QT_MKSPECS_DIR NAMES qconfig.pri
HINTS ${qt_cross_paths} ${qt_mkspecs_dirs}
- DOC "The location of the Qt mkspecs containing qconfig.pri")
+ DOC "The location of the Qt mkspecs containing qconfig.pri"
+ NO_CMAKE_FIND_ROOT_PATH)
endif()
if(EXISTS "${QT_MKSPECS_DIR}/qconfig.pri")
@@ -750,7 +707,8 @@ if (QT_QMAKE_EXECUTABLE AND QTVERSION)
endforeach()
find_path(QT_PLUGINS_DIR NAMES accessible imageformats sqldrivers codecs designer
HINTS ${qt_cross_paths} ${qt_plugins_dir}
- DOC "The location of the Qt plugins")
+ DOC "The location of the Qt plugins"
+ NO_CMAKE_FIND_ROOT_PATH)
endif ()
# ask qmake for the translations directory
@@ -770,6 +728,7 @@ if (QT_QMAKE_EXECUTABLE AND QTVERSION)
find_path(QT_IMPORTS_DIR NAMES Qt
HINTS ${qt_cross_paths} ${qt_imports_dir}
DOC "The location of the Qt imports"
+ NO_CMAKE_FIND_ROOT_PATH
NO_CMAKE_PATH NO_CMAKE_ENVIRONMENT_PATH NO_SYSTEM_ENVIRONMENT_PATH
NO_CMAKE_SYSTEM_PATH)
mark_as_advanced(QT_IMPORTS_DIR)
@@ -1011,20 +970,24 @@ if (QT_QMAKE_EXECUTABLE AND QTVERSION)
endmacro()
macro(_qt4_add_target_depends _QT_MODULE)
- get_target_property(_configs Qt4::${_QT_MODULE} IMPORTED_CONFIGURATIONS)
- _qt4_add_target_depends_internal(${_QT_MODULE} INTERFACE_LINK_LIBRARIES ${ARGN})
- foreach(_config ${_configs})
- _qt4_add_target_depends_internal(${_QT_MODULE} IMPORTED_LINK_INTERFACE_LIBRARIES_${_config} ${ARGN})
- endforeach()
- set(_configs)
+ if (TARGET Qt4::${_QT_MODULE})
+ get_target_property(_configs Qt4::${_QT_MODULE} IMPORTED_CONFIGURATIONS)
+ _qt4_add_target_depends_internal(${_QT_MODULE} INTERFACE_LINK_LIBRARIES ${ARGN})
+ foreach(_config ${_configs})
+ _qt4_add_target_depends_internal(${_QT_MODULE} IMPORTED_LINK_INTERFACE_LIBRARIES_${_config} ${ARGN})
+ endforeach()
+ set(_configs)
+ endif()
endmacro()
macro(_qt4_add_target_private_depends _QT_MODULE)
- get_target_property(_configs ${_QT_MODULE} IMPORTED_CONFIGURATIONS)
- foreach(_config ${_configs})
- _qt4_add_target_depends_internal(${_QT_MODULE} IMPORTED_LINK_DEPENDENT_LIBRARIES_${_config} ${ARGN})
- endforeach()
- set(_configs)
+ if (TARGET Qt4::${_QT_MODULE})
+ get_target_property(_configs Qt4::${_QT_MODULE} IMPORTED_CONFIGURATIONS)
+ foreach(_config ${_configs})
+ _qt4_add_target_depends_internal(${_QT_MODULE} IMPORTED_LINK_DEPENDENT_LIBRARIES_${_config} ${ARGN})
+ endforeach()
+ set(_configs)
+ endif()
endmacro()
@@ -1036,6 +999,10 @@ if (QT_QMAKE_EXECUTABLE AND QTVERSION)
"${QT_MKSPECS_DIR}/default"
${QT_INCLUDE_DIR}
)
+ set_property(TARGET Qt4::QtCore APPEND PROPERTY
+ INTERFACE_COMPILE_DEFINITIONS
+ $<$<NOT:$<CONFIG:Debug>>:QT_NO_DEBUG>
+ )
set_property(TARGET Qt4::QtCore PROPERTY
INTERFACE_QT_MAJOR_VERSION 4
)
@@ -1156,71 +1123,34 @@ if (QT_QMAKE_EXECUTABLE AND QTVERSION)
set(QT_LINGUIST_EXECUTABLE NOTFOUND)
endif()
- find_program(QT_MOC_EXECUTABLE
- NAMES moc-qt4 moc moc4
- PATHS ${QT_BINARY_DIR}
- NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH
- )
-
- find_program(QT_UIC_EXECUTABLE
- NAMES uic-qt4 uic uic4
- PATHS ${QT_BINARY_DIR}
- NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH
- )
-
- find_program(QT_UIC3_EXECUTABLE
- NAMES uic3
- PATHS ${QT_BINARY_DIR}
- NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH
- )
-
- find_program(QT_RCC_EXECUTABLE
- NAMES rcc
- PATHS ${QT_BINARY_DIR}
- NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH
- )
-
- find_program(QT_DBUSCPP2XML_EXECUTABLE
- NAMES qdbuscpp2xml
- PATHS ${QT_BINARY_DIR}
- NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH
- )
-
- find_program(QT_DBUSXML2CPP_EXECUTABLE
- NAMES qdbusxml2cpp
- PATHS ${QT_BINARY_DIR}
- NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH
- )
-
- find_program(QT_LUPDATE_EXECUTABLE
- NAMES lupdate-qt4 lupdate lupdate4
- PATHS ${QT_BINARY_DIR}
- NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH
- )
-
- find_program(QT_LRELEASE_EXECUTABLE
- NAMES lrelease-qt4 lrelease lrelease4
- PATHS ${QT_BINARY_DIR}
- NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH
- )
-
- find_program(QT_QCOLLECTIONGENERATOR_EXECUTABLE
- NAMES qcollectiongenerator-qt4 qcollectiongenerator
- PATHS ${QT_BINARY_DIR}
- NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH
- )
-
- find_program(QT_DESIGNER_EXECUTABLE
- NAMES designer-qt4 designer designer4
- PATHS ${QT_BINARY_DIR}
- NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH
- )
+ macro(_find_qt4_program VAR NAME)
+ find_program(${VAR}
+ NAMES ${ARGN}
+ PATHS ${QT_BINARY_DIR}
+ NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH
+ )
+ if (${VAR} AND NOT TARGET ${NAME})
+ add_executable(${NAME} IMPORTED)
+ set_property(TARGET ${NAME} PROPERTY IMPORTED_LOCATION ${${VAR}})
+ endif()
+ endmacro()
- find_program(QT_LINGUIST_EXECUTABLE
- NAMES linguist-qt4 linguist linguist4
- PATHS ${QT_BINARY_DIR}
- NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH
- )
+ _find_qt4_program(QT_MOC_EXECUTABLE Qt4::moc moc-qt4 moc moc4)
+ _find_qt4_program(QT_UIC_EXECUTABLE Qt4::uic uic-qt4 uic uic4)
+ _find_qt4_program(QT_UIC3_EXECUTABLE Qt4::uic3 uic3)
+ _find_qt4_program(QT_RCC_EXECUTABLE Qt4::rcc rcc)
+ _find_qt4_program(QT_DBUSCPP2XML_EXECUTABLE Qt4::qdbuscpp2xml qdbuscpp2xml)
+ _find_qt4_program(QT_DBUSXML2CPP_EXECUTABLE Qt4::qdbusxml2cpp qdbusxml2cpp)
+ _find_qt4_program(QT_LUPDATE_EXECUTABLE Qt4::lupdate lupdate-qt4 lupdate lupdate4)
+ _find_qt4_program(QT_LRELEASE_EXECUTABLE Qt4::lrelease lrelease-qt4 lrelease lrelease4)
+ _find_qt4_program(QT_QCOLLECTIONGENERATOR_EXECUTABLE Qt4::qcollectiongenerator qcollectiongenerator-qt4 qcollectiongenerator)
+ _find_qt4_program(QT_DESIGNER_EXECUTABLE Qt4::designer designer-qt4 designer designer4)
+ _find_qt4_program(QT_LINGUIST_EXECUTABLE Qt4::linguist linguist-qt4 linguist linguist4)
+
+ if (NOT TARGET Qt4::qmake)
+ add_executable(Qt4::qmake IMPORTED)
+ set_property(TARGET Qt4::qmake PROPERTY IMPORTED_LOCATION ${QT_QMAKE_EXECUTABLE})
+ endif()
if (QT_MOC_EXECUTABLE)
set(QT_WRAP_CPP "YES")
diff --git a/Modules/FindQuickTime.cmake b/Modules/FindQuickTime.cmake
index 42a0dce..2779269 100644
--- a/Modules/FindQuickTime.cmake
+++ b/Modules/FindQuickTime.cmake
@@ -1,11 +1,15 @@
-# Locate QuickTime
-# This module defines
-# QUICKTIME_LIBRARY
+#.rst:
+# FindQuickTime
+# -------------
+#
+#
+#
+# Locate QuickTime This module defines QUICKTIME_LIBRARY
# QUICKTIME_FOUND, if false, do not try to link to gdal
# QUICKTIME_INCLUDE_DIR, where to find the headers
#
-# $QUICKTIME_DIR is an environment variable that would
-# correspond to the ./configure --prefix=$QUICKTIME_DIR
+# $QUICKTIME_DIR is an environment variable that would correspond to the
+# ./configure --prefix=$QUICKTIME_DIR
#
# Created by Eric Wing.
diff --git a/Modules/FindRTI.cmake b/Modules/FindRTI.cmake
index 60990b7..1aad0a8 100644
--- a/Modules/FindRTI.cmake
+++ b/Modules/FindRTI.cmake
@@ -1,17 +1,32 @@
-# - Try to find M&S HLA RTI libraries
-# This module finds if any HLA RTI is installed and locates the standard RTI
-# include files and libraries.
+#.rst:
+# FindRTI
+# -------
+#
+# Try to find M&S HLA RTI libraries
+#
+# This module finds if any HLA RTI is installed and locates the standard
+# RTI include files and libraries.
+#
+# RTI is a simulation infrastructure standardized by IEEE and SISO. It
+# has a well defined C++ API that assures that simulation applications
+# are independent on a particular RTI implementation.
+#
+# ::
+#
+# http://en.wikipedia.org/wiki/Run-Time_Infrastructure_(simulation)
+#
#
-# RTI is a simulation infrastructure standardized by IEEE and SISO. It has a
-# well defined C++ API that assures that simulation applications are
-# independent on a particular RTI implementation.
-# http://en.wikipedia.org/wiki/Run-Time_Infrastructure_(simulation)
#
# This code sets the following variables:
-# RTI_INCLUDE_DIR = the directory where RTI includes file are found
-# RTI_LIBRARIES = The libraries to link against to use RTI
-# RTI_DEFINITIONS = -DRTI_USES_STD_FSTREAM
-# RTI_FOUND = Set to FALSE if any HLA RTI was not found
+#
+# ::
+#
+# RTI_INCLUDE_DIR = the directory where RTI includes file are found
+# RTI_LIBRARIES = The libraries to link against to use RTI
+# RTI_DEFINITIONS = -DRTI_USES_STD_FSTREAM
+# RTI_FOUND = Set to FALSE if any HLA RTI was not found
+#
+#
#
# Report problems to <certi-devel@nongnu.org>
diff --git a/Modules/FindRuby.cmake b/Modules/FindRuby.cmake
index c02158f..aafdc09 100644
--- a/Modules/FindRuby.cmake
+++ b/Modules/FindRuby.cmake
@@ -1,20 +1,32 @@
-# - Find Ruby
-# This module finds if Ruby is installed and determines where the include files
-# and libraries are. Ruby 1.8 and 1.9 are supported.
+#.rst:
+# FindRuby
+# --------
+#
+# Find Ruby
+#
+# This module finds if Ruby is installed and determines where the
+# include files and libraries are. Ruby 1.8, 1.9, 2.0 and 2.1 are
+# supported.
#
# The minimum required version of Ruby can be specified using the
-# standard syntax, e.g. find_package(Ruby 1.8)
+# standard syntax, e.g. find_package(Ruby 1.8)
+#
+# It also determines what the name of the library is. This code sets
+# the following variables:
+#
+# ::
+#
+# RUBY_EXECUTABLE = full path to the ruby binary
+# RUBY_INCLUDE_DIRS = include dirs to be used when using the ruby library
+# RUBY_LIBRARY = full path to the ruby library
+# RUBY_VERSION = the version of ruby which was found, e.g. "1.8.7"
+# RUBY_FOUND = set to true if ruby ws found successfully
#
-# It also determines what the name of the library is. This
-# code sets the following variables:
#
-# RUBY_EXECUTABLE = full path to the ruby binary
-# RUBY_INCLUDE_DIRS = include dirs to be used when using the ruby library
-# RUBY_LIBRARY = full path to the ruby library
-# RUBY_VERSION = the version of ruby which was found, e.g. "1.8.7"
-# RUBY_FOUND = set to true if ruby ws found successfully
#
-# RUBY_INCLUDE_PATH = same as RUBY_INCLUDE_DIRS, only provided for compatibility reasons, don't use it
+# ::
+#
+# RUBY_INCLUDE_PATH = same as RUBY_INCLUDE_DIRS, only provided for compatibility reasons, don't use it
#=============================================================================
# Copyright 2004-2009 Kitware, Inc.
@@ -56,6 +68,8 @@ else()
endif()
if(NOT Ruby_FIND_VERSION_EXACT)
+ list(APPEND _RUBY_POSSIBLE_EXECUTABLE_NAMES ruby2.1 ruby21)
+ list(APPEND _RUBY_POSSIBLE_EXECUTABLE_NAMES ruby2.0 ruby20)
list(APPEND _RUBY_POSSIBLE_EXECUTABLE_NAMES ruby1.9 ruby19)
# if we want a version below 1.9, also look for ruby 1.8
@@ -68,7 +82,6 @@ endif()
find_program(RUBY_EXECUTABLE NAMES ${_RUBY_POSSIBLE_EXECUTABLE_NAMES})
-
if(RUBY_EXECUTABLE AND NOT RUBY_VERSION_MAJOR)
function(_RUBY_CONFIG_VAR RBVAR OUTVAR)
execute_process(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['${RBVAR}']"
@@ -94,6 +107,7 @@ if(RUBY_EXECUTABLE AND NOT RUBY_VERSION_MAJOR)
_RUBY_CONFIG_VAR("archdir" RUBY_ARCH_DIR)
_RUBY_CONFIG_VAR("arch" RUBY_ARCH)
_RUBY_CONFIG_VAR("rubyhdrdir" RUBY_HDR_DIR)
+ _RUBY_CONFIG_VAR("rubyarchhdrdir" RUBY_ARCHHDR_DIR)
_RUBY_CONFIG_VAR("libdir" RUBY_POSSIBLE_LIB_DIR)
_RUBY_CONFIG_VAR("rubylibdir" RUBY_RUBY_LIB_DIR)
@@ -115,7 +129,8 @@ if(RUBY_EXECUTABLE AND NOT RUBY_VERSION_MAJOR)
set(RUBY_VERSION_MINOR ${RUBY_VERSION_MINOR} CACHE PATH "The Ruby minor version" FORCE)
set(RUBY_VERSION_PATCH ${RUBY_VERSION_PATCH} CACHE PATH "The Ruby patch version" FORCE)
set(RUBY_ARCH_DIR ${RUBY_ARCH_DIR} CACHE PATH "The Ruby arch dir" FORCE)
- set(RUBY_HDR_DIR ${RUBY_HDR_DIR} CACHE PATH "The Ruby header dir (1.9)" FORCE)
+ set(RUBY_HDR_DIR ${RUBY_HDR_DIR} CACHE PATH "The Ruby header dir (1.9+)" FORCE)
+ set(RUBY_ARCHHDR_DIR ${RUBY_ARCHHDR_DIR} CACHE PATH "The Ruby arch header dir (2.0+)" FORCE)
set(RUBY_POSSIBLE_LIB_DIR ${RUBY_POSSIBLE_LIB_DIR} CACHE PATH "The Ruby lib dir" FORCE)
set(RUBY_RUBY_LIB_DIR ${RUBY_RUBY_LIB_DIR} CACHE PATH "The Ruby ruby-lib dir" FORCE)
set(RUBY_SITEARCH_DIR ${RUBY_SITEARCH_DIR} CACHE PATH "The Ruby site arch dir" FORCE)
@@ -128,6 +143,7 @@ if(RUBY_EXECUTABLE AND NOT RUBY_VERSION_MAJOR)
RUBY_ARCH_DIR
RUBY_ARCH
RUBY_HDR_DIR
+ RUBY_ARCHHDR_DIR
RUBY_POSSIBLE_LIB_DIR
RUBY_RUBY_LIB_DIR
RUBY_SITEARCH_DIR
@@ -149,10 +165,20 @@ if(RUBY_EXECUTABLE AND NOT RUBY_VERSION_MAJOR)
set(RUBY_VERSION_MINOR 8)
set(RUBY_VERSION_PATCH 0)
# check whether we found 1.9.x
- if(${RUBY_EXECUTABLE} MATCHES "ruby1.?9" OR RUBY_HDR_DIR)
+ if(${RUBY_EXECUTABLE} MATCHES "ruby1.?9")
set(RUBY_VERSION_MAJOR 1)
set(RUBY_VERSION_MINOR 9)
endif()
+ # check whether we found 2.0.x
+ if(${RUBY_EXECUTABLE} MATCHES "ruby2.?0")
+ set(RUBY_VERSION_MAJOR 2)
+ set(RUBY_VERSION_MINOR 0)
+ endif()
+ # check whether we found 2.1.x
+ if(${RUBY_EXECUTABLE} MATCHES "ruby2.?1")
+ set(RUBY_VERSION_MAJOR 2)
+ set(RUBY_VERSION_MINOR 1)
+ endif()
endif()
if(RUBY_VERSION_MAJOR)
@@ -178,6 +204,7 @@ if( "${Ruby_FIND_VERSION_SHORT_NODOT}" GREATER 18 OR "${_RUBY_VERSION_SHORT_NO
HINTS
${RUBY_HDR_DIR}/${RUBY_ARCH}
${RUBY_ARCH_DIR}
+ ${RUBY_ARCHHDR_DIR}
)
set(RUBY_INCLUDE_DIRS ${RUBY_INCLUDE_DIRS} ${RUBY_CONFIG_INCLUDE_DIR} )
diff --git a/Modules/FindSDL.cmake b/Modules/FindSDL.cmake
index fec142e..3905e54 100644
--- a/Modules/FindSDL.cmake
+++ b/Modules/FindSDL.cmake
@@ -1,57 +1,72 @@
-# - Locate SDL library
+#.rst:
+# FindSDL
+# -------
+#
+# Locate SDL library
+#
# This module defines
-# SDL_LIBRARY, the name of the library to link against
-# SDL_FOUND, if false, do not try to link to SDL
-# SDL_INCLUDE_DIR, where to find SDL.h
-# SDL_VERSION_STRING, human-readable string containing the version of SDL
-#
-# This module responds to the the flag:
-# SDL_BUILDING_LIBRARY
-# If this is defined, then no SDL_main will be linked in because
-# only applications need main().
-# Otherwise, it is assumed you are building an application and this
-# module will attempt to locate and set the the proper link flags
-# as part of the returned SDL_LIBRARY variable.
+#
+# ::
+#
+# SDL_LIBRARY, the name of the library to link against
+# SDL_FOUND, if false, do not try to link to SDL
+# SDL_INCLUDE_DIR, where to find SDL.h
+# SDL_VERSION_STRING, human-readable string containing the version of SDL
+#
+#
+#
+# This module responds to the flag:
+#
+# ::
+#
+# SDL_BUILDING_LIBRARY
+# If this is defined, then no SDL_main will be linked in because
+# only applications need main().
+# Otherwise, it is assumed you are building an application and this
+# module will attempt to locate and set the proper link flags
+# as part of the returned SDL_LIBRARY variable.
+#
+#
#
# Don't forget to include SDLmain.h and SDLmain.m your project for the
-# OS X framework based version. (Other versions link to -lSDLmain which
+# OS X framework based version. (Other versions link to -lSDLmain which
# this module will try to find on your behalf.) Also for OS X, this
# module will automatically add the -framework Cocoa on your behalf.
#
#
-# Additional Note: If you see an empty SDL_LIBRARY_TEMP in your configuration
-# and no SDL_LIBRARY, it means CMake did not find your SDL library
-# (SDL.dll, libsdl.so, SDL.framework, etc).
-# Set SDL_LIBRARY_TEMP to point to your SDL library, and configure again.
-# Similarly, if you see an empty SDLMAIN_LIBRARY, you should set this value
-# as appropriate. These values are used to generate the final SDL_LIBRARY
-# variable, but when these values are unset, SDL_LIBRARY does not get created.
+#
+# Additional Note: If you see an empty SDL_LIBRARY_TEMP in your
+# configuration and no SDL_LIBRARY, it means CMake did not find your SDL
+# library (SDL.dll, libsdl.so, SDL.framework, etc). Set
+# SDL_LIBRARY_TEMP to point to your SDL library, and configure again.
+# Similarly, if you see an empty SDLMAIN_LIBRARY, you should set this
+# value as appropriate. These values are used to generate the final
+# SDL_LIBRARY variable, but when these values are unset, SDL_LIBRARY
+# does not get created.
#
#
-# $SDLDIR is an environment variable that would
-# correspond to the ./configure --prefix=$SDLDIR
-# used in building SDL.
-# l.e.galup 9-20-02
#
-# Modified by Eric Wing.
-# Added code to assist with automated building by using environmental variables
-# and providing a more controlled/consistent search behavior.
-# Added new modifications to recognize OS X frameworks and
-# additional Unix paths (FreeBSD, etc).
-# Also corrected the header search path to follow "proper" SDL guidelines.
-# Added a search for SDLmain which is needed by some platforms.
-# Added a search for threads which is needed by some platforms.
-# Added needed compile switches for MinGW.
+# $SDLDIR is an environment variable that would correspond to the
+# ./configure --prefix=$SDLDIR used in building SDL. l.e.galup 9-20-02
+#
+# Modified by Eric Wing. Added code to assist with automated building
+# by using environmental variables and providing a more
+# controlled/consistent search behavior. Added new modifications to
+# recognize OS X frameworks and additional Unix paths (FreeBSD, etc).
+# Also corrected the header search path to follow "proper" SDL
+# guidelines. Added a search for SDLmain which is needed by some
+# platforms. Added a search for threads which is needed by some
+# platforms. Added needed compile switches for MinGW.
#
# On OSX, this will prefer the Framework version (if found) over others.
-# People will have to manually change the cache values of
-# SDL_LIBRARY to override this selection or set the CMake environment
+# People will have to manually change the cache values of SDL_LIBRARY to
+# override this selection or set the CMake environment
# CMAKE_INCLUDE_PATH to modify the search paths.
#
# Note that the header path has changed from SDL/SDL.h to just SDL.h
-# This needed to change because "proper" SDL convention
-# is #include "SDL.h", not <SDL/SDL.h>. This is done for portability
-# reasons because not all systems place things in SDL/ (see FreeBSD).
+# This needed to change because "proper" SDL convention is #include
+# "SDL.h", not <SDL/SDL.h>. This is done for portability reasons
+# because not all systems place things in SDL/ (see FreeBSD).
#=============================================================================
# Copyright 2003-2009 Kitware, Inc.
@@ -70,16 +85,24 @@
find_path(SDL_INCLUDE_DIR SDL.h
HINTS
ENV SDLDIR
- PATH_SUFFIXES include/SDL include/SDL12 include/SDL11 include
+ PATH_SUFFIXES SDL SDL12 SDL11
+ # path suffixes to search inside ENV{SDLDIR}
+ include/SDL include/SDL12 include/SDL11 include
)
+if(CMAKE_SIZEOF_VOID_P EQUAL 8)
+ set(VC_LIB_PATH_SUFFIX lib/x64)
+else()
+ set(VC_LIB_PATH_SUFFIX lib/x86)
+endif()
+
# SDL-1.1 is the name used by FreeBSD ports...
# don't confuse it for the version number.
find_library(SDL_LIBRARY_TEMP
NAMES SDL SDL-1.1
HINTS
ENV SDLDIR
- PATH_SUFFIXES lib
+ PATH_SUFFIXES lib ${VC_LIB_PATH_SUFFIX}
)
if(NOT SDL_BUILDING_LIBRARY)
@@ -92,7 +115,7 @@ if(NOT SDL_BUILDING_LIBRARY)
NAMES SDLmain SDLmain-1.1
HINTS
ENV SDLDIR
- PATH_SUFFIXES lib
+ PATH_SUFFIXES lib ${VC_LIB_PATH_SUFFIX}
PATHS
/sw
/opt/local
diff --git a/Modules/FindSDL_image.cmake b/Modules/FindSDL_image.cmake
index 30d74ac..e5173e3 100644
--- a/Modules/FindSDL_image.cmake
+++ b/Modules/FindSDL_image.cmake
@@ -1,20 +1,34 @@
-# - Locate SDL_image library
+#.rst:
+# FindSDL_image
+# -------------
+#
+# Locate SDL_image library
+#
# This module defines:
-# SDL_IMAGE_LIBRARIES, the name of the library to link against
-# SDL_IMAGE_INCLUDE_DIRS, where to find the headers
-# SDL_IMAGE_FOUND, if false, do not try to link against
-# SDL_IMAGE_VERSION_STRING - human-readable string containing the version of SDL_image
+#
+# ::
+#
+# SDL_IMAGE_LIBRARIES, the name of the library to link against
+# SDL_IMAGE_INCLUDE_DIRS, where to find the headers
+# SDL_IMAGE_FOUND, if false, do not try to link against
+# SDL_IMAGE_VERSION_STRING - human-readable string containing the version of SDL_image
+#
+#
#
# For backward compatiblity the following variables are also set:
-# SDLIMAGE_LIBRARY (same value as SDL_IMAGE_LIBRARIES)
-# SDLIMAGE_INCLUDE_DIR (same value as SDL_IMAGE_INCLUDE_DIRS)
-# SDLIMAGE_FOUND (same value as SDL_IMAGE_FOUND)
#
-# $SDLDIR is an environment variable that would
-# correspond to the ./configure --prefix=$SDLDIR
-# used in building SDL.
+# ::
#
-# Created by Eric Wing. This was influenced by the FindSDL.cmake
+# SDLIMAGE_LIBRARY (same value as SDL_IMAGE_LIBRARIES)
+# SDLIMAGE_INCLUDE_DIR (same value as SDL_IMAGE_INCLUDE_DIRS)
+# SDLIMAGE_FOUND (same value as SDL_IMAGE_FOUND)
+#
+#
+#
+# $SDLDIR is an environment variable that would correspond to the
+# ./configure --prefix=$SDLDIR used in building SDL.
+#
+# Created by Eric Wing. This was influenced by the FindSDL.cmake
# module, but with modifications to recognize OS X frameworks and
# additional Unix paths (FreeBSD, etc).
@@ -43,6 +57,12 @@ find_path(SDL_IMAGE_INCLUDE_DIR SDL_image.h
PATH_SUFFIXES include/SDL include/SDL12 include/SDL11 include
)
+if(CMAKE_SIZEOF_VOID_P EQUAL 8)
+ set(VC_LIB_PATH_SUFFIX lib/x64)
+else()
+ set(VC_LIB_PATH_SUFFIX lib/x86)
+endif()
+
if(NOT SDL_IMAGE_LIBRARY AND SDLIMAGE_LIBRARY)
set(SDL_IMAGE_LIBRARY ${SDLIMAGE_LIBRARY} CACHE FILEPATH "file cache entry
initialized from old variable name")
@@ -52,7 +72,7 @@ find_library(SDL_IMAGE_LIBRARY
HINTS
ENV SDLIMAGEDIR
ENV SDLDIR
- PATH_SUFFIXES lib
+ PATH_SUFFIXES lib ${VC_LIB_PATH_SUFFIX}
)
if(SDL_IMAGE_INCLUDE_DIR AND EXISTS "${SDL_IMAGE_INCLUDE_DIR}/SDL_image.h")
diff --git a/Modules/FindSDL_mixer.cmake b/Modules/FindSDL_mixer.cmake
index 8ca7cc3..8f2f066 100644
--- a/Modules/FindSDL_mixer.cmake
+++ b/Modules/FindSDL_mixer.cmake
@@ -1,20 +1,34 @@
-# - Locate SDL_mixer library
+#.rst:
+# FindSDL_mixer
+# -------------
+#
+# Locate SDL_mixer library
+#
# This module defines:
-# SDL_MIXER_LIBRARIES, the name of the library to link against
-# SDL_MIXER_INCLUDE_DIRS, where to find the headers
-# SDL_MIXER_FOUND, if false, do not try to link against
-# SDL_MIXER_VERSION_STRING - human-readable string containing the version of SDL_mixer
+#
+# ::
+#
+# SDL_MIXER_LIBRARIES, the name of the library to link against
+# SDL_MIXER_INCLUDE_DIRS, where to find the headers
+# SDL_MIXER_FOUND, if false, do not try to link against
+# SDL_MIXER_VERSION_STRING - human-readable string containing the version of SDL_mixer
+#
+#
#
# For backward compatiblity the following variables are also set:
-# SDLMIXER_LIBRARY (same value as SDL_MIXER_LIBRARIES)
-# SDLMIXER_INCLUDE_DIR (same value as SDL_MIXER_INCLUDE_DIRS)
-# SDLMIXER_FOUND (same value as SDL_MIXER_FOUND)
#
-# $SDLDIR is an environment variable that would
-# correspond to the ./configure --prefix=$SDLDIR
-# used in building SDL.
+# ::
#
-# Created by Eric Wing. This was influenced by the FindSDL.cmake
+# SDLMIXER_LIBRARY (same value as SDL_MIXER_LIBRARIES)
+# SDLMIXER_INCLUDE_DIR (same value as SDL_MIXER_INCLUDE_DIRS)
+# SDLMIXER_FOUND (same value as SDL_MIXER_FOUND)
+#
+#
+#
+# $SDLDIR is an environment variable that would correspond to the
+# ./configure --prefix=$SDLDIR used in building SDL.
+#
+# Created by Eric Wing. This was influenced by the FindSDL.cmake
# module, but with modifications to recognize OS X frameworks and
# additional Unix paths (FreeBSD, etc).
@@ -43,6 +57,12 @@ find_path(SDL_MIXER_INCLUDE_DIR SDL_mixer.h
PATH_SUFFIXES include/SDL include/SDL12 include/SDL11 include
)
+if(CMAKE_SIZEOF_VOID_P EQUAL 8)
+ set(VC_LIB_PATH_SUFFIX lib/x64)
+else()
+ set(VC_LIB_PATH_SUFFIX lib/x86)
+endif()
+
if(NOT SDL_MIXER_LIBRARY AND SDLMIXER_LIBRARY)
set(SDL_MIXER_LIBRARY ${SDLMIXER_LIBRARY} CACHE FILEPATH "file cache entry
initialized from old variable name")
@@ -52,7 +72,7 @@ find_library(SDL_MIXER_LIBRARY
HINTS
ENV SDLMIXERDIR
ENV SDLDIR
- PATH_SUFFIXES lib
+ PATH_SUFFIXES lib ${VC_LIB_PATH_SUFFIX}
)
if(SDL_MIXER_INCLUDE_DIR AND EXISTS "${SDL_MIXER_INCLUDE_DIR}/SDL_mixer.h")
diff --git a/Modules/FindSDL_net.cmake b/Modules/FindSDL_net.cmake
index ca707af..e5c2cdb 100644
--- a/Modules/FindSDL_net.cmake
+++ b/Modules/FindSDL_net.cmake
@@ -1,20 +1,34 @@
-# - Locate SDL_net library
+#.rst:
+# FindSDL_net
+# -----------
+#
+# Locate SDL_net library
+#
# This module defines:
-# SDL_NET_LIBRARIES, the name of the library to link against
-# SDL_NET_INCLUDE_DIRS, where to find the headers
-# SDL_NET_FOUND, if false, do not try to link against
-# SDL_NET_VERSION_STRING - human-readable string containing the version of SDL_net
+#
+# ::
+#
+# SDL_NET_LIBRARIES, the name of the library to link against
+# SDL_NET_INCLUDE_DIRS, where to find the headers
+# SDL_NET_FOUND, if false, do not try to link against
+# SDL_NET_VERSION_STRING - human-readable string containing the version of SDL_net
+#
+#
#
# For backward compatiblity the following variables are also set:
-# SDLNET_LIBRARY (same value as SDL_NET_LIBRARIES)
-# SDLNET_INCLUDE_DIR (same value as SDL_NET_INCLUDE_DIRS)
-# SDLNET_FOUND (same value as SDL_NET_FOUND)
#
-# $SDLDIR is an environment variable that would
-# correspond to the ./configure --prefix=$SDLDIR
-# used in building SDL.
+# ::
#
-# Created by Eric Wing. This was influenced by the FindSDL.cmake
+# SDLNET_LIBRARY (same value as SDL_NET_LIBRARIES)
+# SDLNET_INCLUDE_DIR (same value as SDL_NET_INCLUDE_DIRS)
+# SDLNET_FOUND (same value as SDL_NET_FOUND)
+#
+#
+#
+# $SDLDIR is an environment variable that would correspond to the
+# ./configure --prefix=$SDLDIR used in building SDL.
+#
+# Created by Eric Wing. This was influenced by the FindSDL.cmake
# module, but with modifications to recognize OS X frameworks and
# additional Unix paths (FreeBSD, etc).
@@ -43,6 +57,12 @@ find_path(SDL_NET_INCLUDE_DIR SDL_net.h
PATH_SUFFIXES include/SDL include/SDL12 include/SDL11 include
)
+if(CMAKE_SIZEOF_VOID_P EQUAL 8)
+ set(VC_LIB_PATH_SUFFIX lib/x64)
+else()
+ set(VC_LIB_PATH_SUFFIX lib/x86)
+endif()
+
if(NOT SDL_NET_LIBRARY AND SDLNET_LIBRARY)
set(SDL_NET_LIBRARY ${SDLNET_LIBRARY} CACHE FILEPATH "file cache entry
initialized from old variable name")
@@ -52,7 +72,7 @@ find_library(SDL_NET_LIBRARY
HINTS
ENV SDLNETDIR
ENV SDLDIR
- PATH_SUFFIXES lib
+ PATH_SUFFIXES lib ${VC_LIB_PATH_SUFFIX}
)
if(SDL_NET_INCLUDE_DIR AND EXISTS "${SDL_NET_INCLUDE_DIR}/SDL_net.h")
diff --git a/Modules/FindSDL_sound.cmake b/Modules/FindSDL_sound.cmake
index efd2658..3a6ab7b 100644
--- a/Modules/FindSDL_sound.cmake
+++ b/Modules/FindSDL_sound.cmake
@@ -1,59 +1,80 @@
-# - Locates the SDL_sound library
+#.rst:
+# FindSDL_sound
+# -------------
#
-# This module depends on SDL being found and
-# must be called AFTER FindSDL.cmake is called.
+# Locates the SDL_sound library
+#
+#
+#
+# This module depends on SDL being found and must be called AFTER
+# FindSDL.cmake is called.
#
# This module defines
-# SDL_SOUND_INCLUDE_DIR, where to find SDL_sound.h
-# SDL_SOUND_FOUND, if false, do not try to link to SDL_sound
-# SDL_SOUND_LIBRARIES, this contains the list of libraries that you need
-# to link against. This is a read-only variable and is marked INTERNAL.
-# SDL_SOUND_EXTRAS, this is an optional variable for you to add your own
-# flags to SDL_SOUND_LIBRARIES. This is prepended to SDL_SOUND_LIBRARIES.
-# This is available mostly for cases this module failed to anticipate for
-# and you must add additional flags. This is marked as ADVANCED.
-# SDL_SOUND_VERSION_STRING, human-readable string containing the version of SDL_sound
+#
+# ::
+#
+# SDL_SOUND_INCLUDE_DIR, where to find SDL_sound.h
+# SDL_SOUND_FOUND, if false, do not try to link to SDL_sound
+# SDL_SOUND_LIBRARIES, this contains the list of libraries that you need
+# to link against. This is a read-only variable and is marked INTERNAL.
+# SDL_SOUND_EXTRAS, this is an optional variable for you to add your own
+# flags to SDL_SOUND_LIBRARIES. This is prepended to SDL_SOUND_LIBRARIES.
+# This is available mostly for cases this module failed to anticipate for
+# and you must add additional flags. This is marked as ADVANCED.
+# SDL_SOUND_VERSION_STRING, human-readable string containing the version of SDL_sound
+#
+#
#
# This module also defines (but you shouldn't need to use directly)
-# SDL_SOUND_LIBRARY, the name of just the SDL_sound library you would link
-# against. Use SDL_SOUND_LIBRARIES for you link instructions and not this one.
+#
+# ::
+#
+# SDL_SOUND_LIBRARY, the name of just the SDL_sound library you would link
+# against. Use SDL_SOUND_LIBRARIES for you link instructions and not this one.
+#
# And might define the following as needed
-# MIKMOD_LIBRARY
-# MODPLUG_LIBRARY
-# OGG_LIBRARY
-# VORBIS_LIBRARY
-# SMPEG_LIBRARY
-# FLAC_LIBRARY
-# SPEEX_LIBRARY
#
-# Typically, you should not use these variables directly, and you should use
-# SDL_SOUND_LIBRARIES which contains SDL_SOUND_LIBRARY and the other audio libraries
-# (if needed) to successfully compile on your system.
+# ::
+#
+# MIKMOD_LIBRARY
+# MODPLUG_LIBRARY
+# OGG_LIBRARY
+# VORBIS_LIBRARY
+# SMPEG_LIBRARY
+# FLAC_LIBRARY
+# SPEEX_LIBRARY
+#
+#
+#
+# Typically, you should not use these variables directly, and you should
+# use SDL_SOUND_LIBRARIES which contains SDL_SOUND_LIBRARY and the other
+# audio libraries (if needed) to successfully compile on your system.
#
-# Created by Eric Wing.
-# This module is a bit more complicated than the other FindSDL* family modules.
-# The reason is that SDL_sound can be compiled in a large variety of different ways
-# which are independent of platform. SDL_sound may dynamically link against other 3rd
-# party libraries to get additional codec support, such as Ogg Vorbis, SMPEG, ModPlug,
-# MikMod, FLAC, Speex, and potentially others.
-# Under some circumstances which I don't fully understand,
-# there seems to be a requirement
-# that dependent libraries of libraries you use must also be explicitly
-# linked against in order to successfully compile. SDL_sound does not currently
-# have any system in place to know how it was compiled.
-# So this CMake module does the hard work in trying to discover which 3rd party
-# libraries are required for building (if any).
-# This module uses a brute force approach to create a test program that uses SDL_sound,
-# and then tries to build it. If the build fails, it parses the error output for
-# known symbol names to figure out which libraries are needed.
+# Created by Eric Wing. This module is a bit more complicated than the
+# other FindSDL* family modules. The reason is that SDL_sound can be
+# compiled in a large variety of different ways which are independent of
+# platform. SDL_sound may dynamically link against other 3rd party
+# libraries to get additional codec support, such as Ogg Vorbis, SMPEG,
+# ModPlug, MikMod, FLAC, Speex, and potentially others. Under some
+# circumstances which I don't fully understand, there seems to be a
+# requirement that dependent libraries of libraries you use must also be
+# explicitly linked against in order to successfully compile. SDL_sound
+# does not currently have any system in place to know how it was
+# compiled. So this CMake module does the hard work in trying to
+# discover which 3rd party libraries are required for building (if any).
+# This module uses a brute force approach to create a test program that
+# uses SDL_sound, and then tries to build it. If the build fails, it
+# parses the error output for known symbol names to figure out which
+# libraries are needed.
#
-# Responds to the $SDLDIR and $SDLSOUNDDIR environmental variable that would
-# correspond to the ./configure --prefix=$SDLDIR used in building SDL.
+# Responds to the $SDLDIR and $SDLSOUNDDIR environmental variable that
+# would correspond to the ./configure --prefix=$SDLDIR used in building
+# SDL.
#
# On OSX, this will prefer the Framework version (if found) over others.
-# People will have to manually change the cache values of
-# SDL_LIBRARY to override this selectionor set the CMake environment
-# CMAKE_INCLUDE_PATH to modify the search paths.
+# People will have to manually change the cache values of SDL_LIBRARY to
+# override this selectionor set the CMake environment CMAKE_INCLUDE_PATH
+# to modify the search paths.
#=============================================================================
# Copyright 2005-2009 Kitware, Inc.
@@ -85,7 +106,7 @@ find_library(SDL_SOUND_LIBRARY
HINTS
ENV SDLSOUNDDIR
ENV SDLDIR
- PATH_SUFFIXES lib
+ PATH_SUFFIXES lib VisualC/win32lib
)
if(SDL_FOUND AND SDL_SOUND_INCLUDE_DIR AND SDL_SOUND_LIBRARY)
diff --git a/Modules/FindSDL_ttf.cmake b/Modules/FindSDL_ttf.cmake
index bb0ca91..3f58ac1 100644
--- a/Modules/FindSDL_ttf.cmake
+++ b/Modules/FindSDL_ttf.cmake
@@ -1,20 +1,34 @@
-# - Locate SDL_ttf library
+#.rst:
+# FindSDL_ttf
+# -----------
+#
+# Locate SDL_ttf library
+#
# This module defines:
-# SDL_TTF_LIBRARIES, the name of the library to link against
-# SDL_TTF_INCLUDE_DIRS, where to find the headers
-# SDL_TTF_FOUND, if false, do not try to link against
-# SDL_TTF_VERSION_STRING - human-readable string containing the version of SDL_ttf
+#
+# ::
+#
+# SDL_TTF_LIBRARIES, the name of the library to link against
+# SDL_TTF_INCLUDE_DIRS, where to find the headers
+# SDL_TTF_FOUND, if false, do not try to link against
+# SDL_TTF_VERSION_STRING - human-readable string containing the version of SDL_ttf
+#
+#
#
# For backward compatiblity the following variables are also set:
-# SDLTTF_LIBRARY (same value as SDL_TTF_LIBRARIES)
-# SDLTTF_INCLUDE_DIR (same value as SDL_TTF_INCLUDE_DIRS)
-# SDLTTF_FOUND (same value as SDL_TTF_FOUND)
#
-# $SDLDIR is an environment variable that would
-# correspond to the ./configure --prefix=$SDLDIR
-# used in building SDL.
+# ::
#
-# Created by Eric Wing. This was influenced by the FindSDL.cmake
+# SDLTTF_LIBRARY (same value as SDL_TTF_LIBRARIES)
+# SDLTTF_INCLUDE_DIR (same value as SDL_TTF_INCLUDE_DIRS)
+# SDLTTF_FOUND (same value as SDL_TTF_FOUND)
+#
+#
+#
+# $SDLDIR is an environment variable that would correspond to the
+# ./configure --prefix=$SDLDIR used in building SDL.
+#
+# Created by Eric Wing. This was influenced by the FindSDL.cmake
# module, but with modifications to recognize OS X frameworks and
# additional Unix paths (FreeBSD, etc).
@@ -43,6 +57,12 @@ find_path(SDL_TTF_INCLUDE_DIR SDL_ttf.h
PATH_SUFFIXES include/SDL include/SDL12 include/SDL11 include
)
+if(CMAKE_SIZEOF_VOID_P EQUAL 8)
+ set(VC_LIB_PATH_SUFFIX lib/x64)
+else()
+ set(VC_LIB_PATH_SUFFIX lib/x86)
+endif()
+
if(NOT SDL_TTF_LIBRARY AND SDLTTF_LIBRARY)
set(SDL_TTF_LIBRARY ${SDLTTF_LIBRARY} CACHE FILEPATH "file cache entry
initialized from old variable name")
@@ -52,7 +72,7 @@ find_library(SDL_TTF_LIBRARY
HINTS
ENV SDLTTFDIR
ENV SDLDIR
- PATH_SUFFIXES lib
+ PATH_SUFFIXES lib ${VC_LIB_PATH_SUFFIX}
)
if(SDL_TTF_INCLUDE_DIR AND EXISTS "${SDL_TTF_INCLUDE_DIR}/SDL_ttf.h")
diff --git a/Modules/FindSWIG.cmake b/Modules/FindSWIG.cmake
index db60b88..8bd4048 100644
--- a/Modules/FindSWIG.cmake
+++ b/Modules/FindSWIG.cmake
@@ -1,17 +1,26 @@
-# - Find SWIG
+#.rst:
+# FindSWIG
+# --------
+#
+# Find SWIG
+#
# This module finds an installed SWIG. It sets the following variables:
-# SWIG_FOUND - set to true if SWIG is found
-# SWIG_DIR - the directory where swig is installed
-# SWIG_EXECUTABLE - the path to the swig executable
-# SWIG_VERSION - the version number of the swig executable
#
-# The minimum required version of SWIG can be specified using the
-# standard syntax, e.g. find_package(SWIG 1.1)
+# ::
+#
+# SWIG_FOUND - set to true if SWIG is found
+# SWIG_DIR - the directory where swig is installed
+# SWIG_EXECUTABLE - the path to the swig executable
+# SWIG_VERSION - the version number of the swig executable
#
-# All information is collected from the SWIG_EXECUTABLE so the
-# version to be found can be changed from the command line by
-# means of setting SWIG_EXECUTABLE
#
+#
+# The minimum required version of SWIG can be specified using the
+# standard syntax, e.g. find_package(SWIG 1.1)
+#
+# All information is collected from the SWIG_EXECUTABLE so the version
+# to be found can be changed from the command line by means of setting
+# SWIG_EXECUTABLE
#=============================================================================
# Copyright 2004-2009 Kitware, Inc.
@@ -43,11 +52,9 @@ if(SWIG_EXECUTABLE)
endif()
else()
string(REGEX REPLACE "[\n\r]+" ";" SWIG_swiglib_output ${SWIG_swiglib_output})
- # force the path to be computed each time in case SWIG_EXECUTABLE has changed.
- set(SWIG_DIR SWIG_DIR-NOTFOUND)
- find_path(SWIG_DIR swig.swg PATHS ${SWIG_swiglib_output})
+ find_path(SWIG_DIR swig.swg PATHS ${SWIG_swiglib_output} NO_CMAKE_FIND_ROOT_PATH)
if(SWIG_DIR)
- set(SWIG_USE_FILE ${CMAKE_ROOT}/Modules/UseSWIG.cmake)
+ set(SWIG_USE_FILE ${CMAKE_CURRENT_LIST_DIR}/UseSWIG.cmake)
execute_process(COMMAND ${SWIG_EXECUTABLE} -version
OUTPUT_VARIABLE SWIG_version_output
ERROR_VARIABLE SWIG_version_output
@@ -66,3 +73,5 @@ endif()
include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(SWIG REQUIRED_VARS SWIG_EXECUTABLE SWIG_DIR
VERSION_VAR SWIG_VERSION )
+
+mark_as_advanced(SWIG_DIR SWIG_VERSION)
diff --git a/Modules/FindSelfPackers.cmake b/Modules/FindSelfPackers.cmake
index fd28642..238be89 100644
--- a/Modules/FindSelfPackers.cmake
+++ b/Modules/FindSelfPackers.cmake
@@ -1,9 +1,16 @@
-# - Find upx
-# This module looks for some executable packers (i.e. software that
+#.rst:
+# FindSelfPackers
+# ---------------
+#
+# Find upx
+#
+# This module looks for some executable packers (i.e. software that
# compress executables or shared libs into on-the-fly self-extracting
-# executables or shared libs.
-# Examples:
-# UPX: http://wildsau.idv.uni-linz.ac.at/mfx/upx.html
+# executables or shared libs. Examples:
+#
+# ::
+#
+# UPX: http://wildsau.idv.uni-linz.ac.at/mfx/upx.html
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.
diff --git a/Modules/FindSquish.cmake b/Modules/FindSquish.cmake
index b797805..5cff122 100644
--- a/Modules/FindSquish.cmake
+++ b/Modules/FindSquish.cmake
@@ -1,63 +1,108 @@
+#.rst:
+# FindSquish
+# ----------
#
-# ---- Find Squish
-# This module can be used to find Squish. Currently Squish versions 3 and 4 are supported.
+# -- Typical Use
#
-# ---- Variables and Macros
-# SQUISH_FOUND If false, don't try to use Squish
-# SQUISH_VERSION The full version of Squish found
-# SQUISH_VERSION_MAJOR The major version of Squish found
-# SQUISH_VERSION_MINOR The minor version of Squish found
-# SQUISH_VERSION_PATCH The patch version of Squish found
#
-# SQUISH_INSTALL_DIR The Squish installation directory (containing bin, lib, etc)
-# SQUISH_SERVER_EXECUTABLE The squishserver executable
-# SQUISH_CLIENT_EXECUTABLE The squishrunner executable
#
-# SQUISH_INSTALL_DIR_FOUND Was the install directory found?
-# SQUISH_SERVER_EXECUTABLE_FOUND Was the server executable found?
-# SQUISH_CLIENT_EXECUTABLE_FOUND Was the client executable found?
+# This module can be used to find Squish. Currently Squish versions 3
+# and 4 are supported.
+#
+# ::
+#
+# SQUISH_FOUND If false, don't try to use Squish
+# SQUISH_VERSION The full version of Squish found
+# SQUISH_VERSION_MAJOR The major version of Squish found
+# SQUISH_VERSION_MINOR The minor version of Squish found
+# SQUISH_VERSION_PATCH The patch version of Squish found
+#
+#
+#
+# ::
+#
+# SQUISH_INSTALL_DIR The Squish installation directory (containing bin, lib, etc)
+# SQUISH_SERVER_EXECUTABLE The squishserver executable
+# SQUISH_CLIENT_EXECUTABLE The squishrunner executable
+#
+#
+#
+# ::
+#
+# SQUISH_INSTALL_DIR_FOUND Was the install directory found?
+# SQUISH_SERVER_EXECUTABLE_FOUND Was the server executable found?
+# SQUISH_CLIENT_EXECUTABLE_FOUND Was the client executable found?
+#
+#
+#
+# It provides the function squish_v4_add_test() for adding a squish test
+# to cmake using Squish 4.x:
+#
+# ::
+#
+# squish_v4_add_test(cmakeTestName AUT targetName SUITE suiteName TEST squishTestName
+# [SETTINGSGROUP group] [PRE_COMMAND command] [POST_COMMAND command] )
#
-# It provides the function squish_v4_add_test() for adding a squish test to cmake using Squish 4.x:
#
-# squish_v4_add_test(cmakeTestName AUT targetName SUITE suiteName TEST squishTestName
-# [SETTINGSGROUP group] [PRE_COMMAND command] [POST_COMMAND command] )
#
# The arguments have the following meaning:
-# cmakeTestName: this will be used as the first argument for add_test()
-# AUT targetName: the name of the cmake target which will be used as AUT, i.e. the
-# executable which will be tested.
-# SUITE suiteName: this is either the full path to the squish suite, or just the
-# last directory of the suite, i.e. the suite name. In this case
-# the CMakeLists.txt which calls squish_add_test() must be located
-# in the parent directory of the suite directory.
-# TEST squishTestName: the name of the squish test, i.e. the name of the subdirectory
-# of the test inside the suite directory.
-# SETTINGSGROUP group: if specified, the given settings group will be used for executing the test.
-# If not specified, the groupname will be "CTest_<username>"
-# PRE_COMMAND command: if specified, the given command will be executed before starting the squish test.
-# POST_COMMAND command: same as PRE_COMMAND, but after the squish test has been executed.
-#
-# ---- Typical Use
+#
+# ::
+#
+# cmakeTestName: this will be used as the first argument for add_test()
+# AUT targetName: the name of the cmake target which will be used as AUT, i.e. the
+# executable which will be tested.
+# SUITE suiteName: this is either the full path to the squish suite, or just the
+# last directory of the suite, i.e. the suite name. In this case
+# the CMakeLists.txt which calls squish_add_test() must be located
+# in the parent directory of the suite directory.
+# TEST squishTestName: the name of the squish test, i.e. the name of the subdirectory
+# of the test inside the suite directory.
+# SETTINGSGROUP group: if specified, the given settings group will be used for executing the test.
+# If not specified, the groupname will be "CTest_<username>"
+# PRE_COMMAND command: if specified, the given command will be executed before starting the squish test.
+# POST_COMMAND command: same as PRE_COMMAND, but after the squish test has been executed.
+#
+#
+#
+# ::
+#
+# enable_testing()
+# find_package(Squish 4.0)
+# if (SQUISH_FOUND)
+# squish_v4_add_test(myTestName AUT myApp SUITE ${CMAKE_SOURCE_DIR}/tests/mySuite TEST someSquishTest SETTINGSGROUP myGroup )
+# endif ()
+#
+#
+#
+#
+#
+# For users of Squish version 3.x the macro squish_v3_add_test() is
+# provided:
+#
+# ::
+#
+# squish_v3_add_test(testName applicationUnderTest testCase envVars testWrapper)
+# Use this macro to add a test using Squish 3.x.
+#
+#
+#
+# ::
+#
# enable_testing()
-# find_package(Squish 4.0)
+# find_package(Squish)
# if (SQUISH_FOUND)
-# squish_v4_add_test(myTestName AUT myApp SUITE ${CMAKE_SOURCE_DIR}/tests/mySuite TEST someSquishTest SETTINGSGROUP myGroup )
+# squish_v3_add_test(myTestName myApplication testCase envVars testWrapper)
# endif ()
#
#
-# For users of Squish version 3.x the macro squish_v3_add_test() is provided:
-# squish_v3_add_test(testName applicationUnderTest testCase envVars testWrapper)
-# Use this macro to add a test using Squish 3.x.
#
-# ---- Typical Use
-# enable_testing()
-# find_package(Squish)
-# if (SQUISH_FOUND)
-# squish_v3_add_test(myTestName myApplication testCase envVars testWrapper)
-# endif ()
+# macro SQUISH_ADD_TEST(testName applicationUnderTest testCase envVars
+# testWrapper)
+#
+# ::
#
-# macro SQUISH_ADD_TEST(testName applicationUnderTest testCase envVars testWrapper)
-# This is deprecated. Use SQUISH_V3_ADD_TEST() if you are using Squish 3.x instead.
+# This is deprecated. Use SQUISH_V3_ADD_TEST() if you are using Squish 3.x instead.
#=============================================================================
diff --git a/Modules/FindSubversion.cmake b/Modules/FindSubversion.cmake
index f1bfc75..0d13318 100644
--- a/Modules/FindSubversion.cmake
+++ b/Modules/FindSubversion.cmake
@@ -1,37 +1,62 @@
-# - Extract information from a subversion working copy
+#.rst:
+# FindSubversion
+# --------------
+#
+# Extract information from a subversion working copy
+#
# The module defines the following variables:
-# Subversion_SVN_EXECUTABLE - path to svn command line client
-# Subversion_VERSION_SVN - version of svn command line client
-# Subversion_FOUND - true if the command line client was found
-# SUBVERSION_FOUND - same as Subversion_FOUND, set for compatiblity reasons
+#
+# ::
+#
+# Subversion_SVN_EXECUTABLE - path to svn command line client
+# Subversion_VERSION_SVN - version of svn command line client
+# Subversion_FOUND - true if the command line client was found
+# SUBVERSION_FOUND - same as Subversion_FOUND, set for compatiblity reasons
+#
+#
#
# The minimum required version of Subversion can be specified using the
-# standard syntax, e.g. find_package(Subversion 1.4)
+# standard syntax, e.g. find_package(Subversion 1.4)
#
# If the command line client executable is found two macros are defined:
-# Subversion_WC_INFO(<dir> <var-prefix>)
-# Subversion_WC_LOG(<dir> <var-prefix>)
-# Subversion_WC_INFO extracts information of a subversion working copy at
-# a given location. This macro defines the following variables:
-# <var-prefix>_WC_URL - url of the repository (at <dir>)
-# <var-prefix>_WC_ROOT - root url of the repository
-# <var-prefix>_WC_REVISION - current revision
-# <var-prefix>_WC_LAST_CHANGED_AUTHOR - author of last commit
-# <var-prefix>_WC_LAST_CHANGED_DATE - date of last commit
-# <var-prefix>_WC_LAST_CHANGED_REV - revision of last commit
-# <var-prefix>_WC_INFO - output of command `svn info <dir>'
+#
+# ::
+#
+# Subversion_WC_INFO(<dir> <var-prefix>)
+# Subversion_WC_LOG(<dir> <var-prefix>)
+#
+# Subversion_WC_INFO extracts information of a subversion working copy
+# at a given location. This macro defines the following variables:
+#
+# ::
+#
+# <var-prefix>_WC_URL - url of the repository (at <dir>)
+# <var-prefix>_WC_ROOT - root url of the repository
+# <var-prefix>_WC_REVISION - current revision
+# <var-prefix>_WC_LAST_CHANGED_AUTHOR - author of last commit
+# <var-prefix>_WC_LAST_CHANGED_DATE - date of last commit
+# <var-prefix>_WC_LAST_CHANGED_REV - revision of last commit
+# <var-prefix>_WC_INFO - output of command `svn info <dir>'
+#
# Subversion_WC_LOG retrieves the log message of the base revision of a
-# subversion working copy at a given location. This macro defines the
+# subversion working copy at a given location. This macro defines the
# variable:
-# <var-prefix>_LAST_CHANGED_LOG - last log of base revision
+#
+# ::
+#
+# <var-prefix>_LAST_CHANGED_LOG - last log of base revision
+#
# Example usage:
-# find_package(Subversion)
-# if(SUBVERSION_FOUND)
-# Subversion_WC_INFO(${PROJECT_SOURCE_DIR} Project)
-# message("Current revision is ${Project_WC_REVISION}")
-# Subversion_WC_LOG(${PROJECT_SOURCE_DIR} Project)
-# message("Last changed log is ${Project_LAST_CHANGED_LOG}")
-# endif()
+#
+# ::
+#
+# find_package(Subversion)
+# if(SUBVERSION_FOUND)
+# Subversion_WC_INFO(${PROJECT_SOURCE_DIR} Project)
+# message("Current revision is ${Project_WC_REVISION}")
+# Subversion_WC_LOG(${PROJECT_SOURCE_DIR} Project)
+# message("Last changed log is ${Project_LAST_CHANGED_LOG}")
+# endif()
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
@@ -48,6 +73,8 @@
# License text for the above reference.)
find_program(Subversion_SVN_EXECUTABLE svn
+ PATHS
+ [HKEY_LOCAL_MACHINE\\Software\\TortoiseSVN;Directory]/bin
DOC "subversion command line client")
mark_as_advanced(Subversion_SVN_EXECUTABLE)
diff --git a/Modules/FindTCL.cmake b/Modules/FindTCL.cmake
index 37e43d0..a83e277 100644
--- a/Modules/FindTCL.cmake
+++ b/Modules/FindTCL.cmake
@@ -1,35 +1,45 @@
-# - Find Tcl includes and libraries.
-# This module finds if Tcl is installed and determines where the
-# include files and libraries are. It also determines what the name of
-# the library is. This code sets the following variables:
-# TCL_FOUND = Tcl was found
-# TK_FOUND = Tk was found
-# TCLTK_FOUND = Tcl and Tk were found
-# TCL_LIBRARY = path to Tcl library (tcl tcl80)
-# TCL_INCLUDE_PATH = path to where tcl.h can be found
-# TCL_TCLSH = path to tclsh binary (tcl tcl80)
-# TK_LIBRARY = path to Tk library (tk tk80 etc)
-# TK_INCLUDE_PATH = path to where tk.h can be found
-# TK_WISH = full path to the wish executable
+#.rst:
+# FindTCL
+# -------
#
-# In an effort to remove some clutter and clear up some issues for people
-# who are not necessarily Tcl/Tk gurus/developpers, some variables were
-# moved or removed. Changes compared to CMake 2.4 are:
-# - The stub libraries are now found in FindTclStub.cmake
-# => they were only useful for people writing Tcl/Tk extensions.
-# - TCL_LIBRARY_DEBUG and TK_LIBRARY_DEBUG were removed.
-# => these libs are not packaged by default with Tcl/Tk distributions.
-# Even when Tcl/Tk is built from source, several flavors of debug libs
-# are created and there is no real reason to pick a single one
-# specifically (say, amongst tcl84g, tcl84gs, or tcl84sgx).
-# Let's leave that choice to the user by allowing him to assign
-# TCL_LIBRARY to any Tcl library, debug or not.
-# - TK_INTERNAL_PATH was removed.
-# => this ended up being only a Win32 variable, and there is a lot of
-# confusion regarding the location of this file in an installed Tcl/Tk
-# tree anyway (see 8.5 for example). If you need the internal path at
-# this point it is safer you ask directly where the *source* tree is
-# and dig from there.
+# TK_INTERNAL_PATH was removed.
+#
+# This module finds if Tcl is installed and determines where the include
+# files and libraries are. It also determines what the name of the
+# library is. This code sets the following variables:
+#
+# ::
+#
+# TCL_FOUND = Tcl was found
+# TK_FOUND = Tk was found
+# TCLTK_FOUND = Tcl and Tk were found
+# TCL_LIBRARY = path to Tcl library (tcl tcl80)
+# TCL_INCLUDE_PATH = path to where tcl.h can be found
+# TCL_TCLSH = path to tclsh binary (tcl tcl80)
+# TK_LIBRARY = path to Tk library (tk tk80 etc)
+# TK_INCLUDE_PATH = path to where tk.h can be found
+# TK_WISH = full path to the wish executable
+#
+#
+#
+# In an effort to remove some clutter and clear up some issues for
+# people who are not necessarily Tcl/Tk gurus/developpers, some
+# variables were moved or removed. Changes compared to CMake 2.4 are:
+#
+# ::
+#
+# => they were only useful for people writing Tcl/Tk extensions.
+# => these libs are not packaged by default with Tcl/Tk distributions.
+# Even when Tcl/Tk is built from source, several flavors of debug libs
+# are created and there is no real reason to pick a single one
+# specifically (say, amongst tcl84g, tcl84gs, or tcl84sgx).
+# Let's leave that choice to the user by allowing him to assign
+# TCL_LIBRARY to any Tcl library, debug or not.
+# => this ended up being only a Win32 variable, and there is a lot of
+# confusion regarding the location of this file in an installed Tcl/Tk
+# tree anyway (see 8.5 for example). If you need the internal path at
+# this point it is safer you ask directly where the *source* tree is
+# and dig from there.
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.
diff --git a/Modules/FindTIFF.cmake b/Modules/FindTIFF.cmake
index b48fb0e..a67d24d 100644
--- a/Modules/FindTIFF.cmake
+++ b/Modules/FindTIFF.cmake
@@ -1,11 +1,22 @@
-# - Find TIFF library
-# Find the native TIFF includes and library
-# This module defines
-# TIFF_INCLUDE_DIR, where to find tiff.h, etc.
-# TIFF_LIBRARIES, libraries to link against to use TIFF.
-# TIFF_FOUND, If false, do not try to use TIFF.
+#.rst:
+# FindTIFF
+# --------
+#
+# Find TIFF library
+#
+# Find the native TIFF includes and library This module defines
+#
+# ::
+#
+# TIFF_INCLUDE_DIR, where to find tiff.h, etc.
+# TIFF_LIBRARIES, libraries to link against to use TIFF.
+# TIFF_FOUND, If false, do not try to use TIFF.
+#
# also defined, but not for general use are
-# TIFF_LIBRARY, where to find the TIFF library.
+#
+# ::
+#
+# TIFF_LIBRARY, where to find the TIFF library.
#=============================================================================
# Copyright 2002-2009 Kitware, Inc.
diff --git a/Modules/FindTclStub.cmake b/Modules/FindTclStub.cmake
index 8dda94a..3c24f97 100644
--- a/Modules/FindTclStub.cmake
+++ b/Modules/FindTclStub.cmake
@@ -1,25 +1,45 @@
-# - Find Tcl stub libraries.
-# This module finds Tcl stub libraries. It first finds Tcl include files and
-# libraries by calling FindTCL.cmake.
-# How to Use the Tcl Stubs Library:
-# http://tcl.activestate.com/doc/howto/stubs.html
+#.rst:
+# FindTclStub
+# -----------
+#
+# TCL_STUB_LIBRARY_DEBUG and TK_STUB_LIBRARY_DEBUG were removed.
+#
+# This module finds Tcl stub libraries. It first finds Tcl include
+# files and libraries by calling FindTCL.cmake. How to Use the Tcl
+# Stubs Library:
+#
+# ::
+#
+# http://tcl.activestate.com/doc/howto/stubs.html
+#
# Using Stub Libraries:
-# http://safari.oreilly.com/0130385603/ch48lev1sec3
+#
+# ::
+#
+# http://safari.oreilly.com/0130385603/ch48lev1sec3
+#
# This code sets the following variables:
-# TCL_STUB_LIBRARY = path to Tcl stub library
-# TK_STUB_LIBRARY = path to Tk stub library
-# TTK_STUB_LIBRARY = path to ttk stub library
-#
-# In an effort to remove some clutter and clear up some issues for people
-# who are not necessarily Tcl/Tk gurus/developpers, some variables were
-# moved or removed. Changes compared to CMake 2.4 are:
-# - TCL_STUB_LIBRARY_DEBUG and TK_STUB_LIBRARY_DEBUG were removed.
-# => these libs are not packaged by default with Tcl/Tk distributions.
-# Even when Tcl/Tk is built from source, several flavors of debug libs
-# are created and there is no real reason to pick a single one
-# specifically (say, amongst tclstub84g, tclstub84gs, or tclstub84sgx).
-# Let's leave that choice to the user by allowing him to assign
-# TCL_STUB_LIBRARY to any Tcl library, debug or not.
+#
+# ::
+#
+# TCL_STUB_LIBRARY = path to Tcl stub library
+# TK_STUB_LIBRARY = path to Tk stub library
+# TTK_STUB_LIBRARY = path to ttk stub library
+#
+#
+#
+# In an effort to remove some clutter and clear up some issues for
+# people who are not necessarily Tcl/Tk gurus/developpers, some
+# variables were moved or removed. Changes compared to CMake 2.4 are:
+#
+# ::
+#
+# => these libs are not packaged by default with Tcl/Tk distributions.
+# Even when Tcl/Tk is built from source, several flavors of debug libs
+# are created and there is no real reason to pick a single one
+# specifically (say, amongst tclstub84g, tclstub84gs, or tclstub84sgx).
+# Let's leave that choice to the user by allowing him to assign
+# TCL_STUB_LIBRARY to any Tcl library, debug or not.
#=============================================================================
# Copyright 2008-2009 Kitware, Inc.
diff --git a/Modules/FindTclsh.cmake b/Modules/FindTclsh.cmake
index 0f091e6..2fd5332 100644
--- a/Modules/FindTclsh.cmake
+++ b/Modules/FindTclsh.cmake
@@ -1,11 +1,20 @@
-# - Find tclsh
-# This module finds if TCL is installed and determines where the
-# include files and libraries are. It also determines what the name of
-# the library is. This code sets the following variables:
-# TCLSH_FOUND = TRUE if tclsh has been found
-# TCL_TCLSH = the path to the tclsh executable
-# In cygwin, look for the cygwin version first. Don't look for it later to
-# avoid finding the cygwin version on a Win32 build.
+#.rst:
+# FindTclsh
+# ---------
+#
+# Find tclsh
+#
+# This module finds if TCL is installed and determines where the include
+# files and libraries are. It also determines what the name of the
+# library is. This code sets the following variables:
+#
+# ::
+#
+# TCLSH_FOUND = TRUE if tclsh has been found
+# TCL_TCLSH = the path to the tclsh executable
+#
+# In cygwin, look for the cygwin version first. Don't look for it later
+# to avoid finding the cygwin version on a Win32 build.
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.
diff --git a/Modules/FindThreads.cmake b/Modules/FindThreads.cmake
index f03908e..ec671bf 100644
--- a/Modules/FindThreads.cmake
+++ b/Modules/FindThreads.cmake
@@ -1,12 +1,24 @@
-# - This module determines the thread library of the system.
+#.rst:
+# FindThreads
+# -----------
+#
+# This module determines the thread library of the system.
+#
# The following variables are set
-# CMAKE_THREAD_LIBS_INIT - the thread library
-# CMAKE_USE_SPROC_INIT - are we using sproc?
-# CMAKE_USE_WIN32_THREADS_INIT - using WIN32 threads?
-# CMAKE_USE_PTHREADS_INIT - are we using pthreads
-# CMAKE_HP_PTHREADS_INIT - are we using hp pthreads
+#
+# ::
+#
+# CMAKE_THREAD_LIBS_INIT - the thread library
+# CMAKE_USE_SPROC_INIT - are we using sproc?
+# CMAKE_USE_WIN32_THREADS_INIT - using WIN32 threads?
+# CMAKE_USE_PTHREADS_INIT - are we using pthreads
+# CMAKE_HP_PTHREADS_INIT - are we using hp pthreads
+#
# For systems with multiple thread libraries, caller can set
-# CMAKE_THREAD_PREFER_PTHREAD
+#
+# ::
+#
+# CMAKE_THREAD_PREFER_PTHREAD
#=============================================================================
# Copyright 2002-2009 Kitware, Inc.
diff --git a/Modules/FindUnixCommands.cmake b/Modules/FindUnixCommands.cmake
index 87caadc..d4e5dcd 100644
--- a/Modules/FindUnixCommands.cmake
+++ b/Modules/FindUnixCommands.cmake
@@ -1,6 +1,10 @@
-# - Find unix commands from cygwin
-# This module looks for some usual Unix commands.
+#.rst:
+# FindUnixCommands
+# ----------------
+#
+# Find unix commands from cygwin
#
+# This module looks for some usual Unix commands.
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.
diff --git a/Modules/FindVTK.cmake b/Modules/FindVTK.cmake
index 085d60d..bcc7f87 100644
--- a/Modules/FindVTK.cmake
+++ b/Modules/FindVTK.cmake
@@ -1,31 +1,46 @@
-# - Find a VTK installation or build tree.
-# The following variables are set if VTK is found. If VTK is not
-# found, VTK_FOUND is set to false.
-# VTK_FOUND - Set to true when VTK is found.
-# VTK_USE_FILE - CMake file to use VTK.
-# VTK_MAJOR_VERSION - The VTK major version number.
-# VTK_MINOR_VERSION - The VTK minor version number
-# (odd non-release).
-# VTK_BUILD_VERSION - The VTK patch level
-# (meaningless for odd minor).
-# VTK_INCLUDE_DIRS - Include directories for VTK
-# VTK_LIBRARY_DIRS - Link directories for VTK libraries
-# VTK_KITS - List of VTK kits, in CAPS
-# (COMMON,IO,) etc.
-# VTK_LANGUAGES - List of wrapped languages, in CAPS
-# (TCL, PYHTON,) etc.
+#.rst:
+# FindVTK
+# -------
+#
+# Find a VTK installation or build tree.
+#
+# The following variables are set if VTK is found. If VTK is not found,
+# VTK_FOUND is set to false.
+#
+# ::
+#
+# VTK_FOUND - Set to true when VTK is found.
+# VTK_USE_FILE - CMake file to use VTK.
+# VTK_MAJOR_VERSION - The VTK major version number.
+# VTK_MINOR_VERSION - The VTK minor version number
+# (odd non-release).
+# VTK_BUILD_VERSION - The VTK patch level
+# (meaningless for odd minor).
+# VTK_INCLUDE_DIRS - Include directories for VTK
+# VTK_LIBRARY_DIRS - Link directories for VTK libraries
+# VTK_KITS - List of VTK kits, in CAPS
+# (COMMON,IO,) etc.
+# VTK_LANGUAGES - List of wrapped languages, in CAPS
+# (TCL, PYHTON,) etc.
+#
# The following cache entries must be set by the user to locate VTK:
-# VTK_DIR - The directory containing VTKConfig.cmake.
-# This is either the root of the build tree,
-# or the lib/vtk directory. This is the
-# only cache entry.
-# The following variables are set for backward compatibility and
-# should not be used in new code:
-# USE_VTK_FILE - The full path to the UseVTK.cmake file.
-# This is provided for backward
-# compatibility. Use VTK_USE_FILE
-# instead.
#
+# ::
+#
+# VTK_DIR - The directory containing VTKConfig.cmake.
+# This is either the root of the build tree,
+# or the lib/vtk directory. This is the
+# only cache entry.
+#
+# The following variables are set for backward compatibility and should
+# not be used in new code:
+#
+# ::
+#
+# USE_VTK_FILE - The full path to the UseVTK.cmake file.
+# This is provided for backward
+# compatibility. Use VTK_USE_FILE
+# instead.
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.
diff --git a/Modules/FindWget.cmake b/Modules/FindWget.cmake
index 4da98b1..b303b40 100644
--- a/Modules/FindWget.cmake
+++ b/Modules/FindWget.cmake
@@ -1,8 +1,15 @@
-# - Find wget
-# This module looks for wget. This module defines the
-# following values:
-# WGET_EXECUTABLE: the full path to the wget tool.
-# WGET_FOUND: True if wget has been found.
+#.rst:
+# FindWget
+# --------
+#
+# Find wget
+#
+# This module looks for wget. This module defines the following values:
+#
+# ::
+#
+# WGET_EXECUTABLE: the full path to the wget tool.
+# WGET_FOUND: True if wget has been found.
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.
diff --git a/Modules/FindWish.cmake b/Modules/FindWish.cmake
index 11b29f2..df301b4 100644
--- a/Modules/FindWish.cmake
+++ b/Modules/FindWish.cmake
@@ -1,9 +1,18 @@
-# - Find wish installation
-# This module finds if TCL is installed and determines where the
-# include files and libraries are. It also determines what the name of
-# the library is. This code sets the following variables:
+#.rst:
+# FindWish
+# --------
+#
+# Find wish installation
+#
+# This module finds if TCL is installed and determines where the include
+# files and libraries are. It also determines what the name of the
+# library is. This code sets the following variables:
+#
+# ::
+#
+# TK_WISH = the path to the wish executable
+#
#
-# TK_WISH = the path to the wish executable
#
# if UNIX is defined, then it will look for the cygwin version first
diff --git a/Modules/FindX11.cmake b/Modules/FindX11.cmake
index 131d979..67cecc2 100644
--- a/Modules/FindX11.cmake
+++ b/Modules/FindX11.cmake
@@ -1,44 +1,57 @@
-# - Find X11 installation
-# Try to find X11 on UNIX systems. The following values are defined
-# X11_FOUND - True if X11 is available
-# X11_INCLUDE_DIR - include directories to use X11
-# X11_LIBRARIES - link against these to use X11
+#.rst:
+# FindX11
+# -------
#
-# and also the following more fine grained variables:
-# Include paths: X11_ICE_INCLUDE_PATH, X11_ICE_LIB, X11_ICE_FOUND
-# X11_SM_INCLUDE_PATH, X11_SM_LIB, X11_SM_FOUND
-# X11_X11_INCLUDE_PATH, X11_X11_LIB
-# X11_Xaccessrules_INCLUDE_PATH, X11_Xaccess_FOUND
-# X11_Xaccessstr_INCLUDE_PATH, X11_Xaccess_FOUND
-# X11_Xau_INCLUDE_PATH, X11_Xau_LIB, X11_Xau_FOUND
-# X11_Xcomposite_INCLUDE_PATH, X11_Xcomposite_LIB, X11_Xcomposite_FOUND
-# X11_Xcursor_INCLUDE_PATH, X11_Xcursor_LIB, X11_Xcursor_FOUND
-# X11_Xdamage_INCLUDE_PATH, X11_Xdamage_LIB, X11_Xdamage_FOUND
-# X11_Xdmcp_INCLUDE_PATH, X11_Xdmcp_LIB, X11_Xdmcp_FOUND
-# X11_Xext_LIB, X11_Xext_FOUND
-# X11_dpms_INCLUDE_PATH, (in X11_Xext_LIB), X11_dpms_FOUND
-# X11_XShm_INCLUDE_PATH, (in X11_Xext_LIB), X11_XShm_FOUND
-# X11_Xshape_INCLUDE_PATH, (in X11_Xext_LIB), X11_Xshape_FOUND
-# X11_xf86misc_INCLUDE_PATH, X11_Xxf86misc_LIB, X11_xf86misc_FOUND
-# X11_xf86vmode_INCLUDE_PATH, X11_Xxf86vm_LIB X11_xf86vmode_FOUND
-# X11_Xfixes_INCLUDE_PATH, X11_Xfixes_LIB, X11_Xfixes_FOUND
-# X11_Xft_INCLUDE_PATH, X11_Xft_LIB, X11_Xft_FOUND
-# X11_Xi_INCLUDE_PATH, X11_Xi_LIB, X11_Xi_FOUND
-# X11_Xinerama_INCLUDE_PATH, X11_Xinerama_LIB, X11_Xinerama_FOUND
-# X11_Xinput_INCLUDE_PATH, X11_Xinput_LIB, X11_Xinput_FOUND
-# X11_Xkb_INCLUDE_PATH, X11_Xkb_FOUND
-# X11_Xkblib_INCLUDE_PATH, X11_Xkb_FOUND
-# X11_Xkbfile_INCLUDE_PATH, X11_Xkbfile_LIB, X11_Xkbfile_FOUND
-# X11_Xmu_INCLUDE_PATH, X11_Xmu_LIB, X11_Xmu_FOUND
-# X11_Xpm_INCLUDE_PATH, X11_Xpm_LIB, X11_Xpm_FOUND
-# X11_XTest_INCLUDE_PATH, X11_XTest_LIB, X11_XTest_FOUND
-# X11_Xrandr_INCLUDE_PATH, X11_Xrandr_LIB, X11_Xrandr_FOUND
-# X11_Xrender_INCLUDE_PATH, X11_Xrender_LIB, X11_Xrender_FOUND
-# X11_Xscreensaver_INCLUDE_PATH, X11_Xscreensaver_LIB, X11_Xscreensaver_FOUND
-# X11_Xt_INCLUDE_PATH, X11_Xt_LIB, X11_Xt_FOUND
-# X11_Xutil_INCLUDE_PATH, X11_Xutil_FOUND
-# X11_Xv_INCLUDE_PATH, X11_Xv_LIB, X11_Xv_FOUND
-# X11_XSync_INCLUDE_PATH, (in X11_Xext_LIB), X11_XSync_FOUND
+# Find X11 installation
+#
+# Try to find X11 on UNIX systems. The following values are defined
+#
+# ::
+#
+# X11_FOUND - True if X11 is available
+# X11_INCLUDE_DIR - include directories to use X11
+# X11_LIBRARIES - link against these to use X11
+#
+#
+#
+# and also the following more fine grained variables: Include paths:
+# X11_ICE_INCLUDE_PATH, X11_ICE_LIB, X11_ICE_FOUND
+#
+# ::
+#
+# X11_SM_INCLUDE_PATH, X11_SM_LIB, X11_SM_FOUND
+# X11_X11_INCLUDE_PATH, X11_X11_LIB
+# X11_Xaccessrules_INCLUDE_PATH, X11_Xaccess_FOUND
+# X11_Xaccessstr_INCLUDE_PATH, X11_Xaccess_FOUND
+# X11_Xau_INCLUDE_PATH, X11_Xau_LIB, X11_Xau_FOUND
+# X11_Xcomposite_INCLUDE_PATH, X11_Xcomposite_LIB, X11_Xcomposite_FOUND
+# X11_Xcursor_INCLUDE_PATH, X11_Xcursor_LIB, X11_Xcursor_FOUND
+# X11_Xdamage_INCLUDE_PATH, X11_Xdamage_LIB, X11_Xdamage_FOUND
+# X11_Xdmcp_INCLUDE_PATH, X11_Xdmcp_LIB, X11_Xdmcp_FOUND
+# X11_Xext_LIB, X11_Xext_FOUND
+# X11_dpms_INCLUDE_PATH, (in X11_Xext_LIB), X11_dpms_FOUND
+# X11_XShm_INCLUDE_PATH, (in X11_Xext_LIB), X11_XShm_FOUND
+# X11_Xshape_INCLUDE_PATH, (in X11_Xext_LIB), X11_Xshape_FOUND
+# X11_xf86misc_INCLUDE_PATH, X11_Xxf86misc_LIB, X11_xf86misc_FOUND
+# X11_xf86vmode_INCLUDE_PATH, X11_Xxf86vm_LIB X11_xf86vmode_FOUND
+# X11_Xfixes_INCLUDE_PATH, X11_Xfixes_LIB, X11_Xfixes_FOUND
+# X11_Xft_INCLUDE_PATH, X11_Xft_LIB, X11_Xft_FOUND
+# X11_Xi_INCLUDE_PATH, X11_Xi_LIB, X11_Xi_FOUND
+# X11_Xinerama_INCLUDE_PATH, X11_Xinerama_LIB, X11_Xinerama_FOUND
+# X11_Xinput_INCLUDE_PATH, X11_Xinput_LIB, X11_Xinput_FOUND
+# X11_Xkb_INCLUDE_PATH, X11_Xkb_FOUND
+# X11_Xkblib_INCLUDE_PATH, X11_Xkb_FOUND
+# X11_Xkbfile_INCLUDE_PATH, X11_Xkbfile_LIB, X11_Xkbfile_FOUND
+# X11_Xmu_INCLUDE_PATH, X11_Xmu_LIB, X11_Xmu_FOUND
+# X11_Xpm_INCLUDE_PATH, X11_Xpm_LIB, X11_Xpm_FOUND
+# X11_XTest_INCLUDE_PATH, X11_XTest_LIB, X11_XTest_FOUND
+# X11_Xrandr_INCLUDE_PATH, X11_Xrandr_LIB, X11_Xrandr_FOUND
+# X11_Xrender_INCLUDE_PATH, X11_Xrender_LIB, X11_Xrender_FOUND
+# X11_Xscreensaver_INCLUDE_PATH, X11_Xscreensaver_LIB, X11_Xscreensaver_FOUND
+# X11_Xt_INCLUDE_PATH, X11_Xt_LIB, X11_Xt_FOUND
+# X11_Xutil_INCLUDE_PATH, X11_Xutil_FOUND
+# X11_Xv_INCLUDE_PATH, X11_Xv_LIB, X11_Xv_FOUND
+# X11_XSync_INCLUDE_PATH, (in X11_Xext_LIB), X11_XSync_FOUND
#=============================================================================
diff --git a/Modules/FindXMLRPC.cmake b/Modules/FindXMLRPC.cmake
index c80249b..e855050 100644
--- a/Modules/FindXMLRPC.cmake
+++ b/Modules/FindXMLRPC.cmake
@@ -1,16 +1,32 @@
-# - Find xmlrpc
+#.rst:
+# FindXMLRPC
+# ----------
+#
+# Find xmlrpc
+#
# Find the native XMLRPC headers and libraries.
-# XMLRPC_INCLUDE_DIRS - where to find xmlrpc.h, etc.
-# XMLRPC_LIBRARIES - List of libraries when using xmlrpc.
-# XMLRPC_FOUND - True if xmlrpc found.
+#
+# ::
+#
+# XMLRPC_INCLUDE_DIRS - where to find xmlrpc.h, etc.
+# XMLRPC_LIBRARIES - List of libraries when using xmlrpc.
+# XMLRPC_FOUND - True if xmlrpc found.
+#
# XMLRPC modules may be specified as components for this find module.
# Modules may be listed by running "xmlrpc-c-config". Modules include:
-# c++ C++ wrapper code
-# libwww-client libwww-based client
-# cgi-server CGI-based server
-# abyss-server ABYSS-based server
+#
+# ::
+#
+# c++ C++ wrapper code
+# libwww-client libwww-based client
+# cgi-server CGI-based server
+# abyss-server ABYSS-based server
+#
# Typical usage:
-# find_package(XMLRPC REQUIRED libwww-client)
+#
+# ::
+#
+# find_package(XMLRPC REQUIRED libwww-client)
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.
diff --git a/Modules/FindZLIB.cmake b/Modules/FindZLIB.cmake
index 00b9c64..75b0076 100644
--- a/Modules/FindZLIB.cmake
+++ b/Modules/FindZLIB.cmake
@@ -1,25 +1,41 @@
-# - Find zlib
-# Find the native ZLIB includes and library.
-# Once done this will define
+#.rst:
+# FindZLIB
+# --------
+#
+# Find zlib
+#
+# Find the native ZLIB includes and library. Once done this will define
+#
+# ::
+#
+# ZLIB_INCLUDE_DIRS - where to find zlib.h, etc.
+# ZLIB_LIBRARIES - List of libraries when using zlib.
+# ZLIB_FOUND - True if zlib found.
+#
+#
+#
+# ::
+#
+# ZLIB_VERSION_STRING - The version of zlib found (x.y.z)
+# ZLIB_VERSION_MAJOR - The major version of zlib
+# ZLIB_VERSION_MINOR - The minor version of zlib
+# ZLIB_VERSION_PATCH - The patch version of zlib
+# ZLIB_VERSION_TWEAK - The tweak version of zlib
#
-# ZLIB_INCLUDE_DIRS - where to find zlib.h, etc.
-# ZLIB_LIBRARIES - List of libraries when using zlib.
-# ZLIB_FOUND - True if zlib found.
#
-# ZLIB_VERSION_STRING - The version of zlib found (x.y.z)
-# ZLIB_VERSION_MAJOR - The major version of zlib
-# ZLIB_VERSION_MINOR - The minor version of zlib
-# ZLIB_VERSION_PATCH - The patch version of zlib
-# ZLIB_VERSION_TWEAK - The tweak version of zlib
#
# The following variable are provided for backward compatibility
#
-# ZLIB_MAJOR_VERSION - The major version of zlib
-# ZLIB_MINOR_VERSION - The minor version of zlib
-# ZLIB_PATCH_VERSION - The patch version of zlib
+# ::
+#
+# ZLIB_MAJOR_VERSION - The major version of zlib
+# ZLIB_MINOR_VERSION - The minor version of zlib
+# ZLIB_PATCH_VERSION - The patch version of zlib
+#
+#
#
-# An includer may set ZLIB_ROOT to a zlib installation root to tell
-# this module where to look.
+# An includer may set ZLIB_ROOT to a zlib installation root to tell this
+# module where to look.
#=============================================================================
# Copyright 2001-2011 Kitware, Inc.
diff --git a/Modules/Findosg.cmake b/Modules/Findosg.cmake
index bc1e48a..5ab2846 100644
--- a/Modules/Findosg.cmake
+++ b/Modules/Findosg.cmake
@@ -1,31 +1,37 @@
+#.rst:
+# Findosg
+# -------
#
-# NOTE: It is highly recommended that you use the new FindOpenSceneGraph.cmake
-# introduced in CMake 2.6.3 and not use this Find module directly.
-#
-# This is part of the Findosg* suite used to find OpenSceneGraph components.
-# Each component is separate and you must opt in to each module. You must
-# also opt into OpenGL and OpenThreads (and Producer if needed) as these
-# modules won't do it for you. This is to allow you control over your own
-# system piece by piece in case you need to opt out of certain components
-# or change the Find behavior for a particular module (perhaps because the
-# default FindOpenGL.cmake module doesn't work with your system as an
-# example).
-# If you want to use a more convenient module that includes everything,
-# use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
-#
-# Locate osg
-# This module defines
-#
-# OSG_FOUND - Was the Osg found?
-# OSG_INCLUDE_DIR - Where to find the headers
-# OSG_LIBRARIES - The libraries to link against for the OSG (use this)
-#
-# OSG_LIBRARY - The OSG library
-# OSG_LIBRARY_DEBUG - The OSG debug library
-#
-# $OSGDIR is an environment variable that would
-# correspond to the ./configure --prefix=$OSGDIR
-# used in building osg.
+#
+#
+#
+#
+# NOTE: It is highly recommended that you use the new
+# FindOpenSceneGraph.cmake introduced in CMake 2.6.3 and not use this
+# Find module directly.
+#
+# This is part of the Findosg* suite used to find OpenSceneGraph
+# components. Each component is separate and you must opt in to each
+# module. You must also opt into OpenGL and OpenThreads (and Producer
+# if needed) as these modules won't do it for you. This is to allow you
+# control over your own system piece by piece in case you need to opt
+# out of certain components or change the Find behavior for a particular
+# module (perhaps because the default FindOpenGL.cmake module doesn't
+# work with your system as an example). If you want to use a more
+# convenient module that includes everything, use the
+# FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
+#
+# Locate osg This module defines
+#
+# OSG_FOUND - Was the Osg found? OSG_INCLUDE_DIR - Where to find the
+# headers OSG_LIBRARIES - The libraries to link against for the OSG (use
+# this)
+#
+# OSG_LIBRARY - The OSG library OSG_LIBRARY_DEBUG - The OSG debug
+# library
+#
+# $OSGDIR is an environment variable that would correspond to the
+# ./configure --prefix=$OSGDIR used in building osg.
#
# Created by Eric Wing.
diff --git a/Modules/FindosgAnimation.cmake b/Modules/FindosgAnimation.cmake
index 121aefc..403e68e 100644
--- a/Modules/FindosgAnimation.cmake
+++ b/Modules/FindosgAnimation.cmake
@@ -1,27 +1,31 @@
-# This is part of the Findosg* suite used to find OpenSceneGraph components.
-# Each component is separate and you must opt in to each module. You must
-# also opt into OpenGL and OpenThreads (and Producer if needed) as these
-# modules won't do it for you. This is to allow you control over your own
-# system piece by piece in case you need to opt out of certain components
-# or change the Find behavior for a particular module (perhaps because the
-# default FindOpenGL.cmake module doesn't work with your system as an
-# example).
-# If you want to use a more convenient module that includes everything,
-# use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
-#
-# Locate osgAnimation
-# This module defines
-#
-# OSGANIMATION_FOUND - Was osgAnimation found?
-# OSGANIMATION_INCLUDE_DIR - Where to find the headers
-# OSGANIMATION_LIBRARIES - The libraries to link against for the OSG (use this)
-#
-# OSGANIMATION_LIBRARY - The OSG library
-# OSGANIMATION_LIBRARY_DEBUG - The OSG debug library
-#
-# $OSGDIR is an environment variable that would
-# correspond to the ./configure --prefix=$OSGDIR
-# used in building osg.
+#.rst:
+# FindosgAnimation
+# ----------------
+#
+#
+#
+# This is part of the Findosg* suite used to find OpenSceneGraph
+# components. Each component is separate and you must opt in to each
+# module. You must also opt into OpenGL and OpenThreads (and Producer
+# if needed) as these modules won't do it for you. This is to allow you
+# control over your own system piece by piece in case you need to opt
+# out of certain components or change the Find behavior for a particular
+# module (perhaps because the default FindOpenGL.cmake module doesn't
+# work with your system as an example). If you want to use a more
+# convenient module that includes everything, use the
+# FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
+#
+# Locate osgAnimation This module defines
+#
+# OSGANIMATION_FOUND - Was osgAnimation found? OSGANIMATION_INCLUDE_DIR
+# - Where to find the headers OSGANIMATION_LIBRARIES - The libraries to
+# link against for the OSG (use this)
+#
+# OSGANIMATION_LIBRARY - The OSG library OSGANIMATION_LIBRARY_DEBUG -
+# The OSG debug library
+#
+# $OSGDIR is an environment variable that would correspond to the
+# ./configure --prefix=$OSGDIR used in building osg.
#
# Created by Eric Wing.
diff --git a/Modules/FindosgDB.cmake b/Modules/FindosgDB.cmake
index 1ed94a1..0e5bdef 100644
--- a/Modules/FindosgDB.cmake
+++ b/Modules/FindosgDB.cmake
@@ -1,27 +1,31 @@
-# This is part of the Findosg* suite used to find OpenSceneGraph components.
-# Each component is separate and you must opt in to each module. You must
-# also opt into OpenGL and OpenThreads (and Producer if needed) as these
-# modules won't do it for you. This is to allow you control over your own
-# system piece by piece in case you need to opt out of certain components
-# or change the Find behavior for a particular module (perhaps because the
-# default FindOpenGL.cmake module doesn't work with your system as an
-# example).
-# If you want to use a more convenient module that includes everything,
-# use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
-#
-# Locate osgDB
-# This module defines
-#
-# OSGDB_FOUND - Was osgDB found?
-# OSGDB_INCLUDE_DIR - Where to find the headers
-# OSGDB_LIBRARIES - The libraries to link against for the osgDB (use this)
-#
-# OSGDB_LIBRARY - The osgDB library
-# OSGDB_LIBRARY_DEBUG - The osgDB debug library
-#
-# $OSGDIR is an environment variable that would
-# correspond to the ./configure --prefix=$OSGDIR
-# used in building osg.
+#.rst:
+# FindosgDB
+# ---------
+#
+#
+#
+# This is part of the Findosg* suite used to find OpenSceneGraph
+# components. Each component is separate and you must opt in to each
+# module. You must also opt into OpenGL and OpenThreads (and Producer
+# if needed) as these modules won't do it for you. This is to allow you
+# control over your own system piece by piece in case you need to opt
+# out of certain components or change the Find behavior for a particular
+# module (perhaps because the default FindOpenGL.cmake module doesn't
+# work with your system as an example). If you want to use a more
+# convenient module that includes everything, use the
+# FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
+#
+# Locate osgDB This module defines
+#
+# OSGDB_FOUND - Was osgDB found? OSGDB_INCLUDE_DIR - Where to find the
+# headers OSGDB_LIBRARIES - The libraries to link against for the osgDB
+# (use this)
+#
+# OSGDB_LIBRARY - The osgDB library OSGDB_LIBRARY_DEBUG - The osgDB
+# debug library
+#
+# $OSGDIR is an environment variable that would correspond to the
+# ./configure --prefix=$OSGDIR used in building osg.
#
# Created by Eric Wing.
diff --git a/Modules/FindosgFX.cmake b/Modules/FindosgFX.cmake
index 1f1d59f..7b2cb76 100644
--- a/Modules/FindosgFX.cmake
+++ b/Modules/FindosgFX.cmake
@@ -1,27 +1,31 @@
-# This is part of the Findosg* suite used to find OpenSceneGraph components.
-# Each component is separate and you must opt in to each module. You must
-# also opt into OpenGL and OpenThreads (and Producer if needed) as these
-# modules won't do it for you. This is to allow you control over your own
-# system piece by piece in case you need to opt out of certain components
-# or change the Find behavior for a particular module (perhaps because the
-# default FindOpenGL.cmake module doesn't work with your system as an
-# example).
-# If you want to use a more convenient module that includes everything,
-# use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
-#
-# Locate osgFX
-# This module defines
-#
-# OSGFX_FOUND - Was osgFX found?
-# OSGFX_INCLUDE_DIR - Where to find the headers
-# OSGFX_LIBRARIES - The libraries to link against for the osgFX (use this)
-#
-# OSGFX_LIBRARY - The osgFX library
-# OSGFX_LIBRARY_DEBUG - The osgFX debug library
-#
-# $OSGDIR is an environment variable that would
-# correspond to the ./configure --prefix=$OSGDIR
-# used in building osg.
+#.rst:
+# FindosgFX
+# ---------
+#
+#
+#
+# This is part of the Findosg* suite used to find OpenSceneGraph
+# components. Each component is separate and you must opt in to each
+# module. You must also opt into OpenGL and OpenThreads (and Producer
+# if needed) as these modules won't do it for you. This is to allow you
+# control over your own system piece by piece in case you need to opt
+# out of certain components or change the Find behavior for a particular
+# module (perhaps because the default FindOpenGL.cmake module doesn't
+# work with your system as an example). If you want to use a more
+# convenient module that includes everything, use the
+# FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
+#
+# Locate osgFX This module defines
+#
+# OSGFX_FOUND - Was osgFX found? OSGFX_INCLUDE_DIR - Where to find the
+# headers OSGFX_LIBRARIES - The libraries to link against for the osgFX
+# (use this)
+#
+# OSGFX_LIBRARY - The osgFX library OSGFX_LIBRARY_DEBUG - The osgFX
+# debug library
+#
+# $OSGDIR is an environment variable that would correspond to the
+# ./configure --prefix=$OSGDIR used in building osg.
#
# Created by Eric Wing.
diff --git a/Modules/FindosgGA.cmake b/Modules/FindosgGA.cmake
index e60f7f5..2e80ff2 100644
--- a/Modules/FindosgGA.cmake
+++ b/Modules/FindosgGA.cmake
@@ -1,27 +1,31 @@
-# This is part of the Findosg* suite used to find OpenSceneGraph components.
-# Each component is separate and you must opt in to each module. You must
-# also opt into OpenGL and OpenThreads (and Producer if needed) as these
-# modules won't do it for you. This is to allow you control over your own
-# system piece by piece in case you need to opt out of certain components
-# or change the Find behavior for a particular module (perhaps because the
-# default FindOpenGL.cmake module doesn't work with your system as an
-# example).
-# If you want to use a more convenient module that includes everything,
-# use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
-#
-# Locate osgGA
-# This module defines
-#
-# OSGGA_FOUND - Was osgGA found?
-# OSGGA_INCLUDE_DIR - Where to find the headers
-# OSGGA_LIBRARIES - The libraries to link against for the osgGA (use this)
-#
-# OSGGA_LIBRARY - The osgGA library
-# OSGGA_LIBRARY_DEBUG - The osgGA debug library
-#
-# $OSGDIR is an environment variable that would
-# correspond to the ./configure --prefix=$OSGDIR
-# used in building osg.
+#.rst:
+# FindosgGA
+# ---------
+#
+#
+#
+# This is part of the Findosg* suite used to find OpenSceneGraph
+# components. Each component is separate and you must opt in to each
+# module. You must also opt into OpenGL and OpenThreads (and Producer
+# if needed) as these modules won't do it for you. This is to allow you
+# control over your own system piece by piece in case you need to opt
+# out of certain components or change the Find behavior for a particular
+# module (perhaps because the default FindOpenGL.cmake module doesn't
+# work with your system as an example). If you want to use a more
+# convenient module that includes everything, use the
+# FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
+#
+# Locate osgGA This module defines
+#
+# OSGGA_FOUND - Was osgGA found? OSGGA_INCLUDE_DIR - Where to find the
+# headers OSGGA_LIBRARIES - The libraries to link against for the osgGA
+# (use this)
+#
+# OSGGA_LIBRARY - The osgGA library OSGGA_LIBRARY_DEBUG - The osgGA
+# debug library
+#
+# $OSGDIR is an environment variable that would correspond to the
+# ./configure --prefix=$OSGDIR used in building osg.
#
# Created by Eric Wing.
diff --git a/Modules/FindosgIntrospection.cmake b/Modules/FindosgIntrospection.cmake
index a430ad6..1b52a6a 100644
--- a/Modules/FindosgIntrospection.cmake
+++ b/Modules/FindosgIntrospection.cmake
@@ -1,27 +1,32 @@
-# This is part of the Findosg* suite used to find OpenSceneGraph components.
-# Each component is separate and you must opt in to each module. You must
-# also opt into OpenGL and OpenThreads (and Producer if needed) as these
-# modules won't do it for you. This is to allow you control over your own
-# system piece by piece in case you need to opt out of certain components
-# or change the Find behavior for a particular module (perhaps because the
-# default FindOpenGL.cmake module doesn't work with your system as an
-# example).
-# If you want to use a more convenient module that includes everything,
-# use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
-#
-# Locate osgINTROSPECTION
-# This module defines
+#.rst:
+# FindosgIntrospection
+# --------------------
+#
+#
+#
+# This is part of the Findosg* suite used to find OpenSceneGraph
+# components. Each component is separate and you must opt in to each
+# module. You must also opt into OpenGL and OpenThreads (and Producer
+# if needed) as these modules won't do it for you. This is to allow you
+# control over your own system piece by piece in case you need to opt
+# out of certain components or change the Find behavior for a particular
+# module (perhaps because the default FindOpenGL.cmake module doesn't
+# work with your system as an example). If you want to use a more
+# convenient module that includes everything, use the
+# FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
+#
+# Locate osgINTROSPECTION This module defines
#
# OSGINTROSPECTION_FOUND - Was osgIntrospection found?
# OSGINTROSPECTION_INCLUDE_DIR - Where to find the headers
-# OSGINTROSPECTION_LIBRARIES - The libraries to link for osgIntrospection (use this)
+# OSGINTROSPECTION_LIBRARIES - The libraries to link for
+# osgIntrospection (use this)
#
# OSGINTROSPECTION_LIBRARY - The osgIntrospection library
# OSGINTROSPECTION_LIBRARY_DEBUG - The osgIntrospection debug library
#
-# $OSGDIR is an environment variable that would
-# correspond to the ./configure --prefix=$OSGDIR
-# used in building osg.
+# $OSGDIR is an environment variable that would correspond to the
+# ./configure --prefix=$OSGDIR used in building osg.
#
# Created by Eric Wing.
diff --git a/Modules/FindosgManipulator.cmake b/Modules/FindosgManipulator.cmake
index 32d6def..6f54082 100644
--- a/Modules/FindosgManipulator.cmake
+++ b/Modules/FindosgManipulator.cmake
@@ -1,27 +1,32 @@
-# This is part of the Findosg* suite used to find OpenSceneGraph components.
-# Each component is separate and you must opt in to each module. You must
-# also opt into OpenGL and OpenThreads (and Producer if needed) as these
-# modules won't do it for you. This is to allow you control over your own
-# system piece by piece in case you need to opt out of certain components
-# or change the Find behavior for a particular module (perhaps because the
-# default FindOpenGL.cmake module doesn't work with your system as an
-# example).
-# If you want to use a more convenient module that includes everything,
-# use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
-#
-# Locate osgManipulator
-# This module defines
+#.rst:
+# FindosgManipulator
+# ------------------
+#
+#
+#
+# This is part of the Findosg* suite used to find OpenSceneGraph
+# components. Each component is separate and you must opt in to each
+# module. You must also opt into OpenGL and OpenThreads (and Producer
+# if needed) as these modules won't do it for you. This is to allow you
+# control over your own system piece by piece in case you need to opt
+# out of certain components or change the Find behavior for a particular
+# module (perhaps because the default FindOpenGL.cmake module doesn't
+# work with your system as an example). If you want to use a more
+# convenient module that includes everything, use the
+# FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
+#
+# Locate osgManipulator This module defines
#
# OSGMANIPULATOR_FOUND - Was osgManipulator found?
# OSGMANIPULATOR_INCLUDE_DIR - Where to find the headers
-# OSGMANIPULATOR_LIBRARIES - The libraries to link for osgManipulator (use this)
+# OSGMANIPULATOR_LIBRARIES - The libraries to link for osgManipulator
+# (use this)
#
# OSGMANIPULATOR_LIBRARY - The osgManipulator library
# OSGMANIPULATOR_LIBRARY_DEBUG - The osgManipulator debug library
#
-# $OSGDIR is an environment variable that would
-# correspond to the ./configure --prefix=$OSGDIR
-# used in building osg.
+# $OSGDIR is an environment variable that would correspond to the
+# ./configure --prefix=$OSGDIR used in building osg.
#
# Created by Eric Wing.
diff --git a/Modules/FindosgParticle.cmake b/Modules/FindosgParticle.cmake
index 1a6ae0b..82e9a13 100644
--- a/Modules/FindosgParticle.cmake
+++ b/Modules/FindosgParticle.cmake
@@ -1,27 +1,31 @@
-# This is part of the Findosg* suite used to find OpenSceneGraph components.
-# Each component is separate and you must opt in to each module. You must
-# also opt into OpenGL and OpenThreads (and Producer if needed) as these
-# modules won't do it for you. This is to allow you control over your own
-# system piece by piece in case you need to opt out of certain components
-# or change the Find behavior for a particular module (perhaps because the
-# default FindOpenGL.cmake module doesn't work with your system as an
-# example).
-# If you want to use a more convenient module that includes everything,
-# use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
-#
-# Locate osgParticle
-# This module defines
-#
-# OSGPARTICLE_FOUND - Was osgParticle found?
-# OSGPARTICLE_INCLUDE_DIR - Where to find the headers
-# OSGPARTICLE_LIBRARIES - The libraries to link for osgParticle (use this)
+#.rst:
+# FindosgParticle
+# ---------------
+#
+#
+#
+# This is part of the Findosg* suite used to find OpenSceneGraph
+# components. Each component is separate and you must opt in to each
+# module. You must also opt into OpenGL and OpenThreads (and Producer
+# if needed) as these modules won't do it for you. This is to allow you
+# control over your own system piece by piece in case you need to opt
+# out of certain components or change the Find behavior for a particular
+# module (perhaps because the default FindOpenGL.cmake module doesn't
+# work with your system as an example). If you want to use a more
+# convenient module that includes everything, use the
+# FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
+#
+# Locate osgParticle This module defines
+#
+# OSGPARTICLE_FOUND - Was osgParticle found? OSGPARTICLE_INCLUDE_DIR -
+# Where to find the headers OSGPARTICLE_LIBRARIES - The libraries to
+# link for osgParticle (use this)
#
# OSGPARTICLE_LIBRARY - The osgParticle library
# OSGPARTICLE_LIBRARY_DEBUG - The osgParticle debug library
#
-# $OSGDIR is an environment variable that would
-# correspond to the ./configure --prefix=$OSGDIR
-# used in building osg.
+# $OSGDIR is an environment variable that would correspond to the
+# ./configure --prefix=$OSGDIR used in building osg.
#
# Created by Eric Wing.
diff --git a/Modules/FindosgPresentation.cmake b/Modules/FindosgPresentation.cmake
index 412502a..1cd57b3 100644
--- a/Modules/FindosgPresentation.cmake
+++ b/Modules/FindosgPresentation.cmake
@@ -1,30 +1,35 @@
-# This is part of the Findosg* suite used to find OpenSceneGraph components.
-# Each component is separate and you must opt in to each module. You must
-# also opt into OpenGL and OpenThreads (and Producer if needed) as these
-# modules won't do it for you. This is to allow you control over your own
-# system piece by piece in case you need to opt out of certain components
-# or change the Find behavior for a particular module (perhaps because the
-# default FindOpenGL.cmake module doesn't work with your system as an
-# example).
-# If you want to use a more convenient module that includes everything,
-# use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
-#
-# Locate osgPresentation
-# This module defines
+#.rst:
+# FindosgPresentation
+# -------------------
+#
+#
+#
+# This is part of the Findosg* suite used to find OpenSceneGraph
+# components. Each component is separate and you must opt in to each
+# module. You must also opt into OpenGL and OpenThreads (and Producer
+# if needed) as these modules won't do it for you. This is to allow you
+# control over your own system piece by piece in case you need to opt
+# out of certain components or change the Find behavior for a particular
+# module (perhaps because the default FindOpenGL.cmake module doesn't
+# work with your system as an example). If you want to use a more
+# convenient module that includes everything, use the
+# FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
+#
+# Locate osgPresentation This module defines
#
# OSGPRESENTATION_FOUND - Was osgPresentation found?
# OSGPRESENTATION_INCLUDE_DIR - Where to find the headers
-# OSGPRESENTATION_LIBRARIES - The libraries to link for osgPresentation (use this)
+# OSGPRESENTATION_LIBRARIES - The libraries to link for osgPresentation
+# (use this)
#
# OSGPRESENTATION_LIBRARY - The osgPresentation library
# OSGPRESENTATION_LIBRARY_DEBUG - The osgPresentation debug library
#
-# $OSGDIR is an environment variable that would
-# correspond to the ./configure --prefix=$OSGDIR
-# used in building osg.
+# $OSGDIR is an environment variable that would correspond to the
+# ./configure --prefix=$OSGDIR used in building osg.
#
-# Created by Eric Wing.
-# Modified to work with osgPresentation by Robert Osfield, January 2012.
+# Created by Eric Wing. Modified to work with osgPresentation by Robert
+# Osfield, January 2012.
#=============================================================================
# Copyright 2007-2009 Kitware, Inc.
diff --git a/Modules/FindosgProducer.cmake b/Modules/FindosgProducer.cmake
index ea561a0..ad4902b 100644
--- a/Modules/FindosgProducer.cmake
+++ b/Modules/FindosgProducer.cmake
@@ -1,27 +1,31 @@
-# This is part of the Findosg* suite used to find OpenSceneGraph components.
-# Each component is separate and you must opt in to each module. You must
-# also opt into OpenGL and OpenThreads (and Producer if needed) as these
-# modules won't do it for you. This is to allow you control over your own
-# system piece by piece in case you need to opt out of certain components
-# or change the Find behavior for a particular module (perhaps because the
-# default FindOpenGL.cmake module doesn't work with your system as an
-# example).
-# If you want to use a more convenient module that includes everything,
-# use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
-#
-# Locate osgProducer
-# This module defines
-#
-# OSGPRODUCER_FOUND - Was osgProducer found?
-# OSGPRODUCER_INCLUDE_DIR - Where to find the headers
-# OSGPRODUCER_LIBRARIES - The libraries to link for osgProducer (use this)
+#.rst:
+# FindosgProducer
+# ---------------
+#
+#
+#
+# This is part of the Findosg* suite used to find OpenSceneGraph
+# components. Each component is separate and you must opt in to each
+# module. You must also opt into OpenGL and OpenThreads (and Producer
+# if needed) as these modules won't do it for you. This is to allow you
+# control over your own system piece by piece in case you need to opt
+# out of certain components or change the Find behavior for a particular
+# module (perhaps because the default FindOpenGL.cmake module doesn't
+# work with your system as an example). If you want to use a more
+# convenient module that includes everything, use the
+# FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
+#
+# Locate osgProducer This module defines
+#
+# OSGPRODUCER_FOUND - Was osgProducer found? OSGPRODUCER_INCLUDE_DIR -
+# Where to find the headers OSGPRODUCER_LIBRARIES - The libraries to
+# link for osgProducer (use this)
#
# OSGPRODUCER_LIBRARY - The osgProducer library
# OSGPRODUCER_LIBRARY_DEBUG - The osgProducer debug library
#
-# $OSGDIR is an environment variable that would
-# correspond to the ./configure --prefix=$OSGDIR
-# used in building osg.
+# $OSGDIR is an environment variable that would correspond to the
+# ./configure --prefix=$OSGDIR used in building osg.
#
# Created by Eric Wing.
diff --git a/Modules/FindosgQt.cmake b/Modules/FindosgQt.cmake
index c7e8fee..b5c1718 100644
--- a/Modules/FindosgQt.cmake
+++ b/Modules/FindosgQt.cmake
@@ -1,30 +1,33 @@
-# This is part of the Findosg* suite used to find OpenSceneGraph components.
-# Each component is separate and you must opt in to each module. You must
-# also opt into OpenGL and OpenThreads (and Producer if needed) as these
-# modules won't do it for you. This is to allow you control over your own
-# system piece by piece in case you need to opt out of certain components
-# or change the Find behavior for a particular module (perhaps because the
-# default FindOpenGL.cmake module doesn't work with your system as an
-# example).
-# If you want to use a more convenient module that includes everything,
-# use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
-#
-# Locate osgQt
-# This module defines
-#
-# OSGQT_FOUND - Was osgQt found?
-# OSGQT_INCLUDE_DIR - Where to find the headers
-# OSGQT_LIBRARIES - The libraries to link for osgQt (use this)
-#
-# OSGQT_LIBRARY - The osgQt library
-# OSGQT_LIBRARY_DEBUG - The osgQt debug library
-#
-# $OSGDIR is an environment variable that would
-# correspond to the ./configure --prefix=$OSGDIR
-# used in building osg.
-#
-# Created by Eric Wing.
-# Modified to work with osgQt by Robert Osfield, January 2012.
+#.rst:
+# FindosgQt
+# ---------
+#
+#
+#
+# This is part of the Findosg* suite used to find OpenSceneGraph
+# components. Each component is separate and you must opt in to each
+# module. You must also opt into OpenGL and OpenThreads (and Producer
+# if needed) as these modules won't do it for you. This is to allow you
+# control over your own system piece by piece in case you need to opt
+# out of certain components or change the Find behavior for a particular
+# module (perhaps because the default FindOpenGL.cmake module doesn't
+# work with your system as an example). If you want to use a more
+# convenient module that includes everything, use the
+# FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
+#
+# Locate osgQt This module defines
+#
+# OSGQT_FOUND - Was osgQt found? OSGQT_INCLUDE_DIR - Where to find the
+# headers OSGQT_LIBRARIES - The libraries to link for osgQt (use this)
+#
+# OSGQT_LIBRARY - The osgQt library OSGQT_LIBRARY_DEBUG - The osgQt
+# debug library
+#
+# $OSGDIR is an environment variable that would correspond to the
+# ./configure --prefix=$OSGDIR used in building osg.
+#
+# Created by Eric Wing. Modified to work with osgQt by Robert Osfield,
+# January 2012.
#=============================================================================
# Copyright 2007-2009 Kitware, Inc.
diff --git a/Modules/FindosgShadow.cmake b/Modules/FindosgShadow.cmake
index f3be0bf..b0d22e7 100644
--- a/Modules/FindosgShadow.cmake
+++ b/Modules/FindosgShadow.cmake
@@ -1,27 +1,31 @@
-# This is part of the Findosg* suite used to find OpenSceneGraph components.
-# Each component is separate and you must opt in to each module. You must
-# also opt into OpenGL and OpenThreads (and Producer if needed) as these
-# modules won't do it for you. This is to allow you control over your own
-# system piece by piece in case you need to opt out of certain components
-# or change the Find behavior for a particular module (perhaps because the
-# default FindOpenGL.cmake module doesn't work with your system as an
-# example).
-# If you want to use a more convenient module that includes everything,
-# use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
-#
-# Locate osgShadow
-# This module defines
-#
-# OSGSHADOW_FOUND - Was osgShadow found?
-# OSGSHADOW_INCLUDE_DIR - Where to find the headers
-# OSGSHADOW_LIBRARIES - The libraries to link for osgShadow (use this)
-#
-# OSGSHADOW_LIBRARY - The osgShadow library
-# OSGSHADOW_LIBRARY_DEBUG - The osgShadow debug library
-#
-# $OSGDIR is an environment variable that would
-# correspond to the ./configure --prefix=$OSGDIR
-# used in building osg.
+#.rst:
+# FindosgShadow
+# -------------
+#
+#
+#
+# This is part of the Findosg* suite used to find OpenSceneGraph
+# components. Each component is separate and you must opt in to each
+# module. You must also opt into OpenGL and OpenThreads (and Producer
+# if needed) as these modules won't do it for you. This is to allow you
+# control over your own system piece by piece in case you need to opt
+# out of certain components or change the Find behavior for a particular
+# module (perhaps because the default FindOpenGL.cmake module doesn't
+# work with your system as an example). If you want to use a more
+# convenient module that includes everything, use the
+# FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
+#
+# Locate osgShadow This module defines
+#
+# OSGSHADOW_FOUND - Was osgShadow found? OSGSHADOW_INCLUDE_DIR - Where
+# to find the headers OSGSHADOW_LIBRARIES - The libraries to link for
+# osgShadow (use this)
+#
+# OSGSHADOW_LIBRARY - The osgShadow library OSGSHADOW_LIBRARY_DEBUG -
+# The osgShadow debug library
+#
+# $OSGDIR is an environment variable that would correspond to the
+# ./configure --prefix=$OSGDIR used in building osg.
#
# Created by Eric Wing.
diff --git a/Modules/FindosgSim.cmake b/Modules/FindosgSim.cmake
index 19cd175..ce088dc 100644
--- a/Modules/FindosgSim.cmake
+++ b/Modules/FindosgSim.cmake
@@ -1,27 +1,31 @@
-# This is part of the Findosg* suite used to find OpenSceneGraph components.
-# Each component is separate and you must opt in to each module. You must
-# also opt into OpenGL and OpenThreads (and Producer if needed) as these
-# modules won't do it for you. This is to allow you control over your own
-# system piece by piece in case you need to opt out of certain components
-# or change the Find behavior for a particular module (perhaps because the
-# default FindOpenGL.cmake module doesn't work with your system as an
-# example).
-# If you want to use a more convenient module that includes everything,
-# use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
-#
-# Locate osgSim
-# This module defines
-#
-# OSGSIM_FOUND - Was osgSim found?
-# OSGSIM_INCLUDE_DIR - Where to find the headers
-# OSGSIM_LIBRARIES - The libraries to link for osgSim (use this)
-#
-# OSGSIM_LIBRARY - The osgSim library
-# OSGSIM_LIBRARY_DEBUG - The osgSim debug library
-#
-# $OSGDIR is an environment variable that would
-# correspond to the ./configure --prefix=$OSGDIR
-# used in building osg.
+#.rst:
+# FindosgSim
+# ----------
+#
+#
+#
+# This is part of the Findosg* suite used to find OpenSceneGraph
+# components. Each component is separate and you must opt in to each
+# module. You must also opt into OpenGL and OpenThreads (and Producer
+# if needed) as these modules won't do it for you. This is to allow you
+# control over your own system piece by piece in case you need to opt
+# out of certain components or change the Find behavior for a particular
+# module (perhaps because the default FindOpenGL.cmake module doesn't
+# work with your system as an example). If you want to use a more
+# convenient module that includes everything, use the
+# FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
+#
+# Locate osgSim This module defines
+#
+# OSGSIM_FOUND - Was osgSim found? OSGSIM_INCLUDE_DIR - Where to find
+# the headers OSGSIM_LIBRARIES - The libraries to link for osgSim (use
+# this)
+#
+# OSGSIM_LIBRARY - The osgSim library OSGSIM_LIBRARY_DEBUG - The osgSim
+# debug library
+#
+# $OSGDIR is an environment variable that would correspond to the
+# ./configure --prefix=$OSGDIR used in building osg.
#
# Created by Eric Wing.
diff --git a/Modules/FindosgTerrain.cmake b/Modules/FindosgTerrain.cmake
index 4b7249e..bfde773 100644
--- a/Modules/FindosgTerrain.cmake
+++ b/Modules/FindosgTerrain.cmake
@@ -1,27 +1,31 @@
-# This is part of the Findosg* suite used to find OpenSceneGraph components.
-# Each component is separate and you must opt in to each module. You must
-# also opt into OpenGL and OpenThreads (and Producer if needed) as these
-# modules won't do it for you. This is to allow you control over your own
-# system piece by piece in case you need to opt out of certain components
-# or change the Find behavior for a particular module (perhaps because the
-# default FindOpenGL.cmake module doesn't work with your system as an
-# example).
-# If you want to use a more convenient module that includes everything,
-# use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
-#
-# Locate osgTerrain
-# This module defines
-#
-# OSGTERRAIN_FOUND - Was osgTerrain found?
-# OSGTERRAIN_INCLUDE_DIR - Where to find the headers
-# OSGTERRAIN_LIBRARIES - The libraries to link for osgTerrain (use this)
-#
-# OSGTERRAIN_LIBRARY - The osgTerrain library
-# OSGTERRAIN_LIBRARY_DEBUG - The osgTerrain debug library
-#
-# $OSGDIR is an environment variable that would
-# correspond to the ./configure --prefix=$OSGDIR
-# used in building osg.
+#.rst:
+# FindosgTerrain
+# --------------
+#
+#
+#
+# This is part of the Findosg* suite used to find OpenSceneGraph
+# components. Each component is separate and you must opt in to each
+# module. You must also opt into OpenGL and OpenThreads (and Producer
+# if needed) as these modules won't do it for you. This is to allow you
+# control over your own system piece by piece in case you need to opt
+# out of certain components or change the Find behavior for a particular
+# module (perhaps because the default FindOpenGL.cmake module doesn't
+# work with your system as an example). If you want to use a more
+# convenient module that includes everything, use the
+# FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
+#
+# Locate osgTerrain This module defines
+#
+# OSGTERRAIN_FOUND - Was osgTerrain found? OSGTERRAIN_INCLUDE_DIR -
+# Where to find the headers OSGTERRAIN_LIBRARIES - The libraries to link
+# for osgTerrain (use this)
+#
+# OSGTERRAIN_LIBRARY - The osgTerrain library OSGTERRAIN_LIBRARY_DEBUG -
+# The osgTerrain debug library
+#
+# $OSGDIR is an environment variable that would correspond to the
+# ./configure --prefix=$OSGDIR used in building osg.
#
# Created by Eric Wing.
diff --git a/Modules/FindosgText.cmake b/Modules/FindosgText.cmake
index 41683c7..32cd115 100644
--- a/Modules/FindosgText.cmake
+++ b/Modules/FindosgText.cmake
@@ -1,27 +1,31 @@
-# This is part of the Findosg* suite used to find OpenSceneGraph components.
-# Each component is separate and you must opt in to each module. You must
-# also opt into OpenGL and OpenThreads (and Producer if needed) as these
-# modules won't do it for you. This is to allow you control over your own
-# system piece by piece in case you need to opt out of certain components
-# or change the Find behavior for a particular module (perhaps because the
-# default FindOpenGL.cmake module doesn't work with your system as an
-# example).
-# If you want to use a more convenient module that includes everything,
-# use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
-#
-# Locate osgText
-# This module defines
-#
-# OSGTEXT_FOUND - Was osgText found?
-# OSGTEXT_INCLUDE_DIR - Where to find the headers
-# OSGTEXT_LIBRARIES - The libraries to link for osgText (use this)
-#
-# OSGTEXT_LIBRARY - The osgText library
-# OSGTEXT_LIBRARY_DEBUG - The osgText debug library
-#
-# $OSGDIR is an environment variable that would
-# correspond to the ./configure --prefix=$OSGDIR
-# used in building osg.
+#.rst:
+# FindosgText
+# -----------
+#
+#
+#
+# This is part of the Findosg* suite used to find OpenSceneGraph
+# components. Each component is separate and you must opt in to each
+# module. You must also opt into OpenGL and OpenThreads (and Producer
+# if needed) as these modules won't do it for you. This is to allow you
+# control over your own system piece by piece in case you need to opt
+# out of certain components or change the Find behavior for a particular
+# module (perhaps because the default FindOpenGL.cmake module doesn't
+# work with your system as an example). If you want to use a more
+# convenient module that includes everything, use the
+# FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
+#
+# Locate osgText This module defines
+#
+# OSGTEXT_FOUND - Was osgText found? OSGTEXT_INCLUDE_DIR - Where to find
+# the headers OSGTEXT_LIBRARIES - The libraries to link for osgText (use
+# this)
+#
+# OSGTEXT_LIBRARY - The osgText library OSGTEXT_LIBRARY_DEBUG - The
+# osgText debug library
+#
+# $OSGDIR is an environment variable that would correspond to the
+# ./configure --prefix=$OSGDIR used in building osg.
#
# Created by Eric Wing.
diff --git a/Modules/FindosgUtil.cmake b/Modules/FindosgUtil.cmake
index 85c1177..9797425 100644
--- a/Modules/FindosgUtil.cmake
+++ b/Modules/FindosgUtil.cmake
@@ -1,27 +1,31 @@
-# This is part of the Findosg* suite used to find OpenSceneGraph components.
-# Each component is separate and you must opt in to each module. You must
-# also opt into OpenGL and OpenThreads (and Producer if needed) as these
-# modules won't do it for you. This is to allow you control over your own
-# system piece by piece in case you need to opt out of certain components
-# or change the Find behavior for a particular module (perhaps because the
-# default FindOpenGL.cmake module doesn't work with your system as an
-# example).
-# If you want to use a more convenient module that includes everything,
-# use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
-#
-# Locate osgUtil
-# This module defines
-#
-# OSGUTIL_FOUND - Was osgUtil found?
-# OSGUTIL_INCLUDE_DIR - Where to find the headers
-# OSGUTIL_LIBRARIES - The libraries to link for osgUtil (use this)
-#
-# OSGUTIL_LIBRARY - The osgUtil library
-# OSGUTIL_LIBRARY_DEBUG - The osgUtil debug library
-#
-# $OSGDIR is an environment variable that would
-# correspond to the ./configure --prefix=$OSGDIR
-# used in building osg.
+#.rst:
+# FindosgUtil
+# -----------
+#
+#
+#
+# This is part of the Findosg* suite used to find OpenSceneGraph
+# components. Each component is separate and you must opt in to each
+# module. You must also opt into OpenGL and OpenThreads (and Producer
+# if needed) as these modules won't do it for you. This is to allow you
+# control over your own system piece by piece in case you need to opt
+# out of certain components or change the Find behavior for a particular
+# module (perhaps because the default FindOpenGL.cmake module doesn't
+# work with your system as an example). If you want to use a more
+# convenient module that includes everything, use the
+# FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
+#
+# Locate osgUtil This module defines
+#
+# OSGUTIL_FOUND - Was osgUtil found? OSGUTIL_INCLUDE_DIR - Where to find
+# the headers OSGUTIL_LIBRARIES - The libraries to link for osgUtil (use
+# this)
+#
+# OSGUTIL_LIBRARY - The osgUtil library OSGUTIL_LIBRARY_DEBUG - The
+# osgUtil debug library
+#
+# $OSGDIR is an environment variable that would correspond to the
+# ./configure --prefix=$OSGDIR used in building osg.
#
# Created by Eric Wing.
diff --git a/Modules/FindosgViewer.cmake b/Modules/FindosgViewer.cmake
index d2252f4..b355530 100644
--- a/Modules/FindosgViewer.cmake
+++ b/Modules/FindosgViewer.cmake
@@ -1,27 +1,31 @@
-# This is part of the Findosg* suite used to find OpenSceneGraph components.
-# Each component is separate and you must opt in to each module. You must
-# also opt into OpenGL and OpenThreads (and Producer if needed) as these
-# modules won't do it for you. This is to allow you control over your own
-# system piece by piece in case you need to opt out of certain components
-# or change the Find behavior for a particular module (perhaps because the
-# default FindOpenGL.cmake module doesn't work with your system as an
-# example).
-# If you want to use a more convenient module that includes everything,
-# use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
-#
-# Locate osgViewer
-# This module defines
-#
-# OSGVIEWER_FOUND - Was osgViewer found?
-# OSGVIEWER_INCLUDE_DIR - Where to find the headers
-# OSGVIEWER_LIBRARIES - The libraries to link for osgViewer (use this)
-#
-# OSGVIEWER_LIBRARY - The osgViewer library
-# OSGVIEWER_LIBRARY_DEBUG - The osgViewer debug library
-#
-# $OSGDIR is an environment variable that would
-# correspond to the ./configure --prefix=$OSGDIR
-# used in building osg.
+#.rst:
+# FindosgViewer
+# -------------
+#
+#
+#
+# This is part of the Findosg* suite used to find OpenSceneGraph
+# components. Each component is separate and you must opt in to each
+# module. You must also opt into OpenGL and OpenThreads (and Producer
+# if needed) as these modules won't do it for you. This is to allow you
+# control over your own system piece by piece in case you need to opt
+# out of certain components or change the Find behavior for a particular
+# module (perhaps because the default FindOpenGL.cmake module doesn't
+# work with your system as an example). If you want to use a more
+# convenient module that includes everything, use the
+# FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
+#
+# Locate osgViewer This module defines
+#
+# OSGVIEWER_FOUND - Was osgViewer found? OSGVIEWER_INCLUDE_DIR - Where
+# to find the headers OSGVIEWER_LIBRARIES - The libraries to link for
+# osgViewer (use this)
+#
+# OSGVIEWER_LIBRARY - The osgViewer library OSGVIEWER_LIBRARY_DEBUG -
+# The osgViewer debug library
+#
+# $OSGDIR is an environment variable that would correspond to the
+# ./configure --prefix=$OSGDIR used in building osg.
#
# Created by Eric Wing.
diff --git a/Modules/FindosgVolume.cmake b/Modules/FindosgVolume.cmake
index ae2d95c..8d3ad6c 100644
--- a/Modules/FindosgVolume.cmake
+++ b/Modules/FindosgVolume.cmake
@@ -1,27 +1,31 @@
-# This is part of the Findosg* suite used to find OpenSceneGraph components.
-# Each component is separate and you must opt in to each module. You must
-# also opt into OpenGL and OpenThreads (and Producer if needed) as these
-# modules won't do it for you. This is to allow you control over your own
-# system piece by piece in case you need to opt out of certain components
-# or change the Find behavior for a particular module (perhaps because the
-# default FindOpenGL.cmake module doesn't work with your system as an
-# example).
-# If you want to use a more convenient module that includes everything,
-# use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
-#
-# Locate osgVolume
-# This module defines
-#
-# OSGVOLUME_FOUND - Was osgVolume found?
-# OSGVOLUME_INCLUDE_DIR - Where to find the headers
-# OSGVOLUME_LIBRARIES - The libraries to link for osgVolume (use this)
-#
-# OSGVOLUME_LIBRARY - The osgVolume library
-# OSGVOLUME_LIBRARY_DEBUG - The osgVolume debug library
-#
-# $OSGDIR is an environment variable that would
-# correspond to the ./configure --prefix=$OSGDIR
-# used in building osg.
+#.rst:
+# FindosgVolume
+# -------------
+#
+#
+#
+# This is part of the Findosg* suite used to find OpenSceneGraph
+# components. Each component is separate and you must opt in to each
+# module. You must also opt into OpenGL and OpenThreads (and Producer
+# if needed) as these modules won't do it for you. This is to allow you
+# control over your own system piece by piece in case you need to opt
+# out of certain components or change the Find behavior for a particular
+# module (perhaps because the default FindOpenGL.cmake module doesn't
+# work with your system as an example). If you want to use a more
+# convenient module that includes everything, use the
+# FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
+#
+# Locate osgVolume This module defines
+#
+# OSGVOLUME_FOUND - Was osgVolume found? OSGVOLUME_INCLUDE_DIR - Where
+# to find the headers OSGVOLUME_LIBRARIES - The libraries to link for
+# osgVolume (use this)
+#
+# OSGVOLUME_LIBRARY - The osgVolume library OSGVOLUME_LIBRARY_DEBUG -
+# The osgVolume debug library
+#
+# $OSGDIR is an environment variable that would correspond to the
+# ./configure --prefix=$OSGDIR used in building osg.
#
# Created by Eric Wing.
diff --git a/Modules/FindosgWidget.cmake b/Modules/FindosgWidget.cmake
index cb2e12f..ec3c3bc 100644
--- a/Modules/FindosgWidget.cmake
+++ b/Modules/FindosgWidget.cmake
@@ -1,29 +1,34 @@
-# This is part of the Findosg* suite used to find OpenSceneGraph components.
-# Each component is separate and you must opt in to each module. You must
-# also opt into OpenGL and OpenThreads (and Producer if needed) as these
-# modules won't do it for you. This is to allow you control over your own
-# system piece by piece in case you need to opt out of certain components
-# or change the Find behavior for a particular module (perhaps because the
-# default FindOpenGL.cmake module doesn't work with your system as an
-# example).
-# If you want to use a more convenient module that includes everything,
-# use the FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
-#
-# Locate osgWidget
-# This module defines
-#
-# OSGWIDGET_FOUND - Was osgWidget found?
-# OSGWIDGET_INCLUDE_DIR - Where to find the headers
-# OSGWIDGET_LIBRARIES - The libraries to link for osgWidget (use this)
-#
-# OSGWIDGET_LIBRARY - The osgWidget library
-# OSGWIDGET_LIBRARY_DEBUG - The osgWidget debug library
-#
-# $OSGDIR is an environment variable that would
-# correspond to the ./configure --prefix=$OSGDIR
-# used in building osg.
-#
-# FindosgWidget.cmake tweaked from Findosg* suite as created by Eric Wing.
+#.rst:
+# FindosgWidget
+# -------------
+#
+#
+#
+# This is part of the Findosg* suite used to find OpenSceneGraph
+# components. Each component is separate and you must opt in to each
+# module. You must also opt into OpenGL and OpenThreads (and Producer
+# if needed) as these modules won't do it for you. This is to allow you
+# control over your own system piece by piece in case you need to opt
+# out of certain components or change the Find behavior for a particular
+# module (perhaps because the default FindOpenGL.cmake module doesn't
+# work with your system as an example). If you want to use a more
+# convenient module that includes everything, use the
+# FindOpenSceneGraph.cmake instead of the Findosg*.cmake modules.
+#
+# Locate osgWidget This module defines
+#
+# OSGWIDGET_FOUND - Was osgWidget found? OSGWIDGET_INCLUDE_DIR - Where
+# to find the headers OSGWIDGET_LIBRARIES - The libraries to link for
+# osgWidget (use this)
+#
+# OSGWIDGET_LIBRARY - The osgWidget library OSGWIDGET_LIBRARY_DEBUG -
+# The osgWidget debug library
+#
+# $OSGDIR is an environment variable that would correspond to the
+# ./configure --prefix=$OSGDIR used in building osg.
+#
+# FindosgWidget.cmake tweaked from Findosg* suite as created by Eric
+# Wing.
#=============================================================================
# Copyright 2007-2009 Kitware, Inc.
diff --git a/Modules/Findosg_functions.cmake b/Modules/Findosg_functions.cmake
index 2e90837..d10fae9 100644
--- a/Modules/Findosg_functions.cmake
+++ b/Modules/Findosg_functions.cmake
@@ -1,8 +1,14 @@
+#.rst:
+# Findosg_functions
+# -----------------
+#
+#
+#
+#
#
# This CMake file contains two macros to assist with searching for OSG
# libraries and nodekits. Please see FindOpenSceneGraph.cmake for full
# documentation.
-#
#=============================================================================
# Copyright 2009 Kitware, Inc.
diff --git a/Modules/FindwxWidgets.cmake b/Modules/FindwxWidgets.cmake
index 37a894c..3c664e7 100644
--- a/Modules/FindwxWidgets.cmake
+++ b/Modules/FindwxWidgets.cmake
@@ -1,79 +1,108 @@
-# - Find a wxWidgets (a.k.a., wxWindows) installation.
+#.rst:
+# FindwxWidgets
+# -------------
+#
+# Find a wxWidgets (a.k.a., wxWindows) installation.
+#
# This module finds if wxWidgets is installed and selects a default
-# configuration to use. wxWidgets is a modular library. To specify the
-# modules that you will use, you need to name them as components to
-# the package:
+# configuration to use. wxWidgets is a modular library. To specify the
+# modules that you will use, you need to name them as components to the
+# package:
#
# find_package(wxWidgets COMPONENTS core base ...)
#
-# There are two search branches: a windows style and a unix style. For
-# windows, the following variables are searched for and set to
-# defaults in case of multiple choices. Change them if the defaults
-# are not desired (i.e., these are the only variables you should
-# change to select a configuration):
+# There are two search branches: a windows style and a unix style. For
+# windows, the following variables are searched for and set to defaults
+# in case of multiple choices. Change them if the defaults are not
+# desired (i.e., these are the only variables you should change to
+# select a configuration):
+#
+# ::
+#
+# wxWidgets_ROOT_DIR - Base wxWidgets directory
+# (e.g., C:/wxWidgets-2.6.3).
+# wxWidgets_LIB_DIR - Path to wxWidgets libraries
+# (e.g., C:/wxWidgets-2.6.3/lib/vc_lib).
+# wxWidgets_CONFIGURATION - Configuration to use
+# (e.g., msw, mswd, mswu, mswunivud, etc.)
+# wxWidgets_EXCLUDE_COMMON_LIBRARIES
+# - Set to TRUE to exclude linking of
+# commonly required libs (e.g., png tiff
+# jpeg zlib regex expat).
+#
#
-# wxWidgets_ROOT_DIR - Base wxWidgets directory
-# (e.g., C:/wxWidgets-2.6.3).
-# wxWidgets_LIB_DIR - Path to wxWidgets libraries
-# (e.g., C:/wxWidgets-2.6.3/lib/vc_lib).
-# wxWidgets_CONFIGURATION - Configuration to use
-# (e.g., msw, mswd, mswu, mswunivud, etc.)
-# wxWidgets_EXCLUDE_COMMON_LIBRARIES
-# - Set to TRUE to exclude linking of
-# commonly required libs (e.g., png tiff
-# jpeg zlib regex expat).
#
-# For unix style it uses the wx-config utility. You can select between
+# For unix style it uses the wx-config utility. You can select between
# debug/release, unicode/ansi, universal/non-universal, and
# static/shared in the QtDialog or ccmake interfaces by turning ON/OFF
# the following variables:
#
-# wxWidgets_USE_DEBUG
-# wxWidgets_USE_UNICODE
-# wxWidgets_USE_UNIVERSAL
-# wxWidgets_USE_STATIC
+# ::
+#
+# wxWidgets_USE_DEBUG
+# wxWidgets_USE_UNICODE
+# wxWidgets_USE_UNIVERSAL
+# wxWidgets_USE_STATIC
+#
+#
#
# There is also a wxWidgets_CONFIG_OPTIONS variable for all other
-# options that need to be passed to the wx-config utility. For
-# example, to use the base toolkit found in the /usr/local path, set
-# the variable (before calling the FIND_PACKAGE command) as such:
+# options that need to be passed to the wx-config utility. For example,
+# to use the base toolkit found in the /usr/local path, set the variable
+# (before calling the FIND_PACKAGE command) as such:
+#
+# ::
+#
+# set(wxWidgets_CONFIG_OPTIONS --toolkit=base --prefix=/usr)
#
-# set(wxWidgets_CONFIG_OPTIONS --toolkit=base --prefix=/usr)
#
-# The following are set after the configuration is done for both
-# windows and unix style:
#
-# wxWidgets_FOUND - Set to TRUE if wxWidgets was found.
-# wxWidgets_INCLUDE_DIRS - Include directories for WIN32
-# i.e., where to find "wx/wx.h" and
-# "wx/setup.h"; possibly empty for unices.
-# wxWidgets_LIBRARIES - Path to the wxWidgets libraries.
-# wxWidgets_LIBRARY_DIRS - compile time link dirs, useful for
-# rpath on UNIX. Typically an empty string
-# in WIN32 environment.
-# wxWidgets_DEFINITIONS - Contains defines required to compile/link
-# against WX, e.g. WXUSINGDLL
-# wxWidgets_DEFINITIONS_DEBUG- Contains defines required to compile/link
-# against WX debug builds, e.g. __WXDEBUG__
-# wxWidgets_CXX_FLAGS - Include dirs and compiler flags for
-# unices, empty on WIN32. Essentially
-# "`wx-config --cxxflags`".
-# wxWidgets_USE_FILE - Convenience include file.
+# The following are set after the configuration is done for both windows
+# and unix style:
+#
+# ::
+#
+# wxWidgets_FOUND - Set to TRUE if wxWidgets was found.
+# wxWidgets_INCLUDE_DIRS - Include directories for WIN32
+# i.e., where to find "wx/wx.h" and
+# "wx/setup.h"; possibly empty for unices.
+# wxWidgets_LIBRARIES - Path to the wxWidgets libraries.
+# wxWidgets_LIBRARY_DIRS - compile time link dirs, useful for
+# rpath on UNIX. Typically an empty string
+# in WIN32 environment.
+# wxWidgets_DEFINITIONS - Contains defines required to compile/link
+# against WX, e.g. WXUSINGDLL
+# wxWidgets_DEFINITIONS_DEBUG- Contains defines required to compile/link
+# against WX debug builds, e.g. __WXDEBUG__
+# wxWidgets_CXX_FLAGS - Include dirs and compiler flags for
+# unices, empty on WIN32. Essentially
+# "`wx-config --cxxflags`".
+# wxWidgets_USE_FILE - Convenience include file.
+#
+#
#
# Sample usage:
-# # Note that for MinGW users the order of libs is important!
-# find_package(wxWidgets COMPONENTS net gl core base)
-# if(wxWidgets_FOUND)
-# include(${wxWidgets_USE_FILE})
-# # and for each of your dependent executable/library targets:
-# target_link_libraries(<YourTarget> ${wxWidgets_LIBRARIES})
-# endif()
+#
+# ::
+#
+# # Note that for MinGW users the order of libs is important!
+# find_package(wxWidgets COMPONENTS net gl core base)
+# if(wxWidgets_FOUND)
+# include(${wxWidgets_USE_FILE})
+# # and for each of your dependent executable/library targets:
+# target_link_libraries(<YourTarget> ${wxWidgets_LIBRARIES})
+# endif()
+#
+#
#
# If wxWidgets is required (i.e., not an optional part):
-# find_package(wxWidgets REQUIRED net gl core base)
-# include(${wxWidgets_USE_FILE})
-# # and for each of your dependent executable/library targets:
-# target_link_libraries(<YourTarget> ${wxWidgets_LIBRARIES})
+#
+# ::
+#
+# find_package(wxWidgets REQUIRED net gl core base)
+# include(${wxWidgets_USE_FILE})
+# # and for each of your dependent executable/library targets:
+# target_link_libraries(<YourTarget> ${wxWidgets_LIBRARIES})
#=============================================================================
# Copyright 2004-2009 Kitware, Inc.
@@ -274,6 +303,7 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32")
# Find wxWidgets multilib base libraries.
find_library(WX_base${_DBG}
NAMES
+ wxbase30${_UCD}${_DBG}
wxbase29${_UCD}${_DBG}
wxbase28${_UCD}${_DBG}
wxbase27${_UCD}${_DBG}
@@ -286,6 +316,7 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32")
foreach(LIB net odbc xml)
find_library(WX_${LIB}${_DBG}
NAMES
+ wxbase30${_UCD}${_DBG}_${LIB}
wxbase29${_UCD}${_DBG}_${LIB}
wxbase28${_UCD}${_DBG}_${LIB}
wxbase27${_UCD}${_DBG}_${LIB}
@@ -300,6 +331,7 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32")
# Find wxWidgets monolithic library.
find_library(WX_mono${_DBG}
NAMES
+ wxmsw${_UNV}30${_UCD}${_DBG}
wxmsw${_UNV}29${_UCD}${_DBG}
wxmsw${_UNV}28${_UCD}${_DBG}
wxmsw${_UNV}27${_UCD}${_DBG}
@@ -315,6 +347,7 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32")
stc ribbon propgrid webview)
find_library(WX_${LIB}${_DBG}
NAMES
+ wxmsw${_UNV}30${_UCD}${_DBG}_${LIB}
wxmsw${_UNV}29${_UCD}${_DBG}_${LIB}
wxmsw${_UNV}28${_UCD}${_DBG}_${LIB}
wxmsw${_UNV}27${_UCD}${_DBG}_${LIB}
@@ -428,6 +461,8 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32")
D:/
ENV ProgramFiles
PATH_SUFFIXES
+ wxWidgets-3.0.0
+ wxWidgets-2.9.5
wxWidgets-2.9.4
wxWidgets-2.9.3
wxWidgets-2.9.2
@@ -475,6 +510,8 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32")
# settings.
if(MINGW)
set(WX_LIB_DIR_PREFIX gcc)
+ elseif(CMAKE_CL_64)
+ set(WX_LIB_DIR_PREFIX vc_x64)
else()
set(WX_LIB_DIR_PREFIX vc)
endif()
diff --git a/Modules/FindwxWindows.cmake b/Modules/FindwxWindows.cmake
index 868d20c..6e441c3 100644
--- a/Modules/FindwxWindows.cmake
+++ b/Modules/FindwxWindows.cmake
@@ -1,51 +1,81 @@
-# - Find wxWindows (wxWidgets) installation
-# This module finds if wxWindows/wxWidgets is installed and determines where
-# the include files and libraries are. It also determines what the name of
-# the library is.
-# Please note this file is DEPRECATED and replaced by FindwxWidgets.cmake.
-# This code sets the following variables:
-#
-# WXWINDOWS_FOUND = system has WxWindows
-# WXWINDOWS_LIBRARIES = path to the wxWindows libraries
-# on Unix/Linux with additional
-# linker flags from
-# "wx-config --libs"
-# CMAKE_WXWINDOWS_CXX_FLAGS = Compiler flags for wxWindows,
-# essentially "`wx-config --cxxflags`"
-# on Linux
-# WXWINDOWS_INCLUDE_DIR = where to find "wx/wx.h" and "wx/setup.h"
-# WXWINDOWS_LINK_DIRECTORIES = link directories, useful for rpath on
-# Unix
-# WXWINDOWS_DEFINITIONS = extra defines
-#
-# OPTIONS
-# If you need OpenGL support please
-# set(WXWINDOWS_USE_GL 1)
+#.rst:
+# FindwxWindows
+# -------------
+#
+# Find wxWindows (wxWidgets) installation
+#
+# This module finds if wxWindows/wxWidgets is installed and determines
+# where the include files and libraries are. It also determines what
+# the name of the library is. Please note this file is DEPRECATED and
+# replaced by FindwxWidgets.cmake. This code sets the following
+# variables:
+#
+# ::
+#
+# WXWINDOWS_FOUND = system has WxWindows
+# WXWINDOWS_LIBRARIES = path to the wxWindows libraries
+# on Unix/Linux with additional
+# linker flags from
+# "wx-config --libs"
+# CMAKE_WXWINDOWS_CXX_FLAGS = Compiler flags for wxWindows,
+# essentially "`wx-config --cxxflags`"
+# on Linux
+# WXWINDOWS_INCLUDE_DIR = where to find "wx/wx.h" and "wx/setup.h"
+# WXWINDOWS_LINK_DIRECTORIES = link directories, useful for rpath on
+# Unix
+# WXWINDOWS_DEFINITIONS = extra defines
+#
+#
+#
+# OPTIONS If you need OpenGL support please
+#
+# ::
+#
+# set(WXWINDOWS_USE_GL 1)
+#
# in your CMakeLists.txt *before* you include this file.
#
-# HAVE_ISYSTEM - true required to replace -I by -isystem on g++
+# ::
+#
+# HAVE_ISYSTEM - true required to replace -I by -isystem on g++
+#
+#
#
# For convenience include Use_wxWindows.cmake in your project's
-# CMakeLists.txt using include(${CMAKE_CURRENT_LIST_DIR}/Use_wxWindows.cmake).
+# CMakeLists.txt using
+# include(${CMAKE_CURRENT_LIST_DIR}/Use_wxWindows.cmake).
#
# USAGE
-# set(WXWINDOWS_USE_GL 1)
-# find_package(wxWindows)
#
-# NOTES
-# wxWidgets 2.6.x is supported for monolithic builds
-# e.g. compiled in wx/build/msw dir as:
-# nmake -f makefile.vc BUILD=debug SHARED=0 USE_OPENGL=1 MONOLITHIC=1
+# ::
+#
+# set(WXWINDOWS_USE_GL 1)
+# find_package(wxWindows)
+#
+#
+#
+# NOTES wxWidgets 2.6.x is supported for monolithic builds e.g.
+# compiled in wx/build/msw dir as:
+#
+# ::
+#
+# nmake -f makefile.vc BUILD=debug SHARED=0 USE_OPENGL=1 MONOLITHIC=1
+#
+#
#
# DEPRECATED
#
-# CMAKE_WX_CAN_COMPILE
-# WXWINDOWS_LIBRARY
-# CMAKE_WX_CXX_FLAGS
-# WXWINDOWS_INCLUDE_PATH
+# ::
+#
+# CMAKE_WX_CAN_COMPILE
+# WXWINDOWS_LIBRARY
+# CMAKE_WX_CXX_FLAGS
+# WXWINDOWS_INCLUDE_PATH
+#
+#
#
-# AUTHOR
-# Jan Woetzel <http://www.mip.informatik.uni-kiel.de/~jw> (07/2003-01/2006)
+# AUTHOR Jan Woetzel <http://www.mip.informatik.uni-kiel.de/~jw>
+# (07/2003-01/2006)
#=============================================================================
# Copyright 2000-2009 Kitware, Inc.
diff --git a/Modules/FortranCInterface.cmake b/Modules/FortranCInterface.cmake
index c59e1f8..dccb26f 100644
--- a/Modules/FortranCInterface.cmake
+++ b/Modules/FortranCInterface.cmake
@@ -1,85 +1,129 @@
-# - Fortran/C Interface Detection
+#.rst:
+# FortranCInterface
+# -----------------
+#
+# Fortran/C Interface Detection
+#
# This module automatically detects the API by which C and Fortran
# languages interact. Variables indicate if the mangling is found:
-# FortranCInterface_GLOBAL_FOUND = Global subroutines and functions
-# FortranCInterface_MODULE_FOUND = Module subroutines and functions
-# (declared by "MODULE PROCEDURE")
+#
+# ::
+#
+# FortranCInterface_GLOBAL_FOUND = Global subroutines and functions
+# FortranCInterface_MODULE_FOUND = Module subroutines and functions
+# (declared by "MODULE PROCEDURE")
+#
# A function is provided to generate a C header file containing macros
# to mangle symbol names:
-# FortranCInterface_HEADER(<file>
-# [MACRO_NAMESPACE <macro-ns>]
-# [SYMBOL_NAMESPACE <ns>]
-# [SYMBOLS [<module>:]<function> ...])
+#
+# ::
+#
+# FortranCInterface_HEADER(<file>
+# [MACRO_NAMESPACE <macro-ns>]
+# [SYMBOL_NAMESPACE <ns>]
+# [SYMBOLS [<module>:]<function> ...])
+#
# It generates in <file> definitions of the following macros:
-# #define FortranCInterface_GLOBAL (name,NAME) ...
-# #define FortranCInterface_GLOBAL_(name,NAME) ...
-# #define FortranCInterface_MODULE (mod,name, MOD,NAME) ...
-# #define FortranCInterface_MODULE_(mod,name, MOD,NAME) ...
-# These macros mangle four categories of Fortran symbols,
-# respectively:
-# - Global symbols without '_': call mysub()
-# - Global symbols with '_' : call my_sub()
-# - Module symbols without '_': use mymod; call mysub()
-# - Module symbols with '_' : use mymod; call my_sub()
+#
+# ::
+#
+# #define FortranCInterface_GLOBAL (name,NAME) ...
+# #define FortranCInterface_GLOBAL_(name,NAME) ...
+# #define FortranCInterface_MODULE (mod,name, MOD,NAME) ...
+# #define FortranCInterface_MODULE_(mod,name, MOD,NAME) ...
+#
+# These macros mangle four categories of Fortran symbols, respectively:
+#
+# ::
+#
+# - Global symbols without '_': call mysub()
+# - Global symbols with '_' : call my_sub()
+# - Module symbols without '_': use mymod; call mysub()
+# - Module symbols with '_' : use mymod; call my_sub()
+#
# If mangling for a category is not known, its macro is left undefined.
-# All macros require raw names in both lower case and upper case.
-# The MACRO_NAMESPACE option replaces the default "FortranCInterface_"
+# All macros require raw names in both lower case and upper case. The
+# MACRO_NAMESPACE option replaces the default "FortranCInterface_"
# prefix with a given namespace "<macro-ns>".
#
# The SYMBOLS option lists symbols to mangle automatically with C
# preprocessor definitions:
-# <function> ==> #define <ns><function> ...
-# <module>:<function> ==> #define <ns><module>_<function> ...
+#
+# ::
+#
+# <function> ==> #define <ns><function> ...
+# <module>:<function> ==> #define <ns><module>_<function> ...
+#
# If the mangling for some symbol is not known then no preprocessor
-# definition is created, and a warning is displayed.
-# The SYMBOL_NAMESPACE option prefixes all preprocessor definitions
+# definition is created, and a warning is displayed. The
+# SYMBOL_NAMESPACE option prefixes all preprocessor definitions
# generated by the SYMBOLS option with a given namespace "<ns>".
#
# Example usage:
-# include(FortranCInterface)
-# FortranCInterface_HEADER(FC.h MACRO_NAMESPACE "FC_")
-# This creates a "FC.h" header that defines mangling macros
-# FC_GLOBAL(), FC_GLOBAL_(), FC_MODULE(), and FC_MODULE_().
+#
+# ::
+#
+# include(FortranCInterface)
+# FortranCInterface_HEADER(FC.h MACRO_NAMESPACE "FC_")
+#
+# This creates a "FC.h" header that defines mangling macros FC_GLOBAL(),
+# FC_GLOBAL_(), FC_MODULE(), and FC_MODULE_().
#
# Example usage:
-# include(FortranCInterface)
-# FortranCInterface_HEADER(FCMangle.h
-# MACRO_NAMESPACE "FC_"
-# SYMBOL_NAMESPACE "FC_"
-# SYMBOLS mysub mymod:my_sub)
+#
+# ::
+#
+# include(FortranCInterface)
+# FortranCInterface_HEADER(FCMangle.h
+# MACRO_NAMESPACE "FC_"
+# SYMBOL_NAMESPACE "FC_"
+# SYMBOLS mysub mymod:my_sub)
+#
# This creates a "FCMangle.h" header that defines the same FC_*()
# mangling macros as the previous example plus preprocessor symbols
# FC_mysub and FC_mymod_my_sub.
#
# Another function is provided to verify that the Fortran and C/C++
# compilers work together:
-# FortranCInterface_VERIFY([CXX] [QUIET])
-# It tests whether a simple test executable using Fortran and C (and
-# C++ when the CXX option is given) compiles and links successfully.
-# The result is stored in the cache entry FortranCInterface_VERIFIED_C
-# (or FortranCInterface_VERIFIED_CXX if CXX is given) as a boolean.
-# If the check fails and QUIET is not given the function terminates
-# with a FATAL_ERROR message describing the problem. The purpose of
-# this check is to stop a build early for incompatible compiler
-# combinations. The test is built in the Release configuration.
-#
-# FortranCInterface is aware of possible GLOBAL and MODULE manglings
-# for many Fortran compilers, but it also provides an interface to
-# specify new possible manglings. Set the variables
-# FortranCInterface_GLOBAL_SYMBOLS
-# FortranCInterface_MODULE_SYMBOLS
-# before including FortranCInterface to specify manglings of the
-# symbols "MySub", "My_Sub", "MyModule:MySub", and "My_Module:My_Sub".
-# For example, the code:
-# set(FortranCInterface_GLOBAL_SYMBOLS mysub_ my_sub__ MYSUB_)
-# # ^^^^^ ^^^^^^ ^^^^^
-# set(FortranCInterface_MODULE_SYMBOLS
-# __mymodule_MOD_mysub __my_module_MOD_my_sub)
-# # ^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^
-# include(FortranCInterface)
+#
+# ::
+#
+# FortranCInterface_VERIFY([CXX] [QUIET])
+#
+# It tests whether a simple test executable using Fortran and C (and C++
+# when the CXX option is given) compiles and links successfully. The
+# result is stored in the cache entry FortranCInterface_VERIFIED_C (or
+# FortranCInterface_VERIFIED_CXX if CXX is given) as a boolean. If the
+# check fails and QUIET is not given the function terminates with a
+# FATAL_ERROR message describing the problem. The purpose of this check
+# is to stop a build early for incompatible compiler combinations. The
+# test is built in the Release configuration.
+#
+# FortranCInterface is aware of possible GLOBAL and MODULE manglings for
+# many Fortran compilers, but it also provides an interface to specify
+# new possible manglings. Set the variables
+#
+# ::
+#
+# FortranCInterface_GLOBAL_SYMBOLS
+# FortranCInterface_MODULE_SYMBOLS
+#
+# before including FortranCInterface to specify manglings of the symbols
+# "MySub", "My_Sub", "MyModule:MySub", and "My_Module:My_Sub". For
+# example, the code:
+#
+# ::
+#
+# set(FortranCInterface_GLOBAL_SYMBOLS mysub_ my_sub__ MYSUB_)
+# # ^^^^^ ^^^^^^ ^^^^^
+# set(FortranCInterface_MODULE_SYMBOLS
+# __mymodule_MOD_mysub __my_module_MOD_my_sub)
+# # ^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^
+# include(FortranCInterface)
+#
# tells FortranCInterface to try given GLOBAL and MODULE manglings.
-# (The carets point at raw symbol names for clarity in this example
-# but are not needed.)
+# (The carets point at raw symbol names for clarity in this example but
+# are not needed.)
#=============================================================================
# Copyright 2008-2009 Kitware, Inc.
diff --git a/Modules/FortranCInterface/Detect.cmake b/Modules/FortranCInterface/Detect.cmake
index 798c44c..afeb9c5 100644
--- a/Modules/FortranCInterface/Detect.cmake
+++ b/Modules/FortranCInterface/Detect.cmake
@@ -49,7 +49,7 @@ unset(FortranCInterface_COMPILED CACHE)
# Locate the sample project executable.
if(FortranCInterface_COMPILED)
find_program(FortranCInterface_EXE
- NAMES FortranCInterface
+ NAMES FortranCInterface${CMAKE_EXECUTABLE_SUFFIX}
PATHS ${FortranCInterface_BINARY_DIR} ${FortranCInterface_BINARY_DIR}/Debug
NO_DEFAULT_PATH
)
diff --git a/Modules/GNUInstallDirs.cmake b/Modules/GNUInstallDirs.cmake
index 0302e4b..d868cb3 100644
--- a/Modules/GNUInstallDirs.cmake
+++ b/Modules/GNUInstallDirs.cmake
@@ -1,32 +1,49 @@
-# - Define GNU standard installation directories
+#.rst:
+# GNUInstallDirs
+# --------------
+#
+# Define GNU standard installation directories
+#
# Provides install directory variables as defined for GNU software:
-# http://www.gnu.org/prep/standards/html_node/Directory-Variables.html
+#
+# ::
+#
+# http://www.gnu.org/prep/standards/html_node/Directory-Variables.html
+#
# Inclusion of this module defines the following variables:
-# CMAKE_INSTALL_<dir> - destination for files of a given type
-# CMAKE_INSTALL_FULL_<dir> - corresponding absolute path
+#
+# ::
+#
+# CMAKE_INSTALL_<dir> - destination for files of a given type
+# CMAKE_INSTALL_FULL_<dir> - corresponding absolute path
+#
# where <dir> is one of:
-# BINDIR - user executables (bin)
-# SBINDIR - system admin executables (sbin)
-# LIBEXECDIR - program executables (libexec)
-# SYSCONFDIR - read-only single-machine data (etc)
-# SHAREDSTATEDIR - modifiable architecture-independent data (com)
-# LOCALSTATEDIR - modifiable single-machine data (var)
-# LIBDIR - object code libraries (lib or lib64 or lib/<multiarch-tuple> on Debian)
-# INCLUDEDIR - C header files (include)
-# OLDINCLUDEDIR - C header files for non-gcc (/usr/include)
-# DATAROOTDIR - read-only architecture-independent data root (share)
-# DATADIR - read-only architecture-independent data (DATAROOTDIR)
-# INFODIR - info documentation (DATAROOTDIR/info)
-# LOCALEDIR - locale-dependent data (DATAROOTDIR/locale)
-# MANDIR - man documentation (DATAROOTDIR/man)
-# DOCDIR - documentation root (DATAROOTDIR/doc/PROJECT_NAME)
-# Each CMAKE_INSTALL_<dir> value may be passed to the DESTINATION options of
-# install() commands for the corresponding file type. If the includer does
-# not define a value the above-shown default will be used and the value will
-# appear in the cache for editing by the user.
-# Each CMAKE_INSTALL_FULL_<dir> value contains an absolute path constructed
-# from the corresponding destination by prepending (if necessary) the value
-# of CMAKE_INSTALL_PREFIX.
+#
+# ::
+#
+# BINDIR - user executables (bin)
+# SBINDIR - system admin executables (sbin)
+# LIBEXECDIR - program executables (libexec)
+# SYSCONFDIR - read-only single-machine data (etc)
+# SHAREDSTATEDIR - modifiable architecture-independent data (com)
+# LOCALSTATEDIR - modifiable single-machine data (var)
+# LIBDIR - object code libraries (lib or lib64 or lib/<multiarch-tuple> on Debian)
+# INCLUDEDIR - C header files (include)
+# OLDINCLUDEDIR - C header files for non-gcc (/usr/include)
+# DATAROOTDIR - read-only architecture-independent data root (share)
+# DATADIR - read-only architecture-independent data (DATAROOTDIR)
+# INFODIR - info documentation (DATAROOTDIR/info)
+# LOCALEDIR - locale-dependent data (DATAROOTDIR/locale)
+# MANDIR - man documentation (DATAROOTDIR/man)
+# DOCDIR - documentation root (DATAROOTDIR/doc/PROJECT_NAME)
+#
+# Each CMAKE_INSTALL_<dir> value may be passed to the DESTINATION
+# options of install() commands for the corresponding file type. If the
+# includer does not define a value the above-shown default will be used
+# and the value will appear in the cache for editing by the user. Each
+# CMAKE_INSTALL_FULL_<dir> value contains an absolute path constructed
+# from the corresponding destination by prepending (if necessary) the
+# value of CMAKE_INSTALL_PREFIX.
#=============================================================================
# Copyright 2011 Nikita Krupen'ko <krnekit@gmail.com>
@@ -68,7 +85,31 @@ if(NOT DEFINED CMAKE_INSTALL_LOCALSTATEDIR)
set(CMAKE_INSTALL_LOCALSTATEDIR "var" CACHE PATH "modifiable single-machine data (var)")
endif()
-if(NOT DEFINED CMAKE_INSTALL_LIBDIR)
+# We check if the variable was manually set and not cached, in order to
+# allow projects to set the values as normal variables before including
+# GNUInstallDirs to avoid having the entries cached or user-editable. It
+# replaces the "if(NOT DEFINED CMAKE_INSTALL_XXX)" checks in all the
+# other cases.
+# If CMAKE_INSTALL_LIBDIR is defined, if _libdir_set is false, then the
+# variable is a normal one, otherwise it is a cache one.
+get_property(_libdir_set CACHE CMAKE_INSTALL_LIBDIR PROPERTY TYPE SET)
+if(NOT DEFINED CMAKE_INSTALL_LIBDIR OR (_libdir_set
+ AND DEFINED _GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX
+ AND NOT "${_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX}" STREQUAL "${CMAKE_INSTALL_PREFIX}"))
+ # If CMAKE_INSTALL_LIBDIR is not defined, it is always executed.
+ # Otherwise:
+ # * if _libdir_set is false it is not executed (meaning that it is
+ # not a cache variable)
+ # * if _GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX is not defined it is
+ # not executed
+ # * if _GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX and
+ # CMAKE_INSTALL_PREFIX are the same string it is not executed.
+ # _GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX is updated after the
+ # execution, of this part of code, therefore at the next inclusion
+ # of the file, CMAKE_INSTALL_LIBDIR is defined, and the 2 strings
+ # are equal, meaning that the if is not executed the code the
+ # second time.
+
set(_LIBDIR_DEFAULT "lib")
# Override this default 'lib' with 'lib64' iff:
# - we are on Linux system but NOT cross-compiling
@@ -77,13 +118,30 @@ if(NOT DEFINED CMAKE_INSTALL_LIBDIR)
# reason is: amd64 ABI: http://www.x86-64.org/documentation/abi.pdf
# For Debian with multiarch, use 'lib/${CMAKE_LIBRARY_ARCHITECTURE}' if
# CMAKE_LIBRARY_ARCHITECTURE is set (which contains e.g. "i386-linux-gnu"
+ # and CMAKE_INSTALL_PREFIX is "/usr"
# See http://wiki.debian.org/Multiarch
- if(CMAKE_SYSTEM_NAME MATCHES "Linux"
+ if(DEFINED _GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX)
+ set(__LAST_LIBDIR_DEFAULT "lib")
+ # __LAST_LIBDIR_DEFAULT is the default value that we compute from
+ # _GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX, not a cache entry for
+ # the value that was last used as the default.
+ # This value is used to figure out whether the user changed the
+ # CMAKE_INSTALL_LIBDIR value manually, or if the value was the
+ # default one. When CMAKE_INSTALL_PREFIX changes, the value is
+ # updated to the new default, unless the user explicitly changed it.
+ endif()
+ if(CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU)$"
AND NOT CMAKE_CROSSCOMPILING)
if (EXISTS "/etc/debian_version") # is this a debian system ?
- if(CMAKE_LIBRARY_ARCHITECTURE)
- set(_LIBDIR_DEFAULT "lib/${CMAKE_LIBRARY_ARCHITECTURE}")
- endif()
+ if(CMAKE_LIBRARY_ARCHITECTURE)
+ if("${CMAKE_INSTALL_PREFIX}" MATCHES "^/usr/?$")
+ set(_LIBDIR_DEFAULT "lib/${CMAKE_LIBRARY_ARCHITECTURE}")
+ endif()
+ if(DEFINED _GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX
+ AND "${_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX}" MATCHES "^/usr/?$")
+ set(__LAST_LIBDIR_DEFAULT "lib/${CMAKE_LIBRARY_ARCHITECTURE}")
+ endif()
+ endif()
else() # not debian, rely on CMAKE_SIZEOF_VOID_P:
if(NOT DEFINED CMAKE_SIZEOF_VOID_P)
message(AUTHOR_WARNING
@@ -92,12 +150,25 @@ if(NOT DEFINED CMAKE_INSTALL_LIBDIR)
else()
if("${CMAKE_SIZEOF_VOID_P}" EQUAL "8")
set(_LIBDIR_DEFAULT "lib64")
+ if(DEFINED _GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX)
+ set(__LAST_LIBDIR_DEFAULT "lib64")
+ endif()
endif()
endif()
endif()
endif()
- set(CMAKE_INSTALL_LIBDIR "${_LIBDIR_DEFAULT}" CACHE PATH "object code libraries (${_LIBDIR_DEFAULT})")
+ if(NOT DEFINED CMAKE_INSTALL_LIBDIR)
+ set(CMAKE_INSTALL_LIBDIR "${_LIBDIR_DEFAULT}" CACHE PATH "object code libraries (${_LIBDIR_DEFAULT})")
+ elseif(DEFINED __LAST_LIBDIR_DEFAULT
+ AND "${__LAST_LIBDIR_DEFAULT}" STREQUAL "${CMAKE_INSTALL_LIBDIR}")
+ set_property(CACHE CMAKE_INSTALL_LIBDIR PROPERTY VALUE "${_LIBDIR_DEFAULT}")
+ endif()
endif()
+# Save for next run
+set(_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}" CACHE INTERNAL "CMAKE_INSTALL_PREFIX during last run")
+unset(_libdir_set)
+unset(__LAST_LIBDIR_DEFAULT)
+
if(NOT DEFINED CMAKE_INSTALL_INCLUDEDIR)
set(CMAKE_INSTALL_INCLUDEDIR "include" CACHE PATH "C header files (include)")
diff --git a/Modules/GenerateExportHeader.cmake b/Modules/GenerateExportHeader.cmake
index 4ef14ac..f83f992 100644
--- a/Modules/GenerateExportHeader.cmake
+++ b/Modules/GenerateExportHeader.cmake
@@ -1,133 +1,182 @@
-# - Function for generation of export macros for libraries
-# This module provides the function GENERATE_EXPORT_HEADER() and the
-# accompanying ADD_COMPILER_EXPORT_FLAGS() function.
-#
-# The GENERATE_EXPORT_HEADER function can be used to generate a file suitable
-# for preprocessor inclusion which contains EXPORT macros to be used in
-# library classes.
-#
-# GENERATE_EXPORT_HEADER( LIBRARY_TARGET
-# [BASE_NAME <base_name>]
-# [EXPORT_MACRO_NAME <export_macro_name>]
-# [EXPORT_FILE_NAME <export_file_name>]
-# [DEPRECATED_MACRO_NAME <deprecated_macro_name>]
-# [NO_EXPORT_MACRO_NAME <no_export_macro_name>]
-# [STATIC_DEFINE <static_define>]
-# [NO_DEPRECATED_MACRO_NAME <no_deprecated_macro_name>]
-# [DEFINE_NO_DEPRECATED]
-# [PREFIX_NAME <prefix_name>]
-# )
-#
-# ADD_COMPILER_EXPORT_FLAGS( [<output_variable>] )
-#
-# By default GENERATE_EXPORT_HEADER() generates macro names in a file name
-# determined by the name of the library. The ADD_COMPILER_EXPORT_FLAGS function
-# adds -fvisibility=hidden to CMAKE_CXX_FLAGS if supported, and is a no-op on
-# Windows which does not need extra compiler flags for exporting support. You
-# may optionally pass a single argument to ADD_COMPILER_EXPORT_FLAGS that will
-# be populated with the required CXX_FLAGS required to enable visibility support
-# for the compiler/architecture in use.
-#
-# This means that in the simplest case, users of these functions will be
-# equivalent to:
-#
-# add_compiler_export_flags()
-# add_library(somelib someclass.cpp)
-# generate_export_header(somelib)
-# install(TARGETS somelib DESTINATION ${LIBRARY_INSTALL_DIR})
-# install(FILES
-# someclass.h
-# ${PROJECT_BINARY_DIR}/somelib_export.h DESTINATION ${INCLUDE_INSTALL_DIR}
-# )
+#.rst:
+# GenerateExportHeader
+# --------------------
+#
+# Function for generation of export macros for libraries
+#
+# This module provides the function GENERATE_EXPORT_HEADER().
+#
+# The ``GENERATE_EXPORT_HEADER`` function can be used to generate a file
+# suitable for preprocessor inclusion which contains EXPORT macros to be
+# used in library classes::
+#
+# GENERATE_EXPORT_HEADER( LIBRARY_TARGET
+# [BASE_NAME <base_name>]
+# [EXPORT_MACRO_NAME <export_macro_name>]
+# [EXPORT_FILE_NAME <export_file_name>]
+# [DEPRECATED_MACRO_NAME <deprecated_macro_name>]
+# [NO_EXPORT_MACRO_NAME <no_export_macro_name>]
+# [STATIC_DEFINE <static_define>]
+# [NO_DEPRECATED_MACRO_NAME <no_deprecated_macro_name>]
+# [DEFINE_NO_DEPRECATED]
+# [PREFIX_NAME <prefix_name>]
+# )
+#
+#
+# The target properties :prop_tgt:`CXX_VISIBILITY_PRESET <<LANG>_VISIBILITY_PRESET>`
+# and :prop_tgt:`VISIBILITY_INLINES_HIDDEN` can be used to add the appropriate
+# compile flags for targets. See the documentation of those target properties,
+# and the convenience variables
+# :variable:`CMAKE_CXX_VISIBILITY_PRESET <CMAKE_<LANG>_VISIBILITY_PRESET>` and
+# :variable:`CMAKE_VISIBILITY_INLINES_HIDDEN`.
+#
+# By default ``GENERATE_EXPORT_HEADER()`` generates macro names in a file
+# name determined by the name of the library. This means that in the
+# simplest case, users of ``GenerateExportHeader`` will be equivalent to:
+#
+# .. code-block:: cmake
+#
+# set(CMAKE_CXX_VISIBILITY_PRESET hidden)
+# set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)
+# add_library(somelib someclass.cpp)
+# generate_export_header(somelib)
+# install(TARGETS somelib DESTINATION ${LIBRARY_INSTALL_DIR})
+# install(FILES
+# someclass.h
+# ${PROJECT_BINARY_DIR}/somelib_export.h DESTINATION ${INCLUDE_INSTALL_DIR}
+# )
+#
#
# And in the ABI header files:
#
-# #include "somelib_export.h"
-# class SOMELIB_EXPORT SomeClass {
-# ...
-# };
+# .. code-block:: c++
#
-# The CMake fragment will generate a file in the ${CMAKE_CURRENT_BINARY_DIR}
-# called somelib_export.h containing the macros SOMELIB_EXPORT, SOMELIB_NO_EXPORT,
-# SOMELIB_DEPRECATED, SOMELIB_DEPRECATED_EXPORT and SOMELIB_DEPRECATED_NO_EXPORT.
-# The resulting file should be installed with other headers in the library.
+# #include "somelib_export.h"
+# class SOMELIB_EXPORT SomeClass {
+# ...
+# };
#
-# The BASE_NAME argument can be used to override the file name and the names
-# used for the macros
#
-# add_library(somelib someclass.cpp)
-# generate_export_header(somelib
-# BASE_NAME other_name
-# )
+# The CMake fragment will generate a file in the
+# ``${CMAKE_CURRENT_BINARY_DIR}`` called ``somelib_export.h`` containing the
+# macros ``SOMELIB_EXPORT``, ``SOMELIB_NO_EXPORT``, ``SOMELIB_DEPRECATED``,
+# ``SOMELIB_DEPRECATED_EXPORT`` and ``SOMELIB_DEPRECATED_NO_EXPORT``. The
+# resulting file should be installed with other headers in the library.
#
-# Generates a file called other_name_export.h containing the macros
-# OTHER_NAME_EXPORT, OTHER_NAME_NO_EXPORT and OTHER_NAME_DEPRECATED etc.
+# The ``BASE_NAME`` argument can be used to override the file name and the
+# names used for the macros:
#
-# The BASE_NAME may be overridden by specifiying other options in the function.
-# For example:
+# .. code-block:: cmake
+#
+# add_library(somelib someclass.cpp)
+# generate_export_header(somelib
+# BASE_NAME other_name
+# )
+#
+#
+# Generates a file called ``other_name_export.h`` containing the macros
+# ``OTHER_NAME_EXPORT``, ``OTHER_NAME_NO_EXPORT`` and ``OTHER_NAME_DEPRECATED``
+# etc.
+#
+# The ``BASE_NAME`` may be overridden by specifiying other options in the
+# function. For example:
+#
+# .. code-block:: cmake
+#
+# add_library(somelib someclass.cpp)
+# generate_export_header(somelib
+# EXPORT_MACRO_NAME OTHER_NAME_EXPORT
+# )
+#
+#
+# creates the macro ``OTHER_NAME_EXPORT`` instead of ``SOMELIB_EXPORT``, but
+# other macros and the generated file name is as default:
+#
+# .. code-block:: cmake
#
-# add_library(somelib someclass.cpp)
-# generate_export_header(somelib
-# EXPORT_MACRO_NAME OTHER_NAME_EXPORT
-# )
+# add_library(somelib someclass.cpp)
+# generate_export_header(somelib
+# DEPRECATED_MACRO_NAME KDE_DEPRECATED
+# )
#
-# creates the macro OTHER_NAME_EXPORT instead of SOMELIB_EXPORT, but other macros
-# and the generated file name is as default.
#
-# add_library(somelib someclass.cpp)
-# generate_export_header(somelib
-# DEPRECATED_MACRO_NAME KDE_DEPRECATED
-# )
+# creates the macro ``KDE_DEPRECATED`` instead of ``SOMELIB_DEPRECATED``.
#
-# creates the macro KDE_DEPRECATED instead of SOMELIB_DEPRECATED.
+# If ``LIBRARY_TARGET`` is a static library, macros are defined without
+# values.
#
-# If LIBRARY_TARGET is a static library, macros are defined without values.
+# If the same sources are used to create both a shared and a static
+# library, the uppercased symbol ``${BASE_NAME}_STATIC_DEFINE`` should be
+# used when building the static library:
#
-# If the same sources are used to create both a shared and a static library, the
-# uppercased symbol ${BASE_NAME}_STATIC_DEFINE should be used when building the
-# static library
+# .. code-block:: cmake
#
-# add_library(shared_variant SHARED ${lib_SRCS})
-# add_library(static_variant ${lib_SRCS})
-# generate_export_header(shared_variant BASE_NAME libshared_and_static)
-# set_target_properties(static_variant PROPERTIES
-# COMPILE_FLAGS -DLIBSHARED_AND_STATIC_STATIC_DEFINE)
+# add_library(shared_variant SHARED ${lib_SRCS})
+# add_library(static_variant ${lib_SRCS})
+# generate_export_header(shared_variant BASE_NAME libshared_and_static)
+# set_target_properties(static_variant PROPERTIES
+# COMPILE_FLAGS -DLIBSHARED_AND_STATIC_STATIC_DEFINE)
#
-# This will cause the export macros to expand to nothing when building the
-# static library.
+# This will cause the export macros to expand to nothing when building
+# the static library.
#
-# If DEFINE_NO_DEPRECATED is specified, then a macro ${BASE_NAME}_NO_DEPRECATED
-# will be defined
-# This macro can be used to remove deprecated code from preprocessor output.
+# If ``DEFINE_NO_DEPRECATED`` is specified, then a macro
+# ``${BASE_NAME}_NO_DEPRECATED`` will be defined This macro can be used to
+# remove deprecated code from preprocessor output:
+#
+# .. code-block:: cmake
+#
+# option(EXCLUDE_DEPRECATED "Exclude deprecated parts of the library" FALSE)
+# if (EXCLUDE_DEPRECATED)
+# set(NO_BUILD_DEPRECATED DEFINE_NO_DEPRECATED)
+# endif()
+# generate_export_header(somelib ${NO_BUILD_DEPRECATED})
#
-# option(EXCLUDE_DEPRECATED "Exclude deprecated parts of the library" FALSE)
-# if (EXCLUDE_DEPRECATED)
-# set(NO_BUILD_DEPRECATED DEFINE_NO_DEPRECATED)
-# endif()
-# generate_export_header(somelib ${NO_BUILD_DEPRECATED})
#
# And then in somelib:
#
-# class SOMELIB_EXPORT SomeClass
-# {
-# public:
-# #ifndef SOMELIB_NO_DEPRECATED
-# SOMELIB_DEPRECATED void oldMethod();
-# #endif
-# };
+# .. code-block:: c++
+#
+# class SOMELIB_EXPORT SomeClass
+# {
+# public:
+# #ifndef SOMELIB_NO_DEPRECATED
+# SOMELIB_DEPRECATED void oldMethod();
+# #endif
+# };
#
-# #ifndef SOMELIB_NO_DEPRECATED
-# void SomeClass::oldMethod() { }
-# #endif
+# .. code-block:: c++
#
-# If PREFIX_NAME is specified, the argument will be used as a prefix to all
-# generated macros.
+# #ifndef SOMELIB_NO_DEPRECATED
+# void SomeClass::oldMethod() { }
+# #endif
+#
+#
+# If ``PREFIX_NAME`` is specified, the argument will be used as a prefix to
+# all generated macros.
#
# For example:
#
-# generate_export_header(somelib PREFIX_NAME VTK_)
+# .. code-block:: cmake
+#
+# generate_export_header(somelib PREFIX_NAME VTK_)
#
-# Generates the macros VTK_SOMELIB_EXPORT etc.
+# Generates the macros ``VTK_SOMELIB_EXPORT`` etc.
+#
+# ::
+#
+# ADD_COMPILER_EXPORT_FLAGS( [<output_variable>] )
+#
+# The ``ADD_COMPILER_EXPORT_FLAGS`` function adds ``-fvisibility=hidden`` to
+# :variable:`CMAKE_CXX_FLAGS <CMAKE_<LANG>_FLAGS>` if supported, and is a no-op
+# on Windows which does not need extra compiler flags for exporting support.
+# You may optionally pass a single argument to ``ADD_COMPILER_EXPORT_FLAGS``
+# that will be populated with the ``CXX_FLAGS`` required to enable visibility
+# support for the compiler/architecture in use.
+#
+# This function is deprecated. Set the target properties
+# :prop_tgt:`CXX_VISIBILITY_PRESET <<LANG>_VISIBILITY_PRESET>` and
+# :prop_tgt:`VISIBILITY_INLINES_HIDDEN` instead.
#=============================================================================
# Copyright 2011 Stephen Kelly <steveire@gmail.com>
@@ -326,6 +375,9 @@ function(GENERATE_EXPORT_HEADER TARGET_LIBRARY)
endfunction()
function(add_compiler_export_flags)
+ if(NOT CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 2.8.12)
+ message(DEPRECATION "The add_compiler_export_flags function is obsolete. Use the CXX_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN target properties instead.")
+ endif()
_test_compiler_hidden_visibility()
_test_compiler_has_deprecated()
diff --git a/Modules/GetPrerequisites.cmake b/Modules/GetPrerequisites.cmake
index 9e89788..ac649e9 100644
--- a/Modules/GetPrerequisites.cmake
+++ b/Modules/GetPrerequisites.cmake
@@ -1,111 +1,164 @@
-# - Functions to analyze and list executable file prerequisites.
-# This module provides functions to list the .dll, .dylib or .so
-# files that an executable or shared library file depends on. (Its
+#.rst:
+# GetPrerequisites
+# ----------------
+#
+# Functions to analyze and list executable file prerequisites.
+#
+# This module provides functions to list the .dll, .dylib or .so files
+# that an executable or shared library file depends on. (Its
# prerequisites.)
#
-# It uses various tools to obtain the list of required shared library files:
-# dumpbin (Windows)
-# objdump (MinGW on Windows)
-# ldd (Linux/Unix)
-# otool (Mac OSX)
+# It uses various tools to obtain the list of required shared library
+# files:
+#
+# ::
+#
+# dumpbin (Windows)
+# objdump (MinGW on Windows)
+# ldd (Linux/Unix)
+# otool (Mac OSX)
+#
# The following functions are provided by this module:
-# get_prerequisites
-# list_prerequisites
-# list_prerequisites_by_glob
-# gp_append_unique
-# is_file_executable
-# gp_item_default_embedded_path
-# (projects can override with gp_item_default_embedded_path_override)
-# gp_resolve_item
-# (projects can override with gp_resolve_item_override)
-# gp_resolved_file_type
-# (projects can override with gp_resolved_file_type_override)
-# gp_file_type
-# Requires CMake 2.6 or greater because it uses function, break, return and
-# PARENT_SCOPE.
-#
-# GET_PREREQUISITES(<target> <prerequisites_var> <exclude_system> <recurse>
-# <exepath> <dirs>)
-# Get the list of shared library files required by <target>. The list in
-# the variable named <prerequisites_var> should be empty on first entry to
-# this function. On exit, <prerequisites_var> will contain the list of
-# required shared library files.
-#
-# <target> is the full path to an executable file. <prerequisites_var> is the
-# name of a CMake variable to contain the results. <exclude_system> must be 0
-# or 1 indicating whether to include or exclude "system" prerequisites. If
-# <recurse> is set to 1 all prerequisites will be found recursively, if set to
-# 0 only direct prerequisites are listed. <exepath> is the path to the top
-# level executable used for @executable_path replacment on the Mac. <dirs> is
-# a list of paths where libraries might be found: these paths are searched
-# first when a target without any path info is given. Then standard system
-# locations are also searched: PATH, Framework locations, /usr/lib...
-#
-# LIST_PREREQUISITES(<target> [<recurse> [<exclude_system> [<verbose>]]])
-# Print a message listing the prerequisites of <target>.
#
-# <target> is the name of a shared library or executable target or the full
-# path to a shared library or executable file. If <recurse> is set to 1 all
+# ::
+#
+# get_prerequisites
+# list_prerequisites
+# list_prerequisites_by_glob
+# gp_append_unique
+# is_file_executable
+# gp_item_default_embedded_path
+# (projects can override with gp_item_default_embedded_path_override)
+# gp_resolve_item
+# (projects can override with gp_resolve_item_override)
+# gp_resolved_file_type
+# (projects can override with gp_resolved_file_type_override)
+# gp_file_type
+#
+# Requires CMake 2.6 or greater because it uses function, break, return
+# and PARENT_SCOPE.
+#
+# ::
+#
+# GET_PREREQUISITES(<target> <prerequisites_var> <exclude_system> <recurse>
+# <exepath> <dirs>)
+#
+# Get the list of shared library files required by <target>. The list
+# in the variable named <prerequisites_var> should be empty on first
+# entry to this function. On exit, <prerequisites_var> will contain the
+# list of required shared library files.
+#
+# <target> is the full path to an executable file. <prerequisites_var>
+# is the name of a CMake variable to contain the results.
+# <exclude_system> must be 0 or 1 indicating whether to include or
+# exclude "system" prerequisites. If <recurse> is set to 1 all
# prerequisites will be found recursively, if set to 0 only direct
-# prerequisites are listed. <exclude_system> must be 0 or 1 indicating whether
-# to include or exclude "system" prerequisites. With <verbose> set to 0 only
-# the full path names of the prerequisites are printed, set to 1 extra
-# informatin will be displayed.
-#
-# LIST_PREREQUISITES_BY_GLOB(<glob_arg> <glob_exp>)
-# Print the prerequisites of shared library and executable files matching a
-# globbing pattern. <glob_arg> is GLOB or GLOB_RECURSE and <glob_exp> is a
-# globbing expression used with "file(GLOB" or "file(GLOB_RECURSE" to retrieve
-# a list of matching files. If a matching file is executable, its prerequisites
-# are listed.
+# prerequisites are listed. <exepath> is the path to the top level
+# executable used for @executable_path replacment on the Mac. <dirs> is
+# a list of paths where libraries might be found: these paths are
+# searched first when a target without any path info is given. Then
+# standard system locations are also searched: PATH, Framework
+# locations, /usr/lib...
+#
+# ::
+#
+# LIST_PREREQUISITES(<target> [<recurse> [<exclude_system> [<verbose>]]])
+#
+# Print a message listing the prerequisites of <target>.
+#
+# <target> is the name of a shared library or executable target or the
+# full path to a shared library or executable file. If <recurse> is set
+# to 1 all prerequisites will be found recursively, if set to 0 only
+# direct prerequisites are listed. <exclude_system> must be 0 or 1
+# indicating whether to include or exclude "system" prerequisites. With
+# <verbose> set to 0 only the full path names of the prerequisites are
+# printed, set to 1 extra informatin will be displayed.
+#
+# ::
+#
+# LIST_PREREQUISITES_BY_GLOB(<glob_arg> <glob_exp>)
+#
+# Print the prerequisites of shared library and executable files
+# matching a globbing pattern. <glob_arg> is GLOB or GLOB_RECURSE and
+# <glob_exp> is a globbing expression used with "file(GLOB" or
+# "file(GLOB_RECURSE" to retrieve a list of matching files. If a
+# matching file is executable, its prerequisites are listed.
#
# Any additional (optional) arguments provided are passed along as the
# optional arguments to the list_prerequisites calls.
#
-# GP_APPEND_UNIQUE(<list_var> <value>)
-# Append <value> to the list variable <list_var> only if the value is not
-# already in the list.
+# ::
+#
+# GP_APPEND_UNIQUE(<list_var> <value>)
+#
+# Append <value> to the list variable <list_var> only if the value is
+# not already in the list.
+#
+# ::
+#
+# IS_FILE_EXECUTABLE(<file> <result_var>)
#
-# IS_FILE_EXECUTABLE(<file> <result_var>)
-# Return 1 in <result_var> if <file> is a binary executable, 0 otherwise.
+# Return 1 in <result_var> if <file> is a binary executable, 0
+# otherwise.
+#
+# ::
+#
+# GP_ITEM_DEFAULT_EMBEDDED_PATH(<item> <default_embedded_path_var>)
#
-# GP_ITEM_DEFAULT_EMBEDDED_PATH(<item> <default_embedded_path_var>)
# Return the path that others should refer to the item by when the item
# is embedded inside a bundle.
#
# Override on a per-project basis by providing a project-specific
# gp_item_default_embedded_path_override function.
#
-# GP_RESOLVE_ITEM(<context> <item> <exepath> <dirs> <resolved_item_var>)
+# ::
+#
+# GP_RESOLVE_ITEM(<context> <item> <exepath> <dirs> <resolved_item_var>)
+#
# Resolve an item into an existing full path file.
#
# Override on a per-project basis by providing a project-specific
# gp_resolve_item_override function.
#
-# GP_RESOLVED_FILE_TYPE(<original_file> <file> <exepath> <dirs> <type_var>)
-# Return the type of <file> with respect to <original_file>. String
-# describing type of prerequisite is returned in variable named <type_var>.
+# ::
+#
+# GP_RESOLVED_FILE_TYPE(<original_file> <file> <exepath> <dirs> <type_var>)
+#
+# Return the type of <file> with respect to <original_file>. String
+# describing type of prerequisite is returned in variable named
+# <type_var>.
#
# Use <exepath> and <dirs> if necessary to resolve non-absolute <file>
# values -- but only for non-embedded items.
#
# Possible types are:
-# system
-# local
-# embedded
-# other
+#
+# ::
+#
+# system
+# local
+# embedded
+# other
+#
# Override on a per-project basis by providing a project-specific
# gp_resolved_file_type_override function.
#
-# GP_FILE_TYPE(<original_file> <file> <type_var>)
-# Return the type of <file> with respect to <original_file>. String
-# describing type of prerequisite is returned in variable named <type_var>.
+# ::
+#
+# GP_FILE_TYPE(<original_file> <file> <type_var>)
+#
+# Return the type of <file> with respect to <original_file>. String
+# describing type of prerequisite is returned in variable named
+# <type_var>.
#
# Possible types are:
-# system
-# local
-# embedded
-# other
+#
+# ::
+#
+# system
+# local
+# embedded
+# other
#=============================================================================
# Copyright 2008-2009 Kitware, Inc.
@@ -685,9 +738,11 @@ function(get_prerequisites target prerequisites_var exclude_system recurse exepa
if("${gp_tool}" STREQUAL "ldd")
set(old_ld_env "$ENV{LD_LIBRARY_PATH}")
- foreach(dir ${exepath} ${dirs})
- set(ENV{LD_LIBRARY_PATH} "${dir}:$ENV{LD_LIBRARY_PATH}")
+ set(new_ld_env "${exepath}")
+ foreach(dir ${dirs})
+ set(new_ld_env "${new_ld_env}:${dir}")
endforeach()
+ set(ENV{LD_LIBRARY_PATH} "${new_ld_env}:$ENV{LD_LIBRARY_PATH}")
endif()
diff --git a/Modules/InstallRequiredSystemLibraries.cmake b/Modules/InstallRequiredSystemLibraries.cmake
index 2479d68..013a028 100644
--- a/Modules/InstallRequiredSystemLibraries.cmake
+++ b/Modules/InstallRequiredSystemLibraries.cmake
@@ -1,27 +1,32 @@
+#.rst:
+# InstallRequiredSystemLibraries
+# ------------------------------
+#
+#
+#
# By including this file, all library files listed in the variable
# CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS will be installed with
-# install(PROGRAMS ...) into bin for WIN32 and lib
-# for non-WIN32. If CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP is set to TRUE
-# before including this file, then the INSTALL command is not called.
-# The user can use the variable CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS to use a
-# custom install command and install them however they want.
-# If it is the MSVC compiler, then the microsoft run
-# time libraries will be found and automatically added to the
-# CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS, and installed.
-# If CMAKE_INSTALL_DEBUG_LIBRARIES is set and it is the MSVC
-# compiler, then the debug libraries are installed when available.
-# If CMAKE_INSTALL_DEBUG_LIBRARIES_ONLY is set then only the debug
-# libraries are installed when both debug and release are available.
-# If CMAKE_INSTALL_MFC_LIBRARIES is set then the MFC run time
-# libraries are installed as well as the CRT run time libraries.
-# If CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION is set then the libraries are
-# installed to that directory rather than the default.
-# If CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS is NOT set, then this file
-# warns about required files that do not exist. You can set this variable to
-# ON before including this file to avoid the warning. For example, the Visual
-# Studio Express editions do not include the redistributable files, so if you
-# include this file on a machine with only VS Express installed, you'll get
-# the warning.
+# install(PROGRAMS ...) into bin for WIN32 and lib for non-WIN32. If
+# CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP is set to TRUE before including
+# this file, then the INSTALL command is not called. The user can use
+# the variable CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS to use a custom install
+# command and install them however they want. If it is the MSVC
+# compiler, then the microsoft run time libraries will be found and
+# automatically added to the CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS, and
+# installed. If CMAKE_INSTALL_DEBUG_LIBRARIES is set and it is the MSVC
+# compiler, then the debug libraries are installed when available. If
+# CMAKE_INSTALL_DEBUG_LIBRARIES_ONLY is set then only the debug
+# libraries are installed when both debug and release are available. If
+# CMAKE_INSTALL_MFC_LIBRARIES is set then the MFC run time libraries are
+# installed as well as the CRT run time libraries. If
+# CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION is set then the libraries are
+# installed to that directory rather than the default. If
+# CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS is NOT set, then this
+# file warns about required files that do not exist. You can set this
+# variable to ON before including this file to avoid the warning. For
+# example, the Visual Studio Express editions do not include the
+# redistributable files, so if you include this file on a machine with
+# only VS Express installed, you'll get the warning.
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
diff --git a/Modules/MacroAddFileDependencies.cmake b/Modules/MacroAddFileDependencies.cmake
index d0605a1..38df1d3 100644
--- a/Modules/MacroAddFileDependencies.cmake
+++ b/Modules/MacroAddFileDependencies.cmake
@@ -1,10 +1,16 @@
-# - MACRO_ADD_FILE_DEPENDENCIES(<_file> depend_files...)
-# Using the macro MACRO_ADD_FILE_DEPENDENCIES() is discouraged. There are usually
-# better ways to specify the correct dependencies.
+#.rst:
+# MacroAddFileDependencies
+# ------------------------
#
-# MACRO_ADD_FILE_DEPENDENCIES(<_file> depend_files...) is just a convenience
-# wrapper around the OBJECT_DEPENDS source file property. You can just
-# use set_property(SOURCE <file> APPEND PROPERTY OBJECT_DEPENDS depend_files) instead.
+# MACRO_ADD_FILE_DEPENDENCIES(<_file> depend_files...)
+#
+# Using the macro MACRO_ADD_FILE_DEPENDENCIES() is discouraged. There
+# are usually better ways to specify the correct dependencies.
+#
+# MACRO_ADD_FILE_DEPENDENCIES(<_file> depend_files...) is just a
+# convenience wrapper around the OBJECT_DEPENDS source file property.
+# You can just use set_property(SOURCE <file> APPEND PROPERTY
+# OBJECT_DEPENDS depend_files) instead.
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
diff --git a/Modules/Platform/Darwin-AppleClang-C.cmake b/Modules/Platform/Darwin-AppleClang-C.cmake
new file mode 100644
index 0000000..98971bb
--- /dev/null
+++ b/Modules/Platform/Darwin-AppleClang-C.cmake
@@ -0,0 +1 @@
+include(Platform/Darwin-Clang-C)
diff --git a/Modules/Platform/Darwin-AppleClang-CXX.cmake b/Modules/Platform/Darwin-AppleClang-CXX.cmake
new file mode 100644
index 0000000..4e9e7c1
--- /dev/null
+++ b/Modules/Platform/Darwin-AppleClang-CXX.cmake
@@ -0,0 +1 @@
+include(Platform/Darwin-Clang-CXX)
diff --git a/Modules/Platform/Darwin-Intel-C.cmake b/Modules/Platform/Darwin-Intel-C.cmake
new file mode 100644
index 0000000..81c630f
--- /dev/null
+++ b/Modules/Platform/Darwin-Intel-C.cmake
@@ -0,0 +1,2 @@
+include(Platform/Darwin-Intel)
+__darwin_compiler_intel(C)
diff --git a/Modules/Platform/Darwin-Intel-CXX.cmake b/Modules/Platform/Darwin-Intel-CXX.cmake
new file mode 100644
index 0000000..90ae53b
--- /dev/null
+++ b/Modules/Platform/Darwin-Intel-CXX.cmake
@@ -0,0 +1,2 @@
+include(Platform/Darwin-Intel)
+__darwin_compiler_intel(CXX)
diff --git a/Modules/Platform/Darwin-Intel-Fortran.cmake b/Modules/Platform/Darwin-Intel-Fortran.cmake
index 6bd45f1..a604bb6 100644
--- a/Modules/Platform/Darwin-Intel-Fortran.cmake
+++ b/Modules/Platform/Darwin-Intel-Fortran.cmake
@@ -11,5 +11,8 @@
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
+include(Platform/Darwin-Intel)
+__darwin_compiler_intel(Fortran)
+
set(CMAKE_Fortran_OSX_COMPATIBILITY_VERSION_FLAG "-compatibility_version ")
set(CMAKE_Fortran_OSX_CURRENT_VERSION_FLAG "-current_version ")
diff --git a/Modules/Platform/Darwin-Intel.cmake b/Modules/Platform/Darwin-Intel.cmake
new file mode 100644
index 0000000..42f1154
--- /dev/null
+++ b/Modules/Platform/Darwin-Intel.cmake
@@ -0,0 +1,29 @@
+
+#=============================================================================
+# Copyright 2002-2014 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distribute this file outside of CMake, substitute the full
+# License text for the above reference.)
+
+# This module is shared by multiple languages; use include blocker.
+if(__DARWIN_COMPILER_INTEL)
+ return()
+endif()
+set(__DARWIN_COMPILER_INTEL 1)
+
+macro(__darwin_compiler_intel lang)
+ set(CMAKE_${lang}_VERBOSE_FLAG "-v -Wl,-v") # also tell linker to print verbose output
+ set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "-dynamiclib -Wl,-headerpad_max_install_names")
+ set(CMAKE_SHARED_MODULE_CREATE_${lang}_FLAGS "-bundle -Wl,-headerpad_max_install_names")
+
+ if(NOT CMAKE_${lang}_COMPILER_VERSION VERSION_LESS 12.0)
+ set(CMAKE_${lang}_COMPILE_OPTIONS_VISIBILITY "-fvisibility=")
+ endif()
+endmacro()
diff --git a/Modules/Platform/Darwin-icc.cmake b/Modules/Platform/Darwin-icc.cmake
deleted file mode 100644
index 6a46f8e..0000000
--- a/Modules/Platform/Darwin-icc.cmake
+++ /dev/null
@@ -1,131 +0,0 @@
-set(CMAKE_C_CREATE_SHARED_LIBRARY_FORBIDDEN_FLAGS "" )
-set(CMAKE_CXX_CREATE_SHARED_LIBRARY_FORBIDDEN_FLAGS "")
-
-# Setup for Leopard Compatibility
-exec_program(sw_vers ARGS -productVersion OUTPUT_VARIABLE _OSX_VERSION)
-# message (STATUS "_OSX_VERSION: ${_OSX_VERSION}")
-if ( _OSX_VERSION MATCHES "^10.4" )
- #if(CMAKE_COMPILER_IS_GNUCC)
- set (CMAKE_C_FLAGS_INIT "")
- set (CMAKE_C_FLAGS_DEBUG_INIT "-gdwarf-2")
- set (CMAKE_C_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG")
- set (CMAKE_C_FLAGS_RELEASE_INIT "-O3 -DNDEBUG")
- set (CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-O2 -gdwarf-2")
- set (CMAKE_C_CREATE_PREPROCESSED_SOURCE "<CMAKE_C_COMPILER> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
- set (CMAKE_C_CREATE_ASSEMBLY_SOURCE "<CMAKE_C_COMPILER> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>")
- # endif()
-
-# if(CMAKE_COMPILER_IS_GNUCXX)
- set (CMAKE_CXX_FLAGS_INIT "")
- set (CMAKE_CXX_FLAGS_DEBUG_INIT "-gdwarf-2")
- set (CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG")
- set (CMAKE_CXX_FLAGS_RELEASE_INIT "-O3 -DNDEBUG")
- set (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-O2 -gdwarf-2")
- set (CMAKE_CXX_CREATE_PREPROCESSED_SOURCE "<CMAKE_CXX_COMPILER> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
- set (CMAKE_CXX_CREATE_ASSEMBLY_SOURCE "<CMAKE_CXX_COMPILER> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>")
-# endif()
-endif ()
-
-
-set(CMAKE_SHARED_LIBRARY_PREFIX "lib")
-set(CMAKE_SHARED_LIBRARY_SUFFIX ".dylib")
-set(CMAKE_SHARED_MODULE_PREFIX "lib")
-set(CMAKE_SHARED_MODULE_SUFFIX ".so")
-set(CMAKE_MODULE_EXISTS 1)
-set(CMAKE_DL_LIBS "")
-set(CMAKE_C_LINK_FLAGS "-Wl,-headerpad_max_install_names")
-set(CMAKE_CXX_LINK_FLAGS "-Wl,-headerpad_max_install_names")
-set(CMAKE_PLATFORM_HAS_INSTALLNAME 1)
-set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-dynamiclib -Wl,-headerpad_max_install_names")
-set(CMAKE_SHARED_MODULE_CREATE_C_FLAGS "-bundle -Wl,-headerpad_max_install_names")
-set(CMAKE_FIND_LIBRARY_SUFFIXES ".dylib" ".so" ".a")
-
-
-# setup for universal binaries if sysroot exists
-if(EXISTS /Developer/SDKs/MacOSX10.4u.sdk)
- # set the sysroot to be used if CMAKE_OSX_ARCHITECTURES
- # has more than one value
- set(CMAKE_OSX_SYSROOT /Developer/SDKs/MacOSX10.4u.sdk CACHE STRING
- "isysroot used for universal binary support")
- # set _CMAKE_OSX_MACHINE to umame -m
- exec_program(uname ARGS -m OUTPUT_VARIABLE _CMAKE_OSX_MACHINE)
-
- # check for environment variable CMAKE_OSX_ARCHITECTURES
- # if it is set.
- if(NOT "$ENV{CMAKE_OSX_ARCHITECTURES}" STREQUAL "")
- set(_CMAKE_OSX_MACHINE "$ENV{CMAKE_OSX_ARCHITECTURES}")
- endif()
- # now put _CMAKE_OSX_MACHINE into the cache
- set(CMAKE_OSX_ARCHITECTURES ${_CMAKE_OSX_MACHINE}
- CACHE STRING "Build architectures for OSX")
-endif()
-
-
-if("${CMAKE_BACKWARDS_COMPATIBILITY}" MATCHES "^1\\.[0-6]$")
- set(CMAKE_SHARED_MODULE_CREATE_C_FLAGS
- "${CMAKE_SHARED_MODULE_CREATE_C_FLAGS} -flat_namespace -undefined suppress")
-endif()
-
-if(NOT XCODE)
- # Enable shared library versioning. This flag is not actually referenced
- # but the fact that the setting exists will cause the generators to support
- # soname computation.
- set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-install_name")
- set(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-install_name")
- set(CMAKE_SHARED_LIBRARY_SONAME_Fortran_FLAG "-install_name")
-endif()
-
-# Xcode does not support -isystem yet.
-if(XCODE)
- set(CMAKE_INCLUDE_SYSTEM_FLAG_C)
- set(CMAKE_INCLUDE_SYSTEM_FLAG_CXX)
-endif()
-
-set(CMAKE_MacOSX_Content_COMPILE_OBJECT "\"${CMAKE_COMMAND}\" -E copy_if_different <SOURCE> <OBJECT>")
-
-set(CMAKE_C_CREATE_SHARED_LIBRARY
- "<CMAKE_C_COMPILER> <LANGUAGE_COMPILE_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> <LINK_FLAGS> -o <TARGET> <SONAME_FLAG> <TARGET_INSTALLNAME_DIR><TARGET_SONAME> <OBJECTS> <LINK_LIBRARIES>")
-set(CMAKE_CXX_CREATE_SHARED_LIBRARY
- "<CMAKE_CXX_COMPILER> <LANGUAGE_COMPILE_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS> <LINK_FLAGS> -o <TARGET> <SONAME_FLAG> <TARGET_INSTALLNAME_DIR><TARGET_SONAME> <OBJECTS> <LINK_LIBRARIES>")
-set(CMAKE_Fortran_CREATE_SHARED_LIBRARY
- "<CMAKE_Fortran_COMPILER> <LANGUAGE_COMPILE_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS> <LINK_FLAGS> -o <TARGET> <SONAME_FLAG> <TARGET_INSTALLNAME_DIR><TARGET_SONAME> <OBJECTS> <LINK_LIBRARIES>")
-
-set(CMAKE_CXX_CREATE_SHARED_MODULE
- "<CMAKE_CXX_COMPILER> <LANGUAGE_COMPILE_FLAGS> <CMAKE_SHARED_MODULE_CREATE_CXX_FLAGS> <LINK_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>")
-
-set(CMAKE_C_CREATE_SHARED_MODULE
- "<CMAKE_C_COMPILER> <LANGUAGE_COMPILE_FLAGS> <CMAKE_SHARED_MODULE_CREATE_C_FLAGS> <LINK_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>")
-
-set(CMAKE_Fortran_CREATE_SHARED_MODULE
- "<CMAKE_Fortran_COMPILER> <LANGUAGE_COMPILE_FLAGS> <CMAKE_SHARED_MODULE_CREATE_Fortran_FLAGS> <LINK_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>")
-
-
-# We can use $ENV{INTEL_LICENSE_FILE} to try and get at the installation location for ICC.
-# We also need to consider to use cce (which is the 64bit compiler) and not JUST the 32bit compiler.
-# I have no idea what the best way to do that would be.
-
-
-# default to searching for frameworks first
-if(NOT DEFINED CMAKE_FIND_FRAMEWORK)
- set(CMAKE_FIND_FRAMEWORK FIRST)
-endif()
-# set up the default search directories for frameworks
-set(CMAKE_SYSTEM_FRAMEWORK_PATH
- ~/Library/Frameworks
- /Library/Frameworks
- /Network/Library/Frameworks
- /System/Library/Frameworks)
-
-# default to searching for application bundles first
-if(NOT DEFINED CMAKE_FIND_APPBUNDLE)
- set(CMAKE_FIND_APPBUNDLE FIRST)
-endif()
-# set up the default search directories for application bundles
-set(CMAKE_SYSTEM_APPBUNDLE_PATH
- ~/Applications
- /Applications
- /Developer/Applications)
-
-include(Platform/UnixPaths)
-set(CMAKE_SYSTEM_INCLUDE_PATH ${CMAKE_SYSTEM_INCLUDE_PATH} /sw/include)
-set(CMAKE_SYSTEM_LIBRARY_PATH ${CMAKE_SYSTEM_LIBRARY_PATH} /sw/lib)
diff --git a/Modules/Platform/Darwin-icpc.cmake b/Modules/Platform/Darwin-icpc.cmake
deleted file mode 100644
index 549feb7..0000000
--- a/Modules/Platform/Darwin-icpc.cmake
+++ /dev/null
@@ -1,3 +0,0 @@
-get_filename_component(CURRENT_SOURCE_PARENT ${CMAKE_CURRENT_LIST_FILE} PATH)
-#message (STATUS "CURRENT_SOURCE_PARENT: ${CURRENT_SOURCE_PARENT}")
-include ( ${CURRENT_SOURCE_PARENT}/Darwin-icc.cmake)
diff --git a/Modules/Platform/Darwin.cmake b/Modules/Platform/Darwin.cmake
index 72844b5..fc3f87e 100644
--- a/Modules/Platform/Darwin.cmake
+++ b/Modules/Platform/Darwin.cmake
@@ -223,11 +223,6 @@ if(CMAKE_OSX_DEPLOYMENT_TARGET)
endif()
endif()
-if("${CMAKE_BACKWARDS_COMPATIBILITY}" MATCHES "^1\\.[0-6]$")
- set(CMAKE_SHARED_MODULE_CREATE_C_FLAGS
- "${CMAKE_SHARED_MODULE_CREATE_C_FLAGS} -flat_namespace -undefined suppress")
-endif()
-
# Enable shared library versioning.
set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-install_name")
@@ -268,6 +263,11 @@ set(CMAKE_C_CREATE_MACOSX_FRAMEWORK
set(CMAKE_CXX_CREATE_MACOSX_FRAMEWORK
"<CMAKE_CXX_COMPILER> <LANGUAGE_COMPILE_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS> <LINK_FLAGS> -o <TARGET> <SONAME_FLAG> <TARGET_INSTALLNAME_DIR><TARGET_SONAME> <OBJECTS> <LINK_LIBRARIES>")
+# Set default framework search path flag for languages known to use a
+# preprocessor that may find headers in frameworks.
+set(CMAKE_C_FRAMEWORK_SEARCH_FLAG -F)
+set(CMAKE_CXX_FRAMEWORK_SEARCH_FLAG -F)
+set(CMAKE_Fortran_FRAMEWORK_SEARCH_FLAG -F)
# default to searching for frameworks first
if(NOT DEFINED CMAKE_FIND_FRAMEWORK)
@@ -341,7 +341,9 @@ foreach(_path
list(APPEND _apps_paths "${_apps}")
endif()
endforeach()
-list(REMOVE_DUPLICATES _apps_paths)
+if(_apps_paths)
+ list(REMOVE_DUPLICATES _apps_paths)
+endif()
set(CMAKE_SYSTEM_APPBUNDLE_PATH
${_apps_paths})
unset(_apps_paths)
diff --git a/Modules/Platform/Haiku.cmake b/Modules/Platform/Haiku.cmake
index 8987783..825f851 100644
--- a/Modules/Platform/Haiku.cmake
+++ b/Modules/Platform/Haiku.cmake
@@ -1,22 +1,123 @@
-set(BEOS 1)
+# process only once
+if(HAIKU)
+ return()
+endif()
+
+set(HAIKU 1)
+set(UNIX 1)
-set(CMAKE_DL_LIBS root be)
-set(CMAKE_C_COMPILE_OPTIONS_PIC "-fPIC")
-set(CMAKE_C_COMPILE_OPTIONS_PIE "-fPIE")
+set(CMAKE_DL_LIBS "")
set(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC")
-set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-nostart")
+set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,")
set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":")
+set(CMAKE_SHARED_LIBRARY_RPATH_LINK_C_FLAG "-Wl,-rpath-link,")
set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,")
+set(CMAKE_EXE_EXPORTS_C_FLAG "-Wl,--export-dynamic")
+
+# Determine, if the C or C++ compiler is configured for a secondary
+# architecture. If so, that will change the search paths we set below. We check
+# whether the compiler's library search paths contain a
+# "/boot/system/develop/lib/<subdir>/", which we assume to be the secondary
+# architecture specific subdirectory and extract the name of the architecture
+# accordingly.
+set(__HAIKU_COMPILER ${CMAKE_C_COMPILER})
+
+if(NOT __HAIKU_COMPILER)
+ set(__HAIKU_COMPILER ${CMAKE_CXX_COMPILER})
+endif()
+
+execute_process(
+ COMMAND ${__HAIKU_COMPILER} -print-search-dirs
+ OUTPUT_VARIABLE _HAIKU_SEARCH_DIRS
+ OUTPUT_STRIP_TRAILING_WHITESPACE)
+
+string(REGEX MATCH ".*\nlibraries: =?([^\n]*:)?/boot/system/develop/lib/([^/]*)/(:[^\n]*)?\n.*" _dummy "\n${_HAIKU_SEARCH_DIRS}\n")
+set(CMAKE_HAIKU_SECONDARY_ARCH "${CMAKE_MATCH_2}")
+
+if(NOT CMAKE_HAIKU_SECONDARY_ARCH)
+ set(CMAKE_HAIKU_SECONDARY_ARCH_SUBDIR "")
+ unset(CMAKE_HAIKU_SECONDARY_ARCH)
+else()
+ set(CMAKE_HAIKU_SECONDARY_ARCH_SUBDIR "/${CMAKE_HAIKU_SECONDARY_ARCH}")
+
+ # Override CMAKE_*LIBRARY_ARCHITECTURE. This will cause FIND_LIBRARY to search
+ # the libraries in the correct subdirectory first. It still isn't completely
+ # correct, since the parent directories shouldn't be searched at all. The
+ # primary architecture library might still be found, if there isn't one
+ # installed for the secondary architecture or it is installed in a less
+ # specific location.
+ set(CMAKE_LIBRARY_ARCHITECTURE ${CMAKE_HAIKU_SECONDARY_ARCH})
+ set(CMAKE_C_LIBRARY_ARCHITECTURE ${CMAKE_HAIKU_SECONDARY_ARCH})
+ set(CMAKE_CXX_LIBRARY_ARCHITECTURE ${CMAKE_HAIKU_SECONDARY_ARCH})
+endif()
+
+list(APPEND CMAKE_SYSTEM_PREFIX_PATH
+ /boot/common/non-packaged
+ /boot/common
+ /boot/system
+ )
+
+LIST(APPEND CMAKE_HAIKU_COMMON_INCLUDE_DIRECTORIES
+ /boot/common/non-packaged/develop/headers${CMAKE_HAIKU_SECONDARY_ARCH_SUBDIR}
+ /boot/common/develop/headers${CMAKE_HAIKU_SECONDARY_ARCH_SUBDIR}
+ /boot/system/develop/headers/os
+ /boot/system/develop/headers/os/app
+ /boot/system/develop/headers/os/device
+ /boot/system/develop/headers/os/drivers
+ /boot/system/develop/headers/os/game
+ /boot/system/develop/headers/os/interface
+ /boot/system/develop/headers/os/kernel
+ /boot/system/develop/headers/os/locale
+ /boot/system/develop/headers/os/mail
+ /boot/system/develop/headers/os/media
+ /boot/system/develop/headers/os/midi
+ /boot/system/develop/headers/os/midi2
+ /boot/system/develop/headers/os/net
+ /boot/system/develop/headers/os/opengl
+ /boot/system/develop/headers/os/storage
+ /boot/system/develop/headers/os/support
+ /boot/system/develop/headers/os/translation
+ /boot/system/develop/headers/os/add-ons/graphics
+ /boot/system/develop/headers/os/add-ons/input_server
+ /boot/system/develop/headers/os/add-ons/screen_saver
+ /boot/system/develop/headers/os/add-ons/tracker
+ /boot/system/develop/headers/os/be_apps/Deskbar
+ /boot/system/develop/headers/os/be_apps/NetPositive
+ /boot/system/develop/headers/os/be_apps/Tracker
+ /boot/system/develop/headers/3rdparty
+ /boot/system/develop/headers/bsd
+ /boot/system/develop/headers/glibc
+ /boot/system/develop/headers/gnu
+ /boot/system/develop/headers/posix
+ /boot/system/develop/headers${CMAKE_HAIKU_SECONDARY_ARCH_SUBDIR}
+ )
+IF (CMAKE_HAIKU_SECONDARY_ARCH)
+ LIST(APPEND CMAKE_HAIKU_COMMON_INCLUDE_DIRECTORIES
+ /boot/system/develop/headers
+ )
+ENDIF (CMAKE_HAIKU_SECONDARY_ARCH)
+
+LIST(APPEND CMAKE_HAIKU_C_INCLUDE_DIRECTORIES
+ ${CMAKE_HAIKU_COMMON_INCLUDE_DIRECTORIES}
+ )
+
+LIST(APPEND CMAKE_HAIKU_CXX_INCLUDE_DIRECTORIES
+ ${CMAKE_HAIKU_COMMON_INCLUDE_DIRECTORIES})
+
+LIST(APPEND CMAKE_SYSTEM_INCLUDE_PATH ${CMAKE_HAIKU_C_INCLUDE_DIRECTORIES})
+
+LIST(APPEND CMAKE_HAIKU_DEVELOP_LIB_DIRECTORIES
+ /boot/common/non-packaged/develop/lib${CMAKE_HAIKU_SECONDARY_ARCH_SUBDIR}
+ /boot/common/develop/lib${CMAKE_HAIKU_SECONDARY_ARCH_SUBDIR}
+ /boot/system/develop/lib${CMAKE_HAIKU_SECONDARY_ARCH_SUBDIR}
+ )
+
+LIST(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES
+ ${CMAKE_HAIKU_DEVELOP_LIB_DIRECTORIES}
+ )
-include(Platform/UnixPaths)
-list(APPEND CMAKE_SYSTEM_PREFIX_PATH /boot/common)
-list(APPEND CMAKE_SYSTEM_INCLUDE_PATH /boot/common/include)
-list(APPEND CMAKE_SYSTEM_LIBRARY_PATH /boot/common/lib)
-list(APPEND CMAKE_SYSTEM_PROGRAM_PATH /boot/common/bin)
-list(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES /boot/common/lib)
-list(APPEND CMAKE_SYSTEM_INCLUDE_PATH /boot/develop/headers/3rdparty)
-list(APPEND CMAKE_SYSTEM_LIBRARY_PATH /boot/develop/lib/x86)
+LIST(APPEND CMAKE_SYSTEM_LIBRARY_PATH ${CMAKE_HAIKU_DEVELOP_LIB_DIRECTORIES})
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
set(CMAKE_INSTALL_PREFIX "/boot/common" CACHE PATH
diff --git a/Modules/Platform/Linux-Intel-C.cmake b/Modules/Platform/Linux-Intel-C.cmake
index d1694d6..449493a 100644
--- a/Modules/Platform/Linux-Intel-C.cmake
+++ b/Modules/Platform/Linux-Intel-C.cmake
@@ -1,2 +1,3 @@
include(Platform/Linux-Intel)
__linux_compiler_intel(C)
+set(CMAKE_INCLUDE_SYSTEM_FLAG_C "-isystem ")
diff --git a/Modules/Platform/Linux-Intel-CXX.cmake b/Modules/Platform/Linux-Intel-CXX.cmake
index 66df3ac..142b6cf 100644
--- a/Modules/Platform/Linux-Intel-CXX.cmake
+++ b/Modules/Platform/Linux-Intel-CXX.cmake
@@ -1,2 +1,3 @@
include(Platform/Linux-Intel)
__linux_compiler_intel(CXX)
+set(CMAKE_INCLUDE_SYSTEM_FLAG_CXX "-isystem ")
diff --git a/Modules/Platform/Linux-Intel-Fortran.cmake b/Modules/Platform/Linux-Intel-Fortran.cmake
index bb671ee..0c9523c 100644
--- a/Modules/Platform/Linux-Intel-Fortran.cmake
+++ b/Modules/Platform/Linux-Intel-Fortran.cmake
@@ -1,4 +1,4 @@
include(Platform/Linux-Intel)
__linux_compiler_intel(Fortran)
-set(CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS} -i_dynamic -nofor_main")
-set(CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "-i_dynamic")
+set(CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS} -nofor_main")
+set(CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "")
diff --git a/Modules/Platform/Linux-Intel.cmake b/Modules/Platform/Linux-Intel.cmake
index 2394f10..20fddb4 100644
--- a/Modules/Platform/Linux-Intel.cmake
+++ b/Modules/Platform/Linux-Intel.cmake
@@ -47,4 +47,8 @@ macro(__linux_compiler_intel lang)
"${XIAR} cr <TARGET> <LINK_FLAGS> <OBJECTS> "
"${XIAR} -s <TARGET> ")
endif()
+
+ if(NOT CMAKE_${lang}_COMPILER_VERSION VERSION_LESS 12.0)
+ set(CMAKE_${lang}_COMPILE_OPTIONS_VISIBILITY "-fvisibility=")
+ endif()
endmacro()
diff --git a/Modules/Platform/MirBSD.cmake b/Modules/Platform/MirBSD.cmake
new file mode 100644
index 0000000..7637f9b
--- /dev/null
+++ b/Modules/Platform/MirBSD.cmake
@@ -0,0 +1 @@
+include(Platform/OpenBSD)
diff --git a/Modules/Platform/QNX-QCC-C.cmake b/Modules/Platform/QNX-QCC-C.cmake
new file mode 100644
index 0000000..e5721a7
--- /dev/null
+++ b/Modules/Platform/QNX-QCC-C.cmake
@@ -0,0 +1,4 @@
+
+include(Platform/QNX)
+
+__compiler_qcc(C)
diff --git a/Modules/Platform/QNX-QCC-CXX.cmake b/Modules/Platform/QNX-QCC-CXX.cmake
new file mode 100644
index 0000000..e490bbe
--- /dev/null
+++ b/Modules/Platform/QNX-QCC-CXX.cmake
@@ -0,0 +1,4 @@
+
+include(Platform/QNX)
+
+__compiler_qcc(CXX)
diff --git a/Modules/Platform/QNX.cmake b/Modules/Platform/QNX.cmake
index 2598411..cc551bd 100644
--- a/Modules/Platform/QNX.cmake
+++ b/Modules/Platform/QNX.cmake
@@ -1,18 +1,6 @@
set(QNXNTO 1)
-# The QNX GCC does not seem to have -isystem so remove the flag.
-set(CMAKE_INCLUDE_SYSTEM_FLAG_C)
-set(CMAKE_INCLUDE_SYSTEM_FLAG_CXX)
-
set(CMAKE_DL_LIBS "")
-set(CMAKE_SHARED_LIBRARY_C_FLAGS "")
-set(CMAKE_SHARED_LIBRARY_CXX_FLAGS "")
-set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
-set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,")
-set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":")
-set(CMAKE_SHARED_LIBRARY_RPATH_LINK_C_FLAG "-Wl,-rpath-link,")
-set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,")
-set(CMAKE_EXE_EXPORTS_C_FLAG "-Wl,--export-dynamic")
# Shared libraries with no builtin soname may not be linked safely by
# specifying the file path.
@@ -26,8 +14,22 @@ foreach(type SHARED_LIBRARY SHARED_MODULE EXE)
set(CMAKE_${type}_LINK_STATIC_C_FLAGS "-Wl,-Bstatic")
set(CMAKE_${type}_LINK_DYNAMIC_C_FLAGS "-Wl,-Bdynamic")
endforeach()
-# force the language to be c++ since qnx only has gcc and not g++ and c++?
-set(CMAKE_CXX_COMPILE_OBJECT
- "<CMAKE_CXX_COMPILER> -x c++ <DEFINES> <FLAGS> -o <OBJECT> -c <SOURCE>")
-include(Platform/UnixPaths)
+include(Platform/GNU)
+unset(CMAKE_LIBRARY_ARCHITECTURE_REGEX)
+
+macro(__compiler_qcc lang)
+ # http://www.qnx.com/developers/docs/6.4.0/neutrino/utilities/q/qcc.html#examples
+ set(CMAKE_${lang}_COMPILE_OPTIONS_TARGET "-V")
+
+ set(CMAKE_INCLUDE_SYSTEM_FLAG_${lang} "-Wp,-isystem,")
+ set(CMAKE_DEPFILE_FLAGS_${lang} "-Wc,-MMD,<DEPFILE>,-MT,<OBJECT>,-MF,<DEPFILE>")
+
+ if (lang STREQUAL CXX)
+ # If the toolchain uses qcc for CMAKE_CXX_COMPILER instead of QCC, the
+ # default for the driver is not c++.
+ set(CMAKE_CXX_COMPILE_OBJECT
+ "<CMAKE_CXX_COMPILER> -lang-c++ <DEFINES> <FLAGS> -o <OBJECT> -c <SOURCE>")
+ endif()
+
+endmacro()
diff --git a/Modules/Platform/UnixPaths.cmake b/Modules/Platform/UnixPaths.cmake
index ccb2663..20ee1d1 100644
--- a/Modules/Platform/UnixPaths.cmake
+++ b/Modules/Platform/UnixPaths.cmake
@@ -37,10 +37,19 @@ list(APPEND CMAKE_SYSTEM_PREFIX_PATH
# CMake install location
"${_CMAKE_INSTALL_DIR}"
-
- # Project install destination.
- "${CMAKE_INSTALL_PREFIX}"
)
+if (NOT CMAKE_FIND_NO_INSTALL_PREFIX)
+ list(APPEND CMAKE_SYSTEM_PREFIX_PATH
+ # Project install destination.
+ "${CMAKE_INSTALL_PREFIX}"
+ )
+ if(CMAKE_STAGING_PREFIX)
+ list(APPEND CMAKE_SYSTEM_PREFIX_PATH
+ # User-supplied staging prefix.
+ "${CMAKE_STAGING_PREFIX}"
+ )
+ endif()
+endif()
# List common include file locations not under the common prefixes.
list(APPEND CMAKE_SYSTEM_INCLUDE_PATH
@@ -74,7 +83,7 @@ list(APPEND CMAKE_SYSTEM_PROGRAM_PATH
)
list(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES
- /lib /usr/lib /usr/lib32 /usr/lib64
+ /lib /lib32 /lib64 /usr/lib /usr/lib32 /usr/lib64
)
list(APPEND CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES
diff --git a/Modules/Platform/Windows-Clang-C.cmake b/Modules/Platform/Windows-Clang-C.cmake
new file mode 100644
index 0000000..d007105
--- /dev/null
+++ b/Modules/Platform/Windows-Clang-C.cmake
@@ -0,0 +1,2 @@
+include(Platform/Windows-Clang)
+__windows_compiler_clang(C)
diff --git a/Modules/Platform/Windows-Clang-CXX.cmake b/Modules/Platform/Windows-Clang-CXX.cmake
new file mode 100644
index 0000000..2c3688a
--- /dev/null
+++ b/Modules/Platform/Windows-Clang-CXX.cmake
@@ -0,0 +1,2 @@
+include(Platform/Windows-Clang)
+__windows_compiler_clang(CXX)
diff --git a/Modules/Platform/Windows-Clang.cmake b/Modules/Platform/Windows-Clang.cmake
new file mode 100644
index 0000000..4c936fe
--- /dev/null
+++ b/Modules/Platform/Windows-Clang.cmake
@@ -0,0 +1,32 @@
+
+#=============================================================================
+# Copyright 2001-2013 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distribute this file outside of CMake, substitute the full
+# License text for the above reference.)
+
+# This module is shared by multiple languages; use include blocker.
+if(__WINDOWS_CLANG)
+ return()
+endif()
+set(__WINDOWS_CLANG 1)
+
+if(CMAKE_C_SIMULATE_ID STREQUAL "MSVC"
+ OR CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC")
+ include(Platform/Windows-MSVC)
+ macro(__windows_compiler_clang lang)
+ __windows_compiler_msvc(${lang})
+ endmacro()
+else()
+ include(Platform/Windows-GNU)
+ macro(__windows_compiler_clang lang)
+ __windows_compiler_gnu(${lang})
+ endmacro()
+endif()
diff --git a/Modules/Platform/Windows-Intel-CXX.cmake b/Modules/Platform/Windows-Intel-CXX.cmake
index ec5f0ae..84cd303 100644
--- a/Modules/Platform/Windows-Intel-CXX.cmake
+++ b/Modules/Platform/Windows-Intel-CXX.cmake
@@ -1,4 +1,3 @@
include(Platform/Windows-Intel)
set(_COMPILE_CXX " /TP")
-set(_FLAGS_CXX " /EHsc /GR")
__windows_compiler_intel(CXX)
diff --git a/Modules/Platform/Windows-Intel.cmake b/Modules/Platform/Windows-Intel.cmake
index 69a7f2f..34e6b37 100644
--- a/Modules/Platform/Windows-Intel.cmake
+++ b/Modules/Platform/Windows-Intel.cmake
@@ -18,92 +18,11 @@ if(__WINDOWS_INTEL)
endif()
set(__WINDOWS_INTEL 1)
-# make sure to enable languages after setting configuration types
-enable_language(RC)
-set(CMAKE_COMPILE_RESOURCE "rc <FLAGS> /fo<OBJECT> <SOURCE>")
-
-set(CMAKE_LIBRARY_PATH_FLAG "-LIBPATH:")
-set(CMAKE_LINK_LIBRARY_FLAG "")
-set(WIN32 1)
-if(CMAKE_VERBOSE_MAKEFILE)
- set(CMAKE_CL_NOLOGO)
-else()
- set(CMAKE_CL_NOLOGO "/nologo")
-endif()
-set(CMAKE_COMPILE_RESOURCE "rc <FLAGS> /fo<OBJECT> <SOURCE>")
-set(CMAKE_CREATE_WIN32_EXE /subsystem:windows)
-set(CMAKE_CREATE_CONSOLE_EXE /subsystem:console)
-
-# default to Debug builds
-#set(CMAKE_BUILD_TYPE_INIT Debug)
-set(CMAKE_BUILD_TYPE_INIT Release)
-
-set(CMAKE_C_STANDARD_LIBRARIES_INIT "kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib")
-set(CMAKE_CXX_STANDARD_LIBRARIES_INIT "${CMAKE_C_STANDARD_LIBRARIES_INIT}")
-
-# executable linker flags
-set (CMAKE_LINK_DEF_FILE_FLAG "/DEF:")
-if(MSVC_C_ARCHITECTURE_ID)
- set(_MACHINE_ARCH_FLAG "/machine:${MSVC_C_ARCHITECTURE_ID}")
-elseif(MSVC_CXX_ARCHITECTURE_ID)
- set(_MACHINE_ARCH_FLAG "/machine:${MSVC_CXX_ARCHITECTURE_ID}")
-elseif(MSVC_Fortran_ARCHITECTURE_ID)
- set(_MACHINE_ARCH_FLAG "/machine:${MSVC_Fortran_ARCHITECTURE_ID}")
-endif()
-set (CMAKE_EXE_LINKER_FLAGS_INIT "/INCREMENTAL:YES ${_MACHINE_ARCH_FLAG}")
-set (CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT "/debug")
-set (CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO_INIT "/debug")
-
-set (CMAKE_SHARED_LINKER_FLAGS_INIT ${CMAKE_EXE_LINKER_FLAGS_INIT})
-set (CMAKE_SHARED_LINKER_FLAGS_DEBUG_INIT ${CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT})
-set (CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO_INIT ${CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT})
-set (CMAKE_MODULE_LINKER_FLAGS_INIT ${CMAKE_SHARED_LINKER_FLAGS_INIT})
-set (CMAKE_MODULE_LINKER_FLAGS_DEBUG_INIT ${CMAKE_SHARED_LINKER_FLAGS_DEBUG_INIT})
-set (CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO_INIT ${CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO_INIT})
-
-include("${CMAKE_PLATFORM_INFO_DIR}/CMakeIntelInformation.cmake" OPTIONAL)
-
-if(NOT _INTEL_XILINK_TEST_RUN)
- execute_process(COMMAND xilink /?
- ERROR_VARIABLE _XILINK_ERR
- OUTPUT_VARIABLE _XILINK_HELP)
- if(_XILINK_HELP MATCHES MANIFEST)
- set(_INTEL_COMPILER_SUPPORTS_MANIFEST 1)
- endif()
- if(NOT EXISTS "${CMAKE_PLATFORM_INFO_DIR}/CMakeIntelInformation.cmake")
- file(WRITE ${CMAKE_PLATFORM_INFO_DIR}/CMakeIntelInformation.cmake
- "
-set(_INTEL_XILINK_TEST_RUN 1)
-set(_INTEL_COMPILER_SUPPORTS_MANIFEST ${_INTEL_COMPILER_SUPPORTS_MANIFEST})
-")
- endif()
-endif()
-
+include(Platform/Windows-MSVC)
macro(__windows_compiler_intel lang)
- set(CMAKE_${lang}_COMPILE_OBJECT
- "<CMAKE_${lang}_COMPILER> ${CMAKE_START_TEMP_FILE} ${CMAKE_CL_NOLOGO}${_COMPILE_${lang}} /Fo<OBJECT> /Fd<OBJECT_DIR>/ <DEFINES> <FLAGS> -c <SOURCE>${CMAKE_END_TEMP_FILE}")
- set(CMAKE_${lang}_CREATE_PREPROCESSED_SOURCE
- "<CMAKE_${lang}_COMPILER> > <PREPROCESSED_SOURCE> ${CMAKE_START_TEMP_FILE} ${CMAKE_CL_NOLOGO}${_COMPILE_${lang}} <DEFINES> <FLAGS> -E <SOURCE>${CMAKE_END_TEMP_FILE}")
- set(CMAKE_${lang}_USE_RESPONSE_FILE_FOR_OBJECTS 1)
- set(CMAKE_${lang}_CREATE_STATIC_LIBRARY "lib ${CMAKE_CL_NOLOGO} <LINK_FLAGS> /out:<TARGET> <OBJECTS> ")
- set(CMAKE_${lang}_CREATE_SHARED_LIBRARY
- "xilink ${CMAKE_CL_NOLOGO} ${CMAKE_START_TEMP_FILE} /out:<TARGET> /implib:<TARGET_IMPLIB> /pdb:<TARGET_PDB> /dll <LINK_FLAGS> <OBJECTS> <LINK_LIBRARIES> ${CMAKE_END_TEMP_FILE}")
- set(CMAKE_${lang}_CREATE_SHARED_MODULE "${CMAKE_${lang}_CREATE_SHARED_LIBRARY}")
- set(CMAKE_${lang}_COMPILER_LINKER_OPTION_FLAG_EXECUTABLE "/link")
- set(CMAKE_${lang}_LINK_EXECUTABLE
- "<CMAKE_${lang}_COMPILER> ${CMAKE_CL_NOLOGO} ${CMAKE_START_TEMP_FILE} <FLAGS> /Fe<TARGET> <OBJECTS> /link /implib:<TARGET_IMPLIB> /pdb:<TARGET_PDB> <CMAKE_${lang}_LINK_FLAGS> <LINK_FLAGS> <LINK_LIBRARIES>${CMAKE_END_TEMP_FILE}")
- set(CMAKE_${lang}_FLAGS_INIT "/DWIN32 /D_WINDOWS /W3 /Zm1000${_FLAGS_${lang}}")
- set(CMAKE_${lang}_FLAGS_DEBUG_INIT "/D_DEBUG /MDd /Zi /Od /RTC1")
- set(CMAKE_${lang}_FLAGS_MINSIZEREL_INIT "/DNDEBUG /MD /O1")
- set(CMAKE_${lang}_FLAGS_RELEASE_INIT "/DNDEBUG /MD /O2")
- set(CMAKE_${lang}_FLAGS_RELWITHDEBINFO_INIT "/DNDEBUG /MD /Zi /O2")
-
- if(_INTEL_COMPILER_SUPPORTS_MANIFEST)
- set(CMAKE_${lang}_LINK_EXECUTABLE
- "<CMAKE_COMMAND> -E vs_link_exe ${CMAKE_${lang}_LINK_EXECUTABLE}")
- set(CMAKE_${lang}_CREATE_SHARED_LIBRARY
- "<CMAKE_COMMAND> -E vs_link_dll ${CMAKE_${lang}_CREATE_SHARED_LIBRARY}")
- set(CMAKE_${lang}_CREATE_SHARED_MODULE
- "<CMAKE_COMMAND> -E vs_link_dll ${CMAKE_${lang}_CREATE_SHARED_MODULE}")
- endif()
+ __windows_compiler_msvc(${lang})
+ string(REPLACE "<CMAKE_LINKER> /lib" "lib" CMAKE_${lang}_CREATE_STATIC_LIBRARY "${CMAKE_${lang}_CREATE_STATIC_LIBRARY}")
+ foreach(rule CREATE_SHARED_LIBRARY CREATE_SHARED_MODULE LINK_EXECUTABLE)
+ string(REPLACE "<CMAKE_LINKER>" "xilink" CMAKE_${lang}_${rule} "${CMAKE_${lang}_${rule}}")
+ endforeach()
endmacro()
diff --git a/Modules/Platform/Windows-MSVC.cmake b/Modules/Platform/Windows-MSVC.cmake
index 6e02e4a..e29aaf4 100644
--- a/Modules/Platform/Windows-MSVC.cmake
+++ b/Modules/Platform/Windows-MSVC.cmake
@@ -65,7 +65,13 @@ else()
endif()
if(NOT MSVC_VERSION)
- if(CMAKE_C_COMPILER_VERSION)
+ if(CMAKE_C_SIMULATE_VERSION)
+ set(_compiler_version ${CMAKE_C_SIMULATE_VERSION})
+ elseif(CMAKE_CXX_SIMULATE_VERSION)
+ set(_compiler_version ${CMAKE_CXX_SIMULATE_VERSION})
+ elseif(CMAKE_Fortran_SIMULATE_VERSION)
+ set(_compiler_version ${CMAKE_Fortran_SIMULATE_VERSION})
+ elseif(CMAKE_C_COMPILER_VERSION)
set(_compiler_version ${CMAKE_C_COMPILER_VERSION})
else()
set(_compiler_version ${CMAKE_CXX_COMPILER_VERSION})
@@ -178,12 +184,15 @@ set(CMAKE_CXX_STANDARD_LIBRARIES_INIT "${CMAKE_C_STANDARD_LIBRARIES_INIT}")
# executable linker flags
set (CMAKE_LINK_DEF_FILE_FLAG "/DEF:")
# set the machine type
-set(_MACHINE_ARCH_FLAG ${MSVC_C_ARCHITECTURE_ID})
-if(NOT _MACHINE_ARCH_FLAG)
- set(_MACHINE_ARCH_FLAG ${MSVC_CXX_ARCHITECTURE_ID})
+if(MSVC_C_ARCHITECTURE_ID)
+ set(_MACHINE_ARCH_FLAG "/machine:${MSVC_C_ARCHITECTURE_ID}")
+elseif(MSVC_CXX_ARCHITECTURE_ID)
+ set(_MACHINE_ARCH_FLAG "/machine:${MSVC_CXX_ARCHITECTURE_ID}")
+elseif(MSVC_Fortran_ARCHITECTURE_ID)
+ set(_MACHINE_ARCH_FLAG "/machine:${MSVC_Fortran_ARCHITECTURE_ID}")
endif()
-set (CMAKE_EXE_LINKER_FLAGS_INIT
- "${CMAKE_EXE_LINKER_FLAGS_INIT} /machine:${_MACHINE_ARCH_FLAG}")
+set(CMAKE_EXE_LINKER_FLAGS_INIT "${CMAKE_EXE_LINKER_FLAGS_INIT} ${_MACHINE_ARCH_FLAG}")
+unset(_MACHINE_ARCH_FLAG)
# add /debug and /INCREMENTAL:YES to DEBUG and RELWITHDEBINFO also add pdbtype
# on versions that support it
@@ -220,7 +229,7 @@ set (CMAKE_MODULE_LINKER_FLAGS_RELEASE_INIT ${CMAKE_EXE_LINKER_FLAGS_RELEASE_INI
set (CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL_INIT ${CMAKE_EXE_LINKER_FLAGS_MINSIZEREL_INIT})
macro(__windows_compiler_msvc lang)
- if(NOT "${CMAKE_${lang}_COMPILER_VERSION}" VERSION_LESS 14)
+ if(NOT MSVC_VERSION LESS 1400)
# for 2005 make sure the manifest is put in the dll with mt
set(_CMAKE_VS_LINK_DLL "<CMAKE_COMMAND> -E vs_link_dll ")
set(_CMAKE_VS_LINK_EXE "<CMAKE_COMMAND> -E vs_link_exe ")
diff --git a/Modules/Platform/WindowsPaths.cmake b/Modules/Platform/WindowsPaths.cmake
index fc921d7..3240c23 100644
--- a/Modules/Platform/WindowsPaths.cmake
+++ b/Modules/Platform/WindowsPaths.cmake
@@ -73,11 +73,19 @@ get_filename_component(_CMAKE_INSTALL_DIR "${CMAKE_ROOT}" PATH)
get_filename_component(_CMAKE_INSTALL_DIR "${_CMAKE_INSTALL_DIR}" PATH)
list(APPEND CMAKE_SYSTEM_PREFIX_PATH "${_CMAKE_INSTALL_DIR}")
-# Add other locations.
-list(APPEND CMAKE_SYSTEM_PREFIX_PATH
- # Project install destination.
- "${CMAKE_INSTALL_PREFIX}"
- )
+if (NOT CMAKE_FIND_NO_INSTALL_PREFIX)
+ # Add other locations.
+ list(APPEND CMAKE_SYSTEM_PREFIX_PATH
+ # Project install destination.
+ "${CMAKE_INSTALL_PREFIX}"
+ )
+ if (CMAKE_STAGING_PREFIX)
+ list(APPEND CMAKE_SYSTEM_PREFIX_PATH
+ # User-supplied staging prefix.
+ "${CMAKE_STAGING_PREFIX}"
+ )
+ endif()
+endif()
if(CMAKE_CROSSCOMPILING AND NOT CMAKE_HOST_SYSTEM_NAME MATCHES "Windows")
# MinGW (useful when cross compiling from linux with CMAKE_FIND_ROOT_PATH set)
@@ -88,8 +96,17 @@ list(APPEND CMAKE_SYSTEM_INCLUDE_PATH
)
# mingw can also link against dlls which can also be in /bin, so list this too
+if (NOT CMAKE_FIND_NO_INSTALL_PREFIX)
+ list(APPEND CMAKE_SYSTEM_LIBRARY_PATH
+ "${CMAKE_INSTALL_PREFIX}/bin"
+ )
+ if (CMAKE_STAGING_PREFIX)
+ list(APPEND CMAKE_SYSTEM_LIBRARY_PATH
+ "${CMAKE_STAGING_PREFIX}/bin"
+ )
+ endif()
+endif()
list(APPEND CMAKE_SYSTEM_LIBRARY_PATH
- "${CMAKE_INSTALL_PREFIX}/bin"
"${_CMAKE_INSTALL_DIR}/bin"
/bin
)
diff --git a/Modules/ProcessorCount.cmake b/Modules/ProcessorCount.cmake
index 0d1dfda..0fe0b32 100644
--- a/Modules/ProcessorCount.cmake
+++ b/Modules/ProcessorCount.cmake
@@ -1,30 +1,41 @@
-# - ProcessorCount(var)
+#.rst:
+# ProcessorCount
+# --------------
+#
+# ProcessorCount(var)
+#
# Determine the number of processors/cores and save value in ${var}
#
-# Sets the variable named ${var} to the number of physical cores available on
-# the machine if the information can be determined. Otherwise it is set to 0.
-# Currently this functionality is implemented for AIX, cygwin, FreeBSD, HPUX,
-# IRIX, Linux, Mac OS X, QNX, Sun and Windows.
+# Sets the variable named ${var} to the number of physical cores
+# available on the machine if the information can be determined.
+# Otherwise it is set to 0. Currently this functionality is implemented
+# for AIX, cygwin, FreeBSD, HPUX, IRIX, Linux, Mac OS X, QNX, Sun and
+# Windows.
#
# This function is guaranteed to return a positive integer (>=1) if it
-# succeeds. It returns 0 if there's a problem determining the processor count.
+# succeeds. It returns 0 if there's a problem determining the processor
+# count.
#
# Example use, in a ctest -S dashboard script:
#
-# include(ProcessorCount)
-# ProcessorCount(N)
-# if(NOT N EQUAL 0)
-# set(CTEST_BUILD_FLAGS -j${N})
-# set(ctest_test_args ${ctest_test_args} PARALLEL_LEVEL ${N})
-# endif()
+# ::
+#
+# include(ProcessorCount)
+# ProcessorCount(N)
+# if(NOT N EQUAL 0)
+# set(CTEST_BUILD_FLAGS -j${N})
+# set(ctest_test_args ${ctest_test_args} PARALLEL_LEVEL ${N})
+# endif()
#
-# This function is intended to offer an approximation of the value of the
-# number of compute cores available on the current machine, such that you
-# may use that value for parallel building and parallel testing. It is meant
-# to help utilize as much of the machine as seems reasonable. Of course,
-# knowledge of what else might be running on the machine simultaneously
-# should be used when deciding whether to request a machine's full capacity
-# all for yourself.
+#
+#
+# This function is intended to offer an approximation of the value of
+# the number of compute cores available on the current machine, such
+# that you may use that value for parallel building and parallel
+# testing. It is meant to help utilize as much of the machine as seems
+# reasonable. Of course, knowledge of what else might be running on the
+# machine simultaneously should be used when deciding whether to request
+# a machine's full capacity all for yourself.
# A more reliable way might be to compile a small C program that uses the CPUID
# instruction, but that again requires compiler support or compiling assembler
@@ -171,6 +182,20 @@ function(ProcessorCount var)
endif()
endif()
+ if(NOT count)
+ # Haiku
+ find_program(ProcessorCount_cmd_sysinfo sysinfo)
+ if(ProcessorCount_cmd_sysinfo)
+ execute_process(COMMAND ${ProcessorCount_cmd_sysinfo}
+ ERROR_QUIET
+ OUTPUT_STRIP_TRAILING_WHITESPACE
+ OUTPUT_VARIABLE sysinfo_X_output)
+ string(REGEX MATCHALL "\nCPU #[0-9]+:" procs "\n${sysinfo_X_output}")
+ list(LENGTH procs count)
+ #message("ProcessorCount: trying sysinfo '${ProcessorCount_cmd_sysinfo}'")
+ endif()
+ endif()
+
# Since cygwin builds of CMake do not define WIN32 anymore, but they still
# run on Windows, and will still have this env var defined:
#
diff --git a/Modules/Qt4ConfigDependentSettings.cmake b/Modules/Qt4ConfigDependentSettings.cmake
index 88dc8ec..03fb844 100644
--- a/Modules/Qt4ConfigDependentSettings.cmake
+++ b/Modules/Qt4ConfigDependentSettings.cmake
@@ -1,3 +1,9 @@
+#.rst:
+# Qt4ConfigDependentSettings
+# --------------------------
+#
+#
+#
# This file is included by FindQt4.cmake, don't include it directly.
#=============================================================================
diff --git a/Modules/Qt4Macros.cmake b/Modules/Qt4Macros.cmake
index f1aedd7..5ada030 100644
--- a/Modules/Qt4Macros.cmake
+++ b/Modules/Qt4Macros.cmake
@@ -1,3 +1,9 @@
+#.rst:
+# Qt4Macros
+# ---------
+#
+#
+#
# This file is included by FindQt4.cmake, don't include it directly.
#=============================================================================
@@ -97,7 +103,7 @@ endmacro()
# helper macro to set up a moc rule
-macro (QT4_CREATE_MOC_COMMAND infile outfile moc_flags moc_options moc_target)
+function (QT4_CREATE_MOC_COMMAND infile outfile moc_flags moc_options moc_target)
# For Windows, create a parameters file to work around command line length limit
# Pass the parameters in a file. Set the working directory to
# be that containing the parameters file and reference it by
@@ -114,6 +120,7 @@ macro (QT4_CREATE_MOC_COMMAND infile outfile moc_flags moc_options moc_target)
string (REPLACE ";" "\n" _moc_parameters "${_moc_parameters}")
if(moc_target)
+ set (_moc_parameters_file ${_moc_parameters_file}$<$<BOOL:$<CONFIGURATION>>:_$<CONFIGURATION>>)
set(targetincludes "$<TARGET_PROPERTY:${moc_target},INCLUDE_DIRECTORIES>")
set(targetdefines "$<TARGET_PROPERTY:${moc_target},COMPILE_DEFINITIONS>")
@@ -133,11 +140,11 @@ macro (QT4_CREATE_MOC_COMMAND infile outfile moc_flags moc_options moc_target)
set(_moc_extra_parameters_file @${_moc_parameters_file})
add_custom_command(OUTPUT ${outfile}
- COMMAND ${QT_MOC_EXECUTABLE} ${_moc_extra_parameters_file}
+ COMMAND Qt4::moc ${_moc_extra_parameters_file}
DEPENDS ${infile}
${_moc_working_dir}
VERBATIM)
-endmacro ()
+endfunction ()
macro (QT4_GENERATE_MOC infile outfile )
@@ -184,7 +191,7 @@ macro (QT4_WRAP_UI outfiles )
get_filename_component(infile ${it} ABSOLUTE)
set(outfile ${CMAKE_CURRENT_BINARY_DIR}/ui_${outfile}.h)
add_custom_command(OUTPUT ${outfile}
- COMMAND ${QT_UIC_EXECUTABLE}
+ COMMAND Qt4::uic
ARGS ${ui_options} -o ${outfile} ${infile}
MAIN_DEPENDENCY ${infile} VERBATIM)
set(${outfiles} ${${outfiles}} ${outfile})
@@ -231,7 +238,7 @@ macro (QT4_ADD_RESOURCES outfiles )
endif()
add_custom_command(OUTPUT ${outfile}
- COMMAND ${QT_RCC_EXECUTABLE}
+ COMMAND Qt4::rcc
ARGS ${rcc_options} -name ${outfilename} -o ${outfile} ${infile}
MAIN_DEPENDENCY ${infile}
DEPENDS ${_RC_DEPENDS} "${out_depends}" VERBATIM)
@@ -265,7 +272,7 @@ macro(QT4_ADD_DBUS_INTERFACE _sources _interface _basename)
endif()
add_custom_command(OUTPUT "${_impl}" "${_header}"
- COMMAND ${QT_DBUSXML2CPP_EXECUTABLE} ${_params} -p ${_basename} ${_infile}
+ COMMAND Qt4::qdbusxml2cpp ${_params} -p ${_basename} ${_infile}
DEPENDS ${_infile} VERBATIM)
set_source_files_properties("${_impl}" PROPERTIES SKIP_AUTOMOC TRUE)
@@ -311,7 +318,7 @@ macro(QT4_GENERATE_DBUS_INTERFACE _header) # _customName OPTIONS -some -options
endif ()
add_custom_command(OUTPUT ${_target}
- COMMAND ${QT_DBUSCPP2XML_EXECUTABLE} ${_qt4_dbus_options} ${_in_file} -o ${_target}
+ COMMAND Qt4::qdbuscpp2xml ${_qt4_dbus_options} ${_in_file} -o ${_target}
DEPENDS ${_in_file} VERBATIM
)
endmacro()
@@ -335,12 +342,12 @@ macro(QT4_ADD_DBUS_ADAPTOR _sources _xml_file _include _parentClass) # _optional
if(_optionalClassName)
add_custom_command(OUTPUT "${_impl}" "${_header}"
- COMMAND ${QT_DBUSXML2CPP_EXECUTABLE} -m -a ${_basename} -c ${_optionalClassName} -i ${_include} -l ${_parentClass} ${_infile}
+ COMMAND Qt4::qdbusxml2cpp -m -a ${_basename} -c ${_optionalClassName} -i ${_include} -l ${_parentClass} ${_infile}
DEPENDS ${_infile} VERBATIM
)
else()
add_custom_command(OUTPUT "${_impl}" "${_header}"
- COMMAND ${QT_DBUSXML2CPP_EXECUTABLE} -m -a ${_basename} -i ${_include} -l ${_parentClass} ${_infile}
+ COMMAND Qt4::qdbusxml2cpp -m -a ${_basename} -i ${_include} -l ${_parentClass} ${_infile}
DEPENDS ${_infile} VERBATIM
)
endif()
@@ -355,15 +362,7 @@ endmacro()
macro(QT4_AUTOMOC)
if(NOT CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 2.8.11)
- if(CMAKE_WARN_DEPRECATED)
- set(messageType WARNING)
- endif()
- if(CMAKE_ERROR_DEPRECATED)
- set(messageType FATAL_ERROR)
- endif()
- if(messageType)
- message(${messageType} "The qt4_automoc macro is obsolete. Use the CMAKE_AUTOMOC feature instead.")
- endif()
+ message(DEPRECATION "The qt4_automoc macro is obsolete. Use the CMAKE_AUTOMOC feature instead.")
endif()
QT4_GET_MOC_FLAGS(_moc_INCS)
@@ -434,18 +433,19 @@ macro(QT4_CREATE_TRANSLATION _qm_files)
set(_ts_pro ${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${_ts_name}_lupdate.pro)
set(_pro_srcs)
foreach(_pro_src ${_my_sources})
- set(_pro_srcs "${_pro_srcs} \"${_pro_src}\"")
+ set(_pro_srcs "${_pro_srcs} \\\n \"${_pro_src}\"")
endforeach()
set(_pro_includes)
get_directory_property(_inc_DIRS INCLUDE_DIRECTORIES)
+ list(REMOVE_DUPLICATES _inc_DIRS)
foreach(_pro_include ${_inc_DIRS})
get_filename_component(_abs_include "${_pro_include}" ABSOLUTE)
- set(_pro_includes "${_pro_includes} \"${_abs_include}\"")
+ set(_pro_includes "${_pro_includes} \\\n \"${_abs_include}\"")
endforeach()
- file(WRITE ${_ts_pro} "SOURCES = ${_pro_srcs}\nINCLUDEPATH = ${_pro_includes}\n")
+ file(WRITE ${_ts_pro} "SOURCES =${_pro_srcs}\nINCLUDEPATH =${_pro_includes}\n")
endif()
add_custom_command(OUTPUT ${_ts_file}
- COMMAND ${QT_LUPDATE_EXECUTABLE}
+ COMMAND Qt4::lupdate
ARGS ${_lupdate_options} ${_ts_pro} ${_my_dirs} -ts ${_ts_file}
DEPENDS ${_my_sources} ${_ts_pro} VERBATIM)
endforeach()
@@ -466,7 +466,7 @@ macro(QT4_ADD_TRANSLATION _qm_files)
endif()
add_custom_command(OUTPUT ${qm}
- COMMAND ${QT_LRELEASE_EXECUTABLE}
+ COMMAND Qt4::lrelease
ARGS ${_abs_FILE} -qm ${qm}
DEPENDS ${_abs_FILE} VERBATIM
)
@@ -476,15 +476,7 @@ endmacro()
function(qt4_use_modules _target _link_type)
if(NOT CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 2.8.11)
- if(CMAKE_WARN_DEPRECATED)
- set(messageType WARNING)
- endif()
- if(CMAKE_ERROR_DEPRECATED)
- set(messageType FATAL_ERROR)
- endif()
- if(messageType)
- message(${messageType} "The qt4_use_modules function is obsolete. Use target_link_libraries with IMPORTED targets instead.")
- endif()
+ message(DEPRECATION "The qt4_use_modules function is obsolete. Use target_link_libraries with IMPORTED targets instead.")
endif()
if ("${_link_type}" STREQUAL "LINK_PUBLIC" OR "${_link_type}" STREQUAL "LINK_PRIVATE")
set(modules ${ARGN})
diff --git a/Modules/SelectLibraryConfigurations.cmake b/Modules/SelectLibraryConfigurations.cmake
index 297e1d3..d710856 100644
--- a/Modules/SelectLibraryConfigurations.cmake
+++ b/Modules/SelectLibraryConfigurations.cmake
@@ -1,20 +1,28 @@
+#.rst:
+# SelectLibraryConfigurations
+# ---------------------------
+#
+#
+#
# select_library_configurations( basename )
#
-# This macro takes a library base name as an argument, and will choose good
-# values for basename_LIBRARY, basename_LIBRARIES, basename_LIBRARY_DEBUG, and
-# basename_LIBRARY_RELEASE depending on what has been found and set. If only
-# basename_LIBRARY_RELEASE is defined, basename_LIBRARY will be set to the
-# release value, and basename_LIBRARY_DEBUG will be set to
-# basename_LIBRARY_DEBUG-NOTFOUND. If only basename_LIBRARY_DEBUG is defined,
-# then basename_LIBRARY will take the debug value, and basename_LIBRARY_RELEASE
-# will be set to basename_LIBRARY_RELEASE-NOTFOUND.
+# This macro takes a library base name as an argument, and will choose
+# good values for basename_LIBRARY, basename_LIBRARIES,
+# basename_LIBRARY_DEBUG, and basename_LIBRARY_RELEASE depending on what
+# has been found and set. If only basename_LIBRARY_RELEASE is defined,
+# basename_LIBRARY will be set to the release value, and
+# basename_LIBRARY_DEBUG will be set to basename_LIBRARY_DEBUG-NOTFOUND.
+# If only basename_LIBRARY_DEBUG is defined, then basename_LIBRARY will
+# take the debug value, and basename_LIBRARY_RELEASE will be set to
+# basename_LIBRARY_RELEASE-NOTFOUND.
#
-# If the generator supports configuration types, then basename_LIBRARY and
-# basename_LIBRARIES will be set with debug and optimized flags specifying the
-# library to be used for the given configuration. If no build type has been set
-# or the generator in use does not support configuration types, then
-# basename_LIBRARY and basename_LIBRARIES will take only the release value, or
-# the debug value if the release one is not set.
+# If the generator supports configuration types, then basename_LIBRARY
+# and basename_LIBRARIES will be set with debug and optimized flags
+# specifying the library to be used for the given configuration. If no
+# build type has been set or the generator in use does not support
+# configuration types, then basename_LIBRARY and basename_LIBRARIES will
+# take only the release value, or the debug value if the release one is
+# not set.
#=============================================================================
# Copyright 2009 Will Dicharry <wdicharry@stellarscience.com>
diff --git a/Modules/SquishTestScript.cmake b/Modules/SquishTestScript.cmake
index f794b3e..d648749 100644
--- a/Modules/SquishTestScript.cmake
+++ b/Modules/SquishTestScript.cmake
@@ -1,13 +1,18 @@
+#.rst:
+# SquishTestScript
+# ----------------
#
-# This script launches a GUI test using Squish. You should not call
-# the script directly; instead, you should access it via the
-# SQUISH_ADD_TEST macro that is defined in FindSquish.cmake.
#
-# This script starts the Squish server, launches the test on the
-# client, and finally stops the squish server. If any of these steps
-# fail (including if the tests do not pass) then a fatal error is
-# raised.
#
+#
+#
+# This script launches a GUI test using Squish. You should not call the
+# script directly; instead, you should access it via the SQUISH_ADD_TEST
+# macro that is defined in FindSquish.cmake.
+#
+# This script starts the Squish server, launches the test on the client,
+# and finally stops the squish server. If any of these steps fail
+# (including if the tests do not pass) then a fatal error is raised.
#=============================================================================
# Copyright 2008-2009 Kitware, Inc.
diff --git a/Modules/TestBigEndian.cmake b/Modules/TestBigEndian.cmake
index 193df8f..6f32b08 100644
--- a/Modules/TestBigEndian.cmake
+++ b/Modules/TestBigEndian.cmake
@@ -1,8 +1,15 @@
-# - Define macro to determine endian type
+#.rst:
+# TestBigEndian
+# -------------
+#
+# Define macro to determine endian type
+#
# Check if the system is big endian or little endian
-# TEST_BIG_ENDIAN(VARIABLE)
-# VARIABLE - variable to store the result to
#
+# ::
+#
+# TEST_BIG_ENDIAN(VARIABLE)
+# VARIABLE - variable to store the result to
#=============================================================================
# Copyright 2002-2009 Kitware, Inc.
@@ -51,7 +58,7 @@ macro(TEST_BIG_ENDIAN VARIABLE)
configure_file("${CMAKE_ROOT}/Modules/TestEndianess.c.in"
"${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/TestEndianess.c"
- IMMEDIATE @ONLY)
+ @ONLY)
file(READ "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/TestEndianess.c"
TEST_ENDIANESS_FILE_CONTENT)
diff --git a/Modules/TestCXXAcceptsFlag.cmake b/Modules/TestCXXAcceptsFlag.cmake
index 2694737..c814187 100644
--- a/Modules/TestCXXAcceptsFlag.cmake
+++ b/Modules/TestCXXAcceptsFlag.cmake
@@ -1,11 +1,19 @@
-# - Test CXX compiler for a flag
-# Check if the CXX compiler accepts a flag
+#.rst:
+# TestCXXAcceptsFlag
+# ------------------
#
-# Macro CHECK_CXX_ACCEPTS_FLAG(FLAGS VARIABLE) -
-# checks if the function exists
-# FLAGS - the flags to try
-# VARIABLE - variable to store the result
+# Deprecated. See :module:`CheckCXXCompilerFlag`.
#
+# Check if the CXX compiler accepts a flag.
+#
+# .. code-block:: cmake
+#
+# CHECK_CXX_ACCEPTS_FLAG(<flags> <variable>)
+#
+# ``<flags>``
+# the flags to try
+# ``<variable>``
+# variable to store the result
#=============================================================================
# Copyright 2002-2009 Kitware, Inc.
diff --git a/Modules/TestForANSIForScope.cmake b/Modules/TestForANSIForScope.cmake
index 9b4d51c..de4b1f1 100644
--- a/Modules/TestForANSIForScope.cmake
+++ b/Modules/TestForANSIForScope.cmake
@@ -1,7 +1,15 @@
-# - Check for ANSI for scope support
-# Check if the compiler restricts the scope of variables declared in a for-init-statement to the loop body.
-# CMAKE_NO_ANSI_FOR_SCOPE - holds result
+#.rst:
+# TestForANSIForScope
+# -------------------
#
+# Check for ANSI for scope support
+#
+# Check if the compiler restricts the scope of variables declared in a
+# for-init-statement to the loop body.
+#
+# ::
+#
+# CMAKE_NO_ANSI_FOR_SCOPE - holds result
#=============================================================================
# Copyright 2002-2009 Kitware, Inc.
diff --git a/Modules/TestForANSIStreamHeaders.cmake b/Modules/TestForANSIStreamHeaders.cmake
index 060b3a4..c13000b 100644
--- a/Modules/TestForANSIStreamHeaders.cmake
+++ b/Modules/TestForANSIStreamHeaders.cmake
@@ -1,7 +1,15 @@
-# - Test for compiler support of ANSI stream headers iostream, etc.
-# check if the compiler supports the standard ANSI iostream header (without the .h)
-# CMAKE_NO_ANSI_STREAM_HEADERS - defined by the results
+#.rst:
+# TestForANSIStreamHeaders
+# ------------------------
#
+# Test for compiler support of ANSI stream headers iostream, etc.
+#
+# check if the compiler supports the standard ANSI iostream header
+# (without the .h)
+#
+# ::
+#
+# CMAKE_NO_ANSI_STREAM_HEADERS - defined by the results
#=============================================================================
# Copyright 2002-2009 Kitware, Inc.
diff --git a/Modules/TestForSSTREAM.cmake b/Modules/TestForSSTREAM.cmake
index db39c1e..8977583 100644
--- a/Modules/TestForSSTREAM.cmake
+++ b/Modules/TestForSSTREAM.cmake
@@ -1,7 +1,14 @@
-# - Test for compiler support of ANSI sstream header
+#.rst:
+# TestForSSTREAM
+# --------------
+#
+# Test for compiler support of ANSI sstream header
+#
# check if the compiler supports the standard ANSI sstream header
-# CMAKE_NO_ANSI_STRING_STREAM - defined by the results
#
+# ::
+#
+# CMAKE_NO_ANSI_STRING_STREAM - defined by the results
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
diff --git a/Modules/TestForSTDNamespace.cmake b/Modules/TestForSTDNamespace.cmake
index 6a75644..e43b75d 100644
--- a/Modules/TestForSTDNamespace.cmake
+++ b/Modules/TestForSTDNamespace.cmake
@@ -1,7 +1,14 @@
-# - Test for std:: namespace support
+#.rst:
+# TestForSTDNamespace
+# -------------------
+#
+# Test for std:: namespace support
+#
# check if the compiler supports std:: on stl classes
-# CMAKE_NO_STD_NAMESPACE - defined by the results
#
+# ::
+#
+# CMAKE_NO_STD_NAMESPACE - defined by the results
#=============================================================================
# Copyright 2002-2009 Kitware, Inc.
diff --git a/Modules/UseEcos.cmake b/Modules/UseEcos.cmake
index 0c4fee4..3bd92ca 100644
--- a/Modules/UseEcos.cmake
+++ b/Modules/UseEcos.cmake
@@ -1,20 +1,29 @@
-# - This module defines variables and macros required to build eCos application.
+#.rst:
+# UseEcos
+# -------
+#
+# This module defines variables and macros required to build eCos application.
+#
# This file contains the following macros:
# ECOS_ADD_INCLUDE_DIRECTORIES() - add the eCos include dirs
-# ECOS_ADD_EXECUTABLE(name source1 ... sourceN ) - create an eCos executable
-# ECOS_ADJUST_DIRECTORY(VAR source1 ... sourceN ) - adjusts the path of the source files and puts the result into VAR
+# ECOS_ADD_EXECUTABLE(name source1 ... sourceN ) - create an eCos
+# executable ECOS_ADJUST_DIRECTORY(VAR source1 ... sourceN ) - adjusts
+# the path of the source files and puts the result into VAR
+#
+# Macros for selecting the toolchain: ECOS_USE_ARM_ELF_TOOLS() - enable
+# the ARM ELF toolchain for the directory where it is called
+# ECOS_USE_I386_ELF_TOOLS() - enable the i386 ELF toolchain for the
+# directory where it is called ECOS_USE_PPC_EABI_TOOLS() - enable the
+# PowerPC toolchain for the directory where it is called
+#
+# It contains the following variables: ECOS_DEFINITIONS
+# ECOSCONFIG_EXECUTABLE ECOS_CONFIG_FILE - defaults to ecos.ecc, if your
+# eCos configuration file has a different name, adjust this variable for
+# internal use only:
#
-# Macros for selecting the toolchain:
-# ECOS_USE_ARM_ELF_TOOLS() - enable the ARM ELF toolchain for the directory where it is called
-# ECOS_USE_I386_ELF_TOOLS() - enable the i386 ELF toolchain for the directory where it is called
-# ECOS_USE_PPC_EABI_TOOLS() - enable the PowerPC toolchain for the directory where it is called
+# ::
#
-# It contains the following variables:
-# ECOS_DEFINITIONS
-# ECOSCONFIG_EXECUTABLE
-# ECOS_CONFIG_FILE - defaults to ecos.ecc, if your eCos configuration file has a different name, adjust this variable
-# for internal use only:
-# ECOS_ADD_TARGET_LIB
+# ECOS_ADD_TARGET_LIB
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
diff --git a/Modules/UseJava.cmake b/Modules/UseJava.cmake
index c0fd07c..654b4d0 100644
--- a/Modules/UseJava.cmake
+++ b/Modules/UseJava.cmake
@@ -1,193 +1,311 @@
-# - Use Module for Java
-# This file provides functions for Java. It is assumed that FindJava.cmake
-# has already been loaded. See FindJava.cmake for information on how to
-# load Java into your CMake project.
-#
-# add_jar(target_name
-# [SOURCES] source1 [source2 ...] [resource1 ...]
-# [INCLUDE_JARS jar1 [jar2 ...]]
-# [ENTRY_POINT entry]
-# [VERSION version]
-# [OUTPUT_NAME name]
-# [OUTPUT_DIR dir]
-# )
-#
-# This command creates a <target_name>.jar. It compiles the given source files
-# (source) and adds the given resource files (resource) to the jar file. If
-# only resource files are given then just a jar file is created. The list of
-# include jars are added to the classpath when compiling the java sources and
-# also to the dependencies of the target. INCLUDE_JARS also accepts other
-# target names created by add_jar. For backwards compatibility, jar files
-# listed as sources are ignored (as they have been since the first version of
-# this module).
+#.rst:
+# UseJava
+# -------
+#
+# Use Module for Java
+#
+# This file provides functions for Java. It is assumed that
+# FindJava.cmake has already been loaded. See FindJava.cmake for
+# information on how to load Java into your CMake project.
+#
+# ::
+#
+# add_jar(target_name
+# [SOURCES] source1 [source2 ...] [resource1 ...]
+# [INCLUDE_JARS jar1 [jar2 ...]]
+# [ENTRY_POINT entry]
+# [VERSION version]
+# [OUTPUT_NAME name]
+# [OUTPUT_DIR dir]
+# )
+#
+# This command creates a <target_name>.jar. It compiles the given
+# source files (source) and adds the given resource files (resource) to
+# the jar file. If only resource files are given then just a jar file
+# is created. The list of include jars are added to the classpath when
+# compiling the java sources and also to the dependencies of the target.
+# INCLUDE_JARS also accepts other target names created by add_jar. For
+# backwards compatibility, jar files listed as sources are ignored (as
+# they have been since the first version of this module).
#
# The default OUTPUT_DIR can also be changed by setting the variable
# CMAKE_JAVA_TARGET_OUTPUT_DIR.
#
# Additional instructions:
-# To add compile flags to the target you can set these flags with
-# the following variable:
#
-# set(CMAKE_JAVA_COMPILE_FLAGS -nowarn)
+# ::
+#
+# To add compile flags to the target you can set these flags with
+# the following variable:
+#
+#
+#
+# ::
+#
+# set(CMAKE_JAVA_COMPILE_FLAGS -nowarn)
+#
+#
+#
+# ::
+#
+# To add a path or a jar file to the class path you can do this
+# with the CMAKE_JAVA_INCLUDE_PATH variable.
+#
+#
+#
+# ::
+#
+# set(CMAKE_JAVA_INCLUDE_PATH /usr/share/java/shibboleet.jar)
+#
+#
+#
+# ::
+#
+# To use a different output name for the target you can set it with:
+#
+#
+#
+# ::
+#
+# add_jar(foobar foobar.java OUTPUT_NAME shibboleet.jar)
+#
+#
+#
+# ::
+#
+# To use a different output directory than CMAKE_CURRENT_BINARY_DIR
+# you can set it with:
+#
+#
+#
+# ::
+#
+# add_jar(foobar foobar.java OUTPUT_DIR ${PROJECT_BINARY_DIR}/bin)
+#
+#
+#
+# ::
+#
+# To define an entry point in your jar you can set it with the ENTRY_POINT
+# named argument:
+#
+#
+#
+# ::
+#
+# add_jar(example ENTRY_POINT com/examples/MyProject/Main)
+#
+#
+#
+# ::
+#
+# To define a custom manifest for the jar, you can set it with the manifest
+# named argument:
+#
+#
+#
+# ::
+#
+# add_jar(example MANIFEST /path/to/manifest)
#
-# To add a path or a jar file to the class path you can do this
-# with the CMAKE_JAVA_INCLUDE_PATH variable.
#
-# set(CMAKE_JAVA_INCLUDE_PATH /usr/share/java/shibboleet.jar)
#
-# To use a different output name for the target you can set it with:
+# ::
#
-# add_jar(foobar foobar.java OUTPUT_NAME shibboleet.jar)
+# To add a VERSION to the target output name you can set it using
+# the VERSION named argument to add_jar. This will create a jar file with the
+# name shibboleet-1.0.0.jar and will create a symlink shibboleet.jar
+# pointing to the jar with the version information.
#
-# To use a different output directory than CMAKE_CURRENT_BINARY_DIR
-# you can set it with:
#
-# add_jar(foobar foobar.java OUTPUT_DIR ${PROJECT_BINARY_DIR}/bin)
#
-# To define an entry point in your jar you can set it with the ENTRY_POINT
-# named argument:
+# ::
#
-# add_jar(example ENTRY_POINT com/examples/MyProject/Main)
+# add_jar(shibboleet shibbotleet.java VERSION 1.2.0)
#
-# To add a VERSION to the target output name you can set it using
-# the VERSION named argument to add_jar. This will create a jar file with the
-# name shibboleet-1.0.0.jar and will create a symlink shibboleet.jar
-# pointing to the jar with the version information.
#
-# add_jar(shibboleet shibbotleet.java VERSION 1.2.0)
#
-# If the target is a JNI library, utilize the following commands to
-# create a JNI symbolic link:
+# ::
#
-# set(CMAKE_JNI_TARGET TRUE)
-# add_jar(shibboleet shibbotleet.java VERSION 1.2.0)
-# install_jar(shibboleet ${LIB_INSTALL_DIR}/shibboleet)
-# install_jni_symlink(shibboleet ${JAVA_LIB_INSTALL_DIR})
+# If the target is a JNI library, utilize the following commands to
+# create a JNI symbolic link:
#
-# If a single target needs to produce more than one jar from its
-# java source code, to prevent the accumulation of duplicate class
-# files in subsequent jars, set/reset CMAKE_JAR_CLASSES_PREFIX prior
-# to calling the add_jar() function:
#
-# set(CMAKE_JAR_CLASSES_PREFIX com/redhat/foo)
-# add_jar(foo foo.java)
#
-# set(CMAKE_JAR_CLASSES_PREFIX com/redhat/bar)
-# add_jar(bar bar.java)
+# ::
+#
+# set(CMAKE_JNI_TARGET TRUE)
+# add_jar(shibboleet shibbotleet.java VERSION 1.2.0)
+# install_jar(shibboleet ${LIB_INSTALL_DIR}/shibboleet)
+# install_jni_symlink(shibboleet ${JAVA_LIB_INSTALL_DIR})
+#
+#
+#
+# ::
+#
+# If a single target needs to produce more than one jar from its
+# java source code, to prevent the accumulation of duplicate class
+# files in subsequent jars, set/reset CMAKE_JAR_CLASSES_PREFIX prior
+# to calling the add_jar() function:
+#
+#
+#
+# ::
+#
+# set(CMAKE_JAR_CLASSES_PREFIX com/redhat/foo)
+# add_jar(foo foo.java)
+#
+#
+#
+# ::
+#
+# set(CMAKE_JAR_CLASSES_PREFIX com/redhat/bar)
+# add_jar(bar bar.java)
+#
+#
#
# Target Properties:
-# The add_jar() functions sets some target properties. You can get these
-# properties with the
-# get_property(TARGET <target_name> PROPERTY <propery_name>)
-# command.
-#
-# INSTALL_FILES The files which should be installed. This is used by
-# install_jar().
-# JNI_SYMLINK The JNI symlink which should be installed.
-# This is used by install_jni_symlink().
-# JAR_FILE The location of the jar file so that you can include
-# it.
-# CLASS_DIR The directory where the class files can be found. For
-# example to use them with javah.
-#
-# find_jar(<VAR>
-# name | NAMES name1 [name2 ...]
-# [PATHS path1 [path2 ... ENV var]]
-# [VERSIONS version1 [version2]]
-# [DOC "cache documentation string"]
-# )
-#
-# This command is used to find a full path to the named jar. A cache
-# entry named by <VAR> is created to stor the result of this command. If
-# the full path to a jar is found the result is stored in the variable
-# and the search will not repeated unless the variable is cleared. If
-# nothing is found, the result will be <VAR>-NOTFOUND, and the search
-# will be attempted again next time find_jar is invoked with the same
-# variable.
-# The name of the full path to a file that is searched for is specified
-# by the names listed after NAMES argument. Additional search locations
-# can be specified after the PATHS argument. If you require special a
-# version of a jar file you can specify it with the VERSIONS argument.
-# The argument after DOC will be used for the documentation string in
-# the cache.
-#
-# install_jar(TARGET_NAME DESTINATION)
+#
+# ::
+#
+# The add_jar() functions sets some target properties. You can get these
+# properties with the
+# get_property(TARGET <target_name> PROPERTY <propery_name>)
+# command.
+#
+#
+#
+# ::
+#
+# INSTALL_FILES The files which should be installed. This is used by
+# install_jar().
+# JNI_SYMLINK The JNI symlink which should be installed.
+# This is used by install_jni_symlink().
+# JAR_FILE The location of the jar file so that you can include
+# it.
+# CLASS_DIR The directory where the class files can be found. For
+# example to use them with javah.
+#
+# ::
+#
+# find_jar(<VAR>
+# name | NAMES name1 [name2 ...]
+# [PATHS path1 [path2 ... ENV var]]
+# [VERSIONS version1 [version2]]
+# [DOC "cache documentation string"]
+# )
+#
+# This command is used to find a full path to the named jar. A cache
+# entry named by <VAR> is created to stor the result of this command.
+# If the full path to a jar is found the result is stored in the
+# variable and the search will not repeated unless the variable is
+# cleared. If nothing is found, the result will be <VAR>-NOTFOUND, and
+# the search will be attempted again next time find_jar is invoked with
+# the same variable. The name of the full path to a file that is
+# searched for is specified by the names listed after NAMES argument.
+# Additional search locations can be specified after the PATHS argument.
+# If you require special a version of a jar file you can specify it with
+# the VERSIONS argument. The argument after DOC will be used for the
+# documentation string in the cache.
+#
+# ::
+#
+# install_jar(TARGET_NAME DESTINATION)
#
# This command installs the TARGET_NAME files to the given DESTINATION.
# It should be called in the same scope as add_jar() or it will fail.
#
-# install_jni_symlink(TARGET_NAME DESTINATION)
+# ::
+#
+# install_jni_symlink(TARGET_NAME DESTINATION)
#
# This command installs the TARGET_NAME JNI symlinks to the given
-# DESTINATION. It should be called in the same scope as add_jar()
-# or it will fail.
-#
-# create_javadoc(<VAR>
-# PACKAGES pkg1 [pkg2 ...]
-# [SOURCEPATH <sourcepath>]
-# [CLASSPATH <classpath>]
-# [INSTALLPATH <install path>]
-# [DOCTITLE "the documentation title"]
-# [WINDOWTITLE "the title of the document"]
-# [AUTHOR TRUE|FALSE]
-# [USE TRUE|FALSE]
-# [VERSION TRUE|FALSE]
-# )
-#
-# Create java documentation based on files or packages. For more
+# DESTINATION. It should be called in the same scope as add_jar() or it
+# will fail.
+#
+# ::
+#
+# create_javadoc(<VAR>
+# PACKAGES pkg1 [pkg2 ...]
+# [SOURCEPATH <sourcepath>]
+# [CLASSPATH <classpath>]
+# [INSTALLPATH <install path>]
+# [DOCTITLE "the documentation title"]
+# [WINDOWTITLE "the title of the document"]
+# [AUTHOR TRUE|FALSE]
+# [USE TRUE|FALSE]
+# [VERSION TRUE|FALSE]
+# )
+#
+# Create java documentation based on files or packages. For more
# details please read the javadoc manpage.
#
-# There are two main signatures for create_javadoc. The first
-# signature works with package names on a path with source files:
-#
-# Example:
-# create_javadoc(my_example_doc
-# PACKAGES com.exmaple.foo com.example.bar
-# SOURCEPATH "${CMAKE_CURRENT_SOURCE_DIR}"
-# CLASSPATH ${CMAKE_JAVA_INCLUDE_PATH}
-# WINDOWTITLE "My example"
-# DOCTITLE "<h1>My example</h1>"
-# AUTHOR TRUE
-# USE TRUE
-# VERSION TRUE
-# )
+# There are two main signatures for create_javadoc. The first signature
+# works with package names on a path with source files:
+#
+# ::
+#
+# Example:
+# create_javadoc(my_example_doc
+# PACKAGES com.exmaple.foo com.example.bar
+# SOURCEPATH "${CMAKE_CURRENT_SOURCE_DIR}"
+# CLASSPATH ${CMAKE_JAVA_INCLUDE_PATH}
+# WINDOWTITLE "My example"
+# DOCTITLE "<h1>My example</h1>"
+# AUTHOR TRUE
+# USE TRUE
+# VERSION TRUE
+# )
+#
+#
#
# The second signature for create_javadoc works on a given list of
# files.
#
-# create_javadoc(<VAR>
-# FILES file1 [file2 ...]
-# [CLASSPATH <classpath>]
-# [INSTALLPATH <install path>]
-# [DOCTITLE "the documentation title"]
-# [WINDOWTITLE "the title of the document"]
-# [AUTHOR TRUE|FALSE]
-# [USE TRUE|FALSE]
-# [VERSION TRUE|FALSE]
-# )
+# ::
+#
+# create_javadoc(<VAR>
+# FILES file1 [file2 ...]
+# [CLASSPATH <classpath>]
+# [INSTALLPATH <install path>]
+# [DOCTITLE "the documentation title"]
+# [WINDOWTITLE "the title of the document"]
+# [AUTHOR TRUE|FALSE]
+# [USE TRUE|FALSE]
+# [VERSION TRUE|FALSE]
+# )
+#
+#
#
# Example:
-# create_javadoc(my_example_doc
-# FILES ${example_SRCS}
-# CLASSPATH ${CMAKE_JAVA_INCLUDE_PATH}
-# WINDOWTITLE "My example"
-# DOCTITLE "<h1>My example</h1>"
-# AUTHOR TRUE
-# USE TRUE
-# VERSION TRUE
-# )
-#
-# Both signatures share most of the options. These options are the
-# same as what you can find in the javadoc manpage. Please look at
-# the manpage for CLASSPATH, DOCTITLE, WINDOWTITLE, AUTHOR, USE and
-# VERSION.
+#
+# ::
+#
+# create_javadoc(my_example_doc
+# FILES ${example_SRCS}
+# CLASSPATH ${CMAKE_JAVA_INCLUDE_PATH}
+# WINDOWTITLE "My example"
+# DOCTITLE "<h1>My example</h1>"
+# AUTHOR TRUE
+# USE TRUE
+# VERSION TRUE
+# )
+#
+#
+#
+# Both signatures share most of the options. These options are the same
+# as what you can find in the javadoc manpage. Please look at the
+# manpage for CLASSPATH, DOCTITLE, WINDOWTITLE, AUTHOR, USE and VERSION.
#
# The documentation will be by default installed to
#
-# ${CMAKE_INSTALL_PREFIX}/share/javadoc/<VAR>
+# ::
+#
+# ${CMAKE_INSTALL_PREFIX}/share/javadoc/<VAR>
+#
#
-# if you don't set the INSTALLPATH.
#
+# if you don't set the INSTALLPATH.
#=============================================================================
# Copyright 2013 OpenGamma Ltd. <graham@opengamma.com>
@@ -246,7 +364,7 @@ function(add_jar _TARGET_NAME)
cmake_parse_arguments(_add_jar
""
- "VERSION;OUTPUT_DIR;OUTPUT_NAME;ENTRY_POINT"
+ "VERSION;OUTPUT_DIR;OUTPUT_NAME;ENTRY_POINT;MANIFEST"
"SOURCES;INCLUDE_JARS"
${ARGN}
)
@@ -262,6 +380,11 @@ function(add_jar _TARGET_NAME)
set(_ENTRY_POINT_VALUE ${_add_jar_ENTRY_POINT})
endif ()
+ if (_add_jar_MANIFEST)
+ set(_MANIFEST_OPTION m)
+ set(_MANIFEST_VALUE ${_add_jar_MANIFEST})
+ endif ()
+
if (LIBRARY_OUTPUT_PATH)
set(CMAKE_JAVA_LIBRARY_OUTPUT_PATH ${LIBRARY_OUTPUT_PATH})
else ()
@@ -405,7 +528,7 @@ function(add_jar _TARGET_NAME)
add_custom_command(
OUTPUT ${_JAVA_JAR_OUTPUT_PATH}
COMMAND ${Java_JAR_EXECUTABLE}
- -cf${_ENTRY_POINT_OPTION} ${_JAVA_JAR_OUTPUT_PATH} ${_ENTRY_POINT_VALUE}
+ -cf${_ENTRY_POINT_OPTION}${_MANIFEST_OPTION} ${_JAVA_JAR_OUTPUT_PATH} ${_ENTRY_POINT_VALUE} ${_MANIFEST_VALUE}
${_JAVA_RESOURCE_FILES} @java_class_filelist
COMMAND ${CMAKE_COMMAND}
-D_JAVA_TARGET_DIR=${_add_jar_OUTPUT_DIR}
@@ -425,7 +548,7 @@ function(add_jar _TARGET_NAME)
add_custom_command(
OUTPUT ${_JAVA_JAR_OUTPUT_PATH}
COMMAND ${Java_JAR_EXECUTABLE}
- -cf${_ENTRY_POINT_OPTION} ${_JAVA_JAR_OUTPUT_PATH} ${_ENTRY_POINT_VALUE}
+ -cf${_ENTRY_POINT_OPTION}${_MANIFEST_OPTION} ${_JAVA_JAR_OUTPUT_PATH} ${_ENTRY_POINT_VALUE} ${_MANIFEST_VALUE}
${_JAVA_RESOURCE_FILES} @java_class_filelist
COMMAND ${CMAKE_COMMAND}
-D_JAVA_TARGET_DIR=${_add_jar_OUTPUT_DIR}
diff --git a/Modules/UseJavaClassFilelist.cmake b/Modules/UseJavaClassFilelist.cmake
index 6f3a4e7..e8e6f01 100644
--- a/Modules/UseJavaClassFilelist.cmake
+++ b/Modules/UseJavaClassFilelist.cmake
@@ -1,8 +1,14 @@
+#.rst:
+# UseJavaClassFilelist
+# --------------------
#
-# This script create a list of compiled Java class files to be added to a
-# jar file. This avoids including cmake files which get created in the
-# binary directory.
#
+#
+#
+#
+# This script create a list of compiled Java class files to be added to
+# a jar file. This avoids including cmake files which get created in
+# the binary directory.
#=============================================================================
# Copyright 2010-2011 Andreas schneider <asn@redhat.com>
diff --git a/Modules/UseJavaSymlinks.cmake b/Modules/UseJavaSymlinks.cmake
index 88dd768..90ffdd5 100644
--- a/Modules/UseJavaSymlinks.cmake
+++ b/Modules/UseJavaSymlinks.cmake
@@ -1,6 +1,12 @@
+#.rst:
+# UseJavaSymlinks
+# ---------------
+#
+#
#
-# Helper script for UseJava.cmake
#
+#
+# Helper script for UseJava.cmake
#=============================================================================
# Copyright 2010-2011 Andreas schneider <asn@redhat.com>
diff --git a/Modules/UsePkgConfig.cmake b/Modules/UsePkgConfig.cmake
index b1569f9..6a38502 100644
--- a/Modules/UsePkgConfig.cmake
+++ b/Modules/UsePkgConfig.cmake
@@ -1,15 +1,21 @@
-# - Obsolete pkg-config module for CMake, use FindPkgConfig instead.
+#.rst:
+# UsePkgConfig
+# ------------
+#
+# Obsolete pkg-config module for CMake, use FindPkgConfig instead.
+#
+#
#
# This module defines the following macro:
#
# PKGCONFIG(package includedir libdir linkflags cflags)
#
-# Calling PKGCONFIG will fill the desired information into the 4 given arguments,
-# e.g. PKGCONFIG(libart-2.0 LIBART_INCLUDE_DIR LIBART_LINK_DIR LIBART_LINK_FLAGS LIBART_CFLAGS)
-# if pkg-config was NOT found or the specified software package doesn't exist, the
-# variable will be empty when the function returns, otherwise they will contain
+# Calling PKGCONFIG will fill the desired information into the 4 given
+# arguments, e.g. PKGCONFIG(libart-2.0 LIBART_INCLUDE_DIR
+# LIBART_LINK_DIR LIBART_LINK_FLAGS LIBART_CFLAGS) if pkg-config was NOT
+# found or the specified software package doesn't exist, the variable
+# will be empty when the function returns, otherwise they will contain
# the respective information
-#
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
diff --git a/Modules/UseQt4.cmake b/Modules/UseQt4.cmake
index f05a3d5..7478310 100644
--- a/Modules/UseQt4.cmake
+++ b/Modules/UseQt4.cmake
@@ -1,7 +1,12 @@
-# - Use Module for QT4
-# Sets up C and C++ to use Qt 4. It is assumed that FindQt.cmake
-# has already been loaded. See FindQt.cmake for information on
-# how to load Qt 4 into your CMake project.
+#.rst:
+# UseQt4
+# ------
+#
+# Use Module for QT4
+#
+# Sets up C and C++ to use Qt 4. It is assumed that FindQt.cmake has
+# already been loaded. See FindQt.cmake for information on how to load
+# Qt 4 into your CMake project.
#=============================================================================
# Copyright 2005-2009 Kitware, Inc.
@@ -17,13 +22,7 @@
# License text for the above reference.)
add_definitions(${QT_DEFINITIONS})
-set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_DEBUG QT_DEBUG)
-set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_RELEASE QT_NO_DEBUG)
-set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_RELWITHDEBINFO QT_NO_DEBUG)
-set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_MINSIZEREL QT_NO_DEBUG)
-if(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
- set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS QT_NO_DEBUG)
-endif()
+set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<NOT:$<CONFIG:Debug>>:QT_NO_DEBUG>)
if(QT_INCLUDE_DIRS_NO_SYSTEM)
include_directories(${QT_INCLUDE_DIR})
@@ -58,7 +57,7 @@ endif ()
# list dependent modules, so dependent libraries are added
set(QT_QT3SUPPORT_MODULE_DEPENDS QTGUI QTSQL QTXML QTNETWORK QTCORE)
-set(QT_QTSVG_MODULE_DEPENDS QTGUI QTXML QTCORE)
+set(QT_QTSVG_MODULE_DEPENDS QTGUI QTCORE)
set(QT_QTUITOOLS_MODULE_DEPENDS QTGUI QTXML QTCORE)
set(QT_QTHELP_MODULE_DEPENDS QTGUI QTSQL QTXML QTNETWORK QTCORE)
if(QT_QTDBUS_FOUND)
diff --git a/Modules/UseSWIG.cmake b/Modules/UseSWIG.cmake
index 2a09585..11ca205 100644
--- a/Modules/UseSWIG.cmake
+++ b/Modules/UseSWIG.cmake
@@ -1,22 +1,31 @@
-# - SWIG module for CMake
+#.rst:
+# UseSWIG
+# -------
+#
+# SWIG module for CMake
+#
# Defines the following macros:
-# SWIG_ADD_MODULE(name language [ files ])
-# - Define swig module with given name and specified language
-# SWIG_LINK_LIBRARIES(name [ libraries ])
-# - Link libraries to swig module
-# All other macros are for internal use only.
-# To get the actual name of the swig module,
-# use: ${SWIG_MODULE_${name}_REAL_NAME}.
-# Set Source files properties such as CPLUSPLUS and SWIG_FLAGS to specify
-# special behavior of SWIG. Also global CMAKE_SWIG_FLAGS can be used to add
-# special flags to all swig calls.
-# Another special variable is CMAKE_SWIG_OUTDIR, it allows one to specify
-# where to write all the swig generated module (swig -outdir option)
-# The name-specific variable SWIG_MODULE_<name>_EXTRA_DEPS may be used
-# to specify extra dependencies for the generated modules.
-# If the source file generated by swig need some special flag you can use
-# set_source_files_properties( ${swig_generated_file_fullname}
-# PROPERTIES COMPILE_FLAGS "-bla")
+#
+# ::
+#
+# SWIG_ADD_MODULE(name language [ files ])
+# - Define swig module with given name and specified language
+# SWIG_LINK_LIBRARIES(name [ libraries ])
+# - Link libraries to swig module
+#
+# All other macros are for internal use only. To get the actual name of
+# the swig module, use: ${SWIG_MODULE_${name}_REAL_NAME}. Set Source
+# files properties such as CPLUSPLUS and SWIG_FLAGS to specify special
+# behavior of SWIG. Also global CMAKE_SWIG_FLAGS can be used to add
+# special flags to all swig calls. Another special variable is
+# CMAKE_SWIG_OUTDIR, it allows one to specify where to write all the
+# swig generated module (swig -outdir option) The name-specific variable
+# SWIG_MODULE_<name>_EXTRA_DEPS may be used to specify extra
+# dependencies for the generated modules. If the source file generated
+# by swig need some special flag you can use::
+#
+# set_source_files_properties( ${swig_generated_file_fullname}
+# PROPERTIES COMPILE_FLAGS "-bla")
#=============================================================================
@@ -48,15 +57,22 @@ macro(SWIG_MODULE_INITIALIZE name language)
set(SWIG_MODULE_${name}_SWIG_LANGUAGE_FLAG "${swig_lowercase_language}")
set(SWIG_MODULE_${name}_REAL_NAME "${name}")
+ if (CMAKE_SWIG_FLAGS MATCHES "-noproxy")
+ set (SWIG_MODULE_${name}_NOPROXY TRUE)
+ endif ()
if("${SWIG_MODULE_${name}_LANGUAGE}" STREQUAL "UNKNOWN")
message(FATAL_ERROR "SWIG Error: Language \"${language}\" not found")
- elseif("${SWIG_MODULE_${name}_LANGUAGE}" STREQUAL "PYTHON")
- # when swig is used without the -interface it will produce in the module.py
- # a 'import _modulename' statement, which implies having a corresponding
- # _modulename.so (*NIX), _modulename.pyd (Win32).
+ elseif("${SWIG_MODULE_${name}_LANGUAGE}" STREQUAL "PYTHON" AND NOT SWIG_MODULE_${name}_NOPROXY)
+ # swig will produce a module.py containing an 'import _modulename' statement,
+ # which implies having a corresponding _modulename.so (*NIX), _modulename.pyd (Win32),
+ # unless the -noproxy flag is used
set(SWIG_MODULE_${name}_REAL_NAME "_${name}")
elseif("${SWIG_MODULE_${name}_LANGUAGE}" STREQUAL "PERL")
set(SWIG_MODULE_${name}_EXTRA_FLAGS "-shadow")
+ elseif("${SWIG_MODULE_${name}_LANGUAGE}" STREQUAL "CSHARP")
+ # This makes sure that the name used in the generated DllImport
+ # matches the library name created by CMake
+ set(SWIG_MODULE_${name}_EXTRA_FLAGS "-dllimport;${name}")
endif()
endmacro()
@@ -83,7 +99,6 @@ endmacro()
#
macro(SWIG_ADD_SOURCE_TO_MODULE name outfiles infile)
set(swig_full_infile ${infile})
- get_filename_component(swig_source_file_path "${infile}" PATH)
get_filename_component(swig_source_file_name_we "${infile}" NAME_WE)
get_source_file_property(swig_source_file_generated ${infile} GENERATED)
get_source_file_property(swig_source_file_cplusplus ${infile} CPLUSPLUS)
@@ -91,35 +106,8 @@ macro(SWIG_ADD_SOURCE_TO_MODULE name outfiles infile)
if("${swig_source_file_flags}" STREQUAL "NOTFOUND")
set(swig_source_file_flags "")
endif()
- set(swig_source_file_fullname "${infile}")
- if(${swig_source_file_path} MATCHES "^${CMAKE_CURRENT_SOURCE_DIR}")
- string(REGEX REPLACE
- "^${CMAKE_CURRENT_SOURCE_DIR}" ""
- swig_source_file_relative_path
- "${swig_source_file_path}")
- else()
- if(${swig_source_file_path} MATCHES "^${CMAKE_CURRENT_BINARY_DIR}")
- string(REGEX REPLACE
- "^${CMAKE_CURRENT_BINARY_DIR}" ""
- swig_source_file_relative_path
- "${swig_source_file_path}")
- set(swig_source_file_generated 1)
- else()
- set(swig_source_file_relative_path "${swig_source_file_path}")
- if(swig_source_file_generated)
- set(swig_source_file_fullname "${CMAKE_CURRENT_BINARY_DIR}/${infile}")
- else()
- set(swig_source_file_fullname "${CMAKE_CURRENT_SOURCE_DIR}/${infile}")
- endif()
- endif()
- endif()
+ get_filename_component(swig_source_file_fullname "${infile}" ABSOLUTE)
- set(swig_generated_file_fullname
- "${CMAKE_CURRENT_BINARY_DIR}")
- if(swig_source_file_relative_path)
- set(swig_generated_file_fullname
- "${swig_generated_file_fullname}/${swig_source_file_relative_path}")
- endif()
# If CMAKE_SWIG_OUTDIR was specified then pass it to -outdir
if(CMAKE_SWIG_OUTDIR)
set(swig_outdir ${CMAKE_SWIG_OUTDIR})
@@ -131,7 +119,7 @@ macro(SWIG_ADD_SOURCE_TO_MODULE name outfiles infile)
"${swig_outdir}"
"${infile}")
set(swig_generated_file_fullname
- "${swig_generated_file_fullname}/${swig_source_file_name_we}")
+ "${swig_outdir}/${swig_source_file_name_we}")
# add the language into the name of the file (i.e. TCL_wrap)
# this allows for the same .i file to be wrapped into different languages
set(swig_generated_file_fullname
@@ -148,6 +136,7 @@ macro(SWIG_ADD_SOURCE_TO_MODULE name outfiles infile)
#message("Full path to source file: ${swig_source_file_fullname}")
#message("Full path to the output file: ${swig_generated_file_fullname}")
get_directory_property(cmake_include_directories INCLUDE_DIRECTORIES)
+ list(REMOVE_DUPLICATES cmake_include_directories)
set(swig_include_dirs)
foreach(it ${cmake_include_directories})
set(swig_include_dirs ${swig_include_dirs} "-I${it}")
@@ -212,7 +201,10 @@ macro(SWIG_ADD_MODULE name language)
${swig_generated_sources}
${swig_other_sources})
string(TOLOWER "${language}" swig_lowercase_language)
- if ("${swig_lowercase_language}" STREQUAL "java")
+ if ("${swig_lowercase_language}" STREQUAL "octave")
+ set_target_properties(${SWIG_MODULE_${name}_REAL_NAME} PROPERTIES PREFIX "")
+ set_target_properties(${SWIG_MODULE_${name}_REAL_NAME} PROPERTIES SUFFIX ".oct")
+ elseif ("${swig_lowercase_language}" STREQUAL "java")
if (APPLE)
# In java you want:
# System.loadLibrary("LIBRARY");
@@ -222,8 +214,7 @@ macro(SWIG_ADD_MODULE name language)
# Linux : libLIBRARY.so
set_target_properties (${SWIG_MODULE_${name}_REAL_NAME} PROPERTIES SUFFIX ".jnilib")
endif ()
- endif ()
- if ("${swig_lowercase_language}" STREQUAL "python")
+ elseif ("${swig_lowercase_language}" STREQUAL "python")
# this is only needed for the python case where a _modulename.so is generated
set_target_properties(${SWIG_MODULE_${name}_REAL_NAME} PROPERTIES PREFIX "")
# Python extension modules on Windows must have the extension ".pyd"
@@ -237,6 +228,17 @@ macro(SWIG_ADD_MODULE name language)
if(WIN32 AND NOT CYGWIN)
set_target_properties(${SWIG_MODULE_${name}_REAL_NAME} PROPERTIES SUFFIX ".pyd")
endif()
+ elseif ("${swig_lowercase_language}" STREQUAL "ruby")
+ # In ruby you want:
+ # require 'LIBRARY'
+ # then ruby will look for a library whose name is platform dependent, namely
+ # MacOS : LIBRARY.bundle
+ # Windows: LIBRARY.dll
+ # Linux : LIBRARY.so
+ set_target_properties (${SWIG_MODULE_${name}_REAL_NAME} PROPERTIES PREFIX "")
+ if (APPLE)
+ set_target_properties (${SWIG_MODULE_${name}_REAL_NAME} PROPERTIES SUFFIX ".bundle")
+ endif ()
endif ()
endmacro()
diff --git a/Modules/Use_wxWindows.cmake b/Modules/Use_wxWindows.cmake
index 6c95681..d3025ac 100644
--- a/Modules/Use_wxWindows.cmake
+++ b/Modules/Use_wxWindows.cmake
@@ -1,17 +1,32 @@
+#.rst:
+# Use_wxWindows
+# -------------
+#
+#
+#
+#
+# This convenience include finds if wxWindows is installed and set the
+# appropriate libs, incdirs, flags etc. author Jan Woetzel <jw -at-
+# mip.informatik.uni-kiel.de> (07/2003)
#
-# This convenience include finds if wxWindows is installed
-# and set the appropriate libs, incdirs, flags etc.
-# author Jan Woetzel <jw -at- mip.informatik.uni-kiel.de> (07/2003)
-##
-# -----------------------------------------------------
# USAGE:
-# just include Use_wxWindows.cmake
-# in your projects CMakeLists.txt
+#
+# ::
+#
+# just include Use_wxWindows.cmake
+# in your projects CMakeLists.txt
+#
# include( ${CMAKE_MODULE_PATH}/Use_wxWindows.cmake)
-##
-# if you are sure you need GL then
+#
+# ::
+#
+# if you are sure you need GL then
+#
# set(WXWINDOWS_USE_GL 1)
-# *before* you include this file.
+#
+# ::
+#
+# *before* you include this file.
#=============================================================================
# Copyright 2003-2009 Kitware, Inc.
diff --git a/Modules/UsewxWidgets.cmake b/Modules/UsewxWidgets.cmake
index bb8c29b..f2f260d 100644
--- a/Modules/UsewxWidgets.cmake
+++ b/Modules/UsewxWidgets.cmake
@@ -1,19 +1,38 @@
-# - Convenience include for using wxWidgets library.
-# Determines if wxWidgets was FOUND and sets the appropriate libs, incdirs,
-# flags, etc. INCLUDE_DIRECTORIES and LINK_DIRECTORIES are called.
+#.rst:
+# UsewxWidgets
+# ------------
+#
+# Convenience include for using wxWidgets library.
+#
+# Determines if wxWidgets was FOUND and sets the appropriate libs,
+# incdirs, flags, etc. INCLUDE_DIRECTORIES and LINK_DIRECTORIES are
+# called.
#
# USAGE
-# # Note that for MinGW users the order of libs is important!
-# find_package(wxWidgets REQUIRED net gl core base)
-# include(${wxWidgets_USE_FILE})
-# # and for each of your dependent executable/library targets:
-# target_link_libraries(<YourTarget> ${wxWidgets_LIBRARIES})
+#
+# ::
+#
+# # Note that for MinGW users the order of libs is important!
+# find_package(wxWidgets REQUIRED net gl core base)
+# include(${wxWidgets_USE_FILE})
+# # and for each of your dependent executable/library targets:
+# target_link_libraries(<YourTarget> ${wxWidgets_LIBRARIES})
+#
+#
#
# DEPRECATED
-# LINK_LIBRARIES is not called in favor of adding dependencies per target.
+#
+# ::
+#
+# LINK_LIBRARIES is not called in favor of adding dependencies per target.
+#
+#
#
# AUTHOR
-# Jan Woetzel <jw -at- mip.informatik.uni-kiel.de>
+#
+# ::
+#
+# Jan Woetzel <jw -at- mip.informatik.uni-kiel.de>
#=============================================================================
# Copyright 2004-2009 Kitware, Inc.
diff --git a/Modules/WIX.template.in b/Modules/WIX.template.in
index 0bc7e10..59a75c7 100644
--- a/Modules/WIX.template.in
+++ b/Modules/WIX.template.in
@@ -39,6 +39,6 @@
<FeatureRef Id="ProductFeature"/>
- <UIRef Id="WixUI_InstallDir" />
+ <UIRef Id="$(var.CPACK_WIX_UI_REF)" />
</Product>
</Wix>
diff --git a/Modules/WriteBasicConfigVersionFile.cmake b/Modules/WriteBasicConfigVersionFile.cmake
index 4466cd7..7d28e95 100644
--- a/Modules/WriteBasicConfigVersionFile.cmake
+++ b/Modules/WriteBasicConfigVersionFile.cmake
@@ -1,4 +1,14 @@
-# WRITE_BASIC_CONFIG_VERSION_FILE( filename VERSION major.minor.patch COMPATIBILITY (AnyNewerVersion|SameMajorVersion) )
+#.rst:
+# WriteBasicConfigVersionFile
+# ---------------------------
+#
+#
+#
+# ::
+#
+# WRITE_BASIC_CONFIG_VERSION_FILE( filename [VERSION major.minor.patch] COMPATIBILITY (AnyNewerVersion|SameMajorVersion) )
+#
+#
#
# Deprecated, see WRITE_BASIC_PACKAGE_VERSION_FILE(), it is identical.
@@ -36,7 +46,11 @@ function(WRITE_BASIC_CONFIG_VERSION_FILE _filename)
endif()
if("${CVF_VERSION}" STREQUAL "")
- message(FATAL_ERROR "No VERSION specified for WRITE_BASIC_CONFIG_VERSION_FILE()")
+ if ("${PROJECT_VERSION}" STREQUAL "")
+ message(FATAL_ERROR "No VERSION specified for WRITE_BASIC_CONFIG_VERSION_FILE()")
+ else()
+ set(CVF_VERSION "${PROJECT_VERSION}")
+ endif()
endif()
configure_file("${versionTemplateFile}" "${_filename}" @ONLY)
diff --git a/Modules/exportheader.cmake.in b/Modules/exportheader.cmake.in
index 80a879d..118de16 100644
--- a/Modules/exportheader.cmake.in
+++ b/Modules/exportheader.cmake.in
@@ -23,8 +23,14 @@
#ifndef @DEPRECATED_MACRO_NAME@
# define @DEPRECATED_MACRO_NAME@ @DEFINE_DEPRECATED@
-# define @DEPRECATED_MACRO_NAME@_EXPORT @EXPORT_MACRO_NAME@ @DEFINE_DEPRECATED@
-# define @DEPRECATED_MACRO_NAME@_NO_EXPORT @NO_EXPORT_MACRO_NAME@ @DEFINE_DEPRECATED@
+#endif
+
+#ifndef @DEPRECATED_MACRO_NAME@_EXPORT
+# define @DEPRECATED_MACRO_NAME@_EXPORT @EXPORT_MACRO_NAME@ @DEPRECATED_MACRO_NAME@
+#endif
+
+#ifndef @DEPRECATED_MACRO_NAME@_NO_EXPORT
+# define @DEPRECATED_MACRO_NAME@_NO_EXPORT @NO_EXPORT_MACRO_NAME@ @DEPRECATED_MACRO_NAME@
#endif
#cmakedefine01 DEFINE_NO_DEPRECATED
diff --git a/Modules/readme.txt b/Modules/readme.txt
index 2f11994..b40f3d0 100644
--- a/Modules/readme.txt
+++ b/Modules/readme.txt
@@ -1,172 +1,4 @@
-For more information about how to contribute modules to CMake, see this page:
-http://www.itk.org/Wiki/CMake:Module_Maintainers
-
-Note to authors of FindXxx.cmake files
-
-We would like all FindXxx.cmake files to produce consistent variable names.
-
-Please use the following consistent variable names for general use.
-
-Xxx_INCLUDE_DIRS The final set of include directories listed in one variable for use by client code.
- This should not be a cache entry.
-Xxx_LIBRARIES The libraries to link against to use Xxx. These should include full paths.
- This should not be a cache entry.
-Xxx_DEFINITIONS Definitions to use when compiling code that uses Xxx. This really shouldn't include options such
- as (-DHAS_JPEG)that a client source-code file uses to decide whether to #include <jpeg.h>
-Xxx_EXECUTABLE Where to find the Xxx tool.
-Xxx_Yyy_EXECUTABLE Where to find the Yyy tool that comes with Xxx.
-Xxx_LIBRARY_DIRS Optionally, the final set of library directories listed in one variable for use by client code.
- This should not be a cache entry.
-Xxx_ROOT_DIR Where to find the base directory of Xxx.
-Xxx_VERSION_Yy Expect Version Yy if true. Make sure at most one of these is ever true.
-Xxx_WRAP_Yy If False, do not try to use the relevant CMake wrapping command.
-Xxx_Yy_FOUND If False, optional Yy part of Xxx sytem is not available.
-Xxx_FOUND Set to false, or undefined, if we haven't found, or don't want to use Xxx.
-Xxx_NOT_FOUND_MESSAGE Should be set by config-files in the case that it has set Xxx_FOUND to FALSE.
- The contained message will be printed by the find_package() command and by
- find_package_handle_standard_args() to inform the user about the problem.
-Xxx_RUNTIME_LIBRARY_DIRS Optionally, the runtime library search path for use when running an executable linked to
- shared libraries.
- The list should be used by user code to create the PATH on windows or LD_LIBRARY_PATH on unix.
- This should not be a cache entry.
-Xxx_VERSION_STRING A human-readable string containing the version of the package found, if any.
-Xxx_VERSION_MAJOR The major version of the package found, if any.
-Xxx_VERSION_MINOR The minor version of the package found, if any.
-Xxx_VERSION_PATCH The patch version of the package found, if any.
-
-You do not have to provide all of the above variables. You should provide Xxx_FOUND under most circumstances.
-If Xxx is a library, then Xxx_LIBRARIES, should also be defined, and Xxx_INCLUDE_DIRS should usually be
-defined (I guess libm.a might be an exception)
-
-The following names should not usually be used in CMakeLists.txt files, but they may be usefully modified in
-users' CMake Caches to control stuff.
-
-Xxx_LIBRARY Name of Xxx Library. A User may set this and Xxx_INCLUDE_DIR to ignore to force non-use of Xxx.
-Xxx_Yy_LIBRARY Name of Yy library that is part of the Xxx system. It may or may not be required to use Xxx.
-Xxx_INCLUDE_DIR Where to find xxx.h, etc. (Xxx_INCLUDE_PATH was considered bad because a path includes an
- actual filename.)
-Xxx_Yy_INCLUDE_DIR Where to find xxx_yy.h, etc.
-
-For tidiness's sake, try to keep as many options as possible out of the cache, leaving at least one option which can be
-used to disable use of the module, or locate a not-found library (e.g. Xxx_ROOT_DIR).
-For the same reason, mark most cache options as advanced.
-
-If you need other commands to do special things then it should still begin with Xxx_. This gives a sort of namespace
-effect and keeps things tidy for the user. You should put comments describing all the exported settings, plus
-descriptions of any the users can use to control stuff.
-
-You really should also provide backwards compatibility any old settings that were actually in use.
-Make sure you comment them as deprecated, so that no-one starts using them.
-
-To correctly document a module, create a comment block at the top with # comments.
-There are three types of comments that can be in the block:
-
-1. The brief description of the module, this is done by:
-# - a small description
-
-2. A paragraph of text. This is done with all text that has a single
-space between the # and the text. To create a new paragraph, just
-put a # with no text on the line.
-
-3. A verbatim line. This is done with two spaces between the # and the text.
-
-For example:
+See the "Find Modules" section of the cmake-developer(7) manual page.
-# - This is a cool module
-# This module does really cool stuff.
-# It can do even more than you think.
-#
-# It even needs to paragraphs to tell you about it.
-# And it defines the following variables:
-# VAR_COOL - this is great isn't it?
-# VAR_REALLY_COOL - cool right?
-#
-
-Test the documentation formatting by running "cmake --help-module FindXxx".
-Edit the comments until the output of this command looks satisfactory.
-
-To have a .cmake file in this directory NOT show up in the
-modules documentation, you should start the file with a blank
-line.
-
-After the documentation, leave a *BLANK* line, and then add a
-copyright and licence notice block like this one:
-
-#=============================================================================
-# Copyright 2009-2011 Your Name
-#
-# Distributed under the OSI-approved BSD License (the "License");
-# see accompanying file Copyright.txt for details.
-#
-# This software is distributed WITHOUT ANY WARRANTY; without even the
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the License for more information.
-#=============================================================================
-# (To distribute this file outside of CMake, substitute the full
-# License text for the above reference.)
-
-The layout of the notice block is strictly enforced by the ModuleNotices test.
-Only the year range and name may be changed freely.
-
-A FindXxx.cmake module will typically be loaded by the command
-
- FIND_PACKAGE(Xxx [major[.minor[.patch[.tweak]]]] [EXACT]
- [QUIET] [[REQUIRED|COMPONENTS] [components...]])
-
-If any version numbers are given to the command it will set the
-following variables before loading the module:
-
- Xxx_FIND_VERSION = full requested version string
- Xxx_FIND_VERSION_MAJOR = major version if requested, else 0
- Xxx_FIND_VERSION_MINOR = minor version if requested, else 0
- Xxx_FIND_VERSION_PATCH = patch version if requested, else 0
- Xxx_FIND_VERSION_TWEAK = tweak version if requested, else 0
- Xxx_FIND_VERSION_COUNT = number of version components, 0 to 4
- Xxx_FIND_VERSION_EXACT = true if EXACT option was given
-
-If the find module supports versioning it should locate a version of
-the package that is compatible with the version requested. If a
-compatible version of the package cannot be found the module should
-not report success. The version of the package found should be stored
-in "Xxx_VERSION..." version variables documented by the module.
-
-If the QUIET option is given to the command it will set the variable
-Xxx_FIND_QUIETLY to true before loading the FindXxx.cmake module. If
-this variable is set the module should not complain about not being
-able to find the package. If the
-REQUIRED option is given to the command it will set the variable
-Xxx_FIND_REQUIRED to true before loading the FindXxx.cmake module. If
-this variable is set the module should issue a FATAL_ERROR if the
-package cannot be found.
-If neither the QUIET nor REQUIRED options are given then the
-FindXxx.cmake module should look for the package and complain without
-error if the module is not found.
-
-FIND_PACKAGE() will set the variable CMAKE_FIND_PACKAGE_NAME to
-contain the actual name of the package.
-
-A package can provide sub-components.
-Those components can be listed after the COMPONENTS (or REQUIRED)
-or OPTIONAL_COMPONENTS keywords. The set of all listed components will be
-specified in a Xxx_FIND_COMPONENTS variable.
-For each package-specific component, say Yyy, a variable Xxx_FIND_REQUIRED_Yyy
-will be set to true if it listed after COMPONENTS and it will be set to false
-if it was listed after OPTIONAL_COMPONENTS.
-Using those variables a FindXxx.cmake module and also a XxxConfig.cmake package
-configuration file can determine whether and which components have been requested,
-and whether they were requested as required or as optional.
-For each of the requested components a Xxx_Yyy_FOUND variable should be set
-accordingly.
-The per-package Xxx_FOUND variable should be only set to true if all requested
-required components have been found. A missing optional component should not
-keep the Xxx_FOUND variable from being set to true.
-If the package provides Xxx_INCLUDE_DIRS and Xxx_LIBRARIES variables, the include
-dirs and libraries for all components which were requested and which have been
-found should be added to those two variables.
-
-To get this behaviour you can use the FIND_PACKAGE_HANDLE_STANDARD_ARGS()
-macro, as an example see FindJPEG.cmake.
-
-For internal implementation, it's a generally accepted convention that variables starting with
-underscore are for temporary use only. (variable starting with an underscore
-are not intended as a reserved prefix).
+For more information about how to contribute modules to CMake, see this page:
+http://www.cmake.org/Wiki/CMake:Module_Maintainers
diff --git a/README.rst b/README.rst
new file mode 100644
index 0000000..1b5b0c3
--- /dev/null
+++ b/README.rst
@@ -0,0 +1,83 @@
+CMake
+*****
+
+Introduction
+============
+
+CMake is a cross-platform, open-source build system generator.
+For full documentation visit the `CMake Home Page`_ and the
+`CMake Documentation Page`_.
+
+.. _`CMake Home Page`: http://www.cmake.org
+.. _`CMake Documentation Page`: http://www.cmake.org/cmake/help/documentation.html
+
+CMake is maintained by `Kitware, Inc.`_ and developed in
+collaboration with a productive community of contributors.
+
+.. _`Kitware, Inc.`: http://www.kitware.com
+
+License
+=======
+
+CMake is distributed under the OSI-approved BSD 3-clause License.
+See `Copyright.txt`_ for details.
+
+.. _`Copyright.txt`: Copyright.txt
+
+Building CMake
+==============
+
+Supported Platforms
+-------------------
+
+MS Windows, Mac OS X, Linux, FreeBSD, Solaris, HP-UX, IRIX, BeOS, QNX
+
+Other UNIX-like operating systems may work too out of the box, if not
+it should not be a major problem to port CMake to this platform.
+Subscribe and post to the `CMake Users List`_ to ask if others have
+had experience with the platform.
+
+.. _`CMake Users List`: http://www.cmake.org/mailman/listinfo/cmake
+
+Building CMake from Scratch
+---------------------------
+
+UNIX/Mac OSX/MinGW/MSYS/Cygwin
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+You need to have a compiler and a make installed.
+Run the ``bootstrap`` script you find the in the source directory of CMake.
+You can use the ``--help`` option to see the supported options.
+You may use the ``--prefix=<install_prefix>`` option to specify a custom
+installation directory for CMake. You can run the ``bootstrap`` script from
+within the CMake source directory or any other build directory of your
+choice. Once this has finished successfully, run ``make`` and
+``make install``. In summary::
+
+ $ ./bootstrap && make && make install
+
+Windows
+^^^^^^^
+
+You need to download and install a binary release of CMake in order to build
+CMake. You can get these releases from the `CMake Download Page`_ . Then
+proceed with the instructions below.
+
+.. _`CMake Download Page`: http://www.cmake.org/cmake/resources/software.html
+
+Building CMake with CMake
+-------------------------
+
+You can build CMake as any other project with a CMake-based build system:
+run the installed CMake on the sources of this CMake with your preferred
+options and generators. Then build it and install it.
+For instructions how to do this, see documentation on `Running CMake`_.
+
+.. _`Running CMake`: http://www.cmake.org/cmake/help/runningcmake.html
+
+Contributing
+============
+
+See `CONTRIBUTING.rst`_ for instructions to contribute.
+
+.. _`CONTRIBUTING.rst`: CONTRIBUTING.rst
diff --git a/Readme.txt b/Readme.txt
deleted file mode 100644
index 11926bc..0000000
--- a/Readme.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-This is CMake, the cross-platform, open-source make system.
-CMake is distributed under the BSD License, see Copyright.txt.
-For documentation see the Docs/ directory once you have built CMake
-or visit http://www.cmake.org.
-
-
-Building CMake
-==============
-
-
-Supported Platforms
--------------------
-
-MS Windows, Mac OS X, Linux, FreeBSD, Solaris, HP-UX, IRIX, BeOS, QNX
-
-Other UNIX-like operating systems may work too out of the box, if not
-it shouldn't be a major problem to port CMake to this platform. Contact the
-CMake mailing list in this case: http://www.cmake.org/mailman/listinfo/cmake
-
-
-If you don't have any previous version of CMake already installed
---------------------------------------------------------------
-
-* UNIX/Mac OSX/MinGW/MSYS/Cygwin:
-
-You need to have a compiler and a make installed.
-Run the bootstrap script you find the in the source directory of CMake.
-You can use the --help option to see the supported options.
-You may want to use the --prefix=<install_prefix> option to specify a custom
-installation directory for CMake. You can run the bootstrap script from
-within the CMake source directory or any other build directory of your
-choice. Once this has finished successfully, run make and make install.
-So basically it's the same as you may be used to from autotools-based
-projects:
-
-$ ./bootstrap; make; make install
-
-
-* Other Windows:
-
-You need to download and install a binary release of CMake in order to build
-CMake. You can get these releases from
-http://www.cmake.org/HTML/Download.html . Then proceed with the instructions
-below.
-
-
-You already have a version of CMake installed
----------------------------------------------
-
-You can build CMake as any other project with a CMake-based build system:
-run the installed CMake on the sources of this CMake with your preferred
-options and generators. Then build it and install it.
-For instructions how to do this, see http://www.cmake.org/HTML/RunningCMake.html
diff --git a/Source/CMakeInstallDestinations.cmake b/Source/CMakeInstallDestinations.cmake
new file mode 100644
index 0000000..99c86ca
--- /dev/null
+++ b/Source/CMakeInstallDestinations.cmake
@@ -0,0 +1,38 @@
+# Keep formatting here consistent with bootstrap script expectations.
+if(BEOS)
+ set(CMAKE_DATA_DIR_DEFAULT "share/cmake-${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}") # HAIKU
+ set(CMAKE_MAN_DIR_DEFAULT "documentation/man") # HAIKU
+ set(CMAKE_DOC_DIR_DEFAULT "documentation/doc/cmake-${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}") # HAIKU
+elseif(CYGWIN)
+ set(CMAKE_DATA_DIR_DEFAULT "share/cmake-${CMake_VERSION}") # CYGWIN
+ set(CMAKE_DOC_DIR_DEFAULT "share/doc/cmake-${CMake_VERSION}") # CYGWIN
+ set(CMAKE_MAN_DIR_DEFAULT "share/man") # CYGWIN
+else()
+ set(CMAKE_DATA_DIR_DEFAULT "share/cmake-${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}") # OTHER
+ set(CMAKE_DOC_DIR_DEFAULT "doc/cmake-${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}") # OTHER
+ set(CMAKE_MAN_DIR_DEFAULT "man") # OTHER
+endif()
+
+set(CMAKE_DATA_DIR_DESC "data")
+set(CMAKE_DOC_DIR_DESC "docs")
+set(CMAKE_MAN_DIR_DESC "man pages")
+
+foreach(v
+ CMAKE_DATA_DIR
+ CMAKE_DOC_DIR
+ CMAKE_MAN_DIR
+ )
+ # Populate the cache with empty values so we know when the user sets them.
+ set(${v} "" CACHE STRING "")
+ set_property(CACHE ${v} PROPERTY HELPSTRING
+ "Location under install prefix for ${${v}_DESC} (default \"${${v}_DEFAULT}\")"
+ )
+ set_property(CACHE ${v} PROPERTY ADVANCED 1)
+
+ # Use the default when the user did not set this variable.
+ if(NOT ${v})
+ set(${v} "${${v}_DEFAULT}")
+ endif()
+ # Remove leading slash to treat as relative to install prefix.
+ string(REGEX REPLACE "^/" "" ${v} "${${v}}")
+endforeach()
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 8412e3e..175a034 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -38,6 +38,12 @@ configure_file(
"${CMake_BINARY_DIR}/Source/CPack/cmCPackConfigure.h"
)
+# Tell CMake executable in the build tree where to find the source tree.
+configure_file(
+ "${CMake_SOURCE_DIR}/Source/CMakeSourceDir.txt.in"
+ "${CMake_BINARY_DIR}/CMakeFiles/CMakeSourceDir.txt" @ONLY
+ )
+
# add the include path to find the .h
include_directories(
"${CMake_BINARY_DIR}/Source"
@@ -121,7 +127,7 @@ set(SRCS
cmBootstrapCommands2.cxx
cmCacheManager.cxx
cmCacheManager.h
- cmCommands.cxx
+ "${CMAKE_CURRENT_BINARY_DIR}/cmCommands.cxx"
cmCommands.h
cmCommandArgumentLexer.cxx
cmCommandArgumentParser.cxx
@@ -159,16 +165,7 @@ set(SRCS
cmDependsJavaParserHelper.h
cmDocumentation.cxx
cmDocumentationFormatter.cxx
- cmDocumentationFormatterHTML.cxx
- cmDocumentationFormatterDocbook.cxx
- cmDocumentationFormatterMan.cxx
- cmDocumentationFormatterText.cxx
- cmDocumentationFormatterUsage.cxx
cmDocumentationSection.cxx
- cmDocumentCompileDefinitions.h
- cmDocumentGeneratorExpressions.h
- cmDocumentLocationUndefined.h
- cmDocumentVariables.cxx
cmDynamicLoader.cxx
cmDynamicLoader.h
${ELF_SRCS}
@@ -189,8 +186,12 @@ set(SRCS
cmExportSetMap.cxx
cmExtraCodeBlocksGenerator.cxx
cmExtraCodeBlocksGenerator.h
+ cmExtraCodeLiteGenerator.cxx
+ cmExtraCodeLiteGenerator.h
cmExtraEclipseCDT4Generator.cxx
cmExtraEclipseCDT4Generator.h
+ cmExtraKateGenerator.cxx
+ cmExtraKateGenerator.h
cmExtraSublimeTextGenerator.cxx
cmExtraSublimeTextGenerator.h
cmFileTimeComparison.cxx
@@ -259,8 +260,10 @@ set(SRCS
cmPropertyDefinitionMap.h
cmPropertyMap.cxx
cmPropertyMap.h
- cmQtAutomoc.cxx
- cmQtAutomoc.h
+ cmQtAutoGenerators.cxx
+ cmQtAutoGenerators.h
+ cmRST.cxx
+ cmRST.h
cmScriptGenerator.h
cmScriptGenerator.cxx
cmSourceFile.cxx
@@ -288,8 +291,6 @@ set(SRCS
cmXMLSafe.h
cmake.cxx
cmake.h
- cmakewizard.cxx
- cmakewizard.h
cm_sha2.h
cm_sha2.c
@@ -297,6 +298,50 @@ set(SRCS
cm_utf8.c
)
+set(COMMAND_INCLUDES "#include \"cmTargetPropCommandBase.cxx\"\n")
+list(APPEND SRCS cmTargetPropCommandBase.cxx)
+set_property(SOURCE cmTargetPropCommandBase.cxx PROPERTY HEADER_FILE_ONLY ON)
+set(NEW_COMMANDS "")
+foreach(command_file
+ cmAddCompileOptionsCommand
+ cmAuxSourceDirectoryCommand
+ cmBuildNameCommand
+ cmCMakeHostSystemInformationCommand
+ cmElseIfCommand
+ cmExportCommand
+ cmExportLibraryDependenciesCommand
+ cmFLTKWrapUICommand
+ cmIncludeExternalMSProjectCommand
+ cmInstallProgramsCommand
+ cmLinkLibrariesCommand
+ cmLoadCacheCommand
+ cmOutputRequiredFilesCommand
+ cmQTWrapCPPCommand
+ cmQTWrapUICommand
+ cmRemoveCommand
+ cmRemoveDefinitionsCommand
+ cmSourceGroupCommand
+ cmSubdirDependsCommand
+ cmTargetCompileDefinitionsCommand
+ cmTargetCompileOptionsCommand
+ cmTargetIncludeDirectoriesCommand
+ cmUseMangledMesaCommand
+ cmUtilitySourceCommand
+ cmVariableRequiresCommand
+ cmVariableWatchCommand
+ cmWriteFileCommand
+ # This one must be last because it includes windows.h and
+ # windows.h #defines GetCurrentDirectory which is a member
+ # of cmMakefile
+ cmLoadCommandCommand
+ )
+ set(COMMAND_INCLUDES "${COMMAND_INCLUDES}#include \"${command_file}.cxx\"\n")
+ set(NEW_COMMANDS "${NEW_COMMANDS}commands.push_back(new ${command_file});\n")
+ list(APPEND SRCS ${command_file}.cxx)
+ set_property(SOURCE ${command_file}.cxx PROPERTY HEADER_FILE_ONLY ON)
+endforeach()
+configure_file(cmCommands.cxx.in ${CMAKE_CURRENT_BINARY_DIR}/cmCommands.cxx @ONLY)
+
# Kdevelop only works on UNIX and not windows
if(UNIX)
set(SRCS ${SRCS} cmGlobalKdevelopGenerator.cxx)
@@ -370,8 +415,6 @@ if (WIN32)
cmVisualStudioSlnParser.cxx
cmVisualStudioWCEPlatformParser.h
cmVisualStudioWCEPlatformParser.cxx
- cmWin32ProcessExecution.cxx
- cmWin32ProcessExecution.h
)
endif()
endif ()
@@ -439,6 +482,7 @@ set(CTEST_SRCS cmCTest.cxx
CTest/cmParseCacheCoverage.cxx
CTest/cmParseGTMCoverage.cxx
CTest/cmParsePHPCoverage.cxx
+ CTest/cmParsePythonCoverage.cxx
CTest/cmCTestEmptyBinaryDirectoryCommand.cxx
CTest/cmCTestGenericHandler.cxx
CTest/cmCTestHandlerCommand.cxx
@@ -475,6 +519,8 @@ set(CTEST_SRCS cmCTest.cxx
CTest/cmCTestGIT.h
CTest/cmCTestHG.cxx
CTest/cmCTestHG.h
+ CTest/cmCTestP4.cxx
+ CTest/cmCTestP4.h
)
# Build CTestLib
@@ -496,8 +542,6 @@ set(CPACK_SRCS
CPack/cmCPackTarBZip2Generator.cxx
CPack/cmCPackTarCompressGenerator.cxx
CPack/cmCPackZIPGenerator.cxx
- CPack/cmCPackDocumentVariables.cxx
- CPack/cmCPackDocumentMacros.cxx
)
if(CYGWIN)
@@ -519,6 +563,7 @@ if(WIN32)
CPack/WiX/cmCPackWIXGenerator.cxx
CPack/WiX/cmWIXSourceWriter.cxx
CPack/WiX/cmWIXRichTextFormatWriter.cxx
+ CPack/WiX/cmWIXPatchParser.cxx
)
endif()
@@ -545,19 +590,9 @@ if(APPLE)
endif()
# Build CMake executable
-add_executable(cmake cmakemain.cxx)
+add_executable(cmake cmakemain.cxx cmcmd.cxx cmcmd.h)
target_link_libraries(cmake CMakeLib)
-# Build special executable for running programs on Windows 98.
-# Included on any Windows (unconditional packaging required!).
-if(WIN32)
- if(NOT UNIX)
- add_executable(cmw9xcom cmw9xcom.cxx)
- target_link_libraries(cmw9xcom CMakeLib)
- install(TARGETS cmw9xcom DESTINATION bin)
- endif()
-endif()
-
# Build CTest executable
add_executable(ctest ctest.cxx)
target_link_libraries(ctest CTestLib)
diff --git a/Source/CMakeSourceDir.txt.in b/Source/CMakeSourceDir.txt.in
new file mode 100644
index 0000000..5e6a988
--- /dev/null
+++ b/Source/CMakeSourceDir.txt.in
@@ -0,0 +1 @@
+@CMake_SOURCE_DIR@
diff --git a/Source/CMakeVersion.bash b/Source/CMakeVersion.bash
index 4794e60..853b0ca 100755
--- a/Source/CMakeVersion.bash
+++ b/Source/CMakeVersion.bash
@@ -3,5 +3,5 @@
if test "x$1" = "x-f"; then shift ; n='*' ; else n='\{8\}' ; fi
if test "$#" -gt 0; then echo 1>&2 "usage: CMakeVersion.bash [-f]"; exit 1; fi
sed -i -e '
-s/\(^set(CMake_VERSION_TWEAK\) [0-9]'"$n"'\(.*\)/\1 '"$(date +%Y%m%d)"'\2/
+s/\(^set(CMake_VERSION_PATCH\) [0-9]'"$n"'\(.*\)/\1 '"$(date +%Y%m%d)"'\2/
' "${BASH_SOURCE%/*}/CMakeVersion.cmake"
diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake
index fd315ce..3a53bc4 100644
--- a/Source/CMakeVersion.cmake
+++ b/Source/CMakeVersion.cmake
@@ -1,6 +1,5 @@
# CMake version number components.
-set(CMake_VERSION_MAJOR 2)
-set(CMake_VERSION_MINOR 8)
-set(CMake_VERSION_PATCH 12)
-set(CMake_VERSION_TWEAK 2)
-#set(CMake_VERSION_RC 0)
+set(CMake_VERSION_MAJOR 3)
+set(CMake_VERSION_MINOR 0)
+set(CMake_VERSION_PATCH 0)
+set(CMake_VERSION_RC 3)
diff --git a/Source/CMakeVersionCompute.cmake b/Source/CMakeVersionCompute.cmake
new file mode 100644
index 0000000..496d6cf
--- /dev/null
+++ b/Source/CMakeVersionCompute.cmake
@@ -0,0 +1,20 @@
+# Load version number components.
+include(${CMake_SOURCE_DIR}/Source/CMakeVersion.cmake)
+
+# Releases define a small patch level.
+if("${CMake_VERSION_PATCH}" VERSION_LESS 20000000)
+ set(CMake_VERSION_IS_RELEASE 1)
+ set(CMake_VERSION_SOURCE "")
+else()
+ set(CMake_VERSION_IS_RELEASE 0)
+ include(${CMake_SOURCE_DIR}/Source/CMakeVersionSource.cmake)
+endif()
+
+# Compute the full version string.
+set(CMake_VERSION ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}.${CMake_VERSION_PATCH})
+if(CMake_VERSION_RC)
+ set(CMake_VERSION ${CMake_VERSION}-rc${CMake_VERSION_RC})
+endif()
+if(CMake_VERSION_SOURCE)
+ set(CMake_VERSION ${CMake_VERSION}-${CMake_VERSION_SOURCE})
+endif()
diff --git a/Source/CPack/OSXScriptLauncher.cxx b/Source/CPack/OSXScriptLauncher.cxx
index a9842c1..d9d6236 100644
--- a/Source/CPack/OSXScriptLauncher.cxx
+++ b/Source/CPack/OSXScriptLauncher.cxx
@@ -11,8 +11,8 @@
============================================================================*/
#include <cmsys/SystemTools.hxx>
#include <cmsys/Process.h>
-#include <cmsys/ios/fstream>
#include <cmsys/ios/iostream>
+#include <cmsys/FStream.hxx>
#include <CoreFoundation/CoreFoundation.h>
@@ -27,7 +27,7 @@ int main(int argc, char* argv[])
{
//if ( cmsys::SystemTools::FileExists(
cmsys_stl::string cwd = cmsys::SystemTools::GetCurrentWorkingDirectory();
- cmsys_ios::ofstream ofs("/tmp/output.txt");
+ cmsys::ofstream ofs("/tmp/output.txt");
CFStringRef fileName;
CFBundleRef appBundle;
diff --git a/Source/CPack/WiX/cmCPackWIXGenerator.cxx b/Source/CPack/WiX/cmCPackWIXGenerator.cxx
index cc9dec7..43119d6 100644
--- a/Source/CPack/WiX/cmCPackWIXGenerator.cxx
+++ b/Source/CPack/WiX/cmCPackWIXGenerator.cxx
@@ -1,6 +1,6 @@
/*============================================================================
CMake - Cross Platform Makefile Generator
- Copyright 2000-2012 Kitware, Inc., Insight Software Consortium
+ Copyright 2000-2013 Kitware, Inc., Insight Software Consortium
Distributed under the OSI-approved BSD License (the "License");
see accompanying file Copyright.txt for details.
@@ -14,6 +14,7 @@
#include <cmSystemTools.h>
#include <cmGeneratedFileStream.h>
+#include <cmCryptoHash.h>
#include <CPack/cmCPackLog.h>
#include <CPack/cmCPackComponentGroup.h>
@@ -22,9 +23,20 @@
#include <cmsys/SystemTools.hxx>
#include <cmsys/Directory.hxx>
+#include <cmsys/Encoding.hxx>
+#include <cmsys/FStream.hxx>
#include <rpc.h> // for GUID generation
+#include <sys/types.h>
+#include <sys/stat.h>
+
+cmCPackWIXGenerator::cmCPackWIXGenerator():
+ HasDesktopShortcuts(false)
+{
+
+}
+
int cmCPackWIXGenerator::InitializeInternal()
{
componentPackageMethod = ONE_PACKAGE;
@@ -51,7 +63,7 @@ bool cmCPackWIXGenerator::RunWiXCommand(const std::string& command)
bool status = cmSystemTools::RunSingleCommand(command.c_str(), &output,
&returnValue, 0, cmSystemTools::OUTPUT_NONE);
- std::ofstream logFile(logFileName.c_str(), std::ios::app);
+ cmsys::ofstream logFile(logFileName.c_str(), std::ios::app);
logFile << command << std::endl;
logFile << output;
logFile.close();
@@ -82,6 +94,15 @@ bool cmCPackWIXGenerator::RunCandleCommand(
command << " -nologo";
command << " -arch " << GetArchitecture();
command << " -out " << QuotePath(objectFile);
+
+ for(extension_set_t::const_iterator i = CandleExtensions.begin();
+ i != CandleExtensions.end(); ++i)
+ {
+ command << " -ext " << QuotePath(*i);
+ }
+
+ AddCustomFlags("CPACK_WIX_CANDLE_EXTRA_FLAGS", command);
+
command << " " << QuotePath(sourceFile);
return RunWiXCommand(command.str());
@@ -99,12 +120,21 @@ bool cmCPackWIXGenerator::RunLightCommand(const std::string& objectFiles)
command << QuotePath(executable);
command << " -nologo";
command << " -out " << QuotePath(packageFileNames.at(0));
- command << " -ext WixUIExtension";
+
+ for(extension_set_t::const_iterator i = LightExtensions.begin();
+ i != LightExtensions.end(); ++i)
+ {
+ command << " -ext " << QuotePath(*i);
+ }
+
const char* const cultures = GetOption("CPACK_WIX_CULTURES");
if(cultures)
{
command << " -cultures:" << cultures;
}
+
+ AddCustomFlags("CPACK_WIX_LIGHT_EXTRA_FLAGS", command);
+
command << " " << objectFiles;
return RunWiXCommand(command.str());
@@ -169,6 +199,41 @@ bool cmCPackWIXGenerator::InitializeWiXConfiguration()
}
}
+ if(GetOption("CPACK_PACKAGE_VENDOR") == 0)
+ {
+ std::string defaultVendor = "Humanity";
+ SetOption("CPACK_PACKAGE_VENDOR", defaultVendor.c_str());
+
+ cmCPackLogger(cmCPackLog::LOG_VERBOSE,
+ "CPACK_PACKAGE_VENDOR implicitly set to " << defaultVendor << " . "
+ << std::endl);
+ }
+
+ if(GetOption("CPACK_WIX_UI_REF") == 0)
+ {
+ std::string defaultRef = "WixUI_InstallDir";
+
+ if(Components.size())
+ {
+ defaultRef = "WixUI_FeatureTree";
+ }
+
+ SetOption("CPACK_WIX_UI_REF", defaultRef.c_str());
+ }
+
+ CollectExtensions("CPACK_WIX_EXTENSIONS", CandleExtensions);
+ CollectExtensions("CPACK_WIX_CANDLE_EXTENSIONS", CandleExtensions);
+
+ LightExtensions.insert("WixUIExtension");
+ CollectExtensions("CPACK_WIX_EXTENSIONS", LightExtensions);
+ CollectExtensions("CPACK_WIX_LIGHT_EXTENSIONS", LightExtensions);
+
+ const char* patchFilePath = GetOption("CPACK_WIX_PATCH_FILE");
+ if(patchFilePath)
+ {
+ LoadPatchFragments(patchFilePath);
+ }
+
return true;
}
@@ -189,10 +254,12 @@ bool cmCPackWIXGenerator::PackageFilesImpl()
return false;
}
+ AppendUserSuppliedExtraSources();
+
std::stringstream objectFiles;
- for(size_t i = 0; i < wixSources.size(); ++i)
+ for(size_t i = 0; i < WixSources.size(); ++i)
{
- const std::string& sourceFilename = wixSources[i];
+ const std::string& sourceFilename = WixSources[i];
std::string objectFilename =
cmSystemTools::GetFilenameWithoutExtension(sourceFilename) + ".wixobj";
@@ -205,9 +272,35 @@ bool cmCPackWIXGenerator::PackageFilesImpl()
objectFiles << " " << QuotePath(objectFilename);
}
+ AppendUserSuppliedExtraObjects(objectFiles);
+
return RunLightCommand(objectFiles.str());
}
+void cmCPackWIXGenerator::AppendUserSuppliedExtraSources()
+{
+ const char *cpackWixExtraSources = GetOption("CPACK_WIX_EXTRA_SOURCES");
+ if(!cpackWixExtraSources) return;
+
+ cmSystemTools::ExpandListArgument(cpackWixExtraSources, WixSources);
+}
+
+void cmCPackWIXGenerator::AppendUserSuppliedExtraObjects(std::ostream& stream)
+{
+ const char *cpackWixExtraObjects = GetOption("CPACK_WIX_EXTRA_OBJECTS");
+ if(!cpackWixExtraObjects) return;
+
+ std::vector<std::string> expandedExtraObjects;
+
+ cmSystemTools::ExpandListArgument(
+ cpackWixExtraObjects, expandedExtraObjects);
+
+ for(size_t i = 0; i < expandedExtraObjects.size(); ++i)
+ {
+ stream << " " << QuotePath(expandedExtraObjects[i]);
+ }
+}
+
bool cmCPackWIXGenerator::CreateWiXVariablesIncludeFile()
{
std::string cpackTopLevel;
@@ -232,6 +325,7 @@ bool cmCPackWIXGenerator::CreateWiXVariablesIncludeFile()
SetOptionIfNotSet("CPACK_WIX_PROGRAM_MENU_FOLDER",
GetOption("CPACK_PACKAGE_NAME"));
CopyDefinition(includeFile, "CPACK_WIX_PROGRAM_MENU_FOLDER");
+ CopyDefinition(includeFile, "CPACK_WIX_UI_REF");
return true;
}
@@ -267,7 +361,7 @@ bool cmCPackWIXGenerator::CreateWiXSourceFiles()
std::string directoryDefinitionsFilename =
cpackTopLevel + "/directories.wxs";
- wixSources.push_back(directoryDefinitionsFilename);
+ WixSources.push_back(directoryDefinitionsFilename);
cmWIXSourceWriter directoryDefinitions(Logger, directoryDefinitionsFilename);
directoryDefinitions.BeginElement("Fragment");
@@ -319,13 +413,10 @@ bool cmCPackWIXGenerator::CreateWiXSourceFiles()
directoryDefinitions.AddAttribute("Name", install_root[i]);
}
- size_t directoryCounter = 0;
- size_t fileCounter = 0;
-
std::string fileDefinitionsFilename =
cpackTopLevel + "/files.wxs";
- wixSources.push_back(fileDefinitionsFilename);
+ WixSources.push_back(fileDefinitionsFilename);
cmWIXSourceWriter fileDefinitions(Logger, fileDefinitionsFilename);
fileDefinitions.BeginElement("Fragment");
@@ -333,122 +424,114 @@ bool cmCPackWIXGenerator::CreateWiXSourceFiles()
std::string featureDefinitionsFilename =
cpackTopLevel +"/features.wxs";
- wixSources.push_back(featureDefinitionsFilename);
+ WixSources.push_back(featureDefinitionsFilename);
cmWIXSourceWriter featureDefinitions(Logger, featureDefinitionsFilename);
featureDefinitions.BeginElement("Fragment");
featureDefinitions.BeginElement("Feature");
featureDefinitions.AddAttribute("Id", "ProductFeature");
- featureDefinitions.AddAttribute("Title", Name);
+ featureDefinitions.AddAttribute("Display", "expand");
+ featureDefinitions.AddAttribute("ConfigurableDirectory", "INSTALL_ROOT");
+
+ std::string cpackPackageName;
+ if(!RequireOption("CPACK_PACKAGE_NAME", cpackPackageName))
+ {
+ return false;
+ }
+ featureDefinitions.AddAttribute("Title", cpackPackageName);
+
featureDefinitions.AddAttribute("Level", "1");
- featureDefinitions.EndElement();
- featureDefinitions.BeginElement("FeatureRef");
- featureDefinitions.AddAttribute("Id", "ProductFeature");
+ if(!CreateCMakePackageRegistryEntry(featureDefinitions))
+ {
+ return false;
+ }
- const char *cpackPackageExecutables = GetOption("CPACK_PACKAGE_EXECUTABLES");
- std::vector<std::string> cpackPkgExecutables;
- std::string regKey;
- if ( cpackPackageExecutables )
+ if(!CreateFeatureHierarchy(featureDefinitions))
{
- cmSystemTools::ExpandListArgument(cpackPackageExecutables,
- cpackPkgExecutables);
- if ( cpackPkgExecutables.size() % 2 != 0 )
- {
- cmCPackLogger(cmCPackLog::LOG_ERROR,
- "CPACK_PACKAGE_EXECUTABLES should contain pairs of <executable> and "
- "<icon name>." << std::endl);
- cpackPkgExecutables.clear();
- }
+ return false;
+ }
+
+ featureDefinitions.EndElement("Feature");
- const char *cpackVendor = GetOption("CPACK_PACKAGE_VENDOR");
- const char *cpackPkgName = GetOption("CPACK_PACKAGE_NAME");
- if (!cpackVendor || !cpackPkgName)
+ bool hasShortcuts = false;
+
+ shortcut_map_t globalShortcuts;
+ if(Components.empty())
+ {
+ AddComponentsToFeature(toplevel, "ProductFeature",
+ directoryDefinitions, fileDefinitions, featureDefinitions,
+ globalShortcuts);
+ if(globalShortcuts.size())
{
- cmCPackLogger(cmCPackLog::LOG_WARNING, "CPACK_PACKAGE_VENDOR and "
- "CPACK_PACKAGE_NAME must be defined for shortcut creation" << std::endl);
- cpackPkgExecutables.clear();
+ hasShortcuts = true;
}
- else
+ }
+ else
+ {
+ for(std::map<std::string, cmCPackComponent>::const_iterator
+ i = Components.begin(); i != Components.end(); ++i)
{
- regKey = std::string("Software/") + cpackVendor + "/" + cpackPkgName;
+ cmCPackComponent const& component = i->second;
+
+ std::string componentPath = toplevel;
+ componentPath += "/";
+ componentPath += component.Name;
+
+ std::string componentFeatureId = "CM_C_" + component.Name;
+
+ shortcut_map_t featureShortcuts;
+ AddComponentsToFeature(componentPath, componentFeatureId,
+ directoryDefinitions, fileDefinitions,
+ featureDefinitions, featureShortcuts);
+ if(featureShortcuts.size())
+ {
+ hasShortcuts = true;
+ }
+
+ if(featureShortcuts.size())
+ {
+ if(!CreateStartMenuShortcuts(component.Name, componentFeatureId,
+ featureShortcuts, fileDefinitions, featureDefinitions))
+ {
+ return false;
+ }
+ }
}
}
- std::vector<std::string> dirIdExecutables;
- AddDirectoryAndFileDefinitons(
- toplevel, "INSTALL_ROOT",
- directoryDefinitions, fileDefinitions, featureDefinitions,
- directoryCounter, fileCounter, cpackPkgExecutables, dirIdExecutables);
+ if(hasShortcuts)
+ {
+ if(!CreateStartMenuShortcuts(std::string(), "ProductFeature",
+ globalShortcuts, fileDefinitions, featureDefinitions))
+ {
+ return false;
+ }
+ }
- directoryDefinitions.EndElement();
- directoryDefinitions.EndElement();
+ featureDefinitions.EndElement("Fragment");
+ fileDefinitions.EndElement("Fragment");
- if (dirIdExecutables.size() > 0 && dirIdExecutables.size() % 3 == 0)
+ for(size_t i = 1; i < install_root.size(); ++i)
{
- fileDefinitions.BeginElement("DirectoryRef");
- fileDefinitions.AddAttribute("Id", "PROGRAM_MENU_FOLDER");
- fileDefinitions.BeginElement("Component");
- fileDefinitions.AddAttribute("Id", "SHORTCUT");
- fileDefinitions.AddAttribute("Guid", "*");
+ directoryDefinitions.EndElement("Directory");
+ }
- std::vector<std::string>::iterator it;
- for ( it = dirIdExecutables.begin() ;
- it != dirIdExecutables.end();
- ++it)
- {
- std::string fileName = *it++;
- std::string iconName = *it++;
- std::string directoryId = *it;
+ directoryDefinitions.EndElement("Directory");
- fileDefinitions.BeginElement("Shortcut");
- std::string shortcutName = fileName; // the iconName is mor likely to contain blanks early on
- std::string::size_type const dotPos = shortcutName.find('.');
- if(std::string::npos == dotPos)
- { shortcutName = shortcutName.substr(0, dotPos); }
- fileDefinitions.AddAttribute("Id", "SHORTCUT_" + shortcutName);
- fileDefinitions.AddAttribute("Name", iconName);
- std::string target = "[" + directoryId + "]" + fileName;
- fileDefinitions.AddAttribute("Target", target);
- fileDefinitions.AddAttribute("WorkingDirectory", directoryId);
- fileDefinitions.EndElement();
- }
- fileDefinitions.BeginElement("Shortcut");
- fileDefinitions.AddAttribute("Id", "UNINSTALL");
- std::string pkgName = GetOption("CPACK_PACKAGE_NAME");
- fileDefinitions.AddAttribute("Name", "Uninstall " + pkgName);
- fileDefinitions.AddAttribute("Description", "Uninstalls " + pkgName);
- fileDefinitions.AddAttribute("Target", "[SystemFolder]msiexec.exe");
- fileDefinitions.AddAttribute("Arguments", "/x [ProductCode]");
- fileDefinitions.EndElement();
- fileDefinitions.BeginElement("RemoveFolder");
- fileDefinitions.AddAttribute("Id", "PROGRAM_MENU_FOLDER");
- fileDefinitions.AddAttribute("On", "uninstall");
- fileDefinitions.EndElement();
- fileDefinitions.BeginElement("RegistryValue");
- fileDefinitions.AddAttribute("Root", "HKCU");
- fileDefinitions.AddAttribute("Key", regKey);
- fileDefinitions.AddAttribute("Name", "installed");
- fileDefinitions.AddAttribute("Type", "integer");
- fileDefinitions.AddAttribute("Value", "1");
- fileDefinitions.AddAttribute("KeyPath", "yes");
+ if(hasShortcuts)
+ {
+ CreateStartMenuFolder(directoryDefinitions);
+ }
- featureDefinitions.BeginElement("ComponentRef");
- featureDefinitions.AddAttribute("Id", "SHORTCUT");
- featureDefinitions.EndElement();
- directoryDefinitions.BeginElement("Directory");
- directoryDefinitions.AddAttribute("Id", "ProgramMenuFolder");
- directoryDefinitions.BeginElement("Directory");
- directoryDefinitions.AddAttribute("Id", "PROGRAM_MENU_FOLDER");
- const char *startMenuFolder = GetOption("CPACK_WIX_PROGRAM_MENU_FOLDER");
- directoryDefinitions.AddAttribute("Name", startMenuFolder);
- }
+ if(this->HasDesktopShortcuts)
+ {
+ CreateDesktopFolder(directoryDefinitions);
+ }
- featureDefinitions.EndElement();
- featureDefinitions.EndElement();
- fileDefinitions.EndElement();
- directoryDefinitions.EndElement();
+ directoryDefinitions.EndElement("Directory");
+ directoryDefinitions.EndElement("Fragment");
std::string wixTemplate = FindTemplate("WIX.template.in");
if(GetOption("CPACK_WIX_TEMPLATE") != 0)
@@ -473,11 +556,383 @@ bool cmCPackWIXGenerator::CreateWiXSourceFiles()
return false;
}
- wixSources.push_back(mainSourceFilePath);
+ WixSources.push_back(mainSourceFilePath);
+
+ std::string fragmentList;
+ for(cmWIXPatchParser::fragment_map_t::const_iterator
+ i = Fragments.begin(); i != Fragments.end(); ++i)
+ {
+ if(!fragmentList.empty())
+ {
+ fragmentList += ", ";
+ }
+
+ fragmentList += "'";
+ fragmentList += i->first;
+ fragmentList += "'";
+ }
+
+ if(fragmentList.size())
+ {
+ cmCPackLogger(cmCPackLog::LOG_ERROR,
+ "Some XML patch fragments did not have matching IDs: " <<
+ fragmentList << std::endl);
+ return false;
+ }
+
+ return true;
+}
+
+bool cmCPackWIXGenerator::CreateCMakePackageRegistryEntry(
+ cmWIXSourceWriter& featureDefinitions)
+{
+ const char* package = GetOption("CPACK_WIX_CMAKE_PACKAGE_REGISTRY");
+ if(!package)
+ {
+ return true;
+ }
+
+ featureDefinitions.BeginElement("Component");
+ featureDefinitions.AddAttribute("Id", "CM_PACKAGE_REGISTRY");
+ featureDefinitions.AddAttribute("Directory", "TARGETDIR");
+ featureDefinitions.AddAttribute("Guid", "*");
+
+ std::string registryKey =
+ std::string("Software\\Kitware\\CMake\\Packages\\") + package;
+
+ std::string upgradeGuid = GetOption("CPACK_WIX_UPGRADE_GUID");
+
+ featureDefinitions.BeginElement("RegistryValue");
+ featureDefinitions.AddAttribute("Root", "HKLM");
+ featureDefinitions.AddAttribute("Key", registryKey);
+ featureDefinitions.AddAttribute("Name", upgradeGuid);
+ featureDefinitions.AddAttribute("Type", "string");
+ featureDefinitions.AddAttribute("Value", "[INSTALL_ROOT]");
+ featureDefinitions.AddAttribute("KeyPath", "yes");
+ featureDefinitions.EndElement("RegistryValue");
+
+ featureDefinitions.EndElement("Component");
+
+ return true;
+}
+
+bool cmCPackWIXGenerator::CreateFeatureHierarchy(
+ cmWIXSourceWriter& featureDefinitions)
+{
+ for(std::map<std::string, cmCPackComponentGroup>::const_iterator
+ i = ComponentGroups.begin(); i != ComponentGroups.end(); ++i)
+ {
+ cmCPackComponentGroup const& group = i->second;
+ if(group.ParentGroup == 0)
+ {
+ if(!EmitFeatureForComponentGroup(featureDefinitions, group))
+ {
+ return false;
+ }
+ }
+ }
+
+ for(std::map<std::string, cmCPackComponent>::const_iterator
+ i = Components.begin(); i != Components.end(); ++i)
+ {
+ cmCPackComponent const& component = i->second;
+
+ if(!component.Group)
+ {
+ if(!EmitFeatureForComponent(featureDefinitions, component))
+ {
+ return false;
+ }
+ }
+ }
+
+ return true;
+}
+
+bool cmCPackWIXGenerator::EmitFeatureForComponentGroup(
+ cmWIXSourceWriter& featureDefinitions,
+ cmCPackComponentGroup const& group)
+{
+ featureDefinitions.BeginElement("Feature");
+ featureDefinitions.AddAttribute("Id", "CM_G_" + group.Name);
+
+ if(group.IsExpandedByDefault)
+ {
+ featureDefinitions.AddAttribute("Display", "expand");
+ }
+
+ featureDefinitions.AddAttributeUnlessEmpty(
+ "Title", group.DisplayName);
+
+ featureDefinitions.AddAttributeUnlessEmpty(
+ "Description", group.Description);
+
+ for(std::vector<cmCPackComponentGroup*>::const_iterator
+ i = group.Subgroups.begin(); i != group.Subgroups.end(); ++i)
+ {
+ if(!EmitFeatureForComponentGroup(featureDefinitions, **i))
+ {
+ return false;
+ }
+ }
+
+ for(std::vector<cmCPackComponent*>::const_iterator
+ i = group.Components.begin(); i != group.Components.end(); ++i)
+ {
+ if(!EmitFeatureForComponent(featureDefinitions, **i))
+ {
+ return false;
+ }
+ }
+
+ featureDefinitions.EndElement("Feature");
+
+ return true;
+}
+
+bool cmCPackWIXGenerator::EmitFeatureForComponent(
+ cmWIXSourceWriter& featureDefinitions,
+ cmCPackComponent const& component)
+{
+ featureDefinitions.BeginElement("Feature");
+ featureDefinitions.AddAttribute("Id", "CM_C_" + component.Name);
+
+ featureDefinitions.AddAttributeUnlessEmpty(
+ "Title", component.DisplayName);
+
+ featureDefinitions.AddAttributeUnlessEmpty(
+ "Description", component.Description);
+
+ if(component.IsRequired)
+ {
+ featureDefinitions.AddAttribute("Absent", "disallow");
+ }
+
+ if(component.IsHidden)
+ {
+ featureDefinitions.AddAttribute("Display", "hidden");
+ }
+
+ featureDefinitions.EndElement("Feature");
+
+ return true;
+}
+
+bool cmCPackWIXGenerator::AddComponentsToFeature(
+ std::string const& rootPath,
+ std::string const& featureId,
+ cmWIXSourceWriter& directoryDefinitions,
+ cmWIXSourceWriter& fileDefinitions,
+ cmWIXSourceWriter& featureDefinitions,
+ shortcut_map_t& shortcutMap)
+{
+ featureDefinitions.BeginElement("FeatureRef");
+ featureDefinitions.AddAttribute("Id", featureId);
+
+ std::vector<std::string> cpackPackageExecutablesList;
+ const char *cpackPackageExecutables = GetOption("CPACK_PACKAGE_EXECUTABLES");
+ if(cpackPackageExecutables)
+ {
+ cmSystemTools::ExpandListArgument(cpackPackageExecutables,
+ cpackPackageExecutablesList);
+ if(cpackPackageExecutablesList.size() % 2 != 0 )
+ {
+ cmCPackLogger(cmCPackLog::LOG_ERROR,
+ "CPACK_PACKAGE_EXECUTABLES should contain pairs of <executable> and "
+ "<text label>." << std::endl);
+ return false;
+ }
+ }
+
+ std::vector<std::string> cpackPackageDesktopLinksList;
+ const char *cpackPackageDesktopLinks =
+ GetOption("CPACK_CREATE_DESKTOP_LINKS");
+ if(cpackPackageDesktopLinks)
+ {
+ cmSystemTools::ExpandListArgument(cpackPackageDesktopLinks,
+ cpackPackageDesktopLinksList);
+ }
+
+ AddDirectoryAndFileDefinitons(
+ rootPath, "INSTALL_ROOT",
+ directoryDefinitions, fileDefinitions, featureDefinitions,
+ cpackPackageExecutablesList, cpackPackageDesktopLinksList,
+ shortcutMap);
+
+ featureDefinitions.EndElement("FeatureRef");
+
+ return true;
+}
+
+bool cmCPackWIXGenerator::CreateStartMenuShortcuts(
+ std::string const& cpackComponentName,
+ std::string const& featureId,
+ shortcut_map_t& shortcutMap,
+ cmWIXSourceWriter& fileDefinitions,
+ cmWIXSourceWriter& featureDefinitions)
+{
+ bool thisHasDesktopShortcuts = false;
+
+ featureDefinitions.BeginElement("FeatureRef");
+ featureDefinitions.AddAttribute("Id", featureId);
+
+ std::string cpackVendor;
+ if(!RequireOption("CPACK_PACKAGE_VENDOR", cpackVendor))
+ {
+ return false;
+ }
+
+ std::string cpackPackageName;
+ if(!RequireOption("CPACK_PACKAGE_NAME", cpackPackageName))
+ {
+ return false;
+ }
+
+ std::string idSuffix;
+ if(!cpackComponentName.empty())
+ {
+ idSuffix += "_";
+ idSuffix += cpackComponentName;
+ }
+
+ std::string componentId = "CM_SHORTCUT" + idSuffix;
+
+ fileDefinitions.BeginElement("DirectoryRef");
+ fileDefinitions.AddAttribute("Id", "PROGRAM_MENU_FOLDER");
+ fileDefinitions.BeginElement("Component");
+ fileDefinitions.AddAttribute("Id", componentId);
+ fileDefinitions.AddAttribute("Guid", "*");
+
+ for(shortcut_map_t::const_iterator
+ i = shortcutMap.begin(); i != shortcutMap.end(); ++i)
+ {
+ std::string const& id = i->first;
+ cmWIXShortcut const& shortcut = i->second;
+
+ std::string shortcutId = std::string("CM_S") + id;
+ std::string fileId = std::string("CM_F") + id;
+
+ fileDefinitions.BeginElement("Shortcut");
+ fileDefinitions.AddAttribute("Id", shortcutId);
+ fileDefinitions.AddAttribute("Name", shortcut.textLabel);
+ std::string target = "[#" + fileId + "]";
+ fileDefinitions.AddAttribute("Target", target);
+ fileDefinitions.AddAttribute("WorkingDirectory",
+ shortcut.workingDirectoryId);
+ fileDefinitions.EndElement("Shortcut");
+
+ if (shortcut.desktop)
+ {
+ thisHasDesktopShortcuts = true;
+ }
+ }
+
+ if(cpackComponentName.empty())
+ {
+ CreateUninstallShortcut(cpackPackageName, fileDefinitions);
+ }
+
+ fileDefinitions.BeginElement("RemoveFolder");
+ fileDefinitions.AddAttribute("Id",
+ "CM_REMOVE_PROGRAM_MENU_FOLDER" + idSuffix);
+ fileDefinitions.AddAttribute("On", "uninstall");
+ fileDefinitions.EndElement("RemoveFolder");
+
+ std::string registryKey =
+ std::string("Software\\") + cpackVendor + "\\" + cpackPackageName;
+
+ fileDefinitions.BeginElement("RegistryValue");
+ fileDefinitions.AddAttribute("Root", "HKCU");
+ fileDefinitions.AddAttribute("Key", registryKey);
+
+ std::string valueName;
+ if(!cpackComponentName.empty())
+ {
+ valueName = cpackComponentName + "_";
+ }
+ valueName += "installed";
+
+ fileDefinitions.AddAttribute("Name", valueName);
+ fileDefinitions.AddAttribute("Type", "integer");
+ fileDefinitions.AddAttribute("Value", "1");
+ fileDefinitions.AddAttribute("KeyPath", "yes");
+ fileDefinitions.EndElement("RegistryValue");
+
+ fileDefinitions.EndElement("Component");
+ fileDefinitions.EndElement("DirectoryRef");
+
+ featureDefinitions.BeginElement("ComponentRef");
+ featureDefinitions.AddAttribute("Id", componentId);
+ featureDefinitions.EndElement("ComponentRef");
+
+ if (thisHasDesktopShortcuts)
+ {
+ this->HasDesktopShortcuts = true;
+ componentId = "CM_DESKTOP_SHORTCUT" + idSuffix;
+
+ fileDefinitions.BeginElement("DirectoryRef");
+ fileDefinitions.AddAttribute("Id", "DesktopFolder");
+ fileDefinitions.BeginElement("Component");
+ fileDefinitions.AddAttribute("Id", componentId);
+ fileDefinitions.AddAttribute("Guid", "*");
+
+ for (shortcut_map_t::const_iterator
+ i = shortcutMap.begin(); i != shortcutMap.end(); ++i)
+ {
+ std::string const& id = i->first;
+ cmWIXShortcut const& shortcut = i->second;
+
+ if (!shortcut.desktop)
+ continue;
+
+ std::string shortcutId = std::string("CM_DS") + id;
+ std::string fileId = std::string("CM_F") + id;
+
+ fileDefinitions.BeginElement("Shortcut");
+ fileDefinitions.AddAttribute("Id", shortcutId);
+ fileDefinitions.AddAttribute("Name", shortcut.textLabel);
+ std::string target = "[#" + fileId + "]";
+ fileDefinitions.AddAttribute("Target", target);
+ fileDefinitions.AddAttribute("WorkingDirectory",
+ shortcut.workingDirectoryId);
+ fileDefinitions.EndElement("Shortcut");
+ }
+
+ fileDefinitions.BeginElement("RegistryValue");
+ fileDefinitions.AddAttribute("Root", "HKCU");
+ fileDefinitions.AddAttribute("Key", registryKey);
+ fileDefinitions.AddAttribute("Name", valueName + "_desktop");
+ fileDefinitions.AddAttribute("Type", "integer");
+ fileDefinitions.AddAttribute("Value", "1");
+ fileDefinitions.AddAttribute("KeyPath", "yes");
+ fileDefinitions.EndElement("RegistryValue");
+
+ fileDefinitions.EndElement("Component");
+ fileDefinitions.EndElement("DirectoryRef");
+
+ featureDefinitions.BeginElement("ComponentRef");
+ featureDefinitions.AddAttribute("Id", componentId);
+ featureDefinitions.EndElement("ComponentRef");
+ }
+
+ featureDefinitions.EndElement("FeatureRef");
return true;
}
+void cmCPackWIXGenerator::CreateUninstallShortcut(
+ std::string const& packageName,
+ cmWIXSourceWriter& fileDefinitions)
+{
+ fileDefinitions.BeginElement("Shortcut");
+ fileDefinitions.AddAttribute("Id", "UNINSTALL");
+ fileDefinitions.AddAttribute("Name", "Uninstall " + packageName);
+ fileDefinitions.AddAttribute("Description", "Uninstalls " + packageName);
+ fileDefinitions.AddAttribute("Target", "[SystemFolder]msiexec.exe");
+ fileDefinitions.AddAttribute("Arguments", "/x [ProductCode]");
+ fileDefinitions.EndElement("Shortcut");
+}
+
bool cmCPackWIXGenerator::CreateLicenseFile()
{
std::string licenseSourceFilename;
@@ -504,7 +959,7 @@ bool cmCPackWIXGenerator::CreateLicenseFile()
{
cmWIXRichTextFormatWriter rtfWriter(licenseDestinationFilename);
- std::ifstream licenseSource(licenseSourceFilename.c_str());
+ cmsys::ifstream licenseSource(licenseSourceFilename.c_str());
std::string line;
while(std::getline(licenseSource, line))
@@ -531,10 +986,9 @@ void cmCPackWIXGenerator::AddDirectoryAndFileDefinitons(
cmWIXSourceWriter& directoryDefinitions,
cmWIXSourceWriter& fileDefinitions,
cmWIXSourceWriter& featureDefinitions,
- size_t& directoryCounter,
- size_t& fileCounter,
- const std::vector<std::string>& pkgExecutables,
- std::vector<std::string>& dirIdExecutables)
+ const std::vector<std::string>& packageExecutables,
+ const std::vector<std::string>& desktopExecutables,
+ shortcut_map_t& shortcutMap)
{
cmsys::Directory dir;
dir.Load(topdir.c_str());
@@ -550,11 +1004,14 @@ void cmCPackWIXGenerator::AddDirectoryAndFileDefinitons(
std::string fullPath = topdir + "/" + fileName;
+ std::string relativePath = cmSystemTools::RelativePath(
+ toplevel.c_str(), fullPath.c_str());
+
+ std::string id = PathToId(relativePath);
+
if(cmSystemTools::FileIsDirectory(fullPath.c_str()))
{
- std::stringstream tmp;
- tmp << "DIR_ID_" << ++directoryCounter;
- std::string subDirectoryId = tmp.str();
+ std::string subDirectoryId = std::string("CM_D") + id;
directoryDefinitions.BeginElement("Directory");
directoryDefinitions.AddAttribute("Id", subDirectoryId);
@@ -565,20 +1022,17 @@ void cmCPackWIXGenerator::AddDirectoryAndFileDefinitons(
directoryDefinitions,
fileDefinitions,
featureDefinitions,
- directoryCounter,
- fileCounter,
- pkgExecutables,
- dirIdExecutables);
- directoryDefinitions.EndElement();
+ packageExecutables,
+ desktopExecutables,
+ shortcutMap);
+
+ ApplyPatchFragment(subDirectoryId, directoryDefinitions);
+ directoryDefinitions.EndElement("Directory");
}
else
{
- std::stringstream tmp;
- tmp << "_ID_" << ++fileCounter;
- std::string idSuffix = tmp.str();
-
- std::string componentId = std::string("CMP") + idSuffix;
- std::string fileId = std::string("FILE") + idSuffix;
+ std::string componentId = std::string("CM_C") + id;
+ std::string fileId = std::string("CM_F") + id;
fileDefinitions.BeginElement("DirectoryRef");
fileDefinitions.AddAttribute("Id", directoryId);
@@ -592,28 +1046,45 @@ void cmCPackWIXGenerator::AddDirectoryAndFileDefinitons(
fileDefinitions.AddAttribute("Source", fullPath);
fileDefinitions.AddAttribute("KeyPath", "yes");
- fileDefinitions.EndElement();
- fileDefinitions.EndElement();
- fileDefinitions.EndElement();
+ mode_t fileMode = 0;
+ cmSystemTools::GetPermissions(fullPath.c_str(), fileMode);
+
+ if(!(fileMode & S_IWRITE))
+ {
+ fileDefinitions.AddAttribute("ReadOnly", "yes");
+ }
+
+ ApplyPatchFragment(fileId, fileDefinitions);
+ fileDefinitions.EndElement("File");
+
+ ApplyPatchFragment(componentId, fileDefinitions);
+ fileDefinitions.EndElement("Component");
+ fileDefinitions.EndElement("DirectoryRef");
featureDefinitions.BeginElement("ComponentRef");
featureDefinitions.AddAttribute("Id", componentId);
- featureDefinitions.EndElement();
+ featureDefinitions.EndElement("ComponentRef");
- std::vector<std::string>::const_iterator it;
- for (it = pkgExecutables.begin() ;
- it != pkgExecutables.end() ;
- ++it)
+ for(size_t j = 0; j < packageExecutables.size(); ++j)
{
- std::string execName = *it++;
- std::string iconName = *it;
+ std::string const& executableName = packageExecutables[j++];
+ std::string const& textLabel = packageExecutables[j];
- if (cmSystemTools::LowerCase(fileName) ==
- cmSystemTools::LowerCase(execName) + ".exe")
+ if(cmSystemTools::LowerCase(fileName) ==
+ cmSystemTools::LowerCase(executableName) + ".exe")
{
- dirIdExecutables.push_back(fileName);
- dirIdExecutables.push_back(iconName);
- dirIdExecutables.push_back(directoryId);
+ cmWIXShortcut &shortcut = shortcutMap[id];
+ shortcut.textLabel= textLabel;
+ shortcut.workingDirectoryId = directoryId;
+
+ if(desktopExecutables.size() &&
+ std::find(desktopExecutables.begin(),
+ desktopExecutables.end(),
+ executableName)
+ != desktopExecutables.end())
+ {
+ shortcut.desktop = true;
+ }
}
}
}
@@ -659,11 +1130,12 @@ std::string cmCPackWIXGenerator::GenerateGUID()
UUID guid;
UuidCreate(&guid);
- unsigned char *tmp = 0;
- UuidToString(&guid, &tmp);
+ unsigned short *tmp = 0;
+ UuidToStringW(&guid, &tmp);
- std::string result(reinterpret_cast<char*>(tmp));
- RpcStringFree(&tmp);
+ std::string result =
+ cmsys::Encoding::ToNarrow(reinterpret_cast<wchar_t*>(tmp));
+ RpcStringFreeW(&tmp);
return cmSystemTools::UpperCase(result);
}
@@ -686,3 +1158,217 @@ std::string cmCPackWIXGenerator::GetRightmostExtension(
return cmSystemTools::LowerCase(extension);
}
+
+std::string cmCPackWIXGenerator::PathToId(const std::string& path)
+{
+ id_map_t::const_iterator i = PathToIdMap.find(path);
+ if(i != PathToIdMap.end()) return i->second;
+
+ std::string id = CreateNewIdForPath(path);
+ return id;
+}
+
+std::string cmCPackWIXGenerator::CreateNewIdForPath(const std::string& path)
+{
+ std::vector<std::string> components;
+ cmSystemTools::SplitPath(path.c_str(), components, false);
+
+ size_t replacementCount = 0;
+
+ std::string identifier;
+ std::string currentComponent;
+
+ for(size_t i = 1; i < components.size(); ++i)
+ {
+ if(i != 1) identifier += '.';
+
+ currentComponent = NormalizeComponentForId(
+ components[i], replacementCount);
+
+ identifier += currentComponent;
+ }
+
+ std::string idPrefix = "P";
+ size_t replacementPercent = replacementCount * 100 / identifier.size();
+ if(replacementPercent > 33 || identifier.size() > 60)
+ {
+ identifier = CreateHashedId(path, currentComponent);
+ idPrefix = "H";
+ }
+
+ std::stringstream result;
+ result << idPrefix << "_" << identifier;
+
+ size_t ambiguityCount = ++IdAmbiguityCounter[identifier];
+
+ if(ambiguityCount > 999)
+ {
+ cmCPackLogger(cmCPackLog::LOG_ERROR,
+ "Error while trying to generate a unique Id for '" <<
+ path << "'" << std::endl);
+
+ return std::string();
+ }
+ else if(ambiguityCount > 1)
+ {
+ result << "_" << ambiguityCount;
+ }
+
+ std::string resultString = result.str();
+
+ PathToIdMap[path] = resultString;
+
+ return resultString;
+}
+
+std::string cmCPackWIXGenerator::CreateHashedId(
+ const std::string& path, const std::string& normalizedFilename)
+{
+ cmsys::auto_ptr<cmCryptoHash> sha1 = cmCryptoHash::New("SHA1");
+ std::string hash = sha1->HashString(path.c_str());
+
+ std::string identifier;
+ identifier += hash.substr(0, 7) + "_";
+
+ const size_t maxFileNameLength = 52;
+ if(normalizedFilename.length() > maxFileNameLength)
+ {
+ identifier += normalizedFilename.substr(0, maxFileNameLength - 3);
+ identifier += "...";
+ }
+ else
+ {
+ identifier += normalizedFilename;
+ }
+
+ return identifier;
+}
+
+std::string cmCPackWIXGenerator::NormalizeComponentForId(
+ const std::string& component, size_t& replacementCount)
+{
+ std::string result;
+ result.resize(component.size());
+
+ for(size_t i = 0; i < component.size(); ++i)
+ {
+ char c = component[i];
+ if(IsLegalIdCharacter(c))
+ {
+ result[i] = c;
+ }
+ else
+ {
+ result[i] = '_';
+ ++ replacementCount;
+ }
+ }
+
+ return result;
+}
+
+bool cmCPackWIXGenerator::IsLegalIdCharacter(char c)
+{
+ return (c >= '0' && c <= '9') ||
+ (c >= 'a' && c <= 'z') ||
+ (c >= 'A' && c <= 'Z') ||
+ c == '_' || c == '.';
+}
+
+void cmCPackWIXGenerator::CollectExtensions(
+ const std::string& variableName, extension_set_t& extensions)
+{
+ const char *variableContent = GetOption(variableName.c_str());
+ if(!variableContent) return;
+
+ std::vector<std::string> list;
+ cmSystemTools::ExpandListArgument(variableContent, list);
+
+ for(std::vector<std::string>::const_iterator i = list.begin();
+ i != list.end(); ++i)
+ {
+ extensions.insert(*i);
+ }
+}
+
+void cmCPackWIXGenerator::AddCustomFlags(
+ const std::string& variableName, std::ostream& stream)
+{
+ const char *variableContent = GetOption(variableName.c_str());
+ if(!variableContent) return;
+
+ std::vector<std::string> list;
+ cmSystemTools::ExpandListArgument(variableContent, list);
+
+ for(std::vector<std::string>::const_iterator i = list.begin();
+ i != list.end(); ++i)
+ {
+ stream << " " << QuotePath(*i);
+ }
+}
+
+void cmCPackWIXGenerator::CreateStartMenuFolder(
+ cmWIXSourceWriter& directoryDefinitions)
+{
+ directoryDefinitions.BeginElement("Directory");
+ directoryDefinitions.AddAttribute("Id", "ProgramMenuFolder");
+
+ directoryDefinitions.BeginElement("Directory");
+ directoryDefinitions.AddAttribute("Id", "PROGRAM_MENU_FOLDER");
+ const char *startMenuFolder = GetOption("CPACK_WIX_PROGRAM_MENU_FOLDER");
+ directoryDefinitions.AddAttribute("Name", startMenuFolder);
+ directoryDefinitions.EndElement("Directory");
+
+ directoryDefinitions.EndElement("Directory");
+}
+
+void cmCPackWIXGenerator::CreateDesktopFolder(
+ cmWIXSourceWriter& directoryDefinitions)
+{
+ directoryDefinitions.BeginElement("Directory");
+ directoryDefinitions.AddAttribute("Id", "DesktopFolder");
+ directoryDefinitions.AddAttribute("Name", "Desktop");
+ directoryDefinitions.EndElement("Directory");
+}
+
+void cmCPackWIXGenerator::LoadPatchFragments(const std::string& patchFilePath)
+{
+ cmWIXPatchParser parser(Fragments, Logger);
+ parser.ParseFile(patchFilePath.c_str());
+}
+
+void cmCPackWIXGenerator::ApplyPatchFragment(
+ const std::string& id, cmWIXSourceWriter& writer)
+{
+ cmWIXPatchParser::fragment_map_t::iterator i = Fragments.find(id);
+ if(i == Fragments.end()) return;
+
+ const cmWIXPatchElement& fragment = i->second;
+ for(cmWIXPatchElement::child_list_t::const_iterator
+ j = fragment.children.begin(); j != fragment.children.end(); ++j)
+ {
+ ApplyPatchElement(**j, writer);
+ }
+
+ Fragments.erase(i);
+}
+
+void cmCPackWIXGenerator::ApplyPatchElement(
+ const cmWIXPatchElement& element, cmWIXSourceWriter& writer)
+{
+ writer.BeginElement(element.name);
+
+ for(cmWIXPatchElement::attributes_t::const_iterator
+ i = element.attributes.begin(); i != element.attributes.end(); ++i)
+ {
+ writer.AddAttribute(i->first, i->second);
+ }
+
+ for(cmWIXPatchElement::child_list_t::const_iterator
+ i = element.children.begin(); i != element.children.end(); ++i)
+ {
+ ApplyPatchElement(**i, writer);
+ }
+
+ writer.EndElement(element.name);
+}
diff --git a/Source/CPack/WiX/cmCPackWIXGenerator.h b/Source/CPack/WiX/cmCPackWIXGenerator.h
index aaccf9d..1de4810 100644
--- a/Source/CPack/WiX/cmCPackWIXGenerator.h
+++ b/Source/CPack/WiX/cmCPackWIXGenerator.h
@@ -13,11 +13,24 @@
#ifndef cmCPackWIXGenerator_h
#define cmCPackWIXGenerator_h
+#include "cmWIXPatchParser.h"
+
#include <CPack/cmCPackGenerator.h>
#include <string>
#include <map>
+struct cmWIXShortcut
+{
+ cmWIXShortcut()
+ :desktop(false)
+ {}
+
+ std::string textLabel;
+ std::string workingDirectoryId;
+ bool desktop;
+};
+
class cmWIXSourceWriter;
/** \class cmCPackWIXGenerator
@@ -28,6 +41,8 @@ class cmCPackWIXGenerator : public cmCPackGenerator
public:
cmCPackTypeMacro(cmCPackWIXGenerator, cmCPackGenerator);
+ cmCPackWIXGenerator();
+
protected:
virtual int InitializeInternal();
@@ -50,10 +65,15 @@ protected:
virtual bool SupportsComponentInstallation() const
{
- return false;
+ return true;
}
private:
+ typedef std::map<std::string, std::string> id_map_t;
+ typedef std::map<std::string, size_t> ambiguity_map_t;
+ typedef std::map<std::string, cmWIXShortcut> shortcut_map_t;
+ typedef std::set<std::string> extension_set_t;
+
bool InitializeWiXConfiguration();
bool PackageFilesImpl();
@@ -68,6 +88,43 @@ private:
bool CreateWiXSourceFiles();
+ bool CreateCMakePackageRegistryEntry(
+ cmWIXSourceWriter& featureDefinitions);
+
+ bool CreateFeatureHierarchy(
+ cmWIXSourceWriter& featureDefinitions);
+
+ bool EmitFeatureForComponentGroup(
+ cmWIXSourceWriter& featureDefinitions,
+ cmCPackComponentGroup const& group);
+
+ bool EmitFeatureForComponent(
+ cmWIXSourceWriter& featureDefinitions,
+ cmCPackComponent const& component);
+
+ bool AddComponentsToFeature(
+ std::string const& rootPath,
+ std::string const& featureId,
+ cmWIXSourceWriter& directoryDefinitions,
+ cmWIXSourceWriter& fileDefinitions,
+ cmWIXSourceWriter& featureDefinitions,
+ shortcut_map_t& shortcutMap);
+
+ bool CreateStartMenuShortcuts(
+ std::string const& cpackComponentName,
+ std::string const& featureId,
+ shortcut_map_t& shortcutMap,
+ cmWIXSourceWriter& fileDefinitions,
+ cmWIXSourceWriter& featureDefinitions);
+
+ void CreateUninstallShortcut(
+ std::string const& packageName,
+ cmWIXSourceWriter& fileDefinitions);
+
+ void AppendUserSuppliedExtraSources();
+
+ void AppendUserSuppliedExtraObjects(std::ostream& stream);
+
bool CreateLicenseFile();
bool RunWiXCommand(const std::string& command);
@@ -82,12 +139,9 @@ private:
cmWIXSourceWriter& directoryDefinitions,
cmWIXSourceWriter& fileDefinitions,
cmWIXSourceWriter& featureDefinitions,
- size_t& directoryCounter,
- size_t& fileCounter,
const std::vector<std::string>& pkgExecutables,
- std::vector<std::string>& dirIdExecutables
- );
-
+ const std::vector<std::string>& desktopExecutables,
+ shortcut_map_t& shortcutMap);
bool RequireOption(const std::string& name, std::string& value) const;
@@ -99,7 +153,45 @@ private:
static std::string GetRightmostExtension(const std::string& filename);
- std::vector<std::string> wixSources;
+ std::string PathToId(const std::string& path);
+
+ std::string CreateNewIdForPath(const std::string& path);
+
+ static std::string CreateHashedId(
+ const std::string& path, const std::string& normalizedFilename);
+
+ std::string NormalizeComponentForId(
+ const std::string& component, size_t& replacementCount);
+
+ static bool IsLegalIdCharacter(char c);
+
+ void CollectExtensions(
+ const std::string& variableName, extension_set_t& extensions);
+
+ void AddCustomFlags(
+ const std::string& variableName, std::ostream& stream);
+
+ void CreateStartMenuFolder(cmWIXSourceWriter& directoryDefinitions);
+
+ void CreateDesktopFolder(cmWIXSourceWriter& directoryDefinitions);
+
+ void LoadPatchFragments(const std::string& patchFilePath);
+
+ void ApplyPatchFragment(const std::string& id, cmWIXSourceWriter& writer);
+
+ void ApplyPatchElement(const cmWIXPatchElement& element,
+ cmWIXSourceWriter& writer);
+
+ std::vector<std::string> WixSources;
+ id_map_t PathToIdMap;
+ ambiguity_map_t IdAmbiguityCounter;
+
+ extension_set_t CandleExtensions;
+ extension_set_t LightExtensions;
+
+ cmWIXPatchParser::fragment_map_t Fragments;
+
+ bool HasDesktopShortcuts;
};
#endif
diff --git a/Source/CPack/WiX/cmWIXPatchParser.cxx b/Source/CPack/WiX/cmWIXPatchParser.cxx
new file mode 100644
index 0000000..7ceaf1f
--- /dev/null
+++ b/Source/CPack/WiX/cmWIXPatchParser.cxx
@@ -0,0 +1,145 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2013 Kitware, Inc.
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+
+#include "cmWIXPatchParser.h"
+
+#include <CPack/cmCPackGenerator.h>
+
+#include <cm_expat.h>
+
+cmWIXPatchElement::~cmWIXPatchElement()
+{
+ for(child_list_t::iterator i = children.begin(); i != children.end(); ++i)
+ {
+ delete *i;
+ }
+}
+
+cmWIXPatchParser::cmWIXPatchParser(
+ fragment_map_t& fragments, cmCPackLog* logger):
+ Logger(logger),
+ State(BEGIN_DOCUMENT),
+ Valid(true),
+ Fragments(fragments)
+{
+
+}
+
+void cmWIXPatchParser::StartElement(const char *name, const char **atts)
+{
+ std::string name_str = name;
+ if(State == BEGIN_DOCUMENT)
+ {
+ if(name_str == "CPackWiXPatch")
+ {
+ State = BEGIN_FRAGMENTS;
+ }
+ else
+ {
+ ReportValidationError("Expected root element 'CPackWiXPatch'");
+ }
+ }
+ else if(State == BEGIN_FRAGMENTS)
+ {
+ if(name_str == "CPackWiXFragment")
+ {
+ State = INSIDE_FRAGMENT;
+ StartFragment(atts);
+ }
+ else
+ {
+ ReportValidationError("Expected 'CPackWixFragment' element");
+ }
+ }
+ else if(State == INSIDE_FRAGMENT)
+ {
+ cmWIXPatchElement &parent = *ElementStack.back();
+
+ parent.children.resize(parent.children.size() + 1);
+ cmWIXPatchElement*& currentElement = parent.children.back();
+ currentElement = new cmWIXPatchElement;
+ currentElement->name = name;
+
+ for(size_t i = 0; atts[i]; i += 2)
+ {
+ std::string key = atts[i];
+ std::string value = atts[i+1];
+
+ currentElement->attributes[key] = value;
+ }
+
+ ElementStack.push_back(currentElement);
+ }
+}
+
+void cmWIXPatchParser::StartFragment(const char **attributes)
+{
+ for(size_t i = 0; attributes[i]; i += 2)
+ {
+ std::string key = attributes[i];
+ std::string value = attributes[i+1];
+
+ if(key == "Id")
+ {
+ if(Fragments.find(value) != Fragments.end())
+ {
+ std::stringstream tmp;
+ tmp << "Invalid reuse of 'CPackWixFragment' 'Id': " << value;
+ ReportValidationError(tmp.str());
+ }
+
+ ElementStack.push_back(&Fragments[value]);
+ }
+ else
+ {
+ ReportValidationError(
+ "The only allowed 'CPackWixFragment' attribute is 'Id'");
+ }
+ }
+}
+
+void cmWIXPatchParser::EndElement(const char *name)
+{
+ std::string name_str = name;
+ if(State == INSIDE_FRAGMENT)
+ {
+ if(name_str == "CPackWiXFragment")
+ {
+ State = BEGIN_FRAGMENTS;
+ ElementStack.clear();
+ }
+ else
+ {
+ ElementStack.pop_back();
+ }
+ }
+}
+
+void cmWIXPatchParser::ReportError(int line, int column, const char* msg)
+{
+ cmCPackLogger(cmCPackLog::LOG_ERROR,
+ "Error while processing XML patch file at " << line << ":" << column <<
+ ": "<< msg << std::endl);
+ Valid = false;
+}
+
+void cmWIXPatchParser::ReportValidationError(const std::string& message)
+{
+ ReportError(XML_GetCurrentLineNumber(Parser),
+ XML_GetCurrentColumnNumber(Parser),
+ message.c_str());
+}
+
+bool cmWIXPatchParser::IsValid() const
+{
+ return Valid;
+}
diff --git a/Source/CPack/WiX/cmWIXPatchParser.h b/Source/CPack/WiX/cmWIXPatchParser.h
new file mode 100644
index 0000000..91b3b66
--- /dev/null
+++ b/Source/CPack/WiX/cmWIXPatchParser.h
@@ -0,0 +1,75 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2013 Kitware, Inc.
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+
+#ifndef cmCPackWIXPatchParser_h
+#define cmCPackWIXPatchParser_h
+
+#include <cmXMLParser.h>
+
+#include <CPack/cmCPackLog.h>
+
+#include <map>
+#include <list>
+
+struct cmWIXPatchElement
+{
+ ~cmWIXPatchElement();
+
+ typedef std::list<cmWIXPatchElement*> child_list_t;
+ typedef std::map<std::string, std::string> attributes_t;
+
+ std::string name;
+ child_list_t children;
+ attributes_t attributes;
+};
+
+/** \class cmWIXPatchParser
+ * \brief Helper class that parses XML patch files (CPACK_WIX_PATCH_FILE)
+ */
+class cmWIXPatchParser : public cmXMLParser
+{
+public:
+ typedef std::map<std::string, cmWIXPatchElement> fragment_map_t;
+
+ cmWIXPatchParser(fragment_map_t& Fragments, cmCPackLog* logger);
+
+private:
+ virtual void StartElement(const char *name, const char **atts);
+
+ void StartFragment(const char **attributes);
+
+ virtual void EndElement(const char *name);
+ virtual void ReportError(int line, int column, const char* msg);
+
+ void ReportValidationError(const std::string& message);
+
+ bool IsValid() const;
+
+ cmCPackLog* Logger;
+
+ enum ParserState
+ {
+ BEGIN_DOCUMENT,
+ BEGIN_FRAGMENTS,
+ INSIDE_FRAGMENT
+ };
+
+ ParserState State;
+
+ bool Valid;
+
+ fragment_map_t& Fragments;
+
+ std::list<cmWIXPatchElement*> ElementStack;
+};
+
+#endif
diff --git a/Source/CPack/WiX/cmWIXRichTextFormatWriter.cxx b/Source/CPack/WiX/cmWIXRichTextFormatWriter.cxx
index 774c22c..ddc1d71 100644
--- a/Source/CPack/WiX/cmWIXRichTextFormatWriter.cxx
+++ b/Source/CPack/WiX/cmWIXRichTextFormatWriter.cxx
@@ -16,7 +16,7 @@
cmWIXRichTextFormatWriter::cmWIXRichTextFormatWriter(
const std::string& filename):
- file(filename.c_str(), std::ios::binary)
+ File(filename.c_str(), std::ios::binary)
{
StartGroup();
WriteHeader();
@@ -29,8 +29,8 @@ cmWIXRichTextFormatWriter::~cmWIXRichTextFormatWriter()
/* I haven't seen this in the RTF spec but
* wordpad terminates its RTF like this */
- file << "\r\n";
- file.put(0);
+ File << "\r\n";
+ File.put(0);
}
void cmWIXRichTextFormatWriter::AddText(const std::string& text)
@@ -44,16 +44,16 @@ void cmWIXRichTextFormatWriter::AddText(const std::string& text)
switch(c)
{
case '\\':
- file << "\\\\";
+ File << "\\\\";
break;
case '{':
- file << "\\{";
+ File << "\\{";
break;
case '}':
- file << "\\}";
+ File << "\\}";
break;
case '\n':
- file << "\\par\r\n";
+ File << "\\par\r\n";
break;
case '\r':
continue;
@@ -61,11 +61,45 @@ void cmWIXRichTextFormatWriter::AddText(const std::string& text)
{
if(c <= 0x7F)
{
- file << c;
+ File << c;
}
else
{
- file << "[NON-ASCII-" << int(c) << "]";
+ if(c <= 0xC0)
+ {
+ EmitInvalidCodepoint(c);
+ }
+ else if(c < 0xE0 && i+1 < text.size())
+ {
+ EmitUnicodeCodepoint(
+ (text[i+1] & 0x3F) |
+ ((c & 0x1F) << 6)
+ );
+ i+= 1;
+ }
+ else if(c < 0xF0 && i+2 < text.size())
+ {
+ EmitUnicodeCodepoint(
+ (text[i+2] & 0x3F) |
+ ((text[i+1] & 0x3F) << 6) |
+ ((c & 0xF) << 12)
+ );
+ i += 2;
+ }
+ else if(c < 0xF8 && i+3 < text.size())
+ {
+ EmitUnicodeCodepoint(
+ (text[i+3] & 0x3F) |
+ ((text[i+2] & 0x3F) << 6) |
+ ((text[i+1] & 0x3F) << 12) |
+ ((c & 0x7) << 18)
+ );
+ i += 3;
+ }
+ else
+ {
+ EmitInvalidCodepoint(c);
+ }
}
}
break;
@@ -82,6 +116,7 @@ void cmWIXRichTextFormatWriter::WriteHeader()
ControlWord("deflang1031");
WriteFontTable();
+ WriteColorTable();
WriteGenerator();
}
@@ -99,11 +134,27 @@ void cmWIXRichTextFormatWriter::WriteFontTable()
EndGroup();
}
+void cmWIXRichTextFormatWriter::WriteColorTable()
+{
+ StartGroup();
+ ControlWord("colortbl ;");
+ ControlWord("red255");
+ ControlWord("green0");
+ ControlWord("blue0;");
+ ControlWord("red0");
+ ControlWord("green255");
+ ControlWord("blue0;");
+ ControlWord("red0");
+ ControlWord("green0");
+ ControlWord("blue255;");
+ EndGroup();
+}
+
void cmWIXRichTextFormatWriter::WriteGenerator()
{
StartGroup();
NewControlWord("generator");
- file << " CPack WiX Generator (" << cmVersion::GetCMakeVersion() << ");";
+ File << " CPack WiX Generator (" << cmVersion::GetCMakeVersion() << ");";
EndGroup();
}
@@ -118,20 +169,60 @@ void cmWIXRichTextFormatWriter::WriteDocumentPrefix()
void cmWIXRichTextFormatWriter::ControlWord(const std::string& keyword)
{
- file << "\\" << keyword;
+ File << "\\" << keyword;
}
void cmWIXRichTextFormatWriter::NewControlWord(const std::string& keyword)
{
- file << "\\*\\" << keyword;
+ File << "\\*\\" << keyword;
}
void cmWIXRichTextFormatWriter::StartGroup()
{
- file.put('{');
+ File.put('{');
}
void cmWIXRichTextFormatWriter::EndGroup()
{
- file.put('}');
+ File.put('}');
+}
+
+void cmWIXRichTextFormatWriter::EmitUnicodeCodepoint(int c)
+{
+ // Do not emit byte order mark (BOM)
+ if(c == 0xFEFF)
+ {
+ return;
+ }
+ else if(c <= 0xFFFF)
+ {
+ EmitUnicodeSurrogate(c);
+ }
+ else
+ {
+ c -= 0x10000;
+ EmitUnicodeSurrogate(((c >> 10) & 0x3FF) + 0xD800);
+ EmitUnicodeSurrogate((c & 0x3FF) + 0xDC00);
+ }
+}
+
+void cmWIXRichTextFormatWriter::EmitUnicodeSurrogate(int c)
+{
+ ControlWord("u");
+ if(c <= 32767)
+ {
+ File << c;
+ }
+ else
+ {
+ File << (c - 65536);
+ }
+ File << "?";
+}
+
+void cmWIXRichTextFormatWriter::EmitInvalidCodepoint(int c)
+{
+ ControlWord("cf1 ");
+ File << "[INVALID-BYTE-" << int(c) << "]";
+ ControlWord("cf0 ");
}
diff --git a/Source/CPack/WiX/cmWIXRichTextFormatWriter.h b/Source/CPack/WiX/cmWIXRichTextFormatWriter.h
index 10b67c3..2b665d4 100644
--- a/Source/CPack/WiX/cmWIXRichTextFormatWriter.h
+++ b/Source/CPack/WiX/cmWIXRichTextFormatWriter.h
@@ -13,7 +13,7 @@
#ifndef cmWIXRichTextFormatWriter_h
#define cmWIXRichTextFormatWriter_h
-#include <fstream>
+#include <cmsys/FStream.hxx>
/** \class cmWIXRichtTextFormatWriter
* \brief Helper class to generate Rich Text Format (RTF) documents
@@ -30,6 +30,7 @@ public:
private:
void WriteHeader();
void WriteFontTable();
+ void WriteColorTable();
void WriteGenerator();
void WriteDocumentPrefix();
@@ -40,7 +41,12 @@ private:
void StartGroup();
void EndGroup();
- std::ofstream file;
+ void EmitUnicodeCodepoint(int c);
+ void EmitUnicodeSurrogate(int c);
+
+ void EmitInvalidCodepoint(int c);
+
+ cmsys::ofstream File;
};
#endif
diff --git a/Source/CPack/WiX/cmWIXSourceWriter.cxx b/Source/CPack/WiX/cmWIXSourceWriter.cxx
index af7ba80..e83c226 100644
--- a/Source/CPack/WiX/cmWIXSourceWriter.cxx
+++ b/Source/CPack/WiX/cmWIXSourceWriter.cxx
@@ -20,8 +20,9 @@ cmWIXSourceWriter::cmWIXSourceWriter(cmCPackLog* logger,
const std::string& filename,
bool isIncludeFile):
Logger(logger),
- file(filename.c_str()),
- state(DEFAULT)
+ File(filename.c_str()),
+ State(DEFAULT),
+ SourceFilename(filename)
{
WriteXMLDeclaration();
@@ -39,64 +40,79 @@ cmWIXSourceWriter::cmWIXSourceWriter(cmCPackLog* logger,
cmWIXSourceWriter::~cmWIXSourceWriter()
{
- while(elements.size())
+ if(Elements.size() > 1)
{
- EndElement();
+ cmCPackLogger(cmCPackLog::LOG_ERROR,
+ Elements.size() - 1 << " WiX elements were still open when closing '" <<
+ SourceFilename << "'" << std::endl);
+ return;
}
+
+ EndElement(Elements.back());
}
void cmWIXSourceWriter::BeginElement(const std::string& name)
{
- if(state == BEGIN)
+ if(State == BEGIN)
{
- file << ">";
+ File << ">";
}
- file << "\n";
- Indent(elements.size());
- file << "<" << name;
+ File << "\n";
+ Indent(Elements.size());
+ File << "<" << name;
- elements.push_back(name);
- state = BEGIN;
+ Elements.push_back(name);
+ State = BEGIN;
}
-void cmWIXSourceWriter::EndElement()
+void cmWIXSourceWriter::EndElement(std::string const& name)
{
- if(elements.empty())
+ if(Elements.empty())
+ {
+ cmCPackLogger(cmCPackLog::LOG_ERROR,
+ "can not end WiX element with no open elements in '" <<
+ SourceFilename << "'" << std::endl);
+ return;
+ }
+
+ if(Elements.back() != name)
{
cmCPackLogger(cmCPackLog::LOG_ERROR,
- "can not end WiX element with no open elements" << std::endl);
+ "WiX element <" << Elements.back() <<
+ "> can not be closed by </" << name << "> in '" <<
+ SourceFilename << "'" << std::endl);
return;
}
- if(state == DEFAULT)
+ if(State == DEFAULT)
{
- file << "\n";
- Indent(elements.size()-1);
- file << "</" << elements.back() << ">";
+ File << "\n";
+ Indent(Elements.size()-1);
+ File << "</" << Elements.back() << ">";
}
else
{
- file << "/>";
+ File << "/>";
}
- elements.pop_back();
- state = DEFAULT;
+ Elements.pop_back();
+ State = DEFAULT;
}
void cmWIXSourceWriter::AddProcessingInstruction(
const std::string& target, const std::string& content)
{
- if(state == BEGIN)
+ if(State == BEGIN)
{
- file << ">";
+ File << ">";
}
- file << "\n";
- Indent(elements.size());
- file << "<?" << target << " " << content << "?>";
+ File << "\n";
+ Indent(Elements.size());
+ File << "<?" << target << " " << content << "?>";
- state = DEFAULT;
+ State = DEFAULT;
}
void cmWIXSourceWriter::AddAttribute(
@@ -104,7 +120,16 @@ void cmWIXSourceWriter::AddAttribute(
{
std::string utf8 = WindowsCodepageToUtf8(value);
- file << " " << key << "=\"" << EscapeAttributeValue(utf8) << '"';
+ File << " " << key << "=\"" << EscapeAttributeValue(utf8) << '"';
+}
+
+void cmWIXSourceWriter::AddAttributeUnlessEmpty(
+ const std::string& key, const std::string& value)
+{
+ if(value.size())
+ {
+ AddAttribute(key, value);
+ }
}
std::string cmWIXSourceWriter::WindowsCodepageToUtf8(const std::string& value)
@@ -147,14 +172,14 @@ std::string cmWIXSourceWriter::WindowsCodepageToUtf8(const std::string& value)
void cmWIXSourceWriter::WriteXMLDeclaration()
{
- file << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" << std::endl;
+ File << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" << std::endl;
}
void cmWIXSourceWriter::Indent(size_t count)
{
for(size_t i = 0; i < count; ++i)
{
- file << " ";
+ File << " ";
}
}
@@ -173,6 +198,9 @@ std::string cmWIXSourceWriter::EscapeAttributeValue(
case '<':
result += "&lt;";
break;
+ case '>':
+ result += "&gt;";
+ break;
case '&':
result +="&amp;";
break;
diff --git a/Source/CPack/WiX/cmWIXSourceWriter.h b/Source/CPack/WiX/cmWIXSourceWriter.h
index 1dafc1f..894ad78 100644
--- a/Source/CPack/WiX/cmWIXSourceWriter.h
+++ b/Source/CPack/WiX/cmWIXSourceWriter.h
@@ -15,7 +15,7 @@
#include <vector>
#include <string>
-#include <fstream>
+#include <cmsys/FStream.hxx>
#include <CPack/cmCPackLog.h>
@@ -32,7 +32,7 @@ public:
void BeginElement(const std::string& name);
- void EndElement();
+ void EndElement(const std::string& name);
void AddProcessingInstruction(
const std::string& target, const std::string& content);
@@ -40,6 +40,9 @@ public:
void AddAttribute(
const std::string& key, const std::string& value);
+ void AddAttributeUnlessEmpty(
+ const std::string& key, const std::string& value);
+
static std::string WindowsCodepageToUtf8(const std::string& value);
private:
@@ -57,11 +60,13 @@ private:
cmCPackLog* Logger;
- std::ofstream file;
+ cmsys::ofstream File;
+
+ State State;
- State state;
+ std::vector<std::string> Elements;
- std::vector<std::string> elements;
+ std::string SourceFilename;
};
#endif
diff --git a/Source/CPack/cmCPackDebGenerator.cxx b/Source/CPack/cmCPackDebGenerator.cxx
index 4494e8a..0162d55 100644
--- a/Source/CPack/cmCPackDebGenerator.cxx
+++ b/Source/CPack/cmCPackDebGenerator.cxx
@@ -803,7 +803,7 @@ static int put_arobj(CF *cfp, struct stat *sb)
static int ar_append(const char* archive,const std::vector<std::string>& files)
{
int eval = 0;
- FILE* aFile = fopen(archive, "wb+");
+ FILE* aFile = cmSystemTools::Fopen(archive, "wb+");
if (aFile!=NULL) {
fwrite(ARMAG, SARMAG, 1, aFile);
if (fseek(aFile, 0, SEEK_END) != -1) {
@@ -814,7 +814,7 @@ static int ar_append(const char* archive,const std::vector<std::string>& files)
for(std::vector<std::string>::const_iterator fileIt = files.begin();
fileIt!=files.end(); ++fileIt) {
const char* filename = fileIt->c_str();
- FILE* file = fopen(filename, "rb");
+ FILE* file = cmSystemTools::Fopen(filename, "rb");
if (file == NULL) {
eval = -1;
continue;
diff --git a/Source/CPack/cmCPackDocumentMacros.cxx b/Source/CPack/cmCPackDocumentMacros.cxx
deleted file mode 100644
index ddc75a4..0000000
--- a/Source/CPack/cmCPackDocumentMacros.cxx
+++ /dev/null
@@ -1,16 +0,0 @@
-#include "cmCPackDocumentMacros.h"
-
-void cmCPackDocumentMacros::GetMacrosDocumentation(
- std::vector<cmDocumentationEntry>& )
-{
- // Commented-out example of use
- //
- // cmDocumentationEntry e("cpack_<macro>",
- // "Brief Description"
- // "which may be on several lines.",
- // "Long description in pre-formatted format"
- // " blah\n"
- // " blah\n"
- //);
- //v.push_back(e);
-}
diff --git a/Source/CPack/cmCPackDocumentMacros.h b/Source/CPack/cmCPackDocumentMacros.h
deleted file mode 100644
index 544f74f..0000000
--- a/Source/CPack/cmCPackDocumentMacros.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-#ifndef cmCPackDocumentMacros_h
-#define cmCPackDocumentMacros_h
-#include "cmStandardIncludes.h"
-class cmCPackDocumentMacros
-{
-public:
- static void GetMacrosDocumentation(std::vector<cmDocumentationEntry>& v);
-};
-
-#endif
diff --git a/Source/CPack/cmCPackDocumentVariables.cxx b/Source/CPack/cmCPackDocumentVariables.cxx
deleted file mode 100644
index 8b16ae9..0000000
--- a/Source/CPack/cmCPackDocumentVariables.cxx
+++ /dev/null
@@ -1,122 +0,0 @@
-#include "cmCPackDocumentVariables.h"
-#include "cmake.h"
-
-void cmCPackDocumentVariables::DefineVariables(cmake* cm)
-{
- // Subsection: variables defined/used by cpack,
- // which are common to all CPack generators
-
- cm->DefineProperty
- ("CPACK_PACKAGING_INSTALL_PREFIX", cmProperty::VARIABLE,
- "The prefix used in the built package.",
- "Each CPack generator has a default value (like /usr)."
- " This default value may"
- " be overwritten from the CMakeLists.txt or the cpack command line"
- " by setting an alternative value.\n"
- "e.g. "
- " set(CPACK_PACKAGING_INSTALL_PREFIX \"/opt\")\n"
- "This is not the same purpose as CMAKE_INSTALL_PREFIX which"
- " is used when installing from the build tree without building"
- " a package."
- "", false,
- "Variables common to all CPack generators");
-
- cm->DefineProperty
- ("CPACK_INCLUDE_TOPLEVEL_DIRECTORY", cmProperty::VARIABLE,
- "Boolean toggle to include/exclude top level directory.",
- "When preparing a package CPack installs the item under"
- " the so-called top level directory. The purpose of"
- " is to include (set to 1 or ON or TRUE) the top level directory"
- " in the package or not (set to 0 or OFF or FALSE).\n"
- "Each CPack generator has a built-in default value for this"
- " variable. E.g. Archive generators (ZIP, TGZ, ...) includes"
- " the top level whereas RPM or DEB don't. The user may override"
- " the default value by setting this variable.\n"
- "There is a similar variable "
- "CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY "
- "which may be used to override the behavior for the component"
- " packaging case which may have different default value for"
- " historical (now backward compatibility) reason.", false,
- "Variables common to all CPack generators");
-
- cm->DefineProperty
- ("CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY", cmProperty::VARIABLE,
- "Boolean toggle to include/exclude top level directory "
- "(component case).",
- "Similar usage as CPACK_INCLUDE_TOPLEVEL_DIRECTORY"
- " but for the component case. "
- "See CPACK_INCLUDE_TOPLEVEL_DIRECTORY documentation for"
- " the detail.", false,
- "Variables common to all CPack generators");
-
- cm->DefineProperty
- ("CPACK_SET_DESTDIR", cmProperty::VARIABLE,
- "Boolean toggle to make CPack use DESTDIR mechanism when"
- " packaging.", "DESTDIR means DESTination DIRectory."
- " It is commonly used by makefile "
- "users in order to install software at non-default location. It "
- "is a basic relocation mechanism that should not be used on"
- " Windows (see CMAKE_INSTALL_PREFIX documentation). "
- "It is usually invoked like this:\n"
- " make DESTDIR=/home/john install\n"
- "which will install the concerned software using the"
- " installation prefix, e.g. \"/usr/local\" prepended with "
- "the DESTDIR value which finally gives \"/home/john/usr/local\"."
- " When preparing a package, CPack first installs the items to be "
- "packaged in a local (to the build tree) directory by using the "
- "same DESTDIR mechanism. Nevertheless, if "
- "CPACK_SET_DESTDIR is set then CPack will set DESTDIR before"
- " doing the local install. The most noticeable difference is"
- " that without CPACK_SET_DESTDIR, CPack uses "
- "CPACK_PACKAGING_INSTALL_PREFIX as a prefix whereas with "
- "CPACK_SET_DESTDIR set, CPack will use CMAKE_INSTALL_PREFIX as"
- " a prefix.\n"
- "Manually setting CPACK_SET_DESTDIR may help (or simply be"
- " necessary) if some install rules uses absolute "
- "DESTINATION (see CMake INSTALL command)."
- " However, starting with"
- " CPack/CMake 2.8.3 RPM and DEB installers tries to handle DESTDIR"
- " automatically so that it is seldom necessary for the user to set"
- " it.", false,
- "Variables common to all CPack generators");
-
- cm->DefineProperty
- ("CPACK_INSTALL_SCRIPT", cmProperty::VARIABLE,
- "Extra CMake script provided by the user.",
- "If set this CMake script will be executed by CPack "
- "during its local [CPack-private] installation "
- "which is done right before packaging the files."
- " The script is not called by e.g.: make install.", false,
- "Variables common to all CPack generators");
-
- cm->DefineProperty
- ("CPACK_ABSOLUTE_DESTINATION_FILES", cmProperty::VARIABLE,
- "List of files which have been installed using "
- " an ABSOLUTE DESTINATION path.",
- "This variable is a Read-Only variable which is set internally"
- " by CPack during installation and before packaging using"
- " CMAKE_ABSOLUTE_DESTINATION_FILES defined in cmake_install.cmake "
- "scripts. The value can be used within CPack project configuration"
- " file and/or CPack<GEN>.cmake file of <GEN> generator.", false,
- "Variables common to all CPack generators");
-
- cm->DefineProperty
- ("CPACK_WARN_ON_ABSOLUTE_INSTALL_DESTINATION", cmProperty::VARIABLE,
- "Ask CPack to warn each time a file with absolute INSTALL"
- " DESTINATION is encountered.",
- "This variable triggers the definition of "
- "CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION when CPack runs"
- " cmake_install.cmake scripts.", false,
- "Variables common to all CPack generators");
-
- cm->DefineProperty
- ("CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION", cmProperty::VARIABLE,
- "Ask CPack to error out as soon as a file with absolute INSTALL"
- " DESTINATION is encountered.",
- "The fatal error is emitted before the installation of "
- "the offending file takes place. Some CPack generators, like NSIS,"
- "enforce this internally. "
- "This variable triggers the definition of"
- "CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION when CPack runs"
- "Variables common to all CPack generators");
-}
diff --git a/Source/CPack/cmCPackDocumentVariables.h b/Source/CPack/cmCPackDocumentVariables.h
deleted file mode 100644
index e7971be..0000000
--- a/Source/CPack/cmCPackDocumentVariables.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-#ifndef cmCPackDocumentVariables_h
-#define cmCPackDocumentVariables_h
-class cmake;
-class cmCPackDocumentVariables
-{
-public:
- static void DefineVariables(cmake* cm);
-};
-
-#endif
diff --git a/Source/CPack/cmCPackDragNDropGenerator.cxx b/Source/CPack/cmCPackDragNDropGenerator.cxx
index d973c01..9f0a77e 100644
--- a/Source/CPack/cmCPackDragNDropGenerator.cxx
+++ b/Source/CPack/cmCPackDragNDropGenerator.cxx
@@ -16,6 +16,7 @@
#include "cmGeneratedFileStream.h"
#include <cmsys/RegularExpression.hxx>
+#include <cmsys/FStream.hxx>
static const char* SLAHeader =
"data 'LPic' (5000) {\n"
@@ -422,7 +423,7 @@ int cmCPackDragNDropGenerator::CreateDMG(const std::string& src_dir,
std::string sla_r = this->GetOption("CPACK_TOPLEVEL_DIRECTORY");
sla_r += "/sla.r";
- std::ifstream ifs;
+ cmsys::ifstream ifs;
ifs.open(cpack_license_file.c_str());
if(ifs.is_open())
{
@@ -474,7 +475,7 @@ int cmCPackDragNDropGenerator::CreateDMG(const std::string& src_dir,
udco_image_command << this->GetOption("CPACK_COMMAND_HDIUTIL");
udco_image_command << " convert \"" << temp_image << "\"";
udco_image_command << " -format UDCO";
- udco_image_command << " -o \"" << temp_udco << "\"";
+ udco_image_command << " -ov -o \"" << temp_udco << "\"";
std::string error;
if(!this->RunCommand(udco_image_command, &error))
@@ -504,6 +505,11 @@ int cmCPackDragNDropGenerator::CreateDMG(const std::string& src_dir,
// Rez the SLA
cmOStringStream embed_sla_command;
embed_sla_command << this->GetOption("CPACK_COMMAND_REZ");
+ const char* sysroot = this->GetOption("CPACK_OSX_SYSROOT");
+ if(sysroot && sysroot[0] != '\0')
+ {
+ embed_sla_command << " -isysroot \"" << sysroot << "\"";
+ }
embed_sla_command << " \"" << sla_r << "\"";
embed_sla_command << " -a -o ";
embed_sla_command << "\"" << temp_udco << "\"";
diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx
index 3c685bd..96491aa 100644
--- a/Source/CPack/cmCPackGenerator.cxx
+++ b/Source/CPack/cmCPackGenerator.cxx
@@ -23,10 +23,12 @@
#include <cmsys/SystemTools.hxx>
#include <cmsys/Glob.hxx>
+#include <cmsys/FStream.hxx>
#include <algorithm>
#if defined(__HAIKU__)
-#include <StorageKit.h>
+#include <FindDirectory.h>
+#include <StorageDefs.h>
#endif
//----------------------------------------------------------------------
@@ -151,7 +153,7 @@ int cmCPackGenerator::PrepareNames()
<< descFileName << "]" << std::endl);
return 0;
}
- std::ifstream ifs(descFileName);
+ cmsys::ifstream ifs(descFileName);
if ( !ifs )
{
cmCPackLogger(cmCPackLog::LOG_ERROR,
@@ -579,7 +581,7 @@ int cmCPackGenerator::InstallProjectViaInstallCMakeProjects(
* (this works at CPack time too)
*/
if (this->SupportsComponentInstallation() &
- !(this->IsSet("CPACK_MONOLITHIC_INSTALL")))
+ !(this->IsOn("CPACK_MONOLITHIC_INSTALL")))
{
// Determine the installation types for this project (if provided).
std::string installTypesVar = "CPACK_"
@@ -636,19 +638,21 @@ int cmCPackGenerator::InstallProjectViaInstallCMakeProjects(
globalGenerator->FindMakeProgram(this->MakefileMap);
const char* cmakeMakeProgram
= this->MakefileMap->GetDefinition("CMAKE_MAKE_PROGRAM");
- std::string buildCommand
- = globalGenerator->GenerateBuildCommand(cmakeMakeProgram,
- installProjectName.c_str(), 0, 0,
+ std::vector<std::string> buildCommand;
+ globalGenerator->GenerateBuildCommand(buildCommand, cmakeMakeProgram,
+ installProjectName.c_str(), installDirectory.c_str(),
globalGenerator->GetPreinstallTargetName(),
- buildConfig, false, false);
+ buildConfig, false);
+ std::string buildCommandStr =
+ cmSystemTools::PrintSingleCommand(buildCommand);
cmCPackLogger(cmCPackLog::LOG_DEBUG,
- "- Install command: " << buildCommand << std::endl);
+ "- Install command: " << buildCommandStr << std::endl);
cmCPackLogger(cmCPackLog::LOG_OUTPUT,
"- Run preinstall target for: " << installProjectName << std::endl);
std::string output;
int retVal = 1;
bool resB =
- cmSystemTools::RunSingleCommand(buildCommand.c_str(),
+ cmSystemTools::RunSingleCommand(buildCommand,
&output,
&retVal,
installDirectory.c_str(),
@@ -658,12 +662,12 @@ int cmCPackGenerator::InstallProjectViaInstallCMakeProjects(
std::string tmpFile = this->GetOption("CPACK_TOPLEVEL_DIRECTORY");
tmpFile += "/PreinstallOutput.log";
cmGeneratedFileStream ofs(tmpFile.c_str());
- ofs << "# Run command: " << buildCommand.c_str() << std::endl
+ ofs << "# Run command: " << buildCommandStr.c_str() << std::endl
<< "# Directory: " << installDirectory.c_str() << std::endl
<< "# Output:" << std::endl
<< output.c_str() << std::endl;
cmCPackLogger(cmCPackLog::LOG_ERROR,
- "Problem running install command: " << buildCommand.c_str()
+ "Problem running install command: " << buildCommandStr.c_str()
<< std::endl
<< "Please check " << tmpFile.c_str() << " for errors"
<< std::endl);
@@ -1142,12 +1146,6 @@ int cmCPackGenerator::Initialize(const char* name, cmMakefile* mf)
{
this->MakefileMap = mf;
this->Name = name;
- if ( !this->SetCMakeRoot() )
- {
- cmCPackLogger(cmCPackLog::LOG_ERROR,
- "Cannot initialize the generator" << std::endl);
- return 0;
- }
// set the running generator name
this->SetOption("CPACK_GENERATOR", this->Name.c_str());
// Load the project specific config file
@@ -1204,32 +1202,6 @@ const char* cmCPackGenerator::GetOption(const char* op) const
}
//----------------------------------------------------------------------
-int cmCPackGenerator::SetCMakeRoot()
-{
- // use the CMAKE_ROOT from cmake which should have been
- // found by now
- const char* root=
- this->MakefileMap->GetDefinition("CMAKE_ROOT");
-
- if(root)
- {
- this->CMakeRoot = root;
- cmCPackLogger(cmCPackLog::LOG_DEBUG, "Looking for CMAKE_ROOT: "
- << this->CMakeRoot.c_str() << std::endl);
- this->SetOption("CMAKE_ROOT", this->CMakeRoot.c_str());
- return 1;
- }
- cmCPackLogger(cmCPackLog::LOG_ERROR,
- "Could not find CMAKE_ROOT !!!"
- << std::endl
- << "CMake has most likely not been installed correctly."
- << std::endl
- <<"Modules directory not found in"
- << std::endl);
- return 0;
-}
-
-//----------------------------------------------------------------------
int cmCPackGenerator::PackageFiles()
{
return 0;
@@ -1263,14 +1235,14 @@ const char* cmCPackGenerator::GetInstallPath()
this->InstallPath += "-";
this->InstallPath += this->GetOption("CPACK_PACKAGE_VERSION");
#elif defined(__HAIKU__)
- BPath dir;
- if (find_directory(B_COMMON_DIRECTORY, &dir) == B_OK)
+ char dir[B_PATH_NAME_LENGTH];
+ if (find_directory(B_SYSTEM_DIRECTORY, -1, false, dir, sizeof(dir)) == B_OK)
{
- this->InstallPath = dir.Path();
+ this->InstallPath = dir;
}
else
{
- this->InstallPath = "/boot/common";
+ this->InstallPath = "/boot/system";
}
#else
this->InstallPath = "/usr/local/";
@@ -1561,13 +1533,13 @@ cmCPackGenerator::GetComponent(const char *projectName, const char *name)
component->DisplayName = component->Name;
}
component->IsHidden
- = this->IsSet((macroPrefix + "_HIDDEN").c_str());
+ = this->IsOn((macroPrefix + "_HIDDEN").c_str());
component->IsRequired
- = this->IsSet((macroPrefix + "_REQUIRED").c_str());
+ = this->IsOn((macroPrefix + "_REQUIRED").c_str());
component->IsDisabledByDefault
- = this->IsSet((macroPrefix + "_DISABLED").c_str());
+ = this->IsOn((macroPrefix + "_DISABLED").c_str());
component->IsDownloaded
- = this->IsSet((macroPrefix + "_DOWNLOADED").c_str())
+ = this->IsOn((macroPrefix + "_DOWNLOADED").c_str())
|| cmSystemTools::IsOn(this->GetOption("CPACK_DOWNLOAD_ALL"));
const char* archiveFile = this->GetOption((macroPrefix +
@@ -1664,9 +1636,9 @@ cmCPackGenerator::GetComponentGroup(const char *projectName, const char *name)
group->Description = description;
}
group->IsBold
- = this->IsSet((macroPrefix + "_BOLD_TITLE").c_str());
+ = this->IsOn((macroPrefix + "_BOLD_TITLE").c_str());
group->IsExpandedByDefault
- = this->IsSet((macroPrefix + "_EXPANDED").c_str());
+ = this->IsOn((macroPrefix + "_EXPANDED").c_str());
const char* parentGroupName
= this->GetOption((macroPrefix + "_PARENT_GROUP").c_str());
if (parentGroupName && *parentGroupName)
diff --git a/Source/CPack/cmCPackGenerator.h b/Source/CPack/cmCPackGenerator.h
index 8fafef9..bb33aa0 100644
--- a/Source/CPack/cmCPackGenerator.h
+++ b/Source/CPack/cmCPackGenerator.h
@@ -105,9 +105,6 @@ public:
bool IsSet(const char* name) const;
bool IsOn(const char* name) const;
- //! Set all the variables
- int SetCMakeRoot();
-
//! Set the logger
void SetLogger(cmCPackLog* log) { this->Logger = log; }
@@ -160,9 +157,10 @@ protected:
* CPack specific generator may mangle CPACK_PACKAGE_FILE_NAME
* with CPACK_COMPONENT_xxxx_<NAME>_DISPLAY_NAME if
* CPACK_<GEN>_USE_DISPLAY_NAME_IN_FILENAME is ON.
- * @param[in] initialPackageFileName
- * @param[in] groupOrComponentName
- * @param[in] isGroupName
+ * @param[in] initialPackageFileName the initial package name to be mangled
+ * @param[in] groupOrComponentName the name of the group/component
+ * @param[in] isGroupName true if previous name refers to a group,
+ * false otherwise
*/
virtual std::string GetComponentPackageFileName(
const std::string& initialPackageFileName,
@@ -172,7 +170,7 @@ protected:
/**
* Package the list of files and/or components which
* has been prepared by the beginning of DoPackage.
- * @pre @ref toplevel has been filled-in
+ * @pre the @ref toplevel has been filled-in
* @pre the list of file @ref files has been populated
* @pre packageFileNames contains at least 1 entry
* @post packageFileNames may have been updated and contains
@@ -284,10 +282,6 @@ protected:
*/
std::vector<std::string> files;
- std::string CPackSelf;
- std::string CMakeSelf;
- std::string CMakeRoot;
-
std::map<std::string, cmCPackInstallationType> InstallationTypes;
/**
* The set of components.
diff --git a/Source/CPack/cmCPackPackageMakerGenerator.cxx b/Source/CPack/cmCPackPackageMakerGenerator.cxx
index c617a3e..c5b9c6f 100644
--- a/Source/CPack/cmCPackPackageMakerGenerator.cxx
+++ b/Source/CPack/cmCPackPackageMakerGenerator.cxx
@@ -22,6 +22,7 @@
#include <cmsys/SystemTools.hxx>
#include <cmsys/Glob.hxx>
+#include <cmsys/FStream.hxx>
//----------------------------------------------------------------------
cmCPackPackageMakerGenerator::cmCPackPackageMakerGenerator()
@@ -467,7 +468,7 @@ int cmCPackPackageMakerGenerator::InitializeInternal()
return 0;
}
- std::ifstream ifs(versionFile.c_str());
+ cmsys::ifstream ifs(versionFile.c_str());
if ( !ifs )
{
cmCPackLogger(cmCPackLog::LOG_ERROR,
@@ -716,7 +717,7 @@ GenerateComponentPackage(const char *packageFile,
// X packages, which work on Mac OS X 10.3 and newer.
std::string descriptionFile = this->GetOption("CPACK_TOPLEVEL_DIRECTORY");
descriptionFile += '/' + component.Name + "-Description.plist";
- std::ofstream out(descriptionFile.c_str());
+ cmsys::ofstream out(descriptionFile.c_str());
out << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" << std::endl
<< "<!DOCTYPE plist PUBLIC \"-//Apple Computer//DTD PLIST 1.0//EN\""
<< "\"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">" << std::endl
diff --git a/Source/CPack/cmCPackSTGZGenerator.cxx b/Source/CPack/cmCPackSTGZGenerator.cxx
index 9b6cf14..8342fee 100644
--- a/Source/CPack/cmCPackSTGZGenerator.cxx
+++ b/Source/CPack/cmCPackSTGZGenerator.cxx
@@ -20,6 +20,7 @@
#include "cmCPackLog.h"
#include <cmsys/ios/sstream>
+#include <cmsys/FStream.hxx>
#include <sys/types.h>
#include <sys/stat.h>
@@ -91,7 +92,7 @@ int cmCPackSTGZGenerator::GenerateHeader(std::ostream* os)
std::string inLicFile = this->GetOption("CPACK_RESOURCE_FILE_LICENSE");
std::string line;
- std::ifstream ilfs(inLicFile.c_str());
+ cmsys::ifstream ilfs(inLicFile.c_str());
std::string licenseText;
while ( cmSystemTools::GetLineFromStream(ilfs, line) )
{
@@ -104,7 +105,7 @@ int cmCPackSTGZGenerator::GenerateHeader(std::ostream* os)
// Create the header
std::string inFile = this->GetOption("CPACK_STGZ_HEADER_FILE");
- std::ifstream ifs(inFile.c_str());
+ cmsys::ifstream ifs(inFile.c_str());
std::string packageHeaderText;
while ( cmSystemTools::GetLineFromStream(ifs, line) )
{
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx
index b188918..a19b778 100644
--- a/Source/CPack/cpack.cxx
+++ b/Source/CPack/cpack.cxx
@@ -14,8 +14,6 @@
// Need these for documentation support.
#include "cmake.h"
#include "cmDocumentation.h"
-#include "cmCPackDocumentVariables.h"
-#include "cmCPackDocumentMacros.h"
#include "cmCPackGeneratorFactory.h"
#include "cmCPackGenerator.h"
#include "cmake.h"
@@ -27,114 +25,38 @@
#include <cmsys/CommandLineArguments.hxx>
#include <cmsys/SystemTools.hxx>
+#include <cmsys/Encoding.hxx>
//----------------------------------------------------------------------------
-static const char * cmDocumentationName[][3] =
+static const char * cmDocumentationName[][2] =
{
{0,
- " cpack - Packaging driver provided by CMake.", 0},
- {0,0,0}
+ " cpack - Packaging driver provided by CMake."},
+ {0,0}
};
//----------------------------------------------------------------------------
-static const char * cmDocumentationUsage[][3] =
+static const char * cmDocumentationUsage[][2] =
{
{0,
- " cpack -G <generator> [options]",
- 0},
- {0,0,0}
+ " cpack -G <generator> [options]"},
+ {0,0}
};
//----------------------------------------------------------------------------
-static const char * cmDocumentationDescription[][3] =
+static const char * cmDocumentationOptions[][2] =
{
- {0,
- "The \"cpack\" executable is the CMake packaging program. "
- "CMake-generated build trees created for projects that use "
- "the INSTALL_* commands have packaging support. "
- "This program will generate the package.", 0},
- CMAKE_STANDARD_INTRODUCTION,
- {0,0,0}
-};
-
-//----------------------------------------------------------------------------
-static const char * cmDocumentationOptions[][3] =
-{
- {"-G <generator>", "Use the specified generator to generate package.",
- "CPack may support multiple native packaging systems on certain "
- "platforms. A generator is responsible for generating input files for "
- "particular system and invoking that systems. Possible generator names "
- "are specified in the Generators section." },
- {"-C <Configuration>", "Specify the project configuration",
- "This option specifies the configuration that the project was build "
- "with, for example 'Debug', 'Release'." },
- {"-D <var>=<value>", "Set a CPack variable.", \
- "Set a variable that can be used by the generator."}, \
- {"--config <config file>", "Specify the config file.",
- "Specify the config file to use to create the package. By default "
- "CPackConfig.cmake in the current directory will be used." },
- {"--verbose,-V","enable verbose output","Run cpack with verbose output."},
- {"--debug","enable debug output (for CPack developers)",
- "Run cpack with debug output (for CPack developers)."},
- {"-P <package name>","override/define CPACK_PACKAGE_NAME",
- "If the package name is not specified on cpack commmand line then"
- "CPack.cmake defines it as CMAKE_PROJECT_NAME"},
- {"-R <package version>","override/define CPACK_PACKAGE_VERSION",
- "If version is not specified on cpack command line then"
- "CPack.cmake defines it from CPACK_PACKAGE_VERSION_[MAJOR|MINOR|PATCH]"
- "look into CPack.cmake for detail"},
- {"-B <package directory>","override/define CPACK_PACKAGE_DIRECTORY",
- "The directory where CPack will be doing its packaging work."
- "The resulting package will be found there. Inside this directory"
- "CPack creates '_CPack_Packages' sub-directory which is the"
- "CPack temporary directory."},
- {"--vendor <vendor name>","override/define CPACK_PACKAGE_VENDOR",
- "If vendor is not specified on cpack command line "
- "(or inside CMakeLists.txt) then"
- "CPack.cmake defines it with a default value"},
- {"--help-command cmd [file]", "Print help for a single command and exit.",
- "Full documentation specific to the given command is displayed. "
- "If a file is specified, the documentation is written into and the output "
- "format is determined depending on the filename suffix. Supported are man "
- "page, HTML, DocBook and plain text."},
- {"--help-command-list [file]", "List available commands and exit.",
- "The list contains all commands for which help may be obtained by using "
- "the --help-command argument followed by a command name. "
- "If a file is specified, the documentation is written into and the output "
- "format is determined depending on the filename suffix. Supported are man "
- "page, HTML, DocBook and plain text."},
- {"--help-commands [file]", "Print help for all commands and exit.",
- "Full documentation specific for all current command is displayed."
- "If a file is specified, the documentation is written into and the output "
- "format is determined depending on the filename suffix. Supported are man "
- "page, HTML, DocBook and plain text."},
- {"--help-variable var [file]",
- "Print help for a single variable and exit.",
- "Full documentation specific to the given variable is displayed."
- "If a file is specified, the documentation is written into and the output "
- "format is determined depending on the filename suffix. Supported are man "
- "page, HTML, DocBook and plain text."},
- {"--help-variable-list [file]", "List documented variables and exit.",
- "The list contains all variables for which help may be obtained by using "
- "the --help-variable argument followed by a variable name. If a file is "
- "specified, the help is written into it."
- "If a file is specified, the documentation is written into and the output "
- "format is determined depending on the filename suffix. Supported are man "
- "page, HTML, DocBook and plain text."},
- {"--help-variables [file]", "Print help for all variables and exit.",
- "Full documentation for all variables is displayed."
- "If a file is specified, the documentation is written into and the output "
- "format is determined depending on the filename suffix. Supported are man "
- "page, HTML, DocBook and plain text."},
- {0,0,0}
-};
-
-//----------------------------------------------------------------------------
-static const char * cmDocumentationSeeAlso[][3] =
-{
- {0, "cmake", 0},
- {0, "ccmake", 0},
- {0, 0, 0}
+ {"-G <generator>", "Use the specified generator to generate package."},
+ {"-C <Configuration>", "Specify the project configuration"},
+ {"-D <var>=<value>", "Set a CPack variable."},
+ {"--config <config file>", "Specify the config file."},
+ {"--verbose,-V","enable verbose output"},
+ {"--debug","enable debug output (for CPack developers)"},
+ {"-P <package name>","override/define CPACK_PACKAGE_NAME"},
+ {"-R <package version>","override/define CPACK_PACKAGE_VERSION"},
+ {"-B <package directory>","override/define CPACK_PACKAGE_DIRECTORY"},
+ {"--vendor <vendor name>","override/define CPACK_PACKAGE_VENDOR"},
+ {0,0}
};
//----------------------------------------------------------------------------
@@ -176,9 +98,14 @@ int cpackDefinitionArgument(const char* argument, const char* cValue,
//----------------------------------------------------------------------------
// this is CPack.
-int main (int argc, char *argv[])
+int main (int argc, char const* const* argv)
{
- cmSystemTools::FindExecutableDirectory(argv[0]);
+ cmsys::Encoding::CommandLineArguments args =
+ cmsys::Encoding::CommandLineArguments::Main(argc, argv);
+ argc = args.argc();
+ argv = args.argv();
+
+ cmSystemTools::FindCMakeResources(argv[0]);
cmCPackLog log;
log.SetErrorPrefix("CPack Error: ");
@@ -481,11 +408,6 @@ int main (int argc, char *argv[])
}
if ( parsed )
{
-#ifdef _WIN32
- std::string comspec = "cmw9xcom.exe";
- cmSystemTools::SetWindows9xComspecSubstitute(comspec.c_str());
-#endif
-
const char* projName = mf->GetDefinition("CPACK_PACKAGE_NAME");
cmCPack_Log(&log, cmCPackLog::LOG_VERBOSE, "Use generator: "
<< cpackGenerator->GetNameOfClass() << std::endl);
@@ -533,43 +455,8 @@ int main (int argc, char *argv[])
doc.SetName("cpack");
doc.SetSection("Name",cmDocumentationName);
doc.SetSection("Usage",cmDocumentationUsage);
- doc.SetSection("Description",cmDocumentationDescription);
doc.PrependSection("Options",cmDocumentationOptions);
- // statically (in C++ code) defined variables
- cmCPackDocumentVariables::DefineVariables(&cminst);
-
- std::vector<cmDocumentationEntry> commands;
-
- std::string docedFile;
- std::string docPath;
- cmDocumentation::documentedModulesList_t docedModList;
-
- docedFile = globalMF->GetModulesFile("CPack.cmake");
- if (docedFile.length()!=0)
- {
- docPath = cmSystemTools::GetFilenamePath(docedFile.c_str());
- doc.getDocumentedModulesListInDir(docPath,"CPack*.cmake",docedModList);
- }
-
- // parse the files for documentation.
- cmDocumentation::documentedModulesList_t::iterator docedIt;
- for (docedIt = docedModList.begin();
- docedIt!= docedModList.end(); ++docedIt)
- {
- doc.GetStructuredDocFromFile(
- (docedIt->first).c_str(),
- commands,&cminst);
- }
-
- std::map<std::string,cmDocumentationSection *> propDocs;
- cminst.GetPropertiesDocumentation(propDocs);
- doc.SetSections(propDocs);
- cminst.GetCommandDocumentation(commands,true,false);
- // statically (in C++ code) defined macros/commands
- cmCPackDocumentMacros::GetMacrosDocumentation(commands);
- doc.SetSection("Commands",commands);
-
std::vector<cmDocumentationEntry> v;
cmCPackGeneratorFactory::DescriptionsMap::const_iterator generatorIt;
for( generatorIt = generators.GetGeneratorsList().begin();
@@ -579,12 +466,10 @@ int main (int argc, char *argv[])
cmDocumentationEntry e;
e.Name = generatorIt->first.c_str();
e.Brief = generatorIt->second.c_str();
- e.Full = "";
v.push_back(e);
}
doc.SetSection("Generators",v);
- doc.SetSeeAlsoList(cmDocumentationSeeAlso);
#undef cout
return doc.PrintRequestedDocumentation(std::cout)? 0:1;
#define cout no_cout_use_cmCPack_Log
diff --git a/Source/CTest/cmCTestBuildAndTestHandler.cxx b/Source/CTest/cmCTestBuildAndTestHandler.cxx
index 4fa3c53..0fac136 100644
--- a/Source/CTest/cmCTestBuildAndTestHandler.cxx
+++ b/Source/CTest/cmCTestBuildAndTestHandler.cxx
@@ -18,6 +18,7 @@
#include "cmGlobalGenerator.h"
#include <cmsys/Process.h>
#include "cmCTestTestHandler.h"
+#include "cmCacheManager.h"
//----------------------------------------------------------------------
cmCTestBuildAndTestHandler::cmCTestBuildAndTestHandler()
@@ -59,7 +60,7 @@ int cmCTestBuildAndTestHandler::RunCMake(std::string* outstring,
{
unsigned int k;
std::vector<std::string> args;
- args.push_back(this->CTest->GetCMakeExecutable());
+ args.push_back(cmSystemTools::GetCMakeCommand());
args.push_back(this->SourceDir);
if(this->BuildGenerator.size())
{
@@ -184,14 +185,14 @@ int cmCTestBuildAndTestHandler::RunCMakeAndTest(std::string* outstring)
cmOStringStream out;
// if the generator and make program are not specified then it is an error
- if (!this->BuildGenerator.size() || !this->BuildMakeProgram.size())
+ if (!this->BuildGenerator.size())
{
if(outstring)
{
*outstring =
- "--build-and-test requires that both the generator and makeprogram "
- "be provided using the --build-generator and --build-makeprogram "
- "command line options. ";
+ "--build-and-test requires that the generator "
+ "be provided using the --build-generator "
+ "command line option. ";
}
return 1;
}
@@ -238,9 +239,13 @@ int cmCTestBuildAndTestHandler::RunCMakeAndTest(std::string* outstring)
if(this->BuildNoCMake)
{
+ // Make the generator available for the Build call below.
cm.SetGlobalGenerator(cm.CreateGlobalGenerator(
this->BuildGenerator.c_str()));
cm.SetGeneratorToolset(this->BuildGeneratorToolset);
+
+ // Load the cache to make CMAKE_MAKE_PROGRAM available.
+ cm.GetCacheManager()->LoadCache(this->BinaryDir.c_str());
}
else
{
@@ -508,23 +513,14 @@ int cmCTestBuildAndTestHandler::ProcessCommandLineArguments(
{
this->BuildNoClean = true;
}
- if(currentArg.find("--build-options",0) == 0 && idx < allArgs.size() - 1)
+ if(currentArg.find("--build-options",0) == 0)
{
- ++idx;
- bool done = false;
- while(idx < allArgs.size() && !done)
+ while(idx+1 < allArgs.size() &&
+ allArgs[idx+1] != "--build-target" &&
+ allArgs[idx+1] != "--test-command")
{
+ ++idx;
this->BuildOptions.push_back(allArgs[idx]);
- if(idx+1 < allArgs.size()
- && (allArgs[idx+1] == "--build-target" ||
- allArgs[idx+1] == "--test-command"))
- {
- done = true;
- }
- else
- {
- ++idx;
- }
}
}
if(currentArg.find("--test-command",0) == 0 && idx < allArgs.size() - 1)
diff --git a/Source/CTest/cmCTestBuildCommand.cxx b/Source/CTest/cmCTestBuildCommand.cxx
index 1f63185..12ff718 100644
--- a/Source/CTest/cmCTestBuildCommand.cxx
+++ b/Source/CTest/cmCTestBuildCommand.cxx
@@ -114,9 +114,6 @@ cmCTestGenericHandler* cmCTestBuildCommand::InitializeHandler()
this->Makefile->GetCMakeInstance()->CreateGlobalGenerator(
cmakeGeneratorName);
}
- this->GlobalGenerator->FindMakeProgram(this->Makefile);
- const char* cmakeMakeProgram
- = this->Makefile->GetDefinition("CMAKE_MAKE_PROGRAM");
if(strlen(cmakeBuildConfiguration) == 0)
{
const char* config = 0;
@@ -133,10 +130,8 @@ cmCTestGenericHandler* cmCTestBuildCommand::InitializeHandler()
std::string dir = this->CTest->GetCTestConfiguration("BuildDirectory");
std::string buildCommand
= this->GlobalGenerator->
- GenerateBuildCommand(cmakeMakeProgram,
- cmakeProjectName, dir.c_str(),
- cmakeBuildAdditionalFlags, cmakeBuildTarget,
- cmakeBuildConfiguration, true, false);
+ GenerateCMakeBuildCommand(cmakeBuildTarget, cmakeBuildConfiguration,
+ cmakeBuildAdditionalFlags, true);
cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT,
"SetMakeCommand:"
<< buildCommand.c_str() << "\n");
diff --git a/Source/CTest/cmCTestBuildCommand.h b/Source/CTest/cmCTestBuildCommand.h
index cabc39b..08887fe 100644
--- a/Source/CTest/cmCTestBuildCommand.h
+++ b/Source/CTest/cmCTestBuildCommand.h
@@ -45,34 +45,8 @@ public:
*/
virtual const char* GetName() const { return "ctest_build";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Build the project.";
- }
virtual bool InitialPass(std::vector<std::string> const& args,
cmExecutionStatus &status);
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " ctest_build([BUILD build_dir] [TARGET target] [RETURN_VALUE res]\n"
- " [APPEND][NUMBER_ERRORS val] [NUMBER_WARNINGS val])\n"
- "Builds the given build directory and stores results in Build.xml. "
- "If no BUILD is given, the CTEST_BINARY_DIRECTORY variable is used.\n"
- "The TARGET variable can be used to specify a build target. If none "
- "is specified, the \"all\" target will be built.\n"
- "The RETURN_VALUE option specifies a variable in which to store the "
- "return value of the native build tool. "
- "The NUMBER_ERRORS and NUMBER_WARNINGS options specify variables in "
- "which to store the number of build errors and warnings detected."
- "\n"
- CTEST_COMMAND_APPEND_OPTION_DOCS;
- }
cmTypeMacro(cmCTestBuildCommand, cmCTestHandlerCommand);
diff --git a/Source/CTest/cmCTestBuildHandler.cxx b/Source/CTest/cmCTestBuildHandler.cxx
index 39eeb70..c5deb96 100644
--- a/Source/CTest/cmCTestBuildHandler.cxx
+++ b/Source/CTest/cmCTestBuildHandler.cxx
@@ -24,6 +24,7 @@
//#include <cmsys/RegularExpression.hxx>
#include <cmsys/Process.h>
#include <cmsys/Directory.hxx>
+#include <cmsys/FStream.hxx>
// used for sleep
#ifdef _WIN32
@@ -751,7 +752,7 @@ void cmCTestBuildHandler::GenerateXMLFooter(std::ostream& os,
void cmCTestBuildHandler::GenerateXMLLaunchedFragment(std::ostream& os,
const char* fname)
{
- std::ifstream fin(fname, std::ios::in | std::ios::binary);
+ cmsys::ifstream fin(fname, std::ios::in | std::ios::binary);
std::string line;
while(cmSystemTools::GetLineFromStream(fin, line))
{
@@ -763,7 +764,7 @@ void cmCTestBuildHandler::GenerateXMLLaunchedFragment(std::ostream& os,
bool cmCTestBuildHandler::IsLaunchedErrorFile(const char* fname)
{
// error-{hash}.xml
- return (strncmp(fname, "error-", 6) == 0 &&
+ return (cmHasLiteralPrefix(fname, "error-") &&
strcmp(fname+strlen(fname)-4, ".xml") == 0);
}
@@ -771,7 +772,7 @@ bool cmCTestBuildHandler::IsLaunchedErrorFile(const char* fname)
bool cmCTestBuildHandler::IsLaunchedWarningFile(const char* fname)
{
// warning-{hash}.xml
- return (strncmp(fname, "warning-", 8) == 0 &&
+ return (cmHasLiteralPrefix(fname, "warning-") &&
strcmp(fname+strlen(fname)-4, ".xml") == 0);
}
@@ -885,7 +886,7 @@ cmCTestBuildHandler::LaunchHelper
//----------------------------------------------------------------------
int cmCTestBuildHandler::RunMakeCommand(const char* command,
- int* retVal, const char* dir, int timeout, std::ofstream& ofs)
+ int* retVal, const char* dir, int timeout, std::ostream& ofs)
{
// First generate the command and arguments
std::vector<cmStdString> args = cmSystemTools::ParseArguments(command);
@@ -1049,7 +1050,7 @@ int cmCTestBuildHandler::RunMakeCommand(const char* command,
//----------------------------------------------------------------------
void cmCTestBuildHandler::ProcessBuffer(const char* data, int length,
- size_t& tick, size_t tick_len, std::ofstream& ofs,
+ size_t& tick, size_t tick_len, std::ostream& ofs,
t_BuildProcessingQueueType* queue)
{
const std::string::size_type tick_line_len = 50;
diff --git a/Source/CTest/cmCTestBuildHandler.h b/Source/CTest/cmCTestBuildHandler.h
index 439efd6..ff7cfd6 100644
--- a/Source/CTest/cmCTestBuildHandler.h
+++ b/Source/CTest/cmCTestBuildHandler.h
@@ -54,7 +54,7 @@ private:
// and retVal is return value or exception.
int RunMakeCommand(const char* command,
int* retVal, const char* dir, int timeout,
- std::ofstream& ofs);
+ std::ostream& ofs);
enum {
b_REGULAR_LINE,
@@ -113,7 +113,7 @@ private:
typedef std::deque<char> t_BuildProcessingQueueType;
void ProcessBuffer(const char* data, int length, size_t& tick,
- size_t tick_len, std::ofstream& ofs, t_BuildProcessingQueueType* queue);
+ size_t tick_len, std::ostream& ofs, t_BuildProcessingQueueType* queue);
int ProcessSingleLine(const char* data);
t_BuildProcessingQueueType BuildProcessingQueue;
diff --git a/Source/CTest/cmCTestCVS.cxx b/Source/CTest/cmCTestCVS.cxx
index 7269507..17dbb55 100644
--- a/Source/CTest/cmCTestCVS.cxx
+++ b/Source/CTest/cmCTestCVS.cxx
@@ -16,6 +16,7 @@
#include "cmXMLSafe.h"
#include <cmsys/RegularExpression.hxx>
+#include <cmsys/FStream.hxx>
//----------------------------------------------------------------------------
cmCTestCVS::cmCTestCVS(cmCTest* ct, std::ostream& log): cmCTestVC(ct, log)
@@ -231,7 +232,7 @@ std::string cmCTestCVS::ComputeBranchFlag(std::string const& dir)
// Lookup the branch in the tag file, if any.
std::string tagLine;
- std::ifstream tagStream(tagFile.c_str());
+ cmsys::ifstream tagStream(tagFile.c_str());
if(tagStream && cmSystemTools::GetLineFromStream(tagStream, tagLine) &&
tagLine.size() > 1 && tagLine[0] == 'T')
{
diff --git a/Source/CTest/cmCTestConfigureCommand.cxx b/Source/CTest/cmCTestConfigureCommand.cxx
index db33cb6..5eed409 100644
--- a/Source/CTest/cmCTestConfigureCommand.cxx
+++ b/Source/CTest/cmCTestConfigureCommand.cxx
@@ -86,7 +86,7 @@ cmCTestGenericHandler* cmCTestConfigureCommand::InitializeHandler()
}
std::string cmakeConfigureCommand = "\"";
- cmakeConfigureCommand += this->CTest->GetCMakeExecutable();
+ cmakeConfigureCommand += cmSystemTools::GetCMakeCommand();
cmakeConfigureCommand += "\"";
std::vector<std::string>::const_iterator it;
diff --git a/Source/CTest/cmCTestConfigureCommand.h b/Source/CTest/cmCTestConfigureCommand.h
index b343fc1..b592c5a 100644
--- a/Source/CTest/cmCTestConfigureCommand.h
+++ b/Source/CTest/cmCTestConfigureCommand.h
@@ -40,34 +40,6 @@ public:
*/
virtual const char* GetName() const { return "ctest_configure";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Configure the project build tree.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " ctest_configure([BUILD build_dir] [SOURCE source_dir] [APPEND]\n"
- " [OPTIONS options] [RETURN_VALUE res])\n"
- "Configures the given build directory and stores results in "
- "Configure.xml. "
- "If no BUILD is given, the CTEST_BINARY_DIRECTORY variable is used. "
- "If no SOURCE is given, the CTEST_SOURCE_DIRECTORY variable is used. "
- "The OPTIONS argument specifies command line arguments to pass to "
- "the configuration tool. "
- "The RETURN_VALUE option specifies a variable in which to store the "
- "return value of the native build tool."
- "\n"
- CTEST_COMMAND_APPEND_OPTION_DOCS;
- }
-
cmTypeMacro(cmCTestConfigureCommand, cmCTestHandlerCommand);
protected:
diff --git a/Source/CTest/cmCTestCoverageCommand.h b/Source/CTest/cmCTestCoverageCommand.h
index 2fe762c..11bb411 100644
--- a/Source/CTest/cmCTestCoverageCommand.h
+++ b/Source/CTest/cmCTestCoverageCommand.h
@@ -41,32 +41,6 @@ public:
*/
virtual const char* GetName() const { return "ctest_coverage";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Collect coverage tool results.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " ctest_coverage([BUILD build_dir] [RETURN_VALUE res] [APPEND]\n"
- " [LABELS label1 [label2 [...]]])\n"
- "Perform the coverage of the given build directory and stores results "
- "in Coverage.xml. The second argument is a variable that will hold "
- "value."
- "\n"
- "The LABELS option filters the coverage report to include only "
- "source files labeled with at least one of the labels specified."
- "\n"
- CTEST_COMMAND_APPEND_OPTION_DOCS;
- }
-
cmTypeMacro(cmCTestCoverageCommand, cmCTestHandlerCommand);
protected:
diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx
index 20aded2..3c65c55 100644
--- a/Source/CTest/cmCTestCoverageHandler.cxx
+++ b/Source/CTest/cmCTestCoverageHandler.cxx
@@ -11,6 +11,7 @@
============================================================================*/
#include "cmCTestCoverageHandler.h"
#include "cmParsePHPCoverage.h"
+#include "cmParsePythonCoverage.h"
#include "cmParseGTMCoverage.h"
#include "cmParseCacheCoverage.h"
#include "cmCTest.h"
@@ -25,6 +26,7 @@
#include <cmsys/Glob.hxx>
#include <cmsys/stl/iterator>
#include <cmsys/stl/algorithm>
+#include <cmsys/FStream.hxx>
#include <stdlib.h>
#include <math.h>
@@ -141,6 +143,7 @@ void cmCTestCoverageHandler::Initialize()
this->Superclass::Initialize();
this->CustomCoverageExclude.clear();
this->SourceLabels.clear();
+ this->TargetDirs.clear();
this->LabelIdMap.clear();
this->Labels.clear();
this->LabelFilter.clear();
@@ -392,6 +395,13 @@ int cmCTestCoverageHandler::ProcessHandler()
{
return error;
}
+ file_count += this->HandlePythonCoverage(&cont);
+ error = cont.Error;
+ if ( file_count < 0 )
+ {
+ return error;
+ }
+
file_count += this->HandleMumpsCoverage(&cont);
error = cont.Error;
if ( file_count < 0 )
@@ -502,7 +512,7 @@ int cmCTestCoverageHandler::ProcessHandler()
<< "\" FullPath=\"" << cmXMLSafe(shortFileName) << "\">\n"
<< "\t\t<Report>" << std::endl;
- std::ifstream ifs(fullFileName.c_str());
+ cmsys::ifstream ifs(fullFileName.c_str());
if ( !ifs)
{
cmOStringStream ostr;
@@ -591,7 +601,7 @@ int cmCTestCoverageHandler::ProcessHandler()
<< "\" FullPath=\"" << cmXMLSafe(*i) << "\">\n"
<< "\t\t<Report>" << std::endl;
- std::ifstream ifs(fullPath.c_str());
+ cmsys::ifstream ifs(fullPath.c_str());
if (!ifs)
{
cmOStringStream ostr;
@@ -761,6 +771,32 @@ int cmCTestCoverageHandler::HandlePHPCoverage(
}
return static_cast<int>(cont->TotalCoverage.size());
}
+
+//----------------------------------------------------------------------
+int cmCTestCoverageHandler::HandlePythonCoverage(
+ cmCTestCoverageHandlerContainer* cont)
+{
+ cmParsePythonCoverage cov(*cont, this->CTest);
+
+ // Assume the coverage.xml is in the source directory
+ std::string coverageXMLFile = this->CTest->GetBinaryDir() + "/coverage.xml";
+
+ if(cmSystemTools::FileExists(coverageXMLFile.c_str()))
+ {
+ cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT,
+ "Parsing coverage.py XML file: " << coverageXMLFile
+ << std::endl);
+ cov.ReadCoverageXML(coverageXMLFile.c_str());
+ }
+ else
+ {
+ cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT,
+ "Cannot find coverage.py XML file: " << coverageXMLFile
+ << std::endl);
+ }
+ return static_cast<int>(cont->TotalCoverage.size());
+}
+
//----------------------------------------------------------------------
int cmCTestCoverageHandler::HandleMumpsCoverage(
cmCTestCoverageHandlerContainer* cont)
@@ -1123,7 +1159,7 @@ int cmCTestCoverageHandler::HandleGCovCoverage(
cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT, " in gcovFile: "
<< gcovFile << std::endl);
- std::ifstream ifile(gcovFile.c_str());
+ cmsys::ifstream ifile(gcovFile.c_str());
if ( ! ifile )
{
cmCTestLog(this->CTest, ERROR_MESSAGE, "Cannot open file: "
@@ -1335,7 +1371,7 @@ int cmCTestCoverageHandler::HandleTracePyCoverage(
= &cont->TotalCoverage[actualSourceFile];
cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT,
" in file: " << fileIt->c_str() << std::endl);
- std::ifstream ifile(fileIt->c_str());
+ cmsys::ifstream ifile(fileIt->c_str());
if ( ! ifile )
{
cmCTestLog(this->CTest, ERROR_MESSAGE, "Cannot open file: "
@@ -1495,7 +1531,7 @@ int cmCTestCoverageHandler::RunBullseyeCoverageBranch(
"covbr output in " << outputFile
<< std::endl);
// open the output file
- std::ifstream fin(outputFile.c_str());
+ cmsys::ifstream fin(outputFile.c_str());
if(!fin)
{
cmCTestLog(this->CTest, ERROR_MESSAGE,
@@ -1708,7 +1744,7 @@ int cmCTestCoverageHandler::RunBullseyeSourceSummary(
std::vector<std::string> coveredFiles;
std::vector<std::string> coveredFilesFullPath;
// Read and parse the summary output file
- std::ifstream fin(outputFile.c_str());
+ cmsys::ifstream fin(outputFile.c_str());
if(!fin)
{
cmCTestLog(this->CTest, ERROR_MESSAGE,
@@ -1977,7 +2013,7 @@ void cmCTestCoverageHandler::LoadLabels()
fileList += "/TargetDirectories.txt";
cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT,
" target directory list [" << fileList << "]\n");
- std::ifstream finList(fileList.c_str());
+ cmsys::ifstream finList(fileList.c_str());
std::string line;
while(cmSystemTools::GetLineFromStream(finList, line))
{
@@ -1991,7 +2027,7 @@ void cmCTestCoverageHandler::LoadLabels(const char* dir)
LabelSet& dirLabels = this->TargetDirs[dir];
std::string fname = dir;
fname += "/Labels.txt";
- std::ifstream fin(fname.c_str());
+ cmsys::ifstream fin(fname.c_str());
if(!fin)
{
return;
@@ -2045,7 +2081,7 @@ void cmCTestCoverageHandler::LoadLabels(const char* dir)
}
//----------------------------------------------------------------------
-void cmCTestCoverageHandler::WriteXMLLabels(std::ofstream& os,
+void cmCTestCoverageHandler::WriteXMLLabels(std::ostream& os,
std::string const& source)
{
LabelMapType::const_iterator li = this->SourceLabels.find(source);
diff --git a/Source/CTest/cmCTestCoverageHandler.h b/Source/CTest/cmCTestCoverageHandler.h
index 92b0b22..660f501 100644
--- a/Source/CTest/cmCTestCoverageHandler.h
+++ b/Source/CTest/cmCTestCoverageHandler.h
@@ -70,6 +70,10 @@ private:
//! Handle coverage using xdebug php coverage
int HandlePHPCoverage(cmCTestCoverageHandlerContainer* cont);
+
+ //! Handle coverage for Python with coverage.py
+ int HandlePythonCoverage(cmCTestCoverageHandlerContainer* cont);
+
//! Handle coverage for mumps
int HandleMumpsCoverage(cmCTestCoverageHandlerContainer* cont);
@@ -128,7 +132,7 @@ private:
// Label reading and writing methods.
void LoadLabels();
void LoadLabels(const char* dir);
- void WriteXMLLabels(std::ofstream& os, std::string const& source);
+ void WriteXMLLabels(std::ostream& os, std::string const& source);
// Label-based filtering.
std::set<int> LabelFilter;
diff --git a/Source/CTest/cmCTestEmptyBinaryDirectoryCommand.h b/Source/CTest/cmCTestEmptyBinaryDirectoryCommand.h
index a763fe9..07e59a4 100644
--- a/Source/CTest/cmCTestEmptyBinaryDirectoryCommand.h
+++ b/Source/CTest/cmCTestEmptyBinaryDirectoryCommand.h
@@ -50,26 +50,6 @@ public:
*/
virtual const char* GetName() const { return "ctest_empty_binary_directory";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "empties the binary directory";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " ctest_empty_binary_directory( directory )\n"
- "Removes a binary directory. This command will perform some checks "
- "prior to deleting the directory in an attempt to avoid malicious "
- "or accidental directory deletion.";
- }
-
cmTypeMacro(cmCTestEmptyBinaryDirectoryCommand, cmCTestCommand);
};
diff --git a/Source/CTest/cmCTestGIT.cxx b/Source/CTest/cmCTestGIT.cxx
index 5b34491..0e0e797 100644
--- a/Source/CTest/cmCTestGIT.cxx
+++ b/Source/CTest/cmCTestGIT.cxx
@@ -18,6 +18,7 @@
#include <cmsys/RegularExpression.hxx>
#include <cmsys/ios/sstream>
#include <cmsys/Process.h>
+#include <cmsys/FStream.hxx>
#include <sys/types.h>
#include <time.h>
@@ -200,7 +201,7 @@ bool cmCTestGIT::UpdateByFetchAndReset()
std::string sha1;
{
std::string fetch_head = this->FindGitDir() + "/FETCH_HEAD";
- std::ifstream fin(fetch_head.c_str(), std::ios::in | std::ios::binary);
+ cmsys::ifstream fin(fetch_head.c_str(), std::ios::in | std::ios::binary);
if(!fin)
{
this->Log << "Unable to open " << fetch_head << "\n";
@@ -536,11 +537,11 @@ private:
void DoHeaderLine()
{
// Look for header fields that we need.
- if(strncmp(this->Line.c_str(), "commit ", 7) == 0)
+ if(cmHasLiteralPrefix(this->Line.c_str(), "commit "))
{
this->Rev.Rev = this->Line.c_str()+7;
}
- else if(strncmp(this->Line.c_str(), "author ", 7) == 0)
+ else if(cmHasLiteralPrefix(this->Line.c_str(), "author "))
{
Person author;
this->ParsePerson(this->Line.c_str()+7, author);
@@ -548,7 +549,7 @@ private:
this->Rev.EMail = author.EMail;
this->Rev.Date = this->FormatDateTime(author);
}
- else if(strncmp(this->Line.c_str(), "committer ", 10) == 0)
+ else if(cmHasLiteralPrefix(this->Line.c_str(), "committer "))
{
Person committer;
this->ParsePerson(this->Line.c_str()+10, committer);
diff --git a/Source/CTest/cmCTestLaunch.cxx b/Source/CTest/cmCTestLaunch.cxx
index 9831d02..cd3bd57 100644
--- a/Source/CTest/cmCTestLaunch.cxx
+++ b/Source/CTest/cmCTestLaunch.cxx
@@ -19,6 +19,7 @@
#include <cmsys/MD5.h>
#include <cmsys/Process.h>
#include <cmsys/RegularExpression.hxx>
+#include <cmsys/FStream.hxx>
//----------------------------------------------------------------------------
cmCTestLaunch::cmCTestLaunch(int argc, const char* const* argv)
@@ -64,7 +65,8 @@ bool cmCTestLaunch::ParseArguments(int argc, const char* const* argv)
DoingTargetName,
DoingTargetType,
DoingBuildDir,
- DoingCount };
+ DoingCount,
+ DoingFilterPrefix };
Doing doing = DoingNone;
int arg0 = 0;
for(int i=1; !arg0 && i < argc; ++i)
@@ -98,6 +100,10 @@ bool cmCTestLaunch::ParseArguments(int argc, const char* const* argv)
{
doing = DoingBuildDir;
}
+ else if(strcmp(arg, "--filter-prefix") == 0)
+ {
+ doing = DoingFilterPrefix;
+ }
else if(doing == DoingOutput)
{
this->OptionOutput = arg;
@@ -132,6 +138,11 @@ bool cmCTestLaunch::ParseArguments(int argc, const char* const* argv)
this->OptionBuildDir = arg;
doing = DoingNone;
}
+ else if(doing == DoingFilterPrefix)
+ {
+ this->OptionFilterPrefix = arg;
+ doing = DoingNone;
+ }
}
// Extract the real command line.
@@ -161,7 +172,7 @@ void cmCTestLaunch::HandleRealArg(const char* arg)
// Expand response file arguments.
if(arg[0] == '@' && cmSystemTools::FileExists(arg+1))
{
- std::ifstream fin(arg+1);
+ cmsys::ifstream fin(arg+1);
std::string line;
while(cmSystemTools::GetLineFromStream(fin, line))
{
@@ -231,8 +242,8 @@ void cmCTestLaunch::RunChild()
cmsysProcess* cp = this->Process;
cmsysProcess_SetCommand(cp, this->RealArgV);
- std::ofstream fout;
- std::ofstream ferr;
+ cmsys::ofstream fout;
+ cmsys::ofstream ferr;
if(this->Passthru)
{
// In passthru mode we just share the output pipes.
@@ -320,7 +331,7 @@ void cmCTestLaunch::LoadLabels()
cmSystemTools::ConvertToUnixSlashes(source);
// Load the labels file.
- std::ifstream fin(fname.c_str(), std::ios::in | std::ios::binary);
+ cmsys::ifstream fin(fname.c_str(), std::ios::in | std::ios::binary);
if(!fin) { return; }
bool inTarget = true;
bool inSource = false;
@@ -569,12 +580,18 @@ void cmCTestLaunch::WriteXMLLabels(std::ostream& fxml)
void cmCTestLaunch::DumpFileToXML(std::ostream& fxml,
std::string const& fname)
{
- std::ifstream fin(fname.c_str(), std::ios::in | std::ios::binary);
+ cmsys::ifstream fin(fname.c_str(), std::ios::in | std::ios::binary);
std::string line;
const char* sep = "";
+
while(cmSystemTools::GetLineFromStream(fin, line))
{
+ if(MatchesFilterPrefix(line))
+ {
+ continue;
+ }
+
fxml << sep << cmXMLSafe(line).Quotes(false);
sep = "\n";
}
@@ -635,7 +652,7 @@ cmCTestLaunch
fname += "Custom";
fname += purpose;
fname += ".txt";
- std::ifstream fin(fname.c_str(), std::ios::in | std::ios::binary);
+ cmsys::ifstream fin(fname.c_str(), std::ios::in | std::ios::binary);
std::string line;
cmsys::RegularExpression rex;
while(cmSystemTools::GetLineFromStream(fin, line))
@@ -654,10 +671,15 @@ bool cmCTestLaunch::ScrapeLog(std::string const& fname)
// Look for log file lines matching warning expressions but not
// suppression expressions.
- std::ifstream fin(fname.c_str(), std::ios::in | std::ios::binary);
+ cmsys::ifstream fin(fname.c_str(), std::ios::in | std::ios::binary);
std::string line;
while(cmSystemTools::GetLineFromStream(fin, line))
{
+ if(MatchesFilterPrefix(line))
+ {
+ continue;
+ }
+
if(this->Match(line.c_str(), this->RegexWarning) &&
!this->Match(line.c_str(), this->RegexWarningSuppress))
{
@@ -683,6 +705,17 @@ bool cmCTestLaunch::Match(std::string const& line,
}
//----------------------------------------------------------------------------
+bool cmCTestLaunch::MatchesFilterPrefix(std::string const& line) const
+{
+ if(this->OptionFilterPrefix.size() && cmSystemTools::StringStartsWith(
+ line.c_str(), this->OptionFilterPrefix.c_str()))
+ {
+ return true;
+ }
+ return false;
+}
+
+//----------------------------------------------------------------------------
int cmCTestLaunch::Main(int argc, const char* const argv[])
{
if(argc == 2)
diff --git a/Source/CTest/cmCTestLaunch.h b/Source/CTest/cmCTestLaunch.h
index 7457e83..f680d19 100644
--- a/Source/CTest/cmCTestLaunch.h
+++ b/Source/CTest/cmCTestLaunch.h
@@ -45,6 +45,7 @@ private:
std::string OptionTargetName;
std::string OptionTargetType;
std::string OptionBuildDir;
+ std::string OptionFilterPrefix;
bool ParseArguments(int argc, const char* const* argv);
// The real command line appearing after launcher arguments.
@@ -87,6 +88,7 @@ private:
bool ScrapeLog(std::string const& fname);
bool Match(std::string const& line,
std::vector<cmsys::RegularExpression>& regexps);
+ bool MatchesFilterPrefix(std::string const& line) const;
// Methods to generate the xml fragment.
void WriteXML();
diff --git a/Source/CTest/cmCTestMemCheckCommand.h b/Source/CTest/cmCTestMemCheckCommand.h
index 6db47ae..b50170d 100644
--- a/Source/CTest/cmCTestMemCheckCommand.h
+++ b/Source/CTest/cmCTestMemCheckCommand.h
@@ -43,40 +43,6 @@ public:
*/
virtual const char* GetName() const { return "ctest_memcheck";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Run tests with a dynamic analysis tool.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " ctest_memcheck([BUILD build_dir] [RETURN_VALUE res] [APPEND]\n"
- " [START start number] [END end number]\n"
- " [STRIDE stride number] [EXCLUDE exclude regex ]\n"
- " [INCLUDE include regex] \n"
- " [EXCLUDE_LABEL exclude regex] \n"
- " [INCLUDE_LABEL label regex] \n"
- " [PARALLEL_LEVEL level] )\n"
- "Tests the given build directory and stores results in MemCheck.xml. "
- "The second argument is a variable that will hold value. Optionally, "
- "you can specify the starting test number START, the ending test number "
- "END, the number of tests to skip between each test STRIDE, a regular "
- "expression for tests to run INCLUDE, or a regular expression for tests "
- "not to run EXCLUDE. EXCLUDE_LABEL and INCLUDE_LABEL are regular "
- "expressions for tests to be included or excluded by the test "
- "property LABEL. PARALLEL_LEVEL should be set to a positive number "
- "representing the number of tests to be run in parallel."
- "\n"
- CTEST_COMMAND_APPEND_OPTION_DOCS;
- }
-
cmTypeMacro(cmCTestMemCheckCommand, cmCTestTestCommand);
protected:
diff --git a/Source/CTest/cmCTestMemCheckHandler.cxx b/Source/CTest/cmCTestMemCheckHandler.cxx
index 3ae2ac6..fdce04d 100644
--- a/Source/CTest/cmCTestMemCheckHandler.cxx
+++ b/Source/CTest/cmCTestMemCheckHandler.cxx
@@ -18,6 +18,7 @@
#include <cmsys/Process.h>
#include <cmsys/RegularExpression.hxx>
#include <cmsys/Base64.h>
+#include <cmsys/FStream.hxx>
#include "cmMakefile.h"
#include "cmXMLSafe.h"
@@ -929,7 +930,7 @@ cmCTestMemCheckHandler::PostProcessBoundsCheckerTest(cmCTestTestResult& res,
}
// put a scope around this to close ifs so the file can be removed
{
- std::ifstream ifs(ofile.c_str());
+ cmsys::ifstream ifs(ofile.c_str());
if ( !ifs )
{
std::string log = "Cannot read memory tester output file: " + ofile;
@@ -984,7 +985,7 @@ cmCTestMemCheckHandler::appendMemTesterOutput(cmCTestTestResult& res,
{
return;
}
- std::ifstream ifs(ofile.c_str());
+ cmsys::ifstream ifs(ofile.c_str());
if ( !ifs )
{
std::string log = "Cannot read memory tester output file: " + ofile;
diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx
index 76ddeea..ddd1707 100644
--- a/Source/CTest/cmCTestMultiProcessHandler.cxx
+++ b/Source/CTest/cmCTestMultiProcessHandler.cxx
@@ -17,6 +17,7 @@
#include <stdlib.h>
#include <stack>
#include <float.h>
+#include <cmsys/FStream.hxx>
class TestComparator
{
@@ -41,6 +42,7 @@ cmCTestMultiProcessHandler::cmCTestMultiProcessHandler()
this->Completed = 0;
this->RunningCount = 0;
this->StopTimePassed = false;
+ this->HasCycles = false;
}
cmCTestMultiProcessHandler::~cmCTestMultiProcessHandler()
@@ -65,6 +67,11 @@ cmCTestMultiProcessHandler::SetTests(TestMap& tests,
if(!this->CTest->GetShowOnly())
{
this->ReadCostData();
+ this->HasCycles = !this->CheckCycles();
+ if(this->HasCycles)
+ {
+ return;
+ }
this->CreateTestCostList();
}
}
@@ -79,7 +86,7 @@ void cmCTestMultiProcessHandler::SetParallelLevel(size_t level)
void cmCTestMultiProcessHandler::RunTests()
{
this->CheckResume();
- if(!this->CheckCycles())
+ if(this->HasCycles)
{
return;
}
@@ -133,6 +140,13 @@ void cmCTestMultiProcessHandler::StartTestProcess(int test)
}
else
{
+
+ for(TestMap::iterator j = this->Tests.begin();
+ j != this->Tests.end(); ++j)
+ {
+ j->second.erase(test);
+ }
+
this->UnlockResources(test);
this->Completed++;
this->TestFinishMap[test] = true;
@@ -205,37 +219,8 @@ bool cmCTestMultiProcessHandler::StartTest(int test)
}
}
- // copy the depend tests locally because when
- // a test is finished it will be removed from the depend list
- // and we don't want to be iterating a list while removing from it
- TestSet depends = this->Tests[test];
- size_t totalDepends = depends.size();
- if(totalDepends)
- {
- for(TestSet::const_iterator i = depends.begin();
- i != depends.end(); ++i)
- {
- // if the test is not already running then start it
- if(!this->TestRunningMap[*i])
- {
- // this test might be finished, but since
- // this is a copy of the depend map we might
- // still have it
- if(!this->TestFinishMap[*i])
- {
- // only start one test in this function
- return this->StartTest(*i);
- }
- else
- {
- // the depend has been and finished
- totalDepends--;
- }
- }
- }
- }
// if there are no depends left then run this test
- if(totalDepends == 0)
+ if(this->Tests[test].empty())
{
this->StartTestProcess(test);
return true;
@@ -262,25 +247,17 @@ void cmCTestMultiProcessHandler::StartNextTests()
TestList copy = this->SortedTests;
for(TestList::iterator test = copy.begin(); test != copy.end(); ++test)
{
- //in case this test has already been started due to dependency
- if(this->TestRunningMap[*test] || this->TestFinishMap[*test])
- {
- continue;
- }
size_t processors = GetProcessorsUsed(*test);
- if(processors > numToStart)
- {
- return;
- }
- if(this->StartTest(*test))
+
+ if(processors <= numToStart && this->StartTest(*test))
{
- if(this->StopTimePassed)
- {
- return;
- }
- numToStart -= processors;
+ if(this->StopTimePassed)
+ {
+ return;
+ }
+ numToStart -= processors;
}
- if(numToStart == 0)
+ else if(numToStart == 0)
{
return;
}
@@ -349,7 +326,7 @@ void cmCTestMultiProcessHandler::UpdateCostData()
if(cmSystemTools::FileExists(fname.c_str()))
{
- std::ifstream fin;
+ cmsys::ifstream fin;
fin.open(fname.c_str());
std::string line;
@@ -408,7 +385,7 @@ void cmCTestMultiProcessHandler::ReadCostData()
if(cmSystemTools::FileExists(fname.c_str(), true))
{
- std::ifstream fin;
+ cmsys::ifstream fin;
fin.open(fname.c_str());
std::string line;
while(std::getline(fin, line))
@@ -472,24 +449,160 @@ int cmCTestMultiProcessHandler::SearchByName(std::string name)
//---------------------------------------------------------
void cmCTestMultiProcessHandler::CreateTestCostList()
{
- for(TestMap::iterator i = this->Tests.begin();
- i != this->Tests.end(); ++i)
+ if(this->ParallelLevel > 1)
{
- SortedTests.push_back(i->first);
+ CreateParallelTestCostList();
+ }
+ else
+ {
+ CreateSerialTestCostList();
+ }
+}
- //If the test failed last time, it should be run first, so max the cost.
- //Only do this for parallel runs; in non-parallel runs, avoid clobbering
- //the test's explicitly set cost.
- if(this->ParallelLevel > 1 &&
- std::find(this->LastTestsFailed.begin(), this->LastTestsFailed.end(),
+//---------------------------------------------------------
+void cmCTestMultiProcessHandler::CreateParallelTestCostList()
+{
+ TestSet alreadySortedTests;
+
+ std::list<TestSet> priorityStack;
+ priorityStack.push_back(TestSet());
+ TestSet &topLevel = priorityStack.back();
+
+ // In parallel test runs add previously failed tests to the front
+ // of the cost list and queue other tests for further sorting
+ for(TestMap::const_iterator i = this->Tests.begin();
+ i != this->Tests.end(); ++i)
+ {
+ if(std::find(this->LastTestsFailed.begin(), this->LastTestsFailed.end(),
this->Properties[i->first]->Name) != this->LastTestsFailed.end())
{
- this->Properties[i->first]->Cost = FLT_MAX;
+ //If the test failed last time, it should be run first.
+ this->SortedTests.push_back(i->first);
+ alreadySortedTests.insert(i->first);
+ }
+ else
+ {
+ topLevel.insert(i->first);
}
}
+ // In parallel test runs repeatedly move dependencies of the tests on
+ // the current dependency level to the next level until no
+ // further dependencies exist.
+ while(priorityStack.back().size())
+ {
+ TestSet &previousSet = priorityStack.back();
+ priorityStack.push_back(TestSet());
+ TestSet &currentSet = priorityStack.back();
+
+ for(TestSet::const_iterator i = previousSet.begin();
+ i != previousSet.end(); ++i)
+ {
+ TestSet const& dependencies = this->Tests[*i];
+ for(TestSet::const_iterator j = dependencies.begin();
+ j != dependencies.end(); ++j)
+ {
+ currentSet.insert(*j);
+ }
+ }
+
+ for(TestSet::const_iterator i = currentSet.begin();
+ i != currentSet.end(); ++i)
+ {
+ previousSet.erase(*i);
+ }
+ }
+
+ // Remove the empty dependency level
+ priorityStack.pop_back();
+
+ // Reverse iterate over the different dependency levels (deepest first).
+ // Sort tests within each level by COST and append them to the cost list.
+ for(std::list<TestSet>::reverse_iterator i = priorityStack.rbegin();
+ i != priorityStack.rend(); ++i)
+ {
+ TestSet const& currentSet = *i;
+ TestComparator comp(this);
+
+ TestList sortedCopy;
+
+ for(TestSet::const_iterator j = currentSet.begin();
+ j != currentSet.end(); ++j)
+ {
+ sortedCopy.push_back(*j);
+ }
+
+ std::stable_sort(sortedCopy.begin(), sortedCopy.end(), comp);
+
+ for(TestList::const_iterator j = sortedCopy.begin();
+ j != sortedCopy.end(); ++j)
+ {
+ if(alreadySortedTests.find(*j) == alreadySortedTests.end())
+ {
+ this->SortedTests.push_back(*j);
+ alreadySortedTests.insert(*j);
+ }
+ }
+ }
+}
+
+//---------------------------------------------------------
+void cmCTestMultiProcessHandler::GetAllTestDependencies(
+ int test, TestList& dependencies)
+{
+ TestSet const& dependencySet = this->Tests[test];
+ for(TestSet::const_iterator i = dependencySet.begin();
+ i != dependencySet.end(); ++i)
+ {
+ GetAllTestDependencies(*i, dependencies);
+ dependencies.push_back(*i);
+ }
+}
+
+//---------------------------------------------------------
+void cmCTestMultiProcessHandler::CreateSerialTestCostList()
+{
+ TestList presortedList;
+
+ for(TestMap::iterator i = this->Tests.begin();
+ i != this->Tests.end(); ++i)
+ {
+ presortedList.push_back(i->first);
+ }
+
TestComparator comp(this);
- std::stable_sort(SortedTests.begin(), SortedTests.end(), comp);
+ std::stable_sort(presortedList.begin(), presortedList.end(), comp);
+
+ TestSet alreadySortedTests;
+
+ for(TestList::const_iterator i = presortedList.begin();
+ i != presortedList.end(); ++i)
+ {
+ int test = *i;
+
+ if(alreadySortedTests.find(test) != alreadySortedTests.end())
+ {
+ continue;
+ }
+
+ TestList dependencies;
+ GetAllTestDependencies(test, dependencies);
+
+ for(TestList::const_iterator j = dependencies.begin();
+ j != dependencies.end(); ++j)
+ {
+ int testDependency = *j;
+
+ if(alreadySortedTests.find(testDependency) == alreadySortedTests.end())
+ {
+ alreadySortedTests.insert(testDependency);
+ this->SortedTests.push_back(testDependency);
+ }
+ }
+
+ alreadySortedTests.insert(test);
+ this->SortedTests.push_back(test);
+ }
}
//---------------------------------------------------------
@@ -609,7 +722,7 @@ void cmCTestMultiProcessHandler::CheckResume()
<< "----------------------------------------------------------"
<< std::endl;
- std::ifstream fin;
+ cmsys::ifstream fin;
fin.open(fname.c_str());
std::string line;
while(std::getline(fin, line))
diff --git a/Source/CTest/cmCTestMultiProcessHandler.h b/Source/CTest/cmCTestMultiProcessHandler.h
index cd21d91..1b53ec7 100644
--- a/Source/CTest/cmCTestMultiProcessHandler.h
+++ b/Source/CTest/cmCTestMultiProcessHandler.h
@@ -72,6 +72,12 @@ protected:
int SearchByName(std::string name);
void CreateTestCostList();
+
+ void GetAllTestDependencies(int test, TestList& dependencies);
+ void CreateSerialTestCostList();
+
+ void CreateParallelTestCostList();
+
// Removes the checkpoint file
void MarkFinished();
void EraseTest(int index);
@@ -111,6 +117,7 @@ protected:
std::set<cmCTestRunTest*> RunningTests; // current running tests
cmCTestTestHandler * TestHandler;
cmCTest* CTest;
+ bool HasCycles;
};
#endif
diff --git a/Source/CTest/cmCTestP4.cxx b/Source/CTest/cmCTestP4.cxx
new file mode 100644
index 0000000..b09d6f5
--- /dev/null
+++ b/Source/CTest/cmCTestP4.cxx
@@ -0,0 +1,568 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2000-2013 Kitware, Inc.
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#include "cmCTestP4.h"
+
+#include "cmCTest.h"
+#include "cmSystemTools.h"
+#include "cmXMLSafe.h"
+
+#include <cmsys/RegularExpression.hxx>
+#include <cmsys/ios/sstream>
+#include <cmsys/Process.h>
+
+#include <sys/types.h>
+#include <time.h>
+#include <ctype.h>
+
+//----------------------------------------------------------------------------
+cmCTestP4::cmCTestP4(cmCTest* ct, std::ostream& log):
+ cmCTestGlobalVC(ct, log)
+{
+ this->PriorRev = this->Unknown;
+}
+
+//----------------------------------------------------------------------------
+cmCTestP4::~cmCTestP4()
+{
+}
+
+//----------------------------------------------------------------------------
+class cmCTestP4::IdentifyParser: public cmCTestVC::LineParser
+{
+public:
+ IdentifyParser(cmCTestP4* p4, const char* prefix,
+ std::string& rev): Rev(rev)
+ {
+ this->SetLog(&p4->Log, prefix);
+ this->RegexIdentify.compile("^Change ([0-9]+) on");
+ }
+private:
+ std::string& Rev;
+ cmsys::RegularExpression RegexIdentify;
+
+ bool ProcessLine()
+ {
+ if(this->RegexIdentify.find(this->Line))
+ {
+ this->Rev = this->RegexIdentify.match(1);
+ return false;
+ }
+ return true;
+ }
+};
+
+//----------------------------------------------------------------------------
+class cmCTestP4::ChangesParser: public cmCTestVC::LineParser
+{
+public:
+ ChangesParser(cmCTestP4* p4, const char* prefix) : P4(p4)
+ {
+ this->SetLog(&P4->Log, prefix);
+ this->RegexIdentify.compile("^Change ([0-9]+) on");
+ }
+private:
+ cmsys::RegularExpression RegexIdentify;
+ cmCTestP4* P4;
+
+ bool ProcessLine()
+ {
+ if(this->RegexIdentify.find(this->Line))
+ {
+ P4->ChangeLists.push_back(this->RegexIdentify.match(1));
+ }
+ return true;
+ }
+};
+
+//----------------------------------------------------------------------------
+class cmCTestP4::UserParser: public cmCTestVC::LineParser
+{
+public:
+ UserParser(cmCTestP4* p4, const char* prefix) : P4(p4)
+ {
+ this->SetLog(&P4->Log, prefix);
+ this->RegexUser.compile("^(.+) <(.*)> \\((.*)\\) accessed (.*)$");
+ }
+private:
+ cmsys::RegularExpression RegexUser;
+ cmCTestP4* P4;
+
+ bool ProcessLine()
+ {
+ if(this->RegexUser.find(this->Line))
+ {
+ User NewUser;
+
+ NewUser.UserName = this->RegexUser.match(1);
+ NewUser.EMail = this->RegexUser.match(2);
+ NewUser.Name = this->RegexUser.match(3);
+ NewUser.AccessTime = this->RegexUser.match(4);
+ P4->Users[this->RegexUser.match(1)] = NewUser;
+
+ return false;
+ }
+ return true;
+ }
+};
+
+//----------------------------------------------------------------------------
+/* Diff format:
+==== //depot/file#rev - /absolute/path/to/file ====
+(diff data)
+==== //depot/file2#rev - /absolute/path/to/file2 ====
+(diff data)
+==== //depot/file3#rev - /absolute/path/to/file3 ====
+==== //depot/file4#rev - /absolute/path/to/file4 ====
+(diff data)
+*/
+class cmCTestP4::DiffParser: public cmCTestVC::LineParser
+{
+public:
+ DiffParser(cmCTestP4* p4, const char* prefix)
+ : P4(p4), AlreadyNotified(false)
+ {
+ this->SetLog(&P4->Log, prefix);
+ this->RegexDiff.compile("^==== (.*)#[0-9]+ - (.*)");
+ }
+private:
+ cmCTestP4* P4;
+ bool AlreadyNotified;
+ std::string CurrentPath;
+ cmsys::RegularExpression RegexDiff;
+
+ bool ProcessLine()
+ {
+ if(!this->Line.empty() && this->Line[0] == '='
+ && this->RegexDiff.find(this->Line))
+ {
+ CurrentPath = this->RegexDiff.match(1);
+ AlreadyNotified = false;
+ }
+ else
+ {
+ if(!AlreadyNotified)
+ {
+ P4->DoModification(PathModified, CurrentPath);
+ AlreadyNotified = true;
+ }
+ }
+ return true;
+ }
+};
+
+//----------------------------------------------------------------------------
+cmCTestP4::User cmCTestP4::GetUserData(const std::string& username)
+{
+ std::map<std::string, cmCTestP4::User>::const_iterator it =
+ Users.find(username);
+
+ if(it == Users.end())
+ {
+ std::vector<char const*> p4_users;
+ SetP4Options(p4_users);
+ p4_users.push_back("users");
+ p4_users.push_back("-m");
+ p4_users.push_back("1");
+ p4_users.push_back(username.c_str());
+ p4_users.push_back(0);
+
+ UserParser out(this, "users-out> ");
+ OutputLogger err(this->Log, "users-err> ");
+ RunChild(&p4_users[0], &out, &err);
+
+ // The user should now be added to the map. Search again.
+ it = Users.find(username);
+ if(it == Users.end())
+ {
+ return cmCTestP4::User();
+ }
+ }
+
+ return it->second;
+}
+
+//----------------------------------------------------------------------------
+/* Commit format:
+
+Change 1111111 by user@client on 2013/09/26 11:50:36
+
+ text
+ text
+
+Affected files ...
+
+... //path/to/file#rev edit
+... //path/to/file#rev add
+... //path/to/file#rev delete
+... //path/to/file#rev integrate
+*/
+class cmCTestP4::DescribeParser: public cmCTestVC::LineParser
+{
+public:
+ DescribeParser(cmCTestP4* p4, const char* prefix):
+ LineParser('\n', false), P4(p4), Section(SectionHeader)
+ {
+ this->SetLog(&P4->Log, prefix);
+ this->RegexHeader.compile("^Change ([0-9]+) by (.+)@(.+) on (.*)$");
+ this->RegexDiff.compile("^\\.\\.\\. (.*)#[0-9]+ ([^ ]+)$");
+ }
+private:
+ cmsys::RegularExpression RegexHeader;
+ cmsys::RegularExpression RegexDiff;
+ cmCTestP4* P4;
+
+ typedef cmCTestP4::Revision Revision;
+ typedef cmCTestP4::Change Change;
+ std::vector<Change> Changes;
+ enum SectionType { SectionHeader, SectionBody, SectionDiffHeader,
+ SectionDiff, SectionCount };
+ SectionType Section;
+ Revision Rev;
+
+ virtual bool ProcessLine()
+ {
+ if(this->Line.empty())
+ {
+ this->NextSection();
+ }
+ else
+ {
+ switch(this->Section)
+ {
+ case SectionHeader: this->DoHeaderLine(); break;
+ case SectionBody: this->DoBodyLine(); break;
+ case SectionDiffHeader: break; // nothing to do
+ case SectionDiff: this->DoDiffLine(); break;
+ case SectionCount: break; // never happens
+ }
+ }
+ return true;
+ }
+
+ void NextSection()
+ {
+ if(this->Section == SectionDiff)
+ {
+ this->P4->DoRevision(this->Rev, this->Changes);
+ this->Rev = Revision();
+ }
+
+ this->Section = SectionType((this->Section+1) % SectionCount);
+ }
+
+ void DoHeaderLine()
+ {
+ if(this->RegexHeader.find(this->Line))
+ {
+ this->Rev.Rev = this->RegexHeader.match(1);
+ this->Rev.Date = this->RegexHeader.match(4);
+
+ cmCTestP4::User user = P4->GetUserData(this->RegexHeader.match(2));
+ this->Rev.Author = user.Name;
+ this->Rev.EMail = user.EMail;
+
+ this->Rev.Committer = this->Rev.Author;
+ this->Rev.CommitterEMail = this->Rev.EMail;
+ this->Rev.CommitDate = this->Rev.Date;
+ }
+ }
+
+ void DoBodyLine()
+ {
+ if(this->Line[0] == '\t')
+ {
+ this->Rev.Log += this->Line.substr(1);
+ }
+ this->Rev.Log += "\n";
+ }
+
+ void DoDiffLine()
+ {
+ if(this->RegexDiff.find(this->Line))
+ {
+ Change change;
+ std::string Path = this->RegexDiff.match(1);
+ if(Path.length() > 2 && Path[0] == '/' && Path[1] == '/')
+ {
+ size_t found = Path.find('/', 2);
+ if(found != std::string::npos)
+ {
+ Path = Path.substr(found + 1);
+ }
+ }
+
+ change.Path = Path;
+ std::string action = this->RegexDiff.match(2);
+
+ if(action == "add")
+ {
+ change.Action = 'A';
+ }
+ else if(action == "delete")
+ {
+ change.Action = 'D';
+ }
+ else if(action == "edit" || action == "integrate")
+ {
+ change.Action = 'M';
+ }
+
+ Changes.push_back(change);
+ }
+ }
+};
+
+//----------------------------------------------------------------------------
+void cmCTestP4::SetP4Options(std::vector<char const*> &CommandOptions)
+{
+ if(P4Options.size() == 0)
+ {
+ const char* p4 = this->CommandLineTool.c_str();
+ P4Options.push_back(p4);
+
+ //The CTEST_P4_CLIENT variable sets the P4 client used when issuing
+ //Perforce commands, if it's different from the default one.
+ std::string client = this->CTest->GetCTestConfiguration("P4Client");
+ if(!client.empty())
+ {
+ P4Options.push_back("-c");
+ P4Options.push_back(client);
+ }
+
+ //Set the message language to be English, in case the P4 admin
+ //has localized them
+ P4Options.push_back("-L");
+ P4Options.push_back("en");
+
+ //The CTEST_P4_OPTIONS variable adds additional Perforce command line
+ //options before the main command
+ std::string opts = this->CTest->GetCTestConfiguration("P4Options");
+ std::vector<cmStdString> args =
+ cmSystemTools::ParseArguments(opts.c_str());
+
+ for(std::vector<cmStdString>::const_iterator ai = args.begin();
+ ai != args.end(); ++ai)
+ {
+ P4Options.push_back(ai->c_str());
+ }
+ }
+
+ CommandOptions.clear();
+ for(std::vector<std::string>::iterator i = P4Options.begin();
+ i != P4Options.end(); ++i)
+ {
+ CommandOptions.push_back(i->c_str());
+ }
+}
+
+//----------------------------------------------------------------------------
+std::string cmCTestP4::GetWorkingRevision()
+{
+ std::vector<char const*> p4_identify;
+ SetP4Options(p4_identify);
+
+ p4_identify.push_back("changes");
+ p4_identify.push_back("-m");
+ p4_identify.push_back("1");
+ p4_identify.push_back("-t");
+
+ std::string source = this->SourceDirectory + "/...#have";
+ p4_identify.push_back(source.c_str());
+ p4_identify.push_back(0);
+
+ std::string rev;
+ IdentifyParser out(this, "p4_changes-out> ", rev);
+ OutputLogger err(this->Log, "p4_changes-err> ");
+
+ bool result = RunChild(&p4_identify[0], &out, &err);
+
+ // If there was a problem contacting the server return "<unknown>"
+ if(!result)
+ {
+ return "<unknown>";
+ }
+
+ if(rev.empty())
+ {
+ return "0";
+ }
+ else
+ {
+ return rev;
+ }
+}
+
+//----------------------------------------------------------------------------
+void cmCTestP4::NoteOldRevision()
+{
+ this->OldRevision = this->GetWorkingRevision();
+
+ cmCTestLog(this->CTest, HANDLER_OUTPUT, " Old revision of repository is: "
+ << this->OldRevision << "\n");
+ this->PriorRev.Rev = this->OldRevision;
+}
+
+//----------------------------------------------------------------------------
+void cmCTestP4::NoteNewRevision()
+{
+ this->NewRevision = this->GetWorkingRevision();
+
+ cmCTestLog(this->CTest, HANDLER_OUTPUT, " New revision of repository is: "
+ << this->NewRevision << "\n");
+}
+
+//----------------------------------------------------------------------------
+void cmCTestP4::LoadRevisions()
+{
+ std::vector<char const*> p4_changes;
+ SetP4Options(p4_changes);
+
+ // Use 'p4 changes ...@old,new' to get a list of changelists
+ std::string range = this->SourceDirectory + "/...";
+
+ // If any revision is unknown it means we couldn't contact the server.
+ // Do not process updates
+ if(this->OldRevision == "<unknown>" || this->NewRevision == "<unknown>")
+ {
+ cmCTestLog(this->CTest, HANDLER_OUTPUT, " At least one of the revisions "
+ << "is unknown. No repository changes will be reported.\n");
+ return;
+ }
+
+ range.append("@").append(this->OldRevision)
+ .append(",").append(this->NewRevision);
+
+ p4_changes.push_back("changes");
+ p4_changes.push_back(range.c_str());
+ p4_changes.push_back(0);
+
+ ChangesParser out(this, "p4_changes-out> ");
+ OutputLogger err(this->Log, "p4_changes-err> ");
+
+ ChangeLists.clear();
+ this->RunChild(&p4_changes[0], &out, &err);
+
+ if(ChangeLists.size() == 0)
+ return;
+
+ //p4 describe -s ...@1111111,2222222
+ std::vector<char const*> p4_describe;
+ for(std::vector<std::string>::reverse_iterator i = ChangeLists.rbegin();
+ i != ChangeLists.rend(); ++i)
+ {
+ SetP4Options(p4_describe);
+ p4_describe.push_back("describe");
+ p4_describe.push_back("-s");
+ p4_describe.push_back(i->c_str());
+ p4_describe.push_back(0);
+
+ DescribeParser outDescribe(this, "p4_describe-out> ");
+ OutputLogger errDescribe(this->Log, "p4_describe-err> ");
+ this->RunChild(&p4_describe[0], &outDescribe, &errDescribe);
+ }
+}
+
+//----------------------------------------------------------------------------
+void cmCTestP4::LoadModifications()
+{
+ std::vector<char const*> p4_diff;
+ SetP4Options(p4_diff);
+
+ p4_diff.push_back("diff");
+
+ //Ideally we would use -Od but not all clients support it
+ p4_diff.push_back("-dn");
+ std::string source = this->SourceDirectory + "/...";
+ p4_diff.push_back(source.c_str());
+ p4_diff.push_back(0);
+
+ DiffParser out(this, "p4_diff-out> ");
+ OutputLogger err(this->Log, "p4_diff-err> ");
+ this->RunChild(&p4_diff[0], &out, &err);
+}
+
+//----------------------------------------------------------------------------
+bool cmCTestP4::UpdateCustom(const std::string& custom)
+{
+ std::vector<std::string> p4_custom_command;
+ cmSystemTools::ExpandListArgument(custom, p4_custom_command, true);
+
+ std::vector<char const*> p4_custom;
+ for(std::vector<std::string>::const_iterator
+ i = p4_custom_command.begin(); i != p4_custom_command.end(); ++i)
+ {
+ p4_custom.push_back(i->c_str());
+ }
+ p4_custom.push_back(0);
+
+ OutputLogger custom_out(this->Log, "p4_customsync-out> ");
+ OutputLogger custom_err(this->Log, "p4_customsync-err> ");
+
+ return this->RunUpdateCommand(&p4_custom[0], &custom_out, &custom_err);
+}
+
+//----------------------------------------------------------------------------
+bool cmCTestP4::UpdateImpl()
+{
+ std::string custom = this->CTest->GetCTestConfiguration("P4UpdateCustom");
+ if(!custom.empty())
+ {
+ return this->UpdateCustom(custom);
+ }
+
+ // If we couldn't get a revision number before updating, abort.
+ if(this->OldRevision == "<unknown>")
+ {
+ this->UpdateCommandLine = "Unknown current revision";
+ cmCTestLog(this->CTest, ERROR_MESSAGE, " Unknown current revision\n");
+ return false;
+ }
+
+ std::vector<char const*> p4_sync;
+ SetP4Options(p4_sync);
+
+ p4_sync.push_back("sync");
+
+ // Get user-specified update options.
+ std::string opts = this->CTest->GetCTestConfiguration("UpdateOptions");
+ if(opts.empty())
+ {
+ opts = this->CTest->GetCTestConfiguration("P4UpdateOptions");
+ }
+ std::vector<cmStdString> args = cmSystemTools::ParseArguments(opts.c_str());
+ for(std::vector<cmStdString>::const_iterator ai = args.begin();
+ ai != args.end(); ++ai)
+ {
+ p4_sync.push_back(ai->c_str());
+ }
+
+ std::string source = this->SourceDirectory + "/...";
+
+ // Specify the start time for nightly testing.
+ if(this->CTest->GetTestModel() == cmCTest::NIGHTLY)
+ {
+ std::string date = this->GetNightlyTime();
+ //CTest reports the date as YYYY-MM-DD, Perforce needs it as YYYY/MM/DD
+ std::replace(date.begin(), date.end(), '-', '/');
+
+ //Revision specification: /...@"YYYY/MM/DD HH:MM:SS"
+ source.append("@\"").append(date).append("\"");
+ }
+
+ p4_sync.push_back(source.c_str());
+ p4_sync.push_back(0);
+
+ OutputLogger out(this->Log, "p4_sync-out> ");
+ OutputLogger err(this->Log, "p4_sync-err> ");
+
+ return this->RunUpdateCommand(&p4_sync[0], &out, &err);
+}
diff --git a/Source/CTest/cmCTestP4.h b/Source/CTest/cmCTestP4.h
new file mode 100644
index 0000000..7a53475
--- /dev/null
+++ b/Source/CTest/cmCTestP4.h
@@ -0,0 +1,71 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2000-2013 Kitware, Inc.
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#ifndef cmCTestP4_h
+#define cmCTestP4_h
+
+#include "cmCTestGlobalVC.h"
+#include <vector>
+#include <map>
+
+/** \class cmCTestP4
+ * \brief Interaction with the Perforce command-line tool
+ *
+ */
+class cmCTestP4: public cmCTestGlobalVC
+{
+public:
+ /** Construct with a CTest instance and update log stream. */
+ cmCTestP4(cmCTest* ctest, std::ostream& log);
+
+ virtual ~cmCTestP4();
+
+private:
+ std::vector<std::string> ChangeLists;
+
+ struct User
+ {
+ std::string UserName;
+ std::string Name;
+ std::string EMail;
+ std::string AccessTime;
+
+ User(): UserName(), Name(), EMail(), AccessTime() {}
+ };
+ std::map<std::string, User> Users;
+ std::vector<std::string> P4Options;
+
+ User GetUserData(const std::string& username);
+ void SetP4Options(std::vector<char const*> &options);
+
+ std::string GetWorkingRevision();
+ virtual void NoteOldRevision();
+ virtual void NoteNewRevision();
+ virtual bool UpdateImpl();
+ bool UpdateCustom(const std::string& custom);
+
+ void LoadRevisions();
+ void LoadModifications();
+
+ // Parsing helper classes.
+ class IdentifyParser;
+ class ChangesParser;
+ class UserParser;
+ class DescribeParser;
+ class DiffParser;
+ friend class IdentifyParser;
+ friend class ChangesParser;
+ friend class UserParser;
+ friend class DescribeParser;
+ friend class DiffParser;
+};
+
+#endif
diff --git a/Source/CTest/cmCTestReadCustomFilesCommand.cxx b/Source/CTest/cmCTestReadCustomFilesCommand.cxx
index 5db01f9..3b9d552 100644
--- a/Source/CTest/cmCTestReadCustomFilesCommand.cxx
+++ b/Source/CTest/cmCTestReadCustomFilesCommand.cxx
@@ -10,7 +10,6 @@
See the License for more information.
============================================================================*/
#include "cmCTestReadCustomFilesCommand.h"
-
#include "cmCTest.h"
bool cmCTestReadCustomFilesCommand
diff --git a/Source/CTest/cmCTestReadCustomFilesCommand.h b/Source/CTest/cmCTestReadCustomFilesCommand.h
index b984c84..9c0af81 100644
--- a/Source/CTest/cmCTestReadCustomFilesCommand.h
+++ b/Source/CTest/cmCTestReadCustomFilesCommand.h
@@ -48,25 +48,6 @@ public:
*/
virtual const char* GetName() const { return "ctest_read_custom_files";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "read CTestCustom files.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " ctest_read_custom_files( directory ... )\n"
- "Read all the CTestCustom.ctest or CTestCustom.cmake files from "
- "the given directory.";
- }
-
cmTypeMacro(cmCTestReadCustomFilesCommand, cmCTestCommand);
};
diff --git a/Source/CTest/cmCTestRunScriptCommand.h b/Source/CTest/cmCTestRunScriptCommand.h
index 05e7899..f34bd13 100644
--- a/Source/CTest/cmCTestRunScriptCommand.h
+++ b/Source/CTest/cmCTestRunScriptCommand.h
@@ -49,30 +49,6 @@ public:
*/
virtual const char* GetName() const { return "ctest_run_script";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "runs a ctest -S script";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " ctest_run_script([NEW_PROCESS] script_file_name script_file_name1 \n"
- " script_file_name2 ... [RETURN_VALUE var])\n"
- "Runs a script or scripts much like if it was run from ctest -S. "
- "If no argument is provided then the current script is run using "
- "the current settings of the variables. If NEW_PROCESS is specified "
- "then each script will be run in a separate process."
- "If RETURN_VALUE is specified the return value of the last script "
- "run will be put into var.";
- }
-
cmTypeMacro(cmCTestRunScriptCommand, cmCTestCommand);
};
diff --git a/Source/CTest/cmCTestRunTest.cxx b/Source/CTest/cmCTestRunTest.cxx
index 0e2fa41..cdf90b9 100644
--- a/Source/CTest/cmCTestRunTest.cxx
+++ b/Source/CTest/cmCTestRunTest.cxx
@@ -206,7 +206,13 @@ bool cmCTestRunTest::EndTest(size_t completed, size_t total, bool started)
bool success =
!forceFail && (retVal == 0 ||
this->TestProperties->RequiredRegularExpressions.size());
- if((success && !this->TestProperties->WillFail)
+ if(this->TestProperties->SkipReturnCode >= 0
+ && this->TestProperties->SkipReturnCode == retVal)
+ {
+ this->TestResult.Status = cmCTestTestHandler::NOT_RUN;
+ cmCTestLog(this->CTest, HANDLER_OUTPUT, "***Skipped ");
+ }
+ else if((success && !this->TestProperties->WillFail)
|| (!success && this->TestProperties->WillFail))
{
this->TestResult.Status = cmCTestTestHandler::COMPLETED;
diff --git a/Source/CTest/cmCTestScriptHandler.cxx b/Source/CTest/cmCTestScriptHandler.cxx
index 8643cb3..00a0a09 100644
--- a/Source/CTest/cmCTestScriptHandler.cxx
+++ b/Source/CTest/cmCTestScriptHandler.cxx
@@ -22,6 +22,7 @@
//#include <cmsys/RegularExpression.hxx>
#include <cmsys/Process.h>
+#include <cmsys/Directory.hxx>
// used for sleep
#ifdef _WIN32
@@ -221,13 +222,13 @@ int cmCTestScriptHandler::ExecuteScript(const std::string& total_script_arg)
// execute the script passing in the arguments to the script as well as the
// arguments from this invocation of cmake
std::vector<const char*> argv;
- argv.push_back(this->CTest->GetCTestExecutable());
+ argv.push_back(cmSystemTools::GetCTestCommand().c_str());
argv.push_back("-SR");
argv.push_back(total_script_arg.c_str());
cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT,
"Executable for CTest is: " <<
- this->CTest->GetCTestExecutable() << "\n");
+ cmSystemTools::GetCTestCommand() << "\n");
// now pass through all the other arguments
std::vector<cmStdString> &initArgs =
@@ -361,12 +362,6 @@ void cmCTestScriptHandler::CreateCMake()
this->AddCTestCommand(new cmCTestUploadCommand);
}
-void cmCTestScriptHandler::GetCommandDocumentation(
- std::vector<cmDocumentationEntry>& v) const
-{
- this->CMake->GetCommandDocumentation(v);
-}
-
//----------------------------------------------------------------------
// this sets up some variables for the script to use, creates the required
// cmake instance and generators, and then reads in the script
@@ -402,9 +397,9 @@ int cmCTestScriptHandler::ReadInScript(const std::string& total_script_arg)
this->Makefile->AddDefinition("CTEST_SCRIPT_NAME",
cmSystemTools::GetFilenameName(script).c_str());
this->Makefile->AddDefinition("CTEST_EXECUTABLE_NAME",
- this->CTest->GetCTestExecutable());
+ cmSystemTools::GetCTestCommand().c_str());
this->Makefile->AddDefinition("CMAKE_EXECUTABLE_NAME",
- this->CTest->GetCMakeExecutable());
+ cmSystemTools::GetCMakeCommand().c_str());
this->Makefile->AddDefinition("CTEST_RUN_CURRENT_SCRIPT", true);
this->UpdateElapsedTime();
@@ -1062,15 +1057,71 @@ bool cmCTestScriptHandler::EmptyBinaryDirectory(const char *sname)
return false;
}
+ // consider non existing target directory a success
+ if(!cmSystemTools::FileExists(sname))
+ {
+ return true;
+ }
+
// try to avoid deleting directories that we shouldn't
std::string check = sname;
check += "/CMakeCache.txt";
- if(cmSystemTools::FileExists(check.c_str()) &&
- !cmSystemTools::RemoveADirectory(sname))
+
+ if(!cmSystemTools::FileExists(check.c_str()))
{
return false;
}
- return true;
+
+ for(int i = 0; i < 5; ++i)
+ {
+ if(TryToRemoveBinaryDirectoryOnce(sname))
+ {
+ return true;
+ }
+ cmSystemTools::Delay(100);
+ }
+
+ return false;
+}
+
+//-------------------------------------------------------------------------
+bool cmCTestScriptHandler::TryToRemoveBinaryDirectoryOnce(
+ const std::string& directoryPath)
+{
+ cmsys::Directory directory;
+ directory.Load(directoryPath.c_str());
+
+ for(unsigned long i = 0; i < directory.GetNumberOfFiles(); ++i)
+ {
+ std::string path = directory.GetFile(i);
+
+ if(path == "." || path == ".." || path == "CMakeCache.txt")
+ {
+ continue;
+ }
+
+ std::string fullPath = directoryPath + std::string("/") + path;
+
+ bool isDirectory = cmSystemTools::FileIsDirectory(fullPath.c_str()) &&
+ !cmSystemTools::FileIsSymlink(fullPath.c_str());
+
+ if(isDirectory)
+ {
+ if(!cmSystemTools::RemoveADirectory(fullPath.c_str()))
+ {
+ return false;
+ }
+ }
+ else
+ {
+ if(!cmSystemTools::RemoveFile(fullPath.c_str()))
+ {
+ return false;
+ }
+ }
+ }
+
+ return cmSystemTools::RemoveADirectory(directoryPath.c_str());
}
//-------------------------------------------------------------------------
diff --git a/Source/CTest/cmCTestScriptHandler.h b/Source/CTest/cmCTestScriptHandler.h
index 9d852ca..44e9dd0 100644
--- a/Source/CTest/cmCTestScriptHandler.h
+++ b/Source/CTest/cmCTestScriptHandler.h
@@ -110,7 +110,6 @@ public:
void Initialize();
void CreateCMake();
- void GetCommandDocumentation(std::vector<cmDocumentationEntry>& v) const;
cmake* GetCMake() { return this->CMake;}
private:
// reads in a script
@@ -136,6 +135,9 @@ private:
// Add ctest command
void AddCTestCommand(cmCTestCommand* command);
+ // Try to remove the binary directory once
+ static bool TryToRemoveBinaryDirectoryOnce(const std::string& directoryPath);
+
std::vector<cmStdString> ConfigurationScripts;
std::vector<bool> ScriptProcessScope;
diff --git a/Source/CTest/cmCTestSleepCommand.h b/Source/CTest/cmCTestSleepCommand.h
index 0f51ddf..c6baf1c 100644
--- a/Source/CTest/cmCTestSleepCommand.h
+++ b/Source/CTest/cmCTestSleepCommand.h
@@ -49,26 +49,6 @@ public:
*/
virtual const char* GetName() const { return "ctest_sleep";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "sleeps for some amount of time";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " ctest_sleep(<seconds>)\n"
- "Sleep for given number of seconds.\n"
- " ctest_sleep(<time1> <duration> <time2>)\n"
- "Sleep for t=(time1 + duration - time2) seconds if t > 0.";
- }
-
cmTypeMacro(cmCTestSleepCommand, cmCTestCommand);
};
diff --git a/Source/CTest/cmCTestStartCommand.h b/Source/CTest/cmCTestStartCommand.h
index 6be4770..e5535c1 100644
--- a/Source/CTest/cmCTestStartCommand.h
+++ b/Source/CTest/cmCTestStartCommand.h
@@ -57,30 +57,6 @@ public:
*/
virtual const char* GetName() const { return "ctest_start";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Starts the testing for a given model";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " ctest_start(Model [TRACK <track>] [APPEND] [source [binary]])\n"
- "Starts the testing for a given model. The command should be called "
- "after the binary directory is initialized. If the 'source' and "
- "'binary' directory are not specified, it reads the "
- "CTEST_SOURCE_DIRECTORY and CTEST_BINARY_DIRECTORY. If the track is "
- "specified, the submissions will go to the specified track. "
- "If APPEND is used, the existing TAG is used rather than "
- "creating a new one based on the current time stamp.";
- }
-
cmTypeMacro(cmCTestStartCommand, cmCTestCommand);
private:
diff --git a/Source/CTest/cmCTestSubmitCommand.h b/Source/CTest/cmCTestSubmitCommand.h
index 53ee875..64c6cae 100644
--- a/Source/CTest/cmCTestSubmitCommand.h
+++ b/Source/CTest/cmCTestSubmitCommand.h
@@ -50,44 +50,6 @@ public:
*/
virtual const char* GetName() const { return "ctest_submit";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Submit results to a dashboard server.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " ctest_submit([PARTS ...] [FILES ...] [RETRY_COUNT count] "
- " [RETRY_DELAY delay][RETURN_VALUE res])\n"
- "By default all available parts are submitted if no PARTS or FILES "
- "are specified. "
- "The PARTS option lists a subset of parts to be submitted. "
- "Valid part names are:\n"
- " Start = nothing\n"
- " Update = ctest_update results, in Update.xml\n"
- " Configure = ctest_configure results, in Configure.xml\n"
- " Build = ctest_build results, in Build.xml\n"
- " Test = ctest_test results, in Test.xml\n"
- " Coverage = ctest_coverage results, in Coverage.xml\n"
- " MemCheck = ctest_memcheck results, in DynamicAnalysis.xml\n"
- " Notes = Files listed by CTEST_NOTES_FILES, in Notes.xml\n"
- " ExtraFiles = Files listed by CTEST_EXTRA_SUBMIT_FILES\n"
- " Submit = nothing\n"
- "The FILES option explicitly lists specific files to be submitted. "
- "Each individual file must exist at the time of the call.\n"
- "The RETRY_DELAY option specifies how long in seconds to wait after "
- "a timed-out submission before attempting to re-submit.\n"
- "The RETRY_COUNT option specifies how many times to retry a timed-out "
- "submission.\n";
- }
-
cmTypeMacro(cmCTestSubmitCommand, cmCTestHandlerCommand);
protected:
diff --git a/Source/CTest/cmCTestSubmitHandler.cxx b/Source/CTest/cmCTestSubmitHandler.cxx
index 941d348..139f515 100644
--- a/Source/CTest/cmCTestSubmitHandler.cxx
+++ b/Source/CTest/cmCTestSubmitHandler.cxx
@@ -235,7 +235,7 @@ bool cmCTestSubmitHandler::SubmitUsingFTP(const cmStdString& localprefix,
return false;
}
- ftpfile = ::fopen(local_file.c_str(), "rb");
+ ftpfile = cmsys::SystemTools::Fopen(local_file.c_str(), "rb");
*this->LogFile << "\tUpload file: " << local_file.c_str() << " to "
<< upload_as.c_str() << std::endl;
cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT, " Upload file: "
@@ -476,7 +476,7 @@ bool cmCTestSubmitHandler::SubmitUsingHTTP(const cmStdString& localprefix,
return false;
}
- ftpfile = ::fopen(local_file.c_str(), "rb");
+ ftpfile = cmsys::SystemTools::Fopen(local_file.c_str(), "rb");
cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT, " Upload file: "
<< local_file.c_str() << " to "
<< upload_as.c_str() << " Size: " << st.st_size << std::endl);
@@ -566,7 +566,7 @@ bool cmCTestSubmitHandler::SubmitUsingHTTP(const cmStdString& localprefix,
<< count << std::endl);
::fclose(ftpfile);
- ftpfile = ::fopen(local_file.c_str(), "rb");
+ ftpfile = cmsys::SystemTools::Fopen(local_file.c_str(), "rb");
::curl_easy_setopt(curl, CURLOPT_INFILE, ftpfile);
chunk.clear();
@@ -998,7 +998,7 @@ bool cmCTestSubmitHandler::SubmitUsingXMLRPC(const cmStdString& localprefix,
return false;
}
size_t fileSize = static_cast<size_t>(st.st_size);
- FILE* fp = fopen(local_file.c_str(), "rb");
+ FILE* fp = cmsys::SystemTools::Fopen(local_file.c_str(), "rb");
if ( !fp )
{
cmCTestLog(this->CTest, ERROR_MESSAGE, " Cannot open file: "
diff --git a/Source/CTest/cmCTestTestCommand.h b/Source/CTest/cmCTestTestCommand.h
index 130cb69..451ac99 100644
--- a/Source/CTest/cmCTestTestCommand.h
+++ b/Source/CTest/cmCTestTestCommand.h
@@ -41,45 +41,6 @@ public:
*/
virtual const char* GetName() const { return "ctest_test";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Run tests in the project build tree.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " ctest_test([BUILD build_dir] [APPEND]\n"
- " [START start number] [END end number]\n"
- " [STRIDE stride number] [EXCLUDE exclude regex ]\n"
- " [INCLUDE include regex] [RETURN_VALUE res] \n"
- " [EXCLUDE_LABEL exclude regex] \n"
- " [INCLUDE_LABEL label regex] \n"
- " [PARALLEL_LEVEL level] \n"
- " [SCHEDULE_RANDOM on] \n"
- " [STOP_TIME time of day]) \n"
- "Tests the given build directory and stores results in Test.xml. The "
- "second argument is a variable that will hold value. Optionally, "
- "you can specify the starting test number START, the ending test number "
- "END, the number of tests to skip between each test STRIDE, a regular "
- "expression for tests to run INCLUDE, or a regular expression for tests "
- "to not run EXCLUDE. EXCLUDE_LABEL and INCLUDE_LABEL are regular "
- "expression for test to be included or excluded by the test "
- "property LABEL. PARALLEL_LEVEL should be set to a positive number "
- "representing the number of tests to be run in parallel. "
- "SCHEDULE_RANDOM will launch tests in a random order, and is "
- "typically used to detect implicit test dependencies. STOP_TIME is the "
- "time of day at which the tests should all stop running."
- "\n"
- CTEST_COMMAND_APPEND_OPTION_DOCS;
- }
-
cmTypeMacro(cmCTestTestCommand, cmCTestHandlerCommand);
protected:
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx
index 497774d..3a04b33 100644
--- a/Source/CTest/cmCTestTestHandler.cxx
+++ b/Source/CTest/cmCTestTestHandler.cxx
@@ -20,6 +20,8 @@
#include <cmsys/Process.h>
#include <cmsys/RegularExpression.hxx>
#include <cmsys/Base64.h>
+#include <cmsys/Directory.hxx>
+#include <cmsys/FStream.hxx>
#include "cmMakefile.h"
#include "cmGlobalGenerator.h"
#include "cmLocalGenerator.h"
@@ -60,10 +62,6 @@ public:
*/
virtual const char* GetName() const { return "subdirs";}
- // Unused methods
- virtual const char* GetTerseDocumentation() const { return ""; }
- virtual const char* GetFullDocumentation() const { return ""; }
-
cmTypeMacro(cmCTestSubdirCommand, cmCommand);
cmCTestTestHandler* TestHandler;
@@ -161,10 +159,6 @@ public:
*/
virtual const char* GetName() const { return "add_subdirectory";}
- // Unused methods
- virtual const char* GetTerseDocumentation() const { return ""; }
- virtual const char* GetFullDocumentation() const { return ""; }
-
cmTypeMacro(cmCTestAddSubdirectoryCommand, cmCommand);
cmCTestTestHandler* TestHandler;
@@ -249,11 +243,7 @@ public:
/**
* The name of the command as specified in CMakeList.txt.
*/
- virtual const char* GetName() const { return "ADD_TEST";}
-
- // Unused methods
- virtual const char* GetTerseDocumentation() const { return ""; }
- virtual const char* GetFullDocumentation() const { return ""; }
+ virtual const char* GetName() const { return "add_test";}
cmTypeMacro(cmCTestAddTestCommand, cmCommand);
@@ -297,11 +287,7 @@ public:
/**
* The name of the command as specified in CMakeList.txt.
*/
- virtual const char* GetName() const { return "SET_TESTS_PROPERTIES";}
-
- // Unused methods
- virtual const char* GetTerseDocumentation() const { return ""; }
- virtual const char* GetFullDocumentation() const { return ""; }
+ virtual const char* GetName() const { return "set_tests_properties";}
cmTypeMacro(cmCTestSetTestsPropertiesCommand, cmCommand);
@@ -537,6 +523,7 @@ int cmCTestTestHandler::ProcessHandler()
this->UseExcludeRegExp();
this->SetExcludeRegExp(val);
}
+ this->SetRerunFailed(cmSystemTools::IsOn(this->GetOption("RerunFailed")));
this->TestResults.clear();
@@ -819,6 +806,13 @@ void cmCTestTestHandler::ComputeTestList()
{
this->TestList.clear(); // clear list of test
this->GetListOfTests();
+
+ if (this->RerunFailed)
+ {
+ this->ComputeTestListForRerunFailed();
+ return;
+ }
+
cmCTestTestHandler::ListOfTests::size_type tmsize = this->TestList.size();
// how many tests are in based on RegExp?
int inREcnt = 0;
@@ -881,9 +875,47 @@ void cmCTestTestHandler::ComputeTestList()
this->TotalNumberOfTests = this->TestList.size();
// Set the TestList to the final list of all test
this->TestList = finalList;
+
+ this->UpdateMaxTestNameWidth();
+}
+
+void cmCTestTestHandler::ComputeTestListForRerunFailed()
+{
+ this->ExpandTestsToRunInformationForRerunFailed();
+
+ cmCTestTestHandler::ListOfTests::iterator it;
+ ListOfTests finalList;
+ int cnt = 0;
+ for ( it = this->TestList.begin(); it != this->TestList.end(); it ++ )
+ {
+ cnt ++;
+
+ // if this test is not in our list of tests to run, then skip it.
+ if ((this->TestsToRun.size() &&
+ std::find(this->TestsToRun.begin(), this->TestsToRun.end(), cnt)
+ == this->TestsToRun.end()))
+ {
+ continue;
+ }
+
+ it->Index = cnt;
+ finalList.push_back(*it);
+ }
+
+ // Save the total number of tests before exclusions
+ this->TotalNumberOfTests = this->TestList.size();
+
+ // Set the TestList to the list of failed tests to rerun
+ this->TestList = finalList;
+
+ this->UpdateMaxTestNameWidth();
+}
+
+void cmCTestTestHandler::UpdateMaxTestNameWidth()
+{
std::string::size_type max = this->CTest->GetMaxTestNameWidth();
- for (it = this->TestList.begin();
- it != this->TestList.end(); it ++ )
+ for ( cmCTestTestHandler::ListOfTests::iterator it = this->TestList.begin();
+ it != this->TestList.end(); it ++ )
{
cmCTestTestProperties& p = *it;
if(max < p.Name.size())
@@ -900,7 +932,7 @@ void cmCTestTestHandler::ComputeTestList()
bool cmCTestTestHandler::GetValue(const char* tag,
int& value,
- std::ifstream& fin)
+ std::istream& fin)
{
std::string line;
bool ret = true;
@@ -922,7 +954,7 @@ bool cmCTestTestHandler::GetValue(const char* tag,
bool cmCTestTestHandler::GetValue(const char* tag,
double& value,
- std::ifstream& fin)
+ std::istream& fin)
{
std::string line;
cmSystemTools::GetLineFromStream(fin, line);
@@ -944,7 +976,7 @@ bool cmCTestTestHandler::GetValue(const char* tag,
bool cmCTestTestHandler::GetValue(const char* tag,
bool& value,
- std::ifstream& fin)
+ std::istream& fin)
{
std::string line;
cmSystemTools::GetLineFromStream(fin, line);
@@ -976,7 +1008,7 @@ bool cmCTestTestHandler::GetValue(const char* tag,
bool cmCTestTestHandler::GetValue(const char* tag,
size_t& value,
- std::ifstream& fin)
+ std::istream& fin)
{
std::string line;
cmSystemTools::GetLineFromStream(fin, line);
@@ -998,7 +1030,7 @@ bool cmCTestTestHandler::GetValue(const char* tag,
bool cmCTestTestHandler::GetValue(const char* tag,
std::string& value,
- std::ifstream& fin)
+ std::istream& fin)
{
std::string line;
cmSystemTools::GetLineFromStream(fin, line);
@@ -1708,6 +1740,91 @@ void cmCTestTestHandler::ExpandTestsToRunInformation(size_t numTests)
this->TestsToRun.erase(new_end, this->TestsToRun.end());
}
+void cmCTestTestHandler::ExpandTestsToRunInformationForRerunFailed()
+{
+
+ std::string dirName = this->CTest->GetBinaryDir() + "/Testing/Temporary";
+
+ cmsys::Directory directory;
+ if (directory.Load(dirName.c_str()) == 0)
+ {
+ cmCTestLog(this->CTest, ERROR_MESSAGE, "Unable to read the contents of "
+ << dirName << std::endl);
+ return;
+ }
+
+ int numFiles = static_cast<int>
+ (cmsys::Directory::GetNumberOfFilesInDirectory(dirName.c_str()));
+ std::string pattern = "LastTestsFailed";
+ std::string logName = "";
+
+ for (int i = 0; i < numFiles; ++i)
+ {
+ std::string fileName = directory.GetFile(i);
+ // bcc crashes if we attempt a normal substring comparison,
+ // hence the following workaround
+ std::string fileNameSubstring = fileName.substr(0, pattern.length());
+ if (fileNameSubstring.compare(pattern) != 0)
+ {
+ continue;
+ }
+ if (logName == "")
+ {
+ logName = fileName;
+ }
+ else
+ {
+ // if multiple matching logs were found we use the most recently
+ // modified one.
+ int res;
+ cmSystemTools::FileTimeCompare(logName.c_str(), fileName.c_str(), &res);
+ if (res == -1)
+ {
+ logName = fileName;
+ }
+ }
+ }
+
+ std::string lastTestsFailedLog = this->CTest->GetBinaryDir()
+ + "/Testing/Temporary/" + logName;
+
+ if ( !cmSystemTools::FileExists(lastTestsFailedLog.c_str()) )
+ {
+ if ( !this->CTest->GetShowOnly() && !this->CTest->ShouldPrintLabels() )
+ {
+ cmCTestLog(this->CTest, ERROR_MESSAGE, lastTestsFailedLog
+ << " does not exist!" << std::endl);
+ }
+ return;
+ }
+
+ // parse the list of tests to rerun from LastTestsFailed.log
+ cmsys::ifstream ifs(lastTestsFailedLog.c_str());
+ if ( ifs )
+ {
+ std::string line;
+ std::string::size_type pos;
+ while ( cmSystemTools::GetLineFromStream(ifs, line) )
+ {
+ pos = line.find(':', 0);
+ if (pos == line.npos)
+ {
+ continue;
+ }
+
+ int val = atoi(line.substr(0, pos).c_str());
+ this->TestsToRun.push_back(val);
+ }
+ ifs.close();
+ }
+ else if ( !this->CTest->GetShowOnly() && !this->CTest->ShouldPrintLabels() )
+ {
+ cmCTestLog(this->CTest, ERROR_MESSAGE, "Problem reading file: "
+ << lastTestsFailedLog.c_str() <<
+ " while generating list of previously failed tests." << std::endl);
+ }
+}
+
//----------------------------------------------------------------------
// Just for convenience
#define SPACE_REGEX "[ \t\r\n]"
@@ -1848,7 +1965,7 @@ std::string cmCTestTestHandler::GenerateRegressionImages(
}
else
{
- std::ifstream ifs(filename.c_str(), std::ios::in
+ cmsys::ifstream ifs(filename.c_str(), std::ios::in
#ifdef _WIN32
| std::ios::binary
#endif
@@ -1938,7 +2055,7 @@ void cmCTestTestHandler::SetTestsToRunInformation(const char* in)
// string
if(cmSystemTools::FileExists(in))
{
- std::ifstream fin(in);
+ cmsys::ifstream fin(in);
unsigned long filelen = cmSystemTools::FileLength(in);
char* buff = new char[filelen+1];
fin.getline(buff, filelen);
@@ -2112,6 +2229,14 @@ bool cmCTestTestHandler::SetTestsProperties(
rtit->Processors = 1;
}
}
+ if ( key == "SKIP_RETURN_CODE" )
+ {
+ rtit->SkipReturnCode = atoi(val.c_str());
+ if(rtit->SkipReturnCode < 0 || rtit->SkipReturnCode > 255)
+ {
+ rtit->SkipReturnCode = -1;
+ }
+ }
if ( key == "DEPENDS" )
{
std::vector<std::string> lval;
@@ -2247,6 +2372,7 @@ bool cmCTestTestHandler::AddTest(const std::vector<std::string>& args)
test.ExplicitTimeout = false;
test.Cost = 0;
test.Processors = 1;
+ test.SkipReturnCode = -1;
test.PreviousRuns = 0;
if (this->UseIncludeRegExpFlag &&
!this->IncludeTestsRegularExpression.find(testname.c_str()))
diff --git a/Source/CTest/cmCTestTestHandler.h b/Source/CTest/cmCTestTestHandler.h
index 93b793b..63f9c93 100644
--- a/Source/CTest/cmCTestTestHandler.h
+++ b/Source/CTest/cmCTestTestHandler.h
@@ -44,6 +44,12 @@ public:
void SetUseUnion(bool val) { this->UseUnion = val; }
/**
+ * Set whether or not CTest should only execute the tests that failed
+ * on the previous run. By default this is false.
+ */
+ void SetRerunFailed(bool val) { this->RerunFailed = val; }
+
+ /**
* This method is called when reading CTest custom file
*/
void PopulateCustomVectors(cmMakefile *mf);
@@ -103,6 +109,8 @@ public:
int Index;
//Requested number of process slots
int Processors;
+ // return code of test which will mark test as "not run"
+ int SkipReturnCode;
std::vector<std::string> Environment;
std::vector<std::string> Labels;
std::set<std::string> LockedResources;
@@ -213,21 +221,27 @@ private:
// based on union regex and -I stuff
void ComputeTestList();
+ // compute the lists of tests that will actually run
+ // based on LastTestFailed.log
+ void ComputeTestListForRerunFailed();
+
+ void UpdateMaxTestNameWidth();
+
bool GetValue(const char* tag,
std::string& value,
- std::ifstream& fin);
+ std::istream& fin);
bool GetValue(const char* tag,
int& value,
- std::ifstream& fin);
+ std::istream& fin);
bool GetValue(const char* tag,
size_t& value,
- std::ifstream& fin);
+ std::istream& fin);
bool GetValue(const char* tag,
bool& value,
- std::ifstream& fin);
+ std::istream& fin);
bool GetValue(const char* tag,
double& value,
- std::ifstream& fin);
+ std::istream& fin);
/**
* Find the executable for a test
*/
@@ -235,6 +249,7 @@ private:
const char* GetTestStatus(int status);
void ExpandTestsToRunInformation(size_t numPossibleTests);
+ void ExpandTestsToRunInformationForRerunFailed();
std::vector<cmStdString> CustomPreTest;
std::vector<cmStdString> CustomPostTest;
@@ -268,6 +283,8 @@ private:
cmsys::RegularExpression DartStuff;
std::ostream* LogFile;
+
+ bool RerunFailed;
};
#endif
diff --git a/Source/CTest/cmCTestUpdateCommand.cxx b/Source/CTest/cmCTestUpdateCommand.cxx
index 2ca9f6c..5408a8a 100644
--- a/Source/CTest/cmCTestUpdateCommand.cxx
+++ b/Source/CTest/cmCTestUpdateCommand.cxx
@@ -59,6 +59,14 @@ cmCTestGenericHandler* cmCTestUpdateCommand::InitializeHandler()
"HGCommand", "CTEST_HG_COMMAND");
this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,
"HGUpdateOptions", "CTEST_HG_UPDATE_OPTIONS");
+ this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,
+ "P4Command", "CTEST_P4_COMMAND");
+ this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,
+ "P4UpdateOptions", "CTEST_P4_UPDATE_OPTIONS");
+ this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,
+ "P4Client", "CTEST_P4_CLIENT");
+ this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,
+ "P4Options", "CTEST_P4_OPTIONS");
cmCTestGenericHandler* handler
= this->CTest->GetInitializedHandler("update");
diff --git a/Source/CTest/cmCTestUpdateCommand.h b/Source/CTest/cmCTestUpdateCommand.h
index c578fff..a785bd8 100644
--- a/Source/CTest/cmCTestUpdateCommand.h
+++ b/Source/CTest/cmCTestUpdateCommand.h
@@ -41,28 +41,6 @@ public:
*/
virtual const char* GetName() const { return "ctest_update";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Update the work tree from version control.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " ctest_update([SOURCE source] [RETURN_VALUE res])\n"
- "Updates the given source directory and stores results in Update.xml. "
- "If no SOURCE is given, the CTEST_SOURCE_DIRECTORY variable is used. "
- "The RETURN_VALUE option specifies a variable in which to store the "
- "result, which is the number of files updated or -1 on error."
- ;
- }
-
cmTypeMacro(cmCTestUpdateCommand, cmCTestHandlerCommand);
protected:
diff --git a/Source/CTest/cmCTestUpdateHandler.cxx b/Source/CTest/cmCTestUpdateHandler.cxx
index 9eae3f3..11474ec 100644
--- a/Source/CTest/cmCTestUpdateHandler.cxx
+++ b/Source/CTest/cmCTestUpdateHandler.cxx
@@ -28,6 +28,7 @@
#include "cmCTestBZR.h"
#include "cmCTestGIT.h"
#include "cmCTestHG.h"
+#include "cmCTestP4.h"
#include <cmsys/auto_ptr.hxx>
@@ -51,7 +52,8 @@ static const char* cmCTestUpdateHandlerUpdateStrings[] =
"SVN",
"BZR",
"GIT",
- "HG"
+ "HG",
+ "P4"
};
static const char* cmCTestUpdateHandlerUpdateToString(int type)
@@ -146,6 +148,10 @@ int cmCTestUpdateHandler::DetermineType(const char* cmd, const char* type)
{
return cmCTestUpdateHandler::e_HG;
}
+ if ( stype.find("p4") != std::string::npos )
+ {
+ return cmCTestUpdateHandler::e_P4;
+ }
}
else
{
@@ -172,6 +178,10 @@ int cmCTestUpdateHandler::DetermineType(const char* cmd, const char* type)
{
return cmCTestUpdateHandler::e_HG;
}
+ if ( stype.find("p4") != std::string::npos )
+ {
+ return cmCTestUpdateHandler::e_P4;
+ }
}
return cmCTestUpdateHandler::e_UNKNOWN;
}
@@ -223,6 +233,7 @@ int cmCTestUpdateHandler::ProcessHandler()
case e_BZR: vc.reset(new cmCTestBZR(this->CTest, ofs)); break;
case e_GIT: vc.reset(new cmCTestGIT(this->CTest, ofs)); break;
case e_HG: vc.reset(new cmCTestHG(this->CTest, ofs)); break;
+ case e_P4: vc.reset(new cmCTestP4(this->CTest, ofs)); break;
default: vc.reset(new cmCTestVC(this->CTest, ofs)); break;
}
vc->SetCommandLineTool(this->UpdateCommand);
@@ -350,6 +361,18 @@ int cmCTestUpdateHandler::DetectVCS(const char* dir)
{
return cmCTestUpdateHandler::e_HG;
}
+ sourceDirectory = dir;
+ sourceDirectory += "/.p4";
+ if ( cmSystemTools::FileExists(sourceDirectory.c_str()) )
+ {
+ return cmCTestUpdateHandler::e_P4;
+ }
+ sourceDirectory = dir;
+ sourceDirectory += "/.p4config";
+ if ( cmSystemTools::FileExists(sourceDirectory.c_str()) )
+ {
+ return cmCTestUpdateHandler::e_P4;
+ }
return cmCTestUpdateHandler::e_UNKNOWN;
}
@@ -380,6 +403,7 @@ bool cmCTestUpdateHandler::SelectVCS()
case e_BZR: key = "BZRCommand"; break;
case e_GIT: key = "GITCommand"; break;
case e_HG: key = "HGCommand"; break;
+ case e_P4: key = "P4Command"; break;
default: break;
}
if (key)
diff --git a/Source/CTest/cmCTestUpdateHandler.h b/Source/CTest/cmCTestUpdateHandler.h
index 55ec974..954c024 100644
--- a/Source/CTest/cmCTestUpdateHandler.h
+++ b/Source/CTest/cmCTestUpdateHandler.h
@@ -44,6 +44,7 @@ public:
e_BZR,
e_GIT,
e_HG,
+ e_P4,
e_LAST
};
diff --git a/Source/CTest/cmCTestUploadCommand.h b/Source/CTest/cmCTestUploadCommand.h
index 62f379f..e867fb6 100644
--- a/Source/CTest/cmCTestUploadCommand.h
+++ b/Source/CTest/cmCTestUploadCommand.h
@@ -45,25 +45,6 @@ public:
*/
virtual const char* GetName() const { return "ctest_upload";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Upload files to a dashboard server.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " ctest_upload(FILES ...)\n"
- "Pass a list of files to be sent along with the build results to "
- "the dashboard server.\n";
- }
-
cmTypeMacro(cmCTestUploadCommand, cmCTestHandlerCommand);
protected:
diff --git a/Source/CTest/cmParseCacheCoverage.cxx b/Source/CTest/cmParseCacheCoverage.cxx
index 137f344..85e07ae 100644
--- a/Source/CTest/cmParseCacheCoverage.cxx
+++ b/Source/CTest/cmParseCacheCoverage.cxx
@@ -5,6 +5,7 @@
#include "cmParseCacheCoverage.h"
#include <cmsys/Directory.hxx>
#include <cmsys/Glob.hxx>
+#include <cmsys/FStream.hxx>
cmParseCacheCoverage::cmParseCacheCoverage(
@@ -106,7 +107,7 @@ bool cmParseCacheCoverage::SplitString(std::vector<std::string>& args,
bool cmParseCacheCoverage::ReadCMCovFile(const char* file)
{
- std::ifstream in(file);
+ cmsys::ifstream in(file);
if(!in)
{
cmCTestLog(this->CTest, ERROR_MESSAGE,
diff --git a/Source/CTest/cmParseGTMCoverage.cxx b/Source/CTest/cmParseGTMCoverage.cxx
index 6b4adb4..528d0db 100644
--- a/Source/CTest/cmParseGTMCoverage.cxx
+++ b/Source/CTest/cmParseGTMCoverage.cxx
@@ -5,6 +5,7 @@
#include "cmParseGTMCoverage.h"
#include <cmsys/Directory.hxx>
#include <cmsys/Glob.hxx>
+#include <cmsys/FStream.hxx>
cmParseGTMCoverage::cmParseGTMCoverage(cmCTestCoverageHandlerContainer& cont,
@@ -48,7 +49,7 @@ bool cmParseGTMCoverage::LoadCoverageData(const char* d)
bool cmParseGTMCoverage::ReadMCovFile(const char* file)
{
- std::ifstream in(file);
+ cmsys::ifstream in(file);
if(!in)
{
return false;
@@ -127,7 +128,7 @@ bool cmParseGTMCoverage::FindFunctionInMumpsFile(std::string const& filepath,
std::string const& function,
int& lineoffset)
{
- std::ifstream in(filepath.c_str());
+ cmsys::ifstream in(filepath.c_str());
if(!in)
{
return false;
diff --git a/Source/CTest/cmParseMumpsCoverage.cxx b/Source/CTest/cmParseMumpsCoverage.cxx
index 37e8bd0..6226feb 100644
--- a/Source/CTest/cmParseMumpsCoverage.cxx
+++ b/Source/CTest/cmParseMumpsCoverage.cxx
@@ -5,6 +5,7 @@
#include "cmParseGTMCoverage.h"
#include <cmsys/Directory.hxx>
#include <cmsys/Glob.hxx>
+#include <cmsys/FStream.hxx>
cmParseMumpsCoverage::cmParseMumpsCoverage(
@@ -23,7 +24,7 @@ bool cmParseMumpsCoverage::ReadCoverageFile(const char* file)
// Read the gtm_coverage.mcov file, that has two lines of data:
// packages:/full/path/to/Vista/Packages
// coverage_dir:/full/path/to/dir/with/*.mcov
- std::ifstream in(file);
+ cmsys::ifstream in(file);
if(!in)
{
return false;
@@ -61,7 +62,7 @@ bool cmParseMumpsCoverage::ReadCoverageFile(const char* file)
void cmParseMumpsCoverage::InitializeMumpsFile(std::string& file)
{
// initialize the coverage information for a given mumps file
- std::ifstream in(file.c_str());
+ cmsys::ifstream in(file.c_str());
if(!in)
{
return;
diff --git a/Source/CTest/cmParsePHPCoverage.cxx b/Source/CTest/cmParsePHPCoverage.cxx
index 593b2d1..1c26c1c 100644
--- a/Source/CTest/cmParsePHPCoverage.cxx
+++ b/Source/CTest/cmParsePHPCoverage.cxx
@@ -2,6 +2,7 @@
#include "cmSystemTools.h"
#include "cmParsePHPCoverage.h"
#include <cmsys/Directory.hxx>
+#include <cmsys/FStream.hxx>
/*
To setup coverage for php.
@@ -20,7 +21,7 @@ cmParsePHPCoverage::cmParsePHPCoverage(cmCTestCoverageHandlerContainer& cont,
{
}
-bool cmParsePHPCoverage::ReadUntil(std::ifstream& in, char until)
+bool cmParsePHPCoverage::ReadUntil(std::istream& in, char until)
{
char c = 0;
while(in.get(c) && c != until)
@@ -32,7 +33,7 @@ bool cmParsePHPCoverage::ReadUntil(std::ifstream& in, char until)
}
return true;
}
-bool cmParsePHPCoverage::ReadCoverageArray(std::ifstream& in,
+bool cmParsePHPCoverage::ReadCoverageArray(std::istream& in,
cmStdString const& fileName)
{
cmCTestCoverageHandlerContainer::SingleFileCoverageVector& coverageVector
@@ -109,7 +110,7 @@ bool cmParsePHPCoverage::ReadCoverageArray(std::ifstream& in,
return true;
}
-bool cmParsePHPCoverage::ReadInt(std::ifstream& in, int& v)
+bool cmParsePHPCoverage::ReadInt(std::istream& in, int& v)
{
std::string s;
char c = 0;
@@ -121,7 +122,7 @@ bool cmParsePHPCoverage::ReadInt(std::ifstream& in, int& v)
return true;
}
-bool cmParsePHPCoverage::ReadArraySize(std::ifstream& in, int& size)
+bool cmParsePHPCoverage::ReadArraySize(std::istream& in, int& size)
{
char c = 0;
in.get(c);
@@ -139,7 +140,7 @@ bool cmParsePHPCoverage::ReadArraySize(std::ifstream& in, int& size)
return false;
}
-bool cmParsePHPCoverage::ReadFileInformation(std::ifstream& in)
+bool cmParsePHPCoverage::ReadFileInformation(std::istream& in)
{
char buf[4];
in.read(buf, 2);
@@ -190,7 +191,7 @@ bool cmParsePHPCoverage::ReadFileInformation(std::ifstream& in)
bool cmParsePHPCoverage::ReadPHPData(const char* file)
{
- std::ifstream in(file);
+ cmsys::ifstream in(file);
if(!in)
{
return false;
diff --git a/Source/CTest/cmParsePHPCoverage.h b/Source/CTest/cmParsePHPCoverage.h
index d50a83c..035a093 100644
--- a/Source/CTest/cmParsePHPCoverage.h
+++ b/Source/CTest/cmParsePHPCoverage.h
@@ -32,11 +32,11 @@ public:
void PrintCoverage();
private:
bool ReadPHPData(const char* file);
- bool ReadArraySize(std::ifstream& in, int& size);
- bool ReadFileInformation(std::ifstream& in);
- bool ReadInt(std::ifstream& in, int& v);
- bool ReadCoverageArray(std::ifstream& in, cmStdString const&);
- bool ReadUntil(std::ifstream& in, char until);
+ bool ReadArraySize(std::istream& in, int& size);
+ bool ReadFileInformation(std::istream& in);
+ bool ReadInt(std::istream& in, int& v);
+ bool ReadCoverageArray(std::istream& in, cmStdString const&);
+ bool ReadUntil(std::istream& in, char until);
cmCTestCoverageHandlerContainer& Coverage;
cmCTest* CTest;
};
diff --git a/Source/CTest/cmParsePythonCoverage.cxx b/Source/CTest/cmParsePythonCoverage.cxx
new file mode 100644
index 0000000..38a770a
--- /dev/null
+++ b/Source/CTest/cmParsePythonCoverage.cxx
@@ -0,0 +1,113 @@
+#include "cmStandardIncludes.h"
+#include "cmSystemTools.h"
+#include "cmXMLParser.h"
+#include "cmParsePythonCoverage.h"
+#include <cmsys/Directory.hxx>
+#include <cmsys/FStream.hxx>
+
+//----------------------------------------------------------------------------
+class cmParsePythonCoverage::XMLParser: public cmXMLParser
+{
+public:
+ XMLParser(cmCTest* ctest, cmCTestCoverageHandlerContainer& cont)
+ : CTest(ctest), Coverage(cont)
+ {
+ }
+
+ virtual ~XMLParser()
+ {
+ }
+
+protected:
+
+ virtual void StartElement(const char* name, const char** atts)
+ {
+ if(strcmp(name, "class") == 0)
+ {
+ int tagCount = 0;
+ while(true)
+ {
+ if(strcmp(atts[tagCount], "filename") == 0)
+ {
+ cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT, "Reading file: "
+ << atts[tagCount+1] << std::endl);
+ this->CurFileName = this->Coverage.SourceDir + "/" +
+ atts[tagCount+1];
+ FileLinesType& curFileLines =
+ this->Coverage.TotalCoverage[this->CurFileName];
+ cmsys::ifstream fin(this->CurFileName.c_str());
+ if(!fin)
+ {
+ cmCTestLog(this->CTest, ERROR_MESSAGE,
+ "Python Coverage: Error opening " << this->CurFileName
+ << std::endl);
+ this->Coverage.Error++;
+ break;
+ }
+
+ std::string line;
+ curFileLines.push_back(-1);
+ while(cmSystemTools::GetLineFromStream(fin, line))
+ {
+ curFileLines.push_back(-1);
+ }
+
+ break;
+ }
+ ++tagCount;
+ }
+ }
+ else if(strcmp(name, "line") == 0)
+ {
+ int tagCount = 0;
+ int curNumber = -1;
+ int curHits = -1;
+ while(true)
+ {
+ if(strcmp(atts[tagCount], "hits") == 0)
+ {
+ curHits = atoi(atts[tagCount+1]);
+ }
+ else if(strcmp(atts[tagCount], "number") == 0)
+ {
+ curNumber = atoi(atts[tagCount+1]);
+ }
+
+ if(curHits > -1 && curNumber > -1)
+ {
+ FileLinesType& curFileLines =
+ this->Coverage.TotalCoverage[this->CurFileName];
+ curFileLines[curNumber] = curHits;
+ break;
+ }
+ ++tagCount;
+ }
+ }
+ }
+
+ virtual void EndElement(const char*) {}
+
+private:
+
+ typedef cmCTestCoverageHandlerContainer::SingleFileCoverageVector
+ FileLinesType;
+ cmCTest* CTest;
+ cmCTestCoverageHandlerContainer& Coverage;
+ std::string CurFileName;
+
+};
+
+
+cmParsePythonCoverage::cmParsePythonCoverage(
+ cmCTestCoverageHandlerContainer& cont,
+ cmCTest* ctest)
+ :Coverage(cont), CTest(ctest)
+{
+}
+
+bool cmParsePythonCoverage::ReadCoverageXML(const char* xmlFile)
+{
+ cmParsePythonCoverage::XMLParser parser(this->CTest, this->Coverage);
+ parser.ParseFile(xmlFile);
+ return true;
+}
diff --git a/Source/CTest/cmParsePythonCoverage.h b/Source/CTest/cmParsePythonCoverage.h
new file mode 100644
index 0000000..668c7f9
--- /dev/null
+++ b/Source/CTest/cmParsePythonCoverage.h
@@ -0,0 +1,48 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2000-2009 Kitware, Inc.
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+
+#ifndef cmParsePythonCoverage_h
+#define cmParsePythonCoverage_h
+
+#include "cmStandardIncludes.h"
+#include "cmCTestCoverageHandler.h"
+
+/** \class cmParsePythonCoverage
+ * \brief Parse coverage.py Python coverage information
+ *
+ * This class is used to parse the output of the coverage.py tool that
+ * is currently maintained by Ned Batchelder. That tool has a command
+ * that produces xml output in the format typically output by the common
+ * Java-based Cobertura coverage application. This helper class parses
+ * that XML file to fill the coverage-handler container.
+ */
+class cmParsePythonCoverage
+{
+public:
+
+ //! Create the coverage parser by passing in the coverage handler
+ //! container and the cmCTest object
+ cmParsePythonCoverage(cmCTestCoverageHandlerContainer& cont,
+ cmCTest* ctest);
+
+ //! Read the XML produced by running `coverage xml`
+ bool ReadCoverageXML(const char* xmlFile);
+
+private:
+
+ class XMLParser;
+ cmCTestCoverageHandlerContainer& Coverage;
+ cmCTest* CTest;
+ std::string CurFileName;
+};
+
+#endif
diff --git a/Source/CursesDialog/CMakeLists.txt b/Source/CursesDialog/CMakeLists.txt
index 5efc2fb..548f5a5 100644
--- a/Source/CursesDialog/CMakeLists.txt
+++ b/Source/CursesDialog/CMakeLists.txt
@@ -11,6 +11,7 @@
#=============================================================================
set( CURSES_SRCS
+ CursesDialog/cmCursesOptionsWidget
CursesDialog/cmCursesBoolWidget
CursesDialog/cmCursesCacheEntryComposite
CursesDialog/cmCursesDummyWidget
diff --git a/Source/CursesDialog/ccmake.cxx b/Source/CursesDialog/ccmake.cxx
index 623d7d3..2d1ef5c 100644
--- a/Source/CursesDialog/ccmake.cxx
+++ b/Source/CursesDialog/ccmake.cxx
@@ -19,51 +19,32 @@
#include "cmCursesMainForm.h"
#include "cmCursesStandardIncludes.h"
+#include <cmsys/Encoding.hxx>
#include <form.h>
//----------------------------------------------------------------------------
-static const char * cmDocumentationName[][3] =
+static const char * cmDocumentationName[][2] =
{
{0,
- " ccmake - Curses Interface for CMake.", 0},
- {0,0,0}
+ " ccmake - Curses Interface for CMake."},
+ {0,0}
};
//----------------------------------------------------------------------------
-static const char * cmDocumentationUsage[][3] =
+static const char * cmDocumentationUsage[][2] =
{
{0,
" ccmake <path-to-source>\n"
- " ccmake <path-to-existing-build>", 0},
- {0,0,0}
+ " ccmake <path-to-existing-build>"},
+ {0,0}
};
//----------------------------------------------------------------------------
-static const char * cmDocumentationDescription[][3] =
-{
- {0,
- "The \"ccmake\" executable is the CMake curses interface. Project "
- "configuration settings may be specified interactively through "
- "this GUI. Brief instructions are provided at the bottom of the "
- "terminal when the program is running.", 0},
- CMAKE_STANDARD_INTRODUCTION,
- {0,0,0}
-};
-
-//----------------------------------------------------------------------------
-static const char * cmDocumentationOptions[][3] =
+static const char * cmDocumentationOptions[][2] =
{
CMAKE_STANDARD_OPTIONS_TABLE,
- {0,0,0}
-};
-
-//----------------------------------------------------------------------------
-static const char * cmDocumentationSeeAlso[][3] =
-{
- {0, "cmake", 0},
- {0, "ctest", 0},
- {0, 0, 0}
+ {0,0}
};
cmCursesForm* cmCursesForm::CurrentForm=0;
@@ -98,29 +79,27 @@ void CMakeErrorHandler(const char* message, const char* title, bool&, void* clie
self->AddError(message, title);
}
-int main(int argc, char** argv)
+int main(int argc, char const* const* argv)
{
- cmSystemTools::FindExecutableDirectory(argv[0]);
+ cmsys::Encoding::CommandLineArguments encoding_args =
+ cmsys::Encoding::CommandLineArguments::Main(argc, argv);
+ argc = encoding_args.argc();
+ argv = encoding_args.argv();
+
+ cmSystemTools::FindCMakeResources(argv[0]);
cmDocumentation doc;
doc.addCMakeStandardDocSections();
if(doc.CheckOptions(argc, argv))
{
cmake hcm;
- std::vector<cmDocumentationEntry> commands;
- std::vector<cmDocumentationEntry> compatCommands;
+ hcm.AddCMakePaths();
std::vector<cmDocumentationEntry> generators;
- hcm.GetCommandDocumentation(commands, true, false);
- hcm.GetCommandDocumentation(compatCommands, false, true);
hcm.GetGeneratorDocumentation(generators);
doc.SetName("ccmake");
doc.SetSection("Name",cmDocumentationName);
doc.SetSection("Usage",cmDocumentationUsage);
- doc.SetSection("Description",cmDocumentationDescription);
doc.SetSection("Generators",generators);
doc.PrependSection("Options",cmDocumentationOptions);
- doc.SetSection("Command",commands);
- doc.SetSection("Compatibility Commands",compatCommands);
- doc.SetSeeAlsoList(cmDocumentationSeeAlso);
return doc.PrintRequestedDocumentation(std::cout)? 0:1;
}
diff --git a/Source/CursesDialog/cmCursesCacheEntryComposite.cxx b/Source/CursesDialog/cmCursesCacheEntryComposite.cxx
index c58d037..249137f 100644
--- a/Source/CursesDialog/cmCursesCacheEntryComposite.cxx
+++ b/Source/CursesDialog/cmCursesCacheEntryComposite.cxx
@@ -10,6 +10,7 @@
See the License for more information.
============================================================================*/
#include "cmCursesCacheEntryComposite.h"
+#include "cmCursesOptionsWidget.h"
#include "cmCursesStringWidget.h"
#include "cmCursesLabelWidget.h"
#include "cmCursesBoolWidget.h"
@@ -69,9 +70,27 @@ cmCursesCacheEntryComposite::cmCursesCacheEntryComposite(
it.GetValue());
break;
case cmCacheManager::STRING:
- this->Entry = new cmCursesStringWidget(this->EntryWidth, 1, 1, 1);
- static_cast<cmCursesStringWidget*>(this->Entry)->SetString(
- it.GetValue());
+ if(it.PropertyExists("STRINGS"))
+ {
+ cmCursesOptionsWidget* ow =
+ new cmCursesOptionsWidget(this->EntryWidth, 1, 1, 1);
+ this->Entry = ow;
+ std::vector<std::string> options;
+ cmSystemTools::ExpandListArgument(
+ std::string(it.GetProperty("STRINGS")), options);
+ for(std::vector<std::string>::iterator
+ si = options.begin(); si != options.end(); ++si)
+ {
+ ow->AddOption(*si);
+ }
+ ow->SetOption(it.GetValue());
+ }
+ else
+ {
+ this->Entry = new cmCursesStringWidget(this->EntryWidth, 1, 1, 1);
+ static_cast<cmCursesStringWidget*>(this->Entry)->SetString(
+ it.GetValue());
+ }
break;
case cmCacheManager::UNINITIALIZED:
cmSystemTools::Error("Found an undefined variable: ", it.GetName());
diff --git a/Source/CursesDialog/cmCursesForm.cxx b/Source/CursesDialog/cmCursesForm.cxx
index 72ae5ee..d1b470c 100644
--- a/Source/CursesDialog/cmCursesForm.cxx
+++ b/Source/CursesDialog/cmCursesForm.cxx
@@ -11,7 +11,7 @@
============================================================================*/
#include "cmCursesForm.h"
-std::ofstream cmCursesForm::DebugFile;
+cmsys::ofstream cmCursesForm::DebugFile;
bool cmCursesForm::Debug = false;
cmCursesForm::cmCursesForm()
diff --git a/Source/CursesDialog/cmCursesForm.h b/Source/CursesDialog/cmCursesForm.h
index 3cba856..f9317b9 100644
--- a/Source/CursesDialog/cmCursesForm.h
+++ b/Source/CursesDialog/cmCursesForm.h
@@ -14,6 +14,7 @@
#include "../cmStandardIncludes.h"
#include "cmCursesStandardIncludes.h"
+#include <cmsys/FStream.hxx>
class cmCursesForm
{
@@ -63,7 +64,7 @@ public:
protected:
- static std::ofstream DebugFile;
+ static cmsys::ofstream DebugFile;
static bool Debug;
cmCursesForm(const cmCursesForm& form);
diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx
index 4fee0bb..d94cd37 100644
--- a/Source/CursesDialog/cmCursesMainForm.cxx
+++ b/Source/CursesDialog/cmCursesMainForm.cxx
@@ -43,14 +43,14 @@ cmCursesMainForm::cmCursesMainForm(std::vector<std::string> const& args,
this->HelpMessage.push_back("");
this->HelpMessage.push_back(s_ConstHelpMessage);
this->CMakeInstance = new cmake;
- this->CMakeInstance->SetCMakeEditCommand("ccmake");
+ this->CMakeInstance->SetCMakeEditCommand(
+ cmSystemTools::GetCMakeCursesCommand());
// create the arguments for the cmake object
std::string whereCMake = cmSystemTools::GetProgramPath(this->Args[0].c_str());
whereCMake += "/cmake";
this->Args[0] = whereCMake;
this->CMakeInstance->SetArgs(this->Args);
- this->CMakeInstance->SetCMakeCommand(whereCMake.c_str());
this->SearchString = "";
this->OldSearchString = "";
this->SearchMode = false;
diff --git a/Source/CursesDialog/cmCursesOptionsWidget.cxx b/Source/CursesDialog/cmCursesOptionsWidget.cxx
new file mode 100644
index 0000000..652b2df
--- /dev/null
+++ b/Source/CursesDialog/cmCursesOptionsWidget.cxx
@@ -0,0 +1,106 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#include "cmCursesOptionsWidget.h"
+#include "cmCursesMainForm.h"
+
+inline int ctrl(int z)
+{
+ return (z&037);
+}
+
+cmCursesOptionsWidget::cmCursesOptionsWidget(int width, int height,
+ int left, int top) :
+ cmCursesWidget(width, height, left, top)
+{
+ this->Type = cmCacheManager::BOOL; // this is a bit of a hack
+ // there is no option type, and string type causes ccmake to cast
+ // the widget into a string widget at some point. BOOL is safe for
+ // now.
+ set_field_fore(this->Field, A_NORMAL);
+ set_field_back(this->Field, A_STANDOUT);
+ field_opts_off(this->Field, O_STATIC);
+}
+
+bool cmCursesOptionsWidget::HandleInput(int& key, cmCursesMainForm*, WINDOW* w)
+{
+
+ // 10 == enter
+ if (key == 10 || key == KEY_ENTER)
+ {
+ this->NextOption();
+ touchwin(w);
+ wrefresh(w);
+ return true;
+ }
+ else if (key == KEY_LEFT || key == ctrl('b'))
+ {
+ touchwin(w);
+ wrefresh(w);
+ this->PreviousOption();
+ return true;
+ }
+ else if (key == KEY_RIGHT || key == ctrl('f'))
+ {
+ this->NextOption();
+ touchwin(w);
+ wrefresh(w);
+ return true;
+ }
+ else
+ {
+ return false;
+ }
+ return false;
+}
+
+void cmCursesOptionsWidget::AddOption(std::string const & option )
+{
+ this->Options.push_back(option);
+}
+
+void cmCursesOptionsWidget::NextOption()
+{
+ this->CurrentOption++;
+ if(this->CurrentOption > this->Options.size()-1)
+ {
+ this->CurrentOption = 0;
+ }
+ this->SetValue(this->Options[this->CurrentOption].c_str());
+}
+void cmCursesOptionsWidget::PreviousOption()
+{
+ if(this->CurrentOption == 0)
+ {
+ this->CurrentOption = this->Options.size()-1;
+ }
+ else
+ {
+ this->CurrentOption--;
+ }
+ this->SetValue(this->Options[this->CurrentOption].c_str());
+}
+
+void cmCursesOptionsWidget::SetOption(const char* value)
+{
+ this->CurrentOption = 0; // default to 0 index
+ this->SetValue(value);
+ int index = 0;
+ for(std::vector<std::string>::iterator i = this->Options.begin();
+ i != this->Options.end(); ++i)
+ {
+ if(*i == value)
+ {
+ this->CurrentOption = index;
+ }
+ index++;
+ }
+}
diff --git a/Source/CursesDialog/cmCursesOptionsWidget.h b/Source/CursesDialog/cmCursesOptionsWidget.h
new file mode 100644
index 0000000..b52ac9d
--- /dev/null
+++ b/Source/CursesDialog/cmCursesOptionsWidget.h
@@ -0,0 +1,39 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#ifndef __cmCursesOptionsWidget_h
+#define __cmCursesOptionsWidget_h
+
+#include "cmCursesWidget.h"
+class cmCursesMainForm;
+
+class cmCursesOptionsWidget : public cmCursesWidget
+{
+public:
+ cmCursesOptionsWidget(int width, int height, int left, int top);
+
+ // Description:
+ // Handle user input. Called by the container of this widget
+ // when this widget has focus. Returns true if the input was
+ // handled.
+ virtual bool HandleInput(int& key, cmCursesMainForm* fm, WINDOW* w);
+ void SetOption(const char*);
+ void AddOption(std::string const &);
+ void NextOption();
+ void PreviousOption();
+protected:
+ cmCursesOptionsWidget(const cmCursesOptionsWidget& from);
+ void operator=(const cmCursesOptionsWidget&);
+ std::vector<std::string> Options;
+ std::vector<std::string>::size_type CurrentOption;
+};
+
+#endif // __cmCursesOptionsWidget_h
diff --git a/Source/QtDialog/AddCacheEntry.cxx b/Source/QtDialog/AddCacheEntry.cxx
index e7fedc5..3881045 100644
--- a/Source/QtDialog/AddCacheEntry.cxx
+++ b/Source/QtDialog/AddCacheEntry.cxx
@@ -15,14 +15,16 @@
#include <QCompleter>
static const int NumTypes = 4;
+static const int DefaultTypeIndex = 0;
static const QByteArray TypeStrings[NumTypes] =
{ "BOOL", "PATH", "FILEPATH", "STRING" };
static const QCMakeProperty::PropertyType Types[NumTypes] =
{ QCMakeProperty::BOOL, QCMakeProperty::PATH,
QCMakeProperty::FILEPATH, QCMakeProperty::STRING};
-AddCacheEntry::AddCacheEntry(QWidget* p, const QStringList& completions)
- : QWidget(p)
+AddCacheEntry::AddCacheEntry(QWidget* p, const QStringList& varNames,
+ const QStringList& varTypes)
+ : QWidget(p), VarNames(varNames), VarTypes(varTypes)
{
this->setupUi(this);
for(int i=0; i<NumTypes; i++)
@@ -43,7 +45,10 @@ AddCacheEntry::AddCacheEntry(QWidget* p, const QStringList& completions)
this->setTabOrder(path, filepath);
this->setTabOrder(filepath, string);
this->setTabOrder(string, this->Description);
- this->Name->setCompleter(new QCompleter(completions, this));
+ QCompleter *completer = new QCompleter(this->VarNames, this);
+ this->Name->setCompleter(completer);
+ connect(completer, SIGNAL(activated(const QString&)),
+ this, SLOT(onCompletionActivated(const QString&)));
}
QString AddCacheEntry::name() const
@@ -77,7 +82,32 @@ QCMakeProperty::PropertyType AddCacheEntry::type() const
{
return Types[idx];
}
- return QCMakeProperty::BOOL;
+ return Types[DefaultTypeIndex];
}
+QString AddCacheEntry::typeString() const
+{
+ int idx = this->Type->currentIndex();
+ if(idx >= 0 && idx < NumTypes)
+ {
+ return TypeStrings[idx];
+ }
+ return TypeStrings[DefaultTypeIndex];
+}
+void AddCacheEntry::onCompletionActivated(const QString &text)
+{
+ int idx = this->VarNames.indexOf(text);
+ if (idx != -1)
+ {
+ QString vartype = this->VarTypes[idx];
+ for (int i = 0; i < NumTypes; i++)
+ {
+ if (TypeStrings[i] == vartype)
+ {
+ this->Type->setCurrentIndex(i);
+ break;
+ }
+ }
+ }
+}
diff --git a/Source/QtDialog/AddCacheEntry.h b/Source/QtDialog/AddCacheEntry.h
index e219d4e..38c3a74 100644
--- a/Source/QtDialog/AddCacheEntry.h
+++ b/Source/QtDialog/AddCacheEntry.h
@@ -24,12 +24,21 @@ class AddCacheEntry : public QWidget, public Ui::AddCacheEntry
{
Q_OBJECT
public:
- AddCacheEntry(QWidget* p, const QStringList& completions);
+ AddCacheEntry(QWidget* p, const QStringList& varNames,
+ const QStringList& varTypes);
QString name() const;
QVariant value() const;
QString description() const;
QCMakeProperty::PropertyType type() const;
+ QString typeString() const;
+
+private slots:
+ void onCompletionActivated(const QString &text);
+
+private:
+ const QStringList& VarNames;
+ const QStringList& VarTypes;
};
#endif
diff --git a/Source/QtDialog/CMakeLists.txt b/Source/QtDialog/CMakeLists.txt
index ef25294..7885a0c 100644
--- a/Source/QtDialog/CMakeLists.txt
+++ b/Source/QtDialog/CMakeLists.txt
@@ -27,7 +27,9 @@ if (Qt5Widgets_FOUND)
macro(qt4_add_resources)
qt5_add_resources(${ARGN})
endmacro()
- set(QT_LIBRARIES ${Qt5Widgets_LIBRARIES})
+ set(CMake_QT_LIBRARIES ${Qt5Widgets_LIBRARIES})
+ set(QT_QTMAIN_LIBRARY ${Qt5Core_QTMAIN_LIBRARIES})
+
# Remove this when the minimum version of Qt is 4.6.
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0)
@@ -47,6 +49,8 @@ else()
include(${QT_USE_FILE})
+ set(CMake_QT_LIBRARIES ${QT_LIBRARIES})
+
if(WIN32 AND EXISTS "${QT_QMAKE_EXECUTABLE}")
get_filename_component(_Qt_BIN_DIR "${QT_QMAKE_EXECUTABLE}" PATH)
if(EXISTS "${_Qt_BIN_DIR}/QtCore4.dll")
@@ -102,17 +106,39 @@ if(APPLE)
MACOSX_PACKAGE_LOCATION Resources)
endif()
+if(CMake_GUI_DISTRIBUTE_WITH_Qt_LGPL)
+ install(FILES ${CMake_SOURCE_DIR}/Licenses/LGPLv2.1.txt
+ DESTINATION ${CMAKE_DATA_DIR}/Licenses)
+ set_property(SOURCE CMakeSetupDialog.cxx
+ PROPERTY COMPILE_DEFINITIONS CMake_GUI_DISTRIBUTE_WITH_Qt_LGPL)
+endif()
+
set(CMAKE_INCLUDE_CURRENT_DIR ON)
add_executable(cmake-gui WIN32 MACOSX_BUNDLE ${SRCS})
-target_link_libraries(cmake-gui CMakeLib ${QT_QTMAIN_LIBRARY} ${QT_LIBRARIES})
+target_link_libraries(cmake-gui CMakeLib ${QT_QTMAIN_LIBRARY} ${CMake_QT_LIBRARIES})
if(Qt_BIN_DIR)
set_property(TARGET cmake-gui PROPERTY Qt_BIN_DIR ${Qt_BIN_DIR})
endif()
if(APPLE)
+ file(STRINGS "${CMake_SOURCE_DIR}/Copyright.txt" copyright_line
+ LIMIT_COUNT 1 REGEX "^Copyright 2000-20[0-9][0-9] Kitware")
+
set_target_properties(cmake-gui PROPERTIES
- OUTPUT_NAME ${CMAKE_BUNDLE_NAME})
+ OUTPUT_NAME CMake
+ MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.in"
+ MACOSX_BUNDLE_SHORT_VERSION_STRING "${CMAKE_BUNDLE_VERSION}"
+ # TBD: MACOSX_BUNDLE_BUNDLE_VERSION "${CMAKE_BUNDLE_VERSION}"
+ MACOSX_BUNDLE_COPYRIGHT "${copyright_line}"
+ )
+
+ # Create a symlink in the build tree to provide a "cmake-gui" next
+ # to the "cmake" executable that refers to the application bundle.
+ add_custom_command(TARGET cmake-gui POST_BUILD
+ COMMAND ln -sf CMake.app/Contents/MacOS/CMake
+ $<TARGET_FILE_DIR:cmake>/cmake-gui
+ )
endif()
set(CMAKE_INSTALL_DESTINATION_ARGS
BUNDLE DESTINATION "${CMAKE_BUNDLE_LOCATION}")
@@ -136,7 +162,7 @@ if(APPLE)
"${CMake_BINARY_DIR}/Source/QtDialog/postflight.sh")
configure_file("${CMake_SOURCE_DIR}/Source/QtDialog/postupgrade.sh.in"
"${CMake_BINARY_DIR}/Source/QtDialog/postupgrade.sh")
- install(CODE "execute_process(COMMAND ln -s \"../MacOS/${CMAKE_BUNDLE_NAME}\" cmake-gui
+ install(CODE "execute_process(COMMAND ln -s \"../MacOS/CMake\" cmake-gui
WORKING_DIRECTORY \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/bin)")
endif()
@@ -145,7 +171,7 @@ if(APPLE OR WIN32)
# if a system Qt is used (e.g. installed in /usr/lib/), it will not be included in the installation
set(fixup_exe "\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/bin/cmake-gui${CMAKE_EXECUTABLE_SUFFIX}")
if(APPLE)
- set(fixup_exe "\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/MacOS/${CMAKE_BUNDLE_NAME}")
+ set(fixup_exe "\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/MacOS/CMake")
endif()
install(CODE "
include(\"${CMake_SOURCE_DIR}/Modules/BundleUtilities.cmake\")
diff --git a/Source/QtDialog/CMakeSetup.cxx b/Source/QtDialog/CMakeSetup.cxx
index 01893f5..821121e 100644
--- a/Source/QtDialog/CMakeSetup.cxx
+++ b/Source/QtDialog/CMakeSetup.cxx
@@ -21,79 +21,57 @@
#include "cmVersion.h"
#include <cmsys/CommandLineArguments.hxx>
#include <cmsys/SystemTools.hxx>
+#include <cmsys/Encoding.hxx>
//----------------------------------------------------------------------------
-static const char * cmDocumentationName[][3] =
+static const char * cmDocumentationName[][2] =
{
{0,
- " cmake-gui - CMake GUI.", 0},
- {0,0,0}
+ " cmake-gui - CMake GUI."},
+ {0,0}
};
//----------------------------------------------------------------------------
-static const char * cmDocumentationUsage[][3] =
+static const char * cmDocumentationUsage[][2] =
{
{0,
" cmake-gui [options]\n"
" cmake-gui [options] <path-to-source>\n"
- " cmake-gui [options] <path-to-existing-build>", 0},
- {0,0,0}
+ " cmake-gui [options] <path-to-existing-build>"},
+ {0,0}
};
//----------------------------------------------------------------------------
-static const char * cmDocumentationDescription[][3] =
+static const char * cmDocumentationOptions[][2] =
{
- {0,
- "The \"cmake-gui\" executable is the CMake GUI. Project "
- "configuration settings may be specified interactively. "
- "Brief instructions are provided at the bottom of the "
- "window when the program is running.", 0},
- CMAKE_STANDARD_INTRODUCTION,
- {0,0,0}
-};
-
-//----------------------------------------------------------------------------
-static const char * cmDocumentationOptions[][3] =
-{
- {0,0,0}
+ {0,0}
};
int main(int argc, char** argv)
{
- cmSystemTools::FindExecutableDirectory(argv[0]);
+ cmsys::Encoding::CommandLineArguments encoding_args =
+ cmsys::Encoding::CommandLineArguments::Main(argc, argv);
+ int argc2 = encoding_args.argc();
+ char const* const* argv2 = encoding_args.argv();
+
+ cmSystemTools::FindCMakeResources(argv2[0]);
// check docs first so that X is not need to get docs
// do docs, if args were given
cmDocumentation doc;
doc.addCMakeStandardDocSections();
- if(argc >1 && doc.CheckOptions(argc, argv))
+ if(argc2 >1 && doc.CheckOptions(argc2, argv2))
{
// Construct and print requested documentation.
cmake hcm;
hcm.AddCMakePaths();
- // just incase the install is bad avoid a seg fault
- const char* root = hcm.GetCacheDefinition("CMAKE_ROOT");
- if(root)
- {
- doc.SetCMakeRoot(root);
- }
- std::vector<cmDocumentationEntry> commands;
- std::vector<cmDocumentationEntry> compatCommands;
- std::map<std::string,cmDocumentationSection *> propDocs;
std::vector<cmDocumentationEntry> generators;
- hcm.GetCommandDocumentation(commands, true, false);
- hcm.GetCommandDocumentation(compatCommands, false, true);
hcm.GetGeneratorDocumentation(generators);
- hcm.GetPropertiesDocumentation(propDocs);
doc.SetName("cmake");
doc.SetSection("Name",cmDocumentationName);
doc.SetSection("Usage",cmDocumentationUsage);
- doc.SetSection("Description",cmDocumentationDescription);
doc.AppendSection("Generators",generators);
doc.PrependSection("Options",cmDocumentationOptions);
- doc.SetSection("Commands",commands);
- doc.SetSection("Compatilbility Commands", compatCommands);
- doc.SetSections(propDocs);
return (doc.PrintRequestedDocumentation(std::cout)? 0:1);
}
@@ -108,9 +86,9 @@ int main(int argc, char** argv)
}
// if arg for install
- for(int i =0; i < argc; i++)
+ for(int i =0; i < argc2; i++)
{
- if(strcmp(argv[i], "--mac-install") == 0)
+ if(strcmp(argv2[i], "--mac-install") == 0)
{
QMacInstallDialog setupdialog(0);
setupdialog.exec();
@@ -144,7 +122,7 @@ int main(int argc, char** argv)
dialog.show();
cmsys::CommandLineArguments arg;
- arg.Initialize(argc, argv);
+ arg.Initialize(argc2, argv2);
std::string binaryDirectory;
std::string sourceDirectory;
typedef cmsys::CommandLineArguments argT;
diff --git a/Source/QtDialog/CMakeSetupDialog.cxx b/Source/QtDialog/CMakeSetupDialog.cxx
index 4d62f72..f62afd6 100644
--- a/Source/QtDialog/CMakeSetupDialog.cxx
+++ b/Source/QtDialog/CMakeSetupDialog.cxx
@@ -34,6 +34,7 @@
#include "QCMakeCacheView.h"
#include "AddCacheEntry.h"
#include "FirstConfigure.h"
+#include "cmSystemTools.h"
#include "cmVersion.h"
QCMakeThread::QCMakeThread(QObject* p)
@@ -66,12 +67,13 @@ CMakeSetupDialog::CMakeSetupDialog()
// create the GUI
QSettings settings;
settings.beginGroup("Settings/StartPath");
- int h = settings.value("Height", 500).toInt();
- int w = settings.value("Width", 700).toInt();
- this->resize(w, h);
+ restoreGeometry(settings.value("geometry").toByteArray());
+ restoreState(settings.value("windowState").toByteArray());
- this->AddVariableCompletions = settings.value("AddVariableCompletionEntries",
+ this->AddVariableNames = settings.value("AddVariableNames",
QStringList("CMAKE_INSTALL_PREFIX")).toStringList();
+ this->AddVariableTypes = settings.value("AddVariableTypes",
+ QStringList("PATH")).toStringList();
QWidget* cont = new QWidget(this);
this->setupUi(cont);
@@ -299,8 +301,8 @@ CMakeSetupDialog::~CMakeSetupDialog()
{
QSettings settings;
settings.beginGroup("Settings/StartPath");
- settings.setValue("Height", this->height());
- settings.setValue("Width", this->width());
+ settings.setValue("windowState", QVariant(saveState()));
+ settings.setValue("geometry", QVariant(saveGeometry()));
settings.setValue("SplitterSizes", this->Splitter->saveState());
// wait for thread to stop
@@ -808,12 +810,26 @@ void CMakeSetupDialog::doDeleteCache()
void CMakeSetupDialog::doAbout()
{
- QString msg = tr("CMake %1\n"
- "Using Qt %2\n"
- "www.cmake.org");
-
+ QString msg = tr(
+ "CMake %1 (cmake.org).\n"
+ "CMake suite maintained by Kitware, Inc. (kitware.com).\n"
+ "Distributed under terms of the BSD 3-Clause License.\n"
+ "\n"
+ "CMake GUI maintained by csimsoft,\n"
+ "built using Qt %2 (qt-project.org).\n"
+#ifdef CMake_GUI_DISTRIBUTE_WITH_Qt_LGPL
+ "\n"
+ "The Qt Toolkit is Copyright (C) Digia Plc and/or its subsidiary(-ies).\n"
+ "Qt is licensed under terms of the GNU LGPLv2.1, available at:\n"
+ " \"%3\""
+#endif
+ );
msg = msg.arg(cmVersion::GetCMakeVersion());
msg = msg.arg(qVersion());
+#ifdef CMake_GUI_DISTRIBUTE_WITH_Qt_LGPL
+ std::string lgpl = cmSystemTools::GetCMakeRoot()+"/Licenses/LGPLv2.1.txt";
+ msg = msg.arg(lgpl.c_str());
+#endif
QDialog dialog;
dialog.setWindowTitle(tr("About"));
@@ -947,6 +963,7 @@ void CMakeSetupDialog::saveBuildPaths(const QStringList& paths)
void CMakeSetupDialog::setCacheModified()
{
this->CacheModified = true;
+ this->ConfigureNeeded = true;
this->enterState(ReadyConfigure);
}
@@ -1034,7 +1051,8 @@ void CMakeSetupDialog::addCacheEntry()
dialog.resize(400, 200);
dialog.setWindowTitle(tr("Add Cache Entry"));
QVBoxLayout* l = new QVBoxLayout(&dialog);
- AddCacheEntry* w = new AddCacheEntry(&dialog, this->AddVariableCompletions);
+ AddCacheEntry* w = new AddCacheEntry(&dialog, this->AddVariableNames,
+ this->AddVariableTypes);
QDialogButtonBox* btns = new QDialogButtonBox(
QDialogButtonBox::Ok | QDialogButtonBox::Cancel,
Qt::Horizontal, &dialog);
@@ -1049,23 +1067,26 @@ void CMakeSetupDialog::addCacheEntry()
m->insertProperty(w->type(), w->name(), w->description(), w->value(), false);
// only add variable names to the completion which are new
- if (!this->AddVariableCompletions.contains(w->name()))
+ if (!this->AddVariableNames.contains(w->name()))
{
- this->AddVariableCompletions << w->name();
+ this->AddVariableNames << w->name();
+ this->AddVariableTypes << w->typeString();
// limit to at most 100 completion items
- if (this->AddVariableCompletions.size() > 100)
+ if (this->AddVariableNames.size() > 100)
{
- this->AddVariableCompletions.removeFirst();
+ this->AddVariableNames.removeFirst();
+ this->AddVariableTypes.removeFirst();
}
// make sure CMAKE_INSTALL_PREFIX is always there
- if (!this->AddVariableCompletions.contains("CMAKE_INSTALL_PREFIX"))
+ if (!this->AddVariableNames.contains("CMAKE_INSTALL_PREFIX"))
{
- this->AddVariableCompletions << QString("CMAKE_INSTALL_PREFIX");
+ this->AddVariableNames << "CMAKE_INSTALL_PREFIX";
+ this->AddVariableTypes << "PATH";
}
QSettings settings;
settings.beginGroup("Settings/StartPath");
- settings.setValue("AddVariableCompletionEntries",
- this->AddVariableCompletions);
+ settings.setValue("AddVariableNames", this->AddVariableNames);
+ settings.setValue("AddVariableTypes", this->AddVariableTypes);
}
}
}
@@ -1231,7 +1252,7 @@ void CMakeSetupDialog::doOutputFindNext(bool directionForward)
QString search = this->FindHistory.front();
- QTextCursor cursor = this->Output->textCursor();
+ QTextCursor textCursor = this->Output->textCursor();
QTextDocument* document = this->Output->document();
QTextDocument::FindFlags flags;
if (!directionForward)
@@ -1239,67 +1260,67 @@ void CMakeSetupDialog::doOutputFindNext(bool directionForward)
flags |= QTextDocument::FindBackward;
}
- cursor = document->find(search, cursor, flags);
+ textCursor = document->find(search, textCursor, flags);
- if (cursor.isNull())
+ if (textCursor.isNull())
{
// first search found nothing, wrap around and search again
- cursor = this->Output->textCursor();
- cursor.movePosition(directionForward ? QTextCursor::Start
- : QTextCursor::End);
- cursor = document->find(search, cursor, flags);
+ textCursor = this->Output->textCursor();
+ textCursor.movePosition(directionForward ? QTextCursor::Start
+ : QTextCursor::End);
+ textCursor = document->find(search, textCursor, flags);
}
- if (cursor.hasSelection())
+ if (textCursor.hasSelection())
{
- this->Output->setTextCursor(cursor);
+ this->Output->setTextCursor(textCursor);
}
}
void CMakeSetupDialog::doOutputErrorNext()
{
- QTextCursor cursor = this->Output->textCursor();
+ QTextCursor textCursor = this->Output->textCursor();
bool atEnd = false;
// move cursor out of current error-block
- if (cursor.blockCharFormat() == this->ErrorFormat)
+ if (textCursor.blockCharFormat() == this->ErrorFormat)
{
- atEnd = !cursor.movePosition(QTextCursor::NextBlock);
+ atEnd = !textCursor.movePosition(QTextCursor::NextBlock);
}
// move cursor to next error-block
- while (cursor.blockCharFormat() != this->ErrorFormat && !atEnd)
+ while (textCursor.blockCharFormat() != this->ErrorFormat && !atEnd)
{
- atEnd = !cursor.movePosition(QTextCursor::NextBlock);
+ atEnd = !textCursor.movePosition(QTextCursor::NextBlock);
}
if (atEnd)
{
// first search found nothing, wrap around and search again
- atEnd = !cursor.movePosition(QTextCursor::Start);
+ atEnd = !textCursor.movePosition(QTextCursor::Start);
// move cursor to next error-block
- while (cursor.blockCharFormat() != this->ErrorFormat && !atEnd)
+ while (textCursor.blockCharFormat() != this->ErrorFormat && !atEnd)
{
- atEnd = !cursor.movePosition(QTextCursor::NextBlock);
+ atEnd = !textCursor.movePosition(QTextCursor::NextBlock);
}
}
if (!atEnd)
{
- cursor.movePosition(QTextCursor::EndOfBlock, QTextCursor::KeepAnchor);
+ textCursor.movePosition(QTextCursor::EndOfBlock, QTextCursor::KeepAnchor);
QTextCharFormat selectionFormat;
selectionFormat.setBackground(Qt::yellow);
- QTextEdit::ExtraSelection extraSelection = {cursor, selectionFormat};
+ QTextEdit::ExtraSelection extraSelection = {textCursor, selectionFormat};
this->Output->setExtraSelections(QList<QTextEdit::ExtraSelection>()
<< extraSelection);
// make the whole error-block visible
- this->Output->setTextCursor(cursor);
+ this->Output->setTextCursor(textCursor);
// remove the selection to see the extraSelection
- cursor.setPosition(cursor.anchor());
- this->Output->setTextCursor(cursor);
+ textCursor.setPosition(textCursor.anchor());
+ this->Output->setTextCursor(textCursor);
}
}
diff --git a/Source/QtDialog/CMakeSetupDialog.h b/Source/QtDialog/CMakeSetupDialog.h
index 963c7d1..1b26c64 100644
--- a/Source/QtDialog/CMakeSetupDialog.h
+++ b/Source/QtDialog/CMakeSetupDialog.h
@@ -110,7 +110,8 @@ protected:
QTextCharFormat ErrorFormat;
QTextCharFormat MessageFormat;
- QStringList AddVariableCompletions;
+ QStringList AddVariableNames;
+ QStringList AddVariableTypes;
QStringList FindHistory;
QEventLoop LocalLoop;
diff --git a/Source/QtDialog/Info.plist.in b/Source/QtDialog/Info.plist.in
new file mode 100644
index 0000000..b9c4af5
--- /dev/null
+++ b/Source/QtDialog/Info.plist.in
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>${MACOSX_BUNDLE_EXECUTABLE_NAME}</string>
+ <key>CFBundleIconFile</key>
+ <string>${MACOSX_BUNDLE_ICON_FILE}</string>
+ <key>CFBundleIdentifier</key>
+ <string>${MACOSX_BUNDLE_GUI_IDENTIFIER}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>${MACOSX_BUNDLE_BUNDLE_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string>
+ <key>CSResourcesFileMapped</key>
+ <true/>
+ <key>LSApplicationCategoryType</key>
+ <string>public.app-category.developer-tools</string>
+ <key>NSHumanReadableCopyright</key>
+ <string>${MACOSX_BUNDLE_COPYRIGHT}</string>
+</dict>
+</plist>
diff --git a/Source/QtDialog/QCMake.cxx b/Source/QtDialog/QCMake.cxx
index 0d01181..0fe5f8c 100644
--- a/Source/QtDialog/QCMake.cxx
+++ b/Source/QtDialog/QCMake.cxx
@@ -33,34 +33,13 @@ QCMake::QCMake(QObject* p)
qRegisterMetaType<QCMakeProperty>();
qRegisterMetaType<QCMakePropertyList>();
- QDir execDir(QCoreApplication::applicationDirPath());
-
-#if defined(Q_OS_MAC)
- if(execDir.exists("../bin/cmake"))
- {
- execDir.cd("../bin");
- }
- else
- {
- execDir.cd("../../../"); // path to cmake in build directory (need to fix for deployment)
- }
-#endif
-
- QString cmakeCommand = QString("cmake")+QString::fromLocal8Bit(cmSystemTools::GetExecutableExtension());
- cmakeCommand = execDir.filePath(cmakeCommand);
-
cmSystemTools::DisableRunCommandOutput();
cmSystemTools::SetRunCommandHideConsole(true);
cmSystemTools::SetErrorCallback(QCMake::errorCallback, this);
- cmSystemTools::FindExecutableDirectory(cmakeCommand.toLocal8Bit().data());
this->CMakeInstance = new cmake;
- this->CMakeInstance->SetCMakeCommand(cmakeCommand.toLocal8Bit().data());
-#if defined(Q_OS_MAC)
- this->CMakeInstance->SetCMakeEditCommand("cmake-gui.app/Contents/MacOS/cmake-gui");
-#else
- this->CMakeInstance->SetCMakeEditCommand("cmake-gui");
-#endif
+ this->CMakeInstance->SetCMakeEditCommand(
+ cmSystemTools::GetCMakeGUICommand());
this->CMakeInstance->SetProgressCallback(QCMake::progressCallback, this);
cmSystemTools::SetInterruptCallback(QCMake::interruptCallback, this);
diff --git a/Source/QtDialog/postflight.sh.in b/Source/QtDialog/postflight.sh.in
index 33be352..0b96889 100755
--- a/Source/QtDialog/postflight.sh.in
+++ b/Source/QtDialog/postflight.sh.in
@@ -1,3 +1,3 @@
#!/bin/bash
-"$2@CMAKE_INSTALL_SUBDIR@/@CMAKE_BUNDLE_NAME@.app/Contents/MacOS/@CMAKE_BUNDLE_NAME@" --mac-install
+"$2@CMAKE_INSTALL_SUBDIR@/CMake.app/Contents/MacOS/CMake" --mac-install
exit 0
diff --git a/Source/cmAddCompileOptionsCommand.h b/Source/cmAddCompileOptionsCommand.h
index e9bbf28..38ed208 100644
--- a/Source/cmAddCompileOptionsCommand.h
+++ b/Source/cmAddCompileOptionsCommand.h
@@ -13,7 +13,6 @@
#define cmAddCompileOptionsCommand_h
#include "cmCommand.h"
-#include "cmDocumentGeneratorExpressions.h"
class cmAddCompileOptionsCommand : public cmCommand
{
@@ -38,33 +37,6 @@ public:
*/
virtual const char* GetName() const {return "add_compile_options";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Adds options to the compilation of source files.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " add_compile_options(<option> ...)\n"
- "Adds options to the compiler command line for sources in the "
- "current directory and below. This command can be used to add any "
- "options, but alternative commands exist to add preprocessor "
- "definitions or include directories. "
- "See documentation of the directory and target COMPILE_OPTIONS "
- "properties for details. "
- "Arguments to add_compile_options may use \"generator "
- "expressions\" with the syntax \"$<...>\". "
- CM_DOCUMENT_COMMAND_GENERATOR_EXPRESSIONS
- ;
- }
-
cmTypeMacro(cmAddCompileOptionsCommand, cmCommand);
};
diff --git a/Source/cmAddCustomCommandCommand.cxx b/Source/cmAddCustomCommandCommand.cxx
index 5634849..3de04f5 100644
--- a/Source/cmAddCustomCommandCommand.cxx
+++ b/Source/cmAddCustomCommandCommand.cxx
@@ -344,6 +344,36 @@ bool cmAddCustomCommandCommand
}
else
{
+ bool issueMessage = true;
+ cmOStringStream e;
+ cmake::MessageType messageType = cmake::AUTHOR_WARNING;
+ switch(this->Makefile->GetPolicyStatus(cmPolicies::CMP0050))
+ {
+ case cmPolicies::WARN:
+ e << (this->Makefile->GetPolicies()
+ ->GetPolicyWarning(cmPolicies::CMP0050)) << "\n";
+ break;
+ case cmPolicies::OLD:
+ issueMessage = false;
+ break;
+ case cmPolicies::REQUIRED_ALWAYS:
+ case cmPolicies::REQUIRED_IF_USED:
+ case cmPolicies::NEW:
+ messageType = cmake::FATAL_ERROR;
+ break;
+ }
+
+ if (issueMessage)
+ {
+ e << "The SOURCE signatures of add_custom_command are no longer "
+ "supported.";
+ this->Makefile->IssueMessage(messageType, e.str().c_str());
+ if (messageType == cmake::FATAL_ERROR)
+ {
+ return false;
+ }
+ }
+
// Use the old-style mode for backward compatibility.
this->Makefile->AddCustomCommandOldStyle(target.c_str(), outputs, depends,
source.c_str(), commandLines,
diff --git a/Source/cmAddCustomCommandCommand.h b/Source/cmAddCustomCommandCommand.h
index 1cc1e3a..114957f 100644
--- a/Source/cmAddCustomCommandCommand.h
+++ b/Source/cmAddCustomCommandCommand.h
@@ -13,12 +13,9 @@
#define cmAddCustomCommandCommand_h
#include "cmCommand.h"
-#include "cmDocumentGeneratorExpressions.h"
/** \class cmAddCustomCommandCommand
- * \brief
- *
- * cmAddCustomCommandCommand defines a new command (rule) that can
+ * \brief cmAddCustomCommandCommand defines a new command (rule) that can
* be executed within the build process
*
*/
@@ -46,141 +43,6 @@ public:
*/
virtual const char* GetName() const {return "add_custom_command";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Add a custom build rule to the generated build system.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- "There are two main signatures for add_custom_command "
- "The first signature is for adding a custom command "
- "to produce an output.\n"
- " add_custom_command(OUTPUT output1 [output2 ...]\n"
- " COMMAND command1 [ARGS] [args1...]\n"
- " [COMMAND command2 [ARGS] [args2...] ...]\n"
- " [MAIN_DEPENDENCY depend]\n"
- " [DEPENDS [depends...]]\n"
- " [IMPLICIT_DEPENDS <lang1> depend1\n"
- " [<lang2> depend2] ...]\n"
- " [WORKING_DIRECTORY dir]\n"
- " [COMMENT comment] [VERBATIM] [APPEND])\n"
- "This defines a command to generate specified OUTPUT file(s). "
- "A target created in the same directory (CMakeLists.txt file) that "
- "specifies any output of the custom command as a source file is given "
- "a rule to generate the file using the command at build time. "
- "Do not list the output in more than one independent target that may "
- "build in parallel or the two instances of the rule may conflict "
- "(instead use add_custom_target to drive the command and make the "
- "other targets depend on that one). "
- "If an output name is a relative path it will be interpreted "
- "relative to the build tree directory corresponding to the current "
- "source directory. "
- "Note that MAIN_DEPENDENCY is completely optional and is "
- "used as a suggestion to visual studio about where to hang the "
- "custom command. In makefile terms this creates a new target in the "
- "following form:\n"
- " OUTPUT: MAIN_DEPENDENCY DEPENDS\n"
- " COMMAND\n"
- "If more than one command is specified they will be executed in order. "
- "The optional ARGS argument is for backward compatibility and will be "
- "ignored.\n"
- "The second signature adds a custom command to a target "
- "such as a library or executable. This is useful for "
- "performing an operation before or after building the target. "
- "The command becomes part of the target and will only execute "
- "when the target itself is built. If the target is already built,"
- " the command will not execute.\n"
- " add_custom_command(TARGET target\n"
- " PRE_BUILD | PRE_LINK | POST_BUILD\n"
- " COMMAND command1 [ARGS] [args1...]\n"
- " [COMMAND command2 [ARGS] [args2...] ...]\n"
- " [WORKING_DIRECTORY dir]\n"
- " [COMMENT comment] [VERBATIM])\n"
- "This defines a new command that will be associated with "
- "building the specified target. When the command will "
- "happen is determined by which of the following is specified:\n"
- " PRE_BUILD - run before all other dependencies\n"
- " PRE_LINK - run after other dependencies\n"
- " POST_BUILD - run after the target has been built\n"
- "Note that the PRE_BUILD option is only supported on Visual "
- "Studio 7 or later. For all other generators PRE_BUILD "
- "will be treated as PRE_LINK.\n"
- "If WORKING_DIRECTORY is specified the command will be executed "
- "in the directory given. "
- "If it is a relative path it will be interpreted relative to the "
- "build tree directory corresponding to the current source directory. "
- "If COMMENT is set, the value will be displayed as a "
- "message before the commands are executed at build time. "
- "If APPEND is specified the COMMAND and DEPENDS option values "
- "are appended to the custom command for the first output specified. "
- "There must have already been a previous call to this command with "
- "the same output. The COMMENT, WORKING_DIRECTORY, and MAIN_DEPENDENCY "
- "options are currently ignored when APPEND is given, "
- "but may be used in the future."
- "\n"
- "If VERBATIM is given then all arguments to the commands will be "
- "escaped properly for the build tool so that the invoked command "
- "receives each argument unchanged. "
- "Note that one level of escapes is still used by the CMake language "
- "processor before add_custom_command even sees the arguments. "
- "Use of VERBATIM is recommended as it enables correct behavior. "
- "When VERBATIM is not given the behavior is platform specific because "
- "there is no protection of tool-specific special characters."
- "\n"
- "If the output of the custom command is not actually "
- "created as a file on disk it should be marked as SYMBOLIC with "
- "SET_SOURCE_FILES_PROPERTIES.\n"
-
- "The IMPLICIT_DEPENDS option requests scanning of implicit "
- "dependencies of an input file. The language given specifies the "
- "programming language whose corresponding dependency scanner should "
- "be used. Currently only C and CXX language scanners are supported. "
- "The language has to be specified for every file in the "
- "IMPLICIT_DEPENDS list. "
- "Dependencies discovered from the scanning are added to those of "
- "the custom command at build time. Note that the IMPLICIT_DEPENDS "
- "option is currently supported only for Makefile generators and "
- "will be ignored by other generators."
- "\n"
- "If COMMAND specifies an executable target (created by "
- "ADD_EXECUTABLE) it will automatically be replaced by the location "
- "of the executable created at build time. Additionally a "
- "target-level dependency will be added so that the executable target "
- "will be built before any target using this custom command. However "
- "this does NOT add a file-level dependency that would cause the "
- "custom command to re-run whenever the executable is recompiled."
- "\n"
- "Arguments to COMMAND may use \"generator expressions\" with the "
- "syntax \"$<...>\". "
- CM_DOCUMENT_COMMAND_GENERATOR_EXPRESSIONS
- "References to target names in generator expressions imply "
- "target-level dependencies, but NOT file-level dependencies. "
- "List target names with the DEPENDS option to add file dependencies."
- "\n"
- "The DEPENDS option specifies files on which the command depends. "
- "If any dependency is an OUTPUT of another custom command in the "
- "same directory (CMakeLists.txt file) CMake automatically brings the "
- "other custom command into the target in which this command is built. "
- "If DEPENDS is not specified the command will run whenever the OUTPUT "
- "is missing; if the command does not actually create the OUTPUT then "
- "the rule will always run. "
- "If DEPENDS specifies any target (created by an ADD_* command) "
- "a target-level dependency is created to make sure the target is "
- "built before any target using this custom command. Additionally, "
- "if the target is an executable or library a file-level dependency "
- "is created to cause the custom command to re-run whenever the target "
- "is recompiled.\n"
- ;
- }
-
cmTypeMacro(cmAddCustomCommandCommand, cmCommand);
protected:
bool CheckOutputs(const std::vector<std::string>& outputs);
diff --git a/Source/cmAddCustomTargetCommand.cxx b/Source/cmAddCustomTargetCommand.cxx
index 4eba886..e27d830 100644
--- a/Source/cmAddCustomTargetCommand.cxx
+++ b/Source/cmAddCustomTargetCommand.cxx
@@ -11,6 +11,9 @@
============================================================================*/
#include "cmAddCustomTargetCommand.h"
+#include "cmGeneratorExpression.h"
+#include "cmGlobalGenerator.h"
+
// cmAddCustomTargetCommand
bool cmAddCustomTargetCommand
::InitialPass(std::vector<std::string> const& args,
@@ -22,20 +25,17 @@ bool cmAddCustomTargetCommand
return false;
}
+ std::string targetName = args[0];
+
// Check the target name.
- if(args[0].find_first_of("/\\") != args[0].npos)
+ if(targetName.find_first_of("/\\") != targetName.npos)
{
- if(!this->Makefile->NeedBackwardsCompatibility(2,2))
- {
- cmOStringStream e;
- e << "called with invalid target name \"" << args[0]
- << "\". Target names may not contain a slash. "
- << "Use ADD_CUSTOM_COMMAND to generate files. "
- << "Set CMAKE_BACKWARDS_COMPATIBILITY to 2.2 "
- << "or lower to skip this check.";
- this->SetError(e.str().c_str());
- return false;
- }
+ cmOStringStream e;
+ e << "called with invalid target name \"" << targetName
+ << "\". Target names may not contain a slash. "
+ << "Use ADD_CUSTOM_COMMAND to generate files.";
+ this->SetError(e.str().c_str());
+ return false;
}
// Accumulate one command line at a time.
@@ -143,16 +143,59 @@ bool cmAddCustomTargetCommand
}
}
- std::string::size_type pos = args[0].find_first_of("#<>");
- if(pos != args[0].npos)
+ std::string::size_type pos = targetName.find_first_of("#<>");
+ if(pos != targetName.npos)
{
cmOStringStream msg;
- msg << "called with target name containing a \"" << args[0][pos]
+ msg << "called with target name containing a \"" << targetName[pos]
<< "\". This character is not allowed.";
this->SetError(msg.str().c_str());
return false;
}
+ // Some requirements on custom target names already exist
+ // and have been checked at this point.
+ // The following restrictions overlap but depend on policy CMP0037.
+ bool nameOk = cmGeneratorExpression::IsValidTargetName(targetName) &&
+ !cmGlobalGenerator::IsReservedTarget(targetName);
+ if (nameOk)
+ {
+ nameOk = targetName.find(":") == std::string::npos;
+ }
+ if (!nameOk)
+ {
+ cmake::MessageType messageType = cmake::AUTHOR_WARNING;
+ cmOStringStream e;
+ bool issueMessage = false;
+ switch(this->Makefile->GetPolicyStatus(cmPolicies::CMP0037))
+ {
+ case cmPolicies::WARN:
+ e << (this->Makefile->GetPolicies()
+ ->GetPolicyWarning(cmPolicies::CMP0037)) << "\n";
+ issueMessage = true;
+ case cmPolicies::OLD:
+ break;
+ case cmPolicies::NEW:
+ case cmPolicies::REQUIRED_IF_USED:
+ case cmPolicies::REQUIRED_ALWAYS:
+ issueMessage = true;
+ messageType = cmake::FATAL_ERROR;
+ }
+ if (issueMessage)
+ {
+ e << "The target name \"" << targetName <<
+ "\" is reserved or not valid for certain "
+ "CMake features, such as generator expressions, and may result "
+ "in undefined behavior.";
+ this->Makefile->IssueMessage(messageType, e.str().c_str());
+
+ if (messageType == cmake::FATAL_ERROR)
+ {
+ return false;
+ }
+ }
+ }
+
// Store the last command line finished.
if(!currentLine.empty())
{
@@ -163,7 +206,7 @@ bool cmAddCustomTargetCommand
// Enforce name uniqueness.
{
std::string msg;
- if(!this->Makefile->EnforceUniqueName(args[0], msg, true))
+ if(!this->Makefile->EnforceUniqueName(targetName, msg, true))
{
this->SetError(msg.c_str());
return false;
@@ -181,7 +224,7 @@ bool cmAddCustomTargetCommand
// Add the utility target to the makefile.
bool escapeOldStyle = !verbatim;
cmTarget* target =
- this->Makefile->AddUtilityCommand(args[0].c_str(), excludeFromAll,
+ this->Makefile->AddUtilityCommand(targetName.c_str(), excludeFromAll,
working_directory.c_str(), depends,
commandLines, escapeOldStyle, comment);
diff --git a/Source/cmAddCustomTargetCommand.h b/Source/cmAddCustomTargetCommand.h
index d4ed450..d0fcdad 100644
--- a/Source/cmAddCustomTargetCommand.h
+++ b/Source/cmAddCustomTargetCommand.h
@@ -45,63 +45,6 @@ public:
virtual const char* GetName() const
{return "add_custom_target";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Add a target with no output so it will always be built.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " add_custom_target(Name [ALL] [command1 [args1...]]\n"
- " [COMMAND command2 [args2...] ...]\n"
- " [DEPENDS depend depend depend ... ]\n"
- " [WORKING_DIRECTORY dir]\n"
- " [COMMENT comment] [VERBATIM]\n"
- " [SOURCES src1 [src2...]])\n"
- "Adds a target with the given name that executes the given commands. "
- "The target has no output file and is ALWAYS CONSIDERED OUT OF DATE "
- "even if the commands try to create a file with the name of the "
- "target. Use ADD_CUSTOM_COMMAND to generate a file with dependencies. "
- "By default nothing depends on the custom target. Use "
- "ADD_DEPENDENCIES to add dependencies to or from other targets. "
- "If the ALL option is specified "
- "it indicates that this target should be added to the default build "
- "target so that it will be run every time "
- "(the command cannot be called ALL). "
- "The command and arguments are optional and if not specified an "
- "empty target will be created. "
- "If WORKING_DIRECTORY is set, then the command will be run in that "
- "directory. "
- "If it is a relative path it will be interpreted relative to the "
- "build tree directory corresponding to the current source directory. "
- "If COMMENT is set, the value will be displayed as a "
- "message before the commands are executed at build time. "
- "Dependencies listed with the DEPENDS argument may reference files "
- "and outputs of custom commands created with add_custom_command() in "
- "the same directory (CMakeLists.txt file).\n"
- "If VERBATIM is given then all arguments to the commands will be "
- "escaped properly for the build tool so that the invoked command "
- "receives each argument unchanged. "
- "Note that one level of escapes is still used by the CMake language "
- "processor before add_custom_target even sees the arguments. "
- "Use of VERBATIM is recommended as it enables correct behavior. "
- "When VERBATIM is not given the behavior is platform specific because "
- "there is no protection of tool-specific special characters."
- "\n"
- "The SOURCES option specifies additional source files to be included "
- "in the custom target. "
- "Specified source files will be added to IDE project files for "
- "convenience in editing even if they have not build rules."
- ;
- }
-
cmTypeMacro(cmAddCustomTargetCommand, cmCommand);
};
diff --git a/Source/cmAddDefinitionsCommand.h b/Source/cmAddDefinitionsCommand.h
index ff2c4a0..d05f187 100644
--- a/Source/cmAddDefinitionsCommand.h
+++ b/Source/cmAddDefinitionsCommand.h
@@ -43,35 +43,6 @@ public:
*/
virtual const char* GetName() const {return "add_definitions";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Adds -D define flags to the compilation of source files.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " add_definitions(-DFOO -DBAR ...)\n"
- "Adds flags to the compiler command line for sources in the current "
- "directory and below. This command can be used to add any flags, "
- "but it was originally intended to add preprocessor definitions. "
- "Flags beginning in -D or /D that look like preprocessor definitions "
- "are automatically added to the COMPILE_DEFINITIONS property for "
- "the current directory. Definitions with non-trivial values may be "
- "left in the set of flags instead of being converted for reasons of "
- "backwards compatibility. See documentation of the directory, "
- "target, and source file COMPILE_DEFINITIONS properties for details "
- "on adding preprocessor definitions to specific scopes and "
- "configurations."
- ;
- }
-
cmTypeMacro(cmAddDefinitionsCommand, cmCommand);
};
diff --git a/Source/cmAddDependenciesCommand.cxx b/Source/cmAddDependenciesCommand.cxx
index e4d7f7f..b55334f 100644
--- a/Source/cmAddDependenciesCommand.cxx
+++ b/Source/cmAddDependenciesCommand.cxx
@@ -24,20 +24,29 @@ bool cmAddDependenciesCommand
}
std::string target_name = args[0];
- if(this->Makefile->IsAlias(target_name.c_str()))
+ if(this->Makefile->IsAlias(target_name))
{
cmOStringStream e;
e << "Cannot add target-level dependencies to alias target \""
<< target_name << "\".\n";
this->Makefile->IssueMessage(cmake::FATAL_ERROR, e.str());
}
- if(cmTarget* target = this->Makefile->FindTargetToUse(target_name.c_str()))
+ if(cmTarget* target = this->Makefile->FindTargetToUse(target_name))
{
+ if (target->GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ cmOStringStream e;
+ e << "Cannot add target-level dependencies to INTERFACE library "
+ "target \"" << target_name << "\".\n";
+ this->SetError(e.str().c_str());
+ return false;
+ }
+
std::vector<std::string>::const_iterator s = args.begin();
++s; // skip over target_name
for (; s != args.end(); ++s)
{
- target->AddUtility(s->c_str());
+ target->AddUtility(s->c_str(), this->Makefile);
}
}
else
diff --git a/Source/cmAddDependenciesCommand.h b/Source/cmAddDependenciesCommand.h
index ed80067..247cc54 100644
--- a/Source/cmAddDependenciesCommand.h
+++ b/Source/cmAddDependenciesCommand.h
@@ -42,35 +42,6 @@ public:
*/
virtual const char* GetName() const { return "add_dependencies";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Add a dependency between top-level targets.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " add_dependencies(target-name depend-target1\n"
- " depend-target2 ...)\n"
- "Make a top-level target depend on other top-level targets. A "
- "top-level target is one created by ADD_EXECUTABLE, ADD_LIBRARY, "
- "or ADD_CUSTOM_TARGET. Adding dependencies with this command "
- "can be used to make sure one target is built before another target. "
- "Dependencies added to an IMPORTED target are followed transitively "
- "in its place since the target itself does not build. "
- "See the DEPENDS option of ADD_CUSTOM_TARGET "
- "and ADD_CUSTOM_COMMAND for adding file-level dependencies in custom "
- "rules. See the OBJECT_DEPENDS option in "
- "SET_SOURCE_FILES_PROPERTIES to add file-level dependencies to object "
- "files.";
- }
-
cmTypeMacro(cmAddDependenciesCommand, cmCommand);
};
diff --git a/Source/cmAddExecutableCommand.cxx b/Source/cmAddExecutableCommand.cxx
index 5785259..3f9400e 100644
--- a/Source/cmAddExecutableCommand.cxx
+++ b/Source/cmAddExecutableCommand.cxx
@@ -69,6 +69,47 @@ bool cmAddExecutableCommand
}
}
+ bool nameOk = cmGeneratorExpression::IsValidTargetName(exename) &&
+ !cmGlobalGenerator::IsReservedTarget(exename);
+
+ if (nameOk && !importTarget && !isAlias)
+ {
+ nameOk = exename.find(":") == std::string::npos;
+ }
+ if (!nameOk)
+ {
+ cmake::MessageType messageType = cmake::AUTHOR_WARNING;
+ cmOStringStream e;
+ bool issueMessage = false;
+ switch(this->Makefile->GetPolicyStatus(cmPolicies::CMP0037))
+ {
+ case cmPolicies::WARN:
+ e << (this->Makefile->GetPolicies()
+ ->GetPolicyWarning(cmPolicies::CMP0037)) << "\n";
+ issueMessage = true;
+ case cmPolicies::OLD:
+ break;
+ case cmPolicies::NEW:
+ case cmPolicies::REQUIRED_IF_USED:
+ case cmPolicies::REQUIRED_ALWAYS:
+ issueMessage = true;
+ messageType = cmake::FATAL_ERROR;
+ }
+ if (issueMessage)
+ {
+ e << "The target name \"" << exename <<
+ "\" is reserved or not valid for certain "
+ "CMake features, such as generator expressions, and may result "
+ "in undefined behavior.";
+ this->Makefile->IssueMessage(messageType, e.str().c_str());
+
+ if (messageType == cmake::FATAL_ERROR)
+ {
+ return false;
+ }
+ }
+ }
+
// Special modifiers are not allowed with IMPORTED signature.
if(importTarget
&& (use_win32 || use_macbundle || excludeFromAll))
@@ -160,7 +201,7 @@ bool cmAddExecutableCommand
if(importTarget)
{
// Make sure the target does not already exist.
- if(this->Makefile->FindTargetToUse(exename.c_str()))
+ if(this->Makefile->FindTargetToUse(exename))
{
cmOStringStream e;
e << "cannot create imported target \"" << exename
diff --git a/Source/cmAddExecutableCommand.h b/Source/cmAddExecutableCommand.h
index 2774ce8..30ecce3 100644
--- a/Source/cmAddExecutableCommand.h
+++ b/Source/cmAddExecutableCommand.h
@@ -43,86 +43,6 @@ public:
*/
virtual const char* GetName() const { return "add_executable";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return
- "Add an executable to the project using the specified source files.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " add_executable(<name> [WIN32] [MACOSX_BUNDLE]\n"
- " [EXCLUDE_FROM_ALL]\n"
- " source1 source2 ... sourceN)\n"
- "Adds an executable target called <name> to be built from the "
- "source files listed in the command invocation. "
- "The <name> corresponds to the logical target name and must be "
- "globally unique within a project. "
- "The actual file name of the executable built is constructed based on "
- "conventions of the native platform "
- "(such as <name>.exe or just <name>). "
- "\n"
- "By default the executable file will be created in the build tree "
- "directory corresponding to the source tree directory in which "
- "the command was invoked. "
- "See documentation of the RUNTIME_OUTPUT_DIRECTORY "
- "target property to change this location. "
- "See documentation of the OUTPUT_NAME target property to change "
- "the <name> part of the final file name. "
- "\n"
- "If WIN32 is given the property WIN32_EXECUTABLE will be set on the "
- "target created. "
- "See documentation of that target property for details."
- "\n"
- "If MACOSX_BUNDLE is given the corresponding property will be "
- "set on the created target. "
- "See documentation of the MACOSX_BUNDLE target property for details."
- "\n"
- "If EXCLUDE_FROM_ALL is given the corresponding property will be "
- "set on the created target. "
- "See documentation of the EXCLUDE_FROM_ALL target property for "
- "details."
- "\n"
- "The add_executable command can also create IMPORTED executable "
- "targets using this signature:\n"
- " add_executable(<name> IMPORTED [GLOBAL])\n"
- "An IMPORTED executable target references an executable file located "
- "outside the project. "
- "No rules are generated to build it. "
- "The target name has scope in the directory in which it is created "
- "and below, but the GLOBAL option extends visibility. "
- "It may be referenced like any target built within the project. "
- "IMPORTED executables are useful for convenient reference from "
- "commands like add_custom_command. "
- "Details about the imported executable are specified by setting "
- "properties whose names begin in \"IMPORTED_\". "
- "The most important such property is IMPORTED_LOCATION "
- "(and its per-configuration version IMPORTED_LOCATION_<CONFIG>) "
- "which specifies the location of the main executable file on disk. "
- "See documentation of the IMPORTED_* properties for more information."
- "\n"
- "The signature\n"
- " add_executable(<name> ALIAS <target>)\n"
- "creates an alias, such that <name> can be used to refer to <target> "
- "in subsequent commands. The <name> does not appear in the generated "
- "buildsystem as a make target. The <target> may not be an IMPORTED "
- "target or an ALIAS. Alias targets can be used as linkable targets, "
- "targets to read properties from, executables for custom commands and "
- "custom targets. They can also be tested for existance with the "
- "regular if(TARGET) subcommand. The <name> may not be used to modify "
- "properties of <target>, that is, it may not be used as the operand of "
- "set_property, set_target_properties, target_link_libraries etc. An "
- "ALIAS target may not be installed of exported."
- ;
- }
-
cmTypeMacro(cmAddExecutableCommand, cmCommand);
};
diff --git a/Source/cmAddLibraryCommand.cxx b/Source/cmAddLibraryCommand.cxx
index cbc6ed1..e62a40e 100644
--- a/Source/cmAddLibraryCommand.cxx
+++ b/Source/cmAddLibraryCommand.cxx
@@ -49,41 +49,117 @@ bool cmAddLibraryCommand
std::string libType = *s;
if(libType == "STATIC")
{
+ if (type == cmTarget::INTERFACE_LIBRARY)
+ {
+ cmOStringStream e;
+ e << "INTERFACE library specified with conflicting STATIC type.";
+ this->SetError(e.str().c_str());
+ return false;
+ }
++s;
type = cmTarget::STATIC_LIBRARY;
haveSpecifiedType = true;
}
else if(libType == "SHARED")
{
+ if (type == cmTarget::INTERFACE_LIBRARY)
+ {
+ cmOStringStream e;
+ e << "INTERFACE library specified with conflicting SHARED type.";
+ this->SetError(e.str().c_str());
+ return false;
+ }
++s;
type = cmTarget::SHARED_LIBRARY;
haveSpecifiedType = true;
}
else if(libType == "MODULE")
{
+ if (type == cmTarget::INTERFACE_LIBRARY)
+ {
+ cmOStringStream e;
+ e << "INTERFACE library specified with conflicting MODULE type.";
+ this->SetError(e.str().c_str());
+ return false;
+ }
++s;
type = cmTarget::MODULE_LIBRARY;
haveSpecifiedType = true;
}
else if(libType == "OBJECT")
{
+ if (type == cmTarget::INTERFACE_LIBRARY)
+ {
+ cmOStringStream e;
+ e << "INTERFACE library specified with conflicting OBJECT type.";
+ this->SetError(e.str().c_str());
+ return false;
+ }
++s;
type = cmTarget::OBJECT_LIBRARY;
haveSpecifiedType = true;
}
else if(libType == "UNKNOWN")
{
+ if (type == cmTarget::INTERFACE_LIBRARY)
+ {
+ cmOStringStream e;
+ e << "INTERFACE library specified with conflicting UNKNOWN type.";
+ this->SetError(e.str().c_str());
+ return false;
+ }
++s;
type = cmTarget::UNKNOWN_LIBRARY;
haveSpecifiedType = true;
}
else if(libType == "ALIAS")
{
+ if (type == cmTarget::INTERFACE_LIBRARY)
+ {
+ cmOStringStream e;
+ e << "INTERFACE library specified with conflicting ALIAS type.";
+ this->SetError(e.str().c_str());
+ return false;
+ }
++s;
isAlias = true;
}
+ else if(libType == "INTERFACE")
+ {
+ if (haveSpecifiedType)
+ {
+ cmOStringStream e;
+ e << "INTERFACE library specified with conflicting/multiple types.";
+ this->SetError(e.str().c_str());
+ return false;
+ }
+ if (isAlias)
+ {
+ cmOStringStream e;
+ e << "INTERFACE library specified with conflicting ALIAS type.";
+ this->SetError(e.str().c_str());
+ return false;
+ }
+ if (excludeFromAll)
+ {
+ cmOStringStream e;
+ e << "INTERFACE library may not be used with EXCLUDE_FROM_ALL.";
+ this->SetError(e.str().c_str());
+ return false;
+ }
+ ++s;
+ type = cmTarget::INTERFACE_LIBRARY;
+ haveSpecifiedType = true;
+ }
else if(*s == "EXCLUDE_FROM_ALL")
{
+ if (type == cmTarget::INTERFACE_LIBRARY)
+ {
+ cmOStringStream e;
+ e << "INTERFACE library may not be used with EXCLUDE_FROM_ALL.";
+ this->SetError(e.str().c_str());
+ return false;
+ }
++s;
excludeFromAll = true;
}
@@ -97,11 +173,81 @@ bool cmAddLibraryCommand
++s;
importGlobal = true;
}
+ else if(type == cmTarget::INTERFACE_LIBRARY && *s == "GLOBAL")
+ {
+ cmOStringStream e;
+ e << "GLOBAL option may only be used with IMPORTED libraries.";
+ this->SetError(e.str().c_str());
+ return false;
+ }
else
{
break;
}
}
+
+ if (type == cmTarget::INTERFACE_LIBRARY)
+ {
+ if (s != args.end())
+ {
+ cmOStringStream e;
+ e << "INTERFACE library requires no source arguments.";
+ this->SetError(e.str().c_str());
+ return false;
+ }
+ if (importGlobal && !importTarget)
+ {
+ cmOStringStream e;
+ e << "INTERFACE library specified as GLOBAL, but not as IMPORTED.";
+ this->SetError(e.str().c_str());
+ return false;
+ }
+ }
+
+ bool nameOk = cmGeneratorExpression::IsValidTargetName(libName) &&
+ !cmGlobalGenerator::IsReservedTarget(libName);
+
+ if (nameOk && !importTarget && !isAlias)
+ {
+ nameOk = libName.find(":") == std::string::npos;
+ }
+ if (!nameOk)
+ {
+ cmake::MessageType messageType = cmake::AUTHOR_WARNING;
+ cmOStringStream e;
+ bool issueMessage = false;
+ switch(this->Makefile->GetPolicyStatus(cmPolicies::CMP0037))
+ {
+ case cmPolicies::WARN:
+ if(type != cmTarget::INTERFACE_LIBRARY)
+ {
+ e << (this->Makefile->GetPolicies()
+ ->GetPolicyWarning(cmPolicies::CMP0037)) << "\n";
+ issueMessage = true;
+ }
+ case cmPolicies::OLD:
+ break;
+ case cmPolicies::NEW:
+ case cmPolicies::REQUIRED_IF_USED:
+ case cmPolicies::REQUIRED_ALWAYS:
+ issueMessage = true;
+ messageType = cmake::FATAL_ERROR;
+ }
+ if (issueMessage)
+ {
+ e << "The target name \"" << libName <<
+ "\" is reserved or not valid for certain "
+ "CMake features, such as generator expressions, and may result "
+ "in undefined behavior.";
+ this->Makefile->IssueMessage(messageType, e.str().c_str());
+
+ if (messageType == cmake::FATAL_ERROR)
+ {
+ return false;
+ }
+ }
+ }
+
if (isAlias)
{
if(!cmGeneratorExpression::IsValidTargetName(libName.c_str()))
@@ -151,7 +297,8 @@ bool cmAddLibraryCommand
if(aliasedType != cmTarget::SHARED_LIBRARY
&& aliasedType != cmTarget::STATIC_LIBRARY
&& aliasedType != cmTarget::MODULE_LIBRARY
- && aliasedType != cmTarget::OBJECT_LIBRARY)
+ && aliasedType != cmTarget::OBJECT_LIBRARY
+ && aliasedType != cmTarget::INTERFACE_LIBRARY)
{
cmOStringStream e;
e << "cannot create ALIAS target \"" << libName
@@ -183,6 +330,7 @@ bool cmAddLibraryCommand
yet its linker language. */
if ((type != cmTarget::STATIC_LIBRARY) &&
(type != cmTarget::OBJECT_LIBRARY) &&
+ (type != cmTarget::INTERFACE_LIBRARY) &&
(this->Makefile->GetCMakeInstance()->GetPropertyAsBool(
"TARGET_SUPPORTS_SHARED_LIBS") == false))
{
@@ -213,9 +361,19 @@ bool cmAddLibraryCommand
);
return true;
}
+ if(type == cmTarget::INTERFACE_LIBRARY)
+ {
+ if (!cmGeneratorExpression::IsValidTargetName(libName))
+ {
+ cmOStringStream e;
+ e << "Invalid name for IMPORTED INTERFACE library target: " << libName;
+ this->SetError(e.str().c_str());
+ return false;
+ }
+ }
// Make sure the target does not already exist.
- if(this->Makefile->FindTargetToUse(libName.c_str()))
+ if(this->Makefile->FindTargetToUse(libName))
{
cmOStringStream e;
e << "cannot create imported target \"" << libName
@@ -249,6 +407,26 @@ bool cmAddLibraryCommand
}
}
+ std::vector<std::string> srclists;
+
+ if(type == cmTarget::INTERFACE_LIBRARY)
+ {
+ if (!cmGeneratorExpression::IsValidTargetName(libName)
+ || libName.find("::") != std::string::npos)
+ {
+ cmOStringStream e;
+ e << "Invalid name for INTERFACE library target: " << libName;
+ this->SetError(e.str().c_str());
+ return false;
+ }
+
+ this->Makefile->AddLibrary(libName.c_str(),
+ type,
+ srclists,
+ excludeFromAll);
+ return true;
+ }
+
if (s == args.end())
{
std::string msg = "You have called ADD_LIBRARY for library ";
@@ -258,7 +436,6 @@ bool cmAddLibraryCommand
cmSystemTools::Message(msg.c_str() ,"Warning");
}
- std::vector<std::string> srclists;
while (s != args.end())
{
srclists.push_back(*s);
diff --git a/Source/cmAddLibraryCommand.h b/Source/cmAddLibraryCommand.h
index 59354b0..1001043 100644
--- a/Source/cmAddLibraryCommand.h
+++ b/Source/cmAddLibraryCommand.h
@@ -43,117 +43,6 @@ public:
*/
virtual const char* GetName() const { return "add_library";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Add a library to the project using the specified source files.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " add_library(<name> [STATIC | SHARED | MODULE]\n"
- " [EXCLUDE_FROM_ALL]\n"
- " source1 source2 ... sourceN)\n"
- "Adds a library target called <name> to be built from the "
- "source files listed in the command invocation. "
- "The <name> corresponds to the logical target name and must be "
- "globally unique within a project. "
- "The actual file name of the library built is constructed based on "
- "conventions of the native platform "
- "(such as lib<name>.a or <name>.lib)."
- "\n"
- "STATIC, SHARED, or MODULE may be given to specify the type of library "
- "to be created. "
- "STATIC libraries are archives of object files for use when linking "
- "other targets. "
- "SHARED libraries are linked dynamically and loaded at runtime. "
- "MODULE libraries are plugins that are not linked into other targets "
- "but may be loaded dynamically at runtime using dlopen-like "
- "functionality. "
- "If no type is given explicitly the type is STATIC or SHARED based "
- "on whether the current value of the variable BUILD_SHARED_LIBS is "
- "true. "
- "For SHARED and MODULE libraries the POSITION_INDEPENDENT_CODE "
- "target property is set to TRUE automatically."
- "\n"
- "By default the library file will be created in the build tree "
- "directory corresponding to the source tree directory in which "
- "the command was invoked. "
- "See documentation of the ARCHIVE_OUTPUT_DIRECTORY, "
- "LIBRARY_OUTPUT_DIRECTORY, and RUNTIME_OUTPUT_DIRECTORY "
- "target properties to change this location. "
- "See documentation of the OUTPUT_NAME target property to change "
- "the <name> part of the final file name. "
- "\n"
- "If EXCLUDE_FROM_ALL is given the corresponding property will be "
- "set on the created target. "
- "See documentation of the EXCLUDE_FROM_ALL target property for "
- "details."
- "\n"
- "The add_library command can also create IMPORTED library "
- "targets using this signature:\n"
- " add_library(<name> <SHARED|STATIC|MODULE|UNKNOWN> IMPORTED\n"
- " [GLOBAL])\n"
- "An IMPORTED library target references a library file located "
- "outside the project. "
- "No rules are generated to build it. "
- "The target name has scope in the directory in which it is created "
- "and below, but the GLOBAL option extends visibility. "
- "It may be referenced like any target built within the project. "
- "IMPORTED libraries are useful for convenient reference from "
- "commands like target_link_libraries. "
- "Details about the imported library are specified by setting "
- "properties whose names begin in \"IMPORTED_\". "
- "The most important such property is IMPORTED_LOCATION "
- "(and its per-configuration version IMPORTED_LOCATION_<CONFIG>) "
- "which specifies the location of the main library file on disk. "
- "See documentation of the IMPORTED_* properties for more information."
- "\n"
- "The signature\n"
- " add_library(<name> OBJECT <src>...)\n"
- "creates a special \"object library\" target. "
- "An object library compiles source files but does not archive or link "
- "their object files into a library. "
- "Instead other targets created by add_library or add_executable may "
- "reference the objects using an expression of the form "
- "$<TARGET_OBJECTS:objlib> as a source, where \"objlib\" is the "
- "object library name. "
- "For example:\n"
- " add_library(... $<TARGET_OBJECTS:objlib> ...)\n"
- " add_executable(... $<TARGET_OBJECTS:objlib> ...)\n"
- "will include objlib's object files in a library and an executable "
- "along with those compiled from their own sources. "
- "Object libraries may contain only sources (and headers) that compile "
- "to object files. "
- "They may contain custom commands generating such sources, but not "
- "PRE_BUILD, PRE_LINK, or POST_BUILD commands. "
- "Object libraries cannot be imported, exported, installed, or linked."
- " "
- "Some native build systems may not like targets that have only "
- "object files, so consider adding at least one real source file "
- "to any target that references $<TARGET_OBJECTS:objlib>."
- "\n"
- "The signature\n"
- " add_library(<name> ALIAS <target>)\n"
- "creates an alias, such that <name> can be used to refer to <target> "
- "in subsequent commands. The <name> does not appear in the generated "
- "buildsystem as a make target. The <target> may not be an IMPORTED "
- "target or an ALIAS. Alias targets can be used as linkable targets, "
- "targets to read properties from. They can also be tested for "
- "existance with the "
- "regular if(TARGET) subcommand. The <name> may not be used to modify "
- "properties of <target>, that is, it may not be used as the operand of "
- "set_property, set_target_properties, target_link_libraries etc. An "
- "ALIAS target may not be installed of exported."
- ;
- }
-
cmTypeMacro(cmAddLibraryCommand, cmCommand);
};
diff --git a/Source/cmAddSubDirectoryCommand.h b/Source/cmAddSubDirectoryCommand.h
index e7f907c..1e5b1ab 100644
--- a/Source/cmAddSubDirectoryCommand.h
+++ b/Source/cmAddSubDirectoryCommand.h
@@ -44,53 +44,6 @@ public:
*/
virtual const char* GetName() const { return "add_subdirectory";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Add a subdirectory to the build.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " add_subdirectory(source_dir [binary_dir] \n"
- " [EXCLUDE_FROM_ALL])\n"
- "Add a subdirectory to the build. The source_dir specifies the "
- "directory in which the source CMakeLists.txt and code files are "
- "located. If it is a relative "
- "path it will be evaluated with respect to the current "
- "directory (the typical usage), but it may also be an absolute path. "
- "The binary_dir specifies the directory in which to place the output "
- "files. If it is a relative path it will be evaluated with respect "
- "to the current output directory, but it may also be an absolute "
- "path. If binary_dir is not specified, the value of source_dir, "
- "before expanding any relative path, will be used (the typical usage). "
- "The CMakeLists.txt file in the specified source directory will "
- "be processed immediately by CMake before processing in the current "
- "input file continues beyond this command.\n"
-
- "If the EXCLUDE_FROM_ALL argument is provided then targets in the "
- "subdirectory will not be included in the ALL target of the parent "
- "directory by default, and will be excluded from IDE project files. "
- "Users must explicitly build targets in the subdirectory. "
- "This is meant for use when the subdirectory contains a separate part "
- "of the project that is useful but not necessary, such as a set of "
- "examples. "
- "Typically the subdirectory should contain its own project() command "
- "invocation so that a full build system will be generated in the "
- "subdirectory (such as a VS IDE solution file). "
- "Note that inter-target dependencies supercede this exclusion. "
- "If a target built by the parent project depends on a target in the "
- "subdirectory, the dependee target will be included in the parent "
- "project build system to satisfy the dependency."
- ;
- }
-
cmTypeMacro(cmAddSubDirectoryCommand, cmCommand);
};
diff --git a/Source/cmAddTestCommand.h b/Source/cmAddTestCommand.h
index ec7fda3..9173454 100644
--- a/Source/cmAddTestCommand.h
+++ b/Source/cmAddTestCommand.h
@@ -13,7 +13,6 @@
#define cmAddTestCommand_h
#include "cmCommand.h"
-#include "cmDocumentGeneratorExpressions.h"
/** \class cmAddTestCommand
* \brief Add a test to the lists of tests to run.
@@ -43,58 +42,6 @@ public:
*/
virtual const char* GetName() const { return "add_test";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Add a test to the project with the specified arguments.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " add_test(testname Exename arg1 arg2 ... )\n"
- "If the ENABLE_TESTING command has been run, this command adds a "
- "test target to the current directory. If ENABLE_TESTING has not "
- "been run, this command does nothing. "
- "The tests are run by the testing subsystem by executing Exename "
- "with the specified arguments. Exename can be either an executable "
- "built by this project or an arbitrary executable on the "
- "system (like tclsh). The test will be run with the current working "
- "directory set to the CMakeList.txt files corresponding directory "
- "in the binary tree.\n"
- "\n"
- " add_test(NAME <name> [CONFIGURATIONS [Debug|Release|...]]\n"
- " [WORKING_DIRECTORY dir]\n"
- " COMMAND <command> [arg1 [arg2 ...]])\n"
- "Add a test called <name>. "
- "The test name may not contain spaces, quotes, or other characters "
- "special in CMake syntax. "
- "If COMMAND specifies an executable target (created by "
- "add_executable) it will automatically be replaced by the location "
- "of the executable created at build time. "
- "If a CONFIGURATIONS option is given then the test will be executed "
- "only when testing under one of the named configurations. "
- "If a WORKING_DIRECTORY option is given then the test will be executed "
- "in the given directory."
- "\n"
- "Arguments after COMMAND may use \"generator expressions\" with the "
- "syntax \"$<...>\". "
- CM_DOCUMENT_ADD_TEST_GENERATOR_EXPRESSIONS
- "Example usage:\n"
- " add_test(NAME mytest\n"
- " COMMAND testDriver --config $<CONFIGURATION>\n"
- " --exe $<TARGET_FILE:myexe>)\n"
- "This creates a test \"mytest\" whose command runs a testDriver "
- "tool passing the configuration name and the full path to the "
- "executable file produced by target \"myexe\"."
- ;
- }
-
cmTypeMacro(cmAddTestCommand, cmCommand);
private:
bool HandleNameMode(std::vector<std::string> const& args);
diff --git a/Source/cmArchiveWrite.cxx b/Source/cmArchiveWrite.cxx
index 18ab29e..58f7573 100644
--- a/Source/cmArchiveWrite.cxx
+++ b/Source/cmArchiveWrite.cxx
@@ -14,6 +14,7 @@
#include "cmSystemTools.h"
#include <cmsys/ios/iostream>
#include <cmsys/Directory.hxx>
+#include <cmsys/FStream.hxx>
#include <cm_libarchive.h>
//----------------------------------------------------------------------------
@@ -270,7 +271,7 @@ bool cmArchiveWrite::AddFile(const char* file,
//----------------------------------------------------------------------------
bool cmArchiveWrite::AddData(const char* file, size_t size)
{
- std::ifstream fin(file, std::ios::in | cmsys_ios_binary);
+ cmsys::ifstream fin(file, std::ios::in | cmsys_ios_binary);
if(!fin)
{
this->Error = "Error opening \"";
diff --git a/Source/cmAuxSourceDirectoryCommand.h b/Source/cmAuxSourceDirectoryCommand.h
index 8a70f19..8b5fa8a 100644
--- a/Source/cmAuxSourceDirectoryCommand.h
+++ b/Source/cmAuxSourceDirectoryCommand.h
@@ -46,38 +46,6 @@ public:
*/
virtual const char* GetName() const { return "aux_source_directory";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Find all source files in a directory.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " aux_source_directory(<dir> <variable>)\n"
- "Collects the names of all the source files in the specified "
- "directory and stores the list in the <variable> provided. This "
- "command is intended to be used by projects that use explicit "
- "template instantiation. Template instantiation files can be "
- "stored in a \"Templates\" subdirectory and collected automatically "
- "using this command to avoid manually listing all instantiations.\n"
- "It is tempting to use this command to avoid writing the list of "
- "source files for a library or executable target. While this seems "
- "to work, there is no way for CMake to generate a build system that "
- "knows when a new source file has been added. Normally the "
- "generated build system knows when it needs to rerun CMake because "
- "the CMakeLists.txt file is modified to add a new source. When the "
- "source is just added to the directory without modifying this file, "
- "one would have to manually rerun CMake to generate a build system "
- "incorporating the new file.";
- }
-
cmTypeMacro(cmAuxSourceDirectoryCommand, cmCommand);
};
diff --git a/Source/cmBreakCommand.h b/Source/cmBreakCommand.h
index 17f57cf..52f0e9c 100644
--- a/Source/cmBreakCommand.h
+++ b/Source/cmBreakCommand.h
@@ -47,24 +47,6 @@ public:
*/
virtual const char* GetName() const {return "break";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Break from an enclosing foreach or while loop.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " break()\n"
- "Breaks from an enclosing foreach loop or while loop";
- }
-
cmTypeMacro(cmBreakCommand, cmCommand);
};
diff --git a/Source/cmBuildCommand.cxx b/Source/cmBuildCommand.cxx
index b6e2569..c06b8ad 100644
--- a/Source/cmBuildCommand.cxx
+++ b/Source/cmBuildCommand.cxx
@@ -85,18 +85,7 @@ bool cmBuildCommand
}
}
- const char* makeprogram
- = this->Makefile->GetDefinition("CMAKE_MAKE_PROGRAM");
- if(!makeprogram)
- {
- this->Makefile->IssueMessage(
- cmake::FATAL_ERROR,
- "build_command() requires CMAKE_MAKE_PROGRAM to be defined. "
- "Call project() or enable_language() first.");
- return true;
- }
-
- // If null/empty CONFIGURATION argument, GenerateBuildCommand uses 'Debug'
+ // If null/empty CONFIGURATION argument, cmake --build uses 'Debug'
// in the currently implemented multi-configuration global generators...
// so we put this code here to end up with the same default configuration
// as the original 2-arg build_command signature:
@@ -110,19 +99,15 @@ bool cmBuildCommand
configuration = "Release";
}
- // If null/empty PROJECT_NAME argument, use the Makefile's project name:
- //
- if(!project_name || !*project_name)
+ if(project_name && *project_name)
{
- project_name = this->Makefile->GetProjectName();
+ this->Makefile->IssueMessage(cmake::AUTHOR_WARNING,
+ "Ignoring PROJECT_NAME option because it has no effect.");
}
- // If null/empty TARGET argument, GenerateBuildCommand omits any mention
- // of a target name on the build command line...
- //
std::string makecommand = this->Makefile->GetLocalGenerator()
- ->GetGlobalGenerator()->GenerateBuildCommand
- (makeprogram, project_name, 0, 0, target, configuration, true, false);
+ ->GetGlobalGenerator()->GenerateCMakeBuildCommand(target, configuration,
+ 0, true);
this->Makefile->AddDefinition(variable, makecommand.c_str());
@@ -142,7 +127,6 @@ bool cmBuildCommand
const char* define = args[0].c_str();
const char* cacheValue
= this->Makefile->GetDefinition(define);
- std::string makeprogram = args[1];
std::string configType = "Release";
const char* cfg = getenv("CMAKE_CONFIG_TYPE");
@@ -152,9 +136,8 @@ bool cmBuildCommand
}
std::string makecommand = this->Makefile->GetLocalGenerator()
- ->GetGlobalGenerator()->GenerateBuildCommand
- (makeprogram.c_str(), this->Makefile->GetProjectName(), 0, 0,
- 0, configType.c_str(), true, false);
+ ->GetGlobalGenerator()->GenerateCMakeBuildCommand(0, configType.c_str(),
+ 0, true);
if(cacheValue)
{
diff --git a/Source/cmBuildCommand.h b/Source/cmBuildCommand.h
index 1bab453..2160655 100644
--- a/Source/cmBuildCommand.h
+++ b/Source/cmBuildCommand.h
@@ -52,45 +52,6 @@ public:
*/
virtual const char* GetName() const {return "build_command";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Get the command line to build this project.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " build_command(<variable>\n"
- " [CONFIGURATION <config>]\n"
- " [PROJECT_NAME <projname>]\n"
- " [TARGET <target>])\n"
- "Sets the given <variable> to a string containing the command line "
- "for building one configuration of a target in a project using the "
- "build tool appropriate for the current CMAKE_GENERATOR.\n"
- "If CONFIGURATION is omitted, CMake chooses a reasonable default "
- "value for multi-configuration generators. CONFIGURATION is "
- "ignored for single-configuration generators.\n"
- "If PROJECT_NAME is omitted, the resulting command line will build "
- "the top level PROJECT in the current build tree.\n"
- "If TARGET is omitted, the resulting command line will build "
- "everything, effectively using build target 'all' or 'ALL_BUILD'.\n"
- " build_command(<cachevariable> <makecommand>)\n"
- "This second signature is deprecated, but still available for "
- "backwards compatibility. Use the first signature instead.\n"
- "Sets the given <cachevariable> to a string containing the command "
- "to build this project from the root of the build tree using "
- "the build tool given by <makecommand>. <makecommand> should be "
- "the full path to msdev, devenv, nmake, make or one of the end "
- "user build tools."
- ;
- }
-
cmTypeMacro(cmBuildCommand, cmCommand);
};
diff --git a/Source/cmBuildNameCommand.cxx b/Source/cmBuildNameCommand.cxx
index f95a79e..e3528e1 100644
--- a/Source/cmBuildNameCommand.cxx
+++ b/Source/cmBuildNameCommand.cxx
@@ -17,6 +17,9 @@
bool cmBuildNameCommand
::InitialPass(std::vector<std::string> const& args, cmExecutionStatus &)
{
+ if(this->Disallowed(cmPolicies::CMP0036,
+ "The build_name command should not be called; see CMP0036."))
+ { return true; }
if(args.size() < 1 )
{
this->SetError("called with incorrect number of arguments");
diff --git a/Source/cmBuildNameCommand.h b/Source/cmBuildNameCommand.h
index 26505a2..2f7acde 100644
--- a/Source/cmBuildNameCommand.h
+++ b/Source/cmBuildNameCommand.h
@@ -14,67 +14,16 @@
#include "cmCommand.h"
-/** \class cmBuildNameCommand
- * \brief build_name command
- *
- * cmBuildNameCommand implements the build_name CMake command
- */
class cmBuildNameCommand : public cmCommand
{
public:
- /**
- * This is a virtual constructor for the command.
- */
- virtual cmCommand* Clone()
- {
- return new cmBuildNameCommand;
- }
-
- /**
- * This is called when the command is first encountered in
- * the CMakeLists.txt file.
- */
+ cmTypeMacro(cmBuildNameCommand, cmCommand);
+ virtual cmCommand* Clone() { return new cmBuildNameCommand; }
virtual bool InitialPass(std::vector<std::string> const& args,
cmExecutionStatus &status);
-
- /**
- * This determines if the command is invoked when in script mode.
- */
- virtual bool IsScriptable() const { return true; }
-
- /**
- * The name of the command as specified in CMakeList.txt.
- */
virtual const char* GetName() const {return "build_name";}
-
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return
- "Deprecated. Use ${CMAKE_SYSTEM} and ${CMAKE_CXX_COMPILER} instead.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " build_name(variable)\n"
- "Sets the specified variable to a string representing the platform "
- "and compiler settings. These values are now available through the "
- "CMAKE_SYSTEM and CMAKE_CXX_COMPILER variables.";
- }
-
- /** This command is kept for compatibility with older CMake versions. */
- virtual bool IsDiscouraged() const
- {
- return true;
- }
-
- cmTypeMacro(cmBuildNameCommand, cmCommand);
+ virtual bool IsScriptable() const { return true; }
+ virtual bool IsDiscouraged() const { return true; }
};
diff --git a/Source/cmCMakeHostSystemInformationCommand.h b/Source/cmCMakeHostSystemInformationCommand.h
index d1b8700..27ba638 100644
--- a/Source/cmCMakeHostSystemInformationCommand.h
+++ b/Source/cmCMakeHostSystemInformationCommand.h
@@ -53,41 +53,6 @@ public:
return "cmake_host_system_information";
}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Query host system specific information.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " cmake_host_system_information(RESULT <variable> QUERY <key> ...)\n"
- "Queries system information of the host system on which cmake runs. "
- "One or more <key> can be provided to "
- "select the information to be queried. "
- "The list of queried values is stored in <variable>.\n"
- "<key> can be one of the following values:\n"
- " NUMBER_OF_LOGICAL_CORES = Number of logical cores.\n"
- " NUMBER_OF_PHYSICAL_CORES = Number of physical cores.\n"
- " HOSTNAME = Hostname.\n"
- " FQDN = Fully qualified domain name.\n"
- " TOTAL_VIRTUAL_MEMORY = "
- "Total virtual memory in megabytes.\n"
- " AVAILABLE_VIRTUAL_MEMORY = "
- "Available virtual memory in megabytes.\n"
- " TOTAL_PHYSICAL_MEMORY = "
- "Total physical memory in megabytes.\n"
- " AVAILABLE_PHYSICAL_MEMORY = "
- "Available physical memory in megabytes.\n"
- ;
- }
-
cmTypeMacro(cmCMakeHostSystemInformationCommand, cmCommand);
private:
diff --git a/Source/cmCMakeMinimumRequired.cxx b/Source/cmCMakeMinimumRequired.cxx
index 49c585f..6e2ca64 100644
--- a/Source/cmCMakeMinimumRequired.cxx
+++ b/Source/cmCMakeMinimumRequired.cxx
@@ -114,6 +114,9 @@ bool cmCMakeMinimumRequired
if (required_major < 2 || (required_major == 2 && required_minor < 4))
{
+ this->Makefile->IssueMessage(
+ cmake::AUTHOR_WARNING,
+ "Compatibility with CMake < 2.4 is not supported by CMake >= 3.0.");
this->Makefile->SetPolicyVersion("2.4");
}
else
diff --git a/Source/cmCMakeMinimumRequired.h b/Source/cmCMakeMinimumRequired.h
index acf2829..0cdd4c5 100644
--- a/Source/cmCMakeMinimumRequired.h
+++ b/Source/cmCMakeMinimumRequired.h
@@ -47,37 +47,6 @@ public:
*/
virtual const char* GetName() const {return "cmake_minimum_required";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Set the minimum required version of cmake for a project.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " cmake_minimum_required(VERSION major[.minor[.patch[.tweak]]]\n"
- " [FATAL_ERROR])\n"
- "If the current version of CMake is lower than that required "
- "it will stop processing the project and report an error. "
- "When a version higher than 2.4 is specified the command implicitly "
- "invokes\n"
- " cmake_policy(VERSION major[.minor[.patch[.tweak]]])\n"
- "which sets the cmake policy version level to the version specified. "
- "When version 2.4 or lower is given the command implicitly invokes\n"
- " cmake_policy(VERSION 2.4)\n"
- "which enables compatibility features for CMake 2.4 and lower.\n"
- "The FATAL_ERROR option is accepted but ignored by CMake 2.6 "
- "and higher. "
- "It should be specified so CMake versions 2.4 and lower fail with an "
- "error instead of just a warning.";
- }
-
cmTypeMacro(cmCMakeMinimumRequired, cmCommand);
private:
diff --git a/Source/cmCMakePolicyCommand.h b/Source/cmCMakePolicyCommand.h
index 4f9faa1..7e3f4e6 100644
--- a/Source/cmCMakePolicyCommand.h
+++ b/Source/cmCMakePolicyCommand.h
@@ -48,88 +48,6 @@ public:
*/
virtual const char* GetName() const {return "cmake_policy";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Manage CMake Policy settings.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- "As CMake evolves it is sometimes necessary to change existing "
- "behavior in order to fix bugs or improve implementations of "
- "existing features. "
- "The CMake Policy mechanism is designed to help keep existing projects "
- "building as new versions of CMake introduce changes in behavior. "
- "Each new policy (behavioral change) is given an identifier of "
- "the form \"CMP<NNNN>\" where \"<NNNN>\" is an integer index. "
- "Documentation associated with each policy describes the OLD and NEW "
- "behavior and the reason the policy was introduced. "
- "Projects may set each policy to select the desired behavior. "
- "When CMake needs to know which behavior to use it checks for "
- "a setting specified by the project. "
- "If no setting is available the OLD behavior is assumed and a warning "
- "is produced requesting that the policy be set.\n"
- "The cmake_policy command is used to set policies to OLD or NEW "
- "behavior. "
- "While setting policies individually is supported, we encourage "
- "projects to set policies based on CMake versions.\n"
- " cmake_policy(VERSION major.minor[.patch[.tweak]])\n"
- "Specify that the current CMake list file is written for the "
- "given version of CMake. "
- "All policies introduced in the specified version or earlier "
- "will be set to use NEW behavior. "
- "All policies introduced after the specified version will be unset "
- "(unless variable CMAKE_POLICY_DEFAULT_CMP<NNNN> sets a default). "
- "This effectively requests behavior preferred as of a given CMake "
- "version and tells newer CMake versions to warn about their new "
- "policies. "
- "The policy version specified must be at least 2.4 or the command "
- "will report an error. "
- "In order to get compatibility features supporting versions earlier "
- "than 2.4 see documentation of policy CMP0001."
- "\n"
- " cmake_policy(SET CMP<NNNN> NEW)\n"
- " cmake_policy(SET CMP<NNNN> OLD)\n"
- "Tell CMake to use the OLD or NEW behavior for a given policy. "
- "Projects depending on the old behavior of a given policy may "
- "silence a policy warning by setting the policy state to OLD. "
- "Alternatively one may fix the project to work with the new behavior "
- "and set the policy state to NEW."
- "\n"
- " cmake_policy(GET CMP<NNNN> <variable>)\n"
- "Check whether a given policy is set to OLD or NEW behavior. "
- "The output variable value will be \"OLD\" or \"NEW\" if the "
- "policy is set, and empty otherwise."
- "\n"
- "CMake keeps policy settings on a stack, so changes made by the "
- "cmake_policy command affect only the top of the stack. "
- "A new entry on the policy stack is managed automatically for each "
- "subdirectory to protect its parents and siblings. "
- "CMake also manages a new entry for scripts loaded by include() and "
- "find_package() commands except when invoked with the NO_POLICY_SCOPE "
- "option (see also policy CMP0011). "
- "The cmake_policy command provides an interface to manage custom "
- "entries on the policy stack:\n"
- " cmake_policy(PUSH)\n"
- " cmake_policy(POP)\n"
- "Each PUSH must have a matching POP to erase any changes. "
- "This is useful to make temporary changes to policy settings."
- "\n"
- "Functions and macros record policy settings when they are created "
- "and use the pre-record policies when they are invoked. "
- "If the function or macro implementation sets policies, the changes "
- "automatically propagate up through callers until they reach the "
- "closest nested policy stack entry."
- ;
- }
-
cmTypeMacro(cmCMakePolicyCommand, cmCommand);
private:
bool HandleSetMode(std::vector<std::string> const& args);
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 14e1f50..acedc1a 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -19,6 +19,7 @@
#include <cmsys/Base64.h>
#include <cmsys/Directory.hxx>
#include <cmsys/SystemInformation.hxx>
+#include <cmsys/FStream.hxx>
#include "cmDynamicLoader.h"
#include "cmGeneratedFileStream.h"
#include "cmXMLSafe.h"
@@ -53,14 +54,10 @@
#include <cm_zlib.h>
#include <cmsys/Base64.h>
-#if defined(__BEOS__)
+#if defined(__BEOS__) || defined(__HAIKU__)
#include <be/kernel/OS.h> /* disable_debugger() API. */
#endif
-#if defined(__HAIKU__)
-#include <os/kernel/OS.h> /* disable_debugger() API. */
-#endif
-
#define DEBUGOUT std::cout << __LINE__ << " "; std::cout
#define DEBUGERR std::cerr << __LINE__ << " "; std::cerr
@@ -211,7 +208,7 @@ int cmCTest::HTTPRequest(std::string url, HTTPMethod method,
return -1;
}
::curl_easy_setopt(curl, CURLOPT_PUT, 1);
- file = ::fopen(putFile.c_str(), "rb");
+ file = cmsys::SystemTools::Fopen(putFile.c_str(), "rb");
::curl_easy_setopt(curl, CURLOPT_INFILE, file);
//fall through to append GET fields
case cmCTest::HTTP_GET:
@@ -553,7 +550,7 @@ int cmCTest::Initialize(const char* binary_dir, cmCTestStartCommand* command)
}
std::string tagfile = testingDir + "/TAG";
- std::ifstream tfin(tagfile.c_str());
+ cmsys::ifstream tfin(tagfile.c_str());
std::string tag;
if (createNewTag)
@@ -608,7 +605,7 @@ int cmCTest::Initialize(const char* binary_dir, cmCTestStartCommand* command)
lctime->tm_hour,
lctime->tm_min);
tag = datestring;
- std::ofstream ofs(tagfile.c_str());
+ cmsys::ofstream ofs(tagfile.c_str());
if ( ofs )
{
ofs << tag << std::endl;
@@ -767,7 +764,7 @@ bool cmCTest::UpdateCTestConfiguration()
cmCTestLog(this, HANDLER_VERBOSE_OUTPUT, "Parse Config file:"
<< fileName.c_str() << "\n");
// parse the dart test file
- std::ifstream fin(fileName.c_str());
+ cmsys::ifstream fin(fileName.c_str());
if(!fin)
{
@@ -1135,11 +1132,11 @@ int cmCTest::GetTestModelFromString(const char* str)
return cmCTest::EXPERIMENTAL;
}
std::string rstr = cmSystemTools::LowerCase(str);
- if ( strncmp(rstr.c_str(), "cont", 4) == 0 )
+ if ( cmHasLiteralPrefix(rstr.c_str(), "cont") )
{
return cmCTest::CONTINUOUS;
}
- if ( strncmp(rstr.c_str(), "nigh", 4) == 0 )
+ if ( cmHasLiteralPrefix(rstr.c_str(), "nigh") )
{
return cmCTest::NIGHTLY;
}
@@ -1153,7 +1150,7 @@ int cmCTest::GetTestModelFromString(const char* str)
//----------------------------------------------------------------------
int cmCTest::RunMakeCommand(const char* command, std::string* output,
- int* retVal, const char* dir, int timeout, std::ofstream& ofs)
+ int* retVal, const char* dir, int timeout, std::ostream& ofs)
{
// First generate the command and arguments
std::vector<cmStdString> args = cmSystemTools::ParseArguments(command);
@@ -1302,7 +1299,8 @@ int cmCTest::RunTest(std::vector<const char*> argv,
}
cmCTestLog(this, HANDLER_VERBOSE_OUTPUT,
"Test timeout computed to be: " << timeout << "\n");
- if(cmSystemTools::SameFile(argv[0], this->CTestSelf.c_str()) &&
+ if(cmSystemTools::SameFile(
+ argv[0], cmSystemTools::GetCTestCommand().c_str()) &&
!this->ForceNewCTestProcess)
{
cmCTest inst;
@@ -1614,7 +1612,7 @@ int cmCTest::GenerateCTestNotesOutput(std::ostream& os,
<< "<Time>" << cmSystemTools::GetTime() << "</Time>\n"
<< "<DateTime>" << note_time << "</DateTime>\n"
<< "<Text>" << std::endl;
- std::ifstream ifs(it->c_str());
+ cmsys::ifstream ifs(it->c_str());
if ( ifs )
{
std::string line;
@@ -1695,7 +1693,7 @@ std::string cmCTest::Base64GzipEncodeFile(std::string file)
std::string cmCTest::Base64EncodeFile(std::string file)
{
long len = cmSystemTools::FileLength(file.c_str());
- std::ifstream ifs(file.c_str(), std::ios::in
+ cmsys::ifstream ifs(file.c_str(), std::ios::in
#ifdef _WIN32
| std::ios::binary
#endif
@@ -2187,6 +2185,12 @@ void cmCTest::HandleCommandLineArguments(size_t &i,
this->GetHandler("memcheck")->
SetPersistentOption("ExcludeRegularExpression", args[i].c_str());
}
+
+ if(this->CheckArgument(arg, "--rerun-failed"))
+ {
+ this->GetHandler("test")->SetPersistentOption("RerunFailed", "true");
+ this->GetHandler("memcheck")->SetPersistentOption("RerunFailed", "true");
+ }
}
//----------------------------------------------------------------------
@@ -2255,7 +2259,6 @@ bool cmCTest::AddVariableDefinition(const std::string &arg)
// the main entry point of ctest, called from main
int cmCTest::Run(std::vector<std::string> &args, std::string* output)
{
- this->FindRunningCMake();
const char* ctestExec = "ctest";
bool cmakeAndTest = false;
bool executeTests = true;
@@ -2496,29 +2499,6 @@ int cmCTest::Run(std::vector<std::string> &args, std::string* output)
}
//----------------------------------------------------------------------
-void cmCTest::FindRunningCMake()
-{
- // Find our own executable.
- this->CTestSelf = cmSystemTools::GetExecutableDirectory();
- this->CTestSelf += "/ctest";
- this->CTestSelf += cmSystemTools::GetExecutableExtension();
- if(!cmSystemTools::FileExists(this->CTestSelf.c_str()))
- {
- cmSystemTools::Error("CTest executable cannot be found at ",
- this->CTestSelf.c_str());
- }
-
- this->CMakeSelf = cmSystemTools::GetExecutableDirectory();
- this->CMakeSelf += "/cmake";
- this->CMakeSelf += cmSystemTools::GetExecutableExtension();
- if(!cmSystemTools::FileExists(this->CMakeSelf.c_str()))
- {
- cmSystemTools::Error("CMake executable cannot be found at ",
- this->CMakeSelf.c_str());
- }
-}
-
-//----------------------------------------------------------------------
void cmCTest::SetNotesFiles(const char* notes)
{
if ( !notes )
diff --git a/Source/cmCTest.h b/Source/cmCTest.h
index 5dd35ce..becb0f5 100644
--- a/Source/cmCTest.h
+++ b/Source/cmCTest.h
@@ -273,7 +273,7 @@ public:
// and retVal is return value or exception.
int RunMakeCommand(const char* command, std::string* output,
int* retVal, const char* dir, int timeout,
- std::ofstream& ofs);
+ std::ostream& ofs);
/*
* return the current tag
@@ -287,10 +287,6 @@ public:
//source directory, it will become /.../relative/path/to/file
std::string GetShortPathToFile(const char* fname);
- //! Get the path to CTest
- const char* GetCTestExecutable() { return this->CTestSelf.c_str(); }
- const char* GetCMakeExecutable() { return this->CMakeSelf.c_str(); }
-
enum {
EXPERIMENTAL,
NIGHTLY,
@@ -490,8 +486,6 @@ private:
int CompatibilityMode;
// information for the --build-and-test options
- std::string CMakeSelf;
- std::string CTestSelf;
std::string BinaryDir;
std::string NotesFiles;
@@ -546,9 +540,6 @@ private:
int GenerateCTestNotesOutput(std::ostream& os,
const VectorOfStrings& files);
- ///! Find the running cmake
- void FindRunningCMake();
-
//! Check if the argument is the one specified
bool CheckArgument(const std::string& arg, const char* varg1,
const char* varg2 = 0);
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx
index ed09545..9e0064e 100644
--- a/Source/cmCacheManager.cxx
+++ b/Source/cmCacheManager.cxx
@@ -20,7 +20,7 @@
#include <cmsys/Directory.hxx>
#include <cmsys/Glob.hxx>
-
+#include <cmsys/FStream.hxx>
#include <cmsys/RegularExpression.hxx>
const char* cmCacheManagerTypes[] =
@@ -211,7 +211,7 @@ bool cmCacheManager::LoadCache(const char* path,
return false;
}
- std::ifstream fin(cacheFile.c_str());
+ cmsys::ifstream fin(cacheFile.c_str());
if(!fin)
{
return false;
@@ -566,7 +566,7 @@ bool cmCacheManager::SaveCache(const char* path)
checkCacheFile += cmake::GetCMakeFilesDirectory();
cmSystemTools::MakeDirectory(checkCacheFile.c_str());
checkCacheFile += "/cmake.check_cache";
- std::ofstream checkCache(checkCacheFile.c_str());
+ cmsys::ofstream checkCache(checkCacheFile.c_str());
if(!checkCache)
{
cmSystemTools::Error("Unable to open check cache file for write. ",
@@ -930,70 +930,8 @@ bool cmCacheManager::NeedCacheCompatibility(int major, int minor)
// Compatibility is needed if the cache version is equal to or lower
// than the given version.
- unsigned int actual_compat =
+ cmIML_INT_uint64_t actual_compat =
CMake_VERSION_ENCODE(this->CacheMajorVersion, this->CacheMinorVersion, 0);
return (actual_compat &&
actual_compat <= CMake_VERSION_ENCODE(major, minor, 0));
}
-
-//----------------------------------------------------------------------------
-void cmCacheManager::DefineProperties(cmake *cm)
-{
- cm->DefineProperty
- ("ADVANCED", cmProperty::CACHE,
- "True if entry should be hidden by default in GUIs.",
- "This is a boolean value indicating whether the entry is considered "
- "interesting only for advanced configuration. "
- "The mark_as_advanced() command modifies this property."
- );
-
- cm->DefineProperty
- ("HELPSTRING", cmProperty::CACHE,
- "Help associated with entry in GUIs.",
- "This string summarizes the purpose of an entry to help users set it "
- "through a CMake GUI."
- );
-
- cm->DefineProperty
- ("TYPE", cmProperty::CACHE,
- "Widget type for entry in GUIs.",
- "Cache entry values are always strings, but CMake GUIs present widgets "
- "to help users set values. "
- "The GUIs use this property as a hint to determine the widget type. "
- "Valid TYPE values are:\n"
- " BOOL = Boolean ON/OFF value.\n"
- " PATH = Path to a directory.\n"
- " FILEPATH = Path to a file.\n"
- " STRING = Generic string value.\n"
- " INTERNAL = Do not present in GUI at all.\n"
- " STATIC = Value managed by CMake, do not change.\n"
- " UNINITIALIZED = Type not yet specified.\n"
- "Generally the TYPE of a cache entry should be set by the command "
- "which creates it (set, option, find_library, etc.)."
- );
-
- cm->DefineProperty
- ("MODIFIED", cmProperty::CACHE,
- "Internal management property. Do not set or get.",
- "This is an internal cache entry property managed by CMake to "
- "track interactive user modification of entries. Ignore it."
- );
-
- cm->DefineProperty
- ("STRINGS", cmProperty::CACHE,
- "Enumerate possible STRING entry values for GUI selection.",
- "For cache entries with type STRING, this enumerates a set of values. "
- "CMake GUIs may use this to provide a selection widget instead of a "
- "generic string entry field. "
- "This is for convenience only. "
- "CMake does not enforce that the value matches one of those listed."
- );
-
- cm->DefineProperty
- ("VALUE", cmProperty::CACHE,
- "Value of a cache entry.",
- "This property maps to the actual value of a cache entry. "
- "Setting this property always sets the value without checking, so "
- "use with care."
- );
-}
diff --git a/Source/cmCacheManager.h b/Source/cmCacheManager.h
index a5e5eee..f487e8e 100644
--- a/Source/cmCacheManager.h
+++ b/Source/cmCacheManager.h
@@ -145,13 +145,12 @@ public:
const char* GetCacheValue(const char* key) const;
/** Get the version of CMake that wrote the cache. */
- unsigned int GetCacheMajorVersion() { return this->CacheMajorVersion; }
- unsigned int GetCacheMinorVersion() { return this->CacheMinorVersion; }
+ unsigned int GetCacheMajorVersion() const
+ { return this->CacheMajorVersion; }
+ unsigned int GetCacheMinorVersion() const
+ { return this->CacheMinorVersion; }
bool NeedCacheCompatibility(int major, int minor);
- /** Define and document CACHE entry properties. */
- static void DefineProperties(cmake *cm);
-
protected:
///! Add an entry into the cache
void AddCacheEntry(const char* key, const char* value,
@@ -182,7 +181,6 @@ private:
// the commands should never use the cmCacheManager directly
friend class cmMakefile; // allow access to add cache values
friend class cmake; // allow access to add cache values
- friend class cmakewizard; // allow access to add cache values
friend class cmMarkAsAdvancedCommand; // allow access to add cache values
};
diff --git a/Source/cmCommand.h b/Source/cmCommand.h
index 49f451b..e148857 100644
--- a/Source/cmCommand.h
+++ b/Source/cmCommand.h
@@ -127,16 +127,6 @@ public:
virtual const char* GetName() const = 0;
/**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const = 0;
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const = 0;
-
- /**
* Enable the command.
*/
void EnabledOn()
@@ -183,6 +173,25 @@ public:
this->Error += e;
}
+ /** Check if the command is disallowed by a policy. */
+ bool Disallowed(cmPolicies::PolicyID pol, const char* e)
+ {
+ switch(this->Makefile->GetPolicyStatus(pol))
+ {
+ case cmPolicies::WARN:
+ this->Makefile->IssueMessage(cmake::AUTHOR_WARNING,
+ this->Makefile->GetPolicies()->GetPolicyWarning(pol));
+ case cmPolicies::OLD:
+ return false;
+ case cmPolicies::REQUIRED_IF_USED:
+ case cmPolicies::REQUIRED_ALWAYS:
+ case cmPolicies::NEW:
+ this->Makefile->IssueMessage(cmake::FATAL_ERROR, e);
+ break;
+ }
+ return true;
+ }
+
protected:
cmMakefile* Makefile;
cmCommandArgumentsHelper Helper;
diff --git a/Source/cmCommandArgumentLexer.cxx b/Source/cmCommandArgumentLexer.cxx
index e68f6b5..e62e53e 100644
--- a/Source/cmCommandArgumentLexer.cxx
+++ b/Source/cmCommandArgumentLexer.cxx
@@ -1820,7 +1820,7 @@ void cmCommandArgument_yyset_extra (YY_EXTRA_TYPE user_defined , yyscan_t yysca
}
/** Set the current line number.
- * @param line_number
+ * @param line_number The line number to set.
* @param yyscanner The scanner object.
*/
void cmCommandArgument_yyset_lineno (int line_number , yyscan_t yyscanner)
@@ -1835,7 +1835,7 @@ void cmCommandArgument_yyset_lineno (int line_number , yyscan_t yyscanner)
}
/** Set the current column.
- * @param column_no
+ * @param column_no The column number to set.
* @param yyscanner The scanner object.
*/
void cmCommandArgument_yyset_column (int column_no , yyscan_t yyscanner)
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx
deleted file mode 100644
index 1e2a85c..0000000
--- a/Source/cmCommands.cxx
+++ /dev/null
@@ -1,86 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-#include "cmCommands.h"
-#if defined(CMAKE_BUILD_WITH_CMAKE)
-#include "cmAddCompileOptionsCommand.cxx"
-#include "cmAuxSourceDirectoryCommand.cxx"
-#include "cmBuildNameCommand.cxx"
-#include "cmCMakeHostSystemInformationCommand.cxx"
-#include "cmElseIfCommand.cxx"
-#include "cmExportCommand.cxx"
-#include "cmExportLibraryDependencies.cxx"
-#include "cmFLTKWrapUICommand.cxx"
-#include "cmIncludeExternalMSProjectCommand.cxx"
-#include "cmInstallProgramsCommand.cxx"
-#include "cmLinkLibrariesCommand.cxx"
-#include "cmLoadCacheCommand.cxx"
-#include "cmOutputRequiredFilesCommand.cxx"
-#include "cmQTWrapCPPCommand.cxx"
-#include "cmQTWrapUICommand.cxx"
-#include "cmRemoveCommand.cxx"
-#include "cmRemoveDefinitionsCommand.cxx"
-#include "cmSourceGroupCommand.cxx"
-#include "cmSubdirDependsCommand.cxx"
-#include "cmTargetCompileDefinitionsCommand.cxx"
-#include "cmTargetCompileOptionsCommand.cxx"
-#include "cmTargetIncludeDirectoriesCommand.cxx"
-#include "cmTargetPropCommandBase.cxx"
-#include "cmUseMangledMesaCommand.cxx"
-#include "cmUtilitySourceCommand.cxx"
-#include "cmVariableRequiresCommand.cxx"
-#include "cmVariableWatchCommand.cxx"
-
-#include "cmWriteFileCommand.cxx"
-
-// This one must be last because it includes windows.h and
-// windows.h #defines GetCurrentDirectory which is a member
-// of cmMakefile
-#include "cmLoadCommandCommand.cxx"
-#endif
-
-void GetPredefinedCommands(std::list<cmCommand*>&
-#if defined(CMAKE_BUILD_WITH_CMAKE)
- commands
-#endif
- )
-{
-#if defined(CMAKE_BUILD_WITH_CMAKE)
- commands.push_back(new cmAddCompileOptionsCommand);
- commands.push_back(new cmAuxSourceDirectoryCommand);
- commands.push_back(new cmBuildNameCommand);
- commands.push_back(new cmCMakeHostSystemInformationCommand);
- commands.push_back(new cmElseIfCommand);
- commands.push_back(new cmExportCommand);
- commands.push_back(new cmExportLibraryDependenciesCommand);
- commands.push_back(new cmFLTKWrapUICommand);
- commands.push_back(new cmIncludeExternalMSProjectCommand);
- commands.push_back(new cmInstallProgramsCommand);
- commands.push_back(new cmLinkLibrariesCommand);
- commands.push_back(new cmLoadCacheCommand);
- commands.push_back(new cmLoadCommandCommand);
- commands.push_back(new cmOutputRequiredFilesCommand);
- commands.push_back(new cmQTWrapCPPCommand);
- commands.push_back(new cmQTWrapUICommand);
- commands.push_back(new cmRemoveCommand);
- commands.push_back(new cmRemoveDefinitionsCommand);
- commands.push_back(new cmSourceGroupCommand);
- commands.push_back(new cmSubdirDependsCommand);
- commands.push_back(new cmTargetIncludeDirectoriesCommand);
- commands.push_back(new cmTargetCompileDefinitionsCommand);
- commands.push_back(new cmTargetCompileOptionsCommand);
- commands.push_back(new cmUseMangledMesaCommand);
- commands.push_back(new cmUtilitySourceCommand);
- commands.push_back(new cmVariableRequiresCommand);
- commands.push_back(new cmVariableWatchCommand);
- commands.push_back(new cmWriteFileCommand);
-#endif
-}
diff --git a/Source/cmCommands.cxx.in b/Source/cmCommands.cxx.in
new file mode 100644
index 0000000..f0745d7
--- /dev/null
+++ b/Source/cmCommands.cxx.in
@@ -0,0 +1,19 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#include "cmCommands.h"
+
+@COMMAND_INCLUDES@
+
+void GetPredefinedCommands(std::list<cmCommand*>& commands)
+{
+@NEW_COMMANDS@
+}
diff --git a/Source/cmCommandsForBootstrap.cxx b/Source/cmCommandsForBootstrap.cxx
new file mode 100644
index 0000000..15b664e
--- /dev/null
+++ b/Source/cmCommandsForBootstrap.cxx
@@ -0,0 +1,16 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#include "cmCommands.h"
+
+void GetPredefinedCommands(std::list<cmCommand*>&)
+{
+}
diff --git a/Source/cmComputeLinkDepends.cxx b/Source/cmComputeLinkDepends.cxx
index dec2b54..1be5980 100644
--- a/Source/cmComputeLinkDepends.cxx
+++ b/Source/cmComputeLinkDepends.cxx
@@ -172,7 +172,8 @@ satisfy dependencies.
//----------------------------------------------------------------------------
cmComputeLinkDepends
-::cmComputeLinkDepends(cmTarget* target, const char* config, cmTarget* head)
+::cmComputeLinkDepends(cmTarget const* target, const char* config,
+ cmTarget const* head)
{
// Store context information.
this->Target = target;
@@ -355,9 +356,16 @@ void cmComputeLinkDepends::FollowLinkEntry(BFSEntry const& qe)
if(cmTarget::LinkInterface const* iface =
entry.Target->GetLinkInterface(this->Config, this->HeadTarget))
{
+ const bool isIface =
+ entry.Target->GetType() == cmTarget::INTERFACE_LIBRARY;
// This target provides its own link interface information.
this->AddLinkEntries(depender_index, iface->Libraries);
+ if (isIface)
+ {
+ return;
+ }
+
// Handle dependent shared libraries.
this->FollowSharedDeps(depender_index, iface);
@@ -611,19 +619,19 @@ cmComputeLinkDepends::AddLinkEntries(int depender_index,
}
//----------------------------------------------------------------------------
-cmTarget* cmComputeLinkDepends::FindTargetToLink(int depender_index,
+cmTarget const* cmComputeLinkDepends::FindTargetToLink(int depender_index,
const char* name)
{
// Look for a target in the scope of the depender.
cmMakefile* mf = this->Makefile;
if(depender_index >= 0)
{
- if(cmTarget* depender = this->EntryList[depender_index].Target)
+ if(cmTarget const* depender = this->EntryList[depender_index].Target)
{
mf = depender->GetMakefile();
}
}
- cmTarget* tgt = mf->FindTargetToUse(name);
+ cmTarget const* tgt = mf->FindTargetToUse(name);
// Skip targets that will not really be linked. This is probably a
// name conflict between an external library and an executable
@@ -942,7 +950,7 @@ int cmComputeLinkDepends::ComputeComponentCount(NodeList const& nl)
int count = 2;
for(NodeList::const_iterator ni = nl.begin(); ni != nl.end(); ++ni)
{
- if(cmTarget* target = this->EntryList[*ni].Target)
+ if(cmTarget const* target = this->EntryList[*ni].Target)
{
if(cmTarget::LinkInterface const* iface =
target->GetLinkInterface(this->Config, this->HeadTarget))
@@ -989,7 +997,8 @@ void cmComputeLinkDepends::CheckWrongConfigItem(int depender_index,
// For CMake 2.4 bug-compatibility we need to consider the output
// directories of targets linked in another configuration as link
// directories.
- if(cmTarget* tgt = this->FindTargetToLink(depender_index, item.c_str()))
+ if(cmTarget const* tgt
+ = this->FindTargetToLink(depender_index, item.c_str()))
{
if(!tgt->IsImported())
{
diff --git a/Source/cmComputeLinkDepends.h b/Source/cmComputeLinkDepends.h
index 1d5d1b9..9776f55 100644
--- a/Source/cmComputeLinkDepends.h
+++ b/Source/cmComputeLinkDepends.h
@@ -32,14 +32,15 @@ class cmake;
class cmComputeLinkDepends
{
public:
- cmComputeLinkDepends(cmTarget* target, const char* config, cmTarget *head);
+ cmComputeLinkDepends(cmTarget const* target, const char* config,
+ cmTarget const* head);
~cmComputeLinkDepends();
// Basic information about each link item.
struct LinkEntry
{
std::string Item;
- cmTarget* Target;
+ cmTarget const* Target;
bool IsSharedDep;
bool IsFlag;
LinkEntry(): Item(), Target(0), IsSharedDep(false), IsFlag(false) {}
@@ -52,17 +53,17 @@ public:
EntryVector const& Compute();
void SetOldLinkDirMode(bool b);
- std::set<cmTarget*> const& GetOldWrongConfigItems() const
+ std::set<cmTarget const*> const& GetOldWrongConfigItems() const
{ return this->OldWrongConfigItems; }
private:
// Context information.
- cmTarget* Target;
- cmTarget* HeadTarget;
+ cmTarget const* Target;
+ cmTarget const* HeadTarget;
cmMakefile* Makefile;
cmLocalGenerator* LocalGenerator;
- cmGlobalGenerator* GlobalGenerator;
+ cmGlobalGenerator const* GlobalGenerator;
cmake* CMakeInstance;
bool DebugMode;
@@ -82,7 +83,7 @@ private:
void AddDirectLinkEntries();
void AddLinkEntries(int depender_index,
std::vector<std::string> const& libs);
- cmTarget* FindTargetToLink(int depender_index, const char* name);
+ cmTarget const* FindTargetToLink(int depender_index, const char* name);
// One entry for each unique item.
std::vector<LinkEntry> EntryList;
@@ -163,7 +164,7 @@ private:
// Compatibility help.
bool OldLinkDirMode;
void CheckWrongConfigItem(int depender_index, std::string const& item);
- std::set<cmTarget*> OldWrongConfigItems;
+ std::set<cmTarget const*> OldWrongConfigItems;
};
#endif
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx
index fb7b5b6..6986965 100644
--- a/Source/cmComputeLinkInformation.cxx
+++ b/Source/cmComputeLinkInformation.cxx
@@ -239,8 +239,8 @@ because this need be done only for shared libraries without soname-s.
//----------------------------------------------------------------------------
cmComputeLinkInformation
-::cmComputeLinkInformation(cmTarget* target, const char* config,
- cmTarget *headTarget)
+::cmComputeLinkInformation(cmTarget const* target, const char* config,
+ cmTarget const* headTarget)
{
// Store context information.
this->Target = target;
@@ -477,7 +477,7 @@ std::vector<std::string> const& cmComputeLinkInformation::GetFrameworkPaths()
}
//----------------------------------------------------------------------------
-std::set<cmTarget*> const&
+std::set<cmTarget const*> const&
cmComputeLinkInformation::GetSharedLibrariesLinked()
{
return this->SharedLibrariesLinked;
@@ -542,11 +542,11 @@ bool cmComputeLinkInformation::Compute()
// For CMake 2.4 bug-compatibility we need to consider the output
// directories of targets linked in another configuration as link
// directories.
- std::set<cmTarget*> const& wrongItems = cld.GetOldWrongConfigItems();
- for(std::set<cmTarget*>::const_iterator i = wrongItems.begin();
+ std::set<cmTarget const*> const& wrongItems = cld.GetOldWrongConfigItems();
+ for(std::set<cmTarget const*>::const_iterator i = wrongItems.begin();
i != wrongItems.end(); ++i)
{
- cmTarget* tgt = *i;
+ cmTarget const* tgt = *i;
bool implib =
(this->UseImportLibrary &&
(tgt->GetType() == cmTarget::SHARED_LIBRARY));
@@ -620,7 +620,8 @@ void cmComputeLinkInformation::AddImplicitLinkInfo(std::string const& lang)
}
//----------------------------------------------------------------------------
-void cmComputeLinkInformation::AddItem(std::string const& item, cmTarget* tgt)
+void cmComputeLinkInformation::AddItem(std::string const& item,
+ cmTarget const* tgt)
{
// Compute the proper name to use to link this library.
const char* config = this->Config;
@@ -655,6 +656,11 @@ void cmComputeLinkInformation::AddItem(std::string const& item, cmTarget* tgt)
(this->UseImportLibrary &&
(impexe || tgt->GetType() == cmTarget::SHARED_LIBRARY));
+ if(tgt->GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ this->Items.push_back(Item(std::string(), true, tgt));
+ return;
+ }
// Pass the full path to the target file.
std::string lib = tgt->GetFullPath(config, implib, true);
if(!this->LinkDependsNoShared ||
@@ -695,7 +701,7 @@ void cmComputeLinkInformation::AddItem(std::string const& item, cmTarget* tgt)
//----------------------------------------------------------------------------
void cmComputeLinkInformation::AddSharedDepItem(std::string const& item,
- cmTarget* tgt)
+ cmTarget const* tgt)
{
// If dropping shared library dependencies, ignore them.
if(this->SharedDependencyMode == SharedDepModeNone)
@@ -1057,7 +1063,7 @@ void cmComputeLinkInformation::SetCurrentLinkType(LinkType lt)
//----------------------------------------------------------------------------
void cmComputeLinkInformation::AddTargetItem(std::string const& item,
- cmTarget* target)
+ cmTarget const* target)
{
// This is called to handle a link item that is a full path to a target.
// If the target is not a static library make sure the link type is
@@ -1739,14 +1745,14 @@ cmComputeLinkInformation::GetRuntimeSearchPath()
//----------------------------------------------------------------------------
void
cmComputeLinkInformation::AddLibraryRuntimeInfo(std::string const& fullPath,
- cmTarget* target)
+ cmTarget const* target)
{
// Ignore targets on Apple where install_name is not @rpath.
// The dependenty library can be found with other means such as
// @loader_path or full paths.
if(this->Makefile->IsOn("CMAKE_PLATFORM_HAS_INSTALLNAME"))
{
- if(!target->HasMacOSXRpath(this->Config))
+ if(!target->HasMacOSXRpathInstallNameDir(this->Config))
{
return;
}
@@ -1896,6 +1902,12 @@ void cmComputeLinkInformation::GetRPath(std::vector<std::string>& runtimeDirs,
}
if(use_build_rpath || use_link_rpath)
{
+ std::string rootPath = this->Makefile->GetSafeDefinition("CMAKE_SYSROOT");
+ const char *stagePath
+ = this->Makefile->GetDefinition("CMAKE_STAGING_PREFIX");
+ const char *installPrefix
+ = this->Makefile->GetSafeDefinition("CMAKE_INSTALL_PREFIX");
+ cmSystemTools::ConvertToUnixSlashes(rootPath);
std::vector<std::string> const& rdirs = this->GetRuntimeSearchPath();
for(std::vector<std::string>::const_iterator ri = rdirs.begin();
ri != rdirs.end(); ++ri)
@@ -1904,9 +1916,22 @@ void cmComputeLinkInformation::GetRPath(std::vector<std::string>& runtimeDirs,
// support or if using the link path as an rpath.
if(use_build_rpath)
{
- if(emitted.insert(*ri).second)
+ std::string d = *ri;
+ if (!rootPath.empty() && d.find(rootPath) == 0)
+ {
+ d = d.substr(rootPath.size());
+ }
+ else if (stagePath && *stagePath && d.find(stagePath) == 0)
+ {
+ std::string suffix = d.substr(strlen(stagePath));
+ d = installPrefix;
+ d += "/";
+ d += suffix;
+ cmSystemTools::ConvertToUnixSlashes(d);
+ }
+ if(emitted.insert(d).second)
{
- runtimeDirs.push_back(*ri);
+ runtimeDirs.push_back(d);
}
}
else if(use_link_rpath)
@@ -1919,9 +1944,22 @@ void cmComputeLinkInformation::GetRPath(std::vector<std::string>& runtimeDirs,
!cmSystemTools::IsSubDirectory(ri->c_str(), topSourceDir) &&
!cmSystemTools::IsSubDirectory(ri->c_str(), topBinaryDir))
{
- if(emitted.insert(*ri).second)
+ std::string d = *ri;
+ if (!rootPath.empty() && d.find(rootPath) == 0)
+ {
+ d = d.substr(rootPath.size());
+ }
+ else if (stagePath && *stagePath && d.find(stagePath) == 0)
+ {
+ std::string suffix = d.substr(strlen(stagePath));
+ d = installPrefix;
+ d += "/";
+ d += suffix;
+ cmSystemTools::ConvertToUnixSlashes(d);
+ }
+ if(emitted.insert(d).second)
{
- runtimeDirs.push_back(*ri);
+ runtimeDirs.push_back(d);
}
}
}
diff --git a/Source/cmComputeLinkInformation.h b/Source/cmComputeLinkInformation.h
index e6ee871..356e6ed 100644
--- a/Source/cmComputeLinkInformation.h
+++ b/Source/cmComputeLinkInformation.h
@@ -29,8 +29,8 @@ class cmOrderDirectories;
class cmComputeLinkInformation
{
public:
- cmComputeLinkInformation(cmTarget* target, const char* config,
- cmTarget* headTarget);
+ cmComputeLinkInformation(cmTarget const* target, const char* config,
+ cmTarget const* headTarget);
~cmComputeLinkInformation();
bool Compute();
@@ -39,11 +39,11 @@ public:
Item(): Value(), IsPath(true), Target(0) {}
Item(Item const& item):
Value(item.Value), IsPath(item.IsPath), Target(item.Target) {}
- Item(std::string const& v, bool p, cmTarget* target = 0):
+ Item(std::string const& v, bool p, cmTarget const* target = 0):
Value(v), IsPath(p), Target(target) {}
std::string Value;
bool IsPath;
- cmTarget* Target;
+ cmTarget const* Target;
};
typedef std::vector<Item> ItemVector;
ItemVector const& GetItems();
@@ -57,13 +57,13 @@ public:
void GetRPath(std::vector<std::string>& runtimeDirs, bool for_install);
std::string GetRPathString(bool for_install);
std::string GetChrpathString();
- std::set<cmTarget*> const& GetSharedLibrariesLinked();
+ std::set<cmTarget const*> const& GetSharedLibrariesLinked();
std::string const& GetRPathLinkFlag() const { return this->RPathLinkFlag; }
std::string GetRPathLinkString();
private:
- void AddItem(std::string const& item, cmTarget* tgt);
- void AddSharedDepItem(std::string const& item, cmTarget* tgt);
+ void AddItem(std::string const& item, cmTarget const* tgt);
+ void AddSharedDepItem(std::string const& item, cmTarget const* tgt);
// Output information.
ItemVector Items;
@@ -71,11 +71,11 @@ private:
std::vector<std::string> Depends;
std::vector<std::string> FrameworkPaths;
std::vector<std::string> RuntimeSearchPath;
- std::set<cmTarget*> SharedLibrariesLinked;
+ std::set<cmTarget const*> SharedLibrariesLinked;
// Context information.
- cmTarget* Target;
- cmTarget* HeadTarget;
+ cmTarget const* Target;
+ cmTarget const* HeadTarget;
cmMakefile* Makefile;
cmLocalGenerator* LocalGenerator;
cmGlobalGenerator* GlobalGenerator;
@@ -139,7 +139,7 @@ private:
std::string NoCaseExpression(const char* str);
// Handling of link items.
- void AddTargetItem(std::string const& item, cmTarget* target);
+ void AddTargetItem(std::string const& item, cmTarget const* target);
void AddFullItem(std::string const& item);
bool CheckImplicitDirItem(std::string const& item);
void AddUserItem(std::string const& item, bool pathNotKnown);
@@ -179,7 +179,8 @@ private:
// Runtime path computation.
cmOrderDirectories* OrderRuntimeSearchPath;
- void AddLibraryRuntimeInfo(std::string const& fullPath, cmTarget* target);
+ void AddLibraryRuntimeInfo(std::string const& fullPath,
+ cmTarget const* target);
void AddLibraryRuntimeInfo(std::string const& fullPath);
// Dependent library path computation.
diff --git a/Source/cmComputeTargetDepends.cxx b/Source/cmComputeTargetDepends.cxx
index 0829add..9136869 100644
--- a/Source/cmComputeTargetDepends.cxx
+++ b/Source/cmComputeTargetDepends.cxx
@@ -143,12 +143,13 @@ bool cmComputeTargetDepends::Compute()
//----------------------------------------------------------------------------
void
-cmComputeTargetDepends::GetTargetDirectDepends(cmTarget* t,
+cmComputeTargetDepends::GetTargetDirectDepends(cmTarget const* t,
cmTargetDependSet& deps)
{
// Lookup the index for this target. All targets should be known by
// this point.
- std::map<cmTarget*, int>::const_iterator tii = this->TargetIndex.find(t);
+ std::map<cmTarget const*, int>::const_iterator tii
+ = this->TargetIndex.find(t);
assert(tii != this->TargetIndex.end());
int i = tii->second;
@@ -156,7 +157,7 @@ cmComputeTargetDepends::GetTargetDirectDepends(cmTarget* t,
EdgeList const& nl = this->FinalGraph[i];
for(EdgeList::const_iterator ni = nl.begin(); ni != nl.end(); ++ni)
{
- cmTarget* dep = this->Targets[*ni];
+ cmTarget const* dep = this->Targets[*ni];
cmTargetDependSet::iterator di = deps.insert(dep).first;
di->SetType(ni->IsStrong());
}
@@ -170,10 +171,11 @@ void cmComputeTargetDepends::CollectTargets()
this->GlobalGenerator->GetLocalGenerators();
for(unsigned int i = 0; i < lgens.size(); ++i)
{
- cmTargets& targets = lgens[i]->GetMakefile()->GetTargets();
- for(cmTargets::iterator ti = targets.begin(); ti != targets.end(); ++ti)
+ const cmTargets& targets = lgens[i]->GetMakefile()->GetTargets();
+ for(cmTargets::const_iterator ti = targets.begin();
+ ti != targets.end(); ++ti)
{
- cmTarget* target = &ti->second;
+ cmTarget const* target = &ti->second;
int index = static_cast<int>(this->Targets.size());
this->TargetIndex[target] = index;
this->Targets.push_back(target);
@@ -198,7 +200,11 @@ void cmComputeTargetDepends::CollectDepends()
void cmComputeTargetDepends::CollectTargetDepends(int depender_index)
{
// Get the depender.
- cmTarget* depender = this->Targets[depender_index];
+ cmTarget const* depender = this->Targets[depender_index];
+ if (depender->GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ return;
+ }
// Loop over all targets linked directly in all configs.
// We need to make targets depend on the union of all config-specific
@@ -230,6 +236,7 @@ void cmComputeTargetDepends::CollectTargetDepends(int depender_index)
{
std::vector<std::string> tlibs;
depender->GetDirectLinkLibraries(it->c_str(), tlibs, depender);
+
// A target should not depend on itself.
emitted.insert(depender->GetName());
for(std::vector<std::string>::const_iterator lib = tlibs.begin();
@@ -266,11 +273,11 @@ void cmComputeTargetDepends::CollectTargetDepends(int depender_index)
//----------------------------------------------------------------------------
void cmComputeTargetDepends::AddInterfaceDepends(int depender_index,
- cmTarget* dependee,
+ cmTarget const* dependee,
const char *config,
std::set<cmStdString> &emitted)
{
- cmTarget* depender = this->Targets[depender_index];
+ cmTarget const* depender = this->Targets[depender_index];
if(cmTarget::LinkInterface const* iface =
dependee->GetLinkInterface(config, depender))
{
@@ -295,8 +302,8 @@ void cmComputeTargetDepends::AddInterfaceDepends(int depender_index,
bool linking,
std::set<cmStdString> &emitted)
{
- cmTarget* depender = this->Targets[depender_index];
- cmTarget* dependee =
+ cmTarget const* depender = this->Targets[depender_index];
+ cmTarget const* dependee =
depender->GetMakefile()->FindTargetToUse(dependee_name);
// Skip targets that will not really be linked. This is probably a
// name conflict between an external library and an executable
@@ -330,12 +337,52 @@ void cmComputeTargetDepends::AddTargetDepend(int depender_index,
bool linking)
{
// Get the depender.
- cmTarget* depender = this->Targets[depender_index];
+ cmTarget const* depender = this->Targets[depender_index];
// Check the target's makefile first.
- cmTarget* dependee =
+ cmTarget const* dependee =
depender->GetMakefile()->FindTargetToUse(dependee_name);
+ if(!dependee && !linking &&
+ (depender->GetType() != cmTarget::GLOBAL_TARGET))
+ {
+ cmMakefile *makefile = depender->GetMakefile();
+ cmake::MessageType messageType = cmake::AUTHOR_WARNING;
+ bool issueMessage = false;
+ cmOStringStream e;
+ switch(depender->GetPolicyStatusCMP0046())
+ {
+ case cmPolicies::WARN:
+ e << (makefile->GetPolicies()
+ ->GetPolicyWarning(cmPolicies::CMP0046)) << "\n";
+ issueMessage = true;
+ case cmPolicies::OLD:
+ break;
+ case cmPolicies::NEW:
+ case cmPolicies::REQUIRED_IF_USED:
+ case cmPolicies::REQUIRED_ALWAYS:
+ issueMessage = true;
+ messageType = cmake::FATAL_ERROR;
+ }
+ if(issueMessage)
+ {
+ cmake* cm = this->GlobalGenerator->GetCMakeInstance();
+
+ e << "The dependency target \"" << dependee_name
+ << "\" of target \"" << depender->GetName() << "\" does not exist.";
+
+ cmListFileBacktrace nullBacktrace;
+ cmListFileBacktrace const* backtrace =
+ depender->GetUtilityBacktrace(dependee_name);
+ if(!backtrace)
+ {
+ backtrace = &nullBacktrace;
+ }
+
+ cm->IssueMessage(messageType, e.str(), *backtrace);
+ }
+ }
+
// Skip targets that will not really be linked. This is probably a
// name conflict between an external library and an executable
// within the project.
@@ -354,7 +401,7 @@ void cmComputeTargetDepends::AddTargetDepend(int depender_index,
//----------------------------------------------------------------------------
void cmComputeTargetDepends::AddTargetDepend(int depender_index,
- cmTarget* dependee,
+ cmTarget const* dependee,
bool linking)
{
if(dependee->IsImported())
@@ -364,8 +411,8 @@ void cmComputeTargetDepends::AddTargetDepend(int depender_index,
for(std::set<cmStdString>::const_iterator i = utils.begin();
i != utils.end(); ++i)
{
- if(cmTarget* transitive_dependee =
- dependee->GetMakefile()->FindTargetToUse(i->c_str()))
+ if(cmTarget const* transitive_dependee =
+ dependee->GetMakefile()->FindTargetToUse(*i))
{
this->AddTargetDepend(depender_index, transitive_dependee, false);
}
@@ -375,7 +422,7 @@ void cmComputeTargetDepends::AddTargetDepend(int depender_index,
{
// Lookup the index for this target. All targets should be known by
// this point.
- std::map<cmTarget*, int>::const_iterator tii =
+ std::map<cmTarget const*, int>::const_iterator tii =
this->TargetIndex.find(dependee);
assert(tii != this->TargetIndex.end());
int dependee_index = tii->second;
@@ -395,13 +442,13 @@ cmComputeTargetDepends::DisplayGraph(Graph const& graph, const char* name)
for(int depender_index = 0; depender_index < n; ++depender_index)
{
EdgeList const& nl = graph[depender_index];
- cmTarget* depender = this->Targets[depender_index];
+ cmTarget const* depender = this->Targets[depender_index];
fprintf(stderr, "target %d is [%s]\n",
depender_index, depender->GetName());
for(EdgeList::const_iterator ni = nl.begin(); ni != nl.end(); ++ni)
{
int dependee_index = *ni;
- cmTarget* dependee = this->Targets[dependee_index];
+ cmTarget const* dependee = this->Targets[dependee_index];
fprintf(stderr, " depends on target %d [%s] (%s)\n", dependee_index,
dependee->GetName(), ni->IsStrong()? "strong" : "weak");
}
@@ -488,7 +535,7 @@ cmComputeTargetDepends
{
// Get the depender.
int i = *ci;
- cmTarget* depender = this->Targets[i];
+ cmTarget const* depender = this->Targets[i];
// Describe the depender.
e << " \"" << depender->GetName() << "\" of type "
@@ -501,7 +548,7 @@ cmComputeTargetDepends
int j = *ni;
if(cmap[j] == c)
{
- cmTarget* dependee = this->Targets[j];
+ cmTarget const* dependee = this->Targets[j];
e << " depends on \"" << dependee->GetName() << "\""
<< " (" << (ni->IsStrong()? "strong" : "weak") << ")\n";
}
diff --git a/Source/cmComputeTargetDepends.h b/Source/cmComputeTargetDepends.h
index d6131cf..6cd6da0 100644
--- a/Source/cmComputeTargetDepends.h
+++ b/Source/cmComputeTargetDepends.h
@@ -38,19 +38,21 @@ public:
bool Compute();
- std::vector<cmTarget*> const& GetTargets() const { return this->Targets; }
- void GetTargetDirectDepends(cmTarget* t, cmTargetDependSet& deps);
+ std::vector<cmTarget const*> const&
+ GetTargets() const { return this->Targets; }
+ void GetTargetDirectDepends(cmTarget const* t, cmTargetDependSet& deps);
private:
void CollectTargets();
void CollectDepends();
void CollectTargetDepends(int depender_index);
void AddTargetDepend(int depender_index, const char* dependee_name,
bool linking);
- void AddTargetDepend(int depender_index, cmTarget* dependee, bool linking);
+ void AddTargetDepend(int depender_index, cmTarget const* dependee,
+ bool linking);
bool ComputeFinalDepends(cmComputeComponentGraph const& ccg);
void AddInterfaceDepends(int depender_index, const char* dependee_name,
bool linking, std::set<cmStdString> &emitted);
- void AddInterfaceDepends(int depender_index, cmTarget* dependee,
+ void AddInterfaceDepends(int depender_index, cmTarget const* dependee,
const char *config,
std::set<cmStdString> &emitted);
cmGlobalGenerator* GlobalGenerator;
@@ -58,8 +60,8 @@ private:
bool NoCycles;
// Collect all targets.
- std::vector<cmTarget*> Targets;
- std::map<cmTarget*, int> TargetIndex;
+ std::vector<cmTarget const*> Targets;
+ std::map<cmTarget const*, int> TargetIndex;
// Represent the target dependency graph. The entry at each
// top-level index corresponds to a depender whose dependencies are
diff --git a/Source/cmConfigure.cmake.h.in b/Source/cmConfigure.cmake.h.in
index ab53b1d..c5e95d0 100644
--- a/Source/cmConfigure.cmake.h.in
+++ b/Source/cmConfigure.cmake.h.in
@@ -16,7 +16,4 @@
#cmakedefine HAVE_ENVIRON_NOT_REQUIRE_PROTOTYPE
#cmakedefine HAVE_UNSETENV
#cmakedefine CMAKE_USE_ELF_PARSER
-#cmakedefine CMAKE_STRICT
-#define CMAKE_ROOT_DIR "${CMake_SOURCE_DIR}"
-#define CMAKE_BUILD_DIR "${CMake_BINARY_DIR}"
#define CMAKE_DATA_DIR "/@CMAKE_DATA_DIR@"
diff --git a/Source/cmConfigureFileCommand.cxx b/Source/cmConfigureFileCommand.cxx
index e52ddef..f8ec642 100644
--- a/Source/cmConfigureFileCommand.cxx
+++ b/Source/cmConfigureFileCommand.cxx
@@ -74,10 +74,6 @@ bool cmConfigureFileCommand
this->CopyOnly = false;
this->EscapeQuotes = false;
- // for CMake 2.0 and earlier CONFIGURE_FILE defaults to the FinalPass,
- // after 2.0 it only does InitialPass
- this->Immediate = !this->Makefile->NeedBackwardsCompatibility(2,0);
-
this->AtOnly = false;
for(unsigned int i=2;i < args.size();++i)
{
@@ -101,32 +97,19 @@ bool cmConfigureFileCommand
}
else if(args[i] == "IMMEDIATE")
{
- this->Immediate = true;
+ /* Ignore legacy option. */
}
}
- // If we were told to copy the file immediately, then do it on the
- // first pass (now).
- if(this->Immediate)
+ if ( !this->ConfigureFile() )
{
- if ( !this->ConfigureFile() )
- {
- this->SetError("Problem configuring file");
- return false;
- }
+ this->SetError("Problem configuring file");
+ return false;
}
return true;
}
-void cmConfigureFileCommand::FinalPass()
-{
- if(!this->Immediate)
- {
- this->ConfigureFile();
- }
-}
-
int cmConfigureFileCommand::ConfigureFile()
{
return this->Makefile->ConfigureFile(
diff --git a/Source/cmConfigureFileCommand.h b/Source/cmConfigureFileCommand.h
index 0393ecf..86de92c 100644
--- a/Source/cmConfigureFileCommand.h
+++ b/Source/cmConfigureFileCommand.h
@@ -41,64 +41,6 @@ public:
*/
virtual bool IsScriptable() const { return true; }
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Copy a file to another location and modify its contents.";
- }
-
- /**
- * Longer documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " configure_file(<input> <output>\n"
- " [COPYONLY] [ESCAPE_QUOTES] [@ONLY] \n"
- " [NEWLINE_STYLE [UNIX|DOS|WIN32|LF|CRLF] ])\n"
- "Copies a file <input> to file <output> and substitutes variable "
- "values referenced in the file content. "
- "If <input> is a relative path it is evaluated with respect to "
- "the current source directory. "
- "The <input> must be a file, not a directory. "
- "If <output> is a relative path it is evaluated with respect to "
- "the current binary directory. "
- "If <output> names an existing directory the input file is placed "
- "in that directory with its original name. "
- "\n"
- "If the <input> file is modified the build system will re-run CMake "
- "to re-configure the file and generate the build system again."
- "\n"
- "This command replaces any variables in the input file referenced as "
- "${VAR} or @VAR@ with their values as determined by CMake. If a "
- "variable is not defined, it will be replaced with nothing. "
- "If COPYONLY is specified, then no variable expansion will take "
- "place. If ESCAPE_QUOTES is specified then any substituted quotes "
- "will be C-style escaped. "
- "The file will be configured with the current values of CMake "
- "variables. If @ONLY is specified, only variables "
- "of the form @VAR@ will be replaced and ${VAR} will be ignored. "
- "This is useful for configuring scripts that use ${VAR}."
- "\n"
- "Input file lines of the form \"#cmakedefine VAR ...\" "
- "will be replaced with either \"#define VAR ...\" or "
- "\"/* #undef VAR */\" depending on whether VAR is set in CMake to "
- "any value not considered a false constant by the if() command. "
- "(Content of \"...\", if any, is processed as above.) "
- "Input file lines of the form \"#cmakedefine01 VAR\" "
- "will be replaced with either \"#define VAR 1\" or "
- "\"#define VAR 0\" similarly."
- "\n"
- "With NEWLINE_STYLE the line ending could be adjusted: \n"
- " 'UNIX' or 'LF' for \\n, 'DOS', 'WIN32' or 'CRLF' for \\r\\n.\n"
- "COPYONLY must not be used with NEWLINE_STYLE.\n";
- }
-
- virtual void FinalPass();
- virtual bool HasFinalPass() const { return !this->Immediate; }
-
private:
int ConfigureFile();
@@ -108,7 +50,6 @@ private:
std::string OutputFile;
bool CopyOnly;
bool EscapeQuotes;
- bool Immediate;
bool AtOnly;
};
diff --git a/Source/cmCoreTryCompile.cxx b/Source/cmCoreTryCompile.cxx
index 086f27a..7b52069 100644
--- a/Source/cmCoreTryCompile.cxx
+++ b/Source/cmCoreTryCompile.cxx
@@ -34,7 +34,7 @@ int cmCoreTryCompile::TryCompileCode(std::vector<std::string> const& argv)
std::string outputVariable;
std::string copyFile;
std::string copyFileError;
- std::vector<cmTarget*> targets;
+ std::vector<cmTarget const*> targets;
std::string libsToLink = " ";
bool useOldLinkLibs = true;
char targetNameBuf[64];
@@ -93,12 +93,13 @@ int cmCoreTryCompile::TryCompileCode(std::vector<std::string> const& argv)
else if(doing == DoingLinkLibraries)
{
libsToLink += "\"" + cmSystemTools::TrimWhitespace(argv[i]) + "\" ";
- if(cmTarget *tgt = this->Makefile->FindTargetToUse(argv[i].c_str()))
+ if(cmTarget *tgt = this->Makefile->FindTargetToUse(argv[i]))
{
switch(tgt->GetType())
{
case cmTarget::SHARED_LIBRARY:
case cmTarget::STATIC_LIBRARY:
+ case cmTarget::INTERFACE_LIBRARY:
case cmTarget::UNKNOWN_LIBRARY:
break;
case cmTarget::EXECUTABLE:
@@ -277,7 +278,7 @@ int cmCoreTryCompile::TryCompileCode(std::vector<std::string> const& argv)
sourceDirectory = this->BinaryDirectory.c_str();
// now create a CMakeLists.txt file in that directory
- FILE *fout = fopen(outFileName.c_str(),"w");
+ FILE *fout = cmsys::SystemTools::Fopen(outFileName.c_str(),"w");
if (!fout)
{
cmOStringStream e;
@@ -294,7 +295,7 @@ int cmCoreTryCompile::TryCompileCode(std::vector<std::string> const& argv)
cmVersion::GetPatchVersion(), cmVersion::GetTweakVersion());
if(def)
{
- fprintf(fout, "SET(CMAKE_MODULE_PATH %s)\n", def);
+ fprintf(fout, "set(CMAKE_MODULE_PATH %s)\n", def);
}
std::string projectLangs;
@@ -307,35 +308,35 @@ int cmCoreTryCompile::TryCompileCode(std::vector<std::string> const& argv)
if(const char* rulesOverridePath =
this->Makefile->GetDefinition(rulesOverrideLang.c_str()))
{
- fprintf(fout, "SET(%s \"%s\")\n",
+ fprintf(fout, "set(%s \"%s\")\n",
rulesOverrideLang.c_str(), rulesOverridePath);
}
else if(const char* rulesOverridePath2 =
this->Makefile->GetDefinition(rulesOverrideBase.c_str()))
{
- fprintf(fout, "SET(%s \"%s\")\n",
+ fprintf(fout, "set(%s \"%s\")\n",
rulesOverrideBase.c_str(), rulesOverridePath2);
}
}
- fprintf(fout, "PROJECT(CMAKE_TRY_COMPILE%s)\n", projectLangs.c_str());
- fprintf(fout, "SET(CMAKE_VERBOSE_MAKEFILE 1)\n");
+ fprintf(fout, "project(CMAKE_TRY_COMPILE%s)\n", projectLangs.c_str());
+ fprintf(fout, "set(CMAKE_VERBOSE_MAKEFILE 1)\n");
for(std::set<std::string>::iterator li = testLangs.begin();
li != testLangs.end(); ++li)
{
std::string langFlags = "CMAKE_" + *li + "_FLAGS";
const char* flags = this->Makefile->GetDefinition(langFlags.c_str());
- fprintf(fout, "SET(CMAKE_%s_FLAGS %s)\n", li->c_str(),
+ fprintf(fout, "set(CMAKE_%s_FLAGS %s)\n", li->c_str(),
lg->EscapeForCMake(flags?flags:"").c_str());
- fprintf(fout, "SET(CMAKE_%s_FLAGS \"${CMAKE_%s_FLAGS}"
+ fprintf(fout, "set(CMAKE_%s_FLAGS \"${CMAKE_%s_FLAGS}"
" ${COMPILE_DEFINITIONS}\")\n", li->c_str(), li->c_str());
}
- fprintf(fout, "INCLUDE_DIRECTORIES(${INCLUDE_DIRECTORIES})\n");
- fprintf(fout, "SET(CMAKE_SUPPRESS_REGENERATION 1)\n");
- fprintf(fout, "LINK_DIRECTORIES(${LINK_DIRECTORIES})\n");
+ fprintf(fout, "include_directories(${INCLUDE_DIRECTORIES})\n");
+ fprintf(fout, "set(CMAKE_SUPPRESS_REGENERATION 1)\n");
+ fprintf(fout, "link_directories(${LINK_DIRECTORIES})\n");
// handle any compile flags we need to pass on
if (compileDefs.size())
{
- fprintf(fout, "ADD_DEFINITIONS( ");
+ fprintf(fout, "add_definitions( ");
for (size_t i = 0; i < compileDefs.size(); ++i)
{
fprintf(fout,"%s ",compileDefs[i].c_str());
@@ -371,8 +372,8 @@ int cmCoreTryCompile::TryCompileCode(std::vector<std::string> const& argv)
}
/* for the TRY_COMPILEs we want to be able to specify the architecture.
- So the user can set CMAKE_OSX_ARCHITECTURE to i386;ppc and then set
- CMAKE_TRY_COMPILE_OSX_ARCHITECTURE first to i386 and then to ppc to
+ So the user can set CMAKE_OSX_ARCHITECTURES to i386;ppc and then set
+ CMAKE_TRY_COMPILE_OSX_ARCHITECTURES first to i386 and then to ppc to
have the tests run for each specific architecture. Since
cmLocalGenerator doesn't allow building for "the other"
architecture only via CMAKE_OSX_ARCHITECTURES.
@@ -404,16 +405,51 @@ int cmCoreTryCompile::TryCompileCode(std::vector<std::string> const& argv)
flag += this->Makefile->GetSafeDefinition("CMAKE_OSX_DEPLOYMENT_TARGET");
cmakeFlags.push_back(flag);
}
+ if (const char *cxxDef
+ = this->Makefile->GetDefinition("CMAKE_CXX_COMPILER_TARGET"))
+ {
+ std::string flag="-DCMAKE_CXX_COMPILER_TARGET=";
+ flag += cxxDef;
+ cmakeFlags.push_back(flag);
+ }
+ if (const char *cDef
+ = this->Makefile->GetDefinition("CMAKE_C_COMPILER_TARGET"))
+ {
+ std::string flag="-DCMAKE_C_COMPILER_TARGET=";
+ flag += cDef;
+ cmakeFlags.push_back(flag);
+ }
+ if (const char *tcxxDef = this->Makefile->GetDefinition(
+ "CMAKE_CXX_COMPILER_EXTERNAL_TOOLCHAIN"))
+ {
+ std::string flag="-DCMAKE_CXX_COMPILER_EXTERNAL_TOOLCHAIN=";
+ flag += tcxxDef;
+ cmakeFlags.push_back(flag);
+ }
+ if (const char *tcDef = this->Makefile->GetDefinition(
+ "CMAKE_C_COMPILER_EXTERNAL_TOOLCHAIN"))
+ {
+ std::string flag="-DCMAKE_C_COMPILER_EXTERNAL_TOOLCHAIN=";
+ flag += tcDef;
+ cmakeFlags.push_back(flag);
+ }
+ if (const char *rootDef
+ = this->Makefile->GetDefinition("CMAKE_SYSROOT"))
+ {
+ std::string flag="-DCMAKE_SYSROOT=";
+ flag += rootDef;
+ cmakeFlags.push_back(flag);
+ }
if(this->Makefile->GetDefinition("CMAKE_POSITION_INDEPENDENT_CODE")!=0)
{
- fprintf(fout, "SET(CMAKE_POSITION_INDEPENDENT_CODE \"ON\")\n");
+ fprintf(fout, "set(CMAKE_POSITION_INDEPENDENT_CODE \"ON\")\n");
}
/* Put the executable at a known location (for COPY_FILE). */
- fprintf(fout, "SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY \"%s\")\n",
+ fprintf(fout, "set(CMAKE_RUNTIME_OUTPUT_DIRECTORY \"%s\")\n",
this->BinaryDirectory.c_str());
/* Create the actual executable. */
- fprintf(fout, "ADD_EXECUTABLE(%s", targetName);
+ fprintf(fout, "add_executable(%s", targetName);
for(std::vector<std::string>::iterator si = sources.begin();
si != sources.end(); ++si)
{
@@ -429,11 +465,11 @@ int cmCoreTryCompile::TryCompileCode(std::vector<std::string> const& argv)
if (useOldLinkLibs)
{
fprintf(fout,
- "TARGET_LINK_LIBRARIES(%s ${LINK_LIBRARIES})\n",targetName);
+ "target_link_libraries(%s ${LINK_LIBRARIES})\n",targetName);
}
else
{
- fprintf(fout, "TARGET_LINK_LIBRARIES(%s %s)\n",
+ fprintf(fout, "target_link_libraries(%s %s)\n",
targetName,
libsToLink.c_str());
}
@@ -549,15 +585,20 @@ void cmCoreTryCompile::CleanupFiles(const char* binDir)
}
else
{
+#ifdef _WIN32
// Sometimes anti-virus software hangs on to new files so we
// cannot delete them immediately. Try a few times.
- int tries = 5;
+ cmSystemTools::WindowsFileRetry retry =
+ cmSystemTools::GetWindowsFileRetry();
while(!cmSystemTools::RemoveFile(fullPath.c_str()) &&
- --tries && cmSystemTools::FileExists(fullPath.c_str()))
+ --retry.Count && cmSystemTools::FileExists(fullPath.c_str()))
{
- cmSystemTools::Delay(500);
+ cmSystemTools::Delay(retry.Delay);
}
- if(tries == 0)
+ if(retry.Count == 0)
+#else
+ if(!cmSystemTools::RemoveFile(fullPath.c_str()))
+#endif
{
std::string m = "Remove failed on file: " + fullPath;
cmSystemTools::ReportLastSystemError(m.c_str());
diff --git a/Source/cmCreateTestSourceList.h b/Source/cmCreateTestSourceList.h
index 3aa0a79..8b1e4de 100644
--- a/Source/cmCreateTestSourceList.h
+++ b/Source/cmCreateTestSourceList.h
@@ -15,7 +15,7 @@
#include "cmCommand.h"
/** \class cmCreateTestSourceList
- * \brief
+ * \brief Test driver generation command
*
*/
@@ -42,46 +42,6 @@ public:
*/
virtual const char* GetName() const {return "create_test_sourcelist";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Create a test driver and source list for building test programs.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " create_test_sourcelist(sourceListName driverName\n"
- " test1 test2 test3\n"
- " EXTRA_INCLUDE include.h\n"
- " FUNCTION function)\n"
- "A test driver is a program that links together many small tests into "
- "a single executable. This is useful when building static executables "
- "with large libraries to shrink the total required size. "
- "The list of source files "
- "needed to build the test driver will be in sourceListName. "
- "DriverName is the name of the test driver program. The rest of "
- "the arguments consist of a list of test source files, can be "
- "semicolon separated. Each test source file should have a function in "
- "it that is the same name as the file with no extension (foo.cxx "
- "should have int foo(int, char*[]);) DriverName will be able to "
- "call each of the "
- "tests by name on the command line. If EXTRA_INCLUDE is specified, "
- "then the next argument is included into the generated file. If "
- "FUNCTION is specified, then the next argument is taken as a function "
- "name that is passed a pointer to ac and av. This can be used to add "
- "extra command line processing to each test. The cmake variable "
- "CMAKE_TESTDRIVER_BEFORE_TESTMAIN can be set to have code that will be "
- "placed directly before calling the test main function. "
- "CMAKE_TESTDRIVER_AFTER_TESTMAIN can be set to have code that will be "
- "placed directly after the call to the test main function.";
- }
-
cmTypeMacro(cmCreateTestSourceList, cmCommand);
};
diff --git a/Source/cmCryptoHash.cxx b/Source/cmCryptoHash.cxx
index a4f6ac4..7f4b10f 100644
--- a/Source/cmCryptoHash.cxx
+++ b/Source/cmCryptoHash.cxx
@@ -12,6 +12,7 @@
#include "cmCryptoHash.h"
#include <cmsys/MD5.h>
+#include <cmsys/FStream.hxx>
#include "cm_sha2.h"
//----------------------------------------------------------------------------
@@ -45,7 +46,7 @@ std::string cmCryptoHash::HashString(const char* input)
//----------------------------------------------------------------------------
std::string cmCryptoHash::HashFile(const char* file)
{
- std::ifstream fin(file, std::ios::in | cmsys_ios_binary);
+ cmsys::ifstream fin(file, std::ios::in | cmsys_ios_binary);
if(!fin)
{
return "";
diff --git a/Source/cmCustomCommand.cxx b/Source/cmCustomCommand.cxx
index 3620a38..b672148 100644
--- a/Source/cmCustomCommand.cxx
+++ b/Source/cmCustomCommand.cxx
@@ -64,7 +64,7 @@ cmCustomCommand& cmCustomCommand::operator=(cmCustomCommand const& r)
}
//----------------------------------------------------------------------------
-cmCustomCommand::cmCustomCommand(cmMakefile* mf,
+cmCustomCommand::cmCustomCommand(cmMakefile const* mf,
const std::vector<std::string>& outputs,
const std::vector<std::string>& depends,
const cmCustomCommandLines& commandLines,
diff --git a/Source/cmCustomCommand.h b/Source/cmCustomCommand.h
index e20d2bf..6851105 100644
--- a/Source/cmCustomCommand.h
+++ b/Source/cmCustomCommand.h
@@ -30,7 +30,7 @@ public:
cmCustomCommand& operator=(cmCustomCommand const& r);
/** Main constructor specifies all information for the command. */
- cmCustomCommand(cmMakefile* mf,
+ cmCustomCommand(cmMakefile const* mf,
const std::vector<std::string>& outputs,
const std::vector<std::string>& depends,
const cmCustomCommandLines& commandLines,
diff --git a/Source/cmCustomCommandGenerator.cxx b/Source/cmCustomCommandGenerator.cxx
index f2f77ee..f24dfa2 100644
--- a/Source/cmCustomCommandGenerator.cxx
+++ b/Source/cmCustomCommandGenerator.cxx
@@ -41,7 +41,7 @@ unsigned int cmCustomCommandGenerator::GetNumberOfCommands() const
std::string cmCustomCommandGenerator::GetCommand(unsigned int c) const
{
std::string const& argv0 = this->CC.GetCommandLines()[c][0];
- cmTarget* target = this->Makefile->FindTargetToUse(argv0.c_str());
+ cmTarget* target = this->Makefile->FindTargetToUse(argv0);
if(target && target->GetType() == cmTarget::EXECUTABLE &&
(target->IsImported() || !this->Makefile->IsOn("CMAKE_CROSSCOMPILING")))
{
diff --git a/Source/cmDefinePropertyCommand.cxx b/Source/cmDefinePropertyCommand.cxx
index 5816829..1ad98af 100644
--- a/Source/cmDefinePropertyCommand.cxx
+++ b/Source/cmDefinePropertyCommand.cxx
@@ -12,7 +12,6 @@
#include "cmDefinePropertyCommand.h"
#include "cmake.h"
-// cmDefinePropertiesCommand
bool cmDefinePropertyCommand
::InitialPass(std::vector<std::string> const& args, cmExecutionStatus &)
{
diff --git a/Source/cmDefinePropertyCommand.h b/Source/cmDefinePropertyCommand.h
index b5175d5..8dc4d96 100644
--- a/Source/cmDefinePropertyCommand.h
+++ b/Source/cmDefinePropertyCommand.h
@@ -34,53 +34,6 @@ public:
*/
virtual const char* GetName() const { return "define_property";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Define and document custom properties.";
- }
-
- /**
- * Longer documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " define_property(<GLOBAL | DIRECTORY | TARGET | SOURCE |\n"
- " TEST | VARIABLE | CACHED_VARIABLE>\n"
- " PROPERTY <name> [INHERITED]\n"
- " BRIEF_DOCS <brief-doc> [docs...]\n"
- " FULL_DOCS <full-doc> [docs...])\n"
- "Define one property in a scope for use with the "
- "set_property and get_property commands. "
- "This is primarily useful to associate documentation with property "
- "names that may be retrieved with the get_property command. "
- "The first argument determines the kind of scope in which the "
- "property should be used. It must be one of the following:\n"
- " GLOBAL = associated with the global namespace\n"
- " DIRECTORY = associated with one directory\n"
- " TARGET = associated with one target\n"
- " SOURCE = associated with one source file\n"
- " TEST = associated with a test named with add_test\n"
- " VARIABLE = documents a CMake language variable\n"
- " CACHED_VARIABLE = documents a CMake cache variable\n"
- "Note that unlike set_property and get_property no actual scope "
- "needs to be given; only the kind of scope is important.\n"
- "The required PROPERTY option is immediately followed by the name "
- "of the property being defined.\n"
- "If the INHERITED option then the get_property command will chain "
- "up to the next higher scope when the requested property is not "
- "set in the scope given to the command. "
- "DIRECTORY scope chains to GLOBAL. "
- "TARGET, SOURCE, and TEST chain to DIRECTORY.\n"
- "The BRIEF_DOCS and FULL_DOCS options are followed by strings to be "
- "associated with the property as its brief and full documentation. "
- "Corresponding options to the get_property command will retrieve the "
- "documentation.";
- }
-
cmTypeMacro(cmDefinePropertyCommand, cmCommand);
private:
std::string PropertyName;
diff --git a/Source/cmDepends.cxx b/Source/cmDepends.cxx
index 74a0ccb..1a0e93f 100644
--- a/Source/cmDepends.cxx
+++ b/Source/cmDepends.cxx
@@ -17,6 +17,7 @@
#include "cmSystemTools.h"
#include "cmFileTimeComparison.h"
#include <string.h>
+#include <cmsys/FStream.hxx>
//----------------------------------------------------------------------------
cmDepends::cmDepends(cmLocalGenerator* lg, const char* targetDir):
@@ -103,7 +104,7 @@ bool cmDepends::Check(const char *makeFile, const char *internalFile,
// Check whether dependencies must be regenerated.
bool okay = true;
- std::ifstream fin(internalFile);
+ cmsys::ifstream fin(internalFile);
if(!(fin && this->CheckDependencies(fin, internalFile, validDeps)))
{
// Clear all dependencies so they will be regenerated.
diff --git a/Source/cmDependsC.cxx b/Source/cmDependsC.cxx
index a252a1a..4fc5efb 100644
--- a/Source/cmDependsC.cxx
+++ b/Source/cmDependsC.cxx
@@ -15,6 +15,7 @@
#include "cmLocalGenerator.h"
#include "cmMakefile.h"
#include "cmSystemTools.h"
+#include <cmsys/FStream.hxx>
#include <ctype.h> // isspace
@@ -246,7 +247,7 @@ bool cmDependsC::WriteDependencies(const std::set<std::string>& sources,
// Try to scan the file. Just leave it out if we cannot find
// it.
- std::ifstream fin(fullName.c_str());
+ cmsys::ifstream fin(fullName.c_str());
if(fin)
{
// Add this file as a dependency.
@@ -291,7 +292,7 @@ void cmDependsC::ReadCacheFile()
{
return;
}
- std::ifstream fin(this->CacheFileName.c_str());
+ cmsys::ifstream fin(this->CacheFileName.c_str());
if(!fin)
{
return;
@@ -380,7 +381,7 @@ void cmDependsC::WriteCacheFile() const
{
return;
}
- std::ofstream cacheOut(this->CacheFileName.c_str());
+ cmsys::ofstream cacheOut(this->CacheFileName.c_str());
if(!cacheOut)
{
return;
diff --git a/Source/cmDependsFortran.cxx b/Source/cmDependsFortran.cxx
index e41e5ea..d5472a1 100644
--- a/Source/cmDependsFortran.cxx
+++ b/Source/cmDependsFortran.cxx
@@ -17,7 +17,7 @@
#include "cmGeneratedFileStream.h"
#include "cmDependsFortranParser.h" /* Interface to parser object. */
-
+#include <cmsys/FStream.hxx>
#include <assert.h>
#include <stack>
@@ -356,7 +356,7 @@ void cmDependsFortran::LocateModules()
{
std::string targetDir = cmSystemTools::GetFilenamePath(*i);
std::string fname = targetDir + "/fortran.internal";
- std::ifstream fin(fname.c_str());
+ cmsys::ifstream fin(fname.c_str());
if(fin)
{
this->MatchRemoteModules(fin, targetDir.c_str());
@@ -700,7 +700,7 @@ bool cmDependsFortran::CopyModule(const std::vector<std::string>& args)
// is later used for longer sequences it should be re-written using an
// efficient string search algorithm such as Boyer-Moore.
static
-bool cmDependsFortranStreamContainsSequence(std::ifstream& ifs,
+bool cmDependsFortranStreamContainsSequence(std::istream& ifs,
const char* seq, int len)
{
assert(len > 0);
@@ -733,8 +733,8 @@ bool cmDependsFortranStreamContainsSequence(std::ifstream& ifs,
//----------------------------------------------------------------------------
// Helper function to compare the remaining content in two streams.
-static bool cmDependsFortranStreamsDiffer(std::ifstream& ifs1,
- std::ifstream& ifs2)
+static bool cmDependsFortranStreamsDiffer(std::istream& ifs1,
+ std::istream& ifs2)
{
// Compare the remaining content.
for(;;)
@@ -799,11 +799,11 @@ bool cmDependsFortran::ModulesDiffer(const char* modFile,
}
#if defined(_WIN32) || defined(__CYGWIN__)
- std::ifstream finModFile(modFile, std::ios::in | std::ios::binary);
- std::ifstream finStampFile(stampFile, std::ios::in | std::ios::binary);
+ cmsys::ifstream finModFile(modFile, std::ios::in | std::ios::binary);
+ cmsys::ifstream finStampFile(stampFile, std::ios::in | std::ios::binary);
#else
- std::ifstream finModFile(modFile, std::ios::in);
- std::ifstream finStampFile(stampFile, std::ios::in);
+ cmsys::ifstream finModFile(modFile, std::ios::in);
+ cmsys::ifstream finStampFile(stampFile, std::ios::in);
#endif
if(!finModFile || !finStampFile)
{
@@ -944,7 +944,7 @@ bool cmDependsFortranParser_FilePush(cmDependsFortranParser* parser,
{
// Open the new file and push it onto the stack. Save the old
// buffer with it on the stack.
- if(FILE* file = fopen(fname, "rb"))
+ if(FILE* file = cmsys::SystemTools::Fopen(fname, "rb"))
{
YY_BUFFER_STATE current =
cmDependsFortranLexer_GetCurrentBuffer(parser->Scanner);
diff --git a/Source/cmDependsFortranLexer.cxx b/Source/cmDependsFortranLexer.cxx
index 924d9d2..1eff1e4 100644
--- a/Source/cmDependsFortranLexer.cxx
+++ b/Source/cmDependsFortranLexer.cxx
@@ -2165,7 +2165,7 @@ void cmDependsFortran_yyset_extra (YY_EXTRA_TYPE user_defined , yyscan_t yyscan
}
/** Set the current line number.
- * @param line_number
+ * @param line_number The line number to set.
* @param yyscanner The scanner object.
*/
void cmDependsFortran_yyset_lineno (int line_number , yyscan_t yyscanner)
@@ -2180,7 +2180,7 @@ void cmDependsFortran_yyset_lineno (int line_number , yyscan_t yyscanner)
}
/** Set the current column.
- * @param line_number
+ * @param column_no The column number to set.
* @param yyscanner The scanner object.
*/
void cmDependsFortran_yyset_column (int column_no , yyscan_t yyscanner)
diff --git a/Source/cmDependsJavaLexer.cxx b/Source/cmDependsJavaLexer.cxx
index 0af44b0..1e505a5 100644
--- a/Source/cmDependsJavaLexer.cxx
+++ b/Source/cmDependsJavaLexer.cxx
@@ -2330,7 +2330,7 @@ void cmDependsJava_yyset_extra (YY_EXTRA_TYPE user_defined , yyscan_t yyscanner
}
/** Set the current line number.
- * @param line_number
+ * @param line_number The line number to set.
* @param yyscanner The scanner object.
*/
void cmDependsJava_yyset_lineno (int line_number , yyscan_t yyscanner)
@@ -2345,7 +2345,7 @@ void cmDependsJava_yyset_lineno (int line_number , yyscan_t yyscanner)
}
/** Set the current column.
- * @param column_no
+ * @param column_no The column number to set.
* @param yyscanner The scanner object.
*/
void cmDependsJava_yyset_column (int column_no , yyscan_t yyscanner)
diff --git a/Source/cmDependsJavaParserHelper.cxx b/Source/cmDependsJavaParserHelper.cxx
index 6136baa..c30d4bd 100644
--- a/Source/cmDependsJavaParserHelper.cxx
+++ b/Source/cmDependsJavaParserHelper.cxx
@@ -13,6 +13,7 @@
#include "cmSystemTools.h"
#include "cmDependsJavaLexer.h"
+#include <cmsys/FStream.hxx>
int cmDependsJava_yyparse( yyscan_t yyscanner );
@@ -412,7 +413,7 @@ int cmDependsJavaParserHelper::ParseFile(const char* file)
{
return 0;
}
- std::ifstream ifs(file);
+ cmsys::ifstream ifs(file);
if ( !ifs )
{
return 0;
diff --git a/Source/cmDocumentCompileDefinitions.h b/Source/cmDocumentCompileDefinitions.h
deleted file mode 100644
index d15bd6d..0000000
--- a/Source/cmDocumentCompileDefinitions.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2011 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-#ifndef cmDocumentCompileDefinitions_h
-#define cmDocumentCompileDefinitions_h
-
-#define CM_DOCUMENT_COMPILE_DEFINITIONS_DISCLAIMER \
- "Disclaimer: Most native build tools have poor support for escaping " \
- "certain values. CMake has work-arounds for many cases but some " \
- "values may just not be possible to pass correctly. If a value " \
- "does not seem to be escaped correctly, do not attempt to " \
- "work-around the problem by adding escape sequences to the value. " \
- "Your work-around may break in a future version of CMake that " \
- "has improved escape support. Instead consider defining the macro " \
- "in a (configured) header file. Then report the limitation. " \
- "Known limitations include:\n" \
- " # - broken almost everywhere\n" \
- " ; - broken in VS IDE 7.0 and Borland Makefiles\n" \
- " , - broken in VS IDE\n" \
- " % - broken in some cases in NMake\n" \
- " & | - broken in some cases on MinGW\n" \
- " ^ < > \\\" - broken in most Make tools on Windows\n" \
- "CMake does not reject these values outright because they do work " \
- "in some cases. Use with caution. "
-
-#endif
diff --git a/Source/cmDocumentGeneratorExpressions.h b/Source/cmDocumentGeneratorExpressions.h
deleted file mode 100644
index 46cd77e..0000000
--- a/Source/cmDocumentGeneratorExpressions.h
+++ /dev/null
@@ -1,98 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2010 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-#ifndef cmDocumentGeneratorExpressions_h
-#define cmDocumentGeneratorExpressions_h
-
-#define CM_DOCUMENT_ADD_TEST_GENERATOR_EXPRESSIONS \
- "Generator expressions are evaluated during build system generation " \
- "to produce information specific to each build configuration. " \
- "Valid expressions are:\n" \
- " $<0:...> = empty string (ignores \"...\")\n" \
- " $<1:...> = content of \"...\"\n" \
- " $<CONFIG:cfg> = '1' if config is \"cfg\", else '0'\n" \
- " $<CONFIGURATION> = configuration name\n" \
- " $<BOOL:...> = '1' if the '...' is true, else '0'\n" \
- " $<STREQUAL:a,b> = '1' if a is STREQUAL b, else '0'\n" \
- " $<ANGLE-R> = A literal '>'. Used to compare " \
- "strings which contain a '>' for example.\n" \
- " $<COMMA> = A literal ','. Used to compare " \
- "strings which contain a ',' for example.\n" \
- " $<SEMICOLON> = A literal ';'. Used to prevent " \
- "list expansion on an argument with ';'.\n" \
- " $<JOIN:list,...> = joins the list with the content of " \
- "\"...\"\n" \
- " $<TARGET_NAME:...> = Marks ... as being the name of a " \
- "target. This is required if exporting targets to multiple " \
- "dependent export sets. The '...' must be a literal name of a " \
- "target- it may not contain generator expressions.\n" \
- " $<INSTALL_INTERFACE:...> = content of \"...\" when the property " \
- "is exported using install(EXPORT), and empty otherwise.\n" \
- " $<BUILD_INTERFACE:...> = content of \"...\" when the property " \
- "is exported using export(), or when the target is used by another " \
- "target in the same buildsystem. Expands to the empty string " \
- "otherwise.\n" \
- " $<C_COMPILER_ID> = The CMake-id of the C compiler " \
- "used.\n" \
- " $<C_COMPILER_ID:comp> = '1' if the CMake-id of the C " \
- "compiler matches comp, otherwise '0'.\n" \
- " $<CXX_COMPILER_ID> = The CMake-id of the CXX compiler " \
- "used.\n" \
- " $<CXX_COMPILER_ID:comp> = '1' if the CMake-id of the CXX " \
- "compiler matches comp, otherwise '0'.\n" \
- " $<VERSION_GREATER:v1,v2> = '1' if v1 is a version greater than " \
- "v2, else '0'.\n" \
- " $<VERSION_LESS:v1,v2> = '1' if v1 is a version less than v2, " \
- "else '0'.\n" \
- " $<VERSION_EQUAL:v1,v2> = '1' if v1 is the same version as v2, " \
- "else '0'.\n" \
- " $<C_COMPILER_VERSION> = The version of the C compiler used.\n" \
- " $<C_COMPILER_VERSION:ver> = '1' if the version of the C " \
- "compiler matches ver, otherwise '0'.\n" \
- " $<CXX_COMPILER_VERSION> = The version of the CXX compiler " \
- "used.\n" \
- " $<CXX_COMPILER_VERSION:ver> = '1' if the version of the CXX " \
- "compiler matches ver, otherwise '0'.\n" \
- " $<TARGET_FILE:tgt> = main file (.exe, .so.1.2, .a)\n" \
- " $<TARGET_LINKER_FILE:tgt> = file used to link (.a, .lib, .so)\n" \
- " $<TARGET_SONAME_FILE:tgt> = file with soname (.so.3)\n" \
- "where \"tgt\" is the name of a target. " \
- "Target file expressions produce a full path, but _DIR and _NAME " \
- "versions can produce the directory and file name components:\n" \
- " $<TARGET_FILE_DIR:tgt>/$<TARGET_FILE_NAME:tgt>\n" \
- " $<TARGET_LINKER_FILE_DIR:tgt>/$<TARGET_LINKER_FILE_NAME:tgt>\n" \
- " $<TARGET_SONAME_FILE_DIR:tgt>/$<TARGET_SONAME_FILE_NAME:tgt>\n" \
- "\n" \
- " $<TARGET_PROPERTY:tgt,prop> = The value of the property prop " \
- "on the target tgt.\n" \
- "Note that tgt is not added as a dependency of the target this " \
- "expression is evaluated on.\n" \
- " $<TARGET_POLICY:pol> = '1' if the policy was NEW when " \
- "the 'head' target was created, else '0'. If the policy was not " \
- "set, the warning message for the policy will be emitted. This " \
- "generator expression only works for a subset of policies.\n" \
- " $<INSTALL_PREFIX> = Content of the install prefix when " \
- "the target is exported via INSTALL(EXPORT) and empty otherwise.\n" \
- "Boolean expressions:\n" \
- " $<AND:?[,?]...> = '1' if all '?' are '1', else '0'\n" \
- " $<OR:?[,?]...> = '0' if all '?' are '0', else '1'\n" \
- " $<NOT:?> = '0' if '?' is '1', else '1'\n" \
- "where '?' is always either '0' or '1'.\n" \
- ""
-
-#define CM_DOCUMENT_COMMAND_GENERATOR_EXPRESSIONS \
- CM_DOCUMENT_ADD_TEST_GENERATOR_EXPRESSIONS \
- "Expressions with an implicit 'this' target:\n" \
- " $<TARGET_PROPERTY:prop> = The value of the property prop on " \
- "the target on which the generator expression is evaluated.\n" \
- ""
-
-#endif
diff --git a/Source/cmDocumentLocationUndefined.h b/Source/cmDocumentLocationUndefined.h
deleted file mode 100644
index 9aecf21..0000000
--- a/Source/cmDocumentLocationUndefined.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2011 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-#ifndef cmDocumentLocationUndefined_h
-#define cmDocumentLocationUndefined_h
-
-#define CM_LOCATION_UNDEFINED_BEHAVIOR(action) \
- "\n" \
- "Do not set properties that affect the location of a target after " \
- action ". These include properties whose names match " \
- "\"(RUNTIME|LIBRARY|ARCHIVE)_OUTPUT_(NAME|DIRECTORY)(_<CONFIG>)?\", " \
- "\"(IMPLIB_)?(PREFIX|SUFFIX)\", or \"LINKER_LANGUAGE\". " \
- "Failure to follow this rule is not diagnosed and leaves the location " \
- "of the target undefined."
-
-#endif
diff --git a/Source/cmDocumentVariables.cxx b/Source/cmDocumentVariables.cxx
deleted file mode 100644
index c4f6216..0000000
--- a/Source/cmDocumentVariables.cxx
+++ /dev/null
@@ -1,2030 +0,0 @@
-#include "cmDocumentVariables.h"
-#include "cmake.h"
-
-#include <cmsys/ios/sstream>
-
-void cmDocumentVariables::DefineVariables(cmake* cm)
-{
- // Subsection: variables defined by cmake, that give
- // information about the project, and cmake
- cm->DefineProperty
- ("CMAKE_AR", cmProperty::VARIABLE,
- "Name of archiving tool for static libraries.",
- "This specifies the name of the program that creates archive "
- "or static libraries.",false,
- "Variables that Provide Information");
-
- cm->DefineProperty
- ("CMAKE_COMMAND", cmProperty::VARIABLE,
- "The full path to the cmake executable.",
- "This is the full path to the CMake executable cmake which is "
- "useful from custom commands that want to use the cmake -E "
- "option for portable system commands. "
- "(e.g. /usr/local/bin/cmake", false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_BINARY_DIR", cmProperty::VARIABLE,
- "The path to the top level of the build tree.",
- "This is the full path to the top level of the current CMake "
- "build tree. For an in-source build, this would be the same "
- "as CMAKE_SOURCE_DIR.", false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_SOURCE_DIR", cmProperty::VARIABLE,
- "The path to the top level of the source tree.",
- "This is the full path to the top level of the current CMake "
- "source tree. For an in-source build, this would be the same "
- "as CMAKE_BINARY_DIR.", false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_CURRENT_BINARY_DIR", cmProperty::VARIABLE,
- "The path to the binary directory currently being processed.",
- "This the full path to the build directory that is currently "
- "being processed by cmake. Each directory added by "
- "add_subdirectory will create a binary directory in the build "
- "tree, and as it is being processed this variable will be set. "
- "For in-source builds this is the current source directory "
- "being processed.", false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_CURRENT_SOURCE_DIR", cmProperty::VARIABLE,
- "The path to the source directory currently being processed.",
- "This the full path to the source directory that is currently "
- "being processed by cmake. ", false,
- "Variables that Provide Information");
-
- cm->DefineProperty
- ("CMAKE_CURRENT_LIST_FILE", cmProperty::VARIABLE,
- "Full path to the listfile currently being processed.",
- "As CMake processes the listfiles in your project this "
- "variable will always be set to the one currently being "
- "processed. "
- "The value has dynamic scope. "
- "When CMake starts processing commands in a source file "
- "it sets this variable to the location of the file. "
- "When CMake finishes processing commands from the file it "
- "restores the previous value. "
- "Therefore the value of the variable inside a macro or "
- "function is the file invoking the bottom-most entry on "
- "the call stack, not the file containing the macro or "
- "function definition."
- "\n"
- "See also CMAKE_PARENT_LIST_FILE.",false,
- "Variables that Provide Information");
-
- cm->DefineProperty
- ("CMAKE_CURRENT_LIST_LINE", cmProperty::VARIABLE,
- "The line number of the current file being processed.",
- "This is the line number of the file currently being"
- " processed by cmake.", false,
- "Variables that Provide Information");
-
- cm->DefineProperty
- ("CMAKE_CURRENT_LIST_DIR", cmProperty::VARIABLE,
- "Full directory of the listfile currently being processed.",
- "As CMake processes the listfiles in your project this "
- "variable will always be set to the directory where the listfile which "
- "is currently being processed (CMAKE_CURRENT_LIST_FILE) is located. "
- "The value has dynamic scope. "
- "When CMake starts processing commands in a source file "
- "it sets this variable to the directory where this file is located. "
- "When CMake finishes processing commands from the file it "
- "restores the previous value. "
- "Therefore the value of the variable inside a macro or "
- "function is the directory of the file invoking the bottom-most entry on "
- "the call stack, not the directory of the file containing the macro or "
- "function definition."
- "\n"
- "See also CMAKE_CURRENT_LIST_FILE.",false,
- "Variables that Provide Information");
-
- cm->DefineProperty
- ("CMAKE_SCRIPT_MODE_FILE", cmProperty::VARIABLE,
- "Full path to the -P script file currently being processed.",
- "When run in -P script mode, CMake sets this variable to the full "
- "path of the script file. When run to configure a CMakeLists.txt "
- "file, this variable is not set.", false,
- "Variables that Provide Information");
-
- cm->DefineProperty
- ("CMAKE_ARGC", cmProperty::VARIABLE,
- "Number of command line arguments passed to CMake in script mode.",
- "When run in -P script mode, CMake sets this variable to the number "
- "of command line arguments. See also CMAKE_ARGV0, 1, 2 ...", false,
- "Variables that Provide Information");
-
- cm->DefineProperty
- ("CMAKE_ARGV0", cmProperty::VARIABLE,
- "Command line argument passed to CMake in script mode.",
- "When run in -P script mode, CMake sets this variable to "
- "the first command line argument. It then also sets CMAKE_ARGV1, "
- "CMAKE_ARGV2, ... and so on, up to the number of command line arguments "
- "given. See also CMAKE_ARGC.", false,
- "Variables that Provide Information");
-
- cm->DefineProperty
- ("CMAKE_BUILD_TOOL", cmProperty::VARIABLE,
- "Tool used for the actual build process.",
- "This variable is set to the program that will be"
- " needed to build the output of CMake. If the "
- "generator selected was Visual Studio 6, the "
- "CMAKE_BUILD_TOOL will be set to msdev, for "
- "Unix Makefiles it will be set to make or gmake, "
- "and for Visual Studio 7 it set to devenv. For "
- "NMake Makefiles the value is nmake. This can be "
- "useful for adding special flags and commands based"
- " on the final build environment.", false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_CROSSCOMPILING", cmProperty::VARIABLE,
- "Is CMake currently cross compiling.",
- "This variable will be set to true by CMake if CMake is cross "
- "compiling. Specifically if the build platform is different "
- "from the target platform.", false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_CACHEFILE_DIR", cmProperty::VARIABLE,
- "The directory with the CMakeCache.txt file.",
- "This is the full path to the directory that has the "
- "CMakeCache.txt file in it. This is the same as "
- "CMAKE_BINARY_DIR.", false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_CACHE_MAJOR_VERSION", cmProperty::VARIABLE,
- "Major version of CMake used to create the CMakeCache.txt file",
- "This stores the major version of CMake used to "
- "write a CMake cache file. It is only different when "
- "a different version of CMake is run on a previously "
- "created cache file.", false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_CACHE_MINOR_VERSION", cmProperty::VARIABLE,
- "Minor version of CMake used to create the CMakeCache.txt file",
- "This stores the minor version of CMake used to "
- "write a CMake cache file. It is only different when "
- "a different version of CMake is run on a previously "
- "created cache file.", false,
- "Variables that Provide Information");
-
- cm->DefineProperty
- ("CMAKE_CACHE_PATCH_VERSION", cmProperty::VARIABLE,
- "Patch version of CMake used to create the CMakeCache.txt file",
- "This stores the patch version of CMake used to "
- "write a CMake cache file. It is only different when "
- "a different version of CMake is run on a previously "
- "created cache file.", false,
- "Variables that Provide Information");
-
- cm->DefineProperty
- ("CMAKE_CFG_INTDIR", cmProperty::VARIABLE,
- "Build-time reference to per-configuration output subdirectory.",
- "For native build systems supporting multiple configurations "
- "in the build tree (such as Visual Studio and Xcode), "
- "the value is a reference to a build-time variable specifying "
- "the name of the per-configuration output subdirectory. "
- "On Makefile generators this evaluates to \".\" because there "
- "is only one configuration in a build tree. "
- "Example values:\n"
- " $(IntDir) = Visual Studio 6\n"
- " $(OutDir) = Visual Studio 7, 8, 9\n"
- " $(Configuration) = Visual Studio 10\n"
- " $(CONFIGURATION) = Xcode\n"
- " . = Make-based tools\n"
- "Since these values are evaluated by the native build system, this "
- "variable is suitable only for use in command lines that will be "
- "evaluated at build time. "
- "Example of intended usage:\n"
- " add_executable(mytool mytool.c)\n"
- " add_custom_command(\n"
- " OUTPUT out.txt\n"
- " COMMAND ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/mytool\n"
- " ${CMAKE_CURRENT_SOURCE_DIR}/in.txt out.txt\n"
- " DEPENDS mytool in.txt\n"
- " )\n"
- " add_custom_target(drive ALL DEPENDS out.txt)\n"
- "Note that CMAKE_CFG_INTDIR is no longer necessary for this purpose "
- "but has been left for compatibility with existing projects. "
- "Instead add_custom_command() recognizes executable target names in "
- "its COMMAND option, so "
- "\"${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/mytool\" can be "
- "replaced by just \"mytool\"."
- "\n"
- "This variable is read-only. Setting it is undefined behavior. "
- "In multi-configuration build systems the value of this variable "
- "is passed as the value of preprocessor symbol \"CMAKE_INTDIR\" to "
- "the compilation of all source files.",false,
- "Variables that Provide Information");
-
- cm->DefineProperty
- ("CMAKE_CTEST_COMMAND", cmProperty::VARIABLE,
- "Full path to ctest command installed with cmake.",
- "This is the full path to the CTest executable ctest "
- "which is useful from custom commands that want "
- "to use the cmake -E option for portable system "
- "commands.",false,
- "Variables that Provide Information");
-
- cm->DefineProperty
- ("CMAKE_DL_LIBS", cmProperty::VARIABLE,
- "Name of library containing dlopen and dlcose.",
- "The name of the library that has dlopen and "
- "dlclose in it, usually -ldl on most UNIX machines.",false,
- "Variables that Provide Information");
-
- cm->DefineProperty
- ("CMAKE_EDIT_COMMAND", cmProperty::VARIABLE,
- "Full path to cmake-gui or ccmake.",
- "This is the full path to the CMake executable "
- "that can graphically edit the cache. For example,"
- " cmake-gui, ccmake, or cmake -i.",false,
- "Variables that Provide Information");
-
- cm->DefineProperty
- ("CMAKE_GENERATOR", cmProperty::VARIABLE,
- "The generator used to build the project.",
- "The name of the generator that is being used to generate the "
- "build files. (e.g. \"Unix Makefiles\", "
- "\"Visual Studio 6\", etc.)",false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_EXTRA_GENERATOR", cmProperty::VARIABLE,
- "The extra generator used to build the project.",
- "When using the Eclipse, CodeBlocks or KDevelop generators, CMake "
- "generates Makefiles (CMAKE_GENERATOR) and additionally project files "
- "for the respective IDE. This IDE project file generator is stored in "
- "CMAKE_EXTRA_GENERATOR (e.g. \"Eclipse CDT4\").",false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_GENERATOR_TOOLSET", cmProperty::VARIABLE,
- "Native build system toolset name specified by user.",
- "Some CMake generators support a toolset name to be given to the "
- "native build system to choose a compiler. "
- "If the user specifies a toolset name (e.g. via the cmake -T option) "
- "the value will be available in this variable.",false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_HOME_DIRECTORY", cmProperty::VARIABLE,
- "Path to top of source tree.",
- "This is the path to the top level of the source tree.",false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_LINK_LIBRARY_SUFFIX", cmProperty::VARIABLE,
- "The suffix for libraries that you link to.",
- "The suffix to use for the end of a library filename, .lib on Windows."
- ,false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_EXECUTABLE_SUFFIX", cmProperty::VARIABLE,
- "The suffix for executables on this platform.",
- "The suffix to use for the end of an executable filename if any, "
- ".exe on Windows."
- "\n"
- "CMAKE_EXECUTABLE_SUFFIX_<LANG> overrides this for language <LANG>."
- ,false, "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_MAJOR_VERSION", cmProperty::VARIABLE,
- "The Major version of cmake (i.e. the 2 in 2.X.X)",
- "This specifies the major version of the CMake executable"
- " being run.",false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_MAKE_PROGRAM", cmProperty::VARIABLE,
- "See CMAKE_BUILD_TOOL.",
- "This variable is around for backwards compatibility, "
- "see CMAKE_BUILD_TOOL.",false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_VS_PLATFORM_TOOLSET", cmProperty::VARIABLE,
- "Visual Studio Platform Toolset name.",
- "VS 10 and above use MSBuild under the hood and support multiple "
- "compiler toolchains. "
- "CMake may specify a toolset explicitly, such as \"v110\" for "
- "VS 11 or \"Windows7.1SDK\" for 64-bit support in VS 10 Express. "
- "CMake provides the name of the chosen toolset in this variable."
- ,false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_XCODE_PLATFORM_TOOLSET", cmProperty::VARIABLE,
- "Xcode compiler selection.",
- "Xcode supports selection of a compiler from one of the installed "
- "toolsets. "
- "CMake provides the name of the chosen toolset in this variable, "
- "if any is explicitly selected (e.g. via the cmake -T option)."
- ,false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_MINOR_VERSION", cmProperty::VARIABLE,
- "The Minor version of cmake (i.e. the 4 in X.4.X).",
- "This specifies the minor version of the CMake"
- " executable being run.",false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_PATCH_VERSION", cmProperty::VARIABLE,
- "The patch version of cmake (i.e. the 3 in X.X.3).",
- "This specifies the patch version of the CMake"
- " executable being run.",false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_TWEAK_VERSION", cmProperty::VARIABLE,
- "The tweak version of cmake (i.e. the 1 in X.X.X.1).",
- "This specifies the tweak version of the CMake executable being run. "
- "Releases use tweak < 20000000 and development versions use the date "
- "format CCYYMMDD for the tweak level."
- ,false, "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_VERSION", cmProperty::VARIABLE,
- "The full version of cmake in major.minor.patch[.tweak[-id]] format.",
- "This specifies the full version of the CMake executable being run. "
- "This variable is defined by versions 2.6.3 and higher. "
- "See variables CMAKE_MAJOR_VERSION, CMAKE_MINOR_VERSION, "
- "CMAKE_PATCH_VERSION, and CMAKE_TWEAK_VERSION "
- "for individual version components. "
- "The [-id] component appears in non-release versions "
- "and may be arbitrary text.", false,
- "Variables that Provide Information");
-
- cm->DefineProperty
- ("CMAKE_PARENT_LIST_FILE", cmProperty::VARIABLE,
- "Full path to the CMake file that included the current one.",
- "While processing a CMake file loaded by include() or find_package() "
- "this variable contains the full path to the file including it. "
- "The top of the include stack is always the CMakeLists.txt for the "
- "current directory. "
- "See also CMAKE_CURRENT_LIST_FILE.",false,
- "Variables that Provide Information");
-
- cm->DefineProperty
- ("CMAKE_PROJECT_NAME", cmProperty::VARIABLE,
- "The name of the current project.",
- "This specifies name of the current project from"
- " the closest inherited PROJECT command.",false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_RANLIB", cmProperty::VARIABLE,
- "Name of randomizing tool for static libraries.",
- "This specifies name of the program that randomizes "
- "libraries on UNIX, not used on Windows, but may be present.",false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_ROOT", cmProperty::VARIABLE,
- "Install directory for running cmake.",
- "This is the install root for the running CMake and"
- " the Modules directory can be found here. This is"
- " commonly used in this format: ${CMAKE_ROOT}/Modules",false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_SIZEOF_VOID_P", cmProperty::VARIABLE,
- "Size of a void pointer.",
- "This is set to the size of a pointer on the machine, "
- "and is determined by a try compile. If a 64 bit size "
- "is found, then the library search path is modified to "
- "look for 64 bit libraries first.",false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_SKIP_RPATH", cmProperty::VARIABLE,
- "If true, do not add run time path information.",
- "If this is set to TRUE, then the rpath information "
- "is not added to compiled executables. The default "
- "is to add rpath information if the platform supports it. "
- "This allows for easy running from the build tree. To omit RPATH "
- "in the install step, but not the build step, use "
- "CMAKE_SKIP_INSTALL_RPATH instead.",false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_SOURCE_DIR", cmProperty::VARIABLE,
- "Source directory for project.",
- "This is the top level source directory for the project. "
- "It corresponds to the source directory given to "
- "cmake-gui or ccmake.",false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_STANDARD_LIBRARIES", cmProperty::VARIABLE,
- "Libraries linked into every executable and shared library.",
- "This is the list of libraries that are linked "
- "into all executables and libraries.",false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_VERBOSE_MAKEFILE", cmProperty::VARIABLE,
- "Create verbose makefiles if on.",
- "This variable defaults to false. You can set "
- "this variable to true to make CMake produce verbose "
- "makefiles that show each command line as it is used.",false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("PROJECT_BINARY_DIR", cmProperty::VARIABLE,
- "Full path to build directory for project.",
- "This is the binary directory of the most recent "
- "PROJECT command.",false,"Variables that Provide Information");
- cm->DefineProperty
- ("PROJECT_NAME", cmProperty::VARIABLE,
- "Name of the project given to the project command.",
- "This is the name given to the most "
- "recent PROJECT command.",false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("PROJECT_SOURCE_DIR", cmProperty::VARIABLE,
- "Top level source directory for the current project.",
- "This is the source directory of the most recent "
- "PROJECT command.",false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("[Project name]_BINARY_DIR", cmProperty::VARIABLE,
- "Top level binary directory for the named project.",
- "A variable is created with the name used in the PROJECT "
- "command, and is the binary directory for the project. "
- " This can be useful when SUBDIR is used to connect "
- "several projects.",false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("[Project name]_SOURCE_DIR", cmProperty::VARIABLE,
- "Top level source directory for the named project.",
- "A variable is created with the name used in the PROJECT "
- "command, and is the source directory for the project."
- " This can be useful when add_subdirectory "
- "is used to connect several projects.",false,
- "Variables that Provide Information");
-
- cm->DefineProperty
- ("CMAKE_IMPORT_LIBRARY_PREFIX", cmProperty::VARIABLE,
- "The prefix for import libraries that you link to.",
- "The prefix to use for the name of an import library if used "
- "on this platform."
- "\n"
- "CMAKE_IMPORT_LIBRARY_PREFIX_<LANG> overrides this for language <LANG>."
- ,false, "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_IMPORT_LIBRARY_SUFFIX", cmProperty::VARIABLE,
- "The suffix for import libraries that you link to.",
- "The suffix to use for the end of an import library filename if used "
- "on this platform."
- "\n"
- "CMAKE_IMPORT_LIBRARY_SUFFIX_<LANG> overrides this for language <LANG>."
- ,false, "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_SHARED_LIBRARY_PREFIX", cmProperty::VARIABLE,
- "The prefix for shared libraries that you link to.",
- "The prefix to use for the name of a shared library, lib on UNIX."
- "\n"
- "CMAKE_SHARED_LIBRARY_PREFIX_<LANG> overrides this for language <LANG>."
- ,false, "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_SHARED_LIBRARY_SUFFIX", cmProperty::VARIABLE,
- "The suffix for shared libraries that you link to.",
- "The suffix to use for the end of a shared library filename, "
- ".dll on Windows."
- "\n"
- "CMAKE_SHARED_LIBRARY_SUFFIX_<LANG> overrides this for language <LANG>."
- ,false, "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_SHARED_MODULE_PREFIX", cmProperty::VARIABLE,
- "The prefix for loadable modules that you link to.",
- "The prefix to use for the name of a loadable module on this platform."
- "\n"
- "CMAKE_SHARED_MODULE_PREFIX_<LANG> overrides this for language <LANG>."
- ,false, "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_SHARED_MODULE_SUFFIX", cmProperty::VARIABLE,
- "The suffix for shared libraries that you link to.",
- "The suffix to use for the end of a loadable module filename "
- "on this platform"
- "\n"
- "CMAKE_SHARED_MODULE_SUFFIX_<LANG> overrides this for language <LANG>."
- ,false, "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_STATIC_LIBRARY_PREFIX", cmProperty::VARIABLE,
- "The prefix for static libraries that you link to.",
- "The prefix to use for the name of a static library, lib on UNIX."
- "\n"
- "CMAKE_STATIC_LIBRARY_PREFIX_<LANG> overrides this for language <LANG>."
- ,false, "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_STATIC_LIBRARY_SUFFIX", cmProperty::VARIABLE,
- "The suffix for static libraries that you link to.",
- "The suffix to use for the end of a static library filename, "
- ".lib on Windows."
- "\n"
- "CMAKE_STATIC_LIBRARY_SUFFIX_<LANG> overrides this for language <LANG>."
- ,false, "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES", cmProperty::VARIABLE,
- "Additional suffixes for shared libraries.",
- "Extensions for shared libraries other than that specified by "
- "CMAKE_SHARED_LIBRARY_SUFFIX, if any. "
- "CMake uses this to recognize external shared library files during "
- "analysis of libraries linked by a target.",
- false,
- "Variables that Provide Information");
- cm->DefineProperty
- ("CMAKE_MINIMUM_REQUIRED_VERSION", cmProperty::VARIABLE,
- "Version specified to cmake_minimum_required command",
- "Variable containing the VERSION component specified in the "
- "cmake_minimum_required command.",
- false,
- "Variables that Provide Information");
-
-
- // Variables defined by cmake, that change the behavior
- // of cmake
-
- cm->DefineProperty
- ("CMAKE_POLICY_DEFAULT_CMP<NNNN>", cmProperty::VARIABLE,
- "Default for CMake Policy CMP<NNNN> when it is otherwise left unset.",
- "Commands cmake_minimum_required(VERSION) and cmake_policy(VERSION) "
- "by default leave policies introduced after the given version unset. "
- "Set CMAKE_POLICY_DEFAULT_CMP<NNNN> to OLD or NEW to specify the "
- "default for policy CMP<NNNN>, where <NNNN> is the policy number."
- "\n"
- "This variable should not be set by a project in CMake code; "
- "use cmake_policy(SET) instead. "
- "Users running CMake may set this variable in the cache "
- "(e.g. -DCMAKE_POLICY_DEFAULT_CMP<NNNN>=<OLD|NEW>) "
- "to set a policy not otherwise set by the project. "
- "Set to OLD to quiet a policy warning while using old behavior "
- "or to NEW to try building the project with new behavior.",
- false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_AUTOMOC_RELAXED_MODE", cmProperty::VARIABLE,
- "Switch between strict and relaxed automoc mode.",
- "By default, automoc behaves exactly as described in the documentation "
- "of the AUTOMOC target property. "
- "When set to TRUE, it accepts more input and tries to find the correct "
- "input file for moc even if it differs from the documented behaviour. "
- "In this mode it e.g. also checks whether a header file is intended to "
- "be processed by moc when a \"foo.moc\" file has been included.\n"
- "Relaxed mode has to be enabled for KDE4 compatibility.",
- false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_INSTALL_DEFAULT_COMPONENT_NAME", cmProperty::VARIABLE,
- "Default component used in install() commands.",
- "If an install() command is used without the COMPONENT argument, "
- "these files will be grouped into a default component. The name of this "
- "default install component will be taken from this variable. "
- "It defaults to \"Unspecified\".",
- false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_FIND_LIBRARY_PREFIXES", cmProperty::VARIABLE,
- "Prefixes to prepend when looking for libraries.",
- "This specifies what prefixes to add to library names when "
- "the find_library command looks for libraries. On UNIX "
- "systems this is typically lib, meaning that when trying "
- "to find the foo library it will look for libfoo.",
- false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_FIND_LIBRARY_SUFFIXES", cmProperty::VARIABLE,
- "Suffixes to append when looking for libraries.",
- "This specifies what suffixes to add to library names when "
- "the find_library command looks for libraries. On Windows "
- "systems this is typically .lib and .dll, meaning that when trying "
- "to find the foo library it will look for foo.dll etc.",
- false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_CONFIGURATION_TYPES", cmProperty::VARIABLE,
- "Specifies the available build types on multi-config generators.",
- "This specifies what build types (configurations) will be available "
- "such as Debug, Release, RelWithDebInfo etc. "
- "This has reasonable defaults on most platforms, "
- "but can be extended to provide other build types. "
- "See also CMAKE_BUILD_TYPE for details of managing configuration data, "
- "and CMAKE_CFG_INTDIR."
- ,false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_BUILD_TYPE", cmProperty::VARIABLE,
- "Specifies the build type on single-configuration generators.",
- "This statically specifies what build type (configuration) "
- "will be built in this build tree. Possible values are "
- "empty, Debug, Release, RelWithDebInfo and MinSizeRel. "
- "This variable is only meaningful to single-configuration generators "
- "(such as make and Ninja) i.e. "
- "those which choose a single configuration "
- "when CMake runs to generate a build tree as opposed to "
- "multi-configuration generators which offer selection of the build "
- "configuration within the generated build environment. "
- "There are many per-config properties and variables "
- "(usually following clean SOME_VAR_<CONFIG> order conventions), "
- "such as CMAKE_C_FLAGS_<CONFIG>, specified as uppercase: "
- "CMAKE_C_FLAGS_[DEBUG|RELEASE|RELWITHDEBINFO|MINSIZEREL]. "
- "For example, in a build tree configured "
- "to build type Debug, CMake will see to having "
- "CMAKE_C_FLAGS_DEBUG settings get added to the CMAKE_C_FLAGS settings. "
- "See also CMAKE_CONFIGURATION_TYPES."
- ,false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_BACKWARDS_COMPATIBILITY", cmProperty::VARIABLE,
- "Version of cmake required to build project",
- "From the point of view of backwards compatibility, this "
- "specifies what version of CMake should be supported. By "
- "default this value is the version number of CMake that "
- "you are running. You can set this to an older version of"
- " CMake to support deprecated commands of CMake in projects"
- " that were written to use older versions of CMake. This "
- "can be set by the user or set at the beginning of a "
- "CMakeLists file.",false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_INSTALL_PREFIX", cmProperty::VARIABLE,
- "Install directory used by install.",
- "If \"make install\" is invoked or INSTALL is built"
- ", this directory is prepended onto all install "
- "directories. This variable defaults to /usr/local"
- " on UNIX and c:/Program Files on Windows.\n"
- "On UNIX one can use the DESTDIR mechanism in order"
- " to relocate the whole installation. "
- "DESTDIR means DESTination DIRectory. It is "
- "commonly used by makefile users "
- "in order to install software at non-default location. "
- "It is usually invoked like this:\n"
- " make DESTDIR=/home/john install\n"
- "which will install the concerned software using the"
- " installation prefix, e.g. \"/usr/local\" prepended with "
- "the DESTDIR value which finally gives \"/home/john/usr/local\".\n"
- "WARNING: DESTDIR may not be used on Windows because installation"
- " prefix usually contains a drive letter like in \"C:/Program Files\""
- " which cannot be prepended with some other prefix."
- "\n"
- "The installation prefix is also added to CMAKE_SYSTEM_PREFIX_PATH "
- "so that find_package, find_program, find_library, find_path, and "
- "find_file will search the prefix for other software."
- ,false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_SKIP_INSTALL_ALL_DEPENDENCY", cmProperty::VARIABLE,
- "Don't make the install target depend on the all target.",
- "By default, the \"install\" target depends on the \"all\" target. "
- "This has the effect, that when \"make install\" is invoked or INSTALL "
- "is built, first the \"all\" target is built, then the installation "
- "starts. "
- "If CMAKE_SKIP_INSTALL_ALL_DEPENDENCY is set to TRUE, this dependency "
- "is not created, so the installation process will start immediately, "
- "independent from whether the project has been completely built or not."
- ,false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_MODULE_PATH", cmProperty::VARIABLE,
- "List of directories to search for CMake modules.",
- "Commands like include() and find_package() search for files in "
- "directories listed by this variable before checking the default "
- "modules that come with CMake.",
- false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_WARN_DEPRECATED", cmProperty::VARIABLE,
- "Whether to issue deprecation warnings for macros and functions.",
- "If TRUE, this can be used by macros and functions to issue "
- "deprecation warnings. This variable is FALSE by default.",
- false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_ERROR_DEPRECATED", cmProperty::VARIABLE,
- "Whether to issue deprecation errors for macros and functions.",
- "If TRUE, this can be used by macros and functions to issue "
- "fatal errors when deprecated macros or functions are used. This "
- "variable is FALSE by default.",
- false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_PREFIX_PATH", cmProperty::VARIABLE,
- "Path used for searching by FIND_XXX(), with appropriate suffixes added.",
- "Specifies a path which will be used by the FIND_XXX() commands. It "
- "contains the \"base\" directories, the FIND_XXX() commands append "
- "appropriate subdirectories to the base directories. So FIND_PROGRAM() "
- "adds /bin to each of the directories in the path, FIND_LIBRARY() "
- "appends /lib to each of the directories, and FIND_PATH() and "
- "FIND_FILE() append /include . By default it is empty, it is intended "
- "to be set by the project. See also CMAKE_SYSTEM_PREFIX_PATH, "
- "CMAKE_INCLUDE_PATH, CMAKE_LIBRARY_PATH, CMAKE_PROGRAM_PATH.", false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_INCLUDE_PATH", cmProperty::VARIABLE,
- "Path used for searching by FIND_FILE() and FIND_PATH().",
- "Specifies a path which will be used both by FIND_FILE() and "
- "FIND_PATH(). Both commands will check each of the contained directories "
- "for the existence of the file which is currently searched. By default "
- "it is empty, it is intended to be set by the project. See also "
- "CMAKE_SYSTEM_INCLUDE_PATH, CMAKE_PREFIX_PATH.", false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_LIBRARY_PATH", cmProperty::VARIABLE,
- "Path used for searching by FIND_LIBRARY().",
- "Specifies a path which will be used by FIND_LIBRARY(). FIND_LIBRARY() "
- "will check each of the contained directories for the existence of the "
- "library which is currently searched. By default it is empty, it is "
- "intended to be set by the project. See also CMAKE_SYSTEM_LIBRARY_PATH, "
- "CMAKE_PREFIX_PATH.", false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_PROGRAM_PATH", cmProperty::VARIABLE,
- "Path used for searching by FIND_PROGRAM().",
- "Specifies a path which will be used by FIND_PROGRAM(). FIND_PROGRAM() "
- "will check each of the contained directories for the existence of the "
- "program which is currently searched. By default it is empty, it is "
- "intended to be set by the project. See also CMAKE_SYSTEM_PROGRAM_PATH, "
- " CMAKE_PREFIX_PATH.", false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_SYSTEM_PREFIX_PATH", cmProperty::VARIABLE,
- "Path used for searching by FIND_XXX(), with appropriate suffixes added.",
- "Specifies a path which will be used by the FIND_XXX() commands. It "
- "contains the \"base\" directories, the FIND_XXX() commands append "
- "appropriate subdirectories to the base directories. So FIND_PROGRAM() "
- "adds /bin to each of the directories in the path, FIND_LIBRARY() "
- "appends /lib to each of the directories, and FIND_PATH() and "
- "FIND_FILE() append /include . By default this contains the standard "
- "directories for the current system and the CMAKE_INSTALL_PREFIX. "
- "It is NOT intended "
- "to be modified by the project, use CMAKE_PREFIX_PATH for this. See also "
- "CMAKE_SYSTEM_INCLUDE_PATH, CMAKE_SYSTEM_LIBRARY_PATH, "
- "CMAKE_SYSTEM_PROGRAM_PATH, and CMAKE_SYSTEM_IGNORE_PATH.", false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_SYSTEM_IGNORE_PATH", cmProperty::VARIABLE,
- "Path to be ignored by FIND_XXX() commands.",
- "Specifies directories to be ignored by searches in FIND_XXX() "
- "commands. "
- "This is useful in cross-compiled environments where some system "
- "directories contain incompatible but possibly linkable libraries. For "
- "example, on cross-compiled cluster environments, this allows a user to "
- "ignore directories containing libraries meant for the front-end "
- "machine that modules like FindX11 (and others) would normally search. "
- "By default this contains a list of directories containing incompatible "
- "binaries for the host system. "
- "See also CMAKE_SYSTEM_PREFIX_PATH, CMAKE_SYSTEM_LIBRARY_PATH, "
- "CMAKE_SYSTEM_INCLUDE_PATH, and CMAKE_SYSTEM_PROGRAM_PATH.", false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_IGNORE_PATH", cmProperty::VARIABLE,
- "Path to be ignored by FIND_XXX() commands.",
- "Specifies directories to be ignored by searches in FIND_XXX() "
- "commands. "
- "This is useful in cross-compiled environments where some system "
- "directories contain incompatible but possibly linkable libraries. For "
- "example, on cross-compiled cluster environments, this allows a user to "
- "ignore directories containing libraries meant for the front-end "
- "machine that modules like FindX11 (and others) would normally search. "
- "By default this is empty; it is intended to be set by the project. "
- "Note that CMAKE_IGNORE_PATH takes a list of directory names, NOT a "
- "list of prefixes. If you want to ignore paths under prefixes (bin, "
- "include, lib, etc.), you'll need to specify them explicitly. "
- "See also CMAKE_PREFIX_PATH, CMAKE_LIBRARY_PATH, CMAKE_INCLUDE_PATH, "
- "CMAKE_PROGRAM_PATH.", false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_SYSTEM_INCLUDE_PATH", cmProperty::VARIABLE,
- "Path used for searching by FIND_FILE() and FIND_PATH().",
- "Specifies a path which will be used both by FIND_FILE() and "
- "FIND_PATH(). Both commands will check each of the contained directories "
- "for the existence of the file which is currently searched. By default "
- "it contains the standard directories for the current system. It is "
- "NOT intended to be modified by the project, use CMAKE_INCLUDE_PATH "
- "for this. See also CMAKE_SYSTEM_PREFIX_PATH.", false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_SYSTEM_LIBRARY_PATH", cmProperty::VARIABLE,
- "Path used for searching by FIND_LIBRARY().",
- "Specifies a path which will be used by FIND_LIBRARY(). FIND_LIBRARY() "
- "will check each of the contained directories for the existence of the "
- "library which is currently searched. By default it contains the "
- "standard directories for the current system. It is NOT intended to be "
- "modified by the project, use CMAKE_LIBRARY_PATH for this. See "
- "also CMAKE_SYSTEM_PREFIX_PATH.", false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_SYSTEM_PROGRAM_PATH", cmProperty::VARIABLE,
- "Path used for searching by FIND_PROGRAM().",
- "Specifies a path which will be used by FIND_PROGRAM(). FIND_PROGRAM() "
- "will check each of the contained directories for the existence of the "
- "program which is currently searched. By default it contains the "
- "standard directories for the current system. It is NOT intended to be "
- "modified by the project, use CMAKE_PROGRAM_PATH for this. See also "
- "CMAKE_SYSTEM_PREFIX_PATH.", false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_DISABLE_FIND_PACKAGE_<PackageName>", cmProperty::VARIABLE,
- "Variable for disabling find_package() calls.",
- "Every non-REQUIRED find_package() call in a project can be disabled "
- "by setting the variable CMAKE_DISABLE_FIND_PACKAGE_<PackageName> to "
- "TRUE. This can be used to build a project without an optional package, "
- "although that package is installed.\n"
- "This switch should be used during the initial CMake run. Otherwise if "
- "the package has already been found in a previous CMake run, the "
- "variables which have been stored in the cache will still be there. "
- "In that case it is recommended to remove the cache variables for "
- "this package from the cache using the cache editor or cmake -U", false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_FIND_PACKAGE_WARN_NO_MODULE", cmProperty::VARIABLE,
- "Tell find_package to warn if called without an explicit mode.",
- "If find_package is called without an explicit mode option "
- "(MODULE, CONFIG or NO_MODULE) and no Find<pkg>.cmake module is "
- "in CMAKE_MODULE_PATH then CMake implicitly assumes that the "
- "caller intends to search for a package configuration file. "
- "If no package configuration file is found then the wording "
- "of the failure message must account for both the case that the "
- "package is really missing and the case that the project has a "
- "bug and failed to provide the intended Find module. "
- "If instead the caller specifies an explicit mode option then "
- "the failure message can be more specific."
- "\n"
- "Set CMAKE_FIND_PACKAGE_WARN_NO_MODULE to TRUE to tell find_package "
- "to warn when it implicitly assumes Config mode. "
- "This helps developers enforce use of an explicit mode in all calls "
- "to find_package within a project.", false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_USER_MAKE_RULES_OVERRIDE", cmProperty::VARIABLE,
- "Specify a CMake file that overrides platform information.",
- "CMake loads the specified file while enabling support for each "
- "language from either the project() or enable_language() commands. "
- "It is loaded after CMake's builtin compiler and platform information "
- "modules have been loaded but before the information is used. "
- "The file may set platform information variables to override CMake's "
- "defaults."
- "\n"
- "This feature is intended for use only in overriding information "
- "variables that must be set before CMake builds its first test "
- "project to check that the compiler for a language works. "
- "It should not be used to load a file in cases that a normal include() "
- "will work. "
- "Use it only as a last resort for behavior that cannot be achieved "
- "any other way. "
- "For example, one may set CMAKE_C_FLAGS_INIT to change the default "
- "value used to initialize CMAKE_C_FLAGS before it is cached. "
- "The override file should NOT be used to set anything that could "
- "be set after languages are enabled, such as variables like "
- "CMAKE_RUNTIME_OUTPUT_DIRECTORY that affect the placement of binaries. "
- "Information set in the file will be used for try_compile and try_run "
- "builds too."
- ,false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("BUILD_SHARED_LIBS", cmProperty::VARIABLE,
- "Global flag to cause add_library to create shared libraries if on.",
- "If present and true, this will cause all libraries to be "
- "built shared unless the library was explicitly added as a "
- "static library. This variable is often added to projects "
- "as an OPTION so that each user of a project can decide if "
- "they want to build the project using shared or static "
- "libraries.",false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_NOT_USING_CONFIG_FLAGS", cmProperty::VARIABLE,
- "Skip _BUILD_TYPE flags if true.",
- "This is an internal flag used by the generators in "
- "CMake to tell CMake to skip the _BUILD_TYPE flags.",false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_MFC_FLAG", cmProperty::VARIABLE,
- "Tell cmake to use MFC for an executable or dll.",
- "This can be set in a CMakeLists.txt file and will "
- "enable MFC in the application. It should be set "
- "to 1 for the static MFC library, and 2 for "
- "the shared MFC library. This is used in Visual "
- "Studio 6 and 7 project files. The CMakeSetup "
- "dialog used MFC and the CMakeLists.txt looks like this:\n"
- " add_definitions(-D_AFXDLL)\n"
- " set(CMAKE_MFC_FLAG 2)\n"
- " add_executable(CMakeSetup WIN32 ${SRCS})\n",false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_COLOR_MAKEFILE", cmProperty::VARIABLE,
- "Enables color output when using the Makefile generator.",
- "When enabled, the generated Makefiles will produce colored output. "
- "Default is ON.",false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_ABSOLUTE_DESTINATION_FILES", cmProperty::VARIABLE,
- "List of files which have been installed using "
- " an ABSOLUTE DESTINATION path.",
- "This variable is defined by CMake-generated cmake_install.cmake "
- "scripts."
- " It can be used (read-only) by programs or scripts that source those"
- " install scripts. This is used by some CPack generators (e.g. RPM).",
- false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION", cmProperty::VARIABLE,
- "Ask cmake_install.cmake script to warn each time a file with "
- "absolute INSTALL DESTINATION is encountered.",
- "This variable is used by CMake-generated cmake_install.cmake"
- " scripts. If one sets this variable to ON while running the"
- " script, it may get warning messages from the script.", false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION", cmProperty::VARIABLE,
- "Ask cmake_install.cmake script to error out as soon as "
- "a file with absolute INSTALL DESTINATION is encountered.",
- "The fatal error is emitted before the installation of "
- "the offending file takes place."
- " This variable is used by CMake-generated cmake_install.cmake"
- " scripts. If one sets this variable to ON while running the"
- " script, it may get fatal error messages from the script.",false,
- "Variables That Change Behavior");
-
- cm->DefineProperty
- ("CMAKE_DEBUG_TARGET_PROPERTIES", cmProperty::VARIABLE,
- "Enables tracing output for target properties.",
- "This variable can be populated with a list of properties to generate "
- "debug output for when evaluating target properties. Currently it can "
- "only be used when evaluating the INCLUDE_DIRECTORIES, "
- "COMPILE_DEFINITIONS and COMPILE_OPTIONS target properties. "
- "In that case, it outputs a backtrace for each entry in the target "
- "property. Default is unset.", false, "Variables That Change Behavior");
-
- // Variables defined by CMake that describe the system
-
- cm->DefineProperty
- ("CMAKE_SYSTEM", cmProperty::VARIABLE,
- "Name of system cmake is compiling for.",
- "This variable is the composite of CMAKE_SYSTEM_NAME "
- "and CMAKE_SYSTEM_VERSION, like this "
- "${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_VERSION}. "
- "If CMAKE_SYSTEM_VERSION is not set, then "
- "CMAKE_SYSTEM is the same as CMAKE_SYSTEM_NAME.",false,
- "Variables That Describe the System");
- cm->DefineProperty
- ("CMAKE_SYSTEM_NAME", cmProperty::VARIABLE,
- "Name of the OS CMake is building for.",
- "This is the name of the operating system on "
- "which CMake is targeting. On systems that "
- "have the uname command, this variable is set "
- "to the output of uname -s. Linux, Windows, "
- " and Darwin for Mac OS X are the values found "
- " on the big three operating systems." ,false,
- "Variables That Describe the System");
- cm->DefineProperty
- ("CMAKE_SYSTEM_PROCESSOR", cmProperty::VARIABLE,
- "The name of the CPU CMake is building for.",
- "On systems that support uname, this variable is "
- "set to the output of uname -p, on windows it is "
- "set to the value of the environment variable "
- "PROCESSOR_ARCHITECTURE",false,
- "Variables That Describe the System");
- cm->DefineProperty
- ("CMAKE_SYSTEM_VERSION", cmProperty::VARIABLE,
- "OS version CMake is building for.",
- "A numeric version string for the system, on "
- "systems that support uname, this variable is "
- "set to the output of uname -r. On other "
- "systems this is set to major-minor version numbers.",false,
- "Variables That Describe the System");
- cm->DefineProperty
- ("CMAKE_LIBRARY_ARCHITECTURE", cmProperty::VARIABLE,
- "Target architecture library directory name, if detected.",
- "This is the value of CMAKE_<lang>_LIBRARY_ARCHITECTURE as "
- "detected for one of the enabled languages.",false,
- "Variables That Describe the System");
- cm->DefineProperty
- ("CMAKE_LIBRARY_ARCHITECTURE_REGEX", cmProperty::VARIABLE,
- "Regex matching possible target architecture library directory names.",
- "This is used to detect CMAKE_<lang>_LIBRARY_ARCHITECTURE from the "
- "implicit linker search path by matching the <arch> name.",false,
- "Variables That Describe the System");
-
- cm->DefineProperty
- ("CMAKE_HOST_SYSTEM", cmProperty::VARIABLE,
- "Name of system cmake is being run on.",
- "The same as CMAKE_SYSTEM but for the host system instead "
- "of the target system when cross compiling.",false,
- "Variables That Describe the System");
- cm->DefineProperty
- ("CMAKE_HOST_SYSTEM_NAME", cmProperty::VARIABLE,
- "Name of the OS CMake is running on.",
- "The same as CMAKE_SYSTEM_NAME but for the host system instead "
- "of the target system when cross compiling.",false,
- "Variables That Describe the System");
- cm->DefineProperty
- ("CMAKE_HOST_SYSTEM_PROCESSOR", cmProperty::VARIABLE,
- "The name of the CPU CMake is running on.",
- "The same as CMAKE_SYSTEM_PROCESSOR but for the host system instead "
- "of the target system when cross compiling.",false,
- "Variables That Describe the System");
- cm->DefineProperty
- ("CMAKE_HOST_SYSTEM_VERSION", cmProperty::VARIABLE,
- "OS version CMake is running on.",
- "The same as CMAKE_SYSTEM_VERSION but for the host system instead "
- "of the target system when cross compiling.",false,
- "Variables That Describe the System");
-
- cm->DefineProperty
- ("APPLE", cmProperty::VARIABLE,
- "True if running on Mac OS X.",
- "Set to true on Mac OS X."
- ,false,
- "Variables That Describe the System");
-
- cm->DefineProperty
- ("BORLAND", cmProperty::VARIABLE,
- "True if the Borland compiler is being used.",
- "This is set to true if the Borland compiler is being used.",false,
- "Variables That Describe the System");
-
- cm->DefineProperty
- ("CYGWIN", cmProperty::VARIABLE,
- "True for Cygwin.",
- "Set to true when using Cygwin."
- ,false,
- "Variables That Describe the System");
-
- cm->DefineProperty
- ("MSVC", cmProperty::VARIABLE,
- "True when using Microsoft Visual C",
- "Set to true when the compiler is some version of Microsoft Visual C.",
- false,
- "Variables That Describe the System");
-
- int msvc_versions[] = { 60, 70, 71, 80, 90, 100, 110, 120, 0 };
- for (int i = 0; msvc_versions[i] != 0; i ++)
- {
- const char minor = (char)('0' + (msvc_versions[i] % 10));
- cmStdString varName = "MSVC";
- cmsys_ios::ostringstream majorStr;
-
- majorStr << (msvc_versions[i] / 10);
- varName += majorStr.str();
- if (msvc_versions[i] < 100)
- {
- varName += minor;
- }
-
- cmStdString verString = majorStr.str() + "." + minor;
-
- cmStdString shortStr = "True when using Microsoft Visual C " + verString;
- cmStdString fullStr = "Set to true when the compiler is version " +
- verString +
- " of Microsoft Visual C.";
- cm->DefineProperty
- (varName.c_str(), cmProperty::VARIABLE,
- shortStr.c_str(),
- fullStr.c_str(),
- false,
- "Variables That Describe the System");
- }
-
- cm->DefineProperty
- ("MSVC_IDE", cmProperty::VARIABLE,
- "True when using the Microsoft Visual C IDE",
- "Set to true when the target platform is the Microsoft Visual C IDE, "
- "as opposed to the command line compiler.",
- false,
- "Variables That Describe the System");
-
- cm->DefineProperty
- ("MSVC_VERSION", cmProperty::VARIABLE,
- "The version of Microsoft Visual C/C++ being used if any.",
- "Known version numbers are:\n"
- " 1200 = VS 6.0\n"
- " 1300 = VS 7.0\n"
- " 1310 = VS 7.1\n"
- " 1400 = VS 8.0\n"
- " 1500 = VS 9.0\n"
- " 1600 = VS 10.0\n"
- " 1700 = VS 11.0\n"
- " 1800 = VS 12.0\n"
- "",
- false,
- "Variables That Describe the System");
-
- cm->DefineProperty
- ("CMAKE_CL_64", cmProperty::VARIABLE,
- "Using the 64 bit compiler from Microsoft",
- "Set to true when using the 64 bit cl compiler from Microsoft.",
- false,
- "Variables That Describe the System");
-
- cm->DefineProperty
- ("CMAKE_COMPILER_2005", cmProperty::VARIABLE,
- "Using the Visual Studio 2005 compiler from Microsoft",
- "Set to true when using the Visual Studio 2005 compiler "
- "from Microsoft.",
- false,
- "Variables That Describe the System");
-
- cm->DefineProperty
- ("UNIX", cmProperty::VARIABLE,
- "True for UNIX and UNIX like operating systems.",
- "Set to true when the target system is UNIX or UNIX like "
- "(i.e. APPLE and CYGWIN).",false,
- "Variables That Describe the System");
-
- cm->DefineProperty
- ("WIN32", cmProperty::VARIABLE,
- "True on windows systems, including win64.",
- "Set to true when the target system is Windows.",false,
- "Variables That Describe the System");
-
- cm->DefineProperty
- ("XCODE_VERSION", cmProperty::VARIABLE,
- "Version of Xcode (Xcode generator only).",
- "Under the Xcode generator, this is the version of Xcode as specified in "
- "\"Xcode.app/Contents/version.plist\" (such as \"3.1.2\").",false,
- "Variables That Describe the System");
-
- cm->DefineProperty
- ("CMAKE_HOST_APPLE", cmProperty::VARIABLE,
- "True for Apple OS X operating systems.",
- "Set to true when the host system is Apple OS X.",
- false,
- "Variables That Describe the System");
-
- cm->DefineProperty
- ("CMAKE_HOST_UNIX", cmProperty::VARIABLE,
- "True for UNIX and UNIX like operating systems.",
- "Set to true when the host system is UNIX or UNIX like "
- "(i.e. APPLE and CYGWIN).",false,
- "Variables That Describe the System");
-
- cm->DefineProperty
- ("CMAKE_HOST_WIN32", cmProperty::VARIABLE,
- "True on windows systems, including win64.",
- "Set to true when the host system is Windows and on Cygwin."
- ,false,
- "Variables That Describe the System");
-
- cm->DefineProperty
- ("CMAKE_OBJECT_PATH_MAX", cmProperty::VARIABLE,
- "Maximum object file full-path length allowed by native build tools.",
- "CMake computes for every source file an object file name that is "
- "unique to the source file and deterministic with respect to the "
- "full path to the source file. "
- "This allows multiple source files in a target to share the same name "
- "if they lie in different directories without rebuilding when one is "
- "added or removed. "
- "However, it can produce long full paths in a few cases, so CMake "
- "shortens the path using a hashing scheme when the full path to an "
- "object file exceeds a limit. "
- "CMake has a built-in limit for each platform that is sufficient for "
- "common tools, but some native tools may have a lower limit. "
- "This variable may be set to specify the limit explicitly. "
- "The value must be an integer no less than 128.",false,
- "Variables That Describe the System");
-
- cm->DefineProperty
- ("ENV", cmProperty::VARIABLE,
- "Access environment variables.",
- "Use the syntax $ENV{VAR} to read environment variable VAR. "
- "See also the set() command to set ENV{VAR}."
- ,false,
- "Variables That Describe the System");
-
- // Variables that affect the building of object files and
- // targets.
- //
- cm->DefineProperty
- ("CMAKE_INCLUDE_CURRENT_DIR", cmProperty::VARIABLE,
- "Automatically add the current source- and build directories "
- "to the include path.",
- "If this variable is enabled, CMake automatically adds in each "
- "directory ${CMAKE_CURRENT_SOURCE_DIR} and ${CMAKE_CURRENT_BINARY_DIR} "
- "to the include path for this directory. These additional include "
- "directories do not propagate down to subdirectories. This is useful "
- "mainly for out-of-source builds, where files generated into the "
- "build tree are included by files located in the source tree.\n"
- "By default CMAKE_INCLUDE_CURRENT_DIR is OFF.",
- false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE", cmProperty::VARIABLE,
- "Automatically add the current source- and build directories "
- "to the INTERFACE_INCLUDE_DIRECTORIES.",
- "If this variable is enabled, CMake automatically adds for each shared "
- "library target, static library target, module target and executable "
- "target, ${CMAKE_CURRENT_SOURCE_DIR} and ${CMAKE_CURRENT_BINARY_DIR} to "
- "the INTERFACE_INCLUDE_DIRECTORIES."
- "By default CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE is OFF.",
- false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_INSTALL_RPATH", cmProperty::VARIABLE,
- "The rpath to use for installed targets.",
- "A semicolon-separated list specifying the rpath "
- "to use in installed targets (for platforms that support it). "
- "This is used to initialize the target property "
- "INSTALL_RPATH for all targets.",
- false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_INSTALL_RPATH_USE_LINK_PATH", cmProperty::VARIABLE,
- "Add paths to linker search and installed rpath.",
- "CMAKE_INSTALL_RPATH_USE_LINK_PATH is a boolean that if set to true "
- "will append directories in the linker search path and outside the "
- "project to the INSTALL_RPATH. "
- "This is used to initialize the target property "
- "INSTALL_RPATH_USE_LINK_PATH for all targets.",
- false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_INSTALL_NAME_DIR", cmProperty::VARIABLE,
- "Mac OS X directory name for installed targets.",
- "CMAKE_INSTALL_NAME_DIR is used to initialize the "
- "INSTALL_NAME_DIR property on all targets. See that target "
- "property for more information.",
- false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_Fortran_FORMAT", cmProperty::VARIABLE,
- "Set to FIXED or FREE to indicate the Fortran source layout.",
- "This variable is used to initialize the Fortran_FORMAT "
- "property on all the targets. "
- "See that target property for additional information.",
- false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_Fortran_MODULE_DIRECTORY", cmProperty::VARIABLE,
- "Fortran module output directory.",
- "This variable is used to initialize the "
- "Fortran_MODULE_DIRECTORY property on all the targets. "
- "See that target property for additional information.",
- false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_LIBRARY_OUTPUT_DIRECTORY", cmProperty::VARIABLE,
- "Where to put all the LIBRARY targets when built.",
- "This variable is used to initialize the "
- "LIBRARY_OUTPUT_DIRECTORY property on all the targets. "
- "See that target property for additional information.",
- false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_ARCHIVE_OUTPUT_DIRECTORY", cmProperty::VARIABLE,
- "Where to put all the ARCHIVE targets when built.",
- "This variable is used to initialize the "
- "ARCHIVE_OUTPUT_DIRECTORY property on all the targets. "
- "See that target property for additional information.",
- false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_RUNTIME_OUTPUT_DIRECTORY", cmProperty::VARIABLE,
- "Where to put all the RUNTIME targets when built.",
- "This variable is used to initialize the "
- "RUNTIME_OUTPUT_DIRECTORY property on all the targets. "
- "See that target property for additional information.",
- false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_PDB_OUTPUT_DIRECTORY", cmProperty::VARIABLE,
- "Where to put all the MS debug symbol files from linker.",
- "This variable is used to initialize the "
- "PDB_OUTPUT_DIRECTORY property on all the targets. "
- "See that target property for additional information.",
- false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_LINK_DEPENDS_NO_SHARED", cmProperty::VARIABLE,
- "Whether to skip link dependencies on shared library files.",
- "This variable initializes the LINK_DEPENDS_NO_SHARED "
- "property on targets when they are created. "
- "See that target property for additional information.",
- false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_AUTOMOC", cmProperty::VARIABLE,
- "Whether to handle moc automatically for Qt targets.",
- "This variable is used to initialize the "
- "AUTOMOC property on all the targets. "
- "See that target property for additional information.",
- false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_AUTOMOC_MOC_OPTIONS", cmProperty::VARIABLE,
- "Additional options for moc when using automoc (see CMAKE_AUTOMOC).",
- "This variable is used to initialize the "
- "AUTOMOC_MOC_OPTIONS property on all the targets. "
- "See that target property for additional information.",
- false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_GNUtoMS", cmProperty::VARIABLE,
- "Convert GNU import libraries (.dll.a) to MS format (.lib).",
- "This variable is used to initialize the GNUtoMS property on targets "
- "when they are created. "
- "See that target property for additional information.",
- false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_DEBUG_POSTFIX", cmProperty::VARIABLE,
- "See variable CMAKE_<CONFIG>_POSTFIX.",
- "This variable is a special case of the more-general "
- "CMAKE_<CONFIG>_POSTFIX variable for the DEBUG configuration.",
- false,
- "Variables that Control the Build");
- cm->DefineProperty
- ("CMAKE_<CONFIG>_POSTFIX", cmProperty::VARIABLE,
- "Default filename postfix for libraries under configuration <CONFIG>.",
- "When a non-executable target is created its <CONFIG>_POSTFIX "
- "target property is initialized with the value of this variable "
- "if it is set.",
- false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_BUILD_WITH_INSTALL_RPATH", cmProperty::VARIABLE,
- "Use the install path for the RPATH",
- "Normally CMake uses the build tree for the RPATH when building "
- "executables etc on systems that use RPATH. When the software "
- "is installed the executables etc are relinked by CMake to have "
- "the install RPATH. If this variable is set to true then the software "
- "is always built with the install path for the RPATH and does not "
- "need to be relinked when installed.",false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_NO_BUILTIN_CHRPATH", cmProperty::VARIABLE,
- "Do not use the builtin ELF editor to fix RPATHs on installation.",
- "When an ELF binary needs to have a different RPATH after installation "
- "than it does in the build tree, CMake uses a builtin editor to change "
- "the RPATH in the installed copy. "
- "If this variable is set to true then CMake will relink the binary "
- "before installation instead of using its builtin editor.",false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_SKIP_BUILD_RPATH", cmProperty::VARIABLE,
- "Do not include RPATHs in the build tree.",
- "Normally CMake uses the build tree for the RPATH when building "
- "executables etc on systems that use RPATH. When the software "
- "is installed the executables etc are relinked by CMake to have "
- "the install RPATH. If this variable is set to true then the software "
- "is always built with no RPATH.",false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_SKIP_INSTALL_RPATH", cmProperty::VARIABLE,
- "Do not include RPATHs in the install tree.",
- "Normally CMake uses the build tree for the RPATH when building "
- "executables etc on systems that use RPATH. When the software "
- "is installed the executables etc are relinked by CMake to have "
- "the install RPATH. If this variable is set to true then the software "
- "is always installed without RPATH, even if RPATH is enabled when "
- "building. This can be useful for example to allow running tests from "
- "the build directory with RPATH enabled before the installation step. "
- "To omit RPATH in both the build and install steps, use "
- "CMAKE_SKIP_RPATH instead.",false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_EXE_LINKER_FLAGS", cmProperty::VARIABLE,
- "Linker flags to be used to create executables.",
- "These flags will be used by the linker when creating an executable."
- ,false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_EXE_LINKER_FLAGS_<CONFIG>", cmProperty::VARIABLE,
- "Flags to be used when linking an executable.",
- "Same as CMAKE_C_FLAGS_* but used by the linker "
- "when creating executables.",false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_MODULE_LINKER_FLAGS", cmProperty::VARIABLE,
- "Linker flags to be used to create modules.",
- "These flags will be used by the linker when creating a module."
- ,false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_MODULE_LINKER_FLAGS_<CONFIG>", cmProperty::VARIABLE,
- "Flags to be used when linking a module.",
- "Same as CMAKE_C_FLAGS_* but used by the linker "
- "when creating modules.",false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_SHARED_LINKER_FLAGS", cmProperty::VARIABLE,
- "Linker flags to be used to create shared libraries.",
- "These flags will be used by the linker when creating a shared library."
- ,false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_SHARED_LINKER_FLAGS_<CONFIG>", cmProperty::VARIABLE,
- "Flags to be used when linking a shared library.",
- "Same as CMAKE_C_FLAGS_* but used by the linker "
- "when creating shared libraries.",false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_STATIC_LINKER_FLAGS", cmProperty::VARIABLE,
- "Linker flags to be used to create static libraries.",
- "These flags will be used by the linker when creating a static library."
- ,false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_STATIC_LINKER_FLAGS_<CONFIG>", cmProperty::VARIABLE,
- "Flags to be used when linking a static library.",
- "Same as CMAKE_C_FLAGS_* but used by the linker "
- "when creating static libraries.",false,
- "Variables that Control the Build");
-
- cm->DefineProperty
- ("CMAKE_LIBRARY_PATH_FLAG", cmProperty::VARIABLE,
- "The flag to be used to add a library search path to a compiler.",
- "The flag will be used to specify a library directory to the compiler. "
- "On most compilers this is \"-L\".",false,
- "Variables that Control the Build");
- cm->DefineProperty
- ("CMAKE_LINK_DEF_FILE_FLAG ", cmProperty::VARIABLE,
- "Linker flag to be used to specify a .def file for dll creation.",
- "The flag will be used to add a .def file when creating "
- "a dll on Windows; this is only defined on Windows."
- ,false,
- "Variables that Control the Build");
- cm->DefineProperty
- ("CMAKE_LINK_LIBRARY_FLAG", cmProperty::VARIABLE,
- "Flag to be used to link a library into an executable.",
- "The flag will be used to specify a library to link to an executable. "
- "On most compilers this is \"-l\".",false,
- "Variables that Control the Build");
- cm->DefineProperty
- ("CMAKE_LINK_LIBRARY_FILE_FLAG", cmProperty::VARIABLE,
- "Flag to be used to link a library specified by a path to its file.",
- "The flag will be used before a library file path is given to the "
- "linker. "
- "This is needed only on very few platforms.", false,
- "Variables that Control the Build");
- cm->DefineProperty
- ("CMAKE_USE_RELATIVE_PATHS", cmProperty::VARIABLE,
- "Use relative paths (May not work!).",
- "If this is set to TRUE, then CMake will use "
- "relative paths between the source and binary tree. "
- "This option does not work for more complicated "
- "projects, and relative paths are used when possible. "
- "In general, it is not possible to move CMake generated"
- " makefiles to a different location regardless "
- "of the value of this variable.",false,
- "Variables that Control the Build");
- cm->DefineProperty
- ("EXECUTABLE_OUTPUT_PATH", cmProperty::VARIABLE,
- "Old executable location variable.",
- "The target property RUNTIME_OUTPUT_DIRECTORY supercedes "
- "this variable for a target if it is set. "
- "Executable targets are otherwise placed in this directory.",false,
- "Variables that Control the Build");
- cm->DefineProperty
- ("LIBRARY_OUTPUT_PATH", cmProperty::VARIABLE,
- "Old library location variable.",
- "The target properties ARCHIVE_OUTPUT_DIRECTORY, "
- "LIBRARY_OUTPUT_DIRECTORY, and RUNTIME_OUTPUT_DIRECTORY supercede "
- "this variable for a target if they are set. "
- "Library targets are otherwise placed in this directory.",false,
- "Variables that Control the Build");
- cm->DefineProperty
- ("CMAKE_TRY_COMPILE_CONFIGURATION", cmProperty::VARIABLE,
- "Build configuration used for try_compile and try_run projects.",
- "Projects built by try_compile and try_run are built "
- "synchronously during the CMake configuration step. "
- "Therefore a specific build configuration must be chosen even "
- "if the generated build system supports multiple configurations.",false,
- "Variables that Control the Build");
- cm->DefineProperty
- ("CMAKE_LINK_INTERFACE_LIBRARIES", cmProperty::VARIABLE,
- "Default value for LINK_INTERFACE_LIBRARIES of targets.",
- "This variable is used to initialize the "
- "LINK_INTERFACE_LIBRARIES property on all the targets. "
- "See that target property for additional information.",
- false,
- "Variables that Control the Build");
- cm->DefineProperty
- ("CMAKE_WIN32_EXECUTABLE", cmProperty::VARIABLE,
- "Default value for WIN32_EXECUTABLE of targets.",
- "This variable is used to initialize the "
- "WIN32_EXECUTABLE property on all the targets. "
- "See that target property for additional information.",
- false,
- "Variables that Control the Build");
- cm->DefineProperty
- ("CMAKE_MACOSX_BUNDLE", cmProperty::VARIABLE,
- "Default value for MACOSX_BUNDLE of targets.",
- "This variable is used to initialize the "
- "MACOSX_BUNDLE property on all the targets. "
- "See that target property for additional information.",
- false,
- "Variables that Control the Build");
- cm->DefineProperty
- ("CMAKE_POSITION_INDEPENDENT_CODE", cmProperty::VARIABLE,
- "Default value for POSITION_INDEPENDENT_CODE of targets.",
- "This variable is used to initialize the "
- "POSITION_INDEPENDENT_CODE property on all the targets. "
- "See that target property for additional information.",
- false,
- "Variables that Control the Build");
- cm->DefineProperty
- ("CMAKE_<LANG>_VISIBILITY_PRESET", cmProperty::VARIABLE,
- "Default value for <LANG>_VISIBILITY_PRESET of targets.",
- "This variable is used to initialize the "
- "<LANG>_VISIBILITY_PRESET property on all the targets. "
- "See that target property for additional information.",
- false,
- "Variables that Control the Build");
- cm->DefineProperty
- ("CMAKE_VISIBILITY_INLINES_HIDDEN", cmProperty::VARIABLE,
- "Default value for VISIBILITY_INLINES_HIDDEN of targets.",
- "This variable is used to initialize the "
- "VISIBILITY_INLINES_HIDDEN property on all the targets. "
- "See that target property for additional information.",
- false,
- "Variables that Control the Build");
-
-// Variables defined when the a language is enabled These variables will
-// also be defined whenever CMake has loaded its support for compiling (LANG)
-// programs. This support will be loaded whenever CMake is used to compile
-// (LANG) files. C and CXX are examples of the most common values for (LANG).
-
- cm->DefineProperty
- ("CMAKE_USER_MAKE_RULES_OVERRIDE_<LANG>", cmProperty::VARIABLE,
- "Specify a CMake file that overrides platform information for <LANG>.",
- "This is a language-specific version of "
- "CMAKE_USER_MAKE_RULES_OVERRIDE loaded only when enabling "
- "language <LANG>.",false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_COMPILER", cmProperty::VARIABLE,
- "The full path to the compiler for LANG.",
- "This is the command that will be used as the <LANG> compiler. "
- "Once set, you can not change this variable.",false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_COMPILER_ID", cmProperty::VARIABLE,
- "Compiler identification string.",
- "A short string unique to the compiler vendor. "
- "Possible values include:\n"
- " Absoft = Absoft Fortran (absoft.com)\n"
- " ADSP = Analog VisualDSP++ (analog.com)\n"
- " Clang = LLVM Clang (clang.llvm.org)\n"
- " Cray = Cray Compiler (cray.com)\n"
- " Embarcadero, Borland = Embarcadero (embarcadero.com)\n"
- " G95 = G95 Fortran (g95.org)\n"
- " GNU = GNU Compiler Collection (gcc.gnu.org)\n"
- " HP = Hewlett-Packard Compiler (hp.com)\n"
- " Intel = Intel Compiler (intel.com)\n"
- " MIPSpro = SGI MIPSpro (sgi.com)\n"
- " MSVC = Microsoft Visual Studio (microsoft.com)\n"
- " PGI = The Portland Group (pgroup.com)\n"
- " PathScale = PathScale (pathscale.com)\n"
- " SDCC = Small Device C Compiler (sdcc.sourceforge.net)\n"
- " SunPro = Oracle Solaris Studio (oracle.com)\n"
- " TI = Texas Instruments (ti.com)\n"
- " TinyCC = Tiny C Compiler (tinycc.org)\n"
- " Watcom = Open Watcom (openwatcom.org)\n"
- " XL, VisualAge, zOS = IBM XL (ibm.com)\n"
- "This variable is not guaranteed to be defined for all "
- "compilers or languages.",
- false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_PLATFORM_ID", cmProperty::VARIABLE,
- "An internal variable subject to change.",
- "This is used in determining the platform and is subject to change.",
- false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_COMPILER_ABI", cmProperty::VARIABLE,
- "An internal variable subject to change.",
- "This is used in determining the compiler ABI and is subject to change.",
- false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_COMPILER_VERSION", cmProperty::VARIABLE,
- "Compiler version string.",
- "Compiler version in major[.minor[.patch[.tweak]]] format. "
- "This variable is not guaranteed to be defined for all "
- "compilers or languages.",
- false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_INTERNAL_PLATFORM_ABI", cmProperty::VARIABLE,
- "An internal variable subject to change.",
- "This is used in determining the compiler ABI and is subject to change.",
- false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_SIZEOF_DATA_PTR", cmProperty::VARIABLE,
- "Size of pointer-to-data types for language <LANG>.",
- "This holds the size (in bytes) of pointer-to-data types in the target "
- "platform ABI. "
- "It is defined for languages C and CXX (C++).",
- false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_COMPILER_IS_GNU<LANG>", cmProperty::VARIABLE,
- "True if the compiler is GNU.",
- "If the selected <LANG> compiler is the GNU "
- "compiler then this is TRUE, if not it is FALSE. "
- "Unlike the other per-language variables, this uses the GNU syntax for "
- "identifying languages instead of the CMake syntax. Recognized values of "
- "the <LANG> suffix are:\n"
- " CC = C compiler\n"
- " CXX = C++ compiler\n"
- " G77 = Fortran compiler",
- false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_FLAGS", cmProperty::VARIABLE,
- "Flags for all build types.",
- "<LANG> flags used regardless of the value of CMAKE_BUILD_TYPE.",false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_FLAGS_DEBUG", cmProperty::VARIABLE,
- "Flags for Debug build type or configuration.",
- "<LANG> flags used when CMAKE_BUILD_TYPE is Debug.",false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_FLAGS_MINSIZEREL", cmProperty::VARIABLE,
- "Flags for MinSizeRel build type or configuration.",
- "<LANG> flags used when CMAKE_BUILD_TYPE is MinSizeRel."
- "Short for minimum size release.",false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_FLAGS_RELEASE", cmProperty::VARIABLE,
- "Flags for Release build type or configuration.",
- "<LANG> flags used when CMAKE_BUILD_TYPE is Release",false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_FLAGS_RELWITHDEBINFO", cmProperty::VARIABLE,
- "Flags for RelWithDebInfo type or configuration.",
- "<LANG> flags used when CMAKE_BUILD_TYPE is RelWithDebInfo. "
- "Short for Release With Debug Information.",false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_COMPILE_OBJECT", cmProperty::VARIABLE,
- "Rule variable to compile a single object file.",
- "This is a rule variable that tells CMake how to "
- "compile a single object file for the language <LANG>."
- ,false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_CREATE_SHARED_LIBRARY", cmProperty::VARIABLE,
- "Rule variable to create a shared library.",
- "This is a rule variable that tells CMake how to "
- "create a shared library for the language <LANG>.",false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_CREATE_SHARED_MODULE", cmProperty::VARIABLE,
- "Rule variable to create a shared module.",
- "This is a rule variable that tells CMake how to "
- "create a shared library for the language <LANG>.",false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_CREATE_STATIC_LIBRARY", cmProperty::VARIABLE,
- "Rule variable to create a static library.",
- "This is a rule variable that tells CMake how "
- "to create a static library for the language <LANG>.",false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_ARCHIVE_CREATE", cmProperty::VARIABLE,
- "Rule variable to create a new static archive.",
- "This is a rule variable that tells CMake how to create a static "
- "archive. It is used in place of CMAKE_<LANG>_CREATE_STATIC_LIBRARY "
- "on some platforms in order to support large object counts. "
- "See also CMAKE_<LANG>_ARCHIVE_APPEND and CMAKE_<LANG>_ARCHIVE_FINISH.",
- false, "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_ARCHIVE_APPEND", cmProperty::VARIABLE,
- "Rule variable to append to a static archive.",
- "This is a rule variable that tells CMake how to append to a static "
- "archive. It is used in place of CMAKE_<LANG>_CREATE_STATIC_LIBRARY "
- "on some platforms in order to support large object counts. "
- "See also CMAKE_<LANG>_ARCHIVE_CREATE and CMAKE_<LANG>_ARCHIVE_FINISH.",
- false, "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_ARCHIVE_FINISH", cmProperty::VARIABLE,
- "Rule variable to finish an existing static archive.",
- "This is a rule variable that tells CMake how to finish a static "
- "archive. It is used in place of CMAKE_<LANG>_CREATE_STATIC_LIBRARY "
- "on some platforms in order to support large object counts. "
- "See also CMAKE_<LANG>_ARCHIVE_CREATE and CMAKE_<LANG>_ARCHIVE_APPEND.",
- false, "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_IGNORE_EXTENSIONS", cmProperty::VARIABLE,
- "File extensions that should be ignored by the build.",
- "This is a list of file extensions that may be "
- "part of a project for a given language but are not compiled.",false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES", cmProperty::VARIABLE,
- "Directories implicitly searched by the compiler for header files.",
- "CMake does not explicitly specify these directories on compiler "
- "command lines for language <LANG>. "
- "This prevents system include directories from being treated as user "
- "include directories on some compilers.", false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES", cmProperty::VARIABLE,
- "Implicit linker search path detected for language <LANG>.",
- "Compilers typically pass directories containing language runtime "
- "libraries and default library search paths when they invoke a linker. "
- "These paths are implicit linker search directories for the compiler's "
- "language. "
- "CMake automatically detects these directories for each language and "
- "reports the results in this variable."
- "\n"
- "When a library in one of these directories is given by full path to "
- "target_link_libraries() CMake will generate the -l<name> form on "
- "link lines to ensure the linker searches its implicit directories "
- "for the library. "
- "Note that some toolchains read implicit directories from an "
- "environment variable such as LIBRARY_PATH so keep its value "
- "consistent when operating in a given build tree.",false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES", cmProperty::VARIABLE,
- "Implicit linker framework search path detected for language <LANG>.",
- "These paths are implicit linker framework search directories for "
- "the compiler's language. "
- "CMake automatically detects these directories for each language and "
- "reports the results in this variable.", false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_IMPLICIT_LINK_LIBRARIES", cmProperty::VARIABLE,
- "Implicit link libraries and flags detected for language <LANG>.",
- "Compilers typically pass language runtime library names and "
- "other flags when they invoke a linker. "
- "These flags are implicit link options for the compiler's language. "
- "CMake automatically detects these libraries and flags for each "
- "language and reports the results in this variable.", false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_LIBRARY_ARCHITECTURE", cmProperty::VARIABLE,
- "Target architecture library directory name detected for <lang>.",
- "If the <lang> compiler passes to the linker an architecture-specific "
- "system library search directory such as <prefix>/lib/<arch> this "
- "variable contains the <arch> name if/as detected by CMake.",false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_LINKER_PREFERENCE_PROPAGATES", cmProperty::VARIABLE,
- "True if CMAKE_<LANG>_LINKER_PREFERENCE propagates across targets.",
- "This is used when CMake selects a linker language for a target. "
- "Languages compiled directly into the target are always considered. "
- "A language compiled into static libraries linked by the target is "
- "considered if this variable is true.", false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_LINKER_PREFERENCE", cmProperty::VARIABLE,
- "Preference value for linker language selection.",
- "The \"linker language\" for executable, shared library, and module "
- "targets is the language whose compiler will invoke the linker. "
- "The LINKER_LANGUAGE target property sets the language explicitly. "
- "Otherwise, the linker language is that whose linker preference value "
- "is highest among languages compiled and linked into the target. "
- "See also the CMAKE_<LANG>_LINKER_PREFERENCE_PROPAGATES variable.",
- false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_LINK_EXECUTABLE ", cmProperty::VARIABLE,
- "Rule variable to link an executable.",
- "Rule variable to link an executable for the given language."
- ,false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_OUTPUT_EXTENSION", cmProperty::VARIABLE,
- "Extension for the output of a compile for a single file.",
- "This is the extension for an object file for "
- "the given <LANG>. For example .obj for C on Windows.",false,
- "Variables for Languages");
-
- cm->DefineProperty
- ("CMAKE_<LANG>_SOURCE_FILE_EXTENSIONS", cmProperty::VARIABLE,
- "Extensions of source files for the given language.",
- "This is the list of extensions for a "
- "given language's source files."
- ,false,
- "Variables for Languages");
-
- cm->DefineProperty(
- "CMAKE_<LANG>_COMPILER_LOADED", cmProperty::VARIABLE,
- "Defined to true if the language is enabled.",
- "When language <LANG> is enabled by project() or enable_language() "
- "this variable is defined to 1.",
- false,"Variables for Languages");
-
- cm->DefineProperty(
- "CMAKE_Fortran_MODDIR_FLAG", cmProperty::VARIABLE,
- "Fortran flag for module output directory.",
- "This stores the flag needed to pass the value of the "
- "Fortran_MODULE_DIRECTORY target property to the compiler.",
- false,"Variables for Languages");
-
- cm->DefineProperty(
- "CMAKE_Fortran_MODDIR_DEFAULT", cmProperty::VARIABLE,
- "Fortran default module output directory.",
- "Most Fortran compilers write .mod files to the current working "
- "directory. "
- "For those that do not, this is set to \".\" and used when the "
- "Fortran_MODULE_DIRECTORY target property is not set.",
- false,"Variables for Languages");
-
- cm->DefineProperty(
- "CMAKE_Fortran_MODOUT_FLAG", cmProperty::VARIABLE,
- "Fortran flag to enable module output.",
- "Most Fortran compilers write .mod files out by default. "
- "For others, this stores the flag needed to enable module output.",
- false,"Variables for Languages");
-
- // variables that are used by cmake but not to be documented
- cm->DefineProperty("CMAKE_MATCH_0", cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_MATCH_1", cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_MATCH_2", cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_MATCH_3", cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_MATCH_4", cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_MATCH_5", cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_MATCH_6", cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_MATCH_7", cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_MATCH_8", cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_MATCH_9", cmProperty::VARIABLE,0,0);
-
- cm->DefineProperty("CMAKE_<LANG>_COMPILER_ARG1",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_<LANG>_COMPILER_ENV_VAR",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_<LANG>_COMPILER_ID_RUN",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_<LANG>_ABI_FILES",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_<LANG>_CREATE_ASSEMBLY_SOURCE",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_<LANG>_CREATE_PREPROCESSED_SOURCE",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_<LANG>_FLAGS_DEBUG_INIT",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_<LANG>_FLAGS_INIT",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_<LANG>_FLAGS_MINSIZEREL_INIT",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_<LANG>_FLAGS_RELEASE_INIT",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_<LANG>_FLAGS_RELWITHDEBINFO_INIT",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_<LANG>_INFORMATION_LOADED",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_<LANG>_LINK_EXECUTABLE",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_<LANG>_LINK_FLAGS",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_<LANG>_RESPONSE_FILE_LINK_FLAG",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_<LANG>_STANDARD_LIBRARIES",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_<LANG>_STANDARD_LIBRARIES_INIT",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_<LANG>_USE_RESPONSE_FILE_FOR_INCLUDES",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_<LANG>_USE_RESPONSE_FILE_FOR_OBJECTS",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_EXECUTABLE_SUFFIX_<LANG>",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_EXE_LINK_DYNAMIC_<LANG>_FLAGS",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_EXE_LINK_STATIC_<LANG>_FLAGS",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_GENERATOR_<LANG>",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_IMPORT_LIBRARY_PREFIX_<LANG>",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_IMPORT_LIBRARY_SUFFIX_<LANG>",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_INCLUDE_FLAG_<LANG>",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_INCLUDE_FLAG_SEP_<LANG>",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_INCLUDE_SYSTEM_FLAG_<LANG>",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_NEEDS_REQUIRES_STEP_<LANG>_FLAG",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_SHARED_LIBRARY_CREATE_<LANG>_FLAGS",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_SHARED_LIBRARY_<LANG>_FLAGS",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_SHARED_LIBRARY_LINK_<LANG>_FLAGS",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_SHARED_LIBRARY_LINK_DYNAMIC_<LANG>_FLAGS",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_SHARED_LIBRARY_LINK_STATIC_<LANG>_FLAGS",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_SHARED_LIBRARY_PREFIX_<LANG>",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_SHARED_LIBRARY_SUFFIX_<LANG>",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_SHARED_LIBRARY_RUNTIME_<LANG>_FLAG",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_SHARED_LIBRARY_RUNTIME_<LANG>_FLAG_SEP",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_SHARED_LIBRARY_RPATH_LINK_<LANG>_FLAG",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_EXECUTABLE_RUNTIME_<LANG>_FLAG",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_EXECUTABLE_RUNTIME_<LANG>_FLAG_SEP",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_EXECUTABLE_RPATH_LINK_<LANG>_FLAG",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_PLATFORM_REQUIRED_RUNTIME_PATH",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty(
- "CMAKE_<LANG>_USE_IMPLICIT_LINK_DIRECTORIES_IN_RUNTIME_PATH",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_SHARED_MODULE_CREATE_<LANG>_FLAGS",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_SHARED_MODULE_<LANG>_FLAGS",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_SHARED_MODULE_LINK_DYNAMIC_<LANG>_FLAGS",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_SHARED_MODULE_LINK_STATIC_<LANG>_FLAGS",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_SHARED_MODULE_PREFIX_<LANG>",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_SHARED_MODULE_SUFFIX_<LANG>",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_STATIC_LIBRARY_PREFIX_<LANG>",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_STATIC_LIBRARY_SUFFIX_<LANG>",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_LINK_DEPENDENT_LIBRARY_FILES",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_LINK_DEPENDENT_LIBRARY_DIRS",
- cmProperty::VARIABLE,0,0);
- cm->DefineProperty("CMAKE_MAKE_INCLUDE_FROM_ROOT",
- cmProperty::VARIABLE,0,0);
-}
diff --git a/Source/cmDocumentVariables.h b/Source/cmDocumentVariables.h
deleted file mode 100644
index 1d59b24..0000000
--- a/Source/cmDocumentVariables.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-#ifndef cmDocumentVariables_h
-#define cmDocumentVariables_h
-class cmake;
-class cmDocumentVariables
-{
-public:
- static void DefineVariables(cmake* cm);
-};
-
-#endif
diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx
index 4edacbb..9c27fc1 100644
--- a/Source/cmDocumentation.cxx
+++ b/Source/cmDocumentation.cxx
@@ -13,208 +13,71 @@
#include "cmSystemTools.h"
#include "cmVersion.h"
+#include "cmRST.h"
+
#include <cmsys/Directory.hxx>
#include <cmsys/Glob.hxx>
+#include <cmsys/FStream.hxx>
-#include <algorithm>
-
-//----------------------------------------------------------------------------
-static const char *cmDocumentationStandardOptions[][3] =
-{
- {"--copyright [file]", "Print the CMake copyright and exit.",
- "If a file is specified, the copyright is written into it."},
- {"--help,-help,-usage,-h,-H,/?", "Print usage information and exit.",
- "Usage describes the basic command line interface and its options."},
- {"--help-full [file]", "Print full help and exit.",
- "Full help displays most of the documentation provided by the UNIX "
- "man page. It is provided for use on non-UNIX platforms, but is "
- "also convenient if the man page is not installed. If a file is "
- "specified, the help is written into it."},
- {"--help-html [file]", "Print full help in HTML format.",
- "This option is used by CMake authors to help produce web pages. "
- "If a file is specified, the help is written into it."},
- {"--help-man [file]", "Print full help as a UNIX man page and exit.",
- "This option is used by the cmake build to generate the UNIX man page. "
- "If a file is specified, the help is written into it."},
- {"--version,-version,/V [file]",
- "Show program name/version banner and exit.",
- "If a file is specified, the version is written into it."},
- {0,0,0}
-};
-
-//----------------------------------------------------------------------------
-static const char *cmModulesDocumentationDescription[][3] =
-{
- {0,
- " CMake Modules - Modules coming with CMake, the Cross-Platform Makefile "
- "Generator.", 0},
-// CMAKE_DOCUMENTATION_OVERVIEW,
- {0,
- "This is the documentation for the modules and scripts coming with CMake. "
- "Using these modules you can check the computer system for "
- "installed software packages, features of the compiler and the "
- "existence of headers to name just a few.", 0},
- {0,0,0}
-};
-
-//----------------------------------------------------------------------------
-static const char *cmCustomModulesDocumentationDescription[][3] =
-{
- {0,
- " Custom CMake Modules - Additional Modules for CMake.", 0},
-// CMAKE_DOCUMENTATION_OVERVIEW,
- {0,
- "This is the documentation for additional modules and scripts for CMake. "
- "Using these modules you can check the computer system for "
- "installed software packages, features of the compiler and the "
- "existence of headers to name just a few.", 0},
- {0,0,0}
-};
-
-//----------------------------------------------------------------------------
-static const char *cmPropertiesDocumentationDescription[][3] =
-{
- {0,
- " CMake Properties - Properties supported by CMake, "
- "the Cross-Platform Makefile Generator.", 0},
-// CMAKE_DOCUMENTATION_OVERVIEW,
- {0,
- "This is the documentation for the properties supported by CMake. "
- "Properties can have different scopes. They can either be assigned to a "
- "source file, a directory, a target or globally to CMake. By modifying the "
- "values of properties the behaviour of the build system can be customized.",
- 0},
- {0,0,0}
-};
-
-//----------------------------------------------------------------------------
-static const char *cmCompatCommandsDocumentationDescription[][3] =
-{
- {0,
- " CMake Compatibility Listfile Commands - "
- "Obsolete commands supported by CMake for compatibility.", 0},
-// CMAKE_DOCUMENTATION_OVERVIEW,
- {0,
- "This is the documentation for now obsolete listfile commands from previous "
- "CMake versions, which are still supported for compatibility reasons. You "
- "should instead use the newer, faster and shinier new commands. ;-)", 0},
- {0,0,0}
-};
-
-//----------------------------------------------------------------------------
-static const char *cmDocumentationModulesHeader[][3] =
-{
- {0,
- "The following modules are provided with CMake. "
- "They can be used with INCLUDE(ModuleName).", 0},
- {0,0,0}
-};
-
-//----------------------------------------------------------------------------
-static const char *cmDocumentationCustomModulesHeader[][3] =
-{
- {0,
- "The following modules are also available for CMake. "
- "They can be used with INCLUDE(ModuleName).", 0},
- {0,0,0}
-};
+#include <ctype.h>
-//----------------------------------------------------------------------------
-static const char *cmDocumentationGeneratorsHeader[][3] =
-{
- {0,
- "The following generators are available on this platform:", 0},
- {0,0,0}
-};
+#include <algorithm>
//----------------------------------------------------------------------------
-static const char *cmDocumentationStandardSeeAlso[][3] =
-{
- {0,
- "The following resources are available to get help using CMake:", 0},
- {"Home Page",
- "http://www.cmake.org",
- "The primary starting point for learning about CMake."},
- {"Frequently Asked Questions",
- "http://www.cmake.org/Wiki/CMake_FAQ",
- "A Wiki is provided containing answers to frequently asked questions. "},
- {"Online Documentation",
- "http://www.cmake.org/HTML/Documentation.html",
- "Links to available documentation may be found on this web page."},
- {"Mailing List",
- "http://www.cmake.org/HTML/MailingLists.html",
- "For help and discussion about using cmake, a mailing list is provided at "
- "cmake@cmake.org. "
- "The list is member-post-only but one may sign up on the CMake web page. "
- "Please first read the full documentation at "
- "http://www.cmake.org before posting questions to the list."},
- {0,0,0}
+static const char *cmDocumentationStandardOptions[][2] =
+{
+ {"--help,-help,-usage,-h,-H,/?",
+ "Print usage information and exit."},
+ {"--version,-version,/V [<f>]",
+ "Print version number and exit."},
+ {"--help-manual <man> [<f>]",
+ "Print one help manual and exit."},
+ {"--help-manual-list [<f>]",
+ "List help manuals available and exit."},
+ {"--help-command <cmd> [<f>]",
+ "Print help for one command and exit."},
+ {"--help-command-list [<f>]",
+ "List commands with help available and exit."},
+ {"--help-commands [<f>]",
+ "Print cmake-commands manual and exit."},
+ {"--help-module <mod> [<f>]",
+ "Print help for one module and exit."},
+ {"--help-module-list [<f>]",
+ "List modules with help available and exit."},
+ {"--help-modules [<f>]",
+ "Print cmake-modules manual and exit."},
+ {"--help-policy <cmp> [<f>]",
+ "Print help for one policy and exit."},
+ {"--help-policy-list [<f>]",
+ "List policies with help available and exit."},
+ {"--help-policies [<f>]",
+ "Print cmake-policies manual and exit."},
+ {"--help-property <prop> [<f>]",
+ "Print help for one property and exit."},
+ {"--help-property-list [<f>]",
+ "List properties with help available and exit."},
+ {"--help-properties [<f>]",
+ "Print cmake-properties manual and exit."},
+ {"--help-variable var [<f>]",
+ "Print help for one variable and exit."},
+ {"--help-variable-list [<f>]",
+ "List variables with help available and exit."},
+ {"--help-variables [<f>]",
+ "Print cmake-variables manual and exit."},
+ {0,0}
};
//----------------------------------------------------------------------------
-static const char *cmDocumentationCopyright[][3] =
+static const char *cmDocumentationGeneratorsHeader[][2] =
{
{0,
- "Copyright 2000-2012 Kitware, Inc., Insight Software Consortium. "
- "All rights reserved.", 0},
- {0,
- "Redistribution and use in source and binary forms, with or without "
- "modification, are permitted provided that the following conditions are "
- "met:", 0},
- {"",
- "Redistributions of source code must retain the above copyright notice, "
- "this list of conditions and the following disclaimer.", 0},
- {"",
- "Redistributions in binary form must reproduce the above copyright "
- "notice, this list of conditions and the following disclaimer in the "
- "documentation and/or other materials provided with the distribution.",
- 0},
- {"",
- "Neither the names of Kitware, Inc., the Insight Software Consortium, "
- "nor the names of their contributors may be used to endorse or promote "
- "products derived from this software without specific prior written "
- "permission.", 0},
- {0,
- "THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "
- "\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT "
- "LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR "
- "A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT "
- "HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, "
- "SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT "
- "LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, "
- "DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY "
- "THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT "
- "(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE "
- "OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.",
- 0},
- {0, 0, 0}
+ "The following generators are available on this platform:"},
+ {0,0}
};
//----------------------------------------------------------------------------
-#define DOCUMENT_INTRO(type, default_name, desc) \
- static char const *cmDocumentation##type##Intro[2] = { default_name, desc };
-#define GET_DOCUMENT_INTRO(type) cmDocumentation##type##Intro
-
-DOCUMENT_INTRO(Modules, "cmakemodules",
- "Reference of available CMake modules.");
-DOCUMENT_INTRO(CustomModules, "cmakecustommodules",
- "Reference of available CMake custom modules.");
-DOCUMENT_INTRO(Policies, "cmakepolicies",
- "Reference of CMake policies.");
-DOCUMENT_INTRO(Properties, "cmakeprops",
- "Reference of CMake properties.");
-DOCUMENT_INTRO(Variables, "cmakevars",
- "Reference of CMake variables.");
-DOCUMENT_INTRO(Commands, "cmakecommands",
- "Reference of available CMake commands.");
-DOCUMENT_INTRO(CompatCommands, "cmakecompat",
- "Reference of CMake compatibility commands.");
-
-//----------------------------------------------------------------------------
cmDocumentation::cmDocumentation()
-:CurrentFormatter(0)
{
- this->SetForm(TextForm, 0);
this->addCommonStandardDocSections();
this->ShowGenerators = true;
}
@@ -222,11 +85,6 @@ cmDocumentation::cmDocumentation()
//----------------------------------------------------------------------------
cmDocumentation::~cmDocumentation()
{
- for(std::vector< char* >::iterator i = this->ModuleStrings.begin();
- i != this->ModuleStrings.end(); ++i)
- {
- delete [] *i;
- }
for(std::map<std::string,cmDocumentationSection *>::iterator i =
this->AllSections.begin();
i != this->AllSections.end(); ++i)
@@ -236,349 +94,60 @@ cmDocumentation::~cmDocumentation()
}
//----------------------------------------------------------------------------
-bool cmDocumentation::PrintCopyright(std::ostream& os)
-{
- cmDocumentationSection *sec = this->AllSections["Copyright"];
- const std::vector<cmDocumentationEntry> &entries = sec->GetEntries();
- for(std::vector<cmDocumentationEntry>::const_iterator op = entries.begin();
- op != entries.end(); ++op)
- {
- if(op->Name.size())
- {
- os << " * ";
- this->TextFormatter.SetIndent(" ");
- this->TextFormatter.PrintColumn(os, op->Brief.c_str());
- }
- else
- {
- this->TextFormatter.SetIndent("");
- this->TextFormatter.PrintColumn(os, op->Brief.c_str());
- }
- os << "\n";
- }
- return true;
-}
-
-//----------------------------------------------------------------------------
bool cmDocumentation::PrintVersion(std::ostream& os)
{
- os << this->GetNameString() << " version "
- << cmVersion::GetCMakeVersion() << "\n";
+ os <<
+ this->GetNameString() <<
+ " version " << cmVersion::GetCMakeVersion() << "\n"
+ "\n"
+ "CMake suite maintained by Kitware, Inc. (kitware.com).\n"
+ ;
return true;
}
//----------------------------------------------------------------------------
-void cmDocumentation::AddSectionToPrint(const char *section)
-{
- if (this->AllSections.find(section) != this->AllSections.end())
- {
- this->PrintSections.push_back(this->AllSections[section]);
- }
-}
-
-//----------------------------------------------------------------------------
-void cmDocumentation::ClearSections()
-{
- this->PrintSections.erase(this->PrintSections.begin(),
- this->PrintSections.end());
- this->ModulesFound.clear();
-}
-
-//----------------------------------------------------------------------------
-void cmDocumentation::AddDocumentIntroToPrint(const char* intro[2])
-{
- const char* docname = this->GetDocName(false);
- if(intro && docname)
- {
- cmDocumentationSection* section;
- std::string desc("");
-
- desc += docname;
- desc += " - ";
- desc += intro[1];
-
- section = new cmDocumentationSection("Introduction", "NAME");
- section->Append(0, desc.c_str(), 0);
- this->PrintSections.push_back(section);
- }
-}
-
-//----------------------------------------------------------------------------
-bool cmDocumentation::PrintDocumentation(Type ht, std::ostream& os,
- const char* docname)
+bool cmDocumentation::PrintDocumentation(Type ht, std::ostream& os)
{
- if ((this->CurrentFormatter->GetForm() != HTMLForm)
- && (this->CurrentFormatter->GetForm() != DocbookForm)
- && (this->CurrentFormatter->GetForm() != ManForm))
- {
- this->PrintVersion(os);
- }
-
- // Handle Document Name. docname==0 disables intro.
- this->SetDocName("");
- if (docname)
- {
- if (*docname)
- this->SetDocName(docname);
- else // empty string was given. select default if possible
- this->SetDocName(this->GetDefaultDocName(ht));
- }
-
switch (ht)
{
case cmDocumentation::Usage:
return this->PrintDocumentationUsage(os);
- case cmDocumentation::Single:
- return this->PrintDocumentationSingle(os);
- case cmDocumentation::SingleModule:
- return this->PrintDocumentationSingleModule(os);
- case cmDocumentation::SinglePolicy:
- return this->PrintDocumentationSinglePolicy(os);
- case cmDocumentation::SingleProperty:
- return this->PrintDocumentationSingleProperty(os);
- case cmDocumentation::SingleVariable:
- return this->PrintDocumentationSingleVariable(os);
- case cmDocumentation::List:
- this->PrintDocumentationList(os,"Commands");
- this->PrintDocumentationList(os,"Compatibility Commands");
- return true;
- case cmDocumentation::ModuleList:
- // find the modules first, print the custom module docs only if
- // any custom modules have been found actually, Alex
- this->CreateCustomModulesSection();
- this->CreateModulesSection();
- if (this->AllSections.find("Custom CMake Modules")
- != this->AllSections.end())
- {
- this->PrintDocumentationList(os,"Custom CMake Modules");
- }
- this->PrintDocumentationList(os,"Modules");
- return true;
- case cmDocumentation::PropertyList:
- this->PrintDocumentationList(os,"Properties Description");
- for (std::vector<std::string>::iterator i =
- this->PropertySections.begin();
- i != this->PropertySections.end(); ++i)
- {
- this->PrintDocumentationList(os,i->c_str());
- }
- return true;
- case cmDocumentation::VariableList:
- for (std::vector<std::string>::iterator i =
- this->VariableSections.begin();
- i != this->VariableSections.end(); ++i)
- {
- this->PrintDocumentationList(os,i->c_str());
- }
- return true;
- case cmDocumentation::Full:
- return this->PrintDocumentationFull(os);
- case cmDocumentation::Modules:
- return this->PrintDocumentationModules(os);
- case cmDocumentation::CustomModules:
- return this->PrintDocumentationCustomModules(os);
- case cmDocumentation::Policies:
- return this->PrintDocumentationPolicies(os);
- case cmDocumentation::Properties:
- return this->PrintDocumentationProperties(os);
- case cmDocumentation::Variables:
- return this->PrintDocumentationVariables(os);
- case cmDocumentation::Commands:
- return this->PrintDocumentationCurrentCommands(os);
- case cmDocumentation::CompatCommands:
- return this->PrintDocumentationCompatCommands(os);
-
- case cmDocumentation::Copyright:
- return this->PrintCopyright(os);
+ case cmDocumentation::OneManual:
+ return this->PrintHelpOneManual(os);
+ case cmDocumentation::OneCommand:
+ return this->PrintHelpOneCommand(os);
+ case cmDocumentation::OneModule:
+ return this->PrintHelpOneModule(os);
+ case cmDocumentation::OnePolicy:
+ return this->PrintHelpOnePolicy(os);
+ case cmDocumentation::OneProperty:
+ return this->PrintHelpOneProperty(os);
+ case cmDocumentation::OneVariable:
+ return this->PrintHelpOneVariable(os);
+ case cmDocumentation::ListManuals:
+ return this->PrintHelpListManuals(os);
+ case cmDocumentation::ListCommands:
+ return this->PrintHelpListCommands(os);
+ case cmDocumentation::ListModules:
+ return this->PrintHelpListModules(os);
+ case cmDocumentation::ListProperties:
+ return this->PrintHelpListProperties(os);
+ case cmDocumentation::ListVariables:
+ return this->PrintHelpListVariables(os);
+ case cmDocumentation::ListPolicies:
+ return this->PrintHelpListPolicies(os);
case cmDocumentation::Version:
- return true;
+ return this->PrintVersion(os);
+ case cmDocumentation::OldCustomModules:
+ return this->PrintOldCustomModules(os);
default: return false;
}
}
//----------------------------------------------------------------------------
-bool cmDocumentation::CreateModulesSection()
-{
- cmDocumentationSection *sec =
- new cmDocumentationSection("Standard CMake Modules", "MODULES");
- this->AllSections["Modules"] = sec;
- std::string cmakeModules = this->CMakeRoot;
- cmakeModules += "/Modules";
- cmsys::Directory dir;
- dir.Load(cmakeModules.c_str());
- if (dir.GetNumberOfFiles() > 0)
- {
- sec->Append(cmDocumentationModulesHeader[0]);
- sec->Append(cmModulesDocumentationDescription);
- this->CreateModuleDocsForDir(dir, *this->AllSections["Modules"]);
- }
- return true;
-}
-
-//----------------------------------------------------------------------------
-bool cmDocumentation::CreateCustomModulesSection()
-{
- bool sectionHasHeader = false;
-
- std::vector<std::string> dirs;
- cmSystemTools::ExpandListArgument(this->CMakeModulePath, dirs);
-
- for(std::vector<std::string>::const_iterator dirIt = dirs.begin();
- dirIt != dirs.end();
- ++dirIt)
- {
- cmsys::Directory dir;
- dir.Load(dirIt->c_str());
- if (dir.GetNumberOfFiles() > 0)
- {
- if (!sectionHasHeader)
- {
- cmDocumentationSection *sec =
- new cmDocumentationSection("Custom CMake Modules","CUSTOM MODULES");
- this->AllSections["Custom CMake Modules"] = sec;
- sec->Append(cmDocumentationCustomModulesHeader[0]);
- sec->Append(cmCustomModulesDocumentationDescription);
- sectionHasHeader = true;
- }
- this->CreateModuleDocsForDir
- (dir, *this->AllSections["Custom CMake Modules"]);
- }
- }
-
- return true;
-}
-
-//----------------------------------------------------------------------------
-void cmDocumentation
-::CreateModuleDocsForDir(cmsys::Directory& dir,
- cmDocumentationSection &moduleSection)
-{
- // sort the files alphabetically, so the docs for one module are easier
- // to find than if they are in random order
- std::vector<std::string> sortedFiles;
- for(unsigned int i = 0; i < dir.GetNumberOfFiles(); ++i)
- {
- sortedFiles.push_back(dir.GetFile(i));
- }
- std::sort(sortedFiles.begin(), sortedFiles.end());
-
- for(std::vector<std::string>::const_iterator fname = sortedFiles.begin();
- fname!=sortedFiles.end(); ++fname)
- {
- if(fname->length() > 6)
- {
- if(fname->substr(fname->length()-6, 6) == ".cmake")
- {
- std::string moduleName = fname->substr(0, fname->length()-6);
- // this check is to avoid creating documentation for the modules with
- // the same name in multiple directories of CMAKE_MODULE_PATH
- if (this->ModulesFound.find(moduleName) == this->ModulesFound.end())
- {
- this->ModulesFound.insert(moduleName);
- std::string path = dir.GetPath();
- path += "/";
- path += (*fname);
- this->CreateSingleModule(path.c_str(), moduleName.c_str(),
- moduleSection);
- }
- }
- }
- }
-}
-
-//----------------------------------------------------------------------------
-bool cmDocumentation::CreateSingleModule(const char* fname,
- const char* moduleName,
- cmDocumentationSection &moduleSection)
-{
- std::ifstream fin(fname);
- if(!fin)
- {
- std::cerr << "Internal error: can not open module." << fname << std::endl;
- return false;
- }
- std::string line;
- std::string text;
- std::string brief;
- brief = " ";
- bool newParagraph = true;
- while ( fin && cmSystemTools::GetLineFromStream(fin, line) )
- {
- if(line.size() && line[0] == '#')
- {
- /* line beginnings with ## are mark-up ignore them */
- if (line.size()>=2 && line[1] == '#') continue;
- // blank line
- if(line.size() <= 2)
- {
- text += "\n";
- newParagraph = true;
- }
- else if(line[2] == '-')
- {
- brief = line.c_str()+4;
- }
- else
- {
- // two spaces
- if(line[1] == ' ' && line[2] == ' ')
- {
- if(!newParagraph)
- {
- text += "\n";
- newParagraph = true;
- }
- // Skip #, and leave space for preformatted
- text += line.c_str()+1;
- text += "\n";
- }
- else if(line[1] == ' ')
- {
- if(!newParagraph)
- {
- text += " ";
- }
- newParagraph = false;
- // skip # and space
- text += line.c_str()+2;
- }
- else
- {
- if(!newParagraph)
- {
- text += " ";
- }
- newParagraph = false;
- // skip #
- text += line.c_str()+1;
- }
- }
- }
- else
- {
- break;
- }
- }
-
- if(text.length() < 2 && brief.length() == 1)
- {
- return false;
- }
-
- char* pname = strcpy(new char[strlen(moduleName)+1], moduleName);
- char* ptext = strcpy(new char[text.length()+1], text.c_str());
- this->ModuleStrings.push_back(pname);
- this->ModuleStrings.push_back(ptext);
- char* pbrief = strcpy(new char[brief.length()+1], brief.c_str());
- this->ModuleStrings.push_back(pbrief);
- moduleSection.Append(pname, pbrief, ptext);
- return true;
-}
-
-
-//----------------------------------------------------------------------------
bool cmDocumentation::PrintRequestedDocumentation(std::ostream& os)
{
+ int count = 0;
bool result = true;
// Loop over requested documentation types.
@@ -587,16 +156,14 @@ bool cmDocumentation::PrintRequestedDocumentation(std::ostream& os)
i != this->RequestedHelpItems.end();
++i)
{
- this->SetForm(i->HelpForm, i->ManSection);
this->CurrentArgument = i->Argument;
// If a file name was given, use it. Otherwise, default to the
// given stream.
- std::ofstream* fout = 0;
+ cmsys::ofstream* fout = 0;
std::ostream* s = &os;
- std::string docname("");
if(i->Filename.length() > 0)
{
- fout = new std::ofstream(i->Filename.c_str(), std::ios::out);
+ fout = new cmsys::ofstream(i->Filename.c_str(), std::ios::out);
if(fout)
{
s = fout;
@@ -605,14 +172,14 @@ bool cmDocumentation::PrintRequestedDocumentation(std::ostream& os)
{
result = false;
}
- if(i->Filename != "-")
- {
- docname = cmSystemTools::GetFilenameWithoutLastExtension(i->Filename);
- }
+ }
+ else if(++count > 1)
+ {
+ os << "\n\n";
}
// Print this documentation type to the stream.
- if(!this->PrintDocumentation(i->HelpType, *s, docname.c_str()) || !*s)
+ if(!this->PrintDocumentation(i->HelpType, *s) || !*s)
{
result = false;
}
@@ -634,33 +201,30 @@ bool cmDocumentation::PrintRequestedDocumentation(std::ostream& os)
};
-cmDocumentation::Form cmDocumentation::GetFormFromFilename(
- const std::string& filename,
- int* manSection)
+void cmDocumentation::WarnFormFromFilename(
+ cmDocumentation::RequestedHelpItem& request, bool& result)
{
- std::string ext = cmSystemTools::GetFilenameLastExtension(filename);
+ std::string ext = cmSystemTools::GetFilenameLastExtension(request.Filename);
ext = cmSystemTools::UpperCase(ext);
if ((ext == ".HTM") || (ext == ".HTML"))
{
- return cmDocumentation::HTMLForm;
+ request.HelpType = cmDocumentation::None;
+ result = true;
+ cmSystemTools::Message("Warning: HTML help format no longer supported");
}
-
- if (ext == ".DOCBOOK")
+ else if (ext == ".DOCBOOK")
{
- return cmDocumentation::DocbookForm;
+ request.HelpType = cmDocumentation::None;
+ result = true;
+ cmSystemTools::Message("Warning: Docbook help format no longer supported");
}
-
// ".1" to ".9" should be manpages
- if ((ext.length()==2) && (ext[1] >='1') && (ext[1]<='9'))
+ else if ((ext.length()==2) && (ext[1] >='1') && (ext[1]<='9'))
{
- if (manSection)
- {
- *manSection = ext[1] - '0';
- }
- return cmDocumentation::ManForm;
+ request.HelpType = cmDocumentation::None;
+ result = true;
+ cmSystemTools::Message("Warning: Man help format no longer supported");
}
-
- return cmDocumentation::TextForm;
}
//----------------------------------------------------------------------------
@@ -668,29 +232,9 @@ void cmDocumentation::addCommonStandardDocSections()
{
cmDocumentationSection *sec;
- sec = new cmDocumentationSection("Author","AUTHOR");
- sec->Append(cmDocumentationEntry
- (0,
- "This manual page was generated by the \"--help-man\" option.",
- 0));
- this->AllSections["Author"] = sec;
-
- sec = new cmDocumentationSection("Copyright","COPYRIGHT");
- sec->Append(cmDocumentationCopyright);
- this->AllSections["Copyright"] = sec;
-
- sec = new cmDocumentationSection("See Also","SEE ALSO");
- sec->Append(cmDocumentationStandardSeeAlso);
- this->AllSections["Standard See Also"] = sec;
-
sec = new cmDocumentationSection("Options","OPTIONS");
sec->Append(cmDocumentationStandardOptions);
this->AllSections["Options"] = sec;
-
- sec = new cmDocumentationSection("Compatibility Commands",
- "COMPATIBILITY COMMANDS");
- sec->Append(cmCompatCommandsDocumentationDescription);
- this->AllSections["Compatibility Commands"] = sec;
}
//----------------------------------------------------------------------------
@@ -698,27 +242,9 @@ void cmDocumentation::addCMakeStandardDocSections()
{
cmDocumentationSection *sec;
- sec = new cmDocumentationSection("Properties","PROPERTIES");
- sec->Append(cmPropertiesDocumentationDescription);
- this->AllSections["Properties Description"] = sec;
-
sec = new cmDocumentationSection("Generators","GENERATORS");
sec->Append(cmDocumentationGeneratorsHeader);
this->AllSections["Generators"] = sec;
-
- this->PropertySections.push_back("Properties of Global Scope");
- this->PropertySections.push_back("Properties on Directories");
- this->PropertySections.push_back("Properties on Targets");
- this->PropertySections.push_back("Properties on Tests");
- this->PropertySections.push_back("Properties on Source Files");
- this->PropertySections.push_back("Properties on Cache Entries");
-
- this->VariableSections.push_back("Variables that Provide Information");
- this->VariableSections.push_back("Variables That Change Behavior");
- this->VariableSections.push_back("Variables That Describe the System");
- this->VariableSections.push_back("Variables that Control the Build");
- this->VariableSections.push_back("Variables for Languages");
-
}
//----------------------------------------------------------------------------
@@ -737,347 +263,6 @@ void cmDocumentation::addCPackStandardDocSections()
sec = new cmDocumentationSection("Generators","GENERATORS");
sec->Append(cmDocumentationGeneratorsHeader);
this->AllSections["Generators"] = sec;
-
- this->VariableSections.push_back(
- "Variables common to all CPack generators");
-}
-
-void cmDocumentation::addAutomaticVariableSections(const std::string& section)
-{
- std::vector<std::string>::iterator it;
- it = std::find(this->VariableSections.begin(),
- this->VariableSections.end(),
- section);
- /* if the section does not exist then add it */
- if (it==this->VariableSections.end())
- {
- this->VariableSections.push_back(section);
- }
-}
-//----------------------------------------------------------------------------
-int cmDocumentation::getDocumentedModulesListInDir(
- std::string path,
- std::string globExpr,
- documentedModulesList_t& docedModuleList)
-{
- cmsys::Glob gl;
- std::string findExpr;
- std::vector<std::string> files;
- std::string line;
- documentedModuleSectionPair_t docPair;
- int nbDocumentedModules = 0;
-
- findExpr = path + "/" + globExpr;
- if (gl.FindFiles(findExpr))
- {
- files = gl.GetFiles();
- for (std::vector<std::string>::iterator itf=files.begin();
- itf!=files.end();++itf)
- {
- std::ifstream fin((*itf).c_str());
- // file access trouble ignore it (ignore this kind of error)
- if (!fin) continue;
- /* read first line in order to get doc section */
- if (cmSystemTools::GetLineFromStream(fin, line))
- {
- /* Doc section indicates that
- * this file has structured doc in it.
- */
- if (line.find("##section")!=std::string::npos)
- {
- // ok found one more documented module
- ++nbDocumentedModules;
- docPair.first = *itf;
- // 10 is the size of '##section' + 1
- docPair.second = line.substr(10,std::string::npos);
- docedModuleList.push_back(docPair);
- }
- // No else if no section is found (undocumented module)
- }
- // No else cannot read first line (ignore this kind of error)
- line = "";
- }
- }
- if (nbDocumentedModules>0)
- {
- return 0;
- }
- else
- {
- return 1;
- }
-}
-
-//----------------------------------------------------------------------------
-static void trim(std::string& s)
-{
- std::string::size_type pos = s.find_last_not_of(' ');
- if(pos != std::string::npos)
- {
- s.erase(pos + 1);
- pos = s.find_first_not_of(' ');
- if(pos != std::string::npos) s.erase(0, pos);
- }
- else
- {
- s.erase(s.begin(), s.end());
- }
-}
-
-int cmDocumentation::GetStructuredDocFromFile(
- const char* fname,
- std::vector<cmDocumentationEntry>& commands,
- cmake* cm)
-{
- typedef enum sdoce {
- SDOC_NONE, SDOC_MODULE, SDOC_MACRO, SDOC_FUNCTION, SDOC_VARIABLE,
- SDOC_SECTION,
- SDOC_UNKNOWN} sdoc_t;
- int nbDocItemFound = 0;
- int docCtxIdx = 0;
- std::vector<int> docContextStack(60);
- docContextStack[docCtxIdx]=SDOC_NONE;
- cmDocumentationEntry e;
- std::ifstream fin(fname);
- if(!fin)
- {
- return nbDocItemFound;
- }
- std::string section;
- std::string name;
- std::string full;
- std::string brief;
- std::string line;
- bool newCtx = false; /* we've just entered ##<beginkey> context */
- bool inBrief = false; /* we are currently parsing brief desc. */
- bool inFullFirstParagraph = false; /* we are currently parsing full
- desc. first paragraph */
- brief = "";
- full = "";
- bool newParagraph = true;
- while ( fin && cmSystemTools::GetLineFromStream(fin, line) )
- {
- if(line.size() && line[0] == '#')
- {
- /* handle structured doc context */
- if ((line.size()>=2) && line[1]=='#')
- {
- /* markup word is following '##' stopping at first space
- * Some markup word like 'section' may have more characters
- * following but we don't handle those here.
- */
- std::string mkword = line.substr(2,line.find(' ',2)-2);
- if (mkword=="macro")
- {
- docCtxIdx++;
- docContextStack[docCtxIdx]=SDOC_MACRO;
- newCtx = true;
- }
- else if (mkword=="variable")
- {
- docCtxIdx++;
- docContextStack[docCtxIdx]=SDOC_VARIABLE;
- newCtx = true;
- }
- else if (mkword=="function")
- {
- docCtxIdx++;
- docContextStack[docCtxIdx]=SDOC_FUNCTION;
- newCtx = true;
- }
- else if (mkword=="module")
- {
- docCtxIdx++;
- docContextStack[docCtxIdx]=SDOC_MODULE;
- newCtx = true;
- }
- else if (mkword=="section")
- {
- docCtxIdx++;
- docContextStack[docCtxIdx]=SDOC_SECTION;
- // 10 is the size of '##section' + 1
- section = line.substr(10,std::string::npos);
- /* drop the rest of the line */
- line = "";
- newCtx = true;
- }
- else if (mkword.substr(0,3)=="end")
- {
- switch (docContextStack[docCtxIdx]) {
- case SDOC_MACRO:
- /* for now MACRO and FUNCTION are handled in the same way */
- case SDOC_FUNCTION:
- commands.push_back(cmDocumentationEntry(name.c_str(),
- brief.c_str(),full.c_str()));
- break;
- case SDOC_VARIABLE:
- this->addAutomaticVariableSections(section);
- cm->DefineProperty
- (name.c_str(), cmProperty::VARIABLE,
- brief.c_str(),
- full.c_str(),false,
- section.c_str());
- break;
- case SDOC_MODULE:
- /* not implemented */
- break;
- case SDOC_SECTION:
- /* not implemented */
- break;
- default:
- /* ignore other cases */
- break;
- }
- docCtxIdx--;
- newCtx = false;
- ++nbDocItemFound;
- }
- else
- {
- // error out unhandled context
- return nbDocItemFound;
- }
- /* context is set go to next doc line */
- continue;
- }
-
- // Now parse the text attached to the context
-
- // The first line after the context mark-up contains::
- // name - brief until. (brief is dot terminated or
- // followed by a blank line)
- if (newCtx)
- {
- // no brief (for easy variable definition)
- if (line.find("-")==std::string::npos)
- {
- name = line.substr(1,std::string::npos);
- trim(name);
- brief = "";
- inBrief = false;
- full = "";
- }
- // here we have a name and brief beginning
- else
- {
- name = line.substr(1,line.find("-")-1);
- trim(name);
- // we are parsing the brief context
- brief = line.substr(line.find("-")+1,std::string::npos);
- trim(brief);
- // Brief may already be terminated on the first line
- if (brief.find('.')!=std::string::npos)
- {
- inBrief = false;
- full = brief.substr(brief.find('.')+1,std::string::npos);
- trim(full);
- inFullFirstParagraph = true;
- brief = brief.substr(0,brief.find('.'));
- }
- // brief is continued on following lines
- else
- {
- inBrief = true;
- full = "";
- }
- }
- newCtx = false;
- continue;
- }
- // blank line
- if(line.size() <= 2)
- {
- if (inBrief) {
- inBrief = false;
- full = "";
- } else {
- if (full.length()>0)
- {
- full += "\n";
- }
- // the first paragraph of full has ended
- inFullFirstParagraph = false;
- }
- newParagraph = true;
- }
- // brief is terminated by '.'
- else if (inBrief && (line.find('.')!=std::string::npos))
- {
- /* the brief just ended */
- inBrief = false;
- std::string endBrief = line.substr(1,line.find('.'));
- trim(endBrief);
- trim(brief);
- brief += " " + endBrief;
- full += line.substr(line.find('.')+1,std::string::npos);
- trim(full);
- inFullFirstParagraph = true;
- }
- // we handle full text or multi-line brief.
- else
- {
- std::string* text;
- if (inBrief)
- {
- text = &brief;
- }
- else
- {
- text = &full;
- }
- // two spaces
- if(line[1] == ' ' && line[2] == ' ')
- {
- // there is no "full first paragraph at all."
- if (line[3] == ' ')
- {
- inFullFirstParagraph = false;
- }
-
- if(!newParagraph && !inFullFirstParagraph)
- {
- *text += "\n";
- newParagraph = true;
- }
- // Skip #, and leave space for pre-formatted
- if (inFullFirstParagraph)
- {
- std::string temp = line.c_str()+1;
- trim(temp);
- *text += " " + temp;
- }
- else
- {
- *text += line.c_str()+1;
- *text += "\n";
- }
- }
- else if(line[1] == ' ')
- {
- if(!newParagraph)
- {
- *text += " ";
- }
- newParagraph = false;
- // skip # and space
- *text += line.c_str()+2;
- }
- else
- {
- if(!newParagraph)
- {
- *text += " ";
- }
- newParagraph = false;
- // skip #
- *text += line.c_str()+1;
- }
- }
- }
- /* next line is not the first context line */
- newCtx = false;
- }
- return nbDocItemFound;
}
//----------------------------------------------------------------------------
@@ -1089,7 +274,6 @@ bool cmDocumentation::CheckOptions(int argc, const char* const* argv,
{
RequestedHelpItem help;
help.HelpType = cmDocumentation::Usage;
- help.HelpForm = cmDocumentation::UsageForm;
this->RequestedHelpItems.push_back(help);
return true;
}
@@ -1113,154 +297,167 @@ bool cmDocumentation::CheckOptions(int argc, const char* const* argv,
(strcmp(argv[i], "-H") == 0))
{
help.HelpType = cmDocumentation::Usage;
- help.HelpForm = cmDocumentation::UsageForm;
GET_OPT_ARGUMENT(help.Argument);
help.Argument = cmSystemTools::LowerCase(help.Argument);
// special case for single command
if (!help.Argument.empty())
{
- help.HelpType = cmDocumentation::Single;
+ help.HelpType = cmDocumentation::OneCommand;
}
}
else if(strcmp(argv[i], "--help-properties") == 0)
{
- help.HelpType = cmDocumentation::Properties;
+ help.HelpType = cmDocumentation::OneManual;
+ help.Argument = "cmake-properties.7";
GET_OPT_ARGUMENT(help.Filename);
- help.HelpForm = this->GetFormFromFilename(help.Filename,
- &help.ManSection);
+ this->WarnFormFromFilename(help, result);
}
else if(strcmp(argv[i], "--help-policies") == 0)
{
- help.HelpType = cmDocumentation::Policies;
+ help.HelpType = cmDocumentation::OneManual;
+ help.Argument = "cmake-policies.7";
GET_OPT_ARGUMENT(help.Filename);
- help.HelpForm = this->GetFormFromFilename(help.Filename,
- &help.ManSection);
+ this->WarnFormFromFilename(help, result);
}
else if(strcmp(argv[i], "--help-variables") == 0)
{
- help.HelpType = cmDocumentation::Variables;
+ help.HelpType = cmDocumentation::OneManual;
+ help.Argument = "cmake-variables.7";
GET_OPT_ARGUMENT(help.Filename);
- help.HelpForm = this->GetFormFromFilename(help.Filename,
- &help.ManSection);
+ this->WarnFormFromFilename(help, result);
}
else if(strcmp(argv[i], "--help-modules") == 0)
{
- help.HelpType = cmDocumentation::Modules;
+ help.HelpType = cmDocumentation::OneManual;
+ help.Argument = "cmake-modules.7";
GET_OPT_ARGUMENT(help.Filename);
- help.HelpForm = this->GetFormFromFilename(help.Filename,
- &help.ManSection);
+ this->WarnFormFromFilename(help, result);
}
else if(strcmp(argv[i], "--help-custom-modules") == 0)
{
- help.HelpType = cmDocumentation::CustomModules;
GET_OPT_ARGUMENT(help.Filename);
- help.HelpForm = this->GetFormFromFilename(help.Filename,
- &help.ManSection);
+ cmSystemTools::Message(
+ "Warning: --help-custom-modules no longer supported");
+ if(help.Filename.empty())
+ {
+ return true;
+ }
+ // Avoid breaking old project builds completely by at least generating
+ // the output file. Abuse help.Argument to give the file name to
+ // PrintOldCustomModules without disrupting our internal API.
+ help.HelpType = cmDocumentation::OldCustomModules;
+ help.Argument = cmSystemTools::GetFilenameName(help.Filename);
}
else if(strcmp(argv[i], "--help-commands") == 0)
{
- help.HelpType = cmDocumentation::Commands;
+ help.HelpType = cmDocumentation::OneManual;
+ help.Argument = "cmake-commands.7";
GET_OPT_ARGUMENT(help.Filename);
- help.HelpForm = this->GetFormFromFilename(help.Filename,
- &help.ManSection);
+ this->WarnFormFromFilename(help, result);
}
else if(strcmp(argv[i], "--help-compatcommands") == 0)
{
- help.HelpType = cmDocumentation::CompatCommands;
GET_OPT_ARGUMENT(help.Filename);
- help.HelpForm = this->GetFormFromFilename(help.Filename,
- &help.ManSection);
+ cmSystemTools::Message(
+ "Warning: --help-compatcommands no longer supported");
+ return true;
}
else if(strcmp(argv[i], "--help-full") == 0)
{
- help.HelpType = cmDocumentation::Full;
GET_OPT_ARGUMENT(help.Filename);
- help.HelpForm = this->GetFormFromFilename(help.Filename,
- &help.ManSection);
+ cmSystemTools::Message("Warning: --help-full no longer supported");
+ return true;
}
else if(strcmp(argv[i], "--help-html") == 0)
{
- help.HelpType = cmDocumentation::Full;
GET_OPT_ARGUMENT(help.Filename);
- help.HelpForm = cmDocumentation::HTMLForm;
+ cmSystemTools::Message("Warning: --help-html no longer supported");
+ return true;
}
else if(strcmp(argv[i], "--help-man") == 0)
{
- help.HelpType = cmDocumentation::Full;
GET_OPT_ARGUMENT(help.Filename);
- help.HelpForm = cmDocumentation::ManForm;
- help.ManSection = 1;
+ cmSystemTools::Message("Warning: --help-man no longer supported");
+ return true;
}
else if(strcmp(argv[i], "--help-command") == 0)
{
- help.HelpType = cmDocumentation::Single;
+ help.HelpType = cmDocumentation::OneCommand;
GET_OPT_ARGUMENT(help.Argument);
GET_OPT_ARGUMENT(help.Filename);
help.Argument = cmSystemTools::LowerCase(help.Argument);
- help.HelpForm = this->GetFormFromFilename(help.Filename,
- &help.ManSection);
+ this->WarnFormFromFilename(help, result);
}
else if(strcmp(argv[i], "--help-module") == 0)
{
- help.HelpType = cmDocumentation::SingleModule;
+ help.HelpType = cmDocumentation::OneModule;
GET_OPT_ARGUMENT(help.Argument);
GET_OPT_ARGUMENT(help.Filename);
- help.HelpForm = this->GetFormFromFilename(help.Filename,
- &help.ManSection);
+ this->WarnFormFromFilename(help, result);
}
else if(strcmp(argv[i], "--help-property") == 0)
{
- help.HelpType = cmDocumentation::SingleProperty;
+ help.HelpType = cmDocumentation::OneProperty;
GET_OPT_ARGUMENT(help.Argument);
GET_OPT_ARGUMENT(help.Filename);
- help.HelpForm = this->GetFormFromFilename(help.Filename,
- &help.ManSection);
+ this->WarnFormFromFilename(help, result);
}
else if(strcmp(argv[i], "--help-policy") == 0)
{
- help.HelpType = cmDocumentation::SinglePolicy;
+ help.HelpType = cmDocumentation::OnePolicy;
GET_OPT_ARGUMENT(help.Argument);
GET_OPT_ARGUMENT(help.Filename);
- help.HelpForm = this->GetFormFromFilename(help.Filename,
- &help.ManSection);
+ this->WarnFormFromFilename(help, result);
}
else if(strcmp(argv[i], "--help-variable") == 0)
{
- help.HelpType = cmDocumentation::SingleVariable;
+ help.HelpType = cmDocumentation::OneVariable;
+ GET_OPT_ARGUMENT(help.Argument);
+ GET_OPT_ARGUMENT(help.Filename);
+ this->WarnFormFromFilename(help, result);
+ }
+ else if(strcmp(argv[i], "--help-manual") == 0)
+ {
+ help.HelpType = cmDocumentation::OneManual;
GET_OPT_ARGUMENT(help.Argument);
GET_OPT_ARGUMENT(help.Filename);
- help.HelpForm = this->GetFormFromFilename(help.Filename,
- &help.ManSection);
+ this->WarnFormFromFilename(help, result);
}
else if(strcmp(argv[i], "--help-command-list") == 0)
{
- help.HelpType = cmDocumentation::List;
+ help.HelpType = cmDocumentation::ListCommands;
GET_OPT_ARGUMENT(help.Filename);
- help.HelpForm = cmDocumentation::TextForm;
}
else if(strcmp(argv[i], "--help-module-list") == 0)
{
- help.HelpType = cmDocumentation::ModuleList;
+ help.HelpType = cmDocumentation::ListModules;
GET_OPT_ARGUMENT(help.Filename);
- help.HelpForm = cmDocumentation::TextForm;
}
else if(strcmp(argv[i], "--help-property-list") == 0)
{
- help.HelpType = cmDocumentation::PropertyList;
+ help.HelpType = cmDocumentation::ListProperties;
GET_OPT_ARGUMENT(help.Filename);
- help.HelpForm = cmDocumentation::TextForm;
}
else if(strcmp(argv[i], "--help-variable-list") == 0)
{
- help.HelpType = cmDocumentation::VariableList;
+ help.HelpType = cmDocumentation::ListVariables;
+ GET_OPT_ARGUMENT(help.Filename);
+ }
+ else if(strcmp(argv[i], "--help-policy-list") == 0)
+ {
+ help.HelpType = cmDocumentation::ListPolicies;
+ GET_OPT_ARGUMENT(help.Filename);
+ }
+ else if(strcmp(argv[i], "--help-manual-list") == 0)
+ {
+ help.HelpType = cmDocumentation::ListManuals;
GET_OPT_ARGUMENT(help.Filename);
- help.HelpForm = cmDocumentation::TextForm;
}
else if(strcmp(argv[i], "--copyright") == 0)
{
- help.HelpType = cmDocumentation::Copyright;
GET_OPT_ARGUMENT(help.Filename);
- help.HelpForm = cmDocumentation::UsageForm;
+ cmSystemTools::Message("Warning: --copyright no longer supported");
+ return true;
}
else if((strcmp(argv[i], "--version") == 0) ||
(strcmp(argv[i], "-version") == 0) ||
@@ -1268,7 +465,6 @@ bool cmDocumentation::CheckOptions(int argc, const char* const* argv,
{
help.HelpType = cmDocumentation::Version;
GET_OPT_ARGUMENT(help.Filename);
- help.HelpForm = cmDocumentation::UsageForm;
}
if(help.HelpType != None)
{
@@ -1281,40 +477,12 @@ bool cmDocumentation::CheckOptions(int argc, const char* const* argv,
}
//----------------------------------------------------------------------------
-void cmDocumentation::Print(Form f, int manSection, std::ostream& os)
-{
- this->SetForm(f, manSection);
- this->Print(os);
-}
-
-//----------------------------------------------------------------------------
-void cmDocumentation::Print(std::ostream& os)
-{
- // if the formatter supports it, print a master index for
- // all sections
- this->CurrentFormatter->PrintIndex(os, this->PrintSections);
- for(unsigned int i=0; i < this->PrintSections.size(); ++i)
- {
- std::string name = this->PrintSections[i]->
- GetName((this->CurrentFormatter->GetForm()));
- this->CurrentFormatter->PrintSection(os,*this->PrintSections[i],
- name.c_str());
- }
-}
-
-//----------------------------------------------------------------------------
void cmDocumentation::SetName(const char* name)
{
this->NameString = name?name:"";
}
//----------------------------------------------------------------------------
-void cmDocumentation::SetDocName(const char *docname)
-{
- this->DocName = docname?docname:"";
-}
-
-//----------------------------------------------------------------------------
void cmDocumentation::SetSection(const char *name,
cmDocumentationSection *section)
{
@@ -1338,7 +506,7 @@ void cmDocumentation::SetSection(const char *name,
//----------------------------------------------------------------------------
void cmDocumentation::SetSection(const char *name,
- const char *docs[][3])
+ const char *docs[][2])
{
cmDocumentationSection *sec =
new cmDocumentationSection(name,
@@ -1360,7 +528,7 @@ void cmDocumentation
//----------------------------------------------------------------------------
void cmDocumentation::PrependSection(const char *name,
- const char *docs[][3])
+ const char *docs[][2])
{
cmDocumentationSection *sec = 0;
if (this->AllSections.find(name) == this->AllSections.end())
@@ -1396,7 +564,7 @@ void cmDocumentation::PrependSection(const char *name,
//----------------------------------------------------------------------------
void cmDocumentation::AppendSection(const char *name,
- const char *docs[][3])
+ const char *docs[][2])
{
cmDocumentationSection *sec = 0;
if (this->AllSections.find(name) == this->AllSections.end())
@@ -1451,471 +619,243 @@ void cmDocumentation::PrependSection(const char *name,
}
//----------------------------------------------------------------------------
-void cmDocumentation::SetSeeAlsoList(const char *data[][3])
+void cmDocumentation::GlobHelp(std::vector<std::string>& files,
+ std::string const& pattern)
{
- cmDocumentationSection *sec =
- new cmDocumentationSection("See Also", "SEE ALSO");
- this->AllSections["See Also"] = sec;
- this->SeeAlsoString = ".B ";
- int i = 0;
- while(data[i][1])
+ cmsys::Glob gl;
+ std::string findExpr =
+ cmSystemTools::GetCMakeRoot() + "/Help/" + pattern + ".rst";
+ if(gl.FindFiles(findExpr))
{
- this->SeeAlsoString += data[i][1];
- this->SeeAlsoString += data[i+1][1]? "(1), ":"(1)";
- ++i;
+ files = gl.GetFiles();
}
- sec->Append(0,this->SeeAlsoString.c_str(),0);
- sec->Append(cmDocumentationStandardSeeAlso);
}
//----------------------------------------------------------------------------
-bool cmDocumentation::PrintDocumentationGeneric(std::ostream& os,
- const char *section)
+void cmDocumentation::PrintNames(std::ostream& os,
+ std::string const& pattern)
{
- if(this->AllSections.find(section) == this->AllSections.end())
- {
- os << "Internal error: " << section << " list is empty." << std::endl;
- return false;
- }
- if(this->CurrentArgument.length() == 0)
- {
- os << "Required argument missing.\n";
- return false;
- }
- const std::vector<cmDocumentationEntry> &entries =
- this->AllSections[section]->GetEntries();
- for(std::vector<cmDocumentationEntry>::const_iterator ei =
- entries.begin();
- ei != entries.end(); ++ei)
+ std::vector<std::string> files;
+ this->GlobHelp(files, pattern);
+ std::vector<std::string> names;
+ for (std::vector<std::string>::const_iterator i = files.begin();
+ i != files.end(); ++i)
{
- if(this->CurrentArgument == ei->Name)
+ std::string line;
+ cmsys::ifstream fin(i->c_str());
+ while(fin && cmSystemTools::GetLineFromStream(fin, line))
{
- this->PrintDocumentationCommand(os, *ei);
- return true;
+ if(!line.empty() && (isalnum(line[0]) || line[0] == '<'))
+ {
+ names.push_back(line);
+ break;
+ }
}
}
- return false;
+ std::sort(names.begin(), names.end());
+ for (std::vector<std::string>::iterator i = names.begin();
+ i != names.end(); ++i)
+ {
+ os << *i << "\n";
+ }
}
//----------------------------------------------------------------------------
-bool cmDocumentation::PrintDocumentationSingle(std::ostream& os)
+bool cmDocumentation::PrintFiles(std::ostream& os,
+ std::string const& pattern)
{
- if (this->PrintDocumentationGeneric(os,"Commands"))
- {
- return true;
- }
- if (this->PrintDocumentationGeneric(os,"Compatibility Commands"))
+ bool found = false;
+ std::vector<std::string> files;
+ this->GlobHelp(files, pattern);
+ std::sort(files.begin(), files.end());
+ cmRST r(os, cmSystemTools::GetCMakeRoot() + "/Help");
+ for (std::vector<std::string>::const_iterator i = files.begin();
+ i != files.end(); ++i)
{
- return true;
+ found = r.ProcessFile(i->c_str()) || found;
}
-
- // Argument was not a command. Complain.
- os << "Argument \"" << this->CurrentArgument.c_str()
- << "\" to --help-command is not a CMake command. "
- << "Use --help-command-list to see all commands.\n";
- return false;
+ return found;
}
//----------------------------------------------------------------------------
-bool cmDocumentation::PrintDocumentationSingleModule(std::ostream& os)
+bool cmDocumentation::PrintHelpOneManual(std::ostream& os)
{
- if(this->CurrentArgument.length() == 0)
- {
- os << "Argument --help-module needs a module name.\n";
- return false;
- }
-
- std::string moduleName;
- // find the module
- std::vector<std::string> dirs;
- cmSystemTools::ExpandListArgument(this->CMakeModulePath, dirs);
- for(std::vector<std::string>::const_iterator dirIt = dirs.begin();
- dirIt != dirs.end();
- ++dirIt)
- {
- moduleName = *dirIt;
- moduleName += "/";
- moduleName += this->CurrentArgument;
- moduleName += ".cmake";
- if(cmSystemTools::FileExists(moduleName.c_str()))
- {
- break;
- }
- moduleName = "";
- }
-
- if (moduleName.empty())
+ std::string mname = this->CurrentArgument;
+ std::string::size_type mlen = mname.length();
+ if(mlen > 3 && mname[mlen-3] == '(' &&
+ mname[mlen-1] == ')')
{
- moduleName = this->CMakeRoot;
- moduleName += "/Modules/";
- moduleName += this->CurrentArgument;
- moduleName += ".cmake";
- if(!cmSystemTools::FileExists(moduleName.c_str()))
- {
- moduleName = "";
- }
+ mname = mname.substr(0, mlen-3) + "." + mname[mlen-2];
}
-
- if(!moduleName.empty())
+ if(this->PrintFiles(os, "manual/" + mname) ||
+ this->PrintFiles(os, "manual/" + mname + ".[0-9]"))
{
- cmDocumentationSection *sec =
- new cmDocumentationSection("Standard CMake Modules", "MODULES");
- this->AllSections["Modules"] = sec;
- if (this->CreateSingleModule(moduleName.c_str(),
- this->CurrentArgument.c_str(),
- *this->AllSections["Modules"]))
- {
- if(this->AllSections["Modules"]->GetEntries().size())
- {
- this->PrintDocumentationCommand
- (os, this->AllSections["Modules"]->GetEntries()[0]);
- os << "\n Defined in: ";
- os << moduleName << "\n";
- return true;
- }
- else
- {
- return false;
- }
- }
+ return true;
}
-
- // Argument was not a module. Complain.
+ // Argument was not a manual. Complain.
os << "Argument \"" << this->CurrentArgument.c_str()
- << "\" to --help-module is not a CMake module.\n";
+ << "\" to --help-manual is not an available manual. "
+ << "Use --help-manual-list to see all available manuals.\n";
return false;
}
//----------------------------------------------------------------------------
-bool cmDocumentation::PrintDocumentationSingleProperty(std::ostream& os)
+bool cmDocumentation::PrintHelpListManuals(std::ostream& os)
{
- bool done = false;
- for (std::vector<std::string>::iterator i =
- this->PropertySections.begin();
- !done && i != this->PropertySections.end(); ++i)
- {
- done = this->PrintDocumentationGeneric(os,i->c_str());
- }
-
- if (done)
- {
- return true;
- }
-
- // Argument was not a command. Complain.
- os << "Argument \"" << this->CurrentArgument.c_str()
- << "\" to --help-property is not a CMake property. "
- << "Use --help-property-list to see all properties.\n";
- return false;
+ this->PrintNames(os, "manual/*");
+ return true;
}
//----------------------------------------------------------------------------
-bool cmDocumentation::PrintDocumentationSinglePolicy(std::ostream& os)
+bool cmDocumentation::PrintHelpOneCommand(std::ostream& os)
{
- if (this->PrintDocumentationGeneric(os,"Policies"))
+ std::string cname = cmSystemTools::LowerCase(this->CurrentArgument);
+ if(this->PrintFiles(os, "command/" + cname))
{
return true;
}
-
// Argument was not a command. Complain.
os << "Argument \"" << this->CurrentArgument.c_str()
- << "\" to --help-policy is not a CMake policy.\n";
+ << "\" to --help-command is not a CMake command. "
+ << "Use --help-command-list to see all commands.\n";
return false;
}
//----------------------------------------------------------------------------
-bool cmDocumentation::PrintDocumentationSingleVariable(std::ostream& os)
+bool cmDocumentation::PrintHelpListCommands(std::ostream& os)
{
- bool done = false;
- for (std::vector<std::string>::iterator i =
- this->VariableSections.begin();
- !done && i != this->VariableSections.end(); ++i)
- {
- done = this->PrintDocumentationGeneric(os,i->c_str());
- }
+ this->PrintNames(os, "command/*");
+ return true;
+}
- if (done)
+//----------------------------------------------------------------------------
+bool cmDocumentation::PrintHelpOneModule(std::ostream& os)
+{
+ std::string mname = this->CurrentArgument;
+ if(this->PrintFiles(os, "module/" + mname))
{
return true;
}
-
- // Argument was not a command. Complain.
+ // Argument was not a module. Complain.
os << "Argument \"" << this->CurrentArgument.c_str()
- << "\" to --help-variable is not a defined variable. "
- << "Use --help-variable-list to see all defined variables.\n";
+ << "\" to --help-module is not a CMake module.\n";
return false;
}
//----------------------------------------------------------------------------
-bool cmDocumentation::PrintDocumentationList(std::ostream& os,
- const char *section)
+bool cmDocumentation::PrintHelpListModules(std::ostream& os)
{
- if(this->AllSections.find(section) == this->AllSections.end())
+ std::vector<std::string> files;
+ this->GlobHelp(files, "module/*");
+ std::vector<std::string> modules;
+ for (std::vector<std::string>::iterator fi = files.begin();
+ fi != files.end(); ++fi)
{
- os << "Internal error: " << section << " list is empty." << std::endl;
- return false;
+ std::string module = cmSystemTools::GetFilenameName(*fi);
+ modules.push_back(module.substr(0, module.size()-4));
}
-
- const std::vector<cmDocumentationEntry> &entries =
- this->AllSections[section]->GetEntries();
- for(std::vector<cmDocumentationEntry>::const_iterator ei =
- entries.begin();
- ei != entries.end(); ++ei)
+ std::sort(modules.begin(), modules.end());
+ for (std::vector<std::string>::iterator i = modules.begin();
+ i != modules.end(); ++i)
{
- if(ei->Name.size())
- {
- os << ei->Name << std::endl;
- }
+ os << *i << "\n";
}
return true;
}
//----------------------------------------------------------------------------
-bool cmDocumentation::PrintDocumentationUsage(std::ostream& os)
+bool cmDocumentation::PrintHelpOneProperty(std::ostream& os)
{
- this->ClearSections();
- this->AddSectionToPrint("Usage");
- this->AddSectionToPrint("Options");
- if(this->ShowGenerators)
+ std::string pname = cmSystemTools::HelpFileName(this->CurrentArgument);
+ if(this->PrintFiles(os, "prop_*/" + pname))
{
- this->AddSectionToPrint("Generators");
+ return true;
}
- this->Print(os);
- return true;
-}
-
-//----------------------------------------------------------------------------
-bool cmDocumentation::PrintDocumentationFull(std::ostream& os)
-{
- this->CreateFullDocumentation();
- this->CurrentFormatter->PrintHeader(GetNameString(), GetNameString(), os);
- this->Print(os);
- this->CurrentFormatter->PrintFooter(os);
- return true;
-}
-
-//----------------------------------------------------------------------------
-bool cmDocumentation::PrintDocumentationModules(std::ostream& os)
-{
- this->ClearSections();
- this->CreateModulesSection();
- this->AddDocumentIntroToPrint(GET_DOCUMENT_INTRO(Modules));
- this->AddSectionToPrint("Description");
- this->AddSectionToPrint("Modules");
- this->AddSectionToPrint("Copyright");
- this->AddSectionToPrint("See Also");
- this->CurrentFormatter->PrintHeader(GetDocName(), GetNameString(), os);
- this->Print(os);
- this->CurrentFormatter->PrintFooter(os);
- return true;
+ // Argument was not a property. Complain.
+ os << "Argument \"" << this->CurrentArgument.c_str()
+ << "\" to --help-property is not a CMake property. "
+ << "Use --help-property-list to see all properties.\n";
+ return false;
}
//----------------------------------------------------------------------------
-bool cmDocumentation::PrintDocumentationCustomModules(std::ostream& os)
+bool cmDocumentation::PrintHelpListProperties(std::ostream& os)
{
- this->ClearSections();
- this->CreateCustomModulesSection();
- this->AddDocumentIntroToPrint(GET_DOCUMENT_INTRO(CustomModules));
- this->AddSectionToPrint("Description");
- this->AddSectionToPrint("Custom CMake Modules");
-// the custom modules are most probably not under Kitware's copyright, Alex
-// this->AddSectionToPrint("Copyright");
- this->AddSectionToPrint("See Also");
-
- this->CurrentFormatter->PrintHeader(GetDocName(), GetNameString(), os);
- this->Print(os);
- this->CurrentFormatter->PrintFooter(os);
+ this->PrintNames(os, "prop_*/*");
return true;
}
//----------------------------------------------------------------------------
-bool cmDocumentation::PrintDocumentationPolicies(std::ostream& os)
+bool cmDocumentation::PrintHelpOnePolicy(std::ostream& os)
{
- this->ClearSections();
- this->AddDocumentIntroToPrint(GET_DOCUMENT_INTRO(Policies));
- this->AddSectionToPrint("Description");
- this->AddSectionToPrint("Policies");
- this->AddSectionToPrint("Copyright");
- this->AddSectionToPrint("See Also");
+ std::string pname = this->CurrentArgument;
+ std::vector<std::string> files;
+ if(this->PrintFiles(os, "policy/" + pname))
+ {
+ return true;
+ }
- this->CurrentFormatter->PrintHeader(GetDocName(), GetNameString(), os);
- this->Print(os);
- this->CurrentFormatter->PrintFooter(os);
- return true;
+ // Argument was not a policy. Complain.
+ os << "Argument \"" << this->CurrentArgument.c_str()
+ << "\" to --help-policy is not a CMake policy.\n";
+ return false;
}
//----------------------------------------------------------------------------
-bool cmDocumentation::PrintDocumentationProperties(std::ostream& os)
+bool cmDocumentation::PrintHelpListPolicies(std::ostream& os)
{
- this->ClearSections();
- this->AddDocumentIntroToPrint(GET_DOCUMENT_INTRO(Properties));
- this->AddSectionToPrint("Properties Description");
- for (std::vector<std::string>::iterator i =
- this->PropertySections.begin();
- i != this->PropertySections.end(); ++i)
- {
- this->AddSectionToPrint(i->c_str());
- }
- this->AddSectionToPrint("Copyright");
- this->AddSectionToPrint("Standard See Also");
- this->CurrentFormatter->PrintHeader(GetDocName(), GetNameString(), os);
- this->Print(os);
- this->CurrentFormatter->PrintFooter(os);
+ this->PrintNames(os, "policy/*");
return true;
}
//----------------------------------------------------------------------------
-bool cmDocumentation::PrintDocumentationVariables(std::ostream& os)
+bool cmDocumentation::PrintHelpOneVariable(std::ostream& os)
{
- this->ClearSections();
- this->AddDocumentIntroToPrint(GET_DOCUMENT_INTRO(Variables));
- for (std::vector<std::string>::iterator i =
- this->VariableSections.begin();
- i != this->VariableSections.end(); ++i)
+ std::string vname = cmSystemTools::HelpFileName(this->CurrentArgument);
+ if(this->PrintFiles(os, "variable/" + vname))
{
- this->AddSectionToPrint(i->c_str());
+ return true;
}
- this->AddSectionToPrint("Copyright");
- this->AddSectionToPrint("Standard See Also");
- this->CurrentFormatter->PrintHeader(GetDocName(), GetNameString(), os);
- this->Print(os);
- this->CurrentFormatter->PrintFooter(os);
- return true;
-}
-
-//----------------------------------------------------------------------------
-bool cmDocumentation::PrintDocumentationCurrentCommands(std::ostream& os)
-{
- this->ClearSections();
- this->AddDocumentIntroToPrint(GET_DOCUMENT_INTRO(Commands));
- this->AddSectionToPrint("Commands");
- this->AddSectionToPrint("Copyright");
- this->AddSectionToPrint("Standard See Also");
- this->CurrentFormatter->PrintHeader(GetDocName(), GetNameString(), os);
- this->Print(os);
- this->CurrentFormatter->PrintFooter(os);
- return true;
+ // Argument was not a variable. Complain.
+ os << "Argument \"" << this->CurrentArgument.c_str()
+ << "\" to --help-variable is not a defined variable. "
+ << "Use --help-variable-list to see all defined variables.\n";
+ return false;
}
//----------------------------------------------------------------------------
-bool cmDocumentation::PrintDocumentationCompatCommands(std::ostream& os)
+bool cmDocumentation::PrintHelpListVariables(std::ostream& os)
{
- this->ClearSections();
- this->AddDocumentIntroToPrint(GET_DOCUMENT_INTRO(CompatCommands));
- this->AddSectionToPrint("Compatibility Commands Description");
- this->AddSectionToPrint("Compatibility Commands");
- this->AddSectionToPrint("Copyright");
- this->AddSectionToPrint("Standard See Also");
- this->CurrentFormatter->PrintHeader(GetDocName(), GetNameString(), os);
- this->Print(os);
- this->CurrentFormatter->PrintFooter(os);
+ this->PrintNames(os, "variable/*");
return true;
}
//----------------------------------------------------------------------------
-void cmDocumentation
-::PrintDocumentationCommand(std::ostream& os,
- const cmDocumentationEntry &entry)
-{
- // the string "SingleItem" will be used in a few places to detect the case
- // that only the documentation for a single item is printed
- cmDocumentationSection *sec = new cmDocumentationSection("SingleItem","");
- sec->Append(entry);
- this->AllSections["temp"] = sec;
- this->ClearSections();
- this->AddSectionToPrint("temp");
- this->Print(os);
- this->AllSections.erase("temp");
- delete sec;
-}
-
-//----------------------------------------------------------------------------
-void cmDocumentation::CreateFullDocumentation()
+bool cmDocumentation::PrintDocumentationUsage(std::ostream& os)
{
- this->ClearSections();
- this->CreateCustomModulesSection();
- this->CreateModulesSection();
-
- std::set<std::string> emitted;
- this->AddSectionToPrint("Name");
- emitted.insert("Name");
- this->AddSectionToPrint("Usage");
- emitted.insert("Usage");
- this->AddSectionToPrint("Description");
- emitted.insert("Description");
- this->AddSectionToPrint("Options");
- emitted.insert("Options");
- this->AddSectionToPrint("Generators");
- emitted.insert("Generators");
- this->AddSectionToPrint("Commands");
- emitted.insert("Commands");
-
-
- this->AddSectionToPrint("Properties Description");
- emitted.insert("Properties Description");
- for (std::vector<std::string>::iterator i =
- this->PropertySections.begin();
- i != this->PropertySections.end(); ++i)
+ std::map<std::string,cmDocumentationSection*>::iterator si;
+ si = this->AllSections.find("Usage");
+ if(si != this->AllSections.end())
{
- this->AddSectionToPrint(i->c_str());
- emitted.insert(i->c_str());
+ this->Formatter.PrintSection(os, *si->second);
}
-
- emitted.insert("Copyright");
- emitted.insert("See Also");
- emitted.insert("Standard See Also");
- emitted.insert("Author");
-
- // add any sections not yet written out, or to be written out
- for (std::map<std::string, cmDocumentationSection*>::iterator i =
- this->AllSections.begin();
- i != this->AllSections.end(); ++i)
+ si = this->AllSections.find("Options");
+ if(si != this->AllSections.end())
{
- if (emitted.find(i->first) == emitted.end())
- {
- this->AddSectionToPrint(i->first.c_str());
- }
+ this->Formatter.PrintSection(os, *si->second);
}
-
- this->AddSectionToPrint("Copyright");
-
- if(this->CurrentFormatter->GetForm() == ManForm)
- {
- this->AddSectionToPrint("See Also");
- this->AddSectionToPrint("Author");
- }
- else
+ if(this->ShowGenerators)
{
- this->AddSectionToPrint("Standard See Also");
+ si = this->AllSections.find("Generators");
+ if(si != this->AllSections.end())
+ {
+ this->Formatter.PrintSection(os, *si->second);
+ }
}
+ return true;
}
//----------------------------------------------------------------------------
-void cmDocumentation::SetForm(Form f, int manSection)
-{
- switch(f)
- {
- case HTMLForm:
- this->CurrentFormatter = &this->HTMLFormatter;
- break;
- case DocbookForm:
- this->CurrentFormatter = &this->DocbookFormatter;
- break;
- case ManForm:
- this->ManFormatter.SetManSection(manSection);
- this->CurrentFormatter = &this->ManFormatter;
- break;
- case TextForm:
- this->CurrentFormatter = &this->TextFormatter;
- break;
- case UsageForm:
- this->CurrentFormatter = & this->UsageFormatter;
- break;
- }
-}
-
-
-//----------------------------------------------------------------------------
const char* cmDocumentation::GetNameString() const
{
if(this->NameString.length() > 0)
@@ -1929,43 +869,53 @@ const char* cmDocumentation::GetNameString() const
}
//----------------------------------------------------------------------------
-const char* cmDocumentation::GetDocName(bool fallbackToNameString) const
+bool cmDocumentation::IsOption(const char* arg) const
{
- if (this->DocName.length() > 0)
- {
- return this->DocName.c_str();
- }
- else if (fallbackToNameString)
- {
- return this->GetNameString();
- }
- else
- return 0;
+ return ((arg[0] == '-') || (strcmp(arg, "/V") == 0) ||
+ (strcmp(arg, "/?") == 0));
}
//----------------------------------------------------------------------------
-#define CASE_DEFAULT_DOCNAME(doctype) \
- case cmDocumentation::doctype : \
- return GET_DOCUMENT_INTRO(doctype)[0];
-const char* cmDocumentation::GetDefaultDocName(Type ht) const
-{
- switch (ht)
+bool cmDocumentation::PrintOldCustomModules(std::ostream& os)
+{
+ // CheckOptions abuses the Argument field to give us the file name.
+ std::string filename = this->CurrentArgument;
+ std::string ext = cmSystemTools::UpperCase(
+ cmSystemTools::GetFilenameLastExtension(filename));
+ std::string name = cmSystemTools::GetFilenameWithoutLastExtension(filename);
+
+ const char* summary = "cmake --help-custom-modules no longer supported\n";
+ const char* detail =
+ "CMake versions prior to 3.0 exposed their internal module help page\n"
+ "generation functionality through the --help-custom-modules option.\n"
+ "CMake versions 3.0 and above use other means to generate their module\n"
+ "help pages so this functionality is no longer available to be exposed.\n"
+ "\n"
+ "This file was generated as a placeholder to provide this information.\n"
+ ;
+ if((ext == ".HTM") || (ext == ".HTML"))
+ {
+ os << "<html><title>" << name << "</title><body>\n"
+ << summary << "<p/>\n" << detail << "</body></html>\n";
+ }
+ else if((ext.length()==2) && (ext[1] >='1') && (ext[1]<='9'))
+ {
+ os <<
+ ".TH " << name << " " << ext[1] << " \"" <<
+ cmSystemTools::GetCurrentDateTime("%B %d, %Y") <<
+ "\" \"cmake " << cmVersion::GetCMakeVersion() << "\"\n"
+ ".SH NAME\n"
+ ".PP\n" <<
+ name << " \\- " << summary <<
+ "\n"
+ ".SH DESCRIPTION\n"
+ ".PP\n" <<
+ detail
+ ;
+ }
+ else
{
- CASE_DEFAULT_DOCNAME(Modules)
- CASE_DEFAULT_DOCNAME(CustomModules)
- CASE_DEFAULT_DOCNAME(Policies)
- CASE_DEFAULT_DOCNAME(Properties)
- CASE_DEFAULT_DOCNAME(Variables)
- CASE_DEFAULT_DOCNAME(Commands)
- CASE_DEFAULT_DOCNAME(CompatCommands)
- default: break;
+ os << name << "\n\n" << summary << "\n" << detail;
}
- return 0;
-}
-
-//----------------------------------------------------------------------------
-bool cmDocumentation::IsOption(const char* arg) const
-{
- return ((arg[0] == '-') || (strcmp(arg, "/V") == 0) ||
- (strcmp(arg, "/?") == 0));
+ return true;
}
diff --git a/Source/cmDocumentation.h b/Source/cmDocumentation.h
index e180f60..d5a7dd5 100644
--- a/Source/cmDocumentation.h
+++ b/Source/cmDocumentation.h
@@ -15,11 +15,6 @@
#include "cmStandardIncludes.h"
#include "cmProperty.h"
#include "cmDocumentationFormatter.h"
-#include "cmDocumentationFormatterHTML.h"
-#include "cmDocumentationFormatterDocbook.h"
-#include "cmDocumentationFormatterMan.h"
-#include "cmDocumentationFormatterText.h"
-#include "cmDocumentationFormatterUsage.h"
#include "cmDocumentationSection.h"
#include "cmake.h"
@@ -37,22 +32,6 @@ public:
~cmDocumentation();
/**
- * An helper type pair for [structured] documented modules.
- * The comment of those module contains structure markup
- * which makes it possible to retrieve the documentation
- * of variables, macros and functions defined in the module.
- * - first is the filename of the module
- * - second is the section of the doc the module belongs too
- */
- typedef std::pair<std::string,std::string> documentedModuleSectionPair_t;
- /**
- * A list of documented module(s).
- */
- typedef std::list<documentedModuleSectionPair_t> documentedModulesList_t;
-
- // High-level interface for standard documents:
-
- /**
* Check command line arguments for documentation options. Returns
* true if documentation options are found, and false otherwise.
* When true is returned, PrintRequestedDocumentation should be
@@ -72,7 +51,7 @@ public:
bool PrintRequestedDocumentation(std::ostream& os);
/** Print help of the given type. */
- bool PrintDocumentation(Type ht, std::ostream& os, const char* docname=0);
+ bool PrintDocumentation(Type ht, std::ostream& os);
void SetShowGenerators(bool showGen) { this->ShowGenerators = showGen; }
@@ -80,62 +59,30 @@ public:
void SetName(const char* name);
/** Set a section of the documentation. Typical sections include Name,
- Usage, Description, Options, SeeAlso */
+ Usage, Description, Options */
void SetSection(const char *sectionName,
cmDocumentationSection *section);
void SetSection(const char *sectionName,
std::vector<cmDocumentationEntry> &docs);
void SetSection(const char *sectionName,
- const char *docs[][3]);
+ const char *docs[][2]);
void SetSections(std::map<std::string,cmDocumentationSection *>
&sections);
/** Add the documentation to the beginning/end of the section */
void PrependSection(const char *sectionName,
- const char *docs[][3]);
+ const char *docs[][2]);
void PrependSection(const char *sectionName,
std::vector<cmDocumentationEntry> &docs);
void PrependSection(const char *sectionName,
cmDocumentationEntry &docs);
void AppendSection(const char *sectionName,
- const char *docs[][3]);
+ const char *docs[][2]);
void AppendSection(const char *sectionName,
std::vector<cmDocumentationEntry> &docs);
void AppendSection(const char *sectionName,
cmDocumentationEntry &docs);
- /**
- * Print documentation in the given form. All previously added
- * sections will be generated.
- */
- void Print(Form f, int manSection, std::ostream& os);
-
- /**
- * Print documentation in the current form. All previously added
- * sections will be generated.
- */
- void Print(std::ostream& os);
-
- /**
- * Add a section of documentation. This can be used to generate custom help
- * documents.
- */
- void AddSectionToPrint(const char *section);
-
- void SetSeeAlsoList(const char *data[][3]);
-
- /** Clear all previously added sections of help. */
- void ClearSections();
-
- /** Set cmake root so we can find installed files */
- void SetCMakeRoot(const char* root) { this->CMakeRoot = root;}
-
- /** Set CMAKE_MODULE_PATH so we can find additional cmake modules */
- void SetCMakeModulePath(const char* path) { this->CMakeModulePath = path;}
-
- static Form GetFormFromFilename(const std::string& filename,
- int* ManSection);
-
/** Add common (to all tools) documentation section(s) */
void addCommonStandardDocSections();
@@ -148,124 +95,50 @@ public:
/** Add the CPack standard documentation section(s) */
void addCPackStandardDocSections();
- /** Add automatic variables sections */
- void addAutomaticVariableSections(const std::string& section);
-
- /**
- * Retrieve the list of documented module located in
- * path which match the globing expression globExpr.
- * @param[in] path, directory where to start the search
- * we will recurse into it.
- * @param[in] globExpr, the globing expression used to
- * match the file in path.
- * @param[out] the list of obtained pairs (may be empty)
- * @return 0 on success 1 on error or empty list
- */
- int getDocumentedModulesListInDir(
- std::string path,
- std::string globExpr,
- documentedModulesList_t& docModuleList);
-
- /**
- * Get the documentation of macros, functions and variable documented
- * with CMake structured documentation in a CMake script.
- * (in fact it may be in any file which follow the structured doc format)
- * Structured documentation begin with
- * ## (double sharp) in column 1 & 2 immediately followed
- * by a markup. Those ## are ignored by the legacy module
- * documentation parser @see CreateSingleModule.
- * Current markup are ##section, ##module,
- * ##macro, ##function, ##variable and ##end.
- * ##end is closing either of the previous ones.
- * @param[in] fname the script file name to be parsed for documentation
- * @param[in,out] commands the vector of command/macros documentation
- * entry found in the script file.
- * @param[in,out] the cmake object instance to which variable documentation
- * will be attached (using @see cmake::DefineProperty)
- * @param[in] the documentation section in which the property will be
- * inserted.
- * @return the number of documented items (command and variable)
- * found in the file.
- */
- int GetStructuredDocFromFile(const char* fname,
- std::vector<cmDocumentationEntry>& commands,
- cmake* cm);
private:
- void SetForm(Form f, int manSection);
- void SetDocName(const char* docname);
-
- bool CreateSingleModule(const char* fname,
- const char* moduleName,
- cmDocumentationSection &sec);
- void CreateModuleDocsForDir(cmsys::Directory& dir,
- cmDocumentationSection &moduleSection);
- bool CreateModulesSection();
- bool CreateCustomModulesSection();
- void CreateFullDocumentation();
- void AddDocumentIntroToPrint(const char* intro[2]);
+ void GlobHelp(std::vector<std::string>& files, std::string const& pattern);
+ void PrintNames(std::ostream& os, std::string const& pattern);
+ bool PrintFiles(std::ostream& os, std::string const& pattern);
- bool PrintCopyright(std::ostream& os);
bool PrintVersion(std::ostream& os);
- bool PrintDocumentationGeneric(std::ostream& os, const char *section);
- bool PrintDocumentationList(std::ostream& os, const char *section);
- bool PrintDocumentationSingle(std::ostream& os);
- bool PrintDocumentationSingleModule(std::ostream& os);
- bool PrintDocumentationSingleProperty(std::ostream& os);
- bool PrintDocumentationSinglePolicy(std::ostream& os);
- bool PrintDocumentationSingleVariable(std::ostream& os);
+ bool PrintHelpOneManual(std::ostream& os);
+ bool PrintHelpOneCommand(std::ostream& os);
+ bool PrintHelpOneModule(std::ostream& os);
+ bool PrintHelpOnePolicy(std::ostream& os);
+ bool PrintHelpOneProperty(std::ostream& os);
+ bool PrintHelpOneVariable(std::ostream& os);
+ bool PrintHelpListManuals(std::ostream& os);
+ bool PrintHelpListCommands(std::ostream& os);
+ bool PrintHelpListModules(std::ostream& os);
+ bool PrintHelpListProperties(std::ostream& os);
+ bool PrintHelpListVariables(std::ostream& os);
+ bool PrintHelpListPolicies(std::ostream& os);
bool PrintDocumentationUsage(std::ostream& os);
- bool PrintDocumentationFull(std::ostream& os);
- bool PrintDocumentationModules(std::ostream& os);
- bool PrintDocumentationCustomModules(std::ostream& os);
- bool PrintDocumentationPolicies(std::ostream& os);
- bool PrintDocumentationProperties(std::ostream& os);
- bool PrintDocumentationVariables(std::ostream& os);
- bool PrintDocumentationCurrentCommands(std::ostream& os);
- bool PrintDocumentationCompatCommands(std::ostream& os);
- void PrintDocumentationCommand(std::ostream& os,
- const cmDocumentationEntry &entry);
-
+ bool PrintOldCustomModules(std::ostream& os);
const char* GetNameString() const;
- const char* GetDocName(bool fallbackToNameString = true) const;
- const char* GetDefaultDocName(Type ht) const;
bool IsOption(const char* arg) const;
bool ShowGenerators;
std::string NameString;
- std::string DocName;
std::map<std::string,cmDocumentationSection*> AllSections;
- std::string SeeAlsoString;
- std::string CMakeRoot;
- std::string CMakeModulePath;
- std::set<std::string> ModulesFound;
- std::vector< char* > ModuleStrings;
- std::vector<const cmDocumentationSection *> PrintSections;
std::string CurrentArgument;
struct RequestedHelpItem
{
- RequestedHelpItem():HelpForm(TextForm), HelpType(None), ManSection(1) {}
- cmDocumentationEnums::Form HelpForm;
+ RequestedHelpItem(): HelpType(None) {}
cmDocumentationEnums::Type HelpType;
std::string Filename;
std::string Argument;
- int ManSection;
};
std::vector<RequestedHelpItem> RequestedHelpItems;
- cmDocumentationFormatter* CurrentFormatter;
- cmDocumentationFormatterHTML HTMLFormatter;
- cmDocumentationFormatterDocbook DocbookFormatter;
- cmDocumentationFormatterMan ManFormatter;
- cmDocumentationFormatterText TextFormatter;
- cmDocumentationFormatterUsage UsageFormatter;
+ cmDocumentationFormatter Formatter;
- std::vector<std::string> PropertySections;
- std::vector<std::string> VariableSections;
+ static void WarnFormFromFilename(RequestedHelpItem& request, bool& result);
};
#endif
diff --git a/Source/cmDocumentationFormatter.cxx b/Source/cmDocumentationFormatter.cxx
index 9f01949..29c806d 100644
--- a/Source/cmDocumentationFormatter.cxx
+++ b/Source/cmDocumentationFormatter.cxx
@@ -11,7 +11,10 @@
============================================================================*/
#include "cmDocumentationFormatter.h"
-cmDocumentationFormatter::cmDocumentationFormatter()
+#include "cmDocumentationSection.h"
+
+cmDocumentationFormatter::cmDocumentationFormatter():
+ TextWidth(77), TextIndent("")
{
}
@@ -66,91 +69,162 @@ void cmDocumentationFormatter::PrintFormatted(std::ostream& os,
}
}
-//----------------------------------------------------------------------------
-std::string
-cmDocumentationFormatter::ComputeSectionLinkPrefix(std::string const& name)
+void cmDocumentationFormatter::PrintPreformatted(std::ostream& os,
+ const char* text)
{
- // Map from section name to a prefix for links pointing within the
- // section. For example, the commands section should have HTML
- // links to each command with names like #command:ADD_EXECUTABLE.
- if(name.find("Command") != name.npos)
- {
- return "command";
- }
- else if(name.find("Propert") != name.npos)
+ bool newline = true;
+ for(const char* ptr = text; *ptr; ++ptr)
{
- if(name.find("Global") != name.npos)
- {
- return "prop_global";
- }
- else if(name.find("Direct") != name.npos)
+ if(newline && *ptr != '\n')
{
- return "prop_dir";
+ os << this->TextIndent;
+ newline = false;
}
- else if(name.find("Target") != name.npos)
+ os << *ptr;
+ if(*ptr == '\n')
{
- return "prop_tgt";
+ newline = true;
}
- else if(name.find("Test") != name.npos)
+ }
+ os << "\n";
+}
+
+void cmDocumentationFormatter::PrintParagraph(std::ostream& os,
+ const char* text)
+{
+ os << this->TextIndent;
+ this->PrintColumn(os, text);
+ os << "\n";
+}
+
+void cmDocumentationFormatter::SetIndent(const char* indent)
+{
+ this->TextIndent = indent;
+}
+
+void cmDocumentationFormatter::PrintColumn(std::ostream& os,
+ const char* text)
+{
+ // Print text arranged in an indented column of fixed witdh.
+ const char* l = text;
+ long column = 0;
+ bool newSentence = false;
+ bool firstLine = true;
+ int width = this->TextWidth - static_cast<int>(strlen(this->TextIndent));
+
+ // Loop until the end of the text.
+ while(*l)
+ {
+ // Parse the next word.
+ const char* r = l;
+ while(*r && (*r != '\n') && (*r != ' ')) { ++r; }
+
+ // Does it fit on this line?
+ if(r-l < (width-column-(newSentence?1:0)))
{
- return "prop_test";
+ // Word fits on this line.
+ if(r > l)
+ {
+ if(column)
+ {
+ // Not first word on line. Separate from the previous word
+ // by a space, or two if this is a new sentence.
+ if(newSentence)
+ {
+ os << " ";
+ column += 2;
+ }
+ else
+ {
+ os << " ";
+ column += 1;
+ }
+ }
+ else
+ {
+ // First word on line. Print indentation unless this is the
+ // first line.
+ os << (firstLine?"":this->TextIndent);
+ }
+
+ // Print the word.
+ os.write(l, static_cast<long>(r-l));
+ newSentence = (*(r-1) == '.');
+ }
+
+ if(*r == '\n')
+ {
+ // Text provided a newline. Start a new line.
+ os << "\n";
+ ++r;
+ column = 0;
+ firstLine = false;
+ }
+ else
+ {
+ // No provided newline. Continue this line.
+ column += static_cast<long>(r-l);
+ }
}
- else if(name.find("Source") != name.npos)
+ else
{
- return "prop_sf";
+ // Word does not fit on this line. Start a new line.
+ os << "\n";
+ firstLine = false;
+ if(r > l)
+ {
+ os << this->TextIndent;
+ os.write(l, static_cast<long>(r-l));
+ column = static_cast<long>(r-l);
+ newSentence = (*(r-1) == '.');
+ }
+ else
+ {
+ column = 0;
+ }
}
- return "property";
- }
- else if(name.find("Variable") != name.npos)
- {
- return "variable";
- }
- else if(name.find("Polic") != name.npos)
- {
- return "policy";
- }
- else if(name.find("Module") != name.npos)
- {
- return "module";
- }
- else if(name.find("Name") != name.npos ||
- name.find("Introduction") != name.npos)
- {
- return "name";
- }
- else if(name.find("Usage") != name.npos)
- {
- return "usage";
- }
- else if(name.find("Description") != name.npos)
- {
- return "desc";
- }
- else if(name.find("Generators") != name.npos)
- {
- return "gen";
- }
- else if(name.find("Options") != name.npos)
- {
- return "opt";
- }
- else if(name.find("Copyright") != name.npos)
- {
- return "copy";
- }
- else if(name.find("See Also") != name.npos)
- {
- return "see";
- }
- else if(name.find("SingleItem") != name.npos)
- {
- return "single_item";
+
+ // Move to beginning of next word. Skip over whitespace.
+ l = r;
+ while(*l && (*l == ' ')) { ++l; }
}
- else
+}
+
+void cmDocumentationFormatter
+::PrintSection(std::ostream& os,
+ cmDocumentationSection const& section)
+{
+ os << section.GetName() << "\n";
+
+ const std::vector<cmDocumentationEntry> &entries =
+ section.GetEntries();
+ for(std::vector<cmDocumentationEntry>::const_iterator op = entries.begin();
+ op != entries.end(); ++op)
{
- std::cerr
- << "WARNING: ComputeSectionLinkPrefix failed for \"" << name << "\""
- << std::endl;
- return "other";
+ if(op->Name.size())
+ {
+ os << " " << op->Name;
+ this->TextIndent = " ";
+ int align = static_cast<int>(strlen(this->TextIndent))-4;
+ for(int i = static_cast<int>(op->Name.size()); i < align; ++i)
+ {
+ os << " ";
+ }
+ if (op->Name.size() > strlen(this->TextIndent)-4 )
+ {
+ os << "\n";
+ os.write(this->TextIndent, strlen(this->TextIndent)-2);
+ }
+ os << "= ";
+ this->PrintColumn(os, op->Brief.c_str());
+ os << "\n";
+ }
+ else
+ {
+ os << "\n";
+ this->TextIndent = "";
+ this->PrintFormatted(os, op->Brief.c_str());
+ }
}
+ os << "\n";
}
diff --git a/Source/cmDocumentationFormatter.h b/Source/cmDocumentationFormatter.h
index 665b9b6..118f03d 100644
--- a/Source/cmDocumentationFormatter.h
+++ b/Source/cmDocumentationFormatter.h
@@ -25,19 +25,17 @@ class cmDocumentationEnums
public:
/** Types of help provided. */
enum Type
- { None, Usage, Single, SingleModule, SingleProperty, SingleVariable,
- List, ModuleList, PropertyList, VariableList,
- Full, Properties, Variables, Modules, CustomModules, Commands,
- CompatCommands, Copyright, Version, Policies, SinglePolicy };
-
- /** Forms of documentation output. */
- enum Form { TextForm, HTMLForm, ManForm, UsageForm, DocbookForm };
+ {
+ None, Version, Usage, ListManuals,
+ ListCommands, ListModules, ListProperties, ListVariables, ListPolicies,
+ OneManual, OneCommand, OneModule, OneProperty, OneVariable, OnePolicy,
+ OldCustomModules
+ };
};
class cmDocumentationSection;
-/** Base class for printing the documentation in the various supported
- formats. */
+/** Print documentation in a simple text format. */
class cmDocumentationFormatter
{
public:
@@ -45,23 +43,15 @@ public:
virtual ~cmDocumentationFormatter();
void PrintFormatted(std::ostream& os, const char* text);
- virtual cmDocumentationEnums::Form GetForm() const = 0;
-
- virtual void PrintHeader(const char* /*docname*/,
- const char* /*appname*/,
- std::ostream& /*os*/) {}
- virtual void PrintFooter(std::ostream& /*os*/) {}
virtual void PrintSection(std::ostream& os,
- const cmDocumentationSection& section,
- const char* name) = 0;
- virtual void PrintPreformatted(std::ostream& os, const char* text) = 0;
- virtual void PrintParagraph(std::ostream& os, const char* text) = 0;
- virtual void PrintIndex(std::ostream& ,
- std::vector<const cmDocumentationSection *>&)
- {}
-
- /** Compute a prefix for links into a section (#\<prefix\>_SOMETHING). */
- std::string ComputeSectionLinkPrefix(std::string const& name);
+ cmDocumentationSection const& section);
+ virtual void PrintPreformatted(std::ostream& os, const char* text);
+ virtual void PrintParagraph(std::ostream& os, const char* text);
+ void PrintColumn(std::ostream& os, const char* text);
+ void SetIndent(const char* indent);
+private:
+ int TextWidth;
+ const char* TextIndent;
};
#endif
diff --git a/Source/cmDocumentationFormatterDocbook.cxx b/Source/cmDocumentationFormatterDocbook.cxx
deleted file mode 100644
index 706ce0a..0000000
--- a/Source/cmDocumentationFormatterDocbook.cxx
+++ /dev/null
@@ -1,254 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-#include "cmDocumentationFormatterDocbook.h"
-#include "cmDocumentationSection.h"
-#include <algorithm>
-#include <ctype.h> // for isalnum
-
-static int cmIsAlnum(int c)
-{
- return isalnum(c);
-}
-
-//----------------------------------------------------------------------------
-
-// this function is a copy of the one in the HTML formatter
-// the three functions below are slightly modified copies
-static bool cmDocumentationIsHyperlinkCharDocbook(char c)
-{
- // This is not a complete list but works for CMake documentation.
- return ((c >= 'A' && c <= 'Z') ||
- (c >= 'a' && c <= 'z') ||
- (c >= '0' && c <= '9') ||
- c == '-' || c == '.' || c == '/' || c == '~' || c == '@' ||
- c == ':' || c == '_' || c == '&' || c == '?' || c == '=');
-}
-
-//----------------------------------------------------------------------------
-static void cmDocumentationPrintDocbookChar(std::ostream& os, char c)
-{
- // Use an escape sequence if necessary.
- switch(c)
- {
- case '<':
- os << "&lt;";
- break;
- case '>':
- os << "&gt;";
- break;
- case '&':
- os << "&amp;";
- break;
- default:
- os << c;
- }
-}
-
-//----------------------------------------------------------------------------
-const char* cmDocumentationPrintDocbookLink(std::ostream& os,const char* begin)
-{
- // Look for the end of the link.
- const char* end = begin;
- while(cmDocumentationIsHyperlinkCharDocbook(*end))
- {
- ++end;
- }
-
- // Print the hyperlink itself.
- os << "<ulink url=\"";
- for(const char* c = begin; c != end; ++c)
- {
- cmDocumentationPrintDocbookChar(os, *c);
- }
- os << "\" />";
-
- return end;
-}
-
-//----------------------------------------------------------------------------
-void cmDocumentationPrintDocbookEscapes(std::ostream& os, const char* text)
-{
- // Hyperlink prefixes.
- static const char* hyperlinks[] = {"http://", "ftp://", "mailto:", 0};
-
- // Print each character.
- for(const char* p = text; *p;)
- {
- // Handle hyperlinks specially to make them active.
- bool found_hyperlink = false;
- for(const char** h = hyperlinks; !found_hyperlink && *h; ++h)
- {
- if(strncmp(p, *h, strlen(*h)) == 0)
- {
- p = cmDocumentationPrintDocbookLink(os, p);
- found_hyperlink = true;
- }
- }
-
- // Print other characters normally.
- if(!found_hyperlink)
- {
- cmDocumentationPrintDocbookChar(os, *p++);
- }
- }
-}
-
-//----------------------------------------------------------------------------
-cmDocumentationFormatterDocbook::cmDocumentationFormatterDocbook()
-:cmDocumentationFormatter()
-{
-}
-
-//----------------------------------------------------------------------------
-void cmDocumentationFormatterDocbook
-::PrintSection(std::ostream& os,
- const cmDocumentationSection &section,
- const char* name)
-{
- os << "<sect1 id=\"";
- this->PrintId(os, 0, name);
- os << "\">\n<title>" << name << "</title>\n";
-
- std::string prefix = this->ComputeSectionLinkPrefix(name);
- const std::vector<cmDocumentationEntry> &entries = section.GetEntries();
-
- bool hasSubSections = false;
- for(std::vector<cmDocumentationEntry>::const_iterator op = entries.begin();
- op != entries.end(); ++op)
- {
- if(op->Name.size())
- {
- hasSubSections = true;
- break;
- }
- }
-
- bool inAbstract = false;
- for(std::vector<cmDocumentationEntry>::const_iterator op = entries.begin();
- op != entries.end(); ++op)
- {
- if(op->Name.size())
- {
- if(inAbstract)
- {
- os << "</abstract>\n";
- inAbstract = false;
- }
- os << "<sect2 id=\"";
- this->PrintId(os, prefix.c_str(), op->Name);
- os << "\">\n<title>";
- cmDocumentationPrintDocbookEscapes(os, op->Name.c_str());
- os << "</title>\n";
- if(op->Full.size())
- {
- os << "<abstract>\n<para>";
- cmDocumentationPrintDocbookEscapes(os, op->Brief.c_str());
- os << "</para>\n</abstract>\n";
- this->PrintFormatted(os, op->Full.c_str());
- }
- else
- {
- this->PrintFormatted(os, op->Brief.c_str());
- }
- os << "</sect2>\n";
- }
- else
- {
- if(hasSubSections && op == entries.begin())
- {
- os << "<abstract>\n";
- inAbstract = true;
- }
- this->PrintFormatted(os, op->Brief.c_str());
- }
- }
-
- // empty sections are not allowed in docbook.
- if(entries.empty())
- {
- os << "<para/>\n";
- }
-
- os << "</sect1>\n";
-}
-
-//----------------------------------------------------------------------------
-void cmDocumentationFormatterDocbook
-::PrintPreformatted(std::ostream& os, const char* text)
-{
- os << "<para>\n<programlisting>";
- cmDocumentationPrintDocbookEscapes(os, text);
- os << "</programlisting>\n</para>\n";
-}
-
-void cmDocumentationFormatterDocbook
-::PrintParagraph(std::ostream& os, const char* text)
-{
- os << "<para>";
- cmDocumentationPrintDocbookEscapes(os, text);
- os << "</para>\n";
-}
-
-//----------------------------------------------------------------------------
-void cmDocumentationFormatterDocbook
-::PrintHeader(const char* docname, const char* appname, std::ostream& os)
-{
- this->Docname = docname;
-
- // this one is used to ensure that we don't create multiple link targets
- // with the same name. We can clear it here since we are at the
- // start of a document here.
- this->EmittedLinkIds.clear();
-
- os << "<?xml version=\"1.0\" ?>\n"
- "<!DOCTYPE article PUBLIC \"-//OASIS//DTD DocBook V4.5//EN\" "
- "\"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd\" [\n"
- "<!ENTITY % addindex \"IGNORE\">\n"
- "<!ENTITY % English \"INCLUDE\"> ]>\n"
- "<article>\n"
- "<articleinfo>\n"
- "<title>" << docname << " - " << appname << "</title>\n"
- "</articleinfo>\n";
-}
-
-//----------------------------------------------------------------------------
-void cmDocumentationFormatterDocbook::PrintFooter(std::ostream& os)
-{
- os << "</article>\n";
-}
-
-//----------------------------------------------------------------------------
-void cmDocumentationFormatterDocbook
-::PrintId(std::ostream& os, const char* prefix, std::string id)
-{
- std::replace_if(id.begin(), id.end(),
- std::not1(std::ptr_fun(cmIsAlnum)), '_');
- if(prefix)
- {
- id = std::string(prefix) + "." + id;
- }
- os << this->Docname << '.' << id;
-
- // make sure that each id exists only once. Since it seems
- // not easily possible to determine which link refers to which id,
- // we have at least to make sure that the duplicated id's get a
- // different name (by appending an increasing number), Alex
- if (this->EmittedLinkIds.find(id) == this->EmittedLinkIds.end())
- {
- this->EmittedLinkIds.insert(id);
- }
- else
- {
- static unsigned int i=0;
- os << i++;
- }
-}
diff --git a/Source/cmDocumentationFormatterDocbook.h b/Source/cmDocumentationFormatterDocbook.h
deleted file mode 100644
index 0352d34..0000000
--- a/Source/cmDocumentationFormatterDocbook.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-#ifndef _cmDocumentationFormatterDocbook_h
-#define _cmDocumentationFormatterDocbook_h
-
-#include "cmStandardIncludes.h"
-
-#include "cmDocumentationFormatter.h"
-
-/** Class to print the documentation as Docbook.
- http://www.oasis-open.org/docbook/xml/4.2/ */
-class cmDocumentationFormatterDocbook : public cmDocumentationFormatter
-{
-public:
- cmDocumentationFormatterDocbook();
-
- virtual cmDocumentationEnums::Form GetForm() const
- { return cmDocumentationEnums::DocbookForm;}
-
- virtual void PrintHeader(const char* docname, const char* appname,
- std::ostream& os);
- virtual void PrintFooter(std::ostream& os);
- virtual void PrintSection(std::ostream& os,
- const cmDocumentationSection& section,
- const char* name);
- virtual void PrintPreformatted(std::ostream& os, const char* text);
- virtual void PrintParagraph(std::ostream& os, const char* text);
-private:
- void PrintId(std::ostream& os, const char* prefix, std::string id);
- std::set<std::string> EmittedLinkIds;
- std::string Docname;
-};
-
-#endif
diff --git a/Source/cmDocumentationFormatterHTML.cxx b/Source/cmDocumentationFormatterHTML.cxx
deleted file mode 100644
index 7213b43..0000000
--- a/Source/cmDocumentationFormatterHTML.cxx
+++ /dev/null
@@ -1,288 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-#include "cmDocumentationFormatterHTML.h"
-#include "cmDocumentationSection.h"
-#include "cmVersion.h"
-//----------------------------------------------------------------------------
-static bool cmDocumentationIsHyperlinkChar(char c)
-{
- // This is not a complete list but works for CMake documentation.
- return ((c >= 'A' && c <= 'Z') ||
- (c >= 'a' && c <= 'z') ||
- (c >= '0' && c <= '9') ||
- c == '-' || c == '.' || c == '/' || c == '~' || c == '@' ||
- c == ':' || c == '_' || c == '&' || c == '?' || c == '=');
-}
-
-//----------------------------------------------------------------------------
-static void cmDocumentationPrintHTMLChar(std::ostream& os, char c)
-{
- // Use an escape sequence if necessary.
- switch (c)
- {
- case '<':
- os << "&lt;";
- break;
- case '>':
- os << "&gt;";
- break;
- case '&':
- os << "&amp;";
- break;
- case '\n':
- os << "<br />";
- break;
- default:
- os << c;
- }
-}
-
-//----------------------------------------------------------------------------
-bool cmDocumentationHTMLIsIdChar(char c)
-{
- // From the HTML specification:
- // ID and NAME tokens must begin with a letter ([A-Za-z]) and may
- // be followed by any number of letters, digits ([0-9]), hyphens
- // ("-"), underscores ("_"), colons (":"), and periods (".").
- return ((c >= 'A' && c <= 'Z') ||
- (c >= 'a' && c <= 'z') ||
- (c >= '0' && c <= '9') ||
- c == '-' || c == '_' || c == ':' || c == '.');
-}
-
-//----------------------------------------------------------------------------
-void cmDocumentationPrintHTMLId(std::ostream& os, const char* begin)
-{
- for(const char* c = begin; *c; ++c)
- {
- if(cmDocumentationHTMLIsIdChar(*c))
- {
- os << *c;
- }
- }
-}
-
-//----------------------------------------------------------------------------
-const char* cmDocumentationPrintHTMLLink(std::ostream& os, const char* begin)
-{
- // Look for the end of the link.
- const char* end = begin;
- while(cmDocumentationIsHyperlinkChar(*end))
- {
- ++end;
- }
-
- // Print the hyperlink itself.
- os << "<a href=\"";
- for(const char* c = begin; c != end; ++c)
- {
- cmDocumentationPrintHTMLChar(os, *c);
- }
- os << "\">";
-
- // The name of the hyperlink is the text itself.
- for(const char* c = begin; c != end; ++c)
- {
- cmDocumentationPrintHTMLChar(os, *c);
- }
- os << "</a>";
-
- // Return the position at which to continue scanning the input
- // string.
- return end;
-}
-
-
-cmDocumentationFormatterHTML::cmDocumentationFormatterHTML()
-:cmDocumentationFormatter()
-{
-}
-
-void cmDocumentationFormatterHTML
-::PrintSection(std::ostream& os,
- const cmDocumentationSection &section,
- const char* name)
-{
- std::string prefix = this->ComputeSectionLinkPrefix(name);
-
- const std::vector<cmDocumentationEntry> &entries =
- section.GetEntries();
-
- // skip the index if the help for only a single item (--help-command,
- // --help-policy, --help-property, --help-module) is printed
- bool isSingleItemHelp = ((name!=0) && (strcmp(name, "SingleItem")==0));
-
- if (!isSingleItemHelp)
- {
- if (name)
- {
- os << "<h2><a name=\"section_";
- cmDocumentationPrintHTMLId(os, name);
- os << "\"></a>" << name << "</h2>\n";
- }
-
- // Is a list needed?
- for(std::vector<cmDocumentationEntry>::const_iterator op
- = entries.begin(); op != entries.end(); ++ op )
- {
- if (op->Name.size())
- {
- os << "<ul>\n";
- for(;op != entries.end() && op->Name.size(); ++op)
- {
- if(op->Name.size())
- {
- os << " <li><a href=\"#" << prefix << ":";
- cmDocumentationPrintHTMLId(os, op->Name.c_str());
- os << "\"><b><code>";
- this->PrintHTMLEscapes(os, op->Name.c_str());
- os << "</code></b></a></li>\n";
- }
- }
- os << "</ul>\n" ;
- break; // Skip outer loop termination test
- }
- }
- }
-
- for(std::vector<cmDocumentationEntry>::const_iterator op = entries.begin();
- op != entries.end();)
- {
- if(op->Name.size())
- {
- os << "<ul>\n";
- for(;op != entries.end() && op->Name.size(); ++op)
- {
- os << " <li>\n";
- if(op->Name.size())
- {
- os << " <a name=\"" << prefix << ":";
- cmDocumentationPrintHTMLId(os, op->Name.c_str());
- os << "\"></a><b><code>";
- this->PrintHTMLEscapes(os, op->Name.c_str());
- os << "</code></b>: ";
- }
- this->PrintHTMLEscapes(os, op->Brief.c_str());
- if(op->Full.size())
- {
- os << "<br />\n ";
- this->PrintFormatted(os, op->Full.c_str());
- }
- os << "\n";
- os << " </li>\n";
- }
- os << "</ul>\n";
- }
- else
- {
- this->PrintFormatted(os, op->Brief.c_str());
- os << "\n";
- ++op;
- }
- }
-}
-
-void cmDocumentationFormatterHTML::PrintPreformatted(std::ostream& os,
- const char* text)
-{
- os << "<pre>";
- this->PrintHTMLEscapes(os, text);
- os << "</pre>\n ";
-}
-
-void cmDocumentationFormatterHTML::PrintParagraph(std::ostream& os,
- const char* text)
-{
- os << "<p>";
- this->PrintHTMLEscapes(os, text);
- os << "</p>\n";
-}
-
-//----------------------------------------------------------------------------
-void cmDocumentationFormatterHTML::PrintHeader(const char* docname,
- const char* appname,
- std::ostream& os)
-{
- os << "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\""
- << " \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n";
- os << "<html xmlns=\"http://www.w3.org/1999/xhtml\""
- << " xml:lang=\"en\" lang=\"en\">\n";
- os << "<head><meta http-equiv=\"Content-Type\" "
- << "content=\"text/html;charset=utf-8\" /><title>";
- os << docname << " - " << appname;
- os << "</title></head><body>\n";
-}
-
-//----------------------------------------------------------------------------
-void cmDocumentationFormatterHTML::PrintFooter(std::ostream& os)
-{
- os << "</body></html>\n";
-}
-
-//----------------------------------------------------------------------------
-void cmDocumentationFormatterHTML::PrintHTMLEscapes(std::ostream& os,
- const char* text)
-{
- // Hyperlink prefixes.
- static const char* hyperlinks[] = {"http://", "ftp://", "mailto:", 0};
-
- // Print each character.
- for(const char* p = text; *p;)
- {
- // Handle hyperlinks specially to make them active.
- bool found_hyperlink = false;
- for(const char** h = hyperlinks; !found_hyperlink && *h; ++h)
- {
- if(strncmp(p, *h, strlen(*h)) == 0)
- {
- p = cmDocumentationPrintHTMLLink(os, p);
- found_hyperlink = true;
- }
- }
-
- // Print other characters normally.
- if(!found_hyperlink)
- {
- cmDocumentationPrintHTMLChar(os, *p++);
- }
- }
-}
-
-void cmDocumentationFormatterHTML
-::PrintIndex(std::ostream& os,
- std::vector<const cmDocumentationSection *>& sections)
-{
- // skip the index if only the help for a single item is printed
- if ((sections.size() == 1)
- && (sections[0]->GetName(this->GetForm()) != 0 )
- && (std::string(sections[0]->GetName(this->GetForm())) == "SingleItem"))
- {
- return;
- }
-
- os << "<h2><a name=\"section_Index\"></a>Master Index "
- << "CMake " << cmVersion::GetCMakeVersion()
- << "</h2>\n";
-
- if (!sections.empty())
- {
- os << "<ul>\n";
- for(unsigned int i=0; i < sections.size(); ++i)
- {
- std::string name = sections[i]->GetName((this->GetForm()));
- os << " <li><a href=\"#section_";
- cmDocumentationPrintHTMLId(os, name.c_str());
- os << "\"><b>" << name << "</b></a></li>\n";
- }
- os << "</ul>\n";
- }
-}
diff --git a/Source/cmDocumentationFormatterHTML.h b/Source/cmDocumentationFormatterHTML.h
deleted file mode 100644
index 44bf240..0000000
--- a/Source/cmDocumentationFormatterHTML.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-#ifndef _cmDocumentationFormatterHTML_h
-#define _cmDocumentationFormatterHTML_h
-
-#include "cmStandardIncludes.h"
-
-#include "cmDocumentationFormatter.h"
-
-/** Class to print the documentation as HTML. */
-class cmDocumentationFormatterHTML : public cmDocumentationFormatter
-{
-public:
- cmDocumentationFormatterHTML();
-
- virtual cmDocumentationEnums::Form GetForm() const
- { return cmDocumentationEnums::HTMLForm;}
-
- virtual void PrintHeader(const char* docname, const char* appname,
- std::ostream& os);
- virtual void PrintFooter(std::ostream& os);
- virtual void PrintSection(std::ostream& os,
- const cmDocumentationSection& section,
- const char* name);
- virtual void PrintPreformatted(std::ostream& os, const char* text);
- virtual void PrintParagraph(std::ostream& os, const char* text);
- virtual void PrintIndex(std::ostream& ,
- std::vector<const cmDocumentationSection *>&);
-private:
- void PrintHTMLEscapes(std::ostream& os, const char* text);
-};
-
-#endif
diff --git a/Source/cmDocumentationFormatterMan.cxx b/Source/cmDocumentationFormatterMan.cxx
deleted file mode 100644
index 4123c85..0000000
--- a/Source/cmDocumentationFormatterMan.cxx
+++ /dev/null
@@ -1,102 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-
-#include "cmDocumentationFormatterMan.h"
-#include "cmDocumentationSection.h"
-
-#include "cmSystemTools.h"
-#include "cmVersion.h"
-
-
-cmDocumentationFormatterMan::cmDocumentationFormatterMan()
-:cmDocumentationFormatter()
-,ManSection(1)
-{
-}
-
-void cmDocumentationFormatterMan::SetManSection(int manSection)
-{
- this->ManSection = manSection;
-}
-
-void cmDocumentationFormatterMan
-::PrintSection(std::ostream& os,
- const cmDocumentationSection &section,
- const char* name)
-{
- if(name)
- {
- os << ".SH " << name << "\n";
- }
-
- const std::vector<cmDocumentationEntry> &entries =
- section.GetEntries();
- for(std::vector<cmDocumentationEntry>::const_iterator op = entries.begin();
- op != entries.end(); ++op)
- {
- if(op->Name.size())
- {
- os << ".TP\n"
- << ".B " << (op->Name.size()?op->Name.c_str():"*") << "\n";
- this->PrintFormatted(os, op->Brief.c_str());
- this->PrintFormatted(os, op->Full.c_str());
- }
- else
- {
- os << ".PP\n";
- this->PrintFormatted(os, op->Brief.c_str());
- }
- }
-}
-
-void cmDocumentationFormatterMan::EscapeText(std::string& man_text)
-{
- cmSystemTools::ReplaceString(man_text, "\\", "\\\\");
- cmSystemTools::ReplaceString(man_text, "-", "\\-");
-}
-
-void cmDocumentationFormatterMan::PrintPreformatted(std::ostream& os,
- const char* text)
-{
- std::string man_text = text;
- this->EscapeText(man_text);
- os << ".nf\n" << man_text;
- if (*text && man_text.at(man_text.length()-1) != '\n')
- os << "\n";
- os << ".fi\n\n";
-}
-
-void cmDocumentationFormatterMan::PrintParagraph(std::ostream& os,
- const char* text)
-{
- std::string man_text = text;
- this->EscapeText(man_text);
- os << man_text << "\n\n";
-}
-
-
-//----------------------------------------------------------------------------
-void cmDocumentationFormatterMan::PrintHeader(const char* docname,
- const char* appname,
- std::ostream& os)
-{
- std::string s_docname(docname), s_appname(appname);
-
- this->EscapeText(s_docname);
- this->EscapeText(s_appname);
- os << ".TH " << s_docname << " " << this->ManSection << " \""
- << cmSystemTools::GetCurrentDateTime("%B %d, %Y").c_str()
- << "\" \"" << s_appname
- << " " << cmVersion::GetCMakeVersion()
- << "\"\n";
-}
-
diff --git a/Source/cmDocumentationFormatterMan.h b/Source/cmDocumentationFormatterMan.h
deleted file mode 100644
index b3d069c..0000000
--- a/Source/cmDocumentationFormatterMan.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-#ifndef _cmDocumentationFormatterMan_h
-#define _cmDocumentationFormatterMan_h
-
-#include "cmStandardIncludes.h"
-
-#include "cmDocumentationFormatter.h"
-
-/** Class to print the documentation as man page. */
-class cmDocumentationFormatterMan : public cmDocumentationFormatter
-{
-public:
- cmDocumentationFormatterMan();
-
- void SetManSection(int manSection);
-
- virtual cmDocumentationEnums::Form GetForm() const
- { return cmDocumentationEnums::ManForm;}
-
- virtual void PrintHeader(const char* docname, const char* appname,
- std::ostream& os);
- virtual void PrintSection(std::ostream& os,
- const cmDocumentationSection& section,
- const char* name);
- virtual void PrintPreformatted(std::ostream& os, const char* text);
- virtual void PrintParagraph(std::ostream& os, const char* text);
-
-private:
- void EscapeText(std::string& man_text);
- int ManSection;
-};
-
-#endif
diff --git a/Source/cmDocumentationFormatterText.cxx b/Source/cmDocumentationFormatterText.cxx
deleted file mode 100644
index 5def194..0000000
--- a/Source/cmDocumentationFormatterText.cxx
+++ /dev/null
@@ -1,180 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-
-#include "cmDocumentationFormatterText.h"
-#include "cmDocumentationSection.h"
-
-cmDocumentationFormatterText::cmDocumentationFormatterText()
-:cmDocumentationFormatter()
-,TextWidth(77)
-,TextIndent("")
-{
-}
-
-void cmDocumentationFormatterText
-::PrintSection(std::ostream& os,
- const cmDocumentationSection &section,
- const char* name)
-{
- if(name && (strcmp(name, "SingleItem")!=0))
- {
- os <<
- "---------------------------------------"
- "---------------------------------------\n";
- os << name << "\n\n";
- }
-
- const std::vector<cmDocumentationEntry> &entries =
- section.GetEntries();
- for(std::vector<cmDocumentationEntry>::const_iterator op = entries.begin();
- op != entries.end(); ++op)
- {
- if(op->Name.size())
- {
- os << " " << op->Name << "\n";
- this->TextIndent = " ";
- this->PrintFormatted(os, op->Brief.c_str());
- if(op->Full.size())
- {
- os << "\n";
- this->PrintFormatted(os, op->Full.c_str());
- }
- }
- else
- {
- this->TextIndent = "";
- this->PrintFormatted(os, op->Brief.c_str());
- }
- os << "\n";
- }
-}
-
-void cmDocumentationFormatterText::PrintPreformatted(std::ostream& os,
- const char* text)
-{
- bool newline = true;
- for(const char* ptr = text; *ptr; ++ptr)
- {
- if(newline && *ptr != '\n')
- {
- os << this->TextIndent;
- newline = false;
- }
- os << *ptr;
- if(*ptr == '\n')
- {
- newline = true;
- }
- }
- os << "\n";
-}
-
-void cmDocumentationFormatterText::PrintParagraph(std::ostream& os,
- const char* text)
-{
- os << this->TextIndent;
- this->PrintColumn(os, text);
- os << "\n";
-}
-
-void cmDocumentationFormatterText::SetIndent(const char* indent)
-{
- this->TextIndent = indent;
-}
-
-void cmDocumentationFormatterText::PrintColumn(std::ostream& os,
- const char* text)
-{
- // Print text arranged in an indented column of fixed witdh.
- const char* l = text;
- long column = 0;
- bool newSentence = false;
- bool firstLine = true;
- int width = this->TextWidth - static_cast<int>(strlen(this->TextIndent));
-
- // Loop until the end of the text.
- while(*l)
- {
- // Parse the next word.
- const char* r = l;
- while(*r && (*r != '\n') && (*r != ' ')) { ++r; }
-
- // Does it fit on this line?
- if(r-l < (width-column-(newSentence?1:0)))
- {
- // Word fits on this line.
- if(r > l)
- {
- if(column)
- {
- // Not first word on line. Separate from the previous word
- // by a space, or two if this is a new sentence.
- if(newSentence)
- {
- os << " ";
- column += 2;
- }
- else
- {
- os << " ";
- column += 1;
- }
- }
- else
- {
- // First word on line. Print indentation unless this is the
- // first line.
- os << (firstLine?"":this->TextIndent);
- }
-
- // Print the word.
- os.write(l, static_cast<long>(r-l));
- newSentence = (*(r-1) == '.');
- }
-
- if(*r == '\n')
- {
- // Text provided a newline. Start a new line.
- os << "\n";
- ++r;
- column = 0;
- firstLine = false;
- }
- else
- {
- // No provided newline. Continue this line.
- column += static_cast<long>(r-l);
- }
- }
- else
- {
- // Word does not fit on this line. Start a new line.
- os << "\n";
- firstLine = false;
- if(r > l)
- {
- os << this->TextIndent;
- os.write(l, static_cast<long>(r-l));
- column = static_cast<long>(r-l);
- newSentence = (*(r-1) == '.');
- }
- else
- {
- column = 0;
- }
- }
-
- // Move to beginning of next word. Skip over whitespace.
- l = r;
- while(*l && (*l == ' ')) { ++l; }
- }
-}
diff --git a/Source/cmDocumentationFormatterText.h b/Source/cmDocumentationFormatterText.h
deleted file mode 100644
index d9c2af2..0000000
--- a/Source/cmDocumentationFormatterText.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-#ifndef _cmDocumentationFormatterText_h
-#define _cmDocumentationFormatterText_h
-
-#include "cmStandardIncludes.h"
-
-#include "cmDocumentationFormatter.h"
-
-/** Class to print the documentation as plain text. */
-class cmDocumentationFormatterText : public cmDocumentationFormatter
-{
-public:
- cmDocumentationFormatterText();
-
- virtual cmDocumentationEnums::Form GetForm() const
- { return cmDocumentationEnums::TextForm;}
-
- virtual void PrintSection(std::ostream& os,
- const cmDocumentationSection& section,
- const char* name);
- virtual void PrintPreformatted(std::ostream& os, const char* text);
- virtual void PrintParagraph(std::ostream& os, const char* text);
- void PrintColumn(std::ostream& os, const char* text);
- void SetIndent(const char* indent);
-protected:
- int TextWidth;
- const char* TextIndent;
-};
-
-#endif
diff --git a/Source/cmDocumentationFormatterUsage.cxx b/Source/cmDocumentationFormatterUsage.cxx
deleted file mode 100644
index a068e56..0000000
--- a/Source/cmDocumentationFormatterUsage.cxx
+++ /dev/null
@@ -1,63 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-
-#include "cmDocumentationFormatterUsage.h"
-#include "cmDocumentationSection.h"
-
-cmDocumentationFormatterUsage::cmDocumentationFormatterUsage()
-:cmDocumentationFormatterText()
-{
-}
-
-void cmDocumentationFormatterUsage
-::PrintSection(std::ostream& os,
- const cmDocumentationSection &section,
- const char* name)
-{
- if(name)
- {
- os << name << "\n";
- }
-
- const std::vector<cmDocumentationEntry> &entries =
- section.GetEntries();
- for(std::vector<cmDocumentationEntry>::const_iterator op = entries.begin();
- op != entries.end(); ++op)
- {
- if(op->Name.size())
- {
- os << " " << op->Name;
- this->TextIndent = " ";
- int align = static_cast<int>(strlen(this->TextIndent))-4;
- for(int i = static_cast<int>(op->Name.size()); i < align; ++i)
- {
- os << " ";
- }
- if (op->Name.size() > strlen(this->TextIndent)-4 )
- {
- os << "\n";
- os.write(this->TextIndent, strlen(this->TextIndent)-2);
- }
- os << "= ";
- this->PrintColumn(os, op->Brief.c_str());
- os << "\n";
- }
- else
- {
- os << "\n";
- this->TextIndent = "";
- this->PrintFormatted(os, op->Brief.c_str());
- }
- }
- os << "\n";
-}
-
diff --git a/Source/cmDocumentationFormatterUsage.h b/Source/cmDocumentationFormatterUsage.h
deleted file mode 100644
index 3ed3442..0000000
--- a/Source/cmDocumentationFormatterUsage.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-#ifndef _cmDocumentationFormatterUsage_h
-#define _cmDocumentationFormatterUsage_h
-
-#include "cmDocumentationFormatterText.h"
-
-/** Class to print the documentation as usage on the command line. */
-class cmDocumentationFormatterUsage : public cmDocumentationFormatterText
-{
-public:
- cmDocumentationFormatterUsage();
-
- virtual cmDocumentationEnums::Form GetForm() const
- { return cmDocumentationEnums::UsageForm;}
-
- virtual void PrintSection(std::ostream& os,
- const cmDocumentationSection& section,
- const char* name);
-};
-
-#endif
diff --git a/Source/cmDocumentationSection.cxx b/Source/cmDocumentationSection.cxx
index a2dfe70..b0dd8ef 100644
--- a/Source/cmDocumentationSection.cxx
+++ b/Source/cmDocumentationSection.cxx
@@ -13,69 +13,33 @@
//----------------------------------------------------------------------------
-void cmDocumentationSection::Append(const char *data[][3])
+void cmDocumentationSection::Append(const char *data[][2])
{
int i = 0;
while(data[i][1])
{
this->Entries.push_back(cmDocumentationEntry(data[i][0],
- data[i][1],
- data[i][2]));
+ data[i][1]));
data += 1;
}
}
//----------------------------------------------------------------------------
-void cmDocumentationSection::Prepend(const char *data[][3])
+void cmDocumentationSection::Prepend(const char *data[][2])
{
std::vector<cmDocumentationEntry> tmp;
int i = 0;
while(data[i][1])
{
tmp.push_back(cmDocumentationEntry(data[i][0],
- data[i][1],
- data[i][2]));
+ data[i][1]));
data += 1;
}
this->Entries.insert(this->Entries.begin(),tmp.begin(),tmp.end());
}
//----------------------------------------------------------------------------
-void cmDocumentationSection::Append(const char *n, const char *b,
- const char *f)
+void cmDocumentationSection::Append(const char *n, const char *b)
{
- this->Entries.push_back(cmDocumentationEntry(n,b,f));
+ this->Entries.push_back(cmDocumentationEntry(n,b));
}
-
-#if 0
-//----------------------------------------------------------------------------
-void cmDocumentationSection::Set(const cmDocumentationEntry* header,
- const cmDocumentationEntry* section,
- const cmDocumentationEntry* footer)
-{
- this->Entries.erase(this->Entries.begin(), this->Entries.end());
- if(header)
- {
- for(const cmDocumentationEntry* op = header; op->brief; ++op)
- {
- this->Entries.push_back(*op);
- }
- }
- if(section)
- {
- for(const cmDocumentationEntry* op = section; op->brief; ++op)
- {
- this->Entries.push_back(*op);
- }
- }
- if(footer)
- {
- for(const cmDocumentationEntry* op = footer; op->brief; ++op)
- {
- this->Entries.push_back(*op);
- }
- }
- cmDocumentationEntry empty = {0,0,0};
- this->Entries.push_back(empty);
-}
-#endif
diff --git a/Source/cmDocumentationSection.h b/Source/cmDocumentationSection.h
index 4f8c10d..636860d 100644
--- a/Source/cmDocumentationSection.h
+++ b/Source/cmDocumentationSection.h
@@ -24,8 +24,8 @@ class cmDocumentationSection
{
public:
/** Create a cmSection, with a special name for man-output mode. */
- cmDocumentationSection(const char* name, const char* manName)
- :Name(name), ManName(manName) {}
+ cmDocumentationSection(const char* name, const char*)
+ :Name(name) {}
/** Has any content been added to this section or is it empty ? */
bool IsEmpty() const { return this->Entries.empty(); }
@@ -33,10 +33,9 @@ public:
/** Clear contents. */
void Clear() { this->Entries.clear(); }
- /** Return the name of this section for the given output form. */
- const char* GetName(cmDocumentationEnums::Form form) const
- { return (form==cmDocumentationEnums::ManForm ?
- this->ManName.c_str() : this->Name.c_str()); }
+ /** Return the name of this section. */
+ const char* GetName() const
+ { return this->Name.c_str(); }
/** Return a pointer to the first entry of this section. */
const std::vector<cmDocumentationEntry> &GetEntries() const
@@ -49,11 +48,11 @@ public:
{ this->Entries.insert(this->Entries.end(),entries.begin(),entries.end()); }
/** Append an entry to this section using NULL terminated chars */
- void Append(const char *[][3]);
- void Append(const char *n, const char *b, const char *f);
+ void Append(const char *[][2]);
+ void Append(const char *n, const char *b);
/** prepend some documentation to this section */
- void Prepend(const char *[][3]);
+ void Prepend(const char *[][2]);
void Prepend(const std::vector<cmDocumentationEntry> &entries)
{ this->Entries.insert(this->Entries.begin(),
entries.begin(),entries.end()); }
@@ -61,7 +60,6 @@ public:
private:
std::string Name;
- std::string ManName;
std::vector<cmDocumentationEntry> Entries;
};
diff --git a/Source/cmELF.cxx b/Source/cmELF.cxx
index 30de9a8..353f2e9 100644
--- a/Source/cmELF.cxx
+++ b/Source/cmELF.cxx
@@ -13,6 +13,7 @@
#include "cmELF.h"
#include <cmsys/auto_ptr.hxx>
+#include <cmsys/FStream.hxx>
// Need the native byte order of the running CPU.
#define cmsys_CPU_UNKNOWN_OKAY // We can decide at runtime if not known.
@@ -71,7 +72,7 @@ public:
// Construct and take ownership of the file stream object.
cmELFInternal(cmELF* external,
- cmsys::auto_ptr<std::ifstream>& fin,
+ cmsys::auto_ptr<cmsys::ifstream>& fin,
ByteOrderType order):
External(external),
Stream(*fin.release()),
@@ -204,7 +205,7 @@ public:
// Construct with a stream and byte swap indicator.
cmELFInternalImpl(cmELF* external,
- cmsys::auto_ptr<std::ifstream>& fin,
+ cmsys::auto_ptr<cmsys::ifstream>& fin,
ByteOrderType order);
// Return the number of sections as specified by the ELF header.
@@ -462,7 +463,7 @@ private:
template <class Types>
cmELFInternalImpl<Types>
::cmELFInternalImpl(cmELF* external,
- cmsys::auto_ptr<std::ifstream>& fin,
+ cmsys::auto_ptr<cmsys::ifstream>& fin,
ByteOrderType order):
cmELFInternal(external, fin, order)
{
@@ -707,7 +708,7 @@ cmELFInternalImpl<Types>::GetDynamicSectionString(int tag)
cmELF::cmELF(const char* fname): Internal(0)
{
// Try to open the file.
- cmsys::auto_ptr<std::ifstream> fin(new std::ifstream(fname));
+ cmsys::auto_ptr<cmsys::ifstream> fin(new cmsys::ifstream(fname));
// Quit now if the file could not be opened.
if(!fin.get() || !*fin)
diff --git a/Source/cmElseCommand.h b/Source/cmElseCommand.h
index f259919..d472e99 100644
--- a/Source/cmElseCommand.h
+++ b/Source/cmElseCommand.h
@@ -47,24 +47,6 @@ public:
*/
virtual const char* GetName() const { return "else";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Starts the else portion of an if block.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " else(expression)\n"
- "See the if command.";
- }
-
cmTypeMacro(cmElseCommand, cmCommand);
};
diff --git a/Source/cmElseIfCommand.h b/Source/cmElseIfCommand.h
index 46e2bd9..d811b35 100644
--- a/Source/cmElseIfCommand.h
+++ b/Source/cmElseIfCommand.h
@@ -47,24 +47,6 @@ public:
*/
virtual const char* GetName() const { return "elseif";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Starts the elseif portion of an if block.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " elseif(expression)\n"
- "See the if command.";
- }
-
cmTypeMacro(cmElseIfCommand, cmCommand);
};
diff --git a/Source/cmEnableLanguageCommand.h b/Source/cmEnableLanguageCommand.h
index 747448b..a248042 100644
--- a/Source/cmEnableLanguageCommand.h
+++ b/Source/cmEnableLanguageCommand.h
@@ -45,37 +45,6 @@ public:
*/
virtual const char* GetName() const {return "enable_language";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Enable a language (CXX/C/Fortran/etc)";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " enable_language(<lang> [OPTIONAL] )\n"
- "This command enables support for the named language in CMake. "
- "This is the same as the project command but does not create "
- "any of the extra variables that are created by the project command. "
- "Example languages are CXX, C, Fortran. "
- "\n"
- "This command must be called in file scope, not in a function call. "
- "Furthermore, it must be called in the highest directory common to "
- "all targets using the named language directly for compiling sources "
- "or indirectly through link dependencies. "
- "It is simplest to enable all needed languages in the top-level "
- "directory of a project."
- "\n"
- "The OPTIONAL keyword is a placeholder for future implementation "
- "and does not currently work.";
- }
-
cmTypeMacro(cmEnableLanguageCommand, cmCommand);
};
diff --git a/Source/cmEnableTestingCommand.h b/Source/cmEnableTestingCommand.h
index 9b9e985..e102f5e 100644
--- a/Source/cmEnableTestingCommand.h
+++ b/Source/cmEnableTestingCommand.h
@@ -50,27 +50,6 @@ public:
*/
virtual const char* GetName() const { return "enable_testing";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Enable testing for current directory and below.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " enable_testing()\n"
- "Enables testing for this directory and below. "
- "See also the add_test command. Note that ctest expects to find "
- "a test file in the build directory root. Therefore, this command "
- "should be in the source directory root.";
- }
-
cmTypeMacro(cmEnableTestingCommand, cmCommand);
};
diff --git a/Source/cmEndForEachCommand.h b/Source/cmEndForEachCommand.h
index d5ee8a6..44d29b5 100644
--- a/Source/cmEndForEachCommand.h
+++ b/Source/cmEndForEachCommand.h
@@ -54,24 +54,6 @@ public:
*/
virtual const char* GetName() const { return "endforeach";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Ends a list of commands in a FOREACH block.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " endforeach(expression)\n"
- "See the FOREACH command.";
- }
-
cmTypeMacro(cmEndForEachCommand, cmCommand);
};
diff --git a/Source/cmEndFunctionCommand.h b/Source/cmEndFunctionCommand.h
index d7b74e9..4fdca6b 100644
--- a/Source/cmEndFunctionCommand.h
+++ b/Source/cmEndFunctionCommand.h
@@ -54,24 +54,6 @@ public:
*/
virtual const char* GetName() const { return "endfunction";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Ends a list of commands in a function block.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " endfunction(expression)\n"
- "See the function command.";
- }
-
cmTypeMacro(cmEndFunctionCommand, cmCommand);
};
diff --git a/Source/cmEndIfCommand.h b/Source/cmEndIfCommand.h
index 5c4b9e3..634da60 100644
--- a/Source/cmEndIfCommand.h
+++ b/Source/cmEndIfCommand.h
@@ -47,24 +47,6 @@ public:
*/
virtual const char* GetName() const { return "endif";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Ends a list of commands in an if block.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " endif(expression)\n"
- "See the if command.";
- }
-
cmTypeMacro(cmEndIfCommand, cmCommand);
};
diff --git a/Source/cmEndMacroCommand.h b/Source/cmEndMacroCommand.h
index 9d0e70f..db15f27 100644
--- a/Source/cmEndMacroCommand.h
+++ b/Source/cmEndMacroCommand.h
@@ -54,24 +54,6 @@ public:
*/
virtual const char* GetName() const { return "endmacro";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Ends a list of commands in a macro block.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " endmacro(expression)\n"
- "See the macro command.";
- }
-
cmTypeMacro(cmEndMacroCommand, cmCommand);
};
diff --git a/Source/cmEndWhileCommand.h b/Source/cmEndWhileCommand.h
index 18ba5ea..41138d1 100644
--- a/Source/cmEndWhileCommand.h
+++ b/Source/cmEndWhileCommand.h
@@ -54,24 +54,6 @@ public:
*/
virtual const char* GetName() const { return "endwhile";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Ends a list of commands in a while block.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " endwhile(expression)\n"
- "See the while command.";
- }
-
cmTypeMacro(cmEndWhileCommand, cmCommand);
};
diff --git a/Source/cmExecProgramCommand.cxx b/Source/cmExecProgramCommand.cxx
index 9fdb1e8..6c11345 100644
--- a/Source/cmExecProgramCommand.cxx
+++ b/Source/cmExecProgramCommand.cxx
@@ -12,6 +12,8 @@
#include "cmExecProgramCommand.h"
#include "cmSystemTools.h"
+#include <cmsys/Process.h>
+
// cmExecProgramCommand
bool cmExecProgramCommand
::InitialPass(std::vector<std::string> const& args, cmExecutionStatus &)
@@ -103,13 +105,13 @@ bool cmExecProgramCommand
if(args.size() - count == 2)
{
cmSystemTools::MakeDirectory(args[1].c_str());
- result = cmSystemTools::RunCommand(command.c_str(), output, retVal,
- args[1].c_str(), verbose);
+ result = cmExecProgramCommand::RunCommand(command.c_str(), output, retVal,
+ args[1].c_str(), verbose);
}
else
{
- result = cmSystemTools::RunCommand(command.c_str(), output,
- retVal, 0, verbose);
+ result = cmExecProgramCommand::RunCommand(command.c_str(), output,
+ retVal, 0, verbose);
}
if(!result)
{
@@ -143,3 +145,189 @@ bool cmExecProgramCommand
return true;
}
+bool cmExecProgramCommand::RunCommand(const char* command,
+ std::string& output,
+ int &retVal,
+ const char* dir,
+ bool verbose)
+{
+ if(cmSystemTools::GetRunCommandOutput())
+ {
+ verbose = false;
+ }
+
+#if defined(WIN32) && !defined(__CYGWIN__)
+ // if the command does not start with a quote, then
+ // try to find the program, and if the program can not be
+ // found use system to run the command as it must be a built in
+ // shell command like echo or dir
+ int count = 0;
+ std::string shortCmd;
+ if(command[0] == '\"')
+ {
+ // count the number of quotes
+ for(const char* s = command; *s != 0; ++s)
+ {
+ if(*s == '\"')
+ {
+ count++;
+ if(count > 2)
+ {
+ break;
+ }
+ }
+ }
+ // if there are more than two double quotes use
+ // GetShortPathName, the cmd.exe program in windows which
+ // is used by system fails to execute if there are more than
+ // one set of quotes in the arguments
+ if(count > 2)
+ {
+ cmsys::RegularExpression quoted("^\"([^\"]*)\"[ \t](.*)");
+ if(quoted.find(command))
+ {
+ std::string cmd = quoted.match(1);
+ std::string args = quoted.match(2);
+ if(! cmSystemTools::FileExists(cmd.c_str()) )
+ {
+ shortCmd = cmd;
+ }
+ else if(!cmSystemTools::GetShortPath(cmd.c_str(), shortCmd))
+ {
+ cmSystemTools::Error("GetShortPath failed for " , cmd.c_str());
+ return false;
+ }
+ shortCmd += " ";
+ shortCmd += args;
+
+ command = shortCmd.c_str();
+ }
+ else
+ {
+ cmSystemTools::Error("Could not parse command line with quotes ",
+ command);
+ }
+ }
+ }
+#endif
+
+ // Allocate a process instance.
+ cmsysProcess* cp = cmsysProcess_New();
+ if(!cp)
+ {
+ cmSystemTools::Error("Error allocating process instance.");
+ return false;
+ }
+
+#if defined(WIN32) && !defined(__CYGWIN__)
+ if(dir)
+ {
+ cmsysProcess_SetWorkingDirectory(cp, dir);
+ }
+ if(cmSystemTools::GetRunCommandHideConsole())
+ {
+ cmsysProcess_SetOption(cp, cmsysProcess_Option_HideWindow, 1);
+ }
+ cmsysProcess_SetOption(cp, cmsysProcess_Option_Verbatim, 1);
+ const char* cmd[] = {command, 0};
+ cmsysProcess_SetCommand(cp, cmd);
+#else
+ std::string commandInDir;
+ if(dir)
+ {
+ commandInDir = "cd \"";
+ commandInDir += dir;
+ commandInDir += "\" && ";
+ commandInDir += command;
+ }
+ else
+ {
+ commandInDir = command;
+ }
+#ifndef __VMS
+ commandInDir += " 2>&1";
+#endif
+ command = commandInDir.c_str();
+ if(verbose)
+ {
+ cmSystemTools::Stdout("running ");
+ cmSystemTools::Stdout(command);
+ cmSystemTools::Stdout("\n");
+ }
+ fflush(stdout);
+ fflush(stderr);
+ const char* cmd[] = {"/bin/sh", "-c", command, 0};
+ cmsysProcess_SetCommand(cp, cmd);
+#endif
+
+ cmsysProcess_Execute(cp);
+
+ // Read the process output.
+ int length;
+ char* data;
+ int p;
+ while((p = cmsysProcess_WaitForData(cp, &data, &length, 0), p))
+ {
+ if(p == cmsysProcess_Pipe_STDOUT || p == cmsysProcess_Pipe_STDERR)
+ {
+ if(verbose)
+ {
+ cmSystemTools::Stdout(data, length);
+ }
+ output.append(data, length);
+ }
+ }
+
+ // All output has been read. Wait for the process to exit.
+ cmsysProcess_WaitForExit(cp, 0);
+
+ // Check the result of running the process.
+ std::string msg;
+ switch(cmsysProcess_GetState(cp))
+ {
+ case cmsysProcess_State_Exited:
+ retVal = cmsysProcess_GetExitValue(cp);
+ break;
+ case cmsysProcess_State_Exception:
+ retVal = -1;
+ msg += "\nProcess terminated due to: ";
+ msg += cmsysProcess_GetExceptionString(cp);
+ break;
+ case cmsysProcess_State_Error:
+ retVal = -1;
+ msg += "\nProcess failed because: ";
+ msg += cmsysProcess_GetErrorString(cp);
+ break;
+ case cmsysProcess_State_Expired:
+ retVal = -1;
+ msg += "\nProcess terminated due to timeout.";
+ break;
+ }
+ if(!msg.empty())
+ {
+#if defined(WIN32) && !defined(__CYGWIN__)
+ // Old Windows process execution printed this info.
+ msg += "\n\nfor command: ";
+ msg += command;
+ if(dir)
+ {
+ msg += "\nin dir: ";
+ msg += dir;
+ }
+ msg += "\n";
+ if(verbose)
+ {
+ cmSystemTools::Stdout(msg.c_str());
+ }
+ output += msg;
+#else
+ // Old UNIX process execution only put message in output.
+ output += msg;
+#endif
+ }
+
+ // Delete the process instance.
+ cmsysProcess_Delete(cp);
+
+ return true;
+}
diff --git a/Source/cmExecProgramCommand.h b/Source/cmExecProgramCommand.h
index f752501..6d28cdc 100644
--- a/Source/cmExecProgramCommand.h
+++ b/Source/cmExecProgramCommand.h
@@ -50,39 +50,6 @@ public:
*/
virtual bool IsScriptable() const { return true; }
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return
- "Deprecated. Use the execute_process() command instead.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- "Run an executable program during the processing of the CMakeList.txt"
- " file.\n"
- " exec_program(Executable [directory in which to run]\n"
- " [ARGS <arguments to executable>]\n"
- " [OUTPUT_VARIABLE <var>]\n"
- " [RETURN_VALUE <var>])\n"
- "The executable is run in the optionally specified directory. The "
- "executable can include arguments if it is double quoted, but it is "
- "better to use the optional ARGS argument to specify arguments to the "
- "program. This is because cmake will then be able to escape spaces "
- "in the executable path. An optional argument OUTPUT_VARIABLE "
- "specifies a variable in which to store the output. "
- "To capture the return value of the execution, provide a RETURN_VALUE. "
- "If OUTPUT_VARIABLE is specified, then no output will go to the "
- "stdout/stderr of the console running cmake.\n"
- ;
- }
-
/** This command is kept for compatibility with older CMake versions. */
virtual bool IsDiscouraged() const
{
@@ -90,6 +57,10 @@ public:
}
cmTypeMacro(cmExecProgramCommand, cmCommand);
+private:
+ static bool RunCommand(const char* command, std::string& output,
+ int &retVal, const char* directory = 0,
+ bool verbose = true);
};
#endif
diff --git a/Source/cmExecuteProcessCommand.h b/Source/cmExecuteProcessCommand.h
index 0e20a4b..bd0f783 100644
--- a/Source/cmExecuteProcessCommand.h
+++ b/Source/cmExecuteProcessCommand.h
@@ -49,64 +49,6 @@ public:
*/
virtual bool IsScriptable() const { return true; }
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Execute one or more child processes.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " execute_process(COMMAND <cmd1> [args1...]]\n"
- " [COMMAND <cmd2> [args2...] [...]]\n"
- " [WORKING_DIRECTORY <directory>]\n"
- " [TIMEOUT <seconds>]\n"
- " [RESULT_VARIABLE <variable>]\n"
- " [OUTPUT_VARIABLE <variable>]\n"
- " [ERROR_VARIABLE <variable>]\n"
- " [INPUT_FILE <file>]\n"
- " [OUTPUT_FILE <file>]\n"
- " [ERROR_FILE <file>]\n"
- " [OUTPUT_QUIET]\n"
- " [ERROR_QUIET]\n"
- " [OUTPUT_STRIP_TRAILING_WHITESPACE]\n"
- " [ERROR_STRIP_TRAILING_WHITESPACE])\n"
- "Runs the given sequence of one or more commands with the standard "
- "output of each process piped to the standard input of the next. "
- "A single standard error pipe is used for all processes. "
- "If WORKING_DIRECTORY is given the named directory will be set as "
- "the current working directory of the child processes. "
- "If TIMEOUT is given the child processes will be terminated if they "
- "do not finish in the specified number of seconds "
- "(fractions are allowed). "
- "If RESULT_VARIABLE is given the variable will be set to contain "
- "the result of running the processes. This will be an integer return "
- "code from the last child or a string describing an error condition. "
- "If OUTPUT_VARIABLE or ERROR_VARIABLE are given the variable named "
- "will be set with the contents of the standard output and standard "
- "error pipes respectively. If the same variable is named for both "
- "pipes their output will be merged in the order produced. "
- "If INPUT_FILE, OUTPUT_FILE, or ERROR_FILE is given the file named "
- "will be attached to the standard input of the first process, "
- "standard output of the last process, or standard error of all "
- "processes respectively. "
- "If OUTPUT_QUIET or ERROR_QUIET is given then the standard output "
- "or standard error results will be quietly ignored. "
- "If more than one OUTPUT_* or ERROR_* option is given for the same "
- "pipe the precedence is not specified. "
- "If no OUTPUT_* or ERROR_* options are given the output will be shared "
- "with the corresponding pipes of the CMake process itself.\n"
- "The execute_process command is a newer more powerful version of "
- "exec_program, but the old command has been kept for compatibility."
- ;
- }
-
cmTypeMacro(cmExecuteProcessCommand, cmCommand);
};
diff --git a/Source/cmExportBuildFileGenerator.cxx b/Source/cmExportBuildFileGenerator.cxx
index cdc3316..308956a 100644
--- a/Source/cmExportBuildFileGenerator.cxx
+++ b/Source/cmExportBuildFileGenerator.cxx
@@ -11,42 +11,49 @@
============================================================================*/
#include "cmExportBuildFileGenerator.h"
-#include "cmExportCommand.h"
+#include "cmLocalGenerator.h"
+#include "cmGlobalGenerator.h"
+#include "cmExportSet.h"
+#include "cmTargetExport.h"
//----------------------------------------------------------------------------
cmExportBuildFileGenerator::cmExportBuildFileGenerator()
{
- this->ExportCommand = 0;
+ this->Makefile = 0;
+ this->ExportSet = 0;
}
//----------------------------------------------------------------------------
bool cmExportBuildFileGenerator::GenerateMainFile(std::ostream& os)
{
- std::vector<cmTarget*> allTargets;
{
std::string expectedTargets;
std::string sep;
- for(std::vector<cmTarget*>::const_iterator
- tei = this->Exports->begin();
- tei != this->Exports->end(); ++tei)
+ std::vector<std::string> targets;
+ this->GetTargets(targets);
+ for(std::vector<std::string>::const_iterator
+ tei = targets.begin();
+ tei != targets.end(); ++tei)
{
- expectedTargets += sep + this->Namespace + (*tei)->GetExportName();
+ cmTarget *te = this->Makefile->FindTargetToUse(*tei);
+ expectedTargets += sep + this->Namespace + te->GetExportName();
sep = " ";
- cmTarget* te = *tei;
if(this->ExportedTargets.insert(te).second)
{
- allTargets.push_back(te);
+ this->Exports.push_back(te);
}
else
{
- if(this->ExportCommand && this->ExportCommand->ErrorMessage.empty())
- {
- cmOStringStream e;
- e << "given target \"" << te->GetName() << "\" more than once.";
- this->ExportCommand->ErrorMessage = e.str();
- }
+ cmOStringStream e;
+ e << "given target \"" << te->GetName() << "\" more than once.";
+ this->Makefile->GetCMakeInstance()
+ ->IssueMessage(cmake::FATAL_ERROR, e.str().c_str(), this->Backtrace);
return false;
}
+ if (te->GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ this->GenerateRequiredCMakeVersion(os, "3.0.0");
+ }
}
this->GenerateExpectedTargetsCode(os, expectedTargets);
@@ -56,8 +63,8 @@ bool cmExportBuildFileGenerator::GenerateMainFile(std::ostream& os)
// Create all the imported targets.
for(std::vector<cmTarget*>::const_iterator
- tei = allTargets.begin();
- tei != allTargets.end(); ++tei)
+ tei = this->Exports.begin();
+ tei != this->Exports.end(); ++tei)
{
cmTarget* te = *tei;
this->GenerateImportTargetCode(os, te);
@@ -75,6 +82,9 @@ bool cmExportBuildFileGenerator::GenerateMainFile(std::ostream& os)
this->PopulateInterfaceProperty("INTERFACE_COMPILE_OPTIONS", te,
cmGeneratorExpression::BuildInterface,
properties, missingTargets);
+ this->PopulateInterfaceProperty("INTERFACE_AUTOUIC_OPTIONS", te,
+ cmGeneratorExpression::BuildInterface,
+ properties, missingTargets);
this->PopulateInterfaceProperty("INTERFACE_POSITION_INDEPENDENT_CODE",
te, properties);
const bool newCMP0022Behavior =
@@ -112,22 +122,28 @@ cmExportBuildFileGenerator
std::vector<std::string> &missingTargets)
{
for(std::vector<cmTarget*>::const_iterator
- tei = this->Exports->begin();
- tei != this->Exports->end(); ++tei)
+ tei = this->Exports.begin();
+ tei != this->Exports.end(); ++tei)
{
// Collect import properties for this target.
cmTarget* target = *tei;
ImportPropertyMap properties;
- this->SetImportLocationProperty(config, suffix, target, properties);
+
+ if (target->GetType() != cmTarget::INTERFACE_LIBRARY)
+ {
+ this->SetImportLocationProperty(config, suffix, target, properties);
+ }
if(!properties.empty())
{
// Get the rest of the target details.
- this->SetImportDetailProperties(config, suffix,
- target, properties, missingTargets);
- this->SetImportLinkInterface(config, suffix,
- cmGeneratorExpression::BuildInterface,
- target, properties, missingTargets);
-
+ if (target->GetType() != cmTarget::INTERFACE_LIBRARY)
+ {
+ this->SetImportDetailProperties(config, suffix,
+ target, properties, missingTargets);
+ this->SetImportLinkInterface(config, suffix,
+ cmGeneratorExpression::BuildInterface,
+ target, properties, missingTargets);
+ }
// TOOD: PUBLIC_HEADER_LOCATION
// This should wait until the build feature propagation stuff
@@ -142,6 +158,12 @@ cmExportBuildFileGenerator
}
//----------------------------------------------------------------------------
+void cmExportBuildFileGenerator::SetExportSet(cmExportSet *exportSet)
+{
+ this->ExportSet = exportSet;
+}
+
+//----------------------------------------------------------------------------
void
cmExportBuildFileGenerator
::SetImportLocationProperty(const char* config, std::string const& suffix,
@@ -188,15 +210,31 @@ cmExportBuildFileGenerator
//----------------------------------------------------------------------------
void
cmExportBuildFileGenerator::HandleMissingTarget(
- std::string& link_libs, std::vector<std::string>&,
- cmMakefile*, cmTarget* depender, cmTarget* dependee)
+ std::string& link_libs, std::vector<std::string>& missingTargets,
+ cmMakefile* mf, cmTarget* depender, cmTarget* dependee)
{
// The target is not in the export.
if(!this->AppendMode)
{
- // We are not appending, so all exported targets should be
- // known here. This is probably user-error.
- this->ComplainAboutMissingTarget(depender, dependee);
+ const std::string name = dependee->GetName();
+ std::vector<std::string> namespaces = this->FindNamespaces(mf, name);
+
+ int targetOccurrences = (int)namespaces.size();
+ if (targetOccurrences == 1)
+ {
+ std::string missingTarget = namespaces[0];
+
+ missingTarget += dependee->GetExportName();
+ link_libs += missingTarget;
+ missingTargets.push_back(missingTarget);
+ return;
+ }
+ else
+ {
+ // We are not appending, so all exported targets should be
+ // known here. This is probably user-error.
+ this->ComplainAboutMissingTarget(depender, dependee, targetOccurrences);
+ }
}
// Assume the target will be exported by another command.
// Append it with the export namespace.
@@ -205,23 +243,77 @@ cmExportBuildFileGenerator::HandleMissingTarget(
}
//----------------------------------------------------------------------------
+void cmExportBuildFileGenerator
+::GetTargets(std::vector<std::string> &targets) const
+{
+ if (this->ExportSet)
+ {
+ for(std::vector<cmTargetExport*>::const_iterator
+ tei = this->ExportSet->GetTargetExports()->begin();
+ tei != this->ExportSet->GetTargetExports()->end(); ++tei)
+ {
+ targets.push_back((*tei)->Target->GetName());
+ }
+ return;
+ }
+ targets = this->Targets;
+}
+
+//----------------------------------------------------------------------------
+std::vector<std::string>
+cmExportBuildFileGenerator
+::FindNamespaces(cmMakefile* mf, const std::string& name)
+{
+ std::vector<std::string> namespaces;
+ cmGlobalGenerator* gg = mf->GetLocalGenerator()->GetGlobalGenerator();
+
+ std::map<std::string, cmExportBuildFileGenerator*>& exportSets
+ = gg->GetBuildExportSets();
+
+ for(std::map<std::string, cmExportBuildFileGenerator*>::const_iterator
+ expIt = exportSets.begin(); expIt != exportSets.end(); ++expIt)
+ {
+ const cmExportBuildFileGenerator* exportSet = expIt->second;
+ std::vector<std::string> targets;
+ exportSet->GetTargets(targets);
+ if (std::find(targets.begin(), targets.end(), name) != targets.end())
+ {
+ namespaces.push_back(exportSet->GetNamespace());
+ }
+ }
+
+ return namespaces;
+}
+
+//----------------------------------------------------------------------------
void
cmExportBuildFileGenerator
::ComplainAboutMissingTarget(cmTarget* depender,
- cmTarget* dependee)
+ cmTarget* dependee,
+ int occurrences)
{
- if(!this->ExportCommand || !this->ExportCommand->ErrorMessage.empty())
+ if(cmSystemTools::GetErrorOccuredFlag())
{
return;
}
cmOStringStream e;
- e << "called with target \"" << depender->GetName()
- << "\" which requires target \"" << dependee->GetName()
- << "\" that is not in the export list.\n"
- << "If the required target is not easy to reference in this call, "
+ e << "export called with target \"" << depender->GetName()
+ << "\" which requires target \"" << dependee->GetName() << "\" ";
+ if (occurrences == 0)
+ {
+ e << "that is not in the export set.\n";
+ }
+ else
+ {
+ e << "that is not in this export set, but " << occurrences
+ << " times in others.\n";
+ }
+ e << "If the required target is not easy to reference in this call, "
<< "consider using the APPEND option with multiple separate calls.";
- this->ExportCommand->ErrorMessage = e.str();
+
+ this->Makefile->GetCMakeInstance()
+ ->IssueMessage(cmake::FATAL_ERROR, e.str().c_str(), this->Backtrace);
}
std::string
diff --git a/Source/cmExportBuildFileGenerator.h b/Source/cmExportBuildFileGenerator.h
index 3ffdf8b..cea2099 100644
--- a/Source/cmExportBuildFileGenerator.h
+++ b/Source/cmExportBuildFileGenerator.h
@@ -13,8 +13,9 @@
#define cmExportBuildFileGenerator_h
#include "cmExportFileGenerator.h"
+#include "cmListFileCache.h"
-class cmExportCommand;
+class cmExportSet;
/** \class cmExportBuildFileGenerator
* \brief Generate a file exporting targets from a build tree.
@@ -31,14 +32,22 @@ public:
cmExportBuildFileGenerator();
/** Set the list of targets to export. */
- void SetExports(std::vector<cmTarget*> const* exports)
- { this->Exports = exports; }
+ void SetTargets(std::vector<std::string> const& targets)
+ { this->Targets = targets; }
+ void GetTargets(std::vector<std::string> &targets) const;
+ void AppendTargets(std::vector<std::string> const& targets)
+ { this->Targets.insert(this->Targets.end(),
+ targets.begin(), targets.end()); }
+ void SetExportSet(cmExportSet*);
/** Set whether to append generated code to the output file. */
void SetAppendMode(bool append) { this->AppendMode = append; }
- /** Set the command instance through which errors should be reported. */
- void SetCommand(cmExportCommand* cmd) { this->ExportCommand = cmd; }
+ void SetMakefile(cmMakefile *mf) {
+ this->Makefile = mf;
+ this->Makefile->GetBacktrace(this->Backtrace);
+ }
+
protected:
// Implement virtual methods from the superclass.
virtual bool GenerateMainFile(std::ostream& os);
@@ -53,7 +62,8 @@ protected:
cmTarget* dependee);
void ComplainAboutMissingTarget(cmTarget* depender,
- cmTarget* dependee);
+ cmTarget* dependee,
+ int occurrences);
/** Fill in properties indicating built file locations. */
void SetImportLocationProperty(const char* config,
@@ -63,8 +73,14 @@ protected:
std::string InstallNameDir(cmTarget* target, const std::string& config);
- std::vector<cmTarget*> const* Exports;
- cmExportCommand* ExportCommand;
+ std::vector<std::string>
+ FindNamespaces(cmMakefile* mf, const std::string& name);
+
+ std::vector<std::string> Targets;
+ cmExportSet *ExportSet;
+ std::vector<cmTarget*> Exports;
+ cmMakefile* Makefile;
+ cmListFileBacktrace Backtrace;
};
#endif
diff --git a/Source/cmExportCommand.cxx b/Source/cmExportCommand.cxx
index f059ceb..db56aaf 100644
--- a/Source/cmExportCommand.cxx
+++ b/Source/cmExportCommand.cxx
@@ -16,11 +16,13 @@
#include "cmake.h"
#include <cmsys/RegularExpression.hxx>
+#include <cmsys/Encoding.hxx>
#include "cmExportBuildFileGenerator.h"
#if defined(__HAIKU__)
-#include <StorageKit.h>
+#include <FindDirectory.h>
+#include <StorageDefs.h>
#endif
cmExportCommand::cmExportCommand()
@@ -28,14 +30,12 @@ cmExportCommand::cmExportCommand()
,ArgumentGroup()
,Targets(&Helper, "TARGETS")
,Append(&Helper, "APPEND", &ArgumentGroup)
+,ExportSetName(&Helper, "EXPORT", &ArgumentGroup)
,Namespace(&Helper, "NAMESPACE", &ArgumentGroup)
,Filename(&Helper, "FILE", &ArgumentGroup)
,ExportOld(&Helper, "EXPORT_LINK_INTERFACE_LIBRARIES", &ArgumentGroup)
{
- // at first TARGETS
- this->Targets.Follows(0);
- // and after that the other options in any order
- this->ArgumentGroup.Follows(&this->Targets);
+ this->ExportSet = 0;
}
@@ -53,6 +53,16 @@ bool cmExportCommand
{
return this->HandlePackage(args);
}
+ else if (args[0] == "EXPORT")
+ {
+ this->ExportSetName.Follows(0);
+ this->ArgumentGroup.Follows(&this->ExportSetName);
+ }
+ else
+ {
+ this->Targets.Follows(0);
+ this->ArgumentGroup.Follows(&this->Targets);
+ }
std::vector<std::string> unknownArgs;
this->Helper.Parse(&args, &unknownArgs);
@@ -63,31 +73,32 @@ bool cmExportCommand
return false;
}
- if (this->Targets.WasFound() == false)
- {
- this->SetError("TARGETS option missing.");
- return false;
- }
-
+ std::string fname;
if(!this->Filename.WasFound())
{
- this->SetError("FILE <filename> option missing.");
- return false;
+ if (args[0] != "EXPORT")
+ {
+ this->SetError("FILE <filename> option missing.");
+ return false;
+ }
+ fname = this->ExportSetName.GetString() + ".cmake";
}
-
- // Make sure the file has a .cmake extension.
- if(cmSystemTools::GetFilenameLastExtension(this->Filename.GetCString())
- != ".cmake")
+ else
{
- cmOStringStream e;
- e << "FILE option given filename \"" << this->Filename.GetString()
- << "\" which does not have an extension of \".cmake\".\n";
- this->SetError(e.str().c_str());
- return false;
+ // Make sure the file has a .cmake extension.
+ if(cmSystemTools::GetFilenameLastExtension(this->Filename.GetCString())
+ != ".cmake")
+ {
+ cmOStringStream e;
+ e << "FILE option given filename \"" << this->Filename.GetString()
+ << "\" which does not have an extension of \".cmake\".\n";
+ this->SetError(e.str().c_str());
+ return false;
+ }
+ fname = this->Filename.GetString();
}
// Get the file to write.
- std::string fname = this->Filename.GetString();
if(cmSystemTools::FileIsFullPath(fname.c_str()))
{
if(!this->Makefile->CanIWriteThisFile(fname.c_str()))
@@ -102,73 +113,112 @@ bool cmExportCommand
else
{
// Interpret relative paths with respect to the current build dir.
- fname = this->Makefile->GetCurrentOutputDirectory();
- fname += "/";
- fname += this->Filename.GetString();
+ std::string dir = this->Makefile->GetCurrentOutputDirectory();
+ fname = dir + "/" + fname;
}
- // Collect the targets to be exported.
- std::vector<cmTarget*> targets;
- for(std::vector<std::string>::const_iterator
- currentTarget = this->Targets.GetVector().begin();
- currentTarget != this->Targets.GetVector().end();
- ++currentTarget)
+ std::vector<std::string> targets;
+
+ cmGlobalGenerator *gg = this->Makefile->GetLocalGenerator()
+ ->GetGlobalGenerator();
+
+ if(args[0] == "EXPORT")
{
- if (this->Makefile->IsAlias(currentTarget->c_str()))
+ if (this->Append.IsEnabled())
{
cmOStringStream e;
- e << "given ALIAS target \"" << *currentTarget
- << "\" which may not be exported.";
+ e << "EXPORT signature does not recognise the APPEND option.";
this->SetError(e.str().c_str());
return false;
}
- if(cmTarget* target =
- this->Makefile->GetLocalGenerator()->
- GetGlobalGenerator()->FindTarget(0, currentTarget->c_str()))
+ if (this->ExportOld.IsEnabled())
{
- if((target->GetType() == cmTarget::EXECUTABLE) ||
- (target->GetType() == cmTarget::STATIC_LIBRARY) ||
- (target->GetType() == cmTarget::SHARED_LIBRARY) ||
- (target->GetType() == cmTarget::MODULE_LIBRARY))
- {
- targets.push_back(target);
- }
- else if(target->GetType() == cmTarget::OBJECT_LIBRARY)
+ cmOStringStream e;
+ e << "EXPORT signature does not recognise the "
+ "EXPORT_LINK_INTERFACE_LIBRARIES option.";
+ this->SetError(e.str().c_str());
+ return false;
+ }
+
+ cmExportSetMap &setMap = gg->GetExportSets();
+ std::string setName = this->ExportSetName.GetString();
+ if (setMap.find(setName) == setMap.end())
+ {
+ cmOStringStream e;
+ e << "Export set \"" << setName << "\" not found.";
+ this->SetError(e.str().c_str());
+ return false;
+ }
+ this->ExportSet = setMap[setName];
+ }
+ else if (this->Targets.WasFound())
+ {
+ for(std::vector<std::string>::const_iterator
+ currentTarget = this->Targets.GetVector().begin();
+ currentTarget != this->Targets.GetVector().end();
+ ++currentTarget)
+ {
+ if (this->Makefile->IsAlias(*currentTarget))
{
cmOStringStream e;
- e << "given OBJECT library \"" << *currentTarget
+ e << "given ALIAS target \"" << *currentTarget
<< "\" which may not be exported.";
this->SetError(e.str().c_str());
return false;
}
+
+ if(cmTarget* target = gg->FindTarget(0, currentTarget->c_str()))
+ {
+ if(target->GetType() == cmTarget::OBJECT_LIBRARY)
+ {
+ cmOStringStream e;
+ e << "given OBJECT library \"" << *currentTarget
+ << "\" which may not be exported.";
+ this->SetError(e.str().c_str());
+ return false;
+ }
+ }
else
{
cmOStringStream e;
e << "given target \"" << *currentTarget
- << "\" which is not an executable or library.";
+ << "\" which is not built by this project.";
this->SetError(e.str().c_str());
return false;
}
+ targets.push_back(*currentTarget);
}
- else
+ if (this->Append.IsEnabled())
{
- cmOStringStream e;
- e << "given target \"" << *currentTarget
- << "\" which is not built by this project.";
- this->SetError(e.str().c_str());
- return false;
+ if (cmExportBuildFileGenerator *ebfg = gg->GetExportedTargetsFile(fname))
+ {
+ ebfg->AppendTargets(targets);
+ return true;
+ }
}
}
+ else
+ {
+ this->SetError("EXPORT or TARGETS specifier missing.");
+ return false;
+ }
// Setup export file generation.
- cmExportBuildFileGenerator ebfg;
- ebfg.SetExportFile(fname.c_str());
- ebfg.SetNamespace(this->Namespace.GetCString());
- ebfg.SetAppendMode(this->Append.IsEnabled());
- ebfg.SetExports(&targets);
- ebfg.SetCommand(this);
- ebfg.SetExportOld(this->ExportOld.IsEnabled());
+ cmExportBuildFileGenerator *ebfg = new cmExportBuildFileGenerator;
+ ebfg->SetExportFile(fname.c_str());
+ ebfg->SetNamespace(this->Namespace.GetCString());
+ ebfg->SetAppendMode(this->Append.IsEnabled());
+ if (this->ExportSet)
+ {
+ ebfg->SetExportSet(this->ExportSet);
+ }
+ else
+ {
+ ebfg->SetTargets(targets);
+ }
+ ebfg->SetMakefile(this->Makefile);
+ ebfg->SetExportOld(this->ExportOld.IsEnabled());
// Compute the set of configurations exported.
std::vector<std::string> configurationTypes;
@@ -179,26 +229,20 @@ bool cmExportCommand
ci = configurationTypes.begin();
ci != configurationTypes.end(); ++ci)
{
- ebfg.AddConfiguration(ci->c_str());
+ ebfg->AddConfiguration(ci->c_str());
}
}
else
{
- ebfg.AddConfiguration("");
+ ebfg->AddConfiguration("");
}
-
- // Generate the import file.
- if(!ebfg.GenerateImportFile() && this->ErrorMessage.empty())
+ if (this->ExportSet)
{
- this->SetError("could not write export file.");
- return false;
+ gg->AddBuildExportExportSet(ebfg);
}
-
- // Report generated error message if any.
- if(!this->ErrorMessage.empty())
+ else
{
- this->SetError(this->ErrorMessage.c_str());
- return false;
+ gg->AddBuildExportSet(ebfg);
}
return true;
@@ -269,14 +313,14 @@ void cmExportCommand::ReportRegistryError(std::string const& msg,
cmOStringStream e;
e << msg << "\n"
<< " HKEY_CURRENT_USER\\" << key << "\n";
- char winmsg[1024];
- if(FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM |
+ wchar_t winmsg[1024];
+ if(FormatMessageW(FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_IGNORE_INSERTS, 0, err,
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
winmsg, 1024, 0) > 0)
{
e << "Windows reported:\n"
- << " " << winmsg;
+ << " " << cmsys::Encoding::ToNarrow(winmsg);
}
this->Makefile->IssueMessage(cmake::WARNING, e.str());
}
@@ -289,8 +333,9 @@ void cmExportCommand::StorePackageRegistryWin(std::string const& package,
std::string key = "Software\\Kitware\\CMake\\Packages\\";
key += package;
HKEY hKey;
- LONG err = RegCreateKeyEx(HKEY_CURRENT_USER,
- key.c_str(), 0, 0, REG_OPTION_NON_VOLATILE,
+ LONG err = RegCreateKeyExW(HKEY_CURRENT_USER,
+ cmsys::Encoding::ToWide(key).c_str(),
+ 0, 0, REG_OPTION_NON_VOLATILE,
KEY_SET_VALUE, 0, &hKey, 0);
if(err != ERROR_SUCCESS)
{
@@ -298,8 +343,11 @@ void cmExportCommand::StorePackageRegistryWin(std::string const& package,
"Cannot create/open registry key", key, err);
return;
}
- err = RegSetValueEx(hKey, hash, 0, REG_SZ, (BYTE const*)content,
- static_cast<DWORD>(strlen(content)+1));
+
+ std::wstring wcontent = cmsys::Encoding::ToWide(content);
+ err = RegSetValueExW(hKey, cmsys::Encoding::ToWide(hash).c_str(),
+ 0, REG_SZ, (BYTE const*)wcontent.c_str(),
+ static_cast<DWORD>(wcontent.size()+1)*sizeof(wchar_t));
RegCloseKey(hKey);
if(err != ERROR_SUCCESS)
{
@@ -316,14 +364,15 @@ void cmExportCommand::StorePackageRegistryDir(std::string const& package,
const char* hash)
{
#if defined(__HAIKU__)
- BPath dir;
- if (find_directory(B_USER_SETTINGS_DIRECTORY, &dir) != B_OK)
+ char dir[B_PATH_NAME_LENGTH];
+ if (find_directory(B_USER_SETTINGS_DIRECTORY, -1, false, dir, sizeof(dir)) !=
+ B_OK)
{
return;
}
- dir.Append("cmake/packages");
- dir.Append(package.c_str());
- std::string fname = dir.Path();
+ std::string fname = dir;
+ fname += "/cmake/packages/";
+ fname += package;
#else
const char* home = cmSystemTools::GetEnv("HOME");
if(!home)
diff --git a/Source/cmExportCommand.h b/Source/cmExportCommand.h
index 87c3452..c0e445f 100644
--- a/Source/cmExportCommand.h
+++ b/Source/cmExportCommand.h
@@ -13,9 +13,9 @@
#define cmExportCommand_h
#include "cmCommand.h"
-#include "cmDocumentLocationUndefined.h"
class cmExportBuildFileGenerator;
+class cmExportSet;
/** \class cmExportLibraryDependenciesCommand
* \brief Add a test to the lists of tests to run.
@@ -47,69 +47,19 @@ public:
*/
virtual const char* GetName() const { return "export";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return
- "Export targets from the build tree for use by outside projects.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " export(TARGETS [target1 [target2 [...]]] [NAMESPACE <namespace>]\n"
- " [APPEND] FILE <filename> [EXPORT_LINK_INTERFACE_LIBRARIES])\n"
- "Create a file <filename> that may be included by outside projects to "
- "import targets from the current project's build tree. "
- "This is useful during cross-compiling to build utility executables "
- "that can run on the host platform in one project and then import "
- "them into another project being compiled for the target platform. "
- "If the NAMESPACE option is given the <namespace> string will be "
- "prepended to all target names written to the file. "
- "If the APPEND option is given the generated code will be appended "
- "to the file instead of overwriting it. "
- "The EXPORT_LINK_INTERFACE_LIBRARIES keyword, if present, causes the "
- "contents of the properties matching "
- "(IMPORTED_)?LINK_INTERFACE_LIBRARIES(_<CONFIG>)? to be exported, when "
- "policy CMP0022 is NEW. "
- "If a library target is included in the export but "
- "a target to which it links is not included the behavior is "
- "unspecified."
- "\n"
- "The file created by this command is specific to the build tree and "
- "should never be installed. "
- "See the install(EXPORT) command to export targets from an "
- "installation tree."
- CM_LOCATION_UNDEFINED_BEHAVIOR("passing it to this command")
- "\n"
- " export(PACKAGE <name>)\n"
- "Store the current build directory in the CMake user package registry "
- "for package <name>. "
- "The find_package command may consider the directory while searching "
- "for package <name>. "
- "This helps dependent projects find and use a package from the "
- "current project's build tree without help from the user. "
- "Note that the entry in the package registry that this command "
- "creates works only in conjunction with a package configuration "
- "file (<name>Config.cmake) that works with the build tree."
- ;
- }
-
cmTypeMacro(cmExportCommand, cmCommand);
private:
cmCommandArgumentGroup ArgumentGroup;
cmCAStringVector Targets;
cmCAEnabler Append;
+ cmCAString ExportSetName;
cmCAString Namespace;
cmCAString Filename;
cmCAEnabler ExportOld;
+ cmExportSet *ExportSet;
+
friend class cmExportBuildFileGenerator;
std::string ErrorMessage;
diff --git a/Source/cmExportFileGenerator.cxx b/Source/cmExportFileGenerator.cxx
index 14be5cd..4a161ee 100644
--- a/Source/cmExportFileGenerator.cxx
+++ b/Source/cmExportFileGenerator.cxx
@@ -24,6 +24,7 @@
#include "cmComputeLinkInformation.h"
#include <cmsys/auto_ptr.hxx>
+#include <cmsys/FStream.hxx>
#include <assert.h>
//----------------------------------------------------------------------------
@@ -52,15 +53,21 @@ void cmExportFileGenerator::SetExportFile(const char* mainFile)
}
//----------------------------------------------------------------------------
+const char* cmExportFileGenerator::GetMainExportFileName() const
+{
+ return this->MainImportFile.c_str();
+}
+
+//----------------------------------------------------------------------------
bool cmExportFileGenerator::GenerateImportFile()
{
// Open the output file to generate it.
- cmsys::auto_ptr<std::ofstream> foutPtr;
+ cmsys::auto_ptr<cmsys::ofstream> foutPtr;
if(this->AppendMode)
{
// Open for append.
- cmsys::auto_ptr<std::ofstream>
- ap(new std::ofstream(this->MainImportFile.c_str(), std::ios::app));
+ cmsys::auto_ptr<cmsys::ofstream>
+ ap(new cmsys::ofstream(this->MainImportFile.c_str(), std::ios::app));
foutPtr = ap;
}
else
@@ -227,26 +234,46 @@ static bool checkInterfaceDirs(const std::string &prepro,
const bool inSourceBuild = strcmp(topSourceDir, topBinaryDir) == 0;
+ bool hadFatalError = false;
+
for(std::vector<std::string>::iterator li = parts.begin();
li != parts.end(); ++li)
{
- if (cmGeneratorExpression::Find(*li) != std::string::npos)
+ size_t genexPos = cmGeneratorExpression::Find(*li);
+ if (genexPos == 0)
{
continue;
}
- if (strncmp(li->c_str(), "${_IMPORT_PREFIX}", 17) == 0)
+ cmake::MessageType messageType = cmake::FATAL_ERROR;
+ cmOStringStream e;
+ if (genexPos != std::string::npos)
+ {
+ switch (target->GetPolicyStatusCMP0041())
+ {
+ case cmPolicies::WARN:
+ messageType = cmake::WARNING;
+ e << target->GetMakefile()->GetPolicies()
+ ->GetPolicyWarning(cmPolicies::CMP0041) << "\n";
+ break;
+ case cmPolicies::OLD:
+ continue;
+ case cmPolicies::REQUIRED_IF_USED:
+ case cmPolicies::REQUIRED_ALWAYS:
+ case cmPolicies::NEW:
+ hadFatalError = true;
+ break; // Issue fatal message.
+ }
+ }
+ if (cmHasLiteralPrefix(li->c_str(), "${_IMPORT_PREFIX}"))
{
continue;
}
if (!cmSystemTools::FileIsFullPath(li->c_str()))
{
- cmOStringStream e;
e << "Target \"" << target->GetName() << "\" "
"INTERFACE_INCLUDE_DIRECTORIES property contains relative path:\n"
" \"" << *li << "\"";
- target->GetMakefile()->IssueMessage(cmake::FATAL_ERROR,
- e.str().c_str());
- return false;
+ target->GetMakefile()->IssueMessage(messageType, e.str().c_str());
}
if (isSubDirectory(li->c_str(), installDir))
{
@@ -254,29 +281,44 @@ static bool checkInterfaceDirs(const std::string &prepro,
}
if (isSubDirectory(li->c_str(), topBinaryDir))
{
- cmOStringStream e;
e << "Target \"" << target->GetName() << "\" "
"INTERFACE_INCLUDE_DIRECTORIES property contains path:\n"
" \"" << *li << "\"\nwhich is prefixed in the build directory.";
- target->GetMakefile()->IssueMessage(cmake::FATAL_ERROR,
- e.str().c_str());
- return false;
+ target->GetMakefile()->IssueMessage(messageType, e.str().c_str());
}
if (!inSourceBuild)
{
if (isSubDirectory(li->c_str(), topSourceDir))
{
- cmOStringStream e;
e << "Target \"" << target->GetName() << "\" "
"INTERFACE_INCLUDE_DIRECTORIES property contains path:\n"
" \"" << *li << "\"\nwhich is prefixed in the source directory.";
- target->GetMakefile()->IssueMessage(cmake::FATAL_ERROR,
- e.str().c_str());
- return false;
+ target->GetMakefile()->IssueMessage(messageType, e.str().c_str());
}
}
}
- return true;
+ return !hadFatalError;
+}
+
+//----------------------------------------------------------------------------
+static void prefixItems(std::string &exportDirs)
+{
+ std::vector<std::string> entries;
+ cmGeneratorExpression::Split(exportDirs, entries);
+ exportDirs = "";
+ const char *sep = "";
+ for(std::vector<std::string>::const_iterator ei = entries.begin();
+ ei != entries.end(); ++ei)
+ {
+ exportDirs += sep;
+ sep = ";";
+ if (!cmSystemTools::FileIsFullPath(ei->c_str())
+ && ei->find("${_IMPORT_PREFIX}") == std::string::npos)
+ {
+ exportDirs += "${_IMPORT_PREFIX}/";
+ }
+ exportDirs += *ei;
+ }
}
//----------------------------------------------------------------------------
@@ -295,7 +337,10 @@ void cmExportFileGenerator::PopulateIncludeDirectoriesInterface(
cmListFileBacktrace lfbt;
cmGeneratorExpression ge(lfbt);
- std::string dirs = tei->InterfaceIncludeDirectories;
+ std::string dirs = cmGeneratorExpression::Preprocess(
+ tei->InterfaceIncludeDirectories,
+ preprocessRule,
+ true);
this->ReplaceInstallPrefix(dirs);
cmsys::auto_ptr<cmCompiledGeneratorExpression> cge = ge.Parse(dirs);
std::string exportDirs = cge->Evaluate(target->GetMakefile(), 0,
@@ -324,6 +369,8 @@ void cmExportFileGenerator::PopulateIncludeDirectoriesInterface(
return;
}
+ prefixItems(exportDirs);
+
std::string includes = (input?input:"");
const char* sep = input ? ";" : "";
includes += sep + exportDirs;
@@ -356,7 +403,7 @@ void cmExportFileGenerator::PopulateInterfaceProperty(const char *propName,
//----------------------------------------------------------------------------
-void getPropertyContents(cmTarget *tgt, const char *prop,
+void getPropertyContents(cmTarget const* tgt, const char *prop,
std::set<std::string> &ifaceProperties)
{
const char *p = tgt->GetProperty(prop);
@@ -385,7 +432,7 @@ void getCompatibleInterfaceProperties(cmTarget *target,
cmMakefile* mf = target->GetMakefile();
cmOStringStream e;
e << "Exporting the target \"" << target->GetName() << "\" is not "
- "allowed since its linker language cannot be determined";
+ "allowed since its linker language cannot be determined";
mf->IssueMessage(cmake::FATAL_ERROR, e.str());
return;
}
@@ -406,6 +453,12 @@ void getCompatibleInterfaceProperties(cmTarget *target,
getPropertyContents(li->Target,
"COMPATIBLE_INTERFACE_STRING",
ifaceProperties);
+ getPropertyContents(li->Target,
+ "COMPATIBLE_INTERFACE_NUMBER_MIN",
+ ifaceProperties);
+ getPropertyContents(li->Target,
+ "COMPATIBLE_INTERFACE_NUMBER_MAX",
+ ifaceProperties);
}
}
@@ -418,21 +471,32 @@ void cmExportFileGenerator::PopulateCompatibleInterfaceProperties(
target, properties);
this->PopulateInterfaceProperty("COMPATIBLE_INTERFACE_STRING",
target, properties);
+ this->PopulateInterfaceProperty("COMPATIBLE_INTERFACE_NUMBER_MIN",
+ target, properties);
+ this->PopulateInterfaceProperty("COMPATIBLE_INTERFACE_NUMBER_MAX",
+ target, properties);
std::set<std::string> ifaceProperties;
getPropertyContents(target, "COMPATIBLE_INTERFACE_BOOL", ifaceProperties);
getPropertyContents(target, "COMPATIBLE_INTERFACE_STRING", ifaceProperties);
+ getPropertyContents(target, "COMPATIBLE_INTERFACE_NUMBER_MIN",
+ ifaceProperties);
+ getPropertyContents(target, "COMPATIBLE_INTERFACE_NUMBER_MAX",
+ ifaceProperties);
- getCompatibleInterfaceProperties(target, ifaceProperties, 0);
+ if (target->GetType() != cmTarget::INTERFACE_LIBRARY)
+ {
+ getCompatibleInterfaceProperties(target, ifaceProperties, 0);
- std::vector<std::string> configNames;
- target->GetMakefile()->GetConfigurations(configNames);
+ std::vector<std::string> configNames;
+ target->GetMakefile()->GetConfigurations(configNames);
- for (std::vector<std::string>::const_iterator ci = configNames.begin();
- ci != configNames.end(); ++ci)
- {
- getCompatibleInterfaceProperties(target, ifaceProperties, ci->c_str());
+ for (std::vector<std::string>::const_iterator ci = configNames.begin();
+ ci != configNames.end(); ++ci)
+ {
+ getCompatibleInterfaceProperties(target, ifaceProperties, ci->c_str());
+ }
}
for (std::set<std::string>::const_iterator it = ifaceProperties.begin();
@@ -444,7 +508,7 @@ void cmExportFileGenerator::PopulateCompatibleInterfaceProperties(
}
//----------------------------------------------------------------------------
-void cmExportFileGenerator::GenerateInterfaceProperties(cmTarget *target,
+void cmExportFileGenerator::GenerateInterfaceProperties(cmTarget const* target,
std::ostream& os,
const ImportPropertyMap &properties)
{
@@ -470,7 +534,7 @@ cmExportFileGenerator::AddTargetNamespace(std::string &input,
{
cmMakefile *mf = target->GetMakefile();
- cmTarget *tgt = mf->FindTargetToUse(input.c_str());
+ cmTarget *tgt = mf->FindTargetToUse(input);
if (!tgt)
{
return false;
@@ -741,9 +805,10 @@ cmExportFileGenerator
"IMPORTED_LINK_INTERFACE_LANGUAGES",
iface->Languages, properties, missingTargets);
+ std::vector<std::string> dummy;
this->SetImportLinkProperty(suffix, target,
"IMPORTED_LINK_DEPENDENT_LIBRARIES",
- iface->SharedDeps, properties, missingTargets);
+ iface->SharedDeps, properties, dummy);
if(iface->Multiplicity > 0)
{
std::string prop = "IMPORTED_LINK_INTERFACE_MULTIPLICITY";
@@ -761,36 +826,36 @@ cmExportFileGenerator
::SetImportLinkProperty(std::string const& suffix,
cmTarget* target,
const char* propName,
- std::vector<std::string> const& libs,
+ std::vector<std::string> const& entries,
ImportPropertyMap& properties,
std::vector<std::string>& missingTargets
)
{
- // Skip the property if there are no libraries.
- if(libs.empty())
+ // Skip the property if there are no entries.
+ if(entries.empty())
{
return;
}
// Construct the property value.
- std::string link_libs;
+ std::string link_entries;
const char* sep = "";
- for(std::vector<std::string>::const_iterator li = libs.begin();
- li != libs.end(); ++li)
+ for(std::vector<std::string>::const_iterator li = entries.begin();
+ li != entries.end(); ++li)
{
// Separate this from the previous entry.
- link_libs += sep;
+ link_entries += sep;
sep = ";";
std::string temp = *li;
this->AddTargetNamespace(temp, target, missingTargets);
- link_libs += temp;
+ link_entries += temp;
}
// Store the property.
std::string prop = propName;
prop += suffix;
- properties[prop] = link_libs;
+ properties[prop] = link_entries;
}
@@ -866,7 +931,7 @@ void cmExportFileGenerator::GenerateExpectedTargetsCode(std::ostream& os,
//----------------------------------------------------------------------------
void
cmExportFileGenerator
-::GenerateImportTargetCode(std::ostream& os, cmTarget* target)
+::GenerateImportTargetCode(std::ostream& os, cmTarget const* target)
{
// Construct the imported target name.
std::string targetName = this->Namespace;
@@ -892,6 +957,9 @@ cmExportFileGenerator
case cmTarget::UNKNOWN_LIBRARY:
os << "add_library(" << targetName << " UNKNOWN IMPORTED)\n";
break;
+ case cmTarget::INTERFACE_LIBRARY:
+ os << "add_library(" << targetName << " INTERFACE IMPORTED)\n";
+ break;
default: // should never happen
break;
}
@@ -929,7 +997,7 @@ cmExportFileGenerator
void
cmExportFileGenerator
::GenerateImportPropertyCode(std::ostream& os, const char* config,
- cmTarget* target,
+ cmTarget const* target,
ImportPropertyMap const& properties)
{
// Construct the imported target name.
diff --git a/Source/cmExportFileGenerator.h b/Source/cmExportFileGenerator.h
index 9628b96..57ab378 100644
--- a/Source/cmExportFileGenerator.h
+++ b/Source/cmExportFileGenerator.h
@@ -15,6 +15,20 @@
#include "cmCommand.h"
#include "cmGeneratorExpression.h"
+#include "cmVersionMacros.h"
+#include "cmVersion.h"
+
+#define STRINGIFY_HELPER(X) #X
+#define STRINGIFY(X) STRINGIFY_HELPER(X)
+
+#define DEVEL_CMAKE_VERSION(major, minor) ( \
+ CMake_VERSION_ENCODE(major, minor, 0) > \
+ CMake_VERSION_ENCODE(CMake_VERSION_MAJOR, CMake_VERSION_MINOR, 0) ? \
+ STRINGIFY(CMake_VERSION_MAJOR) "." STRINGIFY(CMake_VERSION_MINOR) "." \
+ STRINGIFY(CMake_VERSION_PATCH) \
+ : #major "." #minor ".0" \
+ )
+
class cmTargetExport;
/** \class cmExportFileGenerator
@@ -33,9 +47,11 @@ public:
/** Set the full path to the export file to generate. */
void SetExportFile(const char* mainFile);
+ const char *GetMainExportFileName() const;
/** Set the namespace in which to place exported target names. */
void SetNamespace(const char* ns) { this->Namespace = ns; }
+ std::string GetNamespace() const { return this->Namespace; }
void SetExportOld(bool exportOld) { this->ExportOld = exportOld; }
@@ -58,9 +74,9 @@ protected:
void GenerateImportHeaderCode(std::ostream& os, const char* config = 0);
void GenerateImportFooterCode(std::ostream& os);
void GenerateImportVersionCode(std::ostream& os);
- void GenerateImportTargetCode(std::ostream& os, cmTarget* target);
+ void GenerateImportTargetCode(std::ostream& os, cmTarget const* target);
void GenerateImportPropertyCode(std::ostream& os, const char* config,
- cmTarget* target,
+ cmTarget const* target,
ImportPropertyMap const& properties);
void GenerateImportedFileChecksCode(std::ostream& os, cmTarget* target,
ImportPropertyMap const& properties,
@@ -80,7 +96,7 @@ protected:
std::vector<std::string>& missingTargets);
void SetImportLinkProperty(std::string const& suffix,
cmTarget* target, const char* propName,
- std::vector<std::string> const& libs,
+ std::vector<std::string> const& entries,
ImportPropertyMap& properties,
std::vector<std::string>& missingTargets);
@@ -113,7 +129,7 @@ protected:
ImportPropertyMap &properties);
void PopulateCompatibleInterfaceProperties(cmTarget *target,
ImportPropertyMap &properties);
- void GenerateInterfaceProperties(cmTarget *target, std::ostream& os,
+ void GenerateInterfaceProperties(cmTarget const* target, std::ostream& os,
const ImportPropertyMap &properties);
void PopulateIncludeDirectoriesInterface(
cmTargetExport *target,
diff --git a/Source/cmExportInstallFileGenerator.cxx b/Source/cmExportInstallFileGenerator.cxx
index c8b4a79..b579963 100644
--- a/Source/cmExportInstallFileGenerator.cxx
+++ b/Source/cmExportInstallFileGenerator.cxx
@@ -81,10 +81,10 @@ bool cmExportInstallFileGenerator::GenerateMainFile(std::ostream& os)
os << "# Compute the installation prefix relative to this file.\n"
<< "get_filename_component(_IMPORT_PREFIX"
<< " \"${CMAKE_CURRENT_LIST_FILE}\" PATH)\n";
- if(strncmp(absDestS.c_str(), "/lib/", 5) == 0 ||
- strncmp(absDestS.c_str(), "/lib64/", 7) == 0 ||
- strncmp(absDestS.c_str(), "/usr/lib/", 9) == 0 ||
- strncmp(absDestS.c_str(), "/usr/lib64/", 11) == 0)
+ if(cmHasLiteralPrefix(absDestS.c_str(), "/lib/") ||
+ cmHasLiteralPrefix(absDestS.c_str(), "/lib64/") ||
+ cmHasLiteralPrefix(absDestS.c_str(), "/usr/lib/") ||
+ cmHasLiteralPrefix(absDestS.c_str(), "/usr/lib64/"))
{
// Handle "/usr move" symlinks created by some Linux distros.
os <<
@@ -114,12 +114,18 @@ bool cmExportInstallFileGenerator::GenerateMainFile(std::ostream& os)
std::vector<std::string> missingTargets;
bool require2_8_12 = false;
+ bool require3_0_0 = false;
+ bool requiresConfigFiles = false;
// Create all the imported targets.
for(std::vector<cmTargetExport*>::const_iterator
tei = allTargets.begin();
tei != allTargets.end(); ++tei)
{
cmTarget* te = (*tei)->Target;
+
+ requiresConfigFiles = requiresConfigFiles
+ || te->GetType() != cmTarget::INTERFACE_LIBRARY;
+
this->GenerateImportTargetCode(os, te);
ImportPropertyMap properties;
@@ -139,6 +145,10 @@ bool cmExportInstallFileGenerator::GenerateMainFile(std::ostream& os)
te,
cmGeneratorExpression::InstallInterface,
properties, missingTargets);
+ this->PopulateInterfaceProperty("INTERFACE_AUTOUIC_OPTIONS",
+ te,
+ cmGeneratorExpression::InstallInterface,
+ properties, missingTargets);
const bool newCMP0022Behavior =
te->GetPolicyStatusCMP0022() != cmPolicies::WARN
@@ -153,6 +163,10 @@ bool cmExportInstallFileGenerator::GenerateMainFile(std::ostream& os)
require2_8_12 = true;
}
}
+ if (te->GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ require3_0_0 = true;
+ }
this->PopulateInterfaceProperty("INTERFACE_POSITION_INDEPENDENT_CODE",
te, properties);
this->PopulateCompatibleInterfaceProperties(te, properties);
@@ -160,7 +174,11 @@ bool cmExportInstallFileGenerator::GenerateMainFile(std::ostream& os)
this->GenerateInterfaceProperties(te, os, properties);
}
- if (require2_8_12)
+ if (require3_0_0)
+ {
+ this->GenerateRequiredCMakeVersion(os, "3.0.0");
+ }
+ else if (require2_8_12)
{
this->GenerateRequiredCMakeVersion(os, "2.8.12");
}
@@ -184,15 +202,19 @@ bool cmExportInstallFileGenerator::GenerateMainFile(std::ostream& os)
}
this->GenerateImportedFileCheckLoop(os);
- // Generate an import file for each configuration.
bool result = true;
- for(std::vector<std::string>::const_iterator
- ci = this->Configurations.begin();
- ci != this->Configurations.end(); ++ci)
+ // Generate an import file for each configuration.
+ // Don't do this if we only export INTERFACE_LIBRARY targets.
+ if (requiresConfigFiles)
{
- if(!this->GenerateImportFileConfig(ci->c_str(), missingTargets))
+ for(std::vector<std::string>::const_iterator
+ ci = this->Configurations.begin();
+ ci != this->Configurations.end(); ++ci)
{
- result = false;
+ if(!this->GenerateImportFileConfig(ci->c_str(), missingTargets))
+ {
+ result = false;
+ }
}
}
@@ -284,8 +306,14 @@ cmExportInstallFileGenerator
{
// Collect import properties for this target.
cmTargetExport const* te = *tei;
+ if (te->Target->GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
+
ImportPropertyMap properties;
std::set<std::string> importedLocations;
+
this->SetImportLocationProperty(config, suffix, te->ArchiveGenerator,
properties, importedLocations);
this->SetImportLocationProperty(config, suffix, te->LibraryGenerator,
@@ -415,8 +443,8 @@ cmExportInstallFileGenerator::HandleMissingTarget(
}
else
{
- // We are not appending, so all exported targets should be
- // known here. This is probably user-error.
+ // All exported targets should be known here and should be unique.
+ // This is probably user-error.
this->ComplainAboutMissingTarget(depender, dependee, targetOccurrences);
}
}
diff --git a/Source/cmExportLibraryDependencies.cxx b/Source/cmExportLibraryDependencies.cxx
deleted file mode 100644
index f07b783..0000000
--- a/Source/cmExportLibraryDependencies.cxx
+++ /dev/null
@@ -1,204 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-#include "cmExportLibraryDependencies.h"
-#include "cmGlobalGenerator.h"
-#include "cmLocalGenerator.h"
-#include "cmGeneratedFileStream.h"
-#include "cmake.h"
-#include "cmVersion.h"
-
-#include <cmsys/auto_ptr.hxx>
-
-bool cmExportLibraryDependenciesCommand
-::InitialPass(std::vector<std::string> const& args, cmExecutionStatus &)
-{
- if(args.size() < 1 )
- {
- this->SetError("called with incorrect number of arguments");
- return false;
- }
-
- // store the arguments for the final pass
- this->Filename = args[0];
- this->Append = false;
- if(args.size() > 1)
- {
- if(args[1] == "APPEND")
- {
- this->Append = true;
- }
- }
- return true;
-}
-
-
-void cmExportLibraryDependenciesCommand::FinalPass()
-{
- // export_library_dependencies() shouldn't modify anything
- // ensure this by calling a const method
- this->ConstFinalPass();
-}
-
-void cmExportLibraryDependenciesCommand::ConstFinalPass() const
-{
- // Use copy-if-different if not appending.
- cmsys::auto_ptr<std::ofstream> foutPtr;
- if(this->Append)
- {
- cmsys::auto_ptr<std::ofstream> ap(
- new std::ofstream(this->Filename.c_str(), std::ios::app));
- foutPtr = ap;
- }
- else
- {
- cmsys::auto_ptr<cmGeneratedFileStream> ap(
- new cmGeneratedFileStream(this->Filename.c_str(), true));
- ap->SetCopyIfDifferent(true);
- foutPtr = ap;
- }
- std::ostream& fout = *foutPtr.get();
-
- if (!fout)
- {
- cmSystemTools::Error("Error Writing ", this->Filename.c_str());
- cmSystemTools::ReportLastSystemError("");
- return;
- }
-
- // Collect dependency information about all library targets built in
- // the project.
- cmake* cm = this->Makefile->GetCMakeInstance();
- cmGlobalGenerator* global = cm->GetGlobalGenerator();
- const std::vector<cmLocalGenerator *>& locals = global->GetLocalGenerators();
- std::map<cmStdString, cmStdString> libDepsOld;
- std::map<cmStdString, cmStdString> libDepsNew;
- std::map<cmStdString, cmStdString> libTypes;
- for(std::vector<cmLocalGenerator *>::const_iterator i = locals.begin();
- i != locals.end(); ++i)
- {
- const cmLocalGenerator* gen = *i;
- const cmTargets &tgts = gen->GetMakefile()->GetTargets();
- for(cmTargets::const_iterator l = tgts.begin();
- l != tgts.end(); ++l)
- {
- // Get the current target.
- cmTarget const& target = l->second;
-
- // Skip non-library targets.
- if(target.GetType() < cmTarget::STATIC_LIBRARY
- || target.GetType() > cmTarget::MODULE_LIBRARY)
- {
- continue;
- }
-
- // Construct the dependency variable name.
- std::string targetEntry = target.GetName();
- targetEntry += "_LIB_DEPENDS";
-
- // Construct the dependency variable value. It is safe to use
- // the target GetLinkLibraries method here because this code is
- // called at the end of configure but before generate so library
- // dependencies have yet to be analyzed. Therefore the value
- // will be the direct link dependencies.
- std::string valueOld;
- std::string valueNew;
- cmTarget::LinkLibraryVectorType const& libs = target.GetLinkLibraries();
- for(cmTarget::LinkLibraryVectorType::const_iterator li = libs.begin();
- li != libs.end(); ++li)
- {
- std::string ltVar = li->first;
- ltVar += "_LINK_TYPE";
- std::string ltValue;
- switch(li->second)
- {
- case cmTarget::GENERAL:
- valueNew += "general;";
- ltValue = "general";
- break;
- case cmTarget::DEBUG:
- valueNew += "debug;";
- ltValue = "debug";
- break;
- case cmTarget::OPTIMIZED:
- valueNew += "optimized;";
- ltValue = "optimized";
- break;
- }
- std::string lib = li->first;
- if(cmTarget* libtgt = global->FindTarget(0, lib.c_str()))
- {
- // Handle simple output name changes. This command is
- // deprecated so we do not support full target name
- // translation (which requires per-configuration info).
- if(const char* outname = libtgt->GetProperty("OUTPUT_NAME"))
- {
- lib = outname;
- }
- }
- valueOld += lib;
- valueOld += ";";
- valueNew += lib;
- valueNew += ";";
-
- std::string& ltEntry = libTypes[ltVar];
- if(ltEntry.empty())
- {
- ltEntry = ltValue;
- }
- else if(ltEntry != ltValue)
- {
- ltEntry = "general";
- }
- }
- libDepsNew[targetEntry] = valueNew;
- libDepsOld[targetEntry] = valueOld;
- }
- }
-
- // Generate dependency information for both old and new style CMake
- // versions.
- const char* vertest =
- "\"${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}\" GREATER 2.4";
- fout << "# Generated by CMake " << cmVersion::GetCMakeVersion() << "\n\n";
- fout << "IF(" << vertest << ")\n";
- fout << " # Information for CMake 2.6 and above.\n";
- for(std::map<cmStdString, cmStdString>::const_iterator
- i = libDepsNew.begin();
- i != libDepsNew.end(); ++i)
- {
- if(!i->second.empty())
- {
- fout << " SET(\"" << i->first << "\" \"" << i->second << "\")\n";
- }
- }
- fout << "ELSE(" << vertest << ")\n";
- fout << " # Information for CMake 2.4 and lower.\n";
- for(std::map<cmStdString, cmStdString>::const_iterator
- i = libDepsOld.begin();
- i != libDepsOld.end(); ++i)
- {
- if(!i->second.empty())
- {
- fout << " SET(\"" << i->first << "\" \"" << i->second << "\")\n";
- }
- }
- for(std::map<cmStdString, cmStdString>::const_iterator i = libTypes.begin();
- i != libTypes.end(); ++i)
- {
- if(i->second != "general")
- {
- fout << " SET(\"" << i->first << "\" \"" << i->second << "\")\n";
- }
- }
- fout << "ENDIF(" << vertest << ")\n";
- return;
-}
diff --git a/Source/cmExportLibraryDependencies.h b/Source/cmExportLibraryDependencies.h
deleted file mode 100644
index d8b65cc..0000000
--- a/Source/cmExportLibraryDependencies.h
+++ /dev/null
@@ -1,100 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-#ifndef cmExportLibraryDependenciesCommand_h
-#define cmExportLibraryDependenciesCommand_h
-
-#include "cmCommand.h"
-
-/** \class cmExportLibraryDependenciesCommand
- * \brief Add a test to the lists of tests to run.
- *
- * cmExportLibraryDependenciesCommand adds a test to the list of tests to run
- *
- */
-class cmExportLibraryDependenciesCommand : public cmCommand
-{
-public:
- /**
- * This is a virtual constructor for the command.
- */
- virtual cmCommand* Clone()
- {
- return new cmExportLibraryDependenciesCommand;
- }
-
- /**
- * This is called when the command is first encountered in
- * the CMakeLists.txt file.
- */
- virtual bool InitialPass(std::vector<std::string> const& args,
- cmExecutionStatus &status);
-
- /**
- * This is called at the end after all the information
- * specified by the command is accumulated.
- */
- virtual void FinalPass();
- virtual bool HasFinalPass() const { return true; }
-
- /**
- * The name of the command as specified in CMakeList.txt.
- */
- virtual const char* GetName() const { return "export_library_dependencies";}
-
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Deprecated. Use INSTALL(EXPORT) or EXPORT command.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- "This command generates an old-style library dependencies file. "
- "Projects requiring CMake 2.6 or later should not use the command. "
- "Use instead the install(EXPORT) command to help export targets "
- "from an installation tree and the export() command to export targets "
- "from a build tree.\n"
- "The old-style library dependencies file does not take into account "
- "per-configuration names of libraries or the LINK_INTERFACE_LIBRARIES "
- "target property.\n"
- " export_library_dependencies(<file> [APPEND])\n"
- "Create a file named <file> that can be included into a CMake listfile "
- "with the INCLUDE command. The file will contain a number of SET "
- "commands that will set all the variables needed for library dependency "
- "information. This should be the last command in the top level "
- "CMakeLists.txt file of the project. If the APPEND option is "
- "specified, the SET commands will be appended to the given file "
- "instead of replacing it.";
- }
-
- /** This command is kept for compatibility with older CMake versions. */
- virtual bool IsDiscouraged() const
- {
- return true;
- }
-
- cmTypeMacro(cmExportLibraryDependenciesCommand, cmCommand);
-
-private:
- std::string Filename;
- bool Append;
- void ConstFinalPass() const;
-};
-
-
-#endif
diff --git a/Source/cmExportLibraryDependenciesCommand.cxx b/Source/cmExportLibraryDependenciesCommand.cxx
new file mode 100644
index 0000000..5d6f094
--- /dev/null
+++ b/Source/cmExportLibraryDependenciesCommand.cxx
@@ -0,0 +1,208 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#include "cmExportLibraryDependenciesCommand.h"
+#include "cmGlobalGenerator.h"
+#include "cmLocalGenerator.h"
+#include "cmGeneratedFileStream.h"
+#include "cmake.h"
+#include "cmVersion.h"
+
+#include <cmsys/auto_ptr.hxx>
+
+bool cmExportLibraryDependenciesCommand
+::InitialPass(std::vector<std::string> const& args, cmExecutionStatus &)
+{
+ if(this->Disallowed(cmPolicies::CMP0033,
+ "The export_library_dependencies command should not be called; "
+ "see CMP0033."))
+ { return true; }
+ if(args.size() < 1 )
+ {
+ this->SetError("called with incorrect number of arguments");
+ return false;
+ }
+
+ // store the arguments for the final pass
+ this->Filename = args[0];
+ this->Append = false;
+ if(args.size() > 1)
+ {
+ if(args[1] == "APPEND")
+ {
+ this->Append = true;
+ }
+ }
+ return true;
+}
+
+
+void cmExportLibraryDependenciesCommand::FinalPass()
+{
+ // export_library_dependencies() shouldn't modify anything
+ // ensure this by calling a const method
+ this->ConstFinalPass();
+}
+
+void cmExportLibraryDependenciesCommand::ConstFinalPass() const
+{
+ // Use copy-if-different if not appending.
+ cmsys::auto_ptr<cmsys::ofstream> foutPtr;
+ if(this->Append)
+ {
+ cmsys::auto_ptr<cmsys::ofstream> ap(
+ new cmsys::ofstream(this->Filename.c_str(), std::ios::app));
+ foutPtr = ap;
+ }
+ else
+ {
+ cmsys::auto_ptr<cmGeneratedFileStream> ap(
+ new cmGeneratedFileStream(this->Filename.c_str(), true));
+ ap->SetCopyIfDifferent(true);
+ foutPtr = ap;
+ }
+ std::ostream& fout = *foutPtr.get();
+
+ if (!fout)
+ {
+ cmSystemTools::Error("Error Writing ", this->Filename.c_str());
+ cmSystemTools::ReportLastSystemError("");
+ return;
+ }
+
+ // Collect dependency information about all library targets built in
+ // the project.
+ cmake* cm = this->Makefile->GetCMakeInstance();
+ cmGlobalGenerator* global = cm->GetGlobalGenerator();
+ const std::vector<cmLocalGenerator *>& locals = global->GetLocalGenerators();
+ std::map<cmStdString, cmStdString> libDepsOld;
+ std::map<cmStdString, cmStdString> libDepsNew;
+ std::map<cmStdString, cmStdString> libTypes;
+ for(std::vector<cmLocalGenerator *>::const_iterator i = locals.begin();
+ i != locals.end(); ++i)
+ {
+ const cmLocalGenerator* gen = *i;
+ const cmTargets &tgts = gen->GetMakefile()->GetTargets();
+ for(cmTargets::const_iterator l = tgts.begin();
+ l != tgts.end(); ++l)
+ {
+ // Get the current target.
+ cmTarget const& target = l->second;
+
+ // Skip non-library targets.
+ if(target.GetType() < cmTarget::STATIC_LIBRARY
+ || target.GetType() > cmTarget::MODULE_LIBRARY)
+ {
+ continue;
+ }
+
+ // Construct the dependency variable name.
+ std::string targetEntry = target.GetName();
+ targetEntry += "_LIB_DEPENDS";
+
+ // Construct the dependency variable value. It is safe to use
+ // the target GetLinkLibraries method here because this code is
+ // called at the end of configure but before generate so library
+ // dependencies have yet to be analyzed. Therefore the value
+ // will be the direct link dependencies.
+ std::string valueOld;
+ std::string valueNew;
+ cmTarget::LinkLibraryVectorType const& libs = target.GetLinkLibraries();
+ for(cmTarget::LinkLibraryVectorType::const_iterator li = libs.begin();
+ li != libs.end(); ++li)
+ {
+ std::string ltVar = li->first;
+ ltVar += "_LINK_TYPE";
+ std::string ltValue;
+ switch(li->second)
+ {
+ case cmTarget::GENERAL:
+ valueNew += "general;";
+ ltValue = "general";
+ break;
+ case cmTarget::DEBUG:
+ valueNew += "debug;";
+ ltValue = "debug";
+ break;
+ case cmTarget::OPTIMIZED:
+ valueNew += "optimized;";
+ ltValue = "optimized";
+ break;
+ }
+ std::string lib = li->first;
+ if(cmTarget* libtgt = global->FindTarget(0, lib.c_str()))
+ {
+ // Handle simple output name changes. This command is
+ // deprecated so we do not support full target name
+ // translation (which requires per-configuration info).
+ if(const char* outname = libtgt->GetProperty("OUTPUT_NAME"))
+ {
+ lib = outname;
+ }
+ }
+ valueOld += lib;
+ valueOld += ";";
+ valueNew += lib;
+ valueNew += ";";
+
+ std::string& ltEntry = libTypes[ltVar];
+ if(ltEntry.empty())
+ {
+ ltEntry = ltValue;
+ }
+ else if(ltEntry != ltValue)
+ {
+ ltEntry = "general";
+ }
+ }
+ libDepsNew[targetEntry] = valueNew;
+ libDepsOld[targetEntry] = valueOld;
+ }
+ }
+
+ // Generate dependency information for both old and new style CMake
+ // versions.
+ const char* vertest =
+ "\"${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}\" GREATER 2.4";
+ fout << "# Generated by CMake " << cmVersion::GetCMakeVersion() << "\n\n";
+ fout << "if(" << vertest << ")\n";
+ fout << " # Information for CMake 2.6 and above.\n";
+ for(std::map<cmStdString, cmStdString>::const_iterator
+ i = libDepsNew.begin();
+ i != libDepsNew.end(); ++i)
+ {
+ if(!i->second.empty())
+ {
+ fout << " set(\"" << i->first << "\" \"" << i->second << "\")\n";
+ }
+ }
+ fout << "else()\n";
+ fout << " # Information for CMake 2.4 and lower.\n";
+ for(std::map<cmStdString, cmStdString>::const_iterator
+ i = libDepsOld.begin();
+ i != libDepsOld.end(); ++i)
+ {
+ if(!i->second.empty())
+ {
+ fout << " set(\"" << i->first << "\" \"" << i->second << "\")\n";
+ }
+ }
+ for(std::map<cmStdString, cmStdString>::const_iterator i = libTypes.begin();
+ i != libTypes.end(); ++i)
+ {
+ if(i->second != "general")
+ {
+ fout << " set(\"" << i->first << "\" \"" << i->second << "\")\n";
+ }
+ }
+ fout << "endif()\n";
+ return;
+}
diff --git a/Source/cmExportLibraryDependenciesCommand.h b/Source/cmExportLibraryDependenciesCommand.h
new file mode 100644
index 0000000..29b568f
--- /dev/null
+++ b/Source/cmExportLibraryDependenciesCommand.h
@@ -0,0 +1,37 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#ifndef cmExportLibraryDependenciesCommand_h
+#define cmExportLibraryDependenciesCommand_h
+
+#include "cmCommand.h"
+
+class cmExportLibraryDependenciesCommand : public cmCommand
+{
+public:
+ cmTypeMacro(cmExportLibraryDependenciesCommand, cmCommand);
+ virtual cmCommand* Clone() { return new cmExportLibraryDependenciesCommand; }
+ virtual bool InitialPass(std::vector<std::string> const& args,
+ cmExecutionStatus &status);
+ virtual const char* GetName() const { return "export_library_dependencies";}
+ virtual bool IsDiscouraged() const { return true; }
+
+ virtual void FinalPass();
+ virtual bool HasFinalPass() const { return true; }
+
+private:
+ std::string Filename;
+ bool Append;
+ void ConstFinalPass() const;
+};
+
+
+#endif
diff --git a/Source/cmExportSetMap.cxx b/Source/cmExportSetMap.cxx
index 96fdb3e..5174118 100644
--- a/Source/cmExportSetMap.cxx
+++ b/Source/cmExportSetMap.cxx
@@ -23,7 +23,7 @@ cmExportSet* cmExportSetMap::operator[](const std::string &name)
return it->second;
}
-cmExportSetMap::~cmExportSetMap()
+void cmExportSetMap::clear()
{
for(std::map<std::string, cmExportSet*>::iterator it = this->begin();
it != this->end();
@@ -31,4 +31,10 @@ cmExportSetMap::~cmExportSetMap()
{
delete it->second;
}
+ this->derived::clear();
+}
+
+cmExportSetMap::~cmExportSetMap()
+{
+ this->clear();
}
diff --git a/Source/cmExportSetMap.h b/Source/cmExportSetMap.h
index 4663c55..965046c 100644
--- a/Source/cmExportSetMap.h
+++ b/Source/cmExportSetMap.h
@@ -18,6 +18,7 @@ class cmExportSet;
/// A name -> cmExportSet map with overloaded operator[].
class cmExportSetMap : public std::map<std::string, cmExportSet*>
{
+ typedef std::map<std::string, cmExportSet*> derived;
public:
/** \brief Overloaded operator[].
*
@@ -26,6 +27,8 @@ public:
*/
cmExportSet* operator[](const std::string &name);
+ void clear();
+
/// Overloaded destructor deletes all member export sets.
~cmExportSetMap();
};
diff --git a/Source/cmExportTryCompileFileGenerator.cxx b/Source/cmExportTryCompileFileGenerator.cxx
index 819ac37..a8a91d6 100644
--- a/Source/cmExportTryCompileFileGenerator.cxx
+++ b/Source/cmExportTryCompileFileGenerator.cxx
@@ -18,11 +18,11 @@
//----------------------------------------------------------------------------
bool cmExportTryCompileFileGenerator::GenerateMainFile(std::ostream& os)
{
- std::set<cmTarget*> emitted;
- std::set<cmTarget*> emittedDeps;
+ std::set<cmTarget const*> emitted;
+ std::set<cmTarget const*> emittedDeps;
while(!this->Exports.empty())
{
- cmTarget* te = this->Exports.back();
+ cmTarget const* te = this->Exports.back();
this->Exports.pop_back();
if (emitted.insert(te).second)
{
@@ -32,10 +32,12 @@ bool cmExportTryCompileFileGenerator::GenerateMainFile(std::ostream& os)
ImportPropertyMap properties;
#define FIND_TARGETS(PROPERTY) \
- this->FindTargets(#PROPERTY, te, emittedDeps);
+ this->FindTargets("INTERFACE_" #PROPERTY, te, emittedDeps);
CM_FOR_EACH_TRANSITIVE_PROPERTY_NAME(FIND_TARGETS)
+#undef FIND_TARGETS
+
this->PopulateProperties(te, properties, emittedDeps);
this->GenerateInterfaceProperties(te, os, properties);
@@ -45,8 +47,8 @@ bool cmExportTryCompileFileGenerator::GenerateMainFile(std::ostream& os)
}
std::string cmExportTryCompileFileGenerator::FindTargets(const char *propName,
- cmTarget *tgt,
- std::set<cmTarget*> &emitted)
+ cmTarget const* tgt,
+ std::set<cmTarget const*> &emitted)
{
const char *prop = tgt->GetProperty(propName);
if(!prop)
@@ -70,8 +72,8 @@ std::string cmExportTryCompileFileGenerator::FindTargets(const char *propName,
std::string result = cge->Evaluate(tgt->GetMakefile(), this->Config,
false, &dummyHead, tgt, &dagChecker);
- const std::set<cmTarget*> &allTargets = cge->GetAllTargetsSeen();
- for(std::set<cmTarget*>::const_iterator li = allTargets.begin();
+ const std::set<cmTarget const*> &allTargets = cge->GetAllTargetsSeen();
+ for(std::set<cmTarget const*>::const_iterator li = allTargets.begin();
li != allTargets.end(); ++li)
{
if(emitted.insert(*li).second)
@@ -84,9 +86,9 @@ std::string cmExportTryCompileFileGenerator::FindTargets(const char *propName,
//----------------------------------------------------------------------------
void
-cmExportTryCompileFileGenerator::PopulateProperties(cmTarget* target,
+cmExportTryCompileFileGenerator::PopulateProperties(cmTarget const* target,
ImportPropertyMap& properties,
- std::set<cmTarget*> &emitted)
+ std::set<cmTarget const*> &emitted)
{
cmPropertyMap props = target->GetProperties();
for(cmPropertyMap::const_iterator i = props.begin(); i != props.end(); ++i)
@@ -107,7 +109,7 @@ cmExportTryCompileFileGenerator::PopulateProperties(cmTarget* target,
for(std::vector<std::string>::const_iterator li = depends.begin();
li != depends.end(); ++li)
{
- cmTarget *tgt = target->GetMakefile()->FindTargetToUse(li->c_str());
+ cmTarget *tgt = target->GetMakefile()->FindTargetToUse(*li);
if(tgt && emitted.insert(tgt).second)
{
this->Exports.push_back(tgt);
diff --git a/Source/cmExportTryCompileFileGenerator.h b/Source/cmExportTryCompileFileGenerator.h
index 91b4a61..71ac0dd 100644
--- a/Source/cmExportTryCompileFileGenerator.h
+++ b/Source/cmExportTryCompileFileGenerator.h
@@ -21,7 +21,7 @@ class cmExportTryCompileFileGenerator: public cmExportFileGenerator
{
public:
/** Set the list of targets to export. */
- void SetExports(const std::vector<cmTarget*> &exports)
+ void SetExports(const std::vector<cmTarget const*> &exports)
{ this->Exports = exports; }
void SetConfig(const char *config) { this->Config = config; }
protected:
@@ -39,18 +39,18 @@ protected:
cmTarget*,
cmTarget*) {}
- void PopulateProperties(cmTarget* target,
+ void PopulateProperties(cmTarget const* target,
ImportPropertyMap& properties,
- std::set<cmTarget*> &emitted);
+ std::set<cmTarget const*> &emitted);
std::string InstallNameDir(cmTarget* target,
const std::string& config);
private:
- std::string FindTargets(const char *prop, cmTarget *tgt,
- std::set<cmTarget*> &emitted);
+ std::string FindTargets(const char *prop, cmTarget const* tgt,
+ std::set<cmTarget const*> &emitted);
- std::vector<cmTarget*> Exports;
+ std::vector<cmTarget const*> Exports;
const char *Config;
};
diff --git a/Source/cmExprLexer.cxx b/Source/cmExprLexer.cxx
index 9947c77..aa384cd 100644
--- a/Source/cmExprLexer.cxx
+++ b/Source/cmExprLexer.cxx
@@ -1716,7 +1716,7 @@ void cmExpr_yyset_extra (YY_EXTRA_TYPE user_defined , yyscan_t yyscanner)
}
/** Set the current line number.
- * @param line_number
+ * @param line_number The line number to set.
* @param yyscanner The scanner object.
*/
void cmExpr_yyset_lineno (int line_number , yyscan_t yyscanner)
@@ -1731,7 +1731,7 @@ void cmExpr_yyset_lineno (int line_number , yyscan_t yyscanner)
}
/** Set the current column.
- * @param column_no
+ * @param column_no The column number to set.
* @param yyscanner The scanner object.
*/
void cmExpr_yyset_column (int column_no , yyscan_t yyscanner)
diff --git a/Source/cmExternalMakefileProjectGenerator.cxx b/Source/cmExternalMakefileProjectGenerator.cxx
index 9c965cc..0d42c35 100644
--- a/Source/cmExternalMakefileProjectGenerator.cxx
+++ b/Source/cmExternalMakefileProjectGenerator.cxx
@@ -13,6 +13,12 @@
#include "cmExternalMakefileProjectGenerator.h"
+void cmExternalMakefileProjectGenerator
+::EnableLanguage(std::vector<std::string> const&,
+ cmMakefile *, bool)
+{
+}
+
std::string cmExternalMakefileProjectGenerator::CreateFullGeneratorName(
const char* globalGenerator,
const char* extraGenerator)
diff --git a/Source/cmExternalMakefileProjectGenerator.h b/Source/cmExternalMakefileProjectGenerator.h
index 182c1a8..bce441d 100644
--- a/Source/cmExternalMakefileProjectGenerator.h
+++ b/Source/cmExternalMakefileProjectGenerator.h
@@ -41,6 +41,8 @@ public:
/** Get the documentation entry for this generator. */
virtual void GetDocumentation(cmDocumentationEntry& entry,
const char* fullName) const = 0;
+ virtual void EnableLanguage(std::vector<std::string> const& languages,
+ cmMakefile *, bool optional);
///! set the global generator which will generate the makefiles
virtual void SetGlobalGenerator(cmGlobalGenerator* generator)
diff --git a/Source/cmExtraCodeBlocksGenerator.cxx b/Source/cmExtraCodeBlocksGenerator.cxx
index dfbb1c0..548c88b 100644
--- a/Source/cmExtraCodeBlocksGenerator.cxx
+++ b/Source/cmExtraCodeBlocksGenerator.cxx
@@ -42,13 +42,6 @@ void cmExtraCodeBlocksGenerator
{
entry.Name = this->GetName();
entry.Brief = "Generates CodeBlocks project files.";
- entry.Full =
- "Project files for CodeBlocks will be created in the top directory "
- "and in every subdirectory which features a CMakeLists.txt file "
- "containing a PROJECT() call. "
- "Additionally a hierarchy of makefiles is generated into the "
- "build tree. The appropriate make program can build the project through "
- "the default make target. A \"make install\" target is also provided.";
}
cmExtraCodeBlocksGenerator::cmExtraCodeBlocksGenerator()
@@ -336,31 +329,11 @@ void cmExtraCodeBlocksGenerator
{
case cmTarget::GLOBAL_TARGET:
{
- bool insertTarget = false;
// Only add the global targets from CMAKE_BINARY_DIR,
// not from the subdirs
if (strcmp(makefile->GetStartOutputDirectory(),
makefile->GetHomeOutputDirectory())==0)
{
- insertTarget = true;
- // only add the "edit_cache" target if it's not ccmake, because
- // this will not work within the IDE
- if (ti->first == "edit_cache")
- {
- const char* editCommand = makefile->GetDefinition
- ("CMAKE_EDIT_COMMAND");
- if (editCommand == 0)
- {
- insertTarget = false;
- }
- else if (strstr(editCommand, "ccmake")!=NULL)
- {
- insertTarget = false;
- }
- }
- }
- if (insertTarget)
- {
this->AppendTarget(fout, ti->first.c_str(), 0,
make.c_str(), makefile, compiler.c_str());
}
@@ -425,7 +398,8 @@ void cmExtraCodeBlocksGenerator
case cmTarget::OBJECT_LIBRARY:
case cmTarget::UTILITY: // can have sources since 2.6.3
{
- const std::vector<cmSourceFile*>&sources=ti->second.GetSourceFiles();
+ std::vector<cmSourceFile*> sources;
+ ti->second.GetSourceFiles(sources);
for (std::vector<cmSourceFile*>::const_iterator si=sources.begin();
si!=sources.end(); si++)
{
@@ -787,10 +761,12 @@ std::string cmExtraCodeBlocksGenerator::BuildMakeCommand(
std::string command = make;
if (strcmp(this->GlobalGenerator->GetName(), "NMake Makefiles")==0)
{
+ // For Windows ConvertToOutputPath already adds quotes when required.
+ // These need to be escaped, see
+ // http://public.kitware.com/Bug/view.php?id=13952
std::string makefileName = cmSystemTools::ConvertToOutputPath(makefile);
- command += " /NOLOGO /f &quot;";
- command += makefileName;
- command += "&quot; ";
+ command += " /NOLOGO /f ";
+ command += cmXMLSafe(makefileName).str();
command += " VERBOSE=1 ";
command += target;
}
diff --git a/Source/cmExtraCodeLiteGenerator.cxx b/Source/cmExtraCodeLiteGenerator.cxx
new file mode 100644
index 0000000..ff84fb7
--- /dev/null
+++ b/Source/cmExtraCodeLiteGenerator.cxx
@@ -0,0 +1,491 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2004-2009 Kitware, Inc.
+ Copyright 2004 Alexander Neundorf (neundorf@kde.org)
+ Copyright 2013 Eran Ifrah (eran.ifrah@gmail.com)
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#include "cmExtraCodeLiteGenerator.h"
+#include "cmGlobalUnixMakefileGenerator3.h"
+#include "cmLocalUnixMakefileGenerator3.h"
+#include "cmMakefile.h"
+#include "cmake.h"
+#include "cmSourceFile.h"
+#include "cmGeneratedFileStream.h"
+#include "cmSystemTools.h"
+
+#include <cmsys/SystemTools.hxx>
+#include <cmsys/SystemInformation.hxx>
+#include <cmsys/Directory.hxx>
+#include "cmXMLSafe.h"
+#include <sstream>
+
+//----------------------------------------------------------------------------
+void cmExtraCodeLiteGenerator::GetDocumentation(cmDocumentationEntry& entry,
+ const char*) const
+{
+ entry.Name = this->GetName();
+ entry.Brief = "Generates CodeLite project files.";
+}
+
+cmExtraCodeLiteGenerator::cmExtraCodeLiteGenerator()
+ : cmExternalMakefileProjectGenerator()
+ , ConfigName("NoConfig")
+ , CpuCount(2)
+{
+#if defined(_WIN32)
+ this->SupportedGlobalGenerators.push_back("MinGW Makefiles");
+ this->SupportedGlobalGenerators.push_back("NMake Makefiles");
+#endif
+ this->SupportedGlobalGenerators.push_back("Ninja");
+ this->SupportedGlobalGenerators.push_back("Unix Makefiles");
+}
+
+void cmExtraCodeLiteGenerator::Generate()
+{
+ // Hold root tree information for creating the workspace
+ std::string workspaceProjectName;
+ std::string workspaceOutputDir;
+ std::string workspaceFileName;
+ std::string workspaceSourcePath;
+ std::string lprjdebug;
+
+ cmGeneratedFileStream fout;
+
+ // loop projects and locate the root project.
+ // and extract the information for creating the worspace
+ for (std::map<cmStdString, std::vector<cmLocalGenerator*> >::const_iterator
+ it = this->GlobalGenerator->GetProjectMap().begin();
+ it!= this->GlobalGenerator->GetProjectMap().end();
+ ++it)
+ {
+ const cmMakefile* mf =it->second[0]->GetMakefile();
+ this->ConfigName = GetConfigurationName( mf );
+
+ if (strcmp(mf->GetStartOutputDirectory(),
+ mf->GetHomeOutputDirectory()) == 0)
+ {
+ workspaceOutputDir = mf->GetStartOutputDirectory();
+ workspaceProjectName = mf->GetProjectName();
+ workspaceSourcePath = mf->GetHomeDirectory();
+ workspaceFileName = workspaceOutputDir+"/";
+ workspaceFileName += workspaceProjectName + ".workspace";
+ this->WorkspacePath = mf->GetStartOutputDirectory();;
+
+ fout.Open(workspaceFileName.c_str(), false, false);
+ fout << "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"
+ "<CodeLite_Workspace Name=\"" << workspaceProjectName << "\" >\n";
+ }
+ }
+
+ // for each sub project in the workspace create a codelite project
+ for (std::map<cmStdString, std::vector<cmLocalGenerator*> >::const_iterator
+ it = this->GlobalGenerator->GetProjectMap().begin();
+ it!= this->GlobalGenerator->GetProjectMap().end();
+ ++it)
+ {
+ // retrive project information
+ const cmMakefile* mf = it->second[0]->GetMakefile();
+ std::string outputDir = mf->GetStartOutputDirectory();
+ std::string projectName = mf->GetProjectName();
+ std::string filename = outputDir + "/" + projectName + ".project";
+
+ // Make the project file relative to the workspace
+ filename = cmSystemTools::RelativePath(this->WorkspacePath.c_str(),
+ filename.c_str());
+
+ // create a project file
+ this->CreateProjectFile(it->second);
+ fout << " <Project Name=\"" << projectName << "\" Path=\""
+ << filename << "\" Active=\"No\"/>\n";
+ lprjdebug += "<Project Name=\"" + projectName
+ + "\" ConfigName=\"" + this->ConfigName + "\"/>\n";
+ }
+
+ fout << " <BuildMatrix>\n"
+ " <WorkspaceConfiguration Name=\""
+ << this->ConfigName << "\" Selected=\"yes\">\n"
+ " " << lprjdebug << ""
+ " </WorkspaceConfiguration>\n"
+ " </BuildMatrix>\n"
+ "</CodeLite_Workspace>\n";
+}
+
+/* create the project file */
+void cmExtraCodeLiteGenerator::CreateProjectFile(
+ const std::vector<cmLocalGenerator*>& lgs)
+{
+ const cmMakefile* mf = lgs[0]->GetMakefile();
+ std::string outputDir = mf->GetStartOutputDirectory();
+ std::string projectName = mf->GetProjectName();
+ std::string filename = outputDir + "/";
+
+ filename += projectName + ".project";
+ this->CreateNewProjectFile(lgs, filename);
+}
+
+void cmExtraCodeLiteGenerator
+::CreateNewProjectFile(const std::vector<cmLocalGenerator*>& lgs,
+ const std::string& filename)
+{
+ const cmMakefile* mf=lgs[0]->GetMakefile();
+ cmGeneratedFileStream fout(filename.c_str());
+ if(!fout)
+ {
+ return;
+ }
+
+ // figure out the compiler
+ //std::string compiler = this->GetCBCompilerId(mf);
+ std::string workspaceSourcePath = mf->GetHomeDirectory();
+ std::string workspaceOutputDir = mf->GetHomeOutputDirectory();
+ std::vector<std::string> outputFiles = mf->GetOutputFiles();
+ std::string projectName = mf->GetProjectName();
+ std::string incDirs;
+ std::vector<cmValueWithOrigin> incDirsVec =
+ mf->GetIncludeDirectoriesEntries();
+ std::vector<cmValueWithOrigin>::const_iterator iterInc = incDirsVec.begin();
+
+ //std::cout << "GetIncludeDirectories:" << std::endl;
+ for(; iterInc != incDirsVec.end(); ++iterInc )
+ {
+ //std::cout << (*ItStrVec) << std::endl;
+ incDirs += iterInc->Value + " ";
+ }
+
+ ////////////////////////////////////
+ fout << "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"
+ "<CodeLite_Project Name=\"" << mf->GetProjectName()
+ << "\" InternalType=\"\">\n";
+
+ // Collect all used source files in the project
+ // Sort them into two containers, one for C/C++ implementation files
+ // which may have an acompanying header, one for all other files
+ std::string projectType;
+
+ std::map<std::string, cmSourceFile*> cFiles;
+ std::set<std::string> otherFiles;
+ for (std::vector<cmLocalGenerator*>::const_iterator lg=lgs.begin();
+ lg!=lgs.end(); lg++)
+ {
+ cmMakefile* makefile=(*lg)->GetMakefile();
+ cmTargets& targets=makefile->GetTargets();
+ for (cmTargets::iterator ti = targets.begin();
+ ti != targets.end(); ti++)
+ {
+
+ switch(ti->second.GetType())
+ {
+ case cmTarget::EXECUTABLE:
+ {
+ projectType = "Executable";
+ }
+ break;
+ case cmTarget::STATIC_LIBRARY:
+ {
+ projectType = "Static Library";
+ }
+ break;
+ case cmTarget::SHARED_LIBRARY:
+ {
+ projectType = "Dynamic Library";
+ }
+ break;
+ case cmTarget::MODULE_LIBRARY:
+ {
+ projectType = "Dynamic Library";
+ }
+ break;
+ default: // intended fallthrough
+ break;
+ }
+
+ switch(ti->second.GetType())
+ {
+ case cmTarget::EXECUTABLE:
+ case cmTarget::STATIC_LIBRARY:
+ case cmTarget::SHARED_LIBRARY:
+ case cmTarget::MODULE_LIBRARY:
+ {
+ std::vector<cmSourceFile*> sources;
+ ti->second.GetSourceFiles(sources);
+ for (std::vector<cmSourceFile*>::const_iterator si=sources.begin();
+ si!=sources.end(); si++)
+ {
+ // check whether it is a C/C++ implementation file
+ bool isCFile = false;
+ if ((*si)->GetLanguage() && (*(*si)->GetLanguage() == 'C'))
+ {
+ for(std::vector<std::string>::const_iterator
+ ext = mf->GetSourceExtensions().begin();
+ ext != mf->GetSourceExtensions().end();
+ ++ext)
+ {
+ if ((*si)->GetExtension() == *ext)
+ {
+ isCFile = true;
+ break;
+ }
+ }
+ }
+
+ // then put it accordingly into one of the two containers
+ if (isCFile)
+ {
+ cFiles[(*si)->GetFullPath()] = *si ;
+ }
+ else
+ {
+ otherFiles.insert((*si)->GetFullPath());
+ }
+ }
+ }
+ default: // intended fallthrough
+ break;
+ }
+ }
+ }
+
+ // The following loop tries to add header files matching to implementation
+ // files to the project. It does that by iterating over all source files,
+ // replacing the file name extension with ".h" and checks whether such a
+ // file exists. If it does, it is inserted into the map of files.
+ // A very similar version of that code exists also in the kdevelop
+ // project generator.
+ for (std::map<std::string, cmSourceFile*>::const_iterator
+ sit=cFiles.begin();
+ sit!=cFiles.end();
+ ++sit)
+ {
+ std::string headerBasename=cmSystemTools::GetFilenamePath(sit->first);
+ headerBasename+="/";
+ headerBasename+=cmSystemTools::GetFilenameWithoutExtension(sit->first);
+
+ // check if there's a matching header around
+ for(std::vector<std::string>::const_iterator
+ ext = mf->GetHeaderExtensions().begin();
+ ext != mf->GetHeaderExtensions().end();
+ ++ext)
+ {
+ std::string hname=headerBasename;
+ hname += ".";
+ hname += *ext;
+ // if it's already in the set, don't check if it exists on disk
+ std::set<std::string>::const_iterator headerIt=otherFiles.find(hname);
+ if (headerIt != otherFiles.end())
+ {
+ break;
+ }
+
+ if(cmSystemTools::FileExists(hname.c_str()))
+ {
+ otherFiles.insert(hname);
+ break;
+ }
+ }
+ }
+
+ // Get the project path ( we need it later to convert files to
+ // their relative path)
+ std::string projectPath = cmSystemTools::GetFilenamePath(filename);
+
+ // Create 2 virtual folders: src and include
+ // and place all the implementation files into the src
+ // folder, the rest goes to the include folder
+ fout<< " <VirtualDirectory Name=\"src\">\n";
+
+ // insert all source files in the codelite project
+ // first the C/C++ implementation files, then all others
+ for (std::map<std::string, cmSourceFile*>::const_iterator
+ sit=cFiles.begin();
+ sit!=cFiles.end();
+ ++sit)
+ {
+ std::string relativePath =
+ cmSystemTools::RelativePath(projectPath.c_str(), sit->first.c_str());
+ fout<< " <File Name=\"" << relativePath.c_str() << "\"/>\n";
+ }
+ fout<< " </VirtualDirectory>\n";
+ fout<< " <VirtualDirectory Name=\"include\">\n";
+ for (std::set<std::string>::const_iterator
+ sit=otherFiles.begin();
+ sit!=otherFiles.end();
+ ++sit)
+ {
+ std::string relativePath =
+ cmSystemTools::RelativePath(projectPath.c_str(), sit->c_str());
+ fout << " <File Name=\"" << relativePath.c_str() << "\"/>\n";
+ }
+ fout << " </VirtualDirectory>\n";
+
+ // Get the number of CPUs. We use this information for the make -jN
+ // command
+ cmsys::SystemInformation info;
+ info.RunCPUCheck();
+
+ this->CpuCount = info.GetNumberOfLogicalCPU() *
+ info.GetNumberOfPhysicalCPU();
+
+ std::string cleanCommand = GetCleanCommand(mf);
+ std::string buildCommand = GetBuildCommand(mf);
+ std::string rebuildCommand = GetRebuildCommand(mf);
+ std::string singleFileCommand = GetSingleFileBuildCommand(mf);
+
+ std::string codeliteCompilerName = this->GetCodeLiteCompilerName(mf);
+
+ fout << "\n"
+ " <Settings Type=\"" << projectType << "\">\n"
+ " <Configuration Name=\"" << this->ConfigName << "\" CompilerType=\""
+ << codeliteCompilerName << "\" DebuggerType=\"GNU gdb debugger\" "
+ "Type=\""
+ << projectType << "\" BuildCmpWithGlobalSettings=\"append\" "
+ "BuildLnkWithGlobalSettings=\"append\" "
+ "BuildResWithGlobalSettings=\"append\">\n"
+ " <Compiler Options=\"-g\" "
+ "Required=\"yes\" PreCompiledHeader=\"\">\n"
+ " <IncludePath Value=\".\"/>\n"
+ " </Compiler>\n"
+ " <Linker Options=\"\" Required=\"yes\"/>\n"
+ " <ResourceCompiler Options=\"\" Required=\"no\"/>\n"
+ " <General OutputFile=\"$(IntermediateDirectory)/$(ProjectName)\" "
+ "IntermediateDirectory=\"./\" Command=\"./$(ProjectName)\" "
+ "CommandArguments=\"\" WorkingDirectory=\"$(IntermediateDirectory)\" "
+ "PauseExecWhenProcTerminates=\"yes\"/>\n"
+ " <Debugger IsRemote=\"no\" RemoteHostName=\"\" "
+ "RemoteHostPort=\"\" DebuggerPath=\"\">\n"
+ " <PostConnectCommands/>\n"
+ " <StartupCommands/>\n"
+ " </Debugger>\n"
+ " <PreBuild/>\n"
+ " <PostBuild/>\n"
+ " <CustomBuild Enabled=\"yes\">\n"
+ " <RebuildCommand>" << rebuildCommand << "</RebuildCommand>\n"
+ " <CleanCommand>" << cleanCommand << "</CleanCommand>\n"
+ " <BuildCommand>" << buildCommand << "</BuildCommand>\n"
+ " <SingleFileCommand>" << singleFileCommand
+ << "</SingleFileCommand>\n"
+ " <PreprocessFileCommand/>\n"
+ " <WorkingDirectory>$(WorkspacePath)</WorkingDirectory>\n"
+ " </CustomBuild>\n"
+ " <AdditionalRules>\n"
+ " <CustomPostBuild/>\n"
+ " <CustomPreBuild/>\n"
+ " </AdditionalRules>\n"
+ " </Configuration>\n"
+ " <GlobalSettings>\n"
+ " <Compiler Options=\"\">\n"
+ " <IncludePath Value=\".\"/>\n"
+ " </Compiler>\n"
+ " <Linker Options=\"\">\n"
+ " <LibraryPath Value=\".\"/>\n"
+ " </Linker>\n"
+ " <ResourceCompiler Options=\"\"/>\n"
+ " </GlobalSettings>\n"
+ " </Settings>\n"
+ "</CodeLite_Project>\n";
+}
+
+std::string
+cmExtraCodeLiteGenerator::GetCodeLiteCompilerName(const cmMakefile* mf) const
+{
+ // figure out which language to use
+ // for now care only for C and C++
+ std::string compilerIdVar = "CMAKE_CXX_COMPILER_ID";
+ if (this->GlobalGenerator->GetLanguageEnabled("CXX") == false)
+ {
+ compilerIdVar = "CMAKE_C_COMPILER_ID";
+ }
+
+ std::string compilerId = mf->GetSafeDefinition(compilerIdVar.c_str());
+ std::string compiler = "gnu g++"; // default to g++
+
+ // Since we need the compiler for parsing purposes only
+ // it does not matter if we use clang or clang++, same as
+ // "gnu gcc" vs "gnu g++"
+ if (compilerId == "MSVC")
+ {
+ compiler = "VC++";
+ }
+ else if (compilerId == "Clang")
+ {
+ compiler = "clang++";
+ }
+ else if (compilerId == "GNU")
+ {
+ compiler = "gnu g++";
+ }
+ return compiler;
+}
+
+std::string
+cmExtraCodeLiteGenerator::GetConfigurationName(const cmMakefile* mf) const
+{
+ std::string confName = mf->GetSafeDefinition("CMAKE_BUILD_TYPE");
+ // Trim the configuration name from whitespaces (left and right)
+ confName.erase(0, confName.find_first_not_of(" \t\r\v\n"));
+ confName.erase(confName.find_last_not_of(" \t\r\v\n")+1);
+ if ( confName.empty() )
+ {
+ confName = "NoConfig";
+ }
+ return confName;
+}
+
+std::string
+cmExtraCodeLiteGenerator::GetBuildCommand(const cmMakefile* mf) const
+{
+ std::stringstream ss;
+ std::string generator = mf->GetSafeDefinition("CMAKE_GENERATOR");
+ std::string make = mf->GetRequiredDefinition("CMAKE_MAKE_PROGRAM");
+ std::string buildCommand = make; // Default
+ if ( generator == "NMake Makefiles" )
+ {
+ buildCommand = make;
+ }
+ else if ( generator == "MinGW Makefiles" ||
+ generator == "Unix Makefiles" )
+ {
+ ss << make << " -j " << this->CpuCount;
+ buildCommand = ss.str();
+ }
+ else if ( generator == "Ninja" )
+ {
+ ss << make;
+ buildCommand = ss.str();
+ }
+ return buildCommand;
+}
+
+std::string
+cmExtraCodeLiteGenerator::GetCleanCommand(const cmMakefile* mf) const
+{
+ return GetBuildCommand(mf) + " clean";
+}
+
+std::string
+cmExtraCodeLiteGenerator::GetRebuildCommand(const cmMakefile* mf) const
+{
+ return GetCleanCommand(mf) + cmXMLSafe(" && ").str() + GetBuildCommand(mf);
+}
+
+std::string
+cmExtraCodeLiteGenerator::GetSingleFileBuildCommand
+(const cmMakefile* mf) const
+{
+ std::string buildCommand;
+ std::string make = mf->GetRequiredDefinition("CMAKE_MAKE_PROGRAM");
+ std::string generator = mf->GetSafeDefinition("CMAKE_GENERATOR");
+ if ( generator == "Unix Makefiles" || generator == "MinGW Makefiles" )
+ {
+ std::stringstream ss;
+ ss << make << " -f$(ProjectPath)/Makefile $(CurrentFileName).cpp.o";
+ buildCommand = ss.str();
+ }
+ return buildCommand;
+}
diff --git a/Source/cmExtraCodeLiteGenerator.h b/Source/cmExtraCodeLiteGenerator.h
new file mode 100644
index 0000000..984313e
--- /dev/null
+++ b/Source/cmExtraCodeLiteGenerator.h
@@ -0,0 +1,54 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2004-2009 Kitware, Inc.
+ Copyright 2004 Alexander Neundorf (neundorf@kde.org)
+ Copyright 2013 Eran Ifrah (eran.ifrah@gmail.com)
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#ifndef cmGlobalCodeLiteGenerator_h
+#define cmGlobalCodeLiteGenerator_h
+
+#include "cmExternalMakefileProjectGenerator.h"
+
+class cmLocalGenerator;
+
+class cmExtraCodeLiteGenerator : public cmExternalMakefileProjectGenerator
+{
+protected:
+ std::string ConfigName;
+ std::string WorkspacePath;
+ unsigned int CpuCount;
+
+protected:
+ std::string GetCodeLiteCompilerName(const cmMakefile* mf) const;
+ std::string GetConfigurationName( const cmMakefile* mf ) const;
+ std::string GetBuildCommand(const cmMakefile* mf) const;
+ std::string GetCleanCommand(const cmMakefile* mf) const;
+ std::string GetRebuildCommand(const cmMakefile* mf) const;
+ std::string GetSingleFileBuildCommand(const cmMakefile* mf) const;
+public:
+ cmExtraCodeLiteGenerator();
+
+ virtual const char* GetName() const
+ { return cmExtraCodeLiteGenerator::GetActualName();}
+ static const char* GetActualName() { return "CodeLite";}
+ static cmExternalMakefileProjectGenerator* New()
+ { return new cmExtraCodeLiteGenerator; }
+ /** Get the documentation entry for this generator. */
+ virtual void GetDocumentation(cmDocumentationEntry& entry,
+ const char* fullName) const;
+
+ virtual void Generate();
+ void CreateProjectFile(const std::vector<cmLocalGenerator*>& lgs);
+
+ void CreateNewProjectFile(const std::vector<cmLocalGenerator*>& lgs,
+ const std::string& filename);
+};
+
+#endif
diff --git a/Source/cmExtraEclipseCDT4Generator.cxx b/Source/cmExtraEclipseCDT4Generator.cxx
index d80e775..74ba9a6 100644
--- a/Source/cmExtraEclipseCDT4Generator.cxx
+++ b/Source/cmExtraEclipseCDT4Generator.cxx
@@ -40,6 +40,7 @@ cmExtraEclipseCDT4Generator
this->SupportsVirtualFolders = true;
this->GenerateLinkedResources = true;
this->SupportsGmakeErrorParser = true;
+ this->SupportsMachO64Parser = true;
}
//----------------------------------------------------------------------------
@@ -48,13 +49,29 @@ void cmExtraEclipseCDT4Generator
{
entry.Name = this->GetName();
entry.Brief = "Generates Eclipse CDT 4.0 project files.";
- entry.Full =
- "Project files for Eclipse will be created in the top directory. "
- "In out of source builds, a linked resource to the top level source "
- "directory will be created. "
- "Additionally a hierarchy of makefiles is generated into the "
- "build tree. The appropriate make program can build the project through "
- "the default make target. A \"make install\" target is also provided.";
+}
+
+//----------------------------------------------------------------------------
+void cmExtraEclipseCDT4Generator
+::EnableLanguage(std::vector<std::string> const& languages,
+ cmMakefile *, bool)
+{
+ for (std::vector<std::string>::const_iterator lit = languages.begin();
+ lit != languages.end(); ++lit)
+ {
+ if (*lit == "CXX")
+ {
+ this->Natures.insert("org.eclipse.cdt.core.ccnature");
+ }
+ else if (*lit == "C")
+ {
+ this->Natures.insert("org.eclipse.cdt.core.cnature");
+ }
+ else if (*lit == "Java")
+ {
+ this->Natures.insert("org.eclipse.jdt.core.javanature");
+ }
+ }
}
//----------------------------------------------------------------------------
@@ -77,6 +94,7 @@ void cmExtraEclipseCDT4Generator::Generate()
if (version < 3006) // 3.6 is Helios
{
this->SupportsVirtualFolders = false;
+ this->SupportsMachO64Parser = false;
}
if (version < 3007) // 3.7 is Indigo
{
@@ -440,13 +458,28 @@ void cmExtraEclipseCDT4Generator::CreateProjectFile()
// set natures for c/c++ projects
fout <<
"\t<natures>\n"
- // TODO: ccnature only if it is c++ ???
- "\t\t<nature>org.eclipse.cdt.core.ccnature</nature>\n"
"\t\t<nature>org.eclipse.cdt.make.core.makeNature</nature>\n"
- "\t\t<nature>org.eclipse.cdt.make.core.ScannerConfigNature</nature>\n"
- "\t\t<nature>org.eclipse.cdt.core.cnature</nature>\n"
- "\t</natures>\n"
- ;
+ "\t\t<nature>org.eclipse.cdt.make.core.ScannerConfigNature</nature>\n";
+
+ for (std::set<std::string>::const_iterator nit=this->Natures.begin();
+ nit != this->Natures.end(); ++nit)
+ {
+ fout << "\t\t<nature>" << *nit << "</nature>\n";
+ }
+
+ if (const char *extraNaturesProp = mf->GetCMakeInstance()->
+ GetProperty("ECLIPSE_EXTRA_NATURES", cmProperty::GLOBAL))
+ {
+ std::vector<std::string> extraNatures;
+ cmSystemTools::ExpandListArgument(extraNaturesProp, extraNatures);
+ for (std::vector<std::string>::const_iterator nit = extraNatures.begin();
+ nit != extraNatures.end(); ++nit)
+ {
+ fout << "\t\t<nature>" << *nit << "</nature>\n";
+ }
+ }
+
+ fout << "\t</natures>\n";
fout << "\t<linkedResources>\n";
// create linked resources
@@ -526,16 +559,17 @@ void cmExtraEclipseCDT4Generator::CreateLinksForTargets(
std::vector<cmSourceGroup> sourceGroups=makefile->GetSourceGroups();
// get the files from the source lists then add them to the groups
cmTarget* tgt = const_cast<cmTarget*>(&ti->second);
- std::vector<cmSourceFile*>const & files = tgt->GetSourceFiles();
+ std::vector<cmSourceFile*> files;
+ tgt->GetSourceFiles(files);
for(std::vector<cmSourceFile*>::const_iterator sfIt = files.begin();
sfIt != files.end();
sfIt++)
{
// Add the file to the list of sources.
std::string source = (*sfIt)->GetFullPath();
- cmSourceGroup& sourceGroup =
+ cmSourceGroup* sourceGroup =
makefile->FindSourceGroup(source.c_str(), sourceGroups);
- sourceGroup.AssignSource(*sfIt);
+ sourceGroup->AssignSource(*sfIt);
}
for(std::vector<cmSourceGroup>::iterator sgIt = sourceGroups.begin();
@@ -723,7 +757,9 @@ void cmExtraEclipseCDT4Generator::CreateCProjectFile() const
}
else if (systemName == "Darwin")
{
- fout << "<extension id=\"org.eclipse.cdt.core.MachO\""
+ fout << "<extension id=\"" <<
+ (this->SupportsMachO64Parser ? "org.eclipse.cdt.core.MachO64"
+ : "org.eclipse.cdt.core.MachO") << "\""
" point=\"org.eclipse.cdt.core.BinaryParser\">\n"
"<attribute key=\"c++filt\" value=\"c++filt\"/>\n"
"</extension>\n"
@@ -805,11 +841,16 @@ void cmExtraEclipseCDT4Generator::CreateCProjectFile() const
{
// Expand the list.
std::vector<std::string> defs;
- cmSystemTools::ExpandListArgument(cdefs, defs);
+ cmGeneratorExpression::Split(cdefs, defs);
for(std::vector<std::string>::const_iterator di = defs.begin();
di != defs.end(); ++di)
{
+ if (cmGeneratorExpression::Find(*di) != std::string::npos)
+ {
+ continue;
+ }
+
std::string::size_type equals = di->find('=', 0);
std::string::size_type enddef = di->length();
@@ -1002,30 +1043,10 @@ void cmExtraEclipseCDT4Generator::CreateCProjectFile() const
{
case cmTarget::GLOBAL_TARGET:
{
- bool insertTarget = false;
// Only add the global targets from CMAKE_BINARY_DIR,
// not from the subdirs
if (subdir.empty())
{
- insertTarget = true;
- // only add the "edit_cache" target if it's not ccmake, because
- // this will not work within the IDE
- if (ti->first == "edit_cache")
- {
- const char* editCommand = makefile->GetDefinition
- ("CMAKE_EDIT_COMMAND");
- if (editCommand == 0)
- {
- insertTarget = false;
- }
- else if (strstr(editCommand, "ccmake")!=NULL)
- {
- insertTarget = false;
- }
- }
- }
- if (insertTarget)
- {
this->AppendTarget(fout, ti->first, make, makeArgs, subdir, ": ");
}
}
@@ -1139,7 +1160,7 @@ cmExtraEclipseCDT4Generator::GetEclipsePath(const std::string& path)
#if defined(__CYGWIN__)
std::string cmd = "cygpath -m " + path;
std::string out;
- if (!cmSystemTools::RunCommand(cmd.c_str(), out, 0, false))
+ if (!cmSystemTools::RunSingleCommand(cmd.c_str(), &out))
{
return path;
}
diff --git a/Source/cmExtraEclipseCDT4Generator.h b/Source/cmExtraEclipseCDT4Generator.h
index b31cce7..d88b247 100644
--- a/Source/cmExtraEclipseCDT4Generator.h
+++ b/Source/cmExtraEclipseCDT4Generator.h
@@ -41,6 +41,8 @@ public:
virtual void GetDocumentation(cmDocumentationEntry& entry,
const char* fullName) const;
+ virtual void EnableLanguage(std::vector<std::string> const& languages,
+ cmMakefile *, bool optional);
virtual void Generate();
@@ -105,6 +107,7 @@ private:
void CreateLinksForTargets(cmGeneratedFileStream& fout);
std::vector<std::string> SrcLinkedResources;
+ std::set<std::string> Natures;
std::string HomeDirectory;
std::string HomeOutputDirectory;
bool IsOutOfSourceBuild;
@@ -112,6 +115,7 @@ private:
bool GenerateLinkedResources;
bool SupportsVirtualFolders;
bool SupportsGmakeErrorParser;
+ bool SupportsMachO64Parser;
};
diff --git a/Source/cmExtraKateGenerator.cxx b/Source/cmExtraKateGenerator.cxx
new file mode 100644
index 0000000..a0d37d4
--- /dev/null
+++ b/Source/cmExtraKateGenerator.cxx
@@ -0,0 +1,350 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2004-2009 Kitware, Inc.
+ Copyright 2004 Alexander Neundorf (neundorf@kde.org)
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#include "cmExtraKateGenerator.h"
+#include "cmGlobalUnixMakefileGenerator3.h"
+#include "cmLocalUnixMakefileGenerator3.h"
+#include "cmMakefile.h"
+#include "cmake.h"
+#include "cmSourceFile.h"
+#include "cmGeneratedFileStream.h"
+#include "cmTarget.h"
+#include "cmSystemTools.h"
+#include "cmXMLSafe.h"
+
+#include <cmsys/SystemTools.hxx>
+
+//----------------------------------------------------------------------------
+void cmExtraKateGenerator
+::GetDocumentation(cmDocumentationEntry& entry, const char*) const
+{
+ entry.Name = this->GetName();
+ entry.Brief = "Generates Kate project files.";
+}
+
+cmExtraKateGenerator::cmExtraKateGenerator()
+:cmExternalMakefileProjectGenerator()
+{
+#if defined(_WIN32)
+ this->SupportedGlobalGenerators.push_back("MinGW Makefiles");
+ this->SupportedGlobalGenerators.push_back("NMake Makefiles");
+// disable until somebody actually tests it:
+// this->SupportedGlobalGenerators.push_back("MSYS Makefiles");
+#endif
+ this->SupportedGlobalGenerators.push_back("Ninja");
+ this->SupportedGlobalGenerators.push_back("Unix Makefiles");
+}
+
+
+void cmExtraKateGenerator::Generate()
+{
+ const cmMakefile* mf
+ = this->GlobalGenerator->GetLocalGenerators()[0]->GetMakefile();
+ this->ProjectName = this->GenerateProjectName(mf->GetProjectName(),
+ mf->GetSafeDefinition("CMAKE_BUILD_TYPE"),
+ this->GetPathBasename(mf->GetHomeOutputDirectory()));
+ this->UseNinja = (strcmp(this->GlobalGenerator->GetName(), "Ninja")==0);
+
+ this->CreateKateProjectFile(mf);
+ this->CreateDummyKateProjectFile(mf);
+}
+
+
+void cmExtraKateGenerator::CreateKateProjectFile(const cmMakefile* mf) const
+{
+ std::string filename = mf->GetHomeOutputDirectory();
+ filename += "/.kateproject";
+ cmGeneratedFileStream fout(filename.c_str());
+ if (!fout)
+ {
+ return;
+ }
+
+ std::string make = mf->GetRequiredDefinition("CMAKE_MAKE_PROGRAM");
+ std::string args = mf->GetSafeDefinition("CMAKE_KATE_MAKE_ARGUMENTS");
+
+ fout <<
+ "{\n"
+ "\t\"name\": \"" << this->ProjectName << "\",\n"
+ "\t\"directory\": \"" << mf->GetHomeDirectory() << "\",\n"
+ "\t\"files\": [ { " << this->GenerateFilesString(mf) << "} ],\n";
+ this->WriteTargets(mf, fout);
+ fout << "}\n";
+}
+
+
+void
+cmExtraKateGenerator::WriteTargets(const cmMakefile* mf,
+ cmGeneratedFileStream& fout) const
+{
+ const std::string make = mf->GetRequiredDefinition("CMAKE_MAKE_PROGRAM");
+ const std::string makeArgs = mf->GetSafeDefinition(
+ "CMAKE_KATE_MAKE_ARGUMENTS");
+ const char* homeOutputDir = mf->GetHomeOutputDirectory();
+
+ fout <<
+ "\t\"build\": {\n"
+ "\t\t\"directory\": \"" << mf->GetHomeOutputDirectory() << "\",\n"
+ "\t\t\"default_target\": \"all\",\n"
+ "\t\t\"clean_target\": \"clean\",\n";
+
+ // build, clean and quick are for the build plugin kate <= 4.12:
+ fout << "\t\t\"build\": \"" << make << " -C \\\"" << homeOutputDir
+ << "\\\" " << makeArgs << " " << "all\",\n";
+ fout << "\t\t\"clean\": \"" << make << " -C \\\"" << homeOutputDir
+ << "\\\" " << makeArgs << " " << "clean\",\n";
+ fout << "\t\t\"quick\": \"" << make << " -C \\\"" << homeOutputDir
+ << "\\\" " << makeArgs << " " << "install\",\n";
+
+ // this is for kate >= 4.13:
+ fout <<
+ "\t\t\"targets\":[\n";
+
+ this->AppendTarget(fout, "all", make, makeArgs,
+ homeOutputDir, homeOutputDir);
+ this->AppendTarget(fout, "clean", make, makeArgs,
+ homeOutputDir, homeOutputDir);
+
+ // add all executable and library targets and some of the GLOBAL
+ // and UTILITY targets
+ for (std::vector<cmLocalGenerator*>::const_iterator
+ it = this->GlobalGenerator->GetLocalGenerators().begin();
+ it != this->GlobalGenerator->GetLocalGenerators().end();
+ ++it)
+ {
+ const cmTargets& targets = (*it)->GetMakefile()->GetTargets();
+ cmMakefile* makefile=(*it)->GetMakefile();
+ std::string currentDir = makefile->GetCurrentOutputDirectory();
+ bool topLevel = (currentDir == makefile->GetHomeOutputDirectory());
+
+ for(cmTargets::const_iterator ti=targets.begin(); ti!=targets.end(); ++ti)
+ {
+ switch(ti->second.GetType())
+ {
+ case cmTarget::GLOBAL_TARGET:
+ {
+ bool insertTarget = false;
+ // Only add the global targets from CMAKE_BINARY_DIR,
+ // not from the subdirs
+ if (topLevel)
+ {
+ insertTarget = true;
+ // only add the "edit_cache" target if it's not ccmake, because
+ // this will not work within the IDE
+ if (ti->first == "edit_cache")
+ {
+ const char* editCommand = makefile->GetDefinition
+ ("CMAKE_EDIT_COMMAND");
+ if (editCommand == 0)
+ {
+ insertTarget = false;
+ }
+ else if (strstr(editCommand, "ccmake")!=NULL)
+ {
+ insertTarget = false;
+ }
+ }
+ }
+ if (insertTarget)
+ {
+ this->AppendTarget(fout, ti->first, make, makeArgs,
+ currentDir, homeOutputDir);
+ }
+ }
+ break;
+ case cmTarget::UTILITY:
+ // Add all utility targets, except the Nightly/Continuous/
+ // Experimental-"sub"targets as e.g. NightlyStart
+ if (((ti->first.find("Nightly")==0) &&(ti->first!="Nightly"))
+ || ((ti->first.find("Continuous")==0)&&(ti->first!="Continuous"))
+ || ((ti->first.find("Experimental")==0)
+ && (ti->first!="Experimental")))
+ {
+ break;
+ }
+
+ this->AppendTarget(fout, ti->first, make, makeArgs,
+ currentDir, homeOutputDir);
+ break;
+ case cmTarget::EXECUTABLE:
+ case cmTarget::STATIC_LIBRARY:
+ case cmTarget::SHARED_LIBRARY:
+ case cmTarget::MODULE_LIBRARY:
+ case cmTarget::OBJECT_LIBRARY:
+ {
+ this->AppendTarget(fout, ti->first, make, makeArgs,
+ currentDir, homeOutputDir);
+ std::string fastTarget = ti->first;
+ fastTarget += "/fast";
+ this->AppendTarget(fout, fastTarget, make, makeArgs,
+ currentDir, homeOutputDir);
+
+ }
+ break;
+ default:
+ break;
+ }
+ }
+
+ //insert rules for compiling, preprocessing and assembling individual files
+ std::vector<std::string> objectFileTargets;
+ (*it)->GetIndividualFileTargets(objectFileTargets);
+ for(std::vector<std::string>::const_iterator fit=objectFileTargets.begin();
+ fit != objectFileTargets.end();
+ ++fit)
+ {
+ this->AppendTarget(fout, *fit, make, makeArgs, currentDir,homeOutputDir);
+ }
+ }
+
+ fout <<
+ "\t] }\n";
+}
+
+
+void
+cmExtraKateGenerator::AppendTarget(cmGeneratedFileStream& fout,
+ const std::string& target,
+ const std::string& make,
+ const std::string& makeArgs,
+ const std::string& path,
+ const char* homeOutputDir
+ ) const
+{
+ static char JsonSep = ' ';
+
+ fout <<
+ "\t\t\t" << JsonSep << "{\"name\":\"" << target << "\", "
+ "\"build_cmd\":\"" << make
+ << " -C \\\"" << (this->UseNinja ? homeOutputDir : path.c_str())
+ << "\\\" " << makeArgs << " "
+ << target << "\"}\n";
+
+ JsonSep = ',';
+}
+
+
+
+void
+cmExtraKateGenerator::CreateDummyKateProjectFile(const cmMakefile* mf) const
+{
+ std::string filename = mf->GetHomeOutputDirectory();
+ filename += "/";
+ filename += this->ProjectName;
+ filename += ".kateproject";
+ cmGeneratedFileStream fout(filename.c_str());
+ if (!fout)
+ {
+ return;
+ }
+
+ fout << "#Generated by " << mf->GetRequiredDefinition("CMAKE_COMMAND")
+ << ", do not edit.\n";
+}
+
+
+std::string
+cmExtraKateGenerator::GenerateFilesString(const cmMakefile* mf) const
+{
+ std::string s = mf->GetHomeDirectory();
+ s += "/.git";
+ if(cmSystemTools::FileExists(s.c_str()))
+ {
+ return std::string("\"git\": 1 ");
+ }
+
+ s = mf->GetHomeDirectory();
+ s += "/.svn";
+ if(cmSystemTools::FileExists(s.c_str()))
+ {
+ return std::string("\"svn\": 1 ");
+ }
+
+ s = mf->GetHomeDirectory();
+ s += "/";
+
+ std::set<std::string> files;
+ std::string tmp;
+ const std::vector<cmLocalGenerator *>& lgs =
+ this->GlobalGenerator->GetLocalGenerators();
+
+ for (std::vector<cmLocalGenerator*>::const_iterator it=lgs.begin();
+ it!=lgs.end(); it++)
+ {
+ cmMakefile* makefile=(*it)->GetMakefile();
+ const std::vector<std::string>& listFiles=makefile->GetListFiles();
+ for (std::vector<std::string>::const_iterator lt=listFiles.begin();
+ lt!=listFiles.end(); lt++)
+ {
+ tmp=*lt;
+ {
+ files.insert(tmp);
+ }
+ }
+
+ const std::vector<cmSourceFile*>& sources = makefile->GetSourceFiles();
+ for (std::vector<cmSourceFile*>::const_iterator sfIt = sources.begin();
+ sfIt != sources.end(); sfIt++)
+ {
+ cmSourceFile* sf = *sfIt;
+ if (sf->GetPropertyAsBool("GENERATED"))
+ {
+ continue;
+ }
+
+ tmp = sf->GetFullPath();
+ files.insert(tmp);
+ }
+ }
+
+ const char* sep = "";
+ tmp = "\"list\": [";
+ for(std::set<std::string>::const_iterator it = files.begin();
+ it != files.end(); ++it)
+ {
+ tmp += sep;
+ tmp += " \"";
+ tmp += *it;
+ tmp += "\"";
+ sep = ",";
+ }
+ tmp += "] ";
+
+ return tmp;
+}
+
+
+std::string cmExtraKateGenerator::GenerateProjectName(const std::string& name,
+ const std::string& type,
+ const std::string& path) const
+{
+ return name + (type.empty() ? "" : "-") + type + "@" + path;
+}
+
+
+std::string cmExtraKateGenerator::GetPathBasename(const std::string& path)const
+{
+ std::string outputBasename = path;
+ while (outputBasename.size() > 0 &&
+ (outputBasename[outputBasename.size() - 1] == '/' ||
+ outputBasename[outputBasename.size() - 1] == '\\'))
+ {
+ outputBasename.resize(outputBasename.size() - 1);
+ }
+ std::string::size_type loc = outputBasename.find_last_of("/\\");
+ if (loc != std::string::npos)
+ {
+ outputBasename = outputBasename.substr(loc + 1);
+ }
+
+ return outputBasename;
+}
diff --git a/Source/cmExtraKateGenerator.h b/Source/cmExtraKateGenerator.h
new file mode 100644
index 0000000..6ced5fe
--- /dev/null
+++ b/Source/cmExtraKateGenerator.h
@@ -0,0 +1,62 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2004-2009 Kitware, Inc.
+ Copyright 2013 Alexander Neundorf (neundorf@kde.org)
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#ifndef cmExtraKateGenerator_h
+#define cmExtraKateGenerator_h
+
+#include "cmExternalMakefileProjectGenerator.h"
+
+class cmLocalGenerator;
+class cmMakefile;
+class cmTarget;
+class cmGeneratedFileStream;
+
+/** \class cmExtraKateGenerator
+ * \brief Write Kate project files for Makefile or ninja based projects
+ */
+class cmExtraKateGenerator : public cmExternalMakefileProjectGenerator
+{
+public:
+ cmExtraKateGenerator();
+
+ virtual const char* GetName() const
+ { return cmExtraKateGenerator::GetActualName();}
+ static const char* GetActualName() { return "Kate";}
+ static cmExternalMakefileProjectGenerator* New()
+ { return new cmExtraKateGenerator; }
+ /** Get the documentation entry for this generator. */
+ virtual void GetDocumentation(cmDocumentationEntry& entry,
+ const char* fullName) const;
+
+ virtual void Generate();
+private:
+ void CreateKateProjectFile(const cmMakefile* mf) const;
+ void CreateDummyKateProjectFile(const cmMakefile* mf) const;
+ void WriteTargets(const cmMakefile* mf, cmGeneratedFileStream& fout) const;
+ void AppendTarget(cmGeneratedFileStream& fout,
+ const std::string& target,
+ const std::string& make,
+ const std::string& makeArgs,
+ const std::string& path,
+ const char* homeOutputDir) const;
+
+ std::string GenerateFilesString(const cmMakefile* mf) const;
+ std::string GetPathBasename(const std::string& path) const;
+ std::string GenerateProjectName(const std::string& name,
+ const std::string& type,
+ const std::string& path) const;
+
+ std::string ProjectName;
+ bool UseNinja;
+};
+
+#endif
diff --git a/Source/cmExtraSublimeTextGenerator.cxx b/Source/cmExtraSublimeTextGenerator.cxx
index 523fca9..604bfcc 100644
--- a/Source/cmExtraSublimeTextGenerator.cxx
+++ b/Source/cmExtraSublimeTextGenerator.cxx
@@ -45,13 +45,6 @@ void cmExtraSublimeTextGenerator
{
entry.Name = this->GetName();
entry.Brief = "Generates Sublime Text 2 project files.";
- entry.Full =
- "Project files for Sublime Text 2 will be created in the top directory "
- "and in every subdirectory which features a CMakeLists.txt file "
- "containing a PROJECT() call. "
- "Additionally Makefiles (or build.ninja files) are generated into the "
- "build tree. The appropriate make program can build the project through "
- "the default make target. A \"make install\" target is also provided.";
}
cmExtraSublimeTextGenerator::cmExtraSublimeTextGenerator()
@@ -179,31 +172,11 @@ void cmExtraSublimeTextGenerator::
{
case cmTarget::GLOBAL_TARGET:
{
- bool insertTarget = false;
// Only add the global targets from CMAKE_BINARY_DIR,
// not from the subdirs
if (strcmp(makefile->GetStartOutputDirectory(),
makefile->GetHomeOutputDirectory())==0)
{
- insertTarget = true;
- // only add the "edit_cache" target if it's not ccmake, because
- // this will not work within the IDE
- if (ti->first == "edit_cache")
- {
- const char* editCommand = makefile->GetDefinition
- ("CMAKE_EDIT_COMMAND");
- if (editCommand == 0)
- {
- insertTarget = false;
- }
- else if (strstr(editCommand, "ccmake")!=NULL)
- {
- insertTarget = false;
- }
- }
- }
- if (insertTarget)
- {
this->AppendTarget(fout, ti->first.c_str(), *lg, 0,
make.c_str(), makefile, compiler.c_str(),
sourceFileFlags, false);
@@ -264,7 +237,8 @@ void cmExtraSublimeTextGenerator::
{
cmGeneratorTarget *gtgt = this->GlobalGenerator
->GetGeneratorTarget(target);
- std::vector<cmSourceFile*> const& sourceFiles = target->GetSourceFiles();
+ std::vector<cmSourceFile*> sourceFiles;
+ target->GetSourceFiles(sourceFiles);
std::vector<cmSourceFile*>::const_iterator sourceFilesEnd =
sourceFiles.end();
for (std::vector<cmSourceFile*>::const_iterator iter =
@@ -429,7 +403,7 @@ cmExtraSublimeTextGenerator::ComputeFlagsForObject(cmSourceFile* source,
lg->AppendFlags(flags, makefile->GetDefineFlags());
// Add target-specific flags.
- lg->AddCompileOptions(flags, target, config, language);
+ lg->AddCompileOptions(flags, target, language, config);
// Add source file specific flags.
lg->AppendFlags(flags, source->GetProperty("COMPILE_FLAGS"));
diff --git a/Source/cmFLTKWrapUICommand.cxx b/Source/cmFLTKWrapUICommand.cxx
index b08c335..4dd81be 100644
--- a/Source/cmFLTKWrapUICommand.cxx
+++ b/Source/cmFLTKWrapUICommand.cxx
@@ -120,7 +120,7 @@ void cmFLTKWrapUICommand::FinalPass()
// people should add the srcs to the target themselves, but the old command
// didn't support that, so check and see if they added the files in and if
// they didn;t then print a warning and add then anyhow
- cmTarget* target = this->Makefile->FindTarget(this->Target.c_str());
+ cmTarget* target = this->Makefile->FindTarget(this->Target);
if(!target)
{
std::string msg =
@@ -132,8 +132,8 @@ void cmFLTKWrapUICommand::FinalPass()
cmSystemTools::Message(msg.c_str(),"Warning");
return;
}
- std::vector<cmSourceFile*> const& srcs =
- target->GetSourceFiles();
+ std::vector<cmSourceFile*> srcs;
+ target->GetSourceFiles(srcs);
bool found = false;
for (unsigned int i = 0; i < srcs.size(); ++i)
{
diff --git a/Source/cmFLTKWrapUICommand.h b/Source/cmFLTKWrapUICommand.h
index 530de2c..b94390c 100644
--- a/Source/cmFLTKWrapUICommand.h
+++ b/Source/cmFLTKWrapUICommand.h
@@ -54,28 +54,6 @@ public:
*/
virtual const char* GetName() const { return "fltk_wrap_ui";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Create FLTK user interfaces Wrappers.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " fltk_wrap_ui(resultingLibraryName source1\n"
- " source2 ... sourceN )\n"
- "Produce .h and .cxx files for all the .fl and .fld files listed. "
- "The resulting .h and .cxx files will be added to a variable named "
- "resultingLibraryName_FLTK_UI_SRCS which should be added to your "
- "library.";
- }
-
private:
/**
* List of produced files.
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index 4446f72..e79bc6c 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -32,6 +32,7 @@
#include <cmsys/Directory.hxx>
#include <cmsys/Glob.hxx>
#include <cmsys/RegularExpression.hxx>
+#include <cmsys/FStream.hxx>
// Table of permissions flags.
#if defined(_WIN32) && !defined(__CYGWIN__)
@@ -228,7 +229,7 @@ bool cmFileCommand::HandleWriteCommand(std::vector<std::string> const& args,
}
// If GetPermissions fails, pretend like it is ok. File open will fail if
// the file is not writable
- std::ofstream file(fileName.c_str(), append?std::ios::app: std::ios::out);
+ cmsys::ofstream file(fileName.c_str(), append?std::ios::app: std::ios::out);
if ( !file )
{
std::string error = "Internal CMake error when trying to open file: ";
@@ -283,10 +284,10 @@ bool cmFileCommand::HandleReadCommand(std::vector<std::string> const& args)
// Open the specified file.
#if defined(_WIN32) || defined(__CYGWIN__)
- std::ifstream file(fileName.c_str(), std::ios::in |
+ cmsys::ifstream file(fileName.c_str(), std::ios::in |
(hexOutputArg.IsEnabled() ? std::ios::binary : std::ios::in));
#else
- std::ifstream file(fileName.c_str(), std::ios::in);
+ cmsys::ifstream file(fileName.c_str(), std::ios::in);
#endif
if ( !file )
@@ -577,9 +578,9 @@ bool cmFileCommand::HandleStringsCommand(std::vector<std::string> const& args)
// Open the specified file.
#if defined(_WIN32) || defined(__CYGWIN__)
- std::ifstream fin(fileName.c_str(), std::ios::in | std::ios::binary);
+ cmsys::ifstream fin(fileName.c_str(), std::ios::in | std::ios::binary);
#else
- std::ifstream fin(fileName.c_str(), std::ios::in);
+ cmsys::ifstream fin(fileName.c_str(), std::ios::in);
#endif
if(!fin)
{
@@ -2490,7 +2491,7 @@ namespace {
void *data)
{
int realsize = (int)(size * nmemb);
- std::ofstream* fout = static_cast<std::ofstream*>(data);
+ cmsys::ofstream* fout = static_cast<cmsys::ofstream*>(data);
const char* chPtr = static_cast<char*>(ptr);
fout->write(chPtr, realsize);
return realsize;
@@ -2838,7 +2839,7 @@ cmFileCommand::HandleDownloadCommand(std::vector<std::string> const& args)
return false;
}
- std::ofstream fout(file.c_str(), std::ios::binary);
+ cmsys::ofstream fout(file.c_str(), std::ios::binary);
if(!fout)
{
this->SetError("DOWNLOAD cannot open file for write.");
@@ -2982,6 +2983,8 @@ cmFileCommand::HandleDownloadCommand(std::vector<std::string> const& args)
<< " for file: [" << file << "]" << std::endl
<< " expected hash: [" << expectedHash << "]" << std::endl
<< " actual hash: [" << actualHash << "]" << std::endl
+ << " status: [" << (int)res << ";\""
+ << ::curl_easy_strerror(res) << "\"]" << std::endl
;
this->SetError(oss.str().c_str());
return false;
@@ -3094,7 +3097,7 @@ cmFileCommand::HandleUploadCommand(std::vector<std::string> const& args)
// Open file for reading:
//
- FILE *fin = fopen(filename.c_str(), "rb");
+ FILE *fin = cmsys::SystemTools::Fopen(filename.c_str(), "rb");
if(!fin)
{
std::string errStr = "UPLOAD cannot open file '";
diff --git a/Source/cmFileCommand.h b/Source/cmFileCommand.h
index aa755d1..ba45815 100644
--- a/Source/cmFileCommand.h
+++ b/Source/cmFileCommand.h
@@ -48,213 +48,6 @@ public:
*/
virtual const char* GetName() const { return "file";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "File manipulation command.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " file(WRITE filename \"message to write\"... )\n"
- " file(APPEND filename \"message to write\"... )\n"
- " file(READ filename variable [LIMIT numBytes] [OFFSET offset] [HEX])\n"
- " file(<MD5|SHA1|SHA224|SHA256|SHA384|SHA512> filename variable)\n"
- " file(STRINGS filename variable [LIMIT_COUNT num]\n"
- " [LIMIT_INPUT numBytes] [LIMIT_OUTPUT numBytes]\n"
- " [LENGTH_MINIMUM numBytes] [LENGTH_MAXIMUM numBytes]\n"
- " [NEWLINE_CONSUME] [REGEX regex]\n"
- " [NO_HEX_CONVERSION])\n"
- " file(GLOB variable [RELATIVE path] [globbing expressions]...)\n"
- " file(GLOB_RECURSE variable [RELATIVE path] \n"
- " [FOLLOW_SYMLINKS] [globbing expressions]...)\n"
- " file(RENAME <oldname> <newname>)\n"
- " file(REMOVE [file1 ...])\n"
- " file(REMOVE_RECURSE [file1 ...])\n"
- " file(MAKE_DIRECTORY [directory1 directory2 ...])\n"
- " file(RELATIVE_PATH variable directory file)\n"
- " file(TO_CMAKE_PATH path result)\n"
- " file(TO_NATIVE_PATH path result)\n"
- " file(DOWNLOAD url file [INACTIVITY_TIMEOUT timeout]\n"
- " [TIMEOUT timeout] [STATUS status] [LOG log] [SHOW_PROGRESS]\n"
- " [EXPECTED_HASH ALGO=value] [EXPECTED_MD5 sum]\n"
- " [TLS_VERIFY on|off] [TLS_CAINFO file])\n"
- " file(UPLOAD filename url [INACTIVITY_TIMEOUT timeout]\n"
- " [TIMEOUT timeout] [STATUS status] [LOG log] [SHOW_PROGRESS])\n"
- " file(TIMESTAMP filename variable [<format string>] [UTC])\n"
- " file(GENERATE OUTPUT output_file\n"
- " <INPUT input_file|CONTENT input_content>\n"
- " [CONDITION expression])\n"
- "WRITE will write a message into a file called 'filename'. It "
- "overwrites the file if it already exists, and creates the file "
- "if it does not exist. (If the file is a build input, use "
- "configure_file to update the file only when its content changes.)\n"
- "APPEND will write a message into a file same as WRITE, except "
- "it will append it to the end of the file\n"
- "READ will read the content of a file and store it into the "
- "variable. It will start at the given offset and read up to numBytes. "
- "If the argument HEX is given, the binary data will be converted to "
- "hexadecimal representation and this will be stored in the variable.\n"
- "MD5, SHA1, SHA224, SHA256, SHA384, and SHA512 "
- "will compute a cryptographic hash of the content of a file.\n"
- "STRINGS will parse a list of ASCII strings from a file and "
- "store it in a variable. Binary data in the file are ignored. Carriage "
- "return (CR) characters are ignored. It works also for Intel Hex and "
- "Motorola S-record files, which are automatically converted to binary "
- "format when reading them. Disable this using NO_HEX_CONVERSION.\n"
- "LIMIT_COUNT sets the maximum number of strings to return. "
- "LIMIT_INPUT sets the maximum number of bytes to read from "
- "the input file. "
- "LIMIT_OUTPUT sets the maximum number of bytes to store in the "
- "output variable. "
- "LENGTH_MINIMUM sets the minimum length of a string to return. "
- "Shorter strings are ignored. "
- "LENGTH_MAXIMUM sets the maximum length of a string to return. Longer "
- "strings are split into strings no longer than the maximum length. "
- "NEWLINE_CONSUME allows newlines to be included in strings instead "
- "of terminating them.\n"
- "REGEX specifies a regular expression that a string must match to be "
- "returned. Typical usage \n"
- " file(STRINGS myfile.txt myfile)\n"
- "stores a list in the variable \"myfile\" in which each item is "
- "a line from the input file.\n"
- "GLOB will generate a list of all files that match the globbing "
- "expressions and store it into the variable. Globbing expressions "
- "are similar to regular expressions, but much simpler. If RELATIVE "
- "flag is specified for an expression, the results will be returned "
- "as a relative path to the given path. "
- "(We do not recommend using GLOB to collect a list of source files "
- "from your source tree. If no CMakeLists.txt file changes when a "
- "source is added or removed then the generated build system cannot "
- "know when to ask CMake to regenerate.)"
- "\n"
- "Examples of globbing expressions include:\n"
- " *.cxx - match all files with extension cxx\n"
- " *.vt? - match all files with extension vta,...,vtz\n"
- " f[3-5].txt - match files f3.txt, f4.txt, f5.txt\n"
- "GLOB_RECURSE will generate a list similar to the regular GLOB, except "
- "it will traverse all the subdirectories of the matched directory and "
- "match the files. Subdirectories that are symlinks are only traversed "
- "if FOLLOW_SYMLINKS is given or cmake policy CMP0009 is not set to NEW. "
- "See cmake --help-policy CMP0009 for more information.\n"
- "Examples of recursive globbing include:\n"
- " /dir/*.py - match all python files in /dir and subdirectories\n"
- "MAKE_DIRECTORY will create the given directories, also if their parent "
- "directories don't exist yet\n"
- "RENAME moves a file or directory within a filesystem, "
- "replacing the destination atomically."
- "\n"
- "REMOVE will remove the given files, also in subdirectories\n"
- "REMOVE_RECURSE will remove the given files and directories, also "
- "non-empty directories\n"
- "RELATIVE_PATH will determine relative path from directory to the given"
- " file.\n"
- "TO_CMAKE_PATH will convert path into a cmake style path with unix /. "
- " The input can be a single path or a system path like \"$ENV{PATH}\". "
- " Note the double quotes around the ENV call TO_CMAKE_PATH only takes "
- " one argument. This command will also convert the native list"
- " delimiters for a list of paths like the PATH environment variable.\n"
- "TO_NATIVE_PATH works just like TO_CMAKE_PATH, but will convert from "
- " a cmake style path into the native path style \\ for windows and / "
- "for UNIX.\n"
- "DOWNLOAD will download the given URL to the given file. "
- "If LOG var is specified a log of the download will be put in var. "
- "If STATUS var is specified the status of the operation will"
- " be put in var. The status is returned in a list of length 2. "
- "The first element is the numeric return value for the operation, "
- "and the second element is a string value for the error. A 0 "
- "numeric error means no error in the operation. "
- "If TIMEOUT time is specified, the operation will "
- "timeout after time seconds, time should be specified as an integer. "
- "The INACTIVITY_TIMEOUT specifies an integer number of seconds of "
- "inactivity after which the operation should terminate. "
- "If EXPECTED_HASH ALGO=value is specified, the operation will verify "
- "that the downloaded file's actual hash matches the expected value, "
- "where ALGO is one of MD5, SHA1, SHA224, SHA256, SHA384, or SHA512. "
- "If it does not match, the operation fails with an error. "
- "(\"EXPECTED_MD5 sum\" is short-hand for \"EXPECTED_HASH MD5=sum\".) "
- "If SHOW_PROGRESS is specified, progress information will be printed "
- "as status messages until the operation is complete. "
- "For https URLs CMake must be built with OpenSSL. "
- "TLS/SSL certificates are not checked by default. "
- "Set TLS_VERIFY to ON to check certificates and/or use "
- "EXPECTED_HASH to verify downloaded content. "
- "Set TLS_CAINFO to specify a custom Certificate Authority file. "
- "If either TLS option is not given CMake will check variables "
- "CMAKE_TLS_VERIFY and CMAKE_TLS_CAINFO, "
- "respectively."
- "\n"
- "UPLOAD will upload the given file to the given URL. "
- "If LOG var is specified a log of the upload will be put in var. "
- "If STATUS var is specified the status of the operation will"
- " be put in var. The status is returned in a list of length 2. "
- "The first element is the numeric return value for the operation, "
- "and the second element is a string value for the error. A 0 "
- "numeric error means no error in the operation. "
- "If TIMEOUT time is specified, the operation will "
- "timeout after time seconds, time should be specified as an integer. "
- "The INACTIVITY_TIMEOUT specifies an integer number of seconds of "
- "inactivity after which the operation should terminate. "
- "If SHOW_PROGRESS is specified, progress information will be printed "
- "as status messages until the operation is complete."
- "\n"
- "TIMESTAMP will write a string representation of "
- "the modification time of filename to variable.\n"
- "Should the command be unable to obtain a timestamp "
- "variable will be set to the empty string \"\".\n"
- "See documentation of the string TIMESTAMP sub-command for more details."
- "\n"
- "The file() command also provides COPY and INSTALL signatures:\n"
- " file(<COPY|INSTALL> files... DESTINATION <dir>\n"
- " [FILE_PERMISSIONS permissions...]\n"
- " [DIRECTORY_PERMISSIONS permissions...]\n"
- " [NO_SOURCE_PERMISSIONS] [USE_SOURCE_PERMISSIONS]\n"
- " [FILES_MATCHING]\n"
- " [[PATTERN <pattern> | REGEX <regex>]\n"
- " [EXCLUDE] [PERMISSIONS permissions...]] [...])\n"
- "The COPY signature copies files, directories, and symlinks to a "
- "destination folder. "
- "Relative input paths are evaluated with respect to the current "
- "source directory, and a relative destination is evaluated with "
- "respect to the current build directory. "
- "Copying preserves input file timestamps, and optimizes out a file "
- "if it exists at the destination with the same timestamp. "
- "Copying preserves input permissions unless explicit permissions or "
- "NO_SOURCE_PERMISSIONS are given (default is USE_SOURCE_PERMISSIONS). "
- "See the install(DIRECTORY) command for documentation of permissions, "
- "PATTERN, REGEX, and EXCLUDE options. "
- "\n"
- "The INSTALL signature differs slightly from COPY: "
- "it prints status messages, and NO_SOURCE_PERMISSIONS is default. "
- "Installation scripts generated by the install() command use this "
- "signature (with some undocumented options for internal use)."
- "\n"
- "GENERATE will write an <output_file> with content from an "
- "<input_file>, or from <input_content>. The output is generated "
- "conditionally based on the content of the <condition>. The file is "
- "written at CMake generate-time and the input may contain generator "
- "expressions. The <condition>, <output_file> and <input_file> may "
- "also contain generator expressions. The <condition> must evaluate to "
- "either '0' or '1'. The <output_file> must evaluate to a unique name "
- "among all configurations and among all invocations of file(GENERATE)."
- // Undocumented INSTALL options:
- // - RENAME <name>
- // - OPTIONAL
- // - FILES keyword to re-enter files... list
- // - PERMISSIONS before REGEX is alias for FILE_PERMISSIONS
- // - DIR_PERMISSIONS is alias for DIRECTORY_PERMISSIONS
- // - TYPE <FILE|DIRECTORY|EXECUTABLE|PROGRAM|
- // STATIC_LIBRARY|SHARED_LIBRARY|MODULE>
- // - COMPONENTS, CONFIGURATIONS, PROPERTIES (ignored for compat)
- ;
- }
-
cmTypeMacro(cmFileCommand, cmCommand);
protected:
diff --git a/Source/cmFileTimeComparison.cxx b/Source/cmFileTimeComparison.cxx
index 3167be4..02f10c0 100644
--- a/Source/cmFileTimeComparison.cxx
+++ b/Source/cmFileTimeComparison.cxx
@@ -16,6 +16,8 @@
# include <cmsys/hash_map.hxx>
#endif
+#include <cmsys/Encoding.hxx>
+
// Use a platform-specific API to get file times efficiently.
#if !defined(_WIN32) || defined(__CYGWIN__)
# define cmFileTimeComparison_Type struct stat
@@ -86,7 +88,8 @@ bool cmFileTimeComparisonInternal::Stat(const char* fname,
// Windows version. Get the modification time from extended file
// attributes.
WIN32_FILE_ATTRIBUTE_DATA fdata;
- if(!GetFileAttributesEx(fname, GetFileExInfoStandard, &fdata))
+ if(!GetFileAttributesExW(cmsys::Encoding::ToWide(fname).c_str(),
+ GetFileExInfoStandard, &fdata))
{
return false;
}
diff --git a/Source/cmFindBase.cxx b/Source/cmFindBase.cxx
index 7ce0032..ae15ee7 100644
--- a/Source/cmFindBase.cxx
+++ b/Source/cmFindBase.cxx
@@ -20,106 +20,6 @@ cmFindBase::cmFindBase()
}
//----------------------------------------------------------------------------
-void cmFindBase::GenerateDocumentation()
-{
- this->cmFindCommon::GenerateDocumentation();
- cmSystemTools::ReplaceString(this->GenericDocumentationPathsOrder,
- "FIND_ARGS_XXX", "<VAR> NAMES name");
- this->GenericDocumentation =
- " FIND_XXX(<VAR> name1 [path1 path2 ...])\n"
- "This is the short-hand signature for the command that "
- "is sufficient in many cases. It is the same "
- "as FIND_XXX(<VAR> name1 [PATHS path1 path2 ...])\n"
- " FIND_XXX(\n"
- " <VAR>\n"
- " name | NAMES name1 [name2 ...]\n"
- " [HINTS path1 [path2 ... ENV var]]\n"
- " [PATHS path1 [path2 ... ENV var]]\n"
- " [PATH_SUFFIXES suffix1 [suffix2 ...]]\n"
- " [DOC \"cache documentation string\"]\n"
- " [NO_DEFAULT_PATH]\n"
- " [NO_CMAKE_ENVIRONMENT_PATH]\n"
- " [NO_CMAKE_PATH]\n"
- " [NO_SYSTEM_ENVIRONMENT_PATH]\n"
- " [NO_CMAKE_SYSTEM_PATH]\n"
- " [CMAKE_FIND_ROOT_PATH_BOTH |\n"
- " ONLY_CMAKE_FIND_ROOT_PATH |\n"
- " NO_CMAKE_FIND_ROOT_PATH]\n"
- " )\n"
- ""
- "This command is used to find a SEARCH_XXX_DESC. "
- "A cache entry named by <VAR> is created to store the result "
- "of this command. "
- "If the SEARCH_XXX is found the result is stored in the variable "
- "and the search will not be repeated unless the variable is cleared. "
- "If nothing is found, the result will be "
- "<VAR>-NOTFOUND, and the search will be attempted again the "
- "next time FIND_XXX is invoked with the same variable. "
- "The name of the SEARCH_XXX that "
- "is searched for is specified by the names listed "
- "after the NAMES argument. Additional search locations "
- "can be specified after the PATHS argument. If ENV var is "
- "found in the HINTS or PATHS section the environment variable var "
- "will be read and converted from a system environment variable to "
- "a cmake style list of paths. For example ENV PATH would be a way "
- "to list the system path variable. The argument "
- "after DOC will be used for the documentation string in "
- "the cache. "
- "PATH_SUFFIXES specifies additional subdirectories to check below "
- "each search path."
- "\n"
- "If NO_DEFAULT_PATH is specified, then no additional paths are "
- "added to the search. "
- "If NO_DEFAULT_PATH is not specified, the search process is as follows:\n"
- "1. Search paths specified in cmake-specific cache variables. "
- "These are intended to be used on the command line with a -DVAR=value. "
- "This can be skipped if NO_CMAKE_PATH is passed.\n"
- "XXX_EXTRA_PREFIX_ENTRY"
- " <prefix>/XXX_SUBDIR for each <prefix> in CMAKE_PREFIX_PATH\n"
- " CMAKE_XXX_PATH\n"
- " CMAKE_XXX_MAC_PATH\n"
- "2. Search paths specified in cmake-specific environment variables. "
- "These are intended to be set in the user's shell configuration. "
- "This can be skipped if NO_CMAKE_ENVIRONMENT_PATH is passed.\n"
- "XXX_EXTRA_PREFIX_ENTRY"
- " <prefix>/XXX_SUBDIR for each <prefix> in CMAKE_PREFIX_PATH\n"
- " CMAKE_XXX_PATH\n"
- " CMAKE_XXX_MAC_PATH\n"
- "3. Search the paths specified by the HINTS option. "
- "These should be paths computed by system introspection, such as a "
- "hint provided by the location of another item already found. "
- "Hard-coded guesses should be specified with the PATHS option.\n"
- "4. Search the standard system environment variables. "
- "This can be skipped if NO_SYSTEM_ENVIRONMENT_PATH is an argument.\n"
- " PATH\n"
- " XXX_SYSTEM\n" // replace with "", LIB, or INCLUDE
- "5. Search cmake variables defined in the Platform files "
- "for the current system. This can be skipped if NO_CMAKE_SYSTEM_PATH "
- "is passed.\n"
- "XXX_EXTRA_PREFIX_ENTRY"
- " <prefix>/XXX_SUBDIR for each <prefix> in CMAKE_SYSTEM_PREFIX_PATH\n"
- " CMAKE_SYSTEM_XXX_PATH\n"
- " CMAKE_SYSTEM_XXX_MAC_PATH\n"
- "6. Search the paths specified by the PATHS option "
- "or in the short-hand version of the command. "
- "These are typically hard-coded guesses.\n"
- ;
- this->GenericDocumentation += this->GenericDocumentationMacPolicy;
- this->GenericDocumentation += this->GenericDocumentationRootPath;
- this->GenericDocumentation += this->GenericDocumentationPathsOrder;
-}
-
-//----------------------------------------------------------------------------
-const char* cmFindBase::GetFullDocumentation() const
-{
- if(this->GenericDocumentation.empty())
- {
- const_cast<cmFindBase *>(this)->GenerateDocumentation();
- }
- return this->GenericDocumentation.c_str();
-}
-
-//----------------------------------------------------------------------------
bool cmFindBase::ParseArguments(std::vector<std::string> const& argsIn)
{
if(argsIn.size() < 2 )
@@ -128,11 +28,6 @@ bool cmFindBase::ParseArguments(std::vector<std::string> const& argsIn)
return false;
}
- // CMake versions below 2.3 did not search all these extra
- // locations. Preserve compatibility unless a modern argument is
- // passed.
- bool compatibility = this->Makefile->NeedBackwardsCompatibility(2,3);
-
// copy argsIn into args so it can be modified,
// in the process extract the DOC "documentation"
size_t size = argsIn.size();
@@ -212,7 +107,6 @@ bool cmFindBase::ParseArguments(std::vector<std::string> const& argsIn)
else if (args[j] == "PATH_SUFFIXES")
{
doing = DoingPathSuffixes;
- compatibility = false;
newStyle = true;
}
else if (args[j] == "NAMES_PER_DIR")
@@ -236,7 +130,6 @@ bool cmFindBase::ParseArguments(std::vector<std::string> const& argsIn)
else if (this->CheckCommonArgument(args[j]))
{
doing = DoingNone;
- compatibility = false;
// Some common arguments were accidentally supported by CMake
// 2.4 and 2.6.0 in the short-hand form of the command, so we
// must support it even though it is not documented.
@@ -259,17 +152,6 @@ bool cmFindBase::ParseArguments(std::vector<std::string> const& argsIn)
}
}
- // Now that arguments have been parsed check the compatibility
- // setting. If we need to be compatible with CMake 2.2 and earlier
- // do not add the CMake system paths. It is safe to add the CMake
- // environment paths and system environment paths because that
- // existed in 2.2. It is safe to add the CMake user variable paths
- // because the user or project has explicitly set them.
- if(compatibility)
- {
- this->NoCMakeSystemPath = true;
- }
-
if(this->VariableDocumentation.size() == 0)
{
this->VariableDocumentation = "Where can ";
diff --git a/Source/cmFindBase.h b/Source/cmFindBase.h
index 84b0330..0562b1b 100644
--- a/Source/cmFindBase.h
+++ b/Source/cmFindBase.h
@@ -31,10 +31,7 @@ public:
virtual bool ParseArguments(std::vector<std::string> const& args);
cmTypeMacro(cmFindBase, cmFindCommon);
- virtual const char* GetFullDocumentation() const;
-
protected:
- virtual void GenerateDocumentation();
void PrintFindStuff();
void ExpandPaths();
void AddPathSuffixes();
@@ -44,7 +41,6 @@ protected:
// if it has documentation in the cache
bool CheckForVariableInCache();
- cmStdString GenericDocumentation;
// use by command during find
cmStdString VariableDocumentation;
cmStdString VariableName;
diff --git a/Source/cmFindCommon.cxx b/Source/cmFindCommon.cxx
index b44864e..e8c8da3 100644
--- a/Source/cmFindCommon.cxx
+++ b/Source/cmFindCommon.cxx
@@ -37,55 +37,6 @@ cmFindCommon::cmFindCommon()
}
//----------------------------------------------------------------------------
-void cmFindCommon::GenerateDocumentation()
-{
- // Documentation components.
- this->GenericDocumentationMacPolicy =
- "On Darwin or systems supporting OS X Frameworks, the cmake variable"
- " CMAKE_FIND_FRAMEWORK can be set to empty or one of the following:\n"
- " \"FIRST\" - Try to find frameworks before standard\n"
- " libraries or headers. This is the default on Darwin.\n"
- " \"LAST\" - Try to find frameworks after standard\n"
- " libraries or headers.\n"
- " \"ONLY\" - Only try to find frameworks.\n"
- " \"NEVER\" - Never try to find frameworks.\n"
- "On Darwin or systems supporting OS X Application Bundles, the cmake "
- "variable CMAKE_FIND_APPBUNDLE can be set to empty or one of the "
- "following:\n"
- " \"FIRST\" - Try to find application bundles before standard\n"
- " programs. This is the default on Darwin.\n"
- " \"LAST\" - Try to find application bundles after standard\n"
- " programs.\n"
- " \"ONLY\" - Only try to find application bundles.\n"
- " \"NEVER\" - Never try to find application bundles.\n";
- this->GenericDocumentationRootPath =
- "The CMake variable CMAKE_FIND_ROOT_PATH specifies one or more "
- "directories to be prepended to all other search directories. "
- "This effectively \"re-roots\" the entire search under given locations. "
- "By default it is empty. It is especially useful when "
- "cross-compiling to point to the root directory of the "
- "target environment and CMake will search there too. By default at first "
- "the directories listed in CMAKE_FIND_ROOT_PATH and then the non-rooted "
- "directories will be searched. "
- "The default behavior can be adjusted by setting "
- "CMAKE_FIND_ROOT_PATH_MODE_XXX. This behavior can be manually "
- "overridden on a per-call basis. "
- "By using CMAKE_FIND_ROOT_PATH_BOTH the search order will "
- "be as described above. If NO_CMAKE_FIND_ROOT_PATH is used "
- "then CMAKE_FIND_ROOT_PATH will not be used. If ONLY_CMAKE_FIND_ROOT_PATH "
- "is used then only the re-rooted directories will be searched.\n";
- this->GenericDocumentationPathsOrder =
- "The default search order is designed to be most-specific to "
- "least-specific for common use cases. "
- "Projects may override the order by simply calling the command "
- "multiple times and using the NO_* options:\n"
- " FIND_XXX(FIND_ARGS_XXX PATHS paths... NO_DEFAULT_PATH)\n"
- " FIND_XXX(FIND_ARGS_XXX)\n"
- "Once one of the calls succeeds the result variable will be set "
- "and stored in the cache so that no call will search again.";
-}
-
-//----------------------------------------------------------------------------
cmFindCommon::~cmFindCommon()
{
}
@@ -187,22 +138,36 @@ void cmFindCommon::RerootPaths(std::vector<std::string>& paths)
{
return;
}
+ const char* sysroot =
+ this->Makefile->GetDefinition("CMAKE_SYSROOT");
const char* rootPath =
this->Makefile->GetDefinition("CMAKE_FIND_ROOT_PATH");
- if((rootPath == 0) || (strlen(rootPath) == 0))
+ const bool noSysroot = !sysroot || !*sysroot;
+ const bool noRootPath = !rootPath || !*rootPath;
+ if(noSysroot && noRootPath)
{
return;
}
// Construct the list of path roots with no trailing slashes.
std::vector<std::string> roots;
- cmSystemTools::ExpandListArgument(rootPath, roots);
+ if (rootPath)
+ {
+ cmSystemTools::ExpandListArgument(rootPath, roots);
+ }
+ if (sysroot)
+ {
+ roots.push_back(sysroot);
+ }
for(std::vector<std::string>::iterator ri = roots.begin();
ri != roots.end(); ++ri)
{
cmSystemTools::ConvertToUnixSlashes(*ri);
}
+ const char* stagePrefix =
+ this->Makefile->GetDefinition("CMAKE_STAGING_PREFIX");
+
// Copy the original set of unrooted paths.
std::vector<std::string> unrootedPaths = paths;
paths.clear();
@@ -217,7 +182,9 @@ void cmFindCommon::RerootPaths(std::vector<std::string>& paths)
// already inside. Skip the unrooted path if it is relative to
// a user home directory or is empty.
std::string rootedDir;
- if(cmSystemTools::IsSubDirectory(ui->c_str(), ri->c_str()))
+ if(cmSystemTools::IsSubDirectory(ui->c_str(), ri->c_str())
+ || (stagePrefix
+ && cmSystemTools::IsSubDirectory(ui->c_str(), stagePrefix)))
{
rootedDir = *ui;
}
diff --git a/Source/cmFindCommon.h b/Source/cmFindCommon.h
index 542805f..6109a9f 100644
--- a/Source/cmFindCommon.h
+++ b/Source/cmFindCommon.h
@@ -56,8 +56,6 @@ protected:
/** Compute the current default bundle/framework search policy. */
void SelectDefaultMacMode();
- virtual void GenerateDocumentation();
-
cmStdString CMakePathName;
RootPathMode FindRootPathMode;
@@ -85,10 +83,6 @@ protected:
std::vector<std::string> SearchPaths;
std::set<cmStdString> SearchPathsEmitted;
- std::string GenericDocumentationMacPolicy;
- std::string GenericDocumentationRootPath;
- std::string GenericDocumentationPathsOrder;
-
bool SearchFrameworkFirst;
bool SearchFrameworkOnly;
bool SearchFrameworkLast;
diff --git a/Source/cmFindFileCommand.cxx b/Source/cmFindFileCommand.cxx
index fa66fa1..615e7c1 100644
--- a/Source/cmFindFileCommand.cxx
+++ b/Source/cmFindFileCommand.cxx
@@ -16,15 +16,3 @@ cmFindFileCommand::cmFindFileCommand()
{
this->IncludeFileInPath = true;
}
-
-void cmFindFileCommand::GenerateDocumentation()
-{
- this->cmFindPathCommand::GenerateDocumentation();
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "find_path", "find_file");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "directory containing the named file",
- "full path to named file");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "file in a directory", "full path to a file");
-}
diff --git a/Source/cmFindFileCommand.h b/Source/cmFindFileCommand.h
index 1bfdcbd..3f0baa2 100644
--- a/Source/cmFindFileCommand.h
+++ b/Source/cmFindFileCommand.h
@@ -35,17 +35,7 @@ public:
}
virtual const char* GetName() const { return "find_file";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Find the full path to a file.";
- }
-
cmTypeMacro(cmFindFileCommand, cmFindPathCommand);
-protected:
- virtual void GenerateDocumentation();
};
diff --git a/Source/cmFindLibraryCommand.cxx b/Source/cmFindLibraryCommand.cxx
index 4af7e11..de52df7 100644
--- a/Source/cmFindLibraryCommand.cxx
+++ b/Source/cmFindLibraryCommand.cxx
@@ -20,62 +20,6 @@ cmFindLibraryCommand::cmFindLibraryCommand()
this->NamesPerDirAllowed = true;
}
-//----------------------------------------------------------------------------
-void cmFindLibraryCommand::GenerateDocumentation()
-{
- this->cmFindBase::GenerateDocumentation();
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "FIND_XXX", "find_library");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "CMAKE_XXX_PATH", "CMAKE_LIBRARY_PATH");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "CMAKE_XXX_MAC_PATH",
- "CMAKE_FRAMEWORK_PATH");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "CMAKE_SYSTEM_XXX_MAC_PATH",
- "CMAKE_SYSTEM_FRAMEWORK_PATH");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "XXX_SYSTEM", "LIB");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "CMAKE_SYSTEM_XXX_PATH",
- "CMAKE_SYSTEM_LIBRARY_PATH");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "SEARCH_XXX_DESC", "library");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "SEARCH_XXX", "library");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "XXX_SUBDIR", "lib");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "NAMES name1 [name2 ...]",
- "NAMES name1 [name2 ...] [NAMES_PER_DIR]");
- cmSystemTools::ReplaceString(
- this->GenericDocumentation,
- "XXX_EXTRA_PREFIX_ENTRY",
- " <prefix>/lib/<arch> if CMAKE_LIBRARY_ARCHITECTURE is set, and\n");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "CMAKE_FIND_ROOT_PATH_MODE_XXX",
- "CMAKE_FIND_ROOT_PATH_MODE_LIBRARY");
- this->GenericDocumentation +=
- "\n"
- "When more than one value is given to the NAMES option this command "
- "by default will consider one name at a time and search every directory "
- "for it. "
- "The NAMES_PER_DIR option tells this command to consider one directory "
- "at a time and search for all names in it."
- "\n"
- "If the library found is a framework, then VAR will be set to "
- "the full path to the framework <fullPath>/A.framework. "
- "When a full path to a framework is used as a library, "
- "CMake will use a -framework A, and a -F<fullPath> to "
- "link the framework to the target."
- "\n"
- "If the global property FIND_LIBRARY_USE_LIB64_PATHS is set all search "
- "paths will be tested as normal, with \"64/\" appended, and with all "
- "matches of \"lib/\" replaced with \"lib64/\". This property is "
- "automatically set for the platforms that are known to need it if at "
- "least one of the languages supported by the PROJECT command is enabled.";
-}
-
// cmFindLibraryCommand
bool cmFindLibraryCommand
::InitialPass(std::vector<std::string> const& argsIn, cmExecutionStatus &)
diff --git a/Source/cmFindLibraryCommand.h b/Source/cmFindLibraryCommand.h
index cd0fce8..a9ec40e 100644
--- a/Source/cmFindLibraryCommand.h
+++ b/Source/cmFindLibraryCommand.h
@@ -51,13 +51,6 @@ public:
*/
virtual const char* GetName() const {return "find_library";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Find a library.";
- }
cmTypeMacro(cmFindLibraryCommand, cmFindBase);
protected:
@@ -67,7 +60,6 @@ protected:
const char* suffix,
bool fresh = true);
std::string FindLibrary();
- virtual void GenerateDocumentation();
private:
std::string FindNormalLibrary();
std::string FindNormalLibraryNamesPerDir();
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx
index aa3a73d..73eba51 100644
--- a/Source/cmFindPackageCommand.cxx
+++ b/Source/cmFindPackageCommand.cxx
@@ -13,41 +13,18 @@
#include <cmsys/Directory.hxx>
#include <cmsys/RegularExpression.hxx>
+#include <cmsys/Encoding.hxx>
#ifdef CMAKE_BUILD_WITH_CMAKE
#include "cmVariableWatch.h"
#endif
#if defined(__HAIKU__)
-#include <StorageKit.h>
+#include <string.h>
+#include <FindDirectory.h>
+#include <StorageDefs.h>
#endif
-void cmFindPackageNeedBackwardsCompatibility(const std::string& variable,
- int access_type, void*, const char* newValue,
- const cmMakefile*)
-{
- (void)newValue;
-#ifdef CMAKE_BUILD_WITH_CMAKE
- if(access_type == cmVariableWatch::UNKNOWN_VARIABLE_READ_ACCESS)
- {
- std::string message = "An attempt was made to access a variable: ";
- message += variable;
- message +=
- " that has not been defined. This variable is created by the "
- "FIND_PACKAGE command. CMake version 1.6 always converted the "
- "variable name to upper-case, but this behavior is no longer the "
- "case. To fix this you might need to set the cache value of "
- "CMAKE_BACKWARDS_COMPATIBILITY to 1.6 or less. If you are writing a "
- "CMake listfile, you should change the variable reference to use "
- "the case of the argument to FIND_PACKAGE.";
- cmSystemTools::Error(message.c_str());
- }
-#else
- (void)variable;
- (void)access_type;
-#endif
-}
-
//----------------------------------------------------------------------------
cmFindPackageCommand::cmFindPackageCommand()
{
@@ -77,322 +54,6 @@ cmFindPackageCommand::cmFindPackageCommand()
}
//----------------------------------------------------------------------------
-void cmFindPackageCommand::GenerateDocumentation()
-{
- this->cmFindCommon::GenerateDocumentation();
- cmSystemTools::ReplaceString(this->GenericDocumentationRootPath,
- "CMAKE_FIND_ROOT_PATH_MODE_XXX",
- "CMAKE_FIND_ROOT_PATH_MODE_PACKAGE");
- cmSystemTools::ReplaceString(this->GenericDocumentationPathsOrder,
- "FIND_ARGS_XXX", "<package>");
- cmSystemTools::ReplaceString(this->GenericDocumentationPathsOrder,
- "FIND_XXX", "find_package");
- this->CommandDocumentation =
- " find_package(<package> [version] [EXACT] [QUIET] [MODULE]\n"
- " [REQUIRED] [[COMPONENTS] [components...]]\n"
- " [OPTIONAL_COMPONENTS components...]\n"
- " [NO_POLICY_SCOPE])\n"
- "Finds and loads settings from an external project. "
- "<package>_FOUND will be set to indicate whether the package was found. "
- "When the package is found package-specific information is provided "
- "through variables and imported targets documented by the package "
- "itself. "
- "The QUIET option disables messages if the package cannot be found. "
- "The MODULE option disables the second signature documented below. "
- "The REQUIRED option stops processing with an error message if the "
- "package cannot be found."
- "\n"
- "A package-specific list of required components may be listed after the "
- "COMPONENTS option (or after the REQUIRED option if present). "
- "Additional optional components may be listed after OPTIONAL_COMPONENTS. "
- "Available components and their influence on whether a package is "
- "considered to be found are defined by the target package."
- "\n"
- "The [version] argument requests a version with which the package found "
- "should be compatible (format is major[.minor[.patch[.tweak]]]). "
- "The EXACT option requests that the version be matched exactly. "
- "If no [version] and/or component list is given to a recursive "
- "invocation inside a find-module, the corresponding arguments "
- "are forwarded automatically from the outer call (including the "
- "EXACT flag for [version]). "
- "Version support is currently provided only on a package-by-package "
- "basis (details below).\n"
- "User code should generally look for packages using the above simple "
- "signature. The remainder of this command documentation specifies the "
- "full command signature and details of the search process. Project "
- "maintainers wishing to provide a package to be found by this command "
- "are encouraged to read on.\n"
- "The command has two modes by which it searches for packages: "
- "\"Module\" mode and \"Config\" mode. "
- "Module mode is available when the command is invoked with the above "
- "reduced signature. "
- "CMake searches for a file called \"Find<package>.cmake\" in "
- "the CMAKE_MODULE_PATH followed by the CMake installation. "
- "If the file is found, it is read and processed by CMake. "
- "It is responsible for finding the package, checking the version, "
- "and producing any needed messages. "
- "Many find-modules provide limited or no support for versioning; "
- "check the module documentation. "
- "If no module is found and the MODULE option is not given the command "
- "proceeds to Config mode.\n"
- "The complete Config mode command signature is:\n"
- " find_package(<package> [version] [EXACT] [QUIET]\n"
- " [REQUIRED] [[COMPONENTS] [components...]]\n"
- " [CONFIG|NO_MODULE]\n"
- " [NO_POLICY_SCOPE]\n"
- " [NAMES name1 [name2 ...]]\n"
- " [CONFIGS config1 [config2 ...]]\n"
- " [HINTS path1 [path2 ... ]]\n"
- " [PATHS path1 [path2 ... ]]\n"
- " [PATH_SUFFIXES suffix1 [suffix2 ...]]\n"
- " [NO_DEFAULT_PATH]\n"
- " [NO_CMAKE_ENVIRONMENT_PATH]\n"
- " [NO_CMAKE_PATH]\n"
- " [NO_SYSTEM_ENVIRONMENT_PATH]\n"
- " [NO_CMAKE_PACKAGE_REGISTRY]\n"
- " [NO_CMAKE_BUILDS_PATH]\n"
- " [NO_CMAKE_SYSTEM_PATH]\n"
- " [NO_CMAKE_SYSTEM_PACKAGE_REGISTRY]\n"
- " [CMAKE_FIND_ROOT_PATH_BOTH |\n"
- " ONLY_CMAKE_FIND_ROOT_PATH |\n"
- " NO_CMAKE_FIND_ROOT_PATH])\n"
- "The CONFIG option may be used to skip Module mode explicitly and "
- "switch to Config mode. It is synonymous to using NO_MODULE. "
- "Config mode is also implied by use of options not specified in the "
- "reduced signature. "
- "\n"
- "Config mode attempts to locate a configuration file provided by the "
- "package to be found. A cache entry called <package>_DIR is created to "
- "hold the directory containing the file. "
- "By default the command searches for a package with the name <package>. "
- "If the NAMES option is given the names following it are used instead "
- "of <package>. "
- "The command searches for a file called \"<name>Config.cmake\" or "
- "\"<lower-case-name>-config.cmake\" for each name specified. "
- "A replacement set of possible configuration file names may be given "
- "using the CONFIGS option. "
- "The search procedure is specified below. Once found, the configuration "
- "file is read and processed by CMake. Since the file is provided by the "
- "package it already knows the location of package contents. "
- "The full path to the configuration file is stored in the cmake "
- "variable <package>_CONFIG."
- "\n"
- "All configuration files which have been considered by CMake while "
- "searching for an installation of the package with an appropriate "
- "version are stored in the cmake variable <package>_CONSIDERED_CONFIGS, "
- "the associated versions in <package>_CONSIDERED_VERSIONS. "
- "\n"
- "If the package configuration file cannot be found CMake "
- "will generate an error describing the problem unless the QUIET "
- "argument is specified. If REQUIRED is specified and the package "
- "is not found a fatal error is generated and the configure step stops "
- "executing. If <package>_DIR has been set to a directory not containing "
- "a configuration file CMake will ignore it and search from scratch."
- "\n"
- "When the [version] argument is given Config mode will only find a "
- "version of the package that claims compatibility with the requested "
- "version (format is major[.minor[.patch[.tweak]]]). "
- "If the EXACT option is given only a version of the package claiming "
- "an exact match of the requested version may be found. "
- "CMake does not establish any convention for the meaning of version "
- "numbers. "
- "Package version numbers are checked by \"version\" files provided by "
- "the packages themselves. "
- "For a candidate package configuration file \"<config-file>.cmake\" the "
- "corresponding version file is located next to it and named either "
- "\"<config-file>-version.cmake\" or \"<config-file>Version.cmake\". "
- "If no such version file is available then the configuration file "
- "is assumed to not be compatible with any requested version. "
- "A basic version file containing generic version matching code can be "
- "created using the macro write_basic_package_version_file(), see its "
- "documentation for more details. "
- "When a version file is found it is loaded to check the requested "
- "version number. "
- "The version file is loaded in a nested scope in which the following "
- "variables have been defined:\n"
- " PACKAGE_FIND_NAME = the <package> name\n"
- " PACKAGE_FIND_VERSION = full requested version string\n"
- " PACKAGE_FIND_VERSION_MAJOR = major version if requested, else 0\n"
- " PACKAGE_FIND_VERSION_MINOR = minor version if requested, else 0\n"
- " PACKAGE_FIND_VERSION_PATCH = patch version if requested, else 0\n"
- " PACKAGE_FIND_VERSION_TWEAK = tweak version if requested, else 0\n"
- " PACKAGE_FIND_VERSION_COUNT = number of version components, 0 to 4\n"
- "The version file checks whether it satisfies the requested version "
- "and sets these variables:\n"
- " PACKAGE_VERSION = full provided version string\n"
- " PACKAGE_VERSION_EXACT = true if version is exact match\n"
- " PACKAGE_VERSION_COMPATIBLE = true if version is compatible\n"
- " PACKAGE_VERSION_UNSUITABLE = true if unsuitable as any version\n"
- "These variables are checked by the find_package command to determine "
- "whether the configuration file provides an acceptable version. "
- "They are not available after the find_package call returns. "
- "If the version is acceptable the following variables are set:\n"
- " <package>_VERSION = full provided version string\n"
- " <package>_VERSION_MAJOR = major version if provided, else 0\n"
- " <package>_VERSION_MINOR = minor version if provided, else 0\n"
- " <package>_VERSION_PATCH = patch version if provided, else 0\n"
- " <package>_VERSION_TWEAK = tweak version if provided, else 0\n"
- " <package>_VERSION_COUNT = number of version components, 0 to 4\n"
- "and the corresponding package configuration file is loaded. "
- "When multiple package configuration files are available whose version "
- "files claim compatibility with the version requested it is unspecified "
- "which one is chosen. "
- "No attempt is made to choose a highest or closest version number."
- "\n"
- "Config mode provides an elaborate interface and search procedure. "
- "Much of the interface is provided for completeness and for use "
- "internally by find-modules loaded by Module mode. "
- "Most user code should simply call\n"
- " find_package(<package> [major[.minor]] [EXACT] [REQUIRED|QUIET])\n"
- "in order to find a package. Package maintainers providing CMake "
- "package configuration files are encouraged to name and install "
- "them such that the procedure outlined below will find them "
- "without requiring use of additional options."
- "\n"
- "CMake constructs a set of possible installation prefixes for the "
- "package. Under each prefix several directories are searched for a "
- "configuration file. The tables below show the directories searched. "
- "Each entry is meant for installation trees following Windows (W), "
- "UNIX (U), or Apple (A) conventions.\n"
- " <prefix>/ (W)\n"
- " <prefix>/(cmake|CMake)/ (W)\n"
- " <prefix>/<name>*/ (W)\n"
- " <prefix>/<name>*/(cmake|CMake)/ (W)\n"
- " <prefix>/(lib/<arch>|lib|share)/cmake/<name>*/ (U)\n"
- " <prefix>/(lib/<arch>|lib|share)/<name>*/ (U)\n"
- " <prefix>/(lib/<arch>|lib|share)/<name>*/(cmake|CMake)/ (U)\n"
- "On systems supporting OS X Frameworks and Application Bundles "
- "the following directories are searched for frameworks or bundles "
- "containing a configuration file:\n"
- " <prefix>/<name>.framework/Resources/ (A)\n"
- " <prefix>/<name>.framework/Resources/CMake/ (A)\n"
- " <prefix>/<name>.framework/Versions/*/Resources/ (A)\n"
- " <prefix>/<name>.framework/Versions/*/Resources/CMake/ (A)\n"
- " <prefix>/<name>.app/Contents/Resources/ (A)\n"
- " <prefix>/<name>.app/Contents/Resources/CMake/ (A)\n"
- "In all cases the <name> is treated as case-insensitive and corresponds "
- "to any of the names specified (<package> or names given by NAMES). "
- "Paths with lib/<arch> are enabled if CMAKE_LIBRARY_ARCHITECTURE is set. "
- "If PATH_SUFFIXES is specified the suffixes are appended to each "
- "(W) or (U) directory entry one-by-one.\n"
- "This set of directories is intended to work in cooperation with "
- "projects that provide configuration files in their installation trees. "
- "Directories above marked with (W) are intended for installations on "
- "Windows where the prefix may point at the top of an application's "
- "installation directory. Those marked with (U) are intended for "
- "installations on UNIX platforms where the prefix is shared by "
- "multiple packages. This is merely a convention, so all (W) and (U) "
- "directories are still searched on all platforms. "
- "Directories marked with (A) are intended for installations on "
- "Apple platforms. The cmake variables CMAKE_FIND_FRAMEWORK and "
- "CMAKE_FIND_APPBUNDLE determine the order of preference "
- "as specified below.\n"
- "The set of installation prefixes is constructed using the following "
- "steps. If NO_DEFAULT_PATH is specified all NO_* options are enabled.\n"
- "1. Search paths specified in cmake-specific cache variables. "
- "These are intended to be used on the command line with a -DVAR=value. "
- "This can be skipped if NO_CMAKE_PATH is passed.\n"
- " CMAKE_PREFIX_PATH\n"
- " CMAKE_FRAMEWORK_PATH\n"
- " CMAKE_APPBUNDLE_PATH\n"
- "2. Search paths specified in cmake-specific environment variables. "
- "These are intended to be set in the user's shell configuration. "
- "This can be skipped if NO_CMAKE_ENVIRONMENT_PATH is passed.\n"
- " <package>_DIR\n"
- " CMAKE_PREFIX_PATH\n"
- " CMAKE_FRAMEWORK_PATH\n"
- " CMAKE_APPBUNDLE_PATH\n"
- "3. Search paths specified by the HINTS option. "
- "These should be paths computed by system introspection, such as a "
- "hint provided by the location of another item already found. "
- "Hard-coded guesses should be specified with the PATHS option.\n"
- "4. Search the standard system environment variables. "
- "This can be skipped if NO_SYSTEM_ENVIRONMENT_PATH is passed. "
- "Path entries ending in \"/bin\" or \"/sbin\" are automatically "
- "converted to their parent directories.\n"
- " PATH\n"
- "5. Search project build trees recently configured in a CMake GUI. "
- "This can be skipped if NO_CMAKE_BUILDS_PATH is passed. "
- "It is intended for the case when a user is building multiple "
- "dependent projects one after another.\n"
- "6. Search paths stored in the CMake user package registry. "
- "This can be skipped if NO_CMAKE_PACKAGE_REGISTRY is passed. "
- "On Windows a <package> may appear under registry key\n"
- " HKEY_CURRENT_USER\\Software\\Kitware\\CMake\\Packages\\<package>\n"
- "as a REG_SZ value, with arbitrary name, that specifies the directory "
- "containing the package configuration file. "
- "On UNIX platforms a <package> may appear under the directory\n"
- " ~/.cmake/packages/<package>\n"
- "as a file, with arbitrary name, whose content specifies the directory "
- "containing the package configuration file. "
- "See the export(PACKAGE) command to create user package registry entries "
- "for project build trees."
- "\n"
- "7. Search cmake variables defined in the Platform files "
- "for the current system. This can be skipped if NO_CMAKE_SYSTEM_PATH "
- "is passed.\n"
- " CMAKE_SYSTEM_PREFIX_PATH\n"
- " CMAKE_SYSTEM_FRAMEWORK_PATH\n"
- " CMAKE_SYSTEM_APPBUNDLE_PATH\n"
- "8. Search paths stored in the CMake system package registry. "
- "This can be skipped if NO_CMAKE_SYSTEM_PACKAGE_REGISTRY is passed. "
- "On Windows a <package> may appear under registry key\n"
- " HKEY_LOCAL_MACHINE\\Software\\Kitware\\CMake\\Packages\\<package>\n"
- "as a REG_SZ value, with arbitrary name, that specifies the directory "
- "containing the package configuration file. "
- "There is no system package registry on non-Windows platforms."
- "\n"
- "9. Search paths specified by the PATHS option. "
- "These are typically hard-coded guesses.\n"
- ;
- this->CommandDocumentation += this->GenericDocumentationMacPolicy;
- this->CommandDocumentation += this->GenericDocumentationRootPath;
- this->CommandDocumentation += this->GenericDocumentationPathsOrder;
- this->CommandDocumentation +=
- "\n"
- "Every non-REQUIRED find_package() call can be disabled by setting the "
- "variable CMAKE_DISABLE_FIND_PACKAGE_<package> to TRUE. See the "
- "documentation for the CMAKE_DISABLE_FIND_PACKAGE_<package> variable for "
- "more information.\n"
- "When loading a find module or package configuration file find_package "
- "defines variables to provide information about the call arguments "
- "(and restores their original state before returning):\n"
- " <package>_FIND_REQUIRED = true if REQUIRED option was given\n"
- " <package>_FIND_QUIETLY = true if QUIET option was given\n"
- " <package>_FIND_VERSION = full requested version string\n"
- " <package>_FIND_VERSION_MAJOR = major version if requested, else 0\n"
- " <package>_FIND_VERSION_MINOR = minor version if requested, else 0\n"
- " <package>_FIND_VERSION_PATCH = patch version if requested, else 0\n"
- " <package>_FIND_VERSION_TWEAK = tweak version if requested, else 0\n"
- " <package>_FIND_VERSION_COUNT = number of version components, 0 to 4\n"
- " <package>_FIND_VERSION_EXACT = true if EXACT option was given\n"
- " <package>_FIND_COMPONENTS = list of requested components\n"
- " <package>_FIND_REQUIRED_<c> = true if component <c> is required\n"
- " false if component <c> is optional\n"
- "In Module mode the loaded find module is responsible to honor the "
- "request detailed by these variables; see the find module for details. "
- "In Config mode find_package handles REQUIRED, QUIET, and version "
- "options automatically but leaves it to the package configuration file "
- "to handle components in a way that makes sense for the package. "
- "The package configuration file may set <package>_FOUND to false "
- "to tell find_package that component requirements are not satisfied."
- "\n"
- "See the cmake_policy() command documentation for discussion of the "
- "NO_POLICY_SCOPE option."
- ;
-}
-
-//----------------------------------------------------------------------------
-const char* cmFindPackageCommand::GetFullDocumentation() const
-{
- if(this->CommandDocumentation.empty())
- {
- const_cast<cmFindPackageCommand *>(this)->GenerateDocumentation();
- }
- return this->CommandDocumentation.c_str();
-}
-
-//----------------------------------------------------------------------------
bool cmFindPackageCommand
::InitialPass(std::vector<std::string> const& args, cmExecutionStatus &)
{
@@ -442,11 +103,6 @@ bool cmFindPackageCommand
std::set<std::string> requiredComponents;
std::set<std::string> optionalComponents;
- // Check ancient compatibility.
- this->Compatibility_1_6 =
- this->Makefile->GetLocalGenerator()
- ->NeedBackwardsCompatibility(1, 6);
-
// Always search directly in a generated path.
this->SearchPathSuffixes.push_back("");
@@ -468,7 +124,6 @@ bool cmFindPackageCommand
else if(args[i] == "EXACT")
{
this->VersionExact = true;
- this->Compatibility_1_6 = false;
doing = DoingNone;
}
else if(args[i] == "MODULE")
@@ -493,75 +148,63 @@ bool cmFindPackageCommand
}
else if(args[i] == "COMPONENTS")
{
- this->Compatibility_1_6 = false;
doing = DoingComponents;
}
else if(args[i] == "OPTIONAL_COMPONENTS")
{
- this->Compatibility_1_6 = false;
doing = DoingOptionalComponents;
}
else if(args[i] == "NAMES")
{
configArgs.insert(i);
- this->Compatibility_1_6 = false;
doing = DoingNames;
}
else if(args[i] == "PATHS")
{
configArgs.insert(i);
- this->Compatibility_1_6 = false;
doing = DoingPaths;
}
else if(args[i] == "HINTS")
{
configArgs.insert(i);
- this->Compatibility_1_6 = false;
doing = DoingHints;
}
else if(args[i] == "PATH_SUFFIXES")
{
configArgs.insert(i);
- this->Compatibility_1_6 = false;
doing = DoingPathSuffixes;
}
else if(args[i] == "CONFIGS")
{
configArgs.insert(i);
- this->Compatibility_1_6 = false;
doing = DoingConfigs;
}
else if(args[i] == "NO_POLICY_SCOPE")
{
this->PolicyScope = false;
- this->Compatibility_1_6 = false;
doing = DoingNone;
}
else if(args[i] == "NO_CMAKE_PACKAGE_REGISTRY")
{
this->NoUserRegistry = true;
configArgs.insert(i);
- this->Compatibility_1_6 = false;
doing = DoingNone;
}
else if(args[i] == "NO_CMAKE_SYSTEM_PACKAGE_REGISTRY")
{
this->NoSystemRegistry = true;
configArgs.insert(i);
- this->Compatibility_1_6 = false;
doing = DoingNone;
}
else if(args[i] == "NO_CMAKE_BUILDS_PATH")
{
this->NoBuilds = true;
configArgs.insert(i);
- this->Compatibility_1_6 = false;
doing = DoingNone;
}
else if(this->CheckCommonArgument(args[i]))
{
configArgs.insert(i);
- this->Compatibility_1_6 = false;
doing = DoingNone;
}
else if((doing == DoingComponents) || (doing == DoingOptionalComponents))
@@ -956,24 +599,9 @@ bool cmFindPackageCommand::HandlePackageMode()
std::string upperFound = cmSystemTools::UpperCase(this->Name);
upperDir += "_DIR";
upperFound += "_FOUND";
- if(upperDir == this->Variable)
- {
- this->Compatibility_1_6 = false;
- }
// Try to find the config file.
const char* def = this->Makefile->GetDefinition(this->Variable.c_str());
- if(this->Compatibility_1_6 && cmSystemTools::IsOff(def))
- {
- // Use the setting of the old name of the variable to provide the
- // value of the new.
- const char* oldDef = this->Makefile->GetDefinition(upperDir.c_str());
- if(!cmSystemTools::IsOff(oldDef))
- {
- this->Makefile->AddDefinition(this->Variable.c_str(), oldDef);
- def = this->Makefile->GetDefinition(this->Variable.c_str());
- }
- }
// Try to load the config file if the directory is known
bool fileFound = false;
@@ -1195,43 +823,6 @@ bool cmFindPackageCommand::HandlePackageMode()
this->Makefile->RemoveDefinition(fileVar.c_str());
}
- // Handle some ancient compatibility stuff.
- if(this->Compatibility_1_6)
- {
- // Listfiles will be looking for the capitalized version of the
- // name. Provide it.
- this->Makefile->AddDefinition
- (upperDir.c_str(),
- this->Makefile->GetDefinition(this->Variable.c_str()));
- this->Makefile->AddDefinition
- (upperFound.c_str(),
- this->Makefile->GetDefinition(foundVar.c_str()));
- }
-
-#ifdef CMAKE_BUILD_WITH_CMAKE
- if(!(upperDir == this->Variable))
- {
- if(this->Compatibility_1_6)
- {
- // Listfiles may use the capitalized version of the name.
- // Remove any previously added watch.
- this->Makefile->GetVariableWatch()->RemoveWatch(
- upperDir.c_str(),
- cmFindPackageNeedBackwardsCompatibility
- );
- }
- else
- {
- // Listfiles should not be using the capitalized version of the
- // name. Add a watch to warn the user.
- this->Makefile->GetVariableWatch()->AddWatch(
- upperDir.c_str(),
- cmFindPackageNeedBackwardsCompatibility
- );
- }
- }
-#endif
-
std::string consideredConfigsVar = this->Name;
consideredConfigsVar += "_CONSIDERED_CONFIGS";
std::string consideredVersionsVar = this->Name;
@@ -1452,6 +1043,12 @@ void cmFindPackageCommand::AppendToFoundProperty(bool found)
//----------------------------------------------------------------------------
void cmFindPackageCommand::AppendSuccessInformation()
{
+ {
+ std::string transitivePropName = "_CMAKE_";
+ transitivePropName += this->Name + "_TRANSITIVE_DEPENDENCY";
+ this->Makefile->GetCMakeInstance()
+ ->SetProperty(transitivePropName.c_str(), "False");
+ }
std::string found = this->Name;
found += "_FOUND";
std::string upperFound = cmSystemTools::UpperCase(found);
@@ -1560,8 +1157,8 @@ void cmFindPackageCommand::AddPrefixesSystemEnvironment()
std::string const& d = *i;
// If the path is a PREFIX/bin case then add its parent instead.
- if((d.size() >= 4 && strcmp(d.c_str()+d.size()-4, "/bin") == 0) ||
- (d.size() >= 5 && strcmp(d.c_str()+d.size()-5, "/sbin") == 0))
+ if((cmHasLiteralSuffix(d, "/bin")) ||
+ (cmHasLiteralSuffix(d, "/sbin")))
{
this->AddPathInternal(cmSystemTools::GetFilenamePath(d), EnvPath);
}
@@ -1584,12 +1181,14 @@ void cmFindPackageCommand::AddPrefixesUserRegistry()
#if defined(_WIN32) && !defined(__CYGWIN__)
this->LoadPackageRegistryWinUser();
#elif defined(__HAIKU__)
- BPath dir;
- if (find_directory(B_USER_SETTINGS_DIRECTORY, &dir) == B_OK)
+ char dir[B_PATH_NAME_LENGTH];
+ if (find_directory(B_USER_SETTINGS_DIRECTORY, -1, false, dir, sizeof(dir)) ==
+ B_OK)
{
- dir.Append("cmake/packages");
- dir.Append(this->Name.c_str());
- this->LoadPackageRegistryDir(dir.Path());
+ std::string fname = dir;
+ fname += "/cmake/packages/";
+ fname += Name;
+ this->LoadPackageRegistryDir(fname);
}
#else
if(const char* home = cmSystemTools::GetEnv("HOME"))
@@ -1653,23 +1252,23 @@ void cmFindPackageCommand::LoadPackageRegistryWinSystem()
void cmFindPackageCommand::LoadPackageRegistryWin(bool user,
unsigned int view)
{
- std::string key = "Software\\Kitware\\CMake\\Packages\\";
- key += this->Name;
- std::set<cmStdString> bad;
+ std::wstring key = L"Software\\Kitware\\CMake\\Packages\\";
+ key += cmsys::Encoding::ToWide(this->Name);
+ std::set<std::wstring> bad;
HKEY hKey;
- if(RegOpenKeyEx(user? HKEY_CURRENT_USER : HKEY_LOCAL_MACHINE, key.c_str(),
- 0, KEY_QUERY_VALUE|view, &hKey) == ERROR_SUCCESS)
+ if(RegOpenKeyExW(user? HKEY_CURRENT_USER : HKEY_LOCAL_MACHINE, key.c_str(),
+ 0, KEY_QUERY_VALUE|view, &hKey) == ERROR_SUCCESS)
{
DWORD valueType = REG_NONE;
- char name[16384];
- std::vector<char> data(512);
+ wchar_t name[16383]; // RegEnumValue docs limit name to 32767 _bytes_
+ std::vector<wchar_t> data(512);
bool done = false;
DWORD index = 0;
while(!done)
{
DWORD nameSize = static_cast<DWORD>(sizeof(name));
- DWORD dataSize = static_cast<DWORD>(data.size()-1);
- switch(RegEnumValue(hKey, index, name, &nameSize,
+ DWORD dataSize = static_cast<DWORD>(data.size()*sizeof(data[0]));
+ switch(RegEnumValueW(hKey, index, name, &nameSize,
0, &valueType, (BYTE*)&data[0], &dataSize))
{
case ERROR_SUCCESS:
@@ -1677,7 +1276,7 @@ void cmFindPackageCommand::LoadPackageRegistryWin(bool user,
if(valueType == REG_SZ)
{
data[dataSize] = 0;
- cmsys_ios::stringstream ss(&data[0]);
+ cmsys_ios::stringstream ss(cmsys::Encoding::ToNarrow(&data[0]));
if(!this->CheckPackageRegistryEntry(ss))
{
// The entry is invalid.
@@ -1686,7 +1285,7 @@ void cmFindPackageCommand::LoadPackageRegistryWin(bool user,
}
break;
case ERROR_MORE_DATA:
- data.resize(dataSize+1);
+ data.resize((dataSize+sizeof(data[0])-1)/sizeof(data[0]));
break;
case ERROR_NO_MORE_ITEMS: default: done = true; break;
}
@@ -1696,13 +1295,13 @@ void cmFindPackageCommand::LoadPackageRegistryWin(bool user,
// Remove bad values if possible.
if(user && !bad.empty() &&
- RegOpenKeyEx(HKEY_CURRENT_USER, key.c_str(),
+ RegOpenKeyExW(HKEY_CURRENT_USER, key.c_str(),
0, KEY_SET_VALUE|view, &hKey) == ERROR_SUCCESS)
{
- for(std::set<cmStdString>::const_iterator vi = bad.begin();
+ for(std::set<std::wstring>::const_iterator vi = bad.begin();
vi != bad.end(); ++vi)
{
- RegDeleteValue(hKey, vi->c_str());
+ RegDeleteValueW(hKey, vi->c_str());
}
RegCloseKey(hKey);
}
@@ -1741,7 +1340,7 @@ void cmFindPackageCommand::LoadPackageRegistryDir(std::string const& dir)
cmFindPackageCommandHoldFile holdFile(fname.c_str());
// Load the file.
- std::ifstream fin(fname.c_str(), std::ios::in | cmsys_ios_binary);
+ cmsys::ifstream fin(fname.c_str(), std::ios::in | cmsys_ios_binary);
if(fin && this->CheckPackageRegistryEntry(fin))
{
// The file references an existing package, so release it.
diff --git a/Source/cmFindPackageCommand.h b/Source/cmFindPackageCommand.h
index c380122..0d80e48 100644
--- a/Source/cmFindPackageCommand.h
+++ b/Source/cmFindPackageCommand.h
@@ -51,22 +51,7 @@ public:
*/
virtual const char* GetName() const { return "find_package";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Load settings for an external project.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const;
-
cmTypeMacro(cmFindPackageCommand, cmFindCommon);
-protected:
- virtual void GenerateDocumentation();
private:
void AppendSuccessInformation();
void AppendToFoundProperty(bool found);
@@ -113,7 +98,6 @@ private:
struct OriginalDef { bool exists; std::string value; };
std::map<cmStdString, OriginalDef> OriginalDefs;
- std::string CommandDocumentation;
cmStdString Name;
cmStdString Variable;
cmStdString Version;
@@ -130,10 +114,9 @@ private:
unsigned int VersionFoundPatch;
unsigned int VersionFoundTweak;
unsigned int VersionFoundCount;
- unsigned int RequiredCMakeVersion;
+ cmIML_INT_uint64_t RequiredCMakeVersion;
bool Quiet;
bool Required;
- bool Compatibility_1_6;
bool UseConfigFiles;
bool UseFindModules;
bool NoUserRegistry;
diff --git a/Source/cmFindPathCommand.cxx b/Source/cmFindPathCommand.cxx
index 6a43298..8459995 100644
--- a/Source/cmFindPathCommand.cxx
+++ b/Source/cmFindPathCommand.cxx
@@ -20,51 +20,6 @@ cmFindPathCommand::cmFindPathCommand()
this->IncludeFileInPath = false;
}
-void cmFindPathCommand::GenerateDocumentation()
-{
- this->cmFindBase::GenerateDocumentation();
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "FIND_XXX", "find_path");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "CMAKE_XXX_PATH", "CMAKE_INCLUDE_PATH");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "CMAKE_XXX_MAC_PATH",
- "CMAKE_FRAMEWORK_PATH");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "CMAKE_SYSTEM_XXX_MAC_PATH",
- "CMAKE_SYSTEM_FRAMEWORK_PATH");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "XXX_SYSTEM", "INCLUDE");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "CMAKE_SYSTEM_XXX_PATH",
- "CMAKE_SYSTEM_INCLUDE_PATH");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "SEARCH_XXX_DESC",
- "directory containing the named file");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "SEARCH_XXX", "file in a directory");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "XXX_SUBDIR", "include");
- cmSystemTools::ReplaceString(
- this->GenericDocumentation,
- "XXX_EXTRA_PREFIX_ENTRY",
- " <prefix>/include/<arch> if CMAKE_LIBRARY_ARCHITECTURE is set, and\n");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "CMAKE_FIND_ROOT_PATH_MODE_XXX",
- "CMAKE_FIND_ROOT_PATH_MODE_INCLUDE");
- if(!this->IncludeFileInPath)
- {
- this->GenericDocumentation +=
- "\n"
- "When searching for frameworks, if the file is specified as "
- "A/b.h, then the framework search will look for "
- "A.framework/Headers/b.h. "
- "If that is found the path will be set to the path to the framework. "
- "CMake will convert this to the correct -F option to include the "
- "file. ";
- }
-}
-
// cmFindPathCommand
bool cmFindPathCommand
::InitialPass(std::vector<std::string> const& argsIn, cmExecutionStatus &)
diff --git a/Source/cmFindPathCommand.h b/Source/cmFindPathCommand.h
index 759567d..8df4540 100644
--- a/Source/cmFindPathCommand.h
+++ b/Source/cmFindPathCommand.h
@@ -51,18 +51,8 @@ public:
*/
virtual const char* GetName() const {return "find_path";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Find the directory containing a file.";
- }
-
cmTypeMacro(cmFindPathCommand, cmFindBase);
bool IncludeFileInPath;
-protected:
- virtual void GenerateDocumentation();
private:
std::string FindHeaderInFramework(std::string const& file,
std::string const& dir);
diff --git a/Source/cmFindProgramCommand.cxx b/Source/cmFindProgramCommand.cxx
index 909b333..bb27753 100644
--- a/Source/cmFindProgramCommand.cxx
+++ b/Source/cmFindProgramCommand.cxx
@@ -17,37 +17,6 @@
#include <CoreFoundation/CoreFoundation.h>
#endif
-void cmFindProgramCommand::GenerateDocumentation()
-{
- this->cmFindBase::GenerateDocumentation();
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "FIND_XXX", "find_program");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "CMAKE_XXX_PATH", "CMAKE_PROGRAM_PATH");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "CMAKE_XXX_MAC_PATH",
- "CMAKE_APPBUNDLE_PATH");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "CMAKE_SYSTEM_XXX_MAC_PATH",
- "CMAKE_SYSTEM_APPBUNDLE_PATH");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "XXX_SYSTEM", "");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "CMAKE_SYSTEM_XXX_PATH",
- "CMAKE_SYSTEM_PROGRAM_PATH");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "SEARCH_XXX_DESC", "program");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "SEARCH_XXX", "program");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "XXX_SUBDIR", "[s]bin");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "XXX_EXTRA_PREFIX_ENTRY", "");
- cmSystemTools::ReplaceString(this->GenericDocumentation,
- "CMAKE_FIND_ROOT_PATH_MODE_XXX",
- "CMAKE_FIND_ROOT_PATH_MODE_PROGRAM");
-}
-
// cmFindProgramCommand
bool cmFindProgramCommand
::InitialPass(std::vector<std::string> const& argsIn, cmExecutionStatus &)
diff --git a/Source/cmFindProgramCommand.h b/Source/cmFindProgramCommand.h
index 8350c9b..7f4811c 100644
--- a/Source/cmFindProgramCommand.h
+++ b/Source/cmFindProgramCommand.h
@@ -50,19 +50,10 @@ public:
*/
virtual const char* GetName() const { return "find_program";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Find an executable program.";
- }
-
cmTypeMacro(cmFindProgramCommand, cmFindBase);
protected:
std::string FindProgram(std::vector<std::string> names);
- virtual void GenerateDocumentation();
private:
std::string FindAppBundle(std::vector<std::string> names);
diff --git a/Source/cmForEachCommand.h b/Source/cmForEachCommand.h
index dc47613..e548ba8 100644
--- a/Source/cmForEachCommand.h
+++ b/Source/cmForEachCommand.h
@@ -61,52 +61,6 @@ public:
*/
virtual const char* GetName() const { return "foreach";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Evaluate a group of commands for each value in a list.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " foreach(loop_var arg1 arg2 ...)\n"
- " COMMAND1(ARGS ...)\n"
- " COMMAND2(ARGS ...)\n"
- " ...\n"
- " endforeach(loop_var)\n"
- "All commands between foreach and the matching endforeach are recorded "
- "without being invoked. Once the endforeach is evaluated, the "
- "recorded list of commands is invoked once for each argument listed "
- "in the original foreach command. Before each iteration of the loop "
- "\"${loop_var}\" will be set as a variable with "
- "the current value in the list.\n"
- " foreach(loop_var RANGE total)\n"
- " foreach(loop_var RANGE start stop [step])\n"
- "Foreach can also iterate over a generated range of numbers. "
- "There are three types of this iteration:\n"
- "* When specifying single number, the range will have elements "
- "0 to \"total\".\n"
- "* When specifying two numbers, the range will have elements from "
- "the first number to the second number.\n"
- "* The third optional number is the increment used to iterate from "
- "the first number to the second number."
- "\n"
- " foreach(loop_var IN [LISTS [list1 [...]]]\n"
- " [ITEMS [item1 [...]]])\n"
- "Iterates over a precise list of items. "
- "The LISTS option names list-valued variables to be traversed, "
- "including empty elements (an empty string is a zero-length list). "
- "The ITEMS option ends argument parsing and includes all arguments "
- "following it in the iteration."
- ;
- }
-
cmTypeMacro(cmForEachCommand, cmCommand);
private:
bool HandleInMode(std::vector<std::string> const& args);
diff --git a/Source/cmFunctionCommand.cxx b/Source/cmFunctionCommand.cxx
index a126cd1..85b89d9 100644
--- a/Source/cmFunctionCommand.cxx
+++ b/Source/cmFunctionCommand.cxx
@@ -66,24 +66,6 @@ public:
*/
virtual const char* GetName() const { return this->Args[0].c_str(); }
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- std::string docs = "Function named: ";
- docs += this->GetName();
- return docs.c_str();
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return this->GetTerseDocumentation();
- }
-
cmTypeMacro(cmFunctionHelperCommand, cmCommand);
std::vector<std::string> Args;
diff --git a/Source/cmFunctionCommand.h b/Source/cmFunctionCommand.h
index 0a029dc..a8bd3e7 100644
--- a/Source/cmFunctionCommand.h
+++ b/Source/cmFunctionCommand.h
@@ -59,46 +59,6 @@ public:
*/
virtual const char* GetName() const { return "function";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Start recording a function for later invocation as a command.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " function(<name> [arg1 [arg2 [arg3 ...]]])\n"
- " COMMAND1(ARGS ...)\n"
- " COMMAND2(ARGS ...)\n"
- " ...\n"
- " endfunction(<name>)\n"
- "Define a function named <name> that takes arguments named "
- "arg1 arg2 arg3 (...). Commands listed after function, but before "
- "the matching endfunction, are not invoked until the function "
- "is invoked. When it is invoked, the commands recorded in the "
- "function are first modified by replacing formal parameters (${arg1}) "
- "with the arguments passed, and then invoked as normal commands. In "
- "addition to referencing the formal parameters you can reference "
- "the variable ARGC which will be set to the number of arguments "
- "passed into the function as well as ARGV0 ARGV1 ARGV2 ... which "
- "will have the actual values of the arguments passed in. This "
- "facilitates creating functions with optional arguments. Additionally "
- "ARGV holds the list of all arguments given to the function and ARGN "
- "holds the list of arguments past the last expected argument."
- "\n"
- "A function opens a new scope: see set(var PARENT_SCOPE) for details."
- "\n"
- "See the cmake_policy() command documentation for the behavior of "
- "policies inside functions."
- ;
- }
-
cmTypeMacro(cmFunctionCommand, cmCommand);
};
diff --git a/Source/cmGeneratedFileStream.cxx b/Source/cmGeneratedFileStream.cxx
index 0af0753..34efc15 100644
--- a/Source/cmGeneratedFileStream.cxx
+++ b/Source/cmGeneratedFileStream.cxx
@@ -213,7 +213,7 @@ int cmGeneratedFileStreamBase::CompressFile(const char* oldname,
{
return 0;
}
- FILE* ifs = fopen(oldname, "r");
+ FILE* ifs = cmsys::SystemTools::Fopen(oldname, "r");
if ( !ifs )
{
return 0;
diff --git a/Source/cmGeneratedFileStream.h b/Source/cmGeneratedFileStream.h
index dac9c7b..99f3b47 100644
--- a/Source/cmGeneratedFileStream.h
+++ b/Source/cmGeneratedFileStream.h
@@ -13,6 +13,7 @@
#define cmGeneratedFileStream_h
#include "cmStandardIncludes.h"
+#include <cmsys/FStream.hxx>
#if defined(__sgi) && !defined(__GNUC__)
# pragma set woff 1375 /* base class destructor not virtual */
@@ -77,10 +78,10 @@ protected:
* being updated.
*/
class cmGeneratedFileStream: private cmGeneratedFileStreamBase,
- public std::ofstream
+ public cmsys::ofstream
{
public:
- typedef std::ofstream Stream;
+ typedef cmsys::ofstream Stream;
/**
* This constructor prepares a default stream. The open method must
diff --git a/Source/cmGeneratorExpression.cxx b/Source/cmGeneratorExpression.cxx
index d73c72c..2e66d78 100644
--- a/Source/cmGeneratorExpression.cxx
+++ b/Source/cmGeneratorExpression.cxx
@@ -53,7 +53,7 @@ cmGeneratorExpression::~cmGeneratorExpression()
//----------------------------------------------------------------------------
const char *cmCompiledGeneratorExpression::Evaluate(
cmMakefile* mf, const char* config, bool quiet,
- cmTarget *headTarget,
+ cmTarget const* headTarget,
cmGeneratorExpressionDAGChecker *dagChecker) const
{
return this->Evaluate(mf,
@@ -67,11 +67,11 @@ const char *cmCompiledGeneratorExpression::Evaluate(
//----------------------------------------------------------------------------
const char *cmCompiledGeneratorExpression::Evaluate(
cmMakefile* mf, const char* config, bool quiet,
- cmTarget *headTarget,
- cmTarget *currentTarget,
+ cmTarget const* headTarget,
+ cmTarget const* currentTarget,
cmGeneratorExpressionDAGChecker *dagChecker) const
{
- if (!this->NeedsParsing)
+ if (!this->NeedsEvaluation)
{
return this->Input.c_str();
}
@@ -129,9 +129,9 @@ cmCompiledGeneratorExpression::cmCompiledGeneratorExpression(
cmGeneratorExpressionLexer l;
std::vector<cmGeneratorExpressionToken> tokens =
l.Tokenize(this->Input.c_str());
- this->NeedsParsing = l.GetSawGeneratorExpression();
+ this->NeedsEvaluation = l.GetSawGeneratorExpression();
- if (this->NeedsParsing)
+ if (this->NeedsEvaluation)
{
cmGeneratorExpressionParser p(tokens);
p.Parse(this->Evaluators);
@@ -245,7 +245,7 @@ static void prefixItems(const std::string &content, std::string &result,
result += sep;
sep = ";";
if (!cmSystemTools::FileIsFullPath(ei->c_str())
- && cmGeneratorExpression::Find(*ei) == std::string::npos)
+ && cmGeneratorExpression::Find(*ei) != 0)
{
result += prefix;
}
diff --git a/Source/cmGeneratorExpression.h b/Source/cmGeneratorExpression.h
index c20f130..4992e93 100644
--- a/Source/cmGeneratorExpression.h
+++ b/Source/cmGeneratorExpression.h
@@ -80,12 +80,12 @@ class cmCompiledGeneratorExpression
public:
const char* Evaluate(cmMakefile* mf, const char* config,
bool quiet = false,
- cmTarget *headTarget = 0,
- cmTarget *currentTarget = 0,
+ cmTarget const* headTarget = 0,
+ cmTarget const* currentTarget = 0,
cmGeneratorExpressionDAGChecker *dagChecker = 0) const;
const char* Evaluate(cmMakefile* mf, const char* config,
bool quiet,
- cmTarget *headTarget,
+ cmTarget const* headTarget,
cmGeneratorExpressionDAGChecker *dagChecker) const;
/** Get set of targets found during evaluations. */
@@ -95,7 +95,7 @@ public:
std::set<cmStdString> const& GetSeenTargetProperties() const
{ return this->SeenTargetProperties; }
- std::set<cmTarget*> const& GetAllTargetsSeen() const
+ std::set<cmTarget const*> const& GetAllTargetsSeen() const
{ return this->AllTargetsSeen; }
~cmCompiledGeneratorExpression();
@@ -126,10 +126,10 @@ private:
cmListFileBacktrace Backtrace;
std::vector<cmGeneratorExpressionEvaluator*> Evaluators;
const std::string Input;
- bool NeedsParsing;
+ bool NeedsEvaluation;
mutable std::set<cmTarget*> DependTargets;
- mutable std::set<cmTarget*> AllTargetsSeen;
+ mutable std::set<cmTarget const*> AllTargetsSeen;
mutable std::set<cmStdString> SeenTargetProperties;
mutable std::string Output;
mutable bool HadContextSensitiveCondition;
diff --git a/Source/cmGeneratorExpressionDAGChecker.cxx b/Source/cmGeneratorExpressionDAGChecker.cxx
index 92dc054..e7e1d34 100644
--- a/Source/cmGeneratorExpressionDAGChecker.cxx
+++ b/Source/cmGeneratorExpressionDAGChecker.cxx
@@ -31,7 +31,7 @@ cmGeneratorExpressionDAGChecker::cmGeneratorExpressionDAGChecker(
top = p;
p = p->Parent;
}
- this->CheckResult = this->checkGraph();
+ this->CheckResult = this->CheckGraph();
#define TEST_TRANSITIVE_PROPERTY_METHOD(METHOD) \
top->METHOD () ||
@@ -40,6 +40,7 @@ cmGeneratorExpressionDAGChecker::cmGeneratorExpressionDAGChecker(
CM_FOR_EACH_TRANSITIVE_PROPERTY_METHOD(TEST_TRANSITIVE_PROPERTY_METHOD)
false)
)
+#undef TEST_TRANSITIVE_PROPERTY_METHOD
{
std::map<cmStdString, std::set<cmStdString> >::const_iterator it
= top->Seen.find(target);
@@ -60,13 +61,13 @@ cmGeneratorExpressionDAGChecker::cmGeneratorExpressionDAGChecker(
//----------------------------------------------------------------------------
cmGeneratorExpressionDAGChecker::Result
-cmGeneratorExpressionDAGChecker::check() const
+cmGeneratorExpressionDAGChecker::Check() const
{
return this->CheckResult;
}
//----------------------------------------------------------------------------
-void cmGeneratorExpressionDAGChecker::reportError(
+void cmGeneratorExpressionDAGChecker::ReportError(
cmGeneratorExpressionContext *context,
const std::string &expr)
{
@@ -124,7 +125,7 @@ void cmGeneratorExpressionDAGChecker::reportError(
//----------------------------------------------------------------------------
cmGeneratorExpressionDAGChecker::Result
-cmGeneratorExpressionDAGChecker::checkGraph() const
+cmGeneratorExpressionDAGChecker::CheckGraph() const
{
const cmGeneratorExpressionDAGChecker *parent = this->Parent;
while (parent)
@@ -173,40 +174,42 @@ bool cmGeneratorExpressionDAGChecker::EvaluatingLinkLibraries(const char *tgt)
return (strcmp(prop, "LINK_LIBRARIES") == 0
|| strcmp(prop, "LINK_INTERFACE_LIBRARIES") == 0
|| strcmp(prop, "IMPORTED_LINK_INTERFACE_LIBRARIES") == 0
- || strncmp(prop, "LINK_INTERFACE_LIBRARIES_", 25) == 0
- || strncmp(prop, "IMPORTED_LINK_INTERFACE_LIBRARIES_", 34) == 0)
+ || cmHasLiteralPrefix(prop, "LINK_INTERFACE_LIBRARIES_")
+ || cmHasLiteralPrefix(prop, "IMPORTED_LINK_INTERFACE_LIBRARIES_"))
|| strcmp(prop, "INTERFACE_LINK_LIBRARIES") == 0;
}
-//----------------------------------------------------------------------------
-bool cmGeneratorExpressionDAGChecker::EvaluatingIncludeDirectories() const
-{
- const char *prop = this->Property.c_str();
- return (strcmp(prop, "INCLUDE_DIRECTORIES") == 0
- || strcmp(prop, "INTERFACE_INCLUDE_DIRECTORIES") == 0 );
-}
+enum TransitiveProperty {
+#define DEFINE_ENUM_ENTRY(NAME) NAME,
+ CM_FOR_EACH_TRANSITIVE_PROPERTY_NAME(DEFINE_ENUM_ENTRY)
+#undef DEFINE_ENUM_ENTRY
+ TransitivePropertyTerminal
+};
-//----------------------------------------------------------------------------
-bool
-cmGeneratorExpressionDAGChecker::EvaluatingSystemIncludeDirectories() const
+template<TransitiveProperty>
+bool additionalTest(const char* const)
{
- const char *prop = this->Property.c_str();
- return strcmp(prop, "INTERFACE_SYSTEM_INCLUDE_DIRECTORIES") == 0;
+ return false;
}
-//----------------------------------------------------------------------------
-bool cmGeneratorExpressionDAGChecker::EvaluatingCompileDefinitions() const
+template<>
+bool additionalTest<COMPILE_DEFINITIONS>(const char* const prop)
{
- const char *prop = this->Property.c_str();
- return (strcmp(prop, "COMPILE_DEFINITIONS") == 0
- || strcmp(prop, "INTERFACE_COMPILE_DEFINITIONS") == 0
- || strncmp(prop, "COMPILE_DEFINITIONS_", 20) == 0);
+ return cmHasLiteralPrefix(prop, "COMPILE_DEFINITIONS_");
}
-//----------------------------------------------------------------------------
-bool cmGeneratorExpressionDAGChecker::EvaluatingCompileOptions() const
-{
- const char *prop = this->Property.c_str();
- return (strcmp(prop, "COMPILE_OPTIONS") == 0
- || strcmp(prop, "INTERFACE_COMPILE_OPTIONS") == 0 );
+#define DEFINE_TRANSITIVE_PROPERTY_METHOD(METHOD, PROPERTY) \
+bool cmGeneratorExpressionDAGChecker::METHOD() const \
+{ \
+ const char* const prop = this->Property.c_str(); \
+ if (strcmp(prop, #PROPERTY) == 0 \
+ || strcmp(prop, "INTERFACE_" #PROPERTY) == 0) \
+ { \
+ return true; \
+ } \
+ return additionalTest<PROPERTY>(prop); \
}
+
+CM_FOR_EACH_TRANSITIVE_PROPERTY(DEFINE_TRANSITIVE_PROPERTY_METHOD)
+
+#undef DEFINE_TRANSITIVE_PROPERTY_METHOD
diff --git a/Source/cmGeneratorExpressionDAGChecker.h b/Source/cmGeneratorExpressionDAGChecker.h
index 0b7ef02..b6effa1 100644
--- a/Source/cmGeneratorExpressionDAGChecker.h
+++ b/Source/cmGeneratorExpressionDAGChecker.h
@@ -16,17 +16,25 @@
#include "cmGeneratorExpressionEvaluator.h"
+#define CM_SELECT_BOTH(F, A1, A2) F(A1, A2)
+#define CM_SELECT_FIRST(F, A1, A2) F(A1)
+#define CM_SELECT_SECOND(F, A1, A2) F(A2)
+
+#define CM_FOR_EACH_TRANSITIVE_PROPERTY_IMPL(F, SELECT) \
+ SELECT(F, EvaluatingIncludeDirectories, INCLUDE_DIRECTORIES) \
+ SELECT(F, EvaluatingSystemIncludeDirectories, SYSTEM_INCLUDE_DIRECTORIES) \
+ SELECT(F, EvaluatingCompileDefinitions, COMPILE_DEFINITIONS) \
+ SELECT(F, EvaluatingCompileOptions, COMPILE_OPTIONS) \
+ SELECT(F, EvaluatingAutoUicOptions, AUTOUIC_OPTIONS)
+
+#define CM_FOR_EACH_TRANSITIVE_PROPERTY(F) \
+ CM_FOR_EACH_TRANSITIVE_PROPERTY_IMPL(F, CM_SELECT_BOTH)
+
#define CM_FOR_EACH_TRANSITIVE_PROPERTY_METHOD(F) \
- F(EvaluatingIncludeDirectories) \
- F(EvaluatingSystemIncludeDirectories) \
- F(EvaluatingCompileDefinitions) \
- F(EvaluatingCompileOptions)
+ CM_FOR_EACH_TRANSITIVE_PROPERTY_IMPL(F, CM_SELECT_FIRST)
#define CM_FOR_EACH_TRANSITIVE_PROPERTY_NAME(F) \
- F(INTERFACE_INCLUDE_DIRECTORIES) \
- F(INTERFACE_SYSTEM_INCLUDE_DIRECTORIES) \
- F(INTERFACE_COMPILE_DEFINITIONS) \
- F(INTERFACE_COMPILE_OPTIONS)
+ CM_FOR_EACH_TRANSITIVE_PROPERTY_IMPL(F, CM_SELECT_SECOND)
//----------------------------------------------------------------------------
struct cmGeneratorExpressionDAGChecker
@@ -44,9 +52,9 @@ struct cmGeneratorExpressionDAGChecker
ALREADY_SEEN
};
- Result check() const;
+ Result Check() const;
- void reportError(cmGeneratorExpressionContext *context,
+ void ReportError(cmGeneratorExpressionContext *context,
const std::string &expr);
bool EvaluatingLinkLibraries(const char *tgt = 0);
@@ -54,14 +62,16 @@ struct cmGeneratorExpressionDAGChecker
#define DECLARE_TRANSITIVE_PROPERTY_METHOD(METHOD) \
bool METHOD () const;
-CM_FOR_EACH_TRANSITIVE_PROPERTY_METHOD(DECLARE_TRANSITIVE_PROPERTY_METHOD)
+ CM_FOR_EACH_TRANSITIVE_PROPERTY_METHOD(DECLARE_TRANSITIVE_PROPERTY_METHOD)
+
+#undef DECLARE_TRANSITIVE_PROPERTY_METHOD
bool GetTransitivePropertiesOnly();
void SetTransitivePropertiesOnly()
{ this->TransitivePropertiesOnly = true; }
private:
- Result checkGraph() const;
+ Result CheckGraph() const;
private:
const cmGeneratorExpressionDAGChecker * const Parent;
diff --git a/Source/cmGeneratorExpressionEvaluationFile.cxx b/Source/cmGeneratorExpressionEvaluationFile.cxx
index cab99ed..bf85870 100644
--- a/Source/cmGeneratorExpressionEvaluationFile.cxx
+++ b/Source/cmGeneratorExpressionEvaluationFile.cxx
@@ -13,6 +13,7 @@
#include "cmGeneratorExpressionEvaluationFile.h"
#include "cmMakefile.h"
+#include <cmsys/FStream.hxx>
#include <assert.h>
@@ -78,7 +79,7 @@ void cmGeneratorExpressionEvaluationFile::Generate(const char *config,
this->Files.push_back(outputFileName);
outputFiles[outputFileName] = outputContent;
- std::ofstream fout(outputFileName.c_str());
+ cmsys::ofstream fout(outputFileName.c_str());
if(!fout)
{
@@ -103,7 +104,7 @@ void cmGeneratorExpressionEvaluationFile::Generate()
}
else
{
- std::ifstream fin(this->Input.c_str());
+ cmsys::ifstream fin(this->Input.c_str());
if(!fin)
{
cmOStringStream e;
diff --git a/Source/cmGeneratorExpressionEvaluator.cxx b/Source/cmGeneratorExpressionEvaluator.cxx
index 8b31354..7036992 100644
--- a/Source/cmGeneratorExpressionEvaluator.cxx
+++ b/Source/cmGeneratorExpressionEvaluator.cxx
@@ -19,6 +19,7 @@
#include <cmsys/String.h>
#include <assert.h>
+#include <errno.h>
//----------------------------------------------------------------------------
#if !defined(__SUNPRO_CC) || __SUNPRO_CC > 0x510
@@ -48,7 +49,7 @@ struct cmGeneratorExpressionNode
enum {
DynamicParameters = 0,
OneOrMoreParameters = -1,
- ZeroOrMoreParameters = -2
+ OneOrZeroParameters = -2
};
virtual ~cmGeneratorExpressionNode() {}
@@ -82,7 +83,6 @@ static const struct ZeroNode : public cmGeneratorExpressionNode
const GeneratorExpressionContent *,
cmGeneratorExpressionDAGChecker *) const
{
- // Unreachable
return std::string();
}
} zeroNode;
@@ -94,13 +94,12 @@ static const struct OneNode : public cmGeneratorExpressionNode
virtual bool AcceptsArbitraryContentParameter() const { return true; }
- std::string Evaluate(const std::vector<std::string> &,
+ std::string Evaluate(const std::vector<std::string> &parameters,
cmGeneratorExpressionContext *,
const GeneratorExpressionContent *,
cmGeneratorExpressionDAGChecker *) const
{
- // Unreachable
- return std::string();
+ return parameters.front();
}
} oneNode;
@@ -199,6 +198,140 @@ static const struct StrEqualNode : public cmGeneratorExpressionNode
} strEqualNode;
//----------------------------------------------------------------------------
+static const struct EqualNode : public cmGeneratorExpressionNode
+{
+ EqualNode() {}
+
+ virtual int NumExpectedParameters() const { return 2; }
+
+ std::string Evaluate(const std::vector<std::string> &parameters,
+ cmGeneratorExpressionContext *context,
+ const GeneratorExpressionContent *content,
+ cmGeneratorExpressionDAGChecker *) const
+ {
+ char *pEnd;
+
+ int base = 0;
+ bool flipSign = false;
+
+ const char *lhs = parameters[0].c_str();
+ if (cmHasLiteralPrefix(lhs, "0b") || cmHasLiteralPrefix(lhs, "0B"))
+ {
+ base = 2;
+ lhs += 2;
+ }
+ if (cmHasLiteralPrefix(lhs, "-0b") || cmHasLiteralPrefix(lhs, "-0B"))
+ {
+ base = 2;
+ lhs += 3;
+ flipSign = true;
+ }
+ if (cmHasLiteralPrefix(lhs, "+0b") || cmHasLiteralPrefix(lhs, "+0B"))
+ {
+ base = 2;
+ lhs += 3;
+ }
+
+ long lnum = strtol(lhs, &pEnd, base);
+ if (pEnd == lhs || *pEnd != '\0' || errno == ERANGE)
+ {
+ reportError(context, content->GetOriginalExpression(),
+ "$<EQUAL> parameter " + parameters[0] + " is not a valid integer.");
+ return std::string();
+ }
+
+ if (flipSign)
+ {
+ lnum = -lnum;
+ }
+
+ base = 0;
+ flipSign = false;
+
+ const char *rhs = parameters[1].c_str();
+ if (cmHasLiteralPrefix(rhs, "0b") || cmHasLiteralPrefix(rhs, "0B"))
+ {
+ base = 2;
+ rhs += 2;
+ }
+ if (cmHasLiteralPrefix(rhs, "-0b") || cmHasLiteralPrefix(rhs, "-0B"))
+ {
+ base = 2;
+ rhs += 3;
+ flipSign = true;
+ }
+ if (cmHasLiteralPrefix(rhs, "+0b") || cmHasLiteralPrefix(rhs, "+0B"))
+ {
+ base = 2;
+ rhs += 3;
+ }
+
+ long rnum = strtol(rhs, &pEnd, base);
+ if (pEnd == rhs || *pEnd != '\0' || errno == ERANGE)
+ {
+ reportError(context, content->GetOriginalExpression(),
+ "$<EQUAL> parameter " + parameters[1] + " is not a valid integer.");
+ return std::string();
+ }
+
+ if (flipSign)
+ {
+ rnum = -rnum;
+ }
+
+ return lnum == rnum ? "1" : "0";
+ }
+} equalNode;
+
+//----------------------------------------------------------------------------
+static const struct LowerCaseNode : public cmGeneratorExpressionNode
+{
+ LowerCaseNode() {}
+
+ bool AcceptsArbitraryContentParameter() const { return true; }
+
+ std::string Evaluate(const std::vector<std::string> &parameters,
+ cmGeneratorExpressionContext *,
+ const GeneratorExpressionContent *,
+ cmGeneratorExpressionDAGChecker *) const
+ {
+ return cmSystemTools::LowerCase(parameters.front());
+ }
+} lowerCaseNode;
+
+//----------------------------------------------------------------------------
+static const struct UpperCaseNode : public cmGeneratorExpressionNode
+{
+ UpperCaseNode() {}
+
+ bool AcceptsArbitraryContentParameter() const { return true; }
+
+ std::string Evaluate(const std::vector<std::string> &parameters,
+ cmGeneratorExpressionContext *,
+ const GeneratorExpressionContent *,
+ cmGeneratorExpressionDAGChecker *) const
+ {
+ return cmSystemTools::UpperCase(parameters.front());
+ }
+} upperCaseNode;
+
+//----------------------------------------------------------------------------
+static const struct MakeCIdentifierNode : public cmGeneratorExpressionNode
+{
+ MakeCIdentifierNode() {}
+
+ bool AcceptsArbitraryContentParameter() const { return true; }
+
+ std::string Evaluate(const std::vector<std::string> &parameters,
+ cmGeneratorExpressionContext *,
+ const GeneratorExpressionContent *,
+ cmGeneratorExpressionDAGChecker *) const
+ {
+ return cmSystemTools::MakeCidentifier(parameters.front().c_str());
+ }
+} makeCIdentifierNode;
+
+//----------------------------------------------------------------------------
static const struct Angle_RNode : public cmGeneratorExpressionNode
{
Angle_RNode() {}
@@ -251,7 +384,7 @@ struct CompilerIdNode : public cmGeneratorExpressionNode
{
CompilerIdNode() {}
- virtual int NumExpectedParameters() const { return ZeroOrMoreParameters; }
+ virtual int NumExpectedParameters() const { return OneOrZeroParameters; }
std::string EvaluateWithLanguage(const std::vector<std::string> &parameters,
cmGeneratorExpressionContext *context,
@@ -279,10 +412,32 @@ struct CompilerIdNode : public cmGeneratorExpressionNode
return parameters.front().empty() ? "1" : "0";
}
- if (cmsysString_strcasecmp(parameters.begin()->c_str(), compilerId) == 0)
+ if (strcmp(parameters.begin()->c_str(), compilerId) == 0)
{
return "1";
}
+
+ if (cmsysString_strcasecmp(parameters.begin()->c_str(), compilerId) == 0)
+ {
+ switch(context->Makefile->GetPolicyStatus(cmPolicies::CMP0044))
+ {
+ case cmPolicies::WARN:
+ {
+ cmOStringStream e;
+ e << context->Makefile->GetPolicies()
+ ->GetPolicyWarning(cmPolicies::CMP0044);
+ context->Makefile->GetCMakeInstance()
+ ->IssueMessage(cmake::AUTHOR_WARNING,
+ e.str().c_str(), context->Backtrace);
+ }
+ case cmPolicies::OLD:
+ return "1";
+ case cmPolicies::NEW:
+ case cmPolicies::REQUIRED_ALWAYS:
+ case cmPolicies::REQUIRED_IF_USED:
+ break;
+ }
+ }
return "0";
}
};
@@ -297,17 +452,12 @@ static const struct CCompilerIdNode : public CompilerIdNode
const GeneratorExpressionContent *content,
cmGeneratorExpressionDAGChecker *dagChecker) const
{
- if (parameters.size() != 0 && parameters.size() != 1)
- {
- reportError(context, content->GetOriginalExpression(),
- "$<C_COMPILER_ID> expression requires one or two parameters");
- return std::string();
- }
if (!context->HeadTarget)
{
reportError(context, content->GetOriginalExpression(),
"$<C_COMPILER_ID> may only be used with targets. It may not "
"be used with add_custom_command.");
+ return std::string();
}
return this->EvaluateWithLanguage(parameters, context, content,
dagChecker, "C");
@@ -324,17 +474,12 @@ static const struct CXXCompilerIdNode : public CompilerIdNode
const GeneratorExpressionContent *content,
cmGeneratorExpressionDAGChecker *dagChecker) const
{
- if (parameters.size() != 0 && parameters.size() != 1)
- {
- reportError(context, content->GetOriginalExpression(),
- "$<CXX_COMPILER_ID> expression requires one or two parameters");
- return std::string();
- }
if (!context->HeadTarget)
{
reportError(context, content->GetOriginalExpression(),
"$<CXX_COMPILER_ID> may only be used with targets. It may not "
"be used with add_custom_command.");
+ return std::string();
}
return this->EvaluateWithLanguage(parameters, context, content,
dagChecker, "CXX");
@@ -346,7 +491,7 @@ struct CompilerVersionNode : public cmGeneratorExpressionNode
{
CompilerVersionNode() {}
- virtual int NumExpectedParameters() const { return ZeroOrMoreParameters; }
+ virtual int NumExpectedParameters() const { return OneOrZeroParameters; }
std::string EvaluateWithLanguage(const std::vector<std::string> &parameters,
cmGeneratorExpressionContext *context,
@@ -391,17 +536,12 @@ static const struct CCompilerVersionNode : public CompilerVersionNode
const GeneratorExpressionContent *content,
cmGeneratorExpressionDAGChecker *dagChecker) const
{
- if (parameters.size() != 0 && parameters.size() != 1)
- {
- reportError(context, content->GetOriginalExpression(),
- "$<C_COMPILER_VERSION> expression requires one or two parameters");
- return std::string();
- }
if (!context->HeadTarget)
{
reportError(context, content->GetOriginalExpression(),
"$<C_COMPILER_VERSION> may only be used with targets. It may not "
"be used with add_custom_command.");
+ return std::string();
}
return this->EvaluateWithLanguage(parameters, context, content,
dagChecker, "C");
@@ -418,18 +558,12 @@ static const struct CxxCompilerVersionNode : public CompilerVersionNode
const GeneratorExpressionContent *content,
cmGeneratorExpressionDAGChecker *dagChecker) const
{
- if (parameters.size() != 0 && parameters.size() != 1)
- {
- reportError(context, content->GetOriginalExpression(),
- "$<CXX_COMPILER_VERSION> expression requires one or two "
- "parameters");
- return std::string();
- }
if (!context->HeadTarget)
{
reportError(context, content->GetOriginalExpression(),
"$<CXX_COMPILER_VERSION> may only be used with targets. It may "
"not be used with add_custom_command.");
+ return std::string();
}
return this->EvaluateWithLanguage(parameters, context, content,
dagChecker, "CXX");
@@ -438,6 +572,39 @@ static const struct CxxCompilerVersionNode : public CompilerVersionNode
//----------------------------------------------------------------------------
+struct PlatformIdNode : public cmGeneratorExpressionNode
+{
+ PlatformIdNode() {}
+
+ virtual int NumExpectedParameters() const { return OneOrZeroParameters; }
+
+ std::string Evaluate(const std::vector<std::string> &parameters,
+ cmGeneratorExpressionContext *context,
+ const GeneratorExpressionContent *,
+ cmGeneratorExpressionDAGChecker *) const
+ {
+ const char *platformId = context->Makefile ?
+ context->Makefile->GetSafeDefinition(
+ "CMAKE_SYSTEM_NAME") : "";
+ if (parameters.size() == 0)
+ {
+ return platformId ? platformId : "";
+ }
+
+ if (!platformId)
+ {
+ return parameters.front().empty() ? "1" : "0";
+ }
+
+ if (strcmp(parameters.begin()->c_str(), platformId) == 0)
+ {
+ return "1";
+ }
+ return "0";
+ }
+} platformIdNode;
+
+//----------------------------------------------------------------------------
static const struct VersionGreaterNode : public cmGeneratorExpressionNode
{
VersionGreaterNode() {}
@@ -531,13 +698,17 @@ static const struct ConfigurationTestNode : public cmGeneratorExpressionNode
{
ConfigurationTestNode() {}
- virtual int NumExpectedParameters() const { return 1; }
+ virtual int NumExpectedParameters() const { return OneOrZeroParameters; }
std::string Evaluate(const std::vector<std::string> &parameters,
cmGeneratorExpressionContext *context,
const GeneratorExpressionContent *content,
cmGeneratorExpressionDAGChecker *) const
{
+ if (parameters.empty())
+ {
+ return configurationNode.Evaluate(parameters, context, content, 0);
+ }
cmsys::RegularExpression configValidator;
configValidator.compile("^[A-Za-z0-9_]*$");
if (!configValidator.find(parameters.begin()->c_str()))
@@ -619,7 +790,7 @@ static const struct JoinNode : public cmGeneratorExpressionNode
} joinNode;
#define TRANSITIVE_PROPERTY_NAME(PROPERTY) \
- , #PROPERTY
+ , "INTERFACE_" #PROPERTY
//----------------------------------------------------------------------------
static const char* targetPropertyTransitiveWhitelist[] = {
@@ -627,9 +798,11 @@ static const char* targetPropertyTransitiveWhitelist[] = {
CM_FOR_EACH_TRANSITIVE_PROPERTY_NAME(TRANSITIVE_PROPERTY_NAME)
};
+#undef TRANSITIVE_PROPERTY_NAME
+
std::string getLinkedTargetsContent(const std::vector<std::string> &libraries,
- cmTarget *target,
- cmTarget *headTarget,
+ cmTarget const* target,
+ cmTarget const* headTarget,
cmGeneratorExpressionContext *context,
cmGeneratorExpressionDAGChecker *dagChecker,
const std::string &interfacePropertyName)
@@ -649,7 +822,7 @@ std::string getLinkedTargetsContent(const std::vector<std::string> &libraries,
// self-referencing loop.
continue;
}
- if (context->Makefile->FindTargetToUse(it->c_str()))
+ if (context->Makefile->FindTargetToUse(*it))
{
depString +=
sep + "$<TARGET_PROPERTY:" + *it + "," + interfacePropertyName + ">";
@@ -671,17 +844,6 @@ std::string getLinkedTargetsContent(const std::vector<std::string> &libraries,
}
//----------------------------------------------------------------------------
-struct TransitiveWhitelistCompare
-{
- explicit TransitiveWhitelistCompare(const std::string &needle)
- : Needle(needle) {}
- bool operator() (const char *item)
- { return strcmp(item, this->Needle.c_str()) == 0; }
-private:
- std::string Needle;
-};
-
-//----------------------------------------------------------------------------
static const struct TargetPropertyNode : public cmGeneratorExpressionNode
{
TargetPropertyNode() {}
@@ -704,7 +866,7 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode
cmsys::RegularExpression propertyNameValidator;
propertyNameValidator.compile("^[A-Za-z0-9_]+$");
- cmTarget* target = context->HeadTarget;
+ cmTarget const* target = context->HeadTarget;
std::string propertyName = *parameters.begin();
if (!target && parameters.size() == 1)
@@ -750,18 +912,16 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode
}
if(propertyName == "ALIASED_TARGET")
{
- if(context->Makefile->IsAlias(targetName.c_str()))
+ if(context->Makefile->IsAlias(targetName))
{
- if(cmTarget* tgt =
- context->Makefile->FindTargetToUse(targetName.c_str()))
+ if(cmTarget* tgt = context->Makefile->FindTargetToUse(targetName))
{
return tgt->GetName();
}
}
return "";
}
- target = context->Makefile->FindTargetToUse(
- targetName.c_str());
+ target = context->Makefile->FindTargetToUse(targetName);
if (!target)
{
@@ -821,18 +981,17 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode
content,
dagCheckerParent);
- switch (dagChecker.check())
+ switch (dagChecker.Check())
{
case cmGeneratorExpressionDAGChecker::SELF_REFERENCE:
- dagChecker.reportError(context, content->GetOriginalExpression());
+ dagChecker.ReportError(context, content->GetOriginalExpression());
return std::string();
case cmGeneratorExpressionDAGChecker::CYCLIC_REFERENCE:
// No error. We just skip cyclic references.
return std::string();
case cmGeneratorExpressionDAGChecker::ALREADY_SEEN:
for (size_t i = 1;
- i < (sizeof(targetPropertyTransitiveWhitelist) /
- sizeof(*targetPropertyTransitiveWhitelist));
+ i < cmArraySize(targetPropertyTransitiveWhitelist);
++i)
{
if (targetPropertyTransitiveWhitelist[i] == propertyName)
@@ -866,41 +1025,44 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode
ASSERT_TRANSITIVE_PROPERTY_METHOD)
false);
}
+#undef ASSERT_TRANSITIVE_PROPERTY_METHOD
}
std::string linkedTargetsContent;
std::string interfacePropertyName;
- if (propertyName == "INTERFACE_INCLUDE_DIRECTORIES"
- || propertyName == "INCLUDE_DIRECTORIES")
- {
- interfacePropertyName = "INTERFACE_INCLUDE_DIRECTORIES";
- }
- else if (propertyName == "INTERFACE_SYSTEM_INCLUDE_DIRECTORIES")
- {
- interfacePropertyName = "INTERFACE_SYSTEM_INCLUDE_DIRECTORIES";
- }
- else if (propertyName == "INTERFACE_COMPILE_DEFINITIONS"
- || propertyName == "COMPILE_DEFINITIONS"
- || strncmp(propertyName.c_str(), "COMPILE_DEFINITIONS_", 20) == 0)
- {
- interfacePropertyName = "INTERFACE_COMPILE_DEFINITIONS";
- }
- else if (propertyName == "INTERFACE_COMPILE_OPTIONS"
- || propertyName == "COMPILE_OPTIONS")
+#define POPULATE_INTERFACE_PROPERTY_NAME(prop) \
+ if (propertyName == #prop || propertyName == "INTERFACE_" #prop) \
+ { \
+ interfacePropertyName = "INTERFACE_" #prop; \
+ } \
+ else
+
+ CM_FOR_EACH_TRANSITIVE_PROPERTY_NAME(POPULATE_INTERFACE_PROPERTY_NAME)
+ // Note that the above macro terminates with an else
+ /* else */ if (cmHasLiteralPrefix(propertyName.c_str(),
+ "COMPILE_DEFINITIONS_"))
{
- interfacePropertyName = "INTERFACE_COMPILE_OPTIONS";
+ cmPolicies::PolicyStatus polSt =
+ context->Makefile->GetPolicyStatus(cmPolicies::CMP0043);
+ if (polSt == cmPolicies::WARN || polSt == cmPolicies::OLD)
+ {
+ interfacePropertyName = "INTERFACE_COMPILE_DEFINITIONS";
+ }
}
+#undef POPULATE_INTERFACE_PROPERTY_NAME
+
+ cmTarget const* headTarget = context->HeadTarget
+ ? context->HeadTarget : target;
- cmTarget *headTarget = context->HeadTarget ? context->HeadTarget : target;
+ const char * const *transBegin =
+ cmArrayBegin(targetPropertyTransitiveWhitelist) + 1;
+ const char * const *transEnd =
+ cmArrayEnd(targetPropertyTransitiveWhitelist);
- const char **transBegin = targetPropertyTransitiveWhitelist + 1;
- const char **transEnd = targetPropertyTransitiveWhitelist
- + (sizeof(targetPropertyTransitiveWhitelist) /
- sizeof(*targetPropertyTransitiveWhitelist));
if (std::find_if(transBegin, transEnd,
- TransitiveWhitelistCompare(propertyName)) != transEnd)
+ cmStrCmp(propertyName)) != transEnd)
{
std::vector<std::string> libs;
@@ -916,7 +1078,7 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode
}
}
else if (std::find_if(transBegin, transEnd,
- TransitiveWhitelistCompare(interfacePropertyName)) != transEnd)
+ cmStrCmp(interfacePropertyName)) != transEnd)
{
const cmTarget::LinkImplementation *impl = target->GetLinkImplementation(
context->Config,
@@ -936,7 +1098,8 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode
if (!prop)
{
- if (target->IsImported())
+ if (target->IsImported()
+ || target->GetType() == cmTarget::INTERFACE_LIBRARY)
{
return linkedTargetsContent;
}
@@ -958,13 +1121,56 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode
context->Config);
return propContent ? propContent : "";
}
+ if (target->IsLinkInterfaceDependentNumberMinProperty(propertyName,
+ context->Config))
+ {
+ context->HadContextSensitiveCondition = true;
+ const char *propContent =
+ target->GetLinkInterfaceDependentNumberMinProperty(
+ propertyName,
+ context->Config);
+ return propContent ? propContent : "";
+ }
+ if (target->IsLinkInterfaceDependentNumberMaxProperty(propertyName,
+ context->Config))
+ {
+ context->HadContextSensitiveCondition = true;
+ const char *propContent =
+ target->GetLinkInterfaceDependentNumberMaxProperty(
+ propertyName,
+ context->Config);
+ return propContent ? propContent : "";
+ }
return linkedTargetsContent;
}
+ if (!target->IsImported()
+ && dagCheckerParent && !dagCheckerParent->EvaluatingLinkLibraries())
+ {
+ if (target->IsLinkInterfaceDependentNumberMinProperty(propertyName,
+ context->Config))
+ {
+ context->HadContextSensitiveCondition = true;
+ const char *propContent =
+ target->GetLinkInterfaceDependentNumberMinProperty(
+ propertyName,
+ context->Config);
+ return propContent ? propContent : "";
+ }
+ if (target->IsLinkInterfaceDependentNumberMaxProperty(propertyName,
+ context->Config))
+ {
+ context->HadContextSensitiveCondition = true;
+ const char *propContent =
+ target->GetLinkInterfaceDependentNumberMaxProperty(
+ propertyName,
+ context->Config);
+ return propContent ? propContent : "";
+ }
+ }
for (size_t i = 1;
- i < (sizeof(targetPropertyTransitiveWhitelist) /
- sizeof(*targetPropertyTransitiveWhitelist));
+ i < cmArraySize(targetPropertyTransitiveWhitelist);
++i)
{
if (targetPropertyTransitiveWhitelist[i] == interfacePropertyName)
@@ -1026,7 +1232,8 @@ static const char* targetPolicyWhitelist[] = {
#undef TARGET_POLICY_STRING
};
-cmPolicies::PolicyStatus statusForTarget(cmTarget *tgt, const char *policy)
+cmPolicies::PolicyStatus statusForTarget(cmTarget const* tgt,
+ const char *policy)
{
#define RETURN_POLICY(POLICY) \
if (strcmp(policy, #POLICY) == 0) \
@@ -1080,10 +1287,7 @@ static const struct TargetPolicyNode : public cmGeneratorExpressionNode
context->HadContextSensitiveCondition = true;
- for (size_t i = 1;
- i < (sizeof(targetPolicyWhitelist) /
- sizeof(*targetPolicyWhitelist));
- ++i)
+ for (size_t i = 1; i < cmArraySize(targetPolicyWhitelist); ++i)
{
const char *policy = targetPolicyWhitelist[i];
if (parameters.front() == policy)
@@ -1270,7 +1474,7 @@ struct TargetFilesystemArtifact : public cmGeneratorExpressionNode
"Expression syntax not recognized.");
return std::string();
}
- cmTarget* target = context->Makefile->FindTargetToUse(name.c_str());
+ cmTarget* target = context->Makefile->FindTargetToUse(name);
if(!target)
{
::reportError(context, content->GetOriginalExpression(),
@@ -1356,6 +1560,8 @@ cmGeneratorExpressionNode* GetNode(const std::string &identifier)
return &cCompilerVersionNode;
else if (identifier == "CXX_COMPILER_VERSION")
return &cxxCompilerVersionNode;
+ else if (identifier == "PLATFORM_ID")
+ return &platformIdNode;
else if (identifier == "CONFIGURATION")
return &configurationNode;
else if (identifier == "CONFIG")
@@ -1380,6 +1586,14 @@ cmGeneratorExpressionNode* GetNode(const std::string &identifier)
return &targetSoNameFileDirNode;
else if (identifier == "STREQUAL")
return &strEqualNode;
+ else if (identifier == "EQUAL")
+ return &equalNode;
+ else if (identifier == "LOWER_CASE")
+ return &lowerCaseNode;
+ else if (identifier == "UPPER_CASE")
+ return &upperCaseNode;
+ else if (identifier == "MAKE_C_IDENTIFIER")
+ return &makeCIdentifierNode;
else if (identifier == "BOOL")
return &boolNode;
else if (identifier == "ANGLE-R")
@@ -1411,7 +1625,7 @@ cmGeneratorExpressionNode* GetNode(const std::string &identifier)
//----------------------------------------------------------------------------
GeneratorExpressionContent::GeneratorExpressionContent(
const char *startContent,
- unsigned int length)
+ size_t length)
: StartContent(startContent), ContentLength(length)
{
@@ -1524,14 +1738,6 @@ std::string GeneratorExpressionContent::Evaluate(
return std::string();
}
- if (node->NumExpectedParameters() == 1
- && node->AcceptsArbitraryContentParameter())
- {
- return this->ProcessArbitraryContent(node, identifier, context,
- dagChecker,
- this->ParamChildren.begin());
- }
-
std::vector<std::string> parameters;
this->EvaluateParameters(node, identifier, context, dagChecker, parameters);
if (context->HadError)
@@ -1559,33 +1765,35 @@ std::string GeneratorExpressionContent::EvaluateParameters(
pend = this->ParamChildren.end();
const bool acceptsArbitraryContent
= node->AcceptsArbitraryContentParameter();
- for ( ; pit != pend; ++pit)
+ int counter = 1;
+ for ( ; pit != pend; ++pit, ++counter)
{
- std::string parameter;
- std::vector<cmGeneratorExpressionEvaluator*>::const_iterator it =
- pit->begin();
- const std::vector<cmGeneratorExpressionEvaluator*>::const_iterator end =
- pit->end();
- for ( ; it != end; ++it)
- {
- parameter += (*it)->Evaluate(context, dagChecker);
- if (context->HadError)
- {
- return std::string();
- }
- }
- parameters.push_back(parameter);
- if (acceptsArbitraryContent
- && parameters.size() == (unsigned int)numExpected - 1)
+ if (acceptsArbitraryContent && counter == numExpected)
{
- assert(pit != pend);
std::string lastParam = this->ProcessArbitraryContent(node, identifier,
context,
dagChecker,
- pit + 1);
+ pit);
parameters.push_back(lastParam);
return std::string();
}
+ else
+ {
+ std::string parameter;
+ std::vector<cmGeneratorExpressionEvaluator*>::const_iterator it =
+ pit->begin();
+ const std::vector<cmGeneratorExpressionEvaluator*>::const_iterator end =
+ pit->end();
+ for ( ; it != end; ++it)
+ {
+ parameter += (*it)->Evaluate(context, dagChecker);
+ if (context->HadError)
+ {
+ return std::string();
+ }
+ }
+ parameters.push_back(parameter);
+ }
}
}
@@ -1621,6 +1829,12 @@ std::string GeneratorExpressionContent::EvaluateParameters(
reportError(context, this->GetOriginalExpression(), "$<" + identifier
+ "> expression requires at least one parameter.");
}
+ if (numExpected == cmGeneratorExpressionNode::OneOrZeroParameters
+ && parameters.size() > 1)
+ {
+ reportError(context, this->GetOriginalExpression(), "$<" + identifier
+ + "> expression requires one or zero parameters.");
+ }
return std::string();
}
diff --git a/Source/cmGeneratorExpressionEvaluator.h b/Source/cmGeneratorExpressionEvaluator.h
index 218abf1..49e52df 100644
--- a/Source/cmGeneratorExpressionEvaluator.h
+++ b/Source/cmGeneratorExpressionEvaluator.h
@@ -24,13 +24,13 @@ struct cmGeneratorExpressionContext
{
cmListFileBacktrace Backtrace;
std::set<cmTarget*> DependTargets;
- std::set<cmTarget*> AllTargets;
+ std::set<cmTarget const*> AllTargets;
std::set<cmStdString> SeenTargetProperties;
cmMakefile *Makefile;
const char *Config;
- cmTarget *HeadTarget; // The target whose property is being evaluated.
- cmTarget *CurrentTarget; // The dependent of HeadTarget which appears
- // directly or indirectly in the property.
+ cmTarget const* HeadTarget; // The target whose property is being evaluated.
+ cmTarget const* CurrentTarget; // The dependent of HeadTarget which appears
+ // directly or indirectly in the property.
bool Quiet;
bool HadError;
bool HadContextSensitiveCondition;
@@ -63,7 +63,7 @@ private:
struct TextContent : public cmGeneratorExpressionEvaluator
{
- TextContent(const char *start, unsigned int length)
+ TextContent(const char *start, size_t length)
: Content(start), Length(length)
{
@@ -80,25 +80,25 @@ struct TextContent : public cmGeneratorExpressionEvaluator
return cmGeneratorExpressionEvaluator::Text;
}
- void Extend(unsigned int length)
+ void Extend(size_t length)
{
this->Length += length;
}
- unsigned int GetLength()
+ size_t GetLength()
{
return this->Length;
}
private:
const char *Content;
- unsigned int Length;
+ size_t Length;
};
//----------------------------------------------------------------------------
struct GeneratorExpressionContent : public cmGeneratorExpressionEvaluator
{
- GeneratorExpressionContent(const char *startContent, unsigned int length);
+ GeneratorExpressionContent(const char *startContent, size_t length);
void SetIdentifier(std::vector<cmGeneratorExpressionEvaluator*> identifier)
{
this->IdentifierChildren = identifier;
@@ -141,7 +141,7 @@ private:
std::vector<cmGeneratorExpressionEvaluator*> IdentifierChildren;
std::vector<std::vector<cmGeneratorExpressionEvaluator*> > ParamChildren;
const char *StartContent;
- unsigned int ContentLength;
+ size_t ContentLength;
};
#endif
diff --git a/Source/cmGeneratorExpressionLexer.h b/Source/cmGeneratorExpressionLexer.h
index 5f16712..83d661d 100644
--- a/Source/cmGeneratorExpressionLexer.h
+++ b/Source/cmGeneratorExpressionLexer.h
@@ -19,7 +19,7 @@
//----------------------------------------------------------------------------
struct cmGeneratorExpressionToken
{
- cmGeneratorExpressionToken(unsigned type, const char *c, unsigned l)
+ cmGeneratorExpressionToken(unsigned type, const char *c, size_t l)
: TokenType(type), Content(c), Length(l)
{
}
@@ -32,7 +32,7 @@ struct cmGeneratorExpressionToken
};
unsigned TokenType;
const char *Content;
- unsigned Length;
+ size_t Length;
};
/** \class cmGeneratorExpressionLexer
diff --git a/Source/cmGeneratorExpressionParser.cxx b/Source/cmGeneratorExpressionParser.cxx
index e1fb8f1..a41a6e5 100644
--- a/Source/cmGeneratorExpressionParser.cxx
+++ b/Source/cmGeneratorExpressionParser.cxx
@@ -235,7 +235,7 @@ void cmGeneratorExpressionParser::ParseGeneratorExpression(
return;
}
- int contentLength = ((this->it - 1)->Content
+ size_t contentLength = ((this->it - 1)->Content
- startToken->Content)
+ (this->it - 1)->Length;
GeneratorExpressionContent *content = new GeneratorExpressionContent(
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 62ac263..175bb0e 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -18,6 +18,11 @@
#include "cmSourceFile.h"
#include "cmGeneratorExpression.h"
#include "cmGeneratorExpressionDAGChecker.h"
+#include "cmComputeLinkInformation.h"
+
+#include <queue>
+
+#include "assert.h"
//----------------------------------------------------------------------------
cmGeneratorTarget::cmGeneratorTarget(cmTarget* t): Target(t)
@@ -25,8 +30,6 @@ cmGeneratorTarget::cmGeneratorTarget(cmTarget* t): Target(t)
this->Makefile = this->Target->GetMakefile();
this->LocalGenerator = this->Makefile->GetLocalGenerator();
this->GlobalGenerator = this->LocalGenerator->GetGlobalGenerator();
- this->ClassifySources();
- this->LookupObjectLibraries();
}
//----------------------------------------------------------------------------
@@ -42,15 +45,146 @@ const char *cmGeneratorTarget::GetName() const
}
//----------------------------------------------------------------------------
-const char *cmGeneratorTarget::GetProperty(const char *prop)
+const char *cmGeneratorTarget::GetProperty(const char *prop) const
{
return this->Target->GetProperty(prop);
}
//----------------------------------------------------------------------------
+std::vector<cmSourceFile*> const*
+cmGeneratorTarget::GetSourceDepends(cmSourceFile* sf) const
+{
+ SourceEntriesType::const_iterator i = this->SourceEntries.find(sf);
+ if(i != this->SourceEntries.end())
+ {
+ return &i->second.Depends;
+ }
+ return 0;
+}
+
+static void handleSystemIncludesDep(cmMakefile *mf, const std::string &name,
+ const char *config, cmTarget *headTarget,
+ cmGeneratorExpressionDAGChecker *dagChecker,
+ std::vector<std::string>& result,
+ bool excludeImported)
+{
+ cmTarget* depTgt = mf->FindTargetToUse(name);
+
+ if (!depTgt)
+ {
+ return;
+ }
+
+ cmListFileBacktrace lfbt;
+
+ if (const char* dirs =
+ depTgt->GetProperty("INTERFACE_SYSTEM_INCLUDE_DIRECTORIES"))
+ {
+ cmGeneratorExpression ge(lfbt);
+ cmSystemTools::ExpandListArgument(ge.Parse(dirs)
+ ->Evaluate(mf,
+ config, false, headTarget,
+ depTgt, dagChecker), result);
+ }
+ if (!depTgt->IsImported() || excludeImported)
+ {
+ return;
+ }
+
+ if (const char* dirs =
+ depTgt->GetProperty("INTERFACE_INCLUDE_DIRECTORIES"))
+ {
+ cmGeneratorExpression ge(lfbt);
+ cmSystemTools::ExpandListArgument(ge.Parse(dirs)
+ ->Evaluate(mf,
+ config, false, headTarget,
+ depTgt, dagChecker), result);
+ }
+}
+
+//----------------------------------------------------------------------------
+void
+cmGeneratorTarget::GetObjectSources(std::vector<cmSourceFile*> &objs) const
+{
+ objs = this->ObjectSources;
+}
+
+//----------------------------------------------------------------------------
+const std::string& cmGeneratorTarget::GetObjectName(cmSourceFile const* file)
+{
+ return this->Objects[file];
+}
+
+void cmGeneratorTarget::AddObject(cmSourceFile *sf, std::string const&name)
+{
+ this->Objects[sf] = name;
+}
+
+//----------------------------------------------------------------------------
+void cmGeneratorTarget::AddExplicitObjectName(cmSourceFile* sf)
+{
+ this->ExplicitObjectName.insert(sf);
+}
+
+//----------------------------------------------------------------------------
+bool cmGeneratorTarget::HasExplicitObjectName(cmSourceFile const* file) const
+{
+ std::set<cmSourceFile const*>::const_iterator it
+ = this->ExplicitObjectName.find(file);
+ return it != this->ExplicitObjectName.end();
+}
+
+//----------------------------------------------------------------------------
+void cmGeneratorTarget::GetResxSources(std::vector<cmSourceFile*>& srcs) const
+{
+ srcs = this->ResxSources;
+}
+
+//----------------------------------------------------------------------------
+void cmGeneratorTarget::GetIDLSources(std::vector<cmSourceFile*>& srcs) const
+{
+ srcs = this->IDLSources;
+}
+
+//----------------------------------------------------------------------------
+void
+cmGeneratorTarget::GetHeaderSources(std::vector<cmSourceFile*>& srcs) const
+{
+ srcs = this->HeaderSources;
+}
+
+//----------------------------------------------------------------------------
+void cmGeneratorTarget::GetExtraSources(std::vector<cmSourceFile*>& srcs) const
+{
+ srcs = this->ExtraSources;
+}
+
+//----------------------------------------------------------------------------
+void
+cmGeneratorTarget::GetCustomCommands(std::vector<cmSourceFile*>& srcs) const
+{
+ srcs = this->CustomCommands;
+}
+
+//----------------------------------------------------------------------------
+void
+cmGeneratorTarget::GetExpectedResxHeaders(std::set<std::string>& srcs) const
+{
+ srcs = this->ExpectedResxHeaders;
+}
+
+//----------------------------------------------------------------------------
+void
+cmGeneratorTarget::GetExternalObjects(std::vector<cmSourceFile*>& srcs) const
+{
+ srcs = this->ExternalObjects;
+}
+
+//----------------------------------------------------------------------------
bool cmGeneratorTarget::IsSystemIncludeDirectory(const char *dir,
- const char *config)
+ const char *config) const
{
+ assert(this->GetType() != cmTarget::INTERFACE_LIBRARY);
std::string config_upper;
if(config && *config)
{
@@ -58,65 +192,114 @@ bool cmGeneratorTarget::IsSystemIncludeDirectory(const char *dir,
}
typedef std::map<std::string, std::vector<std::string> > IncludeCacheType;
- IncludeCacheType::iterator iter =
+ IncludeCacheType::const_iterator iter =
this->SystemIncludesCache.find(config_upper);
if (iter == this->SystemIncludesCache.end())
{
+ cmTarget::LinkImplementation const* impl
+ = this->Target->GetLinkImplementation(config, this->Target);
+ if(!impl)
+ {
+ return false;
+ }
+
+ cmListFileBacktrace lfbt;
+ cmGeneratorExpressionDAGChecker dagChecker(lfbt,
+ this->GetName(),
+ "SYSTEM_INCLUDE_DIRECTORIES", 0, 0);
+
+ bool excludeImported
+ = this->Target->GetPropertyAsBool("NO_SYSTEM_FROM_IMPORTED");
+
std::vector<std::string> result;
for (std::set<cmStdString>::const_iterator
it = this->Target->GetSystemIncludeDirectories().begin();
it != this->Target->GetSystemIncludeDirectories().end(); ++it)
{
- cmListFileBacktrace lfbt;
cmGeneratorExpression ge(lfbt);
+ cmSystemTools::ExpandListArgument(ge.Parse(*it)
+ ->Evaluate(this->Makefile,
+ config, false, this->Target,
+ &dagChecker), result);
+ }
+
+ std::set<cmStdString> uniqueDeps;
+ for(std::vector<std::string>::const_iterator li = impl->Libraries.begin();
+ li != impl->Libraries.end(); ++li)
+ {
+ if (uniqueDeps.insert(*li).second)
+ {
+ cmTarget* tgt = this->Makefile->FindTargetToUse(*li);
- cmGeneratorExpressionDAGChecker dagChecker(lfbt,
- this->GetName(),
- "INTERFACE_SYSTEM_INCLUDE_DIRECTORIES", 0, 0);
+ if (!tgt)
+ {
+ continue;
+ }
- cmSystemTools::ExpandListArgument(ge.Parse(*it)
- ->Evaluate(this->Makefile,
- config, false, this->Target,
- &dagChecker), result);
+ handleSystemIncludesDep(this->Makefile, *li, config, this->Target,
+ &dagChecker, result, excludeImported);
+
+ std::vector<std::string> deps;
+ tgt->GetTransitivePropertyLinkLibraries(config, this->Target, deps);
+
+ for(std::vector<std::string>::const_iterator di = deps.begin();
+ di != deps.end(); ++di)
+ {
+ if (uniqueDeps.insert(*di).second)
+ {
+ handleSystemIncludesDep(this->Makefile, *di, config, this->Target,
+ &dagChecker, result, excludeImported);
+ }
+ }
+ }
}
+ std::set<cmStdString> unique;
for(std::vector<std::string>::iterator li = result.begin();
li != result.end(); ++li)
{
cmSystemTools::ConvertToUnixSlashes(*li);
+ unique.insert(*li);
+ }
+ result.clear();
+ for(std::set<cmStdString>::iterator li = unique.begin();
+ li != unique.end(); ++li)
+ {
+ result.push_back(*li);
}
IncludeCacheType::value_type entry(config_upper, result);
iter = this->SystemIncludesCache.insert(entry).first;
}
- if (std::find(iter->second.begin(),
- iter->second.end(), dir) != iter->second.end())
- {
- return true;
- }
- return false;
+ std::string dirString = dir;
+ return std::binary_search(iter->second.begin(), iter->second.end(),
+ dirString);
}
//----------------------------------------------------------------------------
-bool cmGeneratorTarget::GetPropertyAsBool(const char *prop)
+bool cmGeneratorTarget::GetPropertyAsBool(const char *prop) const
{
return this->Target->GetPropertyAsBool(prop);
}
//----------------------------------------------------------------------------
-std::vector<cmSourceFile*> const& cmGeneratorTarget::GetSourceFiles()
+void cmGeneratorTarget::GetSourceFiles(std::vector<cmSourceFile*> &files) const
{
- return this->Target->GetSourceFiles();
+ this->Target->GetSourceFiles(files);
}
//----------------------------------------------------------------------------
void cmGeneratorTarget::ClassifySources()
{
cmsys::RegularExpression header(CM_HEADER_REGEX);
- bool isObjLib = this->Target->GetType() == cmTarget::OBJECT_LIBRARY;
+
+ cmTarget::TargetType targetType = this->Target->GetType();
+ bool isObjLib = targetType == cmTarget::OBJECT_LIBRARY;
+
std::vector<cmSourceFile*> badObjLib;
- std::vector<cmSourceFile*> const& sources = this->Target->GetSourceFiles();
+ std::vector<cmSourceFile*> sources;
+ this->Target->GetSourceFiles(sources);
for(std::vector<cmSourceFile*>::const_iterator si = sources.begin();
si != sources.end(); ++si)
{
@@ -126,6 +309,10 @@ void cmGeneratorTarget::ClassifySources()
{
this->CustomCommands.push_back(sf);
}
+ else if(targetType == cmTarget::UTILITY)
+ {
+ this->ExtraSources.push_back(sf);
+ }
else if(sf->GetPropertyAsBool("HEADER_FILE_ONLY"))
{
this->HeaderSources.push_back(sf);
@@ -207,7 +394,7 @@ void cmGeneratorTarget::LookupObjectLibraries()
oli != objLibs.end(); ++oli)
{
std::string const& objLibName = *oli;
- if(cmTarget* objLib = this->Makefile->FindTargetToUse(objLibName.c_str()))
+ if(cmTarget* objLib = this->Makefile->FindTargetToUse(objLibName))
{
if(objLib->GetType() == cmTarget::OBJECT_LIBRARY)
{
@@ -251,7 +438,8 @@ void cmGeneratorTarget::LookupObjectLibraries()
}
//----------------------------------------------------------------------------
-void cmGeneratorTarget::UseObjectLibraries(std::vector<std::string>& objs)
+void
+cmGeneratorTarget::UseObjectLibraries(std::vector<std::string>& objs) const
{
for(std::vector<cmTarget*>::const_iterator
ti = this->ObjectLibraries.begin();
@@ -272,8 +460,291 @@ void cmGeneratorTarget::UseObjectLibraries(std::vector<std::string>& objs)
}
//----------------------------------------------------------------------------
+class cmTargetTraceDependencies
+{
+public:
+ cmTargetTraceDependencies(cmGeneratorTarget* target);
+ void Trace();
+private:
+ cmTarget* Target;
+ cmGeneratorTarget* GeneratorTarget;
+ cmMakefile* Makefile;
+ cmGlobalGenerator const* GlobalGenerator;
+ typedef cmGeneratorTarget::SourceEntry SourceEntry;
+ SourceEntry* CurrentEntry;
+ std::queue<cmSourceFile*> SourceQueue;
+ std::set<cmSourceFile*> SourcesQueued;
+ typedef std::map<cmStdString, cmSourceFile*> NameMapType;
+ NameMapType NameMap;
+
+ void QueueSource(cmSourceFile* sf);
+ void FollowName(std::string const& name);
+ void FollowNames(std::vector<std::string> const& names);
+ bool IsUtility(std::string const& dep);
+ void CheckCustomCommand(cmCustomCommand const& cc);
+ void CheckCustomCommands(const std::vector<cmCustomCommand>& commands);
+};
+
+//----------------------------------------------------------------------------
+cmTargetTraceDependencies
+::cmTargetTraceDependencies(cmGeneratorTarget* target):
+ Target(target->Target), GeneratorTarget(target)
+{
+ // Convenience.
+ this->Makefile = this->Target->GetMakefile();
+ this->GlobalGenerator =
+ this->Makefile->GetLocalGenerator()->GetGlobalGenerator();
+ this->CurrentEntry = 0;
+
+ // Queue all the source files already specified for the target.
+ std::vector<cmSourceFile*> sources;
+ if (this->Target->GetType() != cmTarget::INTERFACE_LIBRARY)
+ {
+ this->Target->GetSourceFiles(sources);
+ for(std::vector<cmSourceFile*>::const_iterator si = sources.begin();
+ si != sources.end(); ++si)
+ {
+ this->QueueSource(*si);
+ }
+ }
+
+ // Queue pre-build, pre-link, and post-build rule dependencies.
+ this->CheckCustomCommands(this->Target->GetPreBuildCommands());
+ this->CheckCustomCommands(this->Target->GetPreLinkCommands());
+ this->CheckCustomCommands(this->Target->GetPostBuildCommands());
+}
+
+//----------------------------------------------------------------------------
+void cmTargetTraceDependencies::Trace()
+{
+ // Process one dependency at a time until the queue is empty.
+ while(!this->SourceQueue.empty())
+ {
+ // Get the next source from the queue.
+ cmSourceFile* sf = this->SourceQueue.front();
+ this->SourceQueue.pop();
+ this->CurrentEntry = &this->GeneratorTarget->SourceEntries[sf];
+
+ // Queue dependencies added explicitly by the user.
+ if(const char* additionalDeps = sf->GetProperty("OBJECT_DEPENDS"))
+ {
+ std::vector<std::string> objDeps;
+ cmSystemTools::ExpandListArgument(additionalDeps, objDeps);
+ this->FollowNames(objDeps);
+ }
+
+ // Queue the source needed to generate this file, if any.
+ this->FollowName(sf->GetFullPath());
+
+ // Queue dependencies added programatically by commands.
+ this->FollowNames(sf->GetDepends());
+
+ // Queue custom command dependencies.
+ if(cmCustomCommand const* cc = sf->GetCustomCommand())
+ {
+ this->CheckCustomCommand(*cc);
+ }
+ }
+ this->CurrentEntry = 0;
+}
+
+//----------------------------------------------------------------------------
+void cmTargetTraceDependencies::QueueSource(cmSourceFile* sf)
+{
+ if(this->SourcesQueued.insert(sf).second)
+ {
+ this->SourceQueue.push(sf);
+
+ // Make sure this file is in the target.
+ this->Target->AddSourceFile(sf);
+ }
+}
+
+//----------------------------------------------------------------------------
+void cmTargetTraceDependencies::FollowName(std::string const& name)
+{
+ NameMapType::iterator i = this->NameMap.find(name);
+ if(i == this->NameMap.end())
+ {
+ // Check if we know how to generate this file.
+ cmSourceFile* sf = this->Makefile->GetSourceFileWithOutput(name.c_str());
+ NameMapType::value_type entry(name, sf);
+ i = this->NameMap.insert(entry).first;
+ }
+ if(cmSourceFile* sf = i->second)
+ {
+ // Record the dependency we just followed.
+ if(this->CurrentEntry)
+ {
+ this->CurrentEntry->Depends.push_back(sf);
+ }
+
+ this->QueueSource(sf);
+ }
+}
+
+//----------------------------------------------------------------------------
+void
+cmTargetTraceDependencies::FollowNames(std::vector<std::string> const& names)
+{
+ for(std::vector<std::string>::const_iterator i = names.begin();
+ i != names.end(); ++i)
+ {
+ this->FollowName(*i);
+ }
+}
+
+//----------------------------------------------------------------------------
+bool cmTargetTraceDependencies::IsUtility(std::string const& dep)
+{
+ // Dependencies on targets (utilities) are supposed to be named by
+ // just the target name. However for compatibility we support
+ // naming the output file generated by the target (assuming there is
+ // no output-name property which old code would not have set). In
+ // that case the target name will be the file basename of the
+ // dependency.
+ std::string util = cmSystemTools::GetFilenameName(dep);
+ if(cmSystemTools::GetFilenameLastExtension(util) == ".exe")
+ {
+ util = cmSystemTools::GetFilenameWithoutLastExtension(util);
+ }
+
+ // Check for a target with this name.
+ if(cmTarget* t = this->Makefile->FindTargetToUse(util))
+ {
+ // If we find the target and the dep was given as a full path,
+ // then make sure it was not a full path to something else, and
+ // the fact that the name matched a target was just a coincidence.
+ if(cmSystemTools::FileIsFullPath(dep.c_str()))
+ {
+ if(t->GetType() >= cmTarget::EXECUTABLE &&
+ t->GetType() <= cmTarget::MODULE_LIBRARY)
+ {
+ // This is really only for compatibility so we do not need to
+ // worry about configuration names and output names.
+ std::string tLocation = t->GetLocation(0);
+ tLocation = cmSystemTools::GetFilenamePath(tLocation);
+ std::string depLocation = cmSystemTools::GetFilenamePath(dep);
+ depLocation = cmSystemTools::CollapseFullPath(depLocation.c_str());
+ tLocation = cmSystemTools::CollapseFullPath(tLocation.c_str());
+ if(depLocation == tLocation)
+ {
+ this->Target->AddUtility(util.c_str());
+ return true;
+ }
+ }
+ }
+ else
+ {
+ // The original name of the dependency was not a full path. It
+ // must name a target, so add the target-level dependency.
+ this->Target->AddUtility(util.c_str());
+ return true;
+ }
+ }
+
+ // The dependency does not name a target built in this project.
+ return false;
+}
+
+//----------------------------------------------------------------------------
+void
+cmTargetTraceDependencies
+::CheckCustomCommand(cmCustomCommand const& cc)
+{
+ // Transform command names that reference targets built in this
+ // project to corresponding target-level dependencies.
+ cmGeneratorExpression ge(cc.GetBacktrace());
+
+ // Add target-level dependencies referenced by generator expressions.
+ std::set<cmTarget*> targets;
+
+ for(cmCustomCommandLines::const_iterator cit = cc.GetCommandLines().begin();
+ cit != cc.GetCommandLines().end(); ++cit)
+ {
+ std::string const& command = *cit->begin();
+ // Check for a target with this name.
+ if(cmTarget* t = this->Makefile->FindTargetToUse(command))
+ {
+ if(t->GetType() == cmTarget::EXECUTABLE)
+ {
+ // The command refers to an executable target built in
+ // this project. Add the target-level dependency to make
+ // sure the executable is up to date before this custom
+ // command possibly runs.
+ this->Target->AddUtility(command.c_str());
+ }
+ }
+
+ // Check for target references in generator expressions.
+ for(cmCustomCommandLine::const_iterator cli = cit->begin();
+ cli != cit->end(); ++cli)
+ {
+ const cmsys::auto_ptr<cmCompiledGeneratorExpression> cge
+ = ge.Parse(*cli);
+ cge->Evaluate(this->Makefile, 0, true);
+ std::set<cmTarget*> geTargets = cge->GetTargets();
+ for(std::set<cmTarget*>::const_iterator it = geTargets.begin();
+ it != geTargets.end(); ++it)
+ {
+ targets.insert(*it);
+ }
+ }
+ }
+
+ for(std::set<cmTarget*>::iterator ti = targets.begin();
+ ti != targets.end(); ++ti)
+ {
+ this->Target->AddUtility((*ti)->GetName());
+ }
+
+ // Queue the custom command dependencies.
+ std::vector<std::string> const& depends = cc.GetDepends();
+ for(std::vector<std::string>::const_iterator di = depends.begin();
+ di != depends.end(); ++di)
+ {
+ std::string const& dep = *di;
+ if(!this->IsUtility(dep))
+ {
+ // The dependency does not name a target and may be a file we
+ // know how to generate. Queue it.
+ this->FollowName(dep);
+ }
+ }
+}
+
+//----------------------------------------------------------------------------
+void
+cmTargetTraceDependencies
+::CheckCustomCommands(const std::vector<cmCustomCommand>& commands)
+{
+ for(std::vector<cmCustomCommand>::const_iterator cli = commands.begin();
+ cli != commands.end(); ++cli)
+ {
+ this->CheckCustomCommand(*cli);
+ }
+}
+
+//----------------------------------------------------------------------------
+void cmGeneratorTarget::TraceDependencies()
+{
+ // CMake-generated targets have no dependencies to trace. Normally tracing
+ // would find nothing anyway, but when building CMake itself the "install"
+ // target command ends up referencing the "cmake" target but we do not
+ // really want the dependency because "install" depend on "all" anyway.
+ if(this->GetType() == cmTarget::GLOBAL_TARGET)
+ {
+ return;
+ }
+
+ // Use a helper object to trace the dependencies.
+ cmTargetTraceDependencies tracer(this);
+ tracer.Trace();
+}
+
+//----------------------------------------------------------------------------
void cmGeneratorTarget::GetAppleArchs(const char* config,
- std::vector<std::string>& archVec)
+ std::vector<std::string>& archVec) const
{
const char* archs = 0;
if(config && *config)
@@ -293,7 +764,7 @@ void cmGeneratorTarget::GetAppleArchs(const char* config,
}
//----------------------------------------------------------------------------
-const char* cmGeneratorTarget::GetCreateRuleVariable()
+const char* cmGeneratorTarget::GetCreateRuleVariable() const
{
switch(this->GetType())
{
@@ -312,8 +783,96 @@ const char* cmGeneratorTarget::GetCreateRuleVariable()
}
//----------------------------------------------------------------------------
-std::vector<std::string> cmGeneratorTarget::GetIncludeDirectories(
- const char *config)
+std::vector<std::string>
+cmGeneratorTarget::GetIncludeDirectories(const char *config) const
{
return this->Target->GetIncludeDirectories(config);
}
+
+//----------------------------------------------------------------------------
+void cmGeneratorTarget::GenerateTargetManifest(const char* config) const
+{
+ if (this->Target->IsImported())
+ {
+ return;
+ }
+ cmMakefile* mf = this->Target->GetMakefile();
+ cmLocalGenerator* lg = mf->GetLocalGenerator();
+ cmGlobalGenerator* gg = lg->GetGlobalGenerator();
+
+ // Get the names.
+ std::string name;
+ std::string soName;
+ std::string realName;
+ std::string impName;
+ std::string pdbName;
+ if(this->GetType() == cmTarget::EXECUTABLE)
+ {
+ this->Target->GetExecutableNames(name, realName, impName, pdbName,
+ config);
+ }
+ else if(this->GetType() == cmTarget::STATIC_LIBRARY ||
+ this->GetType() == cmTarget::SHARED_LIBRARY ||
+ this->GetType() == cmTarget::MODULE_LIBRARY)
+ {
+ this->Target->GetLibraryNames(name, soName, realName, impName, pdbName,
+ config);
+ }
+ else
+ {
+ return;
+ }
+
+ // Get the directory.
+ std::string dir = this->Target->GetDirectory(config, false);
+
+ // Add each name.
+ std::string f;
+ if(!name.empty())
+ {
+ f = dir;
+ f += "/";
+ f += name;
+ gg->AddToManifest(config? config:"", f);
+ }
+ if(!soName.empty())
+ {
+ f = dir;
+ f += "/";
+ f += soName;
+ gg->AddToManifest(config? config:"", f);
+ }
+ if(!realName.empty())
+ {
+ f = dir;
+ f += "/";
+ f += realName;
+ gg->AddToManifest(config? config:"", f);
+ }
+ if(!pdbName.empty())
+ {
+ f = dir;
+ f += "/";
+ f += pdbName;
+ gg->AddToManifest(config? config:"", f);
+ }
+ if(!impName.empty())
+ {
+ f = this->Target->GetDirectory(config, true);
+ f += "/";
+ f += impName;
+ gg->AddToManifest(config? config:"", f);
+ }
+}
+
+bool cmStrictTargetComparison::operator()(cmTarget const* t1,
+ cmTarget const* t2) const
+{
+ int nameResult = strcmp(t1->GetName(), t2->GetName());
+ if (nameResult == 0)
+ {
+ return strcmp(t1->GetMakefile()->GetStartOutputDirectory(),
+ t2->GetMakefile()->GetStartOutputDirectory()) < 0;
+ }
+ return nameResult < 0;
+}
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index dedfa60..a4caba1 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -28,62 +28,95 @@ public:
int GetType() const;
const char *GetName() const;
- const char *GetProperty(const char *prop);
- bool GetPropertyAsBool(const char *prop);
- std::vector<cmSourceFile*> const& GetSourceFiles();
+ const char *GetProperty(const char *prop) const;
+ bool GetPropertyAsBool(const char *prop) const;
+ void GetSourceFiles(std::vector<cmSourceFile*>& files) const;
+
+ void GetObjectSources(std::vector<cmSourceFile*> &) const;
+ const std::string& GetObjectName(cmSourceFile const* file);
+
+ void AddObject(cmSourceFile *sf, std::string const&name);
+ bool HasExplicitObjectName(cmSourceFile const* file) const;
+ void AddExplicitObjectName(cmSourceFile* sf);
+
+ void GetResxSources(std::vector<cmSourceFile*>&) const;
+ void GetIDLSources(std::vector<cmSourceFile*>&) const;
+ void GetExternalObjects(std::vector<cmSourceFile*>&) const;
+ void GetHeaderSources(std::vector<cmSourceFile*>&) const;
+ void GetExtraSources(std::vector<cmSourceFile*>&) const;
+ void GetCustomCommands(std::vector<cmSourceFile*>&) const;
+ void GetExpectedResxHeaders(std::set<std::string>&) const;
cmTarget* Target;
cmMakefile* Makefile;
cmLocalGenerator* LocalGenerator;
- cmGlobalGenerator* GlobalGenerator;
-
- /** Sources classified by purpose. */
- std::vector<cmSourceFile*> CustomCommands;
- std::vector<cmSourceFile*> ExtraSources;
- std::vector<cmSourceFile*> HeaderSources;
- std::vector<cmSourceFile*> ObjectSources;
- std::vector<cmSourceFile*> ExternalObjects;
- std::vector<cmSourceFile*> IDLSources;
- std::vector<cmSourceFile*> ResxSources;
+ cmGlobalGenerator const* GlobalGenerator;
std::string ModuleDefinitionFile;
- std::map<cmSourceFile const*, std::string> Objects;
- std::set<cmSourceFile const*> ExplicitObjectName;
-
- std::set<std::string> ExpectedResxHeaders;
-
/** Full path with trailing slash to the top-level directory
holding object files for this target. Includes the build
time config name placeholder if needed for the generator. */
std::string ObjectDirectory;
- std::vector<cmTarget*> ObjectLibraries;
-
- void UseObjectLibraries(std::vector<std::string>& objs);
+ void UseObjectLibraries(std::vector<std::string>& objs) const;
void GetAppleArchs(const char* config,
- std::vector<std::string>& archVec);
+ std::vector<std::string>& archVec) const;
///! Return the rule variable used to create this type of target,
// need to add CMAKE_(LANG) for full name.
- const char* GetCreateRuleVariable();
+ const char* GetCreateRuleVariable() const;
/** Get the include directories for this target. */
- std::vector<std::string> GetIncludeDirectories(const char *config);
+ std::vector<std::string> GetIncludeDirectories(const char *config) const;
- bool IsSystemIncludeDirectory(const char *dir, const char *config);
+ bool IsSystemIncludeDirectory(const char *dir, const char *config) const;
+
+ /** Add the target output files to the global generator manifest. */
+ void GenerateTargetManifest(const char* config) const;
+
+ /**
+ * Trace through the source files in this target and add al source files
+ * that they depend on, used by all generators
+ */
+ void TraceDependencies();
-private:
void ClassifySources();
void LookupObjectLibraries();
- std::map<std::string, std::vector<std::string> > SystemIncludesCache;
+ /** Get sources that must be built before the given source. */
+ std::vector<cmSourceFile*> const* GetSourceDepends(cmSourceFile* sf) const;
+
+private:
+ friend class cmTargetTraceDependencies;
+ struct SourceEntry { std::vector<cmSourceFile*> Depends; };
+ typedef std::map<cmSourceFile*, SourceEntry> SourceEntriesType;
+ SourceEntriesType SourceEntries;
+
+ std::vector<cmSourceFile*> CustomCommands;
+ std::vector<cmSourceFile*> ExtraSources;
+ std::vector<cmSourceFile*> HeaderSources;
+ std::vector<cmSourceFile*> ExternalObjects;
+ std::vector<cmSourceFile*> IDLSources;
+ std::vector<cmSourceFile*> ResxSources;
+ std::map<cmSourceFile const*, std::string> Objects;
+ std::set<cmSourceFile const*> ExplicitObjectName;
+ std::set<std::string> ExpectedResxHeaders;
+ std::vector<cmSourceFile*> ObjectSources;
+ std::vector<cmTarget*> ObjectLibraries;
+ mutable std::map<std::string, std::vector<std::string> > SystemIncludesCache;
cmGeneratorTarget(cmGeneratorTarget const&);
void operator=(cmGeneratorTarget const&);
};
-typedef std::map<cmTarget*, cmGeneratorTarget*> cmGeneratorTargetsType;
+struct cmStrictTargetComparison {
+ bool operator()(cmTarget const* t1, cmTarget const* t2) const;
+};
+
+typedef std::map<cmTarget const*,
+ cmGeneratorTarget*,
+ cmStrictTargetComparison> cmGeneratorTargetsType;
#endif
diff --git a/Source/cmGetCMakePropertyCommand.h b/Source/cmGetCMakePropertyCommand.h
index b77eaae..6c58bb4 100644
--- a/Source/cmGetCMakePropertyCommand.h
+++ b/Source/cmGetCMakePropertyCommand.h
@@ -39,31 +39,6 @@ public:
*/
virtual const char* GetName() const { return "get_cmake_property";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Get a property of the CMake instance.";
- }
-
- /**
- * Longer documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " get_cmake_property(VAR property)\n"
- "Get a property from the CMake instance. "
- "The value of the property is stored in the variable VAR. "
- "If the property is not found, VAR will be set to \"NOTFOUND\". "
- "Some supported properties "
- "include: VARIABLES, CACHE_VARIABLES, COMMANDS, MACROS, and "
- "COMPONENTS."
- "\n"
- "See also the more general get_property() command.";
- }
-
cmTypeMacro(cmGetCMakePropertyCommand, cmCommand);
};
diff --git a/Source/cmGetDirectoryPropertyCommand.h b/Source/cmGetDirectoryPropertyCommand.h
index d0d5820..aea04ad 100644
--- a/Source/cmGetDirectoryPropertyCommand.h
+++ b/Source/cmGetDirectoryPropertyCommand.h
@@ -39,37 +39,6 @@ public:
*/
virtual const char* GetName() const { return "get_directory_property";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Get a property of DIRECTORY scope.";
- }
-
- /**
- * Longer documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " get_directory_property(<variable> [DIRECTORY <dir>] <prop-name>)\n"
- "Store a property of directory scope in the named variable. "
- "If the property is not defined the empty-string is returned. "
- "The DIRECTORY argument specifies another directory from which "
- "to retrieve the property value. "
- "The specified directory must have already been traversed by "
- "CMake."
- "\n"
- " get_directory_property(<variable> [DIRECTORY <dir>]\n"
- " DEFINITION <var-name>)\n"
- "Get a variable definition from a directory. "
- "This form is useful to get a variable definition from another "
- "directory."
- "\n"
- "See also the more general get_property() command.";
- }
-
cmTypeMacro(cmGetDirectoryPropertyCommand, cmCommand);
};
diff --git a/Source/cmGetFilenameComponentCommand.h b/Source/cmGetFilenameComponentCommand.h
index 09af332..e2cd219 100644
--- a/Source/cmGetFilenameComponentCommand.h
+++ b/Source/cmGetFilenameComponentCommand.h
@@ -48,43 +48,6 @@ public:
*/
virtual const char* GetName() const { return "get_filename_component";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Get a specific component of a full filename.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " get_filename_component(<VAR> <FileName> <COMP> [CACHE])\n"
- "Set <VAR> to a component of <FileName>, where <COMP> is one of:\n"
- " DIRECTORY = Directory without file name\n"
- " NAME = File name without directory\n"
- " EXT = File name longest extension (.b.c from d/a.b.c)\n"
- " NAME_WE = File name without directory or longest extension\n"
- " ABSOLUTE = Full path to file\n"
- " REALPATH = Full path to existing file with symlinks resolved\n"
- " PATH = Legacy alias for DIRECTORY (use for CMake <= 2.8.11)\n"
- "Paths are returned with forward slashes and have no trailing slahes. "
- "The longest file extension is always considered. "
- "If the optional CACHE argument is specified, the result variable is "
- "added to the cache.\n"
- " get_filename_component(<VAR> FileName\n"
- " PROGRAM [PROGRAM_ARGS <ARG_VAR>]\n"
- " [CACHE])\n"
- "The program in FileName will be found in the system search path or "
- "left as a full path. If PROGRAM_ARGS is present with PROGRAM, then "
- "any command-line arguments present in the FileName string are split "
- "from the program name and stored in <ARG_VAR>. This is used to "
- "separate a program name from its arguments in a command line string.";
- }
-
cmTypeMacro(cmGetFilenameComponentCommand, cmCommand);
};
diff --git a/Source/cmGetPropertyCommand.cxx b/Source/cmGetPropertyCommand.cxx
index faba7cd..33c43ca 100644
--- a/Source/cmGetPropertyCommand.cxx
+++ b/Source/cmGetPropertyCommand.cxx
@@ -290,17 +290,17 @@ bool cmGetPropertyCommand::HandleTargetMode()
if(this->PropertyName == "ALIASED_TARGET")
{
- if(this->Makefile->IsAlias(this->Name.c_str()))
+ if(this->Makefile->IsAlias(this->Name))
{
if(cmTarget* target =
- this->Makefile->FindTargetToUse(this->Name.c_str()))
+ this->Makefile->FindTargetToUse(this->Name))
{
return this->StoreResult(target->GetName());
}
}
- return false;
+ return this->StoreResult((this->Variable + "-NOTFOUND").c_str());
}
- if(cmTarget* target = this->Makefile->FindTargetToUse(this->Name.c_str()))
+ if(cmTarget* target = this->Makefile->FindTargetToUse(this->Name))
{
return this->StoreResult(target->GetProperty(this->PropertyName.c_str()));
}
diff --git a/Source/cmGetPropertyCommand.h b/Source/cmGetPropertyCommand.h
index 3c597fd..e1630ff 100644
--- a/Source/cmGetPropertyCommand.h
+++ b/Source/cmGetPropertyCommand.h
@@ -41,58 +41,6 @@ public:
*/
virtual const char* GetName() const { return "get_property";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Get a property.";
- }
-
- /**
- * Longer documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " get_property(<variable>\n"
- " <GLOBAL |\n"
- " DIRECTORY [dir] |\n"
- " TARGET <target> |\n"
- " SOURCE <source> |\n"
- " TEST <test> |\n"
- " CACHE <entry> |\n"
- " VARIABLE>\n"
- " PROPERTY <name>\n"
- " [SET | DEFINED | BRIEF_DOCS | FULL_DOCS])\n"
- "Get one property from one object in a scope. "
- "The first argument specifies the variable in which to store the "
- "result. "
- "The second argument determines the scope from which to get the "
- "property. It must be one of the following:\n"
- "GLOBAL scope is unique and does not accept a name.\n"
- "DIRECTORY scope defaults to the current directory but another "
- "directory (already processed by CMake) may be named by full or "
- "relative path.\n"
- "TARGET scope must name one existing target.\n"
- "SOURCE scope must name one source file.\n"
- "TEST scope must name one existing test.\n"
- "CACHE scope must name one cache entry.\n"
- "VARIABLE scope is unique and does not accept a name.\n"
- "The required PROPERTY option is immediately followed by the name "
- "of the property to get. "
- "If the property is not set an empty value is returned. "
- "If the SET option is given the variable is set to a boolean "
- "value indicating whether the property has been set. "
- "If the DEFINED option is given the variable is set to a boolean "
- "value indicating whether the property has been defined "
- "such as with define_property. "
- "If BRIEF_DOCS or FULL_DOCS is given then the variable is set to "
- "a string containing documentation for the requested property. "
- "If documentation is requested for a property that has not been "
- "defined NOTFOUND is returned.";
- }
-
cmTypeMacro(cmGetPropertyCommand, cmCommand);
private:
enum OutType { OutValue, OutDefined, OutBriefDoc, OutFullDoc, OutSet };
diff --git a/Source/cmGetSourceFilePropertyCommand.h b/Source/cmGetSourceFilePropertyCommand.h
index 2ba8103..338318e 100644
--- a/Source/cmGetSourceFilePropertyCommand.h
+++ b/Source/cmGetSourceFilePropertyCommand.h
@@ -34,30 +34,6 @@ public:
*/
virtual const char* GetName() const { return "get_source_file_property";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Get a property for a source file.";
- }
-
- /**
- * Longer documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " get_source_file_property(VAR file property)\n"
- "Get a property from a source file. The value of the property is "
- "stored in the variable VAR. If the property is not found, VAR "
- "will be set to \"NOTFOUND\". Use set_source_files_properties to set "
- "property values. Source file properties usually control how the "
- "file is built. One property that is always there is LOCATION"
- "\n"
- "See also the more general get_property() command.";
- }
-
cmTypeMacro(cmGetSourceFilePropertyCommand, cmCommand);
};
diff --git a/Source/cmGetTargetPropertyCommand.cxx b/Source/cmGetTargetPropertyCommand.cxx
index 02f00a5..4aa49fe 100644
--- a/Source/cmGetTargetPropertyCommand.cxx
+++ b/Source/cmGetTargetPropertyCommand.cxx
@@ -21,7 +21,7 @@ bool cmGetTargetPropertyCommand
return false;
}
std::string var = args[0].c_str();
- const char* targetName = args[1].c_str();
+ const std::string& targetName = args[1];
const char *prop = 0;
if(args[2] == "ALIASED_TARGET")
@@ -40,7 +40,36 @@ bool cmGetTargetPropertyCommand
cmTarget& target = *tgt;
prop = target.GetProperty(args[2].c_str());
}
-
+ else
+ {
+ bool issueMessage = false;
+ cmOStringStream e;
+ cmake::MessageType messageType = cmake::AUTHOR_WARNING;
+ switch(this->Makefile->GetPolicyStatus(cmPolicies::CMP0045))
+ {
+ case cmPolicies::WARN:
+ issueMessage = true;
+ e << this->Makefile->GetPolicies()
+ ->GetPolicyWarning(cmPolicies::CMP0045) << "\n";
+ case cmPolicies::OLD:
+ break;
+ case cmPolicies::REQUIRED_IF_USED:
+ case cmPolicies::REQUIRED_ALWAYS:
+ case cmPolicies::NEW:
+ issueMessage = true;
+ messageType = cmake::FATAL_ERROR;
+ }
+ if (issueMessage)
+ {
+ e << "get_target_property() called with non-existent target \""
+ << targetName << "\".";
+ this->Makefile->IssueMessage(messageType, e.str().c_str());
+ if (messageType == cmake::FATAL_ERROR)
+ {
+ return false;
+ }
+ }
+ }
if (prop)
{
this->Makefile->AddDefinition(var.c_str(), prop);
diff --git a/Source/cmGetTargetPropertyCommand.h b/Source/cmGetTargetPropertyCommand.h
index f5e1aa7..4985b3c 100644
--- a/Source/cmGetTargetPropertyCommand.h
+++ b/Source/cmGetTargetPropertyCommand.h
@@ -34,32 +34,6 @@ public:
*/
virtual const char* GetName() const { return "get_target_property";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Get a property from a target.";
- }
-
- /**
- * Longer documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " get_target_property(VAR target property)\n"
- "Get a property from a target. The value of the property is "
- "stored in the variable VAR. If the property is not found, VAR "
- "will be set to \"NOTFOUND\". Use set_target_properties to set "
- "property values. Properties are usually used to control how "
- "a target is built, but some query the target instead. "
- "This command can get properties for any target so far created. "
- "The targets do not need to be in the current CMakeLists.txt file."
- "\n"
- "See also the more general get_property() command.";
- }
-
cmTypeMacro(cmGetTargetPropertyCommand, cmCommand);
};
diff --git a/Source/cmGetTestPropertyCommand.h b/Source/cmGetTestPropertyCommand.h
index 01f54d9..2dccabe 100644
--- a/Source/cmGetTestPropertyCommand.h
+++ b/Source/cmGetTestPropertyCommand.h
@@ -34,29 +34,6 @@ public:
*/
virtual const char* GetName() const { return "get_test_property";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Get a property of the test.";
- }
-
- /**
- * Longer documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " get_test_property(test property VAR)\n"
- "Get a property from the Test. The value of the property is "
- "stored in the variable VAR. If the property is not found, VAR "
- "will be set to \"NOTFOUND\". For a list of standard properties "
- "you can type cmake --help-property-list"
- "\n"
- "See also the more general get_property() command.";
- }
-
cmTypeMacro(cmGetTestPropertyCommand, cmCommand);
};
diff --git a/Source/cmGlobalBorlandMakefileGenerator.cxx b/Source/cmGlobalBorlandMakefileGenerator.cxx
index 2a7d61d..6c20952 100644
--- a/Source/cmGlobalBorlandMakefileGenerator.cxx
+++ b/Source/cmGlobalBorlandMakefileGenerator.cxx
@@ -59,5 +59,4 @@ void cmGlobalBorlandMakefileGenerator
{
entry.Name = cmGlobalBorlandMakefileGenerator::GetActualName();
entry.Brief = "Generates Borland makefiles.";
- entry.Full = "";
}
diff --git a/Source/cmGlobalBorlandMakefileGenerator.h b/Source/cmGlobalBorlandMakefileGenerator.h
index bd3db3e..70004ea 100644
--- a/Source/cmGlobalBorlandMakefileGenerator.h
+++ b/Source/cmGlobalBorlandMakefileGenerator.h
@@ -44,6 +44,8 @@ public:
*/
virtual void EnableLanguage(std::vector<std::string>const& languages,
cmMakefile *, bool optional);
+
+ virtual bool AllowNotParallel() const { return false; }
};
#endif
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index f297c4a..beb10da 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -18,7 +18,7 @@
#include "cmExternalMakefileProjectGenerator.h"
#include "cmake.h"
#include "cmMakefile.h"
-#include "cmQtAutomoc.h"
+#include "cmQtAutoGenerators.h"
#include "cmSourceFile.h"
#include "cmVersion.h"
#include "cmTargetExport.h"
@@ -27,8 +27,10 @@
#include "cmGeneratorTarget.h"
#include "cmGeneratorExpression.h"
#include "cmGeneratorExpressionEvaluationFile.h"
+#include "cmExportBuildFileGenerator.h"
#include <cmsys/Directory.hxx>
+#include <cmsys/FStream.hxx>
#if defined(CMAKE_BUILD_WITH_CMAKE)
# include <cmsys/MD5.h>
@@ -65,26 +67,12 @@ cmGlobalGenerator::cmGlobalGenerator()
cmGlobalGenerator::~cmGlobalGenerator()
{
- // Delete any existing cmLocalGenerators
- for (unsigned int i = 0; i < this->LocalGenerators.size(); ++i)
- {
- delete this->LocalGenerators[i];
- }
- for(std::vector<cmGeneratorExpressionEvaluationFile*>::const_iterator
- li = this->EvaluationFiles.begin();
- li != this->EvaluationFiles.end();
- ++li)
- {
- delete *li;
- }
- this->LocalGenerators.clear();
+ this->ClearGeneratorMembers();
if (this->ExtraGenerator)
{
delete this->ExtraGenerator;
}
-
- this->ClearGeneratorTargets();
}
bool cmGlobalGenerator::SetGeneratorToolset(std::string const& ts)
@@ -101,9 +89,29 @@ bool cmGlobalGenerator::SetGeneratorToolset(std::string const& ts)
return false;
}
+std::string cmGlobalGenerator::SelectMakeProgram(const char* makeProgram,
+ std::string makeDefault) const
+{
+ if(cmSystemTools::IsOff(makeProgram))
+ {
+ makeProgram =
+ this->CMakeInstance->GetCacheDefinition("CMAKE_MAKE_PROGRAM");
+ if(cmSystemTools::IsOff(makeProgram))
+ {
+ makeProgram = makeDefault.c_str();
+ }
+ if(cmSystemTools::IsOff(makeProgram) &&
+ !(makeProgram && *makeProgram))
+ {
+ makeProgram = "CMAKE_MAKE_PROGRAM-NOTFOUND";
+ }
+ }
+ return makeProgram;
+}
+
void cmGlobalGenerator::ResolveLanguageCompiler(const std::string &lang,
cmMakefile *mf,
- bool optional)
+ bool optional) const
{
std::string langComp = "CMAKE_";
langComp += lang;
@@ -131,24 +139,24 @@ void cmGlobalGenerator::ResolveLanguageCompiler(const std::string &lang,
if((path.size() == 0 || !cmSystemTools::FileExists(path.c_str()))
&& (optional==false))
{
- std::string message = "your ";
- message += lang;
- message += " compiler: \"";
- message += name;
- message += "\" was not found. Please set ";
- message += langComp;
- message += " to a valid compiler path or name.";
- cmSystemTools::Error(message.c_str());
- path = name;
+ return;
}
std::string doc = lang;
doc += " compiler.";
const char* cname = this->GetCMakeInstance()->
GetCacheManager()->GetCacheValue(langComp.c_str());
std::string changeVars;
- if(cname && (path != cname) && (optional==false))
+ if(cname && !optional)
{
- std::string cnameString = cname;
+ std::string cnameString;
+ if(!cmSystemTools::FileIsFullPath(cname))
+ {
+ cnameString = cmSystemTools::FindProgram(cname);
+ }
+ else
+ {
+ cnameString = cname;
+ }
std::string pathString = path;
// get rid of potentially multiple slashes:
cmSystemTools::ConvertToUnixSlashes(cnameString);
@@ -175,6 +183,46 @@ void cmGlobalGenerator::ResolveLanguageCompiler(const std::string &lang,
doc.c_str(), cmCacheManager::FILEPATH);
}
+void cmGlobalGenerator::AddBuildExportSet(cmExportBuildFileGenerator* gen)
+{
+ this->BuildExportSets[gen->GetMainExportFileName()] = gen;
+}
+
+void
+cmGlobalGenerator::AddBuildExportExportSet(cmExportBuildFileGenerator* gen)
+{
+ this->BuildExportSets[gen->GetMainExportFileName()] = gen;
+ this->BuildExportExportSets[gen->GetMainExportFileName()] = gen;
+}
+
+bool cmGlobalGenerator::GenerateImportFile(const std::string &file)
+{
+ std::map<std::string, cmExportBuildFileGenerator*>::iterator it
+ = this->BuildExportSets.find(file);
+ if (it != this->BuildExportSets.end())
+ {
+ bool result = it->second->GenerateImportFile();
+ delete it->second;
+ it->second = 0;
+ this->BuildExportSets.erase(it);
+ return result;
+ }
+ return false;
+}
+
+bool
+cmGlobalGenerator::IsExportedTargetsFile(const std::string &filename) const
+{
+ const std::map<std::string, cmExportBuildFileGenerator*>::const_iterator it
+ = this->BuildExportSets.find(filename);
+ if (it == this->BuildExportSets.end())
+ {
+ return false;
+ }
+ return this->BuildExportExportSets.find(filename)
+ == this->BuildExportExportSets.end();
+}
+
// Find the make program for the generator, required for try compiles
void cmGlobalGenerator::FindMakeProgram(cmMakefile* mf)
{
@@ -291,7 +339,7 @@ void cmGlobalGenerator::FindMakeProgram(cmMakefile* mf)
void
cmGlobalGenerator::EnableLanguage(std::vector<std::string>const& languages,
- cmMakefile *mf, bool)
+ cmMakefile *mf, bool optional)
{
if(languages.size() == 0)
{
@@ -327,6 +375,8 @@ cmGlobalGenerator::EnableLanguage(std::vector<std::string>const& languages,
}
}
+ bool fatalError = false;
+
mf->AddDefinition("RUN_CONFIGURE", true);
std::string rootBin = mf->GetHomeOutputDirectory();
rootBin += cmake::GetCMakeFilesDirectory();
@@ -513,6 +563,65 @@ cmGlobalGenerator::EnableLanguage(std::vector<std::string>const& languages,
this->SetLanguageEnabled("NONE", mf);
continue;
}
+
+ // Check that the compiler was found.
+ std::string compilerName = "CMAKE_";
+ compilerName += lang;
+ compilerName += "_COMPILER";
+ std::string compilerEnv = "CMAKE_";
+ compilerEnv += lang;
+ compilerEnv += "_COMPILER_ENV_VAR";
+ cmOStringStream noCompiler;
+ const char* compilerFile = mf->GetDefinition(compilerName.c_str());
+ if(!compilerFile || !*compilerFile ||
+ cmSystemTools::IsNOTFOUND(compilerFile))
+ {
+ noCompiler <<
+ "No " << compilerName << " could be found.\n"
+ ;
+ }
+ else if(strcmp(lang, "RC") != 0)
+ {
+ if(!cmSystemTools::FileIsFullPath(compilerFile))
+ {
+ noCompiler <<
+ "The " << compilerName << ":\n"
+ " " << compilerFile << "\n"
+ "is not a full path and was not found in the PATH.\n"
+ ;
+ }
+ else if(!cmSystemTools::FileExists(compilerFile))
+ {
+ noCompiler <<
+ "The " << compilerName << ":\n"
+ " " << compilerFile << "\n"
+ "is not a full path to an existing compiler tool.\n"
+ ;
+ }
+ }
+ if(!noCompiler.str().empty())
+ {
+ // Skip testing this language since the compiler is not found.
+ needTestLanguage[lang] = false;
+ if(!optional)
+ {
+ // The compiler was not found and it is not optional. Remove
+ // CMake(LANG)Compiler.cmake so we try again next time CMake runs.
+ std::string compilerLangFile = rootBin;
+ compilerLangFile += "/CMake";
+ compilerLangFile += lang;
+ compilerLangFile += "Compiler.cmake";
+ cmSystemTools::RemoveFile(compilerLangFile.c_str());
+ if(!this->CMakeInstance->GetIsInTryCompile())
+ {
+ this->PrintCompilerAdvice(noCompiler, lang,
+ mf->GetDefinition(compilerEnv.c_str()));
+ mf->IssueMessage(cmake::FATAL_ERROR, noCompiler.str());
+ fatalError = true;
+ }
+ }
+ }
+
std::string langLoadedVar = "CMAKE_";
langLoadedVar += lang;
langLoadedVar += "_INFORMATION_LOADED";
@@ -539,26 +648,12 @@ cmGlobalGenerator::EnableLanguage(std::vector<std::string>const& languages,
}
this->LanguagesReady.insert(lang);
- std::string compilerName = "CMAKE_";
- compilerName += lang;
- compilerName += "_COMPILER";
- std::string compilerLangFile = rootBin;
- compilerLangFile += "/CMake";
- compilerLangFile += lang;
- compilerLangFile += "Compiler.cmake";
// Test the compiler for the language just setup
// (but only if a compiler has been actually found)
// At this point we should have enough info for a try compile
// which is used in the backward stuff
// If the language is untested then test it now with a try compile.
- if (!mf->IsSet(compilerName.c_str()))
- {
- // if the compiler did not work, then remove the
- // CMake(LANG)Compiler.cmake file so that it will get tested the
- // next time cmake is run
- cmSystemTools::RemoveFile(compilerLangFile.c_str());
- }
- else if(needTestLanguage[lang])
+ if(needTestLanguage[lang])
{
if (!this->CMakeInstance->GetIsInTryCompile())
{
@@ -579,31 +674,12 @@ cmGlobalGenerator::EnableLanguage(std::vector<std::string>const& languages,
// next time cmake is run
if(!mf->IsOn(compilerWorks.c_str()))
{
+ std::string compilerLangFile = rootBin;
+ compilerLangFile += "/CMake";
+ compilerLangFile += lang;
+ compilerLangFile += "Compiler.cmake";
cmSystemTools::RemoveFile(compilerLangFile.c_str());
}
- else
- {
- // load backwards compatibility stuff for C and CXX
- // for old versions of CMake ListFiles C and CXX had some
- // backwards compatibility files they have to load
- // These files have a bunch of try compiles in them so
- // should only be done
- if (mf->NeedBackwardsCompatibility(1,4))
- {
- if(strcmp(lang, "C") == 0)
- {
- ifpath =
- mf->GetModulesFile("CMakeBackwardCompatibilityC.cmake");
- mf->ReadListFile(0,ifpath.c_str());
- }
- if(strcmp(lang, "CXX") == 0)
- {
- ifpath =
- mf->GetModulesFile("CMakeBackwardCompatibilityCXX.cmake");
- mf->ReadListFile(0,ifpath.c_str());
- }
- }
- }
} // end if in try compile
} // end need test language
// Store the shared library flags so that we can satisfy CMP0018
@@ -616,6 +692,9 @@ cmGlobalGenerator::EnableLanguage(std::vector<std::string>const& languages,
{
this->LanguageToOriginalSharedLibFlags[lang] = sharedLibFlags;
}
+
+ // Translate compiler ids for compatibility.
+ this->CheckCompilerIdCompatibility(mf, lang);
} // end for each language
// Now load files that can override any settings on the platform or for
@@ -629,17 +708,128 @@ cmGlobalGenerator::EnableLanguage(std::vector<std::string>const& languages,
{
mf->ReadListFile(0,projectCompatibility.c_str());
}
+ // Inform any extra generator of the new language.
+ if (this->ExtraGenerator)
+ {
+ this->ExtraGenerator->EnableLanguage(languages, mf, false);
+ }
+
+ if(fatalError)
+ {
+ cmSystemTools::SetFatalErrorOccured();
+ }
+}
+
+//----------------------------------------------------------------------------
+void cmGlobalGenerator::PrintCompilerAdvice(std::ostream& os,
+ std::string lang,
+ const char* envVar) const
+{
+ // Subclasses override this method if they do not support this advice.
+ os <<
+ "Tell CMake where to find the compiler by setting "
+ ;
+ if(envVar)
+ {
+ os <<
+ "either the environment variable \"" << envVar << "\" or "
+ ;
+ }
+ os <<
+ "the CMake cache entry CMAKE_" << lang << "_COMPILER "
+ "to the full path to the compiler, or to the compiler name "
+ "if it is in the PATH."
+ ;
+}
+
+//----------------------------------------------------------------------------
+void cmGlobalGenerator::CheckCompilerIdCompatibility(cmMakefile* mf,
+ std::string lang) const
+{
+ std::string compilerIdVar = "CMAKE_" + lang + "_COMPILER_ID";
+ const char* compilerId = mf->GetDefinition(compilerIdVar.c_str());
+ if(!compilerId)
+ {
+ return;
+ }
+
+ if(strcmp(compilerId, "AppleClang") == 0)
+ {
+ cmPolicies* policies = this->CMakeInstance->GetPolicies();
+ switch(mf->GetPolicyStatus(cmPolicies::CMP0025))
+ {
+ case cmPolicies::WARN:
+ if(!this->CMakeInstance->GetIsInTryCompile() &&
+ mf->PolicyOptionalWarningEnabled("CMAKE_POLICY_WARNING_CMP0025"))
+ {
+ cmOStringStream w;
+ w << policies->GetPolicyWarning(cmPolicies::CMP0025) << "\n"
+ "Converting " << lang <<
+ " compiler id \"AppleClang\" to \"Clang\" for compatibility."
+ ;
+ mf->IssueMessage(cmake::AUTHOR_WARNING, w.str());
+ }
+ case cmPolicies::OLD:
+ // OLD behavior is to convert AppleClang to Clang.
+ mf->AddDefinition(compilerIdVar.c_str(), "Clang");
+ break;
+ case cmPolicies::REQUIRED_IF_USED:
+ case cmPolicies::REQUIRED_ALWAYS:
+ mf->IssueMessage(
+ cmake::FATAL_ERROR,
+ policies->GetRequiredPolicyError(cmPolicies::CMP0025)
+ );
+ case cmPolicies::NEW:
+ // NEW behavior is to keep AppleClang.
+ break;
+ }
+ }
+
+ if(strcmp(compilerId, "QCC") == 0)
+ {
+ cmPolicies* policies = this->CMakeInstance->GetPolicies();
+ switch(mf->GetPolicyStatus(cmPolicies::CMP0047))
+ {
+ case cmPolicies::WARN:
+ if(!this->CMakeInstance->GetIsInTryCompile() &&
+ mf->PolicyOptionalWarningEnabled("CMAKE_POLICY_WARNING_CMP0047"))
+ {
+ cmOStringStream w;
+ w << policies->GetPolicyWarning(cmPolicies::CMP0047) << "\n"
+ "Converting " << lang <<
+ " compiler id \"QCC\" to \"GNU\" for compatibility."
+ ;
+ mf->IssueMessage(cmake::AUTHOR_WARNING, w.str());
+ }
+ case cmPolicies::OLD:
+ // OLD behavior is to convert QCC to GNU.
+ mf->AddDefinition(compilerIdVar.c_str(), "GNU");
+ break;
+ case cmPolicies::REQUIRED_IF_USED:
+ case cmPolicies::REQUIRED_ALWAYS:
+ mf->IssueMessage(
+ cmake::FATAL_ERROR,
+ policies->GetRequiredPolicyError(cmPolicies::CMP0047)
+ );
+ case cmPolicies::NEW:
+ // NEW behavior is to keep QCC.
+ break;
+ }
+ }
}
//----------------------------------------------------------------------------
const char*
-cmGlobalGenerator::GetLanguageOutputExtension(cmSourceFile const& source)
+cmGlobalGenerator::GetLanguageOutputExtension(cmSourceFile const& source) const
{
if(const char* lang = source.GetLanguage())
{
- if(this->LanguageToOutputExtension.count(lang) > 0)
+ std::map<cmStdString, cmStdString>::const_iterator it =
+ this->LanguageToOutputExtension.find(lang);
+
+ if(it != this->LanguageToOutputExtension.end())
{
- return this->LanguageToOutputExtension[lang].c_str();
+ return it->second.c_str();
}
}
else
@@ -660,7 +850,7 @@ cmGlobalGenerator::GetLanguageOutputExtension(cmSourceFile const& source)
}
-const char* cmGlobalGenerator::GetLanguageFromExtension(const char* ext)
+const char* cmGlobalGenerator::GetLanguageFromExtension(const char* ext) const
{
// if there is an extension and it starts with . then move past the
// . because the extensions are not stored with a . in the map
@@ -668,9 +858,11 @@ const char* cmGlobalGenerator::GetLanguageFromExtension(const char* ext)
{
++ext;
}
- if(this->ExtensionToLanguage.count(ext) > 0)
+ std::map<cmStdString, cmStdString>::const_iterator it
+ = this->ExtensionToLanguage.find(ext);
+ if(it != this->ExtensionToLanguage.end())
{
- return this->ExtensionToLanguage[ext].c_str();
+ return it->second.c_str();
}
return 0;
}
@@ -794,7 +986,7 @@ void cmGlobalGenerator::FillExtensionToLanguageMap(const char* l,
}
}
-bool cmGlobalGenerator::IgnoreFile(const char* l)
+bool cmGlobalGenerator::IgnoreFile(const char* l) const
{
if(this->GetLanguageFromExtension(l))
{
@@ -814,18 +1006,25 @@ void cmGlobalGenerator::ClearEnabledLanguages()
}
bool cmGlobalGenerator::IsDependedOn(const char* project,
- cmTarget* targetIn)
+ cmTarget const* targetIn)
{
// Get all local gens for this project
- std::vector<cmLocalGenerator*>* gens = &this->ProjectMap[project];
+ std::map<cmStdString, std::vector<cmLocalGenerator*> >::const_iterator it =
+ this->ProjectMap.find(project);
+ if (it == this->ProjectMap.end())
+ {
+ return false;
+ }
+
// loop over local gens and get the targets for each one
- for(unsigned int i = 0; i < gens->size(); ++i)
+ for(std::vector<cmLocalGenerator*>::const_iterator geIt = it->second.begin();
+ geIt != it->second.end(); ++geIt)
{
- cmTargets& targets = (*gens)[i]->GetMakefile()->GetTargets();
- for (cmTargets::iterator l = targets.begin();
+ cmTargets const& targets = (*geIt)->GetMakefile()->GetTargets();
+ for (cmTargets::const_iterator l = targets.begin();
l != targets.end(); l++)
{
- cmTarget& target = l->second;
+ cmTarget const& target = l->second;
TargetDependSet const& tgtdeps = this->GetTargetDirectDepends(target);
if(tgtdeps.count(targetIn))
{
@@ -839,31 +1038,7 @@ bool cmGlobalGenerator::IsDependedOn(const char* project,
void cmGlobalGenerator::Configure()
{
this->FirstTimeProgress = 0.0f;
- this->ClearGeneratorTargets();
- this->ExportSets.clear();
- // Delete any existing cmLocalGenerators
- unsigned int i;
- for (i = 0; i < this->LocalGenerators.size(); ++i)
- {
- delete this->LocalGenerators[i];
- }
- this->LocalGenerators.clear();
- for(std::vector<cmGeneratorExpressionEvaluationFile*>::const_iterator
- li = this->EvaluationFiles.begin();
- li != this->EvaluationFiles.end();
- ++li)
- {
- delete *li;
- }
- this->EvaluationFiles.clear();
- this->TargetDependencies.clear();
- this->TotalTargets.clear();
- this->ImportedTargets.clear();
- this->LocalGeneratorToTargetMap.clear();
- this->ProjectMap.clear();
- this->RuleHashes.clear();
- this->DirectoryContentMap.clear();
- this->BinaryDirectories.clear();
+ this->ClearGeneratorMembers();
// start with this directory
cmLocalGenerator *lg = this->CreateLocalGenerator();
@@ -925,7 +1100,21 @@ void cmGlobalGenerator::Configure()
}
}
-bool cmGlobalGenerator::CheckALLOW_DUPLICATE_CUSTOM_TARGETS()
+cmExportBuildFileGenerator*
+cmGlobalGenerator::GetExportedTargetsFile(const std::string &filename) const
+{
+ std::map<std::string, cmExportBuildFileGenerator*>::const_iterator it
+ = this->BuildExportSets.find(filename);
+ return it == this->BuildExportSets.end() ? 0 : it->second;
+}
+
+//----------------------------------------------------------------------------
+void cmGlobalGenerator::AddCMP0042WarnTarget(const std::string& target)
+{
+ this->CMP0042WarnTargets.insert(target);
+}
+
+bool cmGlobalGenerator::CheckALLOW_DUPLICATE_CUSTOM_TARGETS() const
{
// If the property is not enabled then okay.
if(!this->CMakeInstance
@@ -952,6 +1141,9 @@ void cmGlobalGenerator::Generate()
// Start with an empty vector:
this->FilesReplacedDuringGenerate.clear();
+ // clear targets to issue warning CMP0042 for
+ this->CMP0042WarnTargets.clear();
+
// Check whether this generator is allowed to run.
if(!this->CheckALLOW_DUPLICATE_CUSTOM_TARGETS())
{
@@ -964,11 +1156,14 @@ void cmGlobalGenerator::Generate()
return;
}
- this->FinalizeTargetCompileDefinitions();
+ this->FinalizeTargetCompileInfo();
+#ifdef CMAKE_BUILD_WITH_CMAKE
// Iterate through all targets and set up automoc for those which have
- // the AUTOMOC property set
- this->CreateAutomocTargets();
+ // the AUTOMOC, AUTOUIC or AUTORCC property set
+ AutogensType autogens;
+ this->CreateQtAutoGeneratorsTargets(autogens);
+#endif
// For each existing cmLocalGenerator
unsigned int i;
@@ -986,11 +1181,6 @@ void cmGlobalGenerator::Generate()
(*targets)[tit->first] = tit->second;
(*targets)[tit->first].SetMakefile(mf);
}
-
- for ( tit = targets->begin(); tit != targets->end(); ++ tit )
- {
- tit->second.AppendBuildInterfaceIncludes();
- }
}
// Add generator specific helper commands
@@ -999,6 +1189,17 @@ void cmGlobalGenerator::Generate()
this->LocalGenerators[i]->AddHelperCommands();
}
+ // Create per-target generator information.
+ this->CreateGeneratorTargets();
+
+#ifdef CMAKE_BUILD_WITH_CMAKE
+ for (AutogensType::iterator it = autogens.begin(); it != autogens.end();
+ ++it)
+ {
+ it->first.SetupAutoGenerateTarget(it->second);
+ }
+#endif
+
// Trace the dependencies, after that no custom commands should be added
// because their dependencies might not be handled correctly
for (i = 0; i < this->LocalGenerators.size(); ++i)
@@ -1012,8 +1213,7 @@ void cmGlobalGenerator::Generate()
this->LocalGenerators[i]->GenerateTargetManifest();
}
- // Create per-target generator information.
- this->CreateGeneratorTargets();
+ this->ComputeGeneratorTargetObjects();
this->ProcessEvaluationFiles();
@@ -1027,24 +1227,17 @@ void cmGlobalGenerator::Generate()
// it builds by default.
this->FillLocalGeneratorToTargetMap();
- for (i = 0; i < this->LocalGenerators.size(); ++i)
- {
- cmMakefile* mf = this->LocalGenerators[i]->GetMakefile();
- cmTargets* targets = &(mf->GetTargets());
- for ( cmTargets::iterator it = targets->begin();
- it != targets->end(); ++ it )
- {
- it->second.FinalizeSystemIncludeDirectories();
- }
- }
-
// Generate project files
for (i = 0; i < this->LocalGenerators.size(); ++i)
{
this->LocalGenerators[i]->GetMakefile()->SetGeneratingBuildSystem();
this->SetCurrentLocalGenerator(this->LocalGenerators[i]);
this->LocalGenerators[i]->Generate();
- this->LocalGenerators[i]->GenerateInstallRules();
+ if(!this->LocalGenerators[i]->GetMakefile()->IsOn(
+ "CMAKE_SKIP_INSTALL_RULES"))
+ {
+ this->LocalGenerators[i]->GenerateInstallRules();
+ }
this->LocalGenerators[i]->GenerateTestFiles();
this->CMakeInstance->UpdateProgress("Generating",
(static_cast<float>(i)+1.0f)/
@@ -1052,6 +1245,19 @@ void cmGlobalGenerator::Generate()
}
this->SetCurrentLocalGenerator(0);
+ for (std::map<std::string, cmExportBuildFileGenerator*>::iterator
+ it = this->BuildExportSets.begin(); it != this->BuildExportSets.end();
+ ++it)
+ {
+ if (!it->second->GenerateImportFile()
+ && !cmSystemTools::GetErrorOccuredFlag())
+ {
+ this->GetCMakeInstance()
+ ->IssueMessage(cmake::FATAL_ERROR, "Could not write export file.",
+ cmListFileBacktrace());
+ return;
+ }
+ }
// Update rule hashes.
this->CheckRuleHashes();
@@ -1062,6 +1268,25 @@ void cmGlobalGenerator::Generate()
this->ExtraGenerator->Generate();
}
+ if(!this->CMP0042WarnTargets.empty())
+ {
+ cmOStringStream w;
+ w <<
+ (this->GetCMakeInstance()->GetPolicies()->
+ GetPolicyWarning(cmPolicies::CMP0042)) << "\n";
+ w << "MACOSX_RPATH is not specified for"
+ " the following targets:\n";
+ for(std::set<std::string>::iterator
+ iter = this->CMP0042WarnTargets.begin();
+ iter != this->CMP0042WarnTargets.end();
+ ++iter)
+ {
+ w << " " << *iter << "\n";
+ }
+ this->GetCMakeInstance()->IssueMessage(cmake::AUTHOR_WARNING, w.str(),
+ cmListFileBacktrace());
+ }
+
this->CMakeInstance->UpdateProgress("Generating done", -1);
}
@@ -1073,8 +1298,8 @@ bool cmGlobalGenerator::ComputeTargetDepends()
{
return false;
}
- std::vector<cmTarget*> const& targets = ctd.GetTargets();
- for(std::vector<cmTarget*>::const_iterator ti = targets.begin();
+ std::vector<cmTarget const*> const& targets = ctd.GetTargets();
+ for(std::vector<cmTarget const*>::const_iterator ti = targets.begin();
ti != targets.end(); ++ti)
{
ctd.GetTargetDirectDepends(*ti, this->TargetDependencies[*ti]);
@@ -1112,11 +1337,9 @@ bool cmGlobalGenerator::CheckTargets()
}
//----------------------------------------------------------------------------
-void cmGlobalGenerator::CreateAutomocTargets()
+void cmGlobalGenerator::CreateQtAutoGeneratorsTargets(AutogensType &autogens)
{
#ifdef CMAKE_BUILD_WITH_CMAKE
- typedef std::vector<std::pair<cmQtAutomoc, cmTarget*> > Automocs;
- Automocs automocs;
for(unsigned int i=0; i < this->LocalGenerators.size(); ++i)
{
cmTargets& targets =
@@ -1131,27 +1354,27 @@ void cmGlobalGenerator::CreateAutomocTargets()
target.GetType() == cmTarget::MODULE_LIBRARY ||
target.GetType() == cmTarget::OBJECT_LIBRARY)
{
- if(target.GetPropertyAsBool("AUTOMOC") && !target.IsImported())
+ if((target.GetPropertyAsBool("AUTOMOC")
+ || target.GetPropertyAsBool("AUTOUIC")
+ || target.GetPropertyAsBool("AUTORCC"))
+ && !target.IsImported())
{
- cmQtAutomoc automoc;
- if(automoc.InitializeMocSourceFile(&target))
+ cmQtAutoGenerators autogen;
+ if(autogen.InitializeAutogenTarget(&target))
{
- automocs.push_back(std::make_pair(automoc, &target));
+ autogens.push_back(AutogensType::value_type(autogen, &target));
}
}
}
}
}
- for (Automocs::iterator it = automocs.begin(); it != automocs.end();
- ++it)
- {
- it->first.SetupAutomocTarget(it->second);
- }
+#else
+ (void)autogens;
#endif
}
//----------------------------------------------------------------------------
-void cmGlobalGenerator::FinalizeTargetCompileDefinitions()
+void cmGlobalGenerator::FinalizeTargetCompileInfo()
{
// Construct per-target generator information.
for(unsigned int i=0; i < this->LocalGenerators.size(); ++i)
@@ -1161,15 +1384,19 @@ void cmGlobalGenerator::FinalizeTargetCompileDefinitions()
const std::vector<cmValueWithOrigin> noconfig_compile_definitions =
mf->GetCompileDefinitionsEntries();
- std::vector<std::string> configs;
- mf->GetConfigurations(configs);
-
cmTargets& targets = mf->GetTargets();
for(cmTargets::iterator ti = targets.begin();
ti != targets.end(); ++ti)
{
cmTarget* t = &ti->second;
+ t->AppendBuildInterfaceIncludes();
+
+ if (t->GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
+
for (std::vector<cmValueWithOrigin>::const_iterator it
= noconfig_compile_definitions.begin();
it != noconfig_compile_definitions.end(); ++it)
@@ -1177,54 +1404,87 @@ void cmGlobalGenerator::FinalizeTargetCompileDefinitions()
t->InsertCompileDefinition(*it);
}
- for(std::vector<std::string>::const_iterator ci = configs.begin();
- ci != configs.end(); ++ci)
+ cmPolicies::PolicyStatus polSt
+ = mf->GetPolicyStatus(cmPolicies::CMP0043);
+ if (polSt == cmPolicies::WARN || polSt == cmPolicies::OLD)
{
- std::string defPropName = "COMPILE_DEFINITIONS_";
- defPropName += cmSystemTools::UpperCase(*ci);
- t->AppendProperty(defPropName.c_str(),
- mf->GetProperty(defPropName.c_str()));
+ std::vector<std::string> configs;
+ mf->GetConfigurations(configs);
+
+ for(std::vector<std::string>::const_iterator ci = configs.begin();
+ ci != configs.end(); ++ci)
+ {
+ std::string defPropName = "COMPILE_DEFINITIONS_";
+ defPropName += cmSystemTools::UpperCase(*ci);
+ t->AppendProperty(defPropName.c_str(),
+ mf->GetProperty(defPropName.c_str()));
+ }
}
}
}
}
//----------------------------------------------------------------------------
+void cmGlobalGenerator::CreateGeneratorTargets(cmMakefile *mf)
+{
+ cmGeneratorTargetsType generatorTargets;
+ cmTargets& targets = mf->GetTargets();
+ for(cmTargets::iterator ti = targets.begin();
+ ti != targets.end(); ++ti)
+ {
+ cmTarget* t = &ti->second;
+ cmGeneratorTarget* gt = new cmGeneratorTarget(t);
+ this->GeneratorTargets[t] = gt;
+ generatorTargets[t] = gt;
+ }
+
+ for(std::vector<cmTarget*>::const_iterator
+ j = mf->GetOwnedImportedTargets().begin();
+ j != mf->GetOwnedImportedTargets().end(); ++j)
+ {
+ cmGeneratorTarget* gt = new cmGeneratorTarget(*j);
+ this->GeneratorTargets[*j] = gt;
+ generatorTargets[*j] = gt;
+ }
+ mf->SetGeneratorTargets(generatorTargets);
+}
+
+//----------------------------------------------------------------------------
void cmGlobalGenerator::CreateGeneratorTargets()
{
// Construct per-target generator information.
for(unsigned int i=0; i < this->LocalGenerators.size(); ++i)
{
- cmGeneratorTargetsType generatorTargets;
+ this->CreateGeneratorTargets(this->LocalGenerators[i]->GetMakefile());
+ }
+}
+//----------------------------------------------------------------------------
+void cmGlobalGenerator::ComputeGeneratorTargetObjects()
+{
+ // Construct per-target generator information.
+ for(unsigned int i=0; i < this->LocalGenerators.size(); ++i)
+ {
cmMakefile *mf = this->LocalGenerators[i]->GetMakefile();
-
- cmTargets& targets = mf->GetTargets();
- for(cmTargets::iterator ti = targets.begin();
+ cmGeneratorTargetsType targets = mf->GetGeneratorTargets();
+ for(cmGeneratorTargetsType::iterator ti = targets.begin();
ti != targets.end(); ++ti)
{
- cmTarget* t = &ti->second;
- cmGeneratorTarget* gt = new cmGeneratorTarget(t);
- this->GeneratorTargets[t] = gt;
+ if (ti->second->Target->IsImported()
+ || ti->second->Target->GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
+ cmGeneratorTarget* gt = ti->second;
+ gt->ClassifySources();
+ gt->LookupObjectLibraries();
this->ComputeTargetObjects(gt);
- generatorTargets[t] = gt;
}
-
- for(std::vector<cmTarget*>::const_iterator
- j = mf->GetOwnedImportedTargets().begin();
- j != mf->GetOwnedImportedTargets().end(); ++j)
- {
- cmGeneratorTarget* gt = new cmGeneratorTarget(*j);
- this->GeneratorTargets[*j] = gt;
- generatorTargets[*j] = gt;
- }
-
- mf->SetGeneratorTargets(generatorTargets);
}
}
//----------------------------------------------------------------------------
-void cmGlobalGenerator::ClearGeneratorTargets()
+void cmGlobalGenerator::ClearGeneratorMembers()
{
for(cmGeneratorTargetsType::iterator i = this->GeneratorTargets.begin();
i != this->GeneratorTargets.end(); ++i)
@@ -1232,10 +1492,44 @@ void cmGlobalGenerator::ClearGeneratorTargets()
delete i->second;
}
this->GeneratorTargets.clear();
+
+ for(std::vector<cmGeneratorExpressionEvaluationFile*>::const_iterator
+ li = this->EvaluationFiles.begin();
+ li != this->EvaluationFiles.end();
+ ++li)
+ {
+ delete *li;
+ }
+ this->EvaluationFiles.clear();
+
+ for(std::map<std::string, cmExportBuildFileGenerator*>::iterator
+ i = this->BuildExportSets.begin();
+ i != this->BuildExportSets.end(); ++i)
+ {
+ delete i->second;
+ }
+ this->BuildExportSets.clear();
+
+ for (unsigned int i = 0; i < this->LocalGenerators.size(); ++i)
+ {
+ delete this->LocalGenerators[i];
+ }
+ this->LocalGenerators.clear();
+
+ this->ExportSets.clear();
+ this->TargetDependencies.clear();
+ this->TotalTargets.clear();
+ this->ImportedTargets.clear();
+ this->LocalGeneratorToTargetMap.clear();
+ this->ProjectMap.clear();
+ this->RuleHashes.clear();
+ this->DirectoryContentMap.clear();
+ this->BinaryDirectories.clear();
}
//----------------------------------------------------------------------------
-cmGeneratorTarget* cmGlobalGenerator::GetGeneratorTarget(cmTarget* t) const
+cmGeneratorTarget*
+cmGlobalGenerator::GetGeneratorTarget(cmTarget const* t) const
{
cmGeneratorTargetsType::const_iterator ti = this->GeneratorTargets.find(t);
if(ti == this->GeneratorTargets.end())
@@ -1269,6 +1563,10 @@ void cmGlobalGenerator::CheckLocalGenerators()
for (cmTargets::iterator l = targets.begin();
l != targets.end(); l++)
{
+ if (l->second.GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
const cmTarget::LinkLibraryVectorType& libs =
l->second.GetOriginalLinkLibraries();
for(cmTarget::LinkLibraryVectorType::const_iterator lib = libs.begin();
@@ -1375,15 +1673,6 @@ int cmGlobalGenerator::TryCompile(const char *srcdir, const char *bindir,
this->FirstTimeProgress);
}
- std::string makeCommand = this->CMakeInstance->
- GetCacheManager()->GetCacheValue("CMAKE_MAKE_PROGRAM");
- if(makeCommand.size() == 0)
- {
- cmSystemTools::Error(
- "Generator cannot find the appropriate make command.");
- return 1;
- }
-
std::string newTarget;
if (target && strlen(target))
{
@@ -1403,45 +1692,16 @@ int cmGlobalGenerator::TryCompile(const char *srcdir, const char *bindir,
const char* config = mf->GetDefinition("CMAKE_TRY_COMPILE_CONFIGURATION");
return this->Build(srcdir,bindir,projectName,
newTarget.c_str(),
- output,makeCommand.c_str(),config,false,fast,
+ output,0,config,false,fast,
this->TryCompileTimeout);
}
-std::string cmGlobalGenerator
-::GenerateBuildCommand(const char* makeProgram, const char *projectName,
- const char *projectDir, const char* additionalOptions,
- const char *targetName, const char* config,
- bool ignoreErrors, bool)
+void cmGlobalGenerator::GenerateBuildCommand(
+ std::vector<std::string>& makeCommand, const char*, const char*, const char*,
+ const char*, const char*, bool, std::vector<std::string> const&)
{
- // Project name & dir and config are not used yet.
- (void)projectName;
- (void)projectDir;
- (void)config;
-
- std::string makeCommand =
- cmSystemTools::ConvertToUnixOutputPath(makeProgram);
-
- // Since we have full control over the invocation of nmake, let us
- // make it quiet.
- if ( strcmp(this->GetName(), "NMake Makefiles") == 0 )
- {
- makeCommand += " /NOLOGO ";
- }
- if ( ignoreErrors )
- {
- makeCommand += " -i";
- }
- if ( additionalOptions )
- {
- makeCommand += " ";
- makeCommand += additionalOptions;
- }
- if ( targetName )
- {
- makeCommand += " ";
- makeCommand += targetName;
- }
- return makeCommand;
+ makeCommand.push_back(
+ "cmGlobalGenerator::GenerateBuildCommand not implemented");
}
int cmGlobalGenerator::Build(
@@ -1453,7 +1713,6 @@ int cmGlobalGenerator::Build(
bool clean, bool fast,
double timeout,
cmSystemTools::OutputOption outputflag,
- const char* extraOptions,
std::vector<std::string> const& nativeOptions)
{
/**
@@ -1481,17 +1740,17 @@ int cmGlobalGenerator::Build(
// should we do a clean first?
if (clean)
{
- std::string cleanCommand =
- this->GenerateBuildCommand(makeCommandCSTR, projectName, bindir,
- 0, "clean", config, false, fast);
+ std::vector<std::string> cleanCommand;
+ this->GenerateBuildCommand(cleanCommand, makeCommandCSTR, projectName,
+ bindir, "clean", config, fast);
if(output)
{
*output += "\nRun Clean Command:";
- *output += cleanCommand;
+ *output += cmSystemTools::PrintSingleCommand(cleanCommand);
*output += "\n";
}
- if (!cmSystemTools::RunSingleCommand(cleanCommand.c_str(), outputPtr,
+ if (!cmSystemTools::RunSingleCommand(cleanCommand, outputPtr,
&retVal, 0, outputflag, timeout))
{
cmSystemTools::SetRunCommandHideConsole(hideconsole);
@@ -1513,37 +1772,29 @@ int cmGlobalGenerator::Build(
}
// now build
- std::string makeCommand =
- this->GenerateBuildCommand(makeCommandCSTR, projectName, bindir,
- extraOptions, target,
- config, false, fast);
+ std::vector<std::string> makeCommand;
+ this->GenerateBuildCommand(makeCommand, makeCommandCSTR, projectName,
+ bindir, target, config, fast, nativeOptions);
+ std::string makeCommandStr = cmSystemTools::PrintSingleCommand(makeCommand);
if(output)
{
*output += "\nRun Build Command:";
- *output += makeCommand;
+ *output += makeCommandStr;
*output += "\n";
}
- std::vector<cmStdString> command =
- cmSystemTools::ParseArguments(makeCommand.c_str());
- for(std::vector<std::string>::const_iterator ni = nativeOptions.begin();
- ni != nativeOptions.end(); ++ni)
- {
- command.push_back(*ni);
- }
-
- if (!cmSystemTools::RunSingleCommand(command, outputPtr,
+ if (!cmSystemTools::RunSingleCommand(makeCommand, outputPtr,
&retVal, 0, outputflag, timeout))
{
cmSystemTools::SetRunCommandHideConsole(hideconsole);
cmSystemTools::Error
("Generator: execution of make failed. Make command was: ",
- makeCommand.c_str());
+ makeCommandStr.c_str());
if (output)
{
*output += *outputPtr;
*output += "\nGenerator: execution of make failed. Make command was: "
- + makeCommand + "\n";
+ + makeCommandStr + "\n";
}
// return to the original directory
@@ -1568,6 +1819,46 @@ int cmGlobalGenerator::Build(
return retVal;
}
+//----------------------------------------------------------------------------
+std::string cmGlobalGenerator::GenerateCMakeBuildCommand(
+ const char* target, const char* config, const char* native,
+ bool ignoreErrors)
+{
+ std::string makeCommand = cmSystemTools::GetCMakeCommand();
+ makeCommand = cmSystemTools::ConvertToOutputPath(makeCommand.c_str());
+ makeCommand += " --build .";
+ if(config && *config)
+ {
+ makeCommand += " --config \"";
+ makeCommand += config;
+ makeCommand += "\"";
+ }
+ if(target && *target)
+ {
+ makeCommand += " --target \"";
+ makeCommand += target;
+ makeCommand += "\"";
+ }
+ const char* sep = " -- ";
+ if(ignoreErrors)
+ {
+ const char* iflag = this->GetBuildIgnoreErrorsFlag();
+ if(iflag && *iflag)
+ {
+ makeCommand += sep;
+ makeCommand += iflag;
+ sep = " ";
+ }
+ }
+ if(native && *native)
+ {
+ makeCommand += sep;
+ makeCommand += native;
+ }
+ return makeCommand;
+}
+
+//----------------------------------------------------------------------------
void cmGlobalGenerator::AddLocalGenerator(cmLocalGenerator *lg)
{
this->LocalGenerators.push_back(lg);
@@ -1659,7 +1950,7 @@ void cmGlobalGenerator::SetConfiguredFilesPath(cmGlobalGenerator* gen)
}
bool cmGlobalGenerator::IsExcluded(cmLocalGenerator* root,
- cmLocalGenerator* gen)
+ cmLocalGenerator* gen) const
{
if(!gen || gen == root)
{
@@ -1679,9 +1970,10 @@ bool cmGlobalGenerator::IsExcluded(cmLocalGenerator* root,
}
bool cmGlobalGenerator::IsExcluded(cmLocalGenerator* root,
- cmTarget& target)
+ cmTarget const& target) const
{
- if(target.GetPropertyAsBool("EXCLUDE_FROM_ALL"))
+ if(target.GetType() == cmTarget::INTERFACE_LIBRARY
+ || target.GetPropertyAsBool("EXCLUDE_FROM_ALL"))
{
// This target is excluded from its directory.
return true;
@@ -1694,16 +1986,17 @@ bool cmGlobalGenerator::IsExcluded(cmLocalGenerator* root,
}
}
-void cmGlobalGenerator::GetEnabledLanguages(std::vector<std::string>& lang)
+void
+cmGlobalGenerator::GetEnabledLanguages(std::vector<std::string>& lang) const
{
- for(std::map<cmStdString, bool>::iterator i =
+ for(std::map<cmStdString, bool>::const_iterator i =
this->LanguageEnabled.begin(); i != this->LanguageEnabled.end(); ++i)
{
lang.push_back(i->first);
}
}
-int cmGlobalGenerator::GetLinkerPreference(const char* lang)
+int cmGlobalGenerator::GetLinkerPreference(const char* lang) const
{
std::map<cmStdString, int>::const_iterator it =
this->LanguageToLinkerPreference.find(lang);
@@ -1749,10 +2042,10 @@ void cmGlobalGenerator::FillLocalGeneratorToTargetMap()
{
cmLocalGenerator* lg = *lgi;
cmMakefile* mf = lg->GetMakefile();
- cmTargets& targets = mf->GetTargets();
- for(cmTargets::iterator t = targets.begin(); t != targets.end(); ++t)
+ cmTargets const& targets = mf->GetTargets();
+ for(cmTargets::const_iterator t = targets.begin(); t != targets.end(); ++t)
{
- cmTarget& target = t->second;
+ cmTarget const& target = t->second;
// Consider the directory containing the target and all its
// parents until something excludes the target.
@@ -1760,7 +2053,7 @@ void cmGlobalGenerator::FillLocalGeneratorToTargetMap()
clg = clg->GetParent())
{
// This local generator includes the target.
- std::set<cmTarget*>& targetSet =
+ std::set<cmTarget const*>& targetSet =
this->LocalGeneratorToTargetMap[clg];
targetSet.insert(&target);
@@ -1771,7 +2064,8 @@ void cmGlobalGenerator::FillLocalGeneratorToTargetMap()
for(TargetDependSet::const_iterator ti = tgtdeps.begin();
ti != tgtdeps.end(); ++ti)
{
- targetSet.insert(*ti);
+ cmTarget const* ttt = *ti;
+ targetSet.insert(ttt);
}
}
}
@@ -1780,15 +2074,16 @@ void cmGlobalGenerator::FillLocalGeneratorToTargetMap()
///! Find a local generator by its startdirectory
-cmLocalGenerator* cmGlobalGenerator::FindLocalGenerator(const char* start_dir)
+cmLocalGenerator*
+cmGlobalGenerator::FindLocalGenerator(const char* start_dir) const
{
- std::vector<cmLocalGenerator*>* gens = &this->LocalGenerators;
- for(unsigned int i = 0; i < gens->size(); ++i)
+ for(std::vector<cmLocalGenerator*>::const_iterator it =
+ this->LocalGenerators.begin(); it != this->LocalGenerators.end(); ++it)
{
- std::string sd = (*gens)[i]->GetMakefile()->GetStartDirectory();
+ std::string sd = (*it)->GetMakefile()->GetStartDirectory();
if (sd == start_dir)
{
- return (*gens)[i];
+ return *it;
}
}
return 0;
@@ -1801,7 +2096,7 @@ void cmGlobalGenerator::AddAlias(const char *name, cmTarget *tgt)
}
//----------------------------------------------------------------------------
-bool cmGlobalGenerator::IsAlias(const char *name)
+bool cmGlobalGenerator::IsAlias(const char *name) const
{
return this->AliasTargets.find(name) != this->AliasTargets.end();
}
@@ -1809,15 +2104,16 @@ bool cmGlobalGenerator::IsAlias(const char *name)
//----------------------------------------------------------------------------
cmTarget*
cmGlobalGenerator::FindTarget(const char* project, const char* name,
- bool excludeAliases)
+ bool excludeAliases) const
{
// if project specific
if(project)
{
- std::vector<cmLocalGenerator*>* gens = &this->ProjectMap[project];
- for(unsigned int i = 0; i < gens->size(); ++i)
+ std::map<cmStdString, std::vector<cmLocalGenerator*> >::const_iterator
+ gens = this->ProjectMap.find(project);
+ for(unsigned int i = 0; i < gens->second.size(); ++i)
{
- cmTarget* ret = (*gens)[i]->GetMakefile()->FindTarget(name,
+ cmTarget* ret = (gens->second)[i]->GetMakefile()->FindTarget(name,
excludeAliases);
if(ret)
{
@@ -1830,14 +2126,14 @@ cmGlobalGenerator::FindTarget(const char* project, const char* name,
{
if (!excludeAliases)
{
- std::map<cmStdString, cmTarget*>::iterator ai
+ std::map<cmStdString, cmTarget*>::const_iterator ai
= this->AliasTargets.find(name);
if (ai != this->AliasTargets.end())
{
return ai->second;
}
}
- std::map<cmStdString,cmTarget *>::iterator i =
+ std::map<cmStdString,cmTarget *>::const_iterator i =
this->TotalTargets.find ( name );
if ( i != this->TotalTargets.end() )
{
@@ -1853,7 +2149,8 @@ cmGlobalGenerator::FindTarget(const char* project, const char* name,
}
//----------------------------------------------------------------------------
-bool cmGlobalGenerator::NameResolvesToFramework(const std::string& libname)
+bool
+cmGlobalGenerator::NameResolvesToFramework(const std::string& libname) const
{
if(cmSystemTools::IsPathToFramework(libname.c_str()))
{
@@ -1898,7 +2195,7 @@ void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets)
cmCustomCommandLines cpackCommandLines;
std::vector<std::string> depends;
cmCustomCommandLine singleLine;
- singleLine.push_back(this->GetCMakeInstance()->GetCPackCommand());
+ singleLine.push_back(cmSystemTools::GetCPackCommand());
if ( cmakeCfgIntDir && *cmakeCfgIntDir && cmakeCfgIntDir[0] != '.' )
{
singleLine.push_back("-C");
@@ -1939,7 +2236,7 @@ void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets)
cpackCommandLines.end());
singleLine.erase(singleLine.begin(), singleLine.end());
depends.erase(depends.begin(), depends.end());
- singleLine.push_back(this->GetCMakeInstance()->GetCPackCommand());
+ singleLine.push_back(cmSystemTools::GetCPackCommand());
singleLine.push_back("--config");
configFile = mf->GetStartOutputDirectory();;
configFile += "/CPackSourceConfig.cmake";
@@ -1965,7 +2262,7 @@ void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets)
cpackCommandLines.end());
singleLine.erase(singleLine.begin(), singleLine.end());
depends.erase(depends.begin(), depends.end());
- singleLine.push_back(this->GetCMakeInstance()->GetCTestCommand());
+ singleLine.push_back(cmSystemTools::GetCTestCommand());
singleLine.push_back("--force-new-ctest-process");
if(cmakeCfgIntDir && *cmakeCfgIntDir && cmakeCfgIntDir[0] != '.')
{
@@ -1991,11 +2288,11 @@ void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets)
singleLine.erase(singleLine.begin(), singleLine.end());
depends.erase(depends.begin(), depends.end());
- // Use CMAKE_EDIT_COMMAND for the edit_cache rule if it is defined.
- // Otherwise default to the interactive command-line interface.
- if(mf->GetDefinition("CMAKE_EDIT_COMMAND"))
+ // Use generator preference for the edit_cache rule if it is defined.
+ std::string edit_cmd = this->GetEditCacheCommand();
+ if (!edit_cmd.empty())
{
- singleLine.push_back(mf->GetDefinition("CMAKE_EDIT_COMMAND"));
+ singleLine.push_back(edit_cmd);
singleLine.push_back("-H$(CMAKE_SOURCE_DIR)");
singleLine.push_back("-B$(CMAKE_BINARY_DIR)");
cpackCommandLines.push_back(singleLine);
@@ -2007,13 +2304,14 @@ void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets)
else
{
singleLine.push_back(cmakeCommand);
- singleLine.push_back("-i");
- singleLine.push_back(".");
+ singleLine.push_back("-E");
+ singleLine.push_back("echo");
+ singleLine.push_back("No interactive CMake dialog available.");
cpackCommandLines.push_back(singleLine);
(*targets)[editCacheTargetName] =
this->CreateGlobalTarget(
editCacheTargetName,
- "Running interactive CMake command-line interface...",
+ "No interactive CMake dialog available...",
&cpackCommandLines, depends, 0);
}
}
@@ -2037,7 +2335,14 @@ void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets)
}
//Install
- if(this->InstallTargetEnabled)
+ bool skipInstallRules = mf->IsOn("CMAKE_SKIP_INSTALL_RULES");
+ if(this->InstallTargetEnabled && skipInstallRules)
+ {
+ mf->IssueMessage(cmake::WARNING,
+ "CMAKE_SKIP_INSTALL_RULES was enabled even though "
+ "installation rules have been specified");
+ }
+ else if(this->InstallTargetEnabled && !skipInstallRules)
{
if(!cmakeCfgIntDir || !*cmakeCfgIntDir || cmakeCfgIntDir[0] == '.')
{
@@ -2226,7 +2531,7 @@ cmTarget cmGlobalGenerator::CreateGlobalTarget(
// Store the custom command in the target.
cmCustomCommand cc(0, no_outputs, no_depends, *commandLines, 0,
workingDirectory);
- target.GetPostBuildCommands().push_back(cc);
+ target.AddPostBuildCommand(cc);
target.SetProperty("EchoString", message);
std::vector<std::string>::iterator dit;
for ( dit = depends.begin(); dit != depends.end(); ++ dit )
@@ -2261,11 +2566,13 @@ cmGlobalGenerator::GenerateRuleFile(std::string const& output) const
//----------------------------------------------------------------------------
std::string cmGlobalGenerator::GetSharedLibFlagsForLanguage(
- std::string const& l)
+ std::string const& l) const
{
- if(this->LanguageToOriginalSharedLibFlags.count(l) > 0)
+ std::map<cmStdString, cmStdString>::const_iterator it =
+ this->LanguageToOriginalSharedLibFlags.find(l);
+ if(it != this->LanguageToOriginalSharedLibFlags.end())
{
- return this->LanguageToOriginalSharedLibFlags[l];
+ return it->second;
}
return "";
}
@@ -2281,7 +2588,7 @@ void cmGlobalGenerator::AppendDirectoryForConfig(const char*, const char*,
//----------------------------------------------------------------------------
cmGlobalGenerator::TargetDependSet const&
-cmGlobalGenerator::GetTargetDirectDepends(cmTarget & target)
+cmGlobalGenerator::GetTargetDirectDepends(cmTarget const& target)
{
return this->TargetDependencies[&target];
}
@@ -2298,6 +2605,37 @@ void cmGlobalGenerator::AddTarget(cmTarget* t)
}
}
+bool cmGlobalGenerator::IsReservedTarget(std::string const& name)
+{
+ // The following is a list of targets reserved
+ // by one or more of the cmake generators.
+
+ // Adding additional targets to this list will require a policy!
+ const char* reservedTargets[] =
+ {
+ "all", "ALL_BUILD",
+ "help",
+ "install", "INSTALL",
+ "preinstall",
+ "clean",
+ "edit_cache",
+ "rebuild_cache",
+ "test", "RUN_TESTS",
+ "package", "PACKAGE",
+ "package_source",
+ "ZERO_CHECK",
+ 0
+ };
+
+ for(const char** reservedTarget = reservedTargets;
+ *reservedTarget; ++reservedTarget)
+ {
+ if(name == *reservedTarget) return true;
+ }
+
+ return false;
+}
+
void cmGlobalGenerator::SetExternalMakefileProjectGenerator(
cmExternalMakefileProjectGenerator *extraGenerator)
{
@@ -2365,14 +2703,14 @@ void cmGlobalGenerator::GetTargetSets(TargetDependSet& projectTargets,
}
//----------------------------------------------------------------------------
-bool cmGlobalGenerator::IsRootOnlyTarget(cmTarget* target)
+bool cmGlobalGenerator::IsRootOnlyTarget(cmTarget* target) const
{
return (target->GetType() == cmTarget::GLOBAL_TARGET ||
strcmp(target->GetName(), this->GetAllTargetName()) == 0);
}
//----------------------------------------------------------------------------
-void cmGlobalGenerator::AddTargetDepends(cmTarget* target,
+void cmGlobalGenerator::AddTargetDepends(cmTarget const* target,
TargetDependSet& projectTargets)
{
// add the target itself
@@ -2383,7 +2721,7 @@ void cmGlobalGenerator::AddTargetDepends(cmTarget* target,
TargetDependSet const& ts = this->GetTargetDirectDepends(*target);
for(TargetDependSet::const_iterator i = ts.begin(); i != ts.end(); ++i)
{
- cmTarget* dtarget = *i;
+ cmTarget const* dtarget = *i;
this->AddTargetDepends(dtarget, projectTargets);
}
}
@@ -2485,9 +2823,9 @@ void cmGlobalGenerator::CheckRuleHashes(std::string const& pfile,
std::string const& home)
{
#if defined(_WIN32) || defined(__CYGWIN__)
- std::ifstream fin(pfile.c_str(), std::ios::in | std::ios::binary);
+ cmsys::ifstream fin(pfile.c_str(), std::ios::in | std::ios::binary);
#else
- std::ifstream fin(pfile.c_str(), std::ios::in);
+ cmsys::ifstream fin(pfile.c_str(), std::ios::in);
#endif
if(!fin)
{
@@ -2576,10 +2914,13 @@ void cmGlobalGenerator::WriteSummary()
cmGeneratedFileStream fout(fname.c_str());
// Generate summary information files for each target.
- std::string dir;
for(std::map<cmStdString,cmTarget *>::const_iterator ti =
this->TotalTargets.begin(); ti != this->TotalTargets.end(); ++ti)
{
+ if ((ti->second)->GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
this->WriteSummary(ti->second);
fout << ti->second->GetSupportDirectory() << "\n";
}
@@ -2615,7 +2956,8 @@ void cmGlobalGenerator::WriteSummary(cmTarget* target)
// List the source files with any per-source labels.
fout << "# Source files and their labels\n";
- std::vector<cmSourceFile*> const& sources = target->GetSourceFiles();
+ std::vector<cmSourceFile*> sources;
+ target->GetSourceFiles(sources);
for(std::vector<cmSourceFile*>::const_iterator si = sources.begin();
si != sources.end(); ++si)
{
@@ -2692,3 +3034,10 @@ void cmGlobalGenerator::ProcessEvaluationFiles()
}
}
}
+
+//----------------------------------------------------------------------------
+std::string cmGlobalGenerator::ExpandCFGIntDir(const std::string& str,
+ const std::string& /*config*/) const
+{
+ return str;
+}
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index 80916ae..753eebf 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -31,6 +31,8 @@ class cmExternalMakefileProjectGenerator;
class cmTarget;
class cmInstallTargetGenerator;
class cmInstallFilesGenerator;
+class cmExportBuildFileGenerator;
+class cmQtAutoGenerators;
/** \class cmGlobalGenerator
* \brief Responable for overseeing the generation process for the entire tree
@@ -51,6 +53,10 @@ public:
///! Get the name for this generator
virtual const char *GetName() const { return "Generic"; };
+ /** Check whether the given name matches the current generator. */
+ virtual bool MatchesGeneratorName(const char* name) const
+ { return strcmp(this->GetName(), name) == 0; }
+
/** Set the generator-specific toolset name. Returns true if toolset
is supported and false otherwise. */
virtual bool SetGeneratorToolset(std::string const& ts);
@@ -74,7 +80,7 @@ public:
void SetLanguageEnabled(const char*, cmMakefile* mf);
bool GetLanguageEnabled(const char*) const;
void ClearEnabledLanguages();
- void GetEnabledLanguages(std::vector<std::string>& lang);
+ void GetEnabledLanguages(std::vector<std::string>& lang) const;
/**
* Try to determine system infomation such as shared library
* extension, pthreads, byte order etc.
@@ -87,7 +93,7 @@ public:
* Intended to be called from EnableLanguage.
*/
void ResolveLanguageCompiler(const std::string &lang, cmMakefile *mf,
- bool optional);
+ bool optional) const;
/**
* Try to determine system infomation, get it from another generator
@@ -117,24 +123,28 @@ public:
bool clean, bool fast,
double timeout,
cmSystemTools::OutputOption outputflag=cmSystemTools::OUTPUT_NONE,
- const char* extraOptions = 0,
std::vector<std::string> const& nativeOptions =
std::vector<std::string>());
- virtual std::string GenerateBuildCommand(
+ virtual void GenerateBuildCommand(
+ std::vector<std::string>& makeCommand,
const char* makeProgram,
const char *projectName, const char *projectDir,
- const char* additionalOptions,
- const char *targetName, const char* config,
- bool ignoreErrors, bool fast);
+ const char *targetName, const char* config, bool fast,
+ std::vector<std::string> const& makeOptions = std::vector<std::string>()
+ );
+ /** Generate a "cmake --build" call for a given target and config. */
+ std::string GenerateCMakeBuildCommand(const char* target,
+ const char* config,
+ const char* native,
+ bool ignoreErrors);
///! Set the CMake instance
void SetCMakeInstance(cmake *cm);
///! Get the CMake instance
- cmake *GetCMakeInstance() { return this->CMakeInstance; }
- const cmake *GetCMakeInstance() const { return this->CMakeInstance; }
+ cmake *GetCMakeInstance() const { return this->CMakeInstance; }
void SetConfiguredFilesPath(cmGlobalGenerator* gen);
const std::vector<cmLocalGenerator *>& GetLocalGenerators() const {
@@ -172,17 +182,21 @@ public:
bool GetToolSupportsColor() const { return this->ToolSupportsColor; }
///! return the language for the given extension
- const char* GetLanguageFromExtension(const char* ext);
+ const char* GetLanguageFromExtension(const char* ext) const;
///! is an extension to be ignored
- bool IgnoreFile(const char* ext);
+ bool IgnoreFile(const char* ext) const;
///! What is the preference for linkers and this language (None or Prefered)
- int GetLinkerPreference(const char* lang);
+ int GetLinkerPreference(const char* lang) const;
///! What is the object file extension for a given source file?
- const char* GetLanguageOutputExtension(cmSourceFile const&);
+ const char* GetLanguageOutputExtension(cmSourceFile const&) const;
///! What is the configurations directory variable called?
virtual const char* GetCMakeCFGIntDir() const { return "."; }
+ ///! expand CFGIntDir for a configuration
+ virtual std::string ExpandCFGIntDir(const std::string& str,
+ const std::string& config) const;
+
/** Get whether the generator should use a script for link commands. */
bool GetUseLinkScript() const { return this->UseLinkScript; }
@@ -193,24 +207,24 @@ public:
/*
* Determine what program to use for building the project.
*/
- void FindMakeProgram(cmMakefile*);
+ virtual void FindMakeProgram(cmMakefile*);
///! Find a target by name by searching the local generators.
cmTarget* FindTarget(const char* project, const char* name,
- bool excludeAliases = false);
+ bool excludeAliases = false) const;
void AddAlias(const char *name, cmTarget *tgt);
- bool IsAlias(const char *name);
+ bool IsAlias(const char *name) const;
/** Determine if a name resolves to a framework on disk or a built target
that is a framework. */
- bool NameResolvesToFramework(const std::string& libname);
+ bool NameResolvesToFramework(const std::string& libname) const;
/** If check to see if the target is linked to by any other
target in the project */
- bool IsDependedOn(const char* project, cmTarget* target);
+ bool IsDependedOn(const char* project, cmTarget const* target);
///! Find a local generator by its startdirectory
- cmLocalGenerator* FindLocalGenerator(const char* start_dir);
+ cmLocalGenerator* FindLocalGenerator(const char* start_dir) const;
/** Append the subdirectory for the given configuration. If anything is
appended the given prefix and suffix will be appended around it, which
@@ -234,6 +248,8 @@ public:
void AddTarget(cmTarget* t);
+ static bool IsReservedTarget(std::string const& name);
+
virtual const char* GetAllTargetName() const { return "ALL_BUILD"; }
virtual const char* GetInstallTargetName() const { return "INSTALL"; }
virtual const char* GetInstallLocalTargetName() const { return 0; }
@@ -246,15 +262,18 @@ public:
virtual const char* GetRebuildCacheTargetName() const { return 0; }
virtual const char* GetCleanTargetName() const { return 0; }
+ // Lookup edit_cache target command preferred by this generator.
+ virtual std::string GetEditCacheCommand() const { return ""; }
+
// Class to track a set of dependencies.
typedef cmTargetDependSet TargetDependSet;
// what targets does the specified target depend on directly
// via a target_link_libraries or add_dependencies
- TargetDependSet const& GetTargetDirectDepends(cmTarget & target);
+ TargetDependSet const& GetTargetDirectDepends(cmTarget const& target);
/** Get per-target generator information. */
- cmGeneratorTarget* GetGeneratorTarget(cmTarget*) const;
+ cmGeneratorTarget* GetGeneratorTarget(cmTarget const*) const;
const std::map<cmStdString, std::vector<cmLocalGenerator*> >& GetProjectMap()
const {return this->ProjectMap;}
@@ -278,7 +297,7 @@ public:
i.e. "Can I build Debug and Release in the same tree?" */
virtual bool IsMultiConfig() { return false; }
- std::string GetSharedLibFlagsForLanguage(std::string const& lang);
+ std::string GetSharedLibFlagsForLanguage(std::string const& lang) const;
/** Generate an <output>.rule file path for a given command output. */
virtual std::string GenerateRuleFile(std::string const& output) const;
@@ -293,6 +312,16 @@ public:
void ProcessEvaluationFiles();
+ std::map<std::string, cmExportBuildFileGenerator*>& GetBuildExportSets()
+ {return this->BuildExportSets;}
+ void AddBuildExportSet(cmExportBuildFileGenerator*);
+ void AddBuildExportExportSet(cmExportBuildFileGenerator*);
+ bool IsExportedTargetsFile(const std::string &filename) const;
+ bool GenerateImportFile(const std::string &file);
+ cmExportBuildFileGenerator*
+ GetExportedTargetsFile(const std::string &filename) const;
+ void AddCMP0042WarnTarget(const std::string& target);
+
protected:
typedef std::vector<cmLocalGenerator*> GeneratorVector;
// for a project collect all its targets by following depend
@@ -300,26 +329,31 @@ protected:
virtual void GetTargetSets(TargetDependSet& projectTargets,
TargetDependSet& originalTargets,
cmLocalGenerator* root, GeneratorVector const&);
- virtual bool IsRootOnlyTarget(cmTarget* target);
- void AddTargetDepends(cmTarget* target, TargetDependSet& projectTargets);
+ bool IsRootOnlyTarget(cmTarget* target) const;
+ void AddTargetDepends(cmTarget const* target,
+ TargetDependSet& projectTargets);
void SetLanguageEnabledFlag(const char* l, cmMakefile* mf);
void SetLanguageEnabledMaps(const char* l, cmMakefile* mf);
void FillExtensionToLanguageMap(const char* l, cmMakefile* mf);
virtual bool ComputeTargetDepends();
- virtual bool CheckALLOW_DUPLICATE_CUSTOM_TARGETS();
+ virtual bool CheckALLOW_DUPLICATE_CUSTOM_TARGETS() const;
bool CheckTargets();
- void CreateAutomocTargets();
+ typedef std::vector<std::pair<cmQtAutoGenerators,
+ cmTarget const*> > AutogensType;
+ void CreateQtAutoGeneratorsTargets(AutogensType& autogens);
+ std::string SelectMakeProgram(const char* makeProgram,
+ std::string makeDefault = "") const;
// Fill the ProjectMap, this must be called after LocalGenerators
// has been populated.
void FillProjectMap();
void CheckLocalGenerators();
- bool IsExcluded(cmLocalGenerator* root, cmLocalGenerator* gen);
- bool IsExcluded(cmLocalGenerator* root, cmTarget& target);
+ bool IsExcluded(cmLocalGenerator* root, cmLocalGenerator* gen) const;
+ bool IsExcluded(cmLocalGenerator* root, cmTarget const& target) const;
void FillLocalGeneratorToTargetMap();
void CreateDefaultGlobalTargets(cmTargets* targets);
cmTarget CreateGlobalTarget(const char* name, const char* message,
@@ -337,13 +371,16 @@ protected:
cmLocalGenerator* CurrentLocalGenerator;
// map from project name to vector of local generators in that project
std::map<cmStdString, std::vector<cmLocalGenerator*> > ProjectMap;
- std::map<cmLocalGenerator*, std::set<cmTarget *> > LocalGeneratorToTargetMap;
+ std::map<cmLocalGenerator*, std::set<cmTarget const*> >
+ LocalGeneratorToTargetMap;
// Set of named installation components requested by the project.
std::set<cmStdString> InstallComponents;
bool InstallTargetEnabled;
// Sets of named target exports
cmExportSetMap ExportSets;
+ std::map<std::string, cmExportBuildFileGenerator*> BuildExportSets;
+ std::map<std::string, cmExportBuildFileGenerator*> BuildExportExportSets;
// Manifest of all targets that will be built for each configuration.
// This is computed just before local generators generate.
@@ -382,7 +419,11 @@ private:
void WriteSummary();
void WriteSummary(cmTarget* target);
- void FinalizeTargetCompileDefinitions();
+ void FinalizeTargetCompileInfo();
+
+ virtual void PrintCompilerAdvice(std::ostream& os, std::string lang,
+ const char* envVar) const;
+ void CheckCompilerIdCompatibility(cmMakefile* mf, std::string lang) const;
cmExternalMakefileProjectGenerator* ExtraGenerator;
@@ -390,15 +431,21 @@ private:
std::vector<std::string> FilesReplacedDuringGenerate;
// Store computed inter-target dependencies.
- typedef std::map<cmTarget *, TargetDependSet> TargetDependMap;
+ typedef std::map<cmTarget const*, TargetDependSet> TargetDependMap;
TargetDependMap TargetDependencies;
// Per-target generator information.
cmGeneratorTargetsType GeneratorTargets;
+ friend class cmake;
+ void CreateGeneratorTargets(cmMakefile* mf);
void CreateGeneratorTargets();
- void ClearGeneratorTargets();
+ void ComputeGeneratorTargetObjects();
virtual void ComputeTargetObjects(cmGeneratorTarget* gt) const;
+ void ClearGeneratorMembers();
+
+ virtual const char* GetBuildIgnoreErrorsFlag() const { return 0; }
+
// Cache directory content and target files to be built.
struct DirectoryContent: public std::set<cmStdString>
{
@@ -412,6 +459,9 @@ private:
// Set of binary directories on disk.
std::set<cmStdString> BinaryDirectories;
+
+ // track targets to issue CMP0042 warning for.
+ std::set<std::string> CMP0042WarnTargets;
};
#endif
diff --git a/Source/cmGlobalJOMMakefileGenerator.cxx b/Source/cmGlobalJOMMakefileGenerator.cxx
index 4af0607..bc15ef2 100644
--- a/Source/cmGlobalJOMMakefileGenerator.cxx
+++ b/Source/cmGlobalJOMMakefileGenerator.cxx
@@ -65,5 +65,4 @@ void cmGlobalJOMMakefileGenerator
{
entry.Name = cmGlobalJOMMakefileGenerator::GetActualName();
entry.Brief = "Generates JOM makefiles.";
- entry.Full = "";
}
diff --git a/Source/cmGlobalKdevelopGenerator.cxx b/Source/cmGlobalKdevelopGenerator.cxx
index a81c26c..ed0e15b 100644
--- a/Source/cmGlobalKdevelopGenerator.cxx
+++ b/Source/cmGlobalKdevelopGenerator.cxx
@@ -21,6 +21,7 @@
#include <cmsys/SystemTools.hxx>
#include <cmsys/Directory.hxx>
+#include <cmsys/FStream.hxx>
//----------------------------------------------------------------------------
void cmGlobalKdevelopGenerator
@@ -28,16 +29,6 @@ void cmGlobalKdevelopGenerator
{
entry.Name = this->GetName();
entry.Brief = "Generates KDevelop 3 project files.";
- entry.Full =
- "Project files for KDevelop 3 will be created in the top directory "
- "and in every subdirectory which features a CMakeLists.txt file "
- "containing a PROJECT() call. "
- "If you change the settings using KDevelop cmake will try its best "
- "to keep your changes when regenerating the project files. "
- "Additionally a hierarchy of UNIX makefiles is generated into the "
- "build tree. Any "
- "standard UNIX-style make program can build the project through the "
- "default make target. A \"make install\" target is also provided.";
}
cmGlobalKdevelopGenerator::cmGlobalKdevelopGenerator()
@@ -85,7 +76,7 @@ void cmGlobalKdevelopGenerator::Generate()
{
if (ti->second.GetType()==cmTarget::EXECUTABLE)
{
- executable = ti->second.GetProperty("LOCATION");
+ executable = ti->second.GetLocation(0);
break;
}
}
@@ -147,7 +138,8 @@ bool cmGlobalKdevelopGenerator
for (cmTargets::iterator ti = targets.begin();
ti != targets.end(); ti++)
{
- const std::vector<cmSourceFile*>& sources=ti->second.GetSourceFiles();
+ std::vector<cmSourceFile*> sources;
+ ti->second.GetSourceFiles(sources);
for (std::vector<cmSourceFile*>::const_iterator si=sources.begin();
si!=sources.end(); si++)
{
@@ -199,7 +191,7 @@ bool cmGlobalKdevelopGenerator
//check if the output file already exists and read it
//insert all files which exist into the set of files
- std::ifstream oldFilelist(filename.c_str());
+ cmsys::ifstream oldFilelist(filename.c_str());
if (oldFilelist)
{
while (cmSystemTools::GetLineFromStream(oldFilelist, tmp))
@@ -320,7 +312,7 @@ void cmGlobalKdevelopGenerator
const std::string& fileToOpen,
const std::string& sessionFilename)
{
- std::ifstream oldProjectFile(filename.c_str());
+ cmsys::ifstream oldProjectFile(filename.c_str());
if (!oldProjectFile)
{
this->CreateNewProjectFile(outputDir, projectDir, filename,
@@ -472,7 +464,7 @@ void cmGlobalKdevelopGenerator
" <numberofjobs>1</numberofjobs>\n"
" <dontact>false</dontact>\n"
" <makebin>" << this->GlobalGenerator->GetLocalGenerators()[0]->
- GetMakefile()->GetRequiredDefinition("CMAKE_BUILD_TOOL")
+ GetMakefile()->GetRequiredDefinition("CMAKE_MAKE_PROGRAM")
<< " </makebin>\n"
" <selectedenvironment>default</selectedenvironment>\n"
" <environments>\n"
diff --git a/Source/cmGlobalMSYSMakefileGenerator.cxx b/Source/cmGlobalMSYSMakefileGenerator.cxx
index d49639b..16f05e5 100644
--- a/Source/cmGlobalMSYSMakefileGenerator.cxx
+++ b/Source/cmGlobalMSYSMakefileGenerator.cxx
@@ -13,6 +13,7 @@
#include "cmLocalUnixMakefileGenerator3.h"
#include "cmMakefile.h"
#include "cmake.h"
+#include <cmsys/FStream.hxx>
cmGlobalMSYSMakefileGenerator::cmGlobalMSYSMakefileGenerator()
{
@@ -27,7 +28,7 @@ cmGlobalMSYSMakefileGenerator::FindMinGW(std::string const& makeloc)
{
std::string fstab = makeloc;
fstab += "/../etc/fstab";
- std::ifstream fin(fstab.c_str());
+ cmsys::ifstream fin(fstab.c_str());
std::string path;
std::string mount;
std::string mingwBin;
@@ -110,6 +111,4 @@ void cmGlobalMSYSMakefileGenerator
{
entry.Name = cmGlobalMSYSMakefileGenerator::GetActualName();
entry.Brief = "Generates MSYS makefiles.";
- entry.Full = "The makefiles use /bin/sh as the shell. "
- "They require msys to be installed on the machine.";
}
diff --git a/Source/cmGlobalMinGWMakefileGenerator.cxx b/Source/cmGlobalMinGWMakefileGenerator.cxx
index 1f374d3..e00c7dd 100644
--- a/Source/cmGlobalMinGWMakefileGenerator.cxx
+++ b/Source/cmGlobalMinGWMakefileGenerator.cxx
@@ -49,6 +49,4 @@ void cmGlobalMinGWMakefileGenerator
{
entry.Name = cmGlobalMinGWMakefileGenerator::GetActualName();
entry.Brief = "Generates a make file for use with mingw32-make.";
- entry.Full = "The makefiles generated use cmd.exe as the shell. "
- "They do not require msys or a unix shell.";
}
diff --git a/Source/cmGlobalNMakeMakefileGenerator.cxx b/Source/cmGlobalNMakeMakefileGenerator.cxx
index 7af4ee3..4fbabe4 100644
--- a/Source/cmGlobalNMakeMakefileGenerator.cxx
+++ b/Source/cmGlobalNMakeMakefileGenerator.cxx
@@ -65,5 +65,4 @@ void cmGlobalNMakeMakefileGenerator
{
entry.Name = cmGlobalNMakeMakefileGenerator::GetActualName();
entry.Brief = "Generates NMake makefiles.";
- entry.Full = "";
}
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx
index 1953546..731bc00 100644
--- a/Source/cmGlobalNinjaGenerator.cxx
+++ b/Source/cmGlobalNinjaGenerator.cxx
@@ -102,6 +102,13 @@ std::string cmGlobalNinjaGenerator::EncodePath(const std::string &path)
return EncodeLiteral(result);
}
+std::string cmGlobalNinjaGenerator::EncodeDepfileSpace(const std::string &path)
+{
+ std::string result = path;
+ cmSystemTools::ReplaceString(result, " ", "\\ ");
+ return result;
+}
+
void cmGlobalNinjaGenerator::WriteBuild(std::ostream& os,
const std::string& comment,
const std::string& rule,
@@ -236,9 +243,11 @@ void cmGlobalNinjaGenerator::AddCustomCommandRule()
"$DESC",
"Rule for running custom commands.",
/*depfile*/ "",
+ /*deptype*/ "",
/*rspfile*/ "",
/*rspcontent*/ "",
- /*restat*/ true);
+ /*restat*/ true,
+ /*generator*/ false);
}
void
@@ -247,7 +256,7 @@ cmGlobalNinjaGenerator::WriteCustomCommandBuild(const std::string& command,
const std::string& comment,
const cmNinjaDeps& outputs,
const cmNinjaDeps& deps,
- const cmNinjaDeps& orderOnlyDeps)
+ const cmNinjaDeps& orderOnly)
{
std::string cmd = command;
#ifdef _WIN32
@@ -268,7 +277,7 @@ cmGlobalNinjaGenerator::WriteCustomCommandBuild(const std::string& command,
outputs,
deps,
cmNinjaDeps(),
- orderOnlyDeps,
+ orderOnly,
vars);
}
@@ -287,9 +296,13 @@ cmGlobalNinjaGenerator::AddMacOSXContentRule()
this->AddRule("COPY_OSX_CONTENT",
cmd.str(),
"Copying OS X Content $out",
- "Rule for copying OS X bundle content file."
+ "Rule for copying OS X bundle content file.",
/*depfile*/ "",
- /*rspfile*/ "");
+ /*deptype*/ "",
+ /*rspfile*/ "",
+ /*rspcontent*/ "",
+ /*restat*/ false,
+ /*generator*/ false);
}
void
@@ -320,6 +333,7 @@ void cmGlobalNinjaGenerator::WriteRule(std::ostream& os,
const std::string& description,
const std::string& comment,
const std::string& depfile,
+ const std::string& deptype,
const std::string& rspfile,
const std::string& rspcontent,
bool restat,
@@ -355,6 +369,13 @@ void cmGlobalNinjaGenerator::WriteRule(std::ostream& os,
os << "depfile = " << depfile << "\n";
}
+ // Write the deptype if any.
+ if (!deptype.empty())
+ {
+ cmGlobalNinjaGenerator::Indent(os, 1);
+ os << "deps = " << deptype << "\n";
+ }
+
// Write the command.
cmGlobalNinjaGenerator::Indent(os, 1);
os << "command = " << command << "\n";
@@ -470,10 +491,6 @@ void cmGlobalNinjaGenerator
{
entry.Name = cmGlobalNinjaGenerator::GetActualName();
entry.Brief = "Generates build.ninja files (experimental).";
- entry.Full =
- "A build.ninja file is generated into the build tree. Recent "
- "versions of the ninja program can build the project through the "
- "\"all\" target. An \"install\" target is also provided.";
}
// Implemented in all cmGlobaleGenerator sub-classes.
@@ -532,47 +549,34 @@ bool cmGlobalNinjaGenerator::UsingMinGW = false;
// cmGlobalXCodeGenerator
// Called by:
// cmGlobalGenerator::Build()
-std::string cmGlobalNinjaGenerator
-::GenerateBuildCommand(const char* makeProgram,
- const char* projectName,
- const char* projectDir,
- const char* additionalOptions,
+void cmGlobalNinjaGenerator
+::GenerateBuildCommand(std::vector<std::string>& makeCommand,
+ const char* makeProgram,
+ const char* /*projectName*/,
+ const char* /*projectDir*/,
const char* targetName,
- const char* config,
- bool ignoreErrors,
- bool fast)
+ const char* /*config*/,
+ bool /*fast*/,
+ std::vector<std::string> const& makeOptions)
{
- // Project name & dir and config are not used yet.
- (void)projectName;
- (void)projectDir;
- (void)config;
- // Ninja does not have -i equivalent option yet.
- (void)ignoreErrors;
- // We do not handle fast build yet.
- (void)fast;
-
- std::string makeCommand =
- cmSystemTools::ConvertToUnixOutputPath(makeProgram);
-
- if(additionalOptions)
- {
- makeCommand += " ";
- makeCommand += additionalOptions;
- }
- if(targetName)
+ makeCommand.push_back(
+ this->SelectMakeProgram(makeProgram)
+ );
+
+ makeCommand.insert(makeCommand.end(),
+ makeOptions.begin(), makeOptions.end());
+ if(targetName && *targetName)
{
if(strcmp(targetName, "clean") == 0)
{
- makeCommand += " -t clean";
+ makeCommand.push_back("-t");
+ makeCommand.push_back("clean");
}
else
{
- makeCommand += " ";
- makeCommand += targetName;
+ makeCommand.push_back(targetName);
}
}
-
- return makeCommand;
}
//----------------------------------------------------------------------------
@@ -583,6 +587,7 @@ void cmGlobalNinjaGenerator::AddRule(const std::string& name,
const std::string& description,
const std::string& comment,
const std::string& depfile,
+ const std::string& deptype,
const std::string& rspfile,
const std::string& rspcontent,
bool restat,
@@ -601,6 +606,7 @@ void cmGlobalNinjaGenerator::AddRule(const std::string& name,
description,
comment,
depfile,
+ deptype,
rspfile,
rspcontent,
restat,
@@ -618,6 +624,13 @@ bool cmGlobalNinjaGenerator::HasRule(const std::string &name)
//----------------------------------------------------------------------------
// Private virtual overrides
+std::string cmGlobalNinjaGenerator::GetEditCacheCommand() const
+{
+ // Ninja by design does not run interactive tools in the terminal,
+ // so our only choice is cmake-gui.
+ return cmSystemTools::GetCMakeGUICommand();
+}
+
// TODO: Refactor to combine with cmGlobalUnixMakefileGenerator3 impl.
void cmGlobalNinjaGenerator::ComputeTargetObjects(cmGeneratorTarget* gt) const
{
@@ -631,15 +644,17 @@ void cmGlobalNinjaGenerator::ComputeTargetObjects(cmGeneratorTarget* gt) const
dir_max += "/";
gt->ObjectDirectory = dir_max;
+ std::vector<cmSourceFile*> objectSources;
+ gt->GetObjectSources(objectSources);
// Compute the name of each object file.
for(std::vector<cmSourceFile*>::iterator
- si = gt->ObjectSources.begin();
- si != gt->ObjectSources.end(); ++si)
+ si = objectSources.begin();
+ si != objectSources.end(); ++si)
{
cmSourceFile* sf = *si;
std::string objectName = gt->LocalGenerator
->GetObjectFileNameWithoutTarget(*sf, dir_max);
- gt->Objects[sf] = objectName;
+ gt->AddObject(sf, objectName);
}
}
@@ -817,7 +832,7 @@ void cmGlobalNinjaGenerator::WriteAssumedSourceDependencies()
void
cmGlobalNinjaGenerator
-::AppendTargetOutputs(cmTarget* target, cmNinjaDeps& outputs)
+::AppendTargetOutputs(cmTarget const* target, cmNinjaDeps& outputs)
{
const char* configName =
target->GetMakefile()->GetDefinition("CMAKE_BUILD_TYPE");
@@ -866,7 +881,7 @@ cmGlobalNinjaGenerator
void
cmGlobalNinjaGenerator
-::AppendTargetDepends(cmTarget* target, cmNinjaDeps& outputs)
+::AppendTargetDepends(cmTarget const* target, cmNinjaDeps& outputs)
{
if (target->GetType() == cmTarget::GLOBAL_TARGET) {
// Global targets only depend on other utilities, which may not appear in
@@ -877,7 +892,12 @@ cmGlobalNinjaGenerator
cmTargetDependSet const& targetDeps =
this->GetTargetDirectDepends(*target);
for (cmTargetDependSet::const_iterator i = targetDeps.begin();
- i != targetDeps.end(); ++i) {
+ i != targetDeps.end(); ++i)
+ {
+ if ((*i)->GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
this->AppendTargetOutputs(*i, outputs);
}
}
@@ -1084,21 +1104,30 @@ void cmGlobalNinjaGenerator::WriteTargetRebuildManifest(std::ostream& os)
"Re-running CMake...",
"Rule for re-running cmake.",
/*depfile=*/ "",
+ /*deptype=*/ "",
/*rspfile=*/ "",
/*rspcontent*/ "",
/*restat=*/ false,
/*generator=*/ true);
+ cmLocalNinjaGenerator *ng = static_cast<cmLocalNinjaGenerator *>(lg);
+
cmNinjaDeps implicitDeps;
- for (std::vector<cmLocalGenerator *>::const_iterator i =
- this->LocalGenerators.begin(); i != this->LocalGenerators.end(); ++i) {
- const std::vector<std::string>& lf = (*i)->GetMakefile()->GetListFiles();
- implicitDeps.insert(implicitDeps.end(), lf.begin(), lf.end());
- }
+ for(std::vector<cmLocalGenerator*>::const_iterator i =
+ this->LocalGenerators.begin(); i != this->LocalGenerators.end(); ++i)
+ {
+ std::vector<std::string> const& lf = (*i)->GetMakefile()->GetListFiles();
+ for(std::vector<std::string>::const_iterator fi = lf.begin();
+ fi != lf.end(); ++fi)
+ {
+ implicitDeps.push_back(ng->ConvertToNinjaPath(fi->c_str()));
+ }
+ }
+ implicitDeps.push_back("CMakeCache.txt");
+
std::sort(implicitDeps.begin(), implicitDeps.end());
implicitDeps.erase(std::unique(implicitDeps.begin(), implicitDeps.end()),
implicitDeps.end());
- implicitDeps.push_back("CMakeCache.txt");
this->WriteBuild(os,
"Re-run CMake if any of its inputs changed.",
@@ -1134,6 +1163,7 @@ void cmGlobalNinjaGenerator::WriteTargetClean(std::ostream& os)
"Cleaning all built files...",
"Rule for cleaning all built files.",
/*depfile=*/ "",
+ /*deptype=*/ "",
/*rspfile=*/ "",
/*rspcontent*/ "",
/*restat=*/ false,
@@ -1156,6 +1186,7 @@ void cmGlobalNinjaGenerator::WriteTargetHelp(std::ostream& os)
"All primary targets available:",
"Rule for printing all primary targets available.",
/*depfile=*/ "",
+ /*deptype=*/ "",
/*rspfile=*/ "",
/*rspcontent*/ "",
/*restat=*/ false,
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h
index e046c7c..0d5fb44 100644
--- a/Source/cmGlobalNinjaGenerator.h
+++ b/Source/cmGlobalNinjaGenerator.h
@@ -64,6 +64,7 @@ public:
static std::string EncodeIdent(const std::string &ident, std::ostream &vars);
static std::string EncodeLiteral(const std::string &lit);
static std::string EncodePath(const std::string &path);
+ static std::string EncodeDepfileSpace(const std::string &path);
/**
* Write the given @a comment to the output stream @a os. It
@@ -104,7 +105,7 @@ public:
const std::string& comment,
const cmNinjaDeps& outputs,
const cmNinjaDeps& deps = cmNinjaDeps(),
- const cmNinjaDeps& orderOnlyDeps = cmNinjaDeps());
+ const cmNinjaDeps& orderOnly = cmNinjaDeps());
void WriteMacOSXContentBuild(const std::string& input,
const std::string& output);
@@ -120,6 +121,7 @@ public:
const std::string& description,
const std::string& comment,
const std::string& depfile,
+ const std::string& deptype,
const std::string& rspfile,
const std::string& rspcontent,
bool restat,
@@ -189,14 +191,16 @@ public:
bool optional);
/// Overloaded methods. @see cmGlobalGenerator::GenerateBuildCommand()
- virtual std::string GenerateBuildCommand(const char* makeProgram,
- const char* projectName,
- const char* projectDir,
- const char* additionalOptions,
- const char* targetName,
- const char* config,
- bool ignoreErrors,
- bool fast);
+ virtual void GenerateBuildCommand(
+ std::vector<std::string>& makeCommand,
+ const char* makeProgram,
+ const char* projectName,
+ const char* projectDir,
+ const char* targetName,
+ const char* config,
+ bool fast,
+ std::vector<std::string> const& makeOptions = std::vector<std::string>()
+ );
// Setup target names
virtual const char* GetAllTargetName() const { return "all"; }
@@ -239,11 +243,12 @@ public:
const std::string& command,
const std::string& description,
const std::string& comment,
- const std::string& depfile = "",
- const std::string& rspfile = "",
- const std::string& rspcontent = "",
- bool restat = false,
- bool generator = false);
+ const std::string& depfile,
+ const std::string& deptype,
+ const std::string& rspfile,
+ const std::string& rspcontent,
+ bool restat,
+ bool generator);
bool HasRule(const std::string& name);
@@ -278,8 +283,8 @@ public:
ASD.insert(deps.begin(), deps.end());
}
- void AppendTargetOutputs(cmTarget* target, cmNinjaDeps& outputs);
- void AppendTargetDepends(cmTarget* target, cmNinjaDeps& outputs);
+ void AppendTargetOutputs(cmTarget const* target, cmNinjaDeps& outputs);
+ void AppendTargetDepends(cmTarget const* target, cmNinjaDeps& outputs);
void AddDependencyToAll(cmTarget* target);
void AddDependencyToAll(const std::string& input);
@@ -299,10 +304,11 @@ protected:
/// Overloaded methods.
/// @see cmGlobalGenerator::CheckALLOW_DUPLICATE_CUSTOM_TARGETS()
- virtual bool CheckALLOW_DUPLICATE_CUSTOM_TARGETS() { return true; }
+ virtual bool CheckALLOW_DUPLICATE_CUSTOM_TARGETS() const { return true; }
private:
+ virtual std::string GetEditCacheCommand() const;
/// @see cmGlobalGenerator::ComputeTargetObjects
virtual void ComputeTargetObjects(cmGeneratorTarget* gt) const;
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx
index 88cd6e5..0b37a07 100644
--- a/Source/cmGlobalUnixMakefileGenerator3.cxx
+++ b/Source/cmGlobalUnixMakefileGenerator3.cxx
@@ -65,10 +65,42 @@ void cmGlobalUnixMakefileGenerator3
{
entry.Name = cmGlobalUnixMakefileGenerator3::GetActualName();
entry.Brief = "Generates standard UNIX makefiles.";
- entry.Full =
- "A hierarchy of UNIX makefiles is generated into the build tree. Any "
- "standard UNIX-style make program can build the project through the "
- "default make target. A \"make install\" target is also provided.";
+}
+
+//----------------------------------------------------------------------------
+std::string cmGlobalUnixMakefileGenerator3::GetEditCacheCommand() const
+{
+ // If generating for an extra IDE, the edit_cache target cannot
+ // launch a terminal-interactive tool, so always use cmake-gui.
+ if(this->GetExtraGeneratorName())
+ {
+ return cmSystemTools::GetCMakeGUICommand();
+ }
+
+ // Use an internal cache entry to track the latest dialog used
+ // to edit the cache, and use that for the edit_cache target.
+ cmake* cm = this->GetCMakeInstance();
+ std::string editCacheCommand = cm->GetCMakeEditCommand();
+ if(!cm->GetCacheDefinition("CMAKE_EDIT_COMMAND") ||
+ !editCacheCommand.empty())
+ {
+ if(editCacheCommand.empty())
+ {
+ editCacheCommand = cmSystemTools::GetCMakeCursesCommand();
+ }
+ if(editCacheCommand.empty())
+ {
+ editCacheCommand = cmSystemTools::GetCMakeGUICommand();
+ }
+ if(!editCacheCommand.empty())
+ {
+ cm->AddCacheEntry
+ ("CMAKE_EDIT_COMMAND", editCacheCommand.c_str(),
+ "Path to cache edit program executable.", cmCacheManager::INTERNAL);
+ }
+ }
+ const char* edit_cmd = cm->GetCacheDefinition("CMAKE_EDIT_COMMAND");
+ return edit_cmd? edit_cmd : "";
}
//----------------------------------------------------------------------------
@@ -88,21 +120,31 @@ cmGlobalUnixMakefileGenerator3
dir_max += "/";
gt->ObjectDirectory = dir_max;
+ std::vector<cmSourceFile*> objectSources;
+ gt->GetObjectSources(objectSources);
// Compute the name of each object file.
for(std::vector<cmSourceFile*>::iterator
- si = gt->ObjectSources.begin();
- si != gt->ObjectSources.end(); ++si)
+ si = objectSources.begin();
+ si != objectSources.end(); ++si)
{
cmSourceFile* sf = *si;
bool hasSourceExtension = true;
std::string objectName = gt->LocalGenerator
->GetObjectFileNameWithoutTarget(*sf, dir_max,
&hasSourceExtension);
- gt->Objects[sf] = objectName;
+ gt->AddObject(sf, objectName);
lg->AddLocalObjectFile(target, sf, objectName, hasSourceExtension);
}
}
+void cmGlobalUnixMakefileGenerator3::Configure()
+{
+ // Initialize CMAKE_EDIT_COMMAND cache entry.
+ this->GetEditCacheCommand();
+
+ this->cmGlobalGenerator::Configure();
+}
+
void cmGlobalUnixMakefileGenerator3::Generate()
{
// first do superclass method
@@ -281,7 +323,7 @@ void cmGlobalUnixMakefileGenerator3::WriteMainCMakefile()
// Save the generator name
cmakefileStream
<< "# The generator used is:\n"
- << "SET(CMAKE_DEPENDS_GENERATOR \"" << this->GetName() << "\")\n\n";
+ << "set(CMAKE_DEPENDS_GENERATOR \"" << this->GetName() << "\")\n\n";
// for each cmMakefile get its list of dependencies
std::vector<std::string> lfiles;
@@ -312,7 +354,7 @@ void cmGlobalUnixMakefileGenerator3::WriteMainCMakefile()
// Save the list to the cmake file.
cmakefileStream
<< "# The top level Makefile was generated from the following files:\n"
- << "SET(CMAKE_MAKEFILE_DEPENDS\n"
+ << "set(CMAKE_MAKEFILE_DEPENDS\n"
<< " \""
<< lg->Convert(cache.c_str(),
cmLocalGenerator::START_OUTPUT).c_str() << "\"\n";
@@ -335,7 +377,7 @@ void cmGlobalUnixMakefileGenerator3::WriteMainCMakefile()
// Set the corresponding makefile in the cmake file.
cmakefileStream
<< "# The corresponding makefile is:\n"
- << "SET(CMAKE_MAKEFILE_OUTPUTS\n"
+ << "set(CMAKE_MAKEFILE_OUTPUTS\n"
<< " \""
<< lg->Convert(makefileName.c_str(),
cmLocalGenerator::START_OUTPUT).c_str() << "\"\n"
@@ -348,7 +390,7 @@ void cmGlobalUnixMakefileGenerator3::WriteMainCMakefile()
{
cmakefileStream
<< "# Byproducts of CMake generate step:\n"
- << "SET(CMAKE_MAKEFILE_PRODUCTS\n";
+ << "set(CMAKE_MAKEFILE_PRODUCTS\n";
const std::vector<std::string>& outfiles =
lg->GetMakefile()->GetOutputFiles();
for(std::vector<std::string>::const_iterator k = outfiles.begin();
@@ -390,7 +432,7 @@ void cmGlobalUnixMakefileGenerator3
cmakefileStream
<< "# Dependency information for all targets:\n";
cmakefileStream
- << "SET(CMAKE_DEPEND_INFO_FILES\n";
+ << "set(CMAKE_DEPEND_INFO_FILES\n";
for (unsigned int i = 0; i < lGenerators.size(); ++i)
{
lg = static_cast<cmLocalUnixMakefileGenerator3 *>(lGenerators[i]);
@@ -431,22 +473,28 @@ cmGlobalUnixMakefileGenerator3
// The directory-level rule should depend on the target-level rules
// for all targets in the directory.
std::vector<std::string> depends;
- for(cmTargets::iterator l = lg->GetMakefile()->GetTargets().begin();
- l != lg->GetMakefile()->GetTargets().end(); ++l)
+ cmGeneratorTargetsType targets = lg->GetMakefile()->GetGeneratorTargets();
+ for(cmGeneratorTargetsType::iterator l = targets.begin();
+ l != targets.end(); ++l)
{
- if((l->second.GetType() == cmTarget::EXECUTABLE) ||
- (l->second.GetType() == cmTarget::STATIC_LIBRARY) ||
- (l->second.GetType() == cmTarget::SHARED_LIBRARY) ||
- (l->second.GetType() == cmTarget::MODULE_LIBRARY) ||
- (l->second.GetType() == cmTarget::OBJECT_LIBRARY) ||
- (l->second.GetType() == cmTarget::UTILITY))
+ if((l->second->GetType() == cmTarget::EXECUTABLE) ||
+ (l->second->GetType() == cmTarget::STATIC_LIBRARY) ||
+ (l->second->GetType() == cmTarget::SHARED_LIBRARY) ||
+ (l->second->GetType() == cmTarget::MODULE_LIBRARY) ||
+ (l->second->GetType() == cmTarget::OBJECT_LIBRARY) ||
+ (l->second->GetType() == cmTarget::UTILITY))
{
+ if(l->second->Target->IsImported())
+ {
+ continue;
+ }
// Add this to the list of depends rules in this directory.
- if((!check_all || !l->second.GetPropertyAsBool("EXCLUDE_FROM_ALL")) &&
+ if((!check_all || !l->second->GetPropertyAsBool("EXCLUDE_FROM_ALL")) &&
(!check_relink ||
- l->second.NeedRelinkBeforeInstall(lg->ConfigurationName.c_str())))
+ l->second->Target
+ ->NeedRelinkBeforeInstall(lg->ConfigurationName.c_str())))
{
- std::string tname = lg->GetRelativeTargetDirectory(l->second);
+ std::string tname = lg->GetRelativeTargetDirectory(*l->second->Target);
tname += "/";
tname += pass;
depends.push_back(tname);
@@ -514,36 +562,29 @@ cmGlobalUnixMakefileGenerator3
this->WriteDirectoryRule2(ruleFileStream, lg, "preinstall", true, true);
}
-
-std::string cmGlobalUnixMakefileGenerator3
-::GenerateBuildCommand(const char* makeProgram, const char *projectName,
- const char *projectDir, const char* additionalOptions,
- const char *targetName, const char* config,
- bool ignoreErrors, bool fast)
+//----------------------------------------------------------------------------
+void cmGlobalUnixMakefileGenerator3
+::GenerateBuildCommand(std::vector<std::string>& makeCommand,
+ const char* makeProgram,
+ const char* /*projectName*/,
+ const char* /*projectDir*/,
+ const char* targetName,
+ const char* /*config*/,
+ bool fast,
+ std::vector<std::string> const& makeOptions)
{
- // Project name & dir and config are not used yet.
- (void)projectName;
- (void)projectDir;
- (void)config;
-
- std::string makeCommand =
- cmSystemTools::ConvertToUnixOutputPath(makeProgram);
+ makeCommand.push_back(
+ this->SelectMakeProgram(makeProgram)
+ );
// Since we have full control over the invocation of nmake, let us
// make it quiet.
if ( strcmp(this->GetName(), "NMake Makefiles") == 0 )
{
- makeCommand += " /NOLOGO ";
- }
- if ( ignoreErrors )
- {
- makeCommand += " -i";
- }
- if ( additionalOptions )
- {
- makeCommand += " ";
- makeCommand += additionalOptions;
+ makeCommand.push_back("/NOLOGO");
}
+ makeCommand.insert(makeCommand.end(),
+ makeOptions.begin(), makeOptions.end());
if ( targetName && strlen(targetName))
{
cmLocalUnixMakefileGenerator3 *lg;
@@ -564,22 +605,19 @@ std::string cmGlobalUnixMakefileGenerator3
lg->GetMakefile()->MakeStartDirectoriesCurrent();
}
- makeCommand += " \"";
std::string tname = targetName;
if(fast)
{
tname += "/fast";
}
- tname = lg->Convert(tname.c_str(),cmLocalGenerator::HOME_OUTPUT,
- cmLocalGenerator::MAKEFILE);
- makeCommand += tname.c_str();
- makeCommand += "\"";
+ tname = lg->Convert(tname.c_str(),cmLocalGenerator::HOME_OUTPUT);
+ cmSystemTools::ConvertToOutputSlashes(tname);
+ makeCommand.push_back(tname);
if (!this->LocalGenerators.size())
{
delete lg;
}
}
- return makeCommand;
}
//----------------------------------------------------------------------------
@@ -601,44 +639,50 @@ cmGlobalUnixMakefileGenerator3
lg = static_cast<cmLocalUnixMakefileGenerator3 *>
(this->LocalGenerators[i]);
// for each target Generate the rule files for each target.
- cmTargets& targets = lg->GetMakefile()->GetTargets();
- for(cmTargets::iterator t = targets.begin(); t != targets.end(); ++t)
+ cmGeneratorTargetsType targets = lg->GetMakefile()->GetGeneratorTargets();
+ for(cmGeneratorTargetsType::iterator t = targets.begin();
+ t != targets.end(); ++t)
{
+ if(t->second->Target->IsImported())
+ {
+ continue;
+ }
// Don't emit the same rule twice (e.g. two targets with the same
// simple name)
- if(t->second.GetName() &&
- strlen(t->second.GetName()) &&
- emitted.insert(t->second.GetName()).second &&
+ if(t->second->GetName() &&
+ strlen(t->second->GetName()) &&
+ emitted.insert(t->second->GetName()).second &&
// Handle user targets here. Global targets are handled in
// the local generator on a per-directory basis.
- ((t->second.GetType() == cmTarget::EXECUTABLE) ||
- (t->second.GetType() == cmTarget::STATIC_LIBRARY) ||
- (t->second.GetType() == cmTarget::SHARED_LIBRARY) ||
- (t->second.GetType() == cmTarget::MODULE_LIBRARY) ||
- (t->second.GetType() == cmTarget::OBJECT_LIBRARY) ||
- (t->second.GetType() == cmTarget::UTILITY)))
+ ((t->second->GetType() == cmTarget::EXECUTABLE) ||
+ (t->second->GetType() == cmTarget::STATIC_LIBRARY) ||
+ (t->second->GetType() == cmTarget::SHARED_LIBRARY) ||
+ (t->second->GetType() == cmTarget::MODULE_LIBRARY) ||
+ (t->second->GetType() == cmTarget::OBJECT_LIBRARY) ||
+ (t->second->GetType() == cmTarget::UTILITY)))
{
// Add a rule to build the target by name.
lg->WriteDivider(ruleFileStream);
ruleFileStream
<< "# Target rules for targets named "
- << t->second.GetName() << "\n\n";
+ << t->second->GetName() << "\n\n";
// Write the rule.
commands.clear();
std::string tmp = cmake::GetCMakeFilesDirectoryPostSlash();
tmp += "Makefile2";
commands.push_back(lg->GetRecursiveMakeCall
- (tmp.c_str(),t->second.GetName()));
+ (tmp.c_str(),t->second->GetName()));
depends.clear();
depends.push_back("cmake_check_build_system");
lg->WriteMakeRule(ruleFileStream,
"Build rule for target.",
- t->second.GetName(), depends, commands,
+ t->second->GetName(), depends, commands,
true);
// Add a fast rule to build the target
- std::string localName = lg->GetRelativeTargetDirectory(t->second);
+ std::string localName =
+ lg->GetRelativeTargetDirectory(*t->second->Target);
std::string makefileName;
makefileName = localName;
makefileName += "/build.make";
@@ -646,7 +690,7 @@ cmGlobalUnixMakefileGenerator3
commands.clear();
std::string makeTargetName = localName;
makeTargetName += "/build";
- localName = t->second.GetName();
+ localName = t->second->GetName();
localName += "/fast";
commands.push_back(lg->GetRecursiveMakeCall
(makefileName.c_str(), makeTargetName.c_str()));
@@ -655,11 +699,12 @@ cmGlobalUnixMakefileGenerator3
// Add a local name for the rule to relink the target before
// installation.
- if(t->second.NeedRelinkBeforeInstall(lg->ConfigurationName.c_str()))
+ if(t->second->Target
+ ->NeedRelinkBeforeInstall(lg->ConfigurationName.c_str()))
{
- makeTargetName = lg->GetRelativeTargetDirectory(t->second);
+ makeTargetName = lg->GetRelativeTargetDirectory(*t->second->Target);
makeTargetName += "/preinstall";
- localName = t->second.GetName();
+ localName = t->second->GetName();
localName += "/preinstall";
depends.clear();
commands.clear();
@@ -693,25 +738,30 @@ cmGlobalUnixMakefileGenerator3
depends.push_back("cmake_check_build_system");
// for each target Generate the rule files for each target.
- cmTargets& targets = lg->GetMakefile()->GetTargets();
- for(cmTargets::iterator t = targets.begin(); t != targets.end(); ++t)
+ cmGeneratorTargetsType targets = lg->GetMakefile()->GetGeneratorTargets();
+ for(cmGeneratorTargetsType::iterator t = targets.begin();
+ t != targets.end(); ++t)
{
- if (t->second.GetName()
- && strlen(t->second.GetName())
- && ((t->second.GetType() == cmTarget::EXECUTABLE)
- || (t->second.GetType() == cmTarget::STATIC_LIBRARY)
- || (t->second.GetType() == cmTarget::SHARED_LIBRARY)
- || (t->second.GetType() == cmTarget::MODULE_LIBRARY)
- || (t->second.GetType() == cmTarget::OBJECT_LIBRARY)
- || (t->second.GetType() == cmTarget::UTILITY)))
+ if(t->second->Target->IsImported())
+ {
+ continue;
+ }
+ if (t->second->GetName()
+ && strlen(t->second->GetName())
+ && ((t->second->GetType() == cmTarget::EXECUTABLE)
+ || (t->second->GetType() == cmTarget::STATIC_LIBRARY)
+ || (t->second->GetType() == cmTarget::SHARED_LIBRARY)
+ || (t->second->GetType() == cmTarget::MODULE_LIBRARY)
+ || (t->second->GetType() == cmTarget::OBJECT_LIBRARY)
+ || (t->second->GetType() == cmTarget::UTILITY)))
{
std::string makefileName;
// Add a rule to build the target by name.
- localName = lg->GetRelativeTargetDirectory(t->second);
+ localName = lg->GetRelativeTargetDirectory(*t->second->Target);
makefileName = localName;
makefileName += "/build.make";
- bool needRequiresStep = this->NeedRequiresStep(t->second);
+ bool needRequiresStep = this->NeedRequiresStep(*t->second->Target);
lg->WriteDivider(ruleFileStream);
ruleFileStream
@@ -730,12 +780,12 @@ cmGlobalUnixMakefileGenerator3
makeTargetName = localName;
makeTargetName += "/requires";
commands.push_back(lg->GetRecursiveMakeCall
- (makefileName.c_str(),makeTargetName.c_str()));
+ (makefileName.c_str(),makeTargetName.c_str()));
}
makeTargetName = localName;
makeTargetName += "/build";
commands.push_back(lg->GetRecursiveMakeCall
- (makefileName.c_str(),makeTargetName.c_str()));
+ (makefileName.c_str(),makeTargetName.c_str()));
// Write the rule.
localName += "/all";
@@ -753,7 +803,7 @@ cmGlobalUnixMakefileGenerator3
cmLocalGenerator::SHELL);
progCmd << " ";
std::vector<unsigned long>& progFiles =
- this->ProgressMap[&t->second].Marks;
+ this->ProgressMap[t->second->Target].Marks;
for (std::vector<unsigned long>::iterator i = progFiles.begin();
i != progFiles.end(); ++i)
{
@@ -762,15 +812,15 @@ cmGlobalUnixMakefileGenerator3
commands.push_back(progCmd.str());
}
progressDir = "Built target ";
- progressDir += t->first;
+ progressDir += t->second->GetName();
lg->AppendEcho(commands,progressDir.c_str());
- this->AppendGlobalTargetDepends(depends,t->second);
+ this->AppendGlobalTargetDepends(depends,*t->second->Target);
lg->WriteMakeRule(ruleFileStream, "All Build rule for target.",
localName.c_str(), depends, commands, true);
// add the all/all dependency
- if(!this->IsExcluded(this->LocalGenerators[0], t->second))
+ if(!this->IsExcluded(this->LocalGenerators[0], *t->second->Target))
{
depends.clear();
depends.push_back(localName);
@@ -793,9 +843,9 @@ cmGlobalUnixMakefileGenerator3
cmLocalGenerator::FULL,
cmLocalGenerator::SHELL);
//
- std::set<cmTarget *> emitted;
+ std::set<cmTarget const*> emitted;
progCmd << " "
- << this->CountProgressMarksInTarget(&t->second, emitted);
+ << this->CountProgressMarksInTarget(t->second->Target, emitted);
commands.push_back(progCmd.str());
}
std::string tmp = cmake::GetCMakeFilesDirectoryPostSlash();
@@ -813,7 +863,7 @@ cmGlobalUnixMakefileGenerator3
}
depends.clear();
depends.push_back("cmake_check_build_system");
- localName = lg->GetRelativeTargetDirectory(t->second);
+ localName = lg->GetRelativeTargetDirectory(*t->second->Target);
localName += "/rule";
lg->WriteMakeRule(ruleFileStream,
"Build rule for subdir invocation for target.",
@@ -824,12 +874,13 @@ cmGlobalUnixMakefileGenerator3
depends.clear();
depends.push_back(localName);
lg->WriteMakeRule(ruleFileStream, "Convenience name for target.",
- t->second.GetName(), depends, commands, true);
+ t->second->GetName(), depends, commands, true);
// Add rules to prepare the target for installation.
- if(t->second.NeedRelinkBeforeInstall(lg->ConfigurationName.c_str()))
+ if(t->second->Target
+ ->NeedRelinkBeforeInstall(lg->ConfigurationName.c_str()))
{
- localName = lg->GetRelativeTargetDirectory(t->second);
+ localName = lg->GetRelativeTargetDirectory(*t->second->Target);
localName += "/preinstall";
depends.clear();
commands.clear();
@@ -839,7 +890,7 @@ cmGlobalUnixMakefileGenerator3
"Pre-install relink rule for target.",
localName.c_str(), depends, commands, true);
- if(!this->IsExcluded(this->LocalGenerators[0], t->second))
+ if(!this->IsExcluded(this->LocalGenerators[0], *t->second->Target))
{
depends.clear();
depends.push_back(localName);
@@ -850,7 +901,7 @@ cmGlobalUnixMakefileGenerator3
}
// add the clean rule
- localName = lg->GetRelativeTargetDirectory(t->second);
+ localName = lg->GetRelativeTargetDirectory(*t->second->Target);
makeTargetName = localName;
makeTargetName += "/clean";
depends.clear();
@@ -870,8 +921,8 @@ cmGlobalUnixMakefileGenerator3
//----------------------------------------------------------------------------
size_t
cmGlobalUnixMakefileGenerator3
-::CountProgressMarksInTarget(cmTarget* target,
- std::set<cmTarget*>& emitted)
+::CountProgressMarksInTarget(cmTarget const* target,
+ std::set<cmTarget const*>& emitted)
{
size_t count = 0;
if(emitted.insert(target).second)
@@ -881,6 +932,10 @@ cmGlobalUnixMakefileGenerator3
for(TargetDependSet::const_iterator di = depends.begin();
di != depends.end(); ++di)
{
+ if ((*di)->GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
count += this->CountProgressMarksInTarget(*di, emitted);
}
}
@@ -893,9 +948,10 @@ cmGlobalUnixMakefileGenerator3
::CountProgressMarksInAll(cmLocalUnixMakefileGenerator3* lg)
{
size_t count = 0;
- std::set<cmTarget*> emitted;
- std::set<cmTarget*> const& targets = this->LocalGeneratorToTargetMap[lg];
- for(std::set<cmTarget*>::const_iterator t = targets.begin();
+ std::set<cmTarget const*> emitted;
+ std::set<cmTarget const*> const& targets
+ = this->LocalGeneratorToTargetMap[lg];
+ for(std::set<cmTarget const*>::const_iterator t = targets.begin();
t != targets.end(); ++t)
{
count += this->CountProgressMarksInTarget(*t, emitted);
@@ -916,7 +972,7 @@ cmGlobalUnixMakefileGenerator3::RecordTargetProgress(
//----------------------------------------------------------------------------
bool
cmGlobalUnixMakefileGenerator3::ProgressMapCompare
-::operator()(cmTarget* l, cmTarget* r) const
+::operator()(cmTarget const* l, cmTarget const* r) const
{
// Order by target name.
if(int c = strcmp(l->GetName(), r->GetName()))
@@ -967,6 +1023,10 @@ cmGlobalUnixMakefileGenerator3
{
// Create the target-level dependency.
cmTarget const* dep = *i;
+ if (dep->GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
cmLocalUnixMakefileGenerator3* lg3 =
static_cast<cmLocalUnixMakefileGenerator3*>
(dep->GetMakefile()->GetLocalGenerator());
diff --git a/Source/cmGlobalUnixMakefileGenerator3.h b/Source/cmGlobalUnixMakefileGenerator3.h
index 5e9dce3..9173751 100644
--- a/Source/cmGlobalUnixMakefileGenerator3.h
+++ b/Source/cmGlobalUnixMakefileGenerator3.h
@@ -77,6 +77,8 @@ public:
virtual void EnableLanguage(std::vector<std::string>const& languages,
cmMakefile *, bool optional);
+ virtual void Configure();
+
/**
* Generate the all required files for building this project/tree. This
* basically creates a series of LocalGenerators for each directory and
@@ -105,12 +107,16 @@ public:
std::string GetEmptyRuleHackDepends() { return this->EmptyRuleHackDepends; }
// change the build command for speed
- virtual std::string GenerateBuildCommand
- (const char* makeProgram,
- const char *projectName, const char *projectDir,
- const char* additionalOptions,
- const char *targetName,
- const char* config, bool ignoreErrors, bool fast);
+ virtual void GenerateBuildCommand(
+ std::vector<std::string>& makeCommand,
+ const char* makeProgram,
+ const char* projectName,
+ const char* projectDir,
+ const char* targetName,
+ const char* config,
+ bool fast,
+ std::vector<std::string> const& makeOptions = std::vector<std::string>()
+ );
/** Record per-target progress information. */
void RecordTargetProgress(cmMakefileTargetGenerator* tg);
@@ -119,6 +125,9 @@ public:
const std::string &workingDirectory,
const std::string &compileCommand);
+ /** Does the make tool tolerate .NOTPARALLEL? */
+ virtual bool AllowNotParallel() const { return true; }
+
protected:
void WriteMainMakefile2();
void WriteMainCMakefile();
@@ -152,7 +161,7 @@ protected:
const char* GetRebuildCacheTargetName() const { return "rebuild_cache"; }
const char* GetCleanTargetName() const { return "clean"; }
- virtual bool CheckALLOW_DUPLICATE_CUSTOM_TARGETS() { return true; }
+ virtual bool CheckALLOW_DUPLICATE_CUSTOM_TARGETS() const { return true; }
// Some make programs (Borland) do not keep a rule if there are no
// dependencies or commands. This is a problem for creating rules
@@ -175,17 +184,20 @@ protected:
std::vector<unsigned long> Marks;
void WriteProgressVariables(unsigned long total, unsigned long& current);
};
- struct ProgressMapCompare { bool operator()(cmTarget*,cmTarget*) const; };
- typedef std::map<cmTarget*, TargetProgress,
+ struct ProgressMapCompare { bool operator()(cmTarget const*,
+ cmTarget const*) const; };
+ typedef std::map<cmTarget const*, TargetProgress,
ProgressMapCompare> ProgressMapType;
ProgressMapType ProgressMap;
- size_t CountProgressMarksInTarget(cmTarget* target,
- std::set<cmTarget*>& emitted);
+ size_t CountProgressMarksInTarget(cmTarget const* target,
+ std::set<cmTarget const*>& emitted);
size_t CountProgressMarksInAll(cmLocalUnixMakefileGenerator3* lg);
cmGeneratedFileStream *CommandDatabase;
private:
+ virtual const char* GetBuildIgnoreErrorsFlag() const { return "-i"; }
+ virtual std::string GetEditCacheCommand() const;
virtual void ComputeTargetObjects(cmGeneratorTarget* gt) const;
};
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx
index b2a337c..6983ef9 100644
--- a/Source/cmGlobalVisualStudio10Generator.cxx
+++ b/Source/cmGlobalVisualStudio10Generator.cxx
@@ -18,47 +18,65 @@
#include "cmVisualStudioSlnParser.h"
#include "cmake.h"
-static const char vs10Win32generatorName[] = "Visual Studio 10";
-static const char vs10Win64generatorName[] = "Visual Studio 10 Win64";
-static const char vs10IA64generatorName[] = "Visual Studio 10 IA64";
+static const char vs10generatorName[] = "Visual Studio 10 2010";
+
+// Map generator name without year to name with year.
+static const char* cmVS10GenName(const char* name, std::string& genName)
+{
+ if(strncmp(name, vs10generatorName, sizeof(vs10generatorName)-6) != 0)
+ {
+ return 0;
+ }
+ const char* p = name + sizeof(vs10generatorName) - 6;
+ if(cmHasLiteralPrefix(p, " 2010"))
+ {
+ p += 5;
+ }
+ genName = std::string(vs10generatorName) + p;
+ return p;
+}
class cmGlobalVisualStudio10Generator::Factory
: public cmGlobalGeneratorFactory
{
public:
- virtual cmGlobalGenerator* CreateGlobalGenerator(const char* name) const {
- if(!strcmp(name, vs10Win32generatorName))
+ virtual cmGlobalGenerator* CreateGlobalGenerator(const char* name) const
+ {
+ std::string genName;
+ const char* p = cmVS10GenName(name, genName);
+ if(!p)
+ { return 0; }
+ name = genName.c_str();
+ if(strcmp(p, "") == 0)
{
return new cmGlobalVisualStudio10Generator(
name, NULL, NULL);
}
- if(!strcmp(name, vs10Win64generatorName))
+ if(strcmp(p, " Win64") == 0)
{
return new cmGlobalVisualStudio10Generator(
name, "x64", "CMAKE_FORCE_WIN64");
}
- if(!strcmp(name, vs10IA64generatorName))
+ if(strcmp(p, " IA64") == 0)
{
return new cmGlobalVisualStudio10Generator(
name, "Itanium", "CMAKE_FORCE_IA64");
}
return 0;
- }
+ }
- virtual void GetDocumentation(cmDocumentationEntry& entry) const {
- entry.Name = "Visual Studio 10";
- entry.Brief = "Generates Visual Studio 10 (2010) project files.";
- entry.Full =
- "It is possible to append a space followed by the platform name "
- "to create project files for a specific target platform. E.g. "
- "\"Visual Studio 10 Win64\" will create project files for "
- "the x64 processor; \"Visual Studio 10 IA64\" for Itanium.";
- }
+ virtual void GetDocumentation(cmDocumentationEntry& entry) const
+ {
+ entry.Name = vs10generatorName;
+ entry.Brief = "Generates Visual Studio 10 (VS 2010) project files.";
+ }
- virtual void GetGenerators(std::vector<std::string>& names) const {
- names.push_back(vs10Win32generatorName);
- names.push_back(vs10Win64generatorName);
- names.push_back(vs10IA64generatorName); }
+ virtual void GetGenerators(std::vector<std::string>& names) const
+ {
+ names.push_back(vs10generatorName);
+ names.push_back(vs10generatorName + std::string(" IA64"));
+ names.push_back(vs10generatorName + std::string(" Win64"));
+ }
};
//----------------------------------------------------------------------------
@@ -74,12 +92,24 @@ cmGlobalVisualStudio10Generator::cmGlobalVisualStudio10Generator(
: cmGlobalVisualStudio8Generator(name, platformName,
additionalPlatformDefinition)
{
- this->FindMakeProgramFile = "CMakeVS10FindMake.cmake";
std::string vc10Express;
this->ExpressEdition = cmSystemTools::ReadRegistryValue(
"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VCExpress\\10.0\\Setup\\VC;"
"ProductDir", vc10Express, cmSystemTools::KeyWOW64_32);
this->MasmEnabled = false;
+ this->MSBuildCommandInitialized = false;
+}
+
+//----------------------------------------------------------------------------
+bool
+cmGlobalVisualStudio10Generator::MatchesGeneratorName(const char* name) const
+{
+ std::string genName;
+ if(cmVS10GenName(name, genName))
+ {
+ return genName == this->GetName();
+ }
+ return false;
}
//----------------------------------------------------------------------------
@@ -225,50 +255,129 @@ std::string cmGlobalVisualStudio10Generator::GetUserMacrosRegKeyBase()
return "Software\\Microsoft\\VisualStudio\\10.0\\vsmacros";
}
+//----------------------------------------------------------------------------
+void cmGlobalVisualStudio10Generator::FindMakeProgram(cmMakefile* mf)
+{
+ this->cmGlobalVisualStudio8Generator::FindMakeProgram(mf);
+ mf->AddDefinition("CMAKE_VS_MSBUILD_COMMAND",
+ this->GetMSBuildCommand().c_str());
+}
+
+//----------------------------------------------------------------------------
+std::string const& cmGlobalVisualStudio10Generator::GetMSBuildCommand()
+{
+ if(!this->MSBuildCommandInitialized)
+ {
+ this->MSBuildCommandInitialized = true;
+ this->MSBuildCommand = this->FindMSBuildCommand();
+ }
+ return this->MSBuildCommand;
+}
+
+//----------------------------------------------------------------------------
+std::string cmGlobalVisualStudio10Generator::FindMSBuildCommand()
+{
+ std::string msbuild;
+ std::string mskey =
+ "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\MSBuild\\ToolsVersions\\";
+ mskey += this->GetToolsVersion();
+ mskey += ";MSBuildToolsPath";
+ if(cmSystemTools::ReadRegistryValue(mskey.c_str(), msbuild,
+ cmSystemTools::KeyWOW64_32))
+ {
+ cmSystemTools::ConvertToUnixSlashes(msbuild);
+ msbuild += "/";
+ }
+ msbuild += "MSBuild.exe";
+ return msbuild;
+}
-std::string cmGlobalVisualStudio10Generator
-::GenerateBuildCommand(const char* makeProgram,
- const char *projectName, const char *projectDir,
- const char* additionalOptions, const char *targetName,
- const char* config, bool ignoreErrors, bool fast)
+//----------------------------------------------------------------------------
+std::string cmGlobalVisualStudio10Generator::FindDevEnvCommand()
{
- // now build the test
- std::string makeCommand
- = cmSystemTools::ConvertToOutputPath(makeProgram);
- std::string lowerCaseCommand = makeCommand;
- cmSystemTools::LowerCase(lowerCaseCommand);
-
- // If makeProgram is devenv, parent class knows how to generate command:
- if (lowerCaseCommand.find("devenv") != std::string::npos ||
- lowerCaseCommand.find("VCExpress") != std::string::npos)
+ if(this->ExpressEdition)
{
- return cmGlobalVisualStudio7Generator::GenerateBuildCommand(makeProgram,
- projectName, projectDir, additionalOptions, targetName, config,
- ignoreErrors, fast);
+ // Visual Studio Express >= 10 do not have "devenv.com" or
+ // "VCExpress.exe" that we can use to build reliably.
+ // Tell the caller it needs to use MSBuild instead.
+ return "";
}
+ // Skip over the cmGlobalVisualStudio8Generator implementation because
+ // we expect a real devenv and do not want to look for VCExpress.
+ return this->cmGlobalVisualStudio71Generator::FindDevEnvCommand();
+}
- // Otherwise, assume MSBuild command line, and construct accordingly.
+//----------------------------------------------------------------------------
+void cmGlobalVisualStudio10Generator::GenerateBuildCommand(
+ std::vector<std::string>& makeCommand,
+ const char* makeProgram,
+ const char* projectName,
+ const char* projectDir,
+ const char* targetName,
+ const char* config,
+ bool fast,
+ std::vector<std::string> const& makeOptions)
+{
+ // Select the caller- or user-preferred make program, else MSBuild.
+ std::string makeProgramSelected =
+ this->SelectMakeProgram(makeProgram, this->GetMSBuildCommand());
- // if there are spaces in the makeCommand, assume a full path
- // and convert it to a path with no spaces in it as the
- // RunSingleCommand does not like spaces
- if(makeCommand.find(' ') != std::string::npos)
+ // Check if the caller explicitly requested a devenv tool.
+ std::string makeProgramLower = makeProgramSelected;
+ cmSystemTools::LowerCase(makeProgramLower);
+ bool useDevEnv =
+ (makeProgramLower.find("devenv") != std::string::npos ||
+ makeProgramLower.find("vcexpress") != std::string::npos);
+
+ // MSBuild is preferred (and required for VS Express), but if the .sln has
+ // an Intel Fortran .vfproj then we have to use devenv. Parse it to find out.
+ cmSlnData slnData;
+ {
+ std::string slnFile;
+ if(projectDir && *projectDir)
+ {
+ slnFile = projectDir;
+ slnFile += "/";
+ }
+ slnFile += projectName;
+ slnFile += ".sln";
+ cmVisualStudioSlnParser parser;
+ if(parser.ParseFile(slnFile, slnData,
+ cmVisualStudioSlnParser::DataGroupProjects))
{
- cmSystemTools::GetShortPath(makeCommand.c_str(), makeCommand);
+ std::vector<cmSlnProjectEntry> slnProjects = slnData.GetProjects();
+ for(std::vector<cmSlnProjectEntry>::iterator i = slnProjects.begin();
+ !useDevEnv && i != slnProjects.end(); ++i)
+ {
+ std::string proj = i->GetRelativePath();
+ if(proj.size() > 7 &&
+ proj.substr(proj.size()-7) == ".vfproj")
+ {
+ useDevEnv = true;
+ }
+ }
}
+ }
+ if(useDevEnv)
+ {
+ // Use devenv to build solutions containing Intel Fortran projects.
+ cmGlobalVisualStudio7Generator::GenerateBuildCommand(
+ makeCommand, makeProgram, projectName, projectDir,
+ targetName, config, fast, makeOptions);
+ return;
+ }
+
+ makeCommand.push_back(makeProgramSelected);
+
// msbuild.exe CxxOnly.sln /t:Build /p:Configuration=Debug /target:ALL_BUILD
if(!targetName || strlen(targetName) == 0)
{
targetName = "ALL_BUILD";
}
- bool clean = false;
if ( targetName && strcmp(targetName, "clean") == 0 )
{
- clean = true;
- makeCommand += " ";
- makeCommand += projectName;
- makeCommand += ".sln ";
- makeCommand += "/t:Clean ";
+ makeCommand.push_back(std::string(projectName)+".sln");
+ makeCommand.push_back("/t:Clean");
}
else
{
@@ -277,51 +386,29 @@ std::string cmGlobalVisualStudio10Generator
if (targetProject.find('/') == std::string::npos)
{
// it might be in a subdir
- cmVisualStudioSlnParser parser;
- cmSlnData slnData;
- std::string slnFile;
- if (projectDir && *projectDir)
- {
- slnFile = projectDir;
- slnFile += '/';
- slnFile += projectName;
- }
- else
+ if (cmSlnProjectEntry const* proj =
+ slnData.GetProjectByName(targetName))
{
- slnFile = projectName;
- }
- if (parser.ParseFile(slnFile + ".sln", slnData,
- cmVisualStudioSlnParser::DataGroupProjects))
- {
- if (cmSlnProjectEntry const* proj =
- slnData.GetProjectByName(targetName))
- {
- targetProject = proj->GetRelativePath();
- cmSystemTools::ConvertToUnixSlashes(targetProject);
- }
+ targetProject = proj->GetRelativePath();
+ cmSystemTools::ConvertToUnixSlashes(targetProject);
}
}
- makeCommand += " ";
- makeCommand += targetProject;
- makeCommand += " ";
+ makeCommand.push_back(targetProject);
}
- makeCommand += "/p:Configuration=";
+ std::string configArg = "/p:Configuration=";
if(config && strlen(config))
{
- makeCommand += config;
+ configArg += config;
}
else
{
- makeCommand += "Debug";
- }
- makeCommand += " /p:VisualStudioVersion=";
- makeCommand += this->GetIDEVersion();
- if ( additionalOptions )
- {
- makeCommand += " ";
- makeCommand += additionalOptions;
+ configArg += "Debug";
}
- return makeCommand;
+ makeCommand.push_back(configArg);
+ makeCommand.push_back(std::string("/p:VisualStudioVersion=")+
+ this->GetIDEVersion());
+ makeCommand.insert(makeCommand.end(),
+ makeOptions.begin(), makeOptions.end());
}
//----------------------------------------------------------------------------
diff --git a/Source/cmGlobalVisualStudio10Generator.h b/Source/cmGlobalVisualStudio10Generator.h
index 31e122e..976d41f 100644
--- a/Source/cmGlobalVisualStudio10Generator.h
+++ b/Source/cmGlobalVisualStudio10Generator.h
@@ -28,13 +28,20 @@ public:
const char* platformName, const char* additionalPlatformDefinition);
static cmGlobalGeneratorFactory* NewFactory();
+ virtual bool MatchesGeneratorName(const char* name) const;
+
virtual bool SetGeneratorToolset(std::string const& ts);
- virtual std::string
- GenerateBuildCommand(const char* makeProgram,
- const char *projectName, const char *projectDir,
- const char* additionalOptions, const char *targetName,
- const char* config, bool ignoreErrors, bool);
+ virtual void GenerateBuildCommand(
+ std::vector<std::string>& makeCommand,
+ const char* makeProgram,
+ const char* projectName,
+ const char* projectDir,
+ const char* targetName,
+ const char* config,
+ bool fast,
+ std::vector<std::string> const& makeOptions = std::vector<std::string>()
+ );
virtual void AddPlatformDefinitions(cmMakefile* mf);
@@ -84,9 +91,13 @@ public:
virtual const char* GetToolsVersion() { return "4.0"; }
+ virtual void FindMakeProgram(cmMakefile*);
+
protected:
virtual const char* GetIDEVersion() { return "10.0"; }
+ std::string const& GetMSBuildCommand();
+
std::string PlatformToolset;
bool ExpressEdition;
bool MasmEnabled;
@@ -104,5 +115,11 @@ private:
std::string SourceRel;
};
LongestSourcePath LongestSource;
+
+ std::string MSBuildCommand;
+ bool MSBuildCommandInitialized;
+ virtual std::string FindMSBuildCommand();
+ virtual std::string FindDevEnvCommand();
+ virtual std::string GetVSMakeProgram() { return this->GetMSBuildCommand(); }
};
#endif
diff --git a/Source/cmGlobalVisualStudio11Generator.cxx b/Source/cmGlobalVisualStudio11Generator.cxx
index 8ae7331..1f0c47a 100644
--- a/Source/cmGlobalVisualStudio11Generator.cxx
+++ b/Source/cmGlobalVisualStudio11Generator.cxx
@@ -13,42 +13,54 @@
#include "cmLocalVisualStudio10Generator.h"
#include "cmMakefile.h"
-static const char vs11generatorName[] = "Visual Studio 11";
+static const char vs11generatorName[] = "Visual Studio 11 2012";
+
+// Map generator name without year to name with year.
+static const char* cmVS11GenName(const char* name, std::string& genName)
+{
+ if(strncmp(name, vs11generatorName, sizeof(vs11generatorName)-6) != 0)
+ {
+ return 0;
+ }
+ const char* p = name + sizeof(vs11generatorName) - 6;
+ if(cmHasLiteralPrefix(p, " 2012"))
+ {
+ p += 5;
+ }
+ genName = std::string(vs11generatorName) + p;
+ return p;
+}
class cmGlobalVisualStudio11Generator::Factory
: public cmGlobalGeneratorFactory
{
public:
- virtual cmGlobalGenerator* CreateGlobalGenerator(const char* name) const {
- if(strstr(name, vs11generatorName) != name)
- {
- return 0;
- }
-
- const char* p = name + sizeof(vs11generatorName) - 1;
- if(p[0] == '\0')
+ virtual cmGlobalGenerator* CreateGlobalGenerator(const char* name) const
+ {
+ std::string genName;
+ const char* p = cmVS11GenName(name, genName);
+ if(!p)
+ { return 0; }
+ name = genName.c_str();
+ if(strcmp(p, "") == 0)
{
return new cmGlobalVisualStudio11Generator(
name, NULL, NULL);
}
-
- if(p[0] != ' ')
+ if(strcmp(p, " Win64") == 0)
{
- return 0;
+ return new cmGlobalVisualStudio11Generator(
+ name, "x64", "CMAKE_FORCE_WIN64");
}
-
- ++p;
-
- if(!strcmp(p, "ARM"))
+ if(strcmp(p, " ARM") == 0)
{
return new cmGlobalVisualStudio11Generator(
name, "ARM", NULL);
}
- if(!strcmp(p, "Win64"))
+ if(*p++ != ' ')
{
- return new cmGlobalVisualStudio11Generator(
- name, "x64", "CMAKE_FORCE_WIN64");
+ return 0;
}
std::set<std::string> installedSDKs =
@@ -63,19 +75,16 @@ public:
new cmGlobalVisualStudio11Generator(name, p, NULL);
ret->WindowsCEVersion = "8.00";
return ret;
- }
-
- virtual void GetDocumentation(cmDocumentationEntry& entry) const {
- entry.Name = "Visual Studio 11";
- entry.Brief = "Generates Visual Studio 11 (2012) project files.";
- entry.Full =
- "It is possible to append a space followed by the platform name "
- "to create project files for a specific target platform. E.g. "
- "\"Visual Studio 11 Win64\" will create project files for "
- "the x64 processor; \"Visual Studio 11 ARM\" for ARM.";
- }
-
- virtual void GetGenerators(std::vector<std::string>& names) const {
+ }
+
+ virtual void GetDocumentation(cmDocumentationEntry& entry) const
+ {
+ entry.Name = vs11generatorName;
+ entry.Brief = "Generates Visual Studio 11 (VS 2012) project files.";
+ }
+
+ virtual void GetGenerators(std::vector<std::string>& names) const
+ {
names.push_back(vs11generatorName);
names.push_back(vs11generatorName + std::string(" ARM"));
names.push_back(vs11generatorName + std::string(" Win64"));
@@ -85,9 +94,9 @@ public:
for(std::set<std::string>::const_iterator i =
installedSDKs.begin(); i != installedSDKs.end(); ++i)
{
- names.push_back("Visual Studio 11 " + *i);
+ names.push_back(std::string(vs11generatorName) + " " + *i);
}
- }
+ }
};
//----------------------------------------------------------------------------
@@ -103,7 +112,6 @@ cmGlobalVisualStudio11Generator::cmGlobalVisualStudio11Generator(
: cmGlobalVisualStudio10Generator(name, platformName,
additionalPlatformDefinition)
{
- this->FindMakeProgramFile = "CMakeVS11FindMake.cmake";
std::string vc11Express;
this->ExpressEdition = cmSystemTools::ReadRegistryValue(
"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VCExpress\\11.0\\Setup\\VC;"
@@ -112,6 +120,18 @@ cmGlobalVisualStudio11Generator::cmGlobalVisualStudio11Generator(
}
//----------------------------------------------------------------------------
+bool
+cmGlobalVisualStudio11Generator::MatchesGeneratorName(const char* name) const
+{
+ std::string genName;
+ if(cmVS11GenName(name, genName))
+ {
+ return genName == this->GetName();
+ }
+ return false;
+}
+
+//----------------------------------------------------------------------------
void cmGlobalVisualStudio11Generator::WriteSLNHeader(std::ostream& fout)
{
fout << "Microsoft Visual Studio Solution File, Format Version 12.00\n";
diff --git a/Source/cmGlobalVisualStudio11Generator.h b/Source/cmGlobalVisualStudio11Generator.h
index 7cc7e69..7ef77e7 100644
--- a/Source/cmGlobalVisualStudio11Generator.h
+++ b/Source/cmGlobalVisualStudio11Generator.h
@@ -24,6 +24,8 @@ public:
const char* platformName, const char* additionalPlatformDefinition);
static cmGlobalGeneratorFactory* NewFactory();
+ virtual bool MatchesGeneratorName(const char* name) const;
+
virtual void WriteSLNHeader(std::ostream& fout);
///! create the correct local generator
diff --git a/Source/cmGlobalVisualStudio12Generator.cxx b/Source/cmGlobalVisualStudio12Generator.cxx
index c56dfff..3074794 100644
--- a/Source/cmGlobalVisualStudio12Generator.cxx
+++ b/Source/cmGlobalVisualStudio12Generator.cxx
@@ -13,47 +13,65 @@
#include "cmLocalVisualStudio10Generator.h"
#include "cmMakefile.h"
-static const char vs12Win32generatorName[] = "Visual Studio 12";
-static const char vs12Win64generatorName[] = "Visual Studio 12 Win64";
-static const char vs12ARMgeneratorName[] = "Visual Studio 12 ARM";
+static const char vs12generatorName[] = "Visual Studio 12 2013";
+
+// Map generator name without year to name with year.
+static const char* cmVS12GenName(const char* name, std::string& genName)
+{
+ if(strncmp(name, vs12generatorName, sizeof(vs12generatorName)-6) != 0)
+ {
+ return 0;
+ }
+ const char* p = name + sizeof(vs12generatorName) - 6;
+ if(cmHasLiteralPrefix(p, " 2013"))
+ {
+ p += 5;
+ }
+ genName = std::string(vs12generatorName) + p;
+ return p;
+}
class cmGlobalVisualStudio12Generator::Factory
: public cmGlobalGeneratorFactory
{
public:
- virtual cmGlobalGenerator* CreateGlobalGenerator(const char* name) const {
- if(!strcmp(name, vs12Win32generatorName))
+ virtual cmGlobalGenerator* CreateGlobalGenerator(const char* name) const
+ {
+ std::string genName;
+ const char* p = cmVS12GenName(name, genName);
+ if(!p)
+ { return 0; }
+ name = genName.c_str();
+ if(strcmp(p, "") == 0)
{
return new cmGlobalVisualStudio12Generator(
name, NULL, NULL);
}
- if(!strcmp(name, vs12Win64generatorName))
+ if(strcmp(p, " Win64") == 0)
{
return new cmGlobalVisualStudio12Generator(
name, "x64", "CMAKE_FORCE_WIN64");
}
- if(!strcmp(name, vs12ARMgeneratorName))
+ if(strcmp(p, " ARM") == 0)
{
return new cmGlobalVisualStudio12Generator(
name, "ARM", NULL);
}
return 0;
- }
+ }
- virtual void GetDocumentation(cmDocumentationEntry& entry) const {
- entry.Name = "Visual Studio 12";
- entry.Brief = "Generates Visual Studio 12 (2013) project files.";
- entry.Full =
- "It is possible to append a space followed by the platform name "
- "to create project files for a specific target platform. E.g. "
- "\"Visual Studio 12 Win64\" will create project files for "
- "the x64 processor; \"Visual Studio 12 ARM\" for ARM.";
- }
+ virtual void GetDocumentation(cmDocumentationEntry& entry) const
+ {
+ entry.Name = vs12generatorName;
+ entry.Brief = "Generates Visual Studio 12 (VS 2013) project files.";
+ }
- virtual void GetGenerators(std::vector<std::string>& names) const {
- names.push_back(vs12Win32generatorName);
- names.push_back(vs12Win64generatorName);
- names.push_back(vs12ARMgeneratorName); }
+ virtual void GetGenerators(std::vector<std::string>& names) const
+ {
+ names.push_back(vs12generatorName);
+ names.push_back(vs12generatorName + std::string(" ARM"));
+ names.push_back(vs12generatorName + std::string(" Win64"));
+ }
};
//----------------------------------------------------------------------------
@@ -69,7 +87,6 @@ cmGlobalVisualStudio12Generator::cmGlobalVisualStudio12Generator(
: cmGlobalVisualStudio11Generator(name, platformName,
additionalPlatformDefinition)
{
- this->FindMakeProgramFile = "CMakeVS12FindMake.cmake";
std::string vc12Express;
this->ExpressEdition = cmSystemTools::ReadRegistryValue(
"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VCExpress\\12.0\\Setup\\VC;"
@@ -78,6 +95,18 @@ cmGlobalVisualStudio12Generator::cmGlobalVisualStudio12Generator(
}
//----------------------------------------------------------------------------
+bool
+cmGlobalVisualStudio12Generator::MatchesGeneratorName(const char* name) const
+{
+ std::string genName;
+ if(cmVS12GenName(name, genName))
+ {
+ return genName == this->GetName();
+ }
+ return false;
+}
+
+//----------------------------------------------------------------------------
void cmGlobalVisualStudio12Generator::WriteSLNHeader(std::ostream& fout)
{
fout << "Microsoft Visual Studio Solution File, Format Version 12.00\n";
diff --git a/Source/cmGlobalVisualStudio12Generator.h b/Source/cmGlobalVisualStudio12Generator.h
index 8c8aeb1..5a4a78d 100644
--- a/Source/cmGlobalVisualStudio12Generator.h
+++ b/Source/cmGlobalVisualStudio12Generator.h
@@ -24,6 +24,8 @@ public:
const char* platformName, const char* additionalPlatformDefinition);
static cmGlobalGeneratorFactory* NewFactory();
+ virtual bool MatchesGeneratorName(const char* name) const;
+
virtual void WriteSLNHeader(std::ostream& fout);
///! create the correct local generator
diff --git a/Source/cmGlobalVisualStudio6Generator.cxx b/Source/cmGlobalVisualStudio6Generator.cxx
index b3fabda..6c458c3 100644
--- a/Source/cmGlobalVisualStudio6Generator.cxx
+++ b/Source/cmGlobalVisualStudio6Generator.cxx
@@ -14,6 +14,7 @@
#include "cmMakefile.h"
#include "cmake.h"
#include "cmGeneratedFileStream.h"
+#include <cmsys/FStream.hxx>
// Utility function to make a valid VS6 *.dsp filename out
// of a CMake target name:
@@ -32,7 +33,7 @@ std::string GetVS6TargetName(const std::string& targetName)
cmGlobalVisualStudio6Generator::cmGlobalVisualStudio6Generator()
{
- this->FindMakeProgramFile = "CMakeVS6FindMake.cmake";
+ this->MSDevCommandInitialized = false;
}
void cmGlobalVisualStudio6Generator
@@ -77,52 +78,61 @@ void cmGlobalVisualStudio6Generator::GenerateConfigurations(cmMakefile* mf)
}
}
-std::string cmGlobalVisualStudio6Generator
-::GenerateBuildCommand(const char* makeProgram,
- const char *projectName,
- const char *projectDir,
- const char* additionalOptions,
- const char *targetName,
- const char* config,
- bool ignoreErrors,
- bool)
+//----------------------------------------------------------------------------
+void cmGlobalVisualStudio6Generator::FindMakeProgram(cmMakefile* mf)
{
- // Visual studio 6 doesn't need project dir
- (void) projectDir;
- // Ingoring errors is not implemented in visual studio 6
- (void) ignoreErrors;
+ this->cmGlobalVisualStudioGenerator::FindMakeProgram(mf);
+ mf->AddDefinition("CMAKE_VS_MSDEV_COMMAND",
+ this->GetMSDevCommand().c_str());
+}
- // now build the test
- std::vector<std::string> mp;
- mp.push_back("[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio"
- "\\6.0\\Setup;VsCommonDir]/MSDev98/Bin");
- cmSystemTools::ExpandRegistryValues(mp[0]);
- std::string originalCommand = makeProgram;
- std::string makeCommand =
- cmSystemTools::FindProgram(makeProgram, mp);
- if(makeCommand.size() == 0)
+//----------------------------------------------------------------------------
+std::string const& cmGlobalVisualStudio6Generator::GetMSDevCommand()
+{
+ if(!this->MSDevCommandInitialized)
{
- std::string e = "Generator cannot find Visual Studio 6 msdev program \"";
- e += originalCommand;
- e += "\" specified by CMAKE_MAKE_PROGRAM cache entry. ";
- e += "Please fix the setting.";
- cmSystemTools::Error(e.c_str());
- return "";
+ this->MSDevCommandInitialized = true;
+ this->MSDevCommand = this->FindMSDevCommand();
}
- makeCommand = cmSystemTools::ConvertToOutputPath(makeCommand.c_str());
+ return this->MSDevCommand;
+}
- // if there are spaces in the makeCommand, assume a full path
- // and convert it to a path with no spaces in it as the
- // RunSingleCommand does not like spaces
-#if defined(_WIN32) && !defined(__CYGWIN__)
- if(makeCommand.find(' ') != std::string::npos)
+//----------------------------------------------------------------------------
+std::string cmGlobalVisualStudio6Generator::FindMSDevCommand()
+{
+ std::string vscmd;
+ std::string vskey = this->GetRegistryBase() + "\\Setup;VsCommonDir";
+ if(cmSystemTools::ReadRegistryValue(vskey.c_str(), vscmd,
+ cmSystemTools::KeyWOW64_32))
{
- cmSystemTools::GetShortPath(makeCommand.c_str(), makeCommand);
+ cmSystemTools::ConvertToUnixSlashes(vscmd);
+ vscmd += "/MSDev98/Bin/";
}
-#endif
- makeCommand += " ";
- makeCommand += projectName;
- makeCommand += ".dsw /MAKE \"";
+ vscmd += "msdev.exe";
+ return vscmd;
+}
+
+//----------------------------------------------------------------------------
+void
+cmGlobalVisualStudio6Generator::GenerateBuildCommand(
+ std::vector<std::string>& makeCommand,
+ const char* makeProgram,
+ const char* projectName,
+ const char* /*projectDir*/,
+ const char* targetName,
+ const char* config,
+ bool /*fast*/,
+ std::vector<std::string> const& makeOptions
+ )
+{
+ // now build the test
+ makeCommand.push_back(
+ this->SelectMakeProgram(makeProgram, this->GetMSDevCommand())
+ );
+
+ makeCommand.push_back(std::string(projectName)+".dsw");
+ makeCommand.push_back("/MAKE");
+ std::string targetArg;
bool clean = false;
if ( targetName && strcmp(targetName, "clean") == 0 )
{
@@ -131,35 +141,32 @@ std::string cmGlobalVisualStudio6Generator
}
if (targetName && strlen(targetName))
{
- makeCommand += targetName;
+ targetArg += targetName;
}
else
{
- makeCommand += "ALL_BUILD";
+ targetArg += "ALL_BUILD";
}
- makeCommand += " - ";
+ targetArg += " - ";
if(config && strlen(config))
{
- makeCommand += config;
+ targetArg += config;
}
else
{
- makeCommand += "Debug";
+ targetArg += "Debug";
}
+ makeCommand.push_back(targetArg);
if(clean)
{
- makeCommand += "\" /CLEAN";
+ makeCommand.push_back("/CLEAN");
}
else
{
- makeCommand += "\" /BUILD";
+ makeCommand.push_back("/BUILD");
}
- if ( additionalOptions )
- {
- makeCommand += " ";
- makeCommand += additionalOptions;
- }
- return makeCommand;
+ makeCommand.insert(makeCommand.end(),
+ makeOptions.begin(), makeOptions.end());
}
///! Create a local generator appropriate to this Global Generator
@@ -199,7 +206,11 @@ void cmGlobalVisualStudio6Generator
tt = orderedProjectTargets.begin();
tt != orderedProjectTargets.end(); ++tt)
{
- cmTarget* target = *tt;
+ cmTarget const* target = *tt;
+ if(target->GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
// Write the project into the DSW file
const char* expath = target->GetProperty("EXTERNAL_MSPROJECT");
if(expath)
@@ -234,7 +245,7 @@ void cmGlobalVisualStudio6Generator
fname += "/";
fname += root->GetMakefile()->GetProjectName();
fname += ".dsw";
- std::ofstream fout(fname.c_str());
+ cmsys::ofstream fout(fname.c_str());
if(!fout)
{
cmSystemTools::Error("Error can not open DSW file for write: ",
@@ -261,7 +272,7 @@ void cmGlobalVisualStudio6Generator::OutputDSWFile()
void cmGlobalVisualStudio6Generator::WriteProject(std::ostream& fout,
const char* dspname,
const char* dir,
- cmTarget& target)
+ cmTarget const& target)
{
fout << "#########################################################"
"######################\n\n";
@@ -354,7 +365,7 @@ void cmGlobalVisualStudio6Generator::WriteDSWHeader(std::ostream& fout)
//----------------------------------------------------------------------------
std::string
-cmGlobalVisualStudio6Generator::WriteUtilityDepend(cmTarget* target)
+cmGlobalVisualStudio6Generator::WriteUtilityDepend(cmTarget const* target)
{
std::string pname = target->GetName();
pname += "_UTILITY";
@@ -401,7 +412,6 @@ void cmGlobalVisualStudio6Generator
{
entry.Name = cmGlobalVisualStudio6Generator::GetActualName();
entry.Brief = "Generates Visual Studio 6 project files.";
- entry.Full = "";
}
//----------------------------------------------------------------------------
diff --git a/Source/cmGlobalVisualStudio6Generator.h b/Source/cmGlobalVisualStudio6Generator.h
index 6bd39ca..5521410 100644
--- a/Source/cmGlobalVisualStudio6Generator.h
+++ b/Source/cmGlobalVisualStudio6Generator.h
@@ -52,14 +52,16 @@ public:
* Try running cmake and building a file. This is used for dynalically
* loaded commands, not as part of the usual build process.
*/
- virtual std::string GenerateBuildCommand(const char* makeProgram,
- const char *projectName,
- const char *projectDir,
- const char* additionalOptions,
- const char *targetName,
- const char* config,
- bool ignoreErrors,
- bool fast);
+ virtual void GenerateBuildCommand(
+ std::vector<std::string>& makeCommand,
+ const char* makeProgram,
+ const char* projectName,
+ const char* projectDir,
+ const char* targetName,
+ const char* config,
+ bool fast,
+ std::vector<std::string> const& makeOptions = std::vector<std::string>()
+ );
/**
* Generate the all required files for building this project/tree. This
@@ -87,19 +89,26 @@ public:
///! What is the configurations directory variable called?
virtual const char* GetCMakeCFGIntDir() const { return "$(IntDir)"; }
+ virtual void FindMakeProgram(cmMakefile*);
+
protected:
virtual const char* GetIDEVersion() { return "6.0"; }
private:
+ virtual std::string GetVSMakeProgram() { return this->GetMSDevCommand(); }
void GenerateConfigurations(cmMakefile* mf);
void WriteDSWFile(std::ostream& fout);
void WriteDSWHeader(std::ostream& fout);
void WriteProject(std::ostream& fout,
- const char* name, const char* path, cmTarget &t);
+ const char* name, const char* path, cmTarget const& t);
void WriteExternalProject(std::ostream& fout,
const char* name, const char* path,
const std::set<cmStdString>& dependencies);
void WriteDSWFooter(std::ostream& fout);
- virtual std::string WriteUtilityDepend(cmTarget* target);
+ virtual std::string WriteUtilityDepend(cmTarget const* target);
+ std::string MSDevCommand;
+ bool MSDevCommandInitialized;
+ std::string const& GetMSDevCommand();
+ std::string FindMSDevCommand();
};
#endif
diff --git a/Source/cmGlobalVisualStudio71Generator.cxx b/Source/cmGlobalVisualStudio71Generator.cxx
index 51efc46..22e4f08 100644
--- a/Source/cmGlobalVisualStudio71Generator.cxx
+++ b/Source/cmGlobalVisualStudio71Generator.cxx
@@ -19,7 +19,6 @@
cmGlobalVisualStudio71Generator::cmGlobalVisualStudio71Generator(
const char* platformName) : cmGlobalVisualStudio7Generator(platformName)
{
- this->FindMakeProgramFile = "CMakeVS71FindMake.cmake";
this->ProjectConfigurationSectionName = "ProjectConfiguration";
}
@@ -158,7 +157,7 @@ void
cmGlobalVisualStudio71Generator::WriteProject(std::ostream& fout,
const char* dspname,
const char* dir,
- cmTarget& t)
+ cmTarget const& t)
{
// check to see if this is a fortran build
const char* ext = ".vcproj";
@@ -210,7 +209,7 @@ void
cmGlobalVisualStudio71Generator
::WriteProjectDepends(std::ostream& fout,
const char*,
- const char*, cmTarget& target)
+ const char*, cmTarget const& target)
{
VSDependSet const& depends = this->VSTargetDepends[&target];
for(VSDependSet::const_iterator di = depends.begin();
@@ -241,7 +240,7 @@ void cmGlobalVisualStudio71Generator
const std::set<cmStdString>& depends)
{
fout << "Project(\"{"
- << (typeGuid ? typeGuid : "8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942")
+ << (typeGuid ? typeGuid : this->ExternalProjectType(location))
<< "}\") = \""
<< name << "\", \""
<< this->ConvertToSolutionPath(location) << "\", \"{"
@@ -313,5 +312,4 @@ void cmGlobalVisualStudio71Generator
{
entry.Name = cmGlobalVisualStudio71Generator::GetActualName();
entry.Brief = "Generates Visual Studio .NET 2003 project files.";
- entry.Full = "";
}
diff --git a/Source/cmGlobalVisualStudio71Generator.h b/Source/cmGlobalVisualStudio71Generator.h
index e136db7..04e3a55 100644
--- a/Source/cmGlobalVisualStudio71Generator.h
+++ b/Source/cmGlobalVisualStudio71Generator.h
@@ -59,9 +59,11 @@ protected:
std::vector<cmLocalGenerator*>& generators);
virtual void WriteSolutionConfigurations(std::ostream& fout);
virtual void WriteProject(std::ostream& fout,
- const char* name, const char* path, cmTarget &t);
+ const char* name, const char* path,
+ cmTarget const& t);
virtual void WriteProjectDepends(std::ostream& fout,
- const char* name, const char* path, cmTarget &t);
+ const char* name, const char* path,
+ cmTarget const& t);
virtual void WriteProjectConfigurations(
std::ostream& fout, const char* name, cmTarget::TargetType type,
const std::set<std::string>& configsPartOfDefaultBuild,
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx
index b475665..bb63289 100644
--- a/Source/cmGlobalVisualStudio7Generator.cxx
+++ b/Source/cmGlobalVisualStudio7Generator.cxx
@@ -16,11 +16,13 @@
#include "cmLocalVisualStudio7Generator.h"
#include "cmMakefile.h"
#include "cmake.h"
+#include <cmsys/Encoding.hxx>
cmGlobalVisualStudio7Generator::cmGlobalVisualStudio7Generator(
const char* platformName)
{
- this->FindMakeProgramFile = "CMakeVS7FindMake.cmake";
+ this->IntelProjectVersion = 0;
+ this->DevEnvCommandInitialized = false;
if (!platformName)
{
@@ -29,6 +31,45 @@ cmGlobalVisualStudio7Generator::cmGlobalVisualStudio7Generator(
this->PlatformName = platformName;
}
+cmGlobalVisualStudio7Generator::~cmGlobalVisualStudio7Generator()
+{
+ free(this->IntelProjectVersion);
+}
+
+// Package GUID of Intel Visual Fortran plugin to VS IDE
+#define CM_INTEL_PLUGIN_GUID "{B68A201D-CB9B-47AF-A52F-7EEC72E217E4}"
+
+const char* cmGlobalVisualStudio7Generator::GetIntelProjectVersion()
+{
+ if(!this->IntelProjectVersion)
+ {
+ // Compute the version of the Intel plugin to the VS IDE.
+ // If the key does not exist then use a default guess.
+ std::string intelVersion;
+ std::string vskey = this->GetRegistryBase();
+ vskey += "\\Packages\\" CM_INTEL_PLUGIN_GUID ";ProductVersion";
+ cmSystemTools::ReadRegistryValue(vskey.c_str(), intelVersion,
+ cmSystemTools::KeyWOW64_32);
+ unsigned int intelVersionNumber = ~0u;
+ sscanf(intelVersion.c_str(), "%u", &intelVersionNumber);
+ if(intelVersionNumber >= 11)
+ {
+ // Default to latest known project file version.
+ intelVersion = "11.0";
+ }
+ else if(intelVersionNumber == 10)
+ {
+ // Version 10.x actually uses 9.10 in project files!
+ intelVersion = "9.10";
+ }
+ else
+ {
+ // Version <= 9: use ProductVersion from registry.
+ }
+ this->IntelProjectVersion = strdup(intelVersion.c_str());
+ }
+ return this->IntelProjectVersion;
+}
void cmGlobalVisualStudio7Generator
::EnableLanguage(std::vector<std::string>const & lang,
@@ -36,7 +77,6 @@ void cmGlobalVisualStudio7Generator
{
mf->AddDefinition("CMAKE_GENERATOR_RC", "rc");
mf->AddDefinition("CMAKE_GENERATOR_NO_COMPILER_ENV", "1");
- mf->AddDefinition("CMAKE_GENERATOR_FC", "ifort");
this->AddPlatformDefinitions(mf);
if(!mf->GetDefinition("CMAKE_CONFIGURATION_TYPES"))
{
@@ -71,35 +111,103 @@ void cmGlobalVisualStudio7Generator
}
-std::string cmGlobalVisualStudio7Generator
-::GenerateBuildCommand(const char* makeProgram,
- const char *projectName, const char *projectDir,
- const char* additionalOptions, const char *targetName,
- const char* config, bool ignoreErrors, bool)
+//----------------------------------------------------------------------------
+void cmGlobalVisualStudio7Generator::FindMakeProgram(cmMakefile* mf)
{
- // Visual studio 7 doesn't need project dir
- (void) projectDir;
- // Ingoring errors is not implemented in visual studio 6
- (void) ignoreErrors;
+ this->cmGlobalVisualStudioGenerator::FindMakeProgram(mf);
+ mf->AddDefinition("CMAKE_VS_DEVENV_COMMAND",
+ this->GetDevEnvCommand().c_str());
+}
- // now build the test
- std::string makeCommand =
- cmSystemTools::ConvertToOutputPath(makeProgram);
- std::string lowerCaseCommand = makeCommand;
- cmSystemTools::LowerCase(lowerCaseCommand);
+//----------------------------------------------------------------------------
+std::string const& cmGlobalVisualStudio7Generator::GetDevEnvCommand()
+{
+ if(!this->DevEnvCommandInitialized)
+ {
+ this->DevEnvCommandInitialized = true;
+ this->DevEnvCommand = this->FindDevEnvCommand();
+ }
+ return this->DevEnvCommand;
+}
- // if there are spaces in the makeCommand, assume a full path
- // and convert it to a path with no spaces in it as the
- // RunSingleCommand does not like spaces
-#if defined(_WIN32) && !defined(__CYGWIN__)
- if(makeCommand.find(' ') != std::string::npos)
+//----------------------------------------------------------------------------
+std::string cmGlobalVisualStudio7Generator::FindDevEnvCommand()
+{
+ std::string vscmd;
+ std::string vskey = this->GetRegistryBase() + ";InstallDir";
+ if(cmSystemTools::ReadRegistryValue(vskey.c_str(), vscmd,
+ cmSystemTools::KeyWOW64_32))
{
- cmSystemTools::GetShortPath(makeCommand.c_str(), makeCommand);
+ cmSystemTools::ConvertToUnixSlashes(vscmd);
+ vscmd += "/";
}
-#endif
- makeCommand += " ";
- makeCommand += projectName;
- makeCommand += ".sln ";
+ vscmd += "devenv.com";
+ return vscmd;
+}
+
+//----------------------------------------------------------------------------
+const char* cmGlobalVisualStudio7Generator::ExternalProjectType(
+ const char* location)
+{
+ std::string extension = cmSystemTools::GetFilenameLastExtension(location);
+ if (extension == ".vbproj")
+ {
+ return "F184B08F-C81C-45F6-A57F-5ABD9991F28F";
+ }
+ else if (extension == ".csproj")
+ {
+ return "FAE04EC0-301F-11D3-BF4B-00C04F79EFBC";
+ }
+ else if (extension == ".fsproj")
+ {
+ return "F2A71F9B-5D33-465A-A702-920D77279786";
+ }
+ else if (extension == ".vdproj")
+ {
+ return "54435603-DBB4-11D2-8724-00A0C9A8B90C";
+ }
+ else if (extension == ".dbproj")
+ {
+ return "C8D11400-126E-41CD-887F-60BD40844F9E";
+ }
+ else if (extension == ".wixproj")
+ {
+ return "930C7802-8A8C-48F9-8165-68863BCCD9DD";
+ }
+ else if (extension == ".pyproj")
+ {
+ return "888888A0-9F3D-457C-B088-3A5042F75D52";
+ }
+ return "8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942";
+}
+//----------------------------------------------------------------------------
+void cmGlobalVisualStudio7Generator::GenerateBuildCommand(
+ std::vector<std::string>& makeCommand,
+ const char* makeProgram,
+ const char* projectName,
+ const char* /*projectDir*/,
+ const char* targetName,
+ const char* config,
+ bool /*fast*/,
+ std::vector<std::string> const& makeOptions)
+{
+ // Select the caller- or user-preferred make program, else devenv.
+ std::string makeProgramSelected =
+ this->SelectMakeProgram(makeProgram, this->GetDevEnvCommand());
+
+ // Ignore the above preference if it is msbuild.
+ // Assume any other value is either a devenv or
+ // command-line compatible with devenv.
+ std::string makeProgramLower = makeProgramSelected;
+ cmSystemTools::LowerCase(makeProgramLower);
+ if(makeProgramLower.find("msbuild") != std::string::npos)
+ {
+ makeProgramSelected = this->GetDevEnvCommand();
+ }
+
+ makeCommand.push_back(makeProgramSelected);
+
+ makeCommand.push_back(std::string(projectName) + ".sln");
bool clean = false;
if ( targetName && strcmp(targetName, "clean") == 0 )
{
@@ -108,37 +216,33 @@ std::string cmGlobalVisualStudio7Generator
}
if(clean)
{
- makeCommand += "/clean ";
+ makeCommand.push_back("/clean");
}
else
{
- makeCommand += "/build ";
+ makeCommand.push_back("/build");
}
if(config && strlen(config))
{
- makeCommand += config;
+ makeCommand.push_back(config);
}
else
{
- makeCommand += "Debug";
+ makeCommand.push_back("Debug");
}
- makeCommand += " /project ";
+ makeCommand.push_back("/project");
if (targetName && strlen(targetName))
{
- makeCommand += targetName;
+ makeCommand.push_back(targetName);
}
else
{
- makeCommand += "ALL_BUILD";
- }
- if ( additionalOptions )
- {
- makeCommand += " ";
- makeCommand += additionalOptions;
+ makeCommand.push_back("ALL_BUILD");
}
- return makeCommand;
+ makeCommand.insert(makeCommand.end(),
+ makeOptions.begin(), makeOptions.end());
}
///! Create a local generator appropriate to this Global Generator
@@ -156,6 +260,8 @@ void cmGlobalVisualStudio7Generator::AddPlatformDefinitions(cmMakefile* mf)
{
cmGlobalVisualStudioGenerator::AddPlatformDefinitions(mf);
mf->AddDefinition("CMAKE_VS_PLATFORM_NAME", this->GetPlatformName());
+ mf->AddDefinition("CMAKE_VS_INTEL_Fortran_PROJECT_VERSION",
+ this->GetIntelProjectVersion());
}
void cmGlobalVisualStudio7Generator::GenerateConfigurations(cmMakefile* mf)
@@ -264,7 +370,11 @@ void cmGlobalVisualStudio7Generator::WriteTargetConfigurations(
for(OrderedTargetDependSet::const_iterator tt =
projectTargets.begin(); tt != projectTargets.end(); ++tt)
{
- cmTarget* target = *tt;
+ cmTarget const* target = *tt;
+ if(target->GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
const char* expath = target->GetProperty("EXTERNAL_MSPROJECT");
if(expath)
{
@@ -301,7 +411,11 @@ void cmGlobalVisualStudio7Generator::WriteTargetsToSolution(
for(OrderedTargetDependSet::const_iterator tt =
projectTargets.begin(); tt != projectTargets.end(); ++tt)
{
- cmTarget* target = *tt;
+ cmTarget const* target = *tt;
+ if(target->GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
bool written = false;
// handle external vc project files
@@ -391,7 +505,11 @@ void cmGlobalVisualStudio7Generator::WriteTargetDepends(
for(OrderedTargetDependSet::const_iterator tt =
projectTargets.begin(); tt != projectTargets.end(); ++tt)
{
- cmTarget* target = *tt;
+ cmTarget const* target = *tt;
+ if(target->GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
cmMakefile* mf = target->GetMakefile();
const char *vcprojName =
target->GetProperty("GENERATOR_FILE_NAME");
@@ -536,7 +654,7 @@ cmGlobalVisualStudio7Generator::ConvertToSolutionPath(const char* path)
// the libraries it uses are also done here
void cmGlobalVisualStudio7Generator::WriteProject(std::ostream& fout,
const char* dspname,
- const char* dir, cmTarget& target)
+ const char* dir, cmTarget const& target)
{
// check to see if this is a fortran build
const char* ext = ".vcproj";
@@ -576,7 +694,7 @@ void
cmGlobalVisualStudio7Generator
::WriteProjectDepends(std::ostream& fout,
const char* dspname,
- const char*, cmTarget& target)
+ const char*, cmTarget const& target)
{
int depcount = 0;
std::string dspguid = this->GetGUID(dspname);
@@ -647,7 +765,7 @@ void cmGlobalVisualStudio7Generator::WriteExternalProject(std::ostream& fout,
std::string d = cmSystemTools::ConvertToOutputPath(location);
fout << "Project("
<< "\"{"
- << (typeGuid ? typeGuid : "8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942")
+ << (typeGuid ? typeGuid : this->ExternalProjectType(location))
<< "}\") = \""
<< name << "\", \""
<< this->ConvertToSolutionPath(location) << "\", \"{"
@@ -736,7 +854,7 @@ void cmGlobalVisualStudio7Generator::WriteSLNHeader(std::ostream& fout)
//----------------------------------------------------------------------------
std::string
-cmGlobalVisualStudio7Generator::WriteUtilityDepend(cmTarget* target)
+cmGlobalVisualStudio7Generator::WriteUtilityDepend(cmTarget const* target)
{
std::string pname = target->GetName();
pname += "_UTILITY";
@@ -815,11 +933,11 @@ void cmGlobalVisualStudio7Generator::CreateGUID(const char* name)
}
std::string ret;
UUID uid;
- unsigned char *uidstr;
+ unsigned short *uidstr;
UuidCreate(&uid);
- UuidToString(&uid,&uidstr);
- ret = reinterpret_cast<char*>(uidstr);
- RpcStringFree(&uidstr);
+ UuidToStringW(&uid,&uidstr);
+ ret = cmsys::Encoding::ToNarrow(reinterpret_cast<wchar_t*>(uidstr));
+ RpcStringFreeW(&uidstr);
ret = cmSystemTools::UpperCase(ret);
this->CMakeInstance->AddCacheEntry(guidStoreName.c_str(),
ret.c_str(), "Stored GUID",
@@ -837,7 +955,6 @@ void cmGlobalVisualStudio7Generator
{
entry.Name = cmGlobalVisualStudio7Generator::GetActualName();
entry.Brief = "Generates Visual Studio .NET 2002 project files.";
- entry.Full = "";
}
//----------------------------------------------------------------------------
@@ -858,7 +975,7 @@ cmGlobalVisualStudio7Generator
std::set<std::string>
cmGlobalVisualStudio7Generator::IsPartOfDefaultBuild(const char* project,
- cmTarget* target)
+ cmTarget const* target)
{
std::set<std::string> activeConfigs;
// if it is a utilitiy target then only make it part of the
diff --git a/Source/cmGlobalVisualStudio7Generator.h b/Source/cmGlobalVisualStudio7Generator.h
index 4d22cff..f69bd84 100644
--- a/Source/cmGlobalVisualStudio7Generator.h
+++ b/Source/cmGlobalVisualStudio7Generator.h
@@ -27,6 +27,8 @@ class cmGlobalVisualStudio7Generator : public cmGlobalVisualStudioGenerator
{
public:
cmGlobalVisualStudio7Generator(const char* platformName = NULL);
+ ~cmGlobalVisualStudio7Generator();
+
static cmGlobalGeneratorFactory* NewFactory() {
return new cmGlobalGeneratorSimpleFactory
<cmGlobalVisualStudio7Generator>(); }
@@ -58,14 +60,16 @@ public:
* Try running cmake and building a file. This is used for dynamically
* loaded commands, not as part of the usual build process.
*/
- virtual std::string GenerateBuildCommand(const char* makeProgram,
- const char *projectName,
- const char *projectDir,
- const char* additionalOptions,
- const char *targetName,
- const char* config,
- bool ignoreErrors,
- bool fast);
+ virtual void GenerateBuildCommand(
+ std::vector<std::string>& makeCommand,
+ const char* makeProgram,
+ const char* projectName,
+ const char* projectDir,
+ const char* targetName,
+ const char* config,
+ bool fast,
+ std::vector<std::string> const& makeOptions = std::vector<std::string>()
+ );
/**
* Generate the all required files for building this project/tree. This
@@ -101,18 +105,29 @@ public:
LinkLibraryDependencies and link to .sln dependencies. */
virtual bool NeedLinkLibraryDependencies(cmTarget&) { return false; }
+ const char* GetIntelProjectVersion();
+
+ virtual void FindMakeProgram(cmMakefile*);
+
protected:
virtual const char* GetIDEVersion() { return "7.0"; }
+ std::string const& GetDevEnvCommand();
+ virtual std::string FindDevEnvCommand();
+
+ static const char* ExternalProjectType(const char* location);
+
static cmIDEFlagTable const* GetExtraFlagTableVS7();
virtual void OutputSLNFile(cmLocalGenerator* root,
std::vector<cmLocalGenerator*>& generators);
virtual void WriteSLNFile(std::ostream& fout, cmLocalGenerator* root,
std::vector<cmLocalGenerator*>& generators);
virtual void WriteProject(std::ostream& fout,
- const char* name, const char* path, cmTarget &t);
+ const char* name, const char* path,
+ cmTarget const& t);
virtual void WriteProjectDepends(std::ostream& fout,
- const char* name, const char* path, cmTarget &t);
+ const char* name, const char* path,
+ cmTarget const&t);
virtual void WriteProjectConfigurations(
std::ostream& fout, const char* name, cmTarget::TargetType type,
const std::set<std::string>& configsPartOfDefaultBuild,
@@ -121,7 +136,7 @@ protected:
cmLocalGenerator* root);
virtual void WriteSLNFooter(std::ostream& fout);
virtual void WriteSLNHeader(std::ostream& fout);
- virtual std::string WriteUtilityDepend(cmTarget* target);
+ virtual std::string WriteUtilityDepend(cmTarget const* target);
virtual void WriteTargetsToSolution(
std::ostream& fout,
@@ -147,7 +162,7 @@ protected:
std::string ConvertToSolutionPath(const char* path);
std::set<std::string> IsPartOfDefaultBuild(const char* project,
- cmTarget* target);
+ cmTarget const* target);
std::vector<std::string> Configurations;
std::map<cmStdString, cmStdString> GUIDMap;
@@ -159,6 +174,12 @@ protected:
// There is one SLN file per project.
std::string CurrentProject;
std::string PlatformName;
+
+private:
+ char* IntelProjectVersion;
+ std::string DevEnvCommand;
+ bool DevEnvCommandInitialized;
+ virtual std::string GetVSMakeProgram() { return this->GetDevEnvCommand(); }
};
#define CMAKE_CHECK_BUILD_SYSTEM_TARGET "ZERO_CHECK"
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx
index e4244e0..12c240b 100644
--- a/Source/cmGlobalVisualStudio8Generator.cxx
+++ b/Source/cmGlobalVisualStudio8Generator.cxx
@@ -65,11 +65,6 @@ public:
virtual void GetDocumentation(cmDocumentationEntry& entry) const {
entry.Name = vs8generatorName;
entry.Brief = "Generates Visual Studio 8 2005 project files.";
- entry.Full =
- "It is possible to append a space followed by the platform name "
- "to create project files for a specific target platform. E.g. "
- "\"Visual Studio 8 2005 Win64\" will create project files for "
- "the x64 processor.";
}
virtual void GetGenerators(std::vector<std::string>& names) const {
@@ -99,7 +94,6 @@ cmGlobalVisualStudio8Generator::cmGlobalVisualStudio8Generator(
const char* additionalPlatformDefinition)
: cmGlobalVisualStudio71Generator(platformName)
{
- this->FindMakeProgramFile = "CMakeVS8FindMake.cmake";
this->ProjectConfigurationSectionName = "ProjectConfigurationPlatforms";
this->Name = name;
@@ -110,6 +104,26 @@ cmGlobalVisualStudio8Generator::cmGlobalVisualStudio8Generator(
}
//----------------------------------------------------------------------------
+std::string cmGlobalVisualStudio8Generator::FindDevEnvCommand()
+{
+ // First look for VCExpress.
+ std::string vsxcmd;
+ std::string vsxkey =
+ "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VCExpress\\";
+ vsxkey += this->GetIDEVersion();
+ vsxkey += ";InstallDir";
+ if(cmSystemTools::ReadRegistryValue(vsxkey.c_str(), vsxcmd,
+ cmSystemTools::KeyWOW64_32))
+ {
+ cmSystemTools::ConvertToUnixSlashes(vsxcmd);
+ vsxcmd += "/VCExpress.exe";
+ return vsxcmd;
+ }
+ // Now look for devenv.
+ return this->cmGlobalVisualStudio71Generator::FindDevEnvCommand();
+}
+
+//----------------------------------------------------------------------------
///! Create a local generator appropriate to this Global Generator
cmLocalGenerator *cmGlobalVisualStudio8Generator::CreateLocalGenerator()
{
@@ -147,7 +161,6 @@ void cmGlobalVisualStudio8Generator
{
entry.Name = cmGlobalVisualStudio8Generator::GetActualName();
entry.Brief = "Generates Visual Studio 8 2005 project files.";
- entry.Full = "";
}
//----------------------------------------------------------------------------
@@ -202,7 +215,7 @@ std::string cmGlobalVisualStudio8Generator::GetUserMacrosRegKeyBase()
}
//----------------------------------------------------------------------------
-void cmGlobalVisualStudio8Generator::AddCheckTarget()
+bool cmGlobalVisualStudio8Generator::AddCheckTarget()
{
// Add a special target on which all other targets depend that
// checks the build system and optionally re-runs CMake.
@@ -216,7 +229,7 @@ void cmGlobalVisualStudio8Generator::AddCheckTarget()
// Skip the target if no regeneration is to be done.
if(mf->IsOn("CMAKE_SUPPRESS_REGENERATION"))
{
- return;
+ return false;
}
std::string cmake_command = mf->GetRequiredDefinition("CMAKE_COMMAND");
@@ -315,21 +328,24 @@ void cmGlobalVisualStudio8Generator::AddCheckTarget()
cmSystemTools::Error("Error adding rule for ", stamps[0].c_str());
}
}
+
+ return true;
}
//----------------------------------------------------------------------------
void cmGlobalVisualStudio8Generator::Generate()
{
- this->AddCheckTarget();
-
- // All targets depend on the build-system check target.
- for(std::map<cmStdString,cmTarget *>::const_iterator
- ti = this->TotalTargets.begin();
- ti != this->TotalTargets.end(); ++ti)
+ if(this->AddCheckTarget())
{
- if(ti->first != CMAKE_CHECK_BUILD_SYSTEM_TARGET)
+ // All targets depend on the build-system check target.
+ for(std::map<cmStdString,cmTarget *>::const_iterator
+ ti = this->TotalTargets.begin();
+ ti != this->TotalTargets.end(); ++ti)
{
- ti->second->AddUtility(CMAKE_CHECK_BUILD_SYSTEM_TARGET);
+ if(ti->first != CMAKE_CHECK_BUILD_SYSTEM_TARGET)
+ {
+ ti->second->AddUtility(CMAKE_CHECK_BUILD_SYSTEM_TARGET);
+ }
}
}
@@ -399,13 +415,17 @@ bool cmGlobalVisualStudio8Generator::ComputeTargetDepends()
//----------------------------------------------------------------------------
void cmGlobalVisualStudio8Generator::WriteProjectDepends(
- std::ostream& fout, const char*, const char*, cmTarget& t)
+ std::ostream& fout, const char*, const char*, cmTarget const& t)
{
TargetDependSet const& unordered = this->GetTargetDirectDepends(t);
OrderedTargetDependSet depends(unordered);
for(OrderedTargetDependSet::const_iterator i = depends.begin();
i != depends.end(); ++i)
{
+ if((*i)->GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
std::string guid = this->GetGUID((*i)->GetName());
fout << "\t\t{" << guid << "} = {" << guid << "}\n";
}
@@ -422,7 +442,8 @@ bool cmGlobalVisualStudio8Generator::NeedLinkLibraryDependencies(
{
if(cmTarget* depTarget = this->FindTarget(0, ui->c_str()))
{
- if(depTarget->GetProperty("EXTERNAL_MSPROJECT"))
+ if(depTarget->GetType() != cmTarget::INTERFACE_LIBRARY
+ && depTarget->GetProperty("EXTERNAL_MSPROJECT"))
{
// This utility dependency names an external .vcproj target.
// We use LinkLibraryDependencies="true" to link to it without
diff --git a/Source/cmGlobalVisualStudio8Generator.h b/Source/cmGlobalVisualStudio8Generator.h
index d181742..5b952c4 100644
--- a/Source/cmGlobalVisualStudio8Generator.h
+++ b/Source/cmGlobalVisualStudio8Generator.h
@@ -69,9 +69,11 @@ public:
protected:
virtual const char* GetIDEVersion() { return "8.0"; }
+ virtual std::string FindDevEnvCommand();
+
virtual bool VSLinksDependencies() const { return false; }
- void AddCheckTarget();
+ bool AddCheckTarget();
static cmIDEFlagTable const* GetExtraFlagTableVS8();
virtual void WriteSLNHeader(std::ostream& fout);
@@ -82,7 +84,7 @@ protected:
const char* platformMapping = NULL);
virtual bool ComputeTargetDepends();
virtual void WriteProjectDepends(std::ostream& fout, const char* name,
- const char* path, cmTarget &t);
+ const char* path, cmTarget const& t);
std::string Name;
std::string WindowsCEVersion;
diff --git a/Source/cmGlobalVisualStudio9Generator.cxx b/Source/cmGlobalVisualStudio9Generator.cxx
index fba6ed1..ccc27ad 100644
--- a/Source/cmGlobalVisualStudio9Generator.cxx
+++ b/Source/cmGlobalVisualStudio9Generator.cxx
@@ -70,11 +70,6 @@ public:
virtual void GetDocumentation(cmDocumentationEntry& entry) const {
entry.Name = vs9generatorName;
entry.Brief = "Generates Visual Studio 9 2008 project files.";
- entry.Full =
- "It is possible to append a space followed by the platform name "
- "to create project files for a specific target platform. E.g. "
- "\"Visual Studio 9 2008 Win64\" will create project files for "
- "the x64 processor; \"Visual Studio 9 2008 IA64\" for Itanium.";
}
virtual void GetGenerators(std::vector<std::string>& names) const {
@@ -106,7 +101,6 @@ cmGlobalVisualStudio9Generator::cmGlobalVisualStudio9Generator(
: cmGlobalVisualStudio8Generator(name, platformName,
additionalPlatformDefinition)
{
- this->FindMakeProgramFile = "CMakeVS9FindMake.cmake";
}
//----------------------------------------------------------------------------
diff --git a/Source/cmGlobalVisualStudioGenerator.cxx b/Source/cmGlobalVisualStudioGenerator.cxx
index 5931016..0c5f35b 100644
--- a/Source/cmGlobalVisualStudioGenerator.cxx
+++ b/Source/cmGlobalVisualStudioGenerator.cxx
@@ -17,6 +17,7 @@
#include "cmMakefile.h"
#include "cmSourceFile.h"
#include "cmTarget.h"
+#include <cmsys/Encoding.hxx>
//----------------------------------------------------------------------------
cmGlobalVisualStudioGenerator::cmGlobalVisualStudioGenerator()
@@ -128,9 +129,11 @@ cmGlobalVisualStudioGenerator
// Count the number of object files with each name. Note that
// windows file names are not case sensitive.
std::map<cmStdString, int> counts;
+ std::vector<cmSourceFile*> objectSources;
+ gt->GetObjectSources(objectSources);
for(std::vector<cmSourceFile*>::const_iterator
- si = gt->ObjectSources.begin();
- si != gt->ObjectSources.end(); ++si)
+ si = objectSources.begin();
+ si != objectSources.end(); ++si)
{
cmSourceFile* sf = *si;
std::string objectNameLower = cmSystemTools::LowerCase(
@@ -142,8 +145,8 @@ cmGlobalVisualStudioGenerator
// For all source files producing duplicate names we need unique
// object name computation.
for(std::vector<cmSourceFile*>::const_iterator
- si = gt->ObjectSources.begin();
- si != gt->ObjectSources.end(); ++si)
+ si = objectSources.begin();
+ si != objectSources.end(); ++si)
{
cmSourceFile* sf = *si;
std::string objectName =
@@ -151,10 +154,10 @@ cmGlobalVisualStudioGenerator
objectName += ".obj";
if(counts[cmSystemTools::LowerCase(objectName)] > 1)
{
- gt->ExplicitObjectName.insert(sf);
+ gt->AddExplicitObjectName(sf);
objectName = lg->GetObjectFileNameWithoutTarget(*sf, dir_max);
}
- gt->Objects[sf] = objectName;
+ gt->AddObject(sf, objectName);
}
std::string dir = gt->Makefile->GetCurrentOutputDirectory();
@@ -314,7 +317,7 @@ std::string cmGlobalVisualStudioGenerator::GetUserMacrosRegKeyBase()
}
//----------------------------------------------------------------------------
-void cmGlobalVisualStudioGenerator::FillLinkClosure(cmTarget* target,
+void cmGlobalVisualStudioGenerator::FillLinkClosure(cmTarget const* target,
TargetSet& linked)
{
if(linked.insert(target).second)
@@ -347,8 +350,12 @@ cmGlobalVisualStudioGenerator::GetTargetLinkClosure(cmTarget* target)
//----------------------------------------------------------------------------
void cmGlobalVisualStudioGenerator::FollowLinkDepends(
- cmTarget* target, std::set<cmTarget*>& linked)
+ cmTarget const* target, std::set<cmTarget const*>& linked)
{
+ if(target->GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ return;
+ }
if(linked.insert(target).second &&
target->GetType() == cmTarget::STATIC_LIBRARY)
{
@@ -392,7 +399,7 @@ bool cmGlobalVisualStudioGenerator::ComputeTargetDepends()
}
//----------------------------------------------------------------------------
-static bool VSLinkable(cmTarget* t)
+static bool VSLinkable(cmTarget const* t)
{
return t->IsLinkable() || t->GetType() == cmTarget::OBJECT_LIBRARY;
}
@@ -434,7 +441,7 @@ void cmGlobalVisualStudioGenerator::ComputeVSTargetDepends(cmTarget& target)
// Collect implicit link dependencies (target_link_libraries).
// Static libraries cannot depend on their link implementation
// due to behavior (2), but they do not really need to.
- std::set<cmTarget*> linkDepends;
+ std::set<cmTarget const*> linkDepends;
if(target.GetType() != cmTarget::STATIC_LIBRARY)
{
for(TargetDependSet::const_iterator di = depends.begin();
@@ -449,7 +456,7 @@ void cmGlobalVisualStudioGenerator::ComputeVSTargetDepends(cmTarget& target)
}
// Collect explicit util dependencies (add_dependencies).
- std::set<cmTarget*> utilDepends;
+ std::set<cmTarget const*> utilDepends;
for(TargetDependSet::const_iterator di = depends.begin();
di != depends.end(); ++di)
{
@@ -469,18 +476,18 @@ void cmGlobalVisualStudioGenerator::ComputeVSTargetDepends(cmTarget& target)
}
// Emit link dependencies.
- for(std::set<cmTarget*>::iterator di = linkDepends.begin();
+ for(std::set<cmTarget const*>::iterator di = linkDepends.begin();
di != linkDepends.end(); ++di)
{
- cmTarget* dep = *di;
+ cmTarget const* dep = *di;
vsTargetDepend.insert(dep->GetName());
}
// Emit util dependencies. Possibly use intermediate targets.
- for(std::set<cmTarget*>::iterator di = utilDepends.begin();
+ for(std::set<cmTarget const*>::iterator di = utilDepends.begin();
di != utilDepends.end(); ++di)
{
- cmTarget* dep = *di;
+ cmTarget const* dep = *di;
if(allowLinkable || !VSLinkable(dep) || linked.count(dep))
{
// Direct dependency allowed.
@@ -496,6 +503,19 @@ void cmGlobalVisualStudioGenerator::ComputeVSTargetDepends(cmTarget& target)
}
//----------------------------------------------------------------------------
+void cmGlobalVisualStudioGenerator::FindMakeProgram(cmMakefile* mf)
+{
+ // Visual Studio generators know how to lookup their build tool
+ // directly instead of needing a helper module to do it, so we
+ // do not actually need to put CMAKE_MAKE_PROGRAM into the cache.
+ if(cmSystemTools::IsOff(mf->GetDefinition("CMAKE_MAKE_PROGRAM")))
+ {
+ mf->AddDefinition("CMAKE_MAKE_PROGRAM",
+ this->GetVSMakeProgram().c_str());
+ }
+}
+
+//----------------------------------------------------------------------------
void cmGlobalVisualStudioGenerator::AddPlatformDefinitions(cmMakefile* mf)
{
if(this->AdditionalPlatformDefinition)
@@ -505,7 +525,8 @@ void cmGlobalVisualStudioGenerator::AddPlatformDefinitions(cmMakefile* mf)
}
//----------------------------------------------------------------------------
-std::string cmGlobalVisualStudioGenerator::GetUtilityDepend(cmTarget* target)
+std::string
+cmGlobalVisualStudioGenerator::GetUtilityDepend(cmTarget const* target)
{
UtilityDependsMap::iterator i = this->UtilityDepends.find(target);
if(i == this->UtilityDepends.end())
@@ -542,52 +563,53 @@ bool IsVisualStudioMacrosFileRegistered(const std::string& macrosFile,
keyname = regKeyBase + "\\OtherProjects7";
hkey = NULL;
- result = RegOpenKeyEx(HKEY_CURRENT_USER, keyname.c_str(),
- 0, KEY_READ, &hkey);
+ result = RegOpenKeyExW(HKEY_CURRENT_USER,
+ cmsys::Encoding::ToWide(keyname).c_str(),
+ 0, KEY_READ, &hkey);
if (ERROR_SUCCESS == result)
{
// Iterate the subkeys and look for the values of interest in each subkey:
- CHAR subkeyname[256];
- DWORD cch_subkeyname = sizeof(subkeyname)/sizeof(subkeyname[0]);
- CHAR keyclass[256];
- DWORD cch_keyclass = sizeof(keyclass)/sizeof(keyclass[0]);
+ wchar_t subkeyname[256];
+ DWORD cch_subkeyname = sizeof(subkeyname)*sizeof(subkeyname[0]);
+ wchar_t keyclass[256];
+ DWORD cch_keyclass = sizeof(keyclass)*sizeof(keyclass[0]);
FILETIME lastWriteTime;
lastWriteTime.dwHighDateTime = 0;
lastWriteTime.dwLowDateTime = 0;
- while (ERROR_SUCCESS == RegEnumKeyEx(hkey, index, subkeyname,
+ while (ERROR_SUCCESS == RegEnumKeyExW(hkey, index, subkeyname,
&cch_subkeyname,
0, keyclass, &cch_keyclass, &lastWriteTime))
{
// Open the subkey and query the values of interest:
HKEY hsubkey = NULL;
- result = RegOpenKeyEx(hkey, subkeyname, 0, KEY_READ, &hsubkey);
+ result = RegOpenKeyExW(hkey, subkeyname, 0, KEY_READ, &hsubkey);
if (ERROR_SUCCESS == result)
{
DWORD valueType = REG_SZ;
- CHAR data1[256];
- DWORD cch_data1 = sizeof(data1)/sizeof(data1[0]);
- RegQueryValueEx(hsubkey, "Path", 0, &valueType,
+ wchar_t data1[256];
+ DWORD cch_data1 = sizeof(data1)*sizeof(data1[0]);
+ RegQueryValueExW(hsubkey, L"Path", 0, &valueType,
(LPBYTE) &data1[0], &cch_data1);
DWORD data2 = 0;
DWORD cch_data2 = sizeof(data2);
- RegQueryValueEx(hsubkey, "Security", 0, &valueType,
+ RegQueryValueExW(hsubkey, L"Security", 0, &valueType,
(LPBYTE) &data2, &cch_data2);
DWORD data3 = 0;
DWORD cch_data3 = sizeof(data3);
- RegQueryValueEx(hsubkey, "StorageFormat", 0, &valueType,
+ RegQueryValueExW(hsubkey, L"StorageFormat", 0, &valueType,
(LPBYTE) &data3, &cch_data3);
- s2 = cmSystemTools::LowerCase(data1);
+ s2 = cmSystemTools::LowerCase(cmsys::Encoding::ToNarrow(data1));
cmSystemTools::ConvertToUnixSlashes(s2);
if (s2 == s1)
{
macrosRegistered = true;
}
- std::string fullname(data1);
+ std::string fullname = cmsys::Encoding::ToNarrow(data1);
std::string filename;
std::string filepath;
std::string filepathname;
@@ -619,8 +641,8 @@ bool IsVisualStudioMacrosFileRegistered(const std::string& macrosFile,
}
++index;
- cch_subkeyname = sizeof(subkeyname)/sizeof(subkeyname[0]);
- cch_keyclass = sizeof(keyclass)/sizeof(keyclass[0]);
+ cch_subkeyname = sizeof(subkeyname)*sizeof(subkeyname[0]);
+ cch_keyclass = sizeof(keyclass)*sizeof(keyclass[0]);
lastWriteTime.dwHighDateTime = 0;
lastWriteTime.dwLowDateTime = 0;
}
@@ -645,27 +667,28 @@ bool IsVisualStudioMacrosFileRegistered(const std::string& macrosFile,
keyname = regKeyBase + "\\RecordingProject7";
hkey = NULL;
- result = RegOpenKeyEx(HKEY_CURRENT_USER, keyname.c_str(),
- 0, KEY_READ, &hkey);
+ result = RegOpenKeyExW(HKEY_CURRENT_USER,
+ cmsys::Encoding::ToWide(keyname).c_str(),
+ 0, KEY_READ, &hkey);
if (ERROR_SUCCESS == result)
{
DWORD valueType = REG_SZ;
- CHAR data1[256];
- DWORD cch_data1 = sizeof(data1)/sizeof(data1[0]);
- RegQueryValueEx(hkey, "Path", 0, &valueType,
+ wchar_t data1[256];
+ DWORD cch_data1 = sizeof(data1)*sizeof(data1[0]);
+ RegQueryValueExW(hkey, L"Path", 0, &valueType,
(LPBYTE) &data1[0], &cch_data1);
DWORD data2 = 0;
DWORD cch_data2 = sizeof(data2);
- RegQueryValueEx(hkey, "Security", 0, &valueType,
+ RegQueryValueExW(hkey, L"Security", 0, &valueType,
(LPBYTE) &data2, &cch_data2);
DWORD data3 = 0;
DWORD cch_data3 = sizeof(data3);
- RegQueryValueEx(hkey, "StorageFormat", 0, &valueType,
+ RegQueryValueExW(hkey, L"StorageFormat", 0, &valueType,
(LPBYTE) &data3, &cch_data3);
- s2 = cmSystemTools::LowerCase(data1);
+ s2 = cmSystemTools::LowerCase(cmsys::Encoding::ToNarrow(data1));
cmSystemTools::ConvertToUnixSlashes(s2);
if (s2 == s1)
{
@@ -697,24 +720,27 @@ void WriteVSMacrosFileRegistryEntry(
{
std::string keyname = regKeyBase + "\\OtherProjects7";
HKEY hkey = NULL;
- LONG result = RegOpenKeyEx(HKEY_CURRENT_USER, keyname.c_str(), 0,
+ LONG result = RegOpenKeyExW(HKEY_CURRENT_USER,
+ cmsys::Encoding::ToWide(keyname).c_str(), 0,
KEY_READ|KEY_WRITE, &hkey);
if (ERROR_SUCCESS == result)
{
// Create the subkey and set the values of interest:
HKEY hsubkey = NULL;
- char lpClass[] = "";
- result = RegCreateKeyEx(hkey, nextAvailableSubKeyName.c_str(), 0,
- lpClass, 0, KEY_READ|KEY_WRITE, 0, &hsubkey, 0);
+ wchar_t lpClass[] = L"";
+ result = RegCreateKeyExW(hkey,
+ cmsys::Encoding::ToWide(nextAvailableSubKeyName).c_str(), 0,
+ lpClass, 0, KEY_READ|KEY_WRITE, 0, &hsubkey, 0);
if (ERROR_SUCCESS == result)
{
DWORD dw = 0;
std::string s(macrosFile);
cmSystemTools::ReplaceString(s, "/", "\\");
+ std::wstring ws = cmsys::Encoding::ToWide(s);
- result = RegSetValueEx(hsubkey, "Path", 0, REG_SZ, (LPBYTE) s.c_str(),
- static_cast<DWORD>(strlen(s.c_str()) + 1));
+ result = RegSetValueExW(hsubkey, L"Path", 0, REG_SZ, (LPBYTE)ws.c_str(),
+ static_cast<DWORD>(ws.size() + 1)*sizeof(wchar_t));
if (ERROR_SUCCESS != result)
{
std::cout << "error result 1: " << result << std::endl;
@@ -724,7 +750,7 @@ void WriteVSMacrosFileRegistryEntry(
// Security value is always "1" for sample macros files (seems to be "2"
// if you put the file somewhere outside the standard VSMacros folder)
dw = 1;
- result = RegSetValueEx(hsubkey, "Security",
+ result = RegSetValueExW(hsubkey, L"Security",
0, REG_DWORD, (LPBYTE) &dw, sizeof(DWORD));
if (ERROR_SUCCESS != result)
{
@@ -734,7 +760,7 @@ void WriteVSMacrosFileRegistryEntry(
// StorageFormat value is always "0" for sample macros files
dw = 0;
- result = RegSetValueEx(hsubkey, "StorageFormat",
+ result = RegSetValueExW(hsubkey, L"StorageFormat",
0, REG_DWORD, (LPBYTE) &dw, sizeof(DWORD));
if (ERROR_SUCCESS != result)
{
@@ -822,7 +848,8 @@ void RegisterVisualStudioMacros(const std::string& macrosFile,
}
}
}
-bool cmGlobalVisualStudioGenerator::TargetIsFortranOnly(cmTarget& target)
+bool
+cmGlobalVisualStudioGenerator::TargetIsFortranOnly(cmTarget const& target)
{
// check to see if this is a fortran build
std::set<cmStdString> languages;
@@ -875,3 +902,20 @@ cmGlobalVisualStudioGenerator::OrderedTargetDependSet
this->insert(*ti);
}
}
+
+std::string cmGlobalVisualStudioGenerator::ExpandCFGIntDir(
+ const std::string& str,
+ const std::string& config) const
+{
+ std::string replace = GetCMakeCFGIntDir();
+
+ std::string tmp = str;
+ for(std::string::size_type i = tmp.find(replace);
+ i != std::string::npos;
+ i = tmp.find(replace, i))
+ {
+ tmp.replace(i, replace.size(), config);
+ i += config.size();
+ }
+ return tmp;
+}
diff --git a/Source/cmGlobalVisualStudioGenerator.h b/Source/cmGlobalVisualStudioGenerator.h
index b665158..9186d65 100644
--- a/Source/cmGlobalVisualStudioGenerator.h
+++ b/Source/cmGlobalVisualStudioGenerator.h
@@ -60,7 +60,7 @@ public:
const char* vsSolutionFile = 0);
// return true if target is fortran only
- bool TargetIsFortranOnly(cmTarget& t);
+ bool TargetIsFortranOnly(cmTarget const& t);
/** Get the top-level registry key for this VS version. */
std::string GetRegistryBase();
@@ -75,13 +75,19 @@ public:
/** Return true if building for Windows CE */
virtual bool TargetsWindowsCE() const { return false; }
- class TargetSet: public std::set<cmTarget*> {};
+ class TargetSet: public std::set<cmTarget const*> {};
struct TargetCompare
{
bool operator()(cmTarget const* l, cmTarget const* r) const;
};
class OrderedTargetDependSet;
+ virtual void FindMakeProgram(cmMakefile*);
+
+
+ virtual std::string ExpandCFGIntDir(const std::string& str,
+ const std::string& config) const;
+
protected:
// Does this VS version link targets to each other if there are
// dependencies in the SLN file? This was done for VS versions
@@ -94,26 +100,29 @@ protected:
virtual bool ComputeTargetDepends();
class VSDependSet: public std::set<cmStdString> {};
- class VSDependMap: public std::map<cmTarget*, VSDependSet> {};
+ class VSDependMap: public std::map<cmTarget const*, VSDependSet> {};
VSDependMap VSTargetDepends;
void ComputeVSTargetDepends(cmTarget&);
bool CheckTargetLinks(cmTarget& target, const char* name);
std::string GetUtilityForTarget(cmTarget& target, const char*);
- virtual std::string WriteUtilityDepend(cmTarget*) = 0;
- std::string GetUtilityDepend(cmTarget* target);
- typedef std::map<cmTarget*, cmStdString> UtilityDependsMap;
+ virtual std::string WriteUtilityDepend(cmTarget const*) = 0;
+ std::string GetUtilityDepend(cmTarget const* target);
+ typedef std::map<cmTarget const*, cmStdString> UtilityDependsMap;
UtilityDependsMap UtilityDepends;
const char* AdditionalPlatformDefinition;
private:
+ virtual std::string GetVSMakeProgram() = 0;
+ void PrintCompilerAdvice(std::ostream&, std::string, const char*) const {}
void ComputeTargetObjects(cmGeneratorTarget* gt) const;
- void FollowLinkDepends(cmTarget* target, std::set<cmTarget*>& linked);
+ void FollowLinkDepends(cmTarget const* target,
+ std::set<cmTarget const*>& linked);
class TargetSetMap: public std::map<cmTarget*, TargetSet> {};
TargetSetMap TargetLinkClosure;
- void FillLinkClosure(cmTarget* target, TargetSet& linked);
+ void FillLinkClosure(cmTarget const* target, TargetSet& linked);
TargetSet const& GetTargetLinkClosure(cmTarget* target);
};
diff --git a/Source/cmGlobalWatcomWMakeGenerator.cxx b/Source/cmGlobalWatcomWMakeGenerator.cxx
index e3cebc4..98ce685 100644
--- a/Source/cmGlobalWatcomWMakeGenerator.cxx
+++ b/Source/cmGlobalWatcomWMakeGenerator.cxx
@@ -47,7 +47,7 @@ cmLocalGenerator *cmGlobalWatcomWMakeGenerator::CreateLocalGenerator()
lg->SetDefineWindowsNULL(true);
lg->SetWindowsShell(true);
lg->SetWatcomWMake(true);
- lg->SetMakeSilentFlag("-s -h");
+ lg->SetMakeSilentFlag("-s -h -e");
lg->SetGlobalGenerator(this);
lg->SetIgnoreLibPrefix(true);
lg->SetPassMakeflags(false);
@@ -62,5 +62,4 @@ void cmGlobalWatcomWMakeGenerator
{
entry.Name = cmGlobalWatcomWMakeGenerator::GetActualName();
entry.Brief = "Generates Watcom WMake makefiles.";
- entry.Full = "";
}
diff --git a/Source/cmGlobalWatcomWMakeGenerator.h b/Source/cmGlobalWatcomWMakeGenerator.h
index 23e60a1..d5350ef 100644
--- a/Source/cmGlobalWatcomWMakeGenerator.h
+++ b/Source/cmGlobalWatcomWMakeGenerator.h
@@ -43,6 +43,8 @@ public:
*/
virtual void EnableLanguage(std::vector<std::string>const& languages,
cmMakefile *, bool optional);
+
+ virtual bool AllowNotParallel() const { return false; }
};
#endif
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index c181c59..484b28f 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -257,39 +257,30 @@ void cmGlobalXCodeGenerator::EnableLanguage(std::vector<std::string>const&
}
//----------------------------------------------------------------------------
-std::string cmGlobalXCodeGenerator
-::GenerateBuildCommand(const char* makeProgram,
- const char *projectName,
- const char *projectDir,
- const char* additionalOptions,
- const char *targetName,
- const char* config,
- bool ignoreErrors,
- bool)
-{
- // Config is not used yet
- (void) ignoreErrors;
- (void) projectDir;
-
+void
+cmGlobalXCodeGenerator::GenerateBuildCommand(
+ std::vector<std::string>& makeCommand,
+ const char* makeProgram,
+ const char* projectName,
+ const char* /*projectDir*/,
+ const char* targetName,
+ const char* config,
+ bool /*fast*/,
+ std::vector<std::string> const& makeOptions)
+{
// now build the test
- if(makeProgram == 0 || !strlen(makeProgram))
- {
- cmSystemTools::Error(
- "Generator cannot find the appropriate make command.");
- return "";
- }
- std::string makeCommand =
- cmSystemTools::ConvertToOutputPath(makeProgram);
- std::string lowerCaseCommand = makeCommand;
- cmSystemTools::LowerCase(lowerCaseCommand);
+ makeCommand.push_back(
+ this->SelectMakeProgram(makeProgram, "xcodebuild")
+ );
- makeCommand += " -project ";
- makeCommand += projectName;
- makeCommand += ".xcode";
+ makeCommand.push_back("-project");
+ std::string projectArg = projectName;
+ projectArg += ".xcode";
if(this->XcodeVersion > 20)
{
- makeCommand += "proj";
+ projectArg += "proj";
}
+ makeCommand.push_back(projectArg);
bool clean = false;
if ( targetName && strcmp(targetName, "clean") == 0 )
@@ -299,13 +290,13 @@ std::string cmGlobalXCodeGenerator
}
if(clean)
{
- makeCommand += " clean";
+ makeCommand.push_back("clean");
}
else
{
- makeCommand += " build";
+ makeCommand.push_back("build");
}
- makeCommand += " -target ";
+ makeCommand.push_back("-target");
// if it is a null string for config don't use it
if(config && *config == 0)
{
@@ -313,27 +304,24 @@ std::string cmGlobalXCodeGenerator
}
if (targetName && strlen(targetName))
{
- makeCommand += targetName;
+ makeCommand.push_back(targetName);
}
else
{
- makeCommand += "ALL_BUILD";
+ makeCommand.push_back("ALL_BUILD");
}
if(this->XcodeVersion == 15)
{
- makeCommand += " -buildstyle Development ";
+ makeCommand.push_back("-buildstyle");
+ makeCommand.push_back("Development");
}
else
{
- makeCommand += " -configuration ";
- makeCommand += config?config:"Debug";
- }
- if ( additionalOptions )
- {
- makeCommand += " ";
- makeCommand += additionalOptions;
+ makeCommand.push_back("-configuration");
+ makeCommand.push_back(config?config:"Debug");
}
- return makeCommand;
+ makeCommand.insert(makeCommand.end(),
+ makeOptions.begin(), makeOptions.end());
}
//----------------------------------------------------------------------------
@@ -500,7 +488,8 @@ cmGlobalXCodeGenerator::AddExtraTargets(cmLocalGenerator* root,
dir.c_str());
}
- if(!target.GetPropertyAsBool("EXCLUDE_FROM_ALL"))
+ if(target.GetType() != cmTarget::INTERFACE_LIBRARY
+ && !target.GetPropertyAsBool("EXCLUDE_FROM_ALL"))
{
allbuild->AddUtility(target.GetName());
}
@@ -764,7 +753,8 @@ cmGlobalXCodeGenerator::CreateXCodeSourceFile(cmLocalGenerator* lg,
//----------------------------------------------------------------------------
std::string
GetSourcecodeValueFromFileExtension(const std::string& _ext,
- const std::string& lang)
+ const std::string& lang,
+ bool& keepLastKnownFileType)
{
std::string ext = cmSystemTools::LowerCase(_ext);
std::string sourcecode = "sourcecode";
@@ -775,10 +765,12 @@ GetSourcecodeValueFromFileExtension(const std::string& _ext,
}
else if(ext == "xib")
{
+ keepLastKnownFileType = true;
sourcecode = "file.xib";
}
else if(ext == "storyboard")
{
+ keepLastKnownFileType = true;
sourcecode = "file.storyboard";
}
else if(ext == "mm")
@@ -789,10 +781,6 @@ GetSourcecodeValueFromFileExtension(const std::string& _ext,
{
sourcecode += ".c.objc";
}
- else if(ext == "xib")
- {
- sourcecode += ".file.xib";
- }
else if(ext == "plist")
{
sourcecode += ".text.plist";
@@ -808,6 +796,7 @@ GetSourcecodeValueFromFileExtension(const std::string& _ext,
}
else if(ext == "png" || ext == "gif" || ext == "jpg")
{
+ keepLastKnownFileType = true;
sourcecode = "image";
}
else if(ext == "txt")
@@ -876,12 +865,25 @@ cmGlobalXCodeGenerator::CreateXCodeFileReferenceFromPath(
ext = realExt.substr(1);
}
- std::string sourcecode = GetSourcecodeValueFromFileExtension(ext, lang);
- const char* attribute = (sourcecode == "file.storyboard") ?
- "lastKnownFileType" :
- "explicitFileType";
- fileRef->AddAttribute(attribute,
- this->CreateString(sourcecode.c_str()));
+ // If fullpath references a directory, then we need to specify
+ // lastKnownFileType as folder in order for Xcode to be able to open the
+ // contents of the folder (Xcode 4.6 does not like explicitFileType=folder).
+ if(cmSystemTools::FileIsDirectory(fullpath.c_str()))
+ {
+ fileRef->AddAttribute("lastKnownFileType",
+ this->CreateString("folder"));
+ }
+ else
+ {
+ bool keepLastKnownFileType = false;
+ std::string sourcecode = GetSourcecodeValueFromFileExtension(ext,
+ lang, keepLastKnownFileType);
+ const char* attribute = keepLastKnownFileType ?
+ "lastKnownFileType" :
+ "explicitFileType";
+ fileRef->AddAttribute(attribute,
+ this->CreateString(sourcecode.c_str()));
+ }
// Store the file path relative to the top of the source tree.
std::string path = this->RelativeToSource(fullpath.c_str());
@@ -978,6 +980,11 @@ cmGlobalXCodeGenerator::CreateXCodeTargets(cmLocalGenerator* gen,
continue;
}
+ if(cmtarget.GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
+
if(cmtarget.GetType() == cmTarget::UTILITY ||
cmtarget.GetType() == cmTarget::GLOBAL_TARGET)
{
@@ -986,7 +993,8 @@ cmGlobalXCodeGenerator::CreateXCodeTargets(cmLocalGenerator* gen,
}
// organize the sources
- std::vector<cmSourceFile*> classes = cmtarget.GetSourceFiles();
+ std::vector<cmSourceFile*> classes;
+ cmtarget.GetSourceFiles(classes);
std::sort(classes.begin(), classes.end(), cmSourceFilePathCompare());
std::vector<cmXCodeObject*> externalObjFiles;
@@ -1006,7 +1014,8 @@ cmGlobalXCodeGenerator::CreateXCodeTargets(cmLocalGenerator* gen,
cmTarget::SourceFileFlags tsFlags =
cmtarget.GetTargetSourceFileFlags(*i);
- if(strcmp(filetype->GetString(), "compiled.mach-o.objfile") == 0)
+ if(filetype &&
+ strcmp(filetype->GetString(), "compiled.mach-o.objfile") == 0)
{
externalObjFiles.push_back(xsf);
}
@@ -1354,7 +1363,8 @@ void cmGlobalXCodeGenerator::CreateCustomCommands(cmXCodeObject* buildPhases,
postbuild.push_back(command);
}
- std::vector<cmSourceFile*>const &classes = cmtarget.GetSourceFiles();
+ std::vector<cmSourceFile*> classes;
+ cmtarget.GetSourceFiles(classes);
// add all the sources
std::vector<cmCustomCommand> commands;
for(std::vector<cmSourceFile*>::const_iterator i = classes.begin();
@@ -1688,6 +1698,11 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
cmXCodeObject* buildSettings,
const char* configName)
{
+ if(target.GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ return;
+ }
+
std::string flags;
std::string defFlags;
bool shared = ((target.GetType() == cmTarget::SHARED_LIBRARY) ||
@@ -2257,14 +2272,24 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
std::string search_paths;
std::vector<std::string> runtimeDirs;
pcli->GetRPath(runtimeDirs, false);
+ // runpath dirs needs to be unique to prevent corruption
+ std::set<std::string> unique_dirs;
+
for(std::vector<std::string>::const_iterator i = runtimeDirs.begin();
i != runtimeDirs.end(); ++i)
{
- if(!search_paths.empty())
+ std::string runpath = *i;
+ runpath = this->ExpandCFGIntDir(runpath, configName);
+
+ if(unique_dirs.find(runpath) == unique_dirs.end())
{
- search_paths += " ";
+ unique_dirs.insert(runpath);
+ if(!search_paths.empty())
+ {
+ search_paths += " ";
+ }
+ search_paths += this->XCodeEscapePath(runpath.c_str());
}
- search_paths += this->XCodeEscapePath((*i).c_str());
}
if(!search_paths.empty())
{
@@ -2431,7 +2456,8 @@ cmGlobalXCodeGenerator::CreateUtilityTarget(cmTarget& cmtarget)
// Add source files without build rules for editing convenience.
if(cmtarget.GetType() == cmTarget::UTILITY)
{
- std::vector<cmSourceFile*> const& sources = cmtarget.GetSourceFiles();
+ std::vector<cmSourceFile*> sources;
+ cmtarget.GetSourceFiles(sources);
for(std::vector<cmSourceFile*>::const_iterator i = sources.begin();
i != sources.end(); ++i)
{
@@ -2552,6 +2578,10 @@ cmXCodeObject*
cmGlobalXCodeGenerator::CreateXCodeTarget(cmTarget& cmtarget,
cmXCodeObject* buildPhases)
{
+ if(cmtarget.GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ return 0;
+ }
cmXCodeObject* target =
this->CreateObject(cmXCodeObject::PBXNativeTarget);
target->AddAttribute("buildPhases", buildPhases);
@@ -2611,7 +2641,7 @@ cmGlobalXCodeGenerator::CreateXCodeTarget(cmTarget& cmtarget,
}
//----------------------------------------------------------------------------
-cmXCodeObject* cmGlobalXCodeGenerator::FindXCodeTarget(cmTarget* t)
+cmXCodeObject* cmGlobalXCodeGenerator::FindXCodeTarget(cmTarget const* t)
{
if(!t)
{
@@ -2758,6 +2788,10 @@ void cmGlobalXCodeGenerator
::AddDependAndLinkInformation(cmXCodeObject* target)
{
cmTarget* cmtarget = target->GetTarget();
+ if(cmtarget->GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ return;
+ }
if(!cmtarget)
{
cmSystemTools::Error("Error no target on xobject\n");
@@ -2869,7 +2903,8 @@ void cmGlobalXCodeGenerator
{
linkLibs += this->XCodeEscapePath(li->Value.c_str());
}
- else
+ else if (!li->Target
+ || li->Target->GetType() != cmTarget::INTERFACE_LIBRARY)
{
linkLibs += li->Value;
}
@@ -2911,6 +2946,10 @@ void cmGlobalXCodeGenerator::CreateGroups(cmLocalGenerator* root,
{
continue;
}
+ if(cmtarget.GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
// add the soon to be generated Info.plist file as a source for a
// MACOSX_BUNDLE file
@@ -2921,7 +2960,8 @@ void cmGlobalXCodeGenerator::CreateGroups(cmLocalGenerator* root,
cmtarget.AddSourceFile(sf);
}
- std::vector<cmSourceFile*> classes = cmtarget.GetSourceFiles();
+ std::vector<cmSourceFile*> classes;
+ cmtarget.GetSourceFiles(classes);
// Put cmSourceFile instances in proper groups:
for(std::vector<cmSourceFile*>::const_iterator s = classes.begin();
@@ -2930,10 +2970,10 @@ void cmGlobalXCodeGenerator::CreateGroups(cmLocalGenerator* root,
cmSourceFile* sf = *s;
// Add the file to the list of sources.
std::string const& source = sf->GetFullPath();
- cmSourceGroup& sourceGroup =
+ cmSourceGroup* sourceGroup =
mf->FindSourceGroup(source.c_str(), sourceGroups);
cmXCodeObject* pbxgroup =
- this->CreateOrGetPBXGroup(cmtarget, &sourceGroup);
+ this->CreateOrGetPBXGroup(cmtarget, sourceGroup);
cmStdString key = GetGroupMapKey(cmtarget, sf);
this->GroupMap[key] = pbxgroup;
}
@@ -2945,10 +2985,10 @@ void cmGlobalXCodeGenerator::CreateGroups(cmLocalGenerator* root,
oi = objs.begin(); oi != objs.end(); ++oi)
{
std::string const& source = *oi;
- cmSourceGroup& sourceGroup =
+ cmSourceGroup* sourceGroup =
mf->FindSourceGroup(source.c_str(), sourceGroups);
cmXCodeObject* pbxgroup =
- this->CreateOrGetPBXGroup(cmtarget, &sourceGroup);
+ this->CreateOrGetPBXGroup(cmtarget, sourceGroup);
cmStdString key = GetGroupMapKeyFromPath(cmtarget, source);
this->GroupMap[key] = pbxgroup;
}
@@ -3011,23 +3051,23 @@ cmXCodeObject* cmGlobalXCodeGenerator
cmStdString curr_tgt_folder;
for(std::vector<std::string>::size_type i = 0; i < tgt_folders.size();i++)
{
- curr_tgt_folder += tgt_folders[i];
- it = this->TargetGroup.find(curr_tgt_folder);
- if(it == this->TargetGroup.end())
+ if (i != 0)
{
- tgroup = this->CreatePBXGroup(tgroup,tgt_folders[i]);
- this->TargetGroup[curr_tgt_folder] = tgroup;
+ curr_tgt_folder += "/";
}
- else
+ curr_tgt_folder += tgt_folders[i];
+ it = this->TargetGroup.find(curr_tgt_folder);
+ if(it != this->TargetGroup.end())
{
tgroup = it->second;
continue;
}
+ tgroup = this->CreatePBXGroup(tgroup,tgt_folders[i]);
+ this->TargetGroup[curr_tgt_folder] = tgroup;
if(i == 0)
{
this->SourcesGroupChildren->AddObject(tgroup);
}
- curr_tgt_folder += "/";
}
}
this->TargetGroup[target] = tgroup;
@@ -3645,12 +3685,35 @@ const char* cmGlobalXCodeGenerator::GetCMakeCFGIntDir() const
"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)" : ".";
}
+std::string cmGlobalXCodeGenerator::ExpandCFGIntDir(const std::string& str,
+ const std::string& config) const
+{
+ std::string replace1 = "$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)";
+ std::string replace2 = "$(CONFIGURATION)";
+
+ std::string tmp = str;
+ for(std::string::size_type i = tmp.find(replace1);
+ i != std::string::npos;
+ i = tmp.find(replace1, i))
+ {
+ tmp.replace(i, replace1.size(), config);
+ i += config.size();
+ }
+ for(std::string::size_type i = tmp.find(replace2);
+ i != std::string::npos;
+ i = tmp.find(replace2, i))
+ {
+ tmp.replace(i, replace2.size(), config);
+ i += config.size();
+ }
+ return tmp;
+}
+
//----------------------------------------------------------------------------
void cmGlobalXCodeGenerator::GetDocumentation(cmDocumentationEntry& entry)
{
entry.Name = cmGlobalXCodeGenerator::GetActualName();
entry.Brief = "Generate Xcode project files.";
- entry.Full = "";
}
//----------------------------------------------------------------------------
@@ -3902,9 +3965,11 @@ cmGlobalXCodeGenerator
// to avoid exact duplicate file names. Note that Mac file names are not
// typically case sensitive, hence the LowerCase.
std::map<cmStdString, int> counts;
+ std::vector<cmSourceFile*> objectSources;
+ gt->GetObjectSources(objectSources);
for(std::vector<cmSourceFile*>::const_iterator
- si = gt->ObjectSources.begin();
- si != gt->ObjectSources.end(); ++si)
+ si = objectSources.begin();
+ si != objectSources.end(); ++si)
{
cmSourceFile* sf = *si;
std::string objectName =
@@ -3918,7 +3983,7 @@ cmGlobalXCodeGenerator
// TODO: emit warning about duplicate name?
}
- gt->Objects[sf] = objectName;
+ gt->AddObject(sf, objectName);
}
const char* configName = this->GetCMakeCFGIntDir();
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h
index c053943..c9d20c2 100644
--- a/Source/cmGlobalXCodeGenerator.h
+++ b/Source/cmGlobalXCodeGenerator.h
@@ -53,14 +53,16 @@ public:
* Try running cmake and building a file. This is used for dynalically
* loaded commands, not as part of the usual build process.
*/
- virtual std::string GenerateBuildCommand(const char* makeProgram,
- const char *projectName,
- const char *projectDir,
- const char* additionalOptions,
- const char *targetName,
- const char* config,
- bool ignoreErrors,
- bool fast);
+ virtual void GenerateBuildCommand(
+ std::vector<std::string>& makeCommand,
+ const char* makeProgram,
+ const char* projectName,
+ const char* projectDir,
+ const char* targetName,
+ const char* config,
+ bool fast,
+ std::vector<std::string> const& makeOptions = std::vector<std::string>()
+ );
/**
* Generate the all required files for building this project/tree. This
@@ -77,6 +79,9 @@ public:
///! What is the configurations directory variable called?
virtual const char* GetCMakeCFGIntDir() const;
+ ///! expand CFGIntDir
+ virtual std::string ExpandCFGIntDir(const std::string& str,
+ const std::string& config) const;
void SetCurrentLocalGenerator(cmLocalGenerator*);
@@ -123,7 +128,7 @@ private:
multipleOutputPairs
);
- cmXCodeObject* FindXCodeTarget(cmTarget*);
+ cmXCodeObject* FindXCodeTarget(cmTarget const*);
std::string GetOrCreateId(const char* name, const char* id);
// create cmXCodeObject from these functions so that memory can be managed
@@ -210,6 +215,7 @@ protected:
std::vector<cmXCodeObject*> XCodeObjects;
cmXCodeObject* RootObject;
private:
+ void PrintCompilerAdvice(std::ostream&, std::string, const char*) const {}
void ComputeTargetObjects(cmGeneratorTarget* gt) const;
std::string GetObjectsNormalDirectory(
diff --git a/Source/cmGraphVizWriter.cxx b/Source/cmGraphVizWriter.cxx
index 4816da9..db964a9 100644
--- a/Source/cmGraphVizWriter.cxx
+++ b/Source/cmGraphVizWriter.cxx
@@ -53,6 +53,8 @@ cmGraphVizWriter::cmGraphVizWriter(const std::vector<cmLocalGenerator*>&
,GenerateForSharedLibs(true)
,GenerateForModuleLibs(true)
,GenerateForExternals(true)
+,GeneratePerTarget(true)
+,GenerateDependers(true)
,LocalGenerators(localGenerators)
,HaveTargetsAndLibs(false)
{
@@ -116,6 +118,8 @@ void cmGraphVizWriter::ReadSettings(const char* settingsFileName,
__set_bool_if_set(this->GenerateForSharedLibs, "GRAPHVIZ_SHARED_LIBS");
__set_bool_if_set(this->GenerateForModuleLibs, "GRAPHVIZ_MODULE_LIBS");
__set_bool_if_set(this->GenerateForExternals, "GRAPHVIZ_EXTERNAL_LIBS");
+ __set_bool_if_set(this->GeneratePerTarget, "GRAPHVIZ_GENERATE_PER_TARGET");
+ __set_bool_if_set(this->GenerateDependers, "GRAPHVIZ_GENERATE_DEPENDERS");
cmStdString ignoreTargetsRegexes;
__set_if_set(ignoreTargetsRegexes, "GRAPHVIZ_IGNORE_TARGETS");
@@ -149,6 +153,11 @@ void cmGraphVizWriter::ReadSettings(const char* settingsFileName,
// which other targets depend on it.
void cmGraphVizWriter::WriteTargetDependersFiles(const char* fileName)
{
+ if(this->GenerateDependers == false)
+ {
+ return;
+ }
+
this->CollectTargetsAndLibs();
for(std::map<cmStdString, const cmTarget*>::const_iterator ptrIt =
@@ -195,6 +204,11 @@ void cmGraphVizWriter::WriteTargetDependersFiles(const char* fileName)
// on which targets it depends.
void cmGraphVizWriter::WritePerTargetFiles(const char* fileName)
{
+ if(this->GeneratePerTarget == false)
+ {
+ return;
+ }
+
this->CollectTargetsAndLibs();
for(std::map<cmStdString, const cmTarget*>::const_iterator ptrIt =
@@ -534,8 +548,8 @@ int cmGraphVizWriter::CollectAllExternalLibs(int cnt)
ostr << this->GraphNodePrefix << cnt++;
this->TargetNamesNodes[libName] = ostr.str();
this->TargetPtrs[libName] = NULL;
- //str << " \"" << ostr.c_str() << "\" [ label=\"" << libName
- //<< "\" shape=\"ellipse\"];" << std::endl;
+ // str << " \"" << ostr.c_str() << "\" [ label=\"" << libName
+ // << "\" shape=\"ellipse\"];" << std::endl;
}
}
}
diff --git a/Source/cmGraphVizWriter.h b/Source/cmGraphVizWriter.h
index f784aa0..17b97f8 100644
--- a/Source/cmGraphVizWriter.h
+++ b/Source/cmGraphVizWriter.h
@@ -74,6 +74,8 @@ protected:
bool GenerateForSharedLibs;
bool GenerateForModuleLibs;
bool GenerateForExternals;
+ bool GeneratePerTarget;
+ bool GenerateDependers;
std::vector<cmsys::RegularExpression> TargetsToIgnoreRegex;
diff --git a/Source/cmHexFileConverter.cxx b/Source/cmHexFileConverter.cxx
index a540825..6ea597e 100644
--- a/Source/cmHexFileConverter.cxx
+++ b/Source/cmHexFileConverter.cxx
@@ -166,7 +166,7 @@ cmHexFileConverter::FileType cmHexFileConverter::DetermineFileType(
const char* inFileName)
{
char buf[1024];
- FILE* inFile = fopen(inFileName, "rb");
+ FILE* inFile = cmsys::SystemTools::Fopen(inFileName, "rb");
if (inFile == 0)
{
return Binary;
@@ -223,8 +223,8 @@ bool cmHexFileConverter::TryConvert(const char* inFileName,
}
// try to open the file
- FILE* inFile = fopen(inFileName, "rb");
- FILE* outFile = fopen(outFileName, "wb");
+ FILE* inFile = cmsys::SystemTools::Fopen(inFileName, "rb");
+ FILE* outFile = cmsys::SystemTools::Fopen(outFileName, "wb");
if ((inFile == 0) || (outFile == 0))
{
if (inFile != 0)
diff --git a/Source/cmIfCommand.cxx b/Source/cmIfCommand.cxx
index 57cec5b..ee95c05 100644
--- a/Source/cmIfCommand.cxx
+++ b/Source/cmIfCommand.cxx
@@ -543,7 +543,7 @@ namespace
if (*arg == "TARGET" && argP1 != newArgs.end())
{
HandlePredicate(
- makefile->FindTargetToUse((argP1)->c_str())? true:false,
+ makefile->FindTargetToUse(*argP1)?true:false,
reducible, arg, newArgs, argP1, argP2);
}
// is a variable defined
diff --git a/Source/cmIfCommand.h b/Source/cmIfCommand.h
index f794b78..f2633ad 100644
--- a/Source/cmIfCommand.h
+++ b/Source/cmIfCommand.h
@@ -66,187 +66,10 @@ public:
virtual const char* GetName() const { return "if";}
/**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Conditionally execute a group of commands.";
- }
-
- /**
* This determines if the command is invoked when in script mode.
*/
virtual bool IsScriptable() const { return true; }
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " if(expression)\n"
- " # then section.\n"
- " COMMAND1(ARGS ...)\n"
- " COMMAND2(ARGS ...)\n"
- " ...\n"
- " elseif(expression2)\n"
- " # elseif section.\n"
- " COMMAND1(ARGS ...)\n"
- " COMMAND2(ARGS ...)\n"
- " ...\n"
- " else(expression)\n"
- " # else section.\n"
- " COMMAND1(ARGS ...)\n"
- " COMMAND2(ARGS ...)\n"
- " ...\n"
- " endif(expression)\n"
- "Evaluates the given expression. If the result is true, the commands "
- "in the THEN section are invoked. Otherwise, the commands in the "
- "else section are invoked. The elseif and else sections are "
- "optional. You may have multiple elseif clauses. Note that "
- "the expression in the else and endif clause is optional. Long "
- "expressions can be used and there is a traditional order of "
- "precedence. "
- "Parenthetical expressions are evaluated first followed by unary "
- "operators such as EXISTS, COMMAND, and DEFINED. "
- "Then any EQUAL, LESS, GREATER, STRLESS, STRGREATER, STREQUAL, MATCHES "
- "will be evaluated. Then NOT operators and finally AND, OR operators "
- "will be evaluated. Possible expressions are:\n"
- " if(<constant>)\n"
- "True if the constant is 1, ON, YES, TRUE, Y, or a non-zero number. "
- "False if the constant is 0, OFF, NO, FALSE, N, IGNORE, NOTFOUND, '', "
- "or ends in the suffix '-NOTFOUND'. "
- "Named boolean constants are case-insensitive. "
- "If the argument is not one of these constants, "
- "it is treated as a variable:"
- "\n"
- " if(<variable>)\n"
- "True if the variable is defined to a value that is not a false "
- "constant. False otherwise. "
- "(Note macro arguments are not variables.)"
- "\n"
- " if(NOT <expression>)\n"
- "True if the expression is not true."
- "\n"
- " if(<expr1> AND <expr2>)\n"
- "True if both expressions would be considered true individually."
- "\n"
- " if(<expr1> OR <expr2>)\n"
- "True if either expression would be considered true individually."
- "\n"
- " if(COMMAND command-name)\n"
- "True if the given name is a command, macro or function that can be "
- "invoked.\n"
- " if(POLICY policy-id)\n"
- "True if the given name is an existing policy "
- "(of the form CMP<NNNN>).\n"
- " if(TARGET target-name)\n"
- "True if the given name is an existing target, built or imported.\n"
- " if(EXISTS file-name)\n"
- " if(EXISTS directory-name)\n"
- "True if the named file or directory exists. "
- "Behavior is well-defined only for full paths.\n"
- " if(file1 IS_NEWER_THAN file2)\n"
- "True if file1 is newer than file2 or if one of the two files "
- "doesn't exist. "
- "Behavior is well-defined only for full paths. "
- "If the file time stamps are exactly the same, an "
- "IS_NEWER_THAN comparison returns true, so that any dependent "
- "build operations will occur in the event of a tie. "
- "This includes the case of passing the same file name for both "
- "file1 and file2.\n"
- " if(IS_DIRECTORY directory-name)\n"
- "True if the given name is a directory. "
- "Behavior is well-defined only for full paths.\n"
- " if(IS_SYMLINK file-name)\n"
- "True if the given name is a symbolic link. "
- "Behavior is well-defined only for full paths.\n"
- " if(IS_ABSOLUTE path)\n"
- "True if the given path is an absolute path.\n"
- " if(<variable|string> MATCHES regex)\n"
- "True if the given string or variable's value matches the given "
- "regular expression.\n"
- " if(<variable|string> LESS <variable|string>)\n"
- " if(<variable|string> GREATER <variable|string>)\n"
- " if(<variable|string> EQUAL <variable|string>)\n"
- "True if the given string or variable's value is a valid number and "
- "the inequality or equality is true.\n"
- " if(<variable|string> STRLESS <variable|string>)\n"
- " if(<variable|string> STRGREATER <variable|string>)\n"
- " if(<variable|string> STREQUAL <variable|string>)\n"
- "True if the given string or variable's value is lexicographically "
- "less (or greater, or equal) than the string or variable on the right.\n"
- " if(<variable|string> VERSION_LESS <variable|string>)\n"
- " if(<variable|string> VERSION_EQUAL <variable|string>)\n"
- " if(<variable|string> VERSION_GREATER <variable|string>)\n"
- "Component-wise integer version number comparison (version format is "
- "major[.minor[.patch[.tweak]]]).\n"
- " if(DEFINED <variable>)\n"
- "True if the given variable is defined. It does not matter if the "
- "variable is true or false just if it has been set.\n"
- " if((expression) AND (expression OR (expression)))\n"
- "The expressions inside the parenthesis are evaluated first and "
- "then the remaining expression is evaluated as in the previous "
- "examples. Where there are nested parenthesis the innermost are "
- "evaluated as part of evaluating the expression "
- "that contains them."
- "\n"
-
- "The if command was written very early in CMake's history, predating "
- "the ${} variable evaluation syntax, and for convenience evaluates "
- "variables named by its arguments as shown in the above signatures. "
- "Note that normal variable evaluation with ${} applies before the "
- "if command even receives the arguments. "
- "Therefore code like\n"
- " set(var1 OFF)\n"
- " set(var2 \"var1\")\n"
- " if(${var2})\n"
- "appears to the if command as\n"
- " if(var1)\n"
- "and is evaluated according to the if(<variable>) case "
- "documented above. "
- "The result is OFF which is false. "
- "However, if we remove the ${} from the example then the command sees\n"
- " if(var2)\n"
- "which is true because var2 is defined to \"var1\" which is not "
- "a false constant."
- "\n"
- "Automatic evaluation applies in the other cases whenever the "
- "above-documented signature accepts <variable|string>:\n"
-
- "1) The left hand argument to MATCHES is first checked to see "
- "if it is a defined variable, if so the variable's value is "
- "used, otherwise the original value is used. \n"
-
- "2) If the left hand argument to MATCHES is missing it returns "
- "false without error \n"
-
- "3) Both left and right hand arguments to LESS GREATER EQUAL "
- "are independently tested to see if they are defined variables, "
- "if so their defined values are used otherwise the original "
- "value is used. \n"
-
- "4) Both left and right hand arguments to STRLESS STREQUAL "
- "STRGREATER are independently tested to see if they are defined "
- "variables, if so their defined values are used otherwise the "
- "original value is used. \n"
-
- "5) Both left and right hand argumemnts to VERSION_LESS "
- "VERSION_EQUAL VERSION_GREATER are independently tested to see "
- "if they are defined variables, if so their defined values are "
- "used otherwise the original value is used. \n"
-
- "6) The right hand argument to NOT is tested to see if it is a "
- "boolean constant, if so the value is used, otherwise it is "
- "assumed to be a variable and it is dereferenced. \n"
-
- "7) The left and right hand arguments to AND OR are "
- "independently tested to see if they are boolean constants, if "
- "so they are used as such, otherwise they are assumed to be "
- "variables and are dereferenced. \n"
- ;
- }
-
// this is a shared function for both If and Else to determine if the
// arguments were valid, and if so, was the response true. If there is
// an error, the errorString will be set.
diff --git a/Source/cmIncludeCommand.cxx b/Source/cmIncludeCommand.cxx
index bb891d6..fbcbc75 100644
--- a/Source/cmIncludeCommand.cxx
+++ b/Source/cmIncludeCommand.cxx
@@ -19,7 +19,7 @@ bool cmIncludeCommand
if (args.size()< 1 || args.size() > 4)
{
this->SetError("called with wrong number of arguments. "
- "Include only takes one file.");
+ "include() only takes one file.");
return false;
}
bool optional = false;
@@ -88,6 +88,48 @@ bool cmIncludeCommand
fname = mfile.c_str();
}
}
+
+ std::string fname_abs =
+ cmSystemTools::CollapseFullPath(fname.c_str(),
+ this->Makefile->GetStartDirectory());
+
+ cmGlobalGenerator *gg = this->Makefile->GetLocalGenerator()
+ ->GetGlobalGenerator();
+ if (gg->IsExportedTargetsFile(fname_abs))
+ {
+ const char *modal = 0;
+ cmOStringStream e;
+ cmake::MessageType messageType = cmake::AUTHOR_WARNING;
+
+ switch(this->Makefile->GetPolicyStatus(cmPolicies::CMP0024))
+ {
+ case cmPolicies::WARN:
+ e << (this->Makefile->GetPolicies()
+ ->GetPolicyWarning(cmPolicies::CMP0024)) << "\n";
+ modal = "should";
+ case cmPolicies::OLD:
+ break;
+ case cmPolicies::REQUIRED_IF_USED:
+ case cmPolicies::REQUIRED_ALWAYS:
+ case cmPolicies::NEW:
+ modal = "may";
+ messageType = cmake::FATAL_ERROR;
+ }
+ if (modal)
+ {
+ e << "The file\n " << fname_abs << "\nwas generated by the export() "
+ "command. It " << modal << " not be used as the argument to the "
+ "include() command. Use ALIAS targets instead to refer to targets "
+ "by alternative names.\n";
+ this->Makefile->IssueMessage(messageType, e.str().c_str());
+ if (messageType == cmake::FATAL_ERROR)
+ {
+ return false;
+ }
+ }
+ gg->GenerateImportFile(fname_abs);
+ }
+
std::string fullFilePath;
bool readit =
this->Makefile->ReadListFile( this->Makefile->GetCurrentListFile(),
diff --git a/Source/cmIncludeCommand.h b/Source/cmIncludeCommand.h
index d97b7c3..267723d 100644
--- a/Source/cmIncludeCommand.h
+++ b/Source/cmIncludeCommand.h
@@ -15,9 +15,7 @@
#include "cmCommand.h"
/** \class cmIncludeCommand
- * \brief
- *
- * cmIncludeCommand defines a list of distant
+ * \brief cmIncludeCommand defines a list of distant
* files that can be "included" in the current list file.
* In almost every sense, this is identical to a C/C++
* #include command. Arguments are first expended as usual.
@@ -50,41 +48,6 @@ public:
*/
virtual const char* GetName() const {return "include";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Load and run CMake code from a file or module.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " include(<file|module> [OPTIONAL] [RESULT_VARIABLE <VAR>]\n"
- " [NO_POLICY_SCOPE])\n"
- "Load and run CMake code from the file given. "
- "Variable reads and writes access the scope of the caller "
- "(dynamic scoping). "
- "If OPTIONAL is present, then no error "
- "is raised if the file does not exist. If RESULT_VARIABLE is given "
- "the variable will be set to the full filename which "
- "has been included or NOTFOUND if it failed.\n"
- "If a module is specified instead of a file, the file with name "
- "<modulename>.cmake is searched first in CMAKE_MODULE_PATH, then in the "
- "CMake module directory. There is one exception to this: if the file "
- "which calls include() is located itself in the CMake module directory, "
- "then first the CMake module directory is searched and "
- "CMAKE_MODULE_PATH afterwards. See also policy CMP0017."
- "\n"
- "See the cmake_policy() command documentation for discussion of the "
- "NO_POLICY_SCOPE option."
- ;
- }
-
cmTypeMacro(cmIncludeCommand, cmCommand);
};
diff --git a/Source/cmIncludeDirectoryCommand.cxx b/Source/cmIncludeDirectoryCommand.cxx
index 30c1743..e20fe02 100644
--- a/Source/cmIncludeDirectoryCommand.cxx
+++ b/Source/cmIncludeDirectoryCommand.cxx
@@ -55,7 +55,7 @@ bool cmIncludeDirectoryCommand
std::vector<std::string> includes;
- GetIncludes(*i, includes);
+ this->GetIncludes(*i, includes);
if (before)
{
diff --git a/Source/cmIncludeDirectoryCommand.h b/Source/cmIncludeDirectoryCommand.h
index 77a340a..c621dcb 100644
--- a/Source/cmIncludeDirectoryCommand.h
+++ b/Source/cmIncludeDirectoryCommand.h
@@ -43,44 +43,6 @@ public:
*/
virtual const char* GetName() const { return "include_directories";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Add include directories to the build.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " include_directories([AFTER|BEFORE] [SYSTEM] dir1 dir2 ...)\n"
- "Add the given directories to those the compiler uses to search "
- "for include files. Relative paths are interpreted as relative to "
- "the current source directory. \n"
- "The include directories are added to the directory property "
- "INCLUDE_DIRECTORIES for the current CMakeLists file. "
- "They are also added to the target property INCLUDE_DIRECTORIES "
- "for each target in the current CMakeLists file. "
- "The target property values are the ones used by the generators."
- "\n"
- "By default the directories are appended onto the current list of "
- "directories. "
- "This default behavior can be changed by setting "
- "CMAKE_INCLUDE_DIRECTORIES_BEFORE to ON. "
- "By using AFTER or BEFORE explicitly, you can select between "
- "appending and prepending, independent of the default. "
- "\n"
- "If the SYSTEM option is given, the compiler will be told the "
- "directories are meant as system include directories on some "
- "platforms (signalling this setting might achieve effects such as "
- "the compiler skipping warnings, or these fixed-install system files "
- "not being considered in dependency calculations - see compiler docs).";
- }
-
cmTypeMacro(cmIncludeDirectoryCommand, cmCommand);
protected:
diff --git a/Source/cmIncludeExternalMSProjectCommand.h b/Source/cmIncludeExternalMSProjectCommand.h
index d5cec01..8ca674f 100644
--- a/Source/cmIncludeExternalMSProjectCommand.h
+++ b/Source/cmIncludeExternalMSProjectCommand.h
@@ -44,38 +44,6 @@ public:
*/
virtual const char* GetName() const {return "include_external_msproject";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Include an external Microsoft project file in a workspace.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " include_external_msproject(projectname location\n"
- " [TYPE projectTypeGUID]\n"
- " [GUID projectGUID]\n"
- " [PLATFORM platformName]\n"
- " dep1 dep2 ...)\n"
- "Includes an external Microsoft project in the generated workspace "
- "file. Currently does nothing on UNIX. This will create a "
- "target named [projectname]. This can be used in the add_dependencies "
- "command to make things depend on the external project."
- "\n"
- "TYPE, GUID and PLATFORM are optional parameters that allow one "
- "to specify the type of project, id (GUID) of the project and "
- "the name of the target platform. "
- "This is useful for projects requiring values other than the default "
- "(e.g. WIX projects). "
- "These options are not supported by the Visual Studio 6 generator.";
- }
-
cmTypeMacro(cmIncludeExternalMSProjectCommand, cmCommand);
};
diff --git a/Source/cmIncludeRegularExpressionCommand.h b/Source/cmIncludeRegularExpressionCommand.h
index 2e41775..0c5fa6f 100644
--- a/Source/cmIncludeRegularExpressionCommand.h
+++ b/Source/cmIncludeRegularExpressionCommand.h
@@ -43,30 +43,6 @@ public:
*/
virtual const char* GetName() const {return "include_regular_expression";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Set the regular expression used for dependency checking.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " include_regular_expression(regex_match [regex_complain])\n"
- "Set the regular expressions used in dependency checking. Only files "
- "matching regex_match will be traced as dependencies. Only files "
- "matching regex_complain will generate warnings if they cannot be "
- "found "
- "(standard header paths are not searched). The defaults are:\n"
- " regex_match = \"^.*$\" (match everything)\n"
- " regex_complain = \"^$\" (match empty string only)";
- }
-
cmTypeMacro(cmIncludeRegularExpressionCommand, cmCommand);
};
diff --git a/Source/cmInstallCommand.cxx b/Source/cmInstallCommand.cxx
index 3c76bd6..0878aae 100644
--- a/Source/cmInstallCommand.cxx
+++ b/Source/cmInstallCommand.cxx
@@ -32,10 +32,12 @@ static cmInstallTargetGenerator* CreateInstallTargetGenerator(cmTarget& target,
}
static cmInstallFilesGenerator* CreateInstallFilesGenerator(
+ cmMakefile* mf,
const std::vector<std::string>& absFiles,
const cmInstallCommandArguments& args, bool programs)
{
- return new cmInstallFilesGenerator(absFiles, args.GetDestination().c_str(),
+ return new cmInstallFilesGenerator(mf,
+ absFiles, args.GetDestination().c_str(),
programs, args.GetPermissions().c_str(),
args.GetConfigurations(), args.GetComponent().c_str(),
args.GetRename().c_str(), args.GetOptional());
@@ -363,7 +365,7 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<std::string> const& args)
++targetIt)
{
- if (this->Makefile->IsAlias(targetIt->c_str()))
+ if (this->Makefile->IsAlias(*targetIt))
{
cmOStringStream e;
e << "TARGETS given target \"" << (*targetIt)
@@ -372,14 +374,15 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<std::string> const& args)
return false;
}
// Lookup this target in the current directory.
- if(cmTarget* target=this->Makefile->FindTarget(targetIt->c_str()))
+ if(cmTarget* target=this->Makefile->FindTarget(*targetIt))
{
// Found the target. Check its type.
if(target->GetType() != cmTarget::EXECUTABLE &&
target->GetType() != cmTarget::STATIC_LIBRARY &&
target->GetType() != cmTarget::SHARED_LIBRARY &&
target->GetType() != cmTarget::MODULE_LIBRARY &&
- target->GetType() != cmTarget::OBJECT_LIBRARY)
+ target->GetType() != cmTarget::OBJECT_LIBRARY &&
+ target->GetType() != cmTarget::INTERFACE_LIBRARY)
{
cmOStringStream e;
e << "TARGETS given target \"" << (*targetIt)
@@ -626,6 +629,11 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<std::string> const& args)
}
}
break;
+ case cmTarget::INTERFACE_LIBRARY:
+ // Nothing to do. An INTERFACE_LIBRARY can be installed, but the
+ // only effect of that is to make it exportable. It installs no
+ // other files itself.
+ break;
default:
// This should never happen due to the above type check.
// Ignore the case.
@@ -639,7 +647,8 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<std::string> const& args)
// generators for them.
bool createInstallGeneratorsForTargetFileSets = true;
- if(target.IsFrameworkOnApple())
+ if(target.IsFrameworkOnApple()
+ || target.GetType() == cmTarget::INTERFACE_LIBRARY)
{
createInstallGeneratorsForTargetFileSets = false;
}
@@ -661,7 +670,8 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<std::string> const& args)
if (!privateHeaderArgs.GetDestination().empty())
{
privateHeaderGenerator =
- CreateInstallFilesGenerator(absFiles, privateHeaderArgs, false);
+ CreateInstallFilesGenerator(this->Makefile, absFiles,
+ privateHeaderArgs, false);
}
else
{
@@ -687,7 +697,8 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<std::string> const& args)
if (!publicHeaderArgs.GetDestination().empty())
{
publicHeaderGenerator =
- CreateInstallFilesGenerator(absFiles, publicHeaderArgs, false);
+ CreateInstallFilesGenerator(this->Makefile, absFiles,
+ publicHeaderArgs, false);
}
else
{
@@ -712,8 +723,8 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<std::string> const& args)
// Create the files install generator.
if (!resourceArgs.GetDestination().empty())
{
- resourceGenerator = CreateInstallFilesGenerator(absFiles,
- resourceArgs, false);
+ resourceGenerator = CreateInstallFilesGenerator(
+ this->Makefile, absFiles, resourceArgs, false);
}
else
{
@@ -881,7 +892,7 @@ bool cmInstallCommand::HandleFilesMode(std::vector<std::string> const& args)
// Create the files install generator.
this->Makefile->AddInstallGenerator(
- CreateInstallFilesGenerator(absFiles, ica, programs));
+ CreateInstallFilesGenerator(this->Makefile, absFiles, ica, programs));
//Tell the global generator about any installation component names specified.
this->Makefile->GetLocalGenerator()->GetGlobalGenerator()
@@ -1344,7 +1355,8 @@ bool cmInstallCommand::MakeFilesFullPath(const char* modeName,
++fileIt)
{
std::string file = (*fileIt);
- if(!cmSystemTools::FileIsFullPath(file.c_str()))
+ std::string::size_type gpos = cmGeneratorExpression::Find(file);
+ if(gpos != 0 && !cmSystemTools::FileIsFullPath(file.c_str()))
{
file = this->Makefile->GetCurrentDirectory();
file += "/";
@@ -1352,7 +1364,7 @@ bool cmInstallCommand::MakeFilesFullPath(const char* modeName,
}
// Make sure the file is not a directory.
- if(cmSystemTools::FileIsDirectory(file.c_str()))
+ if(gpos == file.npos && cmSystemTools::FileIsDirectory(file.c_str()))
{
cmOStringStream e;
e << modeName << " given directory \"" << (*fileIt) << "\" to install.";
diff --git a/Source/cmInstallCommand.h b/Source/cmInstallCommand.h
index 6509501..9db2490 100644
--- a/Source/cmInstallCommand.h
+++ b/Source/cmInstallCommand.h
@@ -43,307 +43,6 @@ public:
*/
virtual const char* GetName() const { return "install";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Specify rules to run at install time.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- "This command generates installation rules for a project. "
- "Rules specified by calls to this command within a source directory "
- "are executed in order during installation. "
- "The order across directories is not defined."
- "\n"
- "There are multiple signatures for this command. Some of them define "
- "installation properties for files and targets. Properties common to "
- "multiple signatures are covered here but they are valid only for "
- "signatures that specify them.\n"
- "DESTINATION arguments specify "
- "the directory on disk to which a file will be installed. "
- "If a full path (with a leading slash or drive letter) is given it "
- "is used directly. If a relative path is given it is interpreted "
- "relative to the value of CMAKE_INSTALL_PREFIX. The prefix can "
- "be relocated at install time using DESTDIR mechanism explained in the "
- "CMAKE_INSTALL_PREFIX variable documentation.\n"
- "PERMISSIONS arguments specify permissions for installed files. "
- "Valid permissions are "
- "OWNER_READ, OWNER_WRITE, OWNER_EXECUTE, "
- "GROUP_READ, GROUP_WRITE, GROUP_EXECUTE, "
- "WORLD_READ, WORLD_WRITE, WORLD_EXECUTE, "
- "SETUID, and SETGID. "
- "Permissions that do not make sense on certain platforms are ignored "
- "on those platforms.\n"
- "The CONFIGURATIONS argument specifies a list of build configurations "
- "for which the install rule applies (Debug, Release, etc.).\n"
- "The COMPONENT argument specifies an installation component name "
- "with which the install rule is associated, such as \"runtime\" or "
- "\"development\". During component-specific installation only "
- "install rules associated with the given component name will be "
- "executed. During a full installation all components are installed."
- " If COMPONENT is not provided a default component \"Unspecified\" is"
- " created. The default component name may be controlled with the "
- "CMAKE_INSTALL_DEFAULT_COMPONENT_NAME variable.\n"
- "The RENAME argument specifies a name for an installed file that "
- "may be different from the original file. Renaming is allowed only "
- "when a single file is installed by the command.\n"
- "The OPTIONAL argument specifies that it is not an error if the "
- "file to be installed does not exist. "
- "\n"
- "The TARGETS signature:\n"
- " install(TARGETS targets... [EXPORT <export-name>]\n"
- " [[ARCHIVE|LIBRARY|RUNTIME|FRAMEWORK|BUNDLE|\n"
- " PRIVATE_HEADER|PUBLIC_HEADER|RESOURCE]\n"
- " [DESTINATION <dir>]\n"
- " [INCLUDES DESTINATION [<dir> ...]]\n"
- " [PERMISSIONS permissions...]\n"
- " [CONFIGURATIONS [Debug|Release|...]]\n"
- " [COMPONENT <component>]\n"
- " [OPTIONAL] [NAMELINK_ONLY|NAMELINK_SKIP]\n"
- " ] [...])\n"
- "The TARGETS form specifies rules for installing targets from a "
- "project. There are five kinds of target files that may be "
- "installed: ARCHIVE, LIBRARY, RUNTIME, FRAMEWORK, and BUNDLE. "
-
- "Executables are treated as RUNTIME targets, except that those "
- "marked with the MACOSX_BUNDLE property are treated as BUNDLE "
- "targets on OS X. "
- "Static libraries are always treated as ARCHIVE targets. "
- "Module libraries are always treated as LIBRARY targets. "
- "For non-DLL platforms shared libraries are treated as LIBRARY "
- "targets, except that those marked with the FRAMEWORK property "
- "are treated as FRAMEWORK targets on OS X. "
- "For DLL platforms the DLL part of a shared library is treated as "
- "a RUNTIME target and the corresponding import library is treated as "
- "an ARCHIVE target. "
- "All Windows-based systems including Cygwin are DLL platforms. "
- "The ARCHIVE, LIBRARY, RUNTIME, and FRAMEWORK "
- "arguments change the type of target to which the subsequent "
- "properties "
- "apply. If none is given the installation properties apply to "
- "all target types. If only one is given then only targets of that "
- "type will be installed (which can be used to install just a DLL or "
- "just an import library)."
- "The INCLUDES DESTINATION specifies a list of directories which will "
- "be added to the INTERFACE_INCLUDE_DIRECTORIES of the <targets> when "
- "exported by install(EXPORT). If a relative path is specified, it is "
- "treated as relative to the $<INSTALL_PREFIX>."
- "\n"
- "The PRIVATE_HEADER, PUBLIC_HEADER, and RESOURCE arguments cause "
- "subsequent properties to be applied to installing a FRAMEWORK "
- "shared library target's associated files on non-Apple platforms. "
- "Rules defined by these arguments are ignored on Apple platforms "
- "because the associated files are installed into the appropriate "
- "locations inside the framework folder. "
- "See documentation of the PRIVATE_HEADER, PUBLIC_HEADER, and RESOURCE "
- "target properties for details."
- "\n"
- "Either NAMELINK_ONLY or NAMELINK_SKIP may be specified as a LIBRARY "
- "option. "
- "On some platforms a versioned shared library has a symbolic link "
- "such as\n"
- " lib<name>.so -> lib<name>.so.1\n"
- "where \"lib<name>.so.1\" is the soname of the library and "
- "\"lib<name>.so\" is a \"namelink\" allowing linkers to find the "
- "library when given \"-l<name>\". "
- "The NAMELINK_ONLY option causes installation of only the namelink "
- "when a library target is installed. "
- "The NAMELINK_SKIP option causes installation of library files other "
- "than the namelink when a library target is installed. "
- "When neither option is given both portions are installed. "
- "On platforms where versioned shared libraries do not have namelinks "
- "or when a library is not versioned the NAMELINK_SKIP option installs "
- "the library and the NAMELINK_ONLY option installs nothing. "
- "See the VERSION and SOVERSION target properties for details on "
- "creating versioned shared libraries."
- "\n"
- "One or more groups of properties may be specified in a single call "
- "to the TARGETS form of this command. A target may be installed more "
- "than once to different locations. Consider hypothetical "
- "targets \"myExe\", \"mySharedLib\", and \"myStaticLib\". The code\n"
- " install(TARGETS myExe mySharedLib myStaticLib\n"
- " RUNTIME DESTINATION bin\n"
- " LIBRARY DESTINATION lib\n"
- " ARCHIVE DESTINATION lib/static)\n"
- " install(TARGETS mySharedLib DESTINATION /some/full/path)\n"
- "will install myExe to <prefix>/bin and myStaticLib to "
- "<prefix>/lib/static. "
- "On non-DLL platforms mySharedLib will be installed to <prefix>/lib "
- "and /some/full/path. On DLL platforms the mySharedLib DLL will be "
- "installed to <prefix>/bin and /some/full/path and its import library "
- "will be installed to <prefix>/lib/static and /some/full/path."
- "\n"
- "The EXPORT option associates the installed target files with an "
- "export called <export-name>. "
- "It must appear before any RUNTIME, LIBRARY, or ARCHIVE options. "
- "To actually install the export file itself, call install(EXPORT). "
- "See documentation of the install(EXPORT ...) signature below for "
- "details."
- "\n"
- "Installing a target with EXCLUDE_FROM_ALL set to true has "
- "undefined behavior."
- "\n"
- "The FILES signature:\n"
- " install(FILES files... DESTINATION <dir>\n"
- " [PERMISSIONS permissions...]\n"
- " [CONFIGURATIONS [Debug|Release|...]]\n"
- " [COMPONENT <component>]\n"
- " [RENAME <name>] [OPTIONAL])\n"
- "The FILES form specifies rules for installing files for a "
- "project. File names given as relative paths are interpreted with "
- "respect to the current source directory. Files installed by this "
- "form are by default given permissions OWNER_WRITE, OWNER_READ, "
- "GROUP_READ, and WORLD_READ if no PERMISSIONS argument is given."
- "\n"
- "The PROGRAMS signature:\n"
- " install(PROGRAMS files... DESTINATION <dir>\n"
- " [PERMISSIONS permissions...]\n"
- " [CONFIGURATIONS [Debug|Release|...]]\n"
- " [COMPONENT <component>]\n"
- " [RENAME <name>] [OPTIONAL])\n"
- "The PROGRAMS form is identical to the FILES form except that the "
- "default permissions for the installed file also include "
- "OWNER_EXECUTE, GROUP_EXECUTE, and WORLD_EXECUTE. "
- "This form is intended to install programs that are not targets, "
- "such as shell scripts. Use the TARGETS form to install targets "
- "built within the project."
- "\n"
- "The DIRECTORY signature:\n"
- " install(DIRECTORY dirs... DESTINATION <dir>\n"
- " [FILE_PERMISSIONS permissions...]\n"
- " [DIRECTORY_PERMISSIONS permissions...]\n"
- " [USE_SOURCE_PERMISSIONS] [OPTIONAL]\n"
- " [CONFIGURATIONS [Debug|Release|...]]\n"
- " [COMPONENT <component>] [FILES_MATCHING]\n"
- " [[PATTERN <pattern> | REGEX <regex>]\n"
- " [EXCLUDE] [PERMISSIONS permissions...]] [...])\n"
- "The DIRECTORY form installs contents of one or more directories "
- "to a given destination. "
- "The directory structure is copied verbatim to the destination. "
- "The last component of each directory name is appended to the "
- "destination directory but a trailing slash may be used to "
- "avoid this because it leaves the last component empty. "
- "Directory names given as relative paths are interpreted with "
- "respect to the current source directory. "
- "If no input directory names are given the destination directory "
- "will be created but nothing will be installed into it. "
- "The FILE_PERMISSIONS and DIRECTORY_PERMISSIONS options specify "
- "permissions given to files and directories in the destination. "
- "If USE_SOURCE_PERMISSIONS is specified and FILE_PERMISSIONS is not, "
- "file permissions will be copied from the source directory structure. "
- "If no permissions are specified files will be given the default "
- "permissions specified in the FILES form of the command, and the "
- "directories will be given the default permissions specified in the "
- "PROGRAMS form of the command.\n"
-
- "Installation of directories may be controlled with fine granularity "
- "using the PATTERN or REGEX options. These \"match\" options specify a "
- "globbing pattern or regular expression to match directories or files "
- "encountered within input directories. They may be used to apply "
- "certain options (see below) to a subset of the files and directories "
- "encountered. "
- "The full path to each input file or directory "
- "(with forward slashes) is matched against the expression. "
- "A PATTERN will match only complete file names: the portion of the "
- "full path matching the pattern must occur at the end of the file name "
- "and be preceded by a slash. "
- "A REGEX will match any portion of the full path but it may use "
- "'/' and '$' to simulate the PATTERN behavior. "
- "By default all files and directories are installed whether "
- "or not they are matched. "
- "The FILES_MATCHING option may be given before the first match option "
- "to disable installation of files (but not directories) not matched by "
- "any expression. For example, the code\n"
- " install(DIRECTORY src/ DESTINATION include/myproj\n"
- " FILES_MATCHING PATTERN \"*.h\")\n"
- "will extract and install header files from a source tree.\n"
- "Some options may follow a PATTERN or REGEX expression and are "
- "applied only to files or directories matching them. "
- "The EXCLUDE option will skip the matched file or directory. "
- "The PERMISSIONS option overrides the permissions setting for the "
- "matched file or directory. "
- "For example the code\n"
- " install(DIRECTORY icons scripts/ DESTINATION share/myproj\n"
- " PATTERN \"CVS\" EXCLUDE\n"
- " PATTERN \"scripts/*\"\n"
- " PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ\n"
- " GROUP_EXECUTE GROUP_READ)\n"
- "will install the icons directory to share/myproj/icons and the "
- "scripts directory to share/myproj. The icons will get default file "
- "permissions, the scripts will be given specific permissions, and "
- "any CVS directories will be excluded."
- "\n"
- "The SCRIPT and CODE signature:\n"
- " install([[SCRIPT <file>] [CODE <code>]] [...])\n"
- "The SCRIPT form will invoke the given CMake script files during "
- "installation. If the script file name is a relative path "
- "it will be interpreted with respect to the current source directory. "
- "The CODE form will invoke the given CMake code during installation. "
- "Code is specified as a single argument inside a double-quoted string. "
- "For example, the code\n"
- " install(CODE \"MESSAGE(\\\"Sample install message.\\\")\")\n"
- "will print a message during installation.\n"
- ""
- "The EXPORT signature:\n"
- " install(EXPORT <export-name> DESTINATION <dir>\n"
- " [NAMESPACE <namespace>] [FILE <name>.cmake]\n"
- " [PERMISSIONS permissions...]\n"
- " [CONFIGURATIONS [Debug|Release|...]]\n"
- " [EXPORT_LINK_INTERFACE_LIBRARIES]\n"
- " [COMPONENT <component>])\n"
- "The EXPORT form generates and installs a CMake file containing code "
- "to import targets from the installation tree into another project. "
- "Target installations are associated with the export <export-name> "
- "using the EXPORT option of the install(TARGETS ...) signature "
- "documented above. The NAMESPACE option will prepend <namespace> to "
- "the target names as they are written to the import file. "
- "By default the generated file will be called <export-name>.cmake but "
- "the FILE option may be used to specify a different name. The value "
- "given to the FILE option must be a file name with the \".cmake\" "
- "extension. "
- "If a CONFIGURATIONS option is given then the file will only be "
- "installed when one of the named configurations is installed. "
- "Additionally, the generated import file will reference only the "
- "matching target configurations. "
- "The EXPORT_LINK_INTERFACE_LIBRARIES keyword, if present, causes the "
- "contents of the properties matching "
- "(IMPORTED_)?LINK_INTERFACE_LIBRARIES(_<CONFIG>)? to be exported, when "
- "policy CMP0022 is NEW. "
- "If a COMPONENT option is specified that does not match that given "
- "to the targets associated with <export-name> the behavior is "
- "undefined. "
- "If a library target is included in the export but "
- "a target to which it links is not included the behavior is "
- "unspecified."
- "\n"
- "The EXPORT form is useful to help outside projects use targets built "
- "and installed by the current project. For example, the code\n"
- " install(TARGETS myexe EXPORT myproj DESTINATION bin)\n"
- " install(EXPORT myproj NAMESPACE mp_ DESTINATION lib/myproj)\n"
- "will install the executable myexe to <prefix>/bin and code to import "
- "it in the file \"<prefix>/lib/myproj/myproj.cmake\". "
- "An outside project may load this file with the include command "
- "and reference the myexe executable from the installation tree using "
- "the imported target name mp_myexe as if the target were built "
- "in its own tree."
- "\n"
- "NOTE: This command supercedes the INSTALL_TARGETS command and the "
- "target properties PRE_INSTALL_SCRIPT and POST_INSTALL_SCRIPT. "
- "It also replaces the FILES forms of the INSTALL_FILES and "
- "INSTALL_PROGRAMS commands. "
- "The processing order of these install rules relative to those "
- "generated by INSTALL_TARGETS, INSTALL_FILES, and INSTALL_PROGRAMS "
- "commands is not defined.\n"
- ;
- }
-
cmTypeMacro(cmInstallCommand, cmCommand);
private:
diff --git a/Source/cmInstallCommandArguments.cxx b/Source/cmInstallCommandArguments.cxx
index 91ea861..236ca1f 100644
--- a/Source/cmInstallCommandArguments.cxx
+++ b/Source/cmInstallCommandArguments.cxx
@@ -228,11 +228,6 @@ void cmInstallCommandIncludesArgument::Parse(
for ( ; it != args->end(); ++it)
{
std::string dir = *it;
- if (!cmSystemTools::FileIsFullPath(it->c_str())
- && cmGeneratorExpression::Find(*it) == std::string::npos)
- {
- dir = "$<INSTALL_PREFIX>/" + dir;
- }
cmSystemTools::ConvertToUnixSlashes(dir);
this->IncludeDirs.push_back(dir);
}
diff --git a/Source/cmInstallExportGenerator.cxx b/Source/cmInstallExportGenerator.cxx
index 3e9e6ac..1287ea6 100644
--- a/Source/cmInstallExportGenerator.cxx
+++ b/Source/cmInstallExportGenerator.cxx
@@ -183,11 +183,11 @@ cmInstallExportGenerator::GenerateScriptConfigs(std::ostream& os,
{
files.push_back(i->second);
std::string config_test = this->CreateConfigTest(i->first.c_str());
- os << indent << "IF(" << config_test << ")\n";
+ os << indent << "if(" << config_test << ")\n";
this->AddInstallRule(os, cmInstallType_FILES, files, false,
this->FilePermissions.c_str(), 0, 0, 0,
indent.Next());
- os << indent << "ENDIF(" << config_test << ")\n";
+ os << indent << "endif()\n";
files.clear();
}
}
@@ -202,23 +202,23 @@ void cmInstallExportGenerator::GenerateScriptActions(std::ostream& os,
installedDir += "/";
std::string installedFile = installedDir;
installedFile += this->FileName;
- os << indent << "IF(EXISTS \"" << installedFile << "\")\n";
+ os << indent << "if(EXISTS \"" << installedFile << "\")\n";
Indent indentN = indent.Next();
Indent indentNN = indentN.Next();
Indent indentNNN = indentNN.Next();
- os << indentN << "FILE(DIFFERENT EXPORT_FILE_CHANGED FILES\n"
+ os << indentN << "file(DIFFERENT EXPORT_FILE_CHANGED FILES\n"
<< indentN << " \"" << installedFile << "\"\n"
<< indentN << " \"" << this->MainImportFile << "\")\n";
- os << indentN << "IF(EXPORT_FILE_CHANGED)\n";
- os << indentNN << "FILE(GLOB OLD_CONFIG_FILES \"" << installedDir
+ os << indentN << "if(EXPORT_FILE_CHANGED)\n";
+ os << indentNN << "file(GLOB OLD_CONFIG_FILES \"" << installedDir
<< this->EFGen->GetConfigImportFileGlob() << "\")\n";
- os << indentNN << "IF(OLD_CONFIG_FILES)\n";
- os << indentNNN << "MESSAGE(STATUS \"Old export file \\\"" << installedFile
+ os << indentNN << "if(OLD_CONFIG_FILES)\n";
+ os << indentNNN << "message(STATUS \"Old export file \\\"" << installedFile
<< "\\\" will be replaced. Removing files [${OLD_CONFIG_FILES}].\")\n";
- os << indentNNN << "FILE(REMOVE ${OLD_CONFIG_FILES})\n";
- os << indentNN << "ENDIF(OLD_CONFIG_FILES)\n";
- os << indentN << "ENDIF(EXPORT_FILE_CHANGED)\n";
- os << indent << "ENDIF()\n";
+ os << indentNNN << "file(REMOVE ${OLD_CONFIG_FILES})\n";
+ os << indentNN << "endif()\n";
+ os << indentN << "endif()\n";
+ os << indent << "endif()\n";
// Install the main export file.
std::vector<std::string> files;
diff --git a/Source/cmInstallFilesCommand.cxx b/Source/cmInstallFilesCommand.cxx
index cc62c4b..488d486 100644
--- a/Source/cmInstallFilesCommand.cxx
+++ b/Source/cmInstallFilesCommand.cxx
@@ -133,7 +133,7 @@ void cmInstallFilesCommand::CreateInstallGenerator() const
"CMAKE_INSTALL_DEFAULT_COMPONENT_NAME");
std::vector<std::string> no_configurations;
this->Makefile->AddInstallGenerator(
- new cmInstallFilesGenerator(this->Files,
+ new cmInstallFilesGenerator(this->Makefile, this->Files,
destination.c_str(), false,
no_permissions, no_configurations,
no_component.c_str(), no_rename));
@@ -148,7 +148,8 @@ void cmInstallFilesCommand::CreateInstallGenerator() const
*/
std::string cmInstallFilesCommand::FindInstallSource(const char* name) const
{
- if(cmSystemTools::FileIsFullPath(name))
+ if(cmSystemTools::FileIsFullPath(name) ||
+ cmGeneratorExpression::Find(name) == 0)
{
// This is a full path.
return name;
diff --git a/Source/cmInstallFilesCommand.h b/Source/cmInstallFilesCommand.h
index bb0a6cc..5583fe4 100644
--- a/Source/cmInstallFilesCommand.h
+++ b/Source/cmInstallFilesCommand.h
@@ -44,14 +44,6 @@ public:
virtual const char* GetName() const { return "install_files";}
/**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Deprecated. Use the install(FILES ) command instead.";
- }
-
- /**
* This is called at the end after all the information
* specified by the command is accumulated. Most commands do
* not implement this method. At this point, reading and
@@ -60,37 +52,6 @@ public:
virtual void FinalPass();
virtual bool HasFinalPass() const { return !this->IsFilesForm; }
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- "This command has been superceded by the install command. It "
- "is provided for compatibility with older CMake code. "
- "The FILES form is directly replaced by the FILES form of the "
- "install command. The regexp form can be expressed "
- "more clearly using the GLOB form of the file command.\n"
- " install_files(<dir> extension file file ...)\n"
- "Create rules to install the listed files with the given extension "
- "into the given directory. "
- "Only files existing in the current source tree or its corresponding "
- "location in the binary tree may be listed. "
- "If a file specified already has an extension, that extension will be "
- "removed first. This is useful for providing lists of source files "
- "such as foo.cxx when you want the corresponding foo.h to be "
- "installed. A typical extension is '.h'.\n"
- " install_files(<dir> regexp)\n"
- "Any files in the current source directory that match the regular "
- "expression will be installed.\n"
- " install_files(<dir> FILES file file ...)\n"
- "Any files listed after the FILES keyword will be "
- "installed explicitly from the names given. Full paths are allowed in "
- "this form.\n"
- "The directory <dir> is relative to the installation prefix, which "
- "is stored in the variable CMAKE_INSTALL_PREFIX.";
- }
-
/** This command is kept for compatibility with older CMake versions. */
virtual bool IsDiscouraged() const
{
diff --git a/Source/cmInstallFilesGenerator.cxx b/Source/cmInstallFilesGenerator.cxx
index ec02bc7..ec15044 100644
--- a/Source/cmInstallFilesGenerator.cxx
+++ b/Source/cmInstallFilesGenerator.cxx
@@ -11,9 +11,13 @@
============================================================================*/
#include "cmInstallFilesGenerator.h"
+#include "cmGeneratorExpression.h"
+#include "cmSystemTools.h"
+
//----------------------------------------------------------------------------
cmInstallFilesGenerator
-::cmInstallFilesGenerator(std::vector<std::string> const& files,
+::cmInstallFilesGenerator(cmMakefile* mf,
+ std::vector<std::string> const& files,
const char* dest, bool programs,
const char* file_permissions,
std::vector<std::string> const& configurations,
@@ -21,10 +25,20 @@ cmInstallFilesGenerator
const char* rename,
bool optional):
cmInstallGenerator(dest, configurations, component),
+ Makefile(mf),
Files(files), Programs(programs),
FilePermissions(file_permissions),
Rename(rename), Optional(optional)
{
+ // We need per-config actions if any files have generator expressions.
+ for(std::vector<std::string>::const_iterator i = files.begin();
+ !this->ActionsPerConfig && i != files.end(); ++i)
+ {
+ if(cmGeneratorExpression::Find(*i) != std::string::npos)
+ {
+ this->ActionsPerConfig = true;
+ }
+ }
}
//----------------------------------------------------------------------------
@@ -34,8 +48,9 @@ cmInstallFilesGenerator
}
//----------------------------------------------------------------------------
-void cmInstallFilesGenerator::GenerateScriptActions(std::ostream& os,
- Indent const& indent)
+void cmInstallFilesGenerator::AddFilesInstallRule(
+ std::ostream& os, Indent const& indent,
+ std::vector<std::string> const& files)
{
// Write code to install the files.
const char* no_dir_permissions = 0;
@@ -43,8 +58,40 @@ void cmInstallFilesGenerator::GenerateScriptActions(std::ostream& os,
(this->Programs
? cmInstallType_PROGRAMS
: cmInstallType_FILES),
- this->Files,
+ files,
this->Optional,
this->FilePermissions.c_str(), no_dir_permissions,
this->Rename.c_str(), 0, indent);
}
+
+//----------------------------------------------------------------------------
+void cmInstallFilesGenerator::GenerateScriptActions(std::ostream& os,
+ Indent const& indent)
+{
+ if(this->ActionsPerConfig)
+ {
+ this->cmInstallGenerator::GenerateScriptActions(os, indent);
+ }
+ else
+ {
+ this->AddFilesInstallRule(os, indent, this->Files);
+ }
+}
+
+//----------------------------------------------------------------------------
+void cmInstallFilesGenerator::GenerateScriptForConfig(std::ostream& os,
+ const char* config,
+ Indent const& indent)
+{
+ std::vector<std::string> files;
+ cmListFileBacktrace lfbt;
+ cmGeneratorExpression ge(lfbt);
+ for(std::vector<std::string>::const_iterator i = this->Files.begin();
+ i != this->Files.end(); ++i)
+ {
+ cmsys::auto_ptr<cmCompiledGeneratorExpression> cge = ge.Parse(*i);
+ cmSystemTools::ExpandListArgument(cge->Evaluate(this->Makefile, config),
+ files);
+ }
+ this->AddFilesInstallRule(os, indent, files);
+}
diff --git a/Source/cmInstallFilesGenerator.h b/Source/cmInstallFilesGenerator.h
index 871335c..9dea296 100644
--- a/Source/cmInstallFilesGenerator.h
+++ b/Source/cmInstallFilesGenerator.h
@@ -14,13 +14,16 @@
#include "cmInstallGenerator.h"
+class cmMakefile;
+
/** \class cmInstallFilesGenerator
* \brief Generate file installation rules.
*/
class cmInstallFilesGenerator: public cmInstallGenerator
{
public:
- cmInstallFilesGenerator(std::vector<std::string> const& files,
+ cmInstallFilesGenerator(cmMakefile* mf,
+ std::vector<std::string> const& files,
const char* dest, bool programs,
const char* file_permissions,
std::vector<std::string> const& configurations,
@@ -31,6 +34,13 @@ public:
protected:
virtual void GenerateScriptActions(std::ostream& os, Indent const& indent);
+ virtual void GenerateScriptForConfig(std::ostream& os,
+ const char* config,
+ Indent const& indent);
+ void AddFilesInstallRule(std::ostream& os, Indent const& indent,
+ std::vector<std::string> const& files);
+
+ cmMakefile* Makefile;
std::vector<std::string> Files;
bool Programs;
std::string FilePermissions;
diff --git a/Source/cmInstallGenerator.cxx b/Source/cmInstallGenerator.cxx
index 3be2c2b..d105a0c 100644
--- a/Source/cmInstallGenerator.cxx
+++ b/Source/cmInstallGenerator.cxx
@@ -80,18 +80,18 @@ void cmInstallGenerator
}
}
os << "\")\n";
- os << indent << "IF (CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)\n";
+ os << indent << "if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)\n";
os << indent << indent << "message(WARNING \"ABSOLUTE path INSTALL "
<< "DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}\")\n";
- os << indent << "ENDIF (CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)\n";
+ os << indent << "endif()\n";
- os << indent << "IF (CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)\n";
+ os << indent << "if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)\n";
os << indent << indent << "message(FATAL_ERROR \"ABSOLUTE path INSTALL "
<< "DESTINATION forbidden (by caller): "
<< "${CMAKE_ABSOLUTE_DESTINATION_FILES}\")\n";
- os << indent << "ENDIF (CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)\n";
+ os << indent << "endif()\n";
}
- os << "FILE(INSTALL DESTINATION \"" << dest << "\" TYPE " << stype.c_str();
+ os << "file(INSTALL DESTINATION \"" << dest << "\" TYPE " << stype.c_str();
if(optional)
{
os << " OPTIONAL";
@@ -153,13 +153,13 @@ void cmInstallGenerator::GenerateScript(std::ostream& os)
// Begin this block of installation.
std::string component_test =
this->CreateComponentTest(this->Component.c_str());
- os << indent << "IF(" << component_test << ")\n";
+ os << indent << "if(" << component_test << ")\n";
// Generate the script possibly with per-configuration code.
this->GenerateScriptConfigs(os, indent.Next());
// End this block of installation.
- os << indent << "ENDIF(" << component_test << ")\n\n";
+ os << indent << "endif()\n\n";
}
//----------------------------------------------------------------------------
diff --git a/Source/cmInstallProgramsCommand.cxx b/Source/cmInstallProgramsCommand.cxx
index 3a0a322..54d903a 100644
--- a/Source/cmInstallProgramsCommand.cxx
+++ b/Source/cmInstallProgramsCommand.cxx
@@ -94,7 +94,7 @@ void cmInstallProgramsCommand::FinalPass()
"CMAKE_INSTALL_DEFAULT_COMPONENT_NAME");
std::vector<std::string> no_configurations;
this->Makefile->AddInstallGenerator(
- new cmInstallFilesGenerator(this->Files,
+ new cmInstallFilesGenerator(this->Makefile, this->Files,
destination.c_str(), true,
no_permissions, no_configurations,
no_component.c_str(), no_rename));
@@ -109,7 +109,8 @@ void cmInstallProgramsCommand::FinalPass()
std::string cmInstallProgramsCommand
::FindInstallSource(const char* name) const
{
- if(cmSystemTools::FileIsFullPath(name))
+ if(cmSystemTools::FileIsFullPath(name) ||
+ cmGeneratorExpression::Find(name) == 0)
{
// This is a full path.
return name;
diff --git a/Source/cmInstallProgramsCommand.h b/Source/cmInstallProgramsCommand.h
index 27a0498..95acfa2 100644
--- a/Source/cmInstallProgramsCommand.h
+++ b/Source/cmInstallProgramsCommand.h
@@ -44,14 +44,6 @@ public:
virtual const char* GetName() const { return "install_programs";}
/**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Deprecated. Use the install(PROGRAMS ) command instead.";
- }
-
- /**
* This is called at the end after all the information
* specified by the command is accumulated. Most commands do
* not implement this method. At this point, reading and
@@ -61,33 +53,6 @@ public:
virtual bool HasFinalPass() const { return true; }
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- "This command has been superceded by the install command. It "
- "is provided for compatibility with older CMake code. "
- "The FILES form is directly replaced by the PROGRAMS form of the "
- "INSTALL command. The regexp form can be expressed more clearly "
- "using the GLOB form of the FILE command.\n"
- " install_programs(<dir> file1 file2 [file3 ...])\n"
- " install_programs(<dir> FILES file1 [file2 ...])\n"
- "Create rules to install the listed programs into the given directory. "
- "Use the FILES argument to guarantee that the file list version of "
- "the command will be used even when there is only one argument.\n"
- " install_programs(<dir> regexp)\n"
- "In the second form any program in the current source directory that "
- "matches the regular expression will be installed.\n"
- "This command is intended to install programs that are not built "
- "by cmake, such as shell scripts. See the TARGETS form of "
- "the INSTALL command to "
- "create installation rules for targets built by cmake.\n"
- "The directory <dir> is relative to the installation prefix, which "
- "is stored in the variable CMAKE_INSTALL_PREFIX.";
- }
-
/** This command is kept for compatibility with older CMake versions. */
virtual bool IsDiscouraged() const
{
diff --git a/Source/cmInstallScriptGenerator.cxx b/Source/cmInstallScriptGenerator.cxx
index bcfbe63..1ecf021 100644
--- a/Source/cmInstallScriptGenerator.cxx
+++ b/Source/cmInstallScriptGenerator.cxx
@@ -32,7 +32,7 @@ void cmInstallScriptGenerator::GenerateScript(std::ostream& os)
Indent indent;
std::string component_test =
this->CreateComponentTest(this->Component.c_str());
- os << indent << "IF(" << component_test << ")\n";
+ os << indent << "if(" << component_test << ")\n";
if(this->Code)
{
@@ -40,8 +40,8 @@ void cmInstallScriptGenerator::GenerateScript(std::ostream& os)
}
else
{
- os << indent.Next() << "INCLUDE(\"" << this->Script << "\")\n";
+ os << indent.Next() << "include(\"" << this->Script << "\")\n";
}
- os << indent << "ENDIF(" << component_test << ")\n\n";
+ os << indent << "endif()\n\n";
}
diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx
index c9624c8..7a39f45 100644
--- a/Source/cmInstallTargetGenerator.cxx
+++ b/Source/cmInstallTargetGenerator.cxx
@@ -90,6 +90,11 @@ void cmInstallTargetGenerator::GenerateScriptForConfig(std::ostream& os,
case cmTarget::STATIC_LIBRARY: type = cmInstallType_STATIC_LIBRARY; break;
case cmTarget::SHARED_LIBRARY: type = cmInstallType_SHARED_LIBRARY; break;
case cmTarget::MODULE_LIBRARY: type = cmInstallType_MODULE_LIBRARY; break;
+ case cmTarget::INTERFACE_LIBRARY:
+ // Not reachable. We never create a cmInstallTargetGenerator for
+ // an INTERFACE_LIBRARY.
+ assert(!"INTERFACE_LIBRARY targets have no installable outputs.");
+ break;
case cmTarget::OBJECT_LIBRARY:
case cmTarget::UTILITY:
case cmTarget::GLOBAL_TARGET:
@@ -323,9 +328,10 @@ cmInstallTargetGenerator::GetInstallFilename(const char* config) const
}
//----------------------------------------------------------------------------
-std::string cmInstallTargetGenerator::GetInstallFilename(cmTarget* target,
- const char* config,
- NameType nameType)
+std::string
+cmInstallTargetGenerator::GetInstallFilename(cmTarget const* target,
+ const char* config,
+ NameType nameType)
{
std::string fname;
// Compute the name of the library.
@@ -407,10 +413,10 @@ cmInstallTargetGenerator
std::string tws = tw.str();
if(!tws.empty())
{
- os << indent << "IF(EXISTS \"" << file << "\" AND\n"
+ os << indent << "if(EXISTS \"" << file << "\" AND\n"
<< indent << " NOT IS_SYMLINK \"" << file << "\")\n";
os << tws;
- os << indent << "ENDIF()\n";
+ os << indent << "endif()\n";
}
}
@@ -434,7 +440,7 @@ cmInstallTargetGenerator
if(!tws.empty())
{
Indent indent2 = indent.Next().Next();
- os << indent << "FOREACH(file\n";
+ os << indent << "foreach(file\n";
for(std::vector<std::string>::const_iterator i = files.begin();
i != files.end(); ++i)
{
@@ -442,7 +448,7 @@ cmInstallTargetGenerator
}
os << indent2 << ")\n";
os << tws;
- os << indent << "ENDFOREACH()\n";
+ os << indent << "endforeach()\n";
}
}
}
@@ -510,11 +516,12 @@ cmInstallTargetGenerator
std::map<cmStdString, cmStdString> install_name_remap;
if(cmComputeLinkInformation* cli = this->Target->GetLinkInformation(config))
{
- std::set<cmTarget*> const& sharedLibs = cli->GetSharedLibrariesLinked();
- for(std::set<cmTarget*>::const_iterator j = sharedLibs.begin();
+ std::set<cmTarget const*> const& sharedLibs
+ = cli->GetSharedLibrariesLinked();
+ for(std::set<cmTarget const*>::const_iterator j = sharedLibs.begin();
j != sharedLibs.end(); ++j)
{
- cmTarget* tgt = *j;
+ cmTarget const* tgt = *j;
// The install_name of an imported target does not change.
if(tgt->IsImported())
@@ -577,7 +584,7 @@ cmInstallTargetGenerator
// install_name value and references.
if(!new_id.empty() || !install_name_remap.empty())
{
- os << indent << "EXECUTE_PROCESS(COMMAND \"" << installNameTool;
+ os << indent << "execute_process(COMMAND \"" << installNameTool;
os << "\"";
if(!new_id.empty())
{
@@ -626,7 +633,7 @@ cmInstallTargetGenerator
// Write a rule to remove the installed file if its rpath is not the
// new rpath. This is needed for existing build/install trees when
// the installed rpath changes but the file is not rebuilt.
- os << indent << "FILE(RPATH_CHECK\n"
+ os << indent << "file(RPATH_CHECK\n"
<< indent << " FILE \"" << toDestDirPath << "\"\n"
<< indent << " RPATH \"" << newRpath << "\")\n";
}
@@ -662,22 +669,36 @@ cmInstallTargetGenerator
cli->GetRPath(oldRuntimeDirs, false);
cli->GetRPath(newRuntimeDirs, true);
- // Note: These are separate commands to avoid install_name_tool
- // corruption on 10.6.
+ // Note: These paths are kept unique to avoid install_name_tool corruption.
+ std::set<std::string> runpaths;
for(std::vector<std::string>::const_iterator i = oldRuntimeDirs.begin();
i != oldRuntimeDirs.end(); ++i)
{
- os << indent << "execute_process(COMMAND " << installNameTool << "\n";
- os << indent << " -delete_rpath \"" << *i << "\"\n";
- os << indent << " \"" << toDestDirPath << "\")\n";
+ std::string runpath = this->Target->GetMakefile()->GetLocalGenerator()->
+ GetGlobalGenerator()->ExpandCFGIntDir(*i, config);
+
+ if(runpaths.find(runpath) == runpaths.end())
+ {
+ runpaths.insert(runpath);
+ os << indent << "execute_process(COMMAND " << installNameTool << "\n";
+ os << indent << " -delete_rpath \"" << runpath << "\"\n";
+ os << indent << " \"" << toDestDirPath << "\")\n";
+ }
}
+ runpaths.clear();
for(std::vector<std::string>::const_iterator i = newRuntimeDirs.begin();
i != newRuntimeDirs.end(); ++i)
{
- os << indent << "execute_process(COMMAND " << installNameTool << "\n";
- os << indent << " -add_rpath \"" << *i << "\"\n";
- os << indent << " \"" << toDestDirPath << "\")\n";
+ std::string runpath = this->Target->GetMakefile()->GetLocalGenerator()->
+ GetGlobalGenerator()->ExpandCFGIntDir(*i, config);
+
+ if(runpaths.find(runpath) == runpaths.end())
+ {
+ os << indent << "execute_process(COMMAND " << installNameTool << "\n";
+ os << indent << " -add_rpath \"" << runpath << "\"\n";
+ os << indent << " \"" << toDestDirPath << "\")\n";
+ }
}
}
else
@@ -697,12 +718,12 @@ cmInstallTargetGenerator
// Write a rule to run chrpath to set the install-tree RPATH
if(newRpath.empty())
{
- os << indent << "FILE(RPATH_REMOVE\n"
+ os << indent << "file(RPATH_REMOVE\n"
<< indent << " FILE \"" << toDestDirPath << "\")\n";
}
else
{
- os << indent << "FILE(RPATH_CHANGE\n"
+ os << indent << "file(RPATH_CHANGE\n"
<< indent << " FILE \"" << toDestDirPath << "\"\n"
<< indent << " OLD_RPATH \"" << oldRpath << "\"\n"
<< indent << " NEW_RPATH \"" << newRpath << "\")\n";
@@ -736,11 +757,11 @@ cmInstallTargetGenerator::AddStripRule(std::ostream& os,
return;
}
- os << indent << "IF(CMAKE_INSTALL_DO_STRIP)\n";
- os << indent << " EXECUTE_PROCESS(COMMAND \""
+ os << indent << "if(CMAKE_INSTALL_DO_STRIP)\n";
+ os << indent << " execute_process(COMMAND \""
<< this->Target->GetMakefile()->GetDefinition("CMAKE_STRIP")
<< "\" \"" << toDestDirPath << "\")\n";
- os << indent << "ENDIF(CMAKE_INSTALL_DO_STRIP)\n";
+ os << indent << "endif()\n";
}
//----------------------------------------------------------------------------
@@ -769,6 +790,6 @@ cmInstallTargetGenerator::AddRanlibRule(std::ostream& os,
return;
}
- os << indent << "EXECUTE_PROCESS(COMMAND \""
+ os << indent << "execute_process(COMMAND \""
<< ranlib << "\" \"" << toDestDirPath << "\")\n";
}
diff --git a/Source/cmInstallTargetGenerator.h b/Source/cmInstallTargetGenerator.h
index 8cf72f9..18c3957 100644
--- a/Source/cmInstallTargetGenerator.h
+++ b/Source/cmInstallTargetGenerator.h
@@ -53,7 +53,8 @@ public:
NameReal
};
- static std::string GetInstallFilename(cmTarget*target, const char* config,
+ static std::string GetInstallFilename(cmTarget const* target,
+ const char* config,
NameType nameType = NameNormal);
cmTarget* GetTarget() const { return this->Target; }
diff --git a/Source/cmInstallTargetsCommand.h b/Source/cmInstallTargetsCommand.h
index c47b387..2aa34db 100644
--- a/Source/cmInstallTargetsCommand.h
+++ b/Source/cmInstallTargetsCommand.h
@@ -44,30 +44,6 @@ public:
*/
virtual const char* GetName() const { return "install_targets";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Deprecated. Use the install(TARGETS ) command instead.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- "This command has been superceded by the install command. It "
- "is provided for compatibility with older CMake code.\n"
- " install_targets(<dir> [RUNTIME_DIRECTORY dir] target target)\n"
- "Create rules to install the listed targets into the given directory. "
- "The directory <dir> is relative to the installation prefix, which "
- "is stored in the variable CMAKE_INSTALL_PREFIX. If RUNTIME_DIRECTORY "
- "is specified, then on systems with special runtime files "
- "(Windows DLL), the files will be copied to that directory.";
- }
-
/** This command is kept for compatibility with older CMake versions. */
virtual bool IsDiscouraged() const
{
diff --git a/Source/cmLinkDirectoriesCommand.h b/Source/cmLinkDirectoriesCommand.h
index 9218f44..c6eb40c 100644
--- a/Source/cmLinkDirectoriesCommand.h
+++ b/Source/cmLinkDirectoriesCommand.h
@@ -45,33 +45,6 @@ public:
*/
virtual const char* GetName() const { return "link_directories";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Specify directories in which the linker will look for libraries.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " link_directories(directory1 directory2 ...)\n"
- "Specify the paths in which the linker should search for libraries. "
- "The command will apply only to targets created after it is called. "
- "Relative paths given to this command are interpreted as relative to "
- "the current source directory, see CMP0015. \n"
- "Note that this command is rarely necessary. Library locations "
- "returned by find_package() and find_library() are absolute paths. "
- "Pass these absolute library file paths directly to the "
- "target_link_libraries() command. CMake will ensure the linker finds "
- "them."
- ;
- }
-
cmTypeMacro(cmLinkDirectoriesCommand, cmCommand);
private:
void AddLinkDir(std::string const& dir);
diff --git a/Source/cmLinkLibrariesCommand.h b/Source/cmLinkLibrariesCommand.h
index c450a1c..74de23c 100644
--- a/Source/cmLinkLibrariesCommand.h
+++ b/Source/cmLinkLibrariesCommand.h
@@ -44,31 +44,6 @@ public:
*/
virtual const char* GetName() const { return "link_libraries";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Deprecated. Use the target_link_libraries() command instead.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- "Link libraries to all targets added later.\n"
- " link_libraries(library1 <debug | optimized> library2 ...)\n"
- "Specify a list of libraries to be linked into "
- "any following targets (typically added with the add_executable "
- "or add_library calls). This command is passed "
- "down to all subdirectories. "
- "The debug and optimized strings may be used to indicate that "
- "the next library listed is to be used only for that specific "
- "type of build.";
- }
-
/** This command is kept for compatibility with older CMake versions. */
virtual bool IsDiscouraged() const
{
diff --git a/Source/cmListCommand.h b/Source/cmListCommand.h
index f20aa8a..0cb5da2 100644
--- a/Source/cmListCommand.h
+++ b/Source/cmListCommand.h
@@ -46,66 +46,6 @@ public:
*/
virtual const char* GetName() const { return "list";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "List operations.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " list(LENGTH <list> <output variable>)\n"
- " list(GET <list> <element index> [<element index> ...]\n"
- " <output variable>)\n"
- " list(APPEND <list> <element> [<element> ...])\n"
- " list(FIND <list> <value> <output variable>)\n"
- " list(INSERT <list> <element_index> <element> [<element> ...])\n"
- " list(REMOVE_ITEM <list> <value> [<value> ...])\n"
- " list(REMOVE_AT <list> <index> [<index> ...])\n"
- " list(REMOVE_DUPLICATES <list>)\n"
- " list(REVERSE <list>)\n"
- " list(SORT <list>)\n"
- "LENGTH will return a given list's length.\n"
- "GET will return list of elements specified by indices from the list.\n"
- "APPEND will append elements to the list.\n"
- "FIND will return the index of the element specified in the list or -1 "
- "if it wasn't found.\n"
- "INSERT will insert elements to the list to the specified location.\n"
- "REMOVE_AT and REMOVE_ITEM will remove items from the list. The "
- "difference is that REMOVE_ITEM will remove the given items, while "
- "REMOVE_AT will remove the items at the given indices.\n"
- "REMOVE_DUPLICATES will remove duplicated items in the list.\n"
- "REVERSE reverses the contents of the list in-place.\n"
- "SORT sorts the list in-place alphabetically.\n"
- "The list subcommands APPEND, INSERT, REMOVE_AT, REMOVE_ITEM, "
- "REMOVE_DUPLICATES, REVERSE and SORT may create new values for "
- "the list within the current CMake variable scope. Similar to "
- "the SET command, the LIST command creates new variable values "
- "in the current scope, even if the list itself is actually "
- "defined in a parent scope. To propagate the results of these "
- "operations upwards, use SET with PARENT_SCOPE, SET with CACHE "
- "INTERNAL, or some other means of value propagation.\n"
- "NOTES: A list in cmake is a ; separated group of strings. "
- "To create a list the set command can be used. For example, "
- "set(var a b c d e) creates a list with a;b;c;d;e, and "
- "set(var \"a b c d e\") creates a string or a list with one "
- "item in it.\n"
- "When specifying index values, if <element index> is 0 or"
- " greater, it is indexed from the "
- "beginning of the list, with 0 representing the first list element. "
- "If <element index> is -1 or lesser, it is indexed from the end of "
- "the list, with -1 representing the last list element. Be careful "
- "when counting with negative indices: they do not start from 0. "
- "-0 is equivalent to 0, the first list element.\n"
- ;
- }
-
cmTypeMacro(cmListCommand, cmCommand);
protected:
bool HandleLengthCommand(std::vector<std::string> const& args);
diff --git a/Source/cmListFileCache.cxx b/Source/cmListFileCache.cxx
index 898f379..7461d37 100644
--- a/Source/cmListFileCache.cxx
+++ b/Source/cmListFileCache.cxx
@@ -29,14 +29,14 @@ struct cmListFileParser
~cmListFileParser();
bool ParseFile();
bool ParseFunction(const char* name, long line);
- void AddArgument(cmListFileLexer_Token* token,
+ bool AddArgument(cmListFileLexer_Token* token,
cmListFileArgument::Delimiter delim);
cmListFile* ListFile;
cmMakefile* Makefile;
const char* FileName;
cmListFileLexer* Lexer;
cmListFileFunction Function;
- enum { SeparationOkay, SeparationWarning } Separation;
+ enum { SeparationOkay, SeparationWarning, SeparationError} Separation;
};
//----------------------------------------------------------------------------
@@ -57,13 +57,26 @@ cmListFileParser::~cmListFileParser()
bool cmListFileParser::ParseFile()
{
// Open the file.
- if(!cmListFileLexer_SetFileName(this->Lexer, this->FileName))
+ cmListFileLexer_BOM bom;
+ if(!cmListFileLexer_SetFileName(this->Lexer, this->FileName, &bom))
{
cmSystemTools::Error("cmListFileCache: error can not open file ",
this->FileName);
return false;
}
+ // Verify the Byte-Order-Mark, if any.
+ if(bom != cmListFileLexer_BOM_None &&
+ bom != cmListFileLexer_BOM_UTF8)
+ {
+ cmListFileLexer_SetFileName(this->Lexer, 0, 0);
+ cmOStringStream m;
+ m << "File\n " << this->FileName << "\n"
+ << "starts with a Byte-Order-Mark that is not UTF-8.";
+ this->Makefile->IssueMessage(cmake::FATAL_ERROR, m.str());
+ return false;
+ }
+
// Use a simple recursive-descent parser to process the token
// stream.
bool haveNewline = true;
@@ -77,6 +90,10 @@ bool cmListFileParser::ParseFile()
{
haveNewline = true;
}
+ else if(token->type == cmListFileLexer_Token_CommentBracket)
+ {
+ haveNewline = false;
+ }
else if(token->type == cmListFileLexer_Token_Identifier)
{
if(haveNewline)
@@ -288,7 +305,10 @@ bool cmListFileParser::ParseFunction(const char* name, long line)
{
parenDepth++;
this->Separation = SeparationOkay;
- this->AddArgument(token, cmListFileArgument::Unquoted);
+ if(!this->AddArgument(token, cmListFileArgument::Unquoted))
+ {
+ return false;
+ }
}
else if(token->type == cmListFileLexer_Token_ParenRight)
{
@@ -298,20 +318,41 @@ bool cmListFileParser::ParseFunction(const char* name, long line)
}
parenDepth--;
this->Separation = SeparationOkay;
- this->AddArgument(token, cmListFileArgument::Unquoted);
+ if(!this->AddArgument(token, cmListFileArgument::Unquoted))
+ {
+ return false;
+ }
this->Separation = SeparationWarning;
}
else if(token->type == cmListFileLexer_Token_Identifier ||
token->type == cmListFileLexer_Token_ArgumentUnquoted)
{
- this->AddArgument(token, cmListFileArgument::Unquoted);
+ if(!this->AddArgument(token, cmListFileArgument::Unquoted))
+ {
+ return false;
+ }
this->Separation = SeparationWarning;
}
else if(token->type == cmListFileLexer_Token_ArgumentQuoted)
{
- this->AddArgument(token, cmListFileArgument::Quoted);
+ if(!this->AddArgument(token, cmListFileArgument::Quoted))
+ {
+ return false;
+ }
this->Separation = SeparationWarning;
}
+ else if(token->type == cmListFileLexer_Token_ArgumentBracket)
+ {
+ if(!this->AddArgument(token, cmListFileArgument::Bracket))
+ {
+ return false;
+ }
+ this->Separation = SeparationError;
+ }
+ else if(token->type == cmListFileLexer_Token_CommentBracket)
+ {
+ this->Separation = SeparationError;
+ }
else
{
// Error.
@@ -338,42 +379,32 @@ bool cmListFileParser::ParseFunction(const char* name, long line)
}
//----------------------------------------------------------------------------
-void cmListFileParser::AddArgument(cmListFileLexer_Token* token,
+bool cmListFileParser::AddArgument(cmListFileLexer_Token* token,
cmListFileArgument::Delimiter delim)
{
cmListFileArgument a(token->text, delim, this->FileName, token->line);
this->Function.Arguments.push_back(a);
- if(delim == cmListFileArgument::Unquoted)
- {
- // Warn about a future behavior change.
- const char* c = a.Value.c_str();
- if(*c++ == '[')
- {
- while(*c == '=')
- { ++c; }
- if(*c == '[')
- {
- cmOStringStream m;
- m << "Syntax Warning in cmake code at\n"
- << " " << this->FileName << ":" << token->line << ":"
- << token->column << "\n"
- << "A future version of CMake may treat unquoted argument:\n"
- << " " << a.Value << "\n"
- << "as an opening long bracket. Double-quote the argument.";
- this->Makefile->IssueMessage(cmake::AUTHOR_WARNING, m.str().c_str());
- }
- }
- }
if(this->Separation == SeparationOkay)
{
- return;
+ return true;
}
+ bool isError = (this->Separation == SeparationError ||
+ delim == cmListFileArgument::Bracket);
cmOStringStream m;
- m << "Syntax Warning in cmake code at\n"
+ m << "Syntax " << (isError? "Error":"Warning") << " in cmake code at\n"
<< " " << this->FileName << ":" << token->line << ":"
<< token->column << "\n"
<< "Argument not separated from preceding token by whitespace.";
- this->Makefile->IssueMessage(cmake::AUTHOR_WARNING, m.str().c_str());
+ if(isError)
+ {
+ this->Makefile->IssueMessage(cmake::FATAL_ERROR, m.str().c_str());
+ return false;
+ }
+ else
+ {
+ this->Makefile->IssueMessage(cmake::AUTHOR_WARNING, m.str().c_str());
+ return true;
+ }
}
//----------------------------------------------------------------------------
diff --git a/Source/cmListFileCache.h b/Source/cmListFileCache.h
index 7bb3b34..bede25e 100644
--- a/Source/cmListFileCache.h
+++ b/Source/cmListFileCache.h
@@ -28,7 +28,8 @@ struct cmListFileArgument
enum Delimiter
{
Unquoted,
- Quoted
+ Quoted,
+ Bracket
};
cmListFileArgument(): Value(), Delim(Unquoted), FilePath(0), Line(0) {}
cmListFileArgument(const cmListFileArgument& r):
diff --git a/Source/cmListFileLexer.c b/Source/cmListFileLexer.c
index 2841fe5..bfa388e 100644
--- a/Source/cmListFileLexer.c
+++ b/Source/cmListFileLexer.c
@@ -369,8 +369,8 @@ static void yy_fatal_error (yyconst char msg[] ,yyscan_t yyscanner );
*yy_cp = '\0'; \
yyg->yy_c_buf_p = yy_cp;
-#define YY_NUM_RULES 16
-#define YY_END_OF_BUFFER 17
+#define YY_NUM_RULES 23
+#define YY_END_OF_BUFFER 24
/* This struct is not used in this scanner,
but its presence is necessary. */
struct yy_trans_info
@@ -378,13 +378,16 @@ struct yy_trans_info
flex_int32_t yy_verify;
flex_int32_t yy_nxt;
};
-static yyconst flex_int16_t yy_accept[45] =
+static yyconst flex_int16_t yy_accept[77] =
{ 0,
- 0, 0, 0, 0, 17, 6, 14, 1, 8, 2,
- 6, 3, 4, 6, 15, 9, 11, 12, 13, 6,
- 0, 6, 0, 14, 2, 0, 5, 6, 9, 0,
- 10, 0, 7, 0, 0, 0, 7, 0, 7, 0,
- 0, 0, 0, 0
+ 0, 0, 0, 0, 0, 0, 0, 0, 4, 4,
+ 24, 13, 21, 1, 15, 3, 13, 5, 6, 7,
+ 22, 22, 16, 18, 19, 20, 10, 11, 8, 12,
+ 9, 4, 13, 0, 13, 0, 21, 0, 0, 7,
+ 13, 0, 13, 0, 2, 0, 13, 16, 0, 17,
+ 10, 8, 4, 0, 14, 0, 0, 0, 0, 14,
+ 0, 0, 14, 0, 0, 0, 2, 14, 0, 0,
+ 0, 0, 0, 0, 0, 0
} ;
static yyconst flex_int32_t yy_ec[256] =
@@ -395,14 +398,14 @@ static yyconst flex_int32_t yy_ec[256] =
1, 2, 1, 5, 6, 7, 1, 1, 1, 8,
9, 1, 1, 1, 1, 1, 1, 10, 10, 10,
10, 10, 10, 10, 10, 10, 10, 1, 1, 1,
- 1, 1, 1, 1, 11, 11, 11, 11, 11, 11,
- 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
- 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
- 1, 12, 1, 1, 11, 1, 11, 11, 11, 11,
-
- 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
- 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
- 11, 11, 1, 1, 1, 1, 1, 1, 1, 1,
+ 11, 1, 1, 1, 12, 12, 12, 12, 12, 12,
+ 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
+ 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
+ 13, 14, 15, 1, 12, 1, 12, 12, 12, 12,
+
+ 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
+ 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
+ 12, 12, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
@@ -419,72 +422,111 @@ static yyconst flex_int32_t yy_ec[256] =
1, 1, 1, 1, 1
} ;
-static yyconst flex_int32_t yy_meta[13] =
+static yyconst flex_int32_t yy_meta[16] =
{ 0,
- 1, 2, 3, 2, 4, 1, 1, 1, 5, 5,
- 5, 1
+ 1, 1, 2, 3, 4, 3, 1, 3, 5, 6,
+ 1, 6, 1, 1, 7
} ;
-static yyconst flex_int16_t yy_base[56] =
+static yyconst flex_int16_t yy_base[95] =
{ 0,
- 0, 0, 10, 20, 38, 32, 0, 109, 109, 0,
- 28, 109, 109, 35, 0, 23, 109, 109, 44, 0,
- 49, 26, 0, 0, 0, 22, 0, 0, 18, 24,
- 109, 0, 61, 20, 0, 18, 0, 17, 16, 0,
- 12, 11, 10, 109, 73, 16, 78, 83, 88, 93,
- 12, 98, 11, 103, 9
+ 0, 0, 13, 25, 14, 16, 17, 18, 90, 88,
+ 88, 39, 20, 237, 237, 74, 78, 237, 237, 13,
+ 54, 0, 71, 237, 237, 31, 0, 237, 73, 237,
+ 237, 0, 0, 65, 75, 0, 33, 30, 72, 0,
+ 0, 75, 70, 0, 74, 0, 0, 62, 70, 237,
+ 0, 63, 0, 85, 99, 65, 111, 62, 34, 0,
+ 54, 116, 0, 54, 127, 51, 237, 50, 0, 48,
+ 47, 39, 33, 29, 17, 237, 136, 143, 150, 157,
+ 164, 171, 178, 184, 191, 198, 201, 207, 214, 217,
+ 219, 225, 228, 230
+
} ;
-static yyconst flex_int16_t yy_def[56] =
+static yyconst flex_int16_t yy_def[95] =
{ 0,
- 44, 1, 45, 45, 44, 44, 46, 44, 44, 47,
- 6, 44, 44, 6, 48, 49, 44, 44, 49, 6,
- 44, 6, 50, 46, 47, 51, 14, 6, 49, 49,
- 44, 21, 44, 21, 52, 53, 33, 51, 33, 54,
- 55, 53, 55, 0, 44, 44, 44, 44, 44, 44,
- 44, 44, 44, 44, 44
+ 76, 1, 77, 77, 78, 78, 79, 79, 80, 80,
+ 76, 76, 76, 76, 76, 76, 12, 76, 76, 12,
+ 76, 81, 82, 76, 76, 82, 83, 76, 76, 76,
+ 76, 84, 12, 85, 12, 86, 76, 76, 87, 20,
+ 12, 88, 12, 21, 76, 89, 12, 82, 82, 76,
+ 83, 76, 84, 85, 76, 54, 85, 90, 76, 55,
+ 87, 88, 55, 62, 88, 91, 76, 55, 92, 93,
+ 90, 94, 91, 93, 94, 0, 76, 76, 76, 76,
+ 76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
+ 76, 76, 76, 76
+
} ;
-static yyconst flex_int16_t yy_nxt[122] =
+static yyconst flex_int16_t yy_nxt[253] =
{ 0,
- 6, 7, 8, 7, 9, 10, 11, 12, 13, 6,
- 14, 15, 17, 43, 18, 42, 38, 24, 32, 33,
- 32, 19, 17, 36, 18, 37, 33, 41, 29, 30,
- 37, 19, 20, 36, 30, 26, 21, 44, 22, 44,
- 44, 20, 20, 23, 27, 27, 31, 44, 29, 32,
- 32, 44, 44, 33, 44, 34, 44, 44, 32, 32,
- 35, 33, 44, 44, 44, 21, 44, 39, 44, 44,
- 33, 33, 40, 16, 16, 16, 16, 16, 25, 25,
- 44, 25, 25, 28, 28, 44, 28, 28, 29, 29,
- 44, 44, 29, 20, 20, 44, 20, 20, 32, 32,
-
- 44, 32, 32, 33, 33, 44, 33, 33, 5, 44,
- 44, 44, 44, 44, 44, 44, 44, 44, 44, 44,
- 44
+ 12, 13, 14, 13, 15, 16, 17, 18, 19, 12,
+ 12, 20, 21, 22, 12, 24, 28, 25, 28, 28,
+ 28, 37, 40, 37, 40, 62, 26, 24, 29, 25,
+ 29, 31, 31, 50, 37, 48, 37, 54, 26, 33,
+ 59, 63, 45, 34, 59, 35, 45, 62, 33, 33,
+ 33, 33, 36, 33, 41, 55, 54, 58, 42, 63,
+ 43, 72, 60, 41, 44, 41, 45, 46, 41, 55,
+ 55, 56, 70, 52, 48, 49, 67, 66, 57, 63,
+ 60, 64, 58, 52, 49, 39, 38, 76, 65, 55,
+ 14, 56, 14, 76, 76, 76, 76, 76, 57, 55,
+
+ 76, 76, 76, 34, 76, 68, 76, 76, 55, 55,
+ 55, 55, 69, 55, 54, 76, 54, 76, 54, 54,
+ 63, 76, 64, 76, 76, 76, 76, 76, 76, 65,
+ 62, 76, 62, 76, 62, 62, 23, 23, 23, 23,
+ 23, 23, 23, 27, 27, 27, 27, 27, 27, 27,
+ 30, 30, 30, 30, 30, 30, 30, 32, 32, 32,
+ 32, 32, 32, 32, 47, 76, 47, 47, 47, 47,
+ 47, 48, 76, 48, 76, 48, 48, 48, 51, 76,
+ 51, 51, 51, 51, 53, 76, 53, 53, 53, 53,
+ 53, 54, 76, 76, 54, 76, 54, 54, 33, 76,
+
+ 33, 33, 33, 33, 33, 61, 61, 62, 76, 76,
+ 62, 76, 62, 62, 41, 76, 41, 41, 41, 41,
+ 41, 71, 71, 73, 73, 55, 76, 55, 55, 55,
+ 55, 55, 74, 74, 75, 75, 11, 76, 76, 76,
+ 76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
+ 76, 76
} ;
-static yyconst flex_int16_t yy_chk[122] =
+static yyconst flex_int16_t yy_chk[253] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 3, 55, 3, 53, 51, 46, 43, 42,
- 41, 3, 4, 39, 4, 38, 36, 34, 30, 29,
- 26, 4, 6, 22, 16, 11, 6, 5, 6, 0,
- 0, 6, 6, 6, 14, 14, 19, 0, 19, 21,
- 21, 0, 0, 21, 0, 21, 0, 0, 21, 21,
- 21, 33, 0, 0, 0, 33, 0, 33, 0, 0,
- 33, 33, 33, 45, 45, 45, 45, 45, 47, 47,
- 0, 47, 47, 48, 48, 0, 48, 48, 49, 49,
- 0, 0, 49, 50, 50, 0, 50, 50, 52, 52,
-
- 0, 52, 52, 54, 54, 0, 54, 54, 44, 44,
- 44, 44, 44, 44, 44, 44, 44, 44, 44, 44,
- 44
+ 1, 1, 1, 1, 1, 3, 5, 3, 6, 7,
+ 8, 13, 20, 13, 20, 75, 3, 4, 5, 4,
+ 6, 7, 8, 26, 37, 26, 37, 74, 4, 12,
+ 38, 73, 38, 12, 59, 12, 59, 72, 12, 12,
+ 12, 12, 12, 12, 21, 71, 70, 68, 21, 66,
+ 21, 64, 61, 21, 21, 21, 21, 21, 21, 34,
+ 58, 34, 56, 52, 49, 48, 45, 43, 34, 42,
+ 39, 42, 35, 29, 23, 17, 16, 11, 42, 54,
+ 10, 54, 9, 0, 0, 0, 0, 0, 54, 55,
+
+ 0, 0, 0, 55, 0, 55, 0, 0, 55, 55,
+ 55, 55, 55, 55, 57, 0, 57, 0, 57, 57,
+ 62, 0, 62, 0, 0, 0, 0, 0, 0, 62,
+ 65, 0, 65, 0, 65, 65, 77, 77, 77, 77,
+ 77, 77, 77, 78, 78, 78, 78, 78, 78, 78,
+ 79, 79, 79, 79, 79, 79, 79, 80, 80, 80,
+ 80, 80, 80, 80, 81, 0, 81, 81, 81, 81,
+ 81, 82, 0, 82, 0, 82, 82, 82, 83, 0,
+ 83, 83, 83, 83, 84, 0, 84, 84, 84, 84,
+ 84, 85, 0, 0, 85, 0, 85, 85, 86, 0,
+
+ 86, 86, 86, 86, 86, 87, 87, 88, 0, 0,
+ 88, 0, 88, 88, 89, 0, 89, 89, 89, 89,
+ 89, 90, 90, 91, 91, 92, 0, 92, 92, 92,
+ 92, 92, 93, 93, 94, 94, 76, 76, 76, 76,
+ 76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
+ 76, 76
} ;
/* Table of booleans, true if rule could match eol. */
-static yyconst flex_int32_t yy_rule_can_match_eol[17] =
+static yyconst flex_int32_t yy_rule_can_match_eol[24] =
{ 0,
-1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, };
+1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0,
+ 0, 0, 0, 0, };
/* The intent behind this definition is that it'll catch
* any uses of REJECT which flex missed.
@@ -527,6 +569,9 @@ Modify cmListFileLexer.c:
*/
#include "cmStandardLexer.h"
+#ifdef WIN32
+#include <cmsys/Encoding.h>
+#endif
/* Setup the proper cmListFileLexer_yylex declaration. */
#define YY_EXTRA_TYPE cmListFileLexer*
@@ -538,10 +583,13 @@ Modify cmListFileLexer.c:
struct cmListFileLexer_s
{
cmListFileLexer_Token token;
+ int bracket;
+ int comment;
int line;
int column;
int size;
FILE* file;
+ size_t cr;
char* string_buffer;
char* string_position;
int string_left;
@@ -564,10 +612,16 @@ static void cmListFileLexerDestroy(cmListFileLexer* lexer);
/*--------------------------------------------------------------------------*/
-#line 570 "cmListFileLexer.c"
+
+
+
+#line 621 "cmListFileLexer.c"
#define INITIAL 0
#define STRING 1
+#define BRACKET 2
+#define BRACKETEND 3
+#define COMMENT 4
#ifndef YY_NO_UNISTD_H
/* Special case for "unistd.h", since it is non-ANSI. We include it way
@@ -793,10 +847,10 @@ YY_DECL
int yy_act;
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
-#line 82 "cmListFileLexer.in.l"
+#line 91 "cmListFileLexer.in.l"
-#line 804 "cmListFileLexer.c"
+#line 858 "cmListFileLexer.c"
if ( !yyg->yy_init )
{
@@ -849,13 +903,13 @@ yy_match:
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 45 )
+ if ( yy_current_state >= 77 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
++yy_cp;
}
- while ( yy_base[yy_current_state] != 109 );
+ while ( yy_base[yy_current_state] != 237 );
yy_find_action:
yy_act = yy_accept[yy_current_state];
@@ -894,69 +948,168 @@ do_action: /* This label is used only to access EOF actions. */
case 1:
/* rule 1 can match eol */
YY_RULE_SETUP
-#line 84 "cmListFileLexer.in.l"
+#line 93 "cmListFileLexer.in.l"
{
lexer->token.type = cmListFileLexer_Token_Newline;
cmListFileLexerSetToken(lexer, yytext, yyleng);
++lexer->line;
lexer->column = 1;
+ BEGIN(INITIAL);
return 1;
}
case 2:
+/* rule 2 can match eol */
YY_RULE_SETUP
-#line 92 "cmListFileLexer.in.l"
+#line 102 "cmListFileLexer.in.l"
{
- lexer->column += yyleng;
+ const char* bracket = yytext;
+ lexer->comment = yytext[0] == '#';
+ if(lexer->comment)
+ {
+ lexer->token.type = cmListFileLexer_Token_CommentBracket;
+ bracket += 1;
+ }
+ else
+ {
+ lexer->token.type = cmListFileLexer_Token_ArgumentBracket;
+ }
+ cmListFileLexerSetToken(lexer, "", 0);
+ lexer->bracket = (int)(strchr(bracket+1, '[') - bracket);
+ if(yytext[yyleng-1] == '\n')
+ {
+ ++lexer->line;
+ lexer->column = 1;
+ }
+ else
+ {
+ lexer->column += yyleng;
+ }
+ BEGIN(BRACKET);
}
YY_BREAK
case 3:
YY_RULE_SETUP
-#line 96 "cmListFileLexer.in.l"
+#line 128 "cmListFileLexer.in.l"
+{
+ lexer->column += yyleng;
+ BEGIN(COMMENT);
+}
+ YY_BREAK
+case 4:
+YY_RULE_SETUP
+#line 133 "cmListFileLexer.in.l"
+{
+ lexer->column += yyleng;
+}
+ YY_BREAK
+case 5:
+YY_RULE_SETUP
+#line 137 "cmListFileLexer.in.l"
{
lexer->token.type = cmListFileLexer_Token_ParenLeft;
cmListFileLexerSetToken(lexer, yytext, yyleng);
lexer->column += yyleng;
return 1;
}
-case 4:
+case 6:
YY_RULE_SETUP
-#line 103 "cmListFileLexer.in.l"
+#line 144 "cmListFileLexer.in.l"
{
lexer->token.type = cmListFileLexer_Token_ParenRight;
cmListFileLexerSetToken(lexer, yytext, yyleng);
lexer->column += yyleng;
return 1;
}
-case 5:
+case 7:
YY_RULE_SETUP
-#line 110 "cmListFileLexer.in.l"
+#line 151 "cmListFileLexer.in.l"
{
lexer->token.type = cmListFileLexer_Token_Identifier;
cmListFileLexerSetToken(lexer, yytext, yyleng);
lexer->column += yyleng;
return 1;
}
-case 6:
+case 8:
+YY_RULE_SETUP
+#line 158 "cmListFileLexer.in.l"
+{
+ /* Handle ]]====]=======]*/
+ cmListFileLexerAppend(lexer, yytext, yyleng);
+ lexer->column += yyleng;
+ if(yyleng == lexer->bracket)
+ {
+ BEGIN(BRACKETEND);
+ }
+}
+ YY_BREAK
+case 9:
+YY_RULE_SETUP
+#line 168 "cmListFileLexer.in.l"
+{
+ lexer->column += yyleng;
+ /* Erase the partial bracket from the token. */
+ lexer->token.length -= lexer->bracket;
+ lexer->token.text[lexer->token.length] = 0;
+ BEGIN(INITIAL);
+ return 1;
+}
+case 10:
+YY_RULE_SETUP
+#line 177 "cmListFileLexer.in.l"
+{
+ cmListFileLexerAppend(lexer, yytext, yyleng);
+ lexer->column += yyleng;
+}
+ YY_BREAK
+case 11:
+/* rule 11 can match eol */
+YY_RULE_SETUP
+#line 182 "cmListFileLexer.in.l"
+{
+ cmListFileLexerAppend(lexer, yytext, yyleng);
+ ++lexer->line;
+ lexer->column = 1;
+ BEGIN(BRACKET);
+}
+ YY_BREAK
+case 12:
+YY_RULE_SETUP
+#line 189 "cmListFileLexer.in.l"
+{
+ cmListFileLexerAppend(lexer, yytext, yyleng);
+ lexer->column += yyleng;
+ BEGIN(BRACKET);
+}
+ YY_BREAK
+case YY_STATE_EOF(BRACKET):
+case YY_STATE_EOF(BRACKETEND):
+#line 195 "cmListFileLexer.in.l"
+{
+ lexer->token.type = cmListFileLexer_Token_BadBracket;
+ BEGIN(INITIAL);
+ return 1;
+}
+case 13:
YY_RULE_SETUP
-#line 117 "cmListFileLexer.in.l"
+#line 201 "cmListFileLexer.in.l"
{
lexer->token.type = cmListFileLexer_Token_ArgumentUnquoted;
cmListFileLexerSetToken(lexer, yytext, yyleng);
lexer->column += yyleng;
return 1;
}
-case 7:
+case 14:
YY_RULE_SETUP
-#line 124 "cmListFileLexer.in.l"
+#line 208 "cmListFileLexer.in.l"
{
lexer->token.type = cmListFileLexer_Token_ArgumentUnquoted;
cmListFileLexerSetToken(lexer, yytext, yyleng);
lexer->column += yyleng;
return 1;
}
-case 8:
+case 15:
YY_RULE_SETUP
-#line 131 "cmListFileLexer.in.l"
+#line 215 "cmListFileLexer.in.l"
{
lexer->token.type = cmListFileLexer_Token_ArgumentQuoted;
cmListFileLexerSetToken(lexer, "", 0);
@@ -964,69 +1117,69 @@ YY_RULE_SETUP
BEGIN(STRING);
}
YY_BREAK
-case 9:
+case 16:
YY_RULE_SETUP
-#line 138 "cmListFileLexer.in.l"
+#line 222 "cmListFileLexer.in.l"
{
cmListFileLexerAppend(lexer, yytext, yyleng);
lexer->column += yyleng;
}
YY_BREAK
-case 10:
-/* rule 10 can match eol */
+case 17:
+/* rule 17 can match eol */
YY_RULE_SETUP
-#line 143 "cmListFileLexer.in.l"
+#line 227 "cmListFileLexer.in.l"
{
- cmListFileLexerAppend(lexer, yytext, yyleng);
+ /* Continuation: text is not part of string */
++lexer->line;
lexer->column = 1;
}
YY_BREAK
-case 11:
-/* rule 11 can match eol */
+case 18:
+/* rule 18 can match eol */
YY_RULE_SETUP
-#line 149 "cmListFileLexer.in.l"
+#line 233 "cmListFileLexer.in.l"
{
cmListFileLexerAppend(lexer, yytext, yyleng);
++lexer->line;
lexer->column = 1;
}
YY_BREAK
-case 12:
+case 19:
YY_RULE_SETUP
-#line 155 "cmListFileLexer.in.l"
+#line 239 "cmListFileLexer.in.l"
{
lexer->column += yyleng;
BEGIN(INITIAL);
return 1;
}
-case 13:
+case 20:
YY_RULE_SETUP
-#line 161 "cmListFileLexer.in.l"
+#line 245 "cmListFileLexer.in.l"
{
cmListFileLexerAppend(lexer, yytext, yyleng);
lexer->column += yyleng;
}
YY_BREAK
case YY_STATE_EOF(STRING):
-#line 166 "cmListFileLexer.in.l"
+#line 250 "cmListFileLexer.in.l"
{
lexer->token.type = cmListFileLexer_Token_BadString;
BEGIN(INITIAL);
return 1;
}
-case 14:
+case 21:
YY_RULE_SETUP
-#line 172 "cmListFileLexer.in.l"
+#line 256 "cmListFileLexer.in.l"
{
lexer->token.type = cmListFileLexer_Token_Space;
cmListFileLexerSetToken(lexer, yytext, yyleng);
lexer->column += yyleng;
return 1;
}
-case 15:
+case 22:
YY_RULE_SETUP
-#line 179 "cmListFileLexer.in.l"
+#line 263 "cmListFileLexer.in.l"
{
lexer->token.type = cmListFileLexer_Token_BadCharacter;
cmListFileLexerSetToken(lexer, yytext, yyleng);
@@ -1034,18 +1187,19 @@ YY_RULE_SETUP
return 1;
}
case YY_STATE_EOF(INITIAL):
-#line 186 "cmListFileLexer.in.l"
+case YY_STATE_EOF(COMMENT):
+#line 270 "cmListFileLexer.in.l"
{
lexer->token.type = cmListFileLexer_Token_None;
cmListFileLexerSetToken(lexer, 0, 0);
return 0;
}
-case 16:
+case 23:
YY_RULE_SETUP
-#line 192 "cmListFileLexer.in.l"
+#line 276 "cmListFileLexer.in.l"
ECHO;
YY_BREAK
-#line 1064 "cmListFileLexer.c"
+#line 1220 "cmListFileLexer.c"
case YY_END_OF_BUFFER:
{
@@ -1337,7 +1491,7 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 45 )
+ if ( yy_current_state >= 77 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
@@ -1366,11 +1520,11 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 45 )
+ if ( yy_current_state >= 77 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
- yy_is_jam = (yy_current_state == 44);
+ yy_is_jam = (yy_current_state == 76);
return yy_is_jam ? 0 : yy_current_state;
}
@@ -2166,7 +2320,7 @@ void cmListFileLexer_yyfree (void * ptr , yyscan_t yyscanner)
#define YYTABLES_NAME "yytables"
-#line 192 "cmListFileLexer.in.l"
+#line 276 "cmListFileLexer.in.l"
@@ -2243,7 +2397,38 @@ static int cmListFileLexerInput(cmListFileLexer* lexer, char* buffer,
{
if(lexer->file)
{
- return (int)fread(buffer, 1, bufferSize, lexer->file);
+ /* Convert CRLF -> LF explicitly. The C FILE "t"ext mode
+ does not convert newlines on all platforms. Move any
+ trailing CR to the start of the buffer for the next read. */
+ size_t cr = lexer->cr;
+ size_t n;
+ buffer[0] = '\r';
+ n = fread(buffer+cr, 1, bufferSize-cr, lexer->file);
+ if(n)
+ {
+ char* o = buffer;
+ const char* i = buffer;
+ const char* e;
+ n += cr;
+ cr = (buffer[n-1] == '\r')? 1:0;
+ e = buffer + n - cr;
+ while(i != e)
+ {
+ if(i[0] == '\r' && i[1] == '\n')
+ {
+ ++i;
+ }
+ *o++ = *i++;
+ }
+ n = o - buffer;
+ }
+ else
+ {
+ n = cr;
+ cr = 0;
+ }
+ lexer->cr = cr;
+ return n;
}
else if(lexer->string_left)
{
@@ -2271,6 +2456,7 @@ static void cmListFileLexerInit(cmListFileLexer* lexer)
/*--------------------------------------------------------------------------*/
static void cmListFileLexerDestroy(cmListFileLexer* lexer)
{
+ cmListFileLexerSetToken(lexer, 0, 0);
if(lexer->file || lexer->string_buffer)
{
cmListFileLexer_yylex_destroy(lexer->scanner);
@@ -2306,19 +2492,74 @@ cmListFileLexer* cmListFileLexer_New()
/*--------------------------------------------------------------------------*/
void cmListFileLexer_Delete(cmListFileLexer* lexer)
{
- cmListFileLexer_SetFileName(lexer, 0);
+ cmListFileLexer_SetFileName(lexer, 0, 0);
free(lexer);
}
/*--------------------------------------------------------------------------*/
-int cmListFileLexer_SetFileName(cmListFileLexer* lexer, const char* name)
+static cmListFileLexer_BOM cmListFileLexer_ReadBOM(FILE* f)
+{
+ unsigned char b[2];
+ if(fread(b, 1, 2, f) == 2)
+ {
+ if(b[0] == 0xEF && b[1] == 0xBB)
+ {
+ if(fread(b, 1, 1, f) == 1 && b[0] == 0xBF)
+ {
+ return cmListFileLexer_BOM_UTF8;
+ }
+ }
+ else if(b[0] == 0xFE && b[1] == 0xFF)
+ {
+ /* UTF-16 BE */
+ return cmListFileLexer_BOM_UTF16BE;
+ }
+ else if(b[0] == 0 && b[1] == 0)
+ {
+ if(fread(b, 1, 2, f) == 2 && b[0] == 0xFE && b[1] == 0xFF)
+ {
+ return cmListFileLexer_BOM_UTF32BE;
+ }
+ }
+ else if(b[0] == 0xFF && b[1] == 0xFE)
+ {
+ fpos_t p;
+ fgetpos(f, &p);
+ if(fread(b, 1, 2, f) == 2 && b[0] == 0 && b[1] == 0)
+ {
+ return cmListFileLexer_BOM_UTF32LE;
+ }
+ fsetpos(f, &p);
+ return cmListFileLexer_BOM_UTF16LE;
+ }
+ }
+ rewind(f);
+ return cmListFileLexer_BOM_None;
+}
+
+/*--------------------------------------------------------------------------*/
+int cmListFileLexer_SetFileName(cmListFileLexer* lexer, const char* name,
+ cmListFileLexer_BOM* bom)
{
int result = 1;
cmListFileLexerDestroy(lexer);
if(name)
{
- lexer->file = fopen(name, "r");
- if(!lexer->file)
+#ifdef _WIN32
+ wchar_t* wname = cmsysEncoding_DupToWide(name);
+ lexer->file = _wfopen(wname, L"rb");
+ free(wname);
+#else
+ lexer->file = fopen(name, "rb");
+#endif
+ if(lexer->file)
+ {
+ if(bom)
+ {
+ *bom = cmListFileLexer_ReadBOM(lexer->file);
+ }
+ }
+ else
{
result = 0;
}
@@ -2364,7 +2605,7 @@ cmListFileLexer_Token* cmListFileLexer_Scan(cmListFileLexer* lexer)
}
else
{
- cmListFileLexer_SetFileName(lexer, 0);
+ cmListFileLexer_SetFileName(lexer, 0, 0);
return 0;
}
}
@@ -2410,7 +2651,10 @@ const char* cmListFileLexer_GetTypeAsString(cmListFileLexer* lexer,
case cmListFileLexer_Token_ParenRight: return "right paren";
case cmListFileLexer_Token_ArgumentUnquoted: return "unquoted argument";
case cmListFileLexer_Token_ArgumentQuoted: return "quoted argument";
+ case cmListFileLexer_Token_ArgumentBracket: return "bracket argument";
+ case cmListFileLexer_Token_CommentBracket: return "bracket comment";
case cmListFileLexer_Token_BadCharacter: return "bad character";
+ case cmListFileLexer_Token_BadBracket: return "unterminated bracket";
case cmListFileLexer_Token_BadString: return "unterminated string";
}
return "unknown token";
diff --git a/Source/cmListFileLexer.h b/Source/cmListFileLexer.h
index cc78b5c..bd2868a 100644
--- a/Source/cmListFileLexer.h
+++ b/Source/cmListFileLexer.h
@@ -22,7 +22,10 @@ typedef enum cmListFileLexer_Type_e
cmListFileLexer_Token_ParenRight,
cmListFileLexer_Token_ArgumentUnquoted,
cmListFileLexer_Token_ArgumentQuoted,
+ cmListFileLexer_Token_ArgumentBracket,
+ cmListFileLexer_Token_CommentBracket,
cmListFileLexer_Token_BadCharacter,
+ cmListFileLexer_Token_BadBracket,
cmListFileLexer_Token_BadString
} cmListFileLexer_Type;
@@ -36,6 +39,17 @@ struct cmListFileLexer_Token_s
int column;
};
+enum cmListFileLexer_BOM_e
+{
+ cmListFileLexer_BOM_None,
+ cmListFileLexer_BOM_UTF8,
+ cmListFileLexer_BOM_UTF16BE,
+ cmListFileLexer_BOM_UTF16LE,
+ cmListFileLexer_BOM_UTF32BE,
+ cmListFileLexer_BOM_UTF32LE
+};
+typedef enum cmListFileLexer_BOM_e cmListFileLexer_BOM;
+
typedef struct cmListFileLexer_s cmListFileLexer;
#ifdef __cplusplus
@@ -44,7 +58,8 @@ extern "C"
#endif
cmListFileLexer* cmListFileLexer_New();
-int cmListFileLexer_SetFileName(cmListFileLexer*, const char*);
+int cmListFileLexer_SetFileName(cmListFileLexer*, const char*,
+ cmListFileLexer_BOM* bom);
int cmListFileLexer_SetString(cmListFileLexer*, const char*);
cmListFileLexer_Token* cmListFileLexer_Scan(cmListFileLexer*);
long cmListFileLexer_GetCurrentLine(cmListFileLexer*);
diff --git a/Source/cmListFileLexer.in.l b/Source/cmListFileLexer.in.l
index 12b53ee..ed4bf6b 100644
--- a/Source/cmListFileLexer.in.l
+++ b/Source/cmListFileLexer.in.l
@@ -31,6 +31,9 @@ Modify cmListFileLexer.c:
*/
#include "cmStandardLexer.h"
+#ifdef WIN32
+#include <cmsys/Encoding.h>
+#endif
/* Setup the proper cmListFileLexer_yylex declaration. */
#define YY_EXTRA_TYPE cmListFileLexer*
@@ -42,10 +45,13 @@ Modify cmListFileLexer.c:
struct cmListFileLexer_s
{
cmListFileLexer_Token token;
+ int bracket;
+ int comment;
int line;
int column;
int size;
FILE* file;
+ size_t cr;
char* string_buffer;
char* string_position;
int string_left;
@@ -74,22 +80,57 @@ static void cmListFileLexerDestroy(cmListFileLexer* lexer);
%option noyywrap
%pointer
%x STRING
+%x BRACKET
+%x BRACKETEND
+%x COMMENT
MAKEVAR \$\([A-Za-z0-9_]*\)
-UNQUOTED ([^ \t\r\n\(\)#\\\"]|\\.)
-LEGACY {MAKEVAR}|{UNQUOTED}|\"({MAKEVAR}|{UNQUOTED}|[ \t])*\"
+UNQUOTED ([^ \t\r\n\(\)#\\\"[=]|\\.)
+LEGACY {MAKEVAR}|{UNQUOTED}|\"({MAKEVAR}|{UNQUOTED}|[ \t[=])*\"
%%
-\n {
+<INITIAL,COMMENT>\n {
lexer->token.type = cmListFileLexer_Token_Newline;
cmListFileLexerSetToken(lexer, yytext, yyleng);
++lexer->line;
lexer->column = 1;
+ BEGIN(INITIAL);
return 1;
}
-#.* {
+#?\[=*\[\n? {
+ const char* bracket = yytext;
+ lexer->comment = yytext[0] == '#';
+ if(lexer->comment)
+ {
+ lexer->token.type = cmListFileLexer_Token_CommentBracket;
+ bracket += 1;
+ }
+ else
+ {
+ lexer->token.type = cmListFileLexer_Token_ArgumentBracket;
+ }
+ cmListFileLexerSetToken(lexer, "", 0);
+ lexer->bracket = (int)(strchr(bracket+1, '[') - bracket);
+ if(yytext[yyleng-1] == '\n')
+ {
+ ++lexer->line;
+ lexer->column = 1;
+ }
+ else
+ {
+ lexer->column += yyleng;
+ }
+ BEGIN(BRACKET);
+}
+
+# {
+ lexer->column += yyleng;
+ BEGIN(COMMENT);
+}
+
+<COMMENT>.* {
lexer->column += yyleng;
}
@@ -107,21 +148,64 @@ LEGACY {MAKEVAR}|{UNQUOTED}|\"({MAKEVAR}|{UNQUOTED}|[ \t])*\"
return 1;
}
-[A-Za-z_][A-Za-z0-9_]+ {
+[A-Za-z_][A-Za-z0-9_]* {
lexer->token.type = cmListFileLexer_Token_Identifier;
cmListFileLexerSetToken(lexer, yytext, yyleng);
lexer->column += yyleng;
return 1;
}
-({UNQUOTED})({UNQUOTED})* {
+<BRACKET>\]=* {
+ /* Handle ]]====]=======]*/
+ cmListFileLexerAppend(lexer, yytext, yyleng);
+ lexer->column += yyleng;
+ if(yyleng == lexer->bracket)
+ {
+ BEGIN(BRACKETEND);
+ }
+}
+
+<BRACKETEND>\] {
+ lexer->column += yyleng;
+ /* Erase the partial bracket from the token. */
+ lexer->token.length -= lexer->bracket;
+ lexer->token.text[lexer->token.length] = 0;
+ BEGIN(INITIAL);
+ return 1;
+}
+
+<BRACKET>([^]\n])+ {
+ cmListFileLexerAppend(lexer, yytext, yyleng);
+ lexer->column += yyleng;
+}
+
+<BRACKET,BRACKETEND>\n {
+ cmListFileLexerAppend(lexer, yytext, yyleng);
+ ++lexer->line;
+ lexer->column = 1;
+ BEGIN(BRACKET);
+}
+
+<BRACKET,BRACKETEND>. {
+ cmListFileLexerAppend(lexer, yytext, yyleng);
+ lexer->column += yyleng;
+ BEGIN(BRACKET);
+}
+
+<BRACKET,BRACKETEND><<EOF>> {
+ lexer->token.type = cmListFileLexer_Token_BadBracket;
+ BEGIN(INITIAL);
+ return 1;
+}
+
+({UNQUOTED}|=|\[=*{UNQUOTED})({UNQUOTED}|[[=])* {
lexer->token.type = cmListFileLexer_Token_ArgumentUnquoted;
cmListFileLexerSetToken(lexer, yytext, yyleng);
lexer->column += yyleng;
return 1;
}
-({MAKEVAR}|{UNQUOTED})({LEGACY})* {
+({MAKEVAR}|{UNQUOTED}|=|\[=*{LEGACY})({LEGACY}|[[=])* {
lexer->token.type = cmListFileLexer_Token_ArgumentUnquoted;
cmListFileLexerSetToken(lexer, yytext, yyleng);
lexer->column += yyleng;
@@ -141,7 +225,7 @@ LEGACY {MAKEVAR}|{UNQUOTED}|\"({MAKEVAR}|{UNQUOTED}|[ \t])*\"
}
<STRING>\\\n {
- cmListFileLexerAppend(lexer, yytext, yyleng);
+ /* Continuation: text is not part of string */
++lexer->line;
lexer->column = 1;
}
@@ -264,7 +348,38 @@ static int cmListFileLexerInput(cmListFileLexer* lexer, char* buffer,
{
if(lexer->file)
{
- return (int)fread(buffer, 1, bufferSize, lexer->file);
+ /* Convert CRLF -> LF explicitly. The C FILE "t"ext mode
+ does not convert newlines on all platforms. Move any
+ trailing CR to the start of the buffer for the next read. */
+ size_t cr = lexer->cr;
+ size_t n;
+ buffer[0] = '\r';
+ n = fread(buffer+cr, 1, bufferSize-cr, lexer->file);
+ if(n)
+ {
+ char* o = buffer;
+ const char* i = buffer;
+ const char* e;
+ n += cr;
+ cr = (buffer[n-1] == '\r')? 1:0;
+ e = buffer + n - cr;
+ while(i != e)
+ {
+ if(i[0] == '\r' && i[1] == '\n')
+ {
+ ++i;
+ }
+ *o++ = *i++;
+ }
+ n = o - buffer;
+ }
+ else
+ {
+ n = cr;
+ cr = 0;
+ }
+ lexer->cr = cr;
+ return n;
}
else if(lexer->string_left)
{
@@ -292,6 +407,7 @@ static void cmListFileLexerInit(cmListFileLexer* lexer)
/*--------------------------------------------------------------------------*/
static void cmListFileLexerDestroy(cmListFileLexer* lexer)
{
+ cmListFileLexerSetToken(lexer, 0, 0);
if(lexer->file || lexer->string_buffer)
{
cmListFileLexer_yylex_destroy(lexer->scanner);
@@ -327,19 +443,74 @@ cmListFileLexer* cmListFileLexer_New()
/*--------------------------------------------------------------------------*/
void cmListFileLexer_Delete(cmListFileLexer* lexer)
{
- cmListFileLexer_SetFileName(lexer, 0);
+ cmListFileLexer_SetFileName(lexer, 0, 0);
free(lexer);
}
/*--------------------------------------------------------------------------*/
-int cmListFileLexer_SetFileName(cmListFileLexer* lexer, const char* name)
+static cmListFileLexer_BOM cmListFileLexer_ReadBOM(FILE* f)
+{
+ unsigned char b[2];
+ if(fread(b, 1, 2, f) == 2)
+ {
+ if(b[0] == 0xEF && b[1] == 0xBB)
+ {
+ if(fread(b, 1, 1, f) == 1 && b[0] == 0xBF)
+ {
+ return cmListFileLexer_BOM_UTF8;
+ }
+ }
+ else if(b[0] == 0xFE && b[1] == 0xFF)
+ {
+ /* UTF-16 BE */
+ return cmListFileLexer_BOM_UTF16BE;
+ }
+ else if(b[0] == 0 && b[1] == 0)
+ {
+ if(fread(b, 1, 2, f) == 2 && b[0] == 0xFE && b[1] == 0xFF)
+ {
+ return cmListFileLexer_BOM_UTF32BE;
+ }
+ }
+ else if(b[0] == 0xFF && b[1] == 0xFE)
+ {
+ fpos_t p;
+ fgetpos(f, &p);
+ if(fread(b, 1, 2, f) == 2 && b[0] == 0 && b[1] == 0)
+ {
+ return cmListFileLexer_BOM_UTF32LE;
+ }
+ fsetpos(f, &p);
+ return cmListFileLexer_BOM_UTF16LE;
+ }
+ }
+ rewind(f);
+ return cmListFileLexer_BOM_None;
+}
+
+/*--------------------------------------------------------------------------*/
+int cmListFileLexer_SetFileName(cmListFileLexer* lexer, const char* name,
+ cmListFileLexer_BOM* bom)
{
int result = 1;
cmListFileLexerDestroy(lexer);
if(name)
{
- lexer->file = fopen(name, "r");
- if(!lexer->file)
+#ifdef _WIN32
+ wchar_t* wname = cmsysEncoding_DupToWide(name);
+ lexer->file = _wfopen(wname, L"rb");
+ free(wname);
+#else
+ lexer->file = fopen(name, "rb");
+#endif
+ if(lexer->file)
+ {
+ if(bom)
+ {
+ *bom = cmListFileLexer_ReadBOM(lexer->file);
+ }
+ }
+ else
{
result = 0;
}
@@ -385,7 +556,7 @@ cmListFileLexer_Token* cmListFileLexer_Scan(cmListFileLexer* lexer)
}
else
{
- cmListFileLexer_SetFileName(lexer, 0);
+ cmListFileLexer_SetFileName(lexer, 0, 0);
return 0;
}
}
@@ -431,7 +602,10 @@ const char* cmListFileLexer_GetTypeAsString(cmListFileLexer* lexer,
case cmListFileLexer_Token_ParenRight: return "right paren";
case cmListFileLexer_Token_ArgumentUnquoted: return "unquoted argument";
case cmListFileLexer_Token_ArgumentQuoted: return "quoted argument";
+ case cmListFileLexer_Token_ArgumentBracket: return "bracket argument";
+ case cmListFileLexer_Token_CommentBracket: return "bracket comment";
case cmListFileLexer_Token_BadCharacter: return "bad character";
+ case cmListFileLexer_Token_BadBracket: return "unterminated bracket";
case cmListFileLexer_Token_BadString: return "unterminated string";
}
return "unknown token";
diff --git a/Source/cmLoadCacheCommand.cxx b/Source/cmLoadCacheCommand.cxx
index 462e086..dfd98fa 100644
--- a/Source/cmLoadCacheCommand.cxx
+++ b/Source/cmLoadCacheCommand.cxx
@@ -12,6 +12,7 @@
#include "cmLoadCacheCommand.h"
#include <cmsys/RegularExpression.hxx>
+#include <cmsys/FStream.hxx>
// cmLoadCacheCommand
bool cmLoadCacheCommand
@@ -115,7 +116,7 @@ bool cmLoadCacheCommand::ReadWithPrefix(std::vector<std::string> const& args)
}
// Read the cache file.
- std::ifstream fin(cacheFile.c_str());
+ cmsys::ifstream fin(cacheFile.c_str());
// This is a big hack read loop to overcome a buggy ifstream
// implementation on HP-UX. This should work on all platforms even
diff --git a/Source/cmLoadCacheCommand.h b/Source/cmLoadCacheCommand.h
index f55cbb3..c8f7236 100644
--- a/Source/cmLoadCacheCommand.h
+++ b/Source/cmLoadCacheCommand.h
@@ -42,39 +42,6 @@ public:
*/
virtual const char* GetName() const { return "load_cache";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Load in the values from another project's CMake cache.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " load_cache(pathToCacheFile READ_WITH_PREFIX\n"
- " prefix entry1...)\n"
- "Read the cache and store the requested entries in variables with "
- "their name prefixed with the given prefix. "
- "This only reads the values, and does not create entries in the local "
- "project's cache.\n"
- " load_cache(pathToCacheFile [EXCLUDE entry1...]\n"
- " [INCLUDE_INTERNALS entry1...])\n"
- "Load in the values from another cache and store them in the local "
- "project's cache as internal entries. This is useful for a project "
- "that depends on another project built in a different tree. "
- "EXCLUDE option can be used to provide a list of entries to be "
- "excluded. "
- "INCLUDE_INTERNALS can be used to provide a list of internal entries "
- "to be included. Normally, no internal entries are brought in. Use "
- "of this form of the command is strongly discouraged, but it is "
- "provided for backward compatibility.";
- }
-
cmTypeMacro(cmLoadCacheCommand, cmCommand);
protected:
diff --git a/Source/cmLoadCommandCommand.cxx b/Source/cmLoadCommandCommand.cxx
index b2acf06..21ee0fe 100644
--- a/Source/cmLoadCommandCommand.cxx
+++ b/Source/cmLoadCommandCommand.cxx
@@ -71,23 +71,6 @@ public:
*/
virtual const char* GetName() const { return info.Name; }
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- if (this->info.GetTerseDocumentation)
- {
- cmLoadedCommand::InstallSignalHandlers(info.Name);
- const char* ret = info.GetTerseDocumentation();
- cmLoadedCommand::InstallSignalHandlers(info.Name, 1);
- return ret;
- }
- else
- {
- return "LoadedCommand without any additional documentation";
- }
- }
static const char* LastName;
static void TrapsForSignals(int sig)
{
@@ -120,24 +103,6 @@ public:
}
}
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- if (this->info.GetFullDocumentation)
- {
- cmLoadedCommand::InstallSignalHandlers(info.Name);
- const char* ret = info.GetFullDocumentation();
- cmLoadedCommand::InstallSignalHandlers(info.Name, 1);
- return ret;
- }
- else
- {
- return "LoadedCommand without any additional documentation";
- }
- }
-
cmTypeMacro(cmLoadedCommand, cmCommand);
cmLoadedCommandInfo info;
@@ -224,6 +189,9 @@ cmLoadedCommand::~cmLoadedCommand()
bool cmLoadCommandCommand
::InitialPass(std::vector<std::string> const& args, cmExecutionStatus &)
{
+ if(this->Disallowed(cmPolicies::CMP0031,
+ "The load_command command should not be called; see CMP0031."))
+ { return true; }
if(args.size() < 1 )
{
return true;
diff --git a/Source/cmLoadCommandCommand.h b/Source/cmLoadCommandCommand.h
index f0b34ee..11bcf09 100644
--- a/Source/cmLoadCommandCommand.h
+++ b/Source/cmLoadCommandCommand.h
@@ -14,59 +14,14 @@
#include "cmCommand.h"
-/** \class cmLoadCommandCommand
- * \brief Load in a Command plugin
- *
- * cmLoadCommandCommand loads a command into CMake
- */
class cmLoadCommandCommand : public cmCommand
{
public:
- /**
- * This is a virtual constructor for the command.
- */
- virtual cmCommand* Clone()
- {
- return new cmLoadCommandCommand;
- }
-
- /**
- * This is called when the command is first encountered in
- * the CMakeLists.txt file.
- */
+ virtual cmCommand* Clone() { return new cmLoadCommandCommand; }
virtual bool InitialPass(std::vector<std::string> const& args,
cmExecutionStatus &status);
-
- /**
- * The name of the command as specified in CMakeList.txt.
- */
virtual const char* GetName() const {return "load_command";}
-
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Load a command into a running CMake.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " load_command(COMMAND_NAME <loc1> [loc2 ...])\n"
- "The given locations are searched for a library whose name is "
- "cmCOMMAND_NAME. If found, it is loaded as a module and the command "
- "is added to the set of available CMake commands. Usually, "
- "TRY_COMPILE is used before this command to compile the module. "
- "If the command is successfully loaded a variable named\n"
- " CMAKE_LOADED_COMMAND_<COMMAND_NAME>\n"
- "will be set to the full path of the module that was loaded. "
- "Otherwise the variable will not be set.";
- }
-
+ virtual bool IsDiscouraged() const { return true; }
cmTypeMacro(cmLoadCommandCommand, cmCommand);
};
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 9c04109..7890379 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -37,7 +37,8 @@
#include <assert.h>
#if defined(__HAIKU__)
-#include <StorageKit.h>
+#include <FindDirectory.h>
+#include <StorageDefs.h>
#endif
cmLocalGenerator::cmLocalGenerator()
@@ -113,6 +114,8 @@ void cmLocalGenerator::Configure()
}
}
+ this->Makefile->AddCMakeDependFilesFromUser();
+
// Check whether relative paths should be used for optionally
// relative paths.
this->UseRelativePaths = this->Makefile->IsOn("CMAKE_USE_RELATIVE_PATHS");
@@ -256,10 +259,16 @@ void cmLocalGenerator::ConfigureFinalPass()
void cmLocalGenerator::TraceDependencies()
{
// Generate the rule files for each target.
- cmTargets& targets = this->Makefile->GetTargets();
- for(cmTargets::iterator t = targets.begin(); t != targets.end(); ++t)
+ cmGeneratorTargetsType targets = this->Makefile->GetGeneratorTargets();
+ for(cmGeneratorTargetsType::iterator t = targets.begin();
+ t != targets.end(); ++t)
{
- t->second.TraceDependencies();
+ if (t->second->Target->IsImported()
+ || t->second->Target->GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
+ t->second->TraceDependencies();
}
}
@@ -297,7 +306,7 @@ void cmLocalGenerator::GenerateTestFiles()
this->Makefile->GetProperty("TEST_INCLUDE_FILE");
if ( testIncludeFile )
{
- fout << "INCLUDE(\"" << testIncludeFile << "\")" << std::endl;
+ fout << "include(\"" << testIncludeFile << "\")" << std::endl;
}
// Ask each test generator to write its code.
@@ -313,7 +322,8 @@ void cmLocalGenerator::GenerateTestFiles()
size_t i;
for(i = 0; i < this->Children.size(); ++i)
{
- fout << "SUBDIRS(";
+ // TODO: Use add_subdirectory instead?
+ fout << "subdirs(";
std::string outP =
this->Children[i]->GetMakefile()->GetStartOutputDirectory();
fout << this->Convert(outP.c_str(),START_OUTPUT);
@@ -348,16 +358,17 @@ void cmLocalGenerator::GenerateInstallRules()
prefix = prefix_win32.c_str();
}
#elif defined(__HAIKU__)
+ char dir[B_PATH_NAME_LENGTH];
if (!prefix)
{
- BPath dir;
- if (find_directory(B_COMMON_DIRECTORY, &dir) == B_OK)
+ if (find_directory(B_SYSTEM_DIRECTORY, -1, false, dir, sizeof(dir))
+ == B_OK)
{
- prefix = dir.Path();
+ prefix = dir;
}
else
{
- prefix = "/boot/common";
+ prefix = "/boot/system";
}
}
#else
@@ -366,6 +377,11 @@ void cmLocalGenerator::GenerateInstallRules()
prefix = "/usr/local";
}
#endif
+ if (const char *stagingPrefix
+ = this->Makefile->GetDefinition("CMAKE_STAGING_PREFIX"))
+ {
+ prefix = stagingPrefix;
+ }
// Compute the set of configurations.
std::vector<std::string> configurationTypes;
@@ -416,39 +432,39 @@ void cmLocalGenerator::GenerateInstallRules()
fout << "# Install script for directory: "
<< this->Makefile->GetCurrentDirectory() << std::endl << std::endl;
fout << "# Set the install prefix" << std::endl
- << "IF(NOT DEFINED CMAKE_INSTALL_PREFIX)" << std::endl
- << " SET(CMAKE_INSTALL_PREFIX \"" << prefix << "\")" << std::endl
- << "ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)" << std::endl
- << "STRING(REGEX REPLACE \"/$\" \"\" CMAKE_INSTALL_PREFIX "
+ << "if(NOT DEFINED CMAKE_INSTALL_PREFIX)" << std::endl
+ << " set(CMAKE_INSTALL_PREFIX \"" << prefix << "\")" << std::endl
+ << "endif()" << std::endl
+ << "string(REGEX REPLACE \"/$\" \"\" CMAKE_INSTALL_PREFIX "
<< "\"${CMAKE_INSTALL_PREFIX}\")" << std::endl
<< std::endl;
// Write support code for generating per-configuration install rules.
fout <<
"# Set the install configuration name.\n"
- "IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)\n"
- " IF(BUILD_TYPE)\n"
- " STRING(REGEX REPLACE \"^[^A-Za-z0-9_]+\" \"\"\n"
+ "if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)\n"
+ " if(BUILD_TYPE)\n"
+ " string(REGEX REPLACE \"^[^A-Za-z0-9_]+\" \"\"\n"
" CMAKE_INSTALL_CONFIG_NAME \"${BUILD_TYPE}\")\n"
- " ELSE(BUILD_TYPE)\n"
- " SET(CMAKE_INSTALL_CONFIG_NAME \"" << default_config << "\")\n"
- " ENDIF(BUILD_TYPE)\n"
- " MESSAGE(STATUS \"Install configuration: "
+ " else()\n"
+ " set(CMAKE_INSTALL_CONFIG_NAME \"" << default_config << "\")\n"
+ " endif()\n"
+ " message(STATUS \"Install configuration: "
"\\\"${CMAKE_INSTALL_CONFIG_NAME}\\\"\")\n"
- "ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)\n"
+ "endif()\n"
"\n";
// Write support code for dealing with component-specific installs.
fout <<
"# Set the component getting installed.\n"
- "IF(NOT CMAKE_INSTALL_COMPONENT)\n"
- " IF(COMPONENT)\n"
- " MESSAGE(STATUS \"Install component: \\\"${COMPONENT}\\\"\")\n"
- " SET(CMAKE_INSTALL_COMPONENT \"${COMPONENT}\")\n"
- " ELSE(COMPONENT)\n"
- " SET(CMAKE_INSTALL_COMPONENT)\n"
- " ENDIF(COMPONENT)\n"
- "ENDIF(NOT CMAKE_INSTALL_COMPONENT)\n"
+ "if(NOT CMAKE_INSTALL_COMPONENT)\n"
+ " if(COMPONENT)\n"
+ " message(STATUS \"Install component: \\\"${COMPONENT}\\\"\")\n"
+ " set(CMAKE_INSTALL_COMPONENT \"${COMPONENT}\")\n"
+ " else()\n"
+ " set(CMAKE_INSTALL_COMPONENT)\n"
+ " endif()\n"
+ "endif()\n"
"\n";
// Copy user-specified install options to the install code.
@@ -457,9 +473,9 @@ void cmLocalGenerator::GenerateInstallRules()
{
fout <<
"# Install shared libraries without execute permission?\n"
- "IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)\n"
- " SET(CMAKE_INSTALL_SO_NO_EXE \"" << so_no_exe << "\")\n"
- "ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)\n"
+ "if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)\n"
+ " set(CMAKE_INSTALL_SO_NO_EXE \"" << so_no_exe << "\")\n"
+ "endif()\n"
"\n";
}
@@ -479,7 +495,7 @@ void cmLocalGenerator::GenerateInstallRules()
// Include install scripts from subdirectories.
if(!this->Children.empty())
{
- fout << "IF(NOT CMAKE_INSTALL_LOCAL_ONLY)\n";
+ fout << "if(NOT CMAKE_INSTALL_LOCAL_ONLY)\n";
fout << " # Include the install script for each subdirectory.\n";
for(std::vector<cmLocalGenerator*>::const_iterator
ci = this->Children.begin(); ci != this->Children.end(); ++ci)
@@ -488,34 +504,34 @@ void cmLocalGenerator::GenerateInstallRules()
{
std::string odir = (*ci)->GetMakefile()->GetStartOutputDirectory();
cmSystemTools::ConvertToUnixSlashes(odir);
- fout << " INCLUDE(\"" << odir.c_str()
+ fout << " include(\"" << odir.c_str()
<< "/cmake_install.cmake\")" << std::endl;
}
}
fout << "\n";
- fout << "ENDIF(NOT CMAKE_INSTALL_LOCAL_ONLY)\n\n";
+ fout << "endif()\n\n";
}
// Record the install manifest.
if ( toplevel_install )
{
fout <<
- "IF(CMAKE_INSTALL_COMPONENT)\n"
- " SET(CMAKE_INSTALL_MANIFEST \"install_manifest_"
+ "if(CMAKE_INSTALL_COMPONENT)\n"
+ " set(CMAKE_INSTALL_MANIFEST \"install_manifest_"
"${CMAKE_INSTALL_COMPONENT}.txt\")\n"
- "ELSE(CMAKE_INSTALL_COMPONENT)\n"
- " SET(CMAKE_INSTALL_MANIFEST \"install_manifest.txt\")\n"
- "ENDIF(CMAKE_INSTALL_COMPONENT)\n\n";
+ "else()\n"
+ " set(CMAKE_INSTALL_MANIFEST \"install_manifest.txt\")\n"
+ "endif()\n\n";
fout
- << "FILE(WRITE \""
+ << "file(WRITE \""
<< homedir.c_str() << "/${CMAKE_INSTALL_MANIFEST}\" "
<< "\"\")" << std::endl;
fout
- << "FOREACH(file ${CMAKE_INSTALL_MANIFEST_FILES})" << std::endl
- << " FILE(APPEND \""
+ << "foreach(file ${CMAKE_INSTALL_MANIFEST_FILES})" << std::endl
+ << " file(APPEND \""
<< homedir.c_str() << "/${CMAKE_INSTALL_MANIFEST}\" "
<< "\"${file}\\n\")" << std::endl
- << "ENDFOREACH(file)" << std::endl;
+ << "endforeach()" << std::endl;
}
}
@@ -527,10 +543,19 @@ void cmLocalGenerator::GenerateTargetManifest()
this->Makefile->GetConfigurations(configNames);
// Add our targets to the manifest for each configuration.
- cmTargets& targets = this->Makefile->GetTargets();
- for(cmTargets::iterator t = targets.begin(); t != targets.end(); ++t)
+ cmGeneratorTargetsType targets = this->Makefile->GetGeneratorTargets();
+ for(cmGeneratorTargetsType::iterator t = targets.begin();
+ t != targets.end(); ++t)
{
- cmTarget& target = t->second;
+ cmGeneratorTarget& target = *t->second;
+ if (target.Target->GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
+ if (target.Target->IsImported())
+ {
+ continue;
+ }
if(configNames.empty())
{
target.GenerateTargetManifest(0);
@@ -635,7 +660,8 @@ void cmLocalGenerator::AddBuildTargetRule(const char* llang,
cmStdString objs;
std::vector<std::string> objVector;
// Add all the sources outputs to the depends of the target
- std::vector<cmSourceFile*> const& classes = target.GetSourceFiles();
+ std::vector<cmSourceFile*> classes;
+ target.GetSourceFiles(classes);
for(std::vector<cmSourceFile*>::const_iterator i = classes.begin();
i != classes.end(); ++i)
{
@@ -793,6 +819,7 @@ static const char* ruleReplaceVars[] =
"CMAKE_CURRENT_BINARY_DIR",
"CMAKE_RANLIB",
"CMAKE_LINKER",
+ "CMAKE_CL_SHOWINCLUDES_PREFIX",
0
};
@@ -1038,11 +1065,38 @@ cmLocalGenerator::ExpandRuleVariable(std::string const& variable,
// If this is the compiler then look for the extra variable
// _COMPILER_ARG1 which must be the first argument to the compiler
const char* compilerArg1 = 0;
+ const char* compilerTarget = 0;
+ const char* compilerOptionTarget = 0;
+ const char* compilerExternalToolchain = 0;
+ const char* compilerOptionExternalToolchain = 0;
+ const char* compilerSysroot = 0;
+ const char* compilerOptionSysroot = 0;
if(actualReplace == "CMAKE_${LANG}_COMPILER")
{
std::string arg1 = actualReplace + "_ARG1";
cmSystemTools::ReplaceString(arg1, "${LANG}", lang);
compilerArg1 = this->Makefile->GetDefinition(arg1.c_str());
+ compilerTarget
+ = this->Makefile->GetDefinition(
+ (std::string("CMAKE_") + lang + "_COMPILER_TARGET").c_str());
+ compilerOptionTarget
+ = this->Makefile->GetDefinition(
+ (std::string("CMAKE_") + lang +
+ "_COMPILE_OPTIONS_TARGET").c_str());
+ compilerExternalToolchain
+ = this->Makefile->GetDefinition(
+ (std::string("CMAKE_") + lang +
+ "_COMPILER_EXTERNAL_TOOLCHAIN").c_str());
+ compilerOptionExternalToolchain
+ = this->Makefile->GetDefinition(
+ (std::string("CMAKE_") + lang +
+ "_COMPILE_OPTIONS_EXTERNAL_TOOLCHAIN").c_str());
+ compilerSysroot
+ = this->Makefile->GetDefinition("CMAKE_SYSROOT");
+ compilerOptionSysroot
+ = this->Makefile->GetDefinition(
+ (std::string("CMAKE_") + lang +
+ "_COMPILE_OPTIONS_SYSROOT").c_str());
}
if(actualReplace.find("${LANG}") != actualReplace.npos)
{
@@ -1063,6 +1117,24 @@ cmLocalGenerator::ExpandRuleVariable(std::string const& variable,
ret += " ";
ret += compilerArg1;
}
+ if (compilerTarget && compilerOptionTarget)
+ {
+ ret += " ";
+ ret += compilerOptionTarget;
+ ret += compilerTarget;
+ }
+ if (compilerExternalToolchain && compilerOptionExternalToolchain)
+ {
+ ret += " ";
+ ret += compilerOptionExternalToolchain;
+ ret += this->EscapeForShell(compilerExternalToolchain, true);
+ }
+ if (compilerSysroot && compilerOptionSysroot)
+ {
+ ret += " ";
+ ret += compilerOptionSysroot;
+ ret += this->EscapeForShell(compilerSysroot, true);
+ }
return ret;
}
return replace;
@@ -1250,6 +1322,12 @@ std::string cmLocalGenerator::GetIncludeFlags(
sysIncludeFlag = this->Makefile->GetDefinition(sysFlagVar.c_str());
}
+ std::string fwSearchFlagVar = "CMAKE_";
+ fwSearchFlagVar += lang;
+ fwSearchFlagVar += "_FRAMEWORK_SEARCH_FLAG";
+ const char* fwSearchFlag =
+ this->Makefile->GetDefinition(fwSearchFlagVar.c_str());
+
bool flagUsed = false;
std::set<cmStdString> emitted;
#ifdef __APPLE__
@@ -1258,7 +1336,7 @@ std::string cmLocalGenerator::GetIncludeFlags(
std::vector<std::string>::const_iterator i;
for(i = includes.begin(); i != includes.end(); ++i)
{
- if(this->Makefile->IsOn("APPLE")
+ if(fwSearchFlag && *fwSearchFlag && this->Makefile->IsOn("APPLE")
&& cmSystemTools::IsPathToFramework(i->c_str()))
{
std::string frameworkDir = *i;
@@ -1268,8 +1346,8 @@ std::string cmLocalGenerator::GetIncludeFlags(
{
OutputFormat format = forResponseFile? RESPONSE : SHELL;
includeFlags
- << "-F" << this->Convert(frameworkDir.c_str(),
- START_OUTPUT, format, true)
+ << fwSearchFlag << this->Convert(frameworkDir.c_str(),
+ START_OUTPUT, format, true)
<< " ";
}
continue;
@@ -1320,7 +1398,7 @@ std::string cmLocalGenerator::GetIncludeFlags(
//----------------------------------------------------------------------------
void cmLocalGenerator::AddCompileDefinitions(std::set<std::string>& defines,
- cmTarget* target,
+ cmTarget const* target,
const char* config)
{
std::vector<std::string> targetDefines;
@@ -1403,34 +1481,6 @@ void cmLocalGenerator::GetIncludeDirectories(std::vector<std::string>& dirs,
includeBinaryDir = true;
}
- // CMake versions below 2.0 would add the source tree to the -I path
- // automatically. Preserve compatibility.
- if(this->NeedBackwardsCompatibility(1,9))
- {
- includeSourceDir = true;
- }
-
- // Hack for VTK 4.0 - 4.4 which depend on the old behavior but do
- // not set the backwards compatibility level automatically.
- const char* vtkSourceDir =
- this->Makefile->GetDefinition("VTK_SOURCE_DIR");
- if(vtkSourceDir)
- {
- const char* vtk_major =
- this->Makefile->GetDefinition("VTK_MAJOR_VERSION");
- const char* vtk_minor =
- this->Makefile->GetDefinition("VTK_MINOR_VERSION");
- vtk_major = vtk_major? vtk_major : "4";
- vtk_minor = vtk_minor? vtk_minor : "4";
- int vmajor = 0;
- int vminor = 0;
- if(sscanf(vtk_major, "%d", &vmajor) &&
- sscanf(vtk_minor, "%d", &vminor) && vmajor == 4 && vminor <= 4)
- {
- includeSourceDir = true;
- }
- }
-
// Do not repeat an include path.
std::set<cmStdString> emitted;
@@ -1458,6 +1508,8 @@ void cmLocalGenerator::GetIncludeDirectories(std::vector<std::string>& dirs,
return;
}
+ std::string rootPath = this->Makefile->GetSafeDefinition("CMAKE_SYSROOT");
+
std::vector<std::string> implicitDirs;
// Load implicit include directories for this language.
std::string impDirVar = "CMAKE_";
@@ -1470,7 +1522,9 @@ void cmLocalGenerator::GetIncludeDirectories(std::vector<std::string>& dirs,
for(std::vector<std::string>::const_iterator i = impDirVec.begin();
i != impDirVec.end(); ++i)
{
- emitted.insert(*i);
+ std::string d = rootPath + *i;
+ cmSystemTools::ConvertToUnixSlashes(d);
+ emitted.insert(d);
if (!stripImplicitInclDirs)
{
implicitDirs.push_back(*i);
@@ -1581,7 +1635,8 @@ void cmLocalGenerator::GetTargetFlags(std::string& linkLibs,
if(this->Makefile->IsOn("WIN32") &&
!(this->Makefile->IsOn("CYGWIN") || this->Makefile->IsOn("MINGW")))
{
- const std::vector<cmSourceFile*>& sources = target->GetSourceFiles();
+ std::vector<cmSourceFile*> sources;
+ target->GetSourceFiles(sources);
for(std::vector<cmSourceFile*>::const_iterator i = sources.begin();
i != sources.end(); ++i)
{
@@ -1767,13 +1822,21 @@ void cmLocalGenerator::OutputLinkLibraries(std::string& linkLibraries,
}
// Append the framework search path flags.
- std::vector<std::string> const& fwDirs = cli.GetFrameworkPaths();
- for(std::vector<std::string>::const_iterator fdi = fwDirs.begin();
- fdi != fwDirs.end(); ++fdi)
+ std::string fwSearchFlagVar = "CMAKE_";
+ fwSearchFlagVar += linkLanguage;
+ fwSearchFlagVar += "_FRAMEWORK_SEARCH_FLAG";
+ const char* fwSearchFlag =
+ this->Makefile->GetDefinition(fwSearchFlagVar.c_str());
+ if(fwSearchFlag && *fwSearchFlag)
{
- frameworkPath += "-F";
- frameworkPath += this->Convert(fdi->c_str(), NONE, SHELL, false);
- frameworkPath += " ";
+ std::vector<std::string> const& fwDirs = cli.GetFrameworkPaths();
+ for(std::vector<std::string>::const_iterator fdi = fwDirs.begin();
+ fdi != fwDirs.end(); ++fdi)
+ {
+ frameworkPath += fwSearchFlag;
+ frameworkPath += this->Convert(fdi->c_str(), NONE, SHELL, false);
+ frameworkPath += " ";
+ }
}
// Append the library search path flags.
@@ -1793,6 +1856,10 @@ void cmLocalGenerator::OutputLinkLibraries(std::string& linkLibraries,
ItemVector const& items = cli.GetItems();
for(ItemVector::const_iterator li = items.begin(); li != items.end(); ++li)
{
+ if(li->Target && li->Target->GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
if(li->IsPath)
{
linkLibs += this->ConvertToLinkReference(li->Value);
@@ -1906,7 +1973,7 @@ void cmLocalGenerator::AddArchitectureFlags(std::string& flags,
flags += " ";
flags += sysrootFlag;
flags += " ";
- flags += sysroot;
+ flags += this->Convert(sysroot, NONE, SHELL);
}
if (deploymentTargetFlag && *deploymentTargetFlag &&
@@ -1957,7 +2024,7 @@ bool cmLocalGenerator::GetRealDependency(const char* inName,
}
// Look for a CMake target with the given name.
- if(cmTarget* target = this->Makefile->FindTargetToUse(name.c_str()))
+ if(cmTarget* target = this->Makefile->FindTargetToUse(name))
{
// make sure it is not just a coincidence that the target name
// found is part of the inName
@@ -1996,6 +2063,10 @@ bool cmLocalGenerator::GetRealDependency(const char* inName,
// An object library has no single file on which to depend.
// This was listed to get the target-level dependency.
return false;
+ case cmTarget::INTERFACE_LIBRARY:
+ // An interface library has no file on which to depend.
+ // This was listed to get the target-level dependency.
+ return false;
case cmTarget::UTILITY:
case cmTarget::GLOBAL_TARGET:
// A utility target has no file on which to depend. This was listed
@@ -2117,7 +2188,11 @@ void cmLocalGenerator
return;
}
AddVisibilityCompileOption(flags, target, this, lang);
- AddInlineVisibilityCompileOption(flags, target, this);
+
+ if(strcmp(lang, "CXX") == 0)
+ {
+ AddInlineVisibilityCompileOption(flags, target, this);
+ }
}
//----------------------------------------------------------------------------
@@ -2755,6 +2830,11 @@ cmLocalGenerator
cmTargets& tgts = this->Makefile->GetTargets();
for(cmTargets::iterator l = tgts.begin(); l != tgts.end(); ++l)
{
+ if (l->second.GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
+
// Include the user-specified pre-install script for this target.
if(const char* preinstall = l->second.GetProperty("PRE_INSTALL_SCRIPT"))
{
@@ -3046,7 +3126,7 @@ cmLocalGenerator
// Decide whether this language wants to replace the source
// extension with the object extension. For CMake 2.4
// compatibility do this by default.
- bool replaceExt = this->NeedBackwardsCompatibility(2, 4);
+ bool replaceExt = this->NeedBackwardsCompatibility_2_4();
if(!replaceExt)
{
if(const char* lang = source.GetLanguage())
@@ -3266,7 +3346,7 @@ cmLocalGenerator::GetTargetDirectory(cmTarget const&) const
}
//----------------------------------------------------------------------------
-unsigned int cmLocalGenerator::GetBackwardsCompatibility()
+cmIML_INT_uint64_t cmLocalGenerator::GetBackwardsCompatibility()
{
// The computed version may change until the project is fully
// configured.
@@ -3293,9 +3373,7 @@ unsigned int cmLocalGenerator::GetBackwardsCompatibility()
}
//----------------------------------------------------------------------------
-bool cmLocalGenerator::NeedBackwardsCompatibility(unsigned int major,
- unsigned int minor,
- unsigned int patch)
+bool cmLocalGenerator::NeedBackwardsCompatibility_2_4()
{
// Check the policy to decide whether to pay attention to this
// variable.
@@ -3321,9 +3399,9 @@ bool cmLocalGenerator::NeedBackwardsCompatibility(unsigned int major,
// Compatibility is needed if CMAKE_BACKWARDS_COMPATIBILITY is set
// equal to or lower than the given version.
- unsigned int actual_compat = this->GetBackwardsCompatibility();
+ cmIML_INT_uint64_t actual_compat = this->GetBackwardsCompatibility();
return (actual_compat &&
- actual_compat <= CMake_VERSION_ENCODE(major, minor, patch));
+ actual_compat <= CMake_VERSION_ENCODE(2, 4, 255));
}
//----------------------------------------------------------------------------
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index 10f0b1a..9764813 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -224,8 +224,9 @@ public:
bool stripImplicitInclDirs = true);
void AddCompileOptions(std::string& flags, cmTarget* target,
const char* lang, const char* config);
- void AddCompileDefinitions(std::set<std::string>& defines, cmTarget* target,
- const char* config);
+ void AddCompileDefinitions(std::set<std::string>& defines,
+ cmTarget const* target,
+ const char* config);
/** Compute the language used to compile the given source file. */
const char* GetSourceFileLanguage(const cmSourceFile& source);
@@ -266,6 +267,7 @@ public:
const char* Defines;
const char* RuleLauncher;
const char* DependencyFile;
+ const char* FilterPrefix;
};
/** Set whether to treat conversions to SHELL as a link script shell. */
@@ -319,14 +321,12 @@ public:
*
* and is monotonically increasing with the CMake version.
*/
- unsigned int GetBackwardsCompatibility();
+ cmIML_INT_uint64_t GetBackwardsCompatibility();
/**
* Test whether compatibility is set to a given version or lower.
*/
- bool NeedBackwardsCompatibility(unsigned int major,
- unsigned int minor,
- unsigned int patch = 0xFFu);
+ bool NeedBackwardsCompatibility_2_4();
/**
* Generate a Mac OS X application bundle Info.plist file.
@@ -460,7 +460,7 @@ protected:
bool RelativePathsConfigured;
bool PathConversionsSetup;
- unsigned int BackwardsCompatibility;
+ cmIML_INT_uint64_t BackwardsCompatibility;
bool BackwardsCompatibilityFinal;
private:
std::string ConvertToOutputForExistingCommon(const char* remote,
diff --git a/Source/cmLocalNinjaGenerator.cxx b/Source/cmLocalNinjaGenerator.cxx
index a522e37..cd12c9d 100644
--- a/Source/cmLocalNinjaGenerator.cxx
+++ b/Source/cmLocalNinjaGenerator.cxx
@@ -17,7 +17,6 @@
#include "cmNinjaTargetGenerator.h"
#include "cmGeneratedFileStream.h"
#include "cmSourceFile.h"
-#include "cmComputeLinkInformation.h"
#include "cmake.h"
#include <assert.h>
@@ -49,20 +48,42 @@ void cmLocalNinjaGenerator::Generate()
this->WriteProcessedMakefile(this->GetRulesFileStream());
#endif
- this->WriteBuildFileTop();
+ // We do that only once for the top CMakeLists.txt file.
+ if(this->isRootMakefile())
+ {
+ this->WriteBuildFileTop();
+
+ this->WritePools(this->GetRulesFileStream());
+
+ const std::string showIncludesPrefix = this->GetMakefile()
+ ->GetSafeDefinition("CMAKE_CL_SHOWINCLUDES_PREFIX");
+ if (!showIncludesPrefix.empty())
+ {
+ cmGlobalNinjaGenerator::WriteComment(this->GetRulesFileStream(),
+ "localized /showIncludes string");
+ this->GetRulesFileStream()
+ << "msvc_deps_prefix = " << showIncludesPrefix << "\n\n";
+ }
+ }
- cmTargets& targets = this->GetMakefile()->GetTargets();
- for(cmTargets::iterator t = targets.begin(); t != targets.end(); ++t)
+ cmGeneratorTargetsType targets = this->GetMakefile()->GetGeneratorTargets();
+ for(cmGeneratorTargetsType::iterator t = targets.begin();
+ t != targets.end(); ++t)
{
- cmNinjaTargetGenerator* tg = cmNinjaTargetGenerator::New(&t->second);
+ if (t->second->Target->GetType() == cmTarget::INTERFACE_LIBRARY
+ || t->second->Target->IsImported())
+ {
+ continue;
+ }
+ cmNinjaTargetGenerator* tg = cmNinjaTargetGenerator::New(t->second);
if(tg)
{
tg->Generate();
// Add the target to "all" if required.
if (!this->GetGlobalNinjaGenerator()->IsExcluded(
this->GetGlobalNinjaGenerator()->GetLocalGenerators()[0],
- t->second))
- this->GetGlobalNinjaGenerator()->AddDependencyToAll(&t->second);
+ *t->second->Target))
+ this->GetGlobalNinjaGenerator()->AddDependencyToAll(t->second->Target);
delete tg;
}
}
@@ -164,10 +185,6 @@ bool cmLocalNinjaGenerator::isRootMakefile() const
void cmLocalNinjaGenerator::WriteBuildFileTop()
{
- // We do that only once for the top CMakeLists.txt file.
- if(!this->isRootMakefile())
- return;
-
// For the build file.
this->WriteProjectHeader(this->GetBuildFileStream());
this->WriteNinjaFilesInclusion(this->GetBuildFileStream());
@@ -186,6 +203,39 @@ void cmLocalNinjaGenerator::WriteProjectHeader(std::ostream& os)
cmGlobalNinjaGenerator::WriteDivider(os);
}
+void cmLocalNinjaGenerator::WritePools(std::ostream& os)
+{
+ cmGlobalNinjaGenerator::WriteDivider(os);
+
+ const char* jobpools = this->GetCMakeInstance()
+ ->GetProperty("JOB_POOLS", cmProperty::GLOBAL);
+ if (jobpools)
+ {
+ cmGlobalNinjaGenerator::WriteComment(os,
+ "Pools defined by global property JOB_POOLS");
+ std::vector<std::string> pools;
+ cmSystemTools::ExpandListArgument(jobpools, pools);
+ for (size_t i = 0; i < pools.size(); ++i)
+ {
+ const std::string pool = pools[i];
+ const std::string::size_type eq = pool.find("=");
+ unsigned int jobs;
+ if (eq != std::string::npos &&
+ sscanf(pool.c_str() + eq, "=%u", &jobs) == 1)
+ {
+ os << "pool " << pool.substr(0, eq) << std::endl;
+ os << " depth = " << jobs << std::endl;
+ os << std::endl;
+ }
+ else
+ {
+ cmSystemTools::Error("Invalid pool defined by property 'JOB_POOLS': ",
+ pool.c_str());
+ }
+ }
+ }
+}
+
void cmLocalNinjaGenerator::WriteNinjaFilesInclusion(std::ostream& os)
{
cmGlobalNinjaGenerator::WriteDivider(os);
@@ -278,16 +328,32 @@ std::string cmLocalNinjaGenerator::BuildCommandLine(
cmOStringStream cmd;
for (std::vector<std::string>::const_iterator li = cmdLines.begin();
- li != cmdLines.end(); ++li) {
- if (li != cmdLines.begin()) {
- cmd << " && ";
+ li != cmdLines.end(); ++li)
#ifdef _WIN32
- } else if (cmdLines.size() > 1) {
- cmd << "cmd.exe /c ";
-#endif
+ {
+ if (li != cmdLines.begin())
+ {
+ cmd << " && ";
+ }
+ else if (cmdLines.size() > 1)
+ {
+ cmd << "cmd.exe /C \"";
+ }
+ cmd << *li;
}
+ if (cmdLines.size() > 1)
+ {
+ cmd << "\"";
+ }
+#else
+ {
+ if (li != cmdLines.begin())
+ {
+ cmd << " && ";
+ }
cmd << *li;
- }
+ }
+#endif
return cmd.str();
}
@@ -309,9 +375,13 @@ void cmLocalNinjaGenerator::AppendCustomCommandLines(const cmCustomCommand *cc,
cdCmd << cdStr << this->ConvertToOutputFormat(wd, SHELL);
cmdLines.push_back(cdCmd.str());
}
+
+ std::string launcher = this->MakeCustomLauncher(*cc);
+
for (unsigned i = 0; i != ccg.GetNumberOfCommands(); ++i) {
- cmdLines.push_back(this->ConvertToOutputFormat(ccg.GetCommand(i).c_str(),
- SHELL));
+ cmdLines.push_back(launcher +
+ this->ConvertToOutputFormat(ccg.GetCommand(i).c_str(), SHELL));
+
std::string& cmd = cmdLines.back();
ccg.AppendArguments(i, cmd);
}
@@ -398,3 +468,39 @@ void cmLocalNinjaGenerator::WriteCustomCommandBuildStatements()
this->WriteCustomCommandBuildStatement(i->first, ccTargetDeps);
}
}
+
+std::string cmLocalNinjaGenerator::MakeCustomLauncher(
+ const cmCustomCommand& cc)
+{
+ const char* property = "RULE_LAUNCH_CUSTOM";
+ const char* property_value = this->Makefile->GetProperty(property);
+
+ if(!property_value || !*property_value)
+ {
+ return std::string();
+ }
+
+ // Expand rules in the empty string. It may insert the launcher and
+ // perform replacements.
+ RuleVariables vars;
+ vars.RuleLauncher = property;
+ std::string output;
+ const std::vector<std::string>& outputs = cc.GetOutputs();
+ if(!outputs.empty())
+ {
+ RelativeRoot relative_root =
+ cc.GetWorkingDirectory() ? NONE : START_OUTPUT;
+
+ output = this->Convert(outputs[0].c_str(), relative_root, SHELL);
+ }
+ vars.Output = output.c_str();
+
+ std::string launcher;
+ this->ExpandRuleVariables(launcher, vars);
+ if(!launcher.empty())
+ {
+ launcher += " ";
+ }
+
+ return launcher;
+}
diff --git a/Source/cmLocalNinjaGenerator.h b/Source/cmLocalNinjaGenerator.h
index c450841..ea854c6 100644
--- a/Source/cmLocalNinjaGenerator.h
+++ b/Source/cmLocalNinjaGenerator.h
@@ -112,6 +112,7 @@ private:
void WriteProjectHeader(std::ostream& os);
void WriteNinjaFilesInclusion(std::ostream& os);
void WriteProcessedMakefile(std::ostream& os);
+ void WritePools(std::ostream& os);
void SetConfigName();
@@ -121,6 +122,7 @@ private:
void WriteCustomCommandBuildStatements();
+ std::string MakeCustomLauncher(const cmCustomCommand& cc);
std::string ConfigName;
std::string HomeRelativeOutputPath;
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 56da1f9..93722d1 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -145,13 +145,19 @@ void cmLocalUnixMakefileGenerator3::Generate()
this->Makefile->IsOn("CMAKE_SKIP_ASSEMBLY_SOURCE_RULES");
// Generate the rule files for each target.
- cmTargets& targets = this->Makefile->GetTargets();
+ cmGeneratorTargetsType targets = this->Makefile->GetGeneratorTargets();
cmGlobalUnixMakefileGenerator3* gg =
static_cast<cmGlobalUnixMakefileGenerator3*>(this->GlobalGenerator);
- for(cmTargets::iterator t = targets.begin(); t != targets.end(); ++t)
+ for(cmGeneratorTargetsType::iterator t = targets.begin();
+ t != targets.end(); ++t)
{
+ if (t->second->Target->GetType() == cmTarget::INTERFACE_LIBRARY
+ || t->second->Target->IsImported())
+ {
+ continue;
+ }
cmsys::auto_ptr<cmMakefileTargetGenerator> tg(
- cmMakefileTargetGenerator::New(&(t->second)));
+ cmMakefileTargetGenerator::New(t->second));
if (tg.get())
{
tg->WriteRuleFiles();
@@ -372,21 +378,27 @@ void cmLocalUnixMakefileGenerator3
// for each target we just provide a rule to cd up to the top and do a make
// on the target
- cmTargets& targets = this->Makefile->GetTargets();
+ cmGeneratorTargetsType targets = this->Makefile->GetGeneratorTargets();
std::string localName;
- for(cmTargets::iterator t = targets.begin(); t != targets.end(); ++t)
- {
- if((t->second.GetType() == cmTarget::EXECUTABLE) ||
- (t->second.GetType() == cmTarget::STATIC_LIBRARY) ||
- (t->second.GetType() == cmTarget::SHARED_LIBRARY) ||
- (t->second.GetType() == cmTarget::MODULE_LIBRARY) ||
- (t->second.GetType() == cmTarget::OBJECT_LIBRARY) ||
- (t->second.GetType() == cmTarget::UTILITY))
+ for(cmGeneratorTargetsType::iterator t = targets.begin();
+ t != targets.end(); ++t)
+ {
+ if((t->second->GetType() == cmTarget::EXECUTABLE) ||
+ (t->second->GetType() == cmTarget::STATIC_LIBRARY) ||
+ (t->second->GetType() == cmTarget::SHARED_LIBRARY) ||
+ (t->second->GetType() == cmTarget::MODULE_LIBRARY) ||
+ (t->second->GetType() == cmTarget::OBJECT_LIBRARY) ||
+ (t->second->GetType() == cmTarget::UTILITY))
{
- emitted.insert(t->second.GetName());
+ if (t->second->Target->IsImported())
+ {
+ continue;
+ }
+
+ emitted.insert(t->second->GetName());
// for subdirs add a rule to build this specific target by name.
- localName = this->GetRelativeTargetDirectory(t->second);
+ localName = this->GetRelativeTargetDirectory(*t->second->Target);
localName += "/rule";
commands.clear();
depends.clear();
@@ -403,22 +415,23 @@ void cmLocalUnixMakefileGenerator3
localName.c_str(), depends, commands, true);
// Add a target with the canonical name (no prefix, suffix or path).
- if(localName != t->second.GetName())
+ if(localName != t->second->GetName())
{
commands.clear();
depends.push_back(localName);
this->WriteMakeRule(ruleFileStream, "Convenience name for target.",
- t->second.GetName(), depends, commands, true);
+ t->second->GetName(), depends, commands, true);
}
// Add a fast rule to build the target
- std::string makefileName = this->GetRelativeTargetDirectory(t->second);
+ std::string makefileName =
+ this->GetRelativeTargetDirectory(*t->second->Target);
makefileName += "/build.make";
// make sure the makefile name is suitable for a makefile
std::string makeTargetName =
- this->GetRelativeTargetDirectory(t->second);
+ this->GetRelativeTargetDirectory(*t->second->Target);
makeTargetName += "/build";
- localName = t->second.GetName();
+ localName = t->second->GetName();
localName += "/fast";
depends.clear();
commands.clear();
@@ -432,11 +445,12 @@ void cmLocalUnixMakefileGenerator3
// Add a local name for the rule to relink the target before
// installation.
- if(t->second.NeedRelinkBeforeInstall(this->ConfigurationName.c_str()))
+ if(t->second->Target
+ ->NeedRelinkBeforeInstall(this->ConfigurationName.c_str()))
{
- makeTargetName = this->GetRelativeTargetDirectory(t->second);
+ makeTargetName = this->GetRelativeTargetDirectory(*t->second->Target);
makeTargetName += "/preinstall";
- localName = t->second.GetName();
+ localName = t->second->GetName();
localName += "/preinstall";
depends.clear();
commands.clear();
@@ -474,9 +488,9 @@ void cmLocalUnixMakefileGenerator3::WriteDirectoryInformationFile()
// Setup relative path conversion tops.
infoFileStream
<< "# Relative path conversion top directories.\n"
- << "SET(CMAKE_RELATIVE_PATH_TOP_SOURCE \"" << this->RelativePathTopSource
+ << "set(CMAKE_RELATIVE_PATH_TOP_SOURCE \"" << this->RelativePathTopSource
<< "\")\n"
- << "SET(CMAKE_RELATIVE_PATH_TOP_BINARY \"" << this->RelativePathTopBinary
+ << "set(CMAKE_RELATIVE_PATH_TOP_BINARY \"" << this->RelativePathTopBinary
<< "\")\n"
<< "\n";
@@ -485,7 +499,7 @@ void cmLocalUnixMakefileGenerator3::WriteDirectoryInformationFile()
{
infoFileStream
<< "# Force unix paths in dependencies.\n"
- << "SET(CMAKE_FORCE_UNIX_PATHS 1)\n"
+ << "set(CMAKE_FORCE_UNIX_PATHS 1)\n"
<< "\n";
}
@@ -495,21 +509,21 @@ void cmLocalUnixMakefileGenerator3::WriteDirectoryInformationFile()
<< "# The C and CXX include file regular expressions for "
<< "this directory.\n";
infoFileStream
- << "SET(CMAKE_C_INCLUDE_REGEX_SCAN ";
+ << "set(CMAKE_C_INCLUDE_REGEX_SCAN ";
this->WriteCMakeArgument(infoFileStream,
this->Makefile->GetIncludeRegularExpression());
infoFileStream
<< ")\n";
infoFileStream
- << "SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN ";
+ << "set(CMAKE_C_INCLUDE_REGEX_COMPLAIN ";
this->WriteCMakeArgument(infoFileStream,
this->Makefile->GetComplainRegularExpression());
infoFileStream
<< ")\n";
infoFileStream
- << "SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})\n";
+ << "set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})\n";
infoFileStream
- << "SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN "
+ << "set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN "
"${CMAKE_C_INCLUDE_REGEX_COMPLAIN})\n";
}
@@ -698,17 +712,6 @@ cmLocalUnixMakefileGenerator3
<< "# Escaping for special characters.\n"
<< "EQUALS = =\n"
<< "\n";
-
- if(const char* edit_cmd =
- this->Makefile->GetDefinition("CMAKE_EDIT_COMMAND"))
- {
- makefileStream
- << "# The program to use to edit the cache.\n"
- << "CMAKE_EDIT_COMMAND = "
- << this->ConvertShellCommand(edit_cmd, FULL) << "\n"
- << "\n";
- }
-
makefileStream
<< "# The top-level source directory on which CMake was run.\n"
<< "CMAKE_SOURCE_DIR = "
@@ -1158,27 +1161,25 @@ cmLocalUnixMakefileGenerator3
const std::vector<std::string>& files,
cmTarget& target, const char* filename)
{
+ std::string cleanfile = this->Makefile->GetCurrentOutputDirectory();
+ cleanfile += "/";
+ cleanfile += this->GetTargetDirectory(target);
+ cleanfile += "/cmake_clean";
+ if(filename)
+ {
+ cleanfile += "_";
+ cleanfile += filename;
+ }
+ cleanfile += ".cmake";
+ std::string cleanfilePath = this->Convert(cleanfile.c_str(), FULL);
+ cmsys::ofstream fout(cleanfilePath.c_str());
+ if(!fout)
+ {
+ cmSystemTools::Error("Could not create ", cleanfilePath.c_str());
+ }
if(!files.empty())
{
- std::string cleanfile = this->Makefile->GetCurrentOutputDirectory();
- cleanfile += "/";
- cleanfile += this->GetTargetDirectory(target);
- cleanfile += "/cmake_clean";
- if(filename)
- {
- cleanfile += "_";
- cleanfile += filename;
- }
- cleanfile += ".cmake";
- std::string cleanfilePath = this->Convert(cleanfile.c_str(), FULL);
- std::ofstream fout(cleanfilePath.c_str());
- if(!fout)
- {
- cmSystemTools::Error("Could not create ", cleanfilePath.c_str());
- }
- fout << "FILE(REMOVE_RECURSE\n";
- std::string remove = "$(CMAKE_COMMAND) -P ";
- remove += this->Convert(cleanfile.c_str(), START_OUTPUT, SHELL);
+ fout << "file(REMOVE_RECURSE\n";
for(std::vector<std::string>::const_iterator f = files.begin();
f != files.end(); ++f)
{
@@ -1186,27 +1187,29 @@ cmLocalUnixMakefileGenerator3
fout << " " << this->EscapeForCMake(fc.c_str()) << "\n";
}
fout << ")\n";
- commands.push_back(remove);
-
- // For the main clean rule add per-language cleaning.
- if(!filename)
+ }
+ std::string remove = "$(CMAKE_COMMAND) -P ";
+ remove += this->Convert(cleanfile.c_str(), START_OUTPUT, SHELL);
+ commands.push_back(remove);
+
+ // For the main clean rule add per-language cleaning.
+ if(!filename)
+ {
+ // Get the set of source languages in the target.
+ std::set<cmStdString> languages;
+ target.GetLanguages(languages);
+ fout << "\n"
+ << "# Per-language clean rules from dependency scanning.\n"
+ << "foreach(lang";
+ for(std::set<cmStdString>::const_iterator l = languages.begin();
+ l != languages.end(); ++l)
{
- // Get the set of source languages in the target.
- std::set<cmStdString> languages;
- target.GetLanguages(languages);
- fout << "\n"
- << "# Per-language clean rules from dependency scanning.\n"
- << "FOREACH(lang";
- for(std::set<cmStdString>::const_iterator l = languages.begin();
- l != languages.end(); ++l)
- {
- fout << " " << *l;
- }
- fout << ")\n"
- << " INCLUDE(" << this->GetTargetDirectory(target)
- << "/cmake_clean_${lang}.cmake OPTIONAL)\n"
- << "ENDFOREACH(lang)\n";
+ fout << " " << *l;
}
+ fout << ")\n"
+ << " include(" << this->GetTargetDirectory(target)
+ << "/cmake_clean_${lang}.cmake OPTIONAL)\n"
+ << "endforeach()\n";
}
}
@@ -1682,6 +1685,17 @@ void cmLocalUnixMakefileGenerator3
"default_target",
depends,
no_commands, true);
+
+ // Help out users that try "gmake target1 target2 -j".
+ cmGlobalUnixMakefileGenerator3* gg =
+ static_cast<cmGlobalUnixMakefileGenerator3*>(this->GlobalGenerator);
+ if(gg->AllowNotParallel())
+ {
+ std::vector<std::string> no_depends;
+ this->WriteMakeRule(ruleFileStream,
+ "Allow only one \"make -f Makefile2\" at a time, but pass parallelism.",
+ ".NOTPARALLEL", no_depends, no_commands, true);
+ }
}
this->WriteSpecialTargetsTop(ruleFileStream);
@@ -1915,7 +1929,7 @@ void cmLocalUnixMakefileGenerator3
cmakefileStream
<< "# The set of languages for which implicit dependencies are needed:\n";
cmakefileStream
- << "SET(CMAKE_DEPENDS_LANGUAGES\n";
+ << "set(CMAKE_DEPENDS_LANGUAGES\n";
for(ImplicitDependLanguageMap::const_iterator
l = implicitLangs.begin(); l != implicitLangs.end(); ++l)
{
@@ -1930,7 +1944,7 @@ void cmLocalUnixMakefileGenerator3
l = implicitLangs.begin(); l != implicitLangs.end(); ++l)
{
cmakefileStream
- << "SET(CMAKE_DEPENDS_CHECK_" << l->first.c_str() << "\n";
+ << "set(CMAKE_DEPENDS_CHECK_" << l->first.c_str() << "\n";
ImplicitDependFileMap const& implicitPairs = l->second;
// for each file pair
@@ -1954,7 +1968,7 @@ void cmLocalUnixMakefileGenerator3
if(cid && *cid)
{
cmakefileStream
- << "SET(CMAKE_" << l->first.c_str() << "_COMPILER_ID \""
+ << "set(CMAKE_" << l->first.c_str() << "_COMPILER_ID \""
<< cid << "\")\n";
}
}
@@ -1968,7 +1982,7 @@ void cmLocalUnixMakefileGenerator3
cmakefileStream
<< "\n"
<< "# Preprocessor definitions for this target.\n"
- << "SET(CMAKE_TARGET_DEFINITIONS\n";
+ << "set(CMAKE_TARGET_DEFINITIONS\n";
for(std::set<std::string>::const_iterator di = defines.begin();
di != defines.end(); ++di)
{
@@ -1995,7 +2009,7 @@ void cmLocalUnixMakefileGenerator3
if(!transformRules.empty())
{
cmakefileStream
- << "SET(CMAKE_INCLUDE_TRANSFORMS\n";
+ << "set(CMAKE_INCLUDE_TRANSFORMS\n";
for(std::vector<std::string>::const_iterator tri = transformRules.begin();
tri != transformRules.end(); ++tri)
{
diff --git a/Source/cmLocalVisualStudio10Generator.cxx b/Source/cmLocalVisualStudio10Generator.cxx
index c3789a0..aedd6ed 100644
--- a/Source/cmLocalVisualStudio10Generator.cxx
+++ b/Source/cmLocalVisualStudio10Generator.cxx
@@ -76,6 +76,10 @@ void cmLocalVisualStudio10Generator::Generate()
cmTargets &tgts = this->Makefile->GetTargets();
for(cmTargets::iterator l = tgts.begin(); l != tgts.end(); ++l)
{
+ if(l->second.GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
if(static_cast<cmGlobalVisualStudioGenerator*>(this->GlobalGenerator)
->TargetIsFortranOnly(l->second))
{
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx
index e5b4057..a5e8294 100644
--- a/Source/cmLocalVisualStudio6Generator.cxx
+++ b/Source/cmLocalVisualStudio6Generator.cxx
@@ -21,6 +21,7 @@
#include "cmComputeLinkInformation.h"
#include <cmsys/RegularExpression.hxx>
+#include <cmsys/FStream.hxx>
cmLocalVisualStudio6Generator::cmLocalVisualStudio6Generator():
cmLocalVisualStudioGenerator(VS6)
@@ -91,6 +92,11 @@ void cmLocalVisualStudio6Generator::AddCMakeListsRules()
for(cmTargets::iterator l = tgts.begin();
l != tgts.end(); l++)
{
+ if (l->second.GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
+
// Add a rule to regenerate the build system when the target
// specification source changes.
const char* suppRegenRule =
@@ -146,8 +152,10 @@ void cmLocalVisualStudio6Generator::OutputDSPFile()
case cmTarget::GLOBAL_TARGET:
this->SetBuildType(UTILITY, l->first.c_str(), l->second);
break;
+ case cmTarget::INTERFACE_LIBRARY:
+ continue;
default:
- cmSystemTools::Error("Bad target type", l->first.c_str());
+ cmSystemTools::Error("Bad target type: ", l->first.c_str());
break;
}
// INCLUDE_EXTERNAL_MSPROJECT command only affects the workspace
@@ -165,7 +173,7 @@ void cmLocalVisualStudio6Generator::OutputDSPFile()
dir += l->first.substr(0, pos);
if(!cmSystemTools::MakeDirectory(dir.c_str()))
{
- cmSystemTools::Error("Error creating directory ", dir.c_str());
+ cmSystemTools::Error("Error creating directory: ", dir.c_str());
}
}
this->CreateSingleDSP(l->first.c_str(),l->second);
@@ -193,7 +201,7 @@ void cmLocalVisualStudio6Generator::CreateSingleDSP(const char *lname,
// save the name of the real dsp file
std::string realDSP = fname;
fname += ".cmake";
- std::ofstream fout(fname.c_str());
+ cmsys::ofstream fout(fname.c_str());
if(!fout)
{
cmSystemTools::Error("Error Writing ", fname.c_str());
@@ -306,7 +314,8 @@ void cmLocalVisualStudio6Generator::WriteDSPFile(std::ostream& fout,
std::vector<cmSourceGroup> sourceGroups = this->Makefile->GetSourceGroups();
// get the classes from the source lists then add them to the groups
- std::vector<cmSourceFile*> const & classes = target.GetSourceFiles();
+ std::vector<cmSourceFile*> classes;
+ target.GetSourceFiles(classes);
// now all of the source files have been properly assigned to the target
// now stick them into source groups using the reg expressions
@@ -315,9 +324,9 @@ void cmLocalVisualStudio6Generator::WriteDSPFile(std::ostream& fout,
{
// Add the file to the list of sources.
std::string source = (*i)->GetFullPath();
- cmSourceGroup& sourceGroup =
+ cmSourceGroup* sourceGroup =
this->Makefile->FindSourceGroup(source.c_str(), sourceGroups);
- sourceGroup.AssignSource(*i);
+ sourceGroup->AssignSource(*i);
// while we are at it, if it is a .rule file then for visual studio 6 we
// must generate it
if ((*i)->GetPropertyAsBool("__CMAKE_RULE"))
@@ -329,11 +338,11 @@ void cmLocalVisualStudio6Generator::WriteDSPFile(std::ostream& fout,
std::string path = cmSystemTools::GetFilenamePath(source);
cmSystemTools::MakeDirectory(path.c_str());
#if defined(_WIN32) || defined(__CYGWIN__)
- std::ofstream sourceFout(source.c_str(),
+ cmsys::ofstream sourceFout(source.c_str(),
std::ios::binary | std::ios::out
| std::ios::trunc);
#else
- std::ofstream sourceFout(source.c_str(),
+ cmsys::ofstream sourceFout(source.c_str(),
std::ios::out | std::ios::trunc);
#endif
if(sourceFout)
@@ -393,9 +402,9 @@ void cmLocalVisualStudio6Generator
std::string compileFlags;
std::vector<std::string> depends;
std::string objectNameDir;
- if(gt->ExplicitObjectName.find(*sf) != gt->ExplicitObjectName.end())
+ if(gt->HasExplicitObjectName(*sf))
{
- objectNameDir = cmSystemTools::GetFilenamePath(gt->Objects[*sf]);
+ objectNameDir = cmSystemTools::GetFilenamePath(gt->GetObjectName(*sf));
}
// Add per-source file flags.
@@ -751,7 +760,7 @@ void cmLocalVisualStudio6Generator::SetBuildType(BuildType b,
// once the build type is set, determine what configurations are
// possible
- std::ifstream fin(this->DSPHeaderTemplate.c_str());
+ cmsys::ifstream fin(this->DSPHeaderTemplate.c_str());
cmsys::RegularExpression reg("# Name ");
if(!fin)
@@ -1445,7 +1454,7 @@ void cmLocalVisualStudio6Generator
std::string customRuleCodeRelWithDebInfo
= this->CreateTargetRules(target, "RELWITHDEBINFO", libName);
- std::ifstream fin(this->DSPHeaderTemplate.c_str());
+ cmsys::ifstream fin(this->DSPHeaderTemplate.c_str());
if(!fin)
{
cmSystemTools::Error("Error Reading ", this->DSPHeaderTemplate.c_str());
@@ -1778,7 +1787,7 @@ void cmLocalVisualStudio6Generator
void cmLocalVisualStudio6Generator::WriteDSPFooter(std::ostream& fout)
{
- std::ifstream fin(this->DSPFooterTemplate.c_str());
+ cmsys::ifstream fin(this->DSPFooterTemplate.c_str());
if(!fin)
{
cmSystemTools::Error("Error Reading ",
@@ -1839,7 +1848,8 @@ void cmLocalVisualStudio6Generator
options +=
this->ConvertToOptionallyRelativeOutputPath(l->Value.c_str());
}
- else
+ else if (!l->Target
+ || l->Target->GetType() != cmTarget::INTERFACE_LIBRARY)
{
options += l->Value;
}
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 8ffd96e..212b06b 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -27,9 +27,6 @@
#include <ctype.h> // for isspace
-// Package GUID of Intel Visual Fortran plugin to VS IDE
-#define CM_INTEL_PLUGIN_GUID "{B68A201D-CB9B-47AF-A52F-7EEC72E217E4}"
-
static bool cmLVS6G_IsFAT(const char* dir);
class cmLocalVisualStudio7GeneratorInternals
@@ -78,6 +75,10 @@ void cmLocalVisualStudio7Generator::AddHelperCommands()
static_cast<cmGlobalVisualStudio7Generator *>(this->GlobalGenerator);
for(cmTargets::iterator l = tgts.begin(); l != tgts.end(); l++)
{
+ if(l->second.GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
const char* path = l->second.GetProperty("EXTERNAL_MSPROJECT");
if(path)
{
@@ -181,6 +182,10 @@ void cmLocalVisualStudio7Generator::WriteProjectFiles()
for(cmTargets::iterator l = tgts.begin();
l != tgts.end(); l++)
{
+ if(l->second.GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
// INCLUDE_EXTERNAL_MSPROJECT command only affects the workspace
// so don't build a projectfile for it
if(!l->second.GetProperty("EXTERNAL_MSPROJECT"))
@@ -200,7 +205,7 @@ void cmLocalVisualStudio7Generator::WriteStampFiles()
cmSystemTools::MakeDirectory(stampName.c_str());
stampName += "/";
stampName += "generate.stamp";
- std::ofstream stamp(stampName.c_str());
+ cmsys::ofstream stamp(stampName.c_str());
stamp << "# CMake generation timestamp file for this directory.\n";
// Create a helper file so CMake can determine when it is run
@@ -211,7 +216,7 @@ void cmLocalVisualStudio7Generator::WriteStampFiles()
// the stamp file can just be touched.
std::string depName = stampName;
depName += ".depend";
- std::ofstream depFile(depName.c_str());
+ cmsys::ofstream depFile(depName.c_str());
depFile << "# CMake generation dependency list for this directory.\n";
std::vector<std::string> const& listFiles = this->Makefile->GetListFiles();
for(std::vector<std::string>::const_iterator lf = listFiles.begin();
@@ -1260,6 +1265,7 @@ void cmLocalVisualStudio7Generator::OutputBuildTool(std::ostream& fout,
}
case cmTarget::UTILITY:
case cmTarget::GLOBAL_TARGET:
+ case cmTarget::INTERFACE_LIBRARY:
break;
}
}
@@ -1290,7 +1296,8 @@ cmLocalVisualStudio7GeneratorInternals
cmLocalGenerator::UNCHANGED);
fout << lg->ConvertToXMLOutputPath(rel.c_str()) << " ";
}
- else
+ else if (!l->Target
+ || l->Target->GetType() != cmTarget::INTERFACE_LIBRARY)
{
fout << l->Value << " ";
}
@@ -1374,7 +1381,8 @@ void cmLocalVisualStudio7Generator::WriteVCProjFile(std::ostream& fout,
// get the classes from the source lists then add them to the groups
this->ModuleDefinitionFile = "";
- std::vector<cmSourceFile*>const & classes = target.GetSourceFiles();
+ std::vector<cmSourceFile*> classes;
+ target.GetSourceFiles(classes);
for(std::vector<cmSourceFile*>::const_iterator i = classes.begin();
i != classes.end(); i++)
{
@@ -1384,9 +1392,9 @@ void cmLocalVisualStudio7Generator::WriteVCProjFile(std::ostream& fout,
{
this->ModuleDefinitionFile = (*i)->GetFullPath();
}
- cmSourceGroup& sourceGroup =
+ cmSourceGroup* sourceGroup =
this->Makefile->FindSourceGroup(source.c_str(), sourceGroups);
- sourceGroup.AssignSource(*i);
+ sourceGroup->AssignSource(*i);
}
// open the project
@@ -1461,9 +1469,9 @@ cmLocalVisualStudio7GeneratorFCInfo
cmGeneratorTarget* gt =
lg->GetGlobalGenerator()->GetGeneratorTarget(&target);
std::string objectName;
- if(gt->ExplicitObjectName.find(&sf) != gt->ExplicitObjectName.end())
+ if(gt->HasExplicitObjectName(&sf))
{
- objectName = gt->Objects[&sf];
+ objectName = gt->GetObjectName(&sf);
}
// Compute per-source, per-config information.
@@ -1819,7 +1827,7 @@ WriteCustomRule(std::ostream& fout,
// make sure the rule runs reliably.
if(!cmSystemTools::FileExists(source))
{
- std::ofstream depout(source);
+ cmsys::ofstream depout(source);
depout << "Artificial dependency for a custom command.\n";
}
fout << this->ConvertToXMLOutputPath(source);
@@ -1953,35 +1961,10 @@ cmLocalVisualStudio7Generator
cmGlobalVisualStudio7Generator* gg =
static_cast<cmGlobalVisualStudio7Generator *>(this->GlobalGenerator);
-
- // Compute the version of the Intel plugin to the VS IDE.
- // If the key does not exist then use a default guess.
- std::string intelVersion;
- std::string vskey = gg->GetRegistryBase();
- vskey += "\\Packages\\" CM_INTEL_PLUGIN_GUID ";ProductVersion";
- cmSystemTools::ReadRegistryValue(vskey.c_str(), intelVersion,
- cmSystemTools::KeyWOW64_32);
- unsigned int intelVersionNumber = ~0u;
- sscanf(intelVersion.c_str(), "%u", &intelVersionNumber);
- if(intelVersionNumber >= 11)
- {
- // Default to latest known project file version.
- intelVersion = "11.0";
- }
- else if(intelVersionNumber == 10)
- {
- // Version 10.x actually uses 9.10 in project files!
- intelVersion = "9.10";
- }
- else
- {
- // Version <= 9: use ProductVersion from registry.
- }
-
fout << "<?xml version=\"1.0\" encoding = \"Windows-1252\"?>\n"
<< "<VisualStudioProject\n"
<< "\tProjectCreator=\"Intel Fortran\"\n"
- << "\tVersion=\"" << intelVersion << "\"\n";
+ << "\tVersion=\"" << gg->GetIntelProjectVersion() << "\"\n";
const char* keyword = target.GetProperty("VS_KEYWORD");
if(!keyword)
{
@@ -2070,6 +2053,11 @@ cmLocalVisualStudio7Generator::WriteProjectStart(std::ostream& fout,
fout << "\tProjectGUID=\"{" << gg->GetGUID(libName) << "}\"\n";
}
this->WriteProjectSCC(fout, target);
+ if(const char* targetFrameworkVersion =
+ target.GetProperty("VS_DOTNET_TARGET_FRAMEWORK_VERSION"))
+ {
+ fout << "\tTargetFrameworkVersion=\"" << targetFrameworkVersion << "\"\n";
+ }
fout << "\tKeyword=\"" << keyword << "\">\n"
<< "\t<Platforms>\n"
<< "\t\t<Platform\n\t\t\tName=\"" << this->PlatformName << "\"/>\n"
@@ -2237,7 +2225,7 @@ static bool cmLVS6G_IsFAT(const char* dir)
char volRoot[4] = "_:/";
volRoot[0] = dir[0];
char fsName[16];
- if(GetVolumeInformation(volRoot, 0, 0, 0, 0, 0, fsName, 16) &&
+ if(GetVolumeInformationA(volRoot, 0, 0, 0, 0, 0, fsName, 16) &&
strstr(fsName, "FAT") != 0)
{
return true;
diff --git a/Source/cmLocalXCodeGenerator.cxx b/Source/cmLocalXCodeGenerator.cxx
index 7c5f69d..a9a27b9 100644
--- a/Source/cmLocalXCodeGenerator.cxx
+++ b/Source/cmLocalXCodeGenerator.cxx
@@ -12,6 +12,7 @@
#include "cmLocalXCodeGenerator.h"
#include "cmGlobalXCodeGenerator.h"
#include "cmSourceFile.h"
+#include "cmMakefile.h"
//----------------------------------------------------------------------------
cmLocalXCodeGenerator::cmLocalXCodeGenerator()
@@ -42,3 +43,31 @@ void cmLocalXCodeGenerator::AppendFlagEscape(std::string& flags,
static_cast<cmGlobalXCodeGenerator*>(this->GlobalGenerator);
gg->AppendFlag(flags, rawFlag);
}
+
+//----------------------------------------------------------------------------
+void cmLocalXCodeGenerator::Generate()
+{
+ cmLocalGenerator::Generate();
+
+ cmTargets& targets = this->Makefile->GetTargets();
+ for(cmTargets::iterator iter = targets.begin();
+ iter != targets.end(); ++iter)
+ {
+ cmTarget* t = &iter->second;
+ t->HasMacOSXRpathInstallNameDir(NULL);
+ }
+}
+
+//----------------------------------------------------------------------------
+void cmLocalXCodeGenerator::GenerateInstallRules()
+{
+ cmLocalGenerator::GenerateInstallRules();
+
+ cmTargets& targets = this->Makefile->GetTargets();
+ for(cmTargets::iterator iter = targets.begin();
+ iter != targets.end(); ++iter)
+ {
+ cmTarget* t = &iter->second;
+ t->HasMacOSXRpathInstallNameDir(NULL);
+ }
+}
diff --git a/Source/cmLocalXCodeGenerator.h b/Source/cmLocalXCodeGenerator.h
index d97a41c..edd2f5b 100644
--- a/Source/cmLocalXCodeGenerator.h
+++ b/Source/cmLocalXCodeGenerator.h
@@ -29,6 +29,8 @@ public:
virtual ~cmLocalXCodeGenerator();
virtual std::string GetTargetDirectory(cmTarget const& target) const;
virtual void AppendFlagEscape(std::string& flags, const char* rawFlag);
+ virtual void Generate();
+ virtual void GenerateInstallRules();
private:
};
diff --git a/Source/cmMacroCommand.cxx b/Source/cmMacroCommand.cxx
index 8ba612c..499d3c6 100644
--- a/Source/cmMacroCommand.cxx
+++ b/Source/cmMacroCommand.cxx
@@ -67,24 +67,6 @@ public:
*/
virtual const char* GetName() const { return this->Args[0].c_str(); }
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- std::string docs = "Macro named: ";
- docs += this->GetName();
- return docs.c_str();
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return this->GetTerseDocumentation();
- }
-
cmTypeMacro(cmMacroHelperCommand, cmCommand);
std::vector<std::string> Args;
@@ -158,75 +140,82 @@ bool cmMacroHelperCommand::InvokeInitialPass
// Set the FilePath on the arguments to match the function since it is
// not stored and the original values may be freed
k->FilePath = this->FilePath.c_str();
- tmps = k->Value;
- // replace formal arguments
- for (unsigned int j = 1; j < this->Args.size(); ++j)
+ if(k->Delim == cmListFileArgument::Bracket)
{
- variable = "${";
- variable += this->Args[j];
- variable += "}";
- cmSystemTools::ReplaceString(tmps, variable.c_str(),
- expandedArgs[j-1].c_str());
+ arg.Value = k->Value;
}
- // replace argc
- cmSystemTools::ReplaceString(tmps, "${ARGC}",argcDef.c_str());
-
- // repleace ARGN
- if (tmps.find("${ARGN}") != std::string::npos)
+ else
{
- if (!argnDefInitialized)
+ tmps = k->Value;
+ // replace formal arguments
+ for (unsigned int j = 1; j < this->Args.size(); ++j)
+ {
+ variable = "${";
+ variable += this->Args[j];
+ variable += "}";
+ cmSystemTools::ReplaceString(tmps, variable.c_str(),
+ expandedArgs[j-1].c_str());
+ }
+ // replace argc
+ cmSystemTools::ReplaceString(tmps, "${ARGC}",argcDef.c_str());
+
+ // repleace ARGN
+ if (tmps.find("${ARGN}") != std::string::npos)
{
- std::vector<std::string>::const_iterator eit;
- std::vector<std::string>::size_type cnt = 0;
- for ( eit = expandedArgs.begin(); eit != expandedArgs.end(); ++eit )
+ if (!argnDefInitialized)
{
- if ( cnt >= this->Args.size()-1 )
+ std::vector<std::string>::const_iterator eit;
+ std::vector<std::string>::size_type cnt = 0;
+ for(eit = expandedArgs.begin(); eit != expandedArgs.end(); ++eit)
{
- if ( argnDef.size() > 0 )
+ if ( cnt >= this->Args.size()-1 )
{
- argnDef += ";";
+ if ( argnDef.size() > 0 )
+ {
+ argnDef += ";";
+ }
+ argnDef += *eit;
}
- argnDef += *eit;
+ cnt ++;
}
- cnt ++;
+ argnDefInitialized = true;
}
- argnDefInitialized = true;
+ cmSystemTools::ReplaceString(tmps, "${ARGN}", argnDef.c_str());
}
- cmSystemTools::ReplaceString(tmps, "${ARGN}", argnDef.c_str());
- }
-
- // if the current argument of the current function has ${ARGV in it
- // then try replacing ARGV values
- if (tmps.find("${ARGV") != std::string::npos)
- {
- char argvName[60];
- // repleace ARGV, compute it only once
- if (!argvDefInitialized)
+ // if the current argument of the current function has ${ARGV in it
+ // then try replacing ARGV values
+ if (tmps.find("${ARGV") != std::string::npos)
{
- std::vector<std::string>::const_iterator eit;
- for ( eit = expandedArgs.begin(); eit != expandedArgs.end(); ++eit )
+ char argvName[60];
+
+ // repleace ARGV, compute it only once
+ if (!argvDefInitialized)
{
- if ( argvDef.size() > 0 )
+ std::vector<std::string>::const_iterator eit;
+ for(eit = expandedArgs.begin(); eit != expandedArgs.end(); ++eit)
{
- argvDef += ";";
+ if ( argvDef.size() > 0 )
+ {
+ argvDef += ";";
+ }
+ argvDef += *eit;
}
- argvDef += *eit;
+ argvDefInitialized = true;
}
- argvDefInitialized = true;
- }
- cmSystemTools::ReplaceString(tmps, "${ARGV}", argvDef.c_str());
+ cmSystemTools::ReplaceString(tmps, "${ARGV}", argvDef.c_str());
- // also replace the ARGV1 ARGV2 ... etc
- for (unsigned int t = 0; t < expandedArgs.size(); ++t)
- {
- sprintf(argvName,"${ARGV%i}",t);
- cmSystemTools::ReplaceString(tmps, argvName,
- expandedArgs[t].c_str());
+ // also replace the ARGV1 ARGV2 ... etc
+ for (unsigned int t = 0; t < expandedArgs.size(); ++t)
+ {
+ sprintf(argvName,"${ARGV%i}",t);
+ cmSystemTools::ReplaceString(tmps, argvName,
+ expandedArgs[t].c_str());
+ }
}
- }
- arg.Value = tmps;
+ arg.Value = tmps;
+ }
arg.Delim = k->Delim;
arg.FilePath = k->FilePath;
arg.Line = k->Line;
diff --git a/Source/cmMacroCommand.h b/Source/cmMacroCommand.h
index aedbb4d..4c585d8 100644
--- a/Source/cmMacroCommand.h
+++ b/Source/cmMacroCommand.h
@@ -59,50 +59,6 @@ public:
*/
virtual const char* GetName() const { return "macro";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Start recording a macro for later invocation as a command.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " macro(<name> [arg1 [arg2 [arg3 ...]]])\n"
- " COMMAND1(ARGS ...)\n"
- " COMMAND2(ARGS ...)\n"
- " ...\n"
- " endmacro(<name>)\n"
- "Define a macro named <name> that takes arguments named "
- "arg1 arg2 arg3 (...). Commands listed after macro, "
- "but before the matching endmacro, are not invoked until the macro "
- "is invoked. When it is invoked, the commands recorded in the "
- "macro are first modified by replacing formal parameters (${arg1}) "
- "with the arguments passed, and then invoked as normal commands. In "
- "addition to referencing the formal parameters you can reference "
- "the values ${ARGC} which will be set to the number of arguments "
- "passed into the function as well as ${ARGV0} ${ARGV1} ${ARGV2} "
- "... which "
- "will have the actual values of the arguments passed in. This "
- "facilitates creating macros with optional arguments. Additionally "
- "${ARGV} holds the list of all arguments given to the macro and "
- "${ARGN} "
- "holds the list of arguments past the last expected argument. "
- "Note that the parameters to a macro and values such as ARGN "
- "are not variables in the usual CMake sense. They are string "
- "replacements much like the C preprocessor would do with a macro. "
- "If you want true CMake variables and/or better CMake scope control "
- "you should look at the function command."
- "\n"
- "See the cmake_policy() command documentation for the behavior of "
- "policies inside macros."
- ;
- }
cmTypeMacro(cmMacroCommand, cmCommand);
};
diff --git a/Source/cmMakeDepend.cxx b/Source/cmMakeDepend.cxx
index 2ae35ef..615e6f2 100644
--- a/Source/cmMakeDepend.cxx
+++ b/Source/cmMakeDepend.cxx
@@ -14,6 +14,7 @@
#include "cmGeneratorExpression.h"
#include <cmsys/RegularExpression.hxx>
+#include <cmsys/FStream.hxx>
void cmDependInformation::AddDependencies(cmDependInformation* info)
{
@@ -217,7 +218,7 @@ void cmMakeDepend::DependWalk(cmDependInformation* info)
{
cmsys::RegularExpression includeLine
("^[ \t]*#[ \t]*include[ \t]*[<\"]([^\">]+)[\">]");
- std::ifstream fin(info->FullPath.c_str());
+ cmsys::ifstream fin(info->FullPath.c_str());
if(!fin)
{
cmSystemTools::Error("Cannot open ", info->FullPath.c_str());
diff --git a/Source/cmMakeDirectoryCommand.h b/Source/cmMakeDirectoryCommand.h
index a0f866a..49a4009 100644
--- a/Source/cmMakeDirectoryCommand.h
+++ b/Source/cmMakeDirectoryCommand.h
@@ -51,26 +51,6 @@ public:
*/
virtual bool IsScriptable() const { return true; }
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Deprecated. Use the file(MAKE_DIRECTORY ) command instead.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " make_directory(directory)\n"
- "Creates the specified directory. Full paths should be given. Any "
- "parent directories that do not exist will also be created. Use with "
- "care.";
- }
-
/** This command is kept for compatibility with older CMake versions. */
virtual bool IsDiscouraged() const
{
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 34541e9..27ce999 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -21,9 +21,7 @@
#include "cmCacheManager.h"
#include "cmFunctionBlocker.h"
#include "cmListFileCache.h"
-#include "cmDocumentGeneratorExpressions.h"
#include "cmCommandArgumentParserHelper.h"
-#include "cmDocumentCompileDefinitions.h"
#include "cmGeneratorExpression.h"
#include "cmTest.h"
#ifdef CMAKE_BUILD_WITH_CMAKE
@@ -36,7 +34,7 @@
#include <stdlib.h> // required for atoi
#include <cmsys/RegularExpression.hxx>
-
+#include <cmsys/FStream.hxx>
#include <cmsys/auto_ptr.hxx>
#include <stack>
@@ -171,17 +169,17 @@ void cmMakefile::Initialize()
this->CheckCMP0000 = false;
}
-unsigned int cmMakefile::GetCacheMajorVersion()
+unsigned int cmMakefile::GetCacheMajorVersion() const
{
return this->GetCacheManager()->GetCacheMajorVersion();
}
-unsigned int cmMakefile::GetCacheMinorVersion()
+unsigned int cmMakefile::GetCacheMinorVersion() const
{
return this->GetCacheManager()->GetCacheMinorVersion();
}
-bool cmMakefile::NeedCacheCompatibility(int major, int minor)
+bool cmMakefile::NeedCacheCompatibility(int major, int minor) const
{
return this->GetCacheManager()->NeedCacheCompatibility(major, minor);
}
@@ -262,7 +260,7 @@ void cmMakefile
// call print on all the classes in the makefile
-void cmMakefile::Print()
+void cmMakefile::Print() const
{
// print the class lists
std::cout << "classes:\n";
@@ -361,7 +359,7 @@ bool cmMakefile::GetBacktrace(cmListFileBacktrace& backtrace) const
}
//----------------------------------------------------------------------------
-void cmMakefile::PrintCommandTrace(const cmListFileFunction& lff)
+void cmMakefile::PrintCommandTrace(const cmListFileFunction& lff) const
{
cmOStringStream msg;
msg << lff.FilePath << "(" << lff.Line << "): ";
@@ -736,7 +734,7 @@ bool cmMakefile::ReadListFile(const char* filename_in,
}
//----------------------------------------------------------------------------
-void cmMakefile::EnforceDirectoryLevelRules()
+void cmMakefile::EnforceDirectoryLevelRules() const
{
// Diagnose a violation of CMP0000 if necessary.
if(this->CheckCMP0000)
@@ -801,22 +799,6 @@ void cmMakefile::SetLocalGenerator(cmLocalGenerator* lg)
this->CheckSystemVars = this->GetCMakeInstance()->GetCheckSystemVars();
}
-bool cmMakefile::NeedBackwardsCompatibility(unsigned int major,
- unsigned int minor,
- unsigned int patch)
-{
- if(this->LocalGenerator)
- {
- return
- this->LocalGenerator->NeedBackwardsCompatibility(major, minor, patch);
- }
- else
- {
- return false;
- }
-}
-
-
namespace
{
struct file_not_persistent
@@ -873,17 +855,23 @@ void cmMakefile::ConfigureFinalPass()
this->FinalPass();
const char* oldValue
= this->GetDefinition("CMAKE_BACKWARDS_COMPATIBILITY");
- if (oldValue && atof(oldValue) <= 1.2)
+ if (oldValue && cmSystemTools::VersionCompare(
+ cmSystemTools::OP_LESS, oldValue, "2.4"))
{
- cmSystemTools::Error("You have requested backwards compatibility "
- "with CMake version 1.2 or earlier. This version "
- "of CMake only supports backwards compatibility "
- "with CMake 1.4 or later. For compatibility with "
- "1.2 or earlier please use CMake 2.0");
+ this->IssueMessage(
+ cmake::FATAL_ERROR,
+ "You have set CMAKE_BACKWARDS_COMPATIBILITY to a CMake version less "
+ "than 2.4. This version of CMake only supports backwards compatibility "
+ "with CMake 2.4 or later. For compatibility with older versions please "
+ "use any CMake 2.8.x release or lower.");
}
for (cmTargets::iterator l = this->Targets.begin();
l != this->Targets.end(); l++)
{
+ if (l->second.GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
l->second.FinishConfigure();
}
}
@@ -896,38 +884,73 @@ cmMakefile::AddCustomCommandToTarget(const char* target,
cmTarget::CustomCommandType type,
const char* comment,
const char* workingDir,
- bool escapeOldStyle)
+ bool escapeOldStyle) const
{
// Find the target to which to add the custom command.
cmTargets::iterator ti = this->Targets.find(target);
- if(ti != this->Targets.end())
+
+ if(ti == this->Targets.end())
{
- if(ti->second.GetType() == cmTarget::OBJECT_LIBRARY)
+ cmake::MessageType messageType = cmake::AUTHOR_WARNING;
+ bool issueMessage = false;
+ cmOStringStream e;
+ switch(this->GetPolicyStatus(cmPolicies::CMP0040))
{
- cmOStringStream e;
- e << "Target \"" << target << "\" is an OBJECT library "
- "that may not have PRE_BUILD, PRE_LINK, or POST_BUILD commands.";
- this->IssueMessage(cmake::FATAL_ERROR, e.str());
- return;
+ case cmPolicies::WARN:
+ e << (this->GetPolicies()
+ ->GetPolicyWarning(cmPolicies::CMP0040)) << "\n";
+ issueMessage = true;
+ case cmPolicies::OLD:
+ break;
+ case cmPolicies::NEW:
+ case cmPolicies::REQUIRED_IF_USED:
+ case cmPolicies::REQUIRED_ALWAYS:
+ issueMessage = true;
+ messageType = cmake::FATAL_ERROR;
}
- // Add the command to the appropriate build step for the target.
- std::vector<std::string> no_output;
- cmCustomCommand cc(this, no_output, depends,
- commandLines, comment, workingDir);
- cc.SetEscapeOldStyle(escapeOldStyle);
- cc.SetEscapeAllowMakeVars(true);
- switch(type)
+
+ if(issueMessage)
{
- case cmTarget::PRE_BUILD:
- ti->second.GetPreBuildCommands().push_back(cc);
- break;
- case cmTarget::PRE_LINK:
- ti->second.GetPreLinkCommands().push_back(cc);
- break;
- case cmTarget::POST_BUILD:
- ti->second.GetPostBuildCommands().push_back(cc);
- break;
+ e << "The target name \"" << target << "\" is unknown in this context.";
+ IssueMessage(messageType, e.str().c_str());
}
+
+ return;
+ }
+
+ if(ti->second.GetType() == cmTarget::OBJECT_LIBRARY)
+ {
+ cmOStringStream e;
+ e << "Target \"" << target << "\" is an OBJECT library "
+ "that may not have PRE_BUILD, PRE_LINK, or POST_BUILD commands.";
+ this->IssueMessage(cmake::FATAL_ERROR, e.str());
+ return;
+ }
+ if(ti->second.GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ cmOStringStream e;
+ e << "Target \"" << target << "\" is an INTERFACE library "
+ "that may not have PRE_BUILD, PRE_LINK, or POST_BUILD commands.";
+ this->IssueMessage(cmake::FATAL_ERROR, e.str());
+ return;
+ }
+ // Add the command to the appropriate build step for the target.
+ std::vector<std::string> no_output;
+ cmCustomCommand cc(this, no_output, depends,
+ commandLines, comment, workingDir);
+ cc.SetEscapeOldStyle(escapeOldStyle);
+ cc.SetEscapeAllowMakeVars(true);
+ switch(type)
+ {
+ case cmTarget::PRE_BUILD:
+ ti->second.AddPreBuildCommand(cc);
+ break;
+ case cmTarget::PRE_LINK:
+ ti->second.AddPreLinkCommand(cc);
+ break;
+ case cmTarget::POST_BUILD:
+ ti->second.AddPostBuildCommand(cc);
+ break;
}
}
@@ -1458,11 +1481,10 @@ void cmMakefile::AddLinkLibraryForTarget(const char *target,
this->GetCMakeInstance()->GetGlobalGenerator()->FindTarget(0,lib);
if(tgt)
{
- // CMake versions below 2.4 allowed linking to modules.
- bool allowModules = this->NeedBackwardsCompatibility(2,2);
// if it is not a static or shared library then you can not link to it
if(!((tgt->GetType() == cmTarget::STATIC_LIBRARY) ||
(tgt->GetType() == cmTarget::SHARED_LIBRARY) ||
+ (tgt->GetType() == cmTarget::INTERFACE_LIBRARY) ||
tgt->IsExecutableWithExports()))
{
cmOStringStream e;
@@ -1471,24 +1493,7 @@ void cmMakefile::AddLinkLibraryForTarget(const char *target,
<< " may not be linked into another target. "
<< "One may link only to STATIC or SHARED libraries, or "
<< "to executables with the ENABLE_EXPORTS property set.";
- // in older versions of cmake linking to modules was allowed
- if( tgt->GetType() == cmTarget::MODULE_LIBRARY )
- {
- e << "\n"
- << "If you are developing a new project, re-organize it to avoid "
- << "linking to modules. "
- << "If you are just trying to build an existing project, "
- << "set CMAKE_BACKWARDS_COMPATIBILITY to 2.2 or lower to allow "
- << "linking to modules.";
- }
- // if no modules are allowed then this is always an error
- if(!allowModules ||
- // if we allow modules but the type is not a module then it is
- // still an error
- (allowModules && tgt->GetType() != cmTarget::MODULE_LIBRARY))
- {
- this->IssueMessage(cmake::FATAL_ERROR, e.str().c_str());
- }
+ this->IssueMessage(cmake::FATAL_ERROR, e.str().c_str());
}
}
i->second.AddLinkLibrary( *this, target, lib, llt );
@@ -1573,23 +1578,23 @@ void cmMakefile::InitializeFromParent()
// Initialize definitions with the closure of the parent scope.
this->Internal->VarStack.top() = parent->Internal->VarStack.top().Closure();
- const std::vector<cmValueWithOrigin> parentIncludes =
+ const std::vector<cmValueWithOrigin>& parentIncludes =
parent->GetIncludeDirectoriesEntries();
this->IncludeDirectoriesEntries.insert(this->IncludeDirectoriesEntries.end(),
- parentIncludes.begin(),
- parentIncludes.end());
+ parentIncludes.begin(),
+ parentIncludes.end());
- const std::vector<cmValueWithOrigin> parentOptions =
+ const std::vector<cmValueWithOrigin>& parentOptions =
parent->GetCompileOptionsEntries();
this->CompileOptionsEntries.insert(this->CompileOptionsEntries.end(),
parentOptions.begin(),
parentOptions.end());
- const std::vector<cmValueWithOrigin> parentDefines =
+ const std::vector<cmValueWithOrigin>& parentDefines =
parent->GetCompileDefinitionsEntries();
this->CompileDefinitionsEntries.insert(this->CompileDefinitionsEntries.end(),
- parentDefines.begin(),
- parentDefines.end());
+ parentDefines.begin(),
+ parentDefines.end());
this->SystemIncludeDirectories = parent->SystemIncludeDirectories;
@@ -1604,20 +1609,22 @@ void cmMakefile::InitializeFromParent()
}
// compile definitions property and per-config versions
- {
- this->SetProperty("COMPILE_DEFINITIONS",
- parent->GetProperty("COMPILE_DEFINITIONS"));
- std::vector<std::string> configs;
- this->GetConfigurations(configs);
- for(std::vector<std::string>::const_iterator ci = configs.begin();
- ci != configs.end(); ++ci)
- {
- std::string defPropName = "COMPILE_DEFINITIONS_";
- defPropName += cmSystemTools::UpperCase(*ci);
- this->SetProperty(defPropName.c_str(),
- parent->GetProperty(defPropName.c_str()));
+ cmPolicies::PolicyStatus polSt = this->GetPolicyStatus(cmPolicies::CMP0043);
+ if (polSt == cmPolicies::WARN || polSt == cmPolicies::OLD)
+ {
+ this->SetProperty("COMPILE_DEFINITIONS",
+ parent->GetProperty("COMPILE_DEFINITIONS"));
+ std::vector<std::string> configs;
+ this->GetConfigurations(configs);
+ for(std::vector<std::string>::const_iterator ci = configs.begin();
+ ci != configs.end(); ++ci)
+ {
+ std::string defPropName = "COMPILE_DEFINITIONS_";
+ defPropName += cmSystemTools::UpperCase(*ci);
+ const char* prop = parent->GetProperty(defPropName.c_str());
+ this->SetProperty(defPropName.c_str(), prop);
+ }
}
- }
// link libraries
this->LinkLibraries = parent->LinkLibraries;
@@ -1777,14 +1784,6 @@ void cmMakefile::AddDefinition(const char* name, const char* value)
return;
}
-#ifdef CMAKE_STRICT
- if (this->GetCMakeInstance())
- {
- this->GetCMakeInstance()->
- RecordPropertyAccess(name,cmProperty::VARIABLE);
- }
-#endif
-
this->Internal->VarStack.top().Set(name, value);
if (this->Internal->VarUsageStack.size() &&
this->VariableInitialized(name))
@@ -1990,6 +1989,7 @@ void cmMakefile::AddGlobalLinkInformation(const char* name, cmTarget& target)
{
case cmTarget::UTILITY:
case cmTarget::GLOBAL_TARGET:
+ case cmTarget::INTERFACE_LIBRARY:
return;
default:;
}
@@ -2017,7 +2017,8 @@ cmTarget* cmMakefile::AddLibrary(const char* lname, cmTarget::TargetType type,
if ( (type != cmTarget::STATIC_LIBRARY)
&& (type != cmTarget::SHARED_LIBRARY)
&& (type != cmTarget::MODULE_LIBRARY)
- && (type != cmTarget::OBJECT_LIBRARY))
+ && (type != cmTarget::OBJECT_LIBRARY)
+ && (type != cmTarget::INTERFACE_LIBRARY))
{
this->IssueMessage(cmake::INTERNAL_ERROR,
"cmMakefile::AddLibrary given invalid target type.");
@@ -2065,7 +2066,8 @@ cmMakefile::AddNewTarget(cmTarget::TargetType type, const char* name)
return &it->second;
}
-cmSourceFile *cmMakefile::LinearGetSourceFileWithOutput(const char *cname)
+cmSourceFile*
+cmMakefile::LinearGetSourceFileWithOutput(const char *cname) const
{
std::string name = cname;
std::string out;
@@ -2101,7 +2103,7 @@ cmSourceFile *cmMakefile::LinearGetSourceFileWithOutput(const char *cname)
return 0;
}
-cmSourceFile *cmMakefile::GetSourceFileWithOutput(const char *cname)
+cmSourceFile *cmMakefile::GetSourceFileWithOutput(const char *cname) const
{
std::string name = cname;
@@ -2112,7 +2114,7 @@ cmSourceFile *cmMakefile::GetSourceFileWithOutput(const char *cname)
return LinearGetSourceFileWithOutput(cname);
}
// Otherwise we use an efficient lookup map.
- OutputToSourceMap::iterator o = this->OutputToSource.find(name);
+ OutputToSourceMap::const_iterator o = this->OutputToSource.find(name);
if (o != this->OutputToSource.end())
{
return (*o).second;
@@ -2121,19 +2123,20 @@ cmSourceFile *cmMakefile::GetSourceFileWithOutput(const char *cname)
}
#if defined(CMAKE_BUILD_WITH_CMAKE)
-cmSourceGroup* cmMakefile::GetSourceGroup(const std::vector<std::string>&name)
+cmSourceGroup*
+cmMakefile::GetSourceGroup(const std::vector<std::string>&name) const
{
cmSourceGroup* sg = 0;
// first look for source group starting with the same as the one we wants
- for (std::vector<cmSourceGroup>::iterator sgIt = this->SourceGroups.begin();
- sgIt != this->SourceGroups.end(); ++sgIt)
-
+ for (std::vector<cmSourceGroup>::const_iterator
+ sgIt = this->SourceGroups.begin();
+ sgIt != this->SourceGroups.end(); ++sgIt)
{
std::string sgName = sgIt->GetName();
if(sgName == name[0])
{
- sg = &(*sgIt);
+ sg = const_cast<cmSourceGroup*>(&(*sgIt));
break;
}
}
@@ -2143,7 +2146,7 @@ cmSourceGroup* cmMakefile::GetSourceGroup(const std::vector<std::string>&name)
// iterate through its children to find match source group
for(unsigned int i=1; i<name.size(); ++i)
{
- sg = sg->lookupChild(name[i].c_str());
+ sg = sg->LookupChild(name[i].c_str());
if(sg == 0)
{
break;
@@ -2214,7 +2217,7 @@ void cmMakefile::AddSourceGroup(const std::vector<std::string>& name,
for(++i; i<=lastElement; ++i)
{
sg->AddChild(cmSourceGroup(name[i].c_str(), 0, sg->GetFullName()));
- sg = sg->lookupChild(name[i].c_str());
+ sg = sg->LookupChild(name[i].c_str());
fullname = sg->GetFullName();
if(strlen(fullname))
{
@@ -2269,6 +2272,10 @@ void cmMakefile::ExpandVariablesCMP0019()
l != this->Targets.end(); ++l)
{
cmTarget &t = l->second;
+ if (t.GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
includeDirs = t.GetProperty("INCLUDE_DIRECTORIES");
if(mightExpandVariablesCMP0019(includeDirs))
{
@@ -2378,7 +2385,7 @@ const char* cmMakefile::GetSONameFlag(const char* language) const
return GetDefinition(name.c_str());
}
-bool cmMakefile::CanIWriteThisFile(const char* fileName)
+bool cmMakefile::CanIWriteThisFile(const char* fileName) const
{
if ( !this->IsOn("CMAKE_DISABLE_SOURCE_CHANGES") )
{
@@ -2445,13 +2452,6 @@ bool cmMakefile::IsDefinitionSet(const char* name) const
const char* cmMakefile::GetDefinition(const char* name) const
{
-#ifdef CMAKE_STRICT
- if (this->GetCMakeInstance())
- {
- this->GetCMakeInstance()->
- RecordPropertyAccess(name,cmProperty::VARIABLE);
- }
-#endif
if (this->WarnUnused)
{
this->Internal->VarUsageStack.top().insert(name);
@@ -2527,7 +2527,7 @@ std::vector<std::string> cmMakefile
}
-const char *cmMakefile::ExpandVariablesInString(std::string& source)
+const char *cmMakefile::ExpandVariablesInString(std::string& source) const
{
return this->ExpandVariablesInString(source, false, false);
}
@@ -2539,7 +2539,7 @@ const char *cmMakefile::ExpandVariablesInString(std::string& source,
const char* filename,
long line,
bool removeEmpty,
- bool replaceAt)
+ bool replaceAt) const
{
if ( source.empty() || source.find_first_of("$@\\") == source.npos)
{
@@ -2783,9 +2783,9 @@ cmMakefile::GetConfigurations(std::vector<std::string>& configs,
* non-inherited SOURCE_GROUP commands will have precedence over
* inherited ones.
*/
-cmSourceGroup&
+cmSourceGroup*
cmMakefile::FindSourceGroup(const char* source,
- std::vector<cmSourceGroup> &groups)
+ std::vector<cmSourceGroup> &groups) const
{
// First search for a group that lists the file explicitly.
for(std::vector<cmSourceGroup>::reverse_iterator sg = groups.rbegin();
@@ -2794,7 +2794,7 @@ cmMakefile::FindSourceGroup(const char* source,
cmSourceGroup *result = sg->MatchChildrenFiles(source);
if(result)
{
- return *result;
+ return result;
}
}
@@ -2805,13 +2805,13 @@ cmMakefile::FindSourceGroup(const char* source,
cmSourceGroup *result = sg->MatchChildrenRegex(source);
if(result)
{
- return *result;
+ return result;
}
}
// Shouldn't get here, but just in case, return the default group.
- return groups.front();
+ return &groups.front();
}
#endif
@@ -2874,13 +2874,19 @@ void cmMakefile::PopFunctionBlockerBarrier(bool reportError)
bool cmMakefile::ExpandArguments(
std::vector<cmListFileArgument> const& inArgs,
- std::vector<std::string>& outArgs)
+ std::vector<std::string>& outArgs) const
{
std::vector<cmListFileArgument>::const_iterator i;
std::string value;
outArgs.reserve(inArgs.size());
for(i = inArgs.begin(); i != inArgs.end(); ++i)
{
+ // No expansion in a bracket argument.
+ if(i->Delim == cmListFileArgument::Bracket)
+ {
+ outArgs.push_back(i->Value);
+ continue;
+ }
// Expand the variables in the argument.
value = i->Value;
this->ExpandVariablesInString(value, false, false, false,
@@ -3012,7 +3018,7 @@ void cmMakefile::SetArgcArgv(const std::vector<std::string>& args)
}
//----------------------------------------------------------------------------
-cmSourceFile* cmMakefile::GetSource(const char* sourceName)
+cmSourceFile* cmMakefile::GetSource(const char* sourceName) const
{
cmSourceFileLocation sfl(this, sourceName);
for(std::vector<cmSourceFile*>::const_iterator
@@ -3060,7 +3066,7 @@ void cmMakefile::EnableLanguage(std::vector<std::string> const & lang,
void cmMakefile::ExpandSourceListArguments(
std::vector<std::string> const& arguments,
- std::vector<std::string>& newargs, unsigned int /* start */)
+ std::vector<std::string>& newargs, unsigned int /* start */) const
{
// now expand the args
unsigned int i;
@@ -3113,7 +3119,6 @@ int cmMakefile::TryCompile(const char *srcdir, const char *bindir,
cm.SetHomeOutputDirectory(bindir);
cm.SetStartDirectory(srcdir);
cm.SetStartOutputDirectory(bindir);
- cm.SetCMakeCommand(cmakeCommand.c_str());
cm.SetGeneratorToolset(this->GetCMakeInstance()->GetGeneratorToolset());
cm.LoadCache();
if(!gg->IsMultiConfig())
@@ -3240,9 +3245,9 @@ void cmMakefile::AddMacro(const char* name, const char* signature)
this->MacrosMap[name] = signature;
}
-void cmMakefile::GetListOfMacros(std::string& macros)
+void cmMakefile::GetListOfMacros(std::string& macros) const
{
- StringStringMap::iterator it;
+ StringStringMap::const_iterator it;
macros = "";
int cc = 0;
for ( it = this->MacrosMap.begin(); it != this->MacrosMap.end(); ++it )
@@ -3261,7 +3266,7 @@ cmCacheManager *cmMakefile::GetCacheManager() const
return this->GetCMakeInstance()->GetCacheManager();
}
-void cmMakefile::DisplayStatus(const char* message, float s)
+void cmMakefile::DisplayStatus(const char* message, float s) const
{
cmake* cm = this->GetLocalGenerator()->GetGlobalGenerator()
->GetCMakeInstance();
@@ -3274,7 +3279,7 @@ void cmMakefile::DisplayStatus(const char* message, float s)
cm->UpdateProgress(message, s);
}
-std::string cmMakefile::GetModulesFile(const char* filename)
+std::string cmMakefile::GetModulesFile(const char* filename) const
{
std::string result;
@@ -3374,7 +3379,7 @@ std::string cmMakefile::GetModulesFile(const char* filename)
void cmMakefile::ConfigureString(const std::string& input,
std::string& output, bool atOnly,
- bool escapeQuotes)
+ bool escapeQuotes) const
{
// Split input to handle one line at a time.
std::string::const_iterator lineStart = input.begin();
@@ -3506,7 +3511,7 @@ int cmMakefile::ConfigureFile(const char* infile, const char* outfile,
}
std::string tempOutputFile = soutfile;
tempOutputFile += ".tmp";
- std::ofstream fout(tempOutputFile.c_str(), omode);
+ cmsys::ofstream fout(tempOutputFile.c_str(), omode);
if(!fout)
{
cmSystemTools::Error(
@@ -3515,7 +3520,7 @@ int cmMakefile::ConfigureFile(const char* infile, const char* outfile,
cmSystemTools::ReportLastSystemError("");
return 0;
}
- std::ifstream fin(sinfile.c_str());
+ cmsys::ifstream fin(sinfile.c_str());
if(!fin)
{
cmSystemTools::Error("Could not open file for read in copy operation ",
@@ -3678,7 +3683,7 @@ void cmMakefile::AppendProperty(const char* prop, const char* value,
this->Properties.AppendProperty(prop,value,cmProperty::DIRECTORY,asString);
}
-const char *cmMakefile::GetPropertyOrDefinition(const char* prop)
+const char *cmMakefile::GetPropertyOrDefinition(const char* prop) const
{
const char *ret = this->GetProperty(prop, cmProperty::DIRECTORY);
if (!ret)
@@ -3688,13 +3693,13 @@ const char *cmMakefile::GetPropertyOrDefinition(const char* prop)
return ret;
}
-const char *cmMakefile::GetProperty(const char* prop)
+const char *cmMakefile::GetProperty(const char* prop) const
{
return this->GetProperty(prop, cmProperty::DIRECTORY);
}
const char *cmMakefile::GetProperty(const char* prop,
- cmProperty::ScopeType scope)
+ cmProperty::ScopeType scope) const
{
if(!prop)
{
@@ -3718,8 +3723,9 @@ const char *cmMakefile::GetProperty(const char* prop,
}
else if (!strcmp("LISTFILE_STACK",prop))
{
- for (std::deque<cmStdString>::iterator i = this->ListFileStack.begin();
- i != this->ListFileStack.end(); ++i)
+ for (std::deque<cmStdString>::const_iterator
+ i = this->ListFileStack.begin();
+ i != this->ListFileStack.end(); ++i)
{
if (i != this->ListFileStack.begin())
{
@@ -3833,7 +3839,7 @@ const char *cmMakefile::GetProperty(const char* prop,
return retVal;
}
-bool cmMakefile::GetPropertyAsBool(const char* prop)
+bool cmMakefile::GetPropertyAsBool(const char* prop) const
{
return cmSystemTools::IsOn(this->GetProperty(prop));
}
@@ -3864,21 +3870,20 @@ const char* cmMakefile::GetFeature(const char* feature, const char* config)
return 0;
}
-cmTarget* cmMakefile::FindTarget(const char* name, bool excludeAliases)
+cmTarget* cmMakefile::FindTarget(const std::string& name,
+ bool excludeAliases) const
{
if (!excludeAliases)
{
- std::map<std::string, cmTarget*>::iterator i
+ std::map<std::string, cmTarget*>::const_iterator i
= this->AliasTargets.find(name);
if (i != this->AliasTargets.end())
{
return i->second;
}
}
- cmTargets& tgts = this->GetTargets();
-
- cmTargets::iterator i = tgts.find ( name );
- if ( i != tgts.end() )
+ cmTargets::iterator i = this->Targets.find( name );
+ if ( i != this->Targets.end() )
{
return &i->second;
}
@@ -3919,13 +3924,37 @@ cmTest* cmMakefile::GetTest(const char* testName) const
return 0;
}
-std::string cmMakefile::GetListFileStack()
+void cmMakefile::AddCMakeDependFilesFromUser()
+{
+ std::vector<std::string> deps;
+ if(const char* deps_str = this->GetProperty("CMAKE_CONFIGURE_DEPENDS"))
+ {
+ cmSystemTools::ExpandListArgument(deps_str, deps);
+ }
+ for(std::vector<std::string>::iterator i = deps.begin();
+ i != deps.end(); ++i)
+ {
+ if(cmSystemTools::FileIsFullPath(i->c_str()))
+ {
+ this->AddCMakeDependFile(*i);
+ }
+ else
+ {
+ std::string f = this->GetCurrentDirectory();
+ f += "/";
+ f += *i;
+ this->AddCMakeDependFile(f);
+ }
+ }
+}
+
+std::string cmMakefile::GetListFileStack() const
{
cmOStringStream tmp;
size_t depth = this->ListFileStack.size();
if (depth > 0)
{
- std::deque<cmStdString>::iterator it = this->ListFileStack.end();
+ std::deque<cmStdString>::const_iterator it = this->ListFileStack.end();
do
{
if (depth != this->ListFileStack.size())
@@ -4036,243 +4065,14 @@ void cmMakefile::RaiseScope(const char *var, const char *varDef)
void cmMakefile::DefineProperties(cmake *cm)
{
cm->DefineProperty
- ("ADDITIONAL_MAKE_CLEAN_FILES", cmProperty::DIRECTORY,
- "Additional files to clean during the make clean stage.",
- "A list of files that will be cleaned as a part of the "
- "\"make clean\" stage. ");
-
- cm->DefineProperty
- ("CLEAN_NO_CUSTOM", cmProperty::DIRECTORY,
- "Should the output of custom commands be left.",
- "If this is true then the outputs of custom commands for this "
- "directory will not be removed during the \"make clean\" stage. ");
-
- cm->DefineProperty
- ("LISTFILE_STACK", cmProperty::DIRECTORY,
- "The current stack of listfiles being processed.",
- "This property is mainly useful when trying to debug errors "
- "in your CMake scripts. It returns a list of what list files "
- "are currently being processed, in order. So if one listfile "
- "does an INCLUDE command then that is effectively pushing "
- "the included listfile onto the stack.", false);
-
- cm->DefineProperty
- ("TEST_INCLUDE_FILE", cmProperty::DIRECTORY,
- "A cmake file that will be included when ctest is run.",
- "If you specify TEST_INCLUDE_FILE, that file will be "
- "included and processed when ctest is run on the directory.");
-
- cm->DefineProperty
- ("COMPILE_DEFINITIONS", cmProperty::DIRECTORY,
- "Preprocessor definitions for compiling a directory's sources.",
- "The COMPILE_DEFINITIONS property may be set to a "
- "semicolon-separated list of preprocessor "
- "definitions using the syntax VAR or VAR=value. Function-style "
- "definitions are not supported. CMake will automatically escape "
- "the value correctly for the native build system (note that CMake "
- "language syntax may require escapes to specify some values). "
- "This property may be set on a per-configuration basis using the name "
- "COMPILE_DEFINITIONS_<CONFIG> where <CONFIG> is an upper-case name "
- "(ex. \"COMPILE_DEFINITIONS_DEBUG\"). "
- "This property will be initialized in each directory by its value "
- "in the directory's parent.\n"
- "CMake will automatically drop some definitions that "
- "are not supported by the native build tool. "
- "The VS6 IDE does not support definition values with spaces "
- "(but NMake does).\n"
- CM_DOCUMENT_COMPILE_DEFINITIONS_DISCLAIMER);
-
- cm->DefineProperty
- ("COMPILE_DEFINITIONS_<CONFIG>", cmProperty::DIRECTORY,
- "Per-configuration preprocessor definitions in a directory.",
- "This is the configuration-specific version of COMPILE_DEFINITIONS. "
- "This property will be initialized in each directory by its value "
- "in the directory's parent.\n");
-
- cm->DefineProperty
- ("IMPLICIT_DEPENDS_INCLUDE_TRANSFORM", cmProperty::DIRECTORY,
- "Specify #include line transforms for dependencies in a directory.",
- "This property specifies rules to transform macro-like #include lines "
- "during implicit dependency scanning of C and C++ source files. "
- "The list of rules must be semicolon-separated with each entry of "
- "the form \"A_MACRO(%)=value-with-%\" (the % must be literal). "
- "During dependency scanning occurrences of A_MACRO(...) on #include "
- "lines will be replaced by the value given with the macro argument "
- "substituted for '%'. For example, the entry\n"
- " MYDIR(%)=<mydir/%>\n"
- "will convert lines of the form\n"
- " #include MYDIR(myheader.h)\n"
- "to\n"
- " #include <mydir/myheader.h>\n"
- "allowing the dependency to be followed.\n"
- "This property applies to sources in all targets within a directory. "
- "The property value is initialized in each directory by its value "
- "in the directory's parent.");
-
- cm->DefineProperty
- ("EXCLUDE_FROM_ALL", cmProperty::DIRECTORY,
- "Exclude the directory from the all target of its parent.",
- "A property on a directory that indicates if its targets are excluded "
- "from the default build target. If it is not, then with a Makefile "
- "for example typing make will cause the targets to be built. "
- "The same concept applies to the default build of other generators.",
- false);
-
- cm->DefineProperty
- ("PARENT_DIRECTORY", cmProperty::DIRECTORY,
- "Source directory that added current subdirectory.",
- "This read-only property specifies the source directory that "
- "added the current source directory as a subdirectory of the build. "
- "In the top-level directory the value is the empty-string.", false);
-
- cm->DefineProperty
- ("INCLUDE_REGULAR_EXPRESSION", cmProperty::DIRECTORY,
- "Include file scanning regular expression.",
- "This read-only property specifies the regular expression used "
- "during dependency scanning to match include files that should "
- "be followed. See the include_regular_expression command.", false);
-
- cm->DefineProperty
- ("INTERPROCEDURAL_OPTIMIZATION", cmProperty::DIRECTORY,
- "Enable interprocedural optimization for targets in a directory.",
- "If set to true, enables interprocedural optimizations "
- "if they are known to be supported by the compiler.");
-
- cm->DefineProperty
- ("INTERPROCEDURAL_OPTIMIZATION_<CONFIG>", cmProperty::DIRECTORY,
- "Per-configuration interprocedural optimization for a directory.",
- "This is a per-configuration version of INTERPROCEDURAL_OPTIMIZATION. "
- "If set, this property overrides the generic property "
- "for the named configuration.");
-
- cm->DefineProperty
- ("VARIABLES", cmProperty::DIRECTORY,
- "List of variables defined in the current directory.",
- "This read-only property specifies the list of CMake variables "
- "currently defined. "
- "It is intended for debugging purposes.", false);
-
- cm->DefineProperty
- ("CACHE_VARIABLES", cmProperty::DIRECTORY,
- "List of cache variables available in the current directory.",
- "This read-only property specifies the list of CMake cache "
- "variables currently defined. "
- "It is intended for debugging purposes.", false);
-
- cm->DefineProperty
- ("MACROS", cmProperty::DIRECTORY,
- "List of macro commands available in the current directory.",
- "This read-only property specifies the list of CMake macros "
- "currently defined. "
- "It is intended for debugging purposes. "
- "See the macro command.", false);
-
- cm->DefineProperty
- ("DEFINITIONS", cmProperty::DIRECTORY,
- "For CMake 2.4 compatibility only. Use COMPILE_DEFINITIONS instead.",
- "This read-only property specifies the list of flags given so far "
- "to the add_definitions command. "
- "It is intended for debugging purposes. "
- "Use the COMPILE_DEFINITIONS instead.", false);
-
- cm->DefineProperty
- ("INCLUDE_DIRECTORIES", cmProperty::DIRECTORY,
- "List of preprocessor include file search directories.",
- "This property specifies the list of directories given "
- "so far to the include_directories command. "
- "This property exists on directories and targets. "
- "In addition to accepting values from the include_directories "
- "command, values may be set directly on any directory or any "
- "target using the set_property command. "
- "A target gets its initial value for this property from the value "
- "of the directory property. "
- "A directory gets its initial value from its parent directory if "
- "it has one. "
- "Both directory and target property values are adjusted by calls "
- "to the include_directories command."
- "\n"
- "The target property values are used by the generators to set "
- "the include paths for the compiler. "
- "See also the include_directories command.");
-
- cm->DefineProperty
- ("COMPILE_OPTIONS", cmProperty::DIRECTORY,
- "List of options to pass to the compiler.",
- "This property specifies the list of directories given "
- "so far for this property. "
- "This property exists on directories and targets."
- "\n"
- "The target property values are used by the generators to set "
- "the options for the compiler.\n"
- "Contents of COMPILE_OPTIONS may use \"generator expressions\" with "
- "the syntax \"$<...>\". "
- CM_DOCUMENT_COMMAND_GENERATOR_EXPRESSIONS);
-
- cm->DefineProperty
- ("LINK_DIRECTORIES", cmProperty::DIRECTORY,
- "List of linker search directories.",
- "This read-only property specifies the list of directories given "
- "so far to the link_directories command. "
- "It is intended for debugging purposes.", false);
-
- cm->DefineProperty
("RULE_LAUNCH_COMPILE", cmProperty::DIRECTORY,
- "Specify a launcher for compile rules.",
- "See the global property of the same name for details. "
- "This overrides the global property for a directory.",
- true);
+ "", "", true);
cm->DefineProperty
("RULE_LAUNCH_LINK", cmProperty::DIRECTORY,
- "Specify a launcher for link rules.",
- "See the global property of the same name for details. "
- "This overrides the global property for a directory.",
- true);
+ "", "", true);
cm->DefineProperty
("RULE_LAUNCH_CUSTOM", cmProperty::DIRECTORY,
- "Specify a launcher for custom rules.",
- "See the global property of the same name for details. "
- "This overrides the global property for a directory.",
- true);
-
- cm->DefineProperty
- ("VS_GLOBAL_SECTION_PRE_<section>", cmProperty::DIRECTORY,
- "Specify a preSolution global section in Visual Studio.",
- "Setting a property like this generates an entry of the following form "
- "in the solution file:\n"
- " GlobalSection(<section>) = preSolution\n"
- " <contents based on property value>\n"
- " EndGlobalSection\n"
- "The property must be set to a semicolon-separated list of key=value "
- "pairs. Each such pair will be transformed into an entry in the solution "
- "global section. Whitespace around key and value is ignored. List "
- "elements which do not contain an equal sign are skipped."
- "\n"
- "This property only works for Visual Studio 7 and above; it is ignored "
- "on other generators. The property only applies when set on a directory "
- "whose CMakeLists.txt contains a project() command.");
- cm->DefineProperty
- ("VS_GLOBAL_SECTION_POST_<section>", cmProperty::DIRECTORY,
- "Specify a postSolution global section in Visual Studio.",
- "Setting a property like this generates an entry of the following form "
- "in the solution file:\n"
- " GlobalSection(<section>) = postSolution\n"
- " <contents based on property value>\n"
- " EndGlobalSection\n"
- "The property must be set to a semicolon-separated list of key=value "
- "pairs. Each such pair will be transformed into an entry in the solution "
- "global section. Whitespace around key and value is ignored. List "
- "elements which do not contain an equal sign are skipped."
- "\n"
- "This property only works for Visual Studio 7 and above; it is ignored "
- "on other generators. The property only applies when set on a directory "
- "whose CMakeLists.txt contains a project() command."
- "\n"
- "Note that CMake generates postSolution sections ExtensibilityGlobals "
- "and ExtensibilityAddIns by default. If you set the corresponding "
- "property, it will override the default section. For example, setting "
- "VS_GLOBAL_SECTION_POST_ExtensibilityGlobals will override the default "
- "contents of the ExtensibilityGlobals section, while keeping "
- "ExtensibilityAddIns on its default.");
+ "", "", true);
}
//----------------------------------------------------------------------------
@@ -4283,8 +4083,8 @@ cmMakefile::AddImportedTarget(const char* name, cmTarget::TargetType type,
// Create the target.
cmsys::auto_ptr<cmTarget> target(new cmTarget);
target->SetType(type, name);
- target->SetMakefile(this);
target->MarkAsImported();
+ target->SetMakefile(this);
// Add to the set of available imported targets.
this->ImportedTargets[name] = target.get();
@@ -4299,7 +4099,8 @@ cmMakefile::AddImportedTarget(const char* name, cmTarget::TargetType type,
}
//----------------------------------------------------------------------------
-cmTarget* cmMakefile::FindTargetToUse(const char* name, bool excludeAliases)
+cmTarget* cmMakefile::FindTargetToUse(const std::string& name,
+ bool excludeAliases) const
{
// Look for an imported target. These take priority because they
// are more local in scope and do not have to be globally unique.
@@ -4317,30 +4118,36 @@ cmTarget* cmMakefile::FindTargetToUse(const char* name, bool excludeAliases)
}
// Look for a target built in this project.
- return this->LocalGenerator->GetGlobalGenerator()->FindTarget(0, name,
+ return this->LocalGenerator->GetGlobalGenerator()->FindTarget(0,
+ name.c_str(),
excludeAliases);
}
//----------------------------------------------------------------------------
-bool cmMakefile::IsAlias(const char *name)
+bool cmMakefile::IsAlias(const std::string& name) const
{
if (this->AliasTargets.find(name) != this->AliasTargets.end())
return true;
- return this->GetLocalGenerator()->GetGlobalGenerator()->IsAlias(name);
+ return this->GetLocalGenerator()->GetGlobalGenerator()->IsAlias(
+ name.c_str());
}
//----------------------------------------------------------------------------
-cmGeneratorTarget* cmMakefile::FindGeneratorTargetToUse(const char* name)
+cmGeneratorTarget*
+cmMakefile::FindGeneratorTargetToUse(const char* name) const
{
- cmTarget *t = this->FindTargetToUse(name);
- return this->LocalGenerator->GetGlobalGenerator()->GetGeneratorTarget(t);
+ if (cmTarget *t = this->FindTargetToUse(name))
+ {
+ return this->LocalGenerator->GetGlobalGenerator()->GetGeneratorTarget(t);
+ }
+ return 0;
}
//----------------------------------------------------------------------------
bool cmMakefile::EnforceUniqueName(std::string const& name, std::string& msg,
- bool isCustom)
+ bool isCustom) const
{
- if(this->IsAlias(name.c_str()))
+ if(this->IsAlias(name))
{
cmOStringStream e;
e << "cannot create target \"" << name
@@ -4348,7 +4155,7 @@ bool cmMakefile::EnforceUniqueName(std::string const& name, std::string& msg,
msg = e.str();
return false;
}
- if(cmTarget* existing = this->FindTargetToUse(name.c_str()))
+ if(cmTarget* existing = this->FindTargetToUse(name))
{
// The name given conflicts with an existing target. Produce an
// error in a compatible way.
@@ -4429,7 +4236,8 @@ bool cmMakefile::EnforceUniqueName(std::string const& name, std::string& msg,
}
//----------------------------------------------------------------------------
-bool cmMakefile::EnforceUniqueDir(const char* srcPath, const char* binPath)
+bool cmMakefile::EnforceUniqueDir(const char* srcPath,
+ const char* binPath) const
{
// Make sure the binary directory is unique.
cmGlobalGenerator* gg = this->LocalGenerator->GetGlobalGenerator();
@@ -4477,8 +4285,20 @@ bool cmMakefile::EnforceUniqueDir(const char* srcPath, const char* binPath)
}
//----------------------------------------------------------------------------
+void cmMakefile::AddQtUiFileWithOptions(cmSourceFile *sf)
+{
+ this->QtUiFilesWithOptions.push_back(sf);
+}
+
+//----------------------------------------------------------------------------
+std::vector<cmSourceFile*> cmMakefile::GetQtUiFilesWithOptions() const
+{
+ return this->QtUiFilesWithOptions;
+}
+
+//----------------------------------------------------------------------------
cmPolicies::PolicyStatus
-cmMakefile::GetPolicyStatus(cmPolicies::PolicyID id)
+cmMakefile::GetPolicyStatus(cmPolicies::PolicyID id) const
{
// Get the current setting of the policy.
cmPolicies::PolicyStatus cur = this->GetPolicyStatusInternal(id);
@@ -4506,10 +4326,10 @@ cmMakefile::GetPolicyStatus(cmPolicies::PolicyID id)
//----------------------------------------------------------------------------
cmPolicies::PolicyStatus
-cmMakefile::GetPolicyStatusInternal(cmPolicies::PolicyID id)
+cmMakefile::GetPolicyStatusInternal(cmPolicies::PolicyID id) const
{
// Is the policy set in our stack?
- for(PolicyStackType::reverse_iterator psi = this->PolicyStack.rbegin();
+ for(PolicyStackType::const_reverse_iterator psi = this->PolicyStack.rbegin();
psi != this->PolicyStack.rend(); ++psi)
{
PolicyStackEntry::const_iterator pse = psi->find(id);
@@ -4530,6 +4350,22 @@ cmMakefile::GetPolicyStatusInternal(cmPolicies::PolicyID id)
return this->GetPolicies()->GetPolicyStatus(id);
}
+//----------------------------------------------------------------------------
+bool cmMakefile::PolicyOptionalWarningEnabled(std::string const& var)
+{
+ // Check for an explicit CMAKE_POLICY_WARNING_CMP<NNNN> setting.
+ if(!var.empty())
+ {
+ if(const char* val = this->GetDefinition(var.c_str()))
+ {
+ return cmSystemTools::IsOn(val);
+ }
+ }
+ // Enable optional policy warnings with --debug-output or --trace.
+ cmake* cm = this->GetCMakeInstance();
+ return cm->GetDebugOutput() || cm->GetTrace();
+}
+
bool cmMakefile::SetPolicy(const char *id,
cmPolicies::PolicyStatus status)
{
@@ -4659,7 +4495,7 @@ bool cmMakefile::SetPolicyVersion(const char *version)
ApplyPolicyVersion(this,version);
}
-cmPolicies *cmMakefile::GetPolicies()
+cmPolicies *cmMakefile::GetPolicies() const
{
if (!this->GetCMakeInstance())
{
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 8bce9fd..f00fd20 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -63,8 +63,8 @@ public:
* was used to write the currently loaded cache, note
* this method will not work before the cache is loaded.
*/
- unsigned int GetCacheMajorVersion();
- unsigned int GetCacheMinorVersion();
+ unsigned int GetCacheMajorVersion() const;
+ unsigned int GetCacheMinorVersion() const;
/* Check for unused variables in this scope */
void CheckForUnusedVariables() const;
@@ -76,7 +76,7 @@ public:
bool VariableUsed(const char* ) const;
/** Return whether compatibility features needed for a version of
the cache or lower should be enabled. */
- bool NeedCacheCompatibility(int major, int minor);
+ bool NeedCacheCompatibility(int major, int minor) const;
/**
* Construct an empty makefile.
@@ -142,21 +142,14 @@ public:
void SetLocalGenerator(cmLocalGenerator*);
///! Get the current makefile generator.
- cmLocalGenerator* GetLocalGenerator()
+ cmLocalGenerator* GetLocalGenerator() const
{ return this->LocalGenerator;}
/**
- * Test whether compatibility is set to a given version or lower.
- */
- bool NeedBackwardsCompatibility(unsigned int major,
- unsigned int minor,
- unsigned int patch = 0xFFu);
-
- /**
* Help enforce global target name uniqueness.
*/
bool EnforceUniqueName(std::string const& name, std::string& msg,
- bool isCustom = false);
+ bool isCustom = false) const;
/**
* Perform FinalPass, Library dependency analysis etc before output of the
@@ -172,7 +165,7 @@ public:
/**
* Print the object state to std::cout.
*/
- void Print();
+ void Print() const;
/** Add a custom command to the build. */
void AddCustomCommandToTarget(const char* target,
@@ -180,7 +173,7 @@ public:
const cmCustomCommandLines& commandLines,
cmTarget::CustomCommandType type,
const char* comment, const char* workingDir,
- bool escapeOldStyle = true);
+ bool escapeOldStyle = true) const;
cmSourceFile* AddCustomCommandToOutput(
const std::vector<std::string>& outputs,
const std::vector<std::string>& depends,
@@ -257,13 +250,6 @@ public:
*/
void AddLinkDirectory(const char*);
- /**
- * Get the list of link directories
- */
- std::vector<std::string>& GetLinkDirectories()
- {
- return this->LinkDirectories;
- }
const std::vector<std::string>& GetLinkDirectories() const
{
return this->LinkDirectories;
@@ -363,7 +349,7 @@ public:
*/
bool SetPolicy(cmPolicies::PolicyID id, cmPolicies::PolicyStatus status);
bool SetPolicy(const char *id, cmPolicies::PolicyStatus status);
- cmPolicies::PolicyStatus GetPolicyStatus(cmPolicies::PolicyID id);
+ cmPolicies::PolicyStatus GetPolicyStatus(cmPolicies::PolicyID id) const;
bool SetPolicyVersion(const char *version);
void RecordPolicies(cmPolicies::PolicyMap& pm);
//@}
@@ -386,7 +372,7 @@ public:
/**
* Get the Policies Instance
*/
- cmPolicies *GetPolicies();
+ cmPolicies *GetPolicies() const;
/**
* Add an auxiliary directory to the build.
@@ -499,7 +485,7 @@ public:
{
this->IncludeFileRegularExpression = regex;
}
- const char* GetIncludeRegularExpression()
+ const char* GetIncludeRegularExpression() const
{
return this->IncludeFileRegularExpression.c_str();
}
@@ -512,7 +498,7 @@ public:
{
this->ComplainFileRegularExpression = regex;
}
- const char* GetComplainRegularExpression()
+ const char* GetComplainRegularExpression() const
{
return this->ComplainFileRegularExpression.c_str();
}
@@ -540,19 +526,20 @@ public:
this->GeneratorTargets = targets;
}
- cmTarget* FindTarget(const char* name, bool excludeAliases = false);
+ cmTarget* FindTarget(const std::string& name,
+ bool excludeAliases = false) const;
/** Find a target to use in place of the given name. The target
returned may be imported or built within the project. */
- cmTarget* FindTargetToUse(const char* name, bool excludeAliases = false);
- bool IsAlias(const char *name);
- cmGeneratorTarget* FindGeneratorTargetToUse(const char* name);
+ cmTarget* FindTargetToUse(const std::string& name,
+ bool excludeAliases = false) const;
+ bool IsAlias(const std::string& name) const;
+ cmGeneratorTarget* FindGeneratorTargetToUse(const char* name) const;
/**
* Mark include directories as system directories.
*/
void AddSystemIncludeDirectories(const std::set<cmStdString> &incs);
- bool IsSystemIncludeDirectory(const char* dir, const char *config);
/** Expand out any arguements in the vector that have ; separated
* strings into multiple arguements. A new vector is created
@@ -563,12 +550,12 @@ public:
*/
void ExpandSourceListArguments(std::vector<std::string> const& argsIn,
std::vector<std::string>& argsOut,
- unsigned int startArgumentIndex);
+ unsigned int startArgumentIndex) const;
/** Get a cmSourceFile pointer for a given source name, if the name is
* not found, then a null pointer is returned.
*/
- cmSourceFile* GetSource(const char* sourceName);
+ cmSourceFile* GetSource(const char* sourceName) const;
/** Get a cmSourceFile pointer for a given source name, if the name is
* not found, then create the source file and return it. generated
@@ -581,7 +568,7 @@ public:
/**
* Obtain a list of auxiliary source directories.
*/
- std::vector<std::string>& GetAuxSourceDirectories()
+ const std::vector<std::string>& GetAuxSourceDirectories() const
{return this->AuxSourceDirectories;}
//@{
@@ -626,13 +613,13 @@ public:
/**
* Get a list of preprocessor define flags.
*/
- const char* GetDefineFlags()
+ const char* GetDefineFlags() const
{return this->DefineFlags.c_str();}
/**
* Make sure CMake can write this file
*/
- bool CanIWriteThisFile(const char* fileName);
+ bool CanIWriteThisFile(const char* fileName) const;
#if defined(CMAKE_BUILD_WITH_CMAKE)
/**
@@ -644,7 +631,7 @@ public:
/**
* Get the source group
*/
- cmSourceGroup* GetSourceGroup(const std::vector<std::string>&name);
+ cmSourceGroup* GetSourceGroup(const std::vector<std::string>&name) const;
#endif
/**
@@ -655,11 +642,9 @@ public:
///! When the file changes cmake will be re-run from the build system.
void AddCMakeDependFile(const std::string& file)
{ this->ListFiles.push_back(file);}
+ void AddCMakeDependFilesFromUser();
- /**
- * Get the list file stack as a string
- */
- std::string GetListFileStack();
+ std::string GetListFileStack() const;
/**
* Get the current context backtrace.
@@ -681,14 +666,14 @@ public:
* entry in the this->Definitions map. Also \@var\@ is
* expanded to match autoconf style expansions.
*/
- const char *ExpandVariablesInString(std::string& source);
+ const char *ExpandVariablesInString(std::string& source) const;
const char *ExpandVariablesInString(std::string& source, bool escapeQuotes,
bool noEscapes,
bool atOnly = false,
const char* filename = 0,
long line = -1,
bool removeEmpty = false,
- bool replaceAt = true);
+ bool replaceAt = true) const;
/**
* Remove any remaining variables in the string. Anything with ${var} or
@@ -707,7 +692,7 @@ public:
* See cmConfigureFileCommand for details.
*/
void ConfigureString(const std::string& input, std::string& output,
- bool atOnly, bool escapeQuotes);
+ bool atOnly, bool escapeQuotes) const;
/**
* Copy file but change lines acording to ConfigureString
@@ -721,14 +706,14 @@ public:
/**
* find what source group this source is in
*/
- cmSourceGroup& FindSourceGroup(const char* source,
- std::vector<cmSourceGroup> &groups);
+ cmSourceGroup* FindSourceGroup(const char* source,
+ std::vector<cmSourceGroup> &groups) const;
#endif
/**
* Print a command's invocation
*/
- void PrintCommandTrace(const cmListFileFunction& lff);
+ void PrintCommandTrace(const cmListFileFunction& lff) const;
/**
* Execute a single CMake command. Returns true if the command
@@ -764,14 +749,14 @@ public:
#endif
///! Display progress or status message.
- void DisplayStatus(const char*, float);
+ void DisplayStatus(const char*, float) const;
/**
* Expand the given list file arguments into the full set after
* variable replacement and list expansion.
*/
bool ExpandArguments(std::vector<cmListFileArgument> const& inArgs,
- std::vector<std::string>& outArgs);
+ std::vector<std::string>& outArgs) const;
/**
* Get the instance
*/
@@ -788,7 +773,7 @@ public:
* Is there a source file that has the provided source file as an output?
* if so then return it
*/
- cmSourceFile *GetSourceFileWithOutput(const char *outName);
+ cmSourceFile *GetSourceFileWithOutput(const char *outName) const;
/**
* Add a macro to the list of macros. The arguments should be name of the
@@ -807,20 +792,20 @@ public:
/**
* Get a list of macros as a ; separated string
*/
- void GetListOfMacros(std::string& macros);
+ void GetListOfMacros(std::string& macros) const;
/**
* Return a location of a file in cmake or custom modules directory
*/
- std::string GetModulesFile(const char* name);
+ std::string GetModulesFile(const char* name) const;
///! Set/Get a property of this directory
void SetProperty(const char *prop, const char *value);
void AppendProperty(const char *prop, const char *value,bool asString=false);
- const char *GetProperty(const char *prop);
- const char *GetPropertyOrDefinition(const char *prop);
- const char *GetProperty(const char *prop, cmProperty::ScopeType scope);
- bool GetPropertyAsBool(const char *prop);
+ const char *GetProperty(const char *prop) const;
+ const char *GetPropertyOrDefinition(const char *prop) const;
+ const char *GetProperty(const char *prop, cmProperty::ScopeType scope) const;
+ bool GetPropertyAsBool(const char *prop) const;
const char* GetFeature(const char* feature, const char* config);
@@ -841,7 +826,7 @@ public:
void AddTestGenerator(cmTestGenerator* g)
{ if(g) this->TestGenerators.push_back(g); }
- std::vector<cmTestGenerator*>& GetTestGenerators()
+ const std::vector<cmTestGenerator*>& GetTestGenerators() const
{ return this->TestGenerators; }
// Define the properties
@@ -868,25 +853,30 @@ public:
/** Set whether or not to report a CMP0000 violation. */
void SetCheckCMP0000(bool b) { this->CheckCMP0000 = b; }
- std::vector<cmValueWithOrigin> GetIncludeDirectoriesEntries() const
+ const std::vector<cmValueWithOrigin>& GetIncludeDirectoriesEntries() const
{
return this->IncludeDirectoriesEntries;
}
- std::vector<cmValueWithOrigin> GetCompileOptionsEntries() const
+ const std::vector<cmValueWithOrigin>& GetCompileOptionsEntries() const
{
return this->CompileOptionsEntries;
}
- std::vector<cmValueWithOrigin> GetCompileDefinitionsEntries() const
+ const std::vector<cmValueWithOrigin>& GetCompileDefinitionsEntries() const
{
return this->CompileDefinitionsEntries;
}
- bool IsGeneratingBuildSystem(){ return this->GeneratingBuildSystem; }
+ bool IsGeneratingBuildSystem() const { return this->GeneratingBuildSystem; }
void SetGeneratingBuildSystem(){ this->GeneratingBuildSystem = true; }
+ void AddQtUiFileWithOptions(cmSourceFile *sf);
+ std::vector<cmSourceFile*> GetQtUiFilesWithOptions() const;
+
std::set<cmStdString> const & GetSystemIncludeDirectories() const
{ return this->SystemIncludeDirectories; }
+ bool PolicyOptionalWarningEnabled(std::string const& var);
+
protected:
// add link libraries and directories to the target
void AddGlobalLinkInformation(const char* name, cmTarget& target);
@@ -906,7 +896,7 @@ protected:
std::string ProjectName; // project name
// libraries, classes, and executables
- cmTargets Targets;
+ mutable cmTargets Targets;
std::map<std::string, cmTarget*> AliasTargets;
cmGeneratorTargetsType GeneratorTargets;
std::vector<cmSourceFile*> SourceFiles;
@@ -959,9 +949,8 @@ private:
bool ParseDefineFlag(std::string const& definition, bool remove);
- bool EnforceUniqueDir(const char* srcPath, const char* binPath);
+ bool EnforceUniqueDir(const char* srcPath, const char* binPath) const;
- void ReadSources(std::ifstream& fin, bool t);
friend class cmMakeDepend; // make depend needs direct access
// to the Sources array
void PrintStringVector(const char* s, const
@@ -981,9 +970,9 @@ private:
std::map<cmStdString, bool> SubDirectoryOrder;
- cmsys::RegularExpression cmDefineRegex;
- cmsys::RegularExpression cmDefine01Regex;
- cmsys::RegularExpression cmAtVarRegex;
+ mutable cmsys::RegularExpression cmDefineRegex;
+ mutable cmsys::RegularExpression cmDefine01Regex;
+ mutable cmsys::RegularExpression cmAtVarRegex;
cmPropertyMap Properties;
@@ -1007,7 +996,6 @@ private:
CallStackType CallStack;
friend class cmMakefileCall;
- cmTarget* FindBasicTarget(const char* name);
std::vector<cmTarget*> ImportedTargetsOwned;
std::map<cmStdString, cmTarget*> ImportedTargets;
@@ -1033,22 +1021,22 @@ private:
typedef std::vector<PolicyStackEntry> PolicyStackType;
PolicyStackType PolicyStack;
std::vector<PolicyStackType::size_type> PolicyBarriers;
- cmPolicies::PolicyStatus GetPolicyStatusInternal(cmPolicies::PolicyID id);
+ cmPolicies::PolicyStatus
+ GetPolicyStatusInternal(cmPolicies::PolicyID id) const;
bool CheckCMP0000;
// Enforce rules about CMakeLists.txt files.
- void EnforceDirectoryLevelRules();
+ void EnforceDirectoryLevelRules() const;
bool GeneratingBuildSystem;
-
/**
* Old version of GetSourceFileWithOutput(const char*) kept for
* backward-compatibility. It implements a linear search and support
* relative file paths. It is used as a fall back by
* GetSourceFileWithOutput(const char*).
*/
- cmSourceFile *LinearGetSourceFileWithOutput(const char *cname);
+ cmSourceFile *LinearGetSourceFileWithOutput(const char *cname) const;
// A map for fast output to input look up.
#if defined(CMAKE_BUILD_WITH_CMAKE)
@@ -1062,6 +1050,8 @@ private:
cmSourceFile* source);
void UpdateOutputToSourceMap(std::string const& output,
cmSourceFile* source);
+
+ std::vector<cmSourceFile*> QtUiFilesWithOptions;
};
//----------------------------------------------------------------------------
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx
index 3a71bd6..69b8092 100644
--- a/Source/cmMakefileExecutableTargetGenerator.cxx
+++ b/Source/cmMakefileExecutableTargetGenerator.cxx
@@ -21,15 +21,15 @@
//----------------------------------------------------------------------------
cmMakefileExecutableTargetGenerator
-::cmMakefileExecutableTargetGenerator(cmTarget* target):
- cmMakefileTargetGenerator(target)
+::cmMakefileExecutableTargetGenerator(cmGeneratorTarget* target):
+ cmMakefileTargetGenerator(target->Target)
{
this->CustomCommandDriver = OnDepends;
this->Target->GetExecutableNames(
this->TargetNameOut, this->TargetNameReal, this->TargetNameImport,
this->TargetNamePDB, this->ConfigName);
- this->OSXBundleGenerator = new cmOSXBundleGenerator(this->Target,
+ this->OSXBundleGenerator = new cmOSXBundleGenerator(target,
this->ConfigName);
this->OSXBundleGenerator->SetMacContentFolders(&this->MacContentFolders);
}
diff --git a/Source/cmMakefileExecutableTargetGenerator.h b/Source/cmMakefileExecutableTargetGenerator.h
index 3b18166..940226b 100644
--- a/Source/cmMakefileExecutableTargetGenerator.h
+++ b/Source/cmMakefileExecutableTargetGenerator.h
@@ -17,7 +17,7 @@
class cmMakefileExecutableTargetGenerator: public cmMakefileTargetGenerator
{
public:
- cmMakefileExecutableTargetGenerator(cmTarget* target);
+ cmMakefileExecutableTargetGenerator(cmGeneratorTarget* target);
virtual ~cmMakefileExecutableTargetGenerator();
/* the main entry point for this class. Writes the Makefiles associated
diff --git a/Source/cmMakefileLibraryTargetGenerator.cxx b/Source/cmMakefileLibraryTargetGenerator.cxx
index ffe68e5..d6a0cd4 100644
--- a/Source/cmMakefileLibraryTargetGenerator.cxx
+++ b/Source/cmMakefileLibraryTargetGenerator.cxx
@@ -21,15 +21,18 @@
//----------------------------------------------------------------------------
cmMakefileLibraryTargetGenerator
-::cmMakefileLibraryTargetGenerator(cmTarget* target):
- cmMakefileTargetGenerator(target)
+::cmMakefileLibraryTargetGenerator(cmGeneratorTarget* target):
+ cmMakefileTargetGenerator(target->Target)
{
this->CustomCommandDriver = OnDepends;
- this->Target->GetLibraryNames(
- this->TargetNameOut, this->TargetNameSO, this->TargetNameReal,
- this->TargetNameImport, this->TargetNamePDB, this->ConfigName);
+ if (this->Target->GetType() != cmTarget::INTERFACE_LIBRARY)
+ {
+ this->Target->GetLibraryNames(
+ this->TargetNameOut, this->TargetNameSO, this->TargetNameReal,
+ this->TargetNameImport, this->TargetNamePDB, this->ConfigName);
+ }
- this->OSXBundleGenerator = new cmOSXBundleGenerator(this->Target,
+ this->OSXBundleGenerator = new cmOSXBundleGenerator(target,
this->ConfigName);
this->OSXBundleGenerator->SetMacContentFolders(&this->MacContentFolders);
}
diff --git a/Source/cmMakefileLibraryTargetGenerator.h b/Source/cmMakefileLibraryTargetGenerator.h
index 07f828b..1487b56 100644
--- a/Source/cmMakefileLibraryTargetGenerator.h
+++ b/Source/cmMakefileLibraryTargetGenerator.h
@@ -18,7 +18,7 @@ class cmMakefileLibraryTargetGenerator:
public cmMakefileTargetGenerator
{
public:
- cmMakefileLibraryTargetGenerator(cmTarget* target);
+ cmMakefileLibraryTargetGenerator(cmGeneratorTarget* target);
virtual ~cmMakefileLibraryTargetGenerator();
/* the main entry point for this class. Writes the Makefiles associated
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index 5e6c548..c3ca85d 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -21,11 +21,13 @@
#include "cmTarget.h"
#include "cmake.h"
#include "cmComputeLinkInformation.h"
+#include "cmGeneratorExpression.h"
#include "cmMakefileExecutableTargetGenerator.h"
#include "cmMakefileLibraryTargetGenerator.h"
#include "cmMakefileUtilityTargetGenerator.h"
+#include <ctype.h>
cmMakefileTargetGenerator::cmMakefileTargetGenerator(cmTarget* target)
: OSXBundleGenerator(0)
@@ -61,7 +63,7 @@ cmMakefileTargetGenerator::~cmMakefileTargetGenerator()
}
cmMakefileTargetGenerator *
-cmMakefileTargetGenerator::New(cmTarget *tgt)
+cmMakefileTargetGenerator::New(cmGeneratorTarget *tgt)
{
cmMakefileTargetGenerator *result = 0;
@@ -131,7 +133,14 @@ void cmMakefileTargetGenerator::WriteTargetBuildRules()
this->Makefile->GetProperty
("ADDITIONAL_MAKE_CLEAN_FILES"))
{
- cmSystemTools::ExpandListArgument(additional_clean_files,
+ const char *config = this->Makefile->GetDefinition("CMAKE_BUILD_TYPE");
+ cmListFileBacktrace lfbt;
+ cmGeneratorExpression ge(lfbt);
+ cmsys::auto_ptr<cmCompiledGeneratorExpression> cge =
+ ge.Parse(additional_clean_files);
+
+ cmSystemTools::ExpandListArgument(cge->Evaluate(this->Makefile, config,
+ false, this->Target, 0, 0),
this->CleanFiles);
}
@@ -142,9 +151,11 @@ void cmMakefileTargetGenerator::WriteTargetBuildRules()
// First generate the object rule files. Save a list of all object
// files for this target.
+ std::vector<cmSourceFile*> customCommands;
+ this->GeneratorTarget->GetCustomCommands(customCommands);
for(std::vector<cmSourceFile*>::const_iterator
- si = this->GeneratorTarget->CustomCommands.begin();
- si != this->GeneratorTarget->CustomCommands.end(); ++si)
+ si = customCommands.begin();
+ si != customCommands.end(); ++si)
{
cmCustomCommand const* cc = (*si)->GetCustomCommand();
this->GenerateCustomRuleFile(*cc);
@@ -161,21 +172,28 @@ void cmMakefileTargetGenerator::WriteTargetBuildRules()
}
}
}
+ std::vector<cmSourceFile*> headerSources;
+ this->GeneratorTarget->GetHeaderSources(headerSources);
this->OSXBundleGenerator->GenerateMacOSXContentStatements(
- this->GeneratorTarget->HeaderSources,
+ headerSources,
this->MacOSXContentGenerator);
+ std::vector<cmSourceFile*> extraSources;
+ this->GeneratorTarget->GetExtraSources(extraSources);
this->OSXBundleGenerator->GenerateMacOSXContentStatements(
- this->GeneratorTarget->ExtraSources,
+ extraSources,
this->MacOSXContentGenerator);
+ std::vector<cmSourceFile*> externalObjects;
+ this->GeneratorTarget->GetExternalObjects(externalObjects);
for(std::vector<cmSourceFile*>::const_iterator
- si = this->GeneratorTarget->ExternalObjects.begin();
- si != this->GeneratorTarget->ExternalObjects.end(); ++si)
+ si = externalObjects.begin();
+ si != externalObjects.end(); ++si)
{
this->ExternalObjects.push_back((*si)->GetFullPath());
}
+ std::vector<cmSourceFile*> objectSources;
+ this->GeneratorTarget->GetObjectSources(objectSources);
for(std::vector<cmSourceFile*>::const_iterator
- si = this->GeneratorTarget->ObjectSources.begin();
- si != this->GeneratorTarget->ObjectSources.end(); ++si)
+ si = objectSources.begin(); si != objectSources.end(); ++si)
{
// Generate this object file's rule file.
this->WriteObjectRuleFiles(**si);
@@ -283,7 +301,7 @@ std::string cmMakefileTargetGenerator::GetFlags(const std::string &l)
// Add include directory flags.
this->LocalGenerator->
- AppendFlags(flags,this->GetFrameworkFlags().c_str());
+ AppendFlags(flags,this->GetFrameworkFlags(l).c_str());
// Add target-specific flags.
this->LocalGenerator->AddCompileOptions(flags, this->Target,
@@ -326,7 +344,7 @@ void cmMakefileTargetGenerator::WriteTargetLanguageFlags()
// write language flags for target
std::set<cmStdString> languages;
this->Target->GetLanguages(languages);
- // put the compiler in the rules.make file so that if it changes
+ // put the compiler in the rules.make file so that if it changes
// things rebuild
for(std::set<cmStdString>::const_iterator l = languages.begin();
l != languages.end(); ++l)
@@ -412,7 +430,8 @@ void cmMakefileTargetGenerator::WriteObjectRuleFiles(cmSourceFile& source)
}
// Get the full path name of the object file.
- std::string const& objectName = this->GeneratorTarget->Objects[&source];
+ std::string const& objectName = this->GeneratorTarget
+ ->GetObjectName(&source);
std::string obj = this->LocalGenerator->GetTargetDirectory(*this->Target);
obj += "/";
obj += objectName;
@@ -968,7 +987,7 @@ void cmMakefileTargetGenerator::WriteTargetDependRules()
*this->InfoFileStream
<< "\n"
<< "# Pairs of files generated by the same build rule.\n"
- << "SET(CMAKE_MULTIPLE_OUTPUT_PAIRS\n";
+ << "set(CMAKE_MULTIPLE_OUTPUT_PAIRS\n";
for(MultipleOutputPairsType::const_iterator pi =
this->MultipleOutputPairs.begin();
pi != this->MultipleOutputPairs.end(); ++pi)
@@ -986,7 +1005,7 @@ void cmMakefileTargetGenerator::WriteTargetDependRules()
*this->InfoFileStream
<< "\n"
<< "# Targets to which this target links.\n"
- << "SET(CMAKE_TARGET_LINKED_INFO_FILES\n";
+ << "set(CMAKE_TARGET_LINKED_INFO_FILES\n";
std::set<cmTarget const*> emitted;
const char* cfg = this->LocalGenerator->ConfigurationName.c_str();
if(cmComputeLinkInformation* cli = this->Target->GetLinkInformation(cfg))
@@ -996,7 +1015,12 @@ void cmMakefileTargetGenerator::WriteTargetDependRules()
i = items.begin(); i != items.end(); ++i)
{
cmTarget const* linkee = i->Target;
- if(linkee && !linkee->IsImported() && emitted.insert(linkee).second)
+ if(linkee && !linkee->IsImported()
+ // We can ignore the INTERFACE_LIBRARY items because
+ // Target->GetLinkInformation already processed their
+ // link interface and they don't have any output themselves.
+ && linkee->GetType() != cmTarget::INTERFACE_LIBRARY
+ && emitted.insert(linkee).second)
{
cmMakefile* mf = linkee->GetMakefile();
cmLocalGenerator* lg = mf->GetLocalGenerator();
@@ -1018,7 +1042,7 @@ void cmMakefileTargetGenerator::WriteTargetDependRules()
*this->InfoFileStream
<< "\n"
<< "# Fortran module output directory.\n"
- << "SET(CMAKE_Fortran_TARGET_MODULE_DIR \"" << mdir << "\")\n";
+ << "set(CMAKE_Fortran_TARGET_MODULE_DIR \"" << mdir << "\")\n";
}
// Target-specific include directories:
@@ -1026,7 +1050,7 @@ void cmMakefileTargetGenerator::WriteTargetDependRules()
<< "\n"
<< "# The include file search paths:\n";
*this->InfoFileStream
- << "SET(CMAKE_C_TARGET_INCLUDE_PATH\n";
+ << "set(CMAKE_C_TARGET_INCLUDE_PATH\n";
std::vector<std::string> includes;
const char *config = this->Makefile->GetDefinition("CMAKE_BUILD_TYPE");
@@ -1045,13 +1069,13 @@ void cmMakefileTargetGenerator::WriteTargetDependRules()
*this->InfoFileStream
<< " )\n";
*this->InfoFileStream
- << "SET(CMAKE_CXX_TARGET_INCLUDE_PATH "
+ << "set(CMAKE_CXX_TARGET_INCLUDE_PATH "
<< "${CMAKE_C_TARGET_INCLUDE_PATH})\n";
*this->InfoFileStream
- << "SET(CMAKE_Fortran_TARGET_INCLUDE_PATH "
+ << "set(CMAKE_Fortran_TARGET_INCLUDE_PATH "
<< "${CMAKE_C_TARGET_INCLUDE_PATH})\n";
*this->InfoFileStream
- << "SET(CMAKE_ASM_TARGET_INCLUDE_PATH "
+ << "set(CMAKE_ASM_TARGET_INCLUDE_PATH "
<< "${CMAKE_C_TARGET_INCLUDE_PATH})\n";
// and now write the rule to use it
@@ -1128,8 +1152,8 @@ cmMakefileTargetGenerator
::DriveCustomCommands(std::vector<std::string>& depends)
{
// Depend on all custom command outputs.
- const std::vector<cmSourceFile*>& sources =
- this->Target->GetSourceFiles();
+ std::vector<cmSourceFile*> sources;
+ this->Target->GetSourceFiles(sources);
for(std::vector<cmSourceFile*>::const_iterator source = sources.begin();
source != sources.end(); ++source)
{
@@ -1505,13 +1529,21 @@ void cmMakefileTargetGenerator::WriteTargetDriverRule(const char* main_output,
}
//----------------------------------------------------------------------------
-std::string cmMakefileTargetGenerator::GetFrameworkFlags()
+std::string cmMakefileTargetGenerator::GetFrameworkFlags(std::string const& l)
{
if(!this->Makefile->IsOn("APPLE"))
{
return std::string();
}
+ std::string fwSearchFlagVar = "CMAKE_" + l + "_FRAMEWORK_SEARCH_FLAG";
+ const char* fwSearchFlag =
+ this->Makefile->GetDefinition(fwSearchFlagVar.c_str());
+ if(!(fwSearchFlag && *fwSearchFlag))
+ {
+ return std::string();
+ }
+
std::set<cmStdString> emitted;
#ifdef __APPLE__ /* don't insert this when crosscompiling e.g. to iphone */
emitted.insert("/System/Library/Frameworks");
@@ -1546,7 +1578,7 @@ std::string cmMakefileTargetGenerator::GetFrameworkFlags()
{
if(emitted.insert(*i).second)
{
- flags += "-F";
+ flags += fwSearchFlag;
flags += this->Convert(i->c_str(),
cmLocalGenerator::START_OUTPUT,
cmLocalGenerator::SHELL, true);
@@ -1672,10 +1704,42 @@ void cmMakefileTargetGenerator::RemoveForbiddenFlags(const char* flagVar,
this->Makefile->GetSafeDefinition(removeFlags.c_str());
std::vector<std::string> removeList;
cmSystemTools::ExpandListArgument(removeflags, removeList);
+
for(std::vector<std::string>::iterator i = removeList.begin();
i != removeList.end(); ++i)
{
- cmSystemTools::ReplaceString(linkFlags, i->c_str(), "");
+ std::string tmp;
+ std::string::size_type lastPosition = 0;
+
+ for(;;)
+ {
+ std::string::size_type position = linkFlags.find(*i, lastPosition);
+
+ if(position == std::string::npos)
+ {
+ tmp += linkFlags.substr(lastPosition);
+ break;
+ }
+ else
+ {
+ std::string::size_type prefixLength = position - lastPosition;
+ tmp += linkFlags.substr(lastPosition, prefixLength);
+ lastPosition = position + i->length();
+
+ bool validFlagStart = position == 0 ||
+ isspace(linkFlags[position - 1]);
+
+ bool validFlagEnd = lastPosition == linkFlags.size() ||
+ isspace(linkFlags[lastPosition]);
+
+ if(!validFlagStart || !validFlagEnd)
+ {
+ tmp += *i;
+ }
+ }
+ }
+
+ linkFlags = tmp;
}
}
diff --git a/Source/cmMakefileTargetGenerator.h b/Source/cmMakefileTargetGenerator.h
index f7a1e2e..4f8fafa 100644
--- a/Source/cmMakefileTargetGenerator.h
+++ b/Source/cmMakefileTargetGenerator.h
@@ -38,7 +38,7 @@ public:
virtual ~cmMakefileTargetGenerator();
// construct using this factory call
- static cmMakefileTargetGenerator *New(cmTarget *tgt);
+ static cmMakefileTargetGenerator *New(cmGeneratorTarget *tgt);
/* the main entry point for this class. Writes the Makefiles associated
with this target */
@@ -124,7 +124,7 @@ protected:
void DriveCustomCommands(std::vector<std::string>& depends);
// Return the a string with -F flags on apple
- std::string GetFrameworkFlags();
+ std::string GetFrameworkFlags(std::string const& l);
void AppendFortranFormatFlags(std::string& flags, cmSourceFile& source);
diff --git a/Source/cmMakefileUtilityTargetGenerator.cxx b/Source/cmMakefileUtilityTargetGenerator.cxx
index 1fa4e95..7751ad9 100644
--- a/Source/cmMakefileUtilityTargetGenerator.cxx
+++ b/Source/cmMakefileUtilityTargetGenerator.cxx
@@ -20,11 +20,11 @@
//----------------------------------------------------------------------------
cmMakefileUtilityTargetGenerator
-::cmMakefileUtilityTargetGenerator(cmTarget* target):
- cmMakefileTargetGenerator(target)
+::cmMakefileUtilityTargetGenerator(cmGeneratorTarget* target):
+ cmMakefileTargetGenerator(target->Target)
{
this->CustomCommandDriver = OnUtility;
- this->OSXBundleGenerator = new cmOSXBundleGenerator(this->Target,
+ this->OSXBundleGenerator = new cmOSXBundleGenerator(target,
this->ConfigName);
this->OSXBundleGenerator->SetMacContentFolders(&this->MacContentFolders);
}
diff --git a/Source/cmMakefileUtilityTargetGenerator.h b/Source/cmMakefileUtilityTargetGenerator.h
index fc47b38..8f99300 100644
--- a/Source/cmMakefileUtilityTargetGenerator.h
+++ b/Source/cmMakefileUtilityTargetGenerator.h
@@ -18,7 +18,7 @@ class cmMakefileUtilityTargetGenerator:
public cmMakefileTargetGenerator
{
public:
- cmMakefileUtilityTargetGenerator(cmTarget* target);
+ cmMakefileUtilityTargetGenerator(cmGeneratorTarget* target);
virtual ~cmMakefileUtilityTargetGenerator();
/* the main entry point for this class. Writes the Makefiles associated
diff --git a/Source/cmMarkAsAdvancedCommand.h b/Source/cmMarkAsAdvancedCommand.h
index 246eb8a..b65e4a8 100644
--- a/Source/cmMarkAsAdvancedCommand.h
+++ b/Source/cmMarkAsAdvancedCommand.h
@@ -43,33 +43,6 @@ public:
virtual const char* GetName() const {return "mark_as_advanced";}
/**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Mark cmake cached variables as advanced.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " mark_as_advanced([CLEAR|FORCE] VAR VAR2 VAR...)\n"
- "Mark the named cached variables as advanced. An advanced variable "
- "will not be displayed in any of the cmake GUIs unless the show "
- "advanced option is on. "
- "If CLEAR is the first argument advanced variables are changed back "
- "to unadvanced. "
- "If FORCE is the first argument, then the variable is made advanced. "
- "If neither FORCE nor CLEAR is specified, new values will be marked as "
- "advanced, but if the variable already has an advanced/non-advanced "
- "state, it will not be changed.\n"
- "It does nothing in script mode.";
- }
-
- /**
* This determines if the command is invoked when in script mode.
* mark_as_advanced() will have no effect in script mode, but this will
* make many of the modules usable in cmake/ctest scripts, (among them
diff --git a/Source/cmMathCommand.h b/Source/cmMathCommand.h
index dc0ceb3..c826ef1 100644
--- a/Source/cmMathCommand.h
+++ b/Source/cmMathCommand.h
@@ -43,28 +43,6 @@ public:
*/
virtual const char* GetName() const { return "math";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Mathematical expressions.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " math(EXPR <output variable> <math expression>)\n"
- "EXPR evaluates mathematical expression and returns result in the "
- "output variable. Example mathematical expression is "
- "'5 * ( 10 + 13 )'. Supported operators are "
- "+ - * / % | & ^ ~ << >> * / %. They have the same meaning "
- " as they do in C code.";
- }
-
cmTypeMacro(cmMathCommand, cmCommand);
protected:
diff --git a/Source/cmMessageCommand.cxx b/Source/cmMessageCommand.cxx
index e1dbf34..d85e720 100644
--- a/Source/cmMessageCommand.cxx
+++ b/Source/cmMessageCommand.cxx
@@ -52,6 +52,23 @@ bool cmMessageCommand
status = true;
++i;
}
+ else if (*i == "DEPRECATION")
+ {
+ if (this->Makefile->IsOn("CMAKE_ERROR_DEPRECATED"))
+ {
+ fatal = true;
+ type = cmake::DEPRECATION_ERROR;
+ }
+ else if (this->Makefile->IsOn("CMAKE_WARN_DEPRECATED"))
+ {
+ type = cmake::DEPRECATION_WARNING;
+ }
+ else
+ {
+ return true;
+ }
+ ++i;
+ }
for(;i != args.end(); ++i)
{
diff --git a/Source/cmMessageCommand.h b/Source/cmMessageCommand.h
index fc61810..fec9a32 100644
--- a/Source/cmMessageCommand.h
+++ b/Source/cmMessageCommand.h
@@ -46,45 +46,6 @@ public:
*/
virtual bool IsScriptable() const { return true; }
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Display a message to the user.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " message([STATUS|WARNING|AUTHOR_WARNING|FATAL_ERROR|SEND_ERROR]\n"
- " \"message to display\" ...)\n"
- "The optional keyword determines the type of message:\n"
- " (none) = Important information\n"
- " STATUS = Incidental information\n"
- " WARNING = CMake Warning, continue processing\n"
- " AUTHOR_WARNING = CMake Warning (dev), continue processing\n"
- " SEND_ERROR = CMake Error, continue processing,\n"
- " but skip generation\n"
- " FATAL_ERROR = CMake Error, stop processing and generation\n"
- "The CMake command-line tool displays STATUS messages on stdout "
- "and all other message types on stderr. "
- "The CMake GUI displays all messages in its log area. "
- "The interactive dialogs (ccmake and CMakeSetup) show STATUS messages "
- "one at a time on a status line and other messages in interactive "
- "pop-up boxes."
- "\n"
- "CMake Warning and Error message text displays using a simple "
- "markup language. "
- "Non-indented text is formatted in line-wrapped paragraphs delimited "
- "by newlines. "
- "Indented text is considered pre-formatted."
- ;
- }
-
cmTypeMacro(cmMessageCommand, cmCommand);
};
diff --git a/Source/cmNewLineStyle.cxx b/Source/cmNewLineStyle.cxx
index 6f7b6a9..a7d7429 100644
--- a/Source/cmNewLineStyle.cxx
+++ b/Source/cmNewLineStyle.cxx
@@ -78,7 +78,7 @@ const std::string cmNewLineStyle::GetCharacters() const
return "\r\n";
default:
;
- };
+ }
return "";
}
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx
index 57adeba..73ba815 100644
--- a/Source/cmNinjaNormalTargetGenerator.cxx
+++ b/Source/cmNinjaNormalTargetGenerator.cxx
@@ -17,6 +17,7 @@
#include "cmGeneratedFileStream.h"
#include "cmMakefile.h"
#include "cmOSXBundleGenerator.h"
+#include "cmGeneratorTarget.h"
#include <assert.h>
#include <algorithm>
@@ -27,8 +28,8 @@
cmNinjaNormalTargetGenerator::
-cmNinjaNormalTargetGenerator(cmTarget* target)
- : cmNinjaTargetGenerator(target)
+cmNinjaNormalTargetGenerator(cmGeneratorTarget* target)
+ : cmNinjaTargetGenerator(target->Target)
, TargetNameOut()
, TargetNameSO()
, TargetNameReal()
@@ -36,15 +37,16 @@ cmNinjaNormalTargetGenerator(cmTarget* target)
, TargetNamePDB()
, TargetLinkLanguage(0)
{
- this->TargetLinkLanguage = target->GetLinkerLanguage(this->GetConfigName());
+ this->TargetLinkLanguage = target->Target
+ ->GetLinkerLanguage(this->GetConfigName());
if (target->GetType() == cmTarget::EXECUTABLE)
- target->GetExecutableNames(this->TargetNameOut,
+ target->Target->GetExecutableNames(this->TargetNameOut,
this->TargetNameReal,
this->TargetNameImport,
this->TargetNamePDB,
GetLocalGenerator()->GetConfigName());
else
- target->GetLibraryNames(this->TargetNameOut,
+ target->Target->GetLibraryNames(this->TargetNameOut,
this->TargetNameSO,
this->TargetNameReal,
this->TargetNameImport,
@@ -55,7 +57,7 @@ cmNinjaNormalTargetGenerator(cmTarget* target)
{
// on Windows the output dir is already needed at compile time
// ensure the directory exists (OutDir test)
- EnsureDirectoryExists(target->GetDirectory(this->GetConfigName()));
+ EnsureDirectoryExists(target->Target->GetDirectory(this->GetConfigName()));
}
this->OSXBundleGenerator = new cmOSXBundleGenerator(target,
@@ -261,8 +263,11 @@ cmNinjaNormalTargetGenerator
description.str(),
comment.str(),
/*depfile*/ "",
+ /*deptype*/ "",
rspfile,
- rspcontent);
+ rspcontent,
+ /*restat*/ false,
+ /*generator*/ false);
}
if (this->TargetNameOut != this->TargetNameReal &&
@@ -277,14 +282,28 @@ cmNinjaNormalTargetGenerator
" -E cmake_symlink_executable"
" $in $out && $POST_BUILD",
"Creating executable symlink $out",
- "Rule for creating executable symlink.");
+ "Rule for creating "
+ "executable symlink.",
+ /*depfile*/ "",
+ /*deptype*/ "",
+ /*rspfile*/ "",
+ /*rspcontent*/ "",
+ /*restat*/ false,
+ /*generator*/ false);
else
this->GetGlobalGenerator()->AddRule("CMAKE_SYMLINK_LIBRARY",
cmakeCommand +
" -E cmake_symlink_library"
" $in $SONAME $out && $POST_BUILD",
"Creating library symlink $out",
- "Rule for creating library symlink.");
+ "Rule for creating "
+ "library symlink.",
+ /*depfile*/ "",
+ /*deptype*/ "",
+ /*rspfile*/ "",
+ /*rspcontent*/ "",
+ /*restat*/ false,
+ /*generator*/ false);
}
}
@@ -445,6 +464,8 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
linkPath,
this->GetGeneratorTarget());
+ this->addPoolNinjaVariable("JOB_POOL_LINK", this->GetTarget(), vars);
+
this->AddModuleDefinitionFlag(vars["LINK_FLAGS"]);
vars["LINK_FLAGS"] = cmGlobalNinjaGenerator
::EncodeLiteral(vars["LINK_FLAGS"]);
@@ -517,7 +538,7 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
std::replace(linkLibraries.begin(), linkLibraries.end(), '\\', '/');
}
- std::vector<cmCustomCommand> *cmdLists[3] = {
+ const std::vector<cmCustomCommand> *cmdLists[3] = {
&this->GetTarget()->GetPreBuildCommands(),
&this->GetTarget()->GetPreLinkCommands(),
&this->GetTarget()->GetPostBuildCommands()
diff --git a/Source/cmNinjaNormalTargetGenerator.h b/Source/cmNinjaNormalTargetGenerator.h
index 284804b..c7a089c 100644
--- a/Source/cmNinjaNormalTargetGenerator.h
+++ b/Source/cmNinjaNormalTargetGenerator.h
@@ -21,11 +21,12 @@
class cmSourceFile;
class cmOSXBundleGenerator;
+class cmGeneratorTarget;
class cmNinjaNormalTargetGenerator : public cmNinjaTargetGenerator
{
public:
- cmNinjaNormalTargetGenerator(cmTarget* target);
+ cmNinjaNormalTargetGenerator(cmGeneratorTarget* target);
~cmNinjaNormalTargetGenerator();
void Generate();
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx
index 9c8b481..900af8d 100644
--- a/Source/cmNinjaTargetGenerator.cxx
+++ b/Source/cmNinjaTargetGenerator.cxx
@@ -26,7 +26,7 @@
#include <algorithm>
cmNinjaTargetGenerator *
-cmNinjaTargetGenerator::New(cmTarget* target)
+cmNinjaTargetGenerator::New(cmGeneratorTarget* target)
{
switch (target->GetType())
{
@@ -44,7 +44,7 @@ cmNinjaTargetGenerator::New(cmTarget* target)
// We only want to process global targets that live in the home
// (i.e. top-level) directory. CMake creates copies of these targets
// in every directory, which we don't need.
- cmMakefile *mf = target->GetMakefile();
+ cmMakefile *mf = target->Target->GetMakefile();
if (strcmp(mf->GetStartDirectory(), mf->GetHomeDirectory()) == 0)
return new cmNinjaUtilityTargetGenerator(target);
// else fallthrough
@@ -129,15 +129,6 @@ std::string
cmNinjaTargetGenerator::ComputeFlagsForObject(cmSourceFile *source,
const std::string& language)
{
- std::string flags;
-
- this->AddFeatureFlags(flags, language.c_str());
-
- this->GetLocalGenerator()->AddArchitectureFlags(flags,
- this->GeneratorTarget,
- language.c_str(),
- this->GetConfigName());
-
// TODO: Fortran support.
// // Fortran-specific flags computed for this target.
// if(*l == "Fortran")
@@ -145,48 +136,77 @@ cmNinjaTargetGenerator::ComputeFlagsForObject(cmSourceFile *source,
// this->AddFortranFlags(flags);
// }
- // Add shared-library flags if needed.
- this->LocalGenerator->AddCMP0018Flags(flags, this->Target,
- language.c_str(),
- this->GetConfigName());
+ bool hasLangCached = this->LanguageFlags.count(language) != 0;
+ std::string& languageFlags = this->LanguageFlags[language];
+ if(!hasLangCached)
+ {
+ this->AddFeatureFlags(languageFlags, language.c_str());
+
+ this->GetLocalGenerator()->AddArchitectureFlags(languageFlags,
+ this->GeneratorTarget,
+ language.c_str(),
+ this->GetConfigName());
+
+ // Add shared-library flags if needed.
+ this->LocalGenerator->AddCMP0018Flags(languageFlags, this->Target,
+ language,
+ this->GetConfigName());
+
+ this->LocalGenerator->AddVisibilityPresetFlags(languageFlags, this->Target,
+ language.c_str());
+
+ std::vector<std::string> includes;
+ this->LocalGenerator->GetIncludeDirectories(includes,
+ this->GeneratorTarget,
+ language.c_str(),
+ this->GetConfigName());
+ // Add include directory flags.
+ std::string includeFlags =
+ this->LocalGenerator->GetIncludeFlags(includes, this->GeneratorTarget,
+ language.c_str(),
+ language == "RC" ? true : false); // full include paths for RC
+ // needed by cmcldeps
+ if(cmGlobalNinjaGenerator::IsMinGW())
+ cmSystemTools::ReplaceString(includeFlags, "\\", "/");
+
+ this->LocalGenerator->AppendFlags(languageFlags, includeFlags.c_str());
+
+ // Append old-style preprocessor definition flags.
+ this->LocalGenerator->AppendFlags(languageFlags,
+ this->Makefile->GetDefineFlags());
+
+ // Add target-specific flags.
+ this->LocalGenerator->AddCompileOptions(languageFlags, this->Target,
+ language.c_str(),
+ this->GetConfigName());
+ }
- this->LocalGenerator->AddVisibilityPresetFlags(flags, this->Target,
- language.c_str());
+ std::string flags = languageFlags;
- // Add include directory flags.
- const char *config = this->Makefile->GetDefinition("CMAKE_BUILD_TYPE");
- {
- std::vector<std::string> includes;
- this->LocalGenerator->GetIncludeDirectories(includes,
- this->GeneratorTarget,
- language.c_str(), config);
- std::string includeFlags =
- this->LocalGenerator->GetIncludeFlags(includes, this->GeneratorTarget,
- language.c_str(),
- language == "RC" ? true : false); // full include paths for RC
- // needed by cmcldeps
- if(cmGlobalNinjaGenerator::IsMinGW())
- cmSystemTools::ReplaceString(includeFlags, "\\", "/");
-
- this->LocalGenerator->AppendFlags(flags, includeFlags.c_str());
- }
+ // Add source file specific flags.
+ this->LocalGenerator->AppendFlags(flags,
+ source->GetProperty("COMPILE_FLAGS"));
- // Append old-style preprocessor definition flags.
- this->LocalGenerator->AppendFlags(flags, this->Makefile->GetDefineFlags());
+ // TODO: Handle Apple frameworks.
- // Add target-specific flags.
- this->LocalGenerator->AddCompileOptions(flags, this->Target,
- language.c_str(), config);
+ return flags;
+}
- // Add source file specific flags.
- this->LocalGenerator->AppendFlags(flags,
- source->GetProperty("COMPILE_FLAGS"));
- // TODO: Handle Apple frameworks.
+bool cmNinjaTargetGenerator::needsDepFile(const std::string& lang)
+{
+ cmMakefile* mf = this->GetMakefile();
- return flags;
+ const bool usingMSVC = std::string("MSVC") ==
+ (mf->GetDefinition("CMAKE_C_COMPILER_ID") ?
+ mf->GetSafeDefinition("CMAKE_C_COMPILER_ID") :
+ mf->GetSafeDefinition("CMAKE_CXX_COMPILER_ID"));
+
+ return !usingMSVC || lang == "RC";
}
+
+
// TODO: Refactor with
// void cmMakefileTargetGenerator::WriteTargetLanguageFlags().
std::string
@@ -261,7 +281,8 @@ cmNinjaTargetGenerator
std::string path = this->LocalGenerator->GetHomeRelativeOutputPath();
if(!path.empty())
path += "/";
- std::string const& objectName = this->GeneratorTarget->Objects[source];
+ std::string const& objectName = this->GeneratorTarget
+ ->GetObjectName(source);
path += this->LocalGenerator->GetTargetDirectory(*this->Target);
path += "/";
path += objectName;
@@ -331,77 +352,79 @@ cmNinjaTargetGenerator
void
cmNinjaTargetGenerator
-::WriteCompileRule(const std::string& language)
+::WriteCompileRule(const std::string& lang)
{
cmLocalGenerator::RuleVariables vars;
vars.RuleLauncher = "RULE_LAUNCH_COMPILE";
vars.CMTarget = this->GetTarget();
- std::string lang = language;
vars.Language = lang.c_str();
vars.Source = "$in";
vars.Object = "$out";
- std::string flags = "$FLAGS";
vars.Defines = "$DEFINES";
vars.TargetPDB = "$TARGET_PDB";
vars.ObjectDir = "$OBJECT_DIR";
cmMakefile* mf = this->GetMakefile();
- bool useClDeps = false;
- std::string clBinary;
- std::string clDepsBinary;
- std::string clShowPrefix;
- if (lang == "C" || lang == "CXX" || lang == "RC")
+ const std::string cId = mf->GetDefinition("CMAKE_C_COMPILER_ID")
+ ? mf->GetSafeDefinition("CMAKE_C_COMPILER_ID")
+ : mf->GetSafeDefinition("CMAKE_CXX_COMPILER_ID");
+
+ const bool usingMSVC = (cId == "MSVC" || cId == "Intel");
+
+ // Tell ninja dependency format so all deps can be loaded into a database
+ std::string deptype;
+ std::string depfile;
+ std::string cldeps;
+ std::string flags = "$FLAGS";
+ if (usingMSVC)
{
- clDepsBinary = mf->GetSafeDefinition("CMAKE_CMCLDEPS_EXECUTABLE");
- if (!clDepsBinary.empty() && !mf->GetIsSourceFileTryCompile())
+ if (!mf->GetIsSourceFileTryCompile() && lang == "RC")
{
- clShowPrefix = mf->GetSafeDefinition("CMAKE_CL_SHOWINCLUDE_PREFIX");
- clBinary = mf->GetDefinition("CMAKE_C_COMPILER") ?
- mf->GetSafeDefinition("CMAKE_C_COMPILER") :
- mf->GetSafeDefinition("CMAKE_CXX_COMPILER");
- if (!clBinary.empty() && !clShowPrefix.empty())
- {
- useClDeps = true;
- const std::string quote = " \"";
- clBinary = quote + clBinary + "\" ";
- clDepsBinary = quote + clDepsBinary + "\" ";
- clShowPrefix = quote + clShowPrefix + "\" ";
- vars.DependencyFile = "$DEP_FILE";
- }
+ deptype = "gcc";
+ depfile = "$DEP_FILE";
+ const std::string cl = mf->GetDefinition("CMAKE_C_COMPILER") ?
+ mf->GetSafeDefinition("CMAKE_C_COMPILER") :
+ mf->GetSafeDefinition("CMAKE_CXX_COMPILER");
+ cldeps = "\"";
+ cldeps += mf->GetSafeDefinition("CMAKE_CMCLDEPS_EXECUTABLE");
+ cldeps += "\" " + lang + " $in \"$DEP_FILE\" $out \"";
+ cldeps += mf->GetSafeDefinition("CMAKE_CL_SHOWINCLUDES_PREFIX");
+ cldeps += "\" \"" + cl + "\" ";
+ }
+ else
+ {
+ deptype = "msvc";
+ depfile = "";
+ flags += " /showIncludes";
}
}
-
-
- std::string depfile;
- std::string depfileFlagsName = "CMAKE_DEPFILE_FLAGS_" + language;
- const char *depfileFlags = mf->GetDefinition(depfileFlagsName.c_str());
- if (depfileFlags || useClDeps) {
- std::string depFlagsStr = depfileFlags ? depfileFlags : "";
+ else
+ {
+ deptype = "gcc";
depfile = "$DEP_FILE";
- cmSystemTools::ReplaceString(depFlagsStr, "<DEPFILE>", "\"$DEP_FILE\"");
- cmSystemTools::ReplaceString(depFlagsStr, "<OBJECT>", "$out");
- cmSystemTools::ReplaceString(depFlagsStr, "<CMAKE_C_COMPILER>",
- mf->GetDefinition("CMAKE_C_COMPILER"));
- flags += " " + depFlagsStr;
- }
- vars.Flags = flags.c_str();
+ const std::string flagsName = "CMAKE_DEPFILE_FLAGS_" + lang;
+ std::string depfileFlags = mf->GetSafeDefinition(flagsName.c_str());
+ if (!depfileFlags.empty())
+ {
+ cmSystemTools::ReplaceString(depfileFlags, "<DEPFILE>", "$DEP_FILE");
+ cmSystemTools::ReplaceString(depfileFlags, "<OBJECT>", "$out");
+ cmSystemTools::ReplaceString(depfileFlags, "<CMAKE_C_COMPILER>",
+ mf->GetDefinition("CMAKE_C_COMPILER"));
+ flags += " " + depfileFlags;
+ }
+ }
+ vars.Flags = flags.c_str();
+ vars.DependencyFile = depfile.c_str();
// Rule for compiling object file.
- std::string compileCmdVar = "CMAKE_";
- compileCmdVar += language;
- compileCmdVar += "_COMPILE_OBJECT";
- std::string compileCmd = mf->GetRequiredDefinition(compileCmdVar.c_str());
+ const std::string cmdVar = std::string("CMAKE_") + lang + "_COMPILE_OBJECT";
+ std::string compileCmd = mf->GetRequiredDefinition(cmdVar.c_str());
std::vector<std::string> compileCmds;
cmSystemTools::ExpandListArgument(compileCmd, compileCmds);
- if(useClDeps)
- {
- std::string cmdPrefix = clDepsBinary + lang + " $in \"$DEP_FILE\" $out " +
- clShowPrefix + clBinary;
- compileCmds.front().insert(0, cmdPrefix);
- }
+ compileCmds.front().insert(0, cldeps);
for (std::vector<std::string>::iterator i = compileCmds.begin();
i != compileCmds.end(); ++i)
@@ -413,14 +436,19 @@ cmNinjaTargetGenerator
// Write the rule for compiling file of the given language.
cmOStringStream comment;
- comment << "Rule for compiling " << language << " files.";
+ comment << "Rule for compiling " << lang << " files.";
cmOStringStream description;
- description << "Building " << language << " object $out";
- this->GetGlobalGenerator()->AddRule(this->LanguageCompilerRule(language),
+ description << "Building " << lang << " object $out";
+ this->GetGlobalGenerator()->AddRule(this->LanguageCompilerRule(lang),
cmdLine,
description.str(),
comment.str(),
- depfile);
+ depfile,
+ deptype,
+ /*rspfile*/ "",
+ /*rspcontent*/ "",
+ /*restat*/ false,
+ /*generator*/ false);
}
void
@@ -436,28 +464,37 @@ cmNinjaTargetGenerator
<< this->GetTargetName()
<< "\n\n";
+ std::vector<cmSourceFile*> customCommands;
+ this->GeneratorTarget->GetCustomCommands(customCommands);
for(std::vector<cmSourceFile*>::const_iterator
- si = this->GeneratorTarget->CustomCommands.begin();
- si != this->GeneratorTarget->CustomCommands.end(); ++si)
+ si = customCommands.begin();
+ si != customCommands.end(); ++si)
{
cmCustomCommand const* cc = (*si)->GetCustomCommand();
this->GetLocalGenerator()->AddCustomCommandTarget(cc, this->GetTarget());
}
+ std::vector<cmSourceFile*> headerSources;
+ this->GeneratorTarget->GetHeaderSources(headerSources);
this->OSXBundleGenerator->GenerateMacOSXContentStatements(
- this->GeneratorTarget->HeaderSources,
+ headerSources,
this->MacOSXContentGenerator);
+ std::vector<cmSourceFile*> extraSources;
+ this->GeneratorTarget->GetExtraSources(extraSources);
this->OSXBundleGenerator->GenerateMacOSXContentStatements(
- this->GeneratorTarget->ExtraSources,
+ extraSources,
this->MacOSXContentGenerator);
+ std::vector<cmSourceFile*> externalObjects;
+ this->GeneratorTarget->GetExternalObjects(externalObjects);
for(std::vector<cmSourceFile*>::const_iterator
- si = this->GeneratorTarget->ExternalObjects.begin();
- si != this->GeneratorTarget->ExternalObjects.end(); ++si)
+ si = externalObjects.begin();
+ si != externalObjects.end(); ++si)
{
this->Objects.push_back(this->GetSourceFilePath(*si));
}
+ std::vector<cmSourceFile*> objectSources;
+ this->GeneratorTarget->GetObjectSources(objectSources);
for(std::vector<cmSourceFile*>::const_iterator
- si = this->GeneratorTarget->ObjectSources.begin();
- si != this->GeneratorTarget->ObjectSources.end(); ++si)
+ si = objectSources.begin(); si != objectSources.end(); ++si)
{
this->WriteObjectBuildStatement(*si);
}
@@ -517,9 +554,11 @@ cmNinjaTargetGenerator
}
// Add order-only dependencies on custom command outputs.
+ std::vector<cmSourceFile*> customCommands;
+ this->GeneratorTarget->GetCustomCommands(customCommands);
for(std::vector<cmSourceFile*>::const_iterator
- si = this->GeneratorTarget->CustomCommands.begin();
- si != this->GeneratorTarget->CustomCommands.end(); ++si)
+ si = customCommands.begin();
+ si != customCommands.end(); ++si)
{
cmCustomCommand const* cc = (*si)->GetCustomCommand();
const std::vector<std::string>& ccoutputs = cc->GetOutputs();
@@ -540,7 +579,10 @@ cmNinjaTargetGenerator
cmNinjaVars vars;
vars["FLAGS"] = this->ComputeFlagsForObject(source, language);
vars["DEFINES"] = this->ComputeDefines(source, language);
- vars["DEP_FILE"] = objectFileName + ".d";;
+ if (needsDepFile(language)) {
+ vars["DEP_FILE"] =
+ cmGlobalNinjaGenerator::EncodeDepfileSpace(objectFileName + ".d");
+ }
EnsureParentDirectoryExists(objectFileName);
std::string objectDir = this->Target->GetSupportDirectory();
@@ -548,6 +590,8 @@ cmNinjaTargetGenerator
ConvertToNinjaPath(objectDir.c_str()).c_str(),
cmLocalGenerator::SHELL);
+ this->addPoolNinjaVariable("JOB_POOL_COMPILE", this->GetTarget(), vars);
+
this->SetMsvcTargetPdbVariable(vars);
if(this->Makefile->IsOn("CMAKE_EXPORT_COMPILE_COMMANDS"))
@@ -701,3 +745,14 @@ cmNinjaTargetGenerator::MacOSXContentGeneratorType::operator()(
// Add as a dependency of all target so that it gets called.
this->Generator->GetGlobalGenerator()->AddDependencyToAll(output);
}
+
+void cmNinjaTargetGenerator::addPoolNinjaVariable(const char* pool_property,
+ cmTarget* target,
+ cmNinjaVars& vars)
+{
+ const char* pool = target->GetProperty(pool_property);
+ if (pool)
+ {
+ vars["pool"] = pool;
+ }
+}
diff --git a/Source/cmNinjaTargetGenerator.h b/Source/cmNinjaTargetGenerator.h
index cf06bfd..43f2279 100644
--- a/Source/cmNinjaTargetGenerator.h
+++ b/Source/cmNinjaTargetGenerator.h
@@ -30,7 +30,7 @@ class cmNinjaTargetGenerator
{
public:
/// Create a cmNinjaTargetGenerator according to the @a target's type.
- static cmNinjaTargetGenerator* New(cmTarget* target);
+ static cmNinjaTargetGenerator* New(cmGeneratorTarget* target);
/// Build a NinjaTargetGenerator.
cmNinjaTargetGenerator(cmTarget* target);
@@ -42,6 +42,8 @@ public:
std::string GetTargetName() const;
+ bool needsDepFile(const std::string& lang);
+
protected:
bool SetMsvcTargetPdbVariable(cmNinjaVars&) const;
@@ -134,12 +136,15 @@ protected:
};
friend struct MacOSXContentGeneratorType;
-protected:
+
MacOSXContentGeneratorType* MacOSXContentGenerator;
// Properly initialized by sub-classes.
cmOSXBundleGenerator* OSXBundleGenerator;
std::set<cmStdString> MacContentFolders;
+ void addPoolNinjaVariable(const char* pool_property,
+ cmTarget* target,
+ cmNinjaVars& vars);
private:
cmTarget* Target;
@@ -149,6 +154,9 @@ private:
/// List of object files for this target.
cmNinjaDeps Objects;
+ typedef std::map<std::string, std::string> LanguageFlagMap;
+ LanguageFlagMap LanguageFlags;
+
// The windows module definition source file (.def), if any.
std::string ModuleDefinitionFile;
};
diff --git a/Source/cmNinjaUtilityTargetGenerator.cxx b/Source/cmNinjaUtilityTargetGenerator.cxx
index 755ce6e..1a7b445 100644
--- a/Source/cmNinjaUtilityTargetGenerator.cxx
+++ b/Source/cmNinjaUtilityTargetGenerator.cxx
@@ -18,8 +18,9 @@
#include "cmSourceFile.h"
#include "cmTarget.h"
-cmNinjaUtilityTargetGenerator::cmNinjaUtilityTargetGenerator(cmTarget *target)
- : cmNinjaTargetGenerator(target) {}
+cmNinjaUtilityTargetGenerator::cmNinjaUtilityTargetGenerator(
+ cmGeneratorTarget *target)
+ : cmNinjaTargetGenerator(target->Target) {}
cmNinjaUtilityTargetGenerator::~cmNinjaUtilityTargetGenerator() {}
@@ -41,8 +42,8 @@ void cmNinjaUtilityTargetGenerator::Generate()
}
}
- const std::vector<cmSourceFile*>& sources =
- this->GetTarget()->GetSourceFiles();
+ std::vector<cmSourceFile*> sources;
+ this->GetTarget()->GetSourceFiles(sources);
for(std::vector<cmSourceFile*>::const_iterator source = sources.begin();
source != sources.end(); ++source)
{
diff --git a/Source/cmNinjaUtilityTargetGenerator.h b/Source/cmNinjaUtilityTargetGenerator.h
index 8b82ce4..add0291 100644
--- a/Source/cmNinjaUtilityTargetGenerator.h
+++ b/Source/cmNinjaUtilityTargetGenerator.h
@@ -21,7 +21,7 @@ class cmSourceFile;
class cmNinjaUtilityTargetGenerator : public cmNinjaTargetGenerator
{
public:
- cmNinjaUtilityTargetGenerator(cmTarget* target);
+ cmNinjaUtilityTargetGenerator(cmGeneratorTarget* target);
~cmNinjaUtilityTargetGenerator();
void Generate();
diff --git a/Source/cmOSXBundleGenerator.cxx b/Source/cmOSXBundleGenerator.cxx
index a475c7c..9a340dc 100644
--- a/Source/cmOSXBundleGenerator.cxx
+++ b/Source/cmOSXBundleGenerator.cxx
@@ -18,10 +18,10 @@
//----------------------------------------------------------------------------
cmOSXBundleGenerator::
-cmOSXBundleGenerator(cmTarget* target,
+cmOSXBundleGenerator(cmGeneratorTarget* target,
const char* configName)
- : Target(target)
- , Makefile(target->GetMakefile())
+ : Target(target->Target)
+ , Makefile(target->Target->GetMakefile())
, LocalGenerator(Makefile->GetLocalGenerator())
, ConfigName(configName)
, MacContentFolders(0)
diff --git a/Source/cmOSXBundleGenerator.h b/Source/cmOSXBundleGenerator.h
index ec82b9a..29b7611 100644
--- a/Source/cmOSXBundleGenerator.h
+++ b/Source/cmOSXBundleGenerator.h
@@ -21,11 +21,12 @@
class cmTarget;
class cmMakefile;
class cmLocalGenerator;
+class cmGeneratorTarget;
class cmOSXBundleGenerator
{
public:
- cmOSXBundleGenerator(cmTarget* target,
+ cmOSXBundleGenerator(cmGeneratorTarget* target,
const char* configName);
// create an app bundle at a given root, and return
diff --git a/Source/cmOptionCommand.h b/Source/cmOptionCommand.h
index 7d02400..89e3ac1 100644
--- a/Source/cmOptionCommand.h
+++ b/Source/cmOptionCommand.h
@@ -43,29 +43,6 @@ public:
virtual const char* GetName() const {return "option";}
/**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Provides an option that the user can optionally select.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " option(<option_variable> \"help string describing option\"\n"
- " [initial value])\n"
- "Provide an option for the user to select as ON or OFF. If no "
- "initial value is provided, OFF is used.\n"
- "If you have options that depend on the values of other "
- "options, see the module help for CMakeDependentOption."
- ;
- }
-
- /**
* This determines if the command is invoked when in script mode.
*/
virtual bool IsScriptable() const { return true; }
diff --git a/Source/cmOrderDirectories.cxx b/Source/cmOrderDirectories.cxx
index 0220825..86beb97 100644
--- a/Source/cmOrderDirectories.cxx
+++ b/Source/cmOrderDirectories.cxx
@@ -273,7 +273,7 @@ bool cmOrderDirectoriesConstraintLibrary::FindConflict(std::string const& dir)
//----------------------------------------------------------------------------
cmOrderDirectories::cmOrderDirectories(cmGlobalGenerator* gg,
- cmTarget* target,
+ cmTarget const* target,
const char* purpose)
{
this->GlobalGenerator = gg;
diff --git a/Source/cmOrderDirectories.h b/Source/cmOrderDirectories.h
index 96a75de..76bf429 100644
--- a/Source/cmOrderDirectories.h
+++ b/Source/cmOrderDirectories.h
@@ -27,7 +27,7 @@ class cmTarget;
class cmOrderDirectories
{
public:
- cmOrderDirectories(cmGlobalGenerator* gg, cmTarget* target,
+ cmOrderDirectories(cmGlobalGenerator* gg, cmTarget const* target,
const char* purpose);
~cmOrderDirectories();
void AddRuntimeLibrary(std::string const& fullPath, const char* soname = 0);
@@ -41,7 +41,7 @@ public:
std::vector<std::string> const& GetOrderedDirectories();
private:
cmGlobalGenerator* GlobalGenerator;
- cmTarget* Target;
+ cmTarget const* Target;
std::string Purpose;
bool Computed;
diff --git a/Source/cmOutputRequiredFilesCommand.cxx b/Source/cmOutputRequiredFilesCommand.cxx
index 01fc2cf..c0d9e99 100644
--- a/Source/cmOutputRequiredFilesCommand.cxx
+++ b/Source/cmOutputRequiredFilesCommand.cxx
@@ -11,6 +11,7 @@
============================================================================*/
#include "cmOutputRequiredFilesCommand.h"
#include "cmMakeDepend.h"
+#include <cmsys/FStream.hxx>
class cmLBDepend : public cmMakeDepend
{
@@ -22,7 +23,7 @@ class cmLBDepend : public cmMakeDepend
void cmLBDepend::DependWalk(cmDependInformation* info)
{
- std::ifstream fin(info->FullPath.c_str());
+ cmsys::ifstream fin(info->FullPath.c_str());
if(!fin)
{
cmSystemTools::Error("error can not open ", info->FullPath.c_str());
@@ -32,7 +33,7 @@ void cmLBDepend::DependWalk(cmDependInformation* info)
std::string line;
while(cmSystemTools::GetLineFromStream(fin, line))
{
- if(!strncmp(line.c_str(), "#include", 8))
+ if(cmHasLiteralPrefix(line.c_str(), "#include"))
{
// if it is an include line then create a string class
std::string currentline = line;
@@ -174,6 +175,9 @@ void cmLBDepend::DependWalk(cmDependInformation* info)
bool cmOutputRequiredFilesCommand
::InitialPass(std::vector<std::string> const& args, cmExecutionStatus &)
{
+ if(this->Disallowed(cmPolicies::CMP0032,
+ "The output_required_files command should not be called; see CMP0032."))
+ { return true; }
if(args.size() != 2 )
{
this->SetError("called with incorrect number of arguments");
@@ -193,7 +197,7 @@ bool cmOutputRequiredFilesCommand
if (info)
{
// write them out
- FILE *fout = fopen(this->OutputFile.c_str(),"w");
+ FILE *fout = cmsys::SystemTools::Fopen(this->OutputFile.c_str(),"w");
if(!fout)
{
std::string err = "Can not open output file: ";
diff --git a/Source/cmOutputRequiredFilesCommand.h b/Source/cmOutputRequiredFilesCommand.h
index 1d7e394..dd5ed6c 100644
--- a/Source/cmOutputRequiredFilesCommand.h
+++ b/Source/cmOutputRequiredFilesCommand.h
@@ -15,69 +15,19 @@
#include "cmCommand.h"
#include "cmMakeDepend.h"
-/** \class cmOutputRequiredFilesCommand
- * \brief Output a list of required files for a source file
- *
- */
class cmOutputRequiredFilesCommand : public cmCommand
{
public:
- /**
- * This is a virtual constructor for the command.
- */
- virtual cmCommand* Clone()
- {
- return new cmOutputRequiredFilesCommand;
- }
-
- /**
- * This is called when the command is first encountered in
- * the CMakeLists.txt file.
- */
+ cmTypeMacro(cmOutputRequiredFilesCommand, cmCommand);
+ virtual cmCommand* Clone() { return new cmOutputRequiredFilesCommand; }
virtual bool InitialPass(std::vector<std::string> const& args,
cmExecutionStatus &status);
-
- /**
- * The name of the command as specified in CMakeList.txt.
- */
virtual const char* GetName() const { return "output_required_files";}
+ virtual bool IsDiscouraged() const { return true; }
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Deprecated. Approximate C preprocessor dependency scanning.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- "This command exists only because ancient CMake versions provided it. "
- "CMake handles preprocessor dependency scanning automatically using a "
- "more advanced scanner.\n"
- " output_required_files(srcfile outputfile)\n"
- "Outputs a list of all the source files that are required by the "
- "specified srcfile. This list is written into outputfile. This is "
- "similar to writing out the dependencies for srcfile except that it "
- "jumps from .h files into .cxx, .c and .cpp files if possible.";
- }
-
- /** This command is kept for compatibility with older CMake versions. */
- virtual bool IsDiscouraged() const
- {
- return true;
- }
-
-
- cmTypeMacro(cmOutputRequiredFilesCommand, cmCommand);
void ListDependencies(cmDependInformation const *info,
FILE *fout,
std::set<cmDependInformation const*> *visited);
-
private:
std::string File;
std::string OutputFile;
diff --git a/Source/cmPolicies.cxx b/Source/cmPolicies.cxx
index a823f05..93072f5 100644
--- a/Source/cmPolicies.cxx
+++ b/Source/cmPolicies.cxx
@@ -19,27 +19,23 @@ public:
cmPolicy(cmPolicies::PolicyID iD,
const char *idString,
const char *shortDescription,
- const char *longDescription,
unsigned int majorVersionIntroduced,
unsigned int minorVersionIntroduced,
unsigned int patchVersionIntroduced,
- unsigned int tweakVersionIntroduced,
cmPolicies::PolicyStatus status)
{
- if (!idString || !shortDescription || ! longDescription)
- {
+ if (!idString || !shortDescription)
+ {
cmSystemTools::Error("Attempt to define a policy without "
"all parameters being specified!");
return;
- }
+ }
this->ID = iD;
this->IDString = idString;
this->ShortDescription = shortDescription;
- this->LongDescription = longDescription;
this->MajorVersionIntroduced = majorVersionIntroduced;
this->MinorVersionIntroduced = minorVersionIntroduced;
this->PatchVersionIntroduced = patchVersionIntroduced;
- this->TweakVersionIntroduced = tweakVersionIntroduced;
this->Status = status;
}
@@ -47,54 +43,42 @@ public:
{
cmOStringStream v;
v << this->MajorVersionIntroduced << "." << this->MinorVersionIntroduced;
- v << "." << this->PatchVersionIntroduced;
- if(this->TweakVersionIntroduced > 0)
+ if(this->PatchVersionIntroduced > 0)
{
- v << "." << this->TweakVersionIntroduced;
+ v << "." << this->PatchVersionIntroduced;
}
return v.str();
}
bool IsPolicyNewerThan(unsigned int majorV,
unsigned int minorV,
- unsigned int patchV,
- unsigned int tweakV)
+ unsigned int patchV)
{
if (majorV < this->MajorVersionIntroduced)
- {
+ {
return true;
- }
+ }
if (majorV > this->MajorVersionIntroduced)
- {
+ {
return false;
- }
+ }
if (minorV < this->MinorVersionIntroduced)
- {
+ {
return true;
- }
+ }
if (minorV > this->MinorVersionIntroduced)
- {
- return false;
- }
- if (patchV < this->PatchVersionIntroduced)
- {
- return true;
- }
- if (patchV > this->PatchVersionIntroduced)
- {
+ {
return false;
- }
- return (tweakV < this->TweakVersionIntroduced);
+ }
+ return (patchV < this->PatchVersionIntroduced);
}
cmPolicies::PolicyID ID;
std::string IDString;
std::string ShortDescription;
- std::string LongDescription;
unsigned int MajorVersionIntroduced;
unsigned int MinorVersionIntroduced;
unsigned int PatchVersionIntroduced;
- unsigned int TweakVersionIntroduced;
cmPolicies::PolicyStatus Status;
};
@@ -104,503 +88,261 @@ cmPolicies::cmPolicies()
this->DefinePolicy(
CMP0000, "CMP0000",
"A minimum required CMake version must be specified.",
- "CMake requires that projects specify the version of CMake to which "
- "they have been written. "
- "This policy has been put in place so users trying to build the project "
- "may be told when they need to update their CMake. "
- "Specifying a version also helps the project build with CMake versions "
- "newer than that specified. "
- "Use the cmake_minimum_required command at the top of your main "
- " CMakeLists.txt file:\n"
- " cmake_minimum_required(VERSION <major>.<minor>)\n"
- "where \"<major>.<minor>\" is the version of CMake you want to support "
- "(such as \"2.6\"). "
- "The command will ensure that at least the given version of CMake is "
- "running and help newer versions be compatible with the project. "
- "See documentation of cmake_minimum_required for details.\n"
- "Note that the command invocation must appear in the CMakeLists.txt "
- "file itself; a call in an included file is not sufficient. "
- "However, the cmake_policy command may be called to set policy "
- "CMP0000 to OLD or NEW behavior explicitly. "
- "The OLD behavior is to silently ignore the missing invocation. "
- "The NEW behavior is to issue an error instead of a warning. "
- "An included file may set CMP0000 explicitly to affect how this "
- "policy is enforced for the main CMakeLists.txt file.",
- 2,6,0,0, cmPolicies::WARN
+ 2,6,0, cmPolicies::WARN
);
this->DefinePolicy(
CMP0001, "CMP0001",
"CMAKE_BACKWARDS_COMPATIBILITY should no longer be used.",
- "The OLD behavior is to check CMAKE_BACKWARDS_COMPATIBILITY and present "
- "it to the user. "
- "The NEW behavior is to ignore CMAKE_BACKWARDS_COMPATIBILITY "
- "completely.\n"
- "In CMake 2.4 and below the variable CMAKE_BACKWARDS_COMPATIBILITY was "
- "used to request compatibility with earlier versions of CMake. "
- "In CMake 2.6 and above all compatibility issues are handled by policies "
- "and the cmake_policy command. "
- "However, CMake must still check CMAKE_BACKWARDS_COMPATIBILITY for "
- "projects written for CMake 2.4 and below.",
- 2,6,0,0, cmPolicies::WARN
+ 2,6,0, cmPolicies::WARN
);
this->DefinePolicy(
CMP0002, "CMP0002",
"Logical target names must be globally unique.",
- "Targets names created with "
- "add_executable, add_library, or add_custom_target "
- "are logical build target names. "
- "Logical target names must be globally unique because:\n"
- " - Unique names may be referenced unambiguously both in CMake\n"
- " code and on make tool command lines.\n"
- " - Logical names are used by Xcode and VS IDE generators\n"
- " to produce meaningful project names for the targets.\n"
- "The logical name of executable and library targets does not "
- "have to correspond to the physical file names built. "
- "Consider using the OUTPUT_NAME target property to create two "
- "targets with the same physical name while keeping logical "
- "names distinct. "
- "Custom targets must simply have globally unique names (unless one "
- "uses the global property ALLOW_DUPLICATE_CUSTOM_TARGETS with a "
- "Makefiles generator).",
- 2,6,0,0, cmPolicies::WARN
+ 2,6,0, cmPolicies::WARN
);
this->DefinePolicy(
CMP0003, "CMP0003",
"Libraries linked via full path no longer produce linker search paths.",
- "This policy affects how libraries whose full paths are NOT known "
- "are found at link time, but was created due to a change in how CMake "
- "deals with libraries whose full paths are known. "
- "Consider the code\n"
- " target_link_libraries(myexe /path/to/libA.so)\n"
- "CMake 2.4 and below implemented linking to libraries whose full paths "
- "are known by splitting them on the link line into separate components "
- "consisting of the linker search path and the library name. "
- "The example code might have produced something like\n"
- " ... -L/path/to -lA ...\n"
- "in order to link to library A. "
- "An analysis was performed to order multiple link directories such that "
- "the linker would find library A in the desired location, but there "
- "are cases in which this does not work. "
- "CMake versions 2.6 and above use the more reliable approach of passing "
- "the full path to libraries directly to the linker in most cases. "
- "The example code now produces something like\n"
- " ... /path/to/libA.so ....\n"
- "Unfortunately this change can break code like\n"
- " target_link_libraries(myexe /path/to/libA.so B)\n"
- "where \"B\" is meant to find \"/path/to/libB.so\". "
- "This code is wrong because the user is asking the linker to find "
- "library B but has not provided a linker search path (which may be "
- "added with the link_directories command). "
- "However, with the old linking implementation the code would work "
- "accidentally because the linker search path added for library A "
- "allowed library B to be found."
- "\n"
- "In order to support projects depending on linker search paths "
- "added by linking to libraries with known full paths, the OLD "
- "behavior for this policy will add the linker search paths even "
- "though they are not needed for their own libraries. "
- "When this policy is set to OLD, CMake will produce a link line such as\n"
- " ... -L/path/to /path/to/libA.so -lB ...\n"
- "which will allow library B to be found as it was previously. "
- "When this policy is set to NEW, CMake will produce a link line such as\n"
- " ... /path/to/libA.so -lB ...\n"
- "which more accurately matches what the project specified."
- "\n"
- "The setting for this policy used when generating the link line is that "
- "in effect when the target is created by an add_executable or "
- "add_library command. For the example described above, the code\n"
- " cmake_policy(SET CMP0003 OLD) # or cmake_policy(VERSION 2.4)\n"
- " add_executable(myexe myexe.c)\n"
- " target_link_libraries(myexe /path/to/libA.so B)\n"
- "will work and suppress the warning for this policy. "
- "It may also be updated to work with the corrected linking approach:\n"
- " cmake_policy(SET CMP0003 NEW) # or cmake_policy(VERSION 2.6)\n"
- " link_directories(/path/to) # needed to find library B\n"
- " add_executable(myexe myexe.c)\n"
- " target_link_libraries(myexe /path/to/libA.so B)\n"
- "Even better, library B may be specified with a full path:\n"
- " add_executable(myexe myexe.c)\n"
- " target_link_libraries(myexe /path/to/libA.so /path/to/libB.so)\n"
- "When all items on the link line have known paths CMake does not check "
- "this policy so it has no effect.\n"
- "Note that the warning for this policy will be issued for at most "
- "one target. This avoids flooding users with messages for every "
- "target when setting the policy once will probably fix all targets.",
- 2,6,0,0, cmPolicies::WARN);
+ 2,6,0, cmPolicies::WARN);
this->DefinePolicy(
CMP0004, "CMP0004",
"Libraries linked may not have leading or trailing whitespace.",
- "CMake versions 2.4 and below silently removed leading and trailing "
- "whitespace from libraries linked with code like\n"
- " target_link_libraries(myexe \" A \")\n"
- "This could lead to subtle errors in user projects.\n"
- "The OLD behavior for this policy is to silently remove leading and "
- "trailing whitespace. "
- "The NEW behavior for this policy is to diagnose the existence of "
- "such whitespace as an error. "
- "The setting for this policy used when checking the library names is "
- "that in effect when the target is created by an add_executable or "
- "add_library command.",
- 2,6,0,0, cmPolicies::WARN);
+ 2,6,0, cmPolicies::WARN);
this->DefinePolicy(
CMP0005, "CMP0005",
"Preprocessor definition values are now escaped automatically.",
- "This policy determines whether or not CMake should generate escaped "
- "preprocessor definition values added via add_definitions. "
- "CMake versions 2.4 and below assumed that only trivial values would "
- "be given for macros in add_definitions calls. "
- "It did not attempt to escape non-trivial values such as string "
- "literals in generated build rules. "
- "CMake versions 2.6 and above support escaping of most values, but "
- "cannot assume the user has not added escapes already in an attempt to "
- "work around limitations in earlier versions.\n"
- "The OLD behavior for this policy is to place definition values given "
- "to add_definitions directly in the generated build rules without "
- "attempting to escape anything. "
- "The NEW behavior for this policy is to generate correct escapes "
- "for all native build tools automatically. "
- "See documentation of the COMPILE_DEFINITIONS target property for "
- "limitations of the escaping implementation.",
- 2,6,0,0, cmPolicies::WARN);
+ 2,6,0, cmPolicies::WARN);
this->DefinePolicy(
CMP0006, "CMP0006",
"Installing MACOSX_BUNDLE targets requires a BUNDLE DESTINATION.",
- "This policy determines whether the install(TARGETS) command must be "
- "given a BUNDLE DESTINATION when asked to install a target with the "
- "MACOSX_BUNDLE property set. "
- "CMake 2.4 and below did not distinguish application bundles from "
- "normal executables when installing targets. "
- "CMake 2.6 provides a BUNDLE option to the install(TARGETS) command "
- "that specifies rules specific to application bundles on the Mac. "
- "Projects should use this option when installing a target with the "
- "MACOSX_BUNDLE property set.\n"
- "The OLD behavior for this policy is to fall back to the RUNTIME "
- "DESTINATION if a BUNDLE DESTINATION is not given. "
- "The NEW behavior for this policy is to produce an error if a bundle "
- "target is installed without a BUNDLE DESTINATION.",
- 2,6,0,0, cmPolicies::WARN);
+ 2,6,0, cmPolicies::WARN);
this->DefinePolicy(
CMP0007, "CMP0007",
"list command no longer ignores empty elements.",
- "This policy determines whether the list command will "
- "ignore empty elements in the list. "
- "CMake 2.4 and below list commands ignored all empty elements"
- " in the list. For example, a;b;;c would have length 3 and not 4. "
- "The OLD behavior for this policy is to ignore empty list elements. "
- "The NEW behavior for this policy is to correctly count empty "
- "elements in a list. ",
- 2,6,0,0, cmPolicies::WARN);
+ 2,6,0, cmPolicies::WARN);
this->DefinePolicy(
CMP0008, "CMP0008",
"Libraries linked by full-path must have a valid library file name.",
- "In CMake 2.4 and below it is possible to write code like\n"
- " target_link_libraries(myexe /full/path/to/somelib)\n"
- "where \"somelib\" is supposed to be a valid library file name "
- "such as \"libsomelib.a\" or \"somelib.lib\". "
- "For Makefile generators this produces an error at build time "
- "because the dependency on the full path cannot be found. "
- "For VS IDE and Xcode generators this used to work by accident because "
- "CMake would always split off the library directory and ask the "
- "linker to search for the library by name (-lsomelib or somelib.lib). "
- "Despite the failure with Makefiles, some projects have code like this "
- "and build only with VS and/or Xcode. "
- "This version of CMake prefers to pass the full path directly to the "
- "native build tool, which will fail in this case because it does "
- "not name a valid library file."
- "\n"
- "This policy determines what to do with full paths that do not appear "
- "to name a valid library file. "
- "The OLD behavior for this policy is to split the library name from the "
- "path and ask the linker to search for it. "
- "The NEW behavior for this policy is to trust the given path and "
- "pass it directly to the native build tool unchanged.",
- 2,6,1,0, cmPolicies::WARN);
+ 2,6,1, cmPolicies::WARN);
this->DefinePolicy(
CMP0009, "CMP0009",
"FILE GLOB_RECURSE calls should not follow symlinks by default.",
- "In CMake 2.6.1 and below, FILE GLOB_RECURSE calls would follow "
- "through symlinks, sometimes coming up with unexpectedly large "
- "result sets because of symlinks to top level directories that "
- "contain hundreds of thousands of files."
- "\n"
- "This policy determines whether or not to follow symlinks "
- "encountered during a FILE GLOB_RECURSE call. "
- "The OLD behavior for this policy is to follow the symlinks. "
- "The NEW behavior for this policy is not to follow the symlinks "
- "by default, but only if FOLLOW_SYMLINKS is given as an additional "
- "argument to the FILE command.",
- 2,6,2,0, cmPolicies::WARN);
+ 2,6,2, cmPolicies::WARN);
this->DefinePolicy(
CMP0010, "CMP0010",
"Bad variable reference syntax is an error.",
- "In CMake 2.6.2 and below, incorrect variable reference syntax such as "
- "a missing close-brace (\"${FOO\") was reported but did not stop "
- "processing of CMake code. "
- "This policy determines whether a bad variable reference is an error. "
- "The OLD behavior for this policy is to warn about the error, leave "
- "the string untouched, and continue. "
- "The NEW behavior for this policy is to report an error.",
- 2,6,3,0, cmPolicies::WARN);
+ 2,6,3, cmPolicies::WARN);
this->DefinePolicy(
CMP0011, "CMP0011",
"Included scripts do automatic cmake_policy PUSH and POP.",
- "In CMake 2.6.2 and below, CMake Policy settings in scripts loaded by "
- "the include() and find_package() commands would affect the includer. "
- "Explicit invocations of cmake_policy(PUSH) and cmake_policy(POP) were "
- "required to isolate policy changes and protect the includer. "
- "While some scripts intend to affect the policies of their includer, "
- "most do not. "
- "In CMake 2.6.3 and above, include() and find_package() by default PUSH "
- "and POP an entry on the policy stack around an included script, "
- "but provide a NO_POLICY_SCOPE option to disable it. "
- "This policy determines whether or not to imply NO_POLICY_SCOPE for "
- "compatibility. "
- "The OLD behavior for this policy is to imply NO_POLICY_SCOPE for "
- "include() and find_package() commands. "
- "The NEW behavior for this policy is to allow the commands to do their "
- "default cmake_policy PUSH and POP.",
- 2,6,3,0, cmPolicies::WARN);
+ 2,6,3, cmPolicies::WARN);
this->DefinePolicy(
CMP0012, "CMP0012",
"if() recognizes numbers and boolean constants.",
- "In CMake versions 2.6.4 and lower the if() command implicitly "
- "dereferenced arguments corresponding to variables, even those named "
- "like numbers or boolean constants, except for 0 and 1. "
- "Numbers and boolean constants such as true, false, yes, no, "
- "on, off, y, n, notfound, ignore (all case insensitive) were recognized "
- "in some cases but not all. "
- "For example, the code \"if(TRUE)\" might have evaluated as false. "
- "Numbers such as 2 were recognized only in "
- "boolean expressions like \"if(NOT 2)\" (leading to false) "
- "but not as a single-argument like \"if(2)\" (also leading to false). "
- "Later versions of CMake prefer to treat numbers and boolean constants "
- "literally, so they should not be used as variable names."
- "\n"
- "The OLD behavior for this policy is to implicitly dereference variables "
- "named like numbers and boolean constants. "
- "The NEW behavior for this policy is to recognize numbers and "
- "boolean constants without dereferencing variables with such names.",
- 2,8,0,0, cmPolicies::WARN);
+ 2,8,0, cmPolicies::WARN);
this->DefinePolicy(
CMP0013, "CMP0013",
"Duplicate binary directories are not allowed.",
- "CMake 2.6.3 and below silently permitted add_subdirectory() calls "
- "to create the same binary directory multiple times. "
- "During build system generation files would be written and then "
- "overwritten in the build tree and could lead to strange behavior. "
- "CMake 2.6.4 and above explicitly detect duplicate binary directories. "
- "CMake 2.6.4 always considers this case an error. "
- "In CMake 2.8.0 and above this policy determines whether or not "
- "the case is an error. "
- "The OLD behavior for this policy is to allow duplicate binary "
- "directories. "
- "The NEW behavior for this policy is to disallow duplicate binary "
- "directories with an error.",
- 2,8,0,0, cmPolicies::WARN);
+ 2,8,0, cmPolicies::WARN);
this->DefinePolicy(
CMP0014, "CMP0014",
"Input directories must have CMakeLists.txt.",
- "CMake versions before 2.8 silently ignored missing CMakeLists.txt "
- "files in directories referenced by add_subdirectory() or subdirs(), "
- "treating them as if present but empty. "
- "In CMake 2.8.0 and above this policy determines whether or not "
- "the case is an error. "
- "The OLD behavior for this policy is to silently ignore the problem. "
- "The NEW behavior for this policy is to report an error.",
- 2,8,0,0, cmPolicies::WARN);
+ 2,8,0, cmPolicies::WARN);
this->DefinePolicy(
CMP0015, "CMP0015",
"link_directories() treats paths relative to the source dir.",
- "In CMake 2.8.0 and lower the link_directories() command passed relative "
- "paths unchanged to the linker. "
- "In CMake 2.8.1 and above the link_directories() command prefers to "
- "interpret relative paths with respect to CMAKE_CURRENT_SOURCE_DIR, "
- "which is consistent with include_directories() and other commands. "
- "The OLD behavior for this policy is to use relative paths verbatim in "
- "the linker command. "
- "The NEW behavior for this policy is to convert relative paths to "
- "absolute paths by appending the relative path to "
- "CMAKE_CURRENT_SOURCE_DIR.",
- 2,8,1,0, cmPolicies::WARN);
+ 2,8,1, cmPolicies::WARN);
this->DefinePolicy(
CMP0016, "CMP0016",
"target_link_libraries() reports error if its only argument "
"is not a target.",
- "In CMake 2.8.2 and lower the target_link_libraries() command silently "
- "ignored if it was called with only one argument, and this argument "
- "wasn't a valid target. "
- "In CMake 2.8.3 and above it reports an error in this case.",
- 2,8,3,0, cmPolicies::WARN);
+ 2,8,3, cmPolicies::WARN);
this->DefinePolicy(
CMP0017, "CMP0017",
"Prefer files from the CMake module directory when including from there.",
- "Starting with CMake 2.8.4, if a cmake-module shipped with CMake (i.e. "
- "located in the CMake module directory) calls include() or "
- "find_package(), the files located in the CMake module directory are "
- "preferred over the files in CMAKE_MODULE_PATH. "
- "This makes sure that the modules belonging to "
- "CMake always get those files included which they expect, and against "
- "which they were developed and tested. "
- "In all other cases, the files found in "
- "CMAKE_MODULE_PATH still take precedence over the ones in "
- "the CMake module directory. "
- "The OLD behaviour is to always prefer files from CMAKE_MODULE_PATH over "
- "files from the CMake modules directory.",
- 2,8,4,0, cmPolicies::WARN);
+ 2,8,4, cmPolicies::WARN);
this->DefinePolicy(
CMP0018, "CMP0018",
"Ignore CMAKE_SHARED_LIBRARY_<Lang>_FLAGS variable.",
- "CMake 2.8.8 and lower compiled sources in SHARED and MODULE libraries "
- "using the value of the undocumented CMAKE_SHARED_LIBRARY_<Lang>_FLAGS "
- "platform variable. The variable contained platform-specific flags "
- "needed to compile objects for shared libraries. Typically it included "
- "a flag such as -fPIC for position independent code but also included "
- "other flags needed on certain platforms. CMake 2.8.9 and higher "
- "prefer instead to use the POSITION_INDEPENDENT_CODE target property to "
- "determine what targets should be position independent, and new "
- "undocumented platform variables to select flags while ignoring "
- "CMAKE_SHARED_LIBRARY_<Lang>_FLAGS completely."
- "\n"
- "The default for either approach produces identical compilation flags, "
- "but if a project modifies CMAKE_SHARED_LIBRARY_<Lang>_FLAGS from its "
- "original value this policy determines which approach to use."
- "\n"
- "The OLD behavior for this policy is to ignore the "
- "POSITION_INDEPENDENT_CODE property for all targets and use the modified "
- "value of CMAKE_SHARED_LIBRARY_<Lang>_FLAGS for SHARED and MODULE "
- "libraries."
- "\n"
- "The NEW behavior for this policy is to ignore "
- "CMAKE_SHARED_LIBRARY_<Lang>_FLAGS whether it is modified or not and "
- "honor the POSITION_INDEPENDENT_CODE target property.",
- 2,8,9,0, cmPolicies::WARN);
+ 2,8,9, cmPolicies::WARN);
this->DefinePolicy(
CMP0019, "CMP0019",
"Do not re-expand variables in include and link information.",
- "CMake 2.8.10 and lower re-evaluated values given to the "
- "include_directories, link_directories, and link_libraries "
- "commands to expand any leftover variable references at the "
- "end of the configuration step. "
- "This was for strict compatibility with VERY early CMake versions "
- "because all variable references are now normally evaluated during "
- "CMake language processing. "
- "CMake 2.8.11 and higher prefer to skip the extra evaluation."
- "\n"
- "The OLD behavior for this policy is to re-evaluate the values "
- "for strict compatibility. "
- "The NEW behavior for this policy is to leave the values untouched.",
- 2,8,11,0, cmPolicies::WARN);
+ 2,8,11, cmPolicies::WARN);
this->DefinePolicy(
CMP0020, "CMP0020",
"Automatically link Qt executables to qtmain target on Windows.",
- "CMake 2.8.10 and lower required users of Qt to always specify a link "
- "dependency to the qtmain.lib static library manually on Windows. CMake "
- "2.8.11 gained the ability to evaluate generator expressions while "
- "determining the link dependencies from IMPORTED targets. This allows "
- "CMake itself to automatically link executables which link to Qt to the "
- "qtmain.lib library when using IMPORTED Qt targets. For applications "
- "already linking to qtmain.lib, this should have little impact. For "
- "applications which supply their own alternative WinMain implementation "
- "and for applications which use the QAxServer library, this automatic "
- "linking will need to be disabled as per the documentation."
- "\n"
- "The OLD behavior for this policy is not to link executables to "
- "qtmain.lib automatically when they link to the QtCore IMPORTED"
- "target. "
- "The NEW behavior for this policy is to link executables to "
- "qtmain.lib automatically when they link to QtCore IMPORTED target.",
- 2,8,11,0, cmPolicies::WARN);
+ 2,8,11, cmPolicies::WARN);
this->DefinePolicy(
CMP0021, "CMP0021",
"Fatal error on relative paths in INCLUDE_DIRECTORIES target property.",
- "CMake 2.8.10.2 and lower allowed the INCLUDE_DIRECTORIES target "
- "property to contain relative paths. The base path for such relative "
- "entries is not well defined. CMake 2.8.12 issues a FATAL_ERROR if the "
- "INCLUDE_DIRECTORIES property contains a relative path."
- "\n"
- "The OLD behavior for this policy is not to warn about relative paths in "
- "the INCLUDE_DIRECTORIES target property. "
- "The NEW behavior for this policy is to issue a FATAL_ERROR if "
- "INCLUDE_DIRECTORIES contains a relative path.",
- 2,8,12,0, cmPolicies::WARN);
+ 2,8,12, cmPolicies::WARN);
this->DefinePolicy(
CMP0022, "CMP0022",
"INTERFACE_LINK_LIBRARIES defines the link interface.",
- "CMake 2.8.11 constructed the 'link interface' of a target from "
- "properties matching (IMPORTED_)?LINK_INTERFACE_LIBRARIES(_<CONFIG>)?. "
- "The modern way to specify config-sensitive content is to use generator "
- "expressions and the IMPORTED_ prefix makes uniform processing of the "
- "link interface with generator expressions impossible. The "
- "INTERFACE_LINK_LIBRARIES target property was introduced as a "
- "replacement in CMake 2.8.12. This new property is named consistently "
- "with the INTERFACE_COMPILE_DEFINITIONS, INTERFACE_INCLUDE_DIRECTORIES "
- "and INTERFACE_COMPILE_OPTIONS properties. For in-build targets, CMake "
- "will use the INTERFACE_LINK_LIBRARIES property as the source of the "
- "link interface only if policy CMP0022 is NEW. "
- "When exporting a target which has this policy set to NEW, only the "
- "INTERFACE_LINK_LIBRARIES property will be processed and generated for "
- "the IMPORTED target by default. A new option to the install(EXPORT) "
- "and export commands allows export of the old-style properties for "
- "compatibility with downstream users of CMake versions older than "
- "2.8.12. "
- "The target_link_libraries command will no longer populate the "
- "properties matching LINK_INTERFACE_LIBRARIES(_<CONFIG>)? if this policy "
- "is NEW."
- "\n"
- "The OLD behavior for this policy is to ignore the "
- "INTERFACE_LINK_LIBRARIES property for in-build targets. "
- "The NEW behavior for this policy is to use the INTERFACE_LINK_LIBRARIES "
- "property for in-build targets, and ignore the old properties matching "
- "(IMPORTED_)?LINK_INTERFACE_LIBRARIES(_<CONFIG>)?.",
- 2,8,12,0, cmPolicies::WARN);
+ 2,8,12, cmPolicies::WARN);
this->DefinePolicy(
CMP0023, "CMP0023",
"Plain and keyword target_link_libraries signatures cannot be mixed.",
- "CMake 2.8.12 introduced the target_link_libraries signature using "
- "the PUBLIC, PRIVATE, and INTERFACE keywords to generalize the "
- "LINK_PUBLIC and LINK_PRIVATE keywords introduced in CMake 2.8.7. "
- "Use of signatures with any of these keywords sets the link interface "
- "of a target explicitly, even if empty. "
- "This produces confusing behavior when used in combination with the "
- "historical behavior of the plain target_link_libraries signature. "
- "For example, consider the code:\n"
- " target_link_libraries(mylib A)\n"
- " target_link_libraries(mylib PRIVATE B)\n"
- "After the first line the link interface has not been set explicitly "
- "so CMake would use the link implementation, A, as the link interface. "
- "However, the second line sets the link interface to empty. "
- "In order to avoid this subtle behavior CMake now prefers to disallow "
- "mixing the plain and keyword signatures of target_link_libraries for "
- "a single target."
- "\n"
- "The OLD behavior for this policy is to allow keyword and plain "
- "target_link_libraries signatures to be mixed. "
- "The NEW behavior for this policy is to not to allow mixing of the "
- "keyword and plain signatures.",
- 2,8,12,0, cmPolicies::WARN);
+ 2,8,12, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0024, "CMP0024",
+ "Disallow include export result.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0025, "CMP0025",
+ "Compiler id for Apple Clang is now AppleClang.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0026, "CMP0026",
+ "Disallow use of the LOCATION target property.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0027, "CMP0027",
+ "Conditionally linked imported targets with missing include directories.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0028, "CMP0028",
+ "Double colon in target name means ALIAS or IMPORTED target.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0029, "CMP0029",
+ "The subdir_depends command should not be called.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0030, "CMP0030",
+ "The use_mangled_mesa command should not be called.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0031, "CMP0031",
+ "The load_command command should not be called.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0032, "CMP0032",
+ "The output_required_files command should not be called.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0033, "CMP0033",
+ "The export_library_dependencies command should not be called.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0034, "CMP0034",
+ "The utility_source command should not be called.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0035, "CMP0035",
+ "The variable_requires command should not be called.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0036, "CMP0036",
+ "The build_name command should not be called.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0037, "CMP0037",
+ "Target names should not be reserved and should match a validity pattern.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0038, "CMP0038",
+ "Targets may not link directly to themselves.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0039, "CMP0039",
+ "Utility targets may not have link dependencies.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0040, "CMP0040",
+ "The target in the TARGET signature of add_custom_command() must exist.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0041, "CMP0041",
+ "Error on relative include with generator expression.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0042, "CMP0042",
+ "MACOSX_RPATH is enabled by default.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0043, "CMP0043",
+ "Ignore COMPILE_DEFINITIONS_<Config> properties.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0044, "CMP0044",
+ "Case sensitive <LANG>_COMPILER_ID generator expressions.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0045, "CMP0045",
+ "Error on non-existent target in get_target_property.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0046, "CMP0046",
+ "Error on non-existent dependency in add_dependencies.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0047, "CMP0047",
+ "Use QCC compiler id for the qcc drivers on QNX.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0048, "CMP0048",
+ "project() command manages VERSION variables.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0049, "CMP0049",
+ "Do not expand variables in target source entries.",
+ 3,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0050, "CMP0050",
+ "Disallow add_custom_command SOURCE signatures.",
+ 3,0,0, cmPolicies::WARN);
}
cmPolicies::~cmPolicies()
@@ -609,36 +351,32 @@ cmPolicies::~cmPolicies()
std::map<cmPolicies::PolicyID,cmPolicy *>::iterator i
= this->Policies.begin();
for (;i != this->Policies.end(); ++i)
- {
+ {
delete i->second;
- }
+ }
}
void cmPolicies::DefinePolicy(cmPolicies::PolicyID iD,
const char *idString,
const char *shortDescription,
- const char *longDescription,
unsigned int majorVersionIntroduced,
unsigned int minorVersionIntroduced,
unsigned int patchVersionIntroduced,
- unsigned int tweakVersionIntroduced,
cmPolicies::PolicyStatus status)
{
// a policy must be unique and can only be defined once
if (this->Policies.find(iD) != this->Policies.end())
- {
+ {
cmSystemTools::Error("Attempt to redefine a CMake policy for policy "
"ID ", this->GetPolicyIDString(iD).c_str());
return;
- }
+ }
this->Policies[iD] = new cmPolicy(iD, idString,
shortDescription,
- longDescription,
majorVersionIntroduced,
minorVersionIntroduced,
patchVersionIntroduced,
- tweakVersionIntroduced,
status);
this->PolicyStringMap[idString] = iD;
}
@@ -674,15 +412,9 @@ bool cmPolicies::ApplyPolicyVersion(cmMakefile *mf,
if (majorVer < 2 || (majorVer == 2 && minorVer < 4))
{
mf->IssueMessage(cmake::FATAL_ERROR,
- "An attempt was made to set the policy version of CMake to something "
- "earlier than \"2.4\". "
- "In CMake 2.4 and below backwards compatibility was handled with the "
- "CMAKE_BACKWARDS_COMPATIBILITY variable. "
- "In order to get compatibility features supporting versions earlier "
- "than 2.4 set policy CMP0001 to OLD to tell CMake to check the "
- "CMAKE_BACKWARDS_COMPATIBILITY variable. "
- "One way to do this is to set the policy version to 2.4 exactly."
- );
+ "Compatibility with CMake < 2.4 is not supported by CMake >= 3.0. "
+ "For compatibility with older versions please use any CMake 2.8.x "
+ "release or lower.");
return false;
}
@@ -714,7 +446,7 @@ bool cmPolicies::ApplyPolicyVersion(cmMakefile *mf,
for(std::map<cmPolicies::PolicyID,cmPolicy *>::iterator i
= this->Policies.begin(); i != this->Policies.end(); ++i)
{
- if (i->second->IsPolicyNewerThan(majorVer,minorVer,patchVer,tweakVer))
+ if (i->second->IsPolicyNewerThan(majorVer,minorVer,patchVer))
{
if(i->second->Status == cmPolicies::REQUIRED_ALWAYS)
{
@@ -784,15 +516,15 @@ bool cmPolicies::GetPolicyDefault(cmMakefile* mf, std::string const& policy,
bool cmPolicies::GetPolicyID(const char *id, cmPolicies::PolicyID &pid)
{
if (!id || strlen(id) < 1)
- {
+ {
return false;
- }
+ }
std::map<std::string,cmPolicies::PolicyID>::iterator pos =
this->PolicyStringMap.find(id);
if (pos == this->PolicyStringMap.end())
- {
+ {
return false;
- }
+ }
pid = pos->second;
return true;
}
@@ -802,9 +534,9 @@ std::string cmPolicies::GetPolicyIDString(cmPolicies::PolicyID pid)
std::map<cmPolicies::PolicyID,cmPolicy *>::iterator pos =
this->Policies.find(pid);
if (pos == this->Policies.end())
- {
+ {
return "";
- }
+ }
return pos->second->IDString;
}
@@ -815,11 +547,11 @@ std::string cmPolicies::GetPolicyWarning(cmPolicies::PolicyID id)
std::map<cmPolicies::PolicyID,cmPolicy *>::iterator pos =
this->Policies.find(id);
if (pos == this->Policies.end())
- {
+ {
cmSystemTools::Error(
"Request for warning text for undefined policy!");
return "Request for warning text for undefined policy!";
- }
+ }
cmOStringStream msg;
msg <<
@@ -839,11 +571,11 @@ std::string cmPolicies::GetRequiredPolicyError(cmPolicies::PolicyID id)
std::map<cmPolicies::PolicyID,cmPolicy *>::iterator pos =
this->Policies.find(id);
if (pos == this->Policies.end())
- {
+ {
cmSystemTools::Error(
"Request for error text for undefined policy!");
return "Request for error text for undefined policy!";
- }
+ }
cmOStringStream error;
error <<
@@ -869,60 +601,14 @@ cmPolicies::GetPolicyStatus(cmPolicies::PolicyID id)
std::map<cmPolicies::PolicyID,cmPolicy *>::iterator pos =
this->Policies.find(id);
if (pos == this->Policies.end())
- {
+ {
// TODO is this right?
return cmPolicies::WARN;
- }
+ }
return pos->second->Status;
}
-void cmPolicies::GetDocumentation(std::vector<cmDocumentationEntry>& v)
-{
- // now loop over all the policies and set them as appropriate
- std::map<cmPolicies::PolicyID,cmPolicy *>::iterator i
- = this->Policies.begin();
- for (;i != this->Policies.end(); ++i)
- {
- cmOStringStream full;
- full << i->second->LongDescription;
- full << "\nThis policy was introduced in CMake version ";
- full << i->second->GetVersionString() << ".";
- if(i->first != cmPolicies::CMP0000)
- {
- full << " "
- << "CMake version " << cmVersion::GetCMakeVersion() << " ";
- // add in some more text here based on status
- switch (i->second->Status)
- {
- case cmPolicies::WARN:
- full << "warns when the policy is not set and uses OLD behavior. "
- << "Use the cmake_policy command to set it to OLD or NEW "
- << "explicitly.";
- break;
- case cmPolicies::OLD:
- full << "defaults to the OLD behavior for this policy.";
- break;
- case cmPolicies::NEW:
- full << "defaults to the NEW behavior for this policy.";
- break;
- case cmPolicies::REQUIRED_IF_USED:
- full << "requires the policy to be set to NEW if you use it. "
- << "Use the cmake_policy command to set it to NEW.";
- break;
- case cmPolicies::REQUIRED_ALWAYS:
- full << "requires the policy to be set to NEW. "
- << "Use the cmake_policy command to set it to NEW.";
- break;
- }
- }
- cmDocumentationEntry e(i->second->IDString.c_str(),
- i->second->ShortDescription.c_str(),
- full.str().c_str());
- v.push_back(e);
- }
-}
-
//----------------------------------------------------------------------------
std::string
cmPolicies::GetRequiredAlwaysPolicyError(cmPolicies::PolicyID id)
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index 5b843a9..b77235d 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -74,6 +74,36 @@ public:
/// target property
CMP0022, ///< INTERFACE_LINK_LIBRARIES defines the link interface
CMP0023, ///< Disallow mixing keyword and plain tll signatures
+ CMP0024, ///< Disallow including export() result.
+ CMP0025, ///< Compiler id for Apple Clang is now AppleClang
+ CMP0026, ///< Disallow use of the LOCATION target property.
+ CMP0027, ///< Conditionally linked imported targets with missing include
+ /// directories.
+ CMP0028, ///< Double colon in target name means ALIAS or IMPORTED target.
+ CMP0029, ///< Disallow command: subdir_depends
+ CMP0030, ///< Disallow command: use_mangled_mesa
+ CMP0031, ///< Disallow command: load_command
+ CMP0032, ///< Disallow command: output_required_files
+ CMP0033, ///< Disallow command: export_library_dependencies
+ CMP0034, ///< Disallow command: utility_source
+ CMP0035, ///< Disallow command: variable_requires
+ CMP0036, ///< Disallow command: build_name
+ CMP0037, ///< Target names should not be reserved and
+ /// should match a validity pattern.
+ CMP0038, ///< Targets may not link directly to themselves
+ CMP0039, ///< Utility targets may not have link dependencies
+ CMP0040, ///< The target in the TARGET signature of
+ /// add_custom_command() must exist.
+ CMP0041, ///< Error on relative include with generator expression
+ CMP0042, ///< Enable MACOSX_RPATH by default
+ CMP0043, ///< Ignore COMPILE_DEFINITIONS_<Config> properties
+ CMP0044, ///< Case sensitive <LANG>_COMPILER_ID generator expressions
+ CMP0045, ///< Error on non-existent target in get_target_property
+ CMP0046, ///< Error on non-existent dependency in add_dependencies
+ CMP0047, ///< Use QCC compiler id for the qcc drivers on QNX.
+ CMP0048, ///< project() command manages VERSION variables
+ CMP0049, ///< Do not expand variables in target source entries
+ CMP0050, ///< Disallow add_custom_command SOURCE signatures
/** \brief Always the last entry.
*
@@ -94,11 +124,9 @@ public:
void DefinePolicy(cmPolicies::PolicyID id,
const char *stringID,
const char *shortDescription,
- const char *longDescription,
unsigned int majorVersionIntroduced,
unsigned int minorVersionIntroduced,
unsigned int patchVersionIntroduced,
- unsigned int tweakVersionIntroduced,
cmPolicies::PolicyStatus status);
///! Set a policy level for this listfile
@@ -113,9 +141,6 @@ public:
///! return an error string for when a required policy is unspecified
std::string GetRequiredAlwaysPolicyError(cmPolicies::PolicyID id);
- ///! Get docs for policies
- void GetDocumentation(std::vector<cmDocumentationEntry>& v);
-
/** Represent a set of policy values. */
typedef std::map<PolicyID, PolicyStatus> PolicyMap;
diff --git a/Source/cmProjectCommand.cxx b/Source/cmProjectCommand.cxx
index 11f9a76..a9ce0cc 100644
--- a/Source/cmProjectCommand.cxx
+++ b/Source/cmProjectCommand.cxx
@@ -62,15 +62,168 @@ bool cmProjectCommand
"Value Computed by CMake", cmCacheManager::STATIC);
}
+ bool haveVersion = false;
+ bool haveLanguages = false;
+ std::string version;
std::vector<std::string> languages;
- if(args.size() > 1)
+ enum Doing { DoingLanguages, DoingVersion };
+ Doing doing = DoingLanguages;
+ for(size_t i = 1; i < args.size(); ++i)
{
- for(size_t i =1; i < args.size(); ++i)
+ if(args[i] == "LANGUAGES")
+ {
+ if(haveLanguages)
+ {
+ this->Makefile->IssueMessage
+ (cmake::FATAL_ERROR, "LANGUAGES may be specified at most once.");
+ cmSystemTools::SetFatalErrorOccured();
+ return true;
+ }
+ haveLanguages = true;
+ doing = DoingLanguages;
+ }
+ else if (args[i] == "VERSION")
+ {
+ if(haveVersion)
+ {
+ this->Makefile->IssueMessage
+ (cmake::FATAL_ERROR, "VERSION may be specified at most once.");
+ cmSystemTools::SetFatalErrorOccured();
+ return true;
+ }
+ haveVersion = true;
+ doing = DoingVersion;
+ }
+ else if(doing == DoingVersion)
+ {
+ doing = DoingLanguages;
+ version = args[i];
+ }
+ else // doing == DoingLanguages
{
languages.push_back(args[i]);
}
}
- else
+
+ if (haveVersion && !haveLanguages && !languages.empty())
+ {
+ this->Makefile->IssueMessage
+ (cmake::FATAL_ERROR,
+ "project with VERSION must use LANGUAGES before language names.");
+ cmSystemTools::SetFatalErrorOccured();
+ return true;
+ }
+ if (haveLanguages && languages.empty())
+ {
+ languages.push_back("NONE");
+ }
+
+ cmPolicies::PolicyStatus cmp0048 =
+ this->Makefile->GetPolicyStatus(cmPolicies::CMP0048);
+ if (haveVersion)
+ {
+ // Set project VERSION variables to given values
+ if (cmp0048 == cmPolicies::OLD ||
+ cmp0048 == cmPolicies::WARN)
+ {
+ this->Makefile->IssueMessage
+ (cmake::FATAL_ERROR,
+ "VERSION not allowed unless CMP0048 is set to NEW");
+ cmSystemTools::SetFatalErrorOccured();
+ return true;
+ }
+
+ cmsys::RegularExpression
+ vx("^([0-9]+(\\.[0-9]+(\\.[0-9]+(\\.[0-9]+)?)?)?)?$");
+ if(!vx.find(version))
+ {
+ std::string e = "VERSION \"" + version + "\" format invalid.";
+ this->Makefile->IssueMessage(cmake::FATAL_ERROR, e);
+ cmSystemTools::SetFatalErrorOccured();
+ return true;
+ }
+
+ std::string vs;
+ const char* sep = "";
+ char vb[4][64];
+ unsigned int v[4] = {0,0,0,0};
+ int vc = sscanf(version.c_str(), "%u.%u.%u.%u",
+ &v[0], &v[1], &v[2], &v[3]);
+ for(int i=0; i < 4; ++i)
+ {
+ if(i < vc)
+ {
+ sprintf(vb[i], "%u", v[i]);
+ vs += sep;
+ vs += vb[i];
+ sep = ".";
+ }
+ else
+ {
+ vb[i][0] = 0;
+ }
+ }
+
+ std::string vv;
+ vv = args[0] + "_VERSION";
+ this->Makefile->AddDefinition("PROJECT_VERSION", vs.c_str());
+ this->Makefile->AddDefinition(vv.c_str(), vs.c_str());
+ vv = args[0] + "_VERSION_MAJOR";
+ this->Makefile->AddDefinition("PROJECT_VERSION_MAJOR", vb[0]);
+ this->Makefile->AddDefinition(vv.c_str(), vb[0]);
+ vv = args[0] + "_VERSION_MINOR";
+ this->Makefile->AddDefinition("PROJECT_VERSION_MINOR", vb[1]);
+ this->Makefile->AddDefinition(vv.c_str(), vb[1]);
+ vv = args[0] + "_VERSION_PATCH";
+ this->Makefile->AddDefinition("PROJECT_VERSION_PATCH", vb[2]);
+ this->Makefile->AddDefinition(vv.c_str(), vb[2]);
+ vv = args[0] + "_VERSION_TWEAK";
+ this->Makefile->AddDefinition("PROJECT_VERSION_TWEAK", vb[3]);
+ this->Makefile->AddDefinition(vv.c_str(), vb[3]);
+ }
+ else if(cmp0048 != cmPolicies::OLD)
+ {
+ // Set project VERSION variables to empty
+ std::vector<std::string> vv;
+ vv.push_back("PROJECT_VERSION");
+ vv.push_back("PROJECT_VERSION_MAJOR");
+ vv.push_back("PROJECT_VERSION_MINOR");
+ vv.push_back("PROJECT_VERSION_PATCH");
+ vv.push_back("PROJECT_VERSION_TWEAK");
+ vv.push_back(args[0] + "_VERSION");
+ vv.push_back(args[0] + "_VERSION_MAJOR");
+ vv.push_back(args[0] + "_VERSION_MINOR");
+ vv.push_back(args[0] + "_VERSION_PATCH");
+ vv.push_back(args[0] + "_VERSION_TWEAK");
+ std::string vw;
+ for(std::vector<std::string>::iterator i = vv.begin();
+ i != vv.end(); ++i)
+ {
+ const char* v = this->Makefile->GetDefinition(i->c_str());
+ if(v && *v)
+ {
+ if(cmp0048 == cmPolicies::WARN)
+ {
+ vw += "\n ";
+ vw += *i;
+ }
+ else
+ {
+ this->Makefile->AddDefinition(i->c_str(), "");
+ }
+ }
+ }
+ if(!vw.empty())
+ {
+ cmOStringStream w;
+ w << (this->Makefile->GetPolicies()
+ ->GetPolicyWarning(cmPolicies::CMP0048))
+ << "\nThe following variable(s) would be set to empty:" << vw;
+ this->Makefile->IssueMessage(cmake::AUTHOR_WARNING, w.str());
+ }
+ }
+
+ if (languages.empty())
{
// if no language is specified do c and c++
languages.push_back("C");
diff --git a/Source/cmProjectCommand.h b/Source/cmProjectCommand.h
index 9547c4c..f7d086d 100644
--- a/Source/cmProjectCommand.h
+++ b/Source/cmProjectCommand.h
@@ -45,41 +45,6 @@ public:
*/
virtual const char* GetName() const {return "project";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Set a name for the entire project.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " project(<projectname> [languageName1 languageName2 ... ] )\n"
- "Sets the name of the project. "
- "Additionally this sets the variables <projectName>_BINARY_DIR and "
- "<projectName>_SOURCE_DIR to the respective values.\n"
- "Optionally you can specify which languages your project supports. "
- "Example languages are CXX (i.e. C++), C, Fortran, etc. "
- "By default C and CXX are enabled. E.g. if you do not have a "
- "C++ compiler, you can disable the check for it by explicitly listing "
- "the languages you want to support, e.g. C. By using the special "
- "language \"NONE\" all checks for any language can be disabled. "
- "If a variable exists called CMAKE_PROJECT_<projectName>_INCLUDE, "
- "the file pointed to by that variable will be included as the last step "
- "of the project command."
- "\n"
- "The top-level CMakeLists.txt file for a project must contain a "
- "literal, direct call to the project() command; loading one through "
- "the include() command is not sufficient. "
- "If no such call exists CMake will implicitly add one to the top that "
- "enables the default languages (C and CXX).";
- }
-
cmTypeMacro(cmProjectCommand, cmCommand);
};
diff --git a/Source/cmPropertyDefinition.cxx b/Source/cmPropertyDefinition.cxx
index b80c863..abc57ce 100644
--- a/Source/cmPropertyDefinition.cxx
+++ b/Source/cmPropertyDefinition.cxx
@@ -12,20 +12,10 @@
#include "cmPropertyDefinition.h"
#include "cmSystemTools.h"
-cmDocumentationEntry cmPropertyDefinition::GetDocumentation() const
-{
- cmDocumentationEntry e;
- e.Name = this->Name;
- e.Brief = this->ShortDescription;
- e.Full = this->FullDescription;
- return e;
-}
-
void cmPropertyDefinition
::DefineProperty(const char *name, cmProperty::ScopeType scope,
const char *shortDescription,
const char *fullDescription,
- const char *sec,
bool chain)
{
this->Name = name;
@@ -39,9 +29,5 @@ void cmPropertyDefinition
{
this->FullDescription = fullDescription;
}
- if (sec)
- {
- this->DocumentationSection = sec;
- }
}
diff --git a/Source/cmPropertyDefinition.h b/Source/cmPropertyDefinition.h
index 296366d..1b6a7a6 100644
--- a/Source/cmPropertyDefinition.h
+++ b/Source/cmPropertyDefinition.h
@@ -30,22 +30,14 @@ public:
void DefineProperty(const char *name, cmProperty::ScopeType scope,
const char *ShortDescription,
const char *FullDescription,
- const char *DocumentationSection,
bool chained);
- /// Get the documentation string
- cmDocumentationEntry GetDocumentation() const;
-
/// Default constructor
cmPropertyDefinition() { this->Chained = false; };
/// Is the property chained?
bool IsChained() const { return this->Chained; };
- /// Get the section if any
- const std::string &GetDocumentationSection() const {
- return this->DocumentationSection; };
-
/// Get the scope
cmProperty::ScopeType GetScope() const {
return this->Scope; };
@@ -62,7 +54,6 @@ protected:
std::string Name;
std::string ShortDescription;
std::string FullDescription;
- std::string DocumentationSection;
cmProperty::ScopeType Scope;
bool Chained;
};
diff --git a/Source/cmPropertyDefinitionMap.cxx b/Source/cmPropertyDefinitionMap.cxx
index 20fa07c..db29504 100644
--- a/Source/cmPropertyDefinitionMap.cxx
+++ b/Source/cmPropertyDefinitionMap.cxx
@@ -17,7 +17,6 @@ void cmPropertyDefinitionMap
::DefineProperty(const char *name, cmProperty::ScopeType scope,
const char *ShortDescription,
const char *FullDescription,
- const char *DocumentationSection,
bool chain)
{
if (!name)
@@ -31,64 +30,7 @@ void cmPropertyDefinitionMap
{
prop = &(*this)[name];
prop->DefineProperty(name,scope,ShortDescription, FullDescription,
- DocumentationSection, chain);
- }
-}
-
-void cmPropertyDefinitionMap
-::GetPropertiesDocumentation(std::map<std::string,
- cmDocumentationSection *>& v) const
-{
- for(cmPropertyDefinitionMap::const_iterator j = this->begin();
- j != this->end(); ++j)
- {
- // add a section if needed
- std::string secName = j->second.GetDocumentationSection();
- // if a section was not specified then use the scope
- if (!secName.size())
- {
- switch (j->second.GetScope())
- {
- case cmProperty::GLOBAL:
- secName = "Properties of Global Scope";
- break;
- case cmProperty::TARGET:
- secName = "Properties on Targets";
- break;
- case cmProperty::SOURCE_FILE:
- secName = "Properties on Source Files";
- break;
- case cmProperty::DIRECTORY:
- secName = "Properties on Directories";
- break;
- case cmProperty::TEST:
- secName = "Properties on Tests";
- break;
- case cmProperty::CACHE:
- secName = "Properties on Cache Entries";
- break;
- case cmProperty::VARIABLE:
- secName = "Variables";
- break;
- case cmProperty::CACHED_VARIABLE:
- secName = "Cached Variables";
- break;
- default:
- secName = "Properties of Unknown Scope";
- break;
- }
- }
- if (!v[secName])
- {
- v[secName] = new
- cmDocumentationSection(secName.c_str(),
- cmSystemTools::UpperCase(secName).c_str());
- }
- cmDocumentationEntry e = j->second.GetDocumentation();
- if (e.Brief.size() || e.Full.size())
- {
- v[secName]->Append(e);
- }
+ chain);
}
}
diff --git a/Source/cmPropertyDefinitionMap.h b/Source/cmPropertyDefinitionMap.h
index 007e265..736e243 100644
--- a/Source/cmPropertyDefinitionMap.h
+++ b/Source/cmPropertyDefinitionMap.h
@@ -24,7 +24,6 @@ public:
void DefineProperty(const char *name, cmProperty::ScopeType scope,
const char *ShortDescription,
const char *FullDescription,
- const char *DocumentaitonSection,
bool chain);
// has a named property been defined
@@ -32,9 +31,6 @@ public:
// is a named property set to chain
bool IsPropertyChained(const char *name);
-
- void GetPropertiesDocumentation(std::map<std::string,
- cmDocumentationSection *>&) const;
};
#endif
diff --git a/Source/cmPropertyMap.cxx b/Source/cmPropertyMap.cxx
index 78f378a..e94e3e9 100644
--- a/Source/cmPropertyMap.cxx
+++ b/Source/cmPropertyMap.cxx
@@ -40,19 +40,7 @@ void cmPropertyMap::SetProperty(const char *name, const char *value,
this->erase(name);
return;
}
-#ifdef CMAKE_STRICT
- if (!this->CMakeInstance)
- {
- cmSystemTools::Error("CMakeInstance not set on a property map!");
- abort();
- }
- else
- {
- this->CMakeInstance->RecordPropertyAccess(name,scope);
- }
-#else
(void)scope;
-#endif
cmProperty *prop = this->GetOrCreateProperty(name);
prop->Set(name,value);
@@ -66,19 +54,7 @@ void cmPropertyMap::AppendProperty(const char* name, const char* value,
{
return;
}
-#ifdef CMAKE_STRICT
- if (!this->CMakeInstance)
- {
- cmSystemTools::Error("CMakeInstance not set on a property map!");
- abort();
- }
- else
- {
- this->CMakeInstance->RecordPropertyAccess(name,scope);
- }
-#else
(void)scope;
-#endif
cmProperty *prop = this->GetOrCreateProperty(name);
prop->Append(name,value,asString);
@@ -95,19 +71,6 @@ const char *cmPropertyMap
return 0;
}
- // has the property been defined?
-#ifdef CMAKE_STRICT
- if (!this->CMakeInstance)
- {
- cmSystemTools::Error("CMakeInstance not set on a property map!");
- abort();
- }
- else
- {
- this->CMakeInstance->RecordPropertyAccess(name,scope);
- }
-#endif
-
cmPropertyMap::const_iterator it = this->find(name);
if (it == this->end())
{
diff --git a/Source/cmQTWrapCPPCommand.h b/Source/cmQTWrapCPPCommand.h
index 4863402..868eb91 100644
--- a/Source/cmQTWrapCPPCommand.h
+++ b/Source/cmQTWrapCPPCommand.h
@@ -46,27 +46,6 @@ public:
* The name of the command as specified in CMakeList.txt.
*/
virtual const char* GetName() const { return "qt_wrap_cpp";}
-
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Create Qt Wrappers.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " qt_wrap_cpp(resultingLibraryName DestName\n"
- " SourceLists ...)\n"
- "Produce moc files for all the .h files listed in the SourceLists. "
- "The moc files will be added to the library using the DestName "
- "source list.";
- }
};
diff --git a/Source/cmQTWrapUICommand.h b/Source/cmQTWrapUICommand.h
index b15c5cd..3406dac 100644
--- a/Source/cmQTWrapUICommand.h
+++ b/Source/cmQTWrapUICommand.h
@@ -44,30 +44,6 @@ public:
* The name of the command as specified in CMakeList.txt.
*/
virtual const char* GetName() const { return "qt_wrap_ui";}
-
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Create Qt user interfaces Wrappers.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " qt_wrap_ui(resultingLibraryName HeadersDestName\n"
- " SourcesDestName SourceLists ...)\n"
- "Produce .h and .cxx files for all the .ui files listed "
- "in the SourceLists. "
- "The .h files will be added to the library using the HeadersDestName"
- "source list. "
- "The .cxx files will be added to the library using the SourcesDestName"
- "source list.";
- }
};
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
new file mode 100644
index 0000000..2c5dd45
--- /dev/null
+++ b/Source/cmQtAutoGenerators.cxx
@@ -0,0 +1,2142 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2004-2011 Kitware, Inc.
+ Copyright 2011 Alexander Neundorf (neundorf@kde.org)
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+
+#include "cmGlobalGenerator.h"
+#include "cmLocalGenerator.h"
+#include "cmMakefile.h"
+#include "cmSourceFile.h"
+#include "cmSystemTools.h"
+
+#if defined(_WIN32) && !defined(__CYGWIN__)
+# include "cmLocalVisualStudioGenerator.h"
+#endif
+
+#include <cmsys/Terminal.h>
+#include <cmsys/ios/sstream>
+#include <cmsys/FStream.hxx>
+#include <assert.h>
+
+#include <string.h>
+#if defined(__APPLE__)
+#include <unistd.h>
+#endif
+
+#include "cmQtAutoGenerators.h"
+
+
+static bool requiresMocing(const std::string& text, std::string &macroName)
+{
+ // this simple check is much much faster than the regexp
+ if (strstr(text.c_str(), "Q_OBJECT") == NULL
+ && strstr(text.c_str(), "Q_GADGET") == NULL)
+ {
+ return false;
+ }
+
+ cmsys::RegularExpression qObjectRegExp("[\n][ \t]*Q_OBJECT[^a-zA-Z0-9_]");
+ if (qObjectRegExp.find(text))
+ {
+ macroName = "Q_OBJECT";
+ return true;
+ }
+ cmsys::RegularExpression qGadgetRegExp("[\n][ \t]*Q_GADGET[^a-zA-Z0-9_]");
+ if (qGadgetRegExp.find(text))
+ {
+ macroName = "Q_GADGET";
+ return true;
+ }
+ return false;
+}
+
+
+static std::string findMatchingHeader(const std::string& absPath,
+ const std::string& mocSubDir,
+ const std::string& basename,
+ const std::vector<std::string>& headerExtensions)
+{
+ std::string header;
+ for(std::vector<std::string>::const_iterator ext = headerExtensions.begin();
+ ext != headerExtensions.end();
+ ++ext)
+ {
+ std::string sourceFilePath = absPath + basename + "." + (*ext);
+ if (cmsys::SystemTools::FileExists(sourceFilePath.c_str()))
+ {
+ header = sourceFilePath;
+ break;
+ }
+ if (!mocSubDir.empty())
+ {
+ sourceFilePath = mocSubDir + basename + "." + (*ext);
+ if (cmsys::SystemTools::FileExists(sourceFilePath.c_str()))
+ {
+ header = sourceFilePath;
+ break;
+ }
+ }
+ }
+
+ return header;
+}
+
+
+static std::string extractSubDir(const std::string& absPath,
+ const std::string& currentMoc)
+{
+ std::string subDir;
+ if (currentMoc.find_first_of('/') != std::string::npos)
+ {
+ subDir = absPath
+ + cmsys::SystemTools::GetFilenamePath(currentMoc) + '/';
+ }
+ return subDir;
+}
+
+
+static void copyTargetProperty(cmTarget* destinationTarget,
+ cmTarget* sourceTarget,
+ const char* propertyName)
+{
+ const char* propertyValue = sourceTarget->GetProperty(propertyName);
+ if (propertyValue)
+ {
+ destinationTarget->SetProperty(propertyName, propertyValue);
+ }
+}
+
+
+static std::string ReadAll(const std::string& filename)
+{
+ cmsys::ifstream file(filename.c_str());
+ cmsys_ios::stringstream stream;
+ stream << file.rdbuf();
+ file.close();
+ return stream.str();
+}
+
+cmQtAutoGenerators::cmQtAutoGenerators()
+:Verbose(cmsys::SystemTools::GetEnv("VERBOSE") != 0)
+,ColorOutput(true)
+,RunMocFailed(false)
+,RunUicFailed(false)
+,RunRccFailed(false)
+,GenerateAll(false)
+{
+
+ std::string colorEnv = "";
+ cmsys::SystemTools::GetEnv("COLOR", colorEnv);
+ if(!colorEnv.empty())
+ {
+ if(cmSystemTools::IsOn(colorEnv.c_str()))
+ {
+ this->ColorOutput = true;
+ }
+ else
+ {
+ this->ColorOutput = false;
+ }
+ }
+}
+
+static std::string getAutogenTargetName(cmTarget const* target)
+{
+ std::string autogenTargetName = target->GetName();
+ autogenTargetName += "_automoc";
+ return autogenTargetName;
+}
+
+static std::string getAutogenTargetDir(cmTarget const* target)
+{
+ cmMakefile* makefile = target->GetMakefile();
+ std::string targetDir = makefile->GetCurrentOutputDirectory();
+ targetDir += makefile->GetCMakeInstance()->GetCMakeFilesDirectory();
+ targetDir += "/";
+ targetDir += getAutogenTargetName(target);
+ targetDir += ".dir/";
+ return targetDir;
+}
+
+bool cmQtAutoGenerators::InitializeAutogenTarget(cmTarget* target)
+{
+ cmMakefile* makefile = target->GetMakefile();
+ // don't do anything if there is no Qt4 or Qt5Core (which contains moc):
+ std::string qtMajorVersion = makefile->GetSafeDefinition("QT_VERSION_MAJOR");
+ if (qtMajorVersion == "")
+ {
+ qtMajorVersion = makefile->GetSafeDefinition("Qt5Core_VERSION_MAJOR");
+ }
+ if (qtMajorVersion != "4" && qtMajorVersion != "5")
+ {
+ return false;
+ }
+
+ if (target->GetPropertyAsBool("AUTOMOC"))
+ {
+ std::string automocTargetName = getAutogenTargetName(target);
+ std::string mocCppFile = makefile->GetCurrentOutputDirectory();
+ mocCppFile += "/";
+ mocCppFile += automocTargetName;
+ mocCppFile += ".cpp";
+ cmSourceFile* mocCppSource = makefile->GetOrCreateSource(
+ mocCppFile.c_str(),
+ true);
+ makefile->AppendProperty("ADDITIONAL_MAKE_CLEAN_FILES",
+ mocCppFile.c_str(), false);
+
+ target->AddSourceFile(mocCppSource);
+ }
+ // create a custom target for running generators at buildtime:
+ std::string autogenTargetName = getAutogenTargetName(target);
+
+ std::string targetDir = getAutogenTargetDir(target);
+
+ cmCustomCommandLine currentLine;
+ currentLine.push_back(makefile->GetSafeDefinition("CMAKE_COMMAND"));
+ currentLine.push_back("-E");
+ currentLine.push_back("cmake_autogen");
+ currentLine.push_back(targetDir);
+ currentLine.push_back("$<CONFIGURATION>");
+
+ cmCustomCommandLines commandLines;
+ commandLines.push_back(currentLine);
+
+ std::string workingDirectory = cmSystemTools::CollapseFullPath(
+ "", makefile->GetCurrentOutputDirectory());
+
+ std::vector<std::string> depends;
+ if (const char *autogenDepends =
+ target->GetProperty("AUTOGEN_TARGET_DEPENDS"))
+ {
+ cmSystemTools::ExpandListArgument(autogenDepends, depends);
+ }
+ std::vector<std::string> toolNames;
+ if (target->GetPropertyAsBool("AUTOMOC"))
+ {
+ toolNames.push_back("moc");
+ }
+ if (target->GetPropertyAsBool("AUTOUIC"))
+ {
+ toolNames.push_back("uic");
+ }
+ if (target->GetPropertyAsBool("AUTORCC"))
+ {
+ toolNames.push_back("rcc");
+ }
+
+ std::string tools = toolNames[0];
+ toolNames.erase(toolNames.begin());
+ while (toolNames.size() > 1)
+ {
+ tools += ", " + toolNames[0];
+ toolNames.erase(toolNames.begin());
+ }
+ if (toolNames.size() == 1)
+ {
+ tools += " and " + toolNames[0];
+ }
+ std::string autogenComment = "Automatic " + tools + " for target ";
+ autogenComment += target->GetName();
+
+#if defined(_WIN32) && !defined(__CYGWIN__)
+ bool usePRE_BUILD = false;
+ cmLocalGenerator* localGen = makefile->GetLocalGenerator();
+ cmGlobalGenerator* gg = localGen->GetGlobalGenerator();
+ if(strstr(gg->GetName(), "Visual Studio"))
+ {
+ cmLocalVisualStudioGenerator* vslg =
+ static_cast<cmLocalVisualStudioGenerator*>(localGen);
+ // Under VS >= 7 use a PRE_BUILD event instead of a separate target to
+ // reduce the number of targets loaded into the IDE.
+ // This also works around a VS 11 bug that may skip updating the target:
+ // https://connect.microsoft.com/VisualStudio/feedback/details/769495
+ usePRE_BUILD = vslg->GetVersion() >= cmLocalVisualStudioGenerator::VS7;
+ if(usePRE_BUILD)
+ {
+ for (std::vector<std::string>::iterator it = depends.begin();
+ it != depends.end(); ++it)
+ {
+ if(!makefile->FindTargetToUse(it->c_str()))
+ {
+ usePRE_BUILD = false;
+ break;
+ }
+ }
+ }
+ }
+ if(usePRE_BUILD)
+ {
+ // Add the pre-build command directly to bypass the OBJECT_LIBRARY
+ // rejection in cmMakefile::AddCustomCommandToTarget because we know
+ // PRE_BUILD will work for an OBJECT_LIBRARY in this specific case.
+ std::vector<std::string> no_output;
+ cmCustomCommand cc(makefile, no_output, depends,
+ commandLines, autogenComment.c_str(),
+ workingDirectory.c_str());
+ cc.SetEscapeOldStyle(false);
+ cc.SetEscapeAllowMakeVars(true);
+ target->AddPreBuildCommand(cc);
+ }
+ else
+#endif
+ {
+ cmTarget* autogenTarget = makefile->AddUtilityCommand(
+ autogenTargetName.c_str(), true,
+ workingDirectory.c_str(), depends,
+ commandLines, false, autogenComment.c_str());
+ // Set target folder
+ const char* autogenFolder = makefile->GetCMakeInstance()->GetProperty(
+ "AUTOMOC_TARGETS_FOLDER");
+ if (!autogenFolder)
+ {
+ autogenFolder = makefile->GetCMakeInstance()->GetProperty(
+ "AUTOGEN_TARGETS_FOLDER");
+ }
+ if (autogenFolder && *autogenFolder)
+ {
+ autogenTarget->SetProperty("FOLDER", autogenFolder);
+ }
+ else
+ {
+ // inherit FOLDER property from target (#13688)
+ copyTargetProperty(autogenTarget, target, "FOLDER");
+ }
+
+ target->AddUtility(autogenTargetName.c_str());
+ }
+
+ return true;
+}
+
+static void GetCompileDefinitionsAndDirectories(cmTarget const* target,
+ const char * config,
+ std::string &incs,
+ std::string &defs)
+{
+ cmMakefile* makefile = target->GetMakefile();
+ cmLocalGenerator* localGen = makefile->GetLocalGenerator();
+ std::vector<std::string> includeDirs;
+ cmGeneratorTarget *gtgt = target->GetMakefile()->GetLocalGenerator()
+ ->GetGlobalGenerator()
+ ->GetGeneratorTarget(target);
+ // Get the include dirs for this target, without stripping the implicit
+ // include dirs off, see http://public.kitware.com/Bug/view.php?id=13667
+ localGen->GetIncludeDirectories(includeDirs, gtgt, "CXX", config, false);
+ const char* sep = "";
+ incs = "";
+ for(std::vector<std::string>::const_iterator incDirIt = includeDirs.begin();
+ incDirIt != includeDirs.end();
+ ++incDirIt)
+ {
+ incs += sep;
+ sep = ";";
+ incs += *incDirIt;
+ }
+
+ std::set<std::string> defines;
+ localGen->AddCompileDefinitions(defines, target, config);
+
+ sep = "";
+ for(std::set<std::string>::const_iterator defIt = defines.begin();
+ defIt != defines.end();
+ ++defIt)
+ {
+ defs += sep;
+ sep = ";";
+ defs += *defIt;
+ }
+}
+
+void cmQtAutoGenerators::SetupAutoGenerateTarget(cmTarget const* target)
+{
+ cmMakefile* makefile = target->GetMakefile();
+
+ // forget the variables added here afterwards again:
+ cmMakefile::ScopePushPop varScope(makefile);
+ static_cast<void>(varScope);
+
+ // create a custom target for running generators at buildtime:
+ std::string autogenTargetName = getAutogenTargetName(target);
+
+ makefile->AddDefinition("_moc_target_name",
+ cmLocalGenerator::EscapeForCMake(autogenTargetName.c_str()).c_str());
+
+ std::string targetDir = getAutogenTargetDir(target);
+
+ const char *qtVersion = makefile->GetDefinition("Qt5Core_VERSION_MAJOR");
+ if (!qtVersion)
+ {
+ qtVersion = makefile->GetDefinition("QT_VERSION_MAJOR");
+ }
+ if (const char *targetQtVersion =
+ target->GetLinkInterfaceDependentStringProperty("QT_MAJOR_VERSION", 0))
+ {
+ qtVersion = targetQtVersion;
+ }
+ if (qtVersion)
+ {
+ makefile->AddDefinition("_target_qt_version", qtVersion);
+ }
+
+ std::map<std::string, std::string> configIncludes;
+ std::map<std::string, std::string> configDefines;
+ std::map<std::string, std::string> configUicOptions;
+
+ if (target->GetPropertyAsBool("AUTOMOC")
+ || target->GetPropertyAsBool("AUTOUIC"))
+ {
+ this->SetupSourceFiles(target);
+ }
+ makefile->AddDefinition("_cpp_files",
+ cmLocalGenerator::EscapeForCMake(this->Sources.c_str()).c_str());
+ if (target->GetPropertyAsBool("AUTOMOC"))
+ {
+ this->SetupAutoMocTarget(target, autogenTargetName,
+ configIncludes, configDefines);
+ }
+ if (target->GetPropertyAsBool("AUTOUIC"))
+ {
+ this->SetupAutoUicTarget(target, configUicOptions);
+ }
+ if (target->GetPropertyAsBool("AUTORCC"))
+ {
+ this->SetupAutoRccTarget(target);
+ }
+
+ const char* cmakeRoot = makefile->GetSafeDefinition("CMAKE_ROOT");
+ std::string inputFile = cmakeRoot;
+ inputFile += "/Modules/AutogenInfo.cmake.in";
+ std::string outputFile = targetDir;
+ outputFile += "/AutogenInfo.cmake";
+ makefile->ConfigureFile(inputFile.c_str(), outputFile.c_str(),
+ false, true, false);
+
+ if (!configDefines.empty()
+ || !configIncludes.empty()
+ || !configUicOptions.empty())
+ {
+ cmsys::ofstream infoFile(outputFile.c_str(), std::ios::app);
+ if ( !infoFile )
+ {
+ std::string error = "Internal CMake error when trying to open file: ";
+ error += outputFile.c_str();
+ error += " for writing.";
+ cmSystemTools::Error(error.c_str());
+ return;
+ }
+ if (!configDefines.empty())
+ {
+ for (std::map<std::string, std::string>::iterator
+ it = configDefines.begin(), end = configDefines.end();
+ it != end; ++it)
+ {
+ infoFile << "set(AM_MOC_COMPILE_DEFINITIONS_" << it->first <<
+ " " << it->second << ")\n";
+ }
+ }
+ if (!configIncludes.empty())
+ {
+ for (std::map<std::string, std::string>::iterator
+ it = configIncludes.begin(), end = configIncludes.end();
+ it != end; ++it)
+ {
+ infoFile << "set(AM_MOC_INCLUDES_" << it->first <<
+ " " << it->second << ")\n";
+ }
+ }
+ if (!configUicOptions.empty())
+ {
+ for (std::map<std::string, std::string>::iterator
+ it = configUicOptions.begin(), end = configUicOptions.end();
+ it != end; ++it)
+ {
+ infoFile << "set(AM_UIC_TARGET_OPTIONS_" << it->first <<
+ " " << it->second << ")\n";
+ }
+ }
+ }
+}
+
+void cmQtAutoGenerators::SetupSourceFiles(cmTarget const* target)
+{
+ cmMakefile* makefile = target->GetMakefile();
+
+ const char* sepFiles = "";
+ const char* sepHeaders = "";
+
+ std::vector<cmSourceFile*> srcFiles;
+ target->GetSourceFiles(srcFiles);
+
+ const char *skipMocSep = "";
+ const char *skipUicSep = "";
+
+ std::vector<cmSourceFile*> newRccFiles;
+
+ for(std::vector<cmSourceFile*>::const_iterator fileIt = srcFiles.begin();
+ fileIt != srcFiles.end();
+ ++fileIt)
+ {
+ cmSourceFile* sf = *fileIt;
+ std::string absFile = cmsys::SystemTools::GetRealPath(
+ sf->GetFullPath().c_str());
+ bool skipMoc = cmSystemTools::IsOn(sf->GetPropertyForUser("SKIP_AUTOMOC"));
+ bool generated = cmSystemTools::IsOn(sf->GetPropertyForUser("GENERATED"));
+
+ if(cmSystemTools::IsOn(sf->GetPropertyForUser("SKIP_AUTOUIC")))
+ {
+ this->SkipUic += skipUicSep;
+ this->SkipUic += absFile;
+ skipUicSep = ";";
+ }
+
+ std::string ext = sf->GetExtension();
+
+ if (target->GetPropertyAsBool("AUTORCC"))
+ {
+ if (ext == "qrc"
+ && !cmSystemTools::IsOn(sf->GetPropertyForUser("SKIP_AUTORCC")))
+ {
+ std::string basename = cmsys::SystemTools::
+ GetFilenameWithoutLastExtension(absFile);
+
+ std::string rcc_output_file = makefile->GetCurrentOutputDirectory();
+ rcc_output_file += "/qrc_" + basename + ".cpp";
+ makefile->AppendProperty("ADDITIONAL_MAKE_CLEAN_FILES",
+ rcc_output_file.c_str(), false);
+ cmSourceFile* rccCppSource
+ = makefile->GetOrCreateSource(rcc_output_file.c_str(), true);
+ newRccFiles.push_back(rccCppSource);
+ }
+ }
+
+ if (!generated)
+ {
+ if (skipMoc)
+ {
+ this->SkipMoc += skipMocSep;
+ this->SkipMoc += absFile;
+ skipMocSep = ";";
+ }
+ else
+ {
+ cmSystemTools::FileFormat fileType = cmSystemTools::GetFileFormat(
+ ext.c_str());
+ if (fileType == cmSystemTools::CXX_FILE_FORMAT)
+ {
+ this->Sources += sepFiles;
+ this->Sources += absFile;
+ sepFiles = ";";
+ }
+ else if (fileType == cmSystemTools::HEADER_FILE_FORMAT)
+ {
+ this->Headers += sepHeaders;
+ this->Headers += absFile;
+ sepHeaders = ";";
+ }
+ }
+ }
+ }
+
+ for(std::vector<cmSourceFile*>::const_iterator fileIt = newRccFiles.begin();
+ fileIt != newRccFiles.end();
+ ++fileIt)
+ {
+ const_cast<cmTarget*>(target)->AddSourceFile(*fileIt);
+ }
+}
+
+void cmQtAutoGenerators::SetupAutoMocTarget(cmTarget const* target,
+ const std::string &autogenTargetName,
+ std::map<std::string, std::string> &configIncludes,
+ std::map<std::string, std::string> &configDefines)
+{
+ cmMakefile* makefile = target->GetMakefile();
+
+ const char* tmp = target->GetProperty("AUTOMOC_MOC_OPTIONS");
+ std::string _moc_options = (tmp!=0 ? tmp : "");
+ makefile->AddDefinition("_moc_options",
+ cmLocalGenerator::EscapeForCMake(_moc_options.c_str()).c_str());
+ makefile->AddDefinition("_skip_moc",
+ cmLocalGenerator::EscapeForCMake(this->SkipMoc.c_str()).c_str());
+ makefile->AddDefinition("_moc_headers",
+ cmLocalGenerator::EscapeForCMake(this->Headers.c_str()).c_str());
+ bool relaxedMode = makefile->IsOn("CMAKE_AUTOMOC_RELAXED_MODE");
+ makefile->AddDefinition("_moc_relaxed_mode", relaxedMode ? "TRUE" : "FALSE");
+
+ std::string _moc_incs;
+ std::string _moc_compile_defs;
+ std::vector<std::string> configs;
+ const char *config = makefile->GetConfigurations(configs);
+ GetCompileDefinitionsAndDirectories(target, config,
+ _moc_incs, _moc_compile_defs);
+
+ makefile->AddDefinition("_moc_incs",
+ cmLocalGenerator::EscapeForCMake(_moc_incs.c_str()).c_str());
+ makefile->AddDefinition("_moc_compile_defs",
+ cmLocalGenerator::EscapeForCMake(_moc_compile_defs.c_str()).c_str());
+
+ for (std::vector<std::string>::const_iterator li = configs.begin();
+ li != configs.end(); ++li)
+ {
+ std::string config_moc_incs;
+ std::string config_moc_compile_defs;
+ GetCompileDefinitionsAndDirectories(target, li->c_str(),
+ config_moc_incs,
+ config_moc_compile_defs);
+ if (config_moc_incs != _moc_incs)
+ {
+ configIncludes[*li] =
+ cmLocalGenerator::EscapeForCMake(config_moc_incs.c_str());
+ if(_moc_incs.empty())
+ {
+ _moc_incs = config_moc_incs;
+ }
+ }
+ if (config_moc_compile_defs != _moc_compile_defs)
+ {
+ configDefines[*li] =
+ cmLocalGenerator::EscapeForCMake(config_moc_compile_defs.c_str());
+ if(_moc_compile_defs.empty())
+ {
+ _moc_compile_defs = config_moc_compile_defs;
+ }
+ }
+ }
+
+ const char *qtVersion = makefile->GetDefinition("_target_qt_version");
+ if (strcmp(qtVersion, "5") == 0)
+ {
+ cmTarget *qt5Moc = makefile->FindTargetToUse("Qt5::moc");
+ if (!qt5Moc)
+ {
+ cmSystemTools::Error("Qt5::moc target not found ",
+ autogenTargetName.c_str());
+ return;
+ }
+ makefile->AddDefinition("_qt_moc_executable", qt5Moc->GetLocation(0));
+ }
+ else if (strcmp(qtVersion, "4") == 0)
+ {
+ cmTarget *qt4Moc = makefile->FindTargetToUse("Qt4::moc");
+ if (!qt4Moc)
+ {
+ cmSystemTools::Error("Qt4::moc target not found ",
+ autogenTargetName.c_str());
+ return;
+ }
+ makefile->AddDefinition("_qt_moc_executable", qt4Moc->GetLocation(0));
+ }
+ else
+ {
+ cmSystemTools::Error("The CMAKE_AUTOMOC feature supports only Qt 4 and "
+ "Qt 5 ", autogenTargetName.c_str());
+ }
+}
+
+void cmQtAutoGenerators::MergeUicOptions(std::vector<std::string> &opts,
+ const std::vector<std::string> &fileOpts,
+ bool isQt5)
+{
+ static const char* valueOptions[] = {
+ "tr",
+ "translate",
+ "postfix",
+ "generator",
+ "include", // Since Qt 5.3
+ "g"
+ };
+ std::vector<std::string> extraOpts;
+ for(std::vector<std::string>::const_iterator it = fileOpts.begin();
+ it != fileOpts.end(); ++it)
+ {
+ std::vector<std::string>::iterator existingIt
+ = std::find(opts.begin(), opts.end(), *it);
+ if (existingIt != opts.end())
+ {
+ const char *o = it->c_str();
+ if (*o == '-')
+ {
+ ++o;
+ }
+ if (isQt5 && *o == '-')
+ {
+ ++o;
+ }
+ if (std::find_if(cmArrayBegin(valueOptions), cmArrayEnd(valueOptions),
+ cmStrCmp(o)) != cmArrayEnd(valueOptions))
+ {
+ assert(existingIt + 1 != opts.end());
+ *(existingIt + 1) = *(it + 1);
+ ++it;
+ }
+ }
+ else
+ {
+ extraOpts.push_back(*it);
+ }
+ }
+ opts.insert(opts.end(), extraOpts.begin(), extraOpts.end());
+}
+
+static void GetUicOpts(cmTarget const* target, const char * config,
+ std::string &optString)
+{
+ std::vector<std::string> opts;
+ target->GetAutoUicOptions(opts, config);
+
+ const char* sep = "";
+ for(std::vector<std::string>::const_iterator optIt = opts.begin();
+ optIt != opts.end();
+ ++optIt)
+ {
+ optString += sep;
+ sep = ";";
+ optString += *optIt;
+ }
+}
+
+void cmQtAutoGenerators::SetupAutoUicTarget(cmTarget const* target,
+ std::map<std::string, std::string> &configUicOptions)
+{
+ cmMakefile *makefile = target->GetMakefile();
+
+ std::set<cmStdString> skipped;
+ std::vector<std::string> skipVec;
+ cmSystemTools::ExpandListArgument(this->SkipUic.c_str(), skipVec);
+
+ for (std::vector<std::string>::const_iterator li = skipVec.begin();
+ li != skipVec.end(); ++li)
+ {
+ skipped.insert(*li);
+ }
+
+ makefile->AddDefinition("_skip_uic",
+ cmLocalGenerator::EscapeForCMake(this->SkipUic.c_str()).c_str());
+
+ std::vector<cmSourceFile*> uiFilesWithOptions
+ = makefile->GetQtUiFilesWithOptions();
+
+ const char *qtVersion = makefile->GetDefinition("_target_qt_version");
+
+ std::string _uic_opts;
+ std::vector<std::string> configs;
+ const char *config = makefile->GetConfigurations(configs);
+ GetUicOpts(target, config, _uic_opts);
+
+ if (!_uic_opts.empty())
+ {
+ _uic_opts = cmLocalGenerator::EscapeForCMake(_uic_opts.c_str());
+ makefile->AddDefinition("_uic_target_options", _uic_opts.c_str());
+ }
+ for (std::vector<std::string>::const_iterator li = configs.begin();
+ li != configs.end(); ++li)
+ {
+ std::string config_uic_opts;
+ GetUicOpts(target, li->c_str(), config_uic_opts);
+ if (config_uic_opts != _uic_opts)
+ {
+ configUicOptions[*li] =
+ cmLocalGenerator::EscapeForCMake(config_uic_opts.c_str());
+ if(_uic_opts.empty())
+ {
+ _uic_opts = config_uic_opts;
+ }
+ }
+ }
+
+ std::string uiFileFiles;
+ std::string uiFileOptions;
+ const char* sep = "";
+
+ for(std::vector<cmSourceFile*>::const_iterator fileIt =
+ uiFilesWithOptions.begin();
+ fileIt != uiFilesWithOptions.end();
+ ++fileIt)
+ {
+ cmSourceFile* sf = *fileIt;
+ std::string absFile = cmsys::SystemTools::GetRealPath(
+ sf->GetFullPath().c_str());
+
+ if (!skipped.insert(absFile).second)
+ {
+ continue;
+ }
+ uiFileFiles += sep;
+ uiFileFiles += absFile;
+ uiFileOptions += sep;
+ std::string opts = sf->GetProperty("AUTOUIC_OPTIONS");
+ cmSystemTools::ReplaceString(opts, ";", "@list_sep@");
+ uiFileOptions += opts;
+ sep = ";";
+ }
+
+ makefile->AddDefinition("_qt_uic_options_files",
+ cmLocalGenerator::EscapeForCMake(uiFileFiles.c_str()).c_str());
+ makefile->AddDefinition("_qt_uic_options_options",
+ cmLocalGenerator::EscapeForCMake(uiFileOptions.c_str()).c_str());
+
+ const char* targetName = target->GetName();
+ if (strcmp(qtVersion, "5") == 0)
+ {
+ cmTarget *qt5Uic = makefile->FindTargetToUse("Qt5::uic");
+ if (!qt5Uic)
+ {
+ // Project does not use Qt5Widgets, but has AUTOUIC ON anyway
+ }
+ else
+ {
+ makefile->AddDefinition("_qt_uic_executable", qt5Uic->GetLocation(0));
+ }
+ }
+ else if (strcmp(qtVersion, "4") == 0)
+ {
+ cmTarget *qt4Uic = makefile->FindTargetToUse("Qt4::uic");
+ if (!qt4Uic)
+ {
+ cmSystemTools::Error("Qt4::uic target not found ",
+ targetName);
+ return;
+ }
+ makefile->AddDefinition("_qt_uic_executable", qt4Uic->GetLocation(0));
+ }
+ else
+ {
+ cmSystemTools::Error("The CMAKE_AUTOUIC feature supports only Qt 4 and "
+ "Qt 5 ", targetName);
+ }
+}
+
+void cmQtAutoGenerators::MergeRccOptions(std::vector<std::string> &opts,
+ const std::vector<std::string> &fileOpts,
+ bool isQt5)
+{
+ static const char* valueOptions[] = {
+ "name",
+ "root",
+ "compress",
+ "threshold"
+ };
+ std::vector<std::string> extraOpts;
+ for(std::vector<std::string>::const_iterator it = fileOpts.begin();
+ it != fileOpts.end(); ++it)
+ {
+ std::vector<std::string>::iterator existingIt
+ = std::find(opts.begin(), opts.end(), *it);
+ if (existingIt != opts.end())
+ {
+ const char *o = it->c_str();
+ if (*o == '-')
+ {
+ ++o;
+ }
+ if (isQt5 && *o == '-')
+ {
+ ++o;
+ }
+ if (std::find_if(cmArrayBegin(valueOptions), cmArrayEnd(valueOptions),
+ cmStrCmp(o)) != cmArrayEnd(valueOptions))
+ {
+ assert(existingIt + 1 != opts.end());
+ *(existingIt + 1) = *(it + 1);
+ ++it;
+ }
+ }
+ else
+ {
+ extraOpts.push_back(*it);
+ }
+ }
+ opts.insert(opts.end(), extraOpts.begin(), extraOpts.end());
+}
+
+void cmQtAutoGenerators::SetupAutoRccTarget(cmTarget const* target)
+{
+ std::string _rcc_files;
+ const char* sepRccFiles = "";
+ cmMakefile *makefile = target->GetMakefile();
+
+ std::vector<cmSourceFile*> srcFiles;
+ target->GetSourceFiles(srcFiles);
+
+ std::string rccFileFiles;
+ std::string rccFileOptions;
+ const char *sep = "";
+
+ const char *qtVersion = makefile->GetDefinition("_target_qt_version");
+
+ std::vector<std::string> rccOptions;
+ if (const char* opts = target->GetProperty("AUTORCC_OPTIONS"))
+ {
+ cmSystemTools::ExpandListArgument(opts, rccOptions);
+ }
+
+ for(std::vector<cmSourceFile*>::const_iterator fileIt = srcFiles.begin();
+ fileIt != srcFiles.end();
+ ++fileIt)
+ {
+ cmSourceFile* sf = *fileIt;
+ std::string ext = sf->GetExtension();
+ if (ext == "qrc")
+ {
+ std::string absFile = cmsys::SystemTools::GetRealPath(
+ sf->GetFullPath().c_str());
+ bool skip = cmSystemTools::IsOn(sf->GetPropertyForUser("SKIP_AUTORCC"));
+
+ if (!skip)
+ {
+ _rcc_files += sepRccFiles;
+ _rcc_files += absFile;
+ sepRccFiles = ";";
+
+ if (const char *prop = sf->GetProperty("AUTORCC_OPTIONS"))
+ {
+ std::vector<std::string> optsVec;
+ cmSystemTools::ExpandListArgument(prop, optsVec);
+ this->MergeRccOptions(rccOptions, optsVec,
+ strcmp(qtVersion, "5") == 0);
+ }
+
+ if (!rccOptions.empty())
+ {
+ rccFileFiles += sep;
+ rccFileFiles += absFile;
+ rccFileOptions += sep;
+ }
+ const char *listSep = "";
+ for(std::vector<std::string>::const_iterator it = rccOptions.begin();
+ it != rccOptions.end();
+ ++it)
+ {
+ rccFileOptions += listSep;
+ rccFileOptions += *it;
+ listSep = "@list_sep@";
+ }
+ sep = ";";
+ }
+ }
+ }
+
+ makefile->AddDefinition("_rcc_files",
+ cmLocalGenerator::EscapeForCMake(_rcc_files.c_str()).c_str());
+
+ makefile->AddDefinition("_qt_rcc_options_files",
+ cmLocalGenerator::EscapeForCMake(rccFileFiles.c_str()).c_str());
+ makefile->AddDefinition("_qt_rcc_options_options",
+ cmLocalGenerator::EscapeForCMake(rccFileOptions.c_str()).c_str());
+
+ const char* targetName = target->GetName();
+ if (strcmp(qtVersion, "5") == 0)
+ {
+ cmTarget *qt5Rcc = makefile->FindTargetToUse("Qt5::rcc");
+ if (!qt5Rcc)
+ {
+ cmSystemTools::Error("Qt5::rcc target not found ",
+ targetName);
+ return;
+ }
+ makefile->AddDefinition("_qt_rcc_executable", qt5Rcc->GetLocation(0));
+ }
+ else if (strcmp(qtVersion, "4") == 0)
+ {
+ cmTarget *qt4Rcc = makefile->FindTargetToUse("Qt4::rcc");
+ if (!qt4Rcc)
+ {
+ cmSystemTools::Error("Qt4::rcc target not found ",
+ targetName);
+ return;
+ }
+ makefile->AddDefinition("_qt_rcc_executable", qt4Rcc->GetLocation(0));
+ }
+ else
+ {
+ cmSystemTools::Error("The CMAKE_AUTORCC feature supports only Qt 4 and "
+ "Qt 5 ", targetName);
+ }
+}
+
+static cmGlobalGenerator* CreateGlobalGenerator(cmake* cm,
+ const char* targetDirectory)
+{
+ cmGlobalGenerator* gg = new cmGlobalGenerator();
+ gg->SetCMakeInstance(cm);
+
+ cmLocalGenerator* lg = gg->CreateLocalGenerator();
+ lg->GetMakefile()->SetHomeOutputDirectory(targetDirectory);
+ lg->GetMakefile()->SetStartOutputDirectory(targetDirectory);
+ lg->GetMakefile()->SetHomeDirectory(targetDirectory);
+ lg->GetMakefile()->SetStartDirectory(targetDirectory);
+ gg->SetCurrentLocalGenerator(lg);
+
+ return gg;
+}
+
+bool cmQtAutoGenerators::Run(const char* targetDirectory, const char *config)
+{
+ bool success = true;
+ cmake cm;
+ cmGlobalGenerator* gg = CreateGlobalGenerator(&cm, targetDirectory);
+ cmMakefile* makefile = gg->GetCurrentLocalGenerator()->GetMakefile();
+
+ this->ReadAutogenInfoFile(makefile, targetDirectory, config);
+ this->ReadOldMocDefinitionsFile(makefile, targetDirectory);
+
+ this->Init();
+
+ if (this->QtMajorVersion == "4" || this->QtMajorVersion == "5")
+ {
+ success = this->RunAutogen(makefile);
+ }
+
+ this->WriteOldMocDefinitionsFile(targetDirectory);
+
+ delete gg;
+ gg = NULL;
+ makefile = NULL;
+ return success;
+}
+
+bool cmQtAutoGenerators::ReadAutogenInfoFile(cmMakefile* makefile,
+ const char* targetDirectory,
+ const char *config)
+{
+ std::string filename(cmSystemTools::CollapseFullPath(targetDirectory));
+ cmSystemTools::ConvertToUnixSlashes(filename);
+ filename += "/AutogenInfo.cmake";
+
+ if (!makefile->ReadListFile(0, filename.c_str()))
+ {
+ cmSystemTools::Error("Error processing file: ", filename.c_str());
+ return false;
+ }
+
+ this->QtMajorVersion = makefile->GetSafeDefinition("AM_QT_VERSION_MAJOR");
+ if (this->QtMajorVersion == "")
+ {
+ this->QtMajorVersion = makefile->GetSafeDefinition(
+ "AM_Qt5Core_VERSION_MAJOR");
+ }
+ this->Sources = makefile->GetSafeDefinition("AM_SOURCES");
+ this->RccSources = makefile->GetSafeDefinition("AM_RCC_SOURCES");
+ this->SkipMoc = makefile->GetSafeDefinition("AM_SKIP_MOC");
+ this->SkipUic = makefile->GetSafeDefinition("AM_SKIP_UIC");
+ this->Headers = makefile->GetSafeDefinition("AM_HEADERS");
+ this->IncludeProjectDirsBefore = makefile->IsOn(
+ "AM_CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE");
+ this->Srcdir = makefile->GetSafeDefinition("AM_CMAKE_CURRENT_SOURCE_DIR");
+ this->Builddir = makefile->GetSafeDefinition("AM_CMAKE_CURRENT_BINARY_DIR");
+ this->MocExecutable = makefile->GetSafeDefinition("AM_QT_MOC_EXECUTABLE");
+ this->UicExecutable = makefile->GetSafeDefinition("AM_QT_UIC_EXECUTABLE");
+ this->RccExecutable = makefile->GetSafeDefinition("AM_QT_RCC_EXECUTABLE");
+ {
+ std::string compileDefsPropOrig = "AM_MOC_COMPILE_DEFINITIONS";
+ std::string compileDefsProp = compileDefsPropOrig;
+ if(config)
+ {
+ compileDefsProp += "_";
+ compileDefsProp += config;
+ }
+ const char *compileDefs = makefile->GetDefinition(compileDefsProp.c_str());
+ this->MocCompileDefinitionsStr = compileDefs ? compileDefs
+ : makefile->GetSafeDefinition(compileDefsPropOrig.c_str());
+ }
+ {
+ std::string includesPropOrig = "AM_MOC_INCLUDES";
+ std::string includesProp = includesPropOrig;
+ if(config)
+ {
+ includesProp += "_";
+ includesProp += config;
+ }
+ const char *includes = makefile->GetDefinition(includesProp.c_str());
+ this->MocIncludesStr = includes ? includes
+ : makefile->GetSafeDefinition(includesPropOrig.c_str());
+ }
+ this->MocOptionsStr = makefile->GetSafeDefinition("AM_MOC_OPTIONS");
+ this->ProjectBinaryDir = makefile->GetSafeDefinition("AM_CMAKE_BINARY_DIR");
+ this->ProjectSourceDir = makefile->GetSafeDefinition("AM_CMAKE_SOURCE_DIR");
+ this->TargetName = makefile->GetSafeDefinition("AM_TARGET_NAME");
+
+ {
+ const char *uicOptionsFiles
+ = makefile->GetSafeDefinition("AM_UIC_OPTIONS_FILES");
+ std::string uicOptionsPropOrig = "AM_UIC_TARGET_OPTIONS";
+ std::string uicOptionsProp = uicOptionsPropOrig;
+ if(config)
+ {
+ uicOptionsProp += "_";
+ uicOptionsProp += config;
+ }
+ const char *uicTargetOptions
+ = makefile->GetSafeDefinition(uicOptionsProp.c_str());
+ cmSystemTools::ExpandListArgument(
+ uicTargetOptions ? uicTargetOptions
+ : makefile->GetSafeDefinition(uicOptionsPropOrig.c_str()),
+ this->UicTargetOptions);
+ const char *uicOptionsOptions
+ = makefile->GetSafeDefinition("AM_UIC_OPTIONS_OPTIONS");
+ std::vector<std::string> uicFilesVec;
+ cmSystemTools::ExpandListArgument(uicOptionsFiles, uicFilesVec);
+ std::vector<std::string> uicOptionsVec;
+ cmSystemTools::ExpandListArgument(uicOptionsOptions, uicOptionsVec);
+ if (uicFilesVec.size() != uicOptionsVec.size())
+ {
+ return false;
+ }
+ for (std::vector<std::string>::iterator fileIt = uicFilesVec.begin(),
+ optionIt = uicOptionsVec.begin();
+ fileIt != uicFilesVec.end();
+ ++fileIt, ++optionIt)
+ {
+ cmSystemTools::ReplaceString(*optionIt, "@list_sep@", ";");
+ this->UicOptions[*fileIt] = *optionIt;
+ }
+ }
+ {
+ const char *rccOptionsFiles
+ = makefile->GetSafeDefinition("AM_RCC_OPTIONS_FILES");
+ const char *rccOptionsOptions
+ = makefile->GetSafeDefinition("AM_RCC_OPTIONS_OPTIONS");
+ std::vector<std::string> rccFilesVec;
+ cmSystemTools::ExpandListArgument(rccOptionsFiles, rccFilesVec);
+ std::vector<std::string> rccOptionsVec;
+ cmSystemTools::ExpandListArgument(rccOptionsOptions, rccOptionsVec);
+ if (rccFilesVec.size() != rccOptionsVec.size())
+ {
+ return false;
+ }
+ for (std::vector<std::string>::iterator fileIt = rccFilesVec.begin(),
+ optionIt = rccOptionsVec.begin();
+ fileIt != rccFilesVec.end();
+ ++fileIt, ++optionIt)
+ {
+ cmSystemTools::ReplaceString(*optionIt, "@list_sep@", ";");
+ this->RccOptions[*fileIt] = *optionIt;
+ }
+ }
+ this->CurrentCompileSettingsStr = this->MakeCompileSettingsString(makefile);
+
+ this->RelaxedMode = makefile->IsOn("AM_RELAXED_MODE");
+
+ return true;
+}
+
+
+std::string cmQtAutoGenerators::MakeCompileSettingsString(cmMakefile* makefile)
+{
+ std::string s;
+ s += makefile->GetSafeDefinition("AM_MOC_COMPILE_DEFINITIONS");
+ s += " ~~~ ";
+ s += makefile->GetSafeDefinition("AM_MOC_INCLUDES");
+ s += " ~~~ ";
+ s += makefile->GetSafeDefinition("AM_MOC_OPTIONS");
+ s += " ~~~ ";
+ s += makefile->IsOn("AM_CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE") ? "TRUE"
+ : "FALSE";
+ s += " ~~~ ";
+
+ return s;
+}
+
+
+bool cmQtAutoGenerators::ReadOldMocDefinitionsFile(cmMakefile* makefile,
+ const char* targetDirectory)
+{
+ std::string filename(cmSystemTools::CollapseFullPath(targetDirectory));
+ cmSystemTools::ConvertToUnixSlashes(filename);
+ filename += "/AutomocOldMocDefinitions.cmake";
+
+ if (makefile->ReadListFile(0, filename.c_str()))
+ {
+ this->OldCompileSettingsStr =
+ makefile->GetSafeDefinition("AM_OLD_COMPILE_SETTINGS");
+ }
+ return true;
+}
+
+
+void
+cmQtAutoGenerators::WriteOldMocDefinitionsFile(const char* targetDirectory)
+{
+ std::string filename(cmSystemTools::CollapseFullPath(targetDirectory));
+ cmSystemTools::ConvertToUnixSlashes(filename);
+ filename += "/AutomocOldMocDefinitions.cmake";
+
+ std::fstream outfile;
+ outfile.open(filename.c_str(),
+ std::ios::out | std::ios::trunc);
+ outfile << "set(AM_OLD_COMPILE_SETTINGS "
+ << cmLocalGenerator::EscapeForCMake(
+ this->CurrentCompileSettingsStr.c_str()) << ")\n";
+
+ outfile.close();
+}
+
+
+void cmQtAutoGenerators::Init()
+{
+ this->OutMocCppFilename = this->Builddir;
+ this->OutMocCppFilename += this->TargetName;
+ this->OutMocCppFilename += ".cpp";
+
+ std::vector<std::string> cdefList;
+ cmSystemTools::ExpandListArgument(this->MocCompileDefinitionsStr, cdefList);
+ for(std::vector<std::string>::const_iterator it = cdefList.begin();
+ it != cdefList.end();
+ ++it)
+ {
+ this->MocDefinitions.push_back("-D" + (*it));
+ }
+
+ cmSystemTools::ExpandListArgument(this->MocOptionsStr, this->MocOptions);
+
+ std::vector<std::string> incPaths;
+ cmSystemTools::ExpandListArgument(this->MocIncludesStr, incPaths);
+
+ std::set<std::string> frameworkPaths;
+ for(std::vector<std::string>::const_iterator it = incPaths.begin();
+ it != incPaths.end();
+ ++it)
+ {
+ const std::string &path = *it;
+ this->MocIncludes.push_back("-I" + path);
+ if (this->EndsWith(path, ".framework/Headers"))
+ {
+ // Go up twice to get to the framework root
+ std::vector<std::string> pathComponents;
+ cmsys::SystemTools::SplitPath(path.c_str(), pathComponents);
+ std::string frameworkPath =cmsys::SystemTools::JoinPath(
+ pathComponents.begin(), pathComponents.end() - 2);
+ frameworkPaths.insert(frameworkPath);
+ }
+ }
+
+ for (std::set<std::string>::const_iterator it = frameworkPaths.begin();
+ it != frameworkPaths.end(); ++it)
+ {
+ this->MocIncludes.push_back("-F");
+ this->MocIncludes.push_back(*it);
+ }
+
+
+ if (this->IncludeProjectDirsBefore)
+ {
+ const std::string &binDir = "-I" + this->ProjectBinaryDir;
+
+ const std::string srcDir = "-I" + this->ProjectSourceDir;
+
+ std::list<std::string> sortedMocIncludes;
+ std::list<std::string>::iterator it = this->MocIncludes.begin();
+ while (it != this->MocIncludes.end())
+ {
+ if (this->StartsWith(*it, binDir))
+ {
+ sortedMocIncludes.push_back(*it);
+ it = this->MocIncludes.erase(it);
+ }
+ else
+ {
+ ++it;
+ }
+ }
+ it = this->MocIncludes.begin();
+ while (it != this->MocIncludes.end())
+ {
+ if (this->StartsWith(*it, srcDir))
+ {
+ sortedMocIncludes.push_back(*it);
+ it = this->MocIncludes.erase(it);
+ }
+ else
+ {
+ ++it;
+ }
+ }
+ sortedMocIncludes.insert(sortedMocIncludes.end(),
+ this->MocIncludes.begin(), this->MocIncludes.end());
+ this->MocIncludes = sortedMocIncludes;
+ }
+
+}
+
+
+bool cmQtAutoGenerators::RunAutogen(cmMakefile* makefile)
+{
+ if (!cmsys::SystemTools::FileExists(this->OutMocCppFilename.c_str())
+ || (this->OldCompileSettingsStr != this->CurrentCompileSettingsStr))
+ {
+ this->GenerateAll = true;
+ }
+
+ // the program goes through all .cpp files to see which moc files are
+ // included. It is not really interesting how the moc file is named, but
+ // what file the moc is created from. Once a moc is included the same moc
+ // may not be included in the _automoc.cpp file anymore. OTOH if there's a
+ // header containing Q_OBJECT where no corresponding moc file is included
+ // anywhere a moc_<filename>.cpp file is created and included in
+ // the _automoc.cpp file.
+
+ // key = moc source filepath, value = moc output filepath
+ std::map<std::string, std::string> includedMocs;
+ // collect all headers which may need to be mocced
+ std::set<std::string> headerFiles;
+
+ std::vector<std::string> sourceFiles;
+ cmSystemTools::ExpandListArgument(this->Sources, sourceFiles);
+
+ const std::vector<std::string>& headerExtensions =
+ makefile->GetHeaderExtensions();
+
+ std::map<std::string, std::string> includedUis;
+ std::map<std::string, std::string> skippedUis;
+ std::vector<std::string> uicSkipped;
+ cmSystemTools::ExpandListArgument(this->SkipUic, uicSkipped);
+
+ for (std::vector<std::string>::const_iterator it = sourceFiles.begin();
+ it != sourceFiles.end();
+ ++it)
+ {
+ const bool skipUic = std::find(uicSkipped.begin(), uicSkipped.end(), *it)
+ != uicSkipped.end();
+ std::map<std::string, std::string>& uiFiles
+ = skipUic ? skippedUis : includedUis;
+ const std::string &absFilename = *it;
+ if (this->Verbose)
+ {
+ std::cout << "AUTOGEN: Checking " << absFilename << std::endl;
+ }
+ if (this->RelaxedMode)
+ {
+ this->ParseCppFile(absFilename, headerExtensions, includedMocs,
+ uiFiles);
+ }
+ else
+ {
+ this->StrictParseCppFile(absFilename, headerExtensions, includedMocs,
+ uiFiles);
+ }
+ this->SearchHeadersForCppFile(absFilename, headerExtensions, headerFiles);
+ }
+
+ {
+ std::vector<std::string> mocSkipped;
+ cmSystemTools::ExpandListArgument(this->SkipMoc, mocSkipped);
+ for (std::vector<std::string>::const_iterator it = mocSkipped.begin();
+ it != mocSkipped.end();
+ ++it)
+ {
+ if (std::find(uicSkipped.begin(), uicSkipped.end(), *it)
+ != uicSkipped.end())
+ {
+ const std::string &absFilename = *it;
+ if (this->Verbose)
+ {
+ std::cout << "AUTOGEN: Checking " << absFilename << std::endl;
+ }
+ this->ParseForUic(absFilename, includedUis);
+ }
+ }
+ }
+
+ std::vector<std::string> headerFilesVec;
+ cmSystemTools::ExpandListArgument(this->Headers, headerFilesVec);
+ for (std::vector<std::string>::const_iterator it = headerFilesVec.begin();
+ it != headerFilesVec.end();
+ ++it)
+ {
+ headerFiles.insert(*it);
+ }
+
+ // key = moc source filepath, value = moc output filename
+ std::map<std::string, std::string> notIncludedMocs;
+ this->ParseHeaders(headerFiles, includedMocs, notIncludedMocs, includedUis);
+
+ // run moc on all the moc's that are #included in source files
+ for(std::map<std::string, std::string>::const_iterator
+ it = includedMocs.begin();
+ it != includedMocs.end();
+ ++it)
+ {
+ this->GenerateMoc(it->first, it->second);
+ }
+ for(std::map<std::string, std::string>::const_iterator
+ it = includedUis.begin();
+ it != includedUis.end();
+ ++it)
+ {
+ this->GenerateUi(it->first, it->second);
+ }
+
+ if(!this->RccExecutable.empty())
+ {
+ this->GenerateQrc();
+ }
+
+ cmsys_ios::stringstream outStream;
+ outStream << "/* This file is autogenerated, do not edit*/\n";
+
+ bool automocCppChanged = false;
+ if (notIncludedMocs.empty())
+ {
+ outStream << "enum some_compilers { need_more_than_nothing };\n";
+ }
+ else
+ {
+ // run moc on the remaining headers and include them in
+ // the _automoc.cpp file
+ for(std::map<std::string, std::string>::const_iterator
+ it = notIncludedMocs.begin();
+ it != notIncludedMocs.end();
+ ++it)
+ {
+ bool mocSuccess = this->GenerateMoc(it->first, it->second);
+ if (mocSuccess)
+ {
+ automocCppChanged = true;
+ }
+ outStream << "#include \"" << it->second << "\"\n";
+ }
+ }
+
+ if (this->RunMocFailed)
+ {
+ std::cerr << "moc failed..." << std::endl;
+ return false;
+ }
+
+ if (this->RunUicFailed)
+ {
+ std::cerr << "uic failed..." << std::endl;
+ return false;
+ }
+ if (this->RunRccFailed)
+ {
+ std::cerr << "rcc failed..." << std::endl;
+ return false;
+ }
+ outStream.flush();
+ std::string automocSource = outStream.str();
+ if (!automocCppChanged)
+ {
+ // compare contents of the _automoc.cpp file
+ const std::string oldContents = ReadAll(this->OutMocCppFilename);
+ if (oldContents == automocSource)
+ {
+ // nothing changed: don't touch the _automoc.cpp file
+ return true;
+ }
+ }
+
+ // source file that includes all remaining moc files (_automoc.cpp file)
+ std::fstream outfile;
+ outfile.open(this->OutMocCppFilename.c_str(),
+ std::ios::out | std::ios::trunc);
+ outfile << automocSource;
+ outfile.close();
+
+ return true;
+}
+
+
+void cmQtAutoGenerators::ParseCppFile(const std::string& absFilename,
+ const std::vector<std::string>& headerExtensions,
+ std::map<std::string, std::string>& includedMocs,
+ std::map<std::string, std::string> &includedUis)
+{
+ cmsys::RegularExpression mocIncludeRegExp(
+ "[\n][ \t]*#[ \t]*include[ \t]+"
+ "[\"<](([^ \">]+/)?moc_[^ \">/]+\\.cpp|[^ \">]+\\.moc)[\">]");
+
+ const std::string contentsString = ReadAll(absFilename);
+ if (contentsString.empty())
+ {
+ std::cerr << "AUTOGEN: warning: " << absFilename << ": file is empty\n"
+ << std::endl;
+ return;
+ }
+ this->ParseForUic(absFilename, contentsString, includedUis);
+ if (this->MocExecutable.empty())
+ {
+ return;
+ }
+
+ const std::string absPath = cmsys::SystemTools::GetFilenamePath(
+ cmsys::SystemTools::GetRealPath(absFilename.c_str())) + '/';
+ const std::string scannedFileBasename = cmsys::SystemTools::
+ GetFilenameWithoutLastExtension(absFilename);
+ std::string macroName;
+ const bool requiresMoc = requiresMocing(contentsString, macroName);
+ bool dotMocIncluded = false;
+ bool mocUnderscoreIncluded = false;
+ std::string ownMocUnderscoreFile;
+ std::string ownDotMocFile;
+ std::string ownMocHeaderFile;
+
+ std::string::size_type matchOffset = 0;
+ // first a simple string check for "moc" is *much* faster than the regexp,
+ // and if the string search already fails, we don't have to try the
+ // expensive regexp
+ if ((strstr(contentsString.c_str(), "moc") != NULL)
+ && (mocIncludeRegExp.find(contentsString)))
+ {
+ // for every moc include in the file
+ do
+ {
+ const std::string currentMoc = mocIncludeRegExp.match(1);
+ //std::cout << "found moc include: " << currentMoc << std::endl;
+
+ std::string basename = cmsys::SystemTools::
+ GetFilenameWithoutLastExtension(currentMoc);
+ const bool moc_style = this->StartsWith(basename, "moc_");
+
+ // If the moc include is of the moc_foo.cpp style we expect
+ // the Q_OBJECT class declaration in a header file.
+ // If the moc include is of the foo.moc style we need to look for
+ // a Q_OBJECT macro in the current source file, if it contains the
+ // macro we generate the moc file from the source file.
+ // Q_OBJECT
+ if (moc_style)
+ {
+ // basename should be the part of the moc filename used for
+ // finding the correct header, so we need to remove the moc_ part
+ basename = basename.substr(4);
+ std::string mocSubDir = extractSubDir(absPath, currentMoc);
+ std::string headerToMoc = findMatchingHeader(
+ absPath, mocSubDir, basename, headerExtensions);
+
+ if (!headerToMoc.empty())
+ {
+ includedMocs[headerToMoc] = currentMoc;
+ if (basename == scannedFileBasename)
+ {
+ mocUnderscoreIncluded = true;
+ ownMocUnderscoreFile = currentMoc;
+ ownMocHeaderFile = headerToMoc;
+ }
+ }
+ else
+ {
+ std::cerr << "AUTOGEN: error: " << absFilename << ": The file "
+ << "includes the moc file \"" << currentMoc << "\", "
+ << "but could not find header \"" << basename
+ << '{' << this->Join(headerExtensions, ',') << "}\" ";
+ if (mocSubDir.empty())
+ {
+ std::cerr << "in " << absPath << "\n" << std::endl;
+ }
+ else
+ {
+ std::cerr << "neither in " << absPath
+ << " nor in " << mocSubDir << "\n" << std::endl;
+ }
+
+ ::exit(EXIT_FAILURE);
+ }
+ }
+ else
+ {
+ std::string fileToMoc = absFilename;
+ if ((basename != scannedFileBasename) || (requiresMoc==false))
+ {
+ std::string mocSubDir = extractSubDir(absPath, currentMoc);
+ std::string headerToMoc = findMatchingHeader(
+ absPath, mocSubDir, basename, headerExtensions);
+ if (!headerToMoc.empty())
+ {
+ // this is for KDE4 compatibility:
+ fileToMoc = headerToMoc;
+ if ((requiresMoc==false) &&(basename==scannedFileBasename))
+ {
+ std::cerr << "AUTOGEN: warning: " << absFilename << ": The file "
+ "includes the moc file \"" << currentMoc <<
+ "\", but does not contain a " << macroName
+ << " macro. Running moc on "
+ << "\"" << headerToMoc << "\" ! Include \"moc_"
+ << basename << ".cpp\" for a compatiblity with "
+ "strict mode (see CMAKE_AUTOMOC_RELAXED_MODE).\n"
+ << std::endl;
+ }
+ else
+ {
+ std::cerr << "AUTOGEN: warning: " << absFilename << ": The file "
+ "includes the moc file \"" << currentMoc <<
+ "\" instead of \"moc_" << basename << ".cpp\". "
+ "Running moc on "
+ << "\"" << headerToMoc << "\" ! Include \"moc_"
+ << basename << ".cpp\" for compatiblity with "
+ "strict mode (see CMAKE_AUTOMOC_RELAXED_MODE).\n"
+ << std::endl;
+ }
+ }
+ else
+ {
+ std::cerr <<"AUTOGEN: error: " << absFilename << ": The file "
+ "includes the moc file \"" << currentMoc <<
+ "\", which seems to be the moc file from a different "
+ "source file. CMake also could not find a matching "
+ "header.\n" << std::endl;
+ ::exit(EXIT_FAILURE);
+ }
+ }
+ else
+ {
+ dotMocIncluded = true;
+ ownDotMocFile = currentMoc;
+ }
+ includedMocs[fileToMoc] = currentMoc;
+ }
+ matchOffset += mocIncludeRegExp.end();
+ } while(mocIncludeRegExp.find(contentsString.c_str() + matchOffset));
+ }
+
+ // In this case, check whether the scanned file itself contains a Q_OBJECT.
+ // If this is the case, the moc_foo.cpp should probably be generated from
+ // foo.cpp instead of foo.h, because otherwise it won't build.
+ // But warn, since this is not how it is supposed to be used.
+ if ((dotMocIncluded == false) && (requiresMoc == true))
+ {
+ if (mocUnderscoreIncluded == true)
+ {
+ // this is for KDE4 compatibility:
+ std::cerr << "AUTOGEN: warning: " << absFilename << ": The file "
+ << "contains a " << macroName << " macro, but does not "
+ "include "
+ << "\"" << scannedFileBasename << ".moc\", but instead "
+ "includes "
+ << "\"" << ownMocUnderscoreFile << "\". Running moc on "
+ << "\"" << absFilename << "\" ! Better include \""
+ << scannedFileBasename << ".moc\" for compatiblity with "
+ "strict mode (see CMAKE_AUTOMOC_RELAXED_MODE).\n"
+ << std::endl;
+ includedMocs[absFilename] = ownMocUnderscoreFile;
+ includedMocs.erase(ownMocHeaderFile);
+ }
+ else
+ {
+ // otherwise always error out since it will not compile:
+ std::cerr << "AUTOGEN: error: " << absFilename << ": The file "
+ << "contains a " << macroName << " macro, but does not "
+ "include "
+ << "\"" << scannedFileBasename << ".moc\" !\n"
+ << std::endl;
+ ::exit(EXIT_FAILURE);
+ }
+ }
+
+}
+
+
+void cmQtAutoGenerators::StrictParseCppFile(const std::string& absFilename,
+ const std::vector<std::string>& headerExtensions,
+ std::map<std::string, std::string>& includedMocs,
+ std::map<std::string, std::string>& includedUis)
+{
+ cmsys::RegularExpression mocIncludeRegExp(
+ "[\n][ \t]*#[ \t]*include[ \t]+"
+ "[\"<](([^ \">]+/)?moc_[^ \">/]+\\.cpp|[^ \">]+\\.moc)[\">]");
+
+ const std::string contentsString = ReadAll(absFilename);
+ if (contentsString.empty())
+ {
+ std::cerr << "AUTOGEN: warning: " << absFilename << ": file is empty\n"
+ << std::endl;
+ return;
+ }
+ this->ParseForUic(absFilename, contentsString, includedUis);
+ if (this->MocExecutable.empty())
+ {
+ return;
+ }
+
+ const std::string absPath = cmsys::SystemTools::GetFilenamePath(
+ cmsys::SystemTools::GetRealPath(absFilename.c_str())) + '/';
+ const std::string scannedFileBasename = cmsys::SystemTools::
+ GetFilenameWithoutLastExtension(absFilename);
+
+ bool dotMocIncluded = false;
+
+ std::string::size_type matchOffset = 0;
+ // first a simple string check for "moc" is *much* faster than the regexp,
+ // and if the string search already fails, we don't have to try the
+ // expensive regexp
+ if ((strstr(contentsString.c_str(), "moc") != NULL)
+ && (mocIncludeRegExp.find(contentsString)))
+ {
+ // for every moc include in the file
+ do
+ {
+ const std::string currentMoc = mocIncludeRegExp.match(1);
+
+ std::string basename = cmsys::SystemTools::
+ GetFilenameWithoutLastExtension(currentMoc);
+ const bool mocUnderscoreStyle = this->StartsWith(basename, "moc_");
+
+ // If the moc include is of the moc_foo.cpp style we expect
+ // the Q_OBJECT class declaration in a header file.
+ // If the moc include is of the foo.moc style we need to look for
+ // a Q_OBJECT macro in the current source file, if it contains the
+ // macro we generate the moc file from the source file.
+ if (mocUnderscoreStyle)
+ {
+ // basename should be the part of the moc filename used for
+ // finding the correct header, so we need to remove the moc_ part
+ basename = basename.substr(4);
+ std::string mocSubDir = extractSubDir(absPath, currentMoc);
+ std::string headerToMoc = findMatchingHeader(
+ absPath, mocSubDir, basename, headerExtensions);
+
+ if (!headerToMoc.empty())
+ {
+ includedMocs[headerToMoc] = currentMoc;
+ }
+ else
+ {
+ std::cerr << "AUTOGEN: error: " << absFilename << " The file "
+ << "includes the moc file \"" << currentMoc << "\", "
+ << "but could not find header \"" << basename
+ << '{' << this->Join(headerExtensions, ',') << "}\" ";
+ if (mocSubDir.empty())
+ {
+ std::cerr << "in " << absPath << "\n" << std::endl;
+ }
+ else
+ {
+ std::cerr << "neither in " << absPath
+ << " nor in " << mocSubDir << "\n" << std::endl;
+ }
+
+ ::exit(EXIT_FAILURE);
+ }
+ }
+ else
+ {
+ if (basename != scannedFileBasename)
+ {
+ std::cerr <<"AUTOGEN: error: " << absFilename << ": The file "
+ "includes the moc file \"" << currentMoc <<
+ "\", which seems to be the moc file from a different "
+ "source file. This is not supported. "
+ "Include \"" << scannedFileBasename << ".moc\" to run "
+ "moc on this source file.\n" << std::endl;
+ ::exit(EXIT_FAILURE);
+ }
+ dotMocIncluded = true;
+ includedMocs[absFilename] = currentMoc;
+ }
+ matchOffset += mocIncludeRegExp.end();
+ } while(mocIncludeRegExp.find(contentsString.c_str() + matchOffset));
+ }
+
+ // In this case, check whether the scanned file itself contains a Q_OBJECT.
+ // If this is the case, the moc_foo.cpp should probably be generated from
+ // foo.cpp instead of foo.h, because otherwise it won't build.
+ // But warn, since this is not how it is supposed to be used.
+ std::string macroName;
+ if ((dotMocIncluded == false) && (requiresMocing(contentsString,
+ macroName)))
+ {
+ // otherwise always error out since it will not compile:
+ std::cerr << "AUTOGEN: error: " << absFilename << ": The file "
+ << "contains a " << macroName << " macro, but does not include "
+ << "\"" << scannedFileBasename << ".moc\" !\n"
+ << std::endl;
+ ::exit(EXIT_FAILURE);
+ }
+
+}
+
+
+void cmQtAutoGenerators::ParseForUic(const std::string& absFilename,
+ std::map<std::string, std::string>& includedUis)
+{
+ if (this->UicExecutable.empty())
+ {
+ return;
+ }
+ const std::string contentsString = ReadAll(absFilename);
+ if (contentsString.empty())
+ {
+ std::cerr << "AUTOGEN: warning: " << absFilename << ": file is empty\n"
+ << std::endl;
+ return;
+ }
+ this->ParseForUic(absFilename, contentsString, includedUis);
+}
+
+
+void cmQtAutoGenerators::ParseForUic(const std::string& absFilename,
+ const std::string& contentsString,
+ std::map<std::string, std::string>& includedUis)
+{
+ if (this->UicExecutable.empty())
+ {
+ return;
+ }
+ cmsys::RegularExpression uiIncludeRegExp(
+ "[\n][ \t]*#[ \t]*include[ \t]+"
+ "[\"<](([^ \">]+/)?ui_[^ \">/]+\\.h)[\">]");
+
+ std::string::size_type matchOffset = 0;
+
+ const std::string absPath = cmsys::SystemTools::GetFilenamePath(
+ cmsys::SystemTools::GetRealPath(absFilename.c_str())) + '/';
+
+ matchOffset = 0;
+ if ((strstr(contentsString.c_str(), "ui_") != NULL)
+ && (uiIncludeRegExp.find(contentsString)))
+ {
+ do
+ {
+ const std::string currentUi = uiIncludeRegExp.match(1);
+
+ std::string basename = cmsys::SystemTools::
+ GetFilenameWithoutLastExtension(currentUi);
+
+ // basename should be the part of the ui filename used for
+ // finding the correct header, so we need to remove the ui_ part
+ basename = basename.substr(3);
+
+ includedUis[absPath] = basename;
+
+ matchOffset += uiIncludeRegExp.end();
+ } while(uiIncludeRegExp.find(contentsString.c_str() + matchOffset));
+ }
+}
+
+
+void
+cmQtAutoGenerators::SearchHeadersForCppFile(const std::string& absFilename,
+ const std::vector<std::string>& headerExtensions,
+ std::set<std::string>& absHeaders)
+{
+ // search for header files and private header files we may need to moc:
+ const std::string basename =
+ cmsys::SystemTools::GetFilenameWithoutLastExtension(absFilename);
+ const std::string absPath = cmsys::SystemTools::GetFilenamePath(
+ cmsys::SystemTools::GetRealPath(absFilename.c_str())) + '/';
+
+ for(std::vector<std::string>::const_iterator ext = headerExtensions.begin();
+ ext != headerExtensions.end();
+ ++ext)
+ {
+ const std::string headerName = absPath + basename + "." + (*ext);
+ if (cmsys::SystemTools::FileExists(headerName.c_str()))
+ {
+ absHeaders.insert(headerName);
+ break;
+ }
+ }
+ for(std::vector<std::string>::const_iterator ext = headerExtensions.begin();
+ ext != headerExtensions.end();
+ ++ext)
+ {
+ const std::string privateHeaderName = absPath+basename+"_p."+(*ext);
+ if (cmsys::SystemTools::FileExists(privateHeaderName.c_str()))
+ {
+ absHeaders.insert(privateHeaderName);
+ break;
+ }
+ }
+
+}
+
+
+void cmQtAutoGenerators::ParseHeaders(const std::set<std::string>& absHeaders,
+ const std::map<std::string, std::string>& includedMocs,
+ std::map<std::string, std::string>& notIncludedMocs,
+ std::map<std::string, std::string>& includedUis)
+{
+ for(std::set<std::string>::const_iterator hIt=absHeaders.begin();
+ hIt!=absHeaders.end();
+ ++hIt)
+ {
+ const std::string& headerName = *hIt;
+ const std::string contents = ReadAll(headerName);
+
+ if (!this->MocExecutable.empty()
+ && includedMocs.find(headerName) == includedMocs.end())
+ {
+ if (this->Verbose)
+ {
+ std::cout << "AUTOGEN: Checking " << headerName << std::endl;
+ }
+
+ const std::string basename = cmsys::SystemTools::
+ GetFilenameWithoutLastExtension(headerName);
+
+ const std::string currentMoc = "moc_" + basename + ".cpp";
+ std::string macroName;
+ if (requiresMocing(contents, macroName))
+ {
+ //std::cout << "header contains Q_OBJECT macro";
+ notIncludedMocs[headerName] = currentMoc;
+ }
+ }
+ this->ParseForUic(headerName, contents, includedUis);
+ }
+}
+
+bool cmQtAutoGenerators::GenerateMoc(const std::string& sourceFile,
+ const std::string& mocFileName)
+{
+ const std::string mocFilePath = this->Builddir + mocFileName;
+ int sourceNewerThanMoc = 0;
+ bool success = cmsys::SystemTools::FileTimeCompare(sourceFile.c_str(),
+ mocFilePath.c_str(),
+ &sourceNewerThanMoc);
+ if (this->GenerateAll || !success || sourceNewerThanMoc >= 0)
+ {
+ // make sure the directory for the resulting moc file exists
+ std::string mocDir = mocFilePath.substr(0, mocFilePath.rfind('/'));
+ if (!cmsys::SystemTools::FileExists(mocDir.c_str(), false))
+ {
+ cmsys::SystemTools::MakeDirectory(mocDir.c_str());
+ }
+
+ std::string msg = "Generating ";
+ msg += mocFileName;
+ cmSystemTools::MakefileColorEcho(cmsysTerminal_Color_ForegroundBlue
+ |cmsysTerminal_Color_ForegroundBold,
+ msg.c_str(), true, this->ColorOutput);
+
+ std::vector<cmStdString> command;
+ command.push_back(this->MocExecutable);
+ for (std::list<std::string>::const_iterator it = this->MocIncludes.begin();
+ it != this->MocIncludes.end();
+ ++it)
+ {
+ command.push_back(*it);
+ }
+ for(std::list<std::string>::const_iterator it=this->MocDefinitions.begin();
+ it != this->MocDefinitions.end();
+ ++it)
+ {
+ command.push_back(*it);
+ }
+ for(std::vector<std::string>::const_iterator it=this->MocOptions.begin();
+ it != this->MocOptions.end();
+ ++it)
+ {
+ command.push_back(*it);
+ }
+#ifdef _WIN32
+ command.push_back("-DWIN32");
+#endif
+ command.push_back("-o");
+ command.push_back(mocFilePath);
+ command.push_back(sourceFile);
+
+ if (this->Verbose)
+ {
+ for(std::vector<cmStdString>::const_iterator cmdIt = command.begin();
+ cmdIt != command.end();
+ ++cmdIt)
+ {
+ std::cout << *cmdIt << " ";
+ }
+ std::cout << std::endl;
+ }
+
+ std::string output;
+ int retVal = 0;
+ bool result = cmSystemTools::RunSingleCommand(command, &output, &retVal);
+ if (!result || retVal)
+ {
+ std::cerr << "AUTOGEN: error: process for " << mocFilePath <<" failed:\n"
+ << output << std::endl;
+ this->RunMocFailed = true;
+ cmSystemTools::RemoveFile(mocFilePath.c_str());
+ }
+ return true;
+ }
+ return false;
+}
+
+bool cmQtAutoGenerators::GenerateUi(const std::string& path,
+ const std::string& uiFileName)
+{
+ if (!cmsys::SystemTools::FileExists(this->Builddir.c_str(), false))
+ {
+ cmsys::SystemTools::MakeDirectory(this->Builddir.c_str());
+ }
+
+ std::string ui_output_file = "ui_" + uiFileName + ".h";
+ std::string ui_input_file = path + uiFileName + ".ui";
+
+ int sourceNewerThanUi = 0;
+ bool success = cmsys::SystemTools::FileTimeCompare(ui_input_file.c_str(),
+ (this->Builddir + ui_output_file).c_str(),
+ &sourceNewerThanUi);
+ if (this->GenerateAll || !success || sourceNewerThanUi >= 0)
+ {
+ std::string msg = "Generating ";
+ msg += ui_output_file;
+ cmSystemTools::MakefileColorEcho(cmsysTerminal_Color_ForegroundBlue
+ |cmsysTerminal_Color_ForegroundBold,
+ msg.c_str(), true, this->ColorOutput);
+
+ std::vector<cmStdString> command;
+ command.push_back(this->UicExecutable);
+
+ std::vector<std::string> opts = this->UicTargetOptions;
+ std::map<std::string, std::string>::const_iterator optionIt
+ = this->UicOptions.find(ui_input_file);
+ if (optionIt != this->UicOptions.end())
+ {
+ std::vector<std::string> fileOpts;
+ cmSystemTools::ExpandListArgument(optionIt->second, fileOpts);
+ this->MergeUicOptions(opts, fileOpts, this->QtMajorVersion == "5");
+ }
+ for(std::vector<std::string>::const_iterator optIt = opts.begin();
+ optIt != opts.end();
+ ++optIt)
+ {
+ command.push_back(*optIt);
+ }
+
+ command.push_back("-o");
+ command.push_back(this->Builddir + ui_output_file);
+ command.push_back(ui_input_file);
+
+ if (this->Verbose)
+ {
+ for(std::vector<cmStdString>::const_iterator cmdIt = command.begin();
+ cmdIt != command.end();
+ ++cmdIt)
+ {
+ std::cout << *cmdIt << " ";
+ }
+ std::cout << std::endl;
+ }
+ std::string output;
+ int retVal = 0;
+ bool result = cmSystemTools::RunSingleCommand(command, &output, &retVal);
+ if (!result || retVal)
+ {
+ std::cerr << "AUTOUIC: error: process for " << ui_output_file <<
+ " failed:\n" << output << std::endl;
+ this->RunUicFailed = true;
+ cmSystemTools::RemoveFile(ui_output_file.c_str());
+ return false;
+ }
+ return true;
+ }
+ return false;
+}
+
+bool cmQtAutoGenerators::GenerateQrc()
+{
+ std::vector<std::string> sourceFiles;
+ cmSystemTools::ExpandListArgument(this->RccSources, sourceFiles);
+
+ for(std::vector<std::string>::const_iterator si = sourceFiles.begin();
+ si != sourceFiles.end(); ++si)
+ {
+ std::string ext = cmsys::SystemTools::GetFilenameLastExtension(*si);
+
+ if (ext != ".qrc")
+ {
+ continue;
+ }
+ std::vector<cmStdString> command;
+ command.push_back(this->RccExecutable);
+
+ std::string basename = cmsys::SystemTools::
+ GetFilenameWithoutLastExtension(*si);
+
+ std::string rcc_output_file = this->Builddir + "qrc_" + basename + ".cpp";
+
+ int sourceNewerThanQrc = 0;
+ bool success = cmsys::SystemTools::FileTimeCompare(si->c_str(),
+ rcc_output_file.c_str(),
+ &sourceNewerThanQrc);
+ if (this->GenerateAll || !success || sourceNewerThanQrc >= 0)
+ {
+ std::map<std::string, std::string>::const_iterator optionIt
+ = this->RccOptions.find(*si);
+ if (optionIt != this->RccOptions.end())
+ {
+ std::vector<std::string> opts;
+ cmSystemTools::ExpandListArgument(optionIt->second, opts);
+ for(std::vector<std::string>::const_iterator optIt = opts.begin();
+ optIt != opts.end();
+ ++optIt)
+ {
+ command.push_back(*optIt);
+ }
+ }
+
+ command.push_back("-o");
+ command.push_back(rcc_output_file);
+ command.push_back(*si);
+
+ if (this->Verbose)
+ {
+ for(std::vector<cmStdString>::const_iterator cmdIt = command.begin();
+ cmdIt != command.end();
+ ++cmdIt)
+ {
+ std::cout << *cmdIt << " ";
+ }
+ std::cout << std::endl;
+ }
+ std::string output;
+ int retVal = 0;
+ bool result = cmSystemTools::RunSingleCommand(command, &output, &retVal);
+ if (!result || retVal)
+ {
+ std::cerr << "AUTORCC: error: process for " << rcc_output_file <<
+ " failed:\n" << output << std::endl;
+ this->RunRccFailed = true;
+ cmSystemTools::RemoveFile(rcc_output_file.c_str());
+ return false;
+ }
+ }
+ }
+ return true;
+}
+
+std::string cmQtAutoGenerators::Join(const std::vector<std::string>& lst,
+ char separator)
+{
+ if (lst.empty())
+ {
+ return "";
+ }
+
+ std::string result;
+ for (std::vector<std::string>::const_iterator it = lst.begin();
+ it != lst.end();
+ ++it)
+ {
+ result += "." + (*it) + separator;
+ }
+ result.erase(result.end() - 1);
+ return result;
+}
+
+
+bool cmQtAutoGenerators::StartsWith(const std::string& str,
+ const std::string& with)
+{
+ return (str.substr(0, with.length()) == with);
+}
+
+
+bool cmQtAutoGenerators::EndsWith(const std::string& str,
+ const std::string& with)
+{
+ if (with.length() > (str.length()))
+ {
+ return false;
+ }
+ return (str.substr(str.length() - with.length(), with.length()) == with);
+}
diff --git a/Source/cmQtAutoGenerators.h b/Source/cmQtAutoGenerators.h
new file mode 100644
index 0000000..2840fbf
--- /dev/null
+++ b/Source/cmQtAutoGenerators.h
@@ -0,0 +1,129 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2004-2011 Kitware, Inc.
+ Copyright 2011 Alexander Neundorf (neundorf@kde.org)
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+
+#ifndef cmQtAutoGenerators_h
+#define cmQtAutoGenerators_h
+
+class cmGlobalGenerator;
+class cmMakefile;
+
+class cmQtAutoGenerators
+{
+public:
+ cmQtAutoGenerators();
+ bool Run(const char* targetDirectory, const char *config);
+
+ bool InitializeAutogenTarget(cmTarget* target);
+ void SetupAutoGenerateTarget(cmTarget const* target);
+ void SetupSourceFiles(cmTarget const* target);
+
+private:
+ void SetupAutoMocTarget(cmTarget const* target,
+ const std::string &autogenTargetName,
+ std::map<std::string, std::string> &configIncludes,
+ std::map<std::string, std::string> &configDefines);
+ void SetupAutoUicTarget(cmTarget const* target,
+ std::map<std::string, std::string> &configUicOptions);
+ void SetupAutoRccTarget(cmTarget const* target);
+
+ bool ReadAutogenInfoFile(cmMakefile* makefile,
+ const char* targetDirectory,
+ const char *config);
+ bool ReadOldMocDefinitionsFile(cmMakefile* makefile,
+ const char* targetDirectory);
+ void WriteOldMocDefinitionsFile(const char* targetDirectory);
+
+ std::string MakeCompileSettingsString(cmMakefile* makefile);
+
+ bool RunAutogen(cmMakefile* makefile);
+ bool GenerateMoc(const std::string& sourceFile,
+ const std::string& mocFileName);
+ bool GenerateUi(const std::string& path, const std::string& uiFileName);
+ bool GenerateQrc();
+ void ParseCppFile(const std::string& absFilename,
+ const std::vector<std::string>& headerExtensions,
+ std::map<std::string, std::string>& includedMocs,
+ std::map<std::string, std::string>& includedUis);
+ void StrictParseCppFile(const std::string& absFilename,
+ const std::vector<std::string>& headerExtensions,
+ std::map<std::string, std::string>& includedMocs,
+ std::map<std::string, std::string>& includedUis);
+ void SearchHeadersForCppFile(const std::string& absFilename,
+ const std::vector<std::string>& headerExtensions,
+ std::set<std::string>& absHeaders);
+
+ void ParseHeaders(const std::set<std::string>& absHeaders,
+ const std::map<std::string, std::string>& includedMocs,
+ std::map<std::string, std::string>& notIncludedMocs,
+ std::map<std::string, std::string>& includedUis);
+
+ void ParseForUic(const std::string& fileName,
+ const std::string& contentsString,
+ std::map<std::string, std::string>& includedUis);
+
+ void ParseForUic(const std::string& fileName,
+ std::map<std::string, std::string>& includedUis);
+
+ void Init();
+
+ std::string Join(const std::vector<std::string>& lst, char separator);
+ bool EndsWith(const std::string& str, const std::string& with);
+ bool StartsWith(const std::string& str, const std::string& with);
+
+ void MergeUicOptions(std::vector<std::string> &opts,
+ const std::vector<std::string> &fileOpts, bool isQt5);
+
+ void MergeRccOptions(std::vector<std::string> &opts,
+ const std::vector<std::string> &fileOpts, bool isQt5);
+
+ std::string QtMajorVersion;
+ std::string Sources;
+ std::string RccSources;
+ std::string SkipMoc;
+ std::string SkipUic;
+ std::string Headers;
+ bool IncludeProjectDirsBefore;
+ std::string Srcdir;
+ std::string Builddir;
+ std::string MocExecutable;
+ std::string UicExecutable;
+ std::string RccExecutable;
+ std::string MocCompileDefinitionsStr;
+ std::string MocIncludesStr;
+ std::string MocOptionsStr;
+ std::string ProjectBinaryDir;
+ std::string ProjectSourceDir;
+ std::string TargetName;
+
+ std::string CurrentCompileSettingsStr;
+ std::string OldCompileSettingsStr;
+
+ std::string OutMocCppFilename;
+ std::list<std::string> MocIncludes;
+ std::list<std::string> MocDefinitions;
+ std::vector<std::string> MocOptions;
+ std::vector<std::string> UicTargetOptions;
+ std::map<std::string, std::string> UicOptions;
+ std::map<std::string, std::string> RccOptions;
+
+ bool Verbose;
+ bool ColorOutput;
+ bool RunMocFailed;
+ bool RunUicFailed;
+ bool RunRccFailed;
+ bool GenerateAll;
+ bool RelaxedMode;
+
+};
+
+#endif
diff --git a/Source/cmQtAutomoc.cxx b/Source/cmQtAutomoc.cxx
deleted file mode 100644
index 93e39ab..0000000
--- a/Source/cmQtAutomoc.cxx
+++ /dev/null
@@ -1,1299 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2004-2011 Kitware, Inc.
- Copyright 2011 Alexander Neundorf (neundorf@kde.org)
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-
-#include "cmGlobalGenerator.h"
-#include "cmLocalGenerator.h"
-#include "cmMakefile.h"
-#include "cmSourceFile.h"
-#include "cmSystemTools.h"
-
-#if defined(_WIN32) && !defined(__CYGWIN__)
-# include "cmLocalVisualStudioGenerator.h"
-#endif
-
-#include <cmsys/Terminal.h>
-#include <cmsys/ios/sstream>
-
-#include <string.h>
-#if defined(__APPLE__)
-#include <unistd.h>
-#endif
-
-#include "cmQtAutomoc.h"
-
-
-static bool containsQ_OBJECT(const std::string& text)
-{
- // this simple check is much much faster than the regexp
- if (strstr(text.c_str(), "Q_OBJECT") == NULL)
- {
- return false;
- }
-
- cmsys::RegularExpression qObjectRegExp("[\n][ \t]*Q_OBJECT[^a-zA-Z0-9_]");
- return qObjectRegExp.find(text);
-}
-
-
-static std::string findMatchingHeader(const std::string& absPath,
- const std::string& mocSubDir,
- const std::string& basename,
- const std::vector<std::string>& headerExtensions)
-{
- std::string header;
- for(std::vector<std::string>::const_iterator ext = headerExtensions.begin();
- ext != headerExtensions.end();
- ++ext)
- {
- std::string sourceFilePath = absPath + basename + "." + (*ext);
- if (cmsys::SystemTools::FileExists(sourceFilePath.c_str()))
- {
- header = sourceFilePath;
- break;
- }
- if (!mocSubDir.empty())
- {
- sourceFilePath = mocSubDir + basename + "." + (*ext);
- if (cmsys::SystemTools::FileExists(sourceFilePath.c_str()))
- {
- header = sourceFilePath;
- break;
- }
- }
- }
-
- return header;
-}
-
-
-static std::string extractSubDir(const std::string& absPath,
- const std::string& currentMoc)
-{
- std::string subDir;
- if (currentMoc.find_first_of('/') != std::string::npos)
- {
- subDir = absPath
- + cmsys::SystemTools::GetFilenamePath(currentMoc) + '/';
- }
- return subDir;
-}
-
-
-static void copyTargetProperty(cmTarget* destinationTarget,
- cmTarget* sourceTarget,
- const char* propertyName)
-{
- const char* propertyValue = sourceTarget->GetProperty(propertyName);
- if (propertyValue)
- {
- destinationTarget->SetProperty(propertyName, propertyValue);
- }
-}
-
-
-cmQtAutomoc::cmQtAutomoc()
-:Verbose(cmsys::SystemTools::GetEnv("VERBOSE") != 0)
-,ColorOutput(true)
-,RunMocFailed(false)
-,GenerateAll(false)
-{
-
- std::string colorEnv = "";
- cmsys::SystemTools::GetEnv("COLOR", colorEnv);
- if(!colorEnv.empty())
- {
- if(cmSystemTools::IsOn(colorEnv.c_str()))
- {
- this->ColorOutput = true;
- }
- else
- {
- this->ColorOutput = false;
- }
- }
-}
-
-bool cmQtAutomoc::InitializeMocSourceFile(cmTarget* target)
-{
- cmMakefile* makefile = target->GetMakefile();
- // don't do anything if there is no Qt4 or Qt5Core (which contains moc):
- std::string qtMajorVersion = makefile->GetSafeDefinition("QT_VERSION_MAJOR");
- if (qtMajorVersion == "")
- {
- qtMajorVersion = makefile->GetSafeDefinition("Qt5Core_VERSION_MAJOR");
- }
- if (qtMajorVersion != "4" && qtMajorVersion != "5")
- {
- return false;
- }
-
- std::string automocTargetName = target->GetName();
- automocTargetName += "_automoc";
- std::string mocCppFile = makefile->GetCurrentOutputDirectory();
- mocCppFile += "/";
- mocCppFile += automocTargetName;
- mocCppFile += ".cpp";
- cmSourceFile* mocCppSource = makefile->GetOrCreateSource(mocCppFile.c_str(),
- true);
- makefile->AppendProperty("ADDITIONAL_MAKE_CLEAN_FILES",
- mocCppFile.c_str(), false);
-
- target->AddSourceFile(mocCppSource);
- return true;
-}
-
-static void GetCompileDefinitionsAndDirectories(cmTarget *target,
- const char * config,
- std::string &incs,
- std::string &defs)
-{
- cmMakefile* makefile = target->GetMakefile();
- cmLocalGenerator* localGen = makefile->GetLocalGenerator();
- std::vector<std::string> includeDirs;
- cmGeneratorTarget gtgt(target);
- // Get the include dirs for this target, without stripping the implicit
- // include dirs off, see http://public.kitware.com/Bug/view.php?id=13667
- localGen->GetIncludeDirectories(includeDirs, &gtgt, "CXX", config, false);
- const char* sep = "";
- incs = "";
- for(std::vector<std::string>::const_iterator incDirIt = includeDirs.begin();
- incDirIt != includeDirs.end();
- ++incDirIt)
- {
- incs += sep;
- sep = ";";
- incs += *incDirIt;
- }
-
- std::set<std::string> defines;
- localGen->AddCompileDefinitions(defines, target, config);
-
- sep = "";
- for(std::set<std::string>::const_iterator defIt = defines.begin();
- defIt != defines.end();
- ++defIt)
- {
- defs += sep;
- sep = ";";
- defs += *defIt;
- }
-}
-
-void cmQtAutomoc::SetupAutomocTarget(cmTarget* target)
-{
- cmMakefile* makefile = target->GetMakefile();
- const char* targetName = target->GetName();
-
- bool relaxedMode = makefile->IsOn("CMAKE_AUTOMOC_RELAXED_MODE");
-
- // create a custom target for running automoc at buildtime:
- std::string automocTargetName = targetName;
- automocTargetName += "_automoc";
-
- std::string targetDir = makefile->GetCurrentOutputDirectory();
- targetDir += makefile->GetCMakeInstance()->GetCMakeFilesDirectory();
- targetDir += "/";
- targetDir += automocTargetName;
- targetDir += ".dir/";
-
- cmCustomCommandLine currentLine;
- currentLine.push_back(makefile->GetSafeDefinition("CMAKE_COMMAND"));
- currentLine.push_back("-E");
- currentLine.push_back("cmake_automoc");
- currentLine.push_back(targetDir);
- currentLine.push_back("$<CONFIGURATION>");
-
- cmCustomCommandLines commandLines;
- commandLines.push_back(currentLine);
-
- std::string workingDirectory = cmSystemTools::CollapseFullPath(
- "", makefile->GetCurrentOutputDirectory());
-
- std::vector<std::string> depends;
- std::string automocComment = "Automoc for target ";
- automocComment += targetName;
-
-#if defined(_WIN32) && !defined(__CYGWIN__)
- bool usePRE_BUILD = false;
- cmLocalGenerator* localGen = makefile->GetLocalGenerator();
- cmGlobalGenerator* gg = localGen->GetGlobalGenerator();
- if(strstr(gg->GetName(), "Visual Studio"))
- {
- cmLocalVisualStudioGenerator* vslg =
- static_cast<cmLocalVisualStudioGenerator*>(localGen);
- // Under VS >= 7 use a PRE_BUILD event instead of a separate target to
- // reduce the number of targets loaded into the IDE.
- // This also works around a VS 11 bug that may skip updating the target:
- // https://connect.microsoft.com/VisualStudio/feedback/details/769495
- usePRE_BUILD = vslg->GetVersion() >= cmLocalVisualStudioGenerator::VS7;
- }
- if(usePRE_BUILD)
- {
- // Add the pre-build command directly to bypass the OBJECT_LIBRARY
- // rejection in cmMakefile::AddCustomCommandToTarget because we know
- // PRE_BUILD will work for an OBJECT_LIBRARY in this specific case.
- std::vector<std::string> no_output;
- cmCustomCommand cc(makefile, no_output, depends,
- commandLines, automocComment.c_str(),
- workingDirectory.c_str());
- cc.SetEscapeOldStyle(false);
- cc.SetEscapeAllowMakeVars(true);
- target->GetPreBuildCommands().push_back(cc);
- }
- else
-#endif
- {
- cmTarget* automocTarget = makefile->AddUtilityCommand(
- automocTargetName.c_str(), true,
- workingDirectory.c_str(), depends,
- commandLines, false, automocComment.c_str());
- // Set target folder
- const char* automocFolder = makefile->GetCMakeInstance()->GetProperty(
- "AUTOMOC_TARGETS_FOLDER");
- if (automocFolder && *automocFolder)
- {
- automocTarget->SetProperty("FOLDER", automocFolder);
- }
- else
- {
- // inherit FOLDER property from target (#13688)
- copyTargetProperty(automocTarget, target, "FOLDER");
- }
-
- target->AddUtility(automocTargetName.c_str());
- }
-
- // configure a file to get all information to automoc at buildtime:
- std::string _moc_files;
- std::string _moc_headers;
- const char* sepFiles = "";
- const char* sepHeaders = "";
-
- const std::vector<cmSourceFile*>& srcFiles = target->GetSourceFiles();
-
- for(std::vector<cmSourceFile*>::const_iterator fileIt = srcFiles.begin();
- fileIt != srcFiles.end();
- ++fileIt)
- {
- cmSourceFile* sf = *fileIt;
- std::string absFile = cmsys::SystemTools::GetRealPath(
- sf->GetFullPath().c_str());
- bool skip = cmSystemTools::IsOn(sf->GetPropertyForUser("SKIP_AUTOMOC"));
- bool generated = cmSystemTools::IsOn(sf->GetPropertyForUser("GENERATED"));
-
- if ((skip==false) && (generated == false))
- {
- std::string ext = sf->GetExtension();
- cmSystemTools::FileFormat fileType = cmSystemTools::GetFileFormat(
- ext.c_str());
- if (fileType == cmSystemTools::CXX_FILE_FORMAT)
- {
- _moc_files += sepFiles;
- _moc_files += absFile;
- sepFiles = ";";
- }
- else if (fileType == cmSystemTools::HEADER_FILE_FORMAT)
- {
- _moc_headers += sepHeaders;
- _moc_headers += absFile;
- sepHeaders = ";";
- }
- }
- }
-
- const char* tmp = target->GetProperty("AUTOMOC_MOC_OPTIONS");
- std::string _moc_options = (tmp!=0 ? tmp : "");
-
- // forget the variables added here afterwards again:
- cmMakefile::ScopePushPop varScope(makefile);
- static_cast<void>(varScope);
-
- makefile->AddDefinition("_moc_target_name",
- cmLocalGenerator::EscapeForCMake(automocTargetName.c_str()).c_str());
- makefile->AddDefinition("_moc_options",
- cmLocalGenerator::EscapeForCMake(_moc_options.c_str()).c_str());
- makefile->AddDefinition("_moc_files",
- cmLocalGenerator::EscapeForCMake(_moc_files.c_str()).c_str());
- makefile->AddDefinition("_moc_headers",
- cmLocalGenerator::EscapeForCMake(_moc_headers.c_str()).c_str());
- makefile->AddDefinition("_moc_relaxed_mode", relaxedMode ? "TRUE" : "FALSE");
-
- std::string _moc_incs;
- std::string _moc_compile_defs;
- std::vector<std::string> configs;
- const char *config = makefile->GetConfigurations(configs);
- GetCompileDefinitionsAndDirectories(target, config,
- _moc_incs, _moc_compile_defs);
-
- makefile->AddDefinition("_moc_incs",
- cmLocalGenerator::EscapeForCMake(_moc_incs.c_str()).c_str());
- makefile->AddDefinition("_moc_compile_defs",
- cmLocalGenerator::EscapeForCMake(_moc_compile_defs.c_str()).c_str());
-
- std::map<std::string, std::string> configIncludes;
- std::map<std::string, std::string> configDefines;
-
- for (std::vector<std::string>::const_iterator li = configs.begin();
- li != configs.end(); ++li)
- {
- std::string config_moc_incs;
- std::string config_moc_compile_defs;
- GetCompileDefinitionsAndDirectories(target, li->c_str(),
- config_moc_incs,
- config_moc_compile_defs);
- if (config_moc_incs != _moc_incs)
- {
- configIncludes["_moc_incs_" + *li] =
- cmLocalGenerator::EscapeForCMake(config_moc_incs.c_str());
- if(_moc_incs.empty())
- {
- _moc_incs = config_moc_incs;
- }
- }
- if (config_moc_compile_defs != _moc_compile_defs)
- {
- configDefines["_moc_compile_defs_" + *li] =
- cmLocalGenerator::EscapeForCMake(config_moc_compile_defs.c_str());
- if(_moc_compile_defs.empty())
- {
- _moc_compile_defs = config_moc_compile_defs;
- }
- }
- }
-
- const char *qtVersion = makefile->GetDefinition("Qt5Core_VERSION_MAJOR");
- if (!qtVersion)
- {
- qtVersion = makefile->GetDefinition("QT_VERSION_MAJOR");
- }
- if (const char *targetQtVersion =
- target->GetLinkInterfaceDependentStringProperty("QT_MAJOR_VERSION", 0))
- {
- qtVersion = targetQtVersion;
- }
- if (qtVersion)
- {
- makefile->AddDefinition("_target_qt_version", qtVersion);
- }
-
- {
- const char *qtMoc = makefile->GetSafeDefinition("QT_MOC_EXECUTABLE");
- makefile->AddDefinition("_qt_moc_executable", qtMoc);
- }
-
- if (strcmp(qtVersion, "5") == 0)
- {
- cmTarget *qt5Moc = makefile->FindTargetToUse("Qt5::moc");
- if (!qt5Moc)
- {
- cmSystemTools::Error("Qt5::moc target not found ",
- automocTargetName.c_str());
- return;
- }
- makefile->AddDefinition("_qt_moc_executable", qt5Moc->GetLocation(0));
- }
- else
- {
- if (strcmp(qtVersion, "4") != 0)
- {
- cmSystemTools::Error("The CMAKE_AUTOMOC feature supports only Qt 4 and "
- "Qt 5 ", automocTargetName.c_str());
- }
- }
-
- const char* cmakeRoot = makefile->GetSafeDefinition("CMAKE_ROOT");
- std::string inputFile = cmakeRoot;
- inputFile += "/Modules/AutomocInfo.cmake.in";
- std::string outputFile = targetDir;
- outputFile += "/AutomocInfo.cmake";
- makefile->ConfigureFile(inputFile.c_str(), outputFile.c_str(),
- false, true, false);
-
- if (!configDefines.empty() || !configIncludes.empty())
- {
- std::ofstream infoFile(outputFile.c_str(), std::ios::app);
- if ( !infoFile )
- {
- std::string error = "Internal CMake error when trying to open file: ";
- error += outputFile.c_str();
- error += " for writing.";
- cmSystemTools::Error(error.c_str());
- return;
- }
- if (!configDefines.empty())
- {
- for (std::map<std::string, std::string>::iterator
- it = configDefines.begin(), end = configDefines.end();
- it != end; ++it)
- {
- infoFile << "SET(AM_MOC_COMPILE_DEFINITIONS_" << it->first <<
- " " << it->second << ")\n";
- }
- }
- if (!configIncludes.empty())
- {
- for (std::map<std::string, std::string>::iterator
- it = configIncludes.begin(), end = configIncludes.end();
- it != end; ++it)
- {
- infoFile << "SET(AM_MOC_INCLUDES_" << it->first <<
- " " << it->second << ")\n";
- }
- }
- }
-}
-
-
-bool cmQtAutomoc::Run(const char* targetDirectory, const char *config)
-{
- bool success = true;
- cmake cm;
- cmGlobalGenerator* gg = this->CreateGlobalGenerator(&cm, targetDirectory);
- cmMakefile* makefile = gg->GetCurrentLocalGenerator()->GetMakefile();
-
- this->ReadAutomocInfoFile(makefile, targetDirectory, config);
- this->ReadOldMocDefinitionsFile(makefile, targetDirectory);
-
- this->Init();
-
- if (this->QtMajorVersion == "4" || this->QtMajorVersion == "5")
- {
- success = this->RunAutomoc(makefile);
- }
-
- this->WriteOldMocDefinitionsFile(targetDirectory);
-
- delete gg;
- gg = NULL;
- makefile = NULL;
- return success;
-}
-
-
-cmGlobalGenerator* cmQtAutomoc::CreateGlobalGenerator(cmake* cm,
- const char* targetDirectory)
-{
- cmGlobalGenerator* gg = new cmGlobalGenerator();
- gg->SetCMakeInstance(cm);
-
- cmLocalGenerator* lg = gg->CreateLocalGenerator();
- lg->GetMakefile()->SetHomeOutputDirectory(targetDirectory);
- lg->GetMakefile()->SetStartOutputDirectory(targetDirectory);
- lg->GetMakefile()->SetHomeDirectory(targetDirectory);
- lg->GetMakefile()->SetStartDirectory(targetDirectory);
- gg->SetCurrentLocalGenerator(lg);
-
- return gg;
-}
-
-
-bool cmQtAutomoc::ReadAutomocInfoFile(cmMakefile* makefile,
- const char* targetDirectory,
- const char *config)
-{
- std::string filename(cmSystemTools::CollapseFullPath(targetDirectory));
- cmSystemTools::ConvertToUnixSlashes(filename);
- filename += "/AutomocInfo.cmake";
-
- if (!makefile->ReadListFile(0, filename.c_str()))
- {
- cmSystemTools::Error("Error processing file: ", filename.c_str());
- return false;
- }
-
- this->QtMajorVersion = makefile->GetSafeDefinition("AM_QT_VERSION_MAJOR");
- if (this->QtMajorVersion == "")
- {
- this->QtMajorVersion = makefile->GetSafeDefinition(
- "AM_Qt5Core_VERSION_MAJOR");
- }
- this->Sources = makefile->GetSafeDefinition("AM_SOURCES");
- this->Headers = makefile->GetSafeDefinition("AM_HEADERS");
- this->IncludeProjectDirsBefore = makefile->IsOn(
- "AM_CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE");
- this->Srcdir = makefile->GetSafeDefinition("AM_CMAKE_CURRENT_SOURCE_DIR");
- this->Builddir = makefile->GetSafeDefinition("AM_CMAKE_CURRENT_BINARY_DIR");
- this->MocExecutable = makefile->GetSafeDefinition("AM_QT_MOC_EXECUTABLE");
- std::string compileDefsPropOrig = "AM_MOC_COMPILE_DEFINITIONS";
- std::string compileDefsProp = compileDefsPropOrig;
- if(config)
- {
- compileDefsProp += "_";
- compileDefsProp += config;
- }
- const char *compileDefs = makefile->GetDefinition(compileDefsProp.c_str());
- this->MocCompileDefinitionsStr = compileDefs ? compileDefs
- : makefile->GetSafeDefinition(compileDefsPropOrig.c_str());
- std::string includesPropOrig = "AM_MOC_INCLUDES";
- std::string includesProp = includesPropOrig;
- if(config)
- {
- includesProp += "_";
- includesProp += config;
- }
- const char *includes = makefile->GetDefinition(includesProp.c_str());
- this->MocIncludesStr = includes ? includes
- : makefile->GetSafeDefinition(includesPropOrig.c_str());
- this->MocOptionsStr = makefile->GetSafeDefinition("AM_MOC_OPTIONS");
- this->ProjectBinaryDir = makefile->GetSafeDefinition("AM_CMAKE_BINARY_DIR");
- this->ProjectSourceDir = makefile->GetSafeDefinition("AM_CMAKE_SOURCE_DIR");
- this->TargetName = makefile->GetSafeDefinition("AM_TARGET_NAME");
-
- this->CurrentCompileSettingsStr = this->MakeCompileSettingsString(makefile);
-
- this->RelaxedMode = makefile->IsOn("AM_RELAXED_MODE");
-
- return true;
-}
-
-
-std::string cmQtAutomoc::MakeCompileSettingsString(cmMakefile* makefile)
-{
- std::string s;
- s += makefile->GetSafeDefinition("AM_MOC_COMPILE_DEFINITIONS");
- s += " ~~~ ";
- s += makefile->GetSafeDefinition("AM_MOC_INCLUDES");
- s += " ~~~ ";
- s += makefile->GetSafeDefinition("AM_MOC_OPTIONS");
- s += " ~~~ ";
- s += makefile->IsOn("AM_CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE") ? "TRUE"
- : "FALSE";
- s += " ~~~ ";
-
- return s;
-}
-
-
-bool cmQtAutomoc::ReadOldMocDefinitionsFile(cmMakefile* makefile,
- const char* targetDirectory)
-{
- std::string filename(cmSystemTools::CollapseFullPath(targetDirectory));
- cmSystemTools::ConvertToUnixSlashes(filename);
- filename += "/AutomocOldMocDefinitions.cmake";
-
- if (makefile->ReadListFile(0, filename.c_str()))
- {
- this->OldCompileSettingsStr =
- makefile->GetSafeDefinition("AM_OLD_COMPILE_SETTINGS");
- }
- return true;
-}
-
-
-void cmQtAutomoc::WriteOldMocDefinitionsFile(const char* targetDirectory)
-{
- std::string filename(cmSystemTools::CollapseFullPath(targetDirectory));
- cmSystemTools::ConvertToUnixSlashes(filename);
- filename += "/AutomocOldMocDefinitions.cmake";
-
- std::fstream outfile;
- outfile.open(filename.c_str(),
- std::ios::out | std::ios::trunc);
- outfile << "set(AM_OLD_COMPILE_SETTINGS "
- << cmLocalGenerator::EscapeForCMake(
- this->CurrentCompileSettingsStr.c_str()) << ")\n";
-
- outfile.close();
-}
-
-
-void cmQtAutomoc::Init()
-{
- this->OutMocCppFilename = this->Builddir;
- this->OutMocCppFilename += this->TargetName;
- this->OutMocCppFilename += ".cpp";
-
- std::vector<std::string> cdefList;
- cmSystemTools::ExpandListArgument(this->MocCompileDefinitionsStr, cdefList);
- for(std::vector<std::string>::const_iterator it = cdefList.begin();
- it != cdefList.end();
- ++it)
- {
- this->MocDefinitions.push_back("-D" + (*it));
- }
-
- cmSystemTools::ExpandListArgument(this->MocOptionsStr, this->MocOptions);
-
- std::vector<std::string> incPaths;
- cmSystemTools::ExpandListArgument(this->MocIncludesStr, incPaths);
-
- std::set<std::string> frameworkPaths;
- for(std::vector<std::string>::const_iterator it = incPaths.begin();
- it != incPaths.end();
- ++it)
- {
- const std::string &path = *it;
- this->MocIncludes.push_back("-I" + path);
- if (this->EndsWith(path, ".framework/Headers"))
- {
- // Go up twice to get to the framework root
- std::vector<std::string> pathComponents;
- cmsys::SystemTools::SplitPath(path.c_str(), pathComponents);
- std::string frameworkPath =cmsys::SystemTools::JoinPath(
- pathComponents.begin(), pathComponents.end() - 2);
- frameworkPaths.insert(frameworkPath);
- }
- }
-
- for (std::set<std::string>::const_iterator it = frameworkPaths.begin();
- it != frameworkPaths.end(); ++it)
- {
- this->MocIncludes.push_back("-F");
- this->MocIncludes.push_back(*it);
- }
-
-
- if (this->IncludeProjectDirsBefore)
- {
- const std::string &binDir = "-I" + this->ProjectBinaryDir;
-
- const std::string srcDir = "-I" + this->ProjectSourceDir;
-
- std::list<std::string> sortedMocIncludes;
- std::list<std::string>::iterator it = this->MocIncludes.begin();
- while (it != this->MocIncludes.end())
- {
- if (this->StartsWith(*it, binDir))
- {
- sortedMocIncludes.push_back(*it);
- it = this->MocIncludes.erase(it);
- }
- else
- {
- ++it;
- }
- }
- it = this->MocIncludes.begin();
- while (it != this->MocIncludes.end())
- {
- if (this->StartsWith(*it, srcDir))
- {
- sortedMocIncludes.push_back(*it);
- it = this->MocIncludes.erase(it);
- }
- else
- {
- ++it;
- }
- }
- sortedMocIncludes.insert(sortedMocIncludes.end(),
- this->MocIncludes.begin(), this->MocIncludes.end());
- this->MocIncludes = sortedMocIncludes;
- }
-
-}
-
-
-bool cmQtAutomoc::RunAutomoc(cmMakefile* makefile)
-{
- if (!cmsys::SystemTools::FileExists(this->OutMocCppFilename.c_str())
- || (this->OldCompileSettingsStr != this->CurrentCompileSettingsStr))
- {
- this->GenerateAll = true;
- }
-
- // the program goes through all .cpp files to see which moc files are
- // included. It is not really interesting how the moc file is named, but
- // what file the moc is created from. Once a moc is included the same moc
- // may not be included in the _automoc.cpp file anymore. OTOH if there's a
- // header containing Q_OBJECT where no corresponding moc file is included
- // anywhere a moc_<filename>.cpp file is created and included in
- // the _automoc.cpp file.
-
- // key = moc source filepath, value = moc output filepath
- std::map<std::string, std::string> includedMocs;
- // collect all headers which may need to be mocced
- std::set<std::string> headerFiles;
-
- std::vector<std::string> sourceFiles;
- cmSystemTools::ExpandListArgument(this->Sources, sourceFiles);
-
- const std::vector<std::string>& headerExtensions =
- makefile->GetHeaderExtensions();
-
- for (std::vector<std::string>::const_iterator it = sourceFiles.begin();
- it != sourceFiles.end();
- ++it)
- {
- const std::string &absFilename = *it;
- if (this->Verbose)
- {
- std::cout << "AUTOMOC: Checking " << absFilename << std::endl;
- }
- if (this->RelaxedMode)
- {
- this->ParseCppFile(absFilename, headerExtensions, includedMocs);
- }
- else
- {
- this->StrictParseCppFile(absFilename, headerExtensions, includedMocs);
- }
- this->SearchHeadersForCppFile(absFilename, headerExtensions, headerFiles);
- }
-
- std::vector<std::string> headerFilesVec;
- cmSystemTools::ExpandListArgument(this->Headers, headerFilesVec);
- for (std::vector<std::string>::const_iterator it = headerFilesVec.begin();
- it != headerFilesVec.end();
- ++it)
- {
- headerFiles.insert(*it);
- }
-
- // key = moc source filepath, value = moc output filename
- std::map<std::string, std::string> notIncludedMocs;
- this->ParseHeaders(headerFiles, includedMocs, notIncludedMocs);
-
- // run moc on all the moc's that are #included in source files
- for(std::map<std::string, std::string>::const_iterator
- it = includedMocs.begin();
- it != includedMocs.end();
- ++it)
- {
- this->GenerateMoc(it->first, it->second);
- }
-
- cmsys_ios::stringstream outStream;
- outStream << "/* This file is autogenerated, do not edit*/\n";
-
- bool automocCppChanged = false;
- if (notIncludedMocs.empty())
- {
- outStream << "enum some_compilers { need_more_than_nothing };\n";
- }
- else
- {
- // run moc on the remaining headers and include them in
- // the _automoc.cpp file
- for(std::map<std::string, std::string>::const_iterator
- it = notIncludedMocs.begin();
- it != notIncludedMocs.end();
- ++it)
- {
- bool mocSuccess = this->GenerateMoc(it->first, it->second);
- if (mocSuccess)
- {
- automocCppChanged = true;
- }
- outStream << "#include \"" << it->second << "\"\n";
- }
- }
-
- if (this->RunMocFailed)
- {
- std::cerr << "moc failed..."<< std::endl;
- return false;
- }
- outStream.flush();
- std::string automocSource = outStream.str();
- if (!automocCppChanged)
- {
- // compare contents of the _automoc.cpp file
- const std::string oldContents = this->ReadAll(this->OutMocCppFilename);
- if (oldContents == automocSource)
- {
- // nothing changed: don't touch the _automoc.cpp file
- return true;
- }
- }
-
- // source file that includes all remaining moc files (_automoc.cpp file)
- std::fstream outfile;
- outfile.open(this->OutMocCppFilename.c_str(),
- std::ios::out | std::ios::trunc);
- outfile << automocSource;
- outfile.close();
-
- return true;
-}
-
-
-void cmQtAutomoc::ParseCppFile(const std::string& absFilename,
- const std::vector<std::string>& headerExtensions,
- std::map<std::string, std::string>& includedMocs)
-{
- cmsys::RegularExpression mocIncludeRegExp(
- "[\n][ \t]*#[ \t]*include[ \t]+"
- "[\"<](([^ \">]+/)?moc_[^ \">/]+\\.cpp|[^ \">]+\\.moc)[\">]");
-
- const std::string contentsString = this->ReadAll(absFilename);
- if (contentsString.empty())
- {
- std::cerr << "AUTOMOC: warning: " << absFilename << ": file is empty\n"
- << std::endl;
- return;
- }
- const std::string absPath = cmsys::SystemTools::GetFilenamePath(
- cmsys::SystemTools::GetRealPath(absFilename.c_str())) + '/';
- const std::string scannedFileBasename = cmsys::SystemTools::
- GetFilenameWithoutLastExtension(absFilename);
- const bool cppContainsQ_OBJECT = containsQ_OBJECT(contentsString);
- bool dotMocIncluded = false;
- bool mocUnderscoreIncluded = false;
- std::string ownMocUnderscoreFile;
- std::string ownDotMocFile;
- std::string ownMocHeaderFile;
-
- std::string::size_type matchOffset = 0;
- // first a simple string check for "moc" is *much* faster than the regexp,
- // and if the string search already fails, we don't have to try the
- // expensive regexp
- if ((strstr(contentsString.c_str(), "moc") != NULL)
- && (mocIncludeRegExp.find(contentsString)))
- {
- // for every moc include in the file
- do
- {
- const std::string currentMoc = mocIncludeRegExp.match(1);
- //std::cout << "found moc include: " << currentMoc << std::endl;
-
- std::string basename = cmsys::SystemTools::
- GetFilenameWithoutLastExtension(currentMoc);
- const bool moc_style = this->StartsWith(basename, "moc_");
-
- // If the moc include is of the moc_foo.cpp style we expect
- // the Q_OBJECT class declaration in a header file.
- // If the moc include is of the foo.moc style we need to look for
- // a Q_OBJECT macro in the current source file, if it contains the
- // macro we generate the moc file from the source file.
- // Q_OBJECT
- if (moc_style)
- {
- // basename should be the part of the moc filename used for
- // finding the correct header, so we need to remove the moc_ part
- basename = basename.substr(4);
- std::string mocSubDir = extractSubDir(absPath, currentMoc);
- std::string headerToMoc = findMatchingHeader(
- absPath, mocSubDir, basename, headerExtensions);
-
- if (!headerToMoc.empty())
- {
- includedMocs[headerToMoc] = currentMoc;
- if (basename == scannedFileBasename)
- {
- mocUnderscoreIncluded = true;
- ownMocUnderscoreFile = currentMoc;
- ownMocHeaderFile = headerToMoc;
- }
- }
- else
- {
- std::cerr << "AUTOMOC: error: " << absFilename << " The file "
- << "includes the moc file \"" << currentMoc << "\", "
- << "but could not find header \"" << basename
- << '{' << this->Join(headerExtensions, ',') << "}\" ";
- if (mocSubDir.empty())
- {
- std::cerr << "in " << absPath << "\n" << std::endl;
- }
- else
- {
- std::cerr << "neither in " << absPath
- << " nor in " << mocSubDir << "\n" << std::endl;
- }
-
- ::exit(EXIT_FAILURE);
- }
- }
- else
- {
- std::string fileToMoc = absFilename;
- if ((basename != scannedFileBasename) || (cppContainsQ_OBJECT==false))
- {
- std::string mocSubDir = extractSubDir(absPath, currentMoc);
- std::string headerToMoc = findMatchingHeader(
- absPath, mocSubDir, basename, headerExtensions);
- if (!headerToMoc.empty())
- {
- // this is for KDE4 compatibility:
- fileToMoc = headerToMoc;
- if ((cppContainsQ_OBJECT==false) &&(basename==scannedFileBasename))
- {
- std::cerr << "AUTOMOC: warning: " << absFilename << ": The file "
- "includes the moc file \"" << currentMoc <<
- "\", but does not contain a Q_OBJECT macro. "
- "Running moc on "
- << "\"" << headerToMoc << "\" ! Include \"moc_"
- << basename << ".cpp\" for a compatiblity with "
- "strict mode (see CMAKE_AUTOMOC_RELAXED_MODE).\n"
- << std::endl;
- }
- else
- {
- std::cerr << "AUTOMOC: warning: " << absFilename << ": The file "
- "includes the moc file \"" << currentMoc <<
- "\" instead of \"moc_" << basename << ".cpp\". "
- "Running moc on "
- << "\"" << headerToMoc << "\" ! Include \"moc_"
- << basename << ".cpp\" for compatiblity with "
- "strict mode (see CMAKE_AUTOMOC_RELAXED_MODE).\n"
- << std::endl;
- }
- }
- else
- {
- std::cerr <<"AUTOMOC: error: " << absFilename << ": The file "
- "includes the moc file \"" << currentMoc <<
- "\", which seems to be the moc file from a different "
- "source file. CMake also could not find a matching "
- "header.\n" << std::endl;
- ::exit(EXIT_FAILURE);
- }
- }
- else
- {
- dotMocIncluded = true;
- ownDotMocFile = currentMoc;
- }
- includedMocs[fileToMoc] = currentMoc;
- }
- matchOffset += mocIncludeRegExp.end();
- } while(mocIncludeRegExp.find(contentsString.c_str() + matchOffset));
- }
-
- // In this case, check whether the scanned file itself contains a Q_OBJECT.
- // If this is the case, the moc_foo.cpp should probably be generated from
- // foo.cpp instead of foo.h, because otherwise it won't build.
- // But warn, since this is not how it is supposed to be used.
- if ((dotMocIncluded == false) && (cppContainsQ_OBJECT == true))
- {
- if (mocUnderscoreIncluded == true)
- {
- // this is for KDE4 compatibility:
- std::cerr << "AUTOMOC: warning: " << absFilename << ": The file "
- << "contains a Q_OBJECT macro, but does not include "
- << "\"" << scannedFileBasename << ".moc\", but instead "
- "includes "
- << "\"" << ownMocUnderscoreFile << "\". Running moc on "
- << "\"" << absFilename << "\" ! Better include \""
- << scannedFileBasename << ".moc\" for compatiblity with "
- "strict mode (see CMAKE_AUTOMOC_RELAXED_MODE).\n"
- << std::endl;
- includedMocs[absFilename] = ownMocUnderscoreFile;
- includedMocs.erase(ownMocHeaderFile);
- }
- else
- {
- // otherwise always error out since it will not compile:
- std::cerr << "AUTOMOC: error: " << absFilename << ": The file "
- << "contains a Q_OBJECT macro, but does not include "
- << "\"" << scannedFileBasename << ".moc\" !\n"
- << std::endl;
- ::exit(EXIT_FAILURE);
- }
- }
-
-}
-
-
-void cmQtAutomoc::StrictParseCppFile(const std::string& absFilename,
- const std::vector<std::string>& headerExtensions,
- std::map<std::string, std::string>& includedMocs)
-{
- cmsys::RegularExpression mocIncludeRegExp(
- "[\n][ \t]*#[ \t]*include[ \t]+"
- "[\"<](([^ \">]+/)?moc_[^ \">/]+\\.cpp|[^ \">]+\\.moc)[\">]");
-
- const std::string contentsString = this->ReadAll(absFilename);
- if (contentsString.empty())
- {
- std::cerr << "AUTOMOC: warning: " << absFilename << ": file is empty\n"
- << std::endl;
- return;
- }
- const std::string absPath = cmsys::SystemTools::GetFilenamePath(
- cmsys::SystemTools::GetRealPath(absFilename.c_str())) + '/';
- const std::string scannedFileBasename = cmsys::SystemTools::
- GetFilenameWithoutLastExtension(absFilename);
-
- bool dotMocIncluded = false;
-
- std::string::size_type matchOffset = 0;
- // first a simple string check for "moc" is *much* faster than the regexp,
- // and if the string search already fails, we don't have to try the
- // expensive regexp
- if ((strstr(contentsString.c_str(), "moc") != NULL)
- && (mocIncludeRegExp.find(contentsString)))
- {
- // for every moc include in the file
- do
- {
- const std::string currentMoc = mocIncludeRegExp.match(1);
-
- std::string basename = cmsys::SystemTools::
- GetFilenameWithoutLastExtension(currentMoc);
- const bool mocUnderscoreStyle = this->StartsWith(basename, "moc_");
-
- // If the moc include is of the moc_foo.cpp style we expect
- // the Q_OBJECT class declaration in a header file.
- // If the moc include is of the foo.moc style we need to look for
- // a Q_OBJECT macro in the current source file, if it contains the
- // macro we generate the moc file from the source file.
- if (mocUnderscoreStyle)
- {
- // basename should be the part of the moc filename used for
- // finding the correct header, so we need to remove the moc_ part
- basename = basename.substr(4);
- std::string mocSubDir = extractSubDir(absPath, currentMoc);
- std::string headerToMoc = findMatchingHeader(
- absPath, mocSubDir, basename, headerExtensions);
-
- if (!headerToMoc.empty())
- {
- includedMocs[headerToMoc] = currentMoc;
- }
- else
- {
- std::cerr << "AUTOMOC: error: " << absFilename << " The file "
- << "includes the moc file \"" << currentMoc << "\", "
- << "but could not find header \"" << basename
- << '{' << this->Join(headerExtensions, ',') << "}\" ";
- if (mocSubDir.empty())
- {
- std::cerr << "in " << absPath << "\n" << std::endl;
- }
- else
- {
- std::cerr << "neither in " << absPath
- << " nor in " << mocSubDir << "\n" << std::endl;
- }
-
- ::exit(EXIT_FAILURE);
- }
- }
- else
- {
- if (basename != scannedFileBasename)
- {
- std::cerr <<"AUTOMOC: error: " << absFilename << ": The file "
- "includes the moc file \"" << currentMoc <<
- "\", which seems to be the moc file from a different "
- "source file. This is not supported. "
- "Include \"" << scannedFileBasename << ".moc\" to run "
- "moc on this source file.\n" << std::endl;
- ::exit(EXIT_FAILURE);
- }
- dotMocIncluded = true;
- includedMocs[absFilename] = currentMoc;
- }
- matchOffset += mocIncludeRegExp.end();
- } while(mocIncludeRegExp.find(contentsString.c_str() + matchOffset));
- }
-
- // In this case, check whether the scanned file itself contains a Q_OBJECT.
- // If this is the case, the moc_foo.cpp should probably be generated from
- // foo.cpp instead of foo.h, because otherwise it won't build.
- // But warn, since this is not how it is supposed to be used.
- if ((dotMocIncluded == false) && (containsQ_OBJECT(contentsString)))
- {
- // otherwise always error out since it will not compile:
- std::cerr << "AUTOMOC: error: " << absFilename << ": The file "
- << "contains a Q_OBJECT macro, but does not include "
- << "\"" << scannedFileBasename << ".moc\" !\n"
- << std::endl;
- ::exit(EXIT_FAILURE);
- }
-
-}
-
-
-void cmQtAutomoc::SearchHeadersForCppFile(const std::string& absFilename,
- const std::vector<std::string>& headerExtensions,
- std::set<std::string>& absHeaders)
-{
- // search for header files and private header files we may need to moc:
- const std::string basename =
- cmsys::SystemTools::GetFilenameWithoutLastExtension(absFilename);
- const std::string absPath = cmsys::SystemTools::GetFilenamePath(
- cmsys::SystemTools::GetRealPath(absFilename.c_str())) + '/';
-
- for(std::vector<std::string>::const_iterator ext = headerExtensions.begin();
- ext != headerExtensions.end();
- ++ext)
- {
- const std::string headerName = absPath + basename + "." + (*ext);
- if (cmsys::SystemTools::FileExists(headerName.c_str()))
- {
- absHeaders.insert(headerName);
- break;
- }
- }
- for(std::vector<std::string>::const_iterator ext = headerExtensions.begin();
- ext != headerExtensions.end();
- ++ext)
- {
- const std::string privateHeaderName = absPath+basename+"_p."+(*ext);
- if (cmsys::SystemTools::FileExists(privateHeaderName.c_str()))
- {
- absHeaders.insert(privateHeaderName);
- break;
- }
- }
-
-}
-
-
-void cmQtAutomoc::ParseHeaders(const std::set<std::string>& absHeaders,
- const std::map<std::string, std::string>& includedMocs,
- std::map<std::string, std::string>& notIncludedMocs)
-{
- for(std::set<std::string>::const_iterator hIt=absHeaders.begin();
- hIt!=absHeaders.end();
- ++hIt)
- {
- const std::string& headerName = *hIt;
-
- if (includedMocs.find(headerName) == includedMocs.end())
- {
- if (this->Verbose)
- {
- std::cout << "AUTOMOC: Checking " << headerName << std::endl;
- }
-
- const std::string basename = cmsys::SystemTools::
- GetFilenameWithoutLastExtension(headerName);
-
- const std::string currentMoc = "moc_" + basename + ".cpp";
- const std::string contents = this->ReadAll(headerName);
- if (containsQ_OBJECT(contents))
- {
- //std::cout << "header contains Q_OBJECT macro";
- notIncludedMocs[headerName] = currentMoc;
- }
- }
- }
-
-}
-
-
-bool cmQtAutomoc::GenerateMoc(const std::string& sourceFile,
- const std::string& mocFileName)
-{
- const std::string mocFilePath = this->Builddir + mocFileName;
- int sourceNewerThanMoc = 0;
- bool success = cmsys::SystemTools::FileTimeCompare(sourceFile.c_str(),
- mocFilePath.c_str(),
- &sourceNewerThanMoc);
- if (this->GenerateAll || !success || sourceNewerThanMoc >= 0)
- {
- // make sure the directory for the resulting moc file exists
- std::string mocDir = mocFilePath.substr(0, mocFilePath.rfind('/'));
- if (!cmsys::SystemTools::FileExists(mocDir.c_str(), false))
- {
- cmsys::SystemTools::MakeDirectory(mocDir.c_str());
- }
-
- std::string msg = "Generating ";
- msg += mocFileName;
- cmSystemTools::MakefileColorEcho(cmsysTerminal_Color_ForegroundBlue
- |cmsysTerminal_Color_ForegroundBold,
- msg.c_str(), true, this->ColorOutput);
-
- std::vector<cmStdString> command;
- command.push_back(this->MocExecutable);
- for (std::list<std::string>::const_iterator it = this->MocIncludes.begin();
- it != this->MocIncludes.end();
- ++it)
- {
- command.push_back(*it);
- }
- for(std::list<std::string>::const_iterator it=this->MocDefinitions.begin();
- it != this->MocDefinitions.end();
- ++it)
- {
- command.push_back(*it);
- }
- for(std::vector<std::string>::const_iterator it=this->MocOptions.begin();
- it != this->MocOptions.end();
- ++it)
- {
- command.push_back(*it);
- }
-#ifdef _WIN32
- command.push_back("-DWIN32");
-#endif
- command.push_back("-o");
- command.push_back(mocFilePath);
- command.push_back(sourceFile);
-
- if (this->Verbose)
- {
- for(std::vector<cmStdString>::const_iterator cmdIt = command.begin();
- cmdIt != command.end();
- ++cmdIt)
- {
- std::cout << *cmdIt << " ";
- }
- std::cout << std::endl;
- }
-
- std::string output;
- int retVal = 0;
- bool result = cmSystemTools::RunSingleCommand(command, &output, &retVal);
- if (!result || retVal)
- {
- std::cerr << "AUTOMOC: error: process for " << mocFilePath <<" failed:\n"
- << output << std::endl;
- this->RunMocFailed = true;
- cmSystemTools::RemoveFile(mocFilePath.c_str());
- }
- return true;
- }
- return false;
-}
-
-
-std::string cmQtAutomoc::Join(const std::vector<std::string>& lst,
- char separator)
-{
- if (lst.empty())
- {
- return "";
- }
-
- std::string result;
- for (std::vector<std::string>::const_iterator it = lst.begin();
- it != lst.end();
- ++it)
- {
- result += "." + (*it) + separator;
- }
- result.erase(result.end() - 1);
- return result;
-}
-
-
-bool cmQtAutomoc::StartsWith(const std::string& str, const std::string& with)
-{
- return (str.substr(0, with.length()) == with);
-}
-
-
-bool cmQtAutomoc::EndsWith(const std::string& str, const std::string& with)
-{
- if (with.length() > (str.length()))
- {
- return false;
- }
- return (str.substr(str.length() - with.length(), with.length()) == with);
-}
-
-
-std::string cmQtAutomoc::ReadAll(const std::string& filename)
-{
- std::ifstream file(filename.c_str());
- cmsys_ios::stringstream stream;
- stream << file.rdbuf();
- file.close();
- return stream.str();
-}
diff --git a/Source/cmQtAutomoc.h b/Source/cmQtAutomoc.h
deleted file mode 100644
index ebeeb0e..0000000
--- a/Source/cmQtAutomoc.h
+++ /dev/null
@@ -1,96 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2004-2011 Kitware, Inc.
- Copyright 2011 Alexander Neundorf (neundorf@kde.org)
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-
-#ifndef cmQtAutomoc_h
-#define cmQtAutomoc_h
-
-class cmGlobalGenerator;
-class cmMakefile;
-
-class cmQtAutomoc
-{
-public:
- cmQtAutomoc();
- bool Run(const char* targetDirectory, const char *config);
-
- bool InitializeMocSourceFile(cmTarget* target);
- void SetupAutomocTarget(cmTarget* target);
-
-private:
- cmGlobalGenerator* CreateGlobalGenerator(cmake* cm,
- const char* targetDirectory);
-
- bool ReadAutomocInfoFile(cmMakefile* makefile,
- const char* targetDirectory,
- const char *config);
- bool ReadOldMocDefinitionsFile(cmMakefile* makefile,
- const char* targetDirectory);
- void WriteOldMocDefinitionsFile(const char* targetDirectory);
-
- std::string MakeCompileSettingsString(cmMakefile* makefile);
-
- bool RunAutomoc(cmMakefile* makefile);
- bool GenerateMoc(const std::string& sourceFile,
- const std::string& mocFileName);
- void ParseCppFile(const std::string& absFilename,
- const std::vector<std::string>& headerExtensions,
- std::map<std::string, std::string>& includedMocs);
- void StrictParseCppFile(const std::string& absFilename,
- const std::vector<std::string>& headerExtensions,
- std::map<std::string, std::string>& includedMocs);
- void SearchHeadersForCppFile(const std::string& absFilename,
- const std::vector<std::string>& headerExtensions,
- std::set<std::string>& absHeaders);
-
- void ParseHeaders(const std::set<std::string>& absHeaders,
- const std::map<std::string, std::string>& includedMocs,
- std::map<std::string, std::string>& notIncludedMocs);
-
- void Init();
-
- std::string Join(const std::vector<std::string>& lst, char separator);
- bool EndsWith(const std::string& str, const std::string& with);
- bool StartsWith(const std::string& str, const std::string& with);
- std::string ReadAll(const std::string& filename);
-
- std::string QtMajorVersion;
- std::string Sources;
- std::string Headers;
- bool IncludeProjectDirsBefore;
- std::string Srcdir;
- std::string Builddir;
- std::string MocExecutable;
- std::string MocCompileDefinitionsStr;
- std::string MocIncludesStr;
- std::string MocOptionsStr;
- std::string ProjectBinaryDir;
- std::string ProjectSourceDir;
- std::string TargetName;
-
- std::string CurrentCompileSettingsStr;
- std::string OldCompileSettingsStr;
-
- std::string OutMocCppFilename;
- std::list<std::string> MocIncludes;
- std::list<std::string> MocDefinitions;
- std::vector<std::string> MocOptions;
-
- bool Verbose;
- bool ColorOutput;
- bool RunMocFailed;
- bool GenerateAll;
- bool RelaxedMode;
-
-};
-
-#endif
diff --git a/Source/cmRST.cxx b/Source/cmRST.cxx
new file mode 100644
index 0000000..11a9913
--- /dev/null
+++ b/Source/cmRST.cxx
@@ -0,0 +1,510 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2000-2013 Kitware, Inc., Insight Software Consortium
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#include "cmRST.h"
+
+#include "cmSystemTools.h"
+#include "cmVersion.h"
+#include <cmsys/FStream.hxx>
+#include <ctype.h>
+
+//----------------------------------------------------------------------------
+cmRST::cmRST(std::ostream& os, std::string const& docroot):
+ OS(os),
+ DocRoot(docroot),
+ IncludeDepth(0),
+ OutputLinePending(false),
+ LastLineEndedInColonColon(false),
+ Markup(MarkupNone),
+ Directive(DirectiveNone),
+ CMakeDirective("^.. (cmake:)?("
+ "command|variable"
+ ")::[ \t]+([^ \t\n]+)$"),
+ CMakeModuleDirective("^.. cmake-module::[ \t]+([^ \t\n]+)$"),
+ ParsedLiteralDirective("^.. parsed-literal::[ \t]*(.*)$"),
+ CodeBlockDirective("^.. code-block::[ \t]*(.*)$"),
+ ReplaceDirective("^.. (\\|[^|]+\\|) replace::[ \t]*(.*)$"),
+ IncludeDirective("^.. include::[ \t]+([^ \t\n]+)$"),
+ TocTreeDirective("^.. toctree::[ \t]*(.*)$"),
+ ProductionListDirective("^.. productionlist::[ \t]*(.*)$"),
+ NoteDirective("^.. note::[ \t]*(.*)$"),
+ ModuleRST("^#\\[(=*)\\[\\.rst:$"),
+ CMakeRole("(:cmake)?:("
+ "command|generator|variable|module|policy|"
+ "prop_cache|prop_dir|prop_gbl|prop_sf|prop_test|prop_tgt|"
+ "manual"
+ "):`(<*([^`<]|[^` \t]<)*)([ \t]+<[^`]*>)?`"),
+ Substitution("(^|[^A-Za-z0-9_])"
+ "((\\|[^| \t\r\n]([^|\r\n]*[^| \t\r\n])?\\|)(__|_|))"
+ "([^A-Za-z0-9_]|$)")
+{
+ this->Replace["|release|"] = cmVersion::GetCMakeVersion();
+}
+
+//----------------------------------------------------------------------------
+bool cmRST::ProcessFile(std::string const& fname, bool isModule)
+{
+ cmsys::ifstream fin(fname.c_str());
+ if(fin)
+ {
+ this->DocDir = cmSystemTools::GetFilenamePath(fname);
+ if(isModule)
+ {
+ this->ProcessModule(fin);
+ }
+ else
+ {
+ this->ProcessRST(fin);
+ }
+ this->OutputLinePending = true;
+ return true;
+ }
+ return false;
+}
+
+//----------------------------------------------------------------------------
+void cmRST::ProcessRST(std::istream& is)
+{
+ std::string line;
+ while(cmSystemTools::GetLineFromStream(is, line))
+ {
+ this->ProcessLine(line);
+ }
+ this->Reset();
+}
+
+//----------------------------------------------------------------------------
+void cmRST::ProcessModule(std::istream& is)
+{
+ std::string line;
+ std::string rst;
+ while(cmSystemTools::GetLineFromStream(is, line))
+ {
+ if(!rst.empty() && rst != "#")
+ {
+ // Bracket mode: check for end bracket
+ std::string::size_type pos = line.find(rst);
+ if(pos == line.npos)
+ {
+ this->ProcessLine(line);
+ }
+ else
+ {
+ if(line[0] != '#')
+ {
+ this->ProcessLine(line.substr(0, pos));
+ }
+ rst = "";
+ this->Reset();
+ this->OutputLinePending = true;
+ }
+ }
+ else
+ {
+ // Line mode: check for .rst start (bracket or line)
+ if(rst == "#")
+ {
+ if(line == "#")
+ {
+ this->ProcessLine("");
+ continue;
+ }
+ else if(line.substr(0, 2) == "# ")
+ {
+ this->ProcessLine(line.substr(2, line.npos));
+ continue;
+ }
+ else
+ {
+ rst = "";
+ this->Reset();
+ this->OutputLinePending = true;
+ }
+ }
+ if(line == "#.rst:")
+ {
+ rst = "#";
+ }
+ else if(this->ModuleRST.find(line))
+ {
+ rst = "]" + this->ModuleRST.match(1) + "]";
+ }
+ }
+ }
+ if(rst == "#")
+ {
+ this->Reset();
+ }
+}
+
+//----------------------------------------------------------------------------
+void cmRST::Reset()
+{
+ if(!this->MarkupLines.empty())
+ {
+ this->UnindentLines(this->MarkupLines);
+ }
+ switch(this->Directive)
+ {
+ case DirectiveNone: break;
+ case DirectiveParsedLiteral: this->ProcessDirectiveParsedLiteral(); break;
+ case DirectiveLiteralBlock: this->ProcessDirectiveLiteralBlock(); break;
+ case DirectiveCodeBlock: this->ProcessDirectiveCodeBlock(); break;
+ case DirectiveReplace: this->ProcessDirectiveReplace(); break;
+ case DirectiveTocTree: this->ProcessDirectiveTocTree(); break;
+ }
+ this->Markup = MarkupNone;
+ this->Directive = DirectiveNone;
+ this->MarkupLines.clear();
+}
+
+//----------------------------------------------------------------------------
+void cmRST::ProcessLine(std::string const& line)
+{
+ bool lastLineEndedInColonColon = this->LastLineEndedInColonColon;
+ this->LastLineEndedInColonColon = false;
+
+ // A line starting in .. is an explicit markup start.
+ if(line == ".." || (line.size() >= 3 && line[0] == '.' &&
+ line[1] == '.' && isspace(line[2])))
+ {
+ this->Reset();
+ this->Markup = (line.find_first_not_of(" \t", 2) == line.npos ?
+ MarkupEmpty : MarkupNormal);
+ if(this->CMakeDirective.find(line))
+ {
+ // Output cmake domain directives and their content normally.
+ this->NormalLine(line);
+ }
+ else if(this->CMakeModuleDirective.find(line))
+ {
+ // Process cmake-module directive: scan .cmake file comments.
+ std::string file = this->CMakeModuleDirective.match(1);
+ if(file.empty() || !this->ProcessInclude(file, IncludeModule))
+ {
+ this->NormalLine(line);
+ }
+ }
+ else if(this->ParsedLiteralDirective.find(line))
+ {
+ // Record the literal lines to output after whole block.
+ this->Directive = DirectiveParsedLiteral;
+ this->MarkupLines.push_back(this->ParsedLiteralDirective.match(1));
+ }
+ else if(this->CodeBlockDirective.find(line))
+ {
+ // Record the literal lines to output after whole block.
+ // Ignore the language spec and record the opening line as blank.
+ this->Directive = DirectiveCodeBlock;
+ this->MarkupLines.push_back("");
+ }
+ else if(this->ReplaceDirective.find(line))
+ {
+ // Record the replace directive content.
+ this->Directive = DirectiveReplace;
+ this->ReplaceName = this->ReplaceDirective.match(1);
+ this->MarkupLines.push_back(this->ReplaceDirective.match(2));
+ }
+ else if(this->IncludeDirective.find(line))
+ {
+ // Process the include directive or output the directive and its
+ // content normally if it fails.
+ std::string file = this->IncludeDirective.match(1);
+ if(file.empty() || !this->ProcessInclude(file, IncludeNormal))
+ {
+ this->NormalLine(line);
+ }
+ }
+ else if(this->TocTreeDirective.find(line))
+ {
+ // Record the toctree entries to process after whole block.
+ this->Directive = DirectiveTocTree;
+ this->MarkupLines.push_back(this->TocTreeDirective.match(1));
+ }
+ else if(this->ProductionListDirective.find(line))
+ {
+ // Output productionlist directives and their content normally.
+ this->NormalLine(line);
+ }
+ else if(this->NoteDirective.find(line))
+ {
+ // Output note directives and their content normally.
+ this->NormalLine(line);
+ }
+ }
+ // An explicit markup start followed nothing but whitespace and a
+ // blank line does not consume any indented text following.
+ else if(this->Markup == MarkupEmpty && line.empty())
+ {
+ this->NormalLine(line);
+ }
+ // Indented lines following an explicit markup start are explicit markup.
+ else if(this->Markup && (line.empty() || isspace(line[0])))
+ {
+ this->Markup = MarkupNormal;
+ // Record markup lines if the start line was recorded.
+ if(!this->MarkupLines.empty())
+ {
+ this->MarkupLines.push_back(line);
+ }
+ }
+ // A blank line following a paragraph ending in "::" starts a literal block.
+ else if(lastLineEndedInColonColon && line.empty())
+ {
+ // Record the literal lines to output after whole block.
+ this->Markup = MarkupNormal;
+ this->Directive = DirectiveLiteralBlock;
+ this->MarkupLines.push_back("");
+ this->OutputLine("", false);
+ }
+ // Print non-markup lines.
+ else
+ {
+ this->NormalLine(line);
+ this->LastLineEndedInColonColon = (line.size() >= 2
+ && line[line.size()-2] == ':' && line[line.size()-1] == ':');
+ }
+}
+
+//----------------------------------------------------------------------------
+void cmRST::NormalLine(std::string const& line)
+{
+ this->Reset();
+ this->OutputLine(line, true);
+}
+
+//----------------------------------------------------------------------------
+void cmRST::OutputLine(std::string const& line_in, bool inlineMarkup)
+{
+ if(this->OutputLinePending)
+ {
+ this->OS << "\n";
+ this->OutputLinePending = false;
+ }
+ if(inlineMarkup)
+ {
+ std::string line = this->ReplaceSubstitutions(line_in);
+ std::string::size_type pos = 0;
+ while(this->CMakeRole.find(line.c_str()+pos))
+ {
+ this->OS << line.substr(pos, this->CMakeRole.start());
+ std::string text = this->CMakeRole.match(3);
+ // If a command reference has no explicit target and
+ // no explicit "(...)" then add "()" to the text.
+ if(this->CMakeRole.match(2) == "command" &&
+ this->CMakeRole.match(5).empty() &&
+ text.find_first_of("()") == text.npos)
+ {
+ text += "()";
+ }
+ this->OS << "``" << text << "``";
+ pos += this->CMakeRole.end();
+ }
+ this->OS << line.substr(pos) << "\n";
+ }
+ else
+ {
+ this->OS << line_in << "\n";
+ }
+}
+
+//----------------------------------------------------------------------------
+std::string cmRST::ReplaceSubstitutions(std::string const& line)
+{
+ std::string out;
+ std::string::size_type pos = 0;
+ while(this->Substitution.find(line.c_str()+pos))
+ {
+ std::string::size_type start = this->Substitution.start(2);
+ std::string::size_type end = this->Substitution.end(2);
+ std::string substitute = this->Substitution.match(3);
+ std::map<cmStdString, cmStdString>::iterator
+ replace = this->Replace.find(substitute);
+ if(replace != this->Replace.end())
+ {
+ std::pair<std::set<cmStdString>::iterator, bool> replaced =
+ this->Replaced.insert(substitute);
+ if(replaced.second)
+ {
+ substitute = this->ReplaceSubstitutions(replace->second);
+ this->Replaced.erase(replaced.first);
+ }
+ }
+ out += line.substr(pos, start);
+ out += substitute;
+ pos += end;
+ }
+ out += line.substr(pos);
+ return out;
+}
+
+//----------------------------------------------------------------------------
+void cmRST::OutputMarkupLines(bool inlineMarkup)
+{
+ for(std::vector<std::string>::iterator i = this->MarkupLines.begin();
+ i != this->MarkupLines.end(); ++i)
+ {
+ std::string line = *i;
+ if(!line.empty())
+ {
+ line = " " + line;
+ }
+ this->OutputLine(line, inlineMarkup);
+ }
+ this->OutputLinePending = true;
+}
+
+//----------------------------------------------------------------------------
+bool cmRST::ProcessInclude(std::string file, IncludeType type)
+{
+ bool found = false;
+ if(this->IncludeDepth < 10)
+ {
+ cmRST r(this->OS, this->DocRoot);
+ r.IncludeDepth = this->IncludeDepth + 1;
+ r.OutputLinePending = this->OutputLinePending;
+ if(type != IncludeTocTree)
+ {
+ r.Replace = this->Replace;
+ }
+ if(file[0] == '/')
+ {
+ file = this->DocRoot + file;
+ }
+ else
+ {
+ file = this->DocDir + "/" + file;
+ }
+ found = r.ProcessFile(file, type == IncludeModule);
+ if(type != IncludeTocTree)
+ {
+ this->Replace = r.Replace;
+ }
+ this->OutputLinePending = r.OutputLinePending;
+ }
+ return found;
+}
+
+//----------------------------------------------------------------------------
+void cmRST::ProcessDirectiveParsedLiteral()
+{
+ this->OutputMarkupLines(true);
+}
+
+//----------------------------------------------------------------------------
+void cmRST::ProcessDirectiveLiteralBlock()
+{
+ this->OutputMarkupLines(false);
+}
+
+//----------------------------------------------------------------------------
+void cmRST::ProcessDirectiveCodeBlock()
+{
+ this->OutputMarkupLines(false);
+}
+
+//----------------------------------------------------------------------------
+void cmRST::ProcessDirectiveReplace()
+{
+ // Record markup lines as replacement text.
+ std::string& replacement = this->Replace[this->ReplaceName];
+ const char* sep = "";
+ for(std::vector<std::string>::iterator i = this->MarkupLines.begin();
+ i != this->MarkupLines.end(); ++i)
+ {
+ replacement += sep;
+ replacement += *i;
+ sep = " ";
+ }
+ this->ReplaceName = "";
+}
+
+//----------------------------------------------------------------------------
+void cmRST::ProcessDirectiveTocTree()
+{
+ // Process documents referenced by toctree directive.
+ for(std::vector<std::string>::iterator i = this->MarkupLines.begin();
+ i != this->MarkupLines.end(); ++i)
+ {
+ if(!i->empty() && i->find_first_of(":") == i->npos)
+ {
+ this->ProcessInclude(*i + ".rst", IncludeTocTree);
+ }
+ }
+}
+
+//----------------------------------------------------------------------------
+void cmRST::UnindentLines(std::vector<std::string>& lines)
+{
+ // Remove the common indentation from the second and later lines.
+ std::string indentText;
+ std::string::size_type indentEnd = 0;
+ bool first = true;
+ for(size_t i = 1; i < lines.size(); ++i)
+ {
+ std::string const& line = lines[i];
+
+ // Do not consider empty lines.
+ if(line.empty())
+ {
+ continue;
+ }
+
+ // Record indentation on first non-empty line.
+ if(first)
+ {
+ first = false;
+ indentEnd = line.find_first_not_of(" \t");
+ indentText = line.substr(0, indentEnd);
+ continue;
+ }
+
+ // Truncate indentation to match that on this line.
+ if(line.size() < indentEnd)
+ {
+ indentEnd = line.size();
+ }
+ for(std::string::size_type j = 0; j != indentEnd; ++j)
+ {
+ if(line[j] != indentText[j])
+ {
+ indentEnd = j;
+ break;
+ }
+ }
+ }
+
+ // Update second and later lines.
+ for(size_t i = 1; i < lines.size(); ++i)
+ {
+ std::string& line = lines[i];
+ if(!line.empty())
+ {
+ line = line.substr(indentEnd);
+ }
+ }
+
+ // Drop leading blank lines.
+ size_t leadingEmpty = 0;
+ for(size_t i = 0; i < lines.size() && lines[i].empty(); ++i)
+ {
+ ++leadingEmpty;
+ }
+ lines.erase(lines.begin(), lines.begin()+leadingEmpty);
+
+ // Drop trailing blank lines.
+ size_t trailingEmpty = 0;
+ for(size_t i = lines.size(); i > 0 && lines[i-1].empty(); --i)
+ {
+ ++trailingEmpty;
+ }
+ lines.erase(lines.end()-trailingEmpty, lines.end());
+}
diff --git a/Source/cmRST.h b/Source/cmRST.h
new file mode 100644
index 0000000..3356008
--- /dev/null
+++ b/Source/cmRST.h
@@ -0,0 +1,100 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2000-2013 Kitware, Inc., Insight Software Consortium
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#ifndef _cmRST_h
+#define _cmRST_h
+
+#include "cmStandardIncludes.h"
+
+#include <cmsys/RegularExpression.hxx>
+
+/** \class cmRST
+ * \brief Perform basic .rst processing for command-line help
+ *
+ * This class implements a subset of reStructuredText and Sphinx
+ * document processing. It is used to print command-line help.
+ *
+ * If you modify the capabilities of this class, be sure to update
+ * the Help/manual/cmake-developer.7.rst documentation and to update
+ * the Tests/CMakeLib/testRST.(rst|expect) test input and output.
+ */
+class cmRST
+{
+public:
+ cmRST(std::ostream& os, std::string const& docroot);
+ bool ProcessFile(std::string const& fname, bool isModule = false);
+private:
+ enum IncludeType
+ {
+ IncludeNormal,
+ IncludeModule,
+ IncludeTocTree
+ };
+ enum MarkupType
+ {
+ MarkupNone,
+ MarkupNormal,
+ MarkupEmpty
+ };
+ enum DirectiveType
+ {
+ DirectiveNone,
+ DirectiveParsedLiteral,
+ DirectiveLiteralBlock,
+ DirectiveCodeBlock,
+ DirectiveReplace,
+ DirectiveTocTree
+ };
+
+ void ProcessRST(std::istream& is);
+ void ProcessModule(std::istream& is);
+ void Reset();
+ void ProcessLine(std::string const& line);
+ void NormalLine(std::string const& line);
+ void OutputLine(std::string const& line, bool inlineMarkup);
+ std::string ReplaceSubstitutions(std::string const& line);
+ void OutputMarkupLines(bool inlineMarkup);
+ bool ProcessInclude(std::string file, IncludeType type);
+ void ProcessDirectiveParsedLiteral();
+ void ProcessDirectiveLiteralBlock();
+ void ProcessDirectiveCodeBlock();
+ void ProcessDirectiveReplace();
+ void ProcessDirectiveTocTree();
+ static void UnindentLines(std::vector<std::string>& lines);
+
+ std::ostream& OS;
+ std::string DocRoot;
+ int IncludeDepth;
+ bool OutputLinePending;
+ bool LastLineEndedInColonColon;
+ MarkupType Markup;
+ DirectiveType Directive;
+ cmsys::RegularExpression CMakeDirective;
+ cmsys::RegularExpression CMakeModuleDirective;
+ cmsys::RegularExpression ParsedLiteralDirective;
+ cmsys::RegularExpression CodeBlockDirective;
+ cmsys::RegularExpression ReplaceDirective;
+ cmsys::RegularExpression IncludeDirective;
+ cmsys::RegularExpression TocTreeDirective;
+ cmsys::RegularExpression ProductionListDirective;
+ cmsys::RegularExpression NoteDirective;
+ cmsys::RegularExpression ModuleRST;
+ cmsys::RegularExpression CMakeRole;
+ cmsys::RegularExpression Substitution;
+
+ std::vector<std::string> MarkupLines;
+ std::string DocDir;
+ std::map<cmStdString, cmStdString> Replace;
+ std::set<cmStdString> Replaced;
+ std::string ReplaceName;
+};
+
+#endif
diff --git a/Source/cmRemoveCommand.h b/Source/cmRemoveCommand.h
index 5aedc26..ad73908 100644
--- a/Source/cmRemoveCommand.h
+++ b/Source/cmRemoveCommand.h
@@ -47,26 +47,6 @@ public:
*/
virtual const char* GetName() const {return "remove";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Deprecated. Use the list(REMOVE_ITEM ) command instead.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " remove(VAR VALUE VALUE ...)\n"
- "Removes VALUE from the variable VAR. "
- "This is typically used to remove entries from a vector "
- "(e.g. semicolon separated list). VALUE is expanded.";
- }
-
/** This command is kept for compatibility with older CMake versions. */
virtual bool IsDiscouraged() const
{
diff --git a/Source/cmRemoveDefinitionsCommand.h b/Source/cmRemoveDefinitionsCommand.h
index 18f6171..4e291fc 100644
--- a/Source/cmRemoveDefinitionsCommand.h
+++ b/Source/cmRemoveDefinitionsCommand.h
@@ -44,25 +44,6 @@ public:
*/
virtual const char* GetName() const {return "remove_definitions";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Removes -D define flags added by add_definitions.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " remove_definitions(-DFOO -DBAR ...)\n"
- "Removes flags (added by add_definitions) from the compiler command "
- "line for sources in the current directory and below.";
- }
-
cmTypeMacro(cmRemoveDefinitionsCommand, cmCommand);
};
diff --git a/Source/cmReturnCommand.h b/Source/cmReturnCommand.h
index a6e87ef..2822b62 100644
--- a/Source/cmReturnCommand.h
+++ b/Source/cmReturnCommand.h
@@ -47,32 +47,6 @@ public:
*/
virtual const char* GetName() const {return "return";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Return from a file, directory or function.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " return()\n"
- "Returns from a file, directory or function. When this command is "
- "encountered in an included file (via include() or find_package()), "
- "it causes processing of the current file to stop and control is "
- "returned to the including file. If it is encountered in a file which "
- "is not included by another file, e.g. a CMakeLists.txt, control is "
- "returned to the parent directory if there is one. "
- "If return is called in a function, control is returned to the caller "
- "of the function. Note that a macro "
- "is not a function and does not handle return like a function does.";
- }
-
cmTypeMacro(cmReturnCommand, cmCommand);
};
diff --git a/Source/cmScriptGenerator.cxx b/Source/cmScriptGenerator.cxx
index cabe98a..3b6a49b 100644
--- a/Source/cmScriptGenerator.cxx
+++ b/Source/cmScriptGenerator.cxx
@@ -185,9 +185,9 @@ void cmScriptGenerator::GenerateScriptActionsOnce(std::ostream& os,
{
// Generate a per-configuration block.
std::string config_test = this->CreateConfigTest(this->Configurations);
- os << indent << "IF(" << config_test << ")\n";
+ os << indent << "if(" << config_test << ")\n";
this->GenerateScriptActions(os, indent.Next());
- os << indent << "ENDIF(" << config_test << ")\n";
+ os << indent << "endif(" << config_test << ")\n";
}
}
@@ -219,7 +219,7 @@ void cmScriptGenerator::GenerateScriptActionsPerConfig(std::ostream& os,
{
// Generate a per-configuration block.
std::string config_test = this->CreateConfigTest(config);
- os << indent << (first? "IF(" : "ELSEIF(") << config_test << ")\n";
+ os << indent << (first? "if(" : "elseif(") << config_test << ")\n";
this->GenerateScriptForConfig(os, config, indent.Next());
first = false;
}
@@ -228,10 +228,10 @@ void cmScriptGenerator::GenerateScriptActionsPerConfig(std::ostream& os,
{
if(this->NeedsScriptNoConfig())
{
- os << indent << "ELSE()\n";
+ os << indent << "else()\n";
this->GenerateScriptNoConfig(os, indent.Next());
}
- os << indent << "ENDIF()\n";
+ os << indent << "endif()\n";
}
}
}
diff --git a/Source/cmSeparateArgumentsCommand.h b/Source/cmSeparateArgumentsCommand.h
index d62baf7..ce02360 100644
--- a/Source/cmSeparateArgumentsCommand.h
+++ b/Source/cmSeparateArgumentsCommand.h
@@ -47,43 +47,6 @@ public:
*/
virtual const char* GetName() const {return "separate_arguments";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return
- "Parse space-separated arguments into a semicolon-separated list.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " separate_arguments(<var> <UNIX|WINDOWS>_COMMAND \"<args>\")\n"
- "Parses a unix- or windows-style command-line string \"<args>\" and "
- "stores a semicolon-separated list of the arguments in <var>. "
- "The entire command line must be given in one \"<args>\" argument."
- "\n"
- "The UNIX_COMMAND mode separates arguments by unquoted whitespace. "
- "It recognizes both single-quote and double-quote pairs. "
- "A backslash escapes the next literal character (\\\" is \"); "
- "there are no special escapes (\\n is just n)."
- "\n"
- "The WINDOWS_COMMAND mode parses a windows command-line using the "
- "same syntax the runtime library uses to construct argv at startup. "
- "It separates arguments by whitespace that is not double-quoted. "
- "Backslashes are literal unless they precede double-quotes. "
- "See the MSDN article \"Parsing C Command-Line Arguments\" for details."
- "\n"
- " separate_arguments(VARIABLE)\n"
- "Convert the value of VARIABLE to a semi-colon separated list. "
- "All spaces are replaced with ';'. This helps with generating "
- "command lines.";
- }
-
cmTypeMacro(cmSeparateArgumentsCommand, cmCommand);
};
diff --git a/Source/cmSetCommand.cxx b/Source/cmSetCommand.cxx
index 20f38be..36363a1 100644
--- a/Source/cmSetCommand.cxx
+++ b/Source/cmSetCommand.cxx
@@ -23,7 +23,7 @@ bool cmSetCommand
// watch for ENV signatures
const char* variable = args[0].c_str(); // VAR is always first
- if (!strncmp(variable,"ENV{",4) && strlen(variable) > 5)
+ if (cmHasLiteralPrefix(variable, "ENV{") && strlen(variable) > 5)
{
// what is the variable name
char *varName = new char [strlen(variable)];
@@ -62,9 +62,17 @@ bool cmSetCommand
this->Makefile->RemoveDefinition(args[0].c_str());
return true;
}
+ // SET (VAR PARENT_SCOPE) // Removes the definition of VAR
+ // in the parent scope.
+ else if (args.size() == 2 && args[args.size()-1] == "PARENT_SCOPE")
+ {
+ this->Makefile->RaiseScope(variable, 0);
+ return true;
+ }
// here are the remaining options
// SET (VAR value )
+ // SET (VAR value PARENT_SCOPE)
// SET (VAR CACHE TYPE "doc String" [FORCE])
// SET (VAR value CACHE TYPE "doc string" [FORCE])
std::string value; // optional
@@ -114,15 +122,8 @@ bool cmSetCommand
if (parentScope)
{
- if (value.empty())
- {
- this->Makefile->RaiseScope(variable, 0);
- }
- else
- {
- this->Makefile->RaiseScope(variable, value.c_str());
- }
- return true;
+ this->Makefile->RaiseScope(variable, value.c_str());
+ return true;
}
diff --git a/Source/cmSetCommand.h b/Source/cmSetCommand.h
index fe1d58d..6cef0a0 100644
--- a/Source/cmSetCommand.h
+++ b/Source/cmSetCommand.h
@@ -47,114 +47,6 @@ public:
*/
virtual const char* GetName() const {return "set";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Set a CMake, cache or environment variable to a given value.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " set(<variable> <value>\n"
- " [[CACHE <type> <docstring> [FORCE]] | PARENT_SCOPE])\n"
- "Within CMake sets <variable> to the value <value>. "
- "<value> is expanded before <variable> is set to it. "
- "Normally, set will set a regular CMake variable. "
- "If CACHE is present, then the <variable> is put in the cache "
- "instead, unless it is already in the cache. "
- "See section 'Variable types in CMake' below for details of "
- "regular and cache variables and their interactions. "
- "If CACHE is used, <type> and <docstring> are required. <type> is used "
- "by the CMake GUI to choose a widget with which the user sets a value. "
- "The value for <type> may be one of\n"
- " FILEPATH = File chooser dialog.\n"
- " PATH = Directory chooser dialog.\n"
- " STRING = Arbitrary string.\n"
- " BOOL = Boolean ON/OFF checkbox.\n"
- " INTERNAL = No GUI entry (used for persistent variables).\n"
- "If <type> is INTERNAL, the cache variable is marked as internal, "
- "and will not be shown to the user in tools like cmake-gui. "
- "This is intended for values that should be persisted in the cache, "
- "but which users should not normally change. INTERNAL implies FORCE."
- "\n"
- "Normally, set(...CACHE...) creates cache variables, but does not "
- "modify them. "
- "If FORCE is specified, the value of the cache variable is set, even "
- "if the variable is already in the cache. This should normally be "
- "avoided, as it will remove any changes to the cache variable's value "
- "by the user.\n"
- "If PARENT_SCOPE is present, the variable will be set in the scope "
- "above the current scope. Each new directory or function creates a new "
- "scope. This command will set the value of a variable into the parent "
- "directory or calling function (whichever is applicable to the case at "
- "hand). PARENT_SCOPE cannot be combined with CACHE.\n"
- "If <value> is not specified then the variable is removed "
- "instead of set. See also: the unset() command.\n"
- " set(<variable> <value1> ... <valueN>)\n"
- "In this case <variable> is set to a semicolon separated list of "
- "values.\n"
- "<variable> can be an environment variable such as:\n"
- " set( ENV{PATH} /home/martink )\n"
- "in which case the environment variable will be set.\n"
- "*** Variable types in CMake ***\n"
- "In CMake there are two types of variables: normal variables and cache "
- "variables. Normal variables are meant for the internal use of the "
- "script (just like variables in most programming languages); they are "
- "not persisted across CMake runs. "
- "Cache variables (unless set with INTERNAL) are mostly intended for "
- "configuration settings where the first CMake run determines a "
- "suitable default value, which the user can then override, by editing "
- "the cache with tools such as ccmake or cmake-gui. "
- "Cache variables are stored in the CMake cache file, and "
- "are persisted across CMake runs. \n"
- "Both types can exist at the same time with the same name "
- "but different values. "
- "When ${FOO} is evaluated, CMake first looks for "
- "a normal variable 'FOO' in scope and uses it if set. "
- "If and only if no normal variable exists then it falls back to the "
- "cache variable 'FOO'.\n"
- "Some examples:\n"
- "The code 'set(FOO \"x\")' sets the normal variable 'FOO'. It does not "
- "touch the cache, but it will hide any existing cache value 'FOO'.\n"
- "The code 'set(FOO \"x\" CACHE ...)' checks for 'FOO' in the cache, "
- "ignoring any normal variable of the same name. If 'FOO' is in the "
- "cache then nothing happens to either the normal variable or the cache "
- "variable. If 'FOO' is not in the cache, then it is added to the "
- "cache.\n"
- "Finally, whenever a cache variable is added or modified by a command, "
- "CMake also *removes* the normal variable of the same name from the "
- "current scope so that an immediately following evaluation of "
- "it will expose the newly cached value.\n"
- "Normally projects should avoid using normal and cache variables of "
- "the same name, as this interaction can be hard to follow. "
- "However, in some situations it can be useful. "
- "One example (used by some projects):"
- "\n"
- "A project has a subproject in its source tree. The child project has "
- "its own CMakeLists.txt, which is included from the parent "
- "CMakeLists.txt using add_subdirectory(). "
- "Now, if the parent and the child project provide the same option "
- "(for example a compiler option), the parent gets the first chance "
- "to add a user-editable option to the cache. "
- "Normally, the child would then use the same value "
- "that the parent uses. "
- "However, it may be necessary to hard-code the value for the child "
- "project's option while still allowing the user to edit the value used "
- "by the parent project. The parent project can achieve this simply by "
- "setting a normal variable with the same name as the option in a scope "
- "sufficient to hide the option's cache variable from the child "
- "completely. The parent has already set the cache variable, so the "
- "child's set(...CACHE...) will do nothing, and evaluating the option "
- "variable will use the value from the normal variable, which hides the "
- "cache variable.";
- }
-
cmTypeMacro(cmSetCommand, cmCommand);
};
diff --git a/Source/cmSetDirectoryPropertiesCommand.h b/Source/cmSetDirectoryPropertiesCommand.h
index 8a50c60..6240598 100644
--- a/Source/cmSetDirectoryPropertiesCommand.h
+++ b/Source/cmSetDirectoryPropertiesCommand.h
@@ -40,14 +40,6 @@ public:
virtual const char* GetName() const { return "set_directory_properties";}
/**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Set a property of the directory.";
- }
-
- /**
* Static entry point for use by other commands
*/
static bool RunCommand(cmMakefile *mf,
@@ -55,21 +47,6 @@ public:
std::vector<std::string>::const_iterator aitend,
std::string &errors);
- /**
- * Longer documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " set_directory_properties(PROPERTIES prop1 value1 prop2 value2)\n"
- "Set a property for the current directory and subdirectories. If the "
- "property is not found, CMake will report an error. The properties "
- "include: INCLUDE_DIRECTORIES, LINK_DIRECTORIES, "
- "INCLUDE_REGULAR_EXPRESSION, and ADDITIONAL_MAKE_CLEAN_FILES. "
- "ADDITIONAL_MAKE_CLEAN_FILES is a list of files that will be cleaned "
- "as a part of \"make clean\" stage.";
- }
-
cmTypeMacro(cmSetDirectoryPropertiesCommand, cmCommand);
};
diff --git a/Source/cmSetPropertyCommand.cxx b/Source/cmSetPropertyCommand.cxx
index 4207860..1a6f1d6 100644
--- a/Source/cmSetPropertyCommand.cxx
+++ b/Source/cmSetPropertyCommand.cxx
@@ -244,12 +244,12 @@ bool cmSetPropertyCommand::HandleTargetMode()
for(std::set<cmStdString>::const_iterator ni = this->Names.begin();
ni != this->Names.end(); ++ni)
{
- if (this->Makefile->IsAlias(ni->c_str()))
+ if (this->Makefile->IsAlias(*ni))
{
this->SetError("can not be used on an ALIAS target.");
return false;
}
- if(cmTarget* target = this->Makefile->FindTargetToUse(ni->c_str()))
+ if(cmTarget* target = this->Makefile->FindTargetToUse(*ni))
{
// Handle the current target.
if(!this->HandleTarget(target))
diff --git a/Source/cmSetPropertyCommand.h b/Source/cmSetPropertyCommand.h
index 830299d..5470314 100644
--- a/Source/cmSetPropertyCommand.h
+++ b/Source/cmSetPropertyCommand.h
@@ -37,53 +37,6 @@ public:
virtual const char* GetName() const { return "set_property";}
/**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Set a named property in a given scope.";
- }
-
- /**
- * Longer documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " set_property(<GLOBAL |\n"
- " DIRECTORY [dir] |\n"
- " TARGET [target1 [target2 ...]] |\n"
- " SOURCE [src1 [src2 ...]] |\n"
- " TEST [test1 [test2 ...]] |\n"
- " CACHE [entry1 [entry2 ...]]>\n"
- " [APPEND] [APPEND_STRING]\n"
- " PROPERTY <name> [value1 [value2 ...]])\n"
- "Set one property on zero or more objects of a scope. "
- "The first argument determines the scope in which the property "
- "is set. It must be one of the following:\n"
- "GLOBAL scope is unique and does not accept a name.\n"
- "DIRECTORY scope defaults to the current directory but another "
- "directory (already processed by CMake) may be named by full or "
- "relative path.\n"
- "TARGET scope may name zero or more existing targets.\n"
- "SOURCE scope may name zero or more source files. "
- "Note that source file properties are visible only to targets "
- "added in the same directory (CMakeLists.txt).\n"
- "TEST scope may name zero or more existing tests.\n"
- "CACHE scope must name zero or more cache existing entries.\n"
- "The required PROPERTY option is immediately followed by the name "
- "of the property to set. Remaining arguments are used to "
- "compose the property value in the form of a semicolon-separated "
- "list. "
- "If the APPEND option is given the list is appended to any "
- "existing property value."
- "If the APPEND_STRING option is given the string is append to any "
- "existing property value as string, i.e. it results in a longer "
- "string and not a list of strings."
- ;
- }
-
- /**
* This determines if the command is invoked when in script mode.
*/
virtual bool IsScriptable() const { return true; }
diff --git a/Source/cmSetSourceFilesPropertiesCommand.h b/Source/cmSetSourceFilesPropertiesCommand.h
index f7009e7..8541a96 100644
--- a/Source/cmSetSourceFilesPropertiesCommand.h
+++ b/Source/cmSetSourceFilesPropertiesCommand.h
@@ -34,31 +34,6 @@ public:
*/
virtual const char* GetName() const { return "set_source_files_properties";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Source files can have properties that affect how they are built.";
- }
-
- /**
- * Longer documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " set_source_files_properties([file1 [file2 [...]]]\n"
- " PROPERTIES prop1 value1\n"
- " [prop2 value2 [...]])\n"
- "Set properties associated with source files using a key/value "
- "paired list. "
- "See properties documentation for those known to CMake. "
- "Unrecognized properties are ignored. "
- "Source file properties are visible only to targets "
- "added in the same directory (CMakeLists.txt).";
- }
-
cmTypeMacro(cmSetSourceFilesPropertiesCommand, cmCommand);
static bool RunCommand(cmMakefile *mf,
diff --git a/Source/cmSetTargetPropertiesCommand.cxx b/Source/cmSetTargetPropertiesCommand.cxx
index 78ef393..dab4180 100644
--- a/Source/cmSetTargetPropertiesCommand.cxx
+++ b/Source/cmSetTargetPropertiesCommand.cxx
@@ -72,7 +72,7 @@ bool cmSetTargetPropertiesCommand
int i;
for(i = 0; i < numFiles; ++i)
{
- if (this->Makefile->IsAlias(args[i].c_str()))
+ if (this->Makefile->IsAlias(args[i]))
{
this->SetError("can not be used on an ALIAS target.");
return false;
diff --git a/Source/cmSetTargetPropertiesCommand.h b/Source/cmSetTargetPropertiesCommand.h
index cf9c193..6221a18 100644
--- a/Source/cmSetTargetPropertiesCommand.h
+++ b/Source/cmSetTargetPropertiesCommand.h
@@ -35,133 +35,12 @@ public:
virtual const char* GetName() const { return "set_target_properties";}
/**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Targets can have properties that affect how they are built.";
- }
-
- /**
* Used by this command and cmSetPropertiesCommand
*/
static bool SetOneTarget(const char *tname,
std::vector<std::string> &propertyPairs,
cmMakefile *mf);
- /**
- * Longer documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " set_target_properties(target1 target2 ...\n"
- " PROPERTIES prop1 value1\n"
- " prop2 value2 ...)\n"
- "Set properties on a target. The syntax for the command is to "
- "list all the files you want "
- "to change, and then provide the values you want to set next. "
- "You can use any prop value pair you want and "
- "extract it later with the GET_TARGET_PROPERTY command.\n"
- "Properties that affect the name of a target's output file are "
- "as follows. "
- "The PREFIX and SUFFIX properties override the default target name "
- "prefix (such as \"lib\") and suffix (such as \".so\"). "
- "IMPORT_PREFIX and IMPORT_SUFFIX are the equivalent properties for "
- "the import library corresponding to a DLL "
- "(for SHARED library targets). "
- "OUTPUT_NAME sets the real name of a target when it is built and "
- "can be used to help create two targets of the same name even though "
- "CMake requires unique logical target names. There is also a "
- "<CONFIG>_OUTPUT_NAME that can set the output name on a "
- "per-configuration basis. "
- "<CONFIG>_POSTFIX sets a postfix for the real name of the target "
- "when it is built under the configuration named by <CONFIG> "
- "(in upper-case, such as \"DEBUG_POSTFIX\"). The value of "
- "this property is initialized when the target is created to the "
- "value of the variable CMAKE_<CONFIG>_POSTFIX (except for executable "
- "targets because earlier CMake versions which did not use this "
- "variable for executables)."
- "\n"
- "The LINK_FLAGS property can be used to add extra flags to the "
- "link step of a target. LINK_FLAGS_<CONFIG> will add to the "
- "configuration <CONFIG>, "
- "for example, DEBUG, RELEASE, MINSIZEREL, RELWITHDEBINFO. "
- "DEFINE_SYMBOL sets the name of the preprocessor symbol defined when "
- "compiling sources in a shared library. "
- "If not set here then it is set to target_EXPORTS by default "
- "(with some substitutions if the target is not a valid C "
- "identifier). This is useful for headers to know whether they are "
- "being included from inside their library or outside to properly "
- "setup dllexport/dllimport decorations. "
- "The COMPILE_FLAGS property sets additional compiler flags used "
- "to build sources within the target. It may also be used to pass "
- "additional preprocessor definitions."
- "\n"
- "The LINKER_LANGUAGE property is used to change the tool "
- "used to link an executable or shared library. The default is "
- "set the language to match the files in the library. CXX and C "
- "are common values for this property."
- "\n"
- "For shared libraries VERSION and SOVERSION can be used to specify "
- "the build version and API version respectively. When building or "
- "installing appropriate symlinks are created if the platform "
- "supports symlinks and the linker supports so-names. "
- "If only one of both is specified the missing is assumed to have "
- "the same version number. "
- "For executables VERSION can be used to specify the build version. "
- "When building or installing appropriate symlinks are created if "
- "the platform supports symlinks. "
- "For shared libraries and executables on Windows the VERSION "
- "attribute is parsed to extract a \"major.minor\" version number. "
- "These numbers are used as the image version of the binary. "
- "\n"
- "There are a few properties used to specify RPATH rules. "
- "INSTALL_RPATH is a semicolon-separated list specifying the rpath "
- "to use in installed targets (for platforms that support it). "
- "INSTALL_RPATH_USE_LINK_PATH is a boolean that if set to true will "
- "append directories in the linker search path and outside the "
- "project to the INSTALL_RPATH. "
- "SKIP_BUILD_RPATH is a boolean specifying whether to skip automatic "
- "generation of an rpath allowing the target to run from the "
- "build tree. "
- "BUILD_WITH_INSTALL_RPATH is a boolean specifying whether to link "
- "the target in the build tree with the INSTALL_RPATH. This takes "
- "precedence over SKIP_BUILD_RPATH and avoids the need for relinking "
- "before installation. INSTALL_NAME_DIR is a string specifying the "
- "directory portion of the \"install_name\" field of shared libraries "
- "on Mac OSX to use in the installed targets. "
- "When the target is created the values of "
- "the variables CMAKE_INSTALL_RPATH, "
- "CMAKE_INSTALL_RPATH_USE_LINK_PATH, CMAKE_SKIP_BUILD_RPATH, "
- "CMAKE_BUILD_WITH_INSTALL_RPATH, and CMAKE_INSTALL_NAME_DIR "
- "are used to initialize these properties.\n"
- "PROJECT_LABEL can be used to change the name of "
- "the target in an IDE like visual studio. VS_KEYWORD can be set "
- "to change the visual studio keyword, for example Qt integration "
- "works better if this is set to Qt4VSv1.0.\n"
- "VS_SCC_PROJECTNAME, VS_SCC_LOCALPATH, VS_SCC_PROVIDER and "
- "VS_SCC_AUXPATH can be set "
- "to add support for source control bindings in a Visual Studio "
- "project file.\n"
- "VS_GLOBAL_<variable> can be set to add a Visual Studio "
- "project-specific global variable. "
- "Qt integration works better if VS_GLOBAL_QtVersion is set to "
- "the Qt version FindQt4.cmake found. For example, \"4.7.3\"\n"
- "The PRE_INSTALL_SCRIPT and POST_INSTALL_SCRIPT properties are the "
- "old way to specify CMake scripts to run before and after "
- "installing a target. They are used only when the old "
- "INSTALL_TARGETS command is used to install the target. Use the "
- "INSTALL command instead."
- "\n"
- "The EXCLUDE_FROM_DEFAULT_BUILD property is used by the visual "
- "studio generators. If it is set to 1 the target will not be "
- "part of the default build when you select \"Build Solution\". "
- "This can also be set on a per-configuration basis using "
- "EXCLUDE_FROM_DEFAULT_BUILD_<CONFIG>."
- ;
- }
-
cmTypeMacro(cmSetTargetPropertiesCommand, cmCommand);
};
diff --git a/Source/cmSetTestsPropertiesCommand.h b/Source/cmSetTestsPropertiesCommand.h
index 3a59218..9e85495 100644
--- a/Source/cmSetTestsPropertiesCommand.h
+++ b/Source/cmSetTestsPropertiesCommand.h
@@ -34,40 +34,6 @@ public:
*/
virtual const char* GetName() const { return "set_tests_properties";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Set a property of the tests.";
- }
-
- /**
- * Longer documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " set_tests_properties(test1 [test2...] PROPERTIES prop1 value1 prop2"
- " value2)\n"
- "Set a property for the tests. If the property is not found, CMake "
- "will report an error. The properties include:\n"
- "WILL_FAIL: If set to true, this will invert the pass/fail flag of the"
- " test.\n"
- "PASS_REGULAR_EXPRESSION: If set, the test output will be checked "
- "against the specified regular expressions and at least one of the"
- " regular "
- "expressions has to match, otherwise the test will fail.\n"
- " Example: PASS_REGULAR_EXPRESSION \"TestPassed;All ok\"\n"
- "FAIL_REGULAR_EXPRESSION: If set, if the output will match to one of "
- "specified regular expressions, the test will fail.\n"
- " Example: PASS_REGULAR_EXPRESSION \"[^a-z]Error;ERROR;Failed\"\n"
- "Both PASS_REGULAR_EXPRESSION and FAIL_REGULAR_EXPRESSION expect a "
- "list of regular expressions.\n"
- "TIMEOUT: Setting this will limit the test runtime to the number of "
- "seconds specified.\n";
- }
-
cmTypeMacro(cmSetTestsPropertiesCommand, cmCommand);
static bool SetOneTest(const char *tname,
diff --git a/Source/cmSiteNameCommand.h b/Source/cmSiteNameCommand.h
index 52a63bc..eb9d4d8 100644
--- a/Source/cmSiteNameCommand.h
+++ b/Source/cmSiteNameCommand.h
@@ -47,23 +47,6 @@ public:
*/
virtual const char* GetName() const {return "site_name";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Set the given variable to the name of the computer.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " site_name(variable)\n";
- }
-
cmTypeMacro(cmSiteNameCommand, cmCommand);
};
diff --git a/Source/cmSourceFile.cxx b/Source/cmSourceFile.cxx
index 8bb7d96..23422a2 100644
--- a/Source/cmSourceFile.cxx
+++ b/Source/cmSourceFile.cxx
@@ -16,7 +16,6 @@
#include "cmMakefile.h"
#include "cmSystemTools.h"
#include "cmake.h"
-#include "cmDocumentCompileDefinitions.h"
//----------------------------------------------------------------------------
cmSourceFile::cmSourceFile(cmMakefile* mf, const char* name):
@@ -143,7 +142,7 @@ bool cmSourceFile::FindFullPath(std::string* error)
}
// The file is not generated. It must exist on disk.
- cmMakefile* mf = this->Location.GetMakefile();
+ cmMakefile const* mf = this->Location.GetMakefile();
const char* tryDirs[3] = {0, 0, 0};
if(this->Location.DirectoryIsAmbiguous())
{
@@ -265,7 +264,7 @@ void cmSourceFile::CheckExtension()
void cmSourceFile::CheckLanguage(std::string const& ext)
{
// Try to identify the source file language from the extension.
- cmMakefile* mf = this->Location.GetMakefile();
+ cmMakefile const* mf = this->Location.GetMakefile();
cmGlobalGenerator* gg = mf->GetLocalGenerator()->GetGlobalGenerator();
if(const char* l = gg->GetLanguageFromExtension(ext.c_str()))
{
@@ -288,6 +287,17 @@ void cmSourceFile::SetProperty(const char* prop, const char* value)
}
this->Properties.SetProperty(prop, value, cmProperty::SOURCE_FILE);
+
+ std::string ext =
+ cmSystemTools::GetFilenameLastExtension(this->Location.GetName());
+ if (ext == ".ui")
+ {
+ cmMakefile const* mf = this->Location.GetMakefile();
+ if (strcmp(prop, "AUTOUIC_OPTIONS") == 0)
+ {
+ const_cast<cmMakefile*>(mf)->AddQtUiFileWithOptions(this);
+ }
+ }
}
//----------------------------------------------------------------------------
@@ -350,7 +360,7 @@ const char* cmSourceFile::GetProperty(const char* prop) const
this->Properties.GetPropertyValue(prop, cmProperty::SOURCE_FILE, chain);
if (chain)
{
- cmMakefile* mf = this->Location.GetMakefile();
+ cmMakefile const* mf = this->Location.GetMakefile();
return mf->GetProperty(prop,cmProperty::SOURCE_FILE);
}
@@ -382,176 +392,3 @@ void cmSourceFile::SetCustomCommand(cmCustomCommand* cc)
this->CustomCommand = cc;
delete old;
}
-
-//----------------------------------------------------------------------------
-void cmSourceFile::DefineProperties(cmake *cm)
-{
- // define properties
- cm->DefineProperty
- ("ABSTRACT", cmProperty::SOURCE_FILE,
- "Is this source file an abstract class.",
- "A property on a source file that indicates if the source file "
- "represents a class that is abstract. This only makes sense for "
- "languages that have a notion of an abstract class and it is "
- "only used by some tools that wrap classes into other languages.");
-
- cm->DefineProperty
- ("COMPILE_FLAGS", cmProperty::SOURCE_FILE,
- "Additional flags to be added when compiling this source file.",
- "These flags will be added to the list of compile flags when "
- "this source file builds. Use COMPILE_DEFINITIONS to pass additional "
- "preprocessor definitions.");
-
- cm->DefineProperty
- ("COMPILE_DEFINITIONS", cmProperty::SOURCE_FILE,
- "Preprocessor definitions for compiling a source file.",
- "The COMPILE_DEFINITIONS property may be set to a "
- "semicolon-separated list of preprocessor "
- "definitions using the syntax VAR or VAR=value. Function-style "
- "definitions are not supported. CMake will automatically escape "
- "the value correctly for the native build system (note that CMake "
- "language syntax may require escapes to specify some values). "
- "This property may be set on a per-configuration basis using the name "
- "COMPILE_DEFINITIONS_<CONFIG> where <CONFIG> is an upper-case name "
- "(ex. \"COMPILE_DEFINITIONS_DEBUG\").\n"
- "CMake will automatically drop some definitions that "
- "are not supported by the native build tool. "
- "The VS6 IDE does not support definition values with spaces "
- "(but NMake does). Xcode does not support per-configuration "
- "definitions on source files.\n"
- CM_DOCUMENT_COMPILE_DEFINITIONS_DISCLAIMER);
-
- cm->DefineProperty
- ("COMPILE_DEFINITIONS_<CONFIG>", cmProperty::SOURCE_FILE,
- "Per-configuration preprocessor definitions on a source file.",
- "This is the configuration-specific version of "
- "COMPILE_DEFINITIONS. Note that Xcode does not support "
- "per-configuration source file flags so this property will "
- "be ignored by the Xcode generator.");
-
- cm->DefineProperty
- ("EXTERNAL_OBJECT", cmProperty::SOURCE_FILE,
- "If set to true then this is an object file.",
- "If this property is set to true then the source file "
- "is really an object file and should not be compiled. "
- "It will still be linked into the target though.");
-
- cm->DefineProperty
- ("Fortran_FORMAT", cmProperty::SOURCE_FILE,
- "Set to FIXED or FREE to indicate the Fortran source layout.",
- "This property tells CMake whether a given Fortran source file "
- "uses fixed-format or free-format. "
- "CMake will pass the corresponding format flag to the compiler. "
- "Consider using the target-wide Fortran_FORMAT property if all "
- "source files in a target share the same format.");
-
- cm->DefineProperty
- ("GENERATED", cmProperty::SOURCE_FILE,
- "Is this source file generated as part of the build process.",
- "If a source file is generated by the build process CMake will "
- "handle it differently in terms of dependency checking etc. "
- "Otherwise having a non-existent source file could create problems.");
-
- cm->DefineProperty
- ("HEADER_FILE_ONLY", cmProperty::SOURCE_FILE,
- "Is this source file only a header file.",
- "A property on a source file that indicates if the source file "
- "is a header file with no associated implementation. This is "
- "set automatically based on the file extension and is used by "
- "CMake to determine if certain dependency information should be "
- "computed.");
-
- cm->DefineProperty
- ("KEEP_EXTENSION", cmProperty::SOURCE_FILE,
- "Make the output file have the same extension as the source file.",
- "If this property is set then the file extension of the output "
- "file will be the same as that of the source file. Normally "
- "the output file extension is computed based on the language "
- "of the source file, for example .cxx will go to a .o extension.");
-
- cm->DefineProperty
- ("LABELS", cmProperty::SOURCE_FILE,
- "Specify a list of text labels associated with a source file.",
- "This property has meaning only when the source file is listed in "
- "a target whose LABELS property is also set. "
- "No other semantics are currently specified.");
-
- cm->DefineProperty
- ("LANGUAGE", cmProperty::SOURCE_FILE,
- "What programming language is the file.",
- "A property that can be set to indicate what programming language "
- "the source file is. If it is not set the language is determined "
- "based on the file extension. Typical values are CXX C etc. Setting "
- "this property for a file means this file will be compiled. "
- "Do not set this for headers or files that should not be compiled.");
-
- cm->DefineProperty
- ("LOCATION", cmProperty::SOURCE_FILE,
- "The full path to a source file.",
- "A read only property on a SOURCE FILE that contains the full path "
- "to the source file.");
-
- cm->DefineProperty
- ("MACOSX_PACKAGE_LOCATION", cmProperty::SOURCE_FILE,
- "Place a source file inside a Mac OS X bundle, CFBundle, or framework.",
- "Executable targets with the MACOSX_BUNDLE property set are built "
- "as Mac OS X application bundles on Apple platforms. "
- "Shared library targets with the FRAMEWORK property set are built "
- "as Mac OS X frameworks on Apple platforms. "
- "Module library targets with the BUNDLE property set are built "
- "as Mac OS X CFBundle bundles on Apple platforms. "
- "Source files listed in the target with this property set will "
- "be copied to a directory inside the bundle or framework content "
- "folder specified by the property value. "
- "For bundles the content folder is \"<name>.app/Contents\". "
- "For frameworks the content folder is "
- "\"<name>.framework/Versions/<version>\". "
- "For cfbundles the content folder is "
- "\"<name>.bundle/Contents\" (unless the extension is changed). "
- "See the PUBLIC_HEADER, PRIVATE_HEADER, and RESOURCE target "
- "properties for specifying files meant for Headers, PrivateHeaders, "
- "or Resources directories.");
-
- cm->DefineProperty
- ("OBJECT_DEPENDS", cmProperty::SOURCE_FILE,
- "Additional files on which a compiled object file depends.",
- "Specifies a semicolon-separated list of full-paths to files on which "
- "any object files compiled from this source file depend. "
- "An object file will be recompiled if any of the named files is newer "
- "than it.\n"
- "This property need not be used to specify the dependency of a "
- "source file on a generated header file that it includes. "
- "Although the property was originally introduced for this purpose, it "
- "is no longer necessary. "
- "If the generated header file is created by a custom command in the "
- "same target as the source file, the automatic dependency scanning "
- "process will recognize the dependency. "
- "If the generated header file is created by another target, an "
- "inter-target dependency should be created with the add_dependencies "
- "command (if one does not already exist due to linking relationships).");
-
- cm->DefineProperty
- ("OBJECT_OUTPUTS", cmProperty::SOURCE_FILE,
- "Additional outputs for a Makefile rule.",
- "Additional outputs created by compilation of this source file. "
- "If any of these outputs is missing the object will be recompiled. "
- "This is supported only on Makefile generators and will be ignored "
- "on other generators.");
-
- cm->DefineProperty
- ("SYMBOLIC", cmProperty::SOURCE_FILE,
- "Is this just a name for a rule.",
- "If SYMBOLIC (boolean) is set to true the build system will be "
- "informed that the source file is not actually created on disk but "
- "instead used as a symbolic name for a build rule.");
-
- cm->DefineProperty
- ("WRAP_EXCLUDE", cmProperty::SOURCE_FILE,
- "Exclude this source file from any code wrapping techniques.",
- "Some packages can wrap source files into alternate languages "
- "to provide additional functionality. For example, C++ code "
- "can be wrapped into Java or Python etc using SWIG etc. "
- "If WRAP_EXCLUDE is set to true (1 etc) that indicates that "
- "this source file should not be wrapped.");
-}
-
diff --git a/Source/cmSourceFile.h b/Source/cmSourceFile.h
index 6c68b87..4440b05 100644
--- a/Source/cmSourceFile.h
+++ b/Source/cmSourceFile.h
@@ -90,9 +90,6 @@ public:
// Get the properties
cmPropertyMap &GetProperties() { return this->Properties; };
- // Define the properties
- static void DefineProperties(cmake *cm);
-
/**
* Check whether the given source file location could refer to this
* source.
diff --git a/Source/cmSourceFileLocation.cxx b/Source/cmSourceFileLocation.cxx
index 5525b61..5a8578b 100644
--- a/Source/cmSourceFileLocation.cxx
+++ b/Source/cmSourceFileLocation.cxx
@@ -18,7 +18,7 @@
//----------------------------------------------------------------------------
cmSourceFileLocation
-::cmSourceFileLocation(cmMakefile* mf, const char* name): Makefile(mf)
+::cmSourceFileLocation(cmMakefile const* mf, const char* name): Makefile(mf)
{
this->AmbiguousDirectory = !cmSystemTools::FileIsFullPath(name);
this->AmbiguousExtension = true;
@@ -89,7 +89,7 @@ void cmSourceFileLocation::UpdateExtension(const char* name)
// The global generator checks extensions of enabled languages.
cmGlobalGenerator* gg =
this->Makefile->GetLocalGenerator()->GetGlobalGenerator();
- cmMakefile* mf = this->Makefile;
+ cmMakefile const* mf = this->Makefile;
const std::vector<std::string>& srcExts = mf->GetSourceExtensions();
const std::vector<std::string>& hdrExts = mf->GetHeaderExtensions();
if(gg->GetLanguageFromExtension(ext.c_str()) ||
@@ -170,7 +170,7 @@ cmSourceFileLocation
// Only a fixed set of extensions will be tried to match a file on
// disk. One of these must match if loc refers to this source file.
std::string ext = this->Name.substr(loc.Name.size()+1);
- cmMakefile* mf = this->Makefile;
+ cmMakefile const* mf = this->Makefile;
const std::vector<std::string>& srcExts = mf->GetSourceExtensions();
if(std::find(srcExts.begin(), srcExts.end(), ext) != srcExts.end())
{
diff --git a/Source/cmSourceFileLocation.h b/Source/cmSourceFileLocation.h
index 216dd07..c03eee7 100644
--- a/Source/cmSourceFileLocation.h
+++ b/Source/cmSourceFileLocation.h
@@ -33,7 +33,7 @@ public:
* Construct for a source file created in a given cmMakefile
* instance with an initial name.
*/
- cmSourceFileLocation(cmMakefile* mf, const char* name);
+ cmSourceFileLocation(cmMakefile const* mf, const char* name);
/**
* Return whether the givne source file location could refers to the
@@ -81,9 +81,9 @@ public:
/**
* Get the cmMakefile instance for which the source file was created.
*/
- cmMakefile* GetMakefile() const { return this->Makefile; }
+ cmMakefile const* GetMakefile() const { return this->Makefile; }
private:
- cmMakefile* Makefile;
+ cmMakefile const* Makefile;
bool AmbiguousDirectory;
bool AmbiguousExtension;
std::string Directory;
diff --git a/Source/cmSourceGroup.cxx b/Source/cmSourceGroup.cxx
index f09976f..d272b6c 100644
--- a/Source/cmSourceGroup.cxx
+++ b/Source/cmSourceGroup.cxx
@@ -126,12 +126,12 @@ void cmSourceGroup::AddChild(cmSourceGroup child)
}
//----------------------------------------------------------------------------
-cmSourceGroup *cmSourceGroup::lookupChild(const char* name)
+cmSourceGroup *cmSourceGroup::LookupChild(const char* name) const
{
// initializing iterators
- std::vector<cmSourceGroup>::iterator iter =
+ std::vector<cmSourceGroup>::const_iterator iter =
this->Internal->GroupChildren.begin();
- std::vector<cmSourceGroup>::iterator end =
+ const std::vector<cmSourceGroup>::const_iterator end =
this->Internal->GroupChildren.end();
// st
@@ -142,7 +142,7 @@ cmSourceGroup *cmSourceGroup::lookupChild(const char* name)
// look if descenened is the one were looking for
if(sgName == name)
{
- return &(*iter); // if it so return it
+ return const_cast<cmSourceGroup*>(&(*iter)); // if it so return it
}
}
diff --git a/Source/cmSourceGroup.h b/Source/cmSourceGroup.h
index 11a0c74..3bbdef9 100644
--- a/Source/cmSourceGroup.h
+++ b/Source/cmSourceGroup.h
@@ -56,7 +56,7 @@ public:
/**
* Looks up child and returns it
*/
- cmSourceGroup *lookupChild(const char *name);
+ cmSourceGroup *LookupChild(const char *name) const;
/**
* Get the name of this group.
diff --git a/Source/cmSourceGroupCommand.h b/Source/cmSourceGroupCommand.h
index 9f6b7e4..5d8b48c 100644
--- a/Source/cmSourceGroupCommand.h
+++ b/Source/cmSourceGroupCommand.h
@@ -43,36 +43,6 @@ public:
*/
virtual const char* GetName() const {return "source_group";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Define a grouping for sources in the makefile.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " source_group(name [REGULAR_EXPRESSION regex] "
- "[FILES src1 src2 ...])\n"
- "Defines a group into which sources will be placed in project files. "
- "This is mainly used to setup file tabs in Visual Studio. "
- "Any file whose name is listed or matches the regular expression will "
- "be placed in this group. If a file matches multiple groups, the LAST "
- "group that explicitly lists the file will be favored, if any. If no "
- "group explicitly lists the file, the LAST group whose regular "
- "expression matches the file will be favored.\n"
- "The name of the group may contain backslashes to specify subgroups:\n"
- " source_group(outer\\\\inner ...)\n"
- "For backwards compatibility, this command also supports the "
- "format:\n"
- " source_group(name regex)";
- }
-
cmTypeMacro(cmSourceGroupCommand, cmCommand);
};
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h
index a4aec2e..b4ae657 100644
--- a/Source/cmStandardIncludes.h
+++ b/Source/cmStandardIncludes.h
@@ -40,6 +40,9 @@
#pragma warning ( disable : 1572 ) /* floating-point equality test */
#endif
+// Provide fixed-size integer types.
+#include <cmIML/INT.h>
+
#include <stdarg.h> // Work-around for SGI MIPSpro 7.4.2m header bug
// This is a hack to prevent warnings about these functions being
@@ -321,14 +324,12 @@ struct cmDocumentationEntry
{
std::string Name;
std::string Brief;
- std::string Full;
cmDocumentationEntry(){};
- cmDocumentationEntry(const char *doc[3])
+ cmDocumentationEntry(const char *doc[2])
{ if (doc[0]) this->Name = doc[0];
- if (doc[1]) this->Brief = doc[1];
- if (doc[2]) this->Full = doc[2]; };
- cmDocumentationEntry(const char *n, const char *b, const char *f)
- { if (n) this->Name = n; if (b) this->Brief = b; if (f) this->Full = f; };
+ if (doc[1]) this->Brief = doc[1];};
+ cmDocumentationEntry(const char *n, const char *b)
+ { if (n) this->Name = n; if (b) this->Brief = b; };
};
/** Data structure to represent a single command line. */
@@ -379,6 +380,90 @@ static thisClass* SafeDownCast(cmObject *c) \
return 0;\
}
+inline bool cmHasLiteralPrefixImpl(const std::string &str1,
+ const char *str2,
+ size_t N)
+{
+ return strncmp(str1.c_str(), str2, N) == 0;
+}
+
+inline bool cmHasLiteralPrefixImpl(const char* str1,
+ const char *str2,
+ size_t N)
+{
+ return strncmp(str1, str2, N) == 0;
+}
+
+inline bool cmHasLiteralSuffixImpl(const std::string &str1,
+ const char *str2,
+ size_t N)
+{
+ size_t len = str1.size();
+ return len >= N && strcmp(str1.c_str() + len - N, str2) == 0;
+}
+
+inline bool cmHasLiteralSuffixImpl(const char* str1,
+ const char* str2,
+ size_t N)
+{
+ size_t len = strlen(str1);
+ return len >= N && strcmp(str1 + len - N, str2) == 0;
+}
+
+#if defined(_MSC_VER) && _MSC_VER < 1300 \
+ || defined(__GNUC__) && __GNUC__ < 3 \
+ || defined(__BORLANDC__)
+
+#define cmArrayBegin(a) a
+#define cmArraySize(a) (sizeof(a)/sizeof(*a))
+#define cmArrayEnd(a) a + cmArraySize(a)
+
+#define cmHasLiteralPrefix(STR1, STR2) \
+ cmHasLiteralPrefixImpl(STR1, "" STR2 "", sizeof(STR2) - 1)
+
+#define cmHasLiteralSuffix(STR1, STR2) \
+ cmHasLiteralSuffixImpl(STR1, "" STR2 "", sizeof(STR2) - 1)
+
+#else
+
+template<typename T, size_t N>
+const T* cmArrayBegin(const T (&a)[N]) { return a; }
+template<typename T, size_t N>
+const T* cmArrayEnd(const T (&a)[N]) { return a + N; }
+template<typename T, size_t N>
+size_t cmArraySize(const T (&)[N]) { return N; }
+
+template<typename T, size_t N>
+bool cmHasLiteralPrefix(T str1, const char (&str2)[N])
+{
+ return cmHasLiteralPrefixImpl(str1, str2, N - 1);
+}
+
+template<typename T, size_t N>
+bool cmHasLiteralSuffix(T str1, const char (&str2)[N])
+{
+ return cmHasLiteralSuffixImpl(str1, str2, N - 1);
+}
+#endif
+
+struct cmStrCmp {
+ cmStrCmp(const char *test) : m_test(test) {}
+ cmStrCmp(std::string &test) : m_test(test.c_str()) {}
+
+ bool operator()(const char * input) const
+ {
+ return strcmp(input, m_test) == 0;
+ }
+
+ // For use with binary_search
+ bool operator()(const char *str1, const char *str2) const
+ {
+ return strcmp(str1, str2) < 0;
+ }
+
+private:
+ const char * const m_test;
+};
#endif
diff --git a/Source/cmStringCommand.cxx b/Source/cmStringCommand.cxx
index 68ba13f..f9b69e3 100644
--- a/Source/cmStringCommand.cxx
+++ b/Source/cmStringCommand.cxx
@@ -73,6 +73,10 @@ bool cmStringCommand
{
return this->HandleLengthCommand(args);
}
+ else if(subCommand == "CONCAT")
+ {
+ return this->HandleConcatCommand(args);
+ }
else if(subCommand == "SUBSTRING")
{
return this->HandleSubstringCommand(args);
@@ -768,6 +772,27 @@ bool cmStringCommand
//----------------------------------------------------------------------------
bool cmStringCommand
+::HandleConcatCommand(std::vector<std::string> const& args)
+{
+ if(args.size() < 2)
+ {
+ this->SetError("sub-command CONCAT requires at least one argument.");
+ return false;
+ }
+
+ std::string const& variableName = args[1];
+ std::string value;
+ for(unsigned int i = 2; i < args.size(); ++i)
+ {
+ value += args[i];
+ }
+
+ this->Makefile->AddDefinition(variableName.c_str(), value.c_str());
+ return true;
+}
+
+//----------------------------------------------------------------------------
+bool cmStringCommand
::HandleMakeCIdentifierCommand(std::vector<std::string> const& args)
{
if(args.size() != 3)
diff --git a/Source/cmStringCommand.h b/Source/cmStringCommand.h
index f584cfd..66b48e6 100644
--- a/Source/cmStringCommand.h
+++ b/Source/cmStringCommand.h
@@ -52,136 +52,6 @@ public:
*/
virtual const char* GetName() const { return "string";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "String operations.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " string(REGEX MATCH <regular_expression>\n"
- " <output variable> <input> [<input>...])\n"
- " string(REGEX MATCHALL <regular_expression>\n"
- " <output variable> <input> [<input>...])\n"
- " string(REGEX REPLACE <regular_expression>\n"
- " <replace_expression> <output variable>\n"
- " <input> [<input>...])\n"
- " string(REPLACE <match_string>\n"
- " <replace_string> <output variable>\n"
- " <input> [<input>...])\n"
- " string(<MD5|SHA1|SHA224|SHA256|SHA384|SHA512>\n"
- " <output variable> <input>)\n"
- " string(COMPARE EQUAL <string1> <string2> <output variable>)\n"
- " string(COMPARE NOTEQUAL <string1> <string2> <output variable>)\n"
- " string(COMPARE LESS <string1> <string2> <output variable>)\n"
- " string(COMPARE GREATER <string1> <string2> <output variable>)\n"
- " string(ASCII <number> [<number> ...] <output variable>)\n"
- " string(CONFIGURE <string1> <output variable>\n"
- " [@ONLY] [ESCAPE_QUOTES])\n"
- " string(TOUPPER <string1> <output variable>)\n"
- " string(TOLOWER <string1> <output variable>)\n"
- " string(LENGTH <string> <output variable>)\n"
- " string(SUBSTRING <string> <begin> <length> <output variable>)\n"
- " string(STRIP <string> <output variable>)\n"
- " string(RANDOM [LENGTH <length>] [ALPHABET <alphabet>]\n"
- " [RANDOM_SEED <seed>] <output variable>)\n"
- " string(FIND <string> <substring> <output variable> [REVERSE])\n"
- " string(TIMESTAMP <output variable> [<format string>] [UTC])\n"
- " string(MAKE_C_IDENTIFIER <input string> <output variable>)\n"
- "REGEX MATCH will match the regular expression once and store the "
- "match in the output variable.\n"
- "REGEX MATCHALL will match the regular expression as many times as "
- "possible and store the matches in the output variable as a list.\n"
- "REGEX REPLACE will match the regular expression as many times as "
- "possible and substitute the replacement expression for the match "
- "in the output. The replace expression may refer to paren-delimited "
- "subexpressions of the match using \\1, \\2, ..., \\9. Note that "
- "two backslashes (\\\\1) are required in CMake code to get a "
- "backslash through argument parsing.\n"
- "REPLACE will replace all occurrences of match_string in the input with "
- "replace_string and store the result in the output.\n"
- "MD5, SHA1, SHA224, SHA256, SHA384, and SHA512 "
- "will compute a cryptographic hash of the input string.\n"
- "COMPARE EQUAL/NOTEQUAL/LESS/GREATER will compare the strings and "
- "store true or false in the output variable.\n"
- "ASCII will convert all numbers into corresponding ASCII characters.\n"
- "CONFIGURE will transform a string like CONFIGURE_FILE transforms "
- "a file.\n"
- "TOUPPER/TOLOWER will convert string to upper/lower characters.\n"
- "LENGTH will return a given string's length.\n"
- "SUBSTRING will return a substring of a given string. If length is "
- "-1 the remainder of the string starting at begin will be returned.\n"
- "STRIP will return a substring of a given string with leading "
- "and trailing spaces removed.\n"
- "RANDOM will return a random string of given length consisting of "
- "characters from the given alphabet. Default length is 5 "
- "characters and default alphabet is all numbers and upper and "
- "lower case letters. If an integer RANDOM_SEED is given, its "
- "value will be used to seed the random number generator.\n"
- "FIND will return the position where the given substring was found "
- "in the supplied string. If the REVERSE flag was used, the command "
- "will search for the position of the last occurrence of the "
- "specified substring.\n"
- "The following characters have special meaning in regular expressions:\n"
- " ^ Matches at beginning of input\n"
- " $ Matches at end of input\n"
- " . Matches any single character\n"
- " [ ] Matches any character(s) inside the brackets\n"
- " [^ ] Matches any character(s) not inside the brackets\n"
- " - Inside brackets, specifies an inclusive range between\n"
- " characters on either side e.g. [a-f] is [abcdef]\n"
- " To match a literal - using brackets, make it the first\n"
- " or the last character e.g. [+*/-] matches basic\n"
- " mathematical operators.\n"
- " * Matches preceding pattern zero or more times\n"
- " + Matches preceding pattern one or more times\n"
- " ? Matches preceding pattern zero or once only\n"
- " | Matches a pattern on either side of the |\n"
- " () Saves a matched subexpression, which can be referenced \n"
- " in the REGEX REPLACE operation. Additionally it is saved\n"
- " by all regular expression-related commands, including \n"
- " e.g. if( MATCHES ), in the variables CMAKE_MATCH_(0..9).\n"
- "*, + and ? have higher precedence than concatenation. | has lower "
- "precedence than concatenation. This means that the regular expression "
- "\"^ab+d$\" matches \"abbd\" but not \"ababd\", and the regular "
- "expression \"^(ab|cd)$\" matches \"ab\" but not \"abd\".\n"
- "TIMESTAMP will write a string representation of "
- "the current date and/or time to the output variable.\n"
- "Should the command be unable to obtain a timestamp "
- "the output variable will be set to the empty string \"\".\n"
- "The optional UTC flag requests the current date/time "
- "representation to be in Coordinated Universal Time (UTC) "
- "rather than local time.\n"
- "The optional <format string> may contain the following "
- "format specifiers: \n"
- " %d The day of the current month (01-31).\n"
- " %H The hour on a 24-hour clock (00-23).\n"
- " %I The hour on a 12-hour clock (01-12).\n"
- " %j The day of the current year (001-366).\n"
- " %m The month of the current year (01-12).\n"
- " %M The minute of the current hour (00-59).\n"
- " %S The second of the current minute.\n"
- " 60 represents a leap second. (00-60)\n"
- " %U The week number of the current year (00-53).\n"
- " %w The day of the current week. 0 is Sunday. (0-6)\n"
- " %y The last two digits of the current year (00-99)\n"
- " %Y The current year. \n"
- "Unknown format specifiers will be ignored "
- "and copied to the output as-is.\n"
- "If no explicit <format string> is given it will default to:\n"
- " %Y-%m-%dT%H:%M:%S for local time.\n"
- " %Y-%m-%dT%H:%M:%SZ for UTC.\n"
- "MAKE_C_IDENTIFIER will write a string which can be used as an "
- "identifier in C.";
- }
-
cmTypeMacro(cmStringCommand, cmCommand);
static void ClearMatches(cmMakefile* mf);
static void StoreMatches(cmMakefile* mf, cmsys::RegularExpression& re);
@@ -199,6 +69,7 @@ protected:
bool HandleReplaceCommand(std::vector<std::string> const& args);
bool HandleLengthCommand(std::vector<std::string> const& args);
bool HandleSubstringCommand(std::vector<std::string> const& args);
+ bool HandleConcatCommand(std::vector<std::string> const& args);
bool HandleStripCommand(std::vector<std::string> const& args);
bool HandleRandomCommand(std::vector<std::string> const& args);
bool HandleFindCommand(std::vector<std::string> const& args);
diff --git a/Source/cmSubdirCommand.h b/Source/cmSubdirCommand.h
index 618d5ff..8be8335 100644
--- a/Source/cmSubdirCommand.h
+++ b/Source/cmSubdirCommand.h
@@ -44,40 +44,6 @@ public:
*/
virtual const char* GetName() const { return "subdirs";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Deprecated. Use the add_subdirectory() command instead.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- "Add a list of subdirectories to the build.\n"
- " subdirs(dir1 dir2 ..."
- "[EXCLUDE_FROM_ALL exclude_dir1 exclude_dir2 ...]\n"
- " [PREORDER] )\n"
- "Add a list of subdirectories to the build. The add_subdirectory "
- "command should be used instead of subdirs although subdirs will "
- "still work. "
- "This will cause any CMakeLists.txt files in the sub directories "
- "to be processed by CMake. Any directories after the PREORDER flag "
- "are traversed first by makefile builds, the PREORDER flag has no "
- "effect on IDE projects. "
- " Any directories after the EXCLUDE_FROM_ALL marker "
- "will not be included in the top level makefile or project file. "
- "This is useful for having CMake create makefiles or projects for "
- "a set of examples in a project. You would want CMake to "
- "generate makefiles or project files for all the examples at "
- "the same time, but you would not want them to show up in the "
- "top level project or be built each time make is run from the top.";
- }
-
/** This command is kept for compatibility with older CMake versions. */
virtual bool IsDiscouraged() const
{
diff --git a/Source/cmSubdirDependsCommand.cxx b/Source/cmSubdirDependsCommand.cxx
index 2af7bf1..9381983 100644
--- a/Source/cmSubdirDependsCommand.cxx
+++ b/Source/cmSubdirDependsCommand.cxx
@@ -11,10 +11,10 @@
============================================================================*/
#include "cmSubdirDependsCommand.h"
-// cmSubdirDependsCommand
bool cmSubdirDependsCommand::InitialPass(std::vector<std::string> const& ,
cmExecutionStatus &)
{
+ this->Disallowed(cmPolicies::CMP0029,
+ "The subdir_depends command should not be called; see CMP0029.");
return true;
}
-
diff --git a/Source/cmSubdirDependsCommand.h b/Source/cmSubdirDependsCommand.h
index b274d01..f78cfb7 100644
--- a/Source/cmSubdirDependsCommand.h
+++ b/Source/cmSubdirDependsCommand.h
@@ -14,64 +14,15 @@
#include "cmCommand.h"
-/** \class cmSubdirDependsCommand
- * \brief Legacy command. Do not use.
- *
- * cmSubdirDependsCommand has been left in CMake for compatability with
- * projects already using it. Its functionality in supporting parallel
- * builds is now automatic. The command does not do anything.
- */
class cmSubdirDependsCommand : public cmCommand
{
public:
- /**
- * This is a virtual constructor for the command.
- */
- virtual cmCommand* Clone()
- {
- return new cmSubdirDependsCommand;
- }
-
- /**
- * This is called when the command is first encountered in
- * the CMakeLists.txt file.
- */
+ virtual cmCommand* Clone() { return new cmSubdirDependsCommand; }
virtual bool InitialPass(std::vector<std::string> const& args,
cmExecutionStatus &status);
-
- /**
- * The name of the command as specified in CMakeList.txt.
- */
virtual const char* GetName() const { return "subdir_depends";}
-
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Deprecated. Does nothing.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " subdir_depends(subdir dep1 dep2 ...)\n"
- "Does not do anything. This command used to help projects order "
- "parallel builds correctly. This functionality is now automatic.";
- }
-
- /** This command is kept for compatibility with older CMake versions. */
- virtual bool IsDiscouraged() const
- {
- return true;
- }
-
+ virtual bool IsDiscouraged() const { return true; }
cmTypeMacro(cmSubdirDependsCommand, cmCommand);
};
-
-
#endif
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 9ec4938..ff05975 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -25,12 +25,14 @@
#include <cmsys/RegularExpression.hxx>
#include <cmsys/Directory.hxx>
#include <cmsys/System.h>
+#include <cmsys/Encoding.hxx>
#if defined(CMAKE_BUILD_WITH_CMAKE)
# include "cmArchiveWrite.h"
# include <cm_libarchive.h>
# include <cmsys/Terminal.h>
#endif
#include <cmsys/stl/algorithm>
+#include <cmsys/FStream.hxx>
#if defined(_WIN32)
# include <windows.h>
@@ -43,6 +45,10 @@
# include <sys/wait.h>
#endif
+#if defined(__APPLE__)
+# include <mach-o/dyld.h>
+#endif
+
#include <sys/stat.h>
#if defined(_WIN32) && \
@@ -115,19 +121,6 @@ bool cmSystemTools::s_FatalErrorOccured = false;
bool cmSystemTools::s_DisableMessages = false;
bool cmSystemTools::s_ForceUnixPaths = false;
-std::string cmSystemTools::s_Windows9xComspecSubstitute = "command.com";
-void cmSystemTools::SetWindows9xComspecSubstitute(const char* str)
-{
- if ( str )
- {
- cmSystemTools::s_Windows9xComspecSubstitute = str;
- }
-}
-const char* cmSystemTools::GetWindows9xComspecSubstitute()
-{
- return cmSystemTools::s_Windows9xComspecSubstitute.c_str();
-}
-
void (*cmSystemTools::s_ErrorCallback)(const char*, const char*,
bool&, void*);
void (*cmSystemTools::s_StdoutCallback)(const char*, int len, void*);
@@ -200,6 +193,13 @@ std::string cmSystemTools::EscapeQuotes(const char* str)
return result;
}
+std::string cmSystemTools::HelpFileName(std::string name)
+{
+ cmSystemTools::ReplaceString(name, "<", "");
+ cmSystemTools::ReplaceString(name, ">", "");
+ return name;
+}
+
std::string cmSystemTools::TrimWhitespace(const std::string& s)
{
std::string::const_iterator start = s.begin();
@@ -360,18 +360,11 @@ bool cmSystemTools::IsOn(const char* val)
bool cmSystemTools::IsNOTFOUND(const char* val)
{
- size_t len = strlen(val);
- const char* notfound = "-NOTFOUND";
- const size_t lenNotFound = 9;
- if(len < lenNotFound-1)
+ if(strcmp(val, "NOTFOUND") == 0)
{
- return false;
- }
- if(len == lenNotFound-1)
- {
- return ( strcmp(val, "NOTFOUND") == 0);
+ return true;
}
- return ((strncmp((val + (len - lenNotFound)), notfound, lenNotFound) == 0));
+ return cmHasLiteralSuffix(val, "-NOTFOUND");
}
@@ -618,8 +611,24 @@ bool cmSystemTools::RunSingleCommand(std::vector<cmStdString>const& command,
OutputOption outputflag ,
double timeout )
{
+ std::vector<std::string> cmd;
+ for(std::vector<cmStdString>::const_iterator i = command.begin();
+ i != command.end(); ++i)
+ {
+ cmd.push_back(*i);
+ }
+ return cmSystemTools::RunSingleCommand(cmd, output, retVal, dir,
+ outputflag, timeout);
+}
+
+bool cmSystemTools::RunSingleCommand(std::vector<std::string>const& command,
+ std::string* output ,
+ int* retVal , const char* dir ,
+ OutputOption outputflag ,
+ double timeout )
+{
std::vector<const char*> argv;
- for(std::vector<cmStdString>::const_iterator a = command.begin();
+ for(std::vector<std::string>::const_iterator a = command.begin();
a != command.end(); ++a)
{
argv.push_back(a->c_str());
@@ -780,350 +789,22 @@ bool cmSystemTools::RunSingleCommand(
return cmSystemTools::RunSingleCommand(args, output,retVal,
dir, outputflag, timeout);
}
-bool cmSystemTools::RunCommand(const char* command,
- std::string& output,
- const char* dir,
- bool verbose,
- int timeout)
-{
- int dummy;
- return cmSystemTools::RunCommand(command, output, dummy,
- dir, verbose, timeout);
-}
-
-#if defined(WIN32) && !defined(__CYGWIN__)
-#include "cmWin32ProcessExecution.h"
-// use this for shell commands like echo and dir
-bool RunCommandViaWin32(const char* command,
- const char* dir,
- std::string& output,
- int& retVal,
- bool verbose,
- int timeout)
-{
-#if defined(__BORLANDC__)
- return
- cmWin32ProcessExecution::
- BorlandRunCommand(command, dir, output,
- retVal,
- verbose, timeout,
- cmSystemTools::GetRunCommandHideConsole());
-#else // Visual studio
- ::SetLastError(ERROR_SUCCESS);
- if ( ! command )
- {
- cmSystemTools::Error("No command specified");
- return false;
- }
- cmWin32ProcessExecution resProc;
- if(cmSystemTools::GetRunCommandHideConsole())
- {
- resProc.SetHideWindows(true);
- }
-
- if ( cmSystemTools::GetWindows9xComspecSubstitute() )
- {
- resProc.SetConsoleSpawn(cmSystemTools::GetWindows9xComspecSubstitute() );
- }
- if ( !resProc.StartProcess(command, dir, verbose) )
- {
- output = resProc.GetOutput();
- if(verbose)
- {
- cmSystemTools::Stdout(output.c_str());
- }
- return false;
- }
- resProc.Wait(timeout);
- output = resProc.GetOutput();
- retVal = resProc.GetExitValue();
- return true;
-#endif
-}
-
-// use this for shell commands like echo and dir
-bool RunCommandViaSystem(const char* command,
- const char* dir,
- std::string& output,
- int& retVal,
- bool verbose)
-{
- std::cout << "@@ " << command << std::endl;
-
- std::string commandInDir;
- if(dir)
- {
- commandInDir = "cd ";
- commandInDir += cmSystemTools::ConvertToOutputPath(dir);
- commandInDir += " && ";
- commandInDir += command;
- }
- else
- {
- commandInDir = command;
- }
- command = commandInDir.c_str();
- std::string commandToFile = command;
- commandToFile += " > ";
- std::string tempFile;
- tempFile += _tempnam(0, "cmake");
-
- commandToFile += tempFile;
- retVal = system(commandToFile.c_str());
- std::ifstream fin(tempFile.c_str());
- if(!fin)
- {
- if(verbose)
- {
- std::string errormsg = "RunCommand produced no output: command: \"";
- errormsg += command;
- errormsg += "\"";
- errormsg += "\nOutput file: ";
- errormsg += tempFile;
- cmSystemTools::Error(errormsg.c_str());
- }
- fin.close();
- cmSystemTools::RemoveFile(tempFile.c_str());
- return false;
- }
- bool multiLine = false;
- std::string line;
- while(cmSystemTools::GetLineFromStream(fin, line))
- {
- output += line;
- if(multiLine)
- {
- output += "\n";
- }
- multiLine = true;
- }
- fin.close();
- cmSystemTools::RemoveFile(tempFile.c_str());
- return true;
-}
-
-#else // We have popen
-
-// BeOS seems to return from a successful pclose() before the process has
-// legitimately exited, or at least before SIGCHLD is thrown...the signal may
-// come quite some time after pclose returns! This causes havoc with later
-// parts of CMake that expect to catch the signal from other child processes,
-// so we explicitly wait to catch it here. This should be safe to do with
-// popen() so long as we don't actually collect the zombie process ourselves.
-#ifdef __BEOS__
-#include <signal.h>
-#undef SIGBUS // this is the same as SIGSEGV on BeOS and causes issues below.
-static volatile bool beos_seen_signal = false;
-static void beos_popen_workaround(int sig)
-{
- beos_seen_signal = true;
-}
-#endif
-bool RunCommandViaPopen(const char* command,
- const char* dir,
- std::string& output,
- int& retVal,
- bool verbose,
- int /*timeout*/)
+std::string
+cmSystemTools::PrintSingleCommand(std::vector<std::string> const& command)
{
- // if only popen worked on windows.....
- std::string commandInDir;
- if(dir)
- {
- commandInDir = "cd \"";
- commandInDir += dir;
- commandInDir += "\" && ";
- commandInDir += command;
- }
- else
- {
- commandInDir = command;
- }
-#ifndef __VMS
- commandInDir += " 2>&1";
-#endif
- command = commandInDir.c_str();
- const int BUFFER_SIZE = 4096;
- char buffer[BUFFER_SIZE];
- if(verbose)
- {
- cmSystemTools::Stdout("running ");
- cmSystemTools::Stdout(command);
- cmSystemTools::Stdout("\n");
- }
- fflush(stdout);
- fflush(stderr);
-
-#ifdef __BEOS__
- beos_seen_signal = false;
- signal(SIGCHLD, beos_popen_workaround);
-#endif
-
- FILE* cpipe = popen(command, "r");
- if(!cpipe)
- {
-#ifdef __BEOS__
- signal(SIGCHLD, SIG_DFL);
-#endif
- return false;
- }
- if (!fgets(buffer, BUFFER_SIZE, cpipe))
- {
- buffer[0] = 0;
- }
- while(!feof(cpipe))
- {
- if(verbose)
- {
- cmSystemTools::Stdout(buffer);
- }
- output += buffer;
- if(!fgets(buffer, BUFFER_SIZE, cpipe))
- {
- buffer[0] = 0;
- }
- }
-
- retVal = pclose(cpipe);
-
-#ifdef __BEOS__
- for (int i = 0; (!beos_seen_signal) && (i < 3); i++)
- {
- ::sleep(1); // signals should interrupt this...
- }
-
- if (!beos_seen_signal)
- {
- signal(SIGCHLD, SIG_DFL); // oh well, didn't happen. Go on anyhow.
- }
-#endif
-
- if (WIFEXITED(retVal))
+ std::string commandStr;
+ const char* sep = "";
+ for(std::vector<std::string>::const_iterator i = command.begin();
+ i != command.end(); ++i)
{
- retVal = WEXITSTATUS(retVal);
- return true;
+ commandStr += sep;
+ commandStr += "\"";
+ commandStr += *i;
+ commandStr += "\"";
+ sep = " ";
}
- if (WIFSIGNALED(retVal))
- {
- retVal = WTERMSIG(retVal);
- cmOStringStream error;
- error << "\nProcess terminated due to ";
- switch (retVal)
- {
-#ifdef SIGKILL
- case SIGKILL:
- error << "SIGKILL";
- break;
-#endif
-#ifdef SIGFPE
- case SIGFPE:
- error << "SIGFPE";
- break;
-#endif
-#ifndef __HAIKU__
-#ifdef SIGBUS
- case SIGBUS:
- error << "SIGBUS";
- break;
-#endif
-#endif
-#ifdef SIGSEGV
- case SIGSEGV:
- error << "SIGSEGV";
- break;
-#endif
- default:
- error << "signal " << retVal;
- break;
- }
- output += error.str();
- }
- return false;
-}
-
-#endif // endif WIN32 not CYGWIN
-
-
-// run a command unix uses popen (easy)
-// windows uses system and ShortPath
-bool cmSystemTools::RunCommand(const char* command,
- std::string& output,
- int &retVal,
- const char* dir,
- bool verbose,
- int timeout)
-{
- if(s_DisableRunCommandOutput)
- {
- verbose = false;
- }
-
-#if defined(WIN32) && !defined(__CYGWIN__)
- // if the command does not start with a quote, then
- // try to find the program, and if the program can not be
- // found use system to run the command as it must be a built in
- // shell command like echo or dir
- int count = 0;
- if(command[0] == '\"')
- {
- // count the number of quotes
- for(const char* s = command; *s != 0; ++s)
- {
- if(*s == '\"')
- {
- count++;
- if(count > 2)
- {
- break;
- }
- }
- }
- // if there are more than two double quotes use
- // GetShortPathName, the cmd.exe program in windows which
- // is used by system fails to execute if there are more than
- // one set of quotes in the arguments
- if(count > 2)
- {
- cmsys::RegularExpression quoted("^\"([^\"]*)\"[ \t](.*)");
- if(quoted.find(command))
- {
- std::string shortCmd;
- std::string cmd = quoted.match(1);
- std::string args = quoted.match(2);
- if(! cmSystemTools::FileExists(cmd.c_str()) )
- {
- shortCmd = cmd;
- }
- else if(!cmSystemTools::GetShortPath(cmd.c_str(), shortCmd))
- {
- cmSystemTools::Error("GetShortPath failed for " , cmd.c_str());
- return false;
- }
- shortCmd += " ";
- shortCmd += args;
-
- //return RunCommandViaSystem(shortCmd.c_str(), dir,
- // output, retVal, verbose);
- //return WindowsRunCommand(shortCmd.c_str(), dir,
- //output, retVal, verbose);
- return RunCommandViaWin32(shortCmd.c_str(), dir,
- output, retVal, verbose, timeout);
- }
- else
- {
- cmSystemTools::Error("Could not parse command line with quotes ",
- command);
- }
- }
- }
- // if there is only one set of quotes or no quotes then just run the command
- //return RunCommandViaSystem(command, dir, output, retVal, verbose);
- //return WindowsRunCommand(command, dir, output, retVal, verbose);
- return ::RunCommandViaWin32(command, dir, output, retVal, verbose, timeout);
-#else
- return ::RunCommandViaPopen(command, dir, output, retVal, verbose, timeout);
-#endif
+ return commandStr;
}
bool cmSystemTools::DoesFileExistWithExtensions(
@@ -1183,6 +864,44 @@ bool cmSystemTools::CopyFileIfDifferent(const char* source,
}
//----------------------------------------------------------------------------
+#ifdef _WIN32
+cmSystemTools::WindowsFileRetry cmSystemTools::GetWindowsFileRetry()
+{
+ static WindowsFileRetry retry = {0,0};
+ if(!retry.Count)
+ {
+ unsigned int data[2] = {0,0};
+ HKEY const keys[2] = {HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE};
+ wchar_t const* const values[2] = {L"FilesystemRetryCount",
+ L"FilesystemRetryDelay"};
+ for(int k=0; k < 2; ++k)
+ {
+ HKEY hKey;
+ if(RegOpenKeyExW(keys[k], L"Software\\Kitware\\CMake\\Config",
+ 0, KEY_QUERY_VALUE, &hKey) == ERROR_SUCCESS)
+ {
+ for(int v=0; v < 2; ++v)
+ {
+ DWORD dwData, dwType, dwSize = 4;
+ if(!data[v] &&
+ RegQueryValueExW(hKey, values[v], 0, &dwType, (BYTE *)&dwData,
+ &dwSize) == ERROR_SUCCESS &&
+ dwType == REG_DWORD && dwSize == 4)
+ {
+ data[v] = static_cast<unsigned int>(dwData);
+ }
+ }
+ RegCloseKey(hKey);
+ }
+ }
+ retry.Count = data[0]? data[0] : 5;
+ retry.Delay = data[1]? data[1] : 500;
+ }
+ return retry;
+}
+#endif
+
+//----------------------------------------------------------------------------
bool cmSystemTools::RenameFile(const char* oldname, const char* newname)
{
#ifdef _WIN32
@@ -1193,28 +912,32 @@ bool cmSystemTools::RenameFile(const char* oldname, const char* newname)
fails then remove the read-only attribute from any existing destination.
Try multiple times since we may be racing against another process
creating/opening the destination file just before our MoveFileEx. */
- int tries = 5;
- while(!MoveFileEx(oldname, newname, MOVEFILE_REPLACE_EXISTING) && --tries)
+ WindowsFileRetry retry = cmSystemTools::GetWindowsFileRetry();
+ while(!MoveFileExW(cmsys::Encoding::ToWide(oldname).c_str(),
+ cmsys::Encoding::ToWide(newname).c_str(),
+ MOVEFILE_REPLACE_EXISTING) && --retry.Count)
{
// Try again only if failure was due to access permissions.
if(GetLastError() != ERROR_ACCESS_DENIED)
{
return false;
}
- DWORD attrs = GetFileAttributes(newname);
+ DWORD attrs =
+ GetFileAttributesW(cmsys::Encoding::ToWide(newname).c_str());
if((attrs != INVALID_FILE_ATTRIBUTES) &&
(attrs & FILE_ATTRIBUTE_READONLY))
{
// Remove the read-only attribute from the destination file.
- SetFileAttributes(newname, attrs & ~FILE_ATTRIBUTE_READONLY);
+ SetFileAttributesW(cmsys::Encoding::ToWide(newname).c_str(),
+ attrs & ~FILE_ATTRIBUTE_READONLY);
}
else
{
// The file may be temporarily in use so wait a bit.
- cmSystemTools::Delay(100);
+ cmSystemTools::Delay(retry.Delay);
}
}
- return tries > 0;
+ return retry.Count > 0;
#else
/* On UNIX we have an OS-provided call to do this atomically. */
return rename(oldname, newname) == 0;
@@ -1741,7 +1464,7 @@ bool cmSystemTools::CreateTar(const char* outFileName,
{
#if defined(CMAKE_BUILD_WITH_CMAKE)
std::string cwd = cmSystemTools::GetCurrentWorkingDirectory();
- std::ofstream fout(outFileName, std::ios::out | cmsys_ios_binary);
+ cmsys::ofstream fout(outFileName, std::ios::out | cmsys_ios_binary);
if(!fout)
{
std::string e = "Cannot open output file \"";
@@ -1970,18 +1693,23 @@ bool extract_tar(const char* outFileName, bool verbose,
archive_error_string(a));
break;
}
- if (verbose && extract)
- {
- cmSystemTools::Stdout("x ");
- cmSystemTools::Stdout(archive_entry_pathname(entry));
- }
- if(verbose && !extract)
+ if(verbose)
{
- list_item_verbose(stdout, entry);
+ if(extract)
+ {
+ cmSystemTools::Stdout("x ");
+ cmSystemTools::Stdout(archive_entry_pathname(entry));
+ }
+ else
+ {
+ list_item_verbose(stdout, entry);
+ }
+ cmSystemTools::Stdout("\n");
}
else if(!extract)
{
cmSystemTools::Stdout(archive_entry_pathname(entry));
+ cmSystemTools::Stdout("\n");
}
if(extract)
{
@@ -1995,15 +1723,7 @@ bool extract_tar(const char* outFileName, bool verbose,
}
r = archive_write_header(ext, entry);
- if (r != ARCHIVE_OK)
- {
- cmSystemTools::Error("Problem with archive_write_header(): ",
- archive_error_string(ext));
- cmSystemTools::Error("Current file: ",
- archive_entry_pathname(entry));
- break;
- }
- else
+ if (r == ARCHIVE_OK)
{
copy_data(a, ext);
r = archive_write_finish_entry(ext);
@@ -2014,10 +1734,22 @@ bool extract_tar(const char* outFileName, bool verbose,
break;
}
}
- }
- if (verbose || !extract)
- {
- cmSystemTools::Stdout("\n");
+#ifdef _WIN32
+ else if(const char* linktext = archive_entry_symlink(entry))
+ {
+ std::cerr << "cmake -E tar: warning: skipping symbolic link \""
+ << archive_entry_pathname(entry) << "\" -> \""
+ << linktext << "\"." << std::endl;
+ }
+#endif
+ else
+ {
+ cmSystemTools::Error("Problem with archive_write_header(): ",
+ archive_error_string(ext));
+ cmSystemTools::Error("Current file: ",
+ archive_entry_pathname(entry));
+ break;
+ }
}
}
archive_read_close(a);
@@ -2189,10 +1921,12 @@ bool cmSystemTools::CopyFileTime(const char* fromFile, const char* toFile)
{
#if defined(_WIN32) && !defined(__CYGWIN__)
cmSystemToolsWindowsHandle hFrom =
- CreateFile(fromFile, GENERIC_READ, FILE_SHARE_READ, 0,
- OPEN_EXISTING, 0, 0);
+ CreateFileW(cmsys::Encoding::ToWide(fromFile).c_str(),
+ GENERIC_READ, FILE_SHARE_READ, 0,
+ OPEN_EXISTING, 0, 0);
cmSystemToolsWindowsHandle hTo =
- CreateFile(toFile, GENERIC_WRITE, 0, 0, OPEN_EXISTING, 0, 0);
+ CreateFileW(cmsys::Encoding::ToWide(toFile).c_str(),
+ GENERIC_WRITE, 0, 0, OPEN_EXISTING, 0, 0);
if(!hFrom || !hTo)
{
return false;
@@ -2243,7 +1977,8 @@ bool cmSystemTools::FileTimeGet(const char* fname, cmSystemToolsFileTime* t)
{
#if defined(_WIN32) && !defined(__CYGWIN__)
cmSystemToolsWindowsHandle h =
- CreateFile(fname, GENERIC_READ, FILE_SHARE_READ, 0, OPEN_EXISTING, 0, 0);
+ CreateFileW(cmsys::Encoding::ToWide(fname).c_str(),
+ GENERIC_READ, FILE_SHARE_READ, 0, OPEN_EXISTING, 0, 0);
if(!h)
{
return false;
@@ -2269,7 +2004,8 @@ bool cmSystemTools::FileTimeSet(const char* fname, cmSystemToolsFileTime* t)
{
#if defined(_WIN32) && !defined(__CYGWIN__)
cmSystemToolsWindowsHandle h =
- CreateFile(fname, GENERIC_WRITE, 0, 0, OPEN_EXISTING, 0, 0);
+ CreateFileW(cmsys::Encoding::ToWide(fname).c_str(),
+ GENERIC_WRITE, 0, 0, OPEN_EXISTING, 0, 0);
if(!h)
{
return false;
@@ -2333,7 +2069,7 @@ unsigned int cmSystemTools::RandomSeed()
} seed;
// Try using a real random source.
- std::ifstream fin("/dev/urandom");
+ cmsys::ifstream fin("/dev/urandom");
if(fin && fin.read(seed.bytes, sizeof(seed)) &&
fin.gcount() == sizeof(seed))
{
@@ -2353,16 +2089,60 @@ unsigned int cmSystemTools::RandomSeed()
}
//----------------------------------------------------------------------------
-static std::string cmSystemToolsExecutableDirectory;
-void cmSystemTools::FindExecutableDirectory(const char* argv0)
-{
+static std::string cmSystemToolsCMakeCommand;
+static std::string cmSystemToolsCTestCommand;
+static std::string cmSystemToolsCPackCommand;
+static std::string cmSystemToolsCMakeCursesCommand;
+static std::string cmSystemToolsCMakeGUICommand;
+static std::string cmSystemToolsCMakeRoot;
+void cmSystemTools::FindCMakeResources(const char* argv0)
+{
+ std::string exe_dir;
#if defined(_WIN32) && !defined(__CYGWIN__)
(void)argv0; // ignore this on windows
- char modulepath[_MAX_PATH];
- ::GetModuleFileName(NULL, modulepath, sizeof(modulepath));
- cmSystemToolsExecutableDirectory =
- cmSystemTools::GetFilenamePath(modulepath);
- return;
+ wchar_t modulepath[_MAX_PATH];
+ ::GetModuleFileNameW(NULL, modulepath, sizeof(modulepath));
+ exe_dir =
+ cmSystemTools::GetFilenamePath(cmsys::Encoding::ToNarrow(modulepath));
+#elif defined(__APPLE__)
+ (void)argv0; // ignore this on OS X
+# define CM_EXE_PATH_LOCAL_SIZE 16384
+ char exe_path_local[CM_EXE_PATH_LOCAL_SIZE];
+# if defined(MAC_OS_X_VERSION_10_3) && !defined(MAC_OS_X_VERSION_10_4)
+ unsigned long exe_path_size = CM_EXE_PATH_LOCAL_SIZE;
+# else
+ uint32_t exe_path_size = CM_EXE_PATH_LOCAL_SIZE;
+# endif
+# undef CM_EXE_PATH_LOCAL_SIZE
+ char* exe_path = exe_path_local;
+ if(_NSGetExecutablePath(exe_path, &exe_path_size) < 0)
+ {
+ exe_path = (char*)malloc(exe_path_size);
+ _NSGetExecutablePath(exe_path, &exe_path_size);
+ }
+ exe_dir =
+ cmSystemTools::GetFilenamePath(
+ cmSystemTools::GetRealPath(exe_path));
+ if(exe_path != exe_path_local)
+ {
+ free(exe_path);
+ }
+ if(cmSystemTools::GetFilenameName(exe_dir) == "MacOS")
+ {
+ // The executable is inside an application bundle.
+ // Look for ../bin (install tree) and then fall back to
+ // ../../../bin (build tree).
+ exe_dir = cmSystemTools::GetFilenamePath(exe_dir);
+ if(cmSystemTools::FileExists((exe_dir+"/bin/cmake").c_str()))
+ {
+ exe_dir += "/bin";
+ }
+ else
+ {
+ exe_dir = cmSystemTools::GetFilenamePath(exe_dir);
+ exe_dir = cmSystemTools::GetFilenamePath(exe_dir);
+ }
+ }
#else
std::string errorMsg;
std::string exe;
@@ -2370,7 +2150,7 @@ void cmSystemTools::FindExecutableDirectory(const char* argv0)
{
// remove symlinks
exe = cmSystemTools::GetRealPath(exe.c_str());
- cmSystemToolsExecutableDirectory =
+ exe_dir =
cmSystemTools::GetFilenamePath(exe.c_str());
}
else
@@ -2378,12 +2158,99 @@ void cmSystemTools::FindExecutableDirectory(const char* argv0)
// ???
}
#endif
+ cmSystemToolsCMakeCommand = exe_dir;
+ cmSystemToolsCMakeCommand += "/cmake";
+ cmSystemToolsCMakeCommand += cmSystemTools::GetExecutableExtension();
+ cmSystemToolsCTestCommand = exe_dir;
+ cmSystemToolsCTestCommand += "/ctest";
+ cmSystemToolsCTestCommand += cmSystemTools::GetExecutableExtension();
+ cmSystemToolsCPackCommand = exe_dir;
+ cmSystemToolsCPackCommand += "/cpack";
+ cmSystemToolsCPackCommand += cmSystemTools::GetExecutableExtension();
+ cmSystemToolsCMakeGUICommand = exe_dir;
+ cmSystemToolsCMakeGUICommand += "/cmake-gui";
+ cmSystemToolsCMakeGUICommand += cmSystemTools::GetExecutableExtension();
+ if(!cmSystemTools::FileExists(cmSystemToolsCMakeGUICommand.c_str()))
+ {
+ cmSystemToolsCMakeGUICommand = "";
+ }
+ cmSystemToolsCMakeCursesCommand = exe_dir;
+ cmSystemToolsCMakeCursesCommand += "/ccmake";
+ cmSystemToolsCMakeCursesCommand += cmSystemTools::GetExecutableExtension();
+ if(!cmSystemTools::FileExists(cmSystemToolsCMakeCursesCommand.c_str()))
+ {
+ cmSystemToolsCMakeCursesCommand = "";
+ }
+
+#ifdef CMAKE_BUILD_WITH_CMAKE
+ // Install tree has "<prefix>/bin/cmake" and "<prefix><CMAKE_DATA_DIR>".
+ std::string dir = cmSystemTools::GetFilenamePath(exe_dir);
+ cmSystemToolsCMakeRoot = dir + CMAKE_DATA_DIR;
+ if(!cmSystemTools::FileExists(
+ (cmSystemToolsCMakeRoot+"/Modules/CMake.cmake").c_str()))
+ {
+ // Build tree has "<build>/bin[/<config>]/cmake" and
+ // "<build>/CMakeFiles/CMakeSourceDir.txt".
+ std::string src_dir_txt = dir + "/CMakeFiles/CMakeSourceDir.txt";
+ cmsys::ifstream fin(src_dir_txt.c_str());
+ std::string src_dir;
+ if(fin && cmSystemTools::GetLineFromStream(fin, src_dir) &&
+ cmSystemTools::FileIsDirectory(src_dir.c_str()))
+ {
+ cmSystemToolsCMakeRoot = src_dir;
+ }
+ else
+ {
+ dir = cmSystemTools::GetFilenamePath(dir);
+ src_dir_txt = dir + "/CMakeFiles/CMakeSourceDir.txt";
+ cmsys::ifstream fin2(src_dir_txt.c_str());
+ if(fin2 && cmSystemTools::GetLineFromStream(fin2, src_dir) &&
+ cmSystemTools::FileIsDirectory(src_dir.c_str()))
+ {
+ cmSystemToolsCMakeRoot = src_dir;
+ }
+ }
+ }
+#else
+ // Bootstrap build knows its source.
+ cmSystemToolsCMakeRoot = CMAKE_ROOT_DIR;
+#endif
+}
+
+//----------------------------------------------------------------------------
+std::string const& cmSystemTools::GetCMakeCommand()
+{
+ return cmSystemToolsCMakeCommand;
+}
+
+//----------------------------------------------------------------------------
+std::string const& cmSystemTools::GetCTestCommand()
+{
+ return cmSystemToolsCTestCommand;
+}
+
+//----------------------------------------------------------------------------
+std::string const& cmSystemTools::GetCPackCommand()
+{
+ return cmSystemToolsCPackCommand;
+}
+
+//----------------------------------------------------------------------------
+std::string const& cmSystemTools::GetCMakeCursesCommand()
+{
+ return cmSystemToolsCMakeCursesCommand;
+}
+
+//----------------------------------------------------------------------------
+std::string const& cmSystemTools::GetCMakeGUICommand()
+{
+ return cmSystemToolsCMakeGUICommand;
}
//----------------------------------------------------------------------------
-const char* cmSystemTools::GetExecutableDirectory()
+std::string const& cmSystemTools::GetCMakeRoot()
{
- return cmSystemToolsExecutableDirectory.c_str();
+ return cmSystemToolsCMakeRoot;
}
//----------------------------------------------------------------------------
@@ -2671,7 +2538,7 @@ bool cmSystemTools::ChangeRPath(std::string const& file,
{
// Open the file for update.
- std::ofstream f(file.c_str(),
+ cmsys::ofstream f(file.c_str(),
std::ios::in | std::ios::out | std::ios::binary);
if(!f)
{
@@ -2869,7 +2736,7 @@ bool cmSystemTools::RemoveRPath(std::string const& file, std::string* emsg,
}
// Open the file for update.
- std::ofstream f(file.c_str(),
+ cmsys::ofstream f(file.c_str(),
std::ios::in | std::ios::out | std::ios::binary);
if(!f)
{
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index 9d7dae9..4a5d298 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -49,6 +49,9 @@ public:
///! Escape quotes in a string.
static std::string EscapeQuotes(const char* str);
+ /** Map help document name to file name. */
+ static std::string HelpFileName(std::string);
+
/**
* Returns a string that has whitespace removed from the start and the end.
*/
@@ -188,23 +191,6 @@ public:
static std::string ComputeStringMD5(const char* input);
/**
- * Run an executable command and put the stdout in output.
- * A temporary file is created in the binaryDir for storing the
- * output because windows does not have popen.
- *
- * If verbose is false, no user-viewable output from the program
- * being run will be generated.
- *
- * If timeout is specified, the command will be terminated after
- * timeout expires.
- */
- static bool RunCommand(const char* command, std::string& output,
- const char* directory = 0,
- bool verbose = true, int timeout = 0);
- static bool RunCommand(const char* command, std::string& output,
- int &retVal, const char* directory = 0,
- bool verbose = true, int timeout = 0);
- /**
* Run a single executable command
*
* Output is controlled with outputflag. If outputflag is OUTPUT_NONE, no
@@ -242,12 +228,19 @@ public:
* the command to run, and each argument to the command should
* be in comand[1]...command[command.size()]
*/
+ static bool RunSingleCommand(std::vector<std::string> const& command,
+ std::string* output = 0,
+ int* retVal = 0, const char* dir = 0,
+ OutputOption outputflag = OUTPUT_MERGE,
+ double timeout = 0.0);
static bool RunSingleCommand(std::vector<cmStdString> const& command,
std::string* output = 0,
int* retVal = 0, const char* dir = 0,
OutputOption outputflag = OUTPUT_MERGE,
double timeout = 0.0);
+ static std::string PrintSingleCommand(std::vector<std::string> const&);
+
/**
* Parse arguments out of a single string command
*/
@@ -309,14 +302,6 @@ public:
*/
static FileFormat GetFileFormat(const char* ext);
- /**
- * On Windows 9x we need a comspec (command.com) substitute to run
- * programs correctly. This string has to be constant available
- * through the running of program. This method does not create a copy.
- */
- static void SetWindows9xComspecSubstitute(const char*);
- static const char* GetWindows9xComspecSubstitute();
-
/** Windows if this is true, the CreateProcess in RunCommand will
* not show new consol windows when running programs.
*/
@@ -428,13 +413,16 @@ public:
/** Random seed generation. */
static unsigned int RandomSeed();
- /** Find the directory containing the running executable. Save it
- in a global location to be queried by GetExecutableDirectory
- later. */
- static void FindExecutableDirectory(const char* argv0);
+ /** Find the directory containing CMake executables. */
+ static void FindCMakeResources(const char* argv0);
- /** Get the directory containing the currently running executable. */
- static const char* GetExecutableDirectory();
+ /** Get the CMake resource paths, after FindCMakeResources. */
+ static std::string const& GetCTestCommand();
+ static std::string const& GetCPackCommand();
+ static std::string const& GetCMakeCommand();
+ static std::string const& GetCMakeGUICommand();
+ static std::string const& GetCMakeCursesCommand();
+ static std::string const& GetCMakeRoot();
#if defined(CMAKE_BUILD_WITH_CMAKE)
/** Echo a message in color using KWSys's Terminal cprintf. */
@@ -472,6 +460,15 @@ public:
/** Tokenize a string */
static std::vector<std::string> tokenize(const std::string& str,
const std::string& sep);
+
+#ifdef _WIN32
+ struct WindowsFileRetry
+ {
+ unsigned int Count;
+ unsigned int Delay;
+ };
+ static WindowsFileRetry GetWindowsFileRetry();
+#endif
private:
static bool s_ForceUnixPaths;
static bool s_RunCommandHideConsole;
@@ -485,8 +482,6 @@ private:
static void* s_ErrorCallbackClientData;
static void* s_StdoutCallbackClientData;
static void* s_InterruptCallbackClientData;
-
- static std::string s_Windows9xComspecSubstitute;
};
#endif
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 4ba6c19..e2a568b 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -16,18 +16,15 @@
#include "cmLocalGenerator.h"
#include "cmGlobalGenerator.h"
#include "cmComputeLinkInformation.h"
-#include "cmDocumentCompileDefinitions.h"
-#include "cmDocumentGeneratorExpressions.h"
-#include "cmDocumentLocationUndefined.h"
#include "cmListFileCache.h"
#include "cmGeneratorExpression.h"
#include "cmGeneratorExpressionDAGChecker.h"
#include <cmsys/RegularExpression.hxx>
#include <map>
#include <set>
-#include <queue>
#include <stdlib.h> // required for atof
#include <assert.h>
+#include <errno.h>
const char* cmTarget::GetTargetTypeName(TargetType targetType)
{
@@ -47,6 +44,8 @@ const char* cmTarget::GetTargetTypeName(TargetType targetType)
return "UTILITY";
case cmTarget::GLOBAL_TARGET:
return "GLOBAL_TARGET";
+ case cmTarget::INTERFACE_LIBRARY:
+ return "INTERFACE_LIBRARY";
case cmTarget::UNKNOWN_LIBRARY:
return "UNKNOWN_LIBRARY";
}
@@ -72,9 +71,9 @@ struct cmTarget::ImportInfo
cmTarget::LinkInterface LinkInterface;
};
-struct TargetConfigPair : public std::pair<cmTarget*, std::string> {
- TargetConfigPair(cmTarget* tgt, const std::string &config)
- : std::pair<cmTarget*, std::string>(tgt, config) {}
+struct TargetConfigPair : public std::pair<cmTarget const* , std::string> {
+ TargetConfigPair(cmTarget const* tgt, const std::string &config)
+ : std::pair<cmTarget const* , std::string>(tgt, config) {}
};
//----------------------------------------------------------------------------
@@ -86,18 +85,15 @@ public:
this->PolicyWarnedCMP0022 = false;
this->SourceFileFlagsConstructed = false;
}
- cmTargetInternals(cmTargetInternals const& r)
+ cmTargetInternals(cmTargetInternals const&)
{
this->PolicyWarnedCMP0022 = false;
this->SourceFileFlagsConstructed = false;
- // Only some of these entries are part of the object state.
- // Others not copied here are result caches.
- this->SourceEntries = r.SourceEntries;
}
~cmTargetInternals();
typedef cmTarget::SourceFileFlags SourceFileFlags;
- std::map<cmSourceFile const*, SourceFileFlags> SourceFlagsMap;
- bool SourceFileFlagsConstructed;
+ mutable std::map<cmSourceFile const*, SourceFileFlags> SourceFlagsMap;
+ mutable bool SourceFileFlagsConstructed;
// The backtrace when the target was created.
cmListFileBacktrace Backtrace;
@@ -129,10 +125,6 @@ public:
LinkClosureMapType;
LinkClosureMapType LinkClosureMap;
- struct SourceEntry { std::vector<cmSourceFile*> Depends; };
- typedef std::map<cmSourceFile*, SourceEntry> SourceEntriesType;
- SourceEntriesType SourceEntries;
-
struct TargetPropertyEntry {
TargetPropertyEntry(cmsys::auto_ptr<cmCompiledGeneratorExpression> cge,
const std::string &targetName = std::string())
@@ -145,18 +137,18 @@ public:
std::vector<TargetPropertyEntry*> IncludeDirectoriesEntries;
std::vector<TargetPropertyEntry*> CompileOptionsEntries;
std::vector<TargetPropertyEntry*> CompileDefinitionsEntries;
- std::vector<cmValueWithOrigin> LinkInterfacePropertyEntries;
+ std::vector<cmValueWithOrigin> LinkImplementationPropertyEntries;
- std::map<std::string, std::vector<TargetPropertyEntry*> >
+ mutable std::map<std::string, std::vector<TargetPropertyEntry*> >
CachedLinkInterfaceIncludeDirectoriesEntries;
- std::map<std::string, std::vector<TargetPropertyEntry*> >
+ mutable std::map<std::string, std::vector<TargetPropertyEntry*> >
CachedLinkInterfaceCompileOptionsEntries;
- std::map<std::string, std::vector<TargetPropertyEntry*> >
+ mutable std::map<std::string, std::vector<TargetPropertyEntry*> >
CachedLinkInterfaceCompileDefinitionsEntries;
- std::map<std::string, bool> CacheLinkInterfaceIncludeDirectoriesDone;
- std::map<std::string, bool> CacheLinkInterfaceCompileDefinitionsDone;
- std::map<std::string, bool> CacheLinkInterfaceCompileOptionsDone;
+ mutable std::map<std::string, bool> CacheLinkInterfaceIncludeDirectoriesDone;
+ mutable std::map<std::string, bool> CacheLinkInterfaceCompileDefinitionsDone;
+ mutable std::map<std::string, bool> CacheLinkInterfaceCompileOptionsDone;
};
//----------------------------------------------------------------------------
@@ -220,1370 +212,14 @@ cmTarget::cmTarget()
void cmTarget::DefineProperties(cmake *cm)
{
cm->DefineProperty
- ("AUTOMOC", cmProperty::TARGET,
- "Should the target be processed with automoc (for Qt projects).",
- "AUTOMOC is a boolean specifying whether CMake will handle "
- "the Qt moc preprocessor automatically, i.e. without having to use "
- "the QT4_WRAP_CPP() or QT5_WRAP_CPP() macro. Currently Qt4 and Qt5 are "
- "supported. "
- "When this property is set to TRUE, CMake will scan the source files "
- "at build time and invoke moc accordingly. "
- "If an #include statement like #include \"moc_foo.cpp\" is found, "
- "the Q_OBJECT class declaration is expected in the header, and moc is "
- "run on the header file. "
- "If an #include statement like #include \"foo.moc\" is found, "
- "then a Q_OBJECT is expected in the current source file and moc "
- "is run on the file itself. "
- "Additionally, all header files are parsed for Q_OBJECT macros, "
- "and if found, moc is also executed on those files. The resulting "
- "moc files, which are not included as shown above in any of the source "
- "files are included in a generated <targetname>_automoc.cpp file, "
- "which is compiled as part of the target."
- "This property is initialized by the value of the variable "
- "CMAKE_AUTOMOC if it is set when a target is created.\n"
- "Additional command line options for moc can be set via the "
- "AUTOMOC_MOC_OPTIONS property.\n"
- "By setting the CMAKE_AUTOMOC_RELAXED_MODE variable to TRUE the rules "
- "for searching the files which will be processed by moc can be relaxed. "
- "See the documentation for this variable for more details.\n"
- "The global property AUTOMOC_TARGETS_FOLDER can be used to group the "
- "automoc targets together in an IDE, e.g. in MSVS.");
-
- cm->DefineProperty
- ("AUTOMOC_MOC_OPTIONS", cmProperty::TARGET,
- "Additional options for moc when using automoc (see the AUTOMOC property)",
- "This property is only used if the AUTOMOC property is set to TRUE for "
- "this target. In this case, it holds additional command line options "
- "which will be used when moc is executed during the build, i.e. it is "
- "equivalent to the optional OPTIONS argument of the qt4_wrap_cpp() "
- "macro.\n"
- "By default it is empty.");
-
- cm->DefineProperty
- ("BUILD_WITH_INSTALL_RPATH", cmProperty::TARGET,
- "Should build tree targets have install tree rpaths.",
- "BUILD_WITH_INSTALL_RPATH is a boolean specifying whether to link "
- "the target in the build tree with the INSTALL_RPATH. This takes "
- "precedence over SKIP_BUILD_RPATH and avoids the need for relinking "
- "before installation. "
- "This property is initialized by the value of the variable "
- "CMAKE_BUILD_WITH_INSTALL_RPATH if it is set when a target is created.");
-
- cm->DefineProperty
- ("COMPILE_FLAGS", cmProperty::TARGET,
- "Additional flags to use when compiling this target's sources.",
- "The COMPILE_FLAGS property sets additional compiler flags used "
- "to build sources within the target. Use COMPILE_DEFINITIONS "
- "to pass additional preprocessor definitions.");
-
- cm->DefineProperty
- ("COMPILE_DEFINITIONS", cmProperty::TARGET,
- "Preprocessor definitions for compiling a target's sources.",
- "The COMPILE_DEFINITIONS property may be set to a "
- "semicolon-separated list of preprocessor "
- "definitions using the syntax VAR or VAR=value. Function-style "
- "definitions are not supported. CMake will automatically escape "
- "the value correctly for the native build system (note that CMake "
- "language syntax may require escapes to specify some values). "
- "This property may be set on a per-configuration basis using the name "
- "COMPILE_DEFINITIONS_<CONFIG> where <CONFIG> is an upper-case name "
- "(ex. \"COMPILE_DEFINITIONS_DEBUG\").\n"
- "CMake will automatically drop some definitions that "
- "are not supported by the native build tool. "
- "The VS6 IDE does not support definition values with spaces "
- "(but NMake does).\n"
- "Contents of COMPILE_DEFINITIONS may use \"generator expressions\" with "
- "the syntax \"$<...>\". "
- CM_DOCUMENT_COMMAND_GENERATOR_EXPRESSIONS
- CM_DOCUMENT_COMPILE_DEFINITIONS_DISCLAIMER);
-
- cm->DefineProperty
- ("COMPILE_DEFINITIONS_<CONFIG>", cmProperty::TARGET,
- "Per-configuration preprocessor definitions on a target.",
- "This is the configuration-specific version of COMPILE_DEFINITIONS.");
-
- cm->DefineProperty
- ("COMPILE_OPTIONS", cmProperty::TARGET,
- "List of options to pass to the compiler.",
- "This property specifies the list of options specified "
- "so far for this property. "
- "This property exists on directories and targets."
- "\n"
- "The target property values are used by the generators to set "
- "the options for the compiler.\n"
- "Contents of COMPILE_OPTIONS may use \"generator expressions\" with "
- "the syntax \"$<...>\". "
- CM_DOCUMENT_COMMAND_GENERATOR_EXPRESSIONS);
-
- cm->DefineProperty
- ("INTERFACE_COMPILE_OPTIONS", cmProperty::TARGET,
- "List of interface options to pass to the compiler.",
- "Targets may populate this property to publish the compile options "
- "required to compile against the headers for the target. Consuming "
- "targets can add entries to their own COMPILE_OPTIONS property such "
- "as $<TARGET_PROPERTY:foo,INTERFACE_COMPILE_OPTIONS> to use the "
- "compile options specified in the interface of 'foo'."
- "\n"
- CM_DOCUMENT_COMMAND_GENERATOR_EXPRESSIONS);
-
- cm->DefineProperty
- ("DEFINE_SYMBOL", cmProperty::TARGET,
- "Define a symbol when compiling this target's sources.",
- "DEFINE_SYMBOL sets the name of the preprocessor symbol defined when "
- "compiling sources in a shared library. "
- "If not set here then it is set to target_EXPORTS by default "
- "(with some substitutions if the target is not a valid C "
- "identifier). This is useful for headers to know whether they are "
- "being included from inside their library or outside to properly "
- "setup dllexport/dllimport decorations. ");
-
- cm->DefineProperty
- ("DEBUG_POSTFIX", cmProperty::TARGET,
- "See target property <CONFIG>_POSTFIX.",
- "This property is a special case of the more-general <CONFIG>_POSTFIX "
- "property for the DEBUG configuration.");
-
- cm->DefineProperty
- ("<CONFIG>_POSTFIX", cmProperty::TARGET,
- "Postfix to append to the target file name for configuration <CONFIG>.",
- "When building with configuration <CONFIG> the value of this property "
- "is appended to the target file name built on disk. "
- "For non-executable targets, this property is initialized by the value "
- "of the variable CMAKE_<CONFIG>_POSTFIX if it is set when a target is "
- "created. "
- "This property is ignored on the Mac for Frameworks and App Bundles.");
-
- cm->DefineProperty
- ("EchoString", cmProperty::TARGET,
- "A message to be displayed when the target is built.",
- "A message to display on some generators (such as makefiles) when "
- "the target is built.");
-
- cm->DefineProperty
- ("BUNDLE", cmProperty::TARGET,
- "This target is a CFBundle on the Mac.",
- "If a module library target has this property set to true it will "
- "be built as a CFBundle when built on the mac. It will have the "
- "directory structure required for a CFBundle and will be suitable "
- "to be used for creating Browser Plugins or other application "
- "resources.");
-
- cm->DefineProperty
- ("BUNDLE_EXTENSION", cmProperty::TARGET,
- "The file extension used to name a BUNDLE target on the Mac.",
- "The default value is \"bundle\" - you can also use \"plugin\" or "
- "whatever file extension is required by the host app for your "
- "bundle.");
-
- cm->DefineProperty
- ("EXCLUDE_FROM_DEFAULT_BUILD", cmProperty::TARGET,
- "Exclude target from \"Build Solution\".",
- "This property is only used by Visual Studio generators 7 and above. "
- "When set to TRUE, the target will not be built when you press "
- "\"Build Solution\".");
-
- cm->DefineProperty
- ("EXCLUDE_FROM_DEFAULT_BUILD_<CONFIG>", cmProperty::TARGET,
- "Per-configuration version of target exclusion from \"Build Solution\". ",
- "This is the configuration-specific version of "
- "EXCLUDE_FROM_DEFAULT_BUILD. If the generic EXCLUDE_FROM_DEFAULT_BUILD "
- "is also set on a target, EXCLUDE_FROM_DEFAULT_BUILD_<CONFIG> takes "
- "precedence in configurations for which it has a value.");
-
- cm->DefineProperty
- ("FRAMEWORK", cmProperty::TARGET,
- "This target is a framework on the Mac.",
- "If a shared library target has this property set to true it will "
- "be built as a framework when built on the mac. It will have the "
- "directory structure required for a framework and will be suitable "
- "to be used with the -framework option");
-
- cm->DefineProperty
- ("HAS_CXX", cmProperty::TARGET,
- "Link the target using the C++ linker tool (obsolete).",
- "This is equivalent to setting the LINKER_LANGUAGE property to CXX. "
- "See that property's documentation for details.");
-
- cm->DefineProperty
- ("IMPLICIT_DEPENDS_INCLUDE_TRANSFORM", cmProperty::TARGET,
- "Specify #include line transforms for dependencies in a target.",
- "This property specifies rules to transform macro-like #include lines "
- "during implicit dependency scanning of C and C++ source files. "
- "The list of rules must be semicolon-separated with each entry of "
- "the form \"A_MACRO(%)=value-with-%\" (the % must be literal). "
- "During dependency scanning occurrences of A_MACRO(...) on #include "
- "lines will be replaced by the value given with the macro argument "
- "substituted for '%'. For example, the entry\n"
- " MYDIR(%)=<mydir/%>\n"
- "will convert lines of the form\n"
- " #include MYDIR(myheader.h)\n"
- "to\n"
- " #include <mydir/myheader.h>\n"
- "allowing the dependency to be followed.\n"
- "This property applies to sources in the target on which it is set.");
-
- cm->DefineProperty
- ("IMPORT_PREFIX", cmProperty::TARGET,
- "What comes before the import library name.",
- "Similar to the target property PREFIX, but used for import libraries "
- "(typically corresponding to a DLL) instead of regular libraries. "
- "A target property that can be set to override the prefix "
- "(such as \"lib\") on an import library name.");
-
- cm->DefineProperty
- ("IMPORT_SUFFIX", cmProperty::TARGET,
- "What comes after the import library name.",
- "Similar to the target property SUFFIX, but used for import libraries "
- "(typically corresponding to a DLL) instead of regular libraries. "
- "A target property that can be set to override the suffix "
- "(such as \".lib\") on an import library name.");
-
- cm->DefineProperty
- ("IMPORTED", cmProperty::TARGET,
- "Read-only indication of whether a target is IMPORTED.",
- "The boolean value of this property is true for targets created with "
- "the IMPORTED option to add_executable or add_library. "
- "It is false for targets built within the project.");
-
- cm->DefineProperty
- ("IMPORTED_CONFIGURATIONS", cmProperty::TARGET,
- "Configurations provided for an IMPORTED target.",
- "Set this to the list of configuration names available for an "
- "IMPORTED target. "
- "The names correspond to configurations defined in the project from "
- "which the target is imported. "
- "If the importing project uses a different set of configurations "
- "the names may be mapped using the MAP_IMPORTED_CONFIG_<CONFIG> "
- "property. "
- "Ignored for non-imported targets.");
-
- cm->DefineProperty
- ("IMPORTED_IMPLIB", cmProperty::TARGET,
- "Full path to the import library for an IMPORTED target.",
- "Set this to the location of the \".lib\" part of a windows DLL. "
- "Ignored for non-imported targets.");
-
- cm->DefineProperty
- ("IMPORTED_IMPLIB_<CONFIG>", cmProperty::TARGET,
- "<CONFIG>-specific version of IMPORTED_IMPLIB property.",
- "Configuration names correspond to those provided by the project "
- "from which the target is imported.");
-
- cm->DefineProperty
- ("IMPORTED_LINK_DEPENDENT_LIBRARIES", cmProperty::TARGET,
- "Dependent shared libraries of an imported shared library.",
- "Shared libraries may be linked to other shared libraries as part "
- "of their implementation. On some platforms the linker searches "
- "for the dependent libraries of shared libraries they are including "
- "in the link. "
- "Set this property to the list of dependent shared libraries of an "
- "imported library. "
- "The list "
- "should be disjoint from the list of interface libraries in the "
- "INTERFACE_LINK_LIBRARIES property. On platforms requiring "
- "dependent shared libraries to be found at link time CMake uses this "
- "list to add appropriate files or paths to the link command line. "
- "Ignored for non-imported targets.");
-
- cm->DefineProperty
- ("IMPORTED_LINK_DEPENDENT_LIBRARIES_<CONFIG>", cmProperty::TARGET,
- "<CONFIG>-specific version of IMPORTED_LINK_DEPENDENT_LIBRARIES.",
- "Configuration names correspond to those provided by the project "
- "from which the target is imported. "
- "If set, this property completely overrides the generic property "
- "for the named configuration.");
-
- cm->DefineProperty
- ("IMPORTED_LINK_INTERFACE_LIBRARIES", cmProperty::TARGET,
- "Transitive link interface of an IMPORTED target.",
- "Set this to the list of libraries whose interface is included when "
- "an IMPORTED library target is linked to another target. "
- "The libraries will be included on the link line for the target. "
- "Unlike the LINK_INTERFACE_LIBRARIES property, this property applies "
- "to all imported target types, including STATIC libraries. "
- "This property is ignored for non-imported targets.\n"
- "This property is ignored if the target also has a non-empty "
- "INTERFACE_LINK_LIBRARIES property.\n"
- "This property is deprecated. Use INTERFACE_LINK_LIBRARIES instead.");
-
- cm->DefineProperty
- ("IMPORTED_LINK_INTERFACE_LIBRARIES_<CONFIG>", cmProperty::TARGET,
- "<CONFIG>-specific version of IMPORTED_LINK_INTERFACE_LIBRARIES.",
- "Configuration names correspond to those provided by the project "
- "from which the target is imported. "
- "If set, this property completely overrides the generic property "
- "for the named configuration.\n"
- "This property is ignored if the target also has a non-empty "
- "INTERFACE_LINK_LIBRARIES property.\n"
- "This property is deprecated. Use INTERFACE_LINK_LIBRARIES instead.");
-
- cm->DefineProperty
- ("IMPORTED_LINK_INTERFACE_LANGUAGES", cmProperty::TARGET,
- "Languages compiled into an IMPORTED static library.",
- "Set this to the list of languages of source files compiled to "
- "produce a STATIC IMPORTED library (such as \"C\" or \"CXX\"). "
- "CMake accounts for these languages when computing how to link a "
- "target to the imported library. "
- "For example, when a C executable links to an imported C++ static "
- "library CMake chooses the C++ linker to satisfy language runtime "
- "dependencies of the static library. "
- "\n"
- "This property is ignored for targets that are not STATIC libraries. "
- "This property is ignored for non-imported targets.");
-
- cm->DefineProperty
- ("IMPORTED_LINK_INTERFACE_LANGUAGES_<CONFIG>", cmProperty::TARGET,
- "<CONFIG>-specific version of IMPORTED_LINK_INTERFACE_LANGUAGES.",
- "Configuration names correspond to those provided by the project "
- "from which the target is imported. "
- "If set, this property completely overrides the generic property "
- "for the named configuration.");
-
- cm->DefineProperty
- ("IMPORTED_LINK_INTERFACE_MULTIPLICITY", cmProperty::TARGET,
- "Repetition count for cycles of IMPORTED static libraries.",
- "This is LINK_INTERFACE_MULTIPLICITY for IMPORTED targets.");
- cm->DefineProperty
- ("IMPORTED_LINK_INTERFACE_MULTIPLICITY_<CONFIG>", cmProperty::TARGET,
- "<CONFIG>-specific version of IMPORTED_LINK_INTERFACE_MULTIPLICITY.",
- "If set, this property completely overrides the generic property "
- "for the named configuration.");
-
- cm->DefineProperty
- ("IMPORTED_LOCATION", cmProperty::TARGET,
- "Full path to the main file on disk for an IMPORTED target.",
- "Set this to the location of an IMPORTED target file on disk. "
- "For executables this is the location of the executable file. "
- "For bundles on OS X this is the location of the executable file "
- "inside Contents/MacOS under the application bundle folder. "
- "For static libraries and modules this is the location of the "
- "library or module. "
- "For shared libraries on non-DLL platforms this is the location of "
- "the shared library. "
- "For frameworks on OS X this is the location of the library file "
- "symlink just inside the framework folder. "
- "For DLLs this is the location of the \".dll\" part of the library. "
- "For UNKNOWN libraries this is the location of the file to be linked. "
- "Ignored for non-imported targets."
- "\n"
- "Projects may skip IMPORTED_LOCATION if the configuration-specific "
- "property IMPORTED_LOCATION_<CONFIG> is set. "
- "To get the location of an imported target read one of the "
- "LOCATION or LOCATION_<CONFIG> properties.");
-
- cm->DefineProperty
- ("IMPORTED_LOCATION_<CONFIG>", cmProperty::TARGET,
- "<CONFIG>-specific version of IMPORTED_LOCATION property.",
- "Configuration names correspond to those provided by the project "
- "from which the target is imported.");
-
- cm->DefineProperty
- ("IMPORTED_SONAME", cmProperty::TARGET,
- "The \"soname\" of an IMPORTED target of shared library type.",
- "Set this to the \"soname\" embedded in an imported shared library. "
- "This is meaningful only on platforms supporting the feature. "
- "Ignored for non-imported targets.");
-
- cm->DefineProperty
- ("IMPORTED_SONAME_<CONFIG>", cmProperty::TARGET,
- "<CONFIG>-specific version of IMPORTED_SONAME property.",
- "Configuration names correspond to those provided by the project "
- "from which the target is imported.");
-
- cm->DefineProperty
- ("IMPORTED_NO_SONAME", cmProperty::TARGET,
- "Specifies that an IMPORTED shared library target has no \"soname\". ",
- "Set this property to true for an imported shared library file that "
- "has no \"soname\" field. "
- "CMake may adjust generated link commands for some platforms to prevent "
- "the linker from using the path to the library in place of its missing "
- "soname. "
- "Ignored for non-imported targets.");
-
- cm->DefineProperty
- ("IMPORTED_NO_SONAME_<CONFIG>", cmProperty::TARGET,
- "<CONFIG>-specific version of IMPORTED_NO_SONAME property.",
- "Configuration names correspond to those provided by the project "
- "from which the target is imported.");
-
- cm->DefineProperty
- ("EXCLUDE_FROM_ALL", cmProperty::TARGET,
- "Exclude the target from the all target.",
- "A property on a target that indicates if the target is excluded "
- "from the default build target. If it is not, then with a Makefile "
- "for example typing make will cause this target to be built. "
- "The same concept applies to the default build of other generators. "
- "Installing a target with EXCLUDE_FROM_ALL set to true has "
- "undefined behavior.");
-
- cm->DefineProperty
- ("LINK_LIBRARIES", cmProperty::TARGET,
- "List of direct link dependencies.",
- "This property specifies the list of libraries or targets which will be "
- "used for linking. "
- "In addition to accepting values from the target_link_libraries "
- "command, values may be set directly on any target using the "
- "set_property command. "
- "\n"
- "The target property values are used by the generators to set "
- "the link libraries for the compiler. "
- "See also the target_link_libraries command.\n"
- "Contents of LINK_LIBRARIES may use \"generator expressions\" with "
- "the syntax \"$<...>\". "
- CM_DOCUMENT_COMMAND_GENERATOR_EXPRESSIONS);
-
- cm->DefineProperty
- ("INCLUDE_DIRECTORIES", cmProperty::TARGET,
- "List of preprocessor include file search directories.",
- "This property specifies the list of directories given "
- "so far to the include_directories command. "
- "This property exists on directories and targets. "
- "In addition to accepting values from the include_directories "
- "command, values may be set directly on any directory or any "
- "target using the set_property command. "
- "A target gets its initial value for this property from the value "
- "of the directory property. "
- "A directory gets its initial value from its parent directory if "
- "it has one. "
- "Both directory and target property values are adjusted by calls "
- "to the include_directories command."
- "\n"
- "The target property values are used by the generators to set "
- "the include paths for the compiler. "
- "See also the include_directories command.\n"
- "Contents of INCLUDE_DIRECTORIES may use \"generator expressions\" with "
- "the syntax \"$<...>\". "
- CM_DOCUMENT_COMMAND_GENERATOR_EXPRESSIONS);
-
- cm->DefineProperty
- ("INSTALL_NAME_DIR", cmProperty::TARGET,
- "Mac OSX directory name for installed targets.",
- "INSTALL_NAME_DIR is a string specifying the "
- "directory portion of the \"install_name\" field of shared libraries "
- "on Mac OSX to use in the installed targets. ");
-
- cm->DefineProperty
- ("INSTALL_RPATH", cmProperty::TARGET,
- "The rpath to use for installed targets.",
- "A semicolon-separated list specifying the rpath "
- "to use in installed targets (for platforms that support it). "
- "This property is initialized by the value of the variable "
- "CMAKE_INSTALL_RPATH if it is set when a target is created.");
-
- cm->DefineProperty
- ("INSTALL_RPATH_USE_LINK_PATH", cmProperty::TARGET,
- "Add paths to linker search and installed rpath.",
- "INSTALL_RPATH_USE_LINK_PATH is a boolean that if set to true will "
- "append directories in the linker search path and outside the "
- "project to the INSTALL_RPATH. "
- "This property is initialized by the value of the variable "
- "CMAKE_INSTALL_RPATH_USE_LINK_PATH if it is set when a target is "
- "created.");
-
- cm->DefineProperty
- ("INTERPROCEDURAL_OPTIMIZATION", cmProperty::TARGET,
- "Enable interprocedural optimization for a target.",
- "If set to true, enables interprocedural optimizations "
- "if they are known to be supported by the compiler.");
-
- cm->DefineProperty
- ("INTERPROCEDURAL_OPTIMIZATION_<CONFIG>", cmProperty::TARGET,
- "Per-configuration interprocedural optimization for a target.",
- "This is a per-configuration version of INTERPROCEDURAL_OPTIMIZATION. "
- "If set, this property overrides the generic property "
- "for the named configuration.");
-
- cm->DefineProperty
- ("LABELS", cmProperty::TARGET,
- "Specify a list of text labels associated with a target.",
- "Target label semantics are currently unspecified.");
-
- cm->DefineProperty
- ("LINK_FLAGS", cmProperty::TARGET,
- "Additional flags to use when linking this target.",
- "The LINK_FLAGS property can be used to add extra flags to the "
- "link step of a target. LINK_FLAGS_<CONFIG> will add to the "
- "configuration <CONFIG>, "
- "for example, DEBUG, RELEASE, MINSIZEREL, RELWITHDEBINFO. ");
-
- cm->DefineProperty
- ("LINK_FLAGS_<CONFIG>", cmProperty::TARGET,
- "Per-configuration linker flags for a target.",
- "This is the configuration-specific version of LINK_FLAGS.");
-
-#define CM_LINK_SEARCH_SUMMARY \
- "Some linkers support switches such as -Bstatic and -Bdynamic " \
- "to determine whether to use static or shared libraries for -lXXX " \
- "options. CMake uses these options to set the link type for " \
- "libraries whose full paths are not known or (in some cases) are in " \
- "implicit link directories for the platform. "
-
- cm->DefineProperty
- ("LINK_SEARCH_START_STATIC", cmProperty::TARGET,
- "Assume the linker looks for static libraries by default.",
- CM_LINK_SEARCH_SUMMARY
- "By default the linker search type is assumed to be -Bdynamic at "
- "the beginning of the library list. This property switches the "
- "assumption to -Bstatic. It is intended for use when linking an "
- "executable statically (e.g. with the GNU -static option). "
- "See also LINK_SEARCH_END_STATIC.");
-
- cm->DefineProperty
- ("LINK_SEARCH_END_STATIC", cmProperty::TARGET,
- "End a link line such that static system libraries are used.",
- CM_LINK_SEARCH_SUMMARY
- "By default CMake adds an option at the end of the library list (if "
- "necessary) to set the linker search type back to its starting type. "
- "This property switches the final linker search type to -Bstatic "
- "regardless of how it started. "
- "See also LINK_SEARCH_START_STATIC.");
-
- cm->DefineProperty
- ("LINKER_LANGUAGE", cmProperty::TARGET,
- "Specifies language whose compiler will invoke the linker.",
- "For executables, shared libraries, and modules, this sets the "
- "language whose compiler is used to link the target "
- "(such as \"C\" or \"CXX\"). "
- "A typical value for an executable is the language of the source "
- "file providing the program entry point (main). "
- "If not set, the language with the highest linker preference "
- "value is the default. "
- "See documentation of CMAKE_<LANG>_LINKER_PREFERENCE variables."
- "\n"
- "If this property is not set by the user, it will be calculated at "
- "generate-time by CMake."
- );
-
- cm->DefineProperty
- ("LOCATION", cmProperty::TARGET,
- "Read-only location of a target on disk.",
- "For an imported target, this read-only property returns the value of "
- "the LOCATION_<CONFIG> property for an unspecified configuration "
- "<CONFIG> provided by the target.\n"
- "For a non-imported target, this property is provided for compatibility "
- "with CMake 2.4 and below. "
- "It was meant to get the location of an executable target's output file "
- "for use in add_custom_command. "
- "The path may contain a build-system-specific portion that "
- "is replaced at build time with the configuration getting built "
- "(such as \"$(ConfigurationName)\" in VS). "
- "In CMake 2.6 and above add_custom_command automatically recognizes a "
- "target name in its COMMAND and DEPENDS options and computes the "
- "target location. "
- "In CMake 2.8.4 and above add_custom_command recognizes generator "
- "expressions to refer to target locations anywhere in the command. "
- "Therefore this property is not needed for creating custom commands."
- CM_LOCATION_UNDEFINED_BEHAVIOR("reading this property"));
-
- cm->DefineProperty
- ("LOCATION_<CONFIG>", cmProperty::TARGET,
- "Read-only property providing a target location on disk.",
- "A read-only property that indicates where a target's main file is "
- "located on disk for the configuration <CONFIG>. "
- "The property is defined only for library and executable targets. "
- "An imported target may provide a set of configurations different "
- "from that of the importing project. "
- "By default CMake looks for an exact-match but otherwise uses an "
- "arbitrary available configuration. "
- "Use the MAP_IMPORTED_CONFIG_<CONFIG> property to map imported "
- "configurations explicitly."
- CM_LOCATION_UNDEFINED_BEHAVIOR("reading this property"));
-
- cm->DefineProperty
- ("LINK_DEPENDS", cmProperty::TARGET,
- "Additional files on which a target binary depends for linking.",
- "Specifies a semicolon-separated list of full-paths to files on which "
- "the link rule for this target depends. "
- "The target binary will be linked if any of the named files is newer "
- "than it."
- "\n"
- "This property is ignored by non-Makefile generators. "
- "It is intended to specify dependencies on \"linker scripts\" for "
- "custom Makefile link rules.");
-
- cm->DefineProperty
- ("LINK_DEPENDS_NO_SHARED", cmProperty::TARGET,
- "Do not depend on linked shared library files.",
- "Set this property to true to tell CMake generators not to add "
- "file-level dependencies on the shared library files linked by "
- "this target. "
- "Modification to the shared libraries will not be sufficient to "
- "re-link this target. "
- "Logical target-level dependencies will not be affected so the "
- "linked shared libraries will still be brought up to date before "
- "this target is built."
- "\n"
- "This property is initialized by the value of the variable "
- "CMAKE_LINK_DEPENDS_NO_SHARED if it is set when a target is "
- "created.");
-
- cm->DefineProperty
- ("LINK_INTERFACE_LIBRARIES", cmProperty::TARGET,
- "List public interface libraries for a shared library or executable.",
- "By default linking to a shared library target transitively "
- "links to targets with which the library itself was linked. "
- "For an executable with exports (see the ENABLE_EXPORTS property) "
- "no default transitive link dependencies are used. "
- "This property replaces the default transitive link dependencies with "
- "an explicit list. "
- "When the target is linked into another target the libraries "
- "listed (and recursively their link interface libraries) will be "
- "provided to the other target also. "
- "If the list is empty then no transitive link dependencies will be "
- "incorporated when this target is linked into another target even if "
- "the default set is non-empty. "
- "This property is initialized by the value of the variable "
- "CMAKE_LINK_INTERFACE_LIBRARIES if it is set when a target is "
- "created. "
- "This property is ignored for STATIC libraries.\n"
- "This property is overridden by the INTERFACE_LINK_LIBRARIES property if "
- "policy CMP0022 is NEW.\n"
- "This property is deprecated. Use INTERFACE_LINK_LIBRARIES instead.");
-
- cm->DefineProperty
- ("LINK_INTERFACE_LIBRARIES_<CONFIG>", cmProperty::TARGET,
- "Per-configuration list of public interface libraries for a target.",
- "This is the configuration-specific version of "
- "LINK_INTERFACE_LIBRARIES. "
- "If set, this property completely overrides the generic property "
- "for the named configuration.\n"
- "This property is overridden by the INTERFACE_LINK_LIBRARIES property if "
- "policy CMP0022 is NEW.\n"
- "This property is deprecated. Use INTERFACE_LINK_LIBRARIES instead.");
-
- cm->DefineProperty
- ("INTERFACE_LINK_LIBRARIES", cmProperty::TARGET,
- "List public interface libraries for a library.",
- "This property contains the list of transitive link dependencies. "
- "When the target is linked into another target the libraries "
- "listed (and recursively their link interface libraries) will be "
- "provided to the other target also. "
- "This property is overridden by the LINK_INTERFACE_LIBRARIES or "
- "LINK_INTERFACE_LIBRARIES_<CONFIG> property if "
- "policy CMP0022 is OLD or unset.\n"
- "\n"
- CM_DOCUMENT_COMMAND_GENERATOR_EXPRESSIONS);
-
- cm->DefineProperty
- ("INTERFACE_INCLUDE_DIRECTORIES", cmProperty::TARGET,
- "List of public include directories for a library.",
- "Targets may populate this property to publish the include directories "
- "required to compile against the headers for the target. Consuming "
- "targets can add entries to their own INCLUDE_DIRECTORIES property such "
- "as $<TARGET_PROPERTY:foo,INTERFACE_INCLUDE_DIRECTORIES> to use the "
- "include directories specified in the interface of 'foo'."
- "\n"
- CM_DOCUMENT_COMMAND_GENERATOR_EXPRESSIONS);
-
- cm->DefineProperty
- ("INTERFACE_SYSTEM_INCLUDE_DIRECTORIES", cmProperty::TARGET,
- "List of public system include directories for a library.",
- "Targets may populate this property to publish the include directories "
- "which contain system headers, and therefore should not result in "
- "compiler warnings. Consuming targets will then mark the same include "
- "directories as system headers."
- "\n"
- CM_DOCUMENT_COMMAND_GENERATOR_EXPRESSIONS);
-
- cm->DefineProperty
- ("INTERFACE_COMPILE_DEFINITIONS", cmProperty::TARGET,
- "List of public compile definitions for a library.",
- "Targets may populate this property to publish the compile definitions "
- "required to compile against the headers for the target. Consuming "
- "targets can add entries to their own COMPILE_DEFINITIONS property such "
- "as $<TARGET_PROPERTY:foo,INTERFACE_COMPILE_DEFINITIONS> to use the "
- "compile definitions specified in the interface of 'foo'."
- "\n"
- CM_DOCUMENT_COMMAND_GENERATOR_EXPRESSIONS);
-
- cm->DefineProperty
- ("LINK_INTERFACE_MULTIPLICITY", cmProperty::TARGET,
- "Repetition count for STATIC libraries with cyclic dependencies.",
- "When linking to a STATIC library target with cyclic dependencies the "
- "linker may need to scan more than once through the archives in the "
- "strongly connected component of the dependency graph. "
- "CMake by default constructs the link line so that the linker will "
- "scan through the component at least twice. "
- "This property specifies the minimum number of scans if it is larger "
- "than the default. "
- "CMake uses the largest value specified by any target in a component.");
- cm->DefineProperty
- ("LINK_INTERFACE_MULTIPLICITY_<CONFIG>", cmProperty::TARGET,
- "Per-configuration repetition count for cycles of STATIC libraries.",
- "This is the configuration-specific version of "
- "LINK_INTERFACE_MULTIPLICITY. "
- "If set, this property completely overrides the generic property "
- "for the named configuration.");
-
- cm->DefineProperty
- ("MAP_IMPORTED_CONFIG_<CONFIG>", cmProperty::TARGET,
- "Map from project configuration to IMPORTED target's configuration.",
- "Set this to the list of configurations of an imported target that "
- "may be used for the current project's <CONFIG> configuration. "
- "Targets imported from another project may not provide the same set "
- "of configuration names available in the current project. "
- "Setting this property tells CMake what imported configurations are "
- "suitable for use when building the <CONFIG> configuration. "
- "The first configuration in the list found to be provided by the "
- "imported target is selected. If this property is set and no matching "
- "configurations are available, then the imported target is considered "
- "to be not found. This property is ignored for non-imported targets.",
- false /* TODO: make this chained */ );
-
- cm->DefineProperty
- ("OSX_ARCHITECTURES", cmProperty::TARGET,
- "Target specific architectures for OS X.",
- "The OSX_ARCHITECTURES property sets the target binary architecture "
- "for targets on OS X. "
- "This property is initialized by the value of the variable "
- "CMAKE_OSX_ARCHITECTURES if it is set when a target is created. "
- "Use OSX_ARCHITECTURES_<CONFIG> to set the binary architectures on a "
- "per-configuration basis. "
- "<CONFIG> is an upper-case name (ex: \"OSX_ARCHITECTURES_DEBUG\").");
-
- cm->DefineProperty
- ("OSX_ARCHITECTURES_<CONFIG>", cmProperty::TARGET,
- "Per-configuration OS X binary architectures for a target.",
- "This property is the configuration-specific version of "
- "OSX_ARCHITECTURES.");
-
- cm->DefineProperty
- ("NAME", cmProperty::TARGET,
- "Logical name for the target.",
- "Read-only logical name for the target as used by CMake.");
-
- cm->DefineProperty
- ("EXPORT_NAME", cmProperty::TARGET,
- "Exported name for target files.",
- "This sets the name for the IMPORTED target generated when it this "
- "target is is exported. "
- "If not set, the logical target name is used by default.");
-
- cm->DefineProperty
- ("OUTPUT_NAME", cmProperty::TARGET,
- "Output name for target files.",
- "This sets the base name for output files created for an executable or "
- "library target. "
- "If not set, the logical target name is used by default.");
-
- cm->DefineProperty
- ("OUTPUT_NAME_<CONFIG>", cmProperty::TARGET,
- "Per-configuration target file base name.",
- "This is the configuration-specific version of OUTPUT_NAME.");
-
- cm->DefineProperty
- ("ALIASED_TARGET", cmProperty::TARGET,
- "Name of target aliased by this target.",
- "If this is an ALIAS target, this property contains the name of the "
- "target aliased.");
-
- cm->DefineProperty
- ("<CONFIG>_OUTPUT_NAME", cmProperty::TARGET,
- "Old per-configuration target file base name.",
- "This is a configuration-specific version of OUTPUT_NAME. "
- "Use OUTPUT_NAME_<CONFIG> instead.");
-
- cm->DefineProperty
- ("PDB_NAME", cmProperty::TARGET,
- "Output name for MS debug symbols .pdb file from linker.",
- "Set the base name for debug symbols file created for an "
- "executable or shared library target. "
- "If not set, the logical target name is used by default. "
- "\n"
- "This property is not implemented by the Visual Studio 6 generator.");
-
- cm->DefineProperty
- ("PDB_NAME_<CONFIG>", cmProperty::TARGET,
- "Per-configuration name for MS debug symbols .pdb file. ",
- "This is the configuration-specific version of PDB_NAME. "
- "\n"
- "This property is not implemented by the Visual Studio 6 generator.");
-
- cm->DefineProperty
- ("PRE_INSTALL_SCRIPT", cmProperty::TARGET,
- "Deprecated install support.",
- "The PRE_INSTALL_SCRIPT and POST_INSTALL_SCRIPT properties are the "
- "old way to specify CMake scripts to run before and after "
- "installing a target. They are used only when the old "
- "INSTALL_TARGETS command is used to install the target. Use the "
- "INSTALL command instead.");
-
- cm->DefineProperty
- ("PREFIX", cmProperty::TARGET,
- "What comes before the library name.",
- "A target property that can be set to override the prefix "
- "(such as \"lib\") on a library name.");
-
- cm->DefineProperty
- ("<LANG>_VISIBILITY_PRESET", cmProperty::TARGET,
- "Value for symbol visibility compile flags",
- "The <LANG>_VISIBILITY_PRESET property determines the value passed in "
- "a visibility related compile option, such as -fvisibility= for <LANG>. "
- "This property only has an affect for libraries and executables with "
- "exports. This property is initialized by the value of the variable "
- "CMAKE_<LANG>_VISIBILITY_PRESET if it is set when a target is created.");
-
- cm->DefineProperty
- ("VISIBILITY_INLINES_HIDDEN", cmProperty::TARGET,
- "Whether to add a compile flag to hide symbols of inline functions",
- "The VISIBILITY_INLINES_HIDDEN property determines whether a flag for "
- "hiding symbols for inline functions. the value passed used in "
- "a visibility related compile option, such as -fvisibility=. This "
- "property only has an affect for libraries and executables with "
- "exports. This property is initialized by the value of the variable "
- "CMAKE_VISIBILITY_INLINES_HIDDEN if it is set when a target is "
- "created.");
-
- cm->DefineProperty
- ("POSITION_INDEPENDENT_CODE", cmProperty::TARGET,
- "Whether to create a position-independent target",
- "The POSITION_INDEPENDENT_CODE property determines whether position "
- "independent executables or shared libraries will be created. "
- "This property is true by default for SHARED and MODULE library "
- "targets and false otherwise. "
- "This property is initialized by the value of the variable "
- "CMAKE_POSITION_INDEPENDENT_CODE if it is set when a target is "
- "created.");
-
- cm->DefineProperty
- ("INTERFACE_POSITION_INDEPENDENT_CODE", cmProperty::TARGET,
- "Whether consumers need to create a position-independent target",
- "The INTERFACE_POSITION_INDEPENDENT_CODE property informs consumers of "
- "this target whether they must set their POSITION_INDEPENDENT_CODE "
- "property to ON. If this property is set to ON, then the "
- "POSITION_INDEPENDENT_CODE property on all consumers will be set to "
- "ON. Similarly, if this property is set to OFF, then the "
- "POSITION_INDEPENDENT_CODE property on all consumers will be set to "
- "OFF. If this property is undefined, then consumers will determine "
- "their POSITION_INDEPENDENT_CODE property by other means. Consumers "
- "must ensure that the targets that they link to have a consistent "
- "requirement for their INTERFACE_POSITION_INDEPENDENT_CODE property.");
-
- cm->DefineProperty
- ("COMPATIBLE_INTERFACE_BOOL", cmProperty::TARGET,
- "Properties which must be compatible with their link interface",
- "The COMPATIBLE_INTERFACE_BOOL property may contain a list of properties"
- "for this target which must be consistent when evaluated as a boolean "
- "in the INTERFACE of all linked dependees. For example, if a "
- "property \"FOO\" appears in the list, then for each dependee, the "
- "\"INTERFACE_FOO\" property content in all of its dependencies must be "
- "consistent with each other, and with the \"FOO\" property in the "
- "dependee. Consistency in this sense has the meaning that if the "
- "property is set, then it must have the same boolean value as all "
- "others, and if the property is not set, then it is ignored. Note that "
- "for each dependee, the set of properties from this property must not "
- "intersect with the set of properties from the "
- "COMPATIBLE_INTERFACE_STRING property.");
-
- cm->DefineProperty
- ("COMPATIBLE_INTERFACE_STRING", cmProperty::TARGET,
- "Properties which must be string-compatible with their link interface",
- "The COMPATIBLE_INTERFACE_STRING property may contain a list of "
- "properties for this target which must be the same when evaluated as "
- "a string in the INTERFACE of all linked dependees. For example, "
- "if a property \"FOO\" appears in the list, then for each dependee, the "
- "\"INTERFACE_FOO\" property content in all of its dependencies must be "
- "equal with each other, and with the \"FOO\" property in the dependee. "
- "If the property is not set, then it is ignored. Note that for each "
- "dependee, the set of properties from this property must not intersect "
- "with the set of properties from the COMPATIBLE_INTERFACE_BOOL "
- "property.");
-
- cm->DefineProperty
- ("POST_INSTALL_SCRIPT", cmProperty::TARGET,
- "Deprecated install support.",
- "The PRE_INSTALL_SCRIPT and POST_INSTALL_SCRIPT properties are the "
- "old way to specify CMake scripts to run before and after "
- "installing a target. They are used only when the old "
- "INSTALL_TARGETS command is used to install the target. Use the "
- "INSTALL command instead.");
-
- cm->DefineProperty
- ("PRIVATE_HEADER", cmProperty::TARGET,
- "Specify private header files in a FRAMEWORK shared library target.",
- "Shared library targets marked with the FRAMEWORK property generate "
- "frameworks on OS X and normal shared libraries on other platforms. "
- "This property may be set to a list of header files to be placed "
- "in the PrivateHeaders directory inside the framework folder. "
- "On non-Apple platforms these headers may be installed using the "
- "PRIVATE_HEADER option to the install(TARGETS) command.");
-
- cm->DefineProperty
- ("PUBLIC_HEADER", cmProperty::TARGET,
- "Specify public header files in a FRAMEWORK shared library target.",
- "Shared library targets marked with the FRAMEWORK property generate "
- "frameworks on OS X and normal shared libraries on other platforms. "
- "This property may be set to a list of header files to be placed "
- "in the Headers directory inside the framework folder. "
- "On non-Apple platforms these headers may be installed using the "
- "PUBLIC_HEADER option to the install(TARGETS) command.");
-
- cm->DefineProperty
- ("RESOURCE", cmProperty::TARGET,
- "Specify resource files in a FRAMEWORK shared library target.",
- "Shared library targets marked with the FRAMEWORK property generate "
- "frameworks on OS X and normal shared libraries on other platforms. "
- "This property may be set to a list of files to be placed "
- "in the Resources directory inside the framework folder. "
- "On non-Apple platforms these files may be installed using the "
- "RESOURCE option to the install(TARGETS) command.");
-
- cm->DefineProperty
("RULE_LAUNCH_COMPILE", cmProperty::TARGET,
- "Specify a launcher for compile rules.",
- "See the global property of the same name for details. "
- "This overrides the global and directory property for a target.",
- true);
+ "", "", true);
cm->DefineProperty
("RULE_LAUNCH_LINK", cmProperty::TARGET,
- "Specify a launcher for link rules.",
- "See the global property of the same name for details. "
- "This overrides the global and directory property for a target.",
- true);
+ "", "", true);
cm->DefineProperty
("RULE_LAUNCH_CUSTOM", cmProperty::TARGET,
- "Specify a launcher for custom rules.",
- "See the global property of the same name for details. "
- "This overrides the global and directory property for a target.",
- true);
-
- cm->DefineProperty
- ("SKIP_BUILD_RPATH", cmProperty::TARGET,
- "Should rpaths be used for the build tree.",
- "SKIP_BUILD_RPATH is a boolean specifying whether to skip automatic "
- "generation of an rpath allowing the target to run from the "
- "build tree. "
- "This property is initialized by the value of the variable "
- "CMAKE_SKIP_BUILD_RPATH if it is set when a target is created.");
-
- cm->DefineProperty
- ("NO_SONAME", cmProperty::TARGET,
- "Whether to set \"soname\" when linking a shared library or module.",
- "Enable this boolean property if a generated shared library or module "
- "should not have \"soname\" set. Default is to set \"soname\" on all "
- "shared libraries and modules as long as the platform supports it. "
- "Generally, use this property only for leaf private libraries or "
- "plugins. If you use it on normal shared libraries which other targets "
- "link against, on some platforms a linker will insert a full path to "
- "the library (as specified at link time) into the dynamic section of "
- "the dependent binary. Therefore, once installed, dynamic loader may "
- "eventually fail to locate the library for the binary.");
-
- cm->DefineProperty
- ("SOVERSION", cmProperty::TARGET,
- "What version number is this target.",
- "For shared libraries VERSION and SOVERSION can be used to specify "
- "the build version and API version respectively. When building or "
- "installing appropriate symlinks are created if the platform "
- "supports symlinks and the linker supports so-names. "
- "If only one of both is specified the missing is assumed to have "
- "the same version number. "
- "SOVERSION is ignored if NO_SONAME property is set. "
- "For shared libraries and executables on Windows the VERSION "
- "attribute is parsed to extract a \"major.minor\" version number. "
- "These numbers are used as the image version of the binary. ");
-
- cm->DefineProperty
- ("STATIC_LIBRARY_FLAGS", cmProperty::TARGET,
- "Extra flags to use when linking static libraries.",
- "Extra flags to use when linking a static library.");
-
- cm->DefineProperty
- ("STATIC_LIBRARY_FLAGS_<CONFIG>", cmProperty::TARGET,
- "Per-configuration flags for creating a static library.",
- "This is the configuration-specific version of STATIC_LIBRARY_FLAGS.");
-
- cm->DefineProperty
- ("SUFFIX", cmProperty::TARGET,
- "What comes after the target name.",
- "A target property that can be set to override the suffix "
- "(such as \".so\" or \".exe\") on the name of a library, module or "
- "executable.");
-
- cm->DefineProperty
- ("TYPE", cmProperty::TARGET,
- "The type of the target.",
- "This read-only property can be used to test the type of the given "
- "target. It will be one of STATIC_LIBRARY, MODULE_LIBRARY, "
- "SHARED_LIBRARY, EXECUTABLE or one of the internal target types.");
-
- cm->DefineProperty
- ("VERSION", cmProperty::TARGET,
- "What version number is this target.",
- "For shared libraries VERSION and SOVERSION can be used to specify "
- "the build version and API version respectively. When building or "
- "installing appropriate symlinks are created if the platform "
- "supports symlinks and the linker supports so-names. "
- "If only one of both is specified the missing is assumed to have "
- "the same version number. "
- "For executables VERSION can be used to specify the build version. "
- "When building or installing appropriate symlinks are created if "
- "the platform supports symlinks. "
- "For shared libraries and executables on Windows the VERSION "
- "attribute is parsed to extract a \"major.minor\" version number. "
- "These numbers are used as the image version of the binary. ");
-
-
- cm->DefineProperty
- ("WIN32_EXECUTABLE", cmProperty::TARGET,
- "Build an executable with a WinMain entry point on windows.",
- "When this property is set to true the executable when linked "
- "on Windows will be created with a WinMain() entry point instead "
- "of just main(). "
- "This makes it a GUI executable instead of a console application. "
- "See the CMAKE_MFC_FLAG variable documentation to configure use "
- "of MFC for WinMain executables. "
- "This property is initialized by the value of the variable "
- "CMAKE_WIN32_EXECUTABLE if it is set when a target is created.");
-
- cm->DefineProperty
- ("MACOSX_BUNDLE", cmProperty::TARGET,
- "Build an executable as an application bundle on Mac OS X.",
- "When this property is set to true the executable when built "
- "on Mac OS X will be created as an application bundle. "
- "This makes it a GUI executable that can be launched from "
- "the Finder. "
- "See the MACOSX_BUNDLE_INFO_PLIST target property for information "
- "about creation of the Info.plist file for the application bundle. "
- "This property is initialized by the value of the variable "
- "CMAKE_MACOSX_BUNDLE if it is set when a target is created.");
-
- cm->DefineProperty
- ("MACOSX_BUNDLE_INFO_PLIST", cmProperty::TARGET,
- "Specify a custom Info.plist template for a Mac OS X App Bundle.",
- "An executable target with MACOSX_BUNDLE enabled will be built as an "
- "application bundle on Mac OS X. "
- "By default its Info.plist file is created by configuring a template "
- "called MacOSXBundleInfo.plist.in located in the CMAKE_MODULE_PATH. "
- "This property specifies an alternative template file name which "
- "may be a full path.\n"
- "The following target properties may be set to specify content to "
- "be configured into the file:\n"
- " MACOSX_BUNDLE_INFO_STRING\n"
- " MACOSX_BUNDLE_ICON_FILE\n"
- " MACOSX_BUNDLE_GUI_IDENTIFIER\n"
- " MACOSX_BUNDLE_LONG_VERSION_STRING\n"
- " MACOSX_BUNDLE_BUNDLE_NAME\n"
- " MACOSX_BUNDLE_SHORT_VERSION_STRING\n"
- " MACOSX_BUNDLE_BUNDLE_VERSION\n"
- " MACOSX_BUNDLE_COPYRIGHT\n"
- "CMake variables of the same name may be set to affect all targets "
- "in a directory that do not have each specific property set. "
- "If a custom Info.plist is specified by this property it may of course "
- "hard-code all the settings instead of using the target properties.");
-
- cm->DefineProperty
- ("MACOSX_FRAMEWORK_INFO_PLIST", cmProperty::TARGET,
- "Specify a custom Info.plist template for a Mac OS X Framework.",
- "A library target with FRAMEWORK enabled will be built as a "
- "framework on Mac OS X. "
- "By default its Info.plist file is created by configuring a template "
- "called MacOSXFrameworkInfo.plist.in located in the CMAKE_MODULE_PATH. "
- "This property specifies an alternative template file name which "
- "may be a full path.\n"
- "The following target properties may be set to specify content to "
- "be configured into the file:\n"
- " MACOSX_FRAMEWORK_ICON_FILE\n"
- " MACOSX_FRAMEWORK_IDENTIFIER\n"
- " MACOSX_FRAMEWORK_SHORT_VERSION_STRING\n"
- " MACOSX_FRAMEWORK_BUNDLE_VERSION\n"
- "CMake variables of the same name may be set to affect all targets "
- "in a directory that do not have each specific property set. "
- "If a custom Info.plist is specified by this property it may of course "
- "hard-code all the settings instead of using the target properties.");
-
- cm->DefineProperty
- ("MACOSX_RPATH", cmProperty::TARGET,
- "Whether to use rpaths on Mac OS X.",
- "When this property is set to true, the directory portion of the"
- "\"install_name\" field of shared libraries will default to \"@rpath\"."
- "Runtime paths will also be embedded in binaries using this target."
- "This property is initialized by the value of the variable "
- "CMAKE_MACOSX_RPATH if it is set when a target is created.");
-
- cm->DefineProperty
- ("ENABLE_EXPORTS", cmProperty::TARGET,
- "Specify whether an executable exports symbols for loadable modules.",
- "Normally an executable does not export any symbols because it is "
- "the final program. It is possible for an executable to export "
- "symbols to be used by loadable modules. When this property is "
- "set to true CMake will allow other targets to \"link\" to the "
- "executable with the TARGET_LINK_LIBRARIES command. "
- "On all platforms a target-level dependency on the executable is "
- "created for targets that link to it. "
- "For DLL platforms an import library will be created for the "
- "exported symbols and then used for linking. "
- "All Windows-based systems including Cygwin are DLL platforms. "
- "For non-DLL platforms that require all symbols to be resolved at "
- "link time, such as Mac OS X, the module will \"link\" to the "
- "executable using a flag like \"-bundle_loader\". "
- "For other non-DLL platforms the link rule is simply ignored since "
- "the dynamic loader will automatically bind symbols when the "
- "module is loaded. "
- );
-
- cm->DefineProperty
- ("Fortran_FORMAT", cmProperty::TARGET,
- "Set to FIXED or FREE to indicate the Fortran source layout.",
- "This property tells CMake whether the Fortran source files "
- "in a target use fixed-format or free-format. "
- "CMake will pass the corresponding format flag to the compiler. "
- "Use the source-specific Fortran_FORMAT property to change the "
- "format of a specific source file. "
- "If the variable CMAKE_Fortran_FORMAT is set when a target "
- "is created its value is used to initialize this property.");
-
- cm->DefineProperty
- ("Fortran_MODULE_DIRECTORY", cmProperty::TARGET,
- "Specify output directory for Fortran modules provided by the target.",
- "If the target contains Fortran source files that provide modules "
- "and the compiler supports a module output directory this specifies "
- "the directory in which the modules will be placed. "
- "When this property is not set the modules will be placed in the "
- "build directory corresponding to the target's source directory. "
- "If the variable CMAKE_Fortran_MODULE_DIRECTORY is set when a target "
- "is created its value is used to initialize this property."
- "\n"
- "Note that some compilers will automatically search the module output "
- "directory for modules USEd during compilation but others will not. "
- "If your sources USE modules their location must be specified by "
- "INCLUDE_DIRECTORIES regardless of this property.");
-
- cm->DefineProperty
- ("GNUtoMS", cmProperty::TARGET,
- "Convert GNU import library (.dll.a) to MS format (.lib).",
- "When linking a shared library or executable that exports symbols "
- "using GNU tools on Windows (MinGW/MSYS) with Visual Studio installed "
- "convert the import library (.dll.a) from GNU to MS format (.lib). "
- "Both import libraries will be installed by install(TARGETS) and "
- "exported by install(EXPORT) and export() to be linked by applications "
- "with either GNU- or MS-compatible tools."
- "\n"
- "If the variable CMAKE_GNUtoMS is set when a target "
- "is created its value is used to initialize this property. "
- "The variable must be set prior to the first command that enables "
- "a language such as project() or enable_language(). "
- "CMake provides the variable as an option to the user automatically "
- "when configuring on Windows with GNU tools.");
-
- cm->DefineProperty
- ("XCODE_ATTRIBUTE_<an-attribute>", cmProperty::TARGET,
- "Set Xcode target attributes directly.",
- "Tell the Xcode generator to set '<an-attribute>' to a given value "
- "in the generated Xcode project. Ignored on other generators.");
-
- cm->DefineProperty
- ("GENERATOR_FILE_NAME", cmProperty::TARGET,
- "Generator's file for this target.",
- "An internal property used by some generators to record the name of the "
- "project or dsp file associated with this target. Note that at configure "
- "time, this property is only set for targets created by "
- "include_external_msproject().");
-
- cm->DefineProperty
- ("SOURCES", cmProperty::TARGET,
- "Source names specified for a target.",
- "Read-only list of sources specified for a target. "
- "The names returned are suitable for passing to the "
- "set_source_files_properties command.");
-
- cm->DefineProperty
- ("FOLDER", cmProperty::TARGET,
- "Set the folder name. Use to organize targets in an IDE.",
- "Targets with no FOLDER property will appear as top level "
- "entities in IDEs like Visual Studio. Targets with the same "
- "FOLDER property value will appear next to each other in a "
- "folder of that name. To nest folders, use FOLDER values such "
- "as 'GUI/Dialogs' with '/' characters separating folder levels.");
-
- cm->DefineProperty
- ("PROJECT_LABEL", cmProperty::TARGET,
- "Change the name of a target in an IDE.",
- "Can be used to change the name of the target in an IDE "
- "like Visual Studio. ");
- cm->DefineProperty
- ("VS_KEYWORD", cmProperty::TARGET,
- "Visual Studio project keyword.",
- "Can be set to change the visual studio keyword, for example "
- "Qt integration works better if this is set to Qt4VSv1.0. ");
- cm->DefineProperty
- ("VS_SCC_PROVIDER", cmProperty::TARGET,
- "Visual Studio Source Code Control Provider.",
- "Can be set to change the visual studio source code control "
- "provider property.");
- cm->DefineProperty
- ("VS_SCC_LOCALPATH", cmProperty::TARGET,
- "Visual Studio Source Code Control Local Path.",
- "Can be set to change the visual studio source code control "
- "local path property.");
- cm->DefineProperty
- ("VS_SCC_PROJECTNAME", cmProperty::TARGET,
- "Visual Studio Source Code Control Project.",
- "Can be set to change the visual studio source code control "
- "project name property.");
- cm->DefineProperty
- ("VS_SCC_AUXPATH", cmProperty::TARGET,
- "Visual Studio Source Code Control Aux Path.",
- "Can be set to change the visual studio source code control "
- "auxpath property.");
- cm->DefineProperty
- ("VS_GLOBAL_PROJECT_TYPES", cmProperty::TARGET,
- "Visual Studio project type(s).",
- "Can be set to one or more UUIDs recognized by Visual Studio "
- "to indicate the type of project. This value is copied "
- "verbatim into the generated project file. Example for a "
- "managed C++ unit testing project:\n"
- " {3AC096D0-A1C2-E12C-1390-A8335801FDAB};"
- "{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}\n"
- "UUIDs are semicolon-delimited.");
- cm->DefineProperty
- ("VS_GLOBAL_KEYWORD", cmProperty::TARGET,
- "Visual Studio project keyword.",
- "Sets the \"keyword\" attribute for a generated Visual Studio "
- "project. Defaults to \"Win32Proj\". You may wish to override "
- "this value with \"ManagedCProj\", for example, in a Visual "
- "Studio managed C++ unit test project.");
- cm->DefineProperty
- ("VS_GLOBAL_ROOTNAMESPACE", cmProperty::TARGET,
- "Visual Studio project root namespace.",
- "Sets the \"RootNamespace\" attribute for a generated Visual Studio "
- "project. The attribute will be generated only if this is set.");
- cm->DefineProperty
- ("VS_DOTNET_TARGET_FRAMEWORK_VERSION", cmProperty::TARGET,
- "Specify the .NET target framework version.",
- "Used to specify the .NET target framework version for C++/CLI. "
- "For example, \"v4.5\".");
- cm->DefineProperty
- ("VS_DOTNET_REFERENCES", cmProperty::TARGET,
- "Visual Studio managed project .NET references",
- "Adds one or more semicolon-delimited .NET references to a "
- "generated Visual Studio project. For example, \"System;"
- "System.Windows.Forms\".");
- cm->DefineProperty
- ("VS_WINRT_EXTENSIONS", cmProperty::TARGET,
- "Visual Studio project C++/CX language extensions for Windows Runtime",
- "Can be set to enable C++/CX language extensions.");
- cm->DefineProperty
- ("VS_WINRT_REFERENCES", cmProperty::TARGET,
- "Visual Studio project Windows Runtime Metadata references",
- "Adds one or more semicolon-delimited WinRT references to a "
- "generated Visual Studio project. For example, \"Windows;"
- "Windows.UI.Core\".");
- cm->DefineProperty
- ("VS_GLOBAL_<variable>", cmProperty::TARGET,
- "Visual Studio project-specific global variable.",
- "Tell the Visual Studio generator to set the global variable "
- "'<variable>' to a given value in the generated Visual Studio "
- "project. Ignored on other generators. Qt integration works "
- "better if VS_GLOBAL_QtVersion is set to the version "
- "FindQt4.cmake found. For example, \"4.7.3\"");
-
-#define CM_TARGET_FILE_TYPES_DOC \
- "There are three kinds of target files that may be built: " \
- "archive, library, and runtime. " \
- "Executables are always treated as runtime targets. " \
- "Static libraries are always treated as archive targets. " \
- "Module libraries are always treated as library targets. " \
- "For non-DLL platforms shared libraries are treated as library " \
- "targets. " \
- "For DLL platforms the DLL part of a shared library is treated as " \
- "a runtime target and the corresponding import library is treated as " \
- "an archive target. " \
- "All Windows-based systems including Cygwin are DLL platforms."
-
-#define CM_TARGET_OUTDIR_DOC(TYPE, type) \
- "This property specifies the directory into which " #type " target " \
- "files should be built. " \
- "Multi-configuration generators (VS, Xcode) append " \
- "a per-configuration subdirectory to the specified directory. " \
- CM_TARGET_FILE_TYPES_DOC " " \
- "This property is initialized by the value of the variable " \
- "CMAKE_" #TYPE "_OUTPUT_DIRECTORY if it is set when a target is created."
-
-#define CM_TARGET_OUTDIR_CONFIG_DOC(TYPE) \
- "This is a per-configuration version of " #TYPE "_OUTPUT_DIRECTORY, " \
- "but multi-configuration generators (VS, Xcode) do NOT append " \
- "a per-configuration subdirectory to the specified directory. " \
- "This property is initialized by the value of the variable " \
- "CMAKE_" #TYPE "_OUTPUT_DIRECTORY_<CONFIG> " \
- "if it is set when a target is created."
-
- cm->DefineProperty
- ("ARCHIVE_OUTPUT_DIRECTORY", cmProperty::TARGET,
- "Output directory in which to build ARCHIVE target files.",
- CM_TARGET_OUTDIR_DOC(ARCHIVE, archive));
- cm->DefineProperty
- ("ARCHIVE_OUTPUT_DIRECTORY_<CONFIG>", cmProperty::TARGET,
- "Per-configuration output directory for ARCHIVE target files.",
- CM_TARGET_OUTDIR_CONFIG_DOC(ARCHIVE));
- cm->DefineProperty
- ("LIBRARY_OUTPUT_DIRECTORY", cmProperty::TARGET,
- "Output directory in which to build LIBRARY target files.",
- CM_TARGET_OUTDIR_DOC(LIBRARY, library));
- cm->DefineProperty
- ("LIBRARY_OUTPUT_DIRECTORY_<CONFIG>", cmProperty::TARGET,
- "Per-configuration output directory for LIBRARY target files.",
- CM_TARGET_OUTDIR_CONFIG_DOC(LIBRARY));
- cm->DefineProperty
- ("RUNTIME_OUTPUT_DIRECTORY", cmProperty::TARGET,
- "Output directory in which to build RUNTIME target files.",
- CM_TARGET_OUTDIR_DOC(RUNTIME, runtime));
- cm->DefineProperty
- ("RUNTIME_OUTPUT_DIRECTORY_<CONFIG>", cmProperty::TARGET,
- "Per-configuration output directory for RUNTIME target files.",
- CM_TARGET_OUTDIR_CONFIG_DOC(RUNTIME));
-
- cm->DefineProperty
- ("PDB_OUTPUT_DIRECTORY", cmProperty::TARGET,
- "Output directory for MS debug symbols .pdb file from linker.",
- "This property specifies the directory into which the MS debug symbols "
- "will be placed by the linker. "
- "This property is initialized by the value of the variable "
- "CMAKE_PDB_OUTPUT_DIRECTORY if it is set when a target is created."
- "\n"
- "This property is not implemented by the Visual Studio 6 generator.");
- cm->DefineProperty
- ("PDB_OUTPUT_DIRECTORY_<CONFIG>", cmProperty::TARGET,
- "Per-configuration output directory for MS debug symbols .pdb files.",
- "This is a per-configuration version of PDB_OUTPUT_DIRECTORY, "
- "but multi-configuration generators (VS, Xcode) do NOT append "
- "a per-configuration subdirectory to the specified directory. "
- "This property is initialized by the value of the variable "
- "CMAKE_PDB_OUTPUT_DIRECTORY_<CONFIG> "
- "if it is set when a target is created."
- "\n"
- "This property is not implemented by the Visual Studio 6 generator.");
-
- cm->DefineProperty
- ("ARCHIVE_OUTPUT_NAME", cmProperty::TARGET,
- "Output name for ARCHIVE target files.",
- "This property specifies the base name for archive target files. "
- "It overrides OUTPUT_NAME and OUTPUT_NAME_<CONFIG> properties. "
- CM_TARGET_FILE_TYPES_DOC);
- cm->DefineProperty
- ("ARCHIVE_OUTPUT_NAME_<CONFIG>", cmProperty::TARGET,
- "Per-configuration output name for ARCHIVE target files.",
- "This is the configuration-specific version of ARCHIVE_OUTPUT_NAME.");
- cm->DefineProperty
- ("LIBRARY_OUTPUT_NAME", cmProperty::TARGET,
- "Output name for LIBRARY target files.",
- "This property specifies the base name for library target files. "
- "It overrides OUTPUT_NAME and OUTPUT_NAME_<CONFIG> properties. "
- CM_TARGET_FILE_TYPES_DOC);
- cm->DefineProperty
- ("LIBRARY_OUTPUT_NAME_<CONFIG>", cmProperty::TARGET,
- "Per-configuration output name for LIBRARY target files.",
- "This is the configuration-specific version of LIBRARY_OUTPUT_NAME.");
- cm->DefineProperty
- ("RUNTIME_OUTPUT_NAME", cmProperty::TARGET,
- "Output name for RUNTIME target files.",
- "This property specifies the base name for runtime target files. "
- "It overrides OUTPUT_NAME and OUTPUT_NAME_<CONFIG> properties. "
- CM_TARGET_FILE_TYPES_DOC);
- cm->DefineProperty
- ("RUNTIME_OUTPUT_NAME_<CONFIG>", cmProperty::TARGET,
- "Per-configuration output name for RUNTIME target files.",
- "This is the configuration-specific version of RUNTIME_OUTPUT_NAME.");
+ "", "", true);
}
void cmTarget::SetType(TargetType type, const char* name)
@@ -1620,27 +256,34 @@ void cmTarget::SetMakefile(cmMakefile* mf)
this->IsApple = this->Makefile->IsOn("APPLE");
// Setup default property values.
- this->SetPropertyDefault("INSTALL_NAME_DIR", 0);
- this->SetPropertyDefault("INSTALL_RPATH", "");
- this->SetPropertyDefault("INSTALL_RPATH_USE_LINK_PATH", "OFF");
- this->SetPropertyDefault("SKIP_BUILD_RPATH", "OFF");
- this->SetPropertyDefault("BUILD_WITH_INSTALL_RPATH", "OFF");
- this->SetPropertyDefault("ARCHIVE_OUTPUT_DIRECTORY", 0);
- this->SetPropertyDefault("LIBRARY_OUTPUT_DIRECTORY", 0);
- this->SetPropertyDefault("RUNTIME_OUTPUT_DIRECTORY", 0);
- this->SetPropertyDefault("PDB_OUTPUT_DIRECTORY", 0);
- this->SetPropertyDefault("Fortran_FORMAT", 0);
- this->SetPropertyDefault("Fortran_MODULE_DIRECTORY", 0);
- this->SetPropertyDefault("GNUtoMS", 0);
- this->SetPropertyDefault("OSX_ARCHITECTURES", 0);
- this->SetPropertyDefault("AUTOMOC", 0);
- this->SetPropertyDefault("AUTOMOC_MOC_OPTIONS", 0);
- this->SetPropertyDefault("LINK_DEPENDS_NO_SHARED", 0);
- this->SetPropertyDefault("LINK_INTERFACE_LIBRARIES", 0);
- this->SetPropertyDefault("WIN32_EXECUTABLE", 0);
- this->SetPropertyDefault("MACOSX_BUNDLE", 0);
- this->SetPropertyDefault("MACOSX_RPATH", 0);
-
+ if (this->GetType() != INTERFACE_LIBRARY)
+ {
+ this->SetPropertyDefault("INSTALL_NAME_DIR", 0);
+ this->SetPropertyDefault("INSTALL_RPATH", "");
+ this->SetPropertyDefault("INSTALL_RPATH_USE_LINK_PATH", "OFF");
+ this->SetPropertyDefault("SKIP_BUILD_RPATH", "OFF");
+ this->SetPropertyDefault("BUILD_WITH_INSTALL_RPATH", "OFF");
+ this->SetPropertyDefault("ARCHIVE_OUTPUT_DIRECTORY", 0);
+ this->SetPropertyDefault("LIBRARY_OUTPUT_DIRECTORY", 0);
+ this->SetPropertyDefault("RUNTIME_OUTPUT_DIRECTORY", 0);
+ this->SetPropertyDefault("PDB_OUTPUT_DIRECTORY", 0);
+ this->SetPropertyDefault("Fortran_FORMAT", 0);
+ this->SetPropertyDefault("Fortran_MODULE_DIRECTORY", 0);
+ this->SetPropertyDefault("GNUtoMS", 0);
+ this->SetPropertyDefault("OSX_ARCHITECTURES", 0);
+ this->SetPropertyDefault("AUTOMOC", 0);
+ this->SetPropertyDefault("AUTOUIC", 0);
+ this->SetPropertyDefault("AUTORCC", 0);
+ this->SetPropertyDefault("AUTOMOC_MOC_OPTIONS", 0);
+ this->SetPropertyDefault("AUTOUIC_OPTIONS", 0);
+ this->SetPropertyDefault("AUTORCC_OPTIONS", 0);
+ this->SetPropertyDefault("LINK_DEPENDS_NO_SHARED", 0);
+ this->SetPropertyDefault("LINK_INTERFACE_LIBRARIES", 0);
+ this->SetPropertyDefault("WIN32_EXECUTABLE", 0);
+ this->SetPropertyDefault("MACOSX_BUNDLE", 0);
+ this->SetPropertyDefault("MACOSX_RPATH", 0);
+ this->SetPropertyDefault("NO_SYSTEM_FROM_IMPORTED", 0);
+ }
// Collect the set of configuration types.
std::vector<std::string> configNames;
@@ -1652,6 +295,7 @@ void cmTarget::SetMakefile(cmMakefile* mf)
"LIBRARY_OUTPUT_DIRECTORY_",
"RUNTIME_OUTPUT_DIRECTORY_",
"PDB_OUTPUT_DIRECTORY_",
+ "MAP_IMPORTED_CONFIG_",
0};
for(std::vector<std::string>::iterator ci = configNames.begin();
ci != configNames.end(); ++ci)
@@ -1659,6 +303,11 @@ void cmTarget::SetMakefile(cmMakefile* mf)
std::string configUpper = cmSystemTools::UpperCase(*ci);
for(const char** p = configProps; *p; ++p)
{
+ if (this->TargetTypeValue == INTERFACE_LIBRARY
+ && strcmp(*p, "MAP_IMPORTED_CONFIG_") != 0)
+ {
+ continue;
+ }
std::string property = *p;
property += configUpper;
this->SetPropertyDefault(property.c_str(), 0);
@@ -1668,9 +317,9 @@ void cmTarget::SetMakefile(cmMakefile* mf)
// variable only for non-executable targets. This preserves
// compatibility with previous CMake versions in which executables
// did not support this variable. Projects may still specify the
- // property directly. TODO: Make this depend on backwards
- // compatibility setting.
- if(this->TargetTypeValue != cmTarget::EXECUTABLE)
+ // property directly.
+ if(this->TargetTypeValue != cmTarget::EXECUTABLE
+ && this->TargetTypeValue != cmTarget::INTERFACE_LIBRARY)
{
std::string property = cmSystemTools::UpperCase(*ci);
property += "_POSTFIX";
@@ -1681,46 +330,54 @@ void cmTarget::SetMakefile(cmMakefile* mf)
// Save the backtrace of target construction.
this->Makefile->GetBacktrace(this->Internal->Backtrace);
- // Initialize the INCLUDE_DIRECTORIES property based on the current value
- // of the same directory property:
- const std::vector<cmValueWithOrigin> parentIncludes =
- this->Makefile->GetIncludeDirectoriesEntries();
-
- for (std::vector<cmValueWithOrigin>::const_iterator it
- = parentIncludes.begin(); it != parentIncludes.end(); ++it)
+ if (!this->IsImported())
{
- this->InsertInclude(*it);
- }
+ // Initialize the INCLUDE_DIRECTORIES property based on the current value
+ // of the same directory property:
+ const std::vector<cmValueWithOrigin> parentIncludes =
+ this->Makefile->GetIncludeDirectoriesEntries();
- const std::set<cmStdString> parentSystemIncludes =
- this->Makefile->GetSystemIncludeDirectories();
+ for (std::vector<cmValueWithOrigin>::const_iterator it
+ = parentIncludes.begin(); it != parentIncludes.end(); ++it)
+ {
+ this->InsertInclude(*it);
+ }
+ const std::set<cmStdString> parentSystemIncludes =
+ this->Makefile->GetSystemIncludeDirectories();
- for (std::set<cmStdString>::const_iterator it
- = parentSystemIncludes.begin();
- it != parentSystemIncludes.end(); ++it)
- {
- this->SystemIncludeDirectories.insert(*it);
- }
+ for (std::set<cmStdString>::const_iterator it
+ = parentSystemIncludes.begin();
+ it != parentSystemIncludes.end(); ++it)
+ {
+ this->SystemIncludeDirectories.insert(*it);
+ }
- const std::vector<cmValueWithOrigin> parentOptions =
- this->Makefile->GetCompileOptionsEntries();
+ const std::vector<cmValueWithOrigin> parentOptions =
+ this->Makefile->GetCompileOptionsEntries();
- for (std::vector<cmValueWithOrigin>::const_iterator it
- = parentOptions.begin(); it != parentOptions.end(); ++it)
- {
- this->InsertCompileOption(*it);
+ for (std::vector<cmValueWithOrigin>::const_iterator it
+ = parentOptions.begin(); it != parentOptions.end(); ++it)
+ {
+ this->InsertCompileOption(*it);
+ }
}
- this->SetPropertyDefault("C_VISIBILITY_PRESET", 0);
- this->SetPropertyDefault("CXX_VISIBILITY_PRESET", 0);
- this->SetPropertyDefault("VISIBILITY_INLINES_HIDDEN", 0);
+ if (this->GetType() != INTERFACE_LIBRARY)
+ {
+ this->SetPropertyDefault("C_VISIBILITY_PRESET", 0);
+ this->SetPropertyDefault("CXX_VISIBILITY_PRESET", 0);
+ this->SetPropertyDefault("VISIBILITY_INLINES_HIDDEN", 0);
+ }
if(this->TargetTypeValue == cmTarget::SHARED_LIBRARY
|| this->TargetTypeValue == cmTarget::MODULE_LIBRARY)
{
this->SetProperty("POSITION_INDEPENDENT_CODE", "True");
}
- this->SetPropertyDefault("POSITION_INDEPENDENT_CODE", 0);
+ if (this->GetType() != INTERFACE_LIBRARY)
+ {
+ this->SetPropertyDefault("POSITION_INDEPENDENT_CODE", 0);
+ }
// Record current policies for later use.
#define CAPTURE_TARGET_POLICY(POLICY) \
@@ -1730,6 +387,36 @@ void cmTarget::SetMakefile(cmMakefile* mf)
CM_FOR_EACH_TARGET_POLICY(CAPTURE_TARGET_POLICY)
#undef CAPTURE_TARGET_POLICY
+
+ if (this->TargetTypeValue == INTERFACE_LIBRARY)
+ {
+ // This policy is checked in a few conditions. The properties relevant
+ // to the policy are always ignored for INTERFACE_LIBRARY targets,
+ // so ensure that the conditions don't lead to nonsense.
+ this->PolicyStatusCMP0022 = cmPolicies::NEW;
+ }
+
+ this->SetPropertyDefault("JOB_POOL_COMPILE", 0);
+ this->SetPropertyDefault("JOB_POOL_LINK", 0);
+}
+
+//----------------------------------------------------------------------------
+void cmTarget::AddUtility(const char *u, cmMakefile *makefile)
+{
+ if(this->Utilities.insert(u).second && makefile)
+ {
+ makefile->GetBacktrace(UtilityBacktraces[u]);
+ }
+}
+
+//----------------------------------------------------------------------------
+cmListFileBacktrace const* cmTarget::GetUtilityBacktrace(const char *u) const
+{
+ std::map<cmStdString, cmListFileBacktrace>::const_iterator i =
+ this->UtilityBacktraces.find(u);
+ if(i == this->UtilityBacktraces.end()) return 0;
+
+ return &i->second;
}
//----------------------------------------------------------------------------
@@ -1782,24 +469,25 @@ std::string cmTarget::GetSupportDirectory() const
}
//----------------------------------------------------------------------------
-bool cmTarget::IsExecutableWithExports()
+bool cmTarget::IsExecutableWithExports() const
{
return (this->GetType() == cmTarget::EXECUTABLE &&
this->GetPropertyAsBool("ENABLE_EXPORTS"));
}
//----------------------------------------------------------------------------
-bool cmTarget::IsLinkable()
+bool cmTarget::IsLinkable() const
{
return (this->GetType() == cmTarget::STATIC_LIBRARY ||
this->GetType() == cmTarget::SHARED_LIBRARY ||
this->GetType() == cmTarget::MODULE_LIBRARY ||
this->GetType() == cmTarget::UNKNOWN_LIBRARY ||
+ this->GetType() == cmTarget::INTERFACE_LIBRARY ||
this->IsExecutableWithExports());
}
//----------------------------------------------------------------------------
-bool cmTarget::HasImportLibrary()
+bool cmTarget::HasImportLibrary() const
{
return (this->DLLPlatform &&
(this->GetType() == cmTarget::SHARED_LIBRARY ||
@@ -1807,7 +495,7 @@ bool cmTarget::HasImportLibrary()
}
//----------------------------------------------------------------------------
-bool cmTarget::IsFrameworkOnApple()
+bool cmTarget::IsFrameworkOnApple() const
{
return (this->GetType() == cmTarget::SHARED_LIBRARY &&
this->Makefile->IsOn("APPLE") &&
@@ -1815,7 +503,7 @@ bool cmTarget::IsFrameworkOnApple()
}
//----------------------------------------------------------------------------
-bool cmTarget::IsAppBundleOnApple()
+bool cmTarget::IsAppBundleOnApple() const
{
return (this->GetType() == cmTarget::EXECUTABLE &&
this->Makefile->IsOn("APPLE") &&
@@ -1823,7 +511,7 @@ bool cmTarget::IsAppBundleOnApple()
}
//----------------------------------------------------------------------------
-bool cmTarget::IsCFBundleOnApple()
+bool cmTarget::IsCFBundleOnApple() const
{
return (this->GetType() == cmTarget::MODULE_LIBRARY &&
this->Makefile->IsOn("APPLE") &&
@@ -1831,292 +519,13 @@ bool cmTarget::IsCFBundleOnApple()
}
//----------------------------------------------------------------------------
-bool cmTarget::IsBundleOnApple()
+bool cmTarget::IsBundleOnApple() const
{
return this->IsFrameworkOnApple() || this->IsAppBundleOnApple() ||
this->IsCFBundleOnApple();
}
//----------------------------------------------------------------------------
-class cmTargetTraceDependencies
-{
-public:
- cmTargetTraceDependencies(cmTarget* target, cmTargetInternals* internal);
- void Trace();
-private:
- cmTarget* Target;
- cmTargetInternals* Internal;
- cmMakefile* Makefile;
- cmGlobalGenerator* GlobalGenerator;
- typedef cmTargetInternals::SourceEntry SourceEntry;
- SourceEntry* CurrentEntry;
- std::queue<cmSourceFile*> SourceQueue;
- std::set<cmSourceFile*> SourcesQueued;
- typedef std::map<cmStdString, cmSourceFile*> NameMapType;
- NameMapType NameMap;
-
- void QueueSource(cmSourceFile* sf);
- void FollowName(std::string const& name);
- void FollowNames(std::vector<std::string> const& names);
- bool IsUtility(std::string const& dep);
- void CheckCustomCommand(cmCustomCommand const& cc);
- void CheckCustomCommands(const std::vector<cmCustomCommand>& commands);
-};
-
-//----------------------------------------------------------------------------
-cmTargetTraceDependencies
-::cmTargetTraceDependencies(cmTarget* target, cmTargetInternals* internal):
- Target(target), Internal(internal)
-{
- // Convenience.
- this->Makefile = this->Target->GetMakefile();
- this->GlobalGenerator =
- this->Makefile->GetLocalGenerator()->GetGlobalGenerator();
- this->CurrentEntry = 0;
-
- // Queue all the source files already specified for the target.
- std::vector<cmSourceFile*> const& sources = this->Target->GetSourceFiles();
- for(std::vector<cmSourceFile*>::const_iterator si = sources.begin();
- si != sources.end(); ++si)
- {
- this->QueueSource(*si);
- }
-
- // Queue pre-build, pre-link, and post-build rule dependencies.
- this->CheckCustomCommands(this->Target->GetPreBuildCommands());
- this->CheckCustomCommands(this->Target->GetPreLinkCommands());
- this->CheckCustomCommands(this->Target->GetPostBuildCommands());
-}
-
-//----------------------------------------------------------------------------
-void cmTargetTraceDependencies::Trace()
-{
- // Process one dependency at a time until the queue is empty.
- while(!this->SourceQueue.empty())
- {
- // Get the next source from the queue.
- cmSourceFile* sf = this->SourceQueue.front();
- this->SourceQueue.pop();
- this->CurrentEntry = &this->Internal->SourceEntries[sf];
-
- // Queue dependencies added explicitly by the user.
- if(const char* additionalDeps = sf->GetProperty("OBJECT_DEPENDS"))
- {
- std::vector<std::string> objDeps;
- cmSystemTools::ExpandListArgument(additionalDeps, objDeps);
- this->FollowNames(objDeps);
- }
-
- // Queue the source needed to generate this file, if any.
- this->FollowName(sf->GetFullPath());
-
- // Queue dependencies added programatically by commands.
- this->FollowNames(sf->GetDepends());
-
- // Queue custom command dependencies.
- if(cmCustomCommand const* cc = sf->GetCustomCommand())
- {
- this->CheckCustomCommand(*cc);
- }
- }
- this->CurrentEntry = 0;
-}
-
-//----------------------------------------------------------------------------
-void cmTargetTraceDependencies::QueueSource(cmSourceFile* sf)
-{
- if(this->SourcesQueued.insert(sf).second)
- {
- this->SourceQueue.push(sf);
-
- // Make sure this file is in the target.
- this->Target->AddSourceFile(sf);
- }
-}
-
-//----------------------------------------------------------------------------
-void cmTargetTraceDependencies::FollowName(std::string const& name)
-{
- NameMapType::iterator i = this->NameMap.find(name);
- if(i == this->NameMap.end())
- {
- // Check if we know how to generate this file.
- cmSourceFile* sf = this->Makefile->GetSourceFileWithOutput(name.c_str());
- NameMapType::value_type entry(name, sf);
- i = this->NameMap.insert(entry).first;
- }
- if(cmSourceFile* sf = i->second)
- {
- // Record the dependency we just followed.
- if(this->CurrentEntry)
- {
- this->CurrentEntry->Depends.push_back(sf);
- }
-
- this->QueueSource(sf);
- }
-}
-
-//----------------------------------------------------------------------------
-void
-cmTargetTraceDependencies::FollowNames(std::vector<std::string> const& names)
-{
- for(std::vector<std::string>::const_iterator i = names.begin();
- i != names.end(); ++i)
- {
- this->FollowName(*i);
- }
-}
-
-//----------------------------------------------------------------------------
-bool cmTargetTraceDependencies::IsUtility(std::string const& dep)
-{
- // Dependencies on targets (utilities) are supposed to be named by
- // just the target name. However for compatibility we support
- // naming the output file generated by the target (assuming there is
- // no output-name property which old code would not have set). In
- // that case the target name will be the file basename of the
- // dependency.
- std::string util = cmSystemTools::GetFilenameName(dep);
- if(cmSystemTools::GetFilenameLastExtension(util) == ".exe")
- {
- util = cmSystemTools::GetFilenameWithoutLastExtension(util);
- }
-
- // Check for a target with this name.
- if(cmTarget* t = this->Makefile->FindTargetToUse(util.c_str()))
- {
- // If we find the target and the dep was given as a full path,
- // then make sure it was not a full path to something else, and
- // the fact that the name matched a target was just a coincidence.
- if(cmSystemTools::FileIsFullPath(dep.c_str()))
- {
- if(t->GetType() >= cmTarget::EXECUTABLE &&
- t->GetType() <= cmTarget::MODULE_LIBRARY)
- {
- // This is really only for compatibility so we do not need to
- // worry about configuration names and output names.
- std::string tLocation = t->GetLocation(0);
- tLocation = cmSystemTools::GetFilenamePath(tLocation);
- std::string depLocation = cmSystemTools::GetFilenamePath(dep);
- depLocation = cmSystemTools::CollapseFullPath(depLocation.c_str());
- tLocation = cmSystemTools::CollapseFullPath(tLocation.c_str());
- if(depLocation == tLocation)
- {
- this->Target->AddUtility(util.c_str());
- return true;
- }
- }
- }
- else
- {
- // The original name of the dependency was not a full path. It
- // must name a target, so add the target-level dependency.
- this->Target->AddUtility(util.c_str());
- return true;
- }
- }
-
- // The dependency does not name a target built in this project.
- return false;
-}
-
-//----------------------------------------------------------------------------
-void
-cmTargetTraceDependencies
-::CheckCustomCommand(cmCustomCommand const& cc)
-{
- // Transform command names that reference targets built in this
- // project to corresponding target-level dependencies.
- cmGeneratorExpression ge(cc.GetBacktrace());
-
- // Add target-level dependencies referenced by generator expressions.
- std::set<cmTarget*> targets;
-
- for(cmCustomCommandLines::const_iterator cit = cc.GetCommandLines().begin();
- cit != cc.GetCommandLines().end(); ++cit)
- {
- std::string const& command = *cit->begin();
- // Check for a target with this name.
- if(cmTarget* t = this->Makefile->FindTargetToUse(command.c_str()))
- {
- if(t->GetType() == cmTarget::EXECUTABLE)
- {
- // The command refers to an executable target built in
- // this project. Add the target-level dependency to make
- // sure the executable is up to date before this custom
- // command possibly runs.
- this->Target->AddUtility(command.c_str());
- }
- }
-
- // Check for target references in generator expressions.
- for(cmCustomCommandLine::const_iterator cli = cit->begin();
- cli != cit->end(); ++cli)
- {
- const cmsys::auto_ptr<cmCompiledGeneratorExpression> cge
- = ge.Parse(*cli);
- cge->Evaluate(this->Makefile, 0, true);
- std::set<cmTarget*> geTargets = cge->GetTargets();
- for(std::set<cmTarget*>::const_iterator it = geTargets.begin();
- it != geTargets.end(); ++it)
- {
- targets.insert(*it);
- }
- }
- }
-
- for(std::set<cmTarget*>::iterator ti = targets.begin();
- ti != targets.end(); ++ti)
- {
- this->Target->AddUtility((*ti)->GetName());
- }
-
- // Queue the custom command dependencies.
- std::vector<std::string> const& depends = cc.GetDepends();
- for(std::vector<std::string>::const_iterator di = depends.begin();
- di != depends.end(); ++di)
- {
- std::string const& dep = *di;
- if(!this->IsUtility(dep))
- {
- // The dependency does not name a target and may be a file we
- // know how to generate. Queue it.
- this->FollowName(dep);
- }
- }
-}
-
-//----------------------------------------------------------------------------
-void
-cmTargetTraceDependencies
-::CheckCustomCommands(const std::vector<cmCustomCommand>& commands)
-{
- for(std::vector<cmCustomCommand>::const_iterator cli = commands.begin();
- cli != commands.end(); ++cli)
- {
- this->CheckCustomCommand(*cli);
- }
-}
-
-//----------------------------------------------------------------------------
-void cmTarget::TraceDependencies()
-{
- // CMake-generated targets have no dependencies to trace. Normally tracing
- // would find nothing anyway, but when building CMake itself the "install"
- // target command ends up referencing the "cmake" target but we do not
- // really want the dependency because "install" depend on "all" anyway.
- if(this->GetType() == cmTarget::GLOBAL_TARGET)
- {
- return;
- }
-
- // Use a helper object to trace the dependencies.
- cmTargetTraceDependencies tracer(this, this->Internal.Get());
- tracer.Trace();
-}
-
-//----------------------------------------------------------------------------
bool cmTarget::FindSourceFiles()
{
for(std::vector<cmSourceFile*>::const_iterator
@@ -2139,39 +548,23 @@ bool cmTarget::FindSourceFiles()
}
//----------------------------------------------------------------------------
-std::vector<cmSourceFile*> const& cmTarget::GetSourceFiles()
+void cmTarget::GetSourceFiles(std::vector<cmSourceFile*> &files) const
{
- return this->SourceFiles;
+ assert(this->GetType() != INTERFACE_LIBRARY);
+ files = this->SourceFiles;
}
//----------------------------------------------------------------------------
void cmTarget::AddSourceFile(cmSourceFile* sf)
{
- typedef cmTargetInternals::SourceEntriesType SourceEntriesType;
- SourceEntriesType::iterator i = this->Internal->SourceEntries.find(sf);
- if(i == this->Internal->SourceEntries.end())
+ if (std::find(this->SourceFiles.begin(), this->SourceFiles.end(), sf)
+ == this->SourceFiles.end())
{
- typedef cmTargetInternals::SourceEntry SourceEntry;
- SourceEntriesType::value_type entry(sf, SourceEntry());
- i = this->Internal->SourceEntries.insert(entry).first;
this->SourceFiles.push_back(sf);
}
}
//----------------------------------------------------------------------------
-std::vector<cmSourceFile*> const*
-cmTarget::GetSourceDepends(cmSourceFile* sf)
-{
- typedef cmTargetInternals::SourceEntriesType SourceEntriesType;
- SourceEntriesType::iterator i = this->Internal->SourceEntries.find(sf);
- if(i != this->Internal->SourceEntries.end())
- {
- return &i->second.Depends;
- }
- return 0;
-}
-
-//----------------------------------------------------------------------------
void cmTarget::AddSources(std::vector<std::string> const& srcs)
{
for(std::vector<std::string>::const_iterator i = srcs.begin();
@@ -2197,6 +590,38 @@ cmSourceFile* cmTarget::AddSource(const char* s)
// For backwards compatibility replace varibles in source names.
// This should eventually be removed.
this->Makefile->ExpandVariablesInString(src);
+ if (src != s)
+ {
+ cmOStringStream e;
+ bool noMessage = false;
+ cmake::MessageType messageType = cmake::AUTHOR_WARNING;
+ switch(this->Makefile->GetPolicyStatus(cmPolicies::CMP0049))
+ {
+ case cmPolicies::WARN:
+ e << (this->Makefile->GetPolicies()
+ ->GetPolicyWarning(cmPolicies::CMP0049)) << "\n";
+ break;
+ case cmPolicies::OLD:
+ noMessage = true;
+ break;
+ case cmPolicies::REQUIRED_ALWAYS:
+ case cmPolicies::REQUIRED_IF_USED:
+ case cmPolicies::NEW:
+ messageType = cmake::FATAL_ERROR;
+ }
+ if (!noMessage)
+ {
+ e << "Legacy variable expansion in source file \""
+ << s << "\" expanded to \"" << src << "\" in target \""
+ << this->GetName() << "\". This behavior will be removed in a "
+ "future version of CMake.";
+ this->Makefile->IssueMessage(messageType, e.str().c_str());
+ if (messageType == cmake::FATAL_ERROR)
+ {
+ return 0;
+ }
+ }
+ }
cmSourceFile* sf = this->Makefile->GetOrCreateSource(src.c_str());
this->AddSourceFile(sf);
@@ -2206,7 +631,7 @@ cmSourceFile* cmTarget::AddSource(const char* s)
//----------------------------------------------------------------------------
void cmTarget::ProcessSourceExpression(std::string const& expr)
{
- if(strncmp(expr.c_str(), "$<TARGET_OBJECTS:", 17) == 0 &&
+ if(cmHasLiteralPrefix(expr.c_str(), "$<TARGET_OBJECTS:") &&
expr[expr.size()-1] == '>')
{
std::string objLibName = expr.substr(17, expr.size()-18);
@@ -2223,7 +648,7 @@ void cmTarget::ProcessSourceExpression(std::string const& expr)
//----------------------------------------------------------------------------
struct cmTarget::SourceFileFlags
-cmTarget::GetTargetSourceFileFlags(const cmSourceFile* sf)
+cmTarget::GetTargetSourceFileFlags(const cmSourceFile* sf) const
{
struct SourceFileFlags flags;
this->ConstructSourceFileFlags();
@@ -2237,7 +662,7 @@ cmTarget::GetTargetSourceFileFlags(const cmSourceFile* sf)
}
//----------------------------------------------------------------------------
-void cmTarget::ConstructSourceFileFlags()
+void cmTarget::ConstructSourceFileFlags() const
{
if(this->Internal->SourceFileFlagsConstructed)
{
@@ -2299,7 +724,8 @@ void cmTarget::ConstructSourceFileFlags()
// Handle the MACOSX_PACKAGE_LOCATION property on source files that
// were not listed in one of the other lists.
- std::vector<cmSourceFile*> const& sources = this->GetSourceFiles();
+ std::vector<cmSourceFile*> sources;
+ this->GetSourceFiles(sources);
for(std::vector<cmSourceFile*>::const_iterator si = sources.begin();
si != sources.end(); ++si)
{
@@ -2353,13 +779,13 @@ void cmTarget::AddLinkDirectory(const char* d)
}
//----------------------------------------------------------------------------
-const std::vector<std::string>& cmTarget::GetLinkDirectories()
+const std::vector<std::string>& cmTarget::GetLinkDirectories() const
{
return this->LinkDirectories;
}
//----------------------------------------------------------------------------
-cmTarget::LinkLibraryType cmTarget::ComputeLinkType(const char* config)
+cmTarget::LinkLibraryType cmTarget::ComputeLinkType(const char* config) const
{
// No configuration is always optimized.
if(!(config && *config))
@@ -2415,15 +841,16 @@ void cmTarget::ClearDependencyInformation( cmMakefile& mf,
}
//----------------------------------------------------------------------------
-bool cmTarget::NameResolvesToFramework(const std::string& libname)
+bool cmTarget::NameResolvesToFramework(const std::string& libname) const
{
- return this->GetMakefile()->GetLocalGenerator()->GetGlobalGenerator()->
+ return this->Makefile->GetLocalGenerator()->GetGlobalGenerator()->
NameResolvesToFramework(libname);
}
//----------------------------------------------------------------------------
void cmTarget::GetDirectLinkLibraries(const char *config,
- std::vector<std::string> &libs, cmTarget *head)
+ std::vector<std::string> &libs,
+ cmTarget const* head) const
{
const char *prop = this->GetProperty("LINK_LIBRARIES");
if (prop)
@@ -2455,8 +882,32 @@ void cmTarget::GetDirectLinkLibraries(const char *config,
}
//----------------------------------------------------------------------------
+void cmTarget::GetInterfaceLinkLibraries(const char *config,
+ std::vector<std::string> &libs,
+ cmTarget const* head) const
+{
+ const char *prop = this->GetProperty("INTERFACE_LINK_LIBRARIES");
+ if (prop)
+ {
+ cmListFileBacktrace lfbt;
+ cmGeneratorExpression ge(lfbt);
+ const cmsys::auto_ptr<cmCompiledGeneratorExpression> cge = ge.Parse(prop);
+
+ cmGeneratorExpressionDAGChecker dagChecker(lfbt,
+ this->GetName(),
+ "INTERFACE_LINK_LIBRARIES", 0, 0);
+ cmSystemTools::ExpandListArgument(cge->Evaluate(this->Makefile,
+ config,
+ false,
+ head,
+ &dagChecker),
+ libs);
+ }
+}
+
+//----------------------------------------------------------------------------
std::string cmTarget::GetDebugGeneratorExpressions(const std::string &value,
- cmTarget::LinkLibraryType llt)
+ cmTarget::LinkLibraryType llt) const
{
if (llt == GENERAL)
{
@@ -2554,14 +1005,8 @@ void cmTarget::AddLinkLibrary(cmMakefile& mf,
const char *target, const char* lib,
LinkLibraryType llt)
{
- // Never add a self dependency, even if the user asks for it.
- if(strcmp( target, lib ) == 0)
- {
- return;
- }
-
- {
cmTarget *tgt = this->Makefile->FindTargetToUse(lib);
+ {
const bool isNonImportedTarget = tgt && !tgt->IsImported();
const std::string libName = (isNonImportedTarget && llt != GENERAL)
@@ -2572,7 +1017,9 @@ void cmTarget::AddLinkLibrary(cmMakefile& mf,
llt).c_str());
}
- if (cmGeneratorExpression::Find(lib) != std::string::npos)
+ if (cmGeneratorExpression::Find(lib) != std::string::npos
+ || (tgt && tgt->GetType() == INTERFACE_LIBRARY)
+ || (strcmp( target, lib ) == 0))
{
return;
}
@@ -2647,39 +1094,6 @@ cmTarget::AddSystemIncludeDirectories(const std::vector<std::string> &incs)
}
//----------------------------------------------------------------------------
-void cmTarget::FinalizeSystemIncludeDirectories()
-{
- for (std::vector<cmValueWithOrigin>::const_iterator
- it = this->Internal->LinkInterfacePropertyEntries.begin(),
- end = this->Internal->LinkInterfacePropertyEntries.end();
- it != end; ++it)
- {
- {
- cmListFileBacktrace lfbt;
- cmGeneratorExpression ge(lfbt);
- cmsys::auto_ptr<cmCompiledGeneratorExpression> cge =
- ge.Parse(it->Value);
- std::string targetName = cge->Evaluate(this->Makefile, 0,
- false, this, 0, 0);
- if (!this->Makefile->FindTargetToUse(targetName.c_str()))
- {
- continue;
- }
- }
- std::string includeGenex = "$<TARGET_PROPERTY:" +
- it->Value + ",INTERFACE_SYSTEM_INCLUDE_DIRECTORIES>";
- if (cmGeneratorExpression::Find(it->Value) != std::string::npos)
- {
- // Because it->Value is a generator expression, ensure that it
- // evaluates to the non-empty string before being used in the
- // TARGET_PROPERTY expression.
- includeGenex = "$<$<BOOL:" + it->Value + ">:" + includeGenex + ">";
- }
- this->SystemIncludeDirectories.insert(includeGenex);
- }
-}
-
-//----------------------------------------------------------------------------
void
cmTarget::AnalyzeLibDependencies( const cmMakefile& mf )
{
@@ -2973,12 +1387,57 @@ void cmTarget::GatherDependencies( const cmMakefile& mf,
}
//----------------------------------------------------------------------------
+static bool whiteListedInterfaceProperty(const char *prop)
+{
+ if(cmHasLiteralPrefix(prop, "INTERFACE_"))
+ {
+ return true;
+ }
+ static const char* builtIns[] = {
+ // ###: This must remain sorted. It is processed with a binary search.
+ "COMPATIBLE_INTERFACE_BOOL",
+ "COMPATIBLE_INTERFACE_NUMBER_MAX",
+ "COMPATIBLE_INTERFACE_NUMBER_MIN",
+ "COMPATIBLE_INTERFACE_STRING",
+ "EXPORT_NAME",
+ "IMPORTED",
+ "NAME",
+ "TYPE"
+ };
+
+ if (std::binary_search(cmArrayBegin(builtIns),
+ cmArrayEnd(builtIns),
+ prop,
+ cmStrCmp(prop)))
+ {
+ return true;
+ }
+
+ if (cmHasLiteralPrefix(prop, "MAP_IMPORTED_CONFIG_"))
+ {
+ return true;
+ }
+
+ return false;
+}
+
+//----------------------------------------------------------------------------
void cmTarget::SetProperty(const char* prop, const char* value)
{
if (!prop)
{
return;
}
+ if (this->GetType() == INTERFACE_LIBRARY
+ && !whiteListedInterfaceProperty(prop))
+ {
+ cmOStringStream e;
+ e << "INTERFACE_LIBRARY targets may only have whitelisted properties. "
+ "The property \"" << prop << "\" is not allowed.";
+ this->Makefile->IssueMessage(cmake::FATAL_ERROR, e.str().c_str());
+ return;
+ }
+
if (strcmp(prop, "NAME") == 0)
{
cmOStringStream e;
@@ -3029,16 +1488,12 @@ void cmTarget::SetProperty(const char* prop, const char* value)
}
if (strcmp(prop, "LINK_LIBRARIES") == 0)
{
- this->Internal->LinkInterfacePropertyEntries.clear();
- if (cmGeneratorExpression::IsValidTargetName(value)
- || cmGeneratorExpression::Find(value) != std::string::npos)
- {
- cmListFileBacktrace lfbt;
- this->Makefile->GetBacktrace(lfbt);
- cmValueWithOrigin entry(value, lfbt);
- this->Internal->LinkInterfacePropertyEntries.push_back(entry);
- }
- // Fall through
+ this->Internal->LinkImplementationPropertyEntries.clear();
+ cmListFileBacktrace lfbt;
+ this->Makefile->GetBacktrace(lfbt);
+ cmValueWithOrigin entry(value, lfbt);
+ this->Internal->LinkImplementationPropertyEntries.push_back(entry);
+ return;
}
this->Properties.SetProperty(prop, value, cmProperty::TARGET);
this->MaybeInvalidatePropertyCache(prop);
@@ -3052,6 +1507,15 @@ void cmTarget::AppendProperty(const char* prop, const char* value,
{
return;
}
+ if (this->GetType() == INTERFACE_LIBRARY
+ && !whiteListedInterfaceProperty(prop))
+ {
+ cmOStringStream e;
+ e << "INTERFACE_LIBRARY targets may only have whitelisted properties. "
+ "The property \"" << prop << "\" is not allowed.";
+ this->Makefile->IssueMessage(cmake::FATAL_ERROR, e.str().c_str());
+ return;
+ }
if (strcmp(prop, "NAME") == 0)
{
cmOStringStream e;
@@ -3096,22 +1560,18 @@ void cmTarget::AppendProperty(const char* prop, const char* value,
}
if (strcmp(prop, "LINK_LIBRARIES") == 0)
{
- if (cmGeneratorExpression::IsValidTargetName(value)
- || cmGeneratorExpression::Find(value) != std::string::npos)
- {
- cmListFileBacktrace lfbt;
- this->Makefile->GetBacktrace(lfbt);
- cmValueWithOrigin entry(value, lfbt);
- this->Internal->LinkInterfacePropertyEntries.push_back(entry);
- }
- // Fall through
+ cmListFileBacktrace lfbt;
+ this->Makefile->GetBacktrace(lfbt);
+ cmValueWithOrigin entry(value, lfbt);
+ this->Internal->LinkImplementationPropertyEntries.push_back(entry);
+ return;
}
this->Properties.AppendProperty(prop, value, cmProperty::TARGET, asString);
this->MaybeInvalidatePropertyCache(prop);
}
//----------------------------------------------------------------------------
-const char* cmTarget::GetExportName()
+const char* cmTarget::GetExportName() const
{
const char *exportName = this->GetProperty("EXPORT_NAME");
@@ -3136,6 +1596,7 @@ void cmTarget::AppendBuildInterfaceIncludes()
if(this->GetType() != cmTarget::SHARED_LIBRARY &&
this->GetType() != cmTarget::STATIC_LIBRARY &&
this->GetType() != cmTarget::MODULE_LIBRARY &&
+ this->GetType() != cmTarget::INTERFACE_LIBRARY &&
!this->IsExecutableWithExports())
{
return;
@@ -3190,21 +1651,16 @@ void cmTarget::InsertCompileOption(const cmValueWithOrigin &entry,
}
//----------------------------------------------------------------------------
-void cmTarget::InsertCompileDefinition(const cmValueWithOrigin &entry,
- bool before)
+void cmTarget::InsertCompileDefinition(const cmValueWithOrigin &entry)
{
cmGeneratorExpression ge(entry.Backtrace);
- std::vector<cmTargetInternals::TargetPropertyEntry*>::iterator position
- = before ? this->Internal->CompileDefinitionsEntries.begin()
- : this->Internal->CompileDefinitionsEntries.end();
-
- this->Internal->CompileDefinitionsEntries.insert(position,
+ this->Internal->CompileDefinitionsEntries.push_back(
new cmTargetInternals::TargetPropertyEntry(ge.Parse(entry.Value)));
}
//----------------------------------------------------------------------------
-static void processIncludeDirectories(cmTarget *tgt,
+static void processIncludeDirectories(cmTarget const* tgt,
const std::vector<cmTargetInternals::TargetPropertyEntry*> &entries,
std::vector<std::string> &includes,
std::set<std::string> &uniqueIncludes,
@@ -3238,19 +1694,56 @@ static void processIncludeDirectories(cmTarget *tgt,
}
}
std::string usedIncludes;
+ cmListFileBacktrace lfbt;
for(std::vector<std::string>::iterator
li = entryIncludes.begin(); li != entryIncludes.end(); ++li)
{
- cmTarget *dependentTarget =
- mf->FindTargetToUse((*it)->TargetName.c_str());
+ std::string targetName = (*it)->TargetName;
+ std::string evaluatedTargetName;
+ {
+ cmGeneratorExpression ge(lfbt);
+ cmsys::auto_ptr<cmCompiledGeneratorExpression> cge =
+ ge.Parse(targetName);
+ evaluatedTargetName = cge->Evaluate(mf, config, false, tgt, 0, 0);
+ }
+
+ cmTarget *dependentTarget = mf->FindTargetToUse(targetName);
const bool fromImported = dependentTarget
&& dependentTarget->IsImported();
- if (fromImported && !cmSystemTools::FileExists(li->c_str()))
+ cmTarget *evaluatedDependentTarget =
+ (targetName != evaluatedTargetName)
+ ? mf->FindTargetToUse(evaluatedTargetName)
+ : 0;
+
+ targetName = evaluatedTargetName;
+
+ const bool fromEvaluatedImported = evaluatedDependentTarget
+ && evaluatedDependentTarget->IsImported();
+
+ if ((fromImported || fromEvaluatedImported)
+ && !cmSystemTools::FileExists(li->c_str()))
{
cmOStringStream e;
- e << "Imported target \"" << (*it)->TargetName << "\" includes "
+ cmake::MessageType messageType = cmake::FATAL_ERROR;
+ if (fromEvaluatedImported)
+ {
+ switch(tgt->GetPolicyStatusCMP0027())
+ {
+ case cmPolicies::WARN:
+ e << (mf->GetPolicies()
+ ->GetPolicyWarning(cmPolicies::CMP0027)) << "\n";
+ case cmPolicies::OLD:
+ messageType = cmake::AUTHOR_WARNING;
+ break;
+ case cmPolicies::REQUIRED_ALWAYS:
+ case cmPolicies::REQUIRED_IF_USED:
+ case cmPolicies::NEW:
+ break;
+ }
+ }
+ e << "Imported target \"" << targetName << "\" includes "
"non-existent path\n \"" << *li << "\"\nin its "
"INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:\n"
"* The path was deleted, renamed, or moved to another "
@@ -3259,7 +1752,7 @@ static void processIncludeDirectories(cmTarget *tgt,
"successfully.\n"
"* The installation package was faulty and references files it "
"does not provide.\n";
- tgt->GetMakefile()->IssueMessage(cmake::FATAL_ERROR, e.str().c_str());
+ tgt->GetMakefile()->IssueMessage(messageType, e.str().c_str());
return;
}
@@ -3268,9 +1761,9 @@ static void processIncludeDirectories(cmTarget *tgt,
cmOStringStream e;
bool noMessage = false;
cmake::MessageType messageType = cmake::FATAL_ERROR;
- if (!(*it)->TargetName.empty())
+ if (!targetName.empty())
{
- e << "Target \"" << (*it)->TargetName << "\" contains relative "
+ e << "Target \"" << targetName << "\" contains relative "
"path in its INTERFACE_INCLUDE_DIRECTORIES:\n"
" \"" << *li << "\"";
}
@@ -3280,7 +1773,6 @@ static void processIncludeDirectories(cmTarget *tgt,
{
case cmPolicies::WARN:
{
- cmOStringStream w;
e << (mf->GetPolicies()
->GetPolicyWarning(cmPolicies::CMP0021)) << "\n";
messageType = cmake::AUTHOR_WARNING;
@@ -3337,7 +1829,8 @@ static void processIncludeDirectories(cmTarget *tgt,
}
//----------------------------------------------------------------------------
-std::vector<std::string> cmTarget::GetIncludeDirectories(const char *config)
+std::vector<std::string>
+cmTarget::GetIncludeDirectories(const char *config) const
{
std::vector<std::string> includes;
std::set<std::string> uniqueIncludes;
@@ -3347,8 +1840,6 @@ std::vector<std::string> cmTarget::GetIncludeDirectories(const char *config)
this->GetName(),
"INCLUDE_DIRECTORIES", 0, 0);
- this->AppendBuildInterfaceIncludes();
-
std::vector<std::string> debugProperties;
const char *debugProp =
this->Makefile->GetDefinition("CMAKE_DEBUG_TARGET_PROPERTIES");
@@ -3380,17 +1871,22 @@ std::vector<std::string> cmTarget::GetIncludeDirectories(const char *config)
if (!this->Internal->CacheLinkInterfaceIncludeDirectoriesDone[configString])
{
for (std::vector<cmValueWithOrigin>::const_iterator
- it = this->Internal->LinkInterfacePropertyEntries.begin(),
- end = this->Internal->LinkInterfacePropertyEntries.end();
+ it = this->Internal->LinkImplementationPropertyEntries.begin(),
+ end = this->Internal->LinkImplementationPropertyEntries.end();
it != end; ++it)
{
+ if (!cmGeneratorExpression::IsValidTargetName(it->Value)
+ && cmGeneratorExpression::Find(it->Value) == std::string::npos)
+ {
+ continue;
+ }
{
cmGeneratorExpression ge(lfbt);
cmsys::auto_ptr<cmCompiledGeneratorExpression> cge =
ge.Parse(it->Value);
std::string result = cge->Evaluate(this->Makefile, config,
false, this, 0, 0);
- if (!this->Makefile->FindTargetToUse(result.c_str()))
+ if (!this->Makefile->FindTargetToUse(result))
{
continue;
}
@@ -3466,7 +1962,7 @@ std::vector<std::string> cmTarget::GetIncludeDirectories(const char *config)
}
//----------------------------------------------------------------------------
-static void processCompileOptionsInternal(cmTarget *tgt,
+static void processCompileOptionsInternal(cmTarget const* tgt,
const std::vector<cmTargetInternals::TargetPropertyEntry*> &entries,
std::vector<std::string> &options,
std::set<std::string> &uniqueOptions,
@@ -3525,7 +2021,7 @@ static void processCompileOptionsInternal(cmTarget *tgt,
}
//----------------------------------------------------------------------------
-static void processCompileOptions(cmTarget *tgt,
+static void processCompileOptions(cmTarget const* tgt,
const std::vector<cmTargetInternals::TargetPropertyEntry*> &entries,
std::vector<std::string> &options,
std::set<std::string> &uniqueOptions,
@@ -3537,8 +2033,34 @@ static void processCompileOptions(cmTarget *tgt,
}
//----------------------------------------------------------------------------
+void cmTarget::GetAutoUicOptions(std::vector<std::string> &result,
+ const char *config) const
+{
+ const char *prop
+ = this->GetLinkInterfaceDependentStringProperty("AUTOUIC_OPTIONS",
+ config);
+ if (!prop)
+ {
+ return;
+ }
+ cmListFileBacktrace lfbt;
+ cmGeneratorExpression ge(lfbt);
+
+ cmGeneratorExpressionDAGChecker dagChecker(lfbt,
+ this->GetName(),
+ "AUTOUIC_OPTIONS", 0, 0);
+ cmSystemTools::ExpandListArgument(ge.Parse(prop)
+ ->Evaluate(this->Makefile,
+ config,
+ false,
+ this,
+ &dagChecker),
+ result);
+}
+
+//----------------------------------------------------------------------------
void cmTarget::GetCompileOptions(std::vector<std::string> &result,
- const char *config)
+ const char *config) const
{
std::set<std::string> uniqueOptions;
cmListFileBacktrace lfbt;
@@ -3578,17 +2100,22 @@ void cmTarget::GetCompileOptions(std::vector<std::string> &result,
if (!this->Internal->CacheLinkInterfaceCompileOptionsDone[configString])
{
for (std::vector<cmValueWithOrigin>::const_iterator
- it = this->Internal->LinkInterfacePropertyEntries.begin(),
- end = this->Internal->LinkInterfacePropertyEntries.end();
+ it = this->Internal->LinkImplementationPropertyEntries.begin(),
+ end = this->Internal->LinkImplementationPropertyEntries.end();
it != end; ++it)
{
+ if (!cmGeneratorExpression::IsValidTargetName(it->Value)
+ && cmGeneratorExpression::Find(it->Value) == std::string::npos)
+ {
+ continue;
+ }
{
cmGeneratorExpression ge(lfbt);
cmsys::auto_ptr<cmCompiledGeneratorExpression> cge =
ge.Parse(it->Value);
std::string targetResult = cge->Evaluate(this->Makefile, config,
false, this, 0, 0);
- if (!this->Makefile->FindTargetToUse(targetResult.c_str()))
+ if (!this->Makefile->FindTargetToUse(targetResult))
{
continue;
}
@@ -3632,7 +2159,7 @@ void cmTarget::GetCompileOptions(std::vector<std::string> &result,
}
//----------------------------------------------------------------------------
-static void processCompileDefinitions(cmTarget *tgt,
+static void processCompileDefinitions(cmTarget const* tgt,
const std::vector<cmTargetInternals::TargetPropertyEntry*> &entries,
std::vector<std::string> &options,
std::set<std::string> &uniqueOptions,
@@ -3646,7 +2173,7 @@ static void processCompileDefinitions(cmTarget *tgt,
//----------------------------------------------------------------------------
void cmTarget::GetCompileDefinitions(std::vector<std::string> &list,
- const char *config)
+ const char *config) const
{
std::set<std::string> uniqueOptions;
cmListFileBacktrace lfbt;
@@ -3686,17 +2213,22 @@ void cmTarget::GetCompileDefinitions(std::vector<std::string> &list,
if (!this->Internal->CacheLinkInterfaceCompileDefinitionsDone[configString])
{
for (std::vector<cmValueWithOrigin>::const_iterator
- it = this->Internal->LinkInterfacePropertyEntries.begin(),
- end = this->Internal->LinkInterfacePropertyEntries.end();
+ it = this->Internal->LinkImplementationPropertyEntries.begin(),
+ end = this->Internal->LinkImplementationPropertyEntries.end();
it != end; ++it)
{
+ if (!cmGeneratorExpression::IsValidTargetName(it->Value)
+ && cmGeneratorExpression::Find(it->Value) == std::string::npos)
+ {
+ continue;
+ }
{
cmGeneratorExpression ge(lfbt);
cmsys::auto_ptr<cmCompiledGeneratorExpression> cge =
ge.Parse(it->Value);
std::string targetResult = cge->Evaluate(this->Makefile, config,
false, this, 0, 0);
- if (!this->Makefile->FindTargetToUse(targetResult.c_str()))
+ if (!this->Makefile->FindTargetToUse(targetResult))
{
continue;
}
@@ -3724,14 +2256,34 @@ void cmTarget::GetCompileDefinitions(std::vector<std::string> &list,
std::string configPropName = "COMPILE_DEFINITIONS_"
+ cmSystemTools::UpperCase(config);
const char *configProp = this->GetProperty(configPropName.c_str());
- std::string defsString = (configProp ? configProp : "");
-
- cmGeneratorExpression ge(lfbt);
- cmsys::auto_ptr<cmCompiledGeneratorExpression> cge =
- ge.Parse(defsString);
- this->Internal
- ->CachedLinkInterfaceCompileDefinitionsEntries[configString].push_back(
- new cmTargetInternals::TargetPropertyEntry(cge));
+ if (configProp)
+ {
+ switch(this->Makefile->GetPolicyStatus(cmPolicies::CMP0043))
+ {
+ case cmPolicies::WARN:
+ {
+ cmOStringStream e;
+ e << this->Makefile->GetCMakeInstance()->GetPolicies()
+ ->GetPolicyWarning(cmPolicies::CMP0043);
+ this->Makefile->IssueMessage(cmake::AUTHOR_WARNING,
+ e.str().c_str());
+ }
+ case cmPolicies::OLD:
+ {
+ cmGeneratorExpression ge(lfbt);
+ cmsys::auto_ptr<cmCompiledGeneratorExpression> cge =
+ ge.Parse(configProp);
+ this->Internal
+ ->CachedLinkInterfaceCompileDefinitionsEntries[configString]
+ .push_back(new cmTargetInternals::TargetPropertyEntry(cge));
+ }
+ break;
+ case cmPolicies::NEW:
+ case cmPolicies::REQUIRED_ALWAYS:
+ case cmPolicies::REQUIRED_IF_USED:
+ break;
+ }
+ }
}
}
@@ -3760,11 +2312,11 @@ void cmTarget::GetCompileDefinitions(std::vector<std::string> &list,
void cmTarget::MaybeInvalidatePropertyCache(const char* prop)
{
// Wipe out maps caching information affected by this property.
- if(this->IsImported() && strncmp(prop, "IMPORTED", 8) == 0)
+ if(this->IsImported() && cmHasLiteralPrefix(prop, "IMPORTED"))
{
this->Internal->ImportInfoMap.clear();
}
- if(!this->IsImported() && strncmp(prop, "LINK_INTERFACE_", 15) == 0)
+ if(!this->IsImported() && cmHasLiteralPrefix(prop, "LINK_INTERFACE_"))
{
this->ClearLinkMaps();
}
@@ -3837,24 +2389,24 @@ static void cmTargetCheckINTERFACE_LINK_LIBRARIES(const char* value,
}
//----------------------------------------------------------------------------
-void cmTarget::CheckProperty(const char* prop, cmMakefile* context)
+void cmTarget::CheckProperty(const char* prop, cmMakefile* context) const
{
// Certain properties need checking.
- if(strncmp(prop, "LINK_INTERFACE_LIBRARIES", 24) == 0)
+ if(cmHasLiteralPrefix(prop, "LINK_INTERFACE_LIBRARIES"))
{
if(const char* value = this->GetProperty(prop))
{
cmTargetCheckLINK_INTERFACE_LIBRARIES(prop, value, context, false);
}
}
- if(strncmp(prop, "IMPORTED_LINK_INTERFACE_LIBRARIES", 33) == 0)
+ if(cmHasLiteralPrefix(prop, "IMPORTED_LINK_INTERFACE_LIBRARIES"))
{
if(const char* value = this->GetProperty(prop))
{
cmTargetCheckLINK_INTERFACE_LIBRARIES(prop, value, context, true);
}
}
- if(strncmp(prop, "INTERFACE_LINK_LIBRARIES", 24) == 0)
+ if(cmHasLiteralPrefix(prop, "INTERFACE_LINK_LIBRARIES"))
{
if(const char* value = this->GetProperty(prop))
{
@@ -3870,7 +2422,7 @@ void cmTarget::MarkAsImported()
}
//----------------------------------------------------------------------------
-bool cmTarget::HaveWellDefinedOutputFiles()
+bool cmTarget::HaveWellDefinedOutputFiles() const
{
return
this->GetType() == cmTarget::STATIC_LIBRARY ||
@@ -3880,7 +2432,7 @@ bool cmTarget::HaveWellDefinedOutputFiles()
}
//----------------------------------------------------------------------------
-cmTarget::OutputInfo const* cmTarget::GetOutputInfo(const char* config)
+cmTarget::OutputInfo const* cmTarget::GetOutputInfo(const char* config) const
{
// There is no output information for imported targets.
if(this->IsImported())
@@ -3925,7 +2477,7 @@ cmTarget::OutputInfo const* cmTarget::GetOutputInfo(const char* config)
}
//----------------------------------------------------------------------------
-std::string cmTarget::GetDirectory(const char* config, bool implib)
+std::string cmTarget::GetDirectory(const char* config, bool implib) const
{
if (this->IsImported())
{
@@ -3943,7 +2495,7 @@ std::string cmTarget::GetDirectory(const char* config, bool implib)
}
//----------------------------------------------------------------------------
-std::string cmTarget::GetPDBDirectory(const char* config)
+std::string cmTarget::GetPDBDirectory(const char* config) const
{
if(OutputInfo const* info = this->GetOutputInfo(config))
{
@@ -3954,7 +2506,7 @@ std::string cmTarget::GetPDBDirectory(const char* config)
}
//----------------------------------------------------------------------------
-const char* cmTarget::GetLocation(const char* config)
+const char* cmTarget::GetLocation(const char* config) const
{
if (this->IsImported())
{
@@ -3967,29 +2519,36 @@ const char* cmTarget::GetLocation(const char* config)
}
//----------------------------------------------------------------------------
-const char* cmTarget::ImportedGetLocation(const char* config)
+const char* cmTarget::ImportedGetLocation(const char* config) const
{
- this->Location = this->ImportedGetFullPath(config, false);
- return this->Location.c_str();
+ static std::string location;
+ location = this->ImportedGetFullPath(config, false);
+ return location.c_str();
}
//----------------------------------------------------------------------------
-const char* cmTarget::NormalGetLocation(const char* config)
+const char* cmTarget::NormalGetLocation(const char* config) const
{
+ static std::string location;
// Handle the configuration-specific case first.
if(config)
{
- this->Location = this->GetFullPath(config, false);
- return this->Location.c_str();
+ location = this->GetFullPath(config, false);
+ return location.c_str();
}
// Now handle the deprecated build-time configuration location.
- this->Location = this->GetDirectory();
+ location = this->GetDirectory();
+ if(!location.empty())
+ {
+ location += "/";
+ }
const char* cfgid = this->Makefile->GetDefinition("CMAKE_CFG_INTDIR");
if(cfgid && strcmp(cfgid, ".") != 0)
{
- this->Location += "/";
- this->Location += cfgid;
+ location += "/";
+ location += cfgid;
+ location += "/";
}
if(this->IsAppBundleOnApple())
@@ -3997,17 +2556,17 @@ const char* cmTarget::NormalGetLocation(const char* config)
std::string macdir = this->BuildMacContentDirectory("", config, false);
if(!macdir.empty())
{
- this->Location += "/";
- this->Location += macdir;
+ location += "/";
+ location += macdir;
}
}
- this->Location += "/";
- this->Location += this->GetFullName(config, false);
- return this->Location.c_str();
+ location += "/";
+ location += this->GetFullName(config, false);
+ return location.c_str();
}
//----------------------------------------------------------------------------
-void cmTarget::GetTargetVersion(int& major, int& minor)
+void cmTarget::GetTargetVersion(int& major, int& minor) const
{
int patch;
this->GetTargetVersion(false, major, minor, patch);
@@ -4015,13 +2574,15 @@ void cmTarget::GetTargetVersion(int& major, int& minor)
//----------------------------------------------------------------------------
void cmTarget::GetTargetVersion(bool soversion,
- int& major, int& minor, int& patch)
+ int& major, int& minor, int& patch) const
{
// Set the default values.
major = 0;
minor = 0;
patch = 0;
+ assert(this->GetType() != INTERFACE_LIBRARY);
+
// Look for a VERSION or SOVERSION property.
const char* prop = soversion? "SOVERSION" : "VERSION";
if(const char* version = this->GetProperty(prop))
@@ -4043,7 +2604,7 @@ void cmTarget::GetTargetVersion(bool soversion,
}
//----------------------------------------------------------------------------
-const char* cmTarget::GetFeature(const char* feature, const char* config)
+const char* cmTarget::GetFeature(const char* feature, const char* config) const
{
if(config && *config)
{
@@ -4063,20 +2624,67 @@ const char* cmTarget::GetFeature(const char* feature, const char* config)
}
//----------------------------------------------------------------------------
-const char *cmTarget::GetProperty(const char* prop)
+const char *cmTarget::GetProperty(const char* prop) const
{
return this->GetProperty(prop, cmProperty::TARGET);
}
//----------------------------------------------------------------------------
+bool cmTarget::HandleLocationPropertyPolicy() const
+{
+ if (this->IsImported())
+ {
+ return true;
+ }
+ cmOStringStream e;
+ const char *modal = 0;
+ cmake::MessageType messageType = cmake::AUTHOR_WARNING;
+ switch (this->Makefile->GetPolicyStatus(cmPolicies::CMP0026))
+ {
+ case cmPolicies::WARN:
+ e << (this->Makefile->GetPolicies()
+ ->GetPolicyWarning(cmPolicies::CMP0026)) << "\n";
+ modal = "should";
+ case cmPolicies::OLD:
+ break;
+ case cmPolicies::REQUIRED_ALWAYS:
+ case cmPolicies::REQUIRED_IF_USED:
+ case cmPolicies::NEW:
+ modal = "may";
+ messageType = cmake::FATAL_ERROR;
+ }
+
+ if (modal)
+ {
+ e << "The LOCATION property " << modal << " not be read from target \""
+ << this->GetName() << "\". Use the target name directly with "
+ "add_custom_command, or use the generator expression $<TARGET_FILE>, "
+ "as appropriate.\n";
+ this->Makefile->IssueMessage(messageType, e.str().c_str());
+ }
+
+ return messageType != cmake::FATAL_ERROR;
+}
+
+//----------------------------------------------------------------------------
const char *cmTarget::GetProperty(const char* prop,
- cmProperty::ScopeType scope)
+ cmProperty::ScopeType scope) const
{
if(!prop)
{
return 0;
}
+ if (this->GetType() == INTERFACE_LIBRARY
+ && !whiteListedInterfaceProperty(prop))
+ {
+ cmOStringStream e;
+ e << "INTERFACE_LIBRARY targets may only have whitelisted properties. "
+ "The property \"" << prop << "\" is not allowed.";
+ this->Makefile->IssueMessage(cmake::FATAL_ERROR, e.str().c_str());
+ return 0;
+ }
+
if (strcmp(prop, "NAME") == 0)
{
return this->GetName();
@@ -4092,6 +2700,11 @@ const char *cmTarget::GetProperty(const char* prop,
{
if(strcmp(prop,"LOCATION") == 0)
{
+ if (!this->HandleLocationPropertyPolicy())
+ {
+ return 0;
+ }
+
// Set the LOCATION property of the target.
//
// For an imported target this is the location of an arbitrary
@@ -4101,26 +2714,35 @@ const char *cmTarget::GetProperty(const char* prop,
// cannot take into account the per-configuration name of the
// target because the configuration type may not be known at
// CMake time.
- this->SetProperty("LOCATION", this->GetLocation(0));
+ this->Properties.SetProperty("LOCATION", this->GetLocation(0),
+ cmProperty::TARGET);
}
// Support "LOCATION_<CONFIG>".
- if(strncmp(prop, "LOCATION_", 9) == 0)
+ if(cmHasLiteralPrefix(prop, "LOCATION_"))
{
+ if (!this->HandleLocationPropertyPolicy())
+ {
+ return 0;
+ }
std::string configName = prop+9;
- this->SetProperty(prop, this->GetLocation(configName.c_str()));
+ this->Properties.SetProperty(prop,
+ this->GetLocation(configName.c_str()),
+ cmProperty::TARGET);
}
- else
+ // Support "<CONFIG>_LOCATION".
+ if(cmHasLiteralSuffix(prop, "_LOCATION"))
{
- // Support "<CONFIG>_LOCATION" for compatiblity.
- int len = static_cast<int>(strlen(prop));
- if(len > 9 && strcmp(prop+len-9, "_LOCATION") == 0)
+ std::string configName(prop, strlen(prop) - 9);
+ if(configName != "IMPORTED")
{
- std::string configName(prop, len-9);
- if(configName != "IMPORTED")
+ if (!this->HandleLocationPropertyPolicy())
{
- this->SetProperty(prop, this->GetLocation(configName.c_str()));
+ return 0;
}
+ this->Properties.SetProperty(prop,
+ this->GetLocation(configName.c_str()),
+ cmProperty::TARGET);
}
}
}
@@ -4178,6 +2800,22 @@ const char *cmTarget::GetProperty(const char* prop,
}
return output.c_str();
}
+ if(strcmp(prop,"LINK_LIBRARIES") == 0)
+ {
+ static std::string output;
+ output = "";
+ std::string sep;
+ for (std::vector<cmValueWithOrigin>::const_iterator
+ it = this->Internal->LinkImplementationPropertyEntries.begin(),
+ end = this->Internal->LinkImplementationPropertyEntries.end();
+ it != end; ++it)
+ {
+ output += sep;
+ output += it->Value;
+ sep = ";";
+ }
+ return output.c_str();
+ }
if (strcmp(prop,"IMPORTED") == 0)
{
@@ -4208,7 +2846,8 @@ const char *cmTarget::GetProperty(const char* prop,
// Append this list entry.
ss << sname;
}
- this->SetProperty("SOURCES", ss.str().c_str());
+ this->Properties.SetProperty("SOURCES", ss.str().c_str(),
+ cmProperty::TARGET);
}
// the type property returns what type the target is
@@ -4227,7 +2866,7 @@ const char *cmTarget::GetProperty(const char* prop,
}
//----------------------------------------------------------------------------
-bool cmTarget::GetPropertyAsBool(const char* prop)
+bool cmTarget::GetPropertyAsBool(const char* prop) const
{
return cmSystemTools::IsOn(this->GetProperty(prop));
}
@@ -4236,15 +2875,57 @@ bool cmTarget::GetPropertyAsBool(const char* prop)
class cmTargetCollectLinkLanguages
{
public:
- cmTargetCollectLinkLanguages(cmTarget* target, const char* config,
+ cmTargetCollectLinkLanguages(cmTarget const* target, const char* config,
std::set<cmStdString>& languages,
- cmTarget* head):
- Config(config), Languages(languages), HeadTarget(head)
+ cmTarget const* head):
+ Config(config), Languages(languages), HeadTarget(head),
+ Makefile(target->GetMakefile()), Target(target)
{ this->Visited.insert(target); }
- void Visit(cmTarget* target)
+ void Visit(const std::string& name)
{
- if(!target || !this->Visited.insert(target).second)
+ cmTarget *target = this->Makefile->FindTargetToUse(name);
+
+ if(!target)
+ {
+ if(name.find("::") != std::string::npos)
+ {
+ bool noMessage = false;
+ cmake::MessageType messageType = cmake::FATAL_ERROR;
+ cmOStringStream e;
+ switch(this->Makefile->GetPolicyStatus(cmPolicies::CMP0028))
+ {
+ case cmPolicies::WARN:
+ {
+ e << (this->Makefile->GetPolicies()
+ ->GetPolicyWarning(cmPolicies::CMP0028)) << "\n";
+ messageType = cmake::AUTHOR_WARNING;
+ }
+ break;
+ case cmPolicies::OLD:
+ noMessage = true;
+ case cmPolicies::REQUIRED_IF_USED:
+ case cmPolicies::REQUIRED_ALWAYS:
+ case cmPolicies::NEW:
+ // Issue the fatal message.
+ break;
+ }
+
+ if(!noMessage)
+ {
+ e << "Target \"" << this->Target->GetName()
+ << "\" links to target \"" << name
+ << "\" but the target was not found. Perhaps a find_package() "
+ "call is missing for an IMPORTED target, or an ALIAS target is "
+ "missing?";
+ this->Makefile->GetCMakeInstance()->IssueMessage(messageType,
+ e.str(),
+ this->Target->GetBacktrace());
+ }
+ }
+ return;
+ }
+ if(!this->Visited.insert(target).second)
{
return;
}
@@ -4259,24 +2940,26 @@ public:
this->Languages.insert(*li);
}
- cmMakefile* mf = target->GetMakefile();
for(std::vector<std::string>::const_iterator
li = iface->Libraries.begin(); li != iface->Libraries.end(); ++li)
{
- this->Visit(mf->FindTargetToUse(li->c_str()));
+ this->Visit(*li);
}
}
private:
const char* Config;
std::set<cmStdString>& Languages;
- cmTarget* HeadTarget;
- std::set<cmTarget*> Visited;
+ cmTarget const* HeadTarget;
+ cmMakefile* Makefile;
+ const cmTarget* Target;
+ std::set<cmTarget const*> Visited;
};
//----------------------------------------------------------------------------
-const char* cmTarget::GetLinkerLanguage(const char* config, cmTarget *head)
+const char* cmTarget::GetLinkerLanguage(const char* config,
+ cmTarget const* head) const
{
- cmTarget *headTarget = head ? head : this;
+ cmTarget const* headTarget = head ? head : this;
const char* lang = this->GetLinkClosure(config, headTarget)
->LinkerLanguage.c_str();
return *lang? lang : 0;
@@ -4284,7 +2967,7 @@ const char* cmTarget::GetLinkerLanguage(const char* config, cmTarget *head)
//----------------------------------------------------------------------------
cmTarget::LinkClosure const* cmTarget::GetLinkClosure(const char* config,
- cmTarget *head)
+ cmTarget const* head) const
{
TargetConfigPair key(head, cmSystemTools::UpperCase(config ? config : ""));
cmTargetInternals::LinkClosureMapType::iterator
@@ -4303,12 +2986,12 @@ cmTarget::LinkClosure const* cmTarget::GetLinkClosure(const char* config,
class cmTargetSelectLinker
{
int Preference;
- cmTarget* Target;
+ cmTarget const* Target;
cmMakefile* Makefile;
cmGlobalGenerator* GG;
std::set<cmStdString> Preferred;
public:
- cmTargetSelectLinker(cmTarget* target): Preference(0), Target(target)
+ cmTargetSelectLinker(cmTarget const* target): Preference(0), Target(target)
{
this->Makefile = this->Target->GetMakefile();
this->GG = this->Makefile->GetLocalGenerator()->GetGlobalGenerator();
@@ -4354,7 +3037,7 @@ public:
//----------------------------------------------------------------------------
void cmTarget::ComputeLinkClosure(const char* config, LinkClosure& lc,
- cmTarget *head)
+ cmTarget const* head) const
{
// Get languages built in this target.
std::set<cmStdString> languages;
@@ -4370,7 +3053,7 @@ void cmTarget::ComputeLinkClosure(const char* config, LinkClosure& lc,
for(std::vector<std::string>::const_iterator li = impl->Libraries.begin();
li != impl->Libraries.end(); ++li)
{
- cll.Visit(this->Makefile->FindTargetToUse(li->c_str()));
+ cll.Visit(*li);
}
// Store the transitive closure of languages.
@@ -4417,7 +3100,7 @@ void cmTarget::ComputeLinkClosure(const char* config, LinkClosure& lc,
}
//----------------------------------------------------------------------------
-const char* cmTarget::GetSuffixVariableInternal(bool implib)
+const char* cmTarget::GetSuffixVariableInternal(bool implib) const
{
switch(this->GetType())
{
@@ -4443,7 +3126,7 @@ const char* cmTarget::GetSuffixVariableInternal(bool implib)
//----------------------------------------------------------------------------
-const char* cmTarget::GetPrefixVariableInternal(bool implib)
+const char* cmTarget::GetPrefixVariableInternal(bool implib) const
{
switch(this->GetType())
{
@@ -4466,7 +3149,7 @@ const char* cmTarget::GetPrefixVariableInternal(bool implib)
}
//----------------------------------------------------------------------------
-std::string cmTarget::GetPDBName(const char* config)
+std::string cmTarget::GetPDBName(const char* config) const
{
std::string prefix;
std::string base;
@@ -4498,7 +3181,7 @@ std::string cmTarget::GetPDBName(const char* config)
}
//----------------------------------------------------------------------------
-bool cmTarget::HasSOName(const char* config)
+bool cmTarget::HasSOName(const char* config) const
{
// soname is supported only for shared libraries and modules,
// and then only when the platform supports an soname flag.
@@ -4510,7 +3193,7 @@ bool cmTarget::HasSOName(const char* config)
}
//----------------------------------------------------------------------------
-std::string cmTarget::GetSOName(const char* config)
+std::string cmTarget::GetSOName(const char* config) const
{
if(this->IsImported())
{
@@ -4552,13 +3235,17 @@ std::string cmTarget::GetSOName(const char* config)
}
//----------------------------------------------------------------------------
-bool cmTarget::HasMacOSXRpath(const char* config)
+bool cmTarget::HasMacOSXRpathInstallNameDir(const char* config) const
{
bool install_name_is_rpath = false;
- bool macosx_rpath = this->GetPropertyAsBool("MACOSX_RPATH");
+ bool macosx_rpath = false;
if(!this->IsImportedTarget)
{
+ if(this->GetType() != cmTarget::SHARED_LIBRARY)
+ {
+ return false;
+ }
const char* install_name = this->GetProperty("INSTALL_NAME_DIR");
bool use_install_name =
this->GetPropertyAsBool("BUILD_WITH_INSTALL_RPATH");
@@ -4571,6 +3258,10 @@ bool cmTarget::HasMacOSXRpath(const char* config)
{
return false;
}
+ if(!install_name_is_rpath)
+ {
+ macosx_rpath = this->MacOSXRpathInstallNameDirDefault();
+ }
}
else
{
@@ -4625,7 +3316,38 @@ bool cmTarget::HasMacOSXRpath(const char* config)
}
//----------------------------------------------------------------------------
-bool cmTarget::IsImportedSharedLibWithoutSOName(const char* config)
+bool cmTarget::MacOSXRpathInstallNameDirDefault() const
+{
+ // we can't do rpaths when unsupported
+ if(!this->Makefile->IsSet("CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG"))
+ {
+ return false;
+ }
+
+ const char* macosx_rpath_str = this->GetProperty("MACOSX_RPATH");
+ if(macosx_rpath_str)
+ {
+ return this->GetPropertyAsBool("MACOSX_RPATH");
+ }
+
+ cmPolicies::PolicyStatus cmp0042 = this->GetPolicyStatusCMP0042();
+
+ if(cmp0042 == cmPolicies::WARN)
+ {
+ this->Makefile->GetLocalGenerator()->GetGlobalGenerator()->
+ AddCMP0042WarnTarget(this->GetName());
+ }
+
+ if(cmp0042 == cmPolicies::NEW)
+ {
+ return true;
+ }
+
+ return false;
+}
+
+//----------------------------------------------------------------------------
+bool cmTarget::IsImportedSharedLibWithoutSOName(const char* config) const
{
if(this->IsImported() && this->GetType() == cmTarget::SHARED_LIBRARY)
{
@@ -4638,7 +3360,7 @@ bool cmTarget::IsImportedSharedLibWithoutSOName(const char* config)
}
//----------------------------------------------------------------------------
-std::string cmTarget::NormalGetRealName(const char* config)
+std::string cmTarget::NormalGetRealName(const char* config) const
{
// This should not be called for imported targets.
// TODO: Split cmTarget into a class hierarchy to get compile-time
@@ -4676,7 +3398,7 @@ std::string cmTarget::NormalGetRealName(const char* config)
}
//----------------------------------------------------------------------------
-std::string cmTarget::GetFullName(const char* config, bool implib)
+std::string cmTarget::GetFullName(const char* config, bool implib) const
{
if(this->IsImported())
{
@@ -4689,7 +3411,8 @@ std::string cmTarget::GetFullName(const char* config, bool implib)
}
//----------------------------------------------------------------------------
-std::string cmTarget::GetFullNameImported(const char* config, bool implib)
+std::string
+cmTarget::GetFullNameImported(const char* config, bool implib) const
{
return cmSystemTools::GetFilenameName(
this->ImportedGetFullPath(config, implib));
@@ -4698,14 +3421,14 @@ std::string cmTarget::GetFullNameImported(const char* config, bool implib)
//----------------------------------------------------------------------------
void cmTarget::GetFullNameComponents(std::string& prefix, std::string& base,
std::string& suffix, const char* config,
- bool implib)
+ bool implib) const
{
this->GetFullNameInternal(config, implib, prefix, base, suffix);
}
//----------------------------------------------------------------------------
std::string cmTarget::GetFullPath(const char* config, bool implib,
- bool realname)
+ bool realname) const
{
if(this->IsImported())
{
@@ -4719,7 +3442,7 @@ std::string cmTarget::GetFullPath(const char* config, bool implib,
//----------------------------------------------------------------------------
std::string cmTarget::NormalGetFullPath(const char* config, bool implib,
- bool realname)
+ bool realname) const
{
std::string fpath = this->GetDirectory(config, implib);
fpath += "/";
@@ -4746,7 +3469,8 @@ std::string cmTarget::NormalGetFullPath(const char* config, bool implib,
}
//----------------------------------------------------------------------------
-std::string cmTarget::ImportedGetFullPath(const char* config, bool implib)
+std::string
+cmTarget::ImportedGetFullPath(const char* config, bool implib) const
{
std::string result;
if(cmTarget::ImportInfo const* info = this->GetImportInfo(config, this))
@@ -4762,7 +3486,8 @@ std::string cmTarget::ImportedGetFullPath(const char* config, bool implib)
}
//----------------------------------------------------------------------------
-std::string cmTarget::GetFullNameInternal(const char* config, bool implib)
+std::string
+cmTarget::GetFullNameInternal(const char* config, bool implib) const
{
std::string prefix;
std::string base;
@@ -4776,7 +3501,7 @@ void cmTarget::GetFullNameInternal(const char* config,
bool implib,
std::string& outPrefix,
std::string& outBase,
- std::string& outSuffix)
+ std::string& outSuffix) const
{
// Use just the target name for non-main target types.
if(this->GetType() != cmTarget::STATIC_LIBRARY &&
@@ -4914,7 +3639,7 @@ void cmTarget::GetLibraryNames(std::string& name,
std::string& realName,
std::string& impName,
std::string& pdbName,
- const char* config)
+ const char* config) const
{
// This should not be called for imported targets.
// TODO: Split cmTarget into a class hierarchy to get compile-time
@@ -4928,6 +3653,8 @@ void cmTarget::GetLibraryNames(std::string& name,
return;
}
+ assert(this->GetType() != INTERFACE_LIBRARY);
+
// Check for library version properties.
const char* version = this->GetProperty("VERSION");
const char* soversion = this->GetProperty("SOVERSION");
@@ -5000,7 +3727,7 @@ void cmTarget::ComputeVersionedName(std::string& vName,
std::string const& base,
std::string const& suffix,
std::string const& name,
- const char* version)
+ const char* version) const
{
vName = this->IsApple? (prefix+base) : name;
if(version)
@@ -5016,7 +3743,7 @@ void cmTarget::GetExecutableNames(std::string& name,
std::string& realName,
std::string& impName,
std::string& pdbName,
- const char* config)
+ const char* config) const
{
// This should not be called for imported targets.
// TODO: Split cmTarget into a class hierarchy to get compile-time
@@ -5074,14 +3801,14 @@ void cmTarget::GetExecutableNames(std::string& name,
}
//----------------------------------------------------------------------------
-bool cmTarget::HasImplibGNUtoMS()
+bool cmTarget::HasImplibGNUtoMS() const
{
return this->HasImportLibrary() && this->GetPropertyAsBool("GNUtoMS");
}
//----------------------------------------------------------------------------
bool cmTarget::GetImplibGNUtoMS(std::string const& gnuName,
- std::string& out, const char* newExt)
+ std::string& out, const char* newExt) const
{
if(this->HasImplibGNUtoMS() &&
gnuName.size() > 6 && gnuName.substr(gnuName.size()-6) == ".dll.a")
@@ -5094,76 +3821,6 @@ bool cmTarget::GetImplibGNUtoMS(std::string const& gnuName,
}
//----------------------------------------------------------------------------
-void cmTarget::GenerateTargetManifest(const char* config)
-{
- cmMakefile* mf = this->Makefile;
- cmLocalGenerator* lg = mf->GetLocalGenerator();
- cmGlobalGenerator* gg = lg->GetGlobalGenerator();
-
- // Get the names.
- std::string name;
- std::string soName;
- std::string realName;
- std::string impName;
- std::string pdbName;
- if(this->GetType() == cmTarget::EXECUTABLE)
- {
- this->GetExecutableNames(name, realName, impName, pdbName, config);
- }
- else if(this->GetType() == cmTarget::STATIC_LIBRARY ||
- this->GetType() == cmTarget::SHARED_LIBRARY ||
- this->GetType() == cmTarget::MODULE_LIBRARY)
- {
- this->GetLibraryNames(name, soName, realName, impName, pdbName, config);
- }
- else
- {
- return;
- }
-
- // Get the directory.
- std::string dir = this->GetDirectory(config, false);
-
- // Add each name.
- std::string f;
- if(!name.empty())
- {
- f = dir;
- f += "/";
- f += name;
- gg->AddToManifest(config? config:"", f);
- }
- if(!soName.empty())
- {
- f = dir;
- f += "/";
- f += soName;
- gg->AddToManifest(config? config:"", f);
- }
- if(!realName.empty())
- {
- f = dir;
- f += "/";
- f += realName;
- gg->AddToManifest(config? config:"", f);
- }
- if(!pdbName.empty())
- {
- f = this->GetPDBDirectory(config);
- f += "/";
- f += pdbName;
- gg->AddToManifest(config? config:"", f);
- }
- if(!impName.empty())
- {
- f = this->GetDirectory(config, true);
- f += "/";
- f += impName;
- gg->AddToManifest(config? config:"", f);
- }
-}
-
-//----------------------------------------------------------------------------
void cmTarget::SetPropertyDefault(const char* property,
const char* default_value)
{
@@ -5182,7 +3839,7 @@ void cmTarget::SetPropertyDefault(const char* property,
}
//----------------------------------------------------------------------------
-bool cmTarget::HaveBuildTreeRPATH(const char *config)
+bool cmTarget::HaveBuildTreeRPATH(const char *config) const
{
if (this->GetPropertyAsBool("SKIP_BUILD_RPATH"))
{
@@ -5194,7 +3851,7 @@ bool cmTarget::HaveBuildTreeRPATH(const char *config)
}
//----------------------------------------------------------------------------
-bool cmTarget::HaveInstallTreeRPATH()
+bool cmTarget::HaveInstallTreeRPATH() const
{
const char* install_rpath = this->GetProperty("INSTALL_RPATH");
return (install_rpath && *install_rpath) &&
@@ -5202,7 +3859,7 @@ bool cmTarget::HaveInstallTreeRPATH()
}
//----------------------------------------------------------------------------
-bool cmTarget::NeedRelinkBeforeInstall(const char* config)
+bool cmTarget::NeedRelinkBeforeInstall(const char* config) const
{
// Only executables and shared libraries can have an rpath and may
// need relinking.
@@ -5265,7 +3922,7 @@ bool cmTarget::NeedRelinkBeforeInstall(const char* config)
}
//----------------------------------------------------------------------------
-std::string cmTarget::GetInstallNameDirForBuildTree(const char* config)
+std::string cmTarget::GetInstallNameDirForBuildTree(const char* config) const
{
// If building directly for installation then the build tree install_name
// is the same as the install tree.
@@ -5280,7 +3937,8 @@ std::string cmTarget::GetInstallNameDirForBuildTree(const char* config)
!this->GetPropertyAsBool("SKIP_BUILD_RPATH"))
{
std::string dir;
- if(this->GetPropertyAsBool("MACOSX_RPATH"))
+ bool macosx_rpath = this->MacOSXRpathInstallNameDirDefault();
+ if(macosx_rpath)
{
dir = "@rpath";
}
@@ -5298,7 +3956,7 @@ std::string cmTarget::GetInstallNameDirForBuildTree(const char* config)
}
//----------------------------------------------------------------------------
-std::string cmTarget::GetInstallNameDirForInstallTree()
+std::string cmTarget::GetInstallNameDirForInstallTree() const
{
if(this->Makefile->IsOn("CMAKE_PLATFORM_HAS_INSTALLNAME"))
{
@@ -5314,9 +3972,12 @@ std::string cmTarget::GetInstallNameDirForInstallTree()
dir += "/";
}
}
- if(!install_name_dir && this->GetPropertyAsBool("MACOSX_RPATH"))
+ if(!install_name_dir)
{
- dir = "@rpath/";
+ if(this->MacOSXRpathInstallNameDirDefault())
+ {
+ dir = "@rpath/";
+ }
}
return dir;
}
@@ -5327,7 +3988,7 @@ std::string cmTarget::GetInstallNameDirForInstallTree()
}
//----------------------------------------------------------------------------
-const char* cmTarget::GetOutputTargetType(bool implib)
+const char* cmTarget::GetOutputTargetType(bool implib) const
{
switch(this->GetType())
{
@@ -5384,7 +4045,7 @@ const char* cmTarget::GetOutputTargetType(bool implib)
//----------------------------------------------------------------------------
bool cmTarget::ComputeOutputDir(const char* config,
- bool implib, std::string& out)
+ bool implib, std::string& out) const
{
bool usesDefaultOutputDir = false;
@@ -5464,7 +4125,7 @@ bool cmTarget::ComputeOutputDir(const char* config,
}
//----------------------------------------------------------------------------
-bool cmTarget::ComputePDBOutputDir(const char* config, std::string& out)
+bool cmTarget::ComputePDBOutputDir(const char* config, std::string& out) const
{
// Look for a target property defining the target output directory
// based on the target type.
@@ -5523,14 +4184,14 @@ bool cmTarget::ComputePDBOutputDir(const char* config, std::string& out)
}
//----------------------------------------------------------------------------
-bool cmTarget::UsesDefaultOutputDir(const char* config, bool implib)
+bool cmTarget::UsesDefaultOutputDir(const char* config, bool implib) const
{
std::string dir;
return this->ComputeOutputDir(config, implib, dir);
}
//----------------------------------------------------------------------------
-std::string cmTarget::GetOutputName(const char* config, bool implib)
+std::string cmTarget::GetOutputName(const char* config, bool implib) const
{
std::vector<std::string> props;
std::string type = this->GetOutputTargetType(implib);
@@ -5567,8 +4228,10 @@ std::string cmTarget::GetOutputName(const char* config, bool implib)
}
//----------------------------------------------------------------------------
-std::string cmTarget::GetFrameworkVersion()
+std::string cmTarget::GetFrameworkVersion() const
{
+ assert(this->GetType() != INTERFACE_LIBRARY);
+
if(const char* fversion = this->GetProperty("FRAMEWORK_VERSION"))
{
return fversion;
@@ -5584,7 +4247,7 @@ std::string cmTarget::GetFrameworkVersion()
}
//----------------------------------------------------------------------------
-const char* cmTarget::GetExportMacro()
+const char* cmTarget::GetExportMacro() const
{
// Define the symbol for targets that export symbols.
if(this->GetType() == cmTarget::SHARED_LIBRARY ||
@@ -5610,7 +4273,7 @@ const char* cmTarget::GetExportMacro()
}
//----------------------------------------------------------------------------
-bool cmTarget::IsNullImpliedByLinkLibraries(const std::string &p)
+bool cmTarget::IsNullImpliedByLinkLibraries(const std::string &p) const
{
return this->LinkImplicitNullProperties.find(p)
!= this->LinkImplicitNullProperties.end();
@@ -5618,52 +4281,257 @@ bool cmTarget::IsNullImpliedByLinkLibraries(const std::string &p)
//----------------------------------------------------------------------------
template<typename PropertyType>
-PropertyType getTypedProperty(cmTarget *tgt, const char *prop,
+PropertyType getTypedProperty(cmTarget const* tgt, const char *prop,
PropertyType *);
//----------------------------------------------------------------------------
template<>
-bool getTypedProperty<bool>(cmTarget *tgt, const char *prop, bool *)
+bool getTypedProperty<bool>(cmTarget const* tgt, const char *prop, bool *)
{
return tgt->GetPropertyAsBool(prop);
}
//----------------------------------------------------------------------------
template<>
-const char *getTypedProperty<const char *>(cmTarget *tgt, const char *prop,
- const char **)
+const char *getTypedProperty<const char *>(cmTarget const* tgt,
+ const char *prop,
+ const char **)
{
return tgt->GetProperty(prop);
}
+enum CompatibleType
+{
+ BoolType,
+ StringType,
+ NumberMinType,
+ NumberMaxType
+};
+
//----------------------------------------------------------------------------
template<typename PropertyType>
-bool consistentProperty(PropertyType lhs, PropertyType rhs);
+std::pair<bool, PropertyType> consistentProperty(PropertyType lhs,
+ PropertyType rhs,
+ CompatibleType t);
//----------------------------------------------------------------------------
template<>
-bool consistentProperty(bool lhs, bool rhs)
+std::pair<bool, bool> consistentProperty(bool lhs, bool rhs, CompatibleType)
+{
+ return std::make_pair(lhs == rhs, lhs);
+}
+
+//----------------------------------------------------------------------------
+std::pair<bool, const char*> consistentStringProperty(const char *lhs,
+ const char *rhs)
{
- return lhs == rhs;
+ const bool b = strcmp(lhs, rhs) == 0;
+ return std::make_pair(b, b ? lhs : 0);
+}
+
+#if defined(_MSC_VER) && _MSC_VER <= 1200
+template<typename T> const T&
+cmMaximum(const T& l, const T& r) {return l > r ? l : r;}
+template<typename T> const T&
+cmMinimum(const T& l, const T& r) {return l < r ? l : r;}
+#else
+#define cmMinimum std::min
+#define cmMaximum std::max
+#endif
+
+//----------------------------------------------------------------------------
+std::pair<bool, const char*> consistentNumberProperty(const char *lhs,
+ const char *rhs,
+ CompatibleType t)
+{
+ char *pEnd;
+
+#if defined(_MSC_VER)
+ static const char* const null_ptr = 0;
+#else
+# define null_ptr 0
+#endif
+
+ long lnum = strtol(lhs, &pEnd, 0);
+ if (pEnd == lhs || *pEnd != '\0' || errno == ERANGE)
+ {
+ return std::pair<bool, const char*>(false, null_ptr);
+ }
+
+ long rnum = strtol(rhs, &pEnd, 0);
+ if (pEnd == rhs || *pEnd != '\0' || errno == ERANGE)
+ {
+ return std::pair<bool, const char*>(false, null_ptr);
+ }
+
+#if !defined(_MSC_VER)
+#undef null_ptr
+#endif
+
+ if (t == NumberMaxType)
+ {
+ return std::make_pair(true, cmMaximum(lnum, rnum) == lnum ? lhs : rhs);
+ }
+ else
+ {
+ return std::make_pair(true, cmMinimum(lnum, rnum) == lnum ? lhs : rhs);
+ }
}
//----------------------------------------------------------------------------
template<>
-bool consistentProperty(const char *lhs, const char *rhs)
+std::pair<bool, const char*> consistentProperty(const char *lhs,
+ const char *rhs,
+ CompatibleType t)
{
if (!lhs && !rhs)
- return true;
- if (!lhs || !rhs)
- return false;
- return strcmp(lhs, rhs) == 0;
+ {
+ return std::make_pair(true, lhs);
+ }
+ if (!lhs)
+ {
+ return std::make_pair(true, rhs);
+ }
+ if (!rhs)
+ {
+ return std::make_pair(true, lhs);
+ }
+
+#if defined(_MSC_VER)
+ static const char* const null_ptr = 0;
+#else
+# define null_ptr 0
+#endif
+
+ switch(t)
+ {
+ case BoolType:
+ assert(!"consistentProperty for strings called with BoolType");
+ return std::pair<bool, const char*>(false, null_ptr);
+ case StringType:
+ return consistentStringProperty(lhs, rhs);
+ case NumberMinType:
+ case NumberMaxType:
+ return consistentNumberProperty(lhs, rhs, t);
+ }
+ assert(!"Unreachable!");
+ return std::pair<bool, const char*>(false, null_ptr);
+
+#if !defined(_MSC_VER)
+#undef null_ptr
+#endif
+
+}
+
+template<typename PropertyType>
+PropertyType impliedValue(PropertyType);
+template<>
+bool impliedValue<bool>(bool)
+{
+ return false;
+}
+template<>
+const char* impliedValue<const char*>(const char*)
+{
+ return "";
+}
+
+
+template<typename PropertyType>
+std::string valueAsString(PropertyType);
+template<>
+std::string valueAsString<bool>(bool value)
+{
+ return value ? "TRUE" : "FALSE";
+}
+template<>
+std::string valueAsString<const char*>(const char* value)
+{
+ return value ? value : "(unset)";
+}
+
+//----------------------------------------------------------------------------
+void
+cmTarget::ReportPropertyOrigin(const std::string &p,
+ const std::string &result,
+ const std::string &report,
+ const std::string &compatibilityType) const
+{
+ std::vector<std::string> debugProperties;
+ const char *debugProp =
+ this->Makefile->GetDefinition("CMAKE_DEBUG_TARGET_PROPERTIES");
+ if (debugProp)
+ {
+ cmSystemTools::ExpandListArgument(debugProp, debugProperties);
+ }
+
+ bool debugOrigin = !this->DebugCompatiblePropertiesDone[p]
+ && std::find(debugProperties.begin(),
+ debugProperties.end(),
+ p)
+ != debugProperties.end();
+
+ if (this->Makefile->IsGeneratingBuildSystem())
+ {
+ this->DebugCompatiblePropertiesDone[p] = true;
+ }
+ if (!debugOrigin)
+ {
+ return;
+ }
+
+ std::string areport = compatibilityType;
+ areport += std::string(" of property \"") + p + "\" for target \"";
+ areport += std::string(this->GetName());
+ areport += "\" (result: \"";
+ areport += result;
+ areport += "\"):\n" + report;
+
+ cmListFileBacktrace lfbt;
+ this->Makefile->GetCMakeInstance()->IssueMessage(cmake::LOG, areport, lfbt);
+}
+
+//----------------------------------------------------------------------------
+std::string compatibilityType(CompatibleType t)
+{
+ switch(t)
+ {
+ case BoolType:
+ return "Boolean compatibility";
+ case StringType:
+ return "String compatibility";
+ case NumberMaxType:
+ return "Numeric maximum compatibility";
+ case NumberMinType:
+ return "Numeric minimum compatibility";
+ }
+ assert(!"Unreachable!");
+ return "";
+}
+
+//----------------------------------------------------------------------------
+std::string compatibilityAgree(CompatibleType t, bool dominant)
+{
+ switch(t)
+ {
+ case BoolType:
+ case StringType:
+ return dominant ? "(Disagree)\n" : "(Agree)\n";
+ case NumberMaxType:
+ case NumberMinType:
+ return dominant ? "(Dominant)\n" : "(Ignored)\n";
+ }
+ assert(!"Unreachable!");
+ return "";
}
//----------------------------------------------------------------------------
template<typename PropertyType>
-PropertyType checkInterfacePropertyCompatibility(cmTarget *tgt,
+PropertyType checkInterfacePropertyCompatibility(cmTarget const* tgt,
const std::string &p,
const char *config,
const char *defaultValue,
+ CompatibleType t,
PropertyType *)
{
PropertyType propContent = getTypedProperty<PropertyType>(tgt, p.c_str(),
@@ -5684,6 +4552,23 @@ PropertyType checkInterfacePropertyCompatibility(cmTarget *tgt,
const cmComputeLinkInformation::ItemVector &deps = info->GetItems();
bool propInitialized = explicitlySet;
+ std::string report = " * Target \"";
+ report += tgt->GetName();
+ if (explicitlySet)
+ {
+ report += "\" has property content \"";
+ report += valueAsString<PropertyType>(propContent);
+ report += "\"\n";
+ }
+ else if (impliedByUse)
+ {
+ report += "\" property is implied by use.\n";
+ }
+ else
+ {
+ report += "\" property not set.\n";
+ }
+
for(cmComputeLinkInformation::ItemVector::const_iterator li =
deps.begin();
li != deps.end(); ++li)
@@ -5705,11 +4590,27 @@ PropertyType checkInterfacePropertyCompatibility(cmTarget *tgt,
PropertyType ifacePropContent =
getTypedProperty<PropertyType>(li->Target,
("INTERFACE_" + p).c_str(), 0);
+
+ std::string reportEntry;
+ if (ifaceIsSet)
+ {
+ reportEntry += " * Target \"";
+ reportEntry += li->Target->GetName();
+ reportEntry += "\" property value \"";
+ reportEntry += valueAsString<PropertyType>(ifacePropContent);
+ reportEntry += "\" ";
+ }
+
if (explicitlySet)
{
if (ifaceIsSet)
{
- if (!consistentProperty(propContent, ifacePropContent))
+ std::pair<bool, PropertyType> consistent =
+ consistentProperty(propContent,
+ ifacePropContent, t);
+ report += reportEntry;
+ report += compatibilityAgree(t, propContent != consistent.second);
+ if (!consistent.first)
{
cmOStringStream e;
e << "Property " << p << " on target \""
@@ -5721,7 +4622,7 @@ PropertyType checkInterfacePropertyCompatibility(cmTarget *tgt,
}
else
{
- // Agree
+ propContent = consistent.second;
continue;
}
}
@@ -5733,9 +4634,16 @@ PropertyType checkInterfacePropertyCompatibility(cmTarget *tgt,
}
else if (impliedByUse)
{
+ propContent = impliedValue<PropertyType>(propContent);
+
if (ifaceIsSet)
{
- if (!consistentProperty(propContent, ifacePropContent))
+ std::pair<bool, PropertyType> consistent =
+ consistentProperty(propContent,
+ ifacePropContent, t);
+ report += reportEntry;
+ report += compatibilityAgree(t, propContent != consistent.second);
+ if (!consistent.first)
{
cmOStringStream e;
e << "Property " << p << " on target \""
@@ -5748,7 +4656,7 @@ PropertyType checkInterfacePropertyCompatibility(cmTarget *tgt,
}
else
{
- // Agree
+ propContent = consistent.second;
continue;
}
}
@@ -5764,7 +4672,12 @@ PropertyType checkInterfacePropertyCompatibility(cmTarget *tgt,
{
if (propInitialized)
{
- if (!consistentProperty(propContent, ifacePropContent))
+ std::pair<bool, PropertyType> consistent =
+ consistentProperty(propContent,
+ ifacePropContent, t);
+ report += reportEntry;
+ report += compatibilityAgree(t, propContent != consistent.second);
+ if (!consistent.first)
{
cmOStringStream e;
e << "The INTERFACE_" << p << " property of \""
@@ -5776,12 +4689,13 @@ PropertyType checkInterfacePropertyCompatibility(cmTarget *tgt,
}
else
{
- // Agree.
+ propContent = consistent.second;
continue;
}
}
else
{
+ report += reportEntry + "(Interface set)\n";
propContent = ifacePropContent;
propInitialized = true;
}
@@ -5793,30 +4707,58 @@ PropertyType checkInterfacePropertyCompatibility(cmTarget *tgt,
}
}
}
+
+ tgt->ReportPropertyOrigin(p, valueAsString<PropertyType>(propContent),
+ report, compatibilityType(t));
return propContent;
}
//----------------------------------------------------------------------------
bool cmTarget::GetLinkInterfaceDependentBoolProperty(const std::string &p,
- const char *config)
+ const char *config) const
{
return checkInterfacePropertyCompatibility<bool>(this, p, config, "FALSE",
- 0);
+ BoolType, 0);
}
//----------------------------------------------------------------------------
const char * cmTarget::GetLinkInterfaceDependentStringProperty(
const std::string &p,
- const char *config)
+ const char *config) const
{
return checkInterfacePropertyCompatibility<const char *>(this,
p,
config,
- "empty", 0);
+ "empty",
+ StringType, 0);
}
//----------------------------------------------------------------------------
-bool isLinkDependentProperty(cmTarget *tgt, const std::string &p,
+const char * cmTarget::GetLinkInterfaceDependentNumberMinProperty(
+ const std::string &p,
+ const char *config) const
+{
+ return checkInterfacePropertyCompatibility<const char *>(this,
+ p,
+ config,
+ "empty",
+ NumberMinType, 0);
+}
+
+//----------------------------------------------------------------------------
+const char * cmTarget::GetLinkInterfaceDependentNumberMaxProperty(
+ const std::string &p,
+ const char *config) const
+{
+ return checkInterfacePropertyCompatibility<const char *>(this,
+ p,
+ config,
+ "empty",
+ NumberMaxType, 0);
+}
+
+//----------------------------------------------------------------------------
+bool isLinkDependentProperty(cmTarget const* tgt, const std::string &p,
const char *interfaceProperty,
const char *config)
{
@@ -5860,9 +4802,10 @@ bool isLinkDependentProperty(cmTarget *tgt, const std::string &p,
//----------------------------------------------------------------------------
bool cmTarget::IsLinkInterfaceDependentBoolProperty(const std::string &p,
- const char *config)
+ const char *config) const
{
- if (this->TargetTypeValue == OBJECT_LIBRARY)
+ if (this->TargetTypeValue == OBJECT_LIBRARY
+ || this->TargetTypeValue == INTERFACE_LIBRARY)
{
return false;
}
@@ -5873,13 +4816,41 @@ bool cmTarget::IsLinkInterfaceDependentBoolProperty(const std::string &p,
//----------------------------------------------------------------------------
bool cmTarget::IsLinkInterfaceDependentStringProperty(const std::string &p,
- const char *config)
+ const char *config) const
+{
+ if (this->TargetTypeValue == OBJECT_LIBRARY
+ || this->TargetTypeValue == INTERFACE_LIBRARY)
+ {
+ return false;
+ }
+ return (p == "AUTOUIC_OPTIONS") ||
+ isLinkDependentProperty(this, p, "COMPATIBLE_INTERFACE_STRING",
+ config);
+}
+
+//----------------------------------------------------------------------------
+bool cmTarget::IsLinkInterfaceDependentNumberMinProperty(const std::string &p,
+ const char *config) const
+{
+ if (this->TargetTypeValue == OBJECT_LIBRARY
+ || this->TargetTypeValue == INTERFACE_LIBRARY)
+ {
+ return false;
+ }
+ return isLinkDependentProperty(this, p, "COMPATIBLE_INTERFACE_NUMBER_MIN",
+ config);
+}
+
+//----------------------------------------------------------------------------
+bool cmTarget::IsLinkInterfaceDependentNumberMaxProperty(const std::string &p,
+ const char *config) const
{
- if (this->TargetTypeValue == OBJECT_LIBRARY)
+ if (this->TargetTypeValue == OBJECT_LIBRARY
+ || this->TargetTypeValue == INTERFACE_LIBRARY)
{
return false;
}
- return isLinkDependentProperty(this, p, "COMPATIBLE_INTERFACE_STRING",
+ return isLinkDependentProperty(this, p, "COMPATIBLE_INTERFACE_NUMBER_MAX",
config);
}
@@ -5897,7 +4868,7 @@ void cmTarget::GetLanguages(std::set<cmStdString>& languages) const
}
//----------------------------------------------------------------------------
-bool cmTarget::IsChrpathUsed(const char* config)
+bool cmTarget::IsChrpathUsed(const char* config) const
{
// Only certain target types have an rpath.
if(!(this->GetType() == cmTarget::SHARED_LIBRARY ||
@@ -5964,7 +4935,7 @@ bool cmTarget::IsChrpathUsed(const char* config)
//----------------------------------------------------------------------------
cmTarget::ImportInfo const*
-cmTarget::GetImportInfo(const char* config, cmTarget *headTarget)
+cmTarget::GetImportInfo(const char* config, cmTarget const* headTarget) const
{
// There is no imported information for non-imported targets.
if(!this->IsImported())
@@ -5996,6 +4967,10 @@ cmTarget::GetImportInfo(const char* config, cmTarget *headTarget)
i = this->Internal->ImportInfoMap.insert(entry).first;
}
+ if(this->GetType() == INTERFACE_LIBRARY)
+ {
+ return &i->second;
+ }
// If the location is empty then the target is not available for
// this configuration.
if(i->second.Location.empty() && i->second.ImportLibrary.empty())
@@ -6010,8 +4985,17 @@ cmTarget::GetImportInfo(const char* config, cmTarget *headTarget)
bool cmTarget::GetMappedConfig(std::string const& desired_config,
const char** loc,
const char** imp,
- std::string& suffix)
+ std::string& suffix) const
{
+ if (this->GetType() == INTERFACE_LIBRARY)
+ {
+ // This method attempts to find a config-specific LOCATION for the
+ // IMPORTED library. In the case of INTERFACE_LIBRARY, there is no
+ // LOCATION at all, so leaving *loc and *imp unchanged is the appropriate
+ // and valid response.
+ return true;
+ }
+
// Track the configuration-specific property suffix.
suffix = "_";
suffix += desired_config;
@@ -6132,7 +5116,7 @@ bool cmTarget::GetMappedConfig(std::string const& desired_config,
//----------------------------------------------------------------------------
void cmTarget::ComputeImportInfo(std::string const& desired_config,
ImportInfo& info,
- cmTarget *headTarget)
+ cmTarget const* headTarget) const
{
// This method finds information about an imported target from its
// properties. The "IMPORTED_" namespace is reserved for properties
@@ -6149,6 +5133,49 @@ void cmTarget::ComputeImportInfo(std::string const& desired_config,
return;
}
+ // Get the link interface.
+ {
+ std::string linkProp = "INTERFACE_LINK_LIBRARIES";
+ const char *propertyLibs = this->GetProperty(linkProp.c_str());
+
+ if (this->GetType() != INTERFACE_LIBRARY)
+ {
+ if(!propertyLibs)
+ {
+ linkProp = "IMPORTED_LINK_INTERFACE_LIBRARIES";
+ linkProp += suffix;
+ propertyLibs = this->GetProperty(linkProp.c_str());
+ }
+
+ if(!propertyLibs)
+ {
+ linkProp = "IMPORTED_LINK_INTERFACE_LIBRARIES";
+ propertyLibs = this->GetProperty(linkProp.c_str());
+ }
+ }
+ if(propertyLibs)
+ {
+ cmListFileBacktrace lfbt;
+ cmGeneratorExpression ge(lfbt);
+
+ cmGeneratorExpressionDAGChecker dagChecker(lfbt,
+ this->GetName(),
+ linkProp, 0, 0);
+ cmSystemTools::ExpandListArgument(ge.Parse(propertyLibs)
+ ->Evaluate(this->Makefile,
+ desired_config.c_str(),
+ false,
+ headTarget,
+ this,
+ &dagChecker),
+ info.LinkInterface.Libraries);
+ }
+ }
+ if(this->GetType() == INTERFACE_LIBRARY)
+ {
+ return;
+ }
+
// A provided configuration has been chosen. Load the
// configuration's properties.
@@ -6221,42 +5248,6 @@ void cmTarget::ComputeImportInfo(std::string const& desired_config,
}
}
- // Get the link interface.
- {
- std::string linkProp = "INTERFACE_LINK_LIBRARIES";
- const char *propertyLibs = this->GetProperty(linkProp.c_str());
-
- if (!propertyLibs)
- {
- linkProp = "IMPORTED_LINK_INTERFACE_LIBRARIES";
- linkProp += suffix;
- propertyLibs = this->GetProperty(linkProp.c_str());
- }
-
- if(!propertyLibs)
- {
- linkProp = "IMPORTED_LINK_INTERFACE_LIBRARIES";
- propertyLibs = this->GetProperty(linkProp.c_str());
- }
- if(propertyLibs)
- {
- cmListFileBacktrace lfbt;
- cmGeneratorExpression ge(lfbt);
-
- cmGeneratorExpressionDAGChecker dagChecker(lfbt,
- this->GetName(),
- linkProp, 0, 0);
- cmSystemTools::ExpandListArgument(ge.Parse(propertyLibs)
- ->Evaluate(this->Makefile,
- desired_config.c_str(),
- false,
- headTarget,
- this,
- &dagChecker),
- info.LinkInterface.Libraries);
- }
- }
-
// Get the link dependencies.
{
std::string linkProp = "IMPORTED_LINK_DEPENDENT_LIBRARIES";
@@ -6310,7 +5301,7 @@ void cmTarget::ComputeImportInfo(std::string const& desired_config,
//----------------------------------------------------------------------------
cmTarget::LinkInterface const* cmTarget::GetLinkInterface(const char* config,
- cmTarget *head)
+ cmTarget const* head) const
{
// Imported targets have their own link interface.
if(this->IsImported())
@@ -6352,8 +5343,8 @@ cmTarget::LinkInterface const* cmTarget::GetLinkInterface(const char* config,
//----------------------------------------------------------------------------
void cmTarget::GetTransitivePropertyLinkLibraries(
const char* config,
- cmTarget *headTarget,
- std::vector<std::string> &libs)
+ cmTarget const* headTarget,
+ std::vector<std::string> &libs) const
{
cmTarget::LinkInterface const* iface = this->GetLinkInterface(config,
headTarget);
@@ -6393,7 +5384,7 @@ void cmTarget::GetTransitivePropertyLinkLibraries(
//----------------------------------------------------------------------------
bool cmTarget::ComputeLinkInterface(const char* config, LinkInterface& iface,
- cmTarget *headTarget)
+ cmTarget const* headTarget) const
{
// Construct the property name suffix for this configuration.
std::string suffix = "_";
@@ -6465,11 +5456,9 @@ bool cmTarget::ComputeLinkInterface(const char* config, LinkInterface& iface,
// There is no implicit link interface for executables or modules
// so if none was explicitly set then there is no link interface.
- // Note that CMake versions 2.2 and below allowed linking to modules.
- bool canLinkModules = this->Makefile->NeedBackwardsCompatibility(2,2);
if(!explicitLibraries &&
(this->GetType() == cmTarget::EXECUTABLE ||
- (this->GetType() == cmTarget::MODULE_LIBRARY && !canLinkModules)))
+ (this->GetType() == cmTarget::MODULE_LIBRARY)))
{
return false;
}
@@ -6489,7 +5478,8 @@ bool cmTarget::ComputeLinkInterface(const char* config, LinkInterface& iface,
this, &dagChecker), iface.Libraries);
if(this->GetType() == cmTarget::SHARED_LIBRARY
- || this->GetType() == cmTarget::STATIC_LIBRARY)
+ || this->GetType() == cmTarget::STATIC_LIBRARY
+ || this->GetType() == cmTarget::INTERFACE_LIBRARY)
{
// Shared libraries may have runtime implementation dependencies
// on other shared libraries that are not in the interface.
@@ -6499,34 +5489,37 @@ bool cmTarget::ComputeLinkInterface(const char* config, LinkInterface& iface,
{
emitted.insert(*li);
}
- LinkImplementation const* impl = this->GetLinkImplementation(config,
- headTarget);
- for(std::vector<std::string>::const_iterator
- li = impl->Libraries.begin(); li != impl->Libraries.end(); ++li)
+ if (this->GetType() != cmTarget::INTERFACE_LIBRARY)
{
- if(emitted.insert(*li).second)
+ LinkImplementation const* impl = this->GetLinkImplementation(config,
+ headTarget);
+ for(std::vector<std::string>::const_iterator
+ li = impl->Libraries.begin(); li != impl->Libraries.end(); ++li)
{
- if(cmTarget* tgt = this->Makefile->FindTargetToUse(li->c_str()))
+ if(emitted.insert(*li).second)
{
- // This is a runtime dependency on another shared library.
- if(tgt->GetType() == cmTarget::SHARED_LIBRARY)
+ if(cmTarget* tgt = this->Makefile->FindTargetToUse(*li))
{
- iface.SharedDeps.push_back(*li);
+ // This is a runtime dependency on another shared library.
+ if(tgt->GetType() == cmTarget::SHARED_LIBRARY)
+ {
+ iface.SharedDeps.push_back(*li);
+ }
+ }
+ else
+ {
+ // TODO: Recognize shared library file names. Perhaps this
+ // should be moved to cmComputeLinkInformation, but that creates
+ // a chicken-and-egg problem since this list is needed for its
+ // construction.
}
- }
- else
- {
- // TODO: Recognize shared library file names. Perhaps this
- // should be moved to cmComputeLinkInformation, but that creates
- // a chicken-and-egg problem since this list is needed for its
- // construction.
}
}
- }
- if(this->LinkLanguagePropagatesToDependents())
- {
- // Targets using this archive need its language runtime libraries.
- iface.Languages = impl->Languages;
+ if(this->LinkLanguagePropagatesToDependents())
+ {
+ // Targets using this archive need its language runtime libraries.
+ iface.Languages = impl->Languages;
+ }
}
}
}
@@ -6636,7 +5629,7 @@ bool cmTarget::ComputeLinkInterface(const char* config, LinkInterface& iface,
//----------------------------------------------------------------------------
cmTarget::LinkImplementation const*
-cmTarget::GetLinkImplementation(const char* config, cmTarget *head)
+cmTarget::GetLinkImplementation(const char* config, cmTarget const* head) const
{
// There is no link implementation for imported targets.
if(this->IsImported())
@@ -6666,11 +5659,8 @@ cmTarget::GetLinkImplementation(const char* config, cmTarget *head)
//----------------------------------------------------------------------------
void cmTarget::ComputeLinkImplementation(const char* config,
LinkImplementation& impl,
- cmTarget *head)
+ cmTarget const* head) const
{
- // Compute which library configuration to link.
- cmTarget::LinkLibraryType linkType = this->ComputeLinkType(config);
-
// Collect libraries directly linked in this configuration.
std::vector<std::string> llibs;
this->GetDirectLinkLibraries(config, llibs, head);
@@ -6681,12 +5671,49 @@ void cmTarget::ComputeLinkImplementation(const char* config,
std::string item = this->CheckCMP0004(*li);
if(item == this->GetName() || item.empty())
{
+ if(item == this->GetName())
+ {
+ bool noMessage = false;
+ cmake::MessageType messageType = cmake::FATAL_ERROR;
+ cmOStringStream e;
+ switch(this->GetPolicyStatusCMP0038())
+ {
+ case cmPolicies::WARN:
+ {
+ e << (this->Makefile->GetPolicies()
+ ->GetPolicyWarning(cmPolicies::CMP0038)) << "\n";
+ messageType = cmake::AUTHOR_WARNING;
+ }
+ break;
+ case cmPolicies::OLD:
+ noMessage = true;
+ case cmPolicies::REQUIRED_IF_USED:
+ case cmPolicies::REQUIRED_ALWAYS:
+ case cmPolicies::NEW:
+ // Issue the fatal message.
+ break;
+ }
+
+ if(!noMessage)
+ {
+ e << "Target \"" << this->GetName() << "\" links to itself.";
+ this->Makefile->GetCMakeInstance()->IssueMessage(messageType,
+ e.str(),
+ this->GetBacktrace());
+ if (messageType == cmake::FATAL_ERROR)
+ {
+ return;
+ }
+ }
+ }
continue;
}
+
// The entry is meant for this configuration.
impl.Libraries.push_back(item);
}
+ cmTarget::LinkLibraryType linkType = this->ComputeLinkType(config);
LinkLibraryVectorType const& oldllibs = this->GetOriginalLinkLibraries();
for(cmTarget::LinkLibraryVectorType::const_iterator li = oldllibs.begin();
li != oldllibs.end(); ++li)
@@ -6708,10 +5735,11 @@ void cmTarget::ComputeLinkImplementation(const char* config,
// Get languages used in our source files.
this->GetLanguages(languages);
// Get languages used in object library sources.
- for(std::vector<std::string>::iterator i = this->ObjectLibraries.begin();
+ for(std::vector<std::string>::const_iterator
+ i = this->ObjectLibraries.begin();
i != this->ObjectLibraries.end(); ++i)
{
- if(cmTarget* objLib = this->Makefile->FindTargetToUse(i->c_str()))
+ if(cmTarget* objLib = this->Makefile->FindTargetToUse(*i))
{
if(objLib->GetType() == cmTarget::OBJECT_LIBRARY)
{
@@ -6728,7 +5756,7 @@ void cmTarget::ComputeLinkImplementation(const char* config,
}
//----------------------------------------------------------------------------
-std::string cmTarget::CheckCMP0004(std::string const& item)
+std::string cmTarget::CheckCMP0004(std::string const& item) const
{
// Strip whitespace off the library names because we used to do this
// in case variables were expanded at generate time. We no longer
@@ -6787,34 +5815,52 @@ std::string cmTarget::CheckCMP0004(std::string const& item)
}
template<typename PropertyType>
-PropertyType getLinkInterfaceDependentProperty(cmTarget *tgt,
+PropertyType getLinkInterfaceDependentProperty(cmTarget const* tgt,
const std::string prop,
const char *config,
+ CompatibleType,
PropertyType *);
template<>
-bool getLinkInterfaceDependentProperty(cmTarget *tgt,
- const std::string prop,
- const char *config, bool *)
+bool getLinkInterfaceDependentProperty(cmTarget const* tgt,
+ const std::string prop,
+ const char *config,
+ CompatibleType, bool *)
{
return tgt->GetLinkInterfaceDependentBoolProperty(prop, config);
}
template<>
-const char * getLinkInterfaceDependentProperty(cmTarget *tgt,
- const std::string prop,
- const char *config,
- const char **)
+const char * getLinkInterfaceDependentProperty(cmTarget const* tgt,
+ const std::string prop,
+ const char *config,
+ CompatibleType t,
+ const char **)
{
- return tgt->GetLinkInterfaceDependentStringProperty(prop, config);
+ switch(t)
+ {
+ case BoolType:
+ assert(!"String compatibility check function called for boolean");
+ return 0;
+ case StringType:
+ return tgt->GetLinkInterfaceDependentStringProperty(prop, config);
+ case NumberMinType:
+ return tgt->GetLinkInterfaceDependentNumberMinProperty(prop, config);
+ case NumberMaxType:
+ return tgt->GetLinkInterfaceDependentNumberMaxProperty(prop, config);
+ }
+ assert(!"Unreachable!");
+ return 0;
}
//----------------------------------------------------------------------------
template<typename PropertyType>
-void checkPropertyConsistency(cmTarget *depender, cmTarget *dependee,
+void checkPropertyConsistency(cmTarget const* depender,
+ cmTarget const* dependee,
const char *propName,
std::set<cmStdString> &emitted,
const char *config,
+ CompatibleType t,
PropertyType *)
{
const char *prop = dependee->GetProperty(propName);
@@ -6825,13 +5871,16 @@ void checkPropertyConsistency(cmTarget *depender, cmTarget *dependee,
std::vector<std::string> props;
cmSystemTools::ExpandListArgument(prop, props);
+ std::string pdir =
+ dependee->GetMakefile()->GetRequiredDefinition("CMAKE_ROOT");
+ pdir += "/Help/prop_tgt/";
for(std::vector<std::string>::iterator pi = props.begin();
pi != props.end(); ++pi)
{
- if (depender->GetMakefile()->GetCMakeInstance()
- ->GetIsPropertyDefined(pi->c_str(),
- cmProperty::TARGET))
+ std::string pname = cmSystemTools::HelpFileName(*pi);
+ std::string pfile = pdir + pname + ".rst";
+ if(cmSystemTools::FileExists(pfile.c_str(), true))
{
cmOStringStream e;
e << "Target \"" << dependee->GetName() << "\" has property \""
@@ -6844,7 +5893,7 @@ void checkPropertyConsistency(cmTarget *depender, cmTarget *dependee,
if(emitted.insert(*pi).second)
{
getLinkInterfaceDependentProperty<PropertyType>(depender, *pi, config,
- 0);
+ t, 0);
if (cmSystemTools::GetErrorOccuredFlag())
{
return;
@@ -6853,14 +5902,60 @@ void checkPropertyConsistency(cmTarget *depender, cmTarget *dependee,
}
}
+static cmStdString intersect(const std::set<cmStdString> &s1,
+ const std::set<cmStdString> &s2)
+{
+ std::set<cmStdString> intersect;
+ std::set_intersection(s1.begin(),s1.end(),
+ s2.begin(),s2.end(),
+ std::inserter(intersect,intersect.begin()));
+ if (!intersect.empty())
+ {
+ return *intersect.begin();
+ }
+ return "";
+}
+static cmStdString intersect(const std::set<cmStdString> &s1,
+ const std::set<cmStdString> &s2,
+ const std::set<cmStdString> &s3)
+{
+ cmStdString result;
+ result = intersect(s1, s2);
+ if (!result.empty())
+ return result;
+ result = intersect(s1, s3);
+ if (!result.empty())
+ return result;
+ return intersect(s2, s3);
+}
+static cmStdString intersect(const std::set<cmStdString> &s1,
+ const std::set<cmStdString> &s2,
+ const std::set<cmStdString> &s3,
+ const std::set<cmStdString> &s4)
+{
+ cmStdString result;
+ result = intersect(s1, s2);
+ if (!result.empty())
+ return result;
+ result = intersect(s1, s3);
+ if (!result.empty())
+ return result;
+ result = intersect(s1, s4);
+ if (!result.empty())
+ return result;
+ return intersect(s2, s3, s4);
+}
+
//----------------------------------------------------------------------------
void cmTarget::CheckPropertyCompatibility(cmComputeLinkInformation *info,
- const char* config)
+ const char* config) const
{
const cmComputeLinkInformation::ItemVector &deps = info->GetItems();
std::set<cmStdString> emittedBools;
std::set<cmStdString> emittedStrings;
+ std::set<cmStdString> emittedMinNumbers;
+ std::set<cmStdString> emittedMaxNumbers;
for(cmComputeLinkInformation::ItemVector::const_iterator li =
deps.begin();
@@ -6873,43 +5968,93 @@ void cmTarget::CheckPropertyCompatibility(cmComputeLinkInformation *info,
checkPropertyConsistency<bool>(this, li->Target,
"COMPATIBLE_INTERFACE_BOOL",
- emittedBools, config, 0);
+ emittedBools, config, BoolType, 0);
if (cmSystemTools::GetErrorOccuredFlag())
{
return;
}
checkPropertyConsistency<const char *>(this, li->Target,
"COMPATIBLE_INTERFACE_STRING",
- emittedStrings, config, 0);
+ emittedStrings, config,
+ StringType, 0);
+ if (cmSystemTools::GetErrorOccuredFlag())
+ {
+ return;
+ }
+ checkPropertyConsistency<const char *>(this, li->Target,
+ "COMPATIBLE_INTERFACE_NUMBER_MIN",
+ emittedMinNumbers, config,
+ NumberMinType, 0);
+ if (cmSystemTools::GetErrorOccuredFlag())
+ {
+ return;
+ }
+ checkPropertyConsistency<const char *>(this, li->Target,
+ "COMPATIBLE_INTERFACE_NUMBER_MAX",
+ emittedMaxNumbers, config,
+ NumberMaxType, 0);
if (cmSystemTools::GetErrorOccuredFlag())
{
return;
}
}
- for(std::set<cmStdString>::const_iterator li = emittedBools.begin();
- li != emittedBools.end(); ++li)
+ std::string prop = intersect(emittedBools,
+ emittedStrings,
+ emittedMinNumbers,
+ emittedMaxNumbers);
+
+ if (!prop.empty())
{
- const std::set<cmStdString>::const_iterator si = emittedStrings.find(*li);
- if (si != emittedStrings.end())
+ std::set<std::string> props;
+ std::set<cmStdString>::const_iterator i = emittedBools.find(prop);
+ if (i != emittedBools.end())
{
- cmOStringStream e;
- e << "Property \"" << *li << "\" appears in both the "
- "COMPATIBLE_INTERFACE_BOOL and the COMPATIBLE_INTERFACE_STRING "
- "property in the dependencies of target \"" << this->GetName() <<
- "\". This is not allowed. A property may only require compatibility "
- "in a boolean interpretation or a string interpretation, but not both.";
- this->Makefile->IssueMessage(cmake::FATAL_ERROR, e.str());
- break;
+ props.insert("COMPATIBLE_INTERFACE_BOOL");
+ }
+ i = emittedStrings.find(prop);
+ if (i != emittedStrings.end())
+ {
+ props.insert("COMPATIBLE_INTERFACE_STRING");
+ }
+ i = emittedMinNumbers.find(prop);
+ if (i != emittedMinNumbers.end())
+ {
+ props.insert("COMPATIBLE_INTERFACE_NUMBER_MIN");
+ }
+ i = emittedMaxNumbers.find(prop);
+ if (i != emittedMaxNumbers.end())
+ {
+ props.insert("COMPATIBLE_INTERFACE_NUMBER_MAX");
}
+
+ std::string propsString = *props.begin();
+ props.erase(props.begin());
+ while (props.size() > 1)
+ {
+ propsString += ", " + *props.begin();
+ props.erase(props.begin());
+ }
+ if (props.size() == 1)
+ {
+ propsString += " and the " + *props.begin();
+ }
+ cmOStringStream e;
+ e << "Property \"" << prop << "\" appears in both the "
+ << propsString <<
+ " property in the dependencies of target \"" << this->GetName() <<
+ "\". This is not allowed. A property may only require compatibility "
+ "in a boolean interpretation, a numeric minimum, a numeric maximum or a "
+ "string interpretation, but not a mixture.";
+ this->Makefile->IssueMessage(cmake::FATAL_ERROR, e.str());
}
}
//----------------------------------------------------------------------------
cmComputeLinkInformation*
-cmTarget::GetLinkInformation(const char* config, cmTarget *head)
+cmTarget::GetLinkInformation(const char* config, cmTarget const* head) const
{
- cmTarget *headTarget = head ? head : this;
+ cmTarget const* headTarget = head ? head : this;
// Lookup any existing information for this configuration.
TargetConfigPair key(headTarget,
cmSystemTools::UpperCase(config?config:""));
@@ -6940,7 +6085,7 @@ cmTarget::GetLinkInformation(const char* config, cmTarget *head)
//----------------------------------------------------------------------------
std::string cmTarget::GetFrameworkDirectory(const char* config,
- bool rootDir)
+ bool rootDir) const
{
std::string fpath;
fpath += this->GetOutputName(config, false);
@@ -6955,7 +6100,7 @@ std::string cmTarget::GetFrameworkDirectory(const char* config,
//----------------------------------------------------------------------------
std::string cmTarget::GetCFBundleDirectory(const char* config,
- bool contentOnly)
+ bool contentOnly) const
{
std::string fpath;
fpath += this->GetOutputName(config, false);
@@ -6974,7 +6119,7 @@ std::string cmTarget::GetCFBundleDirectory(const char* config,
//----------------------------------------------------------------------------
std::string cmTarget::GetAppBundleDirectory(const char* config,
- bool contentOnly)
+ bool contentOnly) const
{
std::string fpath = this->GetFullName(config, false);
fpath += ".app/Contents";
@@ -6986,7 +6131,7 @@ std::string cmTarget::GetAppBundleDirectory(const char* config,
//----------------------------------------------------------------------------
std::string cmTarget::BuildMacContentDirectory(const std::string& base,
const char* config,
- bool contentOnly)
+ bool contentOnly) const
{
std::string fpath = base;
if(this->IsAppBundleOnApple())
@@ -7006,7 +6151,7 @@ std::string cmTarget::BuildMacContentDirectory(const std::string& base,
//----------------------------------------------------------------------------
std::string cmTarget::GetMacContentDirectory(const char* config,
- bool implib)
+ bool implib) const
{
// Start with the output directory for the target.
std::string fpath = this->GetDirectory(config, implib);
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 27b74ca..0e9d682 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -25,7 +25,12 @@
F(CMP0008) \
F(CMP0020) \
F(CMP0021) \
- F(CMP0022)
+ F(CMP0022) \
+ F(CMP0027) \
+ F(CMP0038) \
+ F(CMP0041) \
+ F(CMP0042) \
+ F(CMP0046)
class cmake;
class cmMakefile;
@@ -34,11 +39,14 @@ class cmGlobalGenerator;
class cmComputeLinkInformation;
class cmListFileBacktrace;
class cmTarget;
+class cmGeneratorTarget;
+class cmTargetTraceDependencies;
struct cmTargetLinkInformationMap:
- public std::map<std::pair<cmTarget*, std::string>, cmComputeLinkInformation*>
+ public std::map<std::pair<cmTarget const* , std::string>,
+ cmComputeLinkInformation*>
{
- typedef std::map<std::pair<cmTarget*, std::string>,
+ typedef std::map<std::pair<cmTarget const* , std::string>,
cmComputeLinkInformation*> derived;
cmTargetLinkInformationMap() {}
cmTargetLinkInformationMap(cmTargetLinkInformationMap const& r);
@@ -72,6 +80,7 @@ public:
enum TargetType { EXECUTABLE, STATIC_LIBRARY,
SHARED_LIBRARY, MODULE_LIBRARY,
OBJECT_LIBRARY, UTILITY, GLOBAL_TARGET,
+ INTERFACE_LIBRARY,
UNKNOWN_LIBRARY};
static const char* GetTargetTypeName(TargetType targetType);
enum CustomCommandType { PRE_BUILD, PRE_LINK, POST_BUILD };
@@ -93,7 +102,7 @@ public:
///! Set/Get the name of the target
const char* GetName() const {return this->Name.c_str();}
- const char* GetExportName();
+ const char* GetExportName() const;
///! Set the cmMakefile that owns this target
void SetMakefile(cmMakefile *mf);
@@ -110,26 +119,29 @@ public:
/**
* Get the list of the custom commands for this target
*/
- std::vector<cmCustomCommand> &GetPreBuildCommands()
+ std::vector<cmCustomCommand> const &GetPreBuildCommands() const
{return this->PreBuildCommands;}
- std::vector<cmCustomCommand> &GetPreLinkCommands()
+ std::vector<cmCustomCommand> const &GetPreLinkCommands() const
{return this->PreLinkCommands;}
- std::vector<cmCustomCommand> &GetPostBuildCommands()
+ std::vector<cmCustomCommand> const &GetPostBuildCommands() const
{return this->PostBuildCommands;}
+ void AddPreBuildCommand(cmCustomCommand const &cmd)
+ {this->PreBuildCommands.push_back(cmd);}
+ void AddPreLinkCommand(cmCustomCommand const &cmd)
+ {this->PreLinkCommands.push_back(cmd);}
+ void AddPostBuildCommand(cmCustomCommand const &cmd)
+ {this->PostBuildCommands.push_back(cmd);}
/**
* Get the list of the source files used by this target
*/
- std::vector<cmSourceFile*> const& GetSourceFiles();
+ void GetSourceFiles(std::vector<cmSourceFile*> &files) const;
void AddSourceFile(cmSourceFile* sf);
std::vector<std::string> const& GetObjectLibraries() const
{
return this->ObjectLibraries;
}
- /** Get sources that must be built before the given source. */
- std::vector<cmSourceFile*> const* GetSourceDepends(cmSourceFile* sf);
-
/**
* Flags for a given source file as used in this target. Typically assigned
* via SET_TARGET_PROPERTIES when the property is a list of source files.
@@ -155,7 +167,8 @@ public:
/**
* Get the flags for a given source file as used in this target
*/
- struct SourceFileFlags GetTargetSourceFileFlags(const cmSourceFile* sf);
+ struct SourceFileFlags
+ GetTargetSourceFileFlags(const cmSourceFile* sf) const;
/**
* Add sources to the target.
@@ -175,10 +188,13 @@ public:
{return this->OriginalLinkLibraries;}
void GetDirectLinkLibraries(const char *config,
std::vector<std::string> &,
- cmTarget *head);
+ cmTarget const* head) const;
+ void GetInterfaceLinkLibraries(const char *config,
+ std::vector<std::string> &,
+ cmTarget const* head) const;
/** Compute the link type to use for the given configuration. */
- LinkLibraryType ComputeLinkType(const char* config);
+ LinkLibraryType ComputeLinkType(const char* config) const;
/**
* Clear the dependency information recorded for this target, if any.
@@ -186,7 +202,7 @@ public:
void ClearDependencyInformation(cmMakefile& mf, const char* target);
// Check to see if a library is a framework and treat it different on Mac
- bool NameResolvesToFramework(const std::string& libname);
+ bool NameResolvesToFramework(const std::string& libname) const;
void AddLinkLibrary(cmMakefile& mf,
const char *target, const char* lib,
LinkLibraryType llt);
@@ -200,7 +216,7 @@ public:
void MergeLinkLibraries( cmMakefile& mf, const char* selfname,
const LinkLibraryVectorType& libs );
- const std::vector<std::string>& GetLinkDirectories();
+ const std::vector<std::string>& GetLinkDirectories() const;
void AddLinkDirectory(const char* d);
@@ -208,30 +224,31 @@ public:
* Set the path where this target should be installed. This is relative to
* INSTALL_PREFIX
*/
- std::string GetInstallPath() {return this->InstallPath;}
+ std::string GetInstallPath() const {return this->InstallPath;}
void SetInstallPath(const char *name) {this->InstallPath = name;}
/**
* Set the path where this target (if it has a runtime part) should be
* installed. This is relative to INSTALL_PREFIX
*/
- std::string GetRuntimeInstallPath() {return this->RuntimeInstallPath;}
+ std::string GetRuntimeInstallPath() const {return this->RuntimeInstallPath;}
void SetRuntimeInstallPath(const char *name) {
this->RuntimeInstallPath = name; }
/**
* Get/Set whether there is an install rule for this target.
*/
- bool GetHaveInstallRule() { return this->HaveInstallRule; }
+ bool GetHaveInstallRule() const { return this->HaveInstallRule; }
void SetHaveInstallRule(bool h) { this->HaveInstallRule = h; }
/** Add a utility on which this project depends. A utility is an executable
* name as would be specified to the ADD_EXECUTABLE or UTILITY_SOURCE
* commands. It is not a full path nor does it have an extension.
*/
- void AddUtility(const char* u) { this->Utilities.insert(u);}
+ void AddUtility(const char* u, cmMakefile *makefile = 0);
///! Get the utilities used by this target
std::set<cmStdString>const& GetUtilities() const { return this->Utilities; }
+ cmListFileBacktrace const* GetUtilityBacktrace(const char* u) const;
/** Finalize the target at the end of the Configure step. */
void FinishConfigure();
@@ -239,12 +256,12 @@ public:
///! Set/Get a property of this target file
void SetProperty(const char *prop, const char *value);
void AppendProperty(const char* prop, const char* value,bool asString=false);
- const char *GetProperty(const char *prop);
- const char *GetProperty(const char *prop, cmProperty::ScopeType scope);
- bool GetPropertyAsBool(const char *prop);
- void CheckProperty(const char* prop, cmMakefile* context);
+ const char *GetProperty(const char *prop) const;
+ const char *GetProperty(const char *prop, cmProperty::ScopeType scope) const;
+ bool GetPropertyAsBool(const char *prop) const;
+ void CheckProperty(const char* prop, cmMakefile* context) const;
- const char* GetFeature(const char* feature, const char* config);
+ const char* GetFeature(const char* feature, const char* config) const;
bool IsImported() const {return this->IsImportedTarget;}
@@ -277,10 +294,10 @@ public:
/** Get the link interface for the given configuration. Returns 0
if the target cannot be linked. */
LinkInterface const* GetLinkInterface(const char* config,
- cmTarget *headTarget);
+ cmTarget const* headTarget) const;
void GetTransitivePropertyLinkLibraries(const char* config,
- cmTarget *headTarget,
- std::vector<std::string> &libs);
+ cmTarget const* headTarget,
+ std::vector<std::string> &libs) const;
/** The link implementation specifies the direct library
dependencies needed by the object files of the target. */
@@ -297,7 +314,7 @@ public:
std::vector<std::string> WrongConfigLibraries;
};
LinkImplementation const* GetLinkImplementation(const char* config,
- cmTarget *head);
+ cmTarget const* head) const;
/** Link information from the transitive closure of the link
implementation and the interfaces of its dependencies. */
@@ -309,44 +326,40 @@ public:
// Languages whose runtime libraries must be linked.
std::vector<std::string> Languages;
};
- LinkClosure const* GetLinkClosure(const char* config, cmTarget *head);
+ LinkClosure const* GetLinkClosure(const char* config,
+ cmTarget const* head) const;
/** Strip off leading and trailing whitespace from an item named in
the link dependencies of this target. */
- std::string CheckCMP0004(std::string const& item);
+ std::string CheckCMP0004(std::string const& item) const;
/** Get the directory in which this target will be built. If the
configuration name is given then the generator will add its
subdirectory for that configuration. Otherwise just the canonical
output directory is given. */
- std::string GetDirectory(const char* config = 0, bool implib = false);
+ std::string GetDirectory(const char* config = 0, bool implib = false) const;
/** Get the directory in which this targets .pdb files will be placed.
If the configuration name is given then the generator will add its
subdirectory for that configuration. Otherwise just the canonical
pdb output directory is given. */
- std::string GetPDBDirectory(const char* config = 0);
+ std::string GetPDBDirectory(const char* config = 0) const;
/** Get the location of the target in the build tree for the given
configuration. This location is suitable for use as the LOCATION
target property. */
- const char* GetLocation(const char* config);
+ const char* GetLocation(const char* config) const;
/** Get the target major and minor version numbers interpreted from
the VERSION property. Version 0 is returned if the property is
not set or cannot be parsed. */
- void GetTargetVersion(int& major, int& minor);
+ void GetTargetVersion(int& major, int& minor) const;
/** Get the target major, minor, and patch version numbers
interpreted from the VERSION or SOVERSION property. Version 0
is returned if the property is not set or cannot be parsed. */
- void GetTargetVersion(bool soversion, int& major, int& minor, int& patch);
-
- /**
- * Trace through the source files in this target and add al source files
- * that they depend on, used by all generators
- */
- void TraceDependencies();
+ void
+ GetTargetVersion(bool soversion, int& major, int& minor, int& patch) const;
/**
* Make sure the full path to all source files is known.
@@ -354,101 +367,102 @@ public:
bool FindSourceFiles();
///! Return the preferred linker language for this target
- const char* GetLinkerLanguage(const char* config = 0, cmTarget *head = 0);
+ const char* GetLinkerLanguage(const char* config = 0,
+ cmTarget const* head = 0) const;
/** Get the full name of the target according to the settings in its
makefile. */
- std::string GetFullName(const char* config=0, bool implib = false);
+ std::string GetFullName(const char* config=0, bool implib = false) const;
void GetFullNameComponents(std::string& prefix,
std::string& base, std::string& suffix,
- const char* config=0, bool implib = false);
+ const char* config=0, bool implib = false) const;
/** Get the name of the pdb file for the target. */
- std::string GetPDBName(const char* config=0);
+ std::string GetPDBName(const char* config=0) const;
/** Whether this library has soname enabled and platform supports it. */
- bool HasSOName(const char* config);
+ bool HasSOName(const char* config) const;
/** Get the soname of the target. Allowed only for a shared library. */
- std::string GetSOName(const char* config);
+ std::string GetSOName(const char* config) const;
- /** Whether this library has @rpath and platform supports it. */
- bool HasMacOSXRpath(const char* config);
+ /** Whether this library has \@rpath and platform supports it. */
+ bool HasMacOSXRpathInstallNameDir(const char* config) const;
+
+ /** Whether this library defaults to \@rpath. */
+ bool MacOSXRpathInstallNameDirDefault() const;
/** Test for special case of a third-party shared library that has
no soname at all. */
- bool IsImportedSharedLibWithoutSOName(const char* config);
+ bool IsImportedSharedLibWithoutSOName(const char* config) const;
/** Get the full path to the target according to the settings in its
makefile and the configuration type. */
std::string GetFullPath(const char* config=0, bool implib = false,
- bool realname = false);
+ bool realname = false) const;
/** Get the names of the library needed to generate a build rule
that takes into account shared library version numbers. This
should be called only on a library target. */
void GetLibraryNames(std::string& name, std::string& soName,
std::string& realName, std::string& impName,
- std::string& pdbName, const char* config);
+ std::string& pdbName, const char* config) const;
/** Get the names of the executable needed to generate a build rule
that takes into account executable version numbers. This should
be called only on an executable target. */
void GetExecutableNames(std::string& name, std::string& realName,
std::string& impName,
- std::string& pdbName, const char* config);
+ std::string& pdbName, const char* config) const;
/** Does this target have a GNU implib to convert to MS format? */
- bool HasImplibGNUtoMS();
+ bool HasImplibGNUtoMS() const;
/** Convert the given GNU import library name (.dll.a) to a name with a new
extension (.lib or ${CMAKE_IMPORT_LIBRARY_SUFFIX}). */
bool GetImplibGNUtoMS(std::string const& gnuName, std::string& out,
- const char* newExt = 0);
-
- /** Add the target output files to the global generator manifest. */
- void GenerateTargetManifest(const char* config);
+ const char* newExt = 0) const;
/**
* Compute whether this target must be relinked before installing.
*/
- bool NeedRelinkBeforeInstall(const char* config);
+ bool NeedRelinkBeforeInstall(const char* config) const;
- bool HaveBuildTreeRPATH(const char *config);
- bool HaveInstallTreeRPATH();
+ bool HaveBuildTreeRPATH(const char *config) const;
+ bool HaveInstallTreeRPATH() const;
/** Return true if builtin chrpath will work for this target */
- bool IsChrpathUsed(const char* config);
+ bool IsChrpathUsed(const char* config) const;
/** Return the install name directory for the target in the
- * build tree. For example: "@rpath/", "@loader_path/",
+ * build tree. For example: "\@rpath/", "\@loader_path/",
* or "/full/path/to/library". */
- std::string GetInstallNameDirForBuildTree(const char* config);
+ std::string GetInstallNameDirForBuildTree(const char* config) const;
/** Return the install name directory for the target in the
- * install tree. For example: "@rpath/" or "@loader_path/". */
- std::string GetInstallNameDirForInstallTree();
+ * install tree. For example: "\@rpath/" or "\@loader_path/". */
+ std::string GetInstallNameDirForInstallTree() const;
cmComputeLinkInformation* GetLinkInformation(const char* config,
- cmTarget *head = 0);
+ cmTarget const* head = 0) const;
// Get the properties
- cmPropertyMap &GetProperties() { return this->Properties; };
+ cmPropertyMap &GetProperties() const { return this->Properties; };
bool GetMappedConfig(std::string const& desired_config,
const char** loc,
const char** imp,
- std::string& suffix);
+ std::string& suffix) const;
// Define the properties
static void DefineProperties(cmake *cm);
/** Get the macro to define when building sources in this target.
If no macro should be defined null is returned. */
- const char* GetExportMacro();
+ const char* GetExportMacro() const;
void GetCompileDefinitions(std::vector<std::string> &result,
- const char *config);
+ const char *config) const;
// Compute the set of languages compiled by the target. This is
// computed every time it is called because the languages can change
@@ -459,34 +473,34 @@ public:
/** Return whether this target is an executable with symbol exports
enabled. */
- bool IsExecutableWithExports();
+ bool IsExecutableWithExports() const;
/** Return whether this target may be used to link another target. */
- bool IsLinkable();
+ bool IsLinkable() const;
/** Return whether or not the target is for a DLL platform. */
- bool IsDLLPlatform() { return this->DLLPlatform; }
+ bool IsDLLPlatform() const { return this->DLLPlatform; }
/** Return whether or not the target has a DLL import library. */
- bool HasImportLibrary();
+ bool HasImportLibrary() const;
/** Return whether this target is a shared library Framework on
Apple. */
- bool IsFrameworkOnApple();
+ bool IsFrameworkOnApple() const;
/** Return whether this target is a CFBundle (plugin) on Apple. */
- bool IsCFBundleOnApple();
+ bool IsCFBundleOnApple() const;
/** Return whether this target is an executable Bundle on Apple. */
- bool IsAppBundleOnApple();
+ bool IsAppBundleOnApple() const;
/** Return whether this target is an executable Bundle, a framework
or CFBundle on Apple. */
- bool IsBundleOnApple();
+ bool IsBundleOnApple() const;
/** Return the framework version string. Undefined if
IsFrameworkOnApple returns false. */
- std::string GetFrameworkVersion();
+ std::string GetFrameworkVersion() const;
/** Get a backtrace from the creation of the target. */
cmListFileBacktrace const& GetBacktrace() const;
@@ -496,63 +510,78 @@ public:
/** Return whether this target uses the default value for its output
directory. */
- bool UsesDefaultOutputDir(const char* config, bool implib);
+ bool UsesDefaultOutputDir(const char* config, bool implib) const;
/** @return the mac content directory for this target. */
std::string GetMacContentDirectory(const char* config,
- bool implib);
+ bool implib) const;
/** @return whether this target have a well defined output file name. */
- bool HaveWellDefinedOutputFiles();
+ bool HaveWellDefinedOutputFiles() const;
/** @return the Mac framework directory without the base. */
- std::string GetFrameworkDirectory(const char* config, bool rootDir);
+ std::string GetFrameworkDirectory(const char* config, bool rootDir) const;
/** @return the Mac CFBundle directory without the base */
- std::string GetCFBundleDirectory(const char* config, bool contentOnly);
+ std::string GetCFBundleDirectory(const char* config, bool contentOnly) const;
/** @return the Mac App directory without the base */
- std::string GetAppBundleDirectory(const char* config, bool contentOnly);
+ std::string GetAppBundleDirectory(const char* config,
+ bool contentOnly) const;
- std::vector<std::string> GetIncludeDirectories(const char *config);
+ std::vector<std::string> GetIncludeDirectories(const char *config) const;
void InsertInclude(const cmValueWithOrigin &entry,
bool before = false);
void InsertCompileOption(const cmValueWithOrigin &entry,
bool before = false);
- void InsertCompileDefinition(const cmValueWithOrigin &entry,
- bool before = false);
+ void InsertCompileDefinition(const cmValueWithOrigin &entry);
void AppendBuildInterfaceIncludes();
void GetCompileOptions(std::vector<std::string> &result,
- const char *config);
+ const char *config) const;
+ void GetAutoUicOptions(std::vector<std::string> &result,
+ const char *config) const;
- bool IsNullImpliedByLinkLibraries(const std::string &p);
+ bool IsNullImpliedByLinkLibraries(const std::string &p) const;
bool IsLinkInterfaceDependentBoolProperty(const std::string &p,
- const char *config);
+ const char *config) const;
bool IsLinkInterfaceDependentStringProperty(const std::string &p,
- const char *config);
+ const char *config) const;
+ bool IsLinkInterfaceDependentNumberMinProperty(const std::string &p,
+ const char *config) const;
+ bool IsLinkInterfaceDependentNumberMaxProperty(const std::string &p,
+ const char *config) const;
bool GetLinkInterfaceDependentBoolProperty(const std::string &p,
- const char *config);
+ const char *config) const;
const char *GetLinkInterfaceDependentStringProperty(const std::string &p,
- const char *config);
+ const char *config) const;
+ const char *GetLinkInterfaceDependentNumberMinProperty(const std::string &p,
+ const char *config) const;
+ const char *GetLinkInterfaceDependentNumberMaxProperty(const std::string &p,
+ const char *config) const;
std::string GetDebugGeneratorExpressions(const std::string &value,
- cmTarget::LinkLibraryType llt);
+ cmTarget::LinkLibraryType llt) const;
void AddSystemIncludeDirectories(const std::set<cmStdString> &incs);
void AddSystemIncludeDirectories(const std::vector<std::string> &incs);
std::set<cmStdString> const & GetSystemIncludeDirectories() const
{ return this->SystemIncludeDirectories; }
- void FinalizeSystemIncludeDirectories();
-
bool LinkLanguagePropagatesToDependents() const
{ return this->TargetTypeValue == STATIC_LIBRARY; }
+ void ReportPropertyOrigin(const std::string &p,
+ const std::string &result,
+ const std::string &report,
+ const std::string &compatibilityType) const;
+
private:
+ bool HandleLocationPropertyPolicy() const;
+
// The set of include directories that are marked as system include
// directories.
std::set<cmStdString> SystemIncludeDirectories;
@@ -610,42 +639,42 @@ private:
void AnalyzeLibDependencies( const cmMakefile& mf );
- const char* GetSuffixVariableInternal(bool implib);
- const char* GetPrefixVariableInternal(bool implib);
- std::string GetFullNameInternal(const char* config, bool implib);
+ const char* GetSuffixVariableInternal(bool implib) const;
+ const char* GetPrefixVariableInternal(bool implib) const;
+ std::string GetFullNameInternal(const char* config, bool implib) const;
void GetFullNameInternal(const char* config, bool implib,
std::string& outPrefix, std::string& outBase,
- std::string& outSuffix);
+ std::string& outSuffix) const;
// Use a makefile variable to set a default for the given property.
// If the variable is not defined use the given default instead.
void SetPropertyDefault(const char* property, const char* default_value);
// Returns ARCHIVE, LIBRARY, or RUNTIME based on platform and type.
- const char* GetOutputTargetType(bool implib);
+ const char* GetOutputTargetType(bool implib) const;
// Get the target base name.
- std::string GetOutputName(const char* config, bool implib);
+ std::string GetOutputName(const char* config, bool implib) const;
- const char* ImportedGetLocation(const char* config);
- const char* NormalGetLocation(const char* config);
+ const char* ImportedGetLocation(const char* config) const;
+ const char* NormalGetLocation(const char* config) const;
- std::string GetFullNameImported(const char* config, bool implib);
+ std::string GetFullNameImported(const char* config, bool implib) const;
- std::string ImportedGetFullPath(const char* config, bool implib);
+ std::string ImportedGetFullPath(const char* config, bool implib) const;
std::string NormalGetFullPath(const char* config, bool implib,
- bool realname);
+ bool realname) const;
/** Get the real name of the target. Allowed only for non-imported
targets. When a library or executable file is versioned this is
the full versioned name. If the target is not versioned this is
the same as GetFullName. */
- std::string NormalGetRealName(const char* config);
+ std::string NormalGetRealName(const char* config) const;
/** Append to @a base the mac content directory and return it. */
std::string BuildMacContentDirectory(const std::string& base,
const char* config,
- bool contentOnly);
+ bool contentOnly) const;
private:
std::string Name;
@@ -663,44 +692,48 @@ private:
bool HaveInstallRule;
std::string InstallPath;
std::string RuntimeInstallPath;
- std::string Location;
- std::string ExportMacro;
+ mutable std::string ExportMacro;
std::set<cmStdString> Utilities;
+ std::map<cmStdString, cmListFileBacktrace> UtilityBacktraces;
bool RecordDependencies;
- cmPropertyMap Properties;
+ mutable cmPropertyMap Properties;
LinkLibraryVectorType OriginalLinkLibraries;
bool DLLPlatform;
bool IsApple;
bool IsImportedTarget;
- bool DebugIncludesDone;
- bool DebugCompileOptionsDone;
- bool DebugCompileDefinitionsDone;
+ mutable bool DebugIncludesDone;
+ mutable std::map<std::string, bool> DebugCompatiblePropertiesDone;
+ mutable bool DebugCompileOptionsDone;
+ mutable bool DebugCompileDefinitionsDone;
mutable std::set<std::string> LinkImplicitNullProperties;
bool BuildInterfaceIncludesAppended;
// Cache target output paths for each configuration.
struct OutputInfo;
- OutputInfo const* GetOutputInfo(const char* config);
- bool ComputeOutputDir(const char* config, bool implib, std::string& out);
- bool ComputePDBOutputDir(const char* config, std::string& out);
+ OutputInfo const* GetOutputInfo(const char* config) const;
+ bool
+ ComputeOutputDir(const char* config, bool implib, std::string& out) const;
+ bool ComputePDBOutputDir(const char* config, std::string& out) const;
// Cache import information from properties for each configuration.
struct ImportInfo;
ImportInfo const* GetImportInfo(const char* config,
- cmTarget *workingTarget);
+ cmTarget const* workingTarget) const;
void ComputeImportInfo(std::string const& desired_config, ImportInfo& info,
- cmTarget *head);
+ cmTarget const* head) const;
- cmTargetLinkInformationMap LinkInformation;
+ mutable cmTargetLinkInformationMap LinkInformation;
void CheckPropertyCompatibility(cmComputeLinkInformation *info,
- const char* config);
+ const char* config) const;
bool ComputeLinkInterface(const char* config, LinkInterface& iface,
- cmTarget *head);
+ cmTarget const* head) const;
void ComputeLinkImplementation(const char* config,
- LinkImplementation& impl, cmTarget *head);
- void ComputeLinkClosure(const char* config, LinkClosure& lc, cmTarget *head);
+ LinkImplementation& impl,
+ cmTarget const* head) const;
+ void ComputeLinkClosure(const char* config, LinkClosure& lc,
+ cmTarget const* head) const;
void ClearLinkMaps();
@@ -722,15 +755,17 @@ private:
// Internal representation details.
friend class cmTargetInternals;
+ friend class cmGeneratorTarget;
+ friend class cmTargetTraceDependencies;
cmTargetInternalPointer Internal;
- void ConstructSourceFileFlags();
+ void ConstructSourceFileFlags() const;
void ComputeVersionedName(std::string& vName,
std::string const& prefix,
std::string const& base,
std::string const& suffix,
std::string const& name,
- const char* version);
+ const char* version) const;
};
typedef std::map<cmStdString,cmTarget> cmTargets;
diff --git a/Source/cmTargetCompileDefinitionsCommand.cxx b/Source/cmTargetCompileDefinitionsCommand.cxx
index 46c9666..b567252 100644
--- a/Source/cmTargetCompileDefinitionsCommand.cxx
+++ b/Source/cmTargetCompileDefinitionsCommand.cxx
@@ -44,7 +44,7 @@ std::string cmTargetCompileDefinitionsCommand
for(std::vector<std::string>::const_iterator it = content.begin();
it != content.end(); ++it)
{
- if (strncmp(it->c_str(), "-D", 2) == 0)
+ if (cmHasLiteralPrefix(it->c_str(), "-D"))
{
defs += sep + it->substr(2);
}
diff --git a/Source/cmTargetCompileDefinitionsCommand.h b/Source/cmTargetCompileDefinitionsCommand.h
index 585485d..7405e90 100644
--- a/Source/cmTargetCompileDefinitionsCommand.h
+++ b/Source/cmTargetCompileDefinitionsCommand.h
@@ -38,41 +38,6 @@ public:
*/
virtual const char* GetName() const { return "target_compile_definitions";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return
- "Add compile definitions to a target.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " target_compile_definitions(<target> "
- "<INTERFACE|PUBLIC|PRIVATE> [items1...]\n"
- " [<INTERFACE|PUBLIC|PRIVATE> [items2...] ...])\n"
- "Specify compile definitions to use when compiling a given target. "
- "The named <target> must have been created by a command such as "
- "add_executable or add_library and must not be an IMPORTED target. "
- "The INTERFACE, PUBLIC and PRIVATE keywords are required to specify "
- "the scope of the following arguments. PRIVATE and PUBLIC items will "
- "populate the COMPILE_DEFINITIONS property of <target>. PUBLIC and "
- "INTERFACE items will populate the INTERFACE_COMPILE_DEFINITIONS "
- "property of <target>. "
- "The following arguments specify compile definitions. "
- "Repeated calls for the same <target> append items in the order called."
- "\n"
- "Arguments to target_compile_definitions may use \"generator "
- "expressions\" with the syntax \"$<...>\". "
- CM_DOCUMENT_COMMAND_GENERATOR_EXPRESSIONS
- ;
- }
-
cmTypeMacro(cmTargetCompileDefinitionsCommand, cmTargetPropCommandBase);
private:
diff --git a/Source/cmTargetCompileOptionsCommand.h b/Source/cmTargetCompileOptionsCommand.h
index b9afd71..3713e5a 100644
--- a/Source/cmTargetCompileOptionsCommand.h
+++ b/Source/cmTargetCompileOptionsCommand.h
@@ -38,43 +38,6 @@ public:
*/
virtual const char* GetName() const { return "target_compile_options";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return
- "Add compile options to a target.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " target_compile_options(<target> [BEFORE] "
- "<INTERFACE|PUBLIC|PRIVATE> [items1...]\n"
- " [<INTERFACE|PUBLIC|PRIVATE> [items2...] ...])\n"
- "Specify compile options to use when compiling a given target. "
- "The named <target> must have been created by a command such as "
- "add_executable or add_library and must not be an IMPORTED target. "
- "If BEFORE is specified, the content will be prepended to the property "
- "instead of being appended.\n"
- "The INTERFACE, PUBLIC and PRIVATE keywords are required to specify "
- "the scope of the following arguments. PRIVATE and PUBLIC items will "
- "populate the COMPILE_OPTIONS property of <target>. PUBLIC and "
- "INTERFACE items will populate the INTERFACE_COMPILE_OPTIONS "
- "property of <target>. "
- "The following arguments specify compile opitions. "
- "Repeated calls for the same <target> append items in the order called."
- "\n"
- "Arguments to target_compile_options may use \"generator "
- "expressions\" with the syntax \"$<...>\". "
- CM_DOCUMENT_COMMAND_GENERATOR_EXPRESSIONS
- ;
- }
-
cmTypeMacro(cmTargetCompileOptionsCommand, cmTargetPropCommandBase);
private:
diff --git a/Source/cmTargetDepend.h b/Source/cmTargetDepend.h
index 258bacd..1feb072 100644
--- a/Source/cmTargetDepend.h
+++ b/Source/cmTargetDepend.h
@@ -20,17 +20,17 @@ class cmTarget;
It may be marked as a 'link' or 'util' edge or both. */
class cmTargetDepend
{
- cmTarget* Target;
+ cmTarget const* Target;
// The set order depends only on the Target, so we use
// mutable members to acheive a map with set syntax.
mutable bool Link;
mutable bool Util;
public:
- cmTargetDepend(cmTarget* t): Target(t), Link(false), Util(false) {}
- operator cmTarget*() const { return this->Target; }
- cmTarget* operator->() const { return this->Target; }
- cmTarget& operator*() const { return *this->Target; }
+ cmTargetDepend(cmTarget const* t): Target(t), Link(false), Util(false) {}
+ operator cmTarget const*() const { return this->Target; }
+ cmTarget const* operator->() const { return this->Target; }
+ cmTarget const& operator*() const { return *this->Target; }
friend bool operator < (cmTargetDepend const& l, cmTargetDepend const& r)
{ return l.Target < r.Target; }
void SetType(bool strong) const
diff --git a/Source/cmTargetIncludeDirectoriesCommand.cxx b/Source/cmTargetIncludeDirectoriesCommand.cxx
index e7b906c..f8e1188 100644
--- a/Source/cmTargetIncludeDirectoriesCommand.cxx
+++ b/Source/cmTargetIncludeDirectoriesCommand.cxx
@@ -11,6 +11,8 @@
============================================================================*/
#include "cmTargetIncludeDirectoriesCommand.h"
+#include "cmGeneratorExpression.h"
+
//----------------------------------------------------------------------------
bool cmTargetIncludeDirectoriesCommand
::InitialPass(std::vector<std::string> const& args, cmExecutionStatus &)
@@ -50,7 +52,7 @@ std::string cmTargetIncludeDirectoriesCommand
it != content.end(); ++it)
{
if (cmSystemTools::FileIsFullPath(it->c_str())
- || cmGeneratorExpression::Find(*it) != std::string::npos)
+ || cmGeneratorExpression::Find(*it) == 0)
{
dirs += sep + *it;
}
diff --git a/Source/cmTargetIncludeDirectoriesCommand.h b/Source/cmTargetIncludeDirectoriesCommand.h
index fcc37f0..6863ee5 100644
--- a/Source/cmTargetIncludeDirectoriesCommand.h
+++ b/Source/cmTargetIncludeDirectoriesCommand.h
@@ -39,53 +39,6 @@ public:
*/
virtual const char* GetName() const { return "target_include_directories";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return
- "Add include directories to a target.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " target_include_directories(<target> [SYSTEM] [BEFORE] "
- "<INTERFACE|PUBLIC|PRIVATE> [items1...]\n"
- " [<INTERFACE|PUBLIC|PRIVATE> [items2...] ...])\n"
- "Specify include directories or targets to use when compiling a given "
- "target. "
- "The named <target> must have been created by a command such as "
- "add_executable or add_library and must not be an IMPORTED target.\n"
- "If BEFORE is specified, the content will be prepended to the property "
- "instead of being appended.\n"
- "The INTERFACE, PUBLIC and PRIVATE keywords are required to specify "
- "the scope of the following arguments. PRIVATE and PUBLIC items will "
- "populate the INCLUDE_DIRECTORIES property of <target>. PUBLIC and "
- "INTERFACE items will populate the INTERFACE_INCLUDE_DIRECTORIES "
- "property of <target>. "
- "The following arguments specify include directories. Specified "
- "include directories may be absolute paths or relative paths. "
- "Repeated calls for the same <target> append items in the order called."
- "If SYSTEM is specified, the compiler will be told the "
- "directories are meant as system include directories on some "
- "platforms (signalling this setting might achieve effects such as "
- "the compiler skipping warnings, or these fixed-install system files "
- "not being considered in dependency calculations - see compiler "
- "docs). If SYSTEM is used together with PUBLIC or INTERFACE, the "
- "INTERFACE_SYSTEM_INCLUDE_DIRECTORIES target property will be "
- "populated with the specified directories."
- "\n"
- "Arguments to target_include_directories may use \"generator "
- "expressions\" with the syntax \"$<...>\". "
- CM_DOCUMENT_COMMAND_GENERATOR_EXPRESSIONS
- ;
- }
-
cmTypeMacro(cmTargetIncludeDirectoriesCommand, cmTargetPropCommandBase);
private:
diff --git a/Source/cmTargetLinkLibrariesCommand.cxx b/Source/cmTargetLinkLibrariesCommand.cxx
index c2f46a1..95a2cba 100644
--- a/Source/cmTargetLinkLibrariesCommand.cxx
+++ b/Source/cmTargetLinkLibrariesCommand.cxx
@@ -31,7 +31,7 @@ bool cmTargetLinkLibrariesCommand
return false;
}
- if (this->Makefile->IsAlias(args[0].c_str()))
+ if (this->Makefile->IsAlias(args[0]))
{
this->SetError("can not be used on an ALIAS target.");
return false;
@@ -101,6 +101,38 @@ bool cmTargetLinkLibrariesCommand
return true;
}
+ if (this->Target->GetType() == cmTarget::UTILITY)
+ {
+ cmOStringStream e;
+ const char *modal = 0;
+ cmake::MessageType messageType = cmake::AUTHOR_WARNING;
+ switch(this->Makefile->GetPolicyStatus(cmPolicies::CMP0039))
+ {
+ case cmPolicies::WARN:
+ e << this->Makefile->GetPolicies()
+ ->GetPolicyWarning(cmPolicies::CMP0039) << "\n";
+ modal = "should";
+ case cmPolicies::OLD:
+ break;
+ case cmPolicies::REQUIRED_ALWAYS:
+ case cmPolicies::REQUIRED_IF_USED:
+ case cmPolicies::NEW:
+ modal = "must";
+ messageType = cmake::FATAL_ERROR;
+ }
+ if (modal)
+ {
+ e <<
+ "Utility target \"" << this->Target->GetName() << "\" " << modal
+ << " not be used as the target of a target_link_libraries call.";
+ this->Makefile->IssueMessage(messageType, e.str().c_str());
+ if(messageType == cmake::FATAL_ERROR)
+ {
+ return false;
+ }
+ }
+ }
+
// but we might not have any libs after variable expansion
if(args.size() < 2)
{
@@ -151,7 +183,8 @@ bool cmTargetLinkLibrariesCommand
else if(args[i] == "LINK_PUBLIC")
{
if(i != 1
- && this->CurrentProcessingState != ProcessingPlainPrivateInterface)
+ && this->CurrentProcessingState != ProcessingPlainPrivateInterface
+ && this->CurrentProcessingState != ProcessingPlainPublicInterface)
{
this->Makefile->IssueMessage(
cmake::FATAL_ERROR,
@@ -181,7 +214,8 @@ bool cmTargetLinkLibrariesCommand
else if(args[i] == "LINK_PRIVATE")
{
if(i != 1
- && this->CurrentProcessingState != ProcessingPlainPublicInterface)
+ && this->CurrentProcessingState != ProcessingPlainPublicInterface
+ && this->CurrentProcessingState != ProcessingPlainPrivateInterface)
{
this->Makefile->IssueMessage(
cmake::FATAL_ERROR,
@@ -322,6 +356,15 @@ bool
cmTargetLinkLibrariesCommand::HandleLibrary(const char* lib,
cmTarget::LinkLibraryType llt)
{
+ if(this->Target->GetType() == cmTarget::INTERFACE_LIBRARY
+ && this->CurrentProcessingState != ProcessingKeywordLinkInterface)
+ {
+ this->Makefile->IssueMessage(cmake::FATAL_ERROR,
+ "INTERFACE library can only be used with the INTERFACE keyword of "
+ "target_link_libraries");
+ return false;
+ }
+
cmTarget::TLLSignature sig =
(this->CurrentProcessingState == ProcessingPlainPrivateInterface
|| this->CurrentProcessingState == ProcessingPlainPublicInterface
@@ -331,11 +374,14 @@ cmTargetLinkLibrariesCommand::HandleLibrary(const char* lib,
? cmTarget::KeywordTLLSignature : cmTarget::PlainTLLSignature;
if (!this->Target->PushTLLCommandTrace(sig))
{
+ cmOStringStream e;
const char *modal = 0;
cmake::MessageType messageType = cmake::AUTHOR_WARNING;
switch(this->Makefile->GetPolicyStatus(cmPolicies::CMP0023))
{
case cmPolicies::WARN:
+ e << this->Makefile->GetPolicies()
+ ->GetPolicyWarning(cmPolicies::CMP0023) << "\n";
modal = "should";
case cmPolicies::OLD:
break;
@@ -348,14 +394,12 @@ cmTargetLinkLibrariesCommand::HandleLibrary(const char* lib,
if(modal)
{
- cmOStringStream e;
// If the sig is a keyword form and there is a conflict, the existing
// form must be the plain form.
const char *existingSig
= (sig == cmTarget::KeywordTLLSignature ? "plain"
: "keyword");
- e << this->Makefile->GetPolicies()
- ->GetPolicyWarning(cmPolicies::CMP0023) << "\n"
+ e <<
"The " << existingSig << " signature for target_link_libraries "
"has already been used with the target \""
<< this->Target->GetName() << "\". All uses of "
@@ -418,6 +462,11 @@ cmTargetLinkLibrariesCommand::HandleLibrary(const char* lib,
return true;
}
+ if (this->Target->GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ return true;
+ }
+
// Get the list of configurations considered to be DEBUG.
std::vector<std::string> const& debugConfigs =
this->Makefile->GetCMakeInstance()->GetDebugConfigs();
diff --git a/Source/cmTargetLinkLibrariesCommand.h b/Source/cmTargetLinkLibrariesCommand.h
index 2cf6b03..6fbf722 100644
--- a/Source/cmTargetLinkLibrariesCommand.h
+++ b/Source/cmTargetLinkLibrariesCommand.h
@@ -13,7 +13,6 @@
#define cmTargetLinkLibrariesCommand_h
#include "cmCommand.h"
-#include "cmDocumentGeneratorExpressions.h"
/** \class cmTargetLinkLibrariesCommand
* \brief Specify a list of libraries to link into executables.
@@ -45,156 +44,6 @@ public:
*/
virtual const char* GetName() const { return "target_link_libraries";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return
- "Link a target to given libraries.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " target_link_libraries(<target> [item1 [item2 [...]]]\n"
- " [[debug|optimized|general] <item>] ...)\n"
- "Specify libraries or flags to use when linking a given target. "
- "The named <target> must have been created in the current directory "
- "by a command such as add_executable or add_library. "
- "The remaining arguments specify library names or flags. "
- "Repeated calls for the same <target> append items in the order called."
- "\n"
- "If a library name matches that of another target in the project "
- "a dependency will automatically be added in the build system to make "
- "sure the library being linked is up-to-date before the target links. "
- "Item names starting with '-', but not '-l' or '-framework', are "
- "treated as linker flags."
- "\n"
- "A \"debug\", \"optimized\", or \"general\" keyword indicates that "
- "the library immediately following it is to be used only for the "
- "corresponding build configuration. "
- "The \"debug\" keyword corresponds to the Debug configuration "
- "(or to configurations named in the DEBUG_CONFIGURATIONS global "
- "property if it is set). "
- "The \"optimized\" keyword corresponds to all other configurations. "
- "The \"general\" keyword corresponds to all configurations, and is "
- "purely optional (assumed if omitted). "
- "Higher granularity may be achieved for per-configuration rules "
- "by creating and linking to IMPORTED library targets. "
- "See the IMPORTED mode of the add_library command for more "
- "information. "
- "\n"
- "Library dependencies are transitive by default with this signature. "
- "When this target is linked into another target then the libraries "
- "linked to this target will appear on the link line for the other "
- "target too. "
- "This transitive \"link interface\" is stored in the "
- "INTERFACE_LINK_LIBRARIES target property when policy CMP0022 is set "
- "to NEW and may be overridden by setting the property directly. "
- "("
- "When CMP0022 is not set to NEW, transitive linking is builtin "
- "but may be overridden by the LINK_INTERFACE_LIBRARIES property. "
- "Calls to other signatures of this command may set the property "
- "making any libraries linked exclusively by this signature private."
- ")"
- "\n"
- "CMake will also propagate \"usage requirements\" from linked library "
- "targets. "
- "Usage requirements affect compilation of sources in the <target>. "
- "They are specified by properties defined on linked targets. "
- "During generation of the build system, CMake integrates "
- "usage requirement property values with the corresponding "
- "build properties for <target>:\n"
- " INTERFACE_COMPILE_DEFINITONS: Appends to COMPILE_DEFINITONS\n"
- " INTERFACE_INCLUDE_DIRECTORIES: Appends to INCLUDE_DIRECTORIES\n"
- " INTERFACE_POSITION_INDEPENDENT_CODE: Sets POSITION_INDEPENDENT_CODE\n"
- " or checked for consistency with existing value\n"
- "\n"
- "If an <item> is a library in a Mac OX framework, the Headers "
- "directory of the framework will also be processed as a \"usage "
- "requirement\". This has the same effect as passing the framework "
- "directory as an include directory."
- " target_link_libraries(<target>\n"
- " <PRIVATE|PUBLIC|INTERFACE> <lib> ...\n"
- " [<PRIVATE|PUBLIC|INTERFACE> <lib> ... ] ...])\n"
- "The PUBLIC, PRIVATE and INTERFACE keywords can be used to specify "
- "both the link dependencies and the link interface in one command. "
- "Libraries and targets following PUBLIC are linked to, and are "
- "made part of the link interface. Libraries and targets "
- "following PRIVATE are linked to, but are not made part of the "
- "link interface. Libraries following INTERFACE are appended "
- "to the link interface and are not used for linking <target>."
- "\n"
- " target_link_libraries(<target> LINK_INTERFACE_LIBRARIES\n"
- " [[debug|optimized|general] <lib>] ...)\n"
- "The LINK_INTERFACE_LIBRARIES mode appends the libraries "
- "to the INTERFACE_LINK_LIBRARIES target property instead of using them "
- "for linking. If policy CMP0022 is not NEW, then this mode also "
- "appends libraries to the LINK_INTERFACE_LIBRARIES and its "
- "per-configuration equivalent. This signature "
- "is for compatibility only. Prefer the INTERFACE mode instead. "
- "Libraries specified as \"debug\" are wrapped in a generator "
- "expression to correspond to debug builds. If policy CMP0022 is not "
- "NEW, the libraries are also appended to the "
- "LINK_INTERFACE_LIBRARIES_DEBUG property (or to the properties "
- "corresponding to configurations listed in the DEBUG_CONFIGURATIONS "
- "global property if it is set). "
- "Libraries specified as \"optimized\" are appended to the "
- "INTERFACE_LINK_LIBRARIES property. If policy CMP0022 is not NEW, "
- "they are also appended to the LINK_INTERFACE_LIBRARIES property. "
- "Libraries specified as \"general\" (or without any keyword) are "
- "treated as if specified for both \"debug\" and \"optimized\"."
- "\n"
- " target_link_libraries(<target>\n"
- " <LINK_PRIVATE|LINK_PUBLIC>\n"
- " [[debug|optimized|general] <lib>] ...\n"
- " [<LINK_PRIVATE|LINK_PUBLIC>\n"
- " [[debug|optimized|general] <lib>] ...])\n"
- "The LINK_PUBLIC and LINK_PRIVATE modes can be used to specify both "
- "the link dependencies and the link interface in one command. This "
- "signature is for compatibility only. Prefer the PUBLIC or PRIVATE "
- "keywords instead. "
- "Libraries and targets following LINK_PUBLIC are linked to, and are "
- "made part of the INTERFACE_LINK_LIBRARIES. If policy CMP0022 is not "
- "NEW, they are also made part of the LINK_INTERFACE_LIBRARIES. "
- "Libraries and targets following LINK_PRIVATE are linked to, but are "
- "not made part of the INTERFACE_LINK_LIBRARIES (or "
- "LINK_INTERFACE_LIBRARIES)."
- "\n"
- "The library dependency graph is normally acyclic (a DAG), but in the "
- "case of mutually-dependent STATIC libraries CMake allows the graph "
- "to contain cycles (strongly connected components). "
- "When another target links to one of the libraries CMake repeats "
- "the entire connected component. "
- "For example, the code\n"
- " add_library(A STATIC a.c)\n"
- " add_library(B STATIC b.c)\n"
- " target_link_libraries(A B)\n"
- " target_link_libraries(B A)\n"
- " add_executable(main main.c)\n"
- " target_link_libraries(main A)\n"
- "links 'main' to 'A B A B'. "
- "("
- "While one repetition is usually sufficient, pathological object "
- "file and symbol arrangements can require more. "
- "One may handle such cases by manually repeating the component in "
- "the last target_link_libraries call. "
- "However, if two archives are really so interdependent they should "
- "probably be combined into a single archive."
- ")"
- "\n"
- "Arguments to target_link_libraries may use \"generator expressions\" "
- "with the syntax \"$<...>\". Note however, that generator expressions "
- "will not be used in OLD handling of CMP0003 or CMP0004."
- "\n"
- CM_DOCUMENT_COMMAND_GENERATOR_EXPRESSIONS
- ;
- }
-
cmTypeMacro(cmTargetLinkLibrariesCommand, cmCommand);
private:
void LinkLibraryTypeSpecifierWarning(int left, int right);
diff --git a/Source/cmTargetPropCommandBase.cxx b/Source/cmTargetPropCommandBase.cxx
index 1862cb6..195690e 100644
--- a/Source/cmTargetPropCommandBase.cxx
+++ b/Source/cmTargetPropCommandBase.cxx
@@ -26,7 +26,7 @@ bool cmTargetPropCommandBase
}
// Lookup the target for which libraries are specified.
- if (this->Makefile->IsAlias(args[0].c_str()))
+ if (this->Makefile->IsAlias(args[0]))
{
this->SetError("can not be used on an ALIAS target.");
return false;
@@ -36,7 +36,7 @@ bool cmTargetPropCommandBase
->GetGlobalGenerator()->FindTarget(0, args[0].c_str());
if(!this->Target)
{
- this->Target = this->Makefile->FindTargetToUse(args[0].c_str());
+ this->Target = this->Makefile->FindTargetToUse(args[0]);
}
if(!this->Target)
{
@@ -47,6 +47,7 @@ bool cmTargetPropCommandBase
&& (this->Target->GetType() != cmTarget::STATIC_LIBRARY)
&& (this->Target->GetType() != cmTarget::OBJECT_LIBRARY)
&& (this->Target->GetType() != cmTarget::MODULE_LIBRARY)
+ && (this->Target->GetType() != cmTarget::INTERFACE_LIBRARY)
&& (this->Target->GetType() != cmTarget::EXECUTABLE))
{
this->SetError("called with non-compilable target type");
@@ -112,6 +113,14 @@ bool cmTargetPropCommandBase
return false;
}
+ if (this->Target->GetType() == cmTarget::INTERFACE_LIBRARY
+ && scope != "INTERFACE")
+ {
+ this->SetError("may only be set INTERFACE properties on INTERFACE "
+ "targets");
+ return false;
+ }
+
++argIndex;
std::vector<std::string> content;
diff --git a/Source/cmTargetPropCommandBase.h b/Source/cmTargetPropCommandBase.h
index 690582f..c402836 100644
--- a/Source/cmTargetPropCommandBase.h
+++ b/Source/cmTargetPropCommandBase.h
@@ -14,7 +14,6 @@
#define cmTargetPropCommandBase_h
#include "cmCommand.h"
-#include "cmDocumentGeneratorExpressions.h"
class cmTarget;
diff --git a/Source/cmTest.cxx b/Source/cmTest.cxx
index 0904431..9cda978 100644
--- a/Source/cmTest.cxx
+++ b/Source/cmTest.cxx
@@ -92,114 +92,3 @@ void cmTest::AppendProperty(const char* prop, const char* value, bool asString)
}
this->Properties.AppendProperty(prop, value, cmProperty::TEST, asString);
}
-
-//----------------------------------------------------------------------------
-void cmTest::DefineProperties(cmake *cm)
-{
- cm->DefineProperty
- ("ATTACHED_FILES", cmProperty::TEST,
- "Attach a list of files to a dashboard submission.",
- "Set this property to a list of files that will be encoded and "
- "submitted to the dashboard as an addition to the test result.");
-
- cm->DefineProperty
- ("ATTACHED_FILES_ON_FAIL", cmProperty::TEST,
- "Attach a list of files to a dashboard submission if the test fails.",
- "Same as ATTACHED_FILES, but these files will only be included if the "
- "test does not pass.");
-
- cm->DefineProperty
- ("COST", cmProperty::TEST,
- "Set this to a floating point value. Tests in a test set will be "
- "run in descending order of cost.", "This property describes the cost "
- "of a test. You can explicitly set this value; tests with higher COST "
- "values will run first.");
-
- cm->DefineProperty
- ("DEPENDS", cmProperty::TEST,
- "Specifies that this test should only be run after the specified "
- "list of tests.",
- "Set this to a list of tests that must finish before this test is run.");
-
- cm->DefineProperty
- ("ENVIRONMENT", cmProperty::TEST,
- "Specify environment variables that should be defined for running "
- "a test.",
- "If set to a list of environment variables and values of the form "
- "MYVAR=value those environment variables will be defined while "
- "running the test. The environment is restored to its previous state "
- "after the test is done.");
-
- cm->DefineProperty
- ("FAIL_REGULAR_EXPRESSION", cmProperty::TEST,
- "If the output matches this regular expression the test will fail.",
- "If set, if the output matches one of "
- "specified regular expressions, the test will fail."
- "For example: FAIL_REGULAR_EXPRESSION \"[^a-z]Error;ERROR;Failed\"");
-
- cm->DefineProperty
- ("LABELS", cmProperty::TEST,
- "Specify a list of text labels associated with a test.",
- "The list is reported in dashboard submissions.");
-
- cm->DefineProperty
- ("RESOURCE_LOCK", cmProperty::TEST,
- "Specify a list of resources that are locked by this test.",
- "If multiple tests specify the same resource lock, they are guaranteed "
- "not to run concurrently.");
-
- cm->DefineProperty
- ("MEASUREMENT", cmProperty::TEST,
- "Specify a CDASH measurement and value to be reported for a test.",
- "If set to a name then that name will be reported to CDASH as a "
- "named measurement with a value of 1. You may also specify a value "
- "by setting MEASUREMENT to \"measurement=value\".");
-
- cm->DefineProperty
- ("PASS_REGULAR_EXPRESSION", cmProperty::TEST,
- "The output must match this regular expression for the test to pass.",
- "If set, the test output will be checked "
- "against the specified regular expressions and at least one of the"
- " regular expressions has to match, otherwise the test will fail.");
-
- cm->DefineProperty
- ("PROCESSORS", cmProperty::TEST,
- "How many process slots this test requires",
- "Denotes the number of processors that this test will require. This is "
- "typically used for MPI tests, and should be used in conjunction with "
- "the ctest_test PARALLEL_LEVEL option.");
-
- cm->DefineProperty
- ("REQUIRED_FILES", cmProperty::TEST,
- "List of files required to run the test.",
- "If set to a list of files, the test will not be run unless all of the "
- "files exist.");
-
- cm->DefineProperty
- ("RUN_SERIAL", cmProperty::TEST,
- "Do not run this test in parallel with any other test.",
- "Use this option in conjunction with the ctest_test PARALLEL_LEVEL "
- "option to specify that this test should not be run in parallel with "
- "any other tests.");
-
- cm->DefineProperty
- ("TIMEOUT", cmProperty::TEST,
- "How many seconds to allow for this test.",
- "This property if set will limit a test to not take more than "
- "the specified number of seconds to run. If it exceeds that the "
- "test process will be killed and ctest will move to the next test. "
- "This setting takes precedence over "
- "CTEST_TESTING_TIMEOUT.");
-
- cm->DefineProperty
- ("WILL_FAIL", cmProperty::TEST,
- "If set to true, this will invert the pass/fail flag of the test.",
- "This property can be used for tests that are expected to fail and "
- "return a non zero return code.");
-
- cm->DefineProperty
- ("WORKING_DIRECTORY", cmProperty::TEST,
- "The directory from which the test executable will be called.",
- "If this is not set it is called from the directory the test executable "
- "is located in.");
-}
diff --git a/Source/cmTest.h b/Source/cmTest.h
index 73ac133..1fe8fc0 100644
--- a/Source/cmTest.h
+++ b/Source/cmTest.h
@@ -52,9 +52,6 @@ public:
bool GetPropertyAsBool(const char *prop) const;
cmPropertyMap &GetProperties() { return this->Properties; };
- // Define the properties
- static void DefineProperties(cmake *cm);
-
/** Get the cmMakefile instance that owns this test. */
cmMakefile *GetMakefile() { return this->Makefile;};
diff --git a/Source/cmTestGenerator.cxx b/Source/cmTestGenerator.cxx
index 42f511e..5dc3e60 100644
--- a/Source/cmTestGenerator.cxx
+++ b/Source/cmTestGenerator.cxx
@@ -39,29 +39,8 @@ cmTestGenerator
void cmTestGenerator::GenerateScriptConfigs(std::ostream& os,
Indent const& indent)
{
- // First create the tests.
+ // Create the tests.
this->cmScriptGenerator::GenerateScriptConfigs(os, indent);
-
- // Now generate the test properties.
- if(this->TestGenerated)
- {
- cmTest* test = this->Test;
- cmMakefile* mf = test->GetMakefile();
- cmLocalGenerator* lg = mf->GetLocalGenerator();
- std::ostream& fout = os;
- cmPropertyMap::const_iterator pit;
- cmPropertyMap* mpit = &test->GetProperties();
- if ( mpit->size() )
- {
- fout << "SET_TESTS_PROPERTIES(" << test->GetName() << " PROPERTIES ";
- for ( pit = mpit->begin(); pit != mpit->end(); ++ pit )
- {
- fout << " " << pit->first
- << " " << lg->EscapeForCMake(pit->second.GetValue());
- }
- fout << ")" << std::endl;
- }
- }
}
//----------------------------------------------------------------------------
@@ -94,7 +73,7 @@ void cmTestGenerator::GenerateScriptForConfig(std::ostream& os,
cmGeneratorExpression ge(this->Test->GetBacktrace());
// Start the test command.
- os << indent << "ADD_TEST(" << this->Test->GetName() << " ";
+ os << indent << "add_test(" << this->Test->GetName() << " ";
// Get the test command line to be executed.
std::vector<std::string> const& command = this->Test->GetCommand();
@@ -103,7 +82,7 @@ void cmTestGenerator::GenerateScriptForConfig(std::ostream& os,
// be translated.
std::string exe = command[0];
cmMakefile* mf = this->Test->GetMakefile();
- cmTarget* target = mf->FindTargetToUse(exe.c_str());
+ cmTarget* target = mf->FindTargetToUse(exe);
if(target && target->GetType() == cmTarget::EXECUTABLE)
{
// Use the target file on disk.
@@ -127,13 +106,29 @@ void cmTestGenerator::GenerateScriptForConfig(std::ostream& os,
// Finish the test command.
os << ")\n";
+
+ // Output properties for the test.
+ cmPropertyMap& pm = this->Test->GetProperties();
+ if(!pm.empty())
+ {
+ os << indent << "set_tests_properties(" << this->Test->GetName()
+ << " PROPERTIES ";
+ for(cmPropertyMap::const_iterator i = pm.begin();
+ i != pm.end(); ++i)
+ {
+ os << " " << i->first
+ << " " << lg->EscapeForCMake(
+ ge.Parse(i->second.GetValue())->Evaluate(mf, config));
+ }
+ os << ")" << std::endl;
+ }
}
//----------------------------------------------------------------------------
void cmTestGenerator::GenerateScriptNoConfig(std::ostream& os,
Indent const& indent)
{
- os << indent << "ADD_TEST(" << this->Test->GetName() << " NOT_AVAILABLE)\n";
+ os << indent << "add_test(" << this->Test->GetName() << " NOT_AVAILABLE)\n";
}
//----------------------------------------------------------------------------
@@ -157,7 +152,7 @@ void cmTestGenerator::GenerateOldStyle(std::ostream& fout,
std::string exe = command[0];
cmSystemTools::ConvertToUnixSlashes(exe);
fout << indent;
- fout << "ADD_TEST(";
+ fout << "add_test(";
fout << this->Test->GetName() << " \"" << exe << "\"";
for(std::vector<std::string>::const_iterator argit = command.begin()+1;
@@ -181,4 +176,21 @@ void cmTestGenerator::GenerateOldStyle(std::ostream& fout,
fout << "\"";
}
fout << ")" << std::endl;
+
+ // Output properties for the test.
+ cmMakefile* mf = this->Test->GetMakefile();
+ cmLocalGenerator* lg = mf->GetLocalGenerator();
+ cmPropertyMap& pm = this->Test->GetProperties();
+ if(!pm.empty())
+ {
+ fout << indent << "set_tests_properties(" << this->Test->GetName()
+ << " PROPERTIES ";
+ for(cmPropertyMap::const_iterator i = pm.begin();
+ i != pm.end(); ++i)
+ {
+ fout << " " << i->first
+ << " " << lg->EscapeForCMake(i->second.GetValue());
+ }
+ fout << ")" << std::endl;
+ }
}
diff --git a/Source/cmTryCompileCommand.h b/Source/cmTryCompileCommand.h
index a20594c..8e6bbc1 100644
--- a/Source/cmTryCompileCommand.h
+++ b/Source/cmTryCompileCommand.h
@@ -42,81 +42,6 @@ public:
*/
virtual const char* GetName() const { return "try_compile";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Try building some code.";
- }
-
- /**
- * More documentation. */
- virtual const char* GetFullDocumentation() const
- {
- return
- " try_compile(RESULT_VAR <bindir> <srcdir>\n"
- " <projectName> [targetName] [CMAKE_FLAGS flags...]\n"
- " [OUTPUT_VARIABLE <var>])\n"
- "Try building a project. In this form, srcdir should contain a "
- "complete CMake project with a CMakeLists.txt file and all sources. "
- "The bindir and srcdir will not be deleted after this command is run. "
- "Specify targetName to build a specific target instead of the 'all' or "
- "'ALL_BUILD' target."
- "\n"
- " try_compile(RESULT_VAR <bindir> <srcfile|SOURCES srcfile...>\n"
- " [CMAKE_FLAGS flags...]\n"
- " [COMPILE_DEFINITIONS flags...]\n"
- " [LINK_LIBRARIES libs...]\n"
- " [OUTPUT_VARIABLE <var>]\n"
- " [COPY_FILE <fileName> [COPY_FILE_ERROR <var>]])\n"
- "Try building an executable from one or more source files. "
- "In this form the user need only supply one or more source files "
- "that include a definition for 'main'. "
- "CMake will create a CMakeLists.txt file to build the source(s) "
- "as an executable. "
- "Specify COPY_FILE to get a copy of the linked executable at the "
- "given fileName and optionally COPY_FILE_ERROR to capture any error."
- "\n"
- "In this version all files in bindir/CMakeFiles/CMakeTmp "
- "will be cleaned automatically. For debugging, --debug-trycompile can "
- "be passed to cmake to avoid this clean. However, multiple sequential "
- "try_compile operations reuse this single output directory. If you "
- "use --debug-trycompile, you can only debug one try_compile call at a "
- "time. The recommended procedure is to configure with cmake all the "
- "way through once, then delete the cache entry associated with "
- "the try_compile call of interest, and then re-run cmake again with "
- "--debug-trycompile."
- "\n"
- "Some extra flags that can be included are, "
- "INCLUDE_DIRECTORIES, LINK_DIRECTORIES, and LINK_LIBRARIES. "
- "COMPILE_DEFINITIONS are -Ddefinition that will be passed to the "
- "compile line.\n"
- "The srcfile signature also accepts a LINK_LIBRARIES argument which "
- "may contain a list of libraries or IMPORTED targets which will be "
- "linked to in the generated project. If LINK_LIBRARIES is specified "
- "as a parameter to try_compile, then any LINK_LIBRARIES passed as "
- "CMAKE_FLAGS will be ignored.\n"
- "try_compile creates a CMakeList.txt "
- "file on the fly that looks like this:\n"
- " add_definitions( <expanded COMPILE_DEFINITIONS from calling "
- "cmake>)\n"
- " include_directories(${INCLUDE_DIRECTORIES})\n"
- " link_directories(${LINK_DIRECTORIES})\n"
- " add_executable(cmTryCompileExec sources)\n"
- " target_link_libraries(cmTryCompileExec ${LINK_LIBRARIES})\n"
- "In both versions of the command, "
- "if OUTPUT_VARIABLE is specified, then the "
- "output from the build process is stored in the given variable. "
- "The success or failure of the try_compile, i.e. TRUE or FALSE "
- "respectively, is returned in "
- "RESULT_VAR. CMAKE_FLAGS can be used to pass -DVAR:TYPE=VALUE flags "
- "to the cmake that is run during the build. "
- "Set variable CMAKE_TRY_COMPILE_CONFIGURATION to choose a build "
- "configuration."
- ;
- }
-
cmTypeMacro(cmTryCompileCommand, cmCoreTryCompile);
};
diff --git a/Source/cmTryRunCommand.cxx b/Source/cmTryRunCommand.cxx
index 4fc0b13..cfedaa5 100644
--- a/Source/cmTryRunCommand.cxx
+++ b/Source/cmTryRunCommand.cxx
@@ -12,6 +12,7 @@
#include "cmTryRunCommand.h"
#include "cmCacheManager.h"
#include "cmTryCompileCommand.h"
+#include <cmsys/FStream.hxx>
// cmTryRunCommand
bool cmTryRunCommand
@@ -302,7 +303,7 @@ void cmTryRunCommand::DoNotRunExecutable(const std::string& runArgs,
if (error)
{
static bool firstTryRun = true;
- std::ofstream file(resultFileName.c_str(),
+ cmsys::ofstream file(resultFileName.c_str(),
firstTryRun ? std::ios::out : std::ios::app);
if ( file )
{
@@ -353,13 +354,13 @@ void cmTryRunCommand::DoNotRunExecutable(const std::string& runArgs,
cmsys::SystemTools::ReplaceString(comment, "\n", "\n# ");
file << comment << "\n\n";
- file << "SET( " << this->RunResultVariable << " \n \""
+ file << "set( " << this->RunResultVariable << " \n \""
<< this->Makefile->GetDefinition(this->RunResultVariable.c_str())
<< "\"\n CACHE STRING \"Result from TRY_RUN\" FORCE)\n\n";
if (out!=0)
{
- file << "SET( " << internalRunOutputName << " \n \""
+ file << "set( " << internalRunOutputName << " \n \""
<< this->Makefile->GetDefinition(internalRunOutputName.c_str())
<< "\"\n CACHE STRING \"Output from TRY_RUN\" FORCE)\n\n";
}
diff --git a/Source/cmTryRunCommand.h b/Source/cmTryRunCommand.h
index 13b9973..d0bf9ce 100644
--- a/Source/cmTryRunCommand.h
+++ b/Source/cmTryRunCommand.h
@@ -42,63 +42,6 @@ public:
*/
virtual const char* GetName() const { return "try_run";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Try compiling and then running some code.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " try_run(RUN_RESULT_VAR COMPILE_RESULT_VAR\n"
- " bindir srcfile [CMAKE_FLAGS <Flags>]\n"
- " [COMPILE_DEFINITIONS <flags>]\n"
- " [COMPILE_OUTPUT_VARIABLE comp]\n"
- " [RUN_OUTPUT_VARIABLE run]\n"
- " [OUTPUT_VARIABLE var]\n"
- " [ARGS <arg1> <arg2>...])\n"
- "Try compiling a srcfile. Return TRUE or FALSE for success or failure "
- "in COMPILE_RESULT_VAR. Then if the compile succeeded, run the "
- "executable and return its exit code in RUN_RESULT_VAR. "
- "If the executable was built, but failed to run, then RUN_RESULT_VAR "
- "will be set to FAILED_TO_RUN. "
- "COMPILE_OUTPUT_VARIABLE specifies the variable where the output from "
- "the compile step goes. RUN_OUTPUT_VARIABLE specifies the variable "
- "where the output from the running executable goes.\n"
- "For compatibility reasons OUTPUT_VARIABLE is still supported, which "
- "gives you the output from the compile and run step combined.\n"
- "Cross compiling issues\n"
- "When cross compiling, the executable compiled in the first step "
- "usually cannot be run on the build host. try_run() checks the "
- "CMAKE_CROSSCOMPILING variable to detect whether CMake is in "
- "crosscompiling mode. If that's the case, it will still try to compile "
- "the executable, but it will not try to run the executable. Instead it "
- "will create cache variables which must be filled by the user or by "
- "presetting them in some CMake script file to the values the "
- "executable would have produced if it had been run on its actual "
- "target platform. These variables are RUN_RESULT_VAR (explanation see "
- "above) and if RUN_OUTPUT_VARIABLE (or OUTPUT_VARIABLE) was used, an "
- "additional cache variable "
- "RUN_RESULT_VAR__COMPILE_RESULT_VAR__TRYRUN_OUTPUT."
- "This is intended to hold stdout and stderr from the executable.\n"
- "In order to make cross compiling your project easier, use try_run "
- "only if really required. If you use try_run, use RUN_OUTPUT_VARIABLE "
- "(or OUTPUT_VARIABLE) only if really required. Using them will require "
- "that when crosscompiling, the cache variables will have to be set "
- "manually to the output of the executable. You can also \"guard\" the "
- "calls to try_run with if(CMAKE_CROSSCOMPILING) and provide an "
- "easy-to-preset alternative for this case.\n"
- "Set variable CMAKE_TRY_COMPILE_CONFIGURATION to choose a build "
- "configuration."
- ;
- }
-
cmTypeMacro(cmTryRunCommand, cmCoreTryCompile);
private:
void RunExecutable(const std::string& runArgs,
diff --git a/Source/cmUnsetCommand.cxx b/Source/cmUnsetCommand.cxx
index 5c0cfaa..053cdfc 100644
--- a/Source/cmUnsetCommand.cxx
+++ b/Source/cmUnsetCommand.cxx
@@ -24,7 +24,7 @@ bool cmUnsetCommand::InitialPass(std::vector<std::string> const& args,
const char* variable = args[0].c_str();
// unset(ENV{VAR})
- if (!strncmp(variable,"ENV{",4) && strlen(variable) > 5)
+ if (cmHasLiteralPrefix(variable, "ENV{") && strlen(variable) > 5)
{
// what is the variable name
char *envVarName = new char [strlen(variable)];
@@ -49,7 +49,13 @@ bool cmUnsetCommand::InitialPass(std::vector<std::string> const& args,
this->Makefile->RemoveCacheDefinition(variable);
return true;
}
- // ERROR: second argument isn't CACHE
+ // unset(VAR PARENT_SCOPE)
+ else if ((args.size() == 2) && (args[1] == "PARENT_SCOPE"))
+ {
+ this->Makefile->RaiseScope(variable, 0);
+ return true;
+ }
+ // ERROR: second argument isn't CACHE or PARENT_SCOPE
else
{
this->SetError("called with an invalid second argument");
diff --git a/Source/cmUnsetCommand.h b/Source/cmUnsetCommand.h
index 9cf95d9..2308139 100644
--- a/Source/cmUnsetCommand.h
+++ b/Source/cmUnsetCommand.h
@@ -47,30 +47,6 @@ public:
*/
virtual const char* GetName() const {return "unset";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Unset a variable, cache variable, or environment variable.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " unset(<variable> [CACHE])\n"
- "Removes the specified variable causing it to become undefined. "
- "If CACHE is present then the variable is removed from the cache "
- "instead of the current scope.\n"
- "<variable> can be an environment variable such as:\n"
- " unset(ENV{LD_LIBRARY_PATH})\n"
- "in which case the variable will be removed from the current "
- "environment.";
- }
-
cmTypeMacro(cmUnsetCommand, cmCommand);
};
diff --git a/Source/cmUseMangledMesaCommand.cxx b/Source/cmUseMangledMesaCommand.cxx
index 4c189e6..d4ec20f 100644
--- a/Source/cmUseMangledMesaCommand.cxx
+++ b/Source/cmUseMangledMesaCommand.cxx
@@ -13,11 +13,14 @@
#include "cmSystemTools.h"
#include <cmsys/RegularExpression.hxx>
+#include <cmsys/FStream.hxx>
-// cmUseMangledMesaCommand
bool cmUseMangledMesaCommand
::InitialPass(std::vector<std::string> const& args, cmExecutionStatus &)
{
+ if(this->Disallowed(cmPolicies::CMP0030,
+ "The use_mangled_mesa command should not be called; see CMP0030."))
+ { return true; }
// expected two arguments:
// arguement one: the full path to gl_mangle.h
// arguement two : directory for output of edited headers
@@ -71,7 +74,7 @@ CopyAndFullPathMesaHeader(const char* source,
outFile += file;
std::string tempOutputFile = outFile;
tempOutputFile += ".tmp";
- std::ofstream fout(tempOutputFile.c_str());
+ cmsys::ofstream fout(tempOutputFile.c_str());
if(!fout)
{
cmSystemTools::Error("Could not open file for write in copy operation: ",
@@ -79,7 +82,7 @@ CopyAndFullPathMesaHeader(const char* source,
cmSystemTools::ReportLastSystemError("");
return;
}
- std::ifstream fin(source);
+ cmsys::ifstream fin(source);
if(!fin)
{
cmSystemTools::Error("Could not open file for read in copy operation",
diff --git a/Source/cmUseMangledMesaCommand.h b/Source/cmUseMangledMesaCommand.h
index 2f52960..dca75a5 100644
--- a/Source/cmUseMangledMesaCommand.h
+++ b/Source/cmUseMangledMesaCommand.h
@@ -14,75 +14,19 @@
#include "cmCommand.h"
-#include "cmSourceFile.h"
-
-/** \class cmUseMangledMesaCommand
- * \brief Create Tcl Wrappers for VTK classes.
- *
- * cmUseMangledMesaCommand is used to define a CMake variable include
- * path location by specifying a file and list of directories.
- */
class cmUseMangledMesaCommand : public cmCommand
{
public:
cmTypeMacro(cmUseMangledMesaCommand, cmCommand);
-
- /**
- * This is a virtual constructor for the command.
- */
- virtual cmCommand* Clone()
- {
- return new cmUseMangledMesaCommand;
- }
-
- /**
- * This is called when the command is first encountered in
- * the CMakeLists.txt file.
- */
+ virtual cmCommand* Clone() { return new cmUseMangledMesaCommand; }
virtual bool InitialPass(std::vector<std::string> const& args,
cmExecutionStatus &status);
-
- /**
- * The name of the command as specified in CMakeList.txt.
- */
virtual const char* GetName() const { return "use_mangled_mesa";}
-
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Copy mesa headers for use in combination with system GL.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " use_mangled_mesa(PATH_TO_MESA OUTPUT_DIRECTORY)\n"
- "The path to mesa includes, should contain gl_mangle.h. "
- "The mesa headers are copied to the specified output directory. "
- "This allows mangled mesa headers to override other GL headers by "
- "being added to the include directory path earlier.";
- }
-
- /**
- * This determines if the command is invoked when in script mode.
- */
virtual bool IsScriptable() const { return true; }
-
- /** This command is kept for compatibility with older CMake versions. */
- virtual bool IsDiscouraged() const
- {
- return true;
- }
-
+ virtual bool IsDiscouraged() const { return true; }
protected:
void CopyAndFullPathMesaHeader(const char* source,
const char* outdir);
};
-
#endif
diff --git a/Source/cmUtilitySourceCommand.cxx b/Source/cmUtilitySourceCommand.cxx
index 6ea3dfa..11e5108 100644
--- a/Source/cmUtilitySourceCommand.cxx
+++ b/Source/cmUtilitySourceCommand.cxx
@@ -15,6 +15,9 @@
bool cmUtilitySourceCommand
::InitialPass(std::vector<std::string> const& args, cmExecutionStatus &)
{
+ if(this->Disallowed(cmPolicies::CMP0034,
+ "The utility_source command should not be called; see CMP0034."))
+ { return true; }
if(args.size() < 3)
{
this->SetError("called with incorrect number of arguments");
diff --git a/Source/cmUtilitySourceCommand.h b/Source/cmUtilitySourceCommand.h
index 195f605..83d115c 100644
--- a/Source/cmUtilitySourceCommand.h
+++ b/Source/cmUtilitySourceCommand.h
@@ -14,77 +14,15 @@
#include "cmCommand.h"
-/** \class cmUtilitySourceCommand
- * \brief A command to setup a cache entry with the location of a third-party
- * utility's source.
- *
- * cmUtilitySourceCommand is used when a third-party utility's source is
- * included in the project's source tree. It specifies the location of
- * the executable's source, and any files that may be needed to confirm the
- * identity of the source.
- */
class cmUtilitySourceCommand : public cmCommand
{
public:
- /**
- * This is a virtual constructor for the command.
- */
- virtual cmCommand* Clone()
- {
- return new cmUtilitySourceCommand;
- }
-
- /**
- * This is called when the command is first encountered in
- * the CMakeLists.txt file.
- */
+ cmTypeMacro(cmUtilitySourceCommand, cmCommand);
+ virtual cmCommand* Clone() { return new cmUtilitySourceCommand; }
virtual bool InitialPass(std::vector<std::string> const& args,
cmExecutionStatus &status);
-
- /**
- * The name of the command as specified in CMakeList.txt.
- */
virtual const char* GetName() const { return "utility_source";}
-
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Specify the source tree of a third-party utility.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " utility_source(cache_entry executable_name\n"
- " path_to_source [file1 file2 ...])\n"
- "When a third-party utility's source is included in the distribution, "
- "this command specifies its location and name. The cache entry will "
- "not be set unless the path_to_source and all listed files exist. It "
- "is assumed that the source tree of the utility will have been built "
- "before it is needed.\n"
- "When cross compiling CMake will print a warning if a utility_source() "
- "command is executed, because in many cases it is used to build an "
- "executable which is executed later on. This doesn't work when "
- "cross compiling, since the executable can run only on their target "
- "platform. So in this case the cache entry has to be adjusted manually "
- "so it points to an executable which is runnable on the build host.";
- }
-
- /** This command is kept for compatibility with older CMake versions. */
- virtual bool IsDiscouraged() const
- {
- return true;
- }
-
-
- cmTypeMacro(cmUtilitySourceCommand, cmCommand);
+ virtual bool IsDiscouraged() const { return true; }
};
-
-
#endif
diff --git a/Source/cmVariableRequiresCommand.cxx b/Source/cmVariableRequiresCommand.cxx
index 747e9be..ddb4003 100644
--- a/Source/cmVariableRequiresCommand.cxx
+++ b/Source/cmVariableRequiresCommand.cxx
@@ -16,6 +16,9 @@
bool cmVariableRequiresCommand
::InitialPass(std::vector<std::string>const& args, cmExecutionStatus &)
{
+ if(this->Disallowed(cmPolicies::CMP0035,
+ "The variable_requires command should not be called; see CMP0035."))
+ { return true; }
if(args.size() < 3 )
{
this->SetError("called with incorrect number of arguments");
diff --git a/Source/cmVariableRequiresCommand.h b/Source/cmVariableRequiresCommand.h
index c86f43d..881b149 100644
--- a/Source/cmVariableRequiresCommand.h
+++ b/Source/cmVariableRequiresCommand.h
@@ -14,68 +14,15 @@
#include "cmCommand.h"
-/** \class cmVariableRequiresCommand
- * \brief Displays a message to the user
- *
- */
class cmVariableRequiresCommand : public cmCommand
{
public:
- /**
- * This is a virtual constructor for the command.
- */
- virtual cmCommand* Clone()
- {
- return new cmVariableRequiresCommand;
- }
-
- /**
- * This is called when the command is first encountered in
- * the CMakeLists.txt file.
- */
+ cmTypeMacro(cmVariableRequiresCommand, cmCommand);
+ virtual cmCommand* Clone() { return new cmVariableRequiresCommand; }
virtual bool InitialPass(std::vector<std::string> const& args,
cmExecutionStatus &status);
-
- /**
- * The name of the command as specified in CMakeList.txt.
- */
virtual const char* GetName() const { return "variable_requires";}
-
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Deprecated. Use the if() command instead.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- "Assert satisfaction of an option's required variables.\n"
- " variable_requires(TEST_VARIABLE RESULT_VARIABLE\n"
- " REQUIRED_VARIABLE1\n"
- " REQUIRED_VARIABLE2 ...)\n"
- "The first argument (TEST_VARIABLE) is the name of the variable to be "
- "tested, if that variable is false nothing else is done. If "
- "TEST_VARIABLE is true, then "
- "the next argument (RESULT_VARIABLE) is a variable that is set to true "
- "if all the required variables are set. "
- "The rest of the arguments are variables that must be true or not "
- "set to NOTFOUND to avoid an error. If any are not true, an error "
- "is reported.";
- }
-
- /** This command is kept for compatibility with older CMake versions. */
- virtual bool IsDiscouraged() const
- {
- return true;
- }
-
- cmTypeMacro(cmVariableRequiresCommand, cmCommand);
+ virtual bool IsDiscouraged() const { return true; }
};
diff --git a/Source/cmVariableWatchCommand.h b/Source/cmVariableWatchCommand.h
index 545535c..fb6062c 100644
--- a/Source/cmVariableWatchCommand.h
+++ b/Source/cmVariableWatchCommand.h
@@ -56,27 +56,6 @@ public:
*/
virtual const char* GetName() const { return "variable_watch";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Watch the CMake variable for change.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " variable_watch(<variable name> [<command to execute>])\n"
- "If the specified variable changes, the message will be printed about "
- "the variable being changed. If the command is specified, the command "
- "will be executed. The command will receive the following arguments:"
- " COMMAND(<variable> <access> <value> <current list file> <stack>)";
- }
-
cmTypeMacro(cmVariableWatchCommand, cmCommand);
protected:
diff --git a/Source/cmVersion.cxx b/Source/cmVersion.cxx
index 047d24d..9cb0cd6 100644
--- a/Source/cmVersion.cxx
+++ b/Source/cmVersion.cxx
@@ -16,7 +16,7 @@
unsigned int cmVersion::GetMajorVersion() { return CMake_VERSION_MAJOR; }
unsigned int cmVersion::GetMinorVersion() { return CMake_VERSION_MINOR; }
unsigned int cmVersion::GetPatchVersion() { return CMake_VERSION_PATCH; }
-unsigned int cmVersion::GetTweakVersion() { return CMake_VERSION_TWEAK; }
+unsigned int cmVersion::GetTweakVersion() { return 0; }
const char* cmVersion::GetCMakeVersion()
{
diff --git a/Source/cmVersion.h b/Source/cmVersion.h
index e313524..0ab6390 100644
--- a/Source/cmVersion.h
+++ b/Source/cmVersion.h
@@ -32,8 +32,13 @@ public:
static const char* GetCMakeVersion();
};
+/* Encode with room for up to 1000 minor releases between major releases
+ and to encode dates until the year 10000 in the patch level. */
+#define CMake_VERSION_ENCODE__BASE cmIML_INT_UINT64_C(100000000)
#define CMake_VERSION_ENCODE(major, minor, patch) \
- ((major)*0x10000u + (minor)*0x100u + (patch))
+ ((((major) * 1000u) * CMake_VERSION_ENCODE__BASE) + \
+ (((minor) % 1000u) * CMake_VERSION_ENCODE__BASE) + \
+ (((patch) % CMake_VERSION_ENCODE__BASE)))
#endif
diff --git a/Source/cmVersionConfig.h.in b/Source/cmVersionConfig.h.in
index 76bc8fe..16aeabe 100644
--- a/Source/cmVersionConfig.h.in
+++ b/Source/cmVersionConfig.h.in
@@ -12,5 +12,4 @@
#define CMake_VERSION_MAJOR @CMake_VERSION_MAJOR@
#define CMake_VERSION_MINOR @CMake_VERSION_MINOR@
#define CMake_VERSION_PATCH @CMake_VERSION_PATCH@
-#define CMake_VERSION_TWEAK @CMake_VERSION_TWEAK@
#define CMake_VERSION "@CMake_VERSION@"
diff --git a/Source/cmVersionMacros.h b/Source/cmVersionMacros.h
index 67f58ca..cf7f678 100644
--- a/Source/cmVersionMacros.h
+++ b/Source/cmVersionMacros.h
@@ -14,8 +14,8 @@
#include "cmVersionConfig.h"
-#define CMake_VERSION_TWEAK_IS_RELEASE(tweak) ((tweak) < 20000000)
-#if CMake_VERSION_TWEAK_IS_RELEASE(CMake_VERSION_TWEAK)
+#define CMake_VERSION_PATCH_IS_RELEASE(patch) ((patch) < 20000000)
+#if CMake_VERSION_PATCH_IS_RELEASE(CMake_VERSION_PATCH)
# define CMake_VERSION_IS_RELEASE 1
#endif
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 6376376..ed7e243 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -184,7 +184,8 @@ void cmVisualStudio10TargetGenerator::WriteString(const char* line,
void cmVisualStudio10TargetGenerator::Generate()
{
// do not generate external ms projects
- if(this->Target->GetProperty("EXTERNAL_MSPROJECT"))
+ if(this->Target->GetType() == cmTarget::INTERFACE_LIBRARY
+ || this->Target->GetProperty("EXTERNAL_MSPROJECT"))
{
return;
}
@@ -219,7 +220,8 @@ void cmVisualStudio10TargetGenerator::Generate()
//get the tools version to use
const std::string toolsVer(this->GlobalGenerator->GetToolsVersion());
- std::string project_defaults="<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
+ std::string project_defaults=
+ "<?xml version=\"1.0\" encoding=\"Windows-1252\"?>\n";
project_defaults.append("<Project DefaultTargets=\"Build\" ToolsVersion=\"");
project_defaults.append(toolsVer +"\" ");
project_defaults.append(
@@ -374,8 +376,8 @@ void cmVisualStudio10TargetGenerator::WriteDotNetReferences()
void cmVisualStudio10TargetGenerator::WriteEmbeddedResourceGroup()
{
- std::vector<cmSourceFile*> const& resxObjs =
- this->GeneratorTarget->ResxSources;
+ std::vector<cmSourceFile*> resxObjs;
+ this->GeneratorTarget->GetResxSources(resxObjs);
if(!resxObjs.empty())
{
this->WriteString("<ItemGroup>\n", 1);
@@ -490,6 +492,7 @@ void cmVisualStudio10TargetGenerator::WriteProjectConfigurationValues()
break;
case cmTarget::GLOBAL_TARGET:
case cmTarget::UNKNOWN_LIBRARY:
+ case cmTarget::INTERFACE_LIBRARY:
break;
}
configType += "</ConfigurationType>\n";
@@ -547,9 +550,11 @@ void cmVisualStudio10TargetGenerator::WriteProjectConfigurationValues()
void cmVisualStudio10TargetGenerator::WriteCustomCommands()
{
this->SourcesVisited.clear();
+ std::vector<cmSourceFile*> customCommands;
+ this->GeneratorTarget->GetCustomCommands(customCommands);
for(std::vector<cmSourceFile*>::const_iterator
- si = this->GeneratorTarget->CustomCommands.begin();
- si != this->GeneratorTarget->CustomCommands.end(); ++si)
+ si = customCommands.begin();
+ si != customCommands.end(); ++si)
{
this->WriteCustomCommand(*si);
}
@@ -561,7 +566,7 @@ void cmVisualStudio10TargetGenerator::WriteCustomCommand(cmSourceFile* sf)
if(this->SourcesVisited.insert(sf).second)
{
if(std::vector<cmSourceFile*> const* depends =
- this->Target->GetSourceDepends(sf))
+ this->GeneratorTarget->GetSourceDepends(sf))
{
for(std::vector<cmSourceFile*>::const_iterator di = depends->begin();
di != depends->end(); ++di)
@@ -593,7 +598,7 @@ cmVisualStudio10TargetGenerator::WriteCustomRule(cmSourceFile* source,
// Make sure the path exists for the file
std::string path = cmSystemTools::GetFilenamePath(sourcePath);
cmSystemTools::MakeDirectory(path.c_str());
- std::ofstream fout(sourcePath.c_str());
+ cmsys::ofstream fout(sourcePath.c_str());
if(fout)
{
fout << "# generated from CMake\n";
@@ -694,7 +699,8 @@ void cmVisualStudio10TargetGenerator::WriteGroups()
// collect up group information
std::vector<cmSourceGroup> sourceGroups =
this->Makefile->GetSourceGroups();
- std::vector<cmSourceFile*> classes = this->Target->GetSourceFiles();
+ std::vector<cmSourceFile*> classes;
+ this->Target->GetSourceFiles(classes);
std::set<cmSourceGroup*> groupsUsed;
for(std::vector<cmSourceFile*>::const_iterator s = classes.begin();
@@ -702,9 +708,9 @@ void cmVisualStudio10TargetGenerator::WriteGroups()
{
cmSourceFile* sf = *s;
std::string const& source = sf->GetFullPath();
- cmSourceGroup& sourceGroup =
+ cmSourceGroup* sourceGroup =
this->Makefile->FindSourceGroup(source.c_str(), sourceGroups);
- groupsUsed.insert(&sourceGroup);
+ groupsUsed.insert(sourceGroup);
}
this->AddMissingSourceGroups(groupsUsed, sourceGroups);
@@ -723,7 +729,8 @@ void cmVisualStudio10TargetGenerator::WriteGroups()
//get the tools version to use
const std::string toolsVer(this->GlobalGenerator->GetToolsVersion());
- std::string project_defaults="<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
+ std::string project_defaults=
+ "<?xml version=\"1.0\" encoding=\"Windows-1252\"?>\n";
project_defaults.append("<Project ToolsVersion=\"");
project_defaults.append(toolsVer +"\" ");
project_defaults.append(
@@ -736,8 +743,8 @@ void cmVisualStudio10TargetGenerator::WriteGroups()
this->WriteGroupSources(ti->first.c_str(), ti->second, sourceGroups);
}
- std::vector<cmSourceFile*> const& resxObjs =
- this->GeneratorTarget->ResxSources;
+ std::vector<cmSourceFile*> resxObjs;
+ this->GeneratorTarget->GetResxSources(resxObjs);
if(!resxObjs.empty())
{
this->WriteString("<ItemGroup>\n", 1);
@@ -809,7 +816,7 @@ void cmVisualStudio10TargetGenerator::WriteGroups()
this->WriteString("</Filter>\n", 2);
}
- if(!this->GeneratorTarget->ResxSources.empty())
+ if(!resxObjs.empty())
{
this->WriteString("<Filter Include=\"Resource Files\">\n", 2);
std::string guidName = "SG_Filter_Resource Files";
@@ -894,9 +901,9 @@ WriteGroupSources(const char* name,
{
cmSourceFile* sf = s->SourceFile;
std::string const& source = sf->GetFullPath();
- cmSourceGroup& sourceGroup =
+ cmSourceGroup* sourceGroup =
this->Makefile->FindSourceGroup(source.c_str(), sourceGroups);
- const char* filter = sourceGroup.GetFullName();
+ const char* filter = sourceGroup->GetFullName();
this->WriteString("<", 2);
std::string path = this->ConvertPath(source, s->RelativePath);
this->ConvertToWindowsSlash(path);
@@ -992,12 +999,18 @@ void cmVisualStudio10TargetGenerator::WriteAllSources()
}
this->WriteString("<ItemGroup>\n", 1);
- this->WriteSources("ClInclude", this->GeneratorTarget->HeaderSources);
- this->WriteSources("Midl", this->GeneratorTarget->IDLSources);
+ std::vector<cmSourceFile*> headerSources;
+ this->GeneratorTarget->GetHeaderSources(headerSources);
+ this->WriteSources("ClInclude", headerSources);
+ std::vector<cmSourceFile*> idlSources;
+ this->GeneratorTarget->GetIDLSources(idlSources);
+ this->WriteSources("Midl", idlSources);
+ std::vector<cmSourceFile*> objectSources;
+ this->GeneratorTarget->GetObjectSources(objectSources);
for(std::vector<cmSourceFile*>::const_iterator
- si = this->GeneratorTarget->ObjectSources.begin();
- si != this->GeneratorTarget->ObjectSources.end(); ++si)
+ si = objectSources.begin();
+ si != objectSources.end(); ++si)
{
const char* lang = (*si)->GetLanguage();
const char* tool = NULL;
@@ -1034,26 +1047,31 @@ void cmVisualStudio10TargetGenerator::WriteAllSources()
}
}
+ std::vector<cmSourceFile*> externalObjects;
+ this->GeneratorTarget->GetExternalObjects(externalObjects);
if(this->LocalGenerator->GetVersion() > cmLocalVisualStudioGenerator::VS10)
{
// For VS >= 11 we use LinkObjects to avoid linking custom command
// outputs. Use Object for all external objects, generated or not.
- this->WriteSources("Object", this->GeneratorTarget->ExternalObjects);
+ this->WriteSources("Object", externalObjects);
}
else
{
// If an object file is generated in this target, then vs10 will use
// it in the build, and we have to list it as None instead of Object.
for(std::vector<cmSourceFile*>::const_iterator
- si = this->GeneratorTarget->ExternalObjects.begin();
- si != this->GeneratorTarget->ExternalObjects.end(); ++si)
+ si = externalObjects.begin();
+ si != externalObjects.end(); ++si)
{
- std::vector<cmSourceFile*> const* d=this->Target->GetSourceDepends(*si);
+ std::vector<cmSourceFile*> const* d =
+ this->GeneratorTarget->GetSourceDepends(*si);
this->WriteSource((d && !d->empty())? "None":"Object", *si);
}
}
- this->WriteSources("None", this->GeneratorTarget->ExtraSources);
+ std::vector<cmSourceFile*> extraSources;
+ this->GeneratorTarget->GetExtraSources(extraSources);
+ this->WriteSources("None", extraSources);
// Add object library contents as external objects.
std::vector<std::string> objs;
@@ -1076,10 +1094,9 @@ bool cmVisualStudio10TargetGenerator::OutputSourceSpecificFlags(
cmSourceFile& sf = *source;
std::string objectName;
- if(this->GeneratorTarget->ExplicitObjectName.find(&sf)
- != this->GeneratorTarget->ExplicitObjectName.end())
+ if(this->GeneratorTarget->HasExplicitObjectName(&sf))
{
- objectName = this->GeneratorTarget->Objects[&sf];
+ objectName = this->GeneratorTarget->GetObjectName(&sf);
}
std::string flags;
std::string defines;
@@ -1703,7 +1720,8 @@ void cmVisualStudio10TargetGenerator::AddLibraries(
libstring += sep;
libstring += path;
}
- else
+ else if (!l->Target
+ || l->Target->GetType() != cmTarget::INTERFACE_LIBRARY)
{
libstring += sep;
libstring += l->Value;
@@ -1791,7 +1809,7 @@ cmVisualStudio10TargetGenerator::WriteEvents(std::string const& configName)
void cmVisualStudio10TargetGenerator::WriteEvent(
const char* name,
- std::vector<cmCustomCommand> & commands,
+ std::vector<cmCustomCommand> const& commands,
std::string const& configName)
{
if(commands.size() == 0)
@@ -1804,10 +1822,10 @@ void cmVisualStudio10TargetGenerator::WriteEvent(
std::string script;
const char* pre = "";
std::string comment;
- for(std::vector<cmCustomCommand>::iterator i = commands.begin();
+ for(std::vector<cmCustomCommand>::const_iterator i = commands.begin();
i != commands.end(); ++i)
{
- cmCustomCommand& command = *i;
+ const cmCustomCommand& command = *i;
comment += pre;
comment += lg->ConstructComment(command);
script += pre;
@@ -1837,7 +1855,11 @@ void cmVisualStudio10TargetGenerator::WriteProjectReferences()
for( OrderedTargetDependSet::const_iterator i = depends.begin();
i != depends.end(); ++i)
{
- cmTarget* dt = *i;
+ cmTarget const* dt = *i;
+ if(dt->GetType() == cmTarget::INTERFACE_LIBRARY)
+ {
+ continue;
+ }
// skip fortran targets as they can not be processed by MSBuild
// the only reference will be in the .sln file
if(static_cast<cmGlobalVisualStudioGenerator*>(this->GlobalGenerator)
@@ -1874,8 +1896,10 @@ void cmVisualStudio10TargetGenerator::WriteProjectReferences()
bool cmVisualStudio10TargetGenerator::
IsResxHeader(const std::string& headerFile)
{
- std::set<std::string>::iterator it =
- this->GeneratorTarget->ExpectedResxHeaders.find(headerFile);
+ std::set<std::string> expectedResxHeaders;
+ this->GeneratorTarget->GetExpectedResxHeaders(expectedResxHeaders);
- return it != this->GeneratorTarget->ExpectedResxHeaders.end();
+ std::set<std::string>::const_iterator it =
+ expectedResxHeaders.find(headerFile);
+ return it != expectedResxHeaders.end();
}
diff --git a/Source/cmVisualStudio10TargetGenerator.h b/Source/cmVisualStudio10TargetGenerator.h
index 9a480a8..d1f3d19 100644
--- a/Source/cmVisualStudio10TargetGenerator.h
+++ b/Source/cmVisualStudio10TargetGenerator.h
@@ -87,7 +87,8 @@ private:
void AddLibraries(cmComputeLinkInformation& cli, std::string& libstring);
void WriteLibOptions(std::string const& config);
void WriteEvents(std::string const& configName);
- void WriteEvent(const char* name, std::vector<cmCustomCommand> & commands,
+ void WriteEvent(const char* name,
+ std::vector<cmCustomCommand> const& commands,
std::string const& configName);
void WriteGroupSources(const char* name, ToolSources const& sources,
std::vector<cmSourceGroup>& );
diff --git a/Source/cmVisualStudioSlnParser.cxx b/Source/cmVisualStudioSlnParser.cxx
index bae5974..d182a75 100644
--- a/Source/cmVisualStudioSlnParser.cxx
+++ b/Source/cmVisualStudioSlnParser.cxx
@@ -13,6 +13,7 @@
#include "cmSystemTools.h"
#include "cmVisualStudioSlnData.h"
+#include <cmsys/FStream.hxx>
#include <cassert>
#include <stack>
@@ -472,7 +473,7 @@ bool cmVisualStudioSlnParser::ParseFile(const std::string& file,
this->LastResult.SetError(ResultErrorUnsupportedDataGroup, 0);
return false;
}
- std::ifstream f(file.c_str());
+ cmsys::ifstream f(file.c_str());
if (!f)
{
this->LastResult.SetError(ResultErrorOpeningInput, 0);
diff --git a/Source/cmWhileCommand.h b/Source/cmWhileCommand.h
index 1bdf27a..45badd0 100644
--- a/Source/cmWhileCommand.h
+++ b/Source/cmWhileCommand.h
@@ -68,32 +68,6 @@ public:
*/
virtual const char* GetName() const { return "while";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Evaluate a group of commands while a condition is true";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " while(condition)\n"
- " COMMAND1(ARGS ...)\n"
- " COMMAND2(ARGS ...)\n"
- " ...\n"
- " endwhile(condition)\n"
- "All commands between while and the matching endwhile are recorded "
- "without being invoked. Once the endwhile is evaluated, the "
- "recorded list of commands is invoked as long as the condition "
- "is true. The condition is evaluated using the same logic as the "
- "if command.";
- }
-
cmTypeMacro(cmWhileCommand, cmCommand);
};
diff --git a/Source/cmWin32ProcessExecution.cxx b/Source/cmWin32ProcessExecution.cxx
deleted file mode 100644
index 1bdeffb..0000000
--- a/Source/cmWin32ProcessExecution.cxx
+++ /dev/null
@@ -1,884 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-#include "cmWin32ProcessExecution.h"
-
-#include "cmSystemTools.h"
-
-#include <malloc.h>
-#include <io.h>
-#include <fcntl.h>
-#include <sys/stat.h>
-#include <windows.h>
-
-#if defined(__BORLANDC__)
-# define STRICMP stricmp
-# define TO_INTPTR(x) ((long)(x))
-#endif // Borland
-#if defined(_MSC_VER) // Visual studio
-# if ( _MSC_VER >= 1300 )
-# include <stddef.h>
-# define TO_INTPTR(x) ((intptr_t)(x))
-# else // Visual Studio 6
-# define TO_INTPTR(x) ((long)(x))
-# endif // Visual studio .NET
-# define STRICMP _stricmp
-#endif // Visual Studio
-#if defined(__MINGW32__)
-# include <stdint.h>
-# define TO_INTPTR(x) ((intptr_t)(x))
-# define STRICMP _stricmp
-#endif // MinGW
-
-#define POPEN_1 1
-#define POPEN_2 2
-#define POPEN_3 3
-#define POPEN_4 4
-
-#define cmMAX(x,y) (((x)<(y))?(y):(x))
-
-void DisplayErrorMessage()
-{
- LPVOID lpMsgBuf;
- FormatMessage(
- FORMAT_MESSAGE_ALLOCATE_BUFFER |
- FORMAT_MESSAGE_FROM_SYSTEM |
- FORMAT_MESSAGE_IGNORE_INSERTS,
- NULL,
- GetLastError(),
- MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), // Default language
- (LPTSTR) &lpMsgBuf,
- 0,
- NULL
- );
- // Process any inserts in lpMsgBuf.
- // ...
- // Display the string.
- MessageBox( NULL, (LPCTSTR)lpMsgBuf, "Error", MB_OK | MB_ICONINFORMATION );
- // Free the buffer.
- LocalFree( lpMsgBuf );
-}
-
-// Code from a Borland web site with the following explaination :
-/* In this article, I will explain how to spawn a console application
- * and redirect its standard input/output using anonymous pipes. An
- * anonymous pipe is a pipe that goes only in one direction (read
- * pipe, write pipe, etc.). Maybe you are asking, "why would I ever
- * need to do this sort of thing?" One example would be a Windows
- * telnet server, where you spawn a shell and listen on a port and
- * send and receive data between the shell and the socket
- * client. (Windows does not really have a built-in remote
- * shell). First, we should talk about pipes. A pipe in Windows is
- * simply a method of communication, often between process. The SDK
- * defines a pipe as "a communication conduit with two ends;
- a process
- * with a handle to one end can communicate with a process having a
- * handle to the other end." In our case, we are using "anonymous"
- * pipes, one-way pipes that "transfer data between a parent process
- * and a child process or between two child processes of the same
- * parent process." It's easiest to imagine a pipe as its namesake. An
- * actual pipe running between processes that can carry data. We are
- * using anonymous pipes because the console app we are spawning is a
- * child process. We use the CreatePipe function which will create an
- * anonymous pipe and return a read handle and a write handle. We will
- * create two pipes, on for stdin and one for stdout. We will then
- * monitor the read end of the stdout pipe to check for display on our
- * child process. Every time there is something availabe for reading,
- * we will display it in our app. Consequently, we check for input in
- * our app and send it off to the write end of the stdin pipe. */
-
-inline bool IsWinNT()
-//check if we're running NT
-{
- OSVERSIONINFO osv;
- osv.dwOSVersionInfoSize = sizeof(osv);
- GetVersionEx(&osv);
- return (osv.dwPlatformId == VER_PLATFORM_WIN32_NT);
-}
-
-//---------------------------------------------------------------------------
-bool cmWin32ProcessExecution::BorlandRunCommand(
- const char* command, const char* dir,
- std::string& output, int& retVal, bool verbose, int /* timeout */,
- bool hideWindows)
-{
- //verbose = true;
- //std::cerr << std::endl
- // << "WindowsRunCommand(" << command << ")" << std::endl
- // << std::flush;
- const int BUFFER_SIZE = 4096;
- char buf[BUFFER_SIZE];
-
-//i/o buffer
- STARTUPINFO si;
- SECURITY_ATTRIBUTES sa;
- SECURITY_DESCRIPTOR sd;
-
-//security information for pipes
- PROCESS_INFORMATION pi;
- HANDLE newstdin,newstdout,read_stdout,write_stdin;
-
-//pipe handles
- if (IsWinNT())
-//initialize security descriptor (Windows NT)
- {
- InitializeSecurityDescriptor(&sd,SECURITY_DESCRIPTOR_REVISION);
- SetSecurityDescriptorDacl(&sd, true, NULL, false);
- sa.lpSecurityDescriptor = &sd;
-
- }
- else sa.lpSecurityDescriptor = NULL;
- sa.nLength = sizeof(SECURITY_ATTRIBUTES);
- sa.bInheritHandle = true;
-
-//allow inheritable handles
- if (!CreatePipe(&newstdin,&write_stdin,&sa,0))
-//create stdin pipe
- {
- return false;
- }
- if (!CreatePipe(&read_stdout,&newstdout,&sa,0))
-//create stdout pipe
- {
- CloseHandle(newstdin);
- CloseHandle(write_stdin);
- return false;
-
- }
- GetStartupInfo(&si);
-
-//set startupinfo for the spawned process
- /* The dwFlags member tells CreateProcess how to make the
- * process. STARTF_USESTDHANDLES validates the hStd*
- * members. STARTF_USESHOWWINDOW validates the wShowWindow
- * member. */
-
- si.cb = sizeof(STARTUPINFO);
- si.dwFlags = STARTF_USESTDHANDLES|STARTF_USESHOWWINDOW;
- si.hStdOutput = newstdout;
- si.hStdError = newstdout;
- si.wShowWindow = SW_SHOWDEFAULT;
- if(hideWindows)
- {
- si.wShowWindow = SW_HIDE;
- }
-
-//set the new handles for the child process si.hStdInput = newstdin;
- char* commandAndArgs = strcpy(new char[strlen(command)+1], command);
- if (!CreateProcess(NULL,commandAndArgs,NULL,NULL,TRUE,
- 0, // CREATE_NEW_CONSOLE,
- NULL,dir,&si,&pi))
- {
- std::cerr << "CreateProcess failed " << commandAndArgs << std::endl;
- CloseHandle(newstdin);
- CloseHandle(newstdout);
- CloseHandle(read_stdout);
- CloseHandle(write_stdin);
- delete [] commandAndArgs;
- return false;
-
- }
- delete [] commandAndArgs;
- unsigned long exit=0;
-
-//process exit code unsigned
- unsigned long bread;
-
-//bytes read unsigned
- unsigned long avail;
-
-//bytes available
- memset(buf, 0, sizeof(buf));
- for(;;)
-//main program loop
- {
- Sleep(10);
-//check to see if there is any data to read from stdout
- //std::cout << "Peek for data..." << std::endl;
- PeekNamedPipe(read_stdout,buf,1023,&bread,&avail,NULL);
- if (bread != 0)
- {
- memset(buf, 0, sizeof(buf));
- if (avail > 1023)
- {
- while (bread >= 1023)
- {
- //std::cout << "Read data..." << std::endl;
- ReadFile(read_stdout,buf,1023,&bread,NULL);
-
- //read the stdout pipe
- memset(buf, 0, sizeof(buf));
- output += buf;
- if (verbose)
- {
- cmSystemTools::Stdout(buf);
- }
- }
- }
- else
- {
- ReadFile(read_stdout,buf,1023,&bread,NULL);
- output += buf;
- if(verbose)
- {
- cmSystemTools::Stdout(buf);
- }
-
- }
-
- }
-
- //std::cout << "Check for process..." << std::endl;
- GetExitCodeProcess(pi.hProcess,&exit);
-
-//while the process is running
- if (exit != STILL_ACTIVE) break;
-
- }
- WaitForSingleObject(pi.hProcess, INFINITE);
- GetExitCodeProcess(pi.hProcess,&exit);
- CloseHandle(pi.hThread);
- CloseHandle(pi.hProcess);
- CloseHandle(newstdin);
-
-//clean stuff up
- CloseHandle(newstdout);
- CloseHandle(read_stdout);
- CloseHandle(write_stdin);
- retVal = exit;
- return true;
-
-}
-
-bool cmWin32ProcessExecution::StartProcess(
- const char* cmd, const char* path, bool verbose)
-{
- this->Initialize();
- this->Verbose = verbose;
- return this->PrivateOpen(cmd, path, _O_RDONLY | _O_TEXT, POPEN_3);
-}
-
-bool cmWin32ProcessExecution::Wait(int timeout)
-{
- return this->PrivateClose(timeout);
-}
-
-static BOOL RealPopenCreateProcess(const char *cmdstring,
- const char *path,
- const char *szConsoleSpawn,
- HANDLE hStdin,
- HANDLE hStdout,
- HANDLE hStderr,
- HANDLE *hProcess,
- bool hideWindows,
- std::string& output)
-{
- PROCESS_INFORMATION piProcInfo;
- STARTUPINFO siStartInfo;
- char *s1=0,*s2=0;
- const char *s3 = " /c ";
- int i = GetEnvironmentVariable("COMSPEC",NULL,0);
- if (i)
- {
- char *comshell;
-
- s1 = (char *)malloc(i);
- int x = GetEnvironmentVariable("COMSPEC", s1, i);
- if (!x)
- {
- free(s1);
- return x;
- }
-
- /* Explicitly check if we are using COMMAND.COM. If we are
- * then use the w9xpopen hack.
- */
- comshell = s1 + x;
- while (comshell >= s1 && *comshell != '\\')
- --comshell;
- ++comshell;
-
- if (GetVersion() < 0x80000000 &&
- STRICMP(comshell, "command.com") != 0)
- {
- /* NT/2000 and not using command.com. */
- x = i + (int)strlen(s3) + (int)strlen(cmdstring) + 1;
- s2 = (char *)malloc(x);
- ZeroMemory(s2, x);
- //sprintf(s2, "%s%s%s", s1, s3, cmdstring);
- sprintf(s2, "%s", cmdstring);
- }
- else
- {
- /*
- * Oh gag, we're on Win9x or using COMMAND.COM. Use
- * the workaround listed in KB: Q150956
- */
- char modulepath[_MAX_PATH];
- struct stat statinfo;
- GetModuleFileName(NULL, modulepath, sizeof(modulepath));
- for (i = x = 0; modulepath[i]; i++)
- if (modulepath[i] == '\\')
- x = i+1;
- modulepath[x] = '\0';
- /* Create the full-name to w9xpopen, so we can test it exists */
- strncat(modulepath,
- szConsoleSpawn,
- (sizeof(modulepath)/sizeof(modulepath[0]))
- -strlen(modulepath));
- if (stat(modulepath, &statinfo) != 0)
- {
- /* Eeek - file-not-found - possibly an embedding
- situation - see if we can locate it in sys.prefix
- */
- strncpy(modulepath,
- ".",
- sizeof(modulepath)/sizeof(modulepath[0]));
- if (modulepath[strlen(modulepath)-1] != '\\')
- strcat(modulepath, "\\");
- strncat(modulepath,
- szConsoleSpawn,
- (sizeof(modulepath)/sizeof(modulepath[0]))
- -strlen(modulepath));
- /* No where else to look - raise an easily identifiable
- error, rather than leaving Windows to report
- "file not found" - as the user is probably blissfully
- unaware this shim EXE is used, and it will confuse them.
- (well, it confused me for a while ;-)
- */
- if (stat(modulepath, &statinfo) != 0)
- {
- std::cout
- << "Can not locate '" << modulepath
- << "' which is needed "
- "for popen to work with your shell "
- "or platform." << std::endl;
- free(s1);
- free(s2);
- return FALSE;
- }
- }
- x = i + (int)strlen(s3) + (int)strlen(cmdstring) + 1 +
- (int)strlen(modulepath) +
- (int)strlen(szConsoleSpawn) + 1;
- if(s2)
- {
- free(s2);
- }
- s2 = (char *)malloc(x);
- ZeroMemory(s2, x);
- sprintf(
- s2,
- "%s %s%s%s",
- modulepath,
- s1,
- s3,
- cmdstring);
- sprintf(
- s2,
- "%s %s",
- modulepath,
- cmdstring);
- }
- }
-
- /* Could be an else here to try cmd.exe / command.com in the path
- Now we'll just error out.. */
- else
- {
- std::cout << "Cannot locate a COMSPEC environment variable to "
- << "use as the shell" << std::endl;
- free(s2);
- free(s1);
- return FALSE;
- }
-
- ZeroMemory(&siStartInfo, sizeof(STARTUPINFO));
- siStartInfo.cb = sizeof(STARTUPINFO);
- siStartInfo.dwFlags = STARTF_USESTDHANDLES | STARTF_USESHOWWINDOW;
- siStartInfo.hStdInput = hStdin;
- siStartInfo.hStdOutput = hStdout;
- siStartInfo.hStdError = hStderr;
- siStartInfo.wShowWindow = SW_SHOWDEFAULT;
- if(hideWindows)
- {
- siStartInfo.wShowWindow = SW_HIDE;
- }
-
- //std::cout << "Create process: " << s2 << std::endl;
- if (CreateProcess(NULL,
- s2,
- NULL,
- NULL,
- TRUE,
- 0, //CREATE_NEW_CONSOLE,
- NULL,
- path,
- &siStartInfo,
- &piProcInfo) )
- {
- /* Close the handles now so anyone waiting is woken. */
- CloseHandle(piProcInfo.hThread);
- /* Return process handle */
- *hProcess = piProcInfo.hProcess;
- //std::cout << "Process created..." << std::endl;
- free(s2);
- free(s1);
- return TRUE;
- }
-
- output += "CreateProcessError: ";
- {
- /* Format the error message. */
- char message[1024];
- DWORD original = GetLastError();
- DWORD length = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM |
- FORMAT_MESSAGE_IGNORE_INSERTS, 0, original,
- MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
- message, 1023, 0);
- if(length < 1)
- {
- /* FormatMessage failed. Use a default message. */
- _snprintf(message, 1023,
- "Process execution failed with error 0x%X. "
- "FormatMessage failed with error 0x%X",
- original, GetLastError());
- }
- output += message;
- }
- output += "\n";
- output += "for command: ";
- output += s2;
- if(path)
- {
- output += "\nin dir: ";
- output += path;
- }
- output += "\n";
- free(s2);
- free(s1);
- return FALSE;
-}
-
-/* The following code is based off of KB: Q190351 */
-
-bool cmWin32ProcessExecution::PrivateOpen(const char *cmdstring,
- const char* path,
- int mode,
- int n)
-{
- HANDLE hProcess;
-
- SECURITY_ATTRIBUTES saAttr;
- BOOL fSuccess;
- int fd1, fd2, fd3;
- this->hChildStdinRd = 0;
- this->hChildStdinWr = 0;
- this->hChildStdoutRd = 0;
- this->hChildStdoutWr = 0;
- this->hChildStderrRd = 0;
- this->hChildStderrWr = 0;
- this->hChildStdinWrDup = 0;
- this->hChildStdoutRdDup = 0;
- this->hChildStderrRdDup = 0;
-
- saAttr.nLength = sizeof(SECURITY_ATTRIBUTES);
- saAttr.bInheritHandle = TRUE;
- saAttr.lpSecurityDescriptor = NULL;
-
- fd1 = 0;
- fd2 = 0;
- fd3 = 0;
-
- if (!CreatePipe(&this->hChildStdinRd, &this->hChildStdinWr, &saAttr, 0))
- {
- this->Output += "CreatePipeError\n";
- return false;
- }
-
- /* Create new output read handle and the input write handle. Set
- * the inheritance properties to FALSE. Otherwise, the child inherits
- * these handles; resulting in non-closeable handles to the pipes
- * being created. */
- fSuccess = DuplicateHandle(GetCurrentProcess(), this->hChildStdinWr,
- GetCurrentProcess(), &this->hChildStdinWrDup, 0,
- FALSE,
- DUPLICATE_SAME_ACCESS);
- if (!fSuccess)
- {
- this->Output += "DuplicateHandleError\n";
- return false;
- }
-
-
- /* Close the inheritable version of ChildStdin
- that we're using. */
- CloseHandle(hChildStdinWr);
-
- if (!CreatePipe(&this->hChildStdoutRd, &this->hChildStdoutWr, &saAttr, 0))
- {
- this->Output += "CreatePipeError\n";
- return false;
- }
-
- fSuccess = DuplicateHandle(GetCurrentProcess(), this->hChildStdoutRd,
- GetCurrentProcess(), &this->hChildStdoutRdDup, 0,
- FALSE, DUPLICATE_SAME_ACCESS);
- if (!fSuccess)
- {
- this->Output += "DuplicateHandleError\n";
- return false;
- }
-
- /* Close the inheritable version of ChildStdout
- that we're using. */
- CloseHandle(hChildStdoutRd);
-
- if (n != POPEN_4)
- {
- if (!CreatePipe(&this->hChildStderrRd, &this->hChildStderrWr, &saAttr, 0))
- {
- this->Output += "CreatePipeError\n";
- return false;
- }
- fSuccess = DuplicateHandle(GetCurrentProcess(),
- this->hChildStderrRd,
- GetCurrentProcess(),
- &this->hChildStderrRdDup, 0,
- FALSE, DUPLICATE_SAME_ACCESS);
- if (!fSuccess)
- {
- this->Output += "DuplicateHandleError\n";
- return false;
- }
- /* Close the inheritable version of ChildStdErr that we're using. */
- CloseHandle(hChildStderrRd);
-
- }
-
- switch (n)
- {
- case POPEN_1:
- switch (mode & (_O_RDONLY | _O_TEXT | _O_BINARY | _O_WRONLY))
- {
- case _O_WRONLY | _O_TEXT:
- /* Case for writing to child Stdin in text mode. */
- fd1 = _open_osfhandle(TO_INTPTR(this->hChildStdinWrDup), mode);
- /* We don't care about these pipes anymore,
- so close them. */
- break;
-
- case _O_RDONLY | _O_TEXT:
- /* Case for reading from child Stdout in text mode. */
- fd1 = _open_osfhandle(TO_INTPTR(this->hChildStdoutRdDup), mode);
- /* We don't care about these pipes anymore,
- so close them. */
- break;
-
- case _O_RDONLY | _O_BINARY:
- /* Case for readinig from child Stdout in
- binary mode. */
- fd1 = _open_osfhandle(TO_INTPTR(this->hChildStdoutRdDup), mode);
- /* We don't care about these pipes anymore,
- so close them. */
- break;
-
- case _O_WRONLY | _O_BINARY:
- /* Case for writing to child Stdin in binary mode. */
- fd1 = _open_osfhandle(TO_INTPTR(this->hChildStdinWrDup), mode);
- /* We don't care about these pipes anymore,
- so close them. */
- break;
- }
- break;
-
- case POPEN_2:
- case POPEN_4:
- //if ( 1 )
- {
- fd1 = _open_osfhandle(TO_INTPTR(this->hChildStdinWrDup), mode);
- fd2 = _open_osfhandle(TO_INTPTR(this->hChildStdoutRdDup), mode);
- break;
- }
-
- case POPEN_3:
- //if ( 1)
- {
- fd1 = _open_osfhandle(TO_INTPTR(this->hChildStdinWrDup), mode);
- fd2 = _open_osfhandle(TO_INTPTR(this->hChildStdoutRdDup), mode);
- fd3 = _open_osfhandle(TO_INTPTR(this->hChildStderrRdDup), mode);
- break;
- }
- }
-
- if (n == POPEN_4)
- {
- if (!RealPopenCreateProcess(cmdstring,
- path,
- this->ConsoleSpawn.c_str(),
- this->hChildStdinRd,
- this->hChildStdoutWr,
- this->hChildStdoutWr,
- &hProcess, this->HideWindows,
- this->Output))
- {
- if(fd1 >= 0)
- {
- close(fd1);
- }
- if(fd2 >= 0)
- {
- close(fd2);
- }
- if(fd3 >= 0)
- {
- close(fd3);
- }
- return 0;
- }
- }
- else
- {
- if (!RealPopenCreateProcess(cmdstring,
- path,
- this->ConsoleSpawn.c_str(),
- this->hChildStdinRd,
- this->hChildStdoutWr,
- this->hChildStderrWr,
- &hProcess, this->HideWindows,
- this->Output))
- {
- if(fd1 >= 0)
- {
- close(fd1);
- }
- if(fd2 >= 0)
- {
- close(fd2);
- }
- if(fd3 >= 0)
- {
- close(fd3);
- }
- return 0;
- }
- }
-
- /* Child is launched. Close the parents copy of those pipe
- * handles that only the child should have open. You need to
- * make sure that no handles to the write end of the output pipe
- * are maintained in this process or else the pipe will not close
- * when the child process exits and the ReadFile will hang. */
- this->ProcessHandle = hProcess;
- if ( fd1 >= 0 )
- {
- this->pStdIn = fd1;
- }
- if ( fd2 >= 0 )
- {
- this->pStdOut = fd2;
- }
- if ( fd3 >= 0 )
- {
- this->pStdErr = fd3;
- }
-
- return true;
-}
-
-bool cmWin32ProcessExecution::CloseHandles()
-{
- if(this->pStdErr != -1 )
- {
- // this will close this as well: this->hChildStderrRdDup
- _close(this->pStdErr);
- this->pStdErr = -1;
- this->hChildStderrRdDup = 0;
- }
- if(this->pStdIn != -1 )
- {
- // this will close this as well: this->hChildStdinWrDup
- _close(this->pStdIn);
- this->pStdIn = -1;
- this->hChildStdinWrDup = 0;
- }
- if(this->pStdOut != -1 )
- {
- // this will close this as well: this->hChildStdoutRdDup
- _close(this->pStdOut);
- this->pStdOut = -1;
- this->hChildStdoutRdDup = 0;
- }
-
- bool ret = true;
- if (this->hChildStdinRd && !CloseHandle(this->hChildStdinRd))
- {
- ret = false;
- }
- this->hChildStdinRd = 0;
- // now close these two
- if (this->hChildStdoutWr && !CloseHandle(this->hChildStdoutWr))
- {
- ret = false;
- }
- this->hChildStdoutWr = 0;
- if (this->hChildStderrWr && !CloseHandle(this->hChildStderrWr))
- {
- ret = false;
- }
- this->hChildStderrWr = 0;
- return ret;
-}
-cmWin32ProcessExecution::~cmWin32ProcessExecution()
-{
- this->CloseHandles();
-}
-
-bool cmWin32ProcessExecution::PrivateClose(int /* timeout */)
-{
- HANDLE hProcess = this->ProcessHandle;
-
- int result = -1;
- DWORD exit_code;
-
- std::string output = "";
- bool done = false;
- while(!done)
- {
- Sleep(10);
- bool have_some = false;
- struct _stat fsout;
- struct _stat fserr;
- int rout = _fstat(this->pStdOut, &fsout);
- int rerr = _fstat(this->pStdErr, &fserr);
- if ( rout && rerr )
- {
- break;
- }
- if (fserr.st_size > 0)
- {
- char buffer[1024];
- int len = read(this->pStdErr, buffer, 1023);
- buffer[len] = 0;
- if ( this->Verbose )
- {
- cmSystemTools::Stdout(buffer);
- }
- output += buffer;
- have_some = true;
- }
- if (fsout.st_size > 0)
- {
- char buffer[1024];
- int len = read(this->pStdOut, buffer, 1023);
- buffer[len] = 0;
- if ( this->Verbose )
- {
- cmSystemTools::Stdout(buffer);
- }
- output += buffer;
- have_some = true;
- }
- unsigned long exitCode;
- if ( ! have_some )
- {
- GetExitCodeProcess(hProcess,&exitCode);
- if (exitCode != STILL_ACTIVE)
- {
- break;
- }
- }
- }
-
-
- if (WaitForSingleObject(hProcess, INFINITE) != WAIT_FAILED &&
- GetExitCodeProcess(hProcess, &exit_code))
- {
- result = exit_code;
- }
- else
- {
- /* Indicate failure - this will cause the file object
- * to raise an I/O error and translate the last Win32
- * error code from errno. We do have a problem with
- * last errors that overlap the normal errno table,
- * but that's a consistent problem with the file object.
- */
- if (result != EOF)
- {
- /* If the error wasn't from the fclose(), then
- * set errno for the file object error handling.
- */
- errno = GetLastError();
- }
- result = -1;
- }
-
- /* Free up the native handle at this point */
- CloseHandle(hProcess);
- this->ExitValue = result;
- this->Output += output;
- bool ret = this->CloseHandles();
- if ( result < 0 || !ret)
- {
- return false;
- }
- return true;
-}
-
-int cmWin32ProcessExecution::Windows9xHack(const char* command)
-{
- BOOL bRet;
- STARTUPINFO si;
- PROCESS_INFORMATION pi;
- DWORD exit_code=0;
-
- if (!command)
- {
- cmSystemTools::Error("Windows9xHack: Command not specified");
- return 1;
- }
-
- /* Make child process use this app's standard files. */
- ZeroMemory(&si, sizeof si);
- si.cb = sizeof si;
- si.dwFlags = STARTF_USESTDHANDLES;
- si.hStdInput = GetStdHandle(STD_INPUT_HANDLE);
- si.hStdOutput = GetStdHandle(STD_OUTPUT_HANDLE);
- si.hStdError = GetStdHandle(STD_ERROR_HANDLE);
-
-
- char * app = 0;
- char* cmd = new char[ strlen(command) + 1 ];
- strcpy(cmd, command);
-
- bRet = CreateProcess(
- app, cmd,
- 0, 0,
- TRUE, 0,
- 0, 0,
- &si, &pi
- );
- delete [] cmd;
-
- if (bRet)
- {
- if (WaitForSingleObject(pi.hProcess, INFINITE) != WAIT_FAILED)
- {
- GetExitCodeProcess(pi.hProcess, &exit_code);
- }
- CloseHandle(pi.hProcess);
- CloseHandle(pi.hThread);
- return exit_code;
- }
-
- return 1;
-}
diff --git a/Source/cmWin32ProcessExecution.h b/Source/cmWin32ProcessExecution.h
deleted file mode 100644
index 2127ebd2..0000000
--- a/Source/cmWin32ProcessExecution.h
+++ /dev/null
@@ -1,169 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-#ifndef cmWin32ProcessExecution_h
-#define cmWin32ProcessExecution_h
-
-#include "cmStandardIncludes.h"
-#include "windows.h"
-
-class cmMakefile;
-
-/** \class cmWin32ProcessExecution
- * \brief A process executor for windows
- *
- * cmWin32ProcessExecution is a class that provides a "clean" way of
- * executing processes on Windows. It is modified code from Python 2.1
- * distribution.
- *
- * Portable 'popen' replacement for Win32.
- *
- * Written by Bill Tutt <billtut@microsoft.com>. Minor tweaks and 2.0
- * integration by Fredrik Lundh <fredrik@pythonware.com> Return code
- * handling by David Bolen <db3l@fitlinxx.com>.
- *
- * Modified for CMake.
- *
- * For more information, please check Microsoft Knowledge Base
- * Articles Q190351 and Q150956.
- */
-class cmWin32ProcessExecution
-{
-public:
- cmWin32ProcessExecution()
- {
- this->HideWindows = false;
- this->SetConsoleSpawn("w9xpopen.exe");
- this->Initialize();
- }
- ~cmWin32ProcessExecution();
- ///! If true windows will be created hidden.
- void SetHideWindows(bool v) { this->HideWindows = v; }
-
- /**
- * Initialize the process execution datastructure. Do not call while
- * running the process.
- */
- void Initialize()
- {
- this->ProcessHandle = 0;
- this->ExitValue = -1;
- // Comment this out. Maybe we will need it in the future.
- // file IO access to the process might be cool.
- //this->StdIn = 0;
- //this->StdOut = 0;
- //this->StdErr = 0;
- this->pStdIn = -1;
- this->pStdOut = -1;
- this->pStdErr = -1;
- }
-
- /**
- * Start the process in the directory path. Make sure that the
- * executable is either in the path or specify the full path. The
- * argument verbose specifies whether or not to display output while
- * it is being generated.
- */
- bool StartProcess(const char*, const char* path, bool verbose);
-
- /**
- * Wait for the process to finish. If timeout is specified, it will
- * break the process after timeout expires. (Timeout code is not yet
- * implemented.
- */
- bool Wait(int timeout);
-
- /**
- * Get the output of the process (mixed stdout and stderr) as
- * std::string.
- */
- const std::string GetOutput() const { return this->Output; }
-
- /**
- * Get the return value of the process. If the process is still
- * running, the return value is -1.
- */
- int GetExitValue() const { return this->ExitValue; }
-
- /**
- * On Windows 9x there is a bug in the process execution code which
- * may result in blocking. That is why this workaround is
- * used. Specify the console spawn, which should run the
- * Windows9xHack code.
- */
- void SetConsoleSpawn(const char* prog) { this->ConsoleSpawn = prog; }
- static int Windows9xHack(const char* command);
-
- /** Code from a Borland web site with the following explaination :
- * In this article, I will explain how to spawn a console
- * application and redirect its standard input/output using
- * anonymous pipes. An anonymous pipe is a pipe that goes only in
- * one direction (read pipe, write pipe, etc.). Maybe you are
- * asking, "why would I ever need to do this sort of thing?" One
- * example would be a Windows telnet server, where you spawn a shell
- * and listen on a port and send and receive data between the shell
- * and the socket client. (Windows does not really have a built-in
- * remote shell). First, we should talk about pipes. A pipe in
- * Windows is simply a method of communication, often between
- * process. The SDK defines a pipe as "a communication conduit with
- * two ends; a process with a handle to one end can communicate with
- * a process having a handle to the other end." In our case, we are
- * using "anonymous" pipes, one-way pipes that "transfer data
- * between a parent process and a child process or between two child
- * processes of the same parent process." It's easiest to imagine a
- * pipe as its namesake. An actual pipe running between processes
- * that can carry data. We are using anonymous pipes because the
- * console app we are spawning is a child process. We use the
- * CreatePipe function which will create an anonymous pipe and
- * return a read handle and a write handle. We will create two
- * pipes, on for stdin and one for stdout. We will then monitor the
- * read end of the stdout pipe to check for display on our child
- * process. Every time there is something availabe for reading, we
- * will display it in our app. Consequently, we check for input in
- * our app and send it off to the write end of the stdin pipe.
- */
- static bool BorlandRunCommand(const char* command,
- const char* dir,
- std::string& output, int& retVal,
- bool verbose,
- int timeout, bool hideWindows);
-
-private:
- bool CloseHandles();
- bool PrivateOpen(const char*, const char*, int, int);
- bool PrivateClose(int timeout);
-
- HANDLE ProcessHandle;
- HANDLE hChildStdinRd;
- HANDLE hChildStdinWr;
- HANDLE hChildStdoutRd;
- HANDLE hChildStdoutWr;
- HANDLE hChildStderrRd;
- HANDLE hChildStderrWr;
- HANDLE hChildStdinWrDup;
- HANDLE hChildStdoutRdDup;
- HANDLE hChildStderrRdDup;
-
-
- int pStdIn;
- int pStdOut;
- int pStdErr;
-
- int ExitValue;
-
- std::string Output;
- std::string ConsoleSpawn;
- bool Verbose;
- bool HideWindows;
-};
-
-
-#endif
diff --git a/Source/cmWriteFileCommand.cxx b/Source/cmWriteFileCommand.cxx
index 3642c6f..aa6b9f8 100644
--- a/Source/cmWriteFileCommand.cxx
+++ b/Source/cmWriteFileCommand.cxx
@@ -10,6 +10,7 @@
See the License for more information.
============================================================================*/
#include "cmWriteFileCommand.h"
+#include <cmsys/FStream.hxx>
#include <sys/types.h>
#include <sys/stat.h>
@@ -71,7 +72,7 @@ bool cmWriteFileCommand
}
// If GetPermissions fails, pretend like it is ok. File open will fail if
// the file is not writable
- std::ofstream file(fileName.c_str(),
+ cmsys::ofstream file(fileName.c_str(),
overwrite?std::ios::out : std::ios::app);
if ( !file )
{
diff --git a/Source/cmWriteFileCommand.h b/Source/cmWriteFileCommand.h
index 771ef5a..84a38fc 100644
--- a/Source/cmWriteFileCommand.h
+++ b/Source/cmWriteFileCommand.h
@@ -46,32 +46,6 @@ public:
*/
virtual const char* GetName() const { return "write_file";}
- /**
- * Succinct documentation.
- */
- virtual const char* GetTerseDocumentation() const
- {
- return "Deprecated. Use the file(WRITE ) command instead.";
- }
-
- /**
- * More documentation.
- */
- virtual const char* GetFullDocumentation() const
- {
- return
- " write_file(filename \"message to write\"... [APPEND])\n"
- "The first argument is the file name, the rest of the arguments are "
- "messages to write. If the argument APPEND is specified, then "
- "the message will be appended.\n"
- "NOTE 1: file(WRITE ... and file(APPEND ... do exactly the same as "
- "this one but add some more functionality.\n"
- "NOTE 2: When using write_file the produced file cannot be used as an "
- "input to CMake (CONFIGURE_FILE, source file ...) because it will "
- "lead to an infinite loop. Use configure_file if you want to generate "
- "input files to CMake.";
- }
-
/** This command is kept for compatibility with older CMake versions. */
virtual bool IsDiscouraged() const
{
diff --git a/Source/cmXMLParser.cxx b/Source/cmXMLParser.cxx
index 882fc17..0c53440 100644
--- a/Source/cmXMLParser.cxx
+++ b/Source/cmXMLParser.cxx
@@ -10,6 +10,7 @@
See the License for more information.
============================================================================*/
#include "cmXMLParser.h"
+#include <cmsys/FStream.hxx>
#include <cm_expat.h>
#include <ctype.h>
@@ -45,7 +46,7 @@ int cmXMLParser::ParseFile(const char* file)
return 0;
}
- std::ifstream ifs(file);
+ cmsys::ifstream ifs(file);
if ( !ifs )
{
return 0;
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 14ddc1b..abbabe7 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -10,8 +10,6 @@
See the License for more information.
============================================================================*/
#include "cmake.h"
-#include "cmDocumentVariables.h"
-#include "time.h"
#include "cmCacheManager.h"
#include "cmMakefile.h"
#include "cmLocalGenerator.h"
@@ -19,25 +17,18 @@
#include "cmCommands.h"
#include "cmCommand.h"
#include "cmFileTimeComparison.h"
-#include "cmGeneratedFileStream.h"
-#include "cmQtAutomoc.h"
#include "cmSourceFile.h"
-#include "cmVersion.h"
#include "cmTest.h"
-#include "cmDocumentationFormatterText.h"
+#include "cmDocumentationFormatter.h"
#if defined(CMAKE_BUILD_WITH_CMAKE)
# include "cmGraphVizWriter.h"
-# include "cmDependsFortran.h" // For -E cmake_copy_f90_mod callback.
# include "cmVariableWatch.h"
-# include <cmsys/Terminal.h>
-# include <cmsys/CommandLineArguments.hxx>
#endif
-#include <cmsys/Directory.hxx>
-#include <cmsys/Process.h>
#include <cmsys/Glob.hxx>
#include <cmsys/RegularExpression.hxx>
+#include <cmsys/FStream.hxx>
// only build kdevelop generator on non-windows platforms
// when not bootstrapping cmake
@@ -74,22 +65,17 @@
# endif
# include "cmGlobalMSYSMakefileGenerator.h"
# include "cmGlobalMinGWMakefileGenerator.h"
-# include "cmWin32ProcessExecution.h"
#else
#endif
#include "cmGlobalUnixMakefileGenerator3.h"
#include "cmGlobalNinjaGenerator.h"
-
-
-#if defined(CMAKE_HAVE_VS_GENERATORS)
-#include "cmCallVisualStudioMacro.h"
-#include "cmVisualStudioWCEPlatformParser.h"
-#endif
+#include "cmExtraCodeLiteGenerator.h"
#if !defined(CMAKE_BOOT_MINGW)
# include "cmExtraCodeBlocksGenerator.h"
#endif
#include "cmExtraSublimeTextGenerator.h"
+#include "cmExtraKateGenerator.h"
#ifdef CMAKE_USE_KDEVELOP
# include "cmGlobalKdevelopGenerator.h"
@@ -116,30 +102,6 @@
static bool cmakeCheckStampFile(const char* stampName);
static bool cmakeCheckStampList(const char* stampName);
-void cmNeedBackwardsCompatibility(const std::string& variable,
- int access_type, void*, const char*, const cmMakefile*)
-{
-#ifdef CMAKE_BUILD_WITH_CMAKE
- if (access_type == cmVariableWatch::UNKNOWN_VARIABLE_READ_ACCESS)
- {
- std::string message = "An attempt was made to access a variable: ";
- message += variable;
- message +=
- " that has not been defined. Some variables were always defined "
- "by CMake in versions prior to 1.6. To fix this you might need to set "
- "the cache value of CMAKE_BACKWARDS_COMPATIBILITY to 1.4 or less. If "
- "you are writing a CMakeLists file, (or have already set "
- "CMAKE_BACKWARDS_COMPATIBILITY to 1.4 or less) then you probably need "
- "to include a CMake module to test for the feature this variable "
- "defines.";
- cmSystemTools::Error(message.c_str());
- }
-#else
- (void)variable;
- (void)access_type;
-#endif
-}
-
void cmWarnUnusedCliWarning(const std::string& variable,
int, void* ctx, const char*, const cmMakefile*)
{
@@ -186,12 +148,6 @@ cmake::cmake()
#ifdef CMAKE_BUILD_WITH_CMAKE
this->VariableWatch = new cmVariableWatch;
- this->VariableWatch->AddWatch("CMAKE_WORDS_BIGENDIAN",
- cmNeedBackwardsCompatibility);
- this->VariableWatch->AddWatch("CMAKE_SIZEOF_INT",
- cmNeedBackwardsCompatibility);
- this->VariableWatch->AddWatch("CMAKE_X_LIBS",
- cmNeedBackwardsCompatibility);
#endif
this->AddDefaultGenerators();
@@ -235,12 +191,8 @@ void cmake::InitializeProperties()
this->PropertyDefinitions.clear();
// initialize properties
- cmCacheManager::DefineProperties(this);
- cmSourceFile::DefineProperties(this);
cmTarget::DefineProperties(this);
cmMakefile::DefineProperties(this);
- cmTest::DefineProperties(this);
- cmake::DefineProperties(this);
}
void cmake::CleanupCommandsAndMacros()
@@ -642,9 +594,10 @@ bool cmake::FindPackage(const std::vector<std::string>& args)
std::string linkPath;
std::string flags;
std::string linkFlags;
- cmGeneratorTarget gtgt(tgt);
+ gg->CreateGeneratorTargets(mf);
+ cmGeneratorTarget *gtgt = gg->GetGeneratorTarget(tgt);
lg->GetTargetFlags(linkLibs, frameworkPath, linkPath, flags, linkFlags,
- &gtgt);
+ gtgt);
linkLibs = frameworkPath + linkPath + linkLibs;
printf("%s\n", linkLibs.c_str() );
@@ -700,7 +653,7 @@ void cmake::SetArgs(const std::vector<std::string>& args,
cmSystemTools::ConvertToUnixSlashes(path);
this->SetHomeOutputDirectory(path.c_str());
}
- else if((i < args.size()-1) && (arg.find("--check-build-system",0) == 0))
+ else if((i < args.size()-2) && (arg.find("--check-build-system",0) == 0))
{
this->CheckBuildSystemArgument = args[++i];
this->ClearBuildSystem = (atoi(args[++i].c_str()) > 0);
@@ -983,883 +936,32 @@ void cmake::SetDirectoriesFromFile(const char* arg)
// cache
int cmake::AddCMakePaths()
{
- // Find the cmake executable
- std::string cMakeSelf = cmSystemTools::GetExecutableDirectory();
- cMakeSelf = cmSystemTools::GetRealPath(cMakeSelf.c_str());
- cMakeSelf += "/cmake";
- cMakeSelf += cmSystemTools::GetExecutableExtension();
-#ifdef __APPLE__
- // on the apple this might be the gui bundle
- if(!cmSystemTools::FileExists(cMakeSelf.c_str()))
- {
- cMakeSelf = cmSystemTools::GetExecutableDirectory();
- cMakeSelf = cmSystemTools::GetRealPath(cMakeSelf.c_str());
- cMakeSelf += "../../../..";
- cMakeSelf = cmSystemTools::GetRealPath(cMakeSelf.c_str());
- cMakeSelf = cmSystemTools::CollapseFullPath(cMakeSelf.c_str());
- cMakeSelf += "/cmake";
- std::cerr << cMakeSelf.c_str() << "\n";
- }
-#endif
- if(!cmSystemTools::FileExists(cMakeSelf.c_str()))
- {
- cmSystemTools::Error("CMake executable cannot be found at ",
- cMakeSelf.c_str());
- return 0;
- }
// Save the value in the cache
this->CacheManager->AddCacheEntry
- ("CMAKE_COMMAND",cMakeSelf.c_str(), "Path to CMake executable.",
- cmCacheManager::INTERNAL);
- // if the edit command is not yet in the cache,
- // or if CMakeEditCommand has been set on this object,
- // then set the CMAKE_EDIT_COMMAND in the cache
- // This will mean that the last gui to edit the cache
- // will be the one that make edit_cache uses.
- if(!this->GetCacheDefinition("CMAKE_EDIT_COMMAND")
- || !this->CMakeEditCommand.empty())
- {
- // Find and save the command to edit the cache
- std::string editCacheCommand;
- if(!this->CMakeEditCommand.empty())
- {
- editCacheCommand = cmSystemTools::GetFilenamePath(cMakeSelf)
- + std::string("/")
- + this->CMakeEditCommand
- + cmSystemTools::GetFilenameExtension(cMakeSelf);
- }
- if( !cmSystemTools::FileExists(editCacheCommand.c_str()))
- {
- editCacheCommand = cmSystemTools::GetFilenamePath(cMakeSelf) +
- "/ccmake" + cmSystemTools::GetFilenameExtension(cMakeSelf);
- }
- if( !cmSystemTools::FileExists(editCacheCommand.c_str()))
- {
- editCacheCommand = cmSystemTools::GetFilenamePath(cMakeSelf) +
- "/cmake-gui" + cmSystemTools::GetFilenameExtension(cMakeSelf);
- }
- if(cmSystemTools::FileExists(editCacheCommand.c_str()))
- {
- this->CacheManager->AddCacheEntry
- ("CMAKE_EDIT_COMMAND", editCacheCommand.c_str(),
- "Path to cache edit program executable.", cmCacheManager::INTERNAL);
- }
- }
- std::string ctestCommand = cmSystemTools::GetFilenamePath(cMakeSelf) +
- "/ctest" + cmSystemTools::GetFilenameExtension(cMakeSelf);
- if(cmSystemTools::FileExists(ctestCommand.c_str()))
- {
- this->CacheManager->AddCacheEntry
- ("CMAKE_CTEST_COMMAND", ctestCommand.c_str(),
- "Path to ctest program executable.", cmCacheManager::INTERNAL);
- }
- std::string cpackCommand = cmSystemTools::GetFilenamePath(cMakeSelf) +
- "/cpack" + cmSystemTools::GetFilenameExtension(cMakeSelf);
- if(cmSystemTools::FileExists(cpackCommand.c_str()))
- {
- this->CacheManager->AddCacheEntry
- ("CMAKE_CPACK_COMMAND", cpackCommand.c_str(),
- "Path to cpack program executable.", cmCacheManager::INTERNAL);
- }
-
- // do CMAKE_ROOT, look for the environment variable first
- std::string cMakeRoot;
- std::string modules;
- if (getenv("CMAKE_ROOT"))
- {
- cMakeRoot = getenv("CMAKE_ROOT");
- modules = cMakeRoot + "/Modules/CMake.cmake";
- }
- if(!cmSystemTools::FileExists(modules.c_str()))
- {
- // next try exe/..
- cMakeRoot = cmSystemTools::GetRealPath(cMakeSelf.c_str());
- cMakeRoot = cmSystemTools::GetProgramPath(cMakeRoot.c_str());
- std::string::size_type slashPos = cMakeRoot.rfind("/");
- if(slashPos != std::string::npos)
- {
- cMakeRoot = cMakeRoot.substr(0, slashPos);
- }
- // is there no Modules directory there?
- modules = cMakeRoot + "/Modules/CMake.cmake";
- }
-
- if (!cmSystemTools::FileExists(modules.c_str()))
- {
- // try exe/../share/cmake
- cMakeRoot += CMAKE_DATA_DIR;
- modules = cMakeRoot + "/Modules/CMake.cmake";
- }
-#ifdef CMAKE_ROOT_DIR
- if (!cmSystemTools::FileExists(modules.c_str()))
- {
- // try compiled in root directory
- cMakeRoot = CMAKE_ROOT_DIR;
- modules = cMakeRoot + "/Modules/CMake.cmake";
- }
+ ("CMAKE_COMMAND", cmSystemTools::GetCMakeCommand().c_str(),
+ "Path to CMake executable.", cmCacheManager::INTERNAL);
+#ifdef CMAKE_BUILD_WITH_CMAKE
+ this->CacheManager->AddCacheEntry
+ ("CMAKE_CTEST_COMMAND", cmSystemTools::GetCTestCommand().c_str(),
+ "Path to ctest program executable.", cmCacheManager::INTERNAL);
+ this->CacheManager->AddCacheEntry
+ ("CMAKE_CPACK_COMMAND", cmSystemTools::GetCPackCommand().c_str(),
+ "Path to cpack program executable.", cmCacheManager::INTERNAL);
#endif
- if (!cmSystemTools::FileExists(modules.c_str()))
- {
- // try
- cMakeRoot = cmSystemTools::GetProgramPath(cMakeSelf.c_str());
- cMakeRoot += CMAKE_DATA_DIR;
- modules = cMakeRoot + "/Modules/CMake.cmake";
- }
- if(!cmSystemTools::FileExists(modules.c_str()))
- {
- // next try exe
- cMakeRoot = cmSystemTools::GetProgramPath(cMakeSelf.c_str());
- // is there no Modules directory there?
- modules = cMakeRoot + "/Modules/CMake.cmake";
- }
- if (!cmSystemTools::FileExists(modules.c_str()))
+ if(!cmSystemTools::FileExists(
+ (cmSystemTools::GetCMakeRoot()+"/Modules/CMake.cmake").c_str()))
{
// couldn't find modules
cmSystemTools::Error("Could not find CMAKE_ROOT !!!\n"
"CMake has most likely not been installed correctly.\n"
"Modules directory not found in\n",
- cMakeRoot.c_str());
+ cmSystemTools::GetCMakeRoot().c_str());
return 0;
}
this->CacheManager->AddCacheEntry
- ("CMAKE_ROOT", cMakeRoot.c_str(),
+ ("CMAKE_ROOT", cmSystemTools::GetCMakeRoot().c_str(),
"Path to CMake installation.", cmCacheManager::INTERNAL);
-#ifdef _WIN32
- std::string comspec = "cmw9xcom.exe";
- cmSystemTools::SetWindows9xComspecSubstitute(comspec.c_str());
-#endif
- return 1;
-}
-
-
-
-void CMakeCommandUsage(const char* program)
-{
- cmOStringStream errorStream;
-
-#ifdef CMAKE_BUILD_WITH_CMAKE
- errorStream
- << "cmake version " << cmVersion::GetCMakeVersion() << "\n";
-#else
- errorStream
- << "cmake bootstrap\n";
-#endif
- // If you add new commands, change here,
- // and in cmakemain.cxx in the options table
- errorStream
- << "Usage: " << program << " -E [command] [arguments ...]\n"
- << "Available commands: \n"
- << " chdir dir cmd [args]... - run command in a given directory\n"
- << " compare_files file1 file2 - check if file1 is same as file2\n"
- << " copy file destination - copy file to destination (either file "
- "or directory)\n"
- << " copy_directory source destination - copy directory 'source' "
- "content to directory 'destination'\n"
- << " copy_if_different in-file out-file - copy file if input has "
- "changed\n"
- << " echo [string]... - displays arguments as text\n"
- << " echo_append [string]... - displays arguments as text but no new "
- "line\n"
- << " environment - display the current environment\n"
- << " make_directory dir - create a directory\n"
- << " md5sum file1 [...] - compute md5sum of files\n"
- << " remove [-f] file1 file2 ... - remove the file(s), use -f to force "
- "it\n"
- << " remove_directory dir - remove a directory and its contents\n"
- << " rename oldname newname - rename a file or directory "
- "(on one volume)\n"
- << " tar [cxt][vfz][cvfj] file.tar [file/dir1 file/dir2 ...]\n"
- << " - create or extract a tar or zip archive\n"
- << " time command [args] ... - run command and return elapsed time\n"
- << " touch file - touch a file.\n"
- << " touch_nocreate file - touch a file but do not create it.\n"
-#if defined(_WIN32) && !defined(__CYGWIN__)
- << "Available on Windows only:\n"
- << " comspec - on windows 9x use this for RunCommand\n"
- << " delete_regv key - delete registry value\n"
- << " env_vs8_wince sdkname - displays a batch file which sets the "
- "environment for the provided Windows CE SDK installed in VS2005\n"
- << " env_vs9_wince sdkname - displays a batch file which sets the "
- "environment for the provided Windows CE SDK installed in VS2008\n"
- << " write_regv key value - write registry value\n"
-#else
- << "Available on UNIX only:\n"
- << " create_symlink old new - create a symbolic link new -> old\n"
-#endif
- ;
-
- cmSystemTools::Error(errorStream.str().c_str());
-}
-
-int cmake::ExecuteCMakeCommand(std::vector<std::string>& args)
-{
- // IF YOU ADD A NEW COMMAND, DOCUMENT IT ABOVE and in cmakemain.cxx
- if (args.size() > 1)
- {
- // Copy file
- if (args[1] == "copy" && args.size() == 4)
- {
- if(!cmSystemTools::cmCopyFile(args[2].c_str(), args[3].c_str()))
- {
- std::cerr << "Error copying file \"" << args[2].c_str()
- << "\" to \"" << args[3].c_str() << "\".\n";
- return 1;
- }
- return 0;
- }
-
- // Copy file if different.
- if (args[1] == "copy_if_different" && args.size() == 4)
- {
- if(!cmSystemTools::CopyFileIfDifferent(args[2].c_str(),
- args[3].c_str()))
- {
- std::cerr << "Error copying file (if different) from \""
- << args[2].c_str() << "\" to \"" << args[3].c_str()
- << "\".\n";
- return 1;
- }
- return 0;
- }
-
- // Copy directory content
- if (args[1] == "copy_directory" && args.size() == 4)
- {
- if(!cmSystemTools::CopyADirectory(args[2].c_str(), args[3].c_str()))
- {
- std::cerr << "Error copying directory from \""
- << args[2].c_str() << "\" to \"" << args[3].c_str()
- << "\".\n";
- return 1;
- }
- return 0;
- }
-
- // Rename a file or directory
- if (args[1] == "rename" && args.size() == 4)
- {
- if(!cmSystemTools::RenameFile(args[2].c_str(), args[3].c_str()))
- {
- std::string e = cmSystemTools::GetLastSystemError();
- std::cerr << "Error renaming from \""
- << args[2].c_str() << "\" to \"" << args[3].c_str()
- << "\": " << e << "\n";
- return 1;
- }
- return 0;
- }
-
- // Compare files
- if (args[1] == "compare_files" && args.size() == 4)
- {
- if(cmSystemTools::FilesDiffer(args[2].c_str(), args[3].c_str()))
- {
- std::cerr << "Files \""
- << args[2].c_str() << "\" to \"" << args[3].c_str()
- << "\" are different.\n";
- return 1;
- }
- return 0;
- }
-
- // Echo string
- else if (args[1] == "echo" )
- {
- unsigned int cc;
- const char* space = "";
- for ( cc = 2; cc < args.size(); cc ++ )
- {
- std::cout << space << args[cc];
- space = " ";
- }
- std::cout << std::endl;
- return 0;
- }
-
- // Echo string no new line
- else if (args[1] == "echo_append" )
- {
- unsigned int cc;
- const char* space = "";
- for ( cc = 2; cc < args.size(); cc ++ )
- {
- std::cout << space << args[cc];
- space = " ";
- }
- return 0;
- }
-
-#if defined(CMAKE_BUILD_WITH_CMAKE)
- // Command to create a symbolic link. Fails on platforms not
- // supporting them.
- else if (args[1] == "environment" )
- {
- std::vector<std::string> env = cmSystemTools::GetEnvironmentVariables();
- std::vector<std::string>::iterator it;
- for ( it = env.begin(); it != env.end(); ++ it )
- {
- std::cout << it->c_str() << std::endl;
- }
- return 0;
- }
-#endif
-
- else if (args[1] == "make_directory" && args.size() == 3)
- {
- if(!cmSystemTools::MakeDirectory(args[2].c_str()))
- {
- std::cerr << "Error making directory \"" << args[2].c_str()
- << "\".\n";
- return 1;
- }
- return 0;
- }
-
- else if (args[1] == "remove_directory" && args.size() == 3)
- {
- if(cmSystemTools::FileIsDirectory(args[2].c_str()) &&
- !cmSystemTools::RemoveADirectory(args[2].c_str()))
- {
- std::cerr << "Error removing directory \"" << args[2].c_str()
- << "\".\n";
- return 1;
- }
- return 0;
- }
-
- // Remove file
- else if (args[1] == "remove" && args.size() > 2)
- {
- bool force = false;
- for (std::string::size_type cc = 2; cc < args.size(); cc ++)
- {
- if(args[cc] == "\\-f" || args[cc] == "-f")
- {
- force = true;
- }
- else
- {
- // Complain if the file could not be removed, still exists,
- // and the -f option was not given.
- if(!cmSystemTools::RemoveFile(args[cc].c_str()) && !force &&
- cmSystemTools::FileExists(args[cc].c_str()))
- {
- return 1;
- }
- }
- }
- return 0;
- }
- // Touch file
- else if (args[1] == "touch" && args.size() > 2)
- {
- for (std::string::size_type cc = 2; cc < args.size(); cc ++)
- {
- // Complain if the file could not be removed, still exists,
- // and the -f option was not given.
- if(!cmSystemTools::Touch(args[cc].c_str(), true))
- {
- return 1;
- }
- }
- return 0;
- }
- // Touch file
- else if (args[1] == "touch_nocreate" && args.size() > 2)
- {
- for (std::string::size_type cc = 2; cc < args.size(); cc ++)
- {
- // Complain if the file could not be removed, still exists,
- // and the -f option was not given.
- if(!cmSystemTools::Touch(args[cc].c_str(), false))
- {
- return 1;
- }
- }
- return 0;
- }
-
- // Clock command
- else if (args[1] == "time" && args.size() > 2)
- {
- std::string command = args[2];
- for (std::string::size_type cc = 3; cc < args.size(); cc ++)
- {
- command += " ";
- command += args[cc];
- }
-
- clock_t clock_start, clock_finish;
- time_t time_start, time_finish;
-
- time(&time_start);
- clock_start = clock();
- int ret =0;
- cmSystemTools::RunSingleCommand(command.c_str(), 0, &ret);
-
- clock_finish = clock();
- time(&time_finish);
-
- double clocks_per_sec = static_cast<double>(CLOCKS_PER_SEC);
- std::cout << "Elapsed time: "
- << static_cast<long>(time_finish - time_start) << " s. (time)"
- << ", "
- << static_cast<double>(clock_finish - clock_start) / clocks_per_sec
- << " s. (clock)"
- << "\n";
- return ret;
- }
- // Command to calculate the md5sum of a file
- else if (args[1] == "md5sum" && args.size() >= 3)
- {
- char md5out[32];
- int retval = 0;
- for (std::string::size_type cc = 2; cc < args.size(); cc ++)
- {
- const char *filename = args[cc].c_str();
- // Cannot compute md5sum of a directory
- if(cmSystemTools::FileIsDirectory(filename))
- {
- std::cerr << "Error: " << filename << " is a directory" << std::endl;
- retval++;
- }
- else if(!cmSystemTools::ComputeFileMD5(filename, md5out))
- {
- // To mimic md5sum behavior in a shell:
- std::cerr << filename << ": No such file or directory" << std::endl;
- retval++;
- }
- else
- {
- std::cout << std::string(md5out,32) << " " << filename << std::endl;
- }
- }
- return retval;
- }
-
- // Command to change directory and run a program.
- else if (args[1] == "chdir" && args.size() >= 4)
- {
- std::string directory = args[2];
- if(!cmSystemTools::FileExists(directory.c_str()))
- {
- cmSystemTools::Error("Directory does not exist for chdir command: ",
- args[2].c_str());
- return 1;
- }
-
- std::string command = "\"";
- command += args[3];
- command += "\"";
- for (std::string::size_type cc = 4; cc < args.size(); cc ++)
- {
- command += " \"";
- command += args[cc];
- command += "\"";
- }
- int retval = 0;
- int timeout = 0;
- if ( cmSystemTools::RunSingleCommand(command.c_str(), 0, &retval,
- directory.c_str(), cmSystemTools::OUTPUT_NORMAL, timeout) )
- {
- return retval;
- }
-
- return 1;
- }
-
- // Command to start progress for a build
- else if (args[1] == "cmake_progress_start" && args.size() == 4)
- {
- // basically remove the directory
- std::string dirName = args[2];
- dirName += "/Progress";
- cmSystemTools::RemoveADirectory(dirName.c_str());
-
- // is the last argument a filename that exists?
- FILE *countFile = fopen(args[3].c_str(),"r");
- int count;
- if (countFile)
- {
- if (1!=fscanf(countFile,"%i",&count))
- {
- cmSystemTools::Message("Could not read from count file.");
- }
- fclose(countFile);
- }
- else
- {
- count = atoi(args[3].c_str());
- }
- if (count)
- {
- cmSystemTools::MakeDirectory(dirName.c_str());
- // write the count into the directory
- std::string fName = dirName;
- fName += "/count.txt";
- FILE *progFile = fopen(fName.c_str(),"w");
- if (progFile)
- {
- fprintf(progFile,"%i\n",count);
- fclose(progFile);
- }
- }
- return 0;
- }
-
- // Command to report progress for a build
- else if (args[1] == "cmake_progress_report" && args.size() >= 3)
- {
- std::string dirName = args[2];
- dirName += "/Progress";
- std::string fName;
- FILE *progFile;
-
- // read the count
- fName = dirName;
- fName += "/count.txt";
- progFile = fopen(fName.c_str(),"r");
- int count = 0;
- if (!progFile)
- {
- return 0;
- }
- else
- {
- if (1!=fscanf(progFile,"%i",&count))
- {
- cmSystemTools::Message("Could not read from progress file.");
- }
- fclose(progFile);
- }
- unsigned int i;
- for (i = 3; i < args.size(); ++i)
- {
- fName = dirName;
- fName += "/";
- fName += args[i];
- progFile = fopen(fName.c_str(),"w");
- if (progFile)
- {
- fprintf(progFile,"empty");
- fclose(progFile);
- }
- }
- int fileNum = static_cast<int>
- (cmsys::Directory::GetNumberOfFilesInDirectory(dirName.c_str()));
- if (count > 0)
- {
- // print the progress
- fprintf(stdout,"[%3i%%] ",((fileNum-3)*100)/count);
- }
- return 0;
- }
-
- // Command to create a symbolic link. Fails on platforms not
- // supporting them.
- else if (args[1] == "create_symlink" && args.size() == 4)
- {
- const char* destinationFileName = args[3].c_str();
- if ( cmSystemTools::FileExists(destinationFileName) )
- {
- if ( cmSystemTools::FileIsSymlink(destinationFileName) )
- {
- if ( !cmSystemTools::RemoveFile(destinationFileName) ||
- cmSystemTools::FileExists(destinationFileName) )
- {
- return 0;
- }
- }
- else
- {
- return 0;
- }
- }
- return cmSystemTools::CreateSymlink(args[2].c_str(),
- args[3].c_str())? 0:1;
- }
-
- // Internal CMake shared library support.
- else if (args[1] == "cmake_symlink_library" && args.size() == 5)
- {
- return cmake::SymlinkLibrary(args);
- }
- // Internal CMake versioned executable support.
- else if (args[1] == "cmake_symlink_executable" && args.size() == 4)
- {
- return cmake::SymlinkExecutable(args);
- }
-
-#if defined(CMAKE_HAVE_VS_GENERATORS)
- // Internal CMake support for calling Visual Studio macros.
- else if (args[1] == "cmake_call_visual_studio_macro" && args.size() >= 4)
- {
- // args[2] = full path to .sln file or "ALL"
- // args[3] = name of Visual Studio macro to call
- // args[4..args.size()-1] = [optional] args for Visual Studio macro
-
- std::string macroArgs;
-
- if (args.size() > 4)
- {
- macroArgs = args[4];
-
- for (size_t i = 5; i < args.size(); ++i)
- {
- macroArgs += " ";
- macroArgs += args[i];
- }
- }
-
- return cmCallVisualStudioMacro::CallMacro(args[2], args[3],
- macroArgs, true);
- }
-#endif
-
- // Internal CMake dependency scanning support.
- else if (args[1] == "cmake_depends" && args.size() >= 6)
- {
- // Use the make system's VERBOSE environment variable to enable
- // verbose output. This can be skipped by also setting CMAKE_NO_VERBOSE
- // (which is set by the Eclipse and KDevelop generators).
- bool verbose = ((cmSystemTools::GetEnv("VERBOSE") != 0)
- && (cmSystemTools::GetEnv("CMAKE_NO_VERBOSE") == 0));
-
- // Create a cmake object instance to process dependencies.
- cmake cm;
- std::string gen;
- std::string homeDir;
- std::string startDir;
- std::string homeOutDir;
- std::string startOutDir;
- std::string depInfo;
- bool color = false;
- if(args.size() >= 8)
- {
- // Full signature:
- //
- // -E cmake_depends <generator>
- // <home-src-dir> <start-src-dir>
- // <home-out-dir> <start-out-dir>
- // <dep-info> [--color=$(COLOR)]
- //
- // All paths are provided.
- gen = args[2];
- homeDir = args[3];
- startDir = args[4];
- homeOutDir = args[5];
- startOutDir = args[6];
- depInfo = args[7];
- if(args.size() >= 9 &&
- args[8].length() >= 8 &&
- args[8].substr(0, 8) == "--color=")
- {
- // Enable or disable color based on the switch value.
- color = (args[8].size() == 8 ||
- cmSystemTools::IsOn(args[8].substr(8).c_str()));
- }
- }
- else
- {
- // Support older signature for existing makefiles:
- //
- // -E cmake_depends <generator>
- // <home-out-dir> <start-out-dir>
- // <dep-info>
- //
- // Just pretend the source directories are the same as the
- // binary directories so at least scanning will work.
- gen = args[2];
- homeDir = args[3];
- startDir = args[4];
- homeOutDir = args[3];
- startOutDir = args[3];
- depInfo = args[5];
- }
-
- // Create a local generator configured for the directory in
- // which dependencies will be scanned.
- homeDir = cmSystemTools::CollapseFullPath(homeDir.c_str());
- startDir = cmSystemTools::CollapseFullPath(startDir.c_str());
- homeOutDir = cmSystemTools::CollapseFullPath(homeOutDir.c_str());
- startOutDir = cmSystemTools::CollapseFullPath(startOutDir.c_str());
- cm.SetHomeDirectory(homeDir.c_str());
- cm.SetStartDirectory(startDir.c_str());
- cm.SetHomeOutputDirectory(homeOutDir.c_str());
- cm.SetStartOutputDirectory(startOutDir.c_str());
- if(cmGlobalGenerator* ggd = cm.CreateGlobalGenerator(gen.c_str()))
- {
- cm.SetGlobalGenerator(ggd);
- cmsys::auto_ptr<cmLocalGenerator> lgd(ggd->CreateLocalGenerator());
- lgd->GetMakefile()->SetStartDirectory(startDir.c_str());
- lgd->GetMakefile()->SetStartOutputDirectory(startOutDir.c_str());
- lgd->GetMakefile()->MakeStartDirectoriesCurrent();
-
- // Actually scan dependencies.
- return lgd->UpdateDependencies(depInfo.c_str(),
- verbose, color)? 0 : 2;
- }
- return 1;
- }
-
- // Internal CMake link script support.
- else if (args[1] == "cmake_link_script" && args.size() >= 3)
- {
- return cmake::ExecuteLinkScript(args);
- }
-
- // Internal CMake unimplemented feature notification.
- else if (args[1] == "cmake_unimplemented_variable")
- {
- std::cerr << "Feature not implemented for this platform.";
- if(args.size() == 3)
- {
- std::cerr << " Variable " << args[2] << " is not set.";
- }
- std::cerr << std::endl;
- return 1;
- }
- else if (args[1] == "vs_link_exe")
- {
- return cmake::VisualStudioLink(args, 1);
- }
- else if (args[1] == "vs_link_dll")
- {
- return cmake::VisualStudioLink(args, 2);
- }
-#ifdef CMAKE_BUILD_WITH_CMAKE
- // Internal CMake color makefile support.
- else if (args[1] == "cmake_echo_color")
- {
- return cmake::ExecuteEchoColor(args);
- }
- else if (args[1] == "cmake_automoc" && args.size() >= 4)
- {
- cmQtAutomoc automoc;
- const char *config = args[3].empty() ? 0 : args[3].c_str();
- bool automocSuccess = automoc.Run(args[2].c_str(), config);
- return automocSuccess ? 0 : 1;
- }
-#endif
-
- // Tar files
- else if (args[1] == "tar" && args.size() > 3)
- {
- std::string flags = args[2];
- std::string outFile = args[3];
- std::vector<cmStdString> files;
- for (std::string::size_type cc = 4; cc < args.size(); cc ++)
- {
- files.push_back(args[cc]);
- }
- bool gzip = false;
- bool bzip2 = false;
- bool verbose = false;
- if ( flags.find_first_of('j') != flags.npos )
- {
- bzip2 = true;
- }
- if ( flags.find_first_of('z') != flags.npos )
- {
- gzip = true;
- }
- if ( flags.find_first_of('v') != flags.npos )
- {
- verbose = true;
- }
-
- if ( flags.find_first_of('t') != flags.npos )
- {
- if ( !cmSystemTools::ListTar(outFile.c_str(), gzip, verbose) )
- {
- cmSystemTools::Error("Problem creating tar: ", outFile.c_str());
- return 1;
- }
- }
- else if ( flags.find_first_of('c') != flags.npos )
- {
- if ( !cmSystemTools::CreateTar(
- outFile.c_str(), files, gzip, bzip2, verbose) )
- {
- cmSystemTools::Error("Problem creating tar: ", outFile.c_str());
- return 1;
- }
- }
- else if ( flags.find_first_of('x') != flags.npos )
- {
- if ( !cmSystemTools::ExtractTar(
- outFile.c_str(), gzip, verbose) )
- {
- cmSystemTools::Error("Problem extracting tar: ", outFile.c_str());
- return 1;
- }
-#ifdef WIN32
- // OK, on windows 7 after we untar some files,
- // sometimes we can not rename the directory after
- // the untar is done. This breaks the external project
- // untar and rename code. So, by default we will wait
- // 1/10th of a second after the untar. If CMAKE_UNTAR_DELAY
- // is set in the env, its value will be used instead of 100.
- int delay = 100;
- const char* delayVar = cmSystemTools::GetEnv("CMAKE_UNTAR_DELAY");
- if(delayVar)
- {
- delay = atoi(delayVar);
- }
- if(delay)
- {
- cmSystemTools::Delay(delay);
- }
-#endif
- }
- return 0;
- }
-
-#if defined(CMAKE_BUILD_WITH_CMAKE)
- // Internal CMake Fortran module support.
- else if (args[1] == "cmake_copy_f90_mod" && args.size() >= 4)
- {
- return cmDependsFortran::CopyModule(args)? 0 : 1;
- }
-#endif
-
-#if defined(_WIN32) && !defined(__CYGWIN__)
- // Write registry value
- else if (args[1] == "write_regv" && args.size() > 3)
- {
- return cmSystemTools::WriteRegistryValue(args[2].c_str(),
- args[3].c_str()) ? 0 : 1;
- }
-
- // Delete registry value
- else if (args[1] == "delete_regv" && args.size() > 2)
- {
- return cmSystemTools::DeleteRegistryValue(args[2].c_str()) ? 0 : 1;
- }
- // Remove file
- else if (args[1] == "comspec" && args.size() > 2)
- {
- unsigned int cc;
- std::string command = args[2];
- for ( cc = 3; cc < args.size(); cc ++ )
- {
- command += " " + args[cc];
- }
- return cmWin32ProcessExecution::Windows9xHack(command.c_str());
- }
- else if (args[1] == "env_vs8_wince" && args.size() == 3)
- {
- return cmake::WindowsCEEnvironment("8.0", args[2]);
- }
- else if (args[1] == "env_vs9_wince" && args.size() == 3)
- {
- return cmake::WindowsCEEnvironment("9.0", args[2]);
- }
-#endif
- }
-
- ::CMakeCommandUsage(args[0].c_str());
return 1;
}
@@ -1891,8 +993,12 @@ void cmake::AddDefaultExtraGenerators()
this->AddExtraGenerator(cmExtraCodeBlocksGenerator::GetActualName(),
&cmExtraCodeBlocksGenerator::New);
+ this->AddExtraGenerator(cmExtraCodeLiteGenerator::GetActualName(),
+ &cmExtraCodeLiteGenerator::New);
this->AddExtraGenerator(cmExtraSublimeTextGenerator::GetActualName(),
&cmExtraSublimeTextGenerator::New);
+ this->AddExtraGenerator(cmExtraKateGenerator::GetActualName(),
+ &cmExtraKateGenerator::New);
#ifdef CMAKE_USE_ECLIPSE
this->AddExtraGenerator(cmExtraEclipseCDT4Generator::GetActualName(),
@@ -2254,9 +1360,9 @@ int cmake::ActualConfigure()
{"7.1", "Visual Studio 7 .NET 2003"},
{"8.0", "Visual Studio 8 2005"},
{"9.0", "Visual Studio 9 2008"},
- {"10.0", "Visual Studio 10"},
- {"11.0", "Visual Studio 11"},
- {"12.0", "Visual Studio 12"},
+ {"10.0", "Visual Studio 10 2010"},
+ {"11.0", "Visual Studio 11 2012"},
+ {"12.0", "Visual Studio 12 2013"},
{0, 0}};
for(int i=0; version[i].MSVersion != 0; i++)
{
@@ -2295,7 +1401,7 @@ int cmake::ActualConfigure()
const char* genName = this->CacheManager->GetCacheValue("CMAKE_GENERATOR");
if(genName)
{
- if(strcmp(this->GlobalGenerator->GetName(), genName) != 0)
+ if(!this->GlobalGenerator->MatchesGeneratorName(genName))
{
std::string message = "Error: generator : ";
message += this->GlobalGenerator->GetName();
@@ -2437,11 +1543,6 @@ int cmake::ActualConfigure()
{
this->CacheManager->SaveCache(this->GetHomeOutputDirectory());
}
- if ( !this->GraphVizFile.empty() )
- {
- std::cout << "Generate graphviz: " << this->GraphVizFile << std::endl;
- this->GenerateGraphViz(this->GraphVizFile.c_str());
- }
if(cmSystemTools::GetErrorOccuredFlag())
{
return -1;
@@ -2496,9 +1597,6 @@ int cmake::Run(const std::vector<std::string>& args, bool noconfigure)
return 0;
}
- // set the cmake command
- this->CMakeCommand = args[0];
-
if ( this->GetWorkingMode() == NORMAL_MODE )
{
// load the cache
@@ -2604,6 +1702,11 @@ int cmake::Generate()
return -1;
}
this->GlobalGenerator->Generate();
+ if ( !this->GraphVizFile.empty() )
+ {
+ std::cout << "Generate graphviz: " << this->GraphVizFile << std::endl;
+ this->GenerateGraphViz(this->GraphVizFile.c_str());
+ }
if(this->WarnUnusedCli)
{
this->RunCheckForUnusedVariables();
@@ -2612,11 +1715,6 @@ int cmake::Generate()
{
return -1;
}
- if (this->GetProperty("REPORT_UNDEFINED_PROPERTIES"))
- {
- this->ReportUndefinedPropertyAccesses
- (this->GetProperty("REPORT_UNDEFINED_PROPERTIES"));
- }
// Save the cache again after a successful Generate so that any internal
// variables created during Generate are saved. (Specifically target GUIDs
// for the Visual Studio and Xcode generators.)
@@ -2716,14 +1814,6 @@ int cmake::LoadCache()
}
}
- if (this->CMakeCommand.size() < 2)
- {
- cmSystemTools::Error(
- "cmake command was not specified prior to loading the cache in "
- "cmake.cxx");
- return -1;
- }
-
// setup CMAKE_ROOT and CMAKE_COMMAND
if(!this->AddCMakePaths())
{
@@ -2747,45 +1837,6 @@ void cmake::UpdateProgress(const char *msg, float prog)
}
}
-void cmake::GetCommandDocumentation(std::vector<cmDocumentationEntry>& v,
- bool withCurrentCommands,
- bool withCompatCommands) const
-{
- for(RegisteredCommandsMap::const_iterator j = this->Commands.begin();
- j != this->Commands.end(); ++j)
- {
- if ((( withCompatCommands == false) && ( (*j).second->IsDiscouraged()))
- || ((withCurrentCommands == false) && (!(*j).second->IsDiscouraged()))
- || (!((*j).second->ShouldAppearInDocumentation()))
- )
- {
- continue;
- }
-
- cmDocumentationEntry e((*j).second->GetName(),
- (*j).second->GetTerseDocumentation(),
- (*j).second->GetFullDocumentation());
- v.push_back(e);
- }
-}
-
-void cmake::GetPolicyDocumentation(std::vector<cmDocumentationEntry>& v)
-{
- this->Policies->GetDocumentation(v);
-}
-
-void cmake::GetPropertiesDocumentation(std::map<std::string,
- cmDocumentationSection *>& v)
-{
- // loop over the properties and put them into the doc structure
- std::map<cmProperty::ScopeType, cmPropertyDefinitionMap>::iterator i;
- i = this->PropertyDefinitions.begin();
- for (;i != this->PropertyDefinitions.end(); ++i)
- {
- i->second.GetPropertiesDocumentation(v);
- }
-}
-
void cmake::GetGeneratorDocumentation(std::vector<cmDocumentationEntry>& v)
{
for(RegisteredGeneratorsVector::const_iterator i =
@@ -2815,7 +1866,7 @@ void cmake::UpdateConversionPathTable()
if(tablepath)
{
- std::ifstream table( tablepath );
+ cmsys::ifstream table( tablepath );
if(!table)
{
cmSystemTools::Error("CMAKE_PATH_TRANSLATION_FILE set to ", tablepath,
@@ -3068,82 +2119,6 @@ inline std::string removeQuotes(const std::string& s)
return s;
}
-std::string cmake::FindCMakeProgram(const char* name) const
-{
- std::string path;
- if ((name) && (*name))
- {
- const cmMakefile* mf
- = this->GetGlobalGenerator()->GetLocalGenerators()[0]->GetMakefile();
-#ifdef CMAKE_BUILD_WITH_CMAKE
- path = mf->GetRequiredDefinition("CMAKE_COMMAND");
- path = removeQuotes(path);
- path = cmSystemTools::GetFilenamePath(path.c_str());
- path += "/";
- path += name;
- path += cmSystemTools::GetExecutableExtension();
- if(!cmSystemTools::FileExists(path.c_str()))
- {
- path = mf->GetRequiredDefinition("CMAKE_COMMAND");
- path = cmSystemTools::GetFilenamePath(path.c_str());
- path += "/Debug/";
- path += name;
- path += cmSystemTools::GetExecutableExtension();
- }
- if(!cmSystemTools::FileExists(path.c_str()))
- {
- path = mf->GetRequiredDefinition("CMAKE_COMMAND");
- path = cmSystemTools::GetFilenamePath(path.c_str());
- path += "/Release/";
- path += name;
- path += cmSystemTools::GetExecutableExtension();
- }
-#else
- // Only for bootstrap
- path += mf->GetSafeDefinition("EXECUTABLE_OUTPUT_PATH");
- path += "/";
- path += name;
- path += cmSystemTools::GetExecutableExtension();
-#endif
- }
- return path;
-}
-
-const char* cmake::GetCTestCommand()
-{
- if ( this->CTestCommand.empty() )
- {
- this->CTestCommand = this->FindCMakeProgram("ctest");
- }
- if ( this->CTestCommand.empty() )
- {
- cmSystemTools::Error("Cannot find the CTest executable");
- this->CTestCommand = "CTEST-COMMAND-NOT-FOUND";
- }
- return this->CTestCommand.c_str();
-}
-
-const char* cmake::GetCPackCommand()
-{
- if ( this->CPackCommand.empty() )
- {
- this->CPackCommand = this->FindCMakeProgram("cpack");
- }
- if ( this->CPackCommand.empty() )
- {
- cmSystemTools::Error("Cannot find the CPack executable");
- this->CPackCommand = "CPACK-COMMAND-NOT-FOUND";
- }
- return this->CPackCommand.c_str();
-}
-
-
-const char* cmake::GetCMakeCommand()
-{
- return this->CMakeCommand.c_str();
-}
-
-
void cmake::MarkCliAsUsed(const std::string& variable)
{
this->UsedCliVariables[variable] = true;
@@ -3169,484 +2144,16 @@ void cmake::GenerateGraphViz(const char* fileName) const
#endif
}
-
-//----------------------------------------------------------------------------
-int cmake::SymlinkLibrary(std::vector<std::string>& args)
-{
- int result = 0;
- std::string realName = args[2];
- std::string soName = args[3];
- std::string name = args[4];
- if(soName != realName)
- {
- if(!cmake::SymlinkInternal(realName, soName))
- {
- cmSystemTools::ReportLastSystemError("cmake_symlink_library");
- result = 1;
- }
- }
- if(name != soName)
- {
- if(!cmake::SymlinkInternal(soName, name))
- {
- cmSystemTools::ReportLastSystemError("cmake_symlink_library");
- result = 1;
- }
- }
- return result;
-}
-
-//----------------------------------------------------------------------------
-int cmake::SymlinkExecutable(std::vector<std::string>& args)
-{
- int result = 0;
- std::string realName = args[2];
- std::string name = args[3];
- if(name != realName)
- {
- if(!cmake::SymlinkInternal(realName, name))
- {
- cmSystemTools::ReportLastSystemError("cmake_symlink_executable");
- result = 1;
- }
- }
- return result;
-}
-
-//----------------------------------------------------------------------------
-bool cmake::SymlinkInternal(std::string const& file, std::string const& link)
-{
- if(cmSystemTools::FileExists(link.c_str()) ||
- cmSystemTools::FileIsSymlink(link.c_str()))
- {
- cmSystemTools::RemoveFile(link.c_str());
- }
-#if defined(_WIN32) && !defined(__CYGWIN__)
- return cmSystemTools::CopyFileAlways(file.c_str(), link.c_str());
-#else
- std::string linktext = cmSystemTools::GetFilenameName(file);
- return cmSystemTools::CreateSymlink(linktext.c_str(), link.c_str());
-#endif
-}
-
-//----------------------------------------------------------------------------
-#ifdef CMAKE_BUILD_WITH_CMAKE
-int cmake::ExecuteEchoColor(std::vector<std::string>& args)
-{
- // The arguments are
- // argv[0] == <cmake-executable>
- // argv[1] == cmake_echo_color
-
- bool enabled = true;
- int color = cmsysTerminal_Color_Normal;
- bool newline = true;
- for(unsigned int i=2; i < args.size(); ++i)
- {
- if(args[i].find("--switch=") == 0)
- {
- // Enable or disable color based on the switch value.
- std::string value = args[i].substr(9);
- if(!value.empty())
- {
- if(cmSystemTools::IsOn(value.c_str()))
- {
- enabled = true;
- }
- else
- {
- enabled = false;
- }
- }
- }
- else if(args[i] == "--normal")
- {
- color = cmsysTerminal_Color_Normal;
- }
- else if(args[i] == "--black")
- {
- color = cmsysTerminal_Color_ForegroundBlack;
- }
- else if(args[i] == "--red")
- {
- color = cmsysTerminal_Color_ForegroundRed;
- }
- else if(args[i] == "--green")
- {
- color = cmsysTerminal_Color_ForegroundGreen;
- }
- else if(args[i] == "--yellow")
- {
- color = cmsysTerminal_Color_ForegroundYellow;
- }
- else if(args[i] == "--blue")
- {
- color = cmsysTerminal_Color_ForegroundBlue;
- }
- else if(args[i] == "--magenta")
- {
- color = cmsysTerminal_Color_ForegroundMagenta;
- }
- else if(args[i] == "--cyan")
- {
- color = cmsysTerminal_Color_ForegroundCyan;
- }
- else if(args[i] == "--white")
- {
- color = cmsysTerminal_Color_ForegroundWhite;
- }
- else if(args[i] == "--bold")
- {
- color |= cmsysTerminal_Color_ForegroundBold;
- }
- else if(args[i] == "--no-newline")
- {
- newline = false;
- }
- else if(args[i] == "--newline")
- {
- newline = true;
- }
- else
- {
- // Color is enabled. Print with the current color.
- cmSystemTools::MakefileColorEcho(color, args[i].c_str(),
- newline, enabled);
- }
- }
-
- return 0;
-}
-#else
-int cmake::ExecuteEchoColor(std::vector<std::string>&)
-{
- return 1;
-}
-#endif
-
-//----------------------------------------------------------------------------
-int cmake::ExecuteLinkScript(std::vector<std::string>& args)
-{
- // The arguments are
- // argv[0] == <cmake-executable>
- // argv[1] == cmake_link_script
- // argv[2] == <link-script-name>
- // argv[3] == --verbose=?
- bool verbose = false;
- if(args.size() >= 4)
- {
- if(args[3].find("--verbose=") == 0)
- {
- if(!cmSystemTools::IsOff(args[3].substr(10).c_str()))
- {
- verbose = true;
- }
- }
- }
-
- // Allocate a process instance.
- cmsysProcess* cp = cmsysProcess_New();
- if(!cp)
- {
- std::cerr << "Error allocating process instance in link script."
- << std::endl;
- return 1;
- }
-
- // Children should share stdout and stderr with this process.
- cmsysProcess_SetPipeShared(cp, cmsysProcess_Pipe_STDOUT, 1);
- cmsysProcess_SetPipeShared(cp, cmsysProcess_Pipe_STDERR, 1);
-
- // Run the command lines verbatim.
- cmsysProcess_SetOption(cp, cmsysProcess_Option_Verbatim, 1);
-
- // Read command lines from the script.
- std::ifstream fin(args[2].c_str());
- if(!fin)
- {
- std::cerr << "Error opening link script \""
- << args[2] << "\"" << std::endl;
- return 1;
- }
-
- // Run one command at a time.
- std::string command;
- int result = 0;
- while(result == 0 && cmSystemTools::GetLineFromStream(fin, command))
- {
- // Skip empty command lines.
- if(command.find_first_not_of(" \t") == command.npos)
- {
- continue;
- }
-
- // Setup this command line.
- const char* cmd[2] = {command.c_str(), 0};
- cmsysProcess_SetCommand(cp, cmd);
-
- // Report the command if verbose output is enabled.
- if(verbose)
- {
- std::cout << command << std::endl;
- }
-
- // Run the command and wait for it to exit.
- cmsysProcess_Execute(cp);
- cmsysProcess_WaitForExit(cp, 0);
-
- // Report failure if any.
- switch(cmsysProcess_GetState(cp))
- {
- case cmsysProcess_State_Exited:
- {
- int value = cmsysProcess_GetExitValue(cp);
- if(value != 0)
- {
- result = value;
- }
- }
- break;
- case cmsysProcess_State_Exception:
- std::cerr << "Error running link command: "
- << cmsysProcess_GetExceptionString(cp) << std::endl;
- result = 1;
- break;
- case cmsysProcess_State_Error:
- std::cerr << "Error running link command: "
- << cmsysProcess_GetErrorString(cp) << std::endl;
- result = 2;
- break;
- default:
- break;
- };
- }
-
- // Free the process instance.
- cmsysProcess_Delete(cp);
-
- // Return the final resulting return value.
- return result;
-}
-
-void cmake::DefineProperties(cmake *cm)
-{
- cm->DefineProperty
- ("REPORT_UNDEFINED_PROPERTIES", cmProperty::GLOBAL,
- "If set, report any undefined properties to this file.",
- "If this property is set to a filename then when CMake runs "
- "it will report any properties or variables that were accessed "
- "but not defined into the filename specified in this property."
- );
-
- cm->DefineProperty
- ("TARGET_SUPPORTS_SHARED_LIBS", cmProperty::GLOBAL,
- "Does the target platform support shared libraries.",
- "TARGET_SUPPORTS_SHARED_LIBS is a boolean specifying whether the target "
- "platform supports shared libraries. Basically all current general "
- "general purpose OS do so, the exception are usually embedded systems "
- "with no or special OSs.");
-
- cm->DefineProperty
- ("TARGET_ARCHIVES_MAY_BE_SHARED_LIBS", cmProperty::GLOBAL,
- "Set if shared libraries may be named like archives.",
- "On AIX shared libraries may be named \"lib<name>.a\". "
- "This property is set to true on such platforms.");
-
- cm->DefineProperty
- ("FIND_LIBRARY_USE_LIB64_PATHS", cmProperty::GLOBAL,
- "Whether FIND_LIBRARY should automatically search lib64 directories.",
- "FIND_LIBRARY_USE_LIB64_PATHS is a boolean specifying whether the "
- "FIND_LIBRARY command should automatically search the lib64 variant of "
- "directories called lib in the search path when building 64-bit "
- "binaries.");
- cm->DefineProperty
- ("FIND_LIBRARY_USE_OPENBSD_VERSIONING", cmProperty::GLOBAL,
- "Whether FIND_LIBRARY should find OpenBSD-style shared libraries.",
- "This property is a boolean specifying whether the FIND_LIBRARY "
- "command should find shared libraries with OpenBSD-style versioned "
- "extension: \".so.<major>.<minor>\". "
- "The property is set to true on OpenBSD and false on other platforms.");
- cm->DefineProperty
- ("ENABLED_FEATURES", cmProperty::GLOBAL,
- "List of features which are enabled during the CMake run.",
- "List of features which are enabled during the CMake run. By default "
- "it contains the names of all packages which were found. This is "
- "determined using the <NAME>_FOUND variables. Packages which are "
- "searched QUIET are not listed. A project can add its own features to "
- "this list. "
- "This property is used by the macros in FeatureSummary.cmake.");
- cm->DefineProperty
- ("DISABLED_FEATURES", cmProperty::GLOBAL,
- "List of features which are disabled during the CMake run.",
- "List of features which are disabled during the CMake run. By default "
- "it contains the names of all packages which were not found. This is "
- "determined using the <NAME>_FOUND variables. Packages which are "
- "searched QUIET are not listed. A project can add its own features to "
- "this list. "
- "This property is used by the macros in FeatureSummary.cmake.");
- cm->DefineProperty
- ("PACKAGES_FOUND", cmProperty::GLOBAL,
- "List of packages which were found during the CMake run.",
- "List of packages which were found during the CMake run. Whether a "
- "package has been found is determined using the <NAME>_FOUND variables.");
- cm->DefineProperty
- ("PACKAGES_NOT_FOUND", cmProperty::GLOBAL,
- "List of packages which were not found during the CMake run.",
- "List of packages which were not found during the CMake run. Whether a "
- "package has been found is determined using the <NAME>_FOUND variables.");
-
- cm->DefineProperty(
- "__CMAKE_DELETE_CACHE_CHANGE_VARS_", cmProperty::GLOBAL,
- "Internal property",
- "Used to detect compiler changes, Do not set.");
-
- cm->DefineProperty(
- "DEBUG_CONFIGURATIONS", cmProperty::GLOBAL,
- "Specify which configurations are for debugging.",
- "The value must be a semi-colon separated list of configuration names. "
- "Currently this property is used only by the target_link_libraries "
- "command (see its documentation for details). "
- "Additional uses may be defined in the future. "
- "\n"
- "This property must be set at the top level of the project and before "
- "the first target_link_libraries command invocation. "
- "If any entry in the list does not match a valid configuration for "
- "the project the behavior is undefined.");
-
- cm->DefineProperty(
- "GLOBAL_DEPENDS_DEBUG_MODE", cmProperty::GLOBAL,
- "Enable global target dependency graph debug mode.",
- "CMake automatically analyzes the global inter-target dependency graph "
- "at the beginning of native build system generation. "
- "This property causes it to display details of its analysis to stderr.");
-
- cm->DefineProperty(
- "GLOBAL_DEPENDS_NO_CYCLES", cmProperty::GLOBAL,
- "Disallow global target dependency graph cycles.",
- "CMake automatically analyzes the global inter-target dependency graph "
- "at the beginning of native build system generation. "
- "It reports an error if the dependency graph contains a cycle that "
- "does not consist of all STATIC library targets. "
- "This property tells CMake to disallow all cycles completely, even "
- "among static libraries.");
-
- cm->DefineProperty(
- "ALLOW_DUPLICATE_CUSTOM_TARGETS", cmProperty::GLOBAL,
- "Allow duplicate custom targets to be created.",
- "Normally CMake requires that all targets built in a project have "
- "globally unique logical names (see policy CMP0002). "
- "This is necessary to generate meaningful project file names in "
- "Xcode and VS IDE generators. "
- "It also allows the target names to be referenced unambiguously.\n"
- "Makefile generators are capable of supporting duplicate custom target "
- "names. "
- "For projects that care only about Makefile generators and do "
- "not wish to support Xcode or VS IDE generators, one may set this "
- "property to true to allow duplicate custom targets. "
- "The property allows multiple add_custom_target command calls in "
- "different directories to specify the same target name. "
- "However, setting this property will cause non-Makefile generators "
- "to produce an error and refuse to generate the project."
- );
-
- cm->DefineProperty
- ("IN_TRY_COMPILE", cmProperty::GLOBAL,
- "Read-only property that is true during a try-compile configuration.",
- "True when building a project inside a TRY_COMPILE or TRY_RUN command.");
- cm->DefineProperty
- ("ENABLED_LANGUAGES", cmProperty::GLOBAL,
- "Read-only property that contains the list of currently "
- "enabled languages",
- "Set to list of currently enabled languages.");
-
- cm->DefineProperty
- ("RULE_LAUNCH_COMPILE", cmProperty::GLOBAL,
- "Specify a launcher for compile rules.",
- "Makefile generators prefix compiler commands with the given "
- "launcher command line. "
- "This is intended to allow launchers to intercept build problems "
- "with high granularity. "
- "Non-Makefile generators currently ignore this property.");
- cm->DefineProperty
- ("RULE_LAUNCH_LINK", cmProperty::GLOBAL,
- "Specify a launcher for link rules.",
- "Makefile generators prefix link and archive commands with the given "
- "launcher command line. "
- "This is intended to allow launchers to intercept build problems "
- "with high granularity. "
- "Non-Makefile generators currently ignore this property.");
- cm->DefineProperty
- ("RULE_LAUNCH_CUSTOM", cmProperty::GLOBAL,
- "Specify a launcher for custom rules.",
- "Makefile generators prefix custom commands with the given "
- "launcher command line. "
- "This is intended to allow launchers to intercept build problems "
- "with high granularity. "
- "Non-Makefile generators currently ignore this property.");
-
- cm->DefineProperty
- ("RULE_MESSAGES", cmProperty::GLOBAL,
- "Specify whether to report a message for each make rule.",
- "This property specifies whether Makefile generators should add a "
- "progress message describing what each build rule does. "
- "If the property is not set the default is ON. "
- "Set the property to OFF to disable granular messages and report only "
- "as each target completes. "
- "This is intended to allow scripted builds to avoid the build time "
- "cost of detailed reports. "
- "If a CMAKE_RULE_MESSAGES cache entry exists its value initializes "
- "the value of this property. "
- "Non-Makefile generators currently ignore this property.");
-
- cm->DefineProperty
- ("USE_FOLDERS", cmProperty::GLOBAL,
- "Use the FOLDER target property to organize targets into folders.",
- "If not set, CMake treats this property as OFF by default. "
- "CMake generators that are capable of organizing into a "
- "hierarchy of folders use the values of the FOLDER target "
- "property to name those folders. See also the documentation "
- "for the FOLDER target property.");
-
- cm->DefineProperty
- ("AUTOMOC_TARGETS_FOLDER", cmProperty::GLOBAL,
- "Name of FOLDER for *_automoc targets that are added automatically by "
- "CMake for targets for which AUTOMOC is enabled.",
- "If not set, CMake uses the FOLDER property of the parent target as a "
- "default value for this property. See also the documentation for the "
- "FOLDER target property and the AUTOMOC target property.");
-
- cm->DefineProperty
- ("PREDEFINED_TARGETS_FOLDER", cmProperty::GLOBAL,
- "Name of FOLDER for targets that are added automatically by CMake.",
- "If not set, CMake uses \"CMakePredefinedTargets\" as a default "
- "value for this property. Targets such as INSTALL, PACKAGE and "
- "RUN_TESTS will be organized into this FOLDER. See also the "
- "documentation for the FOLDER target property.");
-
- // ================================================================
- // define variables as well
- // ================================================================
- cmDocumentVariables::DefineVariables(cm);
-}
-
-
void cmake::DefineProperty(const char *name, cmProperty::ScopeType scope,
const char *ShortDescription,
const char *FullDescription,
- bool chained, const char *docSection)
+ bool chained)
{
this->PropertyDefinitions[scope].DefineProperty(name,scope,ShortDescription,
FullDescription,
- docSection,
chained);
}
-bool cmake::GetIsPropertyDefined(const char *name,
- cmProperty::ScopeType scope)
-{
- return this->PropertyDefinitions[scope].find(name) !=
- this->PropertyDefinitions[scope].end();
-}
-
cmPropertyDefinition *cmake
::GetPropertyDefinition(const char *name,
cmProperty::ScopeType scope)
@@ -3658,112 +2165,6 @@ cmPropertyDefinition *cmake
return 0;
}
-void cmake::RecordPropertyAccess(const char *name,
- cmProperty::ScopeType scope)
-{
- this->AccessedProperties.insert
- (std::pair<cmStdString,cmProperty::ScopeType>(name,scope));
-}
-
-void cmake::ReportUndefinedPropertyAccesses(const char *filename)
-{
- if(!this->GlobalGenerator)
- { return; }
- FILE *progFile = fopen(filename,"w");
- if(!progFile)
- { return; }
-
- // what are the enabled languages?
- std::vector<std::string> enLangs;
- this->GlobalGenerator->GetEnabledLanguages(enLangs);
-
- // Common configuration names.
- // TODO: Compute current configuration(s).
- std::vector<std::string> enConfigs;
- enConfigs.push_back("");
- enConfigs.push_back("DEBUG");
- enConfigs.push_back("RELEASE");
- enConfigs.push_back("MINSIZEREL");
- enConfigs.push_back("RELWITHDEBINFO");
-
- // take all the defined properties and add definitions for all the enabled
- // languages
- std::set<std::pair<cmStdString,cmProperty::ScopeType> > aliasedProperties;
- std::map<cmProperty::ScopeType, cmPropertyDefinitionMap>::iterator i;
- i = this->PropertyDefinitions.begin();
- for (;i != this->PropertyDefinitions.end(); ++i)
- {
- cmPropertyDefinitionMap::iterator j;
- for (j = i->second.begin(); j != i->second.end(); ++j)
- {
- // TODO: What if both <LANG> and <CONFIG> appear?
- if (j->first.find("<CONFIG>") != std::string::npos)
- {
- std::vector<std::string>::const_iterator k;
- for (k = enConfigs.begin(); k != enConfigs.end(); ++k)
- {
- std::string tmp = j->first;
- cmSystemTools::ReplaceString(tmp, "<CONFIG>", k->c_str());
- // add alias
- aliasedProperties.insert
- (std::pair<cmStdString,cmProperty::ScopeType>(tmp,i->first));
- }
- }
- if (j->first.find("<LANG>") != std::string::npos)
- {
- std::vector<std::string>::const_iterator k;
- for (k = enLangs.begin(); k != enLangs.end(); ++k)
- {
- std::string tmp = j->first;
- cmSystemTools::ReplaceString(tmp, "<LANG>", k->c_str());
- // add alias
- aliasedProperties.insert
- (std::pair<cmStdString,cmProperty::ScopeType>(tmp,i->first));
- }
- }
- }
- }
-
- std::set<std::pair<cmStdString,cmProperty::ScopeType> >::const_iterator ap;
- ap = this->AccessedProperties.begin();
- for (;ap != this->AccessedProperties.end(); ++ap)
- {
- if (!this->IsPropertyDefined(ap->first.c_str(),ap->second) &&
- aliasedProperties.find(std::pair<cmStdString,cmProperty::ScopeType>
- (ap->first,ap->second)) ==
- aliasedProperties.end())
- {
- const char *scopeStr = "";
- switch (ap->second)
- {
- case cmProperty::TARGET:
- scopeStr = "TARGET";
- break;
- case cmProperty::SOURCE_FILE:
- scopeStr = "SOURCE_FILE";
- break;
- case cmProperty::DIRECTORY:
- scopeStr = "DIRECTORY";
- break;
- case cmProperty::TEST:
- scopeStr = "TEST";
- break;
- case cmProperty::VARIABLE:
- scopeStr = "VARIABLE";
- break;
- case cmProperty::CACHED_VARIABLE:
- scopeStr = "CACHED_VARIABLE";
- break;
- default:
- scopeStr = "unknown";
- break;
- }
- fprintf(progFile, "%s with scope %s\n", ap->first.c_str(), scopeStr);
- }
- }
- fclose(progFile);
-}
-
bool cmake::IsPropertyDefined(const char *name, cmProperty::ScopeType scope)
{
return this->PropertyDefinitions[scope].IsPropertyDefined(name);
@@ -3991,7 +2392,7 @@ int cmake::GetSystemInformation(std::vector<std::string>& args)
// echo results to stdout if needed
if (writeToStdout)
{
- FILE* fin = fopen(resultFile.c_str(), "r");
+ FILE* fin = cmsys::SystemTools::Fopen(resultFile.c_str(), "r");
if(fin)
{
const int bufferSize = 4096;
@@ -4025,9 +2426,9 @@ static bool cmakeCheckStampFile(const char* stampName)
std::string stampDepends = stampName;
stampDepends += ".depend";
#if defined(_WIN32) || defined(__CYGWIN__)
- std::ifstream fin(stampDepends.c_str(), std::ios::in | std::ios::binary);
+ cmsys::ifstream fin(stampDepends.c_str(), std::ios::in | std::ios::binary);
#else
- std::ifstream fin(stampDepends.c_str(), std::ios::in);
+ cmsys::ifstream fin(stampDepends.c_str(), std::ios::in);
#endif
if(!fin)
{
@@ -4068,7 +2469,7 @@ static bool cmakeCheckStampFile(const char* stampName)
{
// TODO: Teach cmGeneratedFileStream to use a random temp file (with
// multiple tries in unlikely case of conflict) and use that here.
- std::ofstream stamp(stampTemp);
+ cmsys::ofstream stamp(stampTemp);
stamp << "# CMake generation timestamp file for this directory.\n";
}
if(cmSystemTools::RenameFile(stampTemp, stampName))
@@ -4098,7 +2499,7 @@ static bool cmakeCheckStampList(const char* stampList)
<< "is missing.\n";
return false;
}
- std::ifstream fin(stampList);
+ cmsys::ifstream fin(stampList);
if(!fin)
{
std::cout << "CMake is re-running because generate.stamp.list "
@@ -4119,356 +2520,6 @@ static bool cmakeCheckStampList(const char* stampList)
}
//----------------------------------------------------------------------------
-int cmake::WindowsCEEnvironment(const char* version, const std::string& name)
-{
-#if defined(CMAKE_HAVE_VS_GENERATORS)
- cmVisualStudioWCEPlatformParser parser(name.c_str());
- parser.ParseVersion(version);
- if (parser.Found())
- {
- std::cout << "@echo off" << std::endl;
- std::cout << "echo Environment Selection: " << name << std::endl;
- std::cout << "set PATH=" << parser.GetPathDirectories() << std::endl;
- std::cout << "set INCLUDE=" << parser.GetIncludeDirectories() <<std::endl;
- std::cout << "set LIB=" << parser.GetLibraryDirectories() <<std::endl;
- return 0;
- }
-#else
- (void)version;
-#endif
-
- std::cerr << "Could not find " << name;
- return -1;
-}
-
-// For visual studio 2005 and newer manifest files need to be embedded into
-// exe and dll's. This code does that in such a way that incremental linking
-// still works.
-int cmake::VisualStudioLink(std::vector<std::string>& args, int type)
-{
- if(args.size() < 2)
- {
- return -1;
- }
- bool verbose = false;
- if(cmSystemTools::GetEnv("VERBOSE"))
- {
- verbose = true;
- }
- std::vector<std::string> expandedArgs;
- for(std::vector<std::string>::iterator i = args.begin();
- i != args.end(); ++i)
- {
- // check for nmake temporary files
- if((*i)[0] == '@' && i->find("@CMakeFiles") != 0 )
- {
- std::ifstream fin(i->substr(1).c_str());
- std::string line;
- while(cmSystemTools::GetLineFromStream(fin,
- line))
- {
- cmSystemTools::ParseWindowsCommandLine(line.c_str(), expandedArgs);
- }
- }
- else
- {
- expandedArgs.push_back(*i);
- }
- }
- bool hasIncremental = false;
- bool hasManifest = true;
- for(std::vector<std::string>::iterator i = expandedArgs.begin();
- i != expandedArgs.end(); ++i)
- {
- if(cmSystemTools::Strucmp(i->c_str(), "/INCREMENTAL:YES") == 0)
- {
- hasIncremental = true;
- }
- if(cmSystemTools::Strucmp(i->c_str(), "/INCREMENTAL") == 0)
- {
- hasIncremental = true;
- }
- if(cmSystemTools::Strucmp(i->c_str(), "/MANIFEST:NO") == 0)
- {
- hasManifest = false;
- }
- }
- if(hasIncremental && hasManifest)
- {
- if(verbose)
- {
- std::cout << "Visual Studio Incremental Link with embedded manifests\n";
- }
- return cmake::VisualStudioLinkIncremental(expandedArgs, type, verbose);
- }
- if(verbose)
- {
- if(!hasIncremental)
- {
- std::cout << "Visual Studio Non-Incremental Link\n";
- }
- else
- {
- std::cout << "Visual Studio Incremental Link without manifests\n";
- }
- }
- return cmake::VisualStudioLinkNonIncremental(expandedArgs,
- type, hasManifest, verbose);
-}
-
-int cmake::ParseVisualStudioLinkCommand(std::vector<std::string>& args,
- std::vector<cmStdString>& command,
- std::string& targetName)
-{
- std::vector<std::string>::iterator i = args.begin();
- i++; // skip -E
- i++; // skip vs_link_dll or vs_link_exe
- command.push_back(*i);
- i++; // move past link command
- for(; i != args.end(); ++i)
- {
- command.push_back(*i);
- if(i->find("/Fe") == 0)
- {
- targetName = i->substr(3);
- }
- if(i->find("/out:") == 0)
- {
- targetName = i->substr(5);
- }
- }
- if(targetName.size() == 0 || command.size() == 0)
- {
- return -1;
- }
- return 0;
-}
-
-bool cmake::RunCommand(const char* comment,
- std::vector<cmStdString>& command,
- bool verbose,
- int* retCodeOut)
-{
- if(verbose)
- {
- std::cout << comment << ":\n";
- for(std::vector<cmStdString>::iterator i = command.begin();
- i != command.end(); ++i)
- {
- std::cout << i->c_str() << " ";
- }
- std::cout << "\n";
- }
- std::string output;
- int retCode =0;
- // use rc command to create .res file
- cmSystemTools::RunSingleCommand(command,
- &output,
- &retCode, 0, cmSystemTools::OUTPUT_NONE);
- // always print the output of the command, unless
- // it is the dumb rc command banner, but if the command
- // returned an error code then print the output anyway as
- // the banner may be mixed with some other important information.
- if(output.find("Resource Compiler Version") == output.npos
- || retCode !=0)
- {
- std::cout << output;
- }
- // if retCodeOut is requested then always return true
- // and set the retCodeOut to retCode
- if(retCodeOut)
- {
- *retCodeOut = retCode;
- return true;
- }
- if(retCode != 0)
- {
- std::cout << comment << " failed. with " << retCode << "\n";
- }
- return retCode == 0;
-}
-
-int cmake::VisualStudioLinkIncremental(std::vector<std::string>& args,
- int type, bool verbose)
-{
- // This follows the steps listed here:
- // http://blogs.msdn.com/zakramer/archive/2006/05/22/603558.aspx
-
- // 1. Compiler compiles the application and generates the *.obj files.
- // 2. An empty manifest file is generated if this is a clean build and if
- // not the previous one is reused.
- // 3. The resource compiler (rc.exe) compiles the *.manifest file to a
- // *.res file.
- // 4. Linker generates the binary (EXE or DLL) with the /incremental
- // switch and embeds the dummy manifest file. The linker also generates
- // the real manifest file based on the binaries that your binary depends
- // on.
- // 5. The manifest tool (mt.exe) is then used to generate the final
- // manifest.
-
- // If the final manifest is changed, then 6 and 7 are run, if not
- // they are skipped, and it is done.
-
- // 6. The resource compiler is invoked one more time.
- // 7. Finally, the Linker does another incremental link, but since the
- // only thing that has changed is the *.res file that contains the
- // manifest it is a short link.
- std::vector<cmStdString> linkCommand;
- std::string targetName;
- if(cmake::ParseVisualStudioLinkCommand(args, linkCommand, targetName) == -1)
- {
- return -1;
- }
- std::string manifestArg = "/MANIFESTFILE:";
- std::vector<cmStdString> rcCommand;
- rcCommand.push_back(cmSystemTools::FindProgram("rc.exe"));
- std::vector<cmStdString> mtCommand;
- mtCommand.push_back(cmSystemTools::FindProgram("mt.exe"));
- std::string tempManifest;
- tempManifest = targetName;
- tempManifest += ".intermediate.manifest";
- std::string resourceInputFile = targetName;
- resourceInputFile += ".resource.txt";
- if(verbose)
- {
- std::cout << "Create " << resourceInputFile.c_str() << "\n";
- }
- // Create input file for rc command
- std::ofstream fout(resourceInputFile.c_str());
- if(!fout)
- {
- return -1;
- }
- std::string manifestFile = targetName;
- manifestFile += ".embed.manifest";
- std::string fullPath= cmSystemTools::CollapseFullPath(manifestFile.c_str());
- fout << type << " /* CREATEPROCESS_MANIFEST_RESOURCE_ID "
- "*/ 24 /* RT_MANIFEST */ " << "\"" << fullPath.c_str() << "\"";
- fout.close();
- manifestArg += tempManifest;
- // add the manifest arg to the linkCommand
- linkCommand.push_back("/MANIFEST");
- linkCommand.push_back(manifestArg);
- // if manifestFile is not yet created, create an
- // empty one
- if(!cmSystemTools::FileExists(manifestFile.c_str()))
- {
- if(verbose)
- {
- std::cout << "Create empty: " << manifestFile.c_str() << "\n";
- }
- std::ofstream foutTmp(manifestFile.c_str());
- }
- std::string resourceFile = manifestFile;
- resourceFile += ".res";
- // add the resource file to the end of the link command
- linkCommand.push_back(resourceFile);
- std::string outputOpt = "/fo";
- outputOpt += resourceFile;
- rcCommand.push_back(outputOpt);
- rcCommand.push_back(resourceInputFile);
- // Run rc command to create resource
- if(!cmake::RunCommand("RC Pass 1", rcCommand, verbose))
- {
- return -1;
- }
- // Now run the link command to link and create manifest
- if(!cmake::RunCommand("LINK Pass 1", linkCommand, verbose))
- {
- return -1;
- }
- // create mt command
- std::string outArg("/out:");
- outArg+= manifestFile;
- mtCommand.push_back("/nologo");
- mtCommand.push_back(outArg);
- mtCommand.push_back("/notify_update");
- mtCommand.push_back("/manifest");
- mtCommand.push_back(tempManifest);
- // now run mt.exe to create the final manifest file
- int mtRet =0;
- cmake::RunCommand("MT", mtCommand, verbose, &mtRet);
- // if mt returns 0, then the manifest was not changed and
- // we do not need to do another link step
- if(mtRet == 0)
- {
- return 0;
- }
- // check for magic mt return value if mt returns the magic number
- // 1090650113 then it means that it updated the manifest file and we need
- // to do the final link. If mt has any value other than 0 or 1090650113
- // then there was some problem with the command itself and there was an
- // error so return the error code back out of cmake so make can report it.
- if(mtRet != 1090650113)
- {
- return mtRet;
- }
- // update the resource file with the new manifest from the mt command.
- if(!cmake::RunCommand("RC Pass 2", rcCommand, verbose))
- {
- return -1;
- }
- // Run the final incremental link that will put the new manifest resource
- // into the file incrementally.
- if(!cmake::RunCommand("FINAL LINK", linkCommand, verbose))
- {
- return -1;
- }
- return 0;
-}
-
-int cmake::VisualStudioLinkNonIncremental(std::vector<std::string>& args,
- int type,
- bool hasManifest,
- bool verbose)
-{
- std::vector<cmStdString> linkCommand;
- std::string targetName;
- if(cmake::ParseVisualStudioLinkCommand(args, linkCommand, targetName) == -1)
- {
- return -1;
- }
- // Run the link command as given
- if (hasManifest)
- {
- linkCommand.push_back("/MANIFEST");
- }
- if(!cmake::RunCommand("LINK", linkCommand, verbose))
- {
- return -1;
- }
- if(!hasManifest)
- {
- return 0;
- }
- std::vector<cmStdString> mtCommand;
- mtCommand.push_back(cmSystemTools::FindProgram("mt.exe"));
- mtCommand.push_back("/nologo");
- mtCommand.push_back("/manifest");
- std::string manifestFile = targetName;
- manifestFile += ".manifest";
- mtCommand.push_back(manifestFile);
- std::string outresource = "/outputresource:";
- outresource += targetName;
- outresource += ";#";
- if(type == 1)
- {
- outresource += "1";
- }
- else if(type == 2)
- {
- outresource += "2";
- }
- mtCommand.push_back(outresource);
- // Now use the mt tool to embed the manifest into the exe or dll
- if(!cmake::RunCommand("MT", mtCommand, verbose))
- {
- return -1;
- }
- return 0;
-}
-
-//----------------------------------------------------------------------------
void cmake::IssueMessage(cmake::MessageType t, std::string const& text,
cmListFileBacktrace const& backtrace)
{
@@ -4489,6 +2540,15 @@ void cmake::IssueMessage(cmake::MessageType t, std::string const& text,
{
msg << "CMake Debug Log";
}
+ else if(t == cmake::DEPRECATION_ERROR)
+ {
+ msg << "CMake Deprecation Error";
+ isError = true;
+ }
+ else if (t == cmake::DEPRECATION_WARNING)
+ {
+ msg << "CMake Deprecation Warning";
+ }
else
{
msg << "CMake Warning";
@@ -4517,7 +2577,7 @@ void cmake::IssueMessage(cmake::MessageType t, std::string const& text,
// Add the message text.
{
msg << ":\n";
- cmDocumentationFormatterText formatter;
+ cmDocumentationFormatter formatter;
formatter.SetIndent(" ");
formatter.PrintFormatted(msg, text.c_str());
}
@@ -4586,8 +2646,7 @@ int cmake::Build(const std::string& dir,
const std::string& target,
const std::string& config,
const std::vector<std::string>& nativeOptions,
- bool clean,
- cmSystemTools::OutputOption outputflag)
+ bool clean)
{
if(!cmSystemTools::FileIsDirectory(dir.c_str()))
{
@@ -4612,25 +2671,19 @@ int cmake::Build(const std::string& dir,
this->CreateGlobalGenerator(it.GetValue()));
std::string output;
std::string projName;
- std::string makeProgram;
if(!it.Find("CMAKE_PROJECT_NAME"))
{
std::cerr << "Error: could not find CMAKE_PROJECT_NAME in Cache\n";
return 1;
}
projName = it.GetValue();
- if(!it.Find("CMAKE_MAKE_PROGRAM"))
- {
- std::cerr << "Error: could not find CMAKE_MAKE_PROGRAM in Cache\n";
- return 1;
- }
- makeProgram = it.GetValue();
return gen->Build(0, dir.c_str(),
projName.c_str(), target.c_str(),
&output,
- makeProgram.c_str(),
- config.c_str(), clean, false, 0, outputflag,
- 0, nativeOptions);
+ 0,
+ config.c_str(), clean, false, 0,
+ cmSystemTools::OUTPUT_PASSTHROUGH,
+ nativeOptions);
}
void cmake::WatchUnusedCli(const char* var)
diff --git a/Source/cmake.h b/Source/cmake.h
index a50c1ed..dfec55c 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -65,7 +65,9 @@ class cmake
INTERNAL_ERROR,
MESSAGE,
WARNING,
- LOG
+ LOG,
+ DEPRECATION_ERROR,
+ DEPRECATION_WARNING
};
@@ -198,9 +200,6 @@ class cmake
///! get the cmCachemManager used by this invocation of cmake
cmCacheManager *GetCacheManager() { return this->CacheManager; }
- ///! set the cmake command this instance of cmake should use
- void SetCMakeCommand(const char* cmd) { this->CMakeCommand = cmd; }
-
/**
* Given a variable name, return its value (as a string).
*/
@@ -209,11 +208,6 @@ class cmake
void AddCacheEntry(const char* key, const char* value,
const char* helpString,
int type);
- /**
- * Execute commands during the build process. Supports options such
- * as echo, remove file etc.
- */
- static int ExecuteCMakeCommand(std::vector<std::string>&);
/**
* Get the system information and write it to the file specified
@@ -272,20 +266,7 @@ class cmake
///! Get the variable watch object
cmVariableWatch* GetVariableWatch() { return this->VariableWatch; }
- /** Get the documentation entries for the supported commands.
- * If withCurrentCommands is true, the documentation for the
- * recommended set of commands is included.
- * If withCompatCommands is true, the documentation for discouraged
- * (compatibility) commands is included.
- * You probably don't want to set both to false.
- */
- void GetCommandDocumentation(std::vector<cmDocumentationEntry>& entries,
- bool withCurrentCommands = true,
- bool withCompatCommands = true) const;
- void GetPropertiesDocumentation(std::map<std::string,
- cmDocumentationSection *>&);
void GetGeneratorDocumentation(std::vector<cmDocumentationEntry>&);
- void GetPolicyDocumentation(std::vector<cmDocumentationEntry>& entries);
///! Set/Get a property of this target file
void SetProperty(const char *prop, const char *value);
@@ -317,13 +298,6 @@ class cmake
*/
cmFileTimeComparison* GetFileComparison() { return this->FileComparison; }
- /**
- * Get the path to ctest
- */
- const char* GetCTestCommand();
- const char* GetCPackCommand();
- const char* GetCMakeCommand();
-
// Do we want debug output during the cmake run.
bool GetDebugOutput() { return this->DebugOutput; }
void SetDebugOutputOn(bool b) { this->DebugOutput = b;}
@@ -346,10 +320,7 @@ class cmake
void DefineProperty(const char *name, cmProperty::ScopeType scope,
const char *ShortDescription,
const char *FullDescription,
- bool chain = false,
- const char *variableGroup = 0);
-
- bool GetIsPropertyDefined(const char *name, cmProperty::ScopeType scope);
+ bool chain = false);
// get property definition
cmPropertyDefinition *GetPropertyDefinition
@@ -363,17 +334,11 @@ class cmake
debugging configurations.*/
std::vector<std::string> const& GetDebugConfigs();
- // record accesses of properties and variables
- void RecordPropertyAccess(const char *name, cmProperty::ScopeType scope);
- void ReportUndefinedPropertyAccesses(const char *filename);
-
- // Define the properties
- static void DefineProperties(cmake *cm);
+ void SetCMakeEditCommand(std::string const& s)
+ { this->CMakeEditCommand = s; }
+ std::string const& GetCMakeEditCommand() const
+ { return this->CMakeEditCommand; }
- void SetCMakeEditCommand(const char* s)
- {
- this->CMakeEditCommand = s;
- }
void SetSuppressDevWarnings(bool v)
{
this->SuppressDevWarnings = v;
@@ -388,8 +353,7 @@ class cmake
const std::string& target,
const std::string& config,
const std::vector<std::string>& nativeOptions,
- bool clean,
- cmSystemTools::OutputOption outputflag);
+ bool clean);
void UnwatchUnusedCli(const char* var);
void WatchUnusedCli(const char* var);
@@ -450,33 +414,8 @@ protected:
void GenerateGraphViz(const char* fileName) const;
- static int SymlinkLibrary(std::vector<std::string>& args);
- static int SymlinkExecutable(std::vector<std::string>& args);
- static bool SymlinkInternal(std::string const& file,
- std::string const& link);
- static int ExecuteEchoColor(std::vector<std::string>& args);
- static int ExecuteLinkScript(std::vector<std::string>& args);
- static int WindowsCEEnvironment(const char* version,
- const std::string& name);
- static int VisualStudioLink(std::vector<std::string>& args, int type);
- static int VisualStudioLinkIncremental(std::vector<std::string>& args,
- int type,
- bool verbose);
- static int VisualStudioLinkNonIncremental(std::vector<std::string>& args,
- int type,
- bool hasManifest,
- bool verbose);
- static int ParseVisualStudioLinkCommand(std::vector<std::string>& args,
- std::vector<cmStdString>& command,
- std::string& targetName);
- static bool RunCommand(const char* comment,
- std::vector<cmStdString>& command,
- bool verbose,
- int* retCodeOut = 0);
cmVariableWatch* VariableWatch;
- ///! Find the full path to one of the cmake programs like ctest, cpack, etc.
- std::string FindCMakeProgram(const char* name) const;
private:
cmake(const cmake&); // Not implemented.
void operator=(const cmake&); // Not implemented.
@@ -493,15 +432,12 @@ private:
bool CheckSystemVars;
std::map<cmStdString, bool> UsedCliVariables;
std::string CMakeEditCommand;
- std::string CMakeCommand;
std::string CXXEnvironment;
std::string CCEnvironment;
std::string CheckBuildSystemArgument;
std::string CheckStampFile;
std::string CheckStampList;
std::string VSSolutionFile;
- std::string CTestCommand;
- std::string CPackCommand;
bool ClearBuildSystem;
bool DebugTryCompile;
cmFileTimeComparison* FileComparison;
@@ -512,52 +448,12 @@ private:
};
#define CMAKE_STANDARD_OPTIONS_TABLE \
- {"-C <initial-cache>", "Pre-load a script to populate the cache.", \
- "When cmake is first run in an empty build tree, it creates a " \
- "CMakeCache.txt file and populates it with customizable settings " \
- "for the project. This option may be used to specify a file from " \
- "which to load cache entries before the first pass through " \
- "the project's cmake listfiles. The loaded entries take priority " \
- "over the project's default values. The given file should be a CMake " \
- "script containing SET commands that use the CACHE option, " \
- "not a cache-format file."}, \
- {"-D <var>:<type>=<value>", "Create a cmake cache entry.", \
- "When cmake is first run in an empty build tree, it creates a " \
- "CMakeCache.txt file and populates it with customizable settings " \
- "for the project. This option may be used to specify a setting " \
- "that takes priority over the project's default value. The option " \
- "may be repeated for as many cache entries as desired."}, \
- {"-U <globbing_expr>", "Remove matching entries from CMake cache.", \
- "This option may be used to remove one or more variables from the " \
- "CMakeCache.txt file, globbing expressions using * and ? are supported. "\
- "The option may be repeated for as many cache entries as desired.\n" \
- "Use with care, you can make your CMakeCache.txt non-working."}, \
- {"-G <generator-name>", "Specify a build system generator.", \
- "CMake may support multiple native build systems on certain platforms. " \
- "A generator is responsible for generating a particular build " \
- "system. Possible generator names are specified in the Generators " \
- "section."},\
- {"-T <toolset-name>", "Specify toolset name if supported by generator.", \
- "Some CMake generators support a toolset name to be given to the " \
- "native build system to choose a compiler. " \
- "This is supported only on specific generators:\n" \
- " Visual Studio >= 10\n" \
- " Xcode >= 3.0\n" \
- "See native build system documentation for allowed toolset names."}, \
- {"-Wno-dev", "Suppress developer warnings.",\
- "Suppress warnings that are meant for the author"\
- " of the CMakeLists.txt files."},\
- {"-Wdev", "Enable developer warnings.",\
- "Enable warnings that are meant for the author"\
- " of the CMakeLists.txt files."}
-
-
-#define CMAKE_STANDARD_INTRODUCTION \
- {0, \
- "CMake is a cross-platform build system generator. Projects " \
- "specify their build process with platform-independent CMake listfiles " \
- "included in each directory of a source tree with the name " \
- "CMakeLists.txt. " \
- "Users build a project by using CMake to generate a build system " \
- "for a native tool on their platform.", 0}
+ {"-C <initial-cache>", "Pre-load a script to populate the cache."}, \
+ {"-D <var>:<type>=<value>", "Create a cmake cache entry."}, \
+ {"-U <globbing_expr>", "Remove matching entries from CMake cache."}, \
+ {"-G <generator-name>", "Specify a build system generator."},\
+ {"-T <toolset-name>", "Specify toolset name if supported by generator."}, \
+ {"-Wno-dev", "Suppress developer warnings."},\
+ {"-Wdev", "Enable developer warnings."}
+
#endif
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index 68d8339..fcaa127 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -17,43 +17,31 @@
#endif
#include "cmake.h"
+#include "cmcmd.h"
#include "cmCacheManager.h"
#include "cmListFileCache.h"
-#include "cmakewizard.h"
#include "cmSourceFile.h"
#include "cmGlobalGenerator.h"
#include "cmLocalGenerator.h"
#include "cmMakefile.h"
+#include <cmsys/Encoding.hxx>
#ifdef CMAKE_BUILD_WITH_CMAKE
//----------------------------------------------------------------------------
-static const char * cmDocumentationName[][3] =
+static const char * cmDocumentationName[][2] =
{
{0,
- " cmake - Cross-Platform Makefile Generator.", 0},
- {0,0,0}
+ " cmake - Cross-Platform Makefile Generator."},
+ {0,0}
};
//----------------------------------------------------------------------------
-static const char * cmDocumentationUsage[][3] =
+static const char * cmDocumentationUsage[][2] =
{
{0,
" cmake [options] <path-to-source>\n"
- " cmake [options] <path-to-existing-build>", 0},
- {0,0,0}
-};
-
-//----------------------------------------------------------------------------
-static const char * cmDocumentationDescription[][3] =
-{
- {0,
- "The \"cmake\" executable is the CMake command-line interface. It may "
- "be used to configure projects in scripts. Project configuration "
- "settings "
- "may be specified on the command line with the -D option. The -i option "
- "will cause cmake to interactively prompt for such settings.", 0},
- CMAKE_STANDARD_INTRODUCTION,
- {0,0,0}
+ " cmake [options] <path-to-existing-build>"},
+ {0,0}
};
#define CMAKE_BUILD_OPTIONS \
@@ -62,209 +50,49 @@ static const char * cmDocumentationDescription[][3] =
" --config <cfg> = For multi-configuration tools, choose <cfg>.\n" \
" --clean-first = Build target 'clean' first, then build.\n" \
" (To clean only, use --target 'clean'.)\n" \
- " --use-stderr = Don't merge stdout/stderr output and pass the\n" \
- " original stdout/stderr handles to the native\n" \
- " tool so it can use the capabilities of the\n" \
- " calling terminal (e.g. colored output).\n" \
+ " --use-stderr = Ignored. Behavior is default in CMake >= 3.0.\n" \
" -- = Pass remaining options to the native tool.\n"
//----------------------------------------------------------------------------
-static const char * cmDocumentationOptions[][3] =
+static const char * cmDocumentationOptions[][2] =
{
CMAKE_STANDARD_OPTIONS_TABLE,
- {"-E", "CMake command mode.",
- "For true platform independence, CMake provides a list of commands "
- "that can be used on all systems. Run with -E help for the usage "
- "information. Commands available are: chdir, compare_files, copy, "
- "copy_directory, copy_if_different, echo, echo_append, environment, "
- "make_directory, md5sum, remove, remove_directory, rename, tar, time, "
- "touch, touch_nocreate. In addition, some platform specific commands "
- "are available. "
- "On Windows: comspec, delete_regv, write_regv. "
- "On UNIX: create_symlink."},
- {"-i", "Run in wizard mode.",
- "Wizard mode runs cmake interactively without a GUI. The user is "
- "prompted to answer questions about the project configuration. "
- "The answers are used to set cmake cache values."},
- {"-L[A][H]", "List non-advanced cached variables.",
- "List cache variables will run CMake and list all the variables from the "
- "CMake cache that are not marked as INTERNAL or ADVANCED. This will "
- "effectively display current CMake settings, which can then be changed "
- "with -D option. Changing some of the variables may result in more "
- "variables being created. If A is specified, then it will display also "
- "advanced variables. If H is specified, it will also display help for "
- "each variable."},
- {"--build <dir>", "Build a CMake-generated project binary tree.",
- "This abstracts a native build tool's command-line interface with the "
- "following options:\n"
- CMAKE_BUILD_OPTIONS
- "Run cmake --build with no options for quick help."},
- {"-N", "View mode only.",
- "Only load the cache. Do not actually run configure and generate steps."},
- {"-P <file>", "Process script mode.",
- "Process the given cmake file as a script written in the CMake language. "
- "No configure or generate step is performed and the cache is not"
- " modified. If variables are defined using -D, this must be done "
- "before the -P argument."},
- {"--find-package", "Run in pkg-config like mode.",
- "Search a package using find_package() and print the resulting flags "
- "to stdout. This can be used to use cmake instead of pkg-config to find "
- "installed libraries in plain Makefile-based projects or in "
- "autoconf-based projects (via share/aclocal/cmake.m4)."},
+ {"-E", "CMake command mode."},
+ {"-L[A][H]", "List non-advanced cached variables."},
+ {"--build <dir>", "Build a CMake-generated project binary tree."},
+ {"-N", "View mode only."},
+ {"-P <file>", "Process script mode."},
+ {"--find-package", "Run in pkg-config like mode."},
{"--graphviz=[file]", "Generate graphviz of dependencies, see "
- "CMakeGraphVizOptions.cmake for more.",
- "Generate a graphviz input file that will contain all the library and "
- "executable dependencies in the project. See the documentation for "
- "CMakeGraphVizOptions.cmake for more details. "},
- {"--system-information [file]", "Dump information about this system.",
- "Dump a wide range of information about the current system. If run "
- "from the top of a binary tree for a CMake project it will dump "
- "additional information such as the cache, log files etc."},
+ "CMakeGraphVizOptions.cmake for more."},
+ {"--system-information [file]", "Dump information about this system."},
{"--debug-trycompile", "Do not delete the try_compile build tree. Only "
- "useful on one try_compile at a time.",
- "Do not delete the files and directories created for try_compile calls. "
- "This is useful in debugging failed try_compiles. It may however "
- "change the results of the try-compiles as old junk from a previous "
- "try-compile may cause a different test to either pass or fail "
- "incorrectly. This option is best used for one try-compile at a time, "
- "and only when debugging." },
- {"--debug-output", "Put cmake in a debug mode.",
- "Print extra stuff during the cmake run like stack traces with "
- "message(send_error ) calls."},
- {"--trace", "Put cmake in trace mode.",
- "Print a trace of all calls made and from where with "
- "message(send_error ) calls."},
- {"--warn-uninitialized", "Warn about uninitialized values.",
- "Print a warning when an uninitialized variable is used."},
- {"--warn-unused-vars", "Warn about unused variables.",
- "Find variables that are declared or set, but not used."},
- {"--no-warn-unused-cli", "Don't warn about command line options.",
- "Don't find variables that are declared on the command line, but not "
- "used."},
+ "useful on one try_compile at a time."},
+ {"--debug-output", "Put cmake in a debug mode."},
+ {"--trace", "Put cmake in trace mode."},
+ {"--warn-uninitialized", "Warn about uninitialized values."},
+ {"--warn-unused-vars", "Warn about unused variables."},
+ {"--no-warn-unused-cli", "Don't warn about command line options."},
{"--check-system-vars", "Find problems with variable usage in system "
- "files.", "Normally, unused and uninitialized variables are searched for "
- "only in CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR. This flag tells CMake to "
- "warn about other files as well."},
- {"--help-command cmd [file]", "Print help for a single command and exit.",
- "Full documentation specific to the given command is displayed. "
- "If a file is specified, the documentation is written into and the output "
- "format is determined depending on the filename suffix. Supported are man "
- "page, HTML, DocBook and plain text."},
- {"--help-command-list [file]", "List available listfile commands and exit.",
- "The list contains all commands for which help may be obtained by using "
- "the --help-command argument followed by a command name. "
- "If a file is specified, the documentation is written into and the output "
- "format is determined depending on the filename suffix. Supported are man "
- "page, HTML, DocBook and plain text."},
- {"--help-commands [file]", "Print help for all commands and exit.",
- "Full documentation specific for all current commands is displayed."
- "If a file is specified, the documentation is written into and the output "
- "format is determined depending on the filename suffix. Supported are man "
- "page, HTML, DocBook and plain text."},
- {"--help-compatcommands [file]", "Print help for compatibility commands. ",
- "Full documentation specific for all compatibility commands is displayed."
- "If a file is specified, the documentation is written into and the output "
- "format is determined depending on the filename suffix. Supported are man "
- "page, HTML, DocBook and plain text."},
- {"--help-module module [file]", "Print help for a single module and exit.",
- "Full documentation specific to the given module is displayed."
- "If a file is specified, the documentation is written into and the output "
- "format is determined depending on the filename suffix. Supported are man "
- "page, HTML, DocBook and plain text."},
- {"--help-module-list [file]", "List available modules and exit.",
- "The list contains all modules for which help may be obtained by using "
- "the --help-module argument followed by a module name. "
- "If a file is specified, the documentation is written into and the output "
- "format is determined depending on the filename suffix. Supported are man "
- "page, HTML, DocBook and plain text."},
- {"--help-modules [file]", "Print help for all modules and exit.",
- "Full documentation for all modules is displayed. "
- "If a file is specified, the documentation is written into and the output "
- "format is determined depending on the filename suffix. Supported are man "
- "page, HTML, DocBook and plain text."},
- {"--help-custom-modules [file]" , "Print help for all custom modules and "
- "exit.",
- "Full documentation for all custom modules is displayed. "
- "If a file is specified, the documentation is written into and the output "
- "format is determined depending on the filename suffix. Supported are man "
- "page, HTML, DocBook and plain text."},
- {"--help-policy cmp [file]",
- "Print help for a single policy and exit.",
- "Full documentation specific to the given policy is displayed."
- "If a file is specified, the documentation is written into and the output "
- "format is determined depending on the filename suffix. Supported are man "
- "page, HTML, DocBook and plain text."},
- {"--help-policies [file]", "Print help for all policies and exit.",
- "Full documentation for all policies is displayed."
- "If a file is specified, the documentation is written into and the output "
- "format is determined depending on the filename suffix. Supported are man "
- "page, HTML, DocBook and plain text."},
- {"--help-property prop [file]",
- "Print help for a single property and exit.",
- "Full documentation specific to the given property is displayed."
- "If a file is specified, the documentation is written into and the output "
- "format is determined depending on the filename suffix. Supported are man "
- "page, HTML, DocBook and plain text."},
- {"--help-property-list [file]", "List available properties and exit.",
- "The list contains all properties for which help may be obtained by using "
- "the --help-property argument followed by a property name. If a file is "
- "specified, the help is written into it."
- "If a file is specified, the documentation is written into and the output "
- "format is determined depending on the filename suffix. Supported are man "
- "page, HTML, DocBook and plain text."},
- {"--help-properties [file]", "Print help for all properties and exit.",
- "Full documentation for all properties is displayed."
- "If a file is specified, the documentation is written into and the output "
- "format is determined depending on the filename suffix. Supported are man "
- "page, HTML, DocBook and plain text."},
- {"--help-variable var [file]",
- "Print help for a single variable and exit.",
- "Full documentation specific to the given variable is displayed."
- "If a file is specified, the documentation is written into and the output "
- "format is determined depending on the filename suffix. Supported are man "
- "page, HTML, DocBook and plain text."},
- {"--help-variable-list [file]", "List documented variables and exit.",
- "The list contains all variables for which help may be obtained by using "
- "the --help-variable argument followed by a variable name. If a file is "
- "specified, the help is written into it."
- "If a file is specified, the documentation is written into and the output "
- "format is determined depending on the filename suffix. Supported are man "
- "page, HTML, DocBook and plain text."},
- {"--help-variables [file]", "Print help for all variables and exit.",
- "Full documentation for all variables is displayed."
- "If a file is specified, the documentation is written into and the output "
- "format is determined depending on the filename suffix. Supported are man "
- "page, HTML, DocBook and plain text."},
- {0,0,0}
+ "files."},
+ {0,0}
};
-//----------------------------------------------------------------------------
-static const char * cmDocumentationSeeAlso[][3] =
-{
- {0, "ccmake", 0},
- {0, "cpack", 0},
- {0, "ctest", 0},
- {0, "cmakecommands", 0},
- {0, "cmakecompat", 0},
- {0, "cmakemodules", 0},
- {0, "cmakeprops", 0},
- {0, "cmakevars", 0},
- {0, 0, 0}
-};
+#endif
-//----------------------------------------------------------------------------
-static const char * cmDocumentationNOTE[][3] =
+static int do_command(int ac, char const* const* av)
{
- {0,
- "CMake no longer configures a project when run with no arguments. "
- "In order to configure the project in the current directory, run\n"
- " cmake .", 0},
- {0,0,0}
-};
-#endif
+ std::vector<std::string> args;
+ args.push_back(av[0]);
+ for(int i = 2; i < ac; ++i)
+ {
+ args.push_back(av[i]);
+ }
+ return cmcmd::ExecuteCMakeCommand(args);
+}
-int do_cmake(int ac, char** av);
-static int do_build(int ac, char** av);
+int do_cmake(int ac, char const* const* av);
+static int do_build(int ac, char const* const* av);
static cmMakefile* cmakemainGetMakefile(void *clientdata)
{
@@ -332,13 +160,25 @@ static void cmakemainProgressCallback(const char *m, float prog,
}
-int main(int ac, char** av)
+int main(int ac, char const* const* av)
{
+ cmsys::Encoding::CommandLineArguments args =
+ cmsys::Encoding::CommandLineArguments::Main(ac, av);
+ ac = args.argc();
+ av = args.argv();
+
cmSystemTools::EnableMSVCDebugHook();
- cmSystemTools::FindExecutableDirectory(av[0]);
- if(ac > 1 && strcmp(av[1], "--build") == 0)
+ cmSystemTools::FindCMakeResources(av[0]);
+ if(ac > 1)
{
- return do_build(ac, av);
+ if(strcmp(av[1], "--build") == 0)
+ {
+ return do_build(ac, av);
+ }
+ else if(strcmp(av[1], "-E") == 0)
+ {
+ return do_command(ac, av);
+ }
}
int ret = do_cmake(ac, av);
#ifdef CMAKE_BUILD_WITH_CMAKE
@@ -347,7 +187,7 @@ int main(int ac, char** av)
return ret;
}
-int do_cmake(int ac, char** av)
+int do_cmake(int ac, char const* const* av)
{
if ( cmSystemTools::GetCurrentWorkingDirectory().size() == 0 )
{
@@ -359,12 +199,11 @@ int do_cmake(int ac, char** av)
#ifdef CMAKE_BUILD_WITH_CMAKE
cmDocumentation doc;
doc.addCMakeStandardDocSections();
- if(doc.CheckOptions(ac, av, "-E"))
+ if(doc.CheckOptions(ac, av))
{
// Construct and print requested documentation.
cmake hcm;
hcm.AddCMakePaths();
- doc.SetCMakeRoot(hcm.GetCacheDefinition("CMAKE_ROOT"));
// the command line args are processed here so that you can do
// -DCMAKE_MODULE_PATH=/some/path and have this value accessible here
@@ -374,57 +213,18 @@ int do_cmake(int ac, char** av)
args.push_back(av[i]);
}
hcm.SetCacheArgs(args);
- const char* modulePath = hcm.GetCacheDefinition("CMAKE_MODULE_PATH");
- if (modulePath)
- {
- doc.SetCMakeModulePath(modulePath);
- }
- std::vector<cmDocumentationEntry> commands;
- std::vector<cmDocumentationEntry> policies;
- std::vector<cmDocumentationEntry> compatCommands;
std::vector<cmDocumentationEntry> generators;
- std::map<std::string,cmDocumentationSection *> propDocs;
- hcm.GetPolicyDocumentation(policies);
- hcm.GetCommandDocumentation(commands, true, false);
- hcm.GetCommandDocumentation(compatCommands, false, true);
- hcm.GetPropertiesDocumentation(propDocs);
hcm.GetGeneratorDocumentation(generators);
doc.SetName("cmake");
doc.SetSection("Name",cmDocumentationName);
doc.SetSection("Usage",cmDocumentationUsage);
- doc.SetSection("Description",cmDocumentationDescription);
doc.AppendSection("Generators",generators);
doc.PrependSection("Options",cmDocumentationOptions);
- doc.SetSection("Commands",commands);
- doc.SetSection("Policies",policies);
- doc.AppendSection("Compatibility Commands",compatCommands);
- doc.SetSections(propDocs);
-
- cmDocumentationEntry e;
- e.Brief =
- "variables defined by cmake, that give information about the project, "
- "and cmake";
- doc.PrependSection("Variables that Provide Information",e);
-
- doc.SetSeeAlsoList(cmDocumentationSeeAlso);
- int result = doc.PrintRequestedDocumentation(std::cout)? 0:1;
-
- // If we were run with no arguments, but a CMakeLists.txt file
- // exists, the user may have been trying to use the old behavior
- // of cmake to build a project in-source. Print a message
- // explaining the change to standard error and return an error
- // condition in case the program is running from a script.
- if((ac == 1) && cmSystemTools::FileExists("CMakeLists.txt"))
- {
- doc.ClearSections();
- doc.SetSection("NOTE", cmDocumentationNOTE);
- doc.Print(cmDocumentation::UsageForm, 0, std::cerr);
- return 1;
- }
- return result;
+
+ return doc.PrintRequestedDocumentation(std::cout)? 0:1;
}
#else
if ( ac == 1 )
@@ -436,9 +236,7 @@ int do_cmake(int ac, char** av)
}
#endif
- bool wiz = false;
bool sysinfo = false;
- bool command = false;
bool list_cached = false;
bool list_all_cached = false;
bool list_help = false;
@@ -447,43 +245,41 @@ int do_cmake(int ac, char** av)
std::vector<std::string> args;
for(int i =0; i < ac; ++i)
{
- if(!command && strcmp(av[i], "-i") == 0)
+ if(strcmp(av[i], "-i") == 0)
{
- wiz = true;
+ std::cerr <<
+ "The \"cmake -i\" wizard mode is no longer supported.\n"
+ "Use the -D option to set cache values on the command line.\n"
+ "Use cmake-gui or ccmake for an interactive dialog.\n";
+ return 1;
}
- else if(!command && strcmp(av[i], "--system-information") == 0)
+ else if(strcmp(av[i], "--system-information") == 0)
{
sysinfo = true;
}
- // if command has already been set, then
- // do not eat the -E
- else if (!command && strcmp(av[i], "-E") == 0)
- {
- command = true;
- }
- else if (!command && strcmp(av[i], "-N") == 0)
+ else if (strcmp(av[i], "-N") == 0)
{
view_only = true;
}
- else if (!command && strcmp(av[i], "-L") == 0)
+ else if (strcmp(av[i], "-L") == 0)
{
list_cached = true;
}
- else if (!command && strcmp(av[i], "-LA") == 0)
+ else if (strcmp(av[i], "-LA") == 0)
{
list_all_cached = true;
}
- else if (!command && strcmp(av[i], "-LH") == 0)
+ else if (strcmp(av[i], "-LH") == 0)
{
list_cached = true;
list_help = true;
}
- else if (!command && strcmp(av[i], "-LAH") == 0)
+ else if (strcmp(av[i], "-LAH") == 0)
{
list_all_cached = true;
list_help = true;
}
- else if (!command && strncmp(av[i], "-P", strlen("-P")) == 0)
+ else if (cmHasLiteralPrefix(av[i], "-P"))
{
if ( i == ac -1 )
{
@@ -497,8 +293,7 @@ int do_cmake(int ac, char** av)
args.push_back(av[i]);
}
}
- else if (!command && strncmp(av[i], "--find-package",
- strlen("--find-package")) == 0)
+ else if (cmHasLiteralPrefix(av[i], "--find-package"))
{
workingMode = cmake::FIND_PACKAGE_MODE;
args.push_back(av[i]);
@@ -508,16 +303,6 @@ int do_cmake(int ac, char** av)
args.push_back(av[i]);
}
}
- if(command)
- {
- int ret = cmake::ExecuteCMakeCommand(args);
- return ret;
- }
- if (wiz)
- {
- cmakewizard wizard;
- return wizard.RunWizard(args);
- }
if (sysinfo)
{
cmake cm;
@@ -573,7 +358,7 @@ int do_cmake(int ac, char** av)
}
//----------------------------------------------------------------------------
-static int do_build(int ac, char** av)
+static int do_build(int ac, char const* const* av)
{
#ifndef CMAKE_BUILD_WITH_CMAKE
std::cerr << "This cmake does not support --build\n";
@@ -584,7 +369,6 @@ static int do_build(int ac, char** av)
std::string dir;
std::vector<std::string> nativeOptions;
bool clean = false;
- cmSystemTools::OutputOption outputflag = cmSystemTools::OUTPUT_MERGE;
enum Doing { DoingNone, DoingDir, DoingTarget, DoingConfig, DoingNative};
Doing doing = DoingDir;
@@ -609,7 +393,7 @@ static int do_build(int ac, char** av)
}
else if(strcmp(av[i], "--use-stderr") == 0)
{
- outputflag = cmSystemTools::OUTPUT_PASSTHROUGH;
+ /* tolerate legacy option */
}
else if(strcmp(av[i], "--") == 0)
{
@@ -656,6 +440,6 @@ static int do_build(int ac, char** av)
}
cmake cm;
- return cm.Build(dir, target, config, nativeOptions, clean, outputflag);
+ return cm.Build(dir, target, config, nativeOptions, clean);
#endif
}
diff --git a/Source/cmaketest.h.in b/Source/cmaketest.h.in
deleted file mode 100644
index aada52d..0000000
--- a/Source/cmaketest.h.in
+++ /dev/null
@@ -1,16 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-#define CMAKE_BINARY_DIR "${CMake_BINARY_DIR}"
-#define EXECUTABLE_OUTPUT_PATH "${EXECUTABLE_OUTPUT_PATH}"
-#define MAKEPROGRAM "${MAKEPROGRAM}"
-#define CMAKE_GENERATOR "${CMAKE_GENERATOR}"
-#define DART_MAKECOMMAND "${MAKECOMMAND}"
diff --git a/Source/cmakewizard.cxx b/Source/cmakewizard.cxx
deleted file mode 100644
index bac403a..0000000
--- a/Source/cmakewizard.cxx
+++ /dev/null
@@ -1,155 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-#include "cmakewizard.h"
-#include "cmake.h"
-#include "cmCacheManager.h"
-
-cmakewizard::cmakewizard()
-{
- this->ShowAdvanced = false;
-}
-
-
-void cmakewizard::AskUser(const char* key,
- cmCacheManager::CacheIterator& iter)
-{
- printf("Variable Name: %s\n", key);
- const char* helpstring = iter.GetProperty("HELPSTRING");
- printf("Description: %s\n", (helpstring?helpstring:"(none)"));
- printf("Current Value: %s\n", iter.GetValue());
- printf("New Value (Enter to keep current value): ");
- char buffer[4096];
- if(!fgets(buffer, static_cast<int>(sizeof(buffer) - 1), stdin))
- {
- buffer[0] = 0;
- }
-
- if(strlen(buffer) > 0)
- {
- std::string sbuffer = buffer;
- std::string::size_type pos = sbuffer.find_last_not_of(" \n\r\t");
- std::string value = "";
- if ( pos != std::string::npos )
- {
- value = sbuffer.substr(0, pos+1);
- }
-
- if ( value.size() > 0 )
- {
- if(iter.GetType() == cmCacheManager::PATH ||
- iter.GetType() == cmCacheManager::FILEPATH)
- {
- cmSystemTools::ConvertToUnixSlashes(value);
- }
- if(iter.GetType() == cmCacheManager::BOOL)
- {
- if(!cmSystemTools::IsOn(value.c_str()))
- {
- value = "OFF";
- }
- }
- iter.SetValue(value.c_str());
- }
- }
- printf("\n");
-}
-
-bool cmakewizard::AskAdvanced()
-{
- printf("Would you like to see advanced options? [No]:");
- char buffer[4096];
- if(!fgets(buffer, static_cast<int>(sizeof(buffer) - 1), stdin))
- {
- buffer[0] = 0;
- }
- else if(buffer[0] == 'y' || buffer[0] == 'Y')
- {
- return true;
- }
- return false;
-}
-
-
-void cmakewizard::ShowMessage(const char* m)
-{
- printf("%s\n", m);
-}
-
-
-
-int cmakewizard::RunWizard(std::vector<std::string> const& args)
-{
- this->ShowAdvanced = this->AskAdvanced();
- cmSystemTools::DisableRunCommandOutput();
- cmake make;
- make.SetArgs(args);
- make.SetCMakeCommand(args[0].c_str());
- make.LoadCache();
- make.SetCacheArgs(args);
- std::map<cmStdString, cmStdString> askedCache;
- bool asked = false;
- // continue asking questions until no new questions are asked
- do
- {
- asked = false;
- // run cmake
- this->ShowMessage(
- "Please wait while cmake processes CMakeLists.txt files....\n");
-
- make.Configure();
- this->ShowMessage("\n");
- // load the cache from disk
- cmCacheManager *cachem = make.GetCacheManager();
- cachem->LoadCache(make.GetHomeOutputDirectory());
- cmCacheManager::CacheIterator i = cachem->NewIterator();
- // iterate over all entries in the cache
- for(;!i.IsAtEnd(); i.Next())
- {
- std::string key = i.GetName();
- if( i.GetType() == cmCacheManager::INTERNAL ||
- i.GetType() == cmCacheManager::STATIC ||
- i.GetType() == cmCacheManager::UNINITIALIZED )
- {
- continue;
- }
- if(askedCache.count(key))
- {
- std::string& e = askedCache.find(key)->second;
- if(e != i.GetValue())
- {
- if(this->ShowAdvanced || !i.GetPropertyAsBool("ADVANCED"))
- {
- this->AskUser(key.c_str(), i);
- asked = true;
- }
- }
- }
- else
- {
- if(this->ShowAdvanced || !i.GetPropertyAsBool("ADVANCED"))
- {
- this->AskUser(key.c_str(), i);
- asked = true;
- }
- }
- askedCache[key] = i.GetValue();
- }
- cachem->SaveCache(make.GetHomeOutputDirectory());
- }
- while(asked);
- if(make.Generate() == 0)
- {
- this->ShowMessage("CMake complete, run make to build project.\n");
- return 0;
- }
- return 1;
-}
diff --git a/Source/cmakewizard.h b/Source/cmakewizard.h
deleted file mode 100644
index 0c8dba9..0000000
--- a/Source/cmakewizard.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-
-
-#include "cmMakefile.h"
-
-class cmakewizard
-{
-public:
- cmakewizard();
- virtual ~cmakewizard() {}
- /**
- * Prompt the user to see if they want to see advanced entries.
- */
- virtual bool AskAdvanced();
-
- /**
- * Prompt the User for a new value for key, the answer is put in entry.
- */
- virtual void AskUser(const char* key, cmCacheManager::CacheIterator& iter);
- ///! Show a message to wait for cmake to run.
- virtual void ShowMessage(const char*);
-
- /**
- * Run cmake in wizard mode. This will coninue to ask the user questions
- * until there are no more entries in the cache.
- */
- int RunWizard(std::vector<std::string>const& args);
-
-private:
- bool ShowAdvanced;
-};
-
diff --git a/Source/cmcldeps.cxx b/Source/cmcldeps.cxx
index 8571557..faa5fa7 100644
--- a/Source/cmcldeps.cxx
+++ b/Source/cmcldeps.cxx
@@ -23,6 +23,7 @@
#include <windows.h>
#include <sstream>
#include <cmSystemTools.h>
+#include <cmsys/Encoding.hxx>
// We don't want any wildcard expansion.
// See http://msdn.microsoft.com/en-us/library/zay8tzh6(v=vs.85).aspx
@@ -100,7 +101,7 @@ static std::string getArg(std::string& cmdline) {
return ret;
}
-static void parseCommandLine(LPTSTR wincmdline,
+static void parseCommandLine(LPWSTR wincmdline,
std::string& lang,
std::string& srcfile,
std::string& dfile,
@@ -109,7 +110,7 @@ static void parseCommandLine(LPTSTR wincmdline,
std::string& clpath,
std::string& binpath,
std::string& rest) {
- std::string cmdline(wincmdline);
+ std::string cmdline = cmsys::Encoding::ToNarrow(wincmdline);
/* self */ getArg(cmdline);
lang = getArg(cmdline);
srcfile = getArg(cmdline);
@@ -138,7 +139,7 @@ static void outputDepFile(const std::string& dfile, const std::string& objfile,
std::sort(incs.begin(), incs.end());
incs.erase(std::unique(incs.begin(), incs.end()), incs.end());
- FILE* out = fopen(dfile.c_str(), "wb");
+ FILE* out = cmsys::SystemTools::Fopen(dfile.c_str(), "wb");
// FIXME should this be fatal or not? delete obj? delete d?
if (!out)
@@ -247,7 +248,7 @@ int main() {
// the same command line verbatim.
std::string lang, srcfile, dfile, objfile, prefix, cl, binpath, rest;
- parseCommandLine(GetCommandLine(), lang, srcfile, dfile, objfile,
+ parseCommandLine(GetCommandLineW(), lang, srcfile, dfile, objfile,
prefix, cl, binpath, rest);
// needed to suppress filename output of msvc tools
diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx
new file mode 100644
index 0000000..4ac1986
--- /dev/null
+++ b/Source/cmcmd.cxx
@@ -0,0 +1,1396 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#include "cmcmd.h"
+#include "cmMakefile.h"
+#include "cmLocalGenerator.h"
+#include "cmGlobalGenerator.h"
+#include "cmQtAutoGenerators.h"
+#include "cmVersion.h"
+
+#if defined(CMAKE_BUILD_WITH_CMAKE)
+# include "cmDependsFortran.h" // For -E cmake_copy_f90_mod callback.
+# include <cmsys/Terminal.h>
+#endif
+
+#include <cmsys/Directory.hxx>
+#include <cmsys/Process.h>
+#include <cmsys/FStream.hxx>
+
+#if defined(CMAKE_HAVE_VS_GENERATORS)
+#include "cmCallVisualStudioMacro.h"
+#include "cmVisualStudioWCEPlatformParser.h"
+#endif
+
+#include <time.h>
+
+#include <stdlib.h> // required for atoi
+
+void CMakeCommandUsage(const char* program)
+{
+ cmOStringStream errorStream;
+
+#ifdef CMAKE_BUILD_WITH_CMAKE
+ errorStream
+ << "cmake version " << cmVersion::GetCMakeVersion() << "\n";
+#else
+ errorStream
+ << "cmake bootstrap\n";
+#endif
+ // If you add new commands, change here,
+ // and in cmakemain.cxx in the options table
+ errorStream
+ << "Usage: " << program << " -E [command] [arguments ...]\n"
+ << "Available commands: \n"
+ << " chdir dir cmd [args]... - run command in a given directory\n"
+ << " compare_files file1 file2 - check if file1 is same as file2\n"
+ << " copy file destination - copy file to destination (either file "
+ "or directory)\n"
+ << " copy_directory source destination - copy directory 'source' "
+ "content to directory 'destination'\n"
+ << " copy_if_different in-file out-file - copy file if input has "
+ "changed\n"
+ << " echo [string]... - displays arguments as text\n"
+ << " echo_append [string]... - displays arguments as text but no new "
+ "line\n"
+ << " environment - display the current environment\n"
+ << " make_directory dir - create a directory\n"
+ << " md5sum file1 [...] - compute md5sum of files\n"
+ << " remove [-f] file1 file2 ... - remove the file(s), use -f to force "
+ "it\n"
+ << " remove_directory dir - remove a directory and its contents\n"
+ << " rename oldname newname - rename a file or directory "
+ "(on one volume)\n"
+ << " tar [cxt][vfz][cvfj] file.tar [file/dir1 file/dir2 ...]\n"
+ << " - create or extract a tar or zip archive\n"
+ << " sleep <number>... - sleep for given number of seconds\n"
+ << " time command [args] ... - run command and return elapsed time\n"
+ << " touch file - touch a file.\n"
+ << " touch_nocreate file - touch a file but do not create it.\n"
+#if defined(_WIN32) && !defined(__CYGWIN__)
+ << "Available on Windows only:\n"
+ << " delete_regv key - delete registry value\n"
+ << " env_vs8_wince sdkname - displays a batch file which sets the "
+ "environment for the provided Windows CE SDK installed in VS2005\n"
+ << " env_vs9_wince sdkname - displays a batch file which sets the "
+ "environment for the provided Windows CE SDK installed in VS2008\n"
+ << " write_regv key value - write registry value\n"
+#else
+ << "Available on UNIX only:\n"
+ << " create_symlink old new - create a symbolic link new -> old\n"
+#endif
+ ;
+
+ cmSystemTools::Error(errorStream.str().c_str());
+}
+
+int cmcmd::ExecuteCMakeCommand(std::vector<std::string>& args)
+{
+ // IF YOU ADD A NEW COMMAND, DOCUMENT IT ABOVE and in cmakemain.cxx
+ if (args.size() > 1)
+ {
+ // Copy file
+ if (args[1] == "copy" && args.size() == 4)
+ {
+ if(!cmSystemTools::cmCopyFile(args[2].c_str(), args[3].c_str()))
+ {
+ std::cerr << "Error copying file \"" << args[2].c_str()
+ << "\" to \"" << args[3].c_str() << "\".\n";
+ return 1;
+ }
+ return 0;
+ }
+
+ // Copy file if different.
+ if (args[1] == "copy_if_different" && args.size() == 4)
+ {
+ if(!cmSystemTools::CopyFileIfDifferent(args[2].c_str(),
+ args[3].c_str()))
+ {
+ std::cerr << "Error copying file (if different) from \""
+ << args[2].c_str() << "\" to \"" << args[3].c_str()
+ << "\".\n";
+ return 1;
+ }
+ return 0;
+ }
+
+ // Copy directory content
+ if (args[1] == "copy_directory" && args.size() == 4)
+ {
+ if(!cmSystemTools::CopyADirectory(args[2].c_str(), args[3].c_str()))
+ {
+ std::cerr << "Error copying directory from \""
+ << args[2].c_str() << "\" to \"" << args[3].c_str()
+ << "\".\n";
+ return 1;
+ }
+ return 0;
+ }
+
+ // Rename a file or directory
+ if (args[1] == "rename" && args.size() == 4)
+ {
+ if(!cmSystemTools::RenameFile(args[2].c_str(), args[3].c_str()))
+ {
+ std::string e = cmSystemTools::GetLastSystemError();
+ std::cerr << "Error renaming from \""
+ << args[2].c_str() << "\" to \"" << args[3].c_str()
+ << "\": " << e << "\n";
+ return 1;
+ }
+ return 0;
+ }
+
+ // Compare files
+ if (args[1] == "compare_files" && args.size() == 4)
+ {
+ if(cmSystemTools::FilesDiffer(args[2].c_str(), args[3].c_str()))
+ {
+ std::cerr << "Files \""
+ << args[2].c_str() << "\" to \"" << args[3].c_str()
+ << "\" are different.\n";
+ return 1;
+ }
+ return 0;
+ }
+
+ // Echo string
+ else if (args[1] == "echo" )
+ {
+ unsigned int cc;
+ const char* space = "";
+ for ( cc = 2; cc < args.size(); cc ++ )
+ {
+ std::cout << space << args[cc];
+ space = " ";
+ }
+ std::cout << std::endl;
+ return 0;
+ }
+
+ // Echo string no new line
+ else if (args[1] == "echo_append" )
+ {
+ unsigned int cc;
+ const char* space = "";
+ for ( cc = 2; cc < args.size(); cc ++ )
+ {
+ std::cout << space << args[cc];
+ space = " ";
+ }
+ return 0;
+ }
+
+#if defined(CMAKE_BUILD_WITH_CMAKE)
+ // Command to create a symbolic link. Fails on platforms not
+ // supporting them.
+ else if (args[1] == "environment" )
+ {
+ std::vector<std::string> env = cmSystemTools::GetEnvironmentVariables();
+ std::vector<std::string>::iterator it;
+ for ( it = env.begin(); it != env.end(); ++ it )
+ {
+ std::cout << it->c_str() << std::endl;
+ }
+ return 0;
+ }
+#endif
+
+ else if (args[1] == "make_directory" && args.size() == 3)
+ {
+ if(!cmSystemTools::MakeDirectory(args[2].c_str()))
+ {
+ std::cerr << "Error making directory \"" << args[2].c_str()
+ << "\".\n";
+ return 1;
+ }
+ return 0;
+ }
+
+ else if (args[1] == "remove_directory" && args.size() == 3)
+ {
+ if(cmSystemTools::FileIsDirectory(args[2].c_str()) &&
+ !cmSystemTools::RemoveADirectory(args[2].c_str()))
+ {
+ std::cerr << "Error removing directory \"" << args[2].c_str()
+ << "\".\n";
+ return 1;
+ }
+ return 0;
+ }
+
+ // Remove file
+ else if (args[1] == "remove" && args.size() > 2)
+ {
+ bool force = false;
+ for (std::string::size_type cc = 2; cc < args.size(); cc ++)
+ {
+ if(args[cc] == "\\-f" || args[cc] == "-f")
+ {
+ force = true;
+ }
+ else
+ {
+ // Complain if the file could not be removed, still exists,
+ // and the -f option was not given.
+ if(!cmSystemTools::RemoveFile(args[cc].c_str()) && !force &&
+ cmSystemTools::FileExists(args[cc].c_str()))
+ {
+ return 1;
+ }
+ }
+ }
+ return 0;
+ }
+ // Touch file
+ else if (args[1] == "touch" && args.size() > 2)
+ {
+ for (std::string::size_type cc = 2; cc < args.size(); cc ++)
+ {
+ // Complain if the file could not be removed, still exists,
+ // and the -f option was not given.
+ if(!cmSystemTools::Touch(args[cc].c_str(), true))
+ {
+ return 1;
+ }
+ }
+ return 0;
+ }
+ // Touch file
+ else if (args[1] == "touch_nocreate" && args.size() > 2)
+ {
+ for (std::string::size_type cc = 2; cc < args.size(); cc ++)
+ {
+ // Complain if the file could not be removed, still exists,
+ // and the -f option was not given.
+ if(!cmSystemTools::Touch(args[cc].c_str(), false))
+ {
+ return 1;
+ }
+ }
+ return 0;
+ }
+
+ // Sleep command
+ else if (args[1] == "sleep" && args.size() > 2)
+ {
+ double total = 0;
+ for(size_t i = 2; i < args.size(); ++i)
+ {
+ double num = 0.0;
+ char unit;
+ char extra;
+ int n = sscanf(args[i].c_str(), "%lg%c%c", &num, &unit, &extra);
+ if((n == 1 || (n == 2 && unit == 's')) && num >= 0)
+ {
+ total += num;
+ }
+ else
+ {
+ std::cerr << "Unknown sleep time format \"" << args[i] << "\".\n";
+ return 1;
+ }
+ }
+ if(total > 0)
+ {
+ cmSystemTools::Delay(static_cast<unsigned int>(total*1000));
+ }
+ return 0;
+ }
+
+ // Clock command
+ else if (args[1] == "time" && args.size() > 2)
+ {
+ std::string command = args[2];
+ for (std::string::size_type cc = 3; cc < args.size(); cc ++)
+ {
+ command += " ";
+ command += args[cc];
+ }
+
+ clock_t clock_start, clock_finish;
+ time_t time_start, time_finish;
+
+ time(&time_start);
+ clock_start = clock();
+ int ret =0;
+ cmSystemTools::RunSingleCommand(command.c_str(), 0, &ret);
+
+ clock_finish = clock();
+ time(&time_finish);
+
+ double clocks_per_sec = static_cast<double>(CLOCKS_PER_SEC);
+ std::cout << "Elapsed time: "
+ << static_cast<long>(time_finish - time_start) << " s. (time)"
+ << ", "
+ << static_cast<double>(clock_finish - clock_start) / clocks_per_sec
+ << " s. (clock)"
+ << "\n";
+ return ret;
+ }
+ // Command to calculate the md5sum of a file
+ else if (args[1] == "md5sum" && args.size() >= 3)
+ {
+ char md5out[32];
+ int retval = 0;
+ for (std::string::size_type cc = 2; cc < args.size(); cc ++)
+ {
+ const char *filename = args[cc].c_str();
+ // Cannot compute md5sum of a directory
+ if(cmSystemTools::FileIsDirectory(filename))
+ {
+ std::cerr << "Error: " << filename << " is a directory" << std::endl;
+ retval++;
+ }
+ else if(!cmSystemTools::ComputeFileMD5(filename, md5out))
+ {
+ // To mimic md5sum behavior in a shell:
+ std::cerr << filename << ": No such file or directory" << std::endl;
+ retval++;
+ }
+ else
+ {
+ std::cout << std::string(md5out,32) << " " << filename << std::endl;
+ }
+ }
+ return retval;
+ }
+
+ // Command to change directory and run a program.
+ else if (args[1] == "chdir" && args.size() >= 4)
+ {
+ std::string directory = args[2];
+ if(!cmSystemTools::FileExists(directory.c_str()))
+ {
+ cmSystemTools::Error("Directory does not exist for chdir command: ",
+ args[2].c_str());
+ return 1;
+ }
+
+ std::string command = "\"";
+ command += args[3];
+ command += "\"";
+ for (std::string::size_type cc = 4; cc < args.size(); cc ++)
+ {
+ command += " \"";
+ command += args[cc];
+ command += "\"";
+ }
+ int retval = 0;
+ int timeout = 0;
+ if ( cmSystemTools::RunSingleCommand(command.c_str(), 0, &retval,
+ directory.c_str(), cmSystemTools::OUTPUT_NORMAL, timeout) )
+ {
+ return retval;
+ }
+
+ return 1;
+ }
+
+ // Command to start progress for a build
+ else if (args[1] == "cmake_progress_start" && args.size() == 4)
+ {
+ // basically remove the directory
+ std::string dirName = args[2];
+ dirName += "/Progress";
+ cmSystemTools::RemoveADirectory(dirName.c_str());
+
+ // is the last argument a filename that exists?
+ FILE *countFile = cmsys::SystemTools::Fopen(args[3].c_str(),"r");
+ int count;
+ if (countFile)
+ {
+ if (1!=fscanf(countFile,"%i",&count))
+ {
+ cmSystemTools::Message("Could not read from count file.");
+ }
+ fclose(countFile);
+ }
+ else
+ {
+ count = atoi(args[3].c_str());
+ }
+ if (count)
+ {
+ cmSystemTools::MakeDirectory(dirName.c_str());
+ // write the count into the directory
+ std::string fName = dirName;
+ fName += "/count.txt";
+ FILE *progFile = cmsys::SystemTools::Fopen(fName.c_str(),"w");
+ if (progFile)
+ {
+ fprintf(progFile,"%i\n",count);
+ fclose(progFile);
+ }
+ }
+ return 0;
+ }
+
+ // Command to report progress for a build
+ else if (args[1] == "cmake_progress_report" && args.size() >= 3)
+ {
+ std::string dirName = args[2];
+ dirName += "/Progress";
+ std::string fName;
+ FILE *progFile;
+
+ // read the count
+ fName = dirName;
+ fName += "/count.txt";
+ progFile = cmsys::SystemTools::Fopen(fName.c_str(),"r");
+ int count = 0;
+ if (!progFile)
+ {
+ return 0;
+ }
+ else
+ {
+ if (1!=fscanf(progFile,"%i",&count))
+ {
+ cmSystemTools::Message("Could not read from progress file.");
+ }
+ fclose(progFile);
+ }
+ unsigned int i;
+ for (i = 3; i < args.size(); ++i)
+ {
+ fName = dirName;
+ fName += "/";
+ fName += args[i];
+ progFile = cmsys::SystemTools::Fopen(fName.c_str(),"w");
+ if (progFile)
+ {
+ fprintf(progFile,"empty");
+ fclose(progFile);
+ }
+ }
+ int fileNum = static_cast<int>
+ (cmsys::Directory::GetNumberOfFilesInDirectory(dirName.c_str()));
+ if (count > 0)
+ {
+ // print the progress
+ fprintf(stdout,"[%3i%%] ",((fileNum-3)*100)/count);
+ }
+ return 0;
+ }
+
+ // Command to create a symbolic link. Fails on platforms not
+ // supporting them.
+ else if (args[1] == "create_symlink" && args.size() == 4)
+ {
+ const char* destinationFileName = args[3].c_str();
+ if((cmSystemTools::FileExists(destinationFileName) ||
+ cmSystemTools::FileIsSymlink(destinationFileName)) &&
+ !cmSystemTools::RemoveFile(destinationFileName))
+ {
+ std::string emsg = cmSystemTools::GetLastSystemError();
+ std::cerr <<
+ "failed to create symbolic link '" << destinationFileName <<
+ "' because existing path cannot be removed: " << emsg << "\n";
+ return 1;
+ }
+ if(!cmSystemTools::CreateSymlink(args[2].c_str(), args[3].c_str()))
+ {
+ std::string emsg = cmSystemTools::GetLastSystemError();
+ std::cerr <<
+ "failed to create symbolic link '" << destinationFileName <<
+ "': " << emsg << "\n";
+ return 1;
+ }
+ return 0;
+ }
+
+ // Internal CMake shared library support.
+ else if (args[1] == "cmake_symlink_library" && args.size() == 5)
+ {
+ return cmcmd::SymlinkLibrary(args);
+ }
+ // Internal CMake versioned executable support.
+ else if (args[1] == "cmake_symlink_executable" && args.size() == 4)
+ {
+ return cmcmd::SymlinkExecutable(args);
+ }
+
+#if defined(CMAKE_HAVE_VS_GENERATORS)
+ // Internal CMake support for calling Visual Studio macros.
+ else if (args[1] == "cmake_call_visual_studio_macro" && args.size() >= 4)
+ {
+ // args[2] = full path to .sln file or "ALL"
+ // args[3] = name of Visual Studio macro to call
+ // args[4..args.size()-1] = [optional] args for Visual Studio macro
+
+ std::string macroArgs;
+
+ if (args.size() > 4)
+ {
+ macroArgs = args[4];
+
+ for (size_t i = 5; i < args.size(); ++i)
+ {
+ macroArgs += " ";
+ macroArgs += args[i];
+ }
+ }
+
+ return cmCallVisualStudioMacro::CallMacro(args[2], args[3],
+ macroArgs, true);
+ }
+#endif
+
+ // Internal CMake dependency scanning support.
+ else if (args[1] == "cmake_depends" && args.size() >= 6)
+ {
+ // Use the make system's VERBOSE environment variable to enable
+ // verbose output. This can be skipped by also setting CMAKE_NO_VERBOSE
+ // (which is set by the Eclipse and KDevelop generators).
+ bool verbose = ((cmSystemTools::GetEnv("VERBOSE") != 0)
+ && (cmSystemTools::GetEnv("CMAKE_NO_VERBOSE") == 0));
+
+ // Create a cmake object instance to process dependencies.
+ cmake cm;
+ std::string gen;
+ std::string homeDir;
+ std::string startDir;
+ std::string homeOutDir;
+ std::string startOutDir;
+ std::string depInfo;
+ bool color = false;
+ if(args.size() >= 8)
+ {
+ // Full signature:
+ //
+ // -E cmake_depends <generator>
+ // <home-src-dir> <start-src-dir>
+ // <home-out-dir> <start-out-dir>
+ // <dep-info> [--color=$(COLOR)]
+ //
+ // All paths are provided.
+ gen = args[2];
+ homeDir = args[3];
+ startDir = args[4];
+ homeOutDir = args[5];
+ startOutDir = args[6];
+ depInfo = args[7];
+ if(args.size() >= 9 &&
+ args[8].length() >= 8 &&
+ args[8].substr(0, 8) == "--color=")
+ {
+ // Enable or disable color based on the switch value.
+ color = (args[8].size() == 8 ||
+ cmSystemTools::IsOn(args[8].substr(8).c_str()));
+ }
+ }
+ else
+ {
+ // Support older signature for existing makefiles:
+ //
+ // -E cmake_depends <generator>
+ // <home-out-dir> <start-out-dir>
+ // <dep-info>
+ //
+ // Just pretend the source directories are the same as the
+ // binary directories so at least scanning will work.
+ gen = args[2];
+ homeDir = args[3];
+ startDir = args[4];
+ homeOutDir = args[3];
+ startOutDir = args[3];
+ depInfo = args[5];
+ }
+
+ // Create a local generator configured for the directory in
+ // which dependencies will be scanned.
+ homeDir = cmSystemTools::CollapseFullPath(homeDir.c_str());
+ startDir = cmSystemTools::CollapseFullPath(startDir.c_str());
+ homeOutDir = cmSystemTools::CollapseFullPath(homeOutDir.c_str());
+ startOutDir = cmSystemTools::CollapseFullPath(startOutDir.c_str());
+ cm.SetHomeDirectory(homeDir.c_str());
+ cm.SetStartDirectory(startDir.c_str());
+ cm.SetHomeOutputDirectory(homeOutDir.c_str());
+ cm.SetStartOutputDirectory(startOutDir.c_str());
+ if(cmGlobalGenerator* ggd = cm.CreateGlobalGenerator(gen.c_str()))
+ {
+ cm.SetGlobalGenerator(ggd);
+ cmsys::auto_ptr<cmLocalGenerator> lgd(ggd->CreateLocalGenerator());
+ lgd->GetMakefile()->SetStartDirectory(startDir.c_str());
+ lgd->GetMakefile()->SetStartOutputDirectory(startOutDir.c_str());
+ lgd->GetMakefile()->MakeStartDirectoriesCurrent();
+
+ // Actually scan dependencies.
+ return lgd->UpdateDependencies(depInfo.c_str(),
+ verbose, color)? 0 : 2;
+ }
+ return 1;
+ }
+
+ // Internal CMake link script support.
+ else if (args[1] == "cmake_link_script" && args.size() >= 3)
+ {
+ return cmcmd::ExecuteLinkScript(args);
+ }
+
+ // Internal CMake unimplemented feature notification.
+ else if (args[1] == "cmake_unimplemented_variable")
+ {
+ std::cerr << "Feature not implemented for this platform.";
+ if(args.size() == 3)
+ {
+ std::cerr << " Variable " << args[2] << " is not set.";
+ }
+ std::cerr << std::endl;
+ return 1;
+ }
+ else if (args[1] == "vs_link_exe")
+ {
+ return cmcmd::VisualStudioLink(args, 1);
+ }
+ else if (args[1] == "vs_link_dll")
+ {
+ return cmcmd::VisualStudioLink(args, 2);
+ }
+#ifdef CMAKE_BUILD_WITH_CMAKE
+ // Internal CMake color makefile support.
+ else if (args[1] == "cmake_echo_color")
+ {
+ return cmcmd::ExecuteEchoColor(args);
+ }
+ else if (args[1] == "cmake_autogen" && args.size() >= 4)
+ {
+ cmQtAutoGenerators autogen;
+ const char *config = args[3].empty() ? 0 : args[3].c_str();
+ bool autogenSuccess = autogen.Run(args[2].c_str(), config);
+ return autogenSuccess ? 0 : 1;
+ }
+#endif
+
+ // Tar files
+ else if (args[1] == "tar" && args.size() > 3)
+ {
+ std::string flags = args[2];
+ std::string outFile = args[3];
+ std::vector<cmStdString> files;
+ for (std::string::size_type cc = 4; cc < args.size(); cc ++)
+ {
+ files.push_back(args[cc]);
+ }
+ bool gzip = false;
+ bool bzip2 = false;
+ bool verbose = false;
+ if ( flags.find_first_of('j') != flags.npos )
+ {
+ bzip2 = true;
+ }
+ if ( flags.find_first_of('z') != flags.npos )
+ {
+ gzip = true;
+ }
+ if ( flags.find_first_of('v') != flags.npos )
+ {
+ verbose = true;
+ }
+
+ if ( flags.find_first_of('t') != flags.npos )
+ {
+ if ( !cmSystemTools::ListTar(outFile.c_str(), gzip, verbose) )
+ {
+ cmSystemTools::Error("Problem creating tar: ", outFile.c_str());
+ return 1;
+ }
+ }
+ else if ( flags.find_first_of('c') != flags.npos )
+ {
+ if ( !cmSystemTools::CreateTar(
+ outFile.c_str(), files, gzip, bzip2, verbose) )
+ {
+ cmSystemTools::Error("Problem creating tar: ", outFile.c_str());
+ return 1;
+ }
+ }
+ else if ( flags.find_first_of('x') != flags.npos )
+ {
+ if ( !cmSystemTools::ExtractTar(
+ outFile.c_str(), gzip, verbose) )
+ {
+ cmSystemTools::Error("Problem extracting tar: ", outFile.c_str());
+ return 1;
+ }
+#ifdef WIN32
+ // OK, on windows 7 after we untar some files,
+ // sometimes we can not rename the directory after
+ // the untar is done. This breaks the external project
+ // untar and rename code. So, by default we will wait
+ // 1/10th of a second after the untar. If CMAKE_UNTAR_DELAY
+ // is set in the env, its value will be used instead of 100.
+ int delay = 100;
+ const char* delayVar = cmSystemTools::GetEnv("CMAKE_UNTAR_DELAY");
+ if(delayVar)
+ {
+ delay = atoi(delayVar);
+ }
+ if(delay)
+ {
+ cmSystemTools::Delay(delay);
+ }
+#endif
+ }
+ return 0;
+ }
+
+#if defined(CMAKE_BUILD_WITH_CMAKE)
+ // Internal CMake Fortran module support.
+ else if (args[1] == "cmake_copy_f90_mod" && args.size() >= 4)
+ {
+ return cmDependsFortran::CopyModule(args)? 0 : 1;
+ }
+#endif
+
+#if defined(_WIN32) && !defined(__CYGWIN__)
+ // Write registry value
+ else if (args[1] == "write_regv" && args.size() > 3)
+ {
+ return cmSystemTools::WriteRegistryValue(args[2].c_str(),
+ args[3].c_str()) ? 0 : 1;
+ }
+
+ // Delete registry value
+ else if (args[1] == "delete_regv" && args.size() > 2)
+ {
+ return cmSystemTools::DeleteRegistryValue(args[2].c_str()) ? 0 : 1;
+ }
+ // Remove file
+ else if (args[1] == "comspec" && args.size() > 2)
+ {
+ std::cerr << "Win9x helper \"cmake -E comspec\" no longer supported\n";
+ return 1;
+ }
+ else if (args[1] == "env_vs8_wince" && args.size() == 3)
+ {
+ return cmcmd::WindowsCEEnvironment("8.0", args[2]);
+ }
+ else if (args[1] == "env_vs9_wince" && args.size() == 3)
+ {
+ return cmcmd::WindowsCEEnvironment("9.0", args[2]);
+ }
+#endif
+ }
+
+ ::CMakeCommandUsage(args[0].c_str());
+ return 1;
+}
+
+//----------------------------------------------------------------------------
+int cmcmd::SymlinkLibrary(std::vector<std::string>& args)
+{
+ int result = 0;
+ std::string realName = args[2];
+ std::string soName = args[3];
+ std::string name = args[4];
+ if(soName != realName)
+ {
+ if(!cmcmd::SymlinkInternal(realName, soName))
+ {
+ cmSystemTools::ReportLastSystemError("cmake_symlink_library");
+ result = 1;
+ }
+ }
+ if(name != soName)
+ {
+ if(!cmcmd::SymlinkInternal(soName, name))
+ {
+ cmSystemTools::ReportLastSystemError("cmake_symlink_library");
+ result = 1;
+ }
+ }
+ return result;
+}
+
+//----------------------------------------------------------------------------
+int cmcmd::SymlinkExecutable(std::vector<std::string>& args)
+{
+ int result = 0;
+ std::string realName = args[2];
+ std::string name = args[3];
+ if(name != realName)
+ {
+ if(!cmcmd::SymlinkInternal(realName, name))
+ {
+ cmSystemTools::ReportLastSystemError("cmake_symlink_executable");
+ result = 1;
+ }
+ }
+ return result;
+}
+
+//----------------------------------------------------------------------------
+bool cmcmd::SymlinkInternal(std::string const& file, std::string const& link)
+{
+ if(cmSystemTools::FileExists(link.c_str()) ||
+ cmSystemTools::FileIsSymlink(link.c_str()))
+ {
+ cmSystemTools::RemoveFile(link.c_str());
+ }
+#if defined(_WIN32) && !defined(__CYGWIN__)
+ return cmSystemTools::CopyFileAlways(file.c_str(), link.c_str());
+#else
+ std::string linktext = cmSystemTools::GetFilenameName(file);
+ return cmSystemTools::CreateSymlink(linktext.c_str(), link.c_str());
+#endif
+}
+
+//----------------------------------------------------------------------------
+#ifdef CMAKE_BUILD_WITH_CMAKE
+int cmcmd::ExecuteEchoColor(std::vector<std::string>& args)
+{
+ // The arguments are
+ // argv[0] == <cmake-executable>
+ // argv[1] == cmake_echo_color
+
+ bool enabled = true;
+ int color = cmsysTerminal_Color_Normal;
+ bool newline = true;
+ for(unsigned int i=2; i < args.size(); ++i)
+ {
+ if(args[i].find("--switch=") == 0)
+ {
+ // Enable or disable color based on the switch value.
+ std::string value = args[i].substr(9);
+ if(!value.empty())
+ {
+ if(cmSystemTools::IsOn(value.c_str()))
+ {
+ enabled = true;
+ }
+ else
+ {
+ enabled = false;
+ }
+ }
+ }
+ else if(args[i] == "--normal")
+ {
+ color = cmsysTerminal_Color_Normal;
+ }
+ else if(args[i] == "--black")
+ {
+ color = cmsysTerminal_Color_ForegroundBlack;
+ }
+ else if(args[i] == "--red")
+ {
+ color = cmsysTerminal_Color_ForegroundRed;
+ }
+ else if(args[i] == "--green")
+ {
+ color = cmsysTerminal_Color_ForegroundGreen;
+ }
+ else if(args[i] == "--yellow")
+ {
+ color = cmsysTerminal_Color_ForegroundYellow;
+ }
+ else if(args[i] == "--blue")
+ {
+ color = cmsysTerminal_Color_ForegroundBlue;
+ }
+ else if(args[i] == "--magenta")
+ {
+ color = cmsysTerminal_Color_ForegroundMagenta;
+ }
+ else if(args[i] == "--cyan")
+ {
+ color = cmsysTerminal_Color_ForegroundCyan;
+ }
+ else if(args[i] == "--white")
+ {
+ color = cmsysTerminal_Color_ForegroundWhite;
+ }
+ else if(args[i] == "--bold")
+ {
+ color |= cmsysTerminal_Color_ForegroundBold;
+ }
+ else if(args[i] == "--no-newline")
+ {
+ newline = false;
+ }
+ else if(args[i] == "--newline")
+ {
+ newline = true;
+ }
+ else
+ {
+ // Color is enabled. Print with the current color.
+ cmSystemTools::MakefileColorEcho(color, args[i].c_str(),
+ newline, enabled);
+ }
+ }
+
+ return 0;
+}
+#else
+int cmcmd::ExecuteEchoColor(std::vector<std::string>&)
+{
+ return 1;
+}
+#endif
+
+//----------------------------------------------------------------------------
+int cmcmd::ExecuteLinkScript(std::vector<std::string>& args)
+{
+ // The arguments are
+ // argv[0] == <cmake-executable>
+ // argv[1] == cmake_link_script
+ // argv[2] == <link-script-name>
+ // argv[3] == --verbose=?
+ bool verbose = false;
+ if(args.size() >= 4)
+ {
+ if(args[3].find("--verbose=") == 0)
+ {
+ if(!cmSystemTools::IsOff(args[3].substr(10).c_str()))
+ {
+ verbose = true;
+ }
+ }
+ }
+
+ // Allocate a process instance.
+ cmsysProcess* cp = cmsysProcess_New();
+ if(!cp)
+ {
+ std::cerr << "Error allocating process instance in link script."
+ << std::endl;
+ return 1;
+ }
+
+ // Children should share stdout and stderr with this process.
+ cmsysProcess_SetPipeShared(cp, cmsysProcess_Pipe_STDOUT, 1);
+ cmsysProcess_SetPipeShared(cp, cmsysProcess_Pipe_STDERR, 1);
+
+ // Run the command lines verbatim.
+ cmsysProcess_SetOption(cp, cmsysProcess_Option_Verbatim, 1);
+
+ // Read command lines from the script.
+ cmsys::ifstream fin(args[2].c_str());
+ if(!fin)
+ {
+ std::cerr << "Error opening link script \""
+ << args[2] << "\"" << std::endl;
+ return 1;
+ }
+
+ // Run one command at a time.
+ std::string command;
+ int result = 0;
+ while(result == 0 && cmSystemTools::GetLineFromStream(fin, command))
+ {
+ // Skip empty command lines.
+ if(command.find_first_not_of(" \t") == command.npos)
+ {
+ continue;
+ }
+
+ // Setup this command line.
+ const char* cmd[2] = {command.c_str(), 0};
+ cmsysProcess_SetCommand(cp, cmd);
+
+ // Report the command if verbose output is enabled.
+ if(verbose)
+ {
+ std::cout << command << std::endl;
+ }
+
+ // Run the command and wait for it to exit.
+ cmsysProcess_Execute(cp);
+ cmsysProcess_WaitForExit(cp, 0);
+
+ // Report failure if any.
+ switch(cmsysProcess_GetState(cp))
+ {
+ case cmsysProcess_State_Exited:
+ {
+ int value = cmsysProcess_GetExitValue(cp);
+ if(value != 0)
+ {
+ result = value;
+ }
+ }
+ break;
+ case cmsysProcess_State_Exception:
+ std::cerr << "Error running link command: "
+ << cmsysProcess_GetExceptionString(cp) << std::endl;
+ result = 1;
+ break;
+ case cmsysProcess_State_Error:
+ std::cerr << "Error running link command: "
+ << cmsysProcess_GetErrorString(cp) << std::endl;
+ result = 2;
+ break;
+ default:
+ break;
+ };
+ }
+
+ // Free the process instance.
+ cmsysProcess_Delete(cp);
+
+ // Return the final resulting return value.
+ return result;
+}
+
+//----------------------------------------------------------------------------
+int cmcmd::WindowsCEEnvironment(const char* version, const std::string& name)
+{
+#if defined(CMAKE_HAVE_VS_GENERATORS)
+ cmVisualStudioWCEPlatformParser parser(name.c_str());
+ parser.ParseVersion(version);
+ if (parser.Found())
+ {
+ std::cout << "@echo off" << std::endl;
+ std::cout << "echo Environment Selection: " << name << std::endl;
+ std::cout << "set PATH=" << parser.GetPathDirectories() << std::endl;
+ std::cout << "set INCLUDE=" << parser.GetIncludeDirectories() <<std::endl;
+ std::cout << "set LIB=" << parser.GetLibraryDirectories() <<std::endl;
+ return 0;
+ }
+#else
+ (void)version;
+#endif
+
+ std::cerr << "Could not find " << name;
+ return -1;
+}
+
+// For visual studio 2005 and newer manifest files need to be embedded into
+// exe and dll's. This code does that in such a way that incremental linking
+// still works.
+int cmcmd::VisualStudioLink(std::vector<std::string>& args, int type)
+{
+ if(args.size() < 2)
+ {
+ return -1;
+ }
+ bool verbose = false;
+ if(cmSystemTools::GetEnv("VERBOSE"))
+ {
+ verbose = true;
+ }
+ std::vector<std::string> expandedArgs;
+ for(std::vector<std::string>::iterator i = args.begin();
+ i != args.end(); ++i)
+ {
+ // check for nmake temporary files
+ if((*i)[0] == '@' && i->find("@CMakeFiles") != 0 )
+ {
+ cmsys::ifstream fin(i->substr(1).c_str());
+ std::string line;
+ while(cmSystemTools::GetLineFromStream(fin,
+ line))
+ {
+ cmSystemTools::ParseWindowsCommandLine(line.c_str(), expandedArgs);
+ }
+ }
+ else
+ {
+ expandedArgs.push_back(*i);
+ }
+ }
+ bool hasIncremental = false;
+ bool hasManifest = true;
+ for(std::vector<std::string>::iterator i = expandedArgs.begin();
+ i != expandedArgs.end(); ++i)
+ {
+ if(cmSystemTools::Strucmp(i->c_str(), "/INCREMENTAL:YES") == 0)
+ {
+ hasIncremental = true;
+ }
+ if(cmSystemTools::Strucmp(i->c_str(), "/INCREMENTAL") == 0)
+ {
+ hasIncremental = true;
+ }
+ if(cmSystemTools::Strucmp(i->c_str(), "/MANIFEST:NO") == 0)
+ {
+ hasManifest = false;
+ }
+ }
+ if(hasIncremental && hasManifest)
+ {
+ if(verbose)
+ {
+ std::cout << "Visual Studio Incremental Link with embedded manifests\n";
+ }
+ return cmcmd::VisualStudioLinkIncremental(expandedArgs, type, verbose);
+ }
+ if(verbose)
+ {
+ if(!hasIncremental)
+ {
+ std::cout << "Visual Studio Non-Incremental Link\n";
+ }
+ else
+ {
+ std::cout << "Visual Studio Incremental Link without manifests\n";
+ }
+ }
+ return cmcmd::VisualStudioLinkNonIncremental(expandedArgs,
+ type, hasManifest, verbose);
+}
+
+int cmcmd::ParseVisualStudioLinkCommand(std::vector<std::string>& args,
+ std::vector<cmStdString>& command,
+ std::string& targetName)
+{
+ std::vector<std::string>::iterator i = args.begin();
+ i++; // skip -E
+ i++; // skip vs_link_dll or vs_link_exe
+ command.push_back(*i);
+ i++; // move past link command
+ for(; i != args.end(); ++i)
+ {
+ command.push_back(*i);
+ if(i->find("/Fe") == 0)
+ {
+ targetName = i->substr(3);
+ }
+ if(i->find("/out:") == 0)
+ {
+ targetName = i->substr(5);
+ }
+ }
+ if(targetName.size() == 0 || command.size() == 0)
+ {
+ return -1;
+ }
+ return 0;
+}
+
+bool cmcmd::RunCommand(const char* comment,
+ std::vector<cmStdString>& command,
+ bool verbose,
+ int* retCodeOut)
+{
+ if(verbose)
+ {
+ std::cout << comment << ":\n";
+ for(std::vector<cmStdString>::iterator i = command.begin();
+ i != command.end(); ++i)
+ {
+ std::cout << i->c_str() << " ";
+ }
+ std::cout << "\n";
+ }
+ std::string output;
+ int retCode =0;
+ // use rc command to create .res file
+ cmSystemTools::RunSingleCommand(command,
+ &output,
+ &retCode, 0, cmSystemTools::OUTPUT_NONE);
+ // always print the output of the command, unless
+ // it is the dumb rc command banner, but if the command
+ // returned an error code then print the output anyway as
+ // the banner may be mixed with some other important information.
+ if(output.find("Resource Compiler Version") == output.npos
+ || retCode !=0)
+ {
+ std::cout << output;
+ }
+ // if retCodeOut is requested then always return true
+ // and set the retCodeOut to retCode
+ if(retCodeOut)
+ {
+ *retCodeOut = retCode;
+ return true;
+ }
+ if(retCode != 0)
+ {
+ std::cout << comment << " failed. with " << retCode << "\n";
+ }
+ return retCode == 0;
+}
+
+int cmcmd::VisualStudioLinkIncremental(std::vector<std::string>& args,
+ int type, bool verbose)
+{
+ // This follows the steps listed here:
+ // http://blogs.msdn.com/zakramer/archive/2006/05/22/603558.aspx
+
+ // 1. Compiler compiles the application and generates the *.obj files.
+ // 2. An empty manifest file is generated if this is a clean build and if
+ // not the previous one is reused.
+ // 3. The resource compiler (rc.exe) compiles the *.manifest file to a
+ // *.res file.
+ // 4. Linker generates the binary (EXE or DLL) with the /incremental
+ // switch and embeds the dummy manifest file. The linker also generates
+ // the real manifest file based on the binaries that your binary depends
+ // on.
+ // 5. The manifest tool (mt.exe) is then used to generate the final
+ // manifest.
+
+ // If the final manifest is changed, then 6 and 7 are run, if not
+ // they are skipped, and it is done.
+
+ // 6. The resource compiler is invoked one more time.
+ // 7. Finally, the Linker does another incremental link, but since the
+ // only thing that has changed is the *.res file that contains the
+ // manifest it is a short link.
+ std::vector<cmStdString> linkCommand;
+ std::string targetName;
+ if(cmcmd::ParseVisualStudioLinkCommand(args, linkCommand, targetName) == -1)
+ {
+ return -1;
+ }
+ std::string manifestArg = "/MANIFESTFILE:";
+ std::vector<cmStdString> rcCommand;
+ rcCommand.push_back(cmSystemTools::FindProgram("rc.exe"));
+ std::vector<cmStdString> mtCommand;
+ mtCommand.push_back(cmSystemTools::FindProgram("mt.exe"));
+ std::string tempManifest;
+ tempManifest = targetName;
+ tempManifest += ".intermediate.manifest";
+ std::string resourceInputFile = targetName;
+ resourceInputFile += ".resource.txt";
+ if(verbose)
+ {
+ std::cout << "Create " << resourceInputFile.c_str() << "\n";
+ }
+ // Create input file for rc command
+ cmsys::ofstream fout(resourceInputFile.c_str());
+ if(!fout)
+ {
+ return -1;
+ }
+ std::string manifestFile = targetName;
+ manifestFile += ".embed.manifest";
+ std::string fullPath= cmSystemTools::CollapseFullPath(manifestFile.c_str());
+ fout << type << " /* CREATEPROCESS_MANIFEST_RESOURCE_ID "
+ "*/ 24 /* RT_MANIFEST */ " << "\"" << fullPath.c_str() << "\"";
+ fout.close();
+ manifestArg += tempManifest;
+ // add the manifest arg to the linkCommand
+ linkCommand.push_back("/MANIFEST");
+ linkCommand.push_back(manifestArg);
+ // if manifestFile is not yet created, create an
+ // empty one
+ if(!cmSystemTools::FileExists(manifestFile.c_str()))
+ {
+ if(verbose)
+ {
+ std::cout << "Create empty: " << manifestFile.c_str() << "\n";
+ }
+ cmsys::ofstream foutTmp(manifestFile.c_str());
+ }
+ std::string resourceFile = manifestFile;
+ resourceFile += ".res";
+ // add the resource file to the end of the link command
+ linkCommand.push_back(resourceFile);
+ std::string outputOpt = "/fo";
+ outputOpt += resourceFile;
+ rcCommand.push_back(outputOpt);
+ rcCommand.push_back(resourceInputFile);
+ // Run rc command to create resource
+ if(!cmcmd::RunCommand("RC Pass 1", rcCommand, verbose))
+ {
+ return -1;
+ }
+ // Now run the link command to link and create manifest
+ if(!cmcmd::RunCommand("LINK Pass 1", linkCommand, verbose))
+ {
+ return -1;
+ }
+ // create mt command
+ std::string outArg("/out:");
+ outArg+= manifestFile;
+ mtCommand.push_back("/nologo");
+ mtCommand.push_back(outArg);
+ mtCommand.push_back("/notify_update");
+ mtCommand.push_back("/manifest");
+ mtCommand.push_back(tempManifest);
+ // now run mt.exe to create the final manifest file
+ int mtRet =0;
+ cmcmd::RunCommand("MT", mtCommand, verbose, &mtRet);
+ // if mt returns 0, then the manifest was not changed and
+ // we do not need to do another link step
+ if(mtRet == 0)
+ {
+ return 0;
+ }
+ // check for magic mt return value if mt returns the magic number
+ // 1090650113 then it means that it updated the manifest file and we need
+ // to do the final link. If mt has any value other than 0 or 1090650113
+ // then there was some problem with the command itself and there was an
+ // error so return the error code back out of cmake so make can report it.
+ // (when hosted on a posix system the value is 187)
+ if(mtRet != 1090650113 && mtRet != 187)
+ {
+ return mtRet;
+ }
+ // update the resource file with the new manifest from the mt command.
+ if(!cmcmd::RunCommand("RC Pass 2", rcCommand, verbose))
+ {
+ return -1;
+ }
+ // Run the final incremental link that will put the new manifest resource
+ // into the file incrementally.
+ if(!cmcmd::RunCommand("FINAL LINK", linkCommand, verbose))
+ {
+ return -1;
+ }
+ return 0;
+}
+
+int cmcmd::VisualStudioLinkNonIncremental(std::vector<std::string>& args,
+ int type,
+ bool hasManifest,
+ bool verbose)
+{
+ std::vector<cmStdString> linkCommand;
+ std::string targetName;
+ if(cmcmd::ParseVisualStudioLinkCommand(args, linkCommand, targetName) == -1)
+ {
+ return -1;
+ }
+ // Run the link command as given
+ if (hasManifest)
+ {
+ linkCommand.push_back("/MANIFEST");
+ }
+ if(!cmcmd::RunCommand("LINK", linkCommand, verbose))
+ {
+ return -1;
+ }
+ if(!hasManifest)
+ {
+ return 0;
+ }
+ std::vector<cmStdString> mtCommand;
+ mtCommand.push_back(cmSystemTools::FindProgram("mt.exe"));
+ mtCommand.push_back("/nologo");
+ mtCommand.push_back("/manifest");
+ std::string manifestFile = targetName;
+ manifestFile += ".manifest";
+ mtCommand.push_back(manifestFile);
+ std::string outresource = "/outputresource:";
+ outresource += targetName;
+ outresource += ";#";
+ if(type == 1)
+ {
+ outresource += "1";
+ }
+ else if(type == 2)
+ {
+ outresource += "2";
+ }
+ mtCommand.push_back(outresource);
+ // Now use the mt tool to embed the manifest into the exe or dll
+ if(!cmcmd::RunCommand("MT", mtCommand, verbose))
+ {
+ return -1;
+ }
+ return 0;
+}
diff --git a/Source/cmcmd.h b/Source/cmcmd.h
new file mode 100644
index 0000000..4517ebf
--- /dev/null
+++ b/Source/cmcmd.h
@@ -0,0 +1,54 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+
+#ifndef cmcmd_h
+#define cmcmd_h
+
+#include "cmStandardIncludes.h"
+
+class cmcmd
+{
+public:
+
+ /**
+ * Execute commands during the build process. Supports options such
+ * as echo, remove file etc.
+ */
+ static int ExecuteCMakeCommand(std::vector<std::string>&);
+protected:
+
+ static int SymlinkLibrary(std::vector<std::string>& args);
+ static int SymlinkExecutable(std::vector<std::string>& args);
+ static bool SymlinkInternal(std::string const& file,
+ std::string const& link);
+ static int ExecuteEchoColor(std::vector<std::string>& args);
+ static int ExecuteLinkScript(std::vector<std::string>& args);
+ static int WindowsCEEnvironment(const char* version,
+ const std::string& name);
+ static int VisualStudioLink(std::vector<std::string>& args, int type);
+ static int VisualStudioLinkIncremental(std::vector<std::string>& args,
+ int type,
+ bool verbose);
+ static int VisualStudioLinkNonIncremental(std::vector<std::string>& args,
+ int type,
+ bool hasManifest,
+ bool verbose);
+ static int ParseVisualStudioLinkCommand(std::vector<std::string>& args,
+ std::vector<cmStdString>& command,
+ std::string& targetName);
+ static bool RunCommand(const char* comment,
+ std::vector<cmStdString>& command,
+ bool verbose,
+ int* retCodeOut = 0);
+};
+
+#endif
diff --git a/Source/cmw9xcom.cxx b/Source/cmw9xcom.cxx
deleted file mode 100644
index ab238d5..0000000
--- a/Source/cmw9xcom.cxx
+++ /dev/null
@@ -1,45 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-#include "cmSystemTools.h"
-#include "cmWin32ProcessExecution.h"
-
-// this is a test driver program for cmake.
-int main (int argc, char *argv[])
-{
- cmSystemTools::EnableMSVCDebugHook();
- if ( argc <= 1 )
- {
- std::cerr << "Usage: " << argv[0] << " executable" << std::endl;
- return 1;
- }
- std::string arg = argv[1];
- if ( (arg.find_first_of(" ") != arg.npos) &&
- (arg.find_first_of("\"") == arg.npos) )
- {
- arg = "\"" + arg + "\"";
- }
- std::string command = arg;
- int cc;
- for ( cc = 2; cc < argc; cc ++ )
- {
- std::string nextArg = argv[cc];
- if ( (nextArg.find_first_of(" ") != nextArg.npos) &&
- (nextArg.find_first_of("\"") == nextArg.npos) )
- {
- nextArg = "\"" + nextArg + "\"";
- }
- command += " ";
- command += nextArg;
- }
-
- return cmWin32ProcessExecution::Windows9xHack(command.c_str());
-}
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index e767a16..3eb5551 100644
--- a/Source/ctest.cxx
+++ b/Source/ctest.cxx
@@ -18,256 +18,110 @@
#include "CTest/cmCTestScriptHandler.h"
#include "CTest/cmCTestLaunch.h"
+#include "cmsys/Encoding.hxx"
//----------------------------------------------------------------------------
-static const char * cmDocumentationName[][3] =
+static const char * cmDocumentationName[][2] =
{
{0,
- " ctest - Testing driver provided by CMake.", 0},
- {0,0,0}
+ " ctest - Testing driver provided by CMake."},
+ {0,0}
};
//----------------------------------------------------------------------------
-static const char * cmDocumentationUsage[][3] =
+static const char * cmDocumentationUsage[][2] =
{
{0,
- " ctest [options]", 0},
- {0,0,0}
+ " ctest [options]"},
+ {0,0}
};
//----------------------------------------------------------------------------
-static const char * cmDocumentationDescription[][3] =
-{
- {0,
- "The \"ctest\" executable is the CMake test driver program. "
- "CMake-generated build trees created for projects that use "
- "the ENABLE_TESTING and ADD_TEST commands have testing support. "
- "This program will run the tests and report results.", 0},
- {0,0,0}
-};
-
//----------------------------------------------------------------------------
-static const char * cmDocumentationOptions[][3] =
+static const char * cmDocumentationOptions[][2] =
{
- {"-C <cfg>, --build-config <cfg>", "Choose configuration to test.",
- "Some CMake-generated build trees can have multiple build configurations "
- "in the same tree. This option can be used to specify which one should "
- "be tested. Example configurations are \"Debug\" and \"Release\"."},
- {"-V,--verbose", "Enable verbose output from tests.",
- "Test output is normally suppressed and only summary information is "
- "displayed. This option will show all test output."},
- {"-VV,--extra-verbose", "Enable more verbose output from tests.",
- "Test output is normally suppressed and only summary information is "
- "displayed. This option will show even more test output."},
- {"--debug", "Displaying more verbose internals of CTest.",
- "This feature will result in a large number of output that is mostly "
- "useful for debugging dashboard problems."},
- {"--output-on-failure", "Output anything outputted by the test program "
- "if the test should fail. This option can also be enabled by setting "
- "the environment variable CTEST_OUTPUT_ON_FAILURE"},
- {"-F", "Enable failover.", "This option allows ctest to resume a test "
- "set execution that was previously interrupted. If no interruption "
- "occurred, the -F option will have no effect."},
+ {"-C <cfg>, --build-config <cfg>", "Choose configuration to test."},
+ {"-V,--verbose", "Enable verbose output from tests."},
+ {"-VV,--extra-verbose", "Enable more verbose output from tests."},
+ {"--debug", "Displaying more verbose internals of CTest."},
+ {"--output-on-failure"},
+ {"-F", "Enable failover."},
{"-j <jobs>, --parallel <jobs>", "Run the tests in parallel using the"
- "given number of jobs.",
- "This option tells ctest to run the tests in parallel using given "
- "number of jobs. This option can also be set by setting "
- "the environment variable CTEST_PARALLEL_LEVEL."},
- {"-Q,--quiet", "Make ctest quiet.",
- "This option will suppress all the output. The output log file will "
- "still be generated if the --output-log is specified. Options such "
- "as --verbose, --extra-verbose, and --debug are ignored if --quiet is "
- "specified."},
- {"-O <file>, --output-log <file>", "Output to log file",
- "This option tells ctest to write all its output to a log file."},
- {"-N,--show-only", "Disable actual execution of tests.",
- "This option tells ctest to list the tests that would be run but not "
- "actually run them. Useful in conjunction with the -R and -E options."},
+ "given number of jobs."},
+ {"-Q,--quiet", "Make ctest quiet."},
+ {"-O <file>, --output-log <file>", "Output to log file"},
+ {"-N,--show-only", "Disable actual execution of tests."},
{"-L <regex>, --label-regex <regex>", "Run tests with labels matching "
- "regular expression.",
- "This option tells ctest to run only the tests whose labels match the "
- "given regular expression."},
+ "regular expression."},
{"-R <regex>, --tests-regex <regex>", "Run tests matching regular "
- "expression.",
- "This option tells ctest to run only the tests whose names match the "
- "given regular expression."},
+ "expression."},
{"-E <regex>, --exclude-regex <regex>", "Exclude tests matching regular "
- "expression.",
- "This option tells ctest to NOT run the tests whose names match the "
- "given regular expression."},
+ "expression."},
{"-LE <regex>, --label-exclude <regex>", "Exclude tests with labels "
- "matching regular expression.",
- "This option tells ctest to NOT run the tests whose labels match the "
- "given regular expression."},
- {"-D <dashboard>, --dashboard <dashboard>", "Execute dashboard test",
- "This option tells ctest to act as a Dart client and perform "
- "a dashboard test. All tests are <Mode><Test>, where Mode can be "
- "Experimental, Nightly, and Continuous, and Test can be Start, Update, "
- "Configure, Build, Test, Coverage, and Submit."},
- {"-D <var>:<type>=<value>", "Define a variable for script mode",
- "Pass in variable values on the command line. Use in "
- "conjunction with -S to pass variable values to a dashboard script. "
- "Parsing -D arguments as variable values is only attempted if "
- "the value following -D does not match any of the known dashboard "
- "types."},
- {"-M <model>, --test-model <model>", "Sets the model for a dashboard",
- "This option tells ctest to act as a Dart client "
- "where the TestModel can be Experimental, "
- "Nightly, and Continuous. Combining -M and -T is similar to -D"},
+ "matching regular expression."},
+ {"-D <dashboard>, --dashboard <dashboard>", "Execute dashboard test"},
+ {"-D <var>:<type>=<value>", "Define a variable for script mode"},
+ {"-M <model>, --test-model <model>", "Sets the model for a dashboard"},
{"-T <action>, --test-action <action>", "Sets the dashboard action to "
- "perform",
- "This option tells ctest to act as a Dart client "
- "and perform some action such as start, build, test etc. "
- "Combining -M and -T is similar to -D"},
- {"--track <track>", "Specify the track to submit dashboard to",
- "Submit dashboard to specified track instead of default one. By "
- "default, the dashboard is submitted to Nightly, Experimental, or "
- "Continuous track, but by specifying this option, the track can be "
- "arbitrary."},
+ "perform"},
+ {"--track <track>", "Specify the track to submit dashboard to"},
{"-S <script>, --script <script>", "Execute a dashboard for a "
- "configuration",
- "This option tells ctest to load in a configuration script which sets "
- "a number of parameters such as the binary and source directories. Then "
- "ctest will do what is required to create and run a dashboard. This "
- "option basically sets up a dashboard and then runs ctest -D with the "
- "appropriate options."},
+ "configuration"},
{"-SP <script>, --script-new-process <script>", "Execute a dashboard for a "
- "configuration",
- "This option does the same operations as -S but it will do them in a "
- "separate process. This is primarily useful in cases where the script "
- "may modify the environment and you do not want the modified environment "
- "to impact other -S scripts."},
- {"-A <file>, --add-notes <file>", "Add a notes file with submission",
- "This option tells ctest to include a notes file when submitting "
- "dashboard. "},
+ "configuration"},
+ {"-A <file>, --add-notes <file>", "Add a notes file with submission"},
{"-I [Start,End,Stride,test#,test#|Test file], --tests-information",
- "Run a specific number of tests by number.",
- "This option causes ctest to run tests starting at number Start, ending "
- "at number End, and incrementing by Stride. Any additional numbers after "
- "Stride are considered individual test numbers. Start, End,or stride "
- "can be empty. Optionally a file can be given that contains the same "
- "syntax as the command line."},
- {"-U, --union", "Take the Union of -I and -R",
- "When both -R and -I are specified by default the intersection of "
- "tests are run. By specifying -U the union of tests is run instead."},
- {"--max-width <width>", "Set the max width for a test name to output",
- "Set the maximum width for each test name to show in the output. This "
- "allows the user to widen the output to avoid clipping the test name which "
- "can be very annoying."},
- {"--interactive-debug-mode [0|1]", "Set the interactive mode to 0 or 1.",
- "This option causes ctest to run tests in either an interactive mode or "
- "a non-interactive mode. On Windows this means that in non-interactive "
- "mode, all system debug pop up windows are blocked. In dashboard mode "
- "(Experimental, Nightly, Continuous), the default is non-interactive. "
- "When just running tests not for a dashboard the default is to allow "
- "popups and interactive "
- "debugging."},
- {"--no-label-summary", "Disable timing summary information for labels.",
- "This option tells ctest not to print summary information for each label "
- "associated with the tests run. If there are no labels on the "
- "tests, nothing extra is printed."},
- {"--build-and-test", "Configure, build and run a test.",
- "This option tells ctest to configure (i.e. run cmake on), build, and or "
- "execute a test. The configure and test steps are optional. The arguments "
- "to this command line are the source and binary directories. By default "
- "this will run CMake on the Source/Bin directories specified unless "
- "--build-nocmake is specified. Both --build-makeprogram and "
- "--build-generator MUST be provided to use --build-and-test. If "
- "--test-command is specified then that will be run after the build is "
- "complete. Other options that affect this mode are --build-target "
- "--build-nocmake, --build-run-dir, "
- "--build-two-config, --build-exe-dir, --build-project,"
- "--build-noclean, --build-options"},
- {"--build-target", "Specify a specific target to build.",
- "This option goes with the --build-and-test option, if left out the all "
- "target is built." },
- {"--build-nocmake", "Run the build without running cmake first.",
- "Skip the cmake step." },
- {"--build-run-dir", "Specify directory to run programs from.",
- "Directory where programs will be after it has been compiled." },
- {"--build-two-config", "Run CMake twice", "" },
- {"--build-exe-dir", "Specify the directory for the executable.", "" },
- {"--build-generator", "Specify the generator to use.", "" },
- {"--build-generator-toolset", "Specify the generator-specific toolset.",""},
- {"--build-project", "Specify the name of the project to build.", "" },
- {"--build-makeprogram", "Specify the make program to use.", "" },
- {"--build-noclean", "Skip the make clean step.", "" },
+ "Run a specific number of tests by number."},
+ {"-U, --union", "Take the Union of -I and -R"},
+ {"--rerun-failed", "Run only the tests that failed previously"},
+ {"--max-width <width>", "Set the max width for a test name to output"},
+ {"--interactive-debug-mode [0|1]", "Set the interactive mode to 0 or 1."},
+ {"--no-label-summary", "Disable timing summary information for labels."},
+ {"--build-and-test", "Configure, build and run a test."},
+ {"--build-target", "Specify a specific target to build."},
+ {"--build-nocmake", "Run the build without running cmake first."},
+ {"--build-run-dir", "Specify directory to run programs from."},
+ {"--build-two-config", "Run CMake twice"},
+ {"--build-exe-dir", "Specify the directory for the executable."},
+ {"--build-generator", "Specify the generator to use."},
+ {"--build-generator-toolset", "Specify the generator-specific toolset."},
+ {"--build-project", "Specify the name of the project to build."},
+ {"--build-makeprogram", "Specify the make program to use."},
+ {"--build-noclean", "Skip the make clean step."},
{"--build-config-sample",
- "A sample executable to use to determine the configuration",
- "A sample executable to use to determine the configuration that "
- "should be used. e.g. Debug/Release/etc" },
- {"--build-options", "Add extra options to the build step.",
- "This option must be the last option with the exception of --test-command"
- },
+ "A sample executable to use to determine the configuration"},
+ {"--build-options", "Add extra options to the build step."},
- {"--test-command", "The test to run with the --build-and-test option.", ""
- },
- {"--test-timeout", "The time limit in seconds, internal use only.", ""
- },
- {"--tomorrow-tag", "Nightly or experimental starts with next day tag.",
- "This is useful if the build will not finish in one day." },
+ {"--test-command", "The test to run with the --build-and-test option."},
+ {"--test-timeout", "The time limit in seconds, internal use only."},
+ {"--tomorrow-tag", "Nightly or experimental starts with next day tag."},
{"--ctest-config", "The configuration file used to initialize CTest state "
- "when submitting dashboards.",
- "This option tells CTest to use different initialization file instead of "
- "CTestConfiguration.tcl. This way multiple initialization files can be "
- "used for example to submit to multiple dashboards." },
- {"--overwrite", "Overwrite CTest configuration option.",
- "By default ctest uses configuration options from configuration file. "
- "This option will overwrite the configuration option." },
- {"--extra-submit <file>[;<file>]", "Submit extra files to the dashboard.",
- "This option will submit extra files to the dashboard." },
- {"--force-new-ctest-process", "Run child CTest instances as new processes",
- "By default CTest will run child CTest instances within the same process. "
- "If this behavior is not desired, this argument will enforce new "
- "processes for child CTest processes." },
- {"--schedule-random", "Use a random order for scheduling tests",
- "This option will run the tests in a random order. It is commonly used to "
- "detect implicit dependencies in a test suite." },
- {"--submit-index", "Submit individual dashboard tests with specific index",
- "This option allows performing the same CTest action (such as test) "
- "multiple times and submit all stages to the same dashboard (Dart2 "
- "required). Each execution requires different index." },
- {"--timeout <seconds>", "Set a global timeout on all tests.",
- "This option will set a global timeout on all tests that do not already "
- "have a timeout set on them."},
- {"--stop-time <time>", "Set a time at which all tests should stop running.",
- "Set a real time of day at which all tests should timeout. Example: "
- "7:00:00 -0400. Any time format understood by the curl date parser is "
- "accepted. Local time is assumed if no timezone is specified."},
- {"--http1.0", "Submit using HTTP 1.0.",
- "This option will force CTest to use HTTP 1.0 to submit files to the "
- "dashboard, instead of HTTP 1.1."},
- {"--no-compress-output", "Do not compress test output when submitting.",
- "This flag will turn off automatic compression of test output. Use this "
- "to maintain compatibility with an older version of CDash which doesn't "
- "support compressed test output."},
- {"--print-labels", "Print all available test labels.",
- "This option will not run any tests, it will simply print the list of "
- "all labels associated with the test set."},
- {"--help-command <cmd> [<file>]", "Show help for a single command and exit.",
- "Prints the help for the command to stdout or to the specified file." },
- {"--help-command-list [<file>]", "List available commands and exit.",
- "Prints the list of all available listfile commands to stdout or the "
- "specified file." },
- {"--help-commands [<file>]", "Print help for all commands and exit.",
- "Prints the help for all commands to stdout or to the specified file." },
- {0,0,0}
-};
-
-//----------------------------------------------------------------------------
-static const char * cmDocumentationSeeAlso[][3] =
-{
- {0, "cmake", 0},
- {0, "ccmake", 0},
- {0, 0, 0}
+ "when submitting dashboards."},
+ {"--overwrite", "Overwrite CTest configuration option."},
+ {"--extra-submit <file>[;<file>]", "Submit extra files to the dashboard."},
+ {"--force-new-ctest-process", "Run child CTest instances as new processes"},
+ {"--schedule-random", "Use a random order for scheduling tests"},
+ {"--submit-index", "Submit individual dashboard tests with specific index"},
+ {"--timeout <seconds>", "Set a global timeout on all tests."},
+ {"--stop-time <time>",
+ "Set a time at which all tests should stop running."},
+ {"--http1.0", "Submit using HTTP 1.0."},
+ {"--no-compress-output", "Do not compress test output when submitting."},
+ {"--print-labels", "Print all available test labels."},
+ {0,0}
};
// this is a test driver program for cmCTest.
-int main (int argc, char *argv[])
+int main (int argc, char const* const* argv)
{
+ cmsys::Encoding::CommandLineArguments encoding_args =
+ cmsys::Encoding::CommandLineArguments::Main(argc, argv);
+ argc = encoding_args.argc();
+ argv = encoding_args.argv();
+
cmSystemTools::DoNotInheritStdPipes();
cmSystemTools::EnableMSVCDebugHook();
- cmSystemTools::FindExecutableDirectory(argv[0]);
+ cmSystemTools::FindCMakeResources(argv[0]);
// Dispatch 'ctest --launch' mode directly.
if(argc >= 2 && strcmp(argv[1], "--launch") == 0)
@@ -301,21 +155,19 @@ int main (int argc, char *argv[])
doc.addCTestStandardDocSections();
if(doc.CheckOptions(argc, argv))
{
+ cmake hcm;
+ hcm.AddCMakePaths();
+
// Construct and print requested documentation.
- std::vector<cmDocumentationEntry> commands;
cmCTestScriptHandler* ch =
static_cast<cmCTestScriptHandler*>(inst.GetHandler("script"));
ch->CreateCMake();
- ch->GetCommandDocumentation(commands);
doc.SetShowGenerators(false);
doc.SetName("ctest");
doc.SetSection("Name",cmDocumentationName);
doc.SetSection("Usage",cmDocumentationUsage);
- doc.SetSection("Description",cmDocumentationDescription);
doc.PrependSection("Options",cmDocumentationOptions);
- doc.SetSection("Commands",commands);
- doc.SetSeeAlsoList(cmDocumentationSeeAlso);
#ifdef cout
# undef cout
#endif
@@ -324,10 +176,6 @@ int main (int argc, char *argv[])
}
}
-#ifdef _WIN32
- std::string comspec = "cmw9xcom.exe";
- cmSystemTools::SetWindows9xComspecSubstitute(comspec.c_str());
-#endif
// copy the args to a vector
std::vector<std::string> args;
for(int i =0; i < argc; ++i)
diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt
index 0f27836..24ea518 100644
--- a/Source/kwsys/CMakeLists.txt
+++ b/Source/kwsys/CMakeLists.txt
@@ -85,6 +85,9 @@
# written.
CMAKE_MINIMUM_REQUIRED(VERSION 2.6.3 FATAL_ERROR)
+IF(POLICY CMP0025)
+ CMAKE_POLICY(SET CMP0025 NEW)
+ENDIF()
#-----------------------------------------------------------------------------
# If a namespace is not specified, use "kwsys" and enable testing.
@@ -112,6 +115,7 @@ IF(KWSYS_STANDALONE OR CMake_SOURCE_DIR)
SET(KWSYS_USE_Base64 1)
SET(KWSYS_USE_Directory 1)
SET(KWSYS_USE_DynamicLoader 1)
+ SET(KWSYS_USE_Encoding 1)
SET(KWSYS_USE_Glob 1)
SET(KWSYS_USE_MD5 1)
SET(KWSYS_USE_Process 1)
@@ -122,6 +126,7 @@ IF(KWSYS_STANDALONE OR CMake_SOURCE_DIR)
SET(KWSYS_USE_FundamentalType 1)
SET(KWSYS_USE_Terminal 1)
SET(KWSYS_USE_IOStream 1)
+ SET(KWSYS_USE_FStream 1)
SET(KWSYS_USE_String 1)
SET(KWSYS_USE_SystemInformation 1)
SET(KWSYS_USE_CPU 1)
@@ -130,18 +135,32 @@ ENDIF(KWSYS_STANDALONE OR CMake_SOURCE_DIR)
# Enforce component dependencies.
IF(KWSYS_USE_SystemTools)
SET(KWSYS_USE_Directory 1)
+ SET(KWSYS_USE_FStream 1)
+ SET(KWSYS_USE_Encoding 1)
ENDIF(KWSYS_USE_SystemTools)
IF(KWSYS_USE_Glob)
SET(KWSYS_USE_Directory 1)
SET(KWSYS_USE_SystemTools 1)
SET(KWSYS_USE_RegularExpression 1)
+ SET(KWSYS_USE_FStream 1)
+ SET(KWSYS_USE_Encoding 1)
ENDIF(KWSYS_USE_Glob)
IF(KWSYS_USE_Process)
SET(KWSYS_USE_System 1)
+ SET(KWSYS_USE_Encoding 1)
ENDIF(KWSYS_USE_Process)
IF(KWSYS_USE_SystemInformation)
SET(KWSYS_USE_Process 1)
ENDIF(KWSYS_USE_SystemInformation)
+IF(KWSYS_USE_System)
+ SET(KWSYS_USE_Encoding 1)
+ENDIF(KWSYS_USE_System)
+IF(KWSYS_USE_Directory)
+ SET(KWSYS_USE_Encoding 1)
+ENDIF(KWSYS_USE_Directory)
+IF(KWSYS_USE_FStream)
+ SET(KWSYS_USE_Encoding 1)
+ENDIF(KWSYS_USE_FStream)
# Setup the large file support default.
IF(KWSYS_LFS_DISABLE)
@@ -150,6 +169,11 @@ ELSE(KWSYS_LFS_DISABLE)
SET(KWSYS_LFS_REQUESTED 1)
ENDIF(KWSYS_LFS_DISABLE)
+# Specify default 8 bit encoding for Windows
+IF(NOT KWSYS_ENCODING_DEFAULT_CODEPAGE)
+ SET(KWSYS_ENCODING_DEFAULT_CODEPAGE CP_ACP)
+ENDIF(NOT KWSYS_ENCODING_DEFAULT_CODEPAGE)
+
# Enable testing if building standalone.
IF(KWSYS_STANDALONE)
INCLUDE(Dart)
@@ -506,6 +530,12 @@ IF(KWSYS_USE_FundamentalType)
"Checking whether char is signed" DIRECT)
ENDIF(KWSYS_USE_FundamentalType)
+IF(KWSYS_USE_Encoding)
+ # Look for type size helper macros.
+ KWSYS_PLATFORM_CXX_TEST(KWSYS_STL_HAS_WSTRING
+ "Checking whether wstring is available" DIRECT)
+ENDIF(KWSYS_USE_Encoding)
+
IF(KWSYS_USE_IOStream)
# Determine whether iostreams support long long.
SET(KWSYS_PLATFORM_CXX_TEST_DEFINES
@@ -861,8 +891,8 @@ SET(KWSYS_HXX_FILES Configure String
# Add selected C++ classes.
SET(cppclasses
- Directory DynamicLoader Glob RegularExpression SystemTools
- CommandLineArguments IOStream SystemInformation
+ Directory DynamicLoader Encoding Glob RegularExpression SystemTools
+ CommandLineArguments IOStream FStream SystemInformation
)
FOREACH(cpp ${cppclasses})
IF(KWSYS_USE_${cpp})
@@ -878,7 +908,7 @@ ENDFOREACH(cpp)
# Add selected C components.
FOREACH(c
- Process Base64 FundamentalType MD5 Terminal System String CPU
+ Process Base64 Encoding FundamentalType MD5 Terminal System String CPU
)
IF(KWSYS_USE_${c})
# Use the corresponding header file.
@@ -909,16 +939,24 @@ IF(KWSYS_USE_Process)
ENDIF(KWSYS_USE_Process)
# Add selected C sources.
-FOREACH(c Base64 MD5 Terminal System String)
+FOREACH(c Base64 Encoding MD5 Terminal System String)
IF(KWSYS_USE_${c})
- SET(KWSYS_C_SRCS ${KWSYS_C_SRCS} ${c}.c)
+ IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${c}C.c)
+ LIST(APPEND KWSYS_C_SRCS ${c}C.c)
+ ELSE()
+ LIST(APPEND KWSYS_C_SRCS ${c}.c)
+ ENDIF()
ENDIF(KWSYS_USE_${c})
ENDFOREACH(c)
# Configure headers of C++ classes and construct the list of sources.
FOREACH(c ${KWSYS_CLASSES})
# Add this source to the list of source files for the library.
- SET(KWSYS_CXX_SRCS ${KWSYS_CXX_SRCS} ${c}.cxx)
+ IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${c}CXX.cxx)
+ LIST(APPEND KWSYS_CXX_SRCS ${c}CXX.cxx)
+ ELSEIF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${c}.cxx)
+ LIST(APPEND KWSYS_CXX_SRCS ${c}.cxx)
+ ENDIF()
# Configure the header for this class.
CONFIGURE_FILE(${PROJECT_SOURCE_DIR}/${c}.hxx.in ${KWSYS_HEADER_DIR}/${c}.hxx
@@ -1044,6 +1082,12 @@ IF(KWSYS_USE_String)
COMPILE_FLAGS "-DKWSYS_STRING_C")
ENDIF(KWSYS_USE_String)
+IF(KWSYS_USE_Encoding)
+ # Set default 8 bit encoding in "EndcodingC.c".
+ SET_PROPERTY(SOURCE EncodingC.c APPEND PROPERTY COMPILE_DEFINITIONS
+ KWSYS_ENCODING_DEFAULT_CODEPAGE=${KWSYS_ENCODING_DEFAULT_CODEPAGE})
+ENDIF(KWSYS_USE_Encoding)
+
#-----------------------------------------------------------------------------
# Setup testing if not being built as part of another project.
IF(KWSYS_STANDALONE OR CMake_SOURCE_DIR)
@@ -1087,6 +1131,16 @@ IF(KWSYS_STANDALONE OR CMake_SOURCE_DIR)
testCommandLineArguments
testCommandLineArguments1
)
+ IF(KWSYS_STL_HAS_WSTRING)
+ SET(KWSYS_CXX_TESTS ${KWSYS_CXX_TESTS}
+ testEncoding
+ )
+ ENDIF(KWSYS_STL_HAS_WSTRING)
+ IF(KWSYS_USE_FStream)
+ SET(KWSYS_CXX_TESTS ${KWSYS_CXX_TESTS}
+ testFStream
+ )
+ ENDIF(KWSYS_USE_FStream)
IF(KWSYS_USE_SystemInformation)
SET(KWSYS_CXX_TESTS ${KWSYS_CXX_TESTS} testSystemInformation)
ENDIF(KWSYS_USE_SystemInformation)
diff --git a/Source/kwsys/Configure.hxx.in b/Source/kwsys/Configure.hxx.in
index 716b84f..8f5ace2 100644
--- a/Source/kwsys/Configure.hxx.in
+++ b/Source/kwsys/Configure.hxx.in
@@ -36,6 +36,9 @@
/* Whether STL is in std namespace. */
#define @KWSYS_NAMESPACE@_STL_HAVE_STD @KWSYS_STL_HAVE_STD@
+/* Whether wstring is available. */
+#define @KWSYS_NAMESPACE@_STL_HAS_WSTRING @KWSYS_STL_HAS_WSTRING@
+
/* Whether the STL string has operator<< for ostream. */
#define @KWSYS_NAMESPACE@_STL_STRING_HAVE_OSTREAM @KWSYS_STL_STRING_HAVE_OSTREAM@
@@ -170,6 +173,7 @@
# define KWSYS_STL_HAS_ALLOCATOR_TEMPLATE @KWSYS_NAMESPACE@_STL_HAS_ALLOCATOR_TEMPLATE
# define KWSYS_STL_HAS_ALLOCATOR_NONTEMPLATE @KWSYS_NAMESPACE@_STL_HAS_ALLOCATOR_NONTEMPLATE
# define KWSYS_STL_HAS_ALLOCATOR_OBJECTS @KWSYS_NAMESPACE@_STL_HAS_ALLOCATOR_OBJECTS
+# define KWSYS_STL_HAS_WSTRING @KWSYS_NAMESPACE@_STL_HAS_WSTRING
#endif
#endif
diff --git a/Source/kwsys/Directory.cxx b/Source/kwsys/Directory.cxx
index b884747..d54e607 100644
--- a/Source/kwsys/Directory.cxx
+++ b/Source/kwsys/Directory.cxx
@@ -14,6 +14,8 @@
#include KWSYS_HEADER(Configure.hxx)
+#include KWSYS_HEADER(Encoding.hxx)
+
#include KWSYS_HEADER(stl/string)
#include KWSYS_HEADER(stl/vector)
@@ -22,6 +24,7 @@
#if 0
# include "Directory.hxx.in"
# include "Configure.hxx.in"
+# include "Encoding.hxx.in"
# include "kwsys_stl.hxx.in"
# include "kwsys_stl_string.hxx.in"
# include "kwsys_stl_vector.hxx.in"
@@ -120,10 +123,10 @@ bool Directory::Load(const char* name)
buf = new char[n + 2 + 1];
sprintf(buf, "%s/*", name);
}
- struct _finddata_t data; // data of current file
+ struct _wfinddata_t data; // data of current file
// Now put them into the file array
- srchHandle = _findfirst(buf, &data);
+ srchHandle = _wfindfirst((wchar_t*)Encoding::ToWide(buf).c_str(), &data);
delete [] buf;
if ( srchHandle == -1 )
@@ -134,9 +137,9 @@ bool Directory::Load(const char* name)
// Loop through names
do
{
- this->Internal->Files.push_back(data.name);
+ this->Internal->Files.push_back(Encoding::ToNarrow(data.name));
}
- while ( _findnext(srchHandle, &data) != -1 );
+ while ( _wfindnext(srchHandle, &data) != -1 );
this->Internal->Path = name;
return _findclose(srchHandle) != -1;
}
@@ -160,10 +163,10 @@ unsigned long Directory::GetNumberOfFilesInDirectory(const char* name)
buf = new char[n + 2 + 1];
sprintf(buf, "%s/*", name);
}
- struct _finddata_t data; // data of current file
+ struct _wfinddata_t data; // data of current file
// Now put them into the file array
- srchHandle = _findfirst(buf, &data);
+ srchHandle = _wfindfirst((wchar_t*)Encoding::ToWide(buf).c_str(), &data);
delete [] buf;
if ( srchHandle == -1 )
@@ -177,7 +180,7 @@ unsigned long Directory::GetNumberOfFilesInDirectory(const char* name)
{
count++;
}
- while ( _findnext(srchHandle, &data) != -1 );
+ while ( _wfindnext(srchHandle, &data) != -1 );
_findclose(srchHandle);
return count;
}
diff --git a/Source/kwsys/DynamicLoader.cxx b/Source/kwsys/DynamicLoader.cxx
index fd83752..44cf6af 100644
--- a/Source/kwsys/DynamicLoader.cxx
+++ b/Source/kwsys/DynamicLoader.cxx
@@ -186,13 +186,12 @@ namespace KWSYS_NAMESPACE
DynamicLoader::LibraryHandle DynamicLoader::OpenLibrary(const char* libname)
{
DynamicLoader::LibraryHandle lh;
-#ifdef UNICODE
- wchar_t libn[MB_CUR_MAX];
- mbstowcs(libn, libname, MB_CUR_MAX);
- lh = LoadLibrary(libn);
-#else
- lh = LoadLibrary(libname);
-#endif
+ int length = MultiByteToWideChar(CP_UTF8, 0, libname, -1, NULL, 0);
+ wchar_t* wchars = new wchar_t[length+1];
+ wchars[0] = '\0';
+ MultiByteToWideChar(CP_UTF8, 0, libname, -1, wchars, length);
+ lh = LoadLibraryW(wchars);
+ delete [] wchars;
return lh;
}
@@ -238,13 +237,7 @@ DynamicLoader::SymbolPointer DynamicLoader::GetSymbolAddress(
#else
const char *rsym = sym;
#endif
-#ifdef UNICODE
- wchar_t wsym[MB_CUR_MAX];
- mbstowcs(wsym, rsym, MB_CUR_MAX);
- result = GetProcAddress(lib, wsym);
-#else
result = (void*)GetProcAddress(lib, rsym);
-#endif
#if defined(__BORLANDC__) || defined(__WATCOMC__)
delete[] rsym;
#endif
diff --git a/Source/kwsys/Encoding.h.in b/Source/kwsys/Encoding.h.in
new file mode 100644
index 0000000..591c5a8
--- /dev/null
+++ b/Source/kwsys/Encoding.h.in
@@ -0,0 +1,79 @@
+/*============================================================================
+ KWSys - Kitware System Library
+ Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#ifndef @KWSYS_NAMESPACE@_Encoding_h
+#define @KWSYS_NAMESPACE@_Encoding_h
+
+#include <@KWSYS_NAMESPACE@/Configure.h>
+#include <wchar.h>
+
+/* Redefine all public interface symbol names to be in the proper
+ namespace. These macros are used internally to kwsys only, and are
+ not visible to user code. Use kwsysHeaderDump.pl to reproduce
+ these macros after making changes to the interface. */
+#if !defined(KWSYS_NAMESPACE)
+# define kwsys_ns(x) @KWSYS_NAMESPACE@##x
+# define kwsysEXPORT @KWSYS_NAMESPACE@_EXPORT
+#endif
+#if !@KWSYS_NAMESPACE@_NAME_IS_KWSYS
+# define kwsysEncoding kwsys_ns(Encoding)
+# define kwsysEncoding_mbstowcs kwsys_ns(Encoding_mbstowcs)
+# define kwsysEncoding_DupToWide kwsys_ns(Encoding_DupToWide)
+# define kwsysEncoding_wcstombs kwsys_ns(Encoding_wcstombs)
+# define kwsysEncoding_DupToNarrow kwsys_ns(Encoding_DupToNarrow)
+#endif
+
+#if defined(__cplusplus)
+extern "C"
+{
+#endif
+
+
+/* Convert a narrow string to a wide string.
+ On Windows, UTF-8 is assumed, and on other platforms,
+ the current locale is assumed.
+ */
+kwsysEXPORT size_t kwsysEncoding_mbstowcs(wchar_t* dest, const char* src, size_t n);
+
+/* Convert a narrow string to a wide string.
+ This can return NULL if the conversion fails. */
+kwsysEXPORT wchar_t* kwsysEncoding_DupToWide(const char* src);
+
+
+/* Convert a wide string to a narrow string.
+ On Windows, UTF-8 is assumed, and on other platforms,
+ the current locale is assumed. */
+kwsysEXPORT size_t kwsysEncoding_wcstombs(char* dest, const wchar_t* src, size_t n);
+
+/* Convert a wide string to a narrow string.
+ This can return NULL if the conversion fails. */
+kwsysEXPORT char* kwsysEncoding_DupToNarrow(const wchar_t* str);
+
+
+#if defined(__cplusplus)
+} /* extern "C" */
+#endif
+
+/* If we are building a kwsys .c or .cxx file, let it use these macros.
+ Otherwise, undefine them to keep the namespace clean. */
+#if !defined(KWSYS_NAMESPACE)
+# undef kwsys_ns
+# undef kwsysEXPORT
+# if !defined(KWSYS_NAMESPACE) && !@KWSYS_NAMESPACE@_NAME_IS_KWSYS
+# undef kwsysEncoding
+# undef kwsysEncoding_mbstowcs
+# undef kwsysEncoding_DupToWide
+# undef kwsysEncoding_wcstombs
+# undef kwsysEncoding_DupToNarrow
+# endif
+#endif
+
+#endif
diff --git a/Source/kwsys/Encoding.hxx.in b/Source/kwsys/Encoding.hxx.in
new file mode 100644
index 0000000..aba4175
--- /dev/null
+++ b/Source/kwsys/Encoding.hxx.in
@@ -0,0 +1,87 @@
+/*============================================================================
+ KWSys - Kitware System Library
+ Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#ifndef @KWSYS_NAMESPACE@_Encoding_hxx
+#define @KWSYS_NAMESPACE@_Encoding_hxx
+
+#include <@KWSYS_NAMESPACE@/Configure.hxx>
+#include <@KWSYS_NAMESPACE@/stl/string>
+#include <@KWSYS_NAMESPACE@/stl/vector>
+
+/* Define these macros temporarily to keep the code readable. */
+#if !defined (KWSYS_NAMESPACE) && !@KWSYS_NAMESPACE@_NAME_IS_KWSYS
+# define kwsys_stl @KWSYS_NAMESPACE@_stl
+#endif
+
+namespace @KWSYS_NAMESPACE@
+{
+class @KWSYS_NAMESPACE@_EXPORT Encoding
+{
+public:
+
+ // Container class for argc/argv.
+ class CommandLineArguments
+ {
+ public:
+ // On Windows, get the program command line arguments
+ // in this Encoding module's 8 bit encoding.
+ // On other platforms the given argc/argv is used, and
+ // to be consistent, should be the argc/argv from main().
+ static CommandLineArguments Main(int argc, char const* const* argv);
+
+ // Construct CommandLineArguments with the given
+ // argc/argv. It is assumed that the string is already
+ // in the encoding used by this module.
+ CommandLineArguments(int argc, char const* const* argv);
+
+ // Construct CommandLineArguments with the given
+ // argc and wide argv. This is useful if wmain() is used.
+ CommandLineArguments(int argc, wchar_t const* const* argv);
+ ~CommandLineArguments();
+ CommandLineArguments(const CommandLineArguments&);
+ CommandLineArguments& operator=(const CommandLineArguments&);
+
+ int argc() const;
+ char const* const* argv() const;
+
+ protected:
+ std::vector<char*> argv_;
+ };
+
+ /**
+ * Convert between char and wchar_t
+ */
+
+#if @KWSYS_NAMESPACE@_STL_HAS_WSTRING
+
+ // Convert a narrow string to a wide string.
+ // On Windows, UTF-8 is assumed, and on other platforms,
+ // the current locale is assumed.
+ static kwsys_stl::wstring ToWide(const kwsys_stl::string& str);
+ static kwsys_stl::wstring ToWide(const char* str);
+
+ // Convert a wide string to a narrow string.
+ // On Windows, UTF-8 is assumed, and on other platforms,
+ // the current locale is assumed.
+ static kwsys_stl::string ToNarrow(const kwsys_stl::wstring& str);
+ static kwsys_stl::string ToNarrow(const wchar_t* str);
+
+#endif // @KWSYS_NAMESPACE@_STL_HAS_WSTRING
+
+}; // class Encoding
+} // namespace @KWSYS_NAMESPACE@
+
+/* Undefine temporary macros. */
+#if !defined (KWSYS_NAMESPACE) && !@KWSYS_NAMESPACE@_NAME_IS_KWSYS
+# undef kwsys_stl
+#endif
+
+#endif
diff --git a/Source/kwsys/EncodingC.c b/Source/kwsys/EncodingC.c
new file mode 100644
index 0000000..cda78e2
--- /dev/null
+++ b/Source/kwsys/EncodingC.c
@@ -0,0 +1,79 @@
+/*============================================================================
+ KWSys - Kitware System Library
+ Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#include "kwsysPrivate.h"
+#include KWSYS_HEADER(Encoding.h)
+
+/* Work-around CMake dependency scanning limitation. This must
+ duplicate the above list of headers. */
+#if 0
+# include "Encoding.h.in"
+#endif
+
+#include <stdlib.h>
+
+#ifdef _WIN32
+#include <windows.h>
+#endif
+
+size_t kwsysEncoding_mbstowcs(wchar_t* dest, const char* str, size_t n)
+{
+ if(str == 0)
+ {
+ return (size_t)-1;
+ }
+#ifdef _WIN32
+ return MultiByteToWideChar(KWSYS_ENCODING_DEFAULT_CODEPAGE, 0,
+ str, -1, dest, (int)n) - 1;
+#else
+ return mbstowcs(dest, str, n);
+#endif
+}
+
+wchar_t* kwsysEncoding_DupToWide(const char* str)
+{
+ wchar_t* ret = NULL;
+ size_t length = kwsysEncoding_mbstowcs(NULL, str, 0) + 1;
+ if(length > 0)
+ {
+ ret = malloc((length)*sizeof(wchar_t));
+ ret[0] = 0;
+ kwsysEncoding_mbstowcs(ret, str, length);
+ }
+ return ret;
+}
+
+size_t kwsysEncoding_wcstombs(char* dest, const wchar_t* str, size_t n)
+{
+ if(str == 0)
+ {
+ return (size_t)-1;
+ }
+#ifdef _WIN32
+ return WideCharToMultiByte(KWSYS_ENCODING_DEFAULT_CODEPAGE, 0, str, -1,
+ dest, (int)n, NULL, NULL) - 1;
+#else
+ return wcstombs(dest, str, n);
+#endif
+}
+
+char* kwsysEncoding_DupToNarrow(const wchar_t* str)
+{
+ char* ret = NULL;
+ size_t length = kwsysEncoding_wcstombs(0, str, 0) + 1;
+ if(length > 0)
+ {
+ ret = malloc(length);
+ ret[0] = 0;
+ kwsysEncoding_wcstombs(ret, str, length);
+ }
+ return ret;
+}
diff --git a/Source/kwsys/EncodingCXX.cxx b/Source/kwsys/EncodingCXX.cxx
new file mode 100644
index 0000000..f76deb5
--- /dev/null
+++ b/Source/kwsys/EncodingCXX.cxx
@@ -0,0 +1,181 @@
+/*============================================================================
+ KWSys - Kitware System Library
+ Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+
+#ifdef __osf__
+# define _OSF_SOURCE
+# define _POSIX_C_SOURCE 199506L
+# define _XOPEN_SOURCE_EXTENDED
+#endif
+
+#include "kwsysPrivate.h"
+#include KWSYS_HEADER(Encoding.hxx)
+#include KWSYS_HEADER(Encoding.h)
+#include KWSYS_HEADER(stl/vector)
+
+// Work-around CMake dependency scanning limitation. This must
+// duplicate the above list of headers.
+#if 0
+# include "Encoding.hxx.in"
+# include "Encoding.h.in"
+#endif
+
+#include <stdlib.h>
+#include <string.h>
+
+#ifdef _MSC_VER
+# pragma warning (disable: 4786)
+#endif
+
+// Windows API.
+#if defined(_WIN32)
+# include <windows.h>
+#endif
+
+namespace KWSYS_NAMESPACE
+{
+
+Encoding::CommandLineArguments
+Encoding::CommandLineArguments::Main(int argc, char const* const* argv)
+{
+#ifdef _WIN32
+ (void) argc;
+ (void) argv;
+
+ int ac;
+ LPWSTR* w_av = CommandLineToArgvW(GetCommandLineW(), &ac);
+
+ std::vector<std::string> av1(ac);
+ std::vector<char const*> av2(ac);
+ for(int i=0; i<ac; i++)
+ {
+ av1[i] = ToNarrow(w_av[i]);
+ av2[i] = av1[i].c_str();
+ }
+ LocalFree(w_av);
+ return CommandLineArguments(ac, &av2[0]);
+#else
+ return CommandLineArguments(argc, argv);
+#endif
+}
+
+Encoding::CommandLineArguments::CommandLineArguments(int ac,
+ char const* const* av)
+{
+ this->argv_.resize(ac+1);
+ for(int i=0; i<ac; i++)
+ {
+ this->argv_[i] = strdup(av[i]);
+ }
+ this->argv_[ac] = 0;
+}
+
+Encoding::CommandLineArguments::CommandLineArguments(int ac,
+ wchar_t const* const* av)
+{
+ this->argv_.resize(ac+1);
+ for(int i=0; i<ac; i++)
+ {
+ this->argv_[i] = kwsysEncoding_DupToNarrow(av[i]);
+ }
+ this->argv_[ac] = 0;
+}
+
+Encoding::CommandLineArguments::~CommandLineArguments()
+{
+ for(size_t i=0; i<this->argv_.size(); i++)
+ {
+ free(argv_[i]);
+ }
+}
+
+Encoding::CommandLineArguments::
+ CommandLineArguments(const CommandLineArguments& other)
+{
+ this->argv_.resize(other.argv_.size());
+ for(size_t i=0; i<this->argv_.size(); i++)
+ {
+ this->argv_[i] = other.argv_[i] ? strdup(other.argv_[i]) : 0;
+ }
+}
+
+Encoding::CommandLineArguments&
+Encoding::CommandLineArguments::operator=(const CommandLineArguments& other)
+{
+ size_t i;
+ for(i=0; i<this->argv_.size(); i++)
+ {
+ free(this->argv_[i]);
+ }
+
+ this->argv_.resize(other.argv_.size());
+ for(i=0; i<this->argv_.size(); i++)
+ {
+ this->argv_[i] = other.argv_[i] ? strdup(other.argv_[i]) : 0;
+ }
+
+ return *this;
+}
+
+int Encoding::CommandLineArguments::argc() const
+{
+ return static_cast<int>(this->argv_.size() - 1);
+}
+
+char const* const* Encoding::CommandLineArguments::argv() const
+{
+ return &this->argv_[0];
+}
+
+#if KWSYS_STL_HAS_WSTRING
+
+kwsys_stl::wstring Encoding::ToWide(const kwsys_stl::string& str)
+{
+ return ToWide(str.c_str());
+}
+
+kwsys_stl::string Encoding::ToNarrow(const kwsys_stl::wstring& str)
+{
+ return ToNarrow(str.c_str());
+}
+
+kwsys_stl::wstring Encoding::ToWide(const char* cstr)
+{
+ kwsys_stl::wstring wstr;
+ size_t length = kwsysEncoding_mbstowcs(0, cstr, 0) + 1;
+ if(length > 0)
+ {
+ kwsys_stl::vector<wchar_t> wchars(length);
+ if(kwsysEncoding_mbstowcs(&wchars[0], cstr, length) > 0)
+ {
+ wstr = &wchars[0];
+ }
+ }
+ return wstr;
+}
+
+kwsys_stl::string Encoding::ToNarrow(const wchar_t* wcstr)
+{
+ kwsys_stl::string str;
+ size_t length = kwsysEncoding_wcstombs(0, wcstr, 0) + 1;
+ if(length > 0)
+ {
+ std::vector<char> chars(length);
+ if(kwsysEncoding_wcstombs(&chars[0], wcstr, length) > 0)
+ {
+ str = &chars[0];
+ }
+ }
+ return str;
+}
+#endif // KWSYS_STL_HAS_WSTRING
+
+} // namespace KWSYS_NAMESPACE
diff --git a/Source/kwsys/FStream.hxx.in b/Source/kwsys/FStream.hxx.in
new file mode 100644
index 0000000..916a93e
--- /dev/null
+++ b/Source/kwsys/FStream.hxx.in
@@ -0,0 +1,173 @@
+/*============================================================================
+ KWSys - Kitware System Library
+ Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#ifndef @KWSYS_NAMESPACE@_FStream_hxx
+#define @KWSYS_NAMESPACE@_FStream_hxx
+
+#include <@KWSYS_NAMESPACE@/ios/fstream>
+#include <@KWSYS_NAMESPACE@/Encoding.hxx>
+
+namespace @KWSYS_NAMESPACE@
+{
+#if defined(_MSC_VER) && _MSC_VER >= 1400
+ template<typename CharType,typename Traits>
+ class basic_filebuf : public std::basic_filebuf<CharType,Traits>
+ {
+ public:
+ typedef std::basic_filebuf<CharType,Traits> my_base_type;
+ basic_filebuf *open(char const *s,std::ios_base::openmode mode)
+ {
+ return static_cast<basic_filebuf*>(
+ my_base_type::open(Encoding::ToWide(s).c_str(), mode)
+ );
+ }
+ };
+
+ template<typename CharType,typename Traits = std::char_traits<CharType> >
+ class basic_ifstream : public std::basic_istream<CharType,Traits>
+ {
+ public:
+ typedef basic_filebuf<CharType,Traits> internal_buffer_type;
+ typedef std::basic_istream<CharType,Traits> internal_stream_type;
+
+ basic_ifstream() : internal_stream_type(new internal_buffer_type())
+ {
+ buf_ = static_cast<internal_buffer_type *>(internal_stream_type::rdbuf());
+ }
+ explicit basic_ifstream(char const *file_name,
+ std::ios_base::openmode mode = std::ios_base::in)
+ : internal_stream_type(new internal_buffer_type())
+ {
+ buf_ = static_cast<internal_buffer_type *>(internal_stream_type::rdbuf());
+ open(file_name,mode);
+ }
+ void open(char const *file_name,std::ios_base::openmode mode = std::ios_base::in)
+ {
+ if(!buf_->open(file_name,mode | std::ios_base::in))
+ {
+ this->setstate(std::ios_base::failbit);
+ }
+ else
+ {
+ this->clear();
+ }
+ }
+ bool is_open()
+ {
+ return buf_->is_open();
+ }
+ bool is_open() const
+ {
+ return buf_->is_open();
+ }
+ void close()
+ {
+ if(!buf_->close())
+ {
+ this->setstate(std::ios_base::failbit);
+ }
+ else
+ {
+ this->clear();
+ }
+ }
+
+ internal_buffer_type *rdbuf() const
+ {
+ return buf_;
+ }
+
+ ~basic_ifstream()
+ {
+ buf_->close();
+ delete buf_;
+ }
+
+ private:
+ internal_buffer_type* buf_;
+};
+
+template<typename CharType,typename Traits = std::char_traits<CharType> >
+class basic_ofstream : public std::basic_ostream<CharType,Traits>
+{
+ public:
+ typedef basic_filebuf<CharType,Traits> internal_buffer_type;
+ typedef std::basic_ostream<CharType,Traits> internal_stream_type;
+
+ basic_ofstream() : internal_stream_type(new internal_buffer_type())
+ {
+ buf_ = static_cast<internal_buffer_type *>(internal_stream_type::rdbuf());
+ }
+ explicit basic_ofstream(char const *file_name,std::ios_base::openmode mode = std::ios_base::out) :
+ internal_stream_type(new internal_buffer_type())
+ {
+ buf_ = static_cast<internal_buffer_type *>(internal_stream_type::rdbuf());
+ open(file_name,mode);
+ }
+ void open(char const *file_name,std::ios_base::openmode mode = std::ios_base::out)
+ {
+ if(!buf_->open(file_name,mode | std::ios_base::out))
+ {
+ this->setstate(std::ios_base::failbit);
+ }
+ else
+ {
+ this->clear();
+ }
+ }
+ bool is_open()
+ {
+ return buf_->is_open();
+ }
+ bool is_open() const
+ {
+ return buf_->is_open();
+ }
+ void close()
+ {
+ if(!buf_->close())
+ {
+ this->setstate(std::ios_base::failbit);
+ }
+ else
+ {
+ this->clear();
+ }
+ }
+
+ internal_buffer_type *rdbuf() const
+ {
+ return buf_.get();
+ }
+ ~basic_ofstream()
+ {
+ buf_->close();
+ delete buf_;
+ }
+
+ private:
+ internal_buffer_type* buf_;
+};
+
+ typedef basic_ifstream<char> ifstream;
+ typedef basic_ofstream<char> ofstream;
+
+#else
+ using @KWSYS_NAMESPACE@_ios_namespace::basic_filebuf;
+ using @KWSYS_NAMESPACE@_ios_namespace::ofstream;
+ using @KWSYS_NAMESPACE@_ios_namespace::ifstream;
+#endif
+
+}
+
+
+
+#endif
diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c
index b9af2f1..faeb967 100644
--- a/Source/kwsys/ProcessUNIX.c
+++ b/Source/kwsys/ProcessUNIX.c
@@ -2449,6 +2449,7 @@ static void kwsysProcessKill(pid_t process_id)
if(f)
{
size_t nread = fread(buffer, 1, KWSYSPE_PIPE_BUFFER_SIZE, f);
+ fclose(f);
buffer[nread] = '\0';
if(nread > 0)
{
@@ -2463,7 +2464,6 @@ static void kwsysProcessKill(pid_t process_id)
}
}
}
- fclose(f);
}
}
}
diff --git a/Source/kwsys/ProcessWin32.c b/Source/kwsys/ProcessWin32.c
index c836f9b..c8ec754 100644
--- a/Source/kwsys/ProcessWin32.c
+++ b/Source/kwsys/ProcessWin32.c
@@ -12,12 +12,14 @@
#include "kwsysPrivate.h"
#include KWSYS_HEADER(Process.h)
#include KWSYS_HEADER(System.h)
+#include KWSYS_HEADER(Encoding.h)
/* Work-around CMake dependency scanning limitation. This must
duplicate the above list of headers. */
#if 0
# include "Process.h.in"
# include "System.h.in"
+# include "Encoding_c.h.in"
#endif
/*
@@ -88,9 +90,10 @@ typedef LARGE_INTEGER kwsysProcessTime;
typedef struct kwsysProcessCreateInformation_s
{
/* Windows child startup control data. */
- STARTUPINFO StartupInfo;
+ STARTUPINFOW StartupInfo;
} kwsysProcessCreateInformation;
+
/*--------------------------------------------------------------------------*/
typedef struct kwsysProcessPipeData_s kwsysProcessPipeData;
static DWORD WINAPI kwsysProcessPipeThreadRead(LPVOID ptd);
@@ -197,14 +200,14 @@ struct kwsysProcess_s
int State;
/* The command lines to execute. */
- char** Commands;
+ wchar_t** Commands;
int NumberOfCommands;
/* The exit code of each command. */
DWORD* CommandExitCodes;
/* The working directory for the child process. */
- char* WorkingDirectory;
+ wchar_t* WorkingDirectory;
/* Whether to create the child as a detached process. */
int OptionDetach;
@@ -299,7 +302,7 @@ struct kwsysProcess_s
/* Real working directory of our own process. */
DWORD RealWorkingDirectoryLength;
- char* RealWorkingDirectory;
+ wchar_t* RealWorkingDirectory;
};
/*--------------------------------------------------------------------------*/
@@ -546,7 +549,7 @@ int kwsysProcess_SetCommand(kwsysProcess* cp, char const* const* command)
int kwsysProcess_AddCommand(kwsysProcess* cp, char const* const* command)
{
int newNumberOfCommands;
- char** newCommands;
+ wchar_t** newCommands;
/* Make sure we have a command to add. */
if(!cp || !command || !*command)
@@ -554,9 +557,10 @@ int kwsysProcess_AddCommand(kwsysProcess* cp, char const* const* command)
return 0;
}
+
/* Allocate a new array for command pointers. */
newNumberOfCommands = cp->NumberOfCommands + 1;
- if(!(newCommands = (char**)malloc(sizeof(char*) * newNumberOfCommands)))
+ if(!(newCommands = (wchar_t**)malloc(sizeof(wchar_t*) * newNumberOfCommands)))
{
/* Out of memory. */
return 0;
@@ -585,8 +589,8 @@ int kwsysProcess_AddCommand(kwsysProcess* cp, char const* const* command)
/* Allocate enough space for the command. We do not need an extra
byte for the terminating null because we allocated a space for
the first argument that we will not use. */
- newCommands[cp->NumberOfCommands] = (char*)malloc(length);
- if(!newCommands[cp->NumberOfCommands])
+ char* new_cmd = malloc(length);
+ if(!new_cmd)
{
/* Out of memory. */
free(newCommands);
@@ -595,9 +599,13 @@ int kwsysProcess_AddCommand(kwsysProcess* cp, char const* const* command)
/* Construct the command line in the allocated buffer. */
kwsysProcessComputeCommandLine(cp, command,
- newCommands[cp->NumberOfCommands]);
+ new_cmd);
+
+ newCommands[cp->NumberOfCommands] = kwsysEncoding_DupToWide(new_cmd);
+ free(new_cmd);
}
+
/* Save the new array of commands. */
free(cp->Commands);
cp->Commands = newCommands;
@@ -633,22 +641,26 @@ int kwsysProcess_SetWorkingDirectory(kwsysProcess* cp, const char* dir)
}
if(dir && dir[0])
{
+ wchar_t* wdir = kwsysEncoding_DupToWide(dir);
/* We must convert the working directory to a full path. */
- DWORD length = GetFullPathName(dir, 0, 0, 0);
+ DWORD length = GetFullPathNameW(wdir, 0, 0, 0);
if(length > 0)
{
- cp->WorkingDirectory = (char*)malloc(length);
- if(!cp->WorkingDirectory)
+ wchar_t* work_dir = malloc(length*sizeof(wchar_t));
+ if(!work_dir)
{
+ free(wdir);
return 0;
}
- if(!GetFullPathName(dir, length, cp->WorkingDirectory, 0))
+ if(!GetFullPathNameW(wdir, length, work_dir, 0))
{
- free(cp->WorkingDirectory);
- cp->WorkingDirectory = 0;
+ free(work_dir);
+ free(wdir);
return 0;
}
+ cp->WorkingDirectory = work_dir;
}
+ free(wdir);
}
return 1;
}
@@ -879,13 +891,13 @@ void kwsysProcess_Execute(kwsysProcess* cp)
to make pipe file paths evaluate correctly. */
if(cp->WorkingDirectory)
{
- if(!GetCurrentDirectory(cp->RealWorkingDirectoryLength,
+ if(!GetCurrentDirectoryW(cp->RealWorkingDirectoryLength,
cp->RealWorkingDirectory))
{
kwsysProcessCleanup(cp, 1);
return;
}
- SetCurrentDirectory(cp->WorkingDirectory);
+ SetCurrentDirectoryW(cp->WorkingDirectory);
}
/* Initialize startup info data. */
@@ -1003,7 +1015,7 @@ void kwsysProcess_Execute(kwsysProcess* cp)
/* Restore the working directory. */
if(cp->RealWorkingDirectory)
{
- SetCurrentDirectory(cp->RealWorkingDirectory);
+ SetCurrentDirectoryW(cp->RealWorkingDirectory);
free(cp->RealWorkingDirectory);
cp->RealWorkingDirectory = 0;
}
@@ -1507,10 +1519,10 @@ int kwsysProcessInitialize(kwsysProcess* cp)
/* Allocate space to save the real working directory of this process. */
if(cp->WorkingDirectory)
{
- cp->RealWorkingDirectoryLength = GetCurrentDirectory(0, 0);
+ cp->RealWorkingDirectoryLength = GetCurrentDirectoryW(0, 0);
if(cp->RealWorkingDirectoryLength > 0)
{
- cp->RealWorkingDirectory = (char*)malloc(cp->RealWorkingDirectoryLength);
+ cp->RealWorkingDirectory = malloc(cp->RealWorkingDirectoryLength * sizeof(wchar_t));
if(!cp->RealWorkingDirectory)
{
return 0;
@@ -1547,9 +1559,11 @@ int kwsysProcessCreate(kwsysProcess* cp, int index,
else if(cp->PipeFileSTDIN)
{
/* Create a handle to read a file for stdin. */
- HANDLE fin = CreateFile(cp->PipeFileSTDIN, GENERIC_READ|GENERIC_WRITE,
+ wchar_t* wstdin = kwsysEncoding_DupToWide(cp->PipeFileSTDIN);
+ HANDLE fin = CreateFileW(wstdin, GENERIC_READ|GENERIC_WRITE,
FILE_SHARE_READ|FILE_SHARE_WRITE,
0, OPEN_EXISTING, 0, 0);
+ free(wstdin);
if(fin == INVALID_HANDLE_VALUE)
{
return 0;
@@ -1655,7 +1669,7 @@ int kwsysProcessCreate(kwsysProcess* cp, int index,
/* Create the child in a suspended state so we can wait until all
children have been created before running any one. */
- if(!CreateProcess(0, cp->Commands[index], 0, 0, TRUE, CREATE_SUSPENDED, 0,
+ if(!CreateProcessW(0, cp->Commands[index], 0, 0, TRUE, CREATE_SUSPENDED, 0,
0, &si->StartupInfo, &cp->ProcessInformation[index]))
{
return 0;
@@ -1729,6 +1743,7 @@ void kwsysProcessDestroy(kwsysProcess* cp, int event)
int kwsysProcessSetupOutputPipeFile(PHANDLE phandle, const char* name)
{
HANDLE fout;
+ wchar_t* wname;
if(!name)
{
return 1;
@@ -1738,8 +1753,10 @@ int kwsysProcessSetupOutputPipeFile(PHANDLE phandle, const char* name)
kwsysProcessCleanupHandle(phandle);
/* Create a handle to write a file for the pipe. */
- fout = CreateFile(name, GENERIC_WRITE, FILE_SHARE_READ, 0,
+ wname = kwsysEncoding_DupToWide(name);
+ fout = CreateFileW(wname, GENERIC_WRITE, FILE_SHARE_READ, 0,
CREATE_ALWAYS, 0, 0);
+ free(wname);
if(fout == INVALID_HANDLE_VALUE)
{
return 0;
@@ -1883,10 +1900,13 @@ void kwsysProcessCleanup(kwsysProcess* cp, int error)
{
/* Format the error message. */
DWORD original = GetLastError();
- DWORD length = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM |
+ wchar_t err_msg[KWSYSPE_PIPE_BUFFER_SIZE];
+ DWORD length = FormatMessageW(FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_IGNORE_INSERTS, 0, original,
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
- cp->ErrorMessage, KWSYSPE_PIPE_BUFFER_SIZE, 0);
+ err_msg, KWSYSPE_PIPE_BUFFER_SIZE, 0);
+ WideCharToMultiByte(CP_UTF8, 0, err_msg, -1, cp->ErrorMessage,
+ KWSYSPE_PIPE_BUFFER_SIZE, NULL, NULL);
if(length < 1)
{
/* FormatMessage failed. Use a default message. */
@@ -1924,7 +1944,7 @@ void kwsysProcessCleanup(kwsysProcess* cp, int error)
/* Restore the working directory. */
if(cp->RealWorkingDirectory)
{
- SetCurrentDirectory(cp->RealWorkingDirectory);
+ SetCurrentDirectoryW(cp->RealWorkingDirectory);
}
}
@@ -2222,7 +2242,7 @@ static void kwsysProcessSetExitException(kwsysProcess* cp, int code)
case STATUS_NO_MEMORY:
default:
cp->ExitException = kwsysProcess_Exception_Other;
- sprintf(cp->ExitExceptionString, "Exit code 0x%x\n", code);
+ _snprintf(cp->ExitExceptionString, KWSYSPE_PIPE_BUFFER_SIZE, "Exit code 0x%x\n", code);
break;
}
}
@@ -2430,7 +2450,7 @@ static int kwsysProcess_List__New_NT4(kwsysProcess_List* self)
loaded in this program. This does not actually increment the
reference count to the module so we do not need to close the
handle. */
- HMODULE hNT = GetModuleHandle("ntdll.dll");
+ HMODULE hNT = GetModuleHandleW(L"ntdll.dll");
if(hNT)
{
/* Get pointers to the needed API functions. */
@@ -2534,7 +2554,7 @@ static int kwsysProcess_List__New_Snapshot(kwsysProcess_List* self)
loaded in this program. This does not actually increment the
reference count to the module so we do not need to close the
handle. */
- HMODULE hKernel = GetModuleHandle("kernel32.dll");
+ HMODULE hKernel = GetModuleHandleW(L"kernel32.dll");
if(hKernel)
{
self->P_CreateToolhelp32Snapshot =
diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemInformation.cxx
index beefd7d..5f20853 100644
--- a/Source/kwsys/SystemInformation.cxx
+++ b/Source/kwsys/SystemInformation.cxx
@@ -88,6 +88,15 @@ typedef int siginfo_t;
# include <ifaddrs.h>
# define KWSYS_SYSTEMINFORMATION_IMPLEMENT_FQDN
# endif
+# if defined(KWSYS_SYSTEMINFORMATION_HAS_BACKTRACE)
+# include <execinfo.h>
+# if defined(KWSYS_SYSTEMINFORMATION_HAS_CPP_DEMANGLE)
+# include <cxxabi.h>
+# endif
+# if defined(KWSYS_SYSTEMINFORMATION_HAS_SYMBOL_LOOKUP)
+# include <dlfcn.h>
+# endif
+# endif
#endif
#if defined(__OpenBSD__) || defined(__NetBSD__)
@@ -244,7 +253,7 @@ static bool call_cpuid(int select, int result[4])
_asm {
#ifdef CPUID_AWARE_COMPILER
; we must push/pop the registers <<CPUID>> writes to, as the
- ; optimiser doesn't know about <<CPUID>>, and so doesn't expect
+ ; optimiser does not know about <<CPUID>>, and so does not expect
; these registers to change.
push eax
push ebx
@@ -1734,12 +1743,12 @@ int SystemInformationImplementation::GetFullyQualifiedDomainName(
{
char host[NI_MAXHOST]={'\0'};
- socklen_t addrlen
+ const size_t addrlen
= (fam==AF_INET?sizeof(struct sockaddr_in):sizeof(struct sockaddr_in6));
ierr=getnameinfo(
ifa->ifa_addr,
- addrlen,
+ static_cast<socklen_t>(addrlen),
host,
NI_MAXHOST,
NULL,
@@ -2445,8 +2454,8 @@ bool SystemInformationImplementation::RetrieveCPUClockSpeed()
if (!retrieved)
{
HKEY hKey = NULL;
- LONG err = RegOpenKeyEx(HKEY_LOCAL_MACHINE,
- "HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0", 0,
+ LONG err = RegOpenKeyExW(HKEY_LOCAL_MACHINE,
+ L"HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0", 0,
KEY_READ, &hKey);
if (ERROR_SUCCESS == err)
@@ -2455,7 +2464,7 @@ bool SystemInformationImplementation::RetrieveCPUClockSpeed()
DWORD data = 0;
DWORD dwSize = sizeof(DWORD);
- err = RegQueryValueEx(hKey, "~MHz", 0,
+ err = RegQueryValueExW(hKey, L"~MHz", 0,
&dwType, (LPBYTE) &data, &dwSize);
if (ERROR_SUCCESS == err)
@@ -3153,8 +3162,17 @@ bool SystemInformationImplementation::RetreiveInformationFromCpuInfoFile()
kwsys_stl::string cores =
this->ExtractValueFromCpuInfoFile(buffer,"cpu cores");
int numberOfCoresPerCPU=atoi(cores.c_str());
- this->NumberOfPhysicalCPU=static_cast<unsigned int>(
- numberOfCoresPerCPU*(maxId+1));
+ if (maxId > 0)
+ {
+ this->NumberOfPhysicalCPU=static_cast<unsigned int>(
+ numberOfCoresPerCPU*(maxId+1));
+ }
+ else
+ {
+ // Linux Sparc: get cpu count
+ this->NumberOfPhysicalCPU=
+ atoi(this->ExtractValueFromCpuInfoFile(buffer,"ncpus active").c_str());
+ }
#else // __CYGWIN__
// does not have "physical id" entries, neither "cpu cores"
@@ -3176,7 +3194,19 @@ bool SystemInformationImplementation::RetreiveInformationFromCpuInfoFile()
// CPU speed (checking only the first processor)
kwsys_stl::string CPUSpeed = this->ExtractValueFromCpuInfoFile(buffer,"cpu MHz");
- this->CPUSpeedInMHz = static_cast<float>(atof(CPUSpeed.c_str()));
+ if(!CPUSpeed.empty())
+ {
+ this->CPUSpeedInMHz = static_cast<float>(atof(CPUSpeed.c_str()));
+ }
+#ifdef __linux
+ else
+ {
+ // Linux Sparc: CPU speed is in Hz and encoded in hexadecimal
+ CPUSpeed = this->ExtractValueFromCpuInfoFile(buffer,"Cpu0ClkTck");
+ this->CPUSpeedInMHz = static_cast<float>(
+ strtoull(CPUSpeed.c_str(),0,16))/1000000.0f;
+ }
+#endif
// Chip family
kwsys_stl::string familyStr =
@@ -3836,7 +3866,8 @@ bool SystemInformationImplementation::QueryLinuxMemory()
unsigned long temp;
unsigned long cachedMem;
unsigned long buffersMem;
- char *r=fgets(buffer, sizeof(buffer), fd); // Skip "total: used:..."
+ // Skip "total: used:..."
+ char *r=fgets(buffer, static_cast<int>(sizeof(buffer)), fd);
int status=0;
if(r==buffer)
{
@@ -4981,7 +5012,12 @@ bool SystemInformationImplementation::QueryHPUXProcessor()
case CPU_PA_RISC2_0:
this->ChipID.Vendor = "Hewlett-Packard";
this->ChipID.Family = 0x200;
+# ifdef CPU_HP_INTEL_EM_1_0
+ case CPU_HP_INTEL_EM_1_0:
+# endif
+# ifdef CPU_IA64_ARCHREV_0
case CPU_IA64_ARCHREV_0:
+# endif
this->ChipID.Vendor = "GenuineIntel";
this->Features.HasIA64 = true;
break;
@@ -5007,19 +5043,19 @@ bool SystemInformationImplementation::QueryOSInformation()
this->OSName = "Windows";
- OSVERSIONINFOEX osvi;
+ OSVERSIONINFOEXW osvi;
BOOL bIsWindows64Bit;
BOOL bOsVersionInfoEx;
char operatingSystem[256];
// Try calling GetVersionEx using the OSVERSIONINFOEX structure.
- ZeroMemory (&osvi, sizeof (OSVERSIONINFOEX));
- osvi.dwOSVersionInfoSize = sizeof (OSVERSIONINFOEX);
- bOsVersionInfoEx = GetVersionEx ((OSVERSIONINFO *) &osvi);
+ ZeroMemory (&osvi, sizeof (OSVERSIONINFOEXW));
+ osvi.dwOSVersionInfoSize = sizeof (OSVERSIONINFOEXW);
+ bOsVersionInfoEx = GetVersionExW ((OSVERSIONINFOW*)&osvi);
if (!bOsVersionInfoEx)
{
- osvi.dwOSVersionInfoSize = sizeof (OSVERSIONINFO);
- if (!GetVersionEx ((OSVERSIONINFO *) &osvi))
+ osvi.dwOSVersionInfoSize = sizeof (OSVERSIONINFOW);
+ if (!GetVersionExW((OSVERSIONINFOW*)&osvi))
{
return false;
}
@@ -5105,19 +5141,19 @@ bool SystemInformationImplementation::QueryOSInformation()
#endif // VER_NT_WORKSTATION
{
HKEY hKey;
- char szProductType[80];
+ wchar_t szProductType[80];
DWORD dwBufLen;
// Query the registry to retrieve information.
- RegOpenKeyEx (HKEY_LOCAL_MACHINE, "SYSTEM\\CurrentControlSet\\Control\\ProductOptions", 0, KEY_QUERY_VALUE, &hKey);
- RegQueryValueEx (hKey, "ProductType", NULL, NULL, (LPBYTE) szProductType, &dwBufLen);
+ RegOpenKeyExW(HKEY_LOCAL_MACHINE, L"SYSTEM\\CurrentControlSet\\Control\\ProductOptions", 0, KEY_QUERY_VALUE, &hKey);
+ RegQueryValueExW(hKey, L"ProductType", NULL, NULL, (LPBYTE) szProductType, &dwBufLen);
RegCloseKey (hKey);
- if (lstrcmpi ("WINNT", szProductType) == 0)
+ if (lstrcmpiW(L"WINNT", szProductType) == 0)
{
this->OSRelease += " Professional";
}
- if (lstrcmpi ("LANMANNT", szProductType) == 0)
+ if (lstrcmpiW(L"LANMANNT", szProductType) == 0)
{
// Decide between Windows 2000 Advanced Server and Windows .NET Enterprise Server.
if (osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 1)
@@ -5129,7 +5165,7 @@ bool SystemInformationImplementation::QueryOSInformation()
this->OSRelease += " Server";
}
}
- if (lstrcmpi ("SERVERNT", szProductType) == 0)
+ if (lstrcmpiW(L"SERVERNT", szProductType) == 0)
{
// Decide between Windows 2000 Advanced Server and Windows .NET Enterprise Server.
if (osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 1)
@@ -5162,7 +5198,7 @@ bool SystemInformationImplementation::QueryOSInformation()
LPFNPROC DLLProc;
// Load the Kernel32 DLL.
- hKernelDLL = LoadLibrary ("kernel32");
+ hKernelDLL = LoadLibraryW(L"kernel32");
if (hKernelDLL != NULL) {
// Only XP and .NET Server support IsWOW64Process so... Load dynamically!
DLLProc = (LPFNPROC) GetProcAddress (hKernelDLL, "IsWow64Process");
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index e9a1fd3..f4a443f 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -20,6 +20,8 @@
#include KWSYS_HEADER(RegularExpression.hxx)
#include KWSYS_HEADER(SystemTools.hxx)
#include KWSYS_HEADER(Directory.hxx)
+#include KWSYS_HEADER(FStream.hxx)
+#include KWSYS_HEADER(Encoding.hxx)
#include KWSYS_HEADER(ios/iostream)
#include KWSYS_HEADER(ios/fstream)
@@ -32,6 +34,8 @@
#if 0
# include "SystemTools.hxx.in"
# include "Directory.hxx.in"
+# include "FStream.hxx.in"
+# include "Encoding.hxx.in"
# include "kwsys_ios_iostream.h.in"
# include "kwsys_ios_fstream.h.in"
# include "kwsys_ios_sstream.h.in"
@@ -75,6 +79,9 @@
// Windows API.
#if defined(_WIN32)
# include <windows.h>
+# ifndef INVALID_FILE_ATTRIBUTES
+# define INVALID_FILE_ATTRIBUTES ((DWORD)-1)
+# endif
#elif defined (__CYGWIN__)
# include <windows.h>
# undef _WIN32
@@ -152,11 +159,6 @@ public:
#define _chdir chdir
#endif
-#if defined(__HAIKU__)
-#include <os/kernel/OS.h>
-#include <os/storage/Path.h>
-#endif
-
#if defined(__BEOS__) && !defined(__ZETA__)
#include <be/kernel/OS.h>
#include <be/storage/Path.h>
@@ -188,22 +190,25 @@ static inline char *realpath(const char *path, char *resolved_path)
#if defined(_WIN32) && (defined(_MSC_VER) || defined(__WATCOMC__) || defined(__BORLANDC__) || defined(__MINGW32__))
inline int Mkdir(const char* dir)
{
- return _mkdir(dir);
+ return _wmkdir(KWSYS_NAMESPACE::Encoding::ToWide(dir).c_str());
}
inline int Rmdir(const char* dir)
{
- return _rmdir(dir);
+ return _wrmdir(KWSYS_NAMESPACE::Encoding::ToWide(dir).c_str());
}
inline const char* Getcwd(char* buf, unsigned int len)
{
- if(const char* ret = _getcwd(buf, len))
+ std::vector<wchar_t> w_buf(len);
+ if(const wchar_t* ret = _wgetcwd(&w_buf[0], len))
{
// make sure the drive letter is capital
- if(strlen(buf) > 1 && buf[1] == ':')
+ if(wcslen(&w_buf[0]) > 1 && w_buf[1] == L':')
{
- buf[0] = toupper(buf[0]);
+ w_buf[0] = towupper(w_buf[0]);
}
- return ret;
+ std::string tmp = KWSYS_NAMESPACE::Encoding::ToNarrow(&w_buf[0]);
+ strcpy(buf, tmp.c_str());
+ return buf;
}
return 0;
}
@@ -212,16 +217,18 @@ inline int Chdir(const char* dir)
#if defined(__BORLANDC__)
return chdir(dir);
#else
- return _chdir(dir);
+ return _wchdir(KWSYS_NAMESPACE::Encoding::ToWide(dir).c_str());
#endif
}
inline void Realpath(const char *path, kwsys_stl::string & resolved_path)
{
- char *ptemp;
- char fullpath[MAX_PATH];
- if( GetFullPathName(path, sizeof(fullpath), fullpath, &ptemp) )
+ kwsys_stl::wstring tmp = KWSYS_NAMESPACE::Encoding::ToWide(path);
+ wchar_t *ptemp;
+ wchar_t fullpath[MAX_PATH];
+ if( GetFullPathNameW(tmp.c_str(), sizeof(fullpath)/sizeof(fullpath[0]),
+ fullpath, &ptemp) )
{
- resolved_path = fullpath;
+ resolved_path = KWSYS_NAMESPACE::Encoding::ToNarrow(fullpath);
KWSYS_NAMESPACE::SystemTools::ConvertToUnixSlashes(resolved_path);
}
else
@@ -596,6 +603,15 @@ const char* SystemTools::GetExecutableExtension()
#endif
}
+FILE* SystemTools::Fopen(const char* file, const char* mode)
+{
+#ifdef _WIN32
+ return _wfopen(Encoding::ToWide(file).c_str(),
+ Encoding::ToWide(mode).c_str());
+#else
+ return fopen(file, mode);
+#endif
+}
bool SystemTools::MakeDirectory(const char* path)
{
@@ -745,7 +761,7 @@ static DWORD SystemToolsMakeRegistryMode(DWORD mode,
SystemTools::KeyWOW64 view)
{
// only add the modes when on a system that supports Wow64.
- static FARPROC wow64p = GetProcAddress(GetModuleHandle("kernel32"),
+ static FARPROC wow64p = GetProcAddress(GetModuleHandleW(L"kernel32"),
"IsWow64Process");
if(wow64p == NULL)
{
@@ -779,8 +795,8 @@ SystemTools::GetRegistrySubKeys(const char *key,
}
HKEY hKey;
- if(RegOpenKeyEx(primaryKey,
- second.c_str(),
+ if(RegOpenKeyExW(primaryKey,
+ Encoding::ToWide(second).c_str(),
0,
SystemToolsMakeRegistryMode(KEY_READ, view),
&hKey) != ERROR_SUCCESS)
@@ -789,13 +805,13 @@ SystemTools::GetRegistrySubKeys(const char *key,
}
else
{
- char name[1024];
+ wchar_t name[1024];
DWORD dwNameSize = sizeof(name)/sizeof(name[0]);
DWORD i = 0;
- while (RegEnumKey(hKey, i, name, dwNameSize) == ERROR_SUCCESS)
+ while (RegEnumKeyW(hKey, i, name, dwNameSize) == ERROR_SUCCESS)
{
- subkeys.push_back(name);
+ subkeys.push_back(Encoding::ToNarrow(name));
++i;
}
@@ -834,8 +850,8 @@ bool SystemTools::ReadRegistryValue(const char *key, kwsys_stl::string &value,
}
HKEY hKey;
- if(RegOpenKeyEx(primaryKey,
- second.c_str(),
+ if(RegOpenKeyExW(primaryKey,
+ Encoding::ToWide(second).c_str(),
0,
SystemToolsMakeRegistryMode(KEY_READ, view),
&hKey) != ERROR_SUCCESS)
@@ -846,9 +862,9 @@ bool SystemTools::ReadRegistryValue(const char *key, kwsys_stl::string &value,
{
DWORD dwType, dwSize;
dwSize = 1023;
- char data[1024];
- if(RegQueryValueEx(hKey,
- (LPTSTR)valuename.c_str(),
+ wchar_t data[1024];
+ if(RegQueryValueExW(hKey,
+ Encoding::ToWide(valuename).c_str(),
NULL,
&dwType,
(BYTE *)data,
@@ -856,16 +872,17 @@ bool SystemTools::ReadRegistryValue(const char *key, kwsys_stl::string &value,
{
if (dwType == REG_SZ)
{
- value = data;
+ value = Encoding::ToNarrow(data);
valueset = true;
}
else if (dwType == REG_EXPAND_SZ)
{
- char expanded[1024];
+ wchar_t expanded[1024];
DWORD dwExpandedSize = sizeof(expanded)/sizeof(expanded[0]);
- if(ExpandEnvironmentStrings(data, expanded, dwExpandedSize))
+ if(ExpandEnvironmentStringsW(data, expanded,
+ dwExpandedSize))
{
- value = expanded;
+ value = Encoding::ToNarrow(expanded);
valueset = true;
}
}
@@ -906,9 +923,9 @@ bool SystemTools::WriteRegistryValue(const char *key, const char *value,
HKEY hKey;
DWORD dwDummy;
- char lpClass[] = "";
- if(RegCreateKeyEx(primaryKey,
- second.c_str(),
+ wchar_t lpClass[] = L"";
+ if(RegCreateKeyExW(primaryKey,
+ Encoding::ToWide(second).c_str(),
0,
lpClass,
REG_OPTION_NON_VOLATILE,
@@ -920,12 +937,13 @@ bool SystemTools::WriteRegistryValue(const char *key, const char *value,
return false;
}
- if(RegSetValueEx(hKey,
- (LPTSTR)valuename.c_str(),
+ std::wstring wvalue = Encoding::ToWide(value);
+ if(RegSetValueExW(hKey,
+ Encoding::ToWide(valuename).c_str(),
0,
REG_SZ,
- (CONST BYTE *)value,
- (DWORD)(strlen(value) + 1)) == ERROR_SUCCESS)
+ (CONST BYTE *)wvalue.c_str(),
+ (DWORD)(sizeof(wchar_t) * (wvalue.size() + 1))) == ERROR_SUCCESS)
{
return true;
}
@@ -957,8 +975,8 @@ bool SystemTools::DeleteRegistryValue(const char *key, KeyWOW64 view)
}
HKEY hKey;
- if(RegOpenKeyEx(primaryKey,
- second.c_str(),
+ if(RegOpenKeyExW(primaryKey,
+ Encoding::ToWide(second).c_str(),
0,
SystemToolsMakeRegistryMode(KEY_WRITE, view),
&hKey) != ERROR_SUCCESS)
@@ -988,7 +1006,7 @@ bool SystemTools::SameFile(const char* file1, const char* file2)
#ifdef _WIN32
HANDLE hFile1, hFile2;
- hFile1 = CreateFile( file1,
+ hFile1 = CreateFileW( Encoding::ToWide(file1).c_str(),
GENERIC_READ,
FILE_SHARE_READ ,
NULL,
@@ -996,7 +1014,7 @@ bool SystemTools::SameFile(const char* file1, const char* file2)
FILE_FLAG_BACKUP_SEMANTICS,
NULL
);
- hFile2 = CreateFile( file2,
+ hFile2 = CreateFileW( Encoding::ToWide(file2).c_str(),
GENERIC_READ,
FILE_SHARE_READ,
NULL,
@@ -1045,15 +1063,6 @@ bool SystemTools::SameFile(const char* file1, const char* file2)
}
//----------------------------------------------------------------------------
-#if defined(_WIN32) || defined(__CYGWIN__)
-static bool WindowsFileExists(const char* filename)
-{
- WIN32_FILE_ATTRIBUTE_DATA fd;
- return GetFileAttributesExA(filename, GetFileExInfoStandard, &fd) != 0;
-}
-#endif
-
-//----------------------------------------------------------------------------
bool SystemTools::FileExists(const char* filename)
{
if(!(filename && *filename))
@@ -1065,11 +1074,12 @@ bool SystemTools::FileExists(const char* filename)
char winpath[MAX_PATH];
if(SystemTools::PathCygwinToWin32(filename, winpath))
{
- return WindowsFileExists(winpath);
+ return (GetFileAttributesA(winpath) != INVALID_FILE_ATTRIBUTES);
}
return access(filename, R_OK) == 0;
#elif defined(_WIN32)
- return WindowsFileExists(filename);
+ return (GetFileAttributesW(Encoding::ToWide(filename).c_str())
+ != INVALID_FILE_ATTRIBUTES);
#else
return access(filename, R_OK) == 0;
#endif
@@ -1112,7 +1122,7 @@ bool SystemTools::Touch(const char* filename, bool create)
{
if(create && !SystemTools::FileExists(filename))
{
- FILE* file = fopen(filename, "a+b");
+ FILE* file = Fopen(filename, "a+b");
if(file)
{
fclose(file);
@@ -1121,7 +1131,8 @@ bool SystemTools::Touch(const char* filename, bool create)
return false;
}
#if defined(_WIN32) && !defined(__CYGWIN__)
- HANDLE h = CreateFile(filename, FILE_WRITE_ATTRIBUTES,
+ HANDLE h = CreateFileW(Encoding::ToWide(filename).c_str(),
+ FILE_WRITE_ATTRIBUTES,
FILE_SHARE_WRITE, 0, OPEN_EXISTING,
FILE_FLAG_BACKUP_SEMANTICS, 0);
if(!h)
@@ -1225,11 +1236,13 @@ bool SystemTools::FileTimeCompare(const char* f1, const char* f2,
// Windows version. Get the modification time from extended file attributes.
WIN32_FILE_ATTRIBUTE_DATA f1d;
WIN32_FILE_ATTRIBUTE_DATA f2d;
- if(!GetFileAttributesEx(f1, GetFileExInfoStandard, &f1d))
+ if(!GetFileAttributesExW(Encoding::ToWide(f1).c_str(),
+ GetFileExInfoStandard, &f1d))
{
return false;
}
- if(!GetFileAttributesEx(f2, GetFileExInfoStandard, &f2d))
+ if(!GetFileAttributesExW(Encoding::ToWide(f2).c_str(),
+ GetFileExInfoStandard, &f2d))
{
return false;
}
@@ -1937,6 +1950,39 @@ bool SystemTools::CopyFileIfDifferent(const char* source,
bool SystemTools::FilesDiffer(const char* source,
const char* destination)
{
+
+#if defined(_WIN32)
+ WIN32_FILE_ATTRIBUTE_DATA statSource;
+ if (GetFileAttributesExW(Encoding::ToWide(source).c_str(),
+ GetFileExInfoStandard,
+ &statSource) == 0)
+ {
+ return true;
+ }
+
+ WIN32_FILE_ATTRIBUTE_DATA statDestination;
+ if (GetFileAttributesExW(Encoding::ToWide(destination).c_str(),
+ GetFileExInfoStandard,
+ &statDestination) == 0)
+ {
+ return true;
+ }
+
+ if(statSource.nFileSizeHigh != statDestination.nFileSizeHigh ||
+ statSource.nFileSizeLow != statDestination.nFileSizeLow)
+ {
+ return true;
+ }
+
+ if(statSource.nFileSizeHigh == 0 && statSource.nFileSizeLow == 0)
+ {
+ return false;
+ }
+ off_t nleft = ((__int64)statSource.nFileSizeHigh << 32) +
+ statSource.nFileSizeLow;
+
+#else
+
struct stat statSource;
if (stat(source, &statSource) != 0)
{
@@ -1958,15 +2004,19 @@ bool SystemTools::FilesDiffer(const char* source,
{
return false;
}
+ off_t nleft = statSource.st_size;
+#endif
-#if defined(_WIN32) || defined(__CYGWIN__)
- kwsys_ios::ifstream finSource(source, (kwsys_ios::ios::binary |
- kwsys_ios::ios::in));
- kwsys_ios::ifstream finDestination(destination, (kwsys_ios::ios::binary |
- kwsys_ios::ios::in));
+#if defined(_WIN32)
+ kwsys::ifstream finSource(source,
+ (kwsys_ios::ios::binary |
+ kwsys_ios::ios::in));
+ kwsys::ifstream finDestination(destination,
+ (kwsys_ios::ios::binary |
+ kwsys_ios::ios::in));
#else
- kwsys_ios::ifstream finSource(source);
- kwsys_ios::ifstream finDestination(destination);
+ kwsys::ifstream finSource(source);
+ kwsys::ifstream finDestination(destination);
#endif
if(!finSource || !finDestination)
{
@@ -1976,7 +2026,6 @@ bool SystemTools::FilesDiffer(const char* source,
// Compare the files a block at a time.
char source_buf[KWSYS_ST_BUFFER];
char dest_buf[KWSYS_ST_BUFFER];
- off_t nleft = statSource.st_size;
while(nleft > 0)
{
// Read a block from each file.
@@ -2049,10 +2098,10 @@ bool SystemTools::CopyFileAlways(const char* source, const char* destination)
// Open files
#if defined(_WIN32) || defined(__CYGWIN__)
- kwsys_ios::ifstream fin(source,
- kwsys_ios::ios::binary | kwsys_ios::ios::in);
+ kwsys::ifstream fin(source,
+ kwsys_ios::ios::binary | kwsys_ios::ios::in);
#else
- kwsys_ios::ifstream fin(source);
+ kwsys::ifstream fin(source);
#endif
if(!fin)
{
@@ -2066,10 +2115,10 @@ bool SystemTools::CopyFileAlways(const char* source, const char* destination)
SystemTools::RemoveFile(destination);
#if defined(_WIN32) || defined(__CYGWIN__)
- kwsys_ios::ofstream fout(destination,
+ kwsys::ofstream fout(destination,
kwsys_ios::ios::binary | kwsys_ios::ios::out | kwsys_ios::ios::trunc);
#else
- kwsys_ios::ofstream fout(destination,
+ kwsys::ofstream fout(destination,
kwsys_ios::ios::out | kwsys_ios::ios::trunc);
#endif
if(!fout)
@@ -2349,7 +2398,11 @@ bool SystemTools::RemoveFile(const char* source)
/* Win32 unlink is stupid --- it fails if the file is read-only */
SystemTools::SetPermissions(source, S_IWRITE);
#endif
+#ifdef _WIN32
+ bool res = _wunlink(Encoding::ToWide(source).c_str()) != 0 ? false : true;
+#else
bool res = unlink(source) != 0 ? false : true;
+#endif
#ifdef _WIN32
if ( !res )
{
@@ -2794,12 +2847,15 @@ bool SystemTools::FileIsDirectory(const char* name)
}
// Now check the file node type.
+#if defined( _WIN32 )
+ DWORD attr = GetFileAttributesW(Encoding::ToWide(name).c_str());
+ if (attr != INVALID_FILE_ATTRIBUTES)
+ {
+ return (attr & FILE_ATTRIBUTE_DIRECTORY) != 0;
+#else
struct stat fs;
if(stat(name, &fs) == 0)
{
-#if defined( _WIN32 ) && !defined(__CYGWIN__)
- return ((fs.st_mode & _S_IFDIR) != 0);
-#else
return S_ISDIR(fs.st_mode);
#endif
}
@@ -3284,11 +3340,12 @@ static int GetCasePathName(const kwsys_stl::string & pathIn,
kwsys_stl::string test_str = casePath;
test_str += path_components[idx];
- WIN32_FIND_DATA findData;
- HANDLE hFind = ::FindFirstFile(test_str.c_str(), &findData);
+ WIN32_FIND_DATAW findData;
+ HANDLE hFind = ::FindFirstFileW(Encoding::ToWide(test_str).c_str(),
+ &findData);
if (INVALID_HANDLE_VALUE != hFind)
{
- casePath += findData.cFileName;
+ casePath += Encoding::ToNarrow(findData.cFileName);
::FindClose(hFind);
}
else
@@ -3738,8 +3795,7 @@ bool SystemTools::FileHasSignature(const char *filename,
return false;
}
- FILE *fp;
- fp = fopen(filename, "rb");
+ FILE *fp = Fopen(filename, "rb");
if (!fp)
{
return false;
@@ -3772,8 +3828,7 @@ SystemTools::DetectFileType(const char *filename,
return SystemTools::FileTypeUnknown;
}
- FILE *fp;
- fp = fopen(filename, "rb");
+ FILE *fp = Fopen(filename, "rb");
if (!fp)
{
return SystemTools::FileTypeUnknown;
@@ -3963,9 +4018,8 @@ bool SystemTools::GetShortPath(const char* path, kwsys_stl::string& shortPath)
{
#if defined(WIN32) && !defined(__CYGWIN__)
const int size = int(strlen(path)) +1; // size of return
- char *buffer = new char[size]; // create a buffer
char *tempPath = new char[size]; // create a buffer
- int ret;
+ DWORD ret;
// if the path passed in has quotes around it, first remove the quotes
if (path[0] == '"' && path[strlen(path)-1] == '"')
@@ -3978,19 +4032,20 @@ bool SystemTools::GetShortPath(const char* path, kwsys_stl::string& shortPath)
strcpy(tempPath,path);
}
+ kwsys_stl::wstring wtempPath = Encoding::ToWide(tempPath);
+ kwsys_stl::vector<wchar_t> buffer(wtempPath.size()+1);
buffer[0] = 0;
- ret = GetShortPathName(tempPath, buffer, size);
+ ret = GetShortPathNameW(Encoding::ToWide(tempPath).c_str(),
+ &buffer[0], static_cast<DWORD>(wtempPath.size()));
- if(buffer[0] == 0 || ret > size)
+ if(buffer[0] == 0 || ret > wtempPath.size())
{
- delete [] buffer;
delete [] tempPath;
return false;
}
else
{
- shortPath = buffer;
- delete [] buffer;
+ shortPath = Encoding::ToNarrow(&buffer[0]);
delete [] tempPath;
return true;
}
@@ -4217,12 +4272,45 @@ bool SystemTools::GetPermissions(const char* file, mode_t& mode)
return false;
}
+#if defined(_WIN32)
+ DWORD attr = GetFileAttributesW(Encoding::ToWide(file).c_str());
+ if(attr == INVALID_FILE_ATTRIBUTES)
+ {
+ return false;
+ }
+ if((attr & FILE_ATTRIBUTE_READONLY) != 0)
+ {
+ mode = (_S_IREAD | (_S_IREAD >> 3) | (_S_IREAD >> 6));
+ }
+ else
+ {
+ mode = (_S_IWRITE | (_S_IWRITE >> 3) | (_S_IWRITE >> 6)) |
+ (_S_IREAD | (_S_IREAD >> 3) | (_S_IREAD >> 6));
+ }
+ if((attr & FILE_ATTRIBUTE_DIRECTORY) != 0)
+ {
+ mode |= S_IFDIR | (_S_IEXEC | (_S_IEXEC >> 3) | (_S_IEXEC >> 6));
+ }
+ else
+ {
+ mode |= S_IFREG;
+ }
+ const char* ext = strrchr(file, '.');
+ if(ext && (Strucmp(ext, ".exe") == 0 ||
+ Strucmp(ext, ".com") == 0 ||
+ Strucmp(ext, ".cmd") == 0 ||
+ Strucmp(ext, ".bat") == 0))
+ {
+ mode |= (_S_IEXEC | (_S_IEXEC >> 3) | (_S_IEXEC >> 6));
+ }
+#else
struct stat st;
if ( stat(file, &st) < 0 )
{
return false;
}
mode = st.st_mode;
+#endif
return true;
}
@@ -4236,7 +4324,11 @@ bool SystemTools::SetPermissions(const char* file, mode_t mode)
{
return false;
}
+#ifdef _WIN32
+ if ( _wchmod(Encoding::ToWide(file).c_str(), mode) < 0 )
+#else
if ( chmod(file, mode) < 0 )
+#endif
{
return false;
}
@@ -4341,7 +4433,9 @@ void SystemTools::ConvertWindowsCommandLineToUnixArguments(
(*argv)[0] = new char [1024];
#ifdef _WIN32
- ::GetModuleFileName(0, (*argv)[0], 1024);
+ wchar_t tmp[1024];
+ ::GetModuleFileNameW(0, tmp, 1024);
+ strcpy((*argv)[0], Encoding::ToNarrow(tmp).c_str());
#else
(*argv)[0][0] = '\0';
#endif
@@ -4401,14 +4495,14 @@ kwsys_stl::string SystemTools::GetOperatingSystemNameAndVersion()
#ifdef _WIN32
char buffer[256];
- OSVERSIONINFOEX osvi;
+ OSVERSIONINFOEXA osvi;
BOOL bOsVersionInfoEx;
// Try calling GetVersionEx using the OSVERSIONINFOEX structure.
// If that fails, try using the OSVERSIONINFO structure.
- ZeroMemory(&osvi, sizeof(OSVERSIONINFOEX));
- osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEX);
+ ZeroMemory(&osvi, sizeof(OSVERSIONINFOEXA));
+ osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEXA);
bOsVersionInfoEx = GetVersionEx((OSVERSIONINFO *)&osvi);
if (!bOsVersionInfoEx)
@@ -4551,21 +4645,21 @@ kwsys_stl::string SystemTools::GetOperatingSystemNameAndVersion()
{
HKEY hKey;
#define BUFSIZE 80
- char szProductType[BUFSIZE];
+ wchar_t szProductType[BUFSIZE];
DWORD dwBufLen=BUFSIZE;
LONG lRet;
- lRet = RegOpenKeyEx(
+ lRet = RegOpenKeyExW(
HKEY_LOCAL_MACHINE,
- "SYSTEM\\CurrentControlSet\\Control\\ProductOptions",
+ L"SYSTEM\\CurrentControlSet\\Control\\ProductOptions",
0, KEY_QUERY_VALUE, &hKey);
if (lRet != ERROR_SUCCESS)
{
return 0;
}
- lRet = RegQueryValueEx(hKey, "ProductType", NULL, NULL,
- (LPBYTE) szProductType, &dwBufLen);
+ lRet = RegQueryValueExW(hKey, L"ProductType", NULL, NULL,
+ (LPBYTE) szProductType, &dwBufLen);
if ((lRet != ERROR_SUCCESS) || (dwBufLen > BUFSIZE))
{
@@ -4574,15 +4668,15 @@ kwsys_stl::string SystemTools::GetOperatingSystemNameAndVersion()
RegCloseKey(hKey);
- if (lstrcmpi("WINNT", szProductType) == 0)
+ if (lstrcmpiW(L"WINNT", szProductType) == 0)
{
res += " Workstation";
}
- if (lstrcmpi("LANMANNT", szProductType) == 0)
+ if (lstrcmpiW(L"LANMANNT", szProductType) == 0)
{
res += " Server";
}
- if (lstrcmpi("SERVERNT", szProductType) == 0)
+ if (lstrcmpiW(L"SERVERNT", szProductType) == 0)
{
res += " Advanced Server";
}
@@ -4598,16 +4692,16 @@ kwsys_stl::string SystemTools::GetOperatingSystemNameAndVersion()
// Display service pack (if any) and build number.
if (osvi.dwMajorVersion == 4 &&
- lstrcmpi(osvi.szCSDVersion, "Service Pack 6") == 0)
+ lstrcmpiA(osvi.szCSDVersion, "Service Pack 6") == 0)
{
HKEY hKey;
LONG lRet;
// Test for SP6 versus SP6a.
- lRet = RegOpenKeyEx(
+ lRet = RegOpenKeyExW(
HKEY_LOCAL_MACHINE,
- "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Hotfix\\Q246009",
+ L"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Hotfix\\Q246009",
0, KEY_QUERY_VALUE, &hKey);
if (lRet == ERROR_SUCCESS)
diff --git a/Source/kwsys/SystemTools.hxx.in b/Source/kwsys/SystemTools.hxx.in
index d6dae39..9457a4e 100644
--- a/Source/kwsys/SystemTools.hxx.in
+++ b/Source/kwsys/SystemTools.hxx.in
@@ -24,6 +24,8 @@
// Required for va_list
#include <stdarg.h>
+// Required for FILE*
+#include <stdio.h>
#if @KWSYS_NAMESPACE@_STL_HAVE_STD && !defined(va_list)
// Some compilers move va_list into the std namespace and there is no way to
// tell that this has been done. Playing with things being included before or
@@ -42,10 +44,6 @@ namespace @KWSYS_NAMESPACE@
}
#endif // va_list
-#if defined( _MSC_VER )
-typedef unsigned short mode_t;
-#endif
-
/* Define these macros temporarily to keep the code readable. */
#if !defined (KWSYS_NAMESPACE) && !@KWSYS_NAMESPACE@_NAME_IS_KWSYS
# define kwsys_stl @KWSYS_NAMESPACE@_stl
@@ -497,6 +495,11 @@ public:
*/
/**
+ * Open a file considering unicode.
+ */
+ static FILE* Fopen(const char* file, const char* mode);
+
+ /**
* Make a new directory if it is not there. This function
* can make a full path even if none of the directories existed
* prior to calling this function.
@@ -684,6 +687,10 @@ public:
*/
static long int CreationTime(const char* filename);
+ #if defined( _MSC_VER )
+ typedef unsigned short mode_t;
+ #endif
+
/**
* Get and set permissions of the file.
*/
diff --git a/Source/kwsys/Terminal.c b/Source/kwsys/Terminal.c
index 25832c2..6d7ec41 100644
--- a/Source/kwsys/Terminal.c
+++ b/Source/kwsys/Terminal.c
@@ -155,6 +155,7 @@ static const char* kwsysTerminalVT100Names[] =
"mach-color",
"mlterm",
"putty",
+ "putty-256color",
"rxvt",
"rxvt-256color",
"rxvt-cygwin",
diff --git a/Source/kwsys/kwsysPlatformTestsCXX.cxx b/Source/kwsys/kwsysPlatformTestsCXX.cxx
index be7a09e..3f947f3 100644
--- a/Source/kwsys/kwsysPlatformTestsCXX.cxx
+++ b/Source/kwsys/kwsysPlatformTestsCXX.cxx
@@ -674,3 +674,9 @@ int main()
return a;
}
#endif
+
+#ifdef TEST_KWSYS_STL_HAS_WSTRING
+#include <string>
+void f(std ::wstring*) {}
+int main() { return 0; }
+#endif
diff --git a/Source/kwsys/testDynamicLoader.cxx b/Source/kwsys/testDynamicLoader.cxx
index dd6d603..1bff707 100644
--- a/Source/kwsys/testDynamicLoader.cxx
+++ b/Source/kwsys/testDynamicLoader.cxx
@@ -15,14 +15,10 @@
#include KWSYS_HEADER(ios/iostream)
#include KWSYS_HEADER(stl/string)
-#if defined(__BEOS__)
+#if defined(__BEOS__) || defined(__HAIKU__)
#include <be/kernel/OS.h> /* disable_debugger() API. */
#endif
-#if defined(__HAIKU__)
-#include <os/kernel/OS.h> /* disable_debugger() API. */
-#endif
-
// Work-around CMake dependency scanning limitation. This must
// duplicate the above list of headers.
#if 0
diff --git a/Source/kwsys/testEncoding.cxx b/Source/kwsys/testEncoding.cxx
new file mode 100644
index 0000000..094588c
--- /dev/null
+++ b/Source/kwsys/testEncoding.cxx
@@ -0,0 +1,199 @@
+/*============================================================================
+ KWSys - Kitware System Library
+ Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#include "kwsysPrivate.h"
+
+#if defined(_MSC_VER)
+# pragma warning (disable:4786)
+#endif
+
+#include KWSYS_HEADER(Encoding.hxx)
+#include KWSYS_HEADER(Encoding.h)
+#include KWSYS_HEADER(ios/iostream)
+
+#include <locale.h>
+#include <string.h>
+#include <stdlib.h>
+
+// Work-around CMake dependency scanning limitation. This must
+// duplicate the above list of headers.
+#if 0
+# include "Encoding.hxx.in"
+# include "Encoding.h.in"
+# include "kwsys_ios_iostream.h.in"
+#endif
+
+//----------------------------------------------------------------------------
+static const unsigned char helloWorldStrings[][32] =
+{
+ // English
+ {'H','e','l','l','o',' ','W','o','r','l','d',0},
+ // Japanese
+ {0xE3, 0x81, 0x93, 0xE3, 0x82, 0x93, 0xE3, 0x81, 0xAB, 0xE3,
+ 0x81, 0xA1, 0xE3, 0x81, 0xAF, 0xE4, 0xB8, 0x96, 0xE7, 0x95,
+ 0x8C, 0},
+ // Arabic
+ {0xD9, 0x85, 0xD8, 0xB1, 0xD8, 0xAD, 0xD8, 0xA8, 0xD8, 0xA7,
+ 0x20, 0xD8, 0xA7, 0xD9, 0x84, 0xD8, 0xB9, 0xD8, 0xA7, 0xD9,
+ 0x84, 0xD9, 0x85, 0},
+ // Yiddish
+ {0xD7, 0x94, 0xD7, 0xA2, 0xD7, 0x9C, 0xD7, 0x90, 0x20, 0xD7,
+ 0x95, 0xD7, 0x95, 0xD7, 0xA2, 0xD7, 0x9C, 0xD7, 0x98, 0},
+ // Russian
+ {0xD0, 0xBF, 0xD1, 0x80, 0xD0, 0xB8, 0xD0, 0xB2, 0xD0, 0xB5,
+ 0xD1, 0x82, 0x20, 0xD0, 0xBC, 0xD0, 0xB8, 0xD1, 0x80, 0},
+ // Latin
+ {0x4D, 0x75, 0x6E, 0x64, 0x75, 0x73, 0x20, 0x73, 0x61, 0x6C,
+ 0x76, 0x65, 0},
+ // Swahili
+ {0x68, 0x75, 0x6A, 0x61, 0x6D, 0x62, 0x6F, 0x20, 0x44, 0x75,
+ 0x6E, 0x69, 0x61, 0},
+ // Icelandic
+ {0x48, 0x61, 0x6C, 0x6C, 0xC3, 0xB3, 0x20, 0x68, 0x65, 0x69,
+ 0x6D, 0x75, 0x72, 0},
+ {0}
+};
+
+//----------------------------------------------------------------------------
+static int testHelloWorldEncoding()
+{
+ int ret = 0;
+ for(int i=0; helloWorldStrings[i][0] != 0; i++)
+ {
+ std::string str = reinterpret_cast<const char*>(helloWorldStrings[i]);
+ std::cout << str << std::endl;
+ std::wstring wstr = kwsys::Encoding::ToWide(str);
+ std::string str2 = kwsys::Encoding::ToNarrow(wstr);
+ wchar_t* c_wstr = kwsysEncoding_DupToWide(str.c_str());
+ char* c_str2 = kwsysEncoding_DupToNarrow(c_wstr);
+ if(!wstr.empty() && (str != str2 || strcmp(c_str2, str.c_str())))
+ {
+ std::cout << "converted string was different: " << str2 << std::endl;
+ std::cout << "converted string was different: " << c_str2 << std::endl;
+ ret++;
+ }
+ free(c_wstr);
+ free(c_str2);
+ }
+ return ret;
+}
+
+static int testRobustEncoding()
+{
+ // test that the conversion functions handle invalid
+ // unicode correctly/gracefully
+
+ int ret = 0;
+ char cstr[] = {(char)-1, 0};
+ // this conversion could fail
+ std::wstring wstr = kwsys::Encoding::ToWide(cstr);
+
+ wstr = kwsys::Encoding::ToWide(NULL);
+ if(wstr != L"")
+ {
+ const wchar_t* wcstr = wstr.c_str();
+ std::cout << "ToWide(NULL) returned";
+ for(size_t i=0; i<wstr.size(); i++)
+ {
+ std::cout << " " << std::hex << (int)wcstr[i];
+ }
+ std::cout << std::endl;
+ ret++;
+ }
+ wstr = kwsys::Encoding::ToWide("");
+ if(wstr != L"")
+ {
+ const wchar_t* wcstr = wstr.c_str();
+ std::cout << "ToWide(\"\") returned";
+ for(size_t i=0; i<wstr.size(); i++)
+ {
+ std::cout << " " << std::hex << (int)wcstr[i];
+ }
+ std::cout << std::endl;
+ ret++;
+ }
+
+#ifdef WIN32
+ // 16 bit wchar_t - we make an invalid surrogate pair
+ wchar_t cwstr[] = {0xD801, 0xDA00, 0};
+ // this conversion could fail
+ std::string win_str = kwsys::Encoding::ToNarrow(cwstr);
+#endif
+
+ std::string str = kwsys::Encoding::ToNarrow(NULL);
+ if(str != "")
+ {
+ std::cout << "ToNarrow(NULL) returned " << str << std::endl;
+ ret++;
+ }
+
+ str = kwsys::Encoding::ToNarrow(L"");
+ if(wstr != L"")
+ {
+ std::cout << "ToNarrow(\"\") returned " << str << std::endl;
+ ret++;
+ }
+
+ return ret;
+}
+
+static int testCommandLineArguments()
+{
+ int status = 0;
+
+ char const* argv[2] = {
+ "./app.exe",
+ (char const*)helloWorldStrings[1]
+ };
+
+ kwsys::Encoding::CommandLineArguments args(2, argv);
+ kwsys::Encoding::CommandLineArguments arg2 =
+ kwsys::Encoding::CommandLineArguments(args);
+
+ char const* const* u8_argv = args.argv();
+ for(int i=0; i<args.argc(); i++)
+ {
+ char const* u8_arg = u8_argv[i];
+ if(strcmp(argv[i], u8_arg) != 0)
+ {
+ std::cout << "argv[" << i << "] " << argv[i] << " != "
+ << u8_arg << std::endl;
+ status++;
+ }
+ }
+
+ kwsys::Encoding::CommandLineArguments args3 =
+ kwsys::Encoding::CommandLineArguments::Main(2, argv);
+
+ return status;
+}
+
+//----------------------------------------------------------------------------
+int testEncoding(int, char*[])
+{
+ const char* loc = setlocale(LC_ALL, "");
+ if(loc)
+ {
+ std::cout << "Locale: " << loc << std::endl;
+ }
+ else
+ {
+ std::cout << "Locale: None" << std::endl;
+ }
+
+ int ret = 0;
+
+ ret |= testHelloWorldEncoding();
+ ret |= testRobustEncoding();
+ ret |= testCommandLineArguments();
+
+ return ret;
+}
diff --git a/Source/kwsys/testFStream.cxx b/Source/kwsys/testFStream.cxx
new file mode 100644
index 0000000..8942549
--- /dev/null
+++ b/Source/kwsys/testFStream.cxx
@@ -0,0 +1,48 @@
+/*============================================================================
+ KWSys - Kitware System Library
+ Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#include "kwsysPrivate.h"
+
+#if defined(_MSC_VER)
+# pragma warning (disable:4786)
+#endif
+
+#include KWSYS_HEADER(FStream.hxx)
+
+// Work-around CMake dependency scanning limitation. This must
+// duplicate the above list of headers.
+#if 0
+# include "FStream.hxx.in"
+#endif
+
+
+//----------------------------------------------------------------------------
+static int testNoFile()
+{
+ kwsys::ifstream in_file("NoSuchFile.txt");
+ if(in_file)
+ {
+ return 1;
+ }
+
+ return 0;
+}
+
+
+//----------------------------------------------------------------------------
+int testFStream(int, char*[])
+{
+ int ret = 0;
+
+ ret |= testNoFile();
+
+ return ret;
+}
diff --git a/Templates/TestDriver.cxx.in b/Templates/TestDriver.cxx.in
index f4510bb..0e0a872 100644
--- a/Templates/TestDriver.cxx.in
+++ b/Templates/TestDriver.cxx.in
@@ -18,7 +18,7 @@ typedef struct
MainFuncPointer func;
} functionMapEntry;
-functionMapEntry cmakeGeneratedFunctionMapEntries[] = {
+static functionMapEntry cmakeGeneratedFunctionMapEntries[] = {
@CMAKE_FUNCTION_TABLE_ENTIRES@
{0,0}
};
@@ -26,7 +26,7 @@ functionMapEntry cmakeGeneratedFunctionMapEntries[] = {
/* Allocate and create a lowercased copy of string
(note that it has to be free'd manually) */
-char* lowercase(const char *string)
+static char* lowercase(const char *string)
{
char *new_string, *p;
@@ -58,7 +58,7 @@ char* lowercase(const char *string)
int main(int ac, char *av[])
{
- int i, NumTests, testNum, partial_match;
+ int i, NumTests, testNum = 0, partial_match;
char *arg, *test_name;
int count;
int testToRun = -1;
@@ -81,7 +81,6 @@ int main(int ac, char *av[])
}
printf("To run a test, enter the test number: ");
fflush(stdout);
- testNum = 0;
if( scanf("%d", &testNum) != 1 )
{
printf("Couldn't parse that input as a number\n");
@@ -137,6 +136,13 @@ int main(int ac, char *av[])
{
int result;
@CMAKE_TESTDRIVER_BEFORE_TESTMAIN@
+ if (testToRun < 0 || testToRun >= NumTests)
+ {
+ printf(
+ "testToRun was modified by TestDriver code to an invalid value: %3d.\n",
+ testNum);
+ return -1;
+ }
result = (*cmakeGeneratedFunctionMapEntries[testToRun].func)(ac, av);
@CMAKE_TESTDRIVER_AFTER_TESTMAIN@
return result;
diff --git a/Tests/AliasTarget/CMakeLists.txt b/Tests/AliasTarget/CMakeLists.txt
index a5eb0f6..9467fae 100644
--- a/Tests/AliasTarget/CMakeLists.txt
+++ b/Tests/AliasTarget/CMakeLists.txt
@@ -45,3 +45,28 @@ get_property(_alt2 TARGET PREFIX::Foo PROPERTY ALIASED_TARGET)
if (NOT ${_alt2} STREQUAL foo)
message(SEND_ERROR "ALIASED_TARGET is not foo.")
endif()
+
+add_library(iface INTERFACE)
+add_library(Alias::Iface ALIAS iface)
+
+get_target_property(_notAlias1 foo ALIASED_TARGET)
+if (NOT DEFINED _notAlias1)
+ message(SEND_ERROR "_notAlias1 is not defined")
+endif()
+if (_notAlias1)
+ message(SEND_ERROR "_notAlias1 is defined, but foo is not an ALIAS")
+endif()
+if (NOT _notAlias1 STREQUAL _notAlias1-NOTFOUND)
+ message(SEND_ERROR "_notAlias1 not defined to a -NOTFOUND variant")
+endif()
+
+get_property(_notAlias2 TARGET foo PROPERTY ALIASED_TARGET)
+if (NOT DEFINED _notAlias2)
+ message(SEND_ERROR "_notAlias2 is not defined")
+endif()
+if (_notAlias2)
+ message(SEND_ERROR "_notAlias2 is defined, but foo is not an ALIAS")
+endif()
+if (NOT _notAlias2 STREQUAL _notAlias2-NOTFOUND)
+ message(SEND_ERROR "_notAlias2 not defined to a -NOTFOUND variant")
+endif()
diff --git a/Tests/Assembler/CMakeLists.txt b/Tests/Assembler/CMakeLists.txt
index bb4bccc..fdc5c00 100644
--- a/Tests/Assembler/CMakeLists.txt
+++ b/Tests/Assembler/CMakeLists.txt
@@ -9,12 +9,15 @@ set(SRCS)
# and also generate assembler files from C:
if("${CMAKE_GENERATOR}" MATCHES "Makefile|Xcode" AND
NOT CMAKE_OSX_ARCHITECTURES)
- if(("${CMAKE_C_COMPILER_ID}" MATCHES "^(GNU|Clang|HP|SunPro|XL)$") OR ("${CMAKE_C_COMPILER_ID}" STREQUAL "Intel" AND UNIX))
+ if(("${CMAKE_C_COMPILER_ID}" MATCHES "^(GNU|Clang|AppleClang|HP|SunPro|XL)$") OR ("${CMAKE_C_COMPILER_ID}" STREQUAL "Intel" AND UNIX))
set(C_FLAGS "${CMAKE_C_FLAGS}")
separate_arguments(C_FLAGS)
if(CMAKE_OSX_SYSROOT AND CMAKE_C_SYSROOT_FLAG AND NOT ";${C_FLAGS};" MATCHES ";${CMAKE_C_SYSROOT_FLAG};")
list(APPEND C_FLAGS ${CMAKE_C_SYSROOT_FLAG} ${CMAKE_OSX_SYSROOT})
endif()
+ # Clang on OS X, and perhaps other compilers, do not support -g
+ # for both generating and assembling, so drop it from generating.
+ list(REMOVE_ITEM C_FLAGS -g)
set(SRCS main.s)
add_custom_command(
OUTPUT main.s
diff --git a/Tests/BootstrapTest.cmake b/Tests/BootstrapTest.cmake
new file mode 100644
index 0000000..9c9fe09
--- /dev/null
+++ b/Tests/BootstrapTest.cmake
@@ -0,0 +1,10 @@
+file(MAKE_DIRECTORY "${bin_dir}")
+message(STATUS "running bootstrap: ${bootstrap}")
+execute_process(
+ COMMAND ${bootstrap}
+ WORKING_DIRECTORY "${bin_dir}"
+ RESULT_VARIABLE result
+ )
+if(result)
+ message(FATAL_ERROR "bootstrap failed: ${result}")
+endif()
diff --git a/Tests/BuildDepends/CMakeLists.txt b/Tests/BuildDepends/CMakeLists.txt
index 0687154..9727930 100644
--- a/Tests/BuildDepends/CMakeLists.txt
+++ b/Tests/BuildDepends/CMakeLists.txt
@@ -13,7 +13,7 @@ project(BuildDepends)
set(CMAKE_SUPPRESS_REGENERATION 1)
# Xcode needs some help with the fancy dependencies in this test.
-if("${CMAKE_GENERATOR}" MATCHES "Xcode")
+if(XCODE AND XCODE_VERSION VERSION_LESS 5)
set(HELP_XCODE 1)
endif()
function(help_xcode_depends)
diff --git a/Tests/BundleTest/BundleLib.cxx b/Tests/BundleTest/BundleLib.cxx
index b68ee25..37bc178 100644
--- a/Tests/BundleTest/BundleLib.cxx
+++ b/Tests/BundleTest/BundleLib.cxx
@@ -58,7 +58,7 @@ int foo(char *exec)
int res1 = findBundleFile(exec, "Resources/randomResourceFile.plist");
int res2 = findBundleFile(exec, "MacOS/SomeRandomFile.txt");
- int res3 = findBundleFile(exec, "MacOS/ChangeLog.txt");
+ int res3 = findBundleFile(exec, "MacOS/README.rst");
if ( !res1 ||
!res2 ||
!res3 )
diff --git a/Tests/BundleTest/BundleSubDir/CMakeLists.txt b/Tests/BundleTest/BundleSubDir/CMakeLists.txt
index 1921ce0..43c366a 100644
--- a/Tests/BundleTest/BundleSubDir/CMakeLists.txt
+++ b/Tests/BundleTest/BundleSubDir/CMakeLists.txt
@@ -12,7 +12,7 @@ set_source_files_properties(
set_source_files_properties(
"${BundleTest_SOURCE_DIR}/SomeRandomFile.txt"
- "${BundleTest_SOURCE_DIR}/../../ChangeLog.txt"
+ "${BundleTest_SOURCE_DIR}/../../README.rst"
PROPERTIES
MACOSX_PACKAGE_LOCATION MacOS
)
@@ -21,7 +21,7 @@ add_executable(SecondBundle
MACOSX_BUNDLE
"${BundleTest_SOURCE_DIR}/BundleTest.cxx"
"${BundleTest_SOURCE_DIR}/SomeRandomFile.txt"
- "${BundleTest_SOURCE_DIR}/../../ChangeLog.txt"
+ "${BundleTest_SOURCE_DIR}/../../README.rst"
"${CMAKE_CURRENT_BINARY_DIR}/randomResourceFile.plist"
)
target_link_libraries(SecondBundle BundleTestLib)
diff --git a/Tests/BundleTest/CMakeLists.txt b/Tests/BundleTest/CMakeLists.txt
index de69d75..853da35 100644
--- a/Tests/BundleTest/CMakeLists.txt
+++ b/Tests/BundleTest/CMakeLists.txt
@@ -17,7 +17,7 @@ set_source_files_properties(
set_source_files_properties(
SomeRandomFile.txt
- "${BundleTest_SOURCE_DIR}/../../ChangeLog.txt"
+ "${BundleTest_SOURCE_DIR}/../../README.rst"
PROPERTIES
MACOSX_PACKAGE_LOCATION MacOS
)
@@ -38,7 +38,7 @@ add_executable(BundleTest
MACOSX_BUNDLE
BundleTest.cxx
SomeRandomFile.txt
- "${BundleTest_SOURCE_DIR}/../../ChangeLog.txt"
+ "${BundleTest_SOURCE_DIR}/../../README.rst"
"${CMAKE_CURRENT_BINARY_DIR}/randomResourceFile.plist"
)
target_link_libraries(BundleTest BundleTestLib)
diff --git a/Tests/BundleUtilities/CMakeLists.txt b/Tests/BundleUtilities/CMakeLists.txt
index 5cc7071..3a1cf55 100644
--- a/Tests/BundleUtilities/CMakeLists.txt
+++ b/Tests/BundleUtilities/CMakeLists.txt
@@ -25,13 +25,11 @@ set_target_properties(shared shared2 framework PROPERTIES
# testbundleutils1 will load this at runtime
add_library(module1 MODULE module.cpp module.h)
set_target_properties(module1 PROPERTIES PREFIX "")
-get_target_property(module_loc module1 LOCATION)
target_link_libraries(module1 shared2)
# a bundle application
add_executable(testbundleutils1 MACOSX_BUNDLE testbundleutils1.cpp)
target_link_libraries(testbundleutils1 shared framework ${CMAKE_DL_LIBS})
-get_target_property(loc testbundleutils1 LOCATION)
set_target_properties(testbundleutils1 module1 PROPERTIES
INSTALL_RPATH "${CMAKE_CURRENT_BINARY_DIR}/testdir1"
@@ -40,8 +38,8 @@ set_target_properties(testbundleutils1 module1 PROPERTIES
# add custom target to install and test the app
add_custom_target(testbundleutils1_test ALL
COMMAND ${CMAKE_COMMAND}
- "-DINPUT=${loc}"
- "-DMODULE=${module_loc}"
+ "-DINPUT=$<TARGET_FILE:testbundleutils1>"
+ "-DMODULE=$<TARGET_FILE:module1>"
"-DINPUTDIR=${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}"
"-DOUTPUTDIR=${CMAKE_CURRENT_BINARY_DIR}/testdir1"
-P "${CMAKE_CURRENT_SOURCE_DIR}/bundleutils.cmake"
@@ -58,13 +56,11 @@ add_dependencies(testbundleutils1_test testbundleutils1)
# testbundleutils2 will load this at runtime
add_library(module2 MODULE module.cpp module.h)
set_target_properties(module2 PROPERTIES PREFIX "")
-get_target_property(module_loc module2 LOCATION)
target_link_libraries(module2 shared2)
# a non-bundle application
add_executable(testbundleutils2 testbundleutils2.cpp)
target_link_libraries(testbundleutils2 shared framework ${CMAKE_DL_LIBS})
-get_target_property(loc testbundleutils2 LOCATION)
set_target_properties(testbundleutils2 module2 PROPERTIES
INSTALL_RPATH "${CMAKE_CURRENT_BINARY_DIR}/testdir2"
@@ -73,8 +69,8 @@ set_target_properties(testbundleutils2 module2 PROPERTIES
# add custom target to install and test the app
add_custom_target(testbundleutils2_test ALL
COMMAND ${CMAKE_COMMAND}
- "-DINPUT=${loc}"
- "-DMODULE=${module_loc}"
+ "-DINPUT=$<TARGET_FILE:testbundleutils2>"
+ "-DMODULE=$<TARGET_FILE:module2>"
"-DINPUTDIR=${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}"
"-DOUTPUTDIR=${CMAKE_CURRENT_BINARY_DIR}/testdir2"
-P "${CMAKE_CURRENT_SOURCE_DIR}/bundleutils.cmake"
@@ -106,13 +102,11 @@ if(APPLE AND NOT CMAKE_SYSTEM_VERSION VERSION_LESS 9.0)
# testbundleutils1 will load this at runtime
add_library(module3 MODULE module.cpp module.h)
set_target_properties(module3 PROPERTIES PREFIX "" LINK_FLAGS "-Wl,-rpath,@loader_path/")
- get_target_property(module_loc module3 LOCATION)
target_link_libraries(module3 shared2-3)
# a non-bundle application
add_executable(testbundleutils3 testbundleutils3.cpp)
target_link_libraries(testbundleutils3 shared-3 framework-3 ${CMAKE_DL_LIBS})
- get_target_property(loc testbundleutils3 LOCATION)
set_target_properties(testbundleutils3 module3 PROPERTIES
LINK_FLAGS "-Wl,-rpath,@loader_path/")
@@ -120,8 +114,8 @@ if(APPLE AND NOT CMAKE_SYSTEM_VERSION VERSION_LESS 9.0)
# add custom target to install and test the app
add_custom_target(testbundleutils3_test ALL
COMMAND ${CMAKE_COMMAND}
- "-DINPUT=${loc}"
- "-DMODULE=${module_loc}"
+ "-DINPUT=$<TARGET_FILE:testbundleutils3>"
+ "-DMODULE=$<TARGET_FILE:module3>"
"-DINPUTDIR=${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}"
"-DOUTPUTDIR=${CMAKE_CURRENT_BINARY_DIR}/testdir3"
-P "${CMAKE_CURRENT_SOURCE_DIR}/bundleutils.cmake"
diff --git a/Tests/CFBundleTest/CMakeLists.txt b/Tests/CFBundleTest/CMakeLists.txt
index bf9771c..5cda527 100644
--- a/Tests/CFBundleTest/CMakeLists.txt
+++ b/Tests/CFBundleTest/CMakeLists.txt
@@ -30,8 +30,14 @@ if(NOT RC_COMPILER)
message(FATAL_ERROR "could not find Rez to build resources from .r file...")
endif()
+set(sysroot)
+if(CMAKE_OSX_SYSROOT)
+ set(sysroot -isysroot ${CMAKE_OSX_SYSROOT})
+endif()
+
execute_process(COMMAND
- ${RC_COMPILER} ${RCFILES} -useDF -o ${CMAKE_CURRENT_BINARY_DIR}/Localized.rsrc
+ ${RC_COMPILER} ${sysroot} ${RCFILES} -useDF
+ -o ${CMAKE_CURRENT_BINARY_DIR}/Localized.rsrc
)
set_source_files_properties(
diff --git a/Tests/CMakeCommands/add_compile_options/CMakeLists.txt b/Tests/CMakeCommands/add_compile_options/CMakeLists.txt
index 1652cf6..995b32c 100644
--- a/Tests/CMakeCommands/add_compile_options/CMakeLists.txt
+++ b/Tests/CMakeCommands/add_compile_options/CMakeLists.txt
@@ -12,3 +12,10 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
"DO_GNU_TESTS"
)
endif()
+
+add_compile_options(-rtti)
+add_library(imp UNKNOWN IMPORTED)
+get_target_property(_res imp COMPILE_OPTIONS)
+if (_res)
+ message(SEND_ERROR "add_compile_options populated the COMPILE_OPTIONS target property")
+endif()
diff --git a/Tests/CMakeCommands/target_compile_definitions/CMakeLists.txt b/Tests/CMakeCommands/target_compile_definitions/CMakeLists.txt
index 900dbd0..14d40aa 100644
--- a/Tests/CMakeCommands/target_compile_definitions/CMakeLists.txt
+++ b/Tests/CMakeCommands/target_compile_definitions/CMakeLists.txt
@@ -25,3 +25,10 @@ target_compile_definitions(consumer
target_compile_definitions(consumer
PRIVATE
)
+
+add_definitions(-DSOME_DEF)
+add_library(imp UNKNOWN IMPORTED)
+get_target_property(_res imp COMPILE_DEFINITIONS)
+if (_res)
+ message(SEND_ERROR "add_definitions populated the COMPILE_DEFINITIONS target property")
+endif()
diff --git a/Tests/CMakeCommands/target_include_directories/CMakeLists.txt b/Tests/CMakeCommands/target_include_directories/CMakeLists.txt
index 21b8e15..661bbaa 100644
--- a/Tests/CMakeCommands/target_include_directories/CMakeLists.txt
+++ b/Tests/CMakeCommands/target_include_directories/CMakeLists.txt
@@ -45,7 +45,8 @@ add_executable(consumer
target_include_directories(consumer
PRIVATE
$<TARGET_PROPERTY:target_include_directories,INTERFACE_INCLUDE_DIRECTORIES>
- relative_dir
+ relative_dir
+ relative_dir/$<TARGET_PROPERTY:NAME>
)
# Test no items
@@ -61,3 +62,10 @@ target_include_directories(consumer
target_include_directories(consumer
SYSTEM PRIVATE
)
+
+include_directories(${CMAKE_CURRENT_BINARY_DIR})
+add_library(imp UNKNOWN IMPORTED)
+get_target_property(_res imp INCLUDE_DIRECTORIES)
+if (_res)
+ message(SEND_ERROR "include_directories populated the INCLUDE_DIRECTORIES target property")
+endif()
diff --git a/Tests/CMakeCommands/target_include_directories/consumer.cpp b/Tests/CMakeCommands/target_include_directories/consumer.cpp
index 82b800a..7e3443e 100644
--- a/Tests/CMakeCommands/target_include_directories/consumer.cpp
+++ b/Tests/CMakeCommands/target_include_directories/consumer.cpp
@@ -3,6 +3,7 @@
#include "publicinclude.h"
#include "interfaceinclude.h"
#include "relative_dir.h"
+#include "consumer.h"
#ifdef PRIVATEINCLUDE_DEFINE
#error Unexpected PRIVATEINCLUDE_DEFINE
@@ -24,4 +25,8 @@
#error Expected RELATIVE_DIR_DEFINE
#endif
+#ifndef CONSUMER_DEFINE
+#error Expected CONSUMER_DEFINE
+#endif
+
int main() { return 0; }
diff --git a/Tests/CMakeCommands/target_include_directories/relative_dir/consumer/consumer.h b/Tests/CMakeCommands/target_include_directories/relative_dir/consumer/consumer.h
new file mode 100644
index 0000000..b915373
--- /dev/null
+++ b/Tests/CMakeCommands/target_include_directories/relative_dir/consumer/consumer.h
@@ -0,0 +1,2 @@
+
+#define CONSUMER_DEFINE
diff --git a/Tests/CMakeCommands/target_link_libraries/CMakeLists.txt b/Tests/CMakeCommands/target_link_libraries/CMakeLists.txt
index 06019e6..e11f980 100644
--- a/Tests/CMakeCommands/target_link_libraries/CMakeLists.txt
+++ b/Tests/CMakeCommands/target_link_libraries/CMakeLists.txt
@@ -32,7 +32,7 @@ generate_export_header(depA)
add_library(depB SHARED depB.cpp)
generate_export_header(depB)
-target_link_libraries(depB LINK_PRIVATE depA)
+target_link_libraries(depB LINK_PRIVATE depA LINK_PRIVATE depA)
add_library(libgenex SHARED libgenex.cpp)
generate_export_header(libgenex)
@@ -44,11 +44,11 @@ set_property(TARGET depB APPEND PROPERTY
add_library(depC SHARED depC.cpp)
generate_export_header(depC)
-target_link_libraries(depC LINK_PUBLIC depA)
+target_link_libraries(depC LINK_PUBLIC depA LINK_PUBLIC depA)
assert_property(depA LINK_INTERFACE_LIBRARIES "")
assert_property(depB LINK_INTERFACE_LIBRARIES "")
-assert_property(depC LINK_INTERFACE_LIBRARIES "depA")
+assert_property(depC LINK_INTERFACE_LIBRARIES "depA;depA")
add_executable(targetA targetA.cpp)
diff --git a/Tests/CMakeCopyright.cmake b/Tests/CMakeCopyright.cmake
new file mode 100644
index 0000000..a7201e9
--- /dev/null
+++ b/Tests/CMakeCopyright.cmake
@@ -0,0 +1,22 @@
+if(CMAKE_VERSION MATCHES "\\.(20[0-9][0-9])[0-9][0-9][0-9][0-9](-|$)")
+ set(version_year "${CMAKE_MATCH_1}")
+ set(copyright_line_regex "^Copyright 2000-(20[0-9][0-9]) Kitware")
+ file(STRINGS "${CMAKE_CURRENT_LIST_DIR}/../Copyright.txt" copyright_line
+ LIMIT_COUNT 1 REGEX "${copyright_line_regex}")
+ if(copyright_line MATCHES "${copyright_line_regex}")
+ set(copyright_year "${CMAKE_MATCH_1}")
+ if(copyright_year LESS version_year)
+ message(FATAL_ERROR "Copyright.txt contains\n"
+ " ${copyright_line}\n"
+ "but the current version year is ${version_year}.")
+ else()
+ message(STATUS "PASSED: Copyright.txt contains\n"
+ " ${copyright_line}\n"
+ "and the current version year is ${version_year}.")
+ endif()
+ else()
+ message(FATAL_ERROR "Copyright.txt has no Copyright line of expected format!")
+ endif()
+else()
+ message(STATUS "SKIPPED: CMAKE_VERSION does not know the year: ${CMAKE_VERSION}")
+endif()
diff --git a/Tests/CMakeInstall.cmake b/Tests/CMakeInstall.cmake
index 5f814d9..fda8c54 100644
--- a/Tests/CMakeInstall.cmake
+++ b/Tests/CMakeInstall.cmake
@@ -17,29 +17,15 @@ if(CMake_TEST_INSTALL)
if(CMAKE_CONFIGURATION_TYPES)
# There are multiple configurations. Make sure the tested
# configuration is the one that is installed.
- set(CMake_TEST_INSTALL_CONFIG -C "\${CTEST_CONFIGURATION_TYPE}")
+ set(CMake_TEST_INSTALL_CONFIG --config $<CONFIGURATION>)
else()
set(CMake_TEST_INSTALL_CONFIG)
endif()
- # The CTest of the CMake used to build this CMake.
- if(CMAKE_CTEST_COMMAND)
- set(CMake_TEST_INSTALL_CTest ${CMAKE_CTEST_COMMAND})
- else()
- set(CMake_TEST_INSTALL_CTest ${CMake_BIN_DIR}/ctest)
- endif()
-
# Add a test to install CMake through the build system install target.
- add_test(CMake.Install
- ${CMake_TEST_INSTALL_CTest}
- ${CMake_TEST_INSTALL_CONFIG}
- --build-and-test ${CMake_SOURCE_DIR} ${CMake_BINARY_DIR}
- --build-generator ${CMAKE_GENERATOR} # Not CMAKE_TEST_GENERATOR
- --build-project CMake
- --build-makeprogram ${CMAKE_MAKE_PROGRAM} # Not CMAKE_TEST_MAKEPROGRAM
- --build-nocmake
- --build-noclean
- --build-target install)
+ add_test(NAME CMake.Install
+ COMMAND cmake --build . --target install ${CMake_TEST_INSTALL_CONFIG}
+ )
# Avoid running this test simultaneously with other tests:
set_tests_properties(CMake.Install PROPERTIES RUN_SERIAL ON)
diff --git a/Tests/CMakeLib/CMakeLists.txt b/Tests/CMakeLib/CMakeLists.txt
index a831e30..0e1fe8d 100644
--- a/Tests/CMakeLib/CMakeLists.txt
+++ b/Tests/CMakeLib/CMakeLists.txt
@@ -6,13 +6,14 @@ include_directories(
set(CMakeLib_TESTS
testGeneratedFileStream
+ testRST
testSystemTools
testUTF8
testXMLParser
testXMLSafe
)
-if(WIN32 AND NOT UNIX) # Just if(WIN32) when CMake >= 2.8.4 is required
+if(WIN32)
list(APPEND CMakeLib_TESTS
testVisualStudioSlnParser
)
diff --git a/Tests/CMakeLib/testRST.cxx b/Tests/CMakeLib/testRST.cxx
new file mode 100644
index 0000000..bad9560
--- /dev/null
+++ b/Tests/CMakeLib/testRST.cxx
@@ -0,0 +1,96 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2000-2013 Kitware, Inc., Insight Software Consortium
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+#include "cmRST.h"
+
+#include "cmSystemTools.h"
+
+void reportLine(std::ostream& os, bool ret, std::string line, bool eol)
+{
+ if(ret)
+ {
+ os << "\"" << line << "\" (" << (eol?"with EOL":"without EOL") << ")";
+ }
+ else
+ {
+ os << "EOF";
+ }
+}
+
+int testRST(int, char*[])
+{
+ std::string dir = cmSystemTools::GetFilenamePath(__FILE__);
+ if(dir.empty())
+ {
+ dir = ".";
+ }
+ std::string a_name = "testRST.actual";
+ std::string e_name = dir + "/testRST.expect";
+
+ // Process the test RST file.
+ {
+ std::string fname = dir + "/testRST.rst";
+ std::ofstream fout(a_name.c_str());
+ if(!fout)
+ {
+ std::cerr << "Could not open output " << a_name << std::endl;
+ return 1;
+ }
+
+ cmRST r(fout, dir);
+ if(!r.ProcessFile(fname))
+ {
+ std::cerr << "Could not open input " << fname << std::endl;
+ return 1;
+ }
+ }
+
+ // Compare expected and actual outputs.
+ std::ifstream e_fin(e_name.c_str());
+ std::ifstream a_fin(a_name.c_str());
+ if(!e_fin)
+ {
+ std::cerr << "Could not open input " << e_name << std::endl;
+ return 1;
+ }
+ if(!a_fin)
+ {
+ std::cerr << "Could not open input " << a_name << std::endl;
+ return 1;
+ }
+ int lineno = 0;
+ bool e_ret;
+ bool a_ret;
+ do
+ {
+ std::string e_line;
+ std::string a_line;
+ bool e_eol;
+ bool a_eol;
+ e_ret = cmSystemTools::GetLineFromStream(e_fin, e_line, &e_eol);
+ a_ret = cmSystemTools::GetLineFromStream(a_fin, a_line, &a_eol);
+ ++lineno;
+ if(e_ret != a_ret || e_line != a_line || e_eol != a_eol)
+ {
+ a_fin.seekg(0, std::ios::beg);
+ std::cerr << "Actual output does not match that expected on line "
+ << lineno << "." << std::endl << "Expected ";
+ reportLine(std::cerr, e_ret, e_line, e_eol);
+ std::cerr << " but got ";
+ reportLine(std::cerr, a_ret, a_line, a_eol);
+ std::cerr << "." << std::endl
+ << "Actual output:" << std::endl
+ << a_fin.rdbuf();
+ return 1;
+ }
+ } while(e_ret && a_ret);
+ return 0;
+}
diff --git a/Tests/CMakeLib/testRST.expect b/Tests/CMakeLib/testRST.expect
new file mode 100644
index 0000000..fa436cb
--- /dev/null
+++ b/Tests/CMakeLib/testRST.expect
@@ -0,0 +1,92 @@
+title_text
+----------
+
+Command ``some_cmd()`` explicit cmake domain.
+Command ``some_cmd()`` without target.
+Command ``some_cmd`` with target.
+Command ``some_cmd_<cmd>()`` placeholder without target.
+Command ``some_cmd_<cmd>`` placholder with target.
+Command ``some_cmd()`` with parens.
+Command ``some_cmd(SUB)`` with subcommand.
+Command ``some_cmd(SUB)`` with subcommand and target.
+Command ``some_cmd (SUB)`` with space and subcommand and target.
+Command ``some command`` with space and target.
+Variable ``some variable`` space and target.
+Variable ``<PLACEHOLDER>_VARIABLE`` with leading placeholder.
+Variable ``VARIABLE_<PLACEHOLDER>`` with trailing placeholder.
+Variable ``<PLACEHOLDER>_VARIABLE`` with leading placeholder and target.
+Variable ``VARIABLE_<PLACEHOLDER>`` with trailing placeholder and target.
+Generator ``Some Generator`` with space.
+
+First TOC entry.
+
+|not replaced|
+Second TOC entry.
+
+CMake Module Content
+
+More CMake Module Content
+
+Bracket Comment Content
+
+[
+Bracket Comment Content
+]
+
+.. cmake:command:: some_cmd
+
+ Command some_cmd description.
+
+.. command:: other_cmd
+
+ Command other_cmd description.
+
+.. cmake:variable:: some_var
+
+ Variable some_var description.
+
+.. variable:: other_var
+
+ Variable other_var description.
+
+ Parsed-literal included without directive.
+ Common Indentation Removed
+ # replaced in parsed literal
+
+ # Sample CMake code block
+ if(condition)
+ message(indented)
+ endif()
+ # |not replaced in literal|
+
+A literal block starts after a line consisting of two colons
+
+::
+
+ Literal block.
+ Common Indentation Removed
+ # |not replaced in literal|
+
+or after a paragraph ending in two colons::
+
+ Literal block.
+ Common Indentation Removed
+ # |not replaced in literal|
+
+but not after a line ending in two colons::
+in the middle of a paragraph.
+
+.. productionlist::
+ grammar: `production`
+ production: "content rendered"
+
+.. note::
+ Notes are called out.
+
+substituted text with multiple lines becomes one line
+
+End of first include.
+
+Cross-include substitution text with ``some_cmd()`` reference.
+
+End of second include.
diff --git a/Tests/CMakeLib/testRST.rst b/Tests/CMakeLib/testRST.rst
new file mode 100644
index 0000000..54952dd
--- /dev/null
+++ b/Tests/CMakeLib/testRST.rst
@@ -0,0 +1,99 @@
+.. index::
+ single: directive ignored
+
+title_text
+----------
+
+.. comment ignored
+..
+ comment ignored
+
+Command :cmake:command:`some_cmd` explicit cmake domain.
+Command :command:`some_cmd` without target.
+Command :command:`some_cmd <some_cmd>` with target.
+Command :command:`some_cmd_<cmd>` placeholder without target.
+Command :command:`some_cmd_<cmd> <some_cmd>` placholder with target.
+Command :command:`some_cmd()` with parens.
+Command :command:`some_cmd(SUB)` with subcommand.
+Command :command:`some_cmd(SUB) <some_cmd>` with subcommand and target.
+Command :command:`some_cmd (SUB) <some_cmd>` with space and subcommand and target.
+Command :command:`some command <some_cmd>` with space and target.
+Variable :variable:`some variable <some_var>` space and target.
+Variable :variable:`<PLACEHOLDER>_VARIABLE` with leading placeholder.
+Variable :variable:`VARIABLE_<PLACEHOLDER>` with trailing placeholder.
+Variable :variable:`<PLACEHOLDER>_VARIABLE <target>` with leading placeholder and target.
+Variable :variable:`VARIABLE_<PLACEHOLDER> <target>` with trailing placeholder and target.
+Generator :generator:`Some Generator` with space.
+
+.. |not replaced| replace:: not replaced through toctree
+.. |not replaced in literal| replace:: replaced in parsed literal
+
+.. toctree::
+ :maxdepth: 2
+
+ testRSTtoc1
+ /testRSTtoc2
+
+.. cmake-module:: testRSTmod.cmake
+
+.. cmake:command:: some_cmd
+
+ Command some_cmd description.
+
+.. command:: other_cmd
+
+ Command other_cmd description.
+
+.. cmake:variable:: some_var
+
+ Variable some_var description.
+
+.. variable:: other_var
+
+ Variable other_var description.
+
+.. parsed-literal::
+
+ Parsed-literal included without directive.
+ Common Indentation Removed
+ # |not replaced in literal|
+
+.. code-block:: cmake
+
+ # Sample CMake code block
+ if(condition)
+ message(indented)
+ endif()
+ # |not replaced in literal|
+
+A literal block starts after a line consisting of two colons
+
+::
+
+ Literal block.
+ Common Indentation Removed
+ # |not replaced in literal|
+
+or after a paragraph ending in two colons::
+
+ Literal block.
+ Common Indentation Removed
+ # |not replaced in literal|
+
+but not after a line ending in two colons::
+in the middle of a paragraph.
+
+.. productionlist::
+ grammar: `production`
+ production: "content rendered"
+
+.. note::
+ Notes are called out.
+
+.. |substitution| replace::
+ |nested substitution|
+ with multiple lines becomes one line
+.. |nested substitution| replace:: substituted text
+
+.. include:: testRSTinclude1.rst
+.. include:: /testRSTinclude2.rst
diff --git a/Tests/CMakeLib/testRSTinclude1.rst b/Tests/CMakeLib/testRSTinclude1.rst
new file mode 100644
index 0000000..91d394e
--- /dev/null
+++ b/Tests/CMakeLib/testRSTinclude1.rst
@@ -0,0 +1,6 @@
+|substitution|
+
+.. |cross-include substitution| replace:: Cross-include substitution text
+ with :command:`some_cmd` reference.
+
+End of first include.
diff --git a/Tests/CMakeLib/testRSTinclude2.rst b/Tests/CMakeLib/testRSTinclude2.rst
new file mode 100644
index 0000000..f2d619c
--- /dev/null
+++ b/Tests/CMakeLib/testRSTinclude2.rst
@@ -0,0 +1,3 @@
+|cross-include substitution|
+
+End of second include.
diff --git a/Tests/CMakeLib/testRSTmod.cmake b/Tests/CMakeLib/testRSTmod.cmake
new file mode 100644
index 0000000..8b807a6
--- /dev/null
+++ b/Tests/CMakeLib/testRSTmod.cmake
@@ -0,0 +1,11 @@
+#.rst:
+# CMake Module Content
+#.rst:
+# More CMake Module Content
+#[[.rst:
+Bracket Comment Content
+# not part of content]] # not part of content
+#[=[.rst:
+[
+Bracket Comment Content
+]]=] # not part of content
diff --git a/Tests/CMakeLib/testRSTtoc1.rst b/Tests/CMakeLib/testRSTtoc1.rst
new file mode 100644
index 0000000..fa7806e
--- /dev/null
+++ b/Tests/CMakeLib/testRSTtoc1.rst
@@ -0,0 +1,2 @@
+.. |not replaced| replace:: not replaced across toctree
+First TOC entry.
diff --git a/Tests/CMakeLib/testRSTtoc2.rst b/Tests/CMakeLib/testRSTtoc2.rst
new file mode 100644
index 0000000..9fd2fcb
--- /dev/null
+++ b/Tests/CMakeLib/testRSTtoc2.rst
@@ -0,0 +1,2 @@
+|not replaced|
+Second TOC entry.
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 9c3ed59..8074a01 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -10,7 +10,9 @@ macro(ADD_TEST_MACRO NAME COMMAND)
--build-two-config
${build_generator_args}
--build-project ${proj}
- ${${NAME}_EXTRA_OPTIONS}
+ ${${NAME}_CTEST_OPTIONS}
+ --build-options ${build_options}
+ ${${NAME}_BUILD_OPTIONS}
--test-command ${COMMAND} ${ARGN})
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/${dir}")
endmacro()
@@ -43,12 +45,25 @@ configure_file(${CMake_SOURCE_DIR}/Tests/EnforceConfig.cmake.in
# Testing
if(BUILD_TESTING)
+ set(CMAKE_TEST_DEVENV "")
+ if(NOT CMAKE_TEST_DIFFERENT_GENERATOR)
+ if(CMAKE_TEST_GENERATOR MATCHES "Visual Studio")
+ set(CMAKE_TEST_MAKEPROGRAM "")
+ else()
+ set(CMAKE_TEST_MAKEPROGRAM "${CMAKE_MAKE_PROGRAM}")
+ endif()
+ if(CMAKE_TEST_GENERATOR MATCHES "Visual Studio [7-9] " AND
+ NOT CMAKE_MAKE_PROGRAM MATCHES "[mM][sS][bB][uU][iI][lL][dD]\\.[eE][xX][eE]")
+ set(CMAKE_TEST_DEVENV "${CMAKE_MAKE_PROGRAM}")
+ endif()
+ endif()
+
if("${CMAKE_TEST_GENERATOR}" MATCHES "Unix Makefiles" OR ("${CMAKE_TEST_GENERATOR}" MATCHES Ninja AND NOT WIN32))
set(TEST_CompileCommandOutput 1)
endif()
set(MAKE_IS_GNU )
- if(${CMAKE_TEST_MAKEPROGRAM} MATCHES make)
+ if(CMAKE_TEST_MAKEPROGRAM MATCHES make)
execute_process(COMMAND ${CMAKE_TEST_MAKEPROGRAM} no_such_target --version
RESULT_VARIABLE res OUTPUT_VARIABLE out ERROR_VARIABLE out)
if("${res}" STREQUAL "0")
@@ -60,8 +75,8 @@ if(BUILD_TESTING)
# some old versions of make simply cannot handle spaces in paths
if (MAKE_IS_GNU OR
- "${CMAKE_TEST_MAKEPROGRAM}" MATCHES "nmake|gmake|wmake" OR
- "${CMAKE_TEST_GENERATOR}" MATCHES "Visual Studio|XCode|Borland")
+ CMAKE_TEST_MAKEPROGRAM MATCHES "nmake|gmake|wmake" OR
+ CMAKE_TEST_GENERATOR MATCHES "Visual Studio|XCode|Borland")
set(MAKE_SUPPORTS_SPACES 1)
else()
set(MAKE_SUPPORTS_SPACES 0)
@@ -69,7 +84,6 @@ if(BUILD_TESTING)
set(build_generator_args
--build-generator ${CMAKE_TEST_GENERATOR}
- --build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
)
if(CMAKE_TEST_GENERATOR_TOOLSET)
list(APPEND build_generator_args
@@ -77,6 +91,11 @@ if(BUILD_TESTING)
)
endif()
+ set(build_options)
+ if(CMAKE_TEST_MAKEPROGRAM)
+ list(APPEND build_options -DCMAKE_MAKE_PROGRAM:FILEPATH=${CMAKE_TEST_MAKEPROGRAM})
+ endif()
+
add_subdirectory(CMakeLib)
add_subdirectory(CMakeOnly)
add_subdirectory(RunCMake)
@@ -161,6 +180,9 @@ if(BUILD_TESTING)
set(CMAKE_LONG_TEST_TIMEOUT 1500)
endif()
+ add_test(NAME CMake.Copyright
+ COMMAND cmake -P ${CMAKE_CURRENT_SOURCE_DIR}/CMakeCopyright.cmake)
+
# add a bunch of standard build-and-test style tests
ADD_TEST_MACRO(CommandLineTest CommandLineTest)
ADD_TEST_MACRO(FindPackageTest FindPackageTest)
@@ -238,6 +260,7 @@ if(BUILD_TESTING)
ADD_TEST_MACRO(Assembler HelloAsm)
ADD_TEST_MACRO(SourceGroups SourceGroups)
ADD_TEST_MACRO(Preprocess Preprocess)
+ set(ExportImport_BUILD_OPTIONS -DCMAKE_TEST_MAKEPROGRAM:FILEPATH=${CMAKE_TEST_MAKEPROGRAM})
ADD_TEST_MACRO(ExportImport ExportImport)
ADD_TEST_MACRO(Unset Unset)
ADD_TEST_MACRO(PolicyScope PolicyScope)
@@ -246,6 +269,8 @@ if(BUILD_TESTING)
ADD_TEST_MACRO(CompileOptions CompileOptions)
ADD_TEST_MACRO(CompatibleInterface CompatibleInterface)
ADD_TEST_MACRO(AliasTarget AliasTarget)
+ ADD_TEST_MACRO(StagingPrefix StagingPrefix)
+ ADD_TEST_MACRO(InterfaceLibrary InterfaceLibrary)
set_tests_properties(EmptyLibrary PROPERTIES
PASS_REGULAR_EXPRESSION "CMake Error: CMake can not determine linker language for target: test")
ADD_TEST_MACRO(CrossCompile CrossCompile)
@@ -263,7 +288,7 @@ if(BUILD_TESTING)
list(APPEND TEST_BUILD_DIRS ${CMake_TEST_INSTALL_PREFIX})
if(NOT QT4_FOUND)
- find_package(Qt4)
+ find_package(Qt4 QUIET)
endif()
if(QT4_FOUND)
@@ -298,6 +323,7 @@ if(BUILD_TESTING)
"${CMake_BINARY_DIR}/Tests/BundleUtilities"
${build_generator_args}
--build-project BundleUtilities
+ --build-options ${build_options}
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/BundleUtilities")
@@ -310,7 +336,7 @@ if(BUILD_TESTING)
"${CMake_BINARY_DIR}/Tests/Qt4Deploy"
${build_generator_args}
--build-project Qt4Deploy
- --build-options
+ --build-options ${build_options}
-DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
-DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE}
)
@@ -348,7 +374,8 @@ if(BUILD_TESTING)
--build-project ExternalDataTest
--build-noclean
--force-new-ctest-process
- --build-options -DMAKE_SUPPORTS_SPACES=${MAKE_SUPPORTS_SPACES}
+ --build-options ${build_options}
+ -DMAKE_SUPPORTS_SPACES=${MAKE_SUPPORTS_SPACES}
--test-command ${CMAKE_CTEST_COMMAND} -C \${CTEST_CONFIGURATION_TYPE} -V
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Module/ExternalData")
@@ -373,6 +400,29 @@ if(BUILD_TESTING)
ADD_TEST_MACRO(PositionIndependentTargets PositionIndependentTargets)
endif()
+ if((CMAKE_CXX_COMPILER_ID MATCHES "GNU") AND
+ (NOT "${CMAKE_CXX_COMPILER_VERSION}" VERSION_LESS 4.2) AND
+ (CMAKE_SYSTEM_NAME MATCHES "Linux"))
+
+ include(CheckCXXCompilerFlag)
+ check_cxx_compiler_flag(
+ -fvisibility-inlines-hidden run_inlines_hidden_test)
+ endif()
+
+ if(run_inlines_hidden_test)
+ add_test(VisibilityInlinesHidden ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/VisibilityInlinesHidden"
+ "${CMake_BINARY_DIR}/Tests/VisibilityInlinesHidden"
+ ${build_generator_args}
+ --build-project VisibilityInlinesHidden
+ --build-options ${build_options}
+ )
+ list(APPEND TEST_BUILD_DIRS
+ "${CMake_BINARY_DIR}/Tests/VisibilityInlinesHidden"
+ )
+ endif()
+
add_test(LinkFlags-prepare
${CMAKE_CTEST_COMMAND} -C \${CTEST_CONFIGURATION_TYPE}
--build-and-test
@@ -381,7 +431,8 @@ if(BUILD_TESTING)
${build_generator_args}
--build-project LinkFlags
--build-target LinkFlags
- --build-options -DTEST_CONFIG=\${CTEST_CONFIGURATION_TYPE}
+ --build-options ${build_options}
+ -DTEST_CONFIG=\${CTEST_CONFIGURATION_TYPE}
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/LinkFlags")
@@ -427,8 +478,8 @@ if(BUILD_TESTING)
--build-two-config
--build-generator "Eclipse CDT4 - Unix Makefiles"
--build-generator-toolset "${CMAKE_TEST_GENERATOR_TOOLSET}"
- --build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
--build-project Simple
+ --build-options ${build_options}
--test-command Simple)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Simple_EclipseGenerator")
endif ()
@@ -442,8 +493,8 @@ if(BUILD_TESTING)
--build-two-config
--build-generator "CodeBlocks - Unix Makefiles"
--build-generator-toolset "${CMAKE_TEST_GENERATOR_TOOLSET}"
- --build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
--build-project Simple
+ --build-options ${build_options}
--test-command Simple)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Simple_CodeBlocksGenerator")
endif ()
@@ -456,8 +507,8 @@ if(BUILD_TESTING)
--build-two-config
--build-generator "KDevelop3 - Unix Makefiles"
--build-generator-toolset "${CMAKE_TEST_GENERATOR_TOOLSET}"
- --build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
--build-project Simple
+ --build-options ${build_options}
--test-command Simple)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Simple_KDevelop3Generator")
endif ()
@@ -465,8 +516,8 @@ if(BUILD_TESTING)
endif()
# test for correct sub-project generation
- # not implemented in VS6 or Xcode
- if(NOT MSVC60 AND NOT XCODE AND NOT MSVC70)
+ # not implemented in VS 6, VS 7.0, Xcode, or Ninja
+ if(NOT CMAKE_TEST_GENERATOR MATCHES "Visual Studio [67]$|Xcode|Ninja")
# run cmake and configure all of SubProject
# but only build the independent executable car
add_test(SubProject ${CMAKE_CTEST_COMMAND}
@@ -476,40 +527,38 @@ if(BUILD_TESTING)
--build-project SubProject
${build_generator_args}
--build-target car
+ --build-options ${build_options}
--test-command car
)
- if(${CMAKE_TEST_GENERATOR} MATCHES "Ninja")
- # The Ninja generator does not create a recursive build system. Start
- # from the root directory.
- set(SubProject_SUBDIR)
- else()
- set(SubProject_SUBDIR "/foo")
- endif()
-
# For stage 2, do not run cmake again.
# Then build the foo sub project which should build
# the bar library which should be referenced because
# foo links to the static library bar, but bar is not
# directly in the foo sub project
+ if(CMAKE_TEST_MAKEPROGRAM)
+ set(SubProject-Stage2_BUILD_MAKEPROGRAM
+ --build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
+ )
+ endif()
add_test(SubProject-Stage2 ${CMAKE_CTEST_COMMAND}
--build-and-test
- "${CMake_SOURCE_DIR}/Tests/SubProject${SubProject_SUBDIR}"
- "${CMake_BINARY_DIR}/Tests/SubProject${SubProject_SUBDIR}"
- ${build_generator_args}
+ "${CMake_SOURCE_DIR}/Tests/SubProject/foo"
+ "${CMake_BINARY_DIR}/Tests/SubProject/foo"
+ --build-generator ${CMAKE_TEST_GENERATOR}
+ --build-generator-toolset "${CMAKE_TEST_GENERATOR_TOOLSET}"
+ ${SubProject-Stage2_BUILD_MAKEPROGRAM}
--build-nocmake
--build-project foo
--build-target foo
--build-exe-dir "${CMake_BINARY_DIR}/Tests/SubProject/foo"
+ --build-options ${build_options}
--test-command foo
)
set_tests_properties ( SubProject-Stage2 PROPERTIES DEPENDS SubProject)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/SubProject")
endif()
- if (CMAKE_STRICT)
- ADD_TEST_MACRO(DocTest DocTest)
- endif ()
# macro to add a test that will build a nightly release
# of CMake for given platform using the release scripts
macro(ADD_NIGHTLY_BUILD_TEST name script)
@@ -544,7 +593,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-two-config
${build_generator_args}
--build-project Framework
- --build-options
+ --build-options ${build_options}
"-DCMAKE_INSTALL_PREFIX:PATH=${CMake_BINARY_DIR}/Tests/Framework/Install"
--test-command bar)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Framework")
@@ -556,6 +605,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-two-config
${build_generator_args}
--build-project TargetName
+ --build-options ${build_options}
--test-command ${CMAKE_CMAKE_COMMAND} -E compare_files
${CMake_SOURCE_DIR}/Tests/TargetName/scripts/hello_world
${CMake_BINARY_DIR}/Tests/TargetName/scripts/hello_world)
@@ -569,6 +619,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
${build_generator_args}
--build-project LibName
--build-exe-dir "${CMake_BINARY_DIR}/Tests/LibName/lib"
+ --build-options ${build_options}
--test-command foobar
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/LibName")
@@ -581,6 +632,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
${build_generator_args}
--build-project CustComDepend
--build-exe-dir "${CMake_BINARY_DIR}/Tests/CustComDepend/bin"
+ --build-options ${build_options}
--test-command foo bar.c
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/CustComDepend")
@@ -592,6 +644,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
${build_generator_args}
--build-project ArgumentExpansion
--build-exe-dir "${CMake_BINARY_DIR}/Tests/ArgumentExpansion/bin"
+ --build-options ${build_options}
)
set_tests_properties(ArgumentExpansion PROPERTIES
FAIL_REGULAR_EXPRESSION "Unexpected: ")
@@ -603,7 +656,9 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
"${CMake_BINARY_DIR}/Tests/GeneratorExpression"
${build_generator_args}
--build-project GeneratorExpression
- --build-options -DCMAKE_BUILD_TYPE=\${CTEST_CONFIGURATION_TYPE}
+ --build-options ${build_options}
+ -DCMAKE_BUILD_TYPE=\${CTEST_CONFIGURATION_TYPE}
+ --test-command ${CMAKE_CTEST_COMMAND} -C \${CTEST_CONFIGURATION_TYPE} -V
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/GeneratorExpression")
@@ -615,6 +670,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
${build_generator_args}
--build-project CustomCommand
--build-exe-dir "${CMake_BINARY_DIR}/Tests/CustomCommand/bin"
+ --build-options ${build_options}
--test-command CustomCommand
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/CustomCommand")
@@ -628,6 +684,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-two-config
${build_generator_args}
--build-project TestWorkingDir
+ --build-options ${build_options}
--test-command working
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/CustomCommandWorkingDirectory")
@@ -639,6 +696,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
# ${build_generator_args}
# --build-project SimpleExclude
# --build-two-config
+ # --build-options ${build_options}
# --test-command t4
#--test-command "${CMAKE_COMMAND}"
#"-DCONFIGURATION=\${CTEST_CONFIGURATION_TYPE}"
@@ -652,6 +710,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
# ${build_generator_args}
# --build-project SameName
# --build-two-config
+# --build-options ${build_options}
# --test-command
# "${CMake_BINARY_DIR}/Tests/SameName/Exe1/mytest2")
@@ -662,6 +721,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
${build_generator_args}
--build-project OutOfSource
--build-two-config
+ --build-options ${build_options}
--test-command
"${CMake_BINARY_DIR}/Tests/OutOfSource/SubDir/OutOfSourceSubdir/simple")
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/OutOfSource")
@@ -674,6 +734,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
"${CMake_BINARY_DIR}/Tests/BuildDepends"
${build_generator_args}
--build-project BuildDepends
+ --build-options ${build_options}
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/BuildDepends")
@@ -686,7 +747,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
${build_generator_args}
--build-project TestSimpleInstall
--build-two-config
- --build-options
+ --build-options ${build_options}
"-DCMAKE_INSTALL_PREFIX:PATH=${SimpleInstallInstallDir}"
"-DCTEST_TEST_CPACK:BOOL=${CTEST_TEST_CPACK}"
--test-command ${SimpleInstallInstallDir}/MyTest/bin/SimpleInstExe)
@@ -698,12 +759,25 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
${build_generator_args}
--build-project TestSimpleInstall
--build-two-config
- --build-options
+ --build-options ${build_options}
"-DCMAKE_INSTALL_PREFIX:PATH=${SimpleInstallInstallDir}"
"-DSTAGE2:BOOL=1"
--test-command ${SimpleInstallInstallDir}/MyTest/bin/SimpleInstExeS2)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/SimpleInstallS2")
+ set(MissingInstallInstallDir
+ "${CMake_BINARY_DIR}/Tests/MissingInstall/InstallDirectory")
+ add_test(MissingInstall ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/MissingInstall"
+ "${CMake_BINARY_DIR}/Tests/MissingInstall"
+ ${build_generator_args}
+ --build-project TestMissingInstall
+ --build-two-config
+ --build-options ${build_options}
+ "-DCMAKE_INSTALL_PREFIX:PATH=${MissingInstallInstallDir}")
+ list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/MissingInstall")
+
# By default, run the CPackComponents test if the CTEST_TEST_CPACK
# option is ON:
#
@@ -752,6 +826,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
"${CMake_BINARY_DIR}/Tests/CPackWiXGenerator"
${build_generator_args}
--build-project CPackWiXGenerator
+ --build-options ${build_options}
--test-command ${CMAKE_CMAKE_COMMAND}
"-DCPackWiXGenerator_BINARY_DIR:PATH=${CMake_BINARY_DIR}/Tests/CPackWiXGenerator"
-P "${CMake_SOURCE_DIR}/Tests/CPackWiXGenerator/RunCPackVerifyResult.cmake")
@@ -759,12 +834,12 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
endif()
if(CTEST_RUN_CPackComponents)
- set(CPackComponents_EXTRA_OPTIONS)
+ set(CPackComponents_BUILD_OPTIONS)
if(APPLE)
- set(CPackComponents_EXTRA_OPTIONS -DCPACK_BINARY_DRAGNDROP:BOOL=ON)
+ set(CPackComponents_BUILD_OPTIONS -DCPACK_BINARY_DRAGNDROP:BOOL=ON)
endif()
if(NSIS_MAKENSIS_EXECUTABLE)
- set(CPackComponents_EXTRA_OPTIONS ${CPackComponents_EXTRA_OPTIONS}
+ set(CPackComponents_BUILD_OPTIONS ${CPackComponents_BUILD_OPTIONS}
-DCPACK_BINARY_NSIS:BOOL=ON)
endif()
@@ -776,10 +851,10 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-project CPackComponents
--build-two-config
--build-target package
- --build-options
+ --build-options ${build_options}
-DCPACK_BINARY_DEB:BOOL=${CPACK_BINARY_DEB}
-DCPACK_BINARY_RPM:BOOL=${CPACK_BINARY_RPM}
- ${CPackComponents_EXTRA_OPTIONS}
+ ${CPackComponents_BUILD_OPTIONS}
--graphviz=CPackComponents.dot
--test-command ${CMAKE_CMAKE_COMMAND}
"-DCPackComponents_BINARY_DIR:PATH=${CMake_BINARY_DIR}/Tests/CPackComponents"
@@ -803,7 +878,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
# ACTIVE_CPACK_GENERATORS variable
# now contains the list of 'active generators'
- set(CPackComponentsForAll_EXTRA_OPTIONS)
+ set(CPackComponentsForAll_BUILD_OPTIONS)
# set up list of CPack generators
list(APPEND GENLST "ZIP")
if(APPLE)
@@ -835,10 +910,10 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
"${CMake_BINARY_DIR}/Tests/CPackComponentsForAll/build${CPackGen}-${CPackComponentWay}"
${build_generator_args}
--build-project CPackComponentsForAll
- --build-options
+ --build-options ${build_options}
-DCPACK_BINARY_${CPackGen}:BOOL=ON
${CPackRun_CPackComponentWay}
- ${CPackComponentsForAll_EXTRA_OPTIONS}
+ ${CPackComponentsForAll_BUILD_OPTIONS}
--graphviz=CPackComponentsForAll.dot
--test-command ${CMAKE_CMAKE_COMMAND}
"-DCPackComponentsForAll_BINARY_DIR:PATH=${CMake_BINARY_DIR}/Tests/CPackComponentsForAll/build${CPackGen}-${CPackComponentWay}"
@@ -872,6 +947,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
"${CMake_BINARY_DIR}/Tests/CPackTestAllGenerators"
${build_generator_args}
--build-project CPackTestAllGenerators
+ --build-options ${build_options}
--test-command
${CMAKE_CMAKE_COMMAND}
-D dir=${CMake_BINARY_DIR}/Tests/CPackTestAllGenerators
@@ -894,6 +970,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-project UseX11
--build-two-config
${X11_build_target_arg}
+ --build-options ${build_options}
--test-command UseX11)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/X11")
@@ -947,6 +1024,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
"${CMake_BINARY_DIR}/Tests/LoadCommandOneConfig"
${build_generator_args}
--build-project LoadCommand
+ --build-options ${build_options}
--test-command LoadedCommand
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/LoadCommandOneConfig")
@@ -960,7 +1038,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
${build_generator_args}
--build-project Complex
--build-exe-dir "${CMake_BINARY_DIR}/Tests/Complex/bin"
- --build-options
+ --build-options ${build_options}
-DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
--test-command complex
)
@@ -973,24 +1051,13 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
${build_generator_args}
--build-project Complex
--build-exe-dir "${CMake_BINARY_DIR}/Tests/ComplexOneConfig/bin"
- --build-options
+ --build-options ${build_options}
-DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
--test-command complex)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/ComplexOneConfig")
# because of the registry write these tests depend on each other
set_tests_properties ( complex PROPERTIES DEPENDS complexOneConfig)
- add_test(Example ${CMAKE_CTEST_COMMAND}
- --build-and-test
- "${CMake_SOURCE_DIR}/Example"
- "${CMake_BINARY_DIR}/Example"
- ${build_generator_args}
- --build-project HELLO
- --build-exe-dir "${CMake_BINARY_DIR}/Example/Demo"
- --test-command helloDemo
- )
- list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Example")
-
add_test(Environment ${CMAKE_CTEST_COMMAND}
--build-and-test
"${CMake_SOURCE_DIR}/Tests/Environment"
@@ -999,6 +1066,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-project EnvironmentProj
--build-exe-dir "${CMake_BINARY_DIR}/Tests/Environment"
--force-new-ctest-process
+ --build-options ${build_options}
--test-command ${CMAKE_CTEST_COMMAND} -V
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Environment")
@@ -1009,38 +1077,80 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
"${CMake_BINARY_DIR}/Tests/QtAutomocNoQt"
${build_generator_args}
--build-project QtAutomocNoQt
- --build-options -DCMAKE_BUILD_TYPE=\${CTEST_CONFIGURATION_TYPE}
+ --build-options ${build_options}
+ -DCMAKE_BUILD_TYPE=\${CTEST_CONFIGURATION_TYPE}
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/QtAutomocNoQt")
+ # On Windows there is no RPATH, so while Qt might be available for building,
+ # the required dlls may not be in the PATH, so we can't run the executables
+ # on that platform.
+ if(WIN32)
+ set(run_autogen_test ${CMAKE_CTEST_COMMAND} -V)
+ set(run_autouic_test ${CMAKE_CTEST_COMMAND} -V)
+ else()
+ set(run_autogen_test QtAutogen)
+ set(run_autouic_test QtAutoUicInterface)
+ endif()
+
find_package(Qt5Widgets QUIET NO_MODULE)
if(Qt5Widgets_FOUND)
- add_test(Qt5Automoc ${CMAKE_CTEST_COMMAND}
+ add_test(Qt5Autogen ${CMAKE_CTEST_COMMAND}
--build-and-test
- "${CMake_SOURCE_DIR}/Tests/QtAutomoc"
- "${CMake_BINARY_DIR}/Tests/Qt5Automoc"
+ "${CMake_SOURCE_DIR}/Tests/QtAutogen"
+ "${CMake_BINARY_DIR}/Tests/Qt5Autogen"
${build_generator_args}
- --build-project QtAutomoc
- --build-exe-dir "${CMake_BINARY_DIR}/Tests/Qt5Automoc"
+ --build-project QtAutogen
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/Qt5Autogen"
--force-new-ctest-process
- --build-options -DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE} -DQT_TEST_VERSION=5
- --test-command ${CMAKE_CTEST_COMMAND} -V
+ --build-options ${build_options}
+ -DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE} -DQT_TEST_VERSION=5
+ --test-command ${run_autogen_test}
+ )
+ list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Qt5Autogen")
+
+ add_test(Qt5AutoUicInterface ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/QtAutoUicInterface"
+ "${CMake_BINARY_DIR}/Tests/Qt5AutoUicInterface"
+ ${build_generator_args}
+ --build-project QtAutoUicInterface
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/Qt5AutoUicInterface"
+ --force-new-ctest-process
+ --build-options ${build_options}
+ -DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE} -DQT_TEST_VERSION=5
+ --test-command ${run_autouic_test}
)
- list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Qt5Automoc")
+ list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Qt5AutoUicInterface")
endif()
if(QT4_WORKS AND QT_QTGUI_FOUND)
- add_test(Qt4Automoc ${CMAKE_CTEST_COMMAND}
+ add_test(Qt4Autogen ${CMAKE_CTEST_COMMAND}
--build-and-test
- "${CMake_SOURCE_DIR}/Tests/QtAutomoc"
- "${CMake_BINARY_DIR}/Tests/Qt4Automoc"
+ "${CMake_SOURCE_DIR}/Tests/QtAutogen"
+ "${CMake_BINARY_DIR}/Tests/Qt4Autogen"
${build_generator_args}
- --build-project QtAutomoc
- --build-exe-dir "${CMake_BINARY_DIR}/Tests/Qt4Automoc"
+ --build-project QtAutogen
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/Qt4Autogen"
--force-new-ctest-process
- --build-options -DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE} -DQT_TEST_VERSION=4
- --test-command ${CMAKE_CTEST_COMMAND} -V
+ --build-options ${build_options}
+ -DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE} -DQT_TEST_VERSION=4
+ --test-command ${run_autogen_test}
+ )
+ list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Qt4Autogen")
+
+ add_test(Qt4AutoUicInterface ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/QtAutoUicInterface"
+ "${CMake_BINARY_DIR}/Tests/Qt4AutoUicInterface"
+ ${build_generator_args}
+ --build-project QtAutoUicInterface
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/Qt4AutoUicInterface"
+ --force-new-ctest-process
+ --build-options ${build_options}
+ -DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE} -DQT_TEST_VERSION=4
+ --test-command ${run_autouic_test}
)
- list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Qt4Automoc")
+ list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Qt4AutoUicInterface")
add_test(Qt4Targets ${CMAKE_CTEST_COMMAND}
--build-and-test
@@ -1050,7 +1160,8 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-project Qt4Targets
--build-exe-dir "${CMake_BINARY_DIR}/Tests/Qt4Targets"
--force-new-ctest-process
- --build-options -DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE}
+ --build-options ${build_options}
+ -DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE}
--test-command ${CMAKE_CTEST_COMMAND} -V
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Qt4Targets")
@@ -1064,12 +1175,30 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-project Qt4And5Automoc
--build-exe-dir "${CMake_BINARY_DIR}/Tests/Qt4And5Automoc"
--force-new-ctest-process
+ --build-options ${build_options}
--test-command ${CMAKE_CTEST_COMMAND} -V
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Qt4And5Automoc")
+ add_test(Qt4And5AutomocReverse ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/Qt4And5Automoc"
+ "${CMake_BINARY_DIR}/Tests/Qt4And5AutomocReverse"
+ ${build_generator_args}
+ --build-project Qt4And5Automoc
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/Qt4And5AutomocReverse"
+ --force-new-ctest-process
+ --build-options ${build_options} -DQT_REVERSE_FIND_ORDER=1
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+ list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Qt4And5AutomocReverse")
endif()
endif()
+ find_package(GTK2 QUIET)
+ if(GTK2_FOUND)
+ add_subdirectory(FindGTK2)
+ endif()
+
add_test(ExternalProject ${CMAKE_CTEST_COMMAND}
--build-and-test
"${CMake_SOURCE_DIR}/Tests/ExternalProject"
@@ -1078,6 +1207,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-project ExternalProjectTest
--build-exe-dir "${CMake_BINARY_DIR}/Tests/ExternalProject"
--force-new-ctest-process
+ --build-options ${build_options}
--test-command ${CMAKE_CTEST_COMMAND} -V
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/ExternalProject")
@@ -1092,6 +1222,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-project ExternalProjectUpdateTest
--build-exe-dir "${CMake_BINARY_DIR}/Tests/ExternalProjectUpdate"
--force-new-ctest-process
+ --build-options ${build_options}
--test-command ${CMAKE_CTEST_COMMAND} -V
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/ExternalProjectUpdate")
@@ -1104,7 +1235,6 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
-DExternalProjectUpdate_BINARY_DIR:PATH=${CMake_BINARY_DIR}/Tests/ExternalProjectUpdate
-DCMAKE_TEST_GENERATOR=${CMAKE_TEST_GENERATOR}
-DCMAKE_TEST_GENERATOR_TOOLSET=${CMAKE_TEST_GENERATOR_TOOLSET}
- -DCMAKE_TEST_MAKEPROGRAM=${CMAKE_TEST_MAKEPROGRAM}
-DCMAKE_CTEST_COMMAND=${CMAKE_CTEST_COMMAND}
-P ${CMake_SOURCE_DIR}/Tests/ExternalProjectUpdate/ExternalProjectUpdateTest.cmake
)
@@ -1123,6 +1253,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-two-config
${build_generator_args}
--build-project Tutorial
+ --build-options ${build_options}
--test-command Tutorial 25.0)
endforeach()
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Tutorial")
@@ -1133,6 +1264,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
"${CMake_BINARY_DIR}/Tests/Testing"
${build_generator_args}
--build-project Testing
+ --build-options ${build_options}
--test-command ${CMAKE_CTEST_COMMAND} -C \${CTEST_CONFIGURATION_TYPE}
)
set_tests_properties(testing PROPERTIES PASS_REGULAR_EXPRESSION "Passed")
@@ -1145,6 +1277,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
${build_generator_args}
--build-project Wrapping
--build-exe-dir "${CMake_BINARY_DIR}/Tests/Wrapping/bin"
+ --build-options ${build_options}
--test-command wrapping
)
add_test(qtwrapping ${CMAKE_CTEST_COMMAND}
@@ -1154,6 +1287,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
${build_generator_args}
--build-project Wrapping
--build-exe-dir "${CMake_BINARY_DIR}/Tests/Wrapping/bin"
+ --build-options ${build_options}
--test-command qtwrapping
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Wrapping")
@@ -1165,6 +1299,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
${build_generator_args}
--build-exe-dir "${CMake_BINARY_DIR}/Tests/Wrapping/bin"
--build-project TestDriverTest
+ --build-options ${build_options}
--test-command TestDriverTest test1
)
@@ -1175,6 +1310,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
${build_generator_args}
--build-exe-dir "${CMake_BINARY_DIR}/Tests/Wrapping/bin"
--build-project TestDriverTest
+ --build-options ${build_options}
--test-command TestDriverTest test2
)
@@ -1185,6 +1321,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
${build_generator_args}
--build-exe-dir "${CMake_BINARY_DIR}/Tests/Wrapping/bin"
--build-project TestDriverTest
+ --build-options ${build_options}
--test-command TestDriverTest subdir/test3
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/TestDriver")
@@ -1196,6 +1333,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-exe-dir "${CMake_BINARY_DIR}/Tests/Dependency/Exec"
${build_generator_args}
--build-project Dependency
+ --build-options ${build_options}
--test-command exec
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Dependency")
@@ -1225,7 +1363,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-exe-dir "${CMake_BINARY_DIR}/Tests/Jump/WithLibOut/Executable"
--build-project Jump
${build_generator_args}
- --build-options
+ --build-options ${build_options}
-DLIBRARY_OUTPUT_PATH:PATH=${CMake_BINARY_DIR}/Tests/Jump/WithLibOut/Lib
--test-command jumpExecutable
)
@@ -1238,6 +1376,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-run-dir "${CMake_BINARY_DIR}/Tests/Jump/NoLibOut/Executable"
--build-project Jump
${build_generator_args}
+ --build-options ${build_options}
--test-command jumpExecutable
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Jump")
@@ -1249,6 +1388,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
${build_generator_args}
--build-project Plugin
--build-two-config
+ --build-options ${build_options}
--test-command bin/example)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Plugin")
@@ -1264,6 +1404,8 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
"${CMake_BINARY_DIR}/Tests/MacRuntimePath"
${build_generator_args}
--build-project MacRuntimePath
+ --build-options ${build_options}
+ -DCMAKE_TEST_MAKEPROGRAM:FILEPATH=${CMAKE_TEST_MAKEPROGRAM}
)
endif()
@@ -1273,6 +1415,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
"${CMake_BINARY_DIR}/Tests/LinkLineOrder"
${build_generator_args}
--build-project LinkLineOrder
+ --build-options ${build_options}
--test-command Exec1
)
@@ -1282,6 +1425,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
"${CMake_BINARY_DIR}/Tests/LinkLineOrder"
${build_generator_args}
--build-project LinkLineOrder
+ --build-options ${build_options}
--test-command Exec2
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/LinkLineOrder")
@@ -1302,7 +1446,8 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
"${CMake_BINARY_DIR}/Tests/LinkStatic"
${build_generator_args}
--build-project LinkStatic
- --build-options -DMATH_LIBRARY:FILEPATH=/usr/lib/libm.a
+ --build-options ${build_options}
+ -DMATH_LIBRARY:FILEPATH=/usr/lib/libm.a
--test-command LinkStatic
)
endif()
@@ -1314,6 +1459,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
"${CMake_BINARY_DIR}/Tests/kwsys"
${build_generator_args}
--build-project kwsys
+ --build-options ${build_options}
--test-command kwsysTestsCxx testIOS
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/kwsys")
@@ -1328,6 +1474,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
"${CMake_BINARY_DIR}/Tests/SubDirSpaces/Executable Sources"
${build_generator_args}
--build-project SUBDIR
+ --build-options ${build_options}
--test-command test
"${CMake_BINARY_DIR}/Tests/SubDirSpaces/ShouldBeHere"
"${CMake_BINARY_DIR}/Tests/SubDirSpaces/testfromsubdir.obj"
@@ -1343,6 +1490,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-exe-dir "${CMake_BINARY_DIR}/Tests/SubDir/Executable"
${build_generator_args}
--build-project SUBDIR
+ --build-options ${build_options}
--test-command test
"${CMake_BINARY_DIR}/Tests/SubDir/ShouldBeHere"
"${CMake_BINARY_DIR}/Tests/SubDir/testfromsubdir.obj"
@@ -1355,6 +1503,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-exe-dir "${CMake_BINARY_DIR}/Tests/SubDir/Executable"
${build_generator_args}
--build-project SUBDIR
+ --build-options ${build_options}
--test-command test
"${CMake_BINARY_DIR}/Tests/SubDir/ShouldBeHere"
"${CMake_BINARY_DIR}/Tests/SubDir/testfromsubdir.o"
@@ -1382,6 +1531,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
${build_generator_args}
--build-project MakeClean
--build-exe-dir "${CMake_BINARY_DIR}/MakeClean"
+ --build-options ${build_options}
--test-command check_clean
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/MakeClean")
@@ -1395,7 +1545,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
# Look for evidence that this is a VCExpress build. If so, avoid
# the MFC test by default.
- string(TOLOWER "${CMAKE_TEST_MAKEPROGRAM}" mkprog)
+ string(TOLOWER "${CMAKE_MAKE_PROGRAM};${CMAKE_TEST_MAKEPROGRAM}" mkprog)
if(mkprog MATCHES "vcexpress")
message(STATUS
"CMAKE_TEST_MAKEPROGRAM indicates vcexpress, avoiding MFC test")
@@ -1486,6 +1636,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-two-config
${build_generator_args}
--build-project mfc_driver
+ --build-options ${build_options}
--test-command ${CMAKE_CTEST_COMMAND}
-C \${CTEST_CONFIGURATION_TYPE} -VV)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/MFC")
@@ -1508,6 +1659,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-two-config
${build_generator_args}
--build-project VSExternalInclude
+ --build-options ${build_options}
--test-command VSExternalInclude)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/VSExternalInclude")
@@ -1518,10 +1670,11 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-two-config
${build_generator_args}
--build-project VSMidl
+ --build-options ${build_options}
--test-command VSMidl)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/VSMidl")
- if(NOT MSVC60 AND NOT CMAKE_TEST_MAKEPROGRAM MATCHES "[mM][sS][bB][uU][iI][lL][dD]\\.[eE][xX][eE]")
+ if(CMAKE_TEST_DEVENV)
# The test (and tested property) works with .sln files, so it's skipped when:
# * Using VS6, which doesn't use .sln files
# * cmake --build is set up to use MSBuild, since the MSBuild invocation does not use the .sln file
@@ -1533,7 +1686,9 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
"${CMake_BINARY_DIR}/Tests/VSExcludeFromDefaultBuild"
--build-config ${config}
--build-two-config
- ${build_generator_args}
+ --build-generator ${CMAKE_TEST_GENERATOR}
+ --build-makeprogram ${CMAKE_TEST_DEVENV}
+ --build-generator-toolset "${CMAKE_TEST_GENERATOR_TOOLSET}"
--build-project VSExcludeFromDefaultBuild
--test-command ${CMAKE_COMMAND}
-D "activeConfig=${config}"
@@ -1550,31 +1705,17 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
endif()
if(CMAKE_TEST_GENERATOR MATCHES "Visual Studio ([0-5]|[6-9][0-9])")
- if(CMAKE_TEST_MAKEPROGRAM MATCHES "[mM][sS][bB][uU][iI][lL][dD]\\.[eE][xX][eE]")
- set(MSBUILD_EXECUTABLE "${CMAKE_TEST_MAKEPROGRAM}")
- else()
- if(CMAKE_TEST_GENERATOR MATCHES "Visual Studio (12)")
- set(_msbuild_hints "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\MSBuild\\ToolsVersions\\${CMAKE_MATCH_1}.0;MSBuildToolsPath]")
- else()
- set(_FDIR "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\SxS\\VC7;FrameworkDir32]")
- set(_FVER "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\SxS\\VC7;FrameworkVer32]")
- set(_msbuild_hints ${_FDIR}/${_FVER})
- endif()
- find_program(MSBUILD_EXECUTABLE NAMES msbuild HINTS ${_msbuild_hints})
- endif()
- if(MSBUILD_EXECUTABLE)
- add_test(NAME VSProjectInSubdir COMMAND ${CMAKE_CTEST_COMMAND}
- --build-and-test
- "${CMake_SOURCE_DIR}/Tests/VSProjectInSubdir"
- "${CMake_BINARY_DIR}/Tests/VSProjectInSubdir"
- --build-two-config
- --build-generator ${CMAKE_TEST_GENERATOR}
- --build-generator-toolset "${CMAKE_TEST_GENERATOR_TOOLSET}"
- --build-makeprogram "${MSBUILD_EXECUTABLE}"
- --build-project VSProjectInSubdir
- --build-target test)
- list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/VSProjectInSubdir")
- endif()
+ # This is Visual Studio 10 or above, so the default build tool is MSBuild.
+ add_test(NAME VSProjectInSubdir COMMAND ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/VSProjectInSubdir"
+ "${CMake_BINARY_DIR}/Tests/VSProjectInSubdir"
+ --build-two-config
+ --build-generator ${CMAKE_TEST_GENERATOR}
+ --build-generator-toolset "${CMAKE_TEST_GENERATOR_TOOLSET}"
+ --build-project VSProjectInSubdir
+ --build-target test)
+ list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/VSProjectInSubdir")
endif()
endif()
@@ -1591,7 +1732,8 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-project BundleTest
--build-target install
# --build-target package
- --build-options "-DCMAKE_INSTALL_PREFIX:PATH=${BundleTestInstallDir}"
+ --build-options ${build_options}
+ "-DCMAKE_INSTALL_PREFIX:PATH=${BundleTestInstallDir}"
"-DCMake_SOURCE_DIR:PATH=${CMake_SOURCE_DIR}"
--test-command
${BundleTestInstallDir}/Applications/SecondBundleExe.app/Contents/MacOS/SecondBundleExe)
@@ -1604,6 +1746,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-two-config
${build_generator_args}
--build-project CFBundleTest
+ --build-options ${build_options}
--test-command
${CMAKE_CMAKE_COMMAND} -DCTEST_CONFIGURATION_TYPE=\${CTEST_CONFIGURATION_TYPE}
-Ddir=${CMake_BINARY_DIR}/Tests/CFBundleTest
@@ -1624,7 +1767,8 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
${build_generator_args}
--build-project BundleGeneratorTest
--build-target package
- --build-options "-DCMAKE_INSTALL_PREFIX:PATH=${CMake_BINARY_DIR}/Tests/BundleGeneratorTest/InstallDirectory"
+ --build-options ${build_options}
+ "-DCMAKE_INSTALL_PREFIX:PATH=${CMake_BINARY_DIR}/Tests/BundleGeneratorTest/InstallDirectory"
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/BundleGeneratorTest")
endif()
@@ -1636,7 +1780,8 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
${build_generator_args}
--build-noclean
--build-project WarnUnusedUnusedViaSet
- --build-options "--warn-unused-vars")
+ --build-options ${build_options}
+ "--warn-unused-vars")
set_tests_properties(WarnUnusedUnusedViaSet PROPERTIES
PASS_REGULAR_EXPRESSION "unused variable \\(changing definition\\) 'UNUSED_VARIABLE'")
set_tests_properties(WarnUnusedUnusedViaSet PROPERTIES
@@ -1650,7 +1795,8 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
${build_generator_args}
--build-noclean
--build-project WarnUnusedUnusedViaUnset
- --build-options "--warn-unused-vars")
+ --build-options ${build_options}
+ "--warn-unused-vars")
set_tests_properties(WarnUnusedUnusedViaUnset PROPERTIES
PASS_REGULAR_EXPRESSION "CMake Warning .*VariableUnusedViaUnset.CMakeLists.txt:7 \\(set\\):")
set_tests_properties(WarnUnusedUnusedViaUnset PROPERTIES
@@ -1669,7 +1815,8 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
"${CMake_BINARY_DIR}/Tests/WarnUnusedCliUnused"
${build_generator_args}
--build-project WarnUnusedCliUnused
- --build-options "-DUNUSED_CLI_VARIABLE=Unused")
+ --build-options ${build_options}
+ "-DUNUSED_CLI_VARIABLE=Unused")
set_tests_properties(WarnUnusedCliUnused PROPERTIES
PASS_REGULAR_EXPRESSION "CMake Warning:.*Manually-specified variables were not used by the project:.* UNUSED_CLI_VARIABLE")
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/WarnUnusedCliUnused")
@@ -1682,7 +1829,8 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
${build_generator_args}
--build-noclean
--build-project WarnUnusedCliUsed
- --build-options "-DUSED_VARIABLE=Usage proven")
+ --build-options ${build_options}
+ "-DUSED_VARIABLE=Usage proven")
set_tests_properties(WarnUnusedCliUsed PROPERTIES
PASS_REGULAR_EXPRESSION "Usage proven")
set_tests_properties(WarnUnusedCliUsed PROPERTIES
@@ -1696,7 +1844,8 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
${build_generator_args}
--build-noclean
--build-project WarnUninitialized
- --build-options "--warn-uninitialized")
+ --build-options ${build_options}
+ "--warn-uninitialized")
set_tests_properties(WarnUninitialized PROPERTIES
PASS_REGULAR_EXPRESSION "uninitialized variable 'USED_VARIABLE'")
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/WarnUninitialized")
@@ -1709,6 +1858,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-project TestsWorkingDirectoryProj
--build-exe-dir "${CMake_BINARY_DIR}/Tests/TestsWorkingDirectory"
--force-new-ctest-process
+ --build-options ${build_options}
--test-command ${CMAKE_CTEST_COMMAND} -V -C \${CTEST_CONFIGURATION_TYPE}
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/TestsWorkingDirectory")
@@ -1725,17 +1875,18 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
# )
# A test for ctest_build() with targets in subdirectories
+ set(ctest_configure_options)
if(CMAKE_TEST_GENERATOR_TOOLSET)
- set(CMAKE_TEST_GENERATOR_TOOLSET_SELECTION "-T;${CMAKE_TEST_GENERATOR_TOOLSET};")
- else()
- set(CMAKE_TEST_GENERATOR_TOOLSET_SELECTION)
+ list(APPEND ctest_configure_options -T ${CMAKE_TEST_GENERATOR_TOOLSET})
+ endif()
+ if(CMAKE_TEST_MAKEPROGRAM)
+ list(APPEND ctest_configure_options -DCMAKE_MAKE_PROGRAM:FILEPATH=${CMAKE_TEST_MAKEPROGRAM})
endif()
configure_file("${CMake_SOURCE_DIR}/Tests/CTestBuildCommandProjectInSubdir/CTestBuildCommandProjectInSubdir.cmake.in"
"${CMake_BINARY_DIR}/Tests/CTestBuildCommandProjectInSubdir/CTestBuildCommandProjectInSubdir.cmake" @ONLY)
- unset(CMAKE_TEST_GENERATOR_TOOLSET_SELECTION)
+ unset(ctest_configure_options)
add_test(CTest.BuildCommand.ProjectInSubdir
- ${CMAKE_CTEST_COMMAND} -S "${CMake_BINARY_DIR}/Tests/CTestBuildCommandProjectInSubdir/CTestBuildCommandProjectInSubdir.cmake"
- -DCMAKE_MAKE_PROGRAM:FILEPATH=${CMAKE_TEST_MAKEPROGRAM})
+ ${CMAKE_CTEST_COMMAND} -S "${CMake_BINARY_DIR}/Tests/CTestBuildCommandProjectInSubdir/CTestBuildCommandProjectInSubdir.cmake")
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/CTestBuildCommandProjectInSubdir/Nested")
set(CTEST_TEST_UPDATE 1)
@@ -1856,6 +2007,26 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/${CTestUpdateHG_DIR}")
endif()
+
+ # Test CTest Update with P4
+ find_program(P4_EXECUTABLE NAMES p4)
+ find_program(P4D_EXECUTABLE NAMES p4d)
+ mark_as_advanced(P4_EXECUTABLE P4D_EXECUTABLE)
+ set(CTEST_TEST_UPDATE_P4 0)
+ if(P4_EXECUTABLE AND P4D_EXECUTABLE)
+ if(NOT "${P4_EXECUTABLE};${P4D_EXECUTABLE}" MATCHES "cygwin" OR UNIX)
+ set(CTEST_TEST_UPDATE_P4 1)
+ endif()
+ endif()
+ if(CTEST_TEST_UPDATE_P4)
+ set(CTestUpdateP4_DIR "CTest UpdateP4")
+ configure_file("${CMake_SOURCE_DIR}/Tests/CTestUpdateP4.cmake.in"
+ "${CMake_BINARY_DIR}/Tests/CTestUpdateP4.cmake" @ONLY)
+ add_test(CTest.UpdateP4 ${CMAKE_CMAKE_COMMAND}
+ -P "${CMake_BINARY_DIR}/Tests/CTestUpdateP4.cmake"
+ )
+ list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/${CTestUpdateP4_DIR}")
+ endif()
endif()
configure_file(
@@ -1893,6 +2064,17 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
PASS_REGULAR_EXPRESSION "Upload\\.xml")
configure_file(
+ "${CMake_SOURCE_DIR}/Tests/CTestTestEmptyBinaryDirectory/test.cmake.in"
+ "${CMake_BINARY_DIR}/Tests/CTestTestEmptyBinaryDirectory/test.cmake"
+ @ONLY ESCAPE_QUOTES)
+ add_test(CTestTestEmptyBinaryDirectory ${CMAKE_CTEST_COMMAND}
+ -S "${CMake_BINARY_DIR}/Tests/CTestTestEmptyBinaryDirectory/test.cmake" -V
+ --output-log "${CMake_BINARY_DIR}/Tests/CTestTestEmptyBinaryDirectory/testOut.log"
+ )
+ set_tests_properties(CTestTestEmptyBinaryDirectory PROPERTIES
+ PASS_REGULAR_EXPRESSION "TEST_SUCCESS")
+
+ configure_file(
"${CMake_SOURCE_DIR}/Tests/CTestTestConfigFileInBuildDir/test1.cmake.in"
"${CMake_BINARY_DIR}/Tests/CTestTestConfigFileInBuildDir1/test1.cmake"
@ONLY ESCAPE_QUOTES)
@@ -1959,12 +2141,26 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
PASS_REGULAR_EXPRESSION
"Process file.*XINDEX.m.*Total LOC:.*125.*Percentage Coverage: 85.60.*"
ENVIRONMENT COVFILE=)
- # Use macro, not function so that build can still be driven by CMake 2.4.
- # After 2.6 is required, this could be a function without the extra 'set'
- # calls.
- #
- macro(add_config_tests cfg)
- set(cfg "${cfg}")
+
+ # Adding a test case for Python Coverage
+ configure_file(
+ "${CMake_SOURCE_DIR}/Tests/PythonCoverage/coverage.xml.in"
+ "${CMake_BINARY_DIR}/Testing/PythonCoverage/coverage.xml")
+ configure_file(
+ "${CMake_SOURCE_DIR}/Tests/PythonCoverage/DartConfiguration.tcl.in"
+ "${CMake_BINARY_DIR}/Testing/PythonCoverage/DartConfiguration.tcl")
+ file(COPY "${CMake_SOURCE_DIR}/Tests/PythonCoverage/coveragetest"
+ DESTINATION "${CMake_BINARY_DIR}/Testing/PythonCoverage")
+ add_test(NAME CTestPythonCoverage
+ COMMAND cmake -E chdir
+ ${CMake_BINARY_DIR}/Testing/PythonCoverage
+ $<TARGET_FILE:ctest> -T Coverage --debug)
+ set_tests_properties(CTestPythonCoverage PROPERTIES
+ PASS_REGULAR_EXPRESSION
+ "Process file.*foo.py.*Total LOC:.*13.*Percentage Coverage: 84.62.*"
+ ENVIRONMENT COVFILE=)
+
+ function(add_config_tests cfg)
set(base "${CMake_BINARY_DIR}/Tests/CTestConfig")
# Test -S script with a -C config arg to ctest:
@@ -1988,7 +2184,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
add_test(CTestConfig.Dashboard.${cfg} ${CMAKE_CMAKE_COMMAND}
-P "${base}/${cfg}-dashboard.cmake" -VV
)
- endmacro()
+ endfunction()
add_config_tests(Debug)
add_config_tests(MinSizeRel)
@@ -2008,6 +2204,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--output-log "${CMake_BINARY_DIR}/Tests/CTestConfig/ScriptWithArgs.log"
)
+ ADD_TEST_MACRO(CMakeCommands.add_compile_options add_compile_options)
ADD_TEST_MACRO(CMakeCommands.target_link_libraries target_link_libraries)
ADD_TEST_MACRO(CMakeCommands.target_include_directories target_include_directories)
ADD_TEST_MACRO(CMakeCommands.target_compile_definitions target_compile_definitions)
@@ -2056,8 +2253,32 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--output-log "${CMake_BINARY_DIR}/Tests/CTestTestParallel/testOutput.log"
)
+ configure_file(
+ "${CMake_SOURCE_DIR}/Tests/CTestTestSkipReturnCode/test.cmake.in"
+ "${CMake_BINARY_DIR}/Tests/CTestTestSkipReturnCode/test.cmake"
+ @ONLY ESCAPE_QUOTES)
+ add_test(CTestTestSkipReturnCode ${CMAKE_CTEST_COMMAND}
+ -S "${CMake_BINARY_DIR}/Tests/CTestTestSkipReturnCode/test.cmake" -V
+ --output-log "${CMake_BINARY_DIR}/Tests/CTestTestSkipReturnCode/testOutput.log"
+ -C \${CTEST_CONFIGURATION_TYPE}
+ )
+ set_tests_properties(CTestTestSkipReturnCode PROPERTIES
+ PASS_REGULAR_EXPRESSION "CMakeV1 \\.* +Passed.*CMakeV2 \\.+\\*+Skipped")
+
+ ADD_TEST_MACRO(CTestTestSerialInDepends ${CMAKE_CTEST_COMMAND} -j 4
+ --output-on-failure -C "\${CTestTest_CONFIG}")
+
+ ADD_TEST_MACRO(CTestTestMissingDependsExe ${CMAKE_CTEST_COMMAND}
+ --output-on-failure -C "\${CTestTest_CONFIG}")
+ set_tests_properties(CTestTestMissingDependsExe PROPERTIES
+ PASS_REGULAR_EXPRESSION "\\*\\*\\*Not Run"
+ )
+
+ ADD_TEST_MACRO(CTestTestSerialOrder ${CMAKE_CTEST_COMMAND}
+ --output-on-failure -C "\${CTestTest_CONFIG}")
+
if(NOT BORLAND)
- set(CTestLimitDashJ_EXTRA_OPTIONS --force-new-ctest-process)
+ set(CTestLimitDashJ_CTEST_OPTIONS --force-new-ctest-process)
add_test_macro(CTestLimitDashJ ${CMAKE_CTEST_COMMAND} -j 4
--output-on-failure -C "\${CTestTest_CONFIG}")
endif()
@@ -2139,6 +2360,13 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
set_tests_properties(CTestTestTimeout PROPERTIES
PASS_REGULAR_EXPRESSION "TestTimeout *\\.+ *\\*\\*\\*Timeout.*CheckChild *\\.+ *Passed")
+ add_test(
+ NAME CTestTestRerunFailed
+ COMMAND ${CMAKE_CTEST_COMMAND} --rerun-failed)
+ set_tests_properties(CTestTestRerunFailed PROPERTIES
+ PASS_REGULAR_EXPRESSION "1/1 Test #1: TestTimeout" DEPENDS CTestTestTimeout
+ WORKING_DIRECTORY ${CMake_BINARY_DIR}/Tests/CTestTestTimeout)
+
configure_file(
"${CMake_SOURCE_DIR}/Tests/CTestTestZeroTimeout/test.cmake.in"
"${CMake_BINARY_DIR}/Tests/CTestTestZeroTimeout/test.cmake"
@@ -2198,20 +2426,11 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--output-log "${CMake_BINARY_DIR}/Tests/CTestTestFdSetSize/testOutput.log"
)
- # Use macro, not function so that build can still be driven by CMake 2.4.
- # After 2.6 is required, this could be a function without the extra 'set'
- # calls.
- #
- macro(add_failed_submit_test name source build in out log regex)
- # Have variables named source, build and drop_method because the
- # configure_file call expects those variables to be defined.
- #
- set(source "${source}")
- set(build "${build}")
+ function(add_failed_submit_test name source build in out log regex)
configure_file("${in}" "${out}" @ONLY)
add_test(${name} ${CMAKE_CTEST_COMMAND} -S "${out}" -V --output-log "${log}")
set_tests_properties(${name} PROPERTIES PASS_REGULAR_EXPRESSION "${regex}")
- endmacro()
+ endfunction()
set(regex "(Problems when submitting via S*CP")
set(regex "${regex}|Error message was: ")
@@ -2279,6 +2498,17 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--output-log "${CMake_BINARY_DIR}/Tests/CTestTest2/testOutput.log"
)
+ if("${CMAKE_TEST_GENERATOR}" MATCHES "Makefiles" OR "${CMAKE_TEST_GENERATOR}" MATCHES "Ninja")
+ configure_file("${CMake_SOURCE_DIR}/Tests/CTestTestLaunchers/test.cmake.in"
+ "${CMake_BINARY_DIR}/Tests/CTestTestLaunchers/test.cmake" @ONLY ESCAPE_QUOTES)
+ add_test(CTestTestLaunchers ${CMAKE_CTEST_COMMAND}
+ -S "${CMake_BINARY_DIR}/Tests/CTestTestLaunchers/test.cmake" -V
+ --output-log "${CMake_BINARY_DIR}/Tests/CTestTestLaunchers/testOutput.log"
+ )
+ set_tests_properties(CTestTestLaunchers PROPERTIES
+ PASS_REGULAR_EXPRESSION "CTEST_TEST_LAUNCHER_SUCCESS")
+ endif()
+
configure_file("${CMake_SOURCE_DIR}/Tests/CTestTestChecksum/test.cmake.in"
"${CMake_BINARY_DIR}/Tests/CTestTestChecksum/test.cmake" @ONLY
ESCAPE_QUOTES)
@@ -2323,16 +2553,12 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
endif()
endif()
if(bootstrap)
- add_test(BootstrapTest ${CMAKE_CTEST_COMMAND}
- --build-and-test
- ${CMake_SOURCE_DIR}
- ${CMake_BINARY_DIR}/Tests/BootstrapTest
- --build-nocmake
- --build-noclean
- --build-makeprogram ${bootstrap}
- --build-generator "${CMAKE_TEST_GENERATOR}"
- --test-command
- ${CMake_BINARY_DIR}/Tests/BootstrapTest/Bootstrap.cmk/cmake)
+ add_test(NAME BootstrapTest
+ COMMAND ${CMAKE_CMAKE_COMMAND}
+ -D "bootstrap=${bootstrap}"
+ -D "bin_dir=${CMake_BINARY_DIR}/Tests/BootstrapTest"
+ -P ${CMAKE_CURRENT_SOURCE_DIR}/BootstrapTest.cmake
+ )
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/BootstrapTest")
# Make this test run early during parallel execution
set_tests_properties(BootstrapTest PROPERTIES COST 5000)
@@ -2353,6 +2579,8 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
${build_generator_args}
--build-project testf
--build-two-config
+ --build-options ${build_options}
+ -DCMAKE_TEST_MAKEPROGRAM:FILEPATH=${CMAKE_TEST_MAKEPROGRAM}
--test-command testf)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Fortran")
@@ -2371,6 +2599,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
${build_generator_args}
--build-project FortranC
--build-two-config
+ --build-options ${build_options}
--test-command CMakeFiles/FortranCInterface/FortranCInterface)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/FortranC")
endif()
@@ -2394,6 +2623,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-project hello
--build-two-config
--build-run-dir "${CMake_BINARY_DIR}/Tests/Java/"
+ --build-options ${build_options}
--test-command ${JAVA_RUNTIME} -classpath hello.jar HelloWorld)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Java")
endif()
@@ -2413,7 +2643,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
"${CMake_BINARY_DIR}/Tests/SimpleCOnly_sdcc"
${build_generator_args}
--build-project SimpleC
- --build-options
+ --build-options ${build_options}
"-DCMAKE_SYSTEM_NAME=Generic"
"-DCMAKE_C_COMPILER=${SDCC_EXECUTABLE}")
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/SimpleCOnly_sdcc")
@@ -2431,7 +2661,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
"${CMake_BINARY_DIR}/Tests/Simple_Mingw_Linux2Win"
${build_generator_args}
--build-project Simple
- --build-options
+ --build-options ${build_options}
"-DCMAKE_SYSTEM_NAME=Windows"
"-DCMAKE_C_COMPILER=${MINGW_CC_LINUX2WIN_EXECUTABLE}"
"-DCMAKE_CXX_COMPILER=${MINGW_CXX_LINUX2WIN_EXECUTABLE}"
@@ -2441,19 +2671,6 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
endif()
endif()
- if(UNIX)
- string(COMPARE EQUAL "${CMAKE_INSTALL_PREFIX}" "${CMake_BINARY_DIR}/Tests/TestShellInstall/Prefix"
- PREFIX_IS_FOR_TEST)
- if(PREFIX_IS_FOR_TEST)
- configure_file(
- ${CMake_SOURCE_DIR}/Tests/TestInstall.sh.in
- ${CMake_BINARY_DIR}/Tests/TestShellInstall/TestInstall.sh
- @ONLY IMMEDIATE
- )
- add_test(ShellInstall /bin/sh ${CMake_BINARY_DIR}/Tests/TestShellInstall/TestShellInstall.sh)
- endif()
- endif()
-
if(CMAKE_TEST_PROJECT_CSE_DIR)
set(script "${CMAKE_TEST_PROJECT_CSE_DIR}/BuildProjectCSE.cmake")
if(NOT EXISTS "${script}")
@@ -2493,11 +2710,10 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
)
endif()
- add_test(CMakeWizardTest ${CMAKE_CMAKE_COMMAND}
- -D build_dir:STRING=${CMAKE_CURRENT_BINARY_DIR}/CMakeWizardTest
- -D source_dir:STRING=${CMAKE_CURRENT_SOURCE_DIR}/Tutorial/Step3
- -D CMAKE_CTEST_COMMAND:STRING=${CMAKE_CTEST_COMMAND}
- -P ${CMAKE_CURRENT_SOURCE_DIR}/CMakeWizardTest.cmake)
+ add_test(NAME CMakeWizardTest COMMAND cmake -i)
+ set_property(TEST CMakeWizardTest PROPERTY PASS_REGULAR_EXPRESSION
+ "The \"cmake -i\" wizard mode is no longer supported.")
+
# If the cache variable CMAKE_CONTRACT_PROJECTS is set
# then the dashboard will run a contract with CMake test of that
# name. For example CMAKE_CONTRACT_PROJECTS = vtk542 would run
@@ -2526,8 +2742,8 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
endforeach()
if(TEST_CompileCommandOutput)
- set(CompileCommandOutput_EXTRA_OPTIONS
- --build-options -DMAKE_SUPPORTS_SPACES=${MAKE_SUPPORTS_SPACES})
+ set(CompileCommandOutput_BUILD_OPTIONS
+ -DMAKE_SUPPORTS_SPACES=${MAKE_SUPPORTS_SPACES})
ADD_TEST_MACRO(CompileCommandOutput
"${CMake_BINARY_DIR}/Tests/CMakeLib/runcompilecommands")
endif()
@@ -2539,6 +2755,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-two-config
${build_generator_args}
--build-project IncludeDirectories
+ --build-options ${build_options}
--test-command IncludeDirectories)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/IncludeDirectories")
@@ -2549,6 +2766,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
--build-two-config
${build_generator_args}
--build-project InterfaceLinkLibraries
+ --build-options ${build_options}
--test-command InterfaceLinkLibraries)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/InterfaceLinkLibraries")
diff --git a/Tests/CMakeOnly/AllFindModules/CMakeLists.txt b/Tests/CMakeOnly/AllFindModules/CMakeLists.txt
index 739593c..691728a 100644
--- a/Tests/CMakeOnly/AllFindModules/CMakeLists.txt
+++ b/Tests/CMakeOnly/AllFindModules/CMakeLists.txt
@@ -22,11 +22,18 @@ endmacro()
set(DESIRED_QT_VERSION 4)
set(NO_QT4_MODULES "Qt3" "KDE3")
+# ignore everything that has it's own test in Tests/Module/
+file(GLOB OWN_TEST_MODULES RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}/../../Module/" "${CMAKE_CURRENT_SOURCE_DIR}/../../Module/Find*")
+foreach(FIND_MODULE IN LISTS OWN_TEST_MODULES)
+ string(REGEX REPLACE "^Find" "" _MOD_NAME "${FIND_MODULE}")
+ list(APPEND NO_FIND_MODULES "${_MOD_NAME}")
+endforeach()
+
# These modules are named Find*.cmake, but are nothing that works in
# find_package().
-set(NO_FIND_MODULES "PackageHandleStandardArgs" "PackageMessage")
+list(APPEND NO_FIND_MODULES "PackageHandleStandardArgs" "PackageMessage")
-foreach(FIND_MODULE ${FIND_MODULES})
+foreach(FIND_MODULE IN LISTS FIND_MODULES)
string(REGEX REPLACE ".*/Find(.*)\\.cmake$" "\\1" MODULE_NAME "${FIND_MODULE}")
list(FIND NO_QT4_MODULES ${MODULE_NAME} NO_QT4_INDEX)
diff --git a/Tests/CMakeOnly/CMakeLists.txt b/Tests/CMakeOnly/CMakeLists.txt
index be7ddbc..7586de6 100644
--- a/Tests/CMakeOnly/CMakeLists.txt
+++ b/Tests/CMakeOnly/CMakeLists.txt
@@ -19,6 +19,8 @@ add_CMakeOnly_test(CheckCXXCompilerFlag)
add_CMakeOnly_test(CheckLanguage)
+add_CMakeOnly_test(CheckStructHasMember)
+
add_CMakeOnly_test(CompilerIdC)
add_CMakeOnly_test(CompilerIdCXX)
if(CMAKE_Fortran_COMPILER)
diff --git a/Tests/CMakeOnly/CheckStructHasMember/CMakeLists.txt b/Tests/CMakeOnly/CheckStructHasMember/CMakeLists.txt
new file mode 100644
index 0000000..f06d5c3
--- /dev/null
+++ b/Tests/CMakeOnly/CheckStructHasMember/CMakeLists.txt
@@ -0,0 +1,93 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(CheckStructHasMember)
+
+set(CMAKE_REQUIRED_INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}")
+
+include(CheckStructHasMember)
+
+foreach(_config_type Release RelWithDebInfo MinSizeRel Debug)
+ set(CMAKE_TRY_COMPILE_CONFIGURATION ${_config_type})
+ unset(CSHM_RESULT_S1_${_config_type} CACHE)
+ unset(CSHM_RESULT_S2_${_config_type} CACHE)
+ unset(CSHM_RESULT_S3_${_config_type} CACHE)
+ message(STATUS "Testing configuration ${_config_type}")
+
+ check_struct_has_member("struct non_existent_struct" "foo" "cm_cshm.h" CSHM_RESULT_S1_${_config_type})
+ check_struct_has_member("struct struct_with_member" "non_existent_member" "cm_cshm.h" CSHM_RESULT_S2_${_config_type})
+ check_struct_has_member("struct struct_with_member" "member" "cm_cshm.h" CSHM_RESULT_S3_${_config_type})
+
+ if(CSHM_RESULT_S1_${_config_type} OR CSHM_RESULT_S2_${_config_type})
+ message(SEND_ERROR "CheckStructHasMember reported a nonexistent member as existing in configuration ${_config_type}")
+ endif()
+
+ if(NOT CSHM_RESULT_S3_${_config_type})
+ message(SEND_ERROR "CheckStructHasMember did not report an existent member as existing in configuration ${_config_type}")
+ endif()
+endforeach()
+
+foreach(_config_type Release RelWithDebInfo MinSizeRel Debug)
+ set(CMAKE_TRY_COMPILE_CONFIGURATION ${_config_type})
+ unset(CSHM_RESULT_S1_${_config_type}_C CACHE)
+ unset(CSHM_RESULT_S2_${_config_type}_C CACHE)
+ unset(CSHM_RESULT_S3_${_config_type}_C CACHE)
+ message(STATUS "Testing configuration ${_config_type}")
+
+ check_struct_has_member("struct non_existent_struct" "foo" "cm_cshm.h" CSHM_RESULT_S1_${_config_type}_C LANGUAGE C)
+ check_struct_has_member("struct struct_with_member" "non_existent_member" "cm_cshm.h" CSHM_RESULT_S2_${_config_type}_C LANGUAGE C)
+ check_struct_has_member("struct struct_with_member" "member" "cm_cshm.h" CSHM_RESULT_S3_${_config_type}_C LANGUAGE C)
+
+ if(CSHM_RESULT_S1_${_config_type}_C OR CSHM_RESULT_S2_${_config_type}_C)
+ message(SEND_ERROR "CheckStructHasMember reported a nonexistent member as existing in configuration ${_config_type}")
+ endif()
+
+ if(NOT CSHM_RESULT_S3_${_config_type}_C)
+ message(SEND_ERROR "CheckStructHasMember did not report an existent member as existing in configuration ${_config_type}")
+ endif()
+endforeach()
+
+foreach(_config_type Release RelWithDebInfo MinSizeRel Debug)
+ set(CMAKE_TRY_COMPILE_CONFIGURATION ${_config_type})
+ unset(CSHM_RESULT_S1_${_config_type}_CXX CACHE)
+ unset(CSHM_RESULT_S2_${_config_type}_CXX CACHE)
+ unset(CSHM_RESULT_S3_${_config_type}_CXX CACHE)
+ unset(CSHM_RESULT_C1_${_config_type}_CXX CACHE)
+ unset(CSHM_RESULT_C2_${_config_type}_CXX CACHE)
+ unset(CSHM_RESULT_C3_${_config_type}_CXX CACHE)
+
+ message(STATUS "Testing configuration ${_config_type}")
+
+ check_struct_has_member("non_existent_struct" "foo" "cm_cshm.h" CSHM_RESULT_S1_${_config_type}_CXX LANGUAGE CXX)
+ check_struct_has_member("struct_with_non_existent_members" "non_existent_member" "cm_cshm.h" CSHM_RESULT_S2_${_config_type}_CXX LANGUAGE CXX)
+ check_struct_has_member("struct struct_with_member" "member" "cm_cshm.h" CSHM_RESULT_S3_${_config_type}_CXX LANGUAGE CXX)
+ check_struct_has_member("ns::non_existent_class" "foo" "cm_cshm.hxx" CSHM_RESULT_C1_${_config_type}_CXX LANGUAGE CXX)
+ check_struct_has_member("ns::class_with_non_existent_members" "foo" "cm_cshm.hxx" CSHM_RESULT_C2_${_config_type}_CXX LANGUAGE CXX)
+ check_struct_has_member("ns::class_with_member" "foo" "cm_cshm.hxx" CSHM_RESULT_C3_${_config_type}_CXX LANGUAGE CXX)
+
+ if(CSHM_RESULT_S1_${_config_type}_CXX OR CSHM_RESULT_S2_${_config_type}_CXX OR CSHM_RESULT_C1_${_config_type}_CXX OR CSHM_RESULT_C2_${_config_type}_CXX)
+ message(SEND_ERROR "CheckStructHasMember reported a nonexistent member as existing in configuration ${_config_type}")
+ endif()
+
+ if(NOT CSHM_RESULT_S3_${_config_type}_CXX OR NOT CSHM_RESULT_C3_${_config_type}_CXX)
+ message(SEND_ERROR "CheckStructHasMember did not report an existent member as existing in configuration ${_config_type}")
+ endif()
+endforeach()
+
+
+set(CMAKE_TRY_COMPILE_CONFIGURATION ${CMAKE_BUILD_TYPE})
+
+if (CMAKE_COMPILER_IS_GNUCC)
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3")
+ unset(CSHM_RESULT_O3 CACHE)
+ unset(CSHM_RESULT_O3_C CACHE)
+ unset(CSHM_RESULT_O3_CXX CACHE)
+ message(STATUS "Testing with optimization -O3")
+
+ check_struct_has_member("class_with_non_existent_members" foo "cm_cshm.h" CSHM_RESULT_O3)
+ check_struct_has_member("class_with_non_existent_members" foo "cm_cshm.h" CSHM_RESULT_O3_C LANGUAGE C)
+ check_struct_has_member("class_with_non_existent_members" foo "cm_cshm.h" CSHM_RESULT_O3_CXX LANGUAGE CXX)
+
+ if (CSE_RESULT_O3 OR CSHM_RESULT_O3_C OR CSHM_RESULT_O3_CXX)
+ message(SEND_ERROR "CheckSymbolExists reported a nonexistent symbol as existing with optimization -O3")
+ endif ()
+endif ()
diff --git a/Tests/CMakeOnly/CheckStructHasMember/cm_cshm.h b/Tests/CMakeOnly/CheckStructHasMember/cm_cshm.h
new file mode 100644
index 0000000..82bb049
--- /dev/null
+++ b/Tests/CMakeOnly/CheckStructHasMember/cm_cshm.h
@@ -0,0 +1,9 @@
+#ifndef _CSHM_DUMMY_H
+#define _CSHM_DUMMY_H
+
+struct non_existent_struct;
+struct struct_with_member{
+ int member;
+};
+
+#endif
diff --git a/Tests/CMakeOnly/CheckStructHasMember/cm_cshm.hxx b/Tests/CMakeOnly/CheckStructHasMember/cm_cshm.hxx
new file mode 100644
index 0000000..458a99b
--- /dev/null
+++ b/Tests/CMakeOnly/CheckStructHasMember/cm_cshm.hxx
@@ -0,0 +1,16 @@
+#ifndef _CSHM_DUMMY_HXX
+#define _CSHM_DUMMY_HXX
+
+namespace ns {
+
+class non_existent_class;
+class class_with_non_existent_members {
+};
+class class_with_member {
+public:
+ int foo;
+};
+
+}
+
+#endif
diff --git a/Tests/CMakeTests/CMakeLists.txt b/Tests/CMakeTests/CMakeLists.txt
index 344b772..ce36830 100644
--- a/Tests/CMakeTests/CMakeLists.txt
+++ b/Tests/CMakeTests/CMakeLists.txt
@@ -3,7 +3,7 @@ set(CMAKE_EXECUTABLE "${CMake_BIN_DIR}/cmake")
macro(AddCMakeTest TestName PreArgs)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/${TestName}Test.cmake.in"
- "${CMAKE_CURRENT_BINARY_DIR}/${TestName}Test.cmake" @ONLY IMMEDIATE)
+ "${CMAKE_CURRENT_BINARY_DIR}/${TestName}Test.cmake" @ONLY)
add_test(NAME CMake.${TestName}
COMMAND ${CMAKE_EXECUTABLE} ${PreArgs}
-P "${CMAKE_CURRENT_BINARY_DIR}/${TestName}Test.cmake" ${ARGN})
@@ -38,6 +38,10 @@ AddCMakeTest(FileDownload "")
set_property(TEST CMake.FileDownload PROPERTY
PASS_REGULAR_EXPRESSION "file already exists with expected MD5 sum"
)
+AddCMakeTest(FileDownloadBadHash "")
+set_property(TEST CMake.FileDownloadBadHash PROPERTY
+ WILL_FAIL TRUE
+ )
AddCMakeTest(FileUpload "")
@@ -55,6 +59,15 @@ set(GetPrerequisites_PreArgs
)
AddCMakeTest(GetPrerequisites "${GetPrerequisites_PreArgs}")
+if(GIT_EXECUTABLE)
+ set(PolicyCheck_PreArgs
+ "-DCMake_BINARY_DIR:PATH=${CMake_BINARY_DIR}"
+ "-DCMake_SOURCE_DIR:PATH=${CMake_SOURCE_DIR}"
+ "-DGIT_EXECUTABLE:STRING=${GIT_EXECUTABLE}"
+ )
+ AddCMakeTest(PolicyCheck "${PolicyCheck_PreArgs}")
+endif()
+
# Run CheckSourceTree as the very last test in the CMake/CTest/CPack test
# suite. It detects if any changes have been made to the CMake source tree
# by any previous configure, build or test steps.
diff --git a/Tests/CMakeTests/FileDownloadBadHashTest.cmake.in b/Tests/CMakeTests/FileDownloadBadHashTest.cmake.in
new file mode 100644
index 0000000..4a47c06
--- /dev/null
+++ b/Tests/CMakeTests/FileDownloadBadHashTest.cmake.in
@@ -0,0 +1,10 @@
+set(url "file://@CMAKE_CURRENT_SOURCE_DIR@/FileDownloadInput.png")
+set(dir "@CMAKE_CURRENT_BINARY_DIR@/downloads")
+
+file(DOWNLOAD
+ ${url}
+ ${dir}/file3.png
+ TIMEOUT 2
+ STATUS status
+ EXPECTED_HASH SHA1=5555555555555555555555555555555555555555
+ )
diff --git a/Tests/CMakeTests/FileDownloadTest.cmake.in b/Tests/CMakeTests/FileDownloadTest.cmake.in
index 91086c6..83ade2b 100644
--- a/Tests/CMakeTests/FileDownloadTest.cmake.in
+++ b/Tests/CMakeTests/FileDownloadTest.cmake.in
@@ -94,3 +94,16 @@ file(DOWNLOAD
EXPECTED_MD5 d16778650db435bda3a8c3435c3ff5d1
)
message(STATUS "${status}")
+
+message(STATUS "FileDownload:11")
+file(DOWNLOAD
+ badhostname.png
+ ${dir}/file11.png
+ TIMEOUT 2
+ STATUS status
+ )
+message(STATUS "${status}")
+list(GET status 0 status_code)
+if(NOT ${status_code} EQUAL 6)
+ message(SEND_ERROR "error: expected status code 6 for bad host name, got: ${status_code}")
+endif()
diff --git a/Tests/CMakeTests/GetPropertyTest.cmake.in b/Tests/CMakeTests/GetPropertyTest.cmake.in
index a858418..e99193e 100644
--- a/Tests/CMakeTests/GetPropertyTest.cmake.in
+++ b/Tests/CMakeTests/GetPropertyTest.cmake.in
@@ -11,17 +11,6 @@ if (NOT FOO_FULL STREQUAL "NOTFOUND")
message(SEND_ERROR "property FOO has FULL_DOCS set to '${FOO_FULL}'")
endif ()
-get_property(test_brief GLOBAL PROPERTY ENABLED_FEATURES BRIEF_DOCS)
-get_property(test_full GLOBAL PROPERTY ENABLED_FEATURES FULL_DOCS)
-
-if(test_brief STREQUAL "NOTFOUND")
- message(SEND_ERROR "property ENABLED_FEATURES has no BRIEF_DOCS")
-endif()
-
-if(test_full STREQUAL "NOTFOUND")
- message(SEND_ERROR "property ENABLED_FEATURES has no FULL_DOCS")
-endif()
-
set(test_var alpha)
get_property(result VARIABLE PROPERTY test_var)
if(NOT result STREQUAL "alpha")
diff --git a/Tests/CMakeTests/PolicyCheckTest.cmake.in b/Tests/CMakeTests/PolicyCheckTest.cmake.in
new file mode 100644
index 0000000..416dc0a
--- /dev/null
+++ b/Tests/CMakeTests/PolicyCheckTest.cmake.in
@@ -0,0 +1,154 @@
+# Check the CMake source tree for suspicious policy introdcutions...
+#
+message("=============================================================================")
+message("CTEST_FULL_OUTPUT (Avoid ctest truncation of output)")
+message("")
+message("CMake_BINARY_DIR='${CMake_BINARY_DIR}'")
+message("CMake_SOURCE_DIR='${CMake_SOURCE_DIR}'")
+message("GIT_EXECUTABLE='${GIT_EXECUTABLE}'")
+message("")
+
+
+# If this does not appear to be a git checkout, just pass the test here
+# and now. (Do not let the test fail if it is run in a tree *exported* from a
+# repository or unpacked from a .zip file source installer...)
+#
+set(is_git_checkout 0)
+if(EXISTS "${CMake_SOURCE_DIR}/.git")
+ set(is_git_checkout 1)
+endif()
+
+message("is_git_checkout='${is_git_checkout}'")
+message("")
+
+if(NOT is_git_checkout)
+ message("source tree is not a git checkout... test passes by early return...")
+ return()
+endif()
+
+# If no GIT_EXECUTABLE, see if we can figure out which git was used
+# for the ctest_update step on this dashboard...
+#
+if(is_git_checkout AND NOT GIT_EXECUTABLE)
+ set(ctest_ini_file "")
+ set(exe "")
+
+ # Use the old name:
+ if(EXISTS "${CMake_BINARY_DIR}/DartConfiguration.tcl")
+ set(ctest_ini_file "${CMake_BINARY_DIR}/DartConfiguration.tcl")
+ endif()
+
+ # But if it exists, prefer the new name:
+ if(EXISTS "${CMake_BINARY_DIR}/CTestConfiguration.ini")
+ set(ctest_ini_file "${CMake_BINARY_DIR}/CTestConfiguration.ini")
+ endif()
+
+ # If there is a ctest ini file, read the update command or git command
+ # from it:
+ #
+ if(ctest_ini_file)
+ file(STRINGS "${ctest_ini_file}" line REGEX "^GITCommand: (.*)$")
+ string(REGEX REPLACE "^GITCommand: (.*)$" "\\1" line "${line}")
+ if("${line}" MATCHES "^\"")
+ string(REGEX REPLACE "^\"([^\"]+)\" *.*$" "\\1" line "${line}")
+ else()
+ string(REGEX REPLACE "^([^ ]+) *.*$" "\\1" line "${line}")
+ endif()
+ set(exe "${line}")
+ if("${exe}" STREQUAL "GITCOMMAND-NOTFOUND")
+ set(exe "")
+ endif()
+ if(exe)
+ message("info: GIT_EXECUTABLE set by 'GITCommand:' from '${ctest_ini_file}'")
+ endif()
+
+ if(NOT exe)
+ file(STRINGS "${ctest_ini_file}" line REGEX "^UpdateCommand: (.*)$")
+ string(REGEX REPLACE "^UpdateCommand: (.*)$" "\\1" line "${line}")
+ if("${line}" MATCHES "^\"")
+ string(REGEX REPLACE "^\"([^\"]+)\" *.*$" "\\1" line "${line}")
+ else()
+ string(REGEX REPLACE "^([^ ]+) *.*$" "\\1" line "${line}")
+ endif()
+ set(exe "${line}")
+ if("${exe}" STREQUAL "GITCOMMAND-NOTFOUND")
+ set(exe "")
+ endif()
+ if(exe)
+ message("info: GIT_EXECUTABLE set by 'UpdateCommand:' from '${ctest_ini_file}'")
+ endif()
+ endif()
+ else()
+ message("info: no DartConfiguration.tcl or CTestConfiguration.ini file...")
+ endif()
+
+ # If we have still not grokked the exe, look in the Update.xml file to see
+ # if we can parse it from there...
+ #
+ if(NOT exe)
+ file(GLOB_RECURSE update_xml_file "${CMake_BINARY_DIR}/Testing/Update.xml")
+ if(update_xml_file)
+ file(STRINGS "${update_xml_file}" line
+ REGEX "^.*<UpdateCommand>(.*)</UpdateCommand>$" LIMIT_COUNT 1)
+ string(REPLACE "&quot\;" "\"" line "${line}")
+ string(REGEX REPLACE "^.*<UpdateCommand>(.*)</UpdateCommand>$" "\\1" line "${line}")
+ if("${line}" MATCHES "^\"")
+ string(REGEX REPLACE "^\"([^\"]+)\" *.*$" "\\1" line "${line}")
+ else()
+ string(REGEX REPLACE "^([^ ]+) *.*$" "\\1" line "${line}")
+ endif()
+ if(line)
+ set(exe "${line}")
+ endif()
+ if(exe)
+ message("info: GIT_EXECUTABLE set by '<UpdateCommand>' from '${update_xml_file}'")
+ endif()
+ else()
+ message("info: no Update.xml file...")
+ endif()
+ endif()
+
+ if(exe)
+ set(GIT_EXECUTABLE "${exe}")
+ message("GIT_EXECUTABLE='${GIT_EXECUTABLE}'")
+ message("")
+
+ if(NOT EXISTS "${GIT_EXECUTABLE}")
+ message(FATAL_ERROR "GIT_EXECUTABLE does not exist...")
+ endif()
+ else()
+ message(FATAL_ERROR "could not determine GIT_EXECUTABLE...")
+ endif()
+endif()
+
+
+if(is_git_checkout AND GIT_EXECUTABLE)
+ # Check with "git grep" if there are any unacceptable cmPolicies additions
+ #
+ message("=============================================================================")
+ message("This is a git checkout, using git grep to verify no unacceptable policies")
+ message("are being introduced....")
+ message("")
+
+ execute_process(COMMAND ${GIT_EXECUTABLE} grep -En "[0-9][0-9][0-9][0-9][0-9].*cmPolicies"
+ WORKING_DIRECTORY ${CMake_SOURCE_DIR}
+ OUTPUT_VARIABLE grep_output
+ OUTPUT_STRIP_TRAILING_WHITESPACE)
+ message("=== output of 'git grep -En \"[0-9][0-9][0-9][0-9][0-9].*cmPolicies\"' ===")
+ message("${grep_output}")
+ message("=== end output ===")
+ message("")
+
+ if(NOT "${grep_output}" STREQUAL "")
+ message(FATAL_ERROR "git grep output is non-empty...
+New CMake policies must be introduced in a non-date-based version number.
+Send email to the cmake-developers list to figure out what the target
+version number for this policy should be...")
+ endif()
+endif()
+
+
+# Still here? Good then...
+#
+message("test passes")
+message("")
diff --git a/Tests/CMakeWizardTest.cmake b/Tests/CMakeWizardTest.cmake
deleted file mode 100644
index bcae8af..0000000
--- a/Tests/CMakeWizardTest.cmake
+++ /dev/null
@@ -1,52 +0,0 @@
-message("CTEST_FULL_OUTPUT (Avoid ctest truncation of output)")
-
-message(STATUS "build_dir='${build_dir}'")
-
-message(STATUS "source_dir='${source_dir}'")
-
-
-execute_process(COMMAND ${CMAKE_COMMAND} -E
- remove_directory ${build_dir}
- TIMEOUT 5)
-
-execute_process(COMMAND ${CMAKE_COMMAND} -E
- make_directory ${build_dir}
- TIMEOUT 5)
-
-execute_process(COMMAND ${CMAKE_COMMAND} -E
- copy_directory ${source_dir} ${build_dir}/src
- TIMEOUT 5)
-
-execute_process(COMMAND ${CMAKE_COMMAND} -E
- make_directory ${build_dir}/build
- TIMEOUT 5)
-
-# This is enough to answer 32 questions with "the default answer is ok"...
-#
-file(WRITE ${build_dir}/input.txt
- "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n")
-
-
-message(STATUS "running wizard mode (cmake -i)...")
-
-execute_process(COMMAND ${CMAKE_COMMAND} -i ../src
- INPUT_FILE ${build_dir}/input.txt
- WORKING_DIRECTORY ${build_dir}/build
- TIMEOUT 5
- )
-
-
-message(STATUS "building...")
-
-execute_process(COMMAND ${CMAKE_COMMAND} --build .
- WORKING_DIRECTORY ${build_dir}/build
- TIMEOUT 5
- )
-
-
-message(STATUS "testing...")
-
-execute_process(COMMAND ${CMAKE_CTEST_COMMAND}
- WORKING_DIRECTORY ${build_dir}/build
- TIMEOUT 5
- )
diff --git a/Tests/CPackComponentsForAll/CMakeLists.txt b/Tests/CPackComponentsForAll/CMakeLists.txt
index 8162f0c..ff40e30 100644
--- a/Tests/CPackComponentsForAll/CMakeLists.txt
+++ b/Tests/CPackComponentsForAll/CMakeLists.txt
@@ -59,6 +59,7 @@ set(CPACK_PACKAGE_VERSION_MAJOR "1")
set(CPACK_PACKAGE_VERSION_MINOR "0")
set(CPACK_PACKAGE_VERSION_PATCH "2")
set(CPACK_PACKAGE_INSTALL_DIRECTORY "CPack Component Example")
+set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_CURRENT_SOURCE_DIR}/license.txt)
# Tell CPack all of the components to install. The "ALL"
# refers to the fact that this is the set of components that
@@ -120,4 +121,4 @@ if (NOT ("${CPackComponentWay}" STREQUAL "default"))
set(CPACK_PROJECT_CONFIG_FILE ${CPackComponentsForAll_BINARY_DIR}/MyLibCPackConfig-${CPackComponentWay}.cmake)
endif ()
# Include CPack to introduce the appropriate targets
-include(CPack) \ No newline at end of file
+include(CPack)
diff --git a/Tests/CPackComponentsForAll/license.txt b/Tests/CPackComponentsForAll/license.txt
new file mode 100644
index 0000000..ba8ba48
--- /dev/null
+++ b/Tests/CPackComponentsForAll/license.txt
@@ -0,0 +1,3 @@
+LICENSE
+-------
+This is an installer created using CPack (http://www.cmake.org). No license provided.
diff --git a/Tests/CPackWiXGenerator/CMakeLists.txt b/Tests/CPackWiXGenerator/CMakeLists.txt
index 475e60d..d673d14 100644
--- a/Tests/CPackWiXGenerator/CMakeLists.txt
+++ b/Tests/CPackWiXGenerator/CMakeLists.txt
@@ -4,19 +4,26 @@ project(CPackWiXGenerator)
add_library(mylib mylib.cpp)
-add_executable(mylibapp mylibapp.cpp)
-target_link_libraries(mylibapp mylib)
+add_executable(my-libapp mylibapp.cpp)
+target_link_libraries(my-libapp mylib)
+
+add_executable(my-other-app myotherapp.cpp)
install(TARGETS mylib
ARCHIVE
DESTINATION lib
COMPONENT libraries)
-install(TARGETS mylibapp
+install(TARGETS my-libapp
RUNTIME
DESTINATION bin
COMPONENT applications)
+install(TARGETS my-other-app
+ RUNTIME
+ DESTINATION bin
+ COMPONENT applications2)
+
install(FILES mylib.h "file with spaces.h"
DESTINATION include
COMPONENT headers)
@@ -36,7 +43,20 @@ set(CPACK_PACKAGE_INSTALL_DIRECTORY "CPack Component Example")
set(CPACK_WIX_UPGRADE_GUID "BF20CE5E-7F7C-401D-8F7C-AB45E8D170E6")
set(CPACK_WIX_UNINSTALL "1")
-set(CPACK_PACKAGE_EXECUTABLES "mylibapp; CPack Wix Test")
+
+set(CPACK_PACKAGE_EXECUTABLES
+ "my-libapp" "CPack WiX Test"
+ "my-other-app" "Second CPack WiX Test"
+)
+
+set(CPACK_CREATE_DESKTOP_LINKS
+ "my-libapp"
+ "my-other-app"
+)
+
+set(CPACK_WIX_PATCH_FILE "${CMAKE_CURRENT_SOURCE_DIR}/patch.xml")
+
+set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/license.txt")
include(CPack)
@@ -50,11 +70,18 @@ cpack_add_component_group(Development
DESCRIPTION "All of the tools you'll ever need to develop software")
cpack_add_component(applications
+ REQUIRED
DISPLAY_NAME "MyLib Application"
DESCRIPTION "An extremely useful application that makes use of MyLib"
GROUP Runtime
INSTALL_TYPES Full)
+cpack_add_component(applications2
+ DISPLAY_NAME "MyLib Extra Application"
+ DESCRIPTION "Another extremely useful application that makes use of MyLib"
+ GROUP Runtime
+ INSTALL_TYPES Full)
+
cpack_add_component(documentation
DISPLAY_NAME "MyLib Documentation"
DESCRIPTION "The extensive suite of MyLib Application documentation files"
diff --git a/Tests/CPackWiXGenerator/license.txt b/Tests/CPackWiXGenerator/license.txt
new file mode 100644
index 0000000..7942783
--- /dev/null
+++ b/Tests/CPackWiXGenerator/license.txt
@@ -0,0 +1,9 @@
+hello world
+merhaba dünya
+ãƒãƒ­ãƒ¼ãƒ¯ãƒ¼ãƒ«ãƒ‰
+привет мир
+مرحبا العالم
+你好世界
+
+4-Byte sequences:
+ Perch (Fish) 𩶘 Elevator 𨋢!
diff --git a/Tests/CPackWiXGenerator/myotherapp.cpp b/Tests/CPackWiXGenerator/myotherapp.cpp
new file mode 100644
index 0000000..c272dab
--- /dev/null
+++ b/Tests/CPackWiXGenerator/myotherapp.cpp
@@ -0,0 +1 @@
+int main() {} \ No newline at end of file
diff --git a/Tests/CPackWiXGenerator/patch.xml b/Tests/CPackWiXGenerator/patch.xml
new file mode 100644
index 0000000..13c392d
--- /dev/null
+++ b/Tests/CPackWiXGenerator/patch.xml
@@ -0,0 +1,7 @@
+<CPackWiXPatch>
+ <CPackWiXFragment Id="CM_CP_applications.bin.my_libapp.exe">
+ <Environment Id="MyEnvironment" Action="set"
+ Name="CPackWiXGeneratorTest"
+ Value="CPackWiXGeneratorTest"/>
+ </CPackWiXFragment>
+</CPackWiXPatch>
diff --git a/Tests/CTestBuildCommandProjectInSubdir/CTestBuildCommandProjectInSubdir.cmake.in b/Tests/CTestBuildCommandProjectInSubdir/CTestBuildCommandProjectInSubdir.cmake.in
index ea48c78..abf010b 100644
--- a/Tests/CTestBuildCommandProjectInSubdir/CTestBuildCommandProjectInSubdir.cmake.in
+++ b/Tests/CTestBuildCommandProjectInSubdir/CTestBuildCommandProjectInSubdir.cmake.in
@@ -8,5 +8,5 @@ set(CTEST_BUILD_CONFIGURATION "@CTestTest_CONFIG@")
ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
ctest_start(Experimental)
-ctest_configure(OPTIONS "@CMAKE_TEST_GENERATOR_TOOLSET_SELECTION@-DCMAKE_MAKE_PROGRAM:FILEPATH=@CMAKE_TEST_MAKEPROGRAM@")
+ctest_configure(OPTIONS "@ctest_configure_options@")
ctest_build(TARGET test)
diff --git a/Tests/CTestTest/test.cmake.in b/Tests/CTestTest/test.cmake.in
index 214bff8..ab39b88 100644
--- a/Tests/CTestTest/test.cmake.in
+++ b/Tests/CTestTest/test.cmake.in
@@ -6,7 +6,7 @@
# this is the cvs module name that should be checked out
set (CTEST_MODULE_NAME SmallAndFast)
-# these are the the name of the source and binary directory on disk.
+# these are the name of the source and binary directory on disk.
# They will be appended to DASHBOARD_ROOT
set (CTEST_SOURCE_NAME SmallAndFast)
set (CTEST_BINARY_NAME SmallAndFastBuild)
diff --git a/Tests/CTestTest2/test.cmake.in b/Tests/CTestTest2/test.cmake.in
index 26a77a7..c5a7b45 100644
--- a/Tests/CTestTest2/test.cmake.in
+++ b/Tests/CTestTest2/test.cmake.in
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.1)
+cmake_minimum_required(VERSION 2.4)
# Settings:
set(CTEST_DASHBOARD_ROOT "@CMake_BINARY_DIR@/Tests/CTestTest")
diff --git a/Tests/CTestTestBadExe/test.cmake.in b/Tests/CTestTestBadExe/test.cmake.in
index 03ebd04..a7420fc 100644
--- a/Tests/CTestTestBadExe/test.cmake.in
+++ b/Tests/CTestTestBadExe/test.cmake.in
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.1)
+cmake_minimum_required(VERSION 2.4)
# Settings:
set(CTEST_DASHBOARD_ROOT "@CMake_BINARY_DIR@/Tests/CTestTest")
diff --git a/Tests/CTestTestChecksum/test.cmake.in b/Tests/CTestTestChecksum/test.cmake.in
index efc53fb..b18cdf3 100644
--- a/Tests/CTestTestChecksum/test.cmake.in
+++ b/Tests/CTestTestChecksum/test.cmake.in
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.1)
+cmake_minimum_required(VERSION 2.4)
# Settings:
set(CTEST_DASHBOARD_ROOT "@CMake_BINARY_DIR@/Tests/CTestTest")
diff --git a/Tests/CTestTestCostSerial/test.cmake.in b/Tests/CTestTestCostSerial/test.cmake.in
index bfb3d9a..e2dda95 100644
--- a/Tests/CTestTestCostSerial/test.cmake.in
+++ b/Tests/CTestTestCostSerial/test.cmake.in
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.1)
+cmake_minimum_required(VERSION 2.4)
# Settings:
set(CTEST_DASHBOARD_ROOT "@CMake_BINARY_DIR@/Tests/CTestTest")
diff --git a/Tests/CTestTestCrash/test.cmake.in b/Tests/CTestTestCrash/test.cmake.in
index 492966c..7ac1bb9 100644
--- a/Tests/CTestTestCrash/test.cmake.in
+++ b/Tests/CTestTestCrash/test.cmake.in
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.1)
+cmake_minimum_required(VERSION 2.4)
# Settings:
set(CTEST_DASHBOARD_ROOT "@CMake_BINARY_DIR@/Tests/CTestTest")
diff --git a/Tests/CTestTestCycle/test.cmake.in b/Tests/CTestTestCycle/test.cmake.in
index e9c9a4e..94b9cac 100644
--- a/Tests/CTestTestCycle/test.cmake.in
+++ b/Tests/CTestTestCycle/test.cmake.in
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.1)
+cmake_minimum_required(VERSION 2.4)
# Settings:
set(CTEST_DASHBOARD_ROOT "@CMake_BINARY_DIR@/Tests/CTestTest")
diff --git a/Tests/CTestTestDepends/test.cmake.in b/Tests/CTestTestDepends/test.cmake.in
index 002958b..98b2a27 100644
--- a/Tests/CTestTestDepends/test.cmake.in
+++ b/Tests/CTestTestDepends/test.cmake.in
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.1)
+cmake_minimum_required(VERSION 2.4)
# Settings:
set(CTEST_DASHBOARD_ROOT "@CMake_BINARY_DIR@/Tests/CTestTest")
diff --git a/Tests/CTestTestEmptyBinaryDirectory/test.cmake.in b/Tests/CTestTestEmptyBinaryDirectory/test.cmake.in
new file mode 100644
index 0000000..8eb808f
--- /dev/null
+++ b/Tests/CTestTestEmptyBinaryDirectory/test.cmake.in
@@ -0,0 +1,66 @@
+cmake_minimum_required(VERSION 2.8.12)
+
+set(CTEST_RUN_CURRENT_SCRIPT 0)
+
+set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestEmptyBinaryDirectory")
+set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestEmptyBinaryDirectory")
+
+# make sure ctest does not remove directories without a CMakeCache.txt in it
+set(EMPTY_BINARY_DIR "${CTEST_BINARY_DIRECTORY}/empty_binary_dir")
+file(MAKE_DIRECTORY "${EMPTY_BINARY_DIR}")
+
+if(NOT EXISTS "${EMPTY_BINARY_DIR}"
+ OR EXISTS "${EMPTY_BINARY_DIR}/CMakeCache.txt")
+ message(FATAL_ERROR "empty_binary_dir precondition failed")
+endif()
+
+ctest_empty_binary_directory("${EMPTY_BINARY_DIR}")
+
+if(NOT EXISTS "${EMPTY_BINARY_DIR}")
+ message(FATAL_ERROR "empty_binary_dir should not have been removed")
+endif()
+
+# make sure ctest does remove directories with a CMakeCache.txt
+set(VALID_BINARY_DIR "${CTEST_BINARY_DIRECTORY}/valid_binary_dir")
+file(MAKE_DIRECTORY "${VALID_BINARY_DIR}")
+file(WRITE "${VALID_BINARY_DIR}/CMakeCache.txt")
+
+if(NOT EXISTS "${VALID_BINARY_DIR}"
+ OR NOT EXISTS "${VALID_BINARY_DIR}/CMakeCache.txt")
+ message(FATAL_ERROR "valid_binary_dir precondition failed")
+endif()
+
+ctest_empty_binary_directory("${VALID_BINARY_DIR}")
+
+if(EXISTS "${VALID_BINARY_DIR}")
+ message(FATAL_ERROR "valid_binary_dir should have been removed")
+endif()
+
+# make sure ctest removes build directories recursively
+set(DEEP_BINARY_DIR "${CTEST_BINARY_DIRECTORY}/deep_binary_dir")
+file(MAKE_DIRECTORY "${DEEP_BINARY_DIR}")
+file(WRITE "${DEEP_BINARY_DIR}/CMakeCache.txt")
+
+foreach(SUBDIR A Z A/A A/Z Z/A Z/Z)
+ set(FULL_SUBDIR "${DEEP_BINARY_DIR}/${SUBDIR}")
+ file(MAKE_DIRECTORY "${FULL_SUBDIR}")
+
+ foreach(SUBFILE A.cpp Z.bat)
+ set(FULL_SUBFILE "${FULL_SUBDIR}/${SUBFILE}")
+ file(WRITE "${FULL_SUBFILE}" "I am '${FULL_SUBFILE}'")
+ endforeach()
+endforeach()
+
+if(NOT EXISTS "${DEEP_BINARY_DIR}"
+ OR NOT EXISTS "${DEEP_BINARY_DIR}/CMakeCache.txt"
+ OR NOT EXISTS "${DEEP_BINARY_DIR}/Z/A/Z.bat")
+ message(FATAL_ERROR "deep_binary_dir precondition failed")
+endif()
+
+ctest_empty_binary_directory("${DEEP_BINARY_DIR}")
+
+if(EXISTS "${DEEP_BINARY_DIR}")
+ message(FATAL_ERROR "deep_binary_dir should have been removed")
+endif()
+
+message("TEST_SUCCESS")
diff --git a/Tests/CTestTestFailure/testNoBuild.cmake.in b/Tests/CTestTestFailure/testNoBuild.cmake.in
index 3c4d219..1dee1ae 100644
--- a/Tests/CTestTestFailure/testNoBuild.cmake.in
+++ b/Tests/CTestTestFailure/testNoBuild.cmake.in
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.1)
+cmake_minimum_required(VERSION 2.4)
# Settings:
set(CTEST_DASHBOARD_ROOT "@CMake_BINARY_DIR@/Tests/CTestTest")
diff --git a/Tests/CTestTestFailure/testNoExe.cmake.in b/Tests/CTestTestFailure/testNoExe.cmake.in
index a133e2a..04e444d 100644
--- a/Tests/CTestTestFailure/testNoExe.cmake.in
+++ b/Tests/CTestTestFailure/testNoExe.cmake.in
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.1)
+cmake_minimum_required(VERSION 2.4)
# Settings:
set(CTEST_DASHBOARD_ROOT "@CMake_BINARY_DIR@/Tests/CTestTest")
diff --git a/Tests/CTestTestLaunchers/launcher_test_project/CMakeLists.txt b/Tests/CTestTestLaunchers/launcher_test_project/CMakeLists.txt
new file mode 100644
index 0000000..06c5725
--- /dev/null
+++ b/Tests/CTestTestLaunchers/launcher_test_project/CMakeLists.txt
@@ -0,0 +1,19 @@
+cmake_minimum_required(VERSION 2.8.12)
+
+project(launcher_test_project)
+
+include(CTest)
+
+add_custom_command(
+ OUTPUT test1.txt
+ COMMAND ${CMAKE_COMMAND}
+ ARGS -DTESTID=1 -P "${CMAKE_CURRENT_SOURCE_DIR}/command.cmake"
+)
+
+add_custom_command(
+ OUTPUT test2.txt
+ COMMAND ${CMAKE_COMMAND}
+ ARGS -DTESTID=2 -P "${CMAKE_CURRENT_SOURCE_DIR}/command.cmake"
+)
+
+add_custom_target(mytarget ALL DEPENDS test1.txt test2.txt)
diff --git a/Tests/CTestTestLaunchers/launcher_test_project/CTestConfig.cmake b/Tests/CTestTestLaunchers/launcher_test_project/CTestConfig.cmake
new file mode 100644
index 0000000..bf404ab
--- /dev/null
+++ b/Tests/CTestTestLaunchers/launcher_test_project/CTestConfig.cmake
@@ -0,0 +1,8 @@
+set(CTEST_USE_LAUNCHERS 1)
+set(CTEST_PROJECT_NAME "CTestTestLaunchers")
+set(CTEST_NIGHTLY_START_TIME "21:00:00 EDT")
+set(CTEST_DART_SERVER_VERSION "2")
+set(CTEST_DROP_METHOD "http")
+set(CTEST_DROP_SITE "www.cdash.org")
+set(CTEST_DROP_LOCATION "/CDash/submit.php?project=PublicDashboard")
+set(CTEST_DROP_SITE_CDASH TRUE)
diff --git a/Tests/CTestTestLaunchers/launcher_test_project/command.cmake b/Tests/CTestTestLaunchers/launcher_test_project/command.cmake
new file mode 100644
index 0000000..7f31af9
--- /dev/null
+++ b/Tests/CTestTestLaunchers/launcher_test_project/command.cmake
@@ -0,0 +1,5 @@
+if("${TESTID}" STREQUAL "1")
+ message("success")
+elseif("${TESTID}" STREQUAL "2")
+ message(FATAL_ERROR "failure")
+endif()
diff --git a/Tests/CTestTestLaunchers/test.cmake.in b/Tests/CTestTestLaunchers/test.cmake.in
new file mode 100644
index 0000000..43a6533
--- /dev/null
+++ b/Tests/CTestTestLaunchers/test.cmake.in
@@ -0,0 +1,39 @@
+cmake_minimum_required(VERSION 2.8.12)
+
+# Settings:
+set(CTEST_DASHBOARD_SOURCE "@CMake_SOURCE_DIR@/Tests/CTestTestLaunchers")
+set(CTEST_DASHBOARD_ROOT "@CMake_BINARY_DIR@/Tests/CTestTestLaunchers")
+set(CTEST_SITE "@SITE@")
+set(CTEST_BUILD_NAME "Launchers-@BUILDNAME@-CTestTestLaunchers")
+
+set(CTEST_SOURCE_DIRECTORY "${CTEST_DASHBOARD_SOURCE}/launcher_test_project")
+set(CTEST_BINARY_DIRECTORY "${CTEST_DASHBOARD_ROOT}/launcher_test_project-bin")
+set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
+set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
+set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
+set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
+
+ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
+
+file(WRITE "${CTEST_BINARY_DIRECTORY}/CMakeCache.txt" "
+CMAKE_CXX_FLAGS:STRING=@CMAKE_CXX_FLAGS@
+CMAKE_C_FLAGS:STRING=@CMAKE_C_FLAGS@
+CMAKE_C_COMPILER:STRING=@CMAKE_C_COMPILER@
+CMAKE_CXX_COMPILER:STRING=@CMAKE_CXX_COMPILER@
+CMAKE_C_COMPILER_ARG1:STRING=@CMAKE_C_COMPILER_ARG1@
+CMAKE_CXX_COMPILER_ARG1:STRING=@CMAKE_CXX_COMPILER_ARG1@
+")
+
+set(TEST_SUCCESS FALSE)
+
+ctest_start(Experimental)
+ctest_configure(OPTIONS "-DCTEST_USE_LAUNCHERS=1")
+ctest_build(NUMBER_ERRORS error_count)
+
+if("${error_count}" STREQUAL "1")
+ set(TEST_SUCCESS TRUE)
+endif()
+
+if(TEST_SUCCESS)
+ message("CTEST_TEST_LAUNCHER_SUCCESS")
+endif()
diff --git a/Tests/CTestTestMemcheck/CMakeLists.txt b/Tests/CTestTestMemcheck/CMakeLists.txt
index 86d7385..9bd7249 100644
--- a/Tests/CTestTestMemcheck/CMakeLists.txt
+++ b/Tests/CTestTestMemcheck/CMakeLists.txt
@@ -1,5 +1,13 @@
REGEX_ESCAPE_STRING(CTEST_ESCAPED_CMAKE_CURRENT_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}")
+get_filename_component(CTEST_REALPATH_CMAKE_CURRENT_BINARY_DIR
+ "${CMAKE_CURRENT_BINARY_DIR}" REALPATH
+)
+
+REGEX_ESCAPE_STRING(CTEST_ESCAPED_REALPATH_CMAKE_CURRENT_BINARY_DIR
+ "${CTEST_REALPATH_CMAKE_CURRENT_BINARY_DIR}"
+)
+
foreach (_retval 0 1)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/memtester.cxx.in" "${CMAKE_CURRENT_BINARY_DIR}/ret${_retval}.cxx" @ONLY)
endforeach ()
@@ -35,14 +43,31 @@ target_link_libraries(memcheck_fail CMakeLib)
# same filenames.
add_subdirectory(NoLogDummyChecker)
-if (APPLE)
- # filter out additional messages by Guard Malloc integrated in Xcode
- set(GUARD_MALLOC_MSG "(ctest\([0-9]+\) malloc: [^\n]*\n)*")
- set(NORMAL_CTEST_OUTPUT "\n1/1 MemCheck #1: RunCMake \\.+ Passed +[0-9]+\\.[0-9]+ sec\n${GUARD_MALLOC_MSG}\n${GUARD_MALLOC_MSG}100% tests passed, 0 tests failed out of 1\n.*\n-- Processing memory checking output: \n${GUARD_MALLOC_MSG}Memory checking results:\n${GUARD_MALLOC_MSG}")
-else ()
- set(NORMAL_CTEST_OUTPUT "\n1/1 MemCheck #1: RunCMake \\.+ Passed +[0-9]+\\.[0-9]+ sec\n\n100% tests passed, 0 tests failed out of 1\n.*\n-- Processing memory checking output: \nMemory checking results:\n")
-endif ()
-set(BULLSEYE_MSG "(BullseyeCoverage[^\n]*\n)?")
+if(APPLE)
+ # filter out additional messages by Guard Malloc integrated in Xcode
+ set(guard_malloc_msg "ctest\\([0-9]+\\) malloc: ")
+ set(guard_malloc_lines "(${guard_malloc_msg}[^\n]*\n)*")
+ set(guard_malloc_output "${guard_malloc_msg}|")
+else()
+ set(guard_malloc_msg "")
+ set(guard_malloc_lines "")
+ set(guard_malloc_output "")
+endif()
+
+# When this entire test runs under coverage or memcheck tools
+# they may add output to the end, so match known cases:
+# - Bullseye adds a "BullseyeCoverage..." line.
+# - Valgrind memcheck may add extra "==..." lines.
+set(other_tool_output "((${guard_malloc_output}BullseyeCoverage|==)[^\n]*\n)*")
+
+string(REPLACE "\r\n" "\n" ctest_and_tool_outputs "
+1/1 MemCheck #1: RunCMake \\.+ Passed +[0-9]+\\.[0-9]+ sec
+${guard_malloc_lines}
+100% tests passed, 0 tests failed out of 1
+.*
+-- Processing memory checking output:( )
+${guard_malloc_lines}Memory checking results:
+${other_tool_output}")
function(gen_mc_test_internal NAME CHECKER)
set(SUBTEST_NAME "${NAME}")
@@ -146,7 +171,7 @@ set_tests_properties(CTestTestMemcheckDummyValgrind
CTestTestMemcheckDummyValgrindPrePost
CTestTestMemcheckDummyPurify
PROPERTIES
- PASS_REGULAR_EXPRESSION "${NORMAL_CTEST_OUTPUT}${BULLSEYE_MSG}$")
+ PASS_REGULAR_EXPRESSION "${ctest_and_tool_outputs}$")
foreach (_pp Pre Post)
string(TOLOWER ${_pp} _pp_lower)
@@ -157,13 +182,13 @@ endforeach ()
set_tests_properties(CTestTestMemcheckDummyValgrindIgnoreMemcheck
PROPERTIES
- PASS_REGULAR_EXPRESSION "\n2/2 Test #2: RunCMakeAgain .*${NORMAL_CTEST_OUTPUT}${BULLSEYE_MSG}$")
+ PASS_REGULAR_EXPRESSION "\n2/2 Test #2: RunCMakeAgain .*${ctest_and_tool_outputs}$")
set_tests_properties(CTestTestMemcheckDummyBC PROPERTIES
PASS_REGULAR_EXPRESSION "\n1/1 MemCheck #1: RunCMake \\.+ Passed +[0-9]+.[0-9]+ sec\n\n100% tests passed, 0 tests failed out of 1\n(.*\n)?Error parsing XML in stream at line 1: no element found\n")
set_tests_properties(CTestTestMemcheckDummyValgrindInvalidSupFile PROPERTIES
- PASS_REGULAR_EXPRESSION "\nCannot find memory checker suppression file: ${CTEST_ESCAPED_CMAKE_CURRENT_BINARY_DIR}/does-not-exist\n")
+ PASS_REGULAR_EXPRESSION "\nCannot find memory checker suppression file: ${CTEST_ESCAPED_REALPATH_CMAKE_CURRENT_BINARY_DIR}/does-not-exist\n")
set_tests_properties(CTestTestMemcheckDummyValgrindCustomOptions PROPERTIES
PASS_REGULAR_EXPRESSION "\nCannot find memory tester output file: ${CTEST_ESCAPED_CMAKE_CURRENT_BINARY_DIR}/DummyValgrindCustomOptions/Testing/Temporary/MemoryChecker.1.log\n(.*\n)?Error in read script: ${CMAKE_CURRENT_BINARY_DIR}/DummyValgrindCustomOptions/test.cmake\n")
diff --git a/Tests/CTestTestMissingDependsExe/CMakeLists.txt b/Tests/CTestTestMissingDependsExe/CMakeLists.txt
new file mode 100644
index 0000000..9826da6
--- /dev/null
+++ b/Tests/CTestTestMissingDependsExe/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 2.8.12)
+
+project(CTestTestMissingDependsExe)
+
+enable_testing()
+
+add_test(test1 ${CMAKE_COMMAND} -E echo test)
+add_test(test2 non-existent-command)
+
+set_tests_properties(test1 PROPERTIES DEPENDS test2)
diff --git a/Tests/CTestTestParallel/test.cmake.in b/Tests/CTestTestParallel/test.cmake.in
index a0d9fb3..5826342 100644
--- a/Tests/CTestTestParallel/test.cmake.in
+++ b/Tests/CTestTestParallel/test.cmake.in
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.1)
+cmake_minimum_required(VERSION 2.4)
# Settings:
set(CTEST_DASHBOARD_ROOT "@CMake_BINARY_DIR@/Tests/CTestTest")
diff --git a/Tests/CTestTestResourceLock/test.cmake.in b/Tests/CTestTestResourceLock/test.cmake.in
index 1e7e344..f69b519 100644
--- a/Tests/CTestTestResourceLock/test.cmake.in
+++ b/Tests/CTestTestResourceLock/test.cmake.in
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.1)
+cmake_minimum_required(VERSION 2.4)
# Settings:
set(CTEST_DASHBOARD_ROOT "@CMake_BINARY_DIR@/Tests/CTestTest")
diff --git a/Tests/CTestTestScheduler/test.cmake.in b/Tests/CTestTestScheduler/test.cmake.in
index 8ad6137..26d8058 100644
--- a/Tests/CTestTestScheduler/test.cmake.in
+++ b/Tests/CTestTestScheduler/test.cmake.in
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.1)
+cmake_minimum_required(VERSION 2.4)
# Settings:
set(CTEST_DASHBOARD_ROOT "@CMake_BINARY_DIR@/Tests/CTestTest")
diff --git a/Tests/CTestTestSerialInDepends/CMakeLists.txt b/Tests/CTestTestSerialInDepends/CMakeLists.txt
new file mode 100644
index 0000000..90e50f9
--- /dev/null
+++ b/Tests/CTestTestSerialInDepends/CMakeLists.txt
@@ -0,0 +1,23 @@
+cmake_minimum_required(VERSION 2.8.12)
+
+project(CTestTestSerialInDepends)
+
+enable_testing()
+
+function(my_add_test NAME COST)
+ add_test(NAME ${NAME}
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+ COMMAND ${CMAKE_CTEST_COMMAND} -DTEST_NAME=${NAME}
+ -S ${CMAKE_CURRENT_SOURCE_DIR}/test.ctest)
+ set_tests_properties(${NAME} PROPERTIES COST ${COST})
+endfunction()
+
+my_add_test(i_like_company 1000)
+my_add_test(i_like_company_too 0)
+
+my_add_test(i_have_dependencies 1000)
+set_tests_properties(i_have_dependencies PROPERTIES
+ DEPENDS "i_want_to_be_alone")
+
+my_add_test(i_want_to_be_alone 100)
+set_tests_properties(i_want_to_be_alone PROPERTIES RUN_SERIAL 1)
diff --git a/Tests/CTestTestSerialInDepends/test.ctest b/Tests/CTestTestSerialInDepends/test.ctest
new file mode 100644
index 0000000..28ee094
--- /dev/null
+++ b/Tests/CTestTestSerialInDepends/test.ctest
@@ -0,0 +1,16 @@
+set(CTEST_RUN_CURRENT_SCRIPT 0)
+
+set(LOCK_FILE "${TEST_NAME}.lock")
+
+if("${TEST_NAME}" STREQUAL "i_want_to_be_alone")
+ file(GLOB LOCK_FILES *.lock)
+ if(LOCK_FILES)
+ message(FATAL_ERROR "found lock files of other tests even though this test should be running by itself: ${LOCK_FILES}")
+ endif()
+endif()
+
+file(WRITE "${LOCK_FILE}")
+ctest_sleep(3)
+file(REMOVE "${LOCK_FILE}")
+
+return()
diff --git a/Tests/CTestTestSerialOrder/CMakeLists.txt b/Tests/CTestTestSerialOrder/CMakeLists.txt
new file mode 100644
index 0000000..69c11fc
--- /dev/null
+++ b/Tests/CTestTestSerialOrder/CMakeLists.txt
@@ -0,0 +1,40 @@
+cmake_minimum_required(VERSION 2.8.12)
+
+project(CTestTestSerialOrder)
+
+set(TEST_OUTPUT_FILE "${CMAKE_CURRENT_BINARY_DIR}/test_output.txt")
+
+enable_testing()
+
+function(add_serial_order_test TEST_NAME)
+ add_test(NAME ${TEST_NAME}
+ COMMAND ${CMAKE_COMMAND}
+ "-DTEST_OUTPUT_FILE=${TEST_OUTPUT_FILE}"
+ "-DTEST_NAME=${TEST_NAME}"
+ -P "${CMAKE_CURRENT_SOURCE_DIR}/test.cmake"
+ )
+
+ if(ARGC GREATER 1)
+ set_tests_properties(${TEST_NAME} PROPERTIES ${ARGN})
+ endif()
+endfunction()
+
+add_serial_order_test(initialization COST 1000)
+add_serial_order_test(test1)
+add_serial_order_test(test2)
+add_serial_order_test(test3)
+add_serial_order_test(test4 DEPENDS test5)
+
+add_serial_order_test(test5)
+set_tests_properties(test5 PROPERTIES DEPENDS "test6;test7b;test7a")
+
+add_serial_order_test(test6 COST -2)
+add_serial_order_test(test7a COST -1)
+add_serial_order_test(test7b COST -1)
+add_serial_order_test(test8 COST 10)
+add_serial_order_test(test9 COST 20)
+add_serial_order_test(test10 COST 0)
+add_serial_order_test(test11)
+add_serial_order_test(test12 COST 0)
+
+add_serial_order_test(verification COST -1000)
diff --git a/Tests/CTestTestSerialOrder/test.cmake b/Tests/CTestTestSerialOrder/test.cmake
new file mode 100644
index 0000000..8479cae
--- /dev/null
+++ b/Tests/CTestTestSerialOrder/test.cmake
@@ -0,0 +1,31 @@
+list(APPEND EXPECTED_OUTPUT
+ initialization
+ test9
+ test8
+ test1
+ test2
+ test3
+ test6
+ test7a
+ test7b
+ test5
+ test4
+ test10
+ test11
+ test12
+)
+
+
+if("${TEST_NAME}" STREQUAL "initialization")
+ file(WRITE ${TEST_OUTPUT_FILE} "${TEST_NAME}")
+
+elseif("${TEST_NAME}" STREQUAL "verification")
+ file(READ ${TEST_OUTPUT_FILE} ACTUAL_OUTPUT)
+ if(NOT "${ACTUAL_OUTPUT}" STREQUAL "${EXPECTED_OUTPUT}")
+ message(FATAL_ERROR "Actual test order [${ACTUAL_OUTPUT}] differs from expected test order [${EXPECTED_OUTPUT}]")
+ endif()
+
+else()
+ file(APPEND ${TEST_OUTPUT_FILE} ";${TEST_NAME}")
+
+endif()
diff --git a/Tests/CTestTestSkipReturnCode/CMakeLists.txt b/Tests/CTestTestSkipReturnCode/CMakeLists.txt
new file mode 100644
index 0000000..26c4178
--- /dev/null
+++ b/Tests/CTestTestSkipReturnCode/CMakeLists.txt
@@ -0,0 +1,8 @@
+cmake_minimum_required(VERSION 2.8.12)
+project(CTestTestSkipReturnCode)
+include(CTest)
+
+add_test (NAME CMakeV1 COMMAND ${CMAKE_COMMAND} "--version")
+add_test (NAME CMakeV2 COMMAND ${CMAKE_COMMAND} "--version")
+
+set_tests_properties(CMakeV2 PROPERTIES SKIP_RETURN_CODE 0)
diff --git a/Tests/CTestTestSkipReturnCode/CTestConfig.cmake b/Tests/CTestTestSkipReturnCode/CTestConfig.cmake
new file mode 100644
index 0000000..ad8e00e
--- /dev/null
+++ b/Tests/CTestTestSkipReturnCode/CTestConfig.cmake
@@ -0,0 +1,7 @@
+set (CTEST_PROJECT_NAME "CTestTestSkipReturnCode")
+set (CTEST_NIGHTLY_START_TIME "21:00:00 EDT")
+set (CTEST_DART_SERVER_VERSION "2")
+set(CTEST_DROP_METHOD "http")
+set(CTEST_DROP_SITE "www.cdash.org")
+set(CTEST_DROP_LOCATION "/CDash/submit.php?project=PublicDashboard")
+set(CTEST_DROP_SITE_CDASH TRUE)
diff --git a/Tests/CTestTestSkipReturnCode/test.cmake.in b/Tests/CTestTestSkipReturnCode/test.cmake.in
new file mode 100644
index 0000000..ebee01b
--- /dev/null
+++ b/Tests/CTestTestSkipReturnCode/test.cmake.in
@@ -0,0 +1,22 @@
+cmake_minimum_required(VERSION 2.4)
+
+# Settings:
+set(CTEST_DASHBOARD_ROOT "@CMake_BINARY_DIR@/Tests/CTestTest")
+set(CTEST_SITE "@SITE@")
+set(CTEST_BUILD_NAME "CTestTest-@BUILDNAME@-SkipReturnCode")
+
+set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestSkipReturnCode")
+set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestSkipReturnCode")
+set(CTEST_CVS_COMMAND "@CVSCOMMAND@")
+set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
+set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_TEST_GENERATOR_TOOLSET@")
+set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
+set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
+set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
+
+#CTEST_EMPTY_BINARY_DIRECTORY(${CTEST_BINARY_DIRECTORY})
+
+CTEST_START(Experimental)
+CTEST_CONFIGURE(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)
+CTEST_BUILD(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)
+CTEST_TEST(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)
diff --git a/Tests/CTestTestStopTime/GetDate.cmake b/Tests/CTestTestStopTime/GetDate.cmake
index 60f1e0c..edc6519 100644
--- a/Tests/CTestTestStopTime/GetDate.cmake
+++ b/Tests/CTestTestStopTime/GetDate.cmake
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.2)
+cmake_minimum_required(VERSION 2.8.11)
macro(GET_DATE)
#
@@ -13,10 +13,7 @@ macro(GET_DATE)
# ${GD_PREFIX}PREFIX (if '${GD_PREFIX}' is not 'GD_'...!)
# ${GD_PREFIX}VERBOSE
#
- # ${GD_PREFIX}CMD
- # ${GD_PREFIX}ARGS
# ${GD_PREFIX}OV
- # ${GD_PREFIX}RV
#
# ${GD_PREFIX}REGEX
# ${GD_PREFIX}YEAR
@@ -25,8 +22,6 @@ macro(GET_DATE)
# ${GD_PREFIX}HOUR
# ${GD_PREFIX}MINUTE
# ${GD_PREFIX}SECOND
- # ${GD_PREFIX}FRACTIONAL_SECOND
- # ${GD_PREFIX}DAY_OF_WEEK
#
# Caller can then use these variables to construct names based on
# date and time stamps...
@@ -51,31 +46,10 @@ macro(GET_DATE)
# Retrieve the current date and time in the format:
#
- # Thu 01/12/2006 8:55:12.01
- # dow mm/dd/YYYY HH:MM:SS.ssssss
+ # 01/12/2006 08:55:12
+ # mm/dd/YYYY HH:MM:SS
#
- # Use "echo %DATE% %TIME%" on Windows.
- # Otherwise, try "date" as implemented on most Unix flavors.
- #
- if(WIN32)
- #
- # Use "cmd" shell with %DATE% and %TIME% support...
- # May need adjustment in different locales or for custom date/time formats
- # set in the Windows Control Panel.
- #
- set(${GD_PREFIX}CMD "cmd")
- set(${GD_PREFIX}ARGS "/c echo %DATE% %TIME%")
- else()
- #
- # Match the format returned by default in US English Windows:
- #
- set(${GD_PREFIX}CMD "date")
- set(${GD_PREFIX}ARGS "\"+%a %m/%d/%Y %H:%M:%S.00\"")
- endif()
-
- exec_program("${${GD_PREFIX}CMD}" "." ARGS "${${GD_PREFIX}ARGS}"
- OUTPUT_VARIABLE ${GD_PREFIX}OV RETURN_VALUE ${GD_PREFIX}RV
- )
+ string(TIMESTAMP "${GD_PREFIX}OV" "%m/%d/%Y %H:%M:%S")
if(${GD_PREFIX}VERBOSE)
message(STATUS "")
@@ -87,114 +61,39 @@ macro(GET_DATE)
endif()
message(STATUS "${GD_PREFIX}VERBOSE='${${GD_PREFIX}VERBOSE}'")
message(STATUS "")
- message(STATUS "${GD_PREFIX}CMD='${${GD_PREFIX}CMD}'")
- message(STATUS "${GD_PREFIX}ARGS='${${GD_PREFIX}ARGS}'")
message(STATUS "${GD_PREFIX}OV='${${GD_PREFIX}OV}'")
- message(STATUS "${GD_PREFIX}RV='${${GD_PREFIX}RV}'")
message(STATUS "")
endif()
- if("${${GD_PREFIX}RV}" STREQUAL "0")
- #
- # Extract eight individual components by matching a regex with paren groupings.
- # Use the replace functionality and \\1 thru \\8 to extract components.
- #
- set(${GD_PREFIX}REGEX "([^ ]+) +([^/]+)/([^/]+)/([^ ]+) +([^:]+):([^:]+):([^\\.]+)\\.(.*)")
-
- string(REGEX REPLACE "${${GD_PREFIX}REGEX}" "\\1" ${GD_PREFIX}DAY_OF_WEEK "${${GD_PREFIX}OV}")
- string(REGEX REPLACE "${${GD_PREFIX}REGEX}" "\\2" ${GD_PREFIX}MONTH "${${GD_PREFIX}OV}")
- string(REGEX REPLACE "${${GD_PREFIX}REGEX}" "\\3" ${GD_PREFIX}DAY "${${GD_PREFIX}OV}")
- string(REGEX REPLACE "${${GD_PREFIX}REGEX}" "\\4" ${GD_PREFIX}YEAR "${${GD_PREFIX}OV}")
- string(REGEX REPLACE "${${GD_PREFIX}REGEX}" "\\5" ${GD_PREFIX}HOUR "${${GD_PREFIX}OV}")
- string(REGEX REPLACE "${${GD_PREFIX}REGEX}" "\\6" ${GD_PREFIX}MINUTE "${${GD_PREFIX}OV}")
- string(REGEX REPLACE "${${GD_PREFIX}REGEX}" "\\7" ${GD_PREFIX}SECOND "${${GD_PREFIX}OV}")
- string(REGEX REPLACE "${${GD_PREFIX}REGEX}" "\\8" ${GD_PREFIX}FRACTIONAL_SECOND "${${GD_PREFIX}OV}")
-
- #
- # Verify that extracted components don't have anything obviously
- # wrong with them... Emit warnings if something looks suspicious...
- #
-
- # Expecting a four digit year:
- #
- if(NOT "${${GD_PREFIX}YEAR}" MATCHES "^[0-9][0-9][0-9][0-9]$")
- message(STATUS "WARNING: Extracted ${GD_PREFIX}YEAR='${${GD_PREFIX}YEAR}' is not a four digit number...")
- endif()
-
- # Expecting month to be <= 12:
- #
- if(${${GD_PREFIX}MONTH} GREATER 12)
- message(STATUS "WARNING: Extracted ${GD_PREFIX}MONTH='${${GD_PREFIX}MONTH}' is greater than 12!")
- endif()
-
- # Expecting day to be <= 31:
- #
- if(${${GD_PREFIX}DAY} GREATER 31)
- message(STATUS "WARNING: Extracted ${GD_PREFIX}DAY='${${GD_PREFIX}DAY}' is greater than 31!")
- endif()
-
- # Expecting hour to be <= 23:
- #
- if(${${GD_PREFIX}HOUR} GREATER 23)
- message(STATUS "WARNING: Extracted ${GD_PREFIX}HOUR='${${GD_PREFIX}HOUR}' is greater than 23!")
- endif()
-
- # Expecting minute to be <= 59:
- #
- if(${${GD_PREFIX}MINUTE} GREATER 59)
- message(STATUS "WARNING: Extracted ${GD_PREFIX}MINUTE='${${GD_PREFIX}MINUTE}' is greater than 59!")
- endif()
-
- # Expecting second to be <= 59:
- #
- if(${${GD_PREFIX}SECOND} GREATER 59)
- message(STATUS "WARNING: Extracted ${GD_PREFIX}SECOND='${${GD_PREFIX}SECOND}' is greater than 59!")
- endif()
+ #
+ # Extract six individual components by matching a regex with paren groupings.
+ # Use the replace functionality and \\1 thru \\6 to extract components.
+ #
+ set(${GD_PREFIX}REGEX "([^/]+)/([^/]+)/([^ ]+) +([^:]+):([^:]+):([^\\.]+)")
- # If individual components are single digit,
- # prepend a leading zero:
- #
- if("${${GD_PREFIX}YEAR}" MATCHES "^[0-9]$")
- set(${GD_PREFIX}YEAR "0${${GD_PREFIX}YEAR}")
- endif()
- if("${${GD_PREFIX}MONTH}" MATCHES "^[0-9]$")
- set(${GD_PREFIX}MONTH "0${${GD_PREFIX}MONTH}")
- endif()
- if("${${GD_PREFIX}DAY}" MATCHES "^[0-9]$")
- set(${GD_PREFIX}DAY "0${${GD_PREFIX}DAY}")
- endif()
- if("${${GD_PREFIX}HOUR}" MATCHES "^[0-9]$")
- set(${GD_PREFIX}HOUR "0${${GD_PREFIX}HOUR}")
- endif()
- if("${${GD_PREFIX}MINUTE}" MATCHES "^[0-9]$")
- set(${GD_PREFIX}MINUTE "0${${GD_PREFIX}MINUTE}")
- endif()
- if("${${GD_PREFIX}SECOND}" MATCHES "^[0-9]$")
- set(${GD_PREFIX}SECOND "0${${GD_PREFIX}SECOND}")
- endif()
+ string(REGEX REPLACE "${${GD_PREFIX}REGEX}" "\\1" ${GD_PREFIX}MONTH "${${GD_PREFIX}OV}")
+ string(REGEX REPLACE "${${GD_PREFIX}REGEX}" "\\2" ${GD_PREFIX}DAY "${${GD_PREFIX}OV}")
+ string(REGEX REPLACE "${${GD_PREFIX}REGEX}" "\\3" ${GD_PREFIX}YEAR "${${GD_PREFIX}OV}")
+ string(REGEX REPLACE "${${GD_PREFIX}REGEX}" "\\4" ${GD_PREFIX}HOUR "${${GD_PREFIX}OV}")
+ string(REGEX REPLACE "${${GD_PREFIX}REGEX}" "\\5" ${GD_PREFIX}MINUTE "${${GD_PREFIX}OV}")
+ string(REGEX REPLACE "${${GD_PREFIX}REGEX}" "\\6" ${GD_PREFIX}SECOND "${${GD_PREFIX}OV}")
- if(${GD_PREFIX}VERBOSE)
- message(STATUS "${GD_PREFIX}REGEX='${${GD_PREFIX}REGEX}'")
- message(STATUS "${GD_PREFIX}YEAR='${${GD_PREFIX}YEAR}'")
- message(STATUS "${GD_PREFIX}MONTH='${${GD_PREFIX}MONTH}'")
- message(STATUS "${GD_PREFIX}DAY='${${GD_PREFIX}DAY}'")
- message(STATUS "${GD_PREFIX}HOUR='${${GD_PREFIX}HOUR}'")
- message(STATUS "${GD_PREFIX}MINUTE='${${GD_PREFIX}MINUTE}'")
- message(STATUS "${GD_PREFIX}SECOND='${${GD_PREFIX}SECOND}'")
- message(STATUS "${GD_PREFIX}FRACTIONAL_SECOND='${${GD_PREFIX}FRACTIONAL_SECOND}'")
- message(STATUS "${GD_PREFIX}DAY_OF_WEEK='${${GD_PREFIX}DAY_OF_WEEK}'")
- message(STATUS "")
- message(STATUS "Counters that change...")
- message(STATUS "")
- message(STATUS "...very very quickly : ${${GD_PREFIX}YEAR}${${GD_PREFIX}MONTH}${${GD_PREFIX}DAY}${${GD_PREFIX}HOUR}${${GD_PREFIX}MINUTE}${${GD_PREFIX}SECOND}${${GD_PREFIX}FRACTIONAL_SECOND}")
- message(STATUS " every second : ${${GD_PREFIX}YEAR}${${GD_PREFIX}MONTH}${${GD_PREFIX}DAY}${${GD_PREFIX}HOUR}${${GD_PREFIX}MINUTE}${${GD_PREFIX}SECOND}")
- message(STATUS " daily : ${${GD_PREFIX}YEAR}${${GD_PREFIX}MONTH}${${GD_PREFIX}DAY}")
- message(STATUS " monthly : ${${GD_PREFIX}YEAR}${${GD_PREFIX}MONTH}")
- message(STATUS " annually : ${${GD_PREFIX}YEAR}")
- message(STATUS "")
- endif()
- else()
- message(SEND_ERROR "ERROR: macro(GET_DATE) failed. ${GD_PREFIX}CMD='${${GD_PREFIX}CMD}' ${GD_PREFIX}ARGS='${${GD_PREFIX}ARGS}' ${GD_PREFIX}OV='${${GD_PREFIX}OV}' ${GD_PREFIX}RV='${${GD_PREFIX}RV}'")
+ if(${GD_PREFIX}VERBOSE)
+ message(STATUS "${GD_PREFIX}REGEX='${${GD_PREFIX}REGEX}'")
+ message(STATUS "${GD_PREFIX}YEAR='${${GD_PREFIX}YEAR}'")
+ message(STATUS "${GD_PREFIX}MONTH='${${GD_PREFIX}MONTH}'")
+ message(STATUS "${GD_PREFIX}DAY='${${GD_PREFIX}DAY}'")
+ message(STATUS "${GD_PREFIX}HOUR='${${GD_PREFIX}HOUR}'")
+ message(STATUS "${GD_PREFIX}MINUTE='${${GD_PREFIX}MINUTE}'")
+ message(STATUS "${GD_PREFIX}SECOND='${${GD_PREFIX}SECOND}'")
+ message(STATUS "")
+ message(STATUS "Counters that change...")
+ message(STATUS "")
+ message(STATUS " every second : ${${GD_PREFIX}YEAR}${${GD_PREFIX}MONTH}${${GD_PREFIX}DAY}${${GD_PREFIX}HOUR}${${GD_PREFIX}MINUTE}${${GD_PREFIX}SECOND}")
+ message(STATUS " daily : ${${GD_PREFIX}YEAR}${${GD_PREFIX}MONTH}${${GD_PREFIX}DAY}")
+ message(STATUS " monthly : ${${GD_PREFIX}YEAR}${${GD_PREFIX}MONTH}")
+ message(STATUS " annually : ${${GD_PREFIX}YEAR}")
+ message(STATUS "")
endif()
if(${GD_PREFIX}VERBOSE)
diff --git a/Tests/CTestTestStopTime/test.cmake.in b/Tests/CTestTestStopTime/test.cmake.in
index 6804789..d4e5a25 100644
--- a/Tests/CTestTestStopTime/test.cmake.in
+++ b/Tests/CTestTestStopTime/test.cmake.in
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.1)
+cmake_minimum_required(VERSION 2.4)
# Settings:
set(CTEST_DASHBOARD_ROOT "@CMake_BINARY_DIR@/Tests/CTestTest")
diff --git a/Tests/CTestTestSubdir/test.cmake.in b/Tests/CTestTestSubdir/test.cmake.in
index 526d453..2b4ef4f 100644
--- a/Tests/CTestTestSubdir/test.cmake.in
+++ b/Tests/CTestTestSubdir/test.cmake.in
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.1)
+cmake_minimum_required(VERSION 2.4)
# Settings:
set(CTEST_DASHBOARD_ROOT "@CMake_BINARY_DIR@/Tests/CTestTest")
diff --git a/Tests/CTestTestTimeout/test.cmake.in b/Tests/CTestTestTimeout/test.cmake.in
index 40241ff..d3d0888 100644
--- a/Tests/CTestTestTimeout/test.cmake.in
+++ b/Tests/CTestTestTimeout/test.cmake.in
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.1)
+cmake_minimum_required(VERSION 2.4)
# Settings:
set(CTEST_DASHBOARD_ROOT "@CMake_BINARY_DIR@/Tests/CTestTest")
diff --git a/Tests/CTestTestUpload/test.cmake.in b/Tests/CTestTestUpload/test.cmake.in
index 19abc89..340877f 100644
--- a/Tests/CTestTestUpload/test.cmake.in
+++ b/Tests/CTestTestUpload/test.cmake.in
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.1)
+cmake_minimum_required(VERSION 2.4)
# Settings:
set(CTEST_DASHBOARD_ROOT "@CMake_BINARY_DIR@/Tests/CTestTest")
diff --git a/Tests/CTestTestZeroTimeout/test.cmake.in b/Tests/CTestTestZeroTimeout/test.cmake.in
index 745e5bc..3252754 100644
--- a/Tests/CTestTestZeroTimeout/test.cmake.in
+++ b/Tests/CTestTestZeroTimeout/test.cmake.in
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.1)
+cmake_minimum_required(VERSION 2.4)
# Settings:
set(CTEST_DASHBOARD_ROOT "@CMake_BINARY_DIR@/Tests/CTestTest")
diff --git a/Tests/CTestUpdateCommon.cmake b/Tests/CTestUpdateCommon.cmake
index aaf88a8..642a618 100644
--- a/Tests/CTestUpdateCommon.cmake
+++ b/Tests/CTestUpdateCommon.cmake
@@ -37,15 +37,26 @@ function(check_updates build)
REGEX "<(${types}|FullName)>"
LIMIT_INPUT ${max_update_xml_size}
)
+
string(REGEX REPLACE
"[ \t]*<(${types})>[ \t]*;[ \t]*<FullName>([^<]*)</FullName>"
"\\1{\\2}" UPDATE_XML_ENTRIES "${UPDATE_XML_ENTRIES}")
+ # If specified, remove the given prefix from the files in Update.xml.
+ # Some VCS systems, like Perforce, return absolute locations
+ if(DEFINED REPOSITORY_FILE_PREFIX)
+ string(REPLACE
+ "${REPOSITORY_FILE_PREFIX}" ""
+ UPDATE_XML_ENTRIES "${UPDATE_XML_ENTRIES}")
+ endif()
+
# Compare expected and actual entries
set(EXTRA "${UPDATE_XML_ENTRIES}")
list(REMOVE_ITEM EXTRA ${ARGN} ${UPDATE_EXTRA} ${UPDATE_MAYBE})
set(MISSING "${ARGN}" ${UPDATE_EXTRA})
- list(REMOVE_ITEM MISSING ${UPDATE_XML_ENTRIES})
+ if(NOT "" STREQUAL "${UPDATE_XML_ENTRIES}")
+ list(REMOVE_ITEM MISSING ${UPDATE_XML_ENTRIES})
+ endif()
if(NOT UPDATE_NOT_GLOBAL)
set(rev_elements Revision PriorRevision ${UPDATE_GLOBAL_ELEMENTS})
@@ -216,7 +227,7 @@ function(run_dashboard_script bin_dir)
)
# Verify the updates reported by CTest.
- list(APPEND UPDATE_MAYBE Updated{subdir})
+ list(APPEND UPDATE_MAYBE Updated{subdir} Updated{CTestConfig.cmake})
check_updates(${bin_dir}
Updated{foo.txt}
Updated{bar.txt}
diff --git a/Tests/CTestUpdateP4.cmake.in b/Tests/CTestUpdateP4.cmake.in
new file mode 100644
index 0000000..f0420c4
--- /dev/null
+++ b/Tests/CTestUpdateP4.cmake.in
@@ -0,0 +1,261 @@
+# This script drives creation of a perforce repository and checks
+# that CTest can update from it.
+
+#-----------------------------------------------------------------------------
+# Test in a directory next to this script.
+get_filename_component(TOP "${CMAKE_CURRENT_LIST_FILE}" PATH)
+set(P4_TOP "${TOP}")
+set(TOP "${TOP}/@CTestUpdateP4_DIR@")
+
+# Include code common to all update tests.
+set(REPOSITORY_FILE_PREFIX "//ctest/")
+include("@CMAKE_CURRENT_SOURCE_DIR@/CTestUpdateCommon.cmake")
+
+#-----------------------------------------------------------------------------
+# Perforce server options
+set(P4_HOST localhost)
+set(P4_PORT 1888)
+
+#-----------------------------------------------------------------------------
+# Report p4 tools in use and set its defaults
+message("Using P4 tools:")
+set(P4 "@P4_EXECUTABLE@")
+set(P4D "@P4D_EXECUTABLE@")
+message(" p4 = ${P4}")
+message(" p4d = ${P4D}")
+
+set(P4_CLIENT -c ctest_p4)
+set(P4_OPTIONS -H ${P4_HOST} -p ${P4_PORT})
+set(P4CMD ${P4} ${P4_OPTIONS})
+
+#-----------------------------------------------------------------------------
+# Start the Perforce server
+if(UNIX)
+ set(P4_ROOT ${P4_TOP}/perforce)
+
+ message("Starting p4d on '${P4_ROOT}' listening on port ${P4_PORT}...")
+
+ # Stop a previous instance of Perforce running
+ execute_process(
+ WORKING_DIRECTORY ${TOP}
+ COMMAND ${P4CMD} admin stop
+ OUTPUT_QUIET
+ ERROR_QUIET
+ )
+
+ # Make sure we don't have a perforce directory from a previous run
+ file(REMOVE_RECURSE ${P4_ROOT})
+ file(MAKE_DIRECTORY ${P4_ROOT})
+
+ set(P4_SERVER "nohup '${P4D}' -d -r '${P4_ROOT}'")
+ set(P4_SERVER "${P4_SERVER} -L '${P4_ROOT}/p4.log'")
+ set(P4_SERVER "${P4_SERVER} -J '${P4_ROOT}/journal'")
+ set(P4_SERVER "${P4_SERVER} -p ${P4_PORT} >/dev/null 2>&1 &")
+
+ message("Server command line: ${P4_SERVER}")
+
+ execute_process(
+ COMMAND sh -c "
+${P4_SERVER}
+for i in 1 2 3 4 5 6 7 8 9 10; do
+ echo 'Waiting for server to start...'
+ sleep 1
+ if '${P4}' -H ${P4_HOST} -p ${P4_PORT} help >/dev/null 2>&1; then
+ echo 'Server started.'
+ exit
+ fi
+done
+echo 'Gave up waiting for server to start.'
+"
+ )
+endif()
+
+#-----------------------------------------------------------------------------
+# Initialize the testing directory.
+message("Creating test directory...")
+init_testing()
+
+#-----------------------------------------------------------------------------
+# Create the repository.
+message("Creating depot...")
+file(WRITE ${TOP}/depot.spec "Depot: ctest\n")
+file(APPEND ${TOP}/depot.spec "Type: local\n")
+file(APPEND ${TOP}/depot.spec "Map: ctest/...\n")
+run_child(
+ WORKING_DIRECTORY ${TOP}
+ COMMAND ${P4CMD} depot -i
+ INPUT_FILE ${TOP}/depot.spec
+)
+
+#-----------------------------------------------------------------------------
+# Import initial content into the repository.
+message("Importing content...")
+create_content(user-source)
+
+message("Creating client spec...")
+file(WRITE ${TOP}/client.spec "Client: ctest_p4\n")
+file(APPEND ${TOP}/client.spec "Root: ${TOP}/user-source\n")
+file(APPEND ${TOP}/client.spec "View: //ctest/... //ctest_p4/...\n")
+run_child(
+ WORKING_DIRECTORY ${TOP}/user-source
+ COMMAND ${P4CMD} client -i
+ INPUT_FILE ${TOP}/client.spec
+)
+
+# After creating the depot and the client view, all P4 commands need to
+# have the client spec passed to them
+list(APPEND P4CMD ${P4_CLIENT})
+
+message("Adding files to repository")
+file(GLOB_RECURSE files ${TOP}/user-source/*)
+foreach(filename ${files})
+ run_child(
+ WORKING_DIRECTORY ${TOP}/user-source
+ COMMAND ${P4CMD} add ${filename}
+ )
+endforeach()
+
+message("Submitting changes to repository")
+run_child(
+ WORKING_DIRECTORY ${TOP}/user-source
+ COMMAND ${P4CMD} submit -d "CTEST: Initial content"
+)
+message("Tagging the repository")
+file(WRITE ${TOP}/label.spec "Label: r1\n")
+file(APPEND ${TOP}/label.spec "View: //ctest/...\n")
+
+run_child(
+ WORKING_DIRECTORY ${TOP}/user-source
+ COMMAND ${P4CMD} label -i
+ INPUT_FILE ${TOP}/label.spec
+)
+
+run_child(
+ WORKING_DIRECTORY ${TOP}/user-source
+ COMMAND ${P4CMD} labelsync -l r1
+)
+
+#-----------------------------------------------------------------------------
+# Make changes in the working tree.
+message("Changing content...")
+update_content(user-source files_added files_removed dirs_added)
+foreach(filename ${files_added})
+ message("add: ${filename}")
+ run_child(
+ WORKING_DIRECTORY ${TOP}/user-source
+ COMMAND ${P4CMD} add ${TOP}/user-source/${filename}
+ )
+endforeach()
+foreach(filename ${files_removed})
+ run_child(
+ WORKING_DIRECTORY ${TOP}/user-source
+ COMMAND ${P4CMD} delete ${TOP}/user-source/${filename}
+ )
+endforeach()
+
+#-----------------------------------------------------------------------------
+# Commit the changes to the repository.
+message("Committing revision 2...")
+run_child(
+ WORKING_DIRECTORY ${TOP}/user-source
+ COMMAND ${P4CMD} submit -d "CTEST: Changed content"
+)
+
+#-----------------------------------------------------------------------------
+# Make changes in the working tree.
+message("Changing content again...")
+run_child(
+ WORKING_DIRECTORY ${TOP}/user-source
+ COMMAND ${P4CMD} edit //ctest/...
+)
+
+change_content(user-source)
+run_child(
+ WORKING_DIRECTORY ${TOP}/user-source
+ COMMAND ${P4CMD} revert -a //ctest/...
+)
+
+#-----------------------------------------------------------------------------
+# Commit the changes to the repository.
+message("Committing revision 3...")
+run_child(
+ WORKING_DIRECTORY ${TOP}/user-source
+ COMMAND ${P4CMD} submit -d "CTEST: Changed content again"
+)
+
+#-----------------------------------------------------------------------------
+# Go back to before the changes so we can test updating.
+message("Backing up to revision 1...")
+run_child(
+ WORKING_DIRECTORY ${TOP}/user-source
+ COMMAND ${P4CMD} sync @r1
+ )
+
+# Create a modified file.
+run_child(
+ WORKING_DIRECTORY ${TOP}/user-source
+ COMMAND ${P4CMD} sync @r1
+ )
+
+# We should p4 open any files that modify_content creates
+run_child(
+ WORKING_DIRECTORY ${TOP}/user-source
+ COMMAND ${P4CMD} open ${TOP}/user-source/CTestConfig.cmake
+)
+modify_content(user-source)
+
+#-----------------------------------------------------------------------------
+# Test updating the user work directory with the command-line interface.
+message("Running CTest Dashboard Command Line...")
+
+# Create the user build tree.
+create_build_tree(user-source user-binary)
+file(APPEND ${TOP}/user-binary/CTestConfiguration.ini
+ "# P4 command configuration
+UpdateCommand: ${P4}
+P4Client: ctest_p4
+P4Options: -H ${P4_HOST} -p ${P4_PORT}
+")
+
+# Run the dashboard command line interface.
+run_dashboard_command_line(user-binary)
+
+# Revert the modified files
+run_child(
+ WORKING_DIRECTORY ${TOP}/user-source
+ COMMAND ${P4CMD} revert ${TOP}/user-source/CTestConfig.cmake
+)
+
+#-----------------------------------------------------------------------------
+# Test initial checkout and update with a dashboard script.
+# Create a new client so we can check out files on a different directory
+message("Running CTest Dashboard Script...")
+
+message("Creating client spec...")
+file(WRITE ${TOP}/client2.spec "Client: ctest2_p4\n")
+file(APPEND ${TOP}/client2.spec "Root: ${TOP}/dash-source\n")
+file(APPEND ${TOP}/client2.spec "View: //ctest/... //ctest2_p4/...\n")
+run_child(
+ COMMAND ${P4CMD} client -i
+ INPUT_FILE ${TOP}/client2.spec
+)
+
+file(MAKE_DIRECTORY ${TOP}/dash-source)
+
+create_dashboard_script(dash-binary
+ "# P4 command configuration
+set(CTEST_P4_CLIENT \"ctest2_p4\")
+set(CTEST_P4_OPTIONS \"-H ${P4_HOST} -p ${P4_PORT}\")
+set(CTEST_UPDATE_COMMAND \"${P4}\")
+")
+
+# Run the dashboard script with CTest.
+run_dashboard_script(dash-binary)
+
+#-----------------------------------------------------------------------------
+# Clean up
+message("Shutting down p4d")
+run_child(
+ WORKING_DIRECTORY ${TOP}
+ COMMAND ${P4CMD} admin stop
+) \ No newline at end of file
diff --git a/Tests/CompatibleInterface/CMakeLists.txt b/Tests/CompatibleInterface/CMakeLists.txt
index ae1d2fa..350b518 100644
--- a/Tests/CompatibleInterface/CMakeLists.txt
+++ b/Tests/CompatibleInterface/CMakeLists.txt
@@ -6,7 +6,7 @@ project(CompatibleInterface)
include(GenerateExportHeader)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
-add_library(iface1 empty.cpp)
+add_library(iface1 INTERFACE)
set_property(TARGET iface1 APPEND PROPERTY
COMPATIBLE_INTERFACE_BOOL
BOOL_PROP1
@@ -20,11 +20,36 @@ set_property(TARGET iface1 APPEND PROPERTY
STRING_PROP2
STRING_PROP3
)
+set_property(TARGET iface1 APPEND PROPERTY
+ COMPATIBLE_INTERFACE_NUMBER_MIN
+ NUMBER_MIN_PROP1
+ NUMBER_MIN_PROP2
+ NUMBER_MIN_PROP3
+ NUMBER_MIN_PROP4
+)
+set_property(TARGET iface1 APPEND PROPERTY
+ COMPATIBLE_INTERFACE_NUMBER_MAX
+ NUMBER_MAX_PROP1
+ NUMBER_MAX_PROP2
+)
+
+set(CMAKE_DEBUG_TARGET_PROPERTIES
+ BOOL_PROP1 BOOL_PROP2 BOOL_PROP3 BOOL_PROP4
+ STRING_PROP1 STRING_PROP2 STRING_PROP3
+ NUMBER_MIN_PROP1 NUMBER_MIN_PROP2 NUMBER_MIN_PROP3 NUMBER_MIN_PROP4
+ NUMBER_MAX_PROP1 NUMBER_MAX_PROP2
+)
set_property(TARGET iface1 PROPERTY INTERFACE_BOOL_PROP1 ON)
set_property(TARGET iface1 PROPERTY INTERFACE_BOOL_PROP2 ON)
set_property(TARGET iface1 PROPERTY INTERFACE_STRING_PROP1 prop1)
set_property(TARGET iface1 PROPERTY INTERFACE_STRING_PROP2 prop2)
+set_property(TARGET iface1 PROPERTY INTERFACE_NUMBER_MIN_PROP1 100)
+set_property(TARGET iface1 PROPERTY INTERFACE_NUMBER_MIN_PROP2 200)
+set_property(TARGET iface1 PROPERTY INTERFACE_NUMBER_MIN_PROP3 0x10)
+set_property(TARGET iface1 PROPERTY INTERFACE_NUMBER_MIN_PROP4 0x10)
+set_property(TARGET iface1 PROPERTY INTERFACE_NUMBER_MAX_PROP1 100)
+set_property(TARGET iface1 PROPERTY INTERFACE_NUMBER_MAX_PROP2 200)
add_executable(CompatibleInterface main.cpp)
target_link_libraries(CompatibleInterface iface1)
@@ -33,6 +58,12 @@ set_property(TARGET CompatibleInterface PROPERTY BOOL_PROP2 ON)
set_property(TARGET CompatibleInterface PROPERTY BOOL_PROP3 ON)
set_property(TARGET CompatibleInterface PROPERTY STRING_PROP2 prop2)
set_property(TARGET CompatibleInterface PROPERTY STRING_PROP3 prop3)
+set_property(TARGET CompatibleInterface PROPERTY NUMBER_MIN_PROP1 50)
+set_property(TARGET CompatibleInterface PROPERTY NUMBER_MIN_PROP2 250)
+set_property(TARGET CompatibleInterface PROPERTY NUMBER_MIN_PROP3 0xa)
+set_property(TARGET CompatibleInterface PROPERTY NUMBER_MIN_PROP4 0x1A)
+set_property(TARGET CompatibleInterface PROPERTY NUMBER_MAX_PROP1 50)
+set_property(TARGET CompatibleInterface PROPERTY NUMBER_MAX_PROP2 250)
target_compile_definitions(CompatibleInterface
PRIVATE
@@ -42,6 +73,12 @@ target_compile_definitions(CompatibleInterface
$<$<STREQUAL:$<TARGET_PROPERTY:STRING_PROP1>,prop1>:STRING_PROP1>
$<$<STREQUAL:$<TARGET_PROPERTY:STRING_PROP2>,prop2>:STRING_PROP2>
$<$<STREQUAL:$<TARGET_PROPERTY:STRING_PROP3>,prop3>:STRING_PROP3>
+ $<$<STREQUAL:$<TARGET_PROPERTY:NUMBER_MIN_PROP1>,50>:NUMBER_MIN_PROP1=50>
+ $<$<STREQUAL:$<TARGET_PROPERTY:NUMBER_MIN_PROP2>,200>:NUMBER_MIN_PROP2=200>
+ $<$<EQUAL:$<TARGET_PROPERTY:NUMBER_MIN_PROP3>,0xA>:NUMBER_MIN_PROP3=0xA>
+ $<$<STREQUAL:$<TARGET_PROPERTY:NUMBER_MIN_PROP4>,0x10>:NUMBER_MIN_PROP4=0x10>
+ $<$<STREQUAL:$<TARGET_PROPERTY:NUMBER_MAX_PROP1>,100>:NUMBER_MAX_PROP1=100>
+ $<$<STREQUAL:$<TARGET_PROPERTY:NUMBER_MAX_PROP2>,250>:NUMBER_MAX_PROP2=250>
)
diff --git a/Tests/CompatibleInterface/main.cpp b/Tests/CompatibleInterface/main.cpp
index f5e6e38..e23625a 100644
--- a/Tests/CompatibleInterface/main.cpp
+++ b/Tests/CompatibleInterface/main.cpp
@@ -23,6 +23,21 @@
#error Expected STRING_PROP3
#endif
+template<bool test>
+struct CMakeStaticAssert;
+
+template<>
+struct CMakeStaticAssert<true> {};
+
+enum {
+ NumericMaxTest1 = sizeof(CMakeStaticAssert<NUMBER_MAX_PROP1 == 100>),
+ NumericMaxTest2 = sizeof(CMakeStaticAssert<NUMBER_MAX_PROP2 == 250>),
+ NumericMinTest1 = sizeof(CMakeStaticAssert<NUMBER_MIN_PROP1 == 50>),
+ NumericMinTest2 = sizeof(CMakeStaticAssert<NUMBER_MIN_PROP2 == 200>),
+ NumericMinTest3 = sizeof(CMakeStaticAssert<NUMBER_MIN_PROP3 == 0xA>),
+ NumericMinTest4 = sizeof(CMakeStaticAssert<NUMBER_MIN_PROP4 == 0x10>)
+};
+
#include "iface2.h"
int main(int argc, char **argv)
diff --git a/Tests/CompileDefinitions/compiletest.c b/Tests/CompileDefinitions/compiletest.c
index d7883af..8871750 100644
--- a/Tests/CompileDefinitions/compiletest.c
+++ b/Tests/CompileDefinitions/compiletest.c
@@ -13,6 +13,10 @@
#error Unexpected LINK_LANGUAGE_IS_CXX
#endif
+#ifdef DEBUG_MODE
+#error Unexpected DEBUG_MODE
+#endif
+
int main(void)
{
return 0;
diff --git a/Tests/CompileDefinitions/target_prop/CMakeLists.txt b/Tests/CompileDefinitions/target_prop/CMakeLists.txt
index a0d3f4e..2ca2869 100644
--- a/Tests/CompileDefinitions/target_prop/CMakeLists.txt
+++ b/Tests/CompileDefinitions/target_prop/CMakeLists.txt
@@ -35,6 +35,9 @@ set_property(TARGET target_prop_executable APPEND PROPERTY COMPILE_DEFINITIONS
add_executable(target_prop_c_executable ../compiletest.c)
+cmake_policy(SET CMP0043 NEW)
+set_property(TARGET target_prop_c_executable APPEND PROPERTY COMPILE_DEFINITIONS_DEBUG DEBUG_MODE)
+
set_property(TARGET target_prop_c_executable APPEND PROPERTY COMPILE_DEFINITIONS
"$<$<STREQUAL:$<TARGET_PROPERTY:LINKER_LANGUAGE>,CXX>:LINK_CXX_DEFINE>"
"$<$<STREQUAL:$<TARGET_PROPERTY:LINKER_LANGUAGE>,C>:LINK_C_DEFINE>"
diff --git a/Tests/Complex/CMakeLists.txt b/Tests/Complex/CMakeLists.txt
index 50dccbe..fcde44d 100644
--- a/Tests/Complex/CMakeLists.txt
+++ b/Tests/Complex/CMakeLists.txt
@@ -1,7 +1,7 @@
#
# A more complex test case
#
-set(CMAKE_BACKWARDS_COMPATIBILITY 1.4)
+cmake_minimum_required(VERSION 2.4)
project (Complex)
# Try setting a new policy. The IF test is for coverage.
@@ -198,14 +198,14 @@ make_directory("${Complex_BINARY_DIR}/make_dir")
configure_file(
${Complex_SOURCE_DIR}/Library/dummy
${Complex_BINARY_DIR}/Library/dummylib.lib
- COPYONLY IMMEDIATE)
+ COPYONLY)
foreach (ext ${CMAKE_SHLIB_SUFFIX};.so;.a;.sl
${CMAKE_SHARED_LIBRARY_SUFFIX}.2
${CMAKE_STATIC_LIBRARY_SUFFIX}.2)
configure_file(
${Complex_SOURCE_DIR}/Library/dummy
${Complex_BINARY_DIR}/Library/libdummylib${ext}
- COPYONLY IMMEDIATE)
+ COPYONLY)
endforeach ()
find_library(FIND_DUMMY_LIB
@@ -281,7 +281,7 @@ if (WIN32)
configure_file(
${Complex_SOURCE_DIR}/Library/dummy
"${dir}/${file}"
- COPYONLY IMMEDIATE)
+ COPYONLY)
exec_program(${CMAKE_COMMAND} ARGS "-E write_regv \"${hkey}\" \"${dir}\"")
find_path(REGISTRY_TEST_PATH
${file}
diff --git a/Tests/Complex/Executable/CMakeLists.txt b/Tests/Complex/Executable/CMakeLists.txt
index 2613f27..bf23d4a 100644
--- a/Tests/Complex/Executable/CMakeLists.txt
+++ b/Tests/Complex/Executable/CMakeLists.txt
@@ -1,4 +1,3 @@
-cmake_minimum_required(VERSION 1.3)
#
# Create exe.
#
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx
index e904f28..31442ba 100644
--- a/Tests/Complex/Executable/complex.cxx
+++ b/Tests/Complex/Executable/complex.cxx
@@ -838,13 +838,13 @@ int main()
#endif
#endif // defined(_WIN32) && !defined(__CYGWIN__)
- if(strcmp(CMAKE_MINIMUM_REQUIRED_VERSION, "1.3") == 0)
+ if(strcmp(CMAKE_MINIMUM_REQUIRED_VERSION, "2.4") == 0)
{
- cmPassed("CMAKE_MINIMUM_REQUIRED_VERSION is set to 1.3");
+ cmPassed("CMAKE_MINIMUM_REQUIRED_VERSION is set to 2.4");
}
else
{
- cmFailed("CMAKE_MINIMUM_REQUIRED_VERSION is not set to the expected 1.3");
+ cmFailed("CMAKE_MINIMUM_REQUIRED_VERSION is not set to the expected 2.4");
}
// ----------------------------------------------------------------------
diff --git a/Tests/Complex/Library/CMakeLists.txt b/Tests/Complex/Library/CMakeLists.txt
index 5c43052..f00cbd6 100644
--- a/Tests/Complex/Library/CMakeLists.txt
+++ b/Tests/Complex/Library/CMakeLists.txt
@@ -51,7 +51,7 @@ define_property(
FULL_DOCS "A simple etst proerty that means nothign and is used for nothing"
)
set_target_properties(CMakeTestCLibraryShared PROPERTIES FOO BAR)
-if(NOT BEOS AND NOT WIN32) # No libm on BeOS.
+if(NOT BEOS AND NOT WIN32 AND NOT HAIKU) # No libm on BeOS.
set_target_properties(CMakeTestCLibraryShared PROPERTIES LINK_FLAGS "-lm")
endif()
get_target_property(FOO_BAR_VAR CMakeTestCLibraryShared FOO)
diff --git a/Tests/ComplexOneConfig/CMakeLists.txt b/Tests/ComplexOneConfig/CMakeLists.txt
index cbb4286..a4a0e0e 100644
--- a/Tests/ComplexOneConfig/CMakeLists.txt
+++ b/Tests/ComplexOneConfig/CMakeLists.txt
@@ -1,7 +1,7 @@
#
# A more complex test case
#
-set(CMAKE_BACKWARDS_COMPATIBILITY 1.4)
+cmake_minimum_required(VERSION 2.4)
project (Complex)
# Try setting a new policy. The IF test is for coverage.
@@ -198,12 +198,12 @@ make_directory("${Complex_BINARY_DIR}/make_dir")
configure_file(
${Complex_SOURCE_DIR}/Library/dummy
${Complex_BINARY_DIR}/Library/dummylib.lib
- COPYONLY IMMEDIATE)
+ COPYONLY)
foreach (ext ${CMAKE_SHLIB_SUFFIX};.so;.a;.sl)
configure_file(
${Complex_SOURCE_DIR}/Library/dummy
${Complex_BINARY_DIR}/Library/libdummylib${ext}
- COPYONLY IMMEDIATE)
+ COPYONLY)
endforeach ()
find_library(FIND_DUMMY_LIB
@@ -251,7 +251,7 @@ if (WIN32)
configure_file(
${Complex_SOURCE_DIR}/Library/dummy
"${dir}/${file}"
- COPYONLY IMMEDIATE)
+ COPYONLY)
exec_program(${CMAKE_COMMAND} ARGS "-E write_regv \"${hkey}\" \"${dir}\"")
find_path(REGISTRY_TEST_PATH
${file}
diff --git a/Tests/ComplexOneConfig/Executable/CMakeLists.txt b/Tests/ComplexOneConfig/Executable/CMakeLists.txt
index 432dbf8..01f1005 100644
--- a/Tests/ComplexOneConfig/Executable/CMakeLists.txt
+++ b/Tests/ComplexOneConfig/Executable/CMakeLists.txt
@@ -1,4 +1,3 @@
-cmake_minimum_required(VERSION 1.3)
#
# Create exe.
#
diff --git a/Tests/ComplexOneConfig/Executable/complex.cxx b/Tests/ComplexOneConfig/Executable/complex.cxx
index e904f28..31442ba 100644
--- a/Tests/ComplexOneConfig/Executable/complex.cxx
+++ b/Tests/ComplexOneConfig/Executable/complex.cxx
@@ -838,13 +838,13 @@ int main()
#endif
#endif // defined(_WIN32) && !defined(__CYGWIN__)
- if(strcmp(CMAKE_MINIMUM_REQUIRED_VERSION, "1.3") == 0)
+ if(strcmp(CMAKE_MINIMUM_REQUIRED_VERSION, "2.4") == 0)
{
- cmPassed("CMAKE_MINIMUM_REQUIRED_VERSION is set to 1.3");
+ cmPassed("CMAKE_MINIMUM_REQUIRED_VERSION is set to 2.4");
}
else
{
- cmFailed("CMAKE_MINIMUM_REQUIRED_VERSION is not set to the expected 1.3");
+ cmFailed("CMAKE_MINIMUM_REQUIRED_VERSION is not set to the expected 2.4");
}
// ----------------------------------------------------------------------
diff --git a/Tests/ComplexOneConfig/Library/CMakeLists.txt b/Tests/ComplexOneConfig/Library/CMakeLists.txt
index 5c43052..f00cbd6 100644
--- a/Tests/ComplexOneConfig/Library/CMakeLists.txt
+++ b/Tests/ComplexOneConfig/Library/CMakeLists.txt
@@ -51,7 +51,7 @@ define_property(
FULL_DOCS "A simple etst proerty that means nothign and is used for nothing"
)
set_target_properties(CMakeTestCLibraryShared PROPERTIES FOO BAR)
-if(NOT BEOS AND NOT WIN32) # No libm on BeOS.
+if(NOT BEOS AND NOT WIN32 AND NOT HAIKU) # No libm on BeOS.
set_target_properties(CMakeTestCLibraryShared PROPERTIES LINK_FLAGS "-lm")
endif()
get_target_property(FOO_BAR_VAR CMakeTestCLibraryShared FOO)
diff --git a/Tests/Contracts/Trilinos-10-6/CMakeLists.txt b/Tests/Contracts/Trilinos-10-6/CMakeLists.txt
deleted file mode 100644
index 79ed669..0000000
--- a/Tests/Contracts/Trilinos-10-6/CMakeLists.txt
+++ /dev/null
@@ -1,103 +0,0 @@
-cmake_minimum_required(VERSION 2.8)
-project(Trilinos-10-6)
-
-include(ExternalProject)
-
-include("${CMAKE_CURRENT_SOURCE_DIR}/LocalOverrides.cmake" OPTIONAL)
-include("${CMAKE_CURRENT_BINARY_DIR}/LocalOverrides.cmake" OPTIONAL)
-
-if(NOT DEFINED HOME)
- if(DEFINED ENV{CTEST_REAL_HOME})
- set(HOME "$ENV{CTEST_REAL_HOME}")
- else()
- set(HOME "$ENV{HOME}")
- endif()
-
- if(NOT HOME AND WIN32)
- # Try for USERPROFILE as HOME equivalent:
- string(REPLACE "\\" "/" HOME "$ENV{USERPROFILE}")
-
- # But just use root of SystemDrive if USERPROFILE contains any spaces:
- # (Default on XP and earlier...)
- if(HOME MATCHES " ")
- string(REPLACE "\\" "/" HOME "$ENV{SystemDrive}")
- endif()
- endif()
-endif()
-message(STATUS "HOME='${HOME}'")
-
-if(NOT DEFINED url)
- set(url "http://www.cmake.org/files/contracts/trilinos-10.6.1.tar.gz")
-endif()
-message(STATUS "url='${url}'")
-
-if(NOT DEFINED md5)
- set(md5 "690230465dd21a76e3c6636fd07bd2f0")
-endif()
-message(STATUS "md5='${md5}'")
-
-string(SUBSTRING "${md5}" 0 8 shorttag)
-set(shorttag "m${shorttag}")
-
-set(download_dir "${HOME}/.cmake/Downloads")
-
-set(base_dir "${HOME}/.cmake/Contracts/${PROJECT_NAME}/${shorttag}")
-set(binary_dir "${base_dir}/build")
-set(script_dir "${base_dir}")
-set(source_dir "${base_dir}/src")
-
-if(NOT DEFINED BUILDNAME)
- set(BUILDNAME "CMakeContract-${shorttag}")
-endif()
-message(STATUS "BUILDNAME='${BUILDNAME}'")
-
-if(NOT DEFINED SITE)
- site_name(SITE)
-endif()
-message(STATUS "SITE='${SITE}'")
-
-configure_file(
- "${CMAKE_CURRENT_SOURCE_DIR}/Dashboard.cmake.in"
- "${script_dir}/Dashboard.cmake"
- @ONLY)
-
-configure_file(
- "${CMAKE_CURRENT_SOURCE_DIR}/ValidateBuild.cmake.in"
- "${CMAKE_CURRENT_BINARY_DIR}/ValidateBuild.cmake"
- @ONLY)
-
-# Source dir for this project exists outside the CMake build tree because it
-# is absolutely huge. Source dir is therefore cached under a '.cmake/Contracts'
-# dir in your HOME directory. Downloads are cached under '.cmake/Downloads'
-#
-if(EXISTS "${source_dir}/cmake/ctest/TrilinosCTestDriverCore.cmake")
- # If it exists already, download is a complete no-op:
- ExternalProject_Add(download-${PROJECT_NAME}
- DOWNLOAD_COMMAND ""
- CONFIGURE_COMMAND ""
- BUILD_COMMAND ""
- INSTALL_COMMAND ""
- )
-else()
- # If it does not yet exist, download pulls the tarball from the web (or
- # no-ops if it already exists with the given md5 sum):
- #
- ExternalProject_Add(download-${PROJECT_NAME}
- DOWNLOAD_DIR "${download_dir}"
- URL "${url}"
- URL_MD5 "${md5}"
- SOURCE_DIR "${source_dir}"
- PATCH_COMMAND ${CMAKE_COMMAND} -Dsource_dir=${source_dir} -P "${CMAKE_CURRENT_SOURCE_DIR}/Patch.cmake"
- CONFIGURE_COMMAND ""
- BUILD_COMMAND ""
- INSTALL_COMMAND ""
- )
-endif()
-
-ExternalProject_Add(build-${PROJECT_NAME}
- DOWNLOAD_COMMAND ""
- CONFIGURE_COMMAND ""
- BUILD_COMMAND ${CMAKE_COMMAND} -P "${script_dir}/Dashboard.cmake"
- INSTALL_COMMAND ""
- DEPENDS download-${PROJECT_NAME}
- )
diff --git a/Tests/Contracts/Trilinos-10-6/Dashboard.cmake.in b/Tests/Contracts/Trilinos-10-6/Dashboard.cmake.in
deleted file mode 100644
index cc29502..0000000
--- a/Tests/Contracts/Trilinos-10-6/Dashboard.cmake.in
+++ /dev/null
@@ -1,63 +0,0 @@
-# This "cmake -P" script may be configured to drive a dashboard on any machine.
-#
-set(CTEST_BINARY_DIRECTORY "@binary_dir@")
-set(CTEST_BUILD_NAME "@BUILDNAME@")
-set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
-set(CTEST_SITE "@SITE@")
-set(CTEST_SOURCE_DIRECTORY "@source_dir@")
-
-# Set the environment:
-#
-set(ENV{CTEST_BUILD_NAME} "${CTEST_BUILD_NAME}")
-set(ENV{CTEST_CMAKE_GENERATOR} "${CTEST_CMAKE_GENERATOR}")
-set(ENV{CTEST_SITE} "${CTEST_SITE}")
-
-# Allow override of the environment on a per-client basis:
-#
-set(ENV_SCRIPT "$ENV{CMAKE_CONTRACT_Trilinos_10_6_ENV_SCRIPT}")
-if(ENV_SCRIPT AND EXISTS "${ENV_SCRIPT}")
- include("${ENV_SCRIPT}")
-endif()
-
-# Empty build dir to start with:
-#
-message("Cleaning binary dir '${CTEST_BINARY_DIRECTORY}'")
-file(REMOVE_RECURSE "${CTEST_BINARY_DIRECTORY}")
-
-# Generate 'do-configure' script:
-#
-file(WRITE "${CTEST_BINARY_DIRECTORY}/do-configure" "
-\"${CMAKE_COMMAND}\" -G \"${CTEST_CMAKE_GENERATOR}\" \"${CTEST_SOURCE_DIRECTORY}\"
-")
-
-# Make the 'do-configure' script executable and execute it:
-#
-if(WIN32)
- configure_file(
- "${CTEST_BINARY_DIRECTORY}/do-configure"
- "${CTEST_BINARY_DIRECTORY}/do-configure.cmd"
- COPYONLY)
- execute_process(COMMAND "${CTEST_BINARY_DIRECTORY}/do-configure.cmd"
- WORKING_DIRECTORY "${CTEST_BINARY_DIRECTORY}")
-else()
- execute_process(COMMAND chmod +x "${CTEST_BINARY_DIRECTORY}/do-configure")
- execute_process(COMMAND "${CTEST_BINARY_DIRECTORY}/do-configure"
- WORKING_DIRECTORY "${CTEST_BINARY_DIRECTORY}")
-endif()
-
-# Run an experimental Trilinos dashboard:
-#
-execute_process(COMMAND
- "${CMAKE_CTEST_COMMAND}"
- -S "${CTEST_SOURCE_DIRECTORY}/cmake/ctest/experimental_build_test.cmake"
- -VV
- WORKING_DIRECTORY "${CTEST_BINARY_DIRECTORY}"
- RESULT_VARIABLE rv
- )
-
-if(NOT "${rv}" STREQUAL "0")
- message("error(s) (or warnings or test failures) running Trilinos dashboard
-script experimental_build_test.cmake...
-ctest returned rv='${rv}'
-")
-endif()
diff --git a/Tests/Contracts/Trilinos-10-6/RunTest.cmake b/Tests/Contracts/Trilinos-10-6/RunTest.cmake
deleted file mode 100644
index 30124d8..0000000
--- a/Tests/Contracts/Trilinos-10-6/RunTest.cmake
+++ /dev/null
@@ -1,7 +0,0 @@
-# ValidateBuild.cmake is configured into this location when the test is built:
-set(dir "${CMAKE_CURRENT_BINARY_DIR}/Contracts/${project}")
-
-set(exe "${CMAKE_COMMAND}")
-set(args -P "${dir}/ValidateBuild.cmake")
-
-set(Trilinos-10-6_RUN_TEST ${exe} ${args})
diff --git a/Tests/Contracts/Trilinos-10-6/ValidateBuild.cmake.in b/Tests/Contracts/Trilinos-10-6/ValidateBuild.cmake.in
deleted file mode 100644
index 04bbf21..0000000
--- a/Tests/Contracts/Trilinos-10-6/ValidateBuild.cmake.in
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# This code validates that the Trilinos build was "successful enough" (since it
-# is difficult to detect this from the caller of the experimental_build_test
-# dashboard script...)
-#
-set(binary_dir "@binary_dir@")
-message("binary_dir='${binary_dir}'")
-
-
-# Count *.exe files:
-#
-file(GLOB_RECURSE exes "${binary_dir}/*.exe")
-message(STATUS "exes='${exes}'")
-list(LENGTH exes len)
-if(len LESS 47)
- message(FATAL_ERROR "len='${len}' is less than minimum expected='47' (count of executables)")
-endif()
-message(STATUS "Found len='${len}' *.exe files")
-
-
-# Try to find the Teuchos unit tests executable:
-#
-file(GLOB_RECURSE exe "${binary_dir}/Teuchos_UnitTest_UnitTests.exe")
-list(LENGTH exe len)
-if(NOT len EQUAL 1)
- message(FATAL_ERROR "len='${len}' is not the expected='1' (count of Teuchos_UnitTest_UnitTests.exe)")
-endif()
-message(STATUS "Found exe='${exe}'")
-
-
-# Try to run it:
-execute_process(COMMAND ${exe} RESULT_VARIABLE rv)
-if(NOT "${rv}" STREQUAL "0")
- message(FATAL_ERROR "rv='${rv}' is not the expected='0' (result of running Teuchos_UnitTest_UnitTests.exe)")
-endif()
-message(STATUS "Ran exe='${exe}' rv='${rv}'")
-
-
-message(STATUS "All Trilinos build validation tests pass.")
diff --git a/Tests/Contracts/Trilinos/CMakeLists.txt b/Tests/Contracts/Trilinos/CMakeLists.txt
new file mode 100644
index 0000000..f5757b5
--- /dev/null
+++ b/Tests/Contracts/Trilinos/CMakeLists.txt
@@ -0,0 +1,103 @@
+cmake_minimum_required(VERSION 2.8)
+project(Trilinos)
+
+include(ExternalProject)
+
+include("${CMAKE_CURRENT_SOURCE_DIR}/LocalOverrides.cmake" OPTIONAL)
+include("${CMAKE_CURRENT_BINARY_DIR}/LocalOverrides.cmake" OPTIONAL)
+
+if(NOT DEFINED HOME)
+ if(DEFINED ENV{CTEST_REAL_HOME})
+ set(HOME "$ENV{CTEST_REAL_HOME}")
+ else()
+ set(HOME "$ENV{HOME}")
+ endif()
+
+ if(NOT HOME AND WIN32)
+ # Try for USERPROFILE as HOME equivalent:
+ string(REPLACE "\\" "/" HOME "$ENV{USERPROFILE}")
+
+ # But just use root of SystemDrive if USERPROFILE contains any spaces:
+ # (Default on XP and earlier...)
+ if(HOME MATCHES " ")
+ string(REPLACE "\\" "/" HOME "$ENV{SystemDrive}")
+ endif()
+ endif()
+endif()
+message(STATUS "HOME='${HOME}'")
+
+if(NOT DEFINED url)
+ set(url "http://www.cmake.org/files/contracts/trilinos-11.4.1.tar.gz")
+endif()
+message(STATUS "url='${url}'")
+
+if(NOT DEFINED md5)
+ set(md5 "28b6a3c7c0fb317b3a237997293faa8b")
+endif()
+message(STATUS "md5='${md5}'")
+
+string(SUBSTRING "${md5}" 0 8 shorttag)
+set(shorttag "m${shorttag}")
+
+set(download_dir "${HOME}/.cmake/Downloads")
+
+set(base_dir "${HOME}/.cmake/Contracts/${PROJECT_NAME}/${shorttag}")
+set(binary_dir "${base_dir}/build")
+set(script_dir "${base_dir}")
+set(source_dir "${base_dir}/src")
+
+if(NOT DEFINED BUILDNAME)
+ set(BUILDNAME "CMakeContract-${shorttag}")
+endif()
+message(STATUS "BUILDNAME='${BUILDNAME}'")
+
+if(NOT DEFINED SITE)
+ site_name(SITE)
+endif()
+message(STATUS "SITE='${SITE}'")
+
+configure_file(
+ "${CMAKE_CURRENT_SOURCE_DIR}/Dashboard.cmake.in"
+ "${script_dir}/Dashboard.cmake"
+ @ONLY)
+
+configure_file(
+ "${CMAKE_CURRENT_SOURCE_DIR}/ValidateBuild.cmake.in"
+ "${CMAKE_CURRENT_BINARY_DIR}/ValidateBuild.cmake"
+ @ONLY)
+
+# Source dir for this project exists outside the CMake build tree because it
+# is absolutely huge. Source dir is therefore cached under a '.cmake/Contracts'
+# dir in your HOME directory. Downloads are cached under '.cmake/Downloads'
+#
+if(EXISTS "${source_dir}/cmake/ctest/TrilinosCTestDriverCore.cmake")
+ # If it exists already, download is a complete no-op:
+ ExternalProject_Add(download-${PROJECT_NAME}
+ DOWNLOAD_COMMAND ""
+ CONFIGURE_COMMAND ""
+ BUILD_COMMAND ""
+ INSTALL_COMMAND ""
+ )
+else()
+ # If it does not yet exist, download pulls the tarball from the web (or
+ # no-ops if it already exists with the given md5 sum):
+ #
+ ExternalProject_Add(download-${PROJECT_NAME}
+ DOWNLOAD_DIR "${download_dir}"
+ URL "${url}"
+ URL_MD5 "${md5}"
+ SOURCE_DIR "${source_dir}"
+ PATCH_COMMAND ${CMAKE_COMMAND} -Dsource_dir=${source_dir} -P "${CMAKE_CURRENT_SOURCE_DIR}/Patch.cmake"
+ CONFIGURE_COMMAND ""
+ BUILD_COMMAND ""
+ INSTALL_COMMAND ""
+ )
+endif()
+
+ExternalProject_Add(build-${PROJECT_NAME}
+ DOWNLOAD_COMMAND ""
+ CONFIGURE_COMMAND ""
+ BUILD_COMMAND ${CMAKE_COMMAND} -P "${script_dir}/Dashboard.cmake"
+ INSTALL_COMMAND ""
+ DEPENDS download-${PROJECT_NAME}
+ )
diff --git a/Tests/Contracts/Trilinos/Dashboard.cmake.in b/Tests/Contracts/Trilinos/Dashboard.cmake.in
new file mode 100644
index 0000000..93d4f61
--- /dev/null
+++ b/Tests/Contracts/Trilinos/Dashboard.cmake.in
@@ -0,0 +1,63 @@
+# This "cmake -P" script may be configured to drive a dashboard on any machine.
+#
+set(CTEST_BINARY_DIRECTORY "@binary_dir@")
+set(CTEST_BUILD_NAME "@BUILDNAME@")
+set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
+set(CTEST_SITE "@SITE@")
+set(CTEST_SOURCE_DIRECTORY "@source_dir@")
+
+# Set the environment:
+#
+set(ENV{CTEST_BUILD_NAME} "${CTEST_BUILD_NAME}")
+set(ENV{CTEST_CMAKE_GENERATOR} "${CTEST_CMAKE_GENERATOR}")
+set(ENV{CTEST_SITE} "${CTEST_SITE}")
+
+# Allow override of the environment on a per-client basis:
+#
+set(ENV_SCRIPT "$ENV{CMAKE_CONTRACT_Trilinos_ENV_SCRIPT}")
+if(ENV_SCRIPT AND EXISTS "${ENV_SCRIPT}")
+ include("${ENV_SCRIPT}")
+endif()
+
+# Empty build dir to start with:
+#
+message("Cleaning binary dir '${CTEST_BINARY_DIRECTORY}'")
+file(REMOVE_RECURSE "${CTEST_BINARY_DIRECTORY}")
+
+# Generate 'do-configure' script:
+#
+file(WRITE "${CTEST_BINARY_DIRECTORY}/do-configure" "
+\"${CMAKE_COMMAND}\" -G \"${CTEST_CMAKE_GENERATOR}\" \"${CTEST_SOURCE_DIRECTORY}\"
+")
+
+# Make the 'do-configure' script executable and execute it:
+#
+if(WIN32)
+ configure_file(
+ "${CTEST_BINARY_DIRECTORY}/do-configure"
+ "${CTEST_BINARY_DIRECTORY}/do-configure.cmd"
+ COPYONLY)
+ execute_process(COMMAND "${CTEST_BINARY_DIRECTORY}/do-configure.cmd"
+ WORKING_DIRECTORY "${CTEST_BINARY_DIRECTORY}")
+else()
+ execute_process(COMMAND chmod +x "${CTEST_BINARY_DIRECTORY}/do-configure")
+ execute_process(COMMAND "${CTEST_BINARY_DIRECTORY}/do-configure"
+ WORKING_DIRECTORY "${CTEST_BINARY_DIRECTORY}")
+endif()
+
+# Run an experimental Trilinos dashboard:
+#
+execute_process(COMMAND
+ "${CMAKE_CTEST_COMMAND}"
+ -S "${CTEST_SOURCE_DIRECTORY}/cmake/tribits/ctest/experimental_build_test.cmake"
+ -VV
+ WORKING_DIRECTORY "${CTEST_BINARY_DIRECTORY}"
+ RESULT_VARIABLE rv
+ )
+
+if(NOT "${rv}" STREQUAL "0")
+ message("error(s) (or warnings or test failures) running Trilinos dashboard
+script experimental_build_test.cmake...
+ctest returned rv='${rv}'
+")
+endif()
diff --git a/Tests/Contracts/Trilinos-10-6/EnvScript.cmake b/Tests/Contracts/Trilinos/EnvScript.cmake
index dacb704..dacb704 100644
--- a/Tests/Contracts/Trilinos-10-6/EnvScript.cmake
+++ b/Tests/Contracts/Trilinos/EnvScript.cmake
diff --git a/Tests/Contracts/Trilinos-10-6/Patch.cmake b/Tests/Contracts/Trilinos/Patch.cmake
index 6c619ac..6c619ac 100644
--- a/Tests/Contracts/Trilinos-10-6/Patch.cmake
+++ b/Tests/Contracts/Trilinos/Patch.cmake
diff --git a/Tests/Contracts/Trilinos/RunTest.cmake b/Tests/Contracts/Trilinos/RunTest.cmake
new file mode 100644
index 0000000..d661a4c
--- /dev/null
+++ b/Tests/Contracts/Trilinos/RunTest.cmake
@@ -0,0 +1,7 @@
+# ValidateBuild.cmake is configured into this location when the test is built:
+set(dir "${CMAKE_CURRENT_BINARY_DIR}/Contracts/${project}")
+
+set(exe "${CMAKE_COMMAND}")
+set(args -P "${dir}/ValidateBuild.cmake")
+
+set(Trilinos_RUN_TEST ${exe} ${args})
diff --git a/Tests/Contracts/Trilinos/ValidateBuild.cmake.in b/Tests/Contracts/Trilinos/ValidateBuild.cmake.in
new file mode 100644
index 0000000..fa38ada
--- /dev/null
+++ b/Tests/Contracts/Trilinos/ValidateBuild.cmake.in
@@ -0,0 +1,39 @@
+#
+# This code validates that the Trilinos build was "successful enough" (since it
+# is difficult to detect this from the caller of the experimental_build_test
+# dashboard script...)
+#
+set(binary_dir "@binary_dir@")
+message("binary_dir='${binary_dir}'")
+
+
+# Count *.exe files:
+#
+file(GLOB_RECURSE exes "${binary_dir}/*.exe")
+message(STATUS "exes='${exes}'")
+list(LENGTH exes len)
+if(len LESS 47)
+ message(FATAL_ERROR "len='${len}' is less than minimum expected='47' (count of executables)")
+endif()
+message(STATUS "Found len='${len}' *.exe files")
+
+
+# Try to find the Teuchos unit tests executable:
+#
+file(GLOB_RECURSE exe "${binary_dir}/TeuchosCore_UnitTest_UnitTests.exe")
+list(LENGTH exe len)
+if(NOT len EQUAL 1)
+ message(FATAL_ERROR "len='${len}' is not the expected='1' (count of TeuchosCore_UnitTest_UnitTests.exe)")
+endif()
+message(STATUS "Found exe='${exe}'")
+
+
+# Try to run it:
+execute_process(COMMAND ${exe} RESULT_VARIABLE rv)
+if(NOT "${rv}" STREQUAL "0")
+ message(FATAL_ERROR "rv='${rv}' is not the expected='0' (result of running TeuchosCore_UnitTest_UnitTests.exe)")
+endif()
+message(STATUS "Ran exe='${exe}' rv='${rv}'")
+
+
+message(STATUS "All Trilinos build validation tests pass.")
diff --git a/Tests/Contracts/VTK/CMakeLists.txt b/Tests/Contracts/VTK/CMakeLists.txt
new file mode 100644
index 0000000..ef19325
--- /dev/null
+++ b/Tests/Contracts/VTK/CMakeLists.txt
@@ -0,0 +1,47 @@
+# The VTK external project for CMake
+# ---------------------------------------------------------------------------
+cmake_minimum_required(VERSION 2.8)
+project(VTK)
+include(ExternalProject)
+
+# find "HOME". VTK will be downloaded & built within a subdirectory.
+if(NOT DEFINED HOME)
+ if(DEFINED ENV{CTEST_REAL_HOME})
+ set(HOME "$ENV{CTEST_REAL_HOME}")
+ else()
+ set(HOME "$ENV{HOME}")
+ endif()
+
+ if(NOT HOME AND WIN32)
+ # Try for USERPROFILE as HOME equivalent:
+ string(REPLACE "\\" "/" HOME "$ENV{USERPROFILE}")
+
+ # But just use root of SystemDrive if USERPROFILE contains any spaces:
+ # (Default on XP and earlier...)
+ if(HOME MATCHES " ")
+ string(REPLACE "\\" "/" HOME "$ENV{SystemDrive}")
+ endif()
+ endif()
+endif()
+
+set(base_dir "${HOME}/.cmake/Contracts/VTK")
+
+if(NOT DEFINED SITE)
+ site_name(SITE)
+endif()
+
+# configure our dashboard script
+configure_file(
+ ${CMAKE_CURRENT_SOURCE_DIR}/Dashboard.cmake.in
+ ${base_dir}/Dashboard.cmake
+ @ONLY)
+
+# build & test VTK's release branch
+ExternalProject_Add(${PROJECT_NAME}
+ GIT_REPOSITORY "git://vtk.org/VTK.git"
+ GIT_TAG "release"
+ PREFIX ${base_dir}
+ CONFIGURE_COMMAND ""
+ BUILD_COMMAND ${CMAKE_CTEST_COMMAND} -S "${base_dir}/Dashboard.cmake"
+ INSTALL_COMMAND ""
+)
diff --git a/Tests/Contracts/VTK/Dashboard.cmake.in b/Tests/Contracts/VTK/Dashboard.cmake.in
new file mode 100644
index 0000000..c3d10f4
--- /dev/null
+++ b/Tests/Contracts/VTK/Dashboard.cmake.in
@@ -0,0 +1,37 @@
+# This submission's role is to test leading edge of cmake development
+# against VTK release
+#
+# Maintainer: Zack Galbreath <zack.galbreath@kitware.com>
+#
+# This file was generated as part of the CMake/VTK Contracts test.
+# See <CMake-src>/Tests/Contracts/VTK/ for more information
+
+set(CTEST_SITE "@SITE@")
+set(CTEST_BUILD_NAME "Contracts.VTK")
+set(CTEST_DASHBOARD_ROOT "@base_dir@")
+set(CTEST_SOURCE_DIRECTORY "${CTEST_DASHBOARD_ROOT}/src/VTK")
+set(CTEST_BINARY_DIRECTORY "${CTEST_DASHBOARD_ROOT}/VTK-build")
+
+set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
+set(CTEST_CONFIGURATION_TYPE Debug)
+set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
+
+# Assume a Linux build, with a make that supports -j9. Modify this script if
+# assumption is ever invalid.
+#
+set(CTEST_BUILD_COMMAND "@CMAKE_MAKE_PROGRAM@ -j9 -i")
+
+ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
+
+file(WRITE "${CTEST_BINARY_DIRECTORY}/CMakeCache.txt" "
+ BUILD_EXAMPLES:BOOL=ON
+ BUILD_TESTING:BOOL=ON
+ VTK_WRAP_PYTHON:BOOL=ON
+ ExternalData_OBJECT_STORES:FILEPATH=@base_dir@/ExternalData
+")
+
+ctest_start(Nightly)
+ctest_configure(BUILD "${CTEST_BINARY_DIRECTORY}")
+ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}")
+ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}" INCLUDE "PythonSmoke")
+ctest_submit(BUILD "${CTEST_BINARY_DIRECTORY}")
diff --git a/Tests/Contracts/VTK/RunTest.cmake b/Tests/Contracts/VTK/RunTest.cmake
new file mode 100644
index 0000000..65285cf
--- /dev/null
+++ b/Tests/Contracts/VTK/RunTest.cmake
@@ -0,0 +1,3 @@
+set(exe "$ENV{HOME}/.cmake/Contracts/VTK/VTK-build/bin/vtkCommonCoreCxxTests")
+set(args otherArrays)
+set(VTK_RUN_TEST ${exe} ${args})
diff --git a/Tests/Contracts/vtk542/CMakeLists.txt b/Tests/Contracts/vtk542/CMakeLists.txt
deleted file mode 100644
index cfb8b16..0000000
--- a/Tests/Contracts/vtk542/CMakeLists.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-# The VTK external project for CMake
-# ---------------------------------------------------------------------------
-cmake_minimum_required(VERSION 2.8)
-project(vtk542)
-include(ExternalProject)
-
-
-set(vtk_source "${CMAKE_CURRENT_BINARY_DIR}/VTK-source")
-set(vtk_binary "${CMAKE_CURRENT_BINARY_DIR}/VTK-build")
-
-ExternalProject_Add(VTK
- DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}
- URL "http://www.vtk.org/files/release/5.4/vtk-5.4.2.tar.gz"
- URL_MD5 c2c797091d4b2128d9a1bd32c4b78227
- SOURCE_DIR ${vtk_source}
- BINARY_DIR ${vtk_binary}
- CMAKE_GENERATOR "${CMAKE_GENERATOR}"
- CMAKE_ARGS
- -DBUILD_EXAMPLES:BOOL=ON
- -DBUILD_TESTING:BOOL=ON
- INSTALL_COMMAND ""
- )
-# make it so that each build will run make in the VTK build tree
-ExternalProject_Add_Step(VTK forcebuild
- COMMAND ${CMAKE_COMMAND}
- -E remove ${CMAKE_CURRENT_BUILD_DIR}/VTK-prefix/src/VTK-stamp/VTK-build
- DEPENDEES configure
- DEPENDERS build
- ALWAYS 1
- )
diff --git a/Tests/Contracts/vtk542/RunTest.cmake b/Tests/Contracts/vtk542/RunTest.cmake
deleted file mode 100644
index b4bd5b0..0000000
--- a/Tests/Contracts/vtk542/RunTest.cmake
+++ /dev/null
@@ -1 +0,0 @@
-set(vtk542_RUN_TEST VTK-build/bin/CommonCxxTests otherArrays)
diff --git a/Tests/CustomCommand/CMakeLists.txt b/Tests/CustomCommand/CMakeLists.txt
index 30daa7d..bbae387 100644
--- a/Tests/CustomCommand/CMakeLists.txt
+++ b/Tests/CustomCommand/CMakeLists.txt
@@ -29,9 +29,6 @@ set (EXECUTABLE_OUTPUT_PATH
# add the executable that will generate the file
add_executable(generator generator.cxx)
-get_target_property(generator_PATH generator LOCATION)
-message("Location ${generator_PATH}")
-
################################################################
#
# Test using a wrapper to wrap a header file
@@ -170,7 +167,7 @@ add_custom_command(OUTPUT ${PROJECT_BINARY_DIR}/not_included.h
configure_file(
${PROJECT_SOURCE_DIR}/config.h.in
${PROJECT_BINARY_DIR}/config.h
- @ONLY IMMEDIATE
+ @ONLY
)
# add the executable
@@ -189,7 +186,7 @@ add_executable(CustomCommand
# generated source in a target.
add_custom_command(OUTPUT ${PROJECT_BINARY_DIR}/generated.c
DEPENDS generator
- COMMAND ${generator_PATH}
+ COMMAND generator
ARGS ${PROJECT_BINARY_DIR}/generated.c
)
@@ -375,7 +372,7 @@ foreach(arg ${CHECK_ARGS} "")
endforeach()
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/check_command_line.c.in
${CMAKE_CURRENT_BINARY_DIR}/check_command_line.c
- @ONLY IMMEDIATE)
+ @ONLY)
add_executable(check_command_line
${CMAKE_CURRENT_BINARY_DIR}/check_command_line.c)
set(output_name "check_command_line")
@@ -449,3 +446,10 @@ set_property(SOURCE perconfig.out PROPERTY SYMBOLIC 1)
add_custom_target(perconfig_target ALL
COMMAND ${CMAKE_COMMAND} -E echo "perconfig=$<TARGET_FILE:perconfig>" "config=$<CONFIGURATION>"
DEPENDS perconfig.out)
+
+# Test SOURCES in add_custom_target() with COMPILE_DEFINITIONS
+# which previously caused a crash in the makefile generators.
+add_custom_target(source_in_custom_target SOURCES source_in_custom_target.cpp)
+set_property(SOURCE source_in_custom_target
+ PROPERTY COMPILE_DEFINITIONS "TEST"
+)
diff --git a/Tests/CustomCommand/source_in_custom_target.cpp b/Tests/CustomCommand/source_in_custom_target.cpp
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Tests/CustomCommand/source_in_custom_target.cpp
diff --git a/Tests/DocTest/CMakeLists.txt b/Tests/DocTest/CMakeLists.txt
deleted file mode 100644
index 837328e..0000000
--- a/Tests/DocTest/CMakeLists.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-cmake_minimum_required (VERSION 2.6)
-project (DocTest)
-
-add_executable (DocTest DocTest.cxx)
-
-set_property(GLOBAL PROPERTY REPORT_UNDEFINED_PROPERTIES
- "${CMAKE_CURRENT_BINARY_DIR}/UndefinedProperties.txt")
diff --git a/Tests/DocTest/DocTest.cxx b/Tests/DocTest/DocTest.cxx
deleted file mode 100644
index a8a62ab..0000000
--- a/Tests/DocTest/DocTest.cxx
+++ /dev/null
@@ -1,33 +0,0 @@
-#include <fstream>
-#include <iostream>
-#include <stdio.h>
-
-int main ()
-{
- int result = 0;
-
- // parse the dart test file
- std::ifstream fin("UndefinedProperties.txt");
- if(!fin)
- {
- fprintf(stderr,"failed to find undefined properties file");
- return 1;
- }
-
- char buffer[1024];
- while ( fin )
- {
- buffer[0] = 0;
- fin.getline(buffer, 1023);
- buffer[1023] = 0;
- std::string line = buffer;
- if(line.size() && line.find("with scope VARIABLE") == std::string::npos)
- {
- fprintf(stderr, "%s\n", line.c_str());
- result = 1;
- }
- }
- fin.close();
-
- return result;
-}
diff --git a/Tests/ExportImport/CMakeLists.txt b/Tests/ExportImport/CMakeLists.txt
index b8368fc..02a0371 100644
--- a/Tests/ExportImport/CMakeLists.txt
+++ b/Tests/ExportImport/CMakeLists.txt
@@ -1,5 +1,8 @@
cmake_minimum_required (VERSION 2.7.20090711)
project(ExportImport C CXX)
+if(NOT DEFINED CMAKE_TEST_MAKEPROGRAM AND NOT CMAKE_GENERATOR MATCHES "Visual Studio")
+ set(CMAKE_TEST_MAKEPROGRAM "${CMAKE_MAKE_PROGRAM}")
+endif()
# Wipe out the install tree to make sure the exporter works.
add_custom_command(
@@ -42,7 +45,6 @@ add_custom_command(
--build-target install
--build-generator ${CMAKE_GENERATOR}
--build-generator-toolset "${CMAKE_GENERATOR_TOOLSET}"
- --build-makeprogram ${CMAKE_MAKE_PROGRAM}
--build-options -C${ExportImport_BINARY_DIR}/InitialCache.cmake
VERBATIM
)
@@ -64,7 +66,6 @@ add_custom_command(
--build-project Import
--build-generator ${CMAKE_GENERATOR}
--build-generator-toolset "${CMAKE_GENERATOR_TOOLSET}"
- --build-makeprogram ${CMAKE_MAKE_PROGRAM}
--build-options -C${ExportImport_BINARY_DIR}/InitialCache.cmake
VERBATIM
)
diff --git a/Tests/ExportImport/Export/CMakeLists.txt b/Tests/ExportImport/Export/CMakeLists.txt
index 72ae78f..febdfe6 100644
--- a/Tests/ExportImport/Export/CMakeLists.txt
+++ b/Tests/ExportImport/Export/CMakeLists.txt
@@ -23,6 +23,22 @@ add_library(testLib1 STATIC testLib1.c)
add_library(testLib2 STATIC testLib2.c)
target_link_libraries(testLib2 testLib1)
+# Test install(FILES) with generator expressions referencing testLib1.
+add_custom_command(TARGET testLib1 POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:testLib1>
+ $<TARGET_FILE:testLib1>.genex
+ )
+install(FILES $<TARGET_FILE:testLib1>.genex
+ DESTINATION lib
+ )
+set_property(TARGET testLib1 PROPERTY MY_FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/testLib1file1.txt
+ ${CMAKE_CURRENT_SOURCE_DIR}/testLib1file2.txt
+ )
+install(FILES $<TARGET_PROPERTY:testLib1,MY_FILES>
+ DESTINATION doc
+ )
+
# Test library with empty link interface. Link it to an implementation
# dependency that itself links to dependencies publicly.
add_library(testLib3ImpDep SHARED testLib3ImpDep.c)
@@ -298,12 +314,38 @@ set_property(TARGET cmp0022OLD APPEND PROPERTY LINK_INTERFACE_LIBRARIES testLib3
add_library(noIncludesInterface empty.cpp)
+add_library(systemlib SHARED systemlib.cpp)
+install(FILES systemlib.h DESTINATION include/systemlib)
+target_include_directories(systemlib
+ INTERFACE
+ $<INSTALL_INTERFACE:include/systemlib>
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
+)
+
install(TARGETS testLibRequired
EXPORT RequiredExp DESTINATION lib
INCLUDES DESTINATION
installIncludesTest
$<INSTALL_PREFIX>/installIncludesTest2
- )
+ installIncludesTest3/$<TARGET_PROPERTY:NAME>
+ $<TARGET_PROPERTY:NAME>/installIncludesTest4
+ $<INSTALL_INTERFACE:installIncludesTest5$<0:>>
+ $<INSTALL_INTERFACE:$<0:>installIncludesTest6>
+ $<INSTALL_INTERFACE:$<INSTALL_PREFIX>/installIncludesTest7>
+)
+
+target_include_directories(testLibRequired INTERFACE
+ # These can't be in the above install(INCLUDES DESTINATION call because
+ # that is only for installed interfaces. These directories are prefixes
+ # in the build dir, which is an error for the installed interface.
+ # We add them here so that we don't have to add conditions in the Import
+ # component of the test.
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/installIncludesTest5$<0:>>
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/$<0:>installIncludesTest6>
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/installIncludesTest7>
+ $<INSTALL_INTERFACE:installIncludesTest8/$<0:>>
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/installIncludesTest8$<0:>>
+)
install(TARGETS
testLibIncludeRequired1
testLibIncludeRequired2
@@ -326,6 +368,18 @@ file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/installIncludesTest/installIncludesTest.
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/installIncludesTest2")
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/installIncludesTest2/installIncludesTest2.h" "// No content\n")
+file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/installIncludesTest3/testLibRequired")
+file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/installIncludesTest3/testLibRequired/installIncludesTest3.h" "// No content\n")
+file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/testLibRequired/installIncludesTest4")
+file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/testLibRequired/installIncludesTest4/installIncludesTest4.h" "// No content\n")
+file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/installIncludesTest5")
+file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/installIncludesTest5/installIncludesTest5.h" "// No content\n")
+file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/installIncludesTest6")
+file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/installIncludesTest6/installIncludesTest6.h" "// No content\n")
+file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/installIncludesTest7")
+file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/installIncludesTest7/installIncludesTest7.h" "// No content\n")
+file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/installIncludesTest8")
+file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/installIncludesTest8/installIncludesTest8.h" "// No content\n")
install(FILES
"${CMAKE_CURRENT_BINARY_DIR}/installIncludesTest/installIncludesTest.h"
DESTINATION installIncludesTest
@@ -334,6 +388,30 @@ install(FILES
"${CMAKE_CURRENT_BINARY_DIR}/installIncludesTest2/installIncludesTest2.h"
DESTINATION installIncludesTest2
)
+install(FILES
+ "${CMAKE_CURRENT_BINARY_DIR}/installIncludesTest3/testLibRequired/installIncludesTest3.h"
+ DESTINATION installIncludesTest3/testLibRequired
+)
+install(FILES
+ "${CMAKE_CURRENT_BINARY_DIR}/testLibRequired/installIncludesTest4/installIncludesTest4.h"
+ DESTINATION testLibRequired/installIncludesTest4
+)
+install(FILES
+ "${CMAKE_CURRENT_BINARY_DIR}/installIncludesTest5/installIncludesTest5.h"
+ DESTINATION installIncludesTest5
+)
+install(FILES
+ "${CMAKE_CURRENT_BINARY_DIR}/installIncludesTest6/installIncludesTest6.h"
+ DESTINATION installIncludesTest6
+)
+install(FILES
+ "${CMAKE_CURRENT_BINARY_DIR}/installIncludesTest7/installIncludesTest7.h"
+ DESTINATION installIncludesTest7
+)
+install(FILES
+ "${CMAKE_CURRENT_BINARY_DIR}/installIncludesTest8/installIncludesTest8.h"
+ DESTINATION installIncludesTest8
+)
install(TARGETS testLibDepends testSharedLibDepends EXPORT DependsExp DESTINATION lib )
install(EXPORT DependsExp FILE testLibDependsTargets.cmake DESTINATION lib/cmake/testLibDepends)
@@ -366,6 +444,7 @@ install(
testLib6
testLibCycleA testLibCycleB
cmp0022NEW cmp0022OLD
+ systemlib
EXPORT exp
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib NAMELINK_SKIP
@@ -417,6 +496,7 @@ export(TARGETS testExe1 testLib1 testLib2 testLib3
testSharedLibRequired testSharedLibRequiredUser testSharedLibRequiredUser2
testSharedLibDepends renamed_on_export
cmp0022NEW cmp0022OLD
+ systemlib
NAMESPACE bld_
FILE ExportBuildTree.cmake
)
@@ -426,3 +506,5 @@ export(TARGETS testExe2 testLib4 testLib5 testLib6 testExe3 testExe2lib
NAMESPACE bld_
APPEND FILE ExportBuildTree.cmake
)
+
+add_subdirectory(Interface)
diff --git a/Tests/ExportImport/Export/Interface/CMakeLists.txt b/Tests/ExportImport/Export/Interface/CMakeLists.txt
new file mode 100644
index 0000000..9d4793d
--- /dev/null
+++ b/Tests/ExportImport/Export/Interface/CMakeLists.txt
@@ -0,0 +1,52 @@
+
+add_library(headeronly INTERFACE)
+set_property(TARGET headeronly PROPERTY INTERFACE_INCLUDE_DIRECTORIES
+ "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/headeronly>"
+ "$<INSTALL_INTERFACE:${CMAKE_INSTALL_PREFIX}/include/headeronly>"
+)
+set_property(TARGET headeronly PROPERTY INTERFACE_COMPILE_DEFINITIONS "HEADERONLY_DEFINE")
+
+include(GenerateExportHeader)
+add_library(sharedlib SHARED sharedlib.cpp)
+generate_export_header(sharedlib)
+set_property(TARGET sharedlib PROPERTY INCLUDE_DIRECTORIES
+ "${CMAKE_CURRENT_SOURCE_DIR}/sharedlib"
+ "${CMAKE_CURRENT_BINARY_DIR}"
+)
+set_property(TARGET sharedlib PROPERTY INTERFACE_INCLUDE_DIRECTORIES
+ "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/sharedlib;${CMAKE_CURRENT_BINARY_DIR}>"
+ "$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/include/sharedlib>"
+)
+
+set_property(TARGET sharedlib PROPERTY INTERFACE_COMPILE_DEFINITIONS "SHAREDLIB_DEFINE")
+
+add_library(sharediface INTERFACE)
+target_link_libraries(sharediface INTERFACE sharedlib)
+
+install(TARGETS headeronly sharediface
+ EXPORT expInterface
+)
+install(TARGETS sharedlib
+ EXPORT expInterface
+ RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib NAMELINK_SKIP
+ ARCHIVE DESTINATION lib
+ FRAMEWORK DESTINATION Frameworks
+ BUNDLE DESTINATION Applications
+)
+install(FILES
+ headeronly/headeronly.h
+ DESTINATION include/headeronly
+)
+install(FILES
+ sharedlib/sharedlib.h
+ "${CMAKE_CURRENT_BINARY_DIR}/sharedlib_export.h"
+ DESTINATION include/sharedlib
+)
+
+install(EXPORT expInterface NAMESPACE exp:: DESTINATION lib/exp)
+
+export(EXPORT expInterface
+ NAMESPACE bld::
+ FILE ../ExportInterfaceBuildTree.cmake
+)
diff --git a/Tests/ExportImport/Export/Interface/headeronly/headeronly.h b/Tests/ExportImport/Export/Interface/headeronly/headeronly.h
new file mode 100644
index 0000000..3673c21
--- /dev/null
+++ b/Tests/ExportImport/Export/Interface/headeronly/headeronly.h
@@ -0,0 +1,7 @@
+
+enum { one };
+
+struct HeaderOnly
+{
+ int foo() const { return 0; }
+};
diff --git a/Tests/ExportImport/Export/Interface/sharedlib.cpp b/Tests/ExportImport/Export/Interface/sharedlib.cpp
new file mode 100644
index 0000000..88ca713
--- /dev/null
+++ b/Tests/ExportImport/Export/Interface/sharedlib.cpp
@@ -0,0 +1,7 @@
+
+#include "sharedlib.h"
+
+int SharedLibObject::foo() const
+{
+ return 0;
+}
diff --git a/Tests/ExportImport/Export/Interface/sharedlib/sharedlib.h b/Tests/ExportImport/Export/Interface/sharedlib/sharedlib.h
new file mode 100644
index 0000000..aad9ef3
--- /dev/null
+++ b/Tests/ExportImport/Export/Interface/sharedlib/sharedlib.h
@@ -0,0 +1,7 @@
+
+#include "sharedlib_export.h"
+
+struct SHAREDLIB_EXPORT SharedLibObject
+{
+ int foo() const;
+};
diff --git a/Tests/ExportImport/Export/systemlib.cpp b/Tests/ExportImport/Export/systemlib.cpp
new file mode 100644
index 0000000..ec45148
--- /dev/null
+++ b/Tests/ExportImport/Export/systemlib.cpp
@@ -0,0 +1,7 @@
+
+#include "systemlib.h"
+
+SystemStruct::SystemStruct()
+{
+
+}
diff --git a/Tests/ExportImport/Export/systemlib.h b/Tests/ExportImport/Export/systemlib.h
new file mode 100644
index 0000000..f7900c0
--- /dev/null
+++ b/Tests/ExportImport/Export/systemlib.h
@@ -0,0 +1,22 @@
+
+#ifndef SYSTEMLIB_H
+#define SYSTEMLIB_H
+
+#if defined(_WIN32) || defined(__CYGWIN__)
+# define systemlib_EXPORT __declspec(dllexport)
+#else
+# define systemlib_EXPORT
+#endif
+
+struct systemlib_EXPORT SystemStruct
+{
+ SystemStruct();
+
+ void someMethod()
+ {
+ int unused;
+ // unused warning not issued when this header is used as a system header.
+ }
+};
+
+#endif
diff --git a/Tests/ExportImport/Export/testLib1file1.txt b/Tests/ExportImport/Export/testLib1file1.txt
new file mode 100644
index 0000000..73601df
--- /dev/null
+++ b/Tests/ExportImport/Export/testLib1file1.txt
@@ -0,0 +1 @@
+testLib1file1
diff --git a/Tests/ExportImport/Export/testLib1file2.txt b/Tests/ExportImport/Export/testLib1file2.txt
new file mode 100644
index 0000000..4874ed1
--- /dev/null
+++ b/Tests/ExportImport/Export/testLib1file2.txt
@@ -0,0 +1 @@
+testLib1file2
diff --git a/Tests/ExportImport/Import/A/CMakeLists.txt b/Tests/ExportImport/Import/A/CMakeLists.txt
index 2627354..eb0bbf8 100644
--- a/Tests/ExportImport/Import/A/CMakeLists.txt
+++ b/Tests/ExportImport/Import/A/CMakeLists.txt
@@ -68,6 +68,12 @@ target_link_libraries(imp_testExe1b
bld_testLibCycleA
)
+add_custom_target(check_testLib1_genex ALL
+ COMMAND ${CMAKE_COMMAND} -DtestLib1=$<TARGET_FILE:exp_testLib1>
+ -Dprefix=${CMAKE_INSTALL_PREFIX}
+ -P ${CMAKE_CURRENT_SOURCE_DIR}/check_testLib1_genex.cmake
+ )
+
add_executable(cmp0022OLD_test cmp0022OLD_test_vs6_1.cpp)
target_link_libraries(cmp0022OLD_test bld_cmp0022OLD)
add_executable(cmp0022NEW_test cmp0022NEW_test_vs6_1.cpp)
@@ -265,3 +271,50 @@ foreach(_config ${_configs})
)
endforeach()
unset(_configs)
+
+if (((CMAKE_C_COMPILER_ID STREQUAL GNU AND CMAKE_C_COMPILER_VERSION VERSION_GREATER 4.4)
+ OR CMAKE_C_COMPILER_ID STREQUAL Clang)
+ AND (CMAKE_GENERATOR STREQUAL "Unix Makefiles" OR CMAKE_GENERATOR STREQUAL "Ninja"))
+ include(CheckCXXCompilerFlag)
+ check_cxx_compiler_flag(-Wunused-variable run_sys_includes_test)
+ if(run_sys_includes_test)
+ # The Bullseye wrapper appears to break the -isystem effect.
+ execute_process(COMMAND ${CMAKE_CXX_COMPILER} --version OUTPUT_VARIABLE out ERROR_VARIABLE out)
+ if("x${out}" MATCHES "Bullseye")
+ set(run_sys_includes_test 0)
+ endif()
+ endif()
+ if (run_sys_includes_test)
+ add_executable(test_system_exp test_system.cpp)
+ target_link_libraries(test_system_exp exp_systemlib)
+ target_compile_options(test_system_exp PRIVATE -Wunused-variable -Werror=unused-variable)
+
+ unset(EXP_ERROR_VARIABLE CACHE)
+ try_compile(EXP_ERROR_VARIABLE
+ "${CMAKE_CURRENT_SOURCE_DIR}/test_system"
+ "${CMAKE_CURRENT_SOURCE_DIR}/test_system.cpp"
+ COMPILE_DEFINITIONS "-Wunused-variable -Werror=unused-variable"
+ LINK_LIBRARIES exp_systemlib
+ OUTPUT_VARIABLE OUTPUT
+ )
+ if(NOT EXP_ERROR_VARIABLE)
+ message(SEND_ERROR "EXP_ERROR_VARIABLE try_compile failed, but it was expected to succeed ${OUTPUT}.")
+ endif()
+
+ add_executable(test_system_bld test_system.cpp)
+ target_link_libraries(test_system_bld bld_systemlib)
+ target_compile_options(test_system_bld PRIVATE -Wunused-variable -Werror=unused-variable)
+
+ unset(BLD_ERROR_VARIABLE CACHE)
+ try_compile(BLD_ERROR_VARIABLE
+ "${CMAKE_CURRENT_SOURCE_DIR}/test_system"
+ "${CMAKE_CURRENT_SOURCE_DIR}/test_system.cpp"
+ COMPILE_DEFINITIONS "-Wunused-variable -Werror=unused-variable"
+ LINK_LIBRARIES bld_systemlib
+ OUTPUT_VARIABLE OUTPUT
+ )
+ if(NOT BLD_ERROR_VARIABLE)
+ message(SEND_ERROR "BLD_ERROR_VARIABLE try_compile failed, but it was expected to succeed.")
+ endif()
+ endif()
+endif()
diff --git a/Tests/ExportImport/Import/A/check_testLib1_genex.cmake b/Tests/ExportImport/Import/A/check_testLib1_genex.cmake
new file mode 100644
index 0000000..7c02652
--- /dev/null
+++ b/Tests/ExportImport/Import/A/check_testLib1_genex.cmake
@@ -0,0 +1,11 @@
+foreach(f
+ "${testLib1}.genex"
+ "${prefix}/doc/testLib1file1.txt"
+ "${prefix}/doc/testLib1file2.txt"
+ )
+ if(EXISTS "${f}")
+ message(STATUS "'${f}' exists!")
+ else()
+ message(FATAL_ERROR "Missing file:\n ${f}")
+ endif()
+endforeach()
diff --git a/Tests/ExportImport/Import/A/deps_iface.c b/Tests/ExportImport/Import/A/deps_iface.c
index 48a4c44..953d0ad 100644
--- a/Tests/ExportImport/Import/A/deps_iface.c
+++ b/Tests/ExportImport/Import/A/deps_iface.c
@@ -6,6 +6,12 @@
#include "installIncludesTest.h"
#include "installIncludesTest2.h"
+#include "installIncludesTest3.h"
+#include "installIncludesTest4.h"
+#include "installIncludesTest5.h"
+#include "installIncludesTest6.h"
+#include "installIncludesTest7.h"
+#include "installIncludesTest8.h"
#ifndef testLibRequired_IFACE_DEFINE
#error Expected testLibRequired_IFACE_DEFINE
diff --git a/Tests/ExportImport/Import/A/test_system.cpp b/Tests/ExportImport/Import/A/test_system.cpp
new file mode 100644
index 0000000..aae3583
--- /dev/null
+++ b/Tests/ExportImport/Import/A/test_system.cpp
@@ -0,0 +1,9 @@
+
+#include "systemlib.h"
+
+int main()
+{
+ SystemStruct s;
+ (void)s;
+ return 0;
+}
diff --git a/Tests/ExportImport/Import/CMakeLists.txt b/Tests/ExportImport/Import/CMakeLists.txt
index 9c2d597..5e809a2 100644
--- a/Tests/ExportImport/Import/CMakeLists.txt
+++ b/Tests/ExportImport/Import/CMakeLists.txt
@@ -19,3 +19,6 @@ add_executable(imp_testTransExe1b imp_testTransExe1.c)
target_link_libraries(imp_testTransExe1b imp_lib1b)
add_subdirectory(try_compile)
+
+# Test package INTERFACE controls
+add_subdirectory(Interface)
diff --git a/Tests/ExportImport/Import/Interface/CMakeLists.txt b/Tests/ExportImport/Import/Interface/CMakeLists.txt
new file mode 100644
index 0000000..cf7e2bc
--- /dev/null
+++ b/Tests/ExportImport/Import/Interface/CMakeLists.txt
@@ -0,0 +1,55 @@
+
+# Import targets from the exported build tree.
+include(${Import_BINARY_DIR}/../Export/ExportInterfaceBuildTree.cmake)
+
+# Import targets from the exported install tree.
+include(${CMAKE_INSTALL_PREFIX}/lib/exp/expInterface.cmake)
+
+add_library(define_iface INTERFACE)
+set_property(TARGET define_iface PROPERTY
+ INTERFACE_COMPILE_DEFINITIONS DEFINE_IFACE_DEFINE)
+
+add_executable(headeronlytest_bld headeronlytest.cpp)
+target_link_libraries(headeronlytest_bld bld::headeronly)
+
+set_property(TARGET bld::sharediface APPEND PROPERTY INTERFACE_LINK_LIBRARIES define_iface)
+
+add_executable(interfacetest_bld interfacetest.cpp)
+target_link_libraries(interfacetest_bld bld::sharediface)
+
+include(CheckCXXSourceCompiles)
+
+macro(do_try_compile prefix)
+
+ set(CMAKE_REQUIRED_LIBRARIES ${prefix}::headeronly)
+ check_cxx_source_compiles(
+ "
+ #include \"headeronly.h\"
+
+ #ifndef HEADERONLY_DEFINE
+ #error Expected HEADERONLY_DEFINE
+ #endif
+
+ int main(int,char**)
+ {
+ HeaderOnly ho;
+ return ho.foo();
+ }
+ " ${prefix}IFACE_TRY_COMPILE)
+
+ if(NOT ${prefix}IFACE_TRY_COMPILE)
+ message(SEND_ERROR "${prefix} try_compile with IMPORTED INTERFACE target failed!\n\n${OUTPUT}")
+ endif()
+endmacro()
+
+do_try_compile(bld)
+
+add_executable(headeronlytest_exp headeronlytest.cpp)
+target_link_libraries(headeronlytest_exp exp::headeronly)
+
+set_property(TARGET exp::sharediface APPEND PROPERTY INTERFACE_LINK_LIBRARIES define_iface)
+
+add_executable(interfacetest_exp interfacetest.cpp)
+target_link_libraries(interfacetest_exp exp::sharediface)
+
+do_try_compile(exp)
diff --git a/Tests/ExportImport/Import/Interface/headeronlytest.cpp b/Tests/ExportImport/Import/Interface/headeronlytest.cpp
new file mode 100644
index 0000000..20674a7
--- /dev/null
+++ b/Tests/ExportImport/Import/Interface/headeronlytest.cpp
@@ -0,0 +1,17 @@
+
+#include "headeronly.h"
+
+#ifndef HEADERONLY_DEFINE
+#error Expected HEADERONLY_DEFINE
+#endif
+
+#ifdef SHAREDLIB_DEFINE
+#error Unexpected SHAREDLIB_DEFINE
+#endif
+
+
+int main(int,char**)
+{
+ HeaderOnly ho;
+ return ho.foo();
+}
diff --git a/Tests/ExportImport/Import/Interface/interfacetest.cpp b/Tests/ExportImport/Import/Interface/interfacetest.cpp
new file mode 100644
index 0000000..786458d
--- /dev/null
+++ b/Tests/ExportImport/Import/Interface/interfacetest.cpp
@@ -0,0 +1,20 @@
+
+#include "sharedlib.h"
+
+#ifndef SHAREDLIB_DEFINE
+#error Expected SHAREDLIB_DEFINE
+#endif
+
+#ifdef HEADERONLY_DEFINE
+#error Unexpected HEADERONLY_DEFINE
+#endif
+
+#ifndef DEFINE_IFACE_DEFINE
+#error Expected DEFINE_IFACE_DEFINE
+#endif
+
+int main(int,char**)
+{
+ SharedLibObject slo;
+ return slo.foo();
+}
diff --git a/Tests/ExportImport/InitialCache.cmake.in b/Tests/ExportImport/InitialCache.cmake.in
index 98d355f..fba6ee2 100644
--- a/Tests/ExportImport/InitialCache.cmake.in
+++ b/Tests/ExportImport/InitialCache.cmake.in
@@ -1,3 +1,4 @@
+set(CMAKE_MAKE_PROGRAM "@CMAKE_TEST_MAKEPROGRAM@" CACHE FILEPATH "Make Program")
set(CMAKE_C_COMPILER "@CMAKE_C_COMPILER@" CACHE STRING "C Compiler")
set(CMAKE_C_FLAGS "@CMAKE_C_FLAGS@" CACHE STRING "C Flags")
set(CMAKE_C_FLAGS_DEBUG "@CMAKE_C_FLAGS_DEBUG@" CACHE STRING "C Flags")
diff --git a/Tests/ExternalProject/CMakeLists.txt b/Tests/ExternalProject/CMakeLists.txt
index 602ff0f..d9344ec 100644
--- a/Tests/ExternalProject/CMakeLists.txt
+++ b/Tests/ExternalProject/CMakeLists.txt
@@ -512,6 +512,22 @@ if(do_git_tests)
LOG_UPDATE 1
)
set_property(TARGET ${proj} PROPERTY FOLDER "GIT")
+
+ # git by explicit branch/tag with empty submodule list
+ #
+ set(proj TutorialStep1-GIT-bytag-withsubmodules)
+ ExternalProject_Add(${proj}
+ GIT_REPOSITORY "${local_git_repo}"
+ GIT_TAG "origin/master"
+ GIT_SUBMODULES ""
+ UPDATE_COMMAND ""
+ CMAKE_GENERATOR "${CMAKE_GENERATOR}"
+ CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
+ INSTALL_COMMAND ""
+ DEPENDS "SetupLocalGITRepository"
+ )
+ set_property(TARGET ${proj} PROPERTY FOLDER "GIT")
+
endif()
set(do_hg_tests 0)
diff --git a/Tests/FindGTK2/CMakeLists.txt b/Tests/FindGTK2/CMakeLists.txt
new file mode 100644
index 0000000..1c5987c
--- /dev/null
+++ b/Tests/FindGTK2/CMakeLists.txt
@@ -0,0 +1,317 @@
+find_package(GTK2 COMPONENTS gtk glade gtkmm glademm QUIET)
+
+
+# Test GTK2 components
+if(GTK2_GTK_FOUND)
+ add_test(GTK2Components.gtk ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGTK2/gtk"
+ "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Components/gtk"
+ ${build_generator_args}
+ --build-target gtk-all-libs
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Components/gtk"
+ --force-new-ctest-process
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+endif()
+
+if(GTK2_GTKMM_FOUND)
+ add_test(GTK2Components.gtkmm ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGTK2/gtkmm"
+ "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Components/gtkmm"
+ ${build_generator_args}
+ --build-target gtkmm-all-libs
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Components/gtkmm"
+ --force-new-ctest-process
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+endif()
+
+
+# Test GTK2 targets
+if(TARGET GTK2::glib)
+ add_test(GTK2Targets.glib ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGTK2/glib"
+ "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/glib"
+ ${build_generator_args}
+ --build-project glib
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/glib"
+ --force-new-ctest-process
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+endif()
+
+if(TARGET GTK2::gobject)
+ add_test(GTK2Targets.gobject ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGTK2/gobject"
+ "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/gobject"
+ ${build_generator_args}
+ --build-project gobject
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/gobject"
+ --force-new-ctest-process
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+endif()
+
+if(TARGET GTK2::gio)
+ add_test(GTK2Targets.gio ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGTK2/gio"
+ "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/gio"
+ ${build_generator_args}
+ --build-project gio
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/gio"
+ --force-new-ctest-process
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+endif()
+
+if(TARGET GTK2::gmodule)
+ add_test(GTK2Targets.gmodule ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGTK2/gmodule"
+ "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/gmodule"
+ ${build_generator_args}
+ --build-project gmodule
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/gmodule"
+ --force-new-ctest-process
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+endif()
+
+if(TARGET GTK2::gthread)
+ add_test(GTK2Targets.gthread ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGTK2/gthread"
+ "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/gthread"
+ ${build_generator_args}
+ --build-project gthread
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/gthread"
+ --force-new-ctest-process
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+endif()
+
+if(TARGET GTK2::atk)
+ add_test(GTK2Targets.atk ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGTK2/atk"
+ "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/atk"
+ ${build_generator_args}
+ --build-project atk
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/atk"
+ --force-new-ctest-process
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+endif()
+
+if(TARGET GTK2::gdk_pixbuf)
+ add_test(GTK2Targets.gdk_pixbuf ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGTK2/gdk_pixbuf"
+ "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/gdk_pixbuf"
+ ${build_generator_args}
+ --build-project gdk_pixbuf
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/gdk_pixbuf"
+ --force-new-ctest-process
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+endif()
+
+if(TARGET GTK2::cairo)
+ add_test(GTK2Targets.cairo ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGTK2/cairo"
+ "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/cairo"
+ ${build_generator_args}
+ --build-project cairo
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/cairo"
+ --force-new-ctest-process
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+endif()
+
+if(TARGET GTK2::pango)
+ add_test(GTK2Targets.pango ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGTK2/pango"
+ "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/pango"
+ ${build_generator_args}
+ --build-project pango
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/pango"
+ --force-new-ctest-process
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+endif()
+
+if(TARGET GTK2::pangocairo)
+ add_test(GTK2Targets.pangocairo ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGTK2/pangocairo"
+ "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/pangocairo"
+ ${build_generator_args}
+ --build-project pangocairo
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/pangocairo"
+ --force-new-ctest-process
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+endif()
+
+if(TARGET GTK2::pangoxft)
+ add_test(GTK2Targets.pangoxft ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGTK2/pangoxft"
+ "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/pangoxft"
+ ${build_generator_args}
+ --build-project pangoxft
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/pangoxft"
+ --force-new-ctest-process
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+endif()
+
+if(TARGET GTK2::pangoft2)
+ add_test(GTK2Targets.pangoft2 ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGTK2/pangoft2"
+ "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/pangoft2"
+ ${build_generator_args}
+ --build-project pangoft2
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/pangoft2"
+ --force-new-ctest-process
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+endif()
+
+if(TARGET GTK2::gdk)
+ add_test(GTK2Targets.gdk ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGTK2/gdk"
+ "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/gdk"
+ ${build_generator_args}
+ --build-project gdk
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/gdk"
+ --force-new-ctest-process
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+endif()
+
+if(TARGET GTK2::gtk)
+ add_test(GTK2Targets.gtk ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGTK2/gtk"
+ "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/gtk"
+ ${build_generator_args}
+ --build-project gtk
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/gtk"
+ --force-new-ctest-process
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+endif()
+
+if(TARGET GTK2::sigc++)
+ add_test(GTK2Targets.sigc++ ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGTK2/sigc++"
+ "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/sigc++"
+ ${build_generator_args}
+ --build-project sigc++
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/sigc++"
+ --force-new-ctest-process
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+endif()
+
+if(TARGET GTK2::glibmm)
+ add_test(GTK2Targets.glibmm ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGTK2/glibmm"
+ "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/glibmm"
+ ${build_generator_args}
+ --build-project glibmm
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/glibmm"
+ --force-new-ctest-process
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+endif()
+
+if(TARGET GTK2::giomm)
+ add_test(GTK2Targets.giomm ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGTK2/giomm"
+ "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/giomm"
+ ${build_generator_args}
+ --build-project giomm
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/giomm"
+ --force-new-ctest-process
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+endif()
+
+if(TARGET GTK2::atkmm)
+ add_test(GTK2Targets.atkmm ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGTK2/atkmm"
+ "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/atkmm"
+ ${build_generator_args}
+ --build-project atkmm
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/atkmm"
+ --force-new-ctest-process
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+endif()
+
+if(TARGET GTK2::cairomm)
+ add_test(GTK2Targets.cairomm ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGTK2/cairomm"
+ "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/cairomm"
+ ${build_generator_args}
+ --build-project cairomm
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/cairomm"
+ --force-new-ctest-process
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+endif()
+
+if(TARGET GTK2::pangomm)
+ add_test(GTK2Targets.pangomm ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGTK2/pangomm"
+ "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/pangomm"
+ ${build_generator_args}
+ --build-project pangomm
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/pangomm"
+ --force-new-ctest-process
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+endif()
+
+if(TARGET GTK2::gdkmm)
+ add_test(GTK2Targets.gdkmm ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGTK2/gdkmm"
+ "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/GTK2Targets/gdkmm"
+ ${build_generator_args}
+ --build-project gdkmm
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/GTK2Targets/gdkmm"
+ --force-new-ctest-process
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+endif()
+
+if(TARGET GTK2::gtkmm)
+ add_test(GTK2Targets.gtkmm ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGTK2/gtkmm"
+ "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/gtkmm"
+ ${build_generator_args}
+ --build-target gtkmm-target
+ --build-exe-dir "${CMake_BINARY_DIR}/Tests/FindGTK2/GTK2Targets/gtkmm"
+ --force-new-ctest-process
+ --test-command ${CMAKE_CTEST_COMMAND} -V
+ )
+endif()
diff --git a/Tests/FindGTK2/atk/CMakeLists.txt b/Tests/FindGTK2/atk/CMakeLists.txt
new file mode 100644
index 0000000..be37957
--- /dev/null
+++ b/Tests/FindGTK2/atk/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(atk C)
+
+find_package(GTK2 COMPONENTS gtk REQUIRED)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+add_executable(atk WIN32 main.c)
+target_link_libraries(atk GTK2::atk)
diff --git a/Tests/FindGTK2/atk/main.c b/Tests/FindGTK2/atk/main.c
new file mode 100644
index 0000000..e25030e
--- /dev/null
+++ b/Tests/FindGTK2/atk/main.c
@@ -0,0 +1,7 @@
+#include <atk/atk.h>
+
+int main(int argc, char *argv[])
+{
+ const gchar *name = atk_get_toolkit_name();
+ return 0;
+}
diff --git a/Tests/FindGTK2/atkmm/CMakeLists.txt b/Tests/FindGTK2/atkmm/CMakeLists.txt
new file mode 100644
index 0000000..e8320b5
--- /dev/null
+++ b/Tests/FindGTK2/atkmm/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(atkmm CXX)
+
+find_package(GTK2 COMPONENTS gtk gtkmm REQUIRED)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+add_executable(atkmm WIN32 main.cpp)
+target_link_libraries(atkmm GTK2::atkmm)
diff --git a/Tests/FindGTK2/atkmm/main.cpp b/Tests/FindGTK2/atkmm/main.cpp
new file mode 100644
index 0000000..f455c7a
--- /dev/null
+++ b/Tests/FindGTK2/atkmm/main.cpp
@@ -0,0 +1,8 @@
+#include <atkmm.h>
+#include <atkmm/init.h>
+
+int main(int argc, char *argv[])
+{
+ Atk::init();
+ return 0;
+}
diff --git a/Tests/FindGTK2/cairo/CMakeLists.txt b/Tests/FindGTK2/cairo/CMakeLists.txt
new file mode 100644
index 0000000..97a7369
--- /dev/null
+++ b/Tests/FindGTK2/cairo/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(cairo C)
+
+find_package(GTK2 COMPONENTS gtk REQUIRED)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+add_executable(cairo WIN32 main.c)
+target_link_libraries(cairo GTK2::cairo)
diff --git a/Tests/FindGTK2/cairo/main.c b/Tests/FindGTK2/cairo/main.c
new file mode 100644
index 0000000..1b61001
--- /dev/null
+++ b/Tests/FindGTK2/cairo/main.c
@@ -0,0 +1,52 @@
+/* Taken from http://cairographics.org/samples/ */
+
+
+#include <cairo.h>
+#include <math.h>
+#include <stdio.h>
+
+int main(int argc, char *argv[])
+{
+ char *filename;
+ if (argc != 2)
+ {
+ fprintf (stderr, "Usage: %s OUTPUT_FILENAME\n", argv[0]);
+ return 1;
+ }
+ filename = argv[1];
+ double xc = 128.0;
+ double yc = 128.0;
+ double radius = 100.0;
+ double angle1 = 45.0 * (M_PI/180.0); /* angles are specified */
+ double angle2 = 180.0 * (M_PI/180.0); /* in radians */
+
+ cairo_surface_t *im = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, xc * 2, yc * 2);
+ cairo_t *cr = cairo_create(im);
+
+
+ cairo_set_line_width (cr, 10.0);
+ cairo_arc (cr, xc, yc, radius, angle1, angle2);
+ cairo_stroke (cr);
+
+ /* draw helping lines */
+ cairo_set_source_rgba (cr, 1, 0.2, 0.2, 0.6);
+ cairo_set_line_width (cr, 6.0);
+
+ cairo_arc (cr, xc, yc, 10.0, 0, 2*M_PI);
+ cairo_fill (cr);
+
+ cairo_arc (cr, xc, yc, radius, angle1, angle1);
+ cairo_line_to (cr, xc, yc);
+ cairo_arc (cr, xc, yc, radius, angle2, angle2);
+ cairo_line_to (cr, xc, yc);
+ cairo_stroke (cr);
+
+ cairo_status_t status = cairo_surface_write_to_png (im, filename);
+ cairo_surface_destroy (im);
+ if (status != CAIRO_STATUS_SUCCESS) {
+ fprintf(stderr, "Could not save png to '%s'\n", filename);
+ }
+
+ cairo_destroy(cr);
+ return 0;
+}
diff --git a/Tests/FindGTK2/cairomm/CMakeLists.txt b/Tests/FindGTK2/cairomm/CMakeLists.txt
new file mode 100644
index 0000000..47a156e
--- /dev/null
+++ b/Tests/FindGTK2/cairomm/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(cairomm CXX)
+
+find_package(GTK2 COMPONENTS gtk gtkmm REQUIRED)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+add_executable(cairomm WIN32 main.cpp)
+target_link_libraries(cairomm GTK2::cairomm)
diff --git a/Tests/FindGTK2/cairomm/main.cpp b/Tests/FindGTK2/cairomm/main.cpp
new file mode 100644
index 0000000..ea8f106
--- /dev/null
+++ b/Tests/FindGTK2/cairomm/main.cpp
@@ -0,0 +1,62 @@
+// Taken from http://cgit.freedesktop.org/cairomm/plain/examples/surfaces/image-surface.cc
+
+
+/* M_PI is defined in math.h in the case of Microsoft Visual C++, Solaris,
+ * et. al.
+ */
+#if defined(_MSC_VER)
+#define _USE_MATH_DEFINES
+#endif
+
+#include <string>
+#include <iostream>
+#include <cairommconfig.h>
+#include <cairomm/context.h>
+#include <cairomm/surface.h>
+
+#include <cmath>
+
+int main()
+{
+ Cairo::RefPtr<Cairo::ImageSurface> surface =
+ Cairo::ImageSurface::create(Cairo::FORMAT_ARGB32, 600, 400);
+
+ Cairo::RefPtr<Cairo::Context> cr = Cairo::Context::create(surface);
+
+ cr->save(); // save the state of the context
+ cr->set_source_rgb(0.86, 0.85, 0.47);
+ cr->paint(); // fill image with the color
+ cr->restore(); // color is back to black now
+
+ cr->save();
+ // draw a border around the image
+ cr->set_line_width(20.0); // make the line wider
+ cr->rectangle(0.0, 0.0, surface->get_width(), surface->get_height());
+ cr->stroke();
+
+ cr->set_source_rgba(0.0, 0.0, 0.0, 0.7);
+ // draw a circle in the center of the image
+ cr->arc(surface->get_width() / 2.0, surface->get_height() / 2.0,
+ surface->get_height() / 4.0, 0.0, 2.0 * M_PI);
+ cr->stroke();
+
+ // draw a diagonal line
+ cr->move_to(surface->get_width() / 4.0, surface->get_height() / 4.0);
+ cr->line_to(surface->get_width() * 3.0 / 4.0, surface->get_height() * 3.0 / 4.0);
+ cr->stroke();
+ cr->restore();
+
+#ifdef CAIRO_HAS_PNG_FUNCTIONS
+
+ std::string filename = "image.png";
+ surface->write_to_png(filename);
+
+ std::cout << "Wrote png file \"" << filename << "\"" << std::endl;
+
+#else
+
+ std::cout << "You must compile cairo with PNG support for this example to work."
+ << std::endl;
+
+#endif
+}
diff --git a/Tests/FindGTK2/gdk/CMakeLists.txt b/Tests/FindGTK2/gdk/CMakeLists.txt
new file mode 100644
index 0000000..f485236
--- /dev/null
+++ b/Tests/FindGTK2/gdk/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(gdk C)
+
+find_package(GTK2 COMPONENTS gtk REQUIRED)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+add_executable(gdk WIN32 main.c)
+target_link_libraries(gdk GTK2::gdk)
diff --git a/Tests/FindGTK2/gdk/main.c b/Tests/FindGTK2/gdk/main.c
new file mode 100644
index 0000000..ac1bd4b
--- /dev/null
+++ b/Tests/FindGTK2/gdk/main.c
@@ -0,0 +1,7 @@
+#include <gdk/gdk.h>
+
+int main(int argc, char *argv[])
+{
+ gdk_init(argc, argv);
+ return 0;
+}
diff --git a/Tests/FindGTK2/gdk_pixbuf/CMakeLists.txt b/Tests/FindGTK2/gdk_pixbuf/CMakeLists.txt
new file mode 100644
index 0000000..004e82e
--- /dev/null
+++ b/Tests/FindGTK2/gdk_pixbuf/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(gdk_pixbuf C)
+
+find_package(GTK2 COMPONENTS gtk REQUIRED)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+add_executable(gdk_pixbuf WIN32 main.c)
+target_link_libraries(gdk_pixbuf GTK2::gdk_pixbuf)
diff --git a/Tests/FindGTK2/gdk_pixbuf/main.c b/Tests/FindGTK2/gdk_pixbuf/main.c
new file mode 100644
index 0000000..e42b83e
--- /dev/null
+++ b/Tests/FindGTK2/gdk_pixbuf/main.c
@@ -0,0 +1,10 @@
+#include <gdk-pixbuf/gdk-pixbuf.h>
+
+int main(int argc, char *argv[])
+{
+ const char *version = gdk_pixbuf_version;
+ const guint major = gdk_pixbuf_major_version;
+ const guint minor = gdk_pixbuf_minor_version;
+ const guint micro = gdk_pixbuf_micro_version;
+ return 0;
+}
diff --git a/Tests/FindGTK2/gdkmm/CMakeLists.txt b/Tests/FindGTK2/gdkmm/CMakeLists.txt
new file mode 100644
index 0000000..a54fc4f
--- /dev/null
+++ b/Tests/FindGTK2/gdkmm/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(gdkmm CXX)
+
+find_package(GTK2 COMPONENTS gtk gtkmm REQUIRED)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+add_executable(gdkmm WIN32 main.cpp)
+target_link_libraries(gdkmm GTK2::gdkmm)
diff --git a/Tests/FindGTK2/gdkmm/main.cpp b/Tests/FindGTK2/gdkmm/main.cpp
new file mode 100644
index 0000000..935bcc4
--- /dev/null
+++ b/Tests/FindGTK2/gdkmm/main.cpp
@@ -0,0 +1,7 @@
+#include <gdkmm.h>
+
+int main(int argc, char *argv[])
+{
+ Gdk::Color red = Gdk::Color("red");
+ return 0;
+}
diff --git a/Tests/FindGTK2/gio/CMakeLists.txt b/Tests/FindGTK2/gio/CMakeLists.txt
new file mode 100644
index 0000000..db9cdd0
--- /dev/null
+++ b/Tests/FindGTK2/gio/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(gio C)
+
+find_package(GTK2 COMPONENTS gtk REQUIRED)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+add_executable(gio WIN32 main.c)
+target_link_libraries(gio GTK2::gio)
diff --git a/Tests/FindGTK2/gio/main.c b/Tests/FindGTK2/gio/main.c
new file mode 100644
index 0000000..13f4304
--- /dev/null
+++ b/Tests/FindGTK2/gio/main.c
@@ -0,0 +1,8 @@
+#include <gio/gio.h>
+
+int main(int argc, char *argv[])
+{
+ GFile *file = g_file_new_for_path("path");
+ g_object_unref(file);
+ return 0;
+}
diff --git a/Tests/FindGTK2/giomm/CMakeLists.txt b/Tests/FindGTK2/giomm/CMakeLists.txt
new file mode 100644
index 0000000..46cfef5
--- /dev/null
+++ b/Tests/FindGTK2/giomm/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(giomm CXX)
+
+find_package(GTK2 COMPONENTS gtk gtkmm REQUIRED)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+add_executable(giomm WIN32 main.cpp)
+target_link_libraries(giomm GTK2::giomm)
diff --git a/Tests/FindGTK2/giomm/main.cpp b/Tests/FindGTK2/giomm/main.cpp
new file mode 100644
index 0000000..8303ba9
--- /dev/null
+++ b/Tests/FindGTK2/giomm/main.cpp
@@ -0,0 +1,7 @@
+#include <giomm.h>
+
+int main(int argc, char *argv[])
+{
+ Glib::RefPtr<Gio::File> f = Gio::File::create_for_path("path");
+ return 0;
+}
diff --git a/Tests/FindGTK2/glib/CMakeLists.txt b/Tests/FindGTK2/glib/CMakeLists.txt
new file mode 100644
index 0000000..1aa73ff
--- /dev/null
+++ b/Tests/FindGTK2/glib/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(glib C)
+
+find_package(GTK2 COMPONENTS gtk REQUIRED)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+add_executable(glib WIN32 main.c)
+target_link_libraries(glib GTK2::glib)
diff --git a/Tests/FindGTK2/glib/main.c b/Tests/FindGTK2/glib/main.c
new file mode 100644
index 0000000..80d0554
--- /dev/null
+++ b/Tests/FindGTK2/glib/main.c
@@ -0,0 +1,11 @@
+#include <glib.h>
+
+int main(int argc, char *argv[])
+{
+ if (!g_file_test("file", G_FILE_TEST_EXISTS)) {
+ g_print("File not found. \n");
+ } else {
+ g_print("File found. \n");
+ }
+ return 0;
+}
diff --git a/Tests/FindGTK2/glibmm/CMakeLists.txt b/Tests/FindGTK2/glibmm/CMakeLists.txt
new file mode 100644
index 0000000..af8ddcf
--- /dev/null
+++ b/Tests/FindGTK2/glibmm/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(glibmm CXX)
+
+find_package(GTK2 COMPONENTS gtk gtkmm REQUIRED)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+add_executable(glibmm WIN32 main.cpp)
+target_link_libraries(glibmm GTK2::glibmm)
diff --git a/Tests/FindGTK2/glibmm/main.cpp b/Tests/FindGTK2/glibmm/main.cpp
new file mode 100644
index 0000000..0e8cdae
--- /dev/null
+++ b/Tests/FindGTK2/glibmm/main.cpp
@@ -0,0 +1,7 @@
+#include <glibmm/init.h>
+
+int main(int, char**)
+{
+ Glib::init();
+ return 0;
+}
diff --git a/Tests/FindGTK2/gmodule/CMakeLists.txt b/Tests/FindGTK2/gmodule/CMakeLists.txt
new file mode 100644
index 0000000..9717da8
--- /dev/null
+++ b/Tests/FindGTK2/gmodule/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(gmodule C)
+
+find_package(GTK2 COMPONENTS gtk REQUIRED)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+add_executable(gmodule WIN32 main.c)
+target_link_libraries(gmodule GTK2::gmodule)
diff --git a/Tests/FindGTK2/gmodule/main.c b/Tests/FindGTK2/gmodule/main.c
new file mode 100644
index 0000000..5c85a6f
--- /dev/null
+++ b/Tests/FindGTK2/gmodule/main.c
@@ -0,0 +1,7 @@
+#include <gmodule.h>
+
+int main(int argc, char *argv[])
+{
+ gboolean b = g_module_supported();
+ return 0;
+}
diff --git a/Tests/FindGTK2/gobject/CMakeLists.txt b/Tests/FindGTK2/gobject/CMakeLists.txt
new file mode 100644
index 0000000..c51fd4d
--- /dev/null
+++ b/Tests/FindGTK2/gobject/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(gobject C)
+
+find_package(GTK2 COMPONENTS gtk REQUIRED)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+add_executable(gobject WIN32 main.c)
+target_link_libraries(gobject GTK2::gobject)
diff --git a/Tests/FindGTK2/gobject/main.c b/Tests/FindGTK2/gobject/main.c
new file mode 100644
index 0000000..d3e13f9
--- /dev/null
+++ b/Tests/FindGTK2/gobject/main.c
@@ -0,0 +1,72 @@
+/* Taken from https://developer.gnome.org/gobject/stable/chapter-gobject.html */
+
+
+#include <glib-object.h>
+
+
+#define MAMAN_TYPE_BAR (maman_bar_get_type ())
+#define MAMAN_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAMAN_TYPE_BAR, MamanBar))
+#define MAMAN_IS_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MAMAN_TYPE_BAR))
+#define MAMAN_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MAMAN_TYPE_BAR, MamanBarClass))
+#define MAMAN_IS_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MAMAN_TYPE_BAR))
+#define MAMAN_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MAMAN_TYPE_BAR, MamanBarClass))
+
+typedef struct _MamanBar MamanBar;
+typedef struct _MamanBarClass MamanBarClass;
+
+struct _MamanBar
+{
+ GObject parent_instance;
+
+ /* instance members */
+};
+
+struct _MamanBarClass
+{
+ GObjectClass parent_class;
+
+ /* class members */
+};
+
+/* will create maman_bar_get_type and set maman_bar_parent_class */
+G_DEFINE_TYPE (MamanBar, maman_bar, G_TYPE_OBJECT);
+
+static GObject *
+maman_bar_constructor (GType gtype,
+ guint n_properties,
+ GObjectConstructParam *properties)
+{
+ GObject *obj;
+
+ {
+ /* Always chain up to the parent constructor */
+ obj = G_OBJECT_CLASS (maman_bar_parent_class)->constructor (gtype, n_properties, properties);
+ }
+
+ /* update the object state depending on constructor properties */
+
+ return obj;
+}
+
+static void
+maman_bar_class_init (MamanBarClass *klass)
+{
+ GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
+
+ gobject_class->constructor = maman_bar_constructor;
+}
+
+static void
+maman_bar_init (MamanBar *self)
+{
+ /* initialize the object */
+}
+
+
+int
+main(int argc, char *argv[])
+{
+ MamanBar *bar = g_object_new (MAMAN_TYPE_BAR, NULL);
+ g_object_unref(bar);
+ return 0;
+}
diff --git a/Tests/FindGTK2/gthread/CMakeLists.txt b/Tests/FindGTK2/gthread/CMakeLists.txt
new file mode 100644
index 0000000..a90294d0
--- /dev/null
+++ b/Tests/FindGTK2/gthread/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(gthread C)
+
+find_package(GTK2 COMPONENTS gtk REQUIRED)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+add_executable(gthread WIN32 main.c)
+target_link_libraries(gthread GTK2::gthread)
diff --git a/Tests/FindGTK2/gthread/main.c b/Tests/FindGTK2/gthread/main.c
new file mode 100644
index 0000000..ce68cbd
--- /dev/null
+++ b/Tests/FindGTK2/gthread/main.c
@@ -0,0 +1,7 @@
+#include <glib.h>
+
+int main(int argc, char *argv[])
+{
+ g_thread_init(NULL);
+ return 0;
+}
diff --git a/Tests/FindGTK2/gtk/CMakeLists.txt b/Tests/FindGTK2/gtk/CMakeLists.txt
new file mode 100644
index 0000000..11603ae
--- /dev/null
+++ b/Tests/FindGTK2/gtk/CMakeLists.txt
@@ -0,0 +1,14 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(gtk C)
+
+find_package(GTK2 COMPONENTS gtk REQUIRED)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+add_executable(gtk WIN32 main.c)
+target_link_libraries(gtk GTK2::gtk)
+
+add_executable(gtk-all-libs WIN32 main.c)
+target_link_libraries(gtk-all-libs ${GTK2_LIBRARIES})
+target_include_directories(gtk-all-libs PRIVATE ${GTK2_INCLUDE_DIRS})
diff --git a/Tests/FindGTK2/gtk/main.c b/Tests/FindGTK2/gtk/main.c
new file mode 100644
index 0000000..309c328
--- /dev/null
+++ b/Tests/FindGTK2/gtk/main.c
@@ -0,0 +1,15 @@
+#include <gtk/gtk.h>
+
+int main(int argc, char *argv[])
+{
+ GtkWidget *window;
+
+ gtk_init (&argc, &argv);
+
+ window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ gtk_widget_show (window);
+
+ gtk_main ();
+
+ return 0;
+}
diff --git a/Tests/FindGTK2/gtkmm/CMakeLists.txt b/Tests/FindGTK2/gtkmm/CMakeLists.txt
new file mode 100644
index 0000000..32aafe2
--- /dev/null
+++ b/Tests/FindGTK2/gtkmm/CMakeLists.txt
@@ -0,0 +1,14 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(gtkmm CXX)
+
+find_package(GTK2 COMPONENTS gtk gtkmm REQUIRED)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+add_executable(gtkmm-target WIN32 main.cpp helloworld.cpp helloworld.h)
+target_link_libraries(gtkmm-target GTK2::gtkmm)
+
+add_executable(gtkmm-all-libs WIN32 main.cpp helloworld.cpp helloworld.h)
+target_link_libraries(gtkmm-all-libs ${GTK2_LIBRARIES})
+target_include_directories(gtkmm-all-libs PRIVATE ${GTK2_INCLUDE_DIRS})
diff --git a/Tests/FindGTK2/gtkmm/helloworld.cpp b/Tests/FindGTK2/gtkmm/helloworld.cpp
new file mode 100644
index 0000000..535f44a
--- /dev/null
+++ b/Tests/FindGTK2/gtkmm/helloworld.cpp
@@ -0,0 +1,29 @@
+#include "helloworld.h"
+#include <iostream>
+
+HelloWorld::HelloWorld()
+ : m_button("Hello World") // creates a new button with label "Hello World".
+{
+ // Sets the border width of the window.
+ set_border_width(10);
+
+ // When the button receives the "clicked" signal, it will call the
+ // on_button_clicked() method defined below.
+ m_button.signal_clicked().connect(sigc::mem_fun(*this,
+ &HelloWorld::on_button_clicked));
+
+ // This packs the button into the Window (a container).
+ add(m_button);
+
+ // The final step is to display this newly created widget...
+ m_button.show();
+}
+
+HelloWorld::~HelloWorld()
+{
+}
+
+void HelloWorld::on_button_clicked()
+{
+ std::cout << "Hello World" << std::endl;
+}
diff --git a/Tests/FindGTK2/gtkmm/helloworld.h b/Tests/FindGTK2/gtkmm/helloworld.h
new file mode 100644
index 0000000..ab9a076
--- /dev/null
+++ b/Tests/FindGTK2/gtkmm/helloworld.h
@@ -0,0 +1,20 @@
+#ifndef GTKMM_EXAMPLE_HELLOWORLD_H
+#define GTKMM_EXAMPLE_HELLOWORLD_H
+
+#include <gtkmm.h>
+
+class HelloWorld : public Gtk::Window
+{
+public:
+ HelloWorld();
+ virtual ~HelloWorld();
+
+protected:
+ //Signal handlers:
+ void on_button_clicked();
+
+ //Member widgets:
+ Gtk::Button m_button;
+};
+
+#endif // GTKMM_EXAMPLE_HELLOWORLD_H
diff --git a/Tests/FindGTK2/gtkmm/main.cpp b/Tests/FindGTK2/gtkmm/main.cpp
new file mode 100644
index 0000000..5ff64d1
--- /dev/null
+++ b/Tests/FindGTK2/gtkmm/main.cpp
@@ -0,0 +1,13 @@
+#include <gtkmm.h>
+#include "helloworld.h"
+
+int main(int argc, char *argv[])
+{
+ Gtk::Main kit(argc, argv);
+
+ HelloWorld helloworld;
+ //Shows the window and returns when it is closed.
+ Gtk::Main::run(helloworld);
+
+ return 0;
+}
diff --git a/Tests/FindGTK2/pango/CMakeLists.txt b/Tests/FindGTK2/pango/CMakeLists.txt
new file mode 100644
index 0000000..af382a4
--- /dev/null
+++ b/Tests/FindGTK2/pango/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(pango C)
+
+find_package(GTK2 COMPONENTS gtk REQUIRED)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+add_executable(pango WIN32 main.c)
+target_link_libraries(pango GTK2::pango)
diff --git a/Tests/FindGTK2/pango/main.c b/Tests/FindGTK2/pango/main.c
new file mode 100644
index 0000000..ef87ce4
--- /dev/null
+++ b/Tests/FindGTK2/pango/main.c
@@ -0,0 +1,7 @@
+#include <pango/pango.h>
+
+int main(int argc, char *argv[])
+{
+ gboolean ret = pango_color_parse(NULL, "#ffffff");
+ return 0;
+}
diff --git a/Tests/FindGTK2/pangocairo/CMakeLists.txt b/Tests/FindGTK2/pangocairo/CMakeLists.txt
new file mode 100644
index 0000000..8f61379
--- /dev/null
+++ b/Tests/FindGTK2/pangocairo/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(pangocairo C)
+
+find_package(GTK2 COMPONENTS gtk REQUIRED)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+add_executable(pangocairo WIN32 main.c)
+target_link_libraries(pangocairo GTK2::pangocairo m)
diff --git a/Tests/FindGTK2/pangocairo/main.c b/Tests/FindGTK2/pangocairo/main.c
new file mode 100644
index 0000000..78268d6
--- /dev/null
+++ b/Tests/FindGTK2/pangocairo/main.c
@@ -0,0 +1,72 @@
+/* Taken from https://developer.gnome.org/pango/stable/pango-Cairo-Rendering.html */
+
+
+#include <math.h>
+#include <pango/pangocairo.h>
+static void
+draw_text (cairo_t *cr)
+{
+#define RADIUS 150
+#define N_WORDS 10
+#define FONT "Sans Bold 27"
+ PangoLayout *layout;
+ PangoFontDescription *desc;
+ int i;
+ /* Center coordinates on the middle of the region we are drawing
+ */
+ cairo_translate (cr, RADIUS, RADIUS);
+ /* Create a PangoLayout, set the font and text */
+ layout = pango_cairo_create_layout (cr);
+ pango_layout_set_text (layout, "Text", -1);
+ desc = pango_font_description_from_string (FONT);
+ pango_layout_set_font_description (layout, desc);
+ pango_font_description_free (desc);
+ /* Draw the layout N_WORDS times in a circle */
+ for (i = 0; i < N_WORDS; i++)
+ {
+ int width, height;
+ double angle = (360. * i) / N_WORDS;
+ double red;
+ cairo_save (cr);
+ /* Gradient from red at angle == 60 to blue at angle == 240 */
+ red = (1 + cos ((angle - 60) * G_PI / 180.)) / 2;
+ cairo_set_source_rgb (cr, red, 0, 1.0 - red);
+ cairo_rotate (cr, angle * G_PI / 180.);
+ /* Inform Pango to re-layout the text with the new transformation */
+ pango_cairo_update_layout (cr, layout);
+ pango_layout_get_size (layout, &width, &height);
+ cairo_move_to (cr, - ((double)width / PANGO_SCALE) / 2, - RADIUS);
+ pango_cairo_show_layout (cr, layout);
+ cairo_restore (cr);
+ }
+ /* free the layout object */
+ g_object_unref (layout);
+}
+int main (int argc, char **argv)
+{
+ cairo_t *cr;
+ char *filename;
+ cairo_status_t status;
+ cairo_surface_t *surface;
+ if (argc != 2)
+ {
+ g_printerr ("Usage: cairosimple OUTPUT_FILENAME\n");
+ return 1;
+ }
+ filename = argv[1];
+ surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
+ 2 * RADIUS, 2 * RADIUS);
+ cr = cairo_create (surface);
+ cairo_set_source_rgb (cr, 1.0, 1.0, 1.0);
+ cairo_paint (cr);
+ draw_text (cr);
+ cairo_destroy (cr);
+ status = cairo_surface_write_to_png (surface, filename);
+ cairo_surface_destroy (surface);
+ if (status != CAIRO_STATUS_SUCCESS)
+ {
+ g_printerr ("Could not save png to '%s'\n", filename);
+ return 1;
+ }
+ return 0;
+}
diff --git a/Tests/FindGTK2/pangoft2/CMakeLists.txt b/Tests/FindGTK2/pangoft2/CMakeLists.txt
new file mode 100644
index 0000000..0f84c7f
--- /dev/null
+++ b/Tests/FindGTK2/pangoft2/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(pangoft2 C)
+
+find_package(GTK2 COMPONENTS gtk REQUIRED)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+add_executable(pangoft2 WIN32 main.c)
+target_link_libraries(pangoft2 GTK2::pangoft2)
diff --git a/Tests/FindGTK2/pangoft2/main.c b/Tests/FindGTK2/pangoft2/main.c
new file mode 100644
index 0000000..cf3459e
--- /dev/null
+++ b/Tests/FindGTK2/pangoft2/main.c
@@ -0,0 +1,8 @@
+#include <pango/pangoft2.h>
+
+int main(int argc, char *argv[])
+{
+ PangoFontMap* pfm = pango_ft2_font_map_new();
+ g_object_unref(pfm);
+ return 0;
+}
diff --git a/Tests/FindGTK2/pangomm/CMakeLists.txt b/Tests/FindGTK2/pangomm/CMakeLists.txt
new file mode 100644
index 0000000..3650c50
--- /dev/null
+++ b/Tests/FindGTK2/pangomm/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(pangomm CXX)
+
+find_package(GTK2 COMPONENTS gtk gtkmm REQUIRED)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+add_executable(pangomm WIN32 main.cpp)
+target_link_libraries(pangomm GTK2::pangomm)
diff --git a/Tests/FindGTK2/pangomm/main.cpp b/Tests/FindGTK2/pangomm/main.cpp
new file mode 100644
index 0000000..32ec914
--- /dev/null
+++ b/Tests/FindGTK2/pangomm/main.cpp
@@ -0,0 +1,8 @@
+#include <pangomm.h>
+#include <pangomm/init.h>
+
+int main(int argc, char *argv[])
+{
+ Pango::init();
+ return 0;
+}
diff --git a/Tests/FindGTK2/pangoxft/CMakeLists.txt b/Tests/FindGTK2/pangoxft/CMakeLists.txt
new file mode 100644
index 0000000..0db16b1
--- /dev/null
+++ b/Tests/FindGTK2/pangoxft/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(pangoxft C)
+
+find_package(GTK2 COMPONENTS gtk REQUIRED)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+add_executable(pangoxft WIN32 main.c)
+target_link_libraries(pangoxft GTK2::pangoxft)
diff --git a/Tests/FindGTK2/pangoxft/main.c b/Tests/FindGTK2/pangoxft/main.c
new file mode 100644
index 0000000..cb04f61
--- /dev/null
+++ b/Tests/FindGTK2/pangoxft/main.c
@@ -0,0 +1,7 @@
+#include <pango/pangoxft.h>
+
+int main(int argc, char *argv[])
+{
+ pango_xft_get_context(NULL, 0);
+ return 0;
+}
diff --git a/Tests/FindGTK2/sigc++/CMakeLists.txt b/Tests/FindGTK2/sigc++/CMakeLists.txt
new file mode 100644
index 0000000..f830b81
--- /dev/null
+++ b/Tests/FindGTK2/sigc++/CMakeLists.txt
@@ -0,0 +1,10 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(sigc++ CXX)
+
+find_package(GTK2 COMPONENTS gtk gtkmm REQUIRED)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+add_executable(sigc++ WIN32 main.cpp)
+target_link_libraries(sigc++ GTK2::sigc++)
diff --git a/Tests/FindGTK2/sigc++/main.cpp b/Tests/FindGTK2/sigc++/main.cpp
new file mode 100644
index 0000000..78428e7
--- /dev/null
+++ b/Tests/FindGTK2/sigc++/main.cpp
@@ -0,0 +1,30 @@
+// Taken from https://developer.gnome.org/libsigc++-tutorial/stable/ch02.html
+
+
+#include <sigc++/sigc++.h>
+#include <iostream>
+
+class AlienDetector
+{
+public:
+ AlienDetector() {}
+
+ void run() {}
+
+ sigc::signal<void> signal_detected;
+};
+
+void warn_people()
+{
+ std::cout << "There are aliens in the carpark!" << std::endl;
+}
+
+int main()
+{
+ AlienDetector mydetector;
+ mydetector.signal_detected.connect( sigc::ptr_fun(warn_people) );
+
+ mydetector.run();
+
+ return 0;
+}
diff --git a/Tests/FindPackageModeMakefileTest/CMakeLists.txt b/Tests/FindPackageModeMakefileTest/CMakeLists.txt
index 3674f0e..5d1b376 100644
--- a/Tests/FindPackageModeMakefileTest/CMakeLists.txt
+++ b/Tests/FindPackageModeMakefileTest/CMakeLists.txt
@@ -19,8 +19,16 @@ if(UNIX AND "${CMAKE_GENERATOR}" MATCHES "Makefile")
configure_file(FindFoo.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/FindFoo.cmake @ONLY)
# now set up the test:
- get_target_property(cmakeExecutable cmake LOCATION)
-
+ if (NOT CMAKE_VERSION VERSION_LESS 2.8.12)
+ file(GENERATE OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/cmakeExecutable.mk"
+ CONTENT "CMAKE = \"$<TARGET_FILE:cmake>\"\n"
+ )
+ else()
+ get_target_property(cmakeLocation cmake LOCATION)
+ file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/cmakeExecutable.mk"
+ "CMAKE = \"${cmakeLocation}\"\n"
+ )
+ endif()
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Makefile.in ${CMAKE_CURRENT_BINARY_DIR}/ConfMakefile @ONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/main.cpp ${CMAKE_CURRENT_BINARY_DIR}/main.cpp COPYONLY)
diff --git a/Tests/FindPackageModeMakefileTest/Makefile.in b/Tests/FindPackageModeMakefileTest/Makefile.in
index f647901..e4df9d6 100644
--- a/Tests/FindPackageModeMakefileTest/Makefile.in
+++ b/Tests/FindPackageModeMakefileTest/Makefile.in
@@ -1,4 +1,6 @@
-CMAKE = "@cmakeExecutable@"
+
+include cmakeExecutable.mk
+
CMAKE_CURRENT_BINARY_DIR = "@CMAKE_CURRENT_BINARY_DIR@"
CMAKE_CXX_COMPILER = "@CMAKE_CXX_COMPILER@"
CMAKE_CXX_COMPILER_ID = "@CMAKE_CXX_COMPILER_ID@"
@@ -7,9 +9,9 @@ CMAKE_FOO = $(CMAKE) --find-package -DCMAKE_MODULE_PATH=$(CMAKE_CURRENT_BINARY_D
tmp = tmp.txt
-all: clean pngtest
+all: pngtest
-main.o: main.cpp
+main.o: clean main.cpp
@$(CMAKE_FOO) -DMODE=COMPILE >$(tmp)
@foo="`cat $(tmp)`"; \
printf '"%s" %s %s -c main.cpp\n' $(CMAKE_CXX_COMPILER) "$(CXXFLAGS)" "$$foo" >$(tmp)
diff --git a/Tests/Fortran/CMakeLists.txt b/Tests/Fortran/CMakeLists.txt
index cda5fed..adc4308 100644
--- a/Tests/Fortran/CMakeLists.txt
+++ b/Tests/Fortran/CMakeLists.txt
@@ -1,5 +1,9 @@
cmake_minimum_required (VERSION 2.6)
project(testf C CXX Fortran)
+if(NOT DEFINED CMAKE_TEST_MAKEPROGRAM AND NOT CMAKE_GENERATOR MATCHES "Visual Studio")
+ set(CMAKE_TEST_MAKEPROGRAM "${CMAKE_MAKE_PROGRAM}")
+endif()
+
message("CTEST_FULL_OUTPUT ")
set(CMAKE_VERBOSE_MAKEFILE 1)
message("ENV_FLAGS = $ENV{FFLAGS}")
@@ -198,13 +202,13 @@ if(TEST_MODULE_DEPENDS)
--build-project ExtFort
--build-generator ${CMAKE_GENERATOR}
--build-generator-toolset "${CMAKE_GENERATOR_TOOLSET}"
- --build-makeprogram ${CMAKE_MAKE_PROGRAM}
--build-options -DCMAKE_Fortran_COMPILER:STRING=${CMAKE_Fortran_COMPILER}
-DCMAKE_Fortran_FLAGS:STRING=${CMAKE_Fortran_FLAGS}
-DCMAKE_Fortran_FLAGS_DEBUG:STRING=${CMAKE_Fortran_FLAGS_DEBUG}
-DCMAKE_Fortran_FLAGS_RELEASE:STRING=${CMAKE_Fortran_FLAGS_RELEASE}
-DCMAKE_Fortran_FLAGS_MINSIZEREL:STRING=${CMAKE_Fortran_FLAGS_MINSIZEREL}
-DCMAKE_Fortran_FLAGS_RELWITHDEBINFO:STRING=${CMAKE_Fortran_FLAGS_RELWITHDEBINFO}
+ -DCMAKE_MAKE_PROGRAM:FILEPATH=${CMAKE_TEST_MAKEPROGRAM}
${External_BUILD_TYPE}
VERBATIM
)
diff --git a/Tests/GeneratorExpression/CMP0044/CMakeLists.txt b/Tests/GeneratorExpression/CMP0044/CMakeLists.txt
new file mode 100644
index 0000000..309a8cc
--- /dev/null
+++ b/Tests/GeneratorExpression/CMP0044/CMakeLists.txt
@@ -0,0 +1,19 @@
+
+string(TOLOWER ${CMAKE_C_COMPILER_ID} lc_test)
+if (lc_test STREQUAL CMAKE_C_COMPILER_ID)
+ string(TOUPPER ${CMAKE_C_COMPILER_ID} lc_test)
+ if (lc_test STREQUAL CMAKE_C_COMPILER_ID)
+ message(SEND_ERROR "Try harder.")
+ endif()
+endif()
+
+if (CMP0044_TYPE)
+ cmake_policy(SET CMP0044 ${CMP0044_TYPE})
+endif()
+
+add_library(cmp0044-check-${CMP0044_TYPE} cmp0044-check.cpp)
+target_compile_definitions(cmp0044-check-${CMP0044_TYPE}
+ PRIVATE
+ Result=$<C_COMPILER_ID:${lc_test}>
+ Type_Is_${CMP0044_TYPE}
+)
diff --git a/Tests/GeneratorExpression/CMP0044/cmp0044-check.cpp b/Tests/GeneratorExpression/CMP0044/cmp0044-check.cpp
new file mode 100644
index 0000000..2356bc4
--- /dev/null
+++ b/Tests/GeneratorExpression/CMP0044/cmp0044-check.cpp
@@ -0,0 +1,26 @@
+
+#ifdef Type_Is_
+# if !Result
+# error Result should be 1 in WARN mode
+# endif
+#endif
+
+#ifdef Type_Is_NEW
+# if Result
+# error Result should be 0 in NEW mode
+# endif
+#endif
+
+#ifdef Type_Is_OLD
+# if !Result
+# error Result should be 1 in OLD mode
+# endif
+#endif
+
+#if !defined(Type_Is_) && !defined(Type_Is_OLD) && !defined(Type_Is_NEW)
+#error No expected definition present
+#endif
+
+void foo(void)
+{
+}
diff --git a/Tests/GeneratorExpression/CMakeLists.txt b/Tests/GeneratorExpression/CMakeLists.txt
index 4d8d7ed..a0e34ef 100644
--- a/Tests/GeneratorExpression/CMakeLists.txt
+++ b/Tests/GeneratorExpression/CMakeLists.txt
@@ -1,5 +1,7 @@
cmake_minimum_required (VERSION 2.8.8)
-project(GeneratorExpression CXX)
+project(GeneratorExpression)
+
+include(CTest)
# This test is split into multiple parts as needed to avoid NMake command
# length limits.
@@ -11,6 +13,7 @@ add_custom_target(check-part1 ALL
-Dtest_1=$<1:content>
-Dtest_1_with_comma=$<1:-Wl,--no-undefined>
-Dconfig=$<CONFIGURATION>
+ -Dshort_config=$<CONFIG>
-Dtest_and_0=$<AND:0>
-Dtest_and_0_0=$<AND:0,0>
-Dtest_and_0_1=$<AND:0,1>
@@ -186,7 +189,72 @@ add_custom_target(check-part3 ALL
-Dtest_alias_target_name=$<STREQUAL:$<TARGET_PROPERTY:Alias::SomeLib,NAME>,$<TARGET_PROPERTY:empty1,NAME>>
-Dtest_early_termination_1=$<$<1:>:
-Dtest_early_termination_2=$<$<1:>:,
+ -Dsystem_name=${CMAKE_HOST_SYSTEM_NAME}
+ -Dtest_platform_id=$<PLATFORM_ID>
+ -Dtest_platform_id_Linux=$<PLATFORM_ID:Linux>
+ -Dtest_platform_id_Windows=$<PLATFORM_ID:Windows>
+ -Dtest_platform_id_Darwin=$<PLATFORM_ID:Darwin>
+ -Dlower_case=$<LOWER_CASE:Mi,XeD>
+ -Dupper_case=$<UPPER_CASE:MiX,eD>
+ -Dmake_c_identifier=$<MAKE_C_IDENTIFIER:4f,oo:+bar-$>
+ -Dequal1=$<EQUAL:1,2>
+ -Dequal2=$<EQUAL:1,1>
+ -Dequal3=$<EQUAL:0x1,1>
+ -Dequal4=$<EQUAL:0X1,2>
+ -Dequal5=$<EQUAL:0xA,0xa>
+ -Dequal6=$<EQUAL:0xA,10>
+ -Dequal7=$<EQUAL:0xA,012>
+ -Dequal8=$<EQUAL:10,012>
+ -Dequal9=$<EQUAL:10,010>
+ -Dequal10=$<EQUAL:10,0b1010>
+ -Dequal11=$<EQUAL:-10,-0xa>
+ -Dequal12=$<EQUAL:10,+0xa>
+ -Dequal13=$<EQUAL:+10,+0Xa>
+ -Dequal14=$<EQUAL:+10,0xa>
+ -Dequal15=$<EQUAL:-10,-0Xa>
+ -Dequal16=$<EQUAL:-10,-0b1010>
+ -Dequal17=$<EQUAL:-10,+0b1010>
+ -Dequal18=$<EQUAL:10,+0B1010>
+ -Dequal19=$<EQUAL:10,-0B1010>
+ -Dequal20=$<EQUAL:10,0B1010>
+ -Dequal21=$<EQUAL:10,+012>
+ -Dequal22=$<EQUAL:10,-012>
+ -Dequal23=$<EQUAL:-10,-012>
-P ${CMAKE_CURRENT_SOURCE_DIR}/check-part3.cmake
COMMAND ${CMAKE_COMMAND} -E echo "check done (part 3 of 3)"
VERBATIM
)
+
+#-----------------------------------------------------------------------------
+# Cover test properties with generator expressions.
+add_executable(echo echo.c)
+add_executable(pwd pwd.c)
+
+add_test(NAME echo-configuration COMMAND echo $<CONFIGURATION>)
+set_property(TEST echo-configuration PROPERTY
+ PASS_REGULAR_EXPRESSION "^$<CONFIGURATION>\n$")
+
+add_test(NAME echo-target-file COMMAND echo $<TARGET_FILE:echo>)
+set_property(TEST echo-target-file PROPERTY
+ PASS_REGULAR_EXPRESSION "/echo${CMAKE_EXECUTABLE_SUFFIX}\n$")
+set_property(TEST echo-target-file PROPERTY
+ REQUIRED_FILES "$<TARGET_FILE:echo>")
+
+add_test(NAME working-dir-arg
+ WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/WorkingDirectory/$<CONFIGURATION>"
+ COMMAND pwd)
+set_property(TEST working-dir-arg PROPERTY
+ PASS_REGULAR_EXPRESSION "WorkingDirectory/$<CONFIGURATION>\n$")
+foreach(c ${CMAKE_CONFIGURATION_TYPES} ${CMAKE_BUILD_TYPE})
+ file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/WorkingDirectory/${c}")
+endforeach()
+
+add_test(echo-old-style echo "\$<CONFIGURATION>")
+set_property(TEST echo-old-style PROPERTY
+ PASS_REGULAR_EXPRESSION "^\\$<CONFIGURATION>\n$")
+
+add_subdirectory(CMP0044 ${CMAKE_BINARY_DIR}/CMP0044-WARN)
+set(CMP0044_TYPE NEW)
+add_subdirectory(CMP0044 ${CMAKE_BINARY_DIR}/CMP0044-NEW)
+set(CMP0044_TYPE OLD)
+add_subdirectory(CMP0044 ${CMAKE_BINARY_DIR}/CMP0044-OLD)
diff --git a/Tests/GeneratorExpression/check-part1.cmake b/Tests/GeneratorExpression/check-part1.cmake
index 9bef159..3207582 100644
--- a/Tests/GeneratorExpression/check-part1.cmake
+++ b/Tests/GeneratorExpression/check-part1.cmake
@@ -2,6 +2,7 @@
include(${CMAKE_CURRENT_LIST_DIR}/check-common.cmake)
message(STATUS "config=[${config}]")
+check(config "${short_config}")
check(test_0 "")
check(test_0_with_comma "")
check(test_1 "content")
diff --git a/Tests/GeneratorExpression/check-part3.cmake b/Tests/GeneratorExpression/check-part3.cmake
index 74a596c..70ccfe1 100644
--- a/Tests/GeneratorExpression/check-part3.cmake
+++ b/Tests/GeneratorExpression/check-part3.cmake
@@ -26,3 +26,37 @@ check(test_alias_file_lib "1")
check(test_alias_target_name "1")
check(test_early_termination_1 "$<:")
check(test_early_termination_2 "$<:,")
+check(test_platform_id "${system_name}")
+foreach(system Linux Windows Darwin)
+ if(system_name STREQUAL system)
+ check(test_platform_id_${system} 1)
+ else()
+ check(test_platform_id_${system} 0)
+ endif()
+endforeach()
+check(lower_case "mi,xed")
+check(upper_case "MIX,ED")
+check(make_c_identifier "_4f_oo__bar__")
+check(equal1 "0")
+check(equal2 "1")
+check(equal3 "1")
+check(equal4 "0")
+check(equal5 "1")
+check(equal6 "1")
+check(equal7 "1")
+check(equal8 "1")
+check(equal9 "0")
+check(equal10 "1")
+check(equal11 "1")
+check(equal12 "1")
+check(equal13 "1")
+check(equal14 "1")
+check(equal15 "1")
+check(equal16 "1")
+check(equal17 "0")
+check(equal18 "1")
+check(equal19 "0")
+check(equal20 "1")
+check(equal21 "1")
+check(equal22 "0")
+check(equal23 "1")
diff --git a/Tests/GeneratorExpression/echo.c b/Tests/GeneratorExpression/echo.c
new file mode 100644
index 0000000..06b0844
--- /dev/null
+++ b/Tests/GeneratorExpression/echo.c
@@ -0,0 +1,8 @@
+#include <stdio.h>
+#include <stdlib.h>
+
+int main(int argc, char* argv[])
+{
+ printf("%s\n", argv[1]);
+ return EXIT_SUCCESS;
+}
diff --git a/Tests/GeneratorExpression/pwd.c b/Tests/GeneratorExpression/pwd.c
new file mode 100644
index 0000000..054b1af
--- /dev/null
+++ b/Tests/GeneratorExpression/pwd.c
@@ -0,0 +1,34 @@
+#include <limits.h>
+#include <stdio.h>
+#include <stdlib.h>
+
+#ifdef _WIN32
+#include <direct.h>
+#define getcurdir _getcwd
+#else
+#include <unistd.h>
+#define getcurdir getcwd
+#endif
+
+int main(int argc, char* argv[])
+{
+#define BUFSZ 20000
+ char buf[BUFSZ + 1];
+#ifdef _WIN32
+ char *pos;
+#endif
+ getcurdir(buf, BUFSZ);
+#ifdef _WIN32
+ pos = buf;
+ while (*pos)
+ {
+ if (*pos == '\\')
+ {
+ *pos = '/';
+ }
+ ++pos;
+ }
+#endif
+ printf("%s\n", buf);
+ return EXIT_SUCCESS;
+}
diff --git a/Tests/IncludeDirectories/CMakeLists.txt b/Tests/IncludeDirectories/CMakeLists.txt
index 35ad8dc..9ee1957 100644
--- a/Tests/IncludeDirectories/CMakeLists.txt
+++ b/Tests/IncludeDirectories/CMakeLists.txt
@@ -2,7 +2,7 @@ cmake_minimum_required (VERSION 2.6)
project(IncludeDirectories)
if (((CMAKE_C_COMPILER_ID STREQUAL GNU AND CMAKE_C_COMPILER_VERSION VERSION_GREATER 4.4)
- OR CMAKE_C_COMPILER_ID STREQUAL Clang)
+ OR CMAKE_C_COMPILER_ID STREQUAL Clang OR CMAKE_C_COMPILER_ID STREQUAL AppleClang)
AND (CMAKE_GENERATOR STREQUAL "Unix Makefiles" OR CMAKE_GENERATOR STREQUAL "Ninja"))
include(CheckCXXCompilerFlag)
check_cxx_compiler_flag(-Wunused-variable run_sys_includes_test)
diff --git a/Tests/IncludeDirectories/SystemIncludeDirectories/CMakeLists.txt b/Tests/IncludeDirectories/SystemIncludeDirectories/CMakeLists.txt
index aec6ff9..abe9f74 100644
--- a/Tests/IncludeDirectories/SystemIncludeDirectories/CMakeLists.txt
+++ b/Tests/IncludeDirectories/SystemIncludeDirectories/CMakeLists.txt
@@ -17,3 +17,35 @@ target_include_directories(upstream SYSTEM PUBLIC
add_library(consumer consumer.cpp)
target_link_libraries(consumer upstream)
target_compile_options(consumer PRIVATE -Werror=unused-variable)
+
+add_library(iface IMPORTED INTERFACE)
+set_property(TARGET iface PROPERTY INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}/systemlib_header_only")
+
+add_library(imported_consumer imported_consumer.cpp)
+target_link_libraries(imported_consumer iface)
+target_compile_options(imported_consumer PRIVATE -Werror=unused-variable)
+
+add_library(imported_consumer2 imported_consumer.cpp)
+target_link_libraries(imported_consumer2 imported_consumer)
+target_compile_options(imported_consumer2 PRIVATE -Werror=unused-variable)
+
+macro(do_try_compile error_option)
+ set(TC_ARGS
+ IFACE_TRY_COMPILE_${error_option}
+ "${CMAKE_CURRENT_BINARY_DIR}/try_compile_iface" "${CMAKE_CURRENT_SOURCE_DIR}/imported_consumer.cpp"
+ LINK_LIBRARIES iface
+ )
+ if (${error_option} STREQUAL WITH_ERROR)
+ list(APPEND TC_ARGS COMPILE_DEFINITIONS -Werror=unused-variable)
+ endif()
+ try_compile(${TC_ARGS})
+endmacro()
+
+do_try_compile(NO_ERROR)
+if (NOT IFACE_TRY_COMPILE_NO_ERROR)
+ message(SEND_ERROR "try_compile failed with imported target.")
+endif()
+do_try_compile(WITH_ERROR)
+if (NOT IFACE_TRY_COMPILE_WITH_ERROR)
+ message(SEND_ERROR "try_compile failed with imported target with error option.")
+endif()
diff --git a/Tests/IncludeDirectories/SystemIncludeDirectories/imported_consumer.cpp b/Tests/IncludeDirectories/SystemIncludeDirectories/imported_consumer.cpp
new file mode 100644
index 0000000..1dbe819
--- /dev/null
+++ b/Tests/IncludeDirectories/SystemIncludeDirectories/imported_consumer.cpp
@@ -0,0 +1,7 @@
+
+#include "systemlib.h"
+
+int main()
+{
+ return systemlib();
+}
diff --git a/Tests/IncludeDirectories/SystemIncludeDirectories/systemlib_header_only/systemlib.h b/Tests/IncludeDirectories/SystemIncludeDirectories/systemlib_header_only/systemlib.h
new file mode 100644
index 0000000..93622c4
--- /dev/null
+++ b/Tests/IncludeDirectories/SystemIncludeDirectories/systemlib_header_only/systemlib.h
@@ -0,0 +1,16 @@
+
+#ifndef SYSTEMLIB_H
+#define SYSTEMLIB_H
+
+int systemlib()
+{
+ return 0;
+}
+
+int unusedFunc()
+{
+ int unused;
+ return systemlib();
+}
+
+#endif
diff --git a/Tests/InterfaceLibrary/CMakeLists.txt b/Tests/InterfaceLibrary/CMakeLists.txt
new file mode 100644
index 0000000..81b34e6
--- /dev/null
+++ b/Tests/InterfaceLibrary/CMakeLists.txt
@@ -0,0 +1,44 @@
+
+cmake_minimum_required(VERSION 2.8)
+
+project(InterfaceLibrary)
+
+add_library(iface_nodepends INTERFACE)
+target_compile_definitions(iface_nodepends INTERFACE IFACE_DEFINE)
+
+add_subdirectory(headerdir)
+
+add_executable(InterfaceLibrary definetestexe.cpp)
+target_link_libraries(InterfaceLibrary iface_nodepends headeriface)
+
+add_subdirectory(libsdir)
+
+add_executable(sharedlibtestexe sharedlibtestexe.cpp)
+target_link_libraries(sharedlibtestexe shared_iface imported::iface)
+
+add_library(broken EXCLUDE_FROM_ALL broken.cpp)
+
+add_library(iface_broken INTERFACE)
+# This is not a dependency, so broken will not be built (and the error in
+# it will not be hit)
+target_link_libraries(iface_broken INTERFACE broken)
+
+add_library(iface_whitelist INTERFACE)
+# The target property CUSTOM will never be evaluated on the INTERFACE library.
+target_link_libraries(iface_whitelist INTERFACE $<$<BOOL:$<TARGET_PROPERTY:CUSTOM>>:irrelevant>)
+
+add_executable(exec_whitelist dummy.cpp)
+target_link_libraries(exec_whitelist iface_whitelist)
+
+add_library(iface_imported INTERFACE IMPORTED)
+set_property(TARGET iface_imported PROPERTY
+ INTERFACE_COMPILE_DEFINITIONS
+ $<$<CONFIG:SPECIAL>:SPECIAL_MODE>
+ $<$<CONFIG:Debug>:DEBUG_MODE>
+)
+set_property(TARGET iface_imported PROPERTY
+ MAP_IMPORTED_CONFIG_DEBUG SPECIAL
+)
+
+add_executable(map_config map_config.cpp)
+target_link_libraries(map_config iface_imported)
diff --git a/Tests/InterfaceLibrary/broken.cpp b/Tests/InterfaceLibrary/broken.cpp
new file mode 100644
index 0000000..1fd1041
--- /dev/null
+++ b/Tests/InterfaceLibrary/broken.cpp
@@ -0,0 +1,2 @@
+
+#error Broken
diff --git a/Tests/InterfaceLibrary/definetestexe.cpp b/Tests/InterfaceLibrary/definetestexe.cpp
new file mode 100644
index 0000000..e7a10c1
--- /dev/null
+++ b/Tests/InterfaceLibrary/definetestexe.cpp
@@ -0,0 +1,21 @@
+
+#ifndef IFACE_DEFINE
+#error Expected IFACE_DEFINE
+#endif
+
+#include "iface_header.h"
+
+#ifndef IFACE_HEADER_SRCDIR
+#error Expected IFACE_HEADER_SRCDIR
+#endif
+
+#include "iface_header_builddir.h"
+
+#ifndef IFACE_HEADER_BUILDDIR
+#error Expected IFACE_HEADER_BUILDDIR
+#endif
+
+int main(int,char**)
+{
+ return 0;
+}
diff --git a/Tests/InterfaceLibrary/dummy.cpp b/Tests/InterfaceLibrary/dummy.cpp
new file mode 100644
index 0000000..341aaaf
--- /dev/null
+++ b/Tests/InterfaceLibrary/dummy.cpp
@@ -0,0 +1,5 @@
+
+int main(int, char **)
+{
+ return 0;
+}
diff --git a/Tests/InterfaceLibrary/headerdir/CMakeLists.txt b/Tests/InterfaceLibrary/headerdir/CMakeLists.txt
new file mode 100644
index 0000000..98f521e
--- /dev/null
+++ b/Tests/InterfaceLibrary/headerdir/CMakeLists.txt
@@ -0,0 +1,8 @@
+
+set(CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE ON)
+
+add_library(headeriface INTERFACE)
+
+file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/iface_header_builddir.h"
+ "#define IFACE_HEADER_BUILDDIR\n"
+)
diff --git a/Tests/InterfaceLibrary/headerdir/iface_header.h b/Tests/InterfaceLibrary/headerdir/iface_header.h
new file mode 100644
index 0000000..82dd157
--- /dev/null
+++ b/Tests/InterfaceLibrary/headerdir/iface_header.h
@@ -0,0 +1 @@
+#define IFACE_HEADER_SRCDIR
diff --git a/Tests/InterfaceLibrary/libsdir/CMakeLists.txt b/Tests/InterfaceLibrary/libsdir/CMakeLists.txt
new file mode 100644
index 0000000..4e529df
--- /dev/null
+++ b/Tests/InterfaceLibrary/libsdir/CMakeLists.txt
@@ -0,0 +1,28 @@
+
+include(GenerateExportHeader)
+
+add_library(sharedlib SHARED sharedlib.cpp)
+generate_export_header(sharedlib)
+
+add_library(shareddependlib SHARED shareddependlib.cpp)
+generate_export_header(shareddependlib)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+set(CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE ON)
+
+target_link_libraries(sharedlib PUBLIC shareddependlib)
+
+target_include_directories(shareddependlib
+ PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/shareddependlib")
+target_compile_definitions(shareddependlib
+ INTERFACE $<1:SHAREDDEPENDLIB_DEFINE>)
+
+target_include_directories(sharedlib
+ PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/sharedlib")
+target_compile_definitions(shareddependlib
+ INTERFACE $<1:SHAREDLIB_DEFINE>)
+
+add_library(shared_iface INTERFACE)
+target_link_libraries(shared_iface INTERFACE sharedlib)
+
+add_library(imported::iface INTERFACE IMPORTED GLOBAL)
diff --git a/Tests/InterfaceLibrary/libsdir/shareddependlib.cpp b/Tests/InterfaceLibrary/libsdir/shareddependlib.cpp
new file mode 100644
index 0000000..378ba81
--- /dev/null
+++ b/Tests/InterfaceLibrary/libsdir/shareddependlib.cpp
@@ -0,0 +1,7 @@
+
+#include "shareddependlib.h"
+
+int SharedDependLibObject::foo() const
+{
+ return 0;
+}
diff --git a/Tests/InterfaceLibrary/libsdir/shareddependlib/shareddependlib.h b/Tests/InterfaceLibrary/libsdir/shareddependlib/shareddependlib.h
new file mode 100644
index 0000000..ad9b484
--- /dev/null
+++ b/Tests/InterfaceLibrary/libsdir/shareddependlib/shareddependlib.h
@@ -0,0 +1,12 @@
+
+#ifndef SHAREDDEPENDLIB_H
+#define SHAREDDEPENDLIB_H
+
+#include "shareddependlib_export.h"
+
+struct SHAREDDEPENDLIB_EXPORT SharedDependLibObject
+{
+ int foo() const;
+};
+
+#endif
diff --git a/Tests/InterfaceLibrary/libsdir/sharedlib.cpp b/Tests/InterfaceLibrary/libsdir/sharedlib.cpp
new file mode 100644
index 0000000..c49ce90
--- /dev/null
+++ b/Tests/InterfaceLibrary/libsdir/sharedlib.cpp
@@ -0,0 +1,12 @@
+
+#include "sharedlib.h"
+
+SharedDependLibObject SharedLibObject::object() const
+{
+ SharedDependLibObject sdlo;
+ return sdlo;
+}
+int SharedLibObject::foo() const
+{
+ return 0;
+}
diff --git a/Tests/InterfaceLibrary/libsdir/sharedlib/sharedlib.h b/Tests/InterfaceLibrary/libsdir/sharedlib/sharedlib.h
new file mode 100644
index 0000000..5b3c7db
--- /dev/null
+++ b/Tests/InterfaceLibrary/libsdir/sharedlib/sharedlib.h
@@ -0,0 +1,15 @@
+
+#ifndef SHAREDLIB_H
+#define SHAREDLIB_H
+
+#include "sharedlib_export.h"
+
+#include "shareddependlib.h"
+
+struct SHAREDLIB_EXPORT SharedLibObject
+{
+ SharedDependLibObject object() const;
+ int foo() const;
+};
+
+#endif
diff --git a/Tests/InterfaceLibrary/map_config.cpp b/Tests/InterfaceLibrary/map_config.cpp
new file mode 100644
index 0000000..81bb666
--- /dev/null
+++ b/Tests/InterfaceLibrary/map_config.cpp
@@ -0,0 +1,15 @@
+
+#ifdef DEBUG_MODE
+#ifndef SPECIAL_MODE
+#error Special configuration should be mapped to debug configuration.
+#endif
+#else
+#ifdef SPECIAL_MODE
+#error Special configuration should not be enabled if not debug configuration
+#endif
+#endif
+
+int main(int,char**)
+{
+ return 0;
+}
diff --git a/Tests/InterfaceLibrary/sharedlibtestexe.cpp b/Tests/InterfaceLibrary/sharedlibtestexe.cpp
new file mode 100644
index 0000000..c677f70
--- /dev/null
+++ b/Tests/InterfaceLibrary/sharedlibtestexe.cpp
@@ -0,0 +1,19 @@
+
+#ifndef SHAREDLIB_DEFINE
+#error Expected SHAREDLIB_DEFINE
+#endif
+
+#ifndef SHAREDDEPENDLIB_DEFINE
+#error Expected SHAREDDEPENDLIB_DEFINE
+#endif
+
+#include "sharedlib.h"
+#include "shareddependlib.h"
+
+int main(int,char**)
+{
+ SharedLibObject sl;
+ SharedDependLibObject sdl = sl.object();
+
+ return sdl.foo() + sl.foo();
+}
diff --git a/Tests/LinkDirectory/CMakeLists.txt b/Tests/LinkDirectory/CMakeLists.txt
index 7356b27..c60de84 100644
--- a/Tests/LinkDirectory/CMakeLists.txt
+++ b/Tests/LinkDirectory/CMakeLists.txt
@@ -11,13 +11,11 @@ endif()
add_library(mylibA STATIC mylibA.c)
set_property(TARGET mylibA PROPERTY
ARCHIVE_OUTPUT_DIRECTORY "${LinkDirectory_BINARY_DIR}/External/lib")
-get_property(mylibA TARGET mylibA PROPERTY LOCATION)
# Build a library into our build tree relative to the subproject build tree.
add_library(mylibB STATIC mylibB.c)
set_property(TARGET mylibB PROPERTY
ARCHIVE_OUTPUT_DIRECTORY "${LinkDirectory_BINARY_DIR}/lib")
-get_property(mylibB TARGET mylibB PROPERTY LOCATION)
# Create a custom target to drive the subproject build.
include(ExternalProject)
@@ -38,7 +36,7 @@ ExternalProject_Add_Step(ExternalTarget cleanup
COMMAND ${CMAKE_COMMAND} -E remove_directory ${LinkDirectory_BINARY_DIR}/bin
DEPENDEES download
DEPENDERS configure
- DEPENDS ${mylibA} ${mylibB}
+ DEPENDS mylibA mylibB
"${LinkDirectory_BINARY_DIR}/External/CMakeLists.txt"
"${LinkDirectory_BINARY_DIR}/External/myexe.c"
)
diff --git a/Tests/MacRuntimePath/A/CMakeLists.txt b/Tests/MacRuntimePath/A/CMakeLists.txt
index 5fc54f4..ade0a3c 100644
--- a/Tests/MacRuntimePath/A/CMakeLists.txt
+++ b/Tests/MacRuntimePath/A/CMakeLists.txt
@@ -10,13 +10,15 @@ add_library(shared2 SHARED shared.cpp shared.h)
set_target_properties(shared2 PROPERTIES
BUILD_WITH_INSTALL_RPATH 1 INSTALL_NAME_DIR "@rpath")
+cmake_policy(SET CMP0042 NEW)
+
# a framework library
add_library(framework SHARED framework.cpp framework.h)
-set_target_properties(framework PROPERTIES MACOSX_RPATH 1 FRAMEWORK 1)
+set_target_properties(framework PROPERTIES FRAMEWORK 1)
# another framework
add_library(framework2 SHARED framework2.cpp framework2.h)
-set_target_properties(framework2 PROPERTIES MACOSX_RPATH 1 FRAMEWORK 1)
+set_target_properties(framework2 PROPERTIES FRAMEWORK 1)
# executable to test a shared library dependency with install rpaths
add_executable(test1 test1.cpp)
diff --git a/Tests/MacRuntimePath/CMakeLists.txt b/Tests/MacRuntimePath/CMakeLists.txt
index 5e5b6c4..5c7b921 100644
--- a/Tests/MacRuntimePath/CMakeLists.txt
+++ b/Tests/MacRuntimePath/CMakeLists.txt
@@ -1,6 +1,8 @@
cmake_minimum_required (VERSION 2.8)
project(MacRuntimePath)
-
+if(NOT DEFINED CMAKE_TEST_MAKEPROGRAM AND NOT CMAKE_GENERATOR MATCHES "Visual Studio")
+ set(CMAKE_TEST_MAKEPROGRAM "${CMAKE_MAKE_PROGRAM}")
+endif()
# Wipe out the install tree to make sure the exporter works.
add_custom_command(
@@ -38,7 +40,6 @@ add_custom_command(
--build-target install
--build-generator ${CMAKE_GENERATOR}
--build-generator-toolset "${CMAKE_GENERATOR_TOOLSET}"
- --build-makeprogram ${CMAKE_MAKE_PROGRAM}
--build-options -C${MacRuntimePath_BINARY_DIR}/InitialCache.cmake
VERBATIM
)
@@ -60,7 +61,6 @@ add_custom_command(
--build-project MacRuntimePath_B
--build-generator ${CMAKE_GENERATOR}
--build-generator-toolset "${CMAKE_GENERATOR_TOOLSET}"
- --build-makeprogram ${CMAKE_MAKE_PROGRAM}
--build-options -C${MacRuntimePath_BINARY_DIR}/InitialCache.cmake
VERBATIM
)
diff --git a/Tests/MacRuntimePath/InitialCache.cmake.in b/Tests/MacRuntimePath/InitialCache.cmake.in
index be15eb3..3dc9041 100644
--- a/Tests/MacRuntimePath/InitialCache.cmake.in
+++ b/Tests/MacRuntimePath/InitialCache.cmake.in
@@ -1,3 +1,4 @@
+set(CMAKE_MAKE_PROGRAM "@CMAKE_TEST_MAKEPROGRAM@" CACHE FILEPATH "Make Program")
set(CMAKE_C_COMPILER "@CMAKE_C_COMPILER@" CACHE STRING "C Compiler")
set(CMAKE_C_FLAGS "@CMAKE_C_FLAGS@" CACHE STRING "C Flags")
set(CMAKE_C_FLAGS_DEBUG "@CMAKE_C_FLAGS_DEBUG@" CACHE STRING "C Flags")
diff --git a/Tests/MakeClean/CMakeLists.txt b/Tests/MakeClean/CMakeLists.txt
index 13348a2..8ac624a 100644
--- a/Tests/MakeClean/CMakeLists.txt
+++ b/Tests/MakeClean/CMakeLists.txt
@@ -37,21 +37,14 @@ foreach(f ${TOCLEAN_FILES})
set(CHECK_FILES "${CHECK_FILES} \"${f}\",\n")
endforeach()
configure_file(${MakeClean_SOURCE_DIR}/check_clean.c.in
- ${MakeClean_BINARY_DIR}/check_clean.c @ONLY IMMEDIATE)
+ ${MakeClean_BINARY_DIR}/check_clean.c @ONLY)
add_executable(check_clean ${MakeClean_BINARY_DIR}/check_clean.c)
# After the executable builds, clean the files.
add_custom_command(
TARGET check_clean
POST_BUILD
- COMMAND ${CMAKE_CTEST_COMMAND}
- ARGS --build-and-test
- ${MakeClean_SOURCE_DIR}/ToClean
- ${MakeClean_BINARY_DIR}/ToClean
- --build-generator ${CMAKE_GENERATOR}
- --build-project ToClean
- --build-makeprogram ${CMAKE_MAKE_PROGRAM}
- --build-noclean
- --build-target clean
+ COMMAND ${CMAKE_COMMAND} --build ${MakeClean_BINARY_DIR}/ToClean
+ --target clean
COMMENT "Clean the ToClean Project"
)
diff --git a/Tests/MakeClean/ToClean/CMakeLists.txt b/Tests/MakeClean/ToClean/CMakeLists.txt
index 28569dd..d0e24ce 100644
--- a/Tests/MakeClean/ToClean/CMakeLists.txt
+++ b/Tests/MakeClean/ToClean/CMakeLists.txt
@@ -5,7 +5,6 @@ project(ToClean)
add_executable(toclean toclean.cxx)
# List some build-time-generated files.
-get_target_property(TOCLEAN_FILES toclean LOCATION)
set(TOCLEAN_FILES ${TOCLEAN_FILES}
"${ToClean_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/toclean.dir/toclean.cxx${CMAKE_CXX_OUTPUT_EXTENSION}")
@@ -26,6 +25,18 @@ add_custom_command(OUTPUT ${ToClean_BINARY_DIR}/generated.txt
add_custom_target(generate ALL DEPENDS ${ToClean_BINARY_DIR}/generated.txt)
set(TOCLEAN_FILES ${TOCLEAN_FILES} "${ToClean_BINARY_DIR}/generated.txt")
+# Create a custom command whose output should be cleaned, but whose name
+# is not known until generate-time
+set(copied_exe "$<TARGET_FILE_DIR:toclean>/toclean_copy${CMAKE_EXECUTABLE_SUFFIX}")
+add_custom_command(TARGET toclean POST_BUILD
+ COMMAND ${CMAKE_COMMAND}
+ ARGS -E copy $<TARGET_FILE:toclean>
+ ${copied_exe}
+ )
+set_property(DIRECTORY APPEND PROPERTY
+ ADDITIONAL_MAKE_CLEAN_FILES ${copied_exe})
+list(APPEND TOCLEAN_FILES "${ToClean_BINARY_DIR}/toclean_copy${CMAKE_EXECUTABLE_SUFFIX}")
+
# Configure a file listing these build-time-generated files.
configure_file(${ToClean_SOURCE_DIR}/ToCleanFiles.cmake.in
- ${ToClean_BINARY_DIR}/ToCleanFiles.cmake @ONLY IMMEDIATE)
+ ${ToClean_BINARY_DIR}/ToCleanFiles.cmake @ONLY)
diff --git a/Tests/MissingInstall/CMakeLists.txt b/Tests/MissingInstall/CMakeLists.txt
new file mode 100644
index 0000000..91624f7
--- /dev/null
+++ b/Tests/MissingInstall/CMakeLists.txt
@@ -0,0 +1,25 @@
+cmake_minimum_required (VERSION 2.8.12)
+project(TestMissingInstall)
+
+set(CMAKE_SKIP_INSTALL_RULES ON)
+
+# Skip the dependency that causes a build when installing. This
+# avoids infinite loops when the post-build rule below installs.
+set(CMAKE_SKIP_INSTALL_ALL_DEPENDENCY 1)
+set(CMAKE_SKIP_PACKAGE_ALL_DEPENDENCY 1)
+
+if(CMAKE_CONFIGURATION_TYPES)
+ set(MULTI_CONFIG ON)
+else()
+ set(MULTI_CONFIG OFF)
+endif()
+
+add_executable(mybin mybin.cpp)
+install(TARGETS mybin RUNTIME DESTINATION bin)
+
+add_custom_command(TARGET mybin
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} "-DMULTI_CONFIG=${MULTI_CONFIG}"
+ -P ${CMAKE_CURRENT_SOURCE_DIR}/ExpectInstallFail.cmake
+ COMMENT "Install Project"
+)
diff --git a/Tests/MissingInstall/ExpectInstallFail.cmake b/Tests/MissingInstall/ExpectInstallFail.cmake
new file mode 100644
index 0000000..3d677bf
--- /dev/null
+++ b/Tests/MissingInstall/ExpectInstallFail.cmake
@@ -0,0 +1,18 @@
+if(MULTI_CONFIG)
+ set(SI_CONFIG --config $<CONFIGURATION>)
+else()
+ set(SI_CONFIG)
+endif()
+
+execute_process(
+ COMMAND ${CMAKE_COMMAND}
+ --build .
+ --target install ${SI_CONFIG}
+ RESULT_VARIABLE RESULT
+ OUTPUT_VARIABLE OUTPUT
+ ERROR_VARIABLE ERROR
+)
+
+if(RESULT EQUAL 0)
+ message(FATAL_ERROR "install should have failed")
+endif()
diff --git a/Tests/MissingInstall/mybin.cpp b/Tests/MissingInstall/mybin.cpp
new file mode 100644
index 0000000..237c8ce
--- /dev/null
+++ b/Tests/MissingInstall/mybin.cpp
@@ -0,0 +1 @@
+int main() {}
diff --git a/Tests/Module/CheckTypeSize/CMakeLists.txt b/Tests/Module/CheckTypeSize/CMakeLists.txt
index abe617a..16989fe2 100644
--- a/Tests/Module/CheckTypeSize/CMakeLists.txt
+++ b/Tests/Module/CheckTypeSize/CMakeLists.txt
@@ -1,6 +1,7 @@
cmake_minimum_required(VERSION 2.8.1 FATAL_ERROR)
-project(CheckTypeSize C)
+project(CheckTypeSize)
+# Check C types
include(CheckTypeSize)
check_type_size("void*" SIZEOF_DATA_PTR)
check_type_size(char SIZEOF_CHAR)
@@ -18,7 +19,19 @@ check_type_size("((struct somestruct*)0)->someint" SIZEOF_STRUCTMEMBER_INT)
check_type_size("((struct somestruct*)0)->someptr" SIZEOF_STRUCTMEMBER_PTR)
check_type_size("((struct somestruct*)0)->somechar" SIZEOF_STRUCTMEMBER_CHAR)
+# Check CXX types
+check_type_size(bool SIZEOF_BOOL LANGUAGE CXX)
+
+set(CMAKE_EXTRA_INCLUDE_FILES someclass.hxx)
+check_type_size("((ns::someclass*)0)->someint" SIZEOF_NS_CLASSMEMBER_INT LANGUAGE CXX)
+check_type_size("((ns::someclass*)0)->someptr" SIZEOF_NS_CLASSMEMBER_PTR LANGUAGE CXX)
+check_type_size("((ns::someclass*)0)->somechar" SIZEOF_NS_CLASSMEMBER_CHAR LANGUAGE CXX)
+check_type_size("((ns::someclass*)0)->somebool" SIZEOF_NS_CLASSMEMBER_BOOL LANGUAGE CXX)
+
configure_file(config.h.in config.h)
+configure_file(config.hxx.in config.hxx)
+
include_directories("${CheckTypeSize_BINARY_DIR}")
add_executable(CheckTypeSize CheckTypeSize.c)
+add_executable(CheckTypeSizeCXX CheckTypeSize.cxx)
diff --git a/Tests/Module/CheckTypeSize/CheckTypeSize.cxx b/Tests/Module/CheckTypeSize/CheckTypeSize.cxx
new file mode 100644
index 0000000..b5692cd
--- /dev/null
+++ b/Tests/Module/CheckTypeSize/CheckTypeSize.cxx
@@ -0,0 +1,172 @@
+#include "config.h"
+#include "config.hxx"
+#include "someclass.hxx"
+
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
+#ifdef HAVE_STDDEF_H
+# include <stddef.h>
+#endif
+
+#include <stdio.h>
+
+#define CHECK(t,m) do { \
+ if(sizeof(t) != m) \
+ { \
+ printf(#m ": expected %d, got %d (line %d)\n", \
+ (int)sizeof(t), (int)m, __LINE__); \
+ result = 1; \
+ } \
+ } while(0)
+
+#define NODEF(m) do { \
+ printf(#m": not defined (line %d)\n", __LINE__); \
+ result = 1; \
+ } while(0)
+
+int main()
+{
+ int result = 0;
+ ns::someclass y;
+
+ /* void* */
+#if !defined(HAVE_SIZEOF_DATA_PTR)
+ NODEF(HAVE_SIZEOF_DATA_PTR);
+#endif
+#if defined(SIZEOF_DATA_PTR)
+ CHECK(void*, SIZEOF_DATA_PTR);
+#else
+ NODEF(SIZEOF_DATA_PTR);
+#endif
+
+ /* char */
+#if !defined(HAVE_SIZEOF_CHAR)
+ NODEF(HAVE_SIZEOF_CHAR);
+#endif
+#if defined(SIZEOF_CHAR)
+ CHECK(char, SIZEOF_CHAR);
+#else
+ NODEF(SIZEOF_CHAR);
+#endif
+
+ /* short */
+#if !defined(HAVE_SIZEOF_SHORT)
+ NODEF(HAVE_SIZEOF_SHORT);
+#endif
+#if defined(SIZEOF_SHORT)
+ CHECK(short, SIZEOF_SHORT);
+#else
+ NODEF(SIZEOF_SHORT);
+#endif
+
+ /* int */
+#if !defined(HAVE_SIZEOF_INT)
+ NODEF(HAVE_SIZEOF_INT);
+#endif
+#if defined(SIZEOF_INT)
+ CHECK(int, SIZEOF_INT);
+#else
+ NODEF(SIZEOF_INT);
+#endif
+
+ /* long */
+#if !defined(HAVE_SIZEOF_LONG)
+ NODEF(HAVE_SIZEOF_LONG);
+#endif
+#if defined(SIZEOF_LONG)
+ CHECK(long, SIZEOF_LONG);
+#else
+ NODEF(SIZEOF_LONG);
+#endif
+
+ /* long long */
+#if defined(SIZEOF_LONG_LONG)
+ CHECK(long long, SIZEOF_LONG_LONG);
+# if !defined(HAVE_SIZEOF_LONG_LONG)
+ NODEF(HAVE_SIZEOF_LONG_LONG);
+# endif
+#endif
+
+ /* __int64 */
+#if defined(SIZEOF___INT64)
+ CHECK(__int64, SIZEOF___INT64);
+# if !defined(HAVE_SIZEOF___INT64)
+ NODEF(HAVE_SIZEOF___INT64);
+# endif
+#elif defined(HAVE_SIZEOF___INT64)
+ NODEF(SIZEOF___INT64);
+#endif
+
+ /* size_t */
+#if !defined(HAVE_SIZEOF_SIZE_T)
+ NODEF(HAVE_SIZEOF_SIZE_T);
+#endif
+#if defined(SIZEOF_SIZE_T)
+ CHECK(size_t, SIZEOF_SIZE_T);
+#else
+ NODEF(SIZEOF_SIZE_T);
+#endif
+
+ /* ssize_t */
+#if defined(SIZEOF_SSIZE_T)
+ CHECK(ssize_t, SIZEOF_SSIZE_T);
+# if !defined(HAVE_SIZEOF_SSIZE_T)
+ NODEF(HAVE_SIZEOF_SSIZE_T);
+# endif
+#elif defined(HAVE_SIZEOF_SSIZE_T)
+ NODEF(SIZEOF_SSIZE_T);
+#endif
+
+ /* ns::someclass::someint */
+#if defined(SIZEOF_NS_CLASSMEMBER_INT)
+ CHECK(y.someint, SIZEOF_NS_CLASSMEMBER_INT);
+ CHECK(y.someint, SIZEOF_INT);
+# if !defined(HAVE_SIZEOF_NS_CLASSMEMBER_INT)
+ NODEF(HAVE_SIZEOF_STRUCTMEMBER_INT);
+# endif
+#elif defined(HAVE_SIZEOF_STRUCTMEMBER_INT)
+ NODEF(SIZEOF_STRUCTMEMBER_INT);
+#endif
+
+ /* ns::someclass::someptr */
+#if defined(SIZEOF_NS_CLASSMEMBER_PTR)
+ CHECK(y.someptr, SIZEOF_NS_CLASSMEMBER_PTR);
+ CHECK(y.someptr, SIZEOF_DATA_PTR);
+# if !defined(HAVE_SIZEOF_NS_CLASSMEMBER_PTR)
+ NODEF(HAVE_SIZEOF_NS_CLASSMEMBER_PTR);
+# endif
+#elif defined(HAVE_SIZEOF_NS_CLASSMEMBER_PTR)
+ NODEF(SIZEOF_NS_CLASSMEMBER_PTR);
+#endif
+
+ /* ns::someclass::somechar */
+#if defined(SIZEOF_NS_CLASSMEMBER_CHAR)
+ CHECK(y.somechar, SIZEOF_NS_CLASSMEMBER_CHAR);
+ CHECK(y.somechar, SIZEOF_CHAR);
+# if !defined(HAVE_SIZEOF_NS_CLASSMEMBER_CHAR)
+ NODEF(HAVE_SIZEOF_NS_CLASSMEMBER_CHAR);
+# endif
+#elif defined(HAVE_SIZEOF_NS_CLASSMEMBER_CHAR)
+ NODEF(SIZEOF_NS_CLASSMEMBER_CHAR);
+#endif
+
+ /* ns::someclass::somebool */
+#if defined(SIZEOF_NS_CLASSMEMBER_BOOL)
+ CHECK(y.somechar, SIZEOF_NS_CLASSMEMBER_BOOL);
+ CHECK(y.somechar, SIZEOF_BOOL);
+# if !defined(HAVE_SIZEOF_NS_CLASSMEMBER_BOOL)
+ NODEF(HAVE_SIZEOF_NS_CLASSMEMBER_BOOL);
+# endif
+#elif defined(HAVE_SIZEOF_NS_CLASSMEMBER_BOOL)
+ NODEF(SIZEOF_NS_CLASSMEMBER_BOOL);
+#endif
+
+ /* to avoid possible warnings about unused or write-only variable */
+ y.someint = result;
+
+ return y.someint;
+}
diff --git a/Tests/Module/CheckTypeSize/config.hxx.in b/Tests/Module/CheckTypeSize/config.hxx.in
new file mode 100644
index 0000000..8c66ade
--- /dev/null
+++ b/Tests/Module/CheckTypeSize/config.hxx.in
@@ -0,0 +1,23 @@
+#cmakedefine HAVE_SYS_TYPES_H
+#cmakedefine HAVE_STDINT_H
+#cmakedefine HAVE_STDDEF_H
+
+/* bool */
+#cmakedefine HAVE_SIZEOF_BOOL
+@SIZEOF_BOOL_CODE@
+
+/* struct ns::somestruct::someint */
+#cmakedefine HAVE_SIZEOF_NS_STRUCTMEMBER_INT
+@SIZEOF_NS_STRUCTMEMBER_INT_CODE@
+
+/* struct ns::somestruct::someptr */
+#cmakedefine HAVE_SIZEOF_NS_STRUCTMEMBER_PTR
+@SIZEOF_NS_STRUCTMEMBER_PTR_CODE@
+
+/* struct ns::somestruct::somechar */
+#cmakedefine HAVE_SIZEOF_NS_STRUCTMEMBER_CHAR
+@SIZEOF_NS_STRUCTMEMBER_CHAR_CODE@
+
+/* struct ns::somestruct::somebool */
+#cmakedefine HAVE_SIZEOF_NS_STRUCTMEMBER_BOOL
+@SIZEOF_NS_STRUCTMEMBER_BOOL_CODE@
diff --git a/Tests/Module/CheckTypeSize/someclass.hxx b/Tests/Module/CheckTypeSize/someclass.hxx
new file mode 100644
index 0000000..76c07ec
--- /dev/null
+++ b/Tests/Module/CheckTypeSize/someclass.hxx
@@ -0,0 +1,14 @@
+#ifndef _CMAKE_SOMECLASS_HXX
+#define _CMAKE_SOMECLASS_HXX
+
+namespace ns {
+class someclass {
+public:
+ int someint;
+ void *someptr;
+ char somechar;
+ bool somebool;
+};
+}
+
+#endif
diff --git a/Tests/Module/ExternalData/CMakeLists.txt b/Tests/Module/ExternalData/CMakeLists.txt
index 8312dca..5a6f3d5 100644
--- a/Tests/Module/ExternalData/CMakeLists.txt
+++ b/Tests/Module/ExternalData/CMakeLists.txt
@@ -42,3 +42,4 @@ ExternalData_Add_Target(Data1)
add_subdirectory(Data2)
add_subdirectory(Data3)
+add_subdirectory(Data4)
diff --git a/Tests/Module/ExternalData/Data4/CMakeLists.txt b/Tests/Module/ExternalData/Data4/CMakeLists.txt
new file mode 100644
index 0000000..ac977fb
--- /dev/null
+++ b/Tests/Module/ExternalData/Data4/CMakeLists.txt
@@ -0,0 +1,15 @@
+set(Store0 ${CMAKE_BINARY_DIR}/ExternalData/Other)
+set(Store1 ${CMAKE_BINARY_DIR}/ExternalData/Objects)
+set(ExternalData_OBJECT_STORES ${Store0} ${Store1})
+unset(ExternalData_URL_TEMPLATES) # All objects already in stores!
+ExternalData_Add_Test(Data4
+ NAME Data4Check
+ COMMAND ${CMAKE_COMMAND}
+ -D Data=DATA{Data.dat}
+ -D Other=DATA{Other.dat}
+ -D Store0=${Store0}
+ -D Store1=${Store1}
+ -P ${CMAKE_CURRENT_SOURCE_DIR}/Data4Check.cmake
+ )
+ExternalData_Add_Target(Data4)
+add_dependencies(Data4 Data3)
diff --git a/Tests/Module/ExternalData/Data4/Data.dat.md5 b/Tests/Module/ExternalData/Data4/Data.dat.md5
new file mode 100644
index 0000000..70e39bd
--- /dev/null
+++ b/Tests/Module/ExternalData/Data4/Data.dat.md5
@@ -0,0 +1 @@
+8c018830e3efa5caf3c7415028335a57
diff --git a/Tests/Module/ExternalData/Data4/Data4Check.cmake b/Tests/Module/ExternalData/Data4/Data4Check.cmake
new file mode 100644
index 0000000..e614cc4
--- /dev/null
+++ b/Tests/Module/ExternalData/Data4/Data4Check.cmake
@@ -0,0 +1,26 @@
+if(NOT EXISTS "${Data}")
+ message(SEND_ERROR "Input file:\n ${Data}\ndoes not exist!")
+endif()
+if(NOT EXISTS "${Other}")
+ message(SEND_ERROR "Input file:\n ${Other}\ndoes not exist!")
+endif()
+# Verify that the 'Data' object was found in the second store location left
+# from Data1 target downloads and that the 'Other' object was found in the
+# first store location left from Data3 target downloads. Neither object
+# should exist in the opposite store.
+foreach(should_exist
+ "${Store0}/MD5/aaad162b85f60d1eb57ca71a23e8efd7"
+ "${Store1}/MD5/8c018830e3efa5caf3c7415028335a57"
+ )
+ if(NOT EXISTS ${should_exist})
+ message(SEND_ERROR "Store file:\n ${should_exist}\nshould exist!")
+ endif()
+endforeach()
+foreach(should_not_exist
+ "${Store0}/MD5/8c018830e3efa5caf3c7415028335a57"
+ "${Store1}/MD5/aaad162b85f60d1eb57ca71a23e8efd7"
+ )
+ if(EXISTS ${should_not_exist})
+ message(SEND_ERROR "Store file:\n ${should_not_exist}\nshould not exist!")
+ endif()
+endforeach()
diff --git a/Tests/Module/ExternalData/Data4/Other.dat.md5 b/Tests/Module/ExternalData/Data4/Other.dat.md5
new file mode 100644
index 0000000..5312faa
--- /dev/null
+++ b/Tests/Module/ExternalData/Data4/Other.dat.md5
@@ -0,0 +1 @@
+aaad162b85f60d1eb57ca71a23e8efd7
diff --git a/Tests/Module/GenerateExportHeader/CMakeLists.txt b/Tests/Module/GenerateExportHeader/CMakeLists.txt
index 09f1881..bf867a9 100644
--- a/Tests/Module/GenerateExportHeader/CMakeLists.txt
+++ b/Tests/Module/GenerateExportHeader/CMakeLists.txt
@@ -55,93 +55,9 @@ else()
endif()
endif()
-set(DEPS
- libshared
- libstatic
- lib_shared_and_static
-)
-
-foreach(DEP ${DEPS})
- try_compile(Result ${CMAKE_CURRENT_BINARY_DIR}/${DEP}_build
- ${CMAKE_CURRENT_SOURCE_DIR}/${DEP}
- ${DEP}
- OUTPUT_VARIABLE Out
- )
- if (NOT Result)
- message("OUTPUT: ${Out}")
- endif()
-endforeach()
-
-# The _do_build macro is called from a child scope, where
-# the current source and binary dir are different. Save them here
-# for use in the macro.
-set(TEST_TOP_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
-set(TEST_TOP_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
-
-
-# We seem to get race conditions is writing this stuff to the same file at least on MinGW
-# So to write to separate source and build directories, we use a count to differentiate.
-set (COUNT 0)
-macro(_do_build Include Library LibrarySource Source)
-
- math(EXPR COUNT "${COUNT} + 1" )
-
- file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/test${COUNT}/src.cpp" "#include \"${Include}\"\n"
- "int main() { ${Source}; }\n"
- )
-
- if ("${Library}" STREQUAL "static_variant")
- set(CONDITIONAL_STATIC_DEFINE "add_definitions(-DLIBSHARED_AND_STATIC_STATIC_DEFINE)\n")
- endif()
-
- file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/test${COUNT}/CMakeLists.txt"
- "cmake_minimum_required(VERSION 2.8)\n"
-
- "project(compiletest)\n"
-
- "set(CMAKE_INCLUDE_CURRENT_DIR ON)\n"
-
- "set(CMAKE_RUNTIME_OUTPUT_DIRECTORY \"\${CMAKE_CURRENT_BINARY_DIR}\")\n"
-
- "include(GenerateExportHeader)\n"
-
- "add_compiler_export_flags()\n"
-
- "if(NOT \"${ERROR_FLAG}\" STREQUAL \"\")\n"
- " add_definitions(${ERROR_FLAG})\n"
- "endif()\n"
-
- "include(\"${TEST_TOP_BINARY_DIR}/${LibrarySource}_build/Targets.cmake\")\n"
-
- "include_directories(\"${TEST_TOP_SOURCE_DIR}/${LibrarySource}\"\n"
- " \"${TEST_TOP_BINARY_DIR}/${LibrarySource}_build\")\n"
-
- "${CONDITIONAL_STATIC_DEFINE}"
-
- "add_executable(compiletest src.cpp)\n"
- "target_link_libraries(compiletest ${Library})\n"
- )
-
- try_compile(Result ${CMAKE_CURRENT_BINARY_DIR}/fail${COUNT}
- ${CMAKE_CURRENT_BINARY_DIR}/test${COUNT}
- compiletest
- OUTPUT_VARIABLE Out
- )
-endmacro()
-
-macro(build_fail Include Library LibrarySource Source Message)
- _do_build(${Include} ${Library} ${LibrarySource} "${Source}")
- test_fail(Result ${Message})
-endmacro()
-
-macro(build_pass Include Library LibrarySource Source Message)
- _do_build(${Include} ${Library} ${LibrarySource} "${Source}")
- test_pass(Result ${Message})
-endmacro()
-
include(GenerateExportHeader)
-add_subdirectory(visibility_preset)
+add_subdirectory(lib_shared_and_static)
add_compiler_export_flags()
@@ -159,23 +75,17 @@ macro(macro_add_test_library name)
${${name}_BINARY_DIR} # For the export header.
)
list(APPEND link_libraries ${name})
- add_subdirectory(${name}test)
endmacro()
macro_add_test_library(libshared)
macro_add_test_library(libstatic)
-add_subdirectory(lib_shared_and_static)
-add_subdirectory(lib_shared_and_statictest)
-add_subdirectory(override_symbol)
add_subdirectory(nodeprecated)
-add_subdirectory(prefix)
if(NOT BORLAND)
add_subdirectory(c_identifier)
endif()
if (CMAKE_COMPILER_IS_GNUCXX OR (${CMAKE_CXX_COMPILER_ID} MATCHES Clang))
- # We deliberately call deprecated methods, and test for that elsewhere.
# No need to clutter the test output with warnings.
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations")
endif()
@@ -187,3 +97,24 @@ endif()
add_executable(GenerateExportHeader exportheader_test.cpp)
target_link_libraries(GenerateExportHeader ${link_libraries})
+if (WIN32)
+ if(MSVC AND COMPILER_HAS_DEPRECATED)
+ set(_platform Win32)
+ elseif(MINGW AND COMPILER_HAS_DEPRECATED)
+ set(_platform MinGW)
+ else()
+ set(_platform WinEmpty)
+ endif()
+elseif(COMPILER_HAS_HIDDEN_VISIBILITY AND USE_COMPILER_HIDDEN_VISIBILITY)
+ set(_platform UNIX)
+elseif(COMPILER_HAS_DEPRECATED)
+ set(_platform UNIX_DeprecatedOnly)
+else()
+ set(_platform Empty)
+endif()
+message("#### Testing reference: ${_platform}")
+target_compile_definitions(GenerateExportHeader
+ PRIVATE
+ "SRC_DIR=${CMAKE_CURRENT_SOURCE_DIR}/reference/${_platform}"
+ "BIN_DIR=${CMAKE_CURRENT_BINARY_DIR}"
+)
diff --git a/Tests/Module/GenerateExportHeader/exportheader_test.cpp b/Tests/Module/GenerateExportHeader/exportheader_test.cpp
index 55c3c1a..146374a 100644
--- a/Tests/Module/GenerateExportHeader/exportheader_test.cpp
+++ b/Tests/Module/GenerateExportHeader/exportheader_test.cpp
@@ -11,6 +11,52 @@
#define DOES_NOT_BUILD(function) function
#endif
+#include <fstream>
+#include <iostream>
+#include <stdlib.h>
+#include <string>
+
+void compare(const char* refName, const char* testName)
+{
+ std::ifstream ref;
+ ref.open(refName);
+ if (!ref.is_open())
+ {
+ std::cout << "Could not open \"" << refName << "\"." << std::endl;
+ exit(1);
+ }
+ std::ifstream test;
+ test.open(testName);
+ if (!test.is_open())
+ {
+ std::cout << "Could not open \"" << testName << "\"." << std::endl;
+ exit(1);
+ }
+
+ while (!ref.eof() && !test.eof())
+ {
+ std::string refLine;
+ std::string testLine;
+ std::getline(ref, refLine);
+ std::getline(test, testLine);
+ if (testLine.size() && testLine[testLine.size()-1] == ' ')
+ {
+ testLine = testLine.substr(0, testLine.size() - 1);
+ }
+ if (refLine != testLine)
+ {
+ std::cout << "Ref and test are not the same:\n Ref: \""
+ << refLine << "\"\n Test: \"" << testLine << "\"\n";
+ exit(1);
+ }
+ }
+ if (!ref.eof() || !test.eof())
+ {
+ std::cout << "Ref and test have differing numbers of lines.";
+ exit(1);
+ }
+}
+
int main()
{
{
@@ -78,5 +124,13 @@ int main()
libstatic_not_exported();
libstatic_excluded();
+#define STRINGIFY_IMPL(A) #A
+#define STRINGIFY(A) STRINGIFY_IMPL(A)
+
+ compare(STRINGIFY(SRC_DIR) "/libshared_export.h",
+ STRINGIFY(BIN_DIR) "/libshared/libshared_export.h");
+ compare(STRINGIFY(SRC_DIR) "/libstatic_export.h",
+ STRINGIFY(BIN_DIR) "/libstatic/libstatic_export.h");
+
return 0;
}
diff --git a/Tests/Module/GenerateExportHeader/lib_shared_and_static/CMakeLists.txt b/Tests/Module/GenerateExportHeader/lib_shared_and_static/CMakeLists.txt
index be0387f..c1be125 100644
--- a/Tests/Module/GenerateExportHeader/lib_shared_and_static/CMakeLists.txt
+++ b/Tests/Module/GenerateExportHeader/lib_shared_and_static/CMakeLists.txt
@@ -5,7 +5,15 @@ project(lib_shared_and_static)
include(GenerateExportHeader)
-add_compiler_export_flags()
+set(CMAKE_CXX_VISIBILITY_PRESET hidden)
+set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)
+
+if (CMAKE_CXX_FLAGS MATCHES "-fvisibility=hidden")
+ message(SEND_ERROR "Do not use add_compiler_export_flags before adding this directory")
+endif()
+if (CMAKE_CXX_FLAGS MATCHES "-fvisibility-inlines-hidden")
+ message(SEND_ERROR "Do not use add_compiler_export_flags before adding this directory")
+endif()
set(CMAKE_INCLUDE_CURRENT_DIR ON)
@@ -14,9 +22,13 @@ set(lib_SRCS
)
add_library(shared_variant SHARED ${lib_SRCS})
+set_target_properties(shared_variant PROPERTIES DEFINE_SYMBOL SHARED_VARIANT_MAKEDLL)
add_library(static_variant ${lib_SRCS})
-generate_export_header(shared_variant BASE_NAME libshared_and_static)
+generate_export_header(shared_variant
+ BASE_NAME libshared_and_static
+ PREFIX_NAME MYPREFIX_
+)
set_target_properties(static_variant PROPERTIES COMPILE_FLAGS -DLIBSHARED_AND_STATIC_STATIC_DEFINE)
diff --git a/Tests/Module/GenerateExportHeader/lib_shared_and_static/libshared_and_static.h b/Tests/Module/GenerateExportHeader/lib_shared_and_static/libshared_and_static.h
index 049bfe9..5ad77f4 100644
--- a/Tests/Module/GenerateExportHeader/lib_shared_and_static/libshared_and_static.h
+++ b/Tests/Module/GenerateExportHeader/lib_shared_and_static/libshared_and_static.h
@@ -4,51 +4,51 @@
#include "libshared_and_static_export.h"
-class LIBSHARED_AND_STATIC_EXPORT LibsharedAndStatic {
+class MYPREFIX_LIBSHARED_AND_STATIC_EXPORT LibsharedAndStatic {
public:
int libshared_and_static() const;
int libshared_and_static_exported() const;
- int LIBSHARED_AND_STATIC_DEPRECATED libshared_and_static_deprecated() const;
+ int MYPREFIX_LIBSHARED_AND_STATIC_DEPRECATED libshared_and_static_deprecated() const;
int libshared_and_static_not_exported() const;
- int LIBSHARED_AND_STATIC_NO_EXPORT libshared_and_static_excluded() const;
+ int MYPREFIX_LIBSHARED_AND_STATIC_NO_EXPORT libshared_and_static_excluded() const;
};
class LibsharedAndStaticNotExported {
public:
int libshared_and_static() const;
- int LIBSHARED_AND_STATIC_EXPORT libshared_and_static_exported() const;
+ int MYPREFIX_LIBSHARED_AND_STATIC_EXPORT libshared_and_static_exported() const;
- int LIBSHARED_AND_STATIC_DEPRECATED libshared_and_static_deprecated() const;
+ int MYPREFIX_LIBSHARED_AND_STATIC_DEPRECATED libshared_and_static_deprecated() const;
int libshared_and_static_not_exported() const;
- int LIBSHARED_AND_STATIC_NO_EXPORT libshared_and_static_excluded() const;
+ int MYPREFIX_LIBSHARED_AND_STATIC_NO_EXPORT libshared_and_static_excluded() const;
};
-class LIBSHARED_AND_STATIC_NO_EXPORT LibsharedAndStaticExcluded {
+class MYPREFIX_LIBSHARED_AND_STATIC_NO_EXPORT LibsharedAndStaticExcluded {
public:
int libshared_and_static() const;
- int LIBSHARED_AND_STATIC_EXPORT libshared_and_static_exported() const;
+ int MYPREFIX_LIBSHARED_AND_STATIC_EXPORT libshared_and_static_exported() const;
- int LIBSHARED_AND_STATIC_DEPRECATED libshared_and_static_deprecated() const;
+ int MYPREFIX_LIBSHARED_AND_STATIC_DEPRECATED libshared_and_static_deprecated() const;
int libshared_and_static_not_exported() const;
- int LIBSHARED_AND_STATIC_NO_EXPORT libshared_and_static_excluded() const;
+ int MYPREFIX_LIBSHARED_AND_STATIC_NO_EXPORT libshared_and_static_excluded() const;
};
-LIBSHARED_AND_STATIC_EXPORT int libshared_and_static_exported();
+MYPREFIX_LIBSHARED_AND_STATIC_EXPORT int libshared_and_static_exported();
-LIBSHARED_AND_STATIC_DEPRECATED_EXPORT int libshared_and_static_deprecated();
+MYPREFIX_LIBSHARED_AND_STATIC_DEPRECATED_EXPORT int libshared_and_static_deprecated();
int libshared_and_static_not_exported();
-int LIBSHARED_AND_STATIC_NO_EXPORT libshared_and_static_excluded();
+int MYPREFIX_LIBSHARED_AND_STATIC_NO_EXPORT libshared_and_static_excluded();
#endif
diff --git a/Tests/Module/GenerateExportHeader/lib_shared_and_statictest/CMakeLists.txt b/Tests/Module/GenerateExportHeader/lib_shared_and_statictest/CMakeLists.txt
deleted file mode 100644
index 207534d..0000000
--- a/Tests/Module/GenerateExportHeader/lib_shared_and_statictest/CMakeLists.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-
-macro(shared_variant_build_pass Source Message)
- build_pass("libshared_and_static.h" "shared_variant" "lib_shared_and_static" "${Source}" ${Message})
-endmacro()
-
-macro(shared_variant_build_fail Source Message)
- build_fail("libshared_and_static.h" "shared_variant" "lib_shared_and_static" "${Source}" ${Message})
-endmacro()
-
-macro(static_variant_build_pass Source Message)
- build_pass("libshared_and_static.h" "static_variant" "lib_shared_and_static" "${Source}" ${Message})
-endmacro()
-
-macro(static_variant_build_fail Source Message)
- build_fail("libshared_and_static.h" "static_variant" "lib_shared_and_static" "${Source}" ${Message})
-endmacro()
-
-static_variant_build_pass("return libshared_and_static_exported();" "Failed to build static variant")
-shared_variant_build_pass("return libshared_and_static_exported();" "Failed to build shared variant")
-# if (COMPILER_HAS_DEPRECATED)
-# shared_variant_build_fail("return libshared_and_static_deprecated();" "Built shared deprecated variant")
-# static_variant_build_fail("return libshared_and_static_deprecated();" "Built static deprecated variant")
-# else()
-# shared_variant_build_pass("return libshared_and_static_deprecated();" "Built shared deprecated variant")
-# static_variant_build_pass("return libshared_and_static_deprecated();" "Built static deprecated variant")
-# endif()
-static_variant_build_pass("return libshared_and_static_not_exported();" "Failed to build static not exported variant")
-
-if (WIN32 OR COMPILER_HAS_HIDDEN_VISIBILITY)
- shared_variant_build_fail("return libshared_and_static_not_exported();" "Built shared not exported variant")
-else()
- shared_variant_build_pass("return libshared_and_static_not_exported();" "Built shared not exported variant")
-endif()
diff --git a/Tests/Module/GenerateExportHeader/libsharedtest/CMakeLists.txt b/Tests/Module/GenerateExportHeader/libsharedtest/CMakeLists.txt
deleted file mode 100644
index 2a97d8f..0000000
--- a/Tests/Module/GenerateExportHeader/libsharedtest/CMakeLists.txt
+++ /dev/null
@@ -1,45 +0,0 @@
-
-macro(shared_build_pass Source Message)
- build_pass("libshared.h" "libshared" "libshared" "${Source}" ${Message})
-endmacro()
-
-macro(shared_build_fail Source Message)
- build_fail("libshared.h" "libshared" "libshared" "${Source}" ${Message})
-endmacro()
-
-shared_build_pass("Libshared l; return l.libshared_exported();" "Failed to build exported")
-shared_build_pass("return libshared_exported();" "Failed to build exported function.")
-
-# if (COMPILER_HAS_DEPRECATED)
-# shared_build_fail("Libshared l; return l.libshared_deprecated();" "Built use of deprecated class method. This should not be possible.")
-# else()
-# shared_build_pass("Libshared l; return l.libshared_deprecated();" "Built use of deprecated class method. This should not be possible.")
-# endif()
-if (COMPILER_HAS_HIDDEN_VISIBILITY)
- shared_build_fail("Libshared l; return l.libshared_excluded();" "Built use of excluded class method. This should not be possible.")
-else()
- # There is no MSVC equivalent to hiding symbols.
- shared_build_pass("Libshared l; return l.libshared_excluded();" "Built use of excluded class method. This is possible on MSVC.")
-endif()
-
-if (WIN32 OR COMPILER_HAS_HIDDEN_VISIBILITY)
- shared_build_fail("LibsharedNotExported l; return l.libshared();" "Built use of not-exported class method. This should not be possible.")
- shared_build_fail("LibsharedNotExported l; return l.libshared_not_exported();" "Built use of not-exported class method. This should not be possible.")
- shared_build_fail("LibsharedNotExported l; return l.libshared_excluded();" "Built use of not-exported class method. This should not be possible.")
- shared_build_fail("LibsharedExcluded l; return l.libshared();" "Built use of excluded class method. This should not be possible.")
- shared_build_fail("LibsharedExcluded l; return l.libshared_not_exported();" "Built use of excluded class method. This should not be possible.")
- shared_build_fail("LibsharedExcluded l; return l.libshared_excluded();" "Built use of excluded class method. This should not be possible.")
-
- shared_build_fail("return libshared_excluded();" "Built use of excluded function. This should not be possible.")
- shared_build_fail("return libshared_not_exported();" "Built use of not-exported function. This should not be possible.")
-else()
- shared_build_pass("LibsharedNotExported l; return l.libshared();" "Built use of not-exported class method.")
- shared_build_pass("LibsharedNotExported l; return l.libshared_not_exported();" "Built use of not-exported class method.")
- shared_build_pass("LibsharedNotExported l; return l.libshared_excluded();" "Built use of not-exported class method.")
- shared_build_pass("LibsharedExcluded l; return l.libshared();" "Built use of excluded class method.")
- shared_build_pass("LibsharedExcluded l; return l.libshared_not_exported();" "Built use of excluded class method.")
- shared_build_pass("LibsharedExcluded l; return l.libshared_excluded();" "Built use of excluded class method.")
-
- shared_build_pass("return libshared_excluded();" "Built use of excluded function.")
- shared_build_pass("return libshared_not_exported();" "Built use of not-exported function.")
-endif()
diff --git a/Tests/Module/GenerateExportHeader/libstatictest/CMakeLists.txt b/Tests/Module/GenerateExportHeader/libstatictest/CMakeLists.txt
deleted file mode 100644
index eb6bb87..0000000
--- a/Tests/Module/GenerateExportHeader/libstatictest/CMakeLists.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-
-macro(static_build_pass Source Message)
- build_pass("libstatic.h" "libstatic" "libstatic" "${Source}" ${Message})
-endmacro()
-
-macro(static_build_fail Source Message)
- build_fail("libstatic.h" "libstatic" "libstatic" "${Source}" ${Message})
-endmacro()
-
-static_build_pass("Libstatic l; return l.libstatic_exported();" "Failed to build exported.")
-
-# if (COMPILER_HAS_DEPRECATED)
-# static_build_fail("Libstatic l; return l.libstatic_deprecated();" "Built use of deprecated class method. This should not be possible.")
-# static_build_fail("libstatic_deprecated();" "Built use of deprecated function. This should not be possible.")
-# else()
-# static_build_pass("Libstatic l; return l.libstatic_deprecated();" "Built use of deprecated class method. This should not be possible.")
-# static_build_pass("libstatic_deprecated();" "Built use of deprecated function. This should not be possible.")
-# endif()
diff --git a/Tests/Module/GenerateExportHeader/override_symbol/CMakeLists.txt b/Tests/Module/GenerateExportHeader/override_symbol/CMakeLists.txt
deleted file mode 100644
index aeeef20..0000000
--- a/Tests/Module/GenerateExportHeader/override_symbol/CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-project(override_symbol)
-
-add_library(somelib SHARED someclass.cpp)
-
-set_target_properties(somelib PROPERTIES DEFINE_SYMBOL SOMELIB_MAKEDLL)
-
-generate_export_header(somelib)
-
-add_executable(consumer main.cpp)
-
-target_link_libraries(consumer somelib)
diff --git a/Tests/Module/GenerateExportHeader/override_symbol/main.cpp b/Tests/Module/GenerateExportHeader/override_symbol/main.cpp
deleted file mode 100644
index eec46d3..0000000
--- a/Tests/Module/GenerateExportHeader/override_symbol/main.cpp
+++ /dev/null
@@ -1,9 +0,0 @@
-
-#include "someclass.h"
-
-int main(int, char**)
-{
- SomeClass sc;
- sc.someMethod();
- return 0;
-}
diff --git a/Tests/Module/GenerateExportHeader/override_symbol/someclass.cpp b/Tests/Module/GenerateExportHeader/override_symbol/someclass.cpp
deleted file mode 100644
index 427ec29..0000000
--- a/Tests/Module/GenerateExportHeader/override_symbol/someclass.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
-
-#include "someclass.h"
-
-void SomeClass::someMethod() const
-{
-
-}
diff --git a/Tests/Module/GenerateExportHeader/override_symbol/someclass.h b/Tests/Module/GenerateExportHeader/override_symbol/someclass.h
deleted file mode 100644
index ae5e844..0000000
--- a/Tests/Module/GenerateExportHeader/override_symbol/someclass.h
+++ /dev/null
@@ -1,8 +0,0 @@
-
-#include "somelib_export.h"
-
-class SOMELIB_EXPORT SomeClass
-{
-public:
- void someMethod() const;
-};
diff --git a/Tests/Module/GenerateExportHeader/prefix/CMakeLists.txt b/Tests/Module/GenerateExportHeader/prefix/CMakeLists.txt
deleted file mode 100644
index bd64df2..0000000
--- a/Tests/Module/GenerateExportHeader/prefix/CMakeLists.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-project(use_prefix)
-
-set(use_prefix_lib_SRCS
- useprefixclass.cpp
-)
-
-add_library(use_prefix_lib SHARED useprefixclass.cpp)
-
-generate_export_header(use_prefix_lib
- PREFIX_NAME MYPREFIX_
-)
-
-add_executable(use_prefix main.cpp)
-
-target_link_libraries(use_prefix use_prefix_lib) \ No newline at end of file
diff --git a/Tests/Module/GenerateExportHeader/prefix/main.cpp b/Tests/Module/GenerateExportHeader/prefix/main.cpp
deleted file mode 100644
index 507f6fd..0000000
--- a/Tests/Module/GenerateExportHeader/prefix/main.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-
-#include "useprefixclass.h"
-
-int main(int argc, char **argv)
-{
- UsePrefixClass upc;
- return upc.someMethod();
-}
diff --git a/Tests/Module/GenerateExportHeader/prefix/useprefixclass.cpp b/Tests/Module/GenerateExportHeader/prefix/useprefixclass.cpp
deleted file mode 100644
index 1fd2cb2..0000000
--- a/Tests/Module/GenerateExportHeader/prefix/useprefixclass.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
-
-#include "useprefixclass.h"
-
-int UsePrefixClass::someMethod() const
-{
- return 0;
-}
diff --git a/Tests/Module/GenerateExportHeader/prefix/useprefixclass.h b/Tests/Module/GenerateExportHeader/prefix/useprefixclass.h
deleted file mode 100644
index f5e31b5..0000000
--- a/Tests/Module/GenerateExportHeader/prefix/useprefixclass.h
+++ /dev/null
@@ -1,13 +0,0 @@
-
-#ifndef USEPREFIXCLASS_H
-#define USEPREFIXCLASS_H
-
-#include "use_prefix_lib_export.h"
-
-class MYPREFIX_USE_PREFIX_LIB_EXPORT UsePrefixClass
-{
-public:
- int someMethod() const;
-};
-
-#endif
diff --git a/Tests/Module/GenerateExportHeader/reference/Empty/libshared_export.h b/Tests/Module/GenerateExportHeader/reference/Empty/libshared_export.h
new file mode 100644
index 0000000..b6749b2
--- /dev/null
+++ b/Tests/Module/GenerateExportHeader/reference/Empty/libshared_export.h
@@ -0,0 +1,41 @@
+
+#ifndef LIBSHARED_EXPORT_H
+#define LIBSHARED_EXPORT_H
+
+#ifdef LIBSHARED_STATIC_DEFINE
+# define LIBSHARED_EXPORT
+# define LIBSHARED_NO_EXPORT
+#else
+# ifndef LIBSHARED_EXPORT
+# ifdef libshared_EXPORTS
+ /* We are building this library */
+# define LIBSHARED_EXPORT
+# else
+ /* We are using this library */
+# define LIBSHARED_EXPORT
+# endif
+# endif
+
+# ifndef LIBSHARED_NO_EXPORT
+# define LIBSHARED_NO_EXPORT
+# endif
+#endif
+
+#ifndef LIBSHARED_DEPRECATED
+# define LIBSHARED_DEPRECATED
+#endif
+
+#ifndef LIBSHARED_DEPRECATED_EXPORT
+# define LIBSHARED_DEPRECATED_EXPORT LIBSHARED_EXPORT LIBSHARED_DEPRECATED
+#endif
+
+#ifndef LIBSHARED_DEPRECATED_NO_EXPORT
+# define LIBSHARED_DEPRECATED_NO_EXPORT LIBSHARED_NO_EXPORT LIBSHARED_DEPRECATED
+#endif
+
+#define DEFINE_NO_DEPRECATED 0
+#if DEFINE_NO_DEPRECATED
+# define LIBSHARED_NO_DEPRECATED
+#endif
+
+#endif
diff --git a/Tests/Module/GenerateExportHeader/reference/Empty/libstatic_export.h b/Tests/Module/GenerateExportHeader/reference/Empty/libstatic_export.h
new file mode 100644
index 0000000..e8000e2
--- /dev/null
+++ b/Tests/Module/GenerateExportHeader/reference/Empty/libstatic_export.h
@@ -0,0 +1,41 @@
+
+#ifndef LIBSTATIC_EXPORT_H
+#define LIBSTATIC_EXPORT_H
+
+#ifdef LIBSTATIC_STATIC_DEFINE
+# define LIBSTATIC_EXPORT
+# define LIBSTATIC_NO_EXPORT
+#else
+# ifndef LIBSTATIC_EXPORT
+# ifdef libstatic_EXPORTS
+ /* We are building this library */
+# define LIBSTATIC_EXPORT
+# else
+ /* We are using this library */
+# define LIBSTATIC_EXPORT
+# endif
+# endif
+
+# ifndef LIBSTATIC_NO_EXPORT
+# define LIBSTATIC_NO_EXPORT
+# endif
+#endif
+
+#ifndef LIBSTATIC_DEPRECATED
+# define LIBSTATIC_DEPRECATED
+#endif
+
+#ifndef LIBSTATIC_DEPRECATED_EXPORT
+# define LIBSTATIC_DEPRECATED_EXPORT LIBSTATIC_EXPORT LIBSTATIC_DEPRECATED
+#endif
+
+#ifndef LIBSTATIC_DEPRECATED_NO_EXPORT
+# define LIBSTATIC_DEPRECATED_NO_EXPORT LIBSTATIC_NO_EXPORT LIBSTATIC_DEPRECATED
+#endif
+
+#define DEFINE_NO_DEPRECATED 0
+#if DEFINE_NO_DEPRECATED
+# define LIBSTATIC_NO_DEPRECATED
+#endif
+
+#endif
diff --git a/Tests/Module/GenerateExportHeader/reference/MinGW/libshared_export.h b/Tests/Module/GenerateExportHeader/reference/MinGW/libshared_export.h
new file mode 100644
index 0000000..d376631
--- /dev/null
+++ b/Tests/Module/GenerateExportHeader/reference/MinGW/libshared_export.h
@@ -0,0 +1,41 @@
+
+#ifndef LIBSHARED_EXPORT_H
+#define LIBSHARED_EXPORT_H
+
+#ifdef LIBSHARED_STATIC_DEFINE
+# define LIBSHARED_EXPORT
+# define LIBSHARED_NO_EXPORT
+#else
+# ifndef LIBSHARED_EXPORT
+# ifdef libshared_EXPORTS
+ /* We are building this library */
+# define LIBSHARED_EXPORT __declspec(dllexport)
+# else
+ /* We are using this library */
+# define LIBSHARED_EXPORT __declspec(dllimport)
+# endif
+# endif
+
+# ifndef LIBSHARED_NO_EXPORT
+# define LIBSHARED_NO_EXPORT
+# endif
+#endif
+
+#ifndef LIBSHARED_DEPRECATED
+# define LIBSHARED_DEPRECATED __attribute__ ((__deprecated__))
+#endif
+
+#ifndef LIBSHARED_DEPRECATED_EXPORT
+# define LIBSHARED_DEPRECATED_EXPORT LIBSHARED_EXPORT LIBSHARED_DEPRECATED
+#endif
+
+#ifndef LIBSHARED_DEPRECATED_NO_EXPORT
+# define LIBSHARED_DEPRECATED_NO_EXPORT LIBSHARED_NO_EXPORT LIBSHARED_DEPRECATED
+#endif
+
+#define DEFINE_NO_DEPRECATED 0
+#if DEFINE_NO_DEPRECATED
+# define LIBSHARED_NO_DEPRECATED
+#endif
+
+#endif
diff --git a/Tests/Module/GenerateExportHeader/reference/MinGW/libstatic_export.h b/Tests/Module/GenerateExportHeader/reference/MinGW/libstatic_export.h
new file mode 100644
index 0000000..fd021e9
--- /dev/null
+++ b/Tests/Module/GenerateExportHeader/reference/MinGW/libstatic_export.h
@@ -0,0 +1,41 @@
+
+#ifndef LIBSTATIC_EXPORT_H
+#define LIBSTATIC_EXPORT_H
+
+#ifdef LIBSTATIC_STATIC_DEFINE
+# define LIBSTATIC_EXPORT
+# define LIBSTATIC_NO_EXPORT
+#else
+# ifndef LIBSTATIC_EXPORT
+# ifdef libstatic_EXPORTS
+ /* We are building this library */
+# define LIBSTATIC_EXPORT
+# else
+ /* We are using this library */
+# define LIBSTATIC_EXPORT
+# endif
+# endif
+
+# ifndef LIBSTATIC_NO_EXPORT
+# define LIBSTATIC_NO_EXPORT
+# endif
+#endif
+
+#ifndef LIBSTATIC_DEPRECATED
+# define LIBSTATIC_DEPRECATED __attribute__ ((__deprecated__))
+#endif
+
+#ifndef LIBSTATIC_DEPRECATED_EXPORT
+# define LIBSTATIC_DEPRECATED_EXPORT LIBSTATIC_EXPORT LIBSTATIC_DEPRECATED
+#endif
+
+#ifndef LIBSTATIC_DEPRECATED_NO_EXPORT
+# define LIBSTATIC_DEPRECATED_NO_EXPORT LIBSTATIC_NO_EXPORT LIBSTATIC_DEPRECATED
+#endif
+
+#define DEFINE_NO_DEPRECATED 0
+#if DEFINE_NO_DEPRECATED
+# define LIBSTATIC_NO_DEPRECATED
+#endif
+
+#endif
diff --git a/Tests/Module/GenerateExportHeader/reference/UNIX/libshared_export.h b/Tests/Module/GenerateExportHeader/reference/UNIX/libshared_export.h
new file mode 100644
index 0000000..7d8087f
--- /dev/null
+++ b/Tests/Module/GenerateExportHeader/reference/UNIX/libshared_export.h
@@ -0,0 +1,41 @@
+
+#ifndef LIBSHARED_EXPORT_H
+#define LIBSHARED_EXPORT_H
+
+#ifdef LIBSHARED_STATIC_DEFINE
+# define LIBSHARED_EXPORT
+# define LIBSHARED_NO_EXPORT
+#else
+# ifndef LIBSHARED_EXPORT
+# ifdef libshared_EXPORTS
+ /* We are building this library */
+# define LIBSHARED_EXPORT __attribute__((visibility("default")))
+# else
+ /* We are using this library */
+# define LIBSHARED_EXPORT __attribute__((visibility("default")))
+# endif
+# endif
+
+# ifndef LIBSHARED_NO_EXPORT
+# define LIBSHARED_NO_EXPORT __attribute__((visibility("hidden")))
+# endif
+#endif
+
+#ifndef LIBSHARED_DEPRECATED
+# define LIBSHARED_DEPRECATED __attribute__ ((__deprecated__))
+#endif
+
+#ifndef LIBSHARED_DEPRECATED_EXPORT
+# define LIBSHARED_DEPRECATED_EXPORT LIBSHARED_EXPORT LIBSHARED_DEPRECATED
+#endif
+
+#ifndef LIBSHARED_DEPRECATED_NO_EXPORT
+# define LIBSHARED_DEPRECATED_NO_EXPORT LIBSHARED_NO_EXPORT LIBSHARED_DEPRECATED
+#endif
+
+#define DEFINE_NO_DEPRECATED 0
+#if DEFINE_NO_DEPRECATED
+# define LIBSHARED_NO_DEPRECATED
+#endif
+
+#endif
diff --git a/Tests/Module/GenerateExportHeader/reference/UNIX/libstatic_export.h b/Tests/Module/GenerateExportHeader/reference/UNIX/libstatic_export.h
new file mode 100644
index 0000000..fd021e9
--- /dev/null
+++ b/Tests/Module/GenerateExportHeader/reference/UNIX/libstatic_export.h
@@ -0,0 +1,41 @@
+
+#ifndef LIBSTATIC_EXPORT_H
+#define LIBSTATIC_EXPORT_H
+
+#ifdef LIBSTATIC_STATIC_DEFINE
+# define LIBSTATIC_EXPORT
+# define LIBSTATIC_NO_EXPORT
+#else
+# ifndef LIBSTATIC_EXPORT
+# ifdef libstatic_EXPORTS
+ /* We are building this library */
+# define LIBSTATIC_EXPORT
+# else
+ /* We are using this library */
+# define LIBSTATIC_EXPORT
+# endif
+# endif
+
+# ifndef LIBSTATIC_NO_EXPORT
+# define LIBSTATIC_NO_EXPORT
+# endif
+#endif
+
+#ifndef LIBSTATIC_DEPRECATED
+# define LIBSTATIC_DEPRECATED __attribute__ ((__deprecated__))
+#endif
+
+#ifndef LIBSTATIC_DEPRECATED_EXPORT
+# define LIBSTATIC_DEPRECATED_EXPORT LIBSTATIC_EXPORT LIBSTATIC_DEPRECATED
+#endif
+
+#ifndef LIBSTATIC_DEPRECATED_NO_EXPORT
+# define LIBSTATIC_DEPRECATED_NO_EXPORT LIBSTATIC_NO_EXPORT LIBSTATIC_DEPRECATED
+#endif
+
+#define DEFINE_NO_DEPRECATED 0
+#if DEFINE_NO_DEPRECATED
+# define LIBSTATIC_NO_DEPRECATED
+#endif
+
+#endif
diff --git a/Tests/Module/GenerateExportHeader/reference/UNIX_DeprecatedOnly/libshared_export.h b/Tests/Module/GenerateExportHeader/reference/UNIX_DeprecatedOnly/libshared_export.h
new file mode 100644
index 0000000..5681f58
--- /dev/null
+++ b/Tests/Module/GenerateExportHeader/reference/UNIX_DeprecatedOnly/libshared_export.h
@@ -0,0 +1,41 @@
+
+#ifndef LIBSHARED_EXPORT_H
+#define LIBSHARED_EXPORT_H
+
+#ifdef LIBSHARED_STATIC_DEFINE
+# define LIBSHARED_EXPORT
+# define LIBSHARED_NO_EXPORT
+#else
+# ifndef LIBSHARED_EXPORT
+# ifdef libshared_EXPORTS
+ /* We are building this library */
+# define LIBSHARED_EXPORT
+# else
+ /* We are using this library */
+# define LIBSHARED_EXPORT
+# endif
+# endif
+
+# ifndef LIBSHARED_NO_EXPORT
+# define LIBSHARED_NO_EXPORT
+# endif
+#endif
+
+#ifndef LIBSHARED_DEPRECATED
+# define LIBSHARED_DEPRECATED __attribute__ ((__deprecated__))
+#endif
+
+#ifndef LIBSHARED_DEPRECATED_EXPORT
+# define LIBSHARED_DEPRECATED_EXPORT LIBSHARED_EXPORT LIBSHARED_DEPRECATED
+#endif
+
+#ifndef LIBSHARED_DEPRECATED_NO_EXPORT
+# define LIBSHARED_DEPRECATED_NO_EXPORT LIBSHARED_NO_EXPORT LIBSHARED_DEPRECATED
+#endif
+
+#define DEFINE_NO_DEPRECATED 0
+#if DEFINE_NO_DEPRECATED
+# define LIBSHARED_NO_DEPRECATED
+#endif
+
+#endif
diff --git a/Tests/Module/GenerateExportHeader/reference/UNIX_DeprecatedOnly/libstatic_export.h b/Tests/Module/GenerateExportHeader/reference/UNIX_DeprecatedOnly/libstatic_export.h
new file mode 100644
index 0000000..fd021e9
--- /dev/null
+++ b/Tests/Module/GenerateExportHeader/reference/UNIX_DeprecatedOnly/libstatic_export.h
@@ -0,0 +1,41 @@
+
+#ifndef LIBSTATIC_EXPORT_H
+#define LIBSTATIC_EXPORT_H
+
+#ifdef LIBSTATIC_STATIC_DEFINE
+# define LIBSTATIC_EXPORT
+# define LIBSTATIC_NO_EXPORT
+#else
+# ifndef LIBSTATIC_EXPORT
+# ifdef libstatic_EXPORTS
+ /* We are building this library */
+# define LIBSTATIC_EXPORT
+# else
+ /* We are using this library */
+# define LIBSTATIC_EXPORT
+# endif
+# endif
+
+# ifndef LIBSTATIC_NO_EXPORT
+# define LIBSTATIC_NO_EXPORT
+# endif
+#endif
+
+#ifndef LIBSTATIC_DEPRECATED
+# define LIBSTATIC_DEPRECATED __attribute__ ((__deprecated__))
+#endif
+
+#ifndef LIBSTATIC_DEPRECATED_EXPORT
+# define LIBSTATIC_DEPRECATED_EXPORT LIBSTATIC_EXPORT LIBSTATIC_DEPRECATED
+#endif
+
+#ifndef LIBSTATIC_DEPRECATED_NO_EXPORT
+# define LIBSTATIC_DEPRECATED_NO_EXPORT LIBSTATIC_NO_EXPORT LIBSTATIC_DEPRECATED
+#endif
+
+#define DEFINE_NO_DEPRECATED 0
+#if DEFINE_NO_DEPRECATED
+# define LIBSTATIC_NO_DEPRECATED
+#endif
+
+#endif
diff --git a/Tests/Module/GenerateExportHeader/reference/Win32/libshared_export.h b/Tests/Module/GenerateExportHeader/reference/Win32/libshared_export.h
new file mode 100644
index 0000000..976c92e
--- /dev/null
+++ b/Tests/Module/GenerateExportHeader/reference/Win32/libshared_export.h
@@ -0,0 +1,41 @@
+
+#ifndef LIBSHARED_EXPORT_H
+#define LIBSHARED_EXPORT_H
+
+#ifdef LIBSHARED_STATIC_DEFINE
+# define LIBSHARED_EXPORT
+# define LIBSHARED_NO_EXPORT
+#else
+# ifndef LIBSHARED_EXPORT
+# ifdef libshared_EXPORTS
+ /* We are building this library */
+# define LIBSHARED_EXPORT __declspec(dllexport)
+# else
+ /* We are using this library */
+# define LIBSHARED_EXPORT __declspec(dllimport)
+# endif
+# endif
+
+# ifndef LIBSHARED_NO_EXPORT
+# define LIBSHARED_NO_EXPORT
+# endif
+#endif
+
+#ifndef LIBSHARED_DEPRECATED
+# define LIBSHARED_DEPRECATED __declspec(deprecated)
+#endif
+
+#ifndef LIBSHARED_DEPRECATED_EXPORT
+# define LIBSHARED_DEPRECATED_EXPORT LIBSHARED_EXPORT LIBSHARED_DEPRECATED
+#endif
+
+#ifndef LIBSHARED_DEPRECATED_NO_EXPORT
+# define LIBSHARED_DEPRECATED_NO_EXPORT LIBSHARED_NO_EXPORT LIBSHARED_DEPRECATED
+#endif
+
+#define DEFINE_NO_DEPRECATED 0
+#if DEFINE_NO_DEPRECATED
+# define LIBSHARED_NO_DEPRECATED
+#endif
+
+#endif
diff --git a/Tests/Module/GenerateExportHeader/reference/Win32/libstatic_export.h b/Tests/Module/GenerateExportHeader/reference/Win32/libstatic_export.h
new file mode 100644
index 0000000..db4df61
--- /dev/null
+++ b/Tests/Module/GenerateExportHeader/reference/Win32/libstatic_export.h
@@ -0,0 +1,41 @@
+
+#ifndef LIBSTATIC_EXPORT_H
+#define LIBSTATIC_EXPORT_H
+
+#ifdef LIBSTATIC_STATIC_DEFINE
+# define LIBSTATIC_EXPORT
+# define LIBSTATIC_NO_EXPORT
+#else
+# ifndef LIBSTATIC_EXPORT
+# ifdef libstatic_EXPORTS
+ /* We are building this library */
+# define LIBSTATIC_EXPORT
+# else
+ /* We are using this library */
+# define LIBSTATIC_EXPORT
+# endif
+# endif
+
+# ifndef LIBSTATIC_NO_EXPORT
+# define LIBSTATIC_NO_EXPORT
+# endif
+#endif
+
+#ifndef LIBSTATIC_DEPRECATED
+# define LIBSTATIC_DEPRECATED __declspec(deprecated)
+#endif
+
+#ifndef LIBSTATIC_DEPRECATED_EXPORT
+# define LIBSTATIC_DEPRECATED_EXPORT LIBSTATIC_EXPORT LIBSTATIC_DEPRECATED
+#endif
+
+#ifndef LIBSTATIC_DEPRECATED_NO_EXPORT
+# define LIBSTATIC_DEPRECATED_NO_EXPORT LIBSTATIC_NO_EXPORT LIBSTATIC_DEPRECATED
+#endif
+
+#define DEFINE_NO_DEPRECATED 0
+#if DEFINE_NO_DEPRECATED
+# define LIBSTATIC_NO_DEPRECATED
+#endif
+
+#endif
diff --git a/Tests/Module/GenerateExportHeader/reference/WinEmpty/libshared_export.h b/Tests/Module/GenerateExportHeader/reference/WinEmpty/libshared_export.h
new file mode 100644
index 0000000..2dc41d4
--- /dev/null
+++ b/Tests/Module/GenerateExportHeader/reference/WinEmpty/libshared_export.h
@@ -0,0 +1,41 @@
+
+#ifndef LIBSHARED_EXPORT_H
+#define LIBSHARED_EXPORT_H
+
+#ifdef LIBSHARED_STATIC_DEFINE
+# define LIBSHARED_EXPORT
+# define LIBSHARED_NO_EXPORT
+#else
+# ifndef LIBSHARED_EXPORT
+# ifdef libshared_EXPORTS
+ /* We are building this library */
+# define LIBSHARED_EXPORT __declspec(dllexport)
+# else
+ /* We are using this library */
+# define LIBSHARED_EXPORT __declspec(dllimport)
+# endif
+# endif
+
+# ifndef LIBSHARED_NO_EXPORT
+# define LIBSHARED_NO_EXPORT
+# endif
+#endif
+
+#ifndef LIBSHARED_DEPRECATED
+# define LIBSHARED_DEPRECATED
+#endif
+
+#ifndef LIBSHARED_DEPRECATED_EXPORT
+# define LIBSHARED_DEPRECATED_EXPORT LIBSHARED_EXPORT LIBSHARED_DEPRECATED
+#endif
+
+#ifndef LIBSHARED_DEPRECATED_NO_EXPORT
+# define LIBSHARED_DEPRECATED_NO_EXPORT LIBSHARED_NO_EXPORT LIBSHARED_DEPRECATED
+#endif
+
+#define DEFINE_NO_DEPRECATED 0
+#if DEFINE_NO_DEPRECATED
+# define LIBSHARED_NO_DEPRECATED
+#endif
+
+#endif
diff --git a/Tests/Module/GenerateExportHeader/reference/WinEmpty/libstatic_export.h b/Tests/Module/GenerateExportHeader/reference/WinEmpty/libstatic_export.h
new file mode 100644
index 0000000..e8000e2
--- /dev/null
+++ b/Tests/Module/GenerateExportHeader/reference/WinEmpty/libstatic_export.h
@@ -0,0 +1,41 @@
+
+#ifndef LIBSTATIC_EXPORT_H
+#define LIBSTATIC_EXPORT_H
+
+#ifdef LIBSTATIC_STATIC_DEFINE
+# define LIBSTATIC_EXPORT
+# define LIBSTATIC_NO_EXPORT
+#else
+# ifndef LIBSTATIC_EXPORT
+# ifdef libstatic_EXPORTS
+ /* We are building this library */
+# define LIBSTATIC_EXPORT
+# else
+ /* We are using this library */
+# define LIBSTATIC_EXPORT
+# endif
+# endif
+
+# ifndef LIBSTATIC_NO_EXPORT
+# define LIBSTATIC_NO_EXPORT
+# endif
+#endif
+
+#ifndef LIBSTATIC_DEPRECATED
+# define LIBSTATIC_DEPRECATED
+#endif
+
+#ifndef LIBSTATIC_DEPRECATED_EXPORT
+# define LIBSTATIC_DEPRECATED_EXPORT LIBSTATIC_EXPORT LIBSTATIC_DEPRECATED
+#endif
+
+#ifndef LIBSTATIC_DEPRECATED_NO_EXPORT
+# define LIBSTATIC_DEPRECATED_NO_EXPORT LIBSTATIC_NO_EXPORT LIBSTATIC_DEPRECATED
+#endif
+
+#define DEFINE_NO_DEPRECATED 0
+#if DEFINE_NO_DEPRECATED
+# define LIBSTATIC_NO_DEPRECATED
+#endif
+
+#endif
diff --git a/Tests/Module/GenerateExportHeader/visibility_preset/CMakeLists.txt b/Tests/Module/GenerateExportHeader/visibility_preset/CMakeLists.txt
deleted file mode 100644
index 2571d22..0000000
--- a/Tests/Module/GenerateExportHeader/visibility_preset/CMakeLists.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-
-set(CMAKE_CXX_VISIBILITY_PRESET hidden)
-set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)
-
-if (CMAKE_CXX_FLAGS MATCHES "-fvisibility=hidden")
- message(SEND_ERROR "Do not use add_compiler_export_flags before adding this directory")
-endif()
-if (CMAKE_CXX_FLAGS MATCHES "-fvisibility-inlines-hidden")
- message(SEND_ERROR "Do not use add_compiler_export_flags before adding this directory")
-endif()
-
-add_library(visibility_preset SHARED visibility_preset.cpp)
-generate_export_header(visibility_preset)
-
-add_executable(visibility_preset_exe main.cpp)
-
-target_link_libraries(visibility_preset_exe visibility_preset)
diff --git a/Tests/Module/GenerateExportHeader/visibility_preset/main.cpp b/Tests/Module/GenerateExportHeader/visibility_preset/main.cpp
deleted file mode 100644
index 89c3977..0000000
--- a/Tests/Module/GenerateExportHeader/visibility_preset/main.cpp
+++ /dev/null
@@ -1,9 +0,0 @@
-
-#include "visibility_preset.h"
-
-int main()
-{
- VisibilityPreset vp;
- vp.someMethod();
- return 0;
-}
diff --git a/Tests/Module/GenerateExportHeader/visibility_preset/visibility_preset.cpp b/Tests/Module/GenerateExportHeader/visibility_preset/visibility_preset.cpp
deleted file mode 100644
index c97dec6..0000000
--- a/Tests/Module/GenerateExportHeader/visibility_preset/visibility_preset.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
-
-#include "visibility_preset.h"
-
-void VisibilityPreset::someMethod()
-{
-
-}
diff --git a/Tests/Module/GenerateExportHeader/visibility_preset/visibility_preset.h b/Tests/Module/GenerateExportHeader/visibility_preset/visibility_preset.h
deleted file mode 100644
index 8becbe1..0000000
--- a/Tests/Module/GenerateExportHeader/visibility_preset/visibility_preset.h
+++ /dev/null
@@ -1,13 +0,0 @@
-
-#ifndef VISIBILITY_PRESET_H
-#define VISIBILITY_PRESET_H
-
-#include "visibility_preset_export.h"
-
-class VISIBILITY_PRESET_EXPORT VisibilityPreset
-{
-public:
- void someMethod();
-};
-
-#endif
diff --git a/Tests/ObjectLibrary/CMakeLists.txt b/Tests/ObjectLibrary/CMakeLists.txt
index 13a07b4..0aeefaa 100644
--- a/Tests/ObjectLibrary/CMakeLists.txt
+++ b/Tests/ObjectLibrary/CMakeLists.txt
@@ -58,3 +58,5 @@ target_compile_definitions(ABmain PUBLIC $<TARGET_PROPERTY:B,INTERFACE_COMPILE_D
add_executable(UseABinternal ${dummy}
$<TARGET_OBJECTS:ABmain> $<TARGET_OBJECTS:A> $<TARGET_OBJECTS:B>
)
+
+add_subdirectory(ExportLanguages)
diff --git a/Tests/ObjectLibrary/ExportLanguages/CMakeLists.txt b/Tests/ObjectLibrary/ExportLanguages/CMakeLists.txt
new file mode 100644
index 0000000..22c92a7
--- /dev/null
+++ b/Tests/ObjectLibrary/ExportLanguages/CMakeLists.txt
@@ -0,0 +1,15 @@
+cmake_minimum_required(VERSION 2.8)
+project(ExportLanguages CXX)
+add_library(ExportLanguagesA OBJECT a.cxx)
+add_library(ExportLanguagesB STATIC a.c $<TARGET_OBJECTS:ExportLanguagesA>)
+
+# Verify that object library languages are propagated.
+export(TARGETS ExportLanguagesB NAMESPACE Exp FILE BExport.cmake)
+include(ExternalProject)
+ExternalProject_Add(ExportLanguagesTest
+ SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ExportLanguagesTest"
+ BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/ExportLanguagesTest"
+ DOWNLOAD_COMMAND ""
+ INSTALL_COMMAND ""
+)
+add_dependencies(ExportLanguagesTest ExportLanguagesA ExportLanguagesB)
diff --git a/Tests/ObjectLibrary/ExportLanguages/ExportLanguagesTest/CMakeLists.txt b/Tests/ObjectLibrary/ExportLanguages/ExportLanguagesTest/CMakeLists.txt
new file mode 100644
index 0000000..fc8dd2b
--- /dev/null
+++ b/Tests/ObjectLibrary/ExportLanguages/ExportLanguagesTest/CMakeLists.txt
@@ -0,0 +1,14 @@
+
+cmake_minimum_required(VERSION 2.8)
+
+project(ExportLanguagesTest)
+
+include(${CMAKE_CURRENT_BINARY_DIR}/../BExport.cmake)
+get_property(configs TARGET ExpExportLanguagesB PROPERTY IMPORTED_CONFIGURATIONS)
+foreach(c ${configs})
+ get_property(langs TARGET ExpExportLanguagesB PROPERTY IMPORTED_LINK_INTERFACE_LANGUAGES_${c})
+ list(FIND langs CXX pos)
+ if(${pos} LESS 0)
+ message(FATAL_ERROR "Target export does not list object library languages.")
+ endif()
+endforeach()
diff --git a/Tests/ObjectLibrary/ExportLanguages/a.c b/Tests/ObjectLibrary/ExportLanguages/a.c
new file mode 100644
index 0000000..af20d3f
--- /dev/null
+++ b/Tests/ObjectLibrary/ExportLanguages/a.c
@@ -0,0 +1 @@
+int a(void) { return 0; }
diff --git a/Tests/RunCMake/ObjectLibrary/a.cxx b/Tests/ObjectLibrary/ExportLanguages/a.cxx
index ae9c87c..ae9c87c 100644
--- a/Tests/RunCMake/ObjectLibrary/a.cxx
+++ b/Tests/ObjectLibrary/ExportLanguages/a.cxx
diff --git a/Tests/Plugin/CMakeLists.txt b/Tests/Plugin/CMakeLists.txt
index d1b8334..c6ed15d 100644
--- a/Tests/Plugin/CMakeLists.txt
+++ b/Tests/Plugin/CMakeLists.txt
@@ -50,37 +50,15 @@ if(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG AND
# Verify that targets export with proper IMPORTED SONAME properties.
export(TARGETS example_mod_1 example_mod_2 NAMESPACE exp_
FILE ${CMAKE_CURRENT_BINARY_DIR}/mods.cmake)
- include(${CMAKE_CURRENT_BINARY_DIR}/mods.cmake)
- get_property(configs TARGET exp_example_mod_1 PROPERTY IMPORTED_CONFIGURATIONS)
- foreach(c ${configs})
- string(TOUPPER "${c}" CONFIG)
- get_property(soname1 TARGET exp_example_mod_1 PROPERTY IMPORTED_SONAME_${CONFIG})
- get_property(soname2 TARGET exp_example_mod_2 PROPERTY IMPORTED_NO_SONAME_${CONFIG})
- if(soname1)
- message(STATUS "exp_example_mod_1 has IMPORTED_SONAME_${CONFIG} as expected: ${soname1}")
- else()
- message(SEND_ERROR "exp_example_mod_1 does not have IMPORTED_SONAME_${CONFIG} but should")
- endif()
- if(soname2)
- message(STATUS "exp_example_mod_2 has IMPORTED_NO_SONAME_${CONFIG} as expected: ${soname2}")
- else()
- message(SEND_ERROR "exp_example_mod_2 does not have IMPORTED_NO_SONAME_${CONFIG} but should")
- endif()
- endforeach()
- # Parse the binary to check for SONAME if possible.
- if("${CMAKE_EXECUTABLE_FORMAT}" MATCHES "ELF")
- find_program(READELF_EXE readelf)
- if(READELF_EXE)
- add_custom_target(check_mod_soname ALL COMMAND
- ${CMAKE_COMMAND} -Dreadelf=${READELF_EXE}
- -Dmod1=$<TARGET_FILE:example_mod_1>
- -Dmod2=$<TARGET_FILE:example_mod_2>
- -P ${CMAKE_CURRENT_SOURCE_DIR}/check_mod_soname.cmake
- )
- add_dependencies(check_mod_soname example_mod_1 example_mod_2)
- endif()
- endif()
+ include(ExternalProject)
+ ExternalProject_Add(PluginTest
+ SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/PluginTest"
+ BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/PluginTest"
+ DOWNLOAD_COMMAND ""
+ INSTALL_COMMAND ""
+ )
+ add_dependencies(PluginTest example_mod_1 example_mod_2)
endif()
# TODO:
diff --git a/Tests/Plugin/PluginTest/CMakeLists.txt b/Tests/Plugin/PluginTest/CMakeLists.txt
new file mode 100644
index 0000000..79ef8a9
--- /dev/null
+++ b/Tests/Plugin/PluginTest/CMakeLists.txt
@@ -0,0 +1,34 @@
+cmake_minimum_required(VERSION 2.8)
+
+project(PluginTest)
+
+include(${CMAKE_CURRENT_BINARY_DIR}/../mods.cmake)
+get_property(configs TARGET exp_example_mod_1 PROPERTY IMPORTED_CONFIGURATIONS)
+foreach(c ${configs})
+ string(TOUPPER "${c}" CONFIG)
+ get_property(soname1 TARGET exp_example_mod_1 PROPERTY IMPORTED_SONAME_${CONFIG})
+ get_property(soname2 TARGET exp_example_mod_2 PROPERTY IMPORTED_NO_SONAME_${CONFIG})
+ if(soname1)
+ message(STATUS "exp_example_mod_1 has IMPORTED_SONAME_${CONFIG} as expected: ${soname1}")
+ else()
+ message(SEND_ERROR "exp_example_mod_1 does not have IMPORTED_SONAME_${CONFIG} but should")
+ endif()
+ if(soname2)
+ message(STATUS "exp_example_mod_2 has IMPORTED_NO_SONAME_${CONFIG} as expected: ${soname2}")
+ else()
+ message(SEND_ERROR "exp_example_mod_2 does not have IMPORTED_NO_SONAME_${CONFIG} but should")
+ endif()
+endforeach()
+
+# Parse the binary to check for SONAME if possible.
+if("${CMAKE_EXECUTABLE_FORMAT}" MATCHES "ELF")
+ find_program(READELF_EXE readelf)
+ if(READELF_EXE)
+ add_custom_target(check_mod_soname ALL COMMAND
+ ${CMAKE_COMMAND} -Dreadelf=${READELF_EXE}
+ -Dmod1=$<TARGET_FILE:exp_example_mod_1>
+ -Dmod2=$<TARGET_FILE:exp_example_mod_2>
+ -P ${CMAKE_CURRENT_SOURCE_DIR}/../check_mod_soname.cmake
+ )
+ endif()
+endif()
diff --git a/Tests/PositionIndependentTargets/CMakeLists.txt b/Tests/PositionIndependentTargets/CMakeLists.txt
index eec893d..e79f3b7 100644
--- a/Tests/PositionIndependentTargets/CMakeLists.txt
+++ b/Tests/PositionIndependentTargets/CMakeLists.txt
@@ -9,5 +9,6 @@ include_directories("${CMAKE_CURRENT_SOURCE_DIR}") # For pic_test.h
add_subdirectory(global)
add_subdirectory(targets)
+add_subdirectory(interface)
add_executable(PositionIndependentTargets main.cpp)
diff --git a/Tests/PositionIndependentTargets/interface/CMakeLists.txt b/Tests/PositionIndependentTargets/interface/CMakeLists.txt
new file mode 100644
index 0000000..65f3b76
--- /dev/null
+++ b/Tests/PositionIndependentTargets/interface/CMakeLists.txt
@@ -0,0 +1,27 @@
+
+add_library(piciface INTERFACE)
+set_property(TARGET piciface PROPERTY INTERFACE_POSITION_INDEPENDENT_CODE ON)
+
+add_executable(test_empty_iface "${CMAKE_CURRENT_SOURCE_DIR}/../pic_main.cpp")
+target_link_libraries(test_empty_iface piciface)
+
+add_library(sharedlib SHARED "${CMAKE_CURRENT_SOURCE_DIR}/../pic_lib.cpp")
+target_link_libraries(sharedlib piciface)
+set_property(TARGET sharedlib PROPERTY DEFINE_SYMBOL PIC_TEST_BUILD_DLL)
+
+add_executable(test_iface_via_shared "${CMAKE_CURRENT_SOURCE_DIR}/../pic_main.cpp")
+target_link_libraries(test_iface_via_shared sharedlib)
+
+add_library(sharedlibpic SHARED "${CMAKE_CURRENT_SOURCE_DIR}/../pic_lib.cpp")
+set_property(TARGET sharedlibpic PROPERTY INTERFACE_POSITION_INDEPENDENT_CODE ON)
+set_property(TARGET sharedlibpic PROPERTY DEFINE_SYMBOL PIC_TEST_BUILD_DLL)
+
+add_library(shared_iface INTERFACE)
+target_link_libraries(shared_iface INTERFACE sharedlibpic)
+
+add_executable(test_shared_via_iface "${CMAKE_CURRENT_SOURCE_DIR}/../pic_main.cpp")
+target_link_libraries(test_shared_via_iface shared_iface)
+
+add_executable(test_shared_via_iface_non_conflict "${CMAKE_CURRENT_SOURCE_DIR}/../pic_main.cpp")
+set_property(TARGET test_shared_via_iface_non_conflict PROPERTY POSITION_INDEPENDENT_CODE ON)
+target_link_libraries(test_shared_via_iface_non_conflict shared_iface)
diff --git a/Tests/PythonCoverage/DartConfiguration.tcl.in b/Tests/PythonCoverage/DartConfiguration.tcl.in
new file mode 100644
index 0000000..e29cffe
--- /dev/null
+++ b/Tests/PythonCoverage/DartConfiguration.tcl.in
@@ -0,0 +1,8 @@
+# This file is configured by CMake automatically as DartConfiguration.tcl
+# If you choose not to use CMake, this file may be hand configured, by
+# filling in the required variables.
+
+
+# Configuration directories and files
+SourceDirectory: ${CMake_BINARY_DIR}/Testing/PythonCoverage/coveragetest
+BuildDirectory: ${CMake_BINARY_DIR}/Testing/PythonCoverage
diff --git a/Tests/PythonCoverage/coverage.xml.in b/Tests/PythonCoverage/coverage.xml.in
new file mode 100644
index 0000000..fcc1b1c
--- /dev/null
+++ b/Tests/PythonCoverage/coverage.xml.in
@@ -0,0 +1,35 @@
+<?xml version="1.0" ?>
+<!DOCTYPE coverage
+ SYSTEM 'http://cobertura.sourceforge.net/xml/coverage-03.dtd'>
+<coverage branch-rate="0" line-rate="0.8462" timestamp="1380469411433" version="3.6">
+ <!-- Generated by coverage.py: http://nedbatchelder.com/code/coverage -->
+ <packages>
+ <package branch-rate="0" complexity="0" line-rate="0.8462" name="">
+ <classes>
+ <class branch-rate="0" complexity="0" filename="foo.py" line-rate="0.6667" name="foo">
+ <methods/>
+ <lines>
+ <line hits="1" number="2"/>
+ <line hits="1" number="3"/>
+ <line hits="1" number="4"/>
+ <line hits="1" number="6"/>
+ <line hits="0" number="7"/>
+ <line hits="0" number="8"/>
+ </lines>
+ </class>
+ <class branch-rate="0" complexity="0" filename="test_foo.py" line-rate="1" name="test_foo">
+ <methods/>
+ <lines>
+ <line hits="1" number="2"/>
+ <line hits="1" number="3"/>
+ <line hits="1" number="5"/>
+ <line hits="1" number="7"/>
+ <line hits="1" number="8"/>
+ <line hits="1" number="10"/>
+ <line hits="1" number="11"/>
+ </lines>
+ </class>
+ </classes>
+ </package>
+ </packages>
+</coverage>
diff --git a/Tests/PythonCoverage/coveragetest/foo.py b/Tests/PythonCoverage/coveragetest/foo.py
new file mode 100644
index 0000000..97b5a41
--- /dev/null
+++ b/Tests/PythonCoverage/coveragetest/foo.py
@@ -0,0 +1,8 @@
+
+def foo():
+ x = 3 + 3
+ return x
+
+def bar():
+ y = 2 + 2
+ return y
diff --git a/Tests/PythonCoverage/coveragetest/test_foo.py b/Tests/PythonCoverage/coveragetest/test_foo.py
new file mode 100644
index 0000000..51a69d8
--- /dev/null
+++ b/Tests/PythonCoverage/coveragetest/test_foo.py
@@ -0,0 +1,11 @@
+
+import foo
+import unittest
+
+class TestFoo(unittest.TestCase):
+
+ def testFoo(self):
+ self.assertEquals(foo.foo(), 6, 'foo() == 6')
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/Tests/Qt4And5Automoc/CMakeLists.txt b/Tests/Qt4And5Automoc/CMakeLists.txt
index 0cc80fe..ad74961 100644
--- a/Tests/Qt4And5Automoc/CMakeLists.txt
+++ b/Tests/Qt4And5Automoc/CMakeLists.txt
@@ -1,13 +1,29 @@
+cmake_minimum_required(VERSION 2.8.12)
project(Qt4And5Automoc)
-find_package(Qt4 REQUIRED)
-find_package(Qt5Core REQUIRED)
+if (QT_REVERSE_FIND_ORDER)
+ find_package(Qt5Core REQUIRED)
+ find_package(Qt4 REQUIRED)
+else()
+ find_package(Qt4 REQUIRED)
+ find_package(Qt5Core REQUIRED)
+endif()
set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
-add_executable(qt4_exe main_qt4.cpp)
+macro(generate_main_file VERSION)
+ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/main.cpp.in" "${CMAKE_CURRENT_BINARY_DIR}/main_qt${VERSION}.cpp" COPYONLY)
+ file(APPEND "${CMAKE_CURRENT_BINARY_DIR}/main_qt${VERSION}.cpp"
+ "#include \"main_qt${VERSION}.moc\"\n"
+ )
+endmacro()
+
+generate_main_file(4)
+generate_main_file(5)
+
+add_executable(qt4_exe "${CMAKE_CURRENT_BINARY_DIR}/main_qt4.cpp")
target_link_libraries(qt4_exe Qt4::QtCore)
-add_executable(qt5_exe main_qt5.cpp)
+add_executable(qt5_exe "${CMAKE_CURRENT_BINARY_DIR}/main_qt5.cpp")
target_link_libraries(qt5_exe Qt5::Core)
diff --git a/Tests/Qt4And5Automoc/main.cpp b/Tests/Qt4And5Automoc/main.cpp.in
index 00fd641..00fd641 100644
--- a/Tests/Qt4And5Automoc/main.cpp
+++ b/Tests/Qt4And5Automoc/main.cpp.in
diff --git a/Tests/Qt4And5Automoc/main_qt4.cpp b/Tests/Qt4And5Automoc/main_qt4.cpp
deleted file mode 100644
index a84ce89..0000000
--- a/Tests/Qt4And5Automoc/main_qt4.cpp
+++ /dev/null
@@ -1,4 +0,0 @@
-
-#include "main.cpp"
-
-#include "main_qt4.moc"
diff --git a/Tests/Qt4And5Automoc/main_qt5.cpp b/Tests/Qt4And5Automoc/main_qt5.cpp
deleted file mode 100644
index 287b261..0000000
--- a/Tests/Qt4And5Automoc/main_qt5.cpp
+++ /dev/null
@@ -1,4 +0,0 @@
-
-#include "main.cpp"
-
-#include "main_qt5.moc"
diff --git a/Tests/QtAutoUicInterface/CMakeLists.txt b/Tests/QtAutoUicInterface/CMakeLists.txt
new file mode 100644
index 0000000..555f016
--- /dev/null
+++ b/Tests/QtAutoUicInterface/CMakeLists.txt
@@ -0,0 +1,70 @@
+
+cmake_minimum_required(VERSION 2.8.12)
+
+project(QtAutoUicInterface)
+
+if (QT_TEST_VERSION STREQUAL 4)
+ find_package(Qt4 REQUIRED)
+
+ include(UseQt4)
+
+ set(QT_CORE_TARGET Qt4::QtCore)
+ set(QT_GUI_TARGET Qt4::QtGui)
+else()
+ if (NOT QT_TEST_VERSION STREQUAL 5)
+ message(SEND_ERROR "Invalid Qt version specified.")
+ endif()
+ find_package(Qt5Widgets REQUIRED)
+
+ set(QT_CORE_TARGET Qt5::Core)
+ set(QT_GUI_TARGET Qt5::Widgets)
+endif()
+
+set(CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE ON)
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTOUIC ON)
+
+# BEGIN Upstream
+
+set(CMAKE_VERBOSE_MAKEFILE ON)
+
+add_library(KI18n klocalizedstring.cpp)
+target_link_libraries(KI18n ${QT_CORE_TARGET})
+
+set(autouic_options
+ -tr tr2$<$<NOT:$<BOOL:$<TARGET_PROPERTY:NO_KUIT_SEMANTIC>>>:x>i18n
+)
+if (NOT Qt5Widgets_VERSION VERSION_LESS 5.3.0)
+ list(APPEND autouic_options -include klocalizedstring.h)
+endif()
+
+set_property(TARGET KI18n APPEND PROPERTY
+ INTERFACE_AUTOUIC_OPTIONS ${autouic_options}
+)
+
+set(domainProp $<TARGET_PROPERTY:TRANSLATION_DOMAIN>)
+set(nameLower $<LOWER_CASE:$<MAKE_C_IDENTIFIER:$<TARGET_PROPERTY:NAME>>>)
+set(domain_logic
+ $<$<BOOL:${domainProp}>:${domainProp}>$<$<NOT:$<BOOL:${domainProp}>>:${nameLower}>
+)
+set_property(TARGET KI18n APPEND PROPERTY
+ INTERFACE_COMPILE_DEFINITIONS "TRANSLATION_DOMAIN=${domain_logic}"
+)
+
+# END upstream
+
+add_library(LibWidget libwidget.cpp)
+target_link_libraries(LibWidget KI18n ${QT_GUI_TARGET})
+set_property(TARGET LibWidget PROPERTY NO_KUIT_SEMANTIC ON)
+set_property(TARGET LibWidget PROPERTY TRANSLATION_DOMAIN customdomain)
+
+add_library(MyWidget mywidget.cpp)
+target_link_libraries(MyWidget KI18n ${QT_GUI_TARGET})
+
+add_executable(QtAutoUicInterface main.cpp)
+target_compile_definitions(QtAutoUicInterface
+ PRIVATE
+ UI_LIBWIDGET_H="${CMAKE_CURRENT_BINARY_DIR}/ui_libwidget.h"
+ UI_MYWIDGET_H="${CMAKE_CURRENT_BINARY_DIR}/ui_mywidget.h"
+)
diff --git a/Tests/QtAutoUicInterface/klocalizedstring.cpp b/Tests/QtAutoUicInterface/klocalizedstring.cpp
new file mode 100644
index 0000000..f2324bb
--- /dev/null
+++ b/Tests/QtAutoUicInterface/klocalizedstring.cpp
@@ -0,0 +1,12 @@
+
+#include "klocalizedstring.h"
+
+QString tr2xi18n(const char *text, const char *)
+{
+ return QLatin1String("TranslatedX") + QString::fromLatin1(text);
+}
+
+QString tr2i18n(const char *text, const char *)
+{
+ return QLatin1String("Translated") + QString::fromLatin1(text);
+}
diff --git a/Tests/QtAutoUicInterface/klocalizedstring.h b/Tests/QtAutoUicInterface/klocalizedstring.h
new file mode 100644
index 0000000..559058f
--- /dev/null
+++ b/Tests/QtAutoUicInterface/klocalizedstring.h
@@ -0,0 +1,17 @@
+
+#ifndef KLOCALIZEDSTRING_H
+#define KLOCALIZEDSTRING_H
+
+#include <QString>
+
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+QString tr2xi18n(const char *text, const char *comment = 0);
+
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+QString tr2i18n(const char *text, const char *comment = 0);
+
+#endif
diff --git a/Tests/QtAutoUicInterface/libwidget.cpp b/Tests/QtAutoUicInterface/libwidget.cpp
new file mode 100644
index 0000000..8a921b3
--- /dev/null
+++ b/Tests/QtAutoUicInterface/libwidget.cpp
@@ -0,0 +1,9 @@
+
+#include "libwidget.h"
+
+LibWidget::LibWidget(QWidget *parent)
+ : QWidget(parent),
+ ui(new Ui::LibWidget)
+{
+ ui->setupUi(this);
+}
diff --git a/Tests/QtAutoUicInterface/libwidget.h b/Tests/QtAutoUicInterface/libwidget.h
new file mode 100644
index 0000000..8b592ec
--- /dev/null
+++ b/Tests/QtAutoUicInterface/libwidget.h
@@ -0,0 +1,24 @@
+
+#ifndef LIBWIDGET_H
+#define LIBWIDGET_H
+
+#include <QWidget>
+#include <memory>
+
+#if QT_VERSION < QT_VERSION_CHECK(5, 3, 0)
+#include <klocalizedstring.h>
+#endif
+
+#include "ui_libwidget.h"
+
+class LibWidget : public QWidget
+{
+ Q_OBJECT
+public:
+ explicit LibWidget(QWidget *parent = 0);
+
+private:
+ const std::auto_ptr<Ui::LibWidget> ui;
+};
+
+#endif
diff --git a/Tests/QtAutoUicInterface/libwidget.ui b/Tests/QtAutoUicInterface/libwidget.ui
new file mode 100644
index 0000000..897371e
--- /dev/null
+++ b/Tests/QtAutoUicInterface/libwidget.ui
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>LibWidget</class>
+ <widget class="QWidget" name="LibWidget">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>400</width>
+ <height>300</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>Form</string>
+ </property>
+ <widget class="QLabel" name="label">
+ <property name="geometry">
+ <rect>
+ <x>180</x>
+ <y>60</y>
+ <width>57</width>
+ <height>15</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string>LibLabel</string>
+ </property>
+ </widget>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>
diff --git a/Tests/QtAutoUicInterface/main.cpp b/Tests/QtAutoUicInterface/main.cpp
new file mode 100644
index 0000000..42d5958
--- /dev/null
+++ b/Tests/QtAutoUicInterface/main.cpp
@@ -0,0 +1,75 @@
+
+#include <fstream>
+#include <iostream>
+#include <string>
+
+int main(int argc, char **argv)
+{
+ std::ifstream f;
+ f.open(UI_LIBWIDGET_H);
+ if (!f.is_open())
+ {
+ std::cout << "Could not open \"" UI_LIBWIDGET_H "\"." << std::endl;
+ return -1;
+ }
+
+ {
+ bool gotTr2i18n = false;
+
+ while (!f.eof())
+ {
+ std::string output;
+ getline(f, output);
+ if (!gotTr2i18n)
+ {
+ gotTr2i18n = output.find("tr2i18n") != std::string::npos;
+ }
+ if (output.find("tr2xi18n") != std::string::npos)
+ {
+ std::cout << "ui_libwidget,h uses tr2xi18n, though it should not." << std::endl;
+ return -1;
+ }
+ }
+
+ if (!gotTr2i18n)
+ {
+ std::cout << "Did not find tr2i18n in ui_libwidget.h" << std::endl;
+ return -1;
+ }
+ }
+
+ f.close();
+ f.open(UI_MYWIDGET_H);
+ if (!f.is_open())
+ {
+ std::cout << "Could not open \"" UI_MYWIDGET_H "\"." << std::endl;
+ return -1;
+ }
+
+ {
+ bool gotTr2xi18n = false;
+
+ while (!f.eof())
+ {
+ std::string output;
+ getline(f, output);
+ if (!gotTr2xi18n)
+ {
+ gotTr2xi18n = output.find("tr2xi18n") != std::string::npos;
+ }
+ if (output.find("tr2i18n") != std::string::npos)
+ {
+ std::cout << "ui_mywidget,h uses tr2i18n, though it should not." << std::endl;
+ return -1;
+ }
+ }
+ if (!gotTr2xi18n)
+ {
+ std::cout << "Did not find tr2xi18n in ui_mywidget.h" << std::endl;
+ return -1;
+ }
+ }
+ f.close();
+
+ return 0;
+}
diff --git a/Tests/QtAutoUicInterface/mywidget.cpp b/Tests/QtAutoUicInterface/mywidget.cpp
new file mode 100644
index 0000000..b528b1a
--- /dev/null
+++ b/Tests/QtAutoUicInterface/mywidget.cpp
@@ -0,0 +1,9 @@
+
+#include "mywidget.h"
+
+MyWidget::MyWidget(QWidget *parent)
+ : QWidget(parent),
+ ui(new Ui::MyWidget)
+{
+ ui->setupUi(this);
+}
diff --git a/Tests/QtAutoUicInterface/mywidget.h b/Tests/QtAutoUicInterface/mywidget.h
new file mode 100644
index 0000000..c96fb98
--- /dev/null
+++ b/Tests/QtAutoUicInterface/mywidget.h
@@ -0,0 +1,24 @@
+
+#ifndef MYWIDGET_H
+#define MYWIDGET_H
+
+#include <QWidget>
+#include <memory>
+
+#if QT_VERSION < QT_VERSION_CHECK(5, 3, 0)
+#include <klocalizedstring.h>
+#endif
+
+#include "ui_mywidget.h"
+
+class MyWidget : public QWidget
+{
+ Q_OBJECT
+public:
+ explicit MyWidget(QWidget *parent = 0);
+
+private:
+ const std::auto_ptr<Ui::MyWidget> ui;
+};
+
+#endif
diff --git a/Tests/QtAutoUicInterface/mywidget.ui b/Tests/QtAutoUicInterface/mywidget.ui
new file mode 100644
index 0000000..b2b9cc5
--- /dev/null
+++ b/Tests/QtAutoUicInterface/mywidget.ui
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>MyWidget</class>
+ <widget class="QWidget" name="MyWidget">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>400</width>
+ <height>300</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>Form</string>
+ </property>
+ <widget class="QPushButton" name="pushButton">
+ <property name="geometry">
+ <rect>
+ <x>110</x>
+ <y>40</y>
+ <width>81</width>
+ <height>23</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string>Special button</string>
+ </property>
+ </widget>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>
diff --git a/Tests/QtAutomoc/Adir/CMakeLists.txt b/Tests/QtAutogen/Adir/CMakeLists.txt
index a1c36ff..a1c36ff 100644
--- a/Tests/QtAutomoc/Adir/CMakeLists.txt
+++ b/Tests/QtAutogen/Adir/CMakeLists.txt
diff --git a/Tests/QtAutomoc/Adir/libA.cpp b/Tests/QtAutogen/Adir/libA.cpp
index 3968c44..3968c44 100644
--- a/Tests/QtAutomoc/Adir/libA.cpp
+++ b/Tests/QtAutogen/Adir/libA.cpp
diff --git a/Tests/QtAutomoc/Adir/libA.h b/Tests/QtAutogen/Adir/libA.h
index 03ad1e0..03ad1e0 100644
--- a/Tests/QtAutomoc/Adir/libA.h
+++ b/Tests/QtAutogen/Adir/libA.h
diff --git a/Tests/QtAutomoc/Bdir/CMakeLists.txt b/Tests/QtAutogen/Bdir/CMakeLists.txt
index d9d4aa7..d9d4aa7 100644
--- a/Tests/QtAutomoc/Bdir/CMakeLists.txt
+++ b/Tests/QtAutogen/Bdir/CMakeLists.txt
diff --git a/Tests/QtAutomoc/Bdir/libB.cpp b/Tests/QtAutogen/Bdir/libB.cpp
index 72f2cfa..72f2cfa 100644
--- a/Tests/QtAutomoc/Bdir/libB.cpp
+++ b/Tests/QtAutogen/Bdir/libB.cpp
diff --git a/Tests/QtAutomoc/Bdir/libB.h b/Tests/QtAutogen/Bdir/libB.h
index 510c17f..510c17f 100644
--- a/Tests/QtAutomoc/Bdir/libB.h
+++ b/Tests/QtAutogen/Bdir/libB.h
diff --git a/Tests/QtAutogen/CMakeLists.txt b/Tests/QtAutogen/CMakeLists.txt
new file mode 100644
index 0000000..0821b45
--- /dev/null
+++ b/Tests/QtAutogen/CMakeLists.txt
@@ -0,0 +1,105 @@
+cmake_minimum_required(VERSION 2.8.11)
+
+project(QtAutogen)
+
+if (QT_TEST_VERSION STREQUAL 4)
+ find_package(Qt4 REQUIRED)
+
+ # Include this directory before using the UseQt4 file.
+ add_subdirectory(defines_test)
+
+ include(UseQt4)
+
+ set(QT_QTCORE_TARGET Qt4::QtCore)
+
+ macro(qtx_wrap_cpp)
+ qt4_wrap_cpp(${ARGN})
+ endmacro()
+
+else()
+ if (NOT QT_TEST_VERSION STREQUAL 5)
+ message(SEND_ERROR "Invalid Qt version specified.")
+ endif()
+ find_package(Qt5Widgets REQUIRED)
+
+ set(QT_QTCORE_TARGET Qt5::Core)
+
+ include_directories(${Qt5Widgets_INCLUDE_DIRS})
+ set(QT_LIBRARIES Qt5::Widgets)
+
+ if(Qt5_POSITION_INDEPENDENT_CODE)
+ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
+ endif()
+
+ macro(qtx_wrap_cpp)
+ qt5_wrap_cpp(${ARGN})
+ endmacro()
+
+endif()
+
+
+include_directories(${CMAKE_CURRENT_BINARY_DIR})
+
+add_definitions(-DFOO -DSomeDefine="Barx")
+
+# enable relaxed mode so automoc can handle all the special cases:
+set(CMAKE_AUTOMOC_RELAXED_MODE TRUE)
+
+set(CMAKE_AUTOUIC ON)
+set(CMAKE_AUTORCC ON)
+
+# create an executable and two library targets, each requiring automoc:
+add_library(codeeditorLib STATIC codeeditor.cpp)
+
+add_library(privateSlot OBJECT private_slot.cpp)
+
+add_custom_target(generate_moc_input
+ COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/myinterface.h.in" "${CMAKE_CURRENT_BINARY_DIR}"
+ COMMAND ${CMAKE_COMMAND} -E rename "${CMAKE_CURRENT_BINARY_DIR}/myinterface.h.in" "${CMAKE_CURRENT_BINARY_DIR}/myinterface.h"
+)
+
+add_custom_command(
+ OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/myotherinterface.h"
+ COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/myotherinterface.h.in" "${CMAKE_CURRENT_BINARY_DIR}/myotherinterface.h"
+ DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/myotherinterface.h.in"
+)
+
+add_executable(QtAutogen main.cpp calwidget.cpp foo.cpp blub.cpp bar.cpp abc.cpp
+ xyz.cpp yaf.cpp gadget.cpp $<TARGET_OBJECTS:privateSlot>
+ test.qrc resourcetester.cpp generated.cpp
+)
+set_property(TARGET QtAutogen APPEND PROPERTY AUTOGEN_TARGET_DEPENDS generate_moc_input "${CMAKE_CURRENT_BINARY_DIR}/myotherinterface.h")
+
+set_target_properties(QtAutogen codeeditorLib privateSlot PROPERTIES AUTOMOC TRUE)
+
+include(GenerateExportHeader)
+# The order is relevant here. B depends on A, and B headers depend on A
+# headers both subdirectories use CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE and we
+# test that CMAKE_AUTOMOC successfully reads the include directories
+# for the build interface from those targets. There has previously been
+# a bug where caching of the include directories happened before
+# extracting the includes to pass to moc.
+add_subdirectory(Bdir)
+add_subdirectory(Adir)
+add_library(libC SHARED libC.cpp)
+set_target_properties(libC PROPERTIES AUTOMOC TRUE)
+generate_export_header(libC)
+target_link_libraries(libC LINK_PUBLIC libB)
+
+target_link_libraries(QtAutogen codeeditorLib ${QT_LIBRARIES} libC)
+
+# Add not_generated_file.qrc to the source list to get the file-level
+# dependency, but don't generate a c++ file from it. Disable the AUTORCC
+# feature for this target. This tests that qrc files in the sources don't
+# have an effect on generation if AUTORCC is off.
+add_library(empty STATIC empty.cpp not_generated_file.qrc)
+set_target_properties(empty PROPERTIES AUTORCC OFF)
+
+set_target_properties(empty PROPERTIES AUTOMOC TRUE)
+target_link_libraries(empty no_link_language)
+add_library(no_link_language STATIC empty.h)
+set_target_properties(no_link_language PROPERTIES AUTOMOC TRUE)
+
+qtx_wrap_cpp(uicOnlyMoc sub/uiconly.h)
+add_executable(uiconly sub/uiconly.cpp ${uicOnlyMoc})
+target_link_libraries(uiconly ${QT_LIBRARIES})
diff --git a/Tests/QtAutomoc/abc.cpp b/Tests/QtAutogen/abc.cpp
index 4bbc769..4bbc769 100644
--- a/Tests/QtAutomoc/abc.cpp
+++ b/Tests/QtAutogen/abc.cpp
diff --git a/Tests/QtAutomoc/abc.h b/Tests/QtAutogen/abc.h
index d1924b0..d1924b0 100644
--- a/Tests/QtAutomoc/abc.h
+++ b/Tests/QtAutogen/abc.h
diff --git a/Tests/QtAutomoc/abc_p.h b/Tests/QtAutogen/abc_p.h
index 952fff3..952fff3 100644
--- a/Tests/QtAutomoc/abc_p.h
+++ b/Tests/QtAutogen/abc_p.h
diff --git a/Tests/QtAutomoc/bar.cpp b/Tests/QtAutogen/bar.cpp
index 8be4815..8be4815 100644
--- a/Tests/QtAutomoc/bar.cpp
+++ b/Tests/QtAutogen/bar.cpp
diff --git a/Tests/QtAutomoc/blub.cpp b/Tests/QtAutogen/blub.cpp
index bd53972..bd53972 100644
--- a/Tests/QtAutomoc/blub.cpp
+++ b/Tests/QtAutogen/blub.cpp
diff --git a/Tests/QtAutomoc/blub.h b/Tests/QtAutogen/blub.h
index 1967bc1..1967bc1 100644
--- a/Tests/QtAutomoc/blub.h
+++ b/Tests/QtAutogen/blub.h
diff --git a/Tests/QtAutogen/calwidget.cpp b/Tests/QtAutogen/calwidget.cpp
new file mode 100644
index 0000000..defde20
--- /dev/null
+++ b/Tests/QtAutogen/calwidget.cpp
@@ -0,0 +1,434 @@
+/****************************************************************************
+ **
+ ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
+ ** All rights reserved.
+ ** Contact: Nokia Corporation (qt-info@nokia.com)
+ **
+ ** This file is part of the examples of the Qt Toolkit.
+ **
+ ** $QT_BEGIN_LICENSE:BSD$
+ ** You may use this file under the terms of the BSD license as follows:
+ **
+ ** "Redistribution and use in source and binary forms, with or without
+ ** modification, are permitted provided that the following conditions are
+ ** met:
+ ** * Redistributions of source code must retain the above copyright
+ ** notice, this list of conditions and the following disclaimer.
+ ** * Redistributions in binary form must reproduce the above copyright
+ ** notice, this list of conditions and the following disclaimer in
+ ** the documentation and/or other materials provided with the
+ ** distribution.
+ ** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
+ ** the names of its contributors may be used to endorse or promote
+ ** products derived from this software without specific prior written
+ ** permission.
+ **
+ ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+ ** $QT_END_LICENSE$
+ **
+ ****************************************************************************/
+
+ #include <QComboBox>
+ #include <QGridLayout>
+ #include <QLabel>
+ #include <QGroupBox>
+ #include <QCheckBox>
+ #include <QDateEdit>
+ #include <QCalendarWidget>
+ #include <QTextCharFormat>
+
+ #include "calwidget.h"
+
+ #include "ui_calwidget.h"
+
+ Window::Window()
+ : ui(new Ui::Window)
+ {
+ createPreviewGroupBox();
+ createGeneralOptionsGroupBox();
+ createDatesGroupBox();
+ createTextFormatsGroupBox();
+
+ QGridLayout *layout = new QGridLayout;
+ layout->addWidget(previewGroupBox, 0, 0);
+ layout->addWidget(generalOptionsGroupBox, 0, 1);
+ layout->addWidget(datesGroupBox, 1, 0);
+ layout->addWidget(textFormatsGroupBox, 1, 1);
+ layout->setSizeConstraint(QLayout::SetFixedSize);
+ setLayout(layout);
+
+ previewLayout->setRowMinimumHeight(0, calendar->sizeHint().height());
+ previewLayout->setColumnMinimumWidth(0, calendar->sizeHint().width());
+
+ setWindowTitle(tr("Calendar Widget"));
+ }
+
+ void Window::localeChanged(int index)
+ {
+ calendar->setLocale(localeCombo->itemData(index).toLocale());
+ }
+
+ void Window::firstDayChanged(int index)
+ {
+ calendar->setFirstDayOfWeek(Qt::DayOfWeek(
+ firstDayCombo->itemData(index).toInt()));
+ }
+
+ void Window::selectionModeChanged(int index)
+ {
+ calendar->setSelectionMode(QCalendarWidget::SelectionMode(
+ selectionModeCombo->itemData(index).toInt()));
+ }
+
+ void Window::horizontalHeaderChanged(int index)
+ {
+ calendar->setHorizontalHeaderFormat(QCalendarWidget::HorizontalHeaderFormat(
+ horizontalHeaderCombo->itemData(index).toInt()));
+ }
+
+ void Window::verticalHeaderChanged(int index)
+ {
+ calendar->setVerticalHeaderFormat(QCalendarWidget::VerticalHeaderFormat(
+ verticalHeaderCombo->itemData(index).toInt()));
+ }
+
+ void Window::selectedDateChanged()
+ {
+ currentDateEdit->setDate(calendar->selectedDate());
+ }
+
+ void Window::minimumDateChanged(const QDate &date)
+ {
+ calendar->setMinimumDate(date);
+ maximumDateEdit->setDate(calendar->maximumDate());
+ }
+
+ void Window::maximumDateChanged(const QDate &date)
+ {
+ calendar->setMaximumDate(date);
+ minimumDateEdit->setDate(calendar->minimumDate());
+ }
+
+ void Window::weekdayFormatChanged()
+ {
+ QTextCharFormat format;
+
+ format.setForeground(qvariant_cast<QColor>(
+ weekdayColorCombo->itemData(weekdayColorCombo->currentIndex())));
+ calendar->setWeekdayTextFormat(Qt::Monday, format);
+ calendar->setWeekdayTextFormat(Qt::Tuesday, format);
+ calendar->setWeekdayTextFormat(Qt::Wednesday, format);
+ calendar->setWeekdayTextFormat(Qt::Thursday, format);
+ calendar->setWeekdayTextFormat(Qt::Friday, format);
+ }
+
+ void Window::weekendFormatChanged()
+ {
+ QTextCharFormat format;
+
+ format.setForeground(qvariant_cast<QColor>(
+ weekendColorCombo->itemData(weekendColorCombo->currentIndex())));
+ calendar->setWeekdayTextFormat(Qt::Saturday, format);
+ calendar->setWeekdayTextFormat(Qt::Sunday, format);
+ }
+
+ void Window::reformatHeaders()
+ {
+ QString text = headerTextFormatCombo->currentText();
+ QTextCharFormat format;
+
+ if (text == tr("Bold")) {
+ format.setFontWeight(QFont::Bold);
+ } else if (text == tr("Italic")) {
+ format.setFontItalic(true);
+ } else if (text == tr("Green")) {
+ format.setForeground(Qt::green);
+ }
+ calendar->setHeaderTextFormat(format);
+ }
+
+ void Window::reformatCalendarPage()
+ {
+ if (firstFridayCheckBox->isChecked()) {
+ QDate firstFriday(calendar->yearShown(), calendar->monthShown(), 1);
+ while (firstFriday.dayOfWeek() != Qt::Friday)
+ firstFriday = firstFriday.addDays(1);
+ QTextCharFormat firstFridayFormat;
+ firstFridayFormat.setForeground(Qt::blue);
+ calendar->setDateTextFormat(firstFriday, firstFridayFormat);
+ }
+
+ //May First in Red takes precedence
+ if (mayFirstCheckBox->isChecked()) {
+ const QDate mayFirst(calendar->yearShown(), 5, 1);
+ QTextCharFormat mayFirstFormat;
+ mayFirstFormat.setForeground(Qt::red);
+ calendar->setDateTextFormat(mayFirst, mayFirstFormat);
+ }
+ }
+
+ void Window::createPreviewGroupBox()
+ {
+ previewGroupBox = new QGroupBox(tr("Preview"));
+
+ calendar = new QCalendarWidget;
+ calendar->setMinimumDate(QDate(1900, 1, 1));
+ calendar->setMaximumDate(QDate(3000, 1, 1));
+ calendar->setGridVisible(true);
+
+ connect(calendar, SIGNAL(currentPageChanged(int,int)),
+ this, SLOT(reformatCalendarPage()));
+
+ previewLayout = new QGridLayout;
+ previewLayout->addWidget(calendar, 0, 0, Qt::AlignCenter);
+ previewGroupBox->setLayout(previewLayout);
+ }
+
+ void Window::createGeneralOptionsGroupBox()
+ {
+ generalOptionsGroupBox = new QGroupBox(tr("General Options"));
+
+ localeCombo = new QComboBox;
+ int curLocaleIndex = -1;
+ int index = 0;
+ for (int _lang = QLocale::C; _lang <= QLocale::LastLanguage; ++_lang) {
+ QLocale::Language lang = static_cast<QLocale::Language>(_lang);
+ QList<QLocale::Country> countries = QLocale::countriesForLanguage(lang);
+ for (int i = 0; i < countries.count(); ++i) {
+ QLocale::Country country = countries.at(i);
+ QString label = QLocale::languageToString(lang);
+ label += QLatin1Char('/');
+ label += QLocale::countryToString(country);
+ QLocale locale(lang, country);
+ if (this->locale().language() == lang && this->locale().country() == country)
+ curLocaleIndex = index;
+ localeCombo->addItem(label, locale);
+ ++index;
+ }
+ }
+ if (curLocaleIndex != -1)
+ localeCombo->setCurrentIndex(curLocaleIndex);
+ localeLabel = new QLabel(tr("&Locale"));
+ localeLabel->setBuddy(localeCombo);
+
+ firstDayCombo = new QComboBox;
+ firstDayCombo->addItem(tr("Sunday"), Qt::Sunday);
+ firstDayCombo->addItem(tr("Monday"), Qt::Monday);
+ firstDayCombo->addItem(tr("Tuesday"), Qt::Tuesday);
+ firstDayCombo->addItem(tr("Wednesday"), Qt::Wednesday);
+ firstDayCombo->addItem(tr("Thursday"), Qt::Thursday);
+ firstDayCombo->addItem(tr("Friday"), Qt::Friday);
+ firstDayCombo->addItem(tr("Saturday"), Qt::Saturday);
+
+ firstDayLabel = new QLabel(tr("Wee&k starts on:"));
+ firstDayLabel->setBuddy(firstDayCombo);
+
+ selectionModeCombo = new QComboBox;
+ selectionModeCombo->addItem(tr("Single selection"),
+ QCalendarWidget::SingleSelection);
+ selectionModeCombo->addItem(tr("None"), QCalendarWidget::NoSelection);
+
+ selectionModeLabel = new QLabel(tr("&Selection mode:"));
+ selectionModeLabel->setBuddy(selectionModeCombo);
+
+ gridCheckBox = new QCheckBox(tr("&Grid"));
+ gridCheckBox->setChecked(calendar->isGridVisible());
+
+ navigationCheckBox = new QCheckBox(tr("&Navigation bar"));
+ navigationCheckBox->setChecked(true);
+
+ horizontalHeaderCombo = new QComboBox;
+ horizontalHeaderCombo->addItem(tr("Single letter day names"),
+ QCalendarWidget::SingleLetterDayNames);
+ horizontalHeaderCombo->addItem(tr("Short day names"),
+ QCalendarWidget::ShortDayNames);
+ horizontalHeaderCombo->addItem(tr("None"),
+ QCalendarWidget::NoHorizontalHeader);
+ horizontalHeaderCombo->setCurrentIndex(1);
+
+ horizontalHeaderLabel = new QLabel(tr("&Horizontal header:"));
+ horizontalHeaderLabel->setBuddy(horizontalHeaderCombo);
+
+ verticalHeaderCombo = new QComboBox;
+ verticalHeaderCombo->addItem(tr("ISO week numbers"),
+ QCalendarWidget::ISOWeekNumbers);
+ verticalHeaderCombo->addItem(tr("None"), QCalendarWidget::NoVerticalHeader);
+
+ verticalHeaderLabel = new QLabel(tr("&Vertical header:"));
+ verticalHeaderLabel->setBuddy(verticalHeaderCombo);
+
+ connect(localeCombo, SIGNAL(currentIndexChanged(int)),
+ this, SLOT(localeChanged(int)));
+ connect(firstDayCombo, SIGNAL(currentIndexChanged(int)),
+ this, SLOT(firstDayChanged(int)));
+ connect(selectionModeCombo, SIGNAL(currentIndexChanged(int)),
+ this, SLOT(selectionModeChanged(int)));
+ connect(gridCheckBox, SIGNAL(toggled(bool)),
+ calendar, SLOT(setGridVisible(bool)));
+ connect(navigationCheckBox, SIGNAL(toggled(bool)),
+ calendar, SLOT(setNavigationBarVisible(bool)));
+ connect(horizontalHeaderCombo, SIGNAL(currentIndexChanged(int)),
+ this, SLOT(horizontalHeaderChanged(int)));
+ connect(verticalHeaderCombo, SIGNAL(currentIndexChanged(int)),
+ this, SLOT(verticalHeaderChanged(int)));
+
+ QHBoxLayout *checkBoxLayout = new QHBoxLayout;
+ checkBoxLayout->addWidget(gridCheckBox);
+ checkBoxLayout->addStretch();
+ checkBoxLayout->addWidget(navigationCheckBox);
+
+ QGridLayout *outerLayout = new QGridLayout;
+ outerLayout->addWidget(localeLabel, 0, 0);
+ outerLayout->addWidget(localeCombo, 0, 1);
+ outerLayout->addWidget(firstDayLabel, 1, 0);
+ outerLayout->addWidget(firstDayCombo, 1, 1);
+ outerLayout->addWidget(selectionModeLabel, 2, 0);
+ outerLayout->addWidget(selectionModeCombo, 2, 1);
+ outerLayout->addLayout(checkBoxLayout, 3, 0, 1, 2);
+ outerLayout->addWidget(horizontalHeaderLabel, 4, 0);
+ outerLayout->addWidget(horizontalHeaderCombo, 4, 1);
+ outerLayout->addWidget(verticalHeaderLabel, 5, 0);
+ outerLayout->addWidget(verticalHeaderCombo, 5, 1);
+ generalOptionsGroupBox->setLayout(outerLayout);
+
+ firstDayChanged(firstDayCombo->currentIndex());
+ selectionModeChanged(selectionModeCombo->currentIndex());
+ horizontalHeaderChanged(horizontalHeaderCombo->currentIndex());
+ verticalHeaderChanged(verticalHeaderCombo->currentIndex());
+ }
+
+ void Window::createDatesGroupBox()
+ {
+ datesGroupBox = new QGroupBox(tr("Dates"));
+
+ minimumDateEdit = new QDateEdit;
+ minimumDateEdit->setDisplayFormat("MMM d yyyy");
+ minimumDateEdit->setDateRange(calendar->minimumDate(),
+ calendar->maximumDate());
+ minimumDateEdit->setDate(calendar->minimumDate());
+
+ minimumDateLabel = new QLabel(tr("&Minimum Date:"));
+ minimumDateLabel->setBuddy(minimumDateEdit);
+
+ currentDateEdit = new QDateEdit;
+ currentDateEdit->setDisplayFormat("MMM d yyyy");
+ currentDateEdit->setDate(calendar->selectedDate());
+ currentDateEdit->setDateRange(calendar->minimumDate(),
+ calendar->maximumDate());
+
+ currentDateLabel = new QLabel(tr("&Current Date:"));
+ currentDateLabel->setBuddy(currentDateEdit);
+
+ maximumDateEdit = new QDateEdit;
+ maximumDateEdit->setDisplayFormat("MMM d yyyy");
+ maximumDateEdit->setDateRange(calendar->minimumDate(),
+ calendar->maximumDate());
+ maximumDateEdit->setDate(calendar->maximumDate());
+
+ maximumDateLabel = new QLabel(tr("Ma&ximum Date:"));
+ maximumDateLabel->setBuddy(maximumDateEdit);
+
+ connect(currentDateEdit, SIGNAL(dateChanged(QDate)),
+ calendar, SLOT(setSelectedDate(QDate)));
+ connect(calendar, SIGNAL(selectionChanged()),
+ this, SLOT(selectedDateChanged()));
+ connect(minimumDateEdit, SIGNAL(dateChanged(QDate)),
+ this, SLOT(minimumDateChanged(QDate)));
+ connect(maximumDateEdit, SIGNAL(dateChanged(QDate)),
+ this, SLOT(maximumDateChanged(QDate)));
+
+ QGridLayout *dateBoxLayout = new QGridLayout;
+ dateBoxLayout->addWidget(currentDateLabel, 1, 0);
+ dateBoxLayout->addWidget(currentDateEdit, 1, 1);
+ dateBoxLayout->addWidget(minimumDateLabel, 0, 0);
+ dateBoxLayout->addWidget(minimumDateEdit, 0, 1);
+ dateBoxLayout->addWidget(maximumDateLabel, 2, 0);
+ dateBoxLayout->addWidget(maximumDateEdit, 2, 1);
+ dateBoxLayout->setRowStretch(3, 1);
+
+ datesGroupBox->setLayout(dateBoxLayout);
+ }
+
+ void Window::createTextFormatsGroupBox()
+ {
+ textFormatsGroupBox = new QGroupBox(tr("Text Formats"));
+
+ weekdayColorCombo = createColorComboBox();
+ weekdayColorCombo->setCurrentIndex(
+ weekdayColorCombo->findText(tr("Black")));
+
+ weekdayColorLabel = new QLabel(tr("&Weekday color:"));
+ weekdayColorLabel->setBuddy(weekdayColorCombo);
+
+ weekendColorCombo = createColorComboBox();
+ weekendColorCombo->setCurrentIndex(
+ weekendColorCombo->findText(tr("Red")));
+
+ weekendColorLabel = new QLabel(tr("Week&end color:"));
+ weekendColorLabel->setBuddy(weekendColorCombo);
+
+ headerTextFormatCombo = new QComboBox;
+ headerTextFormatCombo->addItem(tr("Bold"));
+ headerTextFormatCombo->addItem(tr("Italic"));
+ headerTextFormatCombo->addItem(tr("Plain"));
+
+ headerTextFormatLabel = new QLabel(tr("&Header text:"));
+ headerTextFormatLabel->setBuddy(headerTextFormatCombo);
+
+ firstFridayCheckBox = new QCheckBox(tr("&First Friday in blue"));
+
+ mayFirstCheckBox = new QCheckBox(tr("May &1 in red"));
+
+ connect(weekdayColorCombo, SIGNAL(currentIndexChanged(int)),
+ this, SLOT(weekdayFormatChanged()));
+ connect(weekendColorCombo, SIGNAL(currentIndexChanged(int)),
+ this, SLOT(weekendFormatChanged()));
+ connect(headerTextFormatCombo, SIGNAL(currentIndexChanged(QString)),
+ this, SLOT(reformatHeaders()));
+ connect(firstFridayCheckBox, SIGNAL(toggled(bool)),
+ this, SLOT(reformatCalendarPage()));
+ connect(mayFirstCheckBox, SIGNAL(toggled(bool)),
+ this, SLOT(reformatCalendarPage()));
+
+ QHBoxLayout *checkBoxLayout = new QHBoxLayout;
+ checkBoxLayout->addWidget(firstFridayCheckBox);
+ checkBoxLayout->addStretch();
+ checkBoxLayout->addWidget(mayFirstCheckBox);
+
+ QGridLayout *outerLayout = new QGridLayout;
+ outerLayout->addWidget(weekdayColorLabel, 0, 0);
+ outerLayout->addWidget(weekdayColorCombo, 0, 1);
+ outerLayout->addWidget(weekendColorLabel, 1, 0);
+ outerLayout->addWidget(weekendColorCombo, 1, 1);
+ outerLayout->addWidget(headerTextFormatLabel, 2, 0);
+ outerLayout->addWidget(headerTextFormatCombo, 2, 1);
+ outerLayout->addLayout(checkBoxLayout, 3, 0, 1, 2);
+ textFormatsGroupBox->setLayout(outerLayout);
+
+ weekdayFormatChanged();
+ weekendFormatChanged();
+ reformatHeaders();
+ reformatCalendarPage();
+ }
+
+QComboBox *Window::createColorComboBox()
+ {
+ QComboBox *comboBox = new QComboBox;
+ comboBox->addItem(tr("Red"), QColor(Qt::red));
+ comboBox->addItem(tr("Blue"), QColor(Qt::blue));
+ comboBox->addItem(tr("Black"), QColor(Qt::black));
+ comboBox->addItem(tr("Magenta"), QColor(Qt::magenta));
+ return comboBox;
+ }
+
+//#include "moc_calwidget.cpp"
diff --git a/Tests/QtAutogen/calwidget.h b/Tests/QtAutogen/calwidget.h
new file mode 100644
index 0000000..d21a473
--- /dev/null
+++ b/Tests/QtAutogen/calwidget.h
@@ -0,0 +1,128 @@
+ /****************************************************************************
+ **
+ ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
+ ** All rights reserved.
+ ** Contact: Nokia Corporation (qt-info@nokia.com)
+ **
+ ** This file is part of the examples of the Qt Toolkit.
+ **
+ ** $QT_BEGIN_LICENSE:BSD$
+ ** You may use this file under the terms of the BSD license as follows:
+ **
+ ** "Redistribution and use in source and binary forms, with or without
+ ** modification, are permitted provided that the following conditions are
+ ** met:
+ ** * Redistributions of source code must retain the above copyright
+ ** notice, this list of conditions and the following disclaimer.
+ ** * Redistributions in binary form must reproduce the above copyright
+ ** notice, this list of conditions and the following disclaimer in
+ ** the documentation and/or other materials provided with the
+ ** distribution.
+ ** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
+ ** the names of its contributors may be used to endorse or promote
+ ** products derived from this software without specific prior written
+ ** permission.
+ **
+ ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+ ** $QT_END_LICENSE$
+ **
+ ****************************************************************************/
+
+#ifndef WINDOW_H
+#define WINDOW_H
+
+#include <QWidget>
+
+ class QCalendarWidget;
+ class QCheckBox;
+ class QComboBox;
+ class QDate;
+ class QDateEdit;
+ class QGridLayout;
+ class QGroupBox;
+ class QLabel;
+
+ namespace Ui
+ {
+ class Window;
+ }
+
+ class Window : public QWidget
+ {
+ Q_OBJECT
+
+ public:
+ Window();
+
+ private slots:
+ void localeChanged(int index);
+ void firstDayChanged(int index);
+ void selectionModeChanged(int index);
+ void horizontalHeaderChanged(int index);
+ void verticalHeaderChanged(int index);
+ void selectedDateChanged();
+ void minimumDateChanged(const QDate &date);
+ void maximumDateChanged(const QDate &date);
+ void weekdayFormatChanged();
+ void weekendFormatChanged();
+ void reformatHeaders();
+ void reformatCalendarPage();
+
+ private:
+ void createPreviewGroupBox();
+ void createGeneralOptionsGroupBox();
+ void createDatesGroupBox();
+ void createTextFormatsGroupBox();
+ QComboBox *createColorComboBox();
+
+ QGroupBox *previewGroupBox;
+ QGridLayout *previewLayout;
+ QCalendarWidget *calendar;
+
+ QGroupBox *generalOptionsGroupBox;
+ QLabel *localeLabel;
+ QLabel *firstDayLabel;
+ QLabel *selectionModeLabel;
+ QLabel *horizontalHeaderLabel;
+ QLabel *verticalHeaderLabel;
+ QComboBox *localeCombo;
+ QComboBox *firstDayCombo;
+ QComboBox *selectionModeCombo;
+ QCheckBox *gridCheckBox;
+ QCheckBox *navigationCheckBox;
+ QComboBox *horizontalHeaderCombo;
+ QComboBox *verticalHeaderCombo;
+
+ QGroupBox *datesGroupBox;
+ QLabel *currentDateLabel;
+ QLabel *minimumDateLabel;
+ QLabel *maximumDateLabel;
+ QDateEdit *currentDateEdit;
+ QDateEdit *minimumDateEdit;
+ QDateEdit *maximumDateEdit;
+
+ QGroupBox *textFormatsGroupBox;
+ QLabel *weekdayColorLabel;
+ QLabel *weekendColorLabel;
+ QLabel *headerTextFormatLabel;
+ QComboBox *weekdayColorCombo;
+ QComboBox *weekendColorCombo;
+ QComboBox *headerTextFormatCombo;
+
+ QCheckBox *firstFridayCheckBox;
+ QCheckBox *mayFirstCheckBox;
+
+ Ui::Window *ui;
+ };
+
+ #endif
diff --git a/Tests/QtAutogen/calwidget.ui b/Tests/QtAutogen/calwidget.ui
new file mode 100644
index 0000000..1c245ca
--- /dev/null
+++ b/Tests/QtAutogen/calwidget.ui
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>Window</class>
+ <widget class="QWidget" name="Window">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>400</width>
+ <height>300</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>Form</string>
+ </property>
+ <widget class="QPushButton" name="pushButton">
+ <property name="geometry">
+ <rect>
+ <x>90</x>
+ <y>180</y>
+ <width>94</width>
+ <height>24</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string>PushButton</string>
+ </property>
+ </widget>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>
diff --git a/Tests/QtAutomoc/codeeditor.cpp b/Tests/QtAutogen/codeeditor.cpp
index 01da062..01da062 100644
--- a/Tests/QtAutomoc/codeeditor.cpp
+++ b/Tests/QtAutogen/codeeditor.cpp
diff --git a/Tests/QtAutomoc/codeeditor.h b/Tests/QtAutogen/codeeditor.h
index 56e9e792..56e9e792 100644
--- a/Tests/QtAutomoc/codeeditor.h
+++ b/Tests/QtAutogen/codeeditor.h
diff --git a/Tests/QtAutomoc/defines_test/CMakeLists.txt b/Tests/QtAutogen/defines_test/CMakeLists.txt
index ad4e684..ad4e684 100644
--- a/Tests/QtAutomoc/defines_test/CMakeLists.txt
+++ b/Tests/QtAutogen/defines_test/CMakeLists.txt
diff --git a/Tests/QtAutomoc/defines_test/defines_test.cpp b/Tests/QtAutogen/defines_test/defines_test.cpp
index 2836d35..2836d35 100644
--- a/Tests/QtAutomoc/defines_test/defines_test.cpp
+++ b/Tests/QtAutogen/defines_test/defines_test.cpp
diff --git a/Tests/QtAutomoc/empty.cpp b/Tests/QtAutogen/empty.cpp
index ab32cf6..ab32cf6 100644
--- a/Tests/QtAutomoc/empty.cpp
+++ b/Tests/QtAutogen/empty.cpp
diff --git a/Tests/QtAutomoc/empty.h b/Tests/QtAutogen/empty.h
index 4566142..4566142 100644
--- a/Tests/QtAutomoc/empty.h
+++ b/Tests/QtAutogen/empty.h
diff --git a/Tests/QtAutomoc/foo.cpp b/Tests/QtAutogen/foo.cpp
index 699ba09..699ba09 100644
--- a/Tests/QtAutomoc/foo.cpp
+++ b/Tests/QtAutogen/foo.cpp
diff --git a/Tests/QtAutomoc/foo.h b/Tests/QtAutogen/foo.h
index f23ec07..f23ec07 100644
--- a/Tests/QtAutomoc/foo.h
+++ b/Tests/QtAutogen/foo.h
diff --git a/Tests/QtAutogen/gadget.cpp b/Tests/QtAutogen/gadget.cpp
new file mode 100644
index 0000000..23d95fa
--- /dev/null
+++ b/Tests/QtAutogen/gadget.cpp
@@ -0,0 +1,4 @@
+
+#include "gadget.h"
+
+#include "moc_gadget.cpp"
diff --git a/Tests/QtAutogen/gadget.h b/Tests/QtAutogen/gadget.h
new file mode 100644
index 0000000..7c688ee
--- /dev/null
+++ b/Tests/QtAutogen/gadget.h
@@ -0,0 +1,18 @@
+
+#ifndef GADGET_H
+#define GADGET_H
+
+#include <QObject>
+
+class Gadget
+{
+ Q_GADGET
+ Q_ENUMS(Type)
+public:
+ enum Type {
+ Type0,
+ Type1
+ };
+};
+
+#endif
diff --git a/Tests/QtAutogen/generated.cpp b/Tests/QtAutogen/generated.cpp
new file mode 100644
index 0000000..f53bf53
--- /dev/null
+++ b/Tests/QtAutogen/generated.cpp
@@ -0,0 +1,10 @@
+
+#include "generated.h"
+
+Generated::Generated(QObject *parent)
+ : QObject(parent)
+{
+
+}
+
+#include "moc_generated.cpp"
diff --git a/Tests/QtAutogen/generated.h b/Tests/QtAutogen/generated.h
new file mode 100644
index 0000000..b6c2711
--- /dev/null
+++ b/Tests/QtAutogen/generated.h
@@ -0,0 +1,18 @@
+
+#ifndef GENERATED_H
+#define GENERATED_H
+
+#include <QObject>
+
+#include "myinterface.h"
+#include "myotherinterface.h"
+
+class Generated : public QObject, MyInterface, MyOtherInterface
+{
+ Q_OBJECT
+ Q_INTERFACES(MyInterface MyOtherInterface)
+public:
+ explicit Generated(QObject *parent = 0);
+};
+
+#endif
diff --git a/Tests/QtAutomoc/libC.cpp b/Tests/QtAutogen/libC.cpp
index 8d61cb1..8d61cb1 100644
--- a/Tests/QtAutomoc/libC.cpp
+++ b/Tests/QtAutogen/libC.cpp
diff --git a/Tests/QtAutomoc/libC.h b/Tests/QtAutogen/libC.h
index 4fb4a2c..4fb4a2c 100644
--- a/Tests/QtAutomoc/libC.h
+++ b/Tests/QtAutogen/libC.h
diff --git a/Tests/QtAutogen/main.cpp b/Tests/QtAutogen/main.cpp
new file mode 100644
index 0000000..c8a036e
--- /dev/null
+++ b/Tests/QtAutogen/main.cpp
@@ -0,0 +1,85 @@
+/****************************************************************************
+ **
+ ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
+ ** All rights reserved.
+ ** Contact: Nokia Corporation (qt-info@nokia.com)
+ **
+ ** This file is part of the examples of the Qt Toolkit.
+ **
+ ** $QT_BEGIN_LICENSE:BSD$
+ ** You may use this file under the terms of the BSD license as follows:
+ **
+ ** "Redistribution and use in source and binary forms, with or without
+ ** modification, are permitted provided that the following conditions are
+ ** met:
+ ** * Redistributions of source code must retain the above copyright
+ ** notice, this list of conditions and the following disclaimer.
+ ** * Redistributions in binary form must reproduce the above copyright
+ ** notice, this list of conditions and the following disclaimer in
+ ** the documentation and/or other materials provided with the
+ ** distribution.
+ ** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
+ ** the names of its contributors may be used to endorse or promote
+ ** products derived from this software without specific prior written
+ ** permission.
+ **
+ ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+ ** $QT_END_LICENSE$
+ **
+ ****************************************************************************/
+
+#include <QCoreApplication>
+#include <QTimer>
+
+#include "codeeditor.h"
+#include "calwidget.h"
+#include "foo.h"
+#include "blub.h"
+#include "sub/bar.h"
+#include "abc.h"
+#include "xyz.h"
+#include "yaf.h"
+#include "libC.h"
+#include "resourcetester.h"
+
+int main(int argv, char **args)
+{
+ QCoreApplication app(argv, args);
+
+ Foo foo;
+ foo.doFoo();
+
+ Blub b;
+ b.blubber();
+
+ Bar bar;
+ bar.doBar();
+
+ Abc abc;
+ abc.doAbc();
+
+ Xyz xyz;
+ xyz.doXyz();
+
+ Yaf yaf;
+ yaf.doYaf();
+
+ LibC lc;
+ lc.foo();
+
+ ResourceTester rt;
+
+ QTimer::singleShot(0, &rt, SLOT(doTest()));
+
+ return app.exec();
+}
diff --git a/Tests/QtAutogen/myinterface.h.in b/Tests/QtAutogen/myinterface.h.in
new file mode 100644
index 0000000..c6c0ba1
--- /dev/null
+++ b/Tests/QtAutogen/myinterface.h.in
@@ -0,0 +1,14 @@
+
+#ifndef MYINTERFACE_H
+#define MYINTERFACE_H
+
+#include <QObject>
+
+class MyInterface
+{
+
+};
+
+Q_DECLARE_INTERFACE(MyInterface, "org.cmake.example.MyInterface")
+
+#endif
diff --git a/Tests/QtAutogen/myotherinterface.h.in b/Tests/QtAutogen/myotherinterface.h.in
new file mode 100644
index 0000000..d21e7af
--- /dev/null
+++ b/Tests/QtAutogen/myotherinterface.h.in
@@ -0,0 +1,14 @@
+
+#ifndef MYOTHERINTERFACE_H
+#define MYOTHERINTERFACE_H
+
+#include <QObject>
+
+class MyOtherInterface
+{
+
+};
+
+Q_DECLARE_INTERFACE(MyOtherInterface, "org.cmake.example.MyOtherInterface")
+
+#endif
diff --git a/Tests/QtAutogen/not_generated_file.qrc b/Tests/QtAutogen/not_generated_file.qrc
new file mode 100644
index 0000000..c769834
--- /dev/null
+++ b/Tests/QtAutogen/not_generated_file.qrc
@@ -0,0 +1,5 @@
+<!DOCTYPE RCC><RCC version="1.0">
+<qresource>
+ <file>abc.cpp</file>
+</qresource>
+</RCC>
diff --git a/Tests/QtAutomoc/private_slot.cpp b/Tests/QtAutogen/private_slot.cpp
index 1387a70..1387a70 100644
--- a/Tests/QtAutomoc/private_slot.cpp
+++ b/Tests/QtAutogen/private_slot.cpp
diff --git a/Tests/QtAutomoc/private_slot.h b/Tests/QtAutogen/private_slot.h
index 28e5448..28e5448 100644
--- a/Tests/QtAutomoc/private_slot.h
+++ b/Tests/QtAutogen/private_slot.h
diff --git a/Tests/QtAutogen/resourcetester.cpp b/Tests/QtAutogen/resourcetester.cpp
new file mode 100644
index 0000000..43314e1
--- /dev/null
+++ b/Tests/QtAutogen/resourcetester.cpp
@@ -0,0 +1,21 @@
+
+#include "resourcetester.h"
+
+#include <QDebug>
+#include <QApplication>
+#include <QFile>
+#include <QTimer>
+
+ResourceTester::ResourceTester(QObject *parent)
+ : QObject(parent)
+{
+
+}
+
+void ResourceTester::doTest()
+{
+ if (!QFile::exists(":/CMakeLists.txt"))
+ qApp->exit(EXIT_FAILURE);
+
+ QTimer::singleShot(0, qApp, SLOT(quit()));
+}
diff --git a/Tests/QtAutogen/resourcetester.h b/Tests/QtAutogen/resourcetester.h
new file mode 100644
index 0000000..b02cb4e
--- /dev/null
+++ b/Tests/QtAutogen/resourcetester.h
@@ -0,0 +1,17 @@
+
+#ifndef RESOURCE_TESTER_H
+#define RESOURCE_TESTER_H
+
+#include <QObject>
+
+class ResourceTester : public QObject
+{
+ Q_OBJECT
+public:
+ explicit ResourceTester(QObject *parent = 0);
+
+private slots:
+ void doTest();
+};
+
+#endif
diff --git a/Tests/QtAutomoc/sub/bar.h b/Tests/QtAutogen/sub/bar.h
index db56b8e..db56b8e 100644
--- a/Tests/QtAutomoc/sub/bar.h
+++ b/Tests/QtAutogen/sub/bar.h
diff --git a/Tests/QtAutogen/sub/uiconly.cpp b/Tests/QtAutogen/sub/uiconly.cpp
new file mode 100644
index 0000000..cdb3318
--- /dev/null
+++ b/Tests/QtAutogen/sub/uiconly.cpp
@@ -0,0 +1,13 @@
+
+#include "uiconly.h"
+
+UicOnly::UicOnly(QWidget *parent)
+ : QWidget(parent), ui(new Ui::UicOnly)
+{
+
+}
+
+int main()
+{
+ return 0;
+}
diff --git a/Tests/QtAutogen/sub/uiconly.h b/Tests/QtAutogen/sub/uiconly.h
new file mode 100644
index 0000000..9e21f82
--- /dev/null
+++ b/Tests/QtAutogen/sub/uiconly.h
@@ -0,0 +1,20 @@
+
+#ifndef UIC_ONLY_H
+#define UIC_ONLY_H
+
+#include <QWidget>
+#include <memory>
+
+#include "ui_uiconly.h"
+
+class UicOnly : public QWidget
+{
+ Q_OBJECT
+public:
+ explicit UicOnly(QWidget *parent = 0);
+
+private:
+ const std::auto_ptr<Ui::UicOnly> ui;
+};
+
+#endif
diff --git a/Tests/QtAutogen/sub/uiconly.ui b/Tests/QtAutogen/sub/uiconly.ui
new file mode 100644
index 0000000..13fb832
--- /dev/null
+++ b/Tests/QtAutogen/sub/uiconly.ui
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>UicOnly</class>
+ <widget class="QWidget" name="UicOnly">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>400</width>
+ <height>300</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>Form</string>
+ </property>
+ <layout class="QHBoxLayout" name="horizontalLayout">
+ <item>
+ <widget class="QTreeView" name="treeView"/>
+ </item>
+ </layout>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>
diff --git a/Tests/QtAutogen/test.qrc b/Tests/QtAutogen/test.qrc
new file mode 100644
index 0000000..c3d4e3c
--- /dev/null
+++ b/Tests/QtAutogen/test.qrc
@@ -0,0 +1,5 @@
+<!DOCTYPE RCC><RCC version="1.0">
+<qresource>
+ <file>CMakeLists.txt</file>
+</qresource>
+</RCC>
diff --git a/Tests/QtAutomoc/xyz.cpp b/Tests/QtAutogen/xyz.cpp
index a3562a3..a3562a3 100644
--- a/Tests/QtAutomoc/xyz.cpp
+++ b/Tests/QtAutogen/xyz.cpp
diff --git a/Tests/QtAutomoc/xyz.h b/Tests/QtAutogen/xyz.h
index 8175d37..8175d37 100644
--- a/Tests/QtAutomoc/xyz.h
+++ b/Tests/QtAutogen/xyz.h
diff --git a/Tests/QtAutomoc/yaf.cpp b/Tests/QtAutogen/yaf.cpp
index d278ab4..d278ab4 100644
--- a/Tests/QtAutomoc/yaf.cpp
+++ b/Tests/QtAutogen/yaf.cpp
diff --git a/Tests/QtAutomoc/yaf.h b/Tests/QtAutogen/yaf.h
index 8689f83..8689f83 100644
--- a/Tests/QtAutomoc/yaf.h
+++ b/Tests/QtAutogen/yaf.h
diff --git a/Tests/QtAutomoc/yaf_p.h b/Tests/QtAutogen/yaf_p.h
index f0368ad..f0368ad 100644
--- a/Tests/QtAutomoc/yaf_p.h
+++ b/Tests/QtAutogen/yaf_p.h
diff --git a/Tests/QtAutomoc/CMakeLists.txt b/Tests/QtAutomoc/CMakeLists.txt
deleted file mode 100644
index 69e52ac..0000000
--- a/Tests/QtAutomoc/CMakeLists.txt
+++ /dev/null
@@ -1,68 +0,0 @@
-cmake_minimum_required(VERSION 2.8)
-
-project(QtAutomoc)
-
-if (QT_TEST_VERSION STREQUAL 4)
- find_package(Qt4 REQUIRED)
-
- # Include this directory before using the UseQt4 file.
- add_subdirectory(defines_test)
-
- include(UseQt4)
-
- set(QT_QTCORE_TARGET Qt4::QtCore)
-else()
- if (NOT QT_TEST_VERSION STREQUAL 5)
- message(SEND_ERROR "Invalid Qt version specified.")
- endif()
- find_package(Qt5Widgets REQUIRED)
-
- set(QT_QTCORE_TARGET Qt5::Core)
-
- include_directories(${Qt5Widgets_INCLUDE_DIRS})
- set(QT_LIBRARIES Qt5::Widgets)
-
- if(Qt5_POSITION_INDEPENDENT_CODE)
- set(CMAKE_POSITION_INDEPENDENT_CODE ON)
- endif()
-endif()
-
-
-include_directories(${CMAKE_CURRENT_BINARY_DIR})
-
-add_definitions(-DFOO -DSomeDefine="Barx")
-
-# enable relaxed mode so automoc can handle all the special cases:
-set(CMAKE_AUTOMOC_RELAXED_MODE TRUE)
-
-# create an executable and two library targets, each requiring automoc:
-add_library(codeeditorLib STATIC codeeditor.cpp)
-
-add_library(privateSlot OBJECT private_slot.cpp)
-
-add_executable(foo main.cpp calwidget.cpp foo.cpp blub.cpp bar.cpp abc.cpp
- xyz.cpp yaf.cpp $<TARGET_OBJECTS:privateSlot>)
-
-set_target_properties(foo codeeditorLib privateSlot PROPERTIES AUTOMOC TRUE)
-
-include(GenerateExportHeader)
-# The order is relevant here. B depends on A, and B headers depend on A
-# headers both subdirectories use CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE and we
-# test that CMAKE_AUTOMOC successfully reads the include directories
-# for the build interface from those targets. There has previously been
-# a bug where caching of the include directories happened before
-# extracting the includes to pass to moc.
-add_subdirectory(Bdir)
-add_subdirectory(Adir)
-add_library(libC SHARED libC.cpp)
-set_target_properties(libC PROPERTIES AUTOMOC TRUE)
-generate_export_header(libC)
-target_link_libraries(libC LINK_PUBLIC libB)
-
-target_link_libraries(foo codeeditorLib ${QT_LIBRARIES} libC)
-
-add_library(empty STATIC empty.cpp)
-set_target_properties(empty PROPERTIES AUTOMOC TRUE)
-target_link_libraries(empty no_link_language)
-add_library(no_link_language STATIC empty.h)
-set_target_properties(no_link_language PROPERTIES AUTOMOC TRUE)
diff --git a/Tests/QtAutomoc/calwidget.cpp b/Tests/QtAutomoc/calwidget.cpp
deleted file mode 100644
index cbfa5a8..0000000
--- a/Tests/QtAutomoc/calwidget.cpp
+++ /dev/null
@@ -1,431 +0,0 @@
-/****************************************************************************
- **
- ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
- ** All rights reserved.
- ** Contact: Nokia Corporation (qt-info@nokia.com)
- **
- ** This file is part of the examples of the Qt Toolkit.
- **
- ** $QT_BEGIN_LICENSE:BSD$
- ** You may use this file under the terms of the BSD license as follows:
- **
- ** "Redistribution and use in source and binary forms, with or without
- ** modification, are permitted provided that the following conditions are
- ** met:
- ** * Redistributions of source code must retain the above copyright
- ** notice, this list of conditions and the following disclaimer.
- ** * Redistributions in binary form must reproduce the above copyright
- ** notice, this list of conditions and the following disclaimer in
- ** the documentation and/or other materials provided with the
- ** distribution.
- ** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
- ** the names of its contributors may be used to endorse or promote
- ** products derived from this software without specific prior written
- ** permission.
- **
- ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
- ** $QT_END_LICENSE$
- **
- ****************************************************************************/
-
- #include <QComboBox>
- #include <QGridLayout>
- #include <QLabel>
- #include <QGroupBox>
- #include <QCheckBox>
- #include <QDateEdit>
- #include <QCalendarWidget>
- #include <QTextCharFormat>
-
- #include "calwidget.h"
-
- Window::Window()
- {
- createPreviewGroupBox();
- createGeneralOptionsGroupBox();
- createDatesGroupBox();
- createTextFormatsGroupBox();
-
- QGridLayout *layout = new QGridLayout;
- layout->addWidget(previewGroupBox, 0, 0);
- layout->addWidget(generalOptionsGroupBox, 0, 1);
- layout->addWidget(datesGroupBox, 1, 0);
- layout->addWidget(textFormatsGroupBox, 1, 1);
- layout->setSizeConstraint(QLayout::SetFixedSize);
- setLayout(layout);
-
- previewLayout->setRowMinimumHeight(0, calendar->sizeHint().height());
- previewLayout->setColumnMinimumWidth(0, calendar->sizeHint().width());
-
- setWindowTitle(tr("Calendar Widget"));
- }
-
- void Window::localeChanged(int index)
- {
- calendar->setLocale(localeCombo->itemData(index).toLocale());
- }
-
- void Window::firstDayChanged(int index)
- {
- calendar->setFirstDayOfWeek(Qt::DayOfWeek(
- firstDayCombo->itemData(index).toInt()));
- }
-
- void Window::selectionModeChanged(int index)
- {
- calendar->setSelectionMode(QCalendarWidget::SelectionMode(
- selectionModeCombo->itemData(index).toInt()));
- }
-
- void Window::horizontalHeaderChanged(int index)
- {
- calendar->setHorizontalHeaderFormat(QCalendarWidget::HorizontalHeaderFormat(
- horizontalHeaderCombo->itemData(index).toInt()));
- }
-
- void Window::verticalHeaderChanged(int index)
- {
- calendar->setVerticalHeaderFormat(QCalendarWidget::VerticalHeaderFormat(
- verticalHeaderCombo->itemData(index).toInt()));
- }
-
- void Window::selectedDateChanged()
- {
- currentDateEdit->setDate(calendar->selectedDate());
- }
-
- void Window::minimumDateChanged(const QDate &date)
- {
- calendar->setMinimumDate(date);
- maximumDateEdit->setDate(calendar->maximumDate());
- }
-
- void Window::maximumDateChanged(const QDate &date)
- {
- calendar->setMaximumDate(date);
- minimumDateEdit->setDate(calendar->minimumDate());
- }
-
- void Window::weekdayFormatChanged()
- {
- QTextCharFormat format;
-
- format.setForeground(qvariant_cast<QColor>(
- weekdayColorCombo->itemData(weekdayColorCombo->currentIndex())));
- calendar->setWeekdayTextFormat(Qt::Monday, format);
- calendar->setWeekdayTextFormat(Qt::Tuesday, format);
- calendar->setWeekdayTextFormat(Qt::Wednesday, format);
- calendar->setWeekdayTextFormat(Qt::Thursday, format);
- calendar->setWeekdayTextFormat(Qt::Friday, format);
- }
-
- void Window::weekendFormatChanged()
- {
- QTextCharFormat format;
-
- format.setForeground(qvariant_cast<QColor>(
- weekendColorCombo->itemData(weekendColorCombo->currentIndex())));
- calendar->setWeekdayTextFormat(Qt::Saturday, format);
- calendar->setWeekdayTextFormat(Qt::Sunday, format);
- }
-
- void Window::reformatHeaders()
- {
- QString text = headerTextFormatCombo->currentText();
- QTextCharFormat format;
-
- if (text == tr("Bold")) {
- format.setFontWeight(QFont::Bold);
- } else if (text == tr("Italic")) {
- format.setFontItalic(true);
- } else if (text == tr("Green")) {
- format.setForeground(Qt::green);
- }
- calendar->setHeaderTextFormat(format);
- }
-
- void Window::reformatCalendarPage()
- {
- if (firstFridayCheckBox->isChecked()) {
- QDate firstFriday(calendar->yearShown(), calendar->monthShown(), 1);
- while (firstFriday.dayOfWeek() != Qt::Friday)
- firstFriday = firstFriday.addDays(1);
- QTextCharFormat firstFridayFormat;
- firstFridayFormat.setForeground(Qt::blue);
- calendar->setDateTextFormat(firstFriday, firstFridayFormat);
- }
-
- //May First in Red takes precedence
- if (mayFirstCheckBox->isChecked()) {
- const QDate mayFirst(calendar->yearShown(), 5, 1);
- QTextCharFormat mayFirstFormat;
- mayFirstFormat.setForeground(Qt::red);
- calendar->setDateTextFormat(mayFirst, mayFirstFormat);
- }
- }
-
- void Window::createPreviewGroupBox()
- {
- previewGroupBox = new QGroupBox(tr("Preview"));
-
- calendar = new QCalendarWidget;
- calendar->setMinimumDate(QDate(1900, 1, 1));
- calendar->setMaximumDate(QDate(3000, 1, 1));
- calendar->setGridVisible(true);
-
- connect(calendar, SIGNAL(currentPageChanged(int,int)),
- this, SLOT(reformatCalendarPage()));
-
- previewLayout = new QGridLayout;
- previewLayout->addWidget(calendar, 0, 0, Qt::AlignCenter);
- previewGroupBox->setLayout(previewLayout);
- }
-
- void Window::createGeneralOptionsGroupBox()
- {
- generalOptionsGroupBox = new QGroupBox(tr("General Options"));
-
- localeCombo = new QComboBox;
- int curLocaleIndex = -1;
- int index = 0;
- for (int _lang = QLocale::C; _lang <= QLocale::LastLanguage; ++_lang) {
- QLocale::Language lang = static_cast<QLocale::Language>(_lang);
- QList<QLocale::Country> countries = QLocale::countriesForLanguage(lang);
- for (int i = 0; i < countries.count(); ++i) {
- QLocale::Country country = countries.at(i);
- QString label = QLocale::languageToString(lang);
- label += QLatin1Char('/');
- label += QLocale::countryToString(country);
- QLocale locale(lang, country);
- if (this->locale().language() == lang && this->locale().country() == country)
- curLocaleIndex = index;
- localeCombo->addItem(label, locale);
- ++index;
- }
- }
- if (curLocaleIndex != -1)
- localeCombo->setCurrentIndex(curLocaleIndex);
- localeLabel = new QLabel(tr("&Locale"));
- localeLabel->setBuddy(localeCombo);
-
- firstDayCombo = new QComboBox;
- firstDayCombo->addItem(tr("Sunday"), Qt::Sunday);
- firstDayCombo->addItem(tr("Monday"), Qt::Monday);
- firstDayCombo->addItem(tr("Tuesday"), Qt::Tuesday);
- firstDayCombo->addItem(tr("Wednesday"), Qt::Wednesday);
- firstDayCombo->addItem(tr("Thursday"), Qt::Thursday);
- firstDayCombo->addItem(tr("Friday"), Qt::Friday);
- firstDayCombo->addItem(tr("Saturday"), Qt::Saturday);
-
- firstDayLabel = new QLabel(tr("Wee&k starts on:"));
- firstDayLabel->setBuddy(firstDayCombo);
-
- selectionModeCombo = new QComboBox;
- selectionModeCombo->addItem(tr("Single selection"),
- QCalendarWidget::SingleSelection);
- selectionModeCombo->addItem(tr("None"), QCalendarWidget::NoSelection);
-
- selectionModeLabel = new QLabel(tr("&Selection mode:"));
- selectionModeLabel->setBuddy(selectionModeCombo);
-
- gridCheckBox = new QCheckBox(tr("&Grid"));
- gridCheckBox->setChecked(calendar->isGridVisible());
-
- navigationCheckBox = new QCheckBox(tr("&Navigation bar"));
- navigationCheckBox->setChecked(true);
-
- horizontalHeaderCombo = new QComboBox;
- horizontalHeaderCombo->addItem(tr("Single letter day names"),
- QCalendarWidget::SingleLetterDayNames);
- horizontalHeaderCombo->addItem(tr("Short day names"),
- QCalendarWidget::ShortDayNames);
- horizontalHeaderCombo->addItem(tr("None"),
- QCalendarWidget::NoHorizontalHeader);
- horizontalHeaderCombo->setCurrentIndex(1);
-
- horizontalHeaderLabel = new QLabel(tr("&Horizontal header:"));
- horizontalHeaderLabel->setBuddy(horizontalHeaderCombo);
-
- verticalHeaderCombo = new QComboBox;
- verticalHeaderCombo->addItem(tr("ISO week numbers"),
- QCalendarWidget::ISOWeekNumbers);
- verticalHeaderCombo->addItem(tr("None"), QCalendarWidget::NoVerticalHeader);
-
- verticalHeaderLabel = new QLabel(tr("&Vertical header:"));
- verticalHeaderLabel->setBuddy(verticalHeaderCombo);
-
- connect(localeCombo, SIGNAL(currentIndexChanged(int)),
- this, SLOT(localeChanged(int)));
- connect(firstDayCombo, SIGNAL(currentIndexChanged(int)),
- this, SLOT(firstDayChanged(int)));
- connect(selectionModeCombo, SIGNAL(currentIndexChanged(int)),
- this, SLOT(selectionModeChanged(int)));
- connect(gridCheckBox, SIGNAL(toggled(bool)),
- calendar, SLOT(setGridVisible(bool)));
- connect(navigationCheckBox, SIGNAL(toggled(bool)),
- calendar, SLOT(setNavigationBarVisible(bool)));
- connect(horizontalHeaderCombo, SIGNAL(currentIndexChanged(int)),
- this, SLOT(horizontalHeaderChanged(int)));
- connect(verticalHeaderCombo, SIGNAL(currentIndexChanged(int)),
- this, SLOT(verticalHeaderChanged(int)));
-
- QHBoxLayout *checkBoxLayout = new QHBoxLayout;
- checkBoxLayout->addWidget(gridCheckBox);
- checkBoxLayout->addStretch();
- checkBoxLayout->addWidget(navigationCheckBox);
-
- QGridLayout *outerLayout = new QGridLayout;
- outerLayout->addWidget(localeLabel, 0, 0);
- outerLayout->addWidget(localeCombo, 0, 1);
- outerLayout->addWidget(firstDayLabel, 1, 0);
- outerLayout->addWidget(firstDayCombo, 1, 1);
- outerLayout->addWidget(selectionModeLabel, 2, 0);
- outerLayout->addWidget(selectionModeCombo, 2, 1);
- outerLayout->addLayout(checkBoxLayout, 3, 0, 1, 2);
- outerLayout->addWidget(horizontalHeaderLabel, 4, 0);
- outerLayout->addWidget(horizontalHeaderCombo, 4, 1);
- outerLayout->addWidget(verticalHeaderLabel, 5, 0);
- outerLayout->addWidget(verticalHeaderCombo, 5, 1);
- generalOptionsGroupBox->setLayout(outerLayout);
-
- firstDayChanged(firstDayCombo->currentIndex());
- selectionModeChanged(selectionModeCombo->currentIndex());
- horizontalHeaderChanged(horizontalHeaderCombo->currentIndex());
- verticalHeaderChanged(verticalHeaderCombo->currentIndex());
- }
-
- void Window::createDatesGroupBox()
- {
- datesGroupBox = new QGroupBox(tr("Dates"));
-
- minimumDateEdit = new QDateEdit;
- minimumDateEdit->setDisplayFormat("MMM d yyyy");
- minimumDateEdit->setDateRange(calendar->minimumDate(),
- calendar->maximumDate());
- minimumDateEdit->setDate(calendar->minimumDate());
-
- minimumDateLabel = new QLabel(tr("&Minimum Date:"));
- minimumDateLabel->setBuddy(minimumDateEdit);
-
- currentDateEdit = new QDateEdit;
- currentDateEdit->setDisplayFormat("MMM d yyyy");
- currentDateEdit->setDate(calendar->selectedDate());
- currentDateEdit->setDateRange(calendar->minimumDate(),
- calendar->maximumDate());
-
- currentDateLabel = new QLabel(tr("&Current Date:"));
- currentDateLabel->setBuddy(currentDateEdit);
-
- maximumDateEdit = new QDateEdit;
- maximumDateEdit->setDisplayFormat("MMM d yyyy");
- maximumDateEdit->setDateRange(calendar->minimumDate(),
- calendar->maximumDate());
- maximumDateEdit->setDate(calendar->maximumDate());
-
- maximumDateLabel = new QLabel(tr("Ma&ximum Date:"));
- maximumDateLabel->setBuddy(maximumDateEdit);
-
- connect(currentDateEdit, SIGNAL(dateChanged(QDate)),
- calendar, SLOT(setSelectedDate(QDate)));
- connect(calendar, SIGNAL(selectionChanged()),
- this, SLOT(selectedDateChanged()));
- connect(minimumDateEdit, SIGNAL(dateChanged(QDate)),
- this, SLOT(minimumDateChanged(QDate)));
- connect(maximumDateEdit, SIGNAL(dateChanged(QDate)),
- this, SLOT(maximumDateChanged(QDate)));
-
- QGridLayout *dateBoxLayout = new QGridLayout;
- dateBoxLayout->addWidget(currentDateLabel, 1, 0);
- dateBoxLayout->addWidget(currentDateEdit, 1, 1);
- dateBoxLayout->addWidget(minimumDateLabel, 0, 0);
- dateBoxLayout->addWidget(minimumDateEdit, 0, 1);
- dateBoxLayout->addWidget(maximumDateLabel, 2, 0);
- dateBoxLayout->addWidget(maximumDateEdit, 2, 1);
- dateBoxLayout->setRowStretch(3, 1);
-
- datesGroupBox->setLayout(dateBoxLayout);
- }
-
- void Window::createTextFormatsGroupBox()
- {
- textFormatsGroupBox = new QGroupBox(tr("Text Formats"));
-
- weekdayColorCombo = createColorComboBox();
- weekdayColorCombo->setCurrentIndex(
- weekdayColorCombo->findText(tr("Black")));
-
- weekdayColorLabel = new QLabel(tr("&Weekday color:"));
- weekdayColorLabel->setBuddy(weekdayColorCombo);
-
- weekendColorCombo = createColorComboBox();
- weekendColorCombo->setCurrentIndex(
- weekendColorCombo->findText(tr("Red")));
-
- weekendColorLabel = new QLabel(tr("Week&end color:"));
- weekendColorLabel->setBuddy(weekendColorCombo);
-
- headerTextFormatCombo = new QComboBox;
- headerTextFormatCombo->addItem(tr("Bold"));
- headerTextFormatCombo->addItem(tr("Italic"));
- headerTextFormatCombo->addItem(tr("Plain"));
-
- headerTextFormatLabel = new QLabel(tr("&Header text:"));
- headerTextFormatLabel->setBuddy(headerTextFormatCombo);
-
- firstFridayCheckBox = new QCheckBox(tr("&First Friday in blue"));
-
- mayFirstCheckBox = new QCheckBox(tr("May &1 in red"));
-
- connect(weekdayColorCombo, SIGNAL(currentIndexChanged(int)),
- this, SLOT(weekdayFormatChanged()));
- connect(weekendColorCombo, SIGNAL(currentIndexChanged(int)),
- this, SLOT(weekendFormatChanged()));
- connect(headerTextFormatCombo, SIGNAL(currentIndexChanged(QString)),
- this, SLOT(reformatHeaders()));
- connect(firstFridayCheckBox, SIGNAL(toggled(bool)),
- this, SLOT(reformatCalendarPage()));
- connect(mayFirstCheckBox, SIGNAL(toggled(bool)),
- this, SLOT(reformatCalendarPage()));
-
- QHBoxLayout *checkBoxLayout = new QHBoxLayout;
- checkBoxLayout->addWidget(firstFridayCheckBox);
- checkBoxLayout->addStretch();
- checkBoxLayout->addWidget(mayFirstCheckBox);
-
- QGridLayout *outerLayout = new QGridLayout;
- outerLayout->addWidget(weekdayColorLabel, 0, 0);
- outerLayout->addWidget(weekdayColorCombo, 0, 1);
- outerLayout->addWidget(weekendColorLabel, 1, 0);
- outerLayout->addWidget(weekendColorCombo, 1, 1);
- outerLayout->addWidget(headerTextFormatLabel, 2, 0);
- outerLayout->addWidget(headerTextFormatCombo, 2, 1);
- outerLayout->addLayout(checkBoxLayout, 3, 0, 1, 2);
- textFormatsGroupBox->setLayout(outerLayout);
-
- weekdayFormatChanged();
- weekendFormatChanged();
- reformatHeaders();
- reformatCalendarPage();
- }
-
-QComboBox *Window::createColorComboBox()
- {
- QComboBox *comboBox = new QComboBox;
- comboBox->addItem(tr("Red"), QColor(Qt::red));
- comboBox->addItem(tr("Blue"), QColor(Qt::blue));
- comboBox->addItem(tr("Black"), QColor(Qt::black));
- comboBox->addItem(tr("Magenta"), QColor(Qt::magenta));
- return comboBox;
- }
-
-//#include "moc_calwidget.cpp"
diff --git a/Tests/QtAutomoc/calwidget.h b/Tests/QtAutomoc/calwidget.h
deleted file mode 100644
index 8447389..0000000
--- a/Tests/QtAutomoc/calwidget.h
+++ /dev/null
@@ -1,121 +0,0 @@
- /****************************************************************************
- **
- ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
- ** All rights reserved.
- ** Contact: Nokia Corporation (qt-info@nokia.com)
- **
- ** This file is part of the examples of the Qt Toolkit.
- **
- ** $QT_BEGIN_LICENSE:BSD$
- ** You may use this file under the terms of the BSD license as follows:
- **
- ** "Redistribution and use in source and binary forms, with or without
- ** modification, are permitted provided that the following conditions are
- ** met:
- ** * Redistributions of source code must retain the above copyright
- ** notice, this list of conditions and the following disclaimer.
- ** * Redistributions in binary form must reproduce the above copyright
- ** notice, this list of conditions and the following disclaimer in
- ** the documentation and/or other materials provided with the
- ** distribution.
- ** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
- ** the names of its contributors may be used to endorse or promote
- ** products derived from this software without specific prior written
- ** permission.
- **
- ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
- ** $QT_END_LICENSE$
- **
- ****************************************************************************/
-
-#ifndef WINDOW_H
-#define WINDOW_H
-
-#include <QWidget>
-
- class QCalendarWidget;
- class QCheckBox;
- class QComboBox;
- class QDate;
- class QDateEdit;
- class QGridLayout;
- class QGroupBox;
- class QLabel;
-
- class Window : public QWidget
- {
- Q_OBJECT
-
- public:
- Window();
-
- private slots:
- void localeChanged(int index);
- void firstDayChanged(int index);
- void selectionModeChanged(int index);
- void horizontalHeaderChanged(int index);
- void verticalHeaderChanged(int index);
- void selectedDateChanged();
- void minimumDateChanged(const QDate &date);
- void maximumDateChanged(const QDate &date);
- void weekdayFormatChanged();
- void weekendFormatChanged();
- void reformatHeaders();
- void reformatCalendarPage();
-
- private:
- void createPreviewGroupBox();
- void createGeneralOptionsGroupBox();
- void createDatesGroupBox();
- void createTextFormatsGroupBox();
- QComboBox *createColorComboBox();
-
- QGroupBox *previewGroupBox;
- QGridLayout *previewLayout;
- QCalendarWidget *calendar;
-
- QGroupBox *generalOptionsGroupBox;
- QLabel *localeLabel;
- QLabel *firstDayLabel;
- QLabel *selectionModeLabel;
- QLabel *horizontalHeaderLabel;
- QLabel *verticalHeaderLabel;
- QComboBox *localeCombo;
- QComboBox *firstDayCombo;
- QComboBox *selectionModeCombo;
- QCheckBox *gridCheckBox;
- QCheckBox *navigationCheckBox;
- QComboBox *horizontalHeaderCombo;
- QComboBox *verticalHeaderCombo;
-
- QGroupBox *datesGroupBox;
- QLabel *currentDateLabel;
- QLabel *minimumDateLabel;
- QLabel *maximumDateLabel;
- QDateEdit *currentDateEdit;
- QDateEdit *minimumDateEdit;
- QDateEdit *maximumDateEdit;
-
- QGroupBox *textFormatsGroupBox;
- QLabel *weekdayColorLabel;
- QLabel *weekendColorLabel;
- QLabel *headerTextFormatLabel;
- QComboBox *weekdayColorCombo;
- QComboBox *weekendColorCombo;
- QComboBox *headerTextFormatCombo;
-
- QCheckBox *firstFridayCheckBox;
- QCheckBox *mayFirstCheckBox;
- };
-
- #endif
diff --git a/Tests/QtAutomoc/main.cpp b/Tests/QtAutomoc/main.cpp
deleted file mode 100644
index bd80180..0000000
--- a/Tests/QtAutomoc/main.cpp
+++ /dev/null
@@ -1,86 +0,0 @@
-/****************************************************************************
- **
- ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
- ** All rights reserved.
- ** Contact: Nokia Corporation (qt-info@nokia.com)
- **
- ** This file is part of the examples of the Qt Toolkit.
- **
- ** $QT_BEGIN_LICENSE:BSD$
- ** You may use this file under the terms of the BSD license as follows:
- **
- ** "Redistribution and use in source and binary forms, with or without
- ** modification, are permitted provided that the following conditions are
- ** met:
- ** * Redistributions of source code must retain the above copyright
- ** notice, this list of conditions and the following disclaimer.
- ** * Redistributions in binary form must reproduce the above copyright
- ** notice, this list of conditions and the following disclaimer in
- ** the documentation and/or other materials provided with the
- ** distribution.
- ** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
- ** the names of its contributors may be used to endorse or promote
- ** products derived from this software without specific prior written
- ** permission.
- **
- ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
- ** $QT_END_LICENSE$
- **
- ****************************************************************************/
-
-#include <QApplication>
-
-#include "codeeditor.h"
-#include "calwidget.h"
-#include "foo.h"
-#include "blub.h"
-#include "sub/bar.h"
-#include "abc.h"
-#include "xyz.h"
-#include "yaf.h"
-#include "libC.h"
-
-int main(int argv, char **args)
-{
- QApplication app(argv, args);
-
- CodeEditor editor;
- editor.setWindowTitle(QObject::tr("Code Editor Example"));
- editor.show();
-
- Window w;
- w.show();
-
- Foo foo;
- foo.doFoo();
-
- Blub b;
- b.blubber();
-
- Bar bar;
- bar.doBar();
-
- Abc abc;
- abc.doAbc();
-
- Xyz xyz;
- xyz.doXyz();
-
- Yaf yaf;
- yaf.doYaf();
-
- LibC lc;
- lc.foo();
-
- return app.exec();
-}
diff --git a/Tests/RunCMake/CMP0022/CMP0022-NOWARN-shared.cmake b/Tests/RunCMake/CMP0022/CMP0022-NOWARN-shared.cmake
index 57c3ed0..2e76ee0 100644
--- a/Tests/RunCMake/CMP0022/CMP0022-NOWARN-shared.cmake
+++ b/Tests/RunCMake/CMP0022/CMP0022-NOWARN-shared.cmake
@@ -1,5 +1,7 @@
enable_language(CXX)
+cmake_policy(SET CMP0042 NEW)
+
add_library(foo SHARED empty_vs6_1.cpp)
add_library(bar SHARED empty_vs6_2.cpp)
target_link_libraries(bar foo)
diff --git a/Tests/RunCMake/Syntax/ParenNoSpace-stderr.txt b/Tests/RunCMake/CMP0022/CMP0022-NOWARN-static-NEW-stderr.txt
index 10f3293..10f3293 100644
--- a/Tests/RunCMake/Syntax/ParenNoSpace-stderr.txt
+++ b/Tests/RunCMake/CMP0022/CMP0022-NOWARN-static-NEW-stderr.txt
diff --git a/Tests/RunCMake/CMP0022/CMP0022-NOWARN-static-NEW.cmake b/Tests/RunCMake/CMP0022/CMP0022-NOWARN-static-NEW.cmake
new file mode 100644
index 0000000..3fee15d
--- /dev/null
+++ b/Tests/RunCMake/CMP0022/CMP0022-NOWARN-static-NEW.cmake
@@ -0,0 +1,14 @@
+
+project(CMP0022-NOWARN-static-NEW)
+
+cmake_policy(SET CMP0022 NEW)
+
+add_library(foo STATIC empty_vs6_1.cpp)
+add_library(bar STATIC empty_vs6_2.cpp)
+add_library(bat STATIC empty_vs6_3.cpp)
+target_link_libraries(foo bar)
+# The last element here needs to contain a space so that it is a single
+# element which is not a valid target name. As bar is a STATIC library,
+# this tests that the LINK_ONLY generator expression is not used for
+# that element, creating an error.
+target_link_libraries(bar LINK_PRIVATE bat "-lz -lm")
diff --git a/Tests/RunCMake/CMP0022/CMP0022-NOWARN-static.cmake b/Tests/RunCMake/CMP0022/CMP0022-NOWARN-static.cmake
index ad3b8df..3e4144f 100644
--- a/Tests/RunCMake/CMP0022/CMP0022-NOWARN-static.cmake
+++ b/Tests/RunCMake/CMP0022/CMP0022-NOWARN-static.cmake
@@ -5,8 +5,4 @@ add_library(foo STATIC empty_vs6_1.cpp)
add_library(bar STATIC empty_vs6_2.cpp)
add_library(bat STATIC empty_vs6_3.cpp)
target_link_libraries(foo bar)
-# The last element here needs to contain a space so that it is a single
-# element which is not a valid target name. As bar is a STATIC library,
-# this tests that the LINK_ONLY generator expression is not used for
-# that element, creating an error.
-target_link_libraries(bar bat "-lz -lm")
+target_link_libraries(bar bat)
diff --git a/Tests/RunCMake/CMP0022/CMP0022-WARN.cmake b/Tests/RunCMake/CMP0022/CMP0022-WARN.cmake
index fe7e858..e3552b2 100644
--- a/Tests/RunCMake/CMP0022/CMP0022-WARN.cmake
+++ b/Tests/RunCMake/CMP0022/CMP0022-WARN.cmake
@@ -1,6 +1,8 @@
project(CMP0022-WARN)
+cmake_policy(SET CMP0042 NEW)
+
add_library(foo SHARED empty_vs6_1.cpp)
add_library(bar SHARED empty_vs6_2.cpp)
add_library(bat SHARED empty_vs6_3.cpp)
diff --git a/Tests/RunCMake/CMP0022/CMP0022-export-stderr.txt b/Tests/RunCMake/CMP0022/CMP0022-export-stderr.txt
index ae7627e..405dd8d 100644
--- a/Tests/RunCMake/CMP0022/CMP0022-export-stderr.txt
+++ b/Tests/RunCMake/CMP0022/CMP0022-export-stderr.txt
@@ -1,4 +1,4 @@
-CMake Error at CMP0022-export.cmake:11 \(export\):
+CMake Error in CMakeLists.txt:
Target "cmp0022NEW" has policy CMP0022 enabled, but also has old-style
LINK_INTERFACE_LIBRARIES properties populated, but it was exported without
the EXPORT_LINK_INTERFACE_LIBRARIES to export the old-style properties
diff --git a/Tests/RunCMake/CMP0022/RunCMakeTest.cmake b/Tests/RunCMake/CMP0022/RunCMakeTest.cmake
index 2781d20..4c10996 100644
--- a/Tests/RunCMake/CMP0022/RunCMakeTest.cmake
+++ b/Tests/RunCMake/CMP0022/RunCMakeTest.cmake
@@ -7,6 +7,7 @@ run_cmake(CMP0022-WARN-empty-old)
run_cmake(CMP0022-NOWARN-exe)
run_cmake(CMP0022-NOWARN-shared)
run_cmake(CMP0022-NOWARN-static)
+run_cmake(CMP0022-NOWARN-static-NEW)
run_cmake(CMP0022-NOWARN-static-link_libraries)
run_cmake(CMP0022-export)
run_cmake(CMP0022-export-exe)
diff --git a/Tests/RunCMake/build_command/BeforeProject-result.txt b/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-NEW-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/build_command/BeforeProject-result.txt
+++ b/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-NEW-result.txt
diff --git a/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-NEW-stderr.txt b/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-NEW-stderr.txt
new file mode 100644
index 0000000..05b0217
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-NEW-stderr.txt
@@ -0,0 +1,7 @@
+CMake Error at CMP0026-CONFIG-LOCATION-NEW.cmake:7 \(get_target_property\):
+ The LOCATION property may not be read from target "somelib". Use the
+ target name directly with add_custom_command, or use the generator
+ expression \$<TARGET_FILE>, as appropriate.
+
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-NEW.cmake b/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-NEW.cmake
new file mode 100644
index 0000000..1b373e7
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-NEW.cmake
@@ -0,0 +1,7 @@
+
+enable_language(CXX)
+
+cmake_policy(SET CMP0026 NEW)
+
+add_library(somelib empty.cpp)
+get_target_property(_loc somelib Debug_LOCATION)
diff --git a/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-OLD-result.txt b/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-OLD-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-OLD-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-OLD-stderr.txt b/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-OLD-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-OLD-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-OLD.cmake b/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-OLD.cmake
new file mode 100644
index 0000000..4166828
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-OLD.cmake
@@ -0,0 +1,7 @@
+
+enable_language(CXX)
+
+cmake_policy(SET CMP0026 OLD)
+
+add_library(somelib empty.cpp)
+get_target_property(_loc somelib Debug_LOCATION)
diff --git a/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-WARN-result.txt b/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-WARN-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-WARN-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-WARN-stderr.txt b/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-WARN-stderr.txt
new file mode 100644
index 0000000..d44dcb4
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-WARN-stderr.txt
@@ -0,0 +1,12 @@
+CMake Warning \(dev\) at CMP0026-CONFIG-LOCATION-WARN.cmake:5 \(get_target_property\):
+ Policy CMP0026 is not set: Disallow use of the LOCATION target property.
+ Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
+ command to set the policy and suppress this warning.
+
+ The LOCATION property should not be read from target "somelib". Use the
+ target name directly with add_custom_command, or use the generator
+ expression \$<TARGET_FILE>, as appropriate.
+
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-WARN.cmake b/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-WARN.cmake
new file mode 100644
index 0000000..511056f
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-CONFIG-LOCATION-WARN.cmake
@@ -0,0 +1,5 @@
+
+enable_language(CXX)
+
+add_library(somelib empty.cpp)
+get_target_property(_loc somelib Debug_LOCATION)
diff --git a/Tests/RunCMake/CMP0026/CMP0026-IMPORTED-result.txt b/Tests/RunCMake/CMP0026/CMP0026-IMPORTED-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-IMPORTED-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0026/CMP0026-IMPORTED-stderr.txt b/Tests/RunCMake/CMP0026/CMP0026-IMPORTED-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-IMPORTED-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/CMP0026/CMP0026-IMPORTED.cmake b/Tests/RunCMake/CMP0026/CMP0026-IMPORTED.cmake
new file mode 100644
index 0000000..650c8a5
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-IMPORTED.cmake
@@ -0,0 +1,6 @@
+
+enable_language(CXX)
+
+add_library(someimportedlib SHARED IMPORTED)
+
+get_target_property(_loc someimportedlib LOCATION)
diff --git a/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-NEW-result.txt b/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-NEW-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-NEW-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-NEW-stderr.txt b/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-NEW-stderr.txt
new file mode 100644
index 0000000..fec9dfb
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-NEW-stderr.txt
@@ -0,0 +1,7 @@
+CMake Error at CMP0026-LOCATION-CONFIG-NEW.cmake:7 \(get_target_property\):
+ The LOCATION property may not be read from target "somelib". Use the
+ target name directly with add_custom_command, or use the generator
+ expression \$<TARGET_FILE>, as appropriate.
+
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-NEW.cmake b/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-NEW.cmake
new file mode 100644
index 0000000..e6aa509
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-NEW.cmake
@@ -0,0 +1,7 @@
+
+enable_language(CXX)
+
+cmake_policy(SET CMP0026 NEW)
+
+add_library(somelib empty.cpp)
+get_target_property(_loc somelib LOCATION_Debug)
diff --git a/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-OLD-result.txt b/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-OLD-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-OLD-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-OLD-stderr.txt b/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-OLD-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-OLD-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-OLD.cmake b/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-OLD.cmake
new file mode 100644
index 0000000..482373d
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-OLD.cmake
@@ -0,0 +1,7 @@
+
+enable_language(CXX)
+
+cmake_policy(SET CMP0026 OLD)
+
+add_library(somelib empty.cpp)
+get_target_property(_loc somelib LOCATION_Debug)
diff --git a/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-WARN-result.txt b/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-WARN-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-WARN-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-WARN-stderr.txt b/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-WARN-stderr.txt
new file mode 100644
index 0000000..cd6f3d0
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-WARN-stderr.txt
@@ -0,0 +1,12 @@
+CMake Warning \(dev\) at CMP0026-LOCATION-CONFIG-WARN.cmake:5 \(get_target_property\):
+ Policy CMP0026 is not set: Disallow use of the LOCATION target property.
+ Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
+ command to set the policy and suppress this warning.
+
+ The LOCATION property should not be read from target "somelib". Use the
+ target name directly with add_custom_command, or use the generator
+ expression \$<TARGET_FILE>, as appropriate.
+
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-WARN.cmake b/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-WARN.cmake
new file mode 100644
index 0000000..85711c3
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-WARN.cmake
@@ -0,0 +1,5 @@
+
+enable_language(CXX)
+
+add_library(somelib empty.cpp)
+get_target_property(_loc somelib LOCATION_Debug)
diff --git a/Tests/RunCMake/CMP0026/CMP0026-NEW-result.txt b/Tests/RunCMake/CMP0026/CMP0026-NEW-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-NEW-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CMP0026/CMP0026-NEW-stderr.txt b/Tests/RunCMake/CMP0026/CMP0026-NEW-stderr.txt
new file mode 100644
index 0000000..fa02512
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-NEW-stderr.txt
@@ -0,0 +1,7 @@
+CMake Error at CMP0026-NEW.cmake:7 \(get_target_property\):
+ The LOCATION property may not be read from target "somelib". Use the
+ target name directly with add_custom_command, or use the generator
+ expression \$<TARGET_FILE>, as appropriate.
+
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/CMP0026/CMP0026-NEW.cmake b/Tests/RunCMake/CMP0026/CMP0026-NEW.cmake
new file mode 100644
index 0000000..1659ffc
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-NEW.cmake
@@ -0,0 +1,7 @@
+
+enable_language(CXX)
+
+cmake_policy(SET CMP0026 NEW)
+
+add_library(somelib empty.cpp)
+get_target_property(_loc somelib LOCATION)
diff --git a/Tests/RunCMake/CMP0026/CMP0026-WARN-result.txt b/Tests/RunCMake/CMP0026/CMP0026-WARN-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-WARN-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0026/CMP0026-WARN-stderr.txt b/Tests/RunCMake/CMP0026/CMP0026-WARN-stderr.txt
new file mode 100644
index 0000000..9b88194
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-WARN-stderr.txt
@@ -0,0 +1,12 @@
+CMake Warning \(dev\) at CMP0026-WARN.cmake:5 \(get_target_property\):
+ Policy CMP0026 is not set: Disallow use of the LOCATION target property.
+ Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
+ command to set the policy and suppress this warning.
+
+ The LOCATION property should not be read from target "somelib". Use the
+ target name directly with add_custom_command, or use the generator
+ expression \$<TARGET_FILE>, as appropriate.
+
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/CMP0026/CMP0026-WARN.cmake b/Tests/RunCMake/CMP0026/CMP0026-WARN.cmake
new file mode 100644
index 0000000..89c5a8a
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-WARN.cmake
@@ -0,0 +1,5 @@
+
+enable_language(CXX)
+
+add_library(somelib empty.cpp)
+get_target_property(_loc somelib LOCATION)
diff --git a/Tests/RunCMake/CMP0026/CMakeLists.txt b/Tests/RunCMake/CMP0026/CMakeLists.txt
new file mode 100644
index 0000000..12cd3c7
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.4)
+project(${RunCMake_TEST} NONE)
+include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/CMP0026/RunCMakeTest.cmake b/Tests/RunCMake/CMP0026/RunCMakeTest.cmake
new file mode 100644
index 0000000..1824cc6
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/RunCMakeTest.cmake
@@ -0,0 +1,11 @@
+include(RunCMake)
+
+run_cmake(CMP0026-WARN)
+run_cmake(CMP0026-NEW)
+run_cmake(CMP0026-IMPORTED)
+run_cmake(CMP0026-CONFIG-LOCATION-NEW)
+run_cmake(CMP0026-CONFIG-LOCATION-OLD)
+run_cmake(CMP0026-CONFIG-LOCATION-WARN)
+run_cmake(CMP0026-LOCATION-CONFIG-NEW)
+run_cmake(CMP0026-LOCATION-CONFIG-OLD)
+run_cmake(CMP0026-LOCATION-CONFIG-WARN)
diff --git a/Tests/RunCMake/CMP0026/empty.cpp b/Tests/RunCMake/CMP0026/empty.cpp
new file mode 100644
index 0000000..bfbbdde
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/empty.cpp
@@ -0,0 +1,7 @@
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+int empty()
+{
+ return 0;
+}
diff --git a/Tests/RunCMake/CMP0027/CMP0027-NEW-result.txt b/Tests/RunCMake/CMP0027/CMP0027-NEW-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CMP0027/CMP0027-NEW-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CMP0027/CMP0027-NEW-stderr.txt b/Tests/RunCMake/CMP0027/CMP0027-NEW-stderr.txt
new file mode 100644
index 0000000..5948ec8
--- /dev/null
+++ b/Tests/RunCMake/CMP0027/CMP0027-NEW-stderr.txt
@@ -0,0 +1,13 @@
+CMake Error in CMakeLists.txt:
+ Imported target "testTarget" includes non-existent path
+
+ "/does/not/exist"
+
+ in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
+
+ \* The path was deleted, renamed, or moved to another location.
+
+ \* An install or uninstall procedure did not complete successfully.
+
+ \* The installation package was faulty and references files it does not
+ provide.
diff --git a/Tests/RunCMake/CMP0027/CMP0027-NEW.cmake b/Tests/RunCMake/CMP0027/CMP0027-NEW.cmake
new file mode 100644
index 0000000..8245085
--- /dev/null
+++ b/Tests/RunCMake/CMP0027/CMP0027-NEW.cmake
@@ -0,0 +1,10 @@
+
+enable_language(CXX)
+
+cmake_policy(SET CMP0027 NEW)
+
+add_library(testTarget UNKNOWN IMPORTED)
+set_property(TARGET testTarget PROPERTY INTERFACE_INCLUDE_DIRECTORIES "/does/not/exist")
+
+add_library(userTarget "${CMAKE_CURRENT_SOURCE_DIR}/empty.cpp")
+target_link_libraries(userTarget PRIVATE $<1:testTarget>)
diff --git a/Tests/RunCMake/CMP0027/CMP0027-OLD-result.txt b/Tests/RunCMake/CMP0027/CMP0027-OLD-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0027/CMP0027-OLD-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0027/CMP0027-OLD-stderr.txt b/Tests/RunCMake/CMP0027/CMP0027-OLD-stderr.txt
new file mode 100644
index 0000000..4c2b300
--- /dev/null
+++ b/Tests/RunCMake/CMP0027/CMP0027-OLD-stderr.txt
@@ -0,0 +1,13 @@
+CMake Warning \(dev\) in CMakeLists.txt:
+ Imported target "testTarget" includes non-existent path
+
+ "/does/not/exist"
+
+ in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
+
+ \* The path was deleted, renamed, or moved to another location.
+
+ \* An install or uninstall procedure did not complete successfully.
+
+ \* The installation package was faulty and references files it does not
+ provide.
diff --git a/Tests/RunCMake/CMP0027/CMP0027-OLD.cmake b/Tests/RunCMake/CMP0027/CMP0027-OLD.cmake
new file mode 100644
index 0000000..404217d
--- /dev/null
+++ b/Tests/RunCMake/CMP0027/CMP0027-OLD.cmake
@@ -0,0 +1,10 @@
+
+enable_language(CXX)
+
+cmake_policy(SET CMP0027 OLD)
+
+add_library(testTarget UNKNOWN IMPORTED)
+set_property(TARGET testTarget PROPERTY INTERFACE_INCLUDE_DIRECTORIES "/does/not/exist")
+
+add_library(userTarget "${CMAKE_CURRENT_SOURCE_DIR}/empty.cpp")
+target_link_libraries(userTarget PRIVATE $<1:testTarget>)
diff --git a/Tests/RunCMake/CMP0027/CMP0027-WARN-result.txt b/Tests/RunCMake/CMP0027/CMP0027-WARN-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0027/CMP0027-WARN-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0027/CMP0027-WARN-stderr.txt b/Tests/RunCMake/CMP0027/CMP0027-WARN-stderr.txt
new file mode 100644
index 0000000..9bcec3c
--- /dev/null
+++ b/Tests/RunCMake/CMP0027/CMP0027-WARN-stderr.txt
@@ -0,0 +1,18 @@
+CMake Warning \(dev\) in CMakeLists.txt:
+ Policy CMP0027 is not set: Conditionally linked imported targets with
+ missing include directories. Run "cmake --help-policy CMP0027" for policy
+ details. Use the cmake_policy command to set the policy and suppress this
+ warning.
+
+ Imported target "testTarget" includes non-existent path
+
+ "/does/not/exist"
+
+ in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
+
+ \* The path was deleted, renamed, or moved to another location.
+
+ \* An install or uninstall procedure did not complete successfully.
+
+ \* The installation package was faulty and references files it does not
+ provide.
diff --git a/Tests/RunCMake/CMP0027/CMP0027-WARN.cmake b/Tests/RunCMake/CMP0027/CMP0027-WARN.cmake
new file mode 100644
index 0000000..8e5f9b5
--- /dev/null
+++ b/Tests/RunCMake/CMP0027/CMP0027-WARN.cmake
@@ -0,0 +1,8 @@
+
+enable_language(CXX)
+
+add_library(testTarget UNKNOWN IMPORTED)
+set_property(TARGET testTarget PROPERTY INTERFACE_INCLUDE_DIRECTORIES "/does/not/exist")
+
+add_library(userTarget "${CMAKE_CURRENT_SOURCE_DIR}/empty.cpp")
+target_link_libraries(userTarget PRIVATE $<1:testTarget>)
diff --git a/Tests/RunCMake/CMP0027/CMakeLists.txt b/Tests/RunCMake/CMP0027/CMakeLists.txt
new file mode 100644
index 0000000..12cd3c7
--- /dev/null
+++ b/Tests/RunCMake/CMP0027/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.4)
+project(${RunCMake_TEST} NONE)
+include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/CMP0027/RunCMakeTest.cmake b/Tests/RunCMake/CMP0027/RunCMakeTest.cmake
new file mode 100644
index 0000000..1017f01
--- /dev/null
+++ b/Tests/RunCMake/CMP0027/RunCMakeTest.cmake
@@ -0,0 +1,5 @@
+include(RunCMake)
+
+run_cmake(CMP0027-NEW)
+run_cmake(CMP0027-OLD)
+run_cmake(CMP0027-WARN)
diff --git a/Tests/RunCMake/CMP0027/empty.cpp b/Tests/RunCMake/CMP0027/empty.cpp
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Tests/RunCMake/CMP0027/empty.cpp
diff --git a/Tests/RunCMake/CMP0028/CMP0028-NEW-iface-result.txt b/Tests/RunCMake/CMP0028/CMP0028-NEW-iface-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CMP0028/CMP0028-NEW-iface-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CMP0028/CMP0028-NEW-iface-stderr.txt b/Tests/RunCMake/CMP0028/CMP0028-NEW-iface-stderr.txt
new file mode 100644
index 0000000..e2108f4
--- /dev/null
+++ b/Tests/RunCMake/CMP0028/CMP0028-NEW-iface-stderr.txt
@@ -0,0 +1,6 @@
+CMake Error at CMP0028-NEW-iface.cmake:6 \(add_library\):
+ Target "foo" links to target "External::Library" but the target was not
+ found. Perhaps a find_package\(\) call is missing for an IMPORTED target, or
+ an ALIAS target is missing\?
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/CMP0028/CMP0028-NEW-iface.cmake b/Tests/RunCMake/CMP0028/CMP0028-NEW-iface.cmake
new file mode 100644
index 0000000..1a71433
--- /dev/null
+++ b/Tests/RunCMake/CMP0028/CMP0028-NEW-iface.cmake
@@ -0,0 +1,7 @@
+
+cmake_policy(SET CMP0028 NEW)
+
+add_library(iface INTERFACE)
+target_link_libraries(iface INTERFACE External::Library)
+add_library(foo empty.cpp)
+target_link_libraries(foo iface)
diff --git a/Tests/RunCMake/CMP0028/CMP0028-NEW-result.txt b/Tests/RunCMake/CMP0028/CMP0028-NEW-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CMP0028/CMP0028-NEW-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CMP0028/CMP0028-NEW-stderr.txt b/Tests/RunCMake/CMP0028/CMP0028-NEW-stderr.txt
new file mode 100644
index 0000000..711ad0e
--- /dev/null
+++ b/Tests/RunCMake/CMP0028/CMP0028-NEW-stderr.txt
@@ -0,0 +1,6 @@
+CMake Error at CMP0028-NEW.cmake:4 \(add_library\):
+ Target "foo" links to target "External::Library" but the target was not
+ found. Perhaps a find_package\(\) call is missing for an IMPORTED target, or
+ an ALIAS target is missing\?
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/CMP0028/CMP0028-NEW.cmake b/Tests/RunCMake/CMP0028/CMP0028-NEW.cmake
new file mode 100644
index 0000000..a0a6ae8
--- /dev/null
+++ b/Tests/RunCMake/CMP0028/CMP0028-NEW.cmake
@@ -0,0 +1,5 @@
+
+cmake_policy(SET CMP0028 NEW)
+
+add_library(foo empty.cpp)
+target_link_libraries(foo PRIVATE External::Library)
diff --git a/Tests/RunCMake/CMP0028/CMP0028-OLD-iface-result.txt b/Tests/RunCMake/CMP0028/CMP0028-OLD-iface-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0028/CMP0028-OLD-iface-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0028/CMP0028-OLD-iface-stderr.txt b/Tests/RunCMake/CMP0028/CMP0028-OLD-iface-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/CMP0028/CMP0028-OLD-iface-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/CMP0028/CMP0028-OLD-iface.cmake b/Tests/RunCMake/CMP0028/CMP0028-OLD-iface.cmake
new file mode 100644
index 0000000..d7bd60e
--- /dev/null
+++ b/Tests/RunCMake/CMP0028/CMP0028-OLD-iface.cmake
@@ -0,0 +1,7 @@
+
+cmake_policy(SET CMP0028 OLD)
+
+add_library(iface INTERFACE)
+target_link_libraries(iface INTERFACE External::Library)
+add_library(foo empty.cpp)
+target_link_libraries(foo iface)
diff --git a/Tests/RunCMake/CMP0028/CMP0028-OLD-result.txt b/Tests/RunCMake/CMP0028/CMP0028-OLD-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0028/CMP0028-OLD-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0028/CMP0028-OLD-stderr.txt b/Tests/RunCMake/CMP0028/CMP0028-OLD-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/CMP0028/CMP0028-OLD-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/CMP0028/CMP0028-OLD.cmake b/Tests/RunCMake/CMP0028/CMP0028-OLD.cmake
new file mode 100644
index 0000000..d4a870b
--- /dev/null
+++ b/Tests/RunCMake/CMP0028/CMP0028-OLD.cmake
@@ -0,0 +1,5 @@
+
+cmake_policy(SET CMP0028 OLD)
+
+add_library(foo empty.cpp)
+target_link_libraries(foo PRIVATE External::Library)
diff --git a/Tests/RunCMake/CMP0028/CMP0028-WARN-iface-result.txt b/Tests/RunCMake/CMP0028/CMP0028-WARN-iface-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0028/CMP0028-WARN-iface-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0028/CMP0028-WARN-iface-stderr.txt b/Tests/RunCMake/CMP0028/CMP0028-WARN-iface-stderr.txt
new file mode 100644
index 0000000..0c5c653
--- /dev/null
+++ b/Tests/RunCMake/CMP0028/CMP0028-WARN-iface-stderr.txt
@@ -0,0 +1,11 @@
+CMake Warning \(dev\) at CMP0028-WARN-iface.cmake:4 \(add_library\):
+ Policy CMP0028 is not set: Double colon in target name means ALIAS or
+ IMPORTED target. Run "cmake --help-policy CMP0028" for policy details.
+ Use the cmake_policy command to set the policy and suppress this warning.
+
+ Target "foo" links to target "External::Library" but the target was not
+ found. Perhaps a find_package\(\) call is missing for an IMPORTED target, or
+ an ALIAS target is missing\?
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/CMP0028/CMP0028-WARN-iface.cmake b/Tests/RunCMake/CMP0028/CMP0028-WARN-iface.cmake
new file mode 100644
index 0000000..9270023
--- /dev/null
+++ b/Tests/RunCMake/CMP0028/CMP0028-WARN-iface.cmake
@@ -0,0 +1,5 @@
+
+add_library(iface INTERFACE)
+target_link_libraries(iface INTERFACE External::Library)
+add_library(foo empty.cpp)
+target_link_libraries(foo iface)
diff --git a/Tests/RunCMake/CMP0028/CMP0028-WARN-result.txt b/Tests/RunCMake/CMP0028/CMP0028-WARN-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0028/CMP0028-WARN-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0028/CMP0028-WARN-stderr.txt b/Tests/RunCMake/CMP0028/CMP0028-WARN-stderr.txt
new file mode 100644
index 0000000..41d7560
--- /dev/null
+++ b/Tests/RunCMake/CMP0028/CMP0028-WARN-stderr.txt
@@ -0,0 +1,11 @@
+CMake Warning \(dev\) at CMP0028-WARN.cmake:2 \(add_library\):
+ Policy CMP0028 is not set: Double colon in target name means ALIAS or
+ IMPORTED target. Run "cmake --help-policy CMP0028" for policy details.
+ Use the cmake_policy command to set the policy and suppress this warning.
+
+ Target "foo" links to target "External::Library" but the target was not
+ found. Perhaps a find_package\(\) call is missing for an IMPORTED target, or
+ an ALIAS target is missing\?
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/CMP0028/CMP0028-WARN.cmake b/Tests/RunCMake/CMP0028/CMP0028-WARN.cmake
new file mode 100644
index 0000000..70a6cc6
--- /dev/null
+++ b/Tests/RunCMake/CMP0028/CMP0028-WARN.cmake
@@ -0,0 +1,3 @@
+
+add_library(foo empty.cpp)
+target_link_libraries(foo PRIVATE External::Library)
diff --git a/Tests/RunCMake/CMP0028/CMakeLists.txt b/Tests/RunCMake/CMP0028/CMakeLists.txt
new file mode 100644
index 0000000..144cdb4
--- /dev/null
+++ b/Tests/RunCMake/CMP0028/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.4)
+project(${RunCMake_TEST} CXX)
+include(${RunCMake_TEST}.cmake NO_POLICY_SCOPE) # policy used at end of dir
diff --git a/Tests/RunCMake/CMP0028/RunCMakeTest.cmake b/Tests/RunCMake/CMP0028/RunCMakeTest.cmake
new file mode 100644
index 0000000..0c72ca2
--- /dev/null
+++ b/Tests/RunCMake/CMP0028/RunCMakeTest.cmake
@@ -0,0 +1,8 @@
+include(RunCMake)
+
+run_cmake(CMP0028-NEW)
+run_cmake(CMP0028-OLD)
+run_cmake(CMP0028-WARN)
+run_cmake(CMP0028-NEW-iface)
+run_cmake(CMP0028-OLD-iface)
+run_cmake(CMP0028-WARN-iface)
diff --git a/Tests/RunCMake/CMP0028/empty.cpp b/Tests/RunCMake/CMP0028/empty.cpp
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Tests/RunCMake/CMP0028/empty.cpp
diff --git a/Tests/RunCMake/CMP0037/CMP0037-NEW-colon-result.txt b/Tests/RunCMake/CMP0037/CMP0037-NEW-colon-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMP0037-NEW-colon-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CMP0037/CMP0037-NEW-colon-stderr.txt b/Tests/RunCMake/CMP0037/CMP0037-NEW-colon-stderr.txt
new file mode 100644
index 0000000..ec2315f
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMP0037-NEW-colon-stderr.txt
@@ -0,0 +1,20 @@
+CMake Error at CMP0037-NEW-colon.cmake:4 \(add_library\):
+ The target name "lib:colon" is reserved or not valid for certain CMake
+ features, such as generator expressions, and may result in undefined
+ behavior.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at CMP0037-NEW-colon.cmake:5 \(add_executable\):
+ The target name "exe:colon" is reserved or not valid for certain CMake
+ features, such as generator expressions, and may result in undefined
+ behavior.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at CMP0037-NEW-colon.cmake:6 \(add_custom_target\):
+ The target name "custom:colon" is reserved or not valid for certain CMake
+ features, such as generator expressions, and may result in undefined
+ behavior.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/CMP0037/CMP0037-NEW-colon.cmake b/Tests/RunCMake/CMP0037/CMP0037-NEW-colon.cmake
new file mode 100644
index 0000000..f4c070d
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMP0037-NEW-colon.cmake
@@ -0,0 +1,6 @@
+
+cmake_policy(SET CMP0037 NEW)
+
+add_library("lib:colon" empty.cpp)
+add_executable("exe:colon" empty.cpp)
+add_custom_target("custom:colon")
diff --git a/Tests/RunCMake/CMP0037/CMP0037-NEW-reserved-result.txt b/Tests/RunCMake/CMP0037/CMP0037-NEW-reserved-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMP0037-NEW-reserved-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CMP0037/CMP0037-NEW-reserved-stderr.txt b/Tests/RunCMake/CMP0037/CMP0037-NEW-reserved-stderr.txt
new file mode 100644
index 0000000..5789e38
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMP0037-NEW-reserved-stderr.txt
@@ -0,0 +1,18 @@
+CMake Error at CMP0037-NEW-reserved.cmake:4 \(add_library\):
+ The target name "all" is reserved or not valid for certain CMake features,
+ such as generator expressions, and may result in undefined behavior.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at CMP0037-NEW-reserved.cmake:5 \(add_executable\):
+ The target name "clean" is reserved or not valid for certain CMake
+ features, such as generator expressions, and may result in undefined
+ behavior.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at CMP0037-NEW-reserved.cmake:6 \(add_custom_target\):
+ The target name "help" is reserved or not valid for certain CMake features,
+ such as generator expressions, and may result in undefined behavior.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/CMP0037/CMP0037-NEW-reserved.cmake b/Tests/RunCMake/CMP0037/CMP0037-NEW-reserved.cmake
new file mode 100644
index 0000000..e9f6404
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMP0037-NEW-reserved.cmake
@@ -0,0 +1,6 @@
+
+cmake_policy(SET CMP0037 NEW)
+
+add_library(all empty.cpp)
+add_executable(clean empty.cpp)
+add_custom_target(help)
diff --git a/Tests/RunCMake/CMP0037/CMP0037-NEW-space-result.txt b/Tests/RunCMake/CMP0037/CMP0037-NEW-space-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMP0037-NEW-space-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CMP0037/CMP0037-NEW-space-stderr.txt b/Tests/RunCMake/CMP0037/CMP0037-NEW-space-stderr.txt
new file mode 100644
index 0000000..e14cec0
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMP0037-NEW-space-stderr.txt
@@ -0,0 +1,20 @@
+CMake Error at CMP0037-NEW-space.cmake:4 \(add_library\):
+ The target name "lib with spaces" is reserved or not valid for certain
+ CMake features, such as generator expressions, and may result in undefined
+ behavior.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at CMP0037-NEW-space.cmake:5 \(add_executable\):
+ The target name "exe with spaces" is reserved or not valid for certain
+ CMake features, such as generator expressions, and may result in undefined
+ behavior.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at CMP0037-NEW-space.cmake:6 \(add_custom_target\):
+ The target name "custom with spaces" is reserved or not valid for certain
+ CMake features, such as generator expressions, and may result in undefined
+ behavior.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/CMP0037/CMP0037-NEW-space.cmake b/Tests/RunCMake/CMP0037/CMP0037-NEW-space.cmake
new file mode 100644
index 0000000..9227986
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMP0037-NEW-space.cmake
@@ -0,0 +1,6 @@
+
+cmake_policy(SET CMP0037 NEW)
+
+add_library("lib with spaces" empty.cpp)
+add_executable("exe with spaces" empty.cpp)
+add_custom_target("custom with spaces")
diff --git a/Tests/RunCMake/CMP0037/CMP0037-OLD-reserved-result.txt b/Tests/RunCMake/CMP0037/CMP0037-OLD-reserved-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMP0037-OLD-reserved-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0037/CMP0037-OLD-reserved-stderr.txt b/Tests/RunCMake/CMP0037/CMP0037-OLD-reserved-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMP0037-OLD-reserved-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/CMP0037/CMP0037-OLD-reserved.cmake b/Tests/RunCMake/CMP0037/CMP0037-OLD-reserved.cmake
new file mode 100644
index 0000000..870a286
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMP0037-OLD-reserved.cmake
@@ -0,0 +1,6 @@
+
+cmake_policy(SET CMP0037 OLD)
+
+add_library(all empty.cpp)
+add_executable(clean empty.cpp)
+add_custom_target(help)
diff --git a/Tests/RunCMake/CMP0037/CMP0037-OLD-space-result.txt b/Tests/RunCMake/CMP0037/CMP0037-OLD-space-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMP0037-OLD-space-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0037/CMP0037-OLD-space-stderr.txt b/Tests/RunCMake/CMP0037/CMP0037-OLD-space-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMP0037-OLD-space-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/CMP0037/CMP0037-OLD-space.cmake b/Tests/RunCMake/CMP0037/CMP0037-OLD-space.cmake
new file mode 100644
index 0000000..46193a1
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMP0037-OLD-space.cmake
@@ -0,0 +1,6 @@
+
+cmake_policy(SET CMP0037 OLD)
+
+add_library("lib with spaces" empty.cpp)
+add_executable("exe with spaces" empty.cpp)
+add_custom_target("custom with spaces")
diff --git a/Tests/RunCMake/CMP0037/CMP0037-WARN-colon-result.txt b/Tests/RunCMake/CMP0037/CMP0037-WARN-colon-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMP0037-WARN-colon-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0037/CMP0037-WARN-colon-stderr.txt b/Tests/RunCMake/CMP0037/CMP0037-WARN-colon-stderr.txt
new file mode 100644
index 0000000..d3b0e17
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMP0037-WARN-colon-stderr.txt
@@ -0,0 +1,38 @@
+CMake Warning \(dev\) at CMP0037-WARN-colon.cmake:2 \(add_library\):
+ Policy CMP0037 is not set: Target names should not be reserved and should
+ match a validity pattern. Run "cmake --help-policy CMP0037" for policy
+ details. Use the cmake_policy command to set the policy and suppress this
+ warning.
+
+ The target name "lib:colon" is reserved or not valid for certain CMake
+ features, such as generator expressions, and may result in undefined
+ behavior.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
++
+CMake Warning \(dev\) at CMP0037-WARN-colon.cmake:3 \(add_executable\):
+ Policy CMP0037 is not set: Target names should not be reserved and should
+ match a validity pattern. Run "cmake --help-policy CMP0037" for policy
+ details. Use the cmake_policy command to set the policy and suppress this
+ warning.
+
+ The target name "exe:colon" is reserved or not valid for certain CMake
+ features, such as generator expressions, and may result in undefined
+ behavior.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
++
+CMake Warning \(dev\) at CMP0037-WARN-colon.cmake:4 \(add_custom_target\):
+ Policy CMP0037 is not set: Target names should not be reserved and should
+ match a validity pattern. Run "cmake --help-policy CMP0037" for policy
+ details. Use the cmake_policy command to set the policy and suppress this
+ warning.
+
+ The target name "custom:colon" is reserved or not valid for certain CMake
+ features, such as generator expressions, and may result in undefined
+ behavior.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/CMP0037/CMP0037-WARN-colon.cmake b/Tests/RunCMake/CMP0037/CMP0037-WARN-colon.cmake
new file mode 100644
index 0000000..445e3b2
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMP0037-WARN-colon.cmake
@@ -0,0 +1,4 @@
+
+add_library("lib:colon" empty.cpp)
+add_executable("exe:colon" empty.cpp)
+add_custom_target("custom:colon")
diff --git a/Tests/RunCMake/CMP0037/CMP0037-WARN-space-result.txt b/Tests/RunCMake/CMP0037/CMP0037-WARN-space-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMP0037-WARN-space-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0037/CMP0037-WARN-space-stderr.txt b/Tests/RunCMake/CMP0037/CMP0037-WARN-space-stderr.txt
new file mode 100644
index 0000000..e39477a
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMP0037-WARN-space-stderr.txt
@@ -0,0 +1,37 @@
+CMake Warning \(dev\) at CMP0037-WARN-space.cmake:2 \(add_library\):
+ Policy CMP0037 is not set: Target names should not be reserved and should
+ match a validity pattern. Run "cmake --help-policy CMP0037" for policy
+ details. Use the cmake_policy command to set the policy and suppress this
+ warning.
+
+ The target name "lib with spaces" is reserved or not valid for certain
+ CMake features, such as generator expressions, and may result in undefined
+ behavior.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
++
+CMake Warning \(dev\) at CMP0037-WARN-space.cmake:3 \(add_executable\):
+ Policy CMP0037 is not set: Target names should not be reserved and should
+ match a validity pattern. Run "cmake --help-policy CMP0037" for policy
+ details. Use the cmake_policy command to set the policy and suppress this
+ warning.
+
+ The target name "exe with spaces" is reserved or not valid for certain
+ CMake features, such as generator expressions, and may result in undefined
+ behavior.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
++
+CMake Warning \(dev\) at CMP0037-WARN-space.cmake:4 \(add_custom_target\):
+ Policy CMP0037 is not set: Target names should not be reserved and should
+ match a validity pattern. Run "cmake --help-policy CMP0037" for policy
+ details. Use the cmake_policy command to set the policy and suppress this
+ warning.
+
+ The target name "custom with spaces" is reserved or not valid for certain
+ CMake features, such as generator expressions, and may result in undefined
+ behavior.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/CMP0037/CMP0037-WARN-space.cmake b/Tests/RunCMake/CMP0037/CMP0037-WARN-space.cmake
new file mode 100644
index 0000000..e50a64d
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMP0037-WARN-space.cmake
@@ -0,0 +1,4 @@
+
+add_library("lib with spaces" empty.cpp)
+add_executable("exe with spaces" empty.cpp)
+add_custom_target("custom with spaces")
diff --git a/Tests/RunCMake/CMP0037/CMakeLists.txt b/Tests/RunCMake/CMP0037/CMakeLists.txt
new file mode 100644
index 0000000..f452db1
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.4)
+project(${RunCMake_TEST} CXX)
+include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/CMP0037/RunCMakeTest.cmake b/Tests/RunCMake/CMP0037/RunCMakeTest.cmake
new file mode 100644
index 0000000..b7d8d7b
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/RunCMakeTest.cmake
@@ -0,0 +1,13 @@
+include(RunCMake)
+
+run_cmake(CMP0037-OLD-space)
+run_cmake(CMP0037-NEW-space)
+run_cmake(CMP0037-WARN-space)
+run_cmake(CMP0037-NEW-colon)
+
+if(NOT (WIN32 AND "${RunCMake_GENERATOR}" MATCHES "Make"))
+ run_cmake(CMP0037-WARN-colon)
+endif()
+
+run_cmake(CMP0037-OLD-reserved)
+run_cmake(CMP0037-NEW-reserved)
diff --git a/Tests/RunCMake/CMP0037/empty.cpp b/Tests/RunCMake/CMP0037/empty.cpp
new file mode 100644
index 0000000..bfbbdde
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/empty.cpp
@@ -0,0 +1,7 @@
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+int empty()
+{
+ return 0;
+}
diff --git a/Tests/RunCMake/CMP0038/CMP0038-NEW-result.txt b/Tests/RunCMake/CMP0038/CMP0038-NEW-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CMP0038/CMP0038-NEW-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CMP0038/CMP0038-NEW-stderr.txt b/Tests/RunCMake/CMP0038/CMP0038-NEW-stderr.txt
new file mode 100644
index 0000000..3d0a428
--- /dev/null
+++ b/Tests/RunCMake/CMP0038/CMP0038-NEW-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at CMP0038-NEW.cmake:3 \(add_library\):
+ Target "self_link" links to itself.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/CMP0038/CMP0038-NEW.cmake b/Tests/RunCMake/CMP0038/CMP0038-NEW.cmake
new file mode 100644
index 0000000..6296b83
--- /dev/null
+++ b/Tests/RunCMake/CMP0038/CMP0038-NEW.cmake
@@ -0,0 +1,4 @@
+
+cmake_policy(SET CMP0038 NEW)
+add_library(self_link empty.cpp)
+target_link_libraries(self_link self_link)
diff --git a/Tests/RunCMake/CMP0038/CMP0038-OLD-result.txt b/Tests/RunCMake/CMP0038/CMP0038-OLD-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0038/CMP0038-OLD-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0038/CMP0038-OLD-stderr.txt b/Tests/RunCMake/CMP0038/CMP0038-OLD-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/CMP0038/CMP0038-OLD-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/CMP0038/CMP0038-OLD.cmake b/Tests/RunCMake/CMP0038/CMP0038-OLD.cmake
new file mode 100644
index 0000000..3752821
--- /dev/null
+++ b/Tests/RunCMake/CMP0038/CMP0038-OLD.cmake
@@ -0,0 +1,4 @@
+
+cmake_policy(SET CMP0038 OLD)
+add_library(self_link empty.cpp)
+target_link_libraries(self_link self_link)
diff --git a/Tests/RunCMake/CMP0038/CMP0038-WARN-result.txt b/Tests/RunCMake/CMP0038/CMP0038-WARN-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0038/CMP0038-WARN-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0038/CMP0038-WARN-stderr.txt b/Tests/RunCMake/CMP0038/CMP0038-WARN-stderr.txt
new file mode 100644
index 0000000..64631e7
--- /dev/null
+++ b/Tests/RunCMake/CMP0038/CMP0038-WARN-stderr.txt
@@ -0,0 +1,9 @@
+CMake Warning \(dev\) at CMP0038-WARN.cmake:2 \(add_library\):
+ Policy CMP0038 is not set: Targets may not link directly to themselves.
+ Run "cmake --help-policy CMP0038" for policy details. Use the cmake_policy
+ command to set the policy and suppress this warning.
+
+ Target "self_link" links to itself.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/CMP0038/CMP0038-WARN.cmake b/Tests/RunCMake/CMP0038/CMP0038-WARN.cmake
new file mode 100644
index 0000000..5b92d09
--- /dev/null
+++ b/Tests/RunCMake/CMP0038/CMP0038-WARN.cmake
@@ -0,0 +1,3 @@
+
+add_library(self_link empty.cpp)
+target_link_libraries(self_link self_link)
diff --git a/Tests/RunCMake/CMP0038/CMakeLists.txt b/Tests/RunCMake/CMP0038/CMakeLists.txt
new file mode 100644
index 0000000..a06591c
--- /dev/null
+++ b/Tests/RunCMake/CMP0038/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.12)
+project(${RunCMake_TEST} CXX)
+include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/CMP0038/RunCMakeTest.cmake b/Tests/RunCMake/CMP0038/RunCMakeTest.cmake
new file mode 100644
index 0000000..fc3500a
--- /dev/null
+++ b/Tests/RunCMake/CMP0038/RunCMakeTest.cmake
@@ -0,0 +1,5 @@
+include(RunCMake)
+
+run_cmake(CMP0038-WARN)
+run_cmake(CMP0038-NEW)
+run_cmake(CMP0038-OLD)
diff --git a/Tests/RunCMake/CMP0038/empty.cpp b/Tests/RunCMake/CMP0038/empty.cpp
new file mode 100644
index 0000000..bfbbdde
--- /dev/null
+++ b/Tests/RunCMake/CMP0038/empty.cpp
@@ -0,0 +1,7 @@
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+int empty()
+{
+ return 0;
+}
diff --git a/Tests/RunCMake/CMP0039/CMP0039-NEW-result.txt b/Tests/RunCMake/CMP0039/CMP0039-NEW-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CMP0039/CMP0039-NEW-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CMP0039/CMP0039-NEW-stderr.txt b/Tests/RunCMake/CMP0039/CMP0039-NEW-stderr.txt
new file mode 100644
index 0000000..3d9d225
--- /dev/null
+++ b/Tests/RunCMake/CMP0039/CMP0039-NEW-stderr.txt
@@ -0,0 +1,5 @@
+CMake Error at CMP0039-NEW.cmake:7 \(target_link_libraries\):
+ Utility target "utility" must not be used as the target of a
+ target_link_libraries call.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/CMP0039/CMP0039-NEW.cmake b/Tests/RunCMake/CMP0039/CMP0039-NEW.cmake
new file mode 100644
index 0000000..2032d64
--- /dev/null
+++ b/Tests/RunCMake/CMP0039/CMP0039-NEW.cmake
@@ -0,0 +1,7 @@
+
+cmake_policy(SET CMP0039 NEW)
+
+add_custom_target(utility
+ COMMAND ${CMAKE_COMMAND} -E echo test
+)
+target_link_libraries(utility m)
diff --git a/Tests/RunCMake/CMP0039/CMP0039-OLD-result.txt b/Tests/RunCMake/CMP0039/CMP0039-OLD-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0039/CMP0039-OLD-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0039/CMP0039-OLD-stderr.txt b/Tests/RunCMake/CMP0039/CMP0039-OLD-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/CMP0039/CMP0039-OLD-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/CMP0039/CMP0039-OLD.cmake b/Tests/RunCMake/CMP0039/CMP0039-OLD.cmake
new file mode 100644
index 0000000..9a513f4
--- /dev/null
+++ b/Tests/RunCMake/CMP0039/CMP0039-OLD.cmake
@@ -0,0 +1,7 @@
+
+cmake_policy(SET CMP0039 OLD)
+
+add_custom_target(utility
+ COMMAND ${CMAKE_COMMAND} -E echo test
+)
+target_link_libraries(utility m)
diff --git a/Tests/RunCMake/CMP0039/CMP0039-WARN-result.txt b/Tests/RunCMake/CMP0039/CMP0039-WARN-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0039/CMP0039-WARN-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0039/CMP0039-WARN-stderr.txt b/Tests/RunCMake/CMP0039/CMP0039-WARN-stderr.txt
new file mode 100644
index 0000000..a8e6c70
--- /dev/null
+++ b/Tests/RunCMake/CMP0039/CMP0039-WARN-stderr.txt
@@ -0,0 +1,10 @@
+CMake Warning \(dev\) at CMP0039-WARN.cmake:5 \(target_link_libraries\):
+ Policy CMP0039 is not set: Utility targets may not have link dependencies.
+ Run "cmake --help-policy CMP0039" for policy details. Use the cmake_policy
+ command to set the policy and suppress this warning.
+
+ Utility target "utility" should not be used as the target of a
+ target_link_libraries call.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/CMP0039/CMP0039-WARN.cmake b/Tests/RunCMake/CMP0039/CMP0039-WARN.cmake
new file mode 100644
index 0000000..6249993
--- /dev/null
+++ b/Tests/RunCMake/CMP0039/CMP0039-WARN.cmake
@@ -0,0 +1,5 @@
+
+add_custom_target(utility
+ COMMAND ${CMAKE_COMMAND} -E echo test
+)
+target_link_libraries(utility m)
diff --git a/Tests/RunCMake/CMP0039/CMakeLists.txt b/Tests/RunCMake/CMP0039/CMakeLists.txt
new file mode 100644
index 0000000..a06591c
--- /dev/null
+++ b/Tests/RunCMake/CMP0039/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.12)
+project(${RunCMake_TEST} CXX)
+include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/CMP0039/RunCMakeTest.cmake b/Tests/RunCMake/CMP0039/RunCMakeTest.cmake
new file mode 100644
index 0000000..58e8ea9
--- /dev/null
+++ b/Tests/RunCMake/CMP0039/RunCMakeTest.cmake
@@ -0,0 +1,5 @@
+include(RunCMake)
+
+run_cmake(CMP0039-WARN)
+run_cmake(CMP0039-NEW)
+run_cmake(CMP0039-OLD)
diff --git a/Tests/RunCMake/CMP0040/CMP0040-NEW-existing-target-result.txt b/Tests/RunCMake/CMP0040/CMP0040-NEW-existing-target-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0040/CMP0040-NEW-existing-target-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0040/CMP0040-NEW-existing-target-stderr.txt b/Tests/RunCMake/CMP0040/CMP0040-NEW-existing-target-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/CMP0040/CMP0040-NEW-existing-target-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/CMP0040/CMP0040-NEW-existing-target.cmake b/Tests/RunCMake/CMP0040/CMP0040-NEW-existing-target.cmake
new file mode 100644
index 0000000..f9c8afd
--- /dev/null
+++ b/Tests/RunCMake/CMP0040/CMP0040-NEW-existing-target.cmake
@@ -0,0 +1,7 @@
+cmake_policy(SET CMP0040 NEW)
+
+add_library(foobar empty.cpp)
+
+add_custom_command(TARGET foobar PRE_BUILD
+ COMMAND "${CMAKE_COMMAND} -E echo hello world"
+)
diff --git a/Tests/RunCMake/CMP0040/CMP0040-NEW-missing-target-result.txt b/Tests/RunCMake/CMP0040/CMP0040-NEW-missing-target-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CMP0040/CMP0040-NEW-missing-target-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CMP0040/CMP0040-NEW-missing-target-stderr.txt b/Tests/RunCMake/CMP0040/CMP0040-NEW-missing-target-stderr.txt
new file mode 100644
index 0000000..3f82d8c
--- /dev/null
+++ b/Tests/RunCMake/CMP0040/CMP0040-NEW-missing-target-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at CMP0040-NEW-missing-target.cmake:3 \(add_custom_command\):
+ The target name "foobar" is unknown in this context.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/CMP0040/CMP0040-NEW-missing-target.cmake b/Tests/RunCMake/CMP0040/CMP0040-NEW-missing-target.cmake
new file mode 100644
index 0000000..276863d
--- /dev/null
+++ b/Tests/RunCMake/CMP0040/CMP0040-NEW-missing-target.cmake
@@ -0,0 +1,5 @@
+cmake_policy(SET CMP0040 NEW)
+
+add_custom_command(TARGET foobar PRE_BUILD
+ COMMAND "${CMAKE_COMMAND} -E hello world"
+)
diff --git a/Tests/RunCMake/CMP0040/CMP0040-OLD-existing-target-result.txt b/Tests/RunCMake/CMP0040/CMP0040-OLD-existing-target-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0040/CMP0040-OLD-existing-target-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0040/CMP0040-OLD-existing-target-stderr.txt b/Tests/RunCMake/CMP0040/CMP0040-OLD-existing-target-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/CMP0040/CMP0040-OLD-existing-target-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/CMP0040/CMP0040-OLD-existing-target.cmake b/Tests/RunCMake/CMP0040/CMP0040-OLD-existing-target.cmake
new file mode 100644
index 0000000..d7ec50d
--- /dev/null
+++ b/Tests/RunCMake/CMP0040/CMP0040-OLD-existing-target.cmake
@@ -0,0 +1,7 @@
+cmake_policy(SET CMP0040 OLD)
+
+add_library(foobar empty.cpp)
+
+add_custom_command(TARGET foobar PRE_BUILD
+ COMMAND "${CMAKE_COMMAND} -E echo hello world"
+)
diff --git a/Tests/RunCMake/CMP0040/CMP0040-OLD-missing-target-result.txt b/Tests/RunCMake/CMP0040/CMP0040-OLD-missing-target-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0040/CMP0040-OLD-missing-target-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0040/CMP0040-OLD-missing-target-stderr.txt b/Tests/RunCMake/CMP0040/CMP0040-OLD-missing-target-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/CMP0040/CMP0040-OLD-missing-target-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/CMP0040/CMP0040-OLD-missing-target.cmake b/Tests/RunCMake/CMP0040/CMP0040-OLD-missing-target.cmake
new file mode 100644
index 0000000..ef7a0f7
--- /dev/null
+++ b/Tests/RunCMake/CMP0040/CMP0040-OLD-missing-target.cmake
@@ -0,0 +1,5 @@
+cmake_policy(SET CMP0040 OLD)
+
+add_custom_command(TARGET foobar PRE_BUILD
+ COMMAND "${CMAKE_COMMAND} -E echo hello world"
+)
diff --git a/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target-result.txt b/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target-stderr.txt b/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target-stderr.txt
new file mode 100644
index 0000000..e791f0a
--- /dev/null
+++ b/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target-stderr.txt
@@ -0,0 +1,10 @@
+CMake Warning \(dev\) at CMP0040-WARN-missing-target.cmake:2 \(add_custom_command\):
+ Policy CMP0040 is not set: The target in the TARGET signature of
+ add_custom_command\(\) must exist. Run "cmake --help-policy CMP0040" for
+ policy details. Use the cmake_policy command to set the policy and
+ suppress this warning.
++
+ The target name "foobar" is unknown in this context.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target.cmake b/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target.cmake
new file mode 100644
index 0000000..2c3e401
--- /dev/null
+++ b/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target.cmake
@@ -0,0 +1,4 @@
+
+add_custom_command(TARGET foobar PRE_BUILD
+ COMMAND "${CMAKE_COMMAND} -E hello world"
+)
diff --git a/Tests/RunCMake/CMP0040/CMakeLists.txt b/Tests/RunCMake/CMP0040/CMakeLists.txt
new file mode 100644
index 0000000..a06591c
--- /dev/null
+++ b/Tests/RunCMake/CMP0040/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.12)
+project(${RunCMake_TEST} CXX)
+include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/CMP0040/RunCMakeTest.cmake b/Tests/RunCMake/CMP0040/RunCMakeTest.cmake
new file mode 100644
index 0000000..13160e3
--- /dev/null
+++ b/Tests/RunCMake/CMP0040/RunCMakeTest.cmake
@@ -0,0 +1,8 @@
+include(RunCMake)
+
+run_cmake(CMP0040-OLD-missing-target)
+run_cmake(CMP0040-NEW-missing-target)
+run_cmake(CMP0040-WARN-missing-target)
+
+run_cmake(CMP0040-OLD-existing-target)
+run_cmake(CMP0040-NEW-existing-target)
diff --git a/Tests/RunCMake/CMP0040/empty.cpp b/Tests/RunCMake/CMP0040/empty.cpp
new file mode 100644
index 0000000..bfbbdde
--- /dev/null
+++ b/Tests/RunCMake/CMP0040/empty.cpp
@@ -0,0 +1,7 @@
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+int empty()
+{
+ return 0;
+}
diff --git a/Tests/RunCMake/CMP0041/CMP0041-NEW-result.txt b/Tests/RunCMake/CMP0041/CMP0041-NEW-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CMP0041/CMP0041-NEW-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CMP0041/CMP0041-NEW-stderr.txt b/Tests/RunCMake/CMP0041/CMP0041-NEW-stderr.txt
new file mode 100644
index 0000000..2ec3aef
--- /dev/null
+++ b/Tests/RunCMake/CMP0041/CMP0041-NEW-stderr.txt
@@ -0,0 +1,20 @@
+CMake Error in CMakeLists.txt:
+ Target "foo" INTERFACE_INCLUDE_DIRECTORIES property contains relative path:
+
+ "include/\$<TARGET_PROPERTY:NAME>"
+
+
+CMake Error in CMakeLists.txt:
+ Target "foo" INTERFACE_INCLUDE_DIRECTORIES property contains path:
+
+ ".*/Tests/RunCMake/CMP0041/include/\$<TARGET_PROPERTY:NAME>"
+
+ which is prefixed in the source directory.
+
+
+CMake Error in CMakeLists.txt:
+ Target "foo" INTERFACE_INCLUDE_DIRECTORIES property contains path:
+
+ ".*/Tests/RunCMake/CMP0041/CMP0041-NEW-build/include/\$<TARGET_PROPERTY:NAME>"
+
+ which is prefixed in the build directory.
diff --git a/Tests/RunCMake/CMP0041/CMP0041-NEW.cmake b/Tests/RunCMake/CMP0041/CMP0041-NEW.cmake
new file mode 100644
index 0000000..605b79a
--- /dev/null
+++ b/Tests/RunCMake/CMP0041/CMP0041-NEW.cmake
@@ -0,0 +1,12 @@
+
+cmake_policy(SET CMP0041 NEW)
+
+add_library(foo empty.cpp)
+set_property(TARGET foo
+ PROPERTY INTERFACE_INCLUDE_DIRECTORIES
+ include/$<TARGET_PROPERTY:NAME>
+ ${CMAKE_CURRENT_SOURCE_DIR}/include/$<TARGET_PROPERTY:NAME>
+ ${CMAKE_CURRENT_BINARY_DIR}/include/$<TARGET_PROPERTY:NAME>
+)
+install(TARGETS foo EXPORT FooExport DESTINATION lib)
+install(EXPORT FooExport DESTINATION lib/cmake)
diff --git a/Tests/RunCMake/CMP0041/CMP0041-OLD-result.txt b/Tests/RunCMake/CMP0041/CMP0041-OLD-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0041/CMP0041-OLD-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0041/CMP0041-OLD-stderr.txt b/Tests/RunCMake/CMP0041/CMP0041-OLD-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/CMP0041/CMP0041-OLD-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/CMP0041/CMP0041-OLD.cmake b/Tests/RunCMake/CMP0041/CMP0041-OLD.cmake
new file mode 100644
index 0000000..16cbced
--- /dev/null
+++ b/Tests/RunCMake/CMP0041/CMP0041-OLD.cmake
@@ -0,0 +1,12 @@
+
+cmake_policy(SET CMP0041 OLD)
+
+add_library(foo empty.cpp)
+set_property(TARGET foo
+ PROPERTY INTERFACE_INCLUDE_DIRECTORIES
+ include/$<TARGET_PROPERTY:NAME>
+ ${CMAKE_CURRENT_SOURCE_DIR}/include/$<TARGET_PROPERTY:NAME>
+ ${CMAKE_CURRENT_BINARY_DIR}/include/$<TARGET_PROPERTY:NAME>
+)
+install(TARGETS foo EXPORT FooExport DESTINATION lib)
+install(EXPORT FooExport DESTINATION lib/cmake)
diff --git a/Tests/RunCMake/CMP0041/CMP0041-WARN-result.txt b/Tests/RunCMake/CMP0041/CMP0041-WARN-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0041/CMP0041-WARN-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0041/CMP0041-WARN-stderr.txt b/Tests/RunCMake/CMP0041/CMP0041-WARN-stderr.txt
new file mode 100644
index 0000000..a7d303e
--- /dev/null
+++ b/Tests/RunCMake/CMP0041/CMP0041-WARN-stderr.txt
@@ -0,0 +1,32 @@
+CMake Warning in CMakeLists.txt:
+ Policy CMP0041 is not set: Error on relative include with generator
+ expression. Run "cmake --help-policy CMP0041" for policy details. Use the
+ cmake_policy command to set the policy and suppress this warning.
+
+ Target "foo" INTERFACE_INCLUDE_DIRECTORIES property contains relative path:
+
+ "include/\$<TARGET_PROPERTY:NAME>"
+
+
+CMake Warning in CMakeLists.txt:
+ Policy CMP0041 is not set: Error on relative include with generator
+ expression. Run "cmake --help-policy CMP0041" for policy details. Use the
+ cmake_policy command to set the policy and suppress this warning.
+
+ Target "foo" INTERFACE_INCLUDE_DIRECTORIES property contains path:
+
+ ".*/Tests/RunCMake/CMP0041/include/\$<TARGET_PROPERTY:NAME>"
+
+ which is prefixed in the source directory.
+
+
+CMake Warning in CMakeLists.txt:
+ Policy CMP0041 is not set: Error on relative include with generator
+ expression. Run "cmake --help-policy CMP0041" for policy details. Use the
+ cmake_policy command to set the policy and suppress this warning.
+
+ Target "foo" INTERFACE_INCLUDE_DIRECTORIES property contains path:
+
+ ".*/Tests/RunCMake/CMP0041/CMP0041-WARN-build/include/\$<TARGET_PROPERTY:NAME>"
+
+ which is prefixed in the build directory.
diff --git a/Tests/RunCMake/CMP0041/CMP0041-WARN.cmake b/Tests/RunCMake/CMP0041/CMP0041-WARN.cmake
new file mode 100644
index 0000000..873cbc7
--- /dev/null
+++ b/Tests/RunCMake/CMP0041/CMP0041-WARN.cmake
@@ -0,0 +1,10 @@
+
+add_library(foo empty.cpp)
+set_property(TARGET foo
+ PROPERTY INTERFACE_INCLUDE_DIRECTORIES
+ include/$<TARGET_PROPERTY:NAME>
+ ${CMAKE_CURRENT_SOURCE_DIR}/include/$<TARGET_PROPERTY:NAME>
+ ${CMAKE_CURRENT_BINARY_DIR}/include/$<TARGET_PROPERTY:NAME>
+)
+install(TARGETS foo EXPORT FooExport DESTINATION lib)
+install(EXPORT FooExport DESTINATION lib/cmake)
diff --git a/Tests/RunCMake/CMP0041/CMP0041-tid-NEW-result.txt b/Tests/RunCMake/CMP0041/CMP0041-tid-NEW-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CMP0041/CMP0041-tid-NEW-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CMP0041/CMP0041-tid-NEW-stderr.txt b/Tests/RunCMake/CMP0041/CMP0041-tid-NEW-stderr.txt
new file mode 100644
index 0000000..9b0a214
--- /dev/null
+++ b/Tests/RunCMake/CMP0041/CMP0041-tid-NEW-stderr.txt
@@ -0,0 +1,22 @@
+CMake Error in CMakeLists.txt:
+ Target "foo" INTERFACE_INCLUDE_DIRECTORIES property contains path:
+
+ ".*/Tests/RunCMake/CMP0041/include/\$<TARGET_PROPERTY:NAME>"
+
+ which is prefixed in the source directory.
+
+
+CMake Error in CMakeLists.txt:
+ Target "foo" INTERFACE_INCLUDE_DIRECTORIES property contains path:
+
+ ".*/Tests/RunCMake/CMP0041/include/\$<TARGET_PROPERTY:NAME>"
+
+ which is prefixed in the source directory.
+
+
+CMake Error in CMakeLists.txt:
+ Target "foo" INTERFACE_INCLUDE_DIRECTORIES property contains path:
+
+ ".*/Tests/RunCMake/CMP0041/CMP0041-tid-NEW-build/include/\$<TARGET_PROPERTY:NAME>"
+
+ which is prefixed in the build directory.
diff --git a/Tests/RunCMake/CMP0041/CMP0041-tid-NEW.cmake b/Tests/RunCMake/CMP0041/CMP0041-tid-NEW.cmake
new file mode 100644
index 0000000..3005108
--- /dev/null
+++ b/Tests/RunCMake/CMP0041/CMP0041-tid-NEW.cmake
@@ -0,0 +1,11 @@
+
+cmake_policy(SET CMP0041 NEW)
+
+add_library(foo empty.cpp)
+target_include_directories(foo INTERFACE
+ include/$<TARGET_PROPERTY:NAME>
+ ${CMAKE_CURRENT_SOURCE_DIR}/include/$<TARGET_PROPERTY:NAME>
+ ${CMAKE_CURRENT_BINARY_DIR}/include/$<TARGET_PROPERTY:NAME>
+)
+install(TARGETS foo EXPORT FooExport DESTINATION lib)
+install(EXPORT FooExport DESTINATION lib/cmake)
diff --git a/Tests/RunCMake/CMP0041/CMP0041-tid-OLD-result.txt b/Tests/RunCMake/CMP0041/CMP0041-tid-OLD-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0041/CMP0041-tid-OLD-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0041/CMP0041-tid-OLD-stderr.txt b/Tests/RunCMake/CMP0041/CMP0041-tid-OLD-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/CMP0041/CMP0041-tid-OLD-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/CMP0041/CMP0041-tid-OLD.cmake b/Tests/RunCMake/CMP0041/CMP0041-tid-OLD.cmake
new file mode 100644
index 0000000..b5c4e7f
--- /dev/null
+++ b/Tests/RunCMake/CMP0041/CMP0041-tid-OLD.cmake
@@ -0,0 +1,11 @@
+
+cmake_policy(SET CMP0041 OLD)
+
+add_library(foo empty.cpp)
+target_include_directories(foo INTERFACE
+ include/$<TARGET_PROPERTY:NAME>
+ ${CMAKE_CURRENT_SOURCE_DIR}/include/$<TARGET_PROPERTY:NAME>
+ ${CMAKE_CURRENT_BINARY_DIR}/include/$<TARGET_PROPERTY:NAME>
+)
+install(TARGETS foo EXPORT FooExport DESTINATION lib)
+install(EXPORT FooExport DESTINATION lib/cmake)
diff --git a/Tests/RunCMake/CMP0041/CMP0041-tid-WARN-result.txt b/Tests/RunCMake/CMP0041/CMP0041-tid-WARN-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0041/CMP0041-tid-WARN-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0041/CMP0041-tid-WARN-stderr.txt b/Tests/RunCMake/CMP0041/CMP0041-tid-WARN-stderr.txt
new file mode 100644
index 0000000..aae2c7a
--- /dev/null
+++ b/Tests/RunCMake/CMP0041/CMP0041-tid-WARN-stderr.txt
@@ -0,0 +1,34 @@
+CMake Warning in CMakeLists.txt:
+ Policy CMP0041 is not set: Error on relative include with generator
+ expression. Run "cmake --help-policy CMP0041" for policy details. Use the
+ cmake_policy command to set the policy and suppress this warning.
+
+ Target "foo" INTERFACE_INCLUDE_DIRECTORIES property contains path:
+
+ ".*/Tests/RunCMake/CMP0041/include/\$<TARGET_PROPERTY:NAME>"
+
+ which is prefixed in the source directory.
+
+
+CMake Warning in CMakeLists.txt:
+ Policy CMP0041 is not set: Error on relative include with generator
+ expression. Run "cmake --help-policy CMP0041" for policy details. Use the
+ cmake_policy command to set the policy and suppress this warning.
+
+ Target "foo" INTERFACE_INCLUDE_DIRECTORIES property contains path:
+
+ ".*/Tests/RunCMake/CMP0041/include/\$<TARGET_PROPERTY:NAME>"
+
+ which is prefixed in the source directory.
+
+
+CMake Warning in CMakeLists.txt:
+ Policy CMP0041 is not set: Error on relative include with generator
+ expression. Run "cmake --help-policy CMP0041" for policy details. Use the
+ cmake_policy command to set the policy and suppress this warning.
+
+ Target "foo" INTERFACE_INCLUDE_DIRECTORIES property contains path:
+
+ ".*/Tests/RunCMake/CMP0041/CMP0041-tid-WARN-build/include/\$<TARGET_PROPERTY:NAME>"
+
+ which is prefixed in the build directory.
diff --git a/Tests/RunCMake/CMP0041/CMP0041-tid-WARN.cmake b/Tests/RunCMake/CMP0041/CMP0041-tid-WARN.cmake
new file mode 100644
index 0000000..ee4c2a6
--- /dev/null
+++ b/Tests/RunCMake/CMP0041/CMP0041-tid-WARN.cmake
@@ -0,0 +1,9 @@
+
+add_library(foo empty.cpp)
+target_include_directories(foo INTERFACE
+ include/$<TARGET_PROPERTY:NAME>
+ ${CMAKE_CURRENT_SOURCE_DIR}/include/$<TARGET_PROPERTY:NAME>
+ ${CMAKE_CURRENT_BINARY_DIR}/include/$<TARGET_PROPERTY:NAME>
+)
+install(TARGETS foo EXPORT FooExport DESTINATION lib)
+install(EXPORT FooExport DESTINATION lib/cmake)
diff --git a/Tests/RunCMake/CMP0041/CMakeLists.txt b/Tests/RunCMake/CMP0041/CMakeLists.txt
new file mode 100644
index 0000000..f452db1
--- /dev/null
+++ b/Tests/RunCMake/CMP0041/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.4)
+project(${RunCMake_TEST} CXX)
+include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/CMP0041/RunCMakeTest.cmake b/Tests/RunCMake/CMP0041/RunCMakeTest.cmake
new file mode 100644
index 0000000..a5e2114
--- /dev/null
+++ b/Tests/RunCMake/CMP0041/RunCMakeTest.cmake
@@ -0,0 +1,8 @@
+include(RunCMake)
+
+run_cmake(CMP0041-OLD)
+run_cmake(CMP0041-NEW)
+run_cmake(CMP0041-WARN)
+run_cmake(CMP0041-tid-OLD)
+run_cmake(CMP0041-tid-NEW)
+run_cmake(CMP0041-tid-WARN)
diff --git a/Tests/RunCMake/CMP0041/empty.cpp b/Tests/RunCMake/CMP0041/empty.cpp
new file mode 100644
index 0000000..bfbbdde
--- /dev/null
+++ b/Tests/RunCMake/CMP0041/empty.cpp
@@ -0,0 +1,7 @@
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+int empty()
+{
+ return 0;
+}
diff --git a/Tests/RunCMake/CMP0042/CMP0042-NEW-result.txt b/Tests/RunCMake/CMP0042/CMP0042-NEW-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0042/CMP0042-NEW-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0042/CMP0042-NEW-stderr.txt b/Tests/RunCMake/CMP0042/CMP0042-NEW-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/CMP0042/CMP0042-NEW-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/CMP0042/CMP0042-NEW.cmake b/Tests/RunCMake/CMP0042/CMP0042-NEW.cmake
new file mode 100644
index 0000000..778a444
--- /dev/null
+++ b/Tests/RunCMake/CMP0042/CMP0042-NEW.cmake
@@ -0,0 +1,4 @@
+
+cmake_policy(SET CMP0042 NEW)
+
+add_library(foo SHARED empty.cpp)
diff --git a/Tests/RunCMake/CMP0042/CMP0042-OLD-result.txt b/Tests/RunCMake/CMP0042/CMP0042-OLD-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0042/CMP0042-OLD-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0042/CMP0042-OLD-stderr.txt b/Tests/RunCMake/CMP0042/CMP0042-OLD-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/CMP0042/CMP0042-OLD-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/CMP0042/CMP0042-OLD.cmake b/Tests/RunCMake/CMP0042/CMP0042-OLD.cmake
new file mode 100644
index 0000000..1aede96
--- /dev/null
+++ b/Tests/RunCMake/CMP0042/CMP0042-OLD.cmake
@@ -0,0 +1,4 @@
+
+cmake_policy(SET CMP0042 OLD)
+
+add_library(foo SHARED empty.cpp)
diff --git a/Tests/RunCMake/CMP0042/CMP0042-WARN-result.txt b/Tests/RunCMake/CMP0042/CMP0042-WARN-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0042/CMP0042-WARN-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0042/CMP0042-WARN-stderr.txt b/Tests/RunCMake/CMP0042/CMP0042-WARN-stderr.txt
new file mode 100644
index 0000000..f3574a1
--- /dev/null
+++ b/Tests/RunCMake/CMP0042/CMP0042-WARN-stderr.txt
@@ -0,0 +1,10 @@
+CMake Warning \(dev\):
+ Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake
+ --help-policy CMP0042" for policy details. Use the cmake_policy command to
+ set the policy and suppress this warning.
+
+ MACOSX_RPATH is not specified for the following targets:
+
+ foo
+
+This warning is for project developers. Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/CMP0042/CMP0042-WARN.cmake b/Tests/RunCMake/CMP0042/CMP0042-WARN.cmake
new file mode 100644
index 0000000..3fa32b1
--- /dev/null
+++ b/Tests/RunCMake/CMP0042/CMP0042-WARN.cmake
@@ -0,0 +1,9 @@
+
+add_library(foo SHARED empty.cpp)
+add_library(foo-static STATIC empty.cpp)
+add_library(foo2 SHARED empty.cpp)
+set_target_properties(foo2 PROPERTIES MACOSX_RPATH 1)
+add_library(foo3 SHARED empty.cpp)
+set_target_properties(foo3 PROPERTIES BUILD_WITH_INSTALL_RPATH 1 INSTALL_NAME_DIR "@loader_path")
+add_library(foo4 SHARED empty.cpp)
+set_target_properties(foo4 PROPERTIES BUILD_WITH_INSTALL_RPATH 1 INSTALL_NAME_DIR "@rpath")
diff --git a/Tests/RunCMake/CMP0042/CMakeLists.txt b/Tests/RunCMake/CMP0042/CMakeLists.txt
new file mode 100644
index 0000000..f452db1
--- /dev/null
+++ b/Tests/RunCMake/CMP0042/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.4)
+project(${RunCMake_TEST} CXX)
+include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/CMP0042/RunCMakeTest.cmake b/Tests/RunCMake/CMP0042/RunCMakeTest.cmake
new file mode 100644
index 0000000..3b226d7
--- /dev/null
+++ b/Tests/RunCMake/CMP0042/RunCMakeTest.cmake
@@ -0,0 +1,5 @@
+include(RunCMake)
+
+run_cmake(CMP0042-OLD)
+run_cmake(CMP0042-NEW)
+run_cmake(CMP0042-WARN)
diff --git a/Tests/RunCMake/CMP0042/empty.cpp b/Tests/RunCMake/CMP0042/empty.cpp
new file mode 100644
index 0000000..bfbbdde
--- /dev/null
+++ b/Tests/RunCMake/CMP0042/empty.cpp
@@ -0,0 +1,7 @@
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+int empty()
+{
+ return 0;
+}
diff --git a/Tests/RunCMake/CMP0043/CMP0043-NEW-result.txt b/Tests/RunCMake/CMP0043/CMP0043-NEW-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0043/CMP0043-NEW-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0043/CMP0043-NEW-stderr.txt b/Tests/RunCMake/CMP0043/CMP0043-NEW-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/CMP0043/CMP0043-NEW-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/CMP0043/CMP0043-NEW.cmake b/Tests/RunCMake/CMP0043/CMP0043-NEW.cmake
new file mode 100644
index 0000000..857153d
--- /dev/null
+++ b/Tests/RunCMake/CMP0043/CMP0043-NEW.cmake
@@ -0,0 +1,7 @@
+
+cmake_policy(SET CMP0043 NEW)
+
+add_library(foo empty.cpp)
+set_property(TARGET foo
+ PROPERTY COMPILE_DEFINITIONS_DEBUG "DEBUG_MODE"
+)
diff --git a/Tests/RunCMake/CMP0043/CMP0043-OLD-result.txt b/Tests/RunCMake/CMP0043/CMP0043-OLD-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0043/CMP0043-OLD-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0043/CMP0043-OLD-stderr.txt b/Tests/RunCMake/CMP0043/CMP0043-OLD-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/CMP0043/CMP0043-OLD-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/CMP0043/CMP0043-OLD.cmake b/Tests/RunCMake/CMP0043/CMP0043-OLD.cmake
new file mode 100644
index 0000000..f379430
--- /dev/null
+++ b/Tests/RunCMake/CMP0043/CMP0043-OLD.cmake
@@ -0,0 +1,7 @@
+
+cmake_policy(SET CMP0043 OLD)
+
+add_library(foo empty.cpp)
+set_property(TARGET foo
+ PROPERTY COMPILE_DEFINITIONS_DEBUG "DEBUG_MODE"
+)
diff --git a/Tests/RunCMake/CMP0043/CMP0043-WARN-result.txt b/Tests/RunCMake/CMP0043/CMP0043-WARN-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0043/CMP0043-WARN-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0043/CMP0043-WARN-stderr.txt b/Tests/RunCMake/CMP0043/CMP0043-WARN-stderr.txt
new file mode 100644
index 0000000..4769a63
--- /dev/null
+++ b/Tests/RunCMake/CMP0043/CMP0043-WARN-stderr.txt
@@ -0,0 +1,5 @@
+CMake Warning \(dev\) in CMakeLists.txt:
+ Policy CMP0043 is not set: Ignore COMPILE_DEFINITIONS_<Config> properties.
+ Run "cmake --help-policy CMP0043" for policy details. Use the cmake_policy
+ command to set the policy and suppress this warning.
+This warning is for project developers. Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/CMP0043/CMP0043-WARN.cmake b/Tests/RunCMake/CMP0043/CMP0043-WARN.cmake
new file mode 100644
index 0000000..161a60d
--- /dev/null
+++ b/Tests/RunCMake/CMP0043/CMP0043-WARN.cmake
@@ -0,0 +1,5 @@
+
+add_library(foo empty.cpp)
+set_property(TARGET foo
+ PROPERTY COMPILE_DEFINITIONS_DEBUG "DEBUG_MODE"
+)
diff --git a/Tests/RunCMake/CMP0043/CMakeLists.txt b/Tests/RunCMake/CMP0043/CMakeLists.txt
new file mode 100644
index 0000000..d027f3e
--- /dev/null
+++ b/Tests/RunCMake/CMP0043/CMakeLists.txt
@@ -0,0 +1,7 @@
+cmake_minimum_required(VERSION 2.8.4)
+project(${RunCMake_TEST} CXX)
+include(${RunCMake_TEST}.cmake NO_POLICY_SCOPE) # policy used at end of dir
+
+if(CMAKE_BUILD_TYPE)
+ # Dummy variable use
+endif()
diff --git a/Tests/RunCMake/CMP0043/RunCMakeTest.cmake b/Tests/RunCMake/CMP0043/RunCMakeTest.cmake
new file mode 100644
index 0000000..7f9572e
--- /dev/null
+++ b/Tests/RunCMake/CMP0043/RunCMakeTest.cmake
@@ -0,0 +1,7 @@
+include(RunCMake)
+
+list(APPEND RunCMake_TEST_OPTIONS -DCMAKE_BUILD_TYPE=Debug)
+
+run_cmake(CMP0043-OLD)
+run_cmake(CMP0043-NEW)
+run_cmake(CMP0043-WARN)
diff --git a/Tests/RunCMake/CMP0043/empty.cpp b/Tests/RunCMake/CMP0043/empty.cpp
new file mode 100644
index 0000000..bfbbdde
--- /dev/null
+++ b/Tests/RunCMake/CMP0043/empty.cpp
@@ -0,0 +1,7 @@
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+int empty()
+{
+ return 0;
+}
diff --git a/Tests/RunCMake/CMP0045/CMP0045-NEW-result.txt b/Tests/RunCMake/CMP0045/CMP0045-NEW-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CMP0045/CMP0045-NEW-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CMP0045/CMP0045-NEW-stderr.txt b/Tests/RunCMake/CMP0045/CMP0045-NEW-stderr.txt
new file mode 100644
index 0000000..805a85e
--- /dev/null
+++ b/Tests/RunCMake/CMP0045/CMP0045-NEW-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at CMP0045-NEW.cmake:4 \(get_target_property\):
+ get_target_property\(\) called with non-existent target "tgt".
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/CMP0045/CMP0045-NEW.cmake b/Tests/RunCMake/CMP0045/CMP0045-NEW.cmake
new file mode 100644
index 0000000..7b2a3cd
--- /dev/null
+++ b/Tests/RunCMake/CMP0045/CMP0045-NEW.cmake
@@ -0,0 +1,4 @@
+
+cmake_policy(SET CMP0045 NEW)
+
+get_target_property(result tgt TYPE)
diff --git a/Tests/RunCMake/CMP0045/CMP0045-OLD-result.txt b/Tests/RunCMake/CMP0045/CMP0045-OLD-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0045/CMP0045-OLD-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0045/CMP0045-OLD-stderr.txt b/Tests/RunCMake/CMP0045/CMP0045-OLD-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/CMP0045/CMP0045-OLD-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/CMP0045/CMP0045-OLD.cmake b/Tests/RunCMake/CMP0045/CMP0045-OLD.cmake
new file mode 100644
index 0000000..90201a3
--- /dev/null
+++ b/Tests/RunCMake/CMP0045/CMP0045-OLD.cmake
@@ -0,0 +1,4 @@
+
+cmake_policy(SET CMP0045 OLD)
+
+get_target_property(result tgt TYPE)
diff --git a/Tests/RunCMake/CMP0045/CMP0045-WARN-result.txt b/Tests/RunCMake/CMP0045/CMP0045-WARN-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0045/CMP0045-WARN-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0045/CMP0045-WARN-stderr.txt b/Tests/RunCMake/CMP0045/CMP0045-WARN-stderr.txt
new file mode 100644
index 0000000..4c53224
--- /dev/null
+++ b/Tests/RunCMake/CMP0045/CMP0045-WARN-stderr.txt
@@ -0,0 +1,9 @@
+CMake Warning \(dev\) at CMP0045-WARN.cmake:2 \(get_target_property\):
+ Policy CMP0045 is not set: Error on non-existent target in
+ get_target_property. Run "cmake --help-policy CMP0045" for policy details.
+ Use the cmake_policy command to set the policy and suppress this warning.
+
+ get_target_property\(\) called with non-existent target "tgt".
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/CMP0045/CMP0045-WARN.cmake b/Tests/RunCMake/CMP0045/CMP0045-WARN.cmake
new file mode 100644
index 0000000..86a99a0
--- /dev/null
+++ b/Tests/RunCMake/CMP0045/CMP0045-WARN.cmake
@@ -0,0 +1,2 @@
+
+get_target_property(result tgt TYPE)
diff --git a/Tests/RunCMake/CMP0045/CMakeLists.txt b/Tests/RunCMake/CMP0045/CMakeLists.txt
new file mode 100644
index 0000000..f452db1
--- /dev/null
+++ b/Tests/RunCMake/CMP0045/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.4)
+project(${RunCMake_TEST} CXX)
+include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/CMP0045/RunCMakeTest.cmake b/Tests/RunCMake/CMP0045/RunCMakeTest.cmake
new file mode 100644
index 0000000..7c0e8a2
--- /dev/null
+++ b/Tests/RunCMake/CMP0045/RunCMakeTest.cmake
@@ -0,0 +1,5 @@
+include(RunCMake)
+
+run_cmake(CMP0045-OLD)
+run_cmake(CMP0045-NEW)
+run_cmake(CMP0045-WARN)
diff --git a/Tests/RunCMake/CMP0045/empty.cpp b/Tests/RunCMake/CMP0045/empty.cpp
new file mode 100644
index 0000000..bfbbdde
--- /dev/null
+++ b/Tests/RunCMake/CMP0045/empty.cpp
@@ -0,0 +1,7 @@
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+int empty()
+{
+ return 0;
+}
diff --git a/Tests/RunCMake/CMP0046/CMP0046-Duplicate-result.txt b/Tests/RunCMake/CMP0046/CMP0046-Duplicate-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0046/CMP0046-Duplicate-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0046/CMP0046-Duplicate-stderr.txt b/Tests/RunCMake/CMP0046/CMP0046-Duplicate-stderr.txt
new file mode 100644
index 0000000..fb31d6d
--- /dev/null
+++ b/Tests/RunCMake/CMP0046/CMP0046-Duplicate-stderr.txt
@@ -0,0 +1,10 @@
+CMake Warning \(dev\) at CMP0046-Duplicate.cmake:5 \(add_dependencies\):
+ Policy CMP0046 is not set: Error on non-existent dependency in
+ add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
+ Use the cmake_policy command to set the policy and suppress this warning.
+
+ The dependency target "ctgt_no_exist" of target "dummy" does not exist.
+Call Stack \(most recent call first\):
+ CMP0046-Duplicate.cmake:8 \(add_dep\)
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/CMP0046/CMP0046-Duplicate.cmake b/Tests/RunCMake/CMP0046/CMP0046-Duplicate.cmake
new file mode 100644
index 0000000..26e640b
--- /dev/null
+++ b/Tests/RunCMake/CMP0046/CMP0046-Duplicate.cmake
@@ -0,0 +1,9 @@
+
+add_library(dummy empty.cpp)
+
+macro(add_dep)
+ add_dependencies(dummy ctgt_no_exist)
+endmacro()
+
+add_dep()
+add_dep()
diff --git a/Tests/RunCMake/CMP0046/CMP0046-NEW-existing-dependency-stderr.txt b/Tests/RunCMake/CMP0046/CMP0046-NEW-existing-dependency-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/CMP0046/CMP0046-NEW-existing-dependency-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/CMP0046/CMP0046-NEW-existing-dependency.cmake b/Tests/RunCMake/CMP0046/CMP0046-NEW-existing-dependency.cmake
new file mode 100644
index 0000000..0be290a
--- /dev/null
+++ b/Tests/RunCMake/CMP0046/CMP0046-NEW-existing-dependency.cmake
@@ -0,0 +1,5 @@
+cmake_policy(SET CMP0046 NEW)
+
+add_custom_target(foo)
+add_custom_target(bar)
+add_dependencies(foo bar)
diff --git a/Tests/RunCMake/CMP0046/CMP0046-NEW-missing-dependency-result.txt b/Tests/RunCMake/CMP0046/CMP0046-NEW-missing-dependency-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CMP0046/CMP0046-NEW-missing-dependency-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CMP0046/CMP0046-NEW-missing-dependency-stderr.txt b/Tests/RunCMake/CMP0046/CMP0046-NEW-missing-dependency-stderr.txt
new file mode 100644
index 0000000..381647f
--- /dev/null
+++ b/Tests/RunCMake/CMP0046/CMP0046-NEW-missing-dependency-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at CMP0046-NEW-missing-dependency.cmake:4 \(add_dependencies\):
+ The dependency target "bar" of target "foo" does not exist.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/CMP0046/CMP0046-NEW-missing-dependency.cmake b/Tests/RunCMake/CMP0046/CMP0046-NEW-missing-dependency.cmake
new file mode 100644
index 0000000..9bb6b90
--- /dev/null
+++ b/Tests/RunCMake/CMP0046/CMP0046-NEW-missing-dependency.cmake
@@ -0,0 +1,4 @@
+cmake_policy(SET CMP0046 NEW)
+
+add_custom_target(foo)
+add_dependencies(foo bar)
diff --git a/Tests/RunCMake/CMP0046/CMP0046-OLD-existing-dependency-stderr.txt b/Tests/RunCMake/CMP0046/CMP0046-OLD-existing-dependency-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/CMP0046/CMP0046-OLD-existing-dependency-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/CMP0046/CMP0046-OLD-existing-dependency.cmake b/Tests/RunCMake/CMP0046/CMP0046-OLD-existing-dependency.cmake
new file mode 100644
index 0000000..b22ab4f
--- /dev/null
+++ b/Tests/RunCMake/CMP0046/CMP0046-OLD-existing-dependency.cmake
@@ -0,0 +1,5 @@
+cmake_policy(SET CMP0046 OLD)
+
+add_custom_target(foo)
+add_custom_target(bar)
+add_dependencies(foo bar)
diff --git a/Tests/RunCMake/CMP0046/CMP0046-OLD-missing-dependency-stderr.txt b/Tests/RunCMake/CMP0046/CMP0046-OLD-missing-dependency-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/CMP0046/CMP0046-OLD-missing-dependency-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/CMP0046/CMP0046-OLD-missing-dependency.cmake b/Tests/RunCMake/CMP0046/CMP0046-OLD-missing-dependency.cmake
new file mode 100644
index 0000000..5ee3cb7
--- /dev/null
+++ b/Tests/RunCMake/CMP0046/CMP0046-OLD-missing-dependency.cmake
@@ -0,0 +1,4 @@
+cmake_policy(SET CMP0046 OLD)
+
+add_custom_target(foo)
+add_dependencies(foo bar)
diff --git a/Tests/RunCMake/CMP0046/CMP0046-WARN-missing-dependency-stderr.txt b/Tests/RunCMake/CMP0046/CMP0046-WARN-missing-dependency-stderr.txt
new file mode 100644
index 0000000..fed36f1
--- /dev/null
+++ b/Tests/RunCMake/CMP0046/CMP0046-WARN-missing-dependency-stderr.txt
@@ -0,0 +1,9 @@
+CMake Warning \(dev\) at CMP0046-WARN-missing-dependency.cmake:2 \(add_dependencies\):
+ Policy CMP0046 is not set: Error on non-existent dependency in
+ add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
+ Use the cmake_policy command to set the policy and suppress this warning.
++
+ The dependency target "bar" of target "foo" does not exist.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/CMP0046/CMP0046-WARN-missing-dependency.cmake b/Tests/RunCMake/CMP0046/CMP0046-WARN-missing-dependency.cmake
new file mode 100644
index 0000000..896fa40
--- /dev/null
+++ b/Tests/RunCMake/CMP0046/CMP0046-WARN-missing-dependency.cmake
@@ -0,0 +1,2 @@
+add_custom_target(foo)
+add_dependencies(foo bar)
diff --git a/Tests/RunCMake/CMP0046/CMakeLists.txt b/Tests/RunCMake/CMP0046/CMakeLists.txt
new file mode 100644
index 0000000..a06591c
--- /dev/null
+++ b/Tests/RunCMake/CMP0046/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.12)
+project(${RunCMake_TEST} CXX)
+include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/CMP0046/RunCMakeTest.cmake b/Tests/RunCMake/CMP0046/RunCMakeTest.cmake
new file mode 100644
index 0000000..0a39c76
--- /dev/null
+++ b/Tests/RunCMake/CMP0046/RunCMakeTest.cmake
@@ -0,0 +1,9 @@
+include(RunCMake)
+
+run_cmake(CMP0046-OLD-missing-dependency)
+run_cmake(CMP0046-NEW-missing-dependency)
+run_cmake(CMP0046-WARN-missing-dependency)
+
+run_cmake(CMP0046-OLD-existing-dependency)
+run_cmake(CMP0046-NEW-existing-dependency)
+run_cmake(CMP0046-Duplicate)
diff --git a/Tests/RunCMake/CMP0046/empty.cpp b/Tests/RunCMake/CMP0046/empty.cpp
new file mode 100644
index 0000000..bfbbdde
--- /dev/null
+++ b/Tests/RunCMake/CMP0046/empty.cpp
@@ -0,0 +1,7 @@
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+int empty()
+{
+ return 0;
+}
diff --git a/Tests/RunCMake/CMP0049/CMP0049-NEW-result.txt b/Tests/RunCMake/CMP0049/CMP0049-NEW-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CMP0049/CMP0049-NEW-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CMP0049/CMP0049-NEW-stderr.txt b/Tests/RunCMake/CMP0049/CMP0049-NEW-stderr.txt
new file mode 100644
index 0000000..ff787e8
--- /dev/null
+++ b/Tests/RunCMake/CMP0049/CMP0049-NEW-stderr.txt
@@ -0,0 +1,6 @@
+CMake Error at CMP0049-NEW.cmake:5 \(add_library\):
+ Legacy variable expansion in source file "\${tgt_srcs}" expanded to
+ "empty.cpp" in target "tgt". This behavior will be removed in a future
+ version of CMake.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/CMP0049/CMP0049-NEW.cmake b/Tests/RunCMake/CMP0049/CMP0049-NEW.cmake
new file mode 100644
index 0000000..85b5aa8
--- /dev/null
+++ b/Tests/RunCMake/CMP0049/CMP0049-NEW.cmake
@@ -0,0 +1,5 @@
+
+cmake_policy(SET CMP0049 NEW)
+
+set(tgt_srcs empty.cpp)
+add_library(tgt \${tgt_srcs})
diff --git a/Tests/RunCMake/CMP0049/CMP0049-OLD-result.txt b/Tests/RunCMake/CMP0049/CMP0049-OLD-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0049/CMP0049-OLD-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0049/CMP0049-OLD-stderr.txt b/Tests/RunCMake/CMP0049/CMP0049-OLD-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/CMP0049/CMP0049-OLD-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/CMP0049/CMP0049-OLD.cmake b/Tests/RunCMake/CMP0049/CMP0049-OLD.cmake
new file mode 100644
index 0000000..ae6fd3b
--- /dev/null
+++ b/Tests/RunCMake/CMP0049/CMP0049-OLD.cmake
@@ -0,0 +1,5 @@
+
+cmake_policy(SET CMP0049 OLD)
+
+set(tgt_srcs empty.cpp)
+add_library(tgt \${tgt_srcs})
diff --git a/Tests/RunCMake/CMP0049/CMP0049-WARN-result.txt b/Tests/RunCMake/CMP0049/CMP0049-WARN-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0049/CMP0049-WARN-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0049/CMP0049-WARN-stderr.txt b/Tests/RunCMake/CMP0049/CMP0049-WARN-stderr.txt
new file mode 100644
index 0000000..0cf5ce3
--- /dev/null
+++ b/Tests/RunCMake/CMP0049/CMP0049-WARN-stderr.txt
@@ -0,0 +1,11 @@
+CMake Warning \(dev\) at CMP0049-WARN.cmake:3 \(add_library\):
+ Policy CMP0049 is not set: Do not expand variables in target source
+ entries. Run "cmake --help-policy CMP0049" for policy details. Use the
+ cmake_policy command to set the policy and suppress this warning.
+
+ Legacy variable expansion in source file "\${tgt_srcs}" expanded to
+ "empty.cpp" in target "tgt". This behavior will be removed in a future
+ version of CMake.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/CMP0049/CMP0049-WARN.cmake b/Tests/RunCMake/CMP0049/CMP0049-WARN.cmake
new file mode 100644
index 0000000..ada082e
--- /dev/null
+++ b/Tests/RunCMake/CMP0049/CMP0049-WARN.cmake
@@ -0,0 +1,3 @@
+
+set(tgt_srcs empty.cpp)
+add_library(tgt \${tgt_srcs})
diff --git a/Tests/RunCMake/CMP0049/CMakeLists.txt b/Tests/RunCMake/CMP0049/CMakeLists.txt
new file mode 100644
index 0000000..a06591c
--- /dev/null
+++ b/Tests/RunCMake/CMP0049/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.12)
+project(${RunCMake_TEST} CXX)
+include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/CMP0049/RunCMakeTest.cmake b/Tests/RunCMake/CMP0049/RunCMakeTest.cmake
new file mode 100644
index 0000000..a8aa9d9
--- /dev/null
+++ b/Tests/RunCMake/CMP0049/RunCMakeTest.cmake
@@ -0,0 +1,5 @@
+include(RunCMake)
+
+run_cmake(CMP0049-OLD)
+run_cmake(CMP0049-NEW)
+run_cmake(CMP0049-WARN)
diff --git a/Tests/RunCMake/CMP0049/empty.cpp b/Tests/RunCMake/CMP0049/empty.cpp
new file mode 100644
index 0000000..bfbbdde
--- /dev/null
+++ b/Tests/RunCMake/CMP0049/empty.cpp
@@ -0,0 +1,7 @@
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+int empty()
+{
+ return 0;
+}
diff --git a/Tests/RunCMake/CMP0050/CMP0050-NEW-result.txt b/Tests/RunCMake/CMP0050/CMP0050-NEW-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CMP0050/CMP0050-NEW-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CMP0050/CMP0050-NEW-stderr.txt b/Tests/RunCMake/CMP0050/CMP0050-NEW-stderr.txt
new file mode 100644
index 0000000..e913b3f
--- /dev/null
+++ b/Tests/RunCMake/CMP0050/CMP0050-NEW-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at CMP0050-NEW.cmake:5 \(add_custom_command\):
+ The SOURCE signatures of add_custom_command are no longer supported.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/CMP0050/CMP0050-NEW.cmake b/Tests/RunCMake/CMP0050/CMP0050-NEW.cmake
new file mode 100644
index 0000000..cdc65b8
--- /dev/null
+++ b/Tests/RunCMake/CMP0050/CMP0050-NEW.cmake
@@ -0,0 +1,13 @@
+
+cmake_policy(SET CMP0050 NEW)
+
+add_library(empty empty.cpp)
+add_custom_command(
+ TARGET empty
+ SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/input.h.in
+ COMMAND ${CMAKE_COMMAND}
+ ARGS -E copy ${CMAKE_CURRENT_SOURCE_DIR}/input.h.in
+ ${CMAKE_CURRENT_BINARY_DIR}/input.h
+ OUTPUTS ${CMAKE_CURRENT_BINARY_DIR}/input.h
+ DEPENDS ${CMAKE_COMMAND}
+)
diff --git a/Tests/RunCMake/CMP0050/CMP0050-OLD-result.txt b/Tests/RunCMake/CMP0050/CMP0050-OLD-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0050/CMP0050-OLD-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0050/CMP0050-OLD-stderr.txt b/Tests/RunCMake/CMP0050/CMP0050-OLD-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/CMP0050/CMP0050-OLD-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/CMP0050/CMP0050-OLD.cmake b/Tests/RunCMake/CMP0050/CMP0050-OLD.cmake
new file mode 100644
index 0000000..efb37e5
--- /dev/null
+++ b/Tests/RunCMake/CMP0050/CMP0050-OLD.cmake
@@ -0,0 +1,13 @@
+
+cmake_policy(SET CMP0050 OLD)
+
+add_library(empty empty.cpp)
+add_custom_command(
+ TARGET empty
+ SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/input.h.in
+ COMMAND ${CMAKE_COMMAND}
+ ARGS -E copy ${CMAKE_CURRENT_SOURCE_DIR}/input.h.in
+ ${CMAKE_CURRENT_BINARY_DIR}/input.h
+ OUTPUTS ${CMAKE_CURRENT_BINARY_DIR}/input.h
+ DEPENDS ${CMAKE_COMMAND}
+)
diff --git a/Tests/RunCMake/CMP0050/CMP0050-WARN-result.txt b/Tests/RunCMake/CMP0050/CMP0050-WARN-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CMP0050/CMP0050-WARN-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CMP0050/CMP0050-WARN-stderr.txt b/Tests/RunCMake/CMP0050/CMP0050-WARN-stderr.txt
new file mode 100644
index 0000000..c88d595
--- /dev/null
+++ b/Tests/RunCMake/CMP0050/CMP0050-WARN-stderr.txt
@@ -0,0 +1,9 @@
+CMake Warning \(dev\) at CMP0050-WARN.cmake:3 \(add_custom_command\):
+ Policy CMP0050 is not set: Disallow add_custom_command SOURCE signatures.
+ Run "cmake --help-policy CMP0050" for policy details. Use the cmake_policy
+ command to set the policy and suppress this warning.
+
+ The SOURCE signatures of add_custom_command are no longer supported.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/CMP0050/CMP0050-WARN.cmake b/Tests/RunCMake/CMP0050/CMP0050-WARN.cmake
new file mode 100644
index 0000000..e57230e
--- /dev/null
+++ b/Tests/RunCMake/CMP0050/CMP0050-WARN.cmake
@@ -0,0 +1,11 @@
+
+add_library(empty empty.cpp)
+add_custom_command(
+ TARGET empty
+ SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/input.h.in
+ COMMAND ${CMAKE_COMMAND}
+ ARGS -E copy ${CMAKE_CURRENT_SOURCE_DIR}/input.h.in
+ ${CMAKE_CURRENT_BINARY_DIR}/input.h
+ OUTPUTS ${CMAKE_CURRENT_BINARY_DIR}/input.h
+ DEPENDS ${CMAKE_COMMAND}
+)
diff --git a/Tests/RunCMake/CMP0050/CMakeLists.txt b/Tests/RunCMake/CMP0050/CMakeLists.txt
new file mode 100644
index 0000000..a06591c
--- /dev/null
+++ b/Tests/RunCMake/CMP0050/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.12)
+project(${RunCMake_TEST} CXX)
+include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/CMP0050/RunCMakeTest.cmake b/Tests/RunCMake/CMP0050/RunCMakeTest.cmake
new file mode 100644
index 0000000..b7de284
--- /dev/null
+++ b/Tests/RunCMake/CMP0050/RunCMakeTest.cmake
@@ -0,0 +1,5 @@
+include(RunCMake)
+
+run_cmake(CMP0050-OLD)
+run_cmake(CMP0050-NEW)
+run_cmake(CMP0050-WARN)
diff --git a/Tests/RunCMake/CMP0050/empty.cpp b/Tests/RunCMake/CMP0050/empty.cpp
new file mode 100644
index 0000000..182ea29
--- /dev/null
+++ b/Tests/RunCMake/CMP0050/empty.cpp
@@ -0,0 +1,10 @@
+
+#include "input.h"
+
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+int empty()
+{
+ return 0;
+}
diff --git a/Tests/RunCMake/CMP0050/input.h.in b/Tests/RunCMake/CMP0050/input.h.in
new file mode 100644
index 0000000..d8c5d26
--- /dev/null
+++ b/Tests/RunCMake/CMP0050/input.h.in
@@ -0,0 +1,2 @@
+
+#define INPUT
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt
index e45aba3..9bb097b 100644
--- a/Tests/RunCMake/CMakeLists.txt
+++ b/Tests/RunCMake/CMakeLists.txt
@@ -1,39 +1,4 @@
-# This directory contains tests that run CMake to configure a project
-# but do not actually build anything. To add a test:
-#
-# 1.) Add a subdirectory named for the test.
-#
-# 2.) Call add_RunCMake_test and pass the test directory name.
-#
-# 3.) Create a RunCMakeTest.cmake script in the directory containing
-# include(RunCMake)
-# run_cmake(SubTest1)
-# ...
-# run_cmake(SubTestN)
-# where SubTest1..SubTestN are sub-test names each corresponding to
-# an independent CMake run and project configuration.
-#
-# 3.) Create a CMakeLists.txt file in the directory containing
-# cmake_minimum_required(...)
-# project(${RunCMake_TEST} NONE) # or languages needed
-# include(${RunCMake_TEST}.cmake)
-# where "${RunCMake_TEST}" is literal. A value for RunCMake_TEST
-# will be passed to CMake by the run_cmake macro when running each
-# sub-test.
-#
-# 4.) Create a <SubTest>.cmake file for each sub-test named above
-# containing the actual test code. Optionally create files
-# containing expected test results:
-# <SubTest>-result.txt = Process result expected if not "0"
-# <SubTest>-stdout.txt = Regex matching expected stdout content
-# <SubTest>-stderr.txt = Regex matching expected stderr content
-# <SubTest>-check.cmake = Custom result check
-# Note that trailing newlines will be stripped from actual and expected test
-# output before matching against the stdout and stderr expressions.
-# The code in <SubTest>-check.cmake may use variables
-# RunCMake_TEST_SOURCE_DIR = Top of test source tree
-# RunCMake_TEST_BINARY_DIR = Top of test binary tree
-# and an failure must store a message in RunCMake_TEST_FAILED.
+# See adjacent README.rst for documentation of this test infrastructure.
macro(add_RunCMake_test test)
add_test(RunCMake.${test} ${CMAKE_CMAKE_COMMAND}
@@ -53,11 +18,29 @@ endif()
add_RunCMake_test(CMP0019)
add_RunCMake_test(CMP0022)
+add_RunCMake_test(CMP0026)
+add_RunCMake_test(CMP0027)
+add_RunCMake_test(CMP0028)
+add_RunCMake_test(CMP0037)
+add_RunCMake_test(CMP0038)
+add_RunCMake_test(CMP0039)
+add_RunCMake_test(CMP0040)
+add_RunCMake_test(CMP0041)
+if(CMAKE_SYSTEM_NAME MATCHES Darwin AND CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG)
+ add_RunCMake_test(CMP0042)
+endif()
+add_RunCMake_test(CMP0043)
+add_RunCMake_test(CMP0045)
+add_RunCMake_test(CMP0046)
+add_RunCMake_test(CMP0049)
+add_RunCMake_test(CMP0050)
add_RunCMake_test(CTest)
if(UNIX AND "${CMAKE_TEST_GENERATOR}" MATCHES "Unix Makefiles")
add_RunCMake_test(CompilerChange)
endif()
+add_RunCMake_test(CompilerNotFound)
add_RunCMake_test(Configure)
+add_RunCMake_test(DisallowedCommands)
add_RunCMake_test(ExternalData)
add_RunCMake_test(FPHSA)
add_RunCMake_test(GeneratorExpression)
@@ -84,22 +67,33 @@ if(NOT WIN32)
add_RunCMake_test(VisibilityPreset)
endif()
endif()
+if (QT4_FOUND)
+ set(CompatibleInterface_ARGS -DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE})
+endif()
add_RunCMake_test(CompatibleInterface)
add_RunCMake_test(Syntax)
add_RunCMake_test(add_dependencies)
add_RunCMake_test(build_command)
+add_RunCMake_test(export)
+add_RunCMake_test(cmake_minimum_required)
add_RunCMake_test(find_package)
add_RunCMake_test(get_filename_component)
add_RunCMake_test(if)
add_RunCMake_test(include)
add_RunCMake_test(include_directories)
add_RunCMake_test(list)
+add_RunCMake_test(message)
+add_RunCMake_test(project)
+add_RunCMake_test(string)
add_RunCMake_test(try_compile)
+add_RunCMake_test(set)
add_RunCMake_test(variable_watch)
add_RunCMake_test(CMP0004)
add_RunCMake_test(TargetPolicies)
add_RunCMake_test(alias_targets)
+add_RunCMake_test(interface_library)
+add_RunCMake_test(no_install_prefix)
find_package(Qt4 QUIET)
find_package(Qt5Core QUIET)
@@ -119,3 +113,7 @@ endif()
add_RunCMake_test(File_Generate)
add_RunCMake_test(ExportWithoutLanguage)
add_RunCMake_test(target_link_libraries)
+add_RunCMake_test(CheckModules)
+add_RunCMake_test(CommandLine)
+
+add_RunCMake_test(install)
diff --git a/Tests/RunCMake/CTest/BeforeProject-stderr.txt b/Tests/RunCMake/CTest/BeforeProject-stderr.txt
index 354896b..2d934a4 100644
--- a/Tests/RunCMake/CTest/BeforeProject-stderr.txt
+++ b/Tests/RunCMake/CTest/BeforeProject-stderr.txt
@@ -1,6 +1,6 @@
-CMake Error at .*/Modules/CTest.cmake:[0-9]+ \(build_command\):
- build_command\(\) requires CMAKE_MAKE_PROGRAM to be defined. Call project\(\)
- or enable_language\(\) first.
+CMake Error at .*/Modules/CTestTargets.cmake:20 \(message\):
+ Do not include\(CTest\) before calling project\(\).
Call Stack \(most recent call first\):
- BeforeProject.cmake:[0-9]+ \(include\)
- CMakeLists.txt:[0-9]+ \(include\)
+ .*/Modules/CTest.cmake:297 \(include\)
+ BeforeProject.cmake:1 \(include\)
+ CMakeLists.txt:5 \(include\)
diff --git a/Tests/RunCMake/CheckModules/CMakeLists.txt b/Tests/RunCMake/CheckModules/CMakeLists.txt
new file mode 100644
index 0000000..72abfc8
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.11)
+project(${RunCMake_TEST} NONE)
+include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/CheckModules/CheckStructHasMemberMissingKey-result.txt b/Tests/RunCMake/CheckModules/CheckStructHasMemberMissingKey-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckStructHasMemberMissingKey-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CheckModules/CheckStructHasMemberMissingKey-stderr.txt b/Tests/RunCMake/CheckModules/CheckStructHasMemberMissingKey-stderr.txt
new file mode 100644
index 0000000..1b8603a
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckStructHasMemberMissingKey-stderr.txt
@@ -0,0 +1,8 @@
+CMake Error at .*/Modules/CheckStructHasMember.cmake:[0-9]+. \(message\):
+ Unknown arguments:
+
+ C
+
+Call Stack \(most recent call first\):
+ CheckStructHasMemberMissingKey.cmake:[0-9]+ \(check_struct_has_member\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/CheckModules/CheckStructHasMemberMissingKey.cmake b/Tests/RunCMake/CheckModules/CheckStructHasMemberMissingKey.cmake
new file mode 100644
index 0000000..49f51ce
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckStructHasMemberMissingKey.cmake
@@ -0,0 +1,2 @@
+include(CheckStructHasMember)
+check_struct_has_member("struct timeval" tv_sec sys/select.h HAVE_TIMEVAL_TV_SEC_K C)
diff --git a/Tests/RunCMake/CheckModules/CheckStructHasMemberMissingLanguage-result.txt b/Tests/RunCMake/CheckModules/CheckStructHasMemberMissingLanguage-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckStructHasMemberMissingLanguage-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CheckModules/CheckStructHasMemberMissingLanguage-stderr.txt b/Tests/RunCMake/CheckModules/CheckStructHasMemberMissingLanguage-stderr.txt
new file mode 100644
index 0000000..8fceab0
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckStructHasMemberMissingLanguage-stderr.txt
@@ -0,0 +1,8 @@
+CMake Error at .*/Modules/CheckStructHasMember.cmake:[0-9]+. \(message\):
+ Unknown arguments:
+
+ LANGUAGE
+
+Call Stack \(most recent call first\):
+ CheckStructHasMemberMissingLanguage.cmake:[0-9]+ \(check_struct_has_member\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/CheckModules/CheckStructHasMemberMissingLanguage.cmake b/Tests/RunCMake/CheckModules/CheckStructHasMemberMissingLanguage.cmake
new file mode 100644
index 0000000..b404d66
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckStructHasMemberMissingLanguage.cmake
@@ -0,0 +1,2 @@
+include(CheckStructHasMember)
+check_struct_has_member("struct timeval" tv_sec sys/select.h HAVE_TIMEVAL_TV_SEC_K LANGUAGE)
diff --git a/Tests/RunCMake/CheckModules/CheckStructHasMemberOk.cmake b/Tests/RunCMake/CheckModules/CheckStructHasMemberOk.cmake
new file mode 100644
index 0000000..4c064c5
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckStructHasMemberOk.cmake
@@ -0,0 +1,6 @@
+enable_language(C)
+enable_language(CXX)
+include(CheckStructHasMember)
+check_struct_has_member("struct timeval" tv_sec sys/select.h HAVE_TIMEVAL_TV_SEC)
+check_struct_has_member("struct timeval" tv_sec sys/select.h HAVE_TIMEVAL_TV_SEC_C LANGUAGE C)
+check_struct_has_member("struct timeval" tv_sec sys/select.h HAVE_TIMEVAL_TV_SEC_CXX LANGUAGE CXX)
diff --git a/Tests/RunCMake/CheckModules/CheckStructHasMemberTooManyArguments-result.txt b/Tests/RunCMake/CheckModules/CheckStructHasMemberTooManyArguments-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckStructHasMemberTooManyArguments-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CheckModules/CheckStructHasMemberTooManyArguments-stderr.txt b/Tests/RunCMake/CheckModules/CheckStructHasMemberTooManyArguments-stderr.txt
new file mode 100644
index 0000000..4598867
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckStructHasMemberTooManyArguments-stderr.txt
@@ -0,0 +1,8 @@
+CMake Error at .*/Modules/CheckStructHasMember.cmake:[0-9]+. \(message\):
+ Unknown arguments:
+
+ LANGUAGE;C;CXX
+
+Call Stack \(most recent call first\):
+ CheckStructHasMemberTooManyArguments.cmake:[0-9]+ \(check_struct_has_member\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/CheckModules/CheckStructHasMemberTooManyArguments.cmake b/Tests/RunCMake/CheckModules/CheckStructHasMemberTooManyArguments.cmake
new file mode 100644
index 0000000..12f8158
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckStructHasMemberTooManyArguments.cmake
@@ -0,0 +1,2 @@
+include(CheckStructHasMember)
+check_struct_has_member("struct timeval" tv_sec sys/select.h HAVE_TIMEVAL_TV_SEC_K LANGUAGE C CXX)
diff --git a/Tests/RunCMake/CheckModules/CheckStructHasMemberUnknownLanguage-result.txt b/Tests/RunCMake/CheckModules/CheckStructHasMemberUnknownLanguage-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckStructHasMemberUnknownLanguage-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CheckModules/CheckStructHasMemberUnknownLanguage-stderr.txt b/Tests/RunCMake/CheckModules/CheckStructHasMemberUnknownLanguage-stderr.txt
new file mode 100644
index 0000000..ba9e313
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckStructHasMemberUnknownLanguage-stderr.txt
@@ -0,0 +1,10 @@
+CMake Error at .*/Modules/CheckStructHasMember.cmake:[0-9]+. \(message\):
+ Unknown language:
+
+ FORTRAN
+
+ Supported languages: C, CXX.
+
+Call Stack \(most recent call first\):
+ CheckStructHasMemberUnknownLanguage.cmake:[0-9]+ \(check_struct_has_member\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/CheckModules/CheckStructHasMemberUnknownLanguage.cmake b/Tests/RunCMake/CheckModules/CheckStructHasMemberUnknownLanguage.cmake
new file mode 100644
index 0000000..183058d
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckStructHasMemberUnknownLanguage.cmake
@@ -0,0 +1,2 @@
+include(CheckStructHasMember)
+check_struct_has_member("struct timeval" tv_sec sys/select.h HAVE_TIMEVAL_TV_SEC_K LANGUAGE FORTRAN)
diff --git a/Tests/RunCMake/CheckModules/CheckStructHasMemberWrongKey-result.txt b/Tests/RunCMake/CheckModules/CheckStructHasMemberWrongKey-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckStructHasMemberWrongKey-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CheckModules/CheckStructHasMemberWrongKey-stderr.txt b/Tests/RunCMake/CheckModules/CheckStructHasMemberWrongKey-stderr.txt
new file mode 100644
index 0000000..b9fbd38
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckStructHasMemberWrongKey-stderr.txt
@@ -0,0 +1,8 @@
+CMake Error at .*/Modules/CheckStructHasMember.cmake:[0-9]+. \(message\):
+ Unknown arguments:
+
+ LANGUAG;C
+
+Call Stack \(most recent call first\):
+ CheckStructHasMemberWrongKey.cmake:[0-9]+ \(check_struct_has_member\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/CheckModules/CheckStructHasMemberWrongKey.cmake b/Tests/RunCMake/CheckModules/CheckStructHasMemberWrongKey.cmake
new file mode 100644
index 0000000..900eb0a
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckStructHasMemberWrongKey.cmake
@@ -0,0 +1,2 @@
+include(CheckStructHasMember)
+check_struct_has_member("struct timeval" tv_sec sys/select.h HAVE_TIMEVAL_TV_SEC_K LANGUAG C)
diff --git a/Tests/RunCMake/CheckModules/CheckTypeSizeMissingLanguage-result.txt b/Tests/RunCMake/CheckModules/CheckTypeSizeMissingLanguage-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckTypeSizeMissingLanguage-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CheckModules/CheckTypeSizeMissingLanguage-stderr.txt b/Tests/RunCMake/CheckModules/CheckTypeSizeMissingLanguage-stderr.txt
new file mode 100644
index 0000000..07ec8e6
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckTypeSizeMissingLanguage-stderr.txt
@@ -0,0 +1,8 @@
+CMake Error at .*/Modules/CheckTypeSize.cmake:[0-9]+ \(message\):
+ Missing argument:
+
+ LANGUAGE arguments requires a value
+
+Call Stack \(most recent call first\):
+ CheckTypeSizeMissingLanguage.cmake:[0-9]+ \(check_type_size\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/CheckModules/CheckTypeSizeMissingLanguage.cmake b/Tests/RunCMake/CheckModules/CheckTypeSizeMissingLanguage.cmake
new file mode 100644
index 0000000..3fae6c4
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckTypeSizeMissingLanguage.cmake
@@ -0,0 +1,2 @@
+include(CheckTypeSize)
+check_type_size(int SIZEOF_INT LANGUAGE)
diff --git a/Tests/RunCMake/CheckModules/CheckTypeSizeMixedArgs-result.txt b/Tests/RunCMake/CheckModules/CheckTypeSizeMixedArgs-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckTypeSizeMixedArgs-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CheckModules/CheckTypeSizeMixedArgs-stderr.txt b/Tests/RunCMake/CheckModules/CheckTypeSizeMixedArgs-stderr.txt
new file mode 100644
index 0000000..a2d2fc0
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckTypeSizeMixedArgs-stderr.txt
@@ -0,0 +1,10 @@
+CMake Error at .*/Modules/CheckTypeSize.cmake:[0-9]+. \(message\):
+ Unknown language:
+
+ .
+
+ Supported languages: C, CXX.
+
+Call Stack \(most recent call first\):
+ CheckTypeSizeMixedArgs.cmake:[0-9]+ \(check_type_size\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/CheckModules/CheckTypeSizeMixedArgs.cmake b/Tests/RunCMake/CheckModules/CheckTypeSizeMixedArgs.cmake
new file mode 100644
index 0000000..d2ccc0f
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckTypeSizeMixedArgs.cmake
@@ -0,0 +1,2 @@
+include(CheckTypeSize)
+check_type_size(int SIZEOF_INT LANGUAGE BUILTIN_TYPES_ONLY)
diff --git a/Tests/RunCMake/CheckModules/CheckTypeSizeOk.cmake b/Tests/RunCMake/CheckModules/CheckTypeSizeOk.cmake
new file mode 100644
index 0000000..45a4978
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckTypeSizeOk.cmake
@@ -0,0 +1,12 @@
+enable_language(C)
+enable_language(CXX)
+include(CheckTypeSize)
+check_type_size(int SIZEOF_INT)
+check_type_size(int SIZEOF_INT BUILTIN_TYPES_ONLY)
+check_type_size(int SIZEOF_INT LANGUAGE C)
+check_type_size(int SIZEOF_INT LANGUAGE CXX)
+check_type_size(int SIZEOF_INT BUILTIN_TYPES_ONLY LANGUAGE C)
+
+# Weird but ok... only last value is considered
+check_type_size(int SIZEOF_INT BUILTIN_TYPES_ONLY BUILTIN_TYPES_ONLY)
+check_type_size(int SIZEOF_INT LANGUAGE C LANGUAGE CXX)
diff --git a/Tests/RunCMake/CheckModules/CheckTypeSizeUnknownArgument-result.txt b/Tests/RunCMake/CheckModules/CheckTypeSizeUnknownArgument-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckTypeSizeUnknownArgument-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CheckModules/CheckTypeSizeUnknownArgument-stderr.txt b/Tests/RunCMake/CheckModules/CheckTypeSizeUnknownArgument-stderr.txt
new file mode 100644
index 0000000..085488e
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckTypeSizeUnknownArgument-stderr.txt
@@ -0,0 +1,8 @@
+CMake Error at .*/Modules/CheckTypeSize.cmake:[0-9]+. \(message\):
+ Unknown argument:
+
+ LANGUAG
+
+Call Stack \(most recent call first\):
+ CheckTypeSizeUnknownArgument.cmake:[0-9]+ \(check_type_size\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/CheckModules/CheckTypeSizeUnknownArgument.cmake b/Tests/RunCMake/CheckModules/CheckTypeSizeUnknownArgument.cmake
new file mode 100644
index 0000000..6f24ee1
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckTypeSizeUnknownArgument.cmake
@@ -0,0 +1,2 @@
+include(CheckTypeSize)
+check_type_size(int SIZEOF_INT BUILTIN_TYPES_ONLY LANGUAG CXX)
diff --git a/Tests/RunCMake/CheckModules/CheckTypeSizeUnknownLanguage-result.txt b/Tests/RunCMake/CheckModules/CheckTypeSizeUnknownLanguage-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckTypeSizeUnknownLanguage-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CheckModules/CheckTypeSizeUnknownLanguage-stderr.txt b/Tests/RunCMake/CheckModules/CheckTypeSizeUnknownLanguage-stderr.txt
new file mode 100644
index 0000000..502a717
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckTypeSizeUnknownLanguage-stderr.txt
@@ -0,0 +1,10 @@
+CMake Error at .*/Modules/CheckTypeSize.cmake:[0-9]+. \(message\):
+ Unknown language:
+
+ FORTRAN.
+
+ Supported languages: C, CXX.
+
+Call Stack \(most recent call first\):
+ CheckTypeSizeUnknownLanguage.cmake:[0-9]+ \(check_type_size\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/CheckModules/CheckTypeSizeUnknownLanguage.cmake b/Tests/RunCMake/CheckModules/CheckTypeSizeUnknownLanguage.cmake
new file mode 100644
index 0000000..2d5184c
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/CheckTypeSizeUnknownLanguage.cmake
@@ -0,0 +1,2 @@
+include(CheckTypeSize)
+check_type_size(int SIZEOF_INT LANGUAGE FORTRAN)
diff --git a/Tests/RunCMake/CheckModules/RunCMakeTest.cmake b/Tests/RunCMake/CheckModules/RunCMakeTest.cmake
new file mode 100644
index 0000000..fda7ebf
--- /dev/null
+++ b/Tests/RunCMake/CheckModules/RunCMakeTest.cmake
@@ -0,0 +1,14 @@
+include(RunCMake)
+
+run_cmake(CheckStructHasMemberOk)
+run_cmake(CheckStructHasMemberUnknownLanguage)
+run_cmake(CheckStructHasMemberMissingLanguage)
+run_cmake(CheckStructHasMemberMissingKey)
+run_cmake(CheckStructHasMemberTooManyArguments)
+run_cmake(CheckStructHasMemberWrongKey)
+
+run_cmake(CheckTypeSizeOk)
+run_cmake(CheckTypeSizeUnknownLanguage)
+run_cmake(CheckTypeSizeMissingLanguage)
+run_cmake(CheckTypeSizeUnknownArgument)
+run_cmake(CheckTypeSizeMixedArgs)
diff --git a/Tests/RunCMake/CommandLine/E_create_symlink-broken-create-check.cmake b/Tests/RunCMake/CommandLine/E_create_symlink-broken-create-check.cmake
new file mode 100644
index 0000000..d7e652d
--- /dev/null
+++ b/Tests/RunCMake/CommandLine/E_create_symlink-broken-create-check.cmake
@@ -0,0 +1,6 @@
+if(NOT IS_SYMLINK ${RunCMake_TEST_BINARY_DIR}/L)
+ set(RunCMake_TEST_FAILED "Symlink 'L' incorrectly not created!")
+endif()
+if(EXISTS ${RunCMake_TEST_BINARY_DIR}/L)
+ set(RunCMake_TEST_FAILED "Symlink 'L' not broken!")
+endif()
diff --git a/Tests/RunCMake/CommandLine/E_create_symlink-broken-replace-check.cmake b/Tests/RunCMake/CommandLine/E_create_symlink-broken-replace-check.cmake
new file mode 100644
index 0000000..c078ae8
--- /dev/null
+++ b/Tests/RunCMake/CommandLine/E_create_symlink-broken-replace-check.cmake
@@ -0,0 +1,3 @@
+if(NOT IS_DIRECTORY ${RunCMake_TEST_BINARY_DIR}/L)
+ set(RunCMake_TEST_FAILED "Symlink 'L' not replaced correctly!")
+endif()
diff --git a/Tests/RunCMake/CommandLine/E_create_symlink-missing-dir-result.txt b/Tests/RunCMake/CommandLine/E_create_symlink-missing-dir-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CommandLine/E_create_symlink-missing-dir-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CommandLine/E_create_symlink-missing-dir-stderr.txt b/Tests/RunCMake/CommandLine/E_create_symlink-missing-dir-stderr.txt
new file mode 100644
index 0000000..7a6d84b
--- /dev/null
+++ b/Tests/RunCMake/CommandLine/E_create_symlink-missing-dir-stderr.txt
@@ -0,0 +1 @@
+failed to create symbolic link 'missing-dir/L':
diff --git a/Tests/RunCMake/CommandLine/E_create_symlink-no-replace-dir-result.txt b/Tests/RunCMake/CommandLine/E_create_symlink-no-replace-dir-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CommandLine/E_create_symlink-no-replace-dir-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CommandLine/E_create_symlink-no-replace-dir-stderr.txt b/Tests/RunCMake/CommandLine/E_create_symlink-no-replace-dir-stderr.txt
new file mode 100644
index 0000000..ebed0d6
--- /dev/null
+++ b/Tests/RunCMake/CommandLine/E_create_symlink-no-replace-dir-stderr.txt
@@ -0,0 +1 @@
+failed to create symbolic link '\.' because existing path cannot be removed:
diff --git a/Tests/RunCMake/CommandLine/E_sleep-bad-arg1-result.txt b/Tests/RunCMake/CommandLine/E_sleep-bad-arg1-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CommandLine/E_sleep-bad-arg1-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CommandLine/E_sleep-bad-arg1-stderr.txt b/Tests/RunCMake/CommandLine/E_sleep-bad-arg1-stderr.txt
new file mode 100644
index 0000000..45e6ebc
--- /dev/null
+++ b/Tests/RunCMake/CommandLine/E_sleep-bad-arg1-stderr.txt
@@ -0,0 +1 @@
+^Unknown sleep time format "x"\.$
diff --git a/Tests/RunCMake/CommandLine/E_sleep-bad-arg2-result.txt b/Tests/RunCMake/CommandLine/E_sleep-bad-arg2-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CommandLine/E_sleep-bad-arg2-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CommandLine/E_sleep-bad-arg2-stderr.txt b/Tests/RunCMake/CommandLine/E_sleep-bad-arg2-stderr.txt
new file mode 100644
index 0000000..399d47f
--- /dev/null
+++ b/Tests/RunCMake/CommandLine/E_sleep-bad-arg2-stderr.txt
@@ -0,0 +1 @@
+^Unknown sleep time format "-1"\.$
diff --git a/Tests/RunCMake/CommandLine/E_sleep-no-args-result.txt b/Tests/RunCMake/CommandLine/E_sleep-no-args-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CommandLine/E_sleep-no-args-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CommandLine/E_sleep-no-args-stderr.cmake b/Tests/RunCMake/CommandLine/E_sleep-no-args-stderr.cmake
new file mode 100644
index 0000000..977f1ef
--- /dev/null
+++ b/Tests/RunCMake/CommandLine/E_sleep-no-args-stderr.cmake
@@ -0,0 +1,2 @@
+Usage: .*/cmake -E \[command\] \[arguments \.\.\.\]
+Available commands:
diff --git a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake
new file mode 100644
index 0000000..ada4cab
--- /dev/null
+++ b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake
@@ -0,0 +1,30 @@
+include(RunCMake)
+
+if(UNIX)
+ run_cmake_command(E_create_symlink-missing-dir
+ ${CMAKE_COMMAND} -E create_symlink T missing-dir/L
+ )
+
+ # Use a single build tree for a few tests without cleaning.
+ set(RunCMake_TEST_BINARY_DIR
+ ${RunCMake_BINARY_DIR}/E_create_symlink-broken-build)
+ set(RunCMake_TEST_NO_CLEAN 1)
+ file(REMOVE_RECURSE "${RunCMake_TEST_BINARY_DIR}")
+ run_cmake_command(E_create_symlink-broken-create
+ ${CMAKE_COMMAND} -E create_symlink T L
+ )
+ run_cmake_command(E_create_symlink-broken-replace
+ ${CMAKE_COMMAND} -E create_symlink . L
+ )
+ unset(RunCMake_TEST_BINARY_DIR)
+ unset(RunCMake_TEST_NO_CLEAN)
+
+ run_cmake_command(E_create_symlink-no-replace-dir
+ ${CMAKE_COMMAND} -E create_symlink T .
+ )
+endif()
+
+run_cmake_command(E_sleep-no-args ${CMAKE_COMMAND} -E sleep)
+run_cmake_command(E_sleep-bad-arg1 ${CMAKE_COMMAND} -E sleep x)
+run_cmake_command(E_sleep-bad-arg2 ${CMAKE_COMMAND} -E sleep 1 -1)
+run_cmake_command(E_sleep-one-tenth ${CMAKE_COMMAND} -E sleep 0.1)
diff --git a/Tests/RunCMake/CompatibleInterface/AutoUic-result.txt b/Tests/RunCMake/CompatibleInterface/AutoUic-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CompatibleInterface/AutoUic-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CompatibleInterface/AutoUic-stderr.txt b/Tests/RunCMake/CompatibleInterface/AutoUic-stderr.txt
new file mode 100644
index 0000000..09f9461
--- /dev/null
+++ b/Tests/RunCMake/CompatibleInterface/AutoUic-stderr.txt
@@ -0,0 +1,11 @@
+CMake Error: The INTERFACE_AUTOUIC_OPTIONS property of "OtherI18n" does
+not agree with the value of AUTOUIC_OPTIONS already determined
+for "LibWidget".
+
+CMake Debug Log:
+ String compatibility of property "AUTOUIC_OPTIONS" for target "LibWidget"
+ \(result: "-tr;ki18n"\):
+
+ \* Target "LibWidget" property not set.
+ \* Target "KI18n" property value "-tr;ki18n" \(Interface set\)
+ \* Target "OtherI18n" property value "-tr;otheri18n" \(Disagree\)
diff --git a/Tests/RunCMake/CompatibleInterface/AutoUic.cmake b/Tests/RunCMake/CompatibleInterface/AutoUic.cmake
new file mode 100644
index 0000000..03635e2
--- /dev/null
+++ b/Tests/RunCMake/CompatibleInterface/AutoUic.cmake
@@ -0,0 +1,19 @@
+
+find_package(Qt4 REQUIRED)
+
+set(CMAKE_AUTOUIC ON)
+
+set(CMAKE_DEBUG_TARGET_PROPERTIES AUTOUIC_OPTIONS)
+
+add_library(KI18n INTERFACE)
+set_property(TARGET KI18n APPEND PROPERTY
+ INTERFACE_AUTOUIC_OPTIONS -tr ki18n
+)
+
+add_library(OtherI18n INTERFACE)
+set_property(TARGET OtherI18n APPEND PROPERTY
+ INTERFACE_AUTOUIC_OPTIONS -tr otheri18n
+)
+
+add_library(LibWidget empty.cpp)
+target_link_libraries(LibWidget KI18n OtherI18n Qt4::QtGui)
diff --git a/Tests/RunCMake/CompatibleInterface/DebugProperties-result.txt b/Tests/RunCMake/CompatibleInterface/DebugProperties-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/CompatibleInterface/DebugProperties-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/CompatibleInterface/DebugProperties-stderr.txt b/Tests/RunCMake/CompatibleInterface/DebugProperties-stderr.txt
new file mode 100644
index 0000000..17b8a5c
--- /dev/null
+++ b/Tests/RunCMake/CompatibleInterface/DebugProperties-stderr.txt
@@ -0,0 +1,101 @@
+CMake Debug Log:
+ Boolean compatibility of property "BOOL_PROP1" for target
+ "CompatibleInterface" \(result: "TRUE"\):
+
+ \* Target "CompatibleInterface" property not set.
+ \* Target "iface1" property value "TRUE" \(Interface set\)
++
+CMake Debug Log:
+ Boolean compatibility of property "BOOL_PROP2" for target
+ "CompatibleInterface" \(result: "TRUE"\):
+
+ \* Target "CompatibleInterface" has property content "TRUE"
+ \* Target "iface1" property value "TRUE" \(Agree\)
++
+CMake Debug Log:
+ Boolean compatibility of property "BOOL_PROP3" for target
+ "CompatibleInterface" \(result: "TRUE"\):
+
+ \* Target "CompatibleInterface" has property content "TRUE"
++
+CMake Debug Log:
+ Boolean compatibility of property "BOOL_PROP4" for target
+ "CompatibleInterface" \(result: "FALSE"\):
+
+ \* Target "CompatibleInterface" property not set.
++
+CMake Debug Log:
+ Boolean compatibility of property "BOOL_PROP5" for target
+ "CompatibleInterface" \(result: "FALSE"\):
+
+ \* Target "CompatibleInterface" property not set.
+ \* Target "iface1" property value "FALSE" \(Interface set\)
++
+CMake Debug Log:
+ Boolean compatibility of property "BOOL_PROP6" for target
+ "CompatibleInterface" \(result: "FALSE"\):
+
+ \* Target "CompatibleInterface" property not set.
+ \* Target "iface1" property value "FALSE" \(Interface set\)
+ \* Target "iface2" property value "FALSE" \(Agree\)
++
+CMake Debug Log:
+ Boolean compatibility of property "BOOL_PROP7" for target
+ "CompatibleInterface" \(result: "FALSE"\):
+
+ \* Target "CompatibleInterface" property is implied by use.
+ \* Target "iface1" property value "FALSE" \(Agree\)
++
+CMake Debug Log:
+ String compatibility of property "STRING_PROP1" for target
+ "CompatibleInterface" \(result: "prop1"\):
+
+ \* Target "CompatibleInterface" property not set.
+ \* Target "iface1" property value "prop1" \(Interface set\)
++
+CMake Debug Log:
+ String compatibility of property "STRING_PROP2" for target
+ "CompatibleInterface" \(result: "prop2"\):
+
+ \* Target "CompatibleInterface" has property content "prop2"
+ \* Target "iface1" property value "prop2" \(Agree\)
++
+CMake Debug Log:
+ String compatibility of property "STRING_PROP3" for target
+ "CompatibleInterface" \(result: "prop3"\):
+
+ \* Target "CompatibleInterface" has property content "prop3"
++
+CMake Debug Log:
+ String compatibility of property "STRING_PROP4" for target
+ "CompatibleInterface" \(result: "\(unset\)"\):
+
+ \* Target "CompatibleInterface" property not set.
++
+CMake Debug Log:
+ Numeric minimum compatibility of property "NUMBER_MIN_PROP1" for target
+ "CompatibleInterface" \(result: "50"\):
+
+ \* Target "CompatibleInterface" has property content "50"
+ \* Target "iface1" property value "100" \(Ignored\)
++
+CMake Debug Log:
+ Numeric minimum compatibility of property "NUMBER_MIN_PROP2" for target
+ "CompatibleInterface" \(result: "200"\):
+
+ \* Target "CompatibleInterface" has property content "250"
+ \* Target "iface1" property value "200" \(Dominant\)
++
+CMake Debug Log:
+ Numeric maximum compatibility of property "NUMBER_MAX_PROP1" for target
+ "CompatibleInterface" \(result: "100"\):
+
+ \* Target "CompatibleInterface" has property content "50"
+ \* Target "iface1" property value "100" \(Dominant\)
++
+CMake Debug Log:
+ Numeric maximum compatibility of property "NUMBER_MAX_PROP2" for target
+ "CompatibleInterface" \(result: "250"\):
+
+ \* Target "CompatibleInterface" has property content "250"
+ \* Target "iface1" property value "200" \(Ignored\)
diff --git a/Tests/RunCMake/CompatibleInterface/DebugProperties.cmake b/Tests/RunCMake/CompatibleInterface/DebugProperties.cmake
new file mode 100644
index 0000000..0196611
--- /dev/null
+++ b/Tests/RunCMake/CompatibleInterface/DebugProperties.cmake
@@ -0,0 +1,74 @@
+
+cmake_minimum_required(VERSION 2.8)
+
+project(CompatibleInterface)
+
+include(GenerateExportHeader)
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+add_library(iface1 INTERFACE)
+set_property(TARGET iface1 APPEND PROPERTY
+ COMPATIBLE_INTERFACE_BOOL
+ BOOL_PROP1
+ BOOL_PROP2
+ BOOL_PROP3
+ BOOL_PROP4
+ BOOL_PROP5
+ BOOL_PROP6
+ BOOL_PROP7
+)
+set_property(TARGET iface1 APPEND PROPERTY
+ COMPATIBLE_INTERFACE_STRING
+ STRING_PROP1
+ STRING_PROP2
+ STRING_PROP3
+ STRING_PROP4 # Not set.
+)
+set_property(TARGET iface1 APPEND PROPERTY
+ COMPATIBLE_INTERFACE_NUMBER_MIN
+ NUMBER_MIN_PROP1
+ NUMBER_MIN_PROP2
+)
+set_property(TARGET iface1 APPEND PROPERTY
+ COMPATIBLE_INTERFACE_NUMBER_MAX
+ NUMBER_MAX_PROP1
+ NUMBER_MAX_PROP2
+)
+
+set(CMAKE_DEBUG_TARGET_PROPERTIES
+ BOOL_PROP1 BOOL_PROP2 BOOL_PROP3 BOOL_PROP4 BOOL_PROP5 BOOL_PROP6 BOOL_PROP7
+ STRING_PROP1 STRING_PROP2 STRING_PROP3 STRING_PROP4
+ NUMBER_MIN_PROP1 NUMBER_MIN_PROP2
+ NUMBER_MAX_PROP1 NUMBER_MAX_PROP2
+)
+
+set_property(TARGET iface1 PROPERTY INTERFACE_BOOL_PROP1 ON)
+set_property(TARGET iface1 PROPERTY INTERFACE_BOOL_PROP2 ON)
+set_property(TARGET iface1 PROPERTY INTERFACE_BOOL_PROP5 OFF)
+set_property(TARGET iface1 PROPERTY INTERFACE_BOOL_PROP6 OFF)
+set_property(TARGET iface1 PROPERTY INTERFACE_BOOL_PROP7 OFF)
+set_property(TARGET iface1 PROPERTY INTERFACE_STRING_PROP1 prop1)
+set_property(TARGET iface1 PROPERTY INTERFACE_STRING_PROP2 prop2)
+set_property(TARGET iface1 PROPERTY INTERFACE_NUMBER_MIN_PROP1 100)
+set_property(TARGET iface1 PROPERTY INTERFACE_NUMBER_MIN_PROP2 200)
+set_property(TARGET iface1 PROPERTY INTERFACE_NUMBER_MAX_PROP1 100)
+set_property(TARGET iface1 PROPERTY INTERFACE_NUMBER_MAX_PROP2 200)
+
+add_library(iface2 INTERFACE)
+set_property(TARGET iface2 PROPERTY INTERFACE_BOOL_PROP6 OFF)
+
+add_library(iface3 INTERFACE)
+
+add_executable(CompatibleInterface empty.cpp)
+target_link_libraries(CompatibleInterface iface1 iface2
+ $<$<BOOL:$<TARGET_PROPERTY:BOOL_PROP7>>:iface3>
+)
+
+set_property(TARGET CompatibleInterface PROPERTY BOOL_PROP2 ON)
+set_property(TARGET CompatibleInterface PROPERTY BOOL_PROP3 ON)
+set_property(TARGET CompatibleInterface PROPERTY STRING_PROP2 prop2)
+set_property(TARGET CompatibleInterface PROPERTY STRING_PROP3 prop3)
+set_property(TARGET CompatibleInterface PROPERTY NUMBER_MIN_PROP1 50)
+set_property(TARGET CompatibleInterface PROPERTY NUMBER_MIN_PROP2 250)
+set_property(TARGET CompatibleInterface PROPERTY NUMBER_MAX_PROP1 50)
+set_property(TARGET CompatibleInterface PROPERTY NUMBER_MAX_PROP2 250)
diff --git a/Tests/RunCMake/CompatibleInterface/InterfaceNumber-mismatched-use-result.txt b/Tests/RunCMake/CompatibleInterface/InterfaceNumber-mismatched-use-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CompatibleInterface/InterfaceNumber-mismatched-use-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CompatibleInterface/InterfaceNumber-mismatched-use-stderr.txt b/Tests/RunCMake/CompatibleInterface/InterfaceNumber-mismatched-use-stderr.txt
new file mode 100644
index 0000000..723daec
--- /dev/null
+++ b/Tests/RunCMake/CompatibleInterface/InterfaceNumber-mismatched-use-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error: Property SOMEPROP on target "user" is
+implied to be empty because it was used to determine the link libraries
+already. The INTERFACE_SOMEPROP property on
+dependency "foo" is in conflict.
diff --git a/Tests/RunCMake/CompatibleInterface/InterfaceNumber-mismatched-use.cmake b/Tests/RunCMake/CompatibleInterface/InterfaceNumber-mismatched-use.cmake
new file mode 100644
index 0000000..a064d76
--- /dev/null
+++ b/Tests/RunCMake/CompatibleInterface/InterfaceNumber-mismatched-use.cmake
@@ -0,0 +1,9 @@
+
+add_library(foo UNKNOWN IMPORTED)
+add_library(bar UNKNOWN IMPORTED)
+
+set_property(TARGET foo APPEND PROPERTY COMPATIBLE_INTERFACE_NUMBER_MIN SOMEPROP)
+set_property(TARGET foo PROPERTY INTERFACE_SOMEPROP 42)
+
+add_executable(user main.cpp)
+target_link_libraries(user foo $<$<STREQUAL:$<TARGET_PROPERTY:SOMEPROP>,42>:bar>)
diff --git a/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Conflict-stderr.txt b/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Conflict-stderr.txt
index 5a8f99d..900e3f8 100644
--- a/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Conflict-stderr.txt
+++ b/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Conflict-stderr.txt
@@ -2,4 +2,5 @@ CMake Error in CMakeLists.txt:
Property "SOMETHING" appears in both the COMPATIBLE_INTERFACE_BOOL and the
COMPATIBLE_INTERFACE_STRING property in the dependencies of target "user".
This is not allowed. A property may only require compatibility in a
- boolean interpretation or a string interpretation, but not both.
+ boolean interpretation, a numeric minimum, a numeric maximum or a string
+ interpretation, but not a mixture.
diff --git a/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Conflict.cmake b/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Conflict.cmake
index 711368a..4bae804 100644
--- a/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Conflict.cmake
+++ b/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Conflict.cmake
@@ -1,9 +1,8 @@
add_library(foo UNKNOWN IMPORTED)
-add_library(bar UNKNOWN IMPORTED)
set_property(TARGET foo APPEND PROPERTY COMPATIBLE_INTERFACE_BOOL SOMETHING)
set_property(TARGET foo APPEND PROPERTY COMPATIBLE_INTERFACE_STRING SOMETHING)
add_executable(user main.cpp)
-target_link_libraries(user foo bar)
+target_link_libraries(user foo)
diff --git a/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Min-Conflict-result.txt b/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Min-Conflict-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Min-Conflict-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Min-Conflict-stderr.txt b/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Min-Conflict-stderr.txt
new file mode 100644
index 0000000..2cfbae4
--- /dev/null
+++ b/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Min-Conflict-stderr.txt
@@ -0,0 +1,7 @@
+CMake Error in CMakeLists.txt:
+ Property "OTHER" appears in both the COMPATIBLE_INTERFACE_BOOL,
+ COMPATIBLE_INTERFACE_NUMBER_MIN and the COMPATIBLE_INTERFACE_STRING
+ property in the dependencies of target "user". This is not allowed. A
+ property may only require compatibility in a boolean interpretation, a
+ numeric minimum, a numeric maximum or a string interpretation, but not a
+ mixture.
diff --git a/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Min-Conflict.cmake b/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Min-Conflict.cmake
new file mode 100644
index 0000000..164ffd9
--- /dev/null
+++ b/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Min-Conflict.cmake
@@ -0,0 +1,9 @@
+
+add_library(foo UNKNOWN IMPORTED)
+
+set_property(TARGET foo APPEND PROPERTY COMPATIBLE_INTERFACE_BOOL OTHER)
+set_property(TARGET foo APPEND PROPERTY COMPATIBLE_INTERFACE_STRING OTHER)
+set_property(TARGET foo APPEND PROPERTY COMPATIBLE_INTERFACE_NUMBER_MIN OTHER)
+
+add_executable(user main.cpp)
+target_link_libraries(user foo)
diff --git a/Tests/RunCMake/CompatibleInterface/RunCMakeTest.cmake b/Tests/RunCMake/CompatibleInterface/RunCMakeTest.cmake
index 9768151..0b9729b 100644
--- a/Tests/RunCMake/CompatibleInterface/RunCMakeTest.cmake
+++ b/Tests/RunCMake/CompatibleInterface/RunCMakeTest.cmake
@@ -7,5 +7,13 @@ run_cmake(InterfaceBool-builtin-prop)
run_cmake(InterfaceString-mismatch-depends)
run_cmake(InterfaceString-mismatch-depend-self)
run_cmake(InterfaceString-mismatched-use)
+run_cmake(InterfaceNumber-mismatched-use)
run_cmake(InterfaceString-builtin-prop)
run_cmake(InterfaceString-Bool-Conflict)
+run_cmake(InterfaceString-Bool-Min-Conflict)
+run_cmake(DebugProperties)
+
+if (QT_QMAKE_EXECUTABLE})
+ set(RunCMake_TEST_OPTIONS -DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE})
+ run_cmake(AutoUic)
+endif()
diff --git a/Tests/RunCMake/CompatibleInterface/empty.cpp b/Tests/RunCMake/CompatibleInterface/empty.cpp
new file mode 100644
index 0000000..0032329
--- /dev/null
+++ b/Tests/RunCMake/CompatibleInterface/empty.cpp
@@ -0,0 +1 @@
+// no content
diff --git a/Tests/RunCMake/CompilerChange/EmptyCompiler-override.cmake b/Tests/RunCMake/CompilerChange/EmptyCompiler-override.cmake
new file mode 100644
index 0000000..28d29e0
--- /dev/null
+++ b/Tests/RunCMake/CompilerChange/EmptyCompiler-override.cmake
@@ -0,0 +1,2 @@
+message(STATUS "CMAKE_C_COMPILER is \"${CMAKE_C_COMPILER}\"")
+file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/cc.cmake" "set(CMAKE_C_COMPILER \"${CMAKE_C_COMPILER}\")\n")
diff --git a/Tests/RunCMake/CompilerChange/EmptyCompiler-stderr.txt b/Tests/RunCMake/CompilerChange/EmptyCompiler-stderr.txt
index 4745b25..cf3b1b3 100644
--- a/Tests/RunCMake/CompilerChange/EmptyCompiler-stderr.txt
+++ b/Tests/RunCMake/CompilerChange/EmptyCompiler-stderr.txt
@@ -1,5 +1,13 @@
You have changed variables that require your cache to be deleted.
Configure will be re-run and you may have to reset some variables.
The following variables have changed:
-CMAKE_C_COMPILER= *(
-|$)
+CMAKE_C_COMPILER= *
++
+CMake Error at EmptyCompiler.cmake:2 \(enable_language\):
+ No CMAKE_C_COMPILER could be found.
+
+ Tell CMake where to find the compiler by setting either the environment
+ variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
+ the compiler, or to the compiler name if it is in the PATH.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:6 \(include\)$
diff --git a/Tests/RunCMake/CompilerChange/EmptyCompiler.cmake b/Tests/RunCMake/CompilerChange/EmptyCompiler.cmake
index c87ec49..06e9e03 100644
--- a/Tests/RunCMake/CompilerChange/EmptyCompiler.cmake
+++ b/Tests/RunCMake/CompilerChange/EmptyCompiler.cmake
@@ -1,3 +1,2 @@
+set(CMAKE_USER_MAKE_RULES_OVERRIDE_C ${CMAKE_CURRENT_LIST_DIR}/EmptyCompiler-override.cmake)
enable_language(C)
-message(STATUS "CMAKE_C_COMPILER is \"${CMAKE_C_COMPILER}\"")
-file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/cc.cmake" "set(CMAKE_C_COMPILER \"${CMAKE_C_COMPILER}\")\n")
diff --git a/Tests/RunCMake/CompilerChange/RunCMakeTest.cmake b/Tests/RunCMake/CompilerChange/RunCMakeTest.cmake
index d383716..5bb2821 100644
--- a/Tests/RunCMake/CompilerChange/RunCMakeTest.cmake
+++ b/Tests/RunCMake/CompilerChange/RunCMakeTest.cmake
@@ -22,8 +22,8 @@ set(ccIn ${RunCMake_SOURCE_DIR}/cc.sh.in)
set(cc1 ${RunCMake_BINARY_DIR}/cc1.sh)
set(cc2 ${RunCMake_BINARY_DIR}/cc2.sh)
set(cc3 CMAKE_C_COMPILER-NOTFOUND)
-configure_file(${ccIn} ${cc1} @ONLY IMMEDIATE)
-configure_file(${ccIn} ${cc2} @ONLY IMMEDIATE)
+configure_file(${ccIn} ${cc1} @ONLY)
+configure_file(${ccIn} ${cc2} @ONLY)
# Use a single build tree for remaining tests without cleaning.
set(RunCMake_TEST_BINARY_DIR ${RunCMake_BINARY_DIR}/ChangeCompiler-build)
diff --git a/Tests/RunCMake/CompilerNotFound/BadCompilerC-result.txt b/Tests/RunCMake/CompilerNotFound/BadCompilerC-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CompilerNotFound/BadCompilerC-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CompilerNotFound/BadCompilerC-stderr.txt b/Tests/RunCMake/CompilerNotFound/BadCompilerC-stderr.txt
new file mode 100644
index 0000000..c98842d
--- /dev/null
+++ b/Tests/RunCMake/CompilerNotFound/BadCompilerC-stderr.txt
@@ -0,0 +1,12 @@
+CMake Error at BadCompilerC.cmake:2 \(enable_language\):
+ The CMAKE_C_COMPILER:
+
+ no-C-compiler
+
+ is not a full path and was not found in the PATH.
+
+ Tell CMake where to find the compiler by setting either the environment
+ variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
+ the compiler, or to the compiler name if it is in the PATH.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)$
diff --git a/Tests/RunCMake/CompilerNotFound/BadCompilerC.cmake b/Tests/RunCMake/CompilerNotFound/BadCompilerC.cmake
new file mode 100644
index 0000000..10fe59a
--- /dev/null
+++ b/Tests/RunCMake/CompilerNotFound/BadCompilerC.cmake
@@ -0,0 +1,3 @@
+set(CMAKE_C_COMPILER "no-C-compiler")
+enable_language(C)
+message(FATAL_ERROR "This error should not be reached.")
diff --git a/Tests/RunCMake/CompilerNotFound/BadCompilerCXX-result.txt b/Tests/RunCMake/CompilerNotFound/BadCompilerCXX-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CompilerNotFound/BadCompilerCXX-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CompilerNotFound/BadCompilerCXX-stderr.txt b/Tests/RunCMake/CompilerNotFound/BadCompilerCXX-stderr.txt
new file mode 100644
index 0000000..7ef4f5e
--- /dev/null
+++ b/Tests/RunCMake/CompilerNotFound/BadCompilerCXX-stderr.txt
@@ -0,0 +1,12 @@
+CMake Error at BadCompilerCXX.cmake:2 \(enable_language\):
+ The CMAKE_CXX_COMPILER:
+
+ no-CXX-compiler
+
+ is not a full path and was not found in the PATH.
+
+ Tell CMake where to find the compiler by setting either the environment
+ variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
+ to the compiler, or to the compiler name if it is in the PATH.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)$
diff --git a/Tests/RunCMake/CompilerNotFound/BadCompilerCXX.cmake b/Tests/RunCMake/CompilerNotFound/BadCompilerCXX.cmake
new file mode 100644
index 0000000..3b1e890
--- /dev/null
+++ b/Tests/RunCMake/CompilerNotFound/BadCompilerCXX.cmake
@@ -0,0 +1,3 @@
+set(CMAKE_CXX_COMPILER "no-CXX-compiler")
+enable_language(CXX)
+message(FATAL_ERROR "This error should not be reached.")
diff --git a/Tests/RunCMake/CompilerNotFound/BadCompilerCandCXX-result.txt b/Tests/RunCMake/CompilerNotFound/BadCompilerCandCXX-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CompilerNotFound/BadCompilerCandCXX-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CompilerNotFound/BadCompilerCandCXX-stderr.txt b/Tests/RunCMake/CompilerNotFound/BadCompilerCandCXX-stderr.txt
new file mode 100644
index 0000000..eecff54
--- /dev/null
+++ b/Tests/RunCMake/CompilerNotFound/BadCompilerCandCXX-stderr.txt
@@ -0,0 +1,25 @@
+CMake Error at BadCompilerCandCXX.cmake:3 \(project\):
+ The CMAKE_C_COMPILER:
+
+ no-C-compiler
+
+ is not a full path and was not found in the PATH.
+
+ Tell CMake where to find the compiler by setting either the environment
+ variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
+ the compiler, or to the compiler name if it is in the PATH.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at BadCompilerCandCXX.cmake:3 \(project\):
+ The CMAKE_CXX_COMPILER:
+
+ no-CXX-compiler
+
+ is not a full path and was not found in the PATH.
+
+ Tell CMake where to find the compiler by setting either the environment
+ variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
+ to the compiler, or to the compiler name if it is in the PATH.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)$
diff --git a/Tests/RunCMake/CompilerNotFound/BadCompilerCandCXX.cmake b/Tests/RunCMake/CompilerNotFound/BadCompilerCandCXX.cmake
new file mode 100644
index 0000000..2b6fa61
--- /dev/null
+++ b/Tests/RunCMake/CompilerNotFound/BadCompilerCandCXX.cmake
@@ -0,0 +1,4 @@
+set(CMAKE_C_COMPILER "no-C-compiler")
+set(CMAKE_CXX_COMPILER "no-CXX-compiler")
+project(BadCompilerCandCXXInner C CXX)
+message(FATAL_ERROR "This error should not be reached.")
diff --git a/Tests/RunCMake/CompilerNotFound/CMakeLists.txt b/Tests/RunCMake/CompilerNotFound/CMakeLists.txt
new file mode 100644
index 0000000..12cd3c7
--- /dev/null
+++ b/Tests/RunCMake/CompilerNotFound/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.4)
+project(${RunCMake_TEST} NONE)
+include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/CompilerNotFound/NoCompilerC-IDE-result.txt b/Tests/RunCMake/CompilerNotFound/NoCompilerC-IDE-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CompilerNotFound/NoCompilerC-IDE-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CompilerNotFound/NoCompilerC-IDE-stderr.txt b/Tests/RunCMake/CompilerNotFound/NoCompilerC-IDE-stderr.txt
new file mode 100644
index 0000000..88bb95e
--- /dev/null
+++ b/Tests/RunCMake/CompilerNotFound/NoCompilerC-IDE-stderr.txt
@@ -0,0 +1,5 @@
+CMake Error at NoCompilerC-IDE.cmake:2 \(enable_language\):
+ No CMAKE_C_COMPILER could be found.
+
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)$
diff --git a/Tests/RunCMake/CompilerNotFound/NoCompilerC-IDE.cmake b/Tests/RunCMake/CompilerNotFound/NoCompilerC-IDE.cmake
new file mode 100644
index 0000000..45e1a68
--- /dev/null
+++ b/Tests/RunCMake/CompilerNotFound/NoCompilerC-IDE.cmake
@@ -0,0 +1,3 @@
+set(CMAKE_C_COMPILER_ID_ERROR_FOR_TEST "#error NoCompilerC-IDE")
+enable_language(C)
+message(FATAL_ERROR "This error should not be reached.")
diff --git a/Tests/RunCMake/CompilerNotFound/NoCompilerCXX-IDE-result.txt b/Tests/RunCMake/CompilerNotFound/NoCompilerCXX-IDE-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CompilerNotFound/NoCompilerCXX-IDE-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CompilerNotFound/NoCompilerCXX-IDE-stderr.txt b/Tests/RunCMake/CompilerNotFound/NoCompilerCXX-IDE-stderr.txt
new file mode 100644
index 0000000..4c92323
--- /dev/null
+++ b/Tests/RunCMake/CompilerNotFound/NoCompilerCXX-IDE-stderr.txt
@@ -0,0 +1,5 @@
+CMake Error at NoCompilerCXX-IDE.cmake:2 \(enable_language\):
+ No CMAKE_CXX_COMPILER could be found.
+
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)$
diff --git a/Tests/RunCMake/CompilerNotFound/NoCompilerCXX-IDE.cmake b/Tests/RunCMake/CompilerNotFound/NoCompilerCXX-IDE.cmake
new file mode 100644
index 0000000..85025a0
--- /dev/null
+++ b/Tests/RunCMake/CompilerNotFound/NoCompilerCXX-IDE.cmake
@@ -0,0 +1,3 @@
+set(CMAKE_CXX_COMPILER_ID_ERROR_FOR_TEST "#error NoCompilerCXX-IDE")
+enable_language(CXX)
+message(FATAL_ERROR "This error should not be reached.")
diff --git a/Tests/RunCMake/CompilerNotFound/NoCompilerCandCXX-IDE-result.txt b/Tests/RunCMake/CompilerNotFound/NoCompilerCandCXX-IDE-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/CompilerNotFound/NoCompilerCandCXX-IDE-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/CompilerNotFound/NoCompilerCandCXX-IDE-stderr.txt b/Tests/RunCMake/CompilerNotFound/NoCompilerCandCXX-IDE-stderr.txt
new file mode 100644
index 0000000..21c69f5
--- /dev/null
+++ b/Tests/RunCMake/CompilerNotFound/NoCompilerCandCXX-IDE-stderr.txt
@@ -0,0 +1,11 @@
+CMake Error at NoCompilerCandCXX-IDE.cmake:3 \(project\):
+ No CMAKE_C_COMPILER could be found.
+
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at NoCompilerCandCXX-IDE.cmake:3 \(project\):
+ No CMAKE_CXX_COMPILER could be found.
+
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)$
diff --git a/Tests/RunCMake/CompilerNotFound/NoCompilerCandCXX-IDE.cmake b/Tests/RunCMake/CompilerNotFound/NoCompilerCandCXX-IDE.cmake
new file mode 100644
index 0000000..78256a9
--- /dev/null
+++ b/Tests/RunCMake/CompilerNotFound/NoCompilerCandCXX-IDE.cmake
@@ -0,0 +1,4 @@
+set(CMAKE_C_COMPILER_ID_ERROR_FOR_TEST "#error NoCompilerCandCXX-IDE")
+set(CMAKE_CXX_COMPILER_ID_ERROR_FOR_TEST "#error NoCompilerCandCXX-IDE")
+project(NoCompilerCandCXXInner C CXX)
+message(FATAL_ERROR "This error should not be reached.")
diff --git a/Tests/RunCMake/CompilerNotFound/RunCMakeTest.cmake b/Tests/RunCMake/CompilerNotFound/RunCMakeTest.cmake
new file mode 100644
index 0000000..8b84f39
--- /dev/null
+++ b/Tests/RunCMake/CompilerNotFound/RunCMakeTest.cmake
@@ -0,0 +1,11 @@
+include(RunCMake)
+
+if("${RunCMake_GENERATOR}" MATCHES "Visual Studio|Xcode")
+ run_cmake(NoCompilerC-IDE)
+ run_cmake(NoCompilerCXX-IDE)
+ run_cmake(NoCompilerCandCXX-IDE)
+else()
+ run_cmake(BadCompilerC)
+ run_cmake(BadCompilerCXX)
+ run_cmake(BadCompilerCandCXX)
+endif()
diff --git a/Tests/RunCMake/Configure/RerunCMake-build1-check.cmake b/Tests/RunCMake/Configure/RerunCMake-build1-check.cmake
new file mode 100644
index 0000000..dbf8f67
--- /dev/null
+++ b/Tests/RunCMake/Configure/RerunCMake-build1-check.cmake
@@ -0,0 +1,9 @@
+file(READ ${stamp} content)
+if(NOT content STREQUAL 1)
+ set(RunCMake_TEST_FAILED "Expected stamp '1' but got: '${content}'")
+endif()
+
+file(READ ${output} content)
+if(NOT content STREQUAL 1)
+ set(RunCMake_TEST_FAILED "Expected output '1' but got: '${content}'")
+endif()
diff --git a/Tests/RunCMake/Configure/RerunCMake-build2-check.cmake b/Tests/RunCMake/Configure/RerunCMake-build2-check.cmake
new file mode 100644
index 0000000..a4897e5
--- /dev/null
+++ b/Tests/RunCMake/Configure/RerunCMake-build2-check.cmake
@@ -0,0 +1,9 @@
+file(READ ${stamp} content)
+if(NOT content STREQUAL 2)
+ set(RunCMake_TEST_FAILED "Expected stamp '2' but got: '${content}'")
+endif()
+
+file(READ ${output} content)
+if(NOT content STREQUAL 2)
+ set(RunCMake_TEST_FAILED "Expected output '2' but got: '${content}'")
+endif()
diff --git a/Tests/RunCMake/Configure/RerunCMake.cmake b/Tests/RunCMake/Configure/RerunCMake.cmake
new file mode 100644
index 0000000..5a561bf
--- /dev/null
+++ b/Tests/RunCMake/Configure/RerunCMake.cmake
@@ -0,0 +1,11 @@
+set(input ${CMAKE_CURRENT_BINARY_DIR}/CustomCMakeInput.txt)
+set(stamp ${CMAKE_CURRENT_BINARY_DIR}/CustomCMakeStamp.txt)
+file(READ ${input} content)
+file(WRITE ${stamp} "${content}")
+
+set(depend ${CMAKE_CURRENT_BINARY_DIR}/CustomCMakeDepend.txt)
+set(output ${CMAKE_CURRENT_BINARY_DIR}/CustomCMakeOutput.txt)
+set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${depend})
+file(READ ${depend} content)
+file(WRITE ${output} "${content}")
+set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS RerunCMake.txt)
diff --git a/Tests/RunCMake/Configure/RerunCMake.txt b/Tests/RunCMake/Configure/RerunCMake.txt
new file mode 100644
index 0000000..15598c1
--- /dev/null
+++ b/Tests/RunCMake/Configure/RerunCMake.txt
@@ -0,0 +1 @@
+Source-tree dependency for "RerunCMake.cmake".
diff --git a/Tests/RunCMake/Configure/RunCMakeTest.cmake b/Tests/RunCMake/Configure/RunCMakeTest.cmake
index 79e4060..5ef0384 100644
--- a/Tests/RunCMake/Configure/RunCMakeTest.cmake
+++ b/Tests/RunCMake/Configure/RunCMakeTest.cmake
@@ -2,3 +2,23 @@ include(RunCMake)
run_cmake(ErrorLogs)
run_cmake(FailCopyFileABI)
+
+# Use a single build tree for a few tests without cleaning.
+set(RunCMake_TEST_BINARY_DIR ${RunCMake_BINARY_DIR}/RerunCMake-build)
+set(RunCMake_TEST_NO_CLEAN 1)
+file(REMOVE_RECURSE "${RunCMake_TEST_BINARY_DIR}")
+file(MAKE_DIRECTORY "${RunCMake_TEST_BINARY_DIR}")
+set(input "${RunCMake_TEST_BINARY_DIR}/CustomCMakeInput.txt")
+set(stamp "${RunCMake_TEST_BINARY_DIR}/CustomCMakeStamp.txt")
+set(depend "${RunCMake_TEST_BINARY_DIR}/CustomCMakeDepend.txt")
+set(output "${RunCMake_TEST_BINARY_DIR}/CustomCMakeOutput.txt")
+file(WRITE "${input}" "1")
+file(WRITE "${depend}" "1")
+run_cmake(RerunCMake)
+execute_process(COMMAND ${CMAKE_COMMAND} -E sleep 1) # handle 1s resolution
+file(WRITE "${input}" "2")
+run_cmake_command(RerunCMake-build1 ${CMAKE_COMMAND} --build .)
+file(WRITE "${depend}" "2")
+run_cmake_command(RerunCMake-build2 ${CMAKE_COMMAND} --build .)
+unset(RunCMake_TEST_BINARY_DIR)
+unset(RunCMake_TEST_NO_CLEAN)
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0029-NEW-result.txt b/Tests/RunCMake/DisallowedCommands/CMP0029-NEW-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0029-NEW-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0029-NEW-stderr.txt b/Tests/RunCMake/DisallowedCommands/CMP0029-NEW-stderr.txt
new file mode 100644
index 0000000..e147081
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0029-NEW-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at CMP0029-NEW.cmake:2 \(subdir_depends\):
+ The subdir_depends command should not be called; see CMP0029.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0029-NEW.cmake b/Tests/RunCMake/DisallowedCommands/CMP0029-NEW.cmake
new file mode 100644
index 0000000..392b9d4
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0029-NEW.cmake
@@ -0,0 +1,2 @@
+cmake_policy(SET CMP0029 NEW)
+subdir_depends()
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0029-OLD-stderr.txt b/Tests/RunCMake/DisallowedCommands/CMP0029-OLD-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0029-OLD-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0029-OLD.cmake b/Tests/RunCMake/DisallowedCommands/CMP0029-OLD.cmake
new file mode 100644
index 0000000..099fd90
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0029-OLD.cmake
@@ -0,0 +1,2 @@
+cmake_policy(SET CMP0029 OLD)
+subdir_depends()
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0029-WARN-stderr.txt b/Tests/RunCMake/DisallowedCommands/CMP0029-WARN-stderr.txt
new file mode 100644
index 0000000..32a452a
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0029-WARN-stderr.txt
@@ -0,0 +1,7 @@
+CMake Warning \(dev\) at CMP0029-WARN.cmake:1 \(subdir_depends\):
+ Policy CMP0029 is not set: The subdir_depends command should not be called.
+ Run "cmake --help-policy CMP0029" for policy details. Use the cmake_policy
+ command to set the policy and suppress this warning.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0029-WARN.cmake b/Tests/RunCMake/DisallowedCommands/CMP0029-WARN.cmake
new file mode 100644
index 0000000..1ceb1f8
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0029-WARN.cmake
@@ -0,0 +1 @@
+subdir_depends()
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0030-NEW-result.txt b/Tests/RunCMake/DisallowedCommands/CMP0030-NEW-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0030-NEW-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0030-NEW-stderr.txt b/Tests/RunCMake/DisallowedCommands/CMP0030-NEW-stderr.txt
new file mode 100644
index 0000000..cb380db
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0030-NEW-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at CMP0030-NEW.cmake:2 \(use_mangled_mesa\):
+ The use_mangled_mesa command should not be called; see CMP0030.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0030-NEW.cmake b/Tests/RunCMake/DisallowedCommands/CMP0030-NEW.cmake
new file mode 100644
index 0000000..73365a7
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0030-NEW.cmake
@@ -0,0 +1,2 @@
+cmake_policy(SET CMP0030 NEW)
+use_mangled_mesa()
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0030-OLD-result.txt b/Tests/RunCMake/DisallowedCommands/CMP0030-OLD-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0030-OLD-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0030-OLD-stderr.txt b/Tests/RunCMake/DisallowedCommands/CMP0030-OLD-stderr.txt
new file mode 100644
index 0000000..e95e16f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0030-OLD-stderr.txt
@@ -0,0 +1,4 @@
+^CMake Error at CMP0030-OLD.cmake:2 \(use_mangled_mesa\):
+ use_mangled_mesa called with incorrect number of arguments
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)$
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0030-OLD.cmake b/Tests/RunCMake/DisallowedCommands/CMP0030-OLD.cmake
new file mode 100644
index 0000000..efbb852
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0030-OLD.cmake
@@ -0,0 +1,2 @@
+cmake_policy(SET CMP0030 OLD)
+use_mangled_mesa()
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0030-WARN-result.txt b/Tests/RunCMake/DisallowedCommands/CMP0030-WARN-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0030-WARN-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0030-WARN-stderr.txt b/Tests/RunCMake/DisallowedCommands/CMP0030-WARN-stderr.txt
new file mode 100644
index 0000000..db3c23f13
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0030-WARN-stderr.txt
@@ -0,0 +1,12 @@
+CMake Warning \(dev\) at CMP0030-WARN.cmake:1 \(use_mangled_mesa\):
+ Policy CMP0030 is not set: The use_mangled_mesa command should not be
+ called. Run "cmake --help-policy CMP0030" for policy details. Use the
+ cmake_policy command to set the policy and suppress this warning.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
+
+CMake Error at CMP0030-WARN.cmake:1 \(use_mangled_mesa\):
+ use_mangled_mesa called with incorrect number of arguments
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0030-WARN.cmake b/Tests/RunCMake/DisallowedCommands/CMP0030-WARN.cmake
new file mode 100644
index 0000000..cbe0ff0
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0030-WARN.cmake
@@ -0,0 +1 @@
+use_mangled_mesa()
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0031-NEW-result.txt b/Tests/RunCMake/DisallowedCommands/CMP0031-NEW-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0031-NEW-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0031-NEW-stderr.txt b/Tests/RunCMake/DisallowedCommands/CMP0031-NEW-stderr.txt
new file mode 100644
index 0000000..78c2236
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0031-NEW-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at CMP0031-NEW.cmake:2 \(load_command\):
+ The load_command command should not be called; see CMP0031.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0031-NEW.cmake b/Tests/RunCMake/DisallowedCommands/CMP0031-NEW.cmake
new file mode 100644
index 0000000..3d9caf2
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0031-NEW.cmake
@@ -0,0 +1,2 @@
+cmake_policy(SET CMP0031 NEW)
+load_command()
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0031-OLD-result.txt b/Tests/RunCMake/DisallowedCommands/CMP0031-OLD-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0031-OLD-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0031-OLD-stderr.txt b/Tests/RunCMake/DisallowedCommands/CMP0031-OLD-stderr.txt
new file mode 100644
index 0000000..ba198d6
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0031-OLD-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at CMP0031-OLD.cmake:2 \(load_command\):
+ load_command Attempt to load command failed from file.*bogus_command.*
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0031-OLD.cmake b/Tests/RunCMake/DisallowedCommands/CMP0031-OLD.cmake
new file mode 100644
index 0000000..8fedf98
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0031-OLD.cmake
@@ -0,0 +1,2 @@
+cmake_policy(SET CMP0031 OLD)
+load_command(bogus_command)
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0031-WARN-result.txt b/Tests/RunCMake/DisallowedCommands/CMP0031-WARN-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0031-WARN-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0031-WARN-stderr.txt b/Tests/RunCMake/DisallowedCommands/CMP0031-WARN-stderr.txt
new file mode 100644
index 0000000..4cb65b3
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0031-WARN-stderr.txt
@@ -0,0 +1,12 @@
+CMake Warning \(dev\) at CMP0031-WARN.cmake:1 \(load_command\):
+ Policy CMP0031 is not set: The load_command command should not be called.
+ Run "cmake --help-policy CMP0031" for policy details. Use the cmake_policy
+ command to set the policy and suppress this warning.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
+
+CMake Error at CMP0031-WARN.cmake:1 \(load_command\):
+ load_command Attempt to load command failed from file.*bogus_command.*
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0031-WARN.cmake b/Tests/RunCMake/DisallowedCommands/CMP0031-WARN.cmake
new file mode 100644
index 0000000..c9d99fc
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0031-WARN.cmake
@@ -0,0 +1 @@
+load_command(bogus_command)
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0032-NEW-result.txt b/Tests/RunCMake/DisallowedCommands/CMP0032-NEW-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0032-NEW-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0032-NEW-stderr.txt b/Tests/RunCMake/DisallowedCommands/CMP0032-NEW-stderr.txt
new file mode 100644
index 0000000..c7ac16e
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0032-NEW-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at CMP0032-NEW.cmake:2 \(output_required_files\):
+ The output_required_files command should not be called; see CMP0032.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0032-NEW.cmake b/Tests/RunCMake/DisallowedCommands/CMP0032-NEW.cmake
new file mode 100644
index 0000000..c6fb5e8
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0032-NEW.cmake
@@ -0,0 +1,2 @@
+cmake_policy(SET CMP0032 NEW)
+output_required_files()
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0032-OLD-result.txt b/Tests/RunCMake/DisallowedCommands/CMP0032-OLD-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0032-OLD-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0032-OLD-stderr.txt b/Tests/RunCMake/DisallowedCommands/CMP0032-OLD-stderr.txt
new file mode 100644
index 0000000..2223c42
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0032-OLD-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at CMP0032-OLD.cmake:2 \(output_required_files\):
+ output_required_files called with incorrect number of arguments
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0032-OLD.cmake b/Tests/RunCMake/DisallowedCommands/CMP0032-OLD.cmake
new file mode 100644
index 0000000..6585110
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0032-OLD.cmake
@@ -0,0 +1,2 @@
+cmake_policy(SET CMP0032 OLD)
+output_required_files()
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0032-WARN-result.txt b/Tests/RunCMake/DisallowedCommands/CMP0032-WARN-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0032-WARN-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0032-WARN-stderr.txt b/Tests/RunCMake/DisallowedCommands/CMP0032-WARN-stderr.txt
new file mode 100644
index 0000000..0cf3f94
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0032-WARN-stderr.txt
@@ -0,0 +1,12 @@
+CMake Warning \(dev\) at CMP0032-WARN.cmake:1 \(output_required_files\):
+ Policy CMP0032 is not set: The output_required_files command should not be
+ called. Run "cmake --help-policy CMP0032" for policy details. Use the
+ cmake_policy command to set the policy and suppress this warning.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
+
+CMake Error at CMP0032-WARN.cmake:1 \(output_required_files\):
+ output_required_files called with incorrect number of arguments
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0032-WARN.cmake b/Tests/RunCMake/DisallowedCommands/CMP0032-WARN.cmake
new file mode 100644
index 0000000..7411e48
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0032-WARN.cmake
@@ -0,0 +1 @@
+output_required_files()
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0033-NEW-result.txt b/Tests/RunCMake/DisallowedCommands/CMP0033-NEW-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0033-NEW-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0033-NEW-stderr.txt b/Tests/RunCMake/DisallowedCommands/CMP0033-NEW-stderr.txt
new file mode 100644
index 0000000..8d210aa
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0033-NEW-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at CMP0033-NEW.cmake:2 \(export_library_dependencies\):
+ The export_library_dependencies command should not be called; see CMP0033.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0033-NEW.cmake b/Tests/RunCMake/DisallowedCommands/CMP0033-NEW.cmake
new file mode 100644
index 0000000..6f90f29
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0033-NEW.cmake
@@ -0,0 +1,2 @@
+cmake_policy(SET CMP0033 NEW)
+export_library_dependencies()
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0033-OLD-result.txt b/Tests/RunCMake/DisallowedCommands/CMP0033-OLD-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0033-OLD-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0033-OLD-stderr.txt b/Tests/RunCMake/DisallowedCommands/CMP0033-OLD-stderr.txt
new file mode 100644
index 0000000..e5dd2dd
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0033-OLD-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at CMP0033-OLD.cmake:2 \(export_library_dependencies\):
+ export_library_dependencies called with incorrect number of arguments
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0033-OLD.cmake b/Tests/RunCMake/DisallowedCommands/CMP0033-OLD.cmake
new file mode 100644
index 0000000..a3504b6
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0033-OLD.cmake
@@ -0,0 +1,2 @@
+cmake_policy(SET CMP0033 OLD)
+export_library_dependencies()
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0033-WARN-result.txt b/Tests/RunCMake/DisallowedCommands/CMP0033-WARN-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0033-WARN-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0033-WARN-stderr.txt b/Tests/RunCMake/DisallowedCommands/CMP0033-WARN-stderr.txt
new file mode 100644
index 0000000..e561dac
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0033-WARN-stderr.txt
@@ -0,0 +1,12 @@
+CMake Warning \(dev\) at CMP0033-WARN.cmake:1 \(export_library_dependencies\):
+ Policy CMP0033 is not set: The export_library_dependencies command should
+ not be called. Run "cmake --help-policy CMP0033" for policy details. Use
+ the cmake_policy command to set the policy and suppress this warning.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
+
+CMake Error at CMP0033-WARN.cmake:1 \(export_library_dependencies\):
+ export_library_dependencies called with incorrect number of arguments
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0033-WARN.cmake b/Tests/RunCMake/DisallowedCommands/CMP0033-WARN.cmake
new file mode 100644
index 0000000..f897ddd
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0033-WARN.cmake
@@ -0,0 +1 @@
+export_library_dependencies()
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0034-NEW-result.txt b/Tests/RunCMake/DisallowedCommands/CMP0034-NEW-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0034-NEW-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0034-NEW-stderr.txt b/Tests/RunCMake/DisallowedCommands/CMP0034-NEW-stderr.txt
new file mode 100644
index 0000000..1dd279b
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0034-NEW-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at CMP0034-NEW.cmake:2 \(utility_source\):
+ The utility_source command should not be called; see CMP0034.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0034-NEW.cmake b/Tests/RunCMake/DisallowedCommands/CMP0034-NEW.cmake
new file mode 100644
index 0000000..48724a9
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0034-NEW.cmake
@@ -0,0 +1,2 @@
+cmake_policy(SET CMP0034 NEW)
+utility_source()
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0034-OLD-result.txt b/Tests/RunCMake/DisallowedCommands/CMP0034-OLD-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0034-OLD-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0034-OLD-stderr.txt b/Tests/RunCMake/DisallowedCommands/CMP0034-OLD-stderr.txt
new file mode 100644
index 0000000..3358628
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0034-OLD-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at CMP0034-OLD.cmake:2 \(utility_source\):
+ utility_source called with incorrect number of arguments
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0034-OLD.cmake b/Tests/RunCMake/DisallowedCommands/CMP0034-OLD.cmake
new file mode 100644
index 0000000..a2c9798
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0034-OLD.cmake
@@ -0,0 +1,2 @@
+cmake_policy(SET CMP0034 OLD)
+utility_source()
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0034-WARN-result.txt b/Tests/RunCMake/DisallowedCommands/CMP0034-WARN-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0034-WARN-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0034-WARN-stderr.txt b/Tests/RunCMake/DisallowedCommands/CMP0034-WARN-stderr.txt
new file mode 100644
index 0000000..ea3831f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0034-WARN-stderr.txt
@@ -0,0 +1,12 @@
+CMake Warning \(dev\) at CMP0034-WARN.cmake:1 \(utility_source\):
+ Policy CMP0034 is not set: The utility_source command should not be called.
+ Run "cmake --help-policy CMP0034" for policy details. Use the cmake_policy
+ command to set the policy and suppress this warning.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
+
+CMake Error at CMP0034-WARN.cmake:1 \(utility_source\):
+ utility_source called with incorrect number of arguments
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0034-WARN.cmake b/Tests/RunCMake/DisallowedCommands/CMP0034-WARN.cmake
new file mode 100644
index 0000000..b4ae045
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0034-WARN.cmake
@@ -0,0 +1 @@
+utility_source()
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0035-NEW-result.txt b/Tests/RunCMake/DisallowedCommands/CMP0035-NEW-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0035-NEW-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0035-NEW-stderr.txt b/Tests/RunCMake/DisallowedCommands/CMP0035-NEW-stderr.txt
new file mode 100644
index 0000000..0604829
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0035-NEW-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at CMP0035-NEW.cmake:2 \(variable_requires\):
+ The variable_requires command should not be called; see CMP0035.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0035-NEW.cmake b/Tests/RunCMake/DisallowedCommands/CMP0035-NEW.cmake
new file mode 100644
index 0000000..27eb32e
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0035-NEW.cmake
@@ -0,0 +1,2 @@
+cmake_policy(SET CMP0035 NEW)
+variable_requires()
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0035-OLD-result.txt b/Tests/RunCMake/DisallowedCommands/CMP0035-OLD-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0035-OLD-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0035-OLD-stderr.txt b/Tests/RunCMake/DisallowedCommands/CMP0035-OLD-stderr.txt
new file mode 100644
index 0000000..86eda43
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0035-OLD-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at CMP0035-OLD.cmake:2 \(variable_requires\):
+ variable_requires called with incorrect number of arguments
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0035-OLD.cmake b/Tests/RunCMake/DisallowedCommands/CMP0035-OLD.cmake
new file mode 100644
index 0000000..7425262
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0035-OLD.cmake
@@ -0,0 +1,2 @@
+cmake_policy(SET CMP0035 OLD)
+variable_requires()
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0035-WARN-result.txt b/Tests/RunCMake/DisallowedCommands/CMP0035-WARN-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0035-WARN-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0035-WARN-stderr.txt b/Tests/RunCMake/DisallowedCommands/CMP0035-WARN-stderr.txt
new file mode 100644
index 0000000..4d4fc8e
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0035-WARN-stderr.txt
@@ -0,0 +1,12 @@
+CMake Warning \(dev\) at CMP0035-WARN.cmake:1 \(variable_requires\):
+ Policy CMP0035 is not set: The variable_requires command should not be
+ called. Run "cmake --help-policy CMP0035" for policy details. Use the
+ cmake_policy command to set the policy and suppress this warning.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
+
+CMake Error at CMP0035-WARN.cmake:1 \(variable_requires\):
+ variable_requires called with incorrect number of arguments
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0035-WARN.cmake b/Tests/RunCMake/DisallowedCommands/CMP0035-WARN.cmake
new file mode 100644
index 0000000..3af4de1
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0035-WARN.cmake
@@ -0,0 +1 @@
+variable_requires()
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0036-NEW-result.txt b/Tests/RunCMake/DisallowedCommands/CMP0036-NEW-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0036-NEW-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0036-NEW-stderr.txt b/Tests/RunCMake/DisallowedCommands/CMP0036-NEW-stderr.txt
new file mode 100644
index 0000000..11aabd0
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0036-NEW-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at CMP0036-NEW.cmake:2 \(build_name\):
+ The build_name command should not be called; see CMP0036.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0036-NEW.cmake b/Tests/RunCMake/DisallowedCommands/CMP0036-NEW.cmake
new file mode 100644
index 0000000..5341db2
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0036-NEW.cmake
@@ -0,0 +1,2 @@
+cmake_policy(SET CMP0036 NEW)
+build_name()
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0036-OLD-result.txt b/Tests/RunCMake/DisallowedCommands/CMP0036-OLD-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0036-OLD-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0036-OLD-stderr.txt b/Tests/RunCMake/DisallowedCommands/CMP0036-OLD-stderr.txt
new file mode 100644
index 0000000..fef195f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0036-OLD-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at CMP0036-OLD.cmake:2 \(build_name\):
+ build_name called with incorrect number of arguments
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0036-OLD.cmake b/Tests/RunCMake/DisallowedCommands/CMP0036-OLD.cmake
new file mode 100644
index 0000000..fdd840f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0036-OLD.cmake
@@ -0,0 +1,2 @@
+cmake_policy(SET CMP0036 OLD)
+build_name()
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0036-WARN-result.txt b/Tests/RunCMake/DisallowedCommands/CMP0036-WARN-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0036-WARN-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0036-WARN-stderr.txt b/Tests/RunCMake/DisallowedCommands/CMP0036-WARN-stderr.txt
new file mode 100644
index 0000000..b9b7c5a
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0036-WARN-stderr.txt
@@ -0,0 +1,12 @@
+CMake Warning \(dev\) at CMP0036-WARN.cmake:1 \(build_name\):
+ Policy CMP0036 is not set: The build_name command should not be called.
+ Run "cmake --help-policy CMP0036" for policy details. Use the cmake_policy
+ command to set the policy and suppress this warning.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
+
+CMake Error at CMP0036-WARN.cmake:1 \(build_name\):
+ build_name called with incorrect number of arguments
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/DisallowedCommands/CMP0036-WARN.cmake b/Tests/RunCMake/DisallowedCommands/CMP0036-WARN.cmake
new file mode 100644
index 0000000..9556687
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMP0036-WARN.cmake
@@ -0,0 +1 @@
+build_name()
diff --git a/Tests/RunCMake/DisallowedCommands/CMakeLists.txt b/Tests/RunCMake/DisallowedCommands/CMakeLists.txt
new file mode 100644
index 0000000..12cd3c7
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.4)
+project(${RunCMake_TEST} NONE)
+include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/DisallowedCommands/RunCMakeTest.cmake b/Tests/RunCMake/DisallowedCommands/RunCMakeTest.cmake
new file mode 100644
index 0000000..208ea20
--- /dev/null
+++ b/Tests/RunCMake/DisallowedCommands/RunCMakeTest.cmake
@@ -0,0 +1,16 @@
+include(RunCMake)
+
+foreach(p
+ CMP0029
+ CMP0030
+ CMP0031
+ CMP0032
+ CMP0033
+ CMP0034
+ CMP0035
+ CMP0036
+ )
+ run_cmake(${p}-WARN)
+ run_cmake(${p}-OLD)
+ run_cmake(${p}-NEW)
+endforeach()
diff --git a/Tests/RunCMake/ExportWithoutLanguage/NoLanguage-stderr.txt b/Tests/RunCMake/ExportWithoutLanguage/NoLanguage-stderr.txt
index 67a0ae3..5658d85 100644
--- a/Tests/RunCMake/ExportWithoutLanguage/NoLanguage-stderr.txt
+++ b/Tests/RunCMake/ExportWithoutLanguage/NoLanguage-stderr.txt
@@ -1,6 +1,4 @@
CMake Error: CMake can not determine linker language for target: NoLanguage
-CMake Error at NoLanguage.cmake:2 \(export\):
+CMake Error in CMakeLists.txt:
Exporting the target "NoLanguage" is not allowed since its linker language
cannot be determined
-Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/ExportWithoutLanguage/header.h b/Tests/RunCMake/ExportWithoutLanguage/header.h
new file mode 100644
index 0000000..0c803ed
--- /dev/null
+++ b/Tests/RunCMake/ExportWithoutLanguage/header.h
@@ -0,0 +1,2 @@
+
+enum some_compilers { need_more_than_nothing };
diff --git a/Tests/RunCMake/ExternalData/NoURLTemplates-stderr.txt b/Tests/RunCMake/ExternalData/NoURLTemplates-stderr.txt
index ad059d4..ccbaf5a 100644
--- a/Tests/RunCMake/ExternalData/NoURLTemplates-stderr.txt
+++ b/Tests/RunCMake/ExternalData/NoURLTemplates-stderr.txt
@@ -1,5 +1,5 @@
CMake Error at .*/Modules/ExternalData.cmake:[0-9]+ \(message\):
- ExternalData_URL_TEMPLATES is not set!
+ Neither ExternalData_URL_TEMPLATES nor ExternalData_OBJECT_STORES is set!
Call Stack \(most recent call first\):
NoURLTemplates.cmake:2 \(ExternalData_Add_Target\)
CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/ExternalData/ObjectStoreOnly.cmake b/Tests/RunCMake/ExternalData/ObjectStoreOnly.cmake
new file mode 100644
index 0000000..5e66101
--- /dev/null
+++ b/Tests/RunCMake/ExternalData/ObjectStoreOnly.cmake
@@ -0,0 +1,3 @@
+include(ExternalData)
+set(ExternalData_OBJECT_STORES "${CMAKE_CURRENT_BINARY_DIR}")
+ExternalData_Add_Target(Data)
diff --git a/Tests/RunCMake/ExternalData/RunCMakeTest.cmake b/Tests/RunCMake/ExternalData/RunCMakeTest.cmake
index 8fba82c..93ff08f 100644
--- a/Tests/RunCMake/ExternalData/RunCMakeTest.cmake
+++ b/Tests/RunCMake/ExternalData/RunCMakeTest.cmake
@@ -22,6 +22,7 @@ run_cmake(NormalData2)
run_cmake(NormalData3)
run_cmake(NormalDataSub1)
run_cmake(NotUnderRoot)
+run_cmake(ObjectStoreOnly)
run_cmake(Semicolon1)
run_cmake(Semicolon2)
run_cmake(Semicolon3)
diff --git a/Tests/RunCMake/GeneratorExpression/BadCONFIG-stderr.txt b/Tests/RunCMake/GeneratorExpression/BadCONFIG-stderr.txt
index 1cfbf40..964ea4d 100644
--- a/Tests/RunCMake/GeneratorExpression/BadCONFIG-stderr.txt
+++ b/Tests/RunCMake/GeneratorExpression/BadCONFIG-stderr.txt
@@ -1,15 +1,6 @@
CMake Error at BadCONFIG.cmake:1 \(add_custom_target\):
Error evaluating generator expression:
- \$<CONFIG>
-
- \$<CONFIG> expression requires exactly one parameter.
-Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
-+
-CMake Error at BadCONFIG.cmake:1 \(add_custom_target\):
- Error evaluating generator expression:
-
\$<CONFIG:.>
Expression syntax not recognized.
@@ -21,7 +12,7 @@ CMake Error at BadCONFIG.cmake:1 \(add_custom_target\):
\$<CONFIG:Foo,Bar>
- \$<CONFIG> expression requires exactly one parameter.
+ \$<CONFIG> expression requires one or zero parameters.
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)
+
diff --git a/Tests/RunCMake/GeneratorExpression/BadCONFIG.cmake b/Tests/RunCMake/GeneratorExpression/BadCONFIG.cmake
index c27ea5f..5c22aaa 100644
--- a/Tests/RunCMake/GeneratorExpression/BadCONFIG.cmake
+++ b/Tests/RunCMake/GeneratorExpression/BadCONFIG.cmake
@@ -1,5 +1,4 @@
add_custom_target(check ALL COMMAND check
- $<CONFIG>
$<CONFIG:.>
$<CONFIG:Foo,Bar>
$<CONFIG:Foo-Bar>
diff --git a/Tests/RunCMake/GeneratorExpression/CMP0044-WARN-result.txt b/Tests/RunCMake/GeneratorExpression/CMP0044-WARN-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/GeneratorExpression/CMP0044-WARN-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/GeneratorExpression/CMP0044-WARN-stderr.txt b/Tests/RunCMake/GeneratorExpression/CMP0044-WARN-stderr.txt
new file mode 100644
index 0000000..2079c12
--- /dev/null
+++ b/Tests/RunCMake/GeneratorExpression/CMP0044-WARN-stderr.txt
@@ -0,0 +1,7 @@
+CMake Warning \(dev\) at CMP0044-WARN.cmake:13 \(target_compile_definitions\):
+ Policy CMP0044 is not set: Case sensitive <LANG>_COMPILER_ID generator
+ expressions. Run "cmake --help-policy CMP0044" for policy details. Use
+ the cmake_policy command to set the policy and suppress this warning.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/GeneratorExpression/CMP0044-WARN.cmake b/Tests/RunCMake/GeneratorExpression/CMP0044-WARN.cmake
new file mode 100644
index 0000000..d5b85c9
--- /dev/null
+++ b/Tests/RunCMake/GeneratorExpression/CMP0044-WARN.cmake
@@ -0,0 +1,17 @@
+
+project(CMP0044-WARN)
+
+string(TOLOWER ${CMAKE_C_COMPILER_ID} lc_test)
+if (lc_test STREQUAL CMAKE_C_COMPILER_ID)
+ string(TOUPPER ${CMAKE_C_COMPILER_ID} lc_test)
+ if (lc_test STREQUAL CMAKE_C_COMPILER_ID)
+ message(SEND_ERROR "Try harder.")
+ endif()
+endif()
+
+add_library(cmp0044-check empty.c)
+target_compile_definitions(cmp0044-check
+ PRIVATE
+ Result=$<C_COMPILER_ID:${lc_test}>
+ Type_Is_${CMP0044_TYPE}
+)
diff --git a/Tests/RunCMake/GeneratorExpression/RunCMakeTest.cmake b/Tests/RunCMake/GeneratorExpression/RunCMakeTest.cmake
index 54d5064..f3f99ed 100644
--- a/Tests/RunCMake/GeneratorExpression/RunCMakeTest.cmake
+++ b/Tests/RunCMake/GeneratorExpression/RunCMakeTest.cmake
@@ -9,3 +9,4 @@ run_cmake(BadZero)
run_cmake(BadTargetName)
run_cmake(BadTargetTypeObject)
run_cmake(BadInstallPrefix)
+run_cmake(CMP0044-WARN)
diff --git a/Tests/RunCMake/ObjectLibrary/ExportLanguages.cmake b/Tests/RunCMake/ObjectLibrary/ExportLanguages.cmake
deleted file mode 100644
index 0796c21..0000000
--- a/Tests/RunCMake/ObjectLibrary/ExportLanguages.cmake
+++ /dev/null
@@ -1,15 +0,0 @@
-enable_language(CXX)
-add_library(A OBJECT a.cxx)
-add_library(B STATIC a.c $<TARGET_OBJECTS:A>)
-
-# Verify that object library languages are propagated.
-export(TARGETS B NAMESPACE Exp FILE BExport.cmake)
-include(${CMAKE_CURRENT_BINARY_DIR}/BExport.cmake)
-get_property(configs TARGET ExpB PROPERTY IMPORTED_CONFIGURATIONS)
-foreach(c ${configs})
- get_property(langs TARGET ExpB PROPERTY IMPORTED_LINK_INTERFACE_LANGUAGES_${c})
- list(FIND langs CXX pos)
- if(${pos} LESS 0)
- message(FATAL_ERROR "Target export does not list object library languages.")
- endif()
-endforeach()
diff --git a/Tests/RunCMake/ObjectLibrary/RunCMakeTest.cmake b/Tests/RunCMake/ObjectLibrary/RunCMakeTest.cmake
index 2dd8d38..42973f8 100644
--- a/Tests/RunCMake/ObjectLibrary/RunCMakeTest.cmake
+++ b/Tests/RunCMake/ObjectLibrary/RunCMakeTest.cmake
@@ -6,7 +6,6 @@ run_cmake(BadSourceExpression3)
run_cmake(BadObjSource1)
run_cmake(BadObjSource2)
run_cmake(Export)
-run_cmake(ExportLanguages)
run_cmake(Import)
run_cmake(Install)
run_cmake(LinkObjLHS)
diff --git a/Tests/RunCMake/ObsoleteQtMacros/AutomocMacro-WARN-stderr.txt b/Tests/RunCMake/ObsoleteQtMacros/AutomocMacro-WARN-stderr.txt
index 6f7e8ee..f358cc4 100644
--- a/Tests/RunCMake/ObsoleteQtMacros/AutomocMacro-WARN-stderr.txt
+++ b/Tests/RunCMake/ObsoleteQtMacros/AutomocMacro-WARN-stderr.txt
@@ -1,4 +1,4 @@
-CMake Warning at .*/Modules/Qt4Macros.cmake:[^ ]+ \(message\):
+CMake Deprecation Warning at .*/Modules/Qt4Macros.cmake:[^ ]+ \(message\):
The qt4_automoc macro is obsolete. Use the CMAKE_AUTOMOC feature instead.
Call Stack \(most recent call first\):
AutomocMacro-WARN.cmake:7 \(qt4_automoc\)
diff --git a/Tests/RunCMake/ObsoleteQtMacros/UseModulesMacro-WARN-stderr.txt b/Tests/RunCMake/ObsoleteQtMacros/UseModulesMacro-WARN-stderr.txt
index b90c665..c69af65 100644
--- a/Tests/RunCMake/ObsoleteQtMacros/UseModulesMacro-WARN-stderr.txt
+++ b/Tests/RunCMake/ObsoleteQtMacros/UseModulesMacro-WARN-stderr.txt
@@ -1,4 +1,4 @@
-CMake Warning at .*/Modules/Qt4Macros.cmake:[^ ]+ \(message\):
+CMake Deprecation Warning at .*/Modules/Qt4Macros.cmake:[^ ]+ \(message\):
The qt4_use_modules function is obsolete. Use target_link_libraries with
IMPORTED targets instead.
Call Stack \(most recent call first\):
diff --git a/Tests/RunCMake/PositionIndependentCode/Conflict4-result.txt b/Tests/RunCMake/PositionIndependentCode/Conflict4-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/PositionIndependentCode/Conflict4-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/PositionIndependentCode/Conflict4-stderr.txt b/Tests/RunCMake/PositionIndependentCode/Conflict4-stderr.txt
new file mode 100644
index 0000000..76d5ea0
--- /dev/null
+++ b/Tests/RunCMake/PositionIndependentCode/Conflict4-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error: Property POSITION_INDEPENDENT_CODE on target "conflict" is
+implied to be FALSE because it was used to determine the link libraries
+already. The INTERFACE_POSITION_INDEPENDENT_CODE property on
+dependency "picon" is in conflict.
diff --git a/Tests/RunCMake/PositionIndependentCode/Conflict4.cmake b/Tests/RunCMake/PositionIndependentCode/Conflict4.cmake
new file mode 100644
index 0000000..ff5dfb3
--- /dev/null
+++ b/Tests/RunCMake/PositionIndependentCode/Conflict4.cmake
@@ -0,0 +1,8 @@
+
+add_library(piciface INTERFACE)
+
+add_library(picon INTERFACE)
+set_property(TARGET picon PROPERTY INTERFACE_POSITION_INDEPENDENT_CODE ON)
+
+add_executable(conflict "main.cpp")
+target_link_libraries(conflict picon $<$<BOOL:$<TARGET_PROPERTY:POSITION_INDEPENDENT_CODE>>:piciface>)
diff --git a/Tests/RunCMake/PositionIndependentCode/Conflict5-result.txt b/Tests/RunCMake/PositionIndependentCode/Conflict5-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/PositionIndependentCode/Conflict5-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/PositionIndependentCode/Conflict5-stderr.txt b/Tests/RunCMake/PositionIndependentCode/Conflict5-stderr.txt
new file mode 100644
index 0000000..ecd0492
--- /dev/null
+++ b/Tests/RunCMake/PositionIndependentCode/Conflict5-stderr.txt
@@ -0,0 +1,3 @@
+CMake Error: The INTERFACE_POSITION_INDEPENDENT_CODE property of "picoff" does
+not agree with the value of POSITION_INDEPENDENT_CODE already determined
+for "conflict".
diff --git a/Tests/RunCMake/PositionIndependentCode/Conflict5.cmake b/Tests/RunCMake/PositionIndependentCode/Conflict5.cmake
new file mode 100644
index 0000000..e6055f4
--- /dev/null
+++ b/Tests/RunCMake/PositionIndependentCode/Conflict5.cmake
@@ -0,0 +1,9 @@
+
+add_library(picon INTERFACE)
+set_property(TARGET picon PROPERTY INTERFACE_POSITION_INDEPENDENT_CODE ON)
+
+add_library(picoff INTERFACE)
+set_property(TARGET picoff PROPERTY INTERFACE_POSITION_INDEPENDENT_CODE OFF)
+
+add_executable(conflict "main.cpp")
+target_link_libraries(conflict picon picoff)
diff --git a/Tests/RunCMake/PositionIndependentCode/Conflict6-result.txt b/Tests/RunCMake/PositionIndependentCode/Conflict6-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/PositionIndependentCode/Conflict6-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/PositionIndependentCode/Conflict6-stderr.txt b/Tests/RunCMake/PositionIndependentCode/Conflict6-stderr.txt
new file mode 100644
index 0000000..0254e55
--- /dev/null
+++ b/Tests/RunCMake/PositionIndependentCode/Conflict6-stderr.txt
@@ -0,0 +1,4 @@
+Property POSITION_INDEPENDENT_CODE on target "conflict" is
+implied to be FALSE because it was used to determine the link libraries
+already. The INTERFACE_POSITION_INDEPENDENT_CODE property on
+dependency "picon" is in conflict.
diff --git a/Tests/RunCMake/PositionIndependentCode/Conflict6.cmake b/Tests/RunCMake/PositionIndependentCode/Conflict6.cmake
new file mode 100644
index 0000000..7ea7c5f
--- /dev/null
+++ b/Tests/RunCMake/PositionIndependentCode/Conflict6.cmake
@@ -0,0 +1,8 @@
+
+add_library(picoff INTERFACE)
+
+add_library(picon INTERFACE)
+set_property(TARGET picon PROPERTY INTERFACE_POSITION_INDEPENDENT_CODE ON)
+
+add_executable(conflict "main.cpp")
+target_link_libraries(conflict picon $<$<NOT:$<BOOL:$<TARGET_PROPERTY:POSITION_INDEPENDENT_CODE>>>:picoff>)
diff --git a/Tests/RunCMake/PositionIndependentCode/Debug-result.txt b/Tests/RunCMake/PositionIndependentCode/Debug-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/PositionIndependentCode/Debug-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/PositionIndependentCode/Debug-stderr.txt b/Tests/RunCMake/PositionIndependentCode/Debug-stderr.txt
new file mode 100644
index 0000000..774445b
--- /dev/null
+++ b/Tests/RunCMake/PositionIndependentCode/Debug-stderr.txt
@@ -0,0 +1,6 @@
+CMake Debug Log:
+ Boolean compatibility of property "POSITION_INDEPENDENT_CODE" for target
+ "foo" \(result: "TRUE"\):
+
+ \* Target "foo" has property content "TRUE"
+ \* Target "iface" property value "TRUE" \(Agree\)
diff --git a/Tests/RunCMake/PositionIndependentCode/Debug.cmake b/Tests/RunCMake/PositionIndependentCode/Debug.cmake
new file mode 100644
index 0000000..4a8fbac
--- /dev/null
+++ b/Tests/RunCMake/PositionIndependentCode/Debug.cmake
@@ -0,0 +1,8 @@
+
+add_library(iface INTERFACE)
+set_property(TARGET iface PROPERTY INTERFACE_POSITION_INDEPENDENT_CODE ON)
+
+set(CMAKE_DEBUG_TARGET_PROPERTIES POSITION_INDEPENDENT_CODE)
+add_library(foo main.cpp)
+target_link_libraries(foo iface)
+set_property(TARGET foo PROPERTY POSITION_INDEPENDENT_CODE ON)
diff --git a/Tests/RunCMake/PositionIndependentCode/RunCMakeTest.cmake b/Tests/RunCMake/PositionIndependentCode/RunCMakeTest.cmake
index 64a340c..6a67e3c 100644
--- a/Tests/RunCMake/PositionIndependentCode/RunCMakeTest.cmake
+++ b/Tests/RunCMake/PositionIndependentCode/RunCMakeTest.cmake
@@ -3,3 +3,7 @@ include(RunCMake)
run_cmake(Conflict1)
run_cmake(Conflict2)
run_cmake(Conflict3)
+run_cmake(Conflict4)
+run_cmake(Conflict5)
+run_cmake(Conflict6)
+run_cmake(Debug)
diff --git a/Tests/RunCMake/README.rst b/Tests/RunCMake/README.rst
new file mode 100644
index 0000000..536cff2
--- /dev/null
+++ b/Tests/RunCMake/README.rst
@@ -0,0 +1,57 @@
+This directory contains tests that run CMake to configure a project
+but do not actually build anything. To add a test:
+
+1. Add a subdirectory named for the test, say ``<Test>/``.
+
+2. In ``./CMakeLists.txt`` call ``add_RunCMake_test`` and pass the
+ test directory name ``<Test>``.
+
+3. Create script ``<Test>/RunCMakeTest.cmake`` in the directory containing::
+
+ include(RunCMake)
+ run_cmake(SubTest1)
+ ...
+ run_cmake(SubTestN)
+
+ where ``SubTest1`` through ``SubTestN`` are sub-test names each
+ corresponding to an independent CMake run and project configuration.
+
+ One may also add calls of the form::
+
+ run_cmake_command(SubTestI ${CMAKE_COMMAND} ...)
+
+ to fully customize the test case command-line.
+
+4. Create file ``<Test>/CMakeLists.txt`` in the directory containing::
+
+ cmake_minimum_required(...)
+ project(${RunCMake_TEST} NONE) # or languages needed
+ include(${RunCMake_TEST}.cmake)
+
+ where ``${RunCMake_TEST}`` is literal. A value for ``RunCMake_TEST``
+ will be passed to CMake by the ``run_cmake`` macro when running each
+ sub-test.
+
+5. Create a ``<Test>/<SubTest>.cmake`` file for each sub-test named
+ above containing the actual test code. Optionally create files
+ containing expected test results:
+
+ ``<SubTest>-result.txt``
+ Process result expected if not "0"
+ ``<SubTest>-stdout.txt``
+ Regex matching expected stdout content
+ ``<SubTest>-stderr.txt``
+ Regex matching expected stderr content
+ ``<SubTest>-check.cmake``
+ Custom result check.
+
+ Note that trailing newlines will be stripped from actual and expected
+ test output before matching against the stdout and stderr expressions.
+ The code in ``<SubTest>-check.cmake`` may use variables
+
+ ``RunCMake_TEST_SOURCE_DIR``
+ Top of test source tree
+ ``RunCMake_TEST_BINARY_DIR``
+ Top of test binary tree
+
+ and an failure must store a message in ``RunCMake_TEST_FAILED``.
diff --git a/Tests/RunCMake/RunCMake.cmake b/Tests/RunCMake/RunCMake.cmake
index 00faa4c..1d1c523 100644
--- a/Tests/RunCMake/RunCMake.cmake
+++ b/Tests/RunCMake/RunCMake.cmake
@@ -36,22 +36,36 @@ function(run_cmake test)
if(NOT DEFINED RunCMake_TEST_OPTIONS)
set(RunCMake_TEST_OPTIONS "")
endif()
- execute_process(
- COMMAND ${CMAKE_COMMAND} "${RunCMake_TEST_SOURCE_DIR}"
- -G "${RunCMake_GENERATOR}"
- -T "${RunCMake_GENERATOR_TOOLSET}"
- -DRunCMake_TEST=${test}
- ${RunCMake_TEST_OPTIONS}
- WORKING_DIRECTORY "${RunCMake_TEST_BINARY_DIR}"
- OUTPUT_VARIABLE actual_stdout
- ERROR_VARIABLE actual_stderr
- RESULT_VARIABLE actual_result
- )
+ if(APPLE)
+ list(APPEND RunCMake_TEST_OPTIONS -DCMAKE_POLICY_DEFAULT_CMP0025=NEW)
+ endif()
+ if(RunCMake_TEST_COMMAND)
+ execute_process(
+ COMMAND ${RunCMake_TEST_COMMAND}
+ WORKING_DIRECTORY "${RunCMake_TEST_BINARY_DIR}"
+ OUTPUT_VARIABLE actual_stdout
+ ERROR_VARIABLE actual_stderr
+ RESULT_VARIABLE actual_result
+ )
+ else()
+ execute_process(
+ COMMAND ${CMAKE_COMMAND} "${RunCMake_TEST_SOURCE_DIR}"
+ -G "${RunCMake_GENERATOR}"
+ -T "${RunCMake_GENERATOR_TOOLSET}"
+ -DRunCMake_TEST=${test}
+ ${RunCMake_TEST_OPTIONS}
+ WORKING_DIRECTORY "${RunCMake_TEST_BINARY_DIR}"
+ OUTPUT_VARIABLE actual_stdout
+ ERROR_VARIABLE actual_stderr
+ RESULT_VARIABLE actual_result
+ )
+ endif()
set(msg "")
if(NOT "${actual_result}" STREQUAL "${expect_result}")
set(msg "${msg}Result is [${actual_result}], not [${expect_result}].\n")
endif()
foreach(o out err)
+ string(REGEX REPLACE "(^|\n)(==[0-9]+==[^\n]*\n)+" "\\1" actual_std${o} "${actual_std${o}}")
string(REGEX REPLACE "\n+$" "" actual_std${o} "${actual_std${o}}")
set(expect_${o} "")
if(DEFINED expect_std${o})
@@ -82,3 +96,8 @@ function(run_cmake test)
message(STATUS "${test} - PASSED")
endif()
endfunction()
+
+function(run_cmake_command test)
+ set(RunCMake_TEST_COMMAND "${ARGN}")
+ run_cmake(${test})
+endfunction()
diff --git a/Tests/RunCMake/Syntax/.gitattributes b/Tests/RunCMake/Syntax/.gitattributes
index fc9ebff..35a9eaf 100644
--- a/Tests/RunCMake/Syntax/.gitattributes
+++ b/Tests/RunCMake/Syntax/.gitattributes
@@ -1 +1,3 @@
CommandTabs.cmake whitespace=-tab-in-indent
+StringCRLF.cmake whitespace=cr-at-eol -crlf
+BracketCRLF.cmake whitespace=cr-at-eol -crlf
diff --git a/Tests/RunCMake/Syntax/BOM-UTF-16-BE-result.txt b/Tests/RunCMake/Syntax/BOM-UTF-16-BE-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BOM-UTF-16-BE-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/Syntax/BOM-UTF-16-BE-stderr.txt b/Tests/RunCMake/Syntax/BOM-UTF-16-BE-stderr.txt
new file mode 100644
index 0000000..b3f1e47
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BOM-UTF-16-BE-stderr.txt
@@ -0,0 +1,6 @@
+CMake Error at CMakeLists.txt:3 \(include\):
+ File
+
+ .*/Tests/RunCMake/Syntax/BOM-UTF-16-BE.cmake
+
+ starts with a Byte-Order-Mark that is not UTF-8.
diff --git a/Tests/RunCMake/Syntax/BOM-UTF-16-BE.cmake b/Tests/RunCMake/Syntax/BOM-UTF-16-BE.cmake
new file mode 100644
index 0000000..c51f6e6
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BOM-UTF-16-BE.cmake
Binary files differ
diff --git a/Tests/RunCMake/Syntax/BOM-UTF-16-LE-result.txt b/Tests/RunCMake/Syntax/BOM-UTF-16-LE-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BOM-UTF-16-LE-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/Syntax/BOM-UTF-16-LE-stderr.txt b/Tests/RunCMake/Syntax/BOM-UTF-16-LE-stderr.txt
new file mode 100644
index 0000000..c08c902
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BOM-UTF-16-LE-stderr.txt
@@ -0,0 +1,6 @@
+CMake Error at CMakeLists.txt:3 \(include\):
+ File
+
+ .*/Tests/RunCMake/Syntax/BOM-UTF-16-LE.cmake
+
+ starts with a Byte-Order-Mark that is not UTF-8.
diff --git a/Tests/RunCMake/Syntax/BOM-UTF-16-LE.cmake b/Tests/RunCMake/Syntax/BOM-UTF-16-LE.cmake
new file mode 100644
index 0000000..b57446f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BOM-UTF-16-LE.cmake
Binary files differ
diff --git a/Tests/RunCMake/Syntax/BOM-UTF-32-BE-result.txt b/Tests/RunCMake/Syntax/BOM-UTF-32-BE-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BOM-UTF-32-BE-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/Syntax/BOM-UTF-32-BE-stderr.txt b/Tests/RunCMake/Syntax/BOM-UTF-32-BE-stderr.txt
new file mode 100644
index 0000000..5dde4e3
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BOM-UTF-32-BE-stderr.txt
@@ -0,0 +1,6 @@
+CMake Error at CMakeLists.txt:3 \(include\):
+ File
+
+ .*/Tests/RunCMake/Syntax/BOM-UTF-32-BE.cmake
+
+ starts with a Byte-Order-Mark that is not UTF-8.
diff --git a/Tests/RunCMake/Syntax/BOM-UTF-32-BE.cmake b/Tests/RunCMake/Syntax/BOM-UTF-32-BE.cmake
new file mode 100644
index 0000000..23c57f3
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BOM-UTF-32-BE.cmake
Binary files differ
diff --git a/Tests/RunCMake/Syntax/BOM-UTF-32-LE-result.txt b/Tests/RunCMake/Syntax/BOM-UTF-32-LE-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BOM-UTF-32-LE-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/Syntax/BOM-UTF-32-LE-stderr.txt b/Tests/RunCMake/Syntax/BOM-UTF-32-LE-stderr.txt
new file mode 100644
index 0000000..eb054ec
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BOM-UTF-32-LE-stderr.txt
@@ -0,0 +1,6 @@
+CMake Error at CMakeLists.txt:3 \(include\):
+ File
+
+ .*/Tests/RunCMake/Syntax/BOM-UTF-32-LE.cmake
+
+ starts with a Byte-Order-Mark that is not UTF-8.
diff --git a/Tests/RunCMake/Syntax/BOM-UTF-32-LE.cmake b/Tests/RunCMake/Syntax/BOM-UTF-32-LE.cmake
new file mode 100644
index 0000000..c330f5b
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BOM-UTF-32-LE.cmake
Binary files differ
diff --git a/Tests/RunCMake/Syntax/BOM-UTF-8-stdout.txt b/Tests/RunCMake/Syntax/BOM-UTF-8-stdout.txt
new file mode 100644
index 0000000..5776d6e
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BOM-UTF-8-stdout.txt
@@ -0,0 +1 @@
+-- message
diff --git a/Tests/RunCMake/Syntax/BOM-UTF-8.cmake b/Tests/RunCMake/Syntax/BOM-UTF-8.cmake
new file mode 100644
index 0000000..bdff83b
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BOM-UTF-8.cmake
@@ -0,0 +1 @@
+message(STATUS "message")
diff --git a/Tests/RunCMake/Syntax/Bracket0-stderr.txt b/Tests/RunCMake/Syntax/Bracket0-stderr.txt
new file mode 100644
index 0000000..39cc2bc
--- /dev/null
+++ b/Tests/RunCMake/Syntax/Bracket0-stderr.txt
@@ -0,0 +1 @@
+^1 \${var} \\n 4$
diff --git a/Tests/RunCMake/Syntax/Bracket0.cmake b/Tests/RunCMake/Syntax/Bracket0.cmake
new file mode 100644
index 0000000..4bc0172
--- /dev/null
+++ b/Tests/RunCMake/Syntax/Bracket0.cmake
@@ -0,0 +1 @@
+message([[1 ${var} \n 4]])
diff --git a/Tests/RunCMake/Syntax/Bracket1-stderr.txt b/Tests/RunCMake/Syntax/Bracket1-stderr.txt
new file mode 100644
index 0000000..e1e13c1
--- /dev/null
+++ b/Tests/RunCMake/Syntax/Bracket1-stderr.txt
@@ -0,0 +1 @@
+^1 \${var} \\n 4\]==$
diff --git a/Tests/RunCMake/Syntax/Bracket1.cmake b/Tests/RunCMake/Syntax/Bracket1.cmake
new file mode 100644
index 0000000..587a575
--- /dev/null
+++ b/Tests/RunCMake/Syntax/Bracket1.cmake
@@ -0,0 +1,2 @@
+message([==[1 ]==] [=[
+${var} \n 4]==]=])
diff --git a/Tests/RunCMake/Syntax/Bracket2-stdout.txt b/Tests/RunCMake/Syntax/Bracket2-stdout.txt
new file mode 100644
index 0000000..0f8aa2f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/Bracket2-stdout.txt
@@ -0,0 +1,2 @@
+-- Bracket Argument 1
+-- Bracket Argument 2
diff --git a/Tests/RunCMake/Syntax/Bracket2.cmake b/Tests/RunCMake/Syntax/Bracket2.cmake
new file mode 100644
index 0000000..5c5feed
--- /dev/null
+++ b/Tests/RunCMake/Syntax/Bracket2.cmake
@@ -0,0 +1,2 @@
+message(STATUS [[Bracket Argument 1]] #[[Bracket Comment 1]])
+message(STATUS #[[Bracket Comment 2]] [[Bracket Argument 2]])
diff --git a/Tests/RunCMake/Syntax/BracketBackslash-result.txt b/Tests/RunCMake/Syntax/BracketBackslash-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketBackslash-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/Syntax/BracketBackslash-stderr.txt b/Tests/RunCMake/Syntax/BracketBackslash-stderr.txt
new file mode 100644
index 0000000..b746953
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketBackslash-stderr.txt
@@ -0,0 +1,6 @@
+CMake Error at BracketBackslash.cmake:1 \(message\):
+ a\\
+
+ b
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)$
diff --git a/Tests/RunCMake/Syntax/BracketBackslash.cmake b/Tests/RunCMake/Syntax/BracketBackslash.cmake
new file mode 100644
index 0000000..5478e5d
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketBackslash.cmake
@@ -0,0 +1,2 @@
+message(FATAL_ERROR [==[a\
+b]==])
diff --git a/Tests/RunCMake/Syntax/BracketCRLF-stderr.txt b/Tests/RunCMake/Syntax/BracketCRLF-stderr.txt
new file mode 100644
index 0000000..7aef26e
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketCRLF-stderr.txt
@@ -0,0 +1 @@
+CRLF->LF worked
diff --git a/Tests/RunCMake/Syntax/BracketCRLF.cmake b/Tests/RunCMake/Syntax/BracketCRLF.cmake
new file mode 100644
index 0000000..bda0e17
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketCRLF.cmake
@@ -0,0 +1,8 @@
+if([[
+]] STREQUAL "" AND
+[[a
+b]] STREQUAL "a\nb")
+ message("CRLF->LF worked")
+else()
+ message(FATAL_ERROR "CRLF->LF failed")
+endif()
diff --git a/Tests/RunCMake/Syntax/BracketComment0-stdout.txt b/Tests/RunCMake/Syntax/BracketComment0-stdout.txt
new file mode 100644
index 0000000..c9c0be4
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketComment0-stdout.txt
@@ -0,0 +1 @@
+-- The above FATAL_ERROR did not occur.
diff --git a/Tests/RunCMake/Syntax/BracketComment0.cmake b/Tests/RunCMake/Syntax/BracketComment0.cmake
new file mode 100644
index 0000000..0ee95de
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketComment0.cmake
@@ -0,0 +1,5 @@
+#[=[
+#]]
+message(FATAL_ERROR "This is commented out.")
+#]==]=]
+message(STATUS "The above FATAL_ERROR did not occur.")
diff --git a/Tests/RunCMake/Syntax/BracketComment1-result.txt b/Tests/RunCMake/Syntax/BracketComment1-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketComment1-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/Syntax/BracketComment1-stderr.txt b/Tests/RunCMake/Syntax/BracketComment1-stderr.txt
new file mode 100644
index 0000000..a9373de
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketComment1-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at BracketComment1.cmake:2 \(message\):
+ This is not commented out.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/Syntax/BracketComment1.cmake b/Tests/RunCMake/Syntax/BracketComment1.cmake
new file mode 100644
index 0000000..2ec9d20
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketComment1.cmake
@@ -0,0 +1,3 @@
+##[[
+message(FATAL_ERROR "This is not commented out.")
+#]]
diff --git a/Tests/RunCMake/Syntax/BracketComment2-result.txt b/Tests/RunCMake/Syntax/BracketComment2-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketComment2-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/Syntax/BracketComment2-stderr.txt b/Tests/RunCMake/Syntax/BracketComment2-stderr.txt
new file mode 100644
index 0000000..7e98222
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketComment2-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at BracketComment2.cmake:2 \(message\):
+ This is not commented out.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/Syntax/BracketComment2.cmake b/Tests/RunCMake/Syntax/BracketComment2.cmake
new file mode 100644
index 0000000..3eda32d
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketComment2.cmake
@@ -0,0 +1,3 @@
+# [[
+message(FATAL_ERROR "This is not commented out.")
+#]]
diff --git a/Tests/RunCMake/Syntax/BracketComment3-stdout.txt b/Tests/RunCMake/Syntax/BracketComment3-stdout.txt
new file mode 100644
index 0000000..c9c0be4
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketComment3-stdout.txt
@@ -0,0 +1 @@
+-- The above FATAL_ERROR did not occur.
diff --git a/Tests/RunCMake/Syntax/BracketComment3.cmake b/Tests/RunCMake/Syntax/BracketComment3.cmake
new file mode 100644
index 0000000..ffd03a9
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketComment3.cmake
@@ -0,0 +1,4 @@
+#[[Text on opening line
+message(FATAL_ERROR "This is commented out.")
+#]=]]
+message(STATUS "The above FATAL_ERROR did not occur.")
diff --git a/Tests/RunCMake/Syntax/BracketComment4-result.txt b/Tests/RunCMake/Syntax/BracketComment4-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketComment4-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/Syntax/BracketComment4-stderr.txt b/Tests/RunCMake/Syntax/BracketComment4-stderr.txt
new file mode 100644
index 0000000..8ba32c2
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketComment4-stderr.txt
@@ -0,0 +1,7 @@
+CMake Error: Error in cmake code at
+.*/Tests/RunCMake/Syntax/BracketComment4.cmake:3:
+Parse error. Expected a newline, got identifier with text "message".
+CMake Error at CMakeLists.txt:3 \(include\):
+ include could not find load file:
+
+ BracketComment4.cmake
diff --git a/Tests/RunCMake/Syntax/BracketComment4.cmake b/Tests/RunCMake/Syntax/BracketComment4.cmake
new file mode 100644
index 0000000..9d586f1
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketComment4.cmake
@@ -0,0 +1,3 @@
+#[[
+message(FATAL_ERROR "This is commented out.")
+#]] message(STATUS "This command not allowed here")
diff --git a/Tests/RunCMake/Syntax/BracketComment5-stdout.txt b/Tests/RunCMake/Syntax/BracketComment5-stdout.txt
new file mode 100644
index 0000000..c9c0be4
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketComment5-stdout.txt
@@ -0,0 +1 @@
+-- The above FATAL_ERROR did not occur.
diff --git a/Tests/RunCMake/Syntax/BracketComment5.cmake b/Tests/RunCMake/Syntax/BracketComment5.cmake
new file mode 100644
index 0000000..dc9e6b4
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketComment5.cmake
@@ -0,0 +1,11 @@
+#[[
+message(FATAL_ERROR "This is commented out.")
+#]] #[[
+message(FATAL_ERROR "This is commented out.")
+#]]#[[
+message(FATAL_ERROR "This is commented out.")
+#]] #message(FATAL_ERROR "This is commented out.")
+#[[
+message(FATAL_ERROR "This is commented out.")
+#]]#message(FATAL_ERROR "This is commented out.")
+message(STATUS "The above FATAL_ERROR did not occur.")
diff --git a/Tests/RunCMake/Syntax/BracketNoSpace0-result.txt b/Tests/RunCMake/Syntax/BracketNoSpace0-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketNoSpace0-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/Syntax/BracketNoSpace0-stderr.txt b/Tests/RunCMake/Syntax/BracketNoSpace0-stderr.txt
new file mode 100644
index 0000000..afd91f9
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketNoSpace0-stderr.txt
@@ -0,0 +1,6 @@
+CMake Error at CMakeLists.txt:3 \(include\):
+ Syntax Error in cmake code at
+
+ .*/Tests/RunCMake/Syntax/BracketNoSpace0.cmake:1:27
+
+ Argument not separated from preceding token by whitespace.
diff --git a/Tests/RunCMake/Syntax/BracketNoSpace0.cmake b/Tests/RunCMake/Syntax/BracketNoSpace0.cmake
new file mode 100644
index 0000000..1de1450
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketNoSpace0.cmake
@@ -0,0 +1 @@
+message(STATUS [[bracket]]unquoted)
diff --git a/Tests/RunCMake/Syntax/BracketNoSpace1-result.txt b/Tests/RunCMake/Syntax/BracketNoSpace1-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketNoSpace1-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/Syntax/BracketNoSpace1-stderr.txt b/Tests/RunCMake/Syntax/BracketNoSpace1-stderr.txt
new file mode 100644
index 0000000..826e511
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketNoSpace1-stderr.txt
@@ -0,0 +1,6 @@
+CMake Error at CMakeLists.txt:3 \(include\):
+ Syntax Error in cmake code at
+
+ .*/Tests/RunCMake/Syntax/BracketNoSpace1.cmake:1:24
+
+ Argument not separated from preceding token by whitespace.
diff --git a/Tests/RunCMake/Syntax/BracketNoSpace1.cmake b/Tests/RunCMake/Syntax/BracketNoSpace1.cmake
new file mode 100644
index 0000000..7982bf3
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketNoSpace1.cmake
@@ -0,0 +1 @@
+message(STATUS "string"[[bracket]])
diff --git a/Tests/RunCMake/Syntax/BracketNoSpace2-result.txt b/Tests/RunCMake/Syntax/BracketNoSpace2-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketNoSpace2-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/Syntax/BracketNoSpace2-stderr.txt b/Tests/RunCMake/Syntax/BracketNoSpace2-stderr.txt
new file mode 100644
index 0000000..23ecdcd
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketNoSpace2-stderr.txt
@@ -0,0 +1,6 @@
+CMake Error at CMakeLists.txt:3 \(include\):
+ Syntax Error in cmake code at
+
+ .*/Tests/RunCMake/Syntax/BracketNoSpace2.cmake:1:44
+
+ Argument not separated from preceding token by whitespace.
diff --git a/Tests/RunCMake/Syntax/BracketNoSpace2.cmake b/Tests/RunCMake/Syntax/BracketNoSpace2.cmake
new file mode 100644
index 0000000..f1507f3
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketNoSpace2.cmake
@@ -0,0 +1 @@
+message(STATUS "string"#[[bracket comment]][[bracket]])
diff --git a/Tests/RunCMake/Syntax/BracketNoSpace3-result.txt b/Tests/RunCMake/Syntax/BracketNoSpace3-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketNoSpace3-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/Syntax/BracketNoSpace3-stderr.txt b/Tests/RunCMake/Syntax/BracketNoSpace3-stderr.txt
new file mode 100644
index 0000000..906d6fc
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketNoSpace3-stderr.txt
@@ -0,0 +1,6 @@
+CMake Error at CMakeLists.txt:3 \(include\):
+ Syntax Error in cmake code at
+
+ .*/Tests/RunCMake/Syntax/BracketNoSpace3.cmake:1:45
+
+ Argument not separated from preceding token by whitespace.
diff --git a/Tests/RunCMake/Syntax/BracketNoSpace3.cmake b/Tests/RunCMake/Syntax/BracketNoSpace3.cmake
new file mode 100644
index 0000000..45dc900
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketNoSpace3.cmake
@@ -0,0 +1 @@
+message(STATUS "string" #[[bracket comment]][[bracket]])
diff --git a/Tests/RunCMake/Syntax/BracketNoSpace4-result.txt b/Tests/RunCMake/Syntax/BracketNoSpace4-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketNoSpace4-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/Syntax/BracketNoSpace4-stderr.txt b/Tests/RunCMake/Syntax/BracketNoSpace4-stderr.txt
new file mode 100644
index 0000000..a461e93
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketNoSpace4-stderr.txt
@@ -0,0 +1,6 @@
+CMake Error at CMakeLists.txt:3 \(include\):
+ Syntax Error in cmake code at
+
+ .*/Tests/RunCMake/Syntax/BracketNoSpace4.cmake:1:44
+
+ Argument not separated from preceding token by whitespace.
diff --git a/Tests/RunCMake/Syntax/BracketNoSpace4.cmake b/Tests/RunCMake/Syntax/BracketNoSpace4.cmake
new file mode 100644
index 0000000..cb4ddbe
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketNoSpace4.cmake
@@ -0,0 +1 @@
+message(STATUS "string"#[[bracket comment]]"string")
diff --git a/Tests/RunCMake/Syntax/BracketNoSpace5-result.txt b/Tests/RunCMake/Syntax/BracketNoSpace5-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketNoSpace5-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/Syntax/BracketNoSpace5-stderr.txt b/Tests/RunCMake/Syntax/BracketNoSpace5-stderr.txt
new file mode 100644
index 0000000..ff8bf1c
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketNoSpace5-stderr.txt
@@ -0,0 +1,6 @@
+CMake Error at CMakeLists.txt:3 \(include\):
+ Syntax Error in cmake code at
+
+ .*/Tests/RunCMake/Syntax/BracketNoSpace5.cmake:1:45
+
+ Argument not separated from preceding token by whitespace.
diff --git a/Tests/RunCMake/Syntax/BracketNoSpace5.cmake b/Tests/RunCMake/Syntax/BracketNoSpace5.cmake
new file mode 100644
index 0000000..c684523
--- /dev/null
+++ b/Tests/RunCMake/Syntax/BracketNoSpace5.cmake
@@ -0,0 +1 @@
+message(STATUS "string" #[[bracket comment]]"string")
diff --git a/Tests/RunCMake/Syntax/BracketWarn-stderr.txt b/Tests/RunCMake/Syntax/BracketWarn-stderr.txt
deleted file mode 100644
index 4a9cca6..0000000
--- a/Tests/RunCMake/Syntax/BracketWarn-stderr.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-CMake Warning \(dev\) at CMakeLists.txt:3 \(include\):
- Syntax Warning in cmake code at
-
- .*/Tests/RunCMake/Syntax/BracketWarn.cmake:1:16
-
- A future version of CMake may treat unquoted argument:
-
- \[\[
-
- as an opening long bracket. Double-quote the argument.
-This warning is for project developers. Use -Wno-dev to suppress it.
-
-CMake Warning \(dev\) at CMakeLists.txt:3 \(include\):
- Syntax Warning in cmake code at
-
- .*/Tests/RunCMake/Syntax/BracketWarn.cmake:1:19
-
- A future version of CMake may treat unquoted argument:
-
- \[=\[
-
- as an opening long bracket. Double-quote the argument.
-This warning is for project developers. Use -Wno-dev to suppress it.
-
-CMake Warning \(dev\) at CMakeLists.txt:3 \(include\):
- Syntax Warning in cmake code at
-
- .*/Tests/RunCMake/Syntax/BracketWarn.cmake:1:27
-
- A future version of CMake may treat unquoted argument:
-
- \[==\[x
-
- as an opening long bracket. Double-quote the argument.
-This warning is for project developers. Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/Syntax/BracketWarn-stdout.txt b/Tests/RunCMake/Syntax/BracketWarn-stdout.txt
deleted file mode 100644
index 01b2caa..0000000
--- a/Tests/RunCMake/Syntax/BracketWarn-stdout.txt
+++ /dev/null
@@ -1 +0,0 @@
--- \[\[\[=\[\[=x\[==\[x
diff --git a/Tests/RunCMake/Syntax/BracketWarn.cmake b/Tests/RunCMake/Syntax/BracketWarn.cmake
deleted file mode 100644
index 8f33946..0000000
--- a/Tests/RunCMake/Syntax/BracketWarn.cmake
+++ /dev/null
@@ -1 +0,0 @@
-message(STATUS [[ [=[ [=x [==[x)
diff --git a/Tests/RunCMake/Syntax/CommandError2-result.txt b/Tests/RunCMake/Syntax/CommandError2-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/CommandError2-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/Syntax/CommandError2-stderr.txt b/Tests/RunCMake/Syntax/CommandError2-stderr.txt
new file mode 100644
index 0000000..f4dfc77
--- /dev/null
+++ b/Tests/RunCMake/Syntax/CommandError2-stderr.txt
@@ -0,0 +1,7 @@
+CMake Error: Error in cmake code at
+.*/Tests/RunCMake/Syntax/CommandError2.cmake:1:
+Parse error. Expected a command name, got bracket argument with text "oops-not-a-comment".
+CMake Error at CMakeLists.txt:3 \(include\):
+ include could not find load file:
+
+ CommandError2.cmake
diff --git a/Tests/RunCMake/Syntax/CommandError2.cmake b/Tests/RunCMake/Syntax/CommandError2.cmake
new file mode 100644
index 0000000..a269682
--- /dev/null
+++ b/Tests/RunCMake/Syntax/CommandError2.cmake
@@ -0,0 +1 @@
+message("Example Message") [[oops-not-a-comment]]
diff --git a/Tests/RunCMake/Syntax/Escape1-stderr.txt b/Tests/RunCMake/Syntax/Escape1-stderr.txt
new file mode 100644
index 0000000..6601ce7
--- /dev/null
+++ b/Tests/RunCMake/Syntax/Escape1-stderr.txt
@@ -0,0 +1,3 @@
+^\\##\[\[#\]\]#\[\[\]\]x#\\"
+\$\@\^\\; \(\)#\\"
+\$\@\^; \(\)$
diff --git a/Tests/RunCMake/Syntax/Escape1.cmake b/Tests/RunCMake/Syntax/Escape1.cmake
new file mode 100644
index 0000000..3bf801e
--- /dev/null
+++ b/Tests/RunCMake/Syntax/Escape1.cmake
@@ -0,0 +1,3 @@
+message([[\#]] \#[[ \#]] "#[[]]" x#comment
+ "\#\\\"\n\$\@\^\;\ \t\(\)"#comment
+ \#\\\"\n\$\@\^\;\ \t\(\))
diff --git a/Tests/RunCMake/Syntax/ForEachBracket1-stderr.txt b/Tests/RunCMake/Syntax/ForEachBracket1-stderr.txt
new file mode 100644
index 0000000..93c31cf
--- /dev/null
+++ b/Tests/RunCMake/Syntax/ForEachBracket1-stderr.txt
@@ -0,0 +1,2 @@
+^\${x}:a
+\${x}:b$
diff --git a/Tests/RunCMake/Syntax/ForEachBracket1.cmake b/Tests/RunCMake/Syntax/ForEachBracket1.cmake
new file mode 100644
index 0000000..a55e21f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/ForEachBracket1.cmake
@@ -0,0 +1,3 @@
+foreach(x a b)
+ message([[${x}:]] "${x}")
+endforeach()
diff --git a/Tests/RunCMake/Syntax/FunctionBracket1-stderr.txt b/Tests/RunCMake/Syntax/FunctionBracket1-stderr.txt
new file mode 100644
index 0000000..9ba6179
--- /dev/null
+++ b/Tests/RunCMake/Syntax/FunctionBracket1-stderr.txt
@@ -0,0 +1,2 @@
+^\${x},\${ARGN},\${ARGC},\${ARGV},\${ARGV0},\${ARGV1},\${ARGV2}:a,n,2,a;n,a,n,
+\${x},\${ARGN},\${ARGC},\${ARGV},\${ARGV0},\${ARGV1},\${ARGV2}:b,n,2,b;n,b,n,$
diff --git a/Tests/RunCMake/Syntax/FunctionBracket1.cmake b/Tests/RunCMake/Syntax/FunctionBracket1.cmake
new file mode 100644
index 0000000..8ed4f65
--- /dev/null
+++ b/Tests/RunCMake/Syntax/FunctionBracket1.cmake
@@ -0,0 +1,6 @@
+function(fun x)
+ message([[${x},${ARGN},${ARGC},${ARGV},${ARGV0},${ARGV1},${ARGV2}:]]
+ "${x},${ARGN},${ARGC},${ARGV},${ARGV0},${ARGV1},${ARGV2}")
+endfunction(fun)
+fun(a n)
+fun(b n)
diff --git a/Tests/RunCMake/Syntax/MacroBracket1-stderr.txt b/Tests/RunCMake/Syntax/MacroBracket1-stderr.txt
new file mode 100644
index 0000000..9ba6179
--- /dev/null
+++ b/Tests/RunCMake/Syntax/MacroBracket1-stderr.txt
@@ -0,0 +1,2 @@
+^\${x},\${ARGN},\${ARGC},\${ARGV},\${ARGV0},\${ARGV1},\${ARGV2}:a,n,2,a;n,a,n,
+\${x},\${ARGN},\${ARGC},\${ARGV},\${ARGV0},\${ARGV1},\${ARGV2}:b,n,2,b;n,b,n,$
diff --git a/Tests/RunCMake/Syntax/MacroBracket1.cmake b/Tests/RunCMake/Syntax/MacroBracket1.cmake
new file mode 100644
index 0000000..ef6de20
--- /dev/null
+++ b/Tests/RunCMake/Syntax/MacroBracket1.cmake
@@ -0,0 +1,6 @@
+macro(mac x)
+ message([[${x},${ARGN},${ARGC},${ARGV},${ARGV0},${ARGV1},${ARGV2}:]]
+ "${x},${ARGN},${ARGC},${ARGV},${ARGV0},${ARGV1},${ARGV2}")
+endmacro(mac)
+mac(a n)
+mac(b n)
diff --git a/Tests/RunCMake/Syntax/OneLetter-stderr.txt b/Tests/RunCMake/Syntax/OneLetter-stderr.txt
new file mode 100644
index 0000000..87c01c7
--- /dev/null
+++ b/Tests/RunCMake/Syntax/OneLetter-stderr.txt
@@ -0,0 +1 @@
+message
diff --git a/Tests/RunCMake/Syntax/OneLetter.cmake b/Tests/RunCMake/Syntax/OneLetter.cmake
new file mode 100644
index 0000000..3c341fa
--- /dev/null
+++ b/Tests/RunCMake/Syntax/OneLetter.cmake
@@ -0,0 +1,7 @@
+function(f)
+ g(${ARGN})
+endfunction()
+macro(g)
+ message(${ARGN})
+endmacro()
+f(message)
diff --git a/Tests/RunCMake/Syntax/ParenNoSpace-stdout.txt b/Tests/RunCMake/Syntax/ParenNoSpace-stdout.txt
deleted file mode 100644
index 72addd7..0000000
--- a/Tests/RunCMake/Syntax/ParenNoSpace-stdout.txt
+++ /dev/null
@@ -1,2 +0,0 @@
--- unquoted\(unquoted\)
--- quoted\(quoted\)
diff --git a/Tests/RunCMake/Syntax/ParenNoSpace.cmake b/Tests/RunCMake/Syntax/ParenNoSpace.cmake
deleted file mode 100644
index c690d96..0000000
--- a/Tests/RunCMake/Syntax/ParenNoSpace.cmake
+++ /dev/null
@@ -1,2 +0,0 @@
-message(STATUS unquoted(unquoted))
-message(STATUS "quoted"("quoted"))
diff --git a/Tests/RunCMake/Syntax/ParenNoSpace0-stdout.txt b/Tests/RunCMake/Syntax/ParenNoSpace0-stdout.txt
new file mode 100644
index 0000000..5c4076f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/ParenNoSpace0-stdout.txt
@@ -0,0 +1,3 @@
+-- \(unquoted\)
+-- \(quoted\)
+-- \(bracket\)
diff --git a/Tests/RunCMake/Syntax/ParenNoSpace0.cmake b/Tests/RunCMake/Syntax/ParenNoSpace0.cmake
new file mode 100644
index 0000000..175fe4a
--- /dev/null
+++ b/Tests/RunCMake/Syntax/ParenNoSpace0.cmake
@@ -0,0 +1,3 @@
+message(STATUS (unquoted))
+message(STATUS ("quoted"))
+message(STATUS ([[bracket]]))
diff --git a/Tests/RunCMake/Syntax/ParenNoSpace1-result.txt b/Tests/RunCMake/Syntax/ParenNoSpace1-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/ParenNoSpace1-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/Syntax/ParenNoSpace1-stderr.txt b/Tests/RunCMake/Syntax/ParenNoSpace1-stderr.txt
new file mode 100644
index 0000000..64ef8b1
--- /dev/null
+++ b/Tests/RunCMake/Syntax/ParenNoSpace1-stderr.txt
@@ -0,0 +1,22 @@
+CMake Warning \(dev\) at CMakeLists.txt:3 \(include\):
+ Syntax Warning in cmake code at
+
+ .*/Tests/RunCMake/Syntax/ParenNoSpace1.cmake:1:26
+
+ Argument not separated from preceding token by whitespace.
+This warning is for project developers. Use -Wno-dev to suppress it.
+
+CMake Warning \(dev\) at CMakeLists.txt:3 \(include\):
+ Syntax Warning in cmake code at
+
+ .*/Tests/RunCMake/Syntax/ParenNoSpace1.cmake:2:26
+
+ Argument not separated from preceding token by whitespace.
+This warning is for project developers. Use -Wno-dev to suppress it.
+
+CMake Error at CMakeLists.txt:3 \(include\):
+ Syntax Error in cmake code at
+
+ .*/Tests/RunCMake/Syntax/ParenNoSpace1.cmake:3:29
+
+ Argument not separated from preceding token by whitespace.
diff --git a/Tests/RunCMake/Syntax/ParenNoSpace1.cmake b/Tests/RunCMake/Syntax/ParenNoSpace1.cmake
new file mode 100644
index 0000000..550339a
--- /dev/null
+++ b/Tests/RunCMake/Syntax/ParenNoSpace1.cmake
@@ -0,0 +1,3 @@
+message(STATUS (unquoted)unquoted)
+message(STATUS ("quoted")"quoted")
+message(STATUS ([[bracket]])[[bracket]])
diff --git a/Tests/RunCMake/Syntax/ParenNoSpace2-stderr.txt b/Tests/RunCMake/Syntax/ParenNoSpace2-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/Syntax/ParenNoSpace2-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/Syntax/ParenNoSpace2-stdout.txt b/Tests/RunCMake/Syntax/ParenNoSpace2-stdout.txt
new file mode 100644
index 0000000..0e657b9
--- /dev/null
+++ b/Tests/RunCMake/Syntax/ParenNoSpace2-stdout.txt
@@ -0,0 +1,3 @@
+-- unquoted\(unquoted\)
+-- quoted\(quoted\)
+-- bracket\(bracket\)
diff --git a/Tests/RunCMake/Syntax/ParenNoSpace2.cmake b/Tests/RunCMake/Syntax/ParenNoSpace2.cmake
new file mode 100644
index 0000000..c46a887
--- /dev/null
+++ b/Tests/RunCMake/Syntax/ParenNoSpace2.cmake
@@ -0,0 +1,3 @@
+message(STATUS unquoted(unquoted))
+message(STATUS "quoted"("quoted"))
+message(STATUS [[bracket]]([[bracket]]))
diff --git a/Tests/RunCMake/Syntax/RunCMakeTest.cmake b/Tests/RunCMake/Syntax/RunCMakeTest.cmake
index 94963f3..5f05cfc 100644
--- a/Tests/RunCMake/Syntax/RunCMakeTest.cmake
+++ b/Tests/RunCMake/Syntax/RunCMakeTest.cmake
@@ -1,18 +1,54 @@
include(RunCMake)
+run_cmake(BOM-UTF-8)
+run_cmake(BOM-UTF-16-LE)
+run_cmake(BOM-UTF-16-BE)
+run_cmake(BOM-UTF-32-LE)
+run_cmake(BOM-UTF-32-BE)
run_cmake(CommandSpaces)
run_cmake(CommandTabs)
run_cmake(CommandNewlines)
run_cmake(CommandComments)
run_cmake(CommandError0)
run_cmake(CommandError1)
+run_cmake(CommandError2)
+run_cmake(ForEachBracket1)
+run_cmake(FunctionBracket1)
+run_cmake(MacroBracket1)
run_cmake(String0)
run_cmake(String1)
+run_cmake(StringBackslash)
+run_cmake(StringCRLF)
+run_cmake(StringContinuation1)
+run_cmake(StringContinuation2)
run_cmake(StringNoSpace)
+run_cmake(OneLetter)
run_cmake(Unquoted0)
run_cmake(Unquoted1)
-run_cmake(ParenNoSpace)
+run_cmake(Bracket0)
+run_cmake(Bracket1)
+run_cmake(Bracket2)
+run_cmake(BracketBackslash)
+run_cmake(BracketCRLF)
+run_cmake(BracketComment0)
+run_cmake(BracketComment1)
+run_cmake(BracketComment2)
+run_cmake(BracketComment3)
+run_cmake(BracketComment4)
+run_cmake(BracketComment5)
+run_cmake(BracketNoSpace0)
+run_cmake(BracketNoSpace1)
+run_cmake(BracketNoSpace2)
+run_cmake(BracketNoSpace3)
+run_cmake(BracketNoSpace4)
+run_cmake(BracketNoSpace5)
+run_cmake(Escape1)
+run_cmake(ParenNoSpace0)
+run_cmake(ParenNoSpace1)
+run_cmake(ParenNoSpace2)
run_cmake(UnterminatedCall1)
run_cmake(UnterminatedCall2)
run_cmake(UnterminatedString)
-run_cmake(BracketWarn)
+run_cmake(UnterminatedBracket0)
+run_cmake(UnterminatedBracket1)
+run_cmake(UnterminatedBracketComment)
diff --git a/Tests/RunCMake/Syntax/StringBackslash-result.txt b/Tests/RunCMake/Syntax/StringBackslash-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/StringBackslash-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/Syntax/StringBackslash-stderr.txt b/Tests/RunCMake/Syntax/StringBackslash-stderr.txt
new file mode 100644
index 0000000..214f914
--- /dev/null
+++ b/Tests/RunCMake/Syntax/StringBackslash-stderr.txt
@@ -0,0 +1,6 @@
+CMake Error at StringBackslash.cmake:1 \(message\):
+ a\\
+
+ b
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/Syntax/StringBackslash.cmake b/Tests/RunCMake/Syntax/StringBackslash.cmake
new file mode 100644
index 0000000..066be96
--- /dev/null
+++ b/Tests/RunCMake/Syntax/StringBackslash.cmake
@@ -0,0 +1,2 @@
+message(FATAL_ERROR "a\\
+b")
diff --git a/Tests/RunCMake/Syntax/StringCRLF-stderr.txt b/Tests/RunCMake/Syntax/StringCRLF-stderr.txt
new file mode 100644
index 0000000..7aef26e
--- /dev/null
+++ b/Tests/RunCMake/Syntax/StringCRLF-stderr.txt
@@ -0,0 +1 @@
+CRLF->LF worked
diff --git a/Tests/RunCMake/Syntax/StringCRLF.cmake b/Tests/RunCMake/Syntax/StringCRLF.cmake
new file mode 100644
index 0000000..d20cfea
--- /dev/null
+++ b/Tests/RunCMake/Syntax/StringCRLF.cmake
@@ -0,0 +1,6 @@
+if("a
+b" STREQUAL "a\nb")
+ message("CRLF->LF worked")
+else()
+ message(FATAL_ERROR "CRLF->LF failed")
+endif()
diff --git a/Tests/RunCMake/Syntax/StringContinuation1-result.txt b/Tests/RunCMake/Syntax/StringContinuation1-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/StringContinuation1-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/Syntax/StringContinuation1-stderr.txt b/Tests/RunCMake/Syntax/StringContinuation1-stderr.txt
new file mode 100644
index 0000000..05771da
--- /dev/null
+++ b/Tests/RunCMake/Syntax/StringContinuation1-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at StringContinuation1.cmake:1 \(message\):
+ ab
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/Syntax/StringContinuation1.cmake b/Tests/RunCMake/Syntax/StringContinuation1.cmake
new file mode 100644
index 0000000..ae86bb2
--- /dev/null
+++ b/Tests/RunCMake/Syntax/StringContinuation1.cmake
@@ -0,0 +1,2 @@
+message(FATAL_ERROR "a\
+b")
diff --git a/Tests/RunCMake/Syntax/StringContinuation2-result.txt b/Tests/RunCMake/Syntax/StringContinuation2-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/StringContinuation2-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/Syntax/StringContinuation2-stderr.txt b/Tests/RunCMake/Syntax/StringContinuation2-stderr.txt
new file mode 100644
index 0000000..2f4964c
--- /dev/null
+++ b/Tests/RunCMake/Syntax/StringContinuation2-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at StringContinuation2.cmake:1 \(message\):
+ a\\b
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/Syntax/StringContinuation2.cmake b/Tests/RunCMake/Syntax/StringContinuation2.cmake
new file mode 100644
index 0000000..490a408
--- /dev/null
+++ b/Tests/RunCMake/Syntax/StringContinuation2.cmake
@@ -0,0 +1,2 @@
+message(FATAL_ERROR "a\\\
+b")
diff --git a/Tests/RunCMake/Syntax/UnterminatedBracket0-result.txt b/Tests/RunCMake/Syntax/UnterminatedBracket0-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/UnterminatedBracket0-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/Syntax/UnterminatedBracket0-stderr.txt b/Tests/RunCMake/Syntax/UnterminatedBracket0-stderr.txt
new file mode 100644
index 0000000..3559c18
--- /dev/null
+++ b/Tests/RunCMake/Syntax/UnterminatedBracket0-stderr.txt
@@ -0,0 +1,8 @@
+CMake Error: Error in cmake code at
+.*/Syntax/UnterminatedBracket0.cmake:2:
+Parse error. Function missing ending "\)". Instead found unterminated bracket with text "\)
+".
+CMake Error at CMakeLists.txt:3 \(include\):
+ include could not find load file:
+
+ UnterminatedBracket0.cmake$
diff --git a/Tests/RunCMake/Syntax/UnterminatedBracket0.cmake b/Tests/RunCMake/Syntax/UnterminatedBracket0.cmake
new file mode 100644
index 0000000..98cd906
--- /dev/null
+++ b/Tests/RunCMake/Syntax/UnterminatedBracket0.cmake
@@ -0,0 +1 @@
+set(var [[)
diff --git a/Tests/RunCMake/Syntax/UnterminatedBracket1-result.txt b/Tests/RunCMake/Syntax/UnterminatedBracket1-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/UnterminatedBracket1-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/Syntax/UnterminatedBracket1-stderr.txt b/Tests/RunCMake/Syntax/UnterminatedBracket1-stderr.txt
new file mode 100644
index 0000000..55d458b
--- /dev/null
+++ b/Tests/RunCMake/Syntax/UnterminatedBracket1-stderr.txt
@@ -0,0 +1,8 @@
+CMake Error: Error in cmake code at
+.*/Syntax/UnterminatedBracket1.cmake:2:
+Parse error. Function missing ending "\)". Instead found unterminated bracket with text "\]\]\)
+".
+CMake Error at CMakeLists.txt:3 \(include\):
+ include could not find load file:
+
+ UnterminatedBracket1.cmake$
diff --git a/Tests/RunCMake/Syntax/UnterminatedBracket1.cmake b/Tests/RunCMake/Syntax/UnterminatedBracket1.cmake
new file mode 100644
index 0000000..706f7a3
--- /dev/null
+++ b/Tests/RunCMake/Syntax/UnterminatedBracket1.cmake
@@ -0,0 +1 @@
+set(var [=[]])
diff --git a/Tests/RunCMake/Syntax/UnterminatedBracketComment-result.txt b/Tests/RunCMake/Syntax/UnterminatedBracketComment-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/Syntax/UnterminatedBracketComment-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/Syntax/UnterminatedBracketComment-stderr.txt b/Tests/RunCMake/Syntax/UnterminatedBracketComment-stderr.txt
new file mode 100644
index 0000000..0a799eb
--- /dev/null
+++ b/Tests/RunCMake/Syntax/UnterminatedBracketComment-stderr.txt
@@ -0,0 +1,8 @@
+CMake Error: Error in cmake code at
+.*/Syntax/UnterminatedBracketComment.cmake:1:
+Parse error. Expected a command name, got unterminated bracket with text "#\]\]
+".
+CMake Error at CMakeLists.txt:3 \(include\):
+ include could not find load file:
+
+ UnterminatedBracketComment.cmake
diff --git a/Tests/RunCMake/Syntax/UnterminatedBracketComment.cmake b/Tests/RunCMake/Syntax/UnterminatedBracketComment.cmake
new file mode 100644
index 0000000..ad71f3c
--- /dev/null
+++ b/Tests/RunCMake/Syntax/UnterminatedBracketComment.cmake
@@ -0,0 +1,2 @@
+#[=[
+#]]
diff --git a/Tests/RunCMake/TargetPolicies/PolicyList-stderr.txt b/Tests/RunCMake/TargetPolicies/PolicyList-stderr.txt
index 6533b75..f30c9a9 100644
--- a/Tests/RunCMake/TargetPolicies/PolicyList-stderr.txt
+++ b/Tests/RunCMake/TargetPolicies/PolicyList-stderr.txt
@@ -11,3 +11,11 @@
\* CMP0020
\* CMP0021
\* CMP0022
+ \* CMP0027
+ \* CMP0038
+ \* CMP0041
+ \* CMP0042
+ \* CMP0046
+
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/build_command/BeforeProject-stderr.txt b/Tests/RunCMake/build_command/BeforeProject-stderr.txt
index d3d7661..2ae0ed1 100644
--- a/Tests/RunCMake/build_command/BeforeProject-stderr.txt
+++ b/Tests/RunCMake/build_command/BeforeProject-stderr.txt
@@ -1,5 +1,7 @@
-CMake Error at BeforeProject.cmake:[0-9]+ \(build_command\):
- build_command\(\) requires CMAKE_MAKE_PROGRAM to be defined. Call project\(\)
- or enable_language\(\) first.
+CMake Warning \(dev\) at BeforeProject.cmake:2 \(message\):
+ build_command\(\) returned:
+
+ .*cmake.* --build \..*
Call Stack \(most recent call first\):
- CMakeLists.txt:[0-9]+ \(include\)
+ CMakeLists.txt:5 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/build_command/BeforeProject.cmake b/Tests/RunCMake/build_command/BeforeProject.cmake
index 15788d1..a2175c4 100644
--- a/Tests/RunCMake/build_command/BeforeProject.cmake
+++ b/Tests/RunCMake/build_command/BeforeProject.cmake
@@ -1,2 +1,3 @@
build_command(MAKECOMMAND_DEFAULT_VALUE)
+message(AUTHOR_WARNING "build_command() returned:\n ${MAKECOMMAND_DEFAULT_VALUE}")
project(${RunCMake_TEST} NONE)
diff --git a/Tests/RunCMake/build_command/ErrorsCommon.cmake b/Tests/RunCMake/build_command/ErrorsCommon.cmake
index d224539..f007b88 100644
--- a/Tests/RunCMake/build_command/ErrorsCommon.cmake
+++ b/Tests/RunCMake/build_command/ErrorsCommon.cmake
@@ -37,9 +37,9 @@ build_command(cmd)
message("4. cmd='${cmd}'")
# Test the two-arg legacy signature:
-build_command(legacy_cmd ${CMAKE_BUILD_TOOL})
+build_command(legacy_cmd ${CMAKE_MAKE_PROGRAM})
message("5. legacy_cmd='${legacy_cmd}'")
-message(" CMAKE_BUILD_TOOL='${CMAKE_BUILD_TOOL}'")
+message(" CMAKE_MAKE_PROGRAM='${CMAKE_MAKE_PROGRAM}'")
# Test the optional KEYWORDs:
build_command(cmd CONFIGURATION hoohaaConfig)
diff --git a/Tests/RunCMake/cmake_minimum_required/Before24-stderr.txt b/Tests/RunCMake/cmake_minimum_required/Before24-stderr.txt
new file mode 100644
index 0000000..4a6f16d
--- /dev/null
+++ b/Tests/RunCMake/cmake_minimum_required/Before24-stderr.txt
@@ -0,0 +1,5 @@
+CMake Warning \(dev\) at Before24.cmake:1 \(cmake_minimum_required\):
+ Compatibility with CMake < 2.4 is not supported by CMake >= 3.0.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/cmake_minimum_required/Before24.cmake b/Tests/RunCMake/cmake_minimum_required/Before24.cmake
new file mode 100644
index 0000000..c28fc8a
--- /dev/null
+++ b/Tests/RunCMake/cmake_minimum_required/Before24.cmake
@@ -0,0 +1 @@
+cmake_minimum_required(VERSION 2.2)
diff --git a/Tests/RunCMake/cmake_minimum_required/CMakeLists.txt b/Tests/RunCMake/cmake_minimum_required/CMakeLists.txt
new file mode 100644
index 0000000..e8db6b0
--- /dev/null
+++ b/Tests/RunCMake/cmake_minimum_required/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8)
+project(${RunCMake_TEST} NONE)
+include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/cmake_minimum_required/CompatBefore24-result.txt b/Tests/RunCMake/cmake_minimum_required/CompatBefore24-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/cmake_minimum_required/CompatBefore24-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/cmake_minimum_required/CompatBefore24-stderr.txt b/Tests/RunCMake/cmake_minimum_required/CompatBefore24-stderr.txt
new file mode 100644
index 0000000..a874466
--- /dev/null
+++ b/Tests/RunCMake/cmake_minimum_required/CompatBefore24-stderr.txt
@@ -0,0 +1,5 @@
+CMake Error in CMakeLists.txt:
+ You have set CMAKE_BACKWARDS_COMPATIBILITY to a CMake version less than
+ 2.4. This version of CMake only supports backwards compatibility with
+ CMake 2.4 or later. For compatibility with older versions please use any
+ CMake 2.8.x release or lower.
diff --git a/Tests/RunCMake/cmake_minimum_required/CompatBefore24.cmake b/Tests/RunCMake/cmake_minimum_required/CompatBefore24.cmake
new file mode 100644
index 0000000..ca0cb1d
--- /dev/null
+++ b/Tests/RunCMake/cmake_minimum_required/CompatBefore24.cmake
@@ -0,0 +1,2 @@
+cmake_minimum_required(VERSION 2.4)
+set(CMAKE_BACKWARDS_COMPATIBILITY 2.2)
diff --git a/Tests/RunCMake/cmake_minimum_required/PolicyBefore24-result.txt b/Tests/RunCMake/cmake_minimum_required/PolicyBefore24-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/cmake_minimum_required/PolicyBefore24-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/cmake_minimum_required/PolicyBefore24-stderr.txt b/Tests/RunCMake/cmake_minimum_required/PolicyBefore24-stderr.txt
new file mode 100644
index 0000000..840211a
--- /dev/null
+++ b/Tests/RunCMake/cmake_minimum_required/PolicyBefore24-stderr.txt
@@ -0,0 +1,6 @@
+CMake Error at PolicyBefore24.cmake:2 \(cmake_policy\):
+ Compatibility with CMake < 2.4 is not supported by CMake >= 3.0. For
+ compatibility with older versions please use any CMake 2.8.x release or
+ lower.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/cmake_minimum_required/PolicyBefore24.cmake b/Tests/RunCMake/cmake_minimum_required/PolicyBefore24.cmake
new file mode 100644
index 0000000..62d3836
--- /dev/null
+++ b/Tests/RunCMake/cmake_minimum_required/PolicyBefore24.cmake
@@ -0,0 +1,2 @@
+cmake_minimum_required(VERSION 2.4)
+cmake_policy(VERSION 2.2)
diff --git a/Tests/RunCMake/cmake_minimum_required/RunCMakeTest.cmake b/Tests/RunCMake/cmake_minimum_required/RunCMakeTest.cmake
new file mode 100644
index 0000000..e4c65e3
--- /dev/null
+++ b/Tests/RunCMake/cmake_minimum_required/RunCMakeTest.cmake
@@ -0,0 +1,5 @@
+include(RunCMake)
+
+run_cmake(Before24)
+run_cmake(CompatBefore24)
+run_cmake(PolicyBefore24)
diff --git a/Tests/RunCMake/export/AppendExport-result.txt b/Tests/RunCMake/export/AppendExport-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/export/AppendExport-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/export/AppendExport-stderr.txt b/Tests/RunCMake/export/AppendExport-stderr.txt
new file mode 100644
index 0000000..6e385d4
--- /dev/null
+++ b/Tests/RunCMake/export/AppendExport-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at AppendExport.cmake:8 \(export\):
+ export EXPORT signature does not recognise the APPEND option.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/export/AppendExport.cmake b/Tests/RunCMake/export/AppendExport.cmake
new file mode 100644
index 0000000..f36010b
--- /dev/null
+++ b/Tests/RunCMake/export/AppendExport.cmake
@@ -0,0 +1,8 @@
+add_library(foo empty.cpp)
+export(TARGETS foo FILE "${CMAKE_CURRENT_BINARY_DIR}/foo.cmake")
+install(TARGETS foo EXPORT fooExport
+ RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib
+ ARCHIVE DESTINATION lib
+)
+export(EXPORT fooExport APPEND FILE "${CMAKE_CURRENT_BINARY_DIR}/foo.cmake")
diff --git a/Tests/RunCMake/export/CMakeLists.txt b/Tests/RunCMake/export/CMakeLists.txt
new file mode 100644
index 0000000..be9d403
--- /dev/null
+++ b/Tests/RunCMake/export/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.4)
+project(${RunCMake_TEST})
+include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/export/NoExportSet-result.txt b/Tests/RunCMake/export/NoExportSet-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/export/NoExportSet-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/export/NoExportSet-stderr.txt b/Tests/RunCMake/export/NoExportSet-stderr.txt
new file mode 100644
index 0000000..9d27805
--- /dev/null
+++ b/Tests/RunCMake/export/NoExportSet-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at NoExportSet.cmake:2 \(export\):
+ export Export set "fooExport" not found.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/export/NoExportSet.cmake b/Tests/RunCMake/export/NoExportSet.cmake
new file mode 100644
index 0000000..72390e8
--- /dev/null
+++ b/Tests/RunCMake/export/NoExportSet.cmake
@@ -0,0 +1,2 @@
+
+export(EXPORT fooExport)
diff --git a/Tests/RunCMake/export/OldIface-result.txt b/Tests/RunCMake/export/OldIface-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/export/OldIface-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/export/OldIface-stderr.txt b/Tests/RunCMake/export/OldIface-stderr.txt
new file mode 100644
index 0000000..afb4ae3
--- /dev/null
+++ b/Tests/RunCMake/export/OldIface-stderr.txt
@@ -0,0 +1,5 @@
+CMake Error at OldIface.cmake:8 \(export\):
+ export EXPORT signature does not recognise the
+ EXPORT_LINK_INTERFACE_LIBRARIES option.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/export/OldIface.cmake b/Tests/RunCMake/export/OldIface.cmake
new file mode 100644
index 0000000..5fb8e25
--- /dev/null
+++ b/Tests/RunCMake/export/OldIface.cmake
@@ -0,0 +1,10 @@
+add_library(foo empty.cpp)
+export(TARGETS foo FILE "${CMAKE_CURRENT_BINARY_DIR}/foo.cmake")
+install(TARGETS foo EXPORT fooExport
+ RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib
+ ARCHIVE DESTINATION lib
+)
+export(EXPORT fooExport
+ EXPORT_LINK_INTERFACE_LIBRARIES
+)
diff --git a/Tests/RunCMake/export/RunCMakeTest.cmake b/Tests/RunCMake/export/RunCMakeTest.cmake
new file mode 100644
index 0000000..4b04f18
--- /dev/null
+++ b/Tests/RunCMake/export/RunCMakeTest.cmake
@@ -0,0 +1,6 @@
+include(RunCMake)
+
+run_cmake(TargetNotFound)
+run_cmake(AppendExport)
+run_cmake(OldIface)
+run_cmake(NoExportSet)
diff --git a/Tests/RunCMake/export/TargetNotFound-result.txt b/Tests/RunCMake/export/TargetNotFound-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/export/TargetNotFound-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/export/TargetNotFound-stderr.txt b/Tests/RunCMake/export/TargetNotFound-stderr.txt
new file mode 100644
index 0000000..944a68e
--- /dev/null
+++ b/Tests/RunCMake/export/TargetNotFound-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at TargetNotFound.cmake:1 \(export\):
+ export given target "nonexistenttarget" which is not built by this project.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/export/TargetNotFound.cmake b/Tests/RunCMake/export/TargetNotFound.cmake
new file mode 100644
index 0000000..a7c398d
--- /dev/null
+++ b/Tests/RunCMake/export/TargetNotFound.cmake
@@ -0,0 +1 @@
+export(TARGETS nonexistenttarget FILE somefile.cmake)
diff --git a/Tests/RunCMake/include/CMP0024-NEW-result.txt b/Tests/RunCMake/include/CMP0024-NEW-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/include/CMP0024-NEW-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/include/CMP0024-NEW-stderr.txt b/Tests/RunCMake/include/CMP0024-NEW-stderr.txt
new file mode 100644
index 0000000..0fdb3ca
--- /dev/null
+++ b/Tests/RunCMake/include/CMP0024-NEW-stderr.txt
@@ -0,0 +1,8 @@
+CMake Error at subdir2/CMakeLists.txt:2 \(include\):
+ The file
+
+ .*/Tests/RunCMake/include/CMP0024-NEW-build/subdir1/theTargets.cmake
+
+ was generated by the export\(\) command. It may not be used as the argument
+ to the include\(\) command. Use ALIAS targets instead to refer to targets by
+ alternative names.
diff --git a/Tests/RunCMake/include/CMP0024-NEW.cmake b/Tests/RunCMake/include/CMP0024-NEW.cmake
new file mode 100644
index 0000000..0e03d2a
--- /dev/null
+++ b/Tests/RunCMake/include/CMP0024-NEW.cmake
@@ -0,0 +1,9 @@
+
+enable_language(CXX)
+
+cmake_policy(SET CMP0024 NEW)
+
+add_library(foo SHARED empty.cpp)
+
+add_subdirectory(subdir1)
+add_subdirectory(subdir2)
diff --git a/Tests/RunCMake/include/CMP0024-WARN-result.txt b/Tests/RunCMake/include/CMP0024-WARN-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/include/CMP0024-WARN-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/include/CMP0024-WARN-stderr.txt b/Tests/RunCMake/include/CMP0024-WARN-stderr.txt
new file mode 100644
index 0000000..9c79007
--- /dev/null
+++ b/Tests/RunCMake/include/CMP0024-WARN-stderr.txt
@@ -0,0 +1,14 @@
+CMake Warning \(dev\) at subdir2/CMakeLists.txt:2 \(include\):
+ Policy CMP0024 is not set: Disallow include export result. Run "cmake
+ --help-policy CMP0024" for policy details. Use the cmake_policy command to
+ set the policy and suppress this warning.
+
+ The file
+
+ .*/Tests/RunCMake/include/CMP0024-WARN-build/subdir1/theTargets.cmake
+
+ was generated by the export\(\) command. It should not be used as the
+ argument to the include\(\) command. Use ALIAS targets instead to refer to
+ targets by alternative names.
+
+This warning is for project developers. Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/include/CMP0024-WARN.cmake b/Tests/RunCMake/include/CMP0024-WARN.cmake
new file mode 100644
index 0000000..783cf78
--- /dev/null
+++ b/Tests/RunCMake/include/CMP0024-WARN.cmake
@@ -0,0 +1,7 @@
+
+enable_language(CXX)
+
+add_library(foo SHARED empty.cpp)
+
+add_subdirectory(subdir1)
+add_subdirectory(subdir2)
diff --git a/Tests/RunCMake/include/ExportExportInclude-result.txt b/Tests/RunCMake/include/ExportExportInclude-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/include/ExportExportInclude-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/include/ExportExportInclude-stderr.txt b/Tests/RunCMake/include/ExportExportInclude-stderr.txt
new file mode 100644
index 0000000..70d013c
--- /dev/null
+++ b/Tests/RunCMake/include/ExportExportInclude-stderr.txt
@@ -0,0 +1,6 @@
+CMake Error at ExportExportInclude.cmake:6 \(include\):
+ include could not find load file:
+
+ .*/Tests/RunCMake/include/ExportExportInclude-build/theTargets.cmake
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/include/ExportExportInclude.cmake b/Tests/RunCMake/include/ExportExportInclude.cmake
new file mode 100644
index 0000000..14e5d91
--- /dev/null
+++ b/Tests/RunCMake/include/ExportExportInclude.cmake
@@ -0,0 +1,6 @@
+
+add_library(iface INTERFACE)
+install(TARGETS iface EXPORT ifaceExport)
+
+export(EXPORT ifaceExport FILE "${CMAKE_CURRENT_BINARY_DIR}/theTargets.cmake")
+include("${CMAKE_CURRENT_BINARY_DIR}/theTargets.cmake")
diff --git a/Tests/RunCMake/include/RunCMakeTest.cmake b/Tests/RunCMake/include/RunCMakeTest.cmake
index 59b87ca..bea7d5c 100644
--- a/Tests/RunCMake/include/RunCMakeTest.cmake
+++ b/Tests/RunCMake/include/RunCMakeTest.cmake
@@ -2,3 +2,6 @@ include(RunCMake)
run_cmake(EmptyString)
run_cmake(EmptyStringOptional)
+run_cmake(CMP0024-WARN)
+run_cmake(CMP0024-NEW)
+run_cmake(ExportExportInclude)
diff --git a/Tests/RunCMake/include/empty.cpp b/Tests/RunCMake/include/empty.cpp
new file mode 100644
index 0000000..bfbbdde
--- /dev/null
+++ b/Tests/RunCMake/include/empty.cpp
@@ -0,0 +1,7 @@
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+int empty()
+{
+ return 0;
+}
diff --git a/Tests/RunCMake/include/subdir1/CMakeLists.txt b/Tests/RunCMake/include/subdir1/CMakeLists.txt
new file mode 100644
index 0000000..11a76d1
--- /dev/null
+++ b/Tests/RunCMake/include/subdir1/CMakeLists.txt
@@ -0,0 +1,2 @@
+
+export(TARGETS foo FILE "${CMAKE_CURRENT_BINARY_DIR}/theTargets.cmake")
diff --git a/Tests/RunCMake/include/subdir2/CMakeLists.txt b/Tests/RunCMake/include/subdir2/CMakeLists.txt
new file mode 100644
index 0000000..7361f9c
--- /dev/null
+++ b/Tests/RunCMake/include/subdir2/CMakeLists.txt
@@ -0,0 +1,2 @@
+
+include("${CMAKE_CURRENT_BINARY_DIR}/../subdir1/theTargets.cmake")
diff --git a/Tests/RunCMake/include_directories/CMakeLists.txt b/Tests/RunCMake/include_directories/CMakeLists.txt
index 12cd3c7..f452db1 100644
--- a/Tests/RunCMake/include_directories/CMakeLists.txt
+++ b/Tests/RunCMake/include_directories/CMakeLists.txt
@@ -1,3 +1,3 @@
cmake_minimum_required(VERSION 2.8.4)
-project(${RunCMake_TEST} NONE)
+project(${RunCMake_TEST} CXX)
include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/include_directories/RunCMakeTest.cmake b/Tests/RunCMake/include_directories/RunCMakeTest.cmake
index f0704f4..c00b924 100644
--- a/Tests/RunCMake/include_directories/RunCMakeTest.cmake
+++ b/Tests/RunCMake/include_directories/RunCMakeTest.cmake
@@ -10,3 +10,5 @@ run_cmake(ImportedTarget)
run_cmake(RelativePathInGenex)
run_cmake(CMP0021)
run_cmake(install_config)
+run_cmake(incomplete-genex)
+run_cmake(export-NOWARN)
diff --git a/Tests/RunCMake/include_directories/export-NOWARN-result.txt b/Tests/RunCMake/include_directories/export-NOWARN-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/include_directories/export-NOWARN-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/include_directories/export-NOWARN-stderr.txt b/Tests/RunCMake/include_directories/export-NOWARN-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/include_directories/export-NOWARN-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/include_directories/export-NOWARN.cmake b/Tests/RunCMake/include_directories/export-NOWARN.cmake
new file mode 100644
index 0000000..307ce5a
--- /dev/null
+++ b/Tests/RunCMake/include_directories/export-NOWARN.cmake
@@ -0,0 +1,62 @@
+
+add_library(foo empty.cpp)
+set_property(TARGET foo APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES $<0:>/include/subdir)
+set_property(TARGET foo APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES $<INSTALL_PREFIX>/include/subdir)
+
+set_property(TARGET foo APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES $<INSTALL_INTERFACE:$<INSTALL_PREFIX>/include/subdir>)
+set_property(TARGET foo APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES $<INSTALL_INTERFACE:include/subdir>)
+set_property(TARGET foo APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES $<INSTALL_INTERFACE:include/$<0:>>)
+set_property(TARGET foo APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES $<INSTALL_INTERFACE:$<0:>/include>)
+
+# target_include_directories(foo INTERFACE include/subdir) # Does and should warn. INSTALL_INTERFACE must not list src dir paths.
+target_include_directories(foo INTERFACE $<0:>/include/subdir) # Does not and should not should warn, because it starts with a genex.
+target_include_directories(foo INTERFACE $<INSTALL_PREFIX>/include/subdir)
+
+target_include_directories(foo INTERFACE $<INSTALL_INTERFACE:include/subdir>)
+target_include_directories(foo INTERFACE $<INSTALL_INTERFACE:include/$<0:>>)
+
+install(TARGETS foo EXPORT FooTargets DESTINATION lib)
+install(EXPORT FooTargets DESTINATION lib/cmake)
+
+install(TARGETS foo EXPORT FooTargets2
+ DESTINATION lib
+ INCLUDES DESTINATION include # No warning. Implicit install prefix.
+)
+install(EXPORT FooTargets2 DESTINATION lib/cmake)
+
+install(TARGETS foo EXPORT FooTargets3
+ DESTINATION lib
+ INCLUDES DESTINATION $<INSTALL_PREFIX>include
+)
+install(EXPORT FooTargets3 DESTINATION lib/cmake)
+
+install(TARGETS foo EXPORT FooTargets4
+ DESTINATION lib
+ INCLUDES DESTINATION $<INSTALL_INTERFACE:include>
+)
+install(EXPORT FooTargets4 DESTINATION lib/cmake)
+
+install(TARGETS foo EXPORT FooTargets5
+ DESTINATION lib
+ # The $<0:> is evaluated at export time, leaving 'include' behind, which should be treated as above.
+ INCLUDES DESTINATION $<INSTALL_INTERFACE:$<0:>include>
+)
+install(EXPORT FooTargets5 DESTINATION lib/cmake)
+
+install(TARGETS foo EXPORT FooTargets6
+ DESTINATION lib
+ INCLUDES DESTINATION $<INSTALL_INTERFACE:include$<0:>>
+)
+install(EXPORT FooTargets6 DESTINATION lib/cmake)
+
+install(TARGETS foo EXPORT FooTargets7
+ DESTINATION lib
+ INCLUDES DESTINATION include$<0:>
+)
+install(EXPORT FooTargets7 DESTINATION lib/cmake)
+
+install(TARGETS foo EXPORT FooTargets8
+ DESTINATION lib
+ INCLUDES DESTINATION $<0:>include
+)
+install(EXPORT FooTargets8 DESTINATION lib/cmake)
diff --git a/Tests/RunCMake/include_directories/incomplete-genex.cmake b/Tests/RunCMake/include_directories/incomplete-genex.cmake
new file mode 100644
index 0000000..b6900a4
--- /dev/null
+++ b/Tests/RunCMake/include_directories/incomplete-genex.cmake
@@ -0,0 +1,23 @@
+project(incomplete-genex)
+
+cmake_policy(SET CMP0022 NEW)
+cmake_policy(SET CMP0023 NEW)
+
+add_library(somelib empty.cpp)
+
+# This test ensures that some internal mechanisms of cmGeneratorExpression
+# do not segfault (#14410).
+
+# Test that cmGeneratorExpression::Preprocess(StripAllGeneratorExpressions)
+# does not segfault
+target_include_directories(somelib PUBLIC
+ "/include;/include/$<BUILD_INTERFACE:subdir"
+)
+
+# Test that cmGeneratorExpression::Preprocess(BuildInterface) does not segfault
+export(TARGETS somelib FILE somelibTargets.cmake)
+
+install(TARGETS somelib EXPORT someExport DESTINATION prefix)
+# Test that cmGeneratorExpression::Preprocess(InstallInterface)
+# and cmGeneratorExpression::Split do not segfault
+install(EXPORT someExport DESTINATION prefix)
diff --git a/Tests/RunCMake/install/CMakeLists.txt b/Tests/RunCMake/install/CMakeLists.txt
new file mode 100644
index 0000000..4b3de84
--- /dev/null
+++ b/Tests/RunCMake/install/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.12)
+project(${RunCMake_TEST} NONE)
+include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/install/RunCMakeTest.cmake b/Tests/RunCMake/install/RunCMakeTest.cmake
new file mode 100644
index 0000000..c8dc379
--- /dev/null
+++ b/Tests/RunCMake/install/RunCMakeTest.cmake
@@ -0,0 +1,4 @@
+include(RunCMake)
+run_cmake(SkipInstallRulesWarning)
+run_cmake(SkipInstallRulesNoWarning1)
+run_cmake(SkipInstallRulesNoWarning2)
diff --git a/Tests/RunCMake/install/SkipInstallRulesNoWarning1-check.cmake b/Tests/RunCMake/install/SkipInstallRulesNoWarning1-check.cmake
new file mode 100644
index 0000000..2807698
--- /dev/null
+++ b/Tests/RunCMake/install/SkipInstallRulesNoWarning1-check.cmake
@@ -0,0 +1,9 @@
+if(NOT EXISTS "${RunCMake_TEST_BINARY_DIR}/CMakeCache.txt")
+ message(FATAL_ERROR "missing test prerequisite CMakeCache.txt")
+endif()
+
+set(CMAKE_INSTALL_CMAKE "${RunCMake_TEST_BINARY_DIR}/cmake_install.cmake")
+
+if(EXISTS ${CMAKE_INSTALL_CMAKE})
+ message(FATAL_ERROR "${CMAKE_INSTALL_CMAKE} should not exist")
+endif()
diff --git a/Tests/RunCMake/install/SkipInstallRulesNoWarning1-stderr.txt b/Tests/RunCMake/install/SkipInstallRulesNoWarning1-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/install/SkipInstallRulesNoWarning1-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/install/SkipInstallRulesNoWarning1.cmake b/Tests/RunCMake/install/SkipInstallRulesNoWarning1.cmake
new file mode 100644
index 0000000..22c7f8c
--- /dev/null
+++ b/Tests/RunCMake/install/SkipInstallRulesNoWarning1.cmake
@@ -0,0 +1 @@
+set(CMAKE_SKIP_INSTALL_RULES ON)
diff --git a/Tests/RunCMake/install/SkipInstallRulesNoWarning2-check.cmake b/Tests/RunCMake/install/SkipInstallRulesNoWarning2-check.cmake
new file mode 100644
index 0000000..4372b77
--- /dev/null
+++ b/Tests/RunCMake/install/SkipInstallRulesNoWarning2-check.cmake
@@ -0,0 +1,9 @@
+if(NOT EXISTS "${RunCMake_TEST_BINARY_DIR}/CMakeCache.txt")
+ message(FATAL_ERROR "missing test prerequisite CMakeCache.txt")
+endif()
+
+set(CMAKE_INSTALL_CMAKE "${RunCMake_TEST_BINARY_DIR}/cmake_install.cmake")
+
+if(NOT EXISTS ${CMAKE_INSTALL_CMAKE})
+ message(FATAL_ERROR "${CMAKE_INSTALL_CMAKE} should exist")
+endif()
diff --git a/Tests/RunCMake/install/SkipInstallRulesNoWarning2-stderr.txt b/Tests/RunCMake/install/SkipInstallRulesNoWarning2-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/install/SkipInstallRulesNoWarning2-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/install/SkipInstallRulesNoWarning2.cmake b/Tests/RunCMake/install/SkipInstallRulesNoWarning2.cmake
new file mode 100644
index 0000000..2f5f03a
--- /dev/null
+++ b/Tests/RunCMake/install/SkipInstallRulesNoWarning2.cmake
@@ -0,0 +1 @@
+install(FILES CMakeLists.txt DESTINATION src)
diff --git a/Tests/RunCMake/install/SkipInstallRulesWarning-check.cmake b/Tests/RunCMake/install/SkipInstallRulesWarning-check.cmake
new file mode 100644
index 0000000..2807698
--- /dev/null
+++ b/Tests/RunCMake/install/SkipInstallRulesWarning-check.cmake
@@ -0,0 +1,9 @@
+if(NOT EXISTS "${RunCMake_TEST_BINARY_DIR}/CMakeCache.txt")
+ message(FATAL_ERROR "missing test prerequisite CMakeCache.txt")
+endif()
+
+set(CMAKE_INSTALL_CMAKE "${RunCMake_TEST_BINARY_DIR}/cmake_install.cmake")
+
+if(EXISTS ${CMAKE_INSTALL_CMAKE})
+ message(FATAL_ERROR "${CMAKE_INSTALL_CMAKE} should not exist")
+endif()
diff --git a/Tests/RunCMake/install/SkipInstallRulesWarning-stderr.txt b/Tests/RunCMake/install/SkipInstallRulesWarning-stderr.txt
new file mode 100644
index 0000000..9130526
--- /dev/null
+++ b/Tests/RunCMake/install/SkipInstallRulesWarning-stderr.txt
@@ -0,0 +1,3 @@
+CMake Warning in CMakeLists.txt:
+ CMAKE_SKIP_INSTALL_RULES was enabled even though installation rules have
+ been specified
diff --git a/Tests/RunCMake/install/SkipInstallRulesWarning.cmake b/Tests/RunCMake/install/SkipInstallRulesWarning.cmake
new file mode 100644
index 0000000..b621d9b
--- /dev/null
+++ b/Tests/RunCMake/install/SkipInstallRulesWarning.cmake
@@ -0,0 +1,2 @@
+set(CMAKE_SKIP_INSTALL_RULES ON)
+install(FILES CMakeLists.txt DESTINATION src)
diff --git a/Tests/RunCMake/interface_library/CMakeLists.txt b/Tests/RunCMake/interface_library/CMakeLists.txt
new file mode 100644
index 0000000..12cd3c7
--- /dev/null
+++ b/Tests/RunCMake/interface_library/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.4)
+project(${RunCMake_TEST} NONE)
+include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/interface_library/RunCMakeTest.cmake b/Tests/RunCMake/interface_library/RunCMakeTest.cmake
new file mode 100644
index 0000000..08e81c6
--- /dev/null
+++ b/Tests/RunCMake/interface_library/RunCMakeTest.cmake
@@ -0,0 +1,11 @@
+include(RunCMake)
+
+run_cmake(invalid_name)
+run_cmake(target_commands)
+run_cmake(no_shared_libs)
+run_cmake(whitelist)
+run_cmake(invalid_signature)
+run_cmake(global-interface)
+run_cmake(genex_link)
+run_cmake(add_dependencies)
+run_cmake(add_custom_command-TARGET)
diff --git a/Tests/RunCMake/interface_library/add_custom_command-TARGET-result.txt b/Tests/RunCMake/interface_library/add_custom_command-TARGET-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/interface_library/add_custom_command-TARGET-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/interface_library/add_custom_command-TARGET-stderr.txt b/Tests/RunCMake/interface_library/add_custom_command-TARGET-stderr.txt
new file mode 100644
index 0000000..c095262
--- /dev/null
+++ b/Tests/RunCMake/interface_library/add_custom_command-TARGET-stderr.txt
@@ -0,0 +1,5 @@
+CMake Error at add_custom_command-TARGET.cmake:4 \(add_custom_command\):
+ Target "iface" is an INTERFACE library that may not have PRE_BUILD,
+ PRE_LINK, or POST_BUILD commands.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/interface_library/add_custom_command-TARGET.cmake b/Tests/RunCMake/interface_library/add_custom_command-TARGET.cmake
new file mode 100644
index 0000000..a5136ef
--- /dev/null
+++ b/Tests/RunCMake/interface_library/add_custom_command-TARGET.cmake
@@ -0,0 +1,6 @@
+
+add_library(iface INTERFACE)
+
+add_custom_command(TARGET iface
+ COMMAND "${CMAKE_COMMAND}" -E echo test
+)
diff --git a/Tests/RunCMake/interface_library/add_dependencies-result.txt b/Tests/RunCMake/interface_library/add_dependencies-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/interface_library/add_dependencies-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/interface_library/add_dependencies-stderr.txt b/Tests/RunCMake/interface_library/add_dependencies-stderr.txt
new file mode 100644
index 0000000..c550b68
--- /dev/null
+++ b/Tests/RunCMake/interface_library/add_dependencies-stderr.txt
@@ -0,0 +1,6 @@
+CMake Error at add_dependencies.cmake:4 \(add_dependencies\):
+ add_dependencies Cannot add target-level dependencies to INTERFACE library
+ target "iface".
+
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/interface_library/add_dependencies.cmake b/Tests/RunCMake/interface_library/add_dependencies.cmake
new file mode 100644
index 0000000..12cdfb4
--- /dev/null
+++ b/Tests/RunCMake/interface_library/add_dependencies.cmake
@@ -0,0 +1,4 @@
+
+add_library(foo empty.cpp)
+add_library(iface INTERFACE)
+add_dependencies(iface foo)
diff --git a/Tests/RunCMake/interface_library/genex_link-result.txt b/Tests/RunCMake/interface_library/genex_link-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/interface_library/genex_link-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/interface_library/genex_link-stderr.txt b/Tests/RunCMake/interface_library/genex_link-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/interface_library/genex_link-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/interface_library/genex_link.cmake b/Tests/RunCMake/interface_library/genex_link.cmake
new file mode 100644
index 0000000..0dbf029
--- /dev/null
+++ b/Tests/RunCMake/interface_library/genex_link.cmake
@@ -0,0 +1,22 @@
+
+cmake_minimum_required(VERSION 2.8.12.20131125 FATAL_ERROR)
+
+project(genex_link)
+
+set(_main_cpp ${CMAKE_CURRENT_BINARY_DIR}/main.cpp)
+file(WRITE ${_main_cpp}
+ "int main(int argc, char** argv) { return 0; }\n"
+)
+
+add_library(foo::bar INTERFACE IMPORTED)
+set_target_properties(foo::bar
+ PROPERTIES
+ INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}"
+ # When not using a generator expression here, no error is generated
+ INTERFACE_LINK_LIBRARIES "$<$<NOT:$<CONFIG:DEBUG>>:foo_bar.lib>"
+)
+
+add_executable(main ${_main_cpp})
+target_include_directories(main PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}")
+
+target_link_libraries(main foo::bar)
diff --git a/Tests/RunCMake/interface_library/global-interface-result.txt b/Tests/RunCMake/interface_library/global-interface-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/interface_library/global-interface-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/interface_library/global-interface-stderr.txt b/Tests/RunCMake/interface_library/global-interface-stderr.txt
new file mode 100644
index 0000000..24edd0f
--- /dev/null
+++ b/Tests/RunCMake/interface_library/global-interface-stderr.txt
@@ -0,0 +1,9 @@
+CMake Error at global-interface.cmake:2 \(add_library\):
+ Cannot find source file:
+
+ GLOBAL
+
+ Tried extensions \.c \.C \.c\+\+ \.cc \.cpp \.cxx \.m \.M \.mm \.h \.hh \.h\+\+ \.hm \.hpp
+ \.hxx \.in \.txx
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/interface_library/global-interface.cmake b/Tests/RunCMake/interface_library/global-interface.cmake
new file mode 100644
index 0000000..d2bfc64
--- /dev/null
+++ b/Tests/RunCMake/interface_library/global-interface.cmake
@@ -0,0 +1,2 @@
+
+add_library(iface GLOBAL INTERFACE)
diff --git a/Tests/RunCMake/interface_library/invalid_name-result.txt b/Tests/RunCMake/interface_library/invalid_name-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/interface_library/invalid_name-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/interface_library/invalid_name-stderr.txt b/Tests/RunCMake/interface_library/invalid_name-stderr.txt
new file mode 100644
index 0000000..e14fcde
--- /dev/null
+++ b/Tests/RunCMake/interface_library/invalid_name-stderr.txt
@@ -0,0 +1,15 @@
+CMake Error at invalid_name.cmake:2 \(add_library\):
+ add_library Invalid name for INTERFACE library target: if\$ace
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at invalid_name.cmake:4 \(add_library\):
+ add_library Invalid name for INTERFACE library target: iface::target
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at invalid_name.cmake:6 \(add_library\):
+ add_library Invalid name for IMPORTED INTERFACE library target:
+ if\$target_imported
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/interface_library/invalid_name.cmake b/Tests/RunCMake/interface_library/invalid_name.cmake
new file mode 100644
index 0000000..9a965aa
--- /dev/null
+++ b/Tests/RunCMake/interface_library/invalid_name.cmake
@@ -0,0 +1,6 @@
+
+add_library(if$ace INTERFACE)
+
+add_library(iface::target INTERFACE)
+
+add_library(if$target_imported INTERFACE IMPORTED)
diff --git a/Tests/RunCMake/interface_library/invalid_signature-result.txt b/Tests/RunCMake/interface_library/invalid_signature-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/interface_library/invalid_signature-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/interface_library/invalid_signature-stderr.txt b/Tests/RunCMake/interface_library/invalid_signature-stderr.txt
new file mode 100644
index 0000000..6374b33
--- /dev/null
+++ b/Tests/RunCMake/interface_library/invalid_signature-stderr.txt
@@ -0,0 +1,89 @@
+CMake Error at invalid_signature.cmake:2 \(add_library\):
+ add_library INTERFACE library requires no source arguments.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at invalid_signature.cmake:3 \(add_library\):
+ add_library INTERFACE library specified with conflicting/multiple types.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at invalid_signature.cmake:4 \(add_library\):
+ add_library INTERFACE library specified with conflicting/multiple types.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at invalid_signature.cmake:5 \(add_library\):
+ add_library INTERFACE library specified with conflicting/multiple types.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at invalid_signature.cmake:6 \(add_library\):
+ add_library INTERFACE library specified with conflicting/multiple types.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at invalid_signature.cmake:7 \(add_library\):
+ add_library INTERFACE library specified with conflicting/multiple types.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at invalid_signature.cmake:8 \(add_library\):
+ add_library INTERFACE library specified with conflicting/multiple types.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at invalid_signature.cmake:9 \(add_library\):
+ add_library INTERFACE library specified with conflicting STATIC type.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at invalid_signature.cmake:10 \(add_library\):
+ add_library INTERFACE library specified with conflicting SHARED type.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at invalid_signature.cmake:11 \(add_library\):
+ add_library INTERFACE library specified with conflicting MODULE type.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at invalid_signature.cmake:12 \(add_library\):
+ add_library INTERFACE library specified with conflicting OBJECT type.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at invalid_signature.cmake:13 \(add_library\):
+ add_library INTERFACE library specified with conflicting UNKNOWN type.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at invalid_signature.cmake:14 \(add_library\):
+ add_library INTERFACE library specified with conflicting ALIAS type.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at invalid_signature.cmake:15 \(add_library\):
+ add_library INTERFACE library specified with conflicting ALIAS type.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at invalid_signature.cmake:16 \(add_library\):
+ add_library INTERFACE library specified with conflicting/multiple types.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at invalid_signature.cmake:17 \(add_library\):
+ add_library INTERFACE library may not be used with EXCLUDE_FROM_ALL.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at invalid_signature.cmake:18 \(add_library\):
+ add_library INTERFACE library may not be used with EXCLUDE_FROM_ALL.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at invalid_signature.cmake:20 \(add_library\):
+ add_library GLOBAL option may only be used with IMPORTED libraries.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/interface_library/invalid_signature.cmake b/Tests/RunCMake/interface_library/invalid_signature.cmake
new file mode 100644
index 0000000..4e53534
--- /dev/null
+++ b/Tests/RunCMake/interface_library/invalid_signature.cmake
@@ -0,0 +1,20 @@
+
+add_library(iface1 INTERFACE empty.cpp)
+add_library(iface3 STATIC INTERFACE)
+add_library(iface4 STATIC INTERFACE empty.cpp)
+add_library(iface5 SHARED INTERFACE)
+add_library(iface6 MODULE INTERFACE)
+add_library(iface7 OBJECT INTERFACE)
+add_library(iface8 UNKNOWN INTERFACE)
+add_library(iface9 INTERFACE STATIC)
+add_library(iface10 INTERFACE SHARED)
+add_library(iface11 INTERFACE MODULE)
+add_library(iface12 INTERFACE OBJECT)
+add_library(iface13 INTERFACE UNKNOWN)
+add_library(iface14 INTERFACE ALIAS)
+add_library(iface15 ALIAS INTERFACE)
+add_library(iface16 INTERFACE INTERFACE)
+add_library(iface17 INTERFACE EXCLUDE_FROM_ALL)
+add_library(iface18 EXCLUDE_FROM_ALL INTERFACE)
+# add_library(iface19 GLOBAL INTERFACE) Tested separately
+add_library(iface20 INTERFACE GLOBAL)
diff --git a/Tests/RunCMake/interface_library/no_shared_libs-stderr.txt b/Tests/RunCMake/interface_library/no_shared_libs-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/interface_library/no_shared_libs-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/interface_library/no_shared_libs.cmake b/Tests/RunCMake/interface_library/no_shared_libs.cmake
new file mode 100644
index 0000000..ed81878
--- /dev/null
+++ b/Tests/RunCMake/interface_library/no_shared_libs.cmake
@@ -0,0 +1,5 @@
+
+cmake_minimum_required(VERSION 2.8.12.20131009)
+set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS FALSE)
+add_library(foo INTERFACE)
+target_compile_definitions(foo INTERFACE FOO_DEFINE)
diff --git a/Tests/RunCMake/interface_library/target_commands-result.txt b/Tests/RunCMake/interface_library/target_commands-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/interface_library/target_commands-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/interface_library/target_commands-stderr.txt b/Tests/RunCMake/interface_library/target_commands-stderr.txt
new file mode 100644
index 0000000..be11b77
--- /dev/null
+++ b/Tests/RunCMake/interface_library/target_commands-stderr.txt
@@ -0,0 +1,47 @@
+CMake Error at target_commands.cmake:4 \(target_link_libraries\):
+ INTERFACE library can only be used with the INTERFACE keyword of
+ target_link_libraries
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at target_commands.cmake:5 \(target_link_libraries\):
+ INTERFACE library can only be used with the INTERFACE keyword of
+ target_link_libraries
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at target_commands.cmake:6 \(target_link_libraries\):
+ INTERFACE library can only be used with the INTERFACE keyword of
+ target_link_libraries
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at target_commands.cmake:7 \(target_link_libraries\):
+ INTERFACE library can only be used with the INTERFACE keyword of
+ target_link_libraries
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at target_commands.cmake:9 \(target_include_directories\):
+ target_include_directories may only be set INTERFACE properties on
+ INTERFACE targets
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at target_commands.cmake:10 \(target_include_directories\):
+ target_include_directories may only be set INTERFACE properties on
+ INTERFACE targets
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at target_commands.cmake:12 \(target_compile_definitions\):
+ target_compile_definitions may only be set INTERFACE properties on
+ INTERFACE targets
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
++
+CMake Error at target_commands.cmake:13 \(target_compile_definitions\):
+ target_compile_definitions may only be set INTERFACE properties on
+ INTERFACE targets
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/interface_library/target_commands.cmake b/Tests/RunCMake/interface_library/target_commands.cmake
new file mode 100644
index 0000000..3182e89
--- /dev/null
+++ b/Tests/RunCMake/interface_library/target_commands.cmake
@@ -0,0 +1,13 @@
+
+add_library(iface INTERFACE)
+
+target_link_libraries(iface PRIVATE foo)
+target_link_libraries(iface PUBLIC foo)
+target_link_libraries(iface foo)
+target_link_libraries(iface LINK_INTERFACE_LIBRARIES foo)
+
+target_include_directories(iface PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}")
+target_include_directories(iface PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
+
+target_compile_definitions(iface PRIVATE SOME_DEFINE)
+target_compile_definitions(iface PUBLIC SOME_DEFINE)
diff --git a/Tests/RunCMake/interface_library/whitelist-result.txt b/Tests/RunCMake/interface_library/whitelist-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/interface_library/whitelist-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/interface_library/whitelist-stderr.txt b/Tests/RunCMake/interface_library/whitelist-stderr.txt
new file mode 100644
index 0000000..577c0cc
--- /dev/null
+++ b/Tests/RunCMake/interface_library/whitelist-stderr.txt
@@ -0,0 +1,19 @@
+CMake Error at whitelist.cmake:4 \(set_property\):
+ INTERFACE_LIBRARY targets may only have whitelisted properties. The
+ property "OUTPUT_NAME" is not allowed.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+
+
+CMake Error at whitelist.cmake:5 \(set_property\):
+ INTERFACE_LIBRARY targets may only have whitelisted properties. The
+ property "OUTPUT_NAME" is not allowed.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+
+
+CMake Error at whitelist.cmake:6 \(get_target_property\):
+ INTERFACE_LIBRARY targets may only have whitelisted properties. The
+ property "OUTPUT_NAME" is not allowed.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/interface_library/whitelist.cmake b/Tests/RunCMake/interface_library/whitelist.cmake
new file mode 100644
index 0000000..98ef05c
--- /dev/null
+++ b/Tests/RunCMake/interface_library/whitelist.cmake
@@ -0,0 +1,6 @@
+
+add_library(iface INTERFACE)
+
+set_property(TARGET iface PROPERTY OUTPUT_NAME output)
+set_property(TARGET iface APPEND PROPERTY OUTPUT_NAME append)
+get_target_property(outname iface OUTPUT_NAME)
diff --git a/Tests/RunCMake/message/CMakeLists.txt b/Tests/RunCMake/message/CMakeLists.txt
new file mode 100644
index 0000000..12cd3c7
--- /dev/null
+++ b/Tests/RunCMake/message/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.4)
+project(${RunCMake_TEST} NONE)
+include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/message/RunCMakeTest.cmake b/Tests/RunCMake/message/RunCMakeTest.cmake
new file mode 100644
index 0000000..d2bc0c3
--- /dev/null
+++ b/Tests/RunCMake/message/RunCMakeTest.cmake
@@ -0,0 +1,5 @@
+include(RunCMake)
+
+run_cmake(nomessage)
+run_cmake(warnmessage)
+run_cmake(errormessage)
diff --git a/Tests/RunCMake/message/errormessage-result.txt b/Tests/RunCMake/message/errormessage-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/message/errormessage-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/message/errormessage-stderr.txt b/Tests/RunCMake/message/errormessage-stderr.txt
new file mode 100644
index 0000000..49e7ca9
--- /dev/null
+++ b/Tests/RunCMake/message/errormessage-stderr.txt
@@ -0,0 +1,4 @@
+CMake Deprecation Error at errormessage.cmake:4 \(message\):
+ This is an error
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/message/errormessage.cmake b/Tests/RunCMake/message/errormessage.cmake
new file mode 100644
index 0000000..7d3b779
--- /dev/null
+++ b/Tests/RunCMake/message/errormessage.cmake
@@ -0,0 +1,4 @@
+
+set(CMAKE_ERROR_DEPRECATED ON)
+
+message(DEPRECATION "This is an error")
diff --git a/Tests/RunCMake/message/nomessage-result.txt b/Tests/RunCMake/message/nomessage-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/message/nomessage-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/message/nomessage-stderr.txt b/Tests/RunCMake/message/nomessage-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/message/nomessage-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/message/nomessage.cmake b/Tests/RunCMake/message/nomessage.cmake
new file mode 100644
index 0000000..bcc97be
--- /dev/null
+++ b/Tests/RunCMake/message/nomessage.cmake
@@ -0,0 +1,2 @@
+
+message(DEPRECATION "This is not issued")
diff --git a/Tests/RunCMake/message/warnmessage-result.txt b/Tests/RunCMake/message/warnmessage-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/message/warnmessage-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/message/warnmessage-stderr.txt b/Tests/RunCMake/message/warnmessage-stderr.txt
new file mode 100644
index 0000000..5c44566
--- /dev/null
+++ b/Tests/RunCMake/message/warnmessage-stderr.txt
@@ -0,0 +1,4 @@
+CMake Deprecation Warning at warnmessage.cmake:4 \(message\):
+ This is a warning
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/message/warnmessage.cmake b/Tests/RunCMake/message/warnmessage.cmake
new file mode 100644
index 0000000..4c421a1
--- /dev/null
+++ b/Tests/RunCMake/message/warnmessage.cmake
@@ -0,0 +1,4 @@
+
+set(CMAKE_WARN_DEPRECATED ON)
+
+message(DEPRECATION "This is a warning")
diff --git a/Tests/RunCMake/no_install_prefix/CMakeLists.txt b/Tests/RunCMake/no_install_prefix/CMakeLists.txt
new file mode 100644
index 0000000..12cd3c7
--- /dev/null
+++ b/Tests/RunCMake/no_install_prefix/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.4)
+project(${RunCMake_TEST} NONE)
+include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/no_install_prefix/RunCMakeTest.cmake b/Tests/RunCMake/no_install_prefix/RunCMakeTest.cmake
new file mode 100644
index 0000000..2923449
--- /dev/null
+++ b/Tests/RunCMake/no_install_prefix/RunCMakeTest.cmake
@@ -0,0 +1,15 @@
+include(RunCMake)
+
+set(RunCMake_TEST_OPTIONS "-DCMAKE_INSTALL_PREFIX=${RunCMake_BINARY_DIR}/prefix")
+
+file(REMOVE_RECURSE "${RunCMake_BINARY_DIR}/prefix")
+file(MAKE_DIRECTORY "${RunCMake_BINARY_DIR}/prefix/NoPrefix")
+file(WRITE "${RunCMake_BINARY_DIR}/prefix/NoPrefix/NoPrefixConfig.cmake" "")
+set(RunCMake_TEST_OPTIONS "-DCMAKE_INSTALL_PREFIX:PATH=${RunCMake_BINARY_DIR}/prefix")
+run_cmake(with_install_prefix)
+
+file(REMOVE_RECURSE "${RunCMake_BINARY_DIR}/prefix")
+file(MAKE_DIRECTORY "${RunCMake_BINARY_DIR}/prefix/NoPrefix")
+file(WRITE "${RunCMake_BINARY_DIR}/prefix/NoPrefix/NoPrefixConfig.cmake" "")
+list(APPEND RunCMake_TEST_OPTIONS "-DCMAKE_FIND_NO_INSTALL_PREFIX=1")
+run_cmake(no_install_prefix)
diff --git a/Tests/RunCMake/no_install_prefix/do_test.cmake b/Tests/RunCMake/no_install_prefix/do_test.cmake
new file mode 100644
index 0000000..340c7dc
--- /dev/null
+++ b/Tests/RunCMake/no_install_prefix/do_test.cmake
@@ -0,0 +1,2 @@
+
+find_package(NoPrefix REQUIRED)
diff --git a/Tests/RunCMake/no_install_prefix/no_install_prefix-result.txt b/Tests/RunCMake/no_install_prefix/no_install_prefix-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/no_install_prefix/no_install_prefix-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/no_install_prefix/no_install_prefix-stderr.txt b/Tests/RunCMake/no_install_prefix/no_install_prefix-stderr.txt
new file mode 100644
index 0000000..66c6241
--- /dev/null
+++ b/Tests/RunCMake/no_install_prefix/no_install_prefix-stderr.txt
@@ -0,0 +1,18 @@
+CMake Error at do_test.cmake:2 \(find_package\):
+ By not providing "FindNoPrefix.cmake" in CMAKE_MODULE_PATH this project has
+ asked CMake to find a package configuration file provided by "NoPrefix",
+ but CMake did not find one.
+
+ Could not find a package configuration file provided by "NoPrefix" with any
+ of the following names:
+
+ NoPrefixConfig.cmake
+ noprefix-config.cmake
+
+ Add the installation prefix of "NoPrefix" to CMAKE_PREFIX_PATH or set
+ "NoPrefix_DIR" to a directory containing one of the above files. If
+ "NoPrefix" provides a separate development package or SDK, be sure it has
+ been installed.
+Call Stack \(most recent call first\):
+ no_install_prefix.cmake:2 \(include\)
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/no_install_prefix/no_install_prefix.cmake b/Tests/RunCMake/no_install_prefix/no_install_prefix.cmake
new file mode 100644
index 0000000..c7d28da
--- /dev/null
+++ b/Tests/RunCMake/no_install_prefix/no_install_prefix.cmake
@@ -0,0 +1,2 @@
+
+include(do_test.cmake)
diff --git a/Tests/RunCMake/no_install_prefix/with_install_prefix-result.txt b/Tests/RunCMake/no_install_prefix/with_install_prefix-result.txt
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/Tests/RunCMake/no_install_prefix/with_install_prefix-result.txt
@@ -0,0 +1 @@
+0
diff --git a/Tests/RunCMake/no_install_prefix/with_install_prefix-stderr.txt b/Tests/RunCMake/no_install_prefix/with_install_prefix-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/no_install_prefix/with_install_prefix-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/no_install_prefix/with_install_prefix.cmake b/Tests/RunCMake/no_install_prefix/with_install_prefix.cmake
new file mode 100644
index 0000000..c7d28da
--- /dev/null
+++ b/Tests/RunCMake/no_install_prefix/with_install_prefix.cmake
@@ -0,0 +1,2 @@
+
+include(do_test.cmake)
diff --git a/Tests/RunCMake/project/CMP0048-NEW-stderr.txt b/Tests/RunCMake/project/CMP0048-NEW-stderr.txt
new file mode 100644
index 0000000..10f3293
--- /dev/null
+++ b/Tests/RunCMake/project/CMP0048-NEW-stderr.txt
@@ -0,0 +1 @@
+^$
diff --git a/Tests/RunCMake/project/CMP0048-NEW-stdout.txt b/Tests/RunCMake/project/CMP0048-NEW-stdout.txt
new file mode 100644
index 0000000..38261e5
--- /dev/null
+++ b/Tests/RunCMake/project/CMP0048-NEW-stdout.txt
@@ -0,0 +1,30 @@
+-- PROJECT_VERSION='1.2.3.4'
+-- ProjectA_VERSION='1.2.3.4'
+-- PROJECT_VERSION_MAJOR='1'
+-- ProjectA_VERSION_MAJOR='1'
+-- PROJECT_VERSION_MINOR='2'
+-- ProjectA_VERSION_MINOR='2'
+-- PROJECT_VERSION_PATCH='3'
+-- ProjectA_VERSION_PATCH='3'
+-- PROJECT_VERSION_TWEAK='4'
+-- ProjectA_VERSION_TWEAK='4'
+-- PROJECT_VERSION='0.1.2'
+-- ProjectB_VERSION='0.1.2'
+-- PROJECT_VERSION_MAJOR='0'
+-- ProjectB_VERSION_MAJOR='0'
+-- PROJECT_VERSION_MINOR='1'
+-- ProjectB_VERSION_MINOR='1'
+-- PROJECT_VERSION_PATCH='2'
+-- ProjectB_VERSION_PATCH='2'
+-- PROJECT_VERSION_TWEAK=''
+-- ProjectB_VERSION_TWEAK=''
+-- PROJECT_VERSION=''
+-- ProjectC_VERSION=''
+-- PROJECT_VERSION_MAJOR=''
+-- ProjectC_VERSION_MAJOR=''
+-- PROJECT_VERSION_MINOR=''
+-- ProjectC_VERSION_MINOR=''
+-- PROJECT_VERSION_PATCH=''
+-- ProjectC_VERSION_PATCH=''
+-- PROJECT_VERSION_TWEAK=''
+-- ProjectC_VERSION_TWEAK=''
diff --git a/Tests/RunCMake/project/CMP0048-NEW.cmake b/Tests/RunCMake/project/CMP0048-NEW.cmake
new file mode 100644
index 0000000..7e16b70
--- /dev/null
+++ b/Tests/RunCMake/project/CMP0048-NEW.cmake
@@ -0,0 +1,19 @@
+macro(print_versions name)
+ foreach(v "" _MAJOR _MINOR _PATCH _TWEAK)
+ message(STATUS "PROJECT_VERSION${v}='${PROJECT_VERSION${v}}'")
+ message(STATUS "${name}_VERSION${v}='${${name}_VERSION${v}}'")
+ endforeach()
+endmacro()
+
+cmake_policy(SET CMP0048 NEW)
+
+project(ProjectA VERSION 1.2.3.4 LANGUAGES NONE)
+print_versions(ProjectA)
+
+project(ProjectB VERSION 0.1.2 LANGUAGES NONE)
+print_versions(ProjectB)
+
+set(PROJECT_VERSION 1)
+set(ProjectC_VERSION 1)
+project(ProjectC NONE)
+print_versions(ProjectC)
diff --git a/Tests/RunCMake/project/CMP0048-OLD-VERSION-result.txt b/Tests/RunCMake/project/CMP0048-OLD-VERSION-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/project/CMP0048-OLD-VERSION-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/project/CMP0048-OLD-VERSION-stderr.txt b/Tests/RunCMake/project/CMP0048-OLD-VERSION-stderr.txt
new file mode 100644
index 0000000..3a13d32
--- /dev/null
+++ b/Tests/RunCMake/project/CMP0048-OLD-VERSION-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at CMP0048-OLD-VERSION.cmake:1 \(project\):
+ VERSION not allowed unless CMP0048 is set to NEW
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)$
diff --git a/Tests/RunCMake/project/CMP0048-OLD-VERSION.cmake b/Tests/RunCMake/project/CMP0048-OLD-VERSION.cmake
new file mode 100644
index 0000000..6fbbe0a
--- /dev/null
+++ b/Tests/RunCMake/project/CMP0048-OLD-VERSION.cmake
@@ -0,0 +1,2 @@
+project(MyProject VERSION 1 LANGUAGES NONE)
+message("This line not reached.")
diff --git a/Tests/RunCMake/project/CMP0048-OLD-stdout.txt b/Tests/RunCMake/project/CMP0048-OLD-stdout.txt
new file mode 100644
index 0000000..1a25c7b
--- /dev/null
+++ b/Tests/RunCMake/project/CMP0048-OLD-stdout.txt
@@ -0,0 +1,2 @@
+-- PROJECT_VERSION='1'
+-- MyProject_VERSION_TWEAK='0'
diff --git a/Tests/RunCMake/project/CMP0048-OLD.cmake b/Tests/RunCMake/project/CMP0048-OLD.cmake
new file mode 100644
index 0000000..6c32d2c
--- /dev/null
+++ b/Tests/RunCMake/project/CMP0048-OLD.cmake
@@ -0,0 +1,6 @@
+cmake_policy(SET CMP0048 OLD)
+set(PROJECT_VERSION 1)
+set(MyProject_VERSION_TWEAK 0)
+project(MyProject NONE)
+message(STATUS "PROJECT_VERSION='${PROJECT_VERSION}'")
+message(STATUS "MyProject_VERSION_TWEAK='${MyProject_VERSION_TWEAK}'")
diff --git a/Tests/RunCMake/project/CMP0048-WARN-stderr.txt b/Tests/RunCMake/project/CMP0048-WARN-stderr.txt
new file mode 100644
index 0000000..6d29ad2
--- /dev/null
+++ b/Tests/RunCMake/project/CMP0048-WARN-stderr.txt
@@ -0,0 +1,12 @@
+CMake Warning \(dev\) at CMP0048-WARN.cmake:3 \(project\):
+ Policy CMP0048 is not set: project\(\) command manages VERSION variables.
+ Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
+ command to set the policy and suppress this warning.
+
+ The following variable\(s\) would be set to empty:
+
+ PROJECT_VERSION
+ MyProject_VERSION_TWEAK
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
diff --git a/Tests/RunCMake/project/CMP0048-WARN.cmake b/Tests/RunCMake/project/CMP0048-WARN.cmake
new file mode 100644
index 0000000..97359e6
--- /dev/null
+++ b/Tests/RunCMake/project/CMP0048-WARN.cmake
@@ -0,0 +1,3 @@
+set(PROJECT_VERSION 1)
+set(MyProject_VERSION_TWEAK 0)
+project(MyProject NONE)
diff --git a/Tests/RunCMake/project/CMakeLists.txt b/Tests/RunCMake/project/CMakeLists.txt
new file mode 100644
index 0000000..12cd3c7
--- /dev/null
+++ b/Tests/RunCMake/project/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 2.8.4)
+project(${RunCMake_TEST} NONE)
+include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/project/LanguagesEmpty-stdout.txt b/Tests/RunCMake/project/LanguagesEmpty-stdout.txt
new file mode 100644
index 0000000..fb9c7e8
--- /dev/null
+++ b/Tests/RunCMake/project/LanguagesEmpty-stdout.txt
@@ -0,0 +1 @@
+ENABLED_LANGUAGES='NONE'
diff --git a/Tests/RunCMake/project/LanguagesEmpty.cmake b/Tests/RunCMake/project/LanguagesEmpty.cmake
new file mode 100644
index 0000000..4de2cca
--- /dev/null
+++ b/Tests/RunCMake/project/LanguagesEmpty.cmake
@@ -0,0 +1,3 @@
+project(ProjectA LANGUAGES)
+get_property(langs GLOBAL PROPERTY ENABLED_LANGUAGES)
+message(STATUS "ENABLED_LANGUAGES='${langs}'")
diff --git a/Tests/RunCMake/project/LanguagesImplicit-stdout.txt b/Tests/RunCMake/project/LanguagesImplicit-stdout.txt
new file mode 100644
index 0000000..fb9c7e8
--- /dev/null
+++ b/Tests/RunCMake/project/LanguagesImplicit-stdout.txt
@@ -0,0 +1 @@
+ENABLED_LANGUAGES='NONE'
diff --git a/Tests/RunCMake/project/LanguagesImplicit.cmake b/Tests/RunCMake/project/LanguagesImplicit.cmake
new file mode 100644
index 0000000..e408454
--- /dev/null
+++ b/Tests/RunCMake/project/LanguagesImplicit.cmake
@@ -0,0 +1,3 @@
+project(ProjectA NONE)
+get_property(langs GLOBAL PROPERTY ENABLED_LANGUAGES)
+message(STATUS "ENABLED_LANGUAGES='${langs}'")
diff --git a/Tests/RunCMake/project/LanguagesNONE-stdout.txt b/Tests/RunCMake/project/LanguagesNONE-stdout.txt
new file mode 100644
index 0000000..fb9c7e8
--- /dev/null
+++ b/Tests/RunCMake/project/LanguagesNONE-stdout.txt
@@ -0,0 +1 @@
+ENABLED_LANGUAGES='NONE'
diff --git a/Tests/RunCMake/project/LanguagesNONE.cmake b/Tests/RunCMake/project/LanguagesNONE.cmake
new file mode 100644
index 0000000..2c0125f
--- /dev/null
+++ b/Tests/RunCMake/project/LanguagesNONE.cmake
@@ -0,0 +1,3 @@
+project(ProjectA LANGUAGES NONE)
+get_property(langs GLOBAL PROPERTY ENABLED_LANGUAGES)
+message(STATUS "ENABLED_LANGUAGES='${langs}'")
diff --git a/Tests/RunCMake/project/LanguagesTwice-result.txt b/Tests/RunCMake/project/LanguagesTwice-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/project/LanguagesTwice-result.txt
@@ -0,0 +1 @@
+1
diff --git a/Tests/RunCMake/project/LanguagesTwice-stderr.txt b/Tests/RunCMake/project/LanguagesTwice-stderr.txt
new file mode 100644
index 0000000..9c69dd0
--- /dev/null
+++ b/Tests/RunCMake/project/LanguagesTwice-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at LanguagesTwice.cmake:1 \(project\):
+ LANGUAGES may be specified at most once.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)$
diff --git a/Tests/RunCMake/project/LanguagesTwice.cmake b/Tests/RunCMake/project/LanguagesTwice.cmake
new file mode 100644
index 0000000..6c4a3dc
--- /dev/null
+++ b/Tests/RunCMake/project/LanguagesTwice.cmake
@@ -0,0 +1,2 @@
+project(ProjectA LANGUAGES NONE LANGUAGES)
+message("This line not reached.")
diff --git a/Tests/RunCMake/project/RunCMakeTest.cmake b/Tests/RunCMake/project/RunCMakeTest.cmake
new file mode 100644
index 0000000..6ab0fc9
--- /dev/null
+++ b/Tests/RunCMake/project/RunCMakeTest.cmake
@@ -0,0 +1,17 @@
+include(RunCMake)
+
+run_cmake(LanguagesImplicit)
+run_cmake(LanguagesEmpty)
+run_cmake(LanguagesNONE)
+run_cmake(LanguagesTwice)
+run_cmake(VersionAndLanguagesEmpty)
+run_cmake(VersionEmpty)
+run_cmake(VersionInvalid)
+run_cmake(VersionMissingLanguages)
+run_cmake(VersionMissingValueOkay)
+run_cmake(VersionTwice)
+
+run_cmake(CMP0048-OLD)
+run_cmake(CMP0048-OLD-VERSION)
+run_cmake(CMP0048-WARN)
+run_cmake(CMP0048-NEW)
diff --git a/Tests/RunCMake/project/VersionAndLanguagesEmpty-stdout.txt b/Tests/RunCMake/project/VersionAndLanguagesEmpty-stdout.txt
new file mode 100644