Loki/CMakeLists.txt
2013-04-10 13:45:17 +02:00

19 lines
522 B
CMake

project (Loki CXX)
if (CMAKE_C_COMPILER_ID STREQUAL "GNU")
foreach (Config ${CMAKE_CONFIGURATION_TYPES})
set(TEMP_CONFIG "CMAKE_CXX_FLAGS_${Config}")
set(TEMP_CONFIG "${TEMP_CONFIG}} -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic")
set(CMAKE_CXX_FLAGS_${Config} "${TEMP_CONFIG}")
endforeach(Config)
endif()
add_library(${PROJECT_NAME}
src/StrongPtr.cpp
src/OrderedStatic.cpp
src/SafeFormat.cpp
src/Singleton.cpp
src/SmartPtr.cpp
src/LevelMutex.cpp
src/SmallObj.cpp
)