2010-11-01 09:47:02 -06: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
|
2011-01-09 09:36:19 -07:00
|
|
|
Src/Crypto/aes_cbc.cpp
|
|
|
|
Src/Crypto/aes_core.cpp
|
2010-11-01 09:47:02 -06:00
|
|
|
Src/Crypto/bn.cpp
|
|
|
|
Src/Crypto/ec.cpp
|
|
|
|
Src/Crypto/md5.cpp
|
|
|
|
Src/Crypto/sha1.cpp)
|
|
|
|
|
|
|
|
if(WIN32)
|
2011-01-09 09:36:19 -07:00
|
|
|
set(SRCS ${SRCS} Src/ExtendedTrace.cpp)
|
2010-11-01 09:47:02 -06:00
|
|
|
endif(WIN32)
|
|
|
|
|
2011-01-09 09:36:19 -07:00
|
|
|
enable_precompiled_headers(Src/stdafx.h Src/stdafx.cpp SRCS)
|
|
|
|
|
2010-11-01 09:47:02 -06:00
|
|
|
add_library(common STATIC ${SRCS})
|
2011-01-10 19:18:34 -07:00
|
|
|
target_link_libraries(common ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT})
|
2010-11-16 18:03:39 -07:00
|
|
|
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
2010-11-04 20:23:24 -06:00
|
|
|
add_definitions(-fPIC)
|
2010-11-16 18:03:39 -07:00
|
|
|
endif()
|