portability: Move sources to their own directories
More portability functions shall be defined by future commits. Since it is preferred to keep each function on its own source file, it is also desirable to keep them on their own directories, based on the system they were written for. git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9536 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 13a58045307b4e6fbe00925ee1b5aec2316d285a Former-commit-id: c18046b698e099e2c67c1825955a92531209b14d
This commit is contained in:
parent
171a1d1ea4
commit
3636ee6097
3 changed files with 4 additions and 2 deletions
|
@ -13,9 +13,11 @@ ENDIF(COMMAND CMAKE_POLICY)
|
|||
IF(WIN32)
|
||||
# DLL export stuff under Windows (to avoid .def file)
|
||||
ADD_DEFINITIONS(-DPORTABILITY_DLL)
|
||||
set(PORTABILITY_SOURCES ${PORTABILITY_SOURCES} win32.cpp)
|
||||
set(PORTABILITY_SOURCES ${PORTABILITY_SOURCES}
|
||||
win32/rmdir_r.cpp)
|
||||
ELSEIF(UNIX)
|
||||
set(PORTABILITY_SOURCES ${PORTABILITY_SOURCES} posix.cpp)
|
||||
set(PORTABILITY_SOURCES ${PORTABILITY_SOURCES}
|
||||
posix/rmdir_r.cpp)
|
||||
ENDIF(WIN32)
|
||||
|
||||
# Note: Headers needed for having them available in IDEs.
|
||||
|
|
Loading…
Reference in a new issue