This file is indexed.

/usr/share/doc/cmake-data/cpack.html is in cmake-doc 2.8.12.2-0ubuntu3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   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
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>cpack - cpack</title></head><body>
<h2><a name="section_Index"></a>Master Index CMake 2.8.12.2</h2>
<ul>
  <li><a href="#section_Name"><b>Name</b></a></li>
  <li><a href="#section_Usage"><b>Usage</b></a></li>
  <li><a href="#section_Description"><b>Description</b></a></li>
  <li><a href="#section_Options"><b>Options</b></a></li>
  <li><a href="#section_Generators"><b>Generators</b></a></li>
  <li><a href="#section_Commands"><b>Commands</b></a></li>
  <li><a href="#section_CompatibilityCommands"><b>Compatibility Commands</b></a></li>
  <li><a href="#section_StandardCMakeModules"><b>Standard CMake Modules</b></a></li>
  <li><a href="#section_PropertiesofGlobalScope"><b>Properties of Global Scope</b></a></li>
  <li><a href="#section_PropertiesonCacheEntries"><b>Properties on Cache Entries</b></a></li>
  <li><a href="#section_PropertiesonDirectories"><b>Properties on Directories</b></a></li>
  <li><a href="#section_PropertiesonSourceFiles"><b>Properties on Source Files</b></a></li>
  <li><a href="#section_PropertiesonTargets"><b>Properties on Targets</b></a></li>
  <li><a href="#section_PropertiesonTests"><b>Properties on Tests</b></a></li>
  <li><a href="#section_Variables"><b>Variables</b></a></li>
  <li><a href="#section_VariablesThatChangeBehavior"><b>Variables That Change Behavior</b></a></li>
  <li><a href="#section_VariablesThatDescribetheSystem"><b>Variables That Describe the System</b></a></li>
  <li><a href="#section_VariablescommontoallCPackgenerators"><b>Variables common to all CPack generators</b></a></li>
  <li><a href="#section_VariablesconcerningCPackComponents"><b>Variables concerning CPack Components</b></a></li>
  <li><a href="#section_VariablesforLanguages"><b>Variables for Languages</b></a></li>
  <li><a href="#section_VariablesspecifictoCPackBundlegenerator"><b>Variables specific to CPack Bundle generator</b></a></li>
  <li><a href="#section_VariablesspecifictoCPackCygwingenerator"><b>Variables specific to CPack Cygwin generator</b></a></li>
  <li><a href="#section_VariablesspecifictoCPackDebianDEBgenerator"><b>Variables specific to CPack Debian (DEB) generator</b></a></li>
  <li><a href="#section_VariablesspecifictoCPackDragNDropgenerator"><b>Variables specific to CPack DragNDrop generator</b></a></li>
  <li><a href="#section_VariablesspecifictoCPackNSISgenerator"><b>Variables specific to CPack NSIS generator</b></a></li>
  <li><a href="#section_VariablesspecifictoCPackPackageMakergenerator"><b>Variables specific to CPack PackageMaker generator</b></a></li>
  <li><a href="#section_VariablesspecifictoCPackRPMgenerator"><b>Variables specific to CPack RPM generator</b></a></li>
  <li><a href="#section_VariablesspecifictoCPackWiXgenerator"><b>Variables specific to CPack WiX generator</b></a></li>
  <li><a href="#section_VariablesthatControltheBuild"><b>Variables that Control the Build</b></a></li>
  <li><a href="#section_VariablesthatProvideInformation"><b>Variables that Provide Information</b></a></li>
  <li><a href="#section_Copyright"><b>Copyright</b></a></li>
  <li><a href="#section_SeeAlso"><b>See Also</b></a></li>
</ul>
<h2><a name="section_Name"></a>Name</h2>
<pre>  cpack - Packaging driver provided by CMake.</pre>
    
<h2><a name="section_Usage"></a>Usage</h2>
<pre>  cpack -G &lt;generator&gt; [options]</pre>
    
<h2><a name="section_Description"></a>Description</h2>
<p>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.</p>

<p>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.</p>

<h2><a name="section_Options"></a>Options</h2>
<ul>
    <li><a href="#opt:-Ggenerator"><b><code>-G &lt;generator&gt;</code></b></a></li>
    <li><a href="#opt:-CConfiguration"><b><code>-C &lt;Configuration&gt;</code></b></a></li>
    <li><a href="#opt:-Dvarvalue"><b><code>-D &lt;var&gt;=&lt;value&gt;</code></b></a></li>
    <li><a href="#opt:--configconfigfile"><b><code>--config &lt;config file&gt;</code></b></a></li>
    <li><a href="#opt:--verbose-V"><b><code>--verbose,-V</code></b></a></li>
    <li><a href="#opt:--debug"><b><code>--debug</code></b></a></li>
    <li><a href="#opt:-Ppackagename"><b><code>-P &lt;package name&gt;</code></b></a></li>
    <li><a href="#opt:-Rpackageversion"><b><code>-R &lt;package version&gt;</code></b></a></li>
    <li><a href="#opt:-Bpackagedirectory"><b><code>-B &lt;package directory&gt;</code></b></a></li>
    <li><a href="#opt:--vendorvendorname"><b><code>--vendor &lt;vendor name&gt;</code></b></a></li>
    <li><a href="#opt:--help-commandcmdfile"><b><code>--help-command cmd [file]</code></b></a></li>
    <li><a href="#opt:--help-command-listfile"><b><code>--help-command-list [file]</code></b></a></li>
    <li><a href="#opt:--help-commandsfile"><b><code>--help-commands [file]</code></b></a></li>
    <li><a href="#opt:--help-variablevarfile"><b><code>--help-variable var [file]</code></b></a></li>
    <li><a href="#opt:--help-variable-listfile"><b><code>--help-variable-list [file]</code></b></a></li>
    <li><a href="#opt:--help-variablesfile"><b><code>--help-variables [file]</code></b></a></li>
    <li><a href="#opt:--copyrightfile"><b><code>--copyright [file]</code></b></a></li>
    <li><a href="#opt:--help-help-usage-h-H"><b><code>--help,-help,-usage,-h,-H,/?</code></b></a></li>
    <li><a href="#opt:--help-fullfile"><b><code>--help-full [file]</code></b></a></li>
    <li><a href="#opt:--help-htmlfile"><b><code>--help-html [file]</code></b></a></li>
    <li><a href="#opt:--help-manfile"><b><code>--help-man [file]</code></b></a></li>
    <li><a href="#opt:--version-versionVfile"><b><code>--version,-version,/V [file]</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="opt:-Ggenerator"></a><b><code>-G &lt;generator&gt;</code></b>: Use the specified generator to generate package.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="opt:-CConfiguration"></a><b><code>-C &lt;Configuration&gt;</code></b>: Specify the project configuration<br />
    <p>This option specifies the configuration that the project was build with, for example 'Debug', 'Release'.</p>

  </li>
  <li>
    <a name="opt:-Dvarvalue"></a><b><code>-D &lt;var&gt;=&lt;value&gt;</code></b>: Set a CPack variable.<br />
    <p>Set a variable that can be used by the generator.</p>

  </li>
  <li>
    <a name="opt:--configconfigfile"></a><b><code>--config &lt;config file&gt;</code></b>: Specify the config file.<br />
    <p>Specify the config file to use to create the package. By default CPackConfig.cmake in the current directory will be used.</p>

  </li>
  <li>
    <a name="opt:--verbose-V"></a><b><code>--verbose,-V</code></b>: enable verbose output<br />
    <p>Run cpack with verbose output.</p>

  </li>
  <li>
    <a name="opt:--debug"></a><b><code>--debug</code></b>: enable debug output (for CPack developers)<br />
    <p>Run cpack with debug output (for CPack developers).</p>

  </li>
  <li>
    <a name="opt:-Ppackagename"></a><b><code>-P &lt;package name&gt;</code></b>: override/define CPACK_PACKAGE_NAME<br />
    <p>If the package name is not specified on cpack commmand line thenCPack.cmake defines it as CMAKE_PROJECT_NAME</p>

  </li>
  <li>
    <a name="opt:-Rpackageversion"></a><b><code>-R &lt;package version&gt;</code></b>: override/define CPACK_PACKAGE_VERSION<br />
    <p>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</p>

  </li>
  <li>
    <a name="opt:-Bpackagedirectory"></a><b><code>-B &lt;package directory&gt;</code></b>: override/define CPACK_PACKAGE_DIRECTORY<br />
    <p>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.</p>

  </li>
  <li>
    <a name="opt:--vendorvendorname"></a><b><code>--vendor &lt;vendor name&gt;</code></b>: override/define CPACK_PACKAGE_VENDOR<br />
    <p>If vendor is not specified on cpack command line (or inside CMakeLists.txt) thenCPack.cmake defines it with a default value</p>

  </li>
  <li>
    <a name="opt:--help-commandcmdfile"></a><b><code>--help-command cmd [file]</code></b>: Print help for a single command and exit.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="opt:--help-command-listfile"></a><b><code>--help-command-list [file]</code></b>: List available commands and exit.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="opt:--help-commandsfile"></a><b><code>--help-commands [file]</code></b>: Print help for all commands and exit.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="opt:--help-variablevarfile"></a><b><code>--help-variable var [file]</code></b>: Print help for a single variable and exit.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="opt:--help-variable-listfile"></a><b><code>--help-variable-list [file]</code></b>: List documented variables and exit.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="opt:--help-variablesfile"></a><b><code>--help-variables [file]</code></b>: Print help for all variables and exit.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="opt:--copyrightfile"></a><b><code>--copyright [file]</code></b>: Print the CMake copyright and exit.<br />
    <p>If a file is specified, the copyright is written into it.</p>

  </li>
  <li>
    <a name="opt:--help-help-usage-h-H"></a><b><code>--help,-help,-usage,-h,-H,/?</code></b>: Print usage information and exit.<br />
    <p>Usage describes the basic command line interface and its options.</p>

  </li>
  <li>
    <a name="opt:--help-fullfile"></a><b><code>--help-full [file]</code></b>: Print full help and exit.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="opt:--help-htmlfile"></a><b><code>--help-html [file]</code></b>: Print full help in HTML format.<br />
    <p>This option is used by CMake authors to help produce web pages.  If a file is specified, the help is written into it.</p>

  </li>
  <li>
    <a name="opt:--help-manfile"></a><b><code>--help-man [file]</code></b>: Print full help as a UNIX man page and exit.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="opt:--version-versionVfile"></a><b><code>--version,-version,/V [file]</code></b>: Show program name/version banner and exit.<br />
    <p>If a file is specified, the version is written into it.</p>

  </li>
</ul>
<h2><a name="section_Generators"></a>Generators</h2>
<ul>
    <li><a href="#gen:DEB"><b><code>DEB</code></b></a></li>
    <li><a href="#gen:NSIS"><b><code>NSIS</code></b></a></li>
    <li><a href="#gen:NSIS64"><b><code>NSIS64</code></b></a></li>
    <li><a href="#gen:RPM"><b><code>RPM</code></b></a></li>
    <li><a href="#gen:STGZ"><b><code>STGZ</code></b></a></li>
    <li><a href="#gen:TBZ2"><b><code>TBZ2</code></b></a></li>
    <li><a href="#gen:TGZ"><b><code>TGZ</code></b></a></li>
    <li><a href="#gen:TZ"><b><code>TZ</code></b></a></li>
    <li><a href="#gen:ZIP"><b><code>ZIP</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="gen:DEB"></a><b><code>DEB</code></b>: Debian packages
  </li>
  <li>
    <a name="gen:NSIS"></a><b><code>NSIS</code></b>: Null Soft Installer
  </li>
  <li>
    <a name="gen:NSIS64"></a><b><code>NSIS64</code></b>: Null Soft Installer (64-bit)
  </li>
  <li>
    <a name="gen:RPM"></a><b><code>RPM</code></b>: RPM packages
  </li>
  <li>
    <a name="gen:STGZ"></a><b><code>STGZ</code></b>: Self extracting Tar GZip compression
  </li>
  <li>
    <a name="gen:TBZ2"></a><b><code>TBZ2</code></b>: Tar BZip2 compression
  </li>
  <li>
    <a name="gen:TGZ"></a><b><code>TGZ</code></b>: Tar GZip compression
  </li>
  <li>
    <a name="gen:TZ"></a><b><code>TZ</code></b>: Tar Compress compression
  </li>
  <li>
    <a name="gen:ZIP"></a><b><code>ZIP</code></b>: ZIP file format
  </li>
</ul>
<h2><a name="section_Commands"></a>Commands</h2>
<ul>
    <li><a href="#command:cpack_add_component"><b><code>cpack_add_component</code></b></a></li>
    <li><a href="#command:cpack_add_component_group"><b><code>cpack_add_component_group</code></b></a></li>
    <li><a href="#command:cpack_add_install_type"><b><code>cpack_add_install_type</code></b></a></li>
    <li><a href="#command:cpack_configure_downloads"><b><code>cpack_configure_downloads</code></b></a></li>
    <li><a href="#command:break"><b><code>break</code></b></a></li>
    <li><a href="#command:cmake_host_system_information"><b><code>cmake_host_system_information</code></b></a></li>
    <li><a href="#command:cmake_minimum_required"><b><code>cmake_minimum_required</code></b></a></li>
    <li><a href="#command:cmake_policy"><b><code>cmake_policy</code></b></a></li>
    <li><a href="#command:configure_file"><b><code>configure_file</code></b></a></li>
    <li><a href="#command:else"><b><code>else</code></b></a></li>
    <li><a href="#command:elseif"><b><code>elseif</code></b></a></li>
    <li><a href="#command:endforeach"><b><code>endforeach</code></b></a></li>
    <li><a href="#command:endfunction"><b><code>endfunction</code></b></a></li>
    <li><a href="#command:endif"><b><code>endif</code></b></a></li>
    <li><a href="#command:endmacro"><b><code>endmacro</code></b></a></li>
    <li><a href="#command:endwhile"><b><code>endwhile</code></b></a></li>
    <li><a href="#command:execute_process"><b><code>execute_process</code></b></a></li>
    <li><a href="#command:file"><b><code>file</code></b></a></li>
    <li><a href="#command:find_file"><b><code>find_file</code></b></a></li>
    <li><a href="#command:find_library"><b><code>find_library</code></b></a></li>
    <li><a href="#command:find_package"><b><code>find_package</code></b></a></li>
    <li><a href="#command:find_path"><b><code>find_path</code></b></a></li>
    <li><a href="#command:find_program"><b><code>find_program</code></b></a></li>
    <li><a href="#command:foreach"><b><code>foreach</code></b></a></li>
    <li><a href="#command:function"><b><code>function</code></b></a></li>
    <li><a href="#command:get_cmake_property"><b><code>get_cmake_property</code></b></a></li>
    <li><a href="#command:get_directory_property"><b><code>get_directory_property</code></b></a></li>
    <li><a href="#command:get_filename_component"><b><code>get_filename_component</code></b></a></li>
    <li><a href="#command:get_property"><b><code>get_property</code></b></a></li>
    <li><a href="#command:if"><b><code>if</code></b></a></li>
    <li><a href="#command:include"><b><code>include</code></b></a></li>
    <li><a href="#command:list"><b><code>list</code></b></a></li>
    <li><a href="#command:macro"><b><code>macro</code></b></a></li>
    <li><a href="#command:mark_as_advanced"><b><code>mark_as_advanced</code></b></a></li>
    <li><a href="#command:math"><b><code>math</code></b></a></li>
    <li><a href="#command:message"><b><code>message</code></b></a></li>
    <li><a href="#command:option"><b><code>option</code></b></a></li>
    <li><a href="#command:return"><b><code>return</code></b></a></li>
    <li><a href="#command:separate_arguments"><b><code>separate_arguments</code></b></a></li>
    <li><a href="#command:set"><b><code>set</code></b></a></li>
    <li><a href="#command:set_directory_properties"><b><code>set_directory_properties</code></b></a></li>
    <li><a href="#command:set_property"><b><code>set_property</code></b></a></li>
    <li><a href="#command:site_name"><b><code>site_name</code></b></a></li>
    <li><a href="#command:string"><b><code>string</code></b></a></li>
    <li><a href="#command:unset"><b><code>unset</code></b></a></li>
    <li><a href="#command:variable_watch"><b><code>variable_watch</code></b></a></li>
    <li><a href="#command:while"><b><code>while</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="command:cpack_add_component"></a><b><code>cpack_add_component</code></b>: Describes a CPack installation component named by the COMPONENT argument to a CMake INSTALL command.<br />
    <pre>  cpack_add_component(compname<br />                      [DISPLAY_NAME name]<br />                      [DESCRIPTION description]<br />                      [HIDDEN | REQUIRED | DISABLED ]<br />                      [GROUP group]<br />                      [DEPENDS comp1 comp2 ... ]<br />                      [INSTALL_TYPES type1 type2 ... ]<br />                      [DOWNLOADED]<br />                      [ARCHIVE_FILE filename])<br /></pre>
    <p><br /></p>
<p>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.<br /></p>
<p>DISPLAY_NAME is the displayed name of the component, used in graphical installers to display the component name. This value can be any string.<br /></p>
<p>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.<br /></p>
<p>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.<br /></p>
<p>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).<br /></p>
<p>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.<br /></p>
<p>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.<br /></p>
<p>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.<br /></p>
<p>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.<br /></p>
<p>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.<br /></p>
<p>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.</p>

  </li>
  <li>
    <a name="command:cpack_add_component_group"></a><b><code>cpack_add_component_group</code></b>: Describes a group of related CPack installation components.<br />
    <pre>  cpack_add_component_group(groupname<br />                           [DISPLAY_NAME name]<br />                           [DESCRIPTION description]<br />                           [PARENT_GROUP parent]<br />                           [EXPANDED]<br />                           [BOLD_TITLE])<br /></pre>
    <p><br /></p>
<p>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.<br /></p>
<p>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.<br /></p>
<p>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.<br /></p>
<p>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.<br /></p>
<p>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.<br /></p>
<p>BOLD_TITLE indicates that the group title should appear in bold, to call the user's attention to the group.</p>

  </li>
  <li>
    <a name="command:cpack_add_install_type"></a><b><code>cpack_add_install_type</code></b>: Add a new installation type containing a set of predefined component selections to the graphical installer.<br />
    <pre>  cpack_add_install_type(typename<br />                         [DISPLAY_NAME name])<br /></pre>
    <p><br /></p>
<p>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.<br /></p>
<p>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.</p>

  </li>
  <li>
    <a name="command:cpack_configure_downloads"></a><b><code>cpack_configure_downloads</code></b>: Configure CPack to download selected components on-the-fly as part of the installation process.<br />
    <pre>  cpack_configure_downloads(site<br />                            [UPLOAD_DIRECTORY dirname]<br />                            [ALL]<br />                            [ADD_REMOVE|NO_ADD_REMOVE])<br /></pre>
    <p><br /></p>
<p>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:<br /></p>
<pre>  <a href="http://nsis.sourceforge.net/ZipDLL_plug-in">http://nsis.sourceforge.net/ZipDLL_plug-in</a><br /></pre>
    <p><br /></p>
<p>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.<br /></p>
<p>The site argument is a URL where the archives for downloadable components will reside, e.g., <a href="http://www.cmake.org/files/2.6.1/installer/">http://www.cmake.org/files/2.6.1/installer/</a> All of the archives produced by CPack should be uploaded to that location.<br /></p>
<p>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.<br /></p>
<p>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).<br /></p>
<p>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.</p>

  </li>
  <li>
    <a name="command:break"></a><b><code>break</code></b>: Break from an enclosing foreach or while loop.<br />
    <pre>  break()<br /></pre>
    <p>Breaks from an enclosing foreach loop or while loop</p>

  </li>
  <li>
    <a name="command:cmake_host_system_information"></a><b><code>cmake_host_system_information</code></b>: Query host system specific information.<br />
    <pre>  cmake_host_system_information(RESULT &lt;variable&gt; QUERY &lt;key&gt; ...)<br /></pre>
    <p>Queries system information of the host system on which cmake runs. One or more &lt;key&gt; can be provided to select the information to be queried. The list of queried values is stored in &lt;variable&gt;.<br /></p>
<p>&lt;key&gt; can be one of the following values:<br /></p>
<pre>  NUMBER_OF_LOGICAL_CORES   = Number of logical cores.<br />  NUMBER_OF_PHYSICAL_CORES  = Number of physical cores.<br />  HOSTNAME                  = Hostname.<br />  FQDN                      = Fully qualified domain name.<br />  TOTAL_VIRTUAL_MEMORY      = Total virtual memory in megabytes.<br />  AVAILABLE_VIRTUAL_MEMORY  = Available virtual memory in megabytes.<br />  TOTAL_PHYSICAL_MEMORY     = Total physical memory in megabytes.<br />  AVAILABLE_PHYSICAL_MEMORY = Available physical memory in megabytes.<br /></pre>
    
  </li>
  <li>
    <a name="command:cmake_minimum_required"></a><b><code>cmake_minimum_required</code></b>: Set the minimum required version of cmake for a project.<br />
    <pre>  cmake_minimum_required(VERSION major[.minor[.patch[.tweak]]]<br />                         [FATAL_ERROR])<br /></pre>
    <p>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<br /></p>
<pre>  cmake_policy(VERSION major[.minor[.patch[.tweak]]])<br /></pre>
    <p>which sets the cmake policy version level to the version specified.  When version 2.4 or lower is given the command implicitly invokes<br /></p>
<pre>  cmake_policy(VERSION 2.4)<br /></pre>
    <p>which enables compatibility features for CMake 2.4 and lower.<br /></p>
<p>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.</p>

  </li>
  <li>
    <a name="command:cmake_policy"></a><b><code>cmake_policy</code></b>: Manage CMake Policy settings.<br />
    <p>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&lt;NNNN&gt;" where "&lt;NNNN&gt;" 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.<br /></p>
<p>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.<br /></p>
<pre>  cmake_policy(VERSION major.minor[.patch[.tweak]])<br /></pre>
    <p>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&lt;NNNN&gt; 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.<br /></p>
<pre>  cmake_policy(SET CMP&lt;NNNN&gt; NEW)<br />  cmake_policy(SET CMP&lt;NNNN&gt; OLD)<br /></pre>
    <p>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.<br /></p>
<pre>  cmake_policy(GET CMP&lt;NNNN&gt; &lt;variable&gt;)<br /></pre>
    <p>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.<br /></p>
<p>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:<br /></p>
<pre>  cmake_policy(PUSH)<br />  cmake_policy(POP)<br /></pre>
    <p>Each PUSH must have a matching POP to erase any changes.  This is useful to make temporary changes to policy settings.<br /></p>
<p>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.</p>

  </li>
  <li>
    <a name="command:configure_file"></a><b><code>configure_file</code></b>: Copy a file to another location and modify its contents.<br />
    <pre>  configure_file(&lt;input&gt; &lt;output&gt;<br />                 [COPYONLY] [ESCAPE_QUOTES] [@ONLY] <br />                 [NEWLINE_STYLE [UNIX|DOS|WIN32|LF|CRLF] ])<br /></pre>
    <p>Copies a file &lt;input&gt; to file &lt;output&gt; and substitutes variable values referenced in the file content.  If &lt;input&gt; is a relative path it is evaluated with respect to the current source directory.  The &lt;input&gt; must be a file, not a directory.  If &lt;output&gt; is a relative path it is evaluated with respect to the current binary directory.  If &lt;output&gt; names an existing directory the input file is placed in that directory with its original name.  <br /></p>
<p>If the &lt;input&gt; file is modified the build system will re-run CMake to re-configure the file and generate the build system again.<br /></p>
<p>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}.<br /></p>
<p>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.<br /></p>
<p>With NEWLINE_STYLE the line ending could be adjusted: <br /></p>
<pre>    'UNIX' or 'LF' for \n, 'DOS', 'WIN32' or 'CRLF' for \r\n.<br /></pre>
    <p>COPYONLY must not be used with NEWLINE_STYLE.<br /></p>

  </li>
  <li>
    <a name="command:else"></a><b><code>else</code></b>: Starts the else portion of an if block.<br />
    <pre>  else(expression)<br /></pre>
    <p>See the if command.</p>

  </li>
  <li>
    <a name="command:elseif"></a><b><code>elseif</code></b>: Starts the elseif portion of an if block.<br />
    <pre>  elseif(expression)<br /></pre>
    <p>See the if command.</p>

  </li>
  <li>
    <a name="command:endforeach"></a><b><code>endforeach</code></b>: Ends a list of commands in a FOREACH block.<br />
    <pre>  endforeach(expression)<br /></pre>
    <p>See the FOREACH command.</p>

  </li>
  <li>
    <a name="command:endfunction"></a><b><code>endfunction</code></b>: Ends a list of commands in a function block.<br />
    <pre>  endfunction(expression)<br /></pre>
    <p>See the function command.</p>

  </li>
  <li>
    <a name="command:endif"></a><b><code>endif</code></b>: Ends a list of commands in an if block.<br />
    <pre>  endif(expression)<br /></pre>
    <p>See the if command.</p>

  </li>
  <li>
    <a name="command:endmacro"></a><b><code>endmacro</code></b>: Ends a list of commands in a macro block.<br />
    <pre>  endmacro(expression)<br /></pre>
    <p>See the macro command.</p>

  </li>
  <li>
    <a name="command:endwhile"></a><b><code>endwhile</code></b>: Ends a list of commands in a while block.<br />
    <pre>  endwhile(expression)<br /></pre>
    <p>See the while command.</p>

  </li>
  <li>
    <a name="command:execute_process"></a><b><code>execute_process</code></b>: Execute one or more child processes.<br />
    <pre>  execute_process(COMMAND &lt;cmd1&gt; [args1...]]<br />                  [COMMAND &lt;cmd2&gt; [args2...] [...]]<br />                  [WORKING_DIRECTORY &lt;directory&gt;]<br />                  [TIMEOUT &lt;seconds&gt;]<br />                  [RESULT_VARIABLE &lt;variable&gt;]<br />                  [OUTPUT_VARIABLE &lt;variable&gt;]<br />                  [ERROR_VARIABLE &lt;variable&gt;]<br />                  [INPUT_FILE &lt;file&gt;]<br />                  [OUTPUT_FILE &lt;file&gt;]<br />                  [ERROR_FILE &lt;file&gt;]<br />                  [OUTPUT_QUIET]<br />                  [ERROR_QUIET]<br />                  [OUTPUT_STRIP_TRAILING_WHITESPACE]<br />                  [ERROR_STRIP_TRAILING_WHITESPACE])<br /></pre>
    <p>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.<br /></p>
<p>The execute_process command is a newer more powerful version of exec_program, but the old command has been kept for compatibility.</p>

  </li>
  <li>
    <a name="command:file"></a><b><code>file</code></b>: File manipulation command.<br />
    <pre>  file(WRITE filename "message to write"... )<br />  file(APPEND filename "message to write"... )<br />  file(READ filename variable [LIMIT numBytes] [OFFSET offset] [HEX])<br />  file(&lt;MD5|SHA1|SHA224|SHA256|SHA384|SHA512&gt; filename variable)<br />  file(STRINGS filename variable [LIMIT_COUNT num]<br />       [LIMIT_INPUT numBytes] [LIMIT_OUTPUT numBytes]<br />       [LENGTH_MINIMUM numBytes] [LENGTH_MAXIMUM numBytes]<br />       [NEWLINE_CONSUME] [REGEX regex]<br />       [NO_HEX_CONVERSION])<br />  file(GLOB variable [RELATIVE path] [globbing expressions]...)<br />  file(GLOB_RECURSE variable [RELATIVE path] <br />       [FOLLOW_SYMLINKS] [globbing expressions]...)<br />  file(RENAME &lt;oldname&gt; &lt;newname&gt;)<br />  file(REMOVE [file1 ...])<br />  file(REMOVE_RECURSE [file1 ...])<br />  file(MAKE_DIRECTORY [directory1 directory2 ...])<br />  file(RELATIVE_PATH variable directory file)<br />  file(TO_CMAKE_PATH path result)<br />  file(TO_NATIVE_PATH path result)<br />  file(DOWNLOAD url file [INACTIVITY_TIMEOUT timeout]<br />       [TIMEOUT timeout] [STATUS status] [LOG log] [SHOW_PROGRESS]<br />       [EXPECTED_HASH ALGO=value] [EXPECTED_MD5 sum]<br />       [TLS_VERIFY on|off] [TLS_CAINFO file])<br />  file(UPLOAD filename url [INACTIVITY_TIMEOUT timeout]<br />       [TIMEOUT timeout] [STATUS status] [LOG log] [SHOW_PROGRESS])<br />  file(TIMESTAMP filename variable [&lt;format string&gt;] [UTC])<br />  file(GENERATE OUTPUT output_file<br />       &lt;INPUT input_file|CONTENT input_content&gt;<br />       [CONDITION expression])<br /></pre>
    <p>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.)<br /></p>
<p>APPEND will write a message into a file same as WRITE, except it will append it to the end of the file<br /></p>
<p>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.<br /></p>
<p>MD5, SHA1, SHA224, SHA256, SHA384, and SHA512 will compute a cryptographic hash of the content of a file.<br /></p>
<p>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.<br /></p>
<p>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.<br /></p>
<p>REGEX specifies a regular expression that a string must match to be returned. Typical usage <br /></p>
<pre>  file(STRINGS myfile.txt myfile)<br /></pre>
    <p>stores a list in the variable "myfile" in which each item is a line from the input file.<br /></p>
<p>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.)<br /></p>
<p>Examples of globbing expressions include:<br /></p>
<pre>   *.cxx      - match all files with extension cxx<br />   *.vt?      - match all files with extension vta,...,vtz<br />   f[3-5].txt - match files f3.txt, f4.txt, f5.txt<br /></pre>
    <p>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.<br /></p>
<p>Examples of recursive globbing include:<br /></p>
<pre>   /dir/*.py  - match all python files in /dir and subdirectories<br /></pre>
    <p>MAKE_DIRECTORY will create the given directories, also if their parent directories don't exist yet<br /></p>
<p>RENAME moves a file or directory within a filesystem, replacing the destination atomically.<br /></p>
<p>REMOVE will remove the given files, also in subdirectories<br /></p>
<p>REMOVE_RECURSE will remove the given files and directories, also non-empty directories<br /></p>
<p>RELATIVE_PATH will determine relative path from directory to the given file.<br /></p>
<p>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.<br /></p>
<p>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.<br /></p>
<p>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.<br /></p>
<p>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.<br /></p>
<p>TIMESTAMP will write a string representation of the modification time of filename to variable.<br /></p>
<p>Should the command be unable to obtain a timestamp variable will be set to the empty string "".<br /></p>
<p>See documentation of the string TIMESTAMP sub-command for more details.<br /></p>
<p>The file() command also provides COPY and INSTALL signatures:<br /></p>
<pre>  file(&lt;COPY|INSTALL&gt; files... DESTINATION &lt;dir&gt;<br />       [FILE_PERMISSIONS permissions...]<br />       [DIRECTORY_PERMISSIONS permissions...]<br />       [NO_SOURCE_PERMISSIONS] [USE_SOURCE_PERMISSIONS]<br />       [FILES_MATCHING]<br />       [[PATTERN &lt;pattern&gt; | REGEX &lt;regex&gt;]<br />        [EXCLUDE] [PERMISSIONS permissions...]] [...])<br /></pre>
    <p>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.  <br /></p>
<p>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).<br /></p>
<p>GENERATE will write an &lt;output_file&gt; with content from an &lt;input_file&gt;, or from &lt;input_content&gt;.  The output is generated conditionally based on the content of the &lt;condition&gt;.  The file is written at CMake generate-time and the input may contain generator expressions.  The &lt;condition&gt;, &lt;output_file&gt; and &lt;input_file&gt; may also contain generator expressions.  The &lt;condition&gt; must evaluate to either '0' or '1'.  The &lt;output_file&gt; must evaluate to a unique name among all configurations and among all invocations of file(GENERATE).</p>

  </li>
  <li>
    <a name="command:find_file"></a><b><code>find_file</code></b>: Find the full path to a file.<br />
    <pre>   find_file(&lt;VAR&gt; name1 [path1 path2 ...])<br /></pre>
    <p>This is the short-hand signature for the command that is sufficient in many cases.  It is the same as find_file(&lt;VAR&gt; name1 [PATHS path1 path2 ...])<br /></p>
<pre>   find_file(<br />             &lt;VAR&gt;<br />             name | NAMES name1 [name2 ...]<br />             [HINTS path1 [path2 ... ENV var]]<br />             [PATHS path1 [path2 ... ENV var]]<br />             [PATH_SUFFIXES suffix1 [suffix2 ...]]<br />             [DOC "cache documentation string"]<br />             [NO_DEFAULT_PATH]<br />             [NO_CMAKE_ENVIRONMENT_PATH]<br />             [NO_CMAKE_PATH]<br />             [NO_SYSTEM_ENVIRONMENT_PATH]<br />             [NO_CMAKE_SYSTEM_PATH]<br />             [CMAKE_FIND_ROOT_PATH_BOTH |<br />              ONLY_CMAKE_FIND_ROOT_PATH |<br />              NO_CMAKE_FIND_ROOT_PATH]<br />            )<br /></pre>
    <p>This command is used to find a full path to named file. A cache entry named by &lt;VAR&gt; is created to store the result of this command.  If the full path to a file 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 &lt;VAR&gt;-NOTFOUND, and the search will be attempted again the next time find_file 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 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.<br /></p>
<p>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:<br /></p>
<p>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.<br /></p>
<pre>   &lt;prefix&gt;/include/&lt;arch&gt; if CMAKE_LIBRARY_ARCHITECTURE is set, and<br />   &lt;prefix&gt;/include for each &lt;prefix&gt; in CMAKE_PREFIX_PATH<br />   CMAKE_INCLUDE_PATH<br />   CMAKE_FRAMEWORK_PATH<br /></pre>
    <p>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.<br /></p>
<pre>   &lt;prefix&gt;/include/&lt;arch&gt; if CMAKE_LIBRARY_ARCHITECTURE is set, and<br />   &lt;prefix&gt;/include for each &lt;prefix&gt; in CMAKE_PREFIX_PATH<br />   CMAKE_INCLUDE_PATH<br />   CMAKE_FRAMEWORK_PATH<br /></pre>
    <p>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.<br /></p>
<p>4. Search the standard system environment variables. This can be skipped if NO_SYSTEM_ENVIRONMENT_PATH is an argument.<br /></p>
<pre>   PATH<br />   INCLUDE<br /></pre>
    <p>5. Search cmake variables defined in the Platform files for the current system.  This can be skipped if NO_CMAKE_SYSTEM_PATH is passed.<br /></p>
<pre>   &lt;prefix&gt;/include/&lt;arch&gt; if CMAKE_LIBRARY_ARCHITECTURE is set, and<br />   &lt;prefix&gt;/include for each &lt;prefix&gt; in CMAKE_SYSTEM_PREFIX_PATH<br />   CMAKE_SYSTEM_INCLUDE_PATH<br />   CMAKE_SYSTEM_FRAMEWORK_PATH<br /></pre>
    <p>6. Search the paths specified by the PATHS option or in the short-hand version of the command.  These are typically hard-coded guesses.<br /></p>
<p>On Darwin or systems supporting OS X Frameworks, the cmake variable    CMAKE_FIND_FRAMEWORK can be set to empty or one of the following:<br /></p>
<pre>   "FIRST"  - Try to find frameworks before standard<br />              libraries or headers. This is the default on Darwin.<br />   "LAST"   - Try to find frameworks after standard<br />              libraries or headers.<br />   "ONLY"   - Only try to find frameworks.<br />   "NEVER" - Never try to find frameworks.<br /></pre>
    <p>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:<br /></p>
<pre>   "FIRST"  - Try to find application bundles before standard<br />              programs. This is the default on Darwin.<br />   "LAST"   - Try to find application bundles after standard<br />              programs.<br />   "ONLY"   - Only try to find application bundles.<br />   "NEVER" - Never try to find application bundles.<br /></pre>
    <p>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_INCLUDE.  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.<br /></p>
<p>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:<br /></p>
<pre>   find_file(&lt;VAR&gt; NAMES name PATHS paths... NO_DEFAULT_PATH)<br />   find_file(&lt;VAR&gt; NAMES name)<br /></pre>
    <p>Once one of the calls succeeds the result variable will be set and stored in the cache so that no call will search again.</p>

  </li>
  <li>
    <a name="command:find_library"></a><b><code>find_library</code></b>: Find a library.<br />
    <pre>   find_library(&lt;VAR&gt; name1 [path1 path2 ...])<br /></pre>
    <p>This is the short-hand signature for the command that is sufficient in many cases.  It is the same as find_library(&lt;VAR&gt; name1 [PATHS path1 path2 ...])<br /></p>
<pre>   find_library(<br />             &lt;VAR&gt;<br />             name | NAMES name1 [name2 ...] [NAMES_PER_DIR]<br />             [HINTS path1 [path2 ... ENV var]]<br />             [PATHS path1 [path2 ... ENV var]]<br />             [PATH_SUFFIXES suffix1 [suffix2 ...]]<br />             [DOC "cache documentation string"]<br />             [NO_DEFAULT_PATH]<br />             [NO_CMAKE_ENVIRONMENT_PATH]<br />             [NO_CMAKE_PATH]<br />             [NO_SYSTEM_ENVIRONMENT_PATH]<br />             [NO_CMAKE_SYSTEM_PATH]<br />             [CMAKE_FIND_ROOT_PATH_BOTH |<br />              ONLY_CMAKE_FIND_ROOT_PATH |<br />              NO_CMAKE_FIND_ROOT_PATH]<br />            )<br /></pre>
    <p>This command is used to find a library. A cache entry named by &lt;VAR&gt; is created to store the result of this command.  If the library 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 &lt;VAR&gt;-NOTFOUND, and the search will be attempted again the next time find_library is invoked with the same variable.  The name of the library 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.<br /></p>
<p>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:<br /></p>
<p>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.<br /></p>
<pre>   &lt;prefix&gt;/lib/&lt;arch&gt; if CMAKE_LIBRARY_ARCHITECTURE is set, and<br />   &lt;prefix&gt;/lib for each &lt;prefix&gt; in CMAKE_PREFIX_PATH<br />   CMAKE_LIBRARY_PATH<br />   CMAKE_FRAMEWORK_PATH<br /></pre>
    <p>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.<br /></p>
<pre>   &lt;prefix&gt;/lib/&lt;arch&gt; if CMAKE_LIBRARY_ARCHITECTURE is set, and<br />   &lt;prefix&gt;/lib for each &lt;prefix&gt; in CMAKE_PREFIX_PATH<br />   CMAKE_LIBRARY_PATH<br />   CMAKE_FRAMEWORK_PATH<br /></pre>
    <p>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.<br /></p>
<p>4. Search the standard system environment variables. This can be skipped if NO_SYSTEM_ENVIRONMENT_PATH is an argument.<br /></p>
<pre>   PATH<br />   LIB<br /></pre>
    <p>5. Search cmake variables defined in the Platform files for the current system.  This can be skipped if NO_CMAKE_SYSTEM_PATH is passed.<br /></p>
<pre>   &lt;prefix&gt;/lib/&lt;arch&gt; if CMAKE_LIBRARY_ARCHITECTURE is set, and<br />   &lt;prefix&gt;/lib for each &lt;prefix&gt; in CMAKE_SYSTEM_PREFIX_PATH<br />   CMAKE_SYSTEM_LIBRARY_PATH<br />   CMAKE_SYSTEM_FRAMEWORK_PATH<br /></pre>
    <p>6. Search the paths specified by the PATHS option or in the short-hand version of the command.  These are typically hard-coded guesses.<br /></p>
<p>On Darwin or systems supporting OS X Frameworks, the cmake variable    CMAKE_FIND_FRAMEWORK can be set to empty or one of the following:<br /></p>
<pre>   "FIRST"  - Try to find frameworks before standard<br />              libraries or headers. This is the default on Darwin.<br />   "LAST"   - Try to find frameworks after standard<br />              libraries or headers.<br />   "ONLY"   - Only try to find frameworks.<br />   "NEVER" - Never try to find frameworks.<br /></pre>
    <p>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:<br /></p>
<pre>   "FIRST"  - Try to find application bundles before standard<br />              programs. This is the default on Darwin.<br />   "LAST"   - Try to find application bundles after standard<br />              programs.<br />   "ONLY"   - Only try to find application bundles.<br />   "NEVER" - Never try to find application bundles.<br /></pre>
    <p>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_LIBRARY.  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.<br /></p>
<p>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:<br /></p>
<pre>   find_library(&lt;VAR&gt; NAMES name PATHS paths... NO_DEFAULT_PATH)<br />   find_library(&lt;VAR&gt; NAMES name)<br /></pre>
    <p>Once one of the calls succeeds the result variable will be set and stored in the cache so that no call will search again.<br /></p>
<p>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.<br /></p>
<p>If the library found is a framework, then VAR will be set to the full path to the framework &lt;fullPath&gt;/A.framework. When a full path to a framework is used as a library, CMake will use a -framework A, and a -F&lt;fullPath&gt; to link the framework to the target.<br /></p>
<p>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.</p>

  </li>
  <li>
    <a name="command:find_package"></a><b><code>find_package</code></b>: Load settings for an external project.<br />
    <pre>  find_package(&lt;package&gt; [version] [EXACT] [QUIET] [MODULE]<br />               [REQUIRED] [[COMPONENTS] [components...]]<br />               [OPTIONAL_COMPONENTS components...]<br />               [NO_POLICY_SCOPE])<br /></pre>
    <p>Finds and loads settings from an external project.  &lt;package&gt;_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.<br /></p>
<p>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.<br /></p>
<p>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).<br /></p>
<p>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.<br /></p>
<p>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&lt;package&gt;.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.<br /></p>
<p>The complete Config mode command signature is:<br /></p>
<pre>  find_package(&lt;package&gt; [version] [EXACT] [QUIET]<br />               [REQUIRED] [[COMPONENTS] [components...]]<br />               [CONFIG|NO_MODULE]<br />               [NO_POLICY_SCOPE]<br />               [NAMES name1 [name2 ...]]<br />               [CONFIGS config1 [config2 ...]]<br />               [HINTS path1 [path2 ... ]]<br />               [PATHS path1 [path2 ... ]]<br />               [PATH_SUFFIXES suffix1 [suffix2 ...]]<br />               [NO_DEFAULT_PATH]<br />               [NO_CMAKE_ENVIRONMENT_PATH]<br />               [NO_CMAKE_PATH]<br />               [NO_SYSTEM_ENVIRONMENT_PATH]<br />               [NO_CMAKE_PACKAGE_REGISTRY]<br />               [NO_CMAKE_BUILDS_PATH]<br />               [NO_CMAKE_SYSTEM_PATH]<br />               [NO_CMAKE_SYSTEM_PACKAGE_REGISTRY]<br />               [CMAKE_FIND_ROOT_PATH_BOTH |<br />                ONLY_CMAKE_FIND_ROOT_PATH |<br />                NO_CMAKE_FIND_ROOT_PATH])<br /></pre>
    <p>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.  <br /></p>
<p>Config mode attempts to locate a configuration file provided by the package to be found.  A cache entry called &lt;package&gt;_DIR is created to hold the directory containing the file.  By default the command searches for a package with the name &lt;package&gt;.  If the NAMES option is given the names following it are used instead of &lt;package&gt;.  The command searches for a file called "&lt;name&gt;Config.cmake" or "&lt;lower-case-name&gt;-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 &lt;package&gt;_CONFIG.<br /></p>
<p>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 &lt;package&gt;_CONSIDERED_CONFIGS, the associated versions in &lt;package&gt;_CONSIDERED_VERSIONS. <br /></p>
<p>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 &lt;package&gt;_DIR has been set to a directory not containing a configuration file CMake will ignore it and search from scratch.<br /></p>
<p>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 "&lt;config-file&gt;.cmake" the corresponding version file is located next to it and named either "&lt;config-file&gt;-version.cmake" or "&lt;config-file&gt;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:<br /></p>
<pre>  PACKAGE_FIND_NAME          = the &lt;package&gt; name<br />  PACKAGE_FIND_VERSION       = full requested version string<br />  PACKAGE_FIND_VERSION_MAJOR = major version if requested, else 0<br />  PACKAGE_FIND_VERSION_MINOR = minor version if requested, else 0<br />  PACKAGE_FIND_VERSION_PATCH = patch version if requested, else 0<br />  PACKAGE_FIND_VERSION_TWEAK = tweak version if requested, else 0<br />  PACKAGE_FIND_VERSION_COUNT = number of version components, 0 to 4<br /></pre>
    <p>The version file checks whether it satisfies the requested version and sets these variables:<br /></p>
<pre>  PACKAGE_VERSION            = full provided version string<br />  PACKAGE_VERSION_EXACT      = true if version is exact match<br />  PACKAGE_VERSION_COMPATIBLE = true if version is compatible<br />  PACKAGE_VERSION_UNSUITABLE = true if unsuitable as any version<br /></pre>
    <p>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:<br /></p>
<pre>  &lt;package&gt;_VERSION       = full provided version string<br />  &lt;package&gt;_VERSION_MAJOR = major version if provided, else 0<br />  &lt;package&gt;_VERSION_MINOR = minor version if provided, else 0<br />  &lt;package&gt;_VERSION_PATCH = patch version if provided, else 0<br />  &lt;package&gt;_VERSION_TWEAK = tweak version if provided, else 0<br />  &lt;package&gt;_VERSION_COUNT = number of version components, 0 to 4<br /></pre>
    <p>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.<br /></p>
<p>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<br /></p>
<pre>  find_package(&lt;package&gt; [major[.minor]] [EXACT] [REQUIRED|QUIET])<br /></pre>
    <p>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.<br /></p>
<p>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.<br /></p>
<pre>  &lt;prefix&gt;/                                               (W)<br />  &lt;prefix&gt;/(cmake|CMake)/                                 (W)<br />  &lt;prefix&gt;/&lt;name&gt;*/                                       (W)<br />  &lt;prefix&gt;/&lt;name&gt;*/(cmake|CMake)/                         (W)<br />  &lt;prefix&gt;/(lib/&lt;arch&gt;|lib|share)/cmake/&lt;name&gt;*/          (U)<br />  &lt;prefix&gt;/(lib/&lt;arch&gt;|lib|share)/&lt;name&gt;*/                (U)<br />  &lt;prefix&gt;/(lib/&lt;arch&gt;|lib|share)/&lt;name&gt;*/(cmake|CMake)/  (U)<br /></pre>
    <p>On systems supporting OS X Frameworks and Application Bundles the following directories are searched for frameworks or bundles containing a configuration file:<br /></p>
<pre>  &lt;prefix&gt;/&lt;name&gt;.framework/Resources/                    (A)<br />  &lt;prefix&gt;/&lt;name&gt;.framework/Resources/CMake/              (A)<br />  &lt;prefix&gt;/&lt;name&gt;.framework/Versions/*/Resources/         (A)<br />  &lt;prefix&gt;/&lt;name&gt;.framework/Versions/*/Resources/CMake/   (A)<br />  &lt;prefix&gt;/&lt;name&gt;.app/Contents/Resources/                 (A)<br />  &lt;prefix&gt;/&lt;name&gt;.app/Contents/Resources/CMake/           (A)<br /></pre>
    <p>In all cases the &lt;name&gt; is treated as case-insensitive and corresponds to any of the names specified (&lt;package&gt; or names given by NAMES).  Paths with lib/&lt;arch&gt; 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.<br /></p>
<p>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.<br /></p>
<p>The set of installation prefixes is constructed using the following steps.  If NO_DEFAULT_PATH is specified all NO_* options are enabled.<br /></p>
<p>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.<br /></p>
<pre>   CMAKE_PREFIX_PATH<br />   CMAKE_FRAMEWORK_PATH<br />   CMAKE_APPBUNDLE_PATH<br /></pre>
    <p>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.<br /></p>
<pre>   &lt;package&gt;_DIR<br />   CMAKE_PREFIX_PATH<br />   CMAKE_FRAMEWORK_PATH<br />   CMAKE_APPBUNDLE_PATH<br /></pre>
    <p>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.<br /></p>
<p>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.<br /></p>
<pre>   PATH<br /></pre>
    <p>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.<br /></p>
<p>6. Search paths stored in the CMake user package registry.  This can be skipped if NO_CMAKE_PACKAGE_REGISTRY is passed.  On Windows a &lt;package&gt; may appear under registry key<br /></p>
<pre>  HKEY_CURRENT_USER\Software\Kitware\CMake\Packages\&lt;package&gt;<br /></pre>
    <p>as a REG_SZ value, with arbitrary name, that specifies the directory containing the package configuration file.  On UNIX platforms a &lt;package&gt; may appear under the directory<br /></p>
<pre>  ~/.cmake/packages/&lt;package&gt;<br /></pre>
    <p>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.<br /></p>
<p>7. Search cmake variables defined in the Platform files for the current system.  This can be skipped if NO_CMAKE_SYSTEM_PATH is passed.<br /></p>
<pre>   CMAKE_SYSTEM_PREFIX_PATH<br />   CMAKE_SYSTEM_FRAMEWORK_PATH<br />   CMAKE_SYSTEM_APPBUNDLE_PATH<br /></pre>
    <p>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 &lt;package&gt; may appear under registry key<br /></p>
<pre>  HKEY_LOCAL_MACHINE\Software\Kitware\CMake\Packages\&lt;package&gt;<br /></pre>
    <p>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.<br /></p>
<p>9. Search paths specified by the PATHS option.  These are typically hard-coded guesses.<br /></p>
<p>On Darwin or systems supporting OS X Frameworks, the cmake variable    CMAKE_FIND_FRAMEWORK can be set to empty or one of the following:<br /></p>
<pre>   "FIRST"  - Try to find frameworks before standard<br />              libraries or headers. This is the default on Darwin.<br />   "LAST"   - Try to find frameworks after standard<br />              libraries or headers.<br />   "ONLY"   - Only try to find frameworks.<br />   "NEVER" - Never try to find frameworks.<br /></pre>
    <p>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:<br /></p>
<pre>   "FIRST"  - Try to find application bundles before standard<br />              programs. This is the default on Darwin.<br />   "LAST"   - Try to find application bundles after standard<br />              programs.<br />   "ONLY"   - Only try to find application bundles.<br />   "NEVER" - Never try to find application bundles.<br /></pre>
    <p>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_PACKAGE.  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.<br /></p>
<p>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:<br /></p>
<pre>   find_package(&lt;package&gt; PATHS paths... NO_DEFAULT_PATH)<br />   find_package(&lt;package&gt;)<br /></pre>
    <p>Once one of the calls succeeds the result variable will be set and stored in the cache so that no call will search again.<br /></p>
<p>Every non-REQUIRED find_package() call can be disabled by setting the variable CMAKE_DISABLE_FIND_PACKAGE_&lt;package&gt; to TRUE. See the documentation for the CMAKE_DISABLE_FIND_PACKAGE_&lt;package&gt; variable for more information.<br /></p>
<p>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):<br /></p>
<pre> &lt;package&gt;_FIND_REQUIRED      = true if REQUIRED option was given<br /> &lt;package&gt;_FIND_QUIETLY       = true if QUIET option was given<br /> &lt;package&gt;_FIND_VERSION       = full requested version string<br /> &lt;package&gt;_FIND_VERSION_MAJOR = major version if requested, else 0<br /> &lt;package&gt;_FIND_VERSION_MINOR = minor version if requested, else 0<br /> &lt;package&gt;_FIND_VERSION_PATCH = patch version if requested, else 0<br /> &lt;package&gt;_FIND_VERSION_TWEAK = tweak version if requested, else 0<br /> &lt;package&gt;_FIND_VERSION_COUNT = number of version components, 0 to 4<br /> &lt;package&gt;_FIND_VERSION_EXACT = true if EXACT option was given<br /> &lt;package&gt;_FIND_COMPONENTS    = list of requested components<br /> &lt;package&gt;_FIND_REQUIRED_&lt;c&gt;  = true if component &lt;c&gt; is required<br />                                false if component &lt;c&gt; is optional<br /></pre>
    <p>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 &lt;package&gt;_FOUND to false to tell find_package that component requirements are not satisfied.<br /></p>
<p>See the cmake_policy() command documentation for discussion of the NO_POLICY_SCOPE option.</p>

  </li>
  <li>
    <a name="command:find_path"></a><b><code>find_path</code></b>: Find the directory containing a file.<br />
    <pre>   find_path(&lt;VAR&gt; name1 [path1 path2 ...])<br /></pre>
    <p>This is the short-hand signature for the command that is sufficient in many cases.  It is the same as find_path(&lt;VAR&gt; name1 [PATHS path1 path2 ...])<br /></p>
<pre>   find_path(<br />             &lt;VAR&gt;<br />             name | NAMES name1 [name2 ...]<br />             [HINTS path1 [path2 ... ENV var]]<br />             [PATHS path1 [path2 ... ENV var]]<br />             [PATH_SUFFIXES suffix1 [suffix2 ...]]<br />             [DOC "cache documentation string"]<br />             [NO_DEFAULT_PATH]<br />             [NO_CMAKE_ENVIRONMENT_PATH]<br />             [NO_CMAKE_PATH]<br />             [NO_SYSTEM_ENVIRONMENT_PATH]<br />             [NO_CMAKE_SYSTEM_PATH]<br />             [CMAKE_FIND_ROOT_PATH_BOTH |<br />              ONLY_CMAKE_FIND_ROOT_PATH |<br />              NO_CMAKE_FIND_ROOT_PATH]<br />            )<br /></pre>
    <p>This command is used to find a directory containing the named file. A cache entry named by &lt;VAR&gt; is created to store the result of this command.  If the file in a directory 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 &lt;VAR&gt;-NOTFOUND, and the search will be attempted again the next time find_path is invoked with the same variable.  The name of the file in a directory 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.<br /></p>
<p>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:<br /></p>
<p>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.<br /></p>
<pre>   &lt;prefix&gt;/include/&lt;arch&gt; if CMAKE_LIBRARY_ARCHITECTURE is set, and<br />   &lt;prefix&gt;/include for each &lt;prefix&gt; in CMAKE_PREFIX_PATH<br />   CMAKE_INCLUDE_PATH<br />   CMAKE_FRAMEWORK_PATH<br /></pre>
    <p>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.<br /></p>
<pre>   &lt;prefix&gt;/include/&lt;arch&gt; if CMAKE_LIBRARY_ARCHITECTURE is set, and<br />   &lt;prefix&gt;/include for each &lt;prefix&gt; in CMAKE_PREFIX_PATH<br />   CMAKE_INCLUDE_PATH<br />   CMAKE_FRAMEWORK_PATH<br /></pre>
    <p>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.<br /></p>
<p>4. Search the standard system environment variables. This can be skipped if NO_SYSTEM_ENVIRONMENT_PATH is an argument.<br /></p>
<pre>   PATH<br />   INCLUDE<br /></pre>
    <p>5. Search cmake variables defined in the Platform files for the current system.  This can be skipped if NO_CMAKE_SYSTEM_PATH is passed.<br /></p>
<pre>   &lt;prefix&gt;/include/&lt;arch&gt; if CMAKE_LIBRARY_ARCHITECTURE is set, and<br />   &lt;prefix&gt;/include for each &lt;prefix&gt; in CMAKE_SYSTEM_PREFIX_PATH<br />   CMAKE_SYSTEM_INCLUDE_PATH<br />   CMAKE_SYSTEM_FRAMEWORK_PATH<br /></pre>
    <p>6. Search the paths specified by the PATHS option or in the short-hand version of the command.  These are typically hard-coded guesses.<br /></p>
<p>On Darwin or systems supporting OS X Frameworks, the cmake variable    CMAKE_FIND_FRAMEWORK can be set to empty or one of the following:<br /></p>
<pre>   "FIRST"  - Try to find frameworks before standard<br />              libraries or headers. This is the default on Darwin.<br />   "LAST"   - Try to find frameworks after standard<br />              libraries or headers.<br />   "ONLY"   - Only try to find frameworks.<br />   "NEVER" - Never try to find frameworks.<br /></pre>
    <p>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:<br /></p>
<pre>   "FIRST"  - Try to find application bundles before standard<br />              programs. This is the default on Darwin.<br />   "LAST"   - Try to find application bundles after standard<br />              programs.<br />   "ONLY"   - Only try to find application bundles.<br />   "NEVER" - Never try to find application bundles.<br /></pre>
    <p>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_INCLUDE.  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.<br /></p>
<p>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:<br /></p>
<pre>   find_path(&lt;VAR&gt; NAMES name PATHS paths... NO_DEFAULT_PATH)<br />   find_path(&lt;VAR&gt; NAMES name)<br /></pre>
    <p>Once one of the calls succeeds the result variable will be set and stored in the cache so that no call will search again.<br /></p>
<p>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. </p>

  </li>
  <li>
    <a name="command:find_program"></a><b><code>find_program</code></b>: Find an executable program.<br />
    <pre>   find_program(&lt;VAR&gt; name1 [path1 path2 ...])<br /></pre>
    <p>This is the short-hand signature for the command that is sufficient in many cases.  It is the same as find_program(&lt;VAR&gt; name1 [PATHS path1 path2 ...])<br /></p>
<pre>   find_program(<br />             &lt;VAR&gt;<br />             name | NAMES name1 [name2 ...]<br />             [HINTS path1 [path2 ... ENV var]]<br />             [PATHS path1 [path2 ... ENV var]]<br />             [PATH_SUFFIXES suffix1 [suffix2 ...]]<br />             [DOC "cache documentation string"]<br />             [NO_DEFAULT_PATH]<br />             [NO_CMAKE_ENVIRONMENT_PATH]<br />             [NO_CMAKE_PATH]<br />             [NO_SYSTEM_ENVIRONMENT_PATH]<br />             [NO_CMAKE_SYSTEM_PATH]<br />             [CMAKE_FIND_ROOT_PATH_BOTH |<br />              ONLY_CMAKE_FIND_ROOT_PATH |<br />              NO_CMAKE_FIND_ROOT_PATH]<br />            )<br /></pre>
    <p>This command is used to find a program. A cache entry named by &lt;VAR&gt; is created to store the result of this command.  If the program 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 &lt;VAR&gt;-NOTFOUND, and the search will be attempted again the next time find_program is invoked with the same variable.  The name of the program 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.<br /></p>
<p>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:<br /></p>
<p>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.<br /></p>
<pre>   &lt;prefix&gt;/[s]bin for each &lt;prefix&gt; in CMAKE_PREFIX_PATH<br />   CMAKE_PROGRAM_PATH<br />   CMAKE_APPBUNDLE_PATH<br /></pre>
    <p>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.<br /></p>
<pre>   &lt;prefix&gt;/[s]bin for each &lt;prefix&gt; in CMAKE_PREFIX_PATH<br />   CMAKE_PROGRAM_PATH<br />   CMAKE_APPBUNDLE_PATH<br /></pre>
    <p>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.<br /></p>
<p>4. Search the standard system environment variables. This can be skipped if NO_SYSTEM_ENVIRONMENT_PATH is an argument.<br /></p>
<pre>   PATH<br />   <br /></pre>
    <p>5. Search cmake variables defined in the Platform files for the current system.  This can be skipped if NO_CMAKE_SYSTEM_PATH is passed.<br /></p>
<pre>   &lt;prefix&gt;/[s]bin for each &lt;prefix&gt; in CMAKE_SYSTEM_PREFIX_PATH<br />   CMAKE_SYSTEM_PROGRAM_PATH<br />   CMAKE_SYSTEM_APPBUNDLE_PATH<br /></pre>
    <p>6. Search the paths specified by the PATHS option or in the short-hand version of the command.  These are typically hard-coded guesses.<br /></p>
<p>On Darwin or systems supporting OS X Frameworks, the cmake variable    CMAKE_FIND_FRAMEWORK can be set to empty or one of the following:<br /></p>
<pre>   "FIRST"  - Try to find frameworks before standard<br />              libraries or headers. This is the default on Darwin.<br />   "LAST"   - Try to find frameworks after standard<br />              libraries or headers.<br />   "ONLY"   - Only try to find frameworks.<br />   "NEVER" - Never try to find frameworks.<br /></pre>
    <p>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:<br /></p>
<pre>   "FIRST"  - Try to find application bundles before standard<br />              programs. This is the default on Darwin.<br />   "LAST"   - Try to find application bundles after standard<br />              programs.<br />   "ONLY"   - Only try to find application bundles.<br />   "NEVER" - Never try to find application bundles.<br /></pre>
    <p>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_PROGRAM.  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.<br /></p>
<p>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:<br /></p>
<pre>   find_program(&lt;VAR&gt; NAMES name PATHS paths... NO_DEFAULT_PATH)<br />   find_program(&lt;VAR&gt; NAMES name)<br /></pre>
    <p>Once one of the calls succeeds the result variable will be set and stored in the cache so that no call will search again.</p>

  </li>
  <li>
    <a name="command:foreach"></a><b><code>foreach</code></b>: Evaluate a group of commands for each value in a list.<br />
    <pre>  foreach(loop_var arg1 arg2 ...)<br />    COMMAND1(ARGS ...)<br />    COMMAND2(ARGS ...)<br />    ...<br />  endforeach(loop_var)<br /></pre>
    <p>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.<br /></p>
<pre>  foreach(loop_var RANGE total)<br />  foreach(loop_var RANGE start stop [step])<br /></pre>
    <p>Foreach can also iterate over a generated range of numbers. There are three types of this iteration:<br /></p>
<p>* When specifying single number, the range will have elements 0 to "total".<br /></p>
<p>* When specifying two numbers, the range will have elements from the first number to the second number.<br /></p>
<p>* The third optional number is the increment used to iterate from the first number to the second number.<br /></p>
<pre>  foreach(loop_var IN [LISTS [list1 [...]]]<br />                      [ITEMS [item1 [...]]])<br /></pre>
    <p>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.</p>

  </li>
  <li>
    <a name="command:function"></a><b><code>function</code></b>: Start recording a function for later invocation as a command.<br />
    <pre>  function(&lt;name&gt; [arg1 [arg2 [arg3 ...]]])<br />    COMMAND1(ARGS ...)<br />    COMMAND2(ARGS ...)<br />    ...<br />  endfunction(&lt;name&gt;)<br /></pre>
    <p>Define a function named &lt;name&gt; 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.<br /></p>
<p>A function opens a new scope: see set(var PARENT_SCOPE) for details.<br /></p>
<p>See the cmake_policy() command documentation for the behavior of policies inside functions.</p>

  </li>
  <li>
    <a name="command:get_cmake_property"></a><b><code>get_cmake_property</code></b>: Get a property of the CMake instance.<br />
    <pre>  get_cmake_property(VAR property)<br /></pre>
    <p>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.<br /></p>
<p>See also the more general get_property() command.</p>

  </li>
  <li>
    <a name="command:get_directory_property"></a><b><code>get_directory_property</code></b>: Get a property of DIRECTORY scope.<br />
    <pre>  get_directory_property(&lt;variable&gt; [DIRECTORY &lt;dir&gt;] &lt;prop-name&gt;)<br /></pre>
    <p>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.<br /></p>
<pre>  get_directory_property(&lt;variable&gt; [DIRECTORY &lt;dir&gt;]<br />                         DEFINITION &lt;var-name&gt;)<br /></pre>
    <p>Get a variable definition from a directory.  This form is useful to get a variable definition from another directory.<br /></p>
<p>See also the more general get_property() command.</p>

  </li>
  <li>
    <a name="command:get_filename_component"></a><b><code>get_filename_component</code></b>: Get a specific component of a full filename.<br />
    <pre>  get_filename_component(&lt;VAR&gt; &lt;FileName&gt; &lt;COMP&gt; [CACHE])<br /></pre>
    <p>Set &lt;VAR&gt; to a component of &lt;FileName&gt;, where &lt;COMP&gt; is one of:<br /></p>
<pre> DIRECTORY = Directory without file name<br /> NAME      = File name without directory<br /> EXT       = File name longest extension (.b.c from d/a.b.c)<br /> NAME_WE   = File name without directory or longest extension<br /> ABSOLUTE  = Full path to file<br /> REALPATH  = Full path to existing file with symlinks resolved<br /> PATH      = Legacy alias for DIRECTORY (use for CMake &lt;= 2.8.11)<br /></pre>
    <p>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.<br /></p>
<pre>  get_filename_component(&lt;VAR&gt; FileName<br />                         PROGRAM [PROGRAM_ARGS &lt;ARG_VAR&gt;]<br />                         [CACHE])<br /></pre>
    <p>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 &lt;ARG_VAR&gt;.  This is used to separate a program name from its arguments in a command line string.</p>

  </li>
  <li>
    <a name="command:get_property"></a><b><code>get_property</code></b>: Get a property.<br />
    <pre>  get_property(&lt;variable&gt;<br />               &lt;GLOBAL             |<br />                DIRECTORY [dir]    |<br />                TARGET    &lt;target&gt; |<br />                SOURCE    &lt;source&gt; |<br />                TEST      &lt;test&gt;   |<br />                CACHE     &lt;entry&gt;  |<br />                VARIABLE&gt;<br />               PROPERTY &lt;name&gt;<br />               [SET | DEFINED | BRIEF_DOCS | FULL_DOCS])<br /></pre>
    <p>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:<br /></p>
<p>GLOBAL scope is unique and does not accept a name.<br /></p>
<p>DIRECTORY scope defaults to the current directory but another directory (already processed by CMake) may be named by full or relative path.<br /></p>
<p>TARGET scope must name one existing target.<br /></p>
<p>SOURCE scope must name one source file.<br /></p>
<p>TEST scope must name one existing test.<br /></p>
<p>CACHE scope must name one cache entry.<br /></p>
<p>VARIABLE scope is unique and does not accept a name.<br /></p>
<p>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.</p>

  </li>
  <li>
    <a name="command:if"></a><b><code>if</code></b>: Conditionally execute a group of commands.<br />
    <pre>  if(expression)<br />    # then section.<br />    COMMAND1(ARGS ...)<br />    COMMAND2(ARGS ...)<br />    ...<br />  elseif(expression2)<br />    # elseif section.<br />    COMMAND1(ARGS ...)<br />    COMMAND2(ARGS ...)<br />    ...<br />  else(expression)<br />    # else section.<br />    COMMAND1(ARGS ...)<br />    COMMAND2(ARGS ...)<br />    ...<br />  endif(expression)<br /></pre>
    <p>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:<br /></p>
<pre>  if(&lt;constant&gt;)<br /></pre>
    <p>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:<br /></p>
<pre>  if(&lt;variable&gt;)<br /></pre>
    <p>True if the variable is defined to a value that is not a false constant.  False otherwise.  (Note macro arguments are not variables.)<br /></p>
<pre>  if(NOT &lt;expression&gt;)<br /></pre>
    <p>True if the expression is not true.<br /></p>
<pre>  if(&lt;expr1&gt; AND &lt;expr2&gt;)<br /></pre>
    <p>True if both expressions would be considered true individually.<br /></p>
<pre>  if(&lt;expr1&gt; OR &lt;expr2&gt;)<br /></pre>
    <p>True if either expression would be considered true individually.<br /></p>
<pre>  if(COMMAND command-name)<br /></pre>
    <p>True if the given name is a command, macro or function that can be invoked.<br /></p>
<pre>  if(POLICY policy-id)<br /></pre>
    <p>True if the given name is an existing policy (of the form CMP&lt;NNNN&gt;).<br /></p>
<pre>  if(TARGET target-name)<br /></pre>
    <p>True if the given name is an existing target, built or imported.<br /></p>
<pre>  if(EXISTS file-name)<br />  if(EXISTS directory-name)<br /></pre>
    <p>True if the named file or directory exists.  Behavior is well-defined only for full paths.<br /></p>
<pre>  if(file1 IS_NEWER_THAN file2)<br /></pre>
    <p>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.<br /></p>
<pre>  if(IS_DIRECTORY directory-name)<br /></pre>
    <p>True if the given name is a directory.  Behavior is well-defined only for full paths.<br /></p>
<pre>  if(IS_SYMLINK file-name)<br /></pre>
    <p>True if the given name is a symbolic link.  Behavior is well-defined only for full paths.<br /></p>
<pre>  if(IS_ABSOLUTE path)<br /></pre>
    <p>True if the given path is an absolute path.<br /></p>
<pre>  if(&lt;variable|string&gt; MATCHES regex)<br /></pre>
    <p>True if the given string or variable's value matches the given regular expression.<br /></p>
<pre>  if(&lt;variable|string&gt; LESS &lt;variable|string&gt;)<br />  if(&lt;variable|string&gt; GREATER &lt;variable|string&gt;)<br />  if(&lt;variable|string&gt; EQUAL &lt;variable|string&gt;)<br /></pre>
    <p>True if the given string or variable's value is a valid number and the inequality or equality is true.<br /></p>
<pre>  if(&lt;variable|string&gt; STRLESS &lt;variable|string&gt;)<br />  if(&lt;variable|string&gt; STRGREATER &lt;variable|string&gt;)<br />  if(&lt;variable|string&gt; STREQUAL &lt;variable|string&gt;)<br /></pre>
    <p>True if the given string or variable's value is lexicographically less (or greater, or equal) than the string or variable on the right.<br /></p>
<pre>  if(&lt;variable|string&gt; VERSION_LESS &lt;variable|string&gt;)<br />  if(&lt;variable|string&gt; VERSION_EQUAL &lt;variable|string&gt;)<br />  if(&lt;variable|string&gt; VERSION_GREATER &lt;variable|string&gt;)<br /></pre>
    <p>Component-wise integer version number comparison (version format is major[.minor[.patch[.tweak]]]).<br /></p>
<pre>  if(DEFINED &lt;variable&gt;)<br /></pre>
    <p>True if the given variable is defined. It does not matter if the variable is true or false just if it has been set.<br /></p>
<pre>  if((expression) AND (expression OR (expression)))<br /></pre>
    <p>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.<br /></p>
<p>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<br /></p>
<pre>  set(var1 OFF)<br />  set(var2 "var1")<br />  if(${var2})<br /></pre>
    <p>appears to the if command as<br /></p>
<pre>  if(var1)<br /></pre>
    <p>and is evaluated according to the if(&lt;variable&gt;) case documented above.  The result is OFF which is false.  However, if we remove the ${} from the example then the command sees<br /></p>
<pre>  if(var2)<br /></pre>
    <p>which is true because var2 is defined to "var1" which is not a false constant.<br /></p>
<p>Automatic evaluation applies in the other cases whenever the above-documented signature accepts &lt;variable|string&gt;:<br /></p>
<p>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. <br /></p>
<p>2) If the left hand argument to MATCHES is missing it returns false without error <br /></p>
<p>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. <br /></p>
<p>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. <br /></p>
<p>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. <br /></p>
<p>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. <br /></p>
<p>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. <br /></p>

  </li>
  <li>
    <a name="command:include"></a><b><code>include</code></b>: Load and run CMake code from a file or module.<br />
    <pre>  include(&lt;file|module&gt; [OPTIONAL] [RESULT_VARIABLE &lt;VAR&gt;]<br />                        [NO_POLICY_SCOPE])<br /></pre>
    <p>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.<br /></p>
<p>If a module is specified instead of a file, the file with name &lt;modulename&gt;.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.<br /></p>
<p>See the cmake_policy() command documentation for discussion of the NO_POLICY_SCOPE option.</p>

  </li>
  <li>
    <a name="command:list"></a><b><code>list</code></b>: List operations.<br />
    <pre>  list(LENGTH &lt;list&gt; &lt;output variable&gt;)<br />  list(GET &lt;list&gt; &lt;element index&gt; [&lt;element index&gt; ...]<br />       &lt;output variable&gt;)<br />  list(APPEND &lt;list&gt; &lt;element&gt; [&lt;element&gt; ...])<br />  list(FIND &lt;list&gt; &lt;value&gt; &lt;output variable&gt;)<br />  list(INSERT &lt;list&gt; &lt;element_index&gt; &lt;element&gt; [&lt;element&gt; ...])<br />  list(REMOVE_ITEM &lt;list&gt; &lt;value&gt; [&lt;value&gt; ...])<br />  list(REMOVE_AT &lt;list&gt; &lt;index&gt; [&lt;index&gt; ...])<br />  list(REMOVE_DUPLICATES &lt;list&gt;)<br />  list(REVERSE &lt;list&gt;)<br />  list(SORT &lt;list&gt;)<br /></pre>
    <p>LENGTH will return a given list's length.<br /></p>
<p>GET will return list of elements specified by indices from the list.<br /></p>
<p>APPEND will append elements to the list.<br /></p>
<p>FIND will return the index of the element specified in the list or -1 if it wasn't found.<br /></p>
<p>INSERT will insert elements to the list to the specified location.<br /></p>
<p>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.<br /></p>
<p>REMOVE_DUPLICATES will remove duplicated items in the list.<br /></p>
<p>REVERSE reverses the contents of the list in-place.<br /></p>
<p>SORT sorts the list in-place alphabetically.<br /></p>
<p>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.<br /></p>
<p>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.<br /></p>
<p>When specifying index values, if &lt;element index&gt; is 0 or greater, it is indexed from the beginning of the list, with 0 representing the first list element. If &lt;element index&gt; 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.<br /></p>

  </li>
  <li>
    <a name="command:macro"></a><b><code>macro</code></b>: Start recording a macro for later invocation as a command.<br />
    <pre>  macro(&lt;name&gt; [arg1 [arg2 [arg3 ...]]])<br />    COMMAND1(ARGS ...)<br />    COMMAND2(ARGS ...)<br />    ...<br />  endmacro(&lt;name&gt;)<br /></pre>
    <p>Define a macro named &lt;name&gt; 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.<br /></p>
<p>See the cmake_policy() command documentation for the behavior of policies inside macros.</p>

  </li>
  <li>
    <a name="command:mark_as_advanced"></a><b><code>mark_as_advanced</code></b>: Mark cmake cached variables as advanced.<br />
    <pre>  mark_as_advanced([CLEAR|FORCE] VAR VAR2 VAR...)<br /></pre>
    <p>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.<br /></p>
<p>It does nothing in script mode.</p>

  </li>
  <li>
    <a name="command:math"></a><b><code>math</code></b>: Mathematical expressions.<br />
    <pre>  math(EXPR &lt;output variable&gt; &lt;math expression&gt;)<br /></pre>
    <p>EXPR evaluates mathematical expression and returns result in the output variable. Example mathematical expression is '5 * ( 10 + 13 )'.  Supported operators are + - * / % | &amp; ^ ~ &lt;&lt; &gt;&gt; * / %.  They have the same meaning  as they do in C code.</p>

  </li>
  <li>
    <a name="command:message"></a><b><code>message</code></b>: Display a message to the user.<br />
    <pre>  message([STATUS|WARNING|AUTHOR_WARNING|FATAL_ERROR|SEND_ERROR]<br />          "message to display" ...)<br /></pre>
    <p>The optional keyword determines the type of message:<br /></p>
<pre>  (none)         = Important information<br />  STATUS         = Incidental information<br />  WARNING        = CMake Warning, continue processing<br />  AUTHOR_WARNING = CMake Warning (dev), continue processing<br />  SEND_ERROR     = CMake Error, continue processing,<br />                                but skip generation<br />  FATAL_ERROR    = CMake Error, stop processing and generation<br /></pre>
    <p>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.<br /></p>
<p>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.</p>

  </li>
  <li>
    <a name="command:option"></a><b><code>option</code></b>: Provides an option that the user can optionally select.<br />
    <pre>  option(&lt;option_variable&gt; "help string describing option"<br />         [initial value])<br /></pre>
    <p>Provide an option for the user to select as ON or OFF.  If no initial value is provided, OFF is used.<br /></p>
<p>If you have options that depend on the values of other options, see the module help for CMakeDependentOption.</p>

  </li>
  <li>
    <a name="command:return"></a><b><code>return</code></b>: Return from a file, directory or function.<br />
    <pre>  return()<br /></pre>
    <p>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.</p>

  </li>
  <li>
    <a name="command:separate_arguments"></a><b><code>separate_arguments</code></b>: Parse space-separated arguments into a semicolon-separated list.<br />
    <pre>  separate_arguments(&lt;var&gt; &lt;UNIX|WINDOWS&gt;_COMMAND "&lt;args&gt;")<br /></pre>
    <p>Parses a unix- or windows-style command-line string "&lt;args&gt;" and stores a semicolon-separated list of the arguments in &lt;var&gt;.  The entire command line must be given in one "&lt;args&gt;" argument.<br /></p>
<p>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).<br /></p>
<p>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.<br /></p>
<pre>  separate_arguments(VARIABLE)<br /></pre>
    <p>Convert the value of VARIABLE to a semi-colon separated list.  All spaces are replaced with ';'.  This helps with generating command lines.</p>

  </li>
  <li>
    <a name="command:set"></a><b><code>set</code></b>: Set a CMake, cache or environment variable to a given value.<br />
    <pre>  set(&lt;variable&gt; &lt;value&gt;<br />      [[CACHE &lt;type&gt; &lt;docstring&gt; [FORCE]] | PARENT_SCOPE])<br /></pre>
    <p>Within CMake sets &lt;variable&gt; to the value &lt;value&gt;.  &lt;value&gt; is expanded before &lt;variable&gt; is set to it.  Normally, set will set a regular CMake variable. If CACHE is present, then the &lt;variable&gt; 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, &lt;type&gt; and &lt;docstring&gt; are required. &lt;type&gt; is used by the CMake GUI to choose a widget with which the user sets a value. The value for &lt;type&gt; may be one of<br /></p>
<pre>  FILEPATH = File chooser dialog.<br />  PATH     = Directory chooser dialog.<br />  STRING   = Arbitrary string.<br />  BOOL     = Boolean ON/OFF checkbox.<br />  INTERNAL = No GUI entry (used for persistent variables).<br /></pre>
    <p>If &lt;type&gt; 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.<br /></p>
<p>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.<br /></p>
<p>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.<br /></p>
<p>If &lt;value&gt; is not specified then the variable is removed instead of set.  See also: the unset() command.<br /></p>
<pre>  set(&lt;variable&gt; &lt;value1&gt; ... &lt;valueN&gt;)<br /></pre>
    <p>In this case &lt;variable&gt; is set to a semicolon separated list of values.<br /></p>
<p>&lt;variable&gt; can be an environment variable such as:<br /></p>
<pre>  set( ENV{PATH} /home/martink )<br /></pre>
    <p>in which case the environment variable will be set.<br /></p>
<p>*** Variable types in CMake ***<br /></p>
<p>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. <br /></p>
<p>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'.<br /></p>
<p>Some examples:<br /></p>
<p>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'.<br /></p>
<p>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.<br /></p>
<p>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.<br /></p>
<p>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):<br /></p>
<p>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.</p>

  </li>
  <li>
    <a name="command:set_directory_properties"></a><b><code>set_directory_properties</code></b>: Set a property of the directory.<br />
    <pre>  set_directory_properties(PROPERTIES prop1 value1 prop2 value2)<br /></pre>
    <p>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.</p>

  </li>
  <li>
    <a name="command:set_property"></a><b><code>set_property</code></b>: Set a named property in a given scope.<br />
    <pre>  set_property(&lt;GLOBAL                            |<br />                DIRECTORY [dir]                   |<br />                TARGET    [target1 [target2 ...]] |<br />                SOURCE    [src1 [src2 ...]]       |<br />                TEST      [test1 [test2 ...]]     |<br />                CACHE     [entry1 [entry2 ...]]&gt;<br />               [APPEND] [APPEND_STRING]<br />               PROPERTY &lt;name&gt; [value1 [value2 ...]])<br /></pre>
    <p>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:<br /></p>
<p>GLOBAL scope is unique and does not accept a name.<br /></p>
<p>DIRECTORY scope defaults to the current directory but another directory (already processed by CMake) may be named by full or relative path.<br /></p>
<p>TARGET scope may name zero or more existing targets.<br /></p>
<p>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).<br /></p>
<p>TEST scope may name zero or more existing tests.<br /></p>
<p>CACHE scope must name zero or more cache existing entries.<br /></p>
<p>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.</p>

  </li>
  <li>
    <a name="command:site_name"></a><b><code>site_name</code></b>: Set the given variable to the name of the computer.<br />
    <pre>  site_name(variable)<br /></pre>
    
  </li>
  <li>
    <a name="command:string"></a><b><code>string</code></b>: String operations.<br />
    <pre>  string(REGEX MATCH &lt;regular_expression&gt;<br />         &lt;output variable&gt; &lt;input&gt; [&lt;input&gt;...])<br />  string(REGEX MATCHALL &lt;regular_expression&gt;<br />         &lt;output variable&gt; &lt;input&gt; [&lt;input&gt;...])<br />  string(REGEX REPLACE &lt;regular_expression&gt;<br />         &lt;replace_expression&gt; &lt;output variable&gt;<br />         &lt;input&gt; [&lt;input&gt;...])<br />  string(REPLACE &lt;match_string&gt;<br />         &lt;replace_string&gt; &lt;output variable&gt;<br />         &lt;input&gt; [&lt;input&gt;...])<br />  string(&lt;MD5|SHA1|SHA224|SHA256|SHA384|SHA512&gt;<br />         &lt;output variable&gt; &lt;input&gt;)<br />  string(COMPARE EQUAL &lt;string1&gt; &lt;string2&gt; &lt;output variable&gt;)<br />  string(COMPARE NOTEQUAL &lt;string1&gt; &lt;string2&gt; &lt;output variable&gt;)<br />  string(COMPARE LESS &lt;string1&gt; &lt;string2&gt; &lt;output variable&gt;)<br />  string(COMPARE GREATER &lt;string1&gt; &lt;string2&gt; &lt;output variable&gt;)<br />  string(ASCII &lt;number&gt; [&lt;number&gt; ...] &lt;output variable&gt;)<br />  string(CONFIGURE &lt;string1&gt; &lt;output variable&gt;<br />         [@ONLY] [ESCAPE_QUOTES])<br />  string(TOUPPER &lt;string1&gt; &lt;output variable&gt;)<br />  string(TOLOWER &lt;string1&gt; &lt;output variable&gt;)<br />  string(LENGTH &lt;string&gt; &lt;output variable&gt;)<br />  string(SUBSTRING &lt;string&gt; &lt;begin&gt; &lt;length&gt; &lt;output variable&gt;)<br />  string(STRIP &lt;string&gt; &lt;output variable&gt;)<br />  string(RANDOM [LENGTH &lt;length&gt;] [ALPHABET &lt;alphabet&gt;]<br />         [RANDOM_SEED &lt;seed&gt;] &lt;output variable&gt;)<br />  string(FIND &lt;string&gt; &lt;substring&gt; &lt;output variable&gt; [REVERSE])<br />  string(TIMESTAMP &lt;output variable&gt; [&lt;format string&gt;] [UTC])<br />  string(MAKE_C_IDENTIFIER &lt;input string&gt; &lt;output variable&gt;)<br /></pre>
    <p>REGEX MATCH will match the regular expression once and store the match in the output variable.<br /></p>
<p>REGEX MATCHALL will match the regular expression as many times as possible and store the matches in the output variable as a list.<br /></p>
<p>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.<br /></p>
<p>REPLACE will replace all occurrences of match_string in the input with replace_string and store the result in the output.<br /></p>
<p>MD5, SHA1, SHA224, SHA256, SHA384, and SHA512 will compute a cryptographic hash of the input string.<br /></p>
<p>COMPARE EQUAL/NOTEQUAL/LESS/GREATER will compare the strings and store true or false in the output variable.<br /></p>
<p>ASCII will convert all numbers into corresponding ASCII characters.<br /></p>
<p>CONFIGURE will transform a string like CONFIGURE_FILE transforms a file.<br /></p>
<p>TOUPPER/TOLOWER will convert string to upper/lower characters.<br /></p>
<p>LENGTH will return a given string's length.<br /></p>
<p>SUBSTRING will return a substring of a given string. If length is -1 the remainder of the string starting at begin will be returned.<br /></p>
<p>STRIP will return a substring of a given string with leading and trailing spaces removed.<br /></p>
<p>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.<br /></p>
<p>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.<br /></p>
<p>The following characters have special meaning in regular expressions:<br /></p>
<pre>   ^         Matches at beginning of input<br />   $         Matches at end of input<br />   .         Matches any single character<br />   [ ]       Matches any character(s) inside the brackets<br />   [^ ]      Matches any character(s) not inside the brackets<br />    -        Inside brackets, specifies an inclusive range between<br />             characters on either side e.g. [a-f] is [abcdef]<br />             To match a literal - using brackets, make it the first<br />             or the last character e.g. [+*/-] matches basic<br />             mathematical operators.<br />   *         Matches preceding pattern zero or more times<br />   +         Matches preceding pattern one or more times<br />   ?         Matches preceding pattern zero or once only<br />   |         Matches a pattern on either side of the |<br />   ()        Saves a matched subexpression, which can be referenced <br />             in the REGEX REPLACE operation. Additionally it is saved<br />             by all regular expression-related commands, including <br />             e.g. if( MATCHES ), in the variables CMAKE_MATCH_(0..9).<br /></pre>
    <p>*, + 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".<br /></p>
<p>TIMESTAMP will write a string representation of the current date and/or time to the output variable.<br /></p>
<p>Should the command be unable to obtain a timestamp the output variable will be set to the empty string "".<br /></p>
<p>The optional UTC flag requests the current date/time representation to be in Coordinated Universal Time (UTC) rather than local time.<br /></p>
<p>The optional &lt;format string&gt; may contain the following format specifiers: <br /></p>
<pre>   %d        The day of the current month (01-31).<br />   %H        The hour on a 24-hour clock (00-23).<br />   %I        The hour on a 12-hour clock (01-12).<br />   %j        The day of the current year (001-366).<br />   %m        The month of the current year (01-12).<br />   %M        The minute of the current hour (00-59).<br />   %S        The second of the current minute.<br />             60 represents a leap second. (00-60)<br />   %U        The week number of the current year (00-53).<br />   %w        The day of the current week. 0 is Sunday. (0-6)<br />   %y        The last two digits of the current year (00-99)<br />   %Y        The current year. <br /></pre>
    <p>Unknown format specifiers will be ignored and copied to the output as-is.<br /></p>
<p>If no explicit &lt;format string&gt; is given it will default to:<br /></p>
<pre>   %Y-%m-%dT%H:%M:%S    for local time.<br />   %Y-%m-%dT%H:%M:%SZ   for UTC.<br /></pre>
    <p>MAKE_C_IDENTIFIER will write a string which can be used as an identifier in C.</p>

  </li>
  <li>
    <a name="command:unset"></a><b><code>unset</code></b>: Unset a variable, cache variable, or environment variable.<br />
    <pre>  unset(&lt;variable&gt; [CACHE])<br /></pre>
    <p>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.<br /></p>
<p>&lt;variable&gt; can be an environment variable such as:<br /></p>
<pre>  unset(ENV{LD_LIBRARY_PATH})<br /></pre>
    <p>in which case the variable will be removed from the current environment.</p>

  </li>
  <li>
    <a name="command:variable_watch"></a><b><code>variable_watch</code></b>: Watch the CMake variable for change.<br />
    <pre>  variable_watch(&lt;variable name&gt; [&lt;command to execute&gt;])<br /></pre>
    <p>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(&lt;variable&gt; &lt;access&gt; &lt;value&gt; &lt;current list file&gt; &lt;stack&gt;)</p>

  </li>
  <li>
    <a name="command:while"></a><b><code>while</code></b>: Evaluate a group of commands while a condition is true<br />
    <pre>  while(condition)<br />    COMMAND1(ARGS ...)<br />    COMMAND2(ARGS ...)<br />    ...<br />  endwhile(condition)<br /></pre>
    <p>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.</p>

  </li>
</ul>
<h2><a name="section_CompatibilityCommands"></a>Compatibility Commands</h2>
<pre>  CMake Compatibility Listfile Commands - Obsolete commands supported by CMake for compatibility.</pre>
    
<p>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. ;-)</p>

<h2><a name="section_StandardCMakeModules"></a>Standard CMake Modules</h2>
<h2><a name="section_PropertiesofGlobalScope"></a>Properties of Global Scope</h2>
<ul>
    <li><a href="#prop_global:ALLOW_DUPLICATE_CUSTOM_TARGETS"><b><code>ALLOW_DUPLICATE_CUSTOM_TARGETS</code></b></a></li>
    <li><a href="#prop_global:AUTOMOC_TARGETS_FOLDER"><b><code>AUTOMOC_TARGETS_FOLDER</code></b></a></li>
    <li><a href="#prop_global:DEBUG_CONFIGURATIONS"><b><code>DEBUG_CONFIGURATIONS</code></b></a></li>
    <li><a href="#prop_global:DISABLED_FEATURES"><b><code>DISABLED_FEATURES</code></b></a></li>
    <li><a href="#prop_global:ENABLED_FEATURES"><b><code>ENABLED_FEATURES</code></b></a></li>
    <li><a href="#prop_global:ENABLED_LANGUAGES"><b><code>ENABLED_LANGUAGES</code></b></a></li>
    <li><a href="#prop_global:FIND_LIBRARY_USE_LIB64_PATHS"><b><code>FIND_LIBRARY_USE_LIB64_PATHS</code></b></a></li>
    <li><a href="#prop_global:FIND_LIBRARY_USE_OPENBSD_VERSIONING"><b><code>FIND_LIBRARY_USE_OPENBSD_VERSIONING</code></b></a></li>
    <li><a href="#prop_global:GLOBAL_DEPENDS_DEBUG_MODE"><b><code>GLOBAL_DEPENDS_DEBUG_MODE</code></b></a></li>
    <li><a href="#prop_global:GLOBAL_DEPENDS_NO_CYCLES"><b><code>GLOBAL_DEPENDS_NO_CYCLES</code></b></a></li>
    <li><a href="#prop_global:IN_TRY_COMPILE"><b><code>IN_TRY_COMPILE</code></b></a></li>
    <li><a href="#prop_global:PACKAGES_FOUND"><b><code>PACKAGES_FOUND</code></b></a></li>
    <li><a href="#prop_global:PACKAGES_NOT_FOUND"><b><code>PACKAGES_NOT_FOUND</code></b></a></li>
    <li><a href="#prop_global:PREDEFINED_TARGETS_FOLDER"><b><code>PREDEFINED_TARGETS_FOLDER</code></b></a></li>
    <li><a href="#prop_global:REPORT_UNDEFINED_PROPERTIES"><b><code>REPORT_UNDEFINED_PROPERTIES</code></b></a></li>
    <li><a href="#prop_global:RULE_LAUNCH_COMPILE"><b><code>RULE_LAUNCH_COMPILE</code></b></a></li>
    <li><a href="#prop_global:RULE_LAUNCH_CUSTOM"><b><code>RULE_LAUNCH_CUSTOM</code></b></a></li>
    <li><a href="#prop_global:RULE_LAUNCH_LINK"><b><code>RULE_LAUNCH_LINK</code></b></a></li>
    <li><a href="#prop_global:RULE_MESSAGES"><b><code>RULE_MESSAGES</code></b></a></li>
    <li><a href="#prop_global:TARGET_ARCHIVES_MAY_BE_SHARED_LIBS"><b><code>TARGET_ARCHIVES_MAY_BE_SHARED_LIBS</code></b></a></li>
    <li><a href="#prop_global:TARGET_SUPPORTS_SHARED_LIBS"><b><code>TARGET_SUPPORTS_SHARED_LIBS</code></b></a></li>
    <li><a href="#prop_global:USE_FOLDERS"><b><code>USE_FOLDERS</code></b></a></li>
    <li><a href="#prop_global:__CMAKE_DELETE_CACHE_CHANGE_VARS_"><b><code>__CMAKE_DELETE_CACHE_CHANGE_VARS_</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="prop_global:ALLOW_DUPLICATE_CUSTOM_TARGETS"></a><b><code>ALLOW_DUPLICATE_CUSTOM_TARGETS</code></b>: Allow duplicate custom targets to be created.<br />
    <p>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.<br /></p>
<p>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.</p>

  </li>
  <li>
    <a name="prop_global:AUTOMOC_TARGETS_FOLDER"></a><b><code>AUTOMOC_TARGETS_FOLDER</code></b>: Name of FOLDER for *_automoc targets that are added automatically by CMake for targets for which AUTOMOC is enabled.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_global:DEBUG_CONFIGURATIONS"></a><b><code>DEBUG_CONFIGURATIONS</code></b>: Specify which configurations are for debugging.<br />
    <p>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.  <br /></p>
<p>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.</p>

  </li>
  <li>
    <a name="prop_global:DISABLED_FEATURES"></a><b><code>DISABLED_FEATURES</code></b>: List of features which are disabled during the CMake run.<br />
    <p>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 &lt;NAME&gt;_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.</p>

  </li>
  <li>
    <a name="prop_global:ENABLED_FEATURES"></a><b><code>ENABLED_FEATURES</code></b>: List of features which are enabled during the CMake run.<br />
    <p>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 &lt;NAME&gt;_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.</p>

  </li>
  <li>
    <a name="prop_global:ENABLED_LANGUAGES"></a><b><code>ENABLED_LANGUAGES</code></b>: Read-only property that contains the list of currently enabled languages<br />
    <p>Set to list of currently enabled languages.</p>

  </li>
  <li>
    <a name="prop_global:FIND_LIBRARY_USE_LIB64_PATHS"></a><b><code>FIND_LIBRARY_USE_LIB64_PATHS</code></b>: Whether FIND_LIBRARY should automatically search lib64 directories.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_global:FIND_LIBRARY_USE_OPENBSD_VERSIONING"></a><b><code>FIND_LIBRARY_USE_OPENBSD_VERSIONING</code></b>: Whether FIND_LIBRARY should find OpenBSD-style shared libraries.<br />
    <p>This property is a boolean specifying whether the FIND_LIBRARY command should find shared libraries with OpenBSD-style versioned extension: ".so.&lt;major&gt;.&lt;minor&gt;".  The property is set to true on OpenBSD and false on other platforms.</p>

  </li>
  <li>
    <a name="prop_global:GLOBAL_DEPENDS_DEBUG_MODE"></a><b><code>GLOBAL_DEPENDS_DEBUG_MODE</code></b>: Enable global target dependency graph debug mode.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_global:GLOBAL_DEPENDS_NO_CYCLES"></a><b><code>GLOBAL_DEPENDS_NO_CYCLES</code></b>: Disallow global target dependency graph cycles.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_global:IN_TRY_COMPILE"></a><b><code>IN_TRY_COMPILE</code></b>: Read-only property that is true during a try-compile configuration.<br />
    <p>True when building a project inside a TRY_COMPILE or TRY_RUN command.</p>

  </li>
  <li>
    <a name="prop_global:PACKAGES_FOUND"></a><b><code>PACKAGES_FOUND</code></b>: List of packages which were found during the CMake run.<br />
    <p>List of packages which were found during the CMake run. Whether a package has been found is determined using the &lt;NAME&gt;_FOUND variables.</p>

  </li>
  <li>
    <a name="prop_global:PACKAGES_NOT_FOUND"></a><b><code>PACKAGES_NOT_FOUND</code></b>: List of packages which were not found during the CMake run.<br />
    <p>List of packages which were not found during the CMake run. Whether a package has been found is determined using the &lt;NAME&gt;_FOUND variables.</p>

  </li>
  <li>
    <a name="prop_global:PREDEFINED_TARGETS_FOLDER"></a><b><code>PREDEFINED_TARGETS_FOLDER</code></b>: Name of FOLDER for targets that are added automatically by CMake.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_global:REPORT_UNDEFINED_PROPERTIES"></a><b><code>REPORT_UNDEFINED_PROPERTIES</code></b>: If set, report any undefined properties to this file.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_global:RULE_LAUNCH_COMPILE"></a><b><code>RULE_LAUNCH_COMPILE</code></b>: Specify a launcher for compile rules.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_global:RULE_LAUNCH_CUSTOM"></a><b><code>RULE_LAUNCH_CUSTOM</code></b>: Specify a launcher for custom rules.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_global:RULE_LAUNCH_LINK"></a><b><code>RULE_LAUNCH_LINK</code></b>: Specify a launcher for link rules.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_global:RULE_MESSAGES"></a><b><code>RULE_MESSAGES</code></b>: Specify whether to report a message for each make rule.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_global:TARGET_ARCHIVES_MAY_BE_SHARED_LIBS"></a><b><code>TARGET_ARCHIVES_MAY_BE_SHARED_LIBS</code></b>: Set if shared libraries may be named like archives.<br />
    <p>On AIX shared libraries may be named "lib&lt;name&gt;.a".  This property is set to true on such platforms.</p>

  </li>
  <li>
    <a name="prop_global:TARGET_SUPPORTS_SHARED_LIBS"></a><b><code>TARGET_SUPPORTS_SHARED_LIBS</code></b>: Does the target platform support shared libraries.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_global:USE_FOLDERS"></a><b><code>USE_FOLDERS</code></b>: Use the FOLDER target property to organize targets into folders.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_global:__CMAKE_DELETE_CACHE_CHANGE_VARS_"></a><b><code>__CMAKE_DELETE_CACHE_CHANGE_VARS_</code></b>: Internal property<br />
    <p>Used to detect compiler changes, Do not set.</p>

  </li>
</ul>
<h2><a name="section_PropertiesonCacheEntries"></a>Properties on Cache Entries</h2>
<ul>
    <li><a href="#property:ADVANCED"><b><code>ADVANCED</code></b></a></li>
    <li><a href="#property:HELPSTRING"><b><code>HELPSTRING</code></b></a></li>
    <li><a href="#property:MODIFIED"><b><code>MODIFIED</code></b></a></li>
    <li><a href="#property:STRINGS"><b><code>STRINGS</code></b></a></li>
    <li><a href="#property:TYPE"><b><code>TYPE</code></b></a></li>
    <li><a href="#property:VALUE"><b><code>VALUE</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="property:ADVANCED"></a><b><code>ADVANCED</code></b>: True if entry should be hidden by default in GUIs.<br />
    <p>This is a boolean value indicating whether the entry is considered interesting only for advanced configuration.  The mark_as_advanced() command modifies this property.</p>

  </li>
  <li>
    <a name="property:HELPSTRING"></a><b><code>HELPSTRING</code></b>: Help associated with entry in GUIs.<br />
    <p>This string summarizes the purpose of an entry to help users set it through a CMake GUI.</p>

  </li>
  <li>
    <a name="property:MODIFIED"></a><b><code>MODIFIED</code></b>: Internal management property.  Do not set or get.<br />
    <p>This is an internal cache entry property managed by CMake to track interactive user modification of entries.  Ignore it.</p>

  </li>
  <li>
    <a name="property:STRINGS"></a><b><code>STRINGS</code></b>: Enumerate possible STRING entry values for GUI selection.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="property:TYPE"></a><b><code>TYPE</code></b>: Widget type for entry in GUIs.<br />
    <p>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:<br /></p>
<pre>  BOOL          = Boolean ON/OFF value.<br />  PATH          = Path to a directory.<br />  FILEPATH      = Path to a file.<br />  STRING        = Generic string value.<br />  INTERNAL      = Do not present in GUI at all.<br />  STATIC        = Value managed by CMake, do not change.<br />  UNINITIALIZED = Type not yet specified.<br /></pre>
    <p>Generally the TYPE of a cache entry should be set by the command which creates it (set, option, find_library, etc.).</p>

  </li>
  <li>
    <a name="property:VALUE"></a><b><code>VALUE</code></b>: Value of a cache entry.<br />
    <p>This property maps to the actual value of a cache entry.  Setting this property always sets the value without checking, so use with care.</p>

  </li>
</ul>
<h2><a name="section_PropertiesonDirectories"></a>Properties on Directories</h2>
<ul>
    <li><a href="#prop_dir:ADDITIONAL_MAKE_CLEAN_FILES"><b><code>ADDITIONAL_MAKE_CLEAN_FILES</code></b></a></li>
    <li><a href="#prop_dir:CACHE_VARIABLES"><b><code>CACHE_VARIABLES</code></b></a></li>
    <li><a href="#prop_dir:CLEAN_NO_CUSTOM"><b><code>CLEAN_NO_CUSTOM</code></b></a></li>
    <li><a href="#prop_dir:COMPILE_DEFINITIONS"><b><code>COMPILE_DEFINITIONS</code></b></a></li>
    <li><a href="#prop_dir:COMPILE_DEFINITIONS_CONFIG"><b><code>COMPILE_DEFINITIONS_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_dir:COMPILE_OPTIONS"><b><code>COMPILE_OPTIONS</code></b></a></li>
    <li><a href="#prop_dir:DEFINITIONS"><b><code>DEFINITIONS</code></b></a></li>
    <li><a href="#prop_dir:EXCLUDE_FROM_ALL"><b><code>EXCLUDE_FROM_ALL</code></b></a></li>
    <li><a href="#prop_dir:IMPLICIT_DEPENDS_INCLUDE_TRANSFORM"><b><code>IMPLICIT_DEPENDS_INCLUDE_TRANSFORM</code></b></a></li>
    <li><a href="#prop_dir:INCLUDE_DIRECTORIES"><b><code>INCLUDE_DIRECTORIES</code></b></a></li>
    <li><a href="#prop_dir:INCLUDE_REGULAR_EXPRESSION"><b><code>INCLUDE_REGULAR_EXPRESSION</code></b></a></li>
    <li><a href="#prop_dir:INTERPROCEDURAL_OPTIMIZATION"><b><code>INTERPROCEDURAL_OPTIMIZATION</code></b></a></li>
    <li><a href="#prop_dir:INTERPROCEDURAL_OPTIMIZATION_CONFIG"><b><code>INTERPROCEDURAL_OPTIMIZATION_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_dir:LINK_DIRECTORIES"><b><code>LINK_DIRECTORIES</code></b></a></li>
    <li><a href="#prop_dir:LISTFILE_STACK"><b><code>LISTFILE_STACK</code></b></a></li>
    <li><a href="#prop_dir:MACROS"><b><code>MACROS</code></b></a></li>
    <li><a href="#prop_dir:PARENT_DIRECTORY"><b><code>PARENT_DIRECTORY</code></b></a></li>
    <li><a href="#prop_dir:RULE_LAUNCH_COMPILE"><b><code>RULE_LAUNCH_COMPILE</code></b></a></li>
    <li><a href="#prop_dir:RULE_LAUNCH_CUSTOM"><b><code>RULE_LAUNCH_CUSTOM</code></b></a></li>
    <li><a href="#prop_dir:RULE_LAUNCH_LINK"><b><code>RULE_LAUNCH_LINK</code></b></a></li>
    <li><a href="#prop_dir:TEST_INCLUDE_FILE"><b><code>TEST_INCLUDE_FILE</code></b></a></li>
    <li><a href="#prop_dir:VARIABLES"><b><code>VARIABLES</code></b></a></li>
    <li><a href="#prop_dir:VS_GLOBAL_SECTION_POST_section"><b><code>VS_GLOBAL_SECTION_POST_&lt;section&gt;</code></b></a></li>
    <li><a href="#prop_dir:VS_GLOBAL_SECTION_PRE_section"><b><code>VS_GLOBAL_SECTION_PRE_&lt;section&gt;</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="prop_dir:ADDITIONAL_MAKE_CLEAN_FILES"></a><b><code>ADDITIONAL_MAKE_CLEAN_FILES</code></b>: Additional files to clean during the make clean stage.<br />
    <p>A list of files that will be cleaned as a part of the "make clean" stage. </p>

  </li>
  <li>
    <a name="prop_dir:CACHE_VARIABLES"></a><b><code>CACHE_VARIABLES</code></b>: List of cache variables available in the current directory.<br />
    <p>This read-only property specifies the list of CMake cache variables currently defined.  It is intended for debugging purposes.</p>

  </li>
  <li>
    <a name="prop_dir:CLEAN_NO_CUSTOM"></a><b><code>CLEAN_NO_CUSTOM</code></b>: Should the output of custom commands be left.<br />
    <p>If this is true then the outputs of custom commands for this directory will not be removed during the "make clean" stage. </p>

  </li>
  <li>
    <a name="prop_dir:COMPILE_DEFINITIONS"></a><b><code>COMPILE_DEFINITIONS</code></b>: Preprocessor definitions for compiling a directory's sources.<br />
    <p>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_&lt;CONFIG&gt; where &lt;CONFIG&gt; 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.<br /></p>
<p>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).<br /></p>
<p>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:<br /></p>
<pre>  #          - broken almost everywhere<br />  ;          - broken in VS IDE 7.0 and Borland Makefiles<br />  ,          - broken in VS IDE<br />  %          - broken in some cases in NMake<br />  &amp; |        - broken in some cases on MinGW<br />  ^ &lt; &gt; \"   - broken in most Make tools on Windows<br /></pre>
    <p>CMake does not reject these values outright because they do work in some cases.  Use with caution.  </p>

  </li>
  <li>
    <a name="prop_dir:COMPILE_DEFINITIONS_CONFIG"></a><b><code>COMPILE_DEFINITIONS_&lt;CONFIG&gt;</code></b>: Per-configuration preprocessor definitions in a directory.<br />
    <p>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.<br /></p>

  </li>
  <li>
    <a name="prop_dir:COMPILE_OPTIONS"></a><b><code>COMPILE_OPTIONS</code></b>: List of options to pass to the compiler.<br />
    <p>This property specifies the list of directories given so far for this property.  This property exists on directories and targets.<br /></p>
<p>The target property values are used by the generators to set the options for the compiler.<br /></p>
<p>Contents of COMPILE_OPTIONS may use "generator expressions" with the syntax "$&lt;...&gt;".  Generator expressions are evaluated during build system generation to produce information specific to each build configuration.  Valid expressions are:<br /></p>
<pre>  $&lt;0:...&gt;                  = empty string (ignores "...")<br />  $&lt;1:...&gt;                  = content of "..."<br />  $&lt;CONFIG:cfg&gt;             = '1' if config is "cfg", else '0'<br />  $&lt;CONFIGURATION&gt;          = configuration name<br />  $&lt;BOOL:...&gt;               = '1' if the '...' is true, else '0'<br />  $&lt;STREQUAL:a,b&gt;           = '1' if a is STREQUAL b, else '0'<br />  $&lt;ANGLE-R&gt;                = A literal '&gt;'. Used to compare strings which contain a '&gt;' for example.<br />  $&lt;COMMA&gt;                  = A literal ','. Used to compare strings which contain a ',' for example.<br />  $&lt;SEMICOLON&gt;              = A literal ';'. Used to prevent list expansion on an argument with ';'.<br />  $&lt;JOIN:list,...&gt;          = joins the list with the content of "..."<br />  $&lt;TARGET_NAME:...&gt;        = 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.<br />  $&lt;INSTALL_INTERFACE:...&gt;  = content of "..." when the property is exported using install(EXPORT), and empty otherwise.<br />  $&lt;BUILD_INTERFACE:...&gt;    = 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.<br />  $&lt;C_COMPILER_ID&gt;          = The CMake-id of the C compiler used.<br />  $&lt;C_COMPILER_ID:comp&gt;     = '1' if the CMake-id of the C compiler matches comp, otherwise '0'.<br />  $&lt;CXX_COMPILER_ID&gt;        = The CMake-id of the CXX compiler used.<br />  $&lt;CXX_COMPILER_ID:comp&gt;   = '1' if the CMake-id of the CXX compiler matches comp, otherwise '0'.<br />  $&lt;VERSION_GREATER:v1,v2&gt;  = '1' if v1 is a version greater than v2, else '0'.<br />  $&lt;VERSION_LESS:v1,v2&gt;     = '1' if v1 is a version less than v2, else '0'.<br />  $&lt;VERSION_EQUAL:v1,v2&gt;    = '1' if v1 is the same version as v2, else '0'.<br />  $&lt;C_COMPILER_VERSION&gt;     = The version of the C compiler used.<br />  $&lt;C_COMPILER_VERSION:ver&gt; = '1' if the version of the C compiler matches ver, otherwise '0'.<br />  $&lt;CXX_COMPILER_VERSION&gt;   = The version of the CXX compiler used.<br />  $&lt;CXX_COMPILER_VERSION:ver&gt; = '1' if the version of the CXX compiler matches ver, otherwise '0'.<br />  $&lt;TARGET_FILE:tgt&gt;        = main file (.exe, .so.1.2, .a)<br />  $&lt;TARGET_LINKER_FILE:tgt&gt; = file used to link (.a, .lib, .so)<br />  $&lt;TARGET_SONAME_FILE:tgt&gt; = file with soname (.so.3)<br /></pre>
    <p>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:<br /></p>
<pre>  $&lt;TARGET_FILE_DIR:tgt&gt;/$&lt;TARGET_FILE_NAME:tgt&gt;<br />  $&lt;TARGET_LINKER_FILE_DIR:tgt&gt;/$&lt;TARGET_LINKER_FILE_NAME:tgt&gt;<br />  $&lt;TARGET_SONAME_FILE_DIR:tgt&gt;/$&lt;TARGET_SONAME_FILE_NAME:tgt&gt;<br /></pre>
    <p><br /></p>
<pre>  $&lt;TARGET_PROPERTY:tgt,prop&gt;   = The value of the property prop on the target tgt.<br /></pre>
    <p>Note that tgt is not added as a dependency of the target this expression is evaluated on.<br /></p>
<pre>  $&lt;TARGET_POLICY:pol&gt;          = '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.<br />  $&lt;INSTALL_PREFIX&gt;         = Content of the install prefix when the target is exported via INSTALL(EXPORT) and empty otherwise.<br /></pre>
    <p>Boolean expressions:<br /></p>
<pre>  $&lt;AND:?[,?]...&gt;           = '1' if all '?' are '1', else '0'<br />  $&lt;OR:?[,?]...&gt;            = '0' if all '?' are '0', else '1'<br />  $&lt;NOT:?&gt;                  = '0' if '?' is '1', else '1'<br /></pre>
    <p>where '?' is always either '0' or '1'.<br /></p>
<p>Expressions with an implicit 'this' target:<br /></p>
<pre>  $&lt;TARGET_PROPERTY:prop&gt;   = The value of the property prop on the target on which the generator expression is evaluated.<br /></pre>
    
  </li>
  <li>
    <a name="prop_dir:DEFINITIONS"></a><b><code>DEFINITIONS</code></b>: For CMake 2.4 compatibility only.  Use COMPILE_DEFINITIONS instead.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_dir:EXCLUDE_FROM_ALL"></a><b><code>EXCLUDE_FROM_ALL</code></b>: Exclude the directory from the all target of its parent.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_dir:IMPLICIT_DEPENDS_INCLUDE_TRANSFORM"></a><b><code>IMPLICIT_DEPENDS_INCLUDE_TRANSFORM</code></b>: Specify #include line transforms for dependencies in a directory.<br />
    <p>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<br /></p>
<pre>  MYDIR(%)=&lt;mydir/%&gt;<br /></pre>
    <p>will convert lines of the form<br /></p>
<pre>  #include MYDIR(myheader.h)<br /></pre>
    <p>to<br /></p>
<pre>  #include &lt;mydir/myheader.h&gt;<br /></pre>
    <p>allowing the dependency to be followed.<br /></p>
<p>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.</p>

  </li>
  <li>
    <a name="prop_dir:INCLUDE_DIRECTORIES"></a><b><code>INCLUDE_DIRECTORIES</code></b>: List of preprocessor include file search directories.<br />
    <p>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.<br /></p>
<p>The target property values are used by the generators to set the include paths for the compiler.  See also the include_directories command.</p>

  </li>
  <li>
    <a name="prop_dir:INCLUDE_REGULAR_EXPRESSION"></a><b><code>INCLUDE_REGULAR_EXPRESSION</code></b>: Include file scanning regular expression.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_dir:INTERPROCEDURAL_OPTIMIZATION"></a><b><code>INTERPROCEDURAL_OPTIMIZATION</code></b>: Enable interprocedural optimization for targets in a directory.<br />
    <p>If set to true, enables interprocedural optimizations if they are known to be supported by the compiler.</p>

  </li>
  <li>
    <a name="prop_dir:INTERPROCEDURAL_OPTIMIZATION_CONFIG"></a><b><code>INTERPROCEDURAL_OPTIMIZATION_&lt;CONFIG&gt;</code></b>: Per-configuration interprocedural optimization for a directory.<br />
    <p>This is a per-configuration version of INTERPROCEDURAL_OPTIMIZATION.  If set, this property overrides the generic property for the named configuration.</p>

  </li>
  <li>
    <a name="prop_dir:LINK_DIRECTORIES"></a><b><code>LINK_DIRECTORIES</code></b>: List of linker search directories.<br />
    <p>This read-only property specifies the list of directories given so far to the link_directories command.  It is intended for debugging purposes.</p>

  </li>
  <li>
    <a name="prop_dir:LISTFILE_STACK"></a><b><code>LISTFILE_STACK</code></b>: The current stack of listfiles being processed.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_dir:MACROS"></a><b><code>MACROS</code></b>: List of macro commands available in the current directory.<br />
    <p>This read-only property specifies the list of CMake macros currently defined.  It is intended for debugging purposes.  See the macro command.</p>

  </li>
  <li>
    <a name="prop_dir:PARENT_DIRECTORY"></a><b><code>PARENT_DIRECTORY</code></b>: Source directory that added current subdirectory.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_dir:RULE_LAUNCH_COMPILE"></a><b><code>RULE_LAUNCH_COMPILE</code></b>: Specify a launcher for compile rules.<br />
    <p>See the global property of the same name for details.  This overrides the global property for a directory.</p>

  </li>
  <li>
    <a name="prop_dir:RULE_LAUNCH_CUSTOM"></a><b><code>RULE_LAUNCH_CUSTOM</code></b>: Specify a launcher for custom rules.<br />
    <p>See the global property of the same name for details.  This overrides the global property for a directory.</p>

  </li>
  <li>
    <a name="prop_dir:RULE_LAUNCH_LINK"></a><b><code>RULE_LAUNCH_LINK</code></b>: Specify a launcher for link rules.<br />
    <p>See the global property of the same name for details.  This overrides the global property for a directory.</p>

  </li>
  <li>
    <a name="prop_dir:TEST_INCLUDE_FILE"></a><b><code>TEST_INCLUDE_FILE</code></b>: A cmake file that will be included when ctest is run.<br />
    <p>If you specify TEST_INCLUDE_FILE, that file will be included and processed when ctest is run on the directory.</p>

  </li>
  <li>
    <a name="prop_dir:VARIABLES"></a><b><code>VARIABLES</code></b>: List of variables defined in the current directory.<br />
    <p>This read-only property specifies the list of CMake variables currently defined.  It is intended for debugging purposes.</p>

  </li>
  <li>
    <a name="prop_dir:VS_GLOBAL_SECTION_POST_section"></a><b><code>VS_GLOBAL_SECTION_POST_&lt;section&gt;</code></b>: Specify a postSolution global section in Visual Studio.<br />
    <p>Setting a property like this generates an entry of the following form in the solution file:<br /></p>
<pre>  GlobalSection(&lt;section&gt;) = postSolution<br />    &lt;contents based on property value&gt;<br />  EndGlobalSection<br /></pre>
    <p>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.<br /></p>
<p>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.<br /></p>
<p>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.</p>

  </li>
  <li>
    <a name="prop_dir:VS_GLOBAL_SECTION_PRE_section"></a><b><code>VS_GLOBAL_SECTION_PRE_&lt;section&gt;</code></b>: Specify a preSolution global section in Visual Studio.<br />
    <p>Setting a property like this generates an entry of the following form in the solution file:<br /></p>
<pre>  GlobalSection(&lt;section&gt;) = preSolution<br />    &lt;contents based on property value&gt;<br />  EndGlobalSection<br /></pre>
    <p>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.<br /></p>
<p>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.</p>

  </li>
</ul>
<h2><a name="section_PropertiesonSourceFiles"></a>Properties on Source Files</h2>
<ul>
    <li><a href="#prop_sf:ABSTRACT"><b><code>ABSTRACT</code></b></a></li>
    <li><a href="#prop_sf:COMPILE_DEFINITIONS"><b><code>COMPILE_DEFINITIONS</code></b></a></li>
    <li><a href="#prop_sf:COMPILE_DEFINITIONS_CONFIG"><b><code>COMPILE_DEFINITIONS_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_sf:COMPILE_FLAGS"><b><code>COMPILE_FLAGS</code></b></a></li>
    <li><a href="#prop_sf:EXTERNAL_OBJECT"><b><code>EXTERNAL_OBJECT</code></b></a></li>
    <li><a href="#prop_sf:Fortran_FORMAT"><b><code>Fortran_FORMAT</code></b></a></li>
    <li><a href="#prop_sf:GENERATED"><b><code>GENERATED</code></b></a></li>
    <li><a href="#prop_sf:HEADER_FILE_ONLY"><b><code>HEADER_FILE_ONLY</code></b></a></li>
    <li><a href="#prop_sf:KEEP_EXTENSION"><b><code>KEEP_EXTENSION</code></b></a></li>
    <li><a href="#prop_sf:LABELS"><b><code>LABELS</code></b></a></li>
    <li><a href="#prop_sf:LANGUAGE"><b><code>LANGUAGE</code></b></a></li>
    <li><a href="#prop_sf:LOCATION"><b><code>LOCATION</code></b></a></li>
    <li><a href="#prop_sf:MACOSX_PACKAGE_LOCATION"><b><code>MACOSX_PACKAGE_LOCATION</code></b></a></li>
    <li><a href="#prop_sf:OBJECT_DEPENDS"><b><code>OBJECT_DEPENDS</code></b></a></li>
    <li><a href="#prop_sf:OBJECT_OUTPUTS"><b><code>OBJECT_OUTPUTS</code></b></a></li>
    <li><a href="#prop_sf:SYMBOLIC"><b><code>SYMBOLIC</code></b></a></li>
    <li><a href="#prop_sf:WRAP_EXCLUDE"><b><code>WRAP_EXCLUDE</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="prop_sf:ABSTRACT"></a><b><code>ABSTRACT</code></b>: Is this source file an abstract class.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_sf:COMPILE_DEFINITIONS"></a><b><code>COMPILE_DEFINITIONS</code></b>: Preprocessor definitions for compiling a source file.<br />
    <p>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_&lt;CONFIG&gt; where &lt;CONFIG&gt; is an upper-case name (ex. "COMPILE_DEFINITIONS_DEBUG").<br /></p>
<p>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.<br /></p>
<p>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:<br /></p>
<pre>  #          - broken almost everywhere<br />  ;          - broken in VS IDE 7.0 and Borland Makefiles<br />  ,          - broken in VS IDE<br />  %          - broken in some cases in NMake<br />  &amp; |        - broken in some cases on MinGW<br />  ^ &lt; &gt; \"   - broken in most Make tools on Windows<br /></pre>
    <p>CMake does not reject these values outright because they do work in some cases.  Use with caution.  </p>

  </li>
  <li>
    <a name="prop_sf:COMPILE_DEFINITIONS_CONFIG"></a><b><code>COMPILE_DEFINITIONS_&lt;CONFIG&gt;</code></b>: Per-configuration preprocessor definitions on a source file.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_sf:COMPILE_FLAGS"></a><b><code>COMPILE_FLAGS</code></b>: Additional flags to be added when compiling this source file.<br />
    <p>These flags will be added to the list of compile flags when this source file builds.  Use COMPILE_DEFINITIONS to pass additional preprocessor definitions.</p>

  </li>
  <li>
    <a name="prop_sf:EXTERNAL_OBJECT"></a><b><code>EXTERNAL_OBJECT</code></b>: If set to true then this is an object file.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_sf:Fortran_FORMAT"></a><b><code>Fortran_FORMAT</code></b>: Set to FIXED or FREE to indicate the Fortran source layout.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_sf:GENERATED"></a><b><code>GENERATED</code></b>: Is this source file generated as part of the build process.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_sf:HEADER_FILE_ONLY"></a><b><code>HEADER_FILE_ONLY</code></b>: Is this source file only a header file.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_sf:KEEP_EXTENSION"></a><b><code>KEEP_EXTENSION</code></b>: Make the output file have the same extension as the source file.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_sf:LABELS"></a><b><code>LABELS</code></b>: Specify a list of text labels associated with a source file.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_sf:LANGUAGE"></a><b><code>LANGUAGE</code></b>: What programming language is the file.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_sf:LOCATION"></a><b><code>LOCATION</code></b>: The full path to a source file.<br />
    <p>A read only property on a SOURCE FILE that contains the full path to the source file.</p>

  </li>
  <li>
    <a name="prop_sf:MACOSX_PACKAGE_LOCATION"></a><b><code>MACOSX_PACKAGE_LOCATION</code></b>: Place a source file inside a Mac OS X bundle, CFBundle, or framework.<br />
    <p>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 "&lt;name&gt;.app/Contents".  For frameworks the content folder is "&lt;name&gt;.framework/Versions/&lt;version&gt;".  For cfbundles the content folder is "&lt;name&gt;.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.</p>

  </li>
  <li>
    <a name="prop_sf:OBJECT_DEPENDS"></a><b><code>OBJECT_DEPENDS</code></b>: Additional files on which a compiled object file depends.<br />
    <p>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.<br /></p>
<p>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).</p>

  </li>
  <li>
    <a name="prop_sf:OBJECT_OUTPUTS"></a><b><code>OBJECT_OUTPUTS</code></b>: Additional outputs for a Makefile rule.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_sf:SYMBOLIC"></a><b><code>SYMBOLIC</code></b>: Is this just a name for a rule.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_sf:WRAP_EXCLUDE"></a><b><code>WRAP_EXCLUDE</code></b>: Exclude this source file from any code wrapping techniques.<br />
    <p>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.</p>

  </li>
</ul>
<h2><a name="section_PropertiesonTargets"></a>Properties on Targets</h2>
<ul>
    <li><a href="#prop_tgt:CONFIG_OUTPUT_NAME"><b><code>&lt;CONFIG&gt;_OUTPUT_NAME</code></b></a></li>
    <li><a href="#prop_tgt:CONFIG_POSTFIX"><b><code>&lt;CONFIG&gt;_POSTFIX</code></b></a></li>
    <li><a href="#prop_tgt:LANG_VISIBILITY_PRESET"><b><code>&lt;LANG&gt;_VISIBILITY_PRESET</code></b></a></li>
    <li><a href="#prop_tgt:ALIASED_TARGET"><b><code>ALIASED_TARGET</code></b></a></li>
    <li><a href="#prop_tgt:ARCHIVE_OUTPUT_DIRECTORY"><b><code>ARCHIVE_OUTPUT_DIRECTORY</code></b></a></li>
    <li><a href="#prop_tgt:ARCHIVE_OUTPUT_DIRECTORY_CONFIG"><b><code>ARCHIVE_OUTPUT_DIRECTORY_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:ARCHIVE_OUTPUT_NAME"><b><code>ARCHIVE_OUTPUT_NAME</code></b></a></li>
    <li><a href="#prop_tgt:ARCHIVE_OUTPUT_NAME_CONFIG"><b><code>ARCHIVE_OUTPUT_NAME_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:AUTOMOC"><b><code>AUTOMOC</code></b></a></li>
    <li><a href="#prop_tgt:AUTOMOC_MOC_OPTIONS"><b><code>AUTOMOC_MOC_OPTIONS</code></b></a></li>
    <li><a href="#prop_tgt:BUILD_WITH_INSTALL_RPATH"><b><code>BUILD_WITH_INSTALL_RPATH</code></b></a></li>
    <li><a href="#prop_tgt:BUNDLE"><b><code>BUNDLE</code></b></a></li>
    <li><a href="#prop_tgt:BUNDLE_EXTENSION"><b><code>BUNDLE_EXTENSION</code></b></a></li>
    <li><a href="#prop_tgt:COMPATIBLE_INTERFACE_BOOL"><b><code>COMPATIBLE_INTERFACE_BOOL</code></b></a></li>
    <li><a href="#prop_tgt:COMPATIBLE_INTERFACE_STRING"><b><code>COMPATIBLE_INTERFACE_STRING</code></b></a></li>
    <li><a href="#prop_tgt:COMPILE_DEFINITIONS"><b><code>COMPILE_DEFINITIONS</code></b></a></li>
    <li><a href="#prop_tgt:COMPILE_DEFINITIONS_CONFIG"><b><code>COMPILE_DEFINITIONS_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:COMPILE_FLAGS"><b><code>COMPILE_FLAGS</code></b></a></li>
    <li><a href="#prop_tgt:COMPILE_OPTIONS"><b><code>COMPILE_OPTIONS</code></b></a></li>
    <li><a href="#prop_tgt:DEBUG_POSTFIX"><b><code>DEBUG_POSTFIX</code></b></a></li>
    <li><a href="#prop_tgt:DEFINE_SYMBOL"><b><code>DEFINE_SYMBOL</code></b></a></li>
    <li><a href="#prop_tgt:ENABLE_EXPORTS"><b><code>ENABLE_EXPORTS</code></b></a></li>
    <li><a href="#prop_tgt:EXCLUDE_FROM_ALL"><b><code>EXCLUDE_FROM_ALL</code></b></a></li>
    <li><a href="#prop_tgt:EXCLUDE_FROM_DEFAULT_BUILD"><b><code>EXCLUDE_FROM_DEFAULT_BUILD</code></b></a></li>
    <li><a href="#prop_tgt:EXCLUDE_FROM_DEFAULT_BUILD_CONFIG"><b><code>EXCLUDE_FROM_DEFAULT_BUILD_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:EXPORT_NAME"><b><code>EXPORT_NAME</code></b></a></li>
    <li><a href="#prop_tgt:EchoString"><b><code>EchoString</code></b></a></li>
    <li><a href="#prop_tgt:FOLDER"><b><code>FOLDER</code></b></a></li>
    <li><a href="#prop_tgt:FRAMEWORK"><b><code>FRAMEWORK</code></b></a></li>
    <li><a href="#prop_tgt:Fortran_FORMAT"><b><code>Fortran_FORMAT</code></b></a></li>
    <li><a href="#prop_tgt:Fortran_MODULE_DIRECTORY"><b><code>Fortran_MODULE_DIRECTORY</code></b></a></li>
    <li><a href="#prop_tgt:GENERATOR_FILE_NAME"><b><code>GENERATOR_FILE_NAME</code></b></a></li>
    <li><a href="#prop_tgt:GNUtoMS"><b><code>GNUtoMS</code></b></a></li>
    <li><a href="#prop_tgt:HAS_CXX"><b><code>HAS_CXX</code></b></a></li>
    <li><a href="#prop_tgt:IMPLICIT_DEPENDS_INCLUDE_TRANSFORM"><b><code>IMPLICIT_DEPENDS_INCLUDE_TRANSFORM</code></b></a></li>
    <li><a href="#prop_tgt:IMPORTED"><b><code>IMPORTED</code></b></a></li>
    <li><a href="#prop_tgt:IMPORTED_CONFIGURATIONS"><b><code>IMPORTED_CONFIGURATIONS</code></b></a></li>
    <li><a href="#prop_tgt:IMPORTED_IMPLIB"><b><code>IMPORTED_IMPLIB</code></b></a></li>
    <li><a href="#prop_tgt:IMPORTED_IMPLIB_CONFIG"><b><code>IMPORTED_IMPLIB_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:IMPORTED_LINK_DEPENDENT_LIBRARIES"><b><code>IMPORTED_LINK_DEPENDENT_LIBRARIES</code></b></a></li>
    <li><a href="#prop_tgt:IMPORTED_LINK_DEPENDENT_LIBRARIES_CONFIG"><b><code>IMPORTED_LINK_DEPENDENT_LIBRARIES_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:IMPORTED_LINK_INTERFACE_LANGUAGES"><b><code>IMPORTED_LINK_INTERFACE_LANGUAGES</code></b></a></li>
    <li><a href="#prop_tgt:IMPORTED_LINK_INTERFACE_LANGUAGES_CONFIG"><b><code>IMPORTED_LINK_INTERFACE_LANGUAGES_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:IMPORTED_LINK_INTERFACE_LIBRARIES"><b><code>IMPORTED_LINK_INTERFACE_LIBRARIES</code></b></a></li>
    <li><a href="#prop_tgt:IMPORTED_LINK_INTERFACE_LIBRARIES_CONFIG"><b><code>IMPORTED_LINK_INTERFACE_LIBRARIES_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:IMPORTED_LINK_INTERFACE_MULTIPLICITY"><b><code>IMPORTED_LINK_INTERFACE_MULTIPLICITY</code></b></a></li>
    <li><a href="#prop_tgt:IMPORTED_LINK_INTERFACE_MULTIPLICITY_CONFIG"><b><code>IMPORTED_LINK_INTERFACE_MULTIPLICITY_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:IMPORTED_LOCATION"><b><code>IMPORTED_LOCATION</code></b></a></li>
    <li><a href="#prop_tgt:IMPORTED_LOCATION_CONFIG"><b><code>IMPORTED_LOCATION_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:IMPORTED_NO_SONAME"><b><code>IMPORTED_NO_SONAME</code></b></a></li>
    <li><a href="#prop_tgt:IMPORTED_NO_SONAME_CONFIG"><b><code>IMPORTED_NO_SONAME_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:IMPORTED_SONAME"><b><code>IMPORTED_SONAME</code></b></a></li>
    <li><a href="#prop_tgt:IMPORTED_SONAME_CONFIG"><b><code>IMPORTED_SONAME_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:IMPORT_PREFIX"><b><code>IMPORT_PREFIX</code></b></a></li>
    <li><a href="#prop_tgt:IMPORT_SUFFIX"><b><code>IMPORT_SUFFIX</code></b></a></li>
    <li><a href="#prop_tgt:INCLUDE_DIRECTORIES"><b><code>INCLUDE_DIRECTORIES</code></b></a></li>
    <li><a href="#prop_tgt:INSTALL_NAME_DIR"><b><code>INSTALL_NAME_DIR</code></b></a></li>
    <li><a href="#prop_tgt:INSTALL_RPATH"><b><code>INSTALL_RPATH</code></b></a></li>
    <li><a href="#prop_tgt:INSTALL_RPATH_USE_LINK_PATH"><b><code>INSTALL_RPATH_USE_LINK_PATH</code></b></a></li>
    <li><a href="#prop_tgt:INTERFACE_COMPILE_DEFINITIONS"><b><code>INTERFACE_COMPILE_DEFINITIONS</code></b></a></li>
    <li><a href="#prop_tgt:INTERFACE_COMPILE_OPTIONS"><b><code>INTERFACE_COMPILE_OPTIONS</code></b></a></li>
    <li><a href="#prop_tgt:INTERFACE_INCLUDE_DIRECTORIES"><b><code>INTERFACE_INCLUDE_DIRECTORIES</code></b></a></li>
    <li><a href="#prop_tgt:INTERFACE_LINK_LIBRARIES"><b><code>INTERFACE_LINK_LIBRARIES</code></b></a></li>
    <li><a href="#prop_tgt:INTERFACE_POSITION_INDEPENDENT_CODE"><b><code>INTERFACE_POSITION_INDEPENDENT_CODE</code></b></a></li>
    <li><a href="#prop_tgt:INTERFACE_SYSTEM_INCLUDE_DIRECTORIES"><b><code>INTERFACE_SYSTEM_INCLUDE_DIRECTORIES</code></b></a></li>
    <li><a href="#prop_tgt:INTERPROCEDURAL_OPTIMIZATION"><b><code>INTERPROCEDURAL_OPTIMIZATION</code></b></a></li>
    <li><a href="#prop_tgt:INTERPROCEDURAL_OPTIMIZATION_CONFIG"><b><code>INTERPROCEDURAL_OPTIMIZATION_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:LABELS"><b><code>LABELS</code></b></a></li>
    <li><a href="#prop_tgt:LIBRARY_OUTPUT_DIRECTORY"><b><code>LIBRARY_OUTPUT_DIRECTORY</code></b></a></li>
    <li><a href="#prop_tgt:LIBRARY_OUTPUT_DIRECTORY_CONFIG"><b><code>LIBRARY_OUTPUT_DIRECTORY_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:LIBRARY_OUTPUT_NAME"><b><code>LIBRARY_OUTPUT_NAME</code></b></a></li>
    <li><a href="#prop_tgt:LIBRARY_OUTPUT_NAME_CONFIG"><b><code>LIBRARY_OUTPUT_NAME_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:LINKER_LANGUAGE"><b><code>LINKER_LANGUAGE</code></b></a></li>
    <li><a href="#prop_tgt:LINK_DEPENDS"><b><code>LINK_DEPENDS</code></b></a></li>
    <li><a href="#prop_tgt:LINK_DEPENDS_NO_SHARED"><b><code>LINK_DEPENDS_NO_SHARED</code></b></a></li>
    <li><a href="#prop_tgt:LINK_FLAGS"><b><code>LINK_FLAGS</code></b></a></li>
    <li><a href="#prop_tgt:LINK_FLAGS_CONFIG"><b><code>LINK_FLAGS_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:LINK_INTERFACE_LIBRARIES"><b><code>LINK_INTERFACE_LIBRARIES</code></b></a></li>
    <li><a href="#prop_tgt:LINK_INTERFACE_LIBRARIES_CONFIG"><b><code>LINK_INTERFACE_LIBRARIES_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:LINK_INTERFACE_MULTIPLICITY"><b><code>LINK_INTERFACE_MULTIPLICITY</code></b></a></li>
    <li><a href="#prop_tgt:LINK_INTERFACE_MULTIPLICITY_CONFIG"><b><code>LINK_INTERFACE_MULTIPLICITY_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:LINK_LIBRARIES"><b><code>LINK_LIBRARIES</code></b></a></li>
    <li><a href="#prop_tgt:LINK_SEARCH_END_STATIC"><b><code>LINK_SEARCH_END_STATIC</code></b></a></li>
    <li><a href="#prop_tgt:LINK_SEARCH_START_STATIC"><b><code>LINK_SEARCH_START_STATIC</code></b></a></li>
    <li><a href="#prop_tgt:LOCATION"><b><code>LOCATION</code></b></a></li>
    <li><a href="#prop_tgt:LOCATION_CONFIG"><b><code>LOCATION_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:MACOSX_BUNDLE"><b><code>MACOSX_BUNDLE</code></b></a></li>
    <li><a href="#prop_tgt:MACOSX_BUNDLE_INFO_PLIST"><b><code>MACOSX_BUNDLE_INFO_PLIST</code></b></a></li>
    <li><a href="#prop_tgt:MACOSX_FRAMEWORK_INFO_PLIST"><b><code>MACOSX_FRAMEWORK_INFO_PLIST</code></b></a></li>
    <li><a href="#prop_tgt:MACOSX_RPATH"><b><code>MACOSX_RPATH</code></b></a></li>
    <li><a href="#prop_tgt:MAP_IMPORTED_CONFIG_CONFIG"><b><code>MAP_IMPORTED_CONFIG_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:NAME"><b><code>NAME</code></b></a></li>
    <li><a href="#prop_tgt:NO_SONAME"><b><code>NO_SONAME</code></b></a></li>
    <li><a href="#prop_tgt:OSX_ARCHITECTURES"><b><code>OSX_ARCHITECTURES</code></b></a></li>
    <li><a href="#prop_tgt:OSX_ARCHITECTURES_CONFIG"><b><code>OSX_ARCHITECTURES_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:OUTPUT_NAME"><b><code>OUTPUT_NAME</code></b></a></li>
    <li><a href="#prop_tgt:OUTPUT_NAME_CONFIG"><b><code>OUTPUT_NAME_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:PDB_NAME"><b><code>PDB_NAME</code></b></a></li>
    <li><a href="#prop_tgt:PDB_NAME_CONFIG"><b><code>PDB_NAME_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:PDB_OUTPUT_DIRECTORY"><b><code>PDB_OUTPUT_DIRECTORY</code></b></a></li>
    <li><a href="#prop_tgt:PDB_OUTPUT_DIRECTORY_CONFIG"><b><code>PDB_OUTPUT_DIRECTORY_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:POSITION_INDEPENDENT_CODE"><b><code>POSITION_INDEPENDENT_CODE</code></b></a></li>
    <li><a href="#prop_tgt:POST_INSTALL_SCRIPT"><b><code>POST_INSTALL_SCRIPT</code></b></a></li>
    <li><a href="#prop_tgt:PREFIX"><b><code>PREFIX</code></b></a></li>
    <li><a href="#prop_tgt:PRE_INSTALL_SCRIPT"><b><code>PRE_INSTALL_SCRIPT</code></b></a></li>
    <li><a href="#prop_tgt:PRIVATE_HEADER"><b><code>PRIVATE_HEADER</code></b></a></li>
    <li><a href="#prop_tgt:PROJECT_LABEL"><b><code>PROJECT_LABEL</code></b></a></li>
    <li><a href="#prop_tgt:PUBLIC_HEADER"><b><code>PUBLIC_HEADER</code></b></a></li>
    <li><a href="#prop_tgt:RESOURCE"><b><code>RESOURCE</code></b></a></li>
    <li><a href="#prop_tgt:RULE_LAUNCH_COMPILE"><b><code>RULE_LAUNCH_COMPILE</code></b></a></li>
    <li><a href="#prop_tgt:RULE_LAUNCH_CUSTOM"><b><code>RULE_LAUNCH_CUSTOM</code></b></a></li>
    <li><a href="#prop_tgt:RULE_LAUNCH_LINK"><b><code>RULE_LAUNCH_LINK</code></b></a></li>
    <li><a href="#prop_tgt:RUNTIME_OUTPUT_DIRECTORY"><b><code>RUNTIME_OUTPUT_DIRECTORY</code></b></a></li>
    <li><a href="#prop_tgt:RUNTIME_OUTPUT_DIRECTORY_CONFIG"><b><code>RUNTIME_OUTPUT_DIRECTORY_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:RUNTIME_OUTPUT_NAME"><b><code>RUNTIME_OUTPUT_NAME</code></b></a></li>
    <li><a href="#prop_tgt:RUNTIME_OUTPUT_NAME_CONFIG"><b><code>RUNTIME_OUTPUT_NAME_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:SKIP_BUILD_RPATH"><b><code>SKIP_BUILD_RPATH</code></b></a></li>
    <li><a href="#prop_tgt:SOURCES"><b><code>SOURCES</code></b></a></li>
    <li><a href="#prop_tgt:SOVERSION"><b><code>SOVERSION</code></b></a></li>
    <li><a href="#prop_tgt:STATIC_LIBRARY_FLAGS"><b><code>STATIC_LIBRARY_FLAGS</code></b></a></li>
    <li><a href="#prop_tgt:STATIC_LIBRARY_FLAGS_CONFIG"><b><code>STATIC_LIBRARY_FLAGS_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#prop_tgt:SUFFIX"><b><code>SUFFIX</code></b></a></li>
    <li><a href="#prop_tgt:TYPE"><b><code>TYPE</code></b></a></li>
    <li><a href="#prop_tgt:VERSION"><b><code>VERSION</code></b></a></li>
    <li><a href="#prop_tgt:VISIBILITY_INLINES_HIDDEN"><b><code>VISIBILITY_INLINES_HIDDEN</code></b></a></li>
    <li><a href="#prop_tgt:VS_DOTNET_REFERENCES"><b><code>VS_DOTNET_REFERENCES</code></b></a></li>
    <li><a href="#prop_tgt:VS_DOTNET_TARGET_FRAMEWORK_VERSION"><b><code>VS_DOTNET_TARGET_FRAMEWORK_VERSION</code></b></a></li>
    <li><a href="#prop_tgt:VS_GLOBAL_variable"><b><code>VS_GLOBAL_&lt;variable&gt;</code></b></a></li>
    <li><a href="#prop_tgt:VS_GLOBAL_KEYWORD"><b><code>VS_GLOBAL_KEYWORD</code></b></a></li>
    <li><a href="#prop_tgt:VS_GLOBAL_PROJECT_TYPES"><b><code>VS_GLOBAL_PROJECT_TYPES</code></b></a></li>
    <li><a href="#prop_tgt:VS_GLOBAL_ROOTNAMESPACE"><b><code>VS_GLOBAL_ROOTNAMESPACE</code></b></a></li>
    <li><a href="#prop_tgt:VS_KEYWORD"><b><code>VS_KEYWORD</code></b></a></li>
    <li><a href="#prop_tgt:VS_SCC_AUXPATH"><b><code>VS_SCC_AUXPATH</code></b></a></li>
    <li><a href="#prop_tgt:VS_SCC_LOCALPATH"><b><code>VS_SCC_LOCALPATH</code></b></a></li>
    <li><a href="#prop_tgt:VS_SCC_PROJECTNAME"><b><code>VS_SCC_PROJECTNAME</code></b></a></li>
    <li><a href="#prop_tgt:VS_SCC_PROVIDER"><b><code>VS_SCC_PROVIDER</code></b></a></li>
    <li><a href="#prop_tgt:VS_WINRT_EXTENSIONS"><b><code>VS_WINRT_EXTENSIONS</code></b></a></li>
    <li><a href="#prop_tgt:VS_WINRT_REFERENCES"><b><code>VS_WINRT_REFERENCES</code></b></a></li>
    <li><a href="#prop_tgt:WIN32_EXECUTABLE"><b><code>WIN32_EXECUTABLE</code></b></a></li>
    <li><a href="#prop_tgt:XCODE_ATTRIBUTE_an-attribute"><b><code>XCODE_ATTRIBUTE_&lt;an-attribute&gt;</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="prop_tgt:CONFIG_OUTPUT_NAME"></a><b><code>&lt;CONFIG&gt;_OUTPUT_NAME</code></b>: Old per-configuration target file base name.<br />
    <p>This is a configuration-specific version of OUTPUT_NAME.  Use OUTPUT_NAME_&lt;CONFIG&gt; instead.</p>

  </li>
  <li>
    <a name="prop_tgt:CONFIG_POSTFIX"></a><b><code>&lt;CONFIG&gt;_POSTFIX</code></b>: Postfix to append to the target file name for configuration &lt;CONFIG&gt;.<br />
    <p>When building with configuration &lt;CONFIG&gt; 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_&lt;CONFIG&gt;_POSTFIX if it is set when a target is created.  This property is ignored on the Mac for Frameworks and App Bundles.</p>

  </li>
  <li>
    <a name="prop_tgt:LANG_VISIBILITY_PRESET"></a><b><code>&lt;LANG&gt;_VISIBILITY_PRESET</code></b>: Value for symbol visibility compile flags<br />
    <p>The &lt;LANG&gt;_VISIBILITY_PRESET property determines the value passed in a visibility related compile option, such as -fvisibility= for &lt;LANG&gt;.  This property only has an affect for libraries and executables with exports.  This property is initialized by the value of the variable CMAKE_&lt;LANG&gt;_VISIBILITY_PRESET if it is set when a target is created.</p>

  </li>
  <li>
    <a name="prop_tgt:ALIASED_TARGET"></a><b><code>ALIASED_TARGET</code></b>: Name of target aliased by this target.<br />
    <p>If this is an ALIAS target, this property contains the name of the target aliased.</p>

  </li>
  <li>
    <a name="prop_tgt:ARCHIVE_OUTPUT_DIRECTORY"></a><b><code>ARCHIVE_OUTPUT_DIRECTORY</code></b>: Output directory in which to build ARCHIVE target files.<br />
    <p>This property specifies the directory into which archive target files should be built. Multi-configuration generators (VS, Xcode) append a per-configuration subdirectory to the specified directory.  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.  This property is initialized by the value of the variable CMAKE_ARCHIVE_OUTPUT_DIRECTORY if it is set when a target is created.</p>

  </li>
  <li>
    <a name="prop_tgt:ARCHIVE_OUTPUT_DIRECTORY_CONFIG"></a><b><code>ARCHIVE_OUTPUT_DIRECTORY_&lt;CONFIG&gt;</code></b>: Per-configuration output directory for ARCHIVE target files.<br />
    <p>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_&lt;CONFIG&gt; if it is set when a target is created.</p>

  </li>
  <li>
    <a name="prop_tgt:ARCHIVE_OUTPUT_NAME"></a><b><code>ARCHIVE_OUTPUT_NAME</code></b>: Output name for ARCHIVE target files.<br />
    <p>This property specifies the base name for archive target files. It overrides OUTPUT_NAME and OUTPUT_NAME_&lt;CONFIG&gt; properties.  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.</p>

  </li>
  <li>
    <a name="prop_tgt:ARCHIVE_OUTPUT_NAME_CONFIG"></a><b><code>ARCHIVE_OUTPUT_NAME_&lt;CONFIG&gt;</code></b>: Per-configuration output name for ARCHIVE target files.<br />
    <p>This is the configuration-specific version of ARCHIVE_OUTPUT_NAME.</p>

  </li>
  <li>
    <a name="prop_tgt:AUTOMOC"></a><b><code>AUTOMOC</code></b>: Should the target be processed with automoc (for Qt projects).<br />
    <p>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 &lt;targetname&gt;_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.<br /></p>
<p>Additional command line options for moc can be set via the AUTOMOC_MOC_OPTIONS property.<br /></p>
<p>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.<br /></p>
<p>The global property AUTOMOC_TARGETS_FOLDER can be used to group the automoc targets together in an IDE, e.g. in MSVS.</p>

  </li>
  <li>
    <a name="prop_tgt:AUTOMOC_MOC_OPTIONS"></a><b><code>AUTOMOC_MOC_OPTIONS</code></b>: Additional options for moc when using automoc (see the AUTOMOC property)<br />
    <p>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.<br /></p>
<p>By default it is empty.</p>

  </li>
  <li>
    <a name="prop_tgt:BUILD_WITH_INSTALL_RPATH"></a><b><code>BUILD_WITH_INSTALL_RPATH</code></b>: Should build tree targets have install tree rpaths.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:BUNDLE"></a><b><code>BUNDLE</code></b>: This target is a CFBundle on the Mac.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:BUNDLE_EXTENSION"></a><b><code>BUNDLE_EXTENSION</code></b>: The file extension used to name a BUNDLE target on the Mac.<br />
    <p>The default value is "bundle" - you can also use "plugin" or whatever file extension is required by the host app for your bundle.</p>

  </li>
  <li>
    <a name="prop_tgt:COMPATIBLE_INTERFACE_BOOL"></a><b><code>COMPATIBLE_INTERFACE_BOOL</code></b>: Properties which must be compatible with their link interface<br />
    <p>The COMPATIBLE_INTERFACE_BOOL property may contain a list of propertiesfor 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.</p>

  </li>
  <li>
    <a name="prop_tgt:COMPATIBLE_INTERFACE_STRING"></a><b><code>COMPATIBLE_INTERFACE_STRING</code></b>: Properties which must be string-compatible with their link interface<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:COMPILE_DEFINITIONS"></a><b><code>COMPILE_DEFINITIONS</code></b>: Preprocessor definitions for compiling a target's sources.<br />
    <p>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_&lt;CONFIG&gt; where &lt;CONFIG&gt; is an upper-case name (ex. "COMPILE_DEFINITIONS_DEBUG").<br /></p>
<p>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).<br /></p>
<p>Contents of COMPILE_DEFINITIONS may use "generator expressions" with the syntax "$&lt;...&gt;".  Generator expressions are evaluated during build system generation to produce information specific to each build configuration.  Valid expressions are:<br /></p>
<pre>  $&lt;0:...&gt;                  = empty string (ignores "...")<br />  $&lt;1:...&gt;                  = content of "..."<br />  $&lt;CONFIG:cfg&gt;             = '1' if config is "cfg", else '0'<br />  $&lt;CONFIGURATION&gt;          = configuration name<br />  $&lt;BOOL:...&gt;               = '1' if the '...' is true, else '0'<br />  $&lt;STREQUAL:a,b&gt;           = '1' if a is STREQUAL b, else '0'<br />  $&lt;ANGLE-R&gt;                = A literal '&gt;'. Used to compare strings which contain a '&gt;' for example.<br />  $&lt;COMMA&gt;                  = A literal ','. Used to compare strings which contain a ',' for example.<br />  $&lt;SEMICOLON&gt;              = A literal ';'. Used to prevent list expansion on an argument with ';'.<br />  $&lt;JOIN:list,...&gt;          = joins the list with the content of "..."<br />  $&lt;TARGET_NAME:...&gt;        = 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.<br />  $&lt;INSTALL_INTERFACE:...&gt;  = content of "..." when the property is exported using install(EXPORT), and empty otherwise.<br />  $&lt;BUILD_INTERFACE:...&gt;    = 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.<br />  $&lt;C_COMPILER_ID&gt;          = The CMake-id of the C compiler used.<br />  $&lt;C_COMPILER_ID:comp&gt;     = '1' if the CMake-id of the C compiler matches comp, otherwise '0'.<br />  $&lt;CXX_COMPILER_ID&gt;        = The CMake-id of the CXX compiler used.<br />  $&lt;CXX_COMPILER_ID:comp&gt;   = '1' if the CMake-id of the CXX compiler matches comp, otherwise '0'.<br />  $&lt;VERSION_GREATER:v1,v2&gt;  = '1' if v1 is a version greater than v2, else '0'.<br />  $&lt;VERSION_LESS:v1,v2&gt;     = '1' if v1 is a version less than v2, else '0'.<br />  $&lt;VERSION_EQUAL:v1,v2&gt;    = '1' if v1 is the same version as v2, else '0'.<br />  $&lt;C_COMPILER_VERSION&gt;     = The version of the C compiler used.<br />  $&lt;C_COMPILER_VERSION:ver&gt; = '1' if the version of the C compiler matches ver, otherwise '0'.<br />  $&lt;CXX_COMPILER_VERSION&gt;   = The version of the CXX compiler used.<br />  $&lt;CXX_COMPILER_VERSION:ver&gt; = '1' if the version of the CXX compiler matches ver, otherwise '0'.<br />  $&lt;TARGET_FILE:tgt&gt;        = main file (.exe, .so.1.2, .a)<br />  $&lt;TARGET_LINKER_FILE:tgt&gt; = file used to link (.a, .lib, .so)<br />  $&lt;TARGET_SONAME_FILE:tgt&gt; = file with soname (.so.3)<br /></pre>
    <p>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:<br /></p>
<pre>  $&lt;TARGET_FILE_DIR:tgt&gt;/$&lt;TARGET_FILE_NAME:tgt&gt;<br />  $&lt;TARGET_LINKER_FILE_DIR:tgt&gt;/$&lt;TARGET_LINKER_FILE_NAME:tgt&gt;<br />  $&lt;TARGET_SONAME_FILE_DIR:tgt&gt;/$&lt;TARGET_SONAME_FILE_NAME:tgt&gt;<br /></pre>
    <p><br /></p>
<pre>  $&lt;TARGET_PROPERTY:tgt,prop&gt;   = The value of the property prop on the target tgt.<br /></pre>
    <p>Note that tgt is not added as a dependency of the target this expression is evaluated on.<br /></p>
<pre>  $&lt;TARGET_POLICY:pol&gt;          = '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.<br />  $&lt;INSTALL_PREFIX&gt;         = Content of the install prefix when the target is exported via INSTALL(EXPORT) and empty otherwise.<br /></pre>
    <p>Boolean expressions:<br /></p>
<pre>  $&lt;AND:?[,?]...&gt;           = '1' if all '?' are '1', else '0'<br />  $&lt;OR:?[,?]...&gt;            = '0' if all '?' are '0', else '1'<br />  $&lt;NOT:?&gt;                  = '0' if '?' is '1', else '1'<br /></pre>
    <p>where '?' is always either '0' or '1'.<br /></p>
<p>Expressions with an implicit 'this' target:<br /></p>
<pre>  $&lt;TARGET_PROPERTY:prop&gt;   = The value of the property prop on the target on which the generator expression is evaluated.<br /></pre>
    <p>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:<br /></p>
<pre>  #          - broken almost everywhere<br />  ;          - broken in VS IDE 7.0 and Borland Makefiles<br />  ,          - broken in VS IDE<br />  %          - broken in some cases in NMake<br />  &amp; |        - broken in some cases on MinGW<br />  ^ &lt; &gt; \"   - broken in most Make tools on Windows<br /></pre>
    <p>CMake does not reject these values outright because they do work in some cases.  Use with caution.  </p>

  </li>
  <li>
    <a name="prop_tgt:COMPILE_DEFINITIONS_CONFIG"></a><b><code>COMPILE_DEFINITIONS_&lt;CONFIG&gt;</code></b>: Per-configuration preprocessor definitions on a target.<br />
    <p>This is the configuration-specific version of COMPILE_DEFINITIONS.</p>

  </li>
  <li>
    <a name="prop_tgt:COMPILE_FLAGS"></a><b><code>COMPILE_FLAGS</code></b>: Additional flags to use when compiling this target's sources.<br />
    <p>The COMPILE_FLAGS property sets additional compiler flags used to build sources within the target.  Use COMPILE_DEFINITIONS to pass additional preprocessor definitions.</p>

  </li>
  <li>
    <a name="prop_tgt:COMPILE_OPTIONS"></a><b><code>COMPILE_OPTIONS</code></b>: List of options to pass to the compiler.<br />
    <p>This property specifies the list of options specified so far for this property.  This property exists on directories and targets.<br /></p>
<p>The target property values are used by the generators to set the options for the compiler.<br /></p>
<p>Contents of COMPILE_OPTIONS may use "generator expressions" with the syntax "$&lt;...&gt;".  Generator expressions are evaluated during build system generation to produce information specific to each build configuration.  Valid expressions are:<br /></p>
<pre>  $&lt;0:...&gt;                  = empty string (ignores "...")<br />  $&lt;1:...&gt;                  = content of "..."<br />  $&lt;CONFIG:cfg&gt;             = '1' if config is "cfg", else '0'<br />  $&lt;CONFIGURATION&gt;          = configuration name<br />  $&lt;BOOL:...&gt;               = '1' if the '...' is true, else '0'<br />  $&lt;STREQUAL:a,b&gt;           = '1' if a is STREQUAL b, else '0'<br />  $&lt;ANGLE-R&gt;                = A literal '&gt;'. Used to compare strings which contain a '&gt;' for example.<br />  $&lt;COMMA&gt;                  = A literal ','. Used to compare strings which contain a ',' for example.<br />  $&lt;SEMICOLON&gt;              = A literal ';'. Used to prevent list expansion on an argument with ';'.<br />  $&lt;JOIN:list,...&gt;          = joins the list with the content of "..."<br />  $&lt;TARGET_NAME:...&gt;        = 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.<br />  $&lt;INSTALL_INTERFACE:...&gt;  = content of "..." when the property is exported using install(EXPORT), and empty otherwise.<br />  $&lt;BUILD_INTERFACE:...&gt;    = 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.<br />  $&lt;C_COMPILER_ID&gt;          = The CMake-id of the C compiler used.<br />  $&lt;C_COMPILER_ID:comp&gt;     = '1' if the CMake-id of the C compiler matches comp, otherwise '0'.<br />  $&lt;CXX_COMPILER_ID&gt;        = The CMake-id of the CXX compiler used.<br />  $&lt;CXX_COMPILER_ID:comp&gt;   = '1' if the CMake-id of the CXX compiler matches comp, otherwise '0'.<br />  $&lt;VERSION_GREATER:v1,v2&gt;  = '1' if v1 is a version greater than v2, else '0'.<br />  $&lt;VERSION_LESS:v1,v2&gt;     = '1' if v1 is a version less than v2, else '0'.<br />  $&lt;VERSION_EQUAL:v1,v2&gt;    = '1' if v1 is the same version as v2, else '0'.<br />  $&lt;C_COMPILER_VERSION&gt;     = The version of the C compiler used.<br />  $&lt;C_COMPILER_VERSION:ver&gt; = '1' if the version of the C compiler matches ver, otherwise '0'.<br />  $&lt;CXX_COMPILER_VERSION&gt;   = The version of the CXX compiler used.<br />  $&lt;CXX_COMPILER_VERSION:ver&gt; = '1' if the version of the CXX compiler matches ver, otherwise '0'.<br />  $&lt;TARGET_FILE:tgt&gt;        = main file (.exe, .so.1.2, .a)<br />  $&lt;TARGET_LINKER_FILE:tgt&gt; = file used to link (.a, .lib, .so)<br />  $&lt;TARGET_SONAME_FILE:tgt&gt; = file with soname (.so.3)<br /></pre>
    <p>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:<br /></p>
<pre>  $&lt;TARGET_FILE_DIR:tgt&gt;/$&lt;TARGET_FILE_NAME:tgt&gt;<br />  $&lt;TARGET_LINKER_FILE_DIR:tgt&gt;/$&lt;TARGET_LINKER_FILE_NAME:tgt&gt;<br />  $&lt;TARGET_SONAME_FILE_DIR:tgt&gt;/$&lt;TARGET_SONAME_FILE_NAME:tgt&gt;<br /></pre>
    <p><br /></p>
<pre>  $&lt;TARGET_PROPERTY:tgt,prop&gt;   = The value of the property prop on the target tgt.<br /></pre>
    <p>Note that tgt is not added as a dependency of the target this expression is evaluated on.<br /></p>
<pre>  $&lt;TARGET_POLICY:pol&gt;          = '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.<br />  $&lt;INSTALL_PREFIX&gt;         = Content of the install prefix when the target is exported via INSTALL(EXPORT) and empty otherwise.<br /></pre>
    <p>Boolean expressions:<br /></p>
<pre>  $&lt;AND:?[,?]...&gt;           = '1' if all '?' are '1', else '0'<br />  $&lt;OR:?[,?]...&gt;            = '0' if all '?' are '0', else '1'<br />  $&lt;NOT:?&gt;                  = '0' if '?' is '1', else '1'<br /></pre>
    <p>where '?' is always either '0' or '1'.<br /></p>
<p>Expressions with an implicit 'this' target:<br /></p>
<pre>  $&lt;TARGET_PROPERTY:prop&gt;   = The value of the property prop on the target on which the generator expression is evaluated.<br /></pre>
    
  </li>
  <li>
    <a name="prop_tgt:DEBUG_POSTFIX"></a><b><code>DEBUG_POSTFIX</code></b>: See target property &lt;CONFIG&gt;_POSTFIX.<br />
    <p>This property is a special case of the more-general &lt;CONFIG&gt;_POSTFIX property for the DEBUG configuration.</p>

  </li>
  <li>
    <a name="prop_tgt:DEFINE_SYMBOL"></a><b><code>DEFINE_SYMBOL</code></b>: Define a symbol when compiling this target's sources.<br />
    <p>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. </p>

  </li>
  <li>
    <a name="prop_tgt:ENABLE_EXPORTS"></a><b><code>ENABLE_EXPORTS</code></b>: Specify whether an executable exports symbols for loadable modules.<br />
    <p>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.  </p>

  </li>
  <li>
    <a name="prop_tgt:EXCLUDE_FROM_ALL"></a><b><code>EXCLUDE_FROM_ALL</code></b>: Exclude the target from the all target.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:EXCLUDE_FROM_DEFAULT_BUILD"></a><b><code>EXCLUDE_FROM_DEFAULT_BUILD</code></b>: Exclude target from "Build Solution".<br />
    <p>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".</p>

  </li>
  <li>
    <a name="prop_tgt:EXCLUDE_FROM_DEFAULT_BUILD_CONFIG"></a><b><code>EXCLUDE_FROM_DEFAULT_BUILD_&lt;CONFIG&gt;</code></b>: Per-configuration version of target exclusion from "Build Solution". <br />
    <p>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_&lt;CONFIG&gt; takes precedence in configurations for which it has a value.</p>

  </li>
  <li>
    <a name="prop_tgt:EXPORT_NAME"></a><b><code>EXPORT_NAME</code></b>: Exported name for target files.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:EchoString"></a><b><code>EchoString</code></b>: A message to be displayed when the target is built.<br />
    <p>A message to display on some generators (such as makefiles) when the target is built.</p>

  </li>
  <li>
    <a name="prop_tgt:FOLDER"></a><b><code>FOLDER</code></b>: Set the folder name. Use to organize targets in an IDE.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:FRAMEWORK"></a><b><code>FRAMEWORK</code></b>: This target is a framework on the Mac.<br />
    <p>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</p>

  </li>
  <li>
    <a name="prop_tgt:Fortran_FORMAT"></a><b><code>Fortran_FORMAT</code></b>: Set to FIXED or FREE to indicate the Fortran source layout.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:Fortran_MODULE_DIRECTORY"></a><b><code>Fortran_MODULE_DIRECTORY</code></b>: Specify output directory for Fortran modules provided by the target.<br />
    <p>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.<br /></p>
<p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:GENERATOR_FILE_NAME"></a><b><code>GENERATOR_FILE_NAME</code></b>: Generator's file for this target.<br />
    <p>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().</p>

  </li>
  <li>
    <a name="prop_tgt:GNUtoMS"></a><b><code>GNUtoMS</code></b>: Convert GNU import library (.dll.a) to MS format (.lib).<br />
    <p>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.<br /></p>
<p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:HAS_CXX"></a><b><code>HAS_CXX</code></b>: Link the target using the C++ linker tool (obsolete).<br />
    <p>This is equivalent to setting the LINKER_LANGUAGE property to CXX.  See that property's documentation for details.</p>

  </li>
  <li>
    <a name="prop_tgt:IMPLICIT_DEPENDS_INCLUDE_TRANSFORM"></a><b><code>IMPLICIT_DEPENDS_INCLUDE_TRANSFORM</code></b>: Specify #include line transforms for dependencies in a target.<br />
    <p>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<br /></p>
<pre>  MYDIR(%)=&lt;mydir/%&gt;<br /></pre>
    <p>will convert lines of the form<br /></p>
<pre>  #include MYDIR(myheader.h)<br /></pre>
    <p>to<br /></p>
<pre>  #include &lt;mydir/myheader.h&gt;<br /></pre>
    <p>allowing the dependency to be followed.<br /></p>
<p>This property applies to sources in the target on which it is set.</p>

  </li>
  <li>
    <a name="prop_tgt:IMPORTED"></a><b><code>IMPORTED</code></b>: Read-only indication of whether a target is IMPORTED.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:IMPORTED_CONFIGURATIONS"></a><b><code>IMPORTED_CONFIGURATIONS</code></b>: Configurations provided for an IMPORTED target.<br />
    <p>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_&lt;CONFIG&gt; property.  Ignored for non-imported targets.</p>

  </li>
  <li>
    <a name="prop_tgt:IMPORTED_IMPLIB"></a><b><code>IMPORTED_IMPLIB</code></b>: Full path to the import library for an IMPORTED target.<br />
    <p>Set this to the location of the ".lib" part of a windows DLL.  Ignored for non-imported targets.</p>

  </li>
  <li>
    <a name="prop_tgt:IMPORTED_IMPLIB_CONFIG"></a><b><code>IMPORTED_IMPLIB_&lt;CONFIG&gt;</code></b>: &lt;CONFIG&gt;-specific version of IMPORTED_IMPLIB property.<br />
    <p>Configuration names correspond to those provided by the project from which the target is imported.</p>

  </li>
  <li>
    <a name="prop_tgt:IMPORTED_LINK_DEPENDENT_LIBRARIES"></a><b><code>IMPORTED_LINK_DEPENDENT_LIBRARIES</code></b>: Dependent shared libraries of an imported shared library.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:IMPORTED_LINK_DEPENDENT_LIBRARIES_CONFIG"></a><b><code>IMPORTED_LINK_DEPENDENT_LIBRARIES_&lt;CONFIG&gt;</code></b>: &lt;CONFIG&gt;-specific version of IMPORTED_LINK_DEPENDENT_LIBRARIES.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:IMPORTED_LINK_INTERFACE_LANGUAGES"></a><b><code>IMPORTED_LINK_INTERFACE_LANGUAGES</code></b>: Languages compiled into an IMPORTED static library.<br />
    <p>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.  <br /></p>
<p>This property is ignored for targets that are not STATIC libraries.  This property is ignored for non-imported targets.</p>

  </li>
  <li>
    <a name="prop_tgt:IMPORTED_LINK_INTERFACE_LANGUAGES_CONFIG"></a><b><code>IMPORTED_LINK_INTERFACE_LANGUAGES_&lt;CONFIG&gt;</code></b>: &lt;CONFIG&gt;-specific version of IMPORTED_LINK_INTERFACE_LANGUAGES.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:IMPORTED_LINK_INTERFACE_LIBRARIES"></a><b><code>IMPORTED_LINK_INTERFACE_LIBRARIES</code></b>: Transitive link interface of an IMPORTED target.<br />
    <p>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.<br /></p>
<p>This property is ignored if the target also has a non-empty INTERFACE_LINK_LIBRARIES property.<br /></p>
<p>This property is deprecated. Use INTERFACE_LINK_LIBRARIES instead.</p>

  </li>
  <li>
    <a name="prop_tgt:IMPORTED_LINK_INTERFACE_LIBRARIES_CONFIG"></a><b><code>IMPORTED_LINK_INTERFACE_LIBRARIES_&lt;CONFIG&gt;</code></b>: &lt;CONFIG&gt;-specific version of IMPORTED_LINK_INTERFACE_LIBRARIES.<br />
    <p>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.<br /></p>
<p>This property is ignored if the target also has a non-empty INTERFACE_LINK_LIBRARIES property.<br /></p>
<p>This property is deprecated. Use INTERFACE_LINK_LIBRARIES instead.</p>

  </li>
  <li>
    <a name="prop_tgt:IMPORTED_LINK_INTERFACE_MULTIPLICITY"></a><b><code>IMPORTED_LINK_INTERFACE_MULTIPLICITY</code></b>: Repetition count for cycles of IMPORTED static libraries.<br />
    <p>This is LINK_INTERFACE_MULTIPLICITY for IMPORTED targets.</p>

  </li>
  <li>
    <a name="prop_tgt:IMPORTED_LINK_INTERFACE_MULTIPLICITY_CONFIG"></a><b><code>IMPORTED_LINK_INTERFACE_MULTIPLICITY_&lt;CONFIG&gt;</code></b>: &lt;CONFIG&gt;-specific version of IMPORTED_LINK_INTERFACE_MULTIPLICITY.<br />
    <p>If set, this property completely overrides the generic property for the named configuration.</p>

  </li>
  <li>
    <a name="prop_tgt:IMPORTED_LOCATION"></a><b><code>IMPORTED_LOCATION</code></b>: Full path to the main file on disk for an IMPORTED target.<br />
    <p>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.<br /></p>
<p>Projects may skip IMPORTED_LOCATION if the configuration-specific property IMPORTED_LOCATION_&lt;CONFIG&gt; is set.  To get the location of an imported target read one of the LOCATION or LOCATION_&lt;CONFIG&gt; properties.</p>

  </li>
  <li>
    <a name="prop_tgt:IMPORTED_LOCATION_CONFIG"></a><b><code>IMPORTED_LOCATION_&lt;CONFIG&gt;</code></b>: &lt;CONFIG&gt;-specific version of IMPORTED_LOCATION property.<br />
    <p>Configuration names correspond to those provided by the project from which the target is imported.</p>

  </li>
  <li>
    <a name="prop_tgt:IMPORTED_NO_SONAME"></a><b><code>IMPORTED_NO_SONAME</code></b>: Specifies that an IMPORTED shared library target has no "soname".  <br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:IMPORTED_NO_SONAME_CONFIG"></a><b><code>IMPORTED_NO_SONAME_&lt;CONFIG&gt;</code></b>: &lt;CONFIG&gt;-specific version of IMPORTED_NO_SONAME property.<br />
    <p>Configuration names correspond to those provided by the project from which the target is imported.</p>

  </li>
  <li>
    <a name="prop_tgt:IMPORTED_SONAME"></a><b><code>IMPORTED_SONAME</code></b>: The "soname" of an IMPORTED target of shared library type.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:IMPORTED_SONAME_CONFIG"></a><b><code>IMPORTED_SONAME_&lt;CONFIG&gt;</code></b>: &lt;CONFIG&gt;-specific version of IMPORTED_SONAME property.<br />
    <p>Configuration names correspond to those provided by the project from which the target is imported.</p>

  </li>
  <li>
    <a name="prop_tgt:IMPORT_PREFIX"></a><b><code>IMPORT_PREFIX</code></b>: What comes before the import library name.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:IMPORT_SUFFIX"></a><b><code>IMPORT_SUFFIX</code></b>: What comes after the import library name.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:INCLUDE_DIRECTORIES"></a><b><code>INCLUDE_DIRECTORIES</code></b>: List of preprocessor include file search directories.<br />
    <p>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.<br /></p>
<p>The target property values are used by the generators to set the include paths for the compiler.  See also the include_directories command.<br /></p>
<p>Contents of INCLUDE_DIRECTORIES may use "generator expressions" with the syntax "$&lt;...&gt;".  Generator expressions are evaluated during build system generation to produce information specific to each build configuration.  Valid expressions are:<br /></p>
<pre>  $&lt;0:...&gt;                  = empty string (ignores "...")<br />  $&lt;1:...&gt;                  = content of "..."<br />  $&lt;CONFIG:cfg&gt;             = '1' if config is "cfg", else '0'<br />  $&lt;CONFIGURATION&gt;          = configuration name<br />  $&lt;BOOL:...&gt;               = '1' if the '...' is true, else '0'<br />  $&lt;STREQUAL:a,b&gt;           = '1' if a is STREQUAL b, else '0'<br />  $&lt;ANGLE-R&gt;                = A literal '&gt;'. Used to compare strings which contain a '&gt;' for example.<br />  $&lt;COMMA&gt;                  = A literal ','. Used to compare strings which contain a ',' for example.<br />  $&lt;SEMICOLON&gt;              = A literal ';'. Used to prevent list expansion on an argument with ';'.<br />  $&lt;JOIN:list,...&gt;          = joins the list with the content of "..."<br />  $&lt;TARGET_NAME:...&gt;        = 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.<br />  $&lt;INSTALL_INTERFACE:...&gt;  = content of "..." when the property is exported using install(EXPORT), and empty otherwise.<br />  $&lt;BUILD_INTERFACE:...&gt;    = 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.<br />  $&lt;C_COMPILER_ID&gt;          = The CMake-id of the C compiler used.<br />  $&lt;C_COMPILER_ID:comp&gt;     = '1' if the CMake-id of the C compiler matches comp, otherwise '0'.<br />  $&lt;CXX_COMPILER_ID&gt;        = The CMake-id of the CXX compiler used.<br />  $&lt;CXX_COMPILER_ID:comp&gt;   = '1' if the CMake-id of the CXX compiler matches comp, otherwise '0'.<br />  $&lt;VERSION_GREATER:v1,v2&gt;  = '1' if v1 is a version greater than v2, else '0'.<br />  $&lt;VERSION_LESS:v1,v2&gt;     = '1' if v1 is a version less than v2, else '0'.<br />  $&lt;VERSION_EQUAL:v1,v2&gt;    = '1' if v1 is the same version as v2, else '0'.<br />  $&lt;C_COMPILER_VERSION&gt;     = The version of the C compiler used.<br />  $&lt;C_COMPILER_VERSION:ver&gt; = '1' if the version of the C compiler matches ver, otherwise '0'.<br />  $&lt;CXX_COMPILER_VERSION&gt;   = The version of the CXX compiler used.<br />  $&lt;CXX_COMPILER_VERSION:ver&gt; = '1' if the version of the CXX compiler matches ver, otherwise '0'.<br />  $&lt;TARGET_FILE:tgt&gt;        = main file (.exe, .so.1.2, .a)<br />  $&lt;TARGET_LINKER_FILE:tgt&gt; = file used to link (.a, .lib, .so)<br />  $&lt;TARGET_SONAME_FILE:tgt&gt; = file with soname (.so.3)<br /></pre>
    <p>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:<br /></p>
<pre>  $&lt;TARGET_FILE_DIR:tgt&gt;/$&lt;TARGET_FILE_NAME:tgt&gt;<br />  $&lt;TARGET_LINKER_FILE_DIR:tgt&gt;/$&lt;TARGET_LINKER_FILE_NAME:tgt&gt;<br />  $&lt;TARGET_SONAME_FILE_DIR:tgt&gt;/$&lt;TARGET_SONAME_FILE_NAME:tgt&gt;<br /></pre>
    <p><br /></p>
<pre>  $&lt;TARGET_PROPERTY:tgt,prop&gt;   = The value of the property prop on the target tgt.<br /></pre>
    <p>Note that tgt is not added as a dependency of the target this expression is evaluated on.<br /></p>
<pre>  $&lt;TARGET_POLICY:pol&gt;          = '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.<br />  $&lt;INSTALL_PREFIX&gt;         = Content of the install prefix when the target is exported via INSTALL(EXPORT) and empty otherwise.<br /></pre>
    <p>Boolean expressions:<br /></p>
<pre>  $&lt;AND:?[,?]...&gt;           = '1' if all '?' are '1', else '0'<br />  $&lt;OR:?[,?]...&gt;            = '0' if all '?' are '0', else '1'<br />  $&lt;NOT:?&gt;                  = '0' if '?' is '1', else '1'<br /></pre>
    <p>where '?' is always either '0' or '1'.<br /></p>
<p>Expressions with an implicit 'this' target:<br /></p>
<pre>  $&lt;TARGET_PROPERTY:prop&gt;   = The value of the property prop on the target on which the generator expression is evaluated.<br /></pre>
    
  </li>
  <li>
    <a name="prop_tgt:INSTALL_NAME_DIR"></a><b><code>INSTALL_NAME_DIR</code></b>: Mac OSX directory name for installed targets.<br />
    <p>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. </p>

  </li>
  <li>
    <a name="prop_tgt:INSTALL_RPATH"></a><b><code>INSTALL_RPATH</code></b>: The rpath to use for installed targets.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:INSTALL_RPATH_USE_LINK_PATH"></a><b><code>INSTALL_RPATH_USE_LINK_PATH</code></b>: Add paths to linker search and installed rpath.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:INTERFACE_COMPILE_DEFINITIONS"></a><b><code>INTERFACE_COMPILE_DEFINITIONS</code></b>: List of public compile definitions for a library.<br />
    <p>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 $&lt;TARGET_PROPERTY:foo,INTERFACE_COMPILE_DEFINITIONS&gt; to use the compile definitions specified in the interface of 'foo'.<br /></p>
<p>Generator expressions are evaluated during build system generation to produce information specific to each build configuration.  Valid expressions are:<br /></p>
<pre>  $&lt;0:...&gt;                  = empty string (ignores "...")<br />  $&lt;1:...&gt;                  = content of "..."<br />  $&lt;CONFIG:cfg&gt;             = '1' if config is "cfg", else '0'<br />  $&lt;CONFIGURATION&gt;          = configuration name<br />  $&lt;BOOL:...&gt;               = '1' if the '...' is true, else '0'<br />  $&lt;STREQUAL:a,b&gt;           = '1' if a is STREQUAL b, else '0'<br />  $&lt;ANGLE-R&gt;                = A literal '&gt;'. Used to compare strings which contain a '&gt;' for example.<br />  $&lt;COMMA&gt;                  = A literal ','. Used to compare strings which contain a ',' for example.<br />  $&lt;SEMICOLON&gt;              = A literal ';'. Used to prevent list expansion on an argument with ';'.<br />  $&lt;JOIN:list,...&gt;          = joins the list with the content of "..."<br />  $&lt;TARGET_NAME:...&gt;        = 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.<br />  $&lt;INSTALL_INTERFACE:...&gt;  = content of "..." when the property is exported using install(EXPORT), and empty otherwise.<br />  $&lt;BUILD_INTERFACE:...&gt;    = 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.<br />  $&lt;C_COMPILER_ID&gt;          = The CMake-id of the C compiler used.<br />  $&lt;C_COMPILER_ID:comp&gt;     = '1' if the CMake-id of the C compiler matches comp, otherwise '0'.<br />  $&lt;CXX_COMPILER_ID&gt;        = The CMake-id of the CXX compiler used.<br />  $&lt;CXX_COMPILER_ID:comp&gt;   = '1' if the CMake-id of the CXX compiler matches comp, otherwise '0'.<br />  $&lt;VERSION_GREATER:v1,v2&gt;  = '1' if v1 is a version greater than v2, else '0'.<br />  $&lt;VERSION_LESS:v1,v2&gt;     = '1' if v1 is a version less than v2, else '0'.<br />  $&lt;VERSION_EQUAL:v1,v2&gt;    = '1' if v1 is the same version as v2, else '0'.<br />  $&lt;C_COMPILER_VERSION&gt;     = The version of the C compiler used.<br />  $&lt;C_COMPILER_VERSION:ver&gt; = '1' if the version of the C compiler matches ver, otherwise '0'.<br />  $&lt;CXX_COMPILER_VERSION&gt;   = The version of the CXX compiler used.<br />  $&lt;CXX_COMPILER_VERSION:ver&gt; = '1' if the version of the CXX compiler matches ver, otherwise '0'.<br />  $&lt;TARGET_FILE:tgt&gt;        = main file (.exe, .so.1.2, .a)<br />  $&lt;TARGET_LINKER_FILE:tgt&gt; = file used to link (.a, .lib, .so)<br />  $&lt;TARGET_SONAME_FILE:tgt&gt; = file with soname (.so.3)<br /></pre>
    <p>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:<br /></p>
<pre>  $&lt;TARGET_FILE_DIR:tgt&gt;/$&lt;TARGET_FILE_NAME:tgt&gt;<br />  $&lt;TARGET_LINKER_FILE_DIR:tgt&gt;/$&lt;TARGET_LINKER_FILE_NAME:tgt&gt;<br />  $&lt;TARGET_SONAME_FILE_DIR:tgt&gt;/$&lt;TARGET_SONAME_FILE_NAME:tgt&gt;<br /></pre>
    <p><br /></p>
<pre>  $&lt;TARGET_PROPERTY:tgt,prop&gt;   = The value of the property prop on the target tgt.<br /></pre>
    <p>Note that tgt is not added as a dependency of the target this expression is evaluated on.<br /></p>
<pre>  $&lt;TARGET_POLICY:pol&gt;          = '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.<br />  $&lt;INSTALL_PREFIX&gt;         = Content of the install prefix when the target is exported via INSTALL(EXPORT) and empty otherwise.<br /></pre>
    <p>Boolean expressions:<br /></p>
<pre>  $&lt;AND:?[,?]...&gt;           = '1' if all '?' are '1', else '0'<br />  $&lt;OR:?[,?]...&gt;            = '0' if all '?' are '0', else '1'<br />  $&lt;NOT:?&gt;                  = '0' if '?' is '1', else '1'<br /></pre>
    <p>where '?' is always either '0' or '1'.<br /></p>
<p>Expressions with an implicit 'this' target:<br /></p>
<pre>  $&lt;TARGET_PROPERTY:prop&gt;   = The value of the property prop on the target on which the generator expression is evaluated.<br /></pre>
    
  </li>
  <li>
    <a name="prop_tgt:INTERFACE_COMPILE_OPTIONS"></a><b><code>INTERFACE_COMPILE_OPTIONS</code></b>: List of interface options to pass to the compiler.<br />
    <p>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 $&lt;TARGET_PROPERTY:foo,INTERFACE_COMPILE_OPTIONS&gt; to use the compile options specified in the interface of 'foo'.<br /></p>
<p>Generator expressions are evaluated during build system generation to produce information specific to each build configuration.  Valid expressions are:<br /></p>
<pre>  $&lt;0:...&gt;                  = empty string (ignores "...")<br />  $&lt;1:...&gt;                  = content of "..."<br />  $&lt;CONFIG:cfg&gt;             = '1' if config is "cfg", else '0'<br />  $&lt;CONFIGURATION&gt;          = configuration name<br />  $&lt;BOOL:...&gt;               = '1' if the '...' is true, else '0'<br />  $&lt;STREQUAL:a,b&gt;           = '1' if a is STREQUAL b, else '0'<br />  $&lt;ANGLE-R&gt;                = A literal '&gt;'. Used to compare strings which contain a '&gt;' for example.<br />  $&lt;COMMA&gt;                  = A literal ','. Used to compare strings which contain a ',' for example.<br />  $&lt;SEMICOLON&gt;              = A literal ';'. Used to prevent list expansion on an argument with ';'.<br />  $&lt;JOIN:list,...&gt;          = joins the list with the content of "..."<br />  $&lt;TARGET_NAME:...&gt;        = 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.<br />  $&lt;INSTALL_INTERFACE:...&gt;  = content of "..." when the property is exported using install(EXPORT), and empty otherwise.<br />  $&lt;BUILD_INTERFACE:...&gt;    = 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.<br />  $&lt;C_COMPILER_ID&gt;          = The CMake-id of the C compiler used.<br />  $&lt;C_COMPILER_ID:comp&gt;     = '1' if the CMake-id of the C compiler matches comp, otherwise '0'.<br />  $&lt;CXX_COMPILER_ID&gt;        = The CMake-id of the CXX compiler used.<br />  $&lt;CXX_COMPILER_ID:comp&gt;   = '1' if the CMake-id of the CXX compiler matches comp, otherwise '0'.<br />  $&lt;VERSION_GREATER:v1,v2&gt;  = '1' if v1 is a version greater than v2, else '0'.<br />  $&lt;VERSION_LESS:v1,v2&gt;     = '1' if v1 is a version less than v2, else '0'.<br />  $&lt;VERSION_EQUAL:v1,v2&gt;    = '1' if v1 is the same version as v2, else '0'.<br />  $&lt;C_COMPILER_VERSION&gt;     = The version of the C compiler used.<br />  $&lt;C_COMPILER_VERSION:ver&gt; = '1' if the version of the C compiler matches ver, otherwise '0'.<br />  $&lt;CXX_COMPILER_VERSION&gt;   = The version of the CXX compiler used.<br />  $&lt;CXX_COMPILER_VERSION:ver&gt; = '1' if the version of the CXX compiler matches ver, otherwise '0'.<br />  $&lt;TARGET_FILE:tgt&gt;        = main file (.exe, .so.1.2, .a)<br />  $&lt;TARGET_LINKER_FILE:tgt&gt; = file used to link (.a, .lib, .so)<br />  $&lt;TARGET_SONAME_FILE:tgt&gt; = file with soname (.so.3)<br /></pre>
    <p>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:<br /></p>
<pre>  $&lt;TARGET_FILE_DIR:tgt&gt;/$&lt;TARGET_FILE_NAME:tgt&gt;<br />  $&lt;TARGET_LINKER_FILE_DIR:tgt&gt;/$&lt;TARGET_LINKER_FILE_NAME:tgt&gt;<br />  $&lt;TARGET_SONAME_FILE_DIR:tgt&gt;/$&lt;TARGET_SONAME_FILE_NAME:tgt&gt;<br /></pre>
    <p><br /></p>
<pre>  $&lt;TARGET_PROPERTY:tgt,prop&gt;   = The value of the property prop on the target tgt.<br /></pre>
    <p>Note that tgt is not added as a dependency of the target this expression is evaluated on.<br /></p>
<pre>  $&lt;TARGET_POLICY:pol&gt;          = '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.<br />  $&lt;INSTALL_PREFIX&gt;         = Content of the install prefix when the target is exported via INSTALL(EXPORT) and empty otherwise.<br /></pre>
    <p>Boolean expressions:<br /></p>
<pre>  $&lt;AND:?[,?]...&gt;           = '1' if all '?' are '1', else '0'<br />  $&lt;OR:?[,?]...&gt;            = '0' if all '?' are '0', else '1'<br />  $&lt;NOT:?&gt;                  = '0' if '?' is '1', else '1'<br /></pre>
    <p>where '?' is always either '0' or '1'.<br /></p>
<p>Expressions with an implicit 'this' target:<br /></p>
<pre>  $&lt;TARGET_PROPERTY:prop&gt;   = The value of the property prop on the target on which the generator expression is evaluated.<br /></pre>
    
  </li>
  <li>
    <a name="prop_tgt:INTERFACE_INCLUDE_DIRECTORIES"></a><b><code>INTERFACE_INCLUDE_DIRECTORIES</code></b>: List of public include directories for a library.<br />
    <p>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 $&lt;TARGET_PROPERTY:foo,INTERFACE_INCLUDE_DIRECTORIES&gt; to use the include directories specified in the interface of 'foo'.<br /></p>
<p>Generator expressions are evaluated during build system generation to produce information specific to each build configuration.  Valid expressions are:<br /></p>
<pre>  $&lt;0:...&gt;                  = empty string (ignores "...")<br />  $&lt;1:...&gt;                  = content of "..."<br />  $&lt;CONFIG:cfg&gt;             = '1' if config is "cfg", else '0'<br />  $&lt;CONFIGURATION&gt;          = configuration name<br />  $&lt;BOOL:...&gt;               = '1' if the '...' is true, else '0'<br />  $&lt;STREQUAL:a,b&gt;           = '1' if a is STREQUAL b, else '0'<br />  $&lt;ANGLE-R&gt;                = A literal '&gt;'. Used to compare strings which contain a '&gt;' for example.<br />  $&lt;COMMA&gt;                  = A literal ','. Used to compare strings which contain a ',' for example.<br />  $&lt;SEMICOLON&gt;              = A literal ';'. Used to prevent list expansion on an argument with ';'.<br />  $&lt;JOIN:list,...&gt;          = joins the list with the content of "..."<br />  $&lt;TARGET_NAME:...&gt;        = 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.<br />  $&lt;INSTALL_INTERFACE:...&gt;  = content of "..." when the property is exported using install(EXPORT), and empty otherwise.<br />  $&lt;BUILD_INTERFACE:...&gt;    = 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.<br />  $&lt;C_COMPILER_ID&gt;          = The CMake-id of the C compiler used.<br />  $&lt;C_COMPILER_ID:comp&gt;     = '1' if the CMake-id of the C compiler matches comp, otherwise '0'.<br />  $&lt;CXX_COMPILER_ID&gt;        = The CMake-id of the CXX compiler used.<br />  $&lt;CXX_COMPILER_ID:comp&gt;   = '1' if the CMake-id of the CXX compiler matches comp, otherwise '0'.<br />  $&lt;VERSION_GREATER:v1,v2&gt;  = '1' if v1 is a version greater than v2, else '0'.<br />  $&lt;VERSION_LESS:v1,v2&gt;     = '1' if v1 is a version less than v2, else '0'.<br />  $&lt;VERSION_EQUAL:v1,v2&gt;    = '1' if v1 is the same version as v2, else '0'.<br />  $&lt;C_COMPILER_VERSION&gt;     = The version of the C compiler used.<br />  $&lt;C_COMPILER_VERSION:ver&gt; = '1' if the version of the C compiler matches ver, otherwise '0'.<br />  $&lt;CXX_COMPILER_VERSION&gt;   = The version of the CXX compiler used.<br />  $&lt;CXX_COMPILER_VERSION:ver&gt; = '1' if the version of the CXX compiler matches ver, otherwise '0'.<br />  $&lt;TARGET_FILE:tgt&gt;        = main file (.exe, .so.1.2, .a)<br />  $&lt;TARGET_LINKER_FILE:tgt&gt; = file used to link (.a, .lib, .so)<br />  $&lt;TARGET_SONAME_FILE:tgt&gt; = file with soname (.so.3)<br /></pre>
    <p>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:<br /></p>
<pre>  $&lt;TARGET_FILE_DIR:tgt&gt;/$&lt;TARGET_FILE_NAME:tgt&gt;<br />  $&lt;TARGET_LINKER_FILE_DIR:tgt&gt;/$&lt;TARGET_LINKER_FILE_NAME:tgt&gt;<br />  $&lt;TARGET_SONAME_FILE_DIR:tgt&gt;/$&lt;TARGET_SONAME_FILE_NAME:tgt&gt;<br /></pre>
    <p><br /></p>
<pre>  $&lt;TARGET_PROPERTY:tgt,prop&gt;   = The value of the property prop on the target tgt.<br /></pre>
    <p>Note that tgt is not added as a dependency of the target this expression is evaluated on.<br /></p>
<pre>  $&lt;TARGET_POLICY:pol&gt;          = '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.<br />  $&lt;INSTALL_PREFIX&gt;         = Content of the install prefix when the target is exported via INSTALL(EXPORT) and empty otherwise.<br /></pre>
    <p>Boolean expressions:<br /></p>
<pre>  $&lt;AND:?[,?]...&gt;           = '1' if all '?' are '1', else '0'<br />  $&lt;OR:?[,?]...&gt;            = '0' if all '?' are '0', else '1'<br />  $&lt;NOT:?&gt;                  = '0' if '?' is '1', else '1'<br /></pre>
    <p>where '?' is always either '0' or '1'.<br /></p>
<p>Expressions with an implicit 'this' target:<br /></p>
<pre>  $&lt;TARGET_PROPERTY:prop&gt;   = The value of the property prop on the target on which the generator expression is evaluated.<br /></pre>
    
  </li>
  <li>
    <a name="prop_tgt:INTERFACE_LINK_LIBRARIES"></a><b><code>INTERFACE_LINK_LIBRARIES</code></b>: List public interface libraries for a library.<br />
    <p>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_&lt;CONFIG&gt; property if policy CMP0022 is OLD or unset.<br /></p>
<p><br /></p>
<p>Generator expressions are evaluated during build system generation to produce information specific to each build configuration.  Valid expressions are:<br /></p>
<pre>  $&lt;0:...&gt;                  = empty string (ignores "...")<br />  $&lt;1:...&gt;                  = content of "..."<br />  $&lt;CONFIG:cfg&gt;             = '1' if config is "cfg", else '0'<br />  $&lt;CONFIGURATION&gt;          = configuration name<br />  $&lt;BOOL:...&gt;               = '1' if the '...' is true, else '0'<br />  $&lt;STREQUAL:a,b&gt;           = '1' if a is STREQUAL b, else '0'<br />  $&lt;ANGLE-R&gt;                = A literal '&gt;'. Used to compare strings which contain a '&gt;' for example.<br />  $&lt;COMMA&gt;                  = A literal ','. Used to compare strings which contain a ',' for example.<br />  $&lt;SEMICOLON&gt;              = A literal ';'. Used to prevent list expansion on an argument with ';'.<br />  $&lt;JOIN:list,...&gt;          = joins the list with the content of "..."<br />  $&lt;TARGET_NAME:...&gt;        = 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.<br />  $&lt;INSTALL_INTERFACE:...&gt;  = content of "..." when the property is exported using install(EXPORT), and empty otherwise.<br />  $&lt;BUILD_INTERFACE:...&gt;    = 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.<br />  $&lt;C_COMPILER_ID&gt;          = The CMake-id of the C compiler used.<br />  $&lt;C_COMPILER_ID:comp&gt;     = '1' if the CMake-id of the C compiler matches comp, otherwise '0'.<br />  $&lt;CXX_COMPILER_ID&gt;        = The CMake-id of the CXX compiler used.<br />  $&lt;CXX_COMPILER_ID:comp&gt;   = '1' if the CMake-id of the CXX compiler matches comp, otherwise '0'.<br />  $&lt;VERSION_GREATER:v1,v2&gt;  = '1' if v1 is a version greater than v2, else '0'.<br />  $&lt;VERSION_LESS:v1,v2&gt;     = '1' if v1 is a version less than v2, else '0'.<br />  $&lt;VERSION_EQUAL:v1,v2&gt;    = '1' if v1 is the same version as v2, else '0'.<br />  $&lt;C_COMPILER_VERSION&gt;     = The version of the C compiler used.<br />  $&lt;C_COMPILER_VERSION:ver&gt; = '1' if the version of the C compiler matches ver, otherwise '0'.<br />  $&lt;CXX_COMPILER_VERSION&gt;   = The version of the CXX compiler used.<br />  $&lt;CXX_COMPILER_VERSION:ver&gt; = '1' if the version of the CXX compiler matches ver, otherwise '0'.<br />  $&lt;TARGET_FILE:tgt&gt;        = main file (.exe, .so.1.2, .a)<br />  $&lt;TARGET_LINKER_FILE:tgt&gt; = file used to link (.a, .lib, .so)<br />  $&lt;TARGET_SONAME_FILE:tgt&gt; = file with soname (.so.3)<br /></pre>
    <p>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:<br /></p>
<pre>  $&lt;TARGET_FILE_DIR:tgt&gt;/$&lt;TARGET_FILE_NAME:tgt&gt;<br />  $&lt;TARGET_LINKER_FILE_DIR:tgt&gt;/$&lt;TARGET_LINKER_FILE_NAME:tgt&gt;<br />  $&lt;TARGET_SONAME_FILE_DIR:tgt&gt;/$&lt;TARGET_SONAME_FILE_NAME:tgt&gt;<br /></pre>
    <p><br /></p>
<pre>  $&lt;TARGET_PROPERTY:tgt,prop&gt;   = The value of the property prop on the target tgt.<br /></pre>
    <p>Note that tgt is not added as a dependency of the target this expression is evaluated on.<br /></p>
<pre>  $&lt;TARGET_POLICY:pol&gt;          = '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.<br />  $&lt;INSTALL_PREFIX&gt;         = Content of the install prefix when the target is exported via INSTALL(EXPORT) and empty otherwise.<br /></pre>
    <p>Boolean expressions:<br /></p>
<pre>  $&lt;AND:?[,?]...&gt;           = '1' if all '?' are '1', else '0'<br />  $&lt;OR:?[,?]...&gt;            = '0' if all '?' are '0', else '1'<br />  $&lt;NOT:?&gt;                  = '0' if '?' is '1', else '1'<br /></pre>
    <p>where '?' is always either '0' or '1'.<br /></p>
<p>Expressions with an implicit 'this' target:<br /></p>
<pre>  $&lt;TARGET_PROPERTY:prop&gt;   = The value of the property prop on the target on which the generator expression is evaluated.<br /></pre>
    
  </li>
  <li>
    <a name="prop_tgt:INTERFACE_POSITION_INDEPENDENT_CODE"></a><b><code>INTERFACE_POSITION_INDEPENDENT_CODE</code></b>: Whether consumers need to create a position-independent target<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:INTERFACE_SYSTEM_INCLUDE_DIRECTORIES"></a><b><code>INTERFACE_SYSTEM_INCLUDE_DIRECTORIES</code></b>: List of public system include directories for a library.<br />
    <p>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.<br /></p>
<p>Generator expressions are evaluated during build system generation to produce information specific to each build configuration.  Valid expressions are:<br /></p>
<pre>  $&lt;0:...&gt;                  = empty string (ignores "...")<br />  $&lt;1:...&gt;                  = content of "..."<br />  $&lt;CONFIG:cfg&gt;             = '1' if config is "cfg", else '0'<br />  $&lt;CONFIGURATION&gt;          = configuration name<br />  $&lt;BOOL:...&gt;               = '1' if the '...' is true, else '0'<br />  $&lt;STREQUAL:a,b&gt;           = '1' if a is STREQUAL b, else '0'<br />  $&lt;ANGLE-R&gt;                = A literal '&gt;'. Used to compare strings which contain a '&gt;' for example.<br />  $&lt;COMMA&gt;                  = A literal ','. Used to compare strings which contain a ',' for example.<br />  $&lt;SEMICOLON&gt;              = A literal ';'. Used to prevent list expansion on an argument with ';'.<br />  $&lt;JOIN:list,...&gt;          = joins the list with the content of "..."<br />  $&lt;TARGET_NAME:...&gt;        = 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.<br />  $&lt;INSTALL_INTERFACE:...&gt;  = content of "..." when the property is exported using install(EXPORT), and empty otherwise.<br />  $&lt;BUILD_INTERFACE:...&gt;    = 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.<br />  $&lt;C_COMPILER_ID&gt;          = The CMake-id of the C compiler used.<br />  $&lt;C_COMPILER_ID:comp&gt;     = '1' if the CMake-id of the C compiler matches comp, otherwise '0'.<br />  $&lt;CXX_COMPILER_ID&gt;        = The CMake-id of the CXX compiler used.<br />  $&lt;CXX_COMPILER_ID:comp&gt;   = '1' if the CMake-id of the CXX compiler matches comp, otherwise '0'.<br />  $&lt;VERSION_GREATER:v1,v2&gt;  = '1' if v1 is a version greater than v2, else '0'.<br />  $&lt;VERSION_LESS:v1,v2&gt;     = '1' if v1 is a version less than v2, else '0'.<br />  $&lt;VERSION_EQUAL:v1,v2&gt;    = '1' if v1 is the same version as v2, else '0'.<br />  $&lt;C_COMPILER_VERSION&gt;     = The version of the C compiler used.<br />  $&lt;C_COMPILER_VERSION:ver&gt; = '1' if the version of the C compiler matches ver, otherwise '0'.<br />  $&lt;CXX_COMPILER_VERSION&gt;   = The version of the CXX compiler used.<br />  $&lt;CXX_COMPILER_VERSION:ver&gt; = '1' if the version of the CXX compiler matches ver, otherwise '0'.<br />  $&lt;TARGET_FILE:tgt&gt;        = main file (.exe, .so.1.2, .a)<br />  $&lt;TARGET_LINKER_FILE:tgt&gt; = file used to link (.a, .lib, .so)<br />  $&lt;TARGET_SONAME_FILE:tgt&gt; = file with soname (.so.3)<br /></pre>
    <p>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:<br /></p>
<pre>  $&lt;TARGET_FILE_DIR:tgt&gt;/$&lt;TARGET_FILE_NAME:tgt&gt;<br />  $&lt;TARGET_LINKER_FILE_DIR:tgt&gt;/$&lt;TARGET_LINKER_FILE_NAME:tgt&gt;<br />  $&lt;TARGET_SONAME_FILE_DIR:tgt&gt;/$&lt;TARGET_SONAME_FILE_NAME:tgt&gt;<br /></pre>
    <p><br /></p>
<pre>  $&lt;TARGET_PROPERTY:tgt,prop&gt;   = The value of the property prop on the target tgt.<br /></pre>
    <p>Note that tgt is not added as a dependency of the target this expression is evaluated on.<br /></p>
<pre>  $&lt;TARGET_POLICY:pol&gt;          = '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.<br />  $&lt;INSTALL_PREFIX&gt;         = Content of the install prefix when the target is exported via INSTALL(EXPORT) and empty otherwise.<br /></pre>
    <p>Boolean expressions:<br /></p>
<pre>  $&lt;AND:?[,?]...&gt;           = '1' if all '?' are '1', else '0'<br />  $&lt;OR:?[,?]...&gt;            = '0' if all '?' are '0', else '1'<br />  $&lt;NOT:?&gt;                  = '0' if '?' is '1', else '1'<br /></pre>
    <p>where '?' is always either '0' or '1'.<br /></p>
<p>Expressions with an implicit 'this' target:<br /></p>
<pre>  $&lt;TARGET_PROPERTY:prop&gt;   = The value of the property prop on the target on which the generator expression is evaluated.<br /></pre>
    
  </li>
  <li>
    <a name="prop_tgt:INTERPROCEDURAL_OPTIMIZATION"></a><b><code>INTERPROCEDURAL_OPTIMIZATION</code></b>: Enable interprocedural optimization for a target.<br />
    <p>If set to true, enables interprocedural optimizations if they are known to be supported by the compiler.</p>

  </li>
  <li>
    <a name="prop_tgt:INTERPROCEDURAL_OPTIMIZATION_CONFIG"></a><b><code>INTERPROCEDURAL_OPTIMIZATION_&lt;CONFIG&gt;</code></b>: Per-configuration interprocedural optimization for a target.<br />
    <p>This is a per-configuration version of INTERPROCEDURAL_OPTIMIZATION.  If set, this property overrides the generic property for the named configuration.</p>

  </li>
  <li>
    <a name="prop_tgt:LABELS"></a><b><code>LABELS</code></b>: Specify a list of text labels associated with a target.<br />
    <p>Target label semantics are currently unspecified.</p>

  </li>
  <li>
    <a name="prop_tgt:LIBRARY_OUTPUT_DIRECTORY"></a><b><code>LIBRARY_OUTPUT_DIRECTORY</code></b>: Output directory in which to build LIBRARY target files.<br />
    <p>This property specifies the directory into which library target files should be built. Multi-configuration generators (VS, Xcode) append a per-configuration subdirectory to the specified directory.  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.  This property is initialized by the value of the variable CMAKE_LIBRARY_OUTPUT_DIRECTORY if it is set when a target is created.</p>

  </li>
  <li>
    <a name="prop_tgt:LIBRARY_OUTPUT_DIRECTORY_CONFIG"></a><b><code>LIBRARY_OUTPUT_DIRECTORY_&lt;CONFIG&gt;</code></b>: Per-configuration output directory for LIBRARY target files.<br />
    <p>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_&lt;CONFIG&gt; if it is set when a target is created.</p>

  </li>
  <li>
    <a name="prop_tgt:LIBRARY_OUTPUT_NAME"></a><b><code>LIBRARY_OUTPUT_NAME</code></b>: Output name for LIBRARY target files.<br />
    <p>This property specifies the base name for library target files. It overrides OUTPUT_NAME and OUTPUT_NAME_&lt;CONFIG&gt; properties.  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.</p>

  </li>
  <li>
    <a name="prop_tgt:LIBRARY_OUTPUT_NAME_CONFIG"></a><b><code>LIBRARY_OUTPUT_NAME_&lt;CONFIG&gt;</code></b>: Per-configuration output name for LIBRARY target files.<br />
    <p>This is the configuration-specific version of LIBRARY_OUTPUT_NAME.</p>

  </li>
  <li>
    <a name="prop_tgt:LINKER_LANGUAGE"></a><b><code>LINKER_LANGUAGE</code></b>: Specifies language whose compiler will invoke the linker.<br />
    <p>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_&lt;LANG&gt;_LINKER_PREFERENCE variables.<br /></p>
<p>If this property is not set by the user, it will be calculated at generate-time by CMake.</p>

  </li>
  <li>
    <a name="prop_tgt:LINK_DEPENDS"></a><b><code>LINK_DEPENDS</code></b>: Additional files on which a target binary depends for linking.<br />
    <p>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.<br /></p>
<p>This property is ignored by non-Makefile generators.  It is intended to specify dependencies on "linker scripts" for custom Makefile link rules.</p>

  </li>
  <li>
    <a name="prop_tgt:LINK_DEPENDS_NO_SHARED"></a><b><code>LINK_DEPENDS_NO_SHARED</code></b>: Do not depend on linked shared library files.<br />
    <p>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.<br /></p>
<p>This property is initialized by the value of the variable CMAKE_LINK_DEPENDS_NO_SHARED if it is set when a target is created.</p>

  </li>
  <li>
    <a name="prop_tgt:LINK_FLAGS"></a><b><code>LINK_FLAGS</code></b>: Additional flags to use when linking this target.<br />
    <p>The LINK_FLAGS property can be used to add extra flags to the link step of a target. LINK_FLAGS_&lt;CONFIG&gt; will add to the configuration &lt;CONFIG&gt;, for example, DEBUG, RELEASE, MINSIZEREL, RELWITHDEBINFO. </p>

  </li>
  <li>
    <a name="prop_tgt:LINK_FLAGS_CONFIG"></a><b><code>LINK_FLAGS_&lt;CONFIG&gt;</code></b>: Per-configuration linker flags for a target.<br />
    <p>This is the configuration-specific version of LINK_FLAGS.</p>

  </li>
  <li>
    <a name="prop_tgt:LINK_INTERFACE_LIBRARIES"></a><b><code>LINK_INTERFACE_LIBRARIES</code></b>: List public interface libraries for a shared library or executable.<br />
    <p>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.<br /></p>
<p>This property is overridden by the INTERFACE_LINK_LIBRARIES property if policy CMP0022 is NEW.<br /></p>
<p>This property is deprecated. Use INTERFACE_LINK_LIBRARIES instead.</p>

  </li>
  <li>
    <a name="prop_tgt:LINK_INTERFACE_LIBRARIES_CONFIG"></a><b><code>LINK_INTERFACE_LIBRARIES_&lt;CONFIG&gt;</code></b>: Per-configuration list of public interface libraries for a target.<br />
    <p>This is the configuration-specific version of LINK_INTERFACE_LIBRARIES.  If set, this property completely overrides the generic property for the named configuration.<br /></p>
<p>This property is overridden by the INTERFACE_LINK_LIBRARIES property if policy CMP0022 is NEW.<br /></p>
<p>This property is deprecated. Use INTERFACE_LINK_LIBRARIES instead.</p>

  </li>
  <li>
    <a name="prop_tgt:LINK_INTERFACE_MULTIPLICITY"></a><b><code>LINK_INTERFACE_MULTIPLICITY</code></b>: Repetition count for STATIC libraries with cyclic dependencies.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:LINK_INTERFACE_MULTIPLICITY_CONFIG"></a><b><code>LINK_INTERFACE_MULTIPLICITY_&lt;CONFIG&gt;</code></b>: Per-configuration repetition count for cycles of STATIC libraries.<br />
    <p>This is the configuration-specific version of LINK_INTERFACE_MULTIPLICITY.  If set, this property completely overrides the generic property for the named configuration.</p>

  </li>
  <li>
    <a name="prop_tgt:LINK_LIBRARIES"></a><b><code>LINK_LIBRARIES</code></b>: List of direct link dependencies.<br />
    <p>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. <br /></p>
<p>The target property values are used by the generators to set the link libraries for the compiler.  See also the target_link_libraries command.<br /></p>
<p>Contents of LINK_LIBRARIES may use "generator expressions" with the syntax "$&lt;...&gt;".  Generator expressions are evaluated during build system generation to produce information specific to each build configuration.  Valid expressions are:<br /></p>
<pre>  $&lt;0:...&gt;                  = empty string (ignores "...")<br />  $&lt;1:...&gt;                  = content of "..."<br />  $&lt;CONFIG:cfg&gt;             = '1' if config is "cfg", else '0'<br />  $&lt;CONFIGURATION&gt;          = configuration name<br />  $&lt;BOOL:...&gt;               = '1' if the '...' is true, else '0'<br />  $&lt;STREQUAL:a,b&gt;           = '1' if a is STREQUAL b, else '0'<br />  $&lt;ANGLE-R&gt;                = A literal '&gt;'. Used to compare strings which contain a '&gt;' for example.<br />  $&lt;COMMA&gt;                  = A literal ','. Used to compare strings which contain a ',' for example.<br />  $&lt;SEMICOLON&gt;              = A literal ';'. Used to prevent list expansion on an argument with ';'.<br />  $&lt;JOIN:list,...&gt;          = joins the list with the content of "..."<br />  $&lt;TARGET_NAME:...&gt;        = 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.<br />  $&lt;INSTALL_INTERFACE:...&gt;  = content of "..." when the property is exported using install(EXPORT), and empty otherwise.<br />  $&lt;BUILD_INTERFACE:...&gt;    = 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.<br />  $&lt;C_COMPILER_ID&gt;          = The CMake-id of the C compiler used.<br />  $&lt;C_COMPILER_ID:comp&gt;     = '1' if the CMake-id of the C compiler matches comp, otherwise '0'.<br />  $&lt;CXX_COMPILER_ID&gt;        = The CMake-id of the CXX compiler used.<br />  $&lt;CXX_COMPILER_ID:comp&gt;   = '1' if the CMake-id of the CXX compiler matches comp, otherwise '0'.<br />  $&lt;VERSION_GREATER:v1,v2&gt;  = '1' if v1 is a version greater than v2, else '0'.<br />  $&lt;VERSION_LESS:v1,v2&gt;     = '1' if v1 is a version less than v2, else '0'.<br />  $&lt;VERSION_EQUAL:v1,v2&gt;    = '1' if v1 is the same version as v2, else '0'.<br />  $&lt;C_COMPILER_VERSION&gt;     = The version of the C compiler used.<br />  $&lt;C_COMPILER_VERSION:ver&gt; = '1' if the version of the C compiler matches ver, otherwise '0'.<br />  $&lt;CXX_COMPILER_VERSION&gt;   = The version of the CXX compiler used.<br />  $&lt;CXX_COMPILER_VERSION:ver&gt; = '1' if the version of the CXX compiler matches ver, otherwise '0'.<br />  $&lt;TARGET_FILE:tgt&gt;        = main file (.exe, .so.1.2, .a)<br />  $&lt;TARGET_LINKER_FILE:tgt&gt; = file used to link (.a, .lib, .so)<br />  $&lt;TARGET_SONAME_FILE:tgt&gt; = file with soname (.so.3)<br /></pre>
    <p>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:<br /></p>
<pre>  $&lt;TARGET_FILE_DIR:tgt&gt;/$&lt;TARGET_FILE_NAME:tgt&gt;<br />  $&lt;TARGET_LINKER_FILE_DIR:tgt&gt;/$&lt;TARGET_LINKER_FILE_NAME:tgt&gt;<br />  $&lt;TARGET_SONAME_FILE_DIR:tgt&gt;/$&lt;TARGET_SONAME_FILE_NAME:tgt&gt;<br /></pre>
    <p><br /></p>
<pre>  $&lt;TARGET_PROPERTY:tgt,prop&gt;   = The value of the property prop on the target tgt.<br /></pre>
    <p>Note that tgt is not added as a dependency of the target this expression is evaluated on.<br /></p>
<pre>  $&lt;TARGET_POLICY:pol&gt;          = '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.<br />  $&lt;INSTALL_PREFIX&gt;         = Content of the install prefix when the target is exported via INSTALL(EXPORT) and empty otherwise.<br /></pre>
    <p>Boolean expressions:<br /></p>
<pre>  $&lt;AND:?[,?]...&gt;           = '1' if all '?' are '1', else '0'<br />  $&lt;OR:?[,?]...&gt;            = '0' if all '?' are '0', else '1'<br />  $&lt;NOT:?&gt;                  = '0' if '?' is '1', else '1'<br /></pre>
    <p>where '?' is always either '0' or '1'.<br /></p>
<p>Expressions with an implicit 'this' target:<br /></p>
<pre>  $&lt;TARGET_PROPERTY:prop&gt;   = The value of the property prop on the target on which the generator expression is evaluated.<br /></pre>
    
  </li>
  <li>
    <a name="prop_tgt:LINK_SEARCH_END_STATIC"></a><b><code>LINK_SEARCH_END_STATIC</code></b>: End a link line such that static system libraries are used.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:LINK_SEARCH_START_STATIC"></a><b><code>LINK_SEARCH_START_STATIC</code></b>: Assume the linker looks for static libraries by default.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:LOCATION"></a><b><code>LOCATION</code></b>: Read-only location of a target on disk.<br />
    <p>For an imported target, this read-only property returns the value of the LOCATION_&lt;CONFIG&gt; property for an unspecified configuration &lt;CONFIG&gt; provided by the target.<br /></p>
<p>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.<br /></p>
<p>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)(_&lt;CONFIG&gt;)?", "(IMPLIB_)?(PREFIX|SUFFIX)", or "LINKER_LANGUAGE".  Failure to follow this rule is not diagnosed and leaves the location of the target undefined.</p>

  </li>
  <li>
    <a name="prop_tgt:LOCATION_CONFIG"></a><b><code>LOCATION_&lt;CONFIG&gt;</code></b>: Read-only property providing a target location on disk.<br />
    <p>A read-only property that indicates where a target's main file is located on disk for the configuration &lt;CONFIG&gt;.  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_&lt;CONFIG&gt; property to map imported configurations explicitly.<br /></p>
<p>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)(_&lt;CONFIG&gt;)?", "(IMPLIB_)?(PREFIX|SUFFIX)", or "LINKER_LANGUAGE".  Failure to follow this rule is not diagnosed and leaves the location of the target undefined.</p>

  </li>
  <li>
    <a name="prop_tgt:MACOSX_BUNDLE"></a><b><code>MACOSX_BUNDLE</code></b>: Build an executable as an application bundle on Mac OS X.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:MACOSX_BUNDLE_INFO_PLIST"></a><b><code>MACOSX_BUNDLE_INFO_PLIST</code></b>: Specify a custom Info.plist template for a Mac OS X App Bundle.<br />
    <p>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.<br /></p>
<p>The following target properties may be set to specify content to be configured into the file:<br /></p>
<pre>  MACOSX_BUNDLE_INFO_STRING<br />  MACOSX_BUNDLE_ICON_FILE<br />  MACOSX_BUNDLE_GUI_IDENTIFIER<br />  MACOSX_BUNDLE_LONG_VERSION_STRING<br />  MACOSX_BUNDLE_BUNDLE_NAME<br />  MACOSX_BUNDLE_SHORT_VERSION_STRING<br />  MACOSX_BUNDLE_BUNDLE_VERSION<br />  MACOSX_BUNDLE_COPYRIGHT<br /></pre>
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:MACOSX_FRAMEWORK_INFO_PLIST"></a><b><code>MACOSX_FRAMEWORK_INFO_PLIST</code></b>: Specify a custom Info.plist template for a Mac OS X Framework.<br />
    <p>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.<br /></p>
<p>The following target properties may be set to specify content to be configured into the file:<br /></p>
<pre>  MACOSX_FRAMEWORK_ICON_FILE<br />  MACOSX_FRAMEWORK_IDENTIFIER<br />  MACOSX_FRAMEWORK_SHORT_VERSION_STRING<br />  MACOSX_FRAMEWORK_BUNDLE_VERSION<br /></pre>
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:MACOSX_RPATH"></a><b><code>MACOSX_RPATH</code></b>: Whether to use rpaths on Mac OS X.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:MAP_IMPORTED_CONFIG_CONFIG"></a><b><code>MAP_IMPORTED_CONFIG_&lt;CONFIG&gt;</code></b>: Map from project configuration to IMPORTED target's configuration.<br />
    <p>Set this to the list of configurations of an imported target that may be used for the current project's &lt;CONFIG&gt; 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 &lt;CONFIG&gt; 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.</p>

  </li>
  <li>
    <a name="prop_tgt:NAME"></a><b><code>NAME</code></b>: Logical name for the target.<br />
    <p>Read-only logical name for the target as used by CMake.</p>

  </li>
  <li>
    <a name="prop_tgt:NO_SONAME"></a><b><code>NO_SONAME</code></b>: Whether to set "soname" when linking a shared library or module.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:OSX_ARCHITECTURES"></a><b><code>OSX_ARCHITECTURES</code></b>: Target specific architectures for OS X.<br />
    <p>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_&lt;CONFIG&gt; to set the binary architectures on a per-configuration basis.  &lt;CONFIG&gt; is an upper-case name (ex: "OSX_ARCHITECTURES_DEBUG").</p>

  </li>
  <li>
    <a name="prop_tgt:OSX_ARCHITECTURES_CONFIG"></a><b><code>OSX_ARCHITECTURES_&lt;CONFIG&gt;</code></b>: Per-configuration OS X binary architectures for a target.<br />
    <p>This property is the configuration-specific version of OSX_ARCHITECTURES.</p>

  </li>
  <li>
    <a name="prop_tgt:OUTPUT_NAME"></a><b><code>OUTPUT_NAME</code></b>: Output name for target files.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:OUTPUT_NAME_CONFIG"></a><b><code>OUTPUT_NAME_&lt;CONFIG&gt;</code></b>: Per-configuration target file base name.<br />
    <p>This is the configuration-specific version of OUTPUT_NAME.</p>

  </li>
  <li>
    <a name="prop_tgt:PDB_NAME"></a><b><code>PDB_NAME</code></b>: Output name for MS debug symbols .pdb file from linker.<br />
    <p>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.  <br /></p>
<p>This property is not implemented by the Visual Studio 6 generator.</p>

  </li>
  <li>
    <a name="prop_tgt:PDB_NAME_CONFIG"></a><b><code>PDB_NAME_&lt;CONFIG&gt;</code></b>: Per-configuration name for MS debug symbols .pdb file.  <br />
    <p>This is the configuration-specific version of PDB_NAME.  <br /></p>
<p>This property is not implemented by the Visual Studio 6 generator.</p>

  </li>
  <li>
    <a name="prop_tgt:PDB_OUTPUT_DIRECTORY"></a><b><code>PDB_OUTPUT_DIRECTORY</code></b>: Output directory for MS debug symbols .pdb file from linker.<br />
    <p>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.<br /></p>
<p>This property is not implemented by the Visual Studio 6 generator.</p>

  </li>
  <li>
    <a name="prop_tgt:PDB_OUTPUT_DIRECTORY_CONFIG"></a><b><code>PDB_OUTPUT_DIRECTORY_&lt;CONFIG&gt;</code></b>: Per-configuration output directory for MS debug symbols .pdb files.<br />
    <p>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_&lt;CONFIG&gt; if it is set when a target is created.<br /></p>
<p>This property is not implemented by the Visual Studio 6 generator.</p>

  </li>
  <li>
    <a name="prop_tgt:POSITION_INDEPENDENT_CODE"></a><b><code>POSITION_INDEPENDENT_CODE</code></b>: Whether to create a position-independent target<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:POST_INSTALL_SCRIPT"></a><b><code>POST_INSTALL_SCRIPT</code></b>: Deprecated install support.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:PREFIX"></a><b><code>PREFIX</code></b>: What comes before the library name.<br />
    <p>A target property that can be set to override the prefix (such as "lib") on a library name.</p>

  </li>
  <li>
    <a name="prop_tgt:PRE_INSTALL_SCRIPT"></a><b><code>PRE_INSTALL_SCRIPT</code></b>: Deprecated install support.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:PRIVATE_HEADER"></a><b><code>PRIVATE_HEADER</code></b>: Specify private header files in a FRAMEWORK shared library target.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:PROJECT_LABEL"></a><b><code>PROJECT_LABEL</code></b>: Change the name of a target in an IDE.<br />
    <p>Can be used to change the name of the target in an IDE like Visual Studio. </p>

  </li>
  <li>
    <a name="prop_tgt:PUBLIC_HEADER"></a><b><code>PUBLIC_HEADER</code></b>: Specify public header files in a FRAMEWORK shared library target.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:RESOURCE"></a><b><code>RESOURCE</code></b>: Specify resource files in a FRAMEWORK shared library target.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:RULE_LAUNCH_COMPILE"></a><b><code>RULE_LAUNCH_COMPILE</code></b>: Specify a launcher for compile rules.<br />
    <p>See the global property of the same name for details.  This overrides the global and directory property for a target.</p>

  </li>
  <li>
    <a name="prop_tgt:RULE_LAUNCH_CUSTOM"></a><b><code>RULE_LAUNCH_CUSTOM</code></b>: Specify a launcher for custom rules.<br />
    <p>See the global property of the same name for details.  This overrides the global and directory property for a target.</p>

  </li>
  <li>
    <a name="prop_tgt:RULE_LAUNCH_LINK"></a><b><code>RULE_LAUNCH_LINK</code></b>: Specify a launcher for link rules.<br />
    <p>See the global property of the same name for details.  This overrides the global and directory property for a target.</p>

  </li>
  <li>
    <a name="prop_tgt:RUNTIME_OUTPUT_DIRECTORY"></a><b><code>RUNTIME_OUTPUT_DIRECTORY</code></b>: Output directory in which to build RUNTIME target files.<br />
    <p>This property specifies the directory into which runtime target files should be built. Multi-configuration generators (VS, Xcode) append a per-configuration subdirectory to the specified directory.  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.  This property is initialized by the value of the variable CMAKE_RUNTIME_OUTPUT_DIRECTORY if it is set when a target is created.</p>

  </li>
  <li>
    <a name="prop_tgt:RUNTIME_OUTPUT_DIRECTORY_CONFIG"></a><b><code>RUNTIME_OUTPUT_DIRECTORY_&lt;CONFIG&gt;</code></b>: Per-configuration output directory for RUNTIME target files.<br />
    <p>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_&lt;CONFIG&gt; if it is set when a target is created.</p>

  </li>
  <li>
    <a name="prop_tgt:RUNTIME_OUTPUT_NAME"></a><b><code>RUNTIME_OUTPUT_NAME</code></b>: Output name for RUNTIME target files.<br />
    <p>This property specifies the base name for runtime target files.  It overrides OUTPUT_NAME and OUTPUT_NAME_&lt;CONFIG&gt; properties.  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.</p>

  </li>
  <li>
    <a name="prop_tgt:RUNTIME_OUTPUT_NAME_CONFIG"></a><b><code>RUNTIME_OUTPUT_NAME_&lt;CONFIG&gt;</code></b>: Per-configuration output name for RUNTIME target files.<br />
    <p>This is the configuration-specific version of RUNTIME_OUTPUT_NAME.</p>

  </li>
  <li>
    <a name="prop_tgt:SKIP_BUILD_RPATH"></a><b><code>SKIP_BUILD_RPATH</code></b>: Should rpaths be used for the build tree.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:SOURCES"></a><b><code>SOURCES</code></b>: Source names specified for a target.<br />
    <p>Read-only list of sources specified for a target.  The names returned are suitable for passing to the set_source_files_properties command.</p>

  </li>
  <li>
    <a name="prop_tgt:SOVERSION"></a><b><code>SOVERSION</code></b>: What version number is this target.<br />
    <p>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. </p>

  </li>
  <li>
    <a name="prop_tgt:STATIC_LIBRARY_FLAGS"></a><b><code>STATIC_LIBRARY_FLAGS</code></b>: Extra flags to use when linking static libraries.<br />
    <p>Extra flags to use when linking a static library.</p>

  </li>
  <li>
    <a name="prop_tgt:STATIC_LIBRARY_FLAGS_CONFIG"></a><b><code>STATIC_LIBRARY_FLAGS_&lt;CONFIG&gt;</code></b>: Per-configuration flags for creating a static library.<br />
    <p>This is the configuration-specific version of STATIC_LIBRARY_FLAGS.</p>

  </li>
  <li>
    <a name="prop_tgt:SUFFIX"></a><b><code>SUFFIX</code></b>: What comes after the target name.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:TYPE"></a><b><code>TYPE</code></b>: The type of the target.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:VERSION"></a><b><code>VERSION</code></b>: What version number is this target.<br />
    <p>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. </p>

  </li>
  <li>
    <a name="prop_tgt:VISIBILITY_INLINES_HIDDEN"></a><b><code>VISIBILITY_INLINES_HIDDEN</code></b>: Whether to add a compile flag to hide symbols of inline functions<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:VS_DOTNET_REFERENCES"></a><b><code>VS_DOTNET_REFERENCES</code></b>: Visual Studio managed project .NET references<br />
    <p>Adds one or more semicolon-delimited .NET references to a generated Visual Studio project. For example, "System;System.Windows.Forms".</p>

  </li>
  <li>
    <a name="prop_tgt:VS_DOTNET_TARGET_FRAMEWORK_VERSION"></a><b><code>VS_DOTNET_TARGET_FRAMEWORK_VERSION</code></b>: Specify the .NET target framework version.<br />
    <p>Used to specify the .NET target framework version for C++/CLI. For example, "v4.5".</p>

  </li>
  <li>
    <a name="prop_tgt:VS_GLOBAL_variable"></a><b><code>VS_GLOBAL_&lt;variable&gt;</code></b>: Visual Studio project-specific global variable.<br />
    <p>Tell the Visual Studio generator to set the global variable '&lt;variable&gt;' 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"</p>

  </li>
  <li>
    <a name="prop_tgt:VS_GLOBAL_KEYWORD"></a><b><code>VS_GLOBAL_KEYWORD</code></b>: Visual Studio project keyword.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:VS_GLOBAL_PROJECT_TYPES"></a><b><code>VS_GLOBAL_PROJECT_TYPES</code></b>: Visual Studio project type(s).<br />
    <p>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:<br /></p>
<pre> {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}<br /></pre>
    <p>UUIDs are semicolon-delimited.</p>

  </li>
  <li>
    <a name="prop_tgt:VS_GLOBAL_ROOTNAMESPACE"></a><b><code>VS_GLOBAL_ROOTNAMESPACE</code></b>: Visual Studio project root namespace.<br />
    <p>Sets the "RootNamespace" attribute for a generated Visual Studio project.  The attribute will be generated only if this is set.</p>

  </li>
  <li>
    <a name="prop_tgt:VS_KEYWORD"></a><b><code>VS_KEYWORD</code></b>: Visual Studio project keyword.<br />
    <p>Can be set to change the visual studio keyword, for example Qt integration works better if this is set to Qt4VSv1.0. </p>

  </li>
  <li>
    <a name="prop_tgt:VS_SCC_AUXPATH"></a><b><code>VS_SCC_AUXPATH</code></b>: Visual Studio Source Code Control Aux Path.<br />
    <p>Can be set to change the visual studio source code control auxpath property.</p>

  </li>
  <li>
    <a name="prop_tgt:VS_SCC_LOCALPATH"></a><b><code>VS_SCC_LOCALPATH</code></b>: Visual Studio Source Code Control Local Path.<br />
    <p>Can be set to change the visual studio source code control local path property.</p>

  </li>
  <li>
    <a name="prop_tgt:VS_SCC_PROJECTNAME"></a><b><code>VS_SCC_PROJECTNAME</code></b>: Visual Studio Source Code Control Project.<br />
    <p>Can be set to change the visual studio source code control project name property.</p>

  </li>
  <li>
    <a name="prop_tgt:VS_SCC_PROVIDER"></a><b><code>VS_SCC_PROVIDER</code></b>: Visual Studio Source Code Control Provider.<br />
    <p>Can be set to change the visual studio source code control provider property.</p>

  </li>
  <li>
    <a name="prop_tgt:VS_WINRT_EXTENSIONS"></a><b><code>VS_WINRT_EXTENSIONS</code></b>: Visual Studio project C++/CX language extensions for Windows Runtime<br />
    <p>Can be set to enable C++/CX language extensions.</p>

  </li>
  <li>
    <a name="prop_tgt:VS_WINRT_REFERENCES"></a><b><code>VS_WINRT_REFERENCES</code></b>: Visual Studio project Windows Runtime Metadata references<br />
    <p>Adds one or more semicolon-delimited WinRT references to a generated Visual Studio project. For example, "Windows;Windows.UI.Core".</p>

  </li>
  <li>
    <a name="prop_tgt:WIN32_EXECUTABLE"></a><b><code>WIN32_EXECUTABLE</code></b>: Build an executable with a WinMain entry point on windows.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_tgt:XCODE_ATTRIBUTE_an-attribute"></a><b><code>XCODE_ATTRIBUTE_&lt;an-attribute&gt;</code></b>: Set Xcode target attributes directly.<br />
    <p>Tell the Xcode generator to set '&lt;an-attribute&gt;' to a given value in the generated Xcode project.  Ignored on other generators.</p>

  </li>
</ul>
<h2><a name="section_PropertiesonTests"></a>Properties on Tests</h2>
<ul>
    <li><a href="#prop_test:ATTACHED_FILES"><b><code>ATTACHED_FILES</code></b></a></li>
    <li><a href="#prop_test:ATTACHED_FILES_ON_FAIL"><b><code>ATTACHED_FILES_ON_FAIL</code></b></a></li>
    <li><a href="#prop_test:COST"><b><code>COST</code></b></a></li>
    <li><a href="#prop_test:DEPENDS"><b><code>DEPENDS</code></b></a></li>
    <li><a href="#prop_test:ENVIRONMENT"><b><code>ENVIRONMENT</code></b></a></li>
    <li><a href="#prop_test:FAIL_REGULAR_EXPRESSION"><b><code>FAIL_REGULAR_EXPRESSION</code></b></a></li>
    <li><a href="#prop_test:LABELS"><b><code>LABELS</code></b></a></li>
    <li><a href="#prop_test:MEASUREMENT"><b><code>MEASUREMENT</code></b></a></li>
    <li><a href="#prop_test:PASS_REGULAR_EXPRESSION"><b><code>PASS_REGULAR_EXPRESSION</code></b></a></li>
    <li><a href="#prop_test:PROCESSORS"><b><code>PROCESSORS</code></b></a></li>
    <li><a href="#prop_test:REQUIRED_FILES"><b><code>REQUIRED_FILES</code></b></a></li>
    <li><a href="#prop_test:RESOURCE_LOCK"><b><code>RESOURCE_LOCK</code></b></a></li>
    <li><a href="#prop_test:RUN_SERIAL"><b><code>RUN_SERIAL</code></b></a></li>
    <li><a href="#prop_test:TIMEOUT"><b><code>TIMEOUT</code></b></a></li>
    <li><a href="#prop_test:WILL_FAIL"><b><code>WILL_FAIL</code></b></a></li>
    <li><a href="#prop_test:WORKING_DIRECTORY"><b><code>WORKING_DIRECTORY</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="prop_test:ATTACHED_FILES"></a><b><code>ATTACHED_FILES</code></b>: Attach a list of files to a dashboard submission.<br />
    <p>Set this property to a list of files that will be encoded and submitted to the dashboard as an addition to the test result.</p>

  </li>
  <li>
    <a name="prop_test:ATTACHED_FILES_ON_FAIL"></a><b><code>ATTACHED_FILES_ON_FAIL</code></b>: Attach a list of files to a dashboard submission if the test fails.<br />
    <p>Same as ATTACHED_FILES, but these files will only be included if the test does not pass.</p>

  </li>
  <li>
    <a name="prop_test:COST"></a><b><code>COST</code></b>: Set this to a floating point value. Tests in a test set will be run in descending order of cost.<br />
    <p>This property describes the cost of a test. You can explicitly set this value; tests with higher COST values will run first.</p>

  </li>
  <li>
    <a name="prop_test:DEPENDS"></a><b><code>DEPENDS</code></b>: Specifies that this test should only be run after the specified list of tests.<br />
    <p>Set this to a list of tests that must finish before this test is run.</p>

  </li>
  <li>
    <a name="prop_test:ENVIRONMENT"></a><b><code>ENVIRONMENT</code></b>: Specify environment variables that should be defined for running a test.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_test:FAIL_REGULAR_EXPRESSION"></a><b><code>FAIL_REGULAR_EXPRESSION</code></b>: If the output matches this regular expression the test will fail.<br />
    <p>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"</p>

  </li>
  <li>
    <a name="prop_test:LABELS"></a><b><code>LABELS</code></b>: Specify a list of text labels associated with a test.<br />
    <p>The list is reported in dashboard submissions.</p>

  </li>
  <li>
    <a name="prop_test:MEASUREMENT"></a><b><code>MEASUREMENT</code></b>: Specify a CDASH measurement and value to be reported for a test.<br />
    <p>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".</p>

  </li>
  <li>
    <a name="prop_test:PASS_REGULAR_EXPRESSION"></a><b><code>PASS_REGULAR_EXPRESSION</code></b>: The output must match this regular expression for the test to pass.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_test:PROCESSORS"></a><b><code>PROCESSORS</code></b>: How many process slots this test requires<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_test:REQUIRED_FILES"></a><b><code>REQUIRED_FILES</code></b>: List of files required to run the test.<br />
    <p>If set to a list of files, the test will not be run unless all of the files exist.</p>

  </li>
  <li>
    <a name="prop_test:RESOURCE_LOCK"></a><b><code>RESOURCE_LOCK</code></b>: Specify a list of resources that are locked by this test.<br />
    <p>If multiple tests specify the same resource lock, they are guaranteed not to run concurrently.</p>

  </li>
  <li>
    <a name="prop_test:RUN_SERIAL"></a><b><code>RUN_SERIAL</code></b>: Do not run this test in parallel with any other test.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_test:TIMEOUT"></a><b><code>TIMEOUT</code></b>: How many seconds to allow for this test.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="prop_test:WILL_FAIL"></a><b><code>WILL_FAIL</code></b>: If set to true, this will invert the pass/fail flag of the test.<br />
    <p>This property can be used for tests that are expected to fail and return a non zero return code.</p>

  </li>
  <li>
    <a name="prop_test:WORKING_DIRECTORY"></a><b><code>WORKING_DIRECTORY</code></b>: The directory from which the test executable will be called.<br />
    <p>If this is not set it is called from the directory the test executable is located in.</p>

  </li>
</ul>
<h2><a name="section_Variables"></a>Variables</h2>
<ul>
    <li><a href="#variable:CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION"><b><code>CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="variable:CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION"></a><b><code>CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION</code></b>: Ask CPack to error out as soon as a file with absolute INSTALL DESTINATION is encountered.<br />
    <p>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</p>

  </li>
</ul>
<h2><a name="section_VariablesThatChangeBehavior"></a>Variables That Change Behavior</h2>
<ul>
    <li><a href="#variable:BUILD_SHARED_LIBS"><b><code>BUILD_SHARED_LIBS</code></b></a></li>
    <li><a href="#variable:CMAKE_ABSOLUTE_DESTINATION_FILES"><b><code>CMAKE_ABSOLUTE_DESTINATION_FILES</code></b></a></li>
    <li><a href="#variable:CMAKE_AUTOMOC_RELAXED_MODE"><b><code>CMAKE_AUTOMOC_RELAXED_MODE</code></b></a></li>
    <li><a href="#variable:CMAKE_BACKWARDS_COMPATIBILITY"><b><code>CMAKE_BACKWARDS_COMPATIBILITY</code></b></a></li>
    <li><a href="#variable:CMAKE_BUILD_TYPE"><b><code>CMAKE_BUILD_TYPE</code></b></a></li>
    <li><a href="#variable:CMAKE_COLOR_MAKEFILE"><b><code>CMAKE_COLOR_MAKEFILE</code></b></a></li>
    <li><a href="#variable:CMAKE_CONFIGURATION_TYPES"><b><code>CMAKE_CONFIGURATION_TYPES</code></b></a></li>
    <li><a href="#variable:CMAKE_DEBUG_TARGET_PROPERTIES"><b><code>CMAKE_DEBUG_TARGET_PROPERTIES</code></b></a></li>
    <li><a href="#variable:CMAKE_DISABLE_FIND_PACKAGE_PackageName"><b><code>CMAKE_DISABLE_FIND_PACKAGE_&lt;PackageName&gt;</code></b></a></li>
    <li><a href="#variable:CMAKE_ERROR_DEPRECATED"><b><code>CMAKE_ERROR_DEPRECATED</code></b></a></li>
    <li><a href="#variable:CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION"><b><code>CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION</code></b></a></li>
    <li><a href="#variable:CMAKE_FIND_LIBRARY_PREFIXES"><b><code>CMAKE_FIND_LIBRARY_PREFIXES</code></b></a></li>
    <li><a href="#variable:CMAKE_FIND_LIBRARY_SUFFIXES"><b><code>CMAKE_FIND_LIBRARY_SUFFIXES</code></b></a></li>
    <li><a href="#variable:CMAKE_FIND_PACKAGE_WARN_NO_MODULE"><b><code>CMAKE_FIND_PACKAGE_WARN_NO_MODULE</code></b></a></li>
    <li><a href="#variable:CMAKE_IGNORE_PATH"><b><code>CMAKE_IGNORE_PATH</code></b></a></li>
    <li><a href="#variable:CMAKE_INCLUDE_PATH"><b><code>CMAKE_INCLUDE_PATH</code></b></a></li>
    <li><a href="#variable:CMAKE_INSTALL_DEFAULT_COMPONENT_NAME"><b><code>CMAKE_INSTALL_DEFAULT_COMPONENT_NAME</code></b></a></li>
    <li><a href="#variable:CMAKE_INSTALL_PREFIX"><b><code>CMAKE_INSTALL_PREFIX</code></b></a></li>
    <li><a href="#variable:CMAKE_LIBRARY_PATH"><b><code>CMAKE_LIBRARY_PATH</code></b></a></li>
    <li><a href="#variable:CMAKE_MFC_FLAG"><b><code>CMAKE_MFC_FLAG</code></b></a></li>
    <li><a href="#variable:CMAKE_MODULE_PATH"><b><code>CMAKE_MODULE_PATH</code></b></a></li>
    <li><a href="#variable:CMAKE_NOT_USING_CONFIG_FLAGS"><b><code>CMAKE_NOT_USING_CONFIG_FLAGS</code></b></a></li>
    <li><a href="#variable:CMAKE_POLICY_DEFAULT_CMPNNNN"><b><code>CMAKE_POLICY_DEFAULT_CMP&lt;NNNN&gt;</code></b></a></li>
    <li><a href="#variable:CMAKE_PREFIX_PATH"><b><code>CMAKE_PREFIX_PATH</code></b></a></li>
    <li><a href="#variable:CMAKE_PROGRAM_PATH"><b><code>CMAKE_PROGRAM_PATH</code></b></a></li>
    <li><a href="#variable:CMAKE_SKIP_INSTALL_ALL_DEPENDENCY"><b><code>CMAKE_SKIP_INSTALL_ALL_DEPENDENCY</code></b></a></li>
    <li><a href="#variable:CMAKE_SYSTEM_IGNORE_PATH"><b><code>CMAKE_SYSTEM_IGNORE_PATH</code></b></a></li>
    <li><a href="#variable:CMAKE_SYSTEM_INCLUDE_PATH"><b><code>CMAKE_SYSTEM_INCLUDE_PATH</code></b></a></li>
    <li><a href="#variable:CMAKE_SYSTEM_LIBRARY_PATH"><b><code>CMAKE_SYSTEM_LIBRARY_PATH</code></b></a></li>
    <li><a href="#variable:CMAKE_SYSTEM_PREFIX_PATH"><b><code>CMAKE_SYSTEM_PREFIX_PATH</code></b></a></li>
    <li><a href="#variable:CMAKE_SYSTEM_PROGRAM_PATH"><b><code>CMAKE_SYSTEM_PROGRAM_PATH</code></b></a></li>
    <li><a href="#variable:CMAKE_USER_MAKE_RULES_OVERRIDE"><b><code>CMAKE_USER_MAKE_RULES_OVERRIDE</code></b></a></li>
    <li><a href="#variable:CMAKE_WARN_DEPRECATED"><b><code>CMAKE_WARN_DEPRECATED</code></b></a></li>
    <li><a href="#variable:CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION"><b><code>CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="variable:BUILD_SHARED_LIBS"></a><b><code>BUILD_SHARED_LIBS</code></b>: Global flag to cause add_library to create shared libraries if on.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_ABSOLUTE_DESTINATION_FILES"></a><b><code>CMAKE_ABSOLUTE_DESTINATION_FILES</code></b>: List of files which have been installed using  an ABSOLUTE DESTINATION path.<br />
    <p>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).</p>

  </li>
  <li>
    <a name="variable:CMAKE_AUTOMOC_RELAXED_MODE"></a><b><code>CMAKE_AUTOMOC_RELAXED_MODE</code></b>: Switch between strict and relaxed automoc mode.<br />
    <p>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.<br /></p>
<p>Relaxed mode has to be enabled for KDE4 compatibility.</p>

  </li>
  <li>
    <a name="variable:CMAKE_BACKWARDS_COMPATIBILITY"></a><b><code>CMAKE_BACKWARDS_COMPATIBILITY</code></b>: Version of cmake required to build project<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_BUILD_TYPE"></a><b><code>CMAKE_BUILD_TYPE</code></b>: Specifies the build type on single-configuration generators.<br />
    <p>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_&lt;CONFIG&gt; order conventions), such as CMAKE_C_FLAGS_&lt;CONFIG&gt;, 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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_COLOR_MAKEFILE"></a><b><code>CMAKE_COLOR_MAKEFILE</code></b>: Enables color output when using the Makefile generator.<br />
    <p>When enabled, the generated Makefiles will produce colored output.  Default is ON.</p>

  </li>
  <li>
    <a name="variable:CMAKE_CONFIGURATION_TYPES"></a><b><code>CMAKE_CONFIGURATION_TYPES</code></b>: Specifies the available build types on multi-config generators.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_DEBUG_TARGET_PROPERTIES"></a><b><code>CMAKE_DEBUG_TARGET_PROPERTIES</code></b>: Enables tracing output for target properties.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_DISABLE_FIND_PACKAGE_PackageName"></a><b><code>CMAKE_DISABLE_FIND_PACKAGE_&lt;PackageName&gt;</code></b>: Variable for disabling find_package() calls.<br />
    <p>Every non-REQUIRED find_package() call in a project can be disabled by setting the variable CMAKE_DISABLE_FIND_PACKAGE_&lt;PackageName&gt; to TRUE. This can be used to build a project without an optional package, although that package is installed.<br /></p>
<p>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</p>

  </li>
  <li>
    <a name="variable:CMAKE_ERROR_DEPRECATED"></a><b><code>CMAKE_ERROR_DEPRECATED</code></b>: Whether to issue deprecation errors for macros and functions.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION"></a><b><code>CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION</code></b>: Ask cmake_install.cmake script to error out as soon as a file with absolute INSTALL DESTINATION is encountered.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_FIND_LIBRARY_PREFIXES"></a><b><code>CMAKE_FIND_LIBRARY_PREFIXES</code></b>: Prefixes to prepend when looking for libraries.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_FIND_LIBRARY_SUFFIXES"></a><b><code>CMAKE_FIND_LIBRARY_SUFFIXES</code></b>: Suffixes to append when looking for libraries.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_FIND_PACKAGE_WARN_NO_MODULE"></a><b><code>CMAKE_FIND_PACKAGE_WARN_NO_MODULE</code></b>: Tell find_package to warn if called without an explicit mode.<br />
    <p>If find_package is called without an explicit mode option (MODULE, CONFIG or NO_MODULE) and no Find&lt;pkg&gt;.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.<br /></p>
<p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_IGNORE_PATH"></a><b><code>CMAKE_IGNORE_PATH</code></b>: Path to be ignored by FIND_XXX() commands.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_INCLUDE_PATH"></a><b><code>CMAKE_INCLUDE_PATH</code></b>: Path used for searching by FIND_FILE() and FIND_PATH().<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_INSTALL_DEFAULT_COMPONENT_NAME"></a><b><code>CMAKE_INSTALL_DEFAULT_COMPONENT_NAME</code></b>: Default component used in install() commands.<br />
    <p>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".</p>

  </li>
  <li>
    <a name="variable:CMAKE_INSTALL_PREFIX"></a><b><code>CMAKE_INSTALL_PREFIX</code></b>: Install directory used by install.<br />
    <p>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.<br /></p>
<p>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:<br /></p>
<pre> make DESTDIR=/home/john install<br /></pre>
    <p>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".<br /></p>
<p>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.<br /></p>
<p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LIBRARY_PATH"></a><b><code>CMAKE_LIBRARY_PATH</code></b>: Path used for searching by FIND_LIBRARY().<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_MFC_FLAG"></a><b><code>CMAKE_MFC_FLAG</code></b>: Tell cmake to use MFC for an executable or dll.<br />
    <p>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:<br /></p>
<pre>  add_definitions(-D_AFXDLL)<br />  set(CMAKE_MFC_FLAG 2)<br />  add_executable(CMakeSetup WIN32 ${SRCS})<br /></pre>
    
  </li>
  <li>
    <a name="variable:CMAKE_MODULE_PATH"></a><b><code>CMAKE_MODULE_PATH</code></b>: List of directories to search for CMake modules.<br />
    <p>Commands like include() and find_package() search for files in directories listed by this variable before checking the default modules that come with CMake.</p>

  </li>
  <li>
    <a name="variable:CMAKE_NOT_USING_CONFIG_FLAGS"></a><b><code>CMAKE_NOT_USING_CONFIG_FLAGS</code></b>: Skip _BUILD_TYPE flags if true.<br />
    <p>This is an internal flag used by the generators in CMake to tell CMake to skip the _BUILD_TYPE flags.</p>

  </li>
  <li>
    <a name="variable:CMAKE_POLICY_DEFAULT_CMPNNNN"></a><b><code>CMAKE_POLICY_DEFAULT_CMP&lt;NNNN&gt;</code></b>: Default for CMake Policy CMP&lt;NNNN&gt; when it is otherwise left unset.<br />
    <p>Commands cmake_minimum_required(VERSION) and cmake_policy(VERSION) by default leave policies introduced after the given version unset.  Set CMAKE_POLICY_DEFAULT_CMP&lt;NNNN&gt; to OLD or NEW to specify the default for policy CMP&lt;NNNN&gt;, where &lt;NNNN&gt; is the policy number.<br /></p>
<p>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&lt;NNNN&gt;=&lt;OLD|NEW&gt;) 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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_PREFIX_PATH"></a><b><code>CMAKE_PREFIX_PATH</code></b>: Path used for searching by FIND_XXX(), with appropriate suffixes added.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_PROGRAM_PATH"></a><b><code>CMAKE_PROGRAM_PATH</code></b>: Path used for searching by FIND_PROGRAM().<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_SKIP_INSTALL_ALL_DEPENDENCY"></a><b><code>CMAKE_SKIP_INSTALL_ALL_DEPENDENCY</code></b>: Don't make the install target depend on the all target.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_SYSTEM_IGNORE_PATH"></a><b><code>CMAKE_SYSTEM_IGNORE_PATH</code></b>: Path to be ignored by FIND_XXX() commands.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_SYSTEM_INCLUDE_PATH"></a><b><code>CMAKE_SYSTEM_INCLUDE_PATH</code></b>: Path used for searching by FIND_FILE() and FIND_PATH().<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_SYSTEM_LIBRARY_PATH"></a><b><code>CMAKE_SYSTEM_LIBRARY_PATH</code></b>: Path used for searching by FIND_LIBRARY().<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_SYSTEM_PREFIX_PATH"></a><b><code>CMAKE_SYSTEM_PREFIX_PATH</code></b>: Path used for searching by FIND_XXX(), with appropriate suffixes added.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_SYSTEM_PROGRAM_PATH"></a><b><code>CMAKE_SYSTEM_PROGRAM_PATH</code></b>: Path used for searching by FIND_PROGRAM().<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_USER_MAKE_RULES_OVERRIDE"></a><b><code>CMAKE_USER_MAKE_RULES_OVERRIDE</code></b>: Specify a CMake file that overrides platform information.<br />
    <p>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.<br /></p>
<p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_WARN_DEPRECATED"></a><b><code>CMAKE_WARN_DEPRECATED</code></b>: Whether to issue deprecation warnings for macros and functions.<br />
    <p>If TRUE, this can be used by macros and functions to issue deprecation warnings.  This variable is FALSE by default.</p>

  </li>
  <li>
    <a name="variable:CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION"></a><b><code>CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION</code></b>: Ask cmake_install.cmake script to warn each time a file with absolute INSTALL DESTINATION is encountered.<br />
    <p>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.</p>

  </li>
</ul>
<h2><a name="section_VariablesThatDescribetheSystem"></a>Variables That Describe the System</h2>
<ul>
    <li><a href="#variable:APPLE"><b><code>APPLE</code></b></a></li>
    <li><a href="#variable:BORLAND"><b><code>BORLAND</code></b></a></li>
    <li><a href="#variable:CMAKE_CL_64"><b><code>CMAKE_CL_64</code></b></a></li>
    <li><a href="#variable:CMAKE_COMPILER_2005"><b><code>CMAKE_COMPILER_2005</code></b></a></li>
    <li><a href="#variable:CMAKE_HOST_APPLE"><b><code>CMAKE_HOST_APPLE</code></b></a></li>
    <li><a href="#variable:CMAKE_HOST_SYSTEM"><b><code>CMAKE_HOST_SYSTEM</code></b></a></li>
    <li><a href="#variable:CMAKE_HOST_SYSTEM_NAME"><b><code>CMAKE_HOST_SYSTEM_NAME</code></b></a></li>
    <li><a href="#variable:CMAKE_HOST_SYSTEM_PROCESSOR"><b><code>CMAKE_HOST_SYSTEM_PROCESSOR</code></b></a></li>
    <li><a href="#variable:CMAKE_HOST_SYSTEM_VERSION"><b><code>CMAKE_HOST_SYSTEM_VERSION</code></b></a></li>
    <li><a href="#variable:CMAKE_HOST_UNIX"><b><code>CMAKE_HOST_UNIX</code></b></a></li>
    <li><a href="#variable:CMAKE_HOST_WIN32"><b><code>CMAKE_HOST_WIN32</code></b></a></li>
    <li><a href="#variable:CMAKE_LIBRARY_ARCHITECTURE"><b><code>CMAKE_LIBRARY_ARCHITECTURE</code></b></a></li>
    <li><a href="#variable:CMAKE_LIBRARY_ARCHITECTURE_REGEX"><b><code>CMAKE_LIBRARY_ARCHITECTURE_REGEX</code></b></a></li>
    <li><a href="#variable:CMAKE_OBJECT_PATH_MAX"><b><code>CMAKE_OBJECT_PATH_MAX</code></b></a></li>
    <li><a href="#variable:CMAKE_SYSTEM"><b><code>CMAKE_SYSTEM</code></b></a></li>
    <li><a href="#variable:CMAKE_SYSTEM_NAME"><b><code>CMAKE_SYSTEM_NAME</code></b></a></li>
    <li><a href="#variable:CMAKE_SYSTEM_PROCESSOR"><b><code>CMAKE_SYSTEM_PROCESSOR</code></b></a></li>
    <li><a href="#variable:CMAKE_SYSTEM_VERSION"><b><code>CMAKE_SYSTEM_VERSION</code></b></a></li>
    <li><a href="#variable:CYGWIN"><b><code>CYGWIN</code></b></a></li>
    <li><a href="#variable:ENV"><b><code>ENV</code></b></a></li>
    <li><a href="#variable:MSVC"><b><code>MSVC</code></b></a></li>
    <li><a href="#variable:MSVC10"><b><code>MSVC10</code></b></a></li>
    <li><a href="#variable:MSVC11"><b><code>MSVC11</code></b></a></li>
    <li><a href="#variable:MSVC12"><b><code>MSVC12</code></b></a></li>
    <li><a href="#variable:MSVC60"><b><code>MSVC60</code></b></a></li>
    <li><a href="#variable:MSVC70"><b><code>MSVC70</code></b></a></li>
    <li><a href="#variable:MSVC71"><b><code>MSVC71</code></b></a></li>
    <li><a href="#variable:MSVC80"><b><code>MSVC80</code></b></a></li>
    <li><a href="#variable:MSVC90"><b><code>MSVC90</code></b></a></li>
    <li><a href="#variable:MSVC_IDE"><b><code>MSVC_IDE</code></b></a></li>
    <li><a href="#variable:MSVC_VERSION"><b><code>MSVC_VERSION</code></b></a></li>
    <li><a href="#variable:UNIX"><b><code>UNIX</code></b></a></li>
    <li><a href="#variable:WIN32"><b><code>WIN32</code></b></a></li>
    <li><a href="#variable:XCODE_VERSION"><b><code>XCODE_VERSION</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="variable:APPLE"></a><b><code>APPLE</code></b>: True if running on Mac OS X.<br />
    <p>Set to true on Mac OS X.</p>

  </li>
  <li>
    <a name="variable:BORLAND"></a><b><code>BORLAND</code></b>: True if the Borland compiler is being used.<br />
    <p>This is set to true if the Borland compiler is being used.</p>

  </li>
  <li>
    <a name="variable:CMAKE_CL_64"></a><b><code>CMAKE_CL_64</code></b>: Using the 64 bit compiler from Microsoft<br />
    <p>Set to true when using the 64 bit cl compiler from Microsoft.</p>

  </li>
  <li>
    <a name="variable:CMAKE_COMPILER_2005"></a><b><code>CMAKE_COMPILER_2005</code></b>: Using the Visual Studio 2005 compiler from Microsoft<br />
    <p>Set to true when using the Visual Studio 2005 compiler from Microsoft.</p>

  </li>
  <li>
    <a name="variable:CMAKE_HOST_APPLE"></a><b><code>CMAKE_HOST_APPLE</code></b>: True for Apple OS X operating systems.<br />
    <p>Set to true when the host system is Apple OS X.</p>

  </li>
  <li>
    <a name="variable:CMAKE_HOST_SYSTEM"></a><b><code>CMAKE_HOST_SYSTEM</code></b>: Name of system cmake is being run on.<br />
    <p>The same as CMAKE_SYSTEM but for the host system instead of the target system when cross compiling.</p>

  </li>
  <li>
    <a name="variable:CMAKE_HOST_SYSTEM_NAME"></a><b><code>CMAKE_HOST_SYSTEM_NAME</code></b>: Name of the OS CMake is running on.<br />
    <p>The same as CMAKE_SYSTEM_NAME but for the host system instead of the target system when cross compiling.</p>

  </li>
  <li>
    <a name="variable:CMAKE_HOST_SYSTEM_PROCESSOR"></a><b><code>CMAKE_HOST_SYSTEM_PROCESSOR</code></b>: The name of the CPU CMake is running on.<br />
    <p>The same as CMAKE_SYSTEM_PROCESSOR but for the host system instead of the target system when cross compiling.</p>

  </li>
  <li>
    <a name="variable:CMAKE_HOST_SYSTEM_VERSION"></a><b><code>CMAKE_HOST_SYSTEM_VERSION</code></b>: OS version CMake is running on.<br />
    <p>The same as CMAKE_SYSTEM_VERSION but for the host system instead of the target system when cross compiling.</p>

  </li>
  <li>
    <a name="variable:CMAKE_HOST_UNIX"></a><b><code>CMAKE_HOST_UNIX</code></b>: True for UNIX and UNIX like operating systems.<br />
    <p>Set to true when the host system is UNIX or UNIX like (i.e. APPLE and CYGWIN).</p>

  </li>
  <li>
    <a name="variable:CMAKE_HOST_WIN32"></a><b><code>CMAKE_HOST_WIN32</code></b>: True on windows systems, including win64.<br />
    <p>Set to true when the host system is Windows and on Cygwin.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LIBRARY_ARCHITECTURE"></a><b><code>CMAKE_LIBRARY_ARCHITECTURE</code></b>: Target architecture library directory name, if detected.<br />
    <p>This is the value of CMAKE_&lt;lang&gt;_LIBRARY_ARCHITECTURE as detected for one of the enabled languages.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LIBRARY_ARCHITECTURE_REGEX"></a><b><code>CMAKE_LIBRARY_ARCHITECTURE_REGEX</code></b>: Regex matching possible target architecture library directory names.<br />
    <p>This is used to detect CMAKE_&lt;lang&gt;_LIBRARY_ARCHITECTURE from the implicit linker search path by matching the &lt;arch&gt; name.</p>

  </li>
  <li>
    <a name="variable:CMAKE_OBJECT_PATH_MAX"></a><b><code>CMAKE_OBJECT_PATH_MAX</code></b>: Maximum object file full-path length allowed by native build tools.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_SYSTEM"></a><b><code>CMAKE_SYSTEM</code></b>: Name of system cmake is compiling for.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_SYSTEM_NAME"></a><b><code>CMAKE_SYSTEM_NAME</code></b>: Name of the OS CMake is building for.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_SYSTEM_PROCESSOR"></a><b><code>CMAKE_SYSTEM_PROCESSOR</code></b>: The name of the CPU CMake is building for.<br />
    <p>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</p>

  </li>
  <li>
    <a name="variable:CMAKE_SYSTEM_VERSION"></a><b><code>CMAKE_SYSTEM_VERSION</code></b>: OS version CMake is building for.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CYGWIN"></a><b><code>CYGWIN</code></b>: True for Cygwin.<br />
    <p>Set to true when using Cygwin.</p>

  </li>
  <li>
    <a name="variable:ENV"></a><b><code>ENV</code></b>: Access environment variables.<br />
    <p>Use the syntax $ENV{VAR} to read environment variable VAR.  See also the set() command to set ENV{VAR}.</p>

  </li>
  <li>
    <a name="variable:MSVC"></a><b><code>MSVC</code></b>: True when using Microsoft Visual C<br />
    <p>Set to true when the compiler is some version of Microsoft Visual C.</p>

  </li>
  <li>
    <a name="variable:MSVC10"></a><b><code>MSVC10</code></b>: True when using Microsoft Visual C 10.0<br />
    <p>Set to true when the compiler is version 10.0 of Microsoft Visual C.</p>

  </li>
  <li>
    <a name="variable:MSVC11"></a><b><code>MSVC11</code></b>: True when using Microsoft Visual C 11.0<br />
    <p>Set to true when the compiler is version 11.0 of Microsoft Visual C.</p>

  </li>
  <li>
    <a name="variable:MSVC12"></a><b><code>MSVC12</code></b>: True when using Microsoft Visual C 12.0<br />
    <p>Set to true when the compiler is version 12.0 of Microsoft Visual C.</p>

  </li>
  <li>
    <a name="variable:MSVC60"></a><b><code>MSVC60</code></b>: True when using Microsoft Visual C 6.0<br />
    <p>Set to true when the compiler is version 6.0 of Microsoft Visual C.</p>

  </li>
  <li>
    <a name="variable:MSVC70"></a><b><code>MSVC70</code></b>: True when using Microsoft Visual C 7.0<br />
    <p>Set to true when the compiler is version 7.0 of Microsoft Visual C.</p>

  </li>
  <li>
    <a name="variable:MSVC71"></a><b><code>MSVC71</code></b>: True when using Microsoft Visual C 7.1<br />
    <p>Set to true when the compiler is version 7.1 of Microsoft Visual C.</p>

  </li>
  <li>
    <a name="variable:MSVC80"></a><b><code>MSVC80</code></b>: True when using Microsoft Visual C 8.0<br />
    <p>Set to true when the compiler is version 8.0 of Microsoft Visual C.</p>

  </li>
  <li>
    <a name="variable:MSVC90"></a><b><code>MSVC90</code></b>: True when using Microsoft Visual C 9.0<br />
    <p>Set to true when the compiler is version 9.0 of Microsoft Visual C.</p>

  </li>
  <li>
    <a name="variable:MSVC_IDE"></a><b><code>MSVC_IDE</code></b>: True when using the Microsoft Visual C IDE<br />
    <p>Set to true when the target platform is the Microsoft Visual C IDE, as opposed to the command line compiler.</p>

  </li>
  <li>
    <a name="variable:MSVC_VERSION"></a><b><code>MSVC_VERSION</code></b>: The version of Microsoft Visual C/C++ being used if any.<br />
    <p>Known version numbers are:<br /></p>
<pre>  1200 = VS  6.0<br />  1300 = VS  7.0<br />  1310 = VS  7.1<br />  1400 = VS  8.0<br />  1500 = VS  9.0<br />  1600 = VS 10.0<br />  1700 = VS 11.0<br />  1800 = VS 12.0<br /></pre>
    
  </li>
  <li>
    <a name="variable:UNIX"></a><b><code>UNIX</code></b>: True for UNIX and UNIX like operating systems.<br />
    <p>Set to true when the target system is UNIX or UNIX like (i.e. APPLE and CYGWIN).</p>

  </li>
  <li>
    <a name="variable:WIN32"></a><b><code>WIN32</code></b>: True on windows systems, including win64.<br />
    <p>Set to true when the target system is Windows.</p>

  </li>
  <li>
    <a name="variable:XCODE_VERSION"></a><b><code>XCODE_VERSION</code></b>: Version of Xcode (Xcode generator only).<br />
    <p>Under the Xcode generator, this is the version of Xcode as specified in "Xcode.app/Contents/version.plist" (such as "3.1.2").</p>

  </li>
</ul>
<h2><a name="section_VariablescommontoallCPackgenerators"></a>Variables common to all CPack generators</h2>
<ul>
    <li><a href="#variable:CPACK_ABSOLUTE_DESTINATION_FILES"><b><code>CPACK_ABSOLUTE_DESTINATION_FILES</code></b></a></li>
    <li><a href="#variable:CPACK_BINARY_GENNAME"><b><code>CPACK_BINARY_&lt;GENNAME&gt;</code></b></a></li>
    <li><a href="#variable:CPACK_CMAKE_GENERATOR"><b><code>CPACK_CMAKE_GENERATOR</code></b></a></li>
    <li><a href="#variable:CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY"><b><code>CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY</code></b></a></li>
    <li><a href="#variable:CPACK_CREATE_DESKTOP_LINKS"><b><code>CPACK_CREATE_DESKTOP_LINKS</code></b></a></li>
    <li><a href="#variable:CPACK_GENERATOR"><b><code>CPACK_GENERATOR</code></b></a></li>
    <li><a href="#variable:CPACK_INCLUDE_TOPLEVEL_DIRECTORY"><b><code>CPACK_INCLUDE_TOPLEVEL_DIRECTORY</code></b></a></li>
    <li><a href="#variable:CPACK_INSTALLED_DIRECTORIES"><b><code>CPACK_INSTALLED_DIRECTORIES</code></b></a></li>
    <li><a href="#variable:CPACK_INSTALL_CMAKE_PROJECTS"><b><code>CPACK_INSTALL_CMAKE_PROJECTS</code></b></a></li>
    <li><a href="#variable:CPACK_INSTALL_COMMANDS"><b><code>CPACK_INSTALL_COMMANDS</code></b></a></li>
    <li><a href="#variable:CPACK_INSTALL_SCRIPT"><b><code>CPACK_INSTALL_SCRIPT</code></b></a></li>
    <li><a href="#variable:CPACK_MONOLITHIC_INSTALL"><b><code>CPACK_MONOLITHIC_INSTALL</code></b></a></li>
    <li><a href="#variable:CPACK_OUTPUT_CONFIG_FILE"><b><code>CPACK_OUTPUT_CONFIG_FILE</code></b></a></li>
    <li><a href="#variable:CPACK_PACKAGE_DESCRIPTION_FILE"><b><code>CPACK_PACKAGE_DESCRIPTION_FILE</code></b></a></li>
    <li><a href="#variable:CPACK_PACKAGE_DESCRIPTION_SUMMARY"><b><code>CPACK_PACKAGE_DESCRIPTION_SUMMARY</code></b></a></li>
    <li><a href="#variable:CPACK_PACKAGE_DIRECTORY"><b><code>CPACK_PACKAGE_DIRECTORY</code></b></a></li>
    <li><a href="#variable:CPACK_PACKAGE_EXECUTABLES"><b><code>CPACK_PACKAGE_EXECUTABLES</code></b></a></li>
    <li><a href="#variable:CPACK_PACKAGE_FILE_NAME"><b><code>CPACK_PACKAGE_FILE_NAME</code></b></a></li>
    <li><a href="#variable:CPACK_PACKAGE_ICON"><b><code>CPACK_PACKAGE_ICON</code></b></a></li>
    <li><a href="#variable:CPACK_PACKAGE_INSTALL_DIRECTORY"><b><code>CPACK_PACKAGE_INSTALL_DIRECTORY</code></b></a></li>
    <li><a href="#variable:CPACK_PACKAGE_INSTALL_REGISTRY_KEY"><b><code>CPACK_PACKAGE_INSTALL_REGISTRY_KEY</code></b></a></li>
    <li><a href="#variable:CPACK_PACKAGE_NAME"><b><code>CPACK_PACKAGE_NAME</code></b></a></li>
    <li><a href="#variable:CPACK_PACKAGE_VENDOR"><b><code>CPACK_PACKAGE_VENDOR</code></b></a></li>
    <li><a href="#variable:CPACK_PACKAGE_VERSION"><b><code>CPACK_PACKAGE_VERSION</code></b></a></li>
    <li><a href="#variable:CPACK_PACKAGE_VERSION_MAJOR"><b><code>CPACK_PACKAGE_VERSION_MAJOR</code></b></a></li>
    <li><a href="#variable:CPACK_PACKAGE_VERSION_MINOR"><b><code>CPACK_PACKAGE_VERSION_MINOR</code></b></a></li>
    <li><a href="#variable:CPACK_PACKAGE_VERSION_PATCH"><b><code>CPACK_PACKAGE_VERSION_PATCH</code></b></a></li>
    <li><a href="#variable:CPACK_PACKAGING_INSTALL_PREFIX"><b><code>CPACK_PACKAGING_INSTALL_PREFIX</code></b></a></li>
    <li><a href="#variable:CPACK_PROJECT_CONFIG_FILE"><b><code>CPACK_PROJECT_CONFIG_FILE</code></b></a></li>
    <li><a href="#variable:CPACK_RESOURCE_FILE_LICENSE"><b><code>CPACK_RESOURCE_FILE_LICENSE</code></b></a></li>
    <li><a href="#variable:CPACK_RESOURCE_FILE_README"><b><code>CPACK_RESOURCE_FILE_README</code></b></a></li>
    <li><a href="#variable:CPACK_RESOURCE_FILE_WELCOME"><b><code>CPACK_RESOURCE_FILE_WELCOME</code></b></a></li>
    <li><a href="#variable:CPACK_SET_DESTDIR"><b><code>CPACK_SET_DESTDIR</code></b></a></li>
    <li><a href="#variable:CPACK_SOURCE_GENERATOR"><b><code>CPACK_SOURCE_GENERATOR</code></b></a></li>
    <li><a href="#variable:CPACK_SOURCE_IGNORE_FILES"><b><code>CPACK_SOURCE_IGNORE_FILES</code></b></a></li>
    <li><a href="#variable:CPACK_SOURCE_OUTPUT_CONFIG_FILE"><b><code>CPACK_SOURCE_OUTPUT_CONFIG_FILE</code></b></a></li>
    <li><a href="#variable:CPACK_SOURCE_PACKAGE_FILE_NAME"><b><code>CPACK_SOURCE_PACKAGE_FILE_NAME</code></b></a></li>
    <li><a href="#variable:CPACK_SOURCE_STRIP_FILES"><b><code>CPACK_SOURCE_STRIP_FILES</code></b></a></li>
    <li><a href="#variable:CPACK_STRIP_FILES"><b><code>CPACK_STRIP_FILES</code></b></a></li>
    <li><a href="#variable:CPACK_SYSTEM_NAME"><b><code>CPACK_SYSTEM_NAME</code></b></a></li>
    <li><a href="#variable:CPACK_TOPLEVEL_TAG"><b><code>CPACK_TOPLEVEL_TAG</code></b></a></li>
    <li><a href="#variable:CPACK_WARN_ON_ABSOLUTE_INSTALL_DESTINATION"><b><code>CPACK_WARN_ON_ABSOLUTE_INSTALL_DESTINATION</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="variable:CPACK_ABSOLUTE_DESTINATION_FILES"></a><b><code>CPACK_ABSOLUTE_DESTINATION_FILES</code></b>: List of files which have been installed using  an ABSOLUTE DESTINATION path.<br />
    <p>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&lt;GEN&gt;.cmake file of &lt;GEN&gt; generator.</p>

  </li>
  <li>
    <a name="variable:CPACK_BINARY_GENNAME"></a><b><code>CPACK_BINARY_&lt;GENNAME&gt;</code></b>: CPack generated options for binary generators<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CPACK_CMAKE_GENERATOR"></a><b><code>CPACK_CMAKE_GENERATOR</code></b>: What CMake generator should be used if the project is CMake project.<br />
    <p>Defaults to the value of CMAKE_GENERATOR few users will want to change this setting.</p>

  </li>
  <li>
    <a name="variable:CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY"></a><b><code>CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY</code></b>: Boolean toggle to include/exclude top level directory (component case).<br />
    <p>Similar usage as CPACK_INCLUDE_TOPLEVEL_DIRECTORY but for the component case. See CPACK_INCLUDE_TOPLEVEL_DIRECTORY documentation for the detail.</p>

  </li>
  <li>
    <a name="variable:CPACK_CREATE_DESKTOP_LINKS"></a><b><code>CPACK_CREATE_DESKTOP_LINKS</code></b>: List of desktop links to create
  </li>
  <li>
    <a name="variable:CPACK_GENERATOR"></a><b><code>CPACK_GENERATOR</code></b>: List of CPack generators to use<br />
    <p>If not specified, CPack will create a set of options CPACK_BINARY_&lt;GENNAME&gt; (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:<br /></p>
<pre>    cpack -D CPACK_GENERATOR="ZIP;TGZ" /path/to/build/tree<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_INCLUDE_TOPLEVEL_DIRECTORY"></a><b><code>CPACK_INCLUDE_TOPLEVEL_DIRECTORY</code></b>: Boolean toggle to include/exclude top level directory.<br />
    <p>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).<br /></p>
<p>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.<br /></p>
<p>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.</p>

  </li>
  <li>
    <a name="variable:CPACK_INSTALLED_DIRECTORIES"></a><b><code>CPACK_INSTALLED_DIRECTORIES</code></b>: Extra directories to install
  </li>
  <li>
    <a name="variable:CPACK_INSTALL_CMAKE_PROJECTS"></a><b><code>CPACK_INSTALL_CMAKE_PROJECTS</code></b>: List of four values that specify what project to install.<br />
    <p>The four values are: Build directory, Project Name, Project Component, Directory. If omitted, CPack will build an installer that installers everything.</p>

  </li>
  <li>
    <a name="variable:CPACK_INSTALL_COMMANDS"></a><b><code>CPACK_INSTALL_COMMANDS</code></b>: Extra commands to install components
  </li>
  <li>
    <a name="variable:CPACK_INSTALL_SCRIPT"></a><b><code>CPACK_INSTALL_SCRIPT</code></b>: Extra CMake script provided by the user.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CPACK_MONOLITHIC_INSTALL"></a><b><code>CPACK_MONOLITHIC_INSTALL</code></b>: Disables the component-based installation mechanism.<br />
    <p>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_&lt;GENNAME&gt;_COMPONENT_INSTALL to 1/TRUE.</p>

  </li>
  <li>
    <a name="variable:CPACK_OUTPUT_CONFIG_FILE"></a><b><code>CPACK_OUTPUT_CONFIG_FILE</code></b>: The name of the CPack binary configuration file.<br />
    <p>This file is the CPack configuration generated by the CPack module for binary installers. Defaults to CPackConfig.cmake.</p>

  </li>
  <li>
    <a name="variable:CPACK_PACKAGE_DESCRIPTION_FILE"></a><b><code>CPACK_PACKAGE_DESCRIPTION_FILE</code></b>: A text file used to describe the project.<br />
    <p>Used, for example, the introduction screen of a CPack-generated Windows installer to describe the project.</p>

  </li>
  <li>
    <a name="variable:CPACK_PACKAGE_DESCRIPTION_SUMMARY"></a><b><code>CPACK_PACKAGE_DESCRIPTION_SUMMARY</code></b>: Short description of the project (only a few words).
  </li>
  <li>
    <a name="variable:CPACK_PACKAGE_DIRECTORY"></a><b><code>CPACK_PACKAGE_DIRECTORY</code></b>: The directory in which CPack is doing its packaging.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CPACK_PACKAGE_EXECUTABLES"></a><b><code>CPACK_PACKAGE_EXECUTABLES</code></b>: Lists each of the executables and associated text label to be used to create Start Menu shortcuts.<br />
    <p>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).</p>

  </li>
  <li>
    <a name="variable:CPACK_PACKAGE_FILE_NAME"></a><b><code>CPACK_PACKAGE_FILE_NAME</code></b>: The name of the package file to generate, not including the extension.<br />
    <p>For example, cmake-2.6.1-Linux-i686. The default value is<br /></p>
<pre>  ${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_SYSTEM_NAME}.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_PACKAGE_ICON"></a><b><code>CPACK_PACKAGE_ICON</code></b>: A branding image that will be displayed inside the installer (used by GUI installers).
  </li>
  <li>
    <a name="variable:CPACK_PACKAGE_INSTALL_DIRECTORY"></a><b><code>CPACK_PACKAGE_INSTALL_DIRECTORY</code></b>: Installation directory on the target system.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CPACK_PACKAGE_INSTALL_REGISTRY_KEY"></a><b><code>CPACK_PACKAGE_INSTALL_REGISTRY_KEY</code></b>: Registry key used when installing this project.<br />
    <p>This is only used by installer for Windows.   The default value is based on the installation directory.<br /></p>

  </li>
  <li>
    <a name="variable:CPACK_PACKAGE_NAME"></a><b><code>CPACK_PACKAGE_NAME</code></b>: The name of the package (or application)<br />
    <p>If not specified, defaults to the project name.</p>

  </li>
  <li>
    <a name="variable:CPACK_PACKAGE_VENDOR"></a><b><code>CPACK_PACKAGE_VENDOR</code></b>: The name of the package vendor<br />
    <p>(e.g., "Kitware").</p>

  </li>
  <li>
    <a name="variable:CPACK_PACKAGE_VERSION"></a><b><code>CPACK_PACKAGE_VERSION</code></b>: Package full version, used internally<br />
    <p>By default, this is built from CPACK_PACKAGE_VERSION_MAJOR, CPACK_PACKAGE_VERSION_MINOR, and CPACK_PACKAGE_VERSION_PATCH.</p>

  </li>
  <li>
    <a name="variable:CPACK_PACKAGE_VERSION_MAJOR"></a><b><code>CPACK_PACKAGE_VERSION_MAJOR</code></b>: Package major Version
  </li>
  <li>
    <a name="variable:CPACK_PACKAGE_VERSION_MINOR"></a><b><code>CPACK_PACKAGE_VERSION_MINOR</code></b>: Package minor Version
  </li>
  <li>
    <a name="variable:CPACK_PACKAGE_VERSION_PATCH"></a><b><code>CPACK_PACKAGE_VERSION_PATCH</code></b>: Package patch Version
  </li>
  <li>
    <a name="variable:CPACK_PACKAGING_INSTALL_PREFIX"></a><b><code>CPACK_PACKAGING_INSTALL_PREFIX</code></b>: The prefix used in the built package.<br />
    <p>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.<br /></p>
<p>e.g.  set(CPACK_PACKAGING_INSTALL_PREFIX "/opt")<br /></p>
<p>This is not the same purpose as CMAKE_INSTALL_PREFIX which is used when installing from the build tree without building a package.</p>

  </li>
  <li>
    <a name="variable:CPACK_PROJECT_CONFIG_FILE"></a><b><code>CPACK_PROJECT_CONFIG_FILE</code></b>: CPack-time project CPack configuration file.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CPACK_RESOURCE_FILE_LICENSE"></a><b><code>CPACK_RESOURCE_FILE_LICENSE</code></b>: License to be embedded in the installer<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CPACK_RESOURCE_FILE_README"></a><b><code>CPACK_RESOURCE_FILE_README</code></b>: ReadMe file to be embedded in the installer<br />
    <p>It typically describes in some detail the purpose of the project during the installation. Not all CPack generators uses this file.</p>

  </li>
  <li>
    <a name="variable:CPACK_RESOURCE_FILE_WELCOME"></a><b><code>CPACK_RESOURCE_FILE_WELCOME</code></b>: Welcome file to be embedded in the installer.<br />
    <p>It welcomes users to this installer. Typically used in the graphical installers on Windows and Mac OS X.</p>

  </li>
  <li>
    <a name="variable:CPACK_SET_DESTDIR"></a><b><code>CPACK_SET_DESTDIR</code></b>: Boolean toggle to make CPack use DESTDIR mechanism when packaging.<br />
    <p>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:<br /></p>
<pre> make DESTDIR=/home/john install<br /></pre>
    <p>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.<br /></p>
<p>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.</p>

  </li>
  <li>
    <a name="variable:CPACK_SOURCE_GENERATOR"></a><b><code>CPACK_SOURCE_GENERATOR</code></b>: List of generators used for the source packages.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CPACK_SOURCE_IGNORE_FILES"></a><b><code>CPACK_SOURCE_IGNORE_FILES</code></b>: Pattern of files in the source tree that won't be packaged when building a source package.<br />
    <p>This is a list of regular expression patterns (that must be properly escaped), e.g., /CVS/;/\\.svn/;\\.swp$;\\.#;/#;.*~;cscope.*</p>

  </li>
  <li>
    <a name="variable:CPACK_SOURCE_OUTPUT_CONFIG_FILE"></a><b><code>CPACK_SOURCE_OUTPUT_CONFIG_FILE</code></b>: The name of the CPack source configuration file.<br />
    <p>This file is the CPack configuration generated by the CPack module for source installers. Defaults to CPackSourceConfig.cmake.</p>

  </li>
  <li>
    <a name="variable:CPACK_SOURCE_PACKAGE_FILE_NAME"></a><b><code>CPACK_SOURCE_PACKAGE_FILE_NAME</code></b>: The name of the source package<br />
    <p>For example cmake-2.6.1.</p>

  </li>
  <li>
    <a name="variable:CPACK_SOURCE_STRIP_FILES"></a><b><code>CPACK_SOURCE_STRIP_FILES</code></b>: List of files in the source tree that will be stripped.<br />
    <p>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).</p>

  </li>
  <li>
    <a name="variable:CPACK_STRIP_FILES"></a><b><code>CPACK_STRIP_FILES</code></b>: List of files to be stripped<br />
    <p>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).</p>

  </li>
  <li>
    <a name="variable:CPACK_SYSTEM_NAME"></a><b><code>CPACK_SYSTEM_NAME</code></b>: System name, defaults to the value of ${CMAKE_SYSTEM_NAME}.
  </li>
  <li>
    <a name="variable:CPACK_TOPLEVEL_TAG"></a><b><code>CPACK_TOPLEVEL_TAG</code></b>: Directory for the installed files
  </li>
  <li>
    <a name="variable:CPACK_WARN_ON_ABSOLUTE_INSTALL_DESTINATION"></a><b><code>CPACK_WARN_ON_ABSOLUTE_INSTALL_DESTINATION</code></b>: Ask CPack to warn each time a file with absolute INSTALL DESTINATION is encountered.<br />
    <p>This variable triggers the definition of CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION when CPack runs cmake_install.cmake scripts.</p>

  </li>
</ul>
<h2><a name="section_VariablesconcerningCPackComponents"></a>Variables concerning CPack Components</h2>
<ul>
    <li><a href="#variable:CPACK_GENNAME_COMPONENT_INSTALL"><b><code>CPACK_&lt;GENNAME&gt;_COMPONENT_INSTALL</code></b></a></li>
    <li><a href="#variable:CPACK_COMPONENTS_ALL"><b><code>CPACK_COMPONENTS_ALL</code></b></a></li>
    <li><a href="#variable:CPACK_COMPONENTS_GROUPING"><b><code>CPACK_COMPONENTS_GROUPING</code></b></a></li>
    <li><a href="#variable:CPACK_COMPONENT_compName_DEPENDS"><b><code>CPACK_COMPONENT_&lt;compName&gt;_DEPENDS</code></b></a></li>
    <li><a href="#variable:CPACK_COMPONENT_compName_DESCRIPTION"><b><code>CPACK_COMPONENT_&lt;compName&gt;_DESCRIPTION</code></b></a></li>
    <li><a href="#variable:CPACK_COMPONENT_compName_DISPLAY_NAME"><b><code>CPACK_COMPONENT_&lt;compName&gt;_DISPLAY_NAME</code></b></a></li>
    <li><a href="#variable:CPACK_COMPONENT_compName_GROUP"><b><code>CPACK_COMPONENT_&lt;compName&gt;_GROUP</code></b></a></li>
    <li><a href="#variable:CPACK_COMPONENT_compName_REQUIRED"><b><code>CPACK_COMPONENT_&lt;compName&gt;_REQUIRED</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="variable:CPACK_GENNAME_COMPONENT_INSTALL"></a><b><code>CPACK_&lt;GENNAME&gt;_COMPONENT_INSTALL</code></b>: Enable/Disable component install for CPack generator &lt;GENNAME&gt;.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CPACK_COMPONENTS_ALL"></a><b><code>CPACK_COMPONENTS_ALL</code></b>: The list of component to install<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CPACK_COMPONENTS_GROUPING"></a><b><code>CPACK_COMPONENTS_GROUPING</code></b>: Specify how components are grouped for multi-package component-aware CPack generators.<br />
    <p>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:<br /></p>
<pre>  - ONE_PER_GROUP (default): creates one package file per component group<br />  - ALL_COMPONENTS_IN_ONE : creates a single package with all (requested) component<br />  - IGNORE : creates one package per component, i.e. IGNORE component group<br /></pre>
    <p>One can specify different grouping for different CPack generator by using a CPACK_PROJECT_CONFIG_FILE.</p>

  </li>
  <li>
    <a name="variable:CPACK_COMPONENT_compName_DEPENDS"></a><b><code>CPACK_COMPONENT_&lt;compName&gt;_DEPENDS</code></b>: The dependencies (list of components) on which this component depends.
  </li>
  <li>
    <a name="variable:CPACK_COMPONENT_compName_DESCRIPTION"></a><b><code>CPACK_COMPONENT_&lt;compName&gt;_DESCRIPTION</code></b>: The description of a component
  </li>
  <li>
    <a name="variable:CPACK_COMPONENT_compName_DISPLAY_NAME"></a><b><code>CPACK_COMPONENT_&lt;compName&gt;_DISPLAY_NAME</code></b>: The name to be displayed for a component
  </li>
  <li>
    <a name="variable:CPACK_COMPONENT_compName_GROUP"></a><b><code>CPACK_COMPONENT_&lt;compName&gt;_GROUP</code></b>: The group of a component
  </li>
  <li>
    <a name="variable:CPACK_COMPONENT_compName_REQUIRED"></a><b><code>CPACK_COMPONENT_&lt;compName&gt;_REQUIRED</code></b>: True is this component is required
  </li>
</ul>
<h2><a name="section_VariablesforLanguages"></a>Variables for Languages</h2>
<ul>
    <li><a href="#variable:CMAKE_LANG_ARCHIVE_APPEND"><b><code>CMAKE_&lt;LANG&gt;_ARCHIVE_APPEND</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_ARCHIVE_CREATE"><b><code>CMAKE_&lt;LANG&gt;_ARCHIVE_CREATE</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_ARCHIVE_FINISH"><b><code>CMAKE_&lt;LANG&gt;_ARCHIVE_FINISH</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_COMPILER"><b><code>CMAKE_&lt;LANG&gt;_COMPILER</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_COMPILER_ABI"><b><code>CMAKE_&lt;LANG&gt;_COMPILER_ABI</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_COMPILER_ID"><b><code>CMAKE_&lt;LANG&gt;_COMPILER_ID</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_COMPILER_LOADED"><b><code>CMAKE_&lt;LANG&gt;_COMPILER_LOADED</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_COMPILER_VERSION"><b><code>CMAKE_&lt;LANG&gt;_COMPILER_VERSION</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_COMPILE_OBJECT"><b><code>CMAKE_&lt;LANG&gt;_COMPILE_OBJECT</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_CREATE_SHARED_LIBRARY"><b><code>CMAKE_&lt;LANG&gt;_CREATE_SHARED_LIBRARY</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_CREATE_SHARED_MODULE"><b><code>CMAKE_&lt;LANG&gt;_CREATE_SHARED_MODULE</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_CREATE_STATIC_LIBRARY"><b><code>CMAKE_&lt;LANG&gt;_CREATE_STATIC_LIBRARY</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_FLAGS"><b><code>CMAKE_&lt;LANG&gt;_FLAGS</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_FLAGS_DEBUG"><b><code>CMAKE_&lt;LANG&gt;_FLAGS_DEBUG</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_FLAGS_MINSIZEREL"><b><code>CMAKE_&lt;LANG&gt;_FLAGS_MINSIZEREL</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_FLAGS_RELEASE"><b><code>CMAKE_&lt;LANG&gt;_FLAGS_RELEASE</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_FLAGS_RELWITHDEBINFO"><b><code>CMAKE_&lt;LANG&gt;_FLAGS_RELWITHDEBINFO</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_IGNORE_EXTENSIONS"><b><code>CMAKE_&lt;LANG&gt;_IGNORE_EXTENSIONS</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_IMPLICIT_INCLUDE_DIRECTORIES"><b><code>CMAKE_&lt;LANG&gt;_IMPLICIT_INCLUDE_DIRECTORIES</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES"><b><code>CMAKE_&lt;LANG&gt;_IMPLICIT_LINK_DIRECTORIES</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES"><b><code>CMAKE_&lt;LANG&gt;_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_IMPLICIT_LINK_LIBRARIES"><b><code>CMAKE_&lt;LANG&gt;_IMPLICIT_LINK_LIBRARIES</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_LIBRARY_ARCHITECTURE"><b><code>CMAKE_&lt;LANG&gt;_LIBRARY_ARCHITECTURE</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_LINKER_PREFERENCE"><b><code>CMAKE_&lt;LANG&gt;_LINKER_PREFERENCE</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_LINKER_PREFERENCE_PROPAGATES"><b><code>CMAKE_&lt;LANG&gt;_LINKER_PREFERENCE_PROPAGATES</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_LINK_EXECUTABLE"><b><code>CMAKE_&lt;LANG&gt;_LINK_EXECUTABLE </code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_OUTPUT_EXTENSION"><b><code>CMAKE_&lt;LANG&gt;_OUTPUT_EXTENSION</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_PLATFORM_ID"><b><code>CMAKE_&lt;LANG&gt;_PLATFORM_ID</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_SIZEOF_DATA_PTR"><b><code>CMAKE_&lt;LANG&gt;_SIZEOF_DATA_PTR</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_SOURCE_FILE_EXTENSIONS"><b><code>CMAKE_&lt;LANG&gt;_SOURCE_FILE_EXTENSIONS</code></b></a></li>
    <li><a href="#variable:CMAKE_COMPILER_IS_GNULANG"><b><code>CMAKE_COMPILER_IS_GNU&lt;LANG&gt;</code></b></a></li>
    <li><a href="#variable:CMAKE_Fortran_MODDIR_DEFAULT"><b><code>CMAKE_Fortran_MODDIR_DEFAULT</code></b></a></li>
    <li><a href="#variable:CMAKE_Fortran_MODDIR_FLAG"><b><code>CMAKE_Fortran_MODDIR_FLAG</code></b></a></li>
    <li><a href="#variable:CMAKE_Fortran_MODOUT_FLAG"><b><code>CMAKE_Fortran_MODOUT_FLAG</code></b></a></li>
    <li><a href="#variable:CMAKE_INTERNAL_PLATFORM_ABI"><b><code>CMAKE_INTERNAL_PLATFORM_ABI</code></b></a></li>
    <li><a href="#variable:CMAKE_USER_MAKE_RULES_OVERRIDE_LANG"><b><code>CMAKE_USER_MAKE_RULES_OVERRIDE_&lt;LANG&gt;</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="variable:CMAKE_LANG_ARCHIVE_APPEND"></a><b><code>CMAKE_&lt;LANG&gt;_ARCHIVE_APPEND</code></b>: Rule variable to append to a static archive.<br />
    <p>This is a rule variable that tells CMake how to append to a static archive.  It is used in place of CMAKE_&lt;LANG&gt;_CREATE_STATIC_LIBRARY on some platforms in order to support large object counts.  See also CMAKE_&lt;LANG&gt;_ARCHIVE_CREATE and CMAKE_&lt;LANG&gt;_ARCHIVE_FINISH.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_ARCHIVE_CREATE"></a><b><code>CMAKE_&lt;LANG&gt;_ARCHIVE_CREATE</code></b>: Rule variable to create a new static archive.<br />
    <p>This is a rule variable that tells CMake how to create a static archive.  It is used in place of CMAKE_&lt;LANG&gt;_CREATE_STATIC_LIBRARY on some platforms in order to support large object counts.  See also CMAKE_&lt;LANG&gt;_ARCHIVE_APPEND and CMAKE_&lt;LANG&gt;_ARCHIVE_FINISH.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_ARCHIVE_FINISH"></a><b><code>CMAKE_&lt;LANG&gt;_ARCHIVE_FINISH</code></b>: Rule variable to finish an existing static archive.<br />
    <p>This is a rule variable that tells CMake how to finish a static archive.  It is used in place of CMAKE_&lt;LANG&gt;_CREATE_STATIC_LIBRARY on some platforms in order to support large object counts.  See also CMAKE_&lt;LANG&gt;_ARCHIVE_CREATE and CMAKE_&lt;LANG&gt;_ARCHIVE_APPEND.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_COMPILER"></a><b><code>CMAKE_&lt;LANG&gt;_COMPILER</code></b>: The full path to the compiler for LANG.<br />
    <p>This is the command that will be used as the &lt;LANG&gt; compiler.  Once set, you can not change this variable.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_COMPILER_ABI"></a><b><code>CMAKE_&lt;LANG&gt;_COMPILER_ABI</code></b>: An internal variable subject to change.<br />
    <p>This is used in determining the compiler ABI and is subject to change.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_COMPILER_ID"></a><b><code>CMAKE_&lt;LANG&gt;_COMPILER_ID</code></b>: Compiler identification string.<br />
    <p>A short string unique to the compiler vendor.  Possible values include:<br /></p>
<pre>  Absoft = Absoft Fortran (absoft.com)<br />  ADSP = Analog VisualDSP++ (analog.com)<br />  Clang = LLVM Clang (clang.llvm.org)<br />  Cray = Cray Compiler (cray.com)<br />  Embarcadero, Borland = Embarcadero (embarcadero.com)<br />  G95 = G95 Fortran (g95.org)<br />  GNU = GNU Compiler Collection (gcc.gnu.org)<br />  HP = Hewlett-Packard Compiler (hp.com)<br />  Intel = Intel Compiler (intel.com)<br />  MIPSpro = SGI MIPSpro (sgi.com)<br />  MSVC = Microsoft Visual Studio (microsoft.com)<br />  PGI = The Portland Group (pgroup.com)<br />  PathScale = PathScale (pathscale.com)<br />  SDCC = Small Device C Compiler (sdcc.sourceforge.net)<br />  SunPro = Oracle Solaris Studio (oracle.com)<br />  TI = Texas Instruments (ti.com)<br />  TinyCC = Tiny C Compiler (tinycc.org)<br />  Watcom = Open Watcom (openwatcom.org)<br />  XL, VisualAge, zOS = IBM XL (ibm.com)<br /></pre>
    <p>This variable is not guaranteed to be defined for all compilers or languages.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_COMPILER_LOADED"></a><b><code>CMAKE_&lt;LANG&gt;_COMPILER_LOADED</code></b>: Defined to true if the language is enabled.<br />
    <p>When language &lt;LANG&gt; is enabled by project() or enable_language() this variable is defined to 1.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_COMPILER_VERSION"></a><b><code>CMAKE_&lt;LANG&gt;_COMPILER_VERSION</code></b>: Compiler version string.<br />
    <p>Compiler version in major[.minor[.patch[.tweak]]] format.  This variable is not guaranteed to be defined for all compilers or languages.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_COMPILE_OBJECT"></a><b><code>CMAKE_&lt;LANG&gt;_COMPILE_OBJECT</code></b>: Rule variable to compile a single object file.<br />
    <p>This is a rule variable that tells CMake how to compile a single object file for the language &lt;LANG&gt;.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_CREATE_SHARED_LIBRARY"></a><b><code>CMAKE_&lt;LANG&gt;_CREATE_SHARED_LIBRARY</code></b>: Rule variable to create a shared library.<br />
    <p>This is a rule variable that tells CMake how to create a shared library for the language &lt;LANG&gt;.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_CREATE_SHARED_MODULE"></a><b><code>CMAKE_&lt;LANG&gt;_CREATE_SHARED_MODULE</code></b>: Rule variable to create a shared module.<br />
    <p>This is a rule variable that tells CMake how to create a shared library for the language &lt;LANG&gt;.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_CREATE_STATIC_LIBRARY"></a><b><code>CMAKE_&lt;LANG&gt;_CREATE_STATIC_LIBRARY</code></b>: Rule variable to create a static library.<br />
    <p>This is a rule variable that tells CMake how to create a static library for the language &lt;LANG&gt;.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_FLAGS"></a><b><code>CMAKE_&lt;LANG&gt;_FLAGS</code></b>: Flags for all build types.<br />
    <p>&lt;LANG&gt; flags used regardless of the value of CMAKE_BUILD_TYPE.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_FLAGS_DEBUG"></a><b><code>CMAKE_&lt;LANG&gt;_FLAGS_DEBUG</code></b>: Flags for Debug build type or configuration.<br />
    <p>&lt;LANG&gt; flags used when CMAKE_BUILD_TYPE is Debug.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_FLAGS_MINSIZEREL"></a><b><code>CMAKE_&lt;LANG&gt;_FLAGS_MINSIZEREL</code></b>: Flags for MinSizeRel build type or configuration.<br />
    <p>&lt;LANG&gt; flags used when CMAKE_BUILD_TYPE is MinSizeRel.Short for minimum size release.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_FLAGS_RELEASE"></a><b><code>CMAKE_&lt;LANG&gt;_FLAGS_RELEASE</code></b>: Flags for Release build type or configuration.<br />
    <p>&lt;LANG&gt; flags used when CMAKE_BUILD_TYPE is Release</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_FLAGS_RELWITHDEBINFO"></a><b><code>CMAKE_&lt;LANG&gt;_FLAGS_RELWITHDEBINFO</code></b>: Flags for RelWithDebInfo type or configuration.<br />
    <p>&lt;LANG&gt; flags used when CMAKE_BUILD_TYPE is RelWithDebInfo.  Short for Release With Debug Information.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_IGNORE_EXTENSIONS"></a><b><code>CMAKE_&lt;LANG&gt;_IGNORE_EXTENSIONS</code></b>: File extensions that should be ignored by the build.<br />
    <p>This is a list of file extensions that may be part of a project for a given language but are not compiled.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_IMPLICIT_INCLUDE_DIRECTORIES"></a><b><code>CMAKE_&lt;LANG&gt;_IMPLICIT_INCLUDE_DIRECTORIES</code></b>: Directories implicitly searched by the compiler for header files.<br />
    <p>CMake does not explicitly specify these directories on compiler command lines for language &lt;LANG&gt;.  This prevents system include directories from being treated as user include directories on some compilers.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES"></a><b><code>CMAKE_&lt;LANG&gt;_IMPLICIT_LINK_DIRECTORIES</code></b>: Implicit linker search path detected for language &lt;LANG&gt;.<br />
    <p>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.<br /></p>
<p>When a library in one of these directories is given by full path to target_link_libraries() CMake will generate the -l&lt;name&gt; 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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES"></a><b><code>CMAKE_&lt;LANG&gt;_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES</code></b>: Implicit linker framework search path detected for language &lt;LANG&gt;.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_IMPLICIT_LINK_LIBRARIES"></a><b><code>CMAKE_&lt;LANG&gt;_IMPLICIT_LINK_LIBRARIES</code></b>: Implicit link libraries and flags detected for language &lt;LANG&gt;.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_LIBRARY_ARCHITECTURE"></a><b><code>CMAKE_&lt;LANG&gt;_LIBRARY_ARCHITECTURE</code></b>: Target architecture library directory name detected for &lt;lang&gt;.<br />
    <p>If the &lt;lang&gt; compiler passes to the linker an architecture-specific system library search directory such as &lt;prefix&gt;/lib/&lt;arch&gt; this variable contains the &lt;arch&gt; name if/as detected by CMake.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_LINKER_PREFERENCE"></a><b><code>CMAKE_&lt;LANG&gt;_LINKER_PREFERENCE</code></b>: Preference value for linker language selection.<br />
    <p>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_&lt;LANG&gt;_LINKER_PREFERENCE_PROPAGATES variable.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_LINKER_PREFERENCE_PROPAGATES"></a><b><code>CMAKE_&lt;LANG&gt;_LINKER_PREFERENCE_PROPAGATES</code></b>: True if CMAKE_&lt;LANG&gt;_LINKER_PREFERENCE propagates across targets.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_LINK_EXECUTABLE"></a><b><code>CMAKE_&lt;LANG&gt;_LINK_EXECUTABLE </code></b>: Rule variable to link an executable.<br />
    <p>Rule variable to link an executable for the given language.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_OUTPUT_EXTENSION"></a><b><code>CMAKE_&lt;LANG&gt;_OUTPUT_EXTENSION</code></b>: Extension for the output of a compile for a single file.<br />
    <p>This is the extension for an object file for the given &lt;LANG&gt;. For example .obj for C on Windows.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_PLATFORM_ID"></a><b><code>CMAKE_&lt;LANG&gt;_PLATFORM_ID</code></b>: An internal variable subject to change.<br />
    <p>This is used in determining the platform and is subject to change.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_SIZEOF_DATA_PTR"></a><b><code>CMAKE_&lt;LANG&gt;_SIZEOF_DATA_PTR</code></b>: Size of pointer-to-data types for language &lt;LANG&gt;.<br />
    <p>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++).</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_SOURCE_FILE_EXTENSIONS"></a><b><code>CMAKE_&lt;LANG&gt;_SOURCE_FILE_EXTENSIONS</code></b>: Extensions of source files for the given language.<br />
    <p>This is the list of extensions for a given language's source files.</p>

  </li>
  <li>
    <a name="variable:CMAKE_COMPILER_IS_GNULANG"></a><b><code>CMAKE_COMPILER_IS_GNU&lt;LANG&gt;</code></b>: True if the compiler is GNU.<br />
    <p>If the selected &lt;LANG&gt; 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 &lt;LANG&gt; suffix are:<br /></p>
<pre>  CC = C compiler<br />  CXX = C++ compiler<br />  G77 = Fortran compiler</pre>
    
  </li>
  <li>
    <a name="variable:CMAKE_Fortran_MODDIR_DEFAULT"></a><b><code>CMAKE_Fortran_MODDIR_DEFAULT</code></b>: Fortran default module output directory.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_Fortran_MODDIR_FLAG"></a><b><code>CMAKE_Fortran_MODDIR_FLAG</code></b>: Fortran flag for module output directory.<br />
    <p>This stores the flag needed to pass the value of the Fortran_MODULE_DIRECTORY target property to the compiler.</p>

  </li>
  <li>
    <a name="variable:CMAKE_Fortran_MODOUT_FLAG"></a><b><code>CMAKE_Fortran_MODOUT_FLAG</code></b>: Fortran flag to enable module output.<br />
    <p>Most Fortran compilers write .mod files out by default.  For others, this stores the flag needed to enable module output.</p>

  </li>
  <li>
    <a name="variable:CMAKE_INTERNAL_PLATFORM_ABI"></a><b><code>CMAKE_INTERNAL_PLATFORM_ABI</code></b>: An internal variable subject to change.<br />
    <p>This is used in determining the compiler ABI and is subject to change.</p>

  </li>
  <li>
    <a name="variable:CMAKE_USER_MAKE_RULES_OVERRIDE_LANG"></a><b><code>CMAKE_USER_MAKE_RULES_OVERRIDE_&lt;LANG&gt;</code></b>: Specify a CMake file that overrides platform information for &lt;LANG&gt;.<br />
    <p>This is a language-specific version of CMAKE_USER_MAKE_RULES_OVERRIDE loaded only when enabling language &lt;LANG&gt;.</p>

  </li>
</ul>
<h2><a name="section_VariablesspecifictoCPackBundlegenerator"></a>Variables specific to CPack Bundle generator</h2>
<ul>
    <li><a href="#variable:CPACK_BUNDLE_ICON"><b><code>CPACK_BUNDLE_ICON</code></b></a></li>
    <li><a href="#variable:CPACK_BUNDLE_NAME"><b><code>CPACK_BUNDLE_NAME</code></b></a></li>
    <li><a href="#variable:CPACK_BUNDLE_PLIST"><b><code>CPACK_BUNDLE_PLIST</code></b></a></li>
    <li><a href="#variable:CPACK_BUNDLE_STARTUP_COMMAND"><b><code>CPACK_BUNDLE_STARTUP_COMMAND</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="variable:CPACK_BUNDLE_ICON"></a><b><code>CPACK_BUNDLE_ICON</code></b>: Path to an OSX icon file that will be used as the icon for the generated bundle.<br />
    <p>This is the icon that appears in the OSX finder for the bundle, and in the OSX dock when the bundle is opened. Required.</p>

  </li>
  <li>
    <a name="variable:CPACK_BUNDLE_NAME"></a><b><code>CPACK_BUNDLE_NAME</code></b>: The name of the generated bundle<br />
    <p>This appears in the OSX finder as the bundle name. Required.</p>

  </li>
  <li>
    <a name="variable:CPACK_BUNDLE_PLIST"></a><b><code>CPACK_BUNDLE_PLIST</code></b>: Path to an OSX plist file that will be used for the generated bundle.<br />
    <p>This assumes that the caller has generated or specified their own Info.plist file. Required.</p>

  </li>
  <li>
    <a name="variable:CPACK_BUNDLE_STARTUP_COMMAND"></a><b><code>CPACK_BUNDLE_STARTUP_COMMAND</code></b>: Path to a startup script<br />
    <p>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.</p>

  </li>
</ul>
<h2><a name="section_VariablesspecifictoCPackCygwingenerator"></a>Variables specific to CPack Cygwin generator</h2>
<ul>
    <li><a href="#variable:CPACK_CYGWIN_BUILD_SCRIPT"><b><code>CPACK_CYGWIN_BUILD_SCRIPT</code></b></a></li>
    <li><a href="#variable:CPACK_CYGWIN_PATCH_FILE"><b><code>CPACK_CYGWIN_PATCH_FILE</code></b></a></li>
    <li><a href="#variable:CPACK_CYGWIN_PATCH_NUMBER"><b><code>CPACK_CYGWIN_PATCH_NUMBER</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="variable:CPACK_CYGWIN_BUILD_SCRIPT"></a><b><code>CPACK_CYGWIN_BUILD_SCRIPT</code></b>: The Cygwin build script<br />
    <pre>   FIXME: This documentation is incomplete.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_CYGWIN_PATCH_FILE"></a><b><code>CPACK_CYGWIN_PATCH_FILE</code></b>: The Cygwin patch file<br />
    <pre>   FIXME: This documentation is incomplete.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_CYGWIN_PATCH_NUMBER"></a><b><code>CPACK_CYGWIN_PATCH_NUMBER</code></b>: The Cygwin patch number<br />
    <pre>   FIXME: This documentation is incomplete.<br /></pre>
    
  </li>
</ul>
<h2><a name="section_VariablesspecifictoCPackDebianDEBgenerator"></a>Variables specific to CPack Debian (DEB) generator</h2>
<ul>
    <li><a href="#variable:CPACK_DEBIAN_PACKAGE_ARCHITECTURE"><b><code>CPACK_DEBIAN_PACKAGE_ARCHITECTURE</code></b></a></li>
    <li><a href="#variable:CPACK_DEBIAN_PACKAGE_BREAKS"><b><code>CPACK_DEBIAN_PACKAGE_BREAKS</code></b></a></li>
    <li><a href="#variable:CPACK_DEBIAN_PACKAGE_CONFLICTS"><b><code>CPACK_DEBIAN_PACKAGE_CONFLICTS</code></b></a></li>
    <li><a href="#variable:CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA"><b><code>CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA</code></b></a></li>
    <li><a href="#variable:CPACK_DEBIAN_PACKAGE_DEBUG"><b><code>CPACK_DEBIAN_PACKAGE_DEBUG</code></b></a></li>
    <li><a href="#variable:CPACK_DEBIAN_PACKAGE_DEPENDS"><b><code>CPACK_DEBIAN_PACKAGE_DEPENDS</code></b></a></li>
    <li><a href="#variable:CPACK_DEBIAN_PACKAGE_DESCRIPTION"><b><code>CPACK_DEBIAN_PACKAGE_DESCRIPTION</code></b></a></li>
    <li><a href="#variable:CPACK_DEBIAN_PACKAGE_ENHANCES"><b><code>CPACK_DEBIAN_PACKAGE_ENHANCES</code></b></a></li>
    <li><a href="#variable:CPACK_DEBIAN_PACKAGE_HOMEPAGE"><b><code>CPACK_DEBIAN_PACKAGE_HOMEPAGE</code></b></a></li>
    <li><a href="#variable:CPACK_DEBIAN_PACKAGE_MAINTAINER"><b><code>CPACK_DEBIAN_PACKAGE_MAINTAINER</code></b></a></li>
    <li><a href="#variable:CPACK_DEBIAN_PACKAGE_NAME"><b><code>CPACK_DEBIAN_PACKAGE_NAME</code></b></a></li>
    <li><a href="#variable:CPACK_DEBIAN_PACKAGE_PREDEPENDS"><b><code>CPACK_DEBIAN_PACKAGE_PREDEPENDS</code></b></a></li>
    <li><a href="#variable:CPACK_DEBIAN_PACKAGE_PRIORITY"><b><code>CPACK_DEBIAN_PACKAGE_PRIORITY</code></b></a></li>
    <li><a href="#variable:CPACK_DEBIAN_PACKAGE_PROVIDES"><b><code>CPACK_DEBIAN_PACKAGE_PROVIDES</code></b></a></li>
    <li><a href="#variable:CPACK_DEBIAN_PACKAGE_RECOMMENDS"><b><code>CPACK_DEBIAN_PACKAGE_RECOMMENDS</code></b></a></li>
    <li><a href="#variable:CPACK_DEBIAN_PACKAGE_REPLACES"><b><code>CPACK_DEBIAN_PACKAGE_REPLACES</code></b></a></li>
    <li><a href="#variable:CPACK_DEBIAN_PACKAGE_SECTION"><b><code>CPACK_DEBIAN_PACKAGE_SECTION</code></b></a></li>
    <li><a href="#variable:CPACK_DEBIAN_PACKAGE_SHLIBDEPS"><b><code>CPACK_DEBIAN_PACKAGE_SHLIBDEPS</code></b></a></li>
    <li><a href="#variable:CPACK_DEBIAN_PACKAGE_SUGGESTS"><b><code>CPACK_DEBIAN_PACKAGE_SUGGESTS</code></b></a></li>
    <li><a href="#variable:CPACK_DEBIAN_PACKAGE_VERSION"><b><code>CPACK_DEBIAN_PACKAGE_VERSION</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="variable:CPACK_DEBIAN_PACKAGE_ARCHITECTURE"></a><b><code>CPACK_DEBIAN_PACKAGE_ARCHITECTURE</code></b>: <br />
    <pre>     Mandatory : YES<br />     Default   : Output of dpkg --print-architecture (or i386 if dpkg is not found)<br />     The debian package architecture<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_DEBIAN_PACKAGE_BREAKS"></a><b><code>CPACK_DEBIAN_PACKAGE_BREAKS</code></b>: <br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     see <a href="http://www.debian.org/doc/debian-policy/ch-relationships.html">http://www.debian.org/doc/debian-policy/ch-relationships.html</a>#s-binarydeps<br />     When one binary package declares that it breaks another, dpkg will refuse to allow the<br />     package which declares Breaks be installed unless the broken package is deconfigured first,<br />     and it will refuse to allow the broken package to be reconfigured.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_DEBIAN_PACKAGE_CONFLICTS"></a><b><code>CPACK_DEBIAN_PACKAGE_CONFLICTS</code></b>: <br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     see <a href="http://www.debian.org/doc/debian-policy/ch-relationships.html">http://www.debian.org/doc/debian-policy/ch-relationships.html</a>#s-binarydeps<br />     When one binary package declares a conflict with another using a Conflicts field,<br />     dpkg will refuse to allow them to be installed on the system at the same time.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA"></a><b><code>CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA</code></b>: <br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     This variable allow advanced user to add custom script to the control.tar.gz<br />     Typical usage is for conffiles, postinst, postrm, prerm.<br />     Usage: set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA<br />            "${CMAKE_CURRENT_SOURCE_DIR/prerm;${CMAKE_CURRENT_SOURCE_DIR}/postrm")<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_DEBIAN_PACKAGE_DEBUG"></a><b><code>CPACK_DEBIAN_PACKAGE_DEBUG</code></b>: <br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     May be set when invoking cpack in order to trace debug information<br />     during CPackDeb run.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_DEBIAN_PACKAGE_DEPENDS"></a><b><code>CPACK_DEBIAN_PACKAGE_DEPENDS</code></b>: <br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     May be used to set deb dependencies.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_DEBIAN_PACKAGE_DESCRIPTION"></a><b><code>CPACK_DEBIAN_PACKAGE_DESCRIPTION</code></b>: <br />
    <pre>     Mandatory : YES<br />     Default   : CPACK_PACKAGE_DESCRIPTION_SUMMARY<br />     The debian package description<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_DEBIAN_PACKAGE_ENHANCES"></a><b><code>CPACK_DEBIAN_PACKAGE_ENHANCES</code></b>: <br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     see <a href="http://www.debian.org/doc/debian-policy/ch-relationships.html">http://www.debian.org/doc/debian-policy/ch-relationships.html</a>#s-binarydeps<br />     This field is similar to Suggests but works in the opposite direction.<br />     It is used to declare that a package can enhance the functionality of another package.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_DEBIAN_PACKAGE_HOMEPAGE"></a><b><code>CPACK_DEBIAN_PACKAGE_HOMEPAGE</code></b>: <br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     The URL of the web site for this package, preferably (when applicable) the<br />     site from which the original source can be obtained and any additional<br />     upstream documentation or information may be found.<br />     The content of this field is a simple URL without any surrounding<br />     characters such as &lt;&gt;.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_DEBIAN_PACKAGE_MAINTAINER"></a><b><code>CPACK_DEBIAN_PACKAGE_MAINTAINER</code></b>: <br />
    <pre>     Mandatory : YES<br />     Default   : CPACK_PACKAGE_CONTACT<br />     The debian package maintainer<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_DEBIAN_PACKAGE_NAME"></a><b><code>CPACK_DEBIAN_PACKAGE_NAME</code></b>: <br />
    <pre>     Mandatory : YES<br />     Default   : CPACK_PACKAGE_NAME (lower case)<br />     The debian package summary<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_DEBIAN_PACKAGE_PREDEPENDS"></a><b><code>CPACK_DEBIAN_PACKAGE_PREDEPENDS</code></b>: <br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     see <a href="http://www.debian.org/doc/debian-policy/ch-relationships.html">http://www.debian.org/doc/debian-policy/ch-relationships.html</a>#s-binarydeps<br />     This field is like Depends, except that it also forces dpkg to complete installation of<br />     the packages named before even starting the installation of the package which declares<br />     the pre-dependency.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_DEBIAN_PACKAGE_PRIORITY"></a><b><code>CPACK_DEBIAN_PACKAGE_PRIORITY</code></b>: <br />
    <pre>     Mandatory : YES<br />     Default   : 'optional'<br />     The debian package priority<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_DEBIAN_PACKAGE_PROVIDES"></a><b><code>CPACK_DEBIAN_PACKAGE_PROVIDES</code></b>: <br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     see <a href="http://www.debian.org/doc/debian-policy/ch-relationships.html">http://www.debian.org/doc/debian-policy/ch-relationships.html</a>#s-binarydeps<br />     A virtual package is one which appears in the Provides control field of another package.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_DEBIAN_PACKAGE_RECOMMENDS"></a><b><code>CPACK_DEBIAN_PACKAGE_RECOMMENDS</code></b>: <br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     see <a href="http://www.debian.org/doc/debian-policy/ch-relationships.html">http://www.debian.org/doc/debian-policy/ch-relationships.html</a>#s-binarydeps<br />     Allows packages to declare a strong, but not absolute, dependency on other packages.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_DEBIAN_PACKAGE_REPLACES"></a><b><code>CPACK_DEBIAN_PACKAGE_REPLACES</code></b>: <br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     see <a href="http://www.debian.org/doc/debian-policy/ch-relationships.html">http://www.debian.org/doc/debian-policy/ch-relationships.html</a>#s-binarydeps<br />     Packages can declare in their control file that they should overwrite<br />     files in certain other packages, or completely replace other packages.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_DEBIAN_PACKAGE_SECTION"></a><b><code>CPACK_DEBIAN_PACKAGE_SECTION</code></b>: <br />
    <pre>     Mandatory : YES<br />     Default   : 'devel'<br />     The debian package section<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_DEBIAN_PACKAGE_SHLIBDEPS"></a><b><code>CPACK_DEBIAN_PACKAGE_SHLIBDEPS</code></b>: <br />
    <pre>     Mandatory : NO<br />     Default   : OFF<br />     May be set to ON in order to use dpkg-shlibdeps to generate<br />     better package dependency list.<br />     You may need set CMAKE_INSTALL_RPATH toi appropriate value<br />     if you use this feature, because if you don't dpkg-shlibdeps<br />     may fail to find your own shared libs.<br />     See <a href="http://www.cmake.org/Wiki/CMake_RPATH_handling.">http://www.cmake.org/Wiki/CMake_RPATH_handling.</a><br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_DEBIAN_PACKAGE_SUGGESTS"></a><b><code>CPACK_DEBIAN_PACKAGE_SUGGESTS</code></b>: <br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     see <a href="http://www.debian.org/doc/debian-policy/ch-relationships.html">http://www.debian.org/doc/debian-policy/ch-relationships.html</a>#s-binarydeps<br />     Allows packages to declare a suggested package install grouping.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_DEBIAN_PACKAGE_VERSION"></a><b><code>CPACK_DEBIAN_PACKAGE_VERSION</code></b>: <br />
    <pre>     Mandatory : YES<br />     Default   : CPACK_PACKAGE_VERSION<br />     The debian package version<br /></pre>
    
  </li>
</ul>
<h2><a name="section_VariablesspecifictoCPackDragNDropgenerator"></a>Variables specific to CPack DragNDrop generator</h2>
<ul>
    <li><a href="#variable:CPACK_COMMAND_HDIUTIL"><b><code>CPACK_COMMAND_HDIUTIL</code></b></a></li>
    <li><a href="#variable:CPACK_COMMAND_REZ"><b><code>CPACK_COMMAND_REZ</code></b></a></li>
    <li><a href="#variable:CPACK_COMMAND_SETFILE"><b><code>CPACK_COMMAND_SETFILE</code></b></a></li>
    <li><a href="#variable:CPACK_DMG_BACKGROUND_IMAGE"><b><code>CPACK_DMG_BACKGROUND_IMAGE</code></b></a></li>
    <li><a href="#variable:CPACK_DMG_DS_STORE"><b><code>CPACK_DMG_DS_STORE</code></b></a></li>
    <li><a href="#variable:CPACK_DMG_FORMAT"><b><code>CPACK_DMG_FORMAT</code></b></a></li>
    <li><a href="#variable:CPACK_DMG_VOLUME_NAME"><b><code>CPACK_DMG_VOLUME_NAME</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="variable:CPACK_COMMAND_HDIUTIL"></a><b><code>CPACK_COMMAND_HDIUTIL</code></b>: Path to the hdiutil(1) command used to operate on disk image files on Mac OS X.<br />
    <p>This variable can be used to override the automatically detected command (or specify its location if the auto-detection fails to find it.)</p>

  </li>
  <li>
    <a name="variable:CPACK_COMMAND_REZ"></a><b><code>CPACK_COMMAND_REZ</code></b>: Path to the Rez(1) command used to compile resources on Mac OS X.<br />
    <p>This variable can be used to override the automatically detected command (or specify its location if the auto-detection fails to find it.)</p>

  </li>
  <li>
    <a name="variable:CPACK_COMMAND_SETFILE"></a><b><code>CPACK_COMMAND_SETFILE</code></b>: Path to the SetFile(1) command used to set extended attributes on files and directories on Mac OS X.<br />
    <p>This variable can be used to override the automatically detected command (or specify its location if the auto-detection fails to find it.)</p>

  </li>
  <li>
    <a name="variable:CPACK_DMG_BACKGROUND_IMAGE"></a><b><code>CPACK_DMG_BACKGROUND_IMAGE</code></b>: Path to a background image file<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CPACK_DMG_DS_STORE"></a><b><code>CPACK_DMG_DS_STORE</code></b>: Path to a custom DS_Store file<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CPACK_DMG_FORMAT"></a><b><code>CPACK_DMG_FORMAT</code></b>: The disk image format<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CPACK_DMG_VOLUME_NAME"></a><b><code>CPACK_DMG_VOLUME_NAME</code></b>: The volume name of the generated disk image.<br />
    <p>Defaults to CPACK_PACKAGE_FILE_NAME.</p>

  </li>
</ul>
<h2><a name="section_VariablesspecifictoCPackNSISgenerator"></a>Variables specific to CPack NSIS generator</h2>
<ul>
    <li><a href="#variable:CPACK_NSIS_COMPRESSOR"><b><code>CPACK_NSIS_COMPRESSOR</code></b></a></li>
    <li><a href="#variable:CPACK_NSIS_CONTACT"><b><code>CPACK_NSIS_CONTACT</code></b></a></li>
    <li><a href="#variable:CPACK_NSIS_CREATE_ICONS_EXTRA"><b><code>CPACK_NSIS_CREATE_ICONS_EXTRA</code></b></a></li>
    <li><a href="#variable:CPACK_NSIS_DELETE_ICONS_EXTRA"><b><code>CPACK_NSIS_DELETE_ICONS_EXTRA</code></b></a></li>
    <li><a href="#variable:CPACK_NSIS_DISPLAY_NAME"><b><code>CPACK_NSIS_DISPLAY_NAME</code></b></a></li>
    <li><a href="#variable:CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL"><b><code>CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL</code></b></a></li>
    <li><a href="#variable:CPACK_NSIS_EXECUTABLES_DIRECTORY"><b><code>CPACK_NSIS_EXECUTABLES_DIRECTORY</code></b></a></li>
    <li><a href="#variable:CPACK_NSIS_EXTRA_INSTALL_COMMANDS"><b><code>CPACK_NSIS_EXTRA_INSTALL_COMMANDS</code></b></a></li>
    <li><a href="#variable:CPACK_NSIS_EXTRA_PREINSTALL_COMMANDS"><b><code>CPACK_NSIS_EXTRA_PREINSTALL_COMMANDS</code></b></a></li>
    <li><a href="#variable:CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS"><b><code>CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS</code></b></a></li>
    <li><a href="#variable:CPACK_NSIS_HELP_LINK"><b><code>CPACK_NSIS_HELP_LINK</code></b></a></li>
    <li><a href="#variable:CPACK_NSIS_INSTALLED_ICON_NAME"><b><code>CPACK_NSIS_INSTALLED_ICON_NAME</code></b></a></li>
    <li><a href="#variable:CPACK_NSIS_INSTALLER_MUI_ICON_CODE"><b><code>CPACK_NSIS_INSTALLER_MUI_ICON_CODE</code></b></a></li>
    <li><a href="#variable:CPACK_NSIS_INSTALL_ROOT"><b><code>CPACK_NSIS_INSTALL_ROOT</code></b></a></li>
    <li><a href="#variable:CPACK_NSIS_MENU_LINKS"><b><code>CPACK_NSIS_MENU_LINKS</code></b></a></li>
    <li><a href="#variable:CPACK_NSIS_MODIFY_PATH"><b><code>CPACK_NSIS_MODIFY_PATH</code></b></a></li>
    <li><a href="#variable:CPACK_NSIS_MUI_FINISHPAGE_RUN"><b><code>CPACK_NSIS_MUI_FINISHPAGE_RUN</code></b></a></li>
    <li><a href="#variable:CPACK_NSIS_MUI_ICON"><b><code>CPACK_NSIS_MUI_ICON</code></b></a></li>
    <li><a href="#variable:CPACK_NSIS_MUI_UNIICON"><b><code>CPACK_NSIS_MUI_UNIICON</code></b></a></li>
    <li><a href="#variable:CPACK_NSIS_PACKAGE_NAME"><b><code>CPACK_NSIS_PACKAGE_NAME</code></b></a></li>
    <li><a href="#variable:CPACK_NSIS_URL_INFO_ABOUT"><b><code>CPACK_NSIS_URL_INFO_ABOUT</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="variable:CPACK_NSIS_COMPRESSOR"></a><b><code>CPACK_NSIS_COMPRESSOR</code></b>: The arguments that will be passed to the NSIS SetCompressor command.
  </li>
  <li>
    <a name="variable:CPACK_NSIS_CONTACT"></a><b><code>CPACK_NSIS_CONTACT</code></b>: Contact information for questions and comments about the installation process.
  </li>
  <li>
    <a name="variable:CPACK_NSIS_CREATE_ICONS_EXTRA"></a><b><code>CPACK_NSIS_CREATE_ICONS_EXTRA</code></b>: Additional NSIS commands for creating start menu shortcuts.
  </li>
  <li>
    <a name="variable:CPACK_NSIS_DELETE_ICONS_EXTRA"></a><b><code>CPACK_NSIS_DELETE_ICONS_EXTRA</code></b>: Additional NSIS commands to uninstall start menu shortcuts.
  </li>
  <li>
    <a name="variable:CPACK_NSIS_DISPLAY_NAME"></a><b><code>CPACK_NSIS_DISPLAY_NAME</code></b>: The display name string that appears in   the Windows Add/Remove Program control panel<br />
  </li>
  <li>
    <a name="variable:CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL"></a><b><code>CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL</code></b>: Ask about uninstalling previous versions first.<br />
    <pre>   If this is set to "ON", then an installer will look for previous<br />   installed versions and if one is found, ask the user whether to<br />   uninstall it before proceeding with the install.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_NSIS_EXECUTABLES_DIRECTORY"></a><b><code>CPACK_NSIS_EXECUTABLES_DIRECTORY</code></b>: Creating NSIS start menu links assumes that they are in 'bin' unless this variable is set.<br />
    <pre>   For example, you would set this to 'exec' if your executables are<br />   in an exec directory.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_NSIS_EXTRA_INSTALL_COMMANDS"></a><b><code>CPACK_NSIS_EXTRA_INSTALL_COMMANDS</code></b>: Extra NSIS commands that   will be added to the end of the install Section, after your<br /> install tree is available on the target system.
  </li>
  <li>
    <a name="variable:CPACK_NSIS_EXTRA_PREINSTALL_COMMANDS"></a><b><code>CPACK_NSIS_EXTRA_PREINSTALL_COMMANDS</code></b>: Extra NSIS commands that   will be added to the beginning of the install Section, before your<br /> install tree is available on the target system.
  </li>
  <li>
    <a name="variable:CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS"></a><b><code>CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS</code></b>: Extra NSIS commands that will   be added to the uninstall Section, before your install tree is<br /> removed from the target system.
  </li>
  <li>
    <a name="variable:CPACK_NSIS_HELP_LINK"></a><b><code>CPACK_NSIS_HELP_LINK</code></b>: URL to a web site providing assistance in installing your application.
  </li>
  <li>
    <a name="variable:CPACK_NSIS_INSTALLED_ICON_NAME"></a><b><code>CPACK_NSIS_INSTALLED_ICON_NAME</code></b>: A path to the executable that contains the installer icon.
  </li>
  <li>
    <a name="variable:CPACK_NSIS_INSTALLER_MUI_ICON_CODE"></a><b><code>CPACK_NSIS_INSTALLER_MUI_ICON_CODE</code></b>: undocumented
  </li>
  <li>
    <a name="variable:CPACK_NSIS_INSTALL_ROOT"></a><b><code>CPACK_NSIS_INSTALL_ROOT</code></b>: The default installation directory presented to the end user by the NSIS installer is under this root dir.<br />
    <p>The full   directory presented to the end user is:<br /></p>
<pre>   ${CPACK_NSIS_INSTALL_ROOT}/${CPACK_PACKAGE_INSTALL_DIRECTORY}<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_NSIS_MENU_LINKS"></a><b><code>CPACK_NSIS_MENU_LINKS</code></b>: Specify links in [application] menu<br />
    <pre>   This should contain a list of pair "link" "link name". The link<br />   may be an URL or a path relative to installation prefix.<br />   Like:<br />     set(CPACK_NSIS_MENU_LINKS<br />         "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake.html" "CMake Help"<br />         "<a href="http://www.cmake.org">http://www.cmake.org</a>" "CMake Web Site")<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_NSIS_MODIFY_PATH"></a><b><code>CPACK_NSIS_MODIFY_PATH</code></b>: Modify PATH toggle<br />
    <pre>   If this is set to "ON", then an extra page<br />   will appear in the installer that will allow the user to choose<br />   whether the program directory should be added to the system PATH<br />   variable.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_NSIS_MUI_FINISHPAGE_RUN"></a><b><code>CPACK_NSIS_MUI_FINISHPAGE_RUN</code></b>: Specify an executable to add an option to run on the finish page of the NSIS installer.
  </li>
  <li>
    <a name="variable:CPACK_NSIS_MUI_ICON"></a><b><code>CPACK_NSIS_MUI_ICON</code></b>: An icon filename<br />
    <pre>   The name of a *.ico file used as the main icon for the generated<br />   install program.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_NSIS_MUI_UNIICON"></a><b><code>CPACK_NSIS_MUI_UNIICON</code></b>: An icon filename<br />
    <pre>   The name of a *.ico file used as the main icon for the generated<br />   uninstall program.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_NSIS_PACKAGE_NAME"></a><b><code>CPACK_NSIS_PACKAGE_NAME</code></b>: The title displayed at the top of the installer.
  </li>
  <li>
    <a name="variable:CPACK_NSIS_URL_INFO_ABOUT"></a><b><code>CPACK_NSIS_URL_INFO_ABOUT</code></b>: URL to a web site providing more information about your application.
  </li>
</ul>
<h2><a name="section_VariablesspecifictoCPackPackageMakergenerator"></a>Variables specific to CPack PackageMaker generator</h2>
<ul>
    <li><a href="#variable:CPACK_OSX_PACKAGE_VERSION"><b><code>CPACK_OSX_PACKAGE_VERSION</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="variable:CPACK_OSX_PACKAGE_VERSION"></a><b><code>CPACK_OSX_PACKAGE_VERSION</code></b>: The version of Mac OS X that the resulting PackageMaker archive should be compatible with.<br />
    <p>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.</p>

  </li>
</ul>
<h2><a name="section_VariablesspecifictoCPackRPMgenerator"></a>Variables specific to CPack RPM generator</h2>
<ul>
    <li><a href="#variable:CPACK_RPM_CHANGELOG_FILE"><b><code>CPACK_RPM_CHANGELOG_FILE</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_COMPRESSION_TYPE"><b><code>CPACK_RPM_COMPRESSION_TYPE</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST"><b><code>CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION"><b><code>CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_GENERATE_USER_BINARY_SPECFILE_TEMPLATE"><b><code>CPACK_RPM_GENERATE_USER_BINARY_SPECFILE_TEMPLATE</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_PACKAGE_ARCHITECTURE"><b><code>CPACK_RPM_PACKAGE_ARCHITECTURE</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_PACKAGE_DEBUG"><b><code>CPACK_RPM_PACKAGE_DEBUG</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_PACKAGE_DESCRIPTION"><b><code>CPACK_RPM_PACKAGE_DESCRIPTION</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_PACKAGE_GROUP"><b><code>CPACK_RPM_PACKAGE_GROUP</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_PACKAGE_LICENSE"><b><code>CPACK_RPM_PACKAGE_LICENSE</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_PACKAGE_NAME"><b><code>CPACK_RPM_PACKAGE_NAME</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_PACKAGE_OBSOLETES"><b><code>CPACK_RPM_PACKAGE_OBSOLETES</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_PACKAGE_PROVIDES"><b><code>CPACK_RPM_PACKAGE_PROVIDES</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_PACKAGE_RELEASE"><b><code>CPACK_RPM_PACKAGE_RELEASE</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_PACKAGE_RELOCATABLE"><b><code>CPACK_RPM_PACKAGE_RELOCATABLE</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_PACKAGE_REQUIRES"><b><code>CPACK_RPM_PACKAGE_REQUIRES</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_PACKAGE_SUGGESTS"><b><code>CPACK_RPM_PACKAGE_SUGGESTS</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_PACKAGE_SUMMARY"><b><code>CPACK_RPM_PACKAGE_SUMMARY</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_PACKAGE_URL"><b><code>CPACK_RPM_PACKAGE_URL</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_PACKAGE_VENDOR"><b><code>CPACK_RPM_PACKAGE_VENDOR</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_PACKAGE_VERSION"><b><code>CPACK_RPM_PACKAGE_VERSION</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_POST_INSTALL_SCRIPT_FILE"><b><code>CPACK_RPM_POST_INSTALL_SCRIPT_FILE</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_PRE_INSTALL_SCRIPT_FILE"><b><code>CPACK_RPM_PRE_INSTALL_SCRIPT_FILE</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_SPEC_INSTALL_POST"><b><code>CPACK_RPM_SPEC_INSTALL_POST</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_SPEC_MORE_DEFINE"><b><code>CPACK_RPM_SPEC_MORE_DEFINE</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_USER_BINARY_SPECFILE"><b><code>CPACK_RPM_USER_BINARY_SPECFILE</code></b></a></li>
    <li><a href="#variable:CPACK_RPM_USER_FILELIST"><b><code>CPACK_RPM_USER_FILELIST</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="variable:CPACK_RPM_CHANGELOG_FILE"></a><b><code>CPACK_RPM_CHANGELOG_FILE</code></b>: RPM changelog file<br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     May be used to embed a changelog in the spec file.<br />     The refered file will be read and directly put after the %changelog<br />     section.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_COMPRESSION_TYPE"></a><b><code>CPACK_RPM_COMPRESSION_TYPE</code></b>: RPM compression type<br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     May be used to override RPM compression type to be used<br />     to build the RPM. For example some Linux distribution now default<br />     to lzma or xz compression whereas older cannot use such RPM.<br />     Using this one can enforce compression type to be used.<br />     Possible value are: lzma, xz, bzip2 and gzip.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST"></a><b><code>CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST</code></b>: list of path to be excluded<br />
    <pre>     Mandatory : NO<br />     Default   : /etc /etc/init.d /usr /usr/share /usr/share/doc /usr/bin /usr/lib /usr/lib64 /usr/include<br />     May be used to exclude path (directories or files) from the auto-generated<br />     list of paths discovered by CPack RPM. The defaut value contains a reasonable<br />     set of values if the variable is not defined by the user. If the variable<br />     is defined by the user then CPackRPM will NOT any of the default path.<br />     If you want to add some path to the default list then you can use<br />     CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION variable.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION"></a><b><code>CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION</code></b>: additional list of path to be excluded<br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     May be used to add more exclude path (directories or files) from the initial<br />     default list of excluded paths. See CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_GENERATE_USER_BINARY_SPECFILE_TEMPLATE"></a><b><code>CPACK_RPM_GENERATE_USER_BINARY_SPECFILE_TEMPLATE</code></b>: Spec file template<br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     If set CPack will generate a template for USER specified binary<br />     spec file and stop with an error. For example launch CPack like this<br />     cpack -D CPACK_RPM_GENERATE_USER_BINARY_SPECFILE_TEMPLATE=1 -G RPM<br />     The user may then use this file in order to hand-craft is own<br />     binary spec file which may be used with CPACK_RPM_USER_BINARY_SPECFILE.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_PACKAGE_ARCHITECTURE"></a><b><code>CPACK_RPM_PACKAGE_ARCHITECTURE</code></b>: The RPM package architecture<br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     This may be set to "noarch" if you<br />     know you are building a noarch package.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_PACKAGE_DEBUG"></a><b><code>CPACK_RPM_PACKAGE_DEBUG</code></b>: Toggle CPackRPM debug output<br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     May be set when invoking cpack in order to trace debug information<br />     during CPack RPM run. For example you may launch CPack like this<br />     cpack -D CPACK_RPM_PACKAGE_DEBUG=1 -G RPM<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_PACKAGE_DESCRIPTION"></a><b><code>CPACK_RPM_PACKAGE_DESCRIPTION</code></b>: RPM package description<br />
    <pre>     Mandatory : YES<br />     Default   : CPACK_PACKAGE_DESCRIPTION_FILE if set or "no package description available"<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_PACKAGE_GROUP"></a><b><code>CPACK_RPM_PACKAGE_GROUP</code></b>: The RPM package group<br />
    <pre>     Mandatory : YES<br />     Default   : "unknown"<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_PACKAGE_LICENSE"></a><b><code>CPACK_RPM_PACKAGE_LICENSE</code></b>: The RPM package license policy<br />
    <pre>     Mandatory : YES<br />     Default   : "unknown"<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_PACKAGE_NAME"></a><b><code>CPACK_RPM_PACKAGE_NAME</code></b>: The RPM package name<br />
    <pre>     Mandatory : YES<br />     Default   : CPACK_PACKAGE_NAME<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_PACKAGE_OBSOLETES"></a><b><code>CPACK_RPM_PACKAGE_OBSOLETES</code></b>: RPM spec obsoletes field<br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     May be used to set RPM packages that are obsoleted by this one.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_PACKAGE_PROVIDES"></a><b><code>CPACK_RPM_PACKAGE_PROVIDES</code></b>: RPM spec provides field<br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     May be used to set RPM dependencies (provides).<br />     The provided package list of an RPM file could be printed with<br />     rpm -qp --provides file.rpm<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_PACKAGE_RELEASE"></a><b><code>CPACK_RPM_PACKAGE_RELEASE</code></b>: The RPM package release<br />
    <pre>     Mandatory : YES<br />     Default   : 1<br />     This is the numbering of the RPM package<br />     itself, i.e. the version of the packaging and not the version of the<br />     content (see CPACK_RPM_PACKAGE_VERSION). One may change the default<br />     value if the previous packaging was buggy and/or you want to put here<br />     a fancy Linux distro specific numbering.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_PACKAGE_RELOCATABLE"></a><b><code>CPACK_RPM_PACKAGE_RELOCATABLE</code></b>: build a relocatable RPM<br />
    <pre>     Mandatory : NO<br />     Default   : CPACK_PACKAGE_RELOCATABLE<br />     If this variable is set to TRUE or ON CPackRPM will try<br />     to build a relocatable RPM package. A relocatable RPM may<br />     be installed using rpm --prefix or --relocate in order to<br />     install it at an alternate place see rpm(8).<br />     Note that currently this may fail if CPACK_SET_DESTDIR is set to ON.<br />     If CPACK_SET_DESTDIR is set then you will get a warning message<br />     but if there is file installed with absolute path you'll get<br />     unexpected behavior.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_PACKAGE_REQUIRES"></a><b><code>CPACK_RPM_PACKAGE_REQUIRES</code></b>: RPM spec requires field<br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     May be used to set RPM dependencies (requires).<br />     Note that you must enclose the complete requires string between quotes,<br />     for example:<br />     set(CPACK_RPM_PACKAGE_REQUIRES "python &gt;= 2.5.0, cmake &gt;= 2.8")<br />     The required package list of an RPM file could be printed with<br />     rpm -qp --requires file.rpm<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_PACKAGE_SUGGESTS"></a><b><code>CPACK_RPM_PACKAGE_SUGGESTS</code></b>: RPM spec suggest field<br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     May be used to set weak RPM dependencies (suggests).<br />     Note that you must enclose the complete requires string between quotes.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_PACKAGE_SUMMARY"></a><b><code>CPACK_RPM_PACKAGE_SUMMARY</code></b>: The RPM package summary<br />
    <pre>     Mandatory : YES<br />     Default   : CPACK_PACKAGE_DESCRIPTION_SUMMARY<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_PACKAGE_URL"></a><b><code>CPACK_RPM_PACKAGE_URL</code></b>: The projects URL<br />
    <pre>     Mandatory : NO<br />     Default   : -<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_PACKAGE_VENDOR"></a><b><code>CPACK_RPM_PACKAGE_VENDOR</code></b>: The RPM package vendor<br />
    <pre>     Mandatory : YES<br />     Default   : CPACK_PACKAGE_VENDOR if set or "unknown"<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_PACKAGE_VERSION"></a><b><code>CPACK_RPM_PACKAGE_VERSION</code></b>: The RPM package version<br />
    <pre>     Mandatory : YES<br />     Default   : CPACK_PACKAGE_VERSION<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_POST_INSTALL_SCRIPT_FILE"></a><b><code>CPACK_RPM_POST_INSTALL_SCRIPT_FILE</code></b>: <br />
    <pre>  CPACK_RPM_POST_UNINSTALL_SCRIPT_FILE<br />     Mandatory : NO<br />     Default   : -<br />     May be used to embed a post (un)installation script in the spec file.<br />     The refered script file(s) will be read and directly<br />     put after the %post or %postun section<br />     If CPACK_RPM_COMPONENT_INSTALL is set to ON the (un)install script for<br />     each component can be overridden with<br />     CPACK_RPM_&lt;COMPONENT&gt;_POST_INSTALL_SCRIPT_FILE and<br />     CPACK_RPM_&lt;COMPONENT&gt;_POST_UNINSTALL_SCRIPT_FILE<br />     One may verify which scriptlet has been included with<br />      rpm -qp --scripts  package.rpm<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_PRE_INSTALL_SCRIPT_FILE"></a><b><code>CPACK_RPM_PRE_INSTALL_SCRIPT_FILE</code></b>: <br />
    <pre>  CPACK_RPM_PRE_UNINSTALL_SCRIPT_FILE<br />     Mandatory : NO<br />     Default   : -<br />     May be used to embed a pre (un)installation script in the spec file.<br />     The refered script file(s) will be read and directly<br />     put after the %pre or %preun section<br />     If CPACK_RPM_COMPONENT_INSTALL is set to ON the (un)install script for<br />     each component can be overridden with<br />     CPACK_RPM_&lt;COMPONENT&gt;_PRE_INSTALL_SCRIPT_FILE and<br />     CPACK_RPM_&lt;COMPONENT&gt;_PRE_UNINSTALL_SCRIPT_FILE<br />     One may verify which scriptlet has been included with<br />      rpm -qp --scripts  package.rpm<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_SPEC_INSTALL_POST"></a><b><code>CPACK_RPM_SPEC_INSTALL_POST</code></b>: [deprecated]<br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     This way of specifying post-install script is deprecated use<br />     CPACK_RPM_POST_INSTALL_SCRIPT_FILE<br />     May be used to set an RPM post-install command inside the spec file.<br />     For example setting it to "/bin/true" may be used to prevent<br />     rpmbuild to strip binaries.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_SPEC_MORE_DEFINE"></a><b><code>CPACK_RPM_SPEC_MORE_DEFINE</code></b>: RPM extended spec definitions lines<br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     May be used to add any %define lines to the generated spec file.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_USER_BINARY_SPECFILE"></a><b><code>CPACK_RPM_USER_BINARY_SPECFILE</code></b>: A user provided spec file<br />
    <pre>     Mandatory : NO<br />     Default   : -<br />     May be set by the user in order to specify a USER binary spec file<br />     to be used by CPackRPM instead of generating the file.<br />     The specified file will be processed by configure_file( @ONLY).<br />     One can provide a component specific file by setting<br />     CPACK_RPM_&lt;componentName&gt;_USER_BINARY_SPECFILE.<br /></pre>
    
  </li>
  <li>
    <a name="variable:CPACK_RPM_USER_FILELIST"></a><b><code>CPACK_RPM_USER_FILELIST</code></b>: <br />
    <pre>  CPACK_RPM_&lt;COMPONENT&gt;_USER_FILELIST<br />     Mandatory : NO<br />     Default   : -<br />     May be used to explicitly specify %(&lt;directive&gt;) file line<br />     in the spec file. Like %config(noreplace) or any other directive<br />     that be found in the %files section. Since CPackRPM is generating<br />     the list of files (and directories) the user specified files of<br />     the CPACK_RPM_&lt;COMPONENT&gt;_USER_FILELIST list will be removed from the generated list.<br /></pre>
    
  </li>
</ul>
<h2><a name="section_VariablesspecifictoCPackWiXgenerator"></a>Variables specific to CPack WiX generator</h2>
<ul>
    <li><a href="#variable:CPACK_WIX_CULTURES"><b><code>CPACK_WIX_CULTURES</code></b></a></li>
    <li><a href="#variable:CPACK_WIX_LICENSE_RTF"><b><code>CPACK_WIX_LICENSE_RTF</code></b></a></li>
    <li><a href="#variable:CPACK_WIX_PRODUCT_GUID"><b><code>CPACK_WIX_PRODUCT_GUID</code></b></a></li>
    <li><a href="#variable:CPACK_WIX_PRODUCT_ICON"><b><code>CPACK_WIX_PRODUCT_ICON</code></b></a></li>
    <li><a href="#variable:CPACK_WIX_PROGRAM_MENU_FOLDER"><b><code>CPACK_WIX_PROGRAM_MENU_FOLDER</code></b></a></li>
    <li><a href="#variable:CPACK_WIX_TEMPLATE"><b><code>CPACK_WIX_TEMPLATE</code></b></a></li>
    <li><a href="#variable:CPACK_WIX_UI_BANNER"><b><code>CPACK_WIX_UI_BANNER</code></b></a></li>
    <li><a href="#variable:CPACK_WIX_UI_DIALOG"><b><code>CPACK_WIX_UI_DIALOG</code></b></a></li>
    <li><a href="#variable:CPACK_WIX_UPGRADE_GUID"><b><code>CPACK_WIX_UPGRADE_GUID</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="variable:CPACK_WIX_CULTURES"></a><b><code>CPACK_WIX_CULTURES</code></b>: Language(s) of the installer<br />
    <p>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: <a href="http://wix.sourceforge.net/manual-wix3/WixUI_localization.htm">http://wix.sourceforge.net/manual-wix3/WixUI_localization.htm</a><br /></p>

  </li>
  <li>
    <a name="variable:CPACK_WIX_LICENSE_RTF"></a><b><code>CPACK_WIX_LICENSE_RTF</code></b>: RTF License File<br />
    <p>If CPACK_RESOURCE_FILE_LICENSE has an .rtf extension it is used as-is.<br /></p>
<p>If CPACK_RESOURCE_FILE_LICENSE has an .txt extension it is implicitly converted to RTF by the WiX Generator.<br /></p>
<p>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 -&gt; .rtf conversion does not work as expected.<br /></p>

  </li>
  <li>
    <a name="variable:CPACK_WIX_PRODUCT_GUID"></a><b><code>CPACK_WIX_PRODUCT_GUID</code></b>: Product GUID (Product/@Id)<br />
    <p>Will be automatically generated unless explicitly provided.<br /></p>
<p>If explicitly provided this will set the Product Id of your installer.<br /></p>
<p>The installer will abort if it detects a pre-existing installation that uses the same GUID.<br /></p>
<p>The GUID shall use the syntax described for CPACK_WIX_UPGRADE_GUID.</p>

  </li>
  <li>
    <a name="variable:CPACK_WIX_PRODUCT_ICON"></a><b><code>CPACK_WIX_PRODUCT_ICON</code></b>: The Icon shown next to the program name in Add/Remove programs<br />
    <p>If set, this icon is used in place of the default icon.<br /></p>

  </li>
  <li>
    <a name="variable:CPACK_WIX_PROGRAM_MENU_FOLDER"></a><b><code>CPACK_WIX_PROGRAM_MENU_FOLDER</code></b>: Start menu folder name for launcher<br />
    <p>If this variable is not set, it will be initialized with CPACK_PACKAGE_NAME<br /></p>

  </li>
  <li>
    <a name="variable:CPACK_WIX_TEMPLATE"></a><b><code>CPACK_WIX_TEMPLATE</code></b>: Template file for WiX generation<br />
    <p>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.<br /></p>
<p>If this variable is not set, the default MSI template included with CMake will be used.<br /></p>

  </li>
  <li>
    <a name="variable:CPACK_WIX_UI_BANNER"></a><b><code>CPACK_WIX_UI_BANNER</code></b>: The bitmap will appear at the top of all installer pages other than the welcome and completion dialogs<br />
    <p>If set, this image will replace the default banner image.<br /></p>
<p>This image must be 493 by 58 pixels.<br /></p>

  </li>
  <li>
    <a name="variable:CPACK_WIX_UI_DIALOG"></a><b><code>CPACK_WIX_UI_DIALOG</code></b>: Background bitmap used on the welcome and completion dialogs<br />
    <p>If this variable is set, the installer will replace the default dialog image.<br /></p>
<p>This image must be 493 by 312 pixels.<br /></p>

  </li>
  <li>
    <a name="variable:CPACK_WIX_UPGRADE_GUID"></a><b><code>CPACK_WIX_UPGRADE_GUID</code></b>: Upgrade GUID (Product/@UpgradeCode)<br />
    <p>Will be automatically generated unless explicitly provided.<br /></p>
<p>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.<br /></p>
<p>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.<br /></p>
<p>A GUID shall have the following fixed length syntax: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX<br /></p>
<pre>  (each X represents an uppercase hexadecimal digit)<br /></pre>
    
  </li>
</ul>
<h2><a name="section_VariablesthatControltheBuild"></a>Variables that Control the Build</h2>
<ul>
    <li><a href="#variable:CMAKE_CONFIG_POSTFIX"><b><code>CMAKE_&lt;CONFIG&gt;_POSTFIX</code></b></a></li>
    <li><a href="#variable:CMAKE_LANG_VISIBILITY_PRESET"><b><code>CMAKE_&lt;LANG&gt;_VISIBILITY_PRESET</code></b></a></li>
    <li><a href="#variable:CMAKE_ARCHIVE_OUTPUT_DIRECTORY"><b><code>CMAKE_ARCHIVE_OUTPUT_DIRECTORY</code></b></a></li>
    <li><a href="#variable:CMAKE_AUTOMOC"><b><code>CMAKE_AUTOMOC</code></b></a></li>
    <li><a href="#variable:CMAKE_AUTOMOC_MOC_OPTIONS"><b><code>CMAKE_AUTOMOC_MOC_OPTIONS</code></b></a></li>
    <li><a href="#variable:CMAKE_BUILD_WITH_INSTALL_RPATH"><b><code>CMAKE_BUILD_WITH_INSTALL_RPATH</code></b></a></li>
    <li><a href="#variable:CMAKE_DEBUG_POSTFIX"><b><code>CMAKE_DEBUG_POSTFIX</code></b></a></li>
    <li><a href="#variable:CMAKE_EXE_LINKER_FLAGS"><b><code>CMAKE_EXE_LINKER_FLAGS</code></b></a></li>
    <li><a href="#variable:CMAKE_EXE_LINKER_FLAGS_CONFIG"><b><code>CMAKE_EXE_LINKER_FLAGS_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#variable:CMAKE_Fortran_FORMAT"><b><code>CMAKE_Fortran_FORMAT</code></b></a></li>
    <li><a href="#variable:CMAKE_Fortran_MODULE_DIRECTORY"><b><code>CMAKE_Fortran_MODULE_DIRECTORY</code></b></a></li>
    <li><a href="#variable:CMAKE_GNUtoMS"><b><code>CMAKE_GNUtoMS</code></b></a></li>
    <li><a href="#variable:CMAKE_INCLUDE_CURRENT_DIR"><b><code>CMAKE_INCLUDE_CURRENT_DIR</code></b></a></li>
    <li><a href="#variable:CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE"><b><code>CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE</code></b></a></li>
    <li><a href="#variable:CMAKE_INSTALL_NAME_DIR"><b><code>CMAKE_INSTALL_NAME_DIR</code></b></a></li>
    <li><a href="#variable:CMAKE_INSTALL_RPATH"><b><code>CMAKE_INSTALL_RPATH</code></b></a></li>
    <li><a href="#variable:CMAKE_INSTALL_RPATH_USE_LINK_PATH"><b><code>CMAKE_INSTALL_RPATH_USE_LINK_PATH</code></b></a></li>
    <li><a href="#variable:CMAKE_LIBRARY_OUTPUT_DIRECTORY"><b><code>CMAKE_LIBRARY_OUTPUT_DIRECTORY</code></b></a></li>
    <li><a href="#variable:CMAKE_LIBRARY_PATH_FLAG"><b><code>CMAKE_LIBRARY_PATH_FLAG</code></b></a></li>
    <li><a href="#variable:CMAKE_LINK_DEF_FILE_FLAG"><b><code>CMAKE_LINK_DEF_FILE_FLAG  </code></b></a></li>
    <li><a href="#variable:CMAKE_LINK_DEPENDS_NO_SHARED"><b><code>CMAKE_LINK_DEPENDS_NO_SHARED</code></b></a></li>
    <li><a href="#variable:CMAKE_LINK_INTERFACE_LIBRARIES"><b><code>CMAKE_LINK_INTERFACE_LIBRARIES</code></b></a></li>
    <li><a href="#variable:CMAKE_LINK_LIBRARY_FILE_FLAG"><b><code>CMAKE_LINK_LIBRARY_FILE_FLAG</code></b></a></li>
    <li><a href="#variable:CMAKE_LINK_LIBRARY_FLAG"><b><code>CMAKE_LINK_LIBRARY_FLAG</code></b></a></li>
    <li><a href="#variable:CMAKE_MACOSX_BUNDLE"><b><code>CMAKE_MACOSX_BUNDLE</code></b></a></li>
    <li><a href="#variable:CMAKE_MODULE_LINKER_FLAGS"><b><code>CMAKE_MODULE_LINKER_FLAGS</code></b></a></li>
    <li><a href="#variable:CMAKE_MODULE_LINKER_FLAGS_CONFIG"><b><code>CMAKE_MODULE_LINKER_FLAGS_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#variable:CMAKE_NO_BUILTIN_CHRPATH"><b><code>CMAKE_NO_BUILTIN_CHRPATH</code></b></a></li>
    <li><a href="#variable:CMAKE_PDB_OUTPUT_DIRECTORY"><b><code>CMAKE_PDB_OUTPUT_DIRECTORY</code></b></a></li>
    <li><a href="#variable:CMAKE_POSITION_INDEPENDENT_CODE"><b><code>CMAKE_POSITION_INDEPENDENT_CODE</code></b></a></li>
    <li><a href="#variable:CMAKE_RUNTIME_OUTPUT_DIRECTORY"><b><code>CMAKE_RUNTIME_OUTPUT_DIRECTORY</code></b></a></li>
    <li><a href="#variable:CMAKE_SHARED_LINKER_FLAGS"><b><code>CMAKE_SHARED_LINKER_FLAGS</code></b></a></li>
    <li><a href="#variable:CMAKE_SHARED_LINKER_FLAGS_CONFIG"><b><code>CMAKE_SHARED_LINKER_FLAGS_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#variable:CMAKE_SKIP_BUILD_RPATH"><b><code>CMAKE_SKIP_BUILD_RPATH</code></b></a></li>
    <li><a href="#variable:CMAKE_SKIP_INSTALL_RPATH"><b><code>CMAKE_SKIP_INSTALL_RPATH</code></b></a></li>
    <li><a href="#variable:CMAKE_STATIC_LINKER_FLAGS"><b><code>CMAKE_STATIC_LINKER_FLAGS</code></b></a></li>
    <li><a href="#variable:CMAKE_STATIC_LINKER_FLAGS_CONFIG"><b><code>CMAKE_STATIC_LINKER_FLAGS_&lt;CONFIG&gt;</code></b></a></li>
    <li><a href="#variable:CMAKE_TRY_COMPILE_CONFIGURATION"><b><code>CMAKE_TRY_COMPILE_CONFIGURATION</code></b></a></li>
    <li><a href="#variable:CMAKE_USE_RELATIVE_PATHS"><b><code>CMAKE_USE_RELATIVE_PATHS</code></b></a></li>
    <li><a href="#variable:CMAKE_VISIBILITY_INLINES_HIDDEN"><b><code>CMAKE_VISIBILITY_INLINES_HIDDEN</code></b></a></li>
    <li><a href="#variable:CMAKE_WIN32_EXECUTABLE"><b><code>CMAKE_WIN32_EXECUTABLE</code></b></a></li>
    <li><a href="#variable:EXECUTABLE_OUTPUT_PATH"><b><code>EXECUTABLE_OUTPUT_PATH</code></b></a></li>
    <li><a href="#variable:LIBRARY_OUTPUT_PATH"><b><code>LIBRARY_OUTPUT_PATH</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="variable:CMAKE_CONFIG_POSTFIX"></a><b><code>CMAKE_&lt;CONFIG&gt;_POSTFIX</code></b>: Default filename postfix for libraries under configuration &lt;CONFIG&gt;.<br />
    <p>When a non-executable target is created its &lt;CONFIG&gt;_POSTFIX target property is initialized with the value of this variable if it is set.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LANG_VISIBILITY_PRESET"></a><b><code>CMAKE_&lt;LANG&gt;_VISIBILITY_PRESET</code></b>: Default value for &lt;LANG&gt;_VISIBILITY_PRESET of targets.<br />
    <p>This variable is used to initialize the &lt;LANG&gt;_VISIBILITY_PRESET property on all the targets.  See that target property for additional information.</p>

  </li>
  <li>
    <a name="variable:CMAKE_ARCHIVE_OUTPUT_DIRECTORY"></a><b><code>CMAKE_ARCHIVE_OUTPUT_DIRECTORY</code></b>: Where to put all the ARCHIVE targets when built.<br />
    <p>This variable is used to initialize the ARCHIVE_OUTPUT_DIRECTORY property on all the targets.  See that target property for additional information.</p>

  </li>
  <li>
    <a name="variable:CMAKE_AUTOMOC"></a><b><code>CMAKE_AUTOMOC</code></b>: Whether to handle moc automatically for Qt targets.<br />
    <p>This variable is used to initialize the AUTOMOC property on all the targets.  See that target property for additional information.</p>

  </li>
  <li>
    <a name="variable:CMAKE_AUTOMOC_MOC_OPTIONS"></a><b><code>CMAKE_AUTOMOC_MOC_OPTIONS</code></b>: Additional options for moc when using automoc (see CMAKE_AUTOMOC).<br />
    <p>This variable is used to initialize the AUTOMOC_MOC_OPTIONS property on all the targets.  See that target property for additional information.</p>

  </li>
  <li>
    <a name="variable:CMAKE_BUILD_WITH_INSTALL_RPATH"></a><b><code>CMAKE_BUILD_WITH_INSTALL_RPATH</code></b>: Use the install path for the RPATH<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_DEBUG_POSTFIX"></a><b><code>CMAKE_DEBUG_POSTFIX</code></b>: See variable CMAKE_&lt;CONFIG&gt;_POSTFIX.<br />
    <p>This variable is a special case of the more-general CMAKE_&lt;CONFIG&gt;_POSTFIX variable for the DEBUG configuration.</p>

  </li>
  <li>
    <a name="variable:CMAKE_EXE_LINKER_FLAGS"></a><b><code>CMAKE_EXE_LINKER_FLAGS</code></b>: Linker flags to be used to create executables.<br />
    <p>These flags will be used by the linker when creating an executable.</p>

  </li>
  <li>
    <a name="variable:CMAKE_EXE_LINKER_FLAGS_CONFIG"></a><b><code>CMAKE_EXE_LINKER_FLAGS_&lt;CONFIG&gt;</code></b>: Flags to be used when linking an executable.<br />
    <p>Same as CMAKE_C_FLAGS_* but used by the linker when creating executables.</p>

  </li>
  <li>
    <a name="variable:CMAKE_Fortran_FORMAT"></a><b><code>CMAKE_Fortran_FORMAT</code></b>: Set to FIXED or FREE to indicate the Fortran source layout.<br />
    <p>This variable is used to initialize the Fortran_FORMAT property on all the targets.  See that target property for additional information.</p>

  </li>
  <li>
    <a name="variable:CMAKE_Fortran_MODULE_DIRECTORY"></a><b><code>CMAKE_Fortran_MODULE_DIRECTORY</code></b>: Fortran module output directory.<br />
    <p>This variable is used to initialize the Fortran_MODULE_DIRECTORY property on all the targets.  See that target property for additional information.</p>

  </li>
  <li>
    <a name="variable:CMAKE_GNUtoMS"></a><b><code>CMAKE_GNUtoMS</code></b>: Convert GNU import libraries (.dll.a) to MS format (.lib).<br />
    <p>This variable is used to initialize the GNUtoMS property on targets when they are created.  See that target property for additional information.</p>

  </li>
  <li>
    <a name="variable:CMAKE_INCLUDE_CURRENT_DIR"></a><b><code>CMAKE_INCLUDE_CURRENT_DIR</code></b>: Automatically add the current source- and build directories to the include path.<br />
    <p>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.<br /></p>
<p>By default CMAKE_INCLUDE_CURRENT_DIR is OFF.</p>

  </li>
  <li>
    <a name="variable:CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE"></a><b><code>CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE</code></b>: Automatically add the current source- and build directories to the INTERFACE_INCLUDE_DIRECTORIES.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_INSTALL_NAME_DIR"></a><b><code>CMAKE_INSTALL_NAME_DIR</code></b>: Mac OS X directory name for installed targets.<br />
    <p>CMAKE_INSTALL_NAME_DIR is used to initialize the INSTALL_NAME_DIR property on all targets. See that target property for more information.</p>

  </li>
  <li>
    <a name="variable:CMAKE_INSTALL_RPATH"></a><b><code>CMAKE_INSTALL_RPATH</code></b>: The rpath to use for installed targets.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_INSTALL_RPATH_USE_LINK_PATH"></a><b><code>CMAKE_INSTALL_RPATH_USE_LINK_PATH</code></b>: Add paths to linker search and installed rpath.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LIBRARY_OUTPUT_DIRECTORY"></a><b><code>CMAKE_LIBRARY_OUTPUT_DIRECTORY</code></b>: Where to put all the LIBRARY targets when built.<br />
    <p>This variable is used to initialize the LIBRARY_OUTPUT_DIRECTORY property on all the targets.  See that target property for additional information.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LIBRARY_PATH_FLAG"></a><b><code>CMAKE_LIBRARY_PATH_FLAG</code></b>: The flag to be used to add a library search path to a compiler.<br />
    <p>The flag will be used to specify a library directory to the compiler.  On most compilers this is "-L".</p>

  </li>
  <li>
    <a name="variable:CMAKE_LINK_DEF_FILE_FLAG"></a><b><code>CMAKE_LINK_DEF_FILE_FLAG  </code></b>: Linker flag to be used to specify a .def file for dll creation.<br />
    <p>The flag will be used to add a .def file when creating a dll on Windows; this is only defined on Windows.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LINK_DEPENDS_NO_SHARED"></a><b><code>CMAKE_LINK_DEPENDS_NO_SHARED</code></b>: Whether to skip link dependencies on shared library files.<br />
    <p>This variable initializes the LINK_DEPENDS_NO_SHARED property on targets when they are created.  See that target property for additional information.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LINK_INTERFACE_LIBRARIES"></a><b><code>CMAKE_LINK_INTERFACE_LIBRARIES</code></b>: Default value for LINK_INTERFACE_LIBRARIES of targets.<br />
    <p>This variable is used to initialize the LINK_INTERFACE_LIBRARIES property on all the targets.  See that target property for additional information.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LINK_LIBRARY_FILE_FLAG"></a><b><code>CMAKE_LINK_LIBRARY_FILE_FLAG</code></b>: Flag to be used to link a library specified by a path to its file.<br />
    <p>The flag will be used before a library file path is given to the linker.  This is needed only on very few platforms.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LINK_LIBRARY_FLAG"></a><b><code>CMAKE_LINK_LIBRARY_FLAG</code></b>: Flag to be used to link a library into an executable.<br />
    <p>The flag will be used to specify a library to link to an executable.  On most compilers this is "-l".</p>

  </li>
  <li>
    <a name="variable:CMAKE_MACOSX_BUNDLE"></a><b><code>CMAKE_MACOSX_BUNDLE</code></b>: Default value for MACOSX_BUNDLE of targets.<br />
    <p>This variable is used to initialize the MACOSX_BUNDLE property on all the targets.  See that target property for additional information.</p>

  </li>
  <li>
    <a name="variable:CMAKE_MODULE_LINKER_FLAGS"></a><b><code>CMAKE_MODULE_LINKER_FLAGS</code></b>: Linker flags to be used to create modules.<br />
    <p>These flags will be used by the linker when creating a module.</p>

  </li>
  <li>
    <a name="variable:CMAKE_MODULE_LINKER_FLAGS_CONFIG"></a><b><code>CMAKE_MODULE_LINKER_FLAGS_&lt;CONFIG&gt;</code></b>: Flags to be used when linking a module.<br />
    <p>Same as CMAKE_C_FLAGS_* but used by the linker when creating modules.</p>

  </li>
  <li>
    <a name="variable:CMAKE_NO_BUILTIN_CHRPATH"></a><b><code>CMAKE_NO_BUILTIN_CHRPATH</code></b>: Do not use the builtin ELF editor to fix RPATHs on installation.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_PDB_OUTPUT_DIRECTORY"></a><b><code>CMAKE_PDB_OUTPUT_DIRECTORY</code></b>: Where to put all the MS debug symbol files from linker.<br />
    <p>This variable is used to initialize the PDB_OUTPUT_DIRECTORY property on all the targets.  See that target property for additional information.</p>

  </li>
  <li>
    <a name="variable:CMAKE_POSITION_INDEPENDENT_CODE"></a><b><code>CMAKE_POSITION_INDEPENDENT_CODE</code></b>: Default value for POSITION_INDEPENDENT_CODE of targets.<br />
    <p>This variable is used to initialize the POSITION_INDEPENDENT_CODE property on all the targets.  See that target property for additional information.</p>

  </li>
  <li>
    <a name="variable:CMAKE_RUNTIME_OUTPUT_DIRECTORY"></a><b><code>CMAKE_RUNTIME_OUTPUT_DIRECTORY</code></b>: Where to put all the RUNTIME targets when built.<br />
    <p>This variable is used to initialize the RUNTIME_OUTPUT_DIRECTORY property on all the targets.  See that target property for additional information.</p>

  </li>
  <li>
    <a name="variable:CMAKE_SHARED_LINKER_FLAGS"></a><b><code>CMAKE_SHARED_LINKER_FLAGS</code></b>: Linker flags to be used to create shared libraries.<br />
    <p>These flags will be used by the linker when creating a shared library.</p>

  </li>
  <li>
    <a name="variable:CMAKE_SHARED_LINKER_FLAGS_CONFIG"></a><b><code>CMAKE_SHARED_LINKER_FLAGS_&lt;CONFIG&gt;</code></b>: Flags to be used when linking a shared library.<br />
    <p>Same as CMAKE_C_FLAGS_* but used by the linker when creating shared libraries.</p>

  </li>
  <li>
    <a name="variable:CMAKE_SKIP_BUILD_RPATH"></a><b><code>CMAKE_SKIP_BUILD_RPATH</code></b>: Do not include RPATHs in the build tree.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_SKIP_INSTALL_RPATH"></a><b><code>CMAKE_SKIP_INSTALL_RPATH</code></b>: Do not include RPATHs in the install tree.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_STATIC_LINKER_FLAGS"></a><b><code>CMAKE_STATIC_LINKER_FLAGS</code></b>: Linker flags to be used to create static libraries.<br />
    <p>These flags will be used by the linker when creating a static library.</p>

  </li>
  <li>
    <a name="variable:CMAKE_STATIC_LINKER_FLAGS_CONFIG"></a><b><code>CMAKE_STATIC_LINKER_FLAGS_&lt;CONFIG&gt;</code></b>: Flags to be used when linking a static library.<br />
    <p>Same as CMAKE_C_FLAGS_* but used by the linker when creating static libraries.</p>

  </li>
  <li>
    <a name="variable:CMAKE_TRY_COMPILE_CONFIGURATION"></a><b><code>CMAKE_TRY_COMPILE_CONFIGURATION</code></b>: Build configuration used for try_compile and try_run projects.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_USE_RELATIVE_PATHS"></a><b><code>CMAKE_USE_RELATIVE_PATHS</code></b>: Use relative paths (May not work!).<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_VISIBILITY_INLINES_HIDDEN"></a><b><code>CMAKE_VISIBILITY_INLINES_HIDDEN</code></b>: Default value for VISIBILITY_INLINES_HIDDEN of targets.<br />
    <p>This variable is used to initialize the VISIBILITY_INLINES_HIDDEN property on all the targets.  See that target property for additional information.</p>

  </li>
  <li>
    <a name="variable:CMAKE_WIN32_EXECUTABLE"></a><b><code>CMAKE_WIN32_EXECUTABLE</code></b>: Default value for WIN32_EXECUTABLE of targets.<br />
    <p>This variable is used to initialize the WIN32_EXECUTABLE property on all the targets.  See that target property for additional information.</p>

  </li>
  <li>
    <a name="variable:EXECUTABLE_OUTPUT_PATH"></a><b><code>EXECUTABLE_OUTPUT_PATH</code></b>: Old executable location variable.<br />
    <p>The target property RUNTIME_OUTPUT_DIRECTORY supercedes this variable for a target if it is set.  Executable targets are otherwise placed in this directory.</p>

  </li>
  <li>
    <a name="variable:LIBRARY_OUTPUT_PATH"></a><b><code>LIBRARY_OUTPUT_PATH</code></b>: Old library location variable.<br />
    <p>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.</p>

  </li>
</ul>
<h2><a name="section_VariablesthatProvideInformation"></a>Variables that Provide Information</h2>
<ul>
    <li><a href="#variable:CMAKE_AR"><b><code>CMAKE_AR</code></b></a></li>
    <li><a href="#variable:CMAKE_ARGC"><b><code>CMAKE_ARGC</code></b></a></li>
    <li><a href="#variable:CMAKE_ARGV0"><b><code>CMAKE_ARGV0</code></b></a></li>
    <li><a href="#variable:CMAKE_BINARY_DIR"><b><code>CMAKE_BINARY_DIR</code></b></a></li>
    <li><a href="#variable:CMAKE_BUILD_TOOL"><b><code>CMAKE_BUILD_TOOL</code></b></a></li>
    <li><a href="#variable:CMAKE_CACHEFILE_DIR"><b><code>CMAKE_CACHEFILE_DIR</code></b></a></li>
    <li><a href="#variable:CMAKE_CACHE_MAJOR_VERSION"><b><code>CMAKE_CACHE_MAJOR_VERSION</code></b></a></li>
    <li><a href="#variable:CMAKE_CACHE_MINOR_VERSION"><b><code>CMAKE_CACHE_MINOR_VERSION</code></b></a></li>
    <li><a href="#variable:CMAKE_CACHE_PATCH_VERSION"><b><code>CMAKE_CACHE_PATCH_VERSION</code></b></a></li>
    <li><a href="#variable:CMAKE_CFG_INTDIR"><b><code>CMAKE_CFG_INTDIR</code></b></a></li>
    <li><a href="#variable:CMAKE_COMMAND"><b><code>CMAKE_COMMAND</code></b></a></li>
    <li><a href="#variable:CMAKE_CROSSCOMPILING"><b><code>CMAKE_CROSSCOMPILING</code></b></a></li>
    <li><a href="#variable:CMAKE_CTEST_COMMAND"><b><code>CMAKE_CTEST_COMMAND</code></b></a></li>
    <li><a href="#variable:CMAKE_CURRENT_BINARY_DIR"><b><code>CMAKE_CURRENT_BINARY_DIR</code></b></a></li>
    <li><a href="#variable:CMAKE_CURRENT_LIST_DIR"><b><code>CMAKE_CURRENT_LIST_DIR</code></b></a></li>
    <li><a href="#variable:CMAKE_CURRENT_LIST_FILE"><b><code>CMAKE_CURRENT_LIST_FILE</code></b></a></li>
    <li><a href="#variable:CMAKE_CURRENT_LIST_LINE"><b><code>CMAKE_CURRENT_LIST_LINE</code></b></a></li>
    <li><a href="#variable:CMAKE_CURRENT_SOURCE_DIR"><b><code>CMAKE_CURRENT_SOURCE_DIR</code></b></a></li>
    <li><a href="#variable:CMAKE_DL_LIBS"><b><code>CMAKE_DL_LIBS</code></b></a></li>
    <li><a href="#variable:CMAKE_EDIT_COMMAND"><b><code>CMAKE_EDIT_COMMAND</code></b></a></li>
    <li><a href="#variable:CMAKE_EXECUTABLE_SUFFIX"><b><code>CMAKE_EXECUTABLE_SUFFIX</code></b></a></li>
    <li><a href="#variable:CMAKE_EXTRA_GENERATOR"><b><code>CMAKE_EXTRA_GENERATOR</code></b></a></li>
    <li><a href="#variable:CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES"><b><code>CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES</code></b></a></li>
    <li><a href="#variable:CMAKE_GENERATOR"><b><code>CMAKE_GENERATOR</code></b></a></li>
    <li><a href="#variable:CMAKE_GENERATOR_TOOLSET"><b><code>CMAKE_GENERATOR_TOOLSET</code></b></a></li>
    <li><a href="#variable:CMAKE_HOME_DIRECTORY"><b><code>CMAKE_HOME_DIRECTORY</code></b></a></li>
    <li><a href="#variable:CMAKE_IMPORT_LIBRARY_PREFIX"><b><code>CMAKE_IMPORT_LIBRARY_PREFIX</code></b></a></li>
    <li><a href="#variable:CMAKE_IMPORT_LIBRARY_SUFFIX"><b><code>CMAKE_IMPORT_LIBRARY_SUFFIX</code></b></a></li>
    <li><a href="#variable:CMAKE_LINK_LIBRARY_SUFFIX"><b><code>CMAKE_LINK_LIBRARY_SUFFIX</code></b></a></li>
    <li><a href="#variable:CMAKE_MAJOR_VERSION"><b><code>CMAKE_MAJOR_VERSION</code></b></a></li>
    <li><a href="#variable:CMAKE_MAKE_PROGRAM"><b><code>CMAKE_MAKE_PROGRAM</code></b></a></li>
    <li><a href="#variable:CMAKE_MINIMUM_REQUIRED_VERSION"><b><code>CMAKE_MINIMUM_REQUIRED_VERSION</code></b></a></li>
    <li><a href="#variable:CMAKE_MINOR_VERSION"><b><code>CMAKE_MINOR_VERSION</code></b></a></li>
    <li><a href="#variable:CMAKE_PARENT_LIST_FILE"><b><code>CMAKE_PARENT_LIST_FILE</code></b></a></li>
    <li><a href="#variable:CMAKE_PATCH_VERSION"><b><code>CMAKE_PATCH_VERSION</code></b></a></li>
    <li><a href="#variable:CMAKE_PROJECT_NAME"><b><code>CMAKE_PROJECT_NAME</code></b></a></li>
    <li><a href="#variable:CMAKE_RANLIB"><b><code>CMAKE_RANLIB</code></b></a></li>
    <li><a href="#variable:CMAKE_ROOT"><b><code>CMAKE_ROOT</code></b></a></li>
    <li><a href="#variable:CMAKE_SCRIPT_MODE_FILE"><b><code>CMAKE_SCRIPT_MODE_FILE</code></b></a></li>
    <li><a href="#variable:CMAKE_SHARED_LIBRARY_PREFIX"><b><code>CMAKE_SHARED_LIBRARY_PREFIX</code></b></a></li>
    <li><a href="#variable:CMAKE_SHARED_LIBRARY_SUFFIX"><b><code>CMAKE_SHARED_LIBRARY_SUFFIX</code></b></a></li>
    <li><a href="#variable:CMAKE_SHARED_MODULE_PREFIX"><b><code>CMAKE_SHARED_MODULE_PREFIX</code></b></a></li>
    <li><a href="#variable:CMAKE_SHARED_MODULE_SUFFIX"><b><code>CMAKE_SHARED_MODULE_SUFFIX</code></b></a></li>
    <li><a href="#variable:CMAKE_SIZEOF_VOID_P"><b><code>CMAKE_SIZEOF_VOID_P</code></b></a></li>
    <li><a href="#variable:CMAKE_SKIP_RPATH"><b><code>CMAKE_SKIP_RPATH</code></b></a></li>
    <li><a href="#variable:CMAKE_SOURCE_DIR"><b><code>CMAKE_SOURCE_DIR</code></b></a></li>
    <li><a href="#variable:CMAKE_STANDARD_LIBRARIES"><b><code>CMAKE_STANDARD_LIBRARIES</code></b></a></li>
    <li><a href="#variable:CMAKE_STATIC_LIBRARY_PREFIX"><b><code>CMAKE_STATIC_LIBRARY_PREFIX</code></b></a></li>
    <li><a href="#variable:CMAKE_STATIC_LIBRARY_SUFFIX"><b><code>CMAKE_STATIC_LIBRARY_SUFFIX</code></b></a></li>
    <li><a href="#variable:CMAKE_TWEAK_VERSION"><b><code>CMAKE_TWEAK_VERSION</code></b></a></li>
    <li><a href="#variable:CMAKE_VERBOSE_MAKEFILE"><b><code>CMAKE_VERBOSE_MAKEFILE</code></b></a></li>
    <li><a href="#variable:CMAKE_VERSION"><b><code>CMAKE_VERSION</code></b></a></li>
    <li><a href="#variable:CMAKE_VS_PLATFORM_TOOLSET"><b><code>CMAKE_VS_PLATFORM_TOOLSET</code></b></a></li>
    <li><a href="#variable:CMAKE_XCODE_PLATFORM_TOOLSET"><b><code>CMAKE_XCODE_PLATFORM_TOOLSET</code></b></a></li>
    <li><a href="#variable:PROJECT_BINARY_DIR"><b><code>PROJECT_BINARY_DIR</code></b></a></li>
    <li><a href="#variable:PROJECT_NAME"><b><code>PROJECT_NAME</code></b></a></li>
    <li><a href="#variable:PROJECT_SOURCE_DIR"><b><code>PROJECT_SOURCE_DIR</code></b></a></li>
    <li><a href="#variable:Projectname_BINARY_DIR"><b><code>[Project name]_BINARY_DIR</code></b></a></li>
    <li><a href="#variable:Projectname_SOURCE_DIR"><b><code>[Project name]_SOURCE_DIR</code></b></a></li>
</ul>
<ul>
  <li>
    <a name="variable:CMAKE_AR"></a><b><code>CMAKE_AR</code></b>: Name of archiving tool for static libraries.<br />
    <p>This specifies the name of the program that creates archive or static libraries.</p>

  </li>
  <li>
    <a name="variable:CMAKE_ARGC"></a><b><code>CMAKE_ARGC</code></b>: Number of command line arguments passed to CMake in script mode.<br />
    <p>When run in -P script mode, CMake sets this variable to the number of command line arguments. See also CMAKE_ARGV0, 1, 2 ...</p>

  </li>
  <li>
    <a name="variable:CMAKE_ARGV0"></a><b><code>CMAKE_ARGV0</code></b>: Command line argument passed to CMake in script mode.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_BINARY_DIR"></a><b><code>CMAKE_BINARY_DIR</code></b>: The path to the top level of the build tree.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_BUILD_TOOL"></a><b><code>CMAKE_BUILD_TOOL</code></b>: Tool used for the actual build process.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_CACHEFILE_DIR"></a><b><code>CMAKE_CACHEFILE_DIR</code></b>: The directory with the CMakeCache.txt file.<br />
    <p>This is the full path to the directory that has the CMakeCache.txt file in it.  This is the same as CMAKE_BINARY_DIR.</p>

  </li>
  <li>
    <a name="variable:CMAKE_CACHE_MAJOR_VERSION"></a><b><code>CMAKE_CACHE_MAJOR_VERSION</code></b>: Major version of CMake used to create the CMakeCache.txt file<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_CACHE_MINOR_VERSION"></a><b><code>CMAKE_CACHE_MINOR_VERSION</code></b>: Minor version of CMake used to create the CMakeCache.txt file<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_CACHE_PATCH_VERSION"></a><b><code>CMAKE_CACHE_PATCH_VERSION</code></b>: Patch version of CMake used to create the CMakeCache.txt file<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_CFG_INTDIR"></a><b><code>CMAKE_CFG_INTDIR</code></b>: Build-time reference to per-configuration output subdirectory.<br />
    <p>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:<br /></p>
<pre>  $(IntDir)        = Visual Studio 6<br />  $(OutDir)        = Visual Studio 7, 8, 9<br />  $(Configuration) = Visual Studio 10<br />  $(CONFIGURATION) = Xcode<br />  .                = Make-based tools<br /></pre>
    <p>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:<br /></p>
<pre>  add_executable(mytool mytool.c)<br />  add_custom_command(<br />    OUTPUT out.txt<br />    COMMAND ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/mytool<br />            ${CMAKE_CURRENT_SOURCE_DIR}/in.txt out.txt<br />    DEPENDS mytool in.txt<br />    )<br />  add_custom_target(drive ALL DEPENDS out.txt)<br /></pre>
    <p>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".<br /></p>
<p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_COMMAND"></a><b><code>CMAKE_COMMAND</code></b>: The full path to the cmake executable.<br />
    <p>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</p>

  </li>
  <li>
    <a name="variable:CMAKE_CROSSCOMPILING"></a><b><code>CMAKE_CROSSCOMPILING</code></b>: Is CMake currently cross compiling.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_CTEST_COMMAND"></a><b><code>CMAKE_CTEST_COMMAND</code></b>: Full path to ctest command installed with cmake.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_CURRENT_BINARY_DIR"></a><b><code>CMAKE_CURRENT_BINARY_DIR</code></b>: The path to the binary directory currently being processed.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_CURRENT_LIST_DIR"></a><b><code>CMAKE_CURRENT_LIST_DIR</code></b>: Full directory of the listfile currently being processed.<br />
    <p>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.<br /></p>
<p>See also CMAKE_CURRENT_LIST_FILE.</p>

  </li>
  <li>
    <a name="variable:CMAKE_CURRENT_LIST_FILE"></a><b><code>CMAKE_CURRENT_LIST_FILE</code></b>: Full path to the listfile currently being processed.<br />
    <p>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.<br /></p>
<p>See also CMAKE_PARENT_LIST_FILE.</p>

  </li>
  <li>
    <a name="variable:CMAKE_CURRENT_LIST_LINE"></a><b><code>CMAKE_CURRENT_LIST_LINE</code></b>: The line number of the current file being processed.<br />
    <p>This is the line number of the file currently being processed by cmake.</p>

  </li>
  <li>
    <a name="variable:CMAKE_CURRENT_SOURCE_DIR"></a><b><code>CMAKE_CURRENT_SOURCE_DIR</code></b>: The path to the source directory currently being processed.<br />
    <p>This the full path to the source directory that is currently being processed by cmake.  </p>

  </li>
  <li>
    <a name="variable:CMAKE_DL_LIBS"></a><b><code>CMAKE_DL_LIBS</code></b>: Name of library containing dlopen and dlcose.<br />
    <p>The name of the library that has dlopen and dlclose in it, usually -ldl on most UNIX machines.</p>

  </li>
  <li>
    <a name="variable:CMAKE_EDIT_COMMAND"></a><b><code>CMAKE_EDIT_COMMAND</code></b>: Full path to cmake-gui or ccmake.<br />
    <p>This is the full path to the CMake executable that can graphically edit the cache.  For example, cmake-gui, ccmake, or cmake -i.</p>

  </li>
  <li>
    <a name="variable:CMAKE_EXECUTABLE_SUFFIX"></a><b><code>CMAKE_EXECUTABLE_SUFFIX</code></b>: The suffix for executables on this platform.<br />
    <p>The suffix to use for the end of an executable filename if any, .exe on Windows.<br /></p>
<p>CMAKE_EXECUTABLE_SUFFIX_&lt;LANG&gt; overrides this for language &lt;LANG&gt;.</p>

  </li>
  <li>
    <a name="variable:CMAKE_EXTRA_GENERATOR"></a><b><code>CMAKE_EXTRA_GENERATOR</code></b>: The extra generator used to build the project.<br />
    <p>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").</p>

  </li>
  <li>
    <a name="variable:CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES"></a><b><code>CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES</code></b>: Additional suffixes for shared libraries.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_GENERATOR"></a><b><code>CMAKE_GENERATOR</code></b>: The generator used to build the project.<br />
    <p>The name of the generator that is being used to generate the build files.  (e.g. "Unix Makefiles", "Visual Studio 6", etc.)</p>

  </li>
  <li>
    <a name="variable:CMAKE_GENERATOR_TOOLSET"></a><b><code>CMAKE_GENERATOR_TOOLSET</code></b>: Native build system toolset name specified by user.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_HOME_DIRECTORY"></a><b><code>CMAKE_HOME_DIRECTORY</code></b>: Path to top of source tree.<br />
    <p>This is the path to the top level of the source tree.</p>

  </li>
  <li>
    <a name="variable:CMAKE_IMPORT_LIBRARY_PREFIX"></a><b><code>CMAKE_IMPORT_LIBRARY_PREFIX</code></b>: The prefix for import libraries that you link to.<br />
    <p>The prefix to use for the name of an import library if used on this platform.<br /></p>
<p>CMAKE_IMPORT_LIBRARY_PREFIX_&lt;LANG&gt; overrides this for language &lt;LANG&gt;.</p>

  </li>
  <li>
    <a name="variable:CMAKE_IMPORT_LIBRARY_SUFFIX"></a><b><code>CMAKE_IMPORT_LIBRARY_SUFFIX</code></b>: The suffix for import libraries that you link to.<br />
    <p>The suffix to use for the end of an import library filename if used on this platform.<br /></p>
<p>CMAKE_IMPORT_LIBRARY_SUFFIX_&lt;LANG&gt; overrides this for language &lt;LANG&gt;.</p>

  </li>
  <li>
    <a name="variable:CMAKE_LINK_LIBRARY_SUFFIX"></a><b><code>CMAKE_LINK_LIBRARY_SUFFIX</code></b>: The suffix for libraries that you link to.<br />
    <p>The suffix to use for the end of a library filename, .lib on Windows.</p>

  </li>
  <li>
    <a name="variable:CMAKE_MAJOR_VERSION"></a><b><code>CMAKE_MAJOR_VERSION</code></b>: The Major version of cmake (i.e. the 2 in 2.X.X)<br />
    <p>This specifies the major version of the CMake executable being run.</p>

  </li>
  <li>
    <a name="variable:CMAKE_MAKE_PROGRAM"></a><b><code>CMAKE_MAKE_PROGRAM</code></b>: See CMAKE_BUILD_TOOL.<br />
    <p>This variable is around for backwards compatibility, see CMAKE_BUILD_TOOL.</p>

  </li>
  <li>
    <a name="variable:CMAKE_MINIMUM_REQUIRED_VERSION"></a><b><code>CMAKE_MINIMUM_REQUIRED_VERSION</code></b>: Version specified to cmake_minimum_required command<br />
    <p>Variable containing the VERSION component specified in the cmake_minimum_required command.</p>

  </li>
  <li>
    <a name="variable:CMAKE_MINOR_VERSION"></a><b><code>CMAKE_MINOR_VERSION</code></b>: The Minor version of cmake (i.e. the 4 in X.4.X).<br />
    <p>This specifies the minor version of the CMake executable being run.</p>

  </li>
  <li>
    <a name="variable:CMAKE_PARENT_LIST_FILE"></a><b><code>CMAKE_PARENT_LIST_FILE</code></b>: Full path to the CMake file that included the current one.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_PATCH_VERSION"></a><b><code>CMAKE_PATCH_VERSION</code></b>: The patch version of cmake (i.e. the 3 in X.X.3).<br />
    <p>This specifies the patch version of the CMake executable being run.</p>

  </li>
  <li>
    <a name="variable:CMAKE_PROJECT_NAME"></a><b><code>CMAKE_PROJECT_NAME</code></b>: The name of the current project.<br />
    <p>This specifies name of the current project from the closest inherited PROJECT command.</p>

  </li>
  <li>
    <a name="variable:CMAKE_RANLIB"></a><b><code>CMAKE_RANLIB</code></b>: Name of randomizing tool for static libraries.<br />
    <p>This specifies name of the program that randomizes libraries on UNIX, not used on Windows, but may be present.</p>

  </li>
  <li>
    <a name="variable:CMAKE_ROOT"></a><b><code>CMAKE_ROOT</code></b>: Install directory for running cmake.<br />
    <p>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</p>

  </li>
  <li>
    <a name="variable:CMAKE_SCRIPT_MODE_FILE"></a><b><code>CMAKE_SCRIPT_MODE_FILE</code></b>: Full path to the -P script file currently being processed.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_SHARED_LIBRARY_PREFIX"></a><b><code>CMAKE_SHARED_LIBRARY_PREFIX</code></b>: The prefix for shared libraries that you link to.<br />
    <p>The prefix to use for the name of a shared library, lib on UNIX.<br /></p>
<p>CMAKE_SHARED_LIBRARY_PREFIX_&lt;LANG&gt; overrides this for language &lt;LANG&gt;.</p>

  </li>
  <li>
    <a name="variable:CMAKE_SHARED_LIBRARY_SUFFIX"></a><b><code>CMAKE_SHARED_LIBRARY_SUFFIX</code></b>: The suffix for shared libraries that you link to.<br />
    <p>The suffix to use for the end of a shared library filename, .dll on Windows.<br /></p>
<p>CMAKE_SHARED_LIBRARY_SUFFIX_&lt;LANG&gt; overrides this for language &lt;LANG&gt;.</p>

  </li>
  <li>
    <a name="variable:CMAKE_SHARED_MODULE_PREFIX"></a><b><code>CMAKE_SHARED_MODULE_PREFIX</code></b>: The prefix for loadable modules that you link to.<br />
    <p>The prefix to use for the name of a loadable module on this platform.<br /></p>
<p>CMAKE_SHARED_MODULE_PREFIX_&lt;LANG&gt; overrides this for language &lt;LANG&gt;.</p>

  </li>
  <li>
    <a name="variable:CMAKE_SHARED_MODULE_SUFFIX"></a><b><code>CMAKE_SHARED_MODULE_SUFFIX</code></b>: The suffix for shared libraries that you link to.<br />
    <p>The suffix to use for the end of a loadable module filename on this platform<br /></p>
<p>CMAKE_SHARED_MODULE_SUFFIX_&lt;LANG&gt; overrides this for language &lt;LANG&gt;.</p>

  </li>
  <li>
    <a name="variable:CMAKE_SIZEOF_VOID_P"></a><b><code>CMAKE_SIZEOF_VOID_P</code></b>: Size of a void pointer.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_SKIP_RPATH"></a><b><code>CMAKE_SKIP_RPATH</code></b>: If true, do not add run time path information.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_SOURCE_DIR"></a><b><code>CMAKE_SOURCE_DIR</code></b>: The path to the top level of the source tree.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_STANDARD_LIBRARIES"></a><b><code>CMAKE_STANDARD_LIBRARIES</code></b>: Libraries linked into every executable and shared library.<br />
    <p>This is the list of libraries that are linked into all executables and libraries.</p>

  </li>
  <li>
    <a name="variable:CMAKE_STATIC_LIBRARY_PREFIX"></a><b><code>CMAKE_STATIC_LIBRARY_PREFIX</code></b>: The prefix for static libraries that you link to.<br />
    <p>The prefix to use for the name of a static library, lib on UNIX.<br /></p>
<p>CMAKE_STATIC_LIBRARY_PREFIX_&lt;LANG&gt; overrides this for language &lt;LANG&gt;.</p>

  </li>
  <li>
    <a name="variable:CMAKE_STATIC_LIBRARY_SUFFIX"></a><b><code>CMAKE_STATIC_LIBRARY_SUFFIX</code></b>: The suffix for static libraries that you link to.<br />
    <p>The suffix to use for the end of a static library filename, .lib on Windows.<br /></p>
<p>CMAKE_STATIC_LIBRARY_SUFFIX_&lt;LANG&gt; overrides this for language &lt;LANG&gt;.</p>

  </li>
  <li>
    <a name="variable:CMAKE_TWEAK_VERSION"></a><b><code>CMAKE_TWEAK_VERSION</code></b>: The tweak version of cmake (i.e. the 1 in X.X.X.1).<br />
    <p>This specifies the tweak version of the CMake executable being run.  Releases use tweak &lt; 20000000 and development versions use the date format CCYYMMDD for the tweak level.</p>

  </li>
  <li>
    <a name="variable:CMAKE_VERBOSE_MAKEFILE"></a><b><code>CMAKE_VERBOSE_MAKEFILE</code></b>: Create verbose makefiles if on.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_VERSION"></a><b><code>CMAKE_VERSION</code></b>: The full version of cmake in major.minor.patch[.tweak[-id]] format.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_VS_PLATFORM_TOOLSET"></a><b><code>CMAKE_VS_PLATFORM_TOOLSET</code></b>: Visual Studio Platform Toolset name.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:CMAKE_XCODE_PLATFORM_TOOLSET"></a><b><code>CMAKE_XCODE_PLATFORM_TOOLSET</code></b>: Xcode compiler selection.<br />
    <p>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).</p>

  </li>
  <li>
    <a name="variable:PROJECT_BINARY_DIR"></a><b><code>PROJECT_BINARY_DIR</code></b>: Full path to build directory for project.<br />
    <p>This is the binary directory of the most recent PROJECT command.</p>

  </li>
  <li>
    <a name="variable:PROJECT_NAME"></a><b><code>PROJECT_NAME</code></b>: Name of the project given to the project command.<br />
    <p>This is the name given to the most recent PROJECT command.</p>

  </li>
  <li>
    <a name="variable:PROJECT_SOURCE_DIR"></a><b><code>PROJECT_SOURCE_DIR</code></b>: Top level source directory for the current project.<br />
    <p>This is the source directory of the most recent PROJECT command.</p>

  </li>
  <li>
    <a name="variable:Projectname_BINARY_DIR"></a><b><code>[Project name]_BINARY_DIR</code></b>: Top level binary directory for the named project.<br />
    <p>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.</p>

  </li>
  <li>
    <a name="variable:Projectname_SOURCE_DIR"></a><b><code>[Project name]_SOURCE_DIR</code></b>: Top level source directory for the named project.<br />
    <p>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.</p>

  </li>
</ul>
<h2><a name="section_Copyright"></a>Copyright</h2>
<p>Copyright 2000-2012 Kitware, Inc., Insight Software Consortium.  All rights reserved.</p>

<p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p>

<p>Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.</p>

<p>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.</p>

<p>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.</p>

<p>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.</p>

<h2><a name="section_SeeAlso"></a>See Also</h2>
<ul>
    <li><a href="#see:HomePage"><b><code>Home Page</code></b></a></li>
    <li><a href="#see:FrequentlyAskedQuestions"><b><code>Frequently Asked Questions</code></b></a></li>
    <li><a href="#see:OnlineDocumentation"><b><code>Online Documentation</code></b></a></li>
    <li><a href="#see:MailingList"><b><code>Mailing List</code></b></a></li>
</ul>
<p>The following resources are available to get help using CMake:</p>

<ul>
  <li>
    <a name="see:HomePage"></a><b><code>Home Page</code></b>: <a href="http://www.cmake.org">http://www.cmake.org</a><br />
    <p>The primary starting point for learning about CMake.</p>

  </li>
  <li>
    <a name="see:FrequentlyAskedQuestions"></a><b><code>Frequently Asked Questions</code></b>: <a href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a><br />
    <p>A Wiki is provided containing answers to frequently asked questions. </p>

  </li>
  <li>
    <a name="see:OnlineDocumentation"></a><b><code>Online Documentation</code></b>: <a href="http://www.cmake.org/HTML/Documentation.html">http://www.cmake.org/HTML/Documentation.html</a><br />
    <p>Links to available documentation may be found on this web page.</p>

  </li>
  <li>
    <a name="see:MailingList"></a><b><code>Mailing List</code></b>: <a href="http://www.cmake.org/HTML/MailingLists.html">http://www.cmake.org/HTML/MailingLists.html</a><br />
    <p>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 <a href="http://www.cmake.org">http://www.cmake.org</a> before posting questions to the list.</p>

  </li>
</ul>
</body></html>