All Projects → willyd → Caffe Builder

willyd / Caffe Builder

Licence: bsd-2-clause
CMake build scripts to automate building the Caffe library and its dependencies.

Labels

Projects that are alternatives of or similar to Caffe Builder

Cmake Precompiled Header
Visual Studio and GCC precompiled header macro for CMake
Stars: ✭ 153 (-10%)
Mutual labels:  cmake
Hunter
No description, website, or topics provided.
Stars: ✭ 1,882 (+1007.06%)
Mutual labels:  cmake
Glitter
Dead Simple OpenGL
Stars: ✭ 2,040 (+1100%)
Mutual labels:  cmake
Swift Build
Alternate Swift Builds
Stars: ✭ 156 (-8.24%)
Mutual labels:  cmake
Coolq Cpp Sdk
CoolQ C++ SDK
Stars: ✭ 157 (-7.65%)
Mutual labels:  cmake
Faup
Fast URL decoder library
Stars: ✭ 159 (-6.47%)
Mutual labels:  cmake
Jinx
Embeddable scripting language for real-time applications
Stars: ✭ 150 (-11.76%)
Mutual labels:  cmake
Cdt
C++ library for constrained Delaunay triangulation (CDT)
Stars: ✭ 165 (-2.94%)
Mutual labels:  cmake
Mini Cmake Qt
A minimal CMake template for Qt 5 & 6 projects
Stars: ✭ 156 (-8.24%)
Mutual labels:  cmake
Cmake Tutorial
CMake 官方教程
Stars: ✭ 162 (-4.71%)
Mutual labels:  cmake
Crosswindow
💻📱 A cross platform system abstraction library written in C++ for managing windows and performing OS tasks.
Stars: ✭ 155 (-8.82%)
Mutual labels:  cmake
Whatsapp For Linux
An unofficial WhatsApp desktop application for Linux.
Stars: ✭ 155 (-8.82%)
Mutual labels:  cmake
Carnd Capstone
Stars: ✭ 161 (-5.29%)
Mutual labels:  cmake
Simpleai
SimpleAI is a small C++ AI behaviour tree based library with a QT5 based remote debugger (and with optional LUA bindings) released under MIT.
Stars: ✭ 153 (-10%)
Mutual labels:  cmake
Sparkle
🎇 A modern particle engine running on GPU, using c++14 and OpenGL 4.4.
Stars: ✭ 162 (-4.71%)
Mutual labels:  cmake
Cython Cmake Example
Utilities and example for using CMake to build Cython modules - migrated to scikit-build
Stars: ✭ 151 (-11.18%)
Mutual labels:  cmake
Ecosystem
A cross-platform environment management system for VFX/animation production plus R&D
Stars: ✭ 159 (-6.47%)
Mutual labels:  cmake
Div Games Studio
Complete cross platform games development package, originally for DOS but now available on modern platforms.
Stars: ✭ 168 (-1.18%)
Mutual labels:  cmake
Primitiv
A Neural Network Toolkit.
Stars: ✭ 164 (-3.53%)
Mutual labels:  cmake
Raz
Modern & multiplatform game engine in C++17
Stars: ✭ 161 (-5.29%)
Mutual labels:  cmake

Caffe-Builder

Caffe-Builder is a set of CMake scripts (using CMake's ExternalProject) that automate the build and installation of popular C/C++ open source libraries on Windows using microsoft toolchain.

Using this project will (hopefully) make building, installing and using open source libraries on Windows much easier.

Build status

Building libraries

Get the Prerequisites

  • CMake (tested with 3.4 and 3.6)
  • Visual Studio (tested with 2013 and 2015 in 64 bit mode)
  • Git
  • Ninja

Make sure CMake, Git and Ninja are in your path.

Optional dependencies

  • CUDA (tested with 7.5) for GPU support in opencv and other libraries
  • Python (tested with 2.7.x) to build boost.python for example

Clone this repository:

cmd> cd %caffe_builder_root%
cmd> git clone https://github.com/willyd/caffe-builder.git caffe-builder

Building the libraries

Execute the following command to build the libraries

cmd> build_v120_x64.cmd

Alternatively you can execute one command after the other :: Create a build directory cmd> mkdir build && cd build :: Setup the VS compiler cmd> call "%VS120COMNTOOLS%....\VC\vcvarsall.bat" amd64 :: This will build all libraries that were configured to build with the BUILD_* options (see below) cmd> ninja :: Or alternatively cmd> ninja :: You can execute this command to list all possible targets cmd> ninja -t targets

The libraries will be installed in build\libraries. Alongside the libraries a series of Find*.cmake files will be installed and a caffe-builder-config.cmake file will be installed too. You can replace 120 with 140 in the commands above to build with VS 2015.

Using the built libraries in your project

cmd> cd myproject
cmd> mkdir build
cmd> cd build
cmd> cmake -G <generator name> -C %caffe_builder_root%\caffe-builder\build\libraries\caffe-build-config.cmake
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].