Skip to content

CMake macros that check for and enable C++11 support in CMake projects

Notifications You must be signed in to change notification settings

nathan-osman/CXX11-CMake-Macros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

C++11 CMake Macros

The macros included in CXX11.cmake can be used for checking for and enabling C++11 support in a CMake project. These macros are still a work-in-progress.

Documentation

The usage of the macros is described below:

  • check_for_cxx11_compiler(VAR)
    determines whether the current compiler supports C++11

    Parameters:

    • a variable that will be set to 1 if the compiler supports C++11
  • enable_cxx11()
    sets the appropriate compiler flags to enable C++11

About

CMake macros that check for and enable C++11 support in CMake projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages