Skip to content

EXTRA_CXX_FLAGS not taken into account #4

@msis

Description

@msis

ReMake seems to ignore the configuration EXTRA_CXX_FLAGS:

Using the this example CMakeLists.txt file, ReMake seems to not set CMAKE_CXX_FLAGS to the same value as EXTRA_CXX_FLAGS:

cmake_minimum_required(VERSION 2.6)
include(ReMake)
remake_project(
  test_cxx_flags
  SUMMARY "Test EXTRA_CXX_FLAGS."
  AUTHOR "msis"
  CONTACT "[email protected]"
  EXTRA_CXX_FLAGS "-std=c++11 -Wall -Wextra"
)

versions:

$ remake -v
Built for x86_64-pc-linux-gnu
Copyright (C) 2010  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ cmake  --version
cmake version 3.5.1

CMake suite maintained and supported by Kitware (kitware.com/cmake)
$ lsb_release  -a 
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.1 LTS
Release:    16.04
Codename:   xenial

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions