I have a project in VS2013 and I want to include ITK and VTK libraries using CMake. I configured my CMakeList.txt to include the files of source code of my application. But, I do not know how to make compile the help file for the User Manual of my application.
Configuration and Generation in CMake: No problem.
Compiling my project in VS2013: No problem
Compiling the help file (MyApp.chm): Not compiled <== This is my problem
In the source directory the help file compile together with my application correctly. But, when I use CMake to include ITK and VTK libraries in my project and I compile it after in the binary directory, the help file is absent. I know this not an error of CMake, this is because I do not know how to make it. For that reason I ask you for some help.
Your top-level CMakeLists.txt is simple enough, but it says nothing about help file. If you share CMakeLists.txt from hlp folder, we might be able to offer more help.
But I expect that you will need to add a custom build step to build your help file.
What is the $(InputFileName) for this script? This could be turned into a batch file to be invoked by CMake via custom build step.
Also, there should be additional steps to process files from Help_SRCS list (HTMLDefines.h, Stassis.hhc, Stassis.hhk, Stassis.hhp) and produce MyApp.chm. I don’t know what those steps should be, as I have not created .chm help files.
And this is more of a question for CMake mailing list, as it has very little to do with ITK.