#declare source and include files
add_subdirectory(inc)
add_subdirectory(src)
+add_subdirectory(example)
SET(PREFIX ${CMAKE_INSTALL_PREFIX})
SET(EXEC_DIR ${PREFIX})
}
int result() {
- std::cout<<"Generated Gif file : "<<baseName.data()<<std::endl;
+ std::cout<<"Generated GIF file : "<<baseName.data()<<std::endl;
return 0;
}
int help() {
- std::cout<<"Usage: lottie json_file_name\n";
+ std::cout<<"Usage: \n lottie2gif [lottieFileName]\n";
return 1;
}
demo_sources = files('demo.cpp')
demo_sources += common_source
-executable('rlottie',
- 'rlottietest.cpp',
+executable('lottie2gif',
+ 'lottie2gif.cpp',
include_directories : inc,
link_with : rlottie_lib)