mirror of
https://github.com/facebook/sapling.git
synced 2024-10-04 22:07:44 +03:00
85a3b27852
Summary: It looks like the various CMAKE_CXX_FLAGS_* are simply ineffective, and I'm not sure why, setting CMAKE_CXX_FLAGS does work though, and CMake appears to add some release/debug flags to it when generating Ninja files. Reviewed By: fanzeyi Differential Revision: D27862117 fbshipit-source-id: a89f6182b5bae9a087f8fcfd4c5f9526f91e2adf
10 lines
442 B
CMake
10 lines
442 B
CMake
# Copyright (c) Facebook, Inc. and its affiliates.
|
|
|
|
# This file applies common compiler settings that are shared across
|
|
# a number of Facebook opensource projects.
|
|
# Please use caution and your best judgement before making changes
|
|
# to these shared compiler settings in order to avoid accidentally
|
|
# breaking a build in another project!
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wall -Wextra -Wno-deprecated -Wno-deprecated-declarations")
|