<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>When I ran into the same issue, my workaround was to use file
      properties to set dependencies between files, but I don't think it
      is very robust solution. Would be curious to hear if there is a
      better way to do it.</p>
    <p>Best,</p>
    <p>Petr<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 2/5/19 2:55 PM, Guido Giuntoli
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CADOH_Gcm5hZPqb0geovZbS5GZvMj+CiG+DfOsAnYyZFF5fANew@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">
              <div>Hi I have a Fortran project with the following order<br>
              </div>
              <div><br>
              </div>
              <div>src/module_1.f90     (Fortran Modules)<br>
              </div>
              <div>src/module_2.f90</div>
              <div>src/... (more files)</div>
              <div>
                <div><br>
                </div>
                <div>file(GLOB SOURCES src/*.f90)</div>
                <div>add_executable(MyExec SOURCES)</div>
                <div><br>
                </div>
              </div>
              <div>module_1 depends on module_2 and when is compiling
                module_1.f90 I get the dependency error :</div>
              <div><br>
              </div>
              <div>Fatal Error: Can't open module file ‘module_2.mod’
                :for reading at (1):  No existe el fichero o el
                directorio (<b>The file does not exist</b>).</div>
              <div><br>
              </div>
              <div>Thanks, Guido.<br>
              </div>
              <div><br>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
    </blockquote>
  </body>
</html>