@@ -7,4 +7,4 @@ Name: carla-host-plugin | |||||
Version: X-VERSION-X | Version: X-VERSION-X | ||||
Description: Carla Host as Native Plugin | Description: Carla Host as Native Plugin | ||||
Libs: -Wl,-rpath,${carla_libdir} -L${carla_libdir} -lcarla_host-plugin | Libs: -Wl,-rpath,${carla_libdir} -L${carla_libdir} -lcarla_host-plugin | ||||
Cflags: -DREAL_BUILD -I${includedir}/carla -I${includedir}/carla/includes | |||||
Cflags: -I${includedir}/carla -I${includedir}/carla/includes |
@@ -6,4 +6,4 @@ Name: carla-native-plugin | |||||
Version: X-VERSION-X | Version: X-VERSION-X | ||||
Description: Carla Native Plugin | Description: Carla Native Plugin | ||||
Libs: -Wl,-rpath,${libdir}/carla -L${libdir}/carla -lcarla_native-plugin | Libs: -Wl,-rpath,${libdir}/carla -L${libdir}/carla -lcarla_native-plugin | ||||
Cflags: -DREAL_BUILD -I${includedir}/carla -I${includedir}/carla/includes | |||||
Cflags: -I${includedir}/carla -I${includedir}/carla/includes |
@@ -6,4 +6,4 @@ Name: carla-standalone | |||||
Version: X-VERSION-X | Version: X-VERSION-X | ||||
Description: Carla Host Standalone | Description: Carla Host Standalone | ||||
Libs: -Wl,-rpath,${libdir}/carla -L${libdir}/carla -lcarla_standalone2 | Libs: -Wl,-rpath,${libdir}/carla -L${libdir}/carla -lcarla_standalone2 | ||||
Cflags: -DREAL_BUILD -I${includedir}/carla -I${includedir}/carla/includes | |||||
Cflags: -I${includedir}/carla -I${includedir}/carla/includes |
@@ -6,4 +6,4 @@ Name: carla-utils | |||||
Version: X-VERSION-X | Version: X-VERSION-X | ||||
Description: Carla Host Utilities | Description: Carla Host Utilities | ||||
Libs: -Wl,-rpath,${libdir}/carla -L${libdir}/carla -lcarla_utils | Libs: -Wl,-rpath,${libdir}/carla -L${libdir}/carla -lcarla_utils | ||||
Cflags: -DREAL_BUILD -I${includedir}/carla -I${includedir}/carla/includes -I${includedir}/carla/utils | |||||
Cflags: -I${includedir}/carla -I${includedir}/carla/includes -I${includedir}/carla/utils |
@@ -2,7 +2,6 @@ | |||||
#ifndef __APP_DETAILS_H__ | #ifndef __APP_DETAILS_H__ | ||||
#define __APP_DETAILS_H__ | #define __APP_DETAILS_H__ | ||||
#define REAL_BUILD | |||||
#include "../../../../source/includes/CarlaDefines.h" | #include "../../../../source/includes/CarlaDefines.h" | ||||
#define SFX_APP_MININAME_TITLE "CarlaControl" | #define SFX_APP_MININAME_TITLE "CarlaControl" | ||||
@@ -2,7 +2,6 @@ | |||||
#ifndef __APP_DETAILS_H__ | #ifndef __APP_DETAILS_H__ | ||||
#define __APP_DETAILS_H__ | #define __APP_DETAILS_H__ | ||||
#define REAL_BUILD | |||||
#include "../../../../source/includes/CarlaDefines.h" | #include "../../../../source/includes/CarlaDefines.h" | ||||
#define SFX_APP_MININAME_TITLE "Carla" | #define SFX_APP_MININAME_TITLE "Carla" | ||||
@@ -22,7 +22,7 @@ include $(CWD)/Makefile.deps.mk | |||||
# --------------------------------------------------------------------------------------------------------------------- | # --------------------------------------------------------------------------------------------------------------------- | ||||
# Set build and link flags | # Set build and link flags | ||||
BASE_FLAGS = -Wall -Wextra -pipe -DBUILDING_CARLA -DREAL_BUILD -MD -MP -fno-common | |||||
BASE_FLAGS = -Wall -Wextra -pipe -DBUILDING_CARLA -MD -MP -fno-common | |||||
BASE_OPTS = -O3 -ffast-math -fdata-sections -ffunction-sections | BASE_OPTS = -O3 -ffast-math -fdata-sections -ffunction-sections | ||||
ifeq ($(WASM),true) | ifeq ($(WASM),true) | ||||
@@ -242,7 +242,7 @@ SEARCH_INCLUDES = YES | |||||
INCLUDE_PATH = | INCLUDE_PATH = | ||||
INCLUDE_FILE_PATTERNS = | INCLUDE_FILE_PATTERNS = | ||||
PREDEFINED = DOXYGEN \ | PREDEFINED = DOXYGEN \ | ||||
BUILDING_CARLA REAL_BUILD \ | |||||
BUILDING_CARLA \ | |||||
HAVE_DGL HAVE_LIBLO HAVE_LIBMAGIC HAVE_FLUIDSYNTH HAVE_PROJECTM HAVE_X11 \ | HAVE_DGL HAVE_LIBLO HAVE_LIBMAGIC HAVE_FLUIDSYNTH HAVE_PROJECTM HAVE_X11 \ | ||||
HAVE_ZYN_DEPS HAVE_ZYN_UI_DEPS | HAVE_ZYN_DEPS HAVE_ZYN_UI_DEPS | ||||
EXPAND_AS_DEFINED = | EXPAND_AS_DEFINED = | ||||
@@ -18,11 +18,6 @@ | |||||
#ifndef CARLA_DEFINES_H_INCLUDED | #ifndef CARLA_DEFINES_H_INCLUDED | ||||
#define CARLA_DEFINES_H_INCLUDED | #define CARLA_DEFINES_H_INCLUDED | ||||
/* IDE Helper */ | |||||
#ifndef REAL_BUILD | |||||
# include "config.h" | |||||
#endif | |||||
/* Compatibility with non-clang compilers */ | /* Compatibility with non-clang compilers */ | ||||
#ifndef __has_feature | #ifndef __has_feature | ||||
# define __has_feature(x) 0 | # define __has_feature(x) 0 | ||||
@@ -21,7 +21,7 @@ endif | |||||
# --------------------------------------------------------------------------------------------------------------------- | # --------------------------------------------------------------------------------------------------------------------- | ||||
BASE_FLAGS += -DBUILDING_CARLA -DREAL_BUILD | |||||
BASE_FLAGS += -DBUILDING_CARLA | |||||
BASE_FLAGS += -I. -I.. -I../backend -I../includes -I../modules -I../utils | BASE_FLAGS += -I. -I.. -I../backend -I../includes -I../modules -I../utils | ||||
BUILD_CXX_FLAGS += -I$(CWD)/modules | BUILD_CXX_FLAGS += -I$(CWD)/modules | ||||