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()
|
2016-03-04 23:04:30 +00:00
|
|
|
add_library(nod
|
2015-07-07 03:22:19 +00:00
|
|
|
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
|
2016-03-04 23:04:30 +00:00
|
|
|
nod.cpp
|
2016-01-25 20:21:10 +00:00
|
|
|
${PLAT_SRCS}
|
2015-07-07 03:22:19 +00:00
|
|
|
${NOD_HEADERS})
|
2016-03-04 23:04:30 +00:00
|
|
|
if(NOT MSVC)
|
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()
|