Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
json
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
json
Commits
7439cfe5
Unverified
Commit
7439cfe5
authored
Nov 19, 2019
by
Niels Lohmann
Committed by
GitHub
Nov 19, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1844 from Tridacnid/develop
Update tests that generate CMake projects to use main project's C++ compiler
parents
b2bec943
fbb0bd75
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
CMakeLists.txt
test/cmake_add_subdirectory/CMakeLists.txt
+1
-0
CMakeLists.txt
test/cmake_import/CMakeLists.txt
+1
-0
CMakeLists.txt
test/cmake_import_minver/CMakeLists.txt
+1
-0
No files found.
test/cmake_add_subdirectory/CMakeLists.txt
View file @
7439cfe5
add_test
(
NAME cmake_add_subdirectory_configure
COMMAND
${
CMAKE_COMMAND
}
-G
"
${
CMAKE_GENERATOR
}
"
-DCMAKE_CXX_COMPILER=
${
CMAKE_CXX_COMPILER
}
-Dnlohmann_json_source=
${
PROJECT_SOURCE_DIR
}
${
CMAKE_CURRENT_SOURCE_DIR
}
/project
)
...
...
test/cmake_import/CMakeLists.txt
View file @
7439cfe5
...
...
@@ -2,6 +2,7 @@ add_test(NAME cmake_import_configure
COMMAND
${
CMAKE_COMMAND
}
-G
"
${
CMAKE_GENERATOR
}
"
-A
"
${
CMAKE_GENERATOR_PLATFORM
}
"
-DCMAKE_CXX_COMPILER=
${
CMAKE_CXX_COMPILER
}
-Dnlohmann_json_DIR=
${
PROJECT_BINARY_DIR
}
${
CMAKE_CURRENT_SOURCE_DIR
}
/project
)
...
...
test/cmake_import_minver/CMakeLists.txt
View file @
7439cfe5
...
...
@@ -2,6 +2,7 @@ add_test(NAME cmake_import_minver_configure
COMMAND
${
CMAKE_COMMAND
}
-G
"
${
CMAKE_GENERATOR
}
"
-A
"
${
CMAKE_GENERATOR_PLATFORM
}
"
-DCMAKE_CXX_COMPILER=
${
CMAKE_CXX_COMPILER
}
-Dnlohmann_json_DIR=
${
PROJECT_BINARY_DIR
}
${
CMAKE_CURRENT_SOURCE_DIR
}
/project
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment