forked from MRPT/mrpt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
30 lines (23 loc) · 1.07 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
include(../../cmakemodules/AssureCMakeRootFile.cmake) # Avoid user mistake in CMake source directory
#-----------------------------------------------------------------
# CMake file for the MRPT application: simul-landmarks
#
# Run with "cmake ." at the root directory
#
# October 2007, Jose Luis Blanco <jlblanco@ctima.uma.es>
#-----------------------------------------------------------------
project(simul-landmarks)
# ---------------------------------------------
# TARGET:
# ---------------------------------------------
# Define the executable target:
add_executable(${PROJECT_NAME}
simul-landmarks-main.cpp
${MRPT_VERSION_RC_FILE})
# Add the required libraries for linking:
target_link_libraries(${PROJECT_NAME} ${MRPT_LINKER_LIBS})
# Dependencies on MRPT libraries:
# Just mention the top-level dependency, the rest will be detected automatically,
# and all the needed #include<> dirs added (see the script DeclareAppDependencies.cmake for further details)
DeclareAppDependencies(${PROJECT_NAME} mrpt-gui mrpt-slam)
DeclareAppForInstall(${PROJECT_NAME})