snap
This commit is contained in:
parent
f574b0abe1
commit
44502d3cc6
@ -17,7 +17,7 @@ FetchContent_Declare(
|
|||||||
)
|
)
|
||||||
FetchContent_MakeAvailable(eigen)
|
FetchContent_MakeAvailable(eigen)
|
||||||
|
|
||||||
include_directories(${PROJECT_SOURCE_DIR}/include)
|
include_directories(${PROJECT_SOURCE_DIR}/include ${PROJECT_SOURCE_DIR}/Geometry)
|
||||||
|
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
add_executable(Geometry main.cpp)
|
add_executable(app main.cpp)
|
||||||
|
|
||||||
target_link_libraries(Geometry PUBLIC Eigen3::Eigen)
|
target_link_libraries(app PUBLIC Eigen3::Eigen)
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
set(HEADER_LIST "${Geometry_SOURCE_DIR}/include/Geometry/dummy.h")
|
set(HEADER_LIST "${Geometry_SOURCE_DIR}/Geometry/dummy.h")
|
||||||
|
|
||||||
|
add_library(Geometry Dummy.cpp ${HEADER_LIST})
|
||||||
|
|
||||||
|
target_include_directories(Geometry PUBLIC "${PROJECT_SOURCE_DIR}/include" "${PROJECT_SOURCE_DIR}/Geometry")
|
||||||
|
|
||||||
source_group(
|
source_group(
|
||||||
TREE "${PROJECT_SOURCE_DIR}/include"
|
TREE "${PROJECT_SOURCE_DIR}/Geometry"
|
||||||
PREFIX "Header Files"
|
PREFIX "Header Files"
|
||||||
FILES ${HEADER_LIST}
|
FILES ${HEADER_LIST}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
4
src/Dummy.cpp
Normal file
4
src/Dummy.cpp
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
//
|
||||||
|
// Created by nb on 31.12.23.
|
||||||
|
//
|
||||||
|
#include "dummy.h"
|
Loading…
Reference in New Issue
Block a user