Skip to content

Commit

Permalink
Moving headers into include/ directory
Browse files Browse the repository at this point in the history
This was a change I wanted to do a long time ago, but I only got around
doing it now, and only because some pressure was put onto us. It turns
that in C++20 a new 'version' header was added to the set of standard
headers. This name clashes with our VERSION file in case-insensitive
filesystems like MacOS, and therefore when running new compilers like
clang8 8.0 in MacOS code fails to compile due to the new 'version'
standard header being eventually included internally by some of the
other standard headers.

Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
  • Loading branch information
rtobar committed Mar 25, 2019
1 parent 5be8034 commit 72dd3a6
Show file tree
Hide file tree
Showing 31 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -287,12 +287,12 @@ endif()
# Create the final configuration file that records
# the compile-time options used for this libprofit build
#
configure_file(profit/config.h.in profit/config.h @ONLY)
configure_file(include/profit/config.h.in profit/config.h @ONLY)

#
# Common definitions for the shared lib and the binary
#
include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
include_directories(${CMAKE_SOURCE_DIR}/include ${CMAKE_CURRENT_BINARY_DIR})

#
# MSVC builds need the 3rdparty/getopt submodule to be checked out,
Expand Down
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.

0 comments on commit 72dd3a6

Please sign in to comment.