cmake
This commit is contained in:
@@ -67,7 +67,7 @@ if (MPI_C_FOUND)
|
||||
# pass to the MPI program.
|
||||
#
|
||||
|
||||
add_library (yap_mpi SHARED ${MPI_SOURCES})
|
||||
add_lib (yap_mpi ${MPI_SOURCES})
|
||||
|
||||
target_link_libraries(yap_mpi libYap ${MPI_C_LIBRARIES})
|
||||
|
||||
|
@@ -7,7 +7,7 @@ if (MATLAB_FOUND)
|
||||
# MATLAB_MX_LIBRARY: path to libmx.lib
|
||||
# MATLAB_ENG_LIBRARY: path to libeng.lib
|
||||
|
||||
add_library (matlab SHARED matlab.c)
|
||||
add_li (matlab matlab.c)
|
||||
|
||||
set_target_properties (matlab PROPERTIES prefix "")
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
|
||||
add_library (matrix SHARED matrix.c)
|
||||
add_lib(matrix matrix.c)
|
||||
|
||||
target_link_libraries(matrix libYap)
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
|
||||
set( LIBRANDOM_SOURCES yap_random.c)
|
||||
add_external (yap_random ${LIBRANDOM_SOURCES})
|
||||
add_lib(yap_random ${LIBRANDOM_SOURCES})
|
||||
if (ANDROID)
|
||||
else()
|
||||
|
||||
|
@@ -17,7 +17,7 @@ set ( REGEX_SOURCES
|
||||
|
||||
|
||||
|
||||
add_library (regexp SHARED regexp.c ${REGEX_SOURCES})
|
||||
add_lib(regexp regexp.c ${REGEX_SOURCES})
|
||||
|
||||
target_link_libraries(regexp libYap)
|
||||
|
||||
|
@@ -4,7 +4,7 @@ set ( RLTREE_SOURCES
|
||||
range_list.h
|
||||
)
|
||||
|
||||
add_library (yap_rl SHARED yap_rl.c ${RLTREE_SOURCES})
|
||||
add_lib(yap_rl yap_rl.c ${RLTREE_SOURCES})
|
||||
|
||||
target_link_libraries(yap_rl libYap)
|
||||
|
||||
|
@@ -2,7 +2,7 @@ set( LIBSYSTEM_SOURCES sys.c crypto/md5.c )
|
||||
set( LIBSYSTEM_HEADERS crypto/md5.h)
|
||||
|
||||
|
||||
add_external (sys ${LIBSYSTEM_SOURCES})
|
||||
add_lib(sys ${LIBSYSTEM_SOURCES})
|
||||
if (ANDROID)
|
||||
set (TARGET libYap)
|
||||
else()
|
||||
|
@@ -6,7 +6,7 @@ set ( TRIES_SOURCES
|
||||
tries.c
|
||||
)
|
||||
|
||||
add_library (tries SHARED ${TRIES_SOURCES})
|
||||
add_lib(tries ${TRIES_SOURCES})
|
||||
|
||||
target_link_libraries(tries libYap)
|
||||
|
||||
@@ -27,7 +27,7 @@ set ( ITRIES_SOURCES
|
||||
if (ANDROID OR WIN32)
|
||||
add_component ( otries ${TRIES_SOURCES} )
|
||||
endif()
|
||||
add_library (itries SHARED ${ITRIES_SOURCES})
|
||||
add_lib(itries ${ITRIES_SOURCES})
|
||||
|
||||
target_link_libraries(itries libYap)
|
||||
|
||||
|
Reference in New Issue
Block a user