Sounds like you want something similar to this.
Sounds like you want something similar to this: add_custom_command(OUTPUT B COMMAND ${CMAKE_COMMAND} -Dinput=A -P script_that_generates_B. Cmake DEPENDS A ) Where "B" is the full path to the output file, "A" is the full path to some input file, and the command is something that runs at build time to produce B whenever A changes. In order for the rule producing B to be executed at build time, something else must depend on B also.It should appear either as a DEPENDS of an add_custom_target that is in "all" or as a source file to an add_library or add_executable command to trigger the command to run.
EDIT: You can also use the if(file1 IS_NEWER_THAN file2) construct at CMake configure time, if necessary. The documentation of the IF command is rather lengthy, but searching on this page for IS_NEWER_THAN yields this nugget: "True if file1 is newer than file2 or if one of the two files doesn't exist. Behavior is well-defined only for full paths.
Put your command in an sh script. Then add in your CMake file the following code: ADD_CUSTOM_TARGET( script COMMAND /bin/bash ${*PATH TO SCRIPT*} ) You can call then "make script" and your script is executed.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.