We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 39930d0 + fd48f91 commit 42debfaCopy full SHA for 42debfa
2 files changed
cspell.config.yaml
@@ -12,6 +12,7 @@ enableGlobDot: true
12
words:
13
- aarch
14
- aminya
15
+ - Amnet
16
- anotherproj
17
- applellvm
18
- ARGN
src/Common.cmake
@@ -43,6 +43,16 @@ macro(common_project_options)
43
endif()
44
45
46
+ # Fix for Amnet/Colcon
47
+ if(NOT
48
+ "${AMENT_PREFIX_PATH}"
49
+ STREQUAL
50
+ ""
51
+ OR "$ENV{COLCON}" STREQUAL "1")
52
+ # these are used in order:
53
+ set(CMAKE_MAP_IMPORTED_CONFIG_RELWITHDEBINFO "RelWithDebInfo;Release;None;NoConfig")
54
+ endif()
55
+
56
# Generate compile_commands.json to make it easier to work with clang based tools
57
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
58
0 commit comments