Change file naming
This is a follow-up to previous commit.
This commit is contained in:
@@ -66,20 +66,20 @@ endif(TESTING)
|
||||
|
||||
# Set library code
|
||||
set(BH_SOURCE
|
||||
src/algo.c
|
||||
src/hashmap.c
|
||||
src/io.c
|
||||
src/math.c
|
||||
src/queue.c
|
||||
src/Algo.c
|
||||
src/Hashmap.c
|
||||
src/IO.c
|
||||
src/Math.c
|
||||
src/Queue.c
|
||||
)
|
||||
|
||||
set(BH_HEADER
|
||||
include/bh/common.h
|
||||
include/bh/algo.h
|
||||
include/bh/hashmap.h
|
||||
include/bh/io.h
|
||||
include/bh/math.h
|
||||
include/bh/queue.h
|
||||
include/BH/Common.h
|
||||
include/BH/Algo.h
|
||||
include/BH/Hashmap.h
|
||||
include/BH/IO.h
|
||||
include/BH/Math.h
|
||||
include/BH/Queue.h
|
||||
)
|
||||
|
||||
set(BH_INCLUDE_DIRS
|
||||
@@ -93,21 +93,21 @@ if(WIN32)
|
||||
|
||||
# Add platform dependent files
|
||||
list(APPEND BH_SOURCE
|
||||
src/win32/file.c
|
||||
src/win32/File.c
|
||||
)
|
||||
elseif(UNIX)
|
||||
message(STATUS "Platform: Unix (Linux/BSD/MacOS X)")
|
||||
|
||||
# Add platform dependent files
|
||||
list(APPEND BH_SOURCE
|
||||
src/posix/file.c
|
||||
src/posix/File.c
|
||||
)
|
||||
else()
|
||||
message(STATUS "Platform: Unknown")
|
||||
|
||||
# Add platform dependent files
|
||||
list(APPEND BH_SOURCE
|
||||
src/dummy/file.c
|
||||
src/dummy/File.c
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define BH_ALGO_H
|
||||
|
||||
|
||||
#include "common.h"
|
||||
#include "Common.h"
|
||||
|
||||
|
||||
/**
|
||||
@@ -2,7 +2,7 @@
|
||||
#define BH_HASHMAP_H
|
||||
|
||||
|
||||
#include "common.h"
|
||||
#include "Common.h"
|
||||
|
||||
|
||||
typedef struct BH_Hashmap BH_Hashmap;
|
||||
@@ -2,7 +2,7 @@
|
||||
#define BH_IO_H
|
||||
|
||||
|
||||
#include "common.h"
|
||||
#include "Common.h"
|
||||
|
||||
|
||||
#define BH_IO_INFO_CB 0x0000
|
||||
@@ -2,7 +2,7 @@
|
||||
#define BH_MATH_H
|
||||
|
||||
|
||||
#include "common.h"
|
||||
#include "Common.h"
|
||||
|
||||
|
||||
/**
|
||||
@@ -2,7 +2,7 @@
|
||||
#define BH_QUEUE_H
|
||||
|
||||
|
||||
#include "common.h"
|
||||
#include "Common.h"
|
||||
|
||||
|
||||
typedef struct BH_Queue BH_Queue;
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <bh/algo.h>
|
||||
#include <BH/Algo.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <bh/hashmap.h>
|
||||
#include <BH/Hashmap.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <bh/io.h>
|
||||
#include <BH/IO.h>
|
||||
#include <malloc.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <bh/math.h>
|
||||
#include <BH/Math.h>
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <bh/queue.h>
|
||||
#include <BH/Queue.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <bh/io.h>
|
||||
#include <BH/IO.h>
|
||||
|
||||
typedef struct BH_File
|
||||
{
|
||||
@@ -1,4 +1,5 @@
|
||||
#include <bh/io.h>
|
||||
#include <BH/IO.h>
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <bh/io.h>
|
||||
#include <BH/IO.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <windows.h>
|
||||
@@ -1,5 +1,5 @@
|
||||
#include <bh/algo.h>
|
||||
#include <bh/unit.h>
|
||||
#include <BH/Algo.h>
|
||||
#include <BH/Unit.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include <bh/unit.h>
|
||||
#include <bh/io.h>
|
||||
#include <BH/IO.h>
|
||||
#include <BH/Unit.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include <bh/hashmap.h>
|
||||
#include <bh/unit.h>
|
||||
#include <BH/Hashmap.h>
|
||||
#include <BH/Unit.h>
|
||||
|
||||
|
||||
static size_t DBG_PtrIntHash(const void *ptr)
|
||||
@@ -1,5 +1,5 @@
|
||||
#include <bh/math.h>
|
||||
#include <bh/unit.h>
|
||||
#include <BH/Math.h>
|
||||
#include <BH/Unit.h>
|
||||
|
||||
|
||||
#define ACCEPTABLE_DELTA 0.0001f
|
||||
@@ -1,5 +1,5 @@
|
||||
#include <bh/queue.h>
|
||||
#include <bh/unit.h>
|
||||
#include <BH/Queue.h>
|
||||
#include <BH/Unit.h>
|
||||
|
||||
|
||||
static int NewFree(void)
|
||||
@@ -10,11 +10,11 @@ set(CMAKE_C_EXTENSIONS OFF)
|
||||
|
||||
# Library code
|
||||
set(BHUNIT_SOURCE
|
||||
src/unit.c
|
||||
src/Unit.c
|
||||
)
|
||||
|
||||
set(BHUNIT_HEADER
|
||||
include/bh/unit.h
|
||||
include/BH/Unit.h
|
||||
)
|
||||
|
||||
# Library
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <bh/unit.h>
|
||||
#include <BH/Unit.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
typedef struct BH_Unit
|
||||
Reference in New Issue
Block a user