/
CMakeVMMakerSqueakTemplatesHelp.class.st
57 lines (39 loc) · 1.34 KB
/
CMakeVMMakerSqueakTemplatesHelp.class.st
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Class {
#name : #CMakeVMMakerSqueakTemplatesHelp,
#superclass : #CMakeVMMakerSqueakDeveloperHelp,
#category : #'CMakeVMMakerSqueak-Help'
}
{ #category : #accessing }
CMakeVMMakerSqueakTemplatesHelp class >> bookName [
^'CMake Templates'
]
{ #category : #accessing }
CMakeVMMakerSqueakTemplatesHelp class >> key [
^'CMakeVMMakerSqueakTemplatesHelp'
]
{ #category : #pages }
CMakeVMMakerSqueakTemplatesHelp class >> overview [
^HelpTopic
title: 'Overview'
contents:
'CMake Templates wrap CMake constructs
Motivation: Ian Piumarta''s template approach is compelling. and the string concatenation approach of CMakeVMMaker was too hard on my feeble mind.
Most are subclasses of CMakeTemplate.
Custom Templates are handy groupings of basic templates.
Composite Templates encapsulate odd or large blocks of CMake constructs.
The templates allow us to think in CMake while coding in Smalltalk.
They are easy to implement as needed.
They are re-usable
CMake constructs can be viewed by invoking ''cmake --help''.
So far the most important constructs are:
cmake --help-command-list
cmake --help-module-list
cmake --help-property-list
cmake --help-variable-list
We will probably have to fine tune the organization as we add to the library of templates.
'
]
{ #category : #accessing }
CMakeVMMakerSqueakTemplatesHelp class >> pages [
^#(overview)
]