Automatically rebuild external cmake project after edit_cache -
i have main cmake project has project_include_path cached variable. pass variable cmake_args parameter external project add using externalproject_add().
the problem is, when change value of project_include_path using 'make edit_cache' external project not reconfigured.
is there way make external project reconfigured , built automatically when cached variable changed in main project?
i re-run cmake after modifying cmakecache.txt (not often). update externalproject_add call in case.
probably safer option here avoid make edit_cache, , re-run cmake command line parameter of -dproject_include_path:path=<updated value>.
Comments
Post a Comment