Commit Graph

31 Commits

Author SHA1 Message Date
Petr Zemek
39b74bf554 Replace uses of CMAKE_FIND_LIBRARY_PREFIXES with CMAKE_STATIC_LIBRARY_PREFIX.
From https://cmake.org/cmake/help/latest/variable/CMAKE_FIND_LIBRARY_PREFIXES.html:

    This specifies what prefixes to add to library names when the
    find_library() command looks for libraries.

What we want is CMAKE_STATIC_LIBRARY_PREFIX:

    The prefix to use for the name of a static library, lib on UNIX.

Also, we are already using CMAKE_STATIC_LIBRARY_SUFFIX, so this change also
makes the used variables consistent.
2018-01-12 12:25:13 +01:00
Petr Zemek
e3d2c150c3 Remove unused dependent libraries for yaramod.
This fixes the build after commit 718a06ec37 (in
the new yaramod version, the tl-cpputils dependency no longer exists).
2018-01-12 10:34:04 +01:00
Petr Zemek
13365143f9 Remove useless cmake_minimum_required() command from nested CMakeLists.txt files.
We just need this command in the top-level CMakeLists.txt.
2018-01-12 09:20:33 +01:00
Petr Zemek
c3eaf064a0 Remove a useless project() command from deps/llvm/CMakeLists.txt.
We just need a top-level project in the top-level CMakeLists.txt.
2018-01-12 09:09:33 +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
Petr Zemek
718a06ec37 Use newer versions of jsoncpp, yaracpp, and yaramod.
They contain bug fixes + yaramod does no longer use submodules.

* jsoncpp 1.8.3 -> 1.8.4
* yaracpp (latest master)
* yaramod (latest master)
2018-01-12 08:38:55 +01:00
Petr Zemek
1e8294c264 Download external projects via URL instead of GIT_REPOSITORY.
The use of URL is safer than GIT_REPOSITORY as CMake does not update the cloned
repository when GIT_TAG changes. On the other hand, it downloads new sources
when URL changes.
2018-01-12 08:33:07 +01:00
Petr Zemek
a0ceeae672 Update deps/openssl/CMakeLists.txt to its latest version from the fileformat repository.
This change was forgotten during the merging of all repositories into the
retdec repository in commit 7cad5076c0.
2018-01-11 14:18:50 +01:00
Peter Matula
102908edf5 deps: remove target guards from CMake files. 2018-01-10 16:33:41 +01:00
Peter Matula
30a9f172a1 deps: remove target guards from CMake files. 2018-01-10 16:33:15 +01:00
Peter Matula
7eeeb30e3d deps/libdwarf: change LIBDWARF_INSTALL_DIR path. 2018-01-10 13:17:06 +01:00
Peter Matula
4ff0a04ff0 refactor unit tests cmake names, installation dirs, etc. 2018-01-08 14:10:51 +01:00
Peter Matula
85fd152220 move include/* to include/retdec/* 2018-01-05 18:04:25 +01:00
Peter Matula
f7547144fa fix build and installation on windows 2018-01-05 16:02:33 +01:00
Peter Matula
fd3e41460d deps/llvm/CMakeLists.txt: fix target_include_directories(). 2018-01-05 12:58:23 +01:00
Peter Matula
f662c81826 deps/llvm: update referenced commit. 2018-01-05 12:44:25 +01:00
Peter Matula
7cad5076c0 all in one repo, no submodules, deps via cmake external project 2018-01-05 11:26:55 +01:00
Marek Milkovič
a74ffcfc2e Updated fnc-patterns submodule 2017-12-28 17:06:54 +01:00
Petr Zemek
dae80893b8 Cosmetic fixes and style unifications in CMakeLists.txt files. 2017-12-25 07:56:16 +01:00
Petr Zemek
630d2d3d9f Update capstone2llvmir, fileformat, fnc-patterns, and llvm submodules. 2017-12-24 11:47:31 +01:00
Marek Milkovič
7ccf79f3ef Updated capstone2llvmir, demangler, fileformat, fnc-patterns,
googletest, retdec-config and tl-cpputils submodules
2017-12-22 11:29:13 +01:00
Petr Zemek
840868bfd6 Update submodules fileformat, fnc-patterns, retdec-config. 2017-12-22 10:42:39 +01:00
Petr Zemek
4cad0e5059 Update submodules capstone2llvmir, fileformat, fnc-patterns, and llvm. 2017-12-22 08:50:02 +01:00
Marek Milkovič
583292145b Updated fileformat and fnc-patterns submodules 2017-12-21 23:27:01 +01:00
Marek Milkovič
9777086b23 Updated fileformat and fnc-patterns submodules 2017-12-21 11:28:22 +01:00
Petr Zemek
aebf5967eb Update the capstone2llvmir submodule. 2017-12-21 08:19:01 +01:00
Marek Milkovič
1e469383e1 Updated fileformat, fnc-patterns and llvm submodules 2017-12-20 19:30:58 +01:00
Michal Bandzi
a5b8a7235f Update submodules 2017-12-19 13:54:25 +01:00
Marek Milkovič
08810d3333 Updated fileformat and fnc-patterns submodules 2017-12-17 00:41:15 +01:00
Peter Matula
d55a05c3bd update submodules 2017-12-15 16:33:20 +01:00
Petr Zemek
d9230cbc94 Initial commit. 2017-12-12 18:05:30 +01:00