Skip to content
Snippets Groups Projects
Commit 8908b951 authored by Oliver Sander's avatar Oliver Sander
Browse files

Also do not change hyphens to underscores in the name of the executable program

Follow up to the previous patch: if the source file contains hyphens, then
the compiled executable should not have them replaced by underscores.
parent 497af3f4
No related branches found
No related tags found
No related merge requests found
......@@ -603,8 +603,8 @@ mkdir "$PROJECT/src"
echo "- $PROJECT/src/CMakeLists.txt"
cat> "$PROJECT/src/CMakeLists.txt" << M_DELIM
add_executable("${CMODULE}" ${MODULE}.cc)
target_link_dune_default_libraries("${CMODULE}")
add_executable("${MODULE}" ${MODULE}.cc)
target_link_dune_default_libraries("${MODULE}")
M_DELIM
......@@ -615,7 +615,7 @@ cat> "$PROJECT/src/Makefile.am" << M_DELIM
SUBDIRS =
noinst_PROGRAMS = ${CMODULE}
noinst_PROGRAMS = ${MODULE}
${CMODULE}_SOURCES = $MODULE.cc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment