Commit Graph

11 Commits

Author SHA1 Message Date
Peter Matula
f6089034cd CMake: add RETDEC_DEV_TOOLS option. 2018-01-15 16:08:10 +01:00
Petr Zemek
3c761149e5 Set proper RPATH also for macOS + add a rationale behind it (#77).
On macOS, RPATH has to be set differently from Linux. For more details, see
https://cmake.org/Wiki/CMake_RPATH_handling
2018-01-12 12:19:47 +01:00
Petr Zemek
60436fb5bf Change the order of commands in the top-level CMakeLists.txt.
We want to first show available options, and only then set build settings.
2018-01-12 10:37:31 +01:00
Petr Zemek
9532d604f9 Add C into the top-level project() command in CMakeLists.txt.
Some parts of RetDec (e.g. libelf and libdwarf) require a C compiler, so we
should make this apparent in the top-level CMakeLists.txt.
2018-01-12 09:04:09 +01:00
Petr Zemek
9ef11c96d2 Unify formatting in CMakeLists.txt files.
* Remove redundant first empty line from some files.
* Convert spaces to tabs.
* Remove redundant comments.
2018-01-12 09:00:52 +01:00
Peter Matula
4ff0a04ff0 refactor unit tests cmake names, installation dirs, etc. 2018-01-08 14:10:51 +01:00
Peter Matula
093597e779 CMakeLists.txt: set and use EP_PREFIX variable. 2018-01-05 12:44:52 +01:00
Peter Matula
7cad5076c0 all in one repo, no submodules, deps via cmake external project 2018-01-05 11:26:55 +01:00
Petr Zemek
dae80893b8 Cosmetic fixes and style unifications in CMakeLists.txt files. 2017-12-25 07:56:16 +01:00
Petr Zemek
ecba1a6367 Build all external projects in the same top-level directory.
This reduces path lengths, which is important on Windows as there is a limit on
how long a path can be (#61).
2017-12-25 07:47:52 +01:00
Petr Zemek
d9230cbc94 Initial commit. 2017-12-12 18:05:30 +01:00