mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
cmake: add versions 3.13, 3.14, 3.15
This commit is contained in:
parent
eada92ec98
commit
897fdd1883
3 changed files with 27 additions and 11 deletions
|
@ -163,7 +163,7 @@ credits = [
|
|||
'https://github.com/clojure/clojure/blob/master/epl-v10.html'
|
||||
], [
|
||||
'CMake',
|
||||
'2000-2018 Kitware, Inc. and Contributors',
|
||||
'2000-2019 Kitware, Inc. and Contributors',
|
||||
'BSD',
|
||||
'https://cmake.org/licensing/'
|
||||
], [
|
||||
|
|
|
@ -20,6 +20,7 @@ module Docs
|
|||
'prop_sf' => 'Properties: Source Files',
|
||||
'prop_test' => 'Properties: Tests',
|
||||
'prop_tgt' => 'Properties: Targets',
|
||||
'envvar' => 'Environment Variables',
|
||||
'variable' => 'Variables' }
|
||||
|
||||
def get_name
|
||||
|
|
|
@ -13,51 +13,66 @@ module Docs
|
|||
options[:title] = false
|
||||
options[:root_title] = 'CMake Reference Documentation'
|
||||
options[:skip] = %w(release/index.html genindex.html search.html)
|
||||
options[:skip_patterns] = [/\Agenerator/, /\Ainclude/, /\Arelease/]
|
||||
options[:skip_patterns] = [/\Agenerator/, /\Acpack_gen/, /\Ainclude/, /\Arelease/]
|
||||
|
||||
options[:attribution] = <<-HTML
|
||||
© 2000–2018 Kitware, Inc. and Contributors<br>
|
||||
© 2000–2019 Kitware, Inc. and Contributors<br>
|
||||
Licensed under the BSD 3-clause License.
|
||||
HTML
|
||||
|
||||
version '3.15' do
|
||||
self.release = '3.15.2'
|
||||
self.base_url = "https://cmake.org/cmake/help/v#{self.version}/"
|
||||
end
|
||||
|
||||
version '3.14' do
|
||||
self.release = '3.14.6'
|
||||
self.base_url = "https://cmake.org/cmake/help/v#{self.version}/"
|
||||
end
|
||||
|
||||
version '3.13' do
|
||||
self.release = '3.13.5'
|
||||
self.base_url = "https://cmake.org/cmake/help/v#{self.version}/"
|
||||
end
|
||||
|
||||
version '3.12' do
|
||||
self.release = '3.12.1'
|
||||
self.base_url = 'https://cmake.org/cmake/help/v3.12/'
|
||||
self.base_url = "https://cmake.org/cmake/help/v#{self.version}/"
|
||||
end
|
||||
|
||||
version '3.11' do
|
||||
self.release = '3.11.4'
|
||||
self.base_url = 'https://cmake.org/cmake/help/v3.11/'
|
||||
self.base_url = "https://cmake.org/cmake/help/v#{self.version}/"
|
||||
end
|
||||
|
||||
version '3.10' do
|
||||
self.release = '3.10.3'
|
||||
self.base_url = 'https://cmake.org/cmake/help/v3.10/'
|
||||
self.base_url = "https://cmake.org/cmake/help/v#{self.version}/"
|
||||
end
|
||||
|
||||
version '3.9' do
|
||||
self.release = '3.9.6'
|
||||
self.base_url = 'https://cmake.org/cmake/help/v3.9/'
|
||||
self.base_url = "https://cmake.org/cmake/help/v#{self.version}/"
|
||||
end
|
||||
|
||||
version '3.8' do
|
||||
self.release = '3.8.2'
|
||||
self.base_url = 'https://cmake.org/cmake/help/v3.8/'
|
||||
self.base_url = "https://cmake.org/cmake/help/v#{self.version}/"
|
||||
end
|
||||
|
||||
version '3.7' do
|
||||
self.release = '3.7.2'
|
||||
self.base_url = 'https://cmake.org/cmake/help/v3.7/'
|
||||
self.base_url = "https://cmake.org/cmake/help/v#{self.version}/"
|
||||
end
|
||||
|
||||
version '3.6' do
|
||||
self.release = '3.6.3'
|
||||
self.base_url = 'https://cmake.org/cmake/help/v3.6/'
|
||||
self.base_url = "https://cmake.org/cmake/help/v#{self.version}/"
|
||||
end
|
||||
|
||||
version '3.5' do
|
||||
self.release = '3.5.2'
|
||||
self.base_url = 'https://cmake.org/cmake/help/v3.5/'
|
||||
self.base_url = "https://cmake.org/cmake/help/v#{self.version}/"
|
||||
end
|
||||
|
||||
def get_latest_version(opts)
|
||||
|
|
Loading…
Reference in a new issue