Skip to content

Commit

Permalink
move include files to agg subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Nov 26, 2024
1 parent 4b9b889 commit bad34cf
Show file tree
Hide file tree
Showing 153 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ target_include_directories(
$<BUILD_INTERFACE:>
$<INSTALL_INTERFACE:include>
PRIVATE
"${CMAKE_CURRENT_SOURCE_DIR}/../src/${name}/include/"
"${CMAKE_CURRENT_SOURCE_DIR}/../src/${name}/include/${name}"
)

# target_link_libraries(
Expand All @@ -39,7 +39,7 @@ target_include_directories(
# install library header files preserving directory hierarchy
install(
DIRECTORY
"${CMAKE_CURRENT_SOURCE_DIR}/../include/${name}"
"${CMAKE_CURRENT_SOURCE_DIR}/../src/${name}/include/${name}"
DESTINATION
"${CMAKE_INSTALL_INCLUDEDIR}"
FILES_MATCHING PATTERN
Expand Down
1 change: 1 addition & 0 deletions include
1 change: 0 additions & 1 deletion include/agg

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ this_name := $(shell cat $(d)../name.txt)

this_soname := $(shell cat $(d)../soname.txt)

this_headers_dir := agg/include
this_headers_dir := agg/include/agg

this_install_cxx_hdrs := $(patsubst $(d)%,%,$(wildcard $(d)$(this_headers_dir)/*.h))

Expand All @@ -17,7 +17,7 @@ this_headers_install_dir := agg # TODO: make it $(this_name) when library is ren

this_srcs += $(patsubst $(d)%,%,$(wildcard $(d)agg/src/*.cpp))

this_cxxflags += -I $(d)agg/include
this_cxxflags += -I $(d)agg/include/agg
this_cxxflags += -fstrict-aliasing # in order to comply with the c++ standard more strictly
this_cxxflags += -fPIC

Expand Down
4 changes: 2 additions & 2 deletions tests/conv_stroke_close_points/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#include <iomanip>
#include <cassert>

#include "../../src/agg/include/agg_path_storage.h"
#include "../../src/agg/include/agg_conv_stroke.h"
#include "../../src/agg/include/agg/agg_path_storage.h"
#include "../../src/agg/include/agg/agg_conv_stroke.h"

int main(int argc, const char** argv){

Expand Down
4 changes: 2 additions & 2 deletions tests/dashed_closed_path/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#include <iomanip>
#include <cassert>

#include "../../src/agg/include/agg_path_storage.h"
#include "../../src/agg/include/agg_conv_dash.h"
#include "../../src/agg/include/agg/agg_path_storage.h"
#include "../../src/agg/include/agg/agg_conv_dash.h"

int main(int argc, const char** argv){

Expand Down

0 comments on commit bad34cf

Please sign in to comment.