Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 2 additions & 31 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ set(CMAKE_C_STANDARD 23)

add_definitions(-DTRACE_MSG_FUNCTIONS)
add_definitions(-D_CRT_DECLARE_NONSTDC_NAMES=0)
#define _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_WARNINGS
#define _WINSOCK_DEPRECATED_NO_WARNINGS
#define _CRT_NONSTDC_NO_WARNINGS
Expand All @@ -44,37 +44,8 @@ if(NOT WIN32 AND NOT APPLE)
message("Linking rt pthread dl")
endif(NOT WIN32 AND NOT APPLE)

#add_subdirectory(portable)
#add_subdirectory(sqlite)
#add_subdirectory(uuid)
#add_subdirectory(regex)
#add_subdirectory(xxhash)
#add_subdirectory(lmdb)
if(WITH_TESTS)
add_subdirectory(test)
endif()
option(BUILD_PORTABLE "Build portable" OFF)
option(BUILD_SQLITE "Build sqlite" OFF)
option(BUILD_UUID "Build uuid" OFF)
option(BUILD_REGEX "Build regex" OFF)
option(BUILD_XXHASH "Build xxhash" OFF)
option(WITH_TESTS "Build tests" OFF)

if (BUILD_PORTABLE)
message("Buliding portable")
add_subdirectory(portable)
endif (BUILD_PORTABLE)
if (BUILD_SQLITE)
add_subdirectory(sqlite)
endif (BUILD_SQLITE)
if (BUILD_UUID)
add_subdirectory(uuid)
endif (BUILD_UUID)
if (BUILD_REGEX)
add_subdirectory(regex)
endif (BUILD_REGEX)
if (BUILD_XXHASH)
add_subdirectory(xxhash)
endif (BUILD_XXHASH)
if (WITH_TESTS)
add_subdirectory(test)
endif (WITH_TESTS)
39 changes: 0 additions & 39 deletions portable/CMakeLists.txt

This file was deleted.

60 changes: 0 additions & 60 deletions portable/headers.cmake

This file was deleted.

16 changes: 0 additions & 16 deletions portable/sources.cmake

This file was deleted.

71 changes: 0 additions & 71 deletions portable/time/VariableClock.h

This file was deleted.

46 changes: 0 additions & 46 deletions qdecoder/src/CMakeLists.txt

This file was deleted.

41 changes: 0 additions & 41 deletions regex/CMakeLists.txt

This file was deleted.

Loading