Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
CMake
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2,681
Issues
2,681
List
Boards
Labels
Milestones
Merge Requests
17
Merge Requests
17
Packages
Packages
Container Registry
External Wiki
External Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
CMake
CMake
Commits
3541af67
Commit
3541af67
authored
Feb 21, 2016
by
Mariusz Pluciński
Committed by
Brad King
Mar 10, 2016
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tests: fix Plugin building on Clang/C2
parent
1902c293
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
Tests/Plugin/CMakeLists.txt
Tests/Plugin/CMakeLists.txt
+7
-0
No files found.
Tests/Plugin/CMakeLists.txt
View file @
3541af67
cmake_minimum_required
(
VERSION 2.6
)
cmake_policy
(
SET CMP0054 NEW
)
project
(
Plugin
)
# Test per-target output directory properties.
...
...
@@ -34,6 +35,12 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL HP AND
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-AA"
)
endif
()
# Clang/C2 in C++98 mode cannot properly handle some of MSVC headers
if
(
CMAKE_CXX_COMPILER_ID STREQUAL
"Clang"
AND
CMAKE_CXX_SIMULATE_ID STREQUAL
"MSVC"
)
set
(
CMAKE_CXX_STANDARD 11
)
endif
()
# Create an executable that exports an API for use by plugins.
add_executable
(
example_exe src/example_exe.cxx
)
set_target_properties
(
example_exe PROPERTIES
...
...
Brad King
@brad.king
mentioned in commit
612a8b3b
·
Mar 10, 2016
mentioned in commit
612a8b3b
mentioned in commit 612a8b3bd8091372d9e50a81f05dcab8b31ae35c
Toggle commit list
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