-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* create test for try_compile with Windows paths * restore files * fix files * modified conanfile for test
- Loading branch information
1 parent
b27d3ee
commit a4d21fa
Showing
5 changed files
with
37 additions
and
2 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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
fmt/9.1.0 | ||
|
||
[layout] | ||
cmake_layout | ||
cmake_layout |
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,17 @@ | ||
cmake_minimum_required(VERSION 3.24) | ||
|
||
project(FormatOutput LANGUAGES CXX) | ||
|
||
set(CMAKE_CXX_STANDARD 14) | ||
|
||
find_package(fmt REQUIRED) | ||
|
||
add_executable(main main.cpp) | ||
target_link_libraries(main PRIVATE fmt::fmt) | ||
|
||
|
||
get_property(CONAN_GENERATORS_FOLDER GLOBAL PROPERTY CONAN_GENERATORS_FOLDER) | ||
list(PREPEND CMAKE_MODULE_PATH "${CONAN_GENERATORS_FOLDER}") | ||
message("CMAKE_MODULE_PATH: ${CMAKE_MODULE_PATH}") | ||
|
||
CHECK_CXX_SOURCE_COMPILES("int main(){return 0;}" HELLO_WORLD_CAN_COMPILE) |
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,8 @@ | ||
[requires] | ||
fmt/10.1.1 | ||
|
||
[generators] | ||
CMakeDeps | ||
|
||
[layout] | ||
cmake_layout |
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