mirror of
https://github.com/serge1/ELFIO.git
synced 2024-12-27 12:17:28 +00:00
Added cmake files to build elfio
* Build all the examples in the project
This commit is contained in:
parent
d255a35259
commit
5974123dc7
6
CMakeLists.txt
Normal file
6
CMakeLists.txt
Normal file
@ -0,0 +1,6 @@
|
||||
cmake_minimum_required(VERSION 3.17.3)
|
||||
|
||||
project(elfio)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
add_subdirectory(examples)
|
8
examples/CMakeLists.txt
Normal file
8
examples/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
add_subdirectory(anonymizer)
|
||||
add_subdirectory(elfdump)
|
||||
#add_subdirectory(RelocationTable)
|
||||
add_subdirectory(tutorial)
|
||||
add_subdirectory(write_obj)
|
||||
add_subdirectory(writer)
|
3
examples/anonymizer/CMakeLists.txt
Normal file
3
examples/anonymizer/CMakeLists.txt
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
add_executable(anonymizer anonymizer.cpp)
|
||||
include_directories(SYSTEM ${CMAKE_SOURCE_DIR})
|
3
examples/elfdump/CMakeLists.txt
Normal file
3
examples/elfdump/CMakeLists.txt
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
add_executable(elfdump elfdump.cpp)
|
||||
include_directories(SYSTEM ${CMAKE_SOURCE_DIR})
|
3
examples/tutorial/CMakeLists.txt
Normal file
3
examples/tutorial/CMakeLists.txt
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
add_executable(tutorial tutorial.cpp)
|
||||
include_directories(SYSTEM ${CMAKE_SOURCE_DIR})
|
3
examples/write_obj/CMakeLists.txt
Normal file
3
examples/write_obj/CMakeLists.txt
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
add_executable(write_obj write_obj.cpp)
|
||||
include_directories(SYSTEM ${CMAKE_SOURCE_DIR})
|
3
examples/writer/CMakeLists.txt
Normal file
3
examples/writer/CMakeLists.txt
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
add_executable(writer writer.cpp)
|
||||
include_directories(SYSTEM ${CMAKE_SOURCE_DIR})
|
Loading…
Reference in New Issue
Block a user