[569144] Fix FORTE_LINKED_STRINGDICT definition

A misplaced definition of build option FORTE_LINKED_STRINGDICT leads to
a superfluous recompile of all source files on the second build in a ny
given build directory. Its value is referenced before it is defined.

This patch moves the option declaration in CMakeLists.txt up so that it
can take effect before FORTE_LINKED_STRINGDICT is referenced first.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=569144
Signed-off-by: Jörg Walter <joerg.walter@offis.de>
Change-Id: Ie0b964c9e143ac96d5aa2608f6ca61a8c4b7e7fc
1 file changed
tree: 52a0502d75a525cd4209e52f364c0d47c21af530
  1. .settings/
  2. .tito/
  3. buildsupport/
  4. doc/
  5. docker/
  6. src/
  7. systemd/
  8. systemtests/
  9. tests/
  10. .cproject
  11. .gitignore
  12. .gitreview
  13. .project
  14. 4diac-forte.spec
  15. about.html
  16. CMakeLists.txt
  17. Doxyfile
  18. epl-2.0.html
  19. forte_config.h.in
  20. fortestyle.xml
  21. notice.html
  22. README.md
  23. setup_digime74.sh
  24. setup_lmsEv3.sh
  25. setup_phycoreat91.sh
  26. setup_plcnext.sh
  27. setup_posix-ppc.sh
  28. setup_posix.sh
README.md

Building 4DIAC Forte

Standard POSIX build

./setup_posix.sh
cd bin/posix
make

Resetting CMake files

In case you ran CMake with invalid options it might help to reset the CMake state by deleting CMake intermediate files:

rm -Rf CMakeCache.txt CMakeFiles/

Building a local RPM

For building local RPMs you can use (tito)[https://github.com/dgoodwin/tito]

tito build --test --rpm