separate_arguments(LLVM_LDFLAGS)
separate_arguments(LLVM_LIBS)
-set(CMAKE_CXX_COMPILER "clang++")
-
SET(frida_SOURCES
src/main.cxx
src/core/InformationManager.cxx
INCLUDE_DIRECTORIES("src")
TARGET_LINK_LIBRARIES(frida ${QT_LIBRARIES} ${LLVM_LDFLAGS} -lLLVM-3.5 ${LLVM_SYSTEM_LIBS} ${LOG4CXX_LDFLAGS} ${GUILE_LDFLAGS})
+
+##################
+# TEST Framework #
+##################
+
+set(fridatest_SOURCES
+ src/test.cxx
+ )
+
+add_executable(fridatest ${fridatest_SOURCES})
+#ADD_SUBDIRECTORY(/usr/src/gtest gtest)
+ADD_SUBDIRECTORY(/usr/src/gmock gmock)
+enable_testing()
+target_link_libraries(fridatest gmock gtest gmock_main)
+add_test( fridatest fridatest )
\ No newline at end of file