mirror of
https://github.com/monero-project/monero.git
synced 2025-08-06 14:24:23 -04:00
cmake: build tests last
Keep -Werror for src, contrib and do not pass it for tests/
This commit is contained in:
parent
86e9de588c
commit
2051f89fbe
3 changed files with 13 additions and 9 deletions
|
@ -26,5 +26,10 @@
|
|||
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
||||
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# warnings are cleared only for GCC on Linux
|
||||
if (NOT (MINGW OR APPLE OR FREEBSD OR OPENBSD OR DRAGONFLY))
|
||||
add_compile_options("${WARNINGS_AS_ERRORS_FLAG}") # applies only to targets that follow
|
||||
endif()
|
||||
|
||||
add_subdirectory(epee)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue