diff --git a/docpages/building/freebsd.md b/docpages/building/freebsd.md index 745346fab5..53788acf3c 100644 --- a/docpages/building/freebsd.md +++ b/docpages/building/freebsd.md @@ -42,8 +42,6 @@ The important flags in this command-line are: * `mydppbot.cpp` - Your source code * `dppbot` - The name of the executable to make -Of course, this is just a proof of concept - you should really use a more robust build system like [`cmake`](@ref buildcmake). - -If you are having trouble setting up CMake, you can try [our template bot](https://github.com/brainboxdotcc/templatebot). +\include{doc} install_prebuilt_footer.dox **Have fun!** diff --git a/docpages/building/linux.md b/docpages/building/linux.md index 043823a042..a9e9701a56 100644 --- a/docpages/building/linux.md +++ b/docpages/building/linux.md @@ -33,9 +33,7 @@ The important flags in this command-line are: * `mydppbot.cpp` - Your source code * `dppbot` - The name of the executable to make -Of course, this is just a proof of concept — you should really use a more robust build system like GNU `make` or [`cmake`](@ref buildcmake). - -If you are having trouble setting up CMake, you can try [our template bot](https://github.com/brainboxdotcc/templatebot). +\include{doc} install_prebuilt_footer.dox **Have fun!** diff --git a/docpages/building/osx.md b/docpages/building/osx.md index 45b855373e..f9f7aa78a6 100644 --- a/docpages/building/osx.md +++ b/docpages/building/osx.md @@ -47,9 +47,7 @@ The important flags in this command-line are: * `mydppbot.cpp` - Your source code * `dppbot` - The name of the executable to make -Of course, this is just a proof of concept - you should really use a more robust build system like GNU `make` or [`cmake`](@ref buildcmake). - -If you are having trouble setting up CMake, you can try [our template bot](https://github.com/brainboxdotcc/templatebot). +\include{doc} install_prebuilt_footer.dox **Have fun!** diff --git a/docpages/include/install_prebuilt_footer.dox b/docpages/include/install_prebuilt_footer.dox new file mode 100644 index 0000000000..6c4b8446ac --- /dev/null +++ b/docpages/include/install_prebuilt_footer.dox @@ -0,0 +1,2 @@ +\note Compiling your bot with a raw `g++` command is not advised in any real project, and the example above should be used only as a test. From here, you should learn to create a bot in D++ by moving on to \ref buildcmake or if you have not yet created a token for your bot, \ref creating-a-bot-application - If you are having trouble setting up CMake, you can try our template cmake bot project. + diff --git a/docpages/install/install-arch-aur.md b/docpages/install/install-arch-aur.md index 8450dc8a28..041216e129 100644 --- a/docpages/install/install-arch-aur.md +++ b/docpages/install/install-arch-aur.md @@ -26,3 +26,5 @@ You will now be able to use D++ by including its library on the command line: ``` g++ mybot.cpp -o mybot -ldpp ``` + +\include{doc} install_prebuilt_footer.dox diff --git a/docpages/install/install-linux-deb.md b/docpages/install/install-linux-deb.md index 80efdb092a..6ffb75da67 100644 --- a/docpages/install/install-linux-deb.md +++ b/docpages/install/install-linux-deb.md @@ -18,4 +18,6 @@ You will now be able to use D++ by including its library on the command line: ``` g++ mybot.cpp -o mybot -ldpp -``` \ No newline at end of file +``` + +\include{doc} install_prebuilt_footer.dox