modularize
This commit is contained in:
parent
490a07ade2
commit
14e1b74572
@ -94,6 +94,7 @@ set (SWIG_FILES ${CMAKE_SOURCE_DIR}/../generated/jni/yap_wrap.cpp )
|
|||||||
|
|
||||||
else ()
|
else ()
|
||||||
set(YLIBS
|
set(YLIBS
|
||||||
|
$<TARGET_OBJECTS:core>
|
||||||
$<TARGET_OBJECTS:libYAPOs>
|
$<TARGET_OBJECTS:libYAPOs>
|
||||||
$<TARGET_OBJECTS:libOPTYap>
|
$<TARGET_OBJECTS:libOPTYap>
|
||||||
$<TARGET_OBJECTS:myddas>
|
$<TARGET_OBJECTS:myddas>
|
||||||
@ -106,21 +107,25 @@ else ()
|
|||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
list (APPEND YLIBS $<TARGET_OBJECTS:Yap++>)
|
list (APPEND YLIBS $<TARGET_OBJECTS:YapC++>)
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
add_component (core
|
||||||
|
${ENGINE_SOURCES}
|
||||||
|
${SWIG_FILES}
|
||||||
|
${C_INTERFACE_SOURCES}
|
||||||
|
${STATIC_SOURCES}
|
||||||
|
${ALL_SOURCES}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
add_library( # Sets the name of the library.
|
add_library( # Sets the name of the library.
|
||||||
libYap
|
libYap
|
||||||
|
|
||||||
# Sets the library as a shared library.
|
# Sets the library as a shared library.
|
||||||
SHARED
|
SHARED
|
||||||
|
C/embedded.c
|
||||||
${ENGINE_SOURCES}
|
|
||||||
${SWIG_FILES}
|
|
||||||
${C_INTERFACE_SOURCES}
|
|
||||||
${STATIC_SOURCES}
|
|
||||||
${ALL_SOURCES}
|
|
||||||
${YLIBS}
|
${YLIBS}
|
||||||
${WINDLLS}
|
${WINDLLS}
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user