Skip to content

Commit b332a02

Browse files
author
Roberto Di Remigio
committed
Merge branch 'standalone'
2 parents ecb14ad + af4387d commit b332a02

38 files changed

+337
-1906
lines changed

cmake/custom/autogenerated.cmake

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,17 @@ install(FILES ${PROJECT_BINARY_DIR}/include/Config.hpp DESTINATION include)
1717

1818

1919
# Configure the input parsing script
20-
configure_file(${PROJECT_SOURCE_DIR}/tools/pcmsolver.py.in ${PROJECT_BINARY_DIR}/bin/pcmsolver.py @ONLY)
20+
configure_file(${PROJECT_SOURCE_DIR}/tools/pcmsolver.py.in ${PROJECT_BINARY_DIR}/bin/tmp-pcmsolver-py @ONLY)
21+
add_custom_command(
22+
OUTPUT
23+
${PROJECT_BINARY_DIR}/bin/pcmsolver.py
24+
COMMAND
25+
cmake -E copy ${PROJECT_BINARY_DIR}/bin/tmp-pcmsolver-py ${PROJECT_BINARY_DIR}/bin/pcmsolver.py
26+
VERBATIM
27+
)
28+
add_custom_target(generate-pcmsolver-py ALL DEPENDS ${PROJECT_BINARY_DIR}/bin/pcmsolver.py)
2129
install(FILES ${PROJECT_BINARY_DIR}/bin/pcmsolver.py DESTINATION bin)
30+
2231
# Install GetKw Python bindings
2332
file(COPY ${PROJECT_SOURCE_DIR}/tools/getkw.py
2433
${PROJECT_SOURCE_DIR}/tools/pyparsing.py

src/bin/CMakeLists.txt

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,9 @@
1-
# Executables for testing separate from Boost unit test framework or for profiling purposes
1+
# Executables for testing separate from the unit test framework or for profiling purposes
22
# The executables will be created in ${PROJECT_BINARY_DIR}/src/bin
33

44
#add_executable(debug_wavcav debug_wavcav.cpp)
55
#target_link_libraries(debug_wavcav solver cavity wavcav pwl wem utils)
66

7-
#add_executable(plot_green_spherical plot_green_spherical.cpp)
8-
#target_link_libraries(plot_green_spherical utils ${external_libraries})
9-
10-
#add_executable(plot_green_spherical-CASE1 plot_green_spherical-CASE1.cpp)
11-
#target_link_libraries(plot_green_spherical-CASE1 utils ${external_libraries})
12-
#add_executable(plot_green_spherical-CASE2 plot_green_spherical-CASE2.cpp)
13-
#target_link_libraries(plot_green_spherical-CASE2 utils ${external_libraries})
14-
#add_executable(plot_green_spherical-CASE3 plot_green_spherical-CASE3.cpp)
15-
#target_link_libraries(plot_green_spherical-CASE3 utils ${external_libraries})
16-
#add_executable(plot_green_spherical-CASE4 plot_green_spherical-CASE4.cpp)
17-
#target_link_libraries(plot_green_spherical-CASE4 utils ${external_libraries})
18-
19-
#add_executable(check_Coulomb_coefficient check_Coulomb_coefficient.cpp)
20-
#target_link_libraries(check_Coulomb_coefficient utils ${external_libraries})
21-
227
link_directories(${PROJECT_BINARY_DIR}/lib)
238
add_executable(run_pcm run_pcm.cpp)
249
add_dependencies(run_pcm generate-config-hpp)

src/bin/README.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

src/bin/check_Coulomb_coefficient.cpp

Lines changed: 0 additions & 105 deletions
This file was deleted.

src/bin/plot_green_spherical-CASE1.cpp

Lines changed: 0 additions & 100 deletions
This file was deleted.

src/bin/plot_green_spherical-CASE2.cpp

Lines changed: 0 additions & 100 deletions
This file was deleted.

0 commit comments

Comments
 (0)