Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:49:24

0001 #!/bin/bash -l
0002 ##
0003 ## Copyright (c) 2019 Opticks Team. All Rights Reserved.
0004 ##
0005 ## This file is part of Opticks
0006 ## (see https://bitbucket.org/simoncblyth/opticks).
0007 ##
0008 ## Licensed under the Apache License, Version 2.0 (the "License"); 
0009 ## you may not use this file except in compliance with the License.  
0010 ## You may obtain a copy of the License at
0011 ##
0012 ##   http://www.apache.org/licenses/LICENSE-2.0
0013 ##
0014 ## Unless required by applicable law or agreed to in writing, software 
0015 ## distributed under the License is distributed on an "AS IS" BASIS, 
0016 ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  
0017 ## See the License for the specific language governing permissions and 
0018 ## limitations under the License.
0019 ##
0020 
0021 
0022 opticks-
0023 
0024 sdir=$(pwd)
0025 name=$(basename $sdir)
0026 #bdir=/tmp/$USER/opticks/$name/build 
0027 bdir=$(opticks-prefix)/build/$name
0028 
0029 #rm -rf $bdir 
0030 mkdir -p $bdir && cd $bdir && pwd 
0031 
0032 cmake $sdir \
0033     -DCMAKE_BUILD_TYPE=Debug \
0034     -DCMAKE_PREFIX_PATH=$(opticks-prefix)/externals \
0035     -DCMAKE_INSTALL_PREFIX=$(opticks-prefix) \
0036     -DCMAKE_MODULE_PATH=$(opticks-home)/cmake/Modules
0037 
0038 make
0039 make install   
0040 
0041