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
a98639c3
Commit
a98639c3
authored
Jun 12, 2017
by
Aitor Henry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Saving frelon CMakeLists.txt
parent
820cec62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
58 additions
and
0 deletions
+58
-0
CMakeLists.txt
CMakeLists.txt
+58
-0
No files found.
CMakeLists.txt
0 → 100644
View file @
a98639c3
# CMakeLists.txt for Frelon camera
SET
(
CMAKE_SHARED_LINKER_FLAGS
"-Wl,--add-needed"
)
SET
(
frelon_srcs src/FrelonCamera.cpp src/FrelonInterface.cpp
src/FrelonCorrection.cpp src/Frelon.cpp
src/FrelonModel.cpp src/FrelonSerialLine.cpp
src/FrelonTimingCtrl.cpp
)
FILE
(
STRINGS
"VERSION"
frelon_vers
)
ADD_LIBRARY
(
limafrelon SHARED
${
frelon_srcs
}
)
TARGET_INCLUDE_DIRECTORIES
(
limafrelon PUBLIC
"
${
CMAKE_SOURCE_DIR
}
/camera/common/espia/include"
)
TARGET_INCLUDE_DIRECTORIES
(
limafrelon PUBLIC
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/include"
)
#FIND_LIBRARY(FRELON_LIB nom_frelon_lib ${})
TARGET_LINK_LIBRARIES
(
limafrelon limacore
)
SET_TARGET_PROPERTIES
(
limafrelon PROPERTIES VERSION
${
frelon_vers
}
SOVERSION
"1"
)
INSTALL
(
TARGETS limafrelon LIBRARY DESTINATION lib
)
IF
(
COMPILE_SIP
)
SET
(
NAME
"frelon"
)
SET
(
INCLUDES
)
FILE
(
GLOB sipfiles RELATIVE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/sip"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/sip/*.sip"
)
FOREACH
(
sipfile
${
sipfiles
}
)
SET
(
INCLUDES
"
${
INCLUDES
}
%Include
${
sipfile
}
"
)
ENDFOREACH
()
CONFIGURE_FILE
(
${
CMAKE_SOURCE_DIR
}
/sip/limamodules.sip.in sip/limafrelon.sip
)
SET
(
SIP_CONCAT_PARTS 1
)
SET
(
SIP_INCLUDES
${
SIP_INCLUDES
}
"
${
CMAKE_SOURCE_DIR
}
/third-party/Processlib/sip"
"
${
CMAKE_BINARY_DIR
}
/sip/core"
"
${
CMAKE_SOURCE_DIR
}
/third-party/Processlib/tasks/sip"
"
${
CMAKE_SOURCE_DIR
}
/common/sip"
"
${
CMAKE_SOURCE_DIR
}
/hardware/sip"
"
${
CMAKE_SOURCE_DIR
}
/control/sip"
"
${
CMAKE_SOURCE_DIR
}
/control/software_operation/sip"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/sip"
)
set
(
SIP_DISABLE_FEATURES WITH_CONFIG
)
set
(
SIP_CHECK_EXC ON
)
ADD_SIP_PYTHON_MODULE
(
limafrelon
${
CMAKE_CURRENT_BINARY_DIR
}
/sip/limafrelon.sip
)
TARGET_INCLUDE_DIRECTORIES
(
python_module_limafrelon PRIVATE
${
PYTHON_INCLUDE_DIRS
}
"
${
CMAKE_SOURCE_DIR
}
/sip"
"
${
CMAKE_SOURCE_DIR
}
/sip/core"
)
TARGET_LINK_LIBRARIES
(
python_module_limafrelon limafrelon
)
INSTALL
(
FILES python/__init__.py DESTINATION
"
${
PYTHON_SITE_PACKAGES_DIR
}
/Lima/Frelon"
)
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