Hi,<div><br></div><div>I'm trying to build an ITK project via command line automatically rather than going through the window prompts. During this process, I only ever change two options: 1) the visual studio generator (32 or 64-bit) and 2) the ITK_DIR because I have several installations of ITK and the default find package does not always select the one I want.</div>
<div><br></div><div>I currently type:</div><div><br></div><div>cmake -G "Visual Studio 8 2005 Win64" ../src</div><div><br></div><div>from the build directory and that works fine. However, I am not able to set the ITK_DIR automatically. How can I set it either via this command line or in the CmakeLists.txt file that this calls upon?</div>
<div><br></div><div>Thanks,</div><div>Neil</div>