SET(CAPI_LIB "dali-internal")
SET(TC_SOURCES
- utc-Dali-Atlas.cpp
- utc-Dali-AnimatableMesh.cpp
- utc-Dali-Context.cpp
- utc-Dali-Constrainer.cpp
- utc-Dali-DistanceField.cpp
- utc-Dali-DynamicsBodyConfig.cpp
- utc-Dali-DynamicsShape.cpp
- utc-Dali-DynamicsWorld.cpp
- utc-Dali-DynamicsWorldConfig.cpp
- utc-Dali-Hash.cpp
- utc-Dali-HitTestAlgorithm.cpp
- utc-Dali-Material.cpp
- utc-Dali-MeshActor.cpp
- utc-Dali-MeshData.cpp
- utc-Dali-Mutex.cpp
- utc-Dali-Scripting.cpp
utc-Dali-Internal-Handles.cpp
utc-Dali-Internal-ImageFactory.cpp
utc-Dali-Internal-Mesh.cpp
)
LIST(APPEND TC_SOURCES
- mesh-builder.cpp
+ ../dali-devel/mesh-builder.cpp
../dali/dali-test-suite-utils/test-harness.cpp
../dali/dali-test-suite-utils/dali-test-suite-utils.cpp
../dali/dali-test-suite-utils/test-application.cpp
dali-core
)
-SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O0 -ggdb --coverage -Wall -Werror=return-type")
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${${CAPI_LIB}_CFLAGS_OTHER} -O0 -ggdb --coverage -Wall -Werror=return-type")
FOREACH(directory ${${CAPI_LIB}_LIBRARY_DIRS})
SET(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -L${directory}")
.
${${CAPI_LIB}_INCLUDE_DIRS}
../dali/dali-test-suite-utils
+ ../dali-devel
)
ADD_EXECUTABLE(${EXEC_NAME} ${EXEC_NAME}.cpp ${TC_SOURCES})
TARGET_LINK_LIBRARIES(${EXEC_NAME}
${${CAPI_LIB}_LIBRARIES}
- -lpthread
)
INSTALL(PROGRAMS ${EXEC_NAME}