Lines Matching refs:targetFolder
16 targetFolder="${1:-nowide_standalone}"
19 if [ -e "$targetFolder" ]; then
20 if [[ "$targetFolder" == "nowide_standalone" ]]; then
21 rm -r "$targetFolder"
23 echo "Target folder $targetFolder exists"
28 mkdir -p "$targetFolder"/include
30 cp -r include/boost/nowide "$targetFolder"/include
31 cp -r src test cmake CMakeLists.txt LICENSE README.md "$targetFolder"
32 cp standalone/*.hpp "$targetFolder"/include/nowide
33 mv "$targetFolder/cmake/BoostAddOptions.cmake" "$targetFolder/cmake/NowideAddOptions.cmake"
34 mv "$targetFolder/cmake/BoostAddWarnings.cmake" "$targetFolder/cmake/NowideAddWarnings.cmake"
35 find "$targetFolder" -name 'Jamfile*' -delete
37 SOURCES=$(find "$targetFolder" -name '*.hpp' -or -name '*.cpp')
49 CMLs=$(find "$targetFolder" -name 'CMakeLists.txt' -or -name '*.cmake')
60 sed '/PUBLIC BOOST_NOWIDE_NO_LIB)/d' -i "$targetFolder/CMakeLists.txt"
61 sed '/^if(BOOST_SUPERPROJECT_SOURCE_DIR)/,/^endif/d' -i "$targetFolder/CMakeLists.txt"
62 sed 's/NAMESPACE Nowide CONFIG_FILE.*$/NAMESPACE nowide)/' -i "$targetFolder/CMakeLists.txt"
64 sed '/^if(NOT BOOST_SUPERPROJECT_SOURCE_DIR)/,/^endif/d' -i "$targetFolder/test/CMakeLists.txt"
65 sed '/Nowide::filesystem/d' -i "$targetFolder/test/CMakeLists.txt"