Skip to content

Commit

Permalink
[UPDATE] .gitignore and build.sh
Browse files Browse the repository at this point in the history
- .gitignore to ignore all the unwanted files
- build.sh to install the tool
  • Loading branch information
sypai committed Sep 1, 2019
1 parent e7c743a commit 6354862
Show file tree
Hide file tree
Showing 17 changed files with 682 additions and 690 deletions.
214 changes: 214 additions & 0 deletions .gitignore
@@ -0,0 +1,214 @@
# Created by https://www.gitignore.io/api/cmake
# Edit at https://www.gitignore.io/?templates=cmake

temp.srt

CMakeFiles
cmake_install.cmake
resync
Makefile

*.srt

install/resync
install/libccaligner.a
install/libchromaprint.a
install/libwebrtc.a
install/temp.srt

### CMake ###
CMakeLists.txt.user
CMakeCache.txt
CMakeFiles
CMakeScripts
Testing
Makefile
cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
_deps

### CMake Patch ###
# External projects
*-prefix/

# End of https://www.gitignore.io/api/cmake


# Created by https://www.gitignore.io/api/clion,jetbrains+all
# Edit at https://www.gitignore.io/?templates=clion,jetbrains+all

### CLion ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/modules.xml
# .idea/*.iml
# .idea/modules

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

# JetBrains templates
**___jb_tmp___

### CLion Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721

# *.iml
# modules.xml
# .idea/misc.xml
# *.ipr

# Sonarlint plugin
.idea/sonarlint

### JetBrains+all ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff

# Generated files

# Sensitive or high-churn files

# Gradle

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/modules.xml
# .idea/*.iml
# .idea/modules

# CMake

# Mongo Explorer plugin

# File-based project format

# IntelliJ

# mpeltonen/sbt-idea plugin

# JIRA plugin

# Cursive Clojure plugin

# Crashlytics plugin (for Android Studio and IntelliJ)

# Editor-based Rest Client

# Android studio 3.1+ serialized cache file

# JetBrains templates

### JetBrains+all Patch ###
# Ignores the whole .idea folder and all .iml files
# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360

.idea/

# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023

*.iml
modules.xml
.idea/misc.xml
*.ipr

# Sonarlint plugin

# End of https://www.gitignore.io/api/clion,jetbrains+all

# Prerequisites
*.d

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app
2 changes: 1 addition & 1 deletion .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions CMakeLists.txt
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.10)
project(Subtitle_Resync C CXX)
project(resync C CXX)

set(CMAKE_CXX_STANDARD 14)

Expand Down Expand Up @@ -181,5 +181,5 @@ set(SourceFiles
src/main.cpp
)

add_executable(Subtitle_Resync ${SourceFiles})
target_link_libraries(Subtitle_Resync webrtc chromaprint ccaligner ${EXTRA_FLAGS} Boost::system Boost::filesystem)
add_executable(resync ${SourceFiles})
target_link_libraries(resync webrtc chromaprint ccaligner ${EXTRA_FLAGS} Boost::system Boost::filesystem)
14 changes: 13 additions & 1 deletion cmake-build-debug/CMakeCache.txt
Expand Up @@ -174,7 +174,7 @@ CMAKE_PROJECT_DESCRIPTION:STATIC=
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=Subtitle_Resync
CMAKE_PROJECT_NAME:STATIC=resync

//Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
Expand Down Expand Up @@ -247,6 +247,18 @@ Subtitle_Resync_BINARY_DIR:STATIC=/home/sypai/Subtitle-Resync/cmake-build-debug
//Value Computed by CMake
Subtitle_Resync_SOURCE_DIR:STATIC=/home/sypai/Subtitle-Resync

//Value Computed by CMake
resync_BINARY_DIR:STATIC=/home/sypai/Subtitle-Resync/cmake-build-debug

//Value Computed by CMake
resync_SOURCE_DIR:STATIC=/home/sypai/Subtitle-Resync

//Value Computed by CMake
subtitle_resync_BINARY_DIR:STATIC=/home/sypai/Subtitle-Resync/cmake-build-debug

//Value Computed by CMake
subtitle_resync_SOURCE_DIR:STATIC=/home/sypai/Subtitle-Resync


