Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
Lima-camera-frelon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LimaGroup
Lima-camera-frelon
Commits
015ec68a
Commit
015ec68a
authored
Jun 28, 2017
by
Aitor Henry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Should be final CMake.
parent
17eeeab4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
16 deletions
+14
-16
CMakeLists.txt
CMakeLists.txt
+14
-16
No files found.
CMakeLists.txt
View file @
015ec68a
...
...
@@ -21,36 +21,34 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <http://www.gnu.org/licenses/>.
############################################################################
set
(
NAME
"frelon"
)
set
(
frelon
_srcs src/Frelon.cpp src/FrelonSerialLine.cpp
set
(
${
NAME
}
_srcs src/Frelon.cpp src/FrelonSerialLine.cpp
src/FrelonModel.cpp src/FrelonCamera.cpp
src/FrelonTimingCtrl.cpp src/FrelonInterface.cpp src/FrelonCorrection.cpp
)
file
(
STRINGS
"VERSION"
frelon_vers
)
add_library
(
limafrelon SHARED
${
frelon_srcs
}
)
add_library
(
lima
${
NAME
}
SHARED
${${
NAME
}
_srcs
}
)
target_include_directories
(
lima
frelon
PUBLIC
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/include"
)
target_include_directories
(
lima
frelon
PUBLIC
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/tools/src"
)
target_include_directories
(
lima
${
NAME
}
PUBLIC
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/include"
)
target_include_directories
(
lima
${
NAME
}
PUBLIC
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/tools/src"
)
set
(
CMAKE_MODULE_PATH
${
CMAKE_CURRENT_SOURCE_DIR
}
/../common/espia/cmake
${
CMAKE_MODULE_PATH
}
)
include
(
FindEspiaDrv
)
#set paths for espia driver and limaespialib and include files
target_include_directories
(
lima
frelon
PUBLIC
"
${
ESPIA_DRV_INCLUDE_DIR
}
"
)
target_include_directories
(
lima
frelon
PUBLIC
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/../common/espia/include"
)
target_include_directories
(
lima
${
NAME
}
PUBLIC
"
${
ESPIA_DRV_INCLUDE_DIR
}
"
)
target_include_directories
(
lima
${
NAME
}
PUBLIC
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/../common/espia/include"
)
link_directories
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/../common/espia"
)
target_link_libraries
(
lima
frelon
limacore
)
target_link_libraries
(
lima
frelon
${
ESPIA_DRV_LIB
}
)
target_link_libraries
(
lima
frelon
limaespia
)
target_link_libraries
(
lima
${
NAME
}
limacore
)
target_link_libraries
(
lima
${
NAME
}
${
ESPIA_DRV_LIB
}
)
target_link_libraries
(
lima
${
NAME
}
limaespia
)
set_target_properties
(
limafrelon PROPERTIES VERSION
${
frelon_vers
}
SOVERSION
"1"
)
include
(
CameraVERSION
)
install
(
TARGETS lima
${
NAME
}
LIBRARY DESTINATION lib
)
install
(
TARGETS limafrelon LIBRARY DESTINATION lib
)
if
(
COMPILE_SIP
)
set
(
NAME
"frelon"
)
if
(
LIMA_ENABLE_PYTHON
)
set
(
IMPORTS
"%Import limaespia.sip"
)
set
(
SIP_INCLUDES
${
SIP_INCLUDES
}
...
...
@@ -61,7 +59,7 @@ if(COMPILE_SIP)
install
(
FILES python/FrelonAcq.py DESTINATION
"
${
PYTHON_SITE_PACKAGES_DIR
}
/Lima/Frelon"
)
endif
()
if
(
COMPI
LE_TEST
)
if
(
LIMA_ENAB
LE_TEST
)
add_subdirectory
(
test/
)
endif
()
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