Browse Source

Carla: build with no debug, no assertions (for upcoming beta)

tags/v0.9.0
falkTX 13 years ago
parent
commit
e694fd984f
2 changed files with 5 additions and 5 deletions
  1. +1
    -1
      c++/carla-backend/Makefile
  2. +4
    -4
      c++/carla-bridge/Makefile

+ 1
- 1
c++/carla-backend/Makefile View File

@@ -17,7 +17,7 @@ BASE_FLAGS = -O2 -ffast-math -fomit-frame-pointer -fPIC -mtune=generic -m


CARLA_CXX_FLAGS = $(BASE_FLAGS) -std=c++0x $(CXXFLAGS) CARLA_CXX_FLAGS = $(BASE_FLAGS) -std=c++0x $(CXXFLAGS)
CARLA_CXX_FLAGS += $(shell pkg-config --cflags liblo QtCore QtGui) CARLA_CXX_FLAGS += $(shell pkg-config --cflags liblo QtCore QtGui)
CARLA_CXX_FLAGS += -DQT_NO_DEBUG -DQT_NO_DEBUG_STREAM -DQT_NO_DEBUG_OUTPUT # -DNDEBUG
CARLA_CXX_FLAGS += -DQT_NO_DEBUG -DQT_NO_DEBUG_STREAM -DQT_NO_DEBUG_OUTPUT -DNDEBUG
CARLA_CXX_FLAGS += -DVESTIGE_HEADER # Comment this line to not use vestige header CARLA_CXX_FLAGS += -DVESTIGE_HEADER # Comment this line to not use vestige header


CARLA_LD_FLAGS = -shared -ldl -lm -fPIC $(LDFLAGS) CARLA_LD_FLAGS = -shared -ldl -lm -fPIC $(LDFLAGS)


+ 4
- 4
c++/carla-bridge/Makefile View File

@@ -7,13 +7,13 @@
CXX ?= g++ CXX ?= g++
STRIP ?= strip STRIP ?= strip


# BASE_FLAGS = -O2 -ffast-math -fomit-frame-pointer -mtune=generic -msse -mfpmath=sse -Wall
BASE_FLAGS = -O0 -g
BASE_FLAGS = -O2 -ffast-math -fomit-frame-pointer -mtune=generic -msse -mfpmath=sse -Wall
# BASE_FLAGS = -O0 -g


BUILD_FLAGS = $(BASE_FLAGS) -std=c++0x $(CXXFLAGS) BUILD_FLAGS = $(BASE_FLAGS) -std=c++0x $(CXXFLAGS)
BUILD_FLAGS += -I. -I../carla-includes $(shell pkg-config --cflags liblo QtCore) BUILD_FLAGS += -I. -I../carla-includes $(shell pkg-config --cflags liblo QtCore)
# BUILD_FLAGS += -DBUILD_BRIDGE -DQT_NO_DEBUG -DQT_NO_DEBUG_STREAM -DQT_NO_DEBUG_OUTPUT -DNDEBUG
BUILD_FLAGS += -DBUILD_BRIDGE -DDEBUG
BUILD_FLAGS += -DBUILD_BRIDGE -DQT_NO_DEBUG -DQT_NO_DEBUG_STREAM -DQT_NO_DEBUG_OUTPUT -DNDEBUG
# BUILD_FLAGS += -DBUILD_BRIDGE -DDEBUG
BUILD_FLAGS += -DVESTIGE_HEADER # Comment this line to not use vestige header BUILD_FLAGS += -DVESTIGE_HEADER # Comment this line to not use vestige header


32BIT_FLAGS = -m32 32BIT_FLAGS = -m32


Loading…
Cancel
Save