Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5adf9d56
authored
Mar 14, 2016
by
lucapegolotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Split data structures from linearizability_tester + fixing compiler warnings
parent
a053f5cc
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
21 deletions
+23
-21
linearizability_tester/CMakeLists.txt
+22
-21
linearizability_tester/src/linearizability_tester.h
+0
-0
linearizability_tester/src/sequential_data_structures.h
+0
-0
linearizability_tester/src/tests.h
+1
-0
No files found.
linearizability_tester/CMakeLists.txt
View file @
5adf9d56
cmake_minimum_required
(
VERSION 2.6
)
cmake_minimum_required
(
VERSION 2.6
)
project
(
EMBB_linearizability_test C CXX
)
project
(
EMBB_linearizability_test C CXX
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-std=c++11 -lrt"
)
find_package
(
Threads REQUIRED
)
find_package
(
Threads REQUIRED
)
#linux build
IF
(
CMAKE_COMPILER_IS_GNUCXXX
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-std=c++11 -lrt"
)
set
(
PROJECT_LINK_LIBS
${
CMAKE_CURRENT_SOURCE_DIR
}
/../build/base_cpp/libembb_base_cpp.a
${
CMAKE_CURRENT_SOURCE_DIR
}
/../build/base_c/libembb_base_c.a
${
CMAKE_CURRENT_SOURCE_DIR
}
/../build/containers_cpp/libembb_containers_cpp.a
)
ENDIF
(
CMAKE_COMPILER_IS_GNUCXXX
)
# windows build
IF
(
WIN32
)
set
(
PROJECT_LINK_LIBS
${
CMAKE_CURRENT_SOURCE_DIR
}
/../build/base_cpp/Release/embb_base_cpp.lib
${
CMAKE_CURRENT_SOURCE_DIR
}
/../build/base_c/Release/embb_base_c.lib
${
CMAKE_CURRENT_SOURCE_DIR
}
/../build/containers_cpp/Release/embb_containers_cpp.lib
)
ENDIF
(
WIN32
)
if
(
CMAKE_USE_PTHREADS_INIT
)
if
(
CMAKE_USE_PTHREADS_INIT
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-pthread"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-pthread"
)
...
@@ -22,27 +42,8 @@ ${CMAKE_CURRENT_SOURCE_DIR}/../build/containers_cpp/include
...
@@ -22,27 +42,8 @@ ${CMAKE_CURRENT_SOURCE_DIR}/../build/containers_cpp/include
${
CMAKE_CURRENT_SOURCE_DIR
}
/src
${
CMAKE_CURRENT_SOURCE_DIR
}
/src
)
)
# setting libraries to link
#linux build
IF
(
CMAKE_COMPILER_IS_GNUCXXX
)
set
(
PROJECT_LINK_LIBS
${
CMAKE_CURRENT_SOURCE_DIR
}
/../build/base_cpp/libembb_base_cpp.a
${
CMAKE_CURRENT_SOURCE_DIR
}
/../build/base_c/libembb_base_c.a
${
CMAKE_CURRENT_SOURCE_DIR
}
/../build/containers_cpp/libembb_containers_cpp.a
)
ENDIF
(
CMAKE_COMPILER_IS_GNUCXXX
)
# windows build
IF
(
WIN32
)
set
(
PROJECT_LINK_LIBS
${
CMAKE_CURRENT_SOURCE_DIR
}
/../build/base_cpp/Release/embb_base_cpp.lib
${
CMAKE_CURRENT_SOURCE_DIR
}
/../build/base_c/Release/embb_base_c.lib
${
CMAKE_CURRENT_SOURCE_DIR
}
/../build/containers_cpp/Release/embb_containers_cpp.lib
)
ENDIF
(
WIN32
)
add_executable
(
${
PROJECT_NAME
}
main.cc
)
add_executable
(
${
PROJECT_NAME
}
main.cc
)
# target_link_libraries(${PROJECT_NAME} ${CMAKE_THREADS_LIBS_INIT})
target_link_libraries
(
${
PROJECT_NAME
}
${
CMAKE_THREAD_LIBS_INIT
}
${
PROJECT_LINK_LIBS
}
)
target_link_libraries
(
${
PROJECT_NAME
}
${
CMAKE_THREAD_LIBS_INIT
}
${
PROJECT_LINK_LIBS
}
)
# ${CMAKE_THREADS_LIBS_INIT})
linearizability_tester/src/linearizability_tester.h
View file @
5adf9d56
This diff is collapsed.
Click to expand it.
linearizability_tester/src/sequential_data_structures.h
0 → 100755
View file @
5adf9d56
This diff is collapsed.
Click to expand it.
linearizability_tester/src/tests.h
View file @
5adf9d56
#include <linearizability_tester.h>
#include <linearizability_tester.h>
#include <sequential_data_structures.h>
using
namespace
lt
;
using
namespace
lt
;
...
...
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