compiling CASToR with cmake

Hello,

I am trying to compile castor_v3.0.1 using cmake and get the warning that manually specified CASToR_CONFIG
is being ignored... I have seen this in previous versions. any suggestions on how to specify an alternate path for config folder at compile time?

Thanks,
Aram

CMake Warning:
Manually-specified variables were not used by the project:

 CASToR\_CONFIG
 CASToR\_ELASTIX

Hello Aram,

What is the exact warning message you get ? Normally you can configure the config directory with CASTOR_CONFIG cmake variable, it should be directly editable using cmake GUI.

Hope this helps,
Thibaut

Aram Teymurazyan <teymuraa@uregina.ca> a écrit :

Hi,

In addition to the setting of the config dir at compilation time with cmake, you can always change it at runtime using the “-conf” option.

Simon

Hello Aram,

These warnings are harmless. You could get rid of the “CASToR_CONFIG” initialization, the real cmake variable is “CASTOR_CONFIG”.

Same thing for CASToR_ELASTIX which was only used by and old development build. It is deprecated now so you can remove it from your cmake command line.

Best regards,
Thibaut