Hi,
After completing the majority of tutorials (which were very informative), I'd like to start building my own model. Now I wonder how to adapt the basic Cmake file section "Setup Headers to Include", to match my own project, publications, etc.
For a view of the basic cmake file, see: (http://simtk-confluence.stanford.edu:80 ... nvironment)
Best regards,
Koen Peters
Basic Cmake file
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
Re: Basic Cmake file
Hi Koen,
Did you get around this problem yet? I'm not sure what you're asking, can you explain a little more?. The section of the CMake file to "Setup headers to include" can be adapted by adding extra directories from your environment so that more headers can be located by CMake and later by the build system. Publications is a totally different story since they're included as text in the model file and so need to be modified by code and not during the CMake process.
Hope this helps, and please let us know if you continue to have questions.
Best regards,
-Ayman
Did you get around this problem yet? I'm not sure what you're asking, can you explain a little more?. The section of the CMake file to "Setup headers to include" can be adapted by adding extra directories from your environment so that more headers can be located by CMake and later by the build system. Publications is a totally different story since they're included as text in the model file and so need to be modified by code and not during the CMake process.
Hope this helps, and please let us know if you continue to have questions.
Best regards,
-Ayman
- Koen Peters
- Posts: 7
- Joined: Thu Sep 26, 2013 2:10 am
Re: Basic Cmake file
Hello Ayman,
Thank you for pointing out publications can be set using code, I was under the assumption they were part of the header. Now I can adapt the project name, target and source in the Cmake file and evertyhing else in my C++ code.
Cheers!
Koen
Thank you for pointing out publications can be set using code, I was under the assumption they were part of the header. Now I can adapt the project name, target and source in the Cmake file and evertyhing else in my C++ code.
Cheers!
Koen