2013-02-26 12:49:00 -07:00
|
|
|
set(SRCS Src/BreakPoints.cpp
|
2010-11-01 09:47:02 -06:00
|
|
|
Src/CDUtils.cpp
|
|
|
|
Src/ColorUtil.cpp
|
|
|
|
Src/ConsoleListener.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
|
2012-02-09 22:04:07 -07:00
|
|
|
Src/SettingsHandler.cpp
|
2010-11-01 09:47:02 -06:00
|
|
|
Src/SDCardUtil.cpp
|
|
|
|
Src/StringUtil.cpp
|
|
|
|
Src/SymbolDB.cpp
|
|
|
|
Src/SysConf.cpp
|
|
|
|
Src/Thread.cpp
|
|
|
|
Src/Timer.cpp
|
|
|
|
Src/Version.cpp
|
2013-02-26 12:49:00 -07:00
|
|
|
Src/x64ABI.cpp
|
2010-11-01 09:47:02 -06:00
|
|
|
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
|
2013-08-15 05:36:17 -06:00
|
|
|
Src/Crypto/ec.cpp)
|
2010-11-01 09:47:02 -06:00
|
|
|
|
2013-02-26 12:49:00 -07:00
|
|
|
if(_M_ARM) #ARM
|
|
|
|
set(SRCS ${SRCS}
|
|
|
|
Src/ArmCPUDetect.cpp
|
|
|
|
Src/ArmEmitter.cpp)
|
|
|
|
else()
|
|
|
|
if(NOT _M_GENERIC) #X86
|
|
|
|
set(SRCS ${SRCS}
|
|
|
|
Src/x64FPURoundMode.cpp
|
|
|
|
Src/x64Thunk.cpp
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
set(SRCS ${SRCS} Src/x64CPUDetect.cpp)
|
|
|
|
endif()
|
|
|
|
if(_M_GENERIC) #Generic
|
|
|
|
set(SRCS ${SRCS}
|
|
|
|
Src/GenericFPURoundMode.cpp)
|
|
|
|
endif()
|
2010-11-01 09:47:02 -06:00
|
|
|
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-31 15:19:30 -07:00
|
|
|
target_link_libraries(common ${CMAKE_THREAD_LIBS_INIT})
|