-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move simple_dragonbox.h into include directory and merge its tests in…
…to the tests of the main implementation
- Loading branch information
Showing
7 changed files
with
129 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
add_library(simple_dragonbox INTERFACE simple_dragonbox.h) | ||
target_compile_features(simple_dragonbox INTERFACE cxx_std_17) | ||
|
||
add_executable(simple_dragonbox_test simple_dragonbox_test.cpp) | ||
target_link_libraries(simple_dragonbox_test PRIVATE | ||
simple_dragonbox | ||
dragonbox::common | ||
ryu::ryu | ||
) | ||
cmake_minimum_required(VERSION 3.14 FATAL_ERROR) | ||
|
||
project(dragonbox_simple LANGUAGES CXX) | ||
|
||
add_library(dragonbox_simple INTERFACE include/simple_dragonbox.h) | ||
add_library(dragonbox::simple ALIAS dragonbox_simple) | ||
|
||
target_include_directories(dragonbox_simple | ||
INTERFACE | ||
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>) | ||
|
||
target_compile_features(dragonbox_simple INTERFACE cxx_std_17) |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters