added cmake file for easier building, and added the working sqlitecpp if you want to work with that.

This commit is contained in:
TinyAtoms
2019-06-29 15:33:01 -03:00
parent cbfa60d7f5
commit a0ed6f911f
30 changed files with 693 additions and 19 deletions

View File

@@ -0,0 +1,16 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "MinGW Makefiles" Generator, CMake Version 3.14
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "C:/Users/MassiveAtoms/Documents/C++/Parkmanne")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "C:/Users/MassiveAtoms/Documents/C++/Parkmanne")
# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})

View File

@@ -0,0 +1 @@
2

View File

@@ -0,0 +1,27 @@
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
"C"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_C
"C:/Users/MassiveAtoms/Documents/C++/Parkmanne/thirdparty/SQLiteCpp/sqlite3/sqlite3.c" "C:/Users/MassiveAtoms/Documents/C++/Parkmanne/thirdparty/SQLiteCpp/sqlite3/CMakeFiles/sqlite3.dir/sqlite3.c.obj"
)
set(CMAKE_C_COMPILER_ID "GNU")
# Preprocessor definitions for this target.
set(CMAKE_TARGET_DEFINITIONS_C
"SQLITE_ENABLE_COLUMN_METADATA"
)
# The include file search paths:
set(CMAKE_C_TARGET_INCLUDE_PATH
"thirdparty/SQLiteCpp/include"
"thirdparty/SQLiteCpp/sqlite3"
)
# Targets to which this target links.
set(CMAKE_TARGET_LINKED_INFO_FILES
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")

View File

@@ -0,0 +1,99 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "MinGW Makefiles" Generator, CMake Version 3.14
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
SHELL = cmd.exe
# The CMake executable.
CMAKE_COMMAND = C:\MSYS\mingw64\bin\cmake.exe
# The command to remove a file.
RM = C:\MSYS\mingw64\bin\cmake.exe -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = C:\Users\MassiveAtoms\Documents\C++\Parkmanne
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = C:\Users\MassiveAtoms\Documents\C++\Parkmanne
# Include any dependencies generated for this target.
include thirdparty/SQLiteCpp/sqlite3/CMakeFiles/sqlite3.dir/depend.make
# Include the progress variables for this target.
include thirdparty/SQLiteCpp/sqlite3/CMakeFiles/sqlite3.dir/progress.make
# Include the compile flags for this target's objects.
include thirdparty/SQLiteCpp/sqlite3/CMakeFiles/sqlite3.dir/flags.make
thirdparty/SQLiteCpp/sqlite3/CMakeFiles/sqlite3.dir/sqlite3.c.obj: thirdparty/SQLiteCpp/sqlite3/CMakeFiles/sqlite3.dir/flags.make
thirdparty/SQLiteCpp/sqlite3/CMakeFiles/sqlite3.dir/sqlite3.c.obj: thirdparty/SQLiteCpp/sqlite3/CMakeFiles/sqlite3.dir/includes_C.rsp
thirdparty/SQLiteCpp/sqlite3/CMakeFiles/sqlite3.dir/sqlite3.c.obj: thirdparty/SQLiteCpp/sqlite3/sqlite3.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\MassiveAtoms\Documents\C++\Parkmanne\CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object thirdparty/SQLiteCpp/sqlite3/CMakeFiles/sqlite3.dir/sqlite3.c.obj"
cd /d C:\Users\MassiveAtoms\Documents\C++\Parkmanne\thirdparty\SQLiteCpp\sqlite3 && C:\MSYS\mingw64\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles\sqlite3.dir\sqlite3.c.obj -c C:\Users\MassiveAtoms\Documents\C++\Parkmanne\thirdparty\SQLiteCpp\sqlite3\sqlite3.c
thirdparty/SQLiteCpp/sqlite3/CMakeFiles/sqlite3.dir/sqlite3.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/sqlite3.dir/sqlite3.c.i"
cd /d C:\Users\MassiveAtoms\Documents\C++\Parkmanne\thirdparty\SQLiteCpp\sqlite3 && C:\MSYS\mingw64\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E C:\Users\MassiveAtoms\Documents\C++\Parkmanne\thirdparty\SQLiteCpp\sqlite3\sqlite3.c > CMakeFiles\sqlite3.dir\sqlite3.c.i
thirdparty/SQLiteCpp/sqlite3/CMakeFiles/sqlite3.dir/sqlite3.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/sqlite3.dir/sqlite3.c.s"
cd /d C:\Users\MassiveAtoms\Documents\C++\Parkmanne\thirdparty\SQLiteCpp\sqlite3 && C:\MSYS\mingw64\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S C:\Users\MassiveAtoms\Documents\C++\Parkmanne\thirdparty\SQLiteCpp\sqlite3\sqlite3.c -o CMakeFiles\sqlite3.dir\sqlite3.c.s
# Object files for target sqlite3
sqlite3_OBJECTS = \
"CMakeFiles/sqlite3.dir/sqlite3.c.obj"
# External object files for target sqlite3
sqlite3_EXTERNAL_OBJECTS =
thirdparty/SQLiteCpp/sqlite3/libsqlite3.a: thirdparty/SQLiteCpp/sqlite3/CMakeFiles/sqlite3.dir/sqlite3.c.obj
thirdparty/SQLiteCpp/sqlite3/libsqlite3.a: thirdparty/SQLiteCpp/sqlite3/CMakeFiles/sqlite3.dir/build.make
thirdparty/SQLiteCpp/sqlite3/libsqlite3.a: thirdparty/SQLiteCpp/sqlite3/CMakeFiles/sqlite3.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=C:\Users\MassiveAtoms\Documents\C++\Parkmanne\CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking C static library libsqlite3.a"
cd /d C:\Users\MassiveAtoms\Documents\C++\Parkmanne\thirdparty\SQLiteCpp\sqlite3 && $(CMAKE_COMMAND) -P CMakeFiles\sqlite3.dir\cmake_clean_target.cmake
cd /d C:\Users\MassiveAtoms\Documents\C++\Parkmanne\thirdparty\SQLiteCpp\sqlite3 && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles\sqlite3.dir\link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
thirdparty/SQLiteCpp/sqlite3/CMakeFiles/sqlite3.dir/build: thirdparty/SQLiteCpp/sqlite3/libsqlite3.a
.PHONY : thirdparty/SQLiteCpp/sqlite3/CMakeFiles/sqlite3.dir/build
thirdparty/SQLiteCpp/sqlite3/CMakeFiles/sqlite3.dir/clean:
cd /d C:\Users\MassiveAtoms\Documents\C++\Parkmanne\thirdparty\SQLiteCpp\sqlite3 && $(CMAKE_COMMAND) -P CMakeFiles\sqlite3.dir\cmake_clean.cmake
.PHONY : thirdparty/SQLiteCpp/sqlite3/CMakeFiles/sqlite3.dir/clean
thirdparty/SQLiteCpp/sqlite3/CMakeFiles/sqlite3.dir/depend:
$(CMAKE_COMMAND) -E cmake_depends "MinGW Makefiles" C:\Users\MassiveAtoms\Documents\C++\Parkmanne C:\Users\MassiveAtoms\Documents\C++\Parkmanne\thirdparty\SQLiteCpp\sqlite3 C:\Users\MassiveAtoms\Documents\C++\Parkmanne C:\Users\MassiveAtoms\Documents\C++\Parkmanne\thirdparty\SQLiteCpp\sqlite3 C:\Users\MassiveAtoms\Documents\C++\Parkmanne\thirdparty\SQLiteCpp\sqlite3\CMakeFiles\sqlite3.dir\DependInfo.cmake --color=$(COLOR)
.PHONY : thirdparty/SQLiteCpp/sqlite3/CMakeFiles/sqlite3.dir/depend

View File

@@ -0,0 +1,10 @@
file(REMOVE_RECURSE
"CMakeFiles/sqlite3.dir/sqlite3.c.obj"
"libsqlite3.pdb"
"libsqlite3.a"
)
# Per-language clean rules from dependency scanning.
foreach(lang C)
include(CMakeFiles/sqlite3.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

View File

@@ -0,0 +1,3 @@
file(REMOVE_RECURSE
"libsqlite3.a"
)

View File

@@ -0,0 +1,2 @@
# Empty dependencies file for sqlite3.
# This may be replaced when dependencies are built.

View File

@@ -0,0 +1,10 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "MinGW Makefiles" Generator, CMake Version 3.14
# compile C with C:/MSYS/mingw64/bin/gcc.exe
C_FLAGS = -fstack-protector -Wall -Wextra -Wpedantic -Wno-long-long -Wswitch-enum -Wshadow -Winline
C_DEFINES = -DSQLITE_ENABLE_COLUMN_METADATA
C_INCLUDES = @CMakeFiles/sqlite3.dir/includes_C.rsp

View File

@@ -0,0 +1 @@
-IC:/Users/MassiveAtoms/Documents/C++/Parkmanne/thirdparty/SQLiteCpp/include -IC:/Users/MassiveAtoms/Documents/C++/Parkmanne/thirdparty/SQLiteCpp/sqlite3

View File

@@ -0,0 +1,2 @@
C:\MSYS\mingw64\bin\ar.exe qc libsqlite3.a CMakeFiles/sqlite3.dir/sqlite3.c.obj
C:\MSYS\mingw64\bin\ranlib.exe libsqlite3.a

View File

@@ -0,0 +1,3 @@
CMAKE_PROGRESS_1 = 14
CMAKE_PROGRESS_2 = 15