diff --git a/.gitignore b/.gitignore index 2717a33..7ece4a0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,58 +1,62 @@ -# suppress compiler/linker output -*.[oa] -*.l[oa] -*.obj -*.gcda -*.gcno -*.gcov -*.lib -Debug/ -Release/ -.libs/ -.coveralls.yml -coverage*/ -coverage.info - -# suppress output of build process and *nix/windows test executables -ltmtest -ltmtest.exe -test -test.exe -mtest -mtest.exe - -# ignore eclipse project files -.cproject -.project - -# special MS Visual Studio section -# ignore non-compressed browse file (holds information for ClassView, IntelliSense and WizardBar) -*.ncb -# ignore user specific settings -*.user -*.suo - -# ignore stuff generated by "make manual" and "make poster" -*.aux -*.dvi -*.idx -*.lof -*.log -*.out -*.toc -*.ilg -*.ind -*.pdf -*.out -tommath.tex -libtommath.pc - -# ignore files generated by testme.sh -gcc_errors_*.txt -test_*.txt - -*.bak -*.orig -*.asc -*.tar.xz -*.zip +# suppress compiler/linker output +*.[oa] +*.l[oa] +*.obj +*.gcda +*.gcno +*.gcov +*.lib +Debug/ +Release/ +.libs/ +.coveralls.yml +coverage*/ +coverage.info + +# suppress output of build process and *nix/windows test executables +ltmtest +ltmtest.exe +test +test.exe +mtest +mtest.exe + +# ignore eclipse project files +.cproject +.project + +# special MS Visual Studio section +# ignore non-compressed browse file (holds information for ClassView, IntelliSense and WizardBar) +*.ncb +# ignore user specific settings +*.user +*.suo + +# ignore stuff generated by "make manual" and "make poster" +*.aux +*.dvi +*.idx +*.lof +*.log +*.out +*.toc +*.ilg +*.ind +*.pdf +*.out +tommath.tex +libtommath.pc + +# ignore files generated by testme.sh +gcc_errors_*.txt +test_*.txt + +*.bak +*.orig +*.asc +*.tar.xz +*.zip + +.idea/ +cmake-build-*/ +out/ \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index 4095059..e586d4f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,6 @@ cmake_minimum_required(VERSION 3.6) project(libtommath) -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -shared") set(CMAKE_INCLUDE_CURRENT_DIR ON) set(SOURCE_FILES