Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
5fce2dc7
Commit
5fce2dc7
authored
Nov 13, 2009
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use CMAKE_COMMAND macro because it is expanded to include full path
parent
4611bfd5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CMakeLists.txt
bitmaps/CMakeLists.txt
+1
-1
No files found.
bitmaps/CMakeLists.txt
View file @
5fce2dc7
...
@@ -404,7 +404,7 @@ foreach(LOOP_VAR ${BITMAP_SRCS})
...
@@ -404,7 +404,7 @@ foreach(LOOP_VAR ${BITMAP_SRCS})
set
(
CPP_BITMAP
"
${
XPM_CPP_PATH
}
/
${
BASENAME
}
.cpp"
)
set
(
CPP_BITMAP
"
${
XPM_CPP_PATH
}
/
${
BASENAME
}
.cpp"
)
add_custom_command
(
add_custom_command
(
OUTPUT
${
CPP_BITMAP
}
OUTPUT
${
CPP_BITMAP
}
COMMAND
cmake
-E copy
"
${
PATH
}
/
${
BASENAME
}
.xpm"
"
${
CPP_BITMAP
}
"
COMMAND
"$(CMAKE_COMMAND)"
-E copy
"
${
PATH
}
/
${
BASENAME
}
.xpm"
"
${
CPP_BITMAP
}
"
DEPENDS
${
BASENAME
}
.xpm
)
DEPENDS
${
BASENAME
}
.xpm
)
list
(
APPEND CPP_BITMAPS
${
CPP_BITMAP
}
)
list
(
APPEND CPP_BITMAPS
${
CPP_BITMAP
}
)
set_source_files_properties
(
${
CPP_BITMAP
}
PROPERTIES COMPILE_FLAGS -DXPMMAIN
)
set_source_files_properties
(
${
CPP_BITMAP
}
PROPERTIES COMPILE_FLAGS -DXPMMAIN
)
...
...
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