-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
232 additions
and
1,007 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: CI Windows/MSVC | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
msvc-windows-2022: | ||
runs-on: windows-2022 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build project | ||
run: | | ||
cmake -S . -B build -G "Visual Studio 17 2022" | ||
cmake --build build --config Debug -j | ||
- name: Run tests | ||
run: | | ||
echo "Not yet because bugged but it needs to be fixed." | ||
msvc-windows-2019: | ||
runs-on: windows-2019 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build project | ||
run: | | ||
cmake -S . -B build -G "Visual Studio 16 2019" | ||
cmake --build build --config Debug -j | ||
- name: Run tests | ||
run: | | ||
echo "Not yet because bugged but it needs to be fixed." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,7 @@ tests/x64/ | |
|
||
# CLion files | ||
.idea/ | ||
cmake-build-*/ | ||
|
||
# bii | ||
bii/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,18 @@ | ||
IF(BIICODE) | ||
ADD_BII_TARGETS() | ||
ENDIF() | ||
# ARCH_INDEPENDENT option at write_basic_package_version_file requires 3.14 version of CMake. | ||
cmake_minimum_required(VERSION 3.14) | ||
|
||
#LIST(APPEND BII_LIB_SRC tests/argument_matching_tests.cpp) | ||
############################################################################### | ||
# HELP # | ||
############################################################################### | ||
# | ||
# This CMakeLists.txt file helps defining your block builds | ||
# To learn more visit http://docs.biicode.com/c++.html | ||
# | ||
# To include published cmake scripts: | ||
# 1. INCLUDE(user/block/myrecipe) # include myrecipe.cmake from remote user/block | ||
# 2. Remember to execute bii find | ||
# Example: | ||
# INCLUDE(biicode/cmake/tools) # Include tools.cmake file from cmake block from "biicode" user | ||
# ACTIVATE_CPP11(INTERFACE ${BII_BLOCK_TARGET}) | ||
# | ||
# Useful variables: | ||
# To be modified BEFORE the call to ADD_BII_TARGETS() | ||
# ${BII_LIB_SRC} File list to create the library | ||
# | ||
# To be modified AFTER the call to ADD_BII_TARGETS() | ||
# ${BII_BLOCK_TARGET} Interface (no files) target for convenient configuration of all | ||
# targets in this block, as the rest of targets always depend on it | ||
# has name in the form "user_block_interface" | ||
# ${BII_LIB_TARGET} Target library name, usually in the form "user_block". May not exist | ||
# if BII_LIB_SRC is empty | ||
# ${BII_BLOCK_TARGETS} List of all targets defined in this block | ||
# ${BII_BLOCK_EXES} List of executables targets defined in this block | ||
# ${BII_exe_name_TARGET}: Executable target (e.g. ${BII_main_TARGET}. You can also use | ||
# directly the name of the executable target (e.g. user_block_main) | ||
# | ||
# > EXAMPLE: Add include directories to all targets of this block | ||
# | ||
# TARGET_INCLUDE_DIRECTORIES(${BII_BLOCK_TARGET} INTERFACE myincludedir) | ||
# | ||
# > EXAMPLE: Link with pthread: | ||
# | ||
# TARGET_LINK_LIBRARIES(${BII_BLOCK_TARGET} INTERFACE pthread) | ||
# or link against library: | ||
# TARGET_LINK_LIBRARIES(${BII_LIB_TARGET} PUBLIC pthread) | ||
# | ||
# NOTE: This can be also done adding pthread to ${BII_LIB_DEPS} | ||
# BEFORE calling ADD_BIICODE_TARGETS() | ||
# | ||
# > EXAMPLE: how to activate C++11 | ||
# | ||
# IF(APPLE) | ||
# TARGET_COMPILE_OPTIONS(${BII_BLOCK_TARGET} INTERFACE "-std=c++11 -stdlib=libc++") | ||
# ELSEIF (WIN32 OR UNIX) | ||
# TARGET_COMPILE_OPTIONS(${BII_BLOCK_TARGET} INTERFACE "-std=c++11") | ||
# ENDIF(APPLE) | ||
# | ||
# > EXAMPLE: Set properties to target | ||
# | ||
# SET_TARGET_PROPERTIES(${BII_BLOCK_TARGET} PROPERTIES COMPILE_DEFINITIONS "IOV_MAX=255") | ||
# | ||
project(FakeIt VERSION 2.3.2 LANGUAGES CXX) | ||
|
||
option(ENABLE_COVERAGE "Enable coverage reporting for gcc/clang." OFF) | ||
|
||
# Directory containing main targets of FakeIt. | ||
add_subdirectory(include) | ||
|
||
# Directory containing config targets of FakeIt. | ||
add_subdirectory(config) | ||
|
||
# Directory containing test targets of FakeIt. | ||
add_subdirectory(tests) | ||
|
||
# Directory containing single header targets of FakeIt. | ||
add_subdirectory(single_header) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.