This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
Тебе дается подсказка. Надо изменить make файл. Приведи текст makefile
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/tak/pokerstove/src
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/tak/pokerstove/src/build
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running interactive CMake command-line interface..."
/usr/bin/cmake -i .
.PHONY : edit_cache
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
/usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast
# Special rule for the target test
test:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..."
/usr/bin/ctest --force-new-ctest-process $(ARGS)
.PHONY : test
# Special rule for the target test
test/fast: test
.PHONY : test/fast
# The main all target
all: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/tak/pokerstove/src/build/CMakeFiles /home/tak/pokerstove/src/build/CMakeFiles/progress.marks
$(MAKE) -f CMakeFiles/Makefile2 all
$(CMAKE_COMMAND) -E cmake_progress_start /home/tak/pokerstove/src/build/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
$(MAKE) -f CMakeFiles/Makefile2 clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
$(MAKE) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
$(MAKE) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall/fast
# clear depends
depend:
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
#=============================================================================
# Target rules for targets named googletest
# Build rule for target.
googletest: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 googletest
.PHONY : googletest
# fast build rule for target.
googletest/fast:
$(MAKE) -f ext/gtest/CMakeFiles/googletest.dir/build.make ext/gtest/CMakeFiles/googletest.dir/build
.PHONY : googletest/fast
#=============================================================================
# Target rules for targets named peval
# Build rule for target.
peval: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 peval
.PHONY : peval
# fast build rule for target.
peval/fast:
$(MAKE) -f lib/pokerstove/peval/CMakeFiles/peval.dir/build.make lib/pokerstove/peval/CMakeFiles/peval.dir/build
.PHONY : peval/fast
#=============================================================================
# Target rules for targets named peval_tests
# Build rule for target.
peval_tests: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 peval_tests
.PHONY : peval_tests
# fast build rule for target.
peval_tests/fast:
$(MAKE) -f lib/pokerstove/peval/CMakeFiles/peval_tests.dir/build.make lib/pokerstove/peval/CMakeFiles/peval_tests.dir/build
.PHONY : peval_tests/fast
#=============================================================================
# Target rules for targets named penum
# Build rule for target.
penum: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 penum
.PHONY : penum
# fast build rule for target.
penum/fast:
$(MAKE) -f lib/pokerstove/penum/CMakeFiles/penum.dir/build.make lib/pokerstove/penum/CMakeFiles/penum.dir/build
.PHONY : penum/fast
#=============================================================================
# Target rules for targets named penum_tests
# Build rule for target.
penum_tests: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 penum_tests
.PHONY : penum_tests
# fast build rule for target.
penum_tests/fast:
$(MAKE) -f lib/pokerstove/penum/CMakeFiles/penum_tests.dir/build.make lib/pokerstove/penum/CMakeFiles/penum_tests.dir/build
.PHONY : penum_tests/fast
#=============================================================================
# Target rules for targets named util_tests
# Build rule for target.
util_tests: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 util_tests
.PHONY : util_tests
# fast build rule for target.
util_tests/fast:
$(MAKE) -f lib/pokerstove/util/CMakeFiles/util_tests.dir/build.make lib/pokerstove/util/CMakeFiles/util_tests.dir/build
.PHONY : util_tests/fast
#=============================================================================
# Target rules for targets named ps-colex
# Build rule for target.
ps-colex: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 ps-colex
.PHONY : ps-colex
# fast build rule for target.
ps-colex/fast:
$(MAKE) -f programs/ps-colex/CMakeFiles/ps-colex.dir/build.make programs/ps-colex/CMakeFiles/ps-colex.dir/build
.PHONY : ps-colex/fast
#=============================================================================
# Target rules for targets named ps-eval
# Build rule for target.
ps-eval: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 ps-eval
.PHONY : ps-eval
# fast build rule for target.
ps-eval/fast:
$(MAKE) -f programs/ps-eval/CMakeFiles/ps-eval.dir/build.make programs/ps-eval/CMakeFiles/ps-eval.dir/build
.PHONY : ps-eval/fast
#=============================================================================
# Target rules for targets named ps-lut
# Build rule for target.
ps-lut: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 ps-lut
.PHONY : ps-lut
# fast build rule for target.
ps-lut/fast:
$(MAKE) -f programs/ps-lut/CMakeFiles/ps-lut.dir/build.make programs/ps-lut/CMakeFiles/ps-lut.dir/build
.PHONY : ps-lut/fast
# Help Target
help:
@echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)"
@echo "... clean"
@echo "... depend"
@echo "... edit_cache"
@echo "... rebuild_cache"
@echo "... test"
@echo "... googletest"
@echo "... peval"
@echo "... peval_tests"
@echo "... penum"
@echo "... penum_tests"
@echo "... util_tests"
@echo "... ps-colex"
@echo "... ps-eval"
@echo "... ps-lut"
.PHONY : help
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system
Пользователь решил продолжить мысль [time]16 Июнь 2015, 14:53:55[/time]:
Посмотрите сам Makefile. Если там есть CXXFLAGS, то прямо так туда и добавить.
Не нашел
Пользователь решил продолжить мысль 17 Июня 2015, 11:11:54:
До сих пор очень нужен ответ.