C++ - Google Test - Set up projects to use the gtest library

Creating a library for your Google Test framework is a good practise.

It separates your main project, your library and your tests code.

A great way to deal with your dev team and your test team.

Visual Studio will be our IDE for this tutorial.

So let's get started.

C++ - Google Test - Generating the gtest.lib from gtest.sln with Visual Studio

Google Test framework is provided with a solution already generated that we can use with Visual Studio.

It's the gtest.sln file.

But to use it we have to accomplish some steps in order to having it working properly.

This is what we will see in this Google Test tutorial.

Let's get started.

C++ - Google Test - Using a Makefile to generate tests

After succeeded in accomplishing the Google Test setup by hand we are going to see how to use a Makefile to create our running tests.

Of course, this time, we will use the Cygwin CLI in order to create our tests example.

C++ - Google Test - Setup Visual Studio by hand

Before playing with the Google Test library, it's necessary to install it.

This is what this tutorial is made of, a bunch of elements in order to set up it.

In our example, we are going to use Visual Studio 2017, so on Windows, without any Command-Line Interface (CLI) nor the RUN_ALL_TESTS() macro.

C++ - Qt Framework - Using Jenkins to generate an .EXE file

In this tutorial we are going to see how to download a project directly on GitHub, generate makefiles of this project, compile it and copy several dynamic-link libraries from a directory to another one.

And all that steps automatically!

Let's see this in this Jenkins setup for Qt on Windows with MinGW.

Security - SSH - Generating the public and private keys with a CLI

Using SSH is helpful in many situations.

But before using it, it's essential to have the famous public and private keys.

This SSH tutorial is for Windows users but feel free to inspire yourself for another operating system.

Let's see that.

C++ - Qt Framework - Moving a shape with arrow keys

Playing with the keyboard is an interesting way of learning the Qt framework.

In this tutorial we are going see, indeed, how to use the arrow keys in order to move a shape.

This shape is a circle, with only few properties to handle with.

Let's get started.

UNIX & GNU/Linux - Kernel - Hello world Linux kernel compilation

If you read this tutorial it's because you are curious about how to compile a Linux kernel.

There is plenty of reasons you might want to learn this procedure.

Even if you are a beginner, you will understand each step for building your first Linux kernel.

UNIX & GNU/Linux - Gentoo - Basis for setting it up

In the Linux world, there are two types of distributions.

First the monolithic ones, such as Ubuntu, where you don't have to set anything before using it.

Everything (or almost) is included to begin.

UNIX & GNU/Linux - bash - Setting a profile with the Git prompt

You have downloaded and installed your Git Bash on Windows.

That's a good thing.

But if you want to change your prompt as your favorite one, you have to create a file and add your own settings.

Let's see this.

Pages

Subscribe to BadproG.com RSS