-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
1,249 additions
and
0 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
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
cmake_minimum_required(VERSION 3.12.4) | ||
|
||
project(odr-test-downstream LANGUAGES C CXX) | ||
set(CMAKE_CXX_STANDARD 17) | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
set(CMAKE_CXX_EXTENSIONS OFF) | ||
|
||
if (NOT DEFINED CONAN_EXPORTED) | ||
include("cmake/conan.cmake") | ||
conan_cmake_configure(GENERATORS cmake) | ||
conan_cmake_autodetect(settings) | ||
conan_cmake_install(PATH_OR_REFERENCE ".." | ||
BUILD missing | ||
SETTINGS ${settings} | ||
ENV CC=${CMAKE_C_COMPILER} | ||
ENV CXX=${CMAKE_CXX_COMPILER}) | ||
include("${CMAKE_BINARY_DIR}/conan_paths.cmake") | ||
endif () | ||
|
||
find_package(odr REQUIRED) | ||
|
||
add_executable(odr-test-downstream main.cpp) | ||
target_link_libraries(odr-test-downstream PRIVATE odr::odr) |
Oops, something went wrong.