diff options
author | Chris Robinson <[email protected]> | 2014-05-06 18:57:42 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-05-06 18:57:42 -0700 |
commit | fa12855d198d7701747539da05802519ce866030 (patch) | |
tree | 03d48047ccef1f1e167ebd865451ef1a836c32ae /CMakeLists.txt | |
parent | 0ea979a262d4409a830354cbbc6eb3bea6f455a3 (diff) |
Move threads.c to a separate source dir
This will eventually serve to build a static lib of common wrapper methods,
such as threads, mutexes, atomics, etc.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 65cb0959..b15d9a1a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -487,6 +487,8 @@ IF(NOT HAVE_STDINT_H) ENDIF() +SET(COMMON_OBJS common/threads.c +) SET(OPENAL_OBJS OpenAL32/alAuxEffectSlot.c OpenAL32/alBuffer.c OpenAL32/alEffect.c @@ -522,7 +524,6 @@ SET(ALC_OBJS Alc/ALc.c Alc/helpers.c Alc/hrtf.c Alc/panning.c - Alc/threads.c Alc/mixer.c Alc/mixer_c.c ) @@ -916,7 +917,7 @@ CONFIGURE_FILE( @ONLY) # Build a library -ADD_LIBRARY(${LIBNAME} ${LIBTYPE} ${OPENAL_OBJS} ${ALC_OBJS}) +ADD_LIBRARY(${LIBNAME} ${LIBTYPE} ${COMMON_OBJS} ${OPENAL_OBJS} ${ALC_OBJS}) SET_PROPERTY(TARGET ${LIBNAME} APPEND PROPERTY COMPILE_DEFINITIONS AL_BUILD_LIBRARY AL_ALEXT_PROTOTYPES) IF(WIN32 AND ALSOFT_NO_UID_DEFS) SET_PROPERTY(TARGET ${LIBNAME} APPEND PROPERTY COMPILE_DEFINITIONS AL_NO_UID_DEFS) |