From 7495ed55cdee4aa042f6cea921b49b738e6c685f Mon Sep 17 00:00:00 2001 From: Josh Watson Date: Tue, 24 Jul 2018 17:15:02 -0700 Subject: Fix CMakeLists.txt for both mlil_parser and llil_parser examples (#1061) * Fixed CMakeLists.txt for both mlil_parser and llil_parser examples. * Replaced LLIL_CALL_PARAM_SSA with LLIL_CALL_PARAM so it compiles --- examples/mlil_parser/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/mlil_parser') diff --git a/examples/mlil_parser/CMakeLists.txt b/examples/mlil_parser/CMakeLists.txt index 1bf6e3a7..4ec35591 100644 --- a/examples/mlil_parser/CMakeLists.txt +++ b/examples/mlil_parser/CMakeLists.txt @@ -7,7 +7,7 @@ project(MLIL_Parser) #----------------------------------------------------------------------------- include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../..) #----------------------------------------------------------------------------- -file( GLOB_RECURSE SRCS *.cpp *.h) +set(SRCS src/mlil_parser.cpp) #----------------------------------------------------------------------------- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") #----------------------------------------------------------------------------- @@ -31,7 +31,7 @@ else() CACHE PATH "Binary Ninja user plugins directory") endif() #----------------------------------------------------------------------------- -add_executable (${PROJECT_NAME} ${SRCS} ) +add_executable (${PROJECT_NAME} ${SRCS}) #----------------------------------------------------------------------------- find_library(BINJA_API_LIBRARY binaryninjaapi HINTS ${CMAKE_CURRENT_SOURCE_DIR}/../../bin ${CMAKE_CURRENT_SOURCE_DIR}/../../bin/Release ${CMAKE_CURRENT_SOURCE_DIR}/../../bin/Debug) -- cgit v1.3.1