Skip to content

Commit 6216ef3

Browse files
author
Clement Champetier
committed
CMake: deploy pyconcat application
1 parent 5915bb8 commit 6216ef3

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

app/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ add_subdirectory(avProcessor)
88
add_subdirectory(pyProcessor)
99
add_subdirectory(pyThumbnail)
1010
add_subdirectory(pyRewrap)
11+
add_subdirectory(pyConcat)

app/pyConcat/CMakeLists.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
### python/pyConcat
2+
3+
# Install app
4+
install(
5+
FILES "pyconcat.py"
6+
PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_READ WORLD_EXECUTE
7+
DESTINATION "bin/python"
8+
)
9+
10+
if(UNIX)
11+
install( CODE "EXECUTE_PROCESS(COMMAND ln -sf python/pyconcat.py ${CMAKE_INSTALL_PREFIX}/bin/pyconcat)" )
12+
endif(UNIX)

0 commit comments

Comments
 (0)