Commit 1457c609 authored by Nicolas Van der Noot's avatar Nicolas Van der Noot
Browse files

correct sattic linkage userfctR

parent c855c8cc
......@@ -52,7 +52,6 @@ if( FLAG_SHARED_LIB OR FLAG_SEPARATE_SYMBOLIC )
add_library(Project_symbolic SHARED ${SOURCE_FILES})
else()
add_library(Project_symbolic STATIC ${SOURCE_FILES})
add_definitions( -DPROJECT_SYMBOLIC_STATIC_DEFINE)
add_definitions( -DPROJECT_USERFCT_STATIC_DEFINE)
# some symbolic routines call user functions (ext_forces, accelred, ...)
......
......@@ -86,6 +86,7 @@ if( FLAG_SHARED_LIB OR FLAG_SEPARATE_USER_FCT )
else()
add_library(Project_userfct STATIC ${SOURCE_FILES})
add_definitions( -DMBSYSC_UTILITIES_STATIC_DEFINE)
add_definitions( -DPROJECT_SYMBOLIC_STATIC_DEFINE)
target_link_libraries (Project_userfct ${LIB_MBSYSC_REALTIME} ${LIB_MBSYSC_UTILITIES})
endif()
......
......@@ -52,7 +52,6 @@ if( FLAG_SHARED_LIB OR FLAG_SEPARATE_SYMBOLIC )
add_library(Project_symbolic SHARED ${SOURCE_FILES})
else()
add_library(Project_symbolic STATIC ${SOURCE_FILES})
add_definitions( -DPROJECT_SYMBOLIC_STATIC_DEFINE)
add_definitions( -DPROJECT_USERFCT_STATIC_DEFINE)
# some symbolic routines call user functions (ext_forces, accelred, ...)
......
......@@ -86,6 +86,7 @@ if( FLAG_SHARED_LIB OR FLAG_SEPARATE_USER_FCT )
else()
add_library(Project_userfct STATIC ${SOURCE_FILES})
add_definitions( -DMBSYSC_UTILITIES_STATIC_DEFINE)
add_definitions( -DPROJECT_SYMBOLIC_STATIC_DEFINE)
target_link_libraries (Project_userfct ${LIB_MBSYSC_REALTIME} ${LIB_MBSYSC_UTILITIES})
endif()
......
......@@ -58,7 +58,6 @@ if( FLAG_SHARED_LIB OR FLAG_SEPARATE_SYMBOLIC )
add_library(Project_symbolic SHARED ${SOURCE_FILES})
else()
add_library(Project_symbolic STATIC ${SOURCE_FILES})
add_definitions( -DPROJECT_SYMBOLIC_STATIC_DEFINE)
add_definitions( -DPROJECT_USERFCT_STATIC_DEFINE)
# some symbolic routines call user functions (ext_forces, accelred, ...)
......
......@@ -92,6 +92,7 @@ if( FLAG_SHARED_LIB OR FLAG_SEPARATE_USER_FCT )
else()
add_library(Project_userfct STATIC ${SOURCE_FILES})
add_definitions( -DMBSYSC_UTILITIES_STATIC_DEFINE)
add_definitions( -DPROJECT_SYMBOLIC_STATIC_DEFINE)
target_link_libraries (Project_userfct ${LIB_MBSYSC_REALTIME} ${LIB_MBSYSC_UTILITIES})
endif()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment