Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fmt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
fmt
Commits
f912eace
Commit
f912eace
authored
May 02, 2014
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move compile test to the end.
parent
62394e0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
CMakeLists.txt
CMakeLists.txt
+7
-7
No files found.
CMakeLists.txt
View file @
f912eace
...
...
@@ -50,13 +50,6 @@ endif ()
add_subdirectory
(
doc
)
add_test
(
compile-test
${
CMAKE_CTEST_COMMAND
}
--build-and-test
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/test"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test"
--build-generator
${
CMAKE_GENERATOR
}
--build-makeprogram
${
CMAKE_MAKE_PROGRAM
}
)
# We compile Google Test ourselves instead of using pre-compiled libraries.
# See the Google Test FAQ "Why is it not recommended to install a
# pre-compiled copy of Google Test (for example, into /usr/local)?"
...
...
@@ -95,6 +88,13 @@ if (HAVE_STD_CPP11_FLAG)
set_target_properties
(
format-test PROPERTIES COMPILE_FLAGS
"-std=c++11"
)
endif
()
add_test
(
compile-test
${
CMAKE_CTEST_COMMAND
}
--build-and-test
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/test"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test"
--build-generator
${
CMAKE_GENERATOR
}
--build-makeprogram
${
CMAKE_MAKE_PROGRAM
}
)
find_library
(
PROFILER_LIB profiler
)
find_path
(
PROFILER_INCLUDE_DIR gperftools/profiler.h
)
if
(
PROFILER_LIB AND PROFILER_INCLUDE_DIR
)
...
...
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