########################
# INTERNAL cache entries
Expand Down
2 changes: 1 addition & 1 deletion cmake-build-debug/CMakeFiles/Makefile.cmake
Expand Up @@ -51,7 +51,7 @@ set(CMAKE_MAKEFILE_PRODUCTS

# Dependency information for all targets:
set(CMAKE_DEPEND_INFO_FILES
"CMakeFiles/Subtitle_Resync.dir/DependInfo.cmake"
"CMakeFiles/resync.dir/DependInfo.cmake"
"CMakeFiles/ccaligner.dir/DependInfo.cmake"
"CMakeFiles/webrtc.dir/DependInfo.cmake"
"CMakeFiles/chromaprint.dir/DependInfo.cmake"
Expand Down
40 changes: 20 additions & 20 deletions cmake-build-debug/CMakeFiles/Makefile2
Expand Up @@ -65,41 +65,41 @@ CMAKE_SOURCE_DIR = /home/sypai/Subtitle-Resync
CMAKE_BINARY_DIR = /home/sypai/Subtitle-Resync/cmake-build-debug

#=============================================================================
# Target rules for target CMakeFiles/Subtitle_Resync.dir
# Target rules for target CMakeFiles/resync.dir

# All Build rule for target.
CMakeFiles/Subtitle_Resync.dir/all: CMakeFiles/ccaligner.dir/all
CMakeFiles/Subtitle_Resync.dir/all: CMakeFiles/webrtc.dir/all
CMakeFiles/Subtitle_Resync.dir/all: CMakeFiles/chromaprint.dir/all
$(MAKE) -f CMakeFiles/Subtitle_Resync.dir/build.make CMakeFiles/Subtitle_Resync.dir/depend
$(MAKE) -f CMakeFiles/Subtitle_Resync.dir/build.make CMakeFiles/Subtitle_Resync.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/sypai/Subtitle-Resync/cmake-build-debug/CMakeFiles --progress-num=1,2,3,4,5,6 "Built target Subtitle_Resync"
.PHONY : CMakeFiles/Subtitle_Resync.dir/all
CMakeFiles/resync.dir/all: CMakeFiles/webrtc.dir/all
CMakeFiles/resync.dir/all: CMakeFiles/chromaprint.dir/all
CMakeFiles/resync.dir/all: CMakeFiles/ccaligner.dir/all
$(MAKE) -f CMakeFiles/resync.dir/build.make CMakeFiles/resync.dir/depend
$(MAKE) -f CMakeFiles/resync.dir/build.make CMakeFiles/resync.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/sypai/Subtitle-Resync/cmake-build-debug/CMakeFiles --progress-num=28,29,30,31,32,33 "Built target resync"
.PHONY : CMakeFiles/resync.dir/all

# Include target in all.
all: CMakeFiles/Subtitle_Resync.dir/all
all: CMakeFiles/resync.dir/all

.PHONY : all

# Build rule for subdir invocation for target.
CMakeFiles/Subtitle_Resync.dir/rule: cmake_check_build_system
CMakeFiles/resync.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/sypai/Subtitle-Resync/cmake-build-debug/CMakeFiles 51
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/Subtitle_Resync.dir/all
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/resync.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/sypai/Subtitle-Resync/cmake-build-debug/CMakeFiles 0
.PHONY : CMakeFiles/Subtitle_Resync.dir/rule
.PHONY : CMakeFiles/resync.dir/rule

# Convenience name for target.
Subtitle_Resync: CMakeFiles/Subtitle_Resync.dir/rule
resync: CMakeFiles/resync.dir/rule

.PHONY : Subtitle_Resync
.PHONY : resync

# clean rule for target.
CMakeFiles/Subtitle_Resync.dir/clean:
$(MAKE) -f CMakeFiles/Subtitle_Resync.dir/build.make CMakeFiles/Subtitle_Resync.dir/clean
.PHONY : CMakeFiles/Subtitle_Resync.dir/clean
CMakeFiles/resync.dir/clean:
$(MAKE) -f CMakeFiles/resync.dir/build.make CMakeFiles/resync.dir/clean
.PHONY : CMakeFiles/resync.dir/clean

# clean rule for target.
clean: CMakeFiles/Subtitle_Resync.dir/clean
clean: CMakeFiles/resync.dir/clean

.PHONY : clean

Expand All @@ -110,7 +110,7 @@ clean: CMakeFiles/Subtitle_Resync.dir/clean
CMakeFiles/ccaligner.dir/all:
$(MAKE) -f CMakeFiles/ccaligner.dir/build.make CMakeFiles/ccaligner.dir/depend
$(MAKE) -f CMakeFiles/ccaligner.dir/build.make CMakeFiles/ccaligner.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/sypai/Subtitle-Resync/cmake-build-debug/CMakeFiles --progress-num=7,8,9,10,11 "Built target ccaligner"
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/sypai/Subtitle-Resync/cmake-build-debug/CMakeFiles --progress-num=1,2,3,4,5 "Built target ccaligner"
.PHONY : CMakeFiles/ccaligner.dir/all

# Include target in all.
Expand Down Expand Up @@ -184,7 +184,7 @@ clean: CMakeFiles/webrtc.dir/clean
CMakeFiles/chromaprint.dir/all:
$(MAKE) -f CMakeFiles/chromaprint.dir/build.make CMakeFiles/chromaprint.dir/depend
$(MAKE) -f CMakeFiles/chromaprint.dir/build.make CMakeFiles/chromaprint.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/sypai/Subtitle-Resync/cmake-build-debug/CMakeFiles --progress-num=12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33 "Built target chromaprint"
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/sypai/Subtitle-Resync/cmake-build-debug/CMakeFiles --progress-num=6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27 "Built target chromaprint"
.PHONY : CMakeFiles/chromaprint.dir/all

# Include target in all.
Expand Down
19 changes: 17 additions & 2 deletions cmake-build-debug/CMakeFiles/Subtitle_Resync.dir/depend.make
@@ -1,2 +1,17 @@
# Empty dependencies file for Subtitle_Resync.
# This may be replaced when dependencies are built.
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.14

CMakeFiles/Subtitle_Resync.dir/src/main.cpp.o: ../src/main.cpp

CMakeFiles/Subtitle_Resync.dir/src/subtitle_resync.cpp.o: ../src/subtitle_resync.cpp
CMakeFiles/Subtitle_Resync.dir/src/subtitle_resync.cpp.o: ../src/subtitle_resync.h

CMakeFiles/Subtitle_Resync.dir/src/utils/align_fingerprints.cpp.o: ../src/utils/align_fingerprints.cpp
CMakeFiles/Subtitle_Resync.dir/src/utils/align_fingerprints.cpp.o: ../src/utils/align_fingerprints.h

CMakeFiles/Subtitle_Resync.dir/src/utils/base64_strings.cpp.o: ../src/utils/base64_strings.cpp
CMakeFiles/Subtitle_Resync.dir/src/utils/base64_strings.cpp.o: ../src/utils/base64_strings.h

CMakeFiles/Subtitle_Resync.dir/src/utils/dactylogram.cpp.o: ../src/utils/dactylogram.cpp
CMakeFiles/Subtitle_Resync.dir/src/utils/dactylogram.cpp.o: ../src/utils/dactylogram.h

2 changes: 1 addition & 1 deletion cmake-build-debug/CMakeFiles/TargetDirectories.txt
@@ -1,6 +1,6 @@
/home/sypai/Subtitle-Resync/cmake-build-debug/CMakeFiles/edit_cache.dir
/home/sypai/Subtitle-Resync/cmake-build-debug/CMakeFiles/rebuild_cache.dir
/home/sypai/Subtitle-Resync/cmake-build-debug/CMakeFiles/Subtitle_Resync.dir
/home/sypai/Subtitle-Resync/cmake-build-debug/CMakeFiles/resync.dir
/home/sypai/Subtitle-Resync/cmake-build-debug/CMakeFiles/ccaligner.dir
/home/sypai/Subtitle-Resync/cmake-build-debug/CMakeFiles/webrtc.dir
/home/sypai/Subtitle-Resync/cmake-build-debug/CMakeFiles/chromaprint.dir

0 comments on commit 6354862

Please sign in to comment.