artemis-dev / artemis

A RooT Extension with Modular processors for Instant Switching
2 stars 6 forks source link

make uninstall を実装してください #42

Open shinsuke-ota opened 1 year ago

shinsuke-ota commented 1 year ago

make uninstall が無いと掃除が面倒なので実装してもらえると助かります。

rin-yokoyama commented 1 year ago

承知しました。実装します。

ちなみにbuildディレクトリで xargs rm < install_manifest.txt とすれば一応消せます。

https://gitlab.kitware.com/cmake/community/-/wikis/FAQ#can-i-do-make-uninstall-with-cmake

shinsuke-ota commented 1 year ago

ありがとうございます。なるほど。色々と準備されてますね。一度 cmake 勉強しないとだめですね。 しかし、make uninstall のほうが慣れているので助かります。

shinsuke-ota commented 1 year ago

build ディレクトリで make uninstall ができるはず?

ota at saho-a in ~/work/artemis-experiment/repos/artemis-cmake/build (develop●) $ make uninstall make: *** ターゲット 'uninstall' を make するルールがありません. 中止.

rin-yokoyama commented 1 year ago

はい。cmake の reconfigure はしました?

shinsuke-ota commented 5 months ago

できていました。

shinsuke-ota commented 5 months ago

が、最近試してみたところ以下のような文言がいっぱい出てくるようです。

` -- Uninstalling /home/nestdaq/local/artemis/include/./TBetaDecomposeProcessor.h
CMake Warning (dev) at cmake_uninstall.cmake:10 (exec_program):
Policy CMP0153 is not set: The exec_program command should not be called.
Run "cmake --help-policy CMP0153" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.

Use execute_process() instead.
This warning is for project developers. Use -Wno-dev to suppress it.
`