mirror of
https://github.com/avast/retdec.git
synced 2025-01-18 20:05:07 +00:00
CMake: add RETDEC_DEV_TOOLS option.
This commit is contained in:
parent
632881f0d6
commit
f6089034cd
@ -10,6 +10,7 @@ endif()
|
||||
|
||||
option(RETDEC_DOC "Build public API documentation (requires Doxygen)." OFF)
|
||||
option(RETDEC_TESTS "Build tests." OFF)
|
||||
option(RETDEC_DEV_TOOLS "Build dev tools." OFF)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
|
||||
|
@ -197,6 +197,7 @@ You have to pass the following parameters to `cmake`:
|
||||
You can pass the following additional parameters to `cmake`:
|
||||
* `-DRETDEC_DOC=ON` to build with API documentation (requires Doxygen and Graphviz, disabled by default).
|
||||
* `-DRETDEC_TESTS=ON` to build with tests (disabled by default).
|
||||
* `-DRETDEC_DEV_TOOLS=ON` to build with development tools (disabled by default).
|
||||
* `-DCMAKE_BUILD_TYPE=Debug` to build with debugging information, which is useful during development. By default, the project is built in the `Release` mode. This has no effect on Windows, but the same thing can be achieved by running `cmake --build .` with the `--config Debug` parameter.
|
||||
* `-DCMAKE_PROGRAM_PATH=<path>` to use Perl at `<path>` (probably useful only on Windows).
|
||||
|
||||
|
11
deps/CMakeLists.txt
vendored
11
deps/CMakeLists.txt
vendored
@ -4,19 +4,18 @@ if(MSVC)
|
||||
endif()
|
||||
|
||||
add_subdirectory(capstone)
|
||||
if(RETDEC_TESTS)
|
||||
add_subdirectory(googletest)
|
||||
endif()
|
||||
add_subdirectory(jsoncpp)
|
||||
add_subdirectory(keystone)
|
||||
add_subdirectory(llvm)
|
||||
add_subdirectory(openssl)
|
||||
add_subdirectory(rapidjson)
|
||||
add_subdirectory(tinyxml2)
|
||||
|
||||
|
||||
add_subdirectory(elfio)
|
||||
add_subdirectory(libdwarf)
|
||||
add_subdirectory(pelib)
|
||||
add_subdirectory(yaracpp)
|
||||
add_subdirectory(yaramod)
|
||||
|
||||
if(RETDEC_TESTS)
|
||||
add_subdirectory(googletest)
|
||||
add_subdirectory(keystone)
|
||||
endif()
|
||||
|
@ -4,7 +4,6 @@ add_subdirectory(bin2llvmir)
|
||||
add_subdirectory(bin2llvmirtool)
|
||||
add_subdirectory(bin2pat)
|
||||
add_subdirectory(capstone2llvmir)
|
||||
add_subdirectory(capstone2llvmirtool) # TODO: CAPSTONE2LLVMIR_TOOLS
|
||||
add_subdirectory(config)
|
||||
add_subdirectory(configtool)
|
||||
add_subdirectory(cpdetect)
|
||||
@ -13,14 +12,11 @@ add_subdirectory(ctypes)
|
||||
add_subdirectory(ctypesparser)
|
||||
add_subdirectory(debugformat)
|
||||
add_subdirectory(demangler)
|
||||
add_subdirectory(demangler_grammar_gen) # TODO: DEMANGLER_TOOLS
|
||||
add_subdirectory(demanglertool) # TODO: DEMANGLER_TOOLS
|
||||
add_subdirectory(dwarfparser)
|
||||
add_subdirectory(fileformat)
|
||||
add_subdirectory(fileinfo)
|
||||
add_subdirectory(idr2pat)
|
||||
add_subdirectory(llvm-support)
|
||||
add_subdirectory(llvmir-emul) # TODO: CAPSTONE2LLVMIR_TESTS
|
||||
add_subdirectory(llvmir2hll)
|
||||
add_subdirectory(llvmir2hlltool)
|
||||
add_subdirectory(loader)
|
||||
@ -34,3 +30,13 @@ add_subdirectory(stacofintool)
|
||||
add_subdirectory(unpacker)
|
||||
add_subdirectory(unpackertool)
|
||||
add_subdirectory(utils)
|
||||
|
||||
if(RETDEC_TESTS)
|
||||
add_subdirectory(llvmir-emul)
|
||||
endif()
|
||||
|
||||
if(RETDEC_DEV_TOOLS)
|
||||
add_subdirectory(capstone2llvmirtool)
|
||||
add_subdirectory(demangler_grammar_gen)
|
||||
add_subdirectory(demanglertool)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user