-
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.
- Loading branch information
1 parent
2726f72
commit 113037a
Showing
7 changed files
with
64 additions
and
13 deletions.
There are no files selected for viewing
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,9 @@ | ||
A model of the electromotor command network and a genetic algorithm | ||
to fit neural network models to temporal output patterns. | ||
It is written in an object oriented fashion with heavily templated C++. | ||
|
||
To build it, just type: | ||
> mkdir bin | ||
> cd bin | ||
> cmake .. | ||
> make |
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,5 +1,5 @@ | ||
cmake_minimum_required(VERSION 2.8) | ||
project(efish-nmodel CXX) | ||
project(electromotor-nmodel CXX) | ||
|
||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake.modules/") | ||
|
||
|
@@ -32,22 +32,28 @@ add_custom_target(GA COMMAND make lib | |
) | ||
add_subdirectory(thirdparty/Neun) | ||
add_subdirectory(thirdparty/libStats) | ||
add_subdirectory(include) | ||
add_subdirectory(src) | ||
|
||
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Modeling the variability of the electromotor command system of pulse mormyrids.") | ||
SET(CPACK_PACKAGE_VENDOR "Lareo, A., Varona P. and Rodriguez, FB.") | ||
set(CPACK_PACKAGE_CONTACT "[email protected]") | ||
SET(CPACK_PACKAGE_DESCRIPTION_FILE "Readme.md") | ||
SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/.Description") | ||
SET(CPACK_PACKAGE_VERSION_MAJOR ${CMake_VERSION_MAJOR}) | ||
SET(CPACK_PACKAGE_VERSION_MINOR ${CMake_VERSION_MINOR}) | ||
SET(CPACK_PACKAGE_VERSION_PATCH ${CMake_VERSION_PATCH}) | ||
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "CMake ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}") | ||
|
||
#SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libboost-program-options1.40.0") | ||
#set(CPACK_DEBIAN_PACKAGE_SECTION "science") | ||
#set(CPACK_GENERATOR "DEB") | ||
SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "A. Lareo") | ||
SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libboost-dev (>= 1.45)") | ||
SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libyaml-cpp-dev (>= 0.6.2)") | ||
SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libhdf5-dev (>= 1.10.4)") | ||
SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libhdf5-cpp-103 (>= 1.10.4)") | ||
SET(CPACK_DEBIAN_PACKAGE_SECTION "science") | ||
SET(CPACK_GENERATOR "DEB") | ||
|
||
#include(CPack) | ||
|
||
#configure_file(neun.pc.in neun.pc @ONLY) | ||
#install(FILES neun.pc DESTINATION pkgconfig) | ||
include(CPack) | ||
|
||
configure_file(electromotor-nmodel.pc.in ${CMAKE_SOURCE_DIR}/electromotor-nmodel.pc @ONLY) | ||
install(FILES electromotor-nmodel.pc DESTINATION pkgconfig) |
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 @@ | ||
prefix=/usr/local/electromotor-nmodel/0.1.0 | ||
exec_prefix=${prefix} | ||
includedir=${prefix} | ||
|
||
Name: neun | ||
Description: Modeling the variability of the electromotor command system of pulse mormyrids. | ||
Requires: | ||
Version: 0.1.0 | ||
Libs: | ||
Cflags: -I${includedir} |
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 @@ | ||
prefix=@CMAKE_INSTALL_PREFIX@/@PROJECT_NAME@/@PROJECT_VERSION@ | ||
exec_prefix=${prefix} | ||
includedir=${prefix} | ||
|
||
Name: neun | ||
Description: @CPACK_PACKAGE_DESCRIPTION_SUMMARY@ | ||
Requires: | ||
Version: @PROJECT_VERSION@ | ||
Libs: | ||
Cflags: -I${includedir} |
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,2 @@ | ||
# install(FILES *.h | ||
# DESTINATION ${PROJECT_NAME}/${PROJECT_VERSION}/include) |
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