Moved all source/includes to root
This commit is contained in:
parent
5b2d515ccc
commit
37d45cdda5
@ -1,8 +1,8 @@
|
|||||||
cmake_minimum_required(VERSION 3.13) # CMake version check
|
cmake_minimum_required(VERSION 3.13) # CMake version check
|
||||||
if(ESP_PLATFORM)
|
if(ESP_PLATFORM)
|
||||||
idf_component_register(
|
idf_component_register(
|
||||||
SRC_DIRS "src"
|
SRC_DIRS "."
|
||||||
INCLUDE_DIRS "include"
|
INCLUDE_DIRS "."
|
||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
project(VectorAlgebra) # Create project "simple_example"
|
project(VectorAlgebra) # Create project "simple_example"
|
||||||
@ -20,15 +20,14 @@ else()
|
|||||||
# For Windows: Prevent overriding the parent project's compiler/linker settings
|
# For Windows: Prevent overriding the parent project's compiler/linker settings
|
||||||
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
|
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
|
||||||
FetchContent_MakeAvailable(googletest)
|
FetchContent_MakeAvailable(googletest)
|
||||||
include_directories(include)
|
|
||||||
|
|
||||||
add_library(VectorAlgebra STATIC
|
add_library(VectorAlgebra STATIC
|
||||||
"src/FloatSingle.cpp"
|
"FloatSingle.cpp"
|
||||||
"src/Angle.cpp"
|
"Angle.cpp"
|
||||||
"src/Vector2.cpp"
|
"Vector2.cpp"
|
||||||
"src/Vector3.cpp"
|
"Vector3.cpp"
|
||||||
"src/Quaternion.cpp"
|
"Quaternion.cpp"
|
||||||
"src/Polar.cpp"
|
"Polar.cpp"
|
||||||
)
|
)
|
||||||
|
|
||||||
enable_testing()
|
enable_testing()
|
||||||
|
@ -1 +1 @@
|
|||||||
COMPONENT_ADD_INCLUDEDIRS = include
|
COMPONENT_ADD_INCLUDEDIRS = .
|
Loading…
x
Reference in New Issue
Block a user