Optimized directory structure
This commit is contained in:
parent
a8b8d55769
commit
7726d64530
@ -829,7 +829,7 @@ WARN_LOGFILE =
|
||||
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
|
||||
# Note: If this tag is empty the current directory is searched.
|
||||
|
||||
INPUT = "../Src/StringTools/"
|
||||
INPUT = "../Src/"
|
||||
|
||||
# This tag can be used to specify the character encoding of the source files
|
||||
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
|
||||
|
10
Exec/CMakeLists.txt
Normal file
10
Exec/CMakeLists.txt
Normal file
@ -0,0 +1,10 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
project(Exec)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
include_directories(../Src)
|
||||
link_directories(../Src/cmake-build-debug)
|
||||
|
||||
add_executable(Exec main.cpp)
|
||||
target_link_libraries(Exec StringTools)
|
@ -1,5 +1,5 @@
|
||||
#include <iostream>
|
||||
#include <StringTools/StringTools.h>
|
||||
#include <StringTools.h>
|
||||
|
||||
int main()
|
||||
{
|
@ -1,10 +0,0 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
project(Exec)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
include_directories(..)
|
||||
link_directories(../StringTools/cmake-build-debug)
|
||||
|
||||
add_executable(Exec main.cpp)
|
||||
target_link_libraries(Exec Stringtools)
|
@ -1,57 +0,0 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.30907.101
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StringTools", "StringTools\StringTools.vcxproj", "{0270AC5E-EBA3-4D8F-8D50-995FD44959B4}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test", "Test\Test.vcxproj", "{64EF270C-0A13-4AD8-8D50-23A1CEEBF98B}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{0270AC5E-EBA3-4D8F-8D50-995FD44959B4} = {0270AC5E-EBA3-4D8F-8D50-995FD44959B4}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Exec", "Exec\Exec.vcxproj", "{02F9FA44-902F-4695-846B-0B45E952A962}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{0270AC5E-EBA3-4D8F-8D50-995FD44959B4} = {0270AC5E-EBA3-4D8F-8D50-995FD44959B4}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{0270AC5E-EBA3-4D8F-8D50-995FD44959B4}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{0270AC5E-EBA3-4D8F-8D50-995FD44959B4}.Debug|x64.Build.0 = Debug|x64
|
||||
{0270AC5E-EBA3-4D8F-8D50-995FD44959B4}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{0270AC5E-EBA3-4D8F-8D50-995FD44959B4}.Debug|x86.Build.0 = Debug|Win32
|
||||
{0270AC5E-EBA3-4D8F-8D50-995FD44959B4}.Release|x64.ActiveCfg = Release|x64
|
||||
{0270AC5E-EBA3-4D8F-8D50-995FD44959B4}.Release|x64.Build.0 = Release|x64
|
||||
{0270AC5E-EBA3-4D8F-8D50-995FD44959B4}.Release|x86.ActiveCfg = Release|Win32
|
||||
{0270AC5E-EBA3-4D8F-8D50-995FD44959B4}.Release|x86.Build.0 = Release|Win32
|
||||
{64EF270C-0A13-4AD8-8D50-23A1CEEBF98B}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{64EF270C-0A13-4AD8-8D50-23A1CEEBF98B}.Debug|x64.Build.0 = Debug|x64
|
||||
{64EF270C-0A13-4AD8-8D50-23A1CEEBF98B}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{64EF270C-0A13-4AD8-8D50-23A1CEEBF98B}.Debug|x86.Build.0 = Debug|Win32
|
||||
{64EF270C-0A13-4AD8-8D50-23A1CEEBF98B}.Release|x64.ActiveCfg = Release|x64
|
||||
{64EF270C-0A13-4AD8-8D50-23A1CEEBF98B}.Release|x64.Build.0 = Release|x64
|
||||
{64EF270C-0A13-4AD8-8D50-23A1CEEBF98B}.Release|x86.ActiveCfg = Release|Win32
|
||||
{64EF270C-0A13-4AD8-8D50-23A1CEEBF98B}.Release|x86.Build.0 = Release|Win32
|
||||
{02F9FA44-902F-4695-846B-0B45E952A962}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{02F9FA44-902F-4695-846B-0B45E952A962}.Debug|x64.Build.0 = Debug|x64
|
||||
{02F9FA44-902F-4695-846B-0B45E952A962}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{02F9FA44-902F-4695-846B-0B45E952A962}.Debug|x86.Build.0 = Debug|Win32
|
||||
{02F9FA44-902F-4695-846B-0B45E952A962}.Release|x64.ActiveCfg = Release|x64
|
||||
{02F9FA44-902F-4695-846B-0B45E952A962}.Release|x64.Build.0 = Release|x64
|
||||
{02F9FA44-902F-4695-846B-0B45E952A962}.Release|x86.ActiveCfg = Release|Win32
|
||||
{02F9FA44-902F-4695-846B-0B45E952A962}.Release|x86.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {9F255CFD-0ECB-44F5-A3D8-3E3B2AE2C387}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
@ -3,8 +3,8 @@ project(Tests)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
include_directories(..)
|
||||
link_directories(../StringTools/cmake-build-debug)
|
||||
include_directories(../Src)
|
||||
link_directories(../Src/cmake-build-debug)
|
||||
|
||||
add_executable(Tests
|
||||
Catch2.h
|
||||
@ -15,4 +15,4 @@ add_executable(Tests
|
||||
Replace_String.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(Tests Stringtools)
|
||||
target_link_libraries(Tests StringTools)
|
@ -1,4 +1,4 @@
|
||||
#include <StringTools/StringTools.h>
|
||||
#include <StringTools.h>
|
||||
#include "Catch2.h"
|
||||
|
||||
// Tests that lowering an empty string returns an empty string
|
@ -1,4 +1,4 @@
|
||||
#include <StringTools/StringTools.h>
|
||||
#include <StringTools.h>
|
||||
#include "Catch2.h"
|
||||
|
||||
// Tests that replacing something in an empty string returns an empty string
|
@ -1,4 +1,4 @@
|
||||
#include <StringTools/StringTools.h>
|
||||
#include <StringTools.h>
|
||||
#include "Catch2.h"
|
||||
|
||||
// Tests that replacing something in an empty string returns an empty string
|
@ -1,4 +1,4 @@
|
||||
#include <StringTools/StringTools.h>
|
||||
#include <StringTools.h>
|
||||
#include "Catch2.h"
|
||||
|
||||
// Tests that uppering an empty string returns an empty string
|
Loading…
x
Reference in New Issue
Block a user