1:55
> Objet: Re: [CMake] change add_executable to add_library leads to an error
> Hi Cedric.
> add_custom_target() does not work the way you think it does. The arguments
> given after the target name are commands which the custom target will
> execute. So what your custom target `sta
Hi Cedric.
add_custom_target() does not work the way you think it does. The arguments
given after the target name are commands which the custom target will
execute. So what your custom target `statphys` does is execute a program
named `simol-statphys`. When `simol-statphys` was the name of an exec
Hello,
I have the following script:
=
file(GLOB_RECURSE statphys "*.cpp")
#add_library(simol-statphys SHARED ${statphys})
add_executable(simol-statphys ${statphys})
add_dependencies(simol-statphys simol-core)
add_custom_target(statphys simol-stat