43 Source0: http://www.cmake.org/files/v%{V_major}/cmake-%{V_dist}.tar.gz |
43 Source0: http://www.cmake.org/files/v%{V_major}/cmake-%{V_dist}.tar.gz |
44 |
44 |
45 # build information |
45 # build information |
46 BuildPreReq: OpenPKG, openpkg >= 20100101, gcc, gcc::with_cxx = yes, make |
46 BuildPreReq: OpenPKG, openpkg >= 20100101, gcc, gcc::with_cxx = yes, make |
47 PreReq: OpenPKG, openpkg >= 20100101 |
47 PreReq: OpenPKG, openpkg >= 20100101 |
|
48 BuildPreReq: ncurses |
|
49 PreReq: ncurses |
48 |
50 |
49 %description |
51 %description |
50 CMake is an extensible, open-source system that manages the build |
52 CMake is an extensible, opensource system that manages the build |
51 process in an operating system and compiler independent manner. |
53 process in an operating system and compiler independent manner. |
52 Unlike many cross-platform systems, CMake is designed to be used in |
54 Unlike many cross platform systems, CMake is designed to be used in |
53 conjunction with the native build environment. Simple configuration |
55 conjunction with the native build environment. Simple configuration |
54 files placed in each source directory (called CMakeLists.txt files) |
56 files placed in each source directory (called CMakeLists.txt files) |
55 are used to generate standard build files (e.g., makefiles on Unix |
57 are used to generate standard build files (e.g., makefiles on Unix |
56 and projects/workspaces in Windows MSVC) which are used in the usual |
58 and projects/workspaces in Windows MSVC) which are used in the usual |
57 way. CMake can compile source code, create libraries, generate |
59 way. CMake can compile source code, create libraries, generate |
58 wrappers, and build executables in arbitrary combinations. CMake |
60 wrappers, and build executables in arbitrary combinations. CMake |
59 supports in-place and out-of-place builds, and can therefore support |
61 supports in place and out of place builds, and can therefore support |
60 multiple builds from a single source tree. CMake also supports |
62 multiple builds from a single source tree. CMake also supports |
61 static and dynamic library builds. Another nice feature of CMake is |
63 static and dynamic library builds. Another nice feature of CMake is |
62 that it generates a cache file that is designed to be used with a |
64 that it generates a cache file that is designed to be used with a |
63 graphical editor. For example, when CMake runs, it locates include |
65 graphical editor. For example, when CMake runs, it locates include |
64 files, libraries, and executable, and may encounter optional build |
66 files, libraries, and executable, and may encounter optional build |