Posts Tagged: c++

Configuring Jenkins on Ubuntu (for C++, GTest and Bitbucket)

¬†Installing wget -q -O – https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add – sudo sh -c ‘echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list’ sudo apt-get update $ sudo apt-get install jenkins Once installed, Jenkins will run at port 8080 on your server. Don’t forget to install a C/C++ compiler Don’t forget to install dependencies like QT, libc++ and… Read more »

Handige CMake configuratie

Handige CMake configuratie waarmee je alle source files in een project automatisch compileert en installeert. Simpeler kan haast niet…   cmake_minimum_required(VERSION 2.8) set(CMAKE_CXX_FLAGS “–std=c++11”) INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src) file(GLOB SRC “src/*.cpp” ) add_executable(ProjectName ${SRC}) install(TARGETS ProjectName DESTINATION ${PROJECT_SOURCE_DIR}/bin)   Deze¬†CMakeLists.txt plaats je in de root directory. Code komt in de src map, executable komt in de bin map,… Read more »