diff --git a/share/qtcreator/templates/wizards/cmakeplainc/CMakeLists.txt b/share/qtcreator/templates/wizards/cmakeplainc/CMakeLists.txt new file mode 100644 index 00000000000..aad92e30c3c --- /dev/null +++ b/share/qtcreator/templates/wizards/cmakeplainc/CMakeLists.txt @@ -0,0 +1,4 @@ +project(%ProjectName%) +cmake_minimum_required(VERSION 2.8) +aux_source_directory(. SRC_LIST) +add_executable(${PROJECT_NAME} ${SRC_LIST}) diff --git a/share/qtcreator/templates/wizards/cmakeplainc/console.png b/share/qtcreator/templates/wizards/cmakeplainc/console.png new file mode 100644 index 00000000000..7569a988f4a Binary files /dev/null and b/share/qtcreator/templates/wizards/cmakeplainc/console.png differ diff --git a/share/qtcreator/templates/wizards/cmakeplainc/main.c b/share/qtcreator/templates/wizards/cmakeplainc/main.c new file mode 100644 index 00000000000..8f1edd610c6 --- /dev/null +++ b/share/qtcreator/templates/wizards/cmakeplainc/main.c @@ -0,0 +1,7 @@ +#include + +int main(void) +{ + printf("Hello World!\n"); + return 0; +} diff --git a/share/qtcreator/templates/wizards/cmakeplainc/wizard.xml b/share/qtcreator/templates/wizards/cmakeplainc/wizard.xml new file mode 100644 index 00000000000..374507dfe47 --- /dev/null +++ b/share/qtcreator/templates/wizards/cmakeplainc/wizard.xml @@ -0,0 +1,49 @@ + + + + console.png + Creates a plain C project using CMake, not using the Qt library. + CMake Plain C Project; + Other Project + + + + + diff --git a/share/qtcreator/templates/wizards/cmakeplaincpp/CMakeLists.txt b/share/qtcreator/templates/wizards/cmakeplaincpp/CMakeLists.txt new file mode 100644 index 00000000000..aad92e30c3c --- /dev/null +++ b/share/qtcreator/templates/wizards/cmakeplaincpp/CMakeLists.txt @@ -0,0 +1,4 @@ +project(%ProjectName%) +cmake_minimum_required(VERSION 2.8) +aux_source_directory(. SRC_LIST) +add_executable(${PROJECT_NAME} ${SRC_LIST}) diff --git a/share/qtcreator/templates/wizards/cmakeplaincpp/console.png b/share/qtcreator/templates/wizards/cmakeplaincpp/console.png new file mode 100644 index 00000000000..7569a988f4a Binary files /dev/null and b/share/qtcreator/templates/wizards/cmakeplaincpp/console.png differ diff --git a/share/qtcreator/templates/wizards/cmakeplaincpp/main.cpp b/share/qtcreator/templates/wizards/cmakeplaincpp/main.cpp new file mode 100644 index 00000000000..3129fb9dd95 --- /dev/null +++ b/share/qtcreator/templates/wizards/cmakeplaincpp/main.cpp @@ -0,0 +1,9 @@ +#include + +using namespace std; + +int main() +{ + cout << "Hello World!" << endl; + return 0; +} diff --git a/share/qtcreator/templates/wizards/cmakeplaincpp/wizard.xml b/share/qtcreator/templates/wizards/cmakeplaincpp/wizard.xml new file mode 100644 index 00000000000..7247004a5ee --- /dev/null +++ b/share/qtcreator/templates/wizards/cmakeplaincpp/wizard.xml @@ -0,0 +1,49 @@ + + + + console.png + Creates a plain C++ project using CMake, not using the Qt library. + CMake Plain C++ Project; + Other Project + + + + +