1file(GLOB TEST_SOURCES "./*.c") 2file(GLOB C_MODE_SOURCES "./c_mode/*.c") 3include_directories(include) 4include_directories(include/c_mode) 5 6set(RKCRYPTO_TEST_NAME librkcrypto_test) 7 8add_executable(${RKCRYPTO_TEST_NAME} ${TEST_SOURCES} ${C_MODE_SOURCES}) 9 10target_link_libraries(librkcrypto_test rkcrypto) 11 12install(TARGETS ${RKCRYPTO_TEST_NAME} RUNTIME DESTINATION "bin") 13