Skip to content

Commit

Permalink
Add new files to CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
ekilmer committed Nov 27, 2023
1 parent aa69e37 commit 4d570e5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions src/setup-ghidra-source.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,11 @@ set(sleigh_deccore_source_list
"${library_root}/paramid.cc"
"${library_root}/unionresolve.cc"
)
#if("${sleigh_RELEASE_TYPE}" STREQUAL "HEAD")
# list(APPEND sleigh_deccore_source_list
# )
#endif()
if("${sleigh_RELEASE_TYPE}" STREQUAL "HEAD")
list(APPEND sleigh_deccore_source_list
"${library_root}/modelrules.cc"
)
endif()

set(sleigh_extra_source_list
"${library_root}/callgraph.cc"
Expand Down
9 changes: 5 additions & 4 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ add_executable(sleigh_ghidra_test
"${library_root}/../unittests/testmarshal.cc"
)

# if(sleigh_RELEASE_IS_HEAD)
# target_sources(sleigh_ghidra_test PRIVATE
# )
# endif()
if(sleigh_RELEASE_IS_HEAD)
target_sources(sleigh_ghidra_test PRIVATE
"${library_root}/../unittests/testparamstore.cc"
)
endif()

target_compile_features(sleigh_ghidra_test PRIVATE cxx_std_11)
target_include_directories(sleigh_ghidra_test PRIVATE "${library_root}")
Expand Down

0 comments on commit 4d570e5

Please sign in to comment.