virtualbuildenv

This is the reference page for virtualbuildenv generator. Go to Mastering/Virtual Environments if you want to learn how to use conan virtual environments.

Created files

  • activate_build.{sh|bat}
  • deactivate_build.{sh|bat}

Usage

Linux/OSX:

> source activate_build.sh

Windows:

> activate_build.bat

Variables declared

ENVIRONMENT VAR DESCRIPTION
LIBS Library names to link
LDFLAGS Link flags, (-L, -m64, -m32)
CFLAGS Options for the C compiler (-g, -s, -m64, -m32, -fPIC)
CXXFLAGS Options for the C++ compiler (-g, -s, -stdlib, -m64, -m32, -fPIC)
CPPFLAGS Preprocessor definitions (-D, -I)
LIB Library paths separated with “;” (Visual Studio)
CL “/I” flags with include directories (Visual Studio)