-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from Guillaumebeuzeboc/dev/package
Dev/package
- Loading branch information
Showing
20 changed files
with
69 additions
and
42 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
src/haricot/cmake/TopLevelCMake.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
src/haricot/haricot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
src/haricot/setup_local.zsh |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
project(haricot) | ||
|
||
INIT_PKG() | ||
|
||
SETUP_PKG(haricot) | ||
|
||
install(DIRECTORY cmake/ DESTINATION share/haricot/cmake COMPONENT HARICOT) | ||
install(FILES haricot setup_install.zsh setup_local.zsh DESTINATION share/haricot COMPONENT HARICOT) | ||
install(FILES setup.zsh DESTINATION . COMPONENT HARICOT) | ||
BUILDDEB() |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
cmake_minimum_required(VERSION 3.5) | ||
project(workspace) | ||
|
||
set(cmd "dirname -z $(realpath CMakeLists.txt)") | ||
execute_process(COMMAND bash -c ${cmd} | ||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} | ||
RESULT_VARIABLE result | ||
OUTPUT_VARIABLE ORIGIN) | ||
|
||
include(${ORIGIN}/customMacro.cmake) | ||
include(${ORIGIN}/python.cmake) | ||
set(ROOT_DIR "${CMAKE_SOURCE_DIR}") | ||
set(CMAKE_INSTALL_PREFIX "${ROOT_DIR}/install") | ||
file(MAKE_DIRECTORY ${CMAKE_INSTALL_PREFIX}) | ||
|
||
PREPARE_PYTHON() | ||
|
||
SUBDIRLIST(SUBDIRS ${CMAKE_CURRENT_SOURCE_DIR}/src) | ||
SORT_SUBDIRS() | ||
FOREACH(subdir ${SUBDIRS}) | ||
message("== Configuration of ${subdir} started") | ||
ADD_SUBDIRECTORY(src/${subdir}) | ||
message("== Configuration of ${subdir} finished!") | ||
ENDFOREACH() | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
set(MAJOR_VERSION "0") | ||
set(MINOR_VERSION "0") | ||
set(PATCH_VERSION "1") | ||
set(DESCRIPTION "haricot") | ||
set(SUMMARY "haricot deb pkg") | ||
set(VENDOR "beuzeboc") | ||
set(MAINTAINER "[email protected]") |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
CMAKE_PREFIX_PATH=/opt/haricot-pkgs:${CMAKE_PREFIX_PATH} | ||
PYTHONPATH=/opt/haricot-pkgs/lib/python3/dist-packages:${PYTHONPATH} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
MY_SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )" | ||
CMAKE_PREFIX_PATH=${MY_SCRIPTPATH}/install:${CMAKE_PREFIX_PATH} | ||
PYTHONPATH=/home/beuzeboc/code/tmp/cmake_multi_repo_template/install/lib/python3/dist-packages:${PYTHONPATH} | ||
PYTHONPATH=${MY_SCRIPTPATH}/install/lib/python3/dist-packages:${PYTHONPATH} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
MY_SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )" | ||
CMAKE_PREFIX_PATH=${MY_SCRIPTPATH}/build/src:${CMAKE_PREFIX_PATH} | ||
PYTHONPATH=${MY_SCRIPTPATH}/build/python/lib/python3.5/site-packages:${PYTHONPATH} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters