CNES / aviso-fes

FES is the last version of the FES (Finite Element Solution) tide model.
https://cnes.github.io/aviso-fes
BSD 3-Clause "New" or "Revised" License
59 stars 24 forks source link

run cmake pointing it to the source directory #22

Closed AimAlee closed 3 weeks ago

AimAlee commented 7 months ago

Building & Installing One nice and highly recommended feature of CMake is the ability to do out of source builds. In this way you can make all your .o files, various temporary depend files, and even the binary executables without cluttering up your source tree. To use out of source builds, first create a build directory, then change into your build directory and run cmake pointing it to the source directory:

mkdir build && cd build cmake .. -DCMAKE_INSTALL_PREFIX=/opt/local

Hi, which is the source directory? Is it aviso-fes code folder which contains CMakeLists.txt? Please guide.

If I run this command (cmake .. -DCMAKE_INSTALL_PREFIX=/opt/local) it responts that the build directory does not contain CMakeLists.txt.

please

fbriol commented 3 weeks ago

This question is out of date. Use the latest version of this software. You can install it from Conda

AimAlee commented 3 weeks ago

This question is out of date. Use the latest version of this software. You can install it from Conda

Thank you very much. It worked.