CMake/Help/command
Brad King 7e142c5ac2 project: Manage VERSION variables
Teach the project() command to set variables

  {PROJECT,<PROJECT-NAME>}_VERSION{,_MAJOR,_MINOR,_PATCH,_TWEAK}

holding the project version number and its components.  Add project()
command option "VERSION" to specify the version explicitly, and default
to the empty string when it is not given.

Since this clears variables when no VERSION is given, this may change
behavior for existing projects that set the version variables themselves
prior to calling project().  Add policy CMP0048 for compatibility.

Suggested-by: Alex Neundorf <neundorf@kde.org>
2014-01-29 09:45:18 -05:00
..
FIND_XXX.txt Help: Factor out find_* command duplication 2013-10-16 09:22:38 -04:00
FIND_XXX_MAC.txt Help: Factor out find_* command duplication 2013-10-16 09:22:38 -04:00
FIND_XXX_ORDER.txt Help: Factor out find_* command duplication 2013-10-16 09:22:38 -04:00
FIND_XXX_ROOT.txt Help: Document the CMAKE_FIND_ROOT_PATH* variables. 2013-11-27 13:21:12 +01:00
add_compile_options.rst Help: Factor out cmake-generator-expressions manual page 2013-10-16 09:22:38 -04:00
add_custom_command.rst Help: Factor out cmake-generator-expressions manual page 2013-10-16 09:22:38 -04:00
add_custom_target.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
add_definitions.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
add_dependencies.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
add_executable.rst Help: Fix reStructuredText syntax in auto-generated documents 2013-10-15 14:12:49 -04:00
add_library.rst add_library: Disallow invalid signatures for INTERFACE_LIBRARY. 2014-01-06 17:25:10 +01:00
add_subdirectory.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
add_test.rst Help: Factor out cmake-generator-expressions manual page 2013-10-16 09:22:38 -04:00
aux_source_directory.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
break.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
build_command.rst build_command: Return a "cmake --build" command-line 2013-11-15 14:38:18 -05:00
build_name.rst Add policy CMP0036 to disallow build_name 2013-10-22 09:09:53 -04:00
cmake_host_system_information.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
cmake_minimum_required.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
cmake_policy.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
configure_file.rst Help: Fix reStructuredText syntax in auto-generated documents 2013-10-15 14:12:49 -04:00
create_test_sourcelist.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
ctest_build.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
ctest_configure.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
ctest_coverage.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
ctest_empty_binary_directory.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
ctest_memcheck.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
ctest_read_custom_files.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
ctest_run_script.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
ctest_sleep.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
ctest_start.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
ctest_submit.rst CTest: added documentation for the "Upload" submission PART 2013-11-15 15:22:08 +01:00
ctest_test.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
ctest_update.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
ctest_upload.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
define_property.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
else.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
elseif.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
enable_language.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
enable_testing.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
endforeach.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
endfunction.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
endif.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
endmacro.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
endwhile.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
exec_program.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
execute_process.rst Help: Clarify execute_process COMMAND argument behavior 2013-11-07 16:42:39 -05:00
export.rst export: Implement EXPORT subcommand (#9822) 2013-12-24 13:02:49 +01:00
export_library_dependencies.rst Add policy CMP0033 to disallow export_library_dependencies 2013-10-22 09:09:52 -04:00
file.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
find_file.rst Help: Document the CMAKE_FIND_ROOT_PATH* variables. 2013-11-27 13:21:12 +01:00
find_library.rst Help: Document the CMAKE_FIND_ROOT_PATH* variables. 2013-11-27 13:21:12 +01:00
find_package.rst Help: Document the CMAKE_FIND_ROOT_PATH* variables. 2013-11-27 13:21:12 +01:00
find_path.rst Help: Document the CMAKE_FIND_ROOT_PATH* variables. 2013-11-27 13:21:12 +01:00
find_program.rst Help: Document the CMAKE_FIND_ROOT_PATH* variables. 2013-11-27 13:21:12 +01:00
fltk_wrap_ui.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
foreach.rst Help: Document macro argument caveats in more detail 2013-11-19 09:01:54 -05:00
function.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
get_cmake_property.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
get_directory_property.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
get_filename_component.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
get_property.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
get_source_file_property.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
get_target_property.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
get_test_property.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
if.rst Help: Fix typo in 'if()' command documentation 2014-01-15 15:47:59 -05:00
include.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
include_directories.rst Add missing documentation for include dirs related variables. (#12611) 2013-11-02 16:06:19 +01:00
include_external_msproject.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
include_regular_expression.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
install.rst Help: Fix reStructuredText syntax in auto-generated documents 2013-10-15 14:12:49 -04:00
install_files.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
install_programs.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
install_targets.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
link_directories.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
link_libraries.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
list.rst Help: Document macro argument caveats in more detail 2013-11-19 09:01:54 -05:00
load_cache.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
load_command.rst Add policy CMP0031 to disallow load_command 2013-10-22 09:09:52 -04:00
macro.rst Help: Document macro argument caveats in more detail 2013-11-19 09:01:54 -05:00
make_directory.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
mark_as_advanced.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
math.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
message.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
option.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
output_required_files.rst Add policy CMP0032 to disallow output_required_files 2013-10-22 09:09:52 -04:00
project.rst project: Manage VERSION variables 2014-01-29 09:45:18 -05:00
qt_wrap_cpp.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
qt_wrap_ui.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
remove.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
remove_definitions.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
return.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
separate_arguments.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
set.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
set_directory_properties.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
set_property.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
set_source_files_properties.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
set_target_properties.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
set_tests_properties.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
site_name.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
source_group.rst Help: Format and clarify source_group() documentation (#14631) 2013-12-05 13:22:57 -05:00
string.rst string: Add CONCAT sub-command 2013-10-21 12:54:20 -04:00
subdir_depends.rst Add policy CMP0029 to disallow subdir_depends 2013-10-22 09:09:51 -04:00
subdirs.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
target_compile_definitions.rst Help: Factor out cmake-generator-expressions manual page 2013-10-16 09:22:38 -04:00
target_compile_options.rst Docs: Fix typo 2013-10-23 23:41:00 +02:00
target_include_directories.rst Help: Factor out cmake-generator-expressions manual page 2013-10-16 09:22:38 -04:00
target_link_libraries.rst CMP0022: Update target_link_libraries plain signature documentation 2013-11-03 09:23:02 -05:00
try_compile.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
try_run.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
unset.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
use_mangled_mesa.rst Add policy CMP0030 to disallow use_mangled_mesa 2013-10-22 09:09:51 -04:00
utility_source.rst Add policy CMP0034 to disallow utility_source 2013-10-22 09:09:52 -04:00
variable_requires.rst Add policy CMP0035 to disallow variable_requires 2013-10-22 09:09:52 -04:00
variable_watch.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
while.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
write_file.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00