2010-11-01 15:47:02 +00:00
|
|
|
set(SRCS Src/ABI.cpp
|
|
|
|
Src/BreakPoints.cpp
|
|
|
|
Src/CDUtils.cpp
|
|
|
|
Src/ColorUtil.cpp
|
|
|
|
Src/ConsoleListener.cpp
|
|
|
|
Src/CPUDetect.cpp
|
|
|
|
Src/DynamicLibrary.cpp
|
|
|
|
Src/FileSearch.cpp
|
|
|
|
Src/FileUtil.cpp
|
|
|
|
Src/Hash.cpp
|
|
|
|
Src/IniFile.cpp
|
|
|
|
Src/LogManager.cpp
|
|
|
|
Src/MathUtil.cpp
|
|
|
|
Src/MemArena.cpp
|
|
|
|
Src/MemoryUtil.cpp
|
|
|
|
Src/Misc.cpp
|
|
|
|
Src/MsgHandler.cpp
|
|
|
|
Src/NandPaths.cpp
|
|
|
|
Src/OpenCL.cpp
|
|
|
|
Src/Plugin.cpp
|
|
|
|
Src/PluginDSP.cpp
|
|
|
|
Src/PluginVideo.cpp
|
|
|
|
Src/SDCardUtil.cpp
|
|
|
|
Src/StringUtil.cpp
|
|
|
|
Src/SymbolDB.cpp
|
|
|
|
Src/SysConf.cpp
|
|
|
|
Src/Thread.cpp
|
|
|
|
Src/Thunk.cpp
|
|
|
|
Src/Timer.cpp
|
|
|
|
Src/Version.cpp
|
|
|
|
Src/x64Analyzer.cpp
|
|
|
|
Src/x64Emitter.cpp
|
2010-12-22 06:45:59 +00:00
|
|
|
Src/Crypto/aes_cbc.c
|
|
|
|
Src/Crypto/aes_core.c
|
2010-11-01 15:47:02 +00:00
|
|
|
Src/Crypto/bn.cpp
|
|
|
|
Src/Crypto/ec.cpp
|
|
|
|
Src/Crypto/md5.cpp
|
|
|
|
Src/Crypto/sha1.cpp)
|
|
|
|
|
|
|
|
if(WIN32)
|
|
|
|
set(SRCS ${SRCS} Src/ExtendedTrace.cpp Src/stdafx.cpp)
|
|
|
|
endif(WIN32)
|
|
|
|
|
|
|
|
add_library(common STATIC ${SRCS})
|
2010-11-30 01:20:05 +00:00
|
|
|
target_link_libraries(common ${CMAKE_DL_LIBS})
|
2010-11-17 01:03:39 +00:00
|
|
|
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
2010-11-05 02:23:24 +00:00
|
|
|
add_definitions(-fPIC)
|
2010-11-17 01:03:39 +00:00
|
|
|
endif()
|