You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cmkr/src/help.cpp

26 lines
901 B

#include "help.hpp"
#include <resources/version.hpp>
4 years ago
4 years ago
namespace cmkr {
namespace help {
4 years ago
const char *version() noexcept {
return "cmkr version " CMKR_VERSION;
}
4 years ago
4 years ago
const char *message() noexcept {
4 years ago
return R"lit(
Usage: cmkr [arguments]
arguments:
init [executable|library|shared|static|interface] Starts a new project in the same directory.
gen Generates CMakeLists.txt file.
build <extra cmake args> Run cmake and build.
install Run cmake --install. Needs admin privileges.
clean Clean the build directory.
help Show help.
version Current cmkr version.
)lit";
4 years ago
}
4 years ago
} // namespace help
} // namespace cmkr