BNMR lib installation problems

Adopted the build system for the BNMR libs such that the generated files are found and can be installed. The BNMR lib mantainers (ZS, JK) are responsible for the functionality though.
This commit is contained in:
suter_a 2018-11-27 12:25:18 +01:00
parent a4cd0b065f
commit c5c5b16c46
5 changed files with 13 additions and 13 deletions

View File

@ -4,18 +4,18 @@
set(MUSRFIT_INC ${CMAKE_SOURCE_DIR}/src/include)
root_generate_dictionary(
libLineProfileDict
LineProfileDict
-I${FFTW3_INCLUDE_DIR}
-I${MUSRFIT_INC}
libLineProfile.h
LINKDEF libLineProfileLinkDef.h
MODULE libLineProfile
LineProfile.h
LINKDEF LineProfileLinkDef.h
MODULE LineProfile
)
#--- lib creation -------------------------------------------------------------
add_library(LineProfile SHARED
libLineProfile.cpp
libLineProfileDict.cxx
LineProfile.cpp
LineProfileDict.cxx
)
#--- make sure that the include directory is found ----------------------------
@ -48,7 +48,7 @@ install(
#--- install libLineProfile header ---------------------------------------------------
install(
FILES
libLineProfile.h
LineProfile.h
DESTINATION
include
)

View File

@ -20,7 +20,7 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include "libLineProfile.h"
#include "LineProfile.h"
#include <iostream> //for testing purposes
//Implement helperfunctions

View File

@ -1,19 +1,19 @@
## Process this file with automake to create Makefile.in
h_sources = \
libLineProfile.h
LineProfile.h
h_linkdef = \
libLineProfile.h
LineProfile.h
dict_h_sources = \
libLineProfileDict.h
LineProfileDict.h
cpp_sources = \
libLineProfile.cpp
LineProfile.cpp
dict_cpp_sources = \
libLineProfileDict.cpp
LineProfileDict.cpp
include_HEADERS = $(h_sources)
noinst_HEADERS = $(h_linkdef) $(dict_h_sources)