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
|
||||
if(ESP_PLATFORM)
|
||||
idf_component_register(
|
||||
SRC_DIRS "src"
|
||||
INCLUDE_DIRS "include"
|
||||
SRC_DIRS "."
|
||||
INCLUDE_DIRS "."
|
||||
)
|
||||
else()
|
||||
project(VectorAlgebra) # Create project "simple_example"
|
||||
@ -20,15 +20,14 @@ else()
|
||||
# For Windows: Prevent overriding the parent project's compiler/linker settings
|
||||
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
|
||||
FetchContent_MakeAvailable(googletest)
|
||||
include_directories(include)
|
||||
|
||||
add_library(VectorAlgebra STATIC
|
||||
"src/FloatSingle.cpp"
|
||||
"src/Angle.cpp"
|
||||
"src/Vector2.cpp"
|
||||
"src/Vector3.cpp"
|
||||
"src/Quaternion.cpp"
|
||||
"src/Polar.cpp"
|
||||
"FloatSingle.cpp"
|
||||
"Angle.cpp"
|
||||
"Vector2.cpp"
|
||||
"Vector3.cpp"
|
||||
"Quaternion.cpp"
|
||||
"Polar.cpp"
|
||||
)
|
||||
|
||||
enable_testing()
|
||||
|
@ -1 +1 @@
|
||||
COMPONENT_ADD_INCLUDEDIRS = include
|
||||
COMPONENT_ADD_INCLUDEDIRS = .
|
Loading…
x
Reference in New Issue
Block a user