2015-07-22 19:01:28 +00:00
|
|
|
if(NOT WIN32)
|
2015-07-20 02:51:49 +00:00
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-multichar")
|
2016-01-25 20:21:10 +00:00
|
|
|
set(PLAT_SRCS FileIOFILE.cpp)
|
|
|
|
else()
|
|
|
|
set(PLAT_SRCS FileIOWin32.cpp)
|
2015-07-22 19:01:28 +00:00
|
|
|
endif()
|
2015-07-07 03:22:19 +00:00
|
|
|
add_library(NOD
|
|
|
|
aes.cpp
|
2016-01-22 02:30:17 +00:00
|
|
|
sha1.c
|
2015-07-07 03:22:19 +00:00
|
|
|
DiscBase.cpp
|
|
|
|
DiscGCN.cpp
|
|
|
|
DiscIOISO.cpp
|
|
|
|
DiscIOWBFS.cpp
|
|
|
|
DiscWii.cpp
|
2016-01-21 06:30:37 +00:00
|
|
|
DirectoryEnumerator.cpp
|
2015-07-07 03:22:19 +00:00
|
|
|
NOD.cpp
|
2016-01-25 20:21:10 +00:00
|
|
|
${PLAT_SRCS}
|
2015-07-07 03:22:19 +00:00
|
|
|
${NOD_HEADERS})
|
2015-07-22 19:01:28 +00:00
|
|
|
if(NOT WIN32)
|
2015-07-09 06:37:34 +00:00
|
|
|
set_source_files_properties(aes.cpp PROPERTIES COMPILE_FLAGS -maes)
|
2015-07-22 19:01:28 +00:00
|
|
|
endif()
|