Skip to content
Snippets Groups Projects
Commit 6ed6d800 authored by Francois Bleibel's avatar Francois Bleibel
Browse files

Removed default definition of VP_DEBUG_MODE in cmake (already in header).

parent 7db88dd1
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ pool.h
exception-abstract.h
exception-factory.h
exception-signal.h
exception-traces.h
shell-functions.h
shell-procedure.h
......@@ -30,6 +30,8 @@ time-dependency.h
time-dependency.t.cpp
signal-caster.h
all-signals.h
)
# Recreate correct path for the headers
......
......@@ -6,7 +6,7 @@
#define DYNAMICGRAPH_API_H
#if defined (WIN32)
# ifdef DYNAMICGRAPH_EXPORT
# ifdef dynamic_graph_EXPORT
# define DYNAMICGRAPH_EXPORT __declspec(dllexport)
# else
# define DYNAMICGRAPH_EXPORT __declspec(dllimport)
......
......@@ -8,11 +8,10 @@ INCLUDE_DIRECTORIES(
)
# Verbosity level
IF (\"${CMAKE_VERBOSITY_LEVEL}\" STREQUAL \"\")
ADD_DEFINITIONS(-DVP_DEBUG_MODE=0)
ELSE (\"${CMAKE_VERBOSITY_LEVEL}\" STREQUAL \"\")
IF (NOT (\"${CMAKE_VERBOSITY_LEVEL}\" STREQUAL \"\"))
ADD_DEFINITIONS(-DVP_DEBUG_MODE=${CMAKE_VERBOSITY_LEVEL} -DVP_DEBUG)
ENDIF (\"${CMAKE_VERBOSITY_LEVEL}\" STREQUAL \"\")
ENDIF (NOT (\"${CMAKE_VERBOSITY_LEVEL}\" STREQUAL \"\"))
ADD_LIBRARY(${LIBRARY_NAME}
SHARED
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